  .tabs .n { background: var(--red); color: #fff; border-radius: 999px; padding: 0 6px; font-size: .68rem; margin-left: 4px; vertical-align: middle; }
  .lbhead { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 4px 0 6px; font-size: .85rem; color: var(--muted); }
  .lbhead .tabs { margin: 0; flex: 0 0 auto; } .lbhead .tab { padding: .4rem .8rem; font-size: .8rem; }
  .lbrow { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-top: 1px dashed rgba(255,255,255,.08); font-size: .88rem; }
  .lbrow .rk { width: 26px; text-align: center; font-weight: 900; color: var(--gold); flex: 0 0 auto; }
  .lbrow .who { flex: 1; min-width: 0; } .lbrow .who b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lbrow .who small { color: var(--muted); font-size: .74rem; }
  .lbrow .won { font-weight: 800; white-space: nowrap; } .lbrow.me { background: rgba(230,184,76,.12); border-radius: 10px; border-top-color: transparent; }
  .lvl { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: .85rem; } .lvl .bar { flex: 1; height: 8px; margin: 0; } .lvl b { color: var(--gold); white-space: nowrap; }
  .ladder { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 6px; scrollbar-width: thin; }
  .ladder .rung { flex: 0 0 auto; width: 92px; background: rgba(0,0,0,.3); border-radius: 10px; padding: 6px 4px; text-align: center; font-size: .68rem; color: var(--muted); border: 1px solid transparent; line-height: 1.25; }
  .ladder .rung b { display: block; color: var(--cream); font-size: .78rem; } .ladder .rung .big { font-size: 1.3rem; line-height: 1.2; }
  .ladder .rung.got { border-color: rgba(63,185,122,.6); } .ladder .rung.next { border-color: var(--gold); }
  .duel label { display: block; margin-top: 10px; font-size: .85rem; color: var(--muted); } .duel select { font: inherit; padding: .5rem .7rem; border-radius: 10px; background: rgba(0,0,0,.3); color: var(--cream); border: 2px solid rgba(255,255,255,.18); width: 100%; }
  .duel .chk { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .9rem; color: var(--cream); } .duel .chk input { width: auto; }
  .riv { font-size: .78rem; color: #c3f0ff; margin-top: 3px; }
  .upl { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
  .daily { background: rgba(0,0,0,.25); border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; font-size: .85rem; }
  .daily .row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .daily .row b { color: var(--cream); } .daily .row .sp { flex: 1; }
  .daily button { padding: .45rem .8rem; font-size: .8rem; }
  .streak { display: flex; gap: 4px; margin-top: 8px; }
  .streak .day { flex: 1; min-width: 0; background: rgba(0,0,0,.3); border-radius: 9px; padding: 5px 1px; text-align: center; font-size: .62rem; color: var(--muted); border: 1px solid transparent; line-height: 1.25; }
  .streak .day b { display: block; font-size: .74rem; color: var(--cream); font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .streak .day.claimed { background: rgba(63,185,122,.22); } .streak .day.claimed b::before { content: "✓ "; color: var(--green); }
  .streak .day.today { border-color: var(--gold); background: rgba(230,184,76,.12); }
  .tasks { margin-top: 8px; display: flex; flex-direction: column; gap: 5px; }
  .task { display: flex; align-items: center; gap: 8px; background: rgba(0,0,0,.3); border-radius: 10px; padding: 7px 10px; font-size: .82rem; }
  .task .ico { font-size: 1.1rem; width: 24px; text-align: center; } .task .txt { flex: 1; min-width: 0; } .task .txt small { display: block; color: var(--muted); font-size: .72rem; }
  .task .rew { color: var(--gold); font-weight: 800; white-space: nowrap; } .task.done .rew { color: var(--green); }
  .bar { height: 5px; background: rgba(255,255,255,.12); border-radius: 999px; overflow: hidden; margin-top: 4px; } .bar i { display: block; height: 100%; background: var(--gold); border-radius: 999px; }
  .task.done .bar i, .ach.done .bar i { background: var(--green); }
  .claimrow { display: flex; align-items: center; gap: 12px; background: rgba(230,184,76,.1); border: 1px solid rgba(230,184,76,.45); border-radius: 12px; padding: 10px 12px; margin-top: 8px; } .claimrow .txt { flex: 1; min-width: 0; } .claimrow .txt b { display: block; } .claimrow .txt small { color: var(--muted); display: block; font-size: .78rem; line-height: 1.35; }
  .codebox { font-family: ui-monospace, Menlo, monospace; background: rgba(0,0,0,.35); border-radius: 10px; padding: 8px 12px; letter-spacing: .1em; text-align: center; margin-top: 6px; }
  .prof { display: flex; gap: 14px; align-items: center; margin-top: 12px; } .prof .who { flex: 1; min-width: 0; }
  .prof .who .nm { font-size: 1.25rem; font-weight: 900; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .prof .who .nm button, .prof .who .code button, .friendcode button { padding: .25rem .55rem; font-size: .72rem; }
  .prof .who .code { font-family: ui-monospace, Menlo, monospace; color: var(--muted); font-size: .85rem; margin-top: 2px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
  .prof .who .bal { font-size: 1.05rem; margin-top: 4px; } .prof .who .bal b { color: var(--gold); }
  .avbtn { background: transparent; padding: 0; border-radius: 50%; position: relative; }
  .avbtn::after { content: "✏️"; position: absolute; right: -2px; bottom: -2px; font-size: .9rem; background: #10281c; border-radius: 50%; padding: 2px; }
  .avgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 6px; margin-top: 10px; }
  .avgrid button { background: rgba(0,0,0,.25); padding: 6px 2px; border-radius: 12px; border: 2px solid transparent; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: .62rem; color: var(--muted); font-weight: 600; min-width: 0; }
  .avgrid button span.lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
  .avgrid button.active { border-color: var(--gold); color: var(--cream); }
  .achs { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
  .ach { display: flex; gap: 10px; align-items: center; background: rgba(0,0,0,.3); border-radius: 12px; padding: 8px 10px; }
  .ach .ico { font-size: 1.5rem; width: 36px; text-align: center; flex: 0 0 auto; } .ach.locked .ico { filter: grayscale(1) opacity(.5); }
  .ach.done { border: 1px solid rgba(230,184,76,.5); background: rgba(230,184,76,.1); }
  .ach .txt { flex: 1; min-width: 0; } .ach .txt b { display: block; } .ach .txt small { color: var(--muted); display: block; font-size: .75rem; }
  .ach .num { font-size: .72rem; color: var(--muted); white-space: nowrap; text-align: right; } .ach.done .num { color: var(--green); }
  .items { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 10px; }
  .item { background: rgba(0,0,0,.3); border-radius: 12px; padding: 10px 8px; display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; font-size: .8rem; border: 2px solid transparent; }
  .item.on { border-color: var(--gold); } .item.locked { opacity: .55; }
  .item b { font-size: .85rem; } .item small { color: var(--muted); font-size: .72rem; line-height: 1.3; }
  .item button { padding: .4rem .7rem; font-size: .78rem; }
  .friend { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px dashed rgba(255,255,255,.08); font-size: .88rem; }
  .friend:first-child { border-top: 0; }
  .friend .who { flex: 1; min-width: 0; } .friend .who b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .friend .who small { color: var(--muted); font-size: .75rem; }
  .friend .who .on { color: var(--green); } .friend .who .pl { color: #4fc3f7; } .friend .who .rv { color: var(--gold); }
  .friend button { padding: .4rem .7rem; font-size: .78rem; }
  .friendcode { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; font-size: .85rem; color: var(--muted); } .friendcode code { font-size: .95rem; color: var(--cream); }
  .addf { display: flex; gap: 6px; margin-top: 8px; } .addf input { flex: 1; min-width: 0; }
  /* the league */
  .lgsum { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0 8px; }
  .lgpill { background: rgba(0,0,0,.3); border-radius: 999px; padding: .35rem .7rem; font-size: .8rem; } .lgpill b { color: var(--cream); }
  .tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 8px 0; }
  .tier { background: rgba(0,0,0,.3); border: 2px solid transparent; border-radius: 10px; padding: 6px 2px; text-align: center; font-size: .7rem; color: var(--muted); min-width: 0; } .tier b { display: block; font-size: 1.1rem; } .tier.me { border-color: var(--gold); color: var(--cream); background: rgba(230,184,76,.12); } .tier small { display: block; font-size: .64rem; }
  .lbrow .zone { font-size: .72rem; font-weight: 800; width: 18px; text-align: center; flex: 0 0 auto; } .lbrow.up .zone { color: var(--green); } .lbrow.down .zone { color: #ff8a80; }
  .lbrow.up { background: rgba(63,185,122,.08); } .lbrow.down { background: rgba(217,83,79,.08); }
  .lvlrow { display: flex; gap: 10px; margin-top: 8px; font-size: .9rem; line-height: 1.4; } .lvlrow b { flex: 0 0 86px; color: var(--muted); font-weight: 600; }
  /* ---------- the account screens redesign (account-screens-redesign.md): My account, Leaderboard, Settings, the admin console ----------
     The lobby's recipe throughout: the felt gradient, the 4 px ink outline with a chunky bottom edge, Permanent Marker headings, Lilita One
     titles, Nunito 800 for small status text, JetBrains Mono for codes. Everything here is new markup (the a-/… classes), nothing at the table changes. */
  .lpage.v2 .pagehead .back { background: #5B6B7A; color: #fff; } .lpage.v2 .pagehead .back svg { width: 28px; height: 28px; }
  .wrench { width: 52px; height: 52px; flex: 0 0 52px; margin-left: auto; padding: 0; border-radius: 16px; background: #0B1F14; border: 4px solid var(--ink2); box-shadow: 0 5px 0 var(--ink2); display: grid; place-items: center; color: #FFD23F; transition: transform 80ms, box-shadow 80ms; }
  .dzstrip { margin: 18px 0 4px; padding: 10px 12px; border-radius: 12px; background: #0E1116; color: #E6EDF3; border: 1px solid #2A313C; display: flex; align-items: center; justify-content: flex-start; gap: 6px; font: 600 14px/1.3 var(--inter); } .dzstrip[hidden] { display: none; }
  .dzstrip button { height: 36px; min-height: 36px; padding: 0 12px; border-radius: 10px; background: transparent; color: #F0B429; border: 1px solid #F0B429; font: 600 13px/1 var(--inter); box-shadow: none; transition: none; } .dzstrip button:active:not(:disabled) { transform: translateY(1px); }
  .wrench svg { width: 26px; height: 26px; } .wrench:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink2); } .wrench:hover:not(:disabled) { filter: none; }
  .abody { font-family: var(--lilita); color: #fff; }
  .atabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 10px; background: #0B3D22; border: 4px solid var(--ink2); border-radius: 24px; box-shadow: 0 5px 0 var(--ink2); margin-top: 4px; }
  .atab { position: relative; min-height: 56px; padding: 0 4px; border-radius: 18px; background: transparent; color: #fff; font: 20px/1 var(--lilita); font-weight: 400; transition: none; border: 3px solid transparent; min-width: 0; overflow: visible; }
  .atab.on { background: #FFD23F; color: var(--ink2); border-color: var(--ink2); box-shadow: 0 4px 0 var(--ink2); }
  .atab:active:not(:disabled), .atab:hover:not(:disabled) { transform: none; filter: none; }
  .atab.long { font-size: 16px; } @media (max-width: 400px) { .atab.long { font-size: 15px; } } @media (max-width: 365px) { .atab.long { font-size: 14px; padding: 0 1px; } }
  .atab .n { position: absolute; top: -10px; right: -4px; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 999px; background: #E8343B; border: 3px solid var(--ink2); color: #fff; font: 16px/1 var(--lilita); display: grid; place-items: center; } .atab .n:empty { display: none; }
  .acard { background: #0B3D22; border: 4px solid var(--ink2); border-radius: 22px; box-shadow: 0 5px 0 var(--ink2); padding: 14px 16px; margin-top: 16px; color: #fff; }
  .ccard { background: #FFF4D6; color: var(--ink2); border: 4px solid var(--ink2); border-radius: 22px; box-shadow: 0 5px 0 var(--ink2); padding: 14px 16px; margin-top: 16px; }
  .ahd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 22px 0 0; min-height: 44px; }
  .ahd h3 { margin: 0; font: clamp(24px, 7.2vw, 30px)/1 var(--marker); font-weight: 400; color: #fff; text-shadow: 3px 3px 0 var(--ink2), -1px -1px 0 var(--ink2), 1px -1px 0 var(--ink2), -1px 1px 0 var(--ink2); white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .ahd small, .anote { font: 800 15px/1.3 var(--nunito); color: #D6F2E0; text-shadow: 0 1px 0 rgba(0,0,0,.35); }
  .anote { display: block; margin-top: 14px; } .anote b { color: #fff; } .ahd small { text-align: right; flex: 0 1 auto; }
  .lbl { font: 800 13px/1.25 var(--nunito); letter-spacing: .08em; text-transform: uppercase; color: #D6F2E0; }
  .ntext { font: 800 15px/1.35 var(--nunito); color: #D6F2E0; }
  .abtn { min-height: 56px; padding: 0 18px; border: 4px solid var(--ink2); border-radius: 18px; box-shadow: 0 5px 0 var(--ink2); font: 22px/1 var(--lilita); font-weight: 400; color: var(--ink2); transition: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; }
  .abtn:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink2); } .abtn:hover:not(:disabled) { filter: none; } .abtn:disabled { opacity: .55; }
  .abtn.gold { background: #FFD23F; } .abtn.blue { background: #3FA9F5; } .abtn.orange { background: #FF8A3D; } .abtn.green { background: #7ED957; } .abtn.white { background: #fff; }
  .abtn.dark { background: #072A17; color: #fff; } .abtn.line { background: transparent; color: #fff; border-color: #fff; box-shadow: none; } .abtn.line:active:not(:disabled) { transform: none; }
  .abtn.lred { background: transparent; color: #FF8A8A; border-color: #FF8A8A; box-shadow: none; } .abtn.lred:active:not(:disabled) { transform: none; }
  .abtn.sm { min-height: 44px; font-size: 18px; padding: 0 14px; border-width: 3px; border-radius: 14px; box-shadow: 0 3px 0 var(--ink2); } .abtn.sm:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink2); }
  .abtn.xs { min-height: 36px; font-size: 15px; padding: 0 12px; border-width: 3px; border-radius: 999px; box-shadow: 0 2px 0 var(--ink2); } .abtn.xs:active:not(:disabled) { transform: translateY(1px); box-shadow: 0 1px 0 var(--ink2); }
  .abtn.full { width: 100%; } .abtn svg { width: 22px; height: 22px; flex: 0 0 auto; }
  .abtn .n { position: absolute; top: -14px; right: -8px; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 999px; background: #E8343B; border: 3px solid var(--ink2); color: #fff; font: 18px/1 var(--lilita); display: grid; place-items: center; } .abtn.hasn { position: relative; } .abtn .n:empty { display: none; }
  .fchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .fchip { min-height: 44px; padding: 0 16px; border-radius: 999px; background: #0B3D22; color: #fff; border: 3px solid var(--ink2); box-shadow: 0 3px 0 var(--ink2); font: 17px/1 var(--lilita); font-weight: 400; transition: none; }
  .fchip.on { background: #FFD23F; color: var(--ink2); } .fchip:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink2); } .fchip:hover:not(:disabled) { filter: none; }
  /* the Stats tab's switches: the game (Overall · Classic craps · Poker dice) and, on a game's page, its side (Duel House · Duel Player), each an even row of the filter chips */
  .fchips.seg { display: grid; gap: 8px; } .fchips.seg.games { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fchips.seg.sides { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 10px; }
  .fchips.seg .fchip { min-width: 0; padding: 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fchips.seg.sides .fchip { min-height: 38px; font-size: 15px; } @media (max-width: 379px) { .fchips.seg.games .fchip { font-size: 15px; padding: 0 4px; } } /* ("Classic craps" whole at 360 px) */
  .atile .sodds { display: block; margin-top: 3px; font: 800 13px/1.2 var(--nunito); font-style: normal; color: #D6F2E0; } /* (the best hand's odds under its name) */
  .acard.sempty { display: flex; flex-direction: column; gap: 6px; } .acard.sempty b { font: 22px/1.1 var(--lilita); font-weight: 400; } .acard.sempty span { font: 800 15px/1.3 var(--nunito); color: #D6F2E0; }
  .agrid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
  .atile { background: #0B3D22; border: 4px solid var(--ink2); border-radius: 18px; box-shadow: 0 5px 0 var(--ink2); padding: 12px 14px; min-width: 0; }
  .atile small { display: block; font: 800 13px/1.25 var(--nunito); letter-spacing: .06em; text-transform: uppercase; color: #D6F2E0; }
  .atile b { display: block; margin-top: 6px; font: 19px/1.15 var(--lilita); font-weight: 400; color: #fff; overflow-wrap: anywhere; }
  .abar { height: 18px; background: #072A17; border: 3px solid var(--ink2); border-radius: 999px; overflow: hidden; } .abar i { display: block; height: 100%; background: #FFD23F; border-radius: 999px; }
  .abar.thin { height: 12px; border-width: 2px; }
  .inset { background: #072A17; border: 3px solid rgba(0,0,0,.35); border-radius: 16px; padding: 10px 12px; min-width: 0; }
  .avw.xl { font-size: 92px; } .avw.xl .held { font-size: .34em; right: auto; left: -.12em; bottom: .02em; } .avw.xl .hat { font-size: .56em; } .avw.xl .av, .avw.l56 .av, .pcol .avw .av { border: 4px solid var(--ink2); box-sizing: border-box; } .avw.l56 { font-size: 56px; } .avw.l48 { font-size: 48px; } .avw.l48 .av { border: 3px solid var(--ink2); box-sizing: border-box; }
  .pos { color: #7ED957; } .neg { color: #FF8A8A; }
  /* Profile */
  .pgrid { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; align-items: center; }
  .pavatar { position: relative; width: 92px; height: 92px; background: transparent; padding: 0; border-radius: 50%; transition: none; }
  .pavatar .pen { position: absolute; right: -6px; bottom: -4px; width: 36px; height: 36px; border-radius: 50%; background: #FFD23F; border: 3px solid var(--ink2); box-shadow: 0 2px 0 var(--ink2); display: grid; place-items: center; color: var(--ink2); } .pavatar .pen svg { width: 18px; height: 18px; }
  .pname { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font: 28px/1.05 var(--lilita); color: #fff; min-width: 0; } .pname .nmx { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
  .pname .abtn.xs { color: #fff; background: #072A17; border-color: #fff; box-shadow: none; } .pname .pbtns { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; } .pname .abtn.xs.dz { padding: 0 9px; font-size: 19px; line-height: 1; } /* Rename and, in admin mode, the 🎭 (the disguise sheet) wrap together under a name they don't fit beside, the 🎭 always on Rename's right */
  .ptitlex { margin-top: 4px; } .ptitlex .ttl { font-size: 20px; max-width: 100%; } .ptitlex .none { font: 800 15px/1 var(--nunito); color: #D6F2E0; }
  .psince { margin-top: 6px; }
  .pcode { display: flex; align-items: center; gap: 10px; margin-top: 14px; } .pcode .ct { flex: 1; min-width: 0; } .pcode .fcode { display: block; margin-top: 6px; font: 500 22px/1.2 var(--mono); color: #fff; overflow-wrap: anywhere; }
  .pbal { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; font: 18px/1 var(--lilita); } .pbal.plogin { margin-top: 12px; } .pbal.plogin b { flex: 1; min-width: 0; text-align: right; font: 500 17px/1.2 var(--mono); color: #fff; overflow-wrap: anywhere; } .pbal.plogin .abtn { flex: 0 0 auto; } .pbal b { font-weight: 400; font-size: 22px; color: #FFD23F; } .pbal b .inf { font-size: 30px; line-height: 0; vertical-align: -3px; } .pbal b .adm { color: #fff; font-size: 18px; margin-left: 6px; }
  .lvcard { cursor: pointer; } .lvtop { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; } .lvtop b { font: 24px/1 var(--lilita); font-weight: 400; } .lvtop span { font: 800 16px/1 var(--nunito); color: #D6F2E0; white-space: nowrap; }
  .lvcard .abar { margin-top: 12px; } .lvnext { margin-top: 10px; font: 800 15px/1.3 var(--nunito); color: #fff; } .lvnext i { font-style: normal; color: #D6F2E0; }
  .lvlist { margin-top: 12px; max-height: 300px; overflow-y: auto; border-top: 2px dashed rgba(255,255,255,.15); padding-top: 8px; scrollbar-width: thin; cursor: default; }
  .lvrow { display: grid; grid-template-columns: 50px 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 52px; padding: 4px 8px; border-radius: 12px; }
  .lvrow .lv { font: 17px/1 var(--lilita); color: #D6F2E0; } .lvrow .art { width: 44px; height: 44px; display: grid; place-items: center; font-size: 26px; line-height: 1; } .lvrow .art .diepv { width: 36px; height: 36px; padding: 5px; border-radius: 18%; } .lvrow .art .avw { font-size: 36px; }
  .lvrow .nm { font: 18px/1.15 var(--lilita); color: #fff; min-width: 0; } .lvrow .st { font: 800 13px/1 var(--nunito); letter-spacing: .06em; white-space: nowrap; }
  .lvrow.got { background: rgba(126,217,87,.14); } .lvrow.got .st { color: #7ED957; } .lvrow.next { background: #FFD23F; } .lvrow.next .lv, .lvrow.next .nm, .lvrow.next .st { color: var(--ink2); } .lvrow.later { opacity: .55; }
  .tsel { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 72px; padding: 0 20px; margin-top: 12px; background: #0B3D22; border: 4px solid var(--ink2); border-radius: 22px; box-shadow: 0 5px 0 var(--ink2); color: #fff; font: 20px/1 var(--lilita); font-weight: 400; text-align: left; transition: none; }
  .tsel .ttl { font-size: 22px; } .tsel .none { color: #D6F2E0; } .tsel svg { width: 26px; height: 26px; flex: 0 0 auto; } .tsel:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink2); } .tsel:hover:not(:disabled) { filter: none; }
  .tierchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; } .tierchips span { min-height: 40px; padding: 0 14px; border-radius: 999px; background: #0B3D22; border: 3px solid var(--ink2); display: inline-flex; align-items: center; font: italic 17px/1 var(--lilita); font-weight: 400; }
  .wear { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
  .wtile { display: block; width: 100%; font: inherit; color: inherit; background: #0B3D22; border: 4px solid var(--ink2); border-radius: 18px; box-shadow: 0 5px 0 var(--ink2); padding: 12px 4px 10px; text-align: center; min-width: 0; transition: none; } /* (a button since the items session: it opens Items at its kind) */
  .wtile:hover:not(:disabled) { filter: none; } .wtile:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink2); }
  .wtile .art { height: 56px; display: grid; place-items: center; font-size: 34px; line-height: 1; } .wtile .art .avw { font-size: 48px; } .wtile .art .hat { top: -.1em; font-size: .9em; } .wtile .art .held { position: static; font-size: 1em; }
  .wtile .k { font: 800 12px/1 var(--nunito); letter-spacing: .08em; color: #D6F2E0; margin-top: 10px; } .wtile .v { font: 16px/1.15 var(--lilita); color: #fff; margin-top: 6px; overflow-wrap: anywhere; }
  .tgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
  .accbtns { display: grid; gap: 10px; margin-top: 12px; } /* the Profile tab's Account card: Change password and Sign out, full width */
  .tchip { display: flex; justify-content: space-between; align-items: center; gap: 6px; background: #072A17; border: 3px solid rgba(0,0,0,.35); border-radius: 14px; padding: 12px 12px; font: 17px/1 var(--lilita); min-width: 0; } .tchip b { font-weight: 400; color: #FFD23F; white-space: nowrap; } .tchip b.ok { color: #7ED957; }
  .acard .ct24 { font: 24px/1 var(--lilita); }
  .avgrid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; margin-top: 12px; }
  .avgrid2 button { background: #072A17; padding: 8px 2px; border-radius: 14px; border: 3px solid transparent; display: flex; flex-direction: column; align-items: center; gap: 4px; font: 800 11px/1 var(--nunito); color: #D6F2E0; min-width: 0; transition: none; } .avgrid2 button.on { border-color: #FFD23F; color: #fff; } .avgrid2 button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* Stats */
  .hero { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 14px; align-items: center; }
  .ring { position: relative; width: 100px; height: 100px; } .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); } .ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 30px/1 var(--lilita); font-weight: 400; color: #fff; }
  .rec .wl { margin-top: 6px; font: 30px/1.1 var(--lilita); } .rec .wl .w { color: #7ED957; } .rec .wl .l { color: #FF8A8A; } .rec .sub { margin-top: 4px; font: 800 14px/1.3 var(--nunito); color: #D6F2E0; }
  .hero3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; } .hero3 .inset small { display: block; font: 800 12px/1 var(--nunito); letter-spacing: .08em; color: #D6F2E0; } .hero3 .inset { padding: 10px 8px; } .hero3 .inset b { display: block; margin-top: 8px; font: 15px/1.1 var(--lilita); font-weight: 400; overflow-wrap: anywhere; letter-spacing: -.01em; }
  .besthand { margin-top: 14px; padding: 10px 12px 12px; background: #072A17; border-radius: 16px; text-align: center; } /* Poker dice's best hand under the ring: its five dice as they landed (poker.css's .pdie), the made ones gold */
  .besthand .bhlbl { font: 800 12px/1 var(--nunito); letter-spacing: .08em; text-transform: uppercase; color: #D6F2E0; }
  .besthand .bhdice { display: flex; justify-content: center; gap: 8px; margin-top: 10px; --pd: 42px; } .besthand .bhdice .pdie { border-width: 2px; } .besthand .bhdice.cards { --cw: 34px; gap: 6px; } /* (a Cards hand: five cards, cardface.css's, at 34 px) */
  .besthand .bhname { margin-top: 10px; font: 22px/1.1 var(--lilita); color: #FFD23F; } .besthand .bhname.red { color: #FF6B7A; }
  @media (max-width: 360px) { .besthand .bhdice { --pd: 36px; gap: 6px; } }
  /* Achievements */
  .acount { display: flex; align-items: center; gap: 12px; margin-top: 14px; font: 800 16px/1 var(--nunito); color: #fff; } .acount .abar { flex: 1; }
  .arow { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; }
  .pct { width: 64px; height: 64px; border-radius: 50%; border: 3px dashed #fff; display: grid; place-items: center; font: 17px/1 var(--lilita); }
  .arow .top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; } .arow .top b { font: 20px/1.1 var(--lilita); font-weight: 400; min-width: 0; } .arow .top span { font: 800 15px/1 var(--nunito); color: #D6F2E0; white-space: nowrap; }
  .arow .abar { margin-top: 8px; } .arow .desc { margin-top: 8px; font: 800 14px/1.3 var(--nunito); color: #D6F2E0; }
  .medals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 6px; margin-top: 14px; }
  .medal { background: transparent; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; color: #fff; transition: none; border-radius: 12px; }
  .medal .disc { width: 92px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #FFE27A, #FFD23F 60%, #E0AE00); border: 4px solid var(--ink2); box-shadow: 0 5px 0 var(--ink2), inset 0 -6px 0 rgba(0,0,0,.12); display: grid; place-items: center; font-size: 36px; line-height: 1; }
  .medal:active:not(:disabled) .disc { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink2), inset 0 -6px 0 rgba(0,0,0,.12); } .medal:active:not(:disabled) { transform: none; } .medal:hover:not(:disabled) { filter: none; }
  .medal .nm { font: 15px/1.1 var(--lilita); text-align: center; overflow-wrap: anywhere; } .medal .dt { font: 800 13px/1 var(--nunito); color: #D6F2E0; }
  .medal.locked .disc { background: #3b4a42; box-shadow: 0 5px 0 var(--ink2); } .medal.locked .disc .ico { filter: grayscale(1) opacity(.55); } .medal.locked .nm { color: #BFD9C8; }
  .medal.secret .disc { background: #1d2621; font: 44px/1 var(--lilita); color: #8FA898; } .medal.secret .dt { font: 800 12px/1.25 var(--nunito); text-align: center; overflow-wrap: anywhere; } /* a secret not found yet: a dark "?" tile, its hint under it */
  @media (max-width: 379px) { .medals { gap: 10px 4px; } .medal .disc { font-size: 30px; } .medal .nm { font-size: 13px; } }
  .achsheet { text-align: center; } .achsheet .disc { width: 112px; margin: 6px auto 0; font-size: 46px; } .achsheet h3 { margin: 12px 0 0; font: 30px/1.05 var(--marker); font-weight: 400; color: #fff; text-shadow: 3px 3px 0 var(--ink2), -1px -1px 0 var(--ink2), 1px -1px 0 var(--ink2), -1px 1px 0 var(--ink2); }
  .achsheet .desc { margin-top: 10px; font: 800 16px/1.4 var(--nunito); color: #D6F2E0; } .achsheet .abar { margin-top: 14px; } .achsheet .st { margin-top: 12px; font: 20px/1.2 var(--lilita); } .achsheet .st.ok { color: #7ED957; } .achsheet .rw { margin-top: 8px; font: 800 15px/1.3 var(--nunito); color: #FFD23F; }
  /* Friends */
  .fcode2 .lbl { color: #6b5a3e; } .fcode2 .fcode { display: block; margin-top: 8px; font: 500 clamp(20px, 6vw, 26px)/1.2 var(--mono); color: var(--ink2); overflow-wrap: anywhere; }
  .fcode2 .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
  .addf2 { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-top: 10px; } .addf2 input { font-family: var(--mono); font-size: 13px; padding: 0 10px; } /* (small enough that the whole placeholder, "Player tag, ex. #8RPQ2VCK", shows at 360 px) */
  .addf2 .err { grid-column: 1 / -1; } .addf2 .err:empty { display: none; }
  .frow { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
  .pavw { position: relative; display: inline-block; width: 56px; height: 56px; } .pavw .avw { font-size: 56px; } .pavw .avw .av { border: 4px solid var(--ink2); box-sizing: border-box; background: #FFE9B8; }
  .fdot { position: absolute; right: -4px; bottom: -2px; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--ink2); background: #8a9396; } .fdot.on { background: #7ED957; }
  .frow .who { min-width: 0; } .frow .who b { font: 22px/1.1 var(--lilita); font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; max-width: 100%; vertical-align: bottom; } .frow .who .tag { font: 800 15px/1 var(--nunito); color: #D6F2E0; margin-left: 6px; }
  .frow .who small { display: block; font: 800 15px/1.3 var(--nunito); color: #D6F2E0; margin-top: 4px; } .frow .who small .on { color: #7ED957; } .frow .who small .ttl { font-size: 14px; }
  .more { width: 56px; height: 56px; flex: 0 0 56px; padding: 0; border-radius: 16px; background: #072A17; border: 3px solid var(--ink2); box-shadow: 0 3px 0 var(--ink2); color: #fff; font: 24px/1 var(--lilita); display: grid; place-items: center; letter-spacing: 1px; transition: none; } .more:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink2); } .more:hover:not(:disabled) { filter: none; }
  .fbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; } .fbtns .abtn { padding: 0 6px; font-size: 19px; gap: 6px; } .fbtns .abtn svg { width: 20px; height: 20px; } @media (max-width: 379px) { .fbtns .abtn { font-size: 16px; gap: 4px; } .fbtns .abtn svg { width: 18px; height: 18px; } }
  .fmenu { margin-top: 12px; } .fmenu:empty { display: none; }
  /* Items */
  .rungs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
  .rungx { background: #1E6B3A; border: 3px solid var(--ink2); border-radius: 12px; padding: 8px 10px; font: 16px/1.15 var(--lilita); color: #fff; min-width: 0; overflow-wrap: anywhere; }
  .rungx small { display: block; font: 800 12px/1 var(--nunito); letter-spacing: .04em; color: #D6F2E0; margin-bottom: 4px; white-space: nowrap; } .rungx.got { background: #2E7D47; } .rungx.next { background: #FFD23F; color: var(--ink2); } .rungx.next small { color: var(--ink2); } .rungx.later { background: #072A17; opacity: .85; }
  .igrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
  .icard { position: relative; background: #0B3D22; border: 4px solid var(--ink2); border-radius: 20px; box-shadow: 0 5px 0 var(--ink2); padding: 20px 10px 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; min-width: 0; }
  .icard .art { height: 64px; display: grid; place-items: center; font-size: 40px; line-height: 1; } .icard .art .diepv { width: 56px; height: 56px; padding: 8px; border-radius: 18%; } .icard .art .avw { font-size: 56px; } .icard .art .ttl { font-size: 20px; white-space: normal; } .icard .art .emj { font-size: 22px; letter-spacing: 2px; }
  .icard b { font: 19px/1.15 var(--lilita); font-weight: 400; color: #fff; overflow-wrap: anywhere; } .icard small.d { font: 800 13px/1.3 var(--nunito); color: #D6F2E0; }
  .icard.on { border-color: #FFD23F; } .icard .etag { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: #FFD23F; color: var(--ink2); border: 3px solid var(--ink2); border-radius: 999px; padding: 5px 12px; font: 14px/1 var(--lilita); white-space: nowrap; }
  .icard.locked { border-style: dashed; border-color: rgba(255,255,255,.35); box-shadow: none; background: rgba(11,61,34,.55); } .icard.locked .art { opacity: .45; filter: grayscale(.5); } .icard.locked b { color: #D6F2E0; }
  .icard .lock { display: flex; align-items: center; justify-content: center; gap: 6px; font: 800 14px/1.3 var(--nunito); color: #D6F2E0; } .icard .lock svg { width: 16px; height: 16px; flex: 0 0 auto; }
  .icard .abtn { margin-top: auto; } .icard .inuse { font: 800 14px/1 var(--nunito); color: #7ED957; min-height: 44px; display: grid; place-items: center; }
  .pv { width: 44px; height: 44px; padding: 0; border-radius: 50%; background: #FFD23F; border: 3px solid var(--ink2); box-shadow: 0 3px 0 var(--ink2); color: var(--ink2); display: grid; place-items: center; transition: none; } .pv svg { width: 20px; height: 20px; } .pv:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink2); } .pv.on { background: #7ED957; }
  /* Claim */
  .clrow { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
  .clrow .art { width: 72px; height: 60px; display: grid; place-items: center; font-size: 34px; line-height: 1; } .clrow .art .avw { font-size: 56px; } .clrow .art .ttl { font-size: 16px; white-space: normal; }
  .clrow b { font: 22px/1.1 var(--lilita); font-weight: 400; overflow-wrap: anywhere; } .clrow small { display: block; margin-top: 4px; font: 800 15px/1.3 var(--nunito); color: #6b5a3e; }
  .chipstack { position: relative; width: 60px; height: 56px; } .chipstack svg { width: 100%; height: 100%; display: block; }
  .ccard.clrow .abtn { padding: 0 16px; }
  /* Leaderboard */
  .season { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .season .pch { display: inline-block; background: #B57BFF; color: var(--ink2); border-radius: 999px; padding: 7px 12px; font: 800 13px/1 var(--nunito); letter-spacing: .08em; text-transform: uppercase; }
  .season .sl { margin-top: 10px; font: 22px/1.15 var(--lilita); } .season .mv { text-align: right; flex: 0 0 auto; } .season .mv small { display: block; font: 800 15px/1 var(--nunito); color: #D6F2E0; }
  .season .mv b { display: block; margin-top: 6px; font: 30px/1 var(--marker); font-weight: 400; color: #FFD23F; text-shadow: 2px 2px 0 var(--ink2), -1px -1px 0 var(--ink2), 1px -1px 0 var(--ink2), -1px 1px 0 var(--ink2); white-space: nowrap; }
  .tl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; padding: 4px 0; }
  .tl::before { content: ""; position: absolute; left: 10%; right: 10%; top: 31px; height: 6px; background: #072A17; border-radius: 3px; }
  .tlt { position: relative; text-align: center; min-width: 0; } .tlt .md { width: 58px; height: 58px; margin: 0 auto; border-radius: 50%; border: 4px solid var(--ink2); display: grid; place-items: center; font: 26px/1 var(--marker); color: #fff; text-shadow: 2px 2px 0 var(--ink2), -1px -1px 0 var(--ink2), 1px -1px 0 var(--ink2), -1px 1px 0 var(--ink2); }
  .tlt.me .md { box-shadow: 0 0 0 4px #FFD23F; } .tlt:not(.me) { opacity: .62; } .tlt .nm { margin-top: 8px; font: 15px/1 var(--lilita); letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tlt .ct { margin-top: 6px; font: 800 14px/1 var(--nunito); color: #D6F2E0; white-space: nowrap; }
  .md.bronze { background: #C27A3A; } .md.silver { background: #8A9BA8; } .md.gold { background: #B59F2A; } .md.diamond { background: #3A9AB0; } .md.champion { background: #7B5EC9; }
  @media (max-width: 379px) { .tlt .md { width: 50px; height: 50px; font-size: 22px; } .tl::before { top: 27px; } .tlt .nm { font-size: 13px; } }
  .bracket { padding: 0; overflow: hidden; } .bracket .bh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 16px 12px; font: 22px/1 var(--lilita); } .bracket .bh span { font: 800 15px/1 var(--nunito); color: #D6F2E0; white-space: nowrap; }
  .band { padding: 10px 16px; font: 800 14px/1.2 var(--nunito); letter-spacing: .06em; text-transform: uppercase; } .band.up { background: #3F8F4F; color: #E9FFE9; } .band.down { background: #9E2A2A; color: #FFE1E1; }
  .brow { display: grid; grid-template-columns: 28px 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; border-top: 2px dashed rgba(255,255,255,.12); }
  .brow .rk { font: 22px/1 var(--lilita); color: #D6F2E0; text-align: center; } .brow.me { background: rgba(255,210,63,.13); } .brow.me .rk { color: #FFD23F; }
  .brow .who { min-width: 0; } .brow .who b { font: 22px/1.05 var(--lilita); font-weight: 400; } .brow .who .you { font: 800 14px/1 var(--nunito); color: #D6F2E0; margin-left: 6px; } .brow .who small { display: block; margin-top: 4px; font: 800 15px/1.25 var(--nunito); color: #D6F2E0; } .brow .who small .ttl { font-size: 15px; }
  .brow .un { font: 22px/1 var(--lilita); white-space: nowrap; } .brow .un.neg { color: #FF8A8A; }
  .brow.openseat .circ { width: 56px; height: 56px; border-radius: 50%; border: 3px dashed #BFD9C8; opacity: .6; } .brow.openseat .who { font: 800 16px/1.2 var(--nunito); color: #BFD9C8; opacity: .8; } .brow.openseat .rk { opacity: .5; }
  .howrow { display: flex; justify-content: space-between; align-items: center; width: 100%; background: transparent; padding: 4px 0; color: #fff; font: 22px/1 var(--lilita); font-weight: 400; text-align: left; transition: none; } .howrow svg { width: 26px; height: 26px; transition: transform .2s; } .howrow.open svg { transform: rotate(180deg); } .howrow:hover:not(:disabled) { filter: none; } .howrow:active:not(:disabled) { transform: none; }
  .howtext { margin-top: 12px; font: 800 15px/1.45 var(--nunito); color: #D6F2E0; } .howtext ul { margin: 0; padding-left: 20px; } .howtext li { margin: 6px 0; } .howtext b { color: #fff; }
  .whead { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-top: 18px; } .whead b { font: 20px/1.1 var(--lilita); font-weight: 400; } .whead small { display: block; margin-top: 4px; font: 800 15px/1.3 var(--nunito); color: #D6F2E0; }
  .whead .qtabs { margin: 0; flex: 0 0 auto; padding: 3px; box-shadow: 0 4px 0 var(--ink2); } .whead .qtab { min-height: 40px; padding: 0 10px; font-size: 16px; }
  .podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; margin-top: 24px; padding-bottom: 0; border-bottom: 10px solid var(--ink2); }
  .pcol { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; } .pcol .avw { font-size: 56px; } .pcol .avw .av { background: #FFE9B8; } .pcol.first .avw { font-size: 92px; } .pcol.first .avw .av { border-color: #FFD23F; box-shadow: 0 0 0 4px var(--ink2); }
  .pcol .crown { width: 44px; height: 32px; margin-bottom: -4px; } .pcol .nm { font: 20px/1 var(--lilita); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 4px; } .pcol .won { font: 18px/1 var(--lilita); color: #FFD23F; }
  .pcol .blk { width: 100%; margin-top: 8px; border: 4px solid var(--ink2); border-bottom: 0; border-radius: 14px 14px 0 0; display: grid; place-items: center; font: 44px/1 var(--marker); color: #fff; text-shadow: 3px 3px 0 var(--ink2), -1px -1px 0 var(--ink2), 1px -1px 0 var(--ink2), -1px 1px 0 var(--ink2); }
  .pcol.first .blk { height: 128px; background: #FFD23F; } .pcol.second .blk { height: 95px; background: #9AA5B1; } .pcol.third .blk { height: 68px; background: #B07A3A; }
  .pcol .open { width: 56px; height: 56px; border-radius: 50%; border: 3px dashed #BFD9C8; opacity: .6; } .pcol .onm { font: 20px/1 var(--lilita); color: #BFD9C8; opacity: .8; } .pcol .odash { font: 18px/1 var(--lilita); color: #BFD9C8; opacity: .8; }
  .wrow2 { display: grid; grid-template-columns: 32px 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 2px dashed rgba(255,255,255,.12); } .wrow2 .rk { font: 20px/1 var(--lilita); color: #D6F2E0; text-align: center; } .wrow2 .who b { font: 19px/1.1 var(--lilita); font-weight: 400; } .wrow2 .who small { display: block; font: 800 14px/1.25 var(--nunito); color: #D6F2E0; margin-top: 2px; } .wrow2 .won { font: 20px/1 var(--lilita); color: #FFD23F; white-space: nowrap; }
  .mecard { background: #FFD23F; color: var(--ink2); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; } .mecard .rk { font: 34px/1 var(--marker); } .mecard b { font: 22px/1.1 var(--lilita); font-weight: 400; } .mecard small { display: block; margin-top: 4px; font: 800 15px/1.3 var(--nunito); color: #5a4300; }
  .champ { display: flex; gap: 12px; align-items: center; font: 800 16px/1.35 var(--nunito); color: #fff; } .champ b { color: #FFD23F; font-weight: 800; } .champ svg { width: 28px; height: 28px; flex: 0 0 28px; color: #FFD23F; }
  .bnote { text-align: center; margin-top: 18px; font: 800 16px/1.4 var(--nunito); color: #D6F2E0; }
  /* the Hall of fame (highlights.md): Your week's cream card with a row per moment and its "1 in N" tag, the list's rows (the Whale board's) with the 👏 */
  #boardTabs .qtab { flex: 1 1 auto; padding: 0 6px; white-space: nowrap; } @media (max-width: 429px) { #boardTabs .qtab { font-size: 17px; padding: 0 4px; } } @media (max-width: 374px) { #boardTabs .qtab { font-size: 16px; padding: 0 2px; } } /* (three tabs, each on one line) */
  .fweek .fwh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; } .fweek .fwh b { font: 24px/1.1 var(--lilita); font-weight: 400; } .fweek .fwh small { font: 800 15px/1.2 var(--nunito); color: #6b5a2a; white-space: nowrap; }
  .fmom { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0 0; margin-top: 10px; border-top: 2px dashed rgba(27,18,6,.18); }
  .fmom .gi { font-size: 30px; line-height: 1; text-align: center; }
  .fmom .ft { min-width: 0; } .fmom .ft b { display: block; font: 21px/1.1 var(--lilita); font-weight: 400; } .fmom .ft small { display: block; margin-top: 3px; font: 800 14px/1.3 var(--nunito); color: #6b5a2a; overflow-wrap: anywhere; } .fmom .ft .fd { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
  .odds { display: inline-block; padding: 5px 10px; border-radius: 999px; background: #FFD23F; color: var(--ink2); border: 3px solid var(--ink2); font: 15px/1 var(--lilita); white-space: nowrap; }
  .fempty { margin-top: 10px; font: 800 15px/1.4 var(--nunito); color: #6b5a2a; }
  .fweek .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
  .wrow2.frow { grid-template-columns: 28px 48px minmax(0, 1fr) auto; } .wrow2.frow .who { min-width: 0; } /* (the Hall of fame's rows alone: a rank, the picture, the text, the clap; the friend cards keep their three columns) */
  .frow .fl { display: block; margin-top: 6px; } .frow .fl b { font: 17px/1.2 var(--lilita); font-weight: 400; color: #fff; } .frow .fl .odds { padding: 2px 7px; border-width: 2px; font-size: 13px; vertical-align: 1px; } .frow .fl small { color: #BFD9C8; overflow-wrap: anywhere; }
  .frow.me .rk { color: #FFD23F; }
  .clap { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 60px; height: 46px; padding: 0 10px; border-radius: 999px; background: #0D5A31; border: 3px solid var(--ink2); box-shadow: 0 3px 0 var(--ink2); color: #fff; font: 18px/1 var(--lilita); font-weight: 400; transition: none; }
  .clap.on { background: #FFD23F; color: var(--ink2); } .clap:disabled { opacity: .55; box-shadow: none; } .clap:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink2); }
  /* Settings: a bottom sheet over the dimmed lobby */
  .modal.bsheet { align-items: flex-end; justify-content: center; padding: 0; }
  .bsheet .sheet.settings { max-width: 440px; max-height: calc(var(--app-h, 100dvh) - 24px); background: #0D4A2B; border: 4px solid var(--ink2); border-bottom: 0; border-radius: 28px 28px 0 0; padding: 12px 16px calc(28px + env(safe-area-inset-bottom)); box-shadow: 0 -30px 60px rgba(0,0,0,.4); font-family: var(--lilita); color: #fff; }
  .bsheet .handle { width: 110px; height: 8px; border-radius: 4px; background: #6B7A8A; margin: 0 auto 14px; flex: 0 0 8px; }
  .shead { display: flex; justify-content: space-between; align-items: center; gap: 10px; } .shead h2 { margin: 0; font: clamp(32px, 10vw, 44px)/1 var(--marker); font-weight: 400; color: var(--lob-yellow); text-shadow: -3px -3px 0 var(--ink2), 3px -3px 0 var(--ink2), -3px 3px 0 var(--ink2), 3px 3px 0 var(--ink2), 0 6px 0 var(--ink2); transform: rotate(-2deg); transform-origin: left center; padding: 6px 0 4px; }
  .sheet .xclose.xr { position: relative; width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%; background: #6B7A8A; border: 4px solid var(--ink2); box-shadow: 0 4px 0 var(--ink2); color: #fff; font: 30px/1 var(--lilita); display: grid; place-items: center; padding: 0; transition: none; } .sheet .xclose.xr::after { inset: -8px; } .sheet .xclose.xr:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink2); }
  .sheet.toon .xclose.xr { position: absolute; top: 10px; right: 10px; }
  .sgroup { margin-top: 18px; font: 800 15px/1 var(--nunito); letter-spacing: .08em; text-transform: uppercase; color: #D6F2E0; }
  .slist { margin-top: 10px; background: #072A17; border: 3px solid var(--ink2); border-radius: 20px; overflow: hidden; }
  .srow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-top: 2px solid rgba(255,255,255,.08); min-height: 72px; } .srow:first-child { border-top: 0; } .srow .t { min-width: 0; flex: 1; }
  .srow b { display: block; font: 22px/1.05 var(--lilita); font-weight: 400; } .srow small { display: block; margin-top: 4px; font: 800 15px/1.2 var(--nunito); color: #D6F2E0; }
  .tog { position: relative; flex: 0 0 72px; width: 72px; height: 40px; cursor: pointer; display: block; } .tog input { position: absolute; opacity: 0; width: 0; height: 0; } .tog .tr { position: absolute; inset: 0; background: #1B3B2A; border: 3px solid var(--ink2); border-radius: 999px; box-shadow: 0 3px 0 var(--ink2); transition: background .15s; }
  .tog .kn { position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--ink2); transition: transform .15s; } .tog input:checked + .tr { background: #7ED957; } .tog input:checked + .tr .kn { transform: translateX(32px); } .tog input:disabled + .tr { opacity: .5; }
  .trackpill { min-height: 52px; max-width: 58%; padding: 0 14px 0 16px; background: #FFD23F; color: var(--ink2); border: 3px solid var(--ink2); border-radius: 999px; box-shadow: 0 3px 0 var(--ink2); font: 19px/1 var(--lilita); font-weight: 400; display: inline-flex; align-items: center; gap: 6px; transition: none; } .trackpill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .trackpill svg { width: 18px; height: 18px; flex: 0 0 auto; } .trackpill:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink2); } .trackpill:hover:not(:disabled) { filter: none; }
  @media (max-width: 379px) { .trackpill { font-size: 17px; padding: 0 10px 0 12px; } }
  .tracklist { padding: 4px 16px 10px; border-top: 2px solid rgba(255,255,255,.08); } .trow { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 0; border-top: 1px dashed rgba(255,255,255,.12); } .trow:first-child { border-top: 0; } .trow .t { flex: 1; min-width: 0; } .trow .t b { font: 19px/1.1 var(--lilita); font-weight: 400; } .trow .t small { font-size: 14px; } .trow.locked .t b { color: #BFD9C8; } .trow .pick { min-height: 40px; }
  .sacct { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; } .sacct .full { grid-column: 1 / -1; }
  .sfoot { text-align: center; margin: 28px 0 0; font: 800 15px/1.3 var(--nunito); color: #fff; }
  .srow.locked .tog { cursor: default; opacity: .7; } /* (Accessibility's Reduce motion while the phone asks for less motion: on, and not the player's to change) */
  .srow.slink { width: 100%; justify-content: flex-start; background: transparent; color: #fff; border-radius: 0; text-align: left; font: inherit; transition: none; } /* (About's Privacy policy: a whole row to tap, the shield and the chevron) */
  .srow.slink > svg { flex: 0 0 26px; width: 26px; height: 26px; color: #FFD23F; } .srow.slink > svg:last-child { flex-basis: 24px; width: 24px; height: 24px; color: #D6F2E0; }
  .srow.slink:hover:not(:disabled) { filter: none; background: rgba(255,255,255,.04); } .srow.slink:active:not(:disabled) { transform: none; background: rgba(255,255,255,.08); } .srow.slink:focus-visible { outline: 3px solid #fff; outline-offset: -6px; border-radius: 16px; }
  /* Change password (account-and-path-tweaks.md): the Settings sheet's style, three white fields with an eye each, the rule and the mismatch under them */
  .sheet label.pfield { display: block; margin: 14px 0 0; padding: 0; } .pfield .pl { display: block; font: 17px/1 var(--lilita); color: #fff; margin-bottom: 8px; } /* (the sheets' labels are flex rows for their switches; these stack) */
  .pfield .pin { position: relative; display: block; } .pfield input { width: 100%; min-height: 56px; padding: 0 60px 0 16px; background: #fff; color: var(--ink2); border: 4px solid var(--ink2); border-radius: 16px; box-shadow: 0 4px 0 var(--ink2); font: 22px/1 var(--lilita); outline: none; } .pfield input:focus { border-color: var(--ink2); box-shadow: 0 4px 0 var(--ink2), 0 0 0 3px #fff; }
  .pfield .eye, .afield .eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; padding: 0; border-radius: 50%; background: transparent; color: var(--ink2); display: grid; place-items: center; box-shadow: none; transition: none; } .pfield .eye svg, .afield .eye svg { width: 26px; height: 26px; } .pfield .eye:hover:not(:disabled), .afield .eye:hover:not(:disabled) { filter: none; } .pfield .eye:active:not(:disabled), .afield .eye:active:not(:disabled) { transform: translateY(-50%); }
  .pfield .ph { display: block; min-height: 18px; margin-top: 6px; font: 800 14px/1.3 var(--nunito); color: #D6F2E0; } .pfield .ph.bad { color: #FF8A8A; }
  .perr { min-height: 20px; margin-top: 10px; font: 800 15px/1.3 var(--nunito); color: #FF8A8A; text-align: center; }
  .pbtns { display: grid; gap: 12px; margin-top: 6px; } .abtn.grey { background: #5B6B7A; color: #fff; }
  /* the cartoon sheets the account screens open (the title picker, an achievement's details) */
  .sheet.toon { max-width: 440px; background: #0B3D22; border: 4px solid var(--ink2); border-radius: 24px; box-shadow: 0 6px 0 var(--ink2); padding: 16px 16px 20px; font-family: var(--lilita); color: #fff; }
  .sheet.toon h2 { margin: 0 0 4px; font: 30px/1 var(--marker); font-weight: 400; color: #fff; text-shadow: 3px 3px 0 var(--ink2), -1px -1px 0 var(--ink2), 1px -1px 0 var(--ink2), -1px 1px 0 var(--ink2); padding-right: 60px; }
  .tgroup { margin-top: 16px; font: italic 18px/1 var(--lilita); } .tgroup.sp { color: #FF5A5A; }
  .topt { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 56px; margin-top: 8px; padding: 8px 14px; background: #072A17; border: 3px solid rgba(0,0,0,.35); border-radius: 16px; color: #fff; text-align: left; font: 18px/1.15 var(--lilita); font-weight: 400; transition: none; }
  .topt .ttl { font-size: 20px; white-space: normal; } .topt small { display: block; font: 800 13px/1.25 var(--nunito); color: #D6F2E0; margin-top: 2px; } .topt.on { border-color: #FFD23F; } .topt.locked { opacity: .6; } .topt .ck { color: #7ED957; font-size: 22px; flex: 0 0 auto; } .topt:hover:not(:disabled) { filter: none; } .topt:active:not(:disabled) { transform: none; }
  /* The account sheet (account-popups-redesign.md): Sign in, Create account, Use your code and the recovery code in one bottom sheet over the dimmed
     lobby, in the Settings sheet's style. Create account stands near full height with its button at the bottom; the others size to their content. */
  .modal.asheet { background: rgba(6,10,16,.62); }
  .asheet .sheet.auth { max-width: 440px; max-height: calc(100vh - 28px); max-height: calc(var(--app-h, 100dvh) - 28px); background: #0B3D22; border: 4px solid var(--ink2); border-bottom: 0; border-radius: 28px 28px 0 0; padding: 10px 18px calc(20px + env(safe-area-inset-bottom)); box-shadow: 0 -30px 60px rgba(0,0,0,.4); font-family: var(--lilita); color: #fff; overscroll-behavior: contain; }
  .asheet[data-screen="up"] .sheet.auth { height: calc(100vh - 28px); height: calc(var(--app-h, 100dvh) - 28px); }
  .asheet[data-screen="up"] #authForm { display: flex; flex-direction: column; flex: 1 0 auto; } .asheet[data-screen="up"] #authErr { min-height: 18px; margin-top: auto; padding-top: 10px; } /* (here the room above the button takes a longer message) */
  .asheet [hidden] { display: none !important; }
  .asheet .handle { width: 54px; height: 6px; border-radius: 3px; background: #4F7A64; margin: 0 auto 12px; flex: 0 0 6px; }
  .auth .shead { justify-content: flex-start; gap: 12px; min-height: 50px; } .auth .shead h2 { flex: 1; min-width: 0; font-size: 30px; overflow-wrap: anywhere; }
  .auth .xclose.xr, .auth .aback { top: auto; right: auto; width: 46px; height: 46px; flex: 0 0 46px; font-size: 28px; }
  .auth .aback { position: relative; border-radius: 50%; background: #6B7A8A; border: 4px solid var(--ink2); box-shadow: 0 4px 0 var(--ink2); color: #fff; display: grid; place-items: center; padding: 0; transition: none; } .auth .aback svg { width: 22px; height: 22px; } .auth .aback::after { content: ""; position: absolute; inset: -8px; }
  .auth .aback:hover:not(:disabled) { filter: none; } .auth .aback:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink2); }
  .aswitch { display: flex; gap: 6px; margin-top: 14px; padding: 5px; background: #06281A; border: 3px solid var(--ink2); border-radius: 22px; }
  .aswitch button { flex: 1; min-width: 0; min-height: 44px; padding: 0 8px; background: transparent; color: #CFEBDA; border: 3px solid transparent; border-radius: 16px; font: 17px/1 var(--lilita); font-weight: 400; transition: none; }
  .aswitch button[aria-selected="true"] { background: #FFD23F; color: var(--ink2); border-color: var(--ink2); box-shadow: 0 3px 0 var(--ink2), inset 0 3px 0 rgba(255,255,255,.45); }
  .aswitch button:hover:not(:disabled) { filter: none; } .aswitch button:active:not(:disabled) { transform: none; } .aswitch button:focus-visible, .aforgot:focus-visible, .anewgo:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
  .afield { margin-top: 14px; } .afield label { display: block; margin: 0 0 7px; font: 16px/1 var(--lilita); color: #fff; }
  .afield input { width: 100%; height: 50px; padding: 0 14px; background: #fff; color: var(--ink2); border: 3px solid var(--ink2); border-radius: 14px; box-shadow: 0 3px 0 var(--ink2); font: 20px/1 var(--lilita); outline: none; }
  .afield input:focus { border-color: var(--ink2); box-shadow: 0 3px 0 var(--ink2), 0 0 0 3px rgba(255,255,255,.85); } .afield.bad input, .afield.bad input:focus { border-color: #E8505B; }
  .afield .apin { position: relative; display: block; } .afield .apin input { padding-right: 58px; }
  .afield input.acode { background: #FFF4D6; font: 600 19px/1 var(--mono); letter-spacing: .04em; } .afield input.acode::placeholder { color: #9A8F72; opacity: 1; }
  .arule { display: flex; align-items: center; gap: 7px; min-height: 15px; margin-top: 6px; font: 800 12px/1.25 var(--nunito); color: #D6F2E0; } .arule svg { width: 15px; height: 15px; flex: 0 0 15px; }
  .arule.ok { color: #9FE0A8; } .arule.bad { color: #FFB3B8; } .arule.blank { visibility: hidden; }
  .aucard { margin-top: 16px; background: #FFF4D6; color: var(--ink2); border: 3px solid var(--ink2); border-radius: 20px; box-shadow: 0 4px 0 var(--ink2); }
  .aico { display: block; width: 23px; height: 23px; flex: 0 0 23px; } .aico.sw { width: 20px; height: 20px; flex-basis: 20px; margin: 0 1.5px; border: 2.5px solid var(--ink2); border-radius: 6px; } .aico.aufelt { background: #2D5DAA; } .aico.auorange { background: #FF8A3D; }
  .astart { padding: 11px 12px 12px; } .aucard .ak { font: 800 12px/1 var(--nunito); letter-spacing: .14em; text-transform: uppercase; color: #6B5426; }
  .astart .agrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 10px; margin-top: 9px; } .astart .agrid > span { display: flex; align-items: center; gap: 8px; min-width: 0; } .astart .agrid b { font: 15px/1.1 var(--lilita); font-weight: 400; }
  .astart p { margin: 8px 0 0; font: 800 12px/1.35 var(--nunito); color: #6B5426; }
  .akey { display: flex; gap: 9px; align-items: flex-start; margin-top: 14px; font: 800 12.5px/1.35 var(--nunito); color: #E3F4EA; } .akey svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 1px; color: #FFD23F; }
  .aforgotrow { display: flex; justify-content: flex-end; margin-top: 14px; }
  .aforgot { padding: 4px 0; background: none; color: #FFD23F; font: 15px/1.2 var(--lilita); font-weight: 400; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; border-radius: 4px; transition: none; } .aforgot:hover:not(:disabled) { filter: none; } .aforgot:active:not(:disabled) { transform: none; }
  .aerr { min-height: 29px; margin: 0; display: flex; align-items: flex-end; justify-content: center; font: 800 12px/1.2 var(--nunito); color: #FFB3B8; text-align: center; } /* (two lines' room, so a message never moves the button) */
  .gbtn.ago { width: 100%; height: 66px; flex: 0 0 66px; margin-top: 2px; font-size: 34px; background: #7ED957; border-radius: 48% 52% 46% 54% / 56% 50% 50% 44%; text-shadow: 3px 3px 0 var(--ink2), -2px -2px 0 var(--ink2), 2px -2px 0 var(--ink2), -2px 2px 0 var(--ink2), 0 3px 0 var(--ink2); } .gbtn.ago.gold { background: #FFD23F; }
  .anew { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; } .anew .aico { width: 34px; height: 34px; flex-basis: 34px; }
  .anew > span { flex: 1; min-width: 0; font: 15px/1.2 var(--lilita); } .anew b { display: block; font-weight: 400; color: #1F5FD0; }
  .anewgo { flex: 0 0 auto; min-height: 40px; padding: 0 12px; background: #FFD23F; color: var(--ink2); border: 3px solid var(--ink2); border-radius: 14px; box-shadow: 0 3px 0 var(--ink2), inset 0 3px 0 rgba(255,255,255,.45); font: 16px/1 var(--lilita); font-weight: 400; transition: none; }
  .anewgo:hover:not(:disabled) { filter: none; } .anewgo:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink2), inset 0 3px 0 rgba(255,255,255,.45); }
  .aintro { margin: 10px 0 0; font: 800 14px/1.4 var(--nunito); color: #D6F2E0; }
  .acodecard { padding: 14px 14px 16px; text-align: center; }
  .acodeval { margin: 10px 0 14px; font: 500 21px/1.2 var(--mono); letter-spacing: .08em; white-space: nowrap; color: var(--ink2); }
  .acodebtns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .acbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 48px; padding: 0 8px; border: 3px solid var(--ink2); border-radius: 16px; box-shadow: 0 4px 0 var(--ink2), inset 0 3px 0 rgba(255,255,255,.4); color: var(--ink2); font: 18px/1 var(--lilita); font-weight: 400; white-space: nowrap; transition: none; }
  .acbtn svg { width: 20px; height: 20px; flex: 0 0 20px; } .acbtn.gold { background: #FFD23F; } .acbtn.blue { background: #3FA9F5; }
  .acbtn:hover:not(:disabled) { filter: none; } .acbtn:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink2), inset 0 3px 0 rgba(255,255,255,.4); } .acbtn:focus-visible { outline: 3px solid var(--ink2); outline-offset: 2px; }
  .asaved { display: flex; align-items: center; gap: 14px; margin: 14px 0 10px; padding: 12px 14px; background: #06281A; border: 3px solid var(--ink2); border-radius: 18px; font: 18px/1.2 var(--lilita); color: #fff; cursor: pointer; }
  .asaved input { -webkit-appearance: none; appearance: none; flex: 0 0 26px; width: 26px; height: 26px; margin: 0; padding: 0; background: #FFF4D6 center / 20px no-repeat; border: 3px solid var(--ink2); border-radius: 6px; cursor: pointer; }
  .asaved input:checked { background-color: #7ED957; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%231B1206' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
  .asaved input:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
  #authCode .gbtn.ago { margin-top: 8px; }
  @media (max-width: 379px) { .asheet .sheet.auth { padding-left: 14px; padding-right: 14px; } .astart .agrid b { font-size: 14px; } .anew > span { font-size: 14px; } }
  /* The privacy policy (privacy-policy-page.md): its text, from /privacy's <article id="policy">, in a cream card that scrolls on its own; the same
     card in Settings' reader (#privacyModal, a full-height bottom sheet in the sheets' look) and on the sign-up's agreement screen */
  .apolicy { min-height: 0; overflow-y: auto; overscroll-behavior: contain; background: #FFF4D6; color: #46351A; border: 3px solid var(--ink2); border-radius: 18px; padding: 14px 16px 18px; font: 800 15px/1.45 var(--nunito); text-align: left; overflow-wrap: break-word; scrollbar-width: thin; }
  .apolicy:focus { outline: none; } .apolicy:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
  .apolicy h1, .apolicy h2 { margin: 20px 0 6px; padding: 0; font: 20px/1.15 var(--lilita); font-weight: 400; color: var(--ink2); text-shadow: none; transform: none; letter-spacing: 0; text-transform: none; }
  .apolicy h1 { margin-top: 0; font-size: 26px; } .apolicy > :first-child { margin-top: 0; }
  .apolicy p { margin: 8px 0; } .apolicy ul { margin: 6px 0 10px; padding-left: 20px; } .apolicy li { margin: 5px 0; } .apolicy li::marker { color: #B07D00; }
  .apolicy strong { font-weight: 800; color: var(--ink2); background: linear-gradient(transparent 60%, rgba(255,210,63,.8) 60%); } /* (Nunito is 800 throughout: the bold is ink over a highlighter, as on the page) */
  .apolicy code { font: 600 .9em/1 var(--mono); color: var(--ink2); background: #fff; border: 2px solid rgba(27,18,6,.18); border-radius: 6px; padding: 1px 4px; }
  .apolicy table { width: 100%; margin: 10px 0 4px; border-collapse: separate; border-spacing: 0; table-layout: fixed; background: #fff; border: 3px solid var(--ink2); border-radius: 12px; overflow: hidden; font-size: 14px; }
  .apolicy th, .apolicy td { padding: 7px 8px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
  .apolicy th { background: #FFD23F; color: var(--ink2); font: 16px/1.2 var(--lilita); font-weight: 400; border-bottom: 3px solid var(--ink2); }
  .apolicy td { line-height: 1.35; border-top: 2px solid rgba(27,18,6,.14); } .apolicy tbody tr:first-child td { border-top: 0; } .apolicy th + th, .apolicy td + td { border-left: 2px solid rgba(27,18,6,.14); }
  .apolicy .apwait { margin: 0; color: #6B5426; } .apolicy .apfail { display: grid; justify-items: center; gap: 12px; padding: 18px 4px; text-align: center; color: var(--ink2); } .apolicy .apfail p { margin: 0; }
  #privacyModal .tsbody { overflow: hidden; padding-top: 6px; padding-bottom: 12px; } #privacyModal .tsbody > .apolicy { flex: 1 1 auto; }
  #privacyModal .foot .actions .tbtn { flex: 1 1 auto; }
  #privacyModal .privpage { display: block; width: fit-content; margin: 10px auto 0; padding: 4px 6px; font: 800 15px/1.2 var(--nunito); color: #FFD23F; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; border-radius: 6px; }
  #privacyModal .privpage:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
  /* The policy's screen in the account sheet (#authPrivacy, §3–§4): at sign-up and for an account from before the current policy. Full height,
     the card takes what the rest leaves, so the hint, the box and the button always show under it; the box greyed until the end is reached */
  .asheet[data-screen="priv"] .sheet.auth, .asheet[data-screen="ask"] .sheet.auth { height: calc(100vh - 28px); height: calc(var(--app-h, 100dvh) - 28px); }
  .modal.asheet[data-screen="ask"] { z-index: 15; } /* (over every other sheet: the game behind it waits for the answer) */
  #authPrivacy { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; } #authPrivacy > * { flex-shrink: 0; }
  #authPrivacy .aintro { margin: 6px 0 12px; }
  #authPrivacy .apolicy { flex: 1 1 auto; min-height: 140px; } /* (on a tiny screen the sheet scrolls rather than the card vanish) */
  .aphint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px 0 0; font: 800 14px/1.2 var(--nunito); color: #FFD23F; }
  .aphint svg { width: 18px; height: 18px; flex: 0 0 18px; animation: apbob 1.1s ease-in-out infinite; }
  @keyframes apbob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
  @media (prefers-reduced-motion: reduce) { .aphint svg { animation: none; } }
  body.rm .aphint svg { animation: none; }
  .asaved.apriv { margin: 10px 0 8px; }
  .asaved.apriv.off { opacity: .45; cursor: not-allowed; } .asaved.apriv.off input { cursor: not-allowed; }
  #privErr { min-height: 0; margin: 0 0 8px; } #privErr:empty { display: none; }
  .aforgot.aprivout { display: block; margin: 10px auto 0; padding: 4px 8px; }
  .asheet[data-screen="ask"] #privGo { font-size: clamp(24px, 7.4vw, 29px); white-space: nowrap; } /* (Agree and continue on one line) */
  /* Challenge (old-sheets-new-style.md §4): a content-sized bottom sheet over the lobby; the buy-in a white field, Double or Nothing and Side bets each a dark box with a switch and an option row, Send it orange */
  #duelModal .tsbody > .tslbl { display: flex; margin: 14px 0 8px; font-size: 12px; color: #9FD3B5; }
  #duelModal .duelbox .duelrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  #duelModal .duelbox .duelrow > label:first-child { display: block; margin: 0; font: 21px/1.1 var(--lilita); color: #fff; cursor: pointer; }
  #duelModal .duelbox .tog { margin: 0; }
  #duelModal .duelbox .tslbl { margin: 14px 0 8px; }
  #duelModal .duelbox .segrow button { min-height: 54px; padding: 4px 6px; line-height: 1.05; }
  #duelModal #duelErr { margin-top: 10px; }
  #duelModal .foot .tbtn.main small { font-size: 14px; }
  /* Delete my account (admin-activity.md §4): the Account card's red row under Sign out, and its sheet (the Change password sheet's look) */
  .accbtns .delrow { min-height: 44px; margin-top: 2px; padding: 0; background: transparent; box-shadow: none; color: #FF8A8A; font: 800 16px/1.2 var(--nunito); text-decoration: underline; text-underline-offset: 3px; } .accbtns .delrow:hover:not(:disabled) { filter: none; color: #FFB0B0; }
  .abtn.red { background: #E8505B; color: #fff; }
  .sheet.del .delnote { margin: 4px 0 0; padding: 12px 14px; background: rgba(232,80,91,.16); border: 3px solid #E8505B; border-radius: 16px; font: 800 15px/1.4 var(--nunito); color: #FFE1E3; }
