:root {
  --maroon-500: #8B1538;
  --maroon-600: #6E122C;
  --maroon-700: #5A0F24;
  --maroon-900: #4A0A1C;
  --maroon-950: #2C0611;
  --navy: var(--maroon-500);
  --navy2: var(--maroon-600);
  --blush-50: #FFFBFC;
  --blush-100: #FFF5F7;
  --blush-200: #FFE8EE;
  --blush-300: #FFD6E1;
  --ink: #14080C;
  --ink-60: #5C4A50;
  --ink-40: #8A757C;
  --white: #FFFFFF;
  --gold: #FFB020;
  --soft: #FFE8EE;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(720px circle at 0% 0%, rgba(230, 240, 255, 0.9), transparent 40%),
    radial-gradient(540px circle at 100% 10%, rgba(201, 162, 39, 0.12), transparent 28%),
    #ffffff;
  color: var(--navy);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Poppins", sans-serif;
}

a {
  color: inherit;
}

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

.nav-scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(10, 25, 47, 0.07);
}

.scroll-top-button {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 55;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.55rem;
  background: #1a2760;
  color: #fff;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 18px 34px -18px rgba(10, 25, 47, 0.72);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.scroll-top-button:hover {
  background: #23357d;
}

.hero-shape {
  position: absolute;
  border-radius: 30% 70% 30% / 30% 30% 70% 70%;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  opacity: 0.06;
  animation: float 14s ease-in-out infinite;
  pointer-events: none;
}

.live-hero-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.96) 100%);
  box-shadow:
    0 32px 72px -42px rgba(10, 25, 47, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.live-hero-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 118px;
  background:
    radial-gradient(300px circle at 0% 0%, rgba(230, 240, 255, 0.92), transparent 58%);
  pointer-events: none;
}

#pageBadge,
.hero-meta-live,
.quick-market-pill {
  position: relative;
  z-index: 1;
}

#pageBadge {
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 12px 26px -20px rgba(10, 25, 47, 0.32);
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
}

.hero-meta-stamp {
  color: #475569;
}

.hero-meta-separator {
  color: #cbd5e1;
}

.hero-meta-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(30, 42, 94, 0.12);
  background: rgba(230, 240, 255, 0.9);
  padding: 0.4rem 0.72rem;
  color: var(--navy2);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-meta-live::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--navy2);
  box-shadow: 0 0 0 5px rgba(30, 42, 94, 0.08);
}

.quick-market-row {
  overflow-x: auto;
  flex-wrap: nowrap !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 28px), transparent 100%);
}

.quick-market-row::-webkit-scrollbar {
  display: none;
}

.quick-market-pill {
  flex: 0 0 auto;
  white-space: nowrap;
  border-color: #d7e0ea;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 26px -22px rgba(10, 25, 47, 0.34);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.quick-market-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(30, 42, 94, 0.22);
  box-shadow: 0 16px 28px -22px rgba(10, 25, 47, 0.42);
}

.live-board-toolbar {
  display: grid;
  gap: 1.05rem;
  scroll-margin-top: 6.5rem;
}

.board-intro {
  max-width: 100%;
}

.board-actions-shell {
  position: sticky;
  top: var(--board-actions-top, 4.75rem);
  z-index: 44;
  width: 100%;
  margin-top: 1rem;
}

.board-actions {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 22px 42px -34px rgba(10, 25, 47, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  padding: 0.8rem;
}

.filter-scroller {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.1rem;
}

.filter-scroller::-webkit-scrollbar {
  display: none;
}

.filter-scroller button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.search-row {
  flex: 0 0 320px;
  max-width: 320px;
  min-width: 0;
}

#boardSearchInput {
  background: rgba(248, 250, 252, 0.92);
}

@media (min-width: 768px) {
  .board-actions {
    flex-wrap: nowrap;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(18px, -22px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: none;
}

.board-empty {
  padding: 28px;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  background: #fff;
  color: #64748b;
  text-align: center;
}

.glass {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(219, 229, 241, 0.9);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 26px 70px -42px rgba(10, 25, 47, 0.38);
}

.shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(360px circle at 0% 0%, rgba(230, 240, 255, 0.92), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 251, 255, 0.92));
  pointer-events: none;
}

.card-glow::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.65;
  pointer-events: none;
}

.result-shine {
  position: relative;
  overflow: hidden;
}

.result-value {
  white-space: nowrap;
  letter-spacing: 0.05em;
  font-size: clamp(1.55rem, 2vw, 2.35rem);
}

.market-title-block {
  min-height: 4.9rem;
}

.market-result-box {
  border: 1px solid #d7e3f3;
  border-radius: 1.35rem;
  padding: 1.15rem 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.market-result-box--history {
  background: linear-gradient(180deg, #f4f8ff 0%, #eaf1ff 100%);
}

.market-result-box--today {
  border-color: #d8e3f6;
  background: linear-gradient(135deg, #0a192f 0%, #1e2a5e 100%);
}

.market-result-box--today::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -70%;
  width: 180%;
  height: 180%;
  background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, 0.09) 50%, transparent 60%);
  transform: rotate(18deg);
  animation: market-result-shine 6s infinite;
}

.market-result-box__label {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #94a3b8;
  position: relative;
  z-index: 1;
}

.market-result-box__value {
  margin-top: 0.65rem;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(1.55rem, 2vw, 2.35rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  z-index: 1;
  text-overflow: clip;
}

.market-result-box__value::-webkit-scrollbar {
  display: none;
}

.market-result-box--today .market-result-box__label {
  color: rgba(255, 255, 255, 0.45);
}

.market-result-box--today .market-result-box__value {
  color: #ffffff;
}

.market-time-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.95rem;
}

.market-time-grid--detail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.market-time-pill {
  border-radius: 1rem;
  padding: 0.82rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.market-time-pill i {
  color: #94a3b8;
}

.market-action-row,
.market-detail-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 1rem;
}

.market-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid #fecdd3;
  background: #fff1f2;
  padding: 0.6rem 0.88rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #f43f5e;
}

.market-live-pill__dot {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 999px;
  background: #f43f5e;
  box-shadow: 0 0 0 6px rgba(244, 63, 94, 0.08);
}

.market-copy-btn,
.chart-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid #dde7f4;
  background: #ffffff;
  color: #334155;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.market-copy-btn {
  border-radius: 999px;
  padding: 0.72rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  transition: border-color 180ms ease, color 180ms ease;
}

.market-copy-btn:hover {
  border-color: rgba(30, 42, 94, 0.24);
  color: var(--navy);
}

.chart-pill {
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #0f172a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.chart-pill:hover,
.chart-pill:focus,
.chart-pill:focus-visible,
.chart-pill:active {
  background: #ffffff;
  color: #0f172a;
  border-color: #dde7f4;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.chart-pill svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  flex: none;
}

@keyframes market-result-shine {
  0% {
    transform: translateX(-100%) rotate(18deg);
  }

  20%,
  100% {
    transform: translateX(200%) rotate(18deg);
  }
}

.metric-card,
.market-detail-shell,
.section-shell,
.history-card,
.related-card,
.timing-card,
.signal-card,
.shortcut-card,
.explainer-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 40px -32px rgba(10, 25, 47, 0.4);
}

.metric-card {
  border-radius: 1.5rem;
  padding: 1.25rem;
}

.metric-card strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(10, 25, 47, 0.68);
}

.metric-card span {
  display: block;
  margin-top: 0.7rem;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.metric-card p {
  margin: 0.7rem 0 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #64748b;
}

.market-detail-shell,
.section-shell {
  border-radius: 2rem;
  padding: 1.5rem;
}

.compact-shell {
  padding: 1.2rem;
}

.market-detail-shell[hidden],
.section-shell[hidden] {
  display: none;
}

.timing-card {
  border-radius: 1.25rem;
  padding: 1rem 1.1rem;
}

.timing-card strong,
.history-card strong,
.recommended-card strong {
  display: block;
}

.timing-card strong {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(10, 25, 47, 0.68);
}

.timing-card span {
  display: block;
  margin-top: 0.55rem;
  font-size: 1rem;
  font-weight: 700;
}

.history-card,
.related-card {
  border-radius: 1.5rem;
  padding: 1.25rem;
}

.signal-card,
.shortcut-card,
.explainer-card {
  border-radius: 1.4rem;
  padding: 1rem;
}

.history-card p,
.related-card p {
  color: #64748b;
}

.card-points {
  margin: 0.95rem 0 0;
  padding-left: 1.1rem;
  color: #475569;
}

.card-points li + li {
  margin-top: 0.38rem;
}

.history-card .result-string {
  margin-top: 1rem;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy);
}

.history-card small,
.related-card footer {
  display: block;
  margin-top: 0.85rem;
}

.related-card h3 {
  margin: 0.35rem 0 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

.micro-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 0.42rem 0.8rem;
  font-size: 0.75rem;
  color: #475569;
}

.market-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: 180ms ease;
}

.market-link:hover {
  transform: translateY(-1px);
}

.market-link {
  background: #fff;
  color: var(--navy);
  border: 1px solid #e2e8f0;
}

.chart-date-picker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  min-height: 48px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  padding: 0.55rem 0.95rem;
  box-shadow: 0 18px 40px -32px rgba(10, 25, 47, 0.25);
}

.chart-date-picker__icon {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--navy2);
  flex-shrink: 0;
}

.chart-date-picker__text {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10, 25, 47, 0.68);
}

.chart-date-picker__input {
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  width: 100%;
  min-width: 9.5rem;
  outline: none;
}

.chart-date-picker__input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.8;
}

.trust-pill {
  white-space: nowrap;
}

.board-insights-strip {
  padding: 1.15rem 1.2rem;
}

.board-insights-strip__head {
  max-width: 32rem;
}

.board-insights-strip__rail {
  display: grid;
  gap: 0.75rem;
}

.board-insights-strip__lane {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.1rem;
}

.board-insights-strip__lane::-webkit-scrollbar {
  display: none;
}

.lucky-signals-grid {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.lucky-signals-grid::-webkit-scrollbar {
  display: none;
}

.signal-card {
  background: linear-gradient(180deg, #ffffff 0%, #fffaf3 100%);
  min-width: 168px;
}

.signal-card strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(10, 25, 47, 0.62);
}

.signal-card__value {
  margin-top: 0.55rem;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.signal-card p {
  margin: 0.6rem 0 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #475569;
}

.shortcut-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.shortcut-card__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.62rem 0.85rem;
  font-size: 0.74rem;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #1d4ed8;
}

.shortcut-card__actions a:last-child {
  border-color: #e2e8f0;
  background: #fff;
  color: var(--navy);
}

.shortcut-card {
  min-width: 270px;
}

.explainer-card {
  display: grid;
  gap: 0.35rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  min-width: 220px;
}

.explainer-card strong {
  font-size: 0.92rem;
}

.explainer-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #475569;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(190, 24, 93, 0.18);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(190, 24, 93, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(190, 24, 93, 0);
  }
}

@media (max-width: 767px) {
  body {
    background:
      radial-gradient(420px circle at 0% 0%, rgba(230, 240, 255, 0.9), transparent 42%),
      #ffffff;
  }

  .live-hero-section {
    padding-top: 5.15rem;
    padding-bottom: 0.7rem;
  }

  .hero-shape {
    display: none;
  }

  .scroll-top-button {
    right: 0.85rem;
    bottom: 0.85rem;
    width: 2.65rem;
    height: 2.65rem;
  }

  .metric-card,
  .market-detail-shell,
  .section-shell,
  .history-card,
  .related-card,
  .timing-card,
  .signal-card,
  .shortcut-card,
  .explainer-card {
    border-radius: 1.25rem;
  }

  .market-detail-shell,
  .section-shell {
    padding: 1.15rem;
  }

  .compact-shell {
    padding: 1rem;
  }

  .live-hero-card {
    border-radius: 1.75rem;
    padding: 1.05rem 1.05rem 0.95rem;
    box-shadow:
      0 28px 52px -36px rgba(10, 25, 47, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }

  .live-hero-card::before {
    height: 92px;
  }

  #pageBadge {
    padding: 0.5rem 0.82rem;
    font-size: 0.72rem;
    letter-spacing: 0;
  }

  #heroTitle {
    margin-top: 0.55rem;
    max-width: none;
    width: 100%;
    font-size: clamp(1.82rem, 7.8vw, 2.28rem);
    line-height: 0.98;
    letter-spacing: -0.048em;
  }

  #heroSubtitle {
    margin-top: 0.75rem;
    max-width: none;
    width: 100%;
    font-size: 0.96rem;
    line-height: 1.5;
    color: #334155;
  }

  #heroMeta {
    display: grid;
    justify-items: start;
    width: 100%;
    margin-top: 0.8rem;
    gap: 0.45rem;
    font-size: 0.82rem;
    line-height: 1.35;
    color: #475569;
  }

  .hero-meta-separator {
    display: none;
  }

  .hero-meta-live {
    padding: 0.42rem 0.72rem;
    font-size: 0.76rem;
  }

  .quick-market-row {
    margin-top: 0.9rem;
    gap: 0.55rem;
    margin-left: 0;
    margin-right: 0;
    padding-right: 0;
    padding-left: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .quick-market-pill {
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
    border-radius: 999px;
    scroll-snap-align: start;
  }

  .trust-pill {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .board-insights-strip {
    padding: 1rem;
  }

  .board-insights-strip__rail,
  .board-insights-strip__lane,
  .lucky-signals-grid {
    gap: 0.6rem;
  }

  .signal-card p,
  .explainer-card p {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .shortcut-card__actions {
    gap: 0.45rem;
  }

  .shortcut-card__actions a {
    flex: 1 1 auto;
    min-height: 2.35rem;
    padding: 0.55rem 0.74rem;
    font-size: 0.72rem;
  }

  #boardSection {
    padding-bottom: 2.4rem;
  }

  .live-board-toolbar {
    gap: 0.7rem;
  }

  .board-actions-shell {
    margin-top: 0.8rem;
  }

  .board-actions {
    width: 100%;
    border-radius: 1.5rem;
    padding: 0.72rem;
  }

  #boardHeading {
    margin-top: 0.28rem;
    max-width: none;
    width: 100%;
    font-size: 1.16rem;
    line-height: 1.02;
    letter-spacing: -0.03em;
  }

  #boardSummary {
    margin-top: 0.32rem;
    max-width: none;
    width: 100%;
    font-size: 0.88rem;
    line-height: 1.42;
    color: #334155;
  }

  .board-actions {
    gap: 0.55rem;
  }

  .filter-scroller {
    gap: 0.45rem;
    width: 100%;
    margin-left: -0.1rem;
    margin-right: -0.1rem;
    padding-right: 0.1rem;
  }

  .filter-scroller button {
    min-height: 2.35rem;
    padding: 0.52rem 0.78rem;
    font-size: 0.84rem;
    font-weight: 700;
  }

  .search-row {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
  }

  #boardSearchInput {
    min-height: 2.55rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    font-size: 16px;
  }

  #boardSearchButton {
    width: 2.55rem;
    height: 2.55rem;
  }

  #boardGrid {
    margin-top: 0.45rem;
    gap: 0.75rem;
  }

  #historySection {
    padding-bottom: 1.25rem;
  }

  #historyGrid,
  #relatedMarketsGrid,
  #supportingLinksGrid,
  #faqGrid {
    gap: 0.85rem;
    margin-top: 1rem;
  }

  .history-card,
  .related-card {
    padding: 1rem;
  }

  .micro-pill {
    font-size: 0.8rem;
  }

  .chart-date-picker {
    width: 100%;
    justify-content: space-between;
    border-radius: 1.1rem;
    padding: 0.75rem 0.9rem;
  }

  .chart-date-picker__text {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .chart-date-picker__input {
    min-width: 0;
    text-align: right;
  }

  .market-result-box {
    padding: 1rem 0.9rem;
  }

  .market-result-box__value {
    font-size: clamp(1.35rem, 6.2vw, 1.95rem);
  }

  .market-title-block {
    min-height: 4.3rem;
  }

  .market-copy-btn {
    padding: 0.68rem 0.92rem;
    font-size: 0.78rem;
  }
}

/* Redesign classes */
.hero-live { position: relative; padding: 80px 0 60px; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #fffafb 100%); }
.bg-blob { position: absolute; border-radius: 50%; opacity: 0.06; z-index: 0; }
.blob-1 { width: 400px; height: 400px; background: var(--maroon-500); top: -100px; left: -150px; transform: rotate(-15deg); border-radius: 40% 60% 70% 30%; }
.blob-2 { width: 320px; height: 320px; background: #3b82f6; top: 40px; right: -100px; opacity: 0.04; border-radius: 60% 40% 30% 70%; }
.blob-3 { width: 280px; height: 280px; background: var(--maroon-500); bottom: -80px; right: 10%; opacity: 0.05; border-radius: 50% 50% 40% 60%; }

.hero-card { position: relative; z-index: 1; background: white; border-radius: 28px; padding: 48px; box-shadow: 0 20px 60px rgba(139,21,56,0.08), 0 1px 3px rgba(0,0,0,0.05); border: 1px solid rgba(139,21,56,0.06); max-width: 1000px; margin: 0 auto; }
.hero-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 120px; background: linear-gradient(135deg, rgba(139,21,56,0.03) 0%, rgba(59,130,246,0.02) 100%); border-radius: 28px 28px 0 0; z-index: 0; }

.hero-title { font-size: 56px; font-weight: 900; line-height: 1.05; color: var(--maroon-700); margin-bottom: 20px; letter-spacing: -0.02em; position: relative; z-index: 1; font-family: 'Fraunces', Georgia, serif; }
.hero-desc { font-size: 17px; color: #4b5563; line-height: 1.65; max-width: 620px; margin-bottom: 28px; position: relative; z-index: 1; }
.meta-row { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; position: relative; z-index: 1; }
.meta-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #6b7280; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--maroon-50); color: var(--maroon-700); padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; border: 1px solid rgba(139,21,56,0.15); }
.status-dot { width: 7px; height: 7px; background: var(--maroon-600); border-radius: 50%; animation: pulse 2s infinite; }

.markets-row { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.market-pill { padding: 9px 18px; background: white; border: 1.5px solid var(--gray-200); border-radius: 24px; font-size: 14px; font-weight: 500; color: #374151; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.market-pill:hover { border-color: var(--maroon-300); background: var(--maroon-50); color: var(--maroon-700); transform: translateY(-1px); }

/* Live Board Section */
.board-section { padding: 40px 0 80px; background: white; }
.kicker { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--maroon-600); margin-bottom: 8px; }
.section-title { font-size: 36px; font-weight: 900; color: var(--maroon-700); margin-bottom: 8px; letter-spacing: -0.01em; font-family: 'Fraunces', Georgia, serif; }
.section-desc { font-size: 16px; color: #6b7280; margin-bottom: 28px; }

.filter-bar { background: white; border: 1px solid var(--gray-200); border-radius: 16px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; box-shadow: 0 1px 2px rgba(0,0,0,0.04); flex-wrap: wrap; }
.filter-tabs { display: flex; gap: 6px; }
.tab { padding: 8px 16px; border-radius: 10px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s; border: none; background: transparent; color: #6b7280; }
.tab.active { background: var(--maroon-600); color: white; font-weight: 600; box-shadow: 0 2px 6px rgba(139,21,56,0.2); }
.tab:not(.active):hover { background: var(--gray-100); color: #374151; }

.search-wrap { display: flex; align-items: center; gap: 8px; }
.search-input { padding: 9px 16px; border: 1.5px solid var(--gray-200); border-radius: 10px; font-size: 14px; width: 200px; transition: all 0.2s; outline: none; }
.search-input:focus { border-color: var(--maroon-400); box-shadow: 0 0 0 3px rgba(139,21,56,0.1); }
.search-btn { width: 38px; height: 38px; background: var(--maroon-600); border: none; border-radius: 10px; display: grid; place-items: center; cursor: pointer; transition: all 0.2s; color: white; }
.search-btn:hover { background: var(--maroon-700); transform: translateY(-1px); }

/* Copy and Chart Link hover effects */
.chart-link-btn { transition: all 0.2s; }
.chart-link-btn:hover { border-color: var(--maroon-300) !important; background: var(--maroon-50) !important; color: var(--maroon-700) !important; }
.copy-result-btn { transition: all 0.2s; }
.copy-result-btn:hover { border-color: var(--maroon-300) !important; background: var(--maroon-50) !important; color: var(--maroon-700) !important; }

