@font-face{font-family:"Plex Mono";src:url(fonts/ibm-plex-mono-600.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Plex Mono";src:url(fonts/ibm-plex-mono-700.woff2) format("woff2");font-weight:700;font-display:swap}

:root{
  --bg:#f5f5f7; --card:#fff; --ink:#1d1d1f; --ink2:#6e6e73; --ink3:#6e6e73;
  --hair:rgba(0,0,0,.08); --fill:rgba(118,118,128,.12); --fill2:rgba(118,118,128,.08);
  --lift:0 1px 2px rgba(0,0,0,.04),0 8px 26px rgba(0,0,0,.07);
  --lift-hover:0 2px 4px rgba(0,0,0,.05),0 16px 40px rgba(0,0,0,.11);
  --n:#0071e3; --link:#0066cc; --ok:#248a3d; --ok-tint:rgba(52,199,89,.14); --bad:#d70015;
  --q:#d9480f; --q-ink:#fff;
  --btn:#1d1d1f; --btn-ink:#fff;
  --sheet:#fff; --scrim:rgba(0,0,0,.32);
  --sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Helvetica Neue",system-ui,sans-serif;
  --serif:"New York",ui-serif,"Iowan Old Style","Palatino",Georgia,serif;
  --mono:"Plex Mono","IBM Plex Mono",ui-monospace,Menlo,monospace;
  color-scheme:light dark;
}
@media (prefers-color-scheme:dark){
  :root{
    --bg:#000; --card:#1c1c1e; --ink:#f5f5f7; --ink2:#98989d; --ink3:#8d8d93;
    --hair:rgba(255,255,255,.1); --fill:rgba(118,118,128,.24); --fill2:rgba(118,118,128,.16);
    --lift:none; --lift-hover:none;
    --n:#0a84ff; --link:#2997ff; --ok:#30d158; --ok-tint:rgba(48,209,88,.16); --bad:#ff453a;
    --q:#ff8a3d; --q-ink:#1a0c04;
    --btn:#f5f5f7; --btn-ink:#000;
    --sheet:#1c1c1e; --scrim:rgba(0,0,0,.55);
  }
}

*{box-sizing:border-box;margin:0;padding:0}
html{background:var(--bg);-webkit-text-size-adjust:100%}
body{font:17px/1.35 var(--sans);color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;min-height:100vh}
a{color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
[hidden]{display:none!important}
:focus-visible{outline:3px solid var(--n);outline-offset:2px}

.page{max-width:560px;margin:0 auto;padding:calc(env(safe-area-inset-top) + 22px) max(16px,env(safe-area-inset-right)) calc(env(safe-area-inset-bottom) + 28px) max(16px,env(safe-area-inset-left))}

/* ---------- Header ---------- */
.top{padding:0 4px 14px}
.date{font-size:13px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--ink2)}
h1{font-size:34px;line-height:1.12;font-weight:700;letter-spacing:-.022em;margin-top:2px}

/* ---------- Game cards ---------- */
.cards{display:grid;gap:14px}
.card{position:relative;display:flex;flex-direction:column;border-radius:22px;overflow:hidden;background:var(--card);box-shadow:var(--lift);isolation:isolate;transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s ease}
.card:active{transform:scale(.982)}
.card:focus-visible{outline:3px solid var(--n);outline-offset:3px}

.art{position:relative;overflow:hidden;display:flex;flex-direction:column;padding:16px 18px 18px;color:#fff}
.art > *{position:relative;z-index:1}
.art > .motif{position:absolute;z-index:0;pointer-events:none}
.eyebrow{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#fff}
.title{font-size:31px;line-height:1.08;font-weight:700;letter-spacing:-.022em;margin-top:4px}
.desc{font-size:15px;line-height:1.38;font-weight:500;margin-top:9px;color:#fff;text-wrap:pretty;max-width:22em}

.strip{display:flex;align-items:center;gap:12px;padding:12px 14px 12px 16px}
.icon{width:38px;height:38px;border-radius:9px;flex:none;box-shadow:0 0 0 .5px var(--hair)}
.meta{flex:1;min-width:0}
.l1{display:flex;align-items:center;gap:6px;font-size:15px;font-weight:600;line-height:1.25;white-space:nowrap}
.l2{font-size:13px;line-height:1.3;color:var(--ink2);margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.l1 .tick{width:15px;height:15px;flex:none;color:var(--ok)}
.card.done .l1{color:var(--ok)}
.play{flex:none;display:inline-flex;align-items:center;justify-content:center;height:32px;min-width:72px;padding:0 18px;border-radius:16px;font-size:15px;font-weight:600;letter-spacing:-.01em;color:#fff}
.card.done .play{background:var(--fill)!important;color:var(--link)!important}

/* Notables: Apple look, blue */
.notables .art{background:linear-gradient(225deg,#2b7ff0 0%,#0f67dc 42%,#0050b8 100%)}
.notables .art .eyebrow,.notables .art .title,.notables .art .desc{text-shadow:0 1px 1px rgba(0,40,110,.18)}
.notables .motif{top:-24px;right:-18px;width:110px;transform:rotate(-9deg)}
.notables .play{background:var(--n)}

/* Gess: Mission Control in both modes */
.gess{background:#07090c;box-shadow:0 0 0 1px rgba(170,200,230,.12),var(--lift)}
.gess .art{
  background:
    radial-gradient(1.3px 1.3px at 8% 30%,rgba(255,255,255,.85) 50%,transparent 60%),
    radial-gradient(1px 1px at 22% 12%,rgba(255,255,255,.6) 50%,transparent 60%),
    radial-gradient(1px 1px at 37% 78%,rgba(255,255,255,.45) 50%,transparent 60%),
    radial-gradient(1.2px 1.2px at 52% 18%,rgba(255,255,255,.7) 50%,transparent 60%),
    radial-gradient(1px 1px at 63% 56%,rgba(255,255,255,.5) 50%,transparent 60%),
    radial-gradient(1px 1px at 46% 44%,rgba(255,255,255,.35) 50%,transparent 60%),
    radial-gradient(1.2px 1.2px at 88% 86%,rgba(255,255,255,.55) 50%,transparent 60%),
    radial-gradient(1px 1px at 15% 88%,rgba(255,255,255,.4) 50%,transparent 60%),
    radial-gradient(120% 90% at 100% 0%,rgba(239,122,70,.16),transparent 55%),
    linear-gradient(180deg,#05060a 0%,#080a10 100%);
}
.gess .motif{top:-34px;right:-30px;width:156px}
.gess .eyebrow{font:600 11.5px/1.3 var(--mono);letter-spacing:.16em;color:#ffb547}
.gess .eyebrow .dot{color:#4b5563;letter-spacing:0;margin:0 .35em}
.gess .eyebrow .new{color:#6fd6e6}
.gess .title{font:700 30px/1.1 var(--mono);letter-spacing:.26em;color:#f3f5f8;margin-top:6px}
.gess .desc{font-weight:400;color:#c5ccd6}
.gess .strip{background:#07090c;border-top:1px solid rgba(170,200,230,.12)}
.gess .icon{box-shadow:0 0 0 1px rgba(170,200,230,.16)}
.gess .l1{color:#f3f5f8}
.gess .l2{color:#8e98a6}
.gess.done .l1{color:#5fd38a;font:600 13px/1.25 var(--mono);letter-spacing:.08em;text-transform:uppercase}
.gess .l1 .tick{color:#5fd38a}
.gess .play{background:#4aa3e8;color:#05060a;border-radius:10px;font:700 13px var(--mono);letter-spacing:.16em;padding:0 16px 0 18px}
.gess.done .play{background:transparent!important;color:#4aa3e8!important;box-shadow:inset 0 0 0 1.5px #4aa3e8}

/* Quotable: Apple look, warm accent, serif voice */
.quotable .art{background:linear-gradient(225deg,#f07a30 0%,#cc461c 44%,#b52a24 100%)}
.quotable .art .eyebrow,.quotable .art .title,.quotable .art .desc{text-shadow:0 1px 1px rgba(110,20,0,.2)}
.quotable .title{font-family:var(--serif);font-weight:700;letter-spacing:-.005em}
.quotable .motif{top:-8px;right:14px;width:96px;opacity:.24}
.quotable .play{background:var(--q);color:var(--q-ink)}

/* ---------- Today's set ---------- */
.set,.others{margin-top:14px;background:var(--card);border-radius:22px;box-shadow:var(--lift);padding:18px 16px 8px}
.set-head,.others-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 4px}
.set h2,.others h2{font-size:22px;line-height:1.2;font-weight:700;letter-spacing:-.015em}
.set-count{font-size:14px;color:var(--ink2);white-space:nowrap}
.set-intro{font-size:15px;line-height:1.4;color:var(--ink2);padding:4px 4px 0}
.set-list{list-style:none;margin:12px 0 4px;display:grid;grid-template-columns:minmax(0,1fr);gap:2px}
.set-list li{display:flex;align-items:center;gap:10px;padding:8px 4px;border-bottom:1px solid var(--hair);min-height:44px}
.set-list li:last-child{border-bottom:0}
.set-list .g{font-size:15px;font-weight:600;flex:none}
.set-list .v{flex:1;min-width:0;font-size:14px;color:var(--ink2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.set-list .tick{width:16px;height:16px;flex:none;color:var(--ok)}
.set-list .rm{flex:none;width:44px;height:44px;margin:-8px -8px -8px 0;display:grid;place-items:center;color:var(--ink3);border-radius:50%}
.set-list .rm svg{width:12px;height:12px}
.big-btn{display:flex;width:100%;align-items:center;justify-content:center;gap:8px;height:52px;margin-top:10px;border-radius:14px;background:var(--btn);color:var(--btn-ink);font-size:17px;font-weight:600;letter-spacing:-.01em}
.big-btn svg{width:19px;height:19px}
.big-btn:active{opacity:.85}
.set-note{text-align:center;font-size:13px;color:var(--ink2);margin-top:8px;padding:0 8px}
.set-note:empty{display:none}

.row-btn{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:12px 4px;margin-top:8px;border-top:1px solid var(--hair)}
.row-ico{flex:none;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;color:var(--link);background:var(--fill2)}
.row-ico svg{width:20px;height:20px}
.row-text{flex:1;min-width:0;display:block}
.row-t{display:block;font-size:15px;font-weight:600;color:var(--link)}
.row-s{display:block;font-size:13px;color:var(--ink2);line-height:1.3;margin-top:1px}
.chev{flex:none;width:8px;height:14px;color:var(--ink3);transition:transform .2s ease}

/* ---------- More daily games ---------- */
.others{padding-bottom:12px}
.others-sub{font-size:14px;line-height:1.4;color:var(--ink2);padding:4px 4px 0}
.others-list{list-style:none;margin:10px 0 0}
.others-list li{display:flex;align-items:center;gap:12px;padding:10px 4px;border-top:1px solid var(--hair);min-height:60px}
.others-list li:first-child{border-top:0}
.letter{flex:none;width:44px;height:44px;border-radius:11px;display:grid;place-items:center;font-size:20px;font-weight:600;background:var(--fill2);color:var(--ink2)}
.o-main{flex:1;min-width:0;display:block}
.o-name{display:block;font-size:16px;font-weight:600;line-height:1.25}
.o-desc{display:block;font-size:13.5px;color:var(--ink2);line-height:1.32;margin-top:1px}
.o-meta{display:block;font-size:12.5px;color:var(--ink3);margin-top:2px}
.o-act{flex:none;display:flex;align-items:center;gap:6px}
.pill{display:inline-flex;align-items:center;justify-content:center;gap:5px;height:32px;min-width:64px;padding:0 14px;border-radius:16px;font-size:14px;font-weight:600;background:var(--fill);color:var(--link);white-space:nowrap}
.pill.ok{background:var(--ok-tint);color:var(--ok)}
.pill svg{width:13px;height:13px}
.pill.add{background:var(--link);color:#fff}
.pill.remove{background:var(--fill);color:var(--bad)}
.others-note{font-size:12.5px;line-height:1.4;color:var(--ink3);padding:10px 4px 2px;border-top:1px solid var(--hair);margin-top:4px}
.text-btn{font-size:15px;font-weight:500;color:var(--link);padding:10px 4px;min-height:44px}
.text-btn.danger{color:var(--bad)}

/* ---------- Bottom ---------- */
.bottom{margin-top:14px;display:grid;gap:10px}
.home{background:var(--card);border-radius:16px;box-shadow:var(--lift)}
.home summary{list-style:none;display:flex;align-items:center;gap:12px;padding:13px 14px 13px 16px;cursor:pointer;-webkit-tap-highlight-color:transparent;min-height:56px}
.home summary::-webkit-details-marker{display:none}
.home .row-ico{width:30px;height:30px;border-radius:8px}
.home .row-ico svg{width:18px;height:18px}
.stack{display:flex;flex:none}
.stack img{width:24px;height:24px;border-radius:6px;box-shadow:0 0 0 2px var(--card)}
.stack img + img{margin-left:-8px}
.home-text{display:block;flex:1;min-width:0}
.home .t{display:block;font-size:15px;font-weight:600;line-height:1.25}
.home .s{display:block;font-size:13px;color:var(--ink2);line-height:1.3;margin-top:1px}
.home .chev{margin-left:auto}
.home[open] .chev{transform:rotate(90deg)}
.steps{padding:2px 16px 14px 62px;font-size:14px;color:var(--ink2);line-height:1.45}
.privacy .steps{padding-left:58px}
.steps ol,.steps ul{padding-left:18px}
.steps li + li{margin-top:4px}
.steps b{color:var(--ink);font-weight:600}
.steps .note{margin:8px 0 0 18px;font-size:13px;color:var(--ink3)}
.steps .text-btn{margin-top:4px;padding-left:0}
.share{display:inline-block;width:12px;height:15px;vertical-align:-2px;margin:0 1px;color:var(--n)}
.foot{margin-top:10px;text-align:center;font-size:13px;color:var(--ink3);padding:0 12px}
.nojs{max-width:560px;margin:0 auto 24px;padding:0 20px;font-size:14px;color:var(--ink2);text-align:center}

/* ---------- Sheets ---------- */
.sheet{margin:auto auto 0;width:100%;max-width:560px;max-height:92vh;max-height:92dvh;border:0;border-radius:22px 22px 0 0;background:var(--sheet);color:var(--ink);padding:0;overflow:auto;overscroll-behavior:contain}
.sheet::backdrop{background:rgba(0,0,0,.32)}
@media (prefers-color-scheme:dark){.sheet::backdrop{background:rgba(0,0,0,.55)}}
/* Browsers without <dialog> (iOS before 15.4): hide closed sheets and pin an open one to the bottom. */
dialog:not([open]){display:none}
.sheet[open]{position:fixed;left:0;right:0;bottom:0;z-index:20;display:block}
.sheet{-webkit-tap-highlight-color:transparent}
.sheet[open]{animation:up .28s cubic-bezier(.2,.8,.2,1)}
@keyframes up{from{transform:translateY(40px);opacity:.4}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.sheet[open]{animation:none}.card,.chev{transition:none}}
.sheet-in{padding:18px 18px calc(env(safe-area-inset-bottom) + 18px)}
.sheet-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.sheet h2{font-size:22px;line-height:1.2;font-weight:700;letter-spacing:-.015em}
.sheet-sub{font-size:14px;color:var(--ink2);margin-top:2px;line-height:1.38}
.close{flex:none;width:32px;height:32px;border-radius:50%;background:var(--fill);color:var(--ink2);display:grid;place-items:center;position:relative}
.close::after{content:"";position:absolute;inset:-6px}
.close svg{width:12px;height:12px}

.msg{background:var(--fill2);border-radius:14px;padding:12px 14px;display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.msg .blk{position:relative;font:15px/1.4 var(--sans);white-space:pre-wrap;overflow-wrap:anywhere}
.msg .blk.outside{background:var(--card);border-radius:10px;margin:0 -6px;padding:8px 8px;box-shadow:0 0 0 1px var(--hair)}
.msg .blk.extra{color:var(--ink2)}
.msg .blk .rm{position:absolute;top:2px;right:0;display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:14px;font-size:12.5px;font-weight:600;background:var(--fill);color:var(--ink2)}
.msg .blk .rm svg{width:9px;height:9px}
.msg .blk .txt{display:block;padding-right:84px}

.switches{margin-top:14px;background:var(--fill2);border-radius:14px}
.switch{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 14px;min-height:48px;font-size:15px;cursor:pointer}
.switch + .switch{border-top:1px solid var(--hair)}
.switch input{position:absolute;opacity:0;width:1px;height:1px}
.switch i{flex:none;position:relative;width:51px;height:31px;border-radius:16px;background:rgba(120,120,128,.32);transition:background .2s}
.switch i::after{content:"";position:absolute;top:2px;left:2px;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 3px 8px rgba(0,0,0,.15),0 1px 1px rgba(0,0,0,.16);transition:transform .2s}
.switch input:checked + i{background:#34c759}
.switch input:checked + i::after{transform:translateX(20px)}
.switch input:focus-visible + i{outline:3px solid var(--n);outline-offset:2px}

.sheet-actions{display:flex;gap:10px;margin-top:14px}
.btn{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:7px;height:50px;border-radius:14px;font-size:17px;font-weight:600;letter-spacing:-.01em}
.btn svg{width:18px;height:18px}
.btn.primary{background:var(--btn);color:var(--btn-ink)}
.btn.secondary{background:var(--fill);color:var(--ink)}
.btn:active{opacity:.85}
.btn:disabled{opacity:.4}
.sheet-foot{text-align:center;font-size:13px;color:var(--ink2);margin-top:10px}

#paste-box{width:100%;min-height:150px;resize:vertical;border:0;border-radius:14px;background:var(--fill2);color:var(--ink);font:15px/1.4 var(--sans);padding:12px 14px}
#paste-box:focus{outline:2px solid var(--n);outline-offset:0}
.paste-out{list-style:none;display:grid;gap:8px;margin-top:10px}
.paste-out:empty{display:none}
.paste-out li{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.38;padding:10px 12px;border-radius:12px;background:var(--fill2)}
.paste-out li.ok{background:var(--ok-tint)}
.paste-out .mark{flex:none;width:16px;height:16px;margin-top:2px}
.paste-out li.ok .mark{color:var(--ok)}
.paste-out li.no .mark{color:var(--bad)}
.paste-out .why{flex:1;min-width:0}
.paste-out .why b{font-weight:600}
.paste-out .pill{height:30px;margin:-4px -4px -4px 0}

.toast{position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom) + 20px);transform:translate(-50%,20px);max-width:min(92vw,440px);padding:12px 18px;border-radius:14px;background:rgba(29,29,31,.94);color:#fff;font-size:15px;line-height:1.35;text-align:center;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:10}
.toast.on{opacity:1;transform:translate(-50%,0)}
@media (prefers-color-scheme:dark){.toast{background:rgba(242,242,247,.96);color:#000}}

/* ---------- Laptop ---------- */
@media (hover:hover){
  .card:hover{transform:translateY(-3px);box-shadow:var(--lift-hover)}
  .gess:hover{box-shadow:0 0 0 1px rgba(74,163,232,.45),var(--lift-hover)}
}
@media (min-width:900px){
  .page{max-width:1160px;padding:76px 44px 48px}
  .top{padding:0 4px 30px}
  .date{font-size:14px}
  h1{font-size:48px;letter-spacing:-.028em;margin-top:4px}
  .cards{grid-template-columns:repeat(3,1fr);gap:24px}
  .card{border-radius:24px}
  .art{min-height:350px;padding:26px 28px 28px}
  .eyebrow{font-size:13px}
  .title{font-size:40px;margin-top:6px}
  .gess .eyebrow{font-size:12px}
  .gess .title{font-size:36px;margin-top:8px}
  .desc{margin-top:12px;font-size:16px;max-width:19em}
  .notables .motif{top:auto;bottom:-46px;right:-34px;width:228px}
  .gess .motif{top:auto;bottom:-58px;right:-74px;width:330px}
  .quotable .motif{top:auto;bottom:-6px;right:22px;width:178px;opacity:.22}
  .strip{padding:15px 18px 15px 20px;gap:14px}
  .icon{width:44px;height:44px;border-radius:10px}
  .lower{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start;margin-top:24px}
  .lower > section{margin-top:0}
  .set,.others{padding:22px 22px 12px}
  .bottom{margin-top:24px;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
  .bottom .foot{grid-column:1/-1}
  .home summary{padding:16px 22px 16px 20px;gap:16px}
  .stack img{width:28px;height:28px;border-radius:7px}
  .home .steps{padding:0 22px 20px 86px}
  .foot{margin-top:8px;font-size:14px}
  .sheet{margin:auto;border-radius:22px;max-height:86vh}
  .sheet-in{padding:22px 24px 22px}
}

/* opt-in list pieces */
.o-link{flex:1;min-width:0;display:flex;align-items:center;gap:12px}
.others-list .row-btn{margin:0;border:0;padding:4px 0}
.others-list .row-ico{width:44px;height:44px;border-radius:11px;font-size:24px;font-weight:400;line-height:1}

/* bigger hit areas for the small pills and Remove buttons */
.pill{position:relative}
.pill::after,.msg .blk .rm::after{content:"";position:absolute;inset:-8px -4px}
.store-note{font-size:13px;line-height:1.4;color:var(--bad);text-align:center;margin-top:8px;padding:0 8px}
.paste-note{margin-top:10px;font-size:14px;line-height:1.4;padding:10px 12px;border-radius:12px;background:rgba(255,159,10,.14);color:var(--ink)}
.picks{list-style:none;display:grid;gap:6px;margin-top:8px}
.picks li{display:flex;align-items:center;gap:10px;padding:0;background:none}
.pick-text{flex:1;min-width:0;font-weight:600}
.paste-out li.no .why{display:block}
#yesterday{margin-top:8px}

/* ---------- Back from a game: the Paste bar ---------- */
.dock{position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom) + 12px);transform:translateX(-50%);width:min(calc(100% - 24px),536px);display:flex;align-items:center;gap:12px;padding:10px 10px 10px 12px;border-radius:18px;background:var(--card);box-shadow:0 0 0 1px var(--hair),0 10px 30px rgba(0,0,0,.16);z-index:9;animation:dock .32s cubic-bezier(.2,.8,.2,1)}
@media (prefers-color-scheme:dark){.dock{background:#2c2c2e;box-shadow:0 0 0 1px var(--hair),0 10px 30px rgba(0,0,0,.5)}}
@keyframes dock{from{transform:translate(-50%,24px);opacity:0}to{transform:translate(-50%,0);opacity:1}}
.dock-ico{flex:none;width:40px;height:40px;border-radius:10px;overflow:hidden;display:grid;place-items:center}
.dock-ico img{width:40px;height:40px;display:block}
.dock-ico.letter{font-size:18px}
.dock-text{flex:1;min-width:0;display:block}
.dock-t{display:block;font-size:15px;font-weight:600;line-height:1.25}
.dock-s{display:block;font-size:13px;color:var(--ink2);line-height:1.3;margin-top:1px}
.dock-paste{flex:none;position:relative;height:36px;padding:0 16px;border-radius:18px;background:var(--btn);color:var(--btn-ink);font-size:15px;font-weight:600}
.dock-paste::after{content:"";position:absolute;inset:-4px -2px}
.dock-paste:active{opacity:.85}
.dock-x{flex:none;position:relative;width:30px;height:30px;border-radius:50%;background:var(--fill);color:var(--ink2);display:grid;place-items:center}
.dock-x::after{content:"";position:absolute;inset:-7px}
.dock-x svg{width:11px;height:11px}
.has-dock .page{padding-bottom:calc(env(safe-area-inset-bottom) + 28px + var(--dock-h,96px))}
/* Only the page's own toast moves up; one shown inside an open sheet keeps its place. */
.has-dock body > .toast{bottom:calc(env(safe-area-inset-bottom) + 20px + var(--dock-h,96px))}
html.has-dock{scroll-padding-bottom:calc(env(safe-area-inset-bottom) + 24px + var(--dock-h,96px))}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
@media (prefers-reduced-motion:reduce){.dock{animation:none}}

/* ---------- Outside games: our own icons on soft tints ---------- */
.tile{flex:none;width:44px;height:44px;border-radius:11px;display:grid;place-items:center;background:var(--t-bg);color:var(--t-fg)}
.tile svg{width:24px;height:24px}
.dock-ico .tile{width:40px;height:40px;border-radius:10px}
.dock-ico .tile svg{width:22px;height:22px}
.t-fineprint{--t-fg:#9a5b00;--t-bg:rgba(230,150,30,.16)}
.t-chainle{--t-fg:#0b7a78;--t-bg:rgba(20,160,150,.14)}
.t-magnitudle{--t-fg:#6b46c1;--t-bg:rgba(120,80,220,.13)}
.t-plain{--t-fg:#1769b0;--t-bg:rgba(40,130,210,.13)}
.t-ordle64{--t-fg:#2e7d32;--t-bg:rgba(60,160,70,.14)}
.t-flagle{--t-fg:#c0362c;--t-bg:rgba(220,60,50,.12)}
.t-globle{--t-fg:#3f51b5;--t-bg:rgba(70,90,210,.13)}
.t-worldle{--t-fg:#b23a6e;--t-bg:rgba(200,60,120,.12)}
@media (prefers-color-scheme:dark){
  .t-fineprint{--t-fg:#f2b04c;--t-bg:rgba(242,176,76,.18)}
  .t-chainle{--t-fg:#4fd1c5;--t-bg:rgba(79,209,197,.16)}
  .t-magnitudle{--t-fg:#b9a0ec;--t-bg:rgba(185,160,236,.18)}
  .t-plain{--t-fg:#6cb6f5;--t-bg:rgba(108,182,245,.17)}
  .t-ordle64{--t-fg:#86cf8a;--t-bg:rgba(134,207,138,.16)}
  .t-flagle{--t-fg:#f2867c;--t-bg:rgba(242,134,124,.17)}
  .t-globle{--t-fg:#a3adf0;--t-bg:rgba(163,173,240,.18)}
  .t-worldle{--t-fg:#f28fb8;--t-bg:rgba(242,143,184,.17)}
}
