
      :root {
        color-scheme: light;
        --bg: #f4efe6;
        --panel: rgba(255, 251, 244, 0.88);
        --panel-solid: #fffaf2;
        --text: #101010;
        --muted: #6b6258;
        --line: rgba(31, 31, 31, 0.12);
        --soft: rgba(31, 31, 31, 0.08);
        --stats-row-height: 57px;
        --accent: #a51d36;
        --accent-deep: #641426;
        --accent-soft: rgba(165, 29, 54, 0.1);
        --shadow: 0 22px 60px rgba(34, 20, 15, 0.12);
      }

      * {
        box-sizing: border-box;
      }

      html,
      body {
        margin: 0;
        min-height: 100%;
      }

      body {
        position: relative;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
          sans-serif;
        background:
          radial-gradient(circle at top left, rgba(165, 29, 54, 0.14), transparent 23%),
          radial-gradient(circle at top right, rgba(20, 20, 20, 0.08), transparent 20%),
          radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.65), transparent 36%),
          var(--bg);
        color: var(--text);
        line-height: 1.45;
        background-attachment: fixed;
      }

      body::before {
        position: fixed;
        inset: 0 0 auto;
        z-index: 20;
        height: 4px;
        background: linear-gradient(90deg, transparent, rgba(165, 29, 54, .62) 18%, rgba(165, 29, 54, .2) 72%, transparent);
        content: "";
        pointer-events: none;
      }

      body::after {
        position: fixed;
        inset: 0;
        z-index: 0;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
        mix-blend-mode: multiply;
        opacity: .16;
        content: "";
        pointer-events: none;
      }

      .season-banner {
        position: relative;
        z-index: 1;
        padding: 10px 16px;
        background: var(--accent);
        color: var(--panel-solid);
        font-family: "Bebas Neue", Impact, sans-serif;
        font-size: 1.4rem;
        letter-spacing: 0.1em;
        line-height: 1.25;
        text-align: center;
        text-transform: uppercase;
      }

      .wrap {
        position: relative;
        z-index: 1;
      }

      a {
        color: inherit;
      }

      .wrap {
        width: min(1080px, calc(100% - 24px));
        margin: 0 auto;
        padding: 22px 0 40px;
      }

      .eyebrow {
        font-size: 0.82rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--muted);
      }

      .toolbar {
        display: none;
      }

      .hero-status {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 10px;
        min-height: 22px;
        margin: -4px 0 2px;
        color: var(--muted);
        font-size: 0.78rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

      .hero-refresh {
        width: 30px;
        height: 30px;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        color: var(--text);
        font-size: 1.45rem;
        line-height: 1;
      }

      .hero-refresh:hover {
        border: 0;
        color: var(--accent);
      }

      button {
        appearance: none;
        border: 1px solid rgba(31, 31, 31, 0.12);
        background: linear-gradient(180deg, #fff, #f4ede3);
        color: var(--text);
        border-radius: 999px;
        padding: 10px 14px;
        font: inherit;
        cursor: pointer;
        box-shadow: 0 8px 20px rgba(34, 20, 15, 0.06);
      }

      button:hover {
        border-color: rgba(165, 29, 54, 0.34);
      }

      button:focus-visible {
        outline: 2px solid var(--accent);
        outline-offset: 2px;
      }

      .meta {
        font-size: 0.92rem;
        color: var(--muted);
      }

      .grid {
        display: grid;
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
        gap: 16px;
        margin-top: 18px;
      }

      .stack {
        display: grid;
        gap: 16px;
      }

      @media (min-width: 861px) {
        .hero {
          grid-column: 1 / -1;
        }

        .hero-visual {
          width: 103%;
          transform: translateX(-3%);
        }

        .hero-art-spot,
        .kpis {
          transform: translateX(-20px);
        }

        .stack {
          display: contents;
        }

        .recent-block {
          grid-column: 1;
          grid-row: 2;
          margin-top: 0;
        }

        .recent-block .section-head {
          height: 36px;
          box-sizing: border-box;
          padding-bottom: 0;
          border-bottom: 0;
          margin-bottom: 0;
        }

      .recent-block .triples-list {
          margin-top: 0;
      }

      .recent-block .triple-item:first-child {
        border-top: 0;
      }

      .stack > .section:first-child .section-head {
        height: 36px;
        box-sizing: border-box;
        margin-bottom: 0;
      }

      .stack > .section:first-child thead th {
        height: 46px;
        padding: 0;
        vertical-align: middle;
      }

        .stack > .section:first-child {
          grid-column: 2;
          grid-row: 2;
        }

        .stack > .section:last-child {
          grid-column: 1 / -1;
          grid-row: 3;
          width: min(100%, 720px);
          margin: 32px auto 0;
        }
      }

      .panel {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        backdrop-filter: none;
      }

      .hero {
        padding: 0;
        overflow: visible;
      }

      .hero-visual {
        display: grid;
        position: relative;
        z-index: 1;
        grid-template-columns: 58% 42%;
        align-items: center;
        min-height: 320px;
      }

      .hero-art-spot {
        position: relative;
        z-index: 0;
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        min-height: 270px;
        overflow: visible;
      }

      .hero-player-art {
        display: block;
        position: relative;
        z-index: 0;
        width: 100%;
        height: 285px;
        margin: 8px 0 0;
        object-fit: contain;
        object-position: left bottom;
        filter: drop-shadow(0 22px 12px rgba(34, 20, 15, 0.22));
        transform: none;
        pointer-events: none;
        user-select: none;
      }

      .triple-hero {
        position: relative;
        z-index: 1;
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
      }

      .triple-kicker {
        margin: 0 0 -4px 4px;
        color: #7a746d;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: 0.17em;
        text-transform: uppercase;
      }

      .kinetic-number {
        --number-size: clamp(150px, 25vw, 360px);
        position: relative;
        width: 100%;
        height: 360px;
        overflow: visible;
        display: flex;
        align-items: center;
        justify-content: center;
        isolation: isolate;
      }

      #speed-canvas {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        pointer-events: none;
      }

      .number-wrap {
        position: relative;
        z-index: 2;
        width: max-content;
        height: max-content;
        display: none;
        transform: skewX(-7deg) rotate(-2deg);
        filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.3));
        animation: number-float 3.2s ease-in-out infinite;
      }

      .number-main,
      .number-highlight,
      .number-ghost {
        font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
        font-size: var(--number-size);
        line-height: .78;
        font-weight: 900;
        letter-spacing: -.025em;
        user-select: none;
        white-space: nowrap;
      }

      .number-main {
        background: linear-gradient(to bottom, #000 0%, #050505 25%, #260008 48%, #700012 73%, #b30b27 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-stroke: 2px rgba(0, 0, 0, .9);
        text-shadow: 0 4px 0 #000, 0 8px 0 rgba(0, 0, 0, .65), 0 15px 25px rgba(0, 0, 0, .35);
      }

      .number-highlight,
      .number-ghost,
      .number-trail {
        position: absolute;
        inset: 0;
        pointer-events: none;
      }

      .number-highlight {
        background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, .02) 35%, rgba(255, 255, 255, .2) 47%, transparent 52%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        mix-blend-mode: screen;
        animation: highlight-sweep 2.8s ease-in-out infinite;
      }

      .number-ghost {
        color: transparent;
        -webkit-text-stroke: 1px rgba(150, 0, 25, .3);
        opacity: .16;
        filter: blur(1px);
        animation: ghost-move 1.1s ease-out infinite;
      }

      .ghost-two { animation-delay: .12s; opacity: .09; filter: blur(3px); }

      .number-trail {
        left: -15%;
        top: 50%;
        width: 150%;
        height: 2px;
        transform-origin: right center;
        background: linear-gradient(90deg, transparent, rgba(100, 0, 15, .08) 35%, rgba(170, 5, 30, .45) 72%, rgba(255, 30, 55, .8));
        filter: blur(1px);
        opacity: 0;
        animation: speed-trail 2.25s ease-out infinite;
      }

      .trail-two { transform: translateY(5px) rotate(-4deg); height: 4px; filter: blur(2px); animation-delay: .2s; animation-duration: 1.9s; }
      .trail-three { transform: translateY(65px) rotate(-3deg); height: 1px; animation-delay: .45s; animation-duration: 2.8s; }

      @keyframes speed-trail {
        0% { opacity: 0; transform: translateX(100px) translateY(-30px) scaleX(.15) rotate(-4deg); }
        15% { opacity: .9; }
        70% { opacity: .45; }
        100% { opacity: 0; transform: translateX(-220px) translateY(-30px) scaleX(1) rotate(-4deg); }
      }

      @keyframes ghost-move {
        0% { transform: translateX(10px) scaleX(1); opacity: 0; }
        20% { opacity: .2; }
        100% { transform: translateX(-80px) scaleX(1.08); opacity: 0; }
      }

      @keyframes number-float {
        0%, 100% { transform: skewX(-7deg) rotate(-2deg) translateY(0); }
        50% { transform: skewX(-7deg) rotate(-1deg) translateY(-5px); }
      }

      @keyframes highlight-sweep {
        0%, 20%, 100% { opacity: 0; transform: translateX(-20%); }
        50% { opacity: .8; }
        75% { opacity: 0; transform: translateX(20%); }
      }

      .hero-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: space-between;
        align-items: center;
        padding-top: 0;
        margin-top: 0;
      }

      .hero-copy {
        color: var(--muted);
        font-size: 0.94rem;
      }

      .hero-copy strong {
        color: var(--text);
      }

      .hero-chip {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        border-radius: 999px;
        background: var(--accent-soft);
        color: var(--accent);
        font-size: 0.84rem;
        font-weight: 700;
        letter-spacing: 0.03em;
        white-space: nowrap;
      }

      .kpis {
        position: relative;
        z-index: 3;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: min(58%, 380px);
        margin-left: auto;
        margin-right: 6%;
        margin-top: -52px;
        gap: 12px;
      }

      .kpi {
        border: 1px solid rgba(31, 31, 31, 0.08);
        border-radius: 18px;
        padding: 14px;
        background: linear-gradient(180deg, #fff, #fbf5ec);
      }

      .kpi-accent {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto auto;
        min-height: 92px;
        border-color: transparent;
        border-radius: 14px;
        padding: 14px 16px;
        background: linear-gradient(145deg, #c52342, #8f142e);
        color: #fffaf2;
        box-shadow: 0 14px 28px rgba(165, 29, 54, 0.2);
        overflow: hidden;
      }

      .kpi-accent::before {
        position: absolute;
        inset: 0;
        background: linear-gradient(110deg, rgba(255, 255, 255, .12), transparent 38%);
        content: "";
        pointer-events: none;
      }

      .kpi-accent > * {
        position: relative;
        z-index: 1;
      }

      .career-bars {
        grid-column: 2;
        grid-row: 1 / -1;
        align-self: end;
        display: flex;
        align-items: end;
        gap: 5px;
        height: 54px;
        margin-left: 18px;
        opacity: .42;
      }

      .career-bars span {
        display: block;
        width: 7px;
        background: rgba(70, 0, 12, .72);
      }

      .career-bars span:nth-child(1) { height: 12px; }
      .career-bars span:nth-child(2) { height: 22px; }
      .career-bars span:nth-child(3) { height: 32px; }
      .career-bars span:nth-child(4) { height: 43px; }
      .career-bars span:nth-child(5) { height: 54px; }

      .kpi-accent .kpi-label,
      .kpi-accent .kpi-sub {
        color: rgba(255, 250, 242, 0.76);
      }

      .kpi-label {
        font-size: 0.78rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--muted);
      }

      .kpi-value {
        margin-top: 8px;
        font-size: 1.5rem;
        font-weight: 700;
        letter-spacing: -0.03em;
      }

      .kpi-sub {
        margin-top: 3px;
        color: var(--muted);
        font-size: 0.82rem;
      }

      .section {
        padding: 0;
      }

      .recent-block {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
      }

      .section h2,
      .recent-block h2 {
        position: relative;
        margin: 0 0 8px;
        font-size: 1.05rem;
        font-weight: 800;
        letter-spacing: -0.02em;
      }

      .section h2::after,
      .recent-block h2::after {
        position: absolute;
        left: 0;
        bottom: -7px;
        width: 28px;
        height: 3px;
        border-radius: 999px;
        background: var(--accent);
        content: "";
      }

      .section-head {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        align-items: baseline;
        margin-bottom: 12px;
      }

      .recent-block,
      .stack > .section {
        min-width: 0;
      }

      .subtle {
        color: var(--muted);
        font-size: 0.92rem;
      }

      .latest-columns {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr) 150px;
        gap: 12px;
        height: 46px;
        box-sizing: border-box;
        align-items: center;
        border-bottom: 1px solid var(--soft);
        color: var(--muted);
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

      .latest-columns span:nth-child(2),
      .latest-columns span:nth-child(3) {
        width: 100%;
        justify-self: stretch;
        text-align: center;
      }

      .triples-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        gap: 0;
      }

      .triple-item {
        border-bottom: 1px solid var(--soft);
        min-height: var(--stats-row-height);
        box-sizing: border-box;
        padding: 7px 0;
        display: flex;
        align-items: center;
      }

      .triple-item.today .triple-event-row {
        font-weight: 700;
      }

      .triple-event-row {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr) 150px;
        width: 100%;
        min-height: 42px;
        gap: 12px;
        align-items: center;
      }

      .triple-event-team,
      .triple-event-day {
        min-width: 0;
        color: var(--muted);
        font-size: 1rem;
        text-align: center;
      }

      .triple-event-day {
        white-space: nowrap;
      }

      .triple-event-copy {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
      }

      .triple-event-details {
        min-width: 0;
      }

      .triple-event-details strong,
      .triple-event-details span {
        display: block;
      }

      .triple-event-details strong {
        font-size: 0.94rem;
      }

      .triple-event-details span {
        margin-top: 2px;
        color: var(--muted);
        font-size: 0.82rem;
      }

      .opponent-logo {
        display: block;
        width: 42px;
        height: 42px;
        object-fit: contain;
      }

      .triple-item:first-child {
        border-top: 0;
        padding-top: 7px;
      }

      .triple-main {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        align-items: baseline;
        margin-bottom: 6px;
      }

      .triple-title {
        font-weight: 650;
      }

      .triple-time {
        color: var(--muted);
        font-size: 0.88rem;
        white-space: nowrap;
      }

      .triple-meta {
        color: var(--muted);
        font-size: 0.9rem;
      }

      .table-wrap {
        overflow-x: auto;
      }

      .leaderboard-grid {
        display: grid;
        grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
        gap: 12px;
        align-items: start;
      }

      .leaderboard-projection {
        flex-basis: 100%;
        grid-column: 1 / -1;
        margin: 2px 0 0;
        padding-left: 10px;
        border-left: 2px solid var(--accent);
        color: var(--muted);
        font-size: 0.85rem;
        font-weight: 400;
      }

      .leaderboard-projection strong {
        display: block;
        margin-bottom: 4px;
        color: var(--accent);
      }

      .leaderboard-card {
        border: 1px solid rgba(31, 31, 31, 0.08);
        border-radius: 18px;
        padding: 14px;
        background: linear-gradient(180deg, #fff, #fbf5ec);
      }

      .leaderboard-rank {
        margin-top: 6px;
        font-size: 1.5rem;
        font-weight: 700;
        letter-spacing: -0.03em;
      }

      .leaderboard-list {
        list-style: none;
        padding: 0;
        margin: 12px 0 0;
        display: grid;
        gap: 7px;
      }

      .leaderboard-list li {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding-top: 7px;
        border-top: 1px solid var(--soft);
        font-size: 0.92rem;
      }

      .leaderboard-list .current {
        flex-wrap: wrap;
        color: var(--accent);
        font-weight: 700;
      }

      .leaderboard-list .ellipsis {
        display: block;
        color: var(--muted);
        text-align: center;
      }

      .leaderboard-disclaimer {
        margin: 12px 2px 0;
        color: var(--muted);
        font-size: 0.78rem;
        text-align: center;
      }

      .leaderboard-columns,
      .leaderboard-stats {
        display: grid;
        gap: 12px;
        align-items: baseline;
      }

      .leaderboard-columns {
        column-gap: 2px;
        grid-template-columns: minmax(0, 1fr) 68px 68px;
      }

      .leaderboard-stats {
        grid-template-columns: auto auto;
      }

      .leaderboard-career .leaderboard-list li {
        display: grid;
        column-gap: 2px;
        grid-template-columns: minmax(0, 1fr) 68px 68px;
        align-items: baseline;
      }

      .leaderboard-career .leaderboard-list li > span {
        min-width: 0;
      }

      .leaderboard-career .leaderboard-stats {
        display: none;
      }

      .leaderboard-career .leaderboard-list .ellipsis {
        display: block;
        grid-column: 1 / -1;
      }

      .leaderboard-columns {
        margin-top: 12px;
        color: var(--muted);
        font-size: 0.72rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

      .leaderboard-columns span:first-child {
        min-width: 0;
      }

      .leaderboard-columns span:not(:first-child),
      .leaderboard-career .leaderboard-list li > span:nth-child(2),
      .leaderboard-career .leaderboard-list li > strong {
        text-align: center;
      }

      .leaderboard-career .leaderboard-columns span:not(:first-child),
      .leaderboard-career .leaderboard-list li > span:nth-child(2),
      .leaderboard-career .leaderboard-list li > strong {
        position: relative;
        left: 0;
      }

      table {
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
      }

      table th:nth-child(1),
      table td:nth-child(1) {
        width: 25%;
        text-align: center;
      }

      table th:nth-child(2),
      table td:nth-child(2) {
        width: 50%;
        text-align: center;
      }

      table th:nth-child(3),
      table td:nth-child(3) {
        width: 25%;
        text-align: center;
      }

      thead th {
        text-align: left;
        font-size: 0.78rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--muted);
        padding: 10px 0;
        border-bottom: 1px solid rgba(31, 31, 31, 0.08);
      }

      tbody td {
        padding: 9px 0;
        border-bottom: 1px solid rgba(31, 31, 31, 0.08);
        vertical-align: middle;
      }

      tbody tr {
        height: var(--stats-row-height);
      }

      .year {
        font-weight: 700;
      }

      .team-list {
        color: var(--muted);
      }

      .league-leading {
        color: var(--accent);
        font-weight: 900 !important;
      }

      .mlb-leading {
        color: var(--accent);
        font-style: italic;
      }

      .leader-notes {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 2px;
        gap: 0 5px;
        color: var(--muted);
        font-size: 0.62rem;
        line-height: 1.2;
        font-weight: 600;
        letter-spacing: 0.02em;
        white-space: nowrap;
      }

      .leader-cell {
        position: relative;
        padding-block: 2px;
      }

      .error {
        margin-top: 16px;
        border: 1px solid rgba(165, 29, 54, 0.18);
        background: rgba(255, 241, 242, 0.9);
        color: #7f1d1d;
        border-radius: 18px;
        padding: 14px 16px;
      }

      .loading {
        padding: 18px 20px 22px;
        color: var(--muted);
      }

      .empty {
        color: var(--muted);
        font-style: italic;
      }

      @media (max-width: 860px) {
        .grid,
        .kpis,
        .leaderboard-grid {
          grid-template-columns: 1fr;
        }

        .kpis {
          width: 100%;
          margin-left: 0;
          margin-right: 0;
          margin-top: 0;
          transform: none;
        }
      }

      @media (max-width: 640px) {
        .wrap {
          width: min(100% - 16px, 1080px);
          padding-top: 16px;
        }

        .hero-visual {
          grid-template-columns: 1fr;
          min-height: 0;
          gap: 0;
        }

        .hero-art-spot {
          grid-column: 1;
          grid-row: 2;
          width: 100%;
          min-height: 190px;
        }

        .hero-player-art {
          width: 100%;
          height: 200px;
          margin: 0 auto;
          object-position: center bottom;
        }

        .hero-status {
          margin-top: -2px;
        }

        .kinetic-number {
          height: 240px;
        }

        .number-main,
        .number-highlight,
        .number-ghost {
          font-size: clamp(120px, 32vw, 190px);
        }

        #triple-svg {
          width: 100%;
          margin-left: 0;
        }

        .triple-event-row {
          grid-template-columns: 42px minmax(0, 1fr) 104px;
          gap: 10px;
        }

        .latest-columns {
          grid-template-columns: 42px minmax(0, 1fr) 104px;
          gap: 10px;
          height: 38px;
          font-size: 0.7rem;
        }

        .stack > .section:first-child thead th {
          height: 38px;
        }

        .section-head,
        .triple-main {
          flex-direction: column;
          align-items: flex-start;
        }
      }

      .visually-hidden {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
      }

/* Alerts and tip jar follow the leaderboard's width and ruled sections. */
.site-footer {
  grid-column: 1 / -1;
  width: min(100%, 720px);
  min-width: 0;
  margin: 20px auto 0;
  border-top: 1px solid var(--line);
}
.triple-alerts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 22px 28px;
  padding: 24px 0 20px;
}
.alerts-copy > p { margin: 20px 0 0; color: var(--muted); font-size: .88rem; }
.alerts-copy { grid-column: 1 / -1; }
.alerts-action { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--soft); }
.sms-form { grid-column: 1 / -1; min-width: 0; }
.sms-form > label { display: block; margin-bottom: 8px; font-size: .82rem; font-weight: 650; }
.sms-form > label > span { font-weight: 400; color: var(--muted); }
.sms-form-row { display: flex; gap: 10px; }
.sms-form-row input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-solid); color: var(--text); font: inherit; font-size: 16px; }
.sms-form-row input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sms-form .sms-consent { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0; cursor: pointer; font-weight: 400; line-height: 1.5; }
.sms-consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 18px; accent-color: var(--accent); }
.sms-form-status { margin: 10px 0 0; font-size: .78rem; color: var(--muted); }
.sms-form-status[data-state] {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background: var(--panel-solid);
  color: var(--text);
  font-size: .94rem;
  line-height: 1.6;
}
.sms-form-status[data-state="error"] { color: var(--accent-deep); }
.sms-form-status:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
#sms-turnstile { max-width: 100%; }
.alerts-action .sms-button { background: transparent; color: var(--accent); border-color: var(--line); }
.alerts-action .sms-button:hover { background: var(--accent-soft); border-color: var(--accent); }
.sms-button, .sms-pending {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: .82rem;
  font-weight: 650;
  text-decoration: none;
}
.sms-button { background: var(--accent); border-color: var(--accent); color: #fffaf2; }
.sms-button:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.sms-button:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.sms-button:focus-visible, .tip-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.sms-button[hidden], .sms-pending[hidden] { display: none; }
.sms-pending { color: var(--muted); background: transparent; font-weight: 500; }
#sms-instructions { font-size: .75rem; color: var(--muted); margin: 8px 0 0; }
.sms-disclosure { grid-column: 1 / -1; font-size: .72rem; line-height: 1.6; color: var(--muted); margin: 0; }
.sms-disclosure a { text-underline-offset: 3px; white-space: nowrap; }
.tip-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 17px 0; border-top: 1px solid var(--line); }
.tip-row p { margin: 0; font-size: .78rem; color: var(--muted); }
.tip-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--accent); font-size: .82rem; font-weight: 650; text-decoration: none; }
.tip-link:hover { border-color: var(--accent); background: var(--accent-soft); }
.tip-icon { width: 18px; height: 18px; }
.sms-policy { max-width: 740px; padding-top: 40px; }
.sms-policy h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); line-height: 1.15; margin-top: 32px; }
.sms-policy h2 { font-size: 1.2rem; margin-top: 28px; }
.sms-policy p { line-height: 1.7; }
@media (max-width: 480px) {
  .sms-form-row { flex-direction: column; }
  .sms-form-row button { justify-content: center; }
  .triple-alerts { grid-template-columns: 1fr; gap: 18px; }
  .alerts-action { max-width: none; text-align: left; }
  .tip-row { gap: 16px; align-items: center; }
  .tip-row p { max-width: 190px; }
}

/* Let content reflow at intermediate widths, browser zoom, and fold changes. */
.wrap { overflow-wrap: anywhere; }
.grid > *, .stack, .hero-visual > *, .kpi-accent > *,
.leaderboard-grid > *, .triple-alerts > *, .sms-consent > span {
  min-width: 0;
}
.hero-status { flex-wrap: wrap; }
.hero-status > span { min-width: 0; }
.hero-refresh { flex: 0 0 30px; }
.section-head { flex-wrap: wrap; }
.latest-columns { min-height: 46px; height: auto; padding-block: 8px; }
.triple-event-day { white-space: normal; }
.leaderboard-list li > strong { flex-shrink: 0; }
.sms-form-row { flex-wrap: wrap; }
.sms-form-row input { flex: 1 1 12rem; max-width: 100%; }
.sms-form-row button { flex: 0 1 auto; justify-content: center; }
.sms-button, .sms-pending, .tip-link { max-width: 100%; }
.tip-row { flex-wrap: wrap; }

@media (max-width: 480px) {
  .sms-form-row input { flex-basis: auto; }
}

@media (min-width: 641px) and (max-width: 860px) {
  .kinetic-number { height: clamp(260px, 40vw, 340px); }
  .hero-art-spot { min-height: 0; }
  .hero-player-art { height: clamp(230px, 35vw, 285px); }
  .stack > .section:last-child { width: min(100%, 720px); margin-inline: auto; }
}

@media (max-width: 640px) {
  .latest-columns { min-height: 38px; }
  .leader-notes {
    position: static;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2px;
    white-space: normal;
    transform: none;
  }
}

@media (max-width: 360px) {
  .kinetic-number { height: clamp(160px, 66vw, 240px); }
  .hero-art-spot { min-height: 0; }
  .hero-player-art { height: clamp(150px, 55vw, 200px); }
  .latest-columns, .triple-event-row {
    grid-template-columns: 34px minmax(0, 1fr) minmax(0, 5.5rem);
    gap: 6px;
  }
  .opponent-logo { width: 34px; height: 34px; }
  .leaderboard-card { padding: 12px 10px; }
  .leaderboard-columns, .leaderboard-career .leaderboard-list li {
    grid-template-columns: minmax(0, 1fr) 3.5rem 3rem;
    column-gap: 4px;
  }
  .leaderboard-columns { letter-spacing: .02em; }
}

.sms-skip { margin: 14px 0; font-size: .88rem; }
.sms-skip a { color: var(--accent); text-underline-offset: 3px; }
.sms-skip a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
