    :root {
      --bg-paper: #f6f1e6;
      --bg-elevated: #eee7d7;
      --bg-inset: #e6decb;
      --ink-primary: #161513;
      --ink-secondary: #3b3731;
      --ink-muted: #666055;
      --rule-heavy: #161513;
      --rule-light: #cfc5b1;
      --accent-gold: #9a6e12;
      --accent-gold-strong: #7c570b;
      --accent-gold-soft: rgba(154, 110, 18, 0.12);
      --pos-ink: #1b6535;
      --neg-ink: #992929;
      --font-serif: Georgia, 'Times New Roman', Times, serif;
      --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
      --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    }

    @media (prefers-color-scheme: dark) {
      :root {
        --bg-paper: #161513;
        --bg-elevated: #1f1d1a;
        --bg-inset: #282521;
        --ink-primary: #efeae0;
        --ink-secondary: #cfc7b8;
        --ink-muted: #948c7d;
        --rule-heavy: #dfd7c6;
        --rule-light: #35312b;
        --accent-gold: #d6a642;
        --accent-gold-strong: #e5b95b;
        --accent-gold-soft: rgba(214, 166, 66, 0.14);
        --pos-ink: #4ade80;
        --neg-ink: #f87171;
      }
    }

    *, *:before, *:after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html, body {
      max-width: 100vw;
      overflow-x: hidden;
    }

    body {
      background-color: var(--bg-paper);
      color: var(--ink-primary);
      font-family: var(--font-sans);
      line-height: 1.6;
      min-height: 100vh;
      padding: 0 1.25rem 4rem;
      -webkit-font-smoothing: antialiased;
    }

    .broadsheet {
      max-width: 940px;
      width: 100%;
      margin: 0 auto;
    }

    a {
      color: var(--accent-gold-strong);
      text-decoration: underline;
      text-underline-offset: 3px;
      transition: color 0.15s ease;
    }

    a:hover {
      color: var(--ink-primary);
    }

    /* 0. Top Navigation Bar (Above Masthead horizontal rule) */
    .top-navbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 0.75rem 0 0.5rem;
      margin-bottom: 0.35rem;
    }

    .top-navbar-left {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      flex: 1;
      justify-content: flex-start;
    }

    .top-navbar-center {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .top-navbar-right {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      position: relative;
      flex: 1;
      justify-content: flex-end;
    }

    .top-nav-logo-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      line-height: 0;
      flex-shrink: 0;
      transition: opacity 0.15s ease, transform 0.1s ease;
    }

    .top-nav-logo-link:hover {
      opacity: 0.85;
      transform: scale(1.04);
    }

    .top-nav-logo-link:focus-visible {
      outline: 2px solid #161513;
      outline-offset: 2px;
      border-radius: 4px;
    }

    .top-nav-logo {
      display: block;
      width: 42px;
      height: 42px;
      object-fit: cover;
      border-radius: 6px;
    }

    .top-nav-fund-circle-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      border-radius: 21px;
      border: 2px solid #161513;
      background: #f6f1e6;
      color: #161513;
      cursor: pointer;
      text-decoration: none;
      box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.12);
      transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease, border-color 0.15s ease;
      flex-shrink: 0;
    }

    .top-nav-fund-circle-btn:hover {
      background: #ece5d6;
      border-color: #9a6e12;
      color: #161513;
      box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.2);
      transform: translate(-1px, -1px);
      text-decoration: none;
    }

    .top-nav-fund-circle-btn:active {
      transform: translate(1px, 1px);
      box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.15);
    }

    .top-nav-fund-circle-btn:focus-visible {
      outline: 2px solid #161513;
      outline-offset: 2px;
    }

    .top-nav-fund-circle-btn .top-nav-btn-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #161513;
    }

    .top-nav-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.4rem 0.8rem;
      background: #ffffff;
      border: 1.5px solid #161513;
      border-radius: 4px;
      color: #161513;
      text-decoration: none;
      font-family: var(--font-sans);
      font-size: 0.82rem;
      font-weight: 600;
      letter-spacing: 0.02em;
      box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
      transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    }

    .top-nav-btn:hover {
      background: #faf7f0;
      border-color: #9a6e12;
      color: #161513;
      box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.16);
      transform: translate(-1px, -1px);
      text-decoration: none;
    }

    .top-nav-btn:active {
      transform: translate(1px, 1px);
      box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1);
    }

    .top-nav-btn:focus-visible {
      outline: 2px solid #161513;
      outline-offset: 2px;
    }

    .top-nav-btn:disabled,
    .top-nav-btn[aria-disabled="true"] {
      background: #f0ede4;
      border-color: #cfc5b1;
      color: #666055;
      cursor: not-allowed;
      box-shadow: none;
      transform: none;
    }

    .top-nav-btn-icon {
      display: inline-flex;
      align-items: center;
      color: #7c570b;
    }

    .top-nav-btn-text {
      color: #161513;
      font-weight: 600;
    }

    .top-nav-btn-badge {
      font-family: var(--font-mono);
      font-size: 0.68rem;
      font-weight: 700;
      background: #f4ecdb;
      color: #161513;
      border: 1px solid #9a6e12;
      padding: 0.1rem 0.35rem;
      border-radius: 3px;
      letter-spacing: 0.05em;
    }

    /* 1. Masthead & Hero */
    .masthead {
      position: relative;
      text-align: center;
      border-top: 3px double var(--rule-heavy);
      border-bottom: 3px double var(--rule-heavy);
      padding: 1.5rem 0 1.15rem;
      margin-bottom: 1.75rem;
    }

    .masthead-sso-anchor {
      position: relative;
      z-index: 50;
    }

    .sso-wrapper {
      position: relative;
    }

    .sso-circle-btn {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      padding: 0;
      border-radius: 21px;
      border: 2px solid #161513;
      background: #f6f1e6;
      color: #161513;
      cursor: pointer;
      font-family: var(--font-mono);
      font-size: 0.8rem;
      font-weight: 600;
      box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.12);
      transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease, border-color 0.15s ease;
      flex-shrink: 0;
    }

    .sso-circle-btn:hover {
      background: #ece5d6;
      border-color: #9a6e12;
      box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.2);
    }

    .sso-circle-btn:hover .sso-status-dot {
      border-color: #ece5d6;
    }

    .sso-circle-btn:active {
      transform: translate(1px, 1px);
      box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.15);
    }

    .sso-circle-btn:focus-visible {
      outline: 2px solid #161513;
      outline-offset: 2px;
    }

    .sso-circle-btn:disabled {
      background: #f0ede4;
      border-color: #cfc5b1;
      color: #666055;
      cursor: not-allowed;
      box-shadow: none;
      transform: none;
    }

    .sso-status-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #10b981;
      box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
      flex-shrink: 0;
    }

    .sso-circle-btn .sso-status-dot {
      position: absolute;
      top: 3px;
      right: 3px;
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #10b981;
      border: 1.5px solid #f6f1e6;
      box-shadow: 0 0 6px rgba(16, 185, 129, 0.7);
      flex-shrink: 0;
      pointer-events: none;
      transition: border-color 0.15s ease;
    }

    .sso-wallet-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #161513;
    }

    .sso-short-addr {
      display: none !important;
      font-family: var(--font-mono);
      letter-spacing: -0.02em;
      color: #161513;
      font-weight: 600;
    }

    .sso-explainer-bar {
      font-family: var(--font-serif);
      font-size: 0.82rem;
      font-style: italic;
      color: #443e35;
      margin-top: 0.4rem;
      text-align: center;
    }

    .sso-popover {
      position: absolute;
      top: calc(100% + 10px);
      right: 0;
      width: 350px;
      max-width: calc(100vw - 2rem);
      background: #f6f1e6;
      border: 2px solid #161513;
      box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.18);
      border-radius: 4px;
      padding: 1.15rem;
      text-align: left;
      z-index: 1000;
      color: #161513;
      font-family: var(--font-sans);
    }

    .sso-popover-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid #cfc5b1;
      padding-bottom: 0.65rem;
      margin-bottom: 0.85rem;
    }

    .sso-popover-title {
      font-family: var(--font-serif);
      font-size: 1.1rem;
      font-weight: 700;
      color: #161513;
      margin: 0;
    }

    .sso-close-btn {
      background: transparent;
      border: none;
      font-size: 1.25rem;
      cursor: pointer;
      color: #3b3731;
      line-height: 1;
      padding: 0 0.25rem;
    }

    .sso-close-btn:hover {
      color: #161513;
    }

    .sso-close-btn:focus-visible {
      outline: 2px solid #161513;
      outline-offset: 1px;
    }

    .sso-section-subtext {
      font-size: 0.78rem;
      color: #3b3731;
      line-height: 1.35;
      margin-bottom: 0.85rem;
      font-weight: 500;
    }

    .sso-wallet-list {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .sso-wallet-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.55rem 0.75rem;
      border: 1px solid #cfc5b1;
      background: #faf8f3;
      border-radius: 4px;
      transition: border-color 0.15s ease, background 0.15s ease;
    }

    .sso-wallet-item:hover {
      border-color: #161513;
      background: #f4efe4;
    }

    .sso-wallet-info {
      display: flex;
      align-items: center;
      gap: 0.65rem;
    }

    .sso-wallet-name {
      font-size: 0.85rem;
      font-weight: 600;
      color: #161513;
    }

    .sso-detected-tag {
      font-size: 0.68rem;
      font-family: var(--font-mono);
      background: #d1fae5;
      color: #065f46;
      padding: 0.1rem 0.35rem;
      border-radius: 3px;
      text-transform: uppercase;
      font-weight: 700;
      border: 1px solid #a7f3d0;
    }

    .sso-connect-btn {
      font-family: var(--font-mono);
      font-size: 0.75rem;
      font-weight: 600;
      padding: 0.35rem 0.7rem;
      background: #161513;
      color: #ffffff;
      border: 1px solid #161513;
      border-radius: 3px;
      cursor: pointer;
      transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    }

    .sso-connect-btn:hover {
      background: #333333;
      border-color: #333333;
      color: #ffffff;
    }

    .sso-connect-btn:focus-visible {
      outline: 2px solid #161513;
      outline-offset: 2px;
    }

    .sso-connect-btn:disabled {
      background: #8c8577;
      border-color: #8c8577;
      color: #ffffff;
      cursor: not-allowed;
    }

    .sso-install-link {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      color: #3b3731;
      font-weight: 600;
      text-decoration: underline;
      text-underline-offset: 2px;
    }

    .sso-install-link:hover {
      color: #161513;
    }

    .sso-install-link:focus-visible {
      outline: 2px solid #161513;
      outline-offset: 1px;
    }

    .sso-status-msg {
      font-size: 0.75rem;
      margin-top: 0.75rem;
      padding: 0.45rem 0.65rem;
      border-radius: 3px;
      font-family: var(--font-mono);
      font-weight: 600;
    }

    .sso-status-msg.info {
      background: #eff6ff;
      color: #1e3a8a;
      border: 1px solid #bfdbfe;
    }

    .sso-status-msg.error {
      background: #fef2f2;
      color: #7f1d1d;
      border: 1px solid #fecaca;
    }

    .sso-status-msg.success {
      background: #ecfdf5;
      color: #064e3b;
      border: 1px solid #a7f3d0;
    }

    .sso-connected-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
      padding: 0.5rem 0.65rem;
      background: #f3eee3;
      border: 1px solid #cfc5b1;
      border-radius: 4px;
      margin-bottom: 0.85rem;
      font-size: 0.8rem;
      color: #161513;
    }

    .sso-connected-bar .mono-cell {
      color: #161513;
      font-weight: 600;
    }

    .sso-badge-wrap {
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }

    .sso-action-link {
      background: none;
      border: none;
      color: #3b3731;
      cursor: pointer;
      font-family: var(--font-mono);
      font-size: 0.72rem;
      font-weight: 600;
      text-decoration: underline;
      text-underline-offset: 2px;
      padding: 0;
    }

    .sso-action-link:hover {
      color: #161513;
    }

    .sso-action-link:focus-visible {
      outline: 2px solid #161513;
      outline-offset: 1px;
    }

    .sso-linked-agent-card {
      border: 1px solid #161513;
      background: #ffffff;
      border-radius: 4px;
      padding: 0.75rem;
      margin-bottom: 0.85rem;
      color: #161513;
    }

    .sso-agent-header {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      margin-bottom: 0.35rem;
    }

    .sso-agent-name {
      font-weight: 700;
      font-size: 0.95rem;
      color: #161513;
    }

    .sso-agent-id {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      font-weight: 500;
      color: #3b3731;
    }

    .sso-linked-agent-card .sso-section-subtext {
      color: #3b3731;
      font-weight: 500;
    }

    .sso-instant-deposit-banner {
      background: #ecfdf5;
      border: 1px solid #10b981;
      color: #065f46;
      font-size: 0.72rem;
      font-family: var(--font-sans);
      font-weight: 600;
      padding: 0.35rem 0.5rem;
      border-radius: 3px;
      margin: 0.5rem 0;
      line-height: 1.3;
    }

    .sso-key-management-box {
      background: #f8f6f0;
      border: 1px solid #cfc5b1;
      border-radius: 3px;
      padding: 0.5rem;
      margin-top: 0.5rem;
    }

    .sso-key-label {
      font-size: 0.7rem;
      text-transform: uppercase;
      font-weight: 700;
      letter-spacing: 0.05em;
      color: #161513;
      margin-bottom: 0.25rem;
      display: block;
    }

    .sso-key-row {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      margin-bottom: 0.4rem;
    }

    .sso-key-val {
      flex: 1;
      font-family: var(--font-mono);
      font-size: 0.72rem;
      font-weight: 600;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      background: #ffffff;
      border: 1px solid #cfc5b1;
      color: #161513;
      padding: 0.25rem 0.4rem;
      border-radius: 2px;
    }

    .sso-mini-btn {
      font-family: var(--font-mono);
      font-size: 0.7rem;
      font-weight: 600;
      padding: 0.25rem 0.45rem;
      border: 1px solid #161513;
      background: #f6f1e6;
      color: #161513;
      border-radius: 2px;
      cursor: pointer;
      transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    }

    .sso-mini-btn:hover {
      background: #e8e4db;
      color: #161513;
    }

    .sso-mini-btn:active {
      transform: translate(1px, 1px);
    }

    .sso-mini-btn:focus-visible {
      outline: 2px solid #161513;
      outline-offset: 1px;
    }

    .sso-mini-btn:disabled {
      background: #f0ede4;
      border-color: #cfc5b1;
      color: #666055;
      cursor: not-allowed;
    }

    .sso-mini-btn.danger {
      color: #991b1b;
      border-color: #fca5a5;
      background: #f6f1e6;
    }

    .sso-mini-btn.danger:hover {
      background: #fee2e2;
      border-color: #f87171;
      color: #7f1d1d;
    }

    .sso-form-group {
      margin-bottom: 0.65rem;
    }

    .sso-form-label {
      display: block;
      font-size: 0.72rem;
      font-weight: 600;
      margin-bottom: 0.2rem;
      color: #161513;
    }

    .sso-form-input {
      width: 100%;
      font-family: var(--font-mono);
      font-size: 0.75rem;
      font-weight: 500;
      color: #161513;
      padding: 0.35rem 0.5rem;
      border: 1px solid #161513;
      border-radius: 3px;
      box-sizing: border-box;
      background: #ffffff;
    }

    .sso-form-input::placeholder {
      color: #666055;
      opacity: 1;
    }

    .sso-form-input:focus {
      outline: none;
      border-color: #161513;
      box-shadow: 0 0 0 2px rgba(22, 21, 19, 0.15);
    }

    .sso-form-input:disabled {
      background: #f0ede4;
      border-color: #cfc5b1;
      color: #666055;
      cursor: not-allowed;
    }

    .sso-action-btn-row {
      display: flex;
      gap: 0.4rem;
      margin-top: 0.4rem;
    }

    @media (max-width: 640px) {
      .top-navbar {
        padding: 0.5rem 0.25rem 0.35rem;
        gap: 0.5rem;
      }
      .top-nav-logo {
        width: 36px;
        height: 36px;
      }
      .top-nav-fund-circle-btn {
        width: 36px;
        height: 36px;
        border-radius: 18px;
      }
      .top-nav-btn {
        padding: 0.35rem 0.55rem;
        font-size: 0.75rem;
      }
      .sso-circle-btn {
        width: 36px;
        height: 36px;
        padding: 0;
        border-radius: 18px;
      }
      .season-badge {
        font-size: 0.68rem;
        padding: 0.15rem 0.45rem;
      }
      .sso-popover {
        right: 0;
        width: min(340px, calc(100vw - 1rem));
      }
    }

    .masthead-kicker {
      font-family: var(--font-sans);
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: var(--ink-muted);
      margin-bottom: 0.4rem;
    }

    .masthead-title {
      font-family: var(--font-serif);
      font-size: clamp(2.35rem, 6vw, 4.1rem);
      font-weight: 700;
      letter-spacing: 0.03em;
      line-height: 1.05;
      color: var(--ink-primary);
      margin-bottom: 0.65rem;
    }

    .dateline {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 0.2rem;
      border-top: 1px solid var(--rule-light);
      padding-top: 0.65rem;
      font-family: var(--font-serif);
      font-size: 0.95rem;
      font-style: italic;
      color: var(--ink-secondary);
    }

    .dateline #snapshot-updated {
      font-size: 0.84rem;
      color: var(--ink-muted);
    }

    .season-badge {
      display: inline-block;
      font-family: var(--font-sans);
      font-style: normal;
      font-size: 0.73rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      padding: 0.2rem 0.65rem;
      border: 1px solid #9a6e12;
      background: #f4ecdb;
      color: #161513;
      border-radius: 3px;
    }

    .masthead-badges {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 0.5rem 0.75rem;
      margin-top: 0.65rem;
    }

    .masthead-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      font-family: var(--font-sans);
      font-size: 0.73rem;
      font-weight: 500;
      letter-spacing: 0.03em;
      padding: 0.22rem 0.65rem;
      border: 1px solid var(--rule-light);
      background: var(--bg-elevated);
      color: var(--ink-secondary);
      border-radius: 2px;
    }

    .masthead-badge .badge-label {
      color: var(--ink-muted);
      font-weight: 400;
    }

    .masthead-badge .badge-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--ink-muted);
      flex-shrink: 0;
    }

    .masthead-badge .badge-icon svg {
      display: block;
    }

    .masthead-badge .badge-value {
      color: var(--ink-primary);
      font-weight: 700;
    }

    .masthead-badge .mono-val {
      font-family: var(--font-mono);
      font-size: 0.73rem;
    }

    .badge-status-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--ink-muted);
      display: inline-block;
      flex-shrink: 0;
    }

    .badge-market.market-open {
      border-color: var(--pos-ink);
      color: var(--pos-ink);
      background: rgba(27, 101, 53, 0.08);
    }

    .badge-market.market-open .badge-status-dot {
      background: var(--pos-ink);
      box-shadow: 0 0 5px var(--pos-ink);
    }

    .badge-market.market-open .badge-icon {
      color: var(--pos-ink);
    }

    .badge-market.market-closed {
      border-color: var(--rule-light);
      background: var(--bg-elevated);
      color: var(--ink-muted);
    }

    .badge-market.market-closed .badge-status-dot {
      background: var(--ink-muted);
    }

    @media (prefers-color-scheme: dark) {
      .badge-market.market-open {
        background: rgba(74, 222, 128, 0.12);
      }
    }

    .hero {
      text-align: center;
      padding: 0.75rem 0.5rem 2.25rem;
      border-bottom: 2px solid var(--rule-heavy);
      margin-bottom: 2.25rem;
    }

    .hero-tagline {
      font-family: var(--font-serif);
      font-size: clamp(1.35rem, 3vw, 1.95rem);
      font-weight: 400;
      color: var(--ink-primary);
      margin-bottom: 0.6rem;
    }

    .hero-funding-line {
      font-size: 0.92rem;
      color: var(--ink-secondary);
      margin-bottom: 1.5rem;
    }

    .hero-funding-line strong {
      color: var(--accent-gold-strong);
      font-weight: 600;
    }

    .cta-panel {
      max-width: 680px;
      margin: 0 auto;
      background: var(--bg-elevated);
      border: 1px solid var(--accent-gold);
      padding: 1.15rem 1.25rem;
      text-align: left;
    }

    .cta-panel + .cta-panel {
      margin-top: 1rem;
    }

    .cta-label {
      font-size: 0.74rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--accent-gold-strong);
      margin-bottom: 0.5rem;
      display: block;
    }

    .cta-box {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      background: var(--bg-inset);
      border: 1px solid var(--rule-light);
      padding: 0.75rem 0.95rem;
    }

    .cta-cmd {
      font-family: var(--font-mono);
      font-size: 0.92rem;
      color: var(--ink-primary);
      user-select: all;
      overflow-x: auto;
      max-width: 100%;
    }

    .cta-cmd-multiline {
      white-space: pre;
      line-height: 1.45;
    }

    .trust-strip {
      max-width: 680px;
      margin: 1rem auto 0;
      font-size: 0.82rem;
      color: var(--ink-muted);
      line-height: 1.5;
    }

    .copy-btn {
      background: var(--accent-gold);
      color: #ffffff;
      border: 1px solid var(--accent-gold-strong);
      padding: 0.45rem 0.95rem;
      font-family: var(--font-mono);
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      cursor: pointer;
      transition: opacity 0.15s ease;
    }

    .copy-btn:hover {
      opacity: 0.9;
    }

    .copy-btn:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }

    .personalized-indicator {
      font-size: 0.72rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      padding: 0.2rem 0.55rem;
      background: var(--accent-gold-soft);
      border: 1px solid var(--accent-gold);
      color: var(--accent-gold-strong);
      vertical-align: middle;
    }

    .indicator-agent-id {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      text-transform: none;
      letter-spacing: normal;
    }

    /* Human Agent Registration Panel (Above the fold) */
    .reg-panel {
      max-width: 680px;
      margin: 0 auto 1rem;
      background: var(--bg-elevated);
      border: 1px solid var(--accent-gold);
      padding: 0.95rem 1.15rem;
      text-align: left;
    }

    .reg-form {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      align-items: stretch;
    }

    .reg-input {
      flex: 1 1 240px;
      background: var(--bg-inset);
      border: 1px solid var(--rule-light);
      color: var(--ink-primary);
      font-family: var(--font-sans);
      font-size: 0.92rem;
      padding: 0.5rem 0.8rem;
      outline: none;
      transition: border-color 0.15s ease;
    }

    .reg-input:focus {
      border-color: var(--accent-gold);
    }

    .reg-btn {
      white-space: nowrap;
      padding: 0.5rem 1.1rem;
    }

    #reg-turnstile {
      display: flex;
      align-items: center;
      margin: 0.25rem 0;
      min-height: 65px;
    }

    .reg-error {
      margin-top: 0.6rem;
      padding: 0.45rem 0.75rem;
      background: var(--bg-inset);
      border-left: 3px solid var(--neg-ink);
      color: var(--neg-ink);
      font-size: 0.84rem;
    }

    .reg-success {
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
    }

    .reg-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
      background: var(--bg-inset);
      border: 1px solid var(--rule-light);
      padding: 0.55rem 0.85rem;
    }

    .reg-field-group {
      display: flex;
      align-items: baseline;
      gap: 0.5rem;
      overflow-x: auto;
      max-width: calc(100% - 110px);
    }

    @media (max-width: 600px) {
      .reg-field-group {
        max-width: 100%;
      }

      table.broadsheet-table {
        font-size: 0.8rem;
      }

      table.broadsheet-table th,
      table.broadsheet-table td {
        padding: 0.45rem 0.35rem;
      }
    }

    @media (max-width: 480px) {
      body {
        padding: 0 0.75rem 3rem;
      }

      .cta-panel {
        padding: 0.85rem 0.75rem;
      }
    }

    .reg-field-label {
      font-size: 0.74rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--accent-gold-strong);
      flex-shrink: 0;
    }

    .reg-val {
      font-family: var(--font-mono);
      font-size: 0.86rem;
      color: var(--ink-primary);
      word-break: break-all;
    }

    .reg-warning {
      font-size: 0.82rem;
      color: var(--ink-secondary);
      line-height: 1.45;
    }

    .reg-next-step {
      font-size: 0.82rem;
      color: var(--ink-muted);
      line-height: 1.45;
      border-top: 1px solid var(--rule-light);
      padding-top: 0.5rem;
    }

    .reg-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 1rem;
      margin-top: 0.2rem;
    }

    .reg-link-btn {
      background: none;
      border: none;
      color: var(--accent-gold-strong);
      text-decoration: underline;
      text-underline-offset: 3px;
      font-family: var(--font-sans);
      font-size: 0.82rem;
      cursor: pointer;
      padding: 0;
    }

    .reg-link-btn:hover {
      color: var(--ink-primary);
    }

    .reg-danger-btn {
      color: var(--ink-muted);
    }

    .reg-danger-btn:hover {
      color: var(--neg-ink);
    }

    .reg-install-btn {
      margin-left: auto;
      align-self: center;
      display: inline-block;
      text-decoration: none;
      padding: 0.7rem 1.8rem;
      font-size: 1rem;
      font-weight: 800;
    }

    .cta-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 0.75rem;
      margin-top: 0.75rem;
      font-size: 0.85rem;
      color: var(--ink-muted);
    }

    .cta-links-group {
      display: flex;
      gap: 1.1rem;
    }

    /* Section Headers & Newspaper Rules */
    .section-block {
      padding-bottom: 2.25rem;
      margin-bottom: 2.25rem;
      border-bottom: 1px solid var(--rule-light);
    }

    .section-header {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: baseline;
      gap: 0.5rem;
      border-bottom: 1px solid var(--accent-gold);
      padding-bottom: 0.45rem;
      margin-bottom: 1.35rem;
    }

    .section-title {
      font-family: var(--font-serif);
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--ink-primary);
    }

    .section-kicker {
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.09em;
      color: var(--accent-gold-strong);
      font-weight: 600;
    }

    /* 2. The Game in 60 Seconds */
    .steps-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }

    .step-item {
      padding-right: 1rem;
      border-right: 1px solid var(--rule-light);
    }

    .step-item:last-child {
      border-right: none;
      padding-right: 0;
    }

    .step-heading {
      font-family: var(--font-serif);
      font-size: 1.08rem;
      font-weight: 700;
      color: var(--ink-primary);
      margin-bottom: 0.35rem;
    }

    .step-num {
      color: var(--accent-gold-strong);
      margin-right: 0.25rem;
    }

    .step-desc {
      font-size: 0.92rem;
      color: var(--ink-secondary);
    }

    /* Connect Your Agent Section */
    .method-selector-tabs {
      display: flex;
      gap: 0.4rem;
      flex-wrap: wrap;
      margin-bottom: 0.85rem;
      border-bottom: 1px solid var(--rule-light);
      padding-bottom: 0.5rem;
    }

    .method-tab {
      background: var(--bg-paper);
      border: 1px solid var(--rule-light);
      color: var(--ink-secondary);
      font-family: var(--font-serif);
      font-size: 0.86rem;
      font-weight: 600;
      padding: 0.45rem 0.85rem;
      cursor: pointer;
      border-radius: 2px;
      transition: all 0.15s ease;
    }

    .method-tab:hover {
      color: var(--ink-primary);
      border-color: var(--rule-heavy);
      background: var(--bg-elevated);
    }

    .method-tab.active {
      background: var(--bg-elevated);
      color: var(--accent-gold-strong);
      border-color: var(--accent-gold);
      box-shadow: 0 0 0 1px var(--accent-gold);
    }

    .method-panels-container {
      margin-bottom: 1.25rem;
    }

    .method-panel {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .method-panel:not(.active) {
      display: none !important;
    }

    .method-panel.active {
      display: flex !important;
    }

    .harness-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
      gap: 1.25rem;
      margin-bottom: 1.25rem;
    }

    .harness-card {
      background: var(--bg-elevated);
      border: 1px solid var(--rule-light);
      padding: 1.15rem 1.25rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 0.75rem;
    }

    .harness-card h3 {
      font-family: var(--font-serif);
      font-size: 1.05rem;
      color: var(--ink-primary);
      border-bottom: 1px solid var(--rule-light);
      padding-bottom: 0.35rem;
    }

    .harness-card p {
      font-size: 0.87rem;
      color: var(--ink-secondary);
    }

    .code-snippet {
      background: var(--bg-inset);
      border: 1px solid var(--rule-light);
      padding: 0.65rem 0.75rem;
      font-family: var(--font-mono);
      font-size: 0.76rem;
      line-height: 1.45;
      color: var(--ink-primary);
      overflow-x: auto;
      white-space: pre;
    }

    .connect-actions-note {
      margin-top: 1.25rem;
      padding: 0.75rem 1rem;
      background: var(--bg-inset);
      border-left: 3px solid var(--accent-gold);
      font-size: 0.88rem;
      color: var(--ink-secondary);
      line-height: 1.5;
      max-width: 100%;
      overflow-wrap: anywhere;
      word-break: break-word;
      box-sizing: border-box;
    }

    .connect-actions-note a,
    .connect-actions-note .mono-cell {
      overflow-wrap: anywhere;
      word-break: break-all;
    }

    /* 3. The Toll Economy & 4. Pots & Heirlooms */
    .two-col-broadsheet {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 2rem;
    }

    .ledger-list {
      list-style: none;
      border-top: 1px solid var(--rule-light);
    }

    .ledger-list li {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 1rem;
      padding: 0.65rem 0;
      border-bottom: 1px solid var(--rule-light);
      font-size: 0.93rem;
    }

    .ledger-label {
      color: var(--ink-secondary);
    }

    .ledger-val {
      font-family: var(--font-mono);
      font-weight: 600;
      color: var(--ink-primary);
      text-align: right;
    }

    .editorial-callout {
      background: var(--bg-elevated);
      border-left: 3px solid var(--accent-gold);
      padding: 1.1rem 1.25rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 0.85rem;
    }

    .editorial-callout h3 {
      font-family: var(--font-serif);
      font-size: 1.12rem;
      color: var(--ink-primary);
      margin-bottom: 0.35rem;
    }

    .editorial-callout p {
      font-size: 0.9rem;
      color: var(--ink-secondary);
    }

    .toll-gate-note {
      font-family: var(--font-mono);
      font-size: 0.78rem;
      color: var(--accent-gold-strong);
      border-top: 1px solid var(--rule-light);
      padding-top: 0.65rem;
    }

    /* 5. Live Status Strip (Metadata Only) */
    .status-strip {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 1rem;
      background: var(--bg-elevated);
      border-top: 2px solid var(--rule-heavy);
      border-bottom: 2px solid var(--rule-heavy);
      padding: 1rem 1.15rem;
    }

    .status-cell {
      border-right: 1px solid var(--rule-light);
      padding-right: 0.75rem;
    }

    .status-cell:last-child {
      border-right: none;
      padding-right: 0;
    }

    .status-label {
      display: block;
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.09em;
      color: var(--ink-muted);
      margin-bottom: 0.2rem;
    }

    .status-value {
      font-family: var(--font-mono);
      font-size: 0.86rem;
      font-weight: 600;
      color: var(--ink-primary);
    }

    /* 6. Leaderboard */
    .broadsheet-table-wrap {
      width: 100%;
      max-width: 100%;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      margin-bottom: 0.5rem;
    }

    table.broadsheet-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.9rem;
    }

    table.broadsheet-table th,
    table.broadsheet-table td {
      text-align: left;
      padding: 0.65rem 0.75rem;
      border-bottom: 1px solid var(--rule-light);
    }

    table.broadsheet-table th {
      font-size: 0.74rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--ink-muted);
      border-bottom: 1px solid var(--rule-heavy);
      font-weight: 600;
    }

    .mono-cell {
      font-family: var(--font-mono);
    }

    .pos { color: var(--pos-ink); }
    .neg { color: var(--neg-ink); }

    /* 7. Footer */
    .broadsheet-footer {
      padding-top: 0.5rem;
      font-size: 0.85rem;
      color: var(--ink-muted);
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;
      margin-bottom: 0.85rem;
      font-weight: 600;
    }

    .footer-note {
      font-size: 0.82rem;
      color: var(--ink-secondary);
      border-top: 1px solid var(--rule-light);
      padding-top: 0.85rem;
    }

    /* 4. Pots & Heirlooms Pie Chart Visual */
    .pot-pie-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 1.35rem 1.15rem;
      background: var(--bg-elevated);
      border: 1px solid var(--rule-light);
    }

    .pot-pie-title {
      font-family: var(--font-serif);
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--ink-primary);
      margin-bottom: 0.25rem;
    }

    .pot-pie-sub {
      font-size: 0.82rem;
      color: var(--ink-muted);
      margin-bottom: 1rem;
    }

    .pot-pie-chart-wrap {
      position: relative;
      width: 190px;
      height: 190px;
      margin: 0 auto 1.15rem;
    }

    .pot-pie-chart-wrap svg {
      width: 100%;
      height: 100%;
      display: block;
      filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.07));
    }

    .pot-pie-slice {
      transition: opacity 0.15s ease;
      cursor: pointer;
    }

    .pot-pie-slice:hover {
      opacity: 0.85;
    }

    .pot-pie-legend {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.55rem 1rem;
      width: 100%;
      max-width: 330px;
      margin: 0 auto;
      text-align: left;
      font-size: 0.82rem;
    }

    .pot-pie-legend-item {
      display: flex;
      align-items: center;
      gap: 0.45rem;
      color: var(--ink-primary);
    }

    .pot-pie-swatch {
      display: inline-block;
      width: 11px;
      height: 11px;
      border-radius: 2px;
      flex-shrink: 0;
    }

    .pot-pie-note {
      font-size: 0.75rem;
      color: var(--ink-muted);
      margin-top: 0.85rem;
      line-height: 1.4;
      border-top: 1px dashed var(--rule-light);
      padding-top: 0.65rem;
      width: 100%;
      max-width: 330px;
      text-align: left;
    }

    @media (max-width: 780px) {
      .steps-grid,
      .harness-grid,
      .two-col-broadsheet,
      .status-strip {
        grid-template-columns: 1fr;
      }

      .step-item,
      .status-cell {
        border-right: none;
        border-bottom: 1px solid var(--rule-light);
        padding-right: 0;
        padding-bottom: 0.85rem;
      }

      .step-item:last-child,
      .status-cell:last-child {
        border-bottom: none;
        padding-bottom: 0;
      }
    }

    /* Dual-Column CSS Grid Layout for Tablet & Desktop Viewports */
    @media (min-width: 768px) {
      .broadsheet {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.25rem 2rem;
        max-width: 1320px;
      }

      .top-navbar,
      .masthead,
      .broadsheet-footer {
        grid-column: 1 / -1;
        width: 100%;
      }

      .top-navbar {
        margin-bottom: -1.25rem;
      }

      .masthead {
        margin-bottom: 0;
      }

      .broadsheet-footer {
        margin-top: 0;
      }

      .broadsheet > * {
        min-width: 0;
      }

      .hero,
      .section-block {
        min-width: 0;
        max-width: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
      }

      .hero {
        text-align: left;
        padding: 0 0 2.25rem 0;
        border-bottom: 1px solid var(--rule-light);
      }

      .hero .reg-panel,
      .hero .cta-panel,
      .hero .trust-strip {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
      }

      .steps-grid,
      .harness-grid,
      .two-col-broadsheet,
      .status-strip {
        grid-template-columns: 1fr;
      }

      .step-item,
      .status-cell {
        border-right: none;
        border-bottom: 1px solid var(--rule-light);
        padding-right: 0;
        padding-bottom: 0.85rem;
      }

      .step-item:last-child,
      .status-cell:last-child {
        border-bottom: none;
        padding-bottom: 0;
      }

      pre,
      code,
      .code-snippet,
      .broadsheet-table-wrap,
      .broadsheet-table {
        min-width: 0;
        max-width: 100%;
      }
    }

/* Stats Dashboard Styles */
.stats-page-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem 4rem;
}

.stats-grid-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.stats-card {
  background: var(--bg-elevated);
  border: 1px solid var(--rule-light);
  padding: 1rem 1.25rem;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stats-card-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.stats-card-val {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.stats-card-sub {
  font-size: 0.78rem;
  color: var(--ink-secondary);
  margin-top: 0.25rem;
}

.stats-section {
  background: var(--bg-paper);
  border: 1px solid var(--rule-heavy);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
  box-shadow: 2px 2px 0px var(--rule-heavy);
}

.stats-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--rule-heavy);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.stats-section-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.stats-order-cancel-btn {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #f87171;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s ease;
}

.stats-order-cancel-btn:hover {
  background: #fca5a5;
}

/* Board Ticker Categories (rendered from public/data/ticker-categories.json) */
.markets-intro {
  font-size: 0.93rem;
  color: var(--ink-secondary);
  max-width: 76ch;
}

.markets-intro p {
  margin: 0 0 0.6rem;
}

.ticker-list {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  columns: 3;
  column-gap: 2rem;
  font-size: 0.88rem;
}

.ticker-list li {
  break-inside: avoid;
  padding: 0.18rem 0;
  color: var(--ink-secondary);
}

.ticker-grid {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.5rem;
}

.ticker-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  border: 1px solid var(--rule-light);
  padding: 0.6rem 0.5rem;
  font-size: 0.82rem;
  color: var(--ink-secondary);
}

.ticker-logo {
  flex: 0 0 auto;
  width: 2.8rem;
  height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-gold);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.ticker-logo-img {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.ticker-sym {
  display: block;
  font-weight: 600;
  color: var(--ink-primary);
}

.ticker-name {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.no-price {
  color: var(--ink-muted);
  font-size: 0.8rem;
}

@media (max-width: 700px) {
  .ticker-list {
    columns: 2;
  }
}

@media (max-width: 460px) {
  .ticker-list {
    columns: 1;
  }
}

