@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

@font-face {
    font-family: "Supermolot";
    src: url("../fonts/supermolot-bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Supermolot";
    src: url("../fonts/supermolot-extrabold-italic.ttf") format("truetype");
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

@font-face { font-family: "Supermolot"; src: url("../fonts/supermolot-extrabold.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Supermolot"; src: url("../fonts/supermolot-black.ttf") format("truetype"); font-weight: 900; font-style: normal; font-display: swap; }

/* Shared theme and type. */
:root {
    --page: #f9f7f4;
    --surface: #fff;
    --ink: #16100e;
    --muted: #706b65;
    --line: #e4e1df;
    --gold: #f9b12b;
    --gold-dark: #b77c20;
    --gold-light: #f8d186;
    --gold-fill: linear-gradient(180deg, #f9b12b, #ee9d07);
    --soft: #f4f3f2;
    --radius: 16px;
    --shadow: 0 10px 30px rgb(27 19 10 / 4%);
    --display: "Supermolot", "Inter", Arial, sans-serif;
    --header-height: 90px;
}
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 16px/1.7 "Inter", Arial, sans-serif; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 700; line-height: 1.2; }
h1, .h1 { font-size: clamp(30px, 4vw, 48px); }
h2, .h2 { font-size: clamp(24px, 3vw, 34px); }
h3, .h3 { font-size: 24px; }
h4, .h4 { font-size: 20px; }
p { margin: 0 0 20px; }
a { color: var(--gold-dark); text-decoration: none; transition: color .2s, background-color .2s; }
a:hover { color: var(--ink); text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, [data-toggle]:focus-visible { outline: 3px solid var(--gold-dark); outline-offset: 4px; }
img, svg { vertical-align: middle; }
img { max-width: 100%; }
::selection { color: var(--ink); background: var(--gold-light); }
.container { width: 100%; max-width: 1168px; padding: 0 16px; margin: 0 auto; }
.section-padding, .tools-use-section, .main-section { padding: 40px 0; }
.font-weight-600 { font-weight: 600; }
.red { color: #c74c41; }
.green { color: #38834a; }
.yellow { color: var(--gold); }

/* Navigation keeps the existing Bootstrap menu and modal behavior. */
.header-nav { position: sticky; top: 0; z-index: 1030; background: var(--page); border-bottom: 1px solid var(--line); box-shadow: 0 4px 20px rgb(27 19 10 / 6%); }
.header-nav .navbar { min-height: var(--header-height); padding: 12px 0; gap: 18px; }
.navbar-brand { margin: 0; flex-shrink: 0; }
.navbar-brand img { display: block; height: 45px; width: auto; }
.header-nav .navbar-nav { gap: 18px; }
.header-nav .nav-item .nav-link { padding: 8px 0; color: var(--ink); font-size: 16px; font-weight: 500; white-space: nowrap; }
.header-nav .nav-item.active > .nav-link { font-weight: 700; }
.header-nav .nav-link:hover { color: var(--gold-dark); }
.header-nav .dropdown-menu { min-width: 340px; max-height: calc(100dvh - 110px); overflow-y: auto; padding: 12px; border: 1px solid #ead9b5; border-top: 3px solid var(--gold); border-radius: var(--radius); background: var(--surface); box-shadow: 0 24px 48px rgb(27 19 10 / 16%); }
.header-nav .dropdown-menu a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--ink); font-size: 12px; font-weight: 600; white-space: normal; break-inside: avoid; }
.header-nav .dropdown-menu a:hover, .header-nav .dropdown-menu a:focus { background: var(--soft); color: var(--gold-dark); }
.navbar-toggler { padding: 0; border: 0; background: transparent; }
.nav-toggle-icon { display: block; width: 24px; height: 24px; color: var(--ink); stroke: currentColor; fill: none; stroke-width: 2; }

.header-nav .dropdown-menu br { display: none; }

/* Buttons share one gold treatment across every page. */
.btn, .contact-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 11px 22px; border: 1px solid transparent; border-radius: 12px; font: 700 16px/1.3 var(--display); text-align: center; transition: box-shadow .2s, filter .2s; }
.btn-primary, .btn-outline-primary, .contact-actions button { color: #16100e; background: var(--gold-fill); border-color: #edbd64; box-shadow: 0 4px 10px rgb(126 81 16 / 14%); }
.btn-primary:hover, .btn-outline-primary:hover, .contact-actions button:hover { color: #16100e; border-color: var(--gold); background: var(--gold-fill); filter: brightness(1.04); }
.btn-primary:focus, .btn-outline-primary:focus { color: #16100e; background: var(--gold-fill); border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgb(249 177 43 / 25%); }
.btn-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled):active { color: #16100e; background: var(--gold-fill); border-color: var(--gold-dark); }
.btn-sm { min-height: 40px; padding: 9px 20px; font-size: 14px; }
.download-button { width: min(100%, 280px); min-height: 58px; text-transform: uppercase; font-size: 18px; }
.download-button strong { font: inherit; }
.download-button svg { width: 20px; height: 20px; flex-shrink: 0; }
a:has(> .download-button) { display: block; width: 280px; max-width: calc(100% - 32px); margin: 24px auto; }

.section-padding > [class^="shape-"], .tools-use-section > [class^="shape-"] { display: none; }

/* Rates and markets. */
.section-heading { display: flex; align-items: center; justify-content: center; gap: 9px; color: #16100e; width: fit-content; max-width: 100%; margin: 0 auto 32px; padding: 12px 32px; background: var(--gold-fill); border: 1px solid #edbd64; border-radius: 12px; box-shadow: inset 0 3px 2px #fff5,0 8px 20px rgb(126 81 16 / 18%); font: 700 18px/1.2 var(--display); text-align: center; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.rate-grid, .market-grid { display: grid; gap: 24px; }
.rate-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.market-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rate-grid > div, .market-grid > div { min-width: 0; }
.rate-grid .card { height: 100%; text-align: center; }
.rate-grid .card-body { padding: 26px 20px; }
.rate-grid .card-body::before { content: ""; display: block; width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%; background: var(--soft) url("../images/loop-icon.svg") center / 22px no-repeat; }
.rate-grid h3 { margin-bottom: 14px; font-size: 16px; letter-spacing: .3px; text-transform: uppercase; }
.rate-grid .h4 { display: inline-block; max-width: 100%; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.rate-grid h4 { font: 500 14px/1.3 "Inter", Arial, sans-serif; white-space: nowrap; }
.market-grid .card { height: 100%; }
.market-grid .card-body { padding: 18px; }
.market-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-items: center; }
.market-name { grid-column: 1; grid-row: 1; margin: 0 0 6px; font-size: 18px; line-height: 1.35; }
.market-result { grid-column: 1; grid-row: 2; }
.market-result h3 { font: 700 22px/1.25 var(--display); }
.time { display: inline-flex; align-items: center; cursor: pointer; }
.time img { width: 14px; height: 14px; }
.market-action { grid-column: 2; grid-row: 1 / 3; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; text-align: right; }
.market-action > span { max-width: 112px; font-size: 10px; font-weight: 600; line-height: 1.4; }
.market-action > br { display: none; }
.market-action a { display: inline-flex; justify-content: center; align-items: center; width: 65px; height: 36px; background: var(--gold-fill); border-radius: 999px; }
.market-action svg { width: 14px; height: 14px; fill: #fff; stroke: #fff; }
.market-action:has(.red) a { background: #a3a5ab; }
.market-links { display: flex; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.market-links > a { flex: 1; min-width: 0; }
.btn.chart { width: 100%; min-height: 32px; padding: 6px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 2px 4px rgb(27 19 10 / 3%); color: var(--gold-dark); font-size: 13px; }
.btn.chart:hover { border-color: var(--gold); background: #fff8e9; }

/* Chart index and historical tables. */
body:has(> .chart-directory) { display: grid; grid-template-columns: minmax(16px, 1fr) repeat(2, minmax(0, 558px)) minmax(16px, 1fr); column-gap: 20px; }
body:has(> .chart-directory) > .header-nav, body:has(> .chart-directory) > .site-footer { grid-column: 1 / -1; }
.chart-directory { grid-column: 2; grid-row: 2; padding: 40px 0 0; }
.chart-directory + a { grid-column: 2; grid-row: 3; }
.chart-directory ~ .chart-directory { grid-column: 3; }
.chart-directory ~ .chart-directory + a { grid-column: 3; }
.chart-directory .container { padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.chart-directory h2 { margin: 0; padding: 14px 20px; background: var(--gold-fill); text-align: center; font-size: 18px; }
.chart-directory .row { display: block; margin: 0; padding: 12px 18px; }
.chart-directory .row > div { padding: 0; max-width: 100%; }
.chart-directory .card { border: 0; border-radius: 0; box-shadow: none; }
.chart-directory .row > div + div { border-top: 1px solid var(--line); }
.chart-directory .card-body { padding: 0; }
.chart-directory a { display: block; padding: 12px 8px; color: var(--ink); }
.chart-directory a:hover { background: var(--soft); color: var(--gold-dark); }
.chart-directory h3 { font: 600 14px/1.5 "Inter", Arial, sans-serif; }
.chart-directory ~ .chart-content { grid-column: 2 / 4; }
.chart-content .row { margin-inline: 0; }
.chart-content .row > .col-12 { padding-inline: 0; }
.chart-page { padding: 36px 0; }
.chart-page h1 { font-size: clamp(30px, 3.75vw, 48px); max-width: 960px; margin: 0 auto 20px; text-align: center; }
.chart-intro { display: block; max-width: 800px; margin: 0 auto 24px; color: var(--muted); text-align: center; }
.chart-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 24px auto 32px; }
.table.t-cell { width: 100%; max-width: 560px; margin: 0 auto; border: 2px solid var(--gold); border-collapse: separate; border-spacing: 0; border-radius: var(--radius); overflow: hidden; table-layout: fixed; background: var(--surface); color: var(--ink); text-align: center; }
.table.t-cell th, .table.t-cell td { padding: 10px 6px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); vertical-align: middle; }
.table.t-cell tr > :last-child { border-right: 0; }
.table.t-cell tr:last-child > td { border-bottom: 0; }
.table.t-cell th { padding: 9px 5px; background: var(--gold-light); font: 700 13px/1.4 var(--display); text-transform: uppercase; }
.table.t-cell td { font-size: 18px; font-weight: 700; line-height: 1.5; }
.table.t-cell tr:hover td { background: #fffaf0; }
.table.t-cell:has(.cp) { max-width: 900px; }
.table.t-cell:has(.cp) th:first-child { width: 110px; }
.cp { display: block; font-size: 13px; line-height: 1.45; }
.table.t-cell .j08 { font-size: 20px; }
.related-charts { max-width: 1136px; margin: 40px auto; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: center; }
.related-charts h2 { margin-bottom: 24px; }
.related-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.related-links a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); color: var(--ink); font-size: 14px; font-weight: 600; }
.related-links a:hover { border-color: var(--gold); background: #fff8e9; }

/* Long-form content remains fully visible. */
#contents, .chart-content { padding: 48px 0; }
#contents .container, .chart-content .container { max-width: 1168px; }
#contents h2, .chart-content h2 { margin: 32px 0 18px; }
#contents h3, .chart-content h3, .main-section h3 { margin: 24px 0 12px; }
#contents p, .chart-content p, .main-section p, .main-section li { color: #625d57; }
#contents ul, .chart-content ul, .main-section ul { margin: 0 0 24px; padding-left: 24px; }
#contents li, .chart-content li, .main-section li { margin: 6px 0; }
.main-section .container { max-width: 1072px; }
.main-section h1 { padding: 24px 0 48px; margin-bottom: 40px; border-bottom: 2px solid var(--gold-light); text-align: center; font-size: clamp(34px, 5.4vw, 64px); }
.main-section h2 { margin: 32px 0 18px; }

/* FAQ and footer. */
.accordionFAQ { padding-bottom: 32px; }
.accordionFAQ > h2 { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.accordionFAQ .card { margin-bottom: 12px; border-radius: 12px; box-shadow: none; overflow: hidden; }
.accordionFAQ .card-header { padding: 0 22px; border: 0; background: transparent; }
.accordionFAQ h4 { display: flex; align-items: center; gap: 18px; justify-content: space-between; padding: 18px 0; font: 600 16px/1.5 "Inter", Arial, sans-serif; cursor: pointer; }
.accordion-arrow { order: 1; flex-shrink: 0; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; background: #faf9f7 url("../images/plus.svg") center / 16px no-repeat; transition: transform .2s; }
.accordionFAQ [aria-expanded="true"] .accordion-arrow { transform: rotate(45deg); }
.accordionFAQ .card-body { padding: 0 22px 20px; color: var(--muted); }
.accordionFAQ .card-body p { margin: 0; }
.site-footer { margin-top: 40px; padding-top: 40px; background: var(--surface); border-top: 1px solid #e5dac6; text-align: center; color: var(--muted); font-size: 14px; }
.footer-brand img { width: auto; height: 40px; margin-bottom: 24px; }
.site-footer .row { justify-content: center; }
.footer-age { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-partner { flex: 0 1 210px; padding: 16px; }
.footer-partner img { max-height: 44px; width: auto; }
.linking-footerhome { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 24px 0; padding: 0; list-style: none; }
.linking-footerhome a { color: var(--ink); font-size: 14px; }
.linking-footerhome a:hover { color: var(--gold-dark); }
.footer-description { max-width: 900px; margin: 0 auto 24px; }
.footer-bottom { border-top: 1px solid #e5dac6; padding: 22px 0; }
.footer-bottom .row { margin-inline: 0; }
.footer-bottom .block { border: 0; }

/* Secondary chart and policy layout retains its menu and footer content. */
.compact-layout > .container:first-child { max-width: none; position: sticky; top: 0; z-index: 1030; background: var(--page); border-bottom: 1px solid var(--line); }
.header { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1136px; min-height: 90px; margin: auto; }
.logo img, .mobile-logo img { width: 170px; max-height: 44px; }
.header-center ul { display: flex; gap: 28px; align-items: center; list-style: none; padding: 0; margin: 0; }
.header-center a { color: var(--ink); font-weight: 600; }
.small-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 12px; background: var(--gold-fill); color: var(--ink); font-weight: 700; }
.small-btn img { width: 20px; height: 20px; }
.burger, .closebtn, .mobile-logo, .overlay-1 { display: none; }
.main-section .table-responsive { overflow-x: auto; }
.chart-table { width: 100%; text-align: center; background: var(--surface); border: 1px solid var(--line); }
.chart-table th { background: var(--gold-light); padding: 12px 6px; }
.chart-table td { padding: 10px 6px; border: 1px solid var(--line); font-weight: 600; }
.copy-right { padding: 40px 0 16px; background: var(--surface); border-top: 1px solid #e5dac6; text-align: center; }
.copy-right-img > img { width: 170px; margin-bottom: 24px; }
.copy-right .players-img { margin: 16px 0; }
.footer-logos { display: flex; justify-content: center; align-items: center; gap: 24px; margin: 24px 0; }
.footer-logos img { width: auto; max-height: 50px; }
.copy-right p { max-width: 900px; margin: 16px auto; }
.linking-footer { list-style: none; gap: 20px; padding: 0; }
.chart-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin: 0 0 32px; text-align: center; }
.chart-links > div { max-width: none; padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.chart-links h3 { padding: 16px 10px; background: var(--gold-fill); color: #16100e; font-size: 18px; }
.chart-links br { display: none; }
.chart-links > div > div { margin: 0 14px; border-bottom: 1px solid var(--line); }
.chart-links a { display: block; padding: 9px 4px; color: var(--ink); font-size: 13px; font-weight: 600; }
.site-footer img[src*="logo"] { width: 170px; }

/* Existing dialogs and scroll control. */
.modal-content { border: 1px solid #e5dac6; border-radius: 20px; background: var(--surface); box-shadow: 0 24px 64px rgb(27 19 10 / 22%); }
.modal .card-body { padding: 24px; }
.modal h3 { margin-bottom: 24px; font-size: 24px; }
.modal .close { position: absolute; top: 12px; right: 16px; z-index: 1; color: var(--ink); }
.modal .table.t-cell th { text-transform: none; font-size: 12px; }
.modal .table.t-cell td { font-size: 14px; }
.scroll-to-top-btn { display: none; bottom: 24px; right: 20px; width: 44px; height: 44px; padding: 6px; z-index: 1020; }
.scroll-to-top-btn.show { display: inline-flex; }

@media (min-width: 1200px) {
    .header-nav .navbar { padding-block: 0; }
    .header-nav .navbar-nav { height: calc(var(--header-height) - 1px); align-items: stretch; }
    .header-nav .nav-item { display: flex; align-items: center; }
    .header-nav .dropdown-toggle::after { display: none; }

    .header-nav .dropdown-menu { top: 100%; left: 50%; margin-top: 0; transform: translateX(-50%); columns: 2; }
    .header-nav .dropdown:hover > .dropdown-menu, .header-nav .dropdown:focus-within > .dropdown-menu { display: block; }
}
@media (max-width: 1199px) {
    :root { --header-height: 72px; }
    .header-nav .navbar { justify-content: flex-start; column-gap: 14px; row-gap: 0; }
    .navbar-toggler { order: -1; }
    .navbar-collapse { flex-basis: 100%; max-height: calc(100dvh - var(--header-height) - 24px); overflow-y: auto; }
    .header-nav .navbar-nav { gap: 0; padding: 12px 0; }
    .header-nav .nav-item .nav-link { padding: 12px 4px; }
    .header-nav .dropdown-menu { min-width: 0; width: 100%; margin: 0 0 10px; box-shadow: none; }
    .navbar-button { padding: 0 0 18px; }
    .navbar-brand img { height: 34px; }
    .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rate-grid { gap: 16px; }
    .rate-grid .card-body { padding: 24px 12px; }
}
@media (max-width: 767px) {
    .header { min-height: 72px; }
    .burger { display: block; }
    .burger img { width: 28px; }
    #mob-menu { display: none; }
    .menu.open #mob-menu { display: block; position: fixed; inset: 0 0 0 auto; width: min(320px,90vw); z-index: 1041; background: var(--surface); padding: 70px 24px 24px; }
    .menu.open .overlay-1 { display: block; position: fixed; inset: 0; z-index: 1040; background: #0006; }
    .header-center ul { flex-direction: column; align-items: flex-start; }
    .mobile-logo, .closebtn { display: block; }
    .closebtn { position: absolute; right: 20px; top: 12px; font-size: 30px; }

    body { font-size: 15px; }
    .section-padding, .tools-use-section, .main-section { padding: 28px 0; }
    .section-heading { width: 100%; margin-bottom: 24px; padding: 12px 20px; font-size: 17px; }
    .rate-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rate-grid h3 { font-size: 14px; }
    .rate-grid h4 { font-size: 12px; }
    .rate-grid .h4 { padding: 7px 8px; }
    .chart-page h1 { font-size: 30px; }
    .table.t-cell th { font-size: 11px; padding: 8px 3px; }
    .table.t-cell td { padding: 9px 3px; font-size: 16px; }
    .table.t-cell:has(.cp) th:first-child { width: 64px; }
    .table.t-cell .j08 { font-size: 16px; }
    .cp { font-size: 10px; }
    .table.t-cell:has(.cp) td:first-child .cp { font-size: 9px; white-space: nowrap; }
    .related-charts { margin: 24px 16px; padding: 22px 16px; }
    .related-links { gap: 8px; }
    .related-links a { padding: 8px 10px; font-size: 12px; }
    .main-section h1 { padding: 16px 0 32px; margin-bottom: 28px; }
    .accordionFAQ h4 { padding: 16px 0; font-size: 14px; }
    .accordionFAQ .card-header { padding: 0 16px; }
    .accordionFAQ .card-body { padding: 0 16px 18px; }
    .site-footer { margin-top: 28px; padding-top: 28px; }
    .footer-partner { flex-basis: 45%; padding: 14px; }
}
@media (max-width: 575px) {
    .market-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .market-grid .card-body { padding: 16px; }
    .market-name { font-size: 17px; }
    .market-result h3 { font-size: 21px; }
    .chart-links { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .chart-links h3 { font-size: 16px; }
    .chart-links a { font-size: 11px; }
    .chart-links > div > div { margin: 0 6px; }
    .rate-grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 12px; border: 2px solid var(--gold); border-radius: 24px; background: var(--surface); }
    .rate-grid .card { border: 0; border-radius: 0; box-shadow: none; }
    .rate-grid > div + div { border-top: 1px solid #eee5d1; }
    .rate-grid .card-body { padding: 16px 12px; }
    .rate-grid .card-body::before { display: none; }
    .rate-grid .card-body > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
    .rate-grid h3 { margin: 0; font-size: 13px; text-align: left; }
    .rate-grid .h4 { flex-shrink: 0; }
    body:has(> .chart-directory) { grid-template-columns: 12px repeat(2, minmax(0, 1fr)) 12px; column-gap: 0; }
    .chart-directory { margin-right: 6px; padding-top: 24px; }
    .chart-directory ~ .chart-directory { margin-right: 0; margin-left: 6px; }
    .chart-directory .row { padding: 8px; }
    .chart-directory h2 { padding: 12px 5px; font-size: 16px; }
    .chart-directory h3 { font-size: 11px; }
    .chart-directory a { padding: 11px 3px; }
    .chart-directory + a .download-button { min-height: 44px; padding: 10px; font-size: 12px; }
    .chart-directory + a .download-button svg { width: 15px; height: 15px; }
    .chart-directory ~ .chart-content .container { padding: 0; }
    .chart-actions { gap: 12px; }
    .chart-actions .btn { font-size: 13px; }
    .modal .card-body { padding: 24px 12px 16px; }
    .scroll-to-top-btn { bottom: 16px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0s; animation-duration: 0s; }
}

/* Reference hero, feature cards and contact strip. */
.hero-banner { position: relative; overflow: hidden; }
.hero-banner::after { content: ""; display: block; height: 3px; background: linear-gradient(90deg,transparent,#f8d186,#b77c20,#f8d186,transparent); }
.hero-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px; align-items: center; padding-top: 10px; padding-bottom: 40px; }
.hero-copy { min-width: 0; padding-bottom: 28px; }
.hero-eyebrow { display: flex; align-items: center; gap: 18px; margin-bottom: 9px; color: #6b7280; font-size: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero-eyebrow span { width: 36px; height: 1px; background: #9ca3af; }
.hero-brand { margin: 0; padding-right: 9px; font: italic 900 clamp(60px,8vw,110px)/.9 var(--display); letter-spacing: .02em; text-transform: uppercase; color: transparent; background: var(--gold-fill); background-clip: text; }
.hero-taglines { margin-bottom: 28px; }
.hero-tagline { margin: 0; font: italic 900 clamp(26px,3.2vw,38px)/1.15 var(--display); }
.hero-tagline span { color: var(--gold-dark); background: var(--gold-fill); background-clip: text; -webkit-text-fill-color: transparent; }
.hero-welcome { display: grid; margin-top: 2px; font: 800 18px/1.55 var(--display); color: var(--gold-dark); }
.hero-welcome span { grid-area: 1/1; opacity: 0; animation: welcome-language 24s infinite; }
.hero-welcome span:nth-child(2) { animation-delay: 4s; }
.hero-welcome span:nth-child(3) { animation-delay: 8s; }
.hero-welcome span:nth-child(4) { animation-delay: 12s; }
.hero-welcome span:nth-child(5) { animation-delay: 16s; }
.hero-welcome span:nth-child(6) { animation-delay: 20s; }
@keyframes welcome-language { 0%,14% { opacity: 1; } 17%,100% { opacity: 0; } }
.hero-image { display: block; width: 100%; height: auto; max-height: 500px; object-fit: contain; transform-origin: bottom center; filter: drop-shadow(0 16px 24px #16100e2e) saturate(1.08) contrast(1.05); animation: hero-breathe 16s ease-in-out infinite; }
@keyframes hero-breathe { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-4px) scale(1.012); } }
.hero-copy > a:has(.download-button) { margin: 0; }
.hero-download-mobile { display: none; }
.hero-copy .download-button, .hero-download-mobile .download-button { width: 100%; min-height: 58px; border-radius: 14px; border: 2px solid #f3cc75; background: var(--gold-fill); box-shadow: inset 0 3px 2px #fff5,0 4px 20px #ee9d0766; }
.benefits-section { padding-top: 36px; }
.benefit-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22.5px; }
.benefit-card { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 190px; padding: 27px; border: 1px solid #f2e2b8; border-radius: 16px; background: linear-gradient(var(--surface),#fffcf6); box-shadow: var(--shadow); text-align: center; }
.benefit-icon { display: grid; place-items: center; width: 63px; height: 63px; margin-bottom: 16px; border: 1px solid #f7c14b; border-radius: 16px; color: #e0820a; background: linear-gradient(135deg,#fff8ec,#ffeec4); box-shadow: 0 2px 8px #e0820a1f; }
.benefit-icon svg { width: 31.5px; height: 31.5px; }
.benefit-card strong { font: 700 17px/1.25 var(--display); }
.benefit-card small { margin-top: 7px; color: #7a7166; font-size: 14px; font-weight: 500; line-height: 1.4; }
.contact-panel { margin-top: 54px; padding: 18px 22px; border: 1px solid #f2e2b8; border-radius: 22px; background: #fffcf6; }
.contact-panel h2 { margin: 0 0 9px; font-size: 14px; text-align: center; }
.contact-actions { display: flex; justify-content: center; gap: 18px; }
.contact-actions button { min-height: 56px; width: 240px; text-transform: uppercase; font-size: 18px; box-shadow: inset 0 3px 2px #fff5,0 4px 10px #7e511024; }
.contact-actions svg { width: 20px; height: 20px; }
.registration-notice { margin-bottom: 24px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--muted); text-align: center; font-size: 14px; }
.registration-notice h2 { margin-top: 12px; font-size: 20px; }
.ui-icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.theme-toggle { display: grid; place-items: center; width: 45px; height: 45px; padding: 0; border: 0; border-radius: 50%; color: var(--ink); background: var(--surface); flex-shrink: 0; }
.theme-toggle svg { width: 23px; height: 23px; }
.extra-market-section { padding-top: 36px; }
.extra-market-card .market-result { font: 700 22px/1.25 var(--display); }
.market-action > .red { color: var(--muted); }
.rate-table-head { display: none; }
.market-unavailable { display: grid; place-items: center; width: 65px; height: 36px; color: #fff; background: #a3a5ab; border-radius: 999px; }
.footer-identity { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin: 48px 0 28px; padding: 28px 0; border-block: 1px solid var(--line); text-align: left; }
.footer-identity > img { width: 180px; }
.footer-age-note { display: flex; align-items: center; gap: 14px; max-width: 370px; }
.footer-age-note img { width: 40px; height: 40px; }
.footer-partners { display: flex; align-items: center; justify-content: center; gap: 24px; }
.footer-partners img { height: 40px; width: auto; max-width: 160px; object-fit: contain; }
html[data-theme="dark"] { --page: #161411; --surface: #211e19; --ink: #f7f4ee; --muted: #c1b9ab; --line: #39342b; --soft: #29251f; }
html[data-theme="dark"] .benefit-card, html[data-theme="dark"] .contact-panel { background: var(--surface); border-color: var(--line); }
html[data-theme="dark"] .benefit-card small { color: var(--muted); }
html[data-theme="dark"] .rate-table-head { background: var(--soft); color: var(--ink); }
html[data-theme="dark"] img[src$="/logo.svg"] { content: url('../images/logo-dark.svg'); }
html[data-theme="dark"] .site-footer, html[data-theme="dark"] .copy-right { background: var(--surface); }

@media (max-width: 1199px) {
    .theme-toggle { margin-left: auto; }
    .header-nav .navbar-collapse { order: 2; }
}
@media (max-width: 1023px) {
    .hero-grid { grid-template-columns: minmax(0,1fr); gap: 9px; }
    .hero-copy { padding-bottom: 0; text-align: center; }
    .hero-eyebrow { justify-content: center; }
    .hero-brand { font-size: clamp(50px,7vw,80px); }
    .hero-taglines { margin-bottom: 0; }
    .hero-copy > a:has(.download-button) { display: none; }
    .hero-image { max-width: 560px; justify-self: center; }
    .hero-download-mobile { display: block; width: 100%; margin-top: -9px; }
    .hero-download-mobile > a:has(.download-button) { width: 100%; max-width: 100%; margin: 0; }
    .benefits-section { padding-top: 18px; }
    .footer-identity { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 767px) {
    .hero-grid { padding-top: 10px; padding-bottom: 28px; }
    .hero-eyebrow { font-size: 12px; }
    .hero-brand { font-size: clamp(45px,12vw,60px); }
    .hero-welcome { font-size: clamp(14px,4vw,18px); }
    .hero-download-mobile .download-button { min-height: 50px; font-size: 16px; }
    .benefit-grid { gap: 4px; padding: 5px 9px; border-radius: 12px; background: var(--surface); }
    .benefit-card { min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
    .benefit-icon { width: 45px; height: 45px; margin-bottom: 11px; border: 0; border-radius: 50%; background: #fff6e4; box-shadow: none; }
    .benefit-icon svg { width: 23px; height: 23px; }
    .benefit-card strong { max-width: 76px; font-size: 12px; }
    .benefit-card strong span { display: block; }
    .benefit-card small { display: none; }
    .contact-panel { margin-top: 16px; padding: 13.5px; border-radius: 18px; }
    .contact-panel .container { padding: 0; }
    .contact-actions { gap: 9px; }
    .contact-actions a { flex: 1; min-width: 0; }
    .contact-actions button { width: 100%; min-height: 44px; padding: 8px; font-size: 14px; }
    .contact-actions svg { width: 17px; height: 17px; }
    .extra-market-section { padding-top: 27px; }
    .footer-identity { margin: 28px 0; gap: 24px; }
    .footer-age-note { font-size: 13px; }
    .footer-partners img { max-width: 145px; height: 34px; }
}
@media (max-width: 639px) {
    :root { --header-height: 70px; }
    .container { padding-inline: 18px; }
}
@media (max-width: 575px) {
    .rate-table-head { display: flex; justify-content: space-between; padding: 14px; border-radius: 14px 14px 0 0; background: #fff9eb; font: 700 11px/1.3 var(--display); text-transform: uppercase; }
    .rate-table-head span:last-child { min-width: 118px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-image { animation: none; }
    .hero-welcome span { animation: none; }
    .hero-welcome span:first-child { opacity: 1; }
}

.winners-section { margin-top: 40px; }
.winner-heading { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 28px; }
.winner-heading .winner-label { margin-bottom: 13.5px; }
.winner-label .ui-icon { width: 16px; height: 16px; }
.winner-title { font-family: var(--display); font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 13.5px; margin: 0; font-size: clamp(28px,4vw,44px); line-height: 1.15; }
.winner-title::before, .winner-title::after { content: ""; flex-shrink: 0; width: 11.25px; height: 11.25px; border-radius: 50%; background: #22c55e; }
.winner-window { --winner-gap: 18px; height: 107.75px; overflow: hidden; mask-image: linear-gradient(90deg,transparent 0%,#000 4%,#000 96%,transparent 100%); }
.winner-track { display: flex; width: max-content; animation: winner-scroll 36s linear infinite; }
.winner-group { display: flex; gap: var(--winner-gap); padding-right: var(--winner-gap); }
.winner-window:hover .winner-track, .winner-window:focus-within .winner-track { animation-play-state: paused; }
.winner-card, .winner-empty { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.winner-card { display: block; flex: none; width: 188px; padding: 11.25px 18px 15.75px; font-size: 18px; line-height: 1.7; box-shadow: var(--shadow); }
.winner-rank { display: inline-flex; align-items: center; gap: 6.75px; margin-bottom: 10px; color: var(--gold-dark); font: 700 15px/1 var(--display); }
.winner-rank .ui-icon { width: 14px; height: 12px; }
.winner-card strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 9px; font: 500 15px/1.25 "Inter", Arial, sans-serif; }
.winner-card b { display: block; color: var(--gold-dark); background: var(--gold-fill); background-clip: text; -webkit-text-fill-color: transparent; font: 800 18px/1 var(--display); letter-spacing: .3px; }
.winner-empty { display: grid; place-items: center; width: 100%; height: 100%; padding: 13.5px; color: var(--muted); font-size: 14px; text-align: center; }
@keyframes winner-scroll { to { transform: translateX(-50%); } }

@media (max-width: 639px) {
 .winners-section { margin-top: 32px; }
 .winner-window { --winner-gap: 11.25px; height: 85.109375px; }
 .winner-card { width: 148px; border-radius: 12px; padding: 6.75px 13.5px 9px; }
 .winner-rank { font-size: 13px; margin-bottom: 4.5px; }
 .winner-card strong { font-size: 13px; margin-bottom: 4.5px; }
 .winner-card b { font-size: 16px; }
 .winner-title { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
 .winner-track { animation: none; }
 .winner-window { overflow-x: auto; }
 .winner-group[aria-hidden="true"] { display: none; }
}
