/* ── Forex Market Hours Today — visual redesign ── */
/* Scoped to .today-page; keeps live IDs / JS bindings intact. */

.today-page {
  --today-ink: #f5f7fc;
  --today-muted: rgba(210, 220, 245, 0.72);
  --today-glass: rgba(16, 22, 36, 0.58);
  --today-line: rgba(180, 195, 235, 0.14);
  --today-gold: var(--gold, #c9a54e);
}

/* Cinematic hero plane */
.today-page .today-hero-section {
  padding: 20px 0 40px;
  min-height: min(78vh, 820px);
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(56, 189, 248, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 40% at 85% 20%, rgba(201, 165, 78, 0.1), transparent 50%),
    #0a101c;
}

.today-page .today-hero-mosaic {
  gap: 2px;
  grid-auto-rows: 1fr;
}

.today-page .today-hero-tile {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 100%;
}

.today-page .today-hero-tile img {
  transform: scale(1.04);
  filter: saturate(0.62) contrast(1.06) brightness(0.42);
  transition: transform 8s ease, filter .6s ease;
  animation: todayTileDrift 22s ease-in-out infinite alternate;
}

.today-page .today-hero-tile[data-city="tokyo"] img { animation-delay: -6s; }
.today-page .today-hero-tile[data-city="london"] img { animation-delay: -12s; }
.today-page .today-hero-tile[data-city="newyork"] img { animation-delay: -18s; }

@keyframes todayTileDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

.today-page .today-hero-city {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  font-family: "Outfit", var(--ff);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
  opacity: .85;
}

.today-page .today-hero-tile[data-city="sydney"] .today-hero-city { color: #7dd3fc; }
.today-page .today-hero-tile[data-city="tokyo"] .today-hero-city { color: #f9a8d4; }
.today-page .today-hero-tile[data-city="london"] .today-hero-city { color: #fcd34d; }
.today-page .today-hero-tile[data-city="newyork"] .today-hero-city { color: #6ee7b7; }

.today-page .today-hero-visual::after {
  background:
    linear-gradient(180deg, rgba(8, 12, 20, 0.72) 0%, rgba(10, 16, 28, 0.42) 24%, rgba(10, 16, 28, 0.88) 72%, rgba(10, 16, 28, 0.98) 100%),
    linear-gradient(90deg, rgba(10, 16, 28, 0.55) 0%, transparent 28%, transparent 72%, rgba(10, 16, 28, 0.55) 100%);
}

.today-page .today-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(62vh, 680px);
  padding-top: 12px;
}

.today-page .today-hero-section .breadcrumb {
  margin-bottom: 14px;
  font-size: .78rem;
}

/* Brand as hero signal */
.today-page .today-brand {
  margin: 0 0 6px;
  font-family: "Outfit", var(--ff);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.today-page .today-brand::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--today-gold), transparent);
}

.today-page .status-kicker {
  margin-top: 10px;
  color: rgba(210, 220, 245, 0.62);
}

.today-page .today-page-title {
  margin: 0 0 16px;
  font-size: clamp(1.85rem, 4.4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.05;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

/* Glass panel — lighter, less dashboard */
.today-page.status-page .status-live-card {
  padding: 22px 20px 18px;
  border-radius: 22px;
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(ellipse 55% 40% at 50% -10%, var(--status-glow), transparent 60%),
    linear-gradient(180deg, rgba(28, 36, 54, 0.72), rgba(14, 20, 34, 0.82));
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.today-page .today-hero-stack {
  gap: 14px;
  max-width: 28rem;
}

.today-page .answer-hero--status .answer-status-row {
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--status-accent-border), 0 10px 28px color-mix(in srgb, var(--status-accent) 12%, transparent);
}

.today-page .today-live-line {
  font-family: "Outfit", var(--ff);
  font-size: clamp(1.15rem, 2.8vw, 1.5rem);
  letter-spacing: -.025em;
}

.today-page .answer-hero--status .answer-state {
  font-weight: 800;
  font-size: 1.05em;
}

.today-page .today-clock--hero {
  padding: 16px 24px 14px;
  max-width: 24rem;
  border-radius: 18px;
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 60%),
    rgba(8, 12, 22, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.today-page .today-clock-time {
  font-size: clamp(2.6rem, 8vw, 3.55rem);
  font-weight: 700;
  letter-spacing: -.05em;
  background: linear-gradient(180deg, #fff 30%, rgba(230, 236, 255, 0.82));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.08));
}

.today-page .today-page-lede {
  margin-top: 14px;
  max-width: min(34rem, 100%);
  padding-inline: 4px;
  color: var(--today-muted);
  overflow-wrap: break-word;
}

/* Keep the yes/no link as one unit — don't orphan "Is" on the previous line */
.today-page .today-page-lede a {
  white-space: nowrap;
}

.today-page .answer-hero--status .answer-sub {
  margin-top: 12px;
  max-width: min(42rem, 100%);
  padding-inline: 10px;
  box-sizing: border-box;
  font-size: .88rem;
  color: rgba(210, 220, 245, 0.7);
  overflow-wrap: anywhere;
}

.today-page .status-live-card .ssr-session-summary,
.today-page .ssr-session-summary {
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
}

/* Meta strip */
.today-page .status-schedule {
  margin-top: 16px;
  gap: 10px;
}

.today-page .status-schedule-item {
  padding: 12px 13px;
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(8, 12, 22, 0.45);
  transition: border-color .2s ease, transform .2s ease;
}

.today-page .status-schedule-item:hover {
  border-color: rgba(201, 165, 78, 0.28);
  transform: translateY(-1px);
}

.today-page .status-sessions-head {
  margin-top: 20px;
  padding-top: 16px;
}

.today-page .status-sessions-title {
  font-family: "Outfit", var(--ff);
  font-size: 1.05rem;
  letter-spacing: -.02em;
}

/* Session clocks stagger in */
.today-page .live-session-grid--clocks > .live-session-pill {
  animation: todayPillIn .55s ease both;
}

.today-page .live-session-grid--clocks > .live-session-pill:nth-child(1) { animation-delay: .05s; }
.today-page .live-session-grid--clocks > .live-session-pill:nth-child(2) { animation-delay: .12s; }
.today-page .live-session-grid--clocks > .live-session-pill:nth-child(3) { animation-delay: .19s; }
.today-page .live-session-grid--clocks > .live-session-pill:nth-child(4) { animation-delay: .26s; }

@keyframes todayPillIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}

.today-page .session-clock-card.live-session-pill {
  border-radius: 16px;
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 50%),
    rgba(10, 14, 24, 0.55);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.today-page .session-clock-card.live-session-pill:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--sc, var(--gold)) 45%, rgba(255, 255, 255, 0.12));
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.today-page .session-clock-card.session-pill--open {
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--sc, var(--green)) 35%, transparent),
    0 12px 28px color-mix(in srgb, var(--sc, var(--green)) 12%, transparent);
}

/* Jump chips */
.today-page .today-jump--glass {
  margin-top: 18px;
  padding: 12px 4px 2px;
  border-top-color: rgba(255, 255, 255, 0.08);
}

.today-page .today-jump--glass a {
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(8, 12, 22, 0.5);
  backdrop-filter: blur(8px);
  font-size: .8rem;
  letter-spacing: .02em;
}

.today-page .today-jump--glass a:hover,
.today-page .today-jump--glass a:focus-visible {
  color: #fff;
  border-color: rgba(201, 165, 78, 0.45);
  background: rgba(201, 165, 78, 0.14);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Below-fold sections */
.today-page main > .section:not(.status-live-section) {
  padding-top: 48px;
  padding-bottom: 56px;
}

.today-page main > .section:not(.status-live-section) > .container > h2 {
  font-family: "Outfit", var(--ff);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  letter-spacing: -.03em;
  font-weight: 800;
}

.today-page main > .section:not(.status-live-section) > .container > .section-desc {
  max-width: 38rem;
  color: var(--t2);
}

/* Quick answer glow */
.today-page .today-snippet-section {
  padding-top: 36px !important;
}

.today-page .today-snippet--glow {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(201, 165, 78, 0.22);
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(201, 165, 78, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(42, 51, 73, 0.9), rgba(30, 38, 56, 0.95));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.today-page .today-snippet--glow::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--today-gold), transparent);
}

.today-page .today-snippet--glow .snippet-stats {
  gap: 10px;
}

.today-page .today-snippet--glow .snippet-stats li {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 12, 22, 0.35);
  padding: 12px 10px;
}

/* Schedule table + overlap */
.today-page .today-hours-section .local-hours-grid {
  gap: 18px;
}

.today-page .today-table-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--today-line);
  background: rgba(34, 42, 61, 0.55);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.today-page .today-table-scroll .local-hours-table {
  border-collapse: separate;
  border-spacing: 0;
}

.today-page .today-table-scroll .local-hours-table tbody tr[data-session] th,
.today-page .today-table-scroll .local-hours-table tbody tr[data-session] td {
  border-bottom: 1px solid rgba(170, 185, 230, 0.08);
  transition: background .2s ease;
}

.today-page .today-table-scroll .local-hours-table tbody tr[data-session]:hover th,
.today-page .today-table-scroll .local-hours-table tbody tr[data-session]:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.today-page .today-table-scroll .local-hours-table tbody tr[data-session="sydney"] th:first-child {
  box-shadow: inset 3px 0 0 var(--sydney);
}
.today-page .today-table-scroll .local-hours-table tbody tr[data-session="tokyo"] th:first-child {
  box-shadow: inset 3px 0 0 var(--tokyo);
}
.today-page .today-table-scroll .local-hours-table tbody tr[data-session="london"] th:first-child {
  box-shadow: inset 3px 0 0 var(--london);
}
.today-page .today-table-scroll .local-hours-table tbody tr[data-session="newyork"] th:first-child {
  box-shadow: inset 3px 0 0 var(--newyork);
}

html[dir="rtl"] .today-page .today-table-scroll .local-hours-table tbody tr[data-session="sydney"] th:first-child {
  box-shadow: inset -3px 0 0 var(--sydney);
}
html[dir="rtl"] .today-page .today-table-scroll .local-hours-table tbody tr[data-session="tokyo"] th:first-child {
  box-shadow: inset -3px 0 0 var(--tokyo);
}
html[dir="rtl"] .today-page .today-table-scroll .local-hours-table tbody tr[data-session="london"] th:first-child {
  box-shadow: inset -3px 0 0 var(--london);
}
html[dir="rtl"] .today-page .today-table-scroll .local-hours-table tbody tr[data-session="newyork"] th:first-child {
  box-shadow: inset -3px 0 0 var(--newyork);
}

.today-page .today-vol {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: .82rem;
  font-weight: 600;
  color: var(--t2);
}

.today-page .today-vol-meter {
  --vol-fill: var(--sydney);
  --vol-pct: 25%;
  display: inline-block;
  width: 36px;
  height: 6px;
  border-radius: 999px;
  background: rgba(170, 185, 230, 0.16);
  overflow: hidden;
  vertical-align: middle;
}

.today-page .today-vol-meter::before {
  content: "";
  display: block;
  height: 100%;
  width: var(--vol-pct);
  border-radius: inherit;
  background: var(--vol-fill);
}

.today-page .today-vol-meter[data-level="low"] {
  --vol-fill: var(--sydney);
  --vol-pct: 28%;
}

.today-page .today-vol-meter[data-level="medium"] {
  --vol-fill: var(--tokyo);
  --vol-pct: 52%;
}

.today-page .today-vol-meter[data-level="high"] {
  --vol-fill: var(--london);
  --vol-pct: 76%;
}

.today-page .today-vol-meter[data-level="highest"] {
  --vol-fill: var(--newyork);
  --vol-pct: 100%;
}

.today-page .today-peak-window {
  position: relative;
  overflow: hidden;
  padding: 16px 16px 14px;
  border-radius: 16px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  background:
    linear-gradient(135deg, rgba(251, 191, 36, 0.14), rgba(52, 211, 153, 0.1)),
    rgba(18, 24, 38, 0.7);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.today-page .today-peak-window::before {
  content: "";
  position: absolute;
  inset: -40% auto auto 40%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.22), transparent 70%);
  pointer-events: none;
  animation: todayPeakGlow 5s ease-in-out infinite;
}

@keyframes todayPeakGlow {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.today-page .today-peak-window .best-window-time {
  position: relative;
  font-family: "Outfit", var(--mono), monospace;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
}

.today-page .today-peak-window .best-window-tag {
  position: relative;
  margin-top: 4px;
  color: rgba(252, 211, 77, 0.92);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .68rem;
}

/* Timeline */
.today-page .timeline-section .timeline-wrapper {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--today-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%),
    rgba(22, 28, 42, 0.65);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.today-page .timeline-legend {
  margin-top: 14px;
  gap: 12px 16px;
}

/* Pair windows */
.today-page .today-pair-list {
  border-radius: 18px;
  border-color: var(--today-line);
  background: rgba(28, 36, 52, 0.55);
  overflow: hidden;
}

.today-page .today-pair-row {
  position: relative;
  padding: 18px 20px 18px 22px;
  border-bottom-color: rgba(170, 185, 230, 0.1);
  transition: background .2s ease;
}

.today-page .today-pair-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 999px;
  background: rgba(170, 185, 230, 0.2);
}

.today-page .today-pair-row:nth-child(1)::before {
  background: linear-gradient(180deg, var(--london), var(--newyork));
}
.today-page .today-pair-row:nth-child(2)::before { background: var(--tokyo); }
.today-page .today-pair-row:nth-child(3)::before {
  background: linear-gradient(180deg, var(--sydney), var(--tokyo));
}
.today-page .today-pair-row:nth-child(4)::before { background: var(--today-gold); }

html[dir="rtl"] .today-page .today-pair-row {
  padding-left: 20px;
  padding-right: 22px;
}
html[dir="rtl"] .today-page .today-pair-row::before {
  left: auto;
  right: 0;
}

.today-page .today-pair-row:hover {
  background: rgba(255, 255, 255, 0.025);
}

.today-page .today-pair-row h3 {
  font-family: "Outfit", var(--ff);
  font-size: 1.02rem;
}

.today-page .today-pair-time {
  display: inline-block;
  margin-inline-end: 2px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(201, 165, 78, 0.28);
  background: rgba(201, 165, 78, 0.1);
  color: var(--gold-light, #e2c878);
  font-family: var(--mono);
  font-size: .82em;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.today-page .today-tip {
  border-radius: 14px;
  border-color: rgba(201, 165, 78, 0.22);
  background: rgba(201, 165, 78, 0.06);
}

/* Country chips + related */
.today-page .status-geo-link {
  border-radius: 12px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.today-page .status-geo-link:hover {
  transform: translateY(-2px);
}

.today-page .related-card {
  border-radius: 16px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.today-page .related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

/* FAQ polish */
.today-page .faq-item {
  border-radius: 14px;
  overflow: hidden;
}

/* Mobile */
@media (max-width: 720px) {
  .today-page .today-hero-section {
    min-height: 0;
    padding: 16px 0 28px;
  }

  .today-page .today-hero-content {
    min-height: 0;
    justify-content: flex-start;
  }

  .today-page .today-hero-city {
    left: 8px;
    bottom: 8px;
    font-size: .58rem;
    letter-spacing: .12em;
  }

  .today-page .today-brand {
    font-size: 1rem;
  }

  .today-page .today-page-title {
    font-size: clamp(1.55rem, 7.5vw, 2rem);
  }

  .today-page.status-page .status-live-card {
    padding: 16px 12px 14px;
    border-radius: 18px;
  }

  .today-page .today-clock-time {
    font-size: clamp(2.25rem, 12vw, 2.9rem);
  }

  .today-page .today-pair-row {
    padding: 15px 14px 15px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .today-page .today-hero-tile img,
  .today-page .live-session-grid--clocks > .live-session-pill,
  .today-page .today-peak-window::before,
  .today-page .session-clock-card.live-session-pill {
    animation: none !important;
    transition: none;
  }
}
