/* Public interface. Shared palette and fonts live in brand.css. */
:root { --header-height: 96px; }
html { font-size: 18px; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 16px/1.75 var(--font-body); }
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(38px, 5vw, 64px); }
h2, .h2 { font-size: clamp(30px, 3.5vw, 42px); }
h3, .h3 { font-size: 27px; }
h4, .h4 { font-size: 20px; }
p { margin: 0 0 20px; }
a { color: var(--accent); 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(--accent); outline-offset: 4px; }
img, svg { vertical-align: middle; }
img { max-width: 100%; }
::selection { color: #fff; background: #bc1720; }
.container { width: 100%; max-width: 1220px; padding: 0 24px; margin: 0 auto; }
.section-padding, .tools-use-section, .main-section { padding: 56px 0; }
.font-weight-600 { font-weight: 600; }
.red { color: var(--accent); }
.green { color: var(--success); }
.yellow { color: var(--accent); }

/* Navigation and responsive menus. */
.header-nav { position: fixed; inset: 0 0 auto; z-index: 1030; display: flex; align-items: center; height: var(--header-height); background: var(--page); border-bottom: 2px solid var(--ink); }
.header-row, .header-brand { display: flex; align-items: center; }
.header-row { justify-content: space-between; gap: 18px; }
.header-brand { flex-shrink: 0; }
.navbar-brand { display: block; padding: 3px; margin: 0; border-radius: 50%; background: #f7f3e7; }
.navbar-brand img { height: 80px; width: 80px; object-fit: contain; display: block; }
.navbar-toggler { padding: 0; margin-right: 13.5px; border: 0; background: none; color: var(--ink); display: none; }
.navbar-toggler .ui-icon { width: 27px; height: 19px; }
.header-menu.collapse { display: block; }
.header-menu .navbar-nav { display: flex; flex-direction: row; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.header-menu .nav-link { padding: 0; color: var(--ink); font: 700 13px/1.7 var(--font-body); white-space: nowrap; }
.header-menu .active .nav-link { color: var(--accent); }
.header-menu .nav-link:hover { color: var(--accent); }
.header-menu .dropdown-toggle::after { display: none; }
.header-menu .dropdown-menu { min-width: 360px; padding: 16px; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 0 0 12px 12px; color: var(--ink); background: var(--surface); box-shadow: 0 20px 32px rgb(18 18 18 / 12%); }
.dropdown-title { column-span: all; margin: 0 0 10px; padding: 0 9px 10px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.header-menu .dropdown-item { display: block; padding: 7px 9px; color: var(--ink); font-size: 12px; font-weight: 600; border-radius: 8px; white-space: normal; break-inside: avoid; }
.header-menu .dropdown-item:hover { background: var(--soft); color: var(--accent); }
.theme-toggle { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--ink); border-radius: 8px; color: var(--ink); background: transparent; }
.theme-toggle .ui-icon { width: 22.5px; height: 22.5px; }
.ui-icon { width: 24px; height: 24px; flex-shrink: 0; vertical-align: middle; }
.download-cta.menu-download { display: none; }
body:not(:has(.hero-banner)) { padding-top: var(--header-height); }

/* Download actions. */
.download-cta { position: relative; display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 280px; padding: 0; border: 1px solid var(--accent); border-radius: 8px; background: var(--accent); color: var(--on-accent); font: 700 22px/1 var(--display); text-transform: uppercase; letter-spacing: .6px; box-shadow: 4px 4px 0 var(--ink); transition: transform .2s, box-shadow .2s; }
.download-cta > span { display: flex; width: 100%; min-height: 58px; align-items: center; justify-content: center; gap: 10px; }
.download-cta .ui-icon { width: 22px; height: 22px; }
.download-cta:hover { color: var(--on-accent); background: var(--accent-hover); box-shadow: 2px 2px 0 var(--ink); }
.sticky-download { position: fixed; bottom: 20px; left: 50%; z-index: 1025; transform: translate(-50%,120px); width: 220px; transition: transform .25s; }
.sticky-download.is-visible { transform: translate(-50%,0); }
.sticky-download > span { min-height: 46px; }

/* Brand hero, benefits and results ticker. */
.hero-banner { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; padding-top: calc(var(--header-height) + 32px); padding-bottom: 40px; }
.hero-copy { position: relative; z-index: 2; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--muted); font-size: 12px; font-weight: 800; line-height: 1.7; letter-spacing: .2em; text-transform: uppercase; }
.hero-eyebrow > span { width: 30px; height: 3px; background: var(--accent); }
.hero-brand > span { color: var(--accent); }
.hero-brand { margin: 0 0 20px; font: italic 800 clamp(72px, 8vw, 112px)/.95 var(--display); letter-spacing: -.025em; color: var(--ink); }
.hero-taglines { max-width: 540px; margin-bottom: 32px; }
.hero-tagline { margin: 0 0 14px; font: 700 clamp(32px, 4vw, 48px)/1.05 var(--display); }
.hero-tagline > span { color: var(--accent); }
.hero-welcome { display: flex; margin: 0; font-size: 14px; line-height: 1.7; white-space: normal; }
.hero-greeting { display: grid; justify-items: start; width: 100%; font-weight: 800; }
.hero-greeting > span { display: inline-flex; align-items: center; color: var(--muted); }
.hero-visual { display: flex; justify-content: flex-end; }
.hero-stage { position: relative; display: grid; place-items: center; width: 100%; max-width: 480px; line-height: 0; isolation: isolate; }
.hero-stage::before { content: ""; position: absolute; left: 6%; bottom: 6%; width: 88%; aspect-ratio: 1; z-index: -1; pointer-events: none; border: 1px solid var(--line); border-radius: 50%; background: radial-gradient(circle at 38% 32%, #fffaf0, #f9e4d8 65%, #efe4d4); }
.hero-orbits { position: absolute; left: -3%; bottom: 1%; width: 106%; aspect-ratio: 1; z-index: -1; pointer-events: none; }
.hero-orbit { position: absolute; inset: 0; border: 2px solid #e51b2340; border-top: 3px solid var(--accent); border-bottom: 3px solid var(--accent); border-radius: 50%; animation: hero-orbit 12s linear infinite; }
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px #e51b2314; }
.hero-orbit::before { left: -6px; }
.hero-orbit::after { right: -6px; }
.hero-orbit-cross { inset: 8% -4%; border-color: var(--ink); border-width: 2px; opacity: .6; animation-duration: 16s; animation-direction: reverse; animation-delay: -4s; }
.hero-orbit-cross::before, .hero-orbit-cross::after { background: var(--ink); box-shadow: none; width: 7px; height: 7px; }
.hero-orbit-inner { inset: -4% 9%; border-color: #e51b2360; border-left: 3px solid var(--accent); border-right: 3px solid var(--accent); animation-duration: 9s; animation-delay: -2s; }
.hero-stage.is-motion-paused .hero-orbit { animation-play-state: paused; }
@keyframes hero-orbit { to { transform: rotate(360deg); } }
.hero-image { display: block; width: 100%; height: 520px; object-fit: contain; filter: drop-shadow(0 10px 14px #38150815); }
.hero-download-mobile { display: none; }
.benefits-section { padding-top: 32px; }
.benefit-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.benefit-card { display: flex; align-items: center; gap: 14px; min-width: 0; min-height: 118px; padding: 20px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.benefit-icon { display: grid; flex: none; place-items: center; width: 52px; height: 58px; border: 1px solid var(--line); border-radius: 15px 15px 20px 5px; background: var(--soft); color: var(--accent); }
.benefit-icon .ui-icon { width: 34px; height: 34px; }
.benefit-copy { min-width: 0; overflow-wrap: anywhere; }
.benefit-card h5 { margin-bottom: 5px; font-size: 20px; line-height: 1.3; }
.benefit-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.contact-strip { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; max-width: 720px; margin: 0 auto 24px; }
.contact-cta { display: flex; align-items: center; gap: 14px; min-width: 0; min-height: 76px; padding: 12px 18px; border: 1px solid transparent; border-radius: 16px; color: #fffdf7; background: #191715; font: 700 21px/1.3 var(--display); box-shadow: 0 4px 0 var(--line); transition: background-color .2s, transform .2s, box-shadow .2s; }
.contact-cta-call { background: #d71921; }
.contact-cta-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.contact-cta-icon { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border: 1px solid #ffffff30; border-radius: 50%; background: #ffffff10; }
.contact-cta-icon .ui-icon { width: 22px; height: 22px; }
.contact-cta > .ui-icon { width: 20px; height: 20px; opacity: .75; }
.contact-cta:hover { color: #fffdf7; background: #34302b; transform: translateY(-2px); box-shadow: 0 6px 0 var(--line); }
.contact-cta-call:hover { background: #b61018; }
/* Raised prize cards on an ink stage; the existing ticker supplies movement. */
.winners-section { margin-top: 48px; padding: 30px 0 12px; border: 1px solid #38332d; border-radius: 20px; background: #191715; box-shadow: 0 6px 0 var(--line); }
.winner-heading { display: flex; align-items: center; gap: 18px; padding: 0 30px; margin-bottom: 4px; }
.winner-emblem { display: grid; place-items: center; flex: none; width: 62px; height: 62px; border: 1px solid #ff8589; border-radius: 18px; background: linear-gradient(145deg, #fa5257, #ba1018); color: #fffdf7; box-shadow: 3px 5px 0 #770b10, 0 10px 20px #0005, inset 0 2px 1px #ffb4b44d; transform: rotate(-7deg); }
.winner-emblem .ui-icon { width: 30px; height: 30px; }
.winner-label { display: block; margin-bottom: 4px; color: #ff9094; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.winner-heading h2 { margin: 0; color: #fffdf7; font-size: clamp(30px, 3.5vw, 44px); line-height: 1.1; }
.winner-window { --winner-gap: 20px; height: 226px; padding: 22px 28px 30px; overflow: hidden; mask-image: linear-gradient(90deg,transparent 0%,#000 3%,#000 97%,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-window:focus-visible { outline: 2px solid #ff9094; outline-offset: -6px; border-radius: 12px; }
.winner-card { position: relative; display: grid; grid-template-columns: 44px minmax(0,1fr); align-content: center; align-items: center; gap: 10px 14px; flex: none; width: 252px; height: 170px; padding: 24px 22px; border: 1px solid #fffdf7; border-radius: 14px; background: linear-gradient(145deg,#fffdf7,#eee6d6); color: #121212; box-shadow: 0 7px 0 #ada393, 0 14px 18px #0005, inset 0 1px 0 #fff; transform: perspective(700px) rotateX(4deg); transition: transform .2s, box-shadow .2s; }
.winner-card::before { content: ""; position: absolute; inset: 0 22px auto; height: 3px; border-radius: 0 0 4px 4px; background: #e51b23; }
.winner-card:hover { transform: perspective(700px) rotateX(0) translateY(-4px); box-shadow: 0 11px 0 #ada393, 0 18px 22px #0006; }
.winner-rank { display: flex; flex-direction: column; align-items: center; justify-content: center; grid-column: 1; grid-row: 1 / 3; gap: 5px; width: 44px; height: 60px; border: 1px solid #fa7277; border-radius: 12px; color: #fff; background: linear-gradient(145deg,#f33b43,#b61018); box-shadow: 2px 4px 0 #810b11, inset 0 1px 0 #ffa4a4; font: 700 22px/1 var(--display); }
.winner-rank .ui-icon { width: 19px; height: 17px; }
.winner-card strong { display: block; grid-column: 2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 800 14px/1.4 var(--font-body); }
.winner-card b { display: block; grid-column: 2; color: #b61018; font: 700 34px/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.winner-empty { display: grid; place-items: center; width: 100%; min-height: 170px; padding: 24px; border: 1px dashed #6a6258; border-radius: 14px; color: #ded7ca; font-size: 14px; text-align: center; }
@keyframes winner-scroll { to { transform: translateX(-50%); } }

/* Shared action controls. */
.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: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.btn-primary:hover, .btn-outline-primary:hover, .contact-actions button:hover { color: var(--on-accent); border-color: var(--accent-hover); background: var(--accent-hover); }
.btn-primary:focus, .btn-outline-primary:focus { color: var(--on-accent); background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.btn-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled):active { color: var(--on-accent); background: var(--accent-hover); border-color: var(--accent-hover); }
.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; }

/* Rates and markets. */
.section-heading .ui-icon { width: 18px; height: 18px; }
.section-heading { display: flex; align-items: center; justify-content: flex-start; gap: 12px; max-width: 100%; margin: 0 0 28px; padding: 0 0 18px; border-bottom: 2px solid var(--ink); color: var(--ink); font-size: 34px; text-align: left; line-height: 1.15; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.rates-section { padding-top: 56px; }
.rates-table { display: block; width: 100%; }
.rates-table thead { display: none; }
.rates-table tbody { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.rates-table tr { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 22px; background: var(--surface); }
.rates-table th { font: 700 21px/1.25 var(--display); text-align: left; }
.rate-icon { display: inline-block; width: 24px; height: 24px; margin-right: 8px; background: var(--ink); mask: url("../images/loop-icon.svg") center/20px no-repeat; }
.rate-value { display: inline-flex; align-items: center; justify-content: center; min-width: 112px; padding: 9px 10px; border-radius: 4px; background: var(--soft); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1; }
.rate-value > span[aria-hidden] { display: inline-flex; align-items: center; white-space: nowrap; }
.rate-value .ui-icon { width: 13px; height: 13px; }
.rate-ka { margin: 0 7px; }
.market-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.market-grid .card { height: 100%; border-top: 3px solid var(--ink); }
.market-grid .card-body { padding: 24px 20px 18px; }
.market-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 13.5px; align-items: start; }
.market-name { display: flex; align-items: center; gap: 8px; min-width: 0; grid-column: 1; grid-row: 1; margin: 0 0 12px; font-size: 24px; line-height: 1.1; }
.market-name > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.market-result { grid-column: 1; grid-row: 2; }
.market-result h3 { font: 800 23px/1 var(--font-body); letter-spacing: -.025em; }
.time { padding: 0; border: 0; background: none; flex-shrink: 0; display: inline-flex; align-items: center; cursor: pointer; }
.time img { width: 16px; height: 16px; }
.market-action { grid-column: 2; grid-row: 1 / 3; display: flex; flex-direction: column; align-items: flex-end; gap: 9px; text-align: right; }
.market-action > span { white-space: nowrap; font-size: 12px; font-weight: 600; line-height: 1; }
.market-action > br { display: none; }
.market-action a { display: inline-flex; justify-content: center; align-items: center; gap: 7px; padding: 0 15px; height: 40px; color: var(--on-accent); font: 700 16px/1 var(--display); background: var(--accent); border-radius: 6px; }
.market-action svg { width: 14px; height: 14px; fill: currentColor; stroke: currentColor; }
.market-action:has(.red) a { background: var(--soft); color: var(--muted); }
.market-links { display: flex; justify-content: space-between; gap: 13.5px; margin-top: 13.5px; padding-top: 13.5px; border-top: 1px solid var(--line); }
.market-links > a { min-width: 0; }
.btn.chart { width: auto; min-width: 118px; min-height: 36px; padding: 6px 10px; background: var(--soft); border: 1px solid var(--line); border-radius: 5px; color: var(--ink); font-size: 15px; }
.btn.chart:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }

/* 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: 1; padding: 40px 0 0; }
.chart-directory + a { grid-column: 2; grid-row: 2; }
.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: 20px; background: #161616; color: #f7f3e7; text-align: center; font-size: 30px; }
.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(--accent); }
.chart-directory h3 { font: 700 14px/1.5 var(--font-body); }
.chart-directory ~ .chart-content { grid-column: 2 / 4; grid-row: 3; }
body:has(> .chart-directory) > .site-footer { grid-row: 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: 1px solid var(--ink); border-collapse: separate; border-spacing: 0; border-radius: 8px; 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: 14px 5px; background: #161616; color: #f7f3e7; font: 700 18px/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: var(--soft); }
.table.t-cell:has(.ch) { max-width: 900px; }
.table.t-cell:has(.ch) 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(--accent); background: var(--accent-soft); }

/* Supporting copy and legal pages. */
#contents { padding: 36px 0 30px; }
#contents > .container { max-height: 300px; overflow: auto; padding: 32px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; background: var(--surface); }
.chart-content { padding: 48px 0; }
#contents .container, .chart-content .container { max-width: 1170px; }
#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: var(--muted); }
#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(--line); 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 var(--font-body); 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: 24px; padding: 48px 0 90px; border-top: 2px solid var(--ink); background: var(--soft); color: var(--muted); font-size: 14px; }
.footer-charts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.footer-chart-group { min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; }
.footer-chart-group h3 { padding: 18px 10px; background: #161616; color: #f7f3e7; font-size: 24px; text-align: center; }
.footer-chart-group ul { margin: 0; padding: 9px 14px; list-style: none; }
.footer-chart-group li + li { border-top: 1px solid var(--line); }
.footer-chart-group a { display: block; padding: 9px 4px; color: var(--ink); font: 600 14px/1.45 var(--font-body); text-align: center; }
.footer-info { display: grid; grid-template-columns: 7fr 5fr; gap: 54px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer-brand-logo { display: inline-flex; margin-bottom: 18px; padding: 6px; border-radius: 50%; background: #f7f3e7; }
.footer-brand-logo img { width: 108px; height: 108px; object-fit: contain; }
.footer-info p { margin: 0; max-width: 570px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.footer-age { display: flex; align-items: flex-start; gap: 13.5px; margin-bottom: 27px; }
.footer-age img { width: 40px; height: 40px; flex-shrink: 0; }
.footer-partners { display: flex; align-items: center; gap: 27px; margin-top: 9px; padding: 16px; border-radius: 8px; background: #f7f3e7; }
.footer-partners img { height: 42px; width: auto; filter: brightness(0) saturate(100%) invert(18%) sepia(93%) saturate(3930%) hue-rotate(345deg) brightness(95%) contrast(95%); }
.footer-bottom { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.linking-footerhome { display: flex; flex-wrap: wrap; gap: 9px 18px; padding: 0; margin: 0 0 22.5px; list-style: none; }
.linking-footerhome a { color: var(--muted); }
.linking-footerhome li + li { border-left: 1px solid var(--line); padding-left: 18px; }
.footer-copyright { padding-top: 22.5px; border-top: 1px solid var(--line); }
.extra-market-section { padding: 36px 0 0; }
#timetable { padding: 36px 0 0; }
#timetable .section-heading, .extra-market-section .section-heading { margin-bottom: 36px; }
.market-links .chart { display: inline-flex; align-items: center; justify-content: center; }
.market-state { font: 600 10px/1.4 var(--font-body); color: var(--muted); text-align: right; }
.market-play { display: inline-flex; align-items: center; justify-content: center; width: 65px; height: 36px; border-radius: 999px; background: var(--accent); color: #fff; }
.market-play .ui-icon { width: 14px; height: 14px; fill: currentColor; }
.chart-empty { max-width: 900px; margin: 32px auto; padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-align: center; color: var(--muted); }

/* Existing dialogs and scroll control. */
.modal-content { border: 1px solid var(--ink); border-top: 5px solid var(--accent); border-radius: 12px; background: var(--surface); box-shadow: 0 24px 64px rgb(18 18 18 / 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 (max-width: 767px) {
    body { font-size: 15px; }
    .section-padding, .tools-use-section, .main-section { padding: 28px 0; }
    .section-heading { width: 100%; margin-bottom: 24px; padding: 0 0 14px; font-size: 28px; }
    .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(.ch) th:first-child { width: 64px; }
    .table.t-cell .j08 { font-size: 16px; }
    .cp { font-size: 10px; }
    .table.t-cell:has(.ch) 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; }

}
@media (max-width: 575px) {
    .market-grid .card-body { padding: 15.75px; }
    .market-name { font-size: 24px; }
    .market-result h3 { font-size: 18px; }
    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: 16px 5px; font-size: 24px; }
    .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: 24px; right: 12px; }
    .sticky-download { width: min(220px, calc(100vw - 130px)); }
}
@media (min-width: 1200px) {
    .header-menu .navbar-nav { height: calc(var(--header-height) - 1px); align-items: stretch; }
    .header-menu .nav-item { display: flex; align-items: center; }
    .header-menu .dropdown-menu { position: absolute; top: 100%; left: 50%; width: 360px; max-height: calc(100dvh - var(--header-height) - 18px); margin: 0; transform: translateX(-50%); grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 18px; overflow-y: auto; overscroll-behavior: contain; }
    .header-menu .dropdown-title { grid-column: 1 / -1; }
    .header-menu .dropdown-menu.show, .header-menu .dropdown:hover > .dropdown-menu, .header-menu .dropdown:focus-within > .dropdown-menu { display: grid; }
}
@media (max-width: 1199px) {
    .navbar-toggler { display: block; }
    .header-menu { position: absolute; top: var(--header-height); left: 0; width: 100%; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; padding: 18px; background: var(--surface); border-bottom: 1px solid var(--line); }
    .header-menu.collapse:not(.show) { display: none; }
    .header-menu .navbar-nav { display: block; }
    .header-menu .nav-link { display: flex; justify-content: space-between; padding: 12px 0; }
    .header-menu .dropdown-menu { position: static; width: 100%; min-width: 0; box-shadow: none; margin-bottom: 12px; }
    .header-menu .dropdown-toggle::after { display: inline-block; }
    .download-cta.menu-download { display: inline-flex; margin-top: 18px; width: 100%; }
    .market-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 1023px) {
    .hero-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
    .hero-stage { max-width: 340px; }
    .hero-image { height: 380px; }
    .hero-copy { text-align: center; padding-bottom: 0; }
    .hero-eyebrow { justify-content: center; }
    .hero-brand { font-size: clamp(50px,7vw,80px); }
    .hero-taglines { margin: 0 auto; }
    .hero-welcome, .hero-greeting > span { justify-content: center; }
    .hero-greeting { justify-items: center; }
    .hero-visual { justify-content: center; }
    .hero-download-desktop { display: none; }
    .hero-download-mobile { display: inline-flex; width: min(100%, 360px); margin: 4px auto 0; }
    .benefits-section { padding-top: 18px; }
    .benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .winners-section { margin-top: 32px; }
    #timetable, .extra-market-section { padding-top: 27px; }
    #timetable .section-heading, .extra-market-section .section-heading { margin-bottom: 27px; }
    .footer-info { grid-template-columns: minmax(0,1fr); gap: 18px; }
}
@media (max-width: 767px) {
    /* Reserve the fixed navigation; the portrait takes only the remaining space. */
    .hero-grid { height: calc(100vh - var(--mobile-nav-height, 72px)); height: calc(100svh - var(--mobile-nav-height, 72px)); grid-template-rows: auto minmax(0, 1fr) auto; gap: 10px; padding-top: calc(var(--header-height) + 16px); padding-bottom: 20px; }
    .hero-eyebrow { margin-bottom: 8px; font-size: 11px; }
    .hero-brand { margin-bottom: 8px; font-size: clamp(54px, 14vw, 72px); }
    .hero-tagline { margin-bottom: 6px; font-size: clamp(23px, 6.5vw, 32px); line-height: 1.2; }
    .hero-welcome { font-size: 12px; line-height: 1.5; }
    .hero-visual { height: 100%; min-height: 0; align-items: center; }
    .hero-stage { width: auto; height: 100%; max-height: 370px; max-width: 100%; aspect-ratio: 1122 / 1402; }
    .hero-image { width: 100%; height: 100%; min-height: 0; }
    .hero-download-mobile { margin: 0 auto; min-height: 48px; font-size: 16px; }
    .hero-download-mobile > span { min-height: 48px; }
    .benefit-grid { gap: 10px; }
    .benefit-card { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 0; padding: 14px; border-radius: 14px; }
    .benefit-icon { width: 44px; height: 48px; border-radius: 12px 12px 16px 4px; }
    .benefit-icon .ui-icon { width: 30px; height: 30px; }
    .benefit-card h5 { font-size: 16px; line-height: 1.4; }
    .benefit-card p { font-size: 11px; line-height: 1.6; }
    .market-grid { grid-template-columns: minmax(0,1fr); gap: 13.5px; }
    .footer-charts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13.5px; }
    .footer-chart-group h3 { font-size: 16px; padding: 13px 5px; }
    .footer-chart-group a { font-size: 11px; padding: 7px 3px; }
    .footer-chart-group ul { padding: 6px; }
    .footer-info p { font-size: 13px; }
    .footer-partners { justify-content: center; gap: 18px; }
    .linking-footerhome, .footer-copyright { justify-content: center; text-align: center; font-size: 13px; }
    .site-footer { padding: 48px 0 104px; }
}
@media (max-width: 639px) {
    :root { --header-height: 78px; }
    .header-nav { height: 78px; }
    .market-action > span { font-size: 11px; }
    .market-action a { height: 36px; padding: 0 13.5px; font-size: 12px; }
    .market-links { margin-top: 11.25px; padding-top: 11.25px; }
    .market-links > a { flex: 1; }
    .btn.chart { width: 100%; min-width: 0; min-height: 32px; font-size: 12px; }
    body:not(:has(.hero-banner)) { padding-top: 78px; }
    .header-menu { top: 78px; max-height: calc(100dvh - 78px); }
    .navbar-brand img { height: 64px; width: 64px; }
    .contact-strip { gap: 10px; margin-bottom: 20px; }
    .contact-cta { flex-wrap: wrap; gap: 10px; min-height: 72px; padding: 12px; border-radius: 14px; font-size: 16px; }
    .contact-cta-icon { width: 32px; height: 32px; }
    .contact-cta-icon .ui-icon { width: 17px; height: 17px; }
    .contact-cta > .ui-icon { width: 16px; height: 16px; margin-left: auto; }
    .contact-cta-label { order: 1; flex-basis: 100%; }
    .winners-section { padding-top: 24px; border-radius: 16px; }
    .winner-heading { gap: 13px; padding: 0 18px; }
    .winner-emblem { width: 48px; height: 48px; border-radius: 14px; }
    .winner-emblem .ui-icon { width: 24px; height: 24px; }
    .winner-heading h2 { font-size: 28px; }
    .winner-label { font-size: 10px; }
    .winner-window { --winner-gap: 16px; height: 202px; padding: 20px 18px 28px; }
    .winner-card { width: 224px; height: 150px; padding: 20px 18px; gap: 8px 12px; }
    .winner-rank { font-size: 21px; }
    .winner-card strong { font-size: 13px; }
    .winner-card b { font-size: 32px; }
    .winner-empty { min-height: 150px; }
    .section-heading { width: 100%; font-size: 28px; padding: 0 0 14px; }
    .section-heading .ui-icon { width: 16px; height: 16px; }
    #contents > .container { max-height: 240px; padding: 20px; }
}

@media (max-width: 1023px) {
    .rates-section { padding-top: 54px; }
}
@media (max-width: 767px) {
    .rates-section > .container > .section-heading { margin-bottom: 13.5px; }
    .rates-frame { padding: 0; border: 0; }
    .rates-table { display: table; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 13.5px; background: var(--surface); }
    .rates-table thead { display: table-header-group; background: var(--soft); }
    .rates-table tbody { display: table-row-group; }
    .rates-table tr { display: table-row; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; }
    .rates-table th, .rates-table td { padding: 11.25px 13.5px; border-bottom: 1px solid var(--line); text-align: left; }
    .rates-table tbody th { font-size: 12px; letter-spacing: 0; }
    .rates-table thead th { font-size: 11px; line-height: 1.7; }
    .rates-table td, .rates-table thead th:last-child { width: 152px; }
    .rates-table tr:last-child th, .rates-table tr:last-child td { border-bottom: 0; }
    .rates-table thead th { border-bottom: 1px solid var(--line); }
    .rate-icon { display: none; }
    .rate-value { width: 100%; margin: 0; padding: 6.75px 9px; font-size: 13px; font-weight: 700; border-radius: 6.75px; }
    .rate-value .ui-icon { width: 12px; height: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-orbit { animation: none; }
    .winner-track { animation: none; }
    .winner-window { overflow-x: auto; mask-image: none; }
    .winner-group[aria-hidden="true"] { display: none; }
    html { font-size: 18px; scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0s; animation-duration: 0s; }
}

/* Editorial content */
.content-page { padding: 54px 0 80px; background: var(--page); }
.content-hero { max-width: 900px; margin: 0 auto 36px; padding-bottom: 24px; border-bottom: 2px solid var(--ink); }
.content-kicker, .blog-card-label { margin: 0 0 8px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.content-hero h1 { margin-bottom: 14px; }
.article-shell { max-width: 900px; margin: 0 auto; padding: clamp(24px, 5vw, 58px); border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: 10px; background: var(--surface); }
.article-shell h1 { margin: 0 0 24px; font-size: clamp(30px, 5vw, 48px); line-height: 1.12; }
.article-shell h2 { margin: 38px 0 14px; font-size: clamp(23px, 3.5vw, 32px); line-height: 1.25; }
.article-shell h3 { margin: 28px 0 10px; font-size: clamp(19px, 2.7vw, 24px); line-height: 1.3; }
.article-shell h4 { margin: 22px 0 8px; font-size: 18px; }
.article-shell p, .article-shell li { color: var(--ink); font-size: 17px; line-height: 1.78; }
.article-shell p { margin: 0 0 18px; }
.article-shell ul, .article-shell ol { margin: 0 0 22px; padding-left: 24px; }
.article-shell a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.content-breadcrumb { display: flex; align-items: center; gap: 9px; max-width: 900px; margin: 0 auto 18px; overflow: hidden; color: var(--muted); font-size: 13px; white-space: nowrap; }
.content-breadcrumb span[aria-current] { overflow: hidden; text-overflow: ellipsis; }
.content-table-wrap { max-width: 100%; margin: 24px 0 30px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.content-table-wrap table { width: 100%; min-width: 560px; margin: 0; border-collapse: collapse; }
.content-table-wrap th, .content-table-wrap td { padding: 13px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.content-table-wrap th { background: var(--soft); font-weight: 800; }
.content-table-wrap tr:last-child td, .content-table-wrap thead:last-child th { border-bottom: 0; }
.faq-accordion { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; font-size: 17px; font-weight: 800; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex: 0 0 auto; font-size: 24px; line-height: 1; }
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 20px 18px; }
.faq-answer p:last-child { margin-bottom: 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.blog-card { min-width: 0; border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: 8px; background: var(--surface); transition: transform .2s ease, border-color .2s ease; }
.blog-card:hover { transform: translateY(-4px); border-top-color: var(--accent); }
.blog-card-body { display: flex; min-height: 100%; flex-direction: column; padding: 24px; }
.blog-card h2, .blog-card h3 { margin: 0 0 14px; font-size: 29px; line-height: 1.2; }
.blog-card h2 a, .blog-card h3 a { color: inherit; }
.blog-card p:not(.blog-card-label) { margin-bottom: 22px; color: var(--muted); line-height: 1.65; }
.blog-read-more { margin-top: auto; color: var(--accent); font-weight: 800; }
.related-blogs { margin: 58px auto 0; }
.related-blogs > h2 { margin-bottom: 22px; text-align: center; }
.related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.related-grid .blog-card-body { padding: 20px; }
.related-grid .blog-card h3 { font-size: 18px; }
.not-found-page { min-height: 62vh; display: grid; place-items: center; padding: 60px 0; text-align: center; }
.not-found-card { max-width: 660px; padding: clamp(30px, 7vw, 70px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.not-found-code { margin: 0; color: var(--accent); font: italic 800 clamp(100px, 16vw, 160px)/.9 var(--display); }
.not-found-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
@media (max-width: 991px) { .blog-grid, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .content-page { padding: 35px 0 60px; } .article-shell { padding: 24px 18px; border-radius: 16px; } .article-shell p, .article-shell li { font-size: 16px; line-height: 1.7; } .blog-grid, .related-grid { grid-template-columns: minmax(0, 1fr); } .content-breadcrumb { align-items: flex-start; white-space: normal; } }
