.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.hero { position: relative; background: radial-gradient(ellipse at top right, rgba(31,207,201,0.08) 0%, transparent 50%), radial-gradient(ellipse at bottom left, rgba(229,168,58,0.06) 0%, transparent 50%), linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%); color: var(--text-on-navy, var(--border-soft)); padding: 48px 0 64px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.04) 1px, transparent 1px), radial-gradient(circle at 70% 60%, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 100px 100px, 80px 80px; pointer-events: none; }
.hero-content { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text-muted); margin-bottom: 24px; background: none; padding: 0; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal-bright, var(--teal-light)); }
.breadcrumb-sep { opacity: 0.5; }
.hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; line-height: 1.25; margin-bottom: 16px; color: var(--bg-card, #fff); }
.hero-subtitle { font-size: clamp(15px, 1.5vw, 18px); color: var(--text-muted); max-width: 720px; margin-bottom: 36px; }

.live-status-card { background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 32px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.live-status-card::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 4px; background: var(--teal-bright, var(--teal-light)); box-shadow: 0 0 20px var(--teal-bright, var(--teal-light)); }
.live-status-card.is-closed::before { background: var(--gold-light); box-shadow: 0 0 20px var(--gold-light); }
.live-status-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.live-dot { width: 8px; height: 8px; background: var(--teal-bright, var(--teal-light)); border-radius: 50%; animation: pulse 2s infinite; }
.is-closed .live-dot { background: var(--gold-light); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,207,201,0.7); } 70% { box-shadow: 0 0 0 12px rgba(31,207,201,0); } 100% { box-shadow: 0 0 0 0 rgba(31,207,201,0); } }
.live-status-headline { font-size: clamp(22px, 3vw, 32px); font-weight: 800; color: var(--bg-card, #fff); margin-bottom: 8px; line-height: 1.2; }
.live-status-detail { font-size: clamp(14px, 1.4vw, 16px); color: var(--text-muted); }
.live-status-detail strong { color: var(--teal-bright, var(--teal-light)); font-weight: 800; font-size: 1.1em; }
.is-closed .live-status-detail strong { color: var(--gold-light); }
.local-clock { text-align: end; padding-inline-start: 32px; border-inline-start: 1px solid rgba(255,255,255,0.1); }
.local-clock-time { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--bg-card, #fff); font-feature-settings: "tnum"; line-height: 1; margin-bottom: 6px; }
.local-clock-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
@media (max-width: 768px) { .live-status-card { grid-template-columns: 1fr; gap: 20px; padding: 24px; } .local-clock { padding-inline-start: 0; padding-top: 20px; border-inline-start: none; border-top: 1px solid rgba(255,255,255,0.1); } }

.tz-selector { margin-top: 24px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tz-label { font-size: 13px; color: var(--text-muted); font-weight: 700; }
.tz-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.tz-pill { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); color: var(--text-on-navy, var(--border-soft)); padding: 10px 18px; border-radius: 999px; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.15s; min-height: 44px; display: inline-flex; align-items: center; }
.tz-pill:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 2px; }
.tz-pill:hover { background: rgba(31,207,201,0.12); border-color: rgba(31,207,201,0.35); color: var(--teal-bright, var(--teal-light)); }
.tz-pill.is-active { background: var(--teal); border-color: var(--teal-light); color: var(--bg-card, #fff); box-shadow: 0 0 24px rgba(31,207,201,0.35); }

.quick-answer-section { margin-top: -32px; position: relative; z-index: 2; margin-bottom: 64px; }
.quick-answer { background: var(--bg-card, #fff); border: 1px solid var(--border); border-inline-start: 4px solid var(--gold); border-radius: 16px; padding: 28px 32px; box-shadow: 0 12px 32px rgba(11,31,58,0.12); }
.quick-answer-label { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; color: var(--gold); text-transform: uppercase; margin-bottom: 12px; background: var(--gold-soft, #FFF4E0); padding: 4px 10px; border-radius: 999px; }
.quick-answer h2 { font-size: clamp(18px, 2vw, 22px); font-weight: 800; color: var(--text); margin-bottom: 12px; }
.quick-answer p { font-size: clamp(15px, 1.5vw, 17px); color: var(--text-mid); line-height: 1.85; }
.quick-answer p strong { color: var(--navy); font-weight: 800; background: var(--gold-soft, #FFF4E0); padding: 2px 6px; border-radius: 4px; }

section { margin-bottom: 72px; }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-title { font-size: clamp(22px, 2.5vw, 28px); font-weight: 800; color: var(--navy); position: relative; padding-inline-start: 16px; }
.section-title::before { content: ""; position: absolute; inset-inline-start: 0; top: 6px; bottom: 6px; width: 4px; background: var(--teal); border-radius: 2px; }
.section-subtitle { font-size: 14px; color: var(--text-muted); margin-top: 8px; }

.timeline-card { background: var(--navy); background-image: radial-gradient(ellipse at 30% 20%, rgba(31,207,201,0.06) 0%, transparent 60%), radial-gradient(ellipse at 80% 80%, rgba(229,168,58,0.05) 0%, transparent 60%); color: var(--text-on-navy, var(--border-soft)); border-radius: 16px; padding: 32px; box-shadow: 0 12px 32px rgba(11,31,58,0.12); overflow: hidden; }
.timeline-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.timeline-title { font-size: 18px; font-weight: 800; color: var(--bg-card, #fff); }
.timeline-current-time { font-size: 13px; color: var(--text-muted); }
.timeline-current-time strong { color: var(--teal-bright, var(--teal-light)); font-feature-settings: "tnum"; }
.sessions-grid { display: grid; grid-template-columns: 110px 1fr; gap: 16px 20px; align-items: center; }
.session-name { font-size: 14px; font-weight: 700; color: var(--text-on-navy, var(--border-soft)); display: flex; align-items: center; gap: 8px; }
.session-status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); flex-shrink: 0; }
.session-name.is-open .session-status-dot { background: var(--teal-bright, var(--teal-light)); box-shadow: 0 0 8px var(--teal-bright, var(--teal-light)); }
.session-bar-track { position: relative; height: 32px; background: rgba(255,255,255,0.04); border-radius: 10px; border: 1px solid rgba(27,44,71,1); overflow: hidden; }
.session-bar-fill { position: absolute; top: 4px; bottom: 4px; background: linear-gradient(90deg, rgba(14,124,123,0.5), rgba(31,207,201,0.7)); border-radius: 6px; border: 1px solid rgba(31,207,201,0.4); }
.session-bar-fill.is-active { background: linear-gradient(90deg, var(--teal), var(--teal-light)); border-color: var(--teal-bright, var(--teal-light)); box-shadow: 0 0 12px rgba(31,207,201,0.4); }
.session-bar-overlap { position: absolute; top: 4px; bottom: 4px; background: linear-gradient(90deg, rgba(229,168,58,0.4), rgba(229,168,58,0.6)); border: 1px dashed rgba(229,168,58,0.7); border-radius: 4px; z-index: 2; }
.timeline-now-line { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--gold-light); box-shadow: 0 0 8px var(--gold-light); z-index: 5; }
.timeline-now-line::before { content: ""; position: absolute; top: -4px; left: -4px; width: 10px; height: 10px; background: var(--gold-light); border-radius: 50%; box-shadow: 0 0 8px var(--gold-light); }
.timeline-hours-axis { display: grid; grid-template-columns: 110px 1fr; gap: 20px; margin-top: 16px; font-size: 11px; color: var(--text-muted); font-feature-settings: "tnum"; }
.hours-axis-labels { display: flex; justify-content: space-between; padding: 0 4px; }
.timeline-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(27,44,71,1); font-size: 12px; color: var(--text-muted); }
.legend-item { display: flex; align-items: center; gap: 6px; }
.legend-swatch { width: 14px; height: 14px; border-radius: 3px; background: var(--teal-light); }
.legend-swatch.overlap { background: rgba(229,168,58,0.5); border: 1px dashed rgba(229,168,58,0.9); }
.legend-swatch.now { background: var(--gold-light); width: 2px; }
@media (max-width: 640px) { .sessions-grid { grid-template-columns: 80px 1fr; gap: 12px; } .session-name { font-size: 12px; } .timeline-hours-axis { grid-template-columns: 80px 1fr; gap: 12px; } }

.markets-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn { background: var(--bg-card, #fff); border: 1px solid var(--border); color: var(--text-mid); padding: 12px 20px; border-radius: 999px; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.15s; min-height: 44px; display: inline-flex; align-items: center; }
.filter-btn:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 2px; }
.filter-btn:hover { background: var(--teal-bg); color: var(--teal); border-color: var(--teal-light); }
.filter-btn.is-active { background: var(--navy); color: var(--bg-card, #fff); border-color: var(--navy); }
.markets-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.market-card { background: var(--bg-card, #fff); border: 1px solid var(--border); border-radius: 16px; padding: 24px; position: relative; transition: all 0.2s; overflow: hidden; }
.market-card::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 3px; background: var(--text-muted); transition: background 0.2s; }
.market-card.is-open::before { background: var(--teal); box-shadow: 0 0 16px rgba(14,124,123,0.4); }
.market-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(11,31,58,0.12); border-color: var(--border-strong, #B8C6DA); }
.market-card-header { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.market-flag-and-name { display: flex; align-items: center; gap: 12px; }
.market-flag { width: 44px; height: 44px; background: var(--navy); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--gold-light); font-weight: 800; font-size: 11px; letter-spacing: 0.05em; flex-shrink: 0; }
.market-name { font-size: 16px; font-weight: 800; color: var(--navy); line-height: 1.3; margin-bottom: 2px; }
.market-code { font-size: 12px; color: var(--text-muted); font-weight: 700; letter-spacing: 0.05em; }
.market-status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; flex-shrink: 0; }
.market-status-badge.is-open { background: var(--teal-bg, var(--green-bg)); color: var(--teal, var(--green)); }
.market-status-badge.is-closed { background: var(--bg-muted); color: var(--text-muted); }
.market-status-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.market-status-badge.is-open .dot { animation: pulse-small 2s infinite; }
@keyframes pulse-small { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.market-times { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; background: var(--bg); border-radius: 10px; margin-bottom: 16px; }
.time-block-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; margin-bottom: 4px; }
.time-block-value { font-size: 16px; font-weight: 800; color: var(--navy); font-feature-settings: "tnum"; }
.market-countdown { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--text-mid); }
.market-countdown strong { color: var(--teal); font-weight: 800; font-feature-settings: "tnum"; }
.market-card.is-closed .market-countdown strong { color: var(--gold); }
.market-local-time { font-size: 11px; color: var(--text-muted); font-feature-settings: "tnum"; }

.holidays-card { background: var(--bg-card, #fff); border: 1px solid var(--border); border-radius: 16px; padding: 28px; box-shadow: 0 4px 12px rgba(11,31,58,0.08); }
.holidays-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.holiday-item { display: flex; gap: 16px; padding: 16px; background: var(--bg); border-radius: 10px; border-inline-start: 3px solid var(--gold); }
.holiday-date { font-size: 24px; font-weight: 800; color: var(--navy); line-height: 1; font-feature-settings: "tnum"; }
.holiday-month { font-size: 11px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }
.holiday-info { flex: 1; }
.holiday-name { font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 2px; }
.holiday-affected { font-size: 12px; color: var(--text-muted); }

.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 920px; }
.faq-item { background: var(--bg-card, #fff); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; transition: border-color 0.15s; }
.faq-item:hover { border-color: var(--border-strong, #B8C6DA); }
.faq-item[open] { border-color: var(--teal-light); box-shadow: 0 4px 12px rgba(11,31,58,0.08); }
.faq-question { font-size: 16px; font-weight: 700; color: var(--navy); padding: 18px 24px; cursor: pointer; display: flex; align-items: center; gap: 12px; list-style: none; user-select: none; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; content: ''; font-size: 0; }
.faq-item > summary { list-style-type: none; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-question::before { content: "+"; width: 28px; height: 28px; background: var(--teal-bg); color: var(--teal); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; flex-shrink: 0; transition: all 0.2s; }
.faq-item[open] .faq-question::before { content: "−"; background: var(--teal); color: var(--bg-card, #fff); }
.faq-answer { padding: 0 24px 20px 64px; color: var(--text-mid); font-size: 15px; line-height: 1.8; }

.related-tools { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid, #16335A) 100%); color: var(--text-on-navy, var(--border-soft)); padding: 48px 0; border-radius: 16px; margin: 64px 0; }
.related-tools h2 { color: var(--bg-card, #fff); text-align: center; margin-bottom: 32px; font-size: 26px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; max-width: 980px; margin: 0 auto; padding: 0 24px; }
.related-tool { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 20px; text-decoration: none; color: var(--text-on-navy, var(--border-soft)); transition: all 0.2s; display: block; }
.related-tool:hover { background: rgba(31,207,201,0.08); border-color: var(--teal-light); transform: translateY(-2px); }
.related-tool-icon { font-size: 24px; color: var(--gold-light); margin-bottom: 8px; display: block; }
.related-tool-title { font-weight: 800; color: var(--bg-card, #fff); margin-bottom: 4px; }
.related-tool-desc { font-size: 13px; color: var(--text-muted); }

/* market-hours partial — status badges use --success/--danger tokens. */
.mh-row-cell { display: flex; align-items: center; gap: 10px; }
.mh-flag-img { border-radius: 4px; }
.mh-market-name { font-weight: 500; }
.mh-time-cell { text-align: right; font-weight: 500; }
.mh-status { padding: 4px 8px; border-radius: 4px; font-size: 12px; font-weight: bold; display: inline-block; }
.mh-status--open { background: color-mix(in oklch, var(--success) 10%, transparent); color: var(--success); }
.mh-status--closed { background: color-mix(in oklch, var(--danger) 10%, transparent); color: var(--danger); }
