/* gate-leaderboard.css — extracted from inline <style> blocks. Generated by scripts/h1-extract.mjs */
.gl-wrap { max-width: 1100px; margin: 0 auto; padding: 24px; }
      .gl-hero { text-align: center; padding: 48px 16px 24px; }
      .gl-tag { font-size: 11px; letter-spacing: 0.4em; color: #00cc33; margin-bottom: 12px; }
      .gl-hero h1 {
        font-size: clamp(32px, 6vw, 56px);
        margin: 0 0 12px;
        letter-spacing: 0.05em;
        text-shadow: 0 0 20px rgba(0,255,65,0.3);
      }
      .gl-hero p { color: #00aa2a; max-width: 640px; margin: 0 auto; font-size: 14px; }
      .gl-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 24px 0 16px; }
      .gl-tab {
        background: rgba(0,255,65,0.04);
        border: 1px solid #0f3a0f;
        color: #00aa2a;
        font-family: inherit;
        font-size: 13px;
        padding: 10px 20px;
        cursor: pointer;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        transition: all 0.12s;
      }
      .gl-tab:hover { color: #00ff41; border-color: #00ff41; }
      .gl-tab.active {
        background: #00ff41;
        color: #000;
        font-weight: 700;
      }
      .gl-board {
        border: 1px solid #0f3a0f;
        background: rgba(3,8,3,0.95);
        padding: 16px;
        margin-top: 16px;
        overflow-x: auto;
      }
      .gl-controls {
        display: flex; flex-wrap: wrap; gap: 16px 24px;
        justify-content: center; align-items: center;
        margin: 16px 0 0;
      }
      .gl-control-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
      .gl-control-label {
        font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
        color: #065a20; margin-right: 4px;
      }
      .gl-pill {
        background: rgba(0,255,65,0.04); border: 1px solid #0f3a0f;
        color: #00aa2a; font-family: inherit; font-size: 11px;
        padding: 6px 12px; cursor: pointer; letter-spacing: 0.08em;
        text-transform: uppercase; transition: all 0.12s;
      }
      .gl-pill:hover { color: #00ff41; border-color: #00ff41; }
      .gl-pill.active { background: #00ff41; color: #000; font-weight: 700; }
      .gl-board h2 { margin: 0 0 4px; font-size: 18px; letter-spacing: 0.05em; }
      .gl-board p.gl-sub { color: #065a20; font-size: 12px; margin: 0 0 16px; }
      .gl-table { width: 100%; border-collapse: collapse; font-size: 13px; }
      .gl-table th, .gl-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #0f3a0f; }
      .gl-table th { color: #065a20; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; }
      .gl-table td { color: #00aa2a; }
      .gl-table td:first-child { color: #00ff41; font-weight: 700; }
      .gl-table tr:hover td { background: rgba(0,255,65,0.04); }
      .gl-empty { color: #065a20; text-align: center; padding: 40px; font-size: 13px; }
      .gl-medal { font-size: 16px; }
      .gl-cta { text-align: center; margin: 32px 0 64px; }
      .gl-cta a {
        display: inline-block;
        background: #00ff41;
        color: #000;
        padding: 14px 28px;
        text-decoration: none;
        font-weight: 700;
        letter-spacing: 0.1em;
        font-size: 13px;
        transition: all 0.12s;
      }
      .gl-cta a:hover { background: #66ff85; box-shadow: 0 0 20px rgba(0,255,65,0.4); }
      .gl-share { text-align: center; margin: 24px 0 64px; }
      .gl-share-label { font-size: 10px; color: #065a20; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 10px; }
      .gl-share-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
      .gl-share-btn {
        background: transparent; color: #00aa2a; border: 1px solid #0f3a0f;
        font-family: inherit; padding: 8px;
        width: 38px; height: 38px;
        cursor: pointer; transition: all 0.12s;
        display: inline-flex; align-items: center; justify-content: center; line-height: 1;
      }
      .gl-share-icon { width: 18px; height: 18px; display: block; pointer-events: none; }
      .gl-share-btn:hover { background: rgba(0,255,65,0.06); color: #00ff41; border-color: #00ff41; box-shadow: 0 0 12px rgba(0,255,65,0.2); }
      .gl-share-btn-ok { color: #00ff41; border-color: #00ff41; background: rgba(0,255,65,0.08); }

      /* ===== mobile: keep the table inside the viewport ===== */
      @media (max-width: 600px) {
        .gl-wrap { padding: 16px; }
        .gl-board { padding: 12px; }
        .gl-table { font-size: 12px; }
        .gl-table th, .gl-table td { padding: 8px 6px; }
        /* "When" column is least essential — drop it first */
        .gl-table th:nth-child(6), .gl-table td:nth-child(6) { display: none; }
      }
      @media (max-width: 380px) {
        /* On the tiniest screens, also hide "AI" — agent + time + tries are the story */
        .gl-table th:nth-child(3), .gl-table td:nth-child(3) { display: none; }
      }

      /* ==================================================================
         Prize banner + countdown — for the weekly-contest variant.
         ================================================================== */
      .gl-prize-banner {
        border: 1px solid #0f3a0f;
        background: linear-gradient(180deg, rgba(0,255,65,0.04), rgba(0,255,65,0.01));
        padding: 18px 16px 14px;
        margin: 16px 0 24px;
      }
      .gl-prize-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin-bottom: 14px;
      }
      .gl-prize {
        text-align: center;
        padding: 10px 8px;
        border: 1px dashed #0f3a0f;
        background: rgba(0,0,0,0.4);
      }
      .gl-prize-rank {
        display: block;
        font-size: 11px;
        letter-spacing: 0.3em;
        color: #00cc33;
        margin-bottom: 4px;
      }
      .gl-prize-reward {
        display: block;
        font-size: 15px;
        font-weight: 700;
        color: #00ff41;
        letter-spacing: 0.04em;
        margin-bottom: 4px;
      }
      .gl-prize-note {
        display: block;
        font-size: 10px;
        color: #065a20;
        letter-spacing: 0.06em;
      }
      .gl-countdown-row {
        display: flex;
        gap: 10px;
        justify-content: center;
        align-items: baseline;
        flex-wrap: wrap;
        font-size: 12px;
        color: #00aa2a;
        border-top: 1px dotted #0f3a0f;
        padding-top: 10px;
      }
      .gl-countdown-label {
        color: #065a20;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        font-size: 10px;
      }
      .gl-countdown {
        color: #00ff41;
        font-weight: 700;
        font-size: 14px;
        letter-spacing: 0.05em;
      }
      .gl-countdown-note {
        color: #065a20;
        font-size: 10px;
        letter-spacing: 0.08em;
      }
      @media (max-width: 540px) {
        .gl-prize-row { grid-template-columns: 1fr; gap: 8px; }
        .gl-prize { padding: 8px; }
      }

      /* ==================================================================
         Scope tabs — Weekly / All-Time / Hall of Fame
         ================================================================== */
      .gl-scope-tabs {
        display: flex;
        gap: 6px;
        justify-content: center;
        flex-wrap: wrap;
        margin: 0 0 16px;
      }
      .gl-scope-tab {
        background: transparent;
        border: 1px solid #0f3a0f;
        color: #065a20;
        font-family: inherit;
        font-size: 11px;
        padding: 8px 18px;
        cursor: pointer;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        transition: all 0.12s;
      }
      .gl-scope-tab:hover { color: #00ff41; border-color: #00ff41; }
      .gl-scope-tab.active {
        background: rgba(0,255,65,0.08);
        color: #00ff41;
        border-color: #00ff41;
        font-weight: 700;
      }

      /* ==================================================================
         Hall of Fame — one block per past week, table per week.
         ================================================================== */
      .gl-hall-week { margin-bottom: 28px; }
      .gl-hall-week:last-child { margin-bottom: 0; }
      .gl-hall-weekhead {
        font-size: 11px;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: #00cc33;
        border-bottom: 1px dashed #0f3a0f;
        padding-bottom: 6px;
        margin-bottom: 10px;
      }

