    /* ── Icon system ───────────────────────────────────────────────────────── */
    .icon {
      display: inline-block;
      vertical-align: middle;
      flex-shrink: 0;
    }

    .icon-dk {
      color: #f4ead8;
    }

    .icon-lt {
      color: #2a1505;
    }

    .icon-muted {
      color: rgba(244, 234, 216, 0.6);
    }

    header {
      background: var(--brand-dark);
      border-bottom: 2px solid var(--brand-amber);
      padding: 0 20px;
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .nav-inner {
      max-width: 1400px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      gap: 12px;
      height: 44px;
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 7px;
      text-decoration: none;
    }

    .nav-logo img {
      height: 34px;
    }

    .nav-brand {
      font-family: 'Oswald', sans-serif;
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--brand-gold);
      letter-spacing: 1px;
      text-transform: uppercase;
    }

    .nav-right {
      margin-left: auto;
      display: flex;
      align-items: center;
      gap: 7px;
    }

    .nav-auth-btn {
      display: flex;
      align-items: center;
      gap: 4px;
      padding: 3px 9px;
      border-radius: var(--radius);
      font-family: 'Oswald', sans-serif;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.4px;
      text-decoration: none;
      transition: background 0.15s;
      cursor: pointer;
      border: 1px solid var(--brand-amber);
      color: var(--brand-cream);
      background: transparent;
    }

    .nav-auth-btn:hover {
      background: var(--brand-brown);
    }

    .nav-user-name {
      font-family: 'Oswald', sans-serif;
      font-size: 0.70rem;
      color: var(--brand-amber);
      letter-spacing: 0.3px;
    }

    /* ── Smart Search ─────────────────────────────────────── */
    #rr-search-wrap {
      position: relative;
      flex: 1;
      max-width: 380px;
      min-width: 180px;
    }

    #rr-search-box {
      display: flex;
      align-items: center;
      background: rgba(255, 255, 255, 0.10);
      border: 1.5px solid rgba(232, 169, 48, 0.45);
      border-radius: 20px;
      padding: 0 10px;
      gap: 6px;
      transition: border-color 0.15s, background 0.15s;
    }

    #rr-search-box:focus-within {
      background: rgba(255, 255, 255, 0.18);
      border-color: var(--brand-gold);
    }

    #rr-search-icon {
      font-size: 0.85rem;
      opacity: 0.7;
      flex-shrink: 0;
    }

    @keyframes rr-spin {
      from {
        transform: rotate(0deg);
      }

      to {
        transform: rotate(360deg);
      }
    }

    #rr-search-input {
      flex: 1;
      background: transparent;
      border: none;
      outline: none;
      color: var(--brand-cream);
      font-family: 'Source Sans 3', sans-serif;
      font-size: 0.82rem;
      padding: 4px 0;
      min-width: 0;
    }

    #rr-search-input::placeholder {
      color: rgba(244, 234, 216, 0.45);
    }

    #rr-search-clear {
      background: none;
      border: none;
      cursor: pointer;
      color: rgba(244, 234, 216, 0.5);
      font-size: 0.75rem;
      padding: 0;
      line-height: 1;
      flex-shrink: 0;
      display: none;
    }

    #rr-search-clear:hover {
      color: var(--brand-gold);
    }

    #rr-search-dropdown {
      display: none;
      position: absolute;
      top: calc(100% + 6px);
      left: 0;
      right: 0;
      background: var(--brand-dark);
      border: 1.5px solid var(--brand-amber);
      border-radius: 8px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
      z-index: 9999;
      max-height: 420px;
      overflow-y: auto;
    }

    #rr-search-dropdown.open {
      display: block;
    }

    .rr-sr-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 9px 14px;
      cursor: pointer;
      border-bottom: 1px solid rgba(212, 184, 150, 0.15);
      text-decoration: none;
      transition: background 0.1s;
    }

    .rr-sr-item:last-child {
      border-bottom: none;
    }

    .rr-sr-item:hover,
    .rr-sr-item.focused {
      background: var(--brand-brown);
    }

    .rr-sr-badge {
      font-family: 'Oswald', sans-serif;
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.6px;
      text-transform: uppercase;
      padding: 2px 7px;
      border-radius: 10px;
      flex-shrink: 0;
      min-width: 52px;
      text-align: center;
    }

    .rr-sr-badge-sport {
      background: #4a1a6e;
      color: #e0b8ff;
    }

    .rr-sr-badge-league {
      background: #0e3d6e;
      color: #a8d4ff;
    }

    .rr-sr-badge-team {
      background: #0e5c2a;
      color: #a0f0b8;
    }

    .rr-sr-badge-player {
      background: #6e3a0e;
      color: #ffd4a0;
    }

    .rr-sr-labels {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .rr-sr-label {
      font-family: 'Source Sans 3', sans-serif;
      font-size: 0.84rem;
      font-weight: 600;
      color: var(--brand-cream);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .rr-sr-sublabel {
      font-size: 0.72rem;
      color: var(--brand-amber);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .rr-sr-msg {
      padding: 14px 16px;
      font-size: 0.82rem;
      color: rgba(244, 234, 216, 0.5);
      text-align: center;
      font-style: italic;
    }

    /* ── Search cheat sheet ───────────────────────────────── */
    .rr-cs-wrap {
      padding: 10px 14px 12px;
    }

    .rr-cs-title {
      font-family: 'Oswald', sans-serif;
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--brand-amber);
      margin-bottom: 8px;
      opacity: 0.8;
    }

    .rr-cs-grid {
      display: flex;
      flex-direction: column;
      gap: 3px;
    }

    .rr-cs-row {
      display: grid;
      grid-template-columns: 62px 120px 1fr;
      align-items: center;
      gap: 8px;
      padding: 5px 8px;
      border-radius: 6px;
      transition: background 0.1s;
    }

    .rr-cs-row:hover {
      background: rgba(255, 255, 255, 0.06);
    }

    .rr-cs-active {
      background: rgba(232, 169, 48, 0.12) !important;
    }

    .rr-cs-badges {
      display: flex;
    }

    .rr-cs-codes {
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .rr-cs-code {
      font-family: 'Source Code Pro', 'Courier New', monospace;
      font-size: 0.75rem;
      background: rgba(255, 255, 255, 0.10);
      color: var(--brand-gold);
      padding: 1px 6px;
      border-radius: 4px;
      letter-spacing: 0.2px;
      border: 1px solid rgba(232, 169, 48, 0.25);
    }

    .rr-cs-active .rr-cs-code {
      background: rgba(232, 169, 48, 0.18);
      border-color: rgba(232, 169, 48, 0.5);
    }

    .rr-cs-or {
      font-size: 0.65rem;
      color: rgba(244, 234, 216, 0.35);
      font-style: italic;
    }

    .rr-cs-example {
      font-size: 0.72rem;
      color: rgba(244, 234, 216, 0.60);
      font-style: italic;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .rr-cs-active .rr-cs-example {
      color: rgba(244, 234, 216, 0.85);
    }

    .rr-cs-hint {
      margin-top: 10px;
      padding-top: 8px;
      border-top: 1px solid rgba(212, 184, 150, 0.12);
      font-size: 0.70rem;
      color: rgba(244, 234, 216, 0.52);
      text-align: center;
      font-style: italic;
    }

    /* ── PAGE CONTAINER ──────────────────────────────────── */

    /* ── Account dropdown ───────────────────────────────────────────────────── */
    #rr-acct-wrap {
      position: relative;
    }

    #rr-acct-btn {
      display: flex;
      align-items: center;
      gap: 5px;
      padding: 3px 9px;
      border-radius: var(--radius);
      font-family: 'Oswald', sans-serif;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.4px;
      border: 1px solid var(--brand-amber);
      color: var(--brand-cream);
      background: transparent;
      cursor: pointer;
      transition: background 0.15s;
    }

    #rr-acct-btn:hover,
    #rr-acct-btn.open {
      background: var(--brand-brown);
    }

    #rr-acct-caret {
      font-style: normal;
      font-size: 0.65rem;
      transition: transform 0.2s;
      line-height: 1;
    }

    #rr-acct-btn.open #rr-acct-caret {
      transform: rotate(180deg);
    }

    #rr-acct-menu {
      display: none;
      position: absolute;
      top: calc(100% + 6px);
      right: 0;
      background: var(--brand-dark);
      border: 1.5px solid var(--brand-amber);
      border-radius: 8px;
      min-width: 190px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
      z-index: 9999;
      overflow: hidden;
    }

    #rr-acct-menu.open {
      display: block;
    }

    /* ── Recent feature banner ──────────────────────────────────────────────── */
    #rr-feature-banner {
      /* Outer wrapper — full-width, no background of its own */
      padding: 8px 24px;
      /* matches page-wrap horizontal padding */
    }

    .rr-fb-inner {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 9px 16px;
      background: #e8f4f8;
      border: 1px solid #b0d4e3;
      border-radius: 8px;
      font-size: 0.84rem;
      flex-wrap: nowrap;
      max-width: 1400px;
      /* matches page-wrap max-width */
      margin: 0 auto;
    }

    .rr-fb-eyebrow {
      flex-shrink: 0;
      background: #2a7fa8;
      color: #fff;
      font-family: 'Oswald', sans-serif;
      font-size: 0.60rem;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      padding: 2px 7px;
      border-radius: 4px;
      white-space: nowrap;
      line-height: 1;
      position: relative;
      top: -1px;
    }

    .rr-fb-eyebrow-fix {
      background: #dc3545;
    }

    .rr-fb-title {
      flex-shrink: 0;
      font-family: 'Oswald', sans-serif;
      font-weight: 600;
      font-size: 0.90rem;
      color: #1a4a5e;
      white-space: nowrap;
      position: relative;
      top: -2px;
    }

    .rr-fb-sep {
      flex-shrink: 0;
      color: #a0bfcc;
      font-weight: 300;
      position: relative;
    }

    .rr-fb-desc {
      flex: 1;
      min-width: 0;
      font-size: 0.82rem;
      font-weight: 400;
      color: #3a6070;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      position: relative;
      top: 1px;
    }

    .rr-fb-desc-expanded {
      white-space: normal;
      overflow: visible;
      text-overflow: unset;
      flex-basis: 100%;
      order: 10;
    }

    /* Actions group (list icon + close) — always anchored to the right */
    .rr-fb-actions {
      display: flex;
      align-items: center;
      gap: 4px;
      margin-left: auto;
      flex-shrink: 0;
    }

    /* When description is expanded, allow the inner bar to wrap */
    .rr-fb-inner:has(.rr-fb-desc-expanded) {
      flex-wrap: wrap;
      align-items: flex-start;
    }

    .rr-fb-inner:has(.rr-fb-desc-expanded) .rr-fb-eyebrow {
      top: 3px;
    }

    .rr-fb-link {
      flex-shrink: 0;
      display: flex;
      align-items: center;
      color: #2a7fa8;
      text-decoration: none;
      padding: 3px 6px;
      border-radius: 4px;
      transition: background 0.12s, color 0.12s;
    }

    .rr-fb-link:hover {
      background: #c8e4ef;
      color: #1a4a5e;
    }

    .rr-fb-close {
      flex-shrink: 0;
      display: flex;
      align-items: center;
      background: none;
      border: none;
      color: #2a7fa8;
      cursor: pointer;
      padding: 3px 6px;
      border-radius: 4px;
      transition: background 0.12s, color 0.12s;
      margin-left: auto;
    }

    .rr-fb-close:hover {
      background: #c8e4ef;
      color: #1a4a5e;
    }