  /* Cabinet-only tokens. Do not override site :root --bg/--fg/--muted
     or the Arcade header (Playfair/Inter, black/white) goes off-chrome. */
  .page-bits-bytes{
    --panel: #0d0d0d;
    --line: #2b2b2b;
    --line-soft: #1a1a1a;
    --muted-2: #55534d;
    --shadow: 0 30px 80px -30px rgba(0,0,0,.85);
  }
  body.page-bits-bytes{
    background:var(--bg);
    color:var(--fg);
    font-family:Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
    min-height:100vh;
    -webkit-font-smoothing:antialiased;
  }

::selection{ background:var(--fg); color:var(--bg); }

  .wrap{
    max-width: 620px;
    margin: 0 auto;
    display:flex;
    flex-direction:column;
    gap: 28px;
  }
  .bnb-shell{
    padding: 24px 16px 48px;
  }
  .bnb-back{
    display:inline-flex;
    align-items:center;
    gap:0.4rem;
    font-size:11px;
    letter-spacing:0.18em;
    text-transform:uppercase;
    color:var(--muted);
    margin-bottom:8px;
  }
  .bnb-back:hover{ color:var(--fg); }
  .credit a{ color:var(--muted); }
  .credit a:hover{ color:var(--fg); }

  /* ---------- Masthead ---------- */
  .masthead{
    display:flex;
    flex-direction:column;
    gap:10px;
  }
  .eyebrow{
    font-size:11px;
    letter-spacing:.22em;
    color:var(--muted);
    text-transform:uppercase;
  }
  .title-row{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:20px;
    flex-wrap:wrap;
    border-bottom:1px solid var(--line);
    padding-bottom:18px;
  }
  .masthead h1{
    margin:0;
    font-family:"Playfair Display", "Times New Roman", Times, serif;
    font-weight:400;
    font-size: clamp(38px, 9vw, 68px);
    line-height:.94;
    letter-spacing:-.01em;
    text-wrap:balance;
  }
  .tagline{
    font-size:12px;
    line-height:1.6;
    color:var(--muted);
    letter-spacing:.03em;
    text-align:right;
    text-transform:uppercase;
    max-width:220px;
  }
  @media (max-width:480px){
    .tagline{ text-align:left; max-width:none; }
  }

  /* ---------- Cabinet ---------- */
  .cabinet{
    border:1px solid var(--line);
    background:var(--panel);
    box-shadow:var(--shadow);
    position:relative;
  }
  .cabinet::before{
    content:"";
    position:absolute; inset:6px;
    border:1px solid var(--line-soft);
    pointer-events:none;
  }

  .cab-header{
    display:flex;
    align-items:stretch;
    border-bottom:1px solid var(--line);
    position:relative;
    z-index:1;
  }
  .side{
    flex:1 1 0;
    padding: 16px 18px;
    display:flex;
    flex-direction:column;
    gap:6px;
    min-width:0;
  }
  .side.right{ align-items:flex-end; text-align:right; }
  .side-label{
    font-size:11px;
    letter-spacing:.2em;
    color:var(--muted);
  }
  .big-num{
    font-size:30px;
    font-weight:700;
    font-variant-numeric:tabular-nums;
    line-height:1;
  }
  .sub{
    font-size:11px;
    color:var(--muted-2);
    letter-spacing:.05em;
    font-variant-numeric:tabular-nums;
  }

  .mid{
    flex:0 0 auto;
    padding:16px 14px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:7px;
    border-left:1px solid var(--line);
    border-right:1px solid var(--line);
    position:relative;
    min-width:108px;
  }
  .mid-label{
    font-size:10px;
    letter-spacing:.2em;
    color:var(--muted);
  }
  .bits-pips{ display:flex; gap:3px; }
  .pip{
    width:7px; height:7px;
    border:1px solid var(--fg);
    background:var(--fg);
    transform:rotate(45deg);
    transition:opacity .2s, background .2s;
  }
  .pip.empty{ background:transparent; border-color:var(--muted-2); opacity:.5; }
  .mute-btn{
    position:absolute;
    top:6px; right:6px;
    width:22px; height:22px;
    border:1px solid var(--line);
    background:transparent;
    color:var(--muted);
    font-size:11px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
  }
  .mute-btn:hover{ color:var(--fg); border-color:var(--muted); }
  .mute-btn[aria-pressed="true"]{ color:var(--muted-2); text-decoration:line-through; }

  .dip-panel{
    border-bottom:1px solid var(--line);
    padding:12px 18px 14px;
    display:flex;
    flex-direction:column;
    gap:10px;
    position:relative;
    z-index:1;
  }
  .dip-row{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
  }
  .dip-label{
    font-size:10px;
    letter-spacing:.18em;
    color:var(--muted);
    flex:0 0 auto;
    width:82px;
  }
  .dip-switches{
    display:flex;
    flex-wrap:wrap;
    gap:4px;
  }
  .dip-switches button{
    font-family:inherit;
    font-size:10px;
    letter-spacing:.03em;
    padding:5px 10px;
    min-width:28px;
    background:transparent;
    border:1px solid var(--line);
    color:var(--muted);
    cursor:pointer;
    font-variant-numeric:tabular-nums;
  }
  .dip-switches button:hover{ border-color:var(--muted); color:var(--fg); }
  .dip-switches button.on{
    background:var(--fg);
    border-color:var(--fg);
    color:var(--bg);
    box-shadow:inset 0 1px 3px rgba(0,0,0,.35);
  }
  @media (max-width:480px){
    .dip-row{ flex-direction:column; align-items:flex-start; gap:6px; }
    .dip-label{ width:auto; }
  }

  .field-wrap{
    position:relative;
    line-height:0;
    touch-action:none;
    aspect-ratio:1/1;
  }
  canvas{
    display:block;
    width:100%;
    height:100%;
    background:var(--bg);
  }

  .overlay{
    position:absolute; inset:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    background:rgba(5,5,5,.88);
    text-align:center;
    padding:20px;
    cursor:auto;
  }
  .overlay.hidden{ display:none; }
  .ov-index{
    font-size:11px;
    letter-spacing:.2em;
    color:var(--muted);
  }
  .ov-title{
    font-family:"Playfair Display", "Times New Roman", Times, serif;
    font-weight:400;
    font-size: clamp(26px, 6vw, 38px);
    margin:2px 0 4px;
  }
  .ov-sub{
    font-size:12px;
    color:var(--muted);
    max-width:320px;
    line-height:1.6;
  }
  .ov-btn{
    margin-top:10px;
    background:transparent;
    border:1px solid var(--fg);
    color:var(--fg);
    font-family:inherit;
    font-size:13px;
    letter-spacing:.15em;
    padding:11px 22px;
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:8px;
    transition:background .15s, color .15s;
  }
  .ov-btn:hover{ background:var(--fg); color:var(--bg); }
  .chev{ transition:transform .15s; }
  .ov-btn:hover .chev{ transform:translateX(3px); }
  .best{
    font-size:11px;
    color:var(--muted-2);
    letter-spacing:.1em;
    margin-top:2px;
  }

  .flash{
    position:absolute; inset:0;
    display:flex; align-items:center; justify-content:center;
    font-family:"Playfair Display", "Times New Roman", Times, serif;
    font-weight:400;
    font-size:clamp(18px,4.6vw,28px);
    color:var(--fg);
    background:rgba(5,5,5,.5);
    opacity:0;
    pointer-events:none;
    letter-spacing:.03em;
    text-align:center;
    padding:0 16px;
  }

  .cab-footer{
    border-top:1px solid var(--line);
    padding:10px 18px;
    font-size:10px;
    letter-spacing:.18em;
    color:var(--muted-2);
    text-align:center;
    position:relative; z-index:1;
  }

  .credit{
    text-align:center;
    font-size:11px;
    color:var(--muted-2);
    letter-spacing:.08em;
  }
  .credit b{ color:var(--muted); font-weight:500; }

