/*
 * Hot Chart Data - every rule is scoped under .hcd so it cannot affect the rest of the theme.
 * Colours: set --hcd-accent in Settings; override --hcd-text / --hcd-muted / --hcd-border / --hcd-bg in your theme CSS if you like.
 * Width: the layout reacts to the width of the BOX the shortcode sits in (not the screen), so it also fits beside a sidebar.
 *   data-hcd-w = lg (720px+) | md (under 720) | sm (under 520) | xs (under 380), set by the plugin's script;
 *   the @container rules at the bottom do the same without JavaScript in modern browsers.
 */
.hcd { --hcd-accent: #5a67d8; --hcd-text: inherit; --hcd-muted: #718096; --hcd-border: #e2e8f0; --hcd-bg: #ffffff; --hcd-soft: #f7fafc;
    box-sizing: border-box; width: 100%; max-width: 100%; margin: 1em 0; color: var(--hcd-text); font-family: inherit; line-height: 1.4; container-type: inline-size; }
.hcd *, .hcd *::before, .hcd *::after { box-sizing: border-box; }
/* !important: many themes underline every link inside page content; chart links must not be underlined */
.hcd a, .hcd a:link, .hcd a:visited, .hcd a:hover, .hcd a:focus, .hcd a:active { color: inherit; text-decoration: none !important; border-bottom: 0 !important; box-shadow: none !important; background-image: none; }
.hcd a:hover { color: var(--hcd-accent); }
.hcd-head { margin: 0 0 10px; }
.hcd .hcd-title { margin: 0; font-size: 1.35em; line-height: 1.2; }
.hcd-sub { color: var(--hcd-muted); font-size: .9em; margin-top: 2px; }
.hcd-msg { padding: 14px; border-radius: 8px; background: #edf2f7; color: #4a5568; font-size: .95em; margin-top: 8px; }
.hcd-msg.hcd-err { background: #fed7d7; color: #9b2c2c; }
.hcd-detail { margin-top: 6px; font-size: .8em; color: #9b2c2c; }
.hcd-credit { margin-top: 8px; font-size: .75em; opacity: .65; }
.hcd-note { padding: 10px 2px; font-size: .8em; color: var(--hcd-muted); }

/* tabs and week picker */
.hcd-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.hcd-tab { padding: 6px 14px; border: 1px solid var(--hcd-border); border-radius: 999px; font-size: .9em; font-weight: 600; background: var(--hcd-bg); }
.hcd-tab.is-active { background: var(--hcd-accent); border-color: var(--hcd-accent); color: #fff; }
.hcd .hcd-tab.is-active:hover { color: #fff; }
.hcd-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.hcd-picker label { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .9em; }
.hcd-picker select { max-width: 100%; padding: 7px 10px; border: 1px solid #cbd5e0; border-radius: 6px; background: #fff; color: #2d3748; font-size: 1em; }
.hcd-go { margin: 0; padding: 8px 18px; font-size: .95em; font-weight: 600; color: #fff; background: var(--hcd-accent); border: 0; border-radius: 8px; cursor: pointer; text-transform: none; letter-spacing: 0; }
.hcd-go:hover { filter: brightness(1.08); }

/* chart tables */
.hcd-table { width: 100%; border-collapse: collapse; margin: 0; border: 0; table-layout: auto; background: var(--hcd-bg); }
.hcd-table th { padding: 8px 10px; text-align: left; font-size: .72em; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--hcd-muted); background: var(--hcd-soft); border: 0; border-bottom: 2px solid var(--hcd-border); white-space: nowrap; }
.hcd-table td { padding: 9px 10px; border: 0; border-bottom: 1px solid var(--hcd-border); vertical-align: middle; background: transparent; }
.hcd-c-rank, .hcd-c-lw, .hcd-c-change, .hcd-c-weeks, .hcd-c-peak, .hcd-c-stations { text-align: center; white-space: nowrap; }
.hcd-c-spins, .hcd-c-points { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hcd-c-song { width: 100%; }
.hcd-rank { font-size: 1.1em; font-weight: 800; }
.hcd-song { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hcd-songtext { min-width: 0; }
.hcd-t { font-weight: 700; overflow-wrap: anywhere; }
.hcd-a { color: var(--hcd-muted); font-size: .85em; overflow-wrap: anywhere; }
.hcd-art { width: 44px; height: 44px; max-width: none; border-radius: 6px; object-fit: cover; background: #e2e8f0; flex: none; display: block; }
.hcd-noart { display: block; }
.hcd-up { color: #2f855a; font-weight: 700; } .hcd-down { color: #c53030; font-weight: 700; } .hcd-new { color: #b7791f; font-weight: 700; }
.hcd-ad { margin: 14px 0; text-align: center; clear: both; }
.hcd-sections > .hcd-table + .hcd-ad { margin-top: 14px; }

/* small lists (widgets, stations) */
.hcd-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--hcd-border); border-radius: 8px; background: var(--hcd-bg); overflow: hidden; }
.hcd-item { display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 12px; border-bottom: 1px solid var(--hcd-border); list-style: none; }
.hcd-item:last-child { border-bottom: 0; }
.hcd-item .hcd-rank { width: 28px; height: 28px; line-height: 28px; text-align: center; border-radius: 6px; background: var(--hcd-accent); color: #fff; font-size: .85em; flex: none; }
.hcd-item .hcd-songtext { flex: 1; }
.hcd-badge { padding: 3px 10px; border-radius: 999px; background: #edf2f7; font-size: .75em; font-weight: 700; white-space: nowrap; }
.hcd-badge-up { background: #c6f6d5; color: #22543d; }
.hcd-stations, .hcd-inline { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hcd-stations li, .hcd-inline li { margin: 0; list-style: none; }
.hcd-stations li { padding: 8px 14px; border: 1px solid var(--hcd-border); border-radius: 8px; background: var(--hcd-bg); font-weight: 600; }

/* song card and stat grid */
.hcd-card { border: 1px solid var(--hcd-border); border-radius: 12px; background: var(--hcd-bg); overflow: hidden; margin-top: 10px; }
.hcd-top { display: flex; gap: 16px; padding: 16px; align-items: flex-start; }
.hcd-art-lg { width: 132px; height: 132px; border-radius: 10px; }
.hcd .hcd-songtitle { margin: 0; font-size: 1.4em; line-height: 1.2; }
.hcd-artist { font-size: 1.05em; color: #4a5568; margin-top: 2px; }
.hcd-label { font-size: .85em; color: var(--hcd-muted); margin-top: 4px; }
.hcd-badge-lg { display: inline-block; margin-top: 10px; padding: 4px 12px; border-radius: 999px; font-size: .85em; font-weight: 700; color: #fff; background: var(--hcd-accent); }
.hcd-badge-lg.is-off { background: #a0aec0; }
.hcd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); background: var(--hcd-bg); border-top: 1px solid var(--hcd-border); }
.hcd-stat { padding: 12px 16px; border-right: 1px solid var(--hcd-border); border-bottom: 1px solid var(--hcd-border); margin: 0 -1px -1px 0; }
.hcd-v { font-size: 1.4em; font-weight: 800; }
.hcd-k { font-size: .72em; color: var(--hcd-muted); text-transform: uppercase; letter-spacing: .4px; }
.hcd-s { font-size: .75em; color: var(--hcd-muted); margin-top: 2px; }
.hcd-sect { padding: 12px 16px; border-top: 1px solid var(--hcd-border); font-size: .92em; line-height: 1.5; }
.hcd-sect b { display: block; margin-bottom: 4px; font-size: .75em; text-transform: uppercase; letter-spacing: .4px; color: var(--hcd-muted); }
.hcd-artist-songs, .hcd-station-top { margin-top: 12px; }
.hcd-run { border-collapse: collapse; width: 100%; margin: 0; font-size: .95em; }
.hcd-run td { padding: 4px 0; border: 0; border-bottom: 1px solid #f1f5f9; background: none; }
.hcd-run td.hcd-num { text-align: right; font-weight: 700; }
.hcd-story { margin: 0 0 12px; padding: 12px 14px; background: var(--hcd-soft); border-radius: 8px; font-size: .92em; line-height: 1.55; }
.hcd-story p { margin: 0 0 8px; } .hcd-story ul { margin: 6px 0 0 20px; padding: 0; }

/* search */
.hcd-form { display: flex; gap: 8px; margin: 0; }
.hcd-input { flex: 1; min-width: 0; margin: 0; padding: 12px 14px; font-size: 16px; line-height: 1.3; border: 2px solid #cbd5e0; border-radius: 8px; background: #fff; color: #2d3748; box-shadow: none; height: auto; }
.hcd-input:focus { outline: none; border-color: var(--hcd-accent); }
.hcd-results { list-style: none; margin: 10px 0 0; padding: 0; border: 1px solid var(--hcd-border); border-radius: 8px; background: var(--hcd-bg); overflow: hidden; }
.hcd-results li { display: flex; gap: 12px; align-items: center; margin: 0; padding: 10px 12px; border-bottom: 1px solid #edf2f7; cursor: pointer; list-style: none; }
.hcd-results li:last-child { border-bottom: 0; }
.hcd-results li:hover, .hcd-results li:focus { background: var(--hcd-soft); outline: none; }
a.hcd-back { display: inline-block; margin-top: 10px; font-size: .9em; color: var(--hcd-accent); cursor: pointer; }

/* ---- width classes (set by the script from the box width) ---- */
.hcd[data-hcd-w="md"] .hcd-c-stations, .hcd[data-hcd-w="md"] .hcd-c-weeks,
.hcd[data-hcd-w="sm"] .hcd-c-stations, .hcd[data-hcd-w="sm"] .hcd-c-weeks, .hcd[data-hcd-w="sm"] .hcd-c-lw, .hcd[data-hcd-w="sm"] .hcd-c-peak, .hcd[data-hcd-w="sm"] .hcd-c-status,
.hcd[data-hcd-w="xs"] .hcd-c-stations, .hcd[data-hcd-w="xs"] .hcd-c-weeks, .hcd[data-hcd-w="xs"] .hcd-c-lw, .hcd[data-hcd-w="xs"] .hcd-c-peak, .hcd[data-hcd-w="xs"] .hcd-c-status, .hcd[data-hcd-w="xs"] .hcd-c-change { display: none; }
.hcd[data-hcd-w="md"] .hcd-c-status { display: none; }
.hcd[data-hcd-w="sm"] .hcd-top, .hcd[data-hcd-w="xs"] .hcd-top { flex-direction: column; }
.hcd[data-hcd-w="xs"] .hcd-art { width: 36px; height: 36px; }
.hcd[data-hcd-w="xs"] .hcd-art-lg, .hcd[data-hcd-w="sm"] .hcd-art-lg { width: 100%; height: auto; aspect-ratio: 1 / 1; max-width: 200px; }
.hcd[data-hcd-w="xs"] .hcd-table td, .hcd[data-hcd-w="xs"] .hcd-table th { padding: 7px 6px; }
.hcd[data-hcd-w="xs"] .hcd-song { gap: 8px; }
.hcd[data-hcd-w="xs"] .hcd-grid { grid-template-columns: repeat(2, 1fr); }
.hcd[data-hcd-w="xs"] .hcd-form { flex-direction: column; }
.hcd[data-hcd-w="xs"] .hcd-go { padding: 10px 14px; }

/* the same rules straight from the container width (no JavaScript needed in modern browsers) */
@container (max-width: 719px) { .hcd-c-stations, .hcd-c-weeks, .hcd-c-status { display: none; } }
@container (max-width: 519px) { .hcd-c-lw, .hcd-c-peak { display: none; } .hcd-top { flex-direction: column; } }
@container (max-width: 379px) { .hcd-c-change { display: none; } .hcd-art { width: 36px; height: 36px; } .hcd-grid { grid-template-columns: repeat(2, 1fr); } }

/* chart extras: top row, peak badge, debut date, station chips, export link */
.hcd-table tr.hcd-first td { background: color-mix(in srgb, var(--hcd-accent) 9%, transparent); }
.hcd-pill { display: inline-block; min-width: 24px; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--hcd-accent) 14%, transparent); font-weight: 700; font-size: .85em; text-align: center; }
.hcd-pill-one { background: #fde68a; color: #92400e; }
.hcd-c-debut { white-space: nowrap; color: var(--hcd-muted); font-size: .9em; }
.hcd-c-station_list { max-width: 260px; }
.hcd-chip { display: inline-block; margin: 1px 2px 1px 0; padding: 2px 8px; border-radius: 6px; background: var(--hcd-soft); color: var(--hcd-muted); font-size: .72em; font-weight: 600; white-space: nowrap; }
.hcd-exportbar { text-align: right; margin: 0 0 10px; }
.hcd .hcd-export { display: inline-block; padding: 7px 14px; border-radius: 8px; background: var(--hcd-accent); color: #fff !important; font-size: .85em; font-weight: 600; }
.hcd[data-hcd-w="md"] .hcd-c-station_list, .hcd[data-hcd-w="sm"] .hcd-c-station_list, .hcd[data-hcd-w="xs"] .hcd-c-station_list,
.hcd[data-hcd-w="sm"] .hcd-c-debut, .hcd[data-hcd-w="xs"] .hcd-c-debut { display: none; }
@container (max-width: 719px) { .hcd-c-station_list { display: none; } }
@container (max-width: 519px) { .hcd-c-debut { display: none; } }

/* the wrapper is always a normal full-width block, even inside themes that lay page content out as a flex row (that squeezed the card and put the credit beside it) */
.hcd { display: block !important; float: none !important; clear: both; }
.hcd-card { width: 100%; }
.hcd-credit { display: block; width: 100%; clear: both; }

/* song page: use the room. Wide boxes get a bigger header, six stats across, and the lower sections side by side */
.hcd-colA > .hcd-sect, .hcd-colB > .hcd-sect { border-top: 1px solid var(--hcd-border); }
@container (min-width: 720px) {
    .hcd-top { gap: 22px; padding: 22px 22px 20px; align-items: center; }
    .hcd-art-lg { width: 160px; height: 160px; }
    .hcd .hcd-songtitle { font-size: 1.9em; line-height: 1.15; }
    .hcd-artist { font-size: 1.15em; }
    .hcd-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
    .hcd-stat { padding: 16px 20px; }
    .hcd-v { font-size: 1.7em; }
    .hcd-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .hcd-colB { border-left: 1px solid var(--hcd-border); }
    .hcd-colA > .hcd-sect, .hcd-colB > .hcd-sect { padding: 16px 22px; }
}
@container (min-width: 1000px) { .hcd-top { padding: 28px; } .hcd-art-lg { width: 190px; height: 190px; } .hcd .hcd-songtitle { font-size: 2.3em; } }

/* station count: hover (or tap / keyboard focus) shows the call letters */
.hcd-tip { position: relative; cursor: help; border-bottom: 1px dotted currentColor; outline: 0; }
.hcd-tip:hover::after, .hcd-tip:focus::after { content: attr(data-names); position: absolute; z-index: 30; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 6px; padding: 8px 12px; min-width: 110px; border-radius: 8px; background: #2d3748; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.5; text-align: left; white-space: pre-line; box-shadow: 0 6px 18px rgba(0,0,0,.25); pointer-events: none; }

/* look="classic": an exact copy of the hosted chart pages (chart_display.php and chart_gold.php) */
.hcd.hcd-classic { max-width: 1100px; margin: 1em auto; background: #fff; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,.2); overflow: hidden; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; color: #2d3748; line-height: normal; }
.hcd.hcd-classic .hcdc, .hcd.hcd-classic .hcdc * { box-sizing: border-box; }
.hcd.hcd-classic .hcdc * { margin: 0; padding: 0; }
.hcd.hcd-classic .hcdc-header { background: #2d3748; color: #fff; padding: 30px; }
.hcd.hcd-classic .hcdc-header h1 { font-size: 32px; margin-bottom: 10px; color: #fff; line-height: normal; font-weight: 700; text-transform: none; }
.hcd.hcd-classic .hcdc-header p { color: #fff; font-size: 16px; }
.hcd.hcd-classic .hcdc-controls { display: flex; justify-content: space-between; align-items: center; padding: 20px 30px; background: #f7fafc; border-bottom: 2px solid #e2e8f0; }
.hcd.hcd-classic .hcdc-week { display: block; }
.hcd.hcd-classic .hcdc-week label { display: inline; font-size: 16px; }
.hcd.hcd-classic .hcdc-week select { display: inline-block; width: auto; height: auto; padding: 10px 15px; font-size: 16px; border: 2px solid #cbd5e0; border-radius: 6px; background: #fff; color: #2d3748; cursor: pointer; }
.hcd.hcd-classic .hcdc-actions { display: flex; gap: 10px; }
.hcd.hcd-classic .hcdc-btn { padding: 10px 20px; border: none; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none !important; display: inline-flex; align-items: center; gap: 8px; transition: all .3s; line-height: normal; color: #fff; text-transform: none; letter-spacing: normal; }
.hcd.hcd-classic .hcdc-btn-primary { background: #4299e1; }
.hcd.hcd-classic .hcdc-btn-primary:hover { background: #3182ce; color: #fff; }
.hcd.hcd-classic .hcdc-btn-success { background: #48bb78; }
.hcd.hcd-classic .hcdc-btn-success:hover { background: #38a169; color: #fff; }
.hcd.hcd-classic .hcdc-tabs { display: flex; background: #edf2f7; padding: 0 30px; }
.hcd.hcd-classic .hcdc-tab { padding: 15px 30px; cursor: pointer; border-bottom: 3px solid transparent !important; font-weight: 600; color: #4a5568; text-decoration: none; background: transparent; }
.hcd.hcd-classic .hcdc-tab:hover { color: #4a5568; }
.hcd.hcd-classic .hcdc-tab.active, .hcd.hcd-classic .hcdc-tab.active:hover { border-bottom-color: #667eea !important; color: #667eea; background: #fff; }
.hcd.hcd-classic .hcdc-scroll { overflow-x: auto; }
.hcd.hcd-classic .hcdc-table { width: 100%; min-width: 1024px; border-collapse: collapse; border: 0; table-layout: auto; background: transparent; font-size: 14px; }
.hcd.hcd-classic .hcdc-table thead { background: #2d3748; color: #fff; }
.hcd.hcd-classic .hcdc-table th { padding: 15px 12px; text-align: left; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; position: relative; background: #2d3748; color: #fff; border: 0; white-space: nowrap; }
.hcd.hcd-classic .hcdc-table th:hover { background: #1a202c; }
.hcd.hcd-classic .hcdc-table th.hcdc-center, .hcd.hcd-classic .hcdc-table td.hcdc-center { text-align: center; }
.hcd.hcd-classic .hcdc-table tbody tr { border-bottom: 1px solid #e2e8f0; transition: background .2s; background: transparent; }
.hcd.hcd-classic .hcdc-table tbody tr:hover { background: #f7fafc; }
.hcd.hcd-classic .hcdc-table tbody tr.hcdc-number-one { background: #fef3c7; }
.hcd.hcd-classic .hcdc-table tbody tr.hcdc-number-one:hover { background: #fde68a; }
.hcd.hcd-classic .hcdc-table td { padding: 15px 12px; font-size: 14px; border: 0 !important; background: transparent !important; vertical-align: middle; color: #2d3748; }
.hcd.hcd-classic .hcdc-table div.hcdc-rank { font-size: 22px; font-weight: bold; color: #2d3748; }
.hcd.hcd-classic .hcdc-lw { font-size: 16px; font-weight: 600; color: #718096; }
.hcd.hcd-classic .hcdc-move { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.hcd.hcd-classic .hcdc-up { color: #22863a; background: #dcffe4; }
.hcd.hcd-classic .hcdc-down { color: #cb2431; background: #ffdce0; }
.hcd.hcd-classic .hcdc-same { color: #6a737d; padding: 0; }
.hcd.hcd-classic .hcdc-new { display: inline-block; padding: 3px 8px; background: #48bb78; color: #fff; border-radius: 4px; font-size: 11px; font-weight: 700; letter-spacing: .5px; }
.hcd.hcd-classic .hcdc-song { display: flex; align-items: flex-start; gap: 12px; }
.hcd.hcd-classic .hcdc-artwork { width: 50px; height: 50px; flex-shrink: 0; border-radius: 4px; object-fit: cover; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; font-weight: bold; }
.hcd.hcd-classic .hcdc-artwork img { width: 100%; height: 100%; max-width: none; border-radius: 4px; object-fit: cover; display: block; }
.hcd.hcd-classic .hcdc-details strong { display: block; margin-bottom: 4px; color: #2d3748; font-weight: bold; }
.hcd.hcd-classic .hcdc-details span { color: #718096; font-size: 13px; }
.hcd.hcd-classic .hcdc-details a { color: inherit; text-decoration: none; }
.hcd.hcd-classic .hcdc-details a:hover { color: #5a67d8; }
.hcd.hcd-classic .hcdc-peak { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; background: #fef3c7; border-radius: 12px; font-size: 12px; font-weight: 600; }
.hcd.hcd-classic .hcdc-stations { display: flex; flex-wrap: wrap; gap: 4px; max-width: 250px; }
.hcd.hcd-classic .hcdc-station { padding: 3px 6px; background: #edf2f7; border-radius: 3px; font-size: 10px; text-decoration: none; color: #4a5568; font-weight: 500; text-align: center; }
.hcd.hcd-classic a.hcdc-station:hover { background: #667eea; color: #fff; }
.hcd.hcd-classic .hcdc-empty { text-align: center; padding: 60px 20px; color: #718096; }
.hcd.hcd-classic .sort-icon { font-size: 12px; }
/* Gold page */
.hcd.hcd-classic .hcdc-gold .hcdc-header { background: linear-gradient(135deg, #744210 0%, #b7791f 100%); padding: 28px 32px; }
.hcd.hcd-classic .hcdc-gold .hcdc-header h1 { font-size: 30px; margin-bottom: 6px; }
.hcd.hcd-classic .hcdc-gold .hcdc-header p { opacity: .9; font-size: 14px; }
.hcd.hcd-classic .hcdc-gold .hcdc-controls { justify-content: flex-start; gap: 16px; flex-wrap: wrap; padding: 16px 32px; border-bottom: 1px solid #e2e8f0; }
.hcd.hcd-classic .hcdc-gold .hcdc-week label, .hcd.hcd-classic .hcdc-gold .hcdc-week select { font-size: 14px; }
.hcd.hcd-classic .hcdc-gold .hcdc-week select { padding: 8px 12px; border: 1px solid #cbd5e0; }
.hcd.hcd-classic .hcdc-gold .hcdc-actions { display: contents; }
.hcd.hcd-classic .hcdc-gold .hcdc-btn { display: inline-block; padding: 9px 16px; }
.hcd.hcd-classic .hcdc-gold .hcdc-btn-primary, .hcd.hcd-classic .hcdc-gold .hcdc-btn-primary:hover { background: #667eea; }
.hcd.hcd-classic .hcdc-gold .hcdc-tabs { background: #f7fafc; border-bottom: 2px solid #e2e8f0; padding: 0 32px; }
.hcd.hcd-classic .hcdc-gold .hcdc-tab { padding: 14px 22px; margin-bottom: -2px; background: transparent; }
.hcd.hcd-classic .hcdc-gold .hcdc-tab.active, .hcd.hcd-classic .hcdc-gold .hcdc-tab.active:hover { color: #b7791f; border-bottom-color: #b7791f !important; background: transparent; }
.hcd.hcd-classic .hcdc-about { padding: 14px 32px; background: #fffaf0; border-bottom: 1px solid #fbd38d; color: #744210; font-size: 14px; line-height: 1.5; }
.hcd.hcd-classic .hcdc-gold .hcdc-table th { padding: 12px 14px; letter-spacing: .4px; font-weight: bold; }
.hcd.hcd-classic .hcdc-gold .hcdc-table th:hover { background: #2d3748; }
.hcd.hcd-classic .hcdc-gold .hcdc-table tbody tr { border-bottom: 0; transition: none; }
.hcd.hcd-classic .hcdc-gold .hcdc-table tbody tr:hover { background: transparent; }
.hcd.hcd-classic .hcdc-gold .hcdc-table td { padding: 10px 14px; border-bottom: 1px solid #edf2f7 !important; }
.hcd.hcd-classic .hcdc-gold .hcdc-table td.hcdc-rank { font-size: 18px; font-weight: 800; width: 56px; text-align: center; }
.hcd.hcd-classic .hcdc-gold .hcdc-table td.hcdc-num { text-align: right; font-variant-numeric: tabular-nums; }
.hcd.hcd-classic .hcdc-gold .hcdc-table th.hcdc-num { text-align: right; }
.hcd.hcd-classic .hcdc-gsong { display: flex; align-items: center; gap: 12px; }
.hcd.hcd-classic .hcdc-gart { width: 42px; height: 42px; border-radius: 4px; object-fit: cover; background: #e2e8f0; flex: none; display: block; }
.hcd.hcd-classic .hcdc-gtitle { font-weight: 700; }
.hcd.hcd-classic .hcdc-gartist { color: #718096; font-size: 13px; }
.hcd.hcd-classic .hcdc-gtitle a, .hcd.hcd-classic .hcdc-gartist a { color: inherit; text-decoration: none; }
.hcd.hcd-classic .hcdc-gtitle a:hover, .hcd.hcd-classic .hcdc-gartist a:hover { color: #5a67d8; }
.hcd.hcd-classic .hcd-credit { padding: 10px 30px; border-top: 1px solid #e2e8f0; background: #f7fafc; font-size: 12px; opacity: 1; color: #718096; }
/* hide="...": columns left off through the shortcode */
.hcd.hcd-classic .hcdc-table[data-hide~="lw"] .hcdc-x-lw,
.hcd.hcd-classic .hcdc-table[data-hide~="change"] .hcdc-x-change,
.hcd.hcd-classic .hcdc-table[data-hide~="label"] .hcdc-x-label,
.hcd.hcd-classic .hcdc-table[data-hide~="spins"] .hcdc-x-spins,
.hcd.hcd-classic .hcdc-table[data-hide~="weeks"] .hcdc-x-weeks,
.hcd.hcd-classic .hcdc-table[data-hide~="peak"] .hcdc-x-peak,
.hcd.hcd-classic .hcdc-table[data-hide~="debut"] .hcdc-x-debut,
.hcd.hcd-classic .hcdc-table[data-hide~="stations"] .hcdc-x-stations { display: none; }
.hcd.hcd-classic .hcdc-legend { padding: 12px 30px; background: #f7fafc; border-top: 1px solid #e2e8f0; font-size: 12px; line-height: 1.6; color: #718096; }
.hcd.hcd-classic .hcdc-legend strong { color: #4a5568; }
@media print { .hcd.hcd-classic { box-shadow: none; } .hcd.hcd-classic .hcdc-controls, .hcd.hcd-classic .hcdc-tabs { display: none; } }
