/* The Snug: a small warm room, with quiet frosted glass laid over it. One warm accent (lamplight).
   Everything moves slowly and settles softly. */
:root{
  --night:#0f0e1b;
  --linen:#f7f0e7;
  --linen-2:rgba(247,240,231,.66);
  --linen-3:rgba(247,240,231,.4);
  --lamp:#f2bb72;
  --sage:#acdcbf;
  --rose:#f0aeaa;
  --glass:rgba(32,26,31,.52);
  --glass-deep:rgba(36,29,34,.86);
  --hair:rgba(255,236,216,.09);
  --fill:rgba(255,242,228,.07);
  --fill-2:rgba(255,242,228,.12);
  --sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","Inter","Segoe UI Variable Text","Segoe UI",system-ui,sans-serif;
  --ease:cubic-bezier(.22,.8,.24,1);
  --sleepy:cubic-bezier(.24,.72,.16,1);
  --spring:cubic-bezier(.34,1.32,.5,1);
  --inset-left:0px;
  --inset-right:0px;
  --bar-left:0px;
  --me-w:clamp(360px,30vw,430px);
  --chat-w:clamp(268px,22vw,320px);
  --home-w:clamp(372px,32vw,450px);
  --head-h:90px;
  --top:max(14px,env(safe-area-inset-top));
  --bottom:max(16px,env(safe-area-inset-bottom));
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;height:100%;background:var(--night);color:var(--linen);font:15px/1.4 var(--sans);-webkit-font-smoothing:antialiased;overflow:hidden;overscroll-behavior:none;touch-action:manipulation;-webkit-user-select:none;user-select:none}
#scene{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;display:block}
button{font:inherit;color:inherit;cursor:var(--cu-hand,pointer);border:0;background:none;padding:0;margin:0}
button:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:2px solid rgba(242,187,114,.7);outline-offset:2px}
.hidden{display:none!important}
.glass{background:var(--glass);-webkit-backdrop-filter:saturate(150%) blur(22px);backdrop-filter:saturate(150%) blur(22px);border:1px solid var(--hair);box-shadow:0 12px 40px rgba(5,3,10,.3),inset 0 1px 0 rgba(255,244,230,.05)}
.i{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none;display:block}
kbd{font:500 11px/1 var(--sans);color:var(--linen-3);padding:4px 6px;border-radius:6px;background:var(--fill);border:1px solid var(--hair)}
@keyframes fadeIn{from{opacity:0}}
@keyframes fadeUp{from{opacity:0;transform:translateY(6px)}}
@keyframes popIn{from{opacity:0;transform:translateY(-6px) scale(.97)}}
@keyframes popUp{from{opacity:0;transform:translateY(6px) scale(.97)}}

/* ---- top: wordmark, quiet icons, your avatar ---- */
#top{position:fixed;top:0;left:0;right:0;z-index:6;display:flex;align-items:center;justify-content:space-between;padding:var(--top) 14px 0 20px;pointer-events:none}
#top>*{pointer-events:auto}
.brand{display:flex;align-items:center;gap:10px;height:40px;font-size:16px;font-weight:600;letter-spacing:-.01em;text-shadow:0 1px 14px rgba(0,0,0,.6)}
.brand .dot{width:7px;height:7px;border-radius:50%;background:var(--lamp);box-shadow:0 0 10px 2px rgba(242,187,114,.45);animation:glow 4.5s ease-in-out infinite alternate}
@keyframes glow{from{box-shadow:0 0 8px 1px rgba(242,187,114,.3)}to{box-shadow:0 0 14px 3px rgba(242,187,114,.55)}}
.tools{display:flex;gap:2px;padding:3px;border-radius:999px}
.tools button{position:relative;height:34px;min-width:34px;padding:0 9px;border-radius:999px;display:flex;align-items:center;justify-content:center;color:var(--linen-2);transition:background 0.23s var(--sleepy),color 0.23s var(--sleepy)}.tools button[aria-pressed=true]{background:var(--fill);color:var(--linen)}@media (hover:hover){.tools button:hover{background:var(--fill);color:var(--linen)}}
.top-r{display:flex;align-items:center;gap:8px}
.me-btn{position:relative;flex:none;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:transform 0.25s var(--sleepy),box-shadow 0.25s var(--sleepy)}@media (hover:hover){.me-btn:hover{transform:scale(1.05)}}
.me-btn:active{transform:scale(.96)}
.me-btn[aria-expanded=true],.me-btn[aria-pressed=true]{box-shadow:0 0 0 2px rgba(242,187,114,.55),0 12px 40px rgba(5,3,10,.3)}
#meAvatar{width:30px;height:30px;display:block;pointer-events:none}
.ping{position:absolute;top:6px;right:6px;width:7px;height:7px;border-radius:50%;background:var(--lamp);box-shadow:0 0 0 2px rgba(32,26,31,.95)}

/* ---- the avatar menu ---- */
#meMenu{position:fixed;z-index:14;top:calc(var(--top) + 48px);right:14px;width:272px;padding:8px;border-radius:20px;background:rgba(34,28,33,.9);transform-origin:top right;animation:popIn 0.25s var(--sleepy)}
.menu-id{display:flex;align-items:center;gap:12px;padding:8px 8px 12px}
#menuBlob{width:46px;height:46px;flex:none;border-radius:50%;background:rgba(255,242,228,.05)}
.menu-id b{display:block;font-size:15px;font-weight:600;color:var(--ink,var(--linen));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.menu-id #menuSub{display:block;font-size:12.5px;color:var(--linen-3);margin-top:1px;white-space:nowrap}
.menu-sep{height:1px;background:var(--hair);margin:2px 8px 6px}
.menu-item{display:flex;align-items:center;gap:12px;width:100%;height:42px;padding:0 10px;border-radius:12px;font-size:14px;color:var(--linen);text-align:left;transition:background 0.17s var(--sleepy)}.menu-item:focus-visible{background:var(--fill)}@media (hover:hover){.menu-item:hover{background:var(--fill)}}
.menu-item .i{color:var(--linen-2)}
.menu-item kbd{margin-left:auto}

/* ---- the one-line ticker of what just happened ---- */
#log{width:100%;height:18px;padding:0 8px;font-size:13px;color:var(--linen-2);text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 10px rgba(0,0,0,.9),0 0 3px rgba(0,0,0,.6);opacity:0;transition:opacity 0.7s var(--sleepy),height 0.35s var(--sleepy),margin 0.35s var(--sleepy);pointer-events:none}
#log.show{opacity:1;transition-duration:0.4s,0.35s,0.35s}
#toasts{position:fixed;z-index:15;top:calc(var(--top) + 54px);left:var(--inset-left);right:var(--inset-right);display:flex;flex-direction:column;align-items:center;gap:8px;padding:0 12px;pointer-events:none;transition:left 0.47s var(--sleepy),right 0.47s var(--sleepy)}
.toast{display:flex;align-items:flex-start;gap:10px;max-width:400px;padding:11px 15px;border-radius:16px;font-size:13.5px;line-height:1.42;color:var(--linen-2);animation:tIn 0.45s var(--sleepy) both}
.toast.out{animation:tOut 0.45s var(--sleepy) both}
.toast b{font-weight:600;color:var(--linen)}
.toast .i{width:16px;height:16px;margin-top:1.5px;color:var(--lamp)}
.toast.tap{pointer-events:auto;cursor:var(--cu-hand,pointer)}
@keyframes tIn{from{opacity:0;transform:translateY(-8px) scale(.98)}}
@keyframes tOut{to{opacity:0;transform:translateY(-6px)}}

/* ---- table chat ---- */
#chat{position:fixed;z-index:5;left:16px;top:calc(var(--top) + 50px);bottom:16px;width:var(--chat-w);display:flex;flex-direction:column;border-radius:22px;overflow:hidden;clip-path:inset(0 0 0 0 round 22px);transition:transform 0.47s var(--sleepy),opacity 0.35s var(--sleepy),clip-path 0.47s var(--sleepy)}
/* minimised: the panel slides down and leaves just its header, with everyone's little faces */
body.chat-min #chat{transform:translateY(calc(100% - var(--head-h)));clip-path:inset(0 0 calc(100% - var(--head-h)) 0 round 22px)}
#chat>*:not(.chat-head){transition:opacity 0.35s var(--sleepy)}
body.chat-min #chat>*:not(.chat-head){opacity:0;pointer-events:none}
.chat-head{flex:none;display:flex;flex-direction:column;justify-content:center;gap:7px;height:var(--head-h);padding:6px 9px 8px 16px}
body.chat-min .chat-head{cursor:var(--cu-hand,pointer)}
.chat-row{display:flex;align-items:center;justify-content:space-between;gap:8px;height:32px}
.chat-title{display:flex;align-items:center;gap:8px;min-width:0;font-size:14px;font-weight:600;letter-spacing:-.005em;white-space:nowrap}
.chat-title small{font-size:12.5px;font-weight:400;color:var(--linen-3)}
#chatUnread{width:7px;height:7px;border-radius:50%;background:var(--lamp);box-shadow:0 0 8px rgba(242,187,114,.6)}
.chat-x{flex:none;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--linen-3);transition:background 0.2s var(--sleepy),color 0.2s var(--sleepy)}@media (hover:hover){.chat-x:hover{background:var(--fill);color:var(--linen)}}
.chat-x .i{transition:transform 0.45s var(--sleepy)}
body.chat-min #chatMin .i{transform:rotate(180deg)}
.people{position:relative;display:flex;align-items:center;gap:6px;height:36px;margin-right:-9px;padding-right:9px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 18px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 18px),transparent)}
.people::-webkit-scrollbar{display:none}
.people.many{gap:4px}
.people.many .person{width:28px;height:28px}
.person{position:relative;flex:none;width:34px;height:34px;border-radius:50%;background:color-mix(in srgb,var(--c) 16%,rgba(255,242,228,.04));box-shadow:inset 0 0 0 1px rgba(255,238,220,.07);transition:transform 0.3s var(--sleepy),opacity 0.45s var(--sleepy),filter 0.45s var(--sleepy),box-shadow 0.2s}
.person canvas{width:100%;height:100%;display:block;border-radius:50%;pointer-events:none}@media (hover:hover){.person:hover{transform:translateY(-2px);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c) 55%,transparent)}}
.person[aria-expanded=true]{box-shadow:inset 0 0 0 1.5px var(--c)}
.person.off{filter:grayscale(1) brightness(1.25);opacity:.5}
.person.hushed::after{content:"";position:absolute;right:-2px;bottom:-2px;width:12px;height:12px;border-radius:50%;background:#2b2329 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f7f0e7' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12'/%3E%3C/svg%3E") center/8px no-repeat;box-shadow:0 0 0 1.5px rgba(32,26,31,.95)}
#chatList{flex:1;min-height:0;display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;padding:8px 18px 12px;scrollbar-width:none;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 26px,#000 calc(100% - 6px),transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 26px,#000 calc(100% - 6px),transparent 100%);-webkit-user-select:text;user-select:text}
#chatList::-webkit-scrollbar{display:none}
.msg{flex:none;margin-top:14px;animation:msgIn 0.55s var(--sleepy) both}
#chatList>.msg:first-child{margin-top:auto}
.msg.cont{margin-top:3px}
.msg .who{margin-bottom:2px;font-size:12.5px;font-weight:600;color:var(--c)}
.msg .txt{font-size:14px;line-height:1.45;color:rgba(247,240,231,.9);overflow-wrap:anywhere}
.msg.me{display:flex;flex-direction:column;align-items:flex-end}
.msg.me .who{margin-right:4px}
.msg.me .txt{max-width:86%;padding:7px 12px;border-radius:18px 18px 6px 18px;background:rgba(255,242,228,.09);background:color-mix(in srgb,var(--c) 24%,rgba(255,242,228,.05))}
.msg.me.cont .txt{border-radius:18px 6px 6px 18px}
/* game moves: centred and quiet, so they read differently from people talking */
.msg.sys,.msg.mv{text-align:center;font-size:12px;line-height:1.5;color:var(--linen-3)}
.msg.sys{margin-top:14px}
.msg.mv{margin-top:3px;animation-duration:0.65s}
.msg.mv b,.msg.sys b{font-weight:600;color:var(--c,var(--linen-2))}
.msg.mv em{font-style:normal;color:var(--linen-2)}
.msg.mv.big{color:var(--linen-2)}
.msg.sys + .msg.mv,.msg.mv + .msg.sys{margin-top:8px}
.msg:not(.mv):not(.div):not(.sys) + .msg.mv,.msg.mv + .msg:not(.mv):not(.div):not(.sys){margin-top:12px}
.msg.div{display:flex;align-items:center;gap:10px;margin-top:18px;margin-bottom:3px;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:rgba(247,240,231,.3)}
.msg.div::before,.msg.div::after{content:"";flex:1;height:1px;background:var(--hair)}
.cd{display:inline-block;padding:0 4px;margin:0 1px;border-radius:5px;background:rgba(251,247,240,.9);color:#2f2d3a;font-weight:600;font-size:11.5px;line-height:17px;letter-spacing:-.01em}
.cd.r{color:#c4525a}
#chatList.no-moves .msg.mv,#chatList.no-moves .msg.div{display:none}
#chatList.no-talk .msg.them,#chatList.no-talk .msg.me{display:none}
@keyframes msgIn{from{opacity:0;transform:translateY(8px)}}
#chatJump{position:absolute;left:50%;bottom:68px;transform:translateX(-50%);height:30px;padding:0 13px;border-radius:999px;font-size:12.5px;font-weight:500;color:var(--linen);animation:fadeUp 0.3s var(--sleepy)}
.composer{flex:none;display:flex;align-items:center;gap:6px;margin:4px 10px 10px;padding:4px 4px 4px 15px;border-radius:21px;background:var(--fill);border:1px solid rgba(255,238,220,.04);box-shadow:0 0 0 0 transparent;transition:border-color 0.75s var(--sleepy),background 0.75s var(--sleepy),box-shadow 0.75s var(--sleepy)}
/* your border colour, drifting in slowly when you start typing and drifting back out when you stop */
.composer:focus-within{border-color:color-mix(in srgb,var(--me-ink,#f2bb72) 46%,transparent);background:rgba(255,242,228,.09);box-shadow:0 0 0 3px color-mix(in srgb,var(--me-ink,#f2bb72) 9%,transparent)}
#chatInput{flex:1;min-width:0;height:34px;padding:0;background:none;border:0;outline:0;color:var(--linen);font:14px var(--sans);caret-color:var(--lamp);-webkit-user-select:text;user-select:text}
#chatInput::placeholder{color:var(--linen-3)}
#chatSend{flex:none;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(247,240,231,.92);color:#2b221c;transition:background 0.15s,color 0.15s,transform .2s}
#chatSend:active{transform:scale(.92)}
#chatSend:disabled{background:var(--fill-2);color:var(--linen-3);cursor:var(--cu-arrow,default);transform:none}
#chatSend .i{width:16px;height:16px;stroke-width:2}
.chat-off{flex:none;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:4px 10px 10px;padding:10px 8px 10px 15px;border-radius:18px;background:var(--fill);font-size:12.5px;line-height:1.4;color:var(--linen-3)}
.chat-off button{flex:none;height:30px;padding:0 12px;border-radius:999px;background:var(--fill-2);font-size:12.5px;font-weight:600;color:var(--linen)}
#chatScrim{display:none}

/* ---- someone's card, from the chat header ---- */
#pop{position:fixed;z-index:16;width:268px;padding:12px;border-radius:20px;background:rgba(36,29,34,.94);animation:popIn 0.25s var(--sleepy)}
#pop.up{animation-name:popUp}
.pop-id{display:flex;align-items:center;gap:12px;padding:4px 4px 10px}
#popBlob{width:58px;height:58px;flex:none;border-radius:50%;background:color-mix(in srgb,var(--c) 16%,rgba(255,242,228,.04))}
.pop-name{font-size:15.5px;font-weight:600;color:var(--c)}
.pop-sub{font-size:12.5px;color:var(--linen-3);margin-top:1px}
.pop-note{margin:0 4px 8px;font-size:12.5px;color:var(--linen-3)}
.pop-acts{display:flex;flex-direction:column;gap:2px;padding-top:6px;border-top:1px solid var(--hair)}
.pop-acts button{display:flex;align-items:center;gap:10px;height:40px;padding:0 10px;border-radius:12px;font-size:14px;color:var(--linen);text-align:left;transition:background 0.17s var(--sleepy)}@media (hover:hover){.pop-acts button:hover{background:var(--fill)}}
.pop-acts button .i{color:var(--linen-2)}
.pop-acts button.done{color:var(--sage)}
.pop-acts button.done .i{color:var(--sage)}
.pop-acts .danger,.pop-acts .danger .i{color:var(--rose)}

/* ---- make your blob: the character builder as a drawer ---- */
#meDrawer{position:fixed;z-index:8;right:16px;top:calc(var(--top) + 50px);bottom:16px;width:var(--me-w);display:flex;flex-direction:column;border-radius:22px;overflow:hidden;background:rgba(34,28,33,.9);transition:transform 0.47s var(--sleepy),opacity 0.35s var(--sleepy)}
body:not(.me-open) #meDrawer{transform:translateX(calc(100% + 28px));opacity:0;pointer-events:none}
.me-head{flex:none;display:flex;align-items:center;justify-content:space-between;height:50px;padding:0 9px 0 18px}
.me-title{font-size:14px;font-weight:600;letter-spacing:-.005em}
/* the stage: roomy at the top; once you scroll it tucks itself into a slim strip, and opens again at the top */
.me-stage{flex:none;position:relative;height:290px;background:radial-gradient(ellipse 55% 60% at 50% 42%,rgba(242,187,114,.12),transparent 72%);transition:height 0.42s var(--sleepy)}
.me-stage>*{position:absolute;transition:transform 0.42s var(--sleepy),left 0.42s var(--sleepy),top 0.42s var(--sleepy),right 0.42s var(--sleepy),opacity 0.3s var(--sleepy)}
#mePreview{width:224px;height:150px;display:block;top:0;left:calc(50% - 112px);transform-origin:0 0}
.pillRow{width:224px;height:57px;top:134px;left:calc(50% - 112px);transform-origin:0 0}
#meHandle{top:191px;left:16px;right:16px;text-align:center}
#meTitleLine{top:210px;left:16px;right:16px;text-align:center;font-size:13px;min-height:18px;white-space:nowrap;overflow:visible}
#meTurn{top:238px;left:50%;transform:translateX(-50%);margin-top:0}
#meDrawer.compact .me-stage{height:88px}
#meDrawer.compact #mePreview{left:6px;top:4px;transform:scale(.53)}
#meDrawer.compact .pillRow{left:130px;top:8px;transform:scale(.92)}
#meDrawer.compact .pillCol{left:0!important;transform:none}
#meDrawer.compact .petCol,#meDrawer.compact .ntag{opacity:0}
#meDrawer.compact #meHandle{top:44px;left:134px;text-align:left}
#meDrawer.compact #meTitleLine{top:62px;left:134px;text-align:left}
#meDrawer.compact #meTurn{opacity:0;pointer-events:none;transform:translateX(-50%) translateY(-12px)}
.pillCol{position:absolute;top:0;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:3px;transition:left 0.4s var(--sleepy)}
.petCol{opacity:0;transform:translateX(-50%) translateY(4px);transition:left 0.4s var(--sleepy),opacity 0.3s var(--sleepy),transform 0.3s var(--sleepy)}
.petCol.show{opacity:1;transform:translateX(-50%)}
.npill{display:flex;align-items:center;gap:8px;height:30px;padding:0 13px;border-radius:999px;background:rgba(24,19,26,.58);border:1px solid rgba(255,238,220,.08);font-size:13.5px;transition:background 0.25s,border-color 0.25s,box-shadow 0.25s;max-width:100%}
.npill b{font-weight:600;color:var(--ink,rgba(249,243,235,.96));white-space:nowrap}
.npill span{font-weight:500;color:rgba(247,240,231,.78);font-variant-numeric:tabular-nums}
.npill.pet{height:26px;padding:0 11px 0 9px;gap:6px;font-size:12.5px}
.npill.pet .i{width:13px;height:13px;color:var(--lamp);stroke-width:0;fill:currentColor;opacity:.9}
.npill.active{background:rgba(42,32,32,.76);border-color:rgba(242,187,114,.62);animation:breath 2.2s ease-in-out infinite alternate}
@keyframes breath{from{box-shadow:0 0 10px rgba(242,187,114,.28)}to{box-shadow:0 0 20px rgba(242,187,114,.52)}}
.ntag{height:20px;padding:0 9px;border-radius:999px;background:rgba(24,19,26,.5);font-size:11px;font-weight:600;color:var(--lamp);display:flex;align-items:center;opacity:0;transform:translateY(-3px);transition:opacity 0.25s,transform 0.25s var(--sleepy)}
.ntag.show{opacity:1;transform:none}
.handle{margin-top:0;font-size:12.5px;color:var(--linen-3)}
.secondary{display:flex;align-items:center;justify-content:center;gap:8px;height:36px;padding:0 15px;border-radius:13px;background:var(--fill);font-size:13.5px;font-weight:600;color:var(--lamp);transition:background 0.17s,transform .2s,opacity 0.2s}@media (hover:hover){.secondary:hover{background:var(--fill-2)}}
.secondary:active{transform:scale(.97)}
.secondary:disabled{opacity:.4;cursor:var(--cu-arrow,default)}
#meBody{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:6px 14px 16px;scrollbar-width:none;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 14px,#000 calc(100% - 10px),transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 14px,#000 calc(100% - 10px),transparent 100%)}
#meBody::-webkit-scrollbar{display:none}
#meBody .lead{margin:0 4px 14px}
.group{margin:0 0 12px;border-radius:16px;background:rgba(255,242,228,.05);overflow:hidden}
#meBody .group{margin:0}
.field{position:relative;display:flex;align-items:center;gap:6px;min-height:48px;padding:0 14px}
.field+.field::before{content:"";position:absolute;top:0;left:14px;right:0;height:1px;background:var(--hair)}
.field label{width:100px;flex:none;font-size:14.5px;color:var(--linen-2)}
.field .at{color:var(--linen-3)}
.field .ico{color:var(--lamp);opacity:.85}
.field .ico .i{width:15px;height:15px;stroke-width:0;fill:currentColor}
.field input{flex:1;min-width:0;height:46px;border:0;background:none;color:var(--linen);font:inherit;font-size:15px;outline:none;caret-color:var(--lamp);-webkit-user-select:text;user-select:text}
.field input::placeholder{color:var(--linen-3)}
.field .cnt{font-size:12px;color:var(--linen-3);font-variant-numeric:tabular-nums}
#meBody .status{margin:7px 4px 0;min-height:18px;font-size:12.5px;color:var(--linen-3)}
#meBody .status.ok{color:var(--sage)}#meBody .status.bad{color:var(--rose)}
#meBody .sub{margin:18px 4px 8px;display:flex;justify-content:space-between;font-size:13px;font-weight:500;color:var(--linen-3)}
#meBody .sub span+span{color:var(--linen-2)}
.seg{position:relative;display:grid;grid-template-columns:repeat(var(--n,4),1fr);padding:3px;border-radius:13px;background:rgba(0,0,0,.22);border:1px solid rgba(255,236,216,.05)}
.seg .knob{position:absolute;top:3px;bottom:3px;left:3px;width:calc((100% - 6px)/var(--n,4));border-radius:10px;background:rgba(255,242,228,.13);box-shadow:0 1px 4px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,244,230,.06);transition:transform 0.35s var(--sleepy)}
.seg button{position:relative;z-index:1;height:32px;border-radius:10px;font-size:13.5px;font-weight:600;color:var(--linen-2);transition:color 0.25s}
.seg button[aria-selected=true]{color:var(--linen)}
#meBody .seg{margin:18px 0 2px}
.panel{animation:fadeUp 0.35s var(--sleepy)}
.swatches{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:9px;padding:14px;justify-items:center}
.sw{width:100%;max-width:38px;aspect-ratio:1;border-radius:50%;background:var(--c);box-shadow:inset 0 -5px 8px rgba(0,0,0,.18),inset 0 4px 6px rgba(255,255,255,.22);transition:transform 0.2s var(--sleepy),box-shadow 0.2s}@media (hover:hover){.sw:hover{transform:scale(1.08)}}
.sw[aria-checked=true]{box-shadow:inset 0 -5px 8px rgba(0,0,0,.18),inset 0 4px 6px rgba(255,255,255,.22),0 0 0 2px #241d22,0 0 0 4px rgba(247,240,231,.85)}
.tiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;padding:6px}
.tile{min-width:0;display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 2px 8px;border-radius:14px;font-size:11.5px;color:var(--linen-2);border:1px solid transparent;white-space:nowrap;transition:background 0.2s var(--sleepy),color 0.2s,border-color 0.2s,transform 0.15s var(--sleepy)}
.tile>span{max-width:100%;overflow:hidden;text-overflow:ellipsis}@media (hover:hover){.tile:hover{background:var(--fill);color:var(--linen)}}
.tile:active{transform:scale(.97)}
.tile[aria-checked=true]{background:var(--fill-2);color:var(--linen);border-color:rgba(242,187,114,.45)}
.tile canvas{width:100%;max-width:60px;aspect-ratio:1;display:block}
.cap{padding:10px 12px 0;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--linen-3)}
.cap+.tiles{padding-top:2px}
.tiles+.cap{border-top:1px solid var(--hair);margin-top:2px}
.tiles.pets{grid-template-columns:repeat(3,minmax(0,1fr))}
.tiles.pets canvas{max-width:80px}
.none-ico{width:100%;max-width:80px;aspect-ratio:1;display:flex;align-items:center;justify-content:center}
.none-ico i{width:40%;aspect-ratio:1;border-radius:50%;border:1.6px dashed var(--linen-3)}
.coats{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:7px;padding:14px}
.coat{position:relative;aspect-ratio:1;border-radius:50%;overflow:hidden;background:rgba(255,242,228,.1);transition:transform 0.2s var(--sleepy),box-shadow 0.2s}
.coat canvas{width:100%;height:100%;display:block}@media (hover:hover){.coat:hover{transform:scale(1.08)}}
.coat[aria-checked=true]{box-shadow:0 0 0 2px #241d22,0 0 0 4px rgba(247,240,231,.85)}
.switch{position:relative;flex:none;width:46px;height:28px;border-radius:999px;background:rgba(255,242,228,.16);transition:background 0.25s var(--sleepy);margin-left:auto}
.switch i{position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fbf6ee;box-shadow:0 1px 4px rgba(0,0,0,.4);transition:transform 0.28s var(--sleepy)}
.switch[aria-checked=true]{background:#7fbf98}
.switch[aria-checked=true] i{transform:translateX(18px)}
.switch:disabled{opacity:.4}
.collars{grid-template-columns:repeat(6,minmax(0,1fr));padding:4px 14px 14px;gap:12px}
.collars .sw{position:relative;max-width:34px}
.collars .sw::after{content:"";position:absolute;right:10%;bottom:6%;width:30%;height:30%;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff2b8,#f2c14e 55%,#b8862a)}
.collars.off .sw{opacity:.32}
.tiles.cards{grid-template-columns:repeat(5,minmax(0,1fr))}
.cardTile{position:relative}
.cardTile canvas{max-width:72px;aspect-ratio:1/.92}
.cardTile.locked{cursor:var(--cu-no,not-allowed);color:var(--linen-3)}
.cardTile.locked canvas{opacity:.38;filter:grayscale(1)}@media (hover:hover){.cardTile.locked:hover{background:none;color:var(--linen-3)}}
.cardTile .lock{position:absolute;top:22%;left:50%;transform:translateX(-50%);width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(24,19,26,.72);border:1px solid rgba(255,238,220,.1);color:var(--linen-2)}
.cardTile .lock .i{width:12px;height:12px;stroke-width:2}
.backs{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.backs .sw{max-width:34px}
.deck{display:flex;align-items:center;gap:8px;padding:10px 16px 10px 8px}
#meDeck{width:46%;max-width:170px;aspect-ratio:1/.92;display:block;flex:none}
.deckMeta{display:flex;flex-direction:column;gap:3px;min-width:0}
.deckMeta small{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--linen-3)}
.deckMeta b{font-size:15px;font-weight:600}
.deckMeta span{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--linen-2)}
.deckMeta span i{width:11px;height:11px;border-radius:50%;background:var(--c);box-shadow:0 0 0 1.5px rgba(255,255,255,.25)}
#meBody .foot{margin:10px 4px 0;font-size:12px;line-height:1.55;color:var(--linen-3)}
#meBody .foot b{color:var(--linen-2);font-weight:600}
.me-foot{flex:none;display:grid;grid-template-columns:3fr 2fr;gap:8px;padding:10px 14px 14px;border-top:1px solid var(--hair)}
.me-foot .primary{height:46px;margin:0}
.me-foot .primary:disabled{opacity:.45;cursor:var(--cu-arrow,default);transform:none}
.ghost{height:46px;border-radius:16px;background:var(--fill);font-size:15px;font-weight:600;transition:background 0.17s,transform .2s}@media (hover:hover){.ghost:hover{background:var(--fill-2)}}
.ghost:active{transform:scale(.98)}
#meScrim{display:none}

/* ---- bottom: the dock, with your cards beside it ---- */
#bar{position:fixed;z-index:4;left:var(--bar-left);right:var(--inset-right);bottom:0;display:flex;align-items:flex-end;justify-content:center;gap:18px;padding:0 16px var(--bottom);pointer-events:none;transition:left 0.47s var(--sleepy),right 0.47s var(--sleepy)}
#bar>*{pointer-events:auto}
/* a quiet spacer the width of your cards keeps the dock centred under the table */
#bar::after{content:"";order:-1;flex:0 100 144px;min-width:0}
#hand{order:2}
body.sizing #log{height:0;margin-top:-8px;opacity:0}
body.bar-tight #bar{flex-direction:column;align-items:center;gap:12px}
body.bar-tight #bar::after{display:none}
body.bar-tight #hand{order:0}
body.bar-tight .dockcol{width:100%;max-width:500px}
body.bar-tight #hand{transition:transform 0.4s var(--sleepy),margin 0.4s var(--sleepy)}
body.bar-tight.sizing #hand{transform:scale(.66);transform-origin:50% 100%;margin-bottom:-10px}
body.bar-tight.sizing #handName{opacity:0}
#hand{position:relative;flex:none;display:flex;gap:8px;align-items:flex-end;height:100px;padding:0 2px 6px;pointer-events:none}
.pcard{width:66px;height:92px;perspective:700px;opacity:0;transform:translateY(-26px) scale(.94);transition:transform 0.57s var(--sleepy),opacity 0.45s var(--sleepy)}
#pc0{--r:-4deg;--y:0px}#pc1{--r:4deg;--y:3px}
.pcard.dealt{opacity:1;transform:rotate(var(--r)) translateY(var(--y))}
body[data-turn=you] .pcard.dealt{transform:rotate(var(--r)) translateY(calc(var(--y) - 7px))}
/* folded: your cards lift away toward the table, where they land face up */
#hand.folded .pcard.dealt{opacity:0;transform:rotate(calc(var(--r) * 3)) translateY(calc(var(--y) - 46px)) scale(.86);transition:transform 0.45s var(--sleepy),opacity 0.35s var(--sleepy)}
#hand.gone{visibility:hidden}
.pcard.dealt.dim{opacity:.48}
.pcard .in{position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform 0.55s var(--sleepy)}
.pcard.up .in{transform:rotateY(180deg)}
.pcard .back,.pcard .face{position:absolute;inset:0;border-radius:10px;-webkit-backface-visibility:hidden;backface-visibility:hidden;box-shadow:0 10px 24px rgba(8,4,12,.36),0 2px 5px rgba(8,4,12,.24)}
.pcard .face{transform:rotateY(180deg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:#fbf7f0;color:#2f2d3a;transition:box-shadow 0.35s var(--sleepy)}
.pcard .rk{font:600 30px/1 var(--sans);letter-spacing:-.03em}
.pcard .st{width:26px;height:26px;fill:currentColor}
.pcard .red{color:#cc5b62}
.pcard .back{background:#fbf8f1 center/100% 100% no-repeat}
.pcard.win .face{box-shadow:0 0 0 2px var(--lamp),0 0 26px rgba(242,187,114,.45),0 10px 24px rgba(8,4,12,.36)}
#handName{position:absolute;left:50%;bottom:-4px;transform:translateX(-50%);padding:4px 11px;border-radius:999px;font-size:12px;font-weight:500;line-height:1.3;white-space:nowrap;color:var(--linen);animation:fadeUp 0.4s var(--sleepy)}

.dockcol{display:flex;flex-direction:column;align-items:center;gap:8px;width:500px;max-width:100%}
#dock{position:relative;width:100%;padding:6px;border-radius:22px}
#dock>div:not(.hidden){animation:fadeUp 0.35s var(--sleepy)}
#waiting{display:flex;align-items:center;justify-content:center;gap:12px;min-height:50px;padding:0 12px;font-size:14px;color:var(--linen-2);white-space:nowrap}
#waiting:has(#bNext:not(.hidden)){justify-content:space-between;padding:0 0 0 14px}
#bNext{height:44px;padding:0 18px;border-radius:15px;background:rgba(247,240,231,.92);color:#2b221c;font-size:14px;font-weight:600;transition:background 0.15s,transform .2s}@media (hover:hover){#bNext:hover{background:#fff}}
#bNext:active{transform:scale(.97)}
#actions{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
#actions.two{grid-template-columns:repeat(2,1fr)}
.act{height:50px;min-width:0;padding:0 8px;border-radius:16px;background:var(--fill);font-size:16px;font-weight:600;letter-spacing:-.01em;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:background 0.17s var(--sleepy),transform .2s,opacity 0.2s}@media (hover:hover){.act:hover{background:var(--fill-2)}}
.act:active{transform:scale(.97)}
.act:disabled{opacity:.3;cursor:var(--cu-arrow,default);background:var(--fill);transform:none}
.fold{color:var(--rose)}.call{color:var(--sage)}.raise{color:var(--lamp)}

/* bet sizing: a detented slider that clicks into place */
#sizer{display:grid;grid-template-columns:44px 1fr auto;grid-template-areas:"back amt go" "row row row";gap:6px;align-items:center}
.sz-back{grid-area:back;height:50px;border-radius:15px;display:flex;align-items:center;justify-content:center;background:var(--fill);color:var(--linen-2);transition:background 0.15s,color 0.15s}@media (hover:hover){.sz-back:hover{background:var(--fill-2);color:var(--linen)}}
.sz-amt{grid-area:amt;min-width:0;display:flex;flex-direction:column;justify-content:center;padding:0 6px}
#szVerb{font-size:12px;font-weight:500;line-height:1.2;color:var(--linen-3)}
#szValue{font-size:23px;font-weight:600;line-height:1.15;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--linen)}
.sz-go{grid-area:go;height:50px;min-width:118px;padding:0 22px;border-radius:16px;background:var(--lamp);color:#2b1d0e;font-size:16px;font-weight:600;box-shadow:0 6px 20px rgba(242,187,114,.16);transition:transform .2s,background 0.15s}@media (hover:hover){.sz-go:hover{background:#f5c684}}
.sz-go:active{transform:scale(.97)}
.sz-row{grid-area:row;display:grid;grid-template-columns:40px 1fr 40px;gap:6px;align-items:start;padding-top:2px}
.sz-step{width:40px;height:40px;border-radius:13px;display:flex;align-items:center;justify-content:center;background:var(--fill);color:var(--linen-2);touch-action:none;transition:background 0.14s,color 0.14s,transform .15s}@media (hover:hover){.sz-step:hover{background:var(--fill-2);color:var(--linen)}}
.sz-step:active{transform:scale(.94)}
.sz-track{position:relative;height:62px;padding:0 13px;touch-action:none;cursor:var(--cu-grab,grab);outline:none;border-radius:14px}
.sz-track.drag{cursor:var(--cu-grabbing,grabbing)}
.sz-track:focus-visible{outline:2px solid rgba(242,187,114,.55);outline-offset:0}
.sz-rail{position:relative;height:40px}
.sz-rail::before{content:"";position:absolute;left:0;right:0;top:18px;height:4px;border-radius:2px;background:rgba(255,242,228,.14)}
.sz-fill{position:absolute;left:0;top:18px;width:0;height:4px;border-radius:2px;background:var(--lamp)}
.sz-notches{position:absolute;inset:0;pointer-events:none}
.sz-notch{position:absolute;top:20px;width:6px;height:6px;margin:-3px 0 0 -3px;border-radius:50%;background:rgba(255,242,228,.42);transition:background 0.15s}
.sz-notch.on{background:rgba(43,29,14,.55)}
.sz-thumb{position:absolute;left:0;top:20px;width:26px;height:26px;margin:-13px 0 0 -13px;border-radius:50%;background:#fbf6ee;box-shadow:0 2px 8px rgba(0,0,0,.45);will-change:transform;pointer-events:none}
.sz-thumb::after{content:"";position:absolute;inset:-8px;border-radius:50%;background:rgba(242,187,114,.2);transform:scale(.5);opacity:0;transition:transform 0.2s var(--spring),opacity 0.15s}
.sz-track.drag .sz-thumb::after{transform:scale(1);opacity:1}
.sz-labels{position:relative;height:22px;pointer-events:none}
.sz-lab{position:absolute;top:0;transform:translateX(-50%);padding:2px 7px;border-radius:8px;font-size:12px;font-weight:500;line-height:1.4;color:var(--linen-3);white-space:nowrap;transition:color 0.15s,background 0.15s}
.sz-lab.first{transform:translateX(-9px)}
.sz-lab.last{transform:translateX(calc(-100% + 9px))}
.sz-lab.on{color:var(--linen);background:var(--fill-2)}

/* ---- sheets (small dialogs) ---- */
#modal{position:fixed;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(8,6,14,.3);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);animation:fadeIn 0.3s var(--sleepy)}
.sheet{position:relative;width:min(430px,100%);max-height:84vh;max-height:84dvh;overflow-y:auto;overscroll-behavior:contain;padding:22px 16px 16px;border-radius:26px;background:var(--glass-deep);animation:sheetIn 0.4s var(--sleepy);scrollbar-width:none;-webkit-user-select:text;user-select:text}
.sheet::-webkit-scrollbar{display:none}
.sheet .x{position:absolute;top:14px;right:14px;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--fill);color:var(--linen-2);transition:background 0.15s,color 0.15s}@media (hover:hover){.sheet .x:hover{background:var(--fill-2);color:var(--linen)}}
.sheet .x .i{width:15px;height:15px;stroke-width:1.8}
.sheet h2{margin:0 40px 6px 6px;font-size:20px;font-weight:600;letter-spacing:-.015em}
.lead{margin:0 6px 16px;font-size:14px;line-height:1.5;color:var(--linen-2)}
.row{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;padding:10px 14px;font-size:14.5px}
.row+.row::before{content:"";position:absolute;top:0;left:14px;right:0;height:1px;background:var(--hair)}
.row span{color:var(--linen-2)}
.row b{font-weight:500;color:var(--linen);font-variant-numeric:tabular-nums;text-align:right}
.row b.pos,.pos{color:var(--sage)}.row b.neg,.neg{color:var(--rose)}
.row .i{width:17px;height:17px;color:var(--sage)}
.deco b{color:var(--linen-3)}
.deco.on span{color:var(--linen)}
.foot{margin:6px 6px 2px;font-size:12px;line-height:1.55;color:var(--linen-3)}
.primary{display:flex;align-items:center;justify-content:center;width:100%;height:50px;margin-top:4px;border-radius:16px;background:rgba(247,240,231,.94);color:#2b221c;font-size:16px;font-weight:600;transition:background 0.15s,transform .2s}@media (hover:hover){.primary:hover{background:#fff}}
.primary:active{transform:scale(.98)}
.btn-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:6px}
.danger-btn{height:50px;border-radius:16px;background:rgba(240,174,170,.14);color:var(--rose);font-size:15px;font-weight:600;transition:background 0.15s}@media (hover:hover){.danger-btn:hover{background:rgba(240,174,170,.22)}}
@keyframes sheetIn{from{opacity:0;transform:translateY(16px) scale(.985)}}
@keyframes sheetUp{from{opacity:0;transform:translateY(44px)}}

/* ---- pages: profile and settings ---- */
#page{position:fixed;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;padding:24px;visibility:hidden;pointer-events:none;transition:visibility 0s linear 0.5s}
#page.show{visibility:visible;pointer-events:auto;transition:visibility 0s}
.page-scrim{position:absolute;inset:0;background:rgba(9,7,14,.42);-webkit-backdrop-filter:blur(16px) saturate(120%);backdrop-filter:blur(16px) saturate(120%);opacity:0;transition:opacity 0.5s var(--sleepy)}
.page-card{position:relative;display:flex;flex-direction:column;width:min(880px,100%);height:min(90vh,940px);height:min(90dvh,940px);border-radius:28px;background:rgba(30,24,29,.9);border:1px solid var(--hair);box-shadow:0 30px 90px rgba(5,3,10,.55),inset 0 1px 0 rgba(255,244,230,.05);overflow:hidden;opacity:0;transform:translateY(22px) scale(.985);transition:opacity 0.5s var(--sleepy),transform 0.57s var(--sleepy)}
#page.show .page-scrim{opacity:1}
#page.show .page-card{opacity:1;transform:none}
.page-head{flex:none;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;height:62px;padding:0 12px;border-bottom:1px solid var(--hair)}
.page-back{justify-self:start;display:flex;align-items:center;gap:4px;height:36px;padding:0 12px 0 6px;border-radius:12px;color:var(--linen-2);font-size:14px;font-weight:500;transition:background 0.17s,color 0.17s}@media (hover:hover){.page-back:hover{background:var(--fill);color:var(--linen)}}
.page-back .i{width:18px;height:18px}
.page-head .seg{width:440px;--n:4}
.turn-pill{justify-self:end;display:flex;align-items:center;gap:7px;height:32px;padding:0 13px;border-radius:999px;background:rgba(242,187,114,.14);color:var(--lamp);font-size:13px;font-weight:600;animation:breath 2.2s ease-in-out infinite alternate}
.page-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px 28px 34px;scrollbar-width:none;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 18px,#000 calc(100% - 18px),transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 18px,#000 calc(100% - 18px),transparent 100%)}
.page-body::-webkit-scrollbar{display:none}
.page-body>section{animation:fadeUp 0.45s var(--sleepy) both}
.page-body>section:nth-child(2){animation-delay:.06s}.page-body>section:nth-child(3){animation-delay:.12s}.page-body>section:nth-child(4){animation-delay:.18s}.page-body>section:nth-child(n+5){animation-delay:.24s}
.h-sec{display:flex;align-items:baseline;justify-content:space-between;margin:28px 4px 10px;font-size:13px;font-weight:600;letter-spacing:.01em;color:var(--linen-3)}
.h-sec span+span{font-weight:500;color:var(--linen-3)}
.page-body p.note{margin:8px 4px 0;font-size:12.5px;line-height:1.55;color:var(--linen-3)}
.btn-soft{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:36px;padding:0 14px;border-radius:12px;background:var(--fill);font-size:13.5px;font-weight:600;color:var(--linen);transition:background 0.17s var(--sleepy),transform .2s}@media (hover:hover){.btn-soft:hover{background:var(--fill-2)}}
.btn-soft:active{transform:scale(.97)}
.btn-soft .i{width:16px;height:16px}
.btn-soft.warm{color:var(--lamp)}
.btn-soft.danger{color:var(--rose)}
/* profile */
.pf-hero{display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px;align-items:center;padding:16px 22px 16px 10px;border-radius:24px;background:radial-gradient(ellipse 50% 85% at 16% 50%,rgba(242,187,114,.13),transparent 70%),rgba(255,242,228,.04)}
#pfStage{width:210px;height:170px;display:block}
.pf-name{font-size:26px;font-weight:600;letter-spacing:-.02em;color:var(--ink,var(--linen));line-height:1.15;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pf-handle{margin-top:3px;font-size:13.5px;color:var(--linen-3)}
.pf-elo{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin-top:16px}
.pf-elo b{font-size:44px;font-weight:600;letter-spacing:-.035em;line-height:1;font-variant-numeric:tabular-nums}
.pf-elo small{font-size:13px;font-weight:500;color:var(--linen-3)}
.pf-delta{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.pf-delta.up{color:var(--sage)}.pf-delta.down{color:var(--rose)}.pf-delta.flat{color:var(--linen-3)}
.pf-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.pf-scope{display:flex;justify-content:center;margin:24px 0 2px}
.pf-scope .seg{width:280px;--n:2}
.tiles4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.stat{padding:14px 15px 13px;border-radius:18px;background:rgba(255,242,228,.05)}
.stat b{display:block;font-size:28px;font-weight:600;letter-spacing:-.025em;line-height:1.1;font-variant-numeric:tabular-nums}
.stat span{display:block;margin-top:3px;font-size:12.5px;color:var(--linen-3)}
.stat.win b{color:var(--sage)}.stat.loss b{color:var(--rose)}
.pf-chart{position:relative;height:150px;padding:12px 14px 10px;border-radius:18px;background:rgba(255,242,228,.04)}
#pfChart{width:100%;height:100%;display:block}
.chart-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:13px;color:var(--linen-3)}
.cols2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cols2 .group{margin:0}
.row small{display:block;font-size:12px;color:var(--linen-3);margin-top:1px}
.res{font-variant-numeric:tabular-nums;font-weight:600}
.recent .row span{display:flex;flex-direction:column}
.empty-row{padding:16px 14px;font-size:13.5px;color:var(--linen-3);text-align:center}
.pf-deck{display:flex;align-items:center;gap:16px;padding:10px 16px 10px 10px}
#pfDeck{width:150px;height:138px;display:block;flex:none}
/* settings */
.set-row{position:relative;display:flex;align-items:center;gap:14px;min-height:56px;padding:10px 14px}
.set-row+.set-row::before,.set-row+.vol::before,.vol+.set-row::before,.mix+.set-row::before{content:"";position:absolute;top:0;left:14px;right:0;height:1px;background:var(--hair)}
.lbl{flex:1;min-width:0}
.lbl b{display:block;font-size:14.5px;font-weight:500;color:var(--linen)}
.lbl small{display:block;margin-top:1px;font-size:12.5px;line-height:1.4;color:var(--linen-3)}
.vol{position:relative;display:flex;align-items:center;gap:10px;padding:0 14px 12px}
.vol .i{width:16px;height:16px;color:var(--linen-3)}
.mix{display:grid;grid-template-columns:118px minmax(0,1fr) 34px;align-items:center;gap:12px;padding:4px 14px 4px 30px}
.mix:last-child{padding-bottom:12px}
.mix span{font-size:13.5px;color:var(--linen-2)}
.mix output{font-size:12px;color:var(--linen-3);text-align:right;font-variant-numeric:tabular-nums}
.group.dim .vol,.group.dim .mix{opacity:.4;pointer-events:none}
.range{-webkit-appearance:none;appearance:none;width:100%;height:28px;margin:0;background:none;outline:none;cursor:var(--cu-hand,pointer);--p:50%}
.range::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:linear-gradient(90deg,var(--lamp) 0,var(--lamp) var(--p),rgba(255,242,228,.16) var(--p),rgba(255,242,228,.16) 100%)}
.range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:22px;height:22px;margin-top:-9px;border-radius:50%;background:#fbf6ee;box-shadow:0 2px 6px rgba(0,0,0,.45);transition:transform 0.2s var(--sleepy)}
.range:active::-webkit-slider-thumb{transform:scale(1.1)}
.range::-moz-range-track{height:4px;border-radius:2px;background:rgba(255,242,228,.16)}
.range::-moz-range-progress{height:4px;border-radius:2px;background:var(--lamp)}
.range::-moz-range-thumb{width:22px;height:22px;border:0;border-radius:50%;background:#fbf6ee;box-shadow:0 2px 6px rgba(0,0,0,.45)}
.range:focus-visible{outline:none}
.range:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px rgba(242,187,114,.5),0 2px 6px rgba(0,0,0,.45)}
.set-seg{padding:12px 14px 14px}
.set-seg .seg{--n:3}
.keys{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 16px;padding:10px 14px 12px}
.keys div{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px;font-size:13.5px;color:var(--linen-2)}
.keys kbd{min-width:24px;text-align:center}

/* ---- scenes: the menu and lobbies have no dock; the menu has no chat ---- */
body[data-scene=menu] #chat,body[data-scene=menu] #bar,body[data-scene=menu] #chatScrim,body[data-scene=menu] #bChat{display:none!important}
body[data-scene=lobby] #bar{display:none!important}
.top-l{display:flex;align-items:center;gap:14px}
.leave-btn{display:flex;align-items:center;gap:3px;height:34px;padding:0 14px 0 8px;border-radius:999px;font-size:13.5px;font-weight:600;color:var(--linen-2);animation:fadeIn 0.4s var(--sleepy);transition:background 0.23s var(--sleepy),color 0.23s var(--sleepy)}@media (hover:hover){.leave-btn:hover{background:rgba(255,242,228,.1);color:var(--linen)}}
.leave-btn .i{width:17px;height:17px}

/* ---- rank badges: GM2, SOV ---- */
.rkb{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:30px;height:22px;padding:0 6px;border-radius:7px;font-size:11px;font-weight:700;letter-spacing:.02em;line-height:1;color:var(--rc);background:color-mix(in srgb,var(--rc) 14%,rgba(255,242,228,.04));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--rc) 28%,transparent);font-variant-numeric:tabular-nums;white-space:nowrap}
.rkb.lg{min-width:46px;height:32px;border-radius:10px;font-size:15px}
.rkn{color:var(--rc);font-weight:600}
.rk-grandmaster{animation:gmCycle 3.4s ease-in-out infinite}
.rk-sovereign{animation:sovCycle 3.4s ease-in-out infinite}
@keyframes gmCycle{0%,100%{color:#ff3b3b}33%{color:#ff8059}66%{color:#e0193f}}
@keyframes sovCycle{0%,100%{color:#ffd36b}33%{color:#fff2c4}66%{color:#e2a42c}}

/* ---- titles and their rarity ---- */
.ttl{font-weight:600}
.ttl.r-common{color:#b6b0aa}.ttl.r-uncommon{color:#7fd18b}.ttl.r-rare{color:#6fb1ff}.ttl.r-epic{color:#b98cff}
.ttl.r-legendary{color:#f2c14e;text-shadow:0 0 12px rgba(242,193,78,.32)}
.ttl.r-unreal{position:relative;display:inline-block;background:linear-gradient(100deg,#f3b9a8 0%,#e59a8c 20%,#fff4ec 36%,#e6a194 52%,#f8d2c4 70%,#d6877a 86%,#f3b9a8 100%);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:roseShine 4.6s linear infinite;filter:drop-shadow(0 0 6px rgba(240,170,150,.32))}
.ttl.r-unreal{margin-right:.55em;width:fit-content;max-width:100%;align-self:flex-start;justify-self:start}
/* two little four-point glints that take turns to sparkle */
.ttl.r-unreal::before,.ttl.r-unreal::after{content:"";position:absolute;width:.62em;height:.62em;background:radial-gradient(circle,#fff 0 12%,rgba(255,236,226,.9) 13%,transparent 60%);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0C10.8 6.5 13.5 9.2 20 10 13.5 10.8 10.8 13.5 10 20 9.2 13.5 6.5 10.8 0 10 6.5 9.2 9.2 6.5 10 0Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0C10.8 6.5 13.5 9.2 20 10 13.5 10.8 10.8 13.5 10 20 9.2 13.5 6.5 10.8 0 10 6.5 9.2 9.2 6.5 10 0Z'/%3E%3C/svg%3E") center/contain no-repeat;filter:drop-shadow(0 0 3px rgba(255,214,196,.9));animation:twinkle 2.6s ease-in-out infinite;pointer-events:none}
.ttl.r-unreal::after{right:-.62em;top:-.32em}
.ttl.r-unreal::before{left:-.3em;top:-.3em;width:.4em;height:.4em;animation-delay:1.3s}
@keyframes roseShine{to{background-position:-220% 0}}
@keyframes twinkle{0%,100%{opacity:0;transform:scale(.4) rotate(0)}45%,55%{opacity:1;transform:scale(1) rotate(45deg)}}
.ttl-none{color:var(--linen-3)}
.trow{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:3px;width:100%;padding:11px 44px 11px 14px;text-align:left;transition:background 0.23s var(--sleepy)}
.trow+.trow::before{content:"";position:absolute;top:0;left:14px;right:0;height:1px;background:var(--hair)}@media (hover:hover){.trow:hover{background:var(--fill)}}
.trow[aria-checked=true]{background:var(--fill-2)}
.trow[aria-checked=true]::after{content:"";position:absolute;right:14px;top:50%;width:20px;height:20px;margin-top:-10px;border-radius:50%;background:var(--lamp) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b1d0e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4 4 9-9'/%3E%3C/svg%3E") center/12px no-repeat}
.tr-top{display:flex;align-items:center;gap:8px;font-size:14.5px}
.trow small{font-size:12px;line-height:1.35;color:var(--linen-3)}
.trow.locked{cursor:var(--cu-arrow,default)}
.trow.locked .ttl{opacity:.5}
.tr-lock{display:flex;color:var(--linen-3)}.tr-lock .i{width:12px;height:12px}
.tr-prog{display:block;width:100%;height:3px;margin-top:3px;border-radius:2px;background:rgba(255,242,228,.1);overflow:hidden}
.tr-prog i{display:block;height:100%;border-radius:2px;background:var(--lamp)}
.tr-num{font-variant-numeric:tabular-nums}
.new{font-style:normal;font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;padding:2px 6px;border-radius:6px;background:rgba(242,187,114,.18);color:var(--lamp)}
.tdot{display:inline-block;width:6px;height:6px;margin-left:5px;border-radius:50%;background:var(--lamp);vertical-align:2px;box-shadow:0 0 6px rgba(242,187,114,.7)}
#meTabs{--n:5}
#meTabs button{font-size:13px}
.ttl-filter{margin:14px 0 2px;--n:2}

/* ---- the main menu ---- */
#home{position:fixed;z-index:5;left:16px;top:calc(var(--top) + 50px);bottom:16px;width:var(--home-w);display:flex;flex-direction:column;border-radius:26px;overflow:hidden;background:linear-gradient(180deg,rgba(52,40,40,.62),rgba(30,24,30,.66) 38%,rgba(26,21,27,.7));box-shadow:0 18px 60px rgba(5,3,10,.38),inset 0 1px 0 rgba(255,236,214,.07);animation:homeIn 0.55s var(--sleepy) both}
#home::before{content:"";position:absolute;left:-30%;right:-30%;top:-170px;height:250px;background:radial-gradient(ellipse at 50% 100%,rgba(242,187,114,.12),transparent 65%);pointer-events:none}
@keyframes homeIn{from{opacity:0;transform:translateX(-18px)}}
.home-scroll{position:relative;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px 18px 16px;scrollbar-width:none;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 12px,#000 calc(100% - 18px),transparent);mask-image:linear-gradient(to bottom,transparent 0,#000 12px,#000 calc(100% - 18px),transparent)}
.home-scroll::-webkit-scrollbar{display:none}
.hm-head{padding:2px 6px 0}
.hm-when{display:block;font-size:11.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:rgba(242,187,114,.75)}
.hm-head h1{margin:6px 0 0;font-size:27px;font-weight:650;letter-spacing:-.025em;line-height:1.12;overflow-wrap:anywhere}
.hm-you{position:relative;display:grid;grid-template-columns:56px minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;column-gap:12px;row-gap:10px;width:100%;margin:18px 0 6px;padding:12px 14px 12px 12px;border-radius:20px;background:rgba(255,242,228,.055);box-shadow:inset 0 0 0 1px rgba(255,238,220,.06);text-align:left;transition:background 0.25s var(--sleepy),box-shadow 0.25s var(--sleepy)}@media (hover:hover){.hm-you:hover{background:rgba(255,242,228,.085);box-shadow:inset 0 0 0 1px rgba(242,187,114,.22)}}
.hm-av{width:56px;height:56px;border-radius:50%;background:radial-gradient(circle at 50% 70%,rgba(242,187,114,.18),rgba(255,242,228,.04) 70%);box-shadow:inset 0 0 0 1px rgba(255,238,220,.08)}
#homeBlob{width:56px;height:56px;display:block}
.hm-id{min-width:0;display:flex;flex-direction:column;gap:3px}
.hm-id b{font-size:16.5px;font-weight:650;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-id>span{font-size:12.5px;white-space:nowrap;overflow:visible}
.hm-rk{display:flex;align-items:center;gap:8px;text-align:right}
.hm-rk span{display:flex;flex-direction:column;align-items:flex-end;gap:1px}
.hm-rk b{font-size:13px;font-weight:650;white-space:nowrap}
.hm-rk small{font-size:12px;color:var(--linen-3);font-variant-numeric:tabular-nums}
.hm-prog{grid-column:1/3;height:4px;border-radius:2px;background:rgba(255,242,228,.1);overflow:hidden}
.hm-prog i{display:block;height:100%;border-radius:2px;transition:width 0.7s var(--sleepy)}
.hm-next{grid-column:3;justify-self:end;font-size:11.5px;color:var(--linen-3);white-space:nowrap}
.hm-label{display:flex;align-items:center;gap:10px;margin:22px 6px 10px;font-size:11px;font-weight:650;letter-spacing:.09em;text-transform:uppercase;color:var(--linen-3)}
.hm-label::after{content:"";flex:1;height:1px;background:var(--hair)}
.hm-label.sm{margin:4px 2px 8px}
.hm-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.hm-modes button{display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:11px 12px;border-radius:17px;background:rgba(255,242,228,.045);box-shadow:inset 0 0 0 1px rgba(255,238,220,.05);text-align:left;transition:background 0.25s var(--sleepy),box-shadow 0.25s var(--sleepy),transform 0.15s var(--sleepy)}@media (hover:hover){.hm-modes button:hover{background:rgba(255,242,228,.08)}}
.hm-modes button:active{transform:scale(.98)}
.hm-modes .mi{grid-row:1/3;width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(255,242,228,.07);color:var(--linen-2);transition:background 0.25s var(--sleepy),color 0.25s var(--sleepy)}
.hm-modes .mi .i{width:20px;height:20px}
.hm-modes b{font-size:14px;font-weight:650;white-space:nowrap}
.hm-modes small{font-size:11.5px;color:var(--linen-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-modes button[aria-selected=true]{background:rgba(242,187,114,.1);box-shadow:inset 0 0 0 1.5px rgba(242,187,114,.42)}
.hm-modes button[aria-selected=true] .mi{background:var(--lamp);color:#2b1d0e}
.hm-panel{margin-top:12px;padding:14px 12px 12px;border-radius:20px;background:rgba(0,0,0,.14);box-shadow:inset 0 1px 0 rgba(255,238,220,.04)}
.home-note{margin:0 4px 12px;font-size:13px;line-height:1.5;color:var(--linen-2)}
.lvl-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.lvl{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 2px 7px;border-radius:13px;background:rgba(255,242,228,.04);font-size:10.5px;font-weight:650;white-space:nowrap;transition:background 0.23s var(--sleepy),box-shadow 0.23s var(--sleepy),transform 0.15s var(--sleepy)}@media (hover:hover){.lvl:hover{background:rgba(255,242,228,.08)}}
.lvl[aria-pressed=true]{background:rgba(255,242,228,.1);box-shadow:inset 0 0 0 1.5px rgba(242,187,114,.5)}
.lvl img{transition:transform 0.25s var(--sleepy)}
.lvl[aria-pressed=true] img{transform:scale(1.12)}
.lvl-note{margin:10px 4px 14px;font-size:12px;line-height:1.45;color:var(--linen-3)}
.lvl-note b{color:var(--linen-2);font-weight:600}
.tables{display:flex;flex-direction:column;gap:7px}
.topt{display:grid;grid-template-columns:82px minmax(0,1fr) auto 14px;align-items:center;gap:12px;width:100%;padding:7px 12px 7px 6px;border-radius:16px;background:rgba(255,242,228,.05);text-align:left;animation:fadeUp 0.4s var(--sleepy) both;transition:background 0.23s var(--sleepy),transform 0.15s var(--sleepy)}@media (hover:hover){.topt:hover{background:rgba(255,242,228,.095)}}
.topt:active{transform:scale(.985)}
.topt-art{width:82px;height:54px;display:block}
.topt-txt{display:flex;flex-direction:column;gap:2px;min-width:0}
.topt-txt b{font-size:15px;font-weight:650}
.topt-txt span{font-size:12px;color:var(--linen-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topt-meta{display:flex;flex-direction:column;align-items:flex-end;gap:3px}
.tm-r{display:flex;align-items:center;gap:5px}
.tm-r b{font-size:13px;font-weight:650;font-variant-numeric:tabular-nums}
.topt-meta small{font-size:11px;color:var(--linen-3);white-space:nowrap}
.chev{display:flex;color:var(--linen-3)}.chev .i{width:15px;height:15px}
.big-opt{display:flex;align-items:center;gap:14px;width:100%;margin-bottom:8px;padding:15px;border-radius:17px;background:rgba(255,242,228,.05);text-align:left;animation:fadeUp 0.4s var(--sleepy) both;transition:background 0.23s var(--sleepy)}@media (hover:hover){.big-opt:hover{background:rgba(255,242,228,.095)}}
.bo-ico{flex:none;width:42px;height:42px;border-radius:13px;display:flex;align-items:center;justify-content:center;background:rgba(242,187,114,.14);color:var(--lamp)}
.big-opt b{display:block;font-size:14.5px;font-weight:650}
.big-opt small{display:block;margin-top:2px;font-size:12.5px;line-height:1.4;color:var(--linen-3)}
.hm-lb{display:block;width:100%;padding:14px 12px 10px;border-radius:20px;background:linear-gradient(180deg,rgba(255,215,140,.07),rgba(255,242,228,.03));box-shadow:inset 0 0 0 1px rgba(255,220,170,.08);text-align:left;transition:background 0.25s var(--sleepy),box-shadow 0.25s var(--sleepy)}@media (hover:hover){.hm-lb:hover{box-shadow:inset 0 0 0 1px rgba(242,187,114,.3)}}
.hl-pod{display:grid;grid-template-columns:1fr 1.15fr 1fr;align-items:end;gap:6px}
.hl-p{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;padding:8px 4px 9px;border-radius:14px;background:rgba(0,0,0,.14)}
.hl-p.p1{order:2;padding-top:12px;background:rgba(242,187,114,.09)}.hl-p.p2{order:1}.hl-p.p3{order:3}
.hl-p em{font-style:normal;font-size:11px;font-weight:700;color:var(--linen-3)}
.hl-p.p1 em{color:var(--lamp)}
.hl-p b{max-width:100%;font-size:12.5px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hl-p small{font-size:11px;color:var(--linen-3);font-variant-numeric:tabular-nums}
.hl-foot{display:flex;justify-content:space-between;align-items:center;margin-top:10px;padding:0 4px;font-size:12px;color:var(--linen-3)}
.hl-go{display:flex;align-items:center;gap:2px;font-weight:600;color:var(--lamp)}.hl-go .i{width:14px;height:14px}
.live-dot{display:inline-block;width:7px;height:7px;margin:0 6px 1px 0;border-radius:50%;background:#7fd18b;box-shadow:0 0 0 0 rgba(127,209,139,.5);animation:livePulse 2.4s ease-in-out infinite}
@keyframes livePulse{0%,100%{box-shadow:0 0 0 0 rgba(127,209,139,.45)}50%{box-shadow:0 0 0 5px rgba(127,209,139,0)}}
.home-legal{margin:16px 6px 0;font-size:11.5px;color:var(--linen-3)}
.home-foot{flex:none;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:8px 10px 10px;border-top:1px solid var(--hair);background:rgba(0,0,0,.1)}
.home-foot button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;height:52px;border-radius:14px;font-size:11.5px;font-weight:600;color:var(--linen-2);transition:background 0.23s var(--sleepy),color 0.23s var(--sleepy)}@media (hover:hover){.home-foot button:hover{background:var(--fill);color:var(--linen)}}
.home-foot .i{width:19px;height:19px}

/* ---- rank badges (your ladder's SVG art) ---- */
.rk-i{display:inline-block;flex:none;vertical-align:middle;filter:drop-shadow(0 1px 2px rgba(0,0,0,.35))}
.rkb{gap:3px;padding:0 6px 0 2px}
.rkb em{font-style:normal}
.rkb .rk-i{margin:-3px 0}
.rkb.lg .rk-i{margin:-5px 0}
.who .rk-i{width:15px;height:15px;margin:-2px 4px 0 0}

/* ---- titles: drop rates, filters, pages ---- */
.drops-card{margin:0 0 10px}
.drops-card summary{display:flex;align-items:center;gap:8px;padding:12px 14px;cursor:var(--cu-hand,pointer);list-style:none;font-size:14px}
.drops-card summary::-webkit-details-marker{display:none}
.drops-card summary .i{width:15px;height:15px;color:var(--lamp)}
.drops-card summary small{margin-left:auto;font-size:12px;color:var(--linen-3)}
.drops-card[open] summary{border-bottom:1px solid var(--hair)}
.drops-body{padding:6px 10px 10px}
table.drops{width:100%;border-collapse:collapse;font-size:12.5px;font-variant-numeric:tabular-nums}
table.drops th{padding:6px 4px;font-size:11px;font-weight:600;text-align:left;color:var(--linen-3);letter-spacing:.02em}
table.drops td{padding:6px 4px;border-top:1px solid var(--hair);color:var(--linen-2);vertical-align:top}
table.drops td small{display:block;font-size:11px;color:var(--linen-3)}
.drops-body .foot{margin:8px 4px 0}
.ttl-tools{display:flex;gap:8px;margin:4px 0 8px}
.search{flex:1;display:flex;align-items:center;gap:8px;height:38px;padding:0 12px;border-radius:12px;background:rgba(0,0,0,.2);border:1px solid rgba(255,236,216,.06);transition:border-color 0.6s var(--sleepy)}
.search:focus-within{border-color:rgba(242,187,114,.35)}
.search .i{width:15px;height:15px;color:var(--linen-3)}
.search input{flex:1;min-width:0;height:36px;border:0;background:none;outline:0;color:var(--linen);font:14px var(--sans);-webkit-user-select:text;user-select:text}
.search input::placeholder{color:var(--linen-3)}
.chip-tog{height:38px;padding:0 14px;border-radius:12px;background:var(--fill);font-size:13px;font-weight:600;color:var(--linen-2);transition:background 0.23s var(--sleepy),color 0.23s var(--sleepy)}
.chip-tog[aria-pressed=true]{background:rgba(242,187,114,.16);color:var(--lamp)}
.rar-chips{justify-content:flex-start;margin:0 0 8px}
.rar-chips button{display:flex;align-items:center;gap:6px;height:28px;padding:0 10px;font-size:12px}
.dot{width:7px;height:7px;border-radius:50%;background:#b6b0aa}
.dot.r-uncommon{background:#7fd18b}.dot.r-rare{background:#6fb1ff}.dot.r-epic{background:#b98cff}.dot.r-legendary{background:#f2c14e}.dot.r-unreal{background:linear-gradient(135deg,#f3b9a8,#fff4ec,#d6877a)}
.ttl-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:2px 4px 8px;font-size:12px;color:var(--linen-3)}
.pg-dots{display:flex;gap:4px}
.pg-dots i{width:6px;height:6px;border-radius:50%;background:rgba(255,242,228,.12);transition:background 0.3s var(--sleepy)}
.pg-dots i.ready{background:rgba(242,187,114,.45)}
.pg-dots i.on{background:var(--lamp)}
#meTitles{margin-top:8px}
.pg-page .trow:first-child::before{display:none}
.trow .cnt{font-style:normal;font-size:11px;font-weight:700;padding:1px 6px;border-radius:6px;background:rgba(255,242,228,.1);color:var(--linen-2)}
.pg-nav{display:flex;align-items:center;justify-content:center;gap:10px;margin:10px 0 4px}
.pg-nav button{width:36px;height:36px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:var(--fill);color:var(--linen-2);transition:background 0.2s var(--sleepy),opacity 0.2s}@media (hover:hover){.pg-nav button:hover:not(:disabled){background:var(--fill-2);color:var(--linen)}}
.pg-nav button:disabled{opacity:.3;cursor:var(--cu-arrow,default)}
.pg-num{font-size:13px;color:var(--linen-3);font-variant-numeric:tabular-nums}
.pg-jump{width:46px;height:30px;margin:0 4px;padding:0 4px;border-radius:9px;border:1px solid var(--hair);background:rgba(0,0,0,.2);color:var(--linen);font:600 13px var(--sans);text-align:center;outline:none;-webkit-user-select:text;user-select:text}
.pg-jump:focus{border-color:rgba(242,187,114,.4)}

/* ---- a rare title arriving ---- */
.reveal{position:fixed;z-index:40;left:50%;top:22%;transform:translateX(-50%);pointer-events:auto;cursor:var(--cu-hand,pointer)}
.rv-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:280px;padding:22px 30px 20px;border-radius:24px;background:rgba(30,24,30,.92);box-shadow:0 30px 80px rgba(5,3,10,.6),inset 0 0 0 1px rgba(255,236,216,.1);text-align:center;animation:rvIn 0.55s var(--spring) both}
.rv-card small{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--linen-3)}
.rv-card b{font-size:24px;letter-spacing:-.01em}
.rv-card span{font-size:12.5px;color:var(--linen-3)}
.reveal.r-epic .rv-card{box-shadow:0 30px 80px rgba(5,3,10,.6),0 0 60px rgba(185,140,255,.35),inset 0 0 0 1px rgba(185,140,255,.4)}
.reveal.r-legendary .rv-card{box-shadow:0 30px 80px rgba(5,3,10,.6),0 0 70px rgba(242,193,78,.4),inset 0 0 0 1px rgba(242,193,78,.5)}
.reveal.r-unreal .rv-card{box-shadow:0 30px 80px rgba(5,3,10,.6),0 0 80px rgba(240,170,150,.5),inset 0 0 0 1px rgba(255,214,196,.6)}
@keyframes rvIn{from{opacity:0;transform:translateY(16px) scale(.9)}}

/* ---- the top 100 ---- */
.lb-head h2{margin:0;font-size:24px;font-weight:650;letter-spacing:-.02em}
.lb-head p{margin:4px 0 0;font-size:13.5px;color:var(--linen-3)}
.lb-modes{justify-content:flex-start;margin-top:16px}
.lb-you,.lb-row{display:grid;grid-template-columns:44px 34px minmax(0,1fr) auto 92px;align-items:center;gap:12px;padding:10px 14px}
.lb-you{border-radius:18px;background:rgba(242,187,114,.07);box-shadow:inset 0 0 0 1px rgba(242,187,114,.2)}
.lb-row{position:relative}
.lb-row+.lb-row::before{content:"";position:absolute;top:0;left:14px;right:0;height:1px;background:var(--hair)}
.lb-n{font-size:14px;font-weight:650;color:var(--linen-3);font-variant-numeric:tabular-nums;text-align:center}
.lb-row.podium .lb-n{color:var(--lamp)}
.lb-row.p1{background:linear-gradient(90deg,rgba(242,187,114,.1),transparent 70%)}
.lb-who{min-width:0;display:flex;flex-direction:column;gap:2px}
.lb-who b{font-size:14.5px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lb-who .ttl,.lb-who small,.lb-who .ttl-none{font-size:12px;white-space:nowrap}
.lb-who small{color:var(--linen-3);overflow:hidden;text-overflow:ellipsis}
.lb-elo{display:flex;flex-direction:column;align-items:flex-end;gap:1px}
.lb-elo b{font-size:15px;font-weight:650;font-variant-numeric:tabular-nums}
.lb-elo small{font-size:11.5px;color:var(--linen-3);white-space:nowrap}
.lb-watch{justify-self:end;display:flex;align-items:center;gap:5px;height:32px;padding:0 12px;border-radius:11px;background:rgba(127,209,139,.14);color:#9fe0a9;font-size:12.5px;font-weight:650;transition:background 0.2s var(--sleepy)}@media (hover:hover){.lb-watch:hover{background:rgba(127,209,139,.22)}}
.lb-watch .i{width:15px;height:15px}
.lb-off{justify-self:end;font-size:11.5px;color:var(--linen-3)}

/* ---- trades ---- */
.tr-closed{display:flex;flex-direction:column;align-items:center;gap:6px;padding:60px 20px;text-align:center;color:var(--linen-3)}
.tr-closed .i{width:34px;height:34px;color:var(--lamp)}
.tr-closed h3{margin:6px 0 0;font-size:18px;color:var(--linen)}
.tr-intro{display:flex;align-items:center;gap:16px}
.tr-shield{flex:none;width:52px;height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:rgba(127,209,139,.12);color:#9fe0a9}
.tr-shield .i{width:28px;height:28px}
.tr-intro h2{margin:0;font-size:22px;font-weight:650;letter-spacing:-.015em}
.tr-intro p{margin:3px 0 0;font-size:13.5px;color:var(--linen-3)}
.tr-rules{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:16px}
.tr-rules div{display:flex;flex-direction:column;gap:3px;padding:12px;border-radius:16px;background:rgba(255,242,228,.045)}
.tr-rules em{font-style:normal;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(127,209,139,.16);color:#9fe0a9;font-size:11px;font-weight:700}
.tr-rules b{margin-top:4px;font-size:13px;font-weight:650}
.tr-rules small{font-size:11.5px;line-height:1.4;color:var(--linen-3)}
.tr-people{display:flex;flex-wrap:wrap;gap:8px}
.tr-p{display:flex;align-items:center;gap:10px;padding:8px 10px 8px 12px;border-radius:15px;background:rgba(255,242,228,.05);box-shadow:inset 0 0 0 1px transparent;text-align:left;transition:background 0.23s var(--sleepy),box-shadow 0.23s var(--sleepy)}@media (hover:hover){.tr-p:hover{background:rgba(255,242,228,.085)}}
.tr-p.on{box-shadow:inset 0 0 0 1.5px rgba(242,187,114,.5);background:rgba(242,187,114,.08)}
.tr-p>i{width:11px;height:11px;border-radius:50%;background:var(--c)}
.tr-p span{display:flex;flex-direction:column}
.tr-p b{font-size:13.5px;font-weight:650}
.tr-p small{font-size:11.5px;color:var(--linen-3)}
.tr-box{margin-top:20px;padding:16px;border-radius:22px;background:rgba(255,242,228,.035);box-shadow:inset 0 0 0 1px rgba(255,238,220,.06)}
.tr-steps{display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:14px;font-size:12.5px;color:var(--linen-3)}
.tr-steps span{display:flex;align-items:center;gap:6px;white-space:nowrap}
.tr-steps em{font-style:normal;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,242,228,.08);font-size:11px;font-weight:700}
.tr-steps span.on{color:var(--linen)}.tr-steps span.on em{background:var(--lamp);color:#2b1d0e}
.tr-steps span.done em{background:rgba(127,209,139,.25);color:#9fe0a9}
.tr-steps i{width:24px;height:1px;background:var(--hair)}
.tr-banner{margin:0 0 12px;padding:10px 14px;border-radius:14px;background:rgba(255,242,228,.07);font-size:13px;line-height:1.45;color:var(--linen-2);animation:fadeUp 0.35s var(--sleepy)}
.tr-banner.bad{background:rgba(240,120,110,.14);color:#ffc1b8;box-shadow:inset 0 0 0 1px rgba(240,120,110,.3)}
.tr-banner.ok{background:rgba(127,209,139,.12);color:#b6ecbd}
.tr-sides{display:grid;grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr);gap:8px;align-items:stretch}
.tr-side{display:flex;flex-direction:column;gap:6px;min-height:120px;padding:12px;border-radius:17px;background:rgba(0,0,0,.18);box-shadow:inset 0 0 0 1px rgba(255,238,220,.05);transition:box-shadow 0.4s var(--sleepy),background 0.4s var(--sleepy)}
.tr-side.locked{box-shadow:inset 0 0 0 1.5px rgba(127,209,139,.45);background:rgba(127,209,139,.06)}
.tr-side h4{display:flex;align-items:center;justify-content:space-between;margin:0 0 2px;font-size:12px;font-weight:650;letter-spacing:.04em;text-transform:uppercase;color:var(--linen-3)}
.lk{display:flex;align-items:center;gap:4px;font-size:11px;letter-spacing:0;text-transform:none;color:#9fe0a9}.lk .i{width:12px;height:12px}
.tr-mid{display:flex;align-items:center;justify-content:center;color:var(--linen-3)}.tr-mid .i{width:20px;height:20px}
.tr-chip{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:1px;padding:7px 30px 7px 10px;border-radius:11px;background:rgba(255,242,228,.06);text-align:left;font-size:13.5px;transition:background 0.17s}@media (hover:hover){.tr-chip:hover{background:rgba(255,242,228,.1)}}
.tr-chip small{font-size:11px;color:var(--linen-3)}
.tr-chip .x{position:absolute;right:8px;top:50%;transform:translateY(-50%);color:var(--linen-3)}.tr-chip .x .i{width:13px;height:13px}
.tr-empty{flex:1;display:flex;align-items:center;justify-content:center;padding:10px;font-size:12.5px;color:var(--linen-3);text-align:center}
.tr-fair{margin:12px 2px 0}
.tf-bar{height:6px;border-radius:3px;background:rgba(127,209,139,.35);overflow:hidden}
.tf-bar i{display:block;height:100%;border-radius:3px;background:var(--lamp);transition:width 0.45s var(--sleepy)}
.tf-txt{display:flex;justify-content:space-between;gap:10px;margin-top:6px;font-size:12px;color:var(--linen-3)}
.tf-txt b{font-weight:600;color:var(--linen-2);text-align:center}
.tf-txt.warn b{color:#ffc1b8}
.tf-warn,.tf-note{margin-top:8px;padding:8px 12px;border-radius:12px;font-size:12.5px;line-height:1.4}
.tf-warn{background:rgba(242,187,114,.12);color:#f5d29b}
.tf-note{background:rgba(255,242,228,.05);color:var(--linen-3)}
.tr-actions{display:grid;grid-template-columns:1fr 2fr;gap:8px;margin-top:14px}
.tr-actions .primary{margin:0;gap:8px}
.tr-actions .primary .i{width:17px;height:17px}
.tr-actions .primary:disabled{opacity:.6;cursor:var(--cu-arrow,default)}
.primary.review{background:linear-gradient(90deg,rgba(247,240,231,.92) var(--p),rgba(247,240,231,.45) var(--p))}
.primary.hold{position:relative;overflow:hidden;background:rgba(127,209,139,.9);color:#16301d}
.primary.hold.ok{background:rgba(127,209,139,.35);color:#cdeed2}
.hold-fill{position:absolute;left:0;top:0;bottom:0;width:0;background:rgba(255,255,255,.35)}
.hold-t{position:relative}
.tr-pick{margin-top:16px}
.tr-pick .seg{max-width:420px;margin:0 auto 10px}
.tr-list .pg-page{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.tr-row{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:1px;padding:8px 36px 8px 12px;border-radius:12px;background:rgba(255,242,228,.045);text-align:left;font-size:13.5px;transition:background 0.17s var(--sleepy),box-shadow 0.17s var(--sleepy)}@media (hover:hover){.tr-row:hover{background:rgba(255,242,228,.085)}}
.tr-row small{font-size:11px;color:var(--linen-3)}
.tr-row[aria-pressed=true]{box-shadow:inset 0 0 0 1.5px rgba(242,187,114,.45)}
.tr-n{position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:12px;font-weight:700;color:var(--lamp)}
.tr-log{margin-top:12px;display:flex;flex-direction:column;gap:3px;font-size:12px;color:var(--linen-3)}
.tr-log .bad{color:#ffb3a8}.tr-log .ok{color:#9fe0a9}
.tr-rec{align-items:flex-start}
.tr-rec span{display:flex;flex-direction:column}
.tr-rec-l{font-size:12.5px;line-height:1.5;color:var(--linen-2);text-align:right}

/* ---- profile and results: the badges, big ---- */
.pf-badge{display:flex;width:64px;height:64px}
.pf-lockednote{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 12px;border-radius:12px;background:rgba(255,242,228,.05);font-size:12.5px;color:var(--linen-3)}
.pf-lockednote .i{width:14px;height:14px}
.rk-tile{position:relative;overflow:hidden}
.rt-badge{position:absolute;right:8px;top:8px;opacity:.95}
.res-rank{align-items:center}
.rr-from{opacity:.55;display:flex}
.rr-arrow{display:flex;color:var(--linen-3)}.rr-arrow .i{width:18px;height:18px}
.rr-badge{display:flex}
.res-place svg{display:inline-block}

/* ---- lobbies ---- */
#lobbyBar{position:fixed;z-index:4;left:calc(var(--bar-left) + 16px);right:calc(var(--inset-right) + 16px);bottom:var(--bottom);max-width:580px;margin:0 auto;display:flex;align-items:center;gap:14px;padding:8px 8px 8px 18px;border-radius:22px;animation:fadeUp 0.45s var(--sleepy) both;transition:left 0.47s var(--sleepy),right 0.47s var(--sleepy)}
.lb-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
#lobbyBar.priv .lb-seats{display:none}
#lobbyBar.priv{gap:8px}
.lb-info small{font-size:12px;color:var(--linen-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lb-info b{font-size:14.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color 0.5s var(--sleepy)}
body.lobby-full .lb-info b{color:var(--lamp)}
.lb-seats{flex:none;display:flex;gap:5px}
.lb-seats i{width:9px;height:9px;border-radius:50%;background:rgba(255,242,228,.14);transition:background 0.5s var(--sleepy),box-shadow 0.5s var(--sleepy)}
.lb-seats i.on{background:var(--c);box-shadow:0 0 8px color-mix(in srgb,var(--c) 55%,transparent)}
.lb-btn{flex:none;height:42px;padding:0 16px;border-radius:14px;background:rgba(247,240,231,.92);color:#2b221c;font-size:14px;font-weight:600;transition:background 0.15s,transform .2s,opacity 0.2s}@media (hover:hover){.lb-btn:hover{background:#fff}}
.lb-btn:disabled{opacity:.4;cursor:var(--cu-arrow,default)}
.lb-btn.ghost{background:var(--fill);color:var(--linen)}@media (hover:hover){.lb-btn.ghost:hover{background:var(--fill-2)}}
#lobbySide{position:fixed;z-index:6;right:16px;top:calc(var(--top) + 50px);bottom:16px;width:var(--me-w);display:flex;flex-direction:column;border-radius:22px;overflow:hidden;background:rgba(34,28,33,.88);animation:sideIn 0.5s var(--sleepy) both;transition:opacity 0.3s var(--sleepy)}
@keyframes sideIn{from{opacity:0;transform:translateX(24px)}}
body.me-open #lobbySide{opacity:0;pointer-events:none}
.ls-head{flex:none;padding:16px 18px 8px}
.ls-head b{display:block;font-size:15px;font-weight:600}
.ls-head small{display:block;margin-top:2px;font-size:12.5px;color:var(--linen-3)}
.ls-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:6px 14px 18px;scrollbar-width:none}
.ls-body::-webkit-scrollbar{display:none}
.ls-body .group{margin:0}
.ls-body .sub{margin:18px 4px 8px;display:flex;justify-content:space-between;gap:10px;font-size:13px;font-weight:500;color:var(--linen-3)}
.ls-body .sub span+span{color:var(--linen-2);text-align:right}
.ls-body .note{margin:8px 2px 0;font-size:12px;line-height:1.45;color:var(--linen-3)}
.ls-body .set-seg .seg button{font-size:12.5px}
.code{font:600 13.5px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.04em;color:var(--lamp);padding:5px 9px;border-radius:9px;background:rgba(242,187,114,.1);-webkit-user-select:text;user-select:text}
.pw{width:140px;height:34px;padding:0 10px;border-radius:10px;border:1px solid var(--hair);background:rgba(0,0,0,.18);color:var(--linen);font:13.5px ui-monospace,SFMono-Regular,Menlo,monospace;outline:none;-webkit-user-select:text;user-select:text;transition:border-color 0.6s var(--sleepy)}
.pw:focus{border-color:rgba(242,187,114,.4)}
.btn-soft.sm{height:30px;padding:0 11px;font-size:12.5px;border-radius:10px}
.stepper{display:flex;align-items:center;gap:4px}
.stepper button{width:32px;height:32px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:var(--fill);color:var(--linen-2);transition:background 0.15s}@media (hover:hover){.stepper button:hover:not(:disabled){background:var(--fill-2)}}
.stepper button:disabled{opacity:.35;cursor:var(--cu-arrow,default)}
.stepper .i{width:15px;height:15px}
.stepper b{min-width:26px;text-align:center;font-size:15px;font-variant-numeric:tabular-nums}
.maps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.map-opt{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:8px 10px 10px;border-radius:15px;background:rgba(255,242,228,.05);border:1px solid transparent;text-align:left;transition:background 0.23s var(--sleepy),border-color 0.23s var(--sleepy)}@media (hover:hover){.map-opt:hover:not(:disabled){background:rgba(255,242,228,.085)}}
.map-opt.sel{border-color:rgba(242,187,114,.5);background:rgba(255,242,228,.09)}
.map-opt.locked{opacity:.5;cursor:var(--cu-no,not-allowed)}
.map-opt:disabled:not(.locked){cursor:var(--cu-arrow,default)}
.map-sw{width:100%;height:44px;margin-bottom:4px;border-radius:10px;background:linear-gradient(135deg,var(--w) 0 42%,var(--r) 42% 70%,var(--f) 70%)}
.map-opt b{font-size:13px;font-weight:600}
.map-opt small{display:flex;align-items:flex-start;gap:4px;font-size:11.5px;line-height:1.35;color:var(--linen-3)}
.map-opt small .i{width:11px;height:11px;margin-top:1px}
.friends .fr-row{position:relative;display:flex;align-items:center;gap:10px;min-height:50px;padding:6px 10px 6px 14px}
.fr-row+.fr-row::before{content:"";position:absolute;top:0;left:14px;right:0;height:1px;background:var(--hair)}
.fr-row>i{flex:none;width:12px;height:12px;border-radius:50%;background:var(--c)}
.fr-row>span:not(.rkb){flex:1;min-width:0;display:flex;flex-direction:column}
.fr-row b{font-size:14px;font-weight:600}
.fr-row small{font-size:12px;color:var(--linen-3)}
.fr-row em{min-width:56px;font-style:normal;font-size:12.5px;color:var(--linen-3);text-align:right}
.fr-row em.ok{color:var(--sage)}
.secondary.wide{width:100%;margin-top:12px}
.secondary .i{width:16px;height:16px}
#lsDeck{width:46%;max-width:150px;aspect-ratio:1/.92;display:block;flex:none}

/* ---- profile: ranks ---- */
.pf-title{margin-top:3px;font-size:15px}
.pf-best{display:flex;align-items:center;gap:12px;margin-top:16px}
.pf-best b{display:block;font-size:20px;font-weight:600;letter-spacing:-.01em}
.pf-best small{display:block;margin-top:1px;font-size:12.5px;color:var(--linen-3)}
.rk-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.rk-tile{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;padding:13px 14px 12px;border-radius:18px;background:rgba(255,242,228,.05);text-align:left;transition:background 0.23s var(--sleepy)}@media (hover:hover){.rk-tile:hover{background:rgba(255,242,228,.085)}}
.rk-tile>small{font-size:12px;color:var(--linen-3)}
.rt-main{display:flex;align-items:center;gap:8px;font-size:14.5px;white-space:nowrap}
.rt-elo{display:flex;align-items:baseline;gap:8px}
.rt-elo span{font-size:24px;font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.rt-elo em{font-style:normal;font-size:12px;font-weight:600}
.rt-bar{width:100%;height:4px;border-radius:2px;background:rgba(255,242,228,.1);overflow:hidden}
.rt-bar i{display:block;height:100%;border-radius:2px}
.rt-sub{font-size:12px;color:var(--linen-3)}
.pf-filter{display:flex;flex-direction:column;align-items:center;gap:10px;margin:14px 0 0}
.pf-filter .seg{width:min(540px,100%)}
.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.chips button{height:30px;padding:0 12px;border-radius:999px;background:var(--fill);font-size:12.5px;font-weight:600;color:var(--linen-2);transition:background 0.23s var(--sleepy),color 0.23s var(--sleepy)}
.chips button[aria-pressed=true]{background:rgba(242,187,114,.16);color:var(--lamp)}
.pf-titles .rar-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;padding:14px 12px 8px}
.rar{display:flex;flex-direction:column;align-items:center;gap:3px}
.rar b{font-size:20px;font-weight:600;font-variant-numeric:tabular-nums}
.rar b small{font-size:12px;font-weight:500;color:var(--linen-3)}
.rar .ttl{font-size:11.5px}

/* ---- how the match went ---- */
.res-head{padding:4px 0 2px;text-align:center}
.res-place{margin-bottom:6px;font-size:58px;font-weight:700;letter-spacing:-.04em;line-height:1}
.res-place.gold{color:var(--lamp);text-shadow:0 0 30px rgba(242,187,114,.45)}
.sheet .res-head h2{margin:0 0 4px}
.res-head .lead{margin-bottom:14px}
.res-rank{display:flex;align-items:center;gap:14px;padding:14px;border-radius:18px;background:rgba(255,242,228,.05)}
.rr-txt b{display:block;font-size:17px}
.rr-txt small{display:block;font-size:12.5px;color:var(--linen-3)}
.rr-txt em{display:block;margin-top:3px;font-style:normal;font-size:12.5px;font-weight:600}
.rr-bar{height:6px;margin:12px 4px 0;border-radius:3px;background:rgba(255,242,228,.1);overflow:hidden}
.rr-bar i{display:block;width:var(--p1);height:100%;border-radius:3px;background:var(--lamp);animation:rrFill 1.8s var(--sleepy) both}
@keyframes rrFill{from{width:var(--p0)}}
.rr-note{text-align:center}
.standings{margin:12px 0}
.standings .row em{display:inline-block;width:40px;font-style:normal;color:var(--linen-3);font-variant-numeric:tabular-nums}
.standings .row.me span{color:var(--linen)}
.res-titles{display:flex;flex-wrap:wrap;gap:6px 16px;padding:2px 6px 12px;font-size:14px}

/* ---- narrow screens: cards above the dock, chat and builder become sheets ---- */
@media (max-width:759px){
  #top{padding-left:18px;padding-right:12px}
  #bar{flex-direction:column;align-items:center;gap:12px;padding:0 12px max(14px,env(safe-area-inset-bottom))}
  #bar::after{display:none}
  #hand{order:0}
  .dockcol{width:100%}
  #hand{height:94px;transition:transform 0.4s var(--sleepy),margin 0.4s var(--sleepy)}
  /* while choosing a size, your cards settle a little smaller so they don't cover your seat */
  body.sizing #hand{transform:scale(.74);transform-origin:50% 100%;margin-bottom:-8px}
  body.sizing #handName{opacity:0}
  .pcard{width:62px;height:86px}
  .act{height:52px;font-size:15px}
  .sz-go{min-width:100px;padding:0 18px}
}
@media (max-width:899px),(max-height:519px){
  #chat{left:8px;right:8px;top:auto;bottom:8px;width:auto;height:min(72vh,560px);height:min(72dvh,560px);z-index:9;border-radius:24px;background:var(--glass-deep)}
  body:not(.chat-open) #chat{transform:translateY(calc(100% + 24px))}
  body.chat-min #chat{transform:translateY(calc(100% + 24px))}
  #chatInput{font-size:16px}
  #chatScrim{display:block;position:fixed;inset:0;z-index:8;background:rgba(8,6,14,.32);opacity:0;pointer-events:none;transition:opacity 0.4s var(--sleepy)}
  body.chat-open #chatScrim{opacity:1;pointer-events:auto}
}
@media (max-width:759px){
  #meDrawer{left:8px;right:8px;top:auto;bottom:8px;width:auto;height:min(90vh,780px);height:min(90dvh,780px);z-index:9;border-radius:24px}
  body:not(.me-open) #meDrawer{transform:translateY(calc(100% + 24px))}
  .tiles{grid-template-columns:repeat(4,minmax(0,1fr))}
  .tiles.cards{grid-template-columns:repeat(4,minmax(0,1fr))}
  .coats{grid-template-columns:repeat(7,minmax(0,1fr))}
  .swatches{gap:7px;padding:12px}
  .field input{font-size:16px}
  #meScrim{display:block;position:fixed;inset:0;z-index:8;background:rgba(8,6,14,.32);opacity:0;pointer-events:none;transition:opacity 0.4s var(--sleepy)}
  body.me-open #meScrim{opacity:1;pointer-events:auto}
  #page{padding:0;align-items:flex-end}
  .page-card{width:100%;height:94vh;height:94dvh;border-radius:26px 26px 0 0;transform:translateY(40px)}
  .page-head{grid-template-columns:auto 1fr auto;padding:0 10px}
  .page-head .seg{width:100%;max-width:300px;justify-self:center}
  .page-head .seg button{font-size:12px}
  .page-back .pb-txt{display:none}
  .page-back{padding:0 8px}
  .page-body{padding:18px 14px 30px}
  .pf-hero{grid-template-columns:1fr;justify-items:center;text-align:center;padding:12px 14px 18px}
  .pf-elo,.pf-actions{justify-content:center}
  .tiles4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cols2{grid-template-columns:1fr}
  .mix{grid-template-columns:86px minmax(0,1fr) 30px;padding-left:14px}
  .keys{grid-template-columns:1fr}
  #meMenu{right:10px}
  #home{left:8px;right:8px;top:auto;bottom:8px;width:auto;height:min(64vh,660px);height:min(64dvh,660px);border-radius:24px;animation-name:sheetUp}
  .home-scroll{padding:18px 12px 12px}
  .hm-head h1{font-size:22px}
  .hm-you{margin:12px 0 4px}
  .topt{grid-template-columns:70px minmax(0,1fr) auto 12px;gap:10px}
  .topt-art{width:70px;height:48px}
  .lvl-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
  .lb-you,.lb-row{grid-template-columns:30px 30px minmax(0,1fr) auto;gap:8px;padding:10px}
  .lb-row>.lb-watch,.lb-row>.lb-off{grid-column:3/5;justify-self:start}
  .tr-rules{grid-template-columns:1fr 1fr}
  .tr-sides{grid-template-columns:1fr}
  .tr-mid{transform:rotate(90deg);height:24px}
  .tr-list .pg-page{grid-template-columns:1fr}
  .tr-steps{font-size:11px;gap:4px}
  .tr-steps i{width:8px}
  #lobbyBar{left:8px;right:8px;bottom:max(10px,env(safe-area-inset-bottom));gap:10px;padding-left:14px}
  .lb-seats{display:none}
  #lobbySide{left:8px;right:8px;top:auto;bottom:calc(max(10px,env(safe-area-inset-bottom)) + 70px);width:auto;height:min(44vh,440px);height:min(44dvh,440px);border-radius:22px}
  .rk-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pf-titles .rar-row{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:12px}
  .pf-filter .seg button{font-size:12px}
  .leave-btn span{display:none}
  .leave-btn{padding:0 10px 0 8px}
}
@media (max-width:560px){
  #modal{align-items:flex-end;padding:0}
  .sheet{width:100%;max-height:88vh;max-height:88dvh;border-radius:26px 26px 0 0;padding-bottom:max(18px,env(safe-area-inset-bottom));animation-name:sheetUp}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
body.calm *{animation:none!important;transition:none!important}
/* ===================== round seven ===================== */
:root{--side-w:clamp(340px,30vw,420px);--r-common:#b9b4ac;--r-uncommon:#7fd49a;--r-rare:#6fa8ff;--r-epic:#b47bff;--r-legendary:#f2bb4a;--r-unreal:#ff9ec0}
/* ---- the main menu ---- */
.hm-online{display:flex;align-items:center;margin:8px 0 0;font-size:13px;color:var(--linen-2)}
.hm-online b{margin-right:4px;font-weight:650;color:var(--linen);font-variant-numeric:tabular-nums}
.hm-menu{display:flex;flex-direction:column;gap:6px;margin-top:16px}
.hm-row{display:grid;grid-template-columns:40px minmax(0,1fr) 18px;align-items:center;column-gap:12px;width:100%;padding:10px 12px 10px 10px;border-radius:18px;background:rgba(255,242,228,.04);box-shadow:inset 0 0 0 1px rgba(255,238,220,.045);text-align:left;transition:background 0.28s var(--sleepy),box-shadow 0.28s var(--sleepy),transform 0.14s var(--ease)}@media (hover:hover){.hm-row:hover{background:rgba(255,242,228,.085);box-shadow:inset 0 0 0 1px rgba(255,238,220,.09)}}
.hm-row:active{transform:scale(.985)}
.hm-row .mi{width:40px;height:40px;border-radius:13px;display:flex;align-items:center;justify-content:center;background:rgba(255,242,228,.07);color:var(--linen-2);transition:background 0.3s var(--sleepy),color 0.3s var(--sleepy)}
.hm-row .mi .i{width:20px;height:20px}
.hm-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.hm-t b{font-size:15px;font-weight:650;letter-spacing:-.01em}
.hm-t small{font-size:12px;color:var(--linen-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-row .chev{display:flex;color:var(--linen-3);transition:transform 0.35s var(--sleepy)}
.hm-row .chev .i{width:18px;height:18px}
.hm-row.big{padding:13px 14px 13px 12px;background:linear-gradient(180deg,rgba(242,187,114,.14),rgba(242,187,114,.06));box-shadow:inset 0 0 0 1px rgba(242,187,114,.22)}
.hm-row.big .mi{width:44px;height:44px;border-radius:15px;background:var(--lamp);color:#2b1d0e}
.hm-row.big .hm-t b{font-size:17px}@media (hover:hover){.hm-row.big:hover{background:linear-gradient(180deg,rgba(242,187,114,.2),rgba(242,187,114,.09))}}
.hm-row[aria-expanded=true] .chev{transform:rotate(180deg)}
.hm-row.quit .mi{background:rgba(160,150,230,.1);color:#c9c1ff}
.hm-row.quit{margin-top:4px}
.hm-sub{display:grid;grid-template-rows:0fr;transition:grid-template-rows 0.45s var(--sleepy)}
.hm-sub>.hm-sub-in{min-height:0;overflow:hidden}
.hm-play.open .hm-sub{grid-template-rows:1fr}
.hm-kinds{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px 0 2px;opacity:0;transform:translateY(-6px);transition:opacity 0.35s var(--sleepy),transform 0.4s var(--sleepy)}
.hm-play.open .hm-kinds{opacity:1;transform:none}
.hm-kinds button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:11px 6px 10px;border-radius:16px;background:rgba(255,242,228,.045);box-shadow:inset 0 0 0 1px rgba(255,238,220,.05);text-align:center;transition:background 0.25s var(--sleepy),box-shadow 0.25s var(--sleepy)}@media (hover:hover){.hm-kinds button:hover{background:rgba(255,242,228,.085)}}
.hm-kinds .mi{width:36px;height:36px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(255,242,228,.07);color:var(--linen-2);transition:background 0.25s var(--sleepy),color 0.25s var(--sleepy)}
.hm-kinds .mi .i{width:19px;height:19px}
.hm-kinds b{font-size:13px;font-weight:650;white-space:nowrap}
.hm-kinds small{font-size:10.5px;color:var(--linen-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.hm-kinds button[aria-selected=true]{background:rgba(242,187,114,.1);box-shadow:inset 0 0 0 1.5px rgba(242,187,114,.42)}
.hm-kinds button[aria-selected=true] .mi{background:var(--lamp);color:#2b1d0e}
.hm-tiers{display:grid;grid-template-rows:0fr;transition:grid-template-rows 0.45s var(--sleepy)}
.hm-tiers>.hm-tiers-in{min-height:0;overflow:hidden}
.hm-tiers.open{grid-template-rows:1fr}
.hm-tiers .hm-panel{margin:8px 0 6px}
.lvl-boss{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;margin-top:6px;padding:8px 12px 8px 8px;border-radius:14px;background:linear-gradient(100deg,rgba(255,158,192,.1),rgba(180,123,255,.08));box-shadow:inset 0 0 0 1px rgba(255,170,200,.16);text-align:left;transition:background 0.25s var(--sleepy),box-shadow 0.25s var(--sleepy)}
.lvl-boss canvas{width:44px;height:44px;display:block}
.lvl-boss b{display:block;font-size:13.5px;font-weight:650;background:linear-gradient(100deg,#f3b9a8,#fff4ec 40%,#e6a194 70%,#f8d2c4);-webkit-background-clip:text;background-clip:text;color:transparent}
.lvl-boss small{display:block;font-size:11px;color:var(--linen-3)}
.lvl-boss em{font-style:normal;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#ffb3c7}
.lvl-boss[aria-pressed=true]{box-shadow:inset 0 0 0 1.5px rgba(255,170,200,.6);background:linear-gradient(100deg,rgba(255,158,192,.17),rgba(180,123,255,.13))}
.comp-btns{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:6px}
.big-opt.sm{margin:0;padding:11px 12px;gap:10px;align-items:flex-start}
.big-opt.sm .bo-ico{width:32px;height:32px;flex:none}
.big-opt.sm b{font-size:13.5px}.big-opt.sm small{font-size:11.5px}
#home .home-foot{display:none}

/* ---- the panel that slides in from the right: rank ladder, friends ---- */
#side{position:fixed;z-index:15;top:calc(var(--top) + 50px);right:16px;bottom:16px;width:var(--side-w);display:flex;flex-direction:column;border-radius:26px;overflow:hidden;background:linear-gradient(180deg,rgba(44,34,40,.86),rgba(28,22,28,.9));transform:translateX(calc(100% + 32px));visibility:hidden;transition:transform 0.5s var(--sleepy),visibility 0s linear 0.5s}
#side.show{transform:none;visibility:visible;transition:transform 0.5s var(--sleepy),visibility 0s}
.sd-head{flex:none;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:18px 16px 10px 20px}
.sd-id small{display:block;font-size:11px;font-weight:650;letter-spacing:.09em;text-transform:uppercase;color:rgba(242,187,114,.8)}
.sd-id h2{margin:4px 0 0;font-size:21px;font-weight:650;letter-spacing:-.02em}
.sd-x{flex:none}
.sd-tabs{flex:none;display:flex;gap:4px;margin:0 12px 6px;padding:3px;border-radius:14px;background:rgba(0,0,0,.22);overflow-x:auto;scrollbar-width:none}
.sd-tabs::-webkit-scrollbar{display:none}
.sd-tabs button{position:relative;flex:1 0 auto;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:58px;padding:6px 6px 5px;border-radius:11px;font-size:10.5px;font-weight:650;color:var(--linen-3);transition:background 0.25s var(--sleepy),color 0.25s var(--sleepy)}
.sd-tabs button .i{width:18px;height:18px}
.sd-tabs button[aria-selected=true]{background:rgba(255,242,228,.12);color:var(--linen)}
.sd-tabs .tb-n{position:absolute;top:2px;right:6px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--lamp);color:#2b1d0e;font-size:10px;line-height:16px;font-weight:750;box-shadow:0 0 10px rgba(242,187,114,.6)}
.sd-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:6px 14px 22px;scrollbar-width:none;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 12px,#000 calc(100% - 18px),transparent);mask-image:linear-gradient(to bottom,transparent 0,#000 12px,#000 calc(100% - 18px),transparent)}
.sd-body::-webkit-scrollbar{display:none}
.sd-sec{margin:12px 2px 6px;display:flex;align-items:center;gap:8px;font-size:11px;font-weight:650;letter-spacing:.08em;text-transform:uppercase;color:var(--linen-3)}
.sd-sec::after{content:"";flex:1;height:1px;background:var(--hair)}
.sd-note{margin:8px 4px;font-size:12.5px;line-height:1.5;color:var(--linen-3)}
/* the ladder */
.lad-modes{margin:4px 0 10px}
.lad-you{position:sticky;top:0;z-index:2;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);background:linear-gradient(180deg,#3d302c,#372b29)!important;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border-radius:16px;background:rgba(242,187,114,.09);box-shadow:inset 0 0 0 1px rgba(242,187,114,.25)}
.lad-you b{display:block;font-size:14px;font-weight:650}.lad-you small{display:block;font-size:11.5px;color:var(--linen-3)}
.lad-you .le{font-size:18px;font-weight:700;font-variant-numeric:tabular-nums}
.ladder{position:relative;margin-top:10px;padding-left:16px}
.ladder::before{content:"";position:absolute;left:5px;top:18px;bottom:18px;width:2px;border-radius:1px;background:linear-gradient(180deg,#f2c94c,#e05561 22%,#b47bff 40%,#ef86ad 52%,#5aa8f0 64%,#4fc3a1 74%,#e2b14f 84%,#c5ccd6 92%,#b07a52)}
.lad-rank{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 10px;margin-bottom:4px;border-radius:14px;transition:background 0.25s var(--sleepy)}
.lad-rank::before{content:"";position:absolute;left:-15px;top:50%;width:10px;height:10px;margin-top:-5px;border-radius:50%;background:var(--rc);box-shadow:0 0 0 3px rgba(28,22,28,.95)}
.lad-rank b{display:block;font-size:14px;font-weight:650;color:var(--rc)}
.lad-rank small{display:block;font-size:11px;color:var(--linen-3)}
.lad-rank .le{font-size:13px;font-weight:650;font-variant-numeric:tabular-nums;color:var(--linen-2);text-align:right}
.lad-rank.here{background:rgba(255,242,228,.07);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--rc) 45%,transparent)}
.lad-divs{grid-column:2/4;display:flex;gap:4px;margin-top:4px}
.lad-divs span{flex:1;display:flex;flex-direction:column;align-items:center;padding:4px 2px;border-radius:9px;background:rgba(0,0,0,.18);font-size:10.5px;color:var(--linen-3);font-variant-numeric:tabular-nums}
.lad-divs span b{font-size:11px;color:var(--linen-2)}
.lad-divs span.on{background:color-mix(in srgb,var(--rc) 22%,rgba(0,0,0,.2));color:var(--linen);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--rc) 60%,transparent)}
.lad-pin{grid-column:1/4;display:flex;align-items:center;gap:8px;margin-top:6px;font-size:12px;font-weight:650;color:var(--lamp)}
.lad-pin i{flex:1;height:4px;border-radius:2px;background:rgba(255,242,228,.1);overflow:hidden;position:relative}
.lad-pin i::after{content:"";position:absolute;inset:0 auto 0 0;width:var(--p);background:var(--lamp);border-radius:2px;box-shadow:0 0 8px rgba(242,187,114,.7)}
/* live distribution */
.dist{padding:12px 10px 8px;border-radius:16px;background:rgba(0,0,0,.18)}
.dist-bars{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));align-items:end;gap:4px;height:120px}
.dist-bar{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%}
.dist-bar i{display:block;width:100%;min-height:2px;border-radius:5px 5px 2px 2px;background:linear-gradient(180deg,color-mix(in srgb,var(--rc) 90%,#fff 10%),color-mix(in srgb,var(--rc) 55%,transparent));transition:height 1.6s var(--sleepy)}
.dist-bar em{font-style:normal;font-size:9.5px;font-weight:650;color:var(--linen-2);margin-bottom:3px;font-variant-numeric:tabular-nums;transition:opacity 0.3s}
.dist-bar.you i{box-shadow:0 0 0 1.5px var(--lamp),0 0 14px rgba(242,187,114,.45)}
.dist-icons{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px;margin-top:6px;justify-items:center}
.dist-foot{display:flex;justify-content:space-between;margin-top:8px;font-size:11px;color:var(--linen-3)}
/* friends and the rest */
.soc-ico{display:flex}
.soc-badge{position:absolute;top:3px;right:3px;min-width:15px;height:15px;padding:0 4px;border-radius:8px;background:var(--lamp);color:#2b1d0e;font-size:9.5px;line-height:15px;font-weight:750;box-shadow:0 0 0 2px rgba(32,26,31,.95),0 0 10px rgba(242,187,114,.7)}
.drop{margin-bottom:8px;border-radius:16px;background:rgba(255,242,228,.03);box-shadow:inset 0 0 0 1px rgba(255,238,220,.05)}
.drop>summary{list-style:none;display:flex;align-items:center;gap:8px;padding:11px 12px;cursor:var(--cu-hand,pointer);font-size:13px;font-weight:650;color:var(--linen-2)}
.drop>summary::-webkit-details-marker{display:none}
.drop>summary .n{margin-left:auto;font-size:12px;font-weight:600;color:var(--linen-3);font-variant-numeric:tabular-nums}
.drop>summary .cv{display:flex;color:var(--linen-3);transition:transform 0.3s var(--sleepy)}
.drop>summary .cv .i{width:16px;height:16px}
.drop[open]>summary .cv{transform:rotate(180deg)}
.drop .drop-in{padding:0 6px 6px}
.prow{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px 6px;border-radius:12px;animation:fadeUp 0.35s var(--sleepy) both}@media (hover:hover){.prow:hover{background:rgba(255,242,228,.04)}}
.prow canvas{width:38px;height:38px;display:block;border-radius:50%;background:color-mix(in srgb,var(--c) 16%,rgba(255,242,228,.04))}
.prow .pn{min-width:0;display:flex;flex-direction:column;gap:1px}
.prow .pn b{display:flex;align-items:center;gap:5px;font-size:13.5px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--c)}
.prow .pn small{font-size:11.5px;color:var(--linen-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.prow .pn small .st{display:inline-block;width:6px;height:6px;margin:0 5px 1px 0;border-radius:50%;background:#7fd18b}
.prow.off{opacity:.5;filter:grayscale(.8)}
.prow.off .pn small .st{background:#8a8288}
.prow .pa{display:flex;gap:4px}
.mini{height:28px;padding:0 10px;border-radius:9px;background:var(--fill);font-size:12px;font-weight:650;color:var(--linen-2);white-space:nowrap;transition:background 0.2s var(--sleepy),color 0.2s}@media (hover:hover){.mini:hover{background:var(--fill-2);color:var(--linen)}}
.mini.go{background:rgba(242,187,114,.18);color:var(--lamp)}@media (hover:hover){.mini.go:hover{background:rgba(242,187,114,.28)}}
.mini.bad{color:#f0a9a5}
.mini:disabled{opacity:.45;cursor:var(--cu-arrow,default)}
.crown{color:var(--lamp);font-size:11px}
.club-badge{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:7px;font-size:10px;font-weight:800;color:#1d1418;background:var(--c)}

/* ---- quick chats ---- */
.qc{font-weight:600}
.qc.r-common{color:var(--r-common)}.qc.r-uncommon{color:var(--r-uncommon)}.qc.r-rare{color:var(--r-rare)}.qc.r-epic{color:var(--r-epic)}
.qc.r-legendary{color:var(--r-legendary);text-shadow:0 0 12px rgba(242,187,74,.3)}
.qc.r-unreal{background:linear-gradient(100deg,#f3b9a8,#fff4ec 36%,#e6a194 60%,#f8d2c4);-webkit-background-clip:text;background-clip:text;color:transparent}
#bar::after{flex-basis:210px}
.qc-btn{order:3;flex:none;width:52px;height:52px;margin-bottom:6px;border-radius:18px;display:flex;align-items:center;justify-content:center;color:var(--linen-2);transition:background 0.25s var(--sleepy),color 0.25s var(--sleepy),transform 0.15s var(--ease)}
.qc-btn .i{width:24px;height:24px}.qc-btn[aria-expanded=true]{background:rgba(242,187,114,.16);color:var(--lamp)}@media (hover:hover){.qc-btn:hover{background:rgba(242,187,114,.16);color:var(--lamp)}}
.qc-btn:active{transform:scale(.95)}
.qc-btn.cool{opacity:.55}
#qcPop{position:fixed;z-index:16;right:max(16px,var(--inset-right));bottom:calc(var(--bottom) + 72px);width:min(380px,calc(100vw - 24px));max-height:min(520px,calc(100vh - 160px));max-height:min(520px,calc(100dvh - 160px));display:flex;flex-direction:column;border-radius:24px;padding:12px;background:rgba(34,27,32,.92);transform-origin:100% 100%;animation:qcIn 0.28s var(--sleepy)}
@keyframes qcIn{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:none}}
.qc-head .seg{--n:3}
.qc-head .seg button{font-size:12.5px}
.qc-tools{display:flex;gap:6px;margin-top:10px}
.qc-search{flex:1}
.qc-tools .chip-tog{height:38px;white-space:nowrap}
.qc-cats{display:flex;gap:6px;margin-top:10px;overflow-x:auto;scrollbar-width:none}
.qc-cats:empty{display:none}
.qc-cats button{flex:none;display:flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:999px;background:var(--fill);font-size:12.5px;font-weight:650;color:var(--linen-2);transition:background 0.23s var(--sleepy),color 0.23s var(--sleepy)}
.qc-cats button[aria-selected=true]{background:rgba(242,187,114,.16);color:var(--lamp)}
.qc-list{flex:1;min-height:80px;margin-top:8px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 8px,#000 calc(100% - 12px),transparent);mask-image:linear-gradient(to bottom,transparent 0,#000 8px,#000 calc(100% - 12px),transparent)}
.qc-list::-webkit-scrollbar{display:none}
.qrow{display:grid;grid-template-columns:minmax(0,1fr) auto 32px;align-items:center;gap:6px;width:100%;padding:8px 6px 8px 12px;margin-bottom:4px;border-radius:13px;background:rgba(255,242,228,.04);text-align:left;animation:fadeUp 0.3s var(--sleepy) both;transition:background 0.2s var(--sleepy)}@media (hover:hover){.qrow:hover{background:rgba(255,242,228,.09)}}
.qrow .qt{font-size:13.5px;line-height:1.35;overflow-wrap:anywhere}
.qrow .qr{font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--linen-3)}
.qrow .qf{width:32px;height:32px;border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--linen-3);transition:color 0.2s,background 0.2s}@media (hover:hover){.qrow .qf:hover{background:var(--fill);color:var(--linen)}}
.qrow .qf .i{width:17px;height:17px}
.qrow .qf.on{color:var(--lamp)}
.qrow .qf.on .i path{fill:currentColor}
.qc-foot{margin:6px 4px 0;font-size:11.5px;color:var(--linen-3)}
.qc-foot:empty{display:none}
.msg.qcm .txt{position:relative;padding-left:22px}
.msg.qcm .txt::before{content:"";position:absolute;left:8px;top:50%;width:9px;height:9px;margin-top:-5px;border-radius:3px;background:var(--qr,#b9b4ac);box-shadow:0 0 8px var(--qr,transparent);transform:rotate(45deg)}

/* ---- typing, and who's here ---- */
.typing{display:flex;align-items:center;gap:8px;height:0;margin:0 14px;padding:0 4px;opacity:0;overflow:hidden;font-size:12px;color:var(--linen-3);transform:translateY(6px);transition:height 0.35s var(--sleepy),opacity 0.3s var(--sleepy),transform 0.35s var(--sleepy),margin 0.35s var(--sleepy)}
.typing.on{height:24px;margin:2px 14px 4px;opacity:1;transform:none}
.typing .tp-who b{font-weight:650;color:var(--c,var(--linen-2))}
.tp-dots{display:inline-flex;gap:3px;padding:5px 8px;border-radius:10px;background:rgba(255,242,228,.08)}
.tp-dots i{width:5px;height:5px;border-radius:50%;background:var(--linen-2);animation:tpDot 1.3s ease-in-out infinite}
.tp-dots i:nth-child(2){animation-delay:.18s}.tp-dots i:nth-child(3){animation-delay:.36s}
@keyframes tpDot{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-3px);opacity:1}}
.people{overflow:visible;-webkit-mask-image:none;mask-image:none;margin-right:0;padding-right:0;gap:var(--pg,6px)}
.people .person{width:var(--ps,34px);height:var(--ps,34px)}
.people.many .person{width:var(--ps,28px);height:var(--ps,28px)}
.person .p-dots{position:absolute;left:50%;top:-9px;display:flex;gap:2px;padding:3px 5px;border-radius:8px;background:rgba(40,32,38,.95);box-shadow:0 2px 6px rgba(0,0,0,.35),inset 0 0 0 1px rgba(255,238,220,.1);opacity:0;transform:translate(-50%,4px) scale(.8);transition:opacity 0.25s var(--sleepy),transform 0.3s var(--sleepy);pointer-events:none;z-index:2}
.person .p-dots i{width:3.5px;height:3.5px;border-radius:50%;background:var(--linen);animation:tpDot 1.3s ease-in-out infinite}
.person .p-dots i:nth-child(2){animation-delay:.18s}.person .p-dots i:nth-child(3){animation-delay:.36s}
.person.typing .p-dots{opacity:1;transform:translate(-50%,0) scale(1)}
.person .p-un{position:absolute;top:-5px;right:-6px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--c);color:#1d1418;font-size:9.5px;line-height:16px;font-weight:800;text-align:center;box-shadow:0 0 0 2px rgba(32,26,31,.95),0 0 10px var(--c),0 0 18px color-mix(in srgb,var(--c) 60%,transparent);opacity:0;transform:scale(.6);transition:opacity 0.25s var(--sleepy),transform 0.3s var(--spring);pointer-events:none;z-index:3}
.person .p-un.on{opacity:1;transform:none}
.person.blocked{opacity:.35;filter:grayscale(1)}

/* ---- someone's card: their blob, pet and deck ---- */
.pop-look{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:10px 0 2px}
.pop-look>div{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 4px 7px;border-radius:12px;background:rgba(0,0,0,.18);min-width:0}
.pop-look canvas{width:64px;height:54px;display:block}
.pop-look small{font-size:9.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--linen-3)}
.pop-look b{max-width:100%;font-size:11.5px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rpill{display:inline-flex;align-items:center;height:16px;padding:0 6px;border-radius:999px;font-size:9.5px;font-weight:750;letter-spacing:.04em;text-transform:uppercase;color:#1a1218;background:var(--c)}
.rpill.r-unreal{background:linear-gradient(90deg,#ffc3d6,#ffe3a3,#c9ffd9,#a8dcff,#d8b8ff)}
.rpill.r-free{background:rgba(255,242,228,.16);color:var(--linen-2)}

/* ---- reveal your hand ---- */
#revealBtn{position:absolute;left:50%;bottom:-8px;transform:translateX(-50%);display:flex;align-items:center;gap:8px;height:34px;padding:0 14px 0 5px;border-radius:999px;font-size:13px;font-weight:650;white-space:nowrap;pointer-events:auto;background:rgba(48,38,44,.92);box-shadow:0 0 0 1px rgba(242,187,114,.35),0 8px 24px rgba(5,3,10,.45);animation:fadeUp 0.35s var(--sleepy);transition:background 0.2s,box-shadow 0.2s}@media (hover:hover){#revealBtn:hover{background:rgba(64,50,56,.95);box-shadow:0 0 0 1.5px rgba(242,187,114,.6),0 8px 24px rgba(5,3,10,.45)}}
.rv-ring{position:relative;width:26px;height:26px;display:flex;align-items:center;justify-content:center}
.rv-ring svg{position:absolute;inset:0;transform:rotate(-90deg)}
.rv-ring circle{fill:none;stroke:var(--lamp);stroke-width:2.4;stroke-linecap:round;stroke-dasharray:62.8;stroke-dashoffset:var(--off,0);transition:stroke-dashoffset 0.5s linear}
.rv-ring b{font-size:12px;font-weight:750;color:var(--lamp);font-variant-numeric:tabular-nums}
#revealBtn.shown{box-shadow:0 0 0 1px rgba(127,209,139,.4),0 8px 24px rgba(5,3,10,.45);cursor:var(--cu-arrow,default)}
#revealBtn.shown .rv-ring circle{stroke:#7fd18b}#revealBtn.shown .rv-ring b{color:#7fd18b}

/* ---- breaks ---- */
.brk-btn{gap:6px}
.brk-btn .i{width:17px;height:17px}
.brk-btn.on{background:rgba(242,187,114,.16);color:var(--lamp)}
#vote{position:fixed;z-index:14;left:50%;top:calc(var(--top) + 54px);width:min(380px,calc(100vw - 24px));transform:translateX(-50%);padding:14px 16px;border-radius:22px;background:rgba(36,29,34,.92);animation:voteIn 0.35s var(--sleepy)}
@keyframes voteIn{from{opacity:0;transform:translate(-50%,-10px)}to{opacity:1;transform:translateX(-50%)}}
.vt-top{display:flex;align-items:center;gap:10px}
.vt-top .mi{width:36px;height:36px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(242,187,114,.16);color:var(--lamp);flex:none}
.vt-top b{display:block;font-size:14.5px;font-weight:650}
.vt-top small{display:block;font-size:12px;color:var(--linen-3)}
.vt-who{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0 2px}
.vt-who span{display:flex;align-items:center;gap:5px;height:24px;padding:0 9px 0 6px;border-radius:999px;background:rgba(255,242,228,.06);font-size:11.5px;font-weight:600;color:var(--linen-2);transition:background 0.25s,color 0.25s}
.vt-who span i{width:8px;height:8px;border-radius:50%;background:rgba(255,242,228,.25);transition:background 0.25s}
.vt-who span.yes{background:rgba(127,209,139,.14);color:#bfeac6}.vt-who span.yes i{background:#7fd18b}
.vt-who span.no{background:rgba(240,169,165,.1);color:#f0c4c1}.vt-who span.no i{background:#f0a9a5}
.vt-bar{height:3px;margin-top:10px;border-radius:2px;background:rgba(255,242,228,.08);overflow:hidden}
.vt-bar i{display:block;height:100%;background:var(--lamp);transform-origin:0 50%;animation:vtTime var(--t,15s) linear forwards}
@keyframes vtTime{from{transform:scaleX(1)}to{transform:scaleX(0)}}
.vt-acts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.vt-acts button{height:40px;border-radius:13px;font-weight:650;background:var(--fill);transition:background 0.2s}@media (hover:hover){.vt-acts button:hover{background:var(--fill-2)}}
.vt-acts .yes{background:rgba(242,187,114,.2);color:var(--lamp)}
.vt-res{margin-top:10px;font-size:12.5px;color:var(--linen-2)}
#brk{position:fixed;inset:0;z-index:13;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 45%,rgba(15,12,24,.25),rgba(10,8,16,.6));animation:fadeIn 0.5s var(--sleepy)}
.brk-card{width:min(400px,calc(100vw - 24px));padding:22px 20px 18px;border-radius:26px;text-align:center;background:rgba(34,27,32,.9)}
.brk-card h2{margin:6px 0 2px;font-size:22px;font-weight:650}
.brk-card p{margin:0 0 12px;font-size:13px;color:var(--linen-3)}
.brk-clock{font-size:46px;font-weight:700;letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:var(--lamp);text-shadow:0 0 30px rgba(242,187,114,.35)}
.brk-list{display:flex;flex-direction:column;gap:4px;margin:14px 0;text-align:left}
.brk-list div{display:flex;align-items:center;justify-content:space-between;padding:7px 12px;border-radius:12px;background:rgba(255,242,228,.04);font-size:13px}
.brk-list div b{font-weight:650;color:var(--c)}
.brk-list div span{font-size:12px;color:var(--linen-3);transition:color 0.25s}
.brk-list div.ready span{color:#7fd18b}
.brk-card .primary{width:100%}
.brk-card .primary.ready{background:rgba(127,209,139,.2);color:#bfeac6}

/* ---- quit ---- */
#quit{position:fixed;inset:0;z-index:40;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:24px;text-align:center;background:radial-gradient(ellipse at 50% 40%,#1a1630,#07060d 70%);animation:fadeIn 0.7s var(--sleepy)}
#quit canvas{width:180px;height:150px}
#quit h2{margin:6px 0 0;font-size:30px;font-weight:650;letter-spacing:-.02em}
#quit p{max-width:340px;margin:0 0 18px;font-size:14px;line-height:1.5;color:var(--linen-3)}
#quit .primary{width:auto;padding:0 28px}

/* ---- pages: shop, inventory, blob pass, club ---- */
.page-head .seg{width:auto;min-width:0;--n:4}
.page-head .seg button{padding:0 16px;white-space:nowrap}
.page-card.wide{width:min(1200px,100%)}
.it-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap}
.it-head h2{margin:0;font-size:24px;font-weight:650;letter-spacing:-.02em}
.it-head p{margin:4px 0 0;font-size:13px;color:var(--linen-3)}
.it-kinds{margin:16px 0 10px}
.it-kinds .seg{max-width:560px;margin:0 auto}
.it-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:6px 0 10px}
.it-bar .search{flex:1;min-width:200px}
.it-rar{display:flex;flex-wrap:wrap;gap:6px}
.it-rar button{display:flex;align-items:center;gap:6px;height:30px;padding:0 11px;border-radius:999px;background:var(--fill);font-size:12.5px;font-weight:600;color:var(--linen-2);transition:background 0.23s var(--sleepy),color 0.23s var(--sleepy)}
.it-rar button b{font-weight:600;color:var(--linen-3);font-size:11.5px}
.it-rar button i{width:7px;height:7px;border-radius:50%;background:var(--c)}
.it-rar button[aria-pressed=true]{background:rgba(242,187,114,.16);color:var(--lamp)}
.it-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:2px 4px 10px;font-size:12px;color:var(--linen-3)}
.it-odds{font-size:11.5px;color:var(--linen-3)}
.it-grid{display:grid;grid-template-columns:repeat(var(--cols,6),minmax(0,1fr));gap:12px}
.it-page{display:contents}
.it{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 8px 10px;border-radius:20px;background:rgba(32,26,31,.42);border:1px solid var(--hair);text-align:center;transition:background .2s,border-color .2s,box-shadow 0.14s,transform .2s var(--ease);animation:fadeIn 0.25s var(--sleepy) both;min-width:0}@media (hover:hover){.it:hover{background:rgba(44,36,42,.6);transform:translateY(-2px)}}
.it canvas{display:block;width:100%;aspect-ratio:1/0.86}
.it .nm{max-width:100%;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.it .sub{display:flex;gap:6px;align-items:center;justify-content:center;font-size:11px;color:var(--linen-3)}
.it .badge{height:18px;padding:0 7px;border-radius:999px;font-size:10.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;display:inline-flex;align-items:center;color:#1a1218;background:var(--c)}
.it[data-r=epic]{border-color:rgba(180,123,255,.28);box-shadow:0 0 22px rgba(180,123,255,.12)}
.it[data-r=legendary]{border-color:rgba(242,187,74,.38);box-shadow:0 0 26px rgba(242,187,74,.16)}
.it[data-r=unreal]{border-color:rgba(255,158,192,.45);box-shadow:0 0 30px rgba(255,158,192,.2)}
.it[data-r=unreal] .badge{background:linear-gradient(90deg,#ffc3d6,#ffe3a3,#c9ffd9,#a8dcff,#d8b8ff);background-size:200% 100%}@media (hover:hover){.it:hover[data-r=unreal] .badge{animation:iri 4s linear infinite}}
@keyframes iri{to{background-position:200% 0}}
.it .own{position:absolute;top:8px;right:8px;display:flex;align-items:center;gap:3px;height:20px;padding:0 7px;border-radius:999px;background:rgba(127,209,139,.18);color:#bfeac6;font-size:10.5px;font-weight:700}
.it .own .i{width:12px;height:12px}
.it.word{justify-content:center;min-height:150px}
.it .word-art{flex:1;display:flex;align-items:center;justify-content:center;width:100%;min-height:86px;padding:8px 6px;border-radius:14px;background:radial-gradient(ellipse at 50% 40%,color-mix(in srgb,var(--c) 16%,transparent),transparent 72%)}
.it .word-art .ttl,.it .word-art .qc{display:inline;font-size:15px;line-height:1.3;overflow-wrap:anywhere}
.it.q .word-art .qb{position:relative;padding:9px 12px;border-radius:14px 14px 14px 4px;background:rgba(255,242,228,.06);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c) 35%,transparent)}
.it.locked .word-art{opacity:.75}
.it.on{box-shadow:0 0 0 2px var(--lamp),0 0 24px rgba(242,187,114,.3)}
.it .fav{position:absolute;top:6px;left:6px;width:28px;height:28px;border-radius:9px;display:flex;align-items:center;justify-content:center;color:var(--linen-3);transition:color 0.2s,background 0.2s}@media (hover:hover){.it .fav:hover{background:var(--fill)}}.it .fav .i{width:16px;height:16px}
.it .fav.on{color:var(--lamp)}.it .fav.on .i path{fill:currentColor}
/* animations only run while you hover a tile */
.it-grid .ttl.r-unreal,.it-grid .ttl.r-unreal::before,.it-grid .ttl.r-unreal::after{animation-play-state:paused}@media (hover:hover){.it-grid .it:hover .ttl.r-unreal,.it-grid .it:hover .ttl.r-unreal::before,.it-grid .it:hover .ttl.r-unreal::after{animation-play-state:running}}
.it-empty{grid-column:1/-1;padding:40px 14px;text-align:center;font-size:13.5px;color:var(--linen-3)}
.bx-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.bx{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 6px 12px;border-radius:20px;background:rgba(32,26,31,.42);border:1px solid var(--hair);transition:background 0.15s,transform 0.14s var(--ease);min-width:0}@media (hover:hover){.bx:hover{background:rgba(44,36,42,.6);transform:translateY(-2px)}}
.bx canvas{width:100%;aspect-ratio:3/4;display:block}
.bx b{font-size:13px;font-weight:650;white-space:nowrap}
.bx small{font-size:11px;color:var(--linen-3)}
.bx .cnt{position:absolute;top:8px;right:8px;min-width:24px;height:22px;padding:0 7px;border-radius:999px;background:rgba(242,187,114,.2);color:var(--lamp);font-size:11.5px;font-weight:750;line-height:22px;text-align:center}
.bx.none{opacity:.5}
.inv-deck{display:grid;grid-template-columns:200px minmax(0,1fr);gap:16px;align-items:center;padding:14px;border-radius:20px;background:rgba(255,242,228,.04)}
.inv-deck canvas{width:200px;height:172px;display:block}
.inv-deck b{font-size:16px;font-weight:650}
.inv-deck p{margin:4px 0 12px;font-size:13px;color:var(--linen-3);line-height:1.5}
.inv-acts{display:flex;gap:8px;flex-wrap:wrap}
.inv-acts .ghost{height:40px;padding:0 16px;font-size:13.5px}
.pass-hero{position:relative;padding:20px;border-radius:22px;background:linear-gradient(120deg,rgba(242,187,114,.16),rgba(180,123,255,.12) 60%,rgba(255,158,192,.12));box-shadow:inset 0 0 0 1px rgba(255,220,170,.14);overflow:hidden}
.pass-hero h2{margin:4px 0 4px;font-size:26px;font-weight:700;letter-spacing:-.02em}
.pass-hero p{margin:0;font-size:13px;color:var(--linen-2);max-width:520px;line-height:1.5}
.pass-hero small{font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:rgba(242,187,114,.85)}
.pass-xp{display:flex;align-items:center;gap:10px;margin-top:14px;font-size:12px;color:var(--linen-2)}
.pass-xp i{flex:1;max-width:360px;height:6px;border-radius:3px;background:rgba(255,242,228,.12);overflow:hidden}
.pass-xp i::after{content:"";display:block;width:2%;height:100%;background:var(--lamp)}
.pass-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px;margin-top:16px}
.pass-t{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:space-between;aspect-ratio:3/4;padding:8px 4px;border-radius:14px;background:rgba(255,242,228,.035);box-shadow:inset 0 0 0 1px rgba(255,238,220,.06);font-size:11px;color:var(--linen-3)}
.pass-t b{font-size:14px;font-weight:700;color:var(--linen-2)}
.pass-t .slot{width:60%;aspect-ratio:1;border-radius:10px;border:1.5px dashed rgba(255,242,228,.14)}
.pass-t.mile{background:rgba(242,187,114,.07);box-shadow:inset 0 0 0 1px rgba(242,187,114,.2)}
.pass-t.mile b{color:var(--lamp)}
.pass-t.now{box-shadow:inset 0 0 0 1.5px var(--lamp),0 0 18px rgba(242,187,114,.25)}
.club-form{display:grid;gap:12px;max-width:560px}
.club-form label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:650;letter-spacing:.04em;text-transform:uppercase;color:var(--linen-3)}
.club-form input,.club-form textarea{font:inherit;font-size:14.5px;text-transform:none;letter-spacing:0;color:var(--linen);background:rgba(0,0,0,.22);border:1px solid var(--hair);border-radius:13px;padding:11px 13px;outline:none;resize:none}
.club-form input:focus,.club-form textarea:focus{border-color:rgba(242,187,114,.45)}
.club-sw{display:flex;gap:8px;flex-wrap:wrap}
.club-sw button{width:34px;height:34px;border-radius:11px;background:var(--c);box-shadow:inset 0 0 0 2px rgba(0,0,0,.15);transition:transform 0.15s var(--spring),box-shadow 0.15s}
.club-sw button[aria-pressed=true]{box-shadow:0 0 0 2px #1d1418,0 0 0 4px var(--c);transform:scale(1.06)}
.club-em{display:flex;gap:8px}
.club-em button{width:44px;height:44px;border-radius:13px;background:var(--fill);display:flex;align-items:center;justify-content:center;font-size:20px;color:var(--linen-2)}
.club-em button[aria-pressed=true]{background:rgba(242,187,114,.18);color:var(--lamp)}
.club-card{display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:16px;padding:16px;border-radius:22px;background:linear-gradient(120deg,color-mix(in srgb,var(--c) 18%,transparent),rgba(255,242,228,.03));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c) 30%,transparent)}
.club-em-big{width:76px;height:76px;border-radius:22px;display:flex;align-items:center;justify-content:center;font-size:36px;color:#1d1418;background:var(--c);box-shadow:0 8px 24px color-mix(in srgb,var(--c) 30%,transparent)}
.club-card h2{margin:0;font-size:22px;font-weight:700}
.club-card p{margin:4px 0 0;font-size:13px;color:var(--linen-2)}
.club-card small{font-size:12px;color:var(--linen-3)}
@media (max-width:1100px){.it-grid{gap:10px}.pass-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (max-width:760px){
  #side{left:8px;right:8px;width:auto;top:calc(var(--top) + 46px);bottom:8px}
  .hm-kinds b{font-size:12px}
  .bx-row{grid-template-columns:repeat(3,minmax(0,1fr))}
  .inv-deck{grid-template-columns:1fr;justify-items:center;text-align:center}
  .inv-acts{justify-content:center}
  .comp-btns{grid-template-columns:1fr}
  .page-head .seg button{padding:0 8px}
}
body.bar-tight .qc-btn{position:fixed;right:12px;bottom:calc(var(--bottom) + 84px);width:46px;height:46px;margin:0;z-index:5}
body.bar-tight #qcPop{bottom:calc(var(--bottom) + 140px)}
body[data-scene=menu] .qc-btn{display:none}

#home::before{top:-60px;height:340px;background:radial-gradient(ellipse 70% 60% at 50% 0%,rgba(242,187,114,.13),rgba(242,187,114,0) 100%)}
.pv-deck canvas{display:block;width:100%;height:280px}

.brk-btn .bi{display:flex;font-style:normal}
@media (max-width:760px){
  .qc-btn{position:fixed;right:12px;bottom:calc(var(--bottom) + 80px);width:46px;height:46px;margin:0;z-index:5}
  #qcPop{bottom:calc(var(--bottom) + 136px);right:8px}
  .brk-btn{padding:0 10px}
}
@media (max-width:480px){body:not([data-scene=menu]) .brand{display:none}}

.th .btn{font-weight:650;font-size:14px;color:#1d1418;background:var(--lamp);border:0;border-radius:99px;padding:10px 20px;box-shadow:0 6px 18px -8px rgba(242,187,114,.8);transition:transform .15s var(--ease)}
.th .btn:active{transform:scale(.96)}.th .btn.ghost{background:var(--fill-2);color:var(--linen);box-shadow:none}
.rr-common{color:var(--c-common)}.rr-uncommon{color:var(--c-uncommon)}.rr-rare{color:var(--c-rare)}.rr-epic{color:var(--c-epic)}.rr-legendary{color:var(--c-legendary)}
.rr-unreal{background:linear-gradient(90deg,#ffb4a6,#ffe3c8,#e9b8ff,#b8f3e6,#ffd0e0,#ffb4a6);background-size:300% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:iriTh 4s linear infinite}
@keyframes iriTh{to{background-position:300% 0}}
.th{position:fixed;inset:0;z-index:100;display:none;overflow:hidden;background:rgba(10,8,16,.78);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.th.on{display:block}
.th canvas{position:absolute;inset:0;width:100%;height:100%}
.th-title{position:absolute;left:0;right:0;top:2.6vh;top:2.6dvh;display:flex;flex-direction:column;align-items:center;pointer-events:none}
.th-title span{display:block;font-weight:900;letter-spacing:.04em;line-height:1.02;white-space:nowrap;padding:0 .1em;opacity:0}
.th-title small{display:block;font-weight:750;letter-spacing:.42em;font-size:13px;color:var(--linen-2);margin-top:4px;opacity:0;text-indent:.42em}
.th-title.on span{animation:slam 0.28s cubic-bezier(.2,1.6,.4,1) forwards}.th-title.on small{animation:fadeup 0.25s 0.14s var(--ease) forwards}
@keyframes slam{0%{opacity:0;transform:scale(2.4)}60%{opacity:1}100%{opacity:1;transform:scale(1)}}
@keyframes fadeup{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.tt-common,.tt-uncommon,.tt-rare{font-size:clamp(30px,5vw,50px)}
.tt-common{color:#e4e7ee;text-shadow:0 4px 0 #5b606b}
.tt-uncommon{color:#bff5d0;text-shadow:0 4px 0 #1f6a3c,0 0 24px rgba(111,220,149,.5)}
.tt-rare{color:#d6e8ff;text-shadow:0 4px 0 #13398a,0 0 30px rgba(92,157,255,.7)}
.tt-epic,.tt-legendary,.tt-unreal{font-size:clamp(44px,8vw,92px)}
.tt-epic{background:linear-gradient(180deg,#fff 0%,#f0e0ff 35%,#b47bff 70%,#7a3be0 100%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 6px 0 #33136b) drop-shadow(0 0 30px rgba(180,123,255,.9))}
.tt-legendary{background:linear-gradient(100deg,#c88a16 0%,#ffd86e 20%,#fff6cf 26%,#ffd86e 32%,#e0a21b 60%,#fff2b0 80%,#c88a16 100%);background-size:250% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 6px 0 #6a4300) drop-shadow(0 0 36px rgba(255,201,77,.9))}
.th-title.on .tt-legendary{animation:slam .55s cubic-bezier(.2,1.6,.4,1) forwards,shinex 2.6s 0.6s linear infinite}
@keyframes shinex{from{background-position:120% 0}to{background-position:-130% 0}}
.tt-unreal{background:linear-gradient(90deg,#ffb4a6,#fff0e0,#e9b8ff,#b8f3e6,#ffe08a,#ffc0d6,#ffb4a6);background-size:300% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 6px 0 #6e3a42) drop-shadow(0 0 40px rgba(255,180,200,.95))}
.th-title.on .tt-unreal{animation:slam .7s cubic-bezier(.2,1.6,.4,1) forwards,iriTh 3s .7s linear infinite}
.th-info{position:absolute;left:0;right:0;bottom:2.6vh;bottom:2.6dvh;display:flex;flex-direction:column;align-items:center;gap:10px;opacity:0;transform:translateY(10px);transition:opacity 0.23s var(--ease),transform 0.23s var(--ease);pointer-events:none;padding:0 16px}
.th-info.on{opacity:1;transform:none;pointer-events:auto}
.th .res{text-align:center;padding:12px 22px;border-radius:22px;background:rgba(30,24,32,.72);border:1px solid var(--hair);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);max-width:min(560px,94vw)}
.th .res .k{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--linen-3);font-weight:700}
.th .res .nm{font-family:Baskerville,"Libre Baskerville","Baskerville Old Face","Palatino Linotype",Georgia,serif;font-size:23px;font-weight:780;letter-spacing:-.01em;line-height:1.2;margin:2px 0}
.th .res .rar{font-size:13px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.th .res .mt{font-size:12px;color:var(--linen-3);margin-top:2px;font-variant-numeric:tabular-nums}
.th-btns{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.th .btn.eq{background:var(--fill-2);color:var(--linen);box-shadow:inset 0 0 0 1.5px var(--tc,#f2bb72)}.th .btn.eq[aria-pressed=true]{background:var(--tc,#f2bb72);color:#1d1418}
.th-skip{position:absolute;right:16px;top:16px;z-index:2}
.bub{position:relative;background:#fffaf3;color:#2a2030;border-radius:18px 18px 18px 6px;padding:7px 14px 9px;max-width:min(380px,70vw);box-shadow:0 8px 24px -10px rgba(0,0,0,.6),0 0 0 2px var(--bc,#c3c8d2);margin-bottom:14px}
.bub::before{content:"";position:absolute;left:-7px;bottom:0;width:14px;height:14px;background:#fffaf3;clip-path:polygon(100% 0,100% 100%,0 100%);box-shadow:none}
.bub .who{font-size:11px;font-weight:750;color:#7a6f80;letter-spacing:.02em}.bub .who i{font-style:normal;font-size:10px;letter-spacing:.08em;text-transform:uppercase;margin-left:4px}
.bub .tx{font-size:16.5px;font-weight:650;line-height:1.25;letter-spacing:-.01em}
.th-info.on .bub{animation:bubpop 0.23s cubic-bezier(.2,1.5,.4,1) both}@keyframes bubpop{from{opacity:0;transform:translateY(8px) scale(.7)}to{opacity:1;transform:none}}
.bb-common{--bc:#c3c8d2}.bb-uncommon{--bc:#6fdc95}.bb-rare{--bc:#5c9dff}.bb-epic{--bc:#b47bff;box-shadow:0 8px 24px -10px rgba(0,0,0,.6),0 0 0 2px #b47bff,0 0 18px rgba(180,123,255,.6)}
.bb-legendary{--bc:#ffc94d;box-shadow:0 8px 24px -10px rgba(0,0,0,.6),0 0 0 2px #ffc94d,0 0 20px rgba(255,201,77,.6)}
.bb-unreal{background:linear-gradient(#fffaf3,#fffaf3) padding-box,linear-gradient(90deg,#ffb4a6,#ffe3c8,#e9b8ff,#b8f3e6,#ffd0e0,#ffb4a6) border-box;background-size:100% 100%,300% 100%;border:2.5px solid transparent;box-shadow:0 8px 24px -10px rgba(0,0,0,.6),0 0 22px rgba(255,180,200,.7);animation:iriTh 4s linear infinite}
.th-info.on .bb-unreal{animation:bubpop .45s cubic-bezier(.2,1.5,.4,1) both,iriTh 4s linear infinite}
#th_chest .res{text-align:left;width:min(640px,94vw)}
#th_chest .res .k{text-align:center}
#th_chest .res .hd{text-align:center;margin:2px 0 8px}
#th_chest .rows{display:flex;flex-direction:column;gap:6px}
#th_chest .rw{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:8px 12px;border-radius:14px;background:var(--fill);border:1px solid var(--hair)}
#th_chest .rw.best{border-color:var(--pc);box-shadow:0 0 0 2px color-mix(in srgb,var(--pc) 30%,transparent),0 0 24px -6px var(--pc)}
#th_chest .rw .ic{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:color-mix(in srgb,var(--pc) 22%,transparent);font-size:16px}
#th_chest .rw .tx{min-width:0}#th_chest .rw .nm2{font-weight:720;font-size:15px;line-height:1.25;overflow-wrap:anywhere}
#th_chest .rw .sm{font-size:11.5px;color:var(--linen-3);font-variant-numeric:tabular-nums}
#th_chest .rw .rk{font-size:11px;font-weight:850;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap}
#th_chest .th-auto{position:absolute;left:16px;top:16px;z-index:2}
:root{--c-common:#c3c8d2;--c-uncommon:#6fdc95;--c-rare:#5c9dff;--c-epic:#b47bff;--c-legendary:#f2c14e;--c-unreal:#ff9ec0}
.th .btn{font:inherit;font-weight:650;cursor:var(--cu-hand,pointer)}#again_deck,#thpull_deck,#again_title,#thpull_title,#again_chat,#thpull_chat,#again_chest,#thpull_chest,#auto_chest{display:none!important}
@media (max-width:560px){.th-title{top:58px}.th-title span{font-size:min(6.4vw,28px)!important}.th-title small{font-size:11px;letter-spacing:.32em}}
@media (prefers-reduced-motion:reduce){.th *{animation:none!important;transition:none!important}.th-title span,.th-title small{opacity:1!important}}
#replay_ward,#again_ward,#thpull_ward{display:none!important}
#th_ward .res .ds{font-size:13px;color:var(--linen-2);margin-top:4px;line-height:1.4}
#th_ward .res .slot{display:inline-block;font-size:11px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;padding:2px 9px;border-radius:99px;background:var(--fill-2);color:var(--linen);margin-left:8px;vertical-align:4px}
#th_ward .th-info{bottom:3vh;bottom:3dvh}
#th_ward .th-title{top:3vh;top:3dvh}
@media (max-height:700px){#th_ward .res .ds{display:none}}
/* ===================== round eight ===================== */
/* today's chests, furthest left in the top-right row */
.chest-row{display:flex;align-items:center;gap:2px;padding-right:4px;margin-right:2px;border-right:1px solid var(--hair)}
.chest-row:empty{display:none}
.cr{position:relative;width:40px;height:34px;border-radius:12px;display:flex;align-items:center;justify-content:center;transition:background 0.23s var(--sleepy),transform 0.3s var(--sleepy)}
.cr img{width:38px;height:28px;object-fit:contain;filter:grayscale(.75) brightness(.7);opacity:.75;transition:filter 0.4s var(--sleepy),opacity 0.4s var(--sleepy),transform 0.4s var(--sleepy)}
.cr i{position:absolute;left:7px;right:7px;bottom:3px;height:3px;border-radius:2px;background:rgba(255,242,228,.12);overflow:hidden}
.cr i::after{content:"";position:absolute;inset:0 auto 0 0;width:var(--p,0%);background:var(--lamp);border-radius:2px}@media (hover:hover){.cr:hover{background:var(--fill)}}
.cr.ready img{filter:none;opacity:1;animation:crBob 2.6s ease-in-out infinite}
.cr.ready i{display:none}
.cr.ready::before{content:"";position:absolute;inset:2px;border-radius:12px;background:radial-gradient(circle at 50% 60%,rgba(242,187,114,.35),transparent 70%);animation:crGlow 2.6s ease-in-out infinite}
.cr.done img{filter:grayscale(1) brightness(.5);opacity:.35}
.cr.done i{display:none}
.cr em{position:absolute;top:0;right:0;min-width:15px;height:15px;padding:0 3px;border-radius:8px;background:var(--lamp);color:#2b1d0e;font-size:9.5px;font-style:normal;font-weight:800;line-height:15px;text-align:center;box-shadow:0 0 0 2px rgba(32,26,31,.95)}
@keyframes crBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}
@keyframes crGlow{0%,100%{opacity:.5}50%{opacity:1}}
@media (max-width:760px){.cr{width:30px}.cr img{width:28px;height:22px}}
/* the openings feed in chat */
.msg.feed{margin:8px 6px;padding:9px 11px;border-radius:14px;background:linear-gradient(120deg,color-mix(in srgb,var(--c) 16%,rgba(255,242,228,.03)),rgba(255,242,228,.02));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c) 32%,transparent);animation:fadeUp 0.35s var(--sleepy)}
.msg.feed.fr-epic,.msg.feed.fr-legendary,.msg.feed.fr-unreal{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c) 55%,transparent),0 0 18px color-mix(in srgb,var(--c) 22%,transparent)}
.fd-h{font-size:12.5px;color:var(--linen-2)}
.fd-t{font-weight:750;color:var(--c)}
.fr-unreal .fd-t{background:linear-gradient(90deg,#ffb4a6,#fff0e0,#e9b8ff,#b8f3e6,#ffe08a);-webkit-background-clip:text;background-clip:text;color:transparent}
.fd-items{display:flex;flex-direction:column;gap:4px;margin-top:6px}
.fd-i{display:grid;grid-template-columns:16px minmax(0,1fr) auto;align-items:center;gap:6px;font-size:12px}
.fd-i .i{width:14px;height:14px;color:var(--c)}
.fd-i b{font-weight:650;color:var(--linen);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fd-i em{font-style:normal;font-size:10.5px;font-weight:700;color:var(--c);white-space:nowrap}
/* hold to fold / all in */
.act,#szGo{position:relative;overflow:hidden}
.hold-bar{position:absolute;left:0;right:0;bottom:0;height:100%;background:linear-gradient(90deg,rgba(255,255,255,.08),rgba(255,255,255,.2));transform:scaleX(0);transform-origin:0 50%;pointer-events:none}
.act.fold .hold-bar{background:linear-gradient(90deg,rgba(240,169,165,.14),rgba(240,169,165,.34))}
.holding{transform:scale(.985)}
.hold-tip{position:absolute;left:50%;top:-34px;transform:translate(-50%,6px);padding:5px 12px;border-radius:999px;background:rgba(40,32,38,.95);font-size:12.5px;font-weight:650;color:var(--linen);white-space:nowrap;opacity:0;pointer-events:none;transition:opacity 0.2s var(--sleepy),transform 0.25s var(--sleepy);z-index:5}
.hold-tip.on{opacity:1;transform:translate(-50%,0)}
#dock{position:relative}
/* items vs containers */
.it-sides{margin:16px 0 4px}.it-sides .seg{max-width:420px;margin:0 auto}
.it-kinds{margin:10px 0 10px}
.it.scroll-it canvas{aspect-ratio:1/1.3}
.it.slip-it canvas{aspect-ratio:2/1}
.it.slip-it .word-art{min-height:90px}
.it-grid.slips{--cols:3}
.it.scroll-it,.it.slip-it{transition:background 0.2s,border-color 0.2s,box-shadow 0.3s,transform 1.6s cubic-bezier(.4,0,.2,1)}@media (hover:hover){.it.scroll-it:hover,.it.slip-it:hover,.it:hover{transform:translateY(-3px);transition:background 0.14s,transform 0.45s cubic-bezier(.16,.84,.3,1)}}
.it.locked canvas{opacity:.82}
.cont-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.cont{--lift:0;position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;padding:10px 8px 12px;border-radius:22px;background:rgba(32,26,31,.42);border:1px solid var(--hair);text-align:center;cursor:var(--cu-hand,pointer);min-width:0;transform:translateY(calc(var(--lift) * -6px)) scale(calc(1 + var(--lift) * .03));box-shadow:0 calc(var(--lift) * 18px) calc(var(--lift) * 40px) rgba(5,3,10,.35)}
.cont canvas{width:100%;aspect-ratio:4/3;display:block}
.cont b{font-size:13px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.cont small{font-size:11px;color:var(--linen-3)}
.cont .cnt{position:absolute;top:8px;right:8px;min-width:24px;height:22px;padding:0 7px;border-radius:999px;background:rgba(242,187,114,.2);color:var(--lamp);font-size:11.5px;font-weight:750;line-height:22px}
.cont .mini{margin-top:6px}
.cont.none{opacity:.45}
.cont[data-kind=box] canvas{aspect-ratio:3/4}
.cont-row.inv .cont{padding-bottom:10px}
.wide-sheet{width:min(980px,96vw)!important}
.cc-grid{--cols:5}
.pv-art canvas{display:block;width:100%;height:260px}
.pv-art.tall canvas{height:min(56vh,460px);height:min(56dvh,460px)}
.pv-art.slip canvas{height:190px}
/* achievements */
.ach-ring{width:84px;height:84px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(closest-side,rgba(30,24,29,.98) 78%,transparent 80% 100%),conic-gradient(var(--lamp) var(--p),rgba(255,242,228,.1) 0)}
.ach-ring b{font-size:22px;font-weight:750;line-height:1}.ach-ring small{font-size:10.5px;color:var(--linen-3)}
.ach-grid{gap:10px}
.ach{position:relative;display:flex;flex-direction:column;gap:4px;padding:14px 14px 12px;border-radius:18px;background:rgba(255,242,228,.035);box-shadow:inset 0 0 0 1px rgba(255,238,220,.05);min-width:0;animation:fadeIn 0.25s var(--sleepy) both}
.ach.on{background:linear-gradient(140deg,rgba(242,187,114,.13),rgba(255,242,228,.03));box-shadow:inset 0 0 0 1px rgba(242,187,114,.3)}
.ach-ic{width:32px;height:32px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:rgba(255,242,228,.06);color:var(--linen-3)}
.ach.on .ach-ic{background:var(--lamp);color:#2b1d0e}
.ach-ic .i{width:17px;height:17px}
.ach b{font-size:14px;font-weight:650}
.ach small{font-size:12px;line-height:1.4;color:var(--linen-3)}
.ach em{font-style:normal;font-size:11px;font-weight:650;color:var(--linen-2);font-variant-numeric:tabular-nums}
.ach.on em{color:var(--lamp)}
.ach-bar{display:block;height:4px;border-radius:2px;background:rgba(255,242,228,.08);overflow:hidden;margin-top:2px}
.ach-bar i{display:block;height:100%;border-radius:2px;background:rgba(242,187,114,.7)}
.ach-cat{position:absolute;top:14px;right:12px;font-size:9.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--linen-3)}
/* escrow receipts */
.rcpts{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:12px}
.rcpt{position:relative;padding:14px 14px 10px;border-radius:6px;background:#f4ede1;color:#2a2228;font:12px/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;box-shadow:0 10px 30px rgba(5,3,10,.35);--zz:linear-gradient(-45deg,transparent 6px,#f4ede1 0),linear-gradient(45deg,transparent 6px,#f4ede1 0)}
.rcpt::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:6px;background:linear-gradient(-45deg,transparent 4px,#f4ede1 0) 0 0/8px 8px,linear-gradient(45deg,transparent 4px,#f4ede1 0) 0 0/8px 8px}
.rcpt header{display:flex;justify-content:space-between;align-items:center;padding-bottom:7px;margin-bottom:7px;border-bottom:1px dashed rgba(42,34,40,.35)}
.rcpt header b{font-size:11px;letter-spacing:.08em}
.rc-st{padding:1px 7px;border-radius:4px;background:#2f7d4a;color:#f4ede1;font-size:10px;font-weight:700;letter-spacing:.06em}
.rc-kv{display:grid;grid-template-columns:auto minmax(0,1fr);gap:1px 10px}
.rc-kv span{color:rgba(42,34,40,.6)}
.rc-kv code{font:inherit;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rc-sec{display:flex;justify-content:space-between;margin:8px 0 3px;padding-top:6px;border-top:1px dashed rgba(42,34,40,.3);font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.rc-sec em{font-style:normal}
.rc-ln{display:grid;grid-template-columns:minmax(0,1fr) auto auto 34px;gap:8px;align-items:center}
.rc-ln span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rc-ln em{font-style:normal;font-size:10px;font-weight:700;-webkit-text-fill-color:currentColor;filter:brightness(.6);background:none!important}
.rc-ln code{font:inherit;color:rgba(42,34,40,.55)}.rc-ln b{text-align:right;font-weight:600}
.rc-ln.none{color:rgba(42,34,40,.5)}
.rcpt footer{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-top:8px;padding-top:7px;border-top:1px dashed rgba(42,34,40,.35);font-size:10.5px;color:rgba(42,34,40,.7)}
.rcpt footer span{display:flex;gap:4px}
.rcpt .mini{height:24px;padding:0 9px;border-radius:6px;background:rgba(42,34,40,.1);color:#2a2228;font:600 11px var(--sans)}
.rcpt .mini.bad{color:#a2342b}
.tr-box{background:linear-gradient(180deg,rgba(255,242,228,.05),rgba(255,242,228,.02));border-radius:24px}
.tr-side{border-radius:18px!important}
/* the ladder's header */
.sd-extra{margin-top:10px}
.lad-hd{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;padding:8px 12px;border-radius:14px;background:rgba(242,187,114,.1);box-shadow:inset 0 0 0 1px rgba(242,187,114,.25)}
.lad-hd b{display:block;font-size:14px;font-weight:650}.lad-hd small{display:block;font-size:11.5px;color:var(--linen-3)}
.lad-you{display:none!important}
.dist-tog{margin-left:auto;gap:4px}.dist-tog button{height:24px;padding:0 9px;font-size:11px;text-transform:none;letter-spacing:0}
.sd-sec .dist-tog{flex:none}
.da-bars{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px;height:120px;align-items:end}
.da-g{display:flex;align-items:flex-end;gap:1px;height:100%}
.da-bar{flex:1;height:100%;display:flex;align-items:flex-end}
.da-bar i{display:block;width:100%;min-height:2px;border-radius:3px 3px 1px 1px;transition:height 1.6s var(--sleepy)}
.da-key{display:flex;justify-content:center;gap:12px;margin-top:8px;font-size:11px;color:var(--linen-2)}
.da-key i{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:5px}
@media (max-width:1100px){.cont-row{grid-template-columns:repeat(3,minmax(0,1fr))}.it-grid.slips{--cols:2}}
@media (max-width:760px){.cont-row{grid-template-columns:repeat(2,minmax(0,1fr))}.it-grid.slips{--cols:1}.cc-grid{--cols:2}}

/* ===== round nine ===== */
/* folding: your cards hand over quickly to the ones tumbling onto the felt */
#hand.folded .pcard.dealt{transition:transform 0.45s var(--sleepy),opacity .2s var(--sleepy)}
/* your cards: the one flying in hands over to the real card in the same spot, which then settles */
.pcard.pre{transition:none!important;opacity:0;transform:rotate(var(--r)) translateY(calc(var(--y) - 20px))}
.pcard.arrive{transition:transform 0.57s var(--sleepy),opacity 0s}
.pcard.tabled,.pcard.tabled.dealt{opacity:0!important;transition:none!important}
/* the customiser's stage: folds into a strip and stays folded until you pull it open (or tap it) */
#meDrawer.compact .me-stage{height:calc(88px + var(--pull,0px));cursor:var(--cu-hand,pointer)}
#meDrawer.pulling .me-stage{transition:height .12s linear}
.me-grip{left:50%;bottom:7px;width:30px;height:4px;margin-left:-15px;border-radius:2px;background:rgba(247,240,231,.2);opacity:0;pointer-events:none}
#meDrawer.compact .me-grip{opacity:1}@media (hover:hover){#meDrawer.compact .me-stage:hover .me-grip{background:rgba(247,240,231,.38)}}

/* ===== design pass ===== */
/* top bar on phones: everything fits, your avatar is always reachable. The name of the place makes way for
   the chests; the sound switch lives in Settings; at a table (where chests can't be opened) the chests step aside. */
.top-r{min-width:0}
.tools{flex:none}
@media (max-width:480px){
  .brand{display:none!important}
  #top{padding-left:12px;padding-right:10px}
  .top-r{gap:6px}
  #bMute{display:none}
  .tools button{min-width:32px;padding:0 7px}
  .cr{width:27px;border-radius:10px}.cr img{width:26px;height:20px}
  .cr i{left:5px;right:5px}
  body[data-scene=table] .chest-row{display:none}
}
@media (max-width:370px){.cr{width:24px}.cr img{width:23px;height:18px}}
/* chests that aren't ready yet read as chests, just resting, with their progress under them */
.cr img{filter:grayscale(.45) brightness(.82);opacity:.82}@media (hover:hover){.cr:hover img{filter:grayscale(.2) brightness(.95);opacity:.95}}
.cr.done img{filter:grayscale(1) brightness(.55);opacity:.32}
.cr.done::after{content:"";position:absolute;right:5px;bottom:4px;width:9px;height:5px;border-left:2px solid #9fe0a9;border-bottom:2px solid #9fe0a9;transform:rotate(-45deg);opacity:.9}

/* page tabs size to their words; on a phone they scroll sideways, the chosen one glides into view */
.seg.fit{display:flex;overflow-x:auto;scrollbar-width:none;scroll-behavior:smooth;overscroll-behavior-x:contain}
.seg.fit::-webkit-scrollbar{display:none}
.seg.fit .knob{width:auto;transition:transform 0.35s var(--sleepy),width 0.35s var(--sleepy)}
.seg.fit button{flex:1 0 auto;padding:0 16px;white-space:nowrap}
#pgTabs.solo{visibility:hidden}
@media (max-width:640px){
  .page-head .seg.fit{max-width:none;width:auto;min-width:0;justify-self:stretch;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 12px,#000 calc(100% - 12px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 12px,#000 calc(100% - 12px),transparent 100%)}
  .page-head .seg.fit button{padding:0 13px;font-size:12.5px}
}
/* a tab with a shorter name for phones */
.lab-s{display:none}
@media (max-width:520px){.lab-l{display:none}.lab-s{display:inline}}

/* the shop and inventory: the two rows of tabs line up as one block */
.it-sides .seg,.it-kinds .seg{width:min(520px,100%);max-width:none;margin:0 auto}

/* rows of filter chips: one tidy line that scrolls on a phone, instead of a wall of wrapped chips */
@media (max-width:640px){
  .it-rar,#achCats,.lb-modes{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-left:-14px;margin-right:-14px;padding:0 14px 2px;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 14px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 14px),transparent 100%)}
  .it-rar::-webkit-scrollbar,#achCats::-webkit-scrollbar,.lb-modes::-webkit-scrollbar{display:none}
  .it-rar button,#achCats button,.lb-modes button{flex:none}
}

/* inventory: the two shortcuts sit as one row of soft buttons */
.inv-acts .btn-soft{height:38px}
@media (max-width:640px){.inv-acts{width:100%}.inv-acts .btn-soft{flex:1;justify-content:center}}

/* trading: five promises, never a lonely last card */
@media (max-width:760px){.tr-rules>div:last-child:nth-child(odd){grid-column:1/-1}}

/* create a club: the form and a live preview of how it'll look */
.club-make{display:grid;grid-template-columns:minmax(0,560px) minmax(0,1fr);gap:28px;align-items:start;margin-top:18px}
.club-form{gap:16px}
.club-prev{position:sticky;top:0;display:flex;flex-direction:column;gap:12px}
.club-prev>small{font-size:12px;font-weight:650;letter-spacing:.04em;text-transform:uppercase;color:var(--linen-3)}
.club-card.prev{grid-template-columns:64px minmax(0,1fr);animation:none}
.club-card.prev .club-em-big{width:64px;height:64px;font-size:30px;border-radius:19px;transition:background 0.3s var(--sleepy)}
.club-card.prev h2{font-size:19px;overflow-wrap:anywhere}
.club-card.prev small{display:block;margin-top:6px}
.club-tagline{display:flex;align-items:center;gap:8px;padding:12px 14px;border-radius:16px;background:rgba(255,242,228,.04);font-size:13.5px}
.club-tagline span:first-child{flex:1;font-size:12px;color:var(--linen-3)}
.club-tagline .club-badge,.club-card.prev .club-badge{width:auto;min-width:22px;padding:0 6px}
.club-sw{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:8px;max-width:420px}
.club-sw button{width:100%;height:auto;aspect-ratio:1}
@media (max-width:760px){.club-make{grid-template-columns:1fr}.club-prev{position:static;order:-1}}

/* the customiser: once you're scrolling, the tabs stay put at the top so you can switch without scrolling back */
#meTabs{position:sticky;top:4px;z-index:3;background:#2a2328;box-shadow:0 0 0 8px #201a1f,0 14px 16px -6px rgba(14,9,14,.55)}
.pg-nav[hidden]{display:none}
/* while you size a bet on a phone, the quick chat button steps out of the way of the Raise button */
.qc-btn{transition:background 0.25s var(--sleepy),opacity 0.25s var(--sleepy),transform 0.25s var(--sleepy)}
body.bar-tight.sizing .qc-btn{opacity:0;pointer-events:none;transform:translateY(10px) scale(.92)}
@media (max-width:760px){body.sizing .qc-btn{opacity:0;pointer-events:none;transform:translateY(10px) scale(.92)}}

/* ===== round ten: online ===== */
/* the sign-in sheet */
.na-head{text-align:center;margin-bottom:14px}
.na-blob{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:18px;background:rgba(242,187,114,.14);color:var(--lamp);margin-bottom:10px}
.na-blob svg{width:26px;height:26px}
.na-head h2{margin:0}
.na-head .lead{margin:6px auto 0;max-width:340px}
.na-seg{margin:0 0 14px}
.na-form .group{margin:0}
.na-form .field input[type=password]{letter-spacing:.08em}
.na-msg{min-height:18px;margin:8px 4px 12px}
.na-msg.bad{color:var(--rose)}
.na-off{width:100%;margin-top:8px}

/* friends panel: add someone by username */
.sd-add{display:flex;align-items:center;gap:6px;margin:2px 0 6px;padding:5px 5px 5px 12px;border-radius:14px;background:rgba(0,0,0,.22);border:1px solid var(--hair);transition:border-color 0.2s var(--sleepy)}
.sd-add:focus-within{border-color:rgba(242,187,114,.45)}
.sd-add .at{color:var(--linen-3);font-size:14px}
.sd-add input{flex:1;min-width:0;height:30px;border:0;background:none;color:var(--linen);font:inherit;font-size:14px;outline:none}
.sd-add .mini{height:30px;padding:0 14px}
.sd-you{margin:0 2px 10px}
.sd-you b{color:var(--linen)}

/* the home menu: your party's table */
.hm-party{display:flex;align-items:center;gap:12px;margin:0 0 10px;padding:12px 12px 12px 14px;border-radius:18px;background:linear-gradient(120deg,rgba(242,187,114,.14),rgba(242,187,114,.04));box-shadow:inset 0 0 0 1px rgba(242,187,114,.22);animation:fadeUp 0.35s var(--sleepy)}
.hp-faces{display:flex;flex:none}
.hp-faces i{width:22px;height:22px;border-radius:50%;background:var(--c);box-shadow:0 0 0 2px #2a2228;margin-left:-6px}
.hp-faces i:first-child{margin-left:0}
.hp-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.hp-txt b{font-size:14px;font-weight:650}
.hp-txt small{font-size:12px;color:var(--linen-3);line-height:1.35}
.hp-go{flex:none;width:auto;height:36px;margin:0;padding:0 14px;font-size:13px}

/* your turn at a party table: a quiet thirty-second clock along the top of the dock */
.turn-clock{position:absolute;left:14px;right:14px;top:-1px;height:3px;border-radius:2px;overflow:hidden;background:rgba(255,242,228,.06);pointer-events:none}
.turn-clock i{position:absolute;inset:0;background:linear-gradient(90deg,var(--lamp),#f5cf96);transform-origin:0 50%}
.turn-clock.hidden{display:none}

/* the real Top 100 */
.lb-row.lb-me{box-shadow:inset 0 0 0 1px rgba(242,187,114,.4);background:rgba(242,187,114,.06)}
.lb-off .live-dot{margin-right:5px}
.fr-off{font-style:normal;font-size:12px;color:var(--linen-3)}
.i-net{display:inline-flex}

/* round twelve: a club's tag fits whatever its length, and sits a little apart from the name */
.club-card .club-badge,.sd-sec .club-badge{width:auto;min-width:22px;padding:0 6px;margin-left:4px;vertical-align:3px;letter-spacing:.04em}
.club-join{max-width:280px}
.club-join input{text-align:center;letter-spacing:.12em;font-weight:700}
.cl-mgr{display:flex;gap:6px;flex:none}
.cl-mgr .mini.bad{color:var(--rose)}

/* the blob pass: every tier shows what it gives; earned tiers get a tick; the next one glows */
.pass-xp i::after{width:var(--p,2%);border-radius:3px;transition:width 0.45s var(--sleepy)}
.pass-next{margin:10px 0 0!important;font-size:12px!important;color:var(--linen-3)!important}
.pass-t{appearance:none;border:0;font:inherit;cursor:var(--cu-hand,pointer);gap:2px;padding:8px 4px 7px;transition:transform 0.17s var(--sleepy),background 0.17s var(--sleepy)}@media (hover:hover){.pass-t:hover{transform:translateY(-2px);background:rgba(255,242,228,.06)}}
.pass-t:focus-visible{outline:2px solid var(--lamp);outline-offset:2px}
.pass-t img{width:84%;aspect-ratio:4/3;object-fit:contain;filter:saturate(.75) brightness(.85);transition:filter 0.17s var(--sleepy)}
.pass-t .ttl{font-size:10px;line-height:1.15;text-align:center;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pass-t.got img,.pass-t.now img{filter:none}
.pass-t.got{background:rgba(141,203,156,.07);box-shadow:inset 0 0 0 1px rgba(141,203,156,.22)}
.pass-t .pass-ok{position:absolute;top:6px;right:6px;display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#8dcb9c;color:#1d1418}
.pass-t .pass-ok svg{width:11px;height:11px}
.pass-t.mile .ttl{font-weight:700}
@media (max-width:640px){.pass-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.pass-t .ttl{font-size:9.5px}}

/* ===== round thirteen ===== */
/* hold to confirm: the button fills while you hold */
[data-hold]{position:relative;overflow:hidden;-webkit-user-select:none;user-select:none;touch-action:none}
.hold-bar2{position:absolute;inset:0;background:linear-gradient(90deg,rgba(242,187,114,.16),rgba(242,187,114,.42));transform:scaleX(0);transform-origin:0 50%;pointer-events:none;border-radius:inherit}
.bad .hold-bar2,.danger-btn .hold-bar2,.mini.bad .hold-bar2{background:linear-gradient(90deg,rgba(240,169,165,.16),rgba(240,169,165,.44))}
.holding2{transform:scale(.97);transition:transform 0.17s var(--sleepy)}
.hold-tip2{position:fixed;z-index:60;padding:6px 12px;border-radius:999px;background:rgba(36,29,34,.96);box-shadow:0 6px 18px rgba(0,0,0,.35),inset 0 0 0 1px rgba(255,238,220,.08);font-size:12.5px;font-weight:650;color:var(--linen);white-space:nowrap;pointer-events:none;opacity:0;transform:translateY(4px);transition:opacity 0.17s var(--sleepy),transform 0.23s var(--sleepy)}
.hold-tip2.on{opacity:1;transform:none}

/* notifications live in the bottom right corner, out of the way (above your cards at a table) */
#toasts{top:auto!important;left:auto!important;right:16px!important;bottom:18px;width:min(360px,calc(100vw - 32px));align-items:flex-end!important;padding:0!important;transition:bottom 0.47s var(--sleepy)!important}
body[data-scene=table] #toasts,body[data-scene=lobby] #toasts{bottom:150px}
#toasts .toast{max-width:100%}
@keyframes tIn13{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
#toasts .toast{animation:tIn13 0.4s var(--sleepy) both}
@media (max-width:640px){#toasts{right:10px!important;width:calc(100vw - 20px);bottom:12px}body[data-scene=table] #toasts{bottom:auto;top:calc(var(--top) + 52px)}}

/* the friends panel: the name, then the username, then where they are */
.prow .pn small.pn-u{color:var(--linen-3);font-size:11.5px}
.prow .pn small.pn-s{font-size:11px;color:var(--linen-3);opacity:.85}
.sd-empty{margin:18px 4px;text-align:center;font-size:12.5px;color:var(--linen-3)}

/* a page at a time */
.pg25{display:flex;align-items:center;justify-content:center;gap:10px;margin:10px 0 2px;font-size:12px;color:var(--linen-3);font-variant-numeric:tabular-nums}
.pg25 button{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:var(--fill);color:var(--linen-2);transition:background 0.2s var(--sleepy),opacity 0.2s}@media (hover:hover){.pg25 button:hover:not(:disabled){background:var(--fill-2)}}
.pg25 button:disabled{opacity:.3;cursor:var(--cu-arrow,default)}
.pg25 button svg{width:14px;height:14px}

/* the break vote: a small card in the top left corner */
#vote.v2{left:16px;top:calc(var(--top) + 56px);transform:none;width:min(300px,calc(100vw - 32px));padding:12px 13px 11px;border-radius:18px;background:rgba(32,26,31,.9);box-shadow:0 10px 30px rgba(0,0,0,.35),inset 0 0 0 1px rgba(255,238,220,.06)}
body.chat-open:not(.chat-min) #vote.v2{left:calc(var(--chat-w) + 32px)}
.vt2-head,.bk2-top{display:flex;align-items:center;gap:9px}
.vt2-ico{width:30px;height:30px;flex:none;border-radius:10px;display:grid;place-items:center;background:rgba(242,187,114,.14);color:var(--lamp)}
.vt2-ico svg{width:16px;height:16px}
.vt2-t{min-width:0;flex:1;display:flex;flex-direction:column}
.vt2-t b{font-size:13.5px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vt2-t small{font-size:11.5px;color:var(--linen-3)}
.vt2-blobs,.bk2-blobs{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 2px}
.vt2-b{position:relative;width:34px;height:34px;border-radius:12px;background:rgba(255,242,228,.05);transition:background 0.3s var(--sleepy),box-shadow 0.3s var(--sleepy),opacity 0.3s}
.vt2-b canvas,.bk2-b canvas{width:100%;height:100%;display:block}
.vt2-b.yes{background:rgba(127,209,139,.12);box-shadow:0 0 0 1.5px rgba(127,209,139,.7),0 0 14px rgba(127,209,139,.25)}
.vt2-b.no{opacity:.4}
.vt2-acts{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px}
.vt2-acts button{height:32px;border-radius:11px;font-size:13px;font-weight:650;background:var(--fill);transition:background 0.2s var(--sleepy)}@media (hover:hover){.vt2-acts button:hover{background:var(--fill-2)}}
.vt2-acts .yes{background:rgba(242,187,114,.2);color:var(--lamp)}
.vt2-res{margin-top:8px;font-size:12px;color:var(--linen-2)}
.vt2-bar{height:2px;margin-top:10px;border-radius:2px;background:rgba(255,242,228,.07);overflow:hidden}
.vt2-bar i{display:block;height:100%;background:var(--lamp);transform-origin:0 50%;animation:vtTime var(--t,15s) linear forwards}

/* the break itself: no dark screen, just a small card at the top */
#brk.v2{inset:auto;left:50%;top:calc(var(--top) + 56px);transform:translateX(-50%);background:none;display:block;animation:fadeIn 0.4s var(--sleepy);pointer-events:none}
#brk.v2 .brk-card{pointer-events:auto;width:min(340px,calc(100vw - 24px));padding:13px 14px 12px;border-radius:20px;text-align:left;background:rgba(32,26,31,.92);box-shadow:0 12px 34px rgba(0,0,0,.38),inset 0 0 0 1px rgba(255,238,220,.06)}
.bk2-clock{font-size:20px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--lamp);letter-spacing:-.02em}
.bk2-b{display:flex;flex-direction:column;align-items:center;gap:2px;width:52px}
.bk2-b canvas{width:44px;height:38px;border-radius:12px;transition:filter 0.45s var(--sleepy),opacity 0.45s var(--sleepy)}
.bk2-b small{font-size:10.5px;color:var(--linen-3);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bk2-b.away canvas{opacity:.7;filter:saturate(.7)}
.bk2-b.ready canvas{filter:drop-shadow(0 0 7px rgba(242,187,114,.75)) drop-shadow(0 0 2px rgba(255,220,170,.6))}
.bk2-b.ready small{color:var(--lamp)}
.bk2-ready{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:40px;margin-top:10px;border-radius:13px;font-weight:650;font-size:13.5px;background:rgba(242,187,114,.2);color:var(--lamp);transition:background 0.25s var(--sleepy),color 0.25s}@media (hover:hover){.bk2-ready:hover:not(:disabled){background:rgba(242,187,114,.28)}}
.bk2-ready canvas{width:30px;height:26px;flex:none}
.bk2-ready.done{background:rgba(127,209,139,.1);color:#bfeac6;cursor:var(--cu-arrow,default)}
.bk2-ready.done canvas{filter:drop-shadow(0 0 6px rgba(242,187,114,.7))}

/* at a table on a wide screen the chat bar is always there, so its top-right button isn't needed */
@media (min-width:900px) and (min-height:520px){body[data-scene=table] #bChat,body[data-scene=lobby] #bChat{display:none}}
#meMenu .menu-item.hidden{display:none}

/* the chat moves at one pace: the panel, the table behind it and the little counters on its faces */
.person .p-un,.person .p-dots{transition:opacity 0.47s var(--sleepy),transform 0.47s var(--sleepy)!important}
#chat{transition:transform 0.47s var(--sleepy),opacity 0.47s var(--sleepy),clip-path 0.47s var(--sleepy)!important}

/* a player's record on their card */
.pop-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:10px 0 2px;padding:8px 4px 7px;border-radius:14px;background:rgba(255,242,228,.045)}
.pop-stats span{display:flex;flex-direction:column;align-items:center;gap:1px;min-width:0}
.pop-stats b{font-size:14.5px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.pop-stats small{font-size:10px;color:var(--linen-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}

/* tournaments, coming soon */
.hm-row.soon{opacity:.78;cursor:var(--cu-arrow,default)}@media (hover:hover){.hm-row.soon:hover{opacity:.9}}
.soon-pill{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:999px;background:rgba(242,187,114,.16);color:var(--lamp);font-size:10.5px;font-weight:700;font-style:normal;letter-spacing:.02em;vertical-align:2px}

/* a table you can't take with your party */
.topt.locked{opacity:.5}
.topt.locked .topt-art{filter:grayscale(.6)}
.topt-why{position:absolute;right:12px;top:10px;padding:2px 8px;border-radius:999px;background:rgba(255,242,228,.08);font-size:10.5px;font-weight:650;color:var(--linen-2)}
.topt{position:relative}

/* escrow: the review fills smoothly */
.primary.review.rv2{position:relative;overflow:hidden;background:rgba(247,240,231,.45)}
.rv2 .rv-fill{position:absolute;inset:0;background:rgba(247,240,231,.92);transform-origin:0 50%;transform:scaleX(0)}
.rv2 .rv-t{position:relative}
@keyframes rvFill{to{transform:scaleX(1)}}
.rc-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px}
.rc-tools .search{flex:1 1 220px;min-width:0}
.rc-when{display:flex;flex-wrap:wrap;gap:6px}

/* the little choice under a chest */
.cpop{position:fixed;z-index:70;min-width:190px;padding:6px;border-radius:16px;background:rgba(36,29,34,.97);box-shadow:0 14px 34px rgba(0,0,0,.42),inset 0 0 0 1px rgba(255,238,220,.07);opacity:0;transform:translateY(-6px) scale(.98);transform-origin:50% 0;transition:opacity 0.23s var(--sleepy),transform 0.3s var(--sleepy)}
.cpop.on{opacity:1;transform:none}
.cpop-t{padding:6px 10px 6px;font-size:11.5px;font-weight:650;color:var(--linen-3)}
.cpop-b{display:flex;align-items:center;gap:9px;width:100%;height:38px;padding:0 12px;border-radius:11px;font-size:13.5px;font-weight:650;color:var(--linen);text-align:left;transition:background 0.2s var(--sleepy)}.cpop-b:focus-visible{background:var(--fill)}@media (hover:hover){.cpop-b:hover{background:var(--fill)}}
.cpop-b.first{background:rgba(242,187,114,.16);color:var(--lamp)}@media (hover:hover){.cpop-b.first:hover{background:rgba(242,187,114,.24)}}
.cpop-b svg{width:16px;height:16px;flex:none}

/* what came out of a container, in the chat, with pictures */
.fd-h .fd-cont{width:30px;height:22px;object-fit:contain;vertical-align:-6px;margin-right:6px}
.fd-i .fd-img{width:30px;height:30px;object-fit:contain;flex:none}

/* quick chats: a box that never changes size, slides side to side */
#qcPop{height:min(468px,calc(100vh - 170px));height:min(468px,calc(100dvh - 170px));max-height:none}
#qcPop .qc-list{display:flex;flex:1;min-height:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-mask-image:none;mask-image:none;overscroll-behavior:contain}
.qc-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;display:grid;grid-template-rows:repeat(6,minmax(0,1fr));gap:5px;padding:1px}
.qc-slide .qrow{margin:0;min-height:0;animation:none}
.qc-slide .qrow .qt{min-width:0;overflow:hidden}
.qc-slide .qrow .qt .qc{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#qcPop .qc-list>.empty-row{flex:1;align-self:center;text-align:center}
.qc-dots{display:flex;justify-content:center;align-items:center;gap:5px;height:16px;margin-top:6px}
.qc-dots:empty{display:none}
.qc-dots i{width:5px;height:5px;border-radius:50%;background:rgba(255,242,228,.18);transition:background 0.3s var(--sleepy),transform 0.3s var(--sleepy)}
.qc-dots i.on{background:var(--lamp);transform:scale(1.3)}
.qc-dots span{font-size:11px;color:var(--linen-3);font-variant-numeric:tabular-nums}
.tr-people{display:grid!important;gap:8px}
.tr-people .tr-p{min-width:0}
.tr-people .tr-p span{min-width:0;overflow:hidden}
.tr-people .tr-p b,.tr-people .tr-p small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pop-stats{grid-template-columns:1.45fr 1fr 1fr 1fr}

/* ---------- things to wear ---------- */
#meTabs{--n:6!important}
#meTabs button{font-size:12px!important;padding:0 2px}
.mo-worn-row{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.mo-worn{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 7px 0 11px;border-radius:999px;background:var(--fill);font-size:12px;font-weight:650;color:var(--linen-2);max-width:100%;transition:background 0.25s var(--sleepy)}@media (hover:hover){.mo-worn:hover{background:var(--fill-2)}}
.mo-worn span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:170px}
.mo-worn svg{width:12px;height:12px;opacity:.65;flex:none}
.mo-slots{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 10px}
.mo-slots button{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 11px;border-radius:999px;background:var(--fill);font-size:12.5px;font-weight:650;color:var(--linen-2);transition:background 0.25s var(--sleepy),color 0.25s var(--sleepy)}
.mo-slots button em{font-style:normal;font-size:11px;color:var(--linen-3);font-variant-numeric:tabular-nums}
.mo-slots button[aria-selected=true]{background:rgba(242,187,114,.16);color:var(--lamp)}
.mo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.mo-it{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;padding:6px 5px 8px;border-radius:15px;background:rgba(255,242,228,.045);box-shadow:inset 0 0 0 1px transparent;transition:background 0.28s var(--sleepy),box-shadow 0.28s var(--sleepy),transform 0.35s var(--sleepy)}@media (hover:hover){.mo-it:hover{background:rgba(255,242,228,.08);transform:translateY(-2px)}}
.mo-it.on{box-shadow:inset 0 0 0 1.5px var(--lamp),0 0 18px rgba(242,187,114,.18);background:rgba(242,187,114,.09)}
.mo-it canvas{width:100%;aspect-ratio:1/1;display:block}
.mo-nm{font-size:11.5px;font-weight:650;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mo-r{font-size:10px;font-weight:700;letter-spacing:.02em}
.mo-empty{grid-column:1/-1}
.cos-it .cos-on{color:var(--lamp)}

/* ---------- the table ---------- */
/* the move clock: the dock's bottom edge, draining left to right */
#dockTimer{position:absolute;left:18px;right:18px;bottom:-1px;height:2px;border-radius:2px;background:linear-gradient(90deg,#ef9c4c,#f8c47e);box-shadow:0 0 8px rgba(242,160,80,.85),0 0 18px rgba(242,160,80,.4);transform-origin:100% 50%;transform:scaleX(1);opacity:0;pointer-events:none;transition:opacity 0.4s var(--sleepy)}
#dockTimer.on{opacity:1}
#dockTimer.low{background:linear-gradient(90deg,#ee7a4a,#f6a170);box-shadow:0 0 9px rgba(238,122,74,.9),0 0 20px rgba(238,122,74,.45)}
.turn-clock{display:none!important}
/* the chat faces: typing dots sit low (they used to be cut off at the top), club tags, the party line */
.person .p-dots{top:auto!important;bottom:-5px;z-index:2}
.p-club{position:absolute;left:-6px;top:-4px;z-index:2;height:11px;padding:0 3px;border-radius:4px;background:var(--cc,#55464f);color:#fff;font-size:7.5px;font-weight:800;line-height:11px;letter-spacing:.04em;box-shadow:0 0 0 1.5px rgba(32,26,31,.95);pointer-events:none}
.p-line{position:absolute;height:1.5px;border-radius:1px;background:linear-gradient(90deg,rgba(242,187,114,.35),rgba(242,187,114,.75),rgba(242,187,114,.35));box-shadow:0 0 6px rgba(242,187,114,.35);pointer-events:none;transition:left 0.45s var(--sleepy),width 0.45s var(--sleepy)}
/* the deck vote, in the lobby bar */
.lb-deck{display:flex;align-items:center;gap:6px;min-width:0;overflow:hidden;font-size:11.5px;color:var(--linen-3)}
.lb-deck small{font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--linen-3);flex:none}
.lb-deck .dv{display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 8px;border-radius:999px;background:var(--fill);max-width:150px;animation:fadeIn 0.4s var(--sleepy) both}
.lb-deck .dv b{font-weight:650;color:var(--linen-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lb-deck .dv em{font-style:normal;color:var(--lamp);font-variant-numeric:tabular-nums}
@media (max-width:640px){.lb-deck{display:none}}

/* ---------- the main menu: everything in view, Play on a page of its own ---------- */
#home:not(.playing) .hm-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#home:not(.playing) .hm-menu>.hm-play{grid-column:1/-1}
#home:not(.playing) .hm-menu>.hm-row{grid-template-columns:34px minmax(0,1fr);column-gap:10px;padding:10px;min-height:64px;align-items:center}
#home:not(.playing) .hm-menu>.hm-row .mi{width:34px;height:34px;border-radius:11px}
#home:not(.playing) .hm-menu>.hm-row .mi .i{width:17px;height:17px}
#home:not(.playing) .hm-menu>.hm-row .chev{display:none}
#home:not(.playing) .hm-menu>.hm-row .hm-t b{font-size:14px}
#home:not(.playing) .hm-menu>.hm-row .hm-t small{font-size:11px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.3}
#home:not(.playing) .hm-menu>.hm-row.quit{margin-top:0}
#home:not(.playing) .hm-menu>.hm-row.soon .hm-t b{display:flex;align-items:center;flex-wrap:wrap;gap:4px}
#home:not(.playing) .hm-menu>.hm-row.soon .soon-pill{margin-left:0}
#home:not(.playing) .hm-play .hm-sub{display:none}
#home:not(.playing) .hm-head{margin-bottom:2px}
/* Play: the menu steps aside and the tables fill the panel */
#home.playing .hm-head,#home.playing .hm-you,#home.playing .hm-menu>:not(.hm-play),#home.playing .home-legal{display:none}
#home.playing .hm-menu{margin-top:0}
#home.playing .hm-play{animation:fadeIn 0.4s var(--sleepy) both}
#home.playing #hmPlayBtn .chev{transform:rotate(90deg)!important}
#home.playing #hmPlayBtn{background:rgba(255,242,228,.05);box-shadow:inset 0 0 0 1px rgba(255,238,220,.06)}
#home.playing #hmPlayBtn .mi{background:rgba(242,187,114,.18);color:var(--lamp)}

/* ---------- the blob menu: everything still sealed ---------- */
.menu-inv{display:flex;flex-direction:column;gap:2px;padding:0 4px 4px}
.mi-open,.pi-open{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;height:36px;padding:0 8px;border-radius:11px;text-align:left;font-size:12.5px;font-weight:600;color:var(--linen-2);transition:background 0.23s var(--sleepy),opacity 0.23s}@media (hover:hover){.mi-open:hover:not(:disabled),.pi-open:hover:not(:disabled){background:var(--fill)}}
.mi-open img,.pi-open img{width:30px;height:23px;object-fit:contain}
.mi-open span,.pi-open span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mi-open em,.pi-open em{font-style:normal;min-width:22px;height:18px;padding:0 6px;border-radius:9px;background:rgba(242,187,114,.18);color:var(--lamp);font-size:11px;font-weight:750;line-height:18px;text-align:center;font-variant-numeric:tabular-nums}
.mi-open.none,.pi-open.none{opacity:.38;cursor:var(--cu-arrow,default)}
.mi-open.none em,.pi-open.none em{background:var(--fill);color:var(--linen-3)}
.pop-inv{display:flex;flex-direction:column;gap:2px;margin:0 0 6px;padding:4px;border-radius:14px;background:rgba(255,242,228,.035)}
.pop-inv-none{margin:6px 8px;font-size:12px;color:var(--linen-3)}
/* a sheet's grid filling in */
.cc-spin{grid-column:1/-1;justify-self:center;width:26px;height:26px;margin:40px auto;border-radius:50%;border:2.5px solid rgba(242,187,114,.2);border-top-color:var(--lamp);animation:ccSpin 1s linear infinite}
@keyframes ccSpin{to{transform:rotate(360deg)}}
.cc-tabs{margin:4px 0 10px}
/* your own two cards look like every other card on the felt */
.pcard .face{background:#f3eee6;color:#34313d;border-radius:8px;box-shadow:inset 0 0 0 1px rgba(80,58,44,.16),0 10px 24px rgba(8,4,12,.36),0 2px 5px rgba(8,4,12,.24)}
.pcard .back{border-radius:8px;overflow:hidden}
.pcard .red{color:#c85a61}
.pcard.win .face{box-shadow:inset 0 0 0 1px rgba(80,58,44,.16),0 0 0 2px var(--lamp),0 0 26px rgba(242,187,114,.45),0 10px 24px rgba(8,4,12,.36)}

/* ==================== round fourteen ==================== */
/* socials: add friend, sorting, rows you tap */
.sd-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:2px 0 8px}
.sd-addbtn{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 13px}
.sd-addbtn svg{width:13px;height:13px}
.sd-sort{display:flex;gap:4px}
.sd-sort button{height:28px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:650;background:var(--fill);color:var(--linen-3);transition:background 0.25s var(--sleepy),color 0.25s var(--sleepy)}
.sd-sort button[aria-pressed=true]{background:rgba(242,187,114,.16);color:var(--lamp)}
.sd-addwrap{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows 0.4s var(--sleepy),opacity 0.35s var(--sleepy),margin 0.4s var(--sleepy)}
.sd-addwrap>*{min-height:0;overflow:hidden}
.sd-addwrap{gap:0}
.sd-addwrap.open{grid-template-rows:auto;opacity:1;margin-bottom:8px}
.sd-addwrap:not(.open) .sd-you{display:none}
.prow.tap{cursor:var(--cu-hand,pointer);border-radius:13px;transition:background 0.25s var(--sleepy)}.prow.tap:focus-visible{background:rgba(255,242,228,.05)}@media (hover:hover){.prow.tap:hover{background:rgba(255,242,228,.05)}}
.cpop-b.bad{color:#f0b3ae}@media (hover:hover){.cpop-b.bad:hover{background:rgba(240,169,165,.1)}}
.cpop{max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);overflow:auto}

/* ===== round fourteen: polish ===== */
/* toasts drift away, never snap */
.toast.out{animation:tOut14 0.5s var(--sleepy) both;pointer-events:none}
@keyframes tOut14{from{opacity:1}to{opacity:0;transform:translateY(-8px) scale(.985);filter:blur(2px)}}
/* the chat box: its glow breathes in and out */
.composer{transition:border-color 0.6s var(--sleepy),background-color 0.6s var(--sleepy),box-shadow 0.6s var(--sleepy)!important}
/* chat lines arrive like a feather landing */
.msg{animation:msgFeather 0.62s cubic-bezier(.2,.75,.25,1) both}
.msg.mv{animation-duration:0.7s}
.msg.feed{animation:msgFeather 0.75s cubic-bezier(.2,.75,.25,1) both}
@keyframes msgFeather{0%{opacity:0;transform:translateY(12px) scale(.985);filter:blur(3px)}55%{filter:blur(0)}100%{opacity:1;transform:none;filter:none}}
/* what someone opened: bigger pictures, each in its rarity's colour */
.msg.feed{padding:10px 10px 10px 11px}
.fd-h{display:flex;align-items:center;gap:8px;font-size:12.5px;line-height:1.35;color:var(--linen-2)}
.fd-h .fd-cont{width:34px;height:28px;margin:0;vertical-align:0;flex:none}
.fd-items{gap:6px;margin-top:8px}
.fd-i{grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;row-gap:1px;padding:6px 9px 6px 6px;border-radius:12px;background:color-mix(in srgb,var(--c) 11%,rgba(255,242,228,.025));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c) 22%,transparent)}
.fd-i .fd-img{grid-row:1/3;width:42px;height:42px;border-radius:9px;background:rgba(14,10,14,.28)}
.fd-i b{grid-column:2;align-self:end;font-size:12.5px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.fd-i em{grid-column:2;align-self:start;font-size:10.5px;letter-spacing:.02em}
/* the mute button on the chat's own bar */
.chat-hush{flex:none;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--linen-3);margin-left:auto;transition:background 0.3s var(--sleepy),color 0.3s var(--sleepy)}
.chat-hush svg{width:17px;height:17px}@media (hover:hover){.chat-hush:hover{background:var(--fill);color:var(--linen)}}
.chat-hush.on{color:#f2bb72}
body:not(.chat-open) .chat-hush,#chat.min .chat-hush{display:none}
/* chat muted: a slim line, the moves stay in view */
.chat-off{margin:2px 10px 8px;padding:5px 5px 5px 13px;border-radius:999px;font-size:11.5px;line-height:1.2;gap:8px;background:rgba(255,242,228,.045)}
.chat-off button{height:26px;padding:0 11px;font-size:11.5px}
/* tiles are all tappable: no stop-sign cursor anywhere */
.it,.it.locked,.cardTile.locked,.map-opt.locked{cursor:var(--cu-hand,pointer)}
/* sealed: Open sits at the top of what's inside */
.cc-open{display:flex;align-items:center;gap:10px;width:100%;margin:2px 0 14px;padding:12px 16px;border-radius:16px;background:linear-gradient(135deg,#f6c97a,#ee9e52);color:#2b1a12;font-weight:750;font-size:14.5px;box-shadow:0 10px 26px -12px rgba(238,158,82,.75),inset 0 1px 0 rgba(255,255,255,.35);transition:transform 0.25s var(--sleepy),box-shadow 0.25s var(--sleepy)}
.cc-open svg{width:19px;height:19px}
.cc-open em{margin-left:auto;font-style:normal;font-size:12px;font-weight:650;opacity:.72}@media (hover:hover){.cc-open:hover{transform:translateY(-1px);box-shadow:0 14px 30px -12px rgba(238,158,82,.9),inset 0 1px 0 rgba(255,255,255,.35)}}
/* openings: the corner says a click anywhere skips */
.th .th-skip{background:none!important;border:0!important;box-shadow:none!important;color:rgba(247,240,231,.42)!important;font-size:12px!important;font-weight:550;pointer-events:none;letter-spacing:.02em;animation:skipHint 2.6s var(--sleepy) infinite alternate}
@keyframes skipHint{from{opacity:.55}to{opacity:1}}
.th.on{cursor:var(--cu-hand,pointer)}
/* opening on your own turn: the dock floats above, the opening sits above it */
body.th-turn #bar{z-index:103}
body.th-turn .th.on{bottom:var(--dockClip,0px)}
body.th-turn .th.on .th-info{bottom:1.4vh;bottom:1.4dvh}
/* the turn clock hugs the dock's bottom corners and climbs a little way up each side */
#dockTimer{left:0!important;right:0!important;bottom:0!important;height:30px!important;background:none!important;border:2px solid #f2a050;border-top:0;border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;box-shadow:none!important;transform:none!important;filter:drop-shadow(0 0 5px rgba(242,160,80,.85)) drop-shadow(0 0 12px rgba(242,160,80,.35));
  -webkit-mask-image:linear-gradient(to top,#000 35%,transparent 100%),linear-gradient(90deg,transparent var(--gone,0%),#000 calc(var(--gone,0%) + .6%));-webkit-mask-composite:source-in;mask-image:linear-gradient(to top,#000 35%,transparent 100%),linear-gradient(90deg,transparent var(--gone,0%),#000 calc(var(--gone,0%) + .6%));mask-composite:intersect}
#dockTimer.low{background:none!important;border-color:#ee7a4a;filter:drop-shadow(0 0 6px rgba(238,122,74,.9)) drop-shadow(0 0 14px rgba(238,122,74,.4))}
/* the volume window */
.mixpop{position:fixed;z-index:60;width:272px;padding:12px 14px 10px;border-radius:20px;background:rgba(34,28,33,.94);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 18px 40px -16px rgba(0,0,0,.7),inset 0 0 0 1px var(--hair);opacity:0;transform:translateY(-6px) scale(.97);transform-origin:top right;transition:opacity 0.23s var(--sleepy),transform 0.23s var(--sleepy)}
.mixpop.on{opacity:1;transform:none}
.mx-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.mx-h b{font-size:13.5px;font-weight:700;color:var(--linen)}
.mx-row{display:grid;grid-template-columns:96px minmax(0,1fr) 28px;align-items:center;gap:8px;padding:5px 0;font-size:12px;color:var(--linen-2)}
.mx-row output{text-align:right;font-variant-numeric:tabular-nums;color:var(--linen-3);font-size:11.5px}

/* ===== round fourteen: systems ===== */
/* the loading screen */
#bootScreen{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;background:radial-gradient(120% 90% at 50% 40%,#2b2027 0%,#17121a 60%,#0e0b11 100%);transition:opacity 0.55s var(--sleepy,cubic-bezier(.3,.7,.2,1)),visibility 0.55s}
#bootScreen.out{opacity:0;visibility:hidden;pointer-events:none}
.bs-in{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;animation:bsIn 0.6s cubic-bezier(.3,.7,.2,1) both}
@keyframes bsIn{from{opacity:0;transform:translateY(10px)}}
.bs-glow{position:absolute;top:-30px;left:50%;width:260px;height:200px;margin-left:-130px;border-radius:50%;background:radial-gradient(closest-side,rgba(242,187,114,.28),transparent);filter:blur(6px);animation:bsGlow 3.2s ease-in-out infinite alternate}
@keyframes bsGlow{to{opacity:.55;transform:scale(1.08)}}
.bs-blob{position:relative;width:120px;height:100px;animation:bsBob 2.6s ease-in-out infinite}
@keyframes bsBob{50%{transform:translateY(-5px) scaleY(1.02)}}
#bootScreen h1{position:relative;margin:4px 0 0;font:700 clamp(30px,6vw,44px)/1.1 var(--serif,Georgia,serif);letter-spacing:.01em;color:#f7f0e7;text-shadow:0 2px 20px rgba(242,187,114,.25)}
#bootScreen small{position:relative;font:500 13px/1.4 var(--sans,system-ui);color:rgba(247,240,231,.55)}
.bs-bar{position:relative;width:180px;height:3px;margin-top:10px;border-radius:3px;background:rgba(255,242,228,.08);overflow:hidden}
.bs-bar i{position:absolute;inset:0;background:linear-gradient(90deg,#ef9c4c,#f8c47e);transform-origin:0 50%;transform:scaleX(0);transition:transform 0.17s ease-out;box-shadow:0 0 10px rgba(242,160,80,.7)}
/* level badges: room for seven digits */
.lv-badge{display:inline-flex;align-items:baseline;gap:3px;height:20px;padding:0 7px;border-radius:999px;background:linear-gradient(135deg,rgba(246,201,122,.22),rgba(238,158,82,.14));box-shadow:inset 0 0 0 1px rgba(246,201,122,.45);color:#f6c97a;font-variant-numeric:tabular-nums;white-space:nowrap;line-height:20px;vertical-align:middle}
.lv-badge small{font-size:8.5px;font-weight:800;letter-spacing:.08em;opacity:.8}
.lv-badge b{font-size:12px;font-weight:800}
.lv-badge.d5 b,.lv-badge.d6 b{font-size:11px}.lv-badge.d7 b{font-size:10px}
.hm-lv{flex:none;display:inline-flex}
.hm-nm{display:flex;align-items:center;gap:7px;min-width:0}.hm-nm b{min-width:0;overflow:hidden;text-overflow:ellipsis}
.lv-toast{display:flex;align-items:center;gap:10px}.lv-toast>span:last-child{display:flex;flex-direction:column}
.hx-toast{display:flex;align-items:center;gap:10px}.hx-toast i{flex:none;width:26px;height:26px;border-radius:50%;background:var(--c);box-shadow:inset 0 -4px 6px rgba(0,0,0,.2),inset 0 3px 5px rgba(255,255,255,.25),0 0 0 2px rgba(255,255,255,.12)}.hx-toast>span{display:flex;flex-direction:column}
/* rare colours in Customise */
.hex-sw{max-height:168px;overflow-y:auto}
.hex-sw .sw.hx{box-shadow:inset 0 -5px 8px rgba(0,0,0,.18),inset 0 4px 6px rgba(255,255,255,.22),0 0 0 1.5px rgba(246,201,122,.5)}
.hx-none{grid-column:1/-1;margin:0;font-size:12px;color:var(--linen-3)}
/* the Blob Pass */
.bp-top{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:14px}
@media (max-width:860px){.bp-top{grid-template-columns:1fr}}
.bp-hero{padding:18px 20px;border-radius:22px;background:linear-gradient(135deg,rgba(242,187,114,.12),rgba(255,242,228,.03));box-shadow:inset 0 0 0 1px rgba(242,187,114,.18)}
.bp-h small{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#f6c97a}
.bp-h h2{margin:2px 0 4px;font-size:26px}
.bp-h p{margin:0;font-size:13px;color:var(--linen-2)}
.bp-bar,.bp-lvl{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;margin-top:14px;font-size:12px;color:var(--linen-2);font-variant-numeric:tabular-nums}
.bp-bar i,.bp-lvl i{position:relative;height:10px;border-radius:10px;background:rgba(255,242,228,.07);overflow:hidden}
.bp-bar i::after,.bp-lvl i::after{content:"";position:absolute;inset:0;width:var(--p);border-radius:inherit;background:linear-gradient(90deg,#ef9c4c,#f8c47e);box-shadow:0 0 12px rgba(242,160,80,.55)}
.bp-lvl{grid-template-columns:auto auto minmax(0,1fr) auto;margin-top:10px}
.bp-lvl i{height:6px}.bp-lvl i::after{background:linear-gradient(90deg,#c9a3ff,#f6c97a)}
.bp-tn{display:grid;place-items:center;min-width:30px;height:30px;padding:0 6px;border-radius:50%;background:#f6c97a;color:#2b1a12;font-weight:800;font-size:13px}
.bp-buy{position:relative;display:flex;align-items:center;gap:14px;padding:18px;border-radius:22px;background:linear-gradient(135deg,#3a2a1c,#2a1f18);box-shadow:inset 0 0 0 1.5px rgba(246,201,122,.55),0 18px 40px -22px rgba(238,158,82,.6);overflow:hidden}
.bp-buy::before{content:"";position:absolute;inset:-40% -10% auto auto;width:220px;height:220px;border-radius:50%;background:radial-gradient(closest-side,rgba(246,201,122,.22),transparent)}
.bp-buy>div{position:relative;flex:1;min-width:0}
.bp-buy b{font-size:16px;color:#f6c97a}
.bp-buy ul{margin:6px 0 0;padding:0 0 0 16px;font-size:12.5px;line-height:1.55;color:var(--linen-2)}
.bp-buy small{display:block;margin-top:3px;font-size:12px;color:var(--linen-2)}
.bp-crown{position:relative;flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#f6c97a,#ee9e52);color:#3a2414}
.bp-crown svg{width:24px;height:24px}
.bp-get{position:relative;flex:none;display:flex;flex-direction:column;align-items:center;gap:1px;padding:10px 16px;border-radius:16px;background:linear-gradient(135deg,#f6c97a,#ee9e52);color:#2b1a12;box-shadow:0 10px 24px -10px rgba(238,158,82,.8),inset 0 1px 0 rgba(255,255,255,.4);animation:bpGlow 2.8s var(--sleepy) infinite alternate;transition:transform 0.25s var(--sleepy)}
.bp-get b{font-size:18px;font-weight:800;color:#2b1a12}.bp-get small{margin:0;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#4a2e18}@media (hover:hover){.bp-get:hover{transform:translateY(-2px)}}
@keyframes bpGlow{to{box-shadow:0 12px 30px -8px rgba(246,190,100,.95),inset 0 1px 0 rgba(255,255,255,.4)}}
.bp-buy.owned{box-shadow:inset 0 0 0 1.5px rgba(246,201,122,.35)}
.bp-wrap{position:relative;display:flex;margin-top:12px;border-radius:22px;background:rgba(20,16,20,.35);box-shadow:inset 0 0 0 1px var(--hair)}
.bp-rails{flex:none;display:flex;flex-direction:column;justify-content:space-between;width:74px;padding:14px 0 14px 12px}
.bp-rails span{display:flex;flex-direction:column;align-items:flex-start;gap:4px;height:118px;justify-content:center;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--linen-3)}
.bp-rails span.p{color:#f6c97a}.bp-rails svg{width:18px;height:18px}
.bp-track{flex:1;min-width:0;display:flex;gap:0;overflow-x:auto;overflow-y:hidden;padding:14px 14px 10px 0;scroll-behavior:auto;scrollbar-width:thin;outline:none;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 18px,#000 calc(100% - 18px),transparent);mask-image:linear-gradient(90deg,transparent 0,#000 18px,#000 calc(100% - 18px),transparent)}
.bp-col{flex:none;display:flex;flex-direction:column;align-items:center;gap:0;width:104px}
.bp-node{position:relative;display:grid;place-items:center;width:100%;height:40px}
.bp-node i{position:absolute;left:0;right:0;top:50%;height:4px;margin-top:-2px;background:rgba(255,242,228,.08)}
.bp-col.done .bp-node i{background:linear-gradient(90deg,#ef9c4c,#f8c47e);box-shadow:0 0 8px rgba(242,160,80,.45)}
.bp-node b{position:relative;display:grid;place-items:center;min-width:28px;height:28px;padding:0 5px;border-radius:50%;background:#2a2228;box-shadow:inset 0 0 0 1.5px rgba(255,242,228,.14);font-size:11.5px;font-weight:800;color:var(--linen-2);font-variant-numeric:tabular-nums}
.bp-col.done .bp-node b{background:#f6c97a;color:#2b1a12;box-shadow:none}
.bp-col.here .bp-node b{background:#3a2a1c;color:#f6c97a;box-shadow:inset 0 0 0 2px #f6c97a,0 0 14px rgba(246,201,122,.6)}
.bp-col.mile .bp-node b{min-width:32px;height:32px}
.bp-cell{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:94px;height:118px;padding:8px 6px;border-radius:18px;background:rgba(32,26,31,.6);box-shadow:inset 0 0 0 1px var(--hair);cursor:var(--cu-hand,pointer);transition:transform 0.25s var(--sleepy),background 0.25s var(--sleepy),box-shadow 0.25s var(--sleepy)}@media (hover:hover){.bp-cell:hover{transform:translateY(-2px);background:rgba(44,36,42,.75)}}
.bp-cell.p{background:linear-gradient(160deg,rgba(246,201,122,.12),rgba(32,26,31,.6));box-shadow:inset 0 0 0 1px rgba(246,201,122,.28)}
.bp-cell.big{box-shadow:inset 0 0 0 1.5px rgba(246,201,122,.5)}
.bp-cell.got{background:rgba(242,187,114,.1)}
.bp-cell.locked img,.bp-cell.locked .bp-xp,.bp-cell.locked .bp-hex{opacity:.55;filter:saturate(.7)}
.bp-cell.now{box-shadow:inset 0 0 0 2px rgba(246,201,122,.7)}
.bp-cell img{width:64px;height:48px;object-fit:contain}
.bp-cell.big img{width:76px;height:56px}
.bp-lab{max-width:100%;font-size:10.5px;font-weight:700;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--linen-2)}
.bp-xp{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#d6b8ff,#8d63d6);box-shadow:inset 0 -4px 8px rgba(0,0,0,.25),0 0 14px rgba(180,123,255,.35);color:#fff;line-height:1}
.bp-xp b{font-size:14px;font-weight:800}.bp-xp small{font-size:8.5px;font-weight:800;letter-spacing:.08em;opacity:.85}
.bp-hex{width:44px;height:44px;border-radius:50%;background:conic-gradient(from 20deg,#ff9ec0,#f6c97a,#9fe3b8,#7fb4ff,#c9a3ff,#ff9ec0);box-shadow:inset 0 -4px 8px rgba(0,0,0,.2),inset 0 3px 6px rgba(255,255,255,.3)}
.bp-ok{position:absolute;top:7px;right:7px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#7fd49a;color:#18301f}
.bp-ok svg{width:11px;height:11px}
.bp-lock{position:absolute;top:7px;right:7px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:rgba(20,16,20,.8);color:#f6c97a}
.bp-lock svg{width:11px;height:11px}
.bp-open{position:absolute;left:50%;bottom:-9px;transform:translateX(-50%);height:22px;padding:0 11px;border-radius:999px;background:linear-gradient(135deg,#f6c97a,#ee9e52);color:#2b1a12;font-size:11px;font-weight:800;letter-spacing:.02em;box-shadow:0 0 0 0 rgba(246,190,100,.6),0 4px 12px -4px rgba(238,158,82,.9);animation:bpOpen 2.2s var(--sleepy) infinite;z-index:1}
@keyframes bpOpen{0%,100%{box-shadow:0 0 6px 0 rgba(246,190,100,.55),0 4px 12px -4px rgba(238,158,82,.9)}50%{box-shadow:0 0 16px 3px rgba(246,190,100,.75),0 4px 12px -4px rgba(238,158,82,.9)}}
.bp-val .row b{text-align:right}
@media (max-width:640px){.bp-rails{width:52px;padding-left:8px}.bp-rails span{font-size:9.5px}.bp-col{width:92px}.bp-cell{width:84px;height:108px}}
.chat-spec{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 9px 0 7px;margin-left:auto;border-radius:999px;background:rgba(255,242,228,.06);color:var(--linen-2);font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.chat-spec svg{width:15px;height:15px}
.chat-spec.hidden{display:none}
.chat-spec:not(.hidden) + .chat-hush{margin-left:4px}
.bp-cell.big .bp-lab{white-space:normal;line-height:1.15}

/* polish round */
.pf-lvl{display:grid;grid-template-columns:auto minmax(60px,180px) auto;align-items:center;gap:10px;margin:8px 0 2px;font-size:12px;color:var(--linen-3);font-variant-numeric:tabular-nums}
.pf-lvl i{position:relative;height:6px;border-radius:6px;background:rgba(255,242,228,.07);overflow:hidden}
.pf-lvl i::after{content:"";position:absolute;inset:0;width:var(--p);border-radius:inherit;background:linear-gradient(90deg,#c9a3ff,#f6c97a)}
.bp-lab{white-space:normal;line-height:1.15;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
#lobbyBar{max-width:760px}
.lb-info{flex:1 1 150px;min-width:140px}
.lb-deck .dv{max-width:128px}
@media (max-width:640px){.bp-buy{flex-wrap:wrap}.bp-buy .bp-crown{display:none}.bp-get{width:100%;flex-direction:row;justify-content:center;gap:10px;padding:12px 16px}.bp-get small{font-size:12px}}
.pf-lvl .lv-badge{justify-self:start}
/* the loading screen can never get stuck: it lets go by itself after a while */
#bootScreen{animation:bsGone 0.5s ease 10s forwards}
@keyframes bsGone{to{opacity:0;visibility:hidden;pointer-events:none}}

/* ===== round fifteen ===== */
.pop-inv-h{margin:2px 8px 4px;font-size:10.5px;font-weight:750;letter-spacing:.06em;text-transform:uppercase;color:var(--linen-3)}
.th{transition:bottom 0.3s var(--sleepy)}
.inv-defs{--cols:5}
@media (max-width:1100px){.inv-defs{--cols:4}}
@media (max-width:860px){.inv-defs{--cols:3}}
@media (max-width:600px){.inv-defs{--cols:2}}

@media (max-width:440px){.it-kinds .seg button{font-size:12px;padding:0 1px;letter-spacing:-.01em}}
@media (max-width:640px){body[data-scene=table] #toasts{top:calc(var(--top) + 64px)}}

/* ==================== round sixteen ==================== */
/* achievements: 5,000, by tier */
.a16-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:14px}
.a16-bar .search{flex:1 1 220px;min-width:0}
.a16-st{margin:0}
.a16-tiers,.a16-cats{margin-top:10px}
.a16-cats,.a16-tiers{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:2px;-webkit-mask-image:linear-gradient(90deg,#000 92%,transparent);mask-image:linear-gradient(90deg,#000 92%,transparent)}
.a16-cats::-webkit-scrollbar,.a16-tiers::-webkit-scrollbar{display:none}
.a16-cats button,.a16-tiers button{flex:none}
.a16-soon-note{color:var(--linen-3)}
.a16.ach{padding-top:16px;border-top:2px solid color-mix(in srgb,var(--tc) 55%,transparent)}
.a16.ach .ach-ic{color:var(--tc);background:color-mix(in srgb,var(--tc) 14%,transparent)}
.a16.ach.on{background:linear-gradient(140deg,color-mix(in srgb,var(--tc) 16%,transparent),rgba(255,242,228,.03));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tc) 40%,transparent)}
.a16.ach.on .ach-ic{background:var(--tc);color:#231a1f}
.a16.ach.on em{color:var(--tc)}
.a16.ach.t3.on{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tc) 55%,transparent),0 0 22px -8px var(--tc)}
.a16.ach.t4.on,.a16.ach.t5.on{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tc) 65%,transparent),0 0 28px -6px var(--tc)}
.a16.ach.soon{opacity:.62}
.a16.ach.hid b{letter-spacing:.04em}
.a16.ach .ach-bar i{background:color-mix(in srgb,var(--tc) 75%,transparent)}
.a16-tag{display:flex;gap:6px;margin-top:4px;font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.a16-tag span:first-child{color:var(--tc)}
.a16-tag span:last-child{color:var(--linen-3);font-variant-numeric:tabular-nums}
.a16-tag span:last-child::after{content:' pts'}
.a16-rv{font-style:italic;color:var(--linen-2)!important}
.a16-soon{color:var(--linen-3)!important}
.a16.ach .ach-cat{max-width:46%;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.a16-toast b{color:#f2c46d}
.a16-toast.t1 b{color:#8fd19e}.a16-toast.t2 b{color:#86b7f0}.a16-toast.t3 b{color:#c39cf2}.a16-toast.t4 b{color:#f2c46d}.a16-toast.t5 b{color:#f4b6c2}
/* the blob pass: a shop window on the right, a road that glides with no scrollbar */
.bp-buy.bp-show{flex-direction:column;align-items:stretch;gap:12px;padding:16px}
.bp-show-h{position:relative;display:flex;align-items:center;gap:12px}
.bp-show-h>div{flex:1;min-width:0}
.bp-show-h small{display:block;margin-top:2px;font-size:12px;color:var(--linen-2)}
.bp-x2{flex:none;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.02em;color:#2b1a12;background:linear-gradient(135deg,#f6c97a,#ee9e52);box-shadow:0 0 18px -4px rgba(246,201,122,.7);animation:bpX2 3.6s var(--sleepy) infinite}
@keyframes bpX2{0%,100%{box-shadow:0 0 14px -6px rgba(246,201,122,.5)}50%{box-shadow:0 0 24px -2px rgba(246,201,122,.85)}}
.bp-prize{position:relative;display:flex;align-items:center;gap:14px;padding:10px 12px;border-radius:18px;background:radial-gradient(120% 140% at 0% 50%,rgba(195,156,242,.22),rgba(30,22,28,.2) 60%);box-shadow:inset 0 0 0 1px rgba(195,156,242,.28)}
.bp-prize img{width:86px;height:86px;object-fit:contain;flex:none;filter:drop-shadow(0 8px 16px rgba(160,110,230,.45));animation:bpFloat 5.5s var(--sleepy) infinite}
@keyframes bpFloat{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-5px) rotate(1.2deg)}}
.bp-prize small{display:block;font-size:10.5px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:var(--linen-3)}
.bp-prize b{display:block;font-size:18px;margin:1px 0 3px}
.bp-prize span{display:block;font-size:12px;line-height:1.45;color:var(--linen-2)}
.bp-sws{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.bp-sw{display:flex;flex-direction:column;align-items:center;gap:1px;padding:8px 4px 7px;border-radius:14px;background:rgba(255,242,228,.045);box-shadow:inset 0 0 0 1px rgba(255,238,220,.06);text-align:center;min-width:0;transition:transform 0.25s var(--sleepy),background 0.25s var(--sleepy)}@media (hover:hover){.bp-sw:hover{transform:translateY(-2px);background:rgba(255,242,228,.07)}}
.bp-sw-i{display:grid;place-items:center;width:46px;height:46px}
.bp-sw-i img{max-width:46px;max-height:46px;object-fit:contain}
.bp-sw .bp-hex{width:34px;height:34px}
.bp-sw b{font-size:15px!important;color:#f6c97a;font-variant-numeric:tabular-nums}
.bp-sw small{margin:0!important;font-size:11px!important;line-height:1.3;color:var(--linen-2)}
.bp-sw small em{display:block;font-style:normal;font-size:10px;font-weight:700}
.bp-vs{position:relative;margin:0;font-size:11.5px;color:var(--linen-3);text-align:center}
.bp-show .bp-get{width:100%;flex-direction:row;justify-content:center;gap:10px;padding:12px 16px}
.bp-show .bp-get small{font-size:12px}
@media (max-width:640px){.bp-show .bp-crown{display:grid}.bp-prize img{width:70px;height:70px}}
.bp-track{scrollbar-width:none;cursor:var(--cu-grab,grab);scroll-behavior:auto!important;overscroll-behavior-x:contain}
.bp-track::-webkit-scrollbar{display:none}
.bp-track.dragging{cursor:var(--cu-grabbing,grabbing);user-select:none}
.bp-track.dragging .bp-cell{pointer-events:none}
.bp-top{align-items:start}
.bp-up{margin-top:14px}
.bp-up-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.bp-up-h small{font-size:10.5px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:var(--linen-3)}
.bp-up-h span{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--linen-3)}
.bp-up-h i.p{display:grid;place-items:center;width:14px;height:14px;color:#f6c97a}.bp-up-h i.p svg{width:13px;height:13px}
.bp-up-h i.f{width:9px;height:9px;border-radius:50%;background:rgba(255,242,228,.3);margin-left:6px}
.bp-up-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.bp-up-c{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 4px;border-radius:14px;background:rgba(255,242,228,.035);box-shadow:inset 0 0 0 1px rgba(255,238,220,.05)}
.bp-up-c.next{box-shadow:inset 0 0 0 1px rgba(246,201,122,.45);background:rgba(246,201,122,.07)}
.bp-up-c>b{font-size:11px;color:var(--linen-3);font-variant-numeric:tabular-nums}
.bp-up-c>span{display:grid;place-items:center;width:100%;height:46px;border-radius:10px}
.bp-up-c>span.p{background:linear-gradient(160deg,rgba(246,201,122,.14),rgba(238,158,82,.05))}
.bp-up-c>span.lk{opacity:.55;filter:saturate(.75)}
.bp-up-c img{max-width:40px;max-height:40px;object-fit:contain}
.bp-up-c .bp-hex{width:28px;height:28px}
.bp-up-xp{font-style:normal;font-size:13px;font-weight:800;color:var(--linen);line-height:1;text-align:center}
.bp-up-xp small{display:block;font-size:9px;font-weight:700;color:var(--linen-3);letter-spacing:.06em}
.bp-earn{margin:14px 0 0;font-size:12px;line-height:1.5;color:var(--linen-3)}
.bp-earn b{color:var(--linen-2)}.bp-earn em{font-style:normal;font-weight:700;color:#f6c97a}
/* popups fade out as softly as they come in */
.fading{animation:fade16Out 0.19s var(--sleepy) forwards!important;pointer-events:none!important}
@keyframes fade16Out{to{opacity:0}}
#modal.fading .sheet{animation:sheet16Out 0.19s var(--sleepy) forwards!important}
@keyframes sheet16Out{to{opacity:0;transform:translateY(10px) scale(.985)}}
#pop.fading,#meMenu.fading,#qcPop.fading{animation:pop16Out 0.16s var(--sleepy) forwards!important}
@keyframes pop16Out{to{opacity:0;transform:translateY(-4px) scale(.98)}}
#qcPop:not(.hidden):not(.fading){animation:popIn 0.23s var(--sleepy)}
/* the home menu: one column of thin bars */
#home:not(.playing) .hm-menu{display:flex;flex-direction:column;gap:5px;margin-top:12px}
#home:not(.playing) .hm-menu>.hm-row{grid-template-columns:30px minmax(0,1fr) 16px;column-gap:10px;padding:6px 10px 6px 7px;min-height:0;border-radius:14px}
#home:not(.playing) .hm-menu>.hm-row .mi{width:30px;height:30px;border-radius:10px}
#home:not(.playing) .hm-menu>.hm-row .mi .i{width:16px;height:16px}
#home:not(.playing) .hm-menu>.hm-row .chev{display:flex}
#home:not(.playing) .hm-menu>.hm-row .chev .i{width:16px;height:16px}
#home:not(.playing) .hm-menu>.hm-row .hm-t{flex-direction:row;align-items:baseline;gap:9px}
#home:not(.playing) .hm-menu>.hm-row .hm-t b{font-size:14px;white-space:nowrap;flex:none;display:flex;align-items:center;gap:6px}
#home:not(.playing) .hm-menu>.hm-row .hm-t small{font-size:11.5px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;-webkit-line-clamp:unset}
#home:not(.playing) .hm-menu>.hm-row.soon .soon-pill{margin:0;font-size:9.5px;padding:2px 6px}
#home:not(.playing) .hm-row.big{padding:8px 12px 8px 8px;border-radius:16px}
#home:not(.playing) .hm-row.big .mi{width:36px;height:36px;border-radius:12px}
#home:not(.playing) .hm-row.big .hm-t b{font-size:16px}
/* Play: the three ways to play as bars; once one's picked the others tuck away */
.hm-kinds{grid-template-columns:1fr;gap:5px}
.hm-kinds button{display:grid;grid-template-columns:34px minmax(0,1fr) 16px;grid-template-rows:auto auto;column-gap:11px;row-gap:0;align-items:center;justify-items:start;padding:7px 12px 7px 8px;text-align:left;border-radius:15px}
.hm-kinds .mi{grid-row:1/3;grid-column:1;width:34px;height:34px}
.hm-kinds b{grid-column:2;grid-row:1;font-size:14.5px;align-self:end}
.hm-kinds small{grid-column:2;grid-row:2;font-size:11.5px;align-self:start}
.hm-kinds .chev{grid-column:3;grid-row:1/3;display:flex;color:var(--linen-3);transition:transform 0.35s var(--sleepy)}
.hm-kinds .chev .i{width:16px;height:16px}
.hm-kinds.picked button[aria-selected=false]{display:none}
.hm-kinds.picked button[aria-selected=true] .chev{transform:rotate(90deg)}
.bar{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;column-gap:10px;width:100%;padding:7px 12px 7px 8px;border-radius:14px;background:rgba(255,242,228,.045);box-shadow:inset 0 0 0 1px rgba(255,238,220,.05);text-align:left;transition:background 0.25s var(--sleepy),box-shadow 0.25s var(--sleepy)}@media (hover:hover){.bar:hover{background:rgba(255,242,228,.085)}}
.bar-t{display:flex;flex-direction:column;gap:1px;min-width:0}
.bar-t b{font-size:14px;font-weight:650}
.bar-t small{font-size:11.5px;color:var(--linen-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bar .chev,.bar .chk{display:flex;color:var(--linen-3);transition:transform 0.35s var(--sleepy)}
.bar .chev .i,.bar .chk .i{width:16px;height:16px}
.bar .chk{color:var(--lamp)}
.bar-tag{font-style:normal;font-size:9.5px;font-weight:750;letter-spacing:.05em;text-transform:uppercase;padding:3px 7px;border-radius:999px;white-space:nowrap}
.bar-tag.off{color:#f3b48a;background:rgba(240,150,90,.13)}
.lv-wrap{display:flex;flex-direction:column;gap:0}
.lv-pick{background:linear-gradient(180deg,rgba(242,187,114,.12),rgba(242,187,114,.04));box-shadow:inset 0 0 0 1px rgba(242,187,114,.26)}
.lv-pick.open .chev{transform:rotate(180deg)}
.lv-list{display:grid;grid-template-rows:0fr;transition:grid-template-rows 0.4s var(--sleepy)}
.lv-list.open{grid-template-rows:1fr}
.lv-list-in{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:4px}
.lv-list.open .lv-list-in{padding-top:5px}
.lv-list.open .lv{animation:fadeUp 0.3s var(--sleepy) both;animation-delay:var(--d)}
.lv{padding:5px 12px 5px 8px}
.lv.on{background:rgba(242,187,114,.1);box-shadow:inset 0 0 0 1px rgba(242,187,114,.35)}
.lv.boss{background:linear-gradient(100deg,rgba(169,150,236,.16),rgba(255,242,228,.03))}
.lv-boss{display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 40% 35%,#d6c6ff,#7a62c9);color:#2a1d48}
.lv-boss svg{width:58%;height:58%}
.lv-off{color:#f3b48a}
#homeComp .comp-btns{display:flex;flex-direction:column;gap:5px}
#homeComp .big-opt.sm,#homePrivate .big-opt{margin:0 0 5px;padding:7px 12px 7px 8px;gap:10px;align-items:center;border-radius:14px}
#homeComp .big-opt small,#homePrivate .big-opt small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11.5px}
#homeComp .big-opt>span:last-child,#homePrivate .big-opt>span:last-child{min-width:0}
#homeComp .big-opt b,#homePrivate .big-opt b{font-size:14px}
#homePrivate .big-opt .bo-ico,#homeComp .big-opt .bo-ico{width:32px;height:32px;flex:none}
.topt{padding:5px 12px 5px 6px;grid-template-columns:70px minmax(0,1fr) auto 14px}
.topt-art{width:70px;height:44px}
/* no XP below your rank */
.rule16-rank{display:flex;align-items:center;gap:14px;margin:0 6px 16px;padding:12px 14px;border-radius:18px;background:rgba(255,242,228,.05);box-shadow:inset 0 0 0 1px rgba(255,238,220,.06)}
.rule16-rank small{display:block;font-size:10.5px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:var(--linen-3)}
.rule16-rank b{display:block;font-size:19px;margin:1px 0}
.rule16-rank span{font-size:12.5px;color:var(--linen-3)}
.rule16-go{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;margin:0 0 8px}
.rule16-stay{display:block;width:100%}
/* socials: a friend's Elo, quietly */
.pn-elo{font-style:normal;font-size:10.5px;font-weight:650;color:var(--linen-3);margin-left:6px;font-variant-numeric:tabular-nums;opacity:.85}
/* a daily chest that's ready glows orange */
.cr.ready:not(.extra){background:rgba(240,150,60,.14);box-shadow:0 0 0 1.5px rgba(246,170,80,.85),0 0 16px 2px rgba(240,140,50,.5);animation:cr16 2.6s ease-in-out infinite}
@keyframes cr16{0%,100%{box-shadow:0 0 0 1.5px rgba(246,170,80,.7),0 0 9px 0 rgba(240,140,50,.32)}50%{box-shadow:0 0 0 1.5px rgba(250,188,98,.95),0 0 20px 4px rgba(240,140,50,.62)}}
@media (prefers-reduced-motion:reduce){.cr.ready:not(.extra){animation:none}}
/* smooth overlays: no live blur under a page in the menu, none in the opening theatre, nothing animating unseen */
body.ovl-snap .page-scrim{-webkit-backdrop-filter:none;backdrop-filter:none;background:linear-gradient(rgba(9,7,14,.5),rgba(9,7,14,.5)),var(--snap) center/cover no-repeat,#16111a}
body.ovl-hide #home,body.ovl-hide .tools,body.ovl-hide #bMe,body.ovl-hide #side{visibility:hidden}
body.ovl .glass{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
body.ovl .glass:not(#dock){background:rgba(30,24,29,.94)}
body.ovl #home *,body.ovl .tools *,body.ovl #side *,body.ovl #chat *,body.ovl #lobbyBar *{animation-play-state:paused!important}
.th{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:rgba(10,8,16,.88)}
.th .res{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:rgba(30,24,32,.94)}
#modal{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(8,6,14,.52)}
#page .ttl.r-unreal:not(:hover),#page .rr-unreal:not(:hover),#page .bb-unreal:not(:hover),#page .live-dot{animation-play-state:paused}
.bp-show:not(:hover) .bp-x2,.bp-show:not(:hover) .bp-prize img{animation-play-state:paused}
#homeComp .big-opt .chev,#homePrivate .big-opt .chev{margin-left:auto;display:flex;flex:none;color:var(--linen-3)}
#homeComp .big-opt .chev .i,#homePrivate .big-opt .chev .i{width:16px;height:16px}

/* ==================== round seventeen ==================== */
/* the break vote card: its own entrance (the old one slid it half its width, then it jumped) */
#vote.v2{animation:vote17In 0.35s var(--sleepy)}
@keyframes vote17In{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
#vote.v2{transition:left 0.3s var(--sleepy)}
/* the break card sits in the middle of the room that's free of the chat */
#brk.v2{transition:left 0.3s var(--sleepy)}
body.chat-open:not(.chat-min) #brk.v2{left:calc(50% + var(--chat-w) / 2 + 8px)}
@media (max-width:760px){body.chat-open:not(.chat-min) #brk.v2{left:50%}}
/* breaks left this game */
#bBreak{position:relative}
#bBreak .brk-n{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:2px;padding:0 5px;border-radius:999px;font-style:normal;font-size:11px;font-weight:800;line-height:1;color:#2b1a12;background:#f2bb72;font-variant-numeric:tabular-nums}
#bBreak.spent{opacity:.55}
#bBreak.spent .brk-n{background:rgba(255,242,228,.3);color:#1d171b}
/* game resuming in 3, 2, 1 */
.bk3{display:flex;align-items:center;gap:10px}
.bk3 .vt2-t{flex:1}
.bk3-n{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;font-size:20px;font-weight:800;color:#2b1a12;background:#f2bb72;box-shadow:0 0 22px -4px rgba(242,187,114,.8);animation:bk3Pop 0.5s var(--sleepy)}
@keyframes bk3Pop{0%{transform:scale(.6);opacity:0}30%{transform:scale(1.08);opacity:1}100%{transform:scale(1)}}
/* the deck vote: everyone's cards side by side, above the dock */
.dvote{position:fixed;z-index:16;left:50%;bottom:calc(var(--dock-h, 86px) + 26px);transform:translateX(-50%);width:max-content;max-width:calc(100vw - 24px);padding:12px 12px 10px;border-radius:22px;background:rgba(32,26,31,.95);box-shadow:0 18px 44px rgba(0,0,0,.42),inset 0 0 0 1px rgba(255,238,220,.07);animation:dv17In 0.4s var(--sleepy)}
@keyframes dv17In{from{opacity:0;transform:translate(-50%,14px)}to{opacity:1;transform:translateX(-50%)}}
body.chat-open:not(.chat-min) .dvote{left:calc(50% + var(--chat-w) / 2 + 8px);max-width:calc(100vw - var(--chat-w) - 48px)}
@media (max-width:760px){body.chat-open:not(.chat-min) .dvote{left:50%;max-width:calc(100vw - 24px)}}
.dv-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 4px 9px}
.dv-head b{font-size:14.5px}
.dv-head small{font-size:11.5px;color:var(--linen-3)}
.dv-row{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 2px 4px}
.dv-row::-webkit-scrollbar{display:none}
.dv-t{flex:none;display:flex;flex-direction:column;align-items:center;gap:3px;width:104px;padding:9px 6px 7px;border-radius:16px;background:rgba(255,242,228,.045);box-shadow:inset 0 0 0 1px rgba(255,238,220,.06);transition:transform 0.25s var(--sleepy),background 0.25s var(--sleepy),box-shadow 0.25s var(--sleepy),opacity 0.3s var(--sleepy)}@media (hover:hover){.dv-t:not(:disabled):hover{transform:translateY(-3px);background:rgba(255,242,228,.08)}}
.dv-t.mine{background:rgba(242,187,114,.13);box-shadow:inset 0 0 0 1.5px rgba(242,187,114,.7)}
.dv-t.win{transform:translateY(-4px);background:rgba(242,187,114,.18);box-shadow:inset 0 0 0 1.5px rgba(242,187,114,.9),0 0 26px -6px rgba(242,187,114,.8)}
.dv-t.lose{opacity:.42}
.dv-t:disabled{cursor:var(--cu-arrow,default)}
.dv-card{display:grid;place-items:center;height:72px}
.dv-card canvas{display:block;filter:drop-shadow(0 6px 10px rgba(0,0,0,.35))}
.dv-t b{max-width:100%;font-size:12px;line-height:1.25;text-align:center;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:30px}
.dv-t small{max-width:100%;font-size:10.5px;color:var(--linen-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dv-n{display:flex;align-items:center;justify-content:center;gap:2px;min-height:20px;flex-wrap:wrap}
.dv-n canvas{width:16px;height:16px}
.dv-n em{font-style:normal;font-size:11px;font-weight:800;color:var(--linen-2);margin-left:3px;font-variant-numeric:tabular-nums}
.dv-t.r-rare b{color:#9cc3f2}.dv-t.r-epic b{color:#cfaef5}.dv-t.r-legendary b{color:#f2c46d}.dv-t.r-unreal b{color:#f4b6c2}
.dv-bar{display:block;height:3px;margin:8px 4px 0;border-radius:2px;background:rgba(255,242,228,.08);overflow:hidden}
.dv-bar>i{display:block;height:100%;background:#f2bb72;transform-origin:left;animation:dvBar var(--t,12s) linear forwards}
@keyframes dvBar{from{transform:scaleX(1)}to{transform:scaleX(0)}}
@media (max-width:520px){.dv-t{width:92px}.dv-card{height:64px}}
/* the Blob Pass: a slim header, the road straight under it, the shop window below */
.bp-top17{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:12px;align-items:stretch}
.bp-top17 .bp-hero{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px 26px;padding:14px 18px}
.bp-top17 .bp-h h2{font-size:22px;margin:1px 0 2px}
.bp-top17 .bp-h p{font-size:12.5px}
.bp-bars{min-width:0}
.bp-bars .bp-bar{margin-top:0}
.bp-bars .bp-lvl{margin-top:7px}
.bp-bars .bp-earn{margin:7px 0 0;font-size:11.5px}
.bp-cta{position:relative;display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:22px;background:linear-gradient(135deg,#3a2a1c,#2a1f18);box-shadow:inset 0 0 0 1.5px rgba(246,201,122,.55),0 18px 40px -22px rgba(238,158,82,.6);overflow:hidden}
.bp-cta::before{content:"";position:absolute;inset:-60% -10% auto auto;width:200px;height:200px;border-radius:50%;background:radial-gradient(closest-side,rgba(246,201,122,.2),transparent);pointer-events:none}
.bp-cta>div{position:relative;flex:1;min-width:0}
.bp-cta b{display:flex;align-items:center;gap:8px;font-size:15px;color:#f6c97a}
.bp-cta small{display:block;margin-top:3px;font-size:11.5px;line-height:1.35;color:var(--linen-2)}
.bp-cta .bp-x2{padding:3px 8px;font-size:10.5px}
.bp-cta .bp-get{width:auto;flex:none;flex-direction:column;justify-content:center;gap:1px;padding:9px 14px}
.bp-cta .bp-get b{display:block;font-size:16px;color:#2b1a12}
.bp-cta .bp-get small{margin:0;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#4a2e18}
.bp-cta.owned{box-shadow:inset 0 0 0 1.5px rgba(246,201,122,.35)}
.bp-road{margin-top:14px}
.bp-road .bp-wrap{margin-top:8px}
.bp-road .note{margin-top:8px}
.bp-more{margin-top:16px}
@media (min-width:861px){
  .bp-more .bp-show{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.45fr);grid-template-areas:"h sws" "prize sws" "vs get";gap:10px 16px;align-items:center}
  .bp-more .bp-show-h{grid-area:h}.bp-more .bp-prize{grid-area:prize}.bp-more .bp-sws{grid-area:sws;align-self:stretch}.bp-more .bp-vs{grid-area:vs;text-align:left}.bp-more .bp-get{grid-area:get}
  .bp-more .bp-show.owned{grid-template-areas:"h sws" "prize sws"}
}
@media (max-width:860px){
  .bp-top17{grid-template-columns:1fr}
  .bp-top17 .bp-hero{grid-template-columns:1fr;padding:12px 14px}
  .bp-top17 .bp-h p{display:none}
  .bp-top17 .bp-h{display:flex;align-items:baseline;gap:10px}
  .bp-top17 .bp-h h2{font-size:19px;margin:0}
  .bp-bars .bp-earn{display:none}
  .bp-cta{padding:10px 12px;border-radius:18px}
  .bp-cta .bp-crown{width:36px;height:36px;border-radius:12px}
  .bp-cta .bp-crown svg{width:20px;height:20px}
  .bp-road{margin-top:10px}
}
/* the pass: waiting to be claimed */
.bp-cell.ready{background:linear-gradient(170deg,rgba(246,201,122,.2),rgba(32,26,31,.7));box-shadow:inset 0 0 0 1.5px rgba(246,201,122,.75),0 0 22px -6px rgba(246,190,100,.7)}
.bp-cell.ready img,.bp-cell.ready .bp-xp,.bp-cell.ready .bp-hex{animation:bpFloat 4.5s var(--sleepy) infinite}
.bp-cell.tease{opacity:1}
.bp-cell.tease img,.bp-cell.tease .bp-xp,.bp-cell.tease .bp-hex{filter:saturate(.7) brightness(.85)}
.bp-open.bp-unlock{background:rgba(32,26,31,.95);color:#f6c97a;box-shadow:inset 0 0 0 1.5px rgba(246,201,122,.75),0 4px 12px -4px rgba(0,0,0,.6);animation:none}
.bp-wait{color:#f6c97a;font-weight:800}
.bp-all{margin-left:8px;height:24px;padding:0 10px;border-radius:999px;font-size:11px;font-weight:800;color:#2b1a12;background:linear-gradient(135deg,#f6c97a,#ee9e52);box-shadow:0 4px 12px -4px rgba(238,158,82,.8);vertical-align:middle}@media (hover:hover){.bp-all:hover{transform:translateY(-1px)}}
/* the home row: rewards waiting */
#hmPass{position:relative}
#hmPass.claim small{color:#f6c97a;font-weight:700}
#hmPass.claim .hm-t{padding-right:30px}
#hmPass.claim::after{content:attr(data-n);position:absolute;right:38px;top:50%;transform:translateY(-50%);min-width:20px;height:20px;padding:0 6px;border-radius:999px;display:grid;place-items:center;font-size:11px;font-weight:800;color:#2b1a12;background:linear-gradient(135deg,#f6c97a,#ee9e52);box-shadow:0 0 14px -2px rgba(246,190,100,.75)}
/* home: the menu on the left is only as tall as its rows (no inner scroll); who you are sits bottom right */
#home:not(.playing){bottom:auto;max-height:calc(100% - var(--top) - 66px)}
#home:not(.playing) .home-scroll{padding-top:16px;-webkit-mask-image:none;mask-image:none}
#home:not(.playing) .hm-menu{margin-top:0}
#homeCard{position:fixed;z-index:5;right:16px;bottom:16px;width:min(360px,calc(100vw - var(--home-w) - 48px));padding:16px 14px 14px;border-radius:24px;background:linear-gradient(180deg,rgba(52,40,40,.62),rgba(30,24,30,.66) 38%,rgba(26,21,27,.7));box-shadow:0 18px 60px rgba(5,3,10,.38),inset 0 1px 0 rgba(255,236,214,.07);animation:homeCard17 0.55s var(--sleepy) both;transition:opacity 0.3s var(--sleepy),transform 0.3s var(--sleepy)}
@keyframes homeCard17{from{opacity:0;transform:translateY(14px)}}
#homeCard .hm-head{padding:0 6px}
#homeCard .hm-head h1{font-size:22px;margin-top:4px}
#homeCard .hm-you{margin:12px 0 0}
#side.show ~ #homeCard{opacity:0;transform:translateY(10px);pointer-events:none}
body.ovl-hide #homeCard{visibility:hidden}
body.ovl #homeCard *{animation-play-state:paused!important}
/* short screens: tighter rows, so nothing ever has to scroll */
@media (max-height:640px) and (min-width:760px){
  #home:not(.playing) .home-scroll{padding:12px 14px 12px}
  #home:not(.playing) .hm-menu>.hm-row{padding-top:4px;padding-bottom:4px}
  #homeCard{padding:12px 12px 10px}#homeCard .hm-head h1{font-size:19px}#homeCard .hm-you{margin-top:8px}
}
@media (max-height:540px) and (min-width:760px){
  #home:not(.playing) .hm-menu>.hm-row small{display:none}
  #homeCard .hm-when{display:none}
}
/* phones: the menu is a sheet at the bottom sized to its rows; your card sits at the top */
@media (max-width:759px){
  #home:not(.playing){top:auto;bottom:8px;height:auto;max-height:calc(100% - var(--top) - 196px)}
  #homeCard{left:8px;right:8px;top:calc(var(--top) + 50px);bottom:auto;width:auto;padding:10px 10px 10px;border-radius:20px}
  #homeCard .hm-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 10px}
  #homeCard .hm-head h1{font-size:18px;margin:0}
  #homeCard .hm-when{order:3;flex-basis:100%;display:none}
  #homeCard .hm-online{margin:0;font-size:12px}
  #homeCard .hm-you{margin-top:8px;padding:8px 10px;grid-template-columns:44px minmax(0,1fr) auto;row-gap:6px}
  #homeCard .hm-av{width:44px;height:44px}
  #home.playing ~ #homeCard,body.home-playing #homeCard{display:none}
}
/* short phones: a little tighter, still no scrolling for the menu or the pass road */
@media (max-width:759px) and (max-height:720px){
  #home:not(.playing) .home-scroll{padding:10px 10px 10px}
  #home:not(.playing) .hm-menu{gap:4px}
  #home:not(.playing) .hm-menu>.hm-row{padding-top:4px;padding-bottom:4px}
  #home:not(.playing) #hmPlayBtn{padding-top:7px;padding-bottom:7px}
  #homeCard .hm-prog,#homeCard .hm-next{display:none}
  #homeCard .hm-you{row-gap:0}
  #home:not(.playing){max-height:calc(100% - var(--top) - 172px)}
  .bp-top17 .bp-lvl{display:none}
  .bp-cta small{display:none}
  .bp-cta .bp-get small{display:block}
}
@media (max-width:759px) and (max-height:600px){
  #homeCard .hm-you{display:none}
  #home:not(.playing){max-height:calc(100% - var(--top) - 116px)}
  .bp-cta{display:none}
}
/* toasts on the home screen: clear of your card */
body[data-scene=menu]:not(.ovl):not(.me-open) #toasts{bottom:calc(var(--hc-h, 210px) + 30px)}
@media (max-width:640px){body[data-scene=menu]:not(.ovl):not(.me-open) #toasts{bottom:auto;top:calc(var(--top) + 58px + var(--hc-h, 130px))!important}}
/* while the deck vote is up, toasts sit above it */
@media (min-width:641px){body:has(#dvote:not(.hidden):not(.dvi20)) #toasts{bottom:calc(var(--dock-h, 86px) + 230px)}}

/* ==================== round eighteen ==================== */
/* the deck vote: cards sized to fit side by side on a computer */
.dv-t{width:var(--dvw,104px)}
.dv-card{height:calc(var(--dvw,104px) * .69)}
.dv-t b{font-size:calc(9.5px + var(--dvw,104px) * .024)}
@media (max-width:520px){.dv-t{width:var(--dvw,92px)}.dv-card{height:calc(var(--dvw,92px) * .69)}}
/* the character intro: a dark warm room, two ghosts, a pill of paint */
.ig{position:fixed;inset:0;z-index:70;background:radial-gradient(ellipse 80% 70% at 50% 62%,#3d3633 0%,#2a2426 50%,#16121a 100%);animation:fadeIn 0.4s var(--sleepy);overflow:hidden}
.ig-cv{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}
.ig-top{position:absolute;left:0;right:0;top:calc(var(--top) + 6vh);top:calc(var(--top) + 6dvh);display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;pointer-events:none;padding:0 16px}
.ig-top small{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#f2bb72}
.ig-top b{font-size:clamp(28px,5vw,44px);font-weight:700;letter-spacing:-.02em;color:#fff6ec}
.ig-top span{font-size:15px;color:var(--linen-2);min-height:20px}
.ig-hit{position:absolute;background:none;border-radius:40% 40% 22% 22%;cursor:var(--cu-hand,pointer);outline-offset:4px}
.ig-hit:focus-visible{outline:2px solid #f2bb72}
.ig-hit.gone{pointer-events:none}
.ig-pill{position:absolute;transform:translate(-50%,-100%);display:flex;align-items:center;gap:10px;height:46px;padding:0 20px 0 8px;border-radius:999px;font-size:15px;font-weight:800;color:#2b1a12;background:linear-gradient(135deg,#ffe3b0,#f6c97a 40%,#ee9e52);box-shadow:0 12px 30px -10px rgba(238,158,82,.9),inset 0 1px 0 rgba(255,255,255,.5);animation:igPill 2.4s var(--sleepy) infinite;white-space:nowrap}
.ig-pill i{width:30px;height:30px;border-radius:50%;background:conic-gradient(from 0deg,#ff5f6d,#ffc371,#f9f871,#5ef0a0,#4fc3ff,#8e7dff,#ff6ad5,#ff5f6d);box-shadow:inset 0 0 0 3px rgba(255,255,255,.65);animation:igSpin 6s linear infinite}
.ig-pill.busy{animation:none;opacity:.85}.ig-pill.busy i{animation-duration:0.4s}
@keyframes igPill{0%,100%{transform:translate(-50%,-100%) scale(1)}50%{transform:translate(-50%,-104%) scale(1.04)}}
@keyframes igSpin{to{transform:rotate(1turn)}}
.ig-hex{display:flex;flex-direction:column;align-items:center;gap:6px;width:min(420px,calc(100vw - 32px));margin-top:2px;text-align:center;animation:igHex 0.45s var(--sleepy)}
.ig-hex b{font-size:clamp(28px,4.4vw,40px);font-weight:800;letter-spacing:.04em;color:#fff6ec;font-variant-numeric:tabular-nums;text-shadow:0 2px 18px rgba(0,0,0,.45)}
.ig-hex small{font-size:13px;line-height:1.45;color:var(--linen-2)}
@keyframes igHex{from{opacity:0;transform:translateY(8px)}}
.ig-back{position:absolute;left:16px;top:calc(var(--top) + 8px);display:flex;align-items:center;gap:6px;height:40px;padding:0 14px 0 10px;border-radius:999px;font-weight:700;color:var(--linen);background:rgba(255,242,228,.08);box-shadow:inset 0 0 0 1px rgba(255,238,220,.1)}
.ig-back svg{width:16px;height:16px}
.ig-go{position:absolute;bottom:calc(env(safe-area-inset-bottom,0px) + 5vh);bottom:calc(env(safe-area-inset-bottom,0px) + 5dvh);transform:translateX(-50%);animation:igGo 0.45s var(--sleepy)!important;height:50px;padding:0 34px;border-radius:999px;font-size:16px;font-weight:800;color:#2b1a12;background:linear-gradient(135deg,#f6c97a,#ee9e52);box-shadow:0 12px 30px -10px rgba(238,158,82,.9);animation:igHex 0.45s var(--sleepy)}@media (hover:hover){.ig-go:hover{filter:brightness(1.05)}}
.hidden.ig-pill,.hidden.ig-hex,.hidden.ig-back,.hidden.ig-go{display:none}
@keyframes igGo{from{opacity:0;transform:translate(-50%,8px)}}
.ig-top .hidden{display:none}
.ig-top .ig-hex small{font-size:13px;font-weight:400;letter-spacing:0;text-transform:none;line-height:1.45;color:var(--linen-2)}
/* Customise: girl or boy, and your colour */
.gen-tiles{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.gen-tiles .tile canvas{height:96px}
.me-col{display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;background:rgba(255,242,228,.045);box-shadow:inset 0 0 0 1px rgba(255,238,220,.06);flex-wrap:wrap}
.mc-sw{flex:none;width:44px;height:44px;border-radius:14px;background:var(--c);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18),0 6px 16px -6px var(--c)}
.mc-t{flex:1;min-width:150px;display:flex;flex-direction:column;gap:3px}
.mc-t b{font-size:17px;font-weight:800;letter-spacing:.04em;font-variant-numeric:tabular-nums}
.mc-t small{font-size:12px;line-height:1.4;color:var(--linen-3)}
.mc-go{flex:none;height:34px;padding:0 14px;border-radius:999px;font-size:12.5px;font-weight:800;color:#2b1a12;background:linear-gradient(135deg,#f6c97a,#ee9e52)}
.mc-go em{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:4px;padding:0 5px;border-radius:999px;font-style:normal;font-size:11px;background:rgba(43,26,18,.18)}
.mc-n{font-size:11.5px;color:var(--linen-3)}
.spl-pick{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:6px}
.spl-o{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 8px;border-radius:18px;background:rgba(255,242,228,.05);box-shadow:inset 0 0 0 1px rgba(255,238,220,.08)}
.spl-o.new{box-shadow:inset 0 0 0 1.5px rgba(246,201,122,.6)}
.spl-o canvas{width:100%;height:140px}
.spl-o b{font-size:16px;font-weight:800;letter-spacing:.04em}
.spl-o small{font-size:12px;color:var(--linen-3)}@media (hover:hover){.spl-o:hover{background:rgba(255,242,228,.09)}}
/* trades: the colour swap */
.tr-colrow{margin-top:10px}
.tr-colbtn{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;border-radius:16px;background:rgba(255,242,228,.045);box-shadow:inset 0 0 0 1px rgba(255,238,220,.07);text-align:left;transition:background 0.25s var(--sleepy),box-shadow 0.25s var(--sleepy)}@media (hover:hover){.tr-colbtn:not(:disabled):hover{background:rgba(255,242,228,.08)}}
.tr-colbtn.on{background:rgba(242,187,114,.12);box-shadow:inset 0 0 0 1.5px rgba(242,187,114,.6)}
.tr-colbtn:disabled{opacity:.7;cursor:var(--cu-arrow,default)}
.tc-sw{flex:none;width:30px;height:30px;border-radius:10px;background:var(--c);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.tc-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.tc-t b{font-size:13.5px}.tc-t small{font-size:11.5px;color:var(--linen-3);font-variant-numeric:tabular-nums}
.tc-tg{flex:none;width:36px;height:20px;border-radius:999px;background:rgba(255,242,228,.14);position:relative;transition:background 0.2s var(--sleepy)}
.tc-tg i{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff6ec;transition:transform 0.2s var(--sleepy)}
.tr-colbtn.on .tc-tg{background:#f2bb72}.tr-colbtn.on .tc-tg i{transform:translateX(16px)}
.tc-none{margin:0;font-size:12px;color:var(--linen-3)}
.rc-col i{display:inline-block;width:10px;height:10px;margin-right:6px;border-radius:3px;background:var(--c);vertical-align:-1px}
/* Customise: your splashes (tap one to wear it) */
.me-col{flex-direction:column;align-items:stretch}
.mc-head{display:flex;align-items:center;gap:12px}
.mc-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.mc-c{display:flex;align-items:center;gap:6px;height:30px;padding:0 10px 0 5px;border-radius:999px;font-size:11.5px;font-weight:700;letter-spacing:.03em;color:var(--linen-2);background:rgba(255,242,228,.05);box-shadow:inset 0 0 0 1px rgba(255,238,220,.08);font-variant-numeric:tabular-nums}
.mc-c i{width:20px;height:20px;border-radius:50%;background:var(--c);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}
.mc-c em{font-style:normal;font-size:9.5px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#f2bb72}
.mc-c.on{color:var(--linen);background:rgba(242,187,114,.14);box-shadow:inset 0 0 0 1.5px rgba(242,187,114,.7)}@media (hover:hover){.mc-c:hover{background:rgba(255,242,228,.09)}}
/* trades: splashes, yours and theirs */
.tr-colrow{padding:10px 12px;border-radius:16px;background:rgba(255,242,228,.035);box-shadow:inset 0 0 0 1px rgba(255,238,220,.06)}
.tc-h{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:8px;flex-wrap:wrap}
.tc-h b{font-size:13.5px}.tc-h small{font-size:11.5px;color:var(--linen-3)}
.tc-sides{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media (max-width:560px){.tc-sides{grid-template-columns:1fr}}
.tc-side>small{display:block;margin-bottom:5px;font-size:10.5px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:var(--linen-3)}
.tc-row{display:flex;flex-wrap:wrap;gap:6px}
.tc-c{display:flex;align-items:center;gap:6px;height:30px;padding:0 10px 0 5px;border-radius:999px;font-size:11.5px;font-weight:700;color:var(--linen-2);background:rgba(255,242,228,.05);box-shadow:inset 0 0 0 1px rgba(255,238,220,.08);font-variant-numeric:tabular-nums}
.tc-c i{width:20px;height:20px;border-radius:50%;background:var(--c);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}
.tc-c.on{color:var(--linen);background:rgba(242,187,114,.14);box-shadow:inset 0 0 0 1.5px rgba(242,187,114,.75)}
.tc-c:disabled{opacity:.75;cursor:var(--cu-arrow,default)}
.tc-none{font-size:12px;font-style:normal;color:var(--linen-3)}

/* ===== round nineteen ===== */
:root{--dream:cubic-bezier(.22,.68,.18,1);--serif2:"Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif}
/* ---------- the dreamy, sleepy way things come and go ---------- */
@keyframes dreamIn{from{opacity:0;filter:blur(10px);transform:translateY(10px) scale(.975)}to{opacity:1;filter:none;transform:none}}
@keyframes dreamOut{from{opacity:1;filter:none;transform:none}to{opacity:0;filter:blur(9px);transform:translateY(-4px) scale(.985)}}
@keyframes dreamFadeIn{from{opacity:0;filter:blur(8px)}to{opacity:1;filter:none}}
@keyframes dreamFadeOut{to{opacity:0;filter:blur(8px)}}

/* ---------- the loading screen: the house's sign on the welcome room's warm dark ---------- */
#bootScreen{background:radial-gradient(ellipse 80% 70% at 50% 60%,#3a3036 0%,#29222a 50%,#17131a 100%)}
#bootScreen .bs-blob{width:96px;height:96px;filter:drop-shadow(0 10px 24px rgba(0,0,0,.35))}
#bootScreen h1{font-family:var(--serif2);font-weight:600;letter-spacing:.005em}
#bootScreen.out{transition:opacity 0.6s var(--dream),visibility 0.6s,filter 0.6s var(--dream);filter:blur(10px)}

/* ---------- the welcome ---------- */
.wel{position:fixed;inset:0;z-index:900;overflow:hidden;background:radial-gradient(ellipse 80% 70% at 50% 60%,#3d3d43 0%,#2c2c30 50%,#1b1b1f 100%);color:var(--linen);-webkit-user-select:none;user-select:none;animation:dreamFadeIn 0.55s var(--dream) both}
.wel.bye{animation:none;opacity:0;filter:blur(14px);transform:scale(1.015);transition:opacity 0.6s var(--dream),filter 0.6s var(--dream),transform 0.6s var(--dream);pointer-events:none}
.wel-cv{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}
.wel-vig{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 88% 78% at 50% 56%,rgba(14,10,8,.06) 30%,rgba(14,10,8,.48) 100%)}
.wel[data-stage=reveal] .wel-vig{background:radial-gradient(ellipse 70% 62% at 50% 56%,rgba(14,10,8,.05) 25%,rgba(10,7,6,.72) 100%);transition:background 0.6s}
.wel .hidden{display:none!important}
.wel .w-in{animation:dreamIn 0.42s var(--dream) both}
.wel .w-out{animation:dreamOut 0.28s var(--dream) both;pointer-events:none}
/* the house's sign, top left */
.wel-brand{position:absolute;left:max(22px,env(safe-area-inset-left));top:max(18px,env(safe-area-inset-top));display:flex;align-items:center;gap:12px;pointer-events:none;animation:dreamIn 0.6s .2s var(--dream) both}
.wel-mark{width:46px;height:46px;flex:none;filter:drop-shadow(0 6px 14px rgba(40,22,10,.35))}
.wel-mark svg{width:100%;height:100%;display:block}
.wel-name{display:flex;flex-direction:column;line-height:1.1;text-shadow:0 1px 14px rgba(30,16,8,.55),0 1px 2px rgba(30,16,8,.4)}
.wel-name b{font:600 22px/1.1 var(--serif2);letter-spacing:.005em;color:#fff8ef}
.wel-name small{font-size:12.5px;font-weight:550;color:rgba(255,246,234,.82);margin-top:3px;letter-spacing:.01em}
.wel-x{position:absolute;right:max(18px,env(safe-area-inset-right));top:max(16px,env(safe-area-inset-top));width:40px;height:40px;border-radius:14px;display:grid;place-items:center;background:rgba(28,22,26,.5);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:inset 0 0 0 1px rgba(255,238,220,.1);color:var(--linen-2);transition:background 0.25s var(--dream),color 0.25s;z-index:3}@media (hover:hover){.wel-x:hover{background:rgba(28,22,26,.7);color:var(--linen)}}
.wel-x svg{width:18px;height:18px}
.wel-hint{position:absolute;left:max(24px,env(safe-area-inset-left));bottom:max(20px,env(safe-area-inset-bottom));max-width:min(420px,calc(100vw - 48px));margin:0;font-size:13px;line-height:1.45;color:#f3e7d6;text-shadow:0 1px 8px rgba(0,0,0,.7);pointer-events:none;transition:opacity 0.6s var(--dream),filter 0.6s var(--dream);animation:dreamIn 0.6s 0.6s var(--dream) both}
.wel-hint.gone{opacity:0;filter:blur(6px)}

/* the card */
.wel-card{position:absolute;z-index:2;right:max(clamp(20px,5vw,72px),env(safe-area-inset-right));top:50%;width:min(440px,40vw);max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);overflow:auto;scrollbar-width:none;transform:translateY(-50%);padding:28px 28px 20px;border-radius:26px;background:linear-gradient(180deg,rgba(38,30,35,.82),rgba(28,22,27,.86));-webkit-backdrop-filter:saturate(140%) blur(24px);backdrop-filter:saturate(140%) blur(24px);box-shadow:0 30px 80px rgba(20,10,6,.45),0 2px 10px rgba(20,10,6,.25),inset 0 1px 0 rgba(255,244,230,.07),inset 0 0 0 1px rgba(255,238,220,.08);-webkit-user-select:text;user-select:text}
.wel-card::-webkit-scrollbar{display:none}
.wel-card.w-in{animation:wcIn 0.47s .15s var(--dream) both}
.wel-card.w-out{animation:wcOut 0.3s var(--dream) both}
@keyframes wcIn{from{opacity:0;filter:blur(12px);transform:translateY(calc(-50% + 14px)) scale(.97)}to{opacity:1;filter:none;transform:translateY(-50%)}}
@keyframes wcOut{to{opacity:0;filter:blur(10px);transform:translateY(calc(-50% - 6px)) scale(.985)}}
.wc-h h2{margin:0;font:600 28px/1.15 var(--serif2);letter-spacing:.003em;color:#fff7ee}
.wc-h p{margin:8px 0 0;font-size:14px;line-height:1.5;color:var(--linen-2)}
.wc-h p b{color:var(--linen);font-weight:600}
.wc-seg{margin:20px 0 18px}
.wc-seg button{height:36px;font-size:14px}
.wc-form{display:flex;flex-direction:column}
.wc-form .wf:first-child{margin-top:18px}
.wc-seg+.wc-form .wf:first-child{margin-top:0}
/* a field with its label inside, lifting out of the way as you type */
.wf{position:relative;display:block;margin-top:10px;border-radius:15px;background:rgba(255,242,228,.055);box-shadow:inset 0 0 0 1px rgba(255,238,220,.075);transition:background 0.23s var(--dream),box-shadow 0.23s var(--dream)}@media (hover:hover){.wf:hover{background:rgba(255,242,228,.075)}}
.wf:focus-within{background:rgba(255,242,228,.09);box-shadow:inset 0 0 0 1.5px rgba(242,187,114,.62),0 0 0 4px rgba(242,187,114,.1)}
.wf input{display:block;width:100%;height:56px;padding:22px 16px 6px;border:0;background:transparent;color:var(--linen);font:500 16px/1.2 var(--sans);outline:none;border-radius:15px}
.wf input:focus-visible{outline:none}
.wf.pre input{padding-left:33px}
.wf input[type=password]{letter-spacing:.06em;padding-right:50px}
.wf input#naPass,.wf input#fgPass{padding-right:50px}
.wf input.code{font:600 22px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.42em}
.wf-l{position:absolute;left:16px;top:18px;font-size:15px;color:var(--linen-3);pointer-events:none;transform-origin:0 0;transition:transform 0.23s var(--dream),color 0.23s var(--dream)}
.wf.pre .wf-l{left:16px}
.wf input:focus+.wf-l,.wf input:not(:placeholder-shown)+.wf-l{transform:translateY(-10px) scale(.76);color:var(--linen-2)}
.wf input:focus+.wf-l{color:rgba(242,187,114,.95)}
.wf-pre{position:absolute;left:16px;top:27px;font:500 16px/1.2 var(--sans);color:var(--linen-3);opacity:0;transition:opacity 0.2s var(--dream);pointer-events:none}
.wf.pre input:focus~.wf-pre,.wf.pre input:not(:placeholder-shown)~.wf-pre{opacity:1}
.wf-eye{position:absolute;right:8px;top:9px;width:38px;height:38px;border-radius:11px;display:grid;place-items:center;color:var(--linen-3);transition:color 0.2s,background 0.2s}@media (hover:hover){.wf-eye:hover{color:var(--linen);background:rgba(255,242,228,.06)}}
.wf-eye svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.wf[data-st]::after{content:"";position:absolute;right:16px;top:21px;width:14px;height:14px;border-radius:50%;opacity:0;transition:opacity 0.2s}
.wf[data-st=wait]::after{opacity:1;border:2px solid rgba(255,242,228,.25);border-top-color:rgba(242,187,114,.9);animation:wfSpin .9s linear infinite}
.wf[data-st=ok]::after{opacity:1;background:#9fd8b0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2l2.3 2.3 4.6-4.8' fill='none' stroke='%231d2b22' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
.wf[data-st=bad]::after{opacity:1;background:#f0aeaa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4.5 4.5l5 5M9.5 4.5l-5 5' fill='none' stroke='%232e1716' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat}
@keyframes wfSpin{to{transform:rotate(360deg)}}
.wf-note{display:flex;align-items:center;gap:6px;margin:6px 4px 2px;font-size:12px;line-height:1.4;color:var(--linen-3);min-height:17px;transition:color 0.2s}
.wf-note svg{width:13px;height:13px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.wf-note.good{color:#a9dcb8}
.wf-note.bad{color:#f2b3ad}
.wc-str{display:grid;grid-template-columns:repeat(4,1fr) auto;align-items:center;gap:5px;margin:9px 4px 0}
.wc-str i{height:4px;border-radius:2px;background:rgba(255,242,228,.1);transition:background 0.3s var(--dream)}
.wc-str span{min-width:92px;text-align:right;font-size:12px;color:var(--linen-3);transition:color 0.25s}
.wc-str[data-s="0"] i:nth-child(1){background:#e8857d}
.wc-str[data-s="0"] span{color:#f2b3ad}
.wc-str[data-s="1"] i:nth-child(-n+1){background:#e9b26c}
.wc-str[data-s="2"] i:nth-child(-n+2){background:#e6c46e}
.wc-str[data-s="3"] i:nth-child(-n+3){background:#a9d39a}
.wc-str[data-s="4"] i{background:#8fd3a8}
.wc-str[data-s="3"] span,.wc-str[data-s="4"] span{color:#a9dcb8}
.wc-msg{margin:12px 4px 0;min-height:0;font-size:13px;line-height:1.45;color:var(--linen-2)}
.wc-msg:empty{margin:0}
.wc-msg.bad{color:#f4b6b0}
.wc-go{height:54px;margin-top:16px;border-radius:17px;font-size:16px;letter-spacing:.005em;background:linear-gradient(180deg,#fbf4ea,#efe4d5);box-shadow:0 10px 26px rgba(10,5,2,.28),inset 0 1px 0 #fff;transition:transform 0.25s var(--dream),box-shadow 0.25s var(--dream),opacity 0.2s}@media (hover:hover){.wc-go:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(10,5,2,.32),inset 0 1px 0 #fff}}
.wc-go:active{transform:translateY(1px) scale(.995)}
.wc-go:disabled{opacity:.72;cursor:var(--cu-arrow,default);transform:none}
.wc-go.busy{background:linear-gradient(90deg,#efe4d5,#fbf4ea,#efe4d5);background-size:200% 100%;animation:wcBusy 1.6s linear infinite}
@keyframes wcBusy{to{background-position:-200% 0}}
.wc-links{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 18px;margin-top:12px}
.wc-link{padding:8px 4px;font-size:13.5px;font-weight:600;color:var(--linen-2);border-radius:8px;transition:color 0.2s}@media (hover:hover){.wc-link:hover{color:var(--lamp)}}
.wc-safe{display:flex;align-items:flex-start;gap:8px;margin:14px 2px 0;padding-top:14px;border-top:1px solid rgba(255,238,220,.07);font-size:11.5px;line-height:1.45;color:var(--linen-3)}
.wc-safe svg{width:14px;height:14px;flex:none;margin-top:1px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}
.wc-warn{margin:8px 2px 0;font-size:11.5px;line-height:1.45;color:#f2b3ad}

/* choosing: the heading, the tap areas over the ghosts and their names */
.wel-head{position:absolute;left:0;right:0;top:max(calc(64px + 4vh),env(safe-area-inset-top));top:max(calc(64px + 4dvh),env(safe-area-inset-top));display:flex;flex-direction:column;align-items:center;text-align:center;pointer-events:none;padding:0 20px;z-index:2}
.wel-head small{font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,232,200,.86);text-shadow:0 1px 10px rgba(30,16,8,.6)}
.wel-head h1{margin:8px 0 0;font:600 clamp(34px,5vw,52px)/1.05 var(--serif2);color:#fff8ef;letter-spacing:.002em;text-shadow:0 2px 24px rgba(30,16,8,.55),0 1px 2px rgba(30,16,8,.35)}
.wel-head p{margin:10px 0 0;max-width:460px;font-size:15px;line-height:1.5;color:rgba(255,246,234,.88);text-shadow:0 1px 12px rgba(30,16,8,.7)}
.wel-hit{position:absolute;z-index:1;border-radius:46% 46% 26% 26%;background:transparent;cursor:var(--cu-hand,pointer)}
.wel-hit:focus-visible{outline:2px solid rgba(242,187,114,.75);outline-offset:4px}
.wel-tag{position:absolute;z-index:1;transform:translateX(-50%);padding:5px 12px;border-radius:999px;background:rgba(28,22,26,.55);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:inset 0 0 0 1px rgba(255,238,220,.1);font-size:12.5px;font-weight:650;color:var(--linen);white-space:nowrap;pointer-events:none;animation:dreamIn 0.45s 0.55s var(--dream) both}
.wel-pill{position:absolute;z-index:2;transform:translate(-50%,-100%);display:inline-flex;white-space:nowrap;align-items:center;gap:10px;height:48px;padding:0 22px 0 14px;border-radius:999px;background:linear-gradient(180deg,#fff7ec,#f1e4d3);color:#2b1d14;font-size:15.5px;font-weight:650;box-shadow:0 14px 34px rgba(30,14,4,.35),inset 0 1px 0 #fff;animation:pillIn 0.45s 0.25s var(--dream) both;transition:box-shadow 0.3s var(--dream),transform 0.3s var(--dream)}@media (hover:hover){.wel-pill:hover{box-shadow:0 18px 40px rgba(30,14,4,.42),inset 0 1px 0 #fff;transform:translate(-50%,calc(-100% - 2px))}}
.wel-pill i{width:26px;height:26px;border-radius:50%;background:conic-gradient(from 0deg,#ff4d4d,#ffb04d,#f5f24d,#59e36b,#4dd2ff,#5a6bff,#c34dff,#ff4db8,#ff4d4d);box-shadow:inset 0 0 0 2px rgba(255,255,255,.75),0 2px 8px rgba(0,0,0,.2);animation:pillSpin 6s linear infinite}
.wel-pill.busy i{animation-duration:0.45s}
@keyframes pillSpin{to{transform:rotate(360deg)}}
@keyframes pillIn{from{opacity:0;filter:blur(8px);transform:translate(-50%,calc(-100% + 10px)) scale(.94)}to{opacity:1;filter:none;transform:translate(-50%,-100%)}}
.wel-pill.w-out{animation:pillOut 0.28s var(--dream) both}
@keyframes pillOut{to{opacity:0;filter:blur(8px);transform:translate(-50%,calc(-100% - 8px)) scale(.96)}}
.wel-back{position:absolute;z-index:2;left:max(22px,env(safe-area-inset-left));bottom:max(22px,env(safe-area-inset-bottom));display:inline-flex;align-items:center;gap:6px;height:42px;padding:0 16px 0 10px;border-radius:999px;background:rgba(28,22,26,.55);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:inset 0 0 0 1px rgba(255,238,220,.1);font-size:14px;font-weight:650;color:var(--linen);transition:background 0.25s var(--dream);animation:dreamIn 0.4s 0.2s var(--dream) both}@media (hover:hover){.wel-back:hover{background:rgba(28,22,26,.72)}}
.wel-back svg{width:18px;height:18px}
/* the colour rolling through the spectrum */
.wel-odo{display:flex;flex-direction:column;align-items:center;gap:6px;margin-top:14px}
.wel-odo small{font-size:12.5px;font-weight:600;letter-spacing:.04em;color:rgba(255,240,222,.8);text-shadow:0 1px 10px rgba(0,0,0,.6)}
.wel-odo b{position:relative;font:600 clamp(30px,4.4vw,44px)/1 ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;letter-spacing:.08em;color:#fff8ef;text-shadow:0 2px 20px rgba(0,0,0,.5);font-variant-numeric:tabular-nums}
.wel-odo b.done::after{content:"";position:absolute;left:50%;bottom:-14px;width:44px;height:5px;margin-left:-22px;border-radius:3px;background:var(--c,#fff);box-shadow:0 0 18px var(--c,#fff);animation:dreamIn 0.4s var(--dream) both}
.wel-burst{position:absolute;inset:0;pointer-events:none;opacity:0;background:radial-gradient(circle at 50% 58%,var(--c,#fff) 0%,transparent 55%);mix-blend-mode:screen}
.wel-burst.go{animation:burst 0.7s var(--dream) both}
@keyframes burst{0%{opacity:0;transform:scale(.6)}18%{opacity:.42}100%{opacity:0;transform:scale(1.5)}}
/* the certificate */
.wel-cert{position:absolute;z-index:2;right:max(clamp(20px,5vw,72px),env(safe-area-inset-right));top:50%;width:min(430px,40vw);transform:translateY(-50%);padding:26px 26px 22px;border-radius:26px;background:linear-gradient(180deg,rgba(40,31,36,.86),rgba(28,22,27,.9));-webkit-backdrop-filter:saturate(140%) blur(24px);backdrop-filter:saturate(140%) blur(24px);box-shadow:0 30px 80px rgba(20,10,6,.45),inset 0 1px 0 rgba(255,244,230,.07),inset 0 0 0 1px rgba(255,238,220,.08)}
.wel-cert.w-in{animation:wcIn 0.5s var(--dream) both}
.ct-top{display:flex;align-items:center;gap:18px}
.ct-sw{position:relative;width:86px;height:86px;flex:none;border-radius:50%;background:var(--c);box-shadow:0 12px 30px rgba(0,0,0,.35),0 0 0 6px rgba(255,242,228,.06),0 0 40px -6px var(--c);overflow:hidden}
.ct-sw i{position:absolute;left:16%;top:12%;width:46%;height:30%;border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.75),rgba(255,255,255,0));transform:rotate(-24deg)}
.ct-id{display:flex;flex-direction:column;min-width:0}
.ct-id small{font-size:11.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,226,190,.8)}
.ct-id h2{margin:4px 0 0;font:600 26px/1.12 var(--serif2);color:#fff7ee}
.ct-id b{margin-top:6px;font:600 17px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em;color:var(--linen-2)}
.ct-spec{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:20px 0 0}
.ct-spec div{padding:10px 11px;border-radius:13px;background:rgba(255,242,228,.05);box-shadow:inset 0 0 0 1px rgba(255,238,220,.06)}
.ct-spec dt{font-size:10.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--linen-3)}
.ct-spec dd{margin:4px 0 0;font-size:13px;font-weight:600;color:var(--linen);font-variant-numeric:tabular-nums;white-space:nowrap}
.ct-line{margin:16px 2px 0;font-size:14px;line-height:1.55;color:var(--linen)}
.ct-line b{font-weight:650}
.ct-more{margin:8px 2px 0;font-size:12.5px;line-height:1.5;color:var(--linen-3)}
.ct-go{margin-top:18px}
/* the flat version (no WebGL): a simple warm room */
.wel.flat .wel-vig{background:radial-gradient(ellipse 88% 78% at 50% 56%,rgba(14,10,8,0) 30%,rgba(14,10,8,.42) 100%)}

/* ---------- phones: the card and the certificate become sheets at the bottom, the ghosts stand above ---------- */
@media (max-width:759px){
  .wel-brand{left:50%;transform:translateX(-50%);top:max(14px,env(safe-area-inset-top));gap:9px;animation:none}
  .wel-mark{width:36px;height:36px}
  .wel-name b{font-size:18px}
  .wel-name small{display:none}
  .wel-card,.wel-cert{left:0;right:0;top:auto;bottom:0;width:auto;max-height:66vh;max-height:66dvh;transform:none;border-radius:26px 26px 0 0;padding:22px 20px max(18px,env(safe-area-inset-bottom))}
  .wel-card.w-in,.wel-cert.w-in{animation:sheetIn 0.47s var(--dream) both}
  .wel-card.w-out{animation:sheetOut 0.3s var(--dream) both}
  @keyframes sheetIn{from{opacity:0;filter:blur(10px);transform:translateY(40px)}to{opacity:1;filter:none;transform:none}}
  @keyframes sheetOut{to{opacity:0;filter:blur(8px);transform:translateY(30px)}}
  .wc-h h2{font-size:24px}
  .wc-h p{font-size:13.5px}
  .wc-seg{margin:16px 0 14px}
  .wel-hint{display:none}
  .wel-head{top:max(64px,calc(env(safe-area-inset-top) + 50px))}
  .wel-head h1{font-size:34px}
  .wel-head p{font-size:14px}
  .ct-sw{width:68px;height:68px}
  .ct-id h2{font-size:22px}
  .ct-spec dd{font-size:12px}
}
@media (prefers-reduced-motion:reduce){.wel *,.wel{animation-duration:.01s!important;transition-duration:.01s!important}}

/* ---------- the home menu: Play is a bar like the others; the warm glow is on the Blob Pass now ---------- */
#home:not(.playing) #hmPlayBtn{grid-template-columns:30px minmax(0,1fr) 16px;column-gap:10px;padding:6px 10px 6px 7px;min-height:0;border-radius:14px;background:rgba(255,242,228,.04);box-shadow:inset 0 0 0 1px rgba(255,238,220,.045)}@media (hover:hover){#home:not(.playing) #hmPlayBtn:hover{background:rgba(255,242,228,.085);box-shadow:inset 0 0 0 1px rgba(255,238,220,.09)}}
#home:not(.playing) #hmPlayBtn .mi{width:30px;height:30px;border-radius:10px;background:rgba(255,242,228,.07);color:var(--linen-2)}
#home:not(.playing) #hmPlayBtn .mi .i{width:16px;height:16px}
#home:not(.playing) #hmPlayBtn .hm-t{flex-direction:row;align-items:baseline;gap:9px}
#home:not(.playing) #hmPlayBtn .hm-t b{font-size:14px;white-space:nowrap;flex:none}
#home:not(.playing) #hmPlayBtn .hm-t small{font-size:11.5px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
#home:not(.playing) #hmPlayBtn .chev{display:flex}
#home:not(.playing) #hmPlayBtn .chev .i{width:16px;height:16px}
@media (max-height:760px){#home:not(.playing) #hmPlayBtn{padding-top:4px;padding-bottom:4px}}
@media (max-height:640px){#home:not(.playing) #hmPlayBtn small{display:none}}
#home:not(.playing) #hmPass{background:linear-gradient(180deg,rgba(242,187,114,.15),rgba(242,187,114,.06));box-shadow:inset 0 0 0 1px rgba(242,187,114,.26),0 0 22px -6px rgba(242,170,90,.45);animation:passGlow 4.2s var(--dream) infinite alternate}@media (hover:hover){#home:not(.playing) #hmPass:hover{background:linear-gradient(180deg,rgba(242,187,114,.22),rgba(242,187,114,.09))}}
#home:not(.playing) #hmPass .mi{background:var(--lamp);color:#2b1d0e}
@keyframes passGlow{from{box-shadow:inset 0 0 0 1px rgba(242,187,114,.22),0 0 14px -8px rgba(242,170,90,.35)}to{box-shadow:inset 0 0 0 1px rgba(242,187,114,.34),0 0 26px -4px rgba(242,170,90,.55)}}

/* ---------- everything comes and goes the dreamy, sleepy way ---------- */
.dz-out{opacity:0!important;filter:blur(9px);transform:scale(.985);transition:opacity 0.17s var(--dream),filter 0.17s var(--dream),transform 0.17s var(--dream)!important;pointer-events:none}
.dz-in{animation:dreamIn 0.45s var(--dream) both}
#toasts .toast{animation:dreamIn 0.47s var(--dream) both!important}
#toasts .toast.out{animation:dreamOut 0.5s var(--dream) both!important;pointer-events:none}
.fading{animation:dreamOut 0.25s var(--dream) forwards!important;pointer-events:none!important}
#modal:not(.hidden):not(.fading){animation:dreamFadeIn 0.35s var(--dream) both}
#modal:not(.hidden):not(.fading) .sheet{animation:dreamIn 0.42s var(--dream) both}
#modal.fading{animation:dreamFadeOut 0.25s var(--dream) forwards!important}
#modal.fading .sheet{animation:dreamOut 0.25s var(--dream) forwards!important}
#pop:not(.hidden):not(.fading),#meMenu:not(.hidden):not(.fading),#qcPop:not(.hidden):not(.fading){animation:dreamIn 0.35s var(--dream) both}
#pop.fading,#meMenu.fading,#qcPop.fading{animation:dreamOut 0.23s var(--dream) forwards!important}
.page-card{filter:blur(10px);transition:opacity 0.45s var(--dream),transform 0.45s var(--dream),filter 0.45s var(--dream)!important}
#page.show .page-card{filter:none}
#side{filter:blur(8px);opacity:0;transition:transform 0.5s var(--dream),opacity 0.45s var(--dream),filter 0.45s var(--dream),visibility 0s linear 0.5s}
#side.show{filter:none;opacity:1;transition:transform 0.5s var(--dream),opacity 0.45s var(--dream),filter 0.45s var(--dream),visibility 0s}

/* ---------- Customise: the username is fixed here; girl or boy is for good ---------- */
#meDrawer .field.ro input{color:var(--linen-2);cursor:var(--cu-arrow,default)}
#meDrawer .field.ro{background:rgba(255,242,228,.025)}
#meGender.fixed .tile[aria-disabled=true]{cursor:var(--cu-arrow,default)}
#meGender.fixed{grid-template-columns:minmax(0,120px)!important}
.un-wait{display:flex;gap:10px;align-items:flex-start;margin:4px 0 16px;padding:12px 14px;border-radius:14px;background:rgba(255,242,228,.05);font-size:14px;line-height:1.5;color:var(--linen-2)}
.un-wait svg{width:18px;height:18px;flex:none;margin-top:2px}
.rc-was{color:var(--linen-3);font-size:.92em}

/* ---------- the first game: a tip by the volume button ---------- */
.vtip{position:fixed;z-index:80;display:flex;align-items:center;gap:10px;max-width:min(330px,calc(100vw - 20px));padding:10px 8px 10px 12px;border-radius:16px;background:rgba(40,31,36,.96);box-shadow:0 14px 34px rgba(0,0,0,.4),inset 0 0 0 1px rgba(255,238,220,.1);font-size:13px;line-height:1.4;color:var(--linen);animation:dreamIn 0.45s var(--dream) both}
.vtip::before{content:"";position:absolute;top:-6px;left:calc(var(--ax,40px) - 6px);width:12px;height:12px;background:rgba(40,31,36,.96);transform:rotate(45deg);border-radius:2px;box-shadow:-1px -1px 0 rgba(255,238,220,.1)}
.vtip .vt-ic{width:28px;height:28px;flex:none;border-radius:9px;display:grid;place-items:center;background:rgba(242,187,114,.16);color:var(--lamp)}
.vtip .vt-ic svg{width:16px;height:16px}
.vtip button{width:28px;height:28px;flex:none;border-radius:9px;display:grid;place-items:center;color:var(--linen-3);transition:background 0.2s,color 0.2s}@media (hover:hover){.vtip button:hover{background:rgba(255,242,228,.07);color:var(--linen)}}
.vtip button svg{width:14px;height:14px}
.vtip.out{animation:dreamOut 0.33s var(--dream) both}
/* Customise · Cards: the decks you own sit beside the house's Classic */
.deckTile19{position:relative;min-width:0}
.deckTile19 canvas{max-width:72px;aspect-ratio:1/.92}
.deckTile19 span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#meBacks.dk19{opacity:.55;transition:opacity 0.25s var(--dream)}@media (hover:hover){#meBacks.dk19:hover{opacity:.85}}

/* ---------- round 20 ---------- */
/* the dock: what was there melts away while the next thing drifts in */
#dock>div.dock-ghost20{position:absolute;animation:none!important;pointer-events:none;z-index:1;margin:0;transition:opacity 0.25s var(--dream),filter 0.25s var(--dream),transform 0.25s var(--dream)}
#dock>div.dock-ghost20.out{opacity:0;filter:blur(7px);transform:translateY(5px) scale(.97)}
@keyframes dock20In{from{opacity:0;filter:blur(7px);transform:translateY(7px) scale(.985)}to{opacity:1;filter:blur(0);transform:none}}
#dock>div:not(.hidden):not(.dock-ghost20):not(#dockTimer):not(#turnClock):not(#holdTip){animation:dock20In 0.33s var(--dream) both}
#dock .act{transition:transform 0.17s var(--dream),filter 0.17s var(--dream),background-color 0.23s var(--dream),box-shadow 0.23s var(--dream)}
#dock .act:active{transform:scale(.96);filter:brightness(1.08)}
/* the sign-in card: one size for both tabs, the old tab melting out as the new one drifts in */
.wel-card{display:flex;flex-direction:column;transition:min-height 0.35s var(--dream)}
.wel-card>*{flex:none}
.wel-card[data-m=in] .wc-form{flex:1 0 auto;justify-content:center}
.wel-card .wc-links{margin-bottom:6px}
.wel-card .wc-safe{margin-top:auto}
.wc-ghost20{position:absolute;left:0;right:0;top:0;pointer-events:none;display:flex;flex-direction:column;transition:opacity 0.21s var(--dream),filter 0.21s var(--dream),transform 0.21s var(--dream)}
.wc-ghost20 .wc-seg{visibility:hidden}
.wc-ghost20.out{opacity:0;filter:blur(9px);transform:translateY(-5px)}
@keyframes wc20In{from{opacity:0;filter:blur(9px);transform:translateY(7px)}to{opacity:1;filter:none;transform:none}}
.wel-card.sw20>*:not(.wc-ghost20):not(.wc-seg){animation:wc20In 0.35s .12s var(--dream) both}
.wel-card.sw20>.wc-form{animation-delay:.18s}
.wel-card.sw20>.wc-links,.wel-card.sw20>.wc-safe{animation-delay:.26s}
/* every box and its highlight eases the same sleepy way */
.wf{transition:background 0.35s var(--dream),box-shadow 0.35s var(--dream),transform 0.35s var(--dream)}
.wf:focus-within{transform:translateY(-1px)}
.wf-l{transition:transform 0.3s var(--dream),color 0.3s var(--dream)}
.wc-seg button{transition:color 0.3s var(--dream)}
.wc-link{transition:color 0.3s var(--dream),background-color 0.3s var(--dream)}
/* who you were last time, on the log-in tab */
.wc-who{display:flex;align-items:center;gap:12px;width:100%;margin:0 0 14px;padding:10px 14px 10px 10px;border-radius:18px;background:rgba(255,242,228,.05);box-shadow:inset 0 0 0 1px rgba(255,238,220,.08);text-align:left;color:var(--linen);transition:background 0.35s var(--dream),box-shadow 0.35s var(--dream)}@media (hover:hover){.wc-who:hover{background:rgba(255,242,228,.08);box-shadow:inset 0 0 0 1px rgba(242,187,114,.3)}}
.wc-who canvas{width:44px;height:44px;flex:none;border-radius:14px;background:radial-gradient(circle at 50% 60%,rgba(255,236,210,.12),rgba(255,236,210,0) 70%)}
.wc-who span{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.wc-who b{font:600 15px/1.2 var(--sans);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wc-who small{font-size:12.5px;color:var(--linen-3)}
.wc-who i{width:18px;height:18px;flex:none;color:rgba(242,187,114,.8)}
.wc-who i svg{width:18px;height:18px}
/* the splash, like a film: soft black bars ease in at the top and bottom while it happens */
.wel::before,.wel::after{content:"";position:absolute;left:0;right:0;height:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(8,6,7,.92),rgba(8,6,7,.86));transition:height 1.6s var(--dream)}
.wel::before{top:0}
.wel::after{bottom:0;background:linear-gradient(0deg,rgba(8,6,7,.92),rgba(8,6,7,.86))}
.wel[data-stage=reveal]::before,.wel[data-stage=reveal]::after{height:min(7vh,64px);height:min(7dvh,64px)}
.wel .wel-head,.wel .wel-brand{z-index:3}
/* signing out: the house drifts out of focus into the dark */
.so-fade20{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;background:radial-gradient(120% 90% at 50% 40%,rgba(38,28,30,.92),rgba(12,9,11,.98));opacity:0;backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0);transition:opacity 0.45s var(--dream),backdrop-filter 0.45s var(--dream),-webkit-backdrop-filter 0.45s var(--dream);pointer-events:all}
.so-fade20.on{opacity:1;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.so-fade20 span{font:600 15px/1 var(--font,inherit);letter-spacing:.06em;color:rgba(255,240,224,.75);filter:blur(6px);opacity:0;transform:translateY(6px);transition:filter 0.5s var(--dream) .15s,opacity 0.5s var(--dream) .15s,transform 0.5s var(--dream) .15s}
.so-fade20.on span{filter:blur(0);opacity:1;transform:none}
/* folded by the clock: three little bars along the dock's border at its top right, up the side and round the corner */
#dockStrikes{position:absolute;right:0;top:0;overflow:visible;pointer-events:none;z-index:4;opacity:0;transition:opacity 0.45s var(--dream)}
#dockStrikes.on{opacity:1}
#dockStrikes path{fill:none;stroke:rgba(255,238,220,.17);stroke-width:2.6;stroke-linecap:round;transition:stroke 0.4s var(--dream),filter 0.4s var(--dream)}
#dockStrikes path.used{stroke:#ef8257;filter:drop-shadow(0 0 3px rgba(239,130,87,.9)) drop-shadow(0 0 8px rgba(239,130,87,.35))}
/* the deck vote: an island at the top, everyone in one straight line, the decks beneath */
#dvote.dvi20{position:fixed;z-index:17;top:calc(var(--top, 0px) + 14px);left:calc(50% + var(--dvx, 0px));width:max-content;min-width:min(300px,calc(100vw - 24px));max-width:min(660px,calc(100vw - 24px));padding:12px 14px 12px;border-radius:30px;background:rgba(10,8,10,.93);box-shadow:0 18px 50px -12px rgba(0,0,0,.7),inset 0 0 0 1px rgba(255,238,220,.07);backdrop-filter:blur(18px) saturate(1.2);-webkit-backdrop-filter:blur(18px) saturate(1.2);color:var(--linen);transform:translateX(-50%) scale(.42,.3);transform-origin:50% 0;opacity:0;filter:blur(8px);transition:transform 0.45s cubic-bezier(.2,1.25,.32,1),opacity 0.3s var(--dream),filter 0.35s var(--dream),border-radius 0.45s var(--dream)}
#dvote.dvi20.open{transform:translateX(-50%);opacity:1;filter:none}
#dvote.dvi20.fading{animation:none!important;transform:translateX(-50%) scale(.6,.4);opacity:0;filter:blur(8px);transition:transform 0.28s var(--dream),opacity 0.23s var(--dream),filter 0.25s var(--dream)}
#dvote.dvi20 .dv-head{display:flex;flex-direction:column;align-items:center;gap:2px;padding:0 6px 10px;text-align:center}
#dvote.dvi20 .dv-head b{font-size:14px;font-weight:650;letter-spacing:.01em}
#dvote.dvi20 .dv-head small{font-size:11.5px;color:var(--linen-3)}
.dvi-ppl{display:flex;justify-content:center;gap:6px;padding:0 2px}
.dvi-p{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;width:52px;flex:0 1 52px;min-width:34px}
.dvi-av{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:rgba(255,242,228,.06);box-shadow:inset 0 0 0 1px rgba(255,238,220,.07);transition:box-shadow 0.35s var(--dream),background 0.35s var(--dream)}
.dvi-av canvas{width:30px;height:30px}
.dvi-p small{max-width:100%;font-size:10.5px;color:var(--linen-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dvi-v{display:grid;place-items:center;height:20px;opacity:.28;transition:opacity 0.3s var(--dream)}
.dvi-v:empty::before{content:"";width:5px;height:5px;border-radius:50%;background:rgba(255,238,220,.55);animation:dvi20Dot 1.6s var(--dream) infinite}
@keyframes dvi20Dot{50%{opacity:.25;transform:scale(.7)}}
.dvi-v canvas{display:block;height:auto;animation:dvi20Pop 0.3s cubic-bezier(.2,1.4,.4,1) both;filter:drop-shadow(0 2px 3px rgba(0,0,0,.4))}
@keyframes dvi20Pop{from{opacity:0;transform:translateY(-6px) scale(.5)}}
.dvi-p.voted .dvi-v{opacity:1}
.dvi-p.voted .dvi-av{box-shadow:inset 0 0 0 1.5px rgba(242,187,114,.55)}
.dvi-p.win .dvi-av{background:rgba(242,187,114,.16);box-shadow:inset 0 0 0 1.5px rgba(242,187,114,.9),0 0 18px -4px rgba(242,187,114,.7)}
.dvi-fold{display:grid;grid-template-rows:1fr;transition:grid-template-rows 0.4s var(--dream),opacity 0.3s var(--dream),margin 0.4s var(--dream);margin-top:10px}
.dvi-fold>*{min-height:0}
.dvi-fold{overflow:hidden}
#dvote.dvi20 .dv-row{padding-top:4px}
.dvi-fold>.dv-row{overflow-x:auto;overflow-y:hidden}
#dvote.dvi20.closed .dvi-fold{grid-template-rows:0fr;opacity:0;margin-top:0}
#dvote.dvi20 .dv-row{display:flex;gap:6px;justify-content:safe center;padding:2px;scrollbar-width:none}
#dvote.dvi20 .dv-row::-webkit-scrollbar{display:none}
#dvote.dvi20 .dv-t{flex:none;flex-direction:row;align-items:center;gap:8px;width:auto;max-width:190px;padding:6px 10px 6px 7px;border-radius:16px;text-align:left}
#dvote.dvi20 .dvi-bk{display:grid;place-items:center;flex:none}
#dvote.dvi20 .dvi-bk canvas{display:block;height:auto;filter:drop-shadow(0 3px 5px rgba(0,0,0,.4))}
#dvote.dvi20 .dvi-tx{display:flex;flex-direction:column;min-width:0;gap:1px}
#dvote.dvi20 .dv-t b{display:block;min-height:0;font-size:12px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:120px;text-align:left}
#dvote.dvi20 .dv-t small{font-size:10.5px}
#dvote.dvi20 .dv-t em.dv-n{flex:none;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;margin:0;border-radius:10px;background:rgba(255,242,228,.07);font-style:normal;font-size:11px;font-weight:800;color:var(--linen-2);font-variant-numeric:tabular-nums}
#dvote.dvi20 .dv-t.mine em.dv-n{background:rgba(242,187,114,.3);color:#fff3e2}
#dvote.dvi20 .dv-bar{margin:9px 8px 0}
/* on a computer every deck shows at once (in a second row if need be); a phone slides them */
@media (min-width:761px){#dvote.dvi20 .dv-row{flex-wrap:wrap;justify-content:center;overflow:visible}#dvote.dvi20 .dv-t{max-width:176px}#dvote.dvi20 .dv-t b{max-width:104px}}
@media (max-width:760px){
  #dvote.dvi20{padding:10px 10px 10px;border-radius:24px}
  .dvi-p{width:42px;flex-basis:42px}
  .dvi-av{width:32px;height:32px}
  .dvi-av canvas{width:26px;height:26px}
  #dvote.dvi20 .dv-row{justify-content:flex-start}
}
/* your cards in the corner are the same cards as on the felt: the same cream, the same inks, under the same warm lamp */
.pcard .face{background:#f3eee6;color:#34313d}
.pcard .red{color:#c85a61}
.pcard .back::after,.pcard .face::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(165deg,rgba(255,206,150,.13),rgba(150,96,60,.10) 70%,rgba(90,52,40,.14));mix-blend-mode:multiply}

/* ---------- round 21 ---------- */
/* scrolling boxes aren't masked any more (a mask on the box itself made every scroll step repaint the whole list);
   the soft edge comes from a fade laid over the edge instead */
#chatList,#meBody,.home-scroll,.page-body,.qc-list,.sd-body,.bp-track,.people{-webkit-mask-image:none!important;mask-image:none!important}
.page-card::after{content:"";position:absolute;left:0;right:0;bottom:0;height:26px;pointer-events:none;border-radius:0 0 28px 28px;background:linear-gradient(to bottom,rgba(30,24,29,0),rgba(30,24,29,.92));z-index:2}
/* the catch-up chest: "catch up!" in small glowing orange under it */
#chestRow .cr.cr-catch21{position:relative;overflow:visible}
#chestRow .cr.cr-catch21 small{position:absolute;left:50%;top:calc(100% + 1px);transform:translateX(-50%);white-space:nowrap;font:800 9.5px/1 var(--sans);letter-spacing:.04em;color:#ffb070;text-shadow:0 0 6px rgba(255,140,60,.9),0 0 14px rgba(255,120,40,.55);animation:catch21 2.4s var(--dream) infinite;pointer-events:none}
@keyframes catch21{50%{color:#ffd0a0;text-shadow:0 0 9px rgba(255,150,70,1),0 0 20px rgba(255,120,40,.75)}}
/* signed in somewhere else */
.else21{position:fixed;inset:0;z-index:2147482000;display:grid;place-items:center;padding:20px;background:rgba(10,8,12,.62);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);opacity:0;transition:opacity 0.3s var(--dream)}
.else21.on{opacity:1}
.else21.bye{opacity:0}
.else21-card{width:min(420px,100%);padding:26px 24px 20px;border-radius:26px;text-align:center;transform:translateY(8px) scale(.98);transition:transform 0.35s var(--dream)}
.else21.on .else21-card{transform:none}
.else21-ic{display:inline-grid;place-items:center;width:46px;height:46px;border-radius:16px;background:rgba(242,187,114,.14);color:#f2bb72;margin-bottom:10px}
.else21-ic svg{width:24px;height:24px}
.else21 h3{margin:0 0 8px;font:650 18px/1.3 var(--sans);color:var(--linen)}
.else21 p{margin:0 0 8px;font-size:14px;line-height:1.5;color:var(--linen-2)}
.else21 .else21-note{font-size:12.5px;color:var(--linen-3)}
.else21-btns{display:flex;gap:10px;justify-content:center;margin-top:16px}
/* "not now": a slim reminder at the top that stays put */
.else21.mini{inset:auto 0 auto 0;top:12px;background:none;backdrop-filter:none;-webkit-backdrop-filter:none;pointer-events:none}
.else21.mini .else21-card{pointer-events:auto;width:auto;display:flex;align-items:center;gap:12px;padding:10px 12px 10px 16px;border-radius:999px;text-align:left}
.else21.mini .else21-ic,.else21.mini h3,.else21.mini .else21-note,.else21.mini #else21No{display:none}
.else21.mini p{margin:0;font-size:13px}
.else21.mini .else21-btns{margin:0}
/* the greeting card goes back to the top right on a computer (the menu is short enough now), below the top bar */
@media (min-width:760px){
  #homeCard{top:calc(var(--top) + 56px);bottom:auto;animation-name:homeCard21}
  #side.show ~ #homeCard{transform:translateY(-10px)}
  body[data-scene=menu]:not(.ovl):not(.me-open) #toasts{bottom:18px}
}
@keyframes homeCard21{from{opacity:0;transform:translateY(-14px)}}
@media (min-width:641px) and (max-width:759px){body[data-scene=menu]:not(.ovl):not(.me-open) #toasts{bottom:auto;top:calc(var(--top) + 58px + var(--hc-h, 130px))!important}}
/* a splash's hex beside a name */
.hx21{display:inline-flex;align-items:center;gap:5px;margin-left:8px;padding:2px 7px 2px 4px;border-radius:99px;background:rgba(255,242,228,.07);font:650 10.5px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.04em;color:var(--linen-2,#e6d9cc);vertical-align:middle;white-space:nowrap}
.hx21 i{width:11px;height:11px;border-radius:50%;background:var(--c);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.cpop-t .hx21{margin-left:6px}
.pf-name .hx21{font-size:12px;padding:3px 9px 3px 5px}.pf-name .hx21 i{width:13px;height:13px}
.you21{font-weight:500;opacity:.62}
.wc-who.gone21{transition:opacity 0.2s,transform 0.2s;opacity:0;transform:scale(.96)}
.wc-msg.soft21{color:var(--linen-2,#e6d9cc)}
/* News & updates */
#hmNews{position:relative}#hmNews.unseen21 .hm-t{padding-right:14px}
#hmNews .nw21-dot{display:none;position:absolute;right:40px;top:50%;width:8px;height:8px;margin-top:-4px;border-radius:50%;background:var(--lamp,#f2bb72);box-shadow:0 0 0 3px rgba(242,187,114,.16),0 0 12px rgba(242,187,114,.6);flex:none}
#hmNews.unseen21 .nw21-dot{display:block}
.nw21-top h2{margin:0 2px 2px;font-size:24px;font-weight:700;color:var(--linen,#f3e9de)}.nw21-top p{margin:2px 2px 4px;color:var(--linen-3,#bfb2a6);font-size:13px}
.nw21-e{margin-top:14px;padding:16px 18px 6px;border-radius:20px;background:rgba(255,242,228,.045);box-shadow:inset 0 0 0 1px rgba(255,238,220,.06)}
.nw21-e.first{background:linear-gradient(180deg,rgba(242,187,114,.09),rgba(255,242,228,.04) 60%);box-shadow:inset 0 0 0 1px rgba(242,187,114,.16)}
.nw21-h{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--linen-3,#bfb2a6)}
.nw21-v{font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:var(--lamp,#f2bb72)}
.nw21-new{margin-left:auto;padding:2px 8px;border-radius:99px;font-style:normal;font-weight:750;font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;background:rgba(242,187,114,.18);color:var(--lamp,#f2bb72)}
.nw21-e h3{margin:6px 0 4px;font-size:20px;font-weight:700;color:var(--linen,#f3e9de)}
.nw21-sum{margin:0 0 10px;font-size:13.5px;line-height:1.5;color:var(--linen-2,#e6d9cc)}
.nw21-g{padding:10px 0 6px;border-top:1px solid rgba(255,238,220,.07)}
.nw21-g h4{margin:0 0 6px;font-size:11px;font-weight:750;letter-spacing:.1em;text-transform:uppercase;color:var(--linen-3,#bfb2a6)}
.nw21-g[data-g=new] h4{color:#7fd49a}.nw21-g[data-g=fixed] h4{color:#8fbcf2}
.nw21-g ul{margin:0;padding:0 0 0 18px}
.nw21-g li{margin:0 0 7px;font-size:13.5px;line-height:1.5;color:var(--linen-2,#e6d9cc)}
.nw21-g li::marker{color:rgba(255,238,220,.35)}
.nw21-g li b{color:var(--linen,#f3e9de);font-weight:650}

/* the move clock's three bars: lit to start with, one goes out each time the clock runs out */
#dockStrikes path{stroke:#ef8257;filter:drop-shadow(0 0 3px rgba(239,130,87,.85)) drop-shadow(0 0 8px rgba(239,130,87,.3))}
#dockStrikes path.used{stroke:rgba(255,238,220,.14);filter:none}
/* ---------- you, in a thin strip at the top left ---------- */
#homeCard.x22-strip{left:16px;right:auto;top:var(--top);bottom:auto;width:auto;max-width:calc(100vw - var(--tb-w,420px) - 52px);min-height:44px;padding:4px 16px 4px 5px;border-radius:22px;display:flex;align-items:center;animation-name:strip22}
@keyframes strip22{from{opacity:0;transform:translateY(-8px)}}
#homeCard.x22-strip .hm-head{display:none}
#homeCard.x22-strip .hm-you{display:grid;grid-template-columns:34px auto auto auto;grid-template-rows:auto auto;align-items:center;column-gap:0;row-gap:3px;width:auto;margin:0!important;padding:0!important;background:none!important;box-shadow:none!important;border-radius:16px}
#homeCard.x22-strip .hm-av{grid-row:1/span 2;grid-column:1;width:34px;height:34px;margin-right:10px;overflow:hidden}
#homeCard.x22-strip #homeBlob{width:34px;height:34px}
#homeCard.x22-strip .hm-id{grid-row:1/span 2;grid-column:2;display:flex;flex-direction:column;justify-content:center;gap:1px;min-width:0;padding-right:14px}
#homeCard.x22-strip .hm-nm{display:flex;align-items:center;gap:6px;white-space:nowrap}
#homeCard.x22-strip .hm-nm b{font-size:13.5px;line-height:1.2;overflow:visible;text-overflow:clip;white-space:nowrap;max-width:none}
#homeCard.x22-strip .hm-lv{transform:scale(.86);transform-origin:left center}
#homeCard.x22-strip #homeTitle{font-size:11.5px;line-height:1.2;white-space:nowrap}
#homeCard.x22-strip #homeTitle .ttl,#homeCard.x22-strip #homeTitle .ttl-none{font-size:11.5px;max-width:none;overflow:visible;text-overflow:clip}
#homeCard.x22-strip .hm-rk,#homeCard.x22-strip .x22-pl{grid-row:1;display:flex;align-items:center;gap:6px;padding:0 14px;white-space:nowrap;border-left:1px solid rgba(255,238,220,.09);font-size:11.5px;line-height:1.15}
#homeCard.x22-strip .hm-rk{grid-column:3}
#homeCard.x22-strip .hm-rk svg,#homeCard.x22-strip .hm-rk img{width:18px!important;height:18px!important;flex:none}
#homeCard.x22-strip .hm-rk span{display:flex;flex-direction:row;align-items:baseline;gap:5px}
#homeCard.x22-strip .hm-rk b,#homeCard.x22-strip .x22-pl b{font-size:11.5px;font-weight:650}
#homeCard.x22-strip .hm-rk small,#homeCard.x22-strip .x22-pl small{font-size:11px;color:var(--linen-3,#bfb2a6)}
#homeCard.x22-strip .x22-pass{display:contents}
#homeCard.x22-strip .x22-pl{grid-column:4;gap:5px}
#homeCard.x22-strip .x22-pl b{color:var(--lamp,#f2bb72)}
#homeCard.x22-strip .hm-prog{grid-row:2;height:3px;margin:0 14px;border-radius:3px;background:rgba(255,238,220,.1);overflow:hidden;align-self:start;width:auto}
#homeCard.x22-strip .hm-prog:not(.x22-pp){grid-column:3}
#homeCard.x22-strip .x22-pp{grid-column:4}
#homeCard.x22-strip .hm-prog i{display:block;height:100%;border-radius:3px}
#homeCard.x22-strip .x22-pp i{background:linear-gradient(90deg,#f2bb72,#f6d49b)}
#homeCard.x22-strip .hm-next{display:none}
#home #hmPlayBtn{grid-template-columns:40px minmax(0,1fr) auto 18px}
#home:not(.playing) #hmPlayBtn{grid-template-columns:30px minmax(0,1fr) auto 16px}
#hmPlayBtn .x22-on{margin:0;display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:11.5px;color:var(--linen-3,#bfb2a6);font-variant-numeric:tabular-nums}#hmPlayBtn .x22-on .live-dot{transform:scale(.8)}
#hmPlayBtn .hm-t{min-width:0}
@media (max-width:420px){#hmPlayBtn .x22-on{display:none}}
@media (max-width:759px){
  #homeCard.x22-strip{left:8px;right:8px;top:calc(var(--top) + 50px);max-width:none;padding:4px 12px 4px 5px;justify-content:flex-start}
  #homeCard.x22-strip .hm-you{grid-template-columns:30px minmax(0,auto) 1fr 1fr;width:100%}
  #homeCard.x22-strip .hm-av{width:30px;height:30px;margin-right:8px}
  #homeCard.x22-strip #homeBlob{width:30px;height:30px}
  #homeCard.x22-strip .hm-id{padding-right:10px}
  #homeCard.x22-strip .hm-rk,#homeCard.x22-strip .x22-pl{padding:0 10px}
  #homeCard.x22-strip .hm-prog{margin:0 10px}
  #homeCard.x22-strip .x22-pl small{display:none}
}
@media (max-width:420px){ #homeCard.x22-strip .hm-rk small{display:none} #homeCard.x22-strip .x22-pl b{font-size:0}#homeCard.x22-strip .x22-pl b::after{content:'Pass';font-size:11.5px} }

/* ---------- looks in Customise ---------- */
#meExprs .x22-cap{display:flex;align-items:center;gap:7px}
#meExprs .x22-cap i{width:8px;height:8px;border-radius:50%;background:var(--c);box-shadow:0 0 8px var(--c)}
#meExprs .x22-cap small{margin-left:auto;font-weight:500;opacity:.6}
#meExprs .tile.x22-r{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--rc) 45%,transparent)}
#meExprs .x22-more{display:block;margin:6px auto 14px;padding:7px 14px;border-radius:99px;background:rgba(255,242,228,.06);color:var(--linen-2,#e6d9cc);font-size:12.5px}
.bp-expr.x22-mys{filter:saturate(.9)}

/* ---------- rooms: a look around ---------- */
body[data-rpv22] #home,body[data-rpv22] #homeCard{opacity:0!important;pointer-events:none!important;transition:opacity 0.25s var(--dream,ease)}
.rpv22{position:fixed;z-index:20;left:50%;top:calc(var(--top) + 58px);transform:translate(-50%,-8px);display:flex;align-items:center;gap:14px;padding:10px 10px 10px 18px;border-radius:20px;opacity:0;pointer-events:none;transition:opacity 0.25s var(--dream,ease),transform 0.25s var(--dream,ease);max-width:calc(100vw - 24px)}
.rpv22.on{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.rpv22 .rpv-t{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.rpv22 .rpv-t b{font-size:15px}
.rpv22 .rpv-t small{flex-basis:100%;font-size:12px;color:var(--linen-3,#bfb2a6)}
.rpv22 .rpv-n{font-size:12px;color:var(--linen-3,#bfb2a6);white-space:nowrap}
@media (max-width:640px){.rpv22 .rpv-n{display:none}.rpv22 .rpv-t small{display:none}}
/* the dock easing between its moods: what's in it sits at the bottom, still, and the top edge glides */
#dock.dk22{display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden}
#dock.dk22>#actions,#dock.dk22>#sizer,#dock.dk22>#waiting{flex:none}
/* ---------- Customise: tidy. No intro paragraph, a shorter stage, "Preview your turn" as a chip in its corner ---------- */
#meBody>p.lead{display:none}
#meDrawer:not(.compact) .me-stage{height:236px}
#meDrawer:not(.compact) #meTurn{top:10px;right:14px;left:auto;transform:none;height:30px;min-height:0;margin:0;padding:0 12px 0 10px;display:inline-flex;align-items:center;gap:6px;border-radius:99px;font-size:12px;font-weight:600}
#meDrawer:not(.compact) #meTurn::before{content:"";width:0;height:0;border-left:7px solid currentColor;border-top:4.5px solid transparent;border-bottom:4.5px solid transparent;opacity:.9}
#meDrawer.compact #meTurn{top:10px;right:14px;left:auto;opacity:0;pointer-events:none;transform:translateY(-8px)}
#meTitleLine{overflow:hidden}
#meBody>.group:first-of-type{margin-top:2px}
#meBody .status{min-height:0;line-height:1.45}
#meBody .seg#meTabs{margin-top:14px}
#meBody .sub:first-child{margin-top:14px}
#home.playing #hmPlayBtn .hm-t small{display:none}
/* the sign-in sheet on a short phone: tighter first, so it shrinks (welCardSize20) as little as it can */
@media (max-width:640px) and (max-height:760px){
  .wel-card{padding-top:16px}
  .wc-h h2{font-size:21px}
  .wc-h p{margin-top:3px;font-size:12.5px;line-height:1.4}
  .wc-seg{margin:12px 0 10px}
  .wc-seg button{height:32px}
  .wf{margin-top:8px}
  .wf input{height:48px;padding:18px 16px 4px}
  .wf.pre input{padding-left:33px}
  .wf-l{top:14px}
  .wf-pre{top:22px}
  .wf-eye{top:5px}
  .wf-note{margin-top:4px;min-height:0}
  .wc-str{margin-top:7px}
  .wc-go{height:46px;margin-top:12px}
  .wc-safe{padding-top:10px;margin-top:10px}
}

/* ---------- round 24 ---------- */
.dist-empty{margin:0;padding:18px 14px;text-align:center;font-size:13px;line-height:1.45;color:var(--linen-3,#bfb2a6)}

/* ---------- small print that was too small to read ---------- */
.soon-pill{font-size:10.5px!important}
#homeCard.x22-strip .hm-lv{transform:none}
.lv-badge small{font-size:9.5px}
.pf-xp small,.pf-lvl small{font-size:11px}

/* ---------- page tabs that scroll sideways: they fade at the edge instead of cutting a word in half ---------- */
#pgTabs.ovf24{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 18px,#000 calc(100% - 18px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 18px,#000 calc(100% - 18px),transparent 100%);scrollbar-width:none}
#pgTabs.ovf24.at-start24{-webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 18px),transparent 100%);mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 18px),transparent 100%)}
#pgTabs.ovf24.at-end24{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 18px,#000 100%);mask-image:linear-gradient(90deg,transparent 0,#000 18px,#000 100%)}
#pgTabs.ovf24::-webkit-scrollbar{display:none}

/* ---------- touch: every button is big enough for a thumb ---------- */
@media (pointer:coarse){
  #top .tools>button,#top .tools>.icon-btn{min-width:40px;min-height:40px}
  .page-back{min-width:40px;min-height:40px}
  #chatSend{min-width:40px;min-height:40px}
  .sd-close,.th-close,[id^=close_]{min-width:40px;min-height:40px}
  button,a,[role=button],.chip{touch-action:manipulation}
}
/* nothing on screen zooms in when you type (phones zoom into any box with small text) */
@media (max-width:760px) and (pointer:coarse){input,select,textarea{font-size:16px!important}}

/* ---------- phones: the main menu ----------
   Thin bars, as on a computer, but each one is a comfortable thumb height and says one thing: the long descriptions
   (cut off mid-word on a phone) step aside. Play shows how many people are online instead. */
@media (max-width:520px){
  #home:not(.playing) .hm-menu>.hm-row{grid-template-columns:30px minmax(0,1fr) 16px;column-gap:12px}
  #home:not(.playing) .hm-menu>.hm-row .hm-t b{font-size:15px}
  #home:not(.playing) .hm-menu>.hm-row .hm-t small{display:none}
  #home:not(.playing) #hmPlayBtn .hm-t small{display:none}
  #home:not(.playing) #hmPlayBtn .hm-t b{font-size:16px}
  #hmPlayBtn .x22-on{display:flex!important;font-size:12px}
  #hmPlayBtn .x22-on:empty,#hmPlayBtn .x22-on:has(#homeOnline22:empty){display:none!important}
}
/* taller phones have room for a thumb-height bar (the menu always fits without scrolling) */
@media (max-width:520px) and (min-height:780px){
  #home:not(.playing) .hm-menu{gap:5px}
  #home:not(.playing) .hm-menu>.hm-row{min-height:42px}
  #home:not(.playing) #hmPlayBtn{min-height:46px}
}
@media (max-width:520px) and (min-height:860px){
  #home:not(.playing) .hm-menu>.hm-row{min-height:45px}
  #home:not(.playing) #hmPlayBtn{min-height:50px}
}

/* ---------- phones: page headings say what the page is without pushing everything down ---------- */
@media (max-width:600px){
  .it-head h2,.lb-head h2{font-size:22px}
  .it-head p,.lb-head p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;line-height:1.4}
}
@media (max-height:500px) and (orientation:landscape){
  .it-head h2,.lb-head h2{font-size:20px}
  .it-head p,.lb-head p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
}

/* ---------- phones: a page on its own says its name in the bar at the top (next to back), not again below ---------- */
.pg-title24{display:none}
@media (max-width:600px){
  #page.solo24 .pg-title24{display:block;position:absolute;left:58px;right:58px;top:50%;transform:translateY(-50%);text-align:center;font-size:16px;font-weight:650;letter-spacing:-.01em;color:var(--linen-1,#f7efe6);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
  #page.solo24 .page-head{position:relative;min-height:56px}
  #page.solo24 #pgBody>section:first-child .it-head h2,#page.solo24 #pgBody>section:first-child .lb-head h2,#page.solo24 #pgBody>.nw21-top h2{display:none}
  #page.solo24 #pgBody>section:first-child .it-head p,#page.solo24 #pgBody>.nw21-top p{margin-top:0}
}

/* ---------- phones: nothing sits under the home bar at the bottom of the screen, and sheets use the real height ---------- */
@media (max-width:759px){
  #home{bottom:max(8px,env(safe-area-inset-bottom));height:min(64vh,660px);height:min(64dvh,660px);height:min(64dvh,660px)}
  .page-body{padding-bottom:calc(18px + env(safe-area-inset-bottom))}
}
@media (max-width:600px){ .page-card{height:94vh;height:94dvh;height:94dvh} }

/* ---------- a phone on its side at the table: a slimmer dock and no chest row, so more of the table shows ---------- */
@media (max-height:500px) and (orientation:landscape){
  body[data-scene=table] .chest-row{display:none!important}
  body[data-scene=table] .act{height:42px;font-size:15px;border-radius:13px}
  body[data-scene=table] #dock{padding:4px;border-radius:17px}
}

/* ---------- round 25 ---------- */

/* ---------- a phone on its side at the table: the action bar and your cards share one row ---------- */
@media (max-height:500px) and (orientation:landscape){
  #bar{flex-direction:row!important;align-items:flex-end!important;gap:12px!important;padding:0 12px max(8px,env(safe-area-inset-bottom))!important}
  #hand{order:2!important;height:76px!important}
  .dockcol{width:auto!important;flex:1;max-width:520px}
  .pcard{width:52px;height:72px}
  #log{font-size:12px}
}

/* ---------- alerts: one island at the top centre, everywhere ---------- */
html:root body[data-scene] #toasts,html:root body #toasts{position:fixed!important;z-index:150!important;left:0!important;right:0!important;top:var(--top)!important;bottom:auto!important;width:auto!important;display:flex!important;flex-direction:column;align-items:center!important;gap:0;padding:0 12px!important;pointer-events:none;transition:none!important}
@media (max-width:899px){html:root body[data-scene] #toasts,html:root body #toasts{top:calc(var(--top) + 50px)!important}}
#toasts .toast.isl{position:relative;display:grid!important;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;column-gap:11px;min-height:44px;width:fit-content;max-width:min(430px,100%);margin:0;padding:6px 18px 6px 6px;border-radius:24px;background:#0b090e;color:#f4ece2;box-shadow:0 12px 36px rgba(0,0,0,.5),0 2px 8px rgba(0,0,0,.35),inset 0 0 0 1px rgba(255,255,255,.075);font-size:13px;line-height:1.32;letter-spacing:-.005em;text-align:left;transform-origin:50% 0;-webkit-backdrop-filter:none;backdrop-filter:none;animation:isl25In .52s cubic-bezier(.22,1.18,.32,1) both!important}
#toasts .toast.isl.tap{pointer-events:auto;cursor:var(--cu-hand,pointer)}
#toasts .toast.isl.out{animation:isl25Out .36s cubic-bezier(.5,0,.8,.4) both!important;pointer-events:none}
#toasts .toast.isl:not(:last-child){display:none!important}
.isl-ic{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:rgba(242,187,114,.15);color:var(--lamp,#f2bb72);animation:isl25Fade .3s .1s both}
.isl-ic .i{width:16px!important;height:16px!important;margin:0!important;color:inherit!important}
.isl-tx{min-width:0;animation:isl25Fade .32s .12s both}
.isl-tx b{font-weight:650;color:#fff}
.isl-tx small{display:block;margin-top:1px;font-size:11.5px;line-height:1.32;color:rgba(244,236,226,.62)}
.isl-tx br{display:none}
.isl-tx .a16-toast b{color:#fff}
.isl-n{min-width:22px;height:22px;padding:0 6px;border-radius:11px;display:grid;place-items:center;background:rgba(255,255,255,.1);font-size:11px;font-weight:650;color:rgba(244,236,226,.8);font-variant-numeric:tabular-nums}
.toast.isl.tap::after{content:'';width:7px;height:7px;margin-left:2px;border-right:1.6px solid rgba(244,236,226,.45);border-top:1.6px solid rgba(244,236,226,.45);transform:rotate(45deg);grid-column:3}
.toast.isl.tap:has(.isl-n)::after{display:none}
/* an achievement wears its tier's colour */
.toast.isl:has(.a16-toast.t1) .isl-ic{background:rgba(143,209,158,.16);color:#8fd19e}
.toast.isl:has(.a16-toast.t2) .isl-ic{background:rgba(134,183,240,.16);color:#86b7f0}
.toast.isl:has(.a16-toast.t3) .isl-ic{background:rgba(195,156,242,.17);color:#c39cf2}
.toast.isl:has(.a16-toast.t4) .isl-ic{background:rgba(242,196,109,.18);color:#f2c46d}
.toast.isl:has(.a16-toast.t5) .isl-ic{background:rgba(244,182,194,.18);color:#f4b6c2}
@keyframes isl25In{0%{opacity:0;transform:scale(.42,.6);border-radius:30px}60%{opacity:1}100%{opacity:1;transform:none}}
@keyframes isl25Out{to{opacity:0;transform:scale(.5,.62)}}
@keyframes isl25Fade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){#toasts .toast.isl,#toasts .toast.isl.out{animation:isl25Fade .2s both!important}#toasts .toast.isl.out{animation-direction:reverse!important}}

/* ---------- typing on a phone: sheets sit on top of the keyboard ---------- */
html.kb25 #modal,html.kb25 #page{bottom:var(--kb)!important;height:auto!important}
html.kb25 #meDrawer,html.kb25 #side,html.kb25 #lobbySide{max-height:calc(var(--vvh) - 16px)}
@media (max-width:899px),(max-height:519px){
  html.kb25 #chat{bottom:calc(var(--kb) + 8px)!important;height:min(72vh,560px,calc(var(--vvh) - 16px))!important;height:min(72dvh,560px,calc(var(--vvh) - 16px))!important}
  html.kb25 #meDrawer{bottom:calc(var(--kb) + 8px)!important}
}
html.kb25 .page-card{height:min(94vh,calc(var(--vvh) - 6px))!important;height:min(94dvh,calc(var(--vvh) - 6px))!important}

/* ---------- the sign-in card: four layouts, never a scroll ---------- */
.wel-card{overflow:hidden!important;transition:none!important}
@media (max-width:759px){
  .wel-card{bottom:var(--kb,0px)!important;max-height:none;padding:20px 18px max(16px,env(safe-area-inset-bottom))!important}
  html.kb25 .wel-card{padding-bottom:12px!important;border-radius:22px 22px 0 0}
}
.wel-card .wc-h h2{font-size:24px}
.wel-card .wc-h p{margin-top:6px;font-size:13.5px;line-height:1.45}
.wel-card .wc-seg{margin:16px 0 14px}
.wel-card .wf input{height:52px;padding:21px 16px 5px}
.wel-card .wf-l{top:16px}
.wel-card .wf-pre{top:24px}
.wel-card .wf-eye{top:7px}
.wel-card .wf[data-st]::after{top:19px}
.wel-card .wf{margin-top:8px}
.wel-card .wf-note{margin:5px 4px 0;font-size:11.5px;min-height:0}
.wel-card .wc-go{height:50px;margin-top:14px;border-radius:16px}
.wel-card .wc-safe{margin-top:12px;padding-top:12px}
/* 1: without the small print */
.wel-card:is([data-fit="1"],[data-fit="2"],[data-fit="3"],[data-fit="4"]) :is(.wf-note,.wc-safe,.wc-h p){display:none}
.wel-card:is([data-fit="1"],[data-fit="2"],[data-fit="3"],[data-fit="4"]) .wc-seg{margin:12px 0 10px}
/* 2: just the boxes and the button */
.wel-card:is([data-fit="2"],[data-fit="3"],[data-fit="4"]) :is(.wc-h,.wc-who,.wc-links,.wc-warn){display:none}
.wel-card:is([data-fit="2"],[data-fit="3"],[data-fit="4"]) .wc-str span{display:none}
.wel-card:is([data-fit="2"],[data-fit="3"],[data-fit="4"]) .wc-str{grid-template-columns:repeat(4,1fr);margin-top:6px}
.wel-card:is([data-fit="2"],[data-fit="3"],[data-fit="4"]) .wc-seg{margin:0 0 8px}
.wel-card:is([data-fit="2"],[data-fit="3"],[data-fit="4"]) .wc-seg button{height:32px;font-size:13.5px}
.wel-card:is([data-fit="2"],[data-fit="3"],[data-fit="4"]) .wf{margin-top:6px;border-radius:13px}
.wel-card:is([data-fit="2"],[data-fit="3"],[data-fit="4"]) .wc-form .wf:first-child{margin-top:0}
.wel-card:is([data-fit="2"],[data-fit="3"],[data-fit="4"]) .wf input{height:44px;padding:17px 14px 3px;border-radius:13px}
.wel-card:is([data-fit="2"],[data-fit="3"],[data-fit="4"]) .wf.pre input{padding-left:30px}
.wel-card:is([data-fit="2"],[data-fit="3"],[data-fit="4"]) .wf-l{left:14px;top:13px;font-size:14px}
.wel-card:is([data-fit="2"],[data-fit="3"],[data-fit="4"]) .wf input:focus+.wf-l,.wel-card:is([data-fit="2"],[data-fit="3"],[data-fit="4"]) .wf input:not(:placeholder-shown)+.wf-l{transform:translateY(-9px) scale(.74)}
.wel-card:is([data-fit="2"],[data-fit="3"],[data-fit="4"]) .wf-pre{left:14px;top:18px}
.wel-card:is([data-fit="2"],[data-fit="3"],[data-fit="4"]) .wf-eye{top:3px}
.wel-card:is([data-fit="2"],[data-fit="3"],[data-fit="4"]) .wf[data-st]::after{top:15px}
.wel-card:is([data-fit="2"],[data-fit="3"],[data-fit="4"]) .wc-msg{margin-top:6px;font-size:12px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.wel-card:is([data-fit="2"],[data-fit="3"],[data-fit="4"]) .wc-go{height:44px;margin-top:8px;border-radius:14px;font-size:15px}
/* 3: the boxes two to a row */
.wel-card[data-fit="3"] .wc-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:8px}
.wel-card[data-fit="3"] .wc-form>:is(.wc-msg,.wc-go,.wc-str){grid-column:1/-1}
.wel-card[data-fit="3"] .wc-form .wf{margin-top:0;margin-bottom:6px}
.wel-card[data-fit="3"] .wc-seg{display:none}
.wel-card[data-fit="4"] .wc-seg{display:none}
/* 4 (a phone on its side, keyboard up): everything in one row */
.wel-card[data-fit="4"] .wc-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));grid-auto-flow:column;column-gap:8px;align-items:start}
.wel-card[data-fit="4"] .wc-form .wf{margin:0}
.wel-card[data-fit="4"] .wc-form>:is(.wc-msg,.wc-str){display:none}
.wel-card[data-fit="4"] .wc-form>.wc-go{margin:0;height:44px;padding:0 18px;white-space:nowrap}
/* with the keyboard up the card always sits right on top of it, whatever the screen */
html.kb25 .wel-card{top:auto!important;bottom:calc(var(--kb,0px) + 0px)!important;transform:none!important}
@media (min-width:760px){html.kb25 .wel-card{left:8px!important;right:8px!important;width:auto!important;bottom:calc(var(--kb,0px) + 6px)!important;padding:12px 14px!important}}
/* over a page on a phone (the top bar is covered), the island takes the gap above the page */
@media (max-width:899px){html:root body:has(#page.show) #toasts{top:max(3px,env(safe-area-inset-top))!important}}
/* small print that was under 11px */
.lad-divs span,.sd-tabs button small,.bp-cell small,.bp-cell em{font-size:11px}
#toasts .toast.isl.out.quick{animation-duration:.15s!important}

/* ---------- round 26 ---------- */

/* ---------- scrolling: nothing stretches or bounces past its end, and rows of things settle on a thing ---------- */
*,*::before,*::after{overscroll-behavior:none}
.a16-cats,.a16-tiers,.qc-cats,.sd-tabs,.dv-row,.people,.chips,#pgTabs.ovf24{scroll-snap-type:x proximity;scroll-padding:0 14px;-webkit-overflow-scrolling:touch}
.a16-cats>*,.a16-tiers>*,.qc-cats>*,.sd-tabs>*,.dv-row>*,.people>*,.chips>*,#pgTabs.ovf24>button{scroll-snap-align:start}
.page-body,.sd-body,.home-scroll,#meBody,#chatList,.ls-body,.qc-list{scroll-behavior:auto;-webkit-overflow-scrolling:touch}

/* ---------- the rarity shimmers loop without a seam ---------- */
@keyframes roseShine{to{background-position:-183.3333% 0}}
@keyframes shinex{from{background-position:0 0}to{background-position:-166.6667% 0}}
.th-title.on .tt-legendary{animation:slam .55s cubic-bezier(.2,1.6,.4,1) forwards,shinex 1.9s .6s linear infinite}
.it[data-r=unreal] .badge{background:linear-gradient(90deg,#ffc3d6,#ffe3a3,#c9ffd9,#a8dcff,#d8b8ff,#ffc3d6);background-size:200% 100%}

/* ---------- phones: one header on the home screen ---------- */
@media (max-width:759px){
  body.hdr26 #homeCard.x22-strip{top:var(--top)!important;left:8px!important;right:8px!important;max-width:none;display:block;min-height:0;padding:7px 12px 10px 14px;border-radius:22px}
  body.hdr26 #homeCard.x22-strip .hm-you{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 132px;grid-template-rows:40px auto 3px;column-gap:14px;row-gap:4px;width:100%;align-items:center;text-align:left}
  body.hdr26 #homeCard.x22-strip .hm-av{display:none}
  body.hdr26 #homeCard.x22-strip .hm-id{grid-column:1/-1;grid-row:1;padding-right:140px;justify-content:center}
  body.hdr26 #homeCard.x22-strip .hm-nm b{font-size:15px}
  body.hdr26 #homeCard.x22-strip .hm-rk{grid-column:1;grid-row:2;border-left:0;padding:0}
  body.hdr26 #homeCard.x22-strip .hm-prog:not(.x22-pp){grid-column:1;grid-row:3;margin:0}
  body.hdr26 #homeCard.x22-strip .x22-pl{grid-column:2;grid-row:2;border-left:0;padding:0}
  body.hdr26 #homeCard.x22-strip .x22-pp{grid-column:2;grid-row:3;margin:0}
  body.hdr26 #homeCard.x22-strip .hm-rk small{display:inline}
  body.hdr26 #homeCard.x22-strip .x22-pl b{font-size:11.5px}
  body.hdr26 #homeCard.x22-strip .x22-pl b::after{content:none}
  body.hdr26 #homeCard #chestRow{position:absolute;right:10px;bottom:7px;display:flex;gap:2px;margin:0;padding:0;border:0}
  body.hdr26 #top{z-index:6;pointer-events:none}
  body.hdr26 #top .top-r{pointer-events:auto;margin-top:3px;margin-right:2px}
  body.hdr26 #top .tools{background:none!important;box-shadow:none!important;border:0!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;padding:0!important;gap:0}
  body.hdr26 #top .tools::before,body.hdr26 #top .tools::after{display:none!important}
  body.hdr26 #top #bMe{box-shadow:none;background:rgba(255,242,228,.06);-webkit-backdrop-filter:none;backdrop-filter:none}
}

/* ---------- Play: a title, a switch, and plain lists ---------- */
#home.playing #hmPlayBtn{display:grid!important;grid-template-columns:38px minmax(0,1fr) auto!important;column-gap:8px;align-items:center;min-height:0!important;padding:2px 2px 12px!important;background:none!important;box-shadow:none!important;border-radius:0}
#home.playing #hmPlayBtn .mi{display:none}
#home.playing #hmPlayBtn .chev{order:-1;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(255,242,228,.07);color:var(--linen-2);transform:none!important}
#home.playing #hmPlayBtn .hm-t b{font-size:22px!important;font-weight:650;letter-spacing:-.02em}
#home.playing #hmPlayBtn .hm-t small{display:none}
#home.playing #hmPlayBtn .x22-on{font-size:12px}
#home.playing .hm-kinds{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0!important;padding:3px;margin:0 0 14px!important;border-radius:14px;background:rgba(255,242,228,.06);box-shadow:inset 0 0 0 1px rgba(255,238,220,.04)}
#home.playing .hm-kinds button{display:flex!important;align-items:center;justify-content:center;height:36px!important;min-height:0!important;padding:0 6px!important;margin:0!important;border-radius:11px!important;background:none!important;box-shadow:none!important;opacity:1!important;transition:background .18s ease,color .18s ease}
#home.playing .hm-kinds button :is(.mi,small,.chev){display:none!important}
#home.playing .hm-kinds button b{font-size:14px;font-weight:600;color:var(--linen-3);white-space:nowrap;transition:color .18s ease}
#home.playing .hm-kinds button[aria-selected=true]{background:rgba(255,246,236,.13)!important;box-shadow:0 1px 3px rgba(0,0,0,.28),inset 0 0 0 .5px rgba(255,255,255,.09)!important}
#home.playing .hm-kinds button[aria-selected=true] b{color:#fff}
#home.playing .hm-tiers{margin:0!important}
#home.playing .hm-panel{padding:0!important;background:none!important;box-shadow:none!important;border:0!important;border-radius:0!important}
#home.playing .home-note{margin:0 4px 16px;font-size:13px;line-height:1.5;color:var(--linen-3)}
#home.playing .hm-label.sm{display:block;margin:18px 4px 7px;padding:0;font-size:12.5px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--linen-3);border:0;background:none}
#home.playing .hm-label.sm::before,#home.playing .hm-label.sm::after{display:none!important}
#home.playing .tables,#home.playing #homePrivate{display:flex;flex-direction:column;gap:0;padding:0;border-radius:16px;background:rgba(255,242,228,.045);box-shadow:inset 0 0 0 1px rgba(255,238,220,.05);overflow:hidden}
#home.playing #homePrivate{background:none;box-shadow:none;overflow:visible}
#home.playing #homePrivate .hm-label.sm{margin-top:18px}
#home.playing .tables .topt{min-height:60px;margin:0!important;padding:8px 12px 8px 10px!important;border-radius:0!important;background:none!important;box-shadow:none!important;animation:none!important}
#home.playing .tables .topt+.topt{box-shadow:inset 0 1px 0 rgba(255,238,220,.06)!important}@media (hover:hover){#home.playing .tables .topt:hover{background:rgba(255,242,228,.04)!important}}
#home.playing .topt-txt b{font-size:15px;font-weight:600}
#home.playing .topt-txt span{font-size:12.5px;color:var(--linen-3)}
#home.playing .comp-btns{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 4px}
#home.playing .comp-btns .big-opt{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 10px!important;border-radius:14px;background:rgba(255,242,228,.06);box-shadow:inset 0 0 0 1px rgba(255,238,220,.05);animation:none!important}
#home.playing .comp-btns .big-opt small,#home.playing .comp-btns .big-opt .chev{display:none}
#home.playing .comp-btns .big-opt .bo-ico{width:auto;height:auto;background:none;color:var(--lamp)}
#home.playing .comp-btns .big-opt b{font-size:14px;font-weight:600}
#home.playing #homePrivate .big-opt{min-height:60px;margin:0 0 8px;padding:10px 12px!important;border-radius:16px;background:rgba(255,242,228,.045);box-shadow:inset 0 0 0 1px rgba(255,238,220,.05);animation:none!important}
#home.playing #homePrivate .big-opt small{font-size:12.5px;line-height:1.4;color:var(--linen-3);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#home.playing .lv-pick{min-height:56px;border-radius:16px!important;background:rgba(255,242,228,.045)!important;box-shadow:inset 0 0 0 1px rgba(255,238,220,.05)!important}
#home.playing .lvl-note{margin:8px 4px 0;font-size:12.5px;line-height:1.45;color:var(--linen-3)}
#home.playing .hm-kinds button b{flex:none!important;width:auto!important;text-align:center!important;margin:0!important}
#home.playing #hmPlayBtn .chev{transform:rotate(90deg)!important}
#home.playing #hmPlayBtn .chev .i{width:18px;height:18px}

/* ---------- the main menu: Play first, then three quiet groups ---------- */
#home:not(.playing) .hm-menu{display:flex!important;flex-direction:column;gap:0!important}
#home:not(.playing) .hm-menu>*{order:5}
#home:not(.playing) #hmPlay{order:0;margin-bottom:10px}
#home:not(.playing) #hmShop{order:1}#home:not(.playing) #hmPass{order:2}#home:not(.playing) #hmInv{order:3}#home:not(.playing) #hmTour{order:4}
#home:not(.playing) #hmClub{order:5}#home:not(.playing) #hmProfile{order:6}#home:not(.playing) #hmNews{order:7}
#home:not(.playing) #hmSettings{order:8}#home:not(.playing) #hmQuit{order:9}
#home:not(.playing) .hm-menu>.hm-row{border-radius:0!important;margin:0!important;background:rgba(255,242,228,.045)!important;transition:background .15s ease!important}
#home:not(.playing) .hm-menu>.hm-row:not(#hmPass){box-shadow:inset 0 1px 0 rgba(255,238,220,.055)!important}@media (hover:hover){#home:not(.playing) .hm-menu>.hm-row:hover{background:rgba(255,242,228,.08)!important}}
#home:not(.playing) :is(#hmShop,#hmClub,#hmSettings){border-radius:16px 16px 0 0!important;box-shadow:none!important}
#home:not(.playing) :is(#hmTour,#hmNews,#hmQuit){border-radius:0 0 16px 16px!important}
#home:not(.playing) :is(#hmClub,#hmSettings){margin-top:10px!important}
#home:not(.playing) .hm-menu>.hm-row .mi{background:none!important;color:var(--linen-2)}
#home:not(.playing) #hmPass .mi{color:var(--lamp)!important}
#home:not(.playing) #hmPlayBtn{border-radius:16px!important;box-shadow:none!important}
#home:not(.playing) #hmPlayBtn .mi{color:var(--lamp)!important}
#home.playing .hm-kinds button{justify-content:center!important;text-align:center!important;grid-template-columns:none!important}
#home.playing .hm-kinds button b{margin:0 auto!important;padding:0!important;grid-column:auto!important}
#home.playing #homePrivate .big-opt small{white-space:normal!important}
/* buttons answer straight away; switches glide, briefly */
button,[role="tab"],[role="button"],[role="menuitem"]{transition-duration:.15s!important}
.seg .knob{transition:transform .26s cubic-bezier(.3,.85,.3,1)!important}

/* ---------- section labels read as words, the same everywhere (tags and rarities keep their capitals) ---------- */
.cap,.hm-label,.sd-sec,.club-form label,.rc-sec,.tr-side h4,.nw21-g h4,.club-prev>small,.pop-inv-h,.ct-spec dt,.sd-id small{text-transform:none!important;letter-spacing:0!important;font-size:12.5px!important;font-weight:600!important}
/* the shortest phones: the groups sit a little closer so the whole menu still fits */
@media (max-height:600px){#home:not(.playing) #hmPlay{margin-bottom:6px}#home:not(.playing) :is(#hmClub,#hmSettings){margin-top:6px!important}#home:not(.playing) .hm-menu>.hm-row{min-height:38px!important;padding-top:3px!important;padding-bottom:3px!important}}

/* ---------- round 27 ---------- */

/* ---------- the action buttons: fade out where they stand ---------- */
.dock-ghost20{transition:opacity .22s ease!important;filter:none!important;transform:none!important}
.dock-ghost20.out{opacity:0;filter:none!important;transform:none!important}

/* ---------- the emotes button keeps a clear thumb's width away from Raise and All in ----------
   (phones snap a tap to the nearest button, so a press on the top edge of Raise could land on it) */
@media (max-width:899px) and (min-height:501px){
  .qc-btn,body.bar-tight .qc-btn{bottom:calc(var(--bottom) + 112px)!important}
  #qcPop,body.bar-tight #qcPop{bottom:calc(var(--bottom) + 168px)!important}
}
body:is(.sizing,[data-turn=you]) .qc-btn{transition:opacity .15s ease,transform .15s ease!important}
body.sizing .qc-btn{visibility:hidden}
#dock{position:relative;z-index:6}

/* ---------- the sign-in card: the tabs crossfade inside a card that holds still ---------- */
.wel-card .wf-pre{display:none!important}
.wel-card .wf.pre input{padding-left:16px!important}
.wel-card:is([data-fit="2"],[data-fit="3"],[data-fit="4"]) .wf.pre input{padding-left:14px!important}
.wel-card{display:flex;flex-direction:column}
.wel-card>.wc-form{flex:none}
.wc-ghost20{transition:opacity .2s ease!important;filter:none!important;transform:none!important}
.wc-ghost20.out{opacity:0;filter:none!important;transform:none!important}
.wel-card.sw20>*:not(.wc-ghost20):not(.wc-seg){animation:wc27In .24s .06s ease both!important}
@keyframes wc27In{from{opacity:0}to{opacity:1}}
/* your cards fly straight to where they rest in your hand: no stop, then a second little slide */
.pcard.pre{transform:rotate(var(--r)) translateY(var(--y))!important}
body[data-turn=you] .pcard.pre{transform:rotate(var(--r)) translateY(calc(var(--y) - 7px))!important}
.pcard.arrive{transition:transform .5s cubic-bezier(.25,.1,.25,1),opacity 0s!important}
/* News & updates: one tidy list, like the main menu */
.nw27-list{margin-top:10px;border-radius:18px;background:rgba(255,242,228,.045);box-shadow:inset 0 0 0 1px rgba(255,238,220,.06);overflow:hidden}
.nw27-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto 16px;align-items:center;column-gap:12px;width:100%;padding:11px 12px 11px 12px;text-align:left;background:none;border:0;color:inherit;font:inherit;cursor:var(--cu-hand,pointer);transition:background .15s ease}
.nw27-row+.nw27-row{box-shadow:inset 0 1px 0 rgba(255,238,220,.06)}@media (hover:hover){.nw27-row:hover{background:rgba(255,242,228,.04)}}
.nw27-row:active{background:rgba(255,242,228,.07)}
.nw27-v{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:rgba(242,187,114,.12);color:var(--lamp,#f2bb72);font-weight:750;font-size:14px;font-variant-numeric:tabular-nums}
.nw27-row:first-child .nw27-v{background:rgba(242,187,114,.22)}
.nw27-t{display:flex;flex-direction:column;min-width:0}
.nw27-t b{font-size:15px;font-weight:650;color:var(--linen,#f3e9de);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nw27-t small{font-size:12px;color:var(--linen-3,#bfb2a6);margin-top:1px}
.nw27-new{width:8px;height:8px;border-radius:50%;background:var(--lamp,#f2bb72)}
.nw27-chev{display:grid;place-items:center;width:16px;height:16px;color:var(--linen-3,#bfb2a6);opacity:.7}
.nw27-chev svg{width:16px;height:16px}
.nw27-d{padding:2px 2px 8px}
.nw27-back{display:inline-flex;align-items:center;gap:4px;margin:0 0 14px -4px;padding:6px 10px 6px 4px;border:0;border-radius:99px;background:rgba(255,242,228,.05);color:var(--linen-2,#e6d9cc);font:inherit;font-size:13px;cursor:var(--cu-hand,pointer)}
.nw27-back svg{width:16px;height:16px}
.nw27-meta{display:block;font-size:12px;font-weight:650;letter-spacing:.04em;color:var(--lamp,#f2bb72)}
.nw27-d h2{margin:4px 0 6px;font-size:22px;font-weight:700;color:var(--linen,#f3e9de)}
.nw27-sum{margin:0 0 14px;font-size:14px;line-height:1.5;color:var(--linen-2,#e6d9cc)}
.nw27-d h4{margin:14px 0 6px;font-size:11px;font-weight:750;letter-spacing:.1em;text-transform:uppercase;color:var(--linen-3,#bfb2a6)}
.nw27-d ul{margin:0;padding:0 0 0 18px}
.nw27-d li{margin:0 0 6px;font-size:13.5px;line-height:1.5;color:var(--linen-2,#e6d9cc)}
.nw27-d li::marker{color:rgba(255,238,220,.35)}
.nw27-d li b{color:var(--linen,#f3e9de);font-weight:650}

/* ---------- round 28 ---------- */
/* ---------- motion, in one place: how long things take and how they ease (new work uses these) ---------- */
:root{
  --ease-out:cubic-bezier(.22,.68,.18,1);   /* arriving: quick off the mark, a soft landing */
  --ease-in-out:cubic-bezier(.4,.05,.2,1);  /* moving from one place to another */
  --t-press:.12s; --t-quick:.18s; --t-base:.26s; --t-slow:.45s; --t-scene:.9s;
  --focus:0 0 0 2px rgba(20,14,16,.9),0 0 0 4px rgba(242,187,114,.95);
}

/* ---------- the opening: unhurried. The room first, then the card, and only then the two of them ---------- */
.wel{animation:dreamFadeIn 1.1s var(--ease-out) both}
.wel.bye{transition:opacity 1s var(--ease-out),filter 1s var(--ease-out),transform 1s var(--ease-out)}
.wel .w-in{animation:dreamIn .7s var(--ease-out) both}
.wel .w-out{animation:dreamOut .45s var(--ease-out) both;pointer-events:none}
.wel-brand{animation:dreamIn .9s .35s var(--ease-out) both}
.wel-card.w-in{animation:wcIn .8s .45s var(--ease-out) both}
.wel-card.w-out{animation:wcOut .45s var(--ease-out) both}
.wel-cert.w-in{animation:wcIn .9s var(--ease-out) both}
.wel-pill.w-out{animation:pillOut .4s var(--ease-out) both}
.wel-burst.go{animation:burst 1.7s var(--ease-out) both}
@media (max-width:759px){
  .wel-card.w-in{animation:sheetIn .8s .35s var(--ease-out) both}
  .wel-cert.w-in{animation:sheetIn .85s var(--ease-out) both}
  .wel-card.w-out{animation:sheetOut .45s var(--ease-out) both}
  .wel-brand{animation:none}
}
/* the colour's number: each digit settles with the smallest of nods */
.wel-odo b i{display:inline-block;font-style:normal;min-width:.62em;text-align:center;opacity:.72}
.wel-odo b i.set{opacity:1;animation:odo28 .42s var(--ease-out) both}
@keyframes odo28{from{transform:translateY(-5px);opacity:.4}to{transform:none;opacity:1}}
/* the colour's name arriving where "Mixing your colour…" was */
#igH.sw28{animation:name28 .85s var(--ease-out) both}
@keyframes name28{from{opacity:0;transform:translateY(8px);letter-spacing:.03em}to{opacity:1;transform:none;letter-spacing:.002em}}
/* once it has landed, the room keeps a little of your colour in its light */
.wel::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;opacity:0;background:radial-gradient(70% 50% at 50% 64%,var(--mine,transparent),transparent 72%);mix-blend-mode:soft-light;transition:opacity 1.8s var(--ease-out)}
.wel.lit28::after{opacity:.5}
/* sound, where you can see it */
.wel-snd{position:absolute;z-index:4;right:max(18px,env(safe-area-inset-right));top:max(16px,env(safe-area-inset-top));width:40px;height:40px;border-radius:14px;display:grid;place-items:center;border:0;cursor:var(--cu-hand,pointer);background:rgba(28,22,26,.42);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:inset 0 0 0 1px rgba(255,238,220,.1);color:rgba(255,244,230,.82);animation:dreamIn .9s .6s var(--ease-out) both;transition:background var(--t-quick) ease,color var(--t-quick) ease,transform var(--t-press) ease}
.wel-snd svg{width:19px;height:19px}@media (hover:hover){.wel-snd:hover{background:rgba(40,32,36,.6);color:#fff}}
.wel-snd:active{transform:scale(.94)}
.wel-snd[aria-pressed=false]{color:rgba(255,244,230,.5)}
.wel:has(#welX:not(.hidden)) .wel-snd{right:calc(max(18px,env(safe-area-inset-right)) + 48px)}
.wel.bye .wel-snd{opacity:0}
@media (prefers-reduced-motion:reduce){.wel-odo b i.set,#igH.sw28{animation:none}.wel::after{transition:none}}
/* the splash: nothing in the way. A caption up top, the number at the foot of the screen, the name once it lands */
.wel[data-stage=reveal]:not(.lit28) #igH{display:none}
.wel[data-stage=reveal] .wel-odo,.wel[data-stage=cert] .wel-odo{position:absolute;left:0;right:0;top:calc(79vh - 64px - 4vh);top:calc(79dvh - 64px - 4dvh);margin:0}
.wel[data-stage=reveal] #igKick{font-size:12.5px;letter-spacing:.16em}
@media (max-width:759px){.wel[data-stage=reveal] .wel-odo,.wel[data-stage=cert] .wel-odo{top:calc(81vh - 64px);top:calc(81dvh - 64px)}}
@media (max-height:520px){.wel[data-stage=reveal] .wel-odo,.wel[data-stage=cert] .wel-odo{top:calc(74vh - 64px - 4vh);top:calc(74dvh - 64px - 4dvh)}.wel[data-stage=reveal] .wel-odo small{display:none}}

/* ---------- reading comfort: quiet text is still easy to read (4.5:1 or better on every surface) ---------- */
:root{--linen-2:rgba(247,240,231,.74);--linen-3:rgba(247,240,231,.56)}
/* the smallest labels come up to a size you can read without leaning in */
.ach-cat,.rpill,.pass-t .ttl,.bp-rails span,.a16-tag,.bp-sw small em,.bp-up-xp small,.lv-badge small,.qrow .qr,.pop-look small,.bar-tag,.mc-c em,.bp-cta .bp-get small,.new,.dist-bar em,.mo-r,.rc-ln em,.bub .who i{font-size:10.5px}
.pop-stats small{font-size:11px}
.rpill{height:17px}
/* keyboard focus looks the same wherever it lands */
a:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[role=button]:focus-visible,[role=tab]:focus-visible,[role=switch]:focus-visible,[role=radio]:focus-visible,[role=option]:focus-visible{outline:2px solid rgba(242,187,114,.8);outline-offset:2px}
/* touch: the small buttons on pages are a comfortable height, and a switch can be hit a little outside its edges */
@media (pointer:coarse){
  .page-body button:not(.switch):not(.cr):not(.pass-t):not(.nw27-row):not(.nw27-back){min-height:36px}
  .switch::before{content:"";position:absolute;inset:-8px -6px}
  .range{height:36px}
}
.msg.div{color:rgba(247,240,231,.56)}
@media (pointer:coarse){ #pgTabs button{min-height:36px} }
.bp-up-xp small,.pass-xp small{font-size:10.5px}
#page:focus,#modal:focus{outline:none}
.chips.ovf28{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 20px,#000 calc(100% - 20px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 20px,#000 calc(100% - 20px),transparent 100%)}
.chips.ovf28.s28{-webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 20px),transparent 100%);mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 20px),transparent 100%)}
.chips.ovf28.e28{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 20px,#000 100%);mask-image:linear-gradient(90deg,transparent 0,#000 20px,#000 100%)}

/* ---------- round 29 ---------- */
/* phones, at the table: the header's button bar grows a second row, and today's chests sit in it, under the buttons */
@media (max-width:759px) and (min-height:501px){
  body[data-scene=table] .tools:has(.chest-row:not(:empty)){display:grid;grid-template-columns:repeat(3,40px);column-gap:2px;row-gap:0;justify-content:center;border-radius:21px;padding:3px 3px 4px;align-self:flex-start;margin-bottom:-42px}
  body[data-scene=table] .tools:has(.chest-row:not(:empty))>button{grid-row:1}
  body[data-scene=table] .chest-row{display:flex!important;grid-row:2;grid-column:1/-1;justify-content:space-between;margin:3px 2px 0;padding:3px 0 0;gap:2px;border:0;border-top:1px solid var(--hair);border-radius:0;background:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none}
  body[data-scene=table] .chest-row:empty{display:none!important}
  body[data-scene=table] .chest-row .cr{min-width:30px;min-height:34px}
}
/* names in their owner's colour; gold, with a slow light across it, for the one who made the game */
.prow .pn b{color:var(--nc,var(--c))}
.dev29{background:linear-gradient(100deg,#c9962f 0%,#e6bd5c 18%,#fff6d2 30%,#e9c468 42%,#c9962f 58%,#e6bd5c 78%,#c9962f 100%);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent!important;-webkit-text-fill-color:transparent;animation:dev29 3.4s linear infinite;font-weight:750}
.dev29 svg,.dev29 em{-webkit-text-fill-color:initial}
@keyframes dev29{from{background-position:0 0}to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){.dev29{animation:none;background-position:-60% 0}}
/* skipping to the present after you've been away */
#skip29{position:fixed;inset:0;z-index:40;display:grid;place-items:center;pointer-events:none;opacity:0;background:rgba(18,13,16,.5);transition:opacity .2s ease}
#skip29 span{padding:9px 16px;border-radius:99px;background:rgba(32,25,29,.86);box-shadow:inset 0 0 0 1px rgba(255,238,220,.1);font-size:13.5px;font-weight:600;color:var(--linen,#f3e9de)}
body.skip29 #skip29{opacity:1}

/* ---------- clubs ---------- */
.cl29-head{margin-bottom:2px}
.cl29-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;border-radius:14px;background:rgba(255,242,228,.05)}
.cl29-tabs button{min-height:38px;border:0;border-radius:10px;background:none;color:var(--linen-2);font:inherit;font-size:13.5px;font-weight:600;cursor:var(--cu-hand,pointer);transition:background var(--t-quick) ease,color var(--t-quick) ease}
.cl29-tabs button[aria-selected=true]{background:rgba(255,242,228,.1);color:var(--linen,#f3e9de);box-shadow:inset 0 0 0 1px rgba(255,238,220,.07)}
.cl29-cols{display:flex;flex-direction:column;gap:14px;margin-top:12px}
.cl29-a,.cl29-m{display:flex;flex-direction:column;gap:14px;min-width:0}
.cl29-cols section{margin:0}
.cl29-narrow{max-width:720px;margin:12px auto 0;width:100%}
.cl29-hero{position:relative;padding:16px;border-radius:20px;overflow:hidden;background:radial-gradient(120% 90% at 0% 0%,color-mix(in srgb,var(--c) 34%,transparent),transparent 62%),linear-gradient(160deg,color-mix(in srgb,var(--c) 14%,#2a2227),#231c21 70%);box-shadow:inset 0 0 0 1px rgba(255,238,220,.08),0 10px 30px rgba(0,0,0,.22)}
.cl29-top{display:flex;align-items:center;gap:14px}
.cl29-em{flex:none;display:grid;place-items:center;width:58px;height:58px;border-radius:18px;font-size:30px;line-height:1;color:#fff;background:linear-gradient(160deg,color-mix(in srgb,var(--c) 88%,#fff),color-mix(in srgb,var(--c) 62%,#201a1d));box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 0 0 0 1px rgba(255,255,255,.1),0 8px 20px rgba(0,0,0,.3)}
.cl29-id{min-width:0;flex:1}
.cl29-id h2{margin:0;font-size:21px;line-height:1.2;font-weight:700;color:var(--linen,#f3e9de);display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.cl29-id p{margin:3px 0 0;font-size:13.5px;line-height:1.4;color:var(--linen-2)}
.cl29-role{flex:none;align-self:flex-start;padding:4px 9px;border-radius:99px;font-size:11.5px;font-weight:700;color:var(--lamp,#f2bb72);background:rgba(18,13,16,.38)}
.club-badge{flex:none}
.cl29-hero .club-badge,.cl29-t .club-badge,.cl29-pc .club-badge{width:auto;min-width:22px;padding:0 6px;letter-spacing:.04em;margin-left:0;vertical-align:0}
.cl29-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:14px}
.cl29-stats>div{padding:10px 6px 9px;border-radius:13px;background:rgba(18,13,16,.34);text-align:center;min-width:0}
.cl29-stats b{display:flex;align-items:center;justify-content:center;gap:5px;font-size:16px;font-weight:700;color:var(--linen,#f3e9de);white-space:nowrap;font-variant-numeric:tabular-nums}
.cl29-stats b svg{color:var(--lamp,#f2bb72)}
.cl29-stats b i{font-style:normal;font-weight:500;color:var(--linen-3)}
.cl29-stats small{display:block;margin-top:1px;font-size:11px;color:var(--linen-3)}
.cl29-code{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 12px;margin-top:8px;padding:10px 12px;border-radius:13px;background:rgba(18,13,16,.34)}
.cl29-code span small{display:block;font-size:11px;color:var(--linen-3)}
.cl29-code span b{font:700 18px/1.25 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.08em;color:var(--lamp,#f2bb72);user-select:all;-webkit-user-select:all}
.cl29-code p{grid-column:1/-1;margin:0;font-size:12px;line-height:1.4;color:var(--linen-3)}
.cl29-act{margin-top:12px;display:flex}
.cl29-act .primary{width:100%}
.cl29-note{font-size:13px;line-height:1.4;color:var(--linen-2)}
.cl29-back{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px 0 8px;border:0;border-radius:99px;background:rgba(255,242,228,.06);color:var(--linen-2);font:inherit;font-size:13.5px;font-weight:600;cursor:var(--cu-hand,pointer)}
.cl29-back svg{width:16px;height:16px}
.cl29-list{border-radius:16px;overflow:hidden;background:rgba(255,242,228,.045);box-shadow:inset 0 0 0 1px rgba(255,238,220,.06)}
.cl29-row,.cl29-mrow{display:grid;grid-template-columns:30px 38px minmax(0,1fr) auto;align-items:center;column-gap:10px;width:100%;min-height:56px;padding:8px 14px 8px 10px;border:0;background:none;color:inherit;font:inherit;text-align:left}
.cl29-mrow{grid-template-columns:30px minmax(0,1fr) auto}
.cl29-mrow.req{grid-template-columns:minmax(0,1fr) auto;padding-left:14px}
.cl29-md>summary.cl29-mrow{grid-template-columns:30px minmax(0,1fr) auto 14px;cursor:var(--cu-hand,pointer);list-style:none}
.cl29-md>summary::-webkit-details-marker{display:none}
.cl29-ch{width:8px;height:8px;border-right:2px solid var(--linen-3);border-bottom:2px solid var(--linen-3);transform:rotate(45deg) translate(-2px,-2px);transition:transform var(--t-quick) ease}
.cl29-md[open] .cl29-ch{transform:rotate(-135deg) translate(-2px,-2px)}
.cl29-mact{display:flex;justify-content:flex-end;gap:8px;padding:0 14px 12px}
.cl29-rq{display:flex;gap:6px}
.cl29-row{cursor:var(--cu-hand,pointer);transition:background var(--t-quick) ease}@media (hover:hover){.cl29-row:hover,.cl29-md>summary:hover{background:rgba(255,242,228,.04)}}
.cl29-row:active{background:rgba(255,242,228,.07)}
.cl29-list>*+*{box-shadow:inset 0 1px 0 rgba(255,238,220,.06)}
.cl29-row.mine,.cl29-mrow.mine{background:linear-gradient(90deg,rgba(242,187,114,.13),rgba(242,187,114,.04))}
.cl29-n{font-size:14px;font-weight:700;text-align:center;color:var(--linen-3);font-variant-numeric:tabular-nums}
.cl29-b{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;font-size:19px;line-height:1;color:#fff;background:linear-gradient(160deg,color-mix(in srgb,var(--c) 88%,#fff),color-mix(in srgb,var(--c) 62%,#201a1d));box-shadow:inset 0 1px 0 rgba(255,255,255,.26),inset 0 0 0 1px rgba(255,255,255,.08)}
.cl29-t{display:flex;flex-direction:column;min-width:0}
.cl29-t b{display:flex;align-items:center;gap:6px;min-width:0;font-size:14.5px;font-weight:650;color:var(--linen,#f3e9de)}
.cl29-t b>span:first-child{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cl29-mrow .cl29-t b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cl29-t small{font-size:12px;color:var(--linen-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cl29-s{display:flex;align-items:center;gap:5px;color:var(--lamp,#f2bb72)}
.cl29-s b{font-size:14.5px;font-weight:700;color:var(--linen,#f3e9de);font-variant-numeric:tabular-nums}
.cl29-s small{font-size:12px;color:var(--linen-3)}
/* the top three */
.cl29-pod{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:end}
.cl29-pc{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;padding:22px 8px 12px;border:0;border-radius:18px;color:inherit;font:inherit;text-align:center;cursor:var(--cu-hand,pointer);background:radial-gradient(120% 70% at 50% 0%,color-mix(in srgb,var(--c) 30%,transparent),transparent 70%),rgba(255,242,228,.05);box-shadow:inset 0 0 0 1px rgba(255,238,220,.07);transition:transform var(--t-quick) ease,box-shadow var(--t-quick) ease}@media (hover:hover){.cl29-pc:hover{transform:translateY(-2px)}}
.cl29-pc:active{transform:scale(.98)}
.cl29-pc.p1{padding-top:30px;padding-bottom:18px;box-shadow:inset 0 0 0 1.5px rgba(244,207,122,.55),0 10px 26px rgba(0,0,0,.25)}
.cl29-pc.mine{box-shadow:inset 0 0 0 1.5px rgba(242,187,114,.7)}
.cl29-pc>i{position:absolute;top:-9px;left:50%;transform:translateX(-50%);display:grid;place-items:center;width:24px;height:24px;border-radius:50%;font-style:normal;font-size:12.5px;font-weight:800;color:#2a1c12;background:#d5d9e2;box-shadow:0 2px 6px rgba(0,0,0,.3)}
.cl29-pc.p1>i{background:#f4cf7a;width:28px;height:28px;top:-11px;font-size:14px}
.cl29-pc.p3>i{background:#d9a078}
.cl29-pc .cl29-b{width:44px;height:44px;border-radius:14px;font-size:22px}
.cl29-pc.p1 .cl29-b{width:54px;height:54px;border-radius:17px;font-size:27px}
.cl29-pc>b{max-width:100%;font-size:13.5px;font-weight:700;line-height:1.2;color:var(--linen,#f3e9de);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cl29-pc>em{display:inline-flex;align-items:center;gap:4px;margin-top:2px;font-style:normal;font-size:14.5px;font-weight:700;color:var(--linen,#f3e9de);font-variant-numeric:tabular-nums}
.cl29-pc>em svg{color:var(--lamp,#f2bb72)}
.cl29-pc>small{font-size:11.5px;color:var(--linen-3)}
.cl29-how{margin:0}
.cl29-empty{padding:26px 16px;border-radius:16px;text-align:center;background:rgba(255,242,228,.035);box-shadow:inset 0 0 0 1px rgba(255,238,220,.04)}
.cl29-empty b{display:block;font-size:15px;font-weight:650;color:var(--linen,#f3e9de)}
.cl29-empty small{display:block;margin-top:4px;font-size:13px;line-height:1.45;color:var(--linen-3)}
.cl29-search{display:grid;grid-template-columns:1fr auto;gap:8px;margin-bottom:10px;align-items:stretch}
.cl29-search .search{margin:0}
.cl29-search .mini{min-height:44px;padding:0 16px}
.cl29-codein input{font:700 17px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.1em;text-transform:uppercase}
.cl29-codein input::placeholder{font-weight:500;opacity:.45}
.cl29-z{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding-top:4px}
.cl29-z small{font-size:12px;color:var(--linen-3)}
.cl29-none>section:first-child{margin-top:0}
@media (max-width:520px){.cl29-stats{grid-template-columns:repeat(2,1fr)}.cl29-id h2{font-size:19px}.cl29-em{width:50px;height:50px;font-size:26px}}
@media (min-width:900px){
  .cl29-cols{display:grid;grid-template-columns:minmax(320px,400px) minmax(0,1fr);gap:18px 22px;align-items:start}
  .cl29-a{grid-column:1;grid-row:1}.cl29-m{grid-column:2;grid-row:1/span 2}.cl29-z{grid-column:1;grid-row:2}
  .cl29-stats{grid-template-columns:repeat(2,1fr)}
}
@media (prefers-reduced-motion:reduce){.cl29-pc,.cl29-ch{transition:none}@media (hover:hover){.cl29-pc:hover{transform:none}}}

/* ---------- nothing animates where nobody can see it ---------- */
.tp-dots i,.person .p-dots i{animation:none}
.typing.on .tp-dots i,.person.typing .p-dots i{animation:tpDot 1.3s ease-in-out infinite}
.typing.on .tp-dots i:nth-child(2),.person.typing .p-dots i:nth-child(2){animation-delay:.18s}
.typing.on .tp-dots i:nth-child(3),.person.typing .p-dots i:nth-child(3){animation-delay:.36s}
#page:not(.show) #pgBody *,#page:not(.show) #pgBody *::before,#page:not(.show) #pgBody *::after{animation-play-state:paused!important}
body.cool29{--glass:rgba(33,27,32,.93)}
body.cool29 .glass{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
body.cool29 #home{background:linear-gradient(180deg,rgba(49,39,40,.95),rgba(31,25,31,.96) 38%,rgba(27,22,28,.97))}
/* the pass's glow, breathing on the compositor (a second, brighter halo fading in and out) instead of repainting its shadow every frame */
#home:not(.playing) #hmPass{animation:none;box-shadow:inset 0 0 0 1px rgba(242,187,114,.22),0 0 14px -8px rgba(242,170,90,.35)}
#home:not(.playing) #hmPass::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(242,187,114,.16),0 0 26px -4px rgba(242,170,90,.46);opacity:0;animation:passGlow29 4.2s var(--dream) infinite alternate}
@keyframes passGlow29{to{opacity:1}}
.bp-get{animation:none}
.bp-get::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;box-shadow:0 12px 30px -8px rgba(246,190,100,.8);opacity:0;animation:passGlow29 2.8s var(--sleepy) infinite alternate}
@media (prefers-reduced-motion:reduce){#home:not(.playing) #hmPass::before,.bp-get::after{animation:none;opacity:.5}}
body.ovl #home *::before,body.ovl #home *::after{animation-play-state:paused!important}
/* the create form's colour swatches: never narrower than a fingertip (they wrap onto a second row if they must) */
#clColor{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(38px,1fr));gap:6px}
#clColor button{width:auto!important;min-width:38px;min-height:38px}
#pgBody .club-badge{font-size:11px}
.club-make>*{min-width:0}
@media (max-width:899px){.cl29-none .club-make{grid-template-columns:minmax(0,1fr)}}
.club-form>*,.club-form label>*{min-width:0;max-width:100%}
.club-prev{max-width:100%}

/* round 31 */
/* holds keep the finger on Android: no scrolling, no long-press menu, no text selection from a hold button */
[data-hold],#bFold,#bCall,#bRaise,#szGo,#trHold,.hold-btn{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
/* Android: a swipe that starts on anything inside a list now scrolls the list. "No bounce past the end" was set on
   every element; a clipped box inside a list (the table sizes, the tiers) then kept the swipe to itself, so only a
   strip near the top of a list would scroll it. The no-bounce now sits only on the lists themselves. */
*,*::before,*::after{overscroll-behavior:auto}
html,body,#chatList,#meBody,.cpop,.hex-sw,.home-scroll,.ls-body,.page-body,.qc-list,.sd-body,.sheet,.wel-card,#pgBody{overscroll-behavior:none}
.people,.chips,.a16-cats,.a16-tiers,.qc-cats,.sd-tabs,.dv-row,#pgTabs,.bp-track{overscroll-behavior-x:none;overscroll-behavior-y:auto}
/* the table fills what's in view, not what would be in view with the toolbars hidden */
#scene{width:100%;height:100%}
/* things that light up when you point at them or press them fade their light in rather than snapping on (anything
   with a transition of its own keeps it: these have no weight) */
:where(button,a,[role=button],.chip,.it,.cr,.person,.menu-item,.topt,.tile,.hm-row,.seg button){transition-property:background-color,color,box-shadow,border-color,filter;transition-duration:.28s;transition-timing-function:cubic-bezier(.3,.7,.4,1)}
/* "Show cards" after your fold: no countdown ring, just the choice */
#revealBtn.fold31 .rv-ring{display:none}
/* the deck the table picked, announced as the first hand is shuffled */
#dk31{position:fixed;z-index:30;left:50%;top:calc(var(--top,14px) + 92px);transform:translate(-50%,-8px);display:flex;align-items:center;gap:10px;padding:8px 18px 8px 10px;border-radius:20px;opacity:0;pointer-events:none;transition:opacity .45s ease,transform .45s cubic-bezier(.3,.7,.4,1)}
#dk31.on{opacity:1;transform:translate(-50%,0)}
#dk31 canvas{width:52px;height:52px}
#dk31 span{display:flex;flex-direction:column;line-height:1.2}
#dk31 small{font-size:11.5px;color:var(--linen-2,#cfc3b6);letter-spacing:.02em}
#dk31 b{font-size:15px;color:var(--linen,#f3e9de)}
@media (prefers-reduced-motion:reduce){#dk31{transition:opacity .3s}}
/* the table's header on a phone: the lobby's card */
#hdrCard31{position:fixed;z-index:5;top:var(--top,14px);left:8px;right:8px;height:56px;border-radius:22px;pointer-events:auto;transition:height .3s cubic-bezier(.3,.7,.4,1)}
#hdrCard31.chests{height:90px}
#hdrCard31.hidden{display:none}
body.hdr31 #top{z-index:6;pointer-events:none}
body.hdr31 #top .top-l{display:none}
body.hdr31 #top .top-r{pointer-events:auto;margin-top:2px;margin-right:2px;margin-left:auto}
body.hdr31 #top .tools{display:flex!important;align-items:center;background:none!important;box-shadow:none!important;border:0!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;padding:0!important;gap:0;margin:0!important;border-radius:0}
body.hdr31 #top .tools::before,body.hdr31 #top .tools::after{display:none!important}
body.hdr31 #top #bMe{box-shadow:none;background:rgba(255,242,228,.06);-webkit-backdrop-filter:none;backdrop-filter:none}
body.hdr31 #top .tools .leave-btn{height:40px;min-width:40px;margin:0;padding:0 9px;border:0;border-radius:13px;background:none!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
body.hdr31 #top .tools .leave-btn>span{display:none}
body.hdr31 .hdr31-sep{display:block;flex:none;width:1px;height:22px;margin:0 5px 0 3px;background:var(--hair,rgba(255,240,225,.14));border-radius:1px}
#bLeave.hidden+#bBreak.hidden+.hdr31-sep{display:none}
body.hdr31 #hdrCard31 #chestRow{position:absolute;right:10px;bottom:7px;display:flex!important;gap:2px;margin:0;padding:0;border:0;grid-row:auto;background:none!important;box-shadow:none}
body.hdr31 #hdrCard31 #chestRow:empty{display:none!important}
/* someone wants to trade: a note that comes down from the top */
#trNote31{position:fixed;z-index:160;left:50%;top:max(10px,env(safe-area-inset-top));transform:translate(-50%,-140%);display:flex;align-items:center;gap:10px;max-width:calc(100vw - 24px);padding:10px 12px 10px 14px;border-radius:18px;color:var(--linen,#f3e9de);font:600 14px/1.25 var(--sans);text-align:left;cursor:var(--cu-hand,pointer);transition:transform .45s cubic-bezier(.3,.7,.4,1)}
#trNote31.on{transform:translate(-50%,0)}
#trNote31 svg{width:20px;height:20px;flex:none;color:#f5cf96}
#trNote31 b:last-child{flex:none;margin-left:6px;padding:5px 11px;border-radius:12px;background:rgba(245,207,150,.16);color:#f5cf96;font-size:13px}
@media (prefers-reduced-motion:reduce){#trNote31{transition:opacity .3s;transform:translate(-50%,0);opacity:0}#trNote31.on{opacity:1}}

/* round 32 */
/* your cards at the bottom keep the table's corners: 12% of the card's width at every size (a fixed 8px read rounder
   on a phone's smaller cards) */
.pcard .back,.pcard .face{border-radius:12%/8.57%!important}
/* "Show cards" after a fold: the winner's Reveal pill, quieter, with no clock (the text sits in the middle now that
   there's no ring on its left) */
#revealBtn.fold31{justify-content:center;gap:0;height:30px;padding:0 15px;font-size:12.5px;font-weight:600;letter-spacing:.01em;color:var(--linen,#f3e9de);background:rgba(40,32,37,.78);box-shadow:0 0 0 1px rgba(242,187,114,.22),0 6px 18px rgba(5,3,10,.32)}
#revealBtn.fold31>span:last-child{display:block;text-align:center;line-height:1}
#revealBtn.fold31.shown{color:#a9dcb1;box-shadow:0 0 0 1px rgba(127,209,139,.3),0 6px 18px rgba(5,3,10,.32)}
/* the table's header on a phone: one thin row (Leave · Break | chests | socials · you) */
#hdrCard31,#hdrCard31.chests{height:52px}
body.hdr31 #top .top-r{flex:1;min-width:0;display:flex;align-items:center;margin-left:0!important;margin-top:0;padding-left:4px}
body.hdr31 #top .tools{flex:1;min-width:0}
body.hdr31 #top .tools #chestRow{position:static;flex:1;min-width:0;display:flex!important;justify-content:center;gap:1px;margin:0;padding:0;border:0!important;background:none!important;box-shadow:none!important}
body.hdr31 #top .tools #chestRow:empty{display:none!important}
body.hdr31 #top .tools #chestRow .cr{min-width:28px;min-height:34px}
#chestRow:empty+.hdr32-sep2{display:none}
body.hdr31 #top .tools>button:not(.leave-btn){width:38px;min-width:38px}
body.hdr31 #top #bMe{width:38px;height:38px}
@media (max-width:370px){
  body.hdr31 #top .tools .leave-btn{min-width:32px;padding:0 6px}
  body.hdr31 #top .tools>button:not(.leave-btn){width:33px;min-width:33px}
  body.hdr31 #top .tools #chestRow .cr{min-width:24px}
  body.hdr31 #top #bMe{width:34px;height:34px}
  body.hdr31 .hdr31-sep{margin:0 3px}
}
/* the break count sits on the mug as a small badge in the table's phone header, so the row stays one line */
body.hdr31 #top .tools .brk-btn{position:relative;min-width:38px;padding:0 7px}
body.hdr31 #top .tools .brk-btn .brk-n{position:absolute;top:3px;right:1px;min-width:15px;height:15px;padding:0 3px;border-radius:8px;font-size:10px;line-height:15px;margin:0}
body.hdr31 #top .tools #chestRow{overflow:hidden}
@media (max-width:370px){
  body.hdr31 #top .tools .brk-btn{min-width:32px;padding:0 5px}
  body.hdr31 #top .tools .leave-btn:not(.brk-btn){min-width:28px;padding:0 4px}
  body.hdr31 #top .tools>button:not(.leave-btn){width:30px;min-width:30px}
  body.hdr31 #top .tools #chestRow .cr{min-width:22px;width:22px}
  body.hdr31 .hdr31-sep{margin:0 2px}
  body.hdr31 #top .top-r{padding-left:2px}
}

/* round 33 */

/* round 34 */
/* signed in somewhere else: the card always fits a phone, and stays until you choose */
.else21{padding:max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom))}
.else21-card{box-sizing:border-box;max-width:calc(100vw - 32px);overflow-wrap:anywhere}
.else21-btns .btn-soft{max-width:100%;white-space:normal}
/* the leader's "Joining" switch on the club page */
.cl34-open{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:6px 8px;border:0;border-radius:14px;background:rgba(255,240,225,.06);box-shadow:inset 0 0 0 1px rgba(242,187,114,.3);color:inherit;font:inherit;cursor:var(--cu-hand,pointer)}
.cl34-open[aria-checked=true]{box-shadow:inset 0 0 0 1px rgba(127,209,139,.45)}
.cl34-open[aria-checked=true] b{color:#a9dcb1}

/* round 35 (restyled in round 36) */
/* auto-fold: a small toggle with a place of its own at the right-hand end of the dock. The line of text is centred in
   the space that's left, so neither moves as the other changes. */
#waiting.pf35-row{position:relative;padding:0 var(--pf-w,108px)}
#waiting.pf35-row #waitText{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pf35{position:absolute;right:10px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 12px 0 8px;border:0;border-radius:15px;font:600 11.5px/1 var(--sans,inherit);letter-spacing:.02em;white-space:nowrap;color:rgba(247,240,231,.56);background:transparent;box-shadow:inset 0 0 0 1px rgba(255,238,220,.1);cursor:var(--cu-hand,pointer);-webkit-tap-highlight-color:transparent;transition:opacity .3s var(--dream,ease),visibility 0s linear 0s,background-color .3s var(--dream,ease),box-shadow .3s var(--dream,ease),color .3s var(--dream,ease)}
.pf35 i{flex:none;display:grid;place-items:center;width:15px;height:15px;border-radius:50%;color:#2a1c1e;box-shadow:inset 0 0 0 1.5px rgba(247,240,231,.34);transition:background-color .25s var(--dream,ease),box-shadow .25s var(--dream,ease)}
.pf35 i svg{width:10px;height:10px;opacity:0;transform:scale(.5);transition:opacity .2s var(--dream,ease),transform .28s cubic-bezier(.3,1.5,.5,1)}
@media (hover:hover){@media (hover:hover){.pf35:hover{color:rgba(247,240,231,.8);box-shadow:inset 0 0 0 1px rgba(255,238,220,.2)}}}
.pf35.on{color:#f4d3cc;background:rgba(214,110,104,.15);box-shadow:inset 0 0 0 1px rgba(232,140,128,.4)}
.pf35.on i{background:#e7948a;box-shadow:none}
.pf35.on i svg{opacity:1;transform:none}
.pf35.hidden{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s var(--dream,ease),visibility 0s linear .2s}
/* narrow phones: the line sits in the space left of the toggle */
@media (max-width:400px){#waiting.pf35-row{padding:0 var(--pf-w,100px) 0 12px}.pf35{right:8px;height:28px;padding:0 10px 0 7px;gap:6px;font-size:11px}}
@media (prefers-reduced-motion:reduce){.pf35,.pf35 i,.pf35 i svg{transition:none}}

/* round 36 */
/* hours played, under your rank on the profile */
.pf-hrs36{display:inline-flex;align-items:center;gap:7px;margin-top:12px;padding:7px 13px 7px 10px;border-radius:999px;background:rgba(255,242,228,.05);box-shadow:inset 0 0 0 1px rgba(255,238,220,.08);font-size:13px;color:var(--linen-3,#a99d92);font-variant-numeric:tabular-nums}
.pf-hrs36 .i{width:16px;height:16px;color:#f2bb72}
.pf-hrs36 b{font-size:15px;font-weight:650;color:var(--linen,#f3e9de);letter-spacing:-.01em}
.pf-hrs36+.pf-actions{margin-top:14px}
/* Settings → Lights: a moon at the dim end, a sun at the bright end */
.lt36 .i{width:16px;height:16px;color:var(--linen-3)}

/* round 37 */
/* the Bots row at a private table: the level's badge and name between − and + */
.bl37-s{gap:8px}
.bl37-v{display:inline-flex;align-items:center;gap:7px;min-width:118px;justify-content:center;font-size:13.5px}
.bl37-v b{font-weight:650;white-space:nowrap;min-width:0;font-size:13.5px}
.bl37-v svg,.bl37-v img,.bl37-v .lv-boss{flex:none}
@media (max-width:380px){.bl37-v{min-width:96px;font-size:12.5px}}
/* Auto-fold fills as you hold it, like Fold */
.pf35{overflow:hidden;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.pf35>i,.pf35>span:not(.hold-bar){position:relative;z-index:1}
.pf35 .hold-bar{position:absolute;inset:0;border-radius:inherit;background:rgba(231,148,138,.3);transform:scaleX(0);transform-origin:left center;pointer-events:none}
.pf35.holding{color:#f4d3cc;box-shadow:inset 0 0 0 1px rgba(232,140,128,.4)}
/* the Lights window under the bulb */
.lt37{width:256px}
.lt37-row{display:grid;grid-template-columns:18px minmax(0,1fr) 18px;align-items:center;gap:10px;padding:6px 0 2px}
.lt37-row .i{width:18px;height:18px;color:var(--linen-3)}
.lt37-word{text-align:center;font-size:11.5px;color:var(--linen-3);padding:2px 0 2px;font-variant-numeric:tabular-nums}
#bLights[aria-expanded=true]{background:var(--fill);color:#f6d79b}

/* round 38 */
/* your cards in your hand take the lamp's light where they are, the same as cards on the table (on each face, so the
   card's turn-over still works in 3D) */
#hand .pcard .face,#hand .pcard .back{filter:brightness(var(--hb38,.8))}

/* round 39 */
/* Unreal names sit in the middle of their card like every other rarity (their shimmer is sized to the words, which
   had also pinned them to the left) */
.ttl.r-unreal{align-self:auto;justify-self:auto}
.cont>.ttl.r-unreal,.rar>.ttl.r-unreal,.cont .ttl.r-unreal,.bp-cell>.ttl.r-unreal{align-self:center;justify-self:center;margin-left:.55em;margin-right:.55em}
/* Phones at the table: the chests share the header bar without being cut off. The row used to hide whatever spilled
   out of it, which sliced the top and bottom off a ready chest's ring and glow (and the last chest's side); now the
   chests size themselves to the room there is and the ring shows whole, with a glow sized for the bar. */
body.hdr31 #top .tools #chestRow{overflow:visible;gap:2px}
body.hdr31 #top .tools #chestRow .cr{flex:0 1 27px;width:27px;min-width:0;padding:0}
body.hdr31 #top .tools #chestRow .cr img{width:100%;max-width:23px;height:auto;max-height:18px}
body.hdr31 #top .tools #chestRow .cr.ready:not(.extra){animation-name:cr39}
@keyframes cr39{0%,100%{box-shadow:0 0 0 1.5px rgba(246,170,80,.7),0 0 6px 0 rgba(240,140,50,.32)}50%{box-shadow:0 0 0 1.5px rgba(250,188,98,.95),0 0 11px 2px rgba(240,140,50,.6)}}
@media (max-width:359px){
  body.hdr31 #top .tools>button:not(.leave-btn){width:26px;min-width:26px}
  body.hdr31 #top .tools #chestRow{gap:1px}
  body.hdr31 #top .tools #chestRow .cr{flex-basis:21px;width:21px}
}

/* round 40 */
/* Auto-fold sits on the left, where Fold is when it's your turn */
.pf35{left:10px;right:auto}
#waiting.pf35-row{padding:0 var(--pf-w,108px)}
@media (max-width:400px){#waiting.pf35-row{padding:0 12px 0 var(--pf-w,100px)}.pf35{left:8px;right:auto}}
/* who won: their name in their own colour, the amount bold */
#log .who40,#waitText .who40{font-weight:700}
#log .amt40,#waitText .amt40{font-weight:800;color:var(--linen,#f7f0e7);letter-spacing:.01em}
.msg.mv .amt40{font-weight:800}
#log{white-space:nowrap}
/* the Socials tabs share the width they have (Blocked used to run off the edge) */
.sd-tabs{overflow:hidden;gap:2px}
.sd-tabs button{flex:1 1 0;min-width:0;padding:6px 1px 5px}
.sd-tabs button>span{display:block;max-width:100%;font-size:min(10.5px,2.8vw);white-space:nowrap;overflow:hidden;text-overflow:clip}
.sd-tabs button .i{flex:none}
/* someone's card at the table grows to fit "Games played" and the rest */
#pop{width:auto;min-width:268px;max-width:calc(100vw - 20px)}
.pop-stats{grid-template-columns:repeat(4,auto);justify-content:space-around;column-gap:10px}
.pop-stats small{overflow:visible;text-overflow:clip;max-width:none}
/* Disband / Leave the club: room inside the button */
.cl29-z>button{padding:0 18px;min-height:40px}
/* a quick chat that follows another line from the same person sat in the middle of a big rounded box: the chat's
   "continued" lines share a class name with the inventory's cards. Chat lines stay chat lines. */
#chatList .msg.cont{--lift:0!important;padding:0;border-radius:0;background:none;border:0;cursor:auto;transform:none;box-shadow:none;gap:0;min-width:0}
#chatList .msg.cont:not(.me){display:block;text-align:left;align-items:initial}
#chatList .msg.cont.sys,#chatList .msg.cont.mv{text-align:center}
/* your hand's cards: no extra wash or soft shadow, so they're the very cards that flew there */
#hand .pcard .back::after,#hand .pcard .face::after{display:none}
#hand .pcard .back,#hand .pcard .face{box-shadow:1px 4px 0 1px rgba(14,8,12,.14),3px 7px 0 rgba(14,8,12,.12)}
/* the page tabs (Profile, Achievements, Top 100, Trades, Settings) share the width on a phone instead of scrolling off */
@media (max-width:560px){
  .page-head .seg.fit{overflow:hidden}
  .page-head .seg.fit button{flex:1 1 auto;min-width:0;padding:0 3px;font-size:min(12px,3.1vw);overflow:hidden;text-overflow:clip}
  .page-head .seg.fit button[data-s40]{font-size:0}
  .page-head .seg.fit button[data-s40]::after{content:attr(data-s40);font-size:min(12px,3.1vw)}
}

/* round 43: the chips in a move's line are bold wherever it shows (chat, the line above the dock, the dock) */
#chatList .msg .amt40{font-weight:800}
#waitText .who40{font-weight:700}

/* ===================== round 44 ===================== */
/* the deck vote: the decks stay on show when it closes, the winner ringed */
#dvote.dvi20.dv44.closed .dvi-fold{grid-template-rows:1fr;opacity:1;margin-top:10px}
.dvi20.dv44 .dv-t{position:relative;overflow:visible;transition:opacity .45s var(--dream),transform .45s var(--dream),box-shadow .45s var(--dream),background .45s var(--dream)}
.dvi20.dv44 .dv-t.lose{opacity:.38;filter:saturate(.7)}
.dvi20.dv44 .dv-t.win{transform:translateY(-1px)}
.dvi20.dv44 .dvi-fold>.dv-row{padding:7px 8px 8px}
.dv-ring44{position:absolute;left:-7px;top:-7px;width:calc(100% + 14px);height:calc(100% + 14px);pointer-events:none;overflow:visible}
.dv-ring44 path{fill:none;stroke:#f2bb72;stroke-width:2.4;stroke-linecap:round;vector-effect:non-scaling-stroke;stroke-dasharray:1;stroke-dashoffset:1;animation:ring44 .75s .1s cubic-bezier(.45,.1,.25,1) forwards;filter:drop-shadow(0 0 4px rgba(242,187,114,.55))}
@keyframes ring44{to{stroke-dashoffset:0}}
@media (prefers-reduced-motion:reduce){.dv-ring44 path{animation:none;stroke-dashoffset:0}}
/* the break card and the vote card are centred with a sideways shift; fading out used to drop that shift for a
   moment, so they jumped to the right before going. They fade where they are now. */
@keyframes dream44OutX{from{opacity:1;filter:none;transform:translateX(-50%)}to{opacity:0;filter:blur(8px);transform:translateX(-50%) translateY(-4px) scale(.985)}}
#brk.v2.fading,#vote.fading{animation:dream44OutX .32s var(--dream) forwards!important}
/* the catch-up chest's label: small, quiet and right under the middle of the chest */
#chestRow .cr.cr-catch21{display:grid;place-items:center}
#chestRow .cr.cr-catch21 small{left:0;right:0;top:calc(100% - 3px);transform:none;width:100%;text-align:center;font:700 7px/1 var(--sans);letter-spacing:.03em;text-transform:lowercase;color:#ffbf86;text-shadow:0 0 5px rgba(255,140,60,.7);animation:catch21 2.4s var(--dream) infinite}
@keyframes catch21{50%{color:#ffd8b0;text-shadow:0 0 6px rgba(255,150,70,.85)}}
/* the room vote, above the cards */
.dv44-wrap{display:flex;flex-direction:column;min-height:0}
.dv44-lbl{font:700 10px/1 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:rgba(255,238,220,.42);padding:2px 10px 0}
#dvote.dvi20 .rv44-row{flex-wrap:nowrap!important;justify-content:center;gap:8px;padding:6px 8px 6px}
#dvote.dvi20 .dv-t.rv44-t{flex:0 0 auto;flex-direction:column;align-items:stretch;gap:5px;width:116px;max-width:116px;padding:5px 5px 7px;border-radius:14px;text-align:center}
#dvote.dvi20 .rv44-t .dvi-tx{display:block;min-width:0;padding:0 2px}
#dvote.dvi20 .rv44-t .dvi-tx b{max-width:none;text-align:center;font-size:11.5px}
#dvote.dvi20 .rv44-t .dvi-tx small{display:block;font-size:10px;opacity:.7}
#dvote.dvi20 .rv44-t em.dv-n{position:absolute;top:8px;right:8px;min-width:18px;height:18px;font-size:10.5px;background:rgba(20,14,18,.72);backdrop-filter:blur(4px)}
#dvote.dvi20 .rv44-t .dv-ring44{left:-6px;top:-6px;width:calc(100% + 12px);height:calc(100% + 12px)}
.rv44-pic{display:block;border-radius:10px;overflow:hidden;background:rgba(0,0,0,.25);box-shadow:inset 0 0 0 1px rgba(255,238,220,.06)}
.rv44-pic canvas{display:block;width:100%!important;height:auto!important}
@media (max-width:560px){#dvote.dvi20 .rv44-row{justify-content:flex-start}#dvote.dvi20 .dv-t.rv44-t{width:96px;max-width:96px}}
#dk31 .dk44-room{display:block;font-style:normal;font-size:11px;color:rgba(255,238,220,.6);margin-top:1px}
/* the chat's "quick chats and moves only" button, and what it hides */
.chat-hush.qc44 svg{width:17px;height:17px;display:block;margin:auto}
.chat-hush.qc44.on{color:#f2bb72;background:rgba(242,187,114,.14)}
body.qconly44 #chatList .msg.them:not(.qcm){display:none}
/* out of chips: a small card at the top */
.bust44{position:fixed;z-index:16;left:50%;top:calc(var(--top, 0px) + 64px);width:min(360px,calc(100vw - 24px));padding:13px 14px 12px;border-radius:22px;background:rgba(32,26,31,.93);box-shadow:0 14px 36px rgba(0,0,0,.4),inset 0 0 0 1px rgba(255,238,220,.07);transform:translateX(-50%) translateY(-8px) scale(.98);opacity:0;filter:blur(6px);transition:transform .42s var(--dream),opacity .32s var(--dream),filter .38s var(--dream)}
.bust44.on{transform:translateX(-50%);opacity:1;filter:none}
.bust44.off{transform:translateX(-50%) translateY(-6px) scale(.985);opacity:0;filter:blur(6px);pointer-events:none}
.b44-top{display:flex;align-items:center;gap:11px}
.b44-place{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:rgba(255,238,220,.07);font:800 15px/1 var(--sans);color:var(--linen,#f7f0e7)}
.b44-place.gold{background:linear-gradient(160deg,#f6d47c,#d29a3c);color:#3a2610}
.b44-t{display:flex;flex-direction:column;min-width:0}
.b44-t b{font-size:14.5px;line-height:1.25}
.b44-t small{font-size:12px;color:rgba(255,238,220,.58);margin-top:2px}
.b44-body{margin-top:10px;max-height:34vh;max-height:34dvh;overflow:auto}
.b44-body .res-rank{transform:scale(.86);transform-origin:left center;margin:-6px 0}
.b44-body .res-titles{max-height:120px;overflow:auto}
.b44-acts{display:flex;gap:8px;margin-top:12px}
.b44-acts button{flex:1 1 0;display:inline-flex;align-items:center;justify-content:center;gap:7px;height:40px;border-radius:13px;border:0;font:650 13.5px/1 var(--sans);cursor:var(--cu-hand,pointer)}
.b44-acts button svg{width:16px;height:16px}
.b44-leave{background:rgba(255,238,220,.07);color:rgba(255,238,220,.82)}
.b44-watch{background:#f2bb72;color:#2b1d0f}
@media (prefers-reduced-motion:reduce){.bust44,.bust44.on,.bust44.off{transition:opacity .2s}}
/* ---------- the private table's settings: calm grouped cards ---------- */
.ls44-head{padding:16px 18px 12px}
.ls44-head b{font-size:16px;letter-spacing:-.01em}
.ls44-head small{display:block;margin-top:3px;font-size:12.5px;line-height:1.4;color:rgba(255,238,220,.55)}
.ls44{padding:2px 14px 18px}
.h44{margin:16px 6px 7px;font:650 11px/1 var(--sans);letter-spacing:.09em;text-transform:uppercase;color:rgba(255,238,220,.42)}
.c44{border-radius:18px;background:rgba(255,242,228,.045);box-shadow:inset 0 0 0 1px rgba(255,238,220,.06);overflow:hidden}
.c44+.c44{margin-top:10px}
.r44{display:flex;align-items:center;gap:12px;min-height:54px;padding:10px 14px}
.r44+.r44{box-shadow:inset 0 1px 0 rgba(255,238,220,.06)}
.r44.col{flex-direction:column;align-items:stretch;gap:12px;padding:12px 14px 14px}
.r44-in{display:flex;align-items:center;gap:12px;width:100%}
.r44-in .lbl{flex:1;min-width:0}.r44-in .lbl b{font-size:13.5px}.r44-in .lbl small{display:block;font-size:11.5px;color:rgba(255,238,220,.5);margin-top:2px;line-height:1.35}
.l44{flex:1;min-width:0;display:flex;flex-direction:column}
.l44 b{font-size:13.5px;font-weight:650}
.l44 small{font-size:11.5px;color:rgba(255,238,220,.5);margin-top:2px;line-height:1.35}
.code44{font:700 13px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.06em;color:#f2bb72;padding:7px 9px;border-radius:9px;background:rgba(242,187,114,.1)}
.in44{width:132px;height:34px;padding:0 11px;border-radius:10px;border:0;background:rgba(0,0,0,.22);box-shadow:inset 0 0 0 1px rgba(255,238,220,.08);color:var(--linen,#f7f0e7);font:500 13px/1 ui-monospace,SFMono-Regular,Menlo,monospace;outline:none}
.in44:focus{box-shadow:inset 0 0 0 1.5px rgba(242,187,114,.6)}
.pill44{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:34px;padding:0 13px;border-radius:11px;border:0;background:rgba(255,242,228,.08);color:var(--linen,#f7f0e7);font:600 12.5px/1 var(--sans);cursor:var(--cu-hand,pointer);transition:background .2s,opacity .25s,transform .2s;white-space:nowrap}@media (hover:hover){.pill44:hover:not(:disabled){background:rgba(255,242,228,.13)}}
.pill44:active:not(:disabled){transform:scale(.97)}
.pill44:disabled{opacity:.35;cursor:var(--cu-arrow,default)}
.pill44 svg{width:15px;height:15px}
.pill44.ghost{background:transparent;box-shadow:inset 0 0 0 1px rgba(255,238,220,.12)}
.pill44.warm{background:rgba(242,187,114,.16);color:#f8d39e}@media (hover:hover){.pill44.warm:hover:not(:disabled){background:rgba(242,187,114,.24)}}
.step44{display:inline-flex;align-items:center;gap:2px;padding:3px;border-radius:12px;background:rgba(0,0,0,.2)}
.step44 button{width:30px;height:30px;border:0;border-radius:9px;background:transparent;color:var(--linen,#f7f0e7);display:grid;place-items:center;cursor:var(--cu-hand,pointer)}@media (hover:hover){.step44 button:hover:not(:disabled){background:rgba(255,242,228,.08)}}
.step44 button:disabled{opacity:.35}
.step44 button svg{width:15px;height:15px}
.step44 b{min-width:24px;text-align:center;font-variant-numeric:tabular-nums;font-size:14px}
/* the bots' level: the whole ladder at once */
.lv44{--p:0%;padding:2px 2px 0}
.lv44-track{position:relative;height:38px;margin:0 13px}
.lv44-rail,.lv44-fill{position:absolute;left:0;top:50%;height:4px;margin-top:-2px;border-radius:2px}
.lv44-rail{right:0;background:linear-gradient(90deg,rgba(205,140,95,.35),rgba(196,204,216,.35),rgba(242,196,90,.35),rgba(120,214,214,.35),rgba(150,180,255,.35),rgba(214,140,255,.35),rgba(255,214,120,.4))}
.lv44-fill{width:var(--p);background:linear-gradient(90deg,#c98c5f,#f2bb72);box-shadow:0 0 10px rgba(242,187,114,.45);transition:width .45s var(--dream)}
.lv44-dot{position:absolute;left:var(--x);top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:rgba(30,24,29,.96);box-shadow:0 0 0 1px rgba(255,238,220,.08);cursor:var(--cu-hand,pointer);transition:transform .3s var(--dream),box-shadow .3s,filter .3s;filter:saturate(.55) brightness(.8)}
.lv44-dot.past{filter:saturate(.85) brightness(.95)}
.lv44-dot.on{width:38px;height:38px;filter:none;box-shadow:0 0 0 2px #f2bb72,0 4px 14px rgba(0,0,0,.4),0 0 18px rgba(242,187,114,.35);z-index:2}@media (hover:hover){.lv44-dot:hover:not(:disabled):not(.on){transform:translate(-50%,-50%) scale(1.12);filter:none}}
.lv44-dot:disabled{cursor:var(--cu-arrow,default)}
.lv44-ends{display:flex;justify-content:space-between;margin:4px 2px 0;font-size:10.5px;color:rgba(255,238,220,.35)}
.lv44-cap{display:flex;flex-direction:column;align-items:center;margin-top:6px;text-align:center}
.lv44-cap b{font-size:14px}
.lv44-cap small{font-size:11.5px;color:rgba(255,238,220,.55);margin-top:2px}
.bot44{display:flex;align-items:center;gap:8px}
.bot44 .pill44.wide{flex:1 1 0;height:38px}
.bot44-n{flex:none;min-width:52px;text-align:center;font-size:12px;color:rgba(255,238,220,.5);font-variant-numeric:tabular-nums}
/* chips */
.chip44{padding:14px 16px 12px}
.chip44-v{display:flex;align-items:baseline;gap:8px;margin-bottom:6px}
.chip44-v b{font-size:22px;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.chip44-v small{font-size:12px;color:rgba(255,238,220,.5)}
.range44{-webkit-appearance:none;appearance:none;width:100%;height:30px;margin:0;background:none;outline:none;cursor:var(--cu-hand,pointer);--p:0%}
.range44::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:linear-gradient(90deg,#f2bb72 var(--p),rgba(255,242,228,.12) var(--p))}
.range44::-moz-range-track{height:4px;border-radius:2px;background:linear-gradient(90deg,#f2bb72 var(--p),rgba(255,242,228,.12) var(--p))}
.range44::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:22px;height:22px;margin-top:-9px;border-radius:50%;background:#fbf6ee;box-shadow:0 2px 8px rgba(0,0,0,.45),0 0 0 4px rgba(242,187,114,.18);transition:transform .2s}
.range44::-moz-range-thumb{width:22px;height:22px;border:0;border-radius:50%;background:#fbf6ee;box-shadow:0 2px 8px rgba(0,0,0,.45)}
.range44:active::-webkit-slider-thumb{transform:scale(1.1)}
.range44:disabled{opacity:.6;cursor:var(--cu-arrow,default)}
.chip44-ticks{display:flex;justify-content:space-between;margin:2px 2px 0;font-size:10px;color:rgba(255,238,220,.35);font-variant-numeric:tabular-nums}
.chip44-ticks span{width:0;display:flex;justify-content:center;white-space:nowrap;transition:color .2s}
.chip44-ticks span:first-child{justify-content:flex-start}.chip44-ticks span:last-child{justify-content:flex-end}
.chip44-ticks span.on{color:#f2bb72;font-weight:700}
/* room */
.rm44{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;gap:10px 12px;padding:12px 14px 14px;align-items:center}
.rm44-pic{grid-row:1;border-radius:12px;overflow:hidden;background:rgba(0,0,0,.25);box-shadow:inset 0 0 0 1px rgba(255,238,220,.06)}
.rm44-pic canvas{display:block}
.rm44-tx{display:flex;flex-direction:column;min-width:0}
.rm44-tx b{font-size:14px;line-height:1.25}
.rm44-tx small{font-size:11.5px;color:rgba(255,238,220,.5);margin-top:3px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rm44-acts{grid-column:1/-1;display:flex;gap:8px}
.rm44-acts .pill44{flex:1 1 0}
/* cards */
.deck44{display:flex;align-items:center;gap:12px;padding:10px 14px 4px}
.deck44 canvas{width:92px;height:72px;flex:none}
.sw44{padding:6px 14px 14px;display:grid;grid-template-columns:repeat(6,1fr);justify-items:center;gap:10px 6px}
.sw44 .sw{width:26px;height:26px}
.ls44 .friends .fr-row{padding:10px 14px}
.ls44 .friends .sd-note{padding:12px 14px;margin:0}
/* the room picker */
.rp44-q{margin:4px 0 12px}
.rp44-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:10px;min-height:200px}
.rp44-it{display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:6px 6px 9px;border:0;border-radius:14px;background:rgba(255,242,228,.05);box-shadow:inset 0 0 0 1px rgba(255,238,220,.06);color:inherit;cursor:var(--cu-hand,pointer);text-align:center;transition:background .2s,transform .2s}@media (hover:hover){.rp44-it:hover{background:rgba(255,242,228,.09);transform:translateY(-1px)}}
.rp44-it.sel{box-shadow:inset 0 0 0 2px #f2bb72}
.rp44-pic{border-radius:10px;overflow:hidden;background:rgba(0,0,0,.25)}
.rp44-pic canvas{display:block;width:100%!important;height:auto!important}
.rp44-it b{font-size:12px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rp44-it small{font-size:10.5px;color:rgba(255,238,220,.5)}
.rp44-nav{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:12px;font-size:12px;color:rgba(255,238,220,.6)}
.rp44-nav .pill44{width:38px;padding:0}
/* the pet editor: the charm and the bed */
.seg44{display:inline-flex;gap:2px;padding:3px;border-radius:11px;background:rgba(0,0,0,.2)}
.seg44 button{height:28px;padding:0 11px;border:0;border-radius:8px;background:transparent;color:rgba(255,238,220,.7);font:600 12px/1 var(--sans);cursor:var(--cu-hand,pointer)}
.seg44 button[aria-checked="true"]{background:rgba(255,242,228,.12);color:var(--linen,#f7f0e7);box-shadow:0 1px 3px rgba(0,0,0,.25)}
.field.ch44.off{opacity:.4;pointer-events:none}
.swatches.beds44{display:grid;grid-template-columns:repeat(auto-fill,minmax(30px,1fr));justify-items:center;gap:9px 4px;padding:6px 2px}
.swatches.beds44 .sw{width:26px;height:26px;border-radius:9px}

/* round 46: the maker's account in the chat, gold lettering in a gold-edged bubble */
#chatList .msg.dev46 .txt{display:inline-block;max-width:86%;padding:6px 12px;border:1.5px solid transparent;border-radius:18px 18px 18px 6px;background:linear-gradient(#251c12,#1d160f) padding-box,linear-gradient(100deg,#c9962f 0%,#e6bd5c 22%,#fff2c4 36%,#e9c468 50%,#b98a2a 72%,#e6bd5c 100%) border-box}
#chatList .msg.me.dev46 .txt{border-radius:18px 18px 6px 18px}
#chatList .msg.dev46.cont .txt{border-radius:6px 18px 18px 6px}
#chatList .msg.me.dev46.cont .txt{border-radius:18px 6px 6px 18px}
#chatList .msg.dev46 .txt .dev29{font-weight:600}
#popName .dev29{font-weight:inherit}

/* ===== round 47 ===== */
/* your cards after you fold: they vanish as the toss leaves, then settle back in your hand, quiet and faded, to remember */
#hand.folded .pcard.dealt{opacity:.5;transform:rotate(var(--r)) translateY(calc(var(--y) - 2px)) scale(.94);transition:none;animation:fold47 .75s cubic-bezier(.22,.8,.24,1) .5s backwards}
#hand.folded .pcard .face,#hand.folded .pcard .back{filter:brightness(.68) saturate(.35)}
@keyframes fold47{0%{opacity:0;transform:rotate(var(--r)) translateY(calc(var(--y) + 16px)) scale(.9)}100%{opacity:.5;transform:rotate(var(--r)) translateY(calc(var(--y) - 2px)) scale(.94)}}
@media (prefers-reduced-motion:reduce){#hand.folded .pcard.dealt{animation:fold47f .4s linear .45s backwards}@keyframes fold47f{0%{opacity:0}100%{opacity:.5}}}

/* T to talk: a field in your colour just above the move line */
.dockcol{position:relative}
.say47{position:absolute;left:50%;bottom:calc(100% + 10px);z-index:30;transform:translateX(-50%);pointer-events:none;visibility:hidden;display:flex;justify-content:center}
.say47.open,.say47.closing,.say47.sent{visibility:visible}
.say47.open{pointer-events:auto}
.s47-pill{--ink:var(--c,#f2c46d);position:relative;display:block;box-sizing:border-box;width:268px;height:47px;margin:0;padding:0;border-radius:24px;overflow:clip;
  background:rgba(30,24,28,.9);background:color-mix(in srgb,var(--ink) 15%,rgba(24,18,22,.92));
  border:1.5px solid rgba(242,196,109,.5);border-color:color-mix(in srgb,var(--ink) 58%,transparent);
  box-shadow:0 14px 36px rgba(5,3,10,.42),0 0 0 5px color-mix(in srgb,var(--ink) 9%,transparent),0 0 30px color-mix(in srgb,var(--ink) 20%,transparent);
  -webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2);
  transform-origin:50% 100%;transition:border-radius .5s cubic-bezier(.22,.9,.24,1),box-shadow .35s ease}
.s47-pill.multi{border-radius:20px}
.s47-pill:focus-within{box-shadow:0 14px 36px rgba(5,3,10,.42),0 0 0 5px color-mix(in srgb,var(--ink) 13%,transparent),0 0 34px color-mix(in srgb,var(--ink) 28%,transparent)}
.s47-dot{position:absolute;left:12.5px;bottom:16.5px;width:8px;height:8px;border-radius:50%;background:var(--ink);box-shadow:0 0 10px var(--ink);animation:s47breath 2.6s ease-in-out infinite}
@keyframes s47breath{0%,100%{opacity:.65;transform:scale(.88)}50%{opacity:1;transform:scale(1.08)}}
.s47-view{--ft:0px;--fb:0px;--fr:0px;position:absolute;left:31px;right:47px;top:10px;bottom:10px;overflow:clip;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 var(--ft),#000 calc(100% - var(--fb)),transparent 100%),linear-gradient(to right,#000 calc(100% - var(--fr)),transparent 100%);
  -webkit-mask-composite:source-in;mask-image:linear-gradient(to bottom,transparent 0,#000 var(--ft),#000 calc(100% - var(--fb)),transparent 100%),linear-gradient(to right,#000 calc(100% - var(--fr)),transparent 100%);mask-composite:intersect}
.s47-view textarea{display:block;position:absolute;left:0;top:0;width:185px;height:26px;margin:0;padding:0;border:0;outline:0;resize:none;overflow:hidden;background:transparent;color:var(--linen,#f3e9de);
  font-family:inherit;font-size:15px;font-weight:500;line-height:24px;letter-spacing:.005em;white-space:pre-wrap;overflow-wrap:break-word;word-break:normal;caret-color:var(--ink);will-change:transform;scrollbar-width:none}
.s47-view textarea::-webkit-scrollbar{display:none}
.s47-view textarea::placeholder{color:rgba(243,233,222,.45);color:color-mix(in srgb,var(--ink) 38%,rgba(243,233,222,.5))}
.s47-send{position:absolute;right:8.5px;bottom:7.5px;display:grid;place-items:center;width:28px;height:28px;margin:0;padding:0;border:0;border-radius:50%;cursor:var(--cu-hand,pointer);
  background:var(--ink);color:rgba(20,15,18,.9);opacity:0;transform:scale(.55);transition:opacity .22s ease,transform .32s cubic-bezier(.3,1.5,.5,1),filter .2s}
.s47-send svg{width:16px;height:16px}
.say47.has .s47-send{opacity:1;transform:scale(1)}@media (hover:hover){.s47-send:hover{filter:brightness(1.1)}}
.s47-mirror{position:absolute;left:-9999px;top:0;visibility:hidden;white-space:pre-wrap;overflow-wrap:break-word;word-break:normal;font-family:inherit;font-size:15px;font-weight:500;line-height:24px;letter-spacing:.005em}
/* the maker's account: a gold field, gold words */
.say47.dev48 .s47-pill{--ink:#e3b452;border-color:transparent;background:linear-gradient(rgba(37,28,17,.94),rgba(29,22,14,.94)) padding-box,linear-gradient(100deg,#b98a2a 0%,#e6bd5c 20%,#fff2c4 34%,#e9c468 48%,#b98a2a 70%,#e6bd5c 88%,#c9962f 100%) border-box;background-size:100% 100%,240% 100%}
.say47.dev48.open .s47-pill{animation:s47in .48s cubic-bezier(.2,.85,.25,1.06) both,s48sheen 5.5s linear infinite}
@keyframes s48sheen{0%{background-position:0 0,0% 0}100%{background-position:0 0,240% 0}}
.say47.dev48 .s47-view textarea{color:#f3d68b;text-shadow:0 0 12px rgba(240,200,110,.18)}
.say47.dev48 .s47-view textarea::placeholder{color:rgba(232,196,110,.55)}
.say47.dev48 .s47-dot{background:linear-gradient(135deg,#fff2c4,#d9a943 60%,#b98a2a);box-shadow:0 0 10px rgba(240,200,110,.7)}
.say47.dev48 .s47-send{background:linear-gradient(135deg,#fff0bd 0%,#e9c468 40%,#c4922c 100%);color:#2a1d0c}
#chatForm.dev48{border-color:transparent!important;background:linear-gradient(rgba(37,28,17,.94),rgba(29,22,14,.94)) padding-box,linear-gradient(100deg,#b98a2a 0%,#e6bd5c 22%,#fff2c4 36%,#e9c468 50%,#b98a2a 72%,#e6bd5c 100%) border-box!important}
#chatForm.dev48 #chatInput{color:#f3d68b;caret-color:#e3b452}
#chatForm.dev48 #chatInput::placeholder{color:rgba(232,196,110,.55)}
.say47.open .s47-pill{animation:s47in .48s cubic-bezier(.2,.85,.25,1.06) both}
.say47.closing .s47-pill{animation:s47out .24s cubic-bezier(.4,0,.7,1) both}
.say47.sent .s47-pill{animation:s47sent .44s cubic-bezier(.3,.6,.3,1) both}
.s47-pill.nudge{animation:s47nudge .36s ease both!important}
@keyframes s47in{0%{opacity:0;transform:translateY(12px) scale(.9);filter:blur(6px)}55%{opacity:1;filter:blur(0)}100%{opacity:1;transform:none;filter:none}}
@keyframes s47out{0%{opacity:1;transform:none}100%{opacity:0;transform:translateY(8px) scale(.95);filter:blur(4px)}}
@keyframes s47sent{0%{opacity:1;transform:none}30%{opacity:1;transform:translateY(-3px) scale(1.02);box-shadow:0 14px 36px rgba(5,3,10,.42),0 0 0 6px color-mix(in srgb,var(--ink) 18%,transparent),0 0 40px color-mix(in srgb,var(--ink) 40%,transparent)}100%{opacity:0;transform:translateY(-26px) scale(.97);filter:blur(3px)}}
@keyframes s47nudge{0%,100%{transform:none}25%{transform:translateX(-5px)}50%{transform:translateX(4px)}75%{transform:translateX(-2px)}}
@media (prefers-reduced-motion:reduce){
  .s47-pill,.s47-pill textarea,.s47-send{transition:none}
  .s47-dot{animation:none}
  .say47.open .s47-pill{animation:s47fi .18s linear both}
  .say47.closing .s47-pill,.say47.sent .s47-pill{animation:s47fo .18s linear both}
  .s47-pill.nudge{animation:none!important}
  @keyframes s47fi{from{opacity:0}to{opacity:1}}
  @keyframes s47fo{from{opacity:1}to{opacity:0}}
}
#chatForm.dev48:focus-within{box-shadow:0 0 0 3px rgba(227,180,82,.16)!important}

/* ===== round 49 ===== */
/* ---- the loading screen: a warm room at night, the host breathing, a proper loader ---- */
#bootScreen.bs49{display:block;overflow:hidden;background:radial-gradient(120% 85% at 50% 108%,#3b2a24 0%,#251b1f 38%,#140f15 72%,#0b080d 100%);animation:bsGone .5s ease 12s forwards;transition:opacity .7s cubic-bezier(.3,.7,.2,1),visibility .7s}
#bootScreen.bs49::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(70% 55% at 50% 46%,transparent 40%,rgba(5,3,8,.55) 100%)}
#bootScreen.bs49::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.05;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E")}
#bootScreen.bs49.out{opacity:0;visibility:hidden;filter:none}
#bootScreen.bs49.out .b49-in{transform:scale(1.015) translateY(-4px);opacity:0;transition:transform .7s cubic-bezier(.3,.7,.2,1),opacity .55s ease}
.b49-glow{position:absolute;left:50%;bottom:-30vh;bottom:-30dvh;width:120vw;height:70vh;height:70dvh;margin-left:-60vw;border-radius:50%;background:radial-gradient(closest-side,rgba(240,160,90,.2),rgba(240,160,90,.06) 55%,transparent);animation:b49warm 5s ease-in-out infinite alternate;will-change:opacity,transform}
@keyframes b49warm{from{opacity:.75;transform:scale(1)}to{opacity:1;transform:scale(1.05)}}
.b49-motes{position:absolute;inset:0;pointer-events:none}
.b49-motes span{position:absolute;bottom:-10px;width:3px;height:3px;border-radius:50%;background:rgba(255,214,160,.7);box-shadow:0 0 6px rgba(255,190,120,.6);opacity:0;animation:b49mote 9s linear infinite;will-change:transform,opacity}
.b49-motes span:nth-child(1){left:18%;animation-delay:-1s}.b49-motes span:nth-child(2){left:31%;animation-delay:-5.5s;animation-duration:11s}.b49-motes span:nth-child(3){left:44%;animation-delay:-3s}
.b49-motes span:nth-child(4){left:57%;animation-delay:-7s;animation-duration:12s}.b49-motes span:nth-child(5){left:69%;animation-delay:-2.2s}.b49-motes span:nth-child(6){left:80%;animation-delay:-6.4s;animation-duration:10s}
.b49-motes span:nth-child(7){left:90%;animation-delay:-4.1s;animation-duration:13s}
@keyframes b49mote{0%{transform:translate3d(0,0,0);opacity:0}12%{opacity:.8}70%{opacity:.5}100%{transform:translate3d(18px,-80vh,0);transform:translate3d(18px,-80dvh,0);opacity:0}}
#bootScreen.bs49 .b49-in{position:absolute;left:50%;top:47%;transform:translate(-50%,-50%);width:min(360px,calc(100vw - 32px));display:flex;flex-direction:column;align-items:center;gap:0;text-align:center;animation:b49in .9s cubic-bezier(.2,.8,.2,1) both}
#bootScreen.bs49.out .b49-in{transform:translate(-50%,-50%) scale(1.015)}
@keyframes b49in{from{opacity:0;transform:translate(-50%,calc(-50% + 14px))}to{opacity:1;transform:translate(-50%,-50%)}}
.b49-stage{position:relative;width:140px;height:134px;display:grid;place-items:end center}
.b49-halo{position:absolute;left:50%;top:46%;width:220px;height:220px;margin:-110px 0 0 -110px;border-radius:50%;background:radial-gradient(closest-side,rgba(246,196,128,.26),rgba(246,196,128,.08) 55%,transparent);animation:b49halo 3.6s ease-in-out infinite alternate}
@keyframes b49halo{from{opacity:.7;transform:scale(.96)}to{opacity:1;transform:scale(1.05)}}
#bootScreen.bs49 .bs-blob{position:relative;width:112px;height:112px;margin-bottom:8px;filter:none;animation:b49bob 3s ease-in-out infinite;transform-origin:50% 100%}
@keyframes b49bob{0%,100%{transform:translateY(0) scale(1,1)}50%{transform:translateY(-6px) scale(.985,1.02)}}
.b49-shadow{position:absolute;left:50%;bottom:4px;width:62px;height:9px;margin-left:-31px;border-radius:50%;background:radial-gradient(closest-side,rgba(0,0,0,.45),transparent);animation:b49shadow 3s ease-in-out infinite}
@keyframes b49shadow{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.86);opacity:.7}}
#bootScreen.bs49 h1{margin:14px 0 0;font:600 clamp(32px,6.4vw,46px)/1.05 var(--serif2,var(--serif,Georgia,serif));letter-spacing:.01em;color:#f8efe4;text-shadow:0 2px 24px rgba(242,180,110,.22)}
.b49-tag{display:flex;align-items:center;gap:12px;margin:10px 0 0;font:600 11px/1 var(--sans,system-ui);letter-spacing:.24em;text-transform:uppercase;color:rgba(242,205,160,.62)}
.b49-tag::before,.b49-tag::after{content:"";width:28px;height:1px;background:linear-gradient(90deg,transparent,rgba(242,205,160,.5))}
.b49-tag::after{background:linear-gradient(90deg,rgba(242,205,160,.5),transparent)}
.b49-suits{display:flex;gap:14px;margin:26px 0 0;font:500 15px/1 Georgia,serif}
.b49-suits b{font-weight:400;color:rgba(248,239,228,.85);opacity:.22;animation:b49suit 2.4s ease-in-out infinite}
.b49-suits b.rd{color:#f19a8a}
.b49-suits b:nth-child(2){animation-delay:.3s}.b49-suits b:nth-child(3){animation-delay:.6s}.b49-suits b:nth-child(4){animation-delay:.9s}
@keyframes b49suit{0%,100%{opacity:.22;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}60%{opacity:.22;transform:translateY(0)}}
.b49-load{display:flex;flex-direction:column;align-items:stretch;gap:9px;width:min(240px,70vw);margin:16px 0 0}
#bootScreen.bs49 .bs-bar{display:block;position:relative;width:auto;height:4px;margin:0;border-radius:4px;background:rgba(255,242,228,.08);box-shadow:inset 0 0 0 1px rgba(255,242,228,.04);overflow:hidden}
#bootScreen.bs49 .bs-bar::after{content:"";position:absolute;top:0;bottom:0;left:0;width:40%;background:linear-gradient(90deg,transparent,rgba(255,226,180,.18),transparent);animation:b49sweep 1.8s ease-in-out infinite}
@keyframes b49sweep{from{transform:translateX(-100%)}to{transform:translateX(250%)}}
#bootScreen.bs49 .bs-bar i{position:absolute;inset:0;border-radius:4px;background:linear-gradient(90deg,#d9873e,#f2b464 60%,#ffd99a);box-shadow:0 0 12px rgba(242,160,80,.55);transform-origin:0 50%;transform:scaleX(0);transition:transform .35s cubic-bezier(.3,.7,.2,1)}
.b49-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
#bootScreen.bs49 .b49-status{position:static;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;font:500 12.5px/1.2 var(--sans,system-ui);color:rgba(248,239,228,.58)}
.b49-status.b49sw{animation:b49sw .5s ease both}
@keyframes b49sw{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}
.b49-pct{font:600 12px/1.2 var(--sans,system-ui);font-variant-numeric:tabular-nums;color:rgba(242,190,120,.8)}
.b49-tip{position:absolute;left:50%;bottom:max(26px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(520px,calc(100vw - 32px));margin:0;text-align:center;font:500 12.5px/1.45 var(--sans,system-ui);color:rgba(248,239,228,.42);animation:b49in2 1.2s .4s ease both}
@keyframes b49in2{from{opacity:0}to{opacity:1}}
@media (max-height:520px){.b49-stage{transform:scale(.8);margin:-12px 0}.b49-suits{margin-top:16px}}
@media (prefers-reduced-motion:reduce){#bootScreen.bs49 *,#bootScreen.bs49 *::before,#bootScreen.bs49 *::after{animation:none!important}.b49-motes{display:none}.b49-suits b{opacity:.6}}

/* ---- Unreal names: one even pearl-pink, still (no stuttering shimmer, no wrong-coloured stripes); a soft sheen
   glides across once when you point at one ---- */
.ttl.r-unreal,.qc.r-unreal{background:linear-gradient(100deg,#ff9ec4 0%,#ffc2da 18%,#fff0f6 30%,#ffc8df 42%,#f3b2e6 58%,#ffb3d1 76%,#ff9ec4 100%);background-size:240% 100%;background-position:12% 0;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:none!important;filter:none;transition:background-position 1.4s cubic-bezier(.3,.6,.2,1)}
.ttl.r-unreal{filter:drop-shadow(0 0 5px rgba(255,150,195,.28))}
@media (hover:hover){@media (hover:hover){.it:hover .ttl.r-unreal,.cont:hover .ttl.r-unreal,.ttl.r-unreal:hover,.it:hover .qc.r-unreal,.qc.r-unreal:hover{background-position:88% 0}}}
.ttl.r-unreal::before,.ttl.r-unreal::after{filter:none!important;background:radial-gradient(circle,#fff 0 16%,rgba(255,220,236,.95) 18%,transparent 64%)}

/* ---- lighter overlays: big surfaces fade and drift, they don't blur in (blurring a whole page every frame is what
   made the shop, the inventory and a chest's contents stutter on the way in) ---- */
.page-card{filter:none!important;transition:opacity .45s var(--dream),transform .45s var(--dream)!important}
#modal:not(.hidden):not(.fading){animation:fade49in .3s var(--dream) both}
#modal:not(.hidden):not(.fading) .sheet{animation:sheet49in .42s var(--dream) both}
#modal.fading{animation:fade49out .22s var(--dream) forwards!important}
#modal.fading .sheet{animation:sheet49out .22s var(--dream) forwards!important}
@keyframes fade49in{from{opacity:0}to{opacity:1}}
@keyframes fade49out{from{opacity:1}to{opacity:0}}
@keyframes sheet49in{from{opacity:0;transform:translateY(12px) scale(.975)}to{opacity:1;transform:none}}
@keyframes sheet49out{from{opacity:1;transform:none}to{opacity:0;transform:translateY(-6px) scale(.985)}}
/* anything still moving on the page underneath stops while a sheet or a chest opening is over it */
#page.under49 *,#page.under49 *::before,#page.under49 *::after,
body.ovl-th #page *,body.ovl-th #page *::before,body.ovl-th #page *::after{animation-play-state:paused!important}
/* (round 50) a class set from the game, not body:has(...): asking the whole page "has" on every change made every
   line of a long chat log restyle each frame */

/* ===== round 50 ===== */
/* Unreal is rose metal: polished like the Legendary gold, dark-light-dark bands with a bright edge, in the Unreal
   pink. Never rainbow. */
.ttl.r-unreal,.qc.r-unreal{background:linear-gradient(100deg,#c85a87 0%,#dc78a1 16%,#f6b1ce 30%,#fff1f6 38%,#f3a7c6 48%,#c95a87 64%,#e28bae 80%,#f7bdd4 90%,#c85a87 100%);background-size:220% 100%;background-position:10% 0;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:none!important;transition:background-position 1.6s cubic-bezier(.3,.6,.2,1)}
.ttl.r-unreal{filter:drop-shadow(0 1px 0 rgba(60,8,30,.55)) drop-shadow(0 0 6px rgba(255,140,190,.22))}
@media (hover:hover){@media (hover:hover){.it:hover .ttl.r-unreal,.cont:hover .ttl.r-unreal,.ttl.r-unreal:hover,.it:hover .qc.r-unreal,.qc.r-unreal:hover{background-position:90% 0}}}
.ttl.r-unreal::before,.ttl.r-unreal::after{background:radial-gradient(circle,#fff 0 16%,rgba(255,214,230,.95) 18%,transparent 64%)}
.rpill.r-unreal,.it[data-r=unreal] .badge{background:linear-gradient(100deg,#8a3157 0%,#c65e8a 18%,#f4b0cb 34%,#ffe4ee 42%,#e68fb3 54%,#a8466f 74%,#d77ca2 90%,#9b3b63 100%)!important;background-size:100% 100%!important;color:#3a0819!important;text-shadow:0 1px 0 rgba(255,230,240,.45);box-shadow:inset 0 1px 0 rgba(255,240,246,.55),inset 0 -1px 0 rgba(70,10,36,.35);animation:none!important}

/* ===== round 51 ===== */
/* a quick chat's little diamond sits in the line before the words (it can't run into the first word, on any screen) */
#chatList .msg.qcm .txt{padding-left:0}
#chatList .msg.me.qcm .txt,#chatList .msg.dev46.qcm .txt{padding-left:12px}
#chatList .msg.qcm .txt::before{position:relative;display:inline-block;left:auto;top:auto;width:8px;height:8px;margin:0 10px 0 3px;vertical-align:.05em;flex:none}
/* your card fades in over the flying one as it lands (the hand-over is a cross-fade, not a switch) */
#hand .pcard.arrive{transition:transform .5s cubic-bezier(.25,.1,.25,1),opacity .2s linear!important}

/* round 52: the island is born as its badge and opens out both ways (its size and place are set as it arrives) */
#toasts .toast.isl.isl52{position:fixed!important;margin:0!important;transform:translateX(-50%);overflow:hidden;animation:none!important;box-sizing:border-box;contain:layout paint;will-change:width,height,transform}
#toasts .toast.isl.isl52 .isl-ic,#toasts .toast.isl.isl52 .isl-tx{animation:none!important}
#toasts .toast.isl.isl52 .isl-tx{flex:none}
#toasts .toast.isl.isl52.out52{pointer-events:none}
#toasts .toast.isl.isl52.dock{box-shadow:0 6px 22px rgba(0,0,0,.42),0 1px 4px rgba(0,0,0,.3),inset 0 0 0 1px rgba(255,255,255,.07)}
#toasts .toast.isl.isl52 .isl-ic{flex:none}
/* round 52: your cards in your hand match the flying card exactly (it's a touch darker and cooler under the room's light) */
#hand .pcard .face,#hand .pcard .back{filter:brightness(calc(var(--hb38,.8) * .975)) saturate(.97)}
/* ---------- round 52: chips ---------- */
.hm-chips52{display:inline-flex;align-items:center;gap:5px;margin-left:8px;padding:2px 8px 2px 4px;border-radius:999px;background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,238,220,.08);font-size:12px;font-weight:650;color:var(--linen,#f4ece2);cursor:var(--cu-hand,pointer);vertical-align:middle;font-variant-numeric:tabular-nums;line-height:18px}
.hm-chips52 i{width:13px;height:13px;border-radius:50%;background:var(--cc,#2d2d3d);box-shadow:inset 0 0 0 2px rgba(255,255,255,.55),inset 0 0 0 3.5px var(--cc,#2d2d3d),0 1px 2px rgba(0,0,0,.4)}
.hm-chips52 b{font-weight:650}
@media (hover:hover){@media (hover:hover){.hm-chips52:hover{background:rgba(255,255,255,.11)}}}
@media (max-width:360px){.hm-chips52{margin-left:5px;padding:2px 6px 2px 3px;font-size:11px}}
/* the pile pouring into an opened chest */
.chips52{display:flex;align-items:center;justify-content:center;gap:14px;margin:10px auto 4px;padding:8px 18px 8px 10px;width:fit-content;max-width:94vw;border-radius:20px;background:rgba(20,16,22,.9);box-shadow:inset 0 0 0 1px rgba(255,238,220,.08),0 0 0 1px color-mix(in srgb,var(--cc) 30%,transparent),0 10px 30px -12px color-mix(in srgb,var(--cc) 60%,transparent);animation:c52In .34s cubic-bezier(.2,1.2,.4,1) both}
@keyframes c52In{from{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:none}}
.chips52 .c52-tx{text-align:left;display:grid;gap:3px}
.chips52 .c52-l{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.chips52 .c52-n{font-size:26px;font-weight:750;letter-spacing:-.02em;color:#fff;font-variant-numeric:tabular-nums;text-shadow:0 0 18px color-mix(in srgb,var(--cc) 55%,transparent)}
.chips52 .c52-l span{font-size:14px;font-weight:600;color:rgba(244,236,226,.75)}
.chips52 .c52-dbl{font-style:normal;font-size:11.5px;font-weight:700;padding:2px 8px;border-radius:999px;background:color-mix(in srgb,var(--cc) 30%,#1a1418);color:#fff;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--cc) 60%,transparent)}
.chips52 small{font-size:11.5px;color:rgba(244,236,226,.58)}
.chips52 small b{color:rgba(244,236,226,.88);font-weight:650}
.chips52.done .c52-n{animation:c52Pop .4s cubic-bezier(.2,1.6,.4,1)}
@keyframes c52Pop{40%{transform:scale(1.08)}}
.chips52.free{padding:8px 14px;gap:8px;color:rgba(244,236,226,.62);font-size:12.5px;box-shadow:inset 0 0 0 1px rgba(255,238,220,.08)}
.chips52.free .c52-free{display:inline-flex;align-items:center;gap:8px}
.chips52.free .i{width:16px;height:16px}
.th .chips52{animation:c52In .34s cubic-bezier(.2,1.2,.4,1) both!important}
@media (prefers-reduced-motion:reduce){.chips52,.th .chips52,.chips52.done .c52-n{animation:none!important}}
/* wallet */
.c52-wallet{display:flex;align-items:center;gap:10px;padding:8px 14px 8px 8px;border-radius:18px;background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1px rgba(255,238,220,.08);flex:none}
.c52-wallet small{display:block;font-size:11px;color:rgba(244,236,226,.55);font-weight:600}
.c52-wallet b{font-size:20px;font-weight:750;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.c52-wallet.big b{font-size:24px}
.c52-wallet .c52-empty{width:44px;height:44px;display:grid;place-items:center;color:rgba(244,236,226,.4)}
.c52-wallet .c52-empty .i{width:26px;height:26px}
.c52-img{display:block;flex:none}
.c52-inv{display:inline-flex;align-items:center;gap:6px}
.c52-inv .c52-img{width:34px;height:22px;margin:-4px 0}
.c52-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin:0 4px -1px 0;background:var(--c);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.6),inset 0 0 0 2.6px var(--c)}
.c52-dot.rim{box-shadow:inset 0 0 0 1.5px #f7da8c,inset 0 0 0 2.6px var(--c)}
/* the pages */
#pgBody .it-head .c52-wallet{margin-left:auto}
.t52-soon{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px;padding:12px 14px;border-radius:16px;background:rgba(242,187,114,.08);box-shadow:inset 0 0 0 1px rgba(242,187,114,.2)}
.t52-soon b{color:#f2c46d;font-size:13px}
.t52-soon span{flex:1 1 240px;font-size:12.5px;color:rgba(244,236,226,.72)}
.t52-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.t52{padding:12px 14px;border-radius:18px;background:rgba(255,255,255,.035);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c) 22%,transparent)}
.t52-h{display:flex;align-items:center;justify-content:space-between;gap:10px}
.t52-h>.ttl{font-size:16px}
.t52-fee{display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;column-gap:6px;align-items:center;text-align:right}
.t52-fee .c52-img{grid-row:1/3;width:54px;height:34px}
.t52-fee b{font-size:17px;font-weight:750;font-variant-numeric:tabular-nums}
.t52-fee small{font-size:10.5px;color:rgba(244,236,226,.5)}
.t52-bar{display:block;height:5px;margin:10px 0 4px;border-radius:3px;background:rgba(255,255,255,.07);overflow:hidden}
.t52-bar i{display:block;height:100%;border-radius:3px;background:var(--cc,#e9c25a)}
.t52-have{margin:0 0 6px;font-size:11.5px;color:rgba(244,236,226,.55)}
.t52-rows .row{padding:5px 0;font-size:12.5px}
.t52-rows .row small{display:block;font-size:11px;color:rgba(244,236,226,.45)}
.t52-pz{margin-top:8px}
.t52-pz .h-sec{margin:6px 0 4px}
.t52-p{display:flex;align-items:center;gap:8px;padding:3px 0;font-size:12.5px;flex-wrap:wrap}
.t52-p .c52-img{width:44px;height:30px}
.t52-pl{width:28px;color:rgba(244,236,226,.5);font-weight:650;font-size:11.5px}
.t52-p b{font-variant-numeric:tabular-nums}
.t52-p em{font-style:normal;font-size:11.5px;color:var(--c,#f2c46d)}
.t52-p em.seat{color:#f2c46d}
.c52-src{display:grid;gap:8px}
.c52-src>div{display:grid;gap:2px;padding:9px 12px;border-radius:14px;background:rgba(255,255,255,.03);box-shadow:inset 0 0 0 1px rgba(255,238,220,.06)}
.c52-src b{font-size:13px}
.c52-src span{font-size:12.5px;color:rgba(244,236,226,.66)}
.c52-src .no{background:rgba(224,82,91,.06);box-shadow:inset 0 0 0 1px rgba(224,82,91,.18)}
.c52-chests{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.c52-ch{display:grid;justify-items:center;text-align:center;gap:3px;padding:10px 8px 12px;border-radius:16px;background:radial-gradient(120% 80% at 50% 0%,color-mix(in srgb,var(--cc) 14%,transparent),transparent 70%),rgba(255,255,255,.03);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c) 22%,transparent)}
.c52-ch .c52-cimg{width:56px;height:42px;object-fit:contain}
.c52-ch .c52-img{width:92px;height:54px;margin:2px 0}
.c52-ch .c52-amt{font-size:15px;font-weight:750;font-variant-numeric:tabular-nums}
.c52-ch small{font-size:11px;color:rgba(244,236,226,.6)}
.c52-ch small.dbl{color:rgba(244,236,226,.45)}
.c52-today{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-bottom:10px}
.c52-tc{padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.035);box-shadow:inset 0 0 0 1px rgba(255,238,220,.07);display:grid;gap:2px}
.c52-tc small{font-size:11px;color:rgba(244,236,226,.55);font-weight:600}
.c52-tc b{font-size:17px;font-weight:750;font-variant-numeric:tabular-nums}
.c52-tc b i{font-style:normal;font-size:12px;font-weight:600;color:rgba(244,236,226,.5)}
.c52-tc .t52-bar{margin:6px 0 3px;--cc:#e9c25a}
.c52-tc em{font-style:normal;font-size:11.5px;color:rgba(244,236,226,.62)}
.c52-q{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px;margin-bottom:10px}
.c52-qc{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:9px 10px;border-radius:14px;background:rgba(255,255,255,.03);box-shadow:inset 0 0 0 1px rgba(255,238,220,.06)}
.c52-qc>b{width:100%;font-size:12.5px}
.c52-pp{display:grid;text-align:center;min-width:48px;padding:4px 6px;border-radius:10px;background:rgba(233,194,90,.1);font-size:12.5px;font-weight:700;font-variant-numeric:tabular-nums}
.c52-pp small{font-size:10px;font-weight:600;color:rgba(244,236,226,.55)}
.c52-pp.lo{background:rgba(255,255,255,.05);color:rgba(244,236,226,.75)}
.c52-tbl{display:grid;font-size:12.5px;border-radius:14px;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,238,220,.07)}
.c52-tr{display:grid;grid-template-columns:1.2fr .8fr .8fr 1fr 2fr;gap:8px;padding:7px 12px;align-items:center;font-variant-numeric:tabular-nums}
.c52-tr:nth-child(odd){background:rgba(255,255,255,.025)}
.c52-tr.hd{font-size:11px;font-weight:650;color:rgba(244,236,226,.5);background:rgba(255,255,255,.05)}
.c52-tr.you{background:rgba(242,196,109,.1);box-shadow:inset 3px 0 0 #f2c46d}
.c52-tr span em{font-style:normal;margin-left:6px;font-size:10.5px;padding:1px 6px;border-radius:999px;background:#f2c46d;color:#2a1c0c;font-weight:700}
.c52-tr span i{font-style:normal;font-weight:650}
.c52-tr span small{display:block;font-size:10.5px;color:rgba(244,236,226,.45)}
.c52-tbl.af .c52-tr{grid-template-columns:1.6fr repeat(6,1fr)}
.c52-rules{margin:10px 0 0;padding-left:18px;font-size:12.5px;color:rgba(244,236,226,.68);display:grid;gap:3px}
.c52-tl{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin-bottom:10px}
.c52-ti{display:grid;gap:3px;padding:9px 11px;border-radius:14px;background:rgba(255,255,255,.03);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c) 22%,transparent)}
.c52-ti span{display:flex;align-items:center;gap:6px;font-weight:750;font-variant-numeric:tabular-nums}
.c52-ti .c52-img{width:40px;height:28px}
.c52-ti small{font-size:11px;color:rgba(244,236,226,.55)}
.c52-bands{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px}
.c52-band{display:grid;justify-items:center;text-align:center;gap:1px;padding:8px 6px;border-radius:14px;background:rgba(255,255,255,.03);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--cc) 25%,transparent)}
.c52-band .c52-img{width:46px;height:32px}
.c52-band b{font-size:12.5px}
.c52-band span{font-size:11.5px;font-variant-numeric:tabular-nums}
.c52-band small{font-size:10.5px;color:rgba(244,236,226,.5)}
.c52-side{display:grid;gap:10px;padding-bottom:12px}
.c52-side .c52-today{grid-template-columns:1fr;margin:0}
.c52-side .c52-q{grid-template-columns:1fr;margin:0}
.c52-side .c52-tr{grid-template-columns:1.3fr .8fr .8fr 1fr;padding:6px 10px}
.c52-side .c52-tr span:last-child{display:none}
@media (max-width:560px){
  .c52-tr{grid-template-columns:1.2fr .8fr .8fr 1fr;padding:6px 10px}
  .c52-tr span:last-child{display:none}
  .c52-tbl.af{overflow-x:auto}
  .c52-tbl.af .c52-tr{grid-template-columns:1.4fr repeat(6,minmax(44px,1fr));min-width:480px}
  .c52-tbl.af .c52-tr span:last-child{display:block}
  #pgBody .it-head .c52-wallet{margin:10px 0 0}
}
#thi_chest .chips52 canvas,.chips52 canvas{position:relative!important;inset:auto!important;display:block;flex:none;max-width:none}
/* the Tournaments row opens its page now (still marked coming soon) */
#hmTour.hm-row.soon{cursor:var(--cu-hand,pointer);opacity:.9}

/* ---------- round 53 ---------- */
/* every player's card is the same neat width (a long deck name or title is cut short, never stretches it) */
#pop{width:300px!important;min-width:0!important;max-width:calc(100vw - 20px)!important;box-sizing:border-box}
#pop .pop-id>div{min-width:0;flex:1}
#pop .pop-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#pop .pop-sub{overflow-wrap:anywhere}
/* their chips, under their name */
.pop-chips53{display:inline-flex;align-items:center;gap:5px;margin-top:5px;padding:2px 9px 2px 4px;border-radius:999px;background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,238,220,.08);font-size:12px;line-height:18px;font-variant-numeric:tabular-nums}
.pop-chips53 i{width:13px;height:13px;border-radius:50%;background:var(--cc,#2d2d3d);box-shadow:inset 0 0 0 2px rgba(255,255,255,.55),inset 0 0 0 3.5px var(--cc,#2d2d3d),0 1px 2px rgba(0,0,0,.4)}
.pop-chips53 b{font-weight:700;color:var(--linen,#f4ece2)}
.pop-chips53 small{font-size:11px;color:var(--linen-3,rgba(244,236,226,.6))}
/* on your profile */
.pf-chips53 .pf53{width:100%;border:0;cursor:var(--cu-hand,pointer);color:inherit;text-align:left;font:inherit}
.pf-chips53 .pf53 .chev{margin-left:auto;opacity:.5;display:grid}
.pf-chips53 .pf53 .chev .i{width:16px;height:16px}
@media (hover:hover){@media (hover:hover){.pf-chips53 .pf53:hover{background:rgba(255,255,255,.07)}}}

/* ---------- round 54: tournaments ---------- */
.tn54 .t52-h>div{display:grid;gap:2px}
.tn54-kind{font-size:11px;color:rgba(244,236,226,.55)}
.tn54-live,.tn54-wait{display:grid;gap:2px;margin:10px 0 8px;padding:9px 11px;border-radius:12px;background:rgba(255,255,255,.04);font-size:12.5px}
.tn54-live{background:color-mix(in srgb,var(--c) 14%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c) 35%,transparent)}
.tn54-live b,.tn54-wait b{font-size:13px}
.tn54-live span,.tn54-wait span{color:rgba(244,236,226,.7)}
.tn54-act{display:flex;gap:8px;margin-bottom:6px}
.tn54-act button{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px}
.tn54-act .i{width:15px;height:15px}
.tn54-gate{margin:0;font-size:12px;color:rgba(244,236,226,.6)}
.tn54-last{margin:0 0 4px;font-size:11.5px;color:rgba(244,236,226,.55)}
.tn54-note{margin:6px 0 0;font-size:11px;color:rgba(244,236,226,.45)}
.tn54-hud{position:fixed;z-index:14;left:calc(var(--inset-left,0px) + max(16px,env(safe-area-inset-left,0px)));bottom:calc(var(--dock-h,86px) + 14px);display:grid;gap:1px;padding:7px 12px;border-radius:14px;background:rgba(14,11,16,.82);box-shadow:inset 0 0 0 1px rgba(255,238,220,.08);font-size:11.5px;color:rgba(244,236,226,.75);pointer-events:none;max-width:min(320px,calc(100vw - 32px));font-variant-numeric:tabular-nums}
.tn54-hud b{font-size:12.5px}
@media (max-width:640px){.tn54-hud{left:50%;transform:translateX(-50%);bottom:calc(var(--dock-h,86px) + 8px);text-align:center}}
.tn54-done{display:grid;justify-items:center;text-align:center;gap:6px}
.tn54-done .b44-place{font-size:28px}
.tn54-prize{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:6px 0 10px}
.tn54-prize span{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:14px;background:rgba(255,255,255,.05)}
.tn54-prize img{width:44px;height:32px;object-fit:contain}
.tn54-none{font-size:12.5px;color:rgba(244,236,226,.6)}

/* ---------- round 54: the game's own icons, medals and pointer ---------- */
.i54 .f{fill:currentColor;fill-opacity:.22}
.i54 .k{fill:currentColor;stroke:none}
.i54 .t{stroke-width:1.1}
.ach54{display:block;overflow:visible;filter:drop-shadow(0 2px 3px rgba(0,0,0,.35))}
.ach54 .gly54 *{fill:none;stroke:var(--ink);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ach54 .gly54 .f{fill:var(--ink);fill-opacity:.22}
.ach54 .gly54 .k{fill:var(--ink);stroke:none}
.ach54 .gl54{animation:gl54 5.2s cubic-bezier(.45,0,.3,1) infinite}
@keyframes gl54{0%,64%{transform:translateX(0)}100%{transform:translateX(86px)}}
.ach54.t5 .gl54{animation-duration:3.6s}
.ach54 .sp54 path{transform-box:fill-box;transform-origin:center;animation:sp54 2.8s ease-in-out infinite}
.ach54 .sp54 path:nth-child(2){animation-delay:-.9s}
.ach54 .sp54 path:nth-child(3){animation-delay:-1.8s}
@keyframes sp54{0%,100%{transform:scale(.35);opacity:.2}50%{transform:scale(1);opacity:1}}
.ach-ic.ach-ic54{width:auto!important;height:auto!important;background:none!important;box-shadow:none!important;padding:0!important}
.ach .ach-ic.ach-ic54:not(.got) .ach54{filter:saturate(.6) brightness(.82);opacity:.72}
.ach .ach-ic.ach-ic54:not(.got) .ach54 .gl54,.ach .ach-ic.ach-ic54:not(.got) .ach54 .sp54{display:none}
.isl-ic .ach54{width:32px;height:32px}
#toasts .toast.isl:has(.ach54) .isl-ic{background:none!important}
@media (prefers-reduced-motion:reduce){.ach54 .gl54,.ach54 .sp54 path{animation:none!important}.ach54 .gl54{display:none}}
/* the pointer (round 56: the full set is in cursors56.css): a cream arrow, a cream hand over anything you can press */
html,body,#scene{cursor:var(--cu-arrow,auto)}
a,button,summary,label,select,[role=button],[role=tab],[role=listitem],[tabindex]:not(input):not(textarea),.tap,.person,.cont,.hm-row,.big-opt,.cr,.tile,[data-p52],[data-act],input[type=range],input[type=checkbox],input[type=radio]{cursor:var(--cu-hand,pointer)!important}
button:disabled,[aria-disabled=true]{cursor:var(--cu-no,not-allowed)!important}
input[type=text],input[type=search],input[type=email],input[type=password],input[type=number],input:not([type]),textarea,[contenteditable=true]{cursor:var(--cu-text,text)!important}

/* ---------- round 55: the Tournaments page, simplified ---------- */
.tr55{--tx:rgba(244,236,226,.94);--t2:rgba(244,236,226,.6);--t3:rgba(244,236,226,.4);--hl:rgba(255,240,225,.075);--sf:rgba(255,255,255,.03);--sf2:rgba(255,255,255,.055);
  max-width:880px;margin:0 auto;color:var(--tx);font-variant-numeric:tabular-nums}
.tr55 section{margin:0 0 30px}
.tr55 .i{width:15px;height:15px;flex:none}
.tr55-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 16px;margin:4px 0 26px}
.tr55-head>div{min-width:0}
.tr55-head h2{margin:0;font-size:28px;font-weight:650;letter-spacing:-.015em;line-height:1.15}
.tr55-head p{margin:5px 0 0;font-size:14px;color:var(--t2)}
.tr55-bal{display:inline-flex;align-items:center;gap:7px;padding:7px 13px 7px 10px;border-radius:999px;background:var(--sf2);font-size:14px;white-space:nowrap}
.tr55-bal .i{width:17px;height:17px;color:#f2c46d}
.tr55-bal b{font-weight:600}
.tr55-bal small{color:var(--t2);font-size:13px}
.tr55-banner{margin:-8px 0 24px;padding:12px 14px;border-radius:12px;background:var(--sf);box-shadow:inset 0 0 0 1px var(--hl);font-size:13.5px;color:var(--t2)}
.tr55-h3{margin:0 0 10px;font-size:13px;font-weight:600;color:var(--t2);letter-spacing:.01em}
.tr55-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--c);flex:none;box-shadow:0 0 0 3px color-mix(in srgb,var(--c) 16%,transparent)}
.tr55-dot.sm{width:8px;height:8px;box-shadow:none}

/* the list: one row per tournament */
.tr55-list{border-radius:16px;background:var(--sf);box-shadow:inset 0 0 0 1px var(--hl);overflow:hidden}
.tr55-row{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1.5fr) minmax(0,.7fr) minmax(120px,auto) 28px;grid-template-areas:"name when fee cta chev" "more more more more more";
  align-items:center;column-gap:16px;padding:15px 14px 15px 18px;cursor:var(--cu-hand,pointer);transition:background .15s}
.tr55-row+.tr55-row{border-top:1px solid var(--hl)}
@media (hover:hover){@media (hover:hover){.tr55-row:hover{background:rgba(255,255,255,.018)}}}
.tr55-row.open{background:rgba(255,255,255,.022)}
.tr55-name{grid-area:name;display:flex;align-items:center;gap:12px;min-width:0}
.tr55-name>span,.tr55-when{display:grid;gap:2px;min-width:0}
.tr55-name b{font-size:15px;font-weight:600}
.tr55-row small{font-size:12.5px;color:var(--t2);overflow:hidden;text-overflow:ellipsis}
.tr55-name small{white-space:nowrap}
.tr55-when{grid-area:when}
.tr55-when b{font-size:14px;font-weight:500}
.tr55-when small.ok{color:#9bd36a}
.tr55-row.live .tr55-when b{color:#9bd36a}
.tr55-fee{grid-area:fee;display:grid;gap:2px;text-align:right}
.tr55-fee b{font-size:14px;font-weight:600}
.tr55-cta{grid-area:cta;display:flex;align-items:center;justify-content:flex-end;gap:10px}
.tr55-chev{grid-area:chev;display:grid;place-items:center;width:28px;height:28px;margin:0;padding:0;border:0;border-radius:8px;background:none;color:var(--t3);cursor:var(--cu-hand,pointer)}
.tr55-chev svg{width:16px;height:16px;transition:transform .2s}
.tr55-row.open .tr55-chev svg{transform:rotate(180deg)}@media (hover:hover){.tr55-chev:hover{color:var(--tx)}}
.tr55-in{display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:500;color:#9bd36a;white-space:nowrap}
.tr55-in .i{width:14px;height:14px}
.tr55-lock{font-size:12.5px;color:var(--t3);white-space:nowrap}

/* buttons: one filled, the rest quiet */
.tr55-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:32px;padding:0 16px;margin:0;border:0;border-radius:999px;font:inherit;font-size:13.5px;font-weight:600;cursor:var(--cu-hand,pointer);white-space:nowrap;transition:background .15s,opacity .15s,transform .1s}
.tr55-btn:active{transform:scale(.97)}
.tr55-btn:disabled{opacity:.5;cursor:var(--cu-arrow,default)}
.tr55-btn.pri{background:#f4ece2;color:#1b1619}@media (hover:hover){.tr55-btn.pri:hover{background:#fff}}
.tr55-btn.txt{height:auto;padding:4px 0;background:none;color:var(--t2);font-weight:500}@media (hover:hover){.tr55-btn.txt:hover{color:var(--tx)}}
.tr55-btn.sm{height:28px;padding:0 11px;background:var(--sf2);color:var(--tx);font-size:12.5px;font-weight:500}@media (hover:hover){.tr55-btn.sm:hover{background:rgba(255,255,255,.09)}}
.tr55-btn.sm .i{width:14px;height:14px}

/* a row, opened */
.tr55-more{grid-area:more;padding:16px 0 4px 21px;cursor:var(--cu-arrow,default)}
.tr55-pz{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:14px}
.tr55-pz>div{display:grid;gap:2px;align-content:start;padding:11px 13px;border-radius:12px;background:var(--sf2)}
.tr55-pz small{font-size:12px;color:var(--t2)}
.tr55-pz b{font-size:18px;font-weight:600;letter-spacing:-.01em}
.tr55-pz span{font-size:12.5px;color:var(--t2)}
.tr55-pz em{font-style:normal;font-size:12.5px;color:var(--c)}
.tr55-facts{display:grid;gap:0;margin:0}
.tr55-facts>div{display:flex;justify-content:space-between;gap:16px;padding:8px 0;font-size:13px}
.tr55-facts>div+div{border-top:1px solid var(--hl)}
.tr55-facts dt{color:var(--t2)}
.tr55-facts dd{margin:0;text-align:right}

/* live: how it stands, and who's still in */
.tr55-live{padding:18px 18px 10px;border-radius:16px;background:var(--sf);box-shadow:inset 0 0 0 1px var(--hl)}
.tr55-lh{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:10px;row-gap:3px;margin-bottom:12px}
.tr55-lh b{font-size:16px;font-weight:600}
.tr55-lh small{grid-column:1/-1;font-size:13px;color:var(--t2)}
.tr55-badge{display:inline-flex;align-items:center;gap:6px;padding:3px 9px 3px 8px;border-radius:999px;background:rgba(232,107,107,.14);color:#f08a8a;font-size:11.5px;font-weight:600;letter-spacing:.02em}
.tr55-badge::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;animation:tr55-pulse 1.8s ease-in-out infinite}
@keyframes tr55-pulse{50%{opacity:.35}}
@media (prefers-reduced-motion:reduce){.tr55-badge::before{animation:none}}
.tr55-field{display:grid}
.tr55-fr{display:grid;grid-template-columns:28px minmax(0,1fr) 64px 84px 72px 92px;align-items:center;column-gap:10px;min-height:44px;padding:0 2px;font-size:13.5px}
.tr55-fr+.tr55-fr{border-top:1px solid var(--hl)}
.tr55-fr.hd{min-height:30px;font-size:12px;color:var(--t3)}
.tr55-fr .n{color:var(--t3);font-size:12.5px}
.tr55-fr .num{text-align:right}
.tr55-fr.hd span:nth-child(3),.tr55-fr.hd span:nth-child(4){text-align:right}
.tr55-fr .tbl{color:var(--t2);padding-left:10px}
.tr55-fr.hd .tbl{color:var(--t3)}
.tr55-fr .w{display:flex;justify-content:flex-end}
.tr55-fr .pl{display:flex;align-items:center;gap:10px;min-width:0}
.tr55-fr .pl>span{display:flex;align-items:baseline;gap:7px;min-width:0}
.tr55-fr .pl b{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tr55-fr .pl small{display:none;font-size:12px;color:var(--t2)}
.tr55-fr .pl em{font-style:normal;font-size:11px;font-weight:600;padding:1px 7px;border-radius:999px;background:var(--sf2);color:var(--t2)}
.tr55-fr.me .pl b{color:#fff}
.tr55-all{margin:6px 0 4px}
.tr55-quiet{margin:4px 0 10px;font-size:13px;color:var(--t2)}
/* the table chat's head, watching: the eye and its count never sit on top of the title */
#chatTitle{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.chat-spec{flex:none}
*:has(> #chatSpec:not(.hidden)) > #chatTitle small{display:none}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* how it works */
.tr55-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 28px;margin-bottom:14px}
.tr55-grid b{font-size:14px;font-weight:600}
.tr55-grid p{margin:4px 0 0;font-size:13.5px;line-height:1.5;color:var(--t2)}

/* phones */
@media (max-width:640px){
  .tr55-head{margin-bottom:20px}
  .tr55-head h2{font-size:24px}
  .tr55-row{grid-template-columns:minmax(0,1fr) auto 24px;grid-template-areas:"name fee chev" "when cta cta" "more more more";row-gap:8px;column-gap:10px;padding:14px 10px 14px 14px}
  .tr55-when{padding-left:21px}
  .tr55-cta:empty{display:none}
  .tr55-more{padding:8px 0 2px}
  .tr55-pz{gap:6px}
  .tr55-pz>div{padding:9px 10px}
  .tr55-pz b{font-size:16px}
  .tr55-live{padding:14px 12px 8px}
  .tr55-fr{grid-template-columns:22px minmax(0,1fr) 46px 62px auto;column-gap:8px}
  .tr55-fr .tbl{display:none}
  .tr55-fr .pl>span{display:grid;gap:1px}
  .tr55-fr .pl small{display:block}
  .tr55-fr .pl em{justify-self:start}
  .tr55-btn.sm span{display:none}
  .tr55-btn.sm{width:32px;padding:0}
  .tr55-grid{grid-template-columns:1fr;gap:16px}
}
@media (max-width:360px){
  .tr55-fr{grid-template-columns:18px minmax(0,1fr) 40px 56px auto;font-size:13px}
  .tr55-name small{white-space:normal}
}

/* ---------- round 56: the game's own pointers (made by mk_cursors56.py) ---------- */
@media (pointer:fine){
  :root{
    --cu-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg fill='%23241a22' stroke='%23241a22' stroke-width='2.7' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M4.6 2.9v14.6c0 .6.7.9 1.1.5l3.3-3.1 2.5 5.6c.2.4.7.6 1.1.4l1.7-.8c.4-.2.6-.7.4-1.1l-2.5-5.5h4.6c.6 0 .9-.7.5-1.1L5.7 2.4c-.4-.4-1.1-.1-1.1.5z'/%3E%3C/g%3E%3Cg fill='%23f6eee3'%3E%3Cpath d='M4.6 2.9v14.6c0 .6.7.9 1.1.5l3.3-3.1 2.5 5.6c.2.4.7.6 1.1.4l1.7-.8c.4-.2.6-.7.4-1.1l-2.5-5.5h4.6c.6 0 .9-.7.5-1.1L5.7 2.4c-.4-.4-1.1-.1-1.1.5z'/%3E%3C/g%3E%3C/svg%3E") 5 3,default;
    --cu-hand:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg fill='%23241a22' stroke='%23241a22' stroke-width='2.7' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='8.6' y='1.6' width='3.7' height='12.4' rx='1.85'/%3E%3Crect x='12' y='8.3' width='3.4' height='7' rx='1.7'/%3E%3Crect x='15.1' y='9.1' width='3.2' height='6.6' rx='1.6'/%3E%3Crect x='18' y='10.3' width='2.9' height='5.6' rx='1.45'/%3E%3Cpath d='M8.6 11.6 20.9 12.7v4.2c0 3.2-2.4 5.6-5.6 5.6h-2.5c-2 0-3.5-.8-4.6-2.3l-3.9-5c-.6-.8-.4-1.9.4-2.4.8-.5 1.8-.3 2.4.4l1.4 1.7z'/%3E%3C/g%3E%3Cg fill='%23f6eee3'%3E%3Crect x='8.6' y='1.6' width='3.7' height='12.4' rx='1.85'/%3E%3Crect x='12' y='8.3' width='3.4' height='7' rx='1.7'/%3E%3Crect x='15.1' y='9.1' width='3.2' height='6.6' rx='1.6'/%3E%3Crect x='18' y='10.3' width='2.9' height='5.6' rx='1.45'/%3E%3Cpath d='M8.6 11.6 20.9 12.7v4.2c0 3.2-2.4 5.6-5.6 5.6h-2.5c-2 0-3.5-.8-4.6-2.3l-3.9-5c-.6-.8-.4-1.9.4-2.4.8-.5 1.8-.3 2.4.4l1.4 1.7z'/%3E%3C/g%3E%3Cpath d='M12.15 11.6v2.2M15.25 12.2v2M18.15 12.9v1.6' stroke='%23241a22' stroke-width='.9' stroke-linecap='round' opacity='.5'/%3E%3C/svg%3E") 10 2,pointer;
    --cu-text:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M12 5.4v13.2M9 3.8c1.7 0 3 .5 3 1.6 0-1.1 1.3-1.6 3-1.6M9 20.2c1.7 0 3-.5 3-1.6 0 1.1 1.3 1.6 3 1.6' fill='none' stroke='%23241a22' stroke-width='4.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 5.4v13.2M9 3.8c1.7 0 3 .5 3 1.6 0-1.1 1.3-1.6 3-1.6M9 20.2c1.7 0 3-.5 3-1.6 0 1.1 1.3 1.6 3 1.6' fill='none' stroke='%23f6eee3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 12 12,text;
    --cu-grab:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg fill='%23241a22' stroke='%23241a22' stroke-width='2.7' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='7.3' y='4.2' width='3.1' height='10' rx='1.55'/%3E%3Crect x='10.3' y='2.6' width='3.1' height='11.4' rx='1.55'/%3E%3Crect x='13.3' y='3.6' width='3.1' height='10.4' rx='1.55'/%3E%3Crect x='16.2' y='6.2' width='3' height='8.6' rx='1.5'/%3E%3Cpath d='M7.3 10.8h11.9v5.3c0 3.5-2.4 5.9-5.8 5.9h-1c-2 0-3.5-.8-4.6-2.3l-3.8-4.8c-.6-.8-.4-1.9.4-2.4.8-.5 1.8-.3 2.4.4l.5.6z'/%3E%3C/g%3E%3Cg fill='%23f6eee3'%3E%3Crect x='7.3' y='4.2' width='3.1' height='10' rx='1.55'/%3E%3Crect x='10.3' y='2.6' width='3.1' height='11.4' rx='1.55'/%3E%3Crect x='13.3' y='3.6' width='3.1' height='10.4' rx='1.55'/%3E%3Crect x='16.2' y='6.2' width='3' height='8.6' rx='1.5'/%3E%3Cpath d='M7.3 10.8h11.9v5.3c0 3.5-2.4 5.9-5.8 5.9h-1c-2 0-3.5-.8-4.6-2.3l-3.8-4.8c-.6-.8-.4-1.9.4-2.4.8-.5 1.8-.3 2.4.4l.5.6z'/%3E%3C/g%3E%3C/svg%3E") 12 12,grab;
    --cu-grabbing:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg fill='%23241a22' stroke='%23241a22' stroke-width='2.7' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='7.3' y='8.4' width='3.1' height='6' rx='1.55'/%3E%3Crect x='10.3' y='7.7' width='3.1' height='6.4' rx='1.55'/%3E%3Crect x='13.3' y='8.1' width='3.1' height='6' rx='1.55'/%3E%3Crect x='16.2' y='9' width='3' height='5.4' rx='1.5'/%3E%3Cpath d='M7.3 11.6h11.9v4.6c0 3.4-2.4 5.8-5.8 5.8h-1.1c-2.8 0-5-2.2-5-5z'/%3E%3C/g%3E%3Cg fill='%23f6eee3'%3E%3Crect x='7.3' y='8.4' width='3.1' height='6' rx='1.55'/%3E%3Crect x='10.3' y='7.7' width='3.1' height='6.4' rx='1.55'/%3E%3Crect x='13.3' y='8.1' width='3.1' height='6' rx='1.55'/%3E%3Crect x='16.2' y='9' width='3' height='5.4' rx='1.5'/%3E%3Cpath d='M7.3 11.6h11.9v4.6c0 3.4-2.4 5.8-5.8 5.8h-1.1c-2.8 0-5-2.2-5-5z'/%3E%3C/g%3E%3Cpath d='M10.35 11.4v2.4M13.35 11.2v2.6M16.25 11.6v2.2' stroke='%23241a22' stroke-width='.9' stroke-linecap='round' opacity='.5'/%3E%3C/svg%3E") 12 12,grabbing;
    --cu-no:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg fill='%23241a22' stroke='%23241a22' stroke-width='2.7' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M4.6 2.9v14.6c0 .6.7.9 1.1.5l3.3-3.1 2.5 5.6c.2.4.7.6 1.1.4l1.7-.8c.4-.2.6-.7.4-1.1l-2.5-5.5h4.6c.6 0 .9-.7.5-1.1L5.7 2.4c-.4-.4-1.1-.1-1.1.5z'/%3E%3C/g%3E%3Cg fill='%23f6eee3'%3E%3Cpath d='M4.6 2.9v14.6c0 .6.7.9 1.1.5l3.3-3.1 2.5 5.6c.2.4.7.6 1.1.4l1.7-.8c.4-.2.6-.7.4-1.1l-2.5-5.5h4.6c.6 0 .9-.7.5-1.1L5.7 2.4c-.4-.4-1.1-.1-1.1.5z'/%3E%3C/g%3E%3Ccircle cx='17.6' cy='17.6' r='4.9' fill='%23e07a6c' stroke='%23241a22' stroke-width='1.4'/%3E%3Cpath d='M15.2 20 20 15.2' stroke='%23f6eee3' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") 5 3,not-allowed;
    --cu-wait:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg fill='%23241a22' stroke='%23241a22' stroke-width='2.7' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M4.6 2.9v14.6c0 .6.7.9 1.1.5l3.3-3.1 2.5 5.6c.2.4.7.6 1.1.4l1.7-.8c.4-.2.6-.7.4-1.1l-2.5-5.5h4.6c.6 0 .9-.7.5-1.1L5.7 2.4c-.4-.4-1.1-.1-1.1.5z'/%3E%3C/g%3E%3Cg fill='%23f6eee3'%3E%3Cpath d='M4.6 2.9v14.6c0 .6.7.9 1.1.5l3.3-3.1 2.5 5.6c.2.4.7.6 1.1.4l1.7-.8c.4-.2.6-.7.4-1.1l-2.5-5.5h4.6c.6 0 .9-.7.5-1.1L5.7 2.4c-.4-.4-1.1-.1-1.1.5z'/%3E%3C/g%3E%3Ccircle cx='17.6' cy='17.6' r='4.9' fill='%23f2c46d' stroke='%23241a22' stroke-width='1.4'/%3E%3Cg fill='%23241a22'%3E%3Ccircle cx='15.5' cy='17.6' r='.95'/%3E%3Ccircle cx='17.6' cy='17.6' r='.95'/%3E%3Ccircle cx='19.7' cy='17.6' r='.95'/%3E%3C/g%3E%3C/svg%3E") 5 3,progress;
    --cu-help:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg fill='%23241a22' stroke='%23241a22' stroke-width='2.7' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M4.6 2.9v14.6c0 .6.7.9 1.1.5l3.3-3.1 2.5 5.6c.2.4.7.6 1.1.4l1.7-.8c.4-.2.6-.7.4-1.1l-2.5-5.5h4.6c.6 0 .9-.7.5-1.1L5.7 2.4c-.4-.4-1.1-.1-1.1.5z'/%3E%3C/g%3E%3Cg fill='%23f6eee3'%3E%3Cpath d='M4.6 2.9v14.6c0 .6.7.9 1.1.5l3.3-3.1 2.5 5.6c.2.4.7.6 1.1.4l1.7-.8c.4-.2.6-.7.4-1.1l-2.5-5.5h4.6c.6 0 .9-.7.5-1.1L5.7 2.4c-.4-.4-1.1-.1-1.1.5z'/%3E%3C/g%3E%3Ccircle cx='17.6' cy='17.6' r='4.9' fill='%23f2c46d' stroke='%23241a22' stroke-width='1.4'/%3E%3Cpath d='M16.1 16.4c0-1 .7-1.7 1.6-1.7s1.6.6 1.6 1.5c0 1.2-1.6 1.3-1.6 2.5' fill='none' stroke='%23241a22' stroke-width='1.3' stroke-linecap='round'/%3E%3Ccircle cx='17.7' cy='20.4' r='.8' fill='%23241a22'/%3E%3C/svg%3E") 5 3,help;
    --cu-move:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.5v17M3.5 12h17M9.6 5.9 12 3.5l2.4 2.4M9.6 18.1 12 20.5l2.4-2.4M5.9 9.6 3.5 12l2.4 2.4M18.1 9.6l2.4 2.4-2.4 2.4' fill='none' stroke='%23241a22' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 3.5v17M3.5 12h17M9.6 5.9 12 3.5l2.4 2.4M9.6 18.1 12 20.5l2.4-2.4M5.9 9.6 3.5 12l2.4 2.4M18.1 9.6l2.4 2.4-2.4 2.4' fill='none' stroke='%23f6eee3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 12 12,move;
    --cu-ew:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M3.8 12h16.4M7 8.8 3.8 12 7 15.2M17 8.8l3.2 3.2-3.2 3.2' fill='none' stroke='%23241a22' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3.8 12h16.4M7 8.8 3.8 12 7 15.2M17 8.8l3.2 3.2-3.2 3.2' fill='none' stroke='%23f6eee3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 12 12,ew-resize;
    --cu-ns:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.8v16.4M8.8 7 12 3.8 15.2 7M8.8 17l3.2 3.2 3.2-3.2' fill='none' stroke='%23241a22' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 3.8v16.4M8.8 7 12 3.8 15.2 7M8.8 17l3.2 3.2 3.2-3.2' fill='none' stroke='%23f6eee3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 12 12,ns-resize;
    --cu-nwse:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M6.2 6.2l11.6 11.6M6 10.6V6h4.6M18 13.4V18h-4.6' fill='none' stroke='%23241a22' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6.2 6.2l11.6 11.6M6 10.6V6h4.6M18 13.4V18h-4.6' fill='none' stroke='%23f6eee3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 12 12,nwse-resize;
    --cu-nesw:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M17.8 6.2 6.2 17.8M13.4 6H18v4.6M10.6 18H6v-4.6' fill='none' stroke='%23241a22' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M17.8 6.2 6.2 17.8M13.4 6H18v4.6M10.6 18H6v-4.6' fill='none' stroke='%23f6eee3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 12 12,nesw-resize;
    --cu-cross:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.5v6M12 14.5v6M3.5 12h6M14.5 12h6' fill='none' stroke='%23241a22' stroke-width='4.0' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 3.5v6M12 14.5v6M3.5 12h6M14.5 12h6' fill='none' stroke='%23f6eee3' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='1' fill='%23f2c46d' stroke='%23241a22' stroke-width='.8'/%3E%3C/svg%3E") 12 12,crosshair;
    --cu-zoomin:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M14.6 14.6l5.4 5.4' fill='none' stroke='%23241a22' stroke-width='4.800000000000001' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14.6 14.6l5.4 5.4' fill='none' stroke='%23f6eee3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='10' cy='10' r='6.2' fill='%23f6eee3' stroke='%23241a22' stroke-width='1.5'/%3E%3Cpath d='M10 7.3v5.4M7.3 10h5.4' stroke='%23241a22' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") 10 10,zoom-in;
    --cu-zoomout:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M14.6 14.6l5.4 5.4' fill='none' stroke='%23241a22' stroke-width='4.800000000000001' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14.6 14.6l5.4 5.4' fill='none' stroke='%23f6eee3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='10' cy='10' r='6.2' fill='%23f6eee3' stroke='%23241a22' stroke-width='1.5'/%3E%3Cpath d='M7.3 10h5.4' stroke='%23241a22' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") 10 10,zoom-out;
  }
}

/* ---------- round 59: the Tournaments page, rebuilt ---------- */
.tr59{max-width:1000px;--lampc:#f2bb72}
/* the lamp's glow: anything less than an hour away */
.glow59{color:var(--lamp,#f2bb72)!important;text-shadow:0 0 14px rgba(242,187,114,.55),0 0 2px rgba(242,187,114,.35);animation:glow59 2.8s ease-in-out infinite alternate}
@keyframes glow59{from{text-shadow:0 0 10px rgba(242,187,114,.4),0 0 1px rgba(242,187,114,.3)}to{text-shadow:0 0 20px rgba(242,187,114,.75),0 0 3px rgba(242,187,114,.45)}}
@media (prefers-reduced-motion:reduce){.glow59{animation:none}}
.tr59-dot{display:inline-block;width:9px;height:9px;margin-right:9px;border-radius:50%;background:var(--c);box-shadow:0 0 0 3px color-mix(in srgb,var(--c) 18%,transparent);vertical-align:.08em}

/* next up */
.tr59-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px;padding:26px 28px;margin:0 0 30px;border-radius:20px;
  background:radial-gradient(120% 140% at 0% 0%,color-mix(in srgb,var(--c) 13%,transparent),transparent 55%),rgba(255,255,255,.03);box-shadow:inset 0 0 0 1px rgba(255,240,225,.08)}
.tr59-hl{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.tr59-kick{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--t2)}
.tr59-hero h3{margin:8px 0 0;font-size:26px;font-weight:650;letter-spacing:-.015em;line-height:1.15}
.tr59-what{margin:6px 0 0;font-size:14px;color:var(--t2)}
.tr59-big{margin:18px 0 4px}
.tr59-cd{font-size:13px;font-weight:600;color:var(--t2);font-variant-numeric:tabular-nums;white-space:nowrap}
.tr59-cd.xl{font-size:44px;font-weight:700;letter-spacing:-.02em;line-height:1;color:var(--tx)}
.tr59-cd.live{color:#9bd36a}
.tr59-sub{margin:6px 0 14px;font-size:13.5px;color:var(--t2)}
.tr59-hero .tr59-seats{width:100%;max-width:340px;margin:0 0 16px}
.tr59-cta{display:flex;align-items:center;gap:10px;min-height:36px}
.tr59-hr{display:flex;flex-direction:column;gap:16px;min-width:0}

/* buttons */
.tr59-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;height:36px;padding:0 18px;margin:0;border:0;border-radius:999px;overflow:hidden;font:inherit;font-size:13.5px;font-weight:600;white-space:nowrap;cursor:var(--cu-hand,pointer);transition:background .15s,transform .1s}
.tr59-btn.lg{height:44px;padding:0 24px;font-size:15px}
.tr59-btn .i{width:15px;height:15px}
.tr59-btn.pri{background:#f4ece2;color:#1b1619}@media (hover:hover){.tr59-btn.pri:hover{background:#fff}}
.tr59-btn.ghost{background:rgba(155,211,106,.12);color:#b9e394;box-shadow:inset 0 0 0 1px rgba(155,211,106,.3)}
.tr59-btn.off{background:rgba(255,255,255,.05);color:var(--t2);cursor:var(--cu-arrow,default)}
.tr59-btn:not(.off):active{transform:scale(.98)}
.tr59-btn .hold-bar2{position:absolute;left:0;bottom:0;height:100%;width:100%;transform-origin:left;transform:scaleX(0);background:rgba(242,187,114,.35);mix-blend-mode:multiply;pointer-events:none}
.tr59-btn.ghost .hold-bar2{background:rgba(232,107,107,.35);mix-blend-mode:normal}
.tr59-btn>span{position:relative}
.tr59-note,.tr59-lock{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:var(--t2)}
.tr59-lock .i{width:14px;height:14px;opacity:.7}

/* prizes */
.tr59-pz{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:8px}
.tr59-pz>div{display:grid;align-content:center;gap:2px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.045)}
.tr59-pz small{font-size:12px;color:var(--t2)}
.tr59-pz b{font-size:16px;font-weight:650}
.tr59-p1{grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:12px!important;background:color-mix(in srgb,var(--c) 12%,rgba(255,255,255,.03))!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c) 30%,transparent)}
.tr59-p1 img{width:46px;height:46px;object-fit:contain;filter:drop-shadow(0 4px 8px rgba(0,0,0,.4))}
.tr59-p1>div{display:grid;gap:1px;min-width:0}
.tr59-p1 b{color:var(--c)}
.tr59-p1 span{font-size:13px;color:var(--tx)}
.tr59-pzn{margin:-8px 0 0;font-size:12px;color:var(--t3)}
.tr59-pz.sm{gap:6px}
.tr59-pz.sm>div{padding:9px 11px;border-radius:12px}
.tr59-pz.sm b{font-size:14px}
.tr59-pz.sm .tr59-p1 img{width:34px;height:34px}
.tr59-pz.sm+.tr59-pzn{margin:-4px 0 0}
.tr59-facts{display:grid;margin:0}
.tr59-facts>div{display:flex;justify-content:space-between;gap:16px;padding:8px 0;font-size:13px}
.tr59-facts>div+div{border-top:1px solid var(--hl)}
.tr59-facts dt{color:var(--t2)}
.tr59-facts dd{margin:0;text-align:right}

/* how many are in */
.tr59-seats{display:grid;gap:6px;font-size:12.5px;color:var(--t2)}
.tr59-seats b{color:var(--tx);font-weight:600}
.tr59-bar{height:5px;border-radius:999px;background:rgba(255,255,255,.07);overflow:hidden}
.tr59-bar i{display:block;height:100%;border-radius:inherit;background:var(--c,#f2bb72);transition:width .4s}

/* every tournament */
.tr59-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:12px}
.tr59-card{display:flex;flex-direction:column;gap:14px;padding:18px;border-radius:18px;background:rgba(255,255,255,.03);box-shadow:inset 0 0 0 1px rgba(255,240,225,.075)}
.tr59-card.soon{box-shadow:inset 0 0 0 1px rgba(242,187,114,.4),0 0 24px -10px rgba(242,170,90,.6)}
.tr59-card.in{box-shadow:inset 0 0 0 1px rgba(155,211,106,.35)}
.tr59-card>header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.tr59-card>header>div{display:grid;gap:3px;min-width:0}
.tr59-card>header b{font-size:16px;font-weight:650}
.tr59-card>header small{font-size:12.5px;color:var(--t2)}
.tr59-fee{display:grid;justify-items:end;gap:1px}
.tr59-fee b{font-size:15px!important}
.tr59-fee small{font-size:11.5px;color:var(--t2)}
.tr59-next{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;padding:12px 0 0;border-top:1px solid var(--hl)}
.tr59-next>div{display:grid;gap:2px;min-width:0}
.tr59-next small{font-size:12px;color:var(--t2)}
.tr59-next b{font-size:14.5px;font-weight:600}
.tr59-next .tr59-cd{font-size:14px}
.tr59-card>footer{display:grid;gap:10px;margin-top:auto}
.tr59-card .tr59-cta .tr59-btn{width:100%}
.tr59-card .tr59-lock{font-size:12.5px}
.tr59-last{margin:0;font-size:12px;color:var(--t3)}
#hmTour.soon59 small{font-weight:600}

/* phones */
@media (max-width:760px){
  .tr59-hero{grid-template-columns:1fr;gap:20px;padding:20px 18px}
  .tr59-hero h3{font-size:22px}
  .tr59-cd.xl{font-size:38px}
  .tr59-hero .tr59-cta,.tr59-hero .tr59-cta .tr59-btn{width:100%}
  .tr59-hero .tr59-seats{max-width:none}
  .tr59-grid{grid-template-columns:1fr}
}
@media (max-width:360px){
  .tr59-pz{grid-template-columns:1fr 1fr}
  .tr59-p1{grid-column:1/-1}
}
.tr55-nr{color:var(--t3)}

/* ---------- round 60: the Tournaments page, every container the same shape ---------- */
.tr59 *{min-width:0}
/* one pill for every action: always the same height, text never wraps */
.tr59-btn{height:40px;max-width:100%}
.tr59-btn>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tr59-btn.lg{height:46px}
.tr59-btn.in{background:rgba(155,211,106,.14);color:#c4ea9f;box-shadow:inset 0 0 0 1px rgba(155,211,106,.32)}@media (hover:hover){.tr59-btn.in:hover{background:rgba(155,211,106,.2)}}
.tr59-btn.off .i{width:14px;height:14px;opacity:.7;flex:none}
.tr59-btn.ghost{background:rgba(255,255,255,.06);color:var(--tx);box-shadow:inset 0 0 0 1px rgba(255,240,225,.1)}@media (hover:hover){.tr59-btn.ghost:hover{background:rgba(255,255,255,.09)}}

/* the card: header, when, two facts, the prizes, one action — fixed rows, so all five line up */
.tr59-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}
.tr59-card{display:grid;grid-template-rows:auto auto auto auto 1fr;gap:16px;padding:20px}
.tr59-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;height:22px}
.tr59-tier{display:inline-flex;align-items:center;white-space:nowrap}
.tr59-tier b{font-size:16px;font-weight:650}
.tr59-card .tr59-cd{font-size:13px}
.tr59-when{display:grid;gap:3px}
.tr59-when b{font-size:20px;font-weight:650;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr59-when span{font-size:13px;color:var(--t2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr59-rows{display:grid;margin:0}
.tr59-rows>div{display:flex;align-items:center;justify-content:space-between;gap:14px;height:36px;font-size:13.5px}
.tr59-rows>div+div{border-top:1px solid var(--hl)}
.tr59-rows dt{color:var(--t2);white-space:nowrap}
.tr59-rows dd{margin:0;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr59-card .tr59-rows{border-top:1px solid var(--hl);border-bottom:1px solid var(--hl)}
.tr59-card>footer{align-self:end}

/* prizes: a little table that never wraps */
.tr59-prz{display:grid;border-radius:14px;background:rgba(255,255,255,.035);padding:4px 14px}
.tr59-prh{display:flex;justify-content:space-between;gap:10px;height:30px;align-items:center;font-size:12px;color:var(--t2);white-space:nowrap}
.tr59-pr{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;height:38px;border-top:1px solid var(--hl);font-size:13.5px}
.tr59-pr .pl{color:var(--t2);font-size:12.5px}
.tr59-pr b{font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.tr59-pr b::after{content:" chips";font-weight:400;color:var(--t2);font-size:12px}
.tr59-pr .chest{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px 0 4px;border-radius:999px;background:color-mix(in srgb,var(--c) 16%,transparent);color:var(--c);font-size:12.5px;font-weight:600;white-space:nowrap}
.tr59-pr .chest img{width:22px;height:22px;object-fit:contain}
.tr59-prz.big{padding:6px 18px}
.tr59-prz.big .tr59-pr{height:46px;font-size:15px}
.tr59-prz.big .tr59-pr .chest{height:30px;font-size:13px}
.tr59-prz.big .tr59-pr .chest img{width:26px;height:26px}
.tr59-hr{gap:14px}
.tr59-hero .tr59-rows{padding:0 4px}

/* results */
.tr59-res{border-radius:16px;background:rgba(255,255,255,.03);box-shadow:inset 0 0 0 1px var(--hl);overflow:hidden}
.tr59-rr{display:grid;grid-template-columns:150px minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr) 90px 80px;align-items:center;gap:12px;height:52px;padding:0 18px;font-size:13.5px}
.tr59-rr+.tr59-rr{border-top:1px solid var(--hl)}
.tr59-rr>span{display:flex;align-items:center;gap:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr59-rr .t{display:grid;grid-template-columns:auto 1fr;column-gap:0}
.tr59-rr .t small{grid-column:2;font-size:12px;color:var(--t2)}
.tr59-rr .w .i{width:15px;height:15px;color:#f2c46d;flex:none}
.tr59-rr .w b{overflow:hidden;text-overflow:ellipsis}
.tr59-rr .o small{color:var(--t3);font-size:12px}
.tr59-rr .n,.tr59-rr .me{justify-content:flex-end;color:var(--t2);font-size:12.5px}
.tr59-rr .me{color:var(--tx)}

/* the waiting room */
.tw60-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));border-radius:16px;background:rgba(255,255,255,.03);box-shadow:inset 0 0 0 1px var(--hl);overflow:hidden}
.tw60-p{display:grid;grid-template-columns:26px minmax(0,1fr) auto auto;align-items:center;gap:8px;height:44px;padding:0 16px;border-bottom:1px solid var(--hl);font-size:13.5px}
.tw60-p .n{color:var(--t3);font-size:12px}
.tw60-p b{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tw60-p em{font-style:normal;font-size:11px;font-weight:600;padding:1px 7px;border-radius:999px;background:rgba(155,211,106,.14);color:#c4ea9f}
.tw60-p .e{color:var(--t2);font-variant-numeric:tabular-nums;white-space:nowrap}
.tw60-p.me b{color:#fff}
.tw60 .tr59-hero{margin-top:4px}

@media (max-width:760px){
  .tr59-rr{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"t me" "w n";height:auto;padding:12px 16px;row-gap:4px}
  .tr59-rr .t{grid-area:t}.tr59-rr .w{grid-area:w}.tr59-rr .n{grid-area:n}.tr59-rr .me{grid-area:me}
  .tr59-rr .o{display:none}
  .tr59-when b{font-size:18px}
  .tr59-prz.big .tr59-pr{height:40px}
}
.tr59-hero .tr59-seats{margin-top:14px}
.tr59-big{margin-bottom:2px}

/* ---------- round 63: the tournaments as a calendar ---------- */
.tr63{margin:0 0 18px}
.tr63-bar{display:flex;align-items:center;gap:14px;margin:0 0 12px}
.tr63-mon{margin:0;flex:1;font-size:20px;font-weight:650;letter-spacing:-.01em;white-space:nowrap}
.tr63-seg{display:inline-flex;padding:3px;border-radius:999px;background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px var(--hl)}
.tr63-seg button{height:30px;padding:0 14px;margin:0;border:0;border-radius:999px;background:none;color:var(--t2);font:inherit;font-size:13px;font-weight:600;cursor:var(--cu-hand,pointer);white-space:nowrap;transition:background .15s,color .15s}
.tr63-seg button.on{background:rgba(255,255,255,.1);color:var(--tx)}
.tr63-nav{display:inline-flex;gap:6px}
.tr63-nav button{display:grid;place-items:center;width:34px;height:34px;margin:0;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px var(--hl);color:var(--tx);cursor:var(--cu-hand,pointer);transition:background .15s,opacity .15s}@media (hover:hover){.tr63-nav button:hover:not(:disabled){background:rgba(255,255,255,.1)}}
.tr63-nav button:disabled{opacity:.3;cursor:var(--cu-arrow,default)}
.tr63-nav svg{width:16px;height:16px}

/* the strip: a tile per day, sliding sideways */
.tr63-wrap{position:relative;margin:0 -4px}
.tr63-strip{display:flex;gap:8px;padding:4px 36px 10px 4px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;outline:none;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 40px),transparent)}
.tr63-strip::-webkit-scrollbar{display:none}
.tr63-strip.drag{scroll-snap-type:none;cursor:var(--cu-grabbing,grabbing)!important}
.tr63-strip.drag *{cursor:var(--cu-grabbing,grabbing)!important;pointer-events:none}
.tr63-strip:focus-visible{box-shadow:0 0 0 2px rgba(242,187,114,.5);border-radius:16px}
.tr63-day{flex:0 0 136px;display:grid;grid-template-rows:56px 1fr;height:150px;padding:9px;border-radius:16px;scroll-snap-align:start;background:rgba(255,255,255,.03);box-shadow:inset 0 0 0 1px var(--hl);user-select:none}
.tr63-day.past{opacity:.5}
.tr63-day.today{background:rgba(242,187,114,.07);box-shadow:inset 0 0 0 1px rgba(242,187,114,.4)}
.tr63-dh{position:relative;display:grid;align-content:start;gap:0;padding:0 4px}
.tr63-dh span{font-size:11.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--t2)}
.tr63-dh b{font-size:24px;font-weight:650;line-height:1.15;font-variant-numeric:tabular-nums}
.tr63-day.today .tr63-dh span{color:var(--lamp,#f2bb72)}
.tr63-dh em{position:absolute;top:0;right:2px;font-style:normal;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--lamp,#f2bb72)}
.tr63-ev{display:grid;align-content:end;gap:4px}
.tr63-e{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:0;height:30px;padding:0 7px;margin:0;border:0;border-radius:9px;background:rgba(255,255,255,.04);color:var(--tx);font:inherit;font-size:12.5px;text-align:left;cursor:var(--cu-hand,pointer);transition:background .15s,box-shadow .15s}@media (hover:hover){.tr63-e:hover{background:rgba(255,255,255,.08)}}
.tr63-e .tr59-dot{width:7px;height:7px;margin-right:6px;box-shadow:none}
.tr63-e span{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr63-e small{margin-left:6px;padding:1px 6px;border-radius:999px;background:rgba(255,255,255,.08);font-size:10.5px;font-weight:700;color:var(--t2);white-space:nowrap}
.tr63-e.on{background:color-mix(in srgb,var(--c) 22%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c) 60%,transparent)}
.tr63-e>b{display:grid;place-items:center;width:16px;height:16px;margin-left:4px;flex:none}
.tr63-e>b.ok{color:#b9e394}
.tr63-e>b.ok .i{width:13px;height:13px}
.tr63-e>b.lv::before{content:"";width:7px;height:7px;border-radius:50%;background:#f08a8a;animation:tr55-pulse 1.8s ease-in-out infinite}
.tr63-e.mine{box-shadow:inset 0 0 0 1px rgba(155,211,106,.45)}

.tr63-key{display:flex;flex-wrap:wrap;gap:6px 16px;margin:4px 2px 0;font-size:12px;color:var(--t2)}
.tr63-key span{display:inline-flex;align-items:center;white-space:nowrap}
.tr63-key .tr59-dot{width:7px;height:7px;margin-right:6px;box-shadow:none}
.tr63-key small{margin-left:4px;color:var(--t3);font-size:12px}
.tr59-cd.done{display:inline-flex;align-items:center;gap:12px}
.tr59-cd.done .i{width:34px;height:34px;color:#f2c46d}
.tr63-detail{margin-bottom:30px}

@media (max-width:760px){
  .tr63-bar{flex-wrap:wrap;gap:10px}
  .tr63-mon{flex:1 1 100%;font-size:18px}
  .tr63-seg{flex:1}
  .tr63-seg button{flex:1}
  .tr63-key{display:none}
}

/* ---------- round 64 ---------- */
/* the Chip economy tab's header line: your chips, in the rank's place */
.c64-hd .c64-chip{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(242,196,109,.14);color:#f2c46d}
.c64-hd .c64-chip .i{width:20px;height:20px}
/* the dock after a move: the buttons go first, then the line eases in */
#waiting.dk64-in{animation:dk64in .4s cubic-bezier(.2,.8,.3,1) .2s both!important}
@keyframes dk64in{from{opacity:0;transform:translateY(4px);filter:blur(2px)}to{opacity:1;transform:none;filter:none}}
/* …and when its words change, they cross-fade */
#waitText.wt64-in{animation:wt64in .34s cubic-bezier(.2,.8,.3,1) .06s both}
@keyframes wt64in{from{opacity:0;filter:blur(2px)}to{opacity:1;filter:none}}
.wt64-ghost{position:absolute!important;margin:0!important;pointer-events:none;animation:wt64out .26s ease-in both}
@keyframes wt64out{to{opacity:0;filter:blur(2px)}}
/* the island's content rides in one row (so its picture can stay put while the capsule opens) */
#toasts .toast.isl.isl52 .isl64-in{display:flex;align-items:center;flex:none;will-change:transform}
#toasts .toast.isl.isl52 .isl64-in.abs64{position:absolute;top:50%;transform:translateY(-50%)}
@media (prefers-reduced-motion:reduce){#waiting.dk64-in,#waitText.wt64-in,.wt64-ghost{animation:none!important}}
.c64-hd small,.c64-hd b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#sdBody.sd-still64 .prow{animation:none!important}
#chatList>.msg{content-visibility:auto;contain-intrinsic-size:auto 26px}

/* ---------- round 65 ---------- */
/* version numbers (v1.6.5) in News & updates: one width for every row, no capital V */
.nw27-v{width:52px;font-size:13px;letter-spacing:-.01em;white-space:nowrap}
.nw21-v{text-transform:none;letter-spacing:.02em}

/* ---------- round 66: rating and matchmaking ---------- */
/* Unranked: a dashed, unfilled badge */
.unr66{display:inline-block;flex:none;vertical-align:middle}
.unr66t{color:rgba(247,240,231,.82)!important}
.pl66{display:inline-flex;gap:4px;align-items:center;margin:4px 0 2px}
.pl66 i{width:8px;height:8px;border-radius:50%;background:rgba(247,240,231,.12);box-shadow:inset 0 0 0 1px rgba(247,240,231,.22)}
.pl66 i.on{background:#f2c46d;box-shadow:0 0 6px rgba(242,196,109,.45)}
.rk-tile.unr66 .rt-main b{color:rgba(247,240,231,.82)}
.rk-tile.unr66 .rt-pl{display:block;margin:4px 0 2px}
.rk-tile.unr66 .pl66{margin:0}

/* your three queues */
.rk66-qs{display:grid;gap:8px}
.rk66-qs.big{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}
.rk66-q{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.035);box-shadow:inset 0 0 0 1px rgba(255,238,220,.07);min-height:64px}
.rk66-qi{display:grid;place-items:center}
.rk66-qt{display:grid;gap:1px;min-width:0}
.rk66-qt small{font-size:11px;color:rgba(244,236,226,.5);font-weight:650;letter-spacing:.02em}
.rk66-qt b{font-size:15px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rk66-qt b em{font-style:normal;font-weight:600;font-size:13px;color:rgba(244,236,226,.6);font-variant-numeric:tabular-nums;margin-left:4px}
.rk66-qt span{font-size:11.5px;color:rgba(244,236,226,.6);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rk66-q.unr .rk66-qt b{color:rgba(247,240,231,.82)}
.rk66-k{display:grid;justify-items:end;gap:0;text-align:right;min-width:62px}
.rk66-k b{font-size:15px;font-weight:750;color:#f2c46d;font-variant-numeric:tabular-nums}
.rk66-k small{font-size:10.5px;color:rgba(244,236,226,.48);max-width:96px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* the tables: place scores (one column per place), divisions, K and widening */
.c52-tbl.rk66-pt .c52-tr{grid-template-columns:minmax(92px,1.5fr) repeat(var(--cols),minmax(0,1fr));gap:4px;text-align:center}
.c52-tbl.rk66-pt .c52-tr span:first-child{text-align:left}
.c52-tbl.rk66-pt{margin-bottom:8px}
.c52-tbl.rk66-pt .pos{color:#8fd6a6;font-weight:650}
.c52-tbl.rk66-pt .neg{color:#f08f8f;font-weight:650}
.c52-tbl.rk66-dv .c52-tr{grid-template-columns:minmax(0,1.7fr) repeat(3,minmax(0,1fr)) minmax(0,.9fr)}
.c52-tbl.rk66-dv .c52-tr span:first-child{display:flex;align-items:center;gap:8px;white-space:nowrap}
.c52-tbl.rk66-k3 .c52-tr{grid-template-columns:minmax(0,2.4fr) .6fr repeat(3,minmax(0,1fr))}
.c52-tbl.rk66-wd .c52-tr{grid-template-columns:minmax(0,1.6fr) repeat(3,minmax(0,1fr)) .6fr}
.rk66-p{margin:0 0 10px;font-size:13px;line-height:1.5;color:rgba(244,236,226,.72);max-width:72ch}
.h-mini{margin:12px 0 6px;font-size:11.5px;font-weight:650;color:rgba(244,236,226,.5)}
/* the side panel keeps every column (the chip tab hides its last one) */
.rk66-side .c52-tr span:last-child{display:revert}
.rk66-side .c52-tbl.rk66-pt .c52-tr{padding:6px 8px;font-size:11.5px;grid-template-columns:minmax(78px,1.4fr) repeat(var(--cols),minmax(0,1fr))}
.rk66-side .c52-tbl.rk66-pt[style*="--cols:9"] .c52-tr{grid-template-columns:minmax(64px,1.2fr) repeat(9,minmax(0,1fr));font-size:10.5px;gap:2px}

/* launch boost and preseason */
.rk66-launch{display:grid;gap:2px;padding:10px 12px;border-radius:14px;margin:0 0 10px;background:rgba(242,196,109,.07);box-shadow:inset 0 0 0 1px rgba(242,196,109,.2)}
.rk66-launch b{font-size:13px;color:#f2c46d}
.rk66-launch span{font-size:12px;color:rgba(244,236,226,.66);line-height:1.45}
.rk66-launch.on{background:rgba(143,214,166,.07);box-shadow:inset 0 0 0 1px rgba(143,214,166,.24)}
.rk66-launch.on b{color:#8fd6a6}

/* the last-resort switch: on the Rating page, and in a Competitive lobby */
.rk66-lr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;margin:12px 0 4px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.035);box-shadow:inset 0 0 0 1px rgba(255,238,220,.07)}
.rk66-lr b{display:block;font-size:13.5px}
.rk66-lr span{font-size:12px;color:rgba(244,236,226,.64);line-height:1.45}
.lr66{display:inline-flex;align-items:center;gap:8px;border:0;background:none;color:rgba(244,236,226,.72);font:inherit;font-size:12px;font-weight:600;cursor:var(--cu-pointer,pointer);padding:2px 0}
.lr66 i{position:relative;width:30px;height:18px;border-radius:999px;background:rgba(255,255,255,.14);transition:background .2s ease;flex:none}
.lr66 i::after{content:'';position:absolute;left:2px;top:2px;width:14px;height:14px;border-radius:50%;background:#f7f0e7;transition:transform .22s cubic-bezier(.3,.8,.3,1)}
.lr66.on i{background:#d99a4e}
.lr66.on i::after{transform:translateX(12px)}
.lr66 span{white-space:nowrap}
.rk66-lr .lr66 span{min-width:22px}
#lobbyBar .lr66{margin-top:3px;font-size:11px}
#lobbyBar .lr66 i{width:26px;height:15px}
#lobbyBar .lr66 i::after{width:11px;height:11px}
#lobbyBar .lr66.on i::after{transform:translateX(11px)}
.lb-seats i.anon66{--c:rgba(247,240,231,.55)}

/* a pending rating, or a placement match, in the result */
.rk66-res .rr-txt b{color:rgba(247,240,231,.9)}

/* three tabs in the rank ladder: they share the row evenly and never wrap */
#sdTabs button[data-t52] span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
@media (max-width:420px){#sdTabs button[data-t52]{min-width:0}#sdTabs button[data-t52] span{font-size:11px}}
@media (prefers-reduced-motion:reduce){.lr66 i,.lr66 i::after{transition:none}}
/* small phones: the speed shows as just its number, and section notes drop under their heading */
@media (max-width:460px){
  .rk66-k{min-width:0}.rk66-k small{display:none}
  .rk66-q{gap:8px;padding:9px 10px}
  .rk66-qs.big{grid-template-columns:1fr}
}
.h-sec span:last-child{text-align:right}
@media (max-width:460px){#pgBody .h-sec:has(+ .rk66-p) span:last-child,#pgBody .h-sec:has(+ .c52-tbl.rk66-pt) span:last-child{display:none}}

/* ---------- round 68 ---------- */
/* folded: what you'd have had, still under your cards, quieter */
#handName.hn68-fold{color:rgba(247,240,231,.62);background:rgba(20,16,14,.35)}

/* trading every kind of thing: a deck, a quick chat or something to wear reads like a title, with its kind first */
.tk68{display:flex;align-items:baseline;gap:6px;min-width:0;max-width:100%;font-weight:650}
.tk68 em{flex:none;font-style:normal;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--linen-3);padding:1px 6px;border-radius:6px;background:rgba(255,242,228,.07)}
.tk68 span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tk68.r-common span{color:var(--r-common)}.tk68.r-uncommon span{color:var(--r-uncommon)}.tk68.r-rare span{color:var(--r-rare)}
.tk68.r-epic span{color:var(--r-epic)}.tk68.r-legendary span{color:var(--r-legendary)}
.tk68.r-unreal span{color:#f6b1ce}
.tr-row .tk68,.tr-chip .tk68{font-size:13.5px}
.cpop-t .tk68{justify-content:center}
.tk68-kinds{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:10px 0 2px;padding-bottom:2px}
.tk68-kinds::-webkit-scrollbar{display:none}
.tk68-kinds .chip-tog{height:32px;padding:0 12px;font-size:12.5px;flex:none}

/* News & updates: the version tag gets a column wide enough for it (it used to spill out of a 38px square into the
   title), as a small pill the same width on every row, with room to spare for 1.10.0 */
.nw27-row{grid-template-columns:58px minmax(0,1fr) auto 16px}
.nw27-v{box-sizing:border-box;width:100%;height:30px;padding:0 4px;border-radius:9px;font-size:12.5px;line-height:1;overflow:hidden}

/* ---------- round 69 ---------- */

/* ---------- round 70: the item shop ----------
   One line per label everywhere (words shrink to fit, see fit70; an ellipsis is the last resort), so no tile ever
   grows. Tiles share one height per row. Sheets are compact and sized by the screen, so nothing inside them scrolls. */
.ace70{width:1em;height:1em;flex:none;fill:rgba(242,187,114,.14);stroke:#f2bb72;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.amt70{display:inline-flex;align-items:center;gap:.32em;white-space:nowrap;font-variant-numeric:tabular-nums}
.amt70 b{font-weight:700;color:#f7f0e7}
.amt70.neg b{color:#f0a3a3}
.fit70{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
[class*="sh70"] .ttl.r-unreal{margin-right:0}

/* header: the title, when today's things change, and your Aces (tap to get more) */
.sh70-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.sh70-ttl{min-width:0;flex:1}
.sh70-ttl h2{margin:0;font-size:24px;font-weight:650;letter-spacing:-.02em;line-height:1.15}
.sh70-ttl p{margin:3px 0 0;font-size:13px;color:var(--linen-3);font-variant-numeric:tabular-nums}
.sh70-bal{flex:none;display:inline-flex;align-items:center;gap:7px;height:40px;padding:0 5px 0 13px;border-radius:999px;background:rgba(32,26,31,.6);border:1px solid var(--hair);font-size:15px;color:inherit;cursor:var(--cu-hand,pointer);transition:border-color .3s var(--sleepy),background .3s var(--sleepy)}
.sh70-bal .ace70{width:17px;height:17px}
.sh70-bal b{font-weight:700;font-variant-numeric:tabular-nums;color:#f7f0e7}
.sh70-plus{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:rgba(242,187,114,.18);color:var(--lamp);transition:background .3s var(--sleepy)}
.sh70-plus svg{width:15px;height:15px;stroke-width:2.2}@media (hover:hover){.sh70-bal:hover{border-color:rgba(242,187,114,.3)}}@media (hover:hover){.sh70-bal:hover .sh70-plus{background:rgba(242,187,114,.28)}}
.sh70-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 2px 10px}
.sh70-h h3{margin:0;flex:none;font-size:15px;font-weight:700;letter-spacing:-.005em;color:#f7f0e7}
.sh70-hs{font-size:12px;color:var(--linen-3);text-align:right}
.sh70-link{flex:none;background:none;border:0;padding:0;font:inherit;font-size:12.5px;font-weight:650;color:var(--lamp);cursor:var(--cu-hand,pointer);white-space:nowrap;opacity:.9;transition:opacity .2s}@media (hover:hover){.sh70-link:hover{opacity:1;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(242,187,114,.4)}}
.sh70-fine{margin:12px 2px 0;font-size:12px;line-height:1.5;color:var(--linen-3);max-width:760px}

/* rows that swipe sideways when they don't fit, with arrows (pointer screens) and a soft fade at the edge */
.sh70-strip{position:relative}
.sh70-rail{display:grid;grid-auto-flow:column;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding:2px 1px 8px;margin:0 -1px}
.sh70-rail::-webkit-scrollbar{display:none}
.sh70-rail>*{scroll-snap-align:start}
.sh70-feat .sh70-rail,.sh70-rail.sh70-feat{grid-auto-columns:minmax(180px,1fr)}
.sh70-day .sh70-rail{grid-auto-columns:minmax(150px,1fr);gap:10px}
.sh70-arr{position:absolute;top:calc(50% - 21px);z-index:2;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(24,19,23,.94);border:1px solid rgba(255,242,228,.14);color:#f7f0e7;box-shadow:0 6px 18px rgba(0,0,0,.35);cursor:var(--cu-hand,pointer);opacity:0;pointer-events:none;transition:opacity .3s var(--sleepy)}
.sh70-arr svg{width:16px;height:16px}
.sh70-arr.l{left:-10px}.sh70-arr.r{right:-10px}
.sh70-strip.over:not(.at-l) .sh70-arr.l,.sh70-strip.over:not(.at-r) .sh70-arr.r{opacity:1;pointer-events:auto}
.sh70-strip::after{content:"";position:absolute;right:0;top:0;bottom:8px;width:36px;pointer-events:none;border-radius:0 18px 18px 0;background:linear-gradient(90deg,rgba(28,22,27,0),rgba(28,22,27,.8));opacity:0;transition:opacity .3s var(--sleepy)}
.sh70-strip.over:not(.at-r)::after{opacity:1}
@media (hover:none){.sh70-arr{display:none}}

/* a tile: what it is, its art, its name, its rarity and kind, its price. Every line is one line */
.sh70-it{--hl:.3;position:relative;display:grid;grid-template-rows:auto 1fr auto auto auto;min-width:0;padding:0 0 12px;border-radius:18px;background:rgba(32,26,31,.42);border:1px solid var(--hair);text-align:left;cursor:var(--cu-hand,pointer);overflow:hidden;color:inherit;font:inherit;transition:background .3s var(--sleepy),border-color .3s var(--sleepy),transform .35s var(--sleepy),box-shadow .35s var(--sleepy)}
.sh70-it::before{content:"";position:absolute;left:14px;right:14px;top:0;height:2px;border-radius:0 0 2px 2px;background:var(--rc);opacity:var(--hl)}
.sh70-it.r-uncommon{--hl:.42}.sh70-it.r-rare{--hl:.6}.sh70-it.r-epic{--hl:.78}.sh70-it.r-legendary{--hl:.92}.sh70-it.r-unreal{--hl:1}
.sh70-it.r-unreal::before{background:linear-gradient(90deg,#ffc3d6,#ffe3a3,#c9ffd9,#a8dcff,#d8b8ff)}@media (hover:hover){.sh70-it:hover{background:rgba(42,34,40,.55);border-color:rgba(255,242,228,.13);transform:translateY(-2px);box-shadow:0 14px 30px rgba(5,3,10,.3)}}
.sh70-it:focus-visible,.sh70-ct:focus-visible,.sh70-bal:focus-visible{outline:2px solid var(--lamp);outline-offset:2px}
.sh70-cad{display:flex;align-items:center;justify-content:space-between;gap:8px;height:30px;padding:0 13px;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--linen-3)}
.sh70-cad .sh70-cd{flex:none;font-weight:600;letter-spacing:.02em;text-transform:none;font-size:11px;color:rgba(247,240,231,.42);font-variant-numeric:tabular-nums}
.sh70-art{position:relative;z-index:0;isolation:isolate;display:block;margin:4px 10px 8px;aspect-ratio:1/.8;border-radius:12px;background:radial-gradient(64% 64% at 50% 56%,color-mix(in srgb,var(--rc) 15%,transparent),transparent 72%)}
.sh70-day .sh70-art{margin-top:12px;aspect-ratio:1/.86}
.sh70-art canvas{position:absolute;inset:0;width:100%;height:100%}
.sh70-it.r-legendary .sh70-art::after,.sh70-it.r-unreal .sh70-art::after{content:"";position:absolute;inset:8%;border-radius:50%;background:radial-gradient(closest-side,color-mix(in srgb,var(--rc) 22%,transparent),transparent);animation:glow70 4.5s ease-in-out infinite;pointer-events:none;z-index:-1}
@keyframes glow70{0%,100%{opacity:.55;transform:scale(.94)}50%{opacity:1;transform:scale(1.04)}}
.sh70-nm{display:block;padding:0 12px;font-size:13px;font-weight:650;line-height:1.3;color:#f7f0e7}
.sh70-feat .sh70-nm{font-size:14.5px}
.sh70-sub{display:block;padding:1px 12px 0;font-size:11.5px;line-height:1.35;color:var(--linen-3)}
.sh70-sub .ttl{font-weight:650}
.sh70-pr{display:flex;align-items:center;height:22px;padding:8px 13px 0;box-sizing:content-box;font-size:14px}
.sh70-pr .ace70{width:15px;height:15px}
.sh70-own{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:650;color:#9ad7a8}
.sh70-own svg{width:14px;height:14px}
.sh70-it.own .sh70-art{opacity:.6;filter:saturate(.7)}
.sh70-real{font-size:15px;font-weight:700;color:#f7f0e7}
.sh70-sk{height:300px;border-radius:18px;border:1px solid var(--hair);background:linear-gradient(100deg,rgba(32,26,31,.42) 30%,rgba(52,44,50,.5) 50%,rgba(32,26,31,.42) 70%);background-size:300% 100%;animation:sk70 1.6s linear infinite}
@keyframes sk70{from{background-position:100% 0}to{background-position:-200% 0}}

/* the Blob Pass: the pass's gold, its real price */
.sh70-pass{background:linear-gradient(180deg,rgba(242,187,114,.11),rgba(32,26,31,.42) 66%);border-color:rgba(242,187,114,.26)}
.sh70-pass::before{background:#e8c36a;opacity:.9}@media (hover:hover){.sh70-pass:hover{border-color:rgba(242,187,114,.42);background:linear-gradient(180deg,rgba(242,187,114,.16),rgba(42,34,40,.5) 66%)}}
.sh70-pass-art{display:grid;place-items:center;background:radial-gradient(56% 56% at 50% 52%,rgba(242,187,114,.2),transparent 72%)}
.sh70-crown{position:relative;display:grid;place-items:center;width:31%;min-width:56px;max-width:76px;aspect-ratio:1;border-radius:28%;overflow:hidden;background:linear-gradient(160deg,#f7d58c,#e2a54c);color:#3a2408;box-shadow:0 10px 30px rgba(242,187,114,.28),inset 0 1px 0 rgba(255,250,235,.6)}
.sh70-crown svg{width:54%;height:54%;stroke-width:1.8}
.sh70-crown::after{content:"";position:absolute;inset:-40%;background:linear-gradient(115deg,transparent 42%,rgba(255,250,236,.55) 50%,transparent 58%);transform:translateX(-70%);animation:sheen70 5.5s ease-in-out infinite}
@keyframes sheen70{0%,62%{transform:translateX(-70%)}82%,100%{transform:translateX(70%)}}
.sh70-gold{color:#f3d58f;font-weight:700}

/* chests: a tab per kind, one row of six */
.sh70-seg{width:min(520px,100%);margin:0 0 8px}
.sh70-seg button{font-size:13px;padding:0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sh70-cdesc{margin:0 2px 10px;font-size:12.5px;color:var(--linen-3)}
.sh70-crow{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.cont.sh70-ct{gap:2px;padding:8px 8px 12px}
.sh70-ct canvas{width:100%;height:auto;aspect-ratio:1.45/1}
.sh70-ct>b{display:block;width:100%;text-align:center;font-size:13.5px;font-weight:700}
.sh70-ct>b .ttl{font-weight:700}
.sh70-ct .sh70-pr{justify-content:center;height:20px;padding:4px 0 0;font-size:13.5px}

/* signed out */
.sh70-gate{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;border-radius:18px;background:rgba(32,26,31,.42);border:1px solid var(--hair)}
.sh70-gate>div{min-width:0}
.sh70-gate b{display:block;font-size:15px}.sh70-gate p{margin:3px 0 0;font-size:13px;color:var(--linen-3)}
.sh70-gate .primary{flex:none;width:auto;margin:0;padding:0 26px}

/* ---- the sheets ---- */
.sheet.sh70-sheet{background:rgba(30,24,29,.97);padding:20px 18px 18px}
.sh70-s{display:flex;flex-direction:column;align-items:stretch;text-align:center}
.sh70-s h2{margin:0 34px 2px!important;font-size:20px;text-align:center}
.sh70-ssub{margin:0 8px 12px;font-size:12.5px;color:var(--linen-3);font-variant-numeric:tabular-nums}
.sh70-sart{position:relative;height:clamp(96px,25vh,210px);height:clamp(96px,25dvh,210px);margin:2px 0 10px;border-radius:16px;background:radial-gradient(52% 58% at 50% 54%,color-mix(in srgb,var(--rc,#f2bb72) 16%,transparent),transparent 74%)}
.sh70-sart canvas{position:absolute;inset:0;width:100%;height:100%}
.sh70-sart.sh70-cart{height:clamp(70px,15vh,122px);height:clamp(70px,15dvh,122px)}
.sh70-sart.sh70-pass-art{display:grid;place-items:center;height:clamp(84px,17vh,130px);height:clamp(84px,17dvh,130px)}
.sh70-sart .sh70-crown{width:auto;height:62%;min-width:0;max-width:none}
.sh70-led{display:grid;grid-template-columns:1fr 1fr;margin:0 0 12px;border-radius:14px;background:rgba(0,0,0,.2);border:1px solid rgba(255,236,216,.05)}
.sh70-led>span{display:flex;flex-direction:column;align-items:center;gap:2px;padding:9px 6px;font-size:15px}
.sh70-led>span+span{border-left:1px solid rgba(255,236,216,.06)}
.sh70-led small{font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--linen-3)}
.sh70-odds{display:grid;margin:0 0 6px;border-radius:14px;background:rgba(0,0,0,.2);border:1px solid rgba(255,236,216,.05);text-align:left}
.sh70-odds>div{display:flex;align-items:baseline;gap:10px;padding:9px 12px;min-width:0}
.sh70-odds>div+div{border-top:1px solid rgba(255,236,216,.06)}
.sh70-odds small{flex:none;font-size:10.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--linen-3)}
.sh70-odds b{flex:1;text-align:right;font-size:12.5px;font-weight:650}
.sh70-odds i,.sh70-ot i{font-style:normal;opacity:.4;margin:0 .35em}
.sh70-see{align-self:center;margin:4px 0 12px;font-size:12.5px}
.sh70-got{display:flex;align-items:center;justify-content:center;gap:8px;margin:2px 0 12px;font-size:14.5px;font-weight:650;color:#f7f0e7}
.sh70-got>svg{width:20px;height:20px;padding:3px;border-radius:50%;background:rgba(120,200,140,.2);color:#9ad7a8}
.sh70-got.off{font-size:13px;font-weight:600;color:var(--linen-3)}
.sh70-sfine{margin:10px 6px 0;font-size:11.5px;color:var(--linen-3)}
.sh70-err{color:#f0a3a3}
.sh70-btn,.sh70-two .primary,.sh70-two .ghost{width:100%;height:48px;margin:0;border-radius:14px}
.sh70-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sh70-two.one{grid-template-columns:1fr}
.sh70-para{margin:12px 4px 14px;font-size:12.5px;line-height:1.55;color:var(--linen-2);text-align:left}
.sh70-ot{display:grid;border-radius:14px;background:rgba(0,0,0,.2);border:1px solid rgba(255,236,216,.05);text-align:left}
.sh70-ot>div{display:grid;grid-template-columns:1.2fr 1fr 1fr;align-items:baseline;gap:8px;padding:8px 14px;min-width:0}
.sh70-ot>div+div{border-top:1px solid rgba(255,236,216,.06)}
.sh70-ot>div>span{font-size:13px;font-weight:700;justify-self:start}
.sh70-ot b{font-size:13px;font-weight:650;color:#f7f0e7;text-align:right;font-variant-numeric:tabular-nums}
.sh70-ot .hd>*{font-size:10.5px!important;font-weight:700!important;letter-spacing:.05em;text-transform:uppercase;color:var(--linen-3)!important}
.sh70-ot .nil{color:var(--linen-3);opacity:.6}
.sh70-perks{display:grid;grid-template-columns:repeat(3,1fr);margin:0 0 12px;border-radius:14px;background:rgba(0,0,0,.2);border:1px solid rgba(255,236,216,.05)}
.sh70-perks span{display:flex;flex-direction:column;align-items:center;padding:9px 4px;min-width:0}
.sh70-perks span+span{border-left:1px solid rgba(255,236,216,.06)}
.sh70-perks b{font-size:16px;font-weight:750;color:#f3d58f;white-space:nowrap}
.sh70-perks small{font-size:11px;color:var(--linen-3);white-space:nowrap}
.sh70-packs{display:grid;gap:6px;margin:0 0 12px}
.sh70-pack{display:flex;align-items:center;gap:10px;height:48px;padding:0 14px;border-radius:14px;background:rgba(0,0,0,.2);border:1px solid rgba(255,236,216,.07);color:inherit;font:inherit;cursor:var(--cu-hand,pointer);transition:background .25s var(--sleepy),border-color .25s var(--sleepy),box-shadow .25s var(--sleepy)}@media (hover:hover){.sh70-pack:hover:not(:disabled){background:rgba(255,242,228,.04)}}
.sh70-pack[aria-checked="true"]{border-color:rgba(242,187,114,.55);background:rgba(242,187,114,.07);box-shadow:inset 0 0 0 1px rgba(242,187,114,.25)}
.sh70-pack:disabled{cursor:var(--cu-arrow,default);opacity:.55}
.sh70-pa{display:inline-flex;align-items:center;gap:8px;font-size:16px}
.sh70-pa .ace70{width:19px;height:19px}
.sh70-pa b{font-weight:750;font-variant-numeric:tabular-nums}
.sh70-pack em{font-style:normal;font-size:11px;font-weight:750;color:#9ad7a8;padding:2px 7px;border-radius:999px;background:rgba(120,200,140,.12)}
.sh70-pp{margin-left:auto;font-size:14px;font-weight:700;color:#f7f0e7;font-variant-numeric:tabular-nums}

/* hold to buy: the button fills while you hold; let go early and it says so */
.sh70-hold{--p:0;position:relative;overflow:hidden;width:100%;height:50px;margin:0;border-radius:14px;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;transition:transform .3s var(--sleepy)}
.sh70-hold::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(214,150,64,.55),rgba(232,176,92,.6));transform:scaleX(var(--p));transform-origin:left center;pointer-events:none}
.sh70-hold.holding{transform:scale(.985)}
.sh70-hl,.sh70-ht{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap;transition:opacity .25s,transform .25s var(--sleepy)}
.sh70-hv{display:inline-flex;align-items:center;padding-left:10px;border-left:1px solid rgba(40,28,20,.22)}
.sh70-hv .amt70 b{color:inherit}
.sh70-hv .ace70{fill:rgba(60,36,10,.08);stroke:currentColor}
.sh70-ht{position:absolute;inset:0;opacity:0;transform:translateY(6px);font-weight:650}
.sh70-hold.nudge .sh70-hl{opacity:0;transform:translateY(-6px)}
.sh70-hold.nudge .sh70-ht{opacity:1;transform:none}
.sh70-hold.busy{opacity:.85}
.sh70-hold.busy::before{transform:scaleX(1)}

/* sizes */
@media (max-width:1180px){.sh70-crow{grid-template-columns:repeat(3,minmax(0,1fr))}.sh70-ct canvas{aspect-ratio:1.9/1}}
@media (max-width:640px){
  .sh70-feat .sh70-rail{grid-auto-columns:minmax(168px,58vw)}
  .sh70-day .sh70-rail{grid-auto-columns:minmax(140px,40vw)}
  .sh70-ttl h2{font-size:21px}
  .sh70-seg button{font-size:12px}
  .sh70-crow{gap:8px}
}
@media (max-height:640px){.sh70-ot>div{padding:6px 14px}.sh70-para{margin:10px 4px 12px;font-size:12px;line-height:1.5}.sh70-sart{height:clamp(72px,20vh,150px);height:clamp(72px,20dvh,150px)}.sh70-sart.sh70-cart{height:clamp(56px,12vh,90px);height:clamp(56px,12dvh,90px)}.sh70-sheet .sh70-ssub{margin-bottom:9px}.sh70-sfine{margin-top:8px}}
@media (prefers-reduced-motion:reduce){.sh70-it,.sh70-pack,.sh70-hold{transition:none}@media (hover:hover){.sh70-it:hover{transform:none}}.sh70-sk,.sh70-crown::after,.sh70-art::after{animation:none!important}}
/* a deck is drawn by its width: in a sheet its canvas keeps the deck's own shape, centred */
.sh70-sart.k-deck canvas{left:50%;right:auto;width:auto;height:100%;aspect-ratio:1/.86;transform:translateX(-50%)}

/* ---- round 70b: the opening headline, lettered like the deeds: a serif in capitals, each rarity in its own metal,
   a soft light behind it instead of a thick cartoon shadow ---- */
.th-title span[class^="tt-"]{font-family:"Cormorant Garamond",Cormorant,Garamond,Georgia,serif!important;font-weight:600!important;letter-spacing:.08em!important;text-shadow:none!important}
.th-title span.tt-common{color:#ece7dd!important;filter:drop-shadow(0 2px 0 rgba(0,0,0,.35))!important}
.th-title span.tt-uncommon{color:#cfe2d4!important;filter:drop-shadow(0 2px 0 rgba(0,0,0,.35)) drop-shadow(0 0 22px rgba(150,205,168,.3))!important}
.th-title span.tt-rare{background:linear-gradient(180deg,#f4f7fb 15%,#b9c4d6 60%,#e4eaf3 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;filter:drop-shadow(0 2px 0 rgba(0,0,0,.4)) drop-shadow(0 0 26px rgba(132,166,232,.35))!important}
.th-title span.tt-epic{background:linear-gradient(180deg,#fbf7ff 15%,#c7b4e2 62%,#efe6fb 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;filter:drop-shadow(0 2px 0 rgba(0,0,0,.45)) drop-shadow(0 0 30px rgba(178,142,232,.35))!important}
.th-title span.tt-legendary{background:linear-gradient(100deg,#b98f42 0%,#f3dfa6 22%,#fff6da 28%,#e2c27a 36%,#c9a253 62%,#f1dba0 82%,#b98f42 100%)!important;background-size:250% 100%!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;filter:drop-shadow(0 2px 0 rgba(0,0,0,.5)) drop-shadow(0 0 34px rgba(238,198,114,.35))!important}
.th-title span.tt-unreal{background:linear-gradient(90deg,#f6efe9,#e8d6de,#d8e4ec,#efe2cf,#e2d6ec,#f6efe9)!important;background-size:300% 100%!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;filter:drop-shadow(0 2px 0 rgba(40,24,44,.55)) drop-shadow(0 0 36px rgba(248,214,224,.4))!important}
/* 70c: the headline settles in like engraved type, no bounce; the higher the rarity, the slower and grander */
@keyframes engrave70{0%{opacity:0;letter-spacing:.34em;filter:blur(8px);transform:translateY(8px) scale(1.04)}55%{opacity:1}100%{opacity:1;letter-spacing:.08em;filter:none;transform:none}}
.th-title.on span[class^="tt-"]{animation:engrave70 .6s cubic-bezier(.2,.7,.2,1) both!important}
.th-title.on span.tt-rare{animation-duration:.75s!important}
.th-title.on span.tt-epic{animation-duration:.9s!important}
.th-title.on span.tt-legendary{animation:engrave70 1.05s cubic-bezier(.2,.7,.2,1) both,shinex 5.5s 1.1s linear infinite!important}
.th-title.on span.tt-unreal{animation:engrave70 1.25s cubic-bezier(.2,.7,.2,1) both,iriTh 9s 1.2s linear infinite!important}
.th-title.on small{animation:fadeup .7s .45s cubic-bezier(.2,.7,.2,1) both!important}
.th-title small{letter-spacing:.34em!important;font-weight:600!important;opacity:.8}
.th-info .nm{font-family:"Cormorant Garamond",Cormorant,Garamond,Georgia,serif;font-weight:600;letter-spacing:.01em}
.th-info .rr-unreal,.th-info .rar.rr-unreal{color:#e9d9de!important;background:none!important;-webkit-text-fill-color:currentColor!important}

/* 70c: the result card under an unboxing: quiet glass, an engraved name, the rarity in its own metal */
.th .res{--rc:#d6d0c6;position:relative;padding:14px 28px 13px!important;border-radius:18px!important;background:linear-gradient(180deg,rgba(28,22,30,.74),rgba(16,12,18,.8))!important;border:1px solid rgba(255,244,232,.08)!important;box-shadow:0 18px 40px -22px rgba(0,0,0,.8),inset 0 1px 0 rgba(255,255,255,.04)}
.th .res::before{content:"";position:absolute;left:22%;right:22%;top:-1px;height:1px;background:linear-gradient(90deg,transparent,var(--rc),transparent);opacity:.75}
.th .res:has(.rr-uncommon){--rc:#a9cdb2}.th .res:has(.rr-rare){--rc:#a9bddf}.th .res:has(.rr-epic){--rc:#c7b3e6}.th .res:has(.rr-legendary){--rc:#e2c27a}.th .res:has(.rr-unreal){--rc:#eadde6}
.th .res .k{font-size:10px!important;letter-spacing:.26em!important;font-weight:600!important;color:rgba(236,228,218,.5)!important}
.th .res .nm{font-family:"Cormorant Garamond",Cormorant,Garamond,Georgia,serif!important;font-size:27px!important;font-weight:600!important;letter-spacing:.005em!important;line-height:1.12!important;margin:4px 0 3px!important;color:#f6f0e8}
.th .res .rar{font-size:10.5px!important;letter-spacing:.24em!important;font-weight:650!important;display:inline-flex;align-items:center;gap:10px}
.th .res .rar::before,.th .res .rar::after{content:"";width:18px;height:1px;background:currentColor;opacity:.45}
.th .res :is(.rar,.rk,.hd b).rr-common{color:#cfc9bf!important}.th .res :is(.rar,.rk,.hd b).rr-uncommon{color:#a9cdb2!important}.th .res :is(.rar,.rk,.hd b).rr-rare{color:#b3c4e2!important}.th .res :is(.rar,.rk,.hd b).rr-epic{color:#cdbbe8!important}
.th .res :is(.rar,.rk,.hd b).rr-legendary{background:linear-gradient(180deg,#f6e4b0,#d5b36a)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important}
.th .res .rar.rr-legendary::before,.th .res .rar.rr-legendary::after{background:#d9bb74}
.th .res :is(.rar,.rk,.hd b).rr-unreal{background:linear-gradient(90deg,#f6efe9,#e6d3dd,#d6e3ec,#efe1cd,#f6efe9)!important;background-size:300% 100%!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important;animation:iriTh 9s linear infinite}
.th .res .rar.rr-unreal::before,.th .res .rar.rr-unreal::after{background:#e8dbe3}
.th .res .mt{font-size:11.5px!important;color:rgba(236,228,218,.46)!important;margin-top:5px!important;letter-spacing:.01em}
#th_ward .res .ds{color:rgba(236,228,218,.66)!important;font-size:12.5px!important}
#th_ward .res .slot{font-size:9.5px!important;letter-spacing:.18em!important;font-weight:650!important;padding:2px 8px!important;background:rgba(255,244,232,.07)!important;color:rgba(236,228,218,.7)!important;vertical-align:5px!important;font-family:Inter,system-ui,sans-serif}
/* the quick-chat bubble in its tier's metal, not neon */
.th .bub{box-shadow:0 10px 26px -12px rgba(0,0,0,.7),0 0 0 1.5px var(--bc,#cfcac0)!important}
.th .bb-common{--bc:#cfcac0}.th .bb-uncommon{--bc:#a9cdb2}.th .bb-rare{--bc:#a9bddf}.th .bb-epic{--bc:#c7b3e6}.th .bb-legendary{--bc:#d9bb74}
.th .bb-epic{box-shadow:0 10px 26px -12px rgba(0,0,0,.7),0 0 0 1.5px #c7b3e6,0 0 16px rgba(199,179,230,.28)!important}
.th .bb-legendary{box-shadow:0 10px 26px -12px rgba(0,0,0,.7),0 0 0 1.5px #d9bb74,0 0 18px rgba(226,194,122,.3)!important}
.th .bb-unreal{background:linear-gradient(#fffaf3,#fffaf3) padding-box,linear-gradient(90deg,#efe2d6,#e2cfdc,#d3e0ea,#eadbc6,#efe2d6) border-box!important;background-size:100% 100%,300% 100%!important;border:1.5px solid transparent!important;box-shadow:0 10px 26px -12px rgba(0,0,0,.7),0 0 20px rgba(234,221,230,.3)!important}
.th .btn.eq{box-shadow:inset 0 0 0 1px var(--tc,#e2c27a)!important}
@media (max-width:560px){.th .res{padding:12px 18px 11px!important}.th .res .nm{font-size:23px!important}}
@media (prefers-reduced-motion:reduce){.th-title.on span[class^="tt-"],.th .res :is(.rar,.rk,.hd b).rr-unreal{animation-duration:.01s!important;animation-iteration-count:1!important}}
#th_chest .res .hd{font-size:13px;color:rgba(236,228,218,.6)}#th_chest .res .hd b{font-weight:650;letter-spacing:.04em}
#th_chest .rw{background:rgba(255,244,232,.035)!important;border:1px solid rgba(255,244,232,.07)!important;border-radius:12px!important;padding:8px 12px!important}
#th_chest .rw.best{border-color:color-mix(in srgb,var(--rc) 55%,transparent)!important;box-shadow:0 0 22px -10px var(--rc)!important}
#th_chest .rw .ic{border-radius:9px!important;background:rgba(255,244,232,.05)!important}
#th_chest .rw .nm2{font-family:"Cormorant Garamond",Cormorant,Garamond,Georgia,serif;font-weight:600!important;font-size:17.5px!important;letter-spacing:.005em;color:#f6f0e8}
#th_chest .rw .sm{font-size:11px!important;color:rgba(236,228,218,.45)!important}
#th_chest .rw .rk{font-size:9.5px!important;font-weight:650!important;letter-spacing:.22em!important}
body:has(.th.on) #toasts{opacity:0!important;visibility:hidden!important;transition:none!important}
.th .res .rar{display:flex!important;justify-content:center;align-items:center;flex-direction:row!important}
/* r73: the close cross always sits above the art in a sheet, and the art never takes a tap */
#modal .sheet>.x,#mClose{z-index:30!important}
.sh70-sart,.sh70-sart canvas{pointer-events:none}
/* r73: an opening in the chat reads like the rest of the chat, the item cards beneath */
.msg.feed{margin:14px 2px 0!important;padding:0!important;background:none!important;box-shadow:none!important;border-radius:0!important}
.msg.feed .fd-h{display:block!important;font-size:13px!important;line-height:1.45!important;color:var(--linen-2)!important;font-weight:450}
.msg.feed .fd-h b{font-weight:600}
.msg.feed .fd-items{margin-top:7px!important}
/* r73: your turn while something opens: the opening keeps the screen, a pill in the corner takes you back */
.th .turn-pill.th-turn73{position:absolute;top:calc(12px + env(safe-area-inset-top,0px));right:calc(14px + env(safe-area-inset-right,0px));z-index:6;display:none;border:0;cursor:var(--cu-hand,pointer);font-family:inherit}
body.th-turn73 .th.on .turn-pill.th-turn73{display:flex}
body.th-turn73 .th.on .th-skip{visibility:hidden}

/* r74: the game's own fonts, served with the game (nothing is fetched from Google or anyone else). SIL OFL, see fonts/ */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/inter-latin-400.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/inter-latin-ext-400.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/inter-latin-500.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/inter-latin-ext-500.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/inter-latin-600.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/inter-latin-ext-600.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/inter-latin-700.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/inter-latin-ext-700.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/cormorant-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/cormorant-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/cormorant-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/cormorant-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:500;font-display:swap;src:url(fonts/cormorant-latin-500-italic.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:500;font-display:swap;src:url(fonts/cormorant-latin-ext-500-italic.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:600;font-display:swap;src:url(fonts/cormorant-latin-600-italic.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:600;font-display:swap;src:url(fonts/cormorant-latin-ext-600-italic.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

/* ===== round 74 ===== */
/* the Top 100's seasons: a quiet row of tabs, newest first */
.lbs74{display:flex;gap:6px;margin:12px 0 10px;overflow-x:auto;scrollbar-width:none;padding:2px}
.lbs74::-webkit-scrollbar{display:none}
.lbs74 button{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-start;gap:1px;min-width:112px;padding:8px 14px 7px;border-radius:12px;border:1px solid var(--hair);background:var(--fill);color:var(--linen-2);font:inherit;cursor:var(--cu-hand,pointer);text-align:left;transition:background var(--t-quick) var(--ease),border-color var(--t-quick) var(--ease),color var(--t-quick) var(--ease)}
.lbs74 button b{font-size:13px;font-weight:600;letter-spacing:.01em;color:inherit}
.lbs74 button small{font-size:11px;color:var(--linen-3);display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.lbs74 button small .live-dot{margin:0}@media (hover:hover){.lbs74 button:hover{background:var(--fill-2)}}
.lbs74 button[aria-selected="true"]{background:rgba(255,236,206,.1);border-color:rgba(255,226,180,.32);color:var(--linen)}
.lbs74 button:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
/* single player: the level track, in its own quiet card like the private table's */
.lv74-wrap{display:block!important;padding:14px 12px 12px;border-radius:14px;background:rgba(255,244,232,.035);border:1px solid rgba(255,244,232,.07)}
.lv74 .lv44-cap b{font-size:15px;font-weight:600}
.lv74 .lv44-dot.boss74{background:rgba(44,32,58,.96);box-shadow:0 0 0 1px rgba(201,184,255,.35)}
.lv74 .lv44-dot.boss74.on{box-shadow:0 0 0 2px #c9b8ff,0 4px 14px rgba(0,0,0,.4),0 0 18px rgba(201,184,255,.35)}
.lv74 .lv44-dot .lv-boss svg{width:62%;height:62%}
.lv74 .lv44-cap .lv-off{color:rgba(255,190,160,.8)}
#lvlNote{margin-top:8px}
/* ---- the tournaments page, refined ---- */
.tr74{display:flex;flex-direction:column;gap:18px}
.tr74>section,.tr74>details,.tr74>div{margin:0!important}
.tr74-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.tr74-head h2{margin:0;font-size:24px;font-weight:650;letter-spacing:-.01em}
.tr74-head p{margin:3px 0 0;font-size:13.5px;color:var(--t2);line-height:1.45}
.tr74-head .tr55-bal{flex:none;padding:6px 12px 6px 9px;font-size:13px;background:rgba(255,244,232,.05);box-shadow:inset 0 0 0 1px rgba(255,244,232,.07)}
.tr74-note{margin:0;padding:10px 14px;border-radius:12px;font-size:13px;color:var(--t2);background:rgba(255,244,232,.035);box-shadow:inset 0 0 0 1px rgba(255,244,232,.06)}
/* the calendar */
.tr74-cal{display:flex;flex-direction:column;gap:10px}
.tr74-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.tr74-mon{margin:0;font-size:15px;font-weight:600;letter-spacing:.005em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr74-ctl{display:flex;align-items:center;gap:6px;flex:none}
.tr74-seg{display:flex;padding:2px;border-radius:999px;background:rgba(255,244,232,.04);box-shadow:inset 0 0 0 1px rgba(255,244,232,.06)}
.tr74-seg button{height:26px;padding:0 12px;border:0;border-radius:999px;background:none;color:var(--t2);font:inherit;font-size:12px;font-weight:600;cursor:var(--cu-hand,pointer);transition:background .15s,color .15s}
.tr74-seg button.on{background:rgba(255,244,232,.1);color:var(--tx)}
.tr74-nav{display:flex;gap:4px}
.tr74-nav button{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:rgba(255,244,232,.04);box-shadow:inset 0 0 0 1px rgba(255,244,232,.06);color:var(--tx);cursor:var(--cu-hand,pointer)}
.tr74-nav button svg{width:14px;height:14px}
.tr74-nav button:disabled{opacity:.3;cursor:var(--cu-arrow,default)}
.tr74-strip{gap:6px!important;padding:2px 32px 4px 2px!important}
.tr74-day{flex:0 0 122px!important;display:flex!important;flex-direction:column;gap:8px;height:auto!important;min-height:112px;padding:10px 8px 8px!important;border-radius:14px!important;background:rgba(255,244,232,.025)!important;box-shadow:inset 0 0 0 1px rgba(255,244,232,.06)!important}
.tr74-day.today{background:rgba(242,196,120,.06)!important;box-shadow:inset 0 0 0 1px rgba(242,196,120,.34)!important}
.tr74-day.past{opacity:.45}
.tr74-dh{position:relative;display:flex;align-items:baseline;gap:6px;padding:0 4px}
.tr74-dh span{font-size:10.5px;font-weight:650;letter-spacing:.1em;text-transform:uppercase;color:var(--t2)}
.tr74-dh b{font-size:19px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1;order:-1}
.tr74-day.today .tr74-dh span{color:#e9c27f}
.tr74-dh em{margin-left:auto;font-style:normal;font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#e9c27f}
.tr74-ev{display:flex;flex-direction:column;gap:4px}
.tr74-e{height:26px!important;padding:0 7px!important;border-radius:8px!important;font-size:12px!important;background:rgba(255,244,232,.04)!important}@media (hover:hover){.tr74-e:hover{background:rgba(255,244,232,.08)!important}}
.tr74-e .tr59-dot{width:6px;height:6px;margin-right:6px;background:var(--m)}
.tr74-e span{font-weight:550!important;color:var(--tx);text-overflow:clip!important}
.tr74-e>b{width:14px!important;height:14px!important;margin-left:3px!important}
.tr74-e.on{background:color-mix(in srgb,var(--m) 16%,transparent)!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--m) 55%,transparent)!important}
/* the tournament you picked */
.tr74-card{position:relative;display:flex;flex-direction:column;gap:16px;padding:20px 22px 18px;border-radius:20px;background:linear-gradient(180deg,color-mix(in srgb,var(--m) 7%,rgba(30,24,30,.6)),rgba(24,19,24,.55));box-shadow:inset 0 0 0 1px rgba(255,244,232,.07),0 18px 40px -26px rgba(0,0,0,.8);overflow:hidden}
.tr74-card::before{content:"";position:absolute;left:24px;right:24px;top:0;height:1px;background:linear-gradient(90deg,transparent,var(--m),transparent);opacity:.7}
.tr74-top{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;min-width:0}
.tr74-id{min-width:0}
.tr74-kick{display:inline-block;font-size:10.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--m)}
.tr74-id h3{margin:4px 0 2px;font-family:"Cormorant Garamond",Cormorant,Garamond,Georgia,serif;font-size:31px;font-weight:600;line-height:1.05;letter-spacing:.003em;color:#f6f0e8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr74-id p{margin:0;font-size:13px;color:var(--t2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr74-cd{display:flex;flex-direction:column;align-items:flex-end;flex:none;text-align:right}
.tr74-cd .tr74-cdv{font-size:30px!important;font-weight:600!important;letter-spacing:-.015em;line-height:1;font-variant-numeric:tabular-nums;color:#f6f0e8;white-space:nowrap;display:inline-flex;align-items:center;gap:8px}
.tr74-cd .tr74-cdv .i{width:22px;height:22px;color:#e2c27a}
.tr74-cd .tr74-cdv.live{color:#f0a0a0}
.tr74-cd small{margin-top:5px;font-size:11px;color:var(--t2);letter-spacing:.02em}
.tr74-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0;border-radius:14px;background:rgba(255,244,232,.03);box-shadow:inset 0 0 0 1px rgba(255,244,232,.06)}
.tr74-stats div{padding:10px 14px;min-width:0}
.tr74-stats div+div{border-left:1px solid rgba(255,244,232,.06)}
.tr74-stats dt{font-size:11px;color:var(--t2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr74-stats dd{margin:2px 0 0;font-size:14.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.tr74-prz{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:6px}
.tr74-prz div{display:flex;flex-direction:column;gap:2px;padding:10px 14px;border-radius:14px;background:rgba(255,244,232,.025);min-width:0}
.tr74-prz small{font-size:11px;color:var(--t2)}
.tr74-prz b{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.tr74-prz .p1{background:color-mix(in srgb,var(--m) 9%,rgba(255,244,232,.03));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--m) 28%,transparent)}
.tr74-prz .p1 b{color:#f6f0e8}
.tr74-prz .ch{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;color:var(--m);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr74-prz .ch img{width:20px;height:auto;flex:none}
.tr74-pn{margin:-8px 2px 0;font-size:11.5px;color:var(--t3,rgba(236,228,218,.4))}
.tr74-card .tr59-seats{margin:0;max-width:none}
.tr74-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0}
.tr74-foot p{margin:0;font-size:13px;color:var(--t2);line-height:1.45;min-width:0}
.tr74-cta{flex:none}
.tr74-cta .tr59-btn.lg{height:42px}
/* how it works: one fold */
.tr74-how{border-radius:16px;background:rgba(255,244,232,.02);box-shadow:inset 0 0 0 1px rgba(255,244,232,.06)}
.tr74-how summary{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;cursor:var(--cu-hand,pointer);list-style:none;font-size:14px;font-weight:600}
.tr74-how summary::-webkit-details-marker{display:none}
.tr74-how summary svg{width:15px;height:15px;color:var(--t2);transition:transform .2s var(--ease)}
.tr74-how[open] summary svg{transform:rotate(180deg)}
.tr74-when{display:flex;flex-wrap:wrap;gap:6px 14px;padding:0 16px 12px;font-size:12px}
.tr74-when span{display:inline-flex;align-items:center;white-space:nowrap}
.tr74-when .tr59-dot{width:6px;height:6px;margin-right:6px;box-shadow:none}
.tr74-when small{margin-left:5px;color:var(--t2);font-size:12px}
.tr74-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 22px;padding:4px 16px 8px}
.tr74-rules b{font-size:13px;font-weight:600}
.tr74-rules p{margin:3px 0 0;font-size:12.5px;line-height:1.5;color:var(--t2)}
.tr74-how .tr55-btn.txt{margin:0 8px 10px}
@media (max-width:560px){
  .tr74{gap:14px}
  .tr74-head h2{font-size:21px}
  .tr74-head p{font-size:12.5px}
  .tr74-day{flex-basis:122px!important;min-height:100px;padding:9px 6px 7px!important}
  .tr74-e{padding:0 6px!important;font-size:11.5px!important}
  .tr74-e .tr59-dot{margin-right:5px}
  .tr74-card{padding:16px 14px 14px;gap:13px;border-radius:18px}
  .tr74-top{flex-direction:column;align-items:flex-start;gap:10px}
  .tr74-cd{flex-direction:row;align-items:baseline;gap:8px}
  .tr74-cd .tr74-cdv{font-size:25px!important}
  .tr74-id h3{font-size:27px}
  .tr74-stats div{padding:9px 10px}
  .tr74-stats dd{font-size:13px}
  .tr74-prz{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tr74-prz div{padding:9px 10px}
  .tr74-prz b{font-size:14.5px}
  .tr74-prz .ch{font-size:0}
  .tr74-prz .ch img{width:22px}
  .tr74-foot{flex-direction:column;align-items:stretch}
  .tr74-cta .tr59-btn{width:100%}
  .tr74-rules{grid-template-columns:minmax(0,1fr)}
}
/* maps */
.mp74-note{display:flex;flex-direction:column;gap:2px;margin:2px 0 12px;padding:12px 14px;border-radius:14px;background:rgba(255,244,232,.03);box-shadow:inset 0 0 0 1px rgba(255,244,232,.06)}
.mp74-note b{font-size:13.5px;font-weight:600}
.mp74-note span{font-size:12.5px;color:var(--t2);line-height:1.45}
.mp74-empty{display:flex;flex-direction:column;align-items:center;gap:10px;padding:22px 0 8px;text-align:center}
.mp74-empty p{margin:0;font-size:13px;color:var(--t2)}
.mp74-it.on{box-shadow:inset 0 0 0 1.5px rgba(242,196,120,.6)!important}
.mp74-on{display:inline-flex;align-items:center;gap:4px;color:#e9c27f;font-weight:600}
.mp74-on .i{width:13px;height:13px}
.mp74-sheet{display:flex;flex-direction:column;align-items:center;text-align:center}
.mp74-pic{width:min(340px,100%);aspect-ratio:16/10;margin:4px 0 12px;border-radius:16px;overflow:hidden;background:rgba(255,244,232,.03)}
.mp74-pic canvas{width:100%;height:100%;display:block}
.mp74-sheet h2{margin:0 0 4px;font-family:"Cormorant Garamond",Cormorant,Garamond,Georgia,serif;font-size:28px;font-weight:600}
.mp74-sheet .lead{margin:0 0 14px;display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap}
.mp74-acts{display:grid;grid-template-columns:1fr 1.4fr;gap:8px;width:100%}
.mp74-acts button{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mp74-sheet .note{margin:10px 0 0}
.sh70-sart.k-map canvas{aspect-ratio:16/10;width:min(320px,100%)!important;height:auto!important}

/* ===== round 77: the profile, the blob editor, settings and the inventory ===== */
:root{--t77-press:cubic-bezier(.3,.7,.4,1);--t77-settle:cubic-bezier(.2,.8,.2,1);--warm77:#e9b36a}

/* ---------- touch: one press feel everywhere on these surfaces (quick in, soft out; nothing wobbles) ---------- */
#page .btn-soft,#page .seg button,#meDrawer .seg button,#meDrawer .me-foot button,#meDrawer .tile,#meDrawer #meTurn,#page .rk-tile,#page .c52-wallet,.pf77-facts>*{transition:background-color .18s var(--t77-settle),color .18s var(--t77-settle),border-color .18s var(--t77-settle),box-shadow .22s var(--t77-settle),transform .32s var(--t77-settle)!important}
#page .btn-soft:active,#meDrawer .me-foot button:not(:disabled):active,#meDrawer #meTurn:active,#page .c52-wallet:active{transform:scale(.97)!important;transition-duration:.08s!important}
#page .seg button:active,#meDrawer .seg button:active{transform:scale(.96)!important;transition-duration:.08s!important}
#meDrawer .tile:active,#page .rk-tile:active{transform:scale(.975)!important;transition-duration:.08s!important}
@media (hover:hover){@media (hover:hover){#page .rk-tile:hover{border-color:rgba(255,242,228,.12);box-shadow:0 8px 22px -12px rgba(0,0,0,.55)}}
  /* the item tiles lift a touch, slowly{transform:translateY(-2px)!important;transition:background .2s var(--t77-settle),transform .45s var(--t77-settle),box-shadow .45s var(--t77-settle)!important;box-shadow:0 14px 28px -18px rgba(0,0,0,.7)}@media (hover:hover){and come back the same way (no snap) */
  #page .it:hover,#page .it.scroll-it:hover,#page .it.slip-it:hover{transform:translateY(-2px)!important;transition:background .2s var(--t77-settle),transform .45s var(--t77-settle),box-shadow .45s var(--t77-settle)!important;box-shadow:0 14px 28px -18px rgba(0,0,0,.7)}}
}
#page .it{transition:background .2s var(--t77-settle),transform .45s var(--t77-settle),box-shadow .45s var(--t77-settle)}
#page .it:active{transform:translateY(0) scale(.98)!important;transition-duration:.08s!important}
/* switches: the knob stretches a little as you press, like a real one; on is the game's warm amber, as the sliders are */
.switch{transition:background-color .3s var(--t77-settle)!important}
.switch i{transition:transform .34s cubic-bezier(.3,1.25,.5,1),width .18s var(--t77-settle)!important}
.switch:active i{width:27px}
.switch[aria-checked=true]{background:var(--warm77)!important}
.switch[aria-checked=true]:active i{transform:translateX(13px)}
/* slider thumbs answer the hand: a soft ring on hover, a little larger while held */
.range::-webkit-slider-thumb{transition:transform .2s var(--t77-settle),box-shadow .2s var(--t77-settle)!important}@media (hover:hover){.range:hover::-webkit-slider-thumb{box-shadow:0 2px 6px rgba(0,0,0,.45),0 0 0 6px rgba(233,179,106,.12)}}
.range:active::-webkit-slider-thumb{transform:scale(1.12);box-shadow:0 3px 10px rgba(0,0,0,.5),0 0 0 8px rgba(233,179,106,.16)}
.range::-moz-range-thumb{transition:transform .2s var(--t77-settle),box-shadow .2s var(--t77-settle)}
.range:active::-moz-range-thumb{transform:scale(1.12)}
@media (prefers-reduced-motion:reduce){#page .it:active,#page .btn-soft:active,#meDrawer .tile:active,.switch:active i{transform:none!important}@media (hover:hover){#page .it:hover{transform:none!important}}}body.calm #page .it:active,body.calm #page .btn-soft:active,body.calm #meDrawer .tile:active,body.calm .switch:active i{transform:none!important}@media (hover:hover){body.calm #page .it:hover{transform:none!important}}

/* ---------- the profile ---------- */
.pf-hero{grid-template-columns:200px minmax(0,1fr)!important;gap:26px!important;padding:22px 26px 22px 14px!important;align-items:center!important}
#pfStage{width:200px!important;height:auto!important;aspect-ratio:207/167}
.pf77-info{display:flex;flex-direction:column;gap:14px;min-width:0}
.pf77-id{display:flex;flex-direction:column;gap:3px;min-width:0}
.pf77-id .pf-name{font-size:30px;font-weight:650;letter-spacing:-.022em;line-height:1.1}
.pf77-id .hx21{background:none!important;padding:0!important;margin-left:10px!important;font:500 12px/1 ui-monospace,SFMono-Regular,Menlo,monospace!important;letter-spacing:.06em;color:rgba(247,240,231,.42)!important;vertical-align:middle;transform:translateY(-3px)}
.pf77-id .hx21 i{width:9px;height:9px;box-shadow:0 0 0 2px rgba(0,0,0,.25)}
.pf77-id .pf-title{font-size:15px;margin-top:2px}
.pf77-id .pf-handle{font-size:13px;color:rgba(247,240,231,.5)}
.pf77-plates{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:10px}
.pf77-plate{margin:0!important;padding:12px 14px!important;border-radius:16px;background:rgba(255,242,228,.04);border:1px solid rgba(255,242,228,.06);display:flex;align-items:center;gap:12px;min-width:0;text-align:left}
.pf77-plate.pf-best .pf-badge svg{width:44px;height:44px}
.pf77-plate.pf-best b{display:block;font-size:16px;font-weight:650;letter-spacing:-.01em}
.pf77-plate.pf-best small{display:block;font-size:12px;line-height:1.35;color:rgba(247,240,231,.5);margin-top:2px}
.pf77-lv{flex-direction:column;align-items:stretch;justify-content:center;gap:10px}
.pf77-lvtop{display:flex;align-items:center;gap:10px}
.pf77-lvt{display:flex;flex-direction:column;min-width:0}
.pf77-lvt b{font-size:15px;font-weight:650}
.pf77-lvt small{font-size:12px;color:rgba(247,240,231,.5)}
.pf77-track{position:relative;height:6px;border-radius:99px;background:rgba(255,242,228,.08);overflow:hidden}
.pf77-track i{position:absolute;left:0;top:0;bottom:0;width:var(--p,0%);min-width:6px;border-radius:99px;background:linear-gradient(90deg,#d99a4e,#f2c27e);transition:width .9s var(--t77-settle)}
.pf77-facts{display:flex;flex-wrap:wrap;gap:8px}
.pf77-facts .c52-wallet{display:inline-flex!important;align-items:center;gap:8px;width:auto!important;min-height:0!important;height:38px;padding:0 12px 0 8px!important;margin:0!important;border-radius:12px!important;background:rgba(255,242,228,.05)!important;border:1px solid rgba(255,242,228,.06)!important;box-shadow:none!important}
.pf77-facts .c52-wallet .c52-img{width:30px!important;height:auto!important;margin:0!important}
.pf77-facts .c52-wallet div{display:flex;align-items:baseline;gap:6px}
.pf77-facts .c52-wallet small{order:2;font-size:12.5px;color:rgba(247,240,231,.55);font-weight:500}
.pf77-facts .c52-wallet b{font-size:15px;font-weight:650;font-variant-numeric:tabular-nums}
.pf77-facts .c52-wallet .chev{opacity:.45;margin-left:2px}
.pf77-facts .c52-wallet .chev svg{width:14px;height:14px}
@media (hover:hover){@media (hover:hover){.pf77-facts .c52-wallet:hover{background:rgba(255,242,228,.08)!important}}}
.pf77-facts .pf-hrs36{height:38px;margin:0!important;padding:0 12px!important;border-radius:12px;background:rgba(255,242,228,.05);border:1px solid rgba(255,242,228,.06);display:inline-flex;align-items:center;gap:7px}
.pf77-info .pf-actions{margin:2px 0 0!important;display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-start}
.pf77-info .pf-actions .btn-soft{flex:0 0 auto!important;height:38px;padding:0 15px}
.pf77-info .pf-actions .btn-soft.warm{background:rgba(233,179,106,.14);color:#f2c88e}
@media (hover:hover){@media (hover:hover){.pf77-info .pf-actions .btn-soft.warm:hover{background:rgba(233,179,106,.2)}}}
/* the ranks' explanation, folded */
.pf77-how{margin:10px 2px 0}
.pf77-how summary{list-style:none;cursor:var(--cu-hand,pointer);display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:rgba(247,240,231,.55);padding:4px 0;transition:color .18s}
.pf77-how summary::-webkit-details-marker{display:none}
.pf77-how summary::before{content:"";width:6px;height:6px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(-45deg);transition:transform .3s var(--t77-settle);margin-right:2px}
.pf77-how[open] summary::before{transform:rotate(45deg) translate(-1px,-1px)}
@media (hover:hover){@media (hover:hover){.pf77-how summary:hover{color:rgba(247,240,231,.85)}}}
.pf77-how p.note{margin:6px 0 0!important;font-size:12.5px;line-height:1.55;color:rgba(247,240,231,.55);max-width:68ch}
@media (max-width:640px){
  .pf-hero{grid-template-columns:1fr!important;padding:16px 16px 18px!important;gap:10px!important}
  #pfStage{width:170px!important;margin:0 auto}
  .pf77-info{gap:12px;align-items:stretch}
  .pf77-id{align-items:center;text-align:center}
  .pf77-id .pf-name{font-size:26px}
  .pf77-plates{grid-template-columns:1fr}
  .pf77-facts{display:grid;grid-template-columns:1fr 1fr}
  .pf77-facts>*{justify-content:center;white-space:nowrap;min-width:0}
  .pf77-facts .pf-hrs36 span{font-size:12.5px}
  .pf77-info .pf-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}
  .pf77-info .pf-actions .btn-soft{padding:0 8px;font-size:13.5px;min-width:0;white-space:nowrap}
  .pf77-info .pf-actions .btn-soft.warm{grid-column:1/-1}
}

/* ---------- the blob editor ---------- */
#meDrawer{background:linear-gradient(180deg,#2a2329 0%,#221d22 100%)!important}
#meHandle.none77{visibility:hidden;height:0;margin:0;overflow:hidden}
#meDrawer .me-foot{gap:10px}
#meDrawer #meSave{background:linear-gradient(180deg,#f0c07e,#e2a95f)!important;color:#2a1a0c!important;font-weight:650}
#meDrawer #meSave:disabled{background:rgba(233,179,106,.14)!important;color:rgba(242,200,142,.55)!important;box-shadow:none!important;cursor:var(--cu-arrow,default)}
#meDrawer #meCancel{background:rgba(255,242,228,.06)!important}
@media (hover:hover){@media (hover:hover){#meDrawer #meCancel:hover{background:rgba(255,242,228,.1)!important}}@media (hover:hover){#meDrawer #meSave:not(:disabled):hover{filter:brightness(1.05)}}}
#meDrawer .me-col{border-radius:16px}
#meDrawer .lead{color:rgba(247,240,231,.55)}

/* ---------- settings ---------- */
#page .mix{grid-template-columns:minmax(0,150px) minmax(0,1fr) 34px!important}
#page .mix span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#page .mix output{font-variant-numeric:tabular-nums;color:rgba(247,240,231,.5);text-align:right}
@media (max-width:640px){#page .mix{grid-template-columns:minmax(0,112px) minmax(0,1fr) 30px!important;gap:12px}}

/* ---------- the inventory ---------- */
#page .it .sub{gap:6px}
#page .it.on{box-shadow:0 0 0 1.5px rgba(233,179,106,.55),0 14px 28px -18px rgba(0,0,0,.7)}
#page .it.on .sub span:not(.badge){color:#f2c88e;font-weight:600}
/* the outfit slots: one even row of six (they used to wrap, leaving "Back" alone on a second line) */
#meDrawer .mo-slots{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px!important;justify-content:stretch!important}
#meDrawer .mo-slots button{min-width:0!important;padding:0 4px!important;height:32px;justify-content:center;font-size:12.5px;white-space:nowrap;gap:4px}
#meDrawer .mo-slots button em{font-size:10.5px;opacity:.6;font-style:normal}
@media (max-width:420px){#meDrawer .mo-slots{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* the stage sits closer to the fields when there's no username line under it */
#meDrawer:not(.compact) .me-stage:has(#meHandle.none77){height:206px!important}
/* the titles' rarity filter: one tidy row of seven, the dot doing the colour work (no orphaned second line) */
#meDrawer #ttlRar{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px!important;justify-content:stretch!important}
#meDrawer #ttlRar button{min-width:0!important;padding:0 8px!important;height:30px;justify-content:center;font-size:12.5px;white-space:nowrap;gap:4px;overflow:hidden;text-overflow:ellipsis}
#meDrawer #ttlRar button .dot{flex:none;width:6px;height:6px}
/* the sticky tabs: their collar matches the drawer and reaches up to the stage, so nothing peeks out above them */
#meTabs{background:#272126!important;box-shadow:0 -12px 0 4px #241e23,0 0 0 8px #241e23,0 14px 16px -6px rgba(14,9,14,.5)!important}
/* small screens, scrolled: with no username line the pill sits level with the little blob */
#meDrawer.compact .me-stage:has(#meHandle.none77) .pillRow{top:30px}
@media (max-width:640px){.pf77-id .pf-handle{white-space:nowrap;font-size:clamp(11px,3.5vw,13px)}.pf77-id .pf-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}}

/* ===================== the Blob Pass ===================== */
/* nothing bobs, pulses or glows on a loop: rewards waiting for you are lit, not jiggling */
.bp-xp,.bp-cell img,.bp-cell .bp-hex,.bp-prize img,.bp-x2,.bp-get,.bp-open,.bp-cell.ready img,.bp-cell.ready .bp-xp,.bp-cell.ready .bp-hex{animation:none!important}
/* the hero: the season and your tier on the left, the two bars in the middle, the pass on the right */
.bp-top17{display:block!important}
.bp-top17 .bp-hero{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) auto!important;align-items:center;gap:8px 28px!important;padding:20px 22px!important;border-radius:22px;background:radial-gradient(ellipse 60% 120% at 0% 0%,rgba(242,187,114,.12),transparent 60%),rgba(255,242,228,.035)!important;box-shadow:inset 0 0 0 1px rgba(255,242,228,.07)!important}
.bp-top17 .bp-h{display:block!important}
.bp-top17 .bp-h small{display:block;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#e9b36a}
.bp-top17 .bp-h h2{font-size:24px!important;font-weight:650;letter-spacing:-.02em;margin:4px 0 4px!important}
.bp-top17 .bp-h p{display:block!important;margin:0;font-size:13px;color:rgba(247,240,231,.6)}
.bp-top17 .bp-h p b{color:var(--linen)}
.bp-top17 .bp-bars{display:flex;flex-direction:column;gap:10px}
.bp-top17 .bp-bar,.bp-top17 .bp-lvl{display:grid!important;grid-template-columns:62px minmax(0,1fr) auto;align-items:center;gap:12px;margin:0!important}
.bp-top17 .bp-lvl{display:grid!important}
.bp77-next{font-size:12.5px;color:rgba(247,240,231,.55);white-space:nowrap}
.bp77-next b{color:#f2c88e;font-weight:650}
.bp-top17 .bp-bar>span:last-child,.bp-top17 .bp-lvl>small{font-size:12px;color:rgba(247,240,231,.55);font-variant-numeric:tabular-nums;white-space:nowrap}
.bp-top17 .bp-bar i,.bp-top17 .bp-lvl i{height:6px!important}
.bp-top17 .bp-lvl .lv-badge{justify-self:start}
.bp-top17 .bp-earn{display:block!important;margin:0!important;font-size:12px;color:rgba(247,240,231,.5)}
.bp-top17 .bp-earn b{color:rgba(247,240,231,.85);font-weight:600}
.bp77-side{display:flex;justify-content:flex-end}
.bp77-buy{display:flex;align-items:center;gap:12px;padding:10px 10px 10px 12px;border-radius:16px;background:linear-gradient(180deg,rgba(242,192,126,.16),rgba(233,170,95,.1));box-shadow:inset 0 0 0 1px rgba(242,192,126,.3);text-align:left;transition:background-color .18s var(--t77-settle),box-shadow .22s var(--t77-settle),transform .32s var(--t77-settle)}
@media (hover:hover){@media (hover:hover){.bp77-buy:hover{background:linear-gradient(180deg,rgba(242,192,126,.22),rgba(233,170,95,.14));box-shadow:inset 0 0 0 1px rgba(242,192,126,.45)}}}
.bp77-buy:active{transform:scale(.98);transition-duration:.08s}
.bp77-c{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:11px;background:linear-gradient(180deg,#f2c27e,#e2a25a);color:#3a220e}
.bp77-c svg{width:18px;height:18px}
.bp77-t{display:flex;flex-direction:column;min-width:0}
.bp77-t b{font-size:14px;font-weight:650;color:#f6dcb4;white-space:nowrap}
.bp77-t small{font-size:11.5px;color:rgba(247,240,231,.55);white-space:nowrap}
.bp77-p{flex:none;padding:8px 12px;border-radius:11px;background:linear-gradient(180deg,#f2c27e,#e2a25a);color:#2b1a0c;font-weight:700;font-size:14px;font-variant-numeric:tabular-nums}
.bp77-own{display:flex;align-items:center;gap:10px;color:#f2c88e}
.bp77-own svg{width:22px;height:22px}
.bp77-own b{display:block;font-size:14px}.bp77-own small{display:block;font-size:11.5px;color:rgba(247,240,231,.55)}
/* one line for the rewards reached on the top track */
.bp77-wait{display:flex;align-items:center;gap:12px;margin:8px 0 0;padding:10px 10px 10px 12px;border-radius:14px;background:rgba(242,192,126,.07);box-shadow:inset 0 0 0 1px rgba(242,192,126,.16);font-size:13px;color:rgba(247,240,231,.7)}
.bp77-wait b{color:#f6dcb4;font-weight:600}
.bp77-wait .bp77-c{width:28px;height:28px;border-radius:9px}.bp77-wait .bp77-c svg{width:15px;height:15px}
.bp77-wait>span:nth-child(2){flex:1;min-width:0}
.bp77-wb{flex:none;height:32px;padding:0 14px;border-radius:10px;background:linear-gradient(180deg,#f2c27e,#e2a25a);color:#2b1a0c;font-weight:700;font-size:13px;transition:transform .32s var(--t77-settle),filter .18s}
.bp77-wb:active{transform:scale(.96);transition-duration:.08s}
@media (hover:hover){@media (hover:hover){.bp77-wb:hover{filter:brightness(1.05)}}}
/* the road's tiles: level XP is a quiet number, not a glossy purple ball; the rewards are what stand out */
.bp-xp{width:auto!important;height:auto!important;border-radius:0!important;background:none!important;box-shadow:none!important;display:flex!important;align-items:baseline;gap:2px;color:rgba(247,240,231,.82)!important;opacity:1!important;filter:none!important;padding-top:6px}
.bp-xp b{font-size:20px!important;font-weight:650!important;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.bp-xp small{font-size:10px!important;font-weight:700!important;letter-spacing:.08em;color:rgba(247,240,231,.45);opacity:1!important}
.bp-xp b::before{content:"+";font-weight:400;font-size:.8em;color:rgba(247,240,231,.4);margin-right:1px;vertical-align:.08em}
.bp-cell.p .bp-xp{color:#f2d3a4!important}
.bp-cell .bp-lab:not(.ttl){color:rgba(247,240,231,.5)}
.bp-cell.locked .bp-xp{color:rgba(247,240,231,.42)!important}
.bp-cell.locked img{opacity:.5;filter:saturate(.5)}
.bp-cell.reached77 img{opacity:.8;filter:saturate(.8)}
.bp-cell.reached77 .bp-xp{color:rgba(242,211,164,.7)!important}
.bp-lock{background:none!important;color:rgba(242,200,142,.6)!important;top:6px!important;right:6px!important}
/* reached and waiting: an amber edge and a lit floor, with Claim inside the tile (it used to hang off the edge) */
.bp-cell.ready{background:linear-gradient(180deg,rgba(242,192,126,.06),rgba(242,192,126,.16))!important;box-shadow:inset 0 0 0 1.5px rgba(242,192,126,.6)!important;padding-bottom:30px!important;justify-content:flex-end!important}
.bp-open{bottom:8px!important;height:22px;padding:0 12px!important;border-radius:8px!important;background:linear-gradient(180deg,#f2c27e,#e2a25a)!important;box-shadow:none!important;font-size:11px!important;font-weight:700!important;transition:transform .32s var(--t77-settle)}
.bp-cell.ready:active .bp-open{transform:translateX(-50%) scale(.95)}
.bp-cell{transition:background-color .2s var(--t77-settle),box-shadow .2s var(--t77-settle),transform .4s var(--t77-settle)!important}
@media (hover:hover){@media (hover:hover){.bp-cell:hover{transform:translateY(-2px)!important;box-shadow:inset 0 0 0 1px rgba(255,242,228,.14),0 10px 20px -14px rgba(0,0,0,.8)}}}
.bp-cell:active{transform:scale(.97)!important;transition-duration:.08s!important}
.bp-ok{background:rgba(127,212,154,.18)!important;color:#8fdcab!important;width:18px!important;height:18px!important}
.bp-col.done .bp-cell:not(.ready):not(.locked){opacity:.62}
/* the tier numbers: done is filled, the one you're on is ringed, the rest are quiet; milestones a touch larger */
.bp-node b{box-shadow:inset 0 0 0 1px rgba(255,242,228,.12)!important;background:#262026!important;color:rgba(247,240,231,.55)!important}
.bp-col.done .bp-node b{background:#e9b36a!important;color:#2b1a0c!important;box-shadow:none!important}
.bp-col.here .bp-node b{background:#2e241c!important;color:#f2c88e!important;box-shadow:inset 0 0 0 1.5px #e9b36a!important}
.bp-col.mile .bp-node b{font-weight:800}
.bp-col.done .bp-node i,.bp-node i{box-shadow:none!important}
.bp-rails span.p{color:#e9b36a!important}
/* the shop window: a heading row, the prize and the five kinds of reward side by side, then the price */
.bp-buy.bp-show{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr)!important;grid-template-areas:"h h" "prize sws" "vs get"!important;gap:14px 18px!important;padding:22px!important}
.bp-show.owned{grid-template-areas:"h h" "prize sws"!important}
.bp-show .bp-sws{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important;align-self:stretch}
.bp-show .bp-sw{justify-content:center;padding:12px 4px 10px!important;transition:background-color .2s var(--t77-settle),transform .4s var(--t77-settle)!important}
@media (hover:hover){@media (hover:hover){.bp-show .bp-sw:hover{transform:translateY(-2px)!important}}}
.bp-show .bp-sw small{line-height:1.35}
.bp-show .bp-prize{height:100%;align-items:center}
.bp-show .bp-x2{box-shadow:none!important}
.bp-show .bp-get{justify-self:end;width:auto!important;min-width:260px;flex-direction:row!important;gap:10px!important;padding:12px 22px!important;border-radius:14px!important;box-shadow:0 10px 24px -14px rgba(238,158,82,.9),inset 0 1px 0 rgba(255,255,255,.35)!important;transition:transform .32s var(--t77-settle),filter .18s!important}
.bp-show .bp-get:active{transform:scale(.98)!important;transition-duration:.08s!important}
@media (hover:hover){@media (hover:hover){.bp-show .bp-get:hover{filter:brightness(1.05)}}}
.bp-show .bp-vs{margin:0;font-size:12.5px;color:rgba(247,240,231,.5)}
@media (max-width:900px){
  .bp-top17 .bp-hero{grid-template-columns:minmax(0,1fr)!important;gap:14px!important;padding:16px!important}
  .bp77-side{justify-content:stretch}.bp77-buy{width:100%}.bp77-t{flex:1}
  .bp-buy.bp-show{grid-template-columns:1fr!important;grid-template-areas:"h" "prize" "sws" "vs" "get"!important;padding:16px!important}
  .bp-show .bp-sws{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important}
  .bp-show .bp-sw{padding:10px 2px 8px!important}
  .bp-show .bp-sw small{font-size:10.5px}
  .bp-show .bp-get{justify-self:stretch;min-width:0}
}
@media (max-width:520px){.bp-show .bp-sws{grid-template-columns:repeat(6,minmax(0,1fr))!important}.bp-show .bp-sw{grid-column:span 2}.bp-show .bp-sw:nth-child(n+4){grid-column:span 3}.bp-top17 .bp-h h2{display:none}.bp77-wait{font-size:12.5px;line-height:1.4}.bp-show .bp-sw-i{width:38px;height:38px}.bp-top17 .bp-h h2{font-size:22px!important}}body.calm .bp-cell:active{transform:none!important}@media (hover:hover){body.calm .bp-cell:hover,body.calm .bp-show .bp-sw:hover{transform:none!important}}
.bp-cell.ready img{height:38px!important;width:56px!important}
.bp-cell.ready .bp-lab{-webkit-line-clamp:1!important;white-space:nowrap}
.bp-show .bp-vs,.bp-show-h small,.bp-prize span{text-wrap:balance}
.bp77-wait em{font-style:normal}
/* small or short screens: the road must be in view without scrolling, so the hero keeps only what matters */
@media (max-width:900px),(max-height:700px){
  .bp-top17 .bp-hero{gap:10px 18px!important;padding:12px 14px!important}
  .bp-top17 .bp-earn,.bp-top17 .bp-lvl{display:none!important}
  .bp-top17 .bp-h p{font-size:12.5px}
  .bp-top17 .bp-h h2{font-size:20px!important;margin:2px 0!important}
  .bp77-buy{padding:6px 6px 6px 8px;gap:10px}.bp77-t small{display:none}.bp77-c{width:28px;height:28px;border-radius:9px}.bp77-c svg{width:15px;height:15px}.bp77-p{padding:6px 10px;font-size:13px}
  .bp77-wait{padding:6px 6px 6px 8px;font-size:12.5px}.bp77-wait em{display:none}.bp77-wb{height:28px}
  .bp-road .h-sec{margin-top:10px}
}
@media (max-width:900px){.bp-top17 .bp-hero{grid-template-columns:minmax(0,1fr)!important}}
@media (max-width:640px){.bp-top17 .bp-h small{font-size:10.5px}.bp-top17 .bp-bar{grid-template-columns:54px minmax(0,1fr) auto}}
@media (max-height:600px) and (max-width:640px){.bp-top17 .bp-h p{display:none!important}.bp-top17 .bp-hero{gap:8px!important;padding:10px 12px!important}}

/* ===================== the Play menu ===================== */
/* the tables: a plan of each table in fine linen line, your chair in amber, nothing moving */
.topt-art.tbl78w{display:grid!important;place-items:center;width:72px!important;height:52px!important;border-radius:13px;background:rgba(255,242,228,.035);box-shadow:inset 0 0 0 1px rgba(255,242,228,.06);filter:none!important;transition:background-color .2s var(--t77-settle),box-shadow .2s var(--t77-settle)}
.tbl78{width:72px;height:50px;display:block;overflow:visible}
.tbl78 .rail{fill:none;stroke:rgba(247,240,231,.5);stroke-width:1.3}
.tbl78 .felt{fill:rgba(104,150,120,.2);stroke:rgba(247,240,231,.16);stroke-width:.8}
.tbl78 .line{fill:none;stroke:rgba(247,240,231,.13);stroke-width:.6;stroke-dasharray:1.4 1.6}
.tbl78 .card{fill:rgba(247,240,231,.82);stroke:rgba(30,20,18,.35);stroke-width:.4}
.tbl78 .ch{fill:rgba(247,240,231,.3)}
.tbl78 .me{fill:#e9b36a}
.topt{grid-template-columns:72px minmax(0,1fr) auto 14px!important;gap:14px!important;padding:9px 12px 9px 10px!important;transition:background-color .2s var(--t77-settle),transform .32s var(--t77-settle)!important}
.topt .topt-txt b{font-size:15px;font-weight:650;letter-spacing:-.01em}
.topt .topt-txt>span{font-size:12.5px;color:rgba(247,240,231,.5)}
.topt .topt-meta small{font-size:12px;color:rgba(247,240,231,.48)}
.topt .chev{opacity:.35;transition:opacity .2s var(--t77-settle),transform .32s var(--t77-settle)}
@media (hover:hover){@media (hover:hover){.topt:hover .topt-art.tbl78w{background:rgba(255,242,228,.06);box-shadow:inset 0 0 0 1px rgba(233,179,106,.22)}}@media (hover:hover){.topt:hover .tbl78 .rail{stroke:rgba(247,240,231,.72)}}@media (hover:hover){.topt:hover .chev{opacity:.75;transform:translateX(2px)}}
}
.topt:active{transform:scale(.985)!important;transition-duration:.08s!important}
.topt.locked .topt-art{opacity:.5}
/* the modes: one calm segmented control */
#homeSeg.picked button{transition:color .2s var(--t77-settle),background-color .2s var(--t77-settle),transform .32s var(--t77-settle)!important}
#homeSeg.picked button:active{transform:scale(.97)!important;transition-duration:.08s!important}
.home-note{font-size:13px!important;line-height:1.55!important;color:rgba(247,240,231,.6)!important;text-wrap:pretty}
/* Competitive's links: four tidy one-line tiles */
#homeComp .comp-btns{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;margin:2px 0 6px!important}
#homeComp .big-opt.sm{display:flex!important;align-items:center!important;gap:9px!important;height:40px;padding:0 12px!important;border-radius:12px!important;background:rgba(255,242,228,.04)!important;box-shadow:inset 0 0 0 1px rgba(255,242,228,.06)!important;transition:background-color .18s var(--t77-settle),transform .32s var(--t77-settle)!important}
#homeComp .big-opt.sm b{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeComp .big-opt.sm .bo-ico{flex:none;width:22px;height:22px;display:grid;place-items:center;background:none!important;color:#e9b36a}
#homeComp .big-opt.sm .bo-ico svg{width:16px;height:16px}
@media (hover:hover){@media (hover:hover){#homeComp .big-opt.sm:hover{background:rgba(255,242,228,.07)!important}}}
#homeComp .big-opt.sm:active{transform:scale(.97)!important;transition-duration:.08s!important}
/* the private table rows */
#homePrivate .big-opt{transition:background-color .18s var(--t77-settle),transform .32s var(--t77-settle)!important}
#homePrivate .big-opt:active{transform:scale(.985)!important;transition-duration:.08s!important}
/* the bot ladder: the dots a little larger so the row fills its card; the one picked settles in rather than jumping */
.lv74 .lv44-dot{transition:transform .34s var(--t77-settle),box-shadow .22s var(--t77-settle),background-color .2s!important}
.lv74 .lv44-dot:active{transform:translate(-50%,-50%) scale(.92)!important}
body.calm .topt:active,body.calm #homeComp .big-opt.sm:active{transform:none!important}
.topt .topt-txt b,.topt .topt-txt>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
@media (max-width:520px){
  .topt{grid-template-columns:64px minmax(0,1fr) auto 12px!important;gap:12px!important}
  .topt-art.tbl78w{width:64px!important;height:46px!important}.tbl78{width:64px;height:44px}
  #homeTables.rk78 .topt .topt-meta small{display:none}
}
/* the bot ladder: every stop the same size, the one picked grows smoothly (it used to jump from 30 to 38px) */
.lv74 .lv44-dot,.lv74 .lv44-dot.on{width:32px!important;height:32px!important}
.lv74 .lv44-dot.on{transform:translate(-50%,-50%) scale(1.18)!important}
.lv74 .lv44-dot img.rk-i{width:20px!important;height:20px!important}
.lv74 .lv44-dot:not(.on){filter:saturate(.7) brightness(.9)}
@media (hover:hover){@media (hover:hover){.lv74 .lv44-dot:not(.on):hover{filter:none;transform:translate(-50%,-50%) scale(1.06)!important}}}
.lv74 .lv44-dot.on:active{transform:translate(-50%,-50%) scale(1.1)!important}
.lv74 .lv44-fill{transition:width .5s var(--t77-settle)!important}
.topt .fl78{font-style:normal}
@media (max-width:520px){.topt .fl78{display:none}.lv74 .lv44-dot,.lv74 .lv44-dot.on{width:28px!important;height:28px!important}.lv74 .lv44-dot img.rk-i{width:18px!important;height:18px!important}}

/* ===================== socials ===================== */
/* solid enough that nothing behind it shows through (on a phone the menu's words used to read through the list) */
#side{background:linear-gradient(180deg,#2a2227,#221c21)!important}
#side.soc78 #sdKicker{display:none}
#side.soc78 #sdTitle{font-size:20px;font-weight:650;letter-spacing:-.015em}
/* the tabs: an icon and a short label each, the one you're on a soft raised pill */
#sdTabs{padding:3px!important;border-radius:14px!important;background:rgba(0,0,0,.2)!important;box-shadow:inset 0 0 0 1px rgba(255,242,228,.05)!important}
#sdTabs button{border-radius:11px!important;color:rgba(247,240,231,.5)!important;transition:color .18s var(--t77-settle),background-color .18s var(--t77-settle),transform .32s var(--t77-settle)!important}
#sdTabs button .i{opacity:.85}
#sdTabs button[aria-selected=true]{background:rgba(255,246,236,.1)!important;color:var(--linen)!important;box-shadow:0 1px 3px rgba(0,0,0,.25),inset 0 0 0 .5px rgba(255,255,255,.07)!important}
@media (hover:hover){@media (hover:hover){#sdTabs button[aria-selected=false]:hover{color:rgba(247,240,231,.8)!important}}}
#sdTabs button:active{transform:scale(.95)!important;transition-duration:.08s!important}
/* a person: avatar, two lines, rank on the right */
#side .prow{grid-template-columns:40px minmax(0,1fr) auto auto!important;gap:12px!important;padding:8px 8px!important;border-radius:12px;transition:background-color .18s var(--t77-settle),transform .32s var(--t77-settle)}
#side .prow canvas{width:40px!important;height:40px!important;background:color-mix(in srgb,var(--c) 14%,rgba(255,242,228,.04))!important;box-shadow:inset 0 0 0 1px rgba(255,242,228,.06)}
#side .prow .pn{gap:2px!important}
#side .prow .pn b{font-size:14px!important;font-weight:650;gap:7px!important}
.pn-h78{font-size:12px;font-weight:500;color:rgba(247,240,231,.4);overflow:hidden;text-overflow:ellipsis;min-width:0}
#side .prow .pn small.pn-s{font-size:12px!important;opacity:1!important;color:rgba(247,240,231,.5)!important;display:flex;align-items:center;gap:0}
#side .prow .pn small .st{width:7px!important;height:7px!important;margin:0 7px 0 0!important;box-shadow:0 0 0 2px rgba(127,209,139,.15)}
#side .prow.off .pn small .st{background:rgba(247,240,231,.25)!important;box-shadow:none}
#side .prow.off canvas{opacity:.6;filter:saturate(.6)}
#side .prow.off .pn b{opacity:.75}
.pr78-rk{display:flex;align-items:center;gap:6px;justify-self:end}
.pr78-rk .rk-i{width:18px!important;height:18px!important}
.pr78-rk .pn-elo{font-style:normal;font-size:12.5px;font-weight:600;color:rgba(247,240,231,.6);font-variant-numeric:tabular-nums;min-width:38px;text-align:right}
#side .prow .pa:empty{display:none}
#side .prow .pa{display:flex;gap:6px}
@media (hover:hover){@media (hover:hover){#side .prow.tap:hover{background:rgba(255,242,228,.05)}}}
#side .prow.tap:active{transform:scale(.985);transition-duration:.08s}
/* the sections (Online, Offline, requests) */
#side .drop{border-radius:16px!important;background:rgba(255,242,228,.03)!important}
#side .drop>summary{padding:12px 14px!important;font-size:13px!important;color:rgba(247,240,231,.75)!important;transition:color .18s}
#side .drop>summary .n{min-width:22px;height:20px;padding:0 7px;border-radius:99px;background:rgba(255,242,228,.06);display:inline-grid;place-items:center;font-size:11.5px!important}
#side .drop[data-d=online]>summary .n{background:rgba(127,209,139,.14);color:#9adca6!important}
#side .drop>summary .cv{transition:transform .34s var(--t77-settle)!important}
@media (hover:hover){@media (hover:hover){#side .drop>summary:hover{color:var(--linen)!important}}}
/* buttons in a row: Accept warm, No quiet */
#side .prow .mini{height:30px;padding:0 12px;border-radius:9px;font-size:12.5px;font-weight:600;transition:background-color .18s var(--t77-settle),transform .32s var(--t77-settle)}
#side .prow .mini:active{transform:scale(.95);transition-duration:.08s}
#side .prow .mini.go{background:linear-gradient(180deg,#f2c27e,#e2a25a)!important;color:#2b1a0c!important}
/* the tools above the list */
#side .sd-empty{padding:28px 12px;text-align:center;color:rgba(247,240,231,.45);font-size:13px}
#side .prow:has(.pa:not(:empty)) .pr78-rk{display:none}
#side.soc78 .sd-head{align-items:center!important;padding:16px 14px 12px 20px!important;min-height:0!important}
#side.soc78 .sd-id h2{margin:0!important}
#side.soc78 .sd-tabs{margin:0 12px 10px!important}
body.calm #side .prow.tap:active,body.calm #sdTabs button:active{transform:none!important}
#side.soc78 .sd-id{min-height:0!important;height:auto!important;padding:0!important}#side.soc78 .sd-id::after,#side.soc78 .sd-id::before{display:none!important}
/* a person's menu: the actions that can't be undone sit apart, under a hairline */
.cpop-b:not(.bad)+.cpop-b.bad{margin-top:9px;position:relative}
.cpop-b:not(.bad)+.cpop-b.bad::before{content:"";position:absolute;left:10px;right:10px;top:-5px;height:1px;background:rgba(255,242,228,.08)}
.cpop-b{transition:background-color .15s var(--t77-settle),transform .32s var(--t77-settle)}
.cpop-b:active{transform:scale(.98);transition-duration:.08s}

/* ===================== round 79: table chat + quick chats ===================== */
/* --- the panel: one solid, warm surface (the room no longer shows through the words) --- */
#chat.c79{background:linear-gradient(180deg,#2a2227 0%,#231d22 100%)!important;border:1px solid rgba(255,238,220,.07)!important;box-shadow:0 18px 50px rgba(5,3,10,.38),inset 0 1px 0 rgba(255,244,230,.05)!important}
#chat.c79 .chat-head{padding:8px 8px 10px 18px;gap:8px;border-bottom:1px solid transparent;transition:border-color .3s var(--t77-settle)}
#chat.c79 .chat-row{gap:2px}
#chat.c79 .chat-head.sc79{border-bottom-color:rgba(255,238,220,.06)}
#chat.c79 .chat-title{gap:8px;font-size:15px;font-weight:650;letter-spacing:-.01em}
#chat.c79 .chat-title small{font-size:12.5px;font-weight:500;color:rgba(247,240,231,.42);font-variant-numeric:tabular-nums}
/* the three buttons sit together at the right, evenly spaced */
#chat.c79 .chat-row>.chat-hush{margin-left:0}
#chat.c79 #chatQc44{margin-left:auto}
#chat.c79 .chat-spec:not(.hidden)~#chatQc44{margin-left:6px}
#chat.c79 .chat-hush,#chat.c79 .chat-x{width:32px;height:32px;border-radius:10px;color:rgba(247,240,231,.5);transition:background-color .18s var(--t77-settle),color .18s var(--t77-settle),transform .32s var(--t77-settle)}
#chat.c79 .chat-hush svg,#chat.c79 .chat-x svg{width:19px;height:19px;display:block;margin:auto}@media (hover:hover){#chat.c79 .chat-hush:hover,#chat.c79 .chat-x:hover{background:rgba(255,242,228,.07);color:var(--linen)}}
#chat.c79 .chat-hush:active,#chat.c79 .chat-x:active{transform:scale(.92);transition-duration:.08s}
#chat.c79 .chat-hush.on{color:var(--warm77,#e9b36a);background:rgba(233,179,106,.13)}
#chat.c79 .chat-x .i{transition:transform .4s var(--t77-settle)}
/* the people: smaller, calmer coins with a fine ring */
#chat.c79 .people{--ps:30px;--pg:7px;height:32px}
#chat.c79 .people.many{--ps:26px;--pg:5px}
#chat.c79 .person{box-shadow:inset 0 0 0 1px rgba(255,238,220,.08);background:color-mix(in srgb,var(--c) 13%,rgba(255,242,228,.035))}@media (hover:hover){#chat.c79 .person:hover{transform:translateY(-1px);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c) 50%,transparent)}}
#chat.c79 .person:active{transform:scale(.94);transition-duration:.08s}

/* --- messages: everyone in bubbles; yours on the right without your name over them --- */
#chat.c79 #chatList{padding:6px 14px 12px}
#chat.c79 #chatList>.msg{animation:msg79 .34s cubic-bezier(.2,.8,.2,1) both}
@keyframes msg79{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}
/* (it grows from its own corner, never past its box: a message sliding up from below made the list briefly taller, and the follow-the-newest scroll stopped short) */
#chat.c79 #chatList>.msg{transform-origin:50% 100%}
#chat.c79 #chatList>.msg.them{transform-origin:0 100%}
#chat.c79 #chatList>.msg.me{transform-origin:100% 100%}
#chat.c79 #chatList>.msg.them:not(.cont),#chat.c79 #chatList>.msg.me:not(.cont){margin-top:12px}
#chat.c79 #chatList>.msg.cont{margin-top:3px}
#chat.c79 .msg .who{display:flex;align-items:center;gap:5px;margin:0 0 4px 4px;font-size:12px;font-weight:650;letter-spacing:.005em}
#chat.c79 .msg .who svg,#chat.c79 .msg .who img,#chat.c79 .msg .who canvas{width:13px!important;height:13px!important;flex:none}
#chat.c79 .msg.me>.who{display:none}
#chat.c79 .msg.them:not(.dev46) .txt{display:inline-block;max-width:88%;padding:7px 12px 8px;border-radius:17px 17px 17px 6px;background:rgba(255,242,228,.065);box-shadow:inset 0 0 0 1px rgba(255,242,228,.035);font-size:14px;line-height:1.4;text-align:left;color:rgba(247,240,231,.92)}
#chat.c79 .msg.them.cont:not(.dev46) .txt{border-radius:6px 17px 17px 6px}
#chat.c79 .msg.me:not(.dev46) .txt{max-width:84%;padding:7px 12px 8px;border-radius:17px 17px 6px 17px;background:color-mix(in srgb,var(--c) 26%,#2c2428);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c) 22%,transparent);font-size:14px;line-height:1.4;text-align:left;color:#fbf6ef}
#chat.c79 .msg.me.cont:not(.dev46) .txt{border-radius:17px 6px 6px 17px}
/* quick chats: the bubble takes on the line's rarity, a small gem leads it */
#chat.c79 #chatList .msg.qcm:not(.dev46) .txt{padding-left:11px;background:color-mix(in srgb,var(--qr,#d8cfc4) 11%,rgba(255,242,228,.035));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--qr,#d8cfc4) 30%,transparent)}
#chat.c79 #chatList .msg.qcm .txt::before{width:7px;height:7px;margin:0 8px 0 1px;vertical-align:.08em;border-radius:2px;box-shadow:none;background:var(--qr,#d8cfc4)}
#chat.c79 #chatList .msg.qcm .qc.r-free{color:#f4ede4}
/* the table's own lines stay small and centred */
#chat.c79 .msg.sys,#chat.c79 .msg.mv{font-size:12px;line-height:1.5;color:rgba(247,240,231,.48)}
#chat.c79 .msg.sys+.msg.sys{margin-top:4px}
#chat.c79 .msg.sys,#chat.c79 .msg.mv,#qcPop.c79 .empty-row{text-wrap:balance}
#chat.c79 .msg.div{margin-top:18px;margin-bottom:4px;font-size:10.5px;font-weight:650;letter-spacing:.09em;color:rgba(247,240,231,.42)}
#chat.c79 .msg.div::before,#chat.c79 .msg.div::after{background:rgba(255,238,220,.07)}

/* --- new messages pill --- */
#chat.c79 #chatJump{display:flex;align-items:center;gap:6px;height:32px;padding:0 14px 0 11px;bottom:74px;border-radius:999px;background:#3a3036!important;border:1px solid rgba(255,238,220,.09)!important;box-shadow:0 8px 22px rgba(5,3,10,.4)!important;font-size:12.5px;font-weight:600;color:var(--linen);animation:jump79 .3s cubic-bezier(.2,.8,.2,1) both;transition:transform .32s var(--t77-settle),background-color .18s}
#chat.c79 #chatJump.hidden{display:none}
#chat.c79 #chatJump svg{width:15px;height:15px;color:var(--warm77,#e9b36a)}@media (hover:hover){#chat.c79 #chatJump:hover{background:#433840!important}}
#chat.c79 #chatJump:active{transform:translateX(-50%) scale(.96);transition-duration:.08s}
@keyframes jump79{from{opacity:0;transform:translate(-50%,6px)}to{opacity:1;transform:translate(-50%,0)}}

/* --- the composer --- */
#chat.c79 .composer{margin:4px 10px 10px;padding:5px 5px 5px 16px;border-radius:999px;background:rgba(255,242,228,.055);border:1px solid rgba(255,238,220,.07);transition:border-color .2s var(--t77-settle),background-color .2s var(--t77-settle),box-shadow .2s var(--t77-settle)!important}
#chat.c79 .composer:focus-within{background:rgba(255,242,228,.075);border-color:rgba(233,179,106,.38);box-shadow:0 0 0 3px rgba(233,179,106,.09)}
#chat.c79 #chatInput{height:34px;font-size:14px;caret-color:var(--warm77,#e9b36a)}
#chat.c79 #chatInput::placeholder{color:rgba(247,240,231,.38)}
#chat.c79 #chatSend{width:34px;height:34px;min-width:34px;min-height:34px;background:var(--warm77,#e9b36a);color:#2a1d12;box-shadow:0 2px 8px rgba(233,179,106,.25);transition:background-color .2s var(--t77-settle),color .2s var(--t77-settle),box-shadow .2s var(--t77-settle),transform .32s var(--t77-settle)}@media (hover:hover){#chat.c79 #chatSend:hover:not(:disabled){background:#f0c27e}}
#chat.c79 #chatSend:active:not(:disabled){transform:scale(.9);transition-duration:.08s}
#chat.c79 #chatSend:disabled{background:rgba(255,242,228,.07);color:rgba(247,240,231,.32);box-shadow:none}
#chat.c79 #chatSend .i{width:17px;height:17px;stroke-width:2.1}
#chat.c79 .chat-off{margin:4px 10px 10px;padding:6px 6px 6px 16px;border-radius:999px;background:rgba(255,242,228,.05);border:1px solid rgba(255,238,220,.06);font-size:12px;color:rgba(247,240,231,.55)}
#chat.c79 .chat-off button{height:30px;padding:0 14px;border-radius:999px;background:rgba(233,179,106,.16);color:var(--warm77,#e9b36a);font-weight:650}
#chat.c79 .typing .tp-dots{background:rgba(255,242,228,.065)}

/* --- the quick chat button at the table --- */
.qc-btn{transition:background-color .18s var(--t77-settle),color .18s var(--t77-settle),transform .32s var(--t77-settle),opacity .2s!important}
.qc-btn .i79{width:24px;height:24px}
.qc-btn:active{transform:scale(.93)!important;transition-duration:.08s!important}
.qc-btn[aria-expanded=true]{background:rgba(233,179,106,.16)!important;color:var(--warm77,#e9b36a)!important}

/* --- the quick chat panel: a short list in one card, sized to what it holds --- */
#qcPop.c79{width:min(360px,calc(100vw - 20px));height:auto!important;max-height:calc(100dvh - 150px);padding:10px;border-radius:22px;background:linear-gradient(180deg,#2c2429 0%,#241e23 100%)!important;border:1px solid rgba(255,238,220,.08)!important;box-shadow:0 20px 60px rgba(5,3,10,.5),inset 0 1px 0 rgba(255,244,230,.05)!important;transform-origin:calc(100% - 26px) 100%}
#qcPop.c79:not(.hidden):not(.fading){animation:qc79In .26s cubic-bezier(.2,.8,.2,1) both!important}
#qcPop.c79.fading{animation:qc79Out .18s ease-in forwards!important}
@keyframes qc79In{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:none}}
@keyframes qc79Out{to{opacity:0;transform:translateY(6px) scale(.98)}}
#qcPop.c79 .qc-head .seg{margin:0;padding:3px;border-radius:13px;background:rgba(0,0,0,.24)}
#qcPop.c79 .qc-head .seg button{height:32px;font-size:13px;font-weight:600;color:rgba(247,240,231,.55)}
#qcPop.c79 .qc-head .seg button[aria-selected=true]{color:var(--linen)}
#qcPop.c79 .qc-head .seg .knob{transition:transform .3s var(--t77-settle)}
#qcPop.c79 .qc-tools{margin-top:8px}
#qcPop.c79 .qc-cats{gap:6px;margin-top:10px;padding:0 1px}
#qcPop.c79 .qc-cats button{height:30px;padding:0 13px;border-radius:999px;background:rgba(255,242,228,.05);box-shadow:inset 0 0 0 1px rgba(255,238,220,.05);font-size:12.5px;font-weight:600;color:rgba(247,240,231,.6);transition:background-color .18s var(--t77-settle),color .18s var(--t77-settle),transform .32s var(--t77-settle)}@media (hover:hover){#qcPop.c79 .qc-cats button:hover{color:var(--linen)}}
#qcPop.c79 .qc-cats button:active{transform:scale(.95);transition-duration:.08s}
#qcPop.c79 .qc-cats button[aria-selected=true]{background:rgba(233,179,106,.15);box-shadow:inset 0 0 0 1px rgba(233,179,106,.28);color:var(--warm77,#e9b36a)}
#qcPop.c79 .qc-list{flex:none;height:auto;margin-top:10px}
#qcPop.c79 .qc-slide{grid-template-rows:repeat(var(--qn79,6),46px);align-content:start;gap:0;padding:0;border-radius:15px;background:rgba(255,242,228,.04);box-shadow:inset 0 0 0 1px rgba(255,238,220,.05);overflow:hidden}
#qcPop.c79 .qc-list>.empty-row{min-height:120px;display:flex;align-items:center;justify-content:center;padding:0 24px;font-size:13px;color:rgba(247,240,231,.5);border-radius:15px;background:rgba(255,242,228,.03)}
#qcPop.c79 .qrow.q79{position:relative;grid-template-columns:minmax(0,1fr) auto 34px;gap:8px;height:46px;padding:0 6px 0 14px;border-radius:0;background:transparent;transition:background-color .16s var(--t77-settle)}
#qcPop.c79 .qrow.q79+.qrow.q79::before{content:"";position:absolute;left:14px;right:14px;top:0;height:1px;background:rgba(255,238,220,.06)}@media (hover:hover){#qcPop.c79 .qrow.q79:hover{background:rgba(255,242,228,.05)}}
#qcPop.c79 .qrow.q79:active{background:rgba(255,242,228,.09);transition-duration:.05s}
#qcPop.c79 .qrow.q79 .qt{font-size:14px;line-height:1.3}
#qcPop.c79 .qrow.q79 .qt .qc{font-weight:550}
#qcPop.c79 .qrow.q79 .qt .qc.r-free{color:#f4ede4}
#qcPop.c79 .qrow.q79 .qr{font-size:11px;font-weight:650;letter-spacing:.02em;text-transform:none;color:var(--qr)}
#qcPop.c79 .qrow.q79 .qr:empty{display:none}
#qcPop.c79 .qrow.q79 .qf{width:34px;height:34px;border-radius:10px;color:rgba(247,240,231,.32);transition:color .18s var(--t77-settle),background-color .18s var(--t77-settle),transform .32s var(--t77-settle)}@media (hover:hover){#qcPop.c79 .qrow.q79 .qf:hover{background:rgba(255,242,228,.07);color:var(--linen)}}
#qcPop.c79 .qrow.q79 .qf:active{transform:scale(.86);transition-duration:.08s}
#qcPop.c79 .qrow.q79 .qf svg{width:17px;height:17px}
#qcPop.c79 .qrow.q79 .qf.on{color:var(--warm77,#e9b36a)}
#qcPop.c79 .qrow.q79 .qf.on svg path{fill:currentColor}
#qcPop.c79 .qrow.q79.sent79{background:rgba(233,179,106,.14)!important}
#qcPop.c79 .qc-dots{height:14px;margin-top:9px}
#qcPop.c79 .qc-dots i{width:5px;height:5px;background:rgba(255,242,228,.18)}
#qcPop.c79 .qc-dots i.on{background:var(--warm77,#e9b36a);transform:none;width:14px;border-radius:3px;transition:width .3s var(--t77-settle),background-color .3s}
#qcPop.c79 .qc-foot{margin:9px 4px 1px;font-size:11.5px;line-height:1.35;text-align:center;color:rgba(247,240,231,.42)}

/* --- calm / reduced motion: nothing moves --- */
body.calm #chat.c79 #chatList>.msg,body.calm #qcPop.c79:not(.hidden),body.calm #chat.c79 #chatJump{animation:none!important}
body.calm #chat.c79 :is(.chat-hush,.chat-x,#chatSend,.person),body.calm .qc-btn,body.calm #qcPop.c79 :is(.qf,.qc-cats button){transform:none!important}
@media (prefers-reduced-motion:reduce){
  #chat.c79 #chatList>.msg,#qcPop.c79:not(.hidden),#qcPop.c79.fading,#chat.c79 #chatJump{animation:none!important}
}
/* --- phones: the chat is a sheet; a little more room for thumbs --- */
@media (max-width:899px),(max-height:519px){
  #chat.c79{border-radius:24px}
  #chat.c79 .chat-head{padding:10px 10px 10px 18px}
  #chat.c79 .chat-hush,#chat.c79 .chat-x{width:36px;height:36px}
  #chat.c79 #chatInput{font-size:16px}
  #chat.c79 #chatSend{width:36px;height:36px}
  #qcPop.c79{right:10px!important;width:calc(100vw - 20px);max-width:380px}
}

/* ===================== round 80: trades + receipts ===================== */
.tr80,.rf80{--g80:#8fd6a0;--a80:#e9b36a;--bad80:#f0a196;--ln80:rgba(255,238,220,.07);--card80:rgba(255,242,228,.04);--card80h:rgba(255,242,228,.07)}
.tr80 .r-common,.rf80 .r-common{--rc:#bdb6ad}.tr80 .r-uncommon,.rf80 .r-uncommon{--rc:#7fd49a}.tr80 .r-rare,.rf80 .r-rare{--rc:#6fa8ff}
.tr80 .r-epic,.rf80 .r-epic{--rc:#b47bff}.tr80 .r-legendary,.rf80 .r-legendary{--rc:#f2bb4a}.tr80 .r-unreal,.rf80 .r-unreal{--rc:#ff9ec0}
.tr80 .i,.rf80 .i{width:16px;height:16px;flex:none}
.tr80 button,.rf80 button{transition:background-color .18s var(--t77-settle),color .18s var(--t77-settle),box-shadow .18s var(--t77-settle),transform .32s var(--t77-settle),opacity .2s}
.tr80 button:active:not(:disabled),.rf80 button:active:not(:disabled){transform:scale(.97);transition-duration:.08s}

/* --- heading --- */
.tr80 .t80-intro{display:flex;align-items:center;gap:14px}
.tr80 .tr-shield{width:44px;height:44px;border-radius:14px;background:rgba(143,214,160,.12);color:var(--g80);box-shadow:inset 0 0 0 1px rgba(143,214,160,.18)}
.tr80 .tr-shield .i{width:23px;height:23px}
.tr80 .t80-it h2{margin:0;font-size:22px;font-weight:650;letter-spacing:-.02em}
.tr80 .t80-it p{margin:2px 0 0;font-size:13px;line-height:1.45;color:rgba(247,240,231,.55)}
.tr80 .t80-how{margin:14px 0 0;border-radius:14px;background:var(--card80);box-shadow:inset 0 0 0 1px var(--ln80);overflow:hidden}
.tr80 .t80-how summary{display:flex;align-items:center;justify-content:space-between;gap:10px;height:42px;padding:0 14px;list-style:none;font-size:13px;font-weight:600;color:rgba(247,240,231,.78);cursor:var(--cu-hand,pointer)}
.tr80 .t80-how summary::-webkit-details-marker{display:none}
.tr80 .t80-how summary .i{color:rgba(247,240,231,.4);transition:transform .3s var(--t77-settle)}
.tr80 .t80-how[open] summary .i{transform:rotate(90deg)}
.tr80 .t80-how ol{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:2px 18px;margin:0;padding:2px 14px 14px;list-style:none}
.tr80 .t80-how li{display:flex;gap:10px;padding:8px 0}
.tr80 .t80-how li em{flex:none;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:11px;font-weight:700;background:rgba(143,214,160,.14);color:var(--g80)}
.tr80 .t80-how li span{display:flex;flex-direction:column;gap:1px}
.tr80 .t80-how li b{font-size:13px;font-weight:650}
.tr80 .t80-how li small{font-size:12px;line-height:1.45;color:rgba(247,240,231,.52)}

/* --- trade with --- */
.tr80 .t80-sec{margin-top:22px}
.tr80 .t80-sh{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 2px 10px}
.tr80 .t80-sh h3{margin:0;font-size:15px;font-weight:650;letter-spacing:-.01em}
.tr80 .t80-sh span{font-size:12px;color:rgba(247,240,231,.45);font-variant-numeric:tabular-nums}
.tr80 .t80-people{gap:8px!important}
.tr80 .t80-pc{display:flex;align-items:center;gap:10px;min-width:0;height:56px;padding:0 12px 0 8px;border-radius:15px;background:var(--card80);box-shadow:inset 0 0 0 1px var(--ln80);text-align:left}
@media (hover:hover){@media (hover:hover){.tr80 .t80-pc:hover{background:var(--card80h)}}}
.tr80 .t80-pc.on{background:rgba(233,179,106,.1);box-shadow:inset 0 0 0 1.5px rgba(233,179,106,.55)}
.tr80 .t80-av{position:relative;flex:none;width:38px;height:38px;border-radius:50%;background:color-mix(in srgb,var(--c) 16%,rgba(255,242,228,.04));box-shadow:inset 0 0 0 1px rgba(255,238,220,.08)}
.tr80 .t80-av canvas{width:100%;height:100%;display:block;border-radius:50%}
.tr80 .t80-on{position:absolute;right:-1px;bottom:-1px;width:10px;height:10px;border-radius:50%;background:var(--g80);box-shadow:0 0 0 2px #2a2227}
.tr80 .t80-pn{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.tr80 .t80-pn b{font-size:13.5px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr80 .t80-pn small{display:flex;align-items:center;gap:6px;font-size:11.5px;color:rgba(247,240,231,.48);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr80 .t80-pc>svg,.tr80 .t80-pc>img{flex:none;opacity:.9}

/* --- the desk --- */
.tr80 .t80-desk{margin-top:22px;padding:16px;border-radius:22px;background:linear-gradient(180deg,rgba(255,242,228,.045),rgba(255,242,228,.02));box-shadow:inset 0 0 0 1px var(--ln80)}
.tr80 .t80-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
.tr80 .t80-who{display:flex;align-items:center;gap:11px;min-width:0}
.tr80 .t80-who .t80-av{width:42px;height:42px}
.tr80 .t80-who .t80-pn b{font-size:15px}
.tr80 .t80-tag{display:inline-flex;align-items:center;height:18px;padding:0 7px;border-radius:999px;font-size:10.5px;font-weight:650;letter-spacing:.01em}
.tr80 .t80-tag.ok{background:rgba(143,214,160,.13);color:var(--g80)}
.tr80 .t80-tag.warn{background:rgba(233,179,106,.14);color:var(--a80)}
.tr80 .t80-chg{flex:none;height:30px;margin-left:4px;padding:0 12px;border-radius:999px;background:rgba(255,242,228,.06);font-size:12px;font-weight:600;color:rgba(247,240,231,.75)}@media (hover:hover){.tr80 .t80-chg:hover{background:rgba(255,242,228,.1);color:var(--linen)}}
/* steps: one quiet track */
.tr80 .t80-steps{flex:none;display:flex;align-items:center;gap:6px;padding:5px 10px 5px 6px;border-radius:999px;background:rgba(0,0,0,.2);box-shadow:inset 0 0 0 1px var(--ln80)}
.tr80 .t80-steps span{display:flex;align-items:center;gap:6px;font-size:12px;color:rgba(247,240,231,.42);white-space:nowrap}
.tr80 .t80-steps span b{font-weight:600}
.tr80 .t80-steps em{width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:10.5px;font-weight:700;background:rgba(255,242,228,.07);transition:background-color .3s var(--t77-settle),color .3s var(--t77-settle)}
.tr80 .t80-steps em .i{width:12px;height:12px}
.tr80 .t80-steps span.on{color:var(--linen)}
.tr80 .t80-steps span.on em{background:var(--a80);color:#2a1d12}
.tr80 .t80-steps span.done{color:rgba(247,240,231,.62)}
.tr80 .t80-steps span.done em{background:rgba(143,214,160,.18);color:var(--g80)}
.tr80 .t80-steps i{width:14px;height:1px;background:rgba(255,238,220,.12)}
/* banner */
.tr80 .t80-banner{display:flex;align-items:flex-start;gap:10px;margin:0 0 12px;padding:11px 14px;border-radius:14px;background:rgba(255,242,228,.055);box-shadow:inset 0 0 0 1px var(--ln80);font-size:13px;line-height:1.45;color:rgba(247,240,231,.82);animation:ban80 .3s cubic-bezier(.2,.8,.2,1) both}
.tr80 .t80-banner.hidden{display:none}
.tr80 .t80-banner .i{margin-top:1px;color:rgba(247,240,231,.5)}
.tr80 .t80-banner.bad{background:rgba(240,161,150,.1);box-shadow:inset 0 0 0 1px rgba(240,161,150,.3);color:#ffd2cb}
.tr80 .t80-banner.bad .i{color:var(--bad80)}
.tr80 .t80-banner.ok{background:rgba(143,214,160,.09);box-shadow:inset 0 0 0 1px rgba(143,214,160,.25);color:#cdeed3}
.tr80 .t80-banner.ok .i{color:var(--g80)}
@keyframes ban80{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
/* the two sides */
.tr80 .t80-sides{display:grid;grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr);gap:8px;align-items:stretch}
.tr80 .t80-side{display:flex;flex-direction:column;min-width:0;padding:12px;border-radius:18px;background:rgba(0,0,0,.2);box-shadow:inset 0 0 0 1px var(--ln80);transition:box-shadow .3s var(--t77-settle),background-color .3s var(--t77-settle)}
.tr80 .t80-side.locked{background:rgba(143,214,160,.05);box-shadow:inset 0 0 0 1.5px rgba(143,214,160,.42)}
.tr80 .t80-side.rev{box-shadow:inset 0 0 0 1.5px rgba(233,179,106,.5);background:rgba(233,179,106,.04)}
.tr80 .t80-side header{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:30px;margin:0 2px 10px}
.tr80 .t80-st{display:flex;align-items:baseline;gap:7px;min-width:0}
.tr80 .t80-st b{font-size:14px;font-weight:650}
.tr80 .t80-st small{font-size:12px;color:rgba(247,240,231,.42);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr80 .t80-cnt{flex:none;font-size:11.5px;color:rgba(247,240,231,.45);font-variant-numeric:tabular-nums}
.tr80 .t80-lk{flex:none;display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 9px;border-radius:999px;background:rgba(143,214,160,.13);color:var(--g80);font-size:11.5px;font-weight:650}
.tr80 .t80-lk .i{width:12px;height:12px}
.tr80 .t80-tiles{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}
.tr80 .t80-mid{display:flex;align-items:center;justify-content:center;color:rgba(247,240,231,.35)}
.tr80 .t80-mid .i{width:18px;height:18px}
/* a thing: its picture, name, kind and rarity */
.tr80 .a80,.rf80 .a80{position:relative;flex:none;width:44px;height:44px;border-radius:11px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(120% 100% at 50% 0%,color-mix(in srgb,var(--rc,#bdb6ad) 22%,transparent),rgba(0,0,0,.18));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--rc,#bdb6ad) 30%,transparent)}
.tr80 .a80 img,.rf80 .a80 img{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none}
.tr80 .a80.k-deck img,.rf80 .a80.k-deck img{width:118%;height:118%}
.tr80 .a80.k-qc img,.rf80 .a80.k-qc img{width:150%;height:150%}
.tr80 .a80.k-title img,.rf80 .a80.k-title img{width:124%;height:124%}
.tr80 .a80.k-col,.rf80 .a80.k-col{background:rgba(0,0,0,.18);box-shadow:inset 0 0 0 1px rgba(255,238,220,.1)}
.tr80 .a80.k-col i,.rf80 .a80.k-col i{width:56%;height:56%;border-radius:50% 50% 46% 46%;background:var(--c);box-shadow:inset 0 -3px 6px rgba(0,0,0,.2),inset 0 2px 3px rgba(255,255,255,.25)}
.tr80 .t80-tile{position:relative;display:flex;flex-direction:row;align-items:center;gap:11px;min-width:0;width:100%;min-height:58px;padding:7px 12px 7px 7px;border-radius:14px;background:rgba(255,242,228,.05);box-shadow:inset 0 0 0 1px rgba(255,238,220,.05);text-align:left}
@media (hover:hover){@media (hover:hover){.tr80 button.t80-tile:hover{background:rgba(255,242,228,.08)}}}
.tr80 .t80-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.tr80 .t80-tx b,.rf80 .rf-tx b{font-size:13.5px;font-weight:600;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr80 .t80-tx small,.rf80 .rf-tx small{display:flex;align-items:center;gap:6px;min-width:0;font-size:11.5px;color:rgba(247,240,231,.48);white-space:nowrap;overflow:hidden}
.tr80 .d80,.rf80 .d80{flex:none;width:3px;height:3px;border-radius:50%;background:rgba(247,240,231,.3)}
.tr80 .rr80,.rf80 .rr80{color:var(--rc,#bdb6ad);font-weight:600}
.tr80 .use80{color:var(--a80)}
.tr80 .t80-n{flex:none;min-width:26px;height:22px;padding:0 7px;border-radius:999px;display:flex;align-items:center;justify-content:center;background:rgba(255,242,228,.09);font-size:11.5px;font-weight:700;font-variant-numeric:tabular-nums}
.tr80 .t80-tile.new80{box-shadow:inset 0 0 0 1.5px rgba(240,161,150,.6);background:rgba(240,161,150,.07)}
.tr80 .t80-new{position:absolute;top:-7px;right:10px;height:18px;padding:0 7px;border-radius:999px;display:flex;align-items:center;background:var(--bad80);color:#2a1512;font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.tr80 .t80-add{display:flex;align-items:center;justify-content:center;gap:8px;min-height:58px;padding:10px;border-radius:14px;background:transparent;box-shadow:none;border:1.5px dashed rgba(255,238,220,.12);font-size:12.5px;font-weight:600;color:rgba(247,240,231,.5)}
.tr80 .t80-add.more{min-height:40px;border-style:dashed}@media (hover:hover){.tr80 .t80-add:hover{border-color:rgba(233,179,106,.45);color:var(--a80);background:rgba(233,179,106,.04)}}
.tr80 .t80-gone{display:flex;align-items:flex-start;gap:8px;margin-top:8px;padding:9px 11px;border-radius:12px;background:rgba(240,161,150,.08);font-size:12px;line-height:1.4;color:#ffd2cb}
.tr80 .t80-gone .i{width:14px;height:14px;margin-top:1px;color:var(--bad80)}
.tr80 .t80-gone b{font-weight:650}
/* colour swap, restyled to sit with the rest */
.tr80 .t80-col:empty{display:none}
.tr80 .t80-col{margin-top:8px;padding:10px 12px;border-radius:16px;background:var(--card80);box-shadow:inset 0 0 0 1px var(--ln80)}
.tr80 .t80-col{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 18px}
.tr80 .t80-col .tc-h{display:flex;flex-direction:column;align-items:flex-start;gap:1px;margin:0}
.tr80 .t80-col .tc-sides{display:flex;gap:18px}
.tr80 .t80-col .tc-side{display:flex;align-items:center;gap:8px}
.tr80 .t80-col .tc-side>small{margin:0}
.tr80 .t80-col .tc-h b{font-size:13px;font-weight:650}
.tr80 .t80-col .tc-h small{font-size:11.5px;color:rgba(247,240,231,.45)}
.tr80 .t80-col .tc-side>small{font-size:11px;font-weight:600;letter-spacing:0;text-transform:none;color:rgba(247,240,231,.45)}
.tr80 .t80-col .tc-c{height:30px;font-variant-numeric:tabular-nums}
/* fairness and the checks */
.tr80 .t80-fair:empty{display:none}
.tr80 .t80-fair{display:flex;flex-direction:column;gap:8px;margin-top:12px}
.tr80 .t80-bal{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:10px 14px;border-radius:14px;background:var(--card80);box-shadow:inset 0 0 0 1px var(--ln80)}
.tr80 .t80-bv{display:flex;flex-direction:column;gap:1px;min-width:64px}
.tr80 .t80-bv.r{text-align:right}
.tr80 .t80-bv small{font-size:11px;color:rgba(247,240,231,.45)}
.tr80 .t80-bv b{font-size:15px;font-weight:650;font-variant-numeric:tabular-nums}
.tr80 .t80-bm{min-width:0}
.tr80 .t80-bal .t80-bm{display:flex;flex-direction:column;align-items:stretch;gap:6px}
.tr80 .t80-meter{position:relative;display:flex;gap:3px;height:6px}
.tr80 .t80-meter i{display:block;height:100%;min-width:3px;border-radius:3px;transition:flex-grow .35s var(--t77-settle)}
.tr80 .t80-meter .g{background:var(--a80)}
.tr80 .t80-meter .t{background:var(--g80)}
.tr80 .t80-meter::after{content:"";position:absolute;left:50%;top:-3px;bottom:-3px;width:1.5px;margin-left:-.75px;border-radius:1px;background:rgba(247,240,231,.55)}
.tr80 .t80-ver{font-style:normal;font-size:12px;font-weight:600;text-align:center;color:rgba(247,240,231,.7)}
.tr80 .t80-ver.even{color:var(--g80)}
.tr80 .t80-ver.warn{color:#ffc2b7}
.tr80 .t80-chk{display:flex;align-items:flex-start;gap:11px;padding:11px 14px;border-radius:14px;background:var(--card80);box-shadow:inset 0 0 0 1px var(--ln80);font-size:12.5px}
.tr80 .t80-chk>.i{margin-top:1px;color:rgba(247,240,231,.5)}
.tr80 .t80-ct{display:flex;flex-direction:column;gap:2px;min-width:0}
.tr80 .t80-ct b{font-size:13px;font-weight:650}
.tr80 .t80-ct small{font-size:12px;line-height:1.45;color:rgba(247,240,231,.55)}
.tr80 .t80-chk.warn{background:rgba(233,179,106,.08);box-shadow:inset 0 0 0 1px rgba(233,179,106,.3);cursor:var(--cu-hand,pointer)}
.tr80 .t80-chk.warn.on{background:rgba(233,179,106,.05);box-shadow:inset 0 0 0 1px rgba(233,179,106,.18)}
.tr80 .t80-chk.bad{background:rgba(240,161,150,.09);box-shadow:inset 0 0 0 1px rgba(240,161,150,.3)}
.tr80 .t80-chk.bad>.i{color:var(--bad80)}
.tr80 .t80-chk input{position:absolute;opacity:0;pointer-events:none}
.tr80 .t80-box{flex:none;width:20px;height:20px;margin-top:1px;border-radius:6px;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.22);box-shadow:inset 0 0 0 1.5px rgba(233,179,106,.6);color:#2a1d12;transition:background-color .18s var(--t77-settle),transform .32s var(--t77-settle)}
.tr80 .t80-box .i{width:13px;height:13px;opacity:0;transform:scale(.6);transition:opacity .16s,transform .3s var(--t77-settle)}
.tr80 .t80-chk input:checked+.t80-box{background:var(--a80)}
.tr80 .t80-chk input:checked+.t80-box .i{opacity:1;transform:none}
.tr80 .t80-chk:active .t80-box{transform:scale(.9);transition-duration:.08s}
.tr80 .t80-chk input:focus-visible+.t80-box{outline:2px solid var(--a80);outline-offset:2px}
/* actions */
.tr80 .t80-act{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px;padding-top:14px;border-top:1px solid var(--ln80)}
.tr80 .t80-note{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;font-size:12.5px;line-height:1.45;color:rgba(247,240,231,.62)}
.tr80 .t80-note small{font-size:11.5px;color:rgba(247,240,231,.4);font-variant-numeric:tabular-nums}
.tr80 .t80-note small:empty{display:none}
.tr80 .t80-btns{flex:none;display:flex;gap:8px}
.tr80 .t80-b,.rf80 .t80-b{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;margin:0;padding:0 18px;border-radius:14px;font-size:14px;font-weight:650;overflow:hidden;white-space:nowrap}
.tr80 .t80-b.ghost,.rf80 .t80-b.ghost{background:rgba(255,242,228,.06);color:rgba(247,240,231,.82);box-shadow:inset 0 0 0 1px var(--ln80)}@media (hover:hover){.tr80 .t80-b.ghost:hover,.rf80 .t80-b.ghost:hover{background:rgba(255,242,228,.1);color:var(--linen)}}
.tr80 .t80-b.go{min-width:188px;background:var(--a80);color:#2a1d12;box-shadow:0 4px 14px rgba(233,179,106,.22)}@media (hover:hover){.tr80 .t80-b.go:hover:not(:disabled){background:#f0c27e}}
.tr80 .t80-b:disabled{cursor:var(--cu-arrow,default)}
.tr80 .t80-b.go:disabled{background:rgba(255,242,228,.07);color:rgba(247,240,231,.38);box-shadow:none}
.tr80 .t80-b.go.wait{color:rgba(247,240,231,.6)}
.tr80 .t80-dot{width:7px;height:7px;border-radius:50%;background:var(--a80);animation:dot80 1.6s ease-in-out infinite}
@keyframes dot80{50%{opacity:.35}}
.tr80 .t80-b.rv,.tr80 .t80-b.hold80{min-width:200px;background:rgba(233,179,106,.12);color:var(--a80);box-shadow:inset 0 0 0 1px rgba(233,179,106,.35)}
.tr80 .t80-b.rv .rv-fill{position:absolute;inset:0;transform-origin:0 50%;background:rgba(233,179,106,.26)}
.tr80 .t80-b.rv .rv-t,.tr80 .t80-b.hold80 .hold-t{position:relative;display:inline-flex;align-items:center;gap:7px;font-variant-numeric:tabular-nums}
.tr80 .t80-b.hold80{background:var(--a80);color:#2a1d12;box-shadow:0 4px 14px rgba(233,179,106,.25);touch-action:none}
.tr80 .t80-b.hold80 .hold-fill{position:absolute;inset:0;width:auto!important;transform:scaleX(0);transform-origin:0 50%;background:rgba(255,248,235,.38)}
.tr80 .t80-b.hold80.holding{transform:scale(.97)}
.tr80 .t80-b.hold80.ok{background:rgba(143,214,160,.14);color:var(--g80);box-shadow:inset 0 0 0 1px rgba(143,214,160,.35)}
/* the picker */
.tr80 .t80-picker{margin-top:18px;padding-top:16px;border-top:1px solid var(--ln80)}
.tr80 .t80-ph{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.tr80 .t80-ph .seg{flex:0 1 360px;margin:0;max-width:none}
.tr80 .t80-ph .tk68-kinds{display:flex;flex-wrap:wrap;gap:6px;margin:0}
.tr80 .t80-ph .tk68-kinds .chip-tog{height:30px;padding:0 12px;font-size:12px}
.tr80 .t80-list .pg-page{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.tr80 .t80-pk{position:relative;display:flex;flex-direction:row;align-items:center;gap:10px;min-width:0;min-height:58px;padding:7px 44px 7px 7px;border-radius:14px;background:rgba(255,242,228,.04);box-shadow:inset 0 0 0 1px rgba(255,238,220,.04);text-align:left}
@media (hover:hover){@media (hover:hover){.tr80 .t80-pk:hover{background:rgba(255,242,228,.075)}}}
.tr80 .t80-pk[aria-pressed=true]{background:rgba(233,179,106,.08);box-shadow:inset 0 0 0 1.5px rgba(233,179,106,.5)}
.tr80 .t80-pk .tr-n{position:absolute;right:9px;top:50%;transform:translateY(-50%);min-width:26px;height:22px;padding:0 7px;border-radius:999px;display:flex;align-items:center;justify-content:center;background:var(--a80);color:#2a1d12;font-size:11.5px;font-weight:700}
.tr80 .t80-pk .tr-n:empty{display:none}
.tr80 #trNav{margin-top:10px}
.tr80 #trNav:has(.pg-prev:disabled):has(.pg-next:disabled){display:none}
.tr80 .t80-list .empty-row{grid-column:1/-1;padding:26px 10px;text-align:center;font-size:13px;color:rgba(247,240,231,.45)}
/* activity */
.tr80 .t80-log:empty{display:none}
.tr80 .t80-log{margin-top:16px;padding-top:14px;border-top:1px solid var(--ln80);display:flex;flex-direction:column;gap:5px}
.tr80 .t80-lh{margin-bottom:2px;font-size:12px;font-weight:650;color:rgba(247,240,231,.55)}
.tr80 .t80-li{display:grid;grid-template-columns:62px minmax(0,1fr);gap:10px;font-size:12px;line-height:1.45;color:rgba(247,240,231,.55)}
.tr80 .t80-li time{font-variant-numeric:tabular-nums;color:rgba(247,240,231,.32)}
.tr80 .t80-li.bad span{color:#ffc2b7}
.tr80 .t80-li.ok span{color:var(--g80)}

/* --- receipts: slim rows --- */
.tr80 .rc-tools{margin:0 0 10px}
.tr80 .rcpts{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:0;border-radius:16px;background:var(--card80);box-shadow:inset 0 0 0 1px var(--ln80);overflow:hidden}
.tr80 .rcpt.rc80{all:unset;box-sizing:border-box;display:grid;grid-template-columns:62px minmax(0,1fr) auto 22px 18px;align-items:center;gap:14px;width:100%;min-height:60px;padding:8px 14px;color:var(--linen);font:inherit;cursor:var(--cu-hand,pointer);transition:background-color .16s var(--t77-settle)}
.tr80 .rcpt.rc80+.rcpt.rc80{box-shadow:inset 0 1px 0 var(--ln80)}
@media (hover:hover){@media (hover:hover){.tr80 .rcpt.rc80:hover{background:rgba(255,242,228,.045)}}}
.tr80 .rcpt.rc80:active{background:rgba(255,242,228,.07)}
.tr80 .rcpt.rc80:focus-visible{outline:2px solid var(--a80);outline-offset:-2px}
.tr80 .rcpt.rc80::after{display:none}
.tr80 .rc80-d{display:flex;flex-direction:column;gap:1px}
.tr80 .rc80-d b{font-size:13px;font-weight:650;white-space:nowrap}
.tr80 .rc80-d small{font-size:11.5px;color:rgba(247,240,231,.42);font-variant-numeric:tabular-nums}
.tr80 .rc80-w{display:flex;flex-direction:column;gap:1px;min-width:0}
.tr80 .rc80-w b{font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr80 .rc80-w code{font:500 11px/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:rgba(247,240,231,.4);letter-spacing:.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.tr80 .rc80-items{display:flex;align-items:center;gap:10px;min-width:0}
.tr80 .rc80-g{display:flex;align-items:center;gap:4px;min-width:0}
.tr80 .rc80-th{position:relative;display:flex}
.tr80 .rc80-th .a80{width:32px;height:32px;border-radius:9px}
.tr80 .rc80-th .x80{position:absolute;right:-4px;bottom:-4px;padding:0 4px;border-radius:6px;background:#3a3036;font-style:normal;font-size:9.5px;font-weight:700;line-height:14px}
.tr80 .rc80-more{flex:none;height:22px;padding:0 6px;border-radius:7px;display:flex;align-items:center;background:rgba(255,242,228,.07);font-size:11px;font-weight:650;color:rgba(247,240,231,.6)}
.tr80 .rc80-none{font-size:12px;color:rgba(247,240,231,.35)}
.tr80 .rc80-ar{flex:none;display:flex;color:rgba(247,240,231,.3)}
.tr80 .rc80-ar .i{width:14px;height:14px}
.tr80 .rc80-st{width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(143,214,160,.13);color:var(--g80)}
.tr80 .rc80-st.x{background:rgba(240,161,150,.13);color:var(--bad80)}
.tr80 .rc80-st .i{width:12px;height:12px}
.tr80 .rc80-c{display:flex;color:rgba(247,240,231,.3)}
.tr80 #rcBox .pg25{margin-top:10px}

/* --- the whole receipt, on top --- */
#modal .sheet.rf80s{width:min(620px,100%);padding:22px 20px 18px;background:linear-gradient(180deg,#2c2429 0%,#241e23 100%);box-shadow:0 24px 70px rgba(5,3,10,.55),inset 0 0 0 1px rgba(255,238,220,.08)}
.rf80{display:block;padding:0;background:none;box-shadow:none;color:var(--linen);font:inherit}
.rf80::after{display:none}
.rf80 .rf-h{display:flex;align-items:center;justify-content:flex-start;gap:14px;padding:0 34px 16px 2px;margin:0;border:0;border-bottom:1px solid var(--ln80)}
.rf80 .rf-seal{flex:none;width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:rgba(143,214,160,.12);color:var(--g80);box-shadow:inset 0 0 0 1px rgba(143,214,160,.22)}
.rf80 .rf-seal.x{background:rgba(240,161,150,.12);color:var(--bad80)}
.rf80 .rf-seal .i{width:22px;height:22px}
.rf80 .rf-ht small{display:block;font-size:11.5px;font-weight:600;color:var(--g80)}
.rf80 .rf-ht h2{margin:2px 0 1px;font-size:19px;font-weight:650;letter-spacing:-.015em}
.rf80 .rf-ht p{margin:0;font-size:12.5px;color:rgba(247,240,231,.5)}
.rf80 .rf-cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:16px}
.rf80 .rf-cols section{min-width:0;padding:12px;border-radius:16px;background:rgba(255,242,228,.04);box-shadow:inset 0 0 0 1px var(--ln80)}
.rf80 .rf-cols h4{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:0 2px 10px;font-size:13px;font-weight:650;text-transform:none;letter-spacing:0}
.rf80 .rf-cols h4 em{font-style:normal;font-size:11.5px;font-weight:500;color:rgba(247,240,231,.45);font-variant-numeric:tabular-nums}
.rf80 .rf-list{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}
.rf80 .rf-it{display:grid;grid-template-columns:40px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:6px;border-radius:12px;background:rgba(0,0,0,.16)}
.rf80 .rf-it .a80{grid-row:1/3;width:40px;height:40px}
.rf80 .rf-tx{grid-row:1/3;display:flex;flex-direction:column;gap:2px;min-width:0}
.rf80 .rf-tx b em{font-style:normal;color:rgba(247,240,231,.55)}
.rf80 .rf-it code{grid-column:3;grid-row:1;font:500 10.5px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:rgba(247,240,231,.38);text-align:right;white-space:nowrap}
.rf80 .rf-v{grid-column:3;grid-row:2;font-size:11.5px;font-weight:650;text-align:right;font-variant-numeric:tabular-nums;color:rgba(247,240,231,.7)}
.rf80 .rf-none{margin:0;padding:12px 4px;font-size:12.5px;color:rgba(247,240,231,.38);text-align:center}
.rf80 .rf-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:10px;margin-top:10px}
.rf80 .rf-kv{display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px 12px;margin:0;padding:12px 14px;border-radius:16px;background:rgba(255,242,228,.04);box-shadow:inset 0 0 0 1px var(--ln80);font-size:12.5px}
.rf80 .rf-kv dt{color:rgba(247,240,231,.45)}
.rf80 .rf-kv dd{display:flex;align-items:center;flex-wrap:wrap;gap:0 5px;margin:0;min-width:0;justify-content:flex-end;text-align:right;color:rgba(247,240,231,.88)}
.rf80 .rf-kv dd span{color:rgba(247,240,231,.48)}
.rf80 .rf-kv code{font:500 12px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.02em}
.rf80 .rf-cp{width:24px;height:24px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;color:rgba(247,240,231,.45)}@media (hover:hover){.rf80 .rf-cp:hover{background:rgba(255,242,228,.08);color:var(--linen)}}
.rf80 .rf-cp .i{width:14px;height:14px}
.rf80 .rf-tl{margin:0;padding:12px 14px;border-radius:16px;background:rgba(255,242,228,.04);box-shadow:inset 0 0 0 1px var(--ln80);list-style:none}
.rf80 .rf-tl li{position:relative;display:grid;grid-template-columns:14px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:25px;font-size:12.5px;color:rgba(247,240,231,.45)}
.rf80 .rf-tl li i{position:relative;width:9px;height:9px;margin-left:2px;border-radius:50%;background:rgba(255,242,228,.15)}
.rf80 .rf-tl li:not(.last) i::after{content:"";position:absolute;left:3.5px;top:11px;width:2px;height:14px;border-radius:1px;background:rgba(255,238,220,.09)}
.rf80 .rf-tl li.on{color:rgba(247,240,231,.82)}
.rf80 .rf-tl li.on i{background:var(--g80);box-shadow:0 0 0 3px rgba(143,214,160,.14)}
.rf80 .rf-tl li em{font-style:normal;color:rgba(247,240,231,.45)}
.rf80 .rf-tl time{font:500 11.5px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:rgba(247,240,231,.55)}
.rf80 .rf-f{display:flex;justify-content:flex-end;gap:8px;margin:16px 0 0;padding:0;border:0}
.rf80 .rf-f .t80-b{height:40px;padding:0 14px;font-size:13px}
.rf80 .rf-f .t80-b.bad{color:#ffc2b7}@media (hover:hover){.rf80 .rf-f .t80-b.bad:hover{background:rgba(240,161,150,.12)}}

/* --- calm / reduced motion --- */
body.calm .tr80 button,body.calm .rf80 button,body.calm .tr80 .t80-b.hold80.holding{transform:none!important}
body.calm .tr80 .t80-banner,body.calm .tr80 .t80-dot{animation:none!important}
@media (prefers-reduced-motion:reduce){.tr80 .t80-banner,.tr80 .t80-dot{animation:none!important}}

/* --- narrower --- */
@media (max-width:860px){
  .tr80 .t80-list .pg-page{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tr80 .t80-top{flex-direction:column;align-items:stretch}
  .tr80 .t80-steps{align-self:flex-start}
}
@media (max-width:640px){
  .tr80 .t80-col{grid-template-columns:minmax(0,1fr)}
  .tr80 .t80-col .tc-sides{justify-content:space-between}
  .tr80 .t80-it h2{font-size:20px}
  .tr80 .t80-desk{padding:12px;border-radius:20px}
  .tr80 .t80-steps{align-self:stretch;justify-content:space-between;padding:5px 8px 5px 5px}
  .tr80 .t80-steps span b{display:none}
  .tr80 .t80-steps span.on b{display:inline}
  .tr80 .t80-steps i{flex:1;width:auto;min-width:6px}
  .tr80 .t80-sides{grid-template-columns:minmax(0,1fr)}
  .tr80 .t80-mid{height:22px;transform:rotate(90deg)}
  .tr80 .t80-act{flex-direction:column;align-items:stretch;gap:10px}
  .tr80 .t80-btns{display:grid;grid-template-columns:1fr 2fr}
  .tr80 .t80-b.go,.tr80 .t80-b.rv,.tr80 .t80-b.hold80{min-width:0}
  .tr80 .t80-list .pg-page{grid-template-columns:minmax(0,1fr)}
  .tr80 .t80-ph .seg{flex:1 1 100%}
  .tr80 .t80-bal{gap:10px;padding:10px 12px}
  .tr80 .t80-bv{min-width:52px}
  .tr80 .rcpt.rc80{grid-template-columns:50px minmax(0,1fr) auto 16px;gap:10px;padding:8px 12px}
  .tr80 .rc80-st{display:none}
  .tr80 .rc-when{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;width:100%}
  .tr80 .rc-when::-webkit-scrollbar{display:none}
  .tr80 .rc-when .chip-tog{flex:none}
  .tr80 .rc80-items{gap:6px}
  .tr80 .rc80-th:nth-child(n+3){display:none}
  .tr80 .rc80-th .a80{width:28px;height:28px}
  #modal .sheet.rf80s{padding:20px 14px 16px}
  .rf80 .rf-cols,.rf80 .rf-grid{grid-template-columns:minmax(0,1fr)}
}

/* ===================== round 81: the island ===================== */
#toasts .toast.isl.isl52.isl81{--tn:#e9b36a;display:grid!important;grid-template-columns:32px minmax(0,1fr);grid-auto-flow:column;grid-auto-columns:auto;align-items:center;column-gap:11px;min-height:44px;padding:6px 16px 6px 6px;border-radius:22px;overflow:visible;contain:none;
  background:linear-gradient(180deg,#2f272c 0%,#241e23 100%);color:rgba(247,240,231,.84);
  box-shadow:0 14px 38px rgba(5,3,10,.46),0 2px 6px rgba(5,3,10,.3),inset 0 0 0 1px rgba(255,238,220,.09),inset 0 1px 0 rgba(255,244,230,.06);
  font-size:13.5px;line-height:1.35;letter-spacing:-.005em;pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none;cursor:var(--cu-arrow,default);
  transition:background-color .18s cubic-bezier(.2,.8,.2,1),box-shadow .18s cubic-bezier(.2,.8,.2,1),scale .2s cubic-bezier(.2,.8,.2,1);will-change:transform,opacity}
#toasts .toast.isl.isl52.isl81.dock{box-shadow:0 8px 24px rgba(5,3,10,.4),0 1px 3px rgba(5,3,10,.3),inset 0 0 0 1px rgba(255,238,220,.09),inset 0 1px 0 rgba(255,244,230,.06)}
#toasts .toast.isl.isl52.isl81.tap{cursor:var(--cu-hand,pointer)}
#toasts .toast.isl.isl52.isl81::after{display:none!important;content:none}
@media (hover:hover){@media (hover:hover){#toasts .toast.isl.isl52.isl81.tap:hover{background:linear-gradient(180deg,#352c32 0%,#29222a 100%)}}}
#toasts .toast.isl.isl52.isl81.press81{scale:.975;transition-duration:.08s}
/* the picture: a soft disc in the news's own colour */
#toasts .isl81 .isl-ic{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--tn) 16%,rgba(255,242,228,.03));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tn) 22%,transparent);color:var(--tn);animation:none!important}
#toasts .isl81 .isl-ic .i{width:16px!important;height:16px!important}
#toasts .toast.isl.isl52.isl81.t-ok{--tn:#8fd6a0}
#toasts .toast.isl.isl52.isl81.t-bad{--tn:#f0a196}
#toasts .toast.isl.isl52.isl81.t-gold{--tn:#f2c46d}
#toasts .toast.isl.isl52.isl81.t-mute{--tn:#cfc6bc}
#toasts .isl81.t-ach .isl-ic{background:none;box-shadow:none}
/* the words */
#toasts .isl81 .isl-tx{min-width:0;animation:none!important;color:rgba(247,240,231,.82);text-wrap:pretty}
#toasts .isl81 .isl-tx b{font-weight:650;color:#fbf6ef}
#toasts .isl81 .isl-tx small{display:block;margin-top:1px;font-size:12px;line-height:1.35;color:rgba(247,240,231,.55)}
/* what's after: how many more are waiting, and a chevron when it leads somewhere */
#toasts .isl81 .isl-n{min-width:24px;height:22px;padding:0 7px;border-radius:999px;display:grid;place-items:center;background:rgba(255,242,228,.08);box-shadow:inset 0 0 0 1px rgba(255,238,220,.06);font-size:11px;font-weight:650;color:rgba(247,240,231,.7);font-variant-numeric:tabular-nums}
#toasts .isl81 .isl-go{display:flex;margin-right:-6px;color:rgba(247,240,231,.38);transition:color .18s,transform .3s cubic-bezier(.2,.8,.2,1)}
#toasts .isl81 .isl-go .i{width:15px;height:15px}
@media (hover:hover){@media (hover:hover){#toasts .isl81.tap:hover .isl-go{color:var(--tn);transform:translateX(2px)}}}
#toasts .isl81.tap{padding-right:14px}
body.calm #toasts .toast.isl.isl52.isl81.press81{scale:1}

/* ===================== round 82: your card at the top ===================== */
#homeCard.x22-strip.h82{--a82:#e9b36a;padding:4px 6px 4px 4px;min-height:48px;border-radius:24px;
  background:linear-gradient(180deg,#2f272c 0%,#251f24 100%)!important;border:0!important;
  box-shadow:0 10px 30px rgba(5,3,10,.34),0 1px 3px rgba(5,3,10,.3),inset 0 0 0 1px rgba(255,238,220,.085),inset 0 1px 0 rgba(255,244,230,.06)!important;
  animation:h82In .42s cubic-bezier(.2,.8,.2,1) both!important}
@keyframes h82In{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
#homeCard.h82 .hm-you{display:grid!important;grid-template-columns:auto auto auto auto auto;grid-template-rows:20px 20px;align-items:center;column-gap:0;row-gap:0;cursor:var(--cu-hand,pointer)}
#homeCard.h82 .hm-you:focus-visible{outline:none}
#homeCard.h82 .hm-you:focus-visible .hm-av{box-shadow:0 0 0 2px var(--a82)}
/* you: blob in its level ring, level on the corner; name over title */
#homeCard.h82 .hm-av{position:relative;grid-column:1!important;grid-row:1/3!important;width:40px;height:40px;margin:0 10px 0 0;border-radius:50%;overflow:visible;display:grid;place-items:center;background:none;transition:transform .32s var(--t77-settle)}
#homeCard.h82 #homeBlob{width:29px!important;height:29px!important;border-radius:50%}
#homeCard.h82 .h82-ring{position:absolute;inset:0;width:40px;height:40px;transform:rotate(-90deg);pointer-events:none}
#homeCard.h82 .h82-ring circle{fill:none;stroke-width:2.2}
#homeCard.h82 .h82-ring .tr{stroke:rgba(255,238,220,.1)}
#homeCard.h82 .h82-ring .fl.z{opacity:0}
#homeCard.h82 .h82-ring .fl{stroke:var(--a82);transition:stroke-dashoffset .9s var(--t77-settle),opacity .3s;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100;transition:stroke-dashoffset .9s var(--t77-settle)}
#homeCard.h82 .h82-lv{position:absolute;right:-5px;bottom:-3px;min-width:17px;height:16px;padding:0 4px;border-radius:999px;display:grid;place-items:center;background:var(--a82);color:#2a1d12;font-size:10px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums;box-shadow:0 0 0 2.5px #29222a}
#homeCard.h82 .hm-id,#homeCard.h82 .hm-nm{display:contents!important}
#homeCard.h82 #homeName{grid-column:2!important;grid-row:1!important;align-self:end;padding:0 16px 1px 0;font-size:14px!important;font-weight:650;line-height:1.2;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}
#homeCard.h82 #homeLv{display:none}
#homeCard.h82 #homeTitle{grid-column:2!important;grid-row:2!important;align-self:start;padding:1px 16px 0 0;font-size:11.5px!important;line-height:1.25;white-space:nowrap;overflow:hidden;max-width:180px;color:rgba(247,240,231,.5)}
#homeCard.h82 #homeTitle .ttl,#homeCard.h82 #homeTitle .ttl-none{font-size:11.5px!important;color:inherit}
#homeCard.h82 #homeTitle .ttl{color:revert-layer}
/* the three parts: chips, rank, pass; each a soft button with a hairline before it */
#homeCard.h82 .h82-seg{position:relative;grid-row:1/3!important;display:grid!important;grid-template-columns:20px auto;grid-template-rows:19px 17px;align-items:center;column-gap:9px;row-gap:0;height:40px;margin:0 0 0 1px;padding:2px 12px!important;border:0!important;border-radius:16px;background:transparent!important;box-shadow:none!important;transition:background-color .18s var(--t77-settle),transform .32s var(--t77-settle);cursor:var(--cu-hand,pointer)}
#homeCard.h82 .h82-seg::before{content:"";position:absolute;left:-1px;top:10px;bottom:10px;width:1px;background:rgba(255,238,220,.09);transition:opacity .18s}
@media (hover:hover){@media (hover:hover){#homeCard.h82 .h82-seg:hover{background:rgba(255,242,228,.055)!important}}@media (hover:hover){#homeCard.h82 .h82-seg:hover::before,#homeCard.h82 .h82-seg:hover+.h82-seg::before{opacity:0}}@media (hover:hover){#homeCard.h82 .hm-you:hover .hm-av{transform:scale(1.03)}}}
#homeCard.h82 .h82-seg:active{transform:scale(.97);background:rgba(255,242,228,.08)!important;transition-duration:.08s}
#homeCard.h82 .hm-you:active .hm-av{transform:scale(.95);transition-duration:.08s}
#homeCard.h82 .hm-you:has(.h82-seg:active) .hm-av{transform:none}
/* chips */
#homeCard.h82 #homeChips52{grid-column:3!important;margin-left:0}
#homeCard.h82 #homeChips52 i{grid-column:1!important;grid-row:1/3!important;width:20px;height:20px;border-radius:50%;background:radial-gradient(circle,var(--cc,#3a3542) 0 47%,transparent 48%),repeating-conic-gradient(rgba(250,244,235,.86) 0 22.5deg,var(--cc,#3a3542) 22.5deg 45deg);box-shadow:0 0 0 1px rgba(0,0,0,.25),0 1px 2px rgba(0,0,0,.35)}
#homeCard.h82 #homeChips52 b{grid-column:2!important;grid-row:1!important;align-self:end;font-size:13.5px;font-weight:650;line-height:1.2;color:#fbf6ef;font-variant-numeric:tabular-nums;white-space:nowrap}
#homeCard.h82 #homeChips52 small{grid-column:2!important;grid-row:2!important;align-self:start;font-size:11px;line-height:1.3;color:rgba(247,240,231,.45);white-space:nowrap}
/* rank */
#homeCard.h82 .h82-rk{grid-column:4!important}
#homeCard.h82 #homeRank{display:contents!important}
#homeCard.h82 #homeRank>svg,#homeCard.h82 #homeRank>img{grid-column:1!important;grid-row:1/3!important;width:20px!important;height:20px!important}
#homeCard.h82 #homeRank>span{grid-column:2!important;grid-row:1!important;align-self:end;display:flex;align-items:baseline;gap:6px;white-space:nowrap;line-height:1.2}
#homeCard.h82 #homeRank b{font-size:13px;font-weight:650}
#homeCard.h82 #homeRank b.unr66t{color:#fbf6ef}
#homeCard.h82 #homeRank small{font-size:11px;color:rgba(247,240,231,.45);font-variant-numeric:tabular-nums}
#homeCard.h82 .h82-seg .hm-prog{grid-column:2!important;grid-row:2!important;align-self:center;width:auto!important;min-width:84px;height:4px;margin:0!important;border-radius:3px;background:rgba(255,238,220,.1);overflow:hidden}
#homeCard.h82 .h82-seg .hm-prog i{display:block;height:100%;min-width:0;border-radius:3px;transition:width .7s var(--t77-settle)}
#homeCard.h82 #homeNext{display:none!important}
/* pass */
#homeCard.h82 .x22-pass{grid-column:5!important}
#homeCard.h82 .h82-pi{grid-column:1!important;grid-row:1/3!important;display:grid;place-items:center;width:20px;height:20px;color:var(--a82)}
#homeCard.h82 .h82-pi .i{width:20px;height:20px}
#homeCard.h82 #homePass22{grid-column:2!important;grid-row:1!important;align-self:end;display:flex;align-items:baseline;gap:6px;margin:0;padding:0!important;border:0!important;white-space:nowrap;line-height:1.2}
#homeCard.h82 #homePass22 b{font-size:13px;font-weight:650;color:var(--a82)}
#homeCard.h82 #homePass22 b::after{content:none!important}
#homeCard.h82 #homePass22 small{display:inline!important;font-size:11px;color:rgba(247,240,231,.45);font-variant-numeric:tabular-nums}
#homeCard.h82 .x22-pp i{background:linear-gradient(90deg,#e9b36a,#f4cf95)!important}
/* short of room: smallest words go first */
#homeCard.h82.t1 #homeChips52 small,#homeCard.h82.t1 #homePass22 .x82{display:none}
#homeCard.h82.t1 #homeChips52{grid-template-rows:36px}
#homeCard.h82.t1 #homeChips52 b{grid-row:1/3!important;align-self:center}
#homeCard.h82.t2 #homeRank small{display:none}
#homeCard.h82.t2 .h82-seg{padding:3px 9px!important;column-gap:7px}
#homeCard.h82.t2 .h82-seg .hm-prog{min-width:60px}
#homeCard.h82.t2 #homeName,#homeCard.h82.t2 #homeTitle{max-width:120px;padding-right:10px}
#homeCard.h82.t3 #homePass22 b{font-size:0}
#homeCard.h82.t3 #homePass22 b::after{content:"Pass"!important;font-size:13px}
#homeCard.h82.t3 #homeTitle{display:none}
#homeCard.h82.t3 #homeName{grid-row:1/3!important;align-self:center;padding-bottom:0}
#homeCard.h82.t3 .h82-seg .hm-prog{min-width:46px}

/* --- phones: one panel with the tools and the chests --- */
body.hdr26 #homeCard.x22-strip.h82{display:block;padding:7px 12px 9px 14px;border-radius:24px;min-height:0;animation:h82In .42s cubic-bezier(.2,.8,.2,1) both!important}
body.hdr26 #homeCard.h82 .hm-you{grid-template-columns:minmax(0,1fr) minmax(0,1fr) var(--ch82,132px)!important;grid-template-rows:38px auto!important;column-gap:12px!important;row-gap:4px!important;width:100%}
body.hdr26 #homeCard.h82 .hm-av{display:none}
body.hdr26 #homeCard.h82 .hm-id{display:flex!important;flex-direction:column;justify-content:center;gap:2px;grid-column:1/-1!important;grid-row:1!important;min-width:0;padding-right:var(--tw82,146px)}
body.hdr26 #homeCard.h82 .hm-nm{display:flex!important;align-items:center;gap:.47em;min-width:0;white-space:nowrap;font-size:15px}
body.hdr26 #homeCard.h82 #homeName{grid-column:auto!important;grid-row:auto!important;max-width:none;padding:0;font-size:1em!important;flex:0 1 auto;min-width:0}
body.hdr26 #homeCard.h82 #homeLv{display:inline-flex;flex:none}
body.hdr26 #homeCard.h82 #homeLv .lv-badge{height:1.2em;padding:0 .4em;gap:.2em;background:rgba(233,179,106,.14);box-shadow:inset 0 0 0 1px rgba(233,179,106,.32)}
body.hdr26 #homeCard.h82 #homeLv .lv-badge b{font-size:.74em}
body.hdr26 #homeCard.h82 #homeLv .lv-badge small{font-size:.54em}
body.hdr26 #homeCard.h82 #homeTitle{grid-column:auto!important;grid-row:auto!important;max-width:none;padding:0;font-size:12px!important}
body.hdr26 #homeCard.h82 #homeChips52{display:inline-flex!important;flex:none;align-items:center;gap:.33em;height:1.47em;margin:0;padding:0 .53em 0 .2em!important;font-size:1em;border-radius:999px;background:rgba(255,242,228,.06)!important;box-shadow:inset 0 0 0 1px rgba(255,238,220,.07)!important}
body.hdr26 #homeCard.h82 #homeChips52::before{display:none}
body.hdr26 #homeCard.h82 #homeChips52 i{width:1em;height:1em}
body.hdr26 #homeCard.h82 #homeChips52 b{font-size:.8em}
body.hdr26 #homeCard.h82 #homeChips52 small{display:none}
body.hdr26 #homeCard.h82 .h82-seg:not(#homeChips52){grid-row:2!important;grid-template-columns:16px minmax(0,1fr);grid-template-rows:17px 10px;column-gap:7px;height:auto;min-width:0;padding:2px 0!important;border-radius:10px}
body.hdr26 #homeCard.h82 .h82-seg:not(#homeChips52)::before{display:none}
body.hdr26 #homeCard.h82 .h82-rk{grid-column:1!important}
body.hdr26 #homeCard.h82 .x22-pass{grid-column:2!important}
body.hdr26 #homeCard.h82 #homeRank>svg,body.hdr26 #homeCard.h82 #homeRank>img,body.hdr26 #homeCard.h82 .h82-pi,body.hdr26 #homeCard.h82 .h82-pi .i{width:16px!important;height:16px!important}
body.hdr26 #homeCard.h82 #homeRank>span,body.hdr26 #homeCard.h82 #homePass22{min-width:0;overflow:hidden;font-size:12px}
body.hdr26 #homeCard.h82 #homeRank b,body.hdr26 #homeCard.h82 #homePass22 b{font-size:1em}
body.hdr26 #homeCard.h82 #homeRank small,body.hdr26 #homeCard.h82 #homePass22 small{font-size:.9em}
body.hdr26 #homeCard.h82 #homePass22 .x82{display:none}
body.hdr26 #homeCard.h82 .h82-seg.p1 small{display:none!important}
body.hdr26 #homeCard.h82 #homeName{flex:none!important}
body.hdr26 #homeCard.h82.el82 #homeName{flex:0 1 auto!important}
body.hdr26 #homeCard.h82 .h82-seg .hm-prog{display:block!important;min-width:0;height:3.5px}
@media (hover:hover){@media (hover:hover){body.hdr26 #homeCard.h82 .h82-seg:hover{background:transparent!important}}}

/* --- calm --- */
body.calm #homeCard.x22-strip.h82{animation:none!important}
body.calm #homeCard.h82 .h82-seg,body.calm #homeCard.h82 .hm-av{transform:none!important}
@media (prefers-reduced-motion:reduce){#homeCard.x22-strip.h82{animation:none!important}#homeCard.h82 .h82-ring .fl,#homeCard.h82 .h82-seg .hm-prog i{transition:none}}

/* ===================== round 83: the dock ===================== */
#dock.d83{padding:6px!important;border-radius:24px!important;background:linear-gradient(180deg,#2f272c 0%,#251f24 100%)!important;border:0!important;
  box-shadow:0 14px 40px rgba(5,3,10,.42),0 2px 6px rgba(5,3,10,.3),inset 0 0 0 1px rgba(255,238,220,.085),inset 0 1px 0 rgba(255,244,230,.06)!important}
/* moving between moods: a short fade; nothing blurs or drifts */
#dock.d83>div:not(.hidden):not(.dock-ghost20):not(#dockTimer):not(#turnClock):not(#holdTip):not(.dk64-in){animation:dk83In .22s cubic-bezier(.2,.8,.2,1) both!important}
@keyframes dk83In{from{opacity:0}to{opacity:1}}
#dock.d83>div.dock-ghost20{transition:opacity .14s ease-out!important;filter:none!important;transform:none!important}
#dock.d83 #waiting.dk64-in{animation:dk83In .24s cubic-bezier(.2,.8,.2,1) .18s both!important}
/* --- your turn: three buttons, three weights --- */
#dock.d83 #actions{gap:6px}
#dock.d83 .act{position:relative;height:52px;padding:0 10px;border-radius:18px;font-size:15.5px;font-weight:600;letter-spacing:-.01em;
  display:flex;align-items:center;justify-content:center;gap:6px;overflow:hidden;
  transition:transform .32s var(--t77-settle),background-color .18s var(--t77-settle),box-shadow .18s var(--t77-settle),color .18s,filter .18s!important}
#dock.d83 .act.fold{background:rgba(255,242,228,.05);box-shadow:inset 0 0 0 1px rgba(255,238,220,.07);color:#f1b3a9}
#dock.d83 .act.call{background:rgba(143,214,160,.13);box-shadow:inset 0 0 0 1px rgba(143,214,160,.24);color:#c3ebcf}
#dock.d83 .act.raise{background:rgba(233,179,106,.15);box-shadow:inset 0 0 0 1px rgba(233,179,106,.3);color:#f4cc8c}
#dock.d83 .act.allin83{background:rgba(240,150,120,.16);box-shadow:inset 0 0 0 1px rgba(240,150,120,.36);color:#ffc7ae}
@media (hover:hover){@media (hover:hover){#dock.d83 .act.fold:hover:not(:disabled){background:rgba(240,161,150,.09);box-shadow:inset 0 0 0 1px rgba(240,161,150,.2)}}@media (hover:hover){#dock.d83 .act.call:hover:not(:disabled){background:rgba(143,214,160,.19)}}@media (hover:hover){#dock.d83 .act.raise:hover:not(:disabled){background:rgba(233,179,106,.22)}}@media (hover:hover){#dock.d83 .act.allin83:hover:not(:disabled){background:rgba(240,150,120,.23)}}
}
#dock.d83 .act:active:not(:disabled){transform:scale(.97);filter:brightness(1.1);transition-duration:.08s!important}
#dock.d83 .act:disabled{opacity:.32}
#dock.d83 .act .v83{font-weight:550;opacity:.88}
#dock.d83 .act .n83{font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:0}
/* the key for each button, faint{
  #dock.d83 .act[data-k83]::after,#dock.d83 #szGo[data-k83]::after{content:attr(data-k83);display:inline-grid;place-items:center;min-width:17px;height:17px;margin-left:4px;padding:0 4px;border-radius:5px;font-size:10px;font-weight:700;line-height:1;opacity:.36;box-shadow:inset 0 0 0 1px currentColor;transition:opacity .18s}
  #dock.d83 .act:hover::after,#dock.d83 #szGo:hover::after{opacity:.7}
}@media (hover:hover){on computers */
@media (hover:hover) and (pointer:fine) and (min-width:700px){
  #dock.d83 .act[data-k83]::after,#dock.d83 #szGo[data-k83]::after{content:attr(data-k83);display:inline-grid;place-items:center;min-width:17px;height:17px;margin-left:4px;padding:0 4px;border-radius:5px;font-size:10px;font-weight:700;line-height:1;opacity:.36;box-shadow:inset 0 0 0 1px currentColor;transition:opacity .18s}
  #dock.d83 .act:hover::after,#dock.d83 #szGo:hover::after{opacity:.7}
}}
#dock.d83 .act .hold-bar{border-radius:inherit}
/* --- waiting --- */
#dock.d83 #waiting{min-height:52px}
#dock.d83 #waitText{font-size:14px;color:rgba(247,240,231,.7);letter-spacing:-.005em}
#dock.d83 .pf35{height:30px;border-radius:999px;background:rgba(255,242,228,.05);box-shadow:inset 0 0 0 1px rgba(255,238,220,.07);color:rgba(247,240,231,.6);transition:background-color .18s,color .18s,transform .32s var(--t77-settle),box-shadow .18s}
#dock.d83 .pf35:active{transform:translateY(-50%) scale(.95)}
#dock.d83 #bNext{height:40px;padding:0 18px;border-radius:14px;background:rgba(233,179,106,.15);box-shadow:inset 0 0 0 1px rgba(233,179,106,.3);color:#f4cc8c;font-weight:650;transition:background-color .18s,transform .32s var(--t77-settle)}
#dock.d83 #bNext:active{transform:scale(.97);transition-duration:.08s}
/* --- the sizer --- */
#dock.d83 .sz-back,#dock.d83 .sz-step{background:rgba(255,242,228,.05);box-shadow:inset 0 0 0 1px rgba(255,238,220,.07);color:rgba(247,240,231,.7);transition:background-color .18s,color .18s,transform .32s var(--t77-settle)!important}
#dock.d83 .sz-back{height:52px;border-radius:18px}
#dock.d83 .sz-step{width:38px;height:38px;border-radius:50%}
@media (hover:hover){@media (hover:hover){#dock.d83 .sz-back:hover,#dock.d83 .sz-step:hover{background:rgba(255,242,228,.09);color:var(--linen)}}}
#dock.d83 .sz-back:active,#dock.d83 .sz-step:active{transform:scale(.92);transition-duration:.08s!important}
#dock.d83 #szVerb{font-size:11.5px;font-weight:600;color:rgba(247,240,231,.5);letter-spacing:.01em}
#dock.d83 #szValue{font-size:24px;font-weight:700;letter-spacing:-.02em}
#dock.d83 .sz-go{height:52px;border-radius:18px;background:#e9b36a;color:#2a1d12;font-weight:700;box-shadow:0 6px 18px rgba(233,179,106,.22);display:flex;align-items:center;justify-content:center;gap:6px;transition:background-color .18s,transform .32s var(--t77-settle),box-shadow .18s!important}
@media (hover:hover){@media (hover:hover){#dock.d83 .sz-go:hover{background:#f0c27e}}}
#dock.d83 .sz-go:active{transform:scale(.97);transition-duration:.08s!important}
#dock.d83 .sz-go .v83{font-weight:650}
#dock.d83 .sz-go.allin83{background:#f0a37f;box-shadow:0 6px 18px rgba(240,163,127,.24)}
#dock.d83 .sz-track{outline:none!important}
#dock.d83 .sz-track:focus-visible .sz-thumb{box-shadow:0 2px 8px rgba(0,0,0,.45),0 0 0 4px rgba(233,179,106,.35)}
#dock.d83 .sz-rail::before{height:4px;background:rgba(255,242,228,.1)}
#dock.d83 .sz-fill{background:linear-gradient(90deg,#e9b36a,#f4cf95)}
#dock.d83 .sz-notch{width:5px;height:5px;margin:-2.5px 0 0 -2.5px;background:rgba(255,242,228,.32)}
#dock.d83 .sz-notch.on{background:rgba(42,29,18,.5)}
#dock.d83 .sz-thumb{width:24px;height:24px;margin:-12px 0 0 -12px;background:#fbf6ee;box-shadow:0 2px 8px rgba(0,0,0,.45),inset 0 -1px 0 rgba(0,0,0,.08)}
#dock.d83 .sz-thumb::after{background:rgba(233,179,106,.18)}
#dock.d83 .sz-lab{font-size:11.5px;font-weight:550;color:rgba(247,240,231,.45);transition:color .18s,background-color .18s}
#dock.d83 .sz-lab.on{color:#f4cc8c;background:rgba(233,179,106,.13)}
/* --- the turn clock: a clean line along the bottom edge --- */
#dock.d83 #dockTimer{left:22px;right:22px;bottom:0;height:2px;box-shadow:0 0 6px rgba(242,160,80,.5)}
#dock.d83 #dockTimer.low{box-shadow:0 0 6px rgba(238,122,74,.6)}
/* --- calm --- */
body.calm #dock.d83>div,body.calm #dock.d83 #waiting.dk64-in{animation:none!important}
body.calm #dock.d83 .act,body.calm #dock.d83 .sz-go,body.calm #dock.d83 .sz-back,body.calm #dock.d83 .sz-step{transform:none!important}
@media (prefers-reduced-motion:reduce){#dock.d83>div,#dock.d83 #waiting.dk64-in{animation:none!important}}
/* --- phones --- */
@media (max-width:520px){
  #dock.d83{border-radius:22px!important;padding:5px!important}
  #dock.d83 .act{height:50px;border-radius:17px;font-size:15px}
  #dock.d83 .sz-back,#dock.d83 .sz-go{height:50px;border-radius:17px}
  #dock.d83 #szValue{font-size:22px}
}

/* ===================== round 84: keys you can choose ===================== */
/* --- Settings → Keyboard --- */
.kb84{--kb-a:#e9b36a}
.kb84 .kb84-top{margin-bottom:14px}
.kb84 .kb84-g{margin-top:14px}
.kb84 .kb84-gt{margin:0 4px 7px;font-size:11.5px;font-weight:650;letter-spacing:.02em;color:rgba(247,240,231,.5)}
.kb84 .kb84-list{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 18px;padding:4px 14px!important}
.kb84 .kb84-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 28px auto;align-items:center;gap:6px;min-height:46px;padding:0;border-bottom:1px solid rgba(255,238,220,.055)}
.kb84 .kb84-list>.kb84-row:nth-last-child(-n+2){border-bottom:0}
.kb84 .kb84-l{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap}
.kb84 .kb84-l b{font-size:13.5px;font-weight:550;color:rgba(247,240,231,.9);white-space:nowrap}
.kb84 .kb84-l em{font-style:normal;height:17px;padding:0 6px;border-radius:999px;display:inline-grid;place-items:center;font-size:10px;font-weight:650;letter-spacing:.02em;color:rgba(247,240,231,.55);background:rgba(255,242,228,.06);box-shadow:inset 0 0 0 1px rgba(255,238,220,.07)}
.kb84 .kb84-note{flex-basis:100%;margin-top:-2px;font-size:11px;font-weight:600;color:var(--kb-a);animation:kbn84 .26s cubic-bezier(.2,.8,.2,1) both;transition:opacity .4s}
.kb84 .kb84-note.out{opacity:0}
@keyframes kbn84{from{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:none}}
/* the key itself: a small, real-looking keycap */
.kb84 .kb84-k{min-width:46px;height:32px;padding:0 4px;border-radius:9px;display:grid;place-items:center;background:none;transition:transform .32s var(--t77-settle)}
.kb84 .kb84-k kbd{min-width:36px;height:28px;padding:0 9px;border-radius:8px;display:grid;place-items:center;font:650 12.5px/1 inherit;font-variant-numeric:tabular-nums;color:#f6efe6;
  background:linear-gradient(180deg,rgba(255,244,232,.11),rgba(255,244,232,.05));box-shadow:inset 0 0 0 1px rgba(255,238,220,.12),inset 0 -2px 0 rgba(0,0,0,.28),0 1px 2px rgba(0,0,0,.25);transition:background-color .18s,box-shadow .18s,color .18s}
@media (hover:hover){@media (hover:hover){.kb84 button.kb84-k:hover kbd{background:linear-gradient(180deg,rgba(255,244,232,.15),rgba(255,244,232,.07))}}}
.kb84 button.kb84-k:active{transform:scale(.94);transition-duration:.08s}
.kb84 button.kb84-k:active kbd{box-shadow:inset 0 0 0 1px rgba(255,238,220,.12),inset 0 -1px 0 rgba(0,0,0,.28)}
.kb84 .kb84-row.ch .kb84-k kbd{color:var(--kb-a);box-shadow:inset 0 0 0 1px rgba(233,179,106,.4),inset 0 -2px 0 rgba(0,0,0,.28),0 1px 2px rgba(0,0,0,.25)}
.kb84 .kb84-k.off kbd{opacity:.5;box-shadow:inset 0 0 0 1px rgba(255,238,220,.08)}
.kb84 .kb84-row.fix .kb84-l b{color:rgba(247,240,231,.55)}
/* waiting for a key: a calm amber outline, nothing blinking */
.kb84 .kb84-wait{height:28px;padding:0 11px;border-radius:8px;display:grid;place-items:center;font-size:11.5px;font-weight:650;color:var(--kb-a);background:rgba(233,179,106,.1);box-shadow:inset 0 0 0 1.5px rgba(233,179,106,.6);white-space:nowrap;animation:kbn84 .2s cubic-bezier(.2,.8,.2,1) both}
.kb84 .kb84-k:focus-visible{outline:none}
.kb84 .kb84-k:focus-visible kbd{box-shadow:inset 0 0 0 1px rgba(255,238,220,.12),0 0 0 2px var(--kb-a)}
/* put one back: only there when it's changed */
.kb84 .kb84-x{position:relative;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;overflow:hidden;color:rgba(247,240,231,.45);background:none;opacity:0;visibility:hidden;transform:scale(.8);transition:opacity .2s,transform .3s var(--t77-settle),visibility 0s linear .2s,color .18s,background-color .18s}
.kb84 .kb84-row.ch .kb84-x{opacity:1;visibility:visible;transform:none;transition:opacity .2s,transform .3s var(--t77-settle),visibility 0s,color .18s,background-color .18s}
@media (hover:hover){@media (hover:hover){.kb84 .kb84-row.ch .kb84-x:hover{color:var(--linen);background:rgba(255,242,228,.07)}}}
.kb84 .kb84-x .i{position:relative;z-index:1;width:15px;height:15px}
.kb84 .kb84-x .hold-bar2{border-radius:50%}
.kb84 .kb84-x.holding2{color:var(--kb-a)}
/* reset all: a longer hold */
.kb84 .kb84-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px 4px 0}
.kb84 .kb84-foot small{font-size:12px;line-height:1.45;color:rgba(247,240,231,.45)}
.kb84 .kb84-all{position:relative;flex:none;display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 14px;border-radius:12px;overflow:hidden;font-size:12.5px;font-weight:650;color:rgba(247,240,231,.82);background:rgba(255,242,228,.06);box-shadow:inset 0 0 0 1px rgba(255,238,220,.08);transition:background-color .18s,color .18s,transform .32s var(--t77-settle),opacity .2s}
.kb84 .kb84-all .i{width:15px;height:15px}
.kb84 .kb84-all>*{position:relative;z-index:1}
@media (hover:hover){@media (hover:hover){.kb84 .kb84-all:hover:not(:disabled){background:rgba(255,242,228,.1);color:var(--linen)}}}
.kb84 .kb84-all:active:not(:disabled){transform:scale(.97)}
.kb84 .kb84-all:disabled{opacity:.4}
.kb84 .kb84-all .hold-bar2{background:rgba(233,179,106,.22)}
@media (max-width:640px){
  .kb84 .kb84-list{grid-template-columns:minmax(0,1fr);padding:2px 12px!important}
  .kb84 .kb84-list>.kb84-row:nth-last-child(2){border-bottom:1px solid rgba(255,238,220,.055)}
  .kb84 .kb84-list>.kb84-row:last-child{border-bottom:0}
  .kb84 .kb84-foot{flex-direction:column;align-items:stretch}
  .kb84 .kb84-all{justify-content:center;height:42px}
}
body.calm .kb84 *{animation:none!important}@media (hover:hover){/* --- the keys at the table --- */
@media (hover:hover) and (pointer:fine) and (min-width:700px){
  #pf35.kbm84[data-k83]::after,#bNext.kbm84[data-k83]::after,#revealBtn.kbm84[data-k83]::after{content:attr(data-k83);display:inline-grid;place-items:center;min-width:17px;height:17px;margin-left:6px;padding:0 4px;border-radius:5px;font-size:10px;font-weight:700;line-height:1;opacity:.4;box-shadow:inset 0 0 0 1px currentColor;flex:none}
  #pf35.kbm84{padding-right:9px}
  /* small badges for round buttons: the quick chat button and the chat button */
  .kbb84[data-k84]{position:relative;overflow:visible}
  .kbb84[data-k84]::before{content:attr(data-k84);position:absolute;right:-4px;bottom:-4px;min-width:16px;height:16px;padding:0 4px;border-radius:5px;display:grid;place-items:center;font-size:9.5px;font-weight:700;line-height:1;color:rgba(247,240,231,.7);background:#2c2429;box-shadow:inset 0 0 0 1px rgba(255,238,220,.16);pointer-events:none;z-index:2}
  #szLabels .sz-lab[data-k84]::after{content:attr(data-k84);display:inline-grid;place-items:center;min-width:14px;height:14px;margin-left:5px;padding:0 3px;border-radius:4px;font-size:9px;font-weight:700;line-height:1;vertical-align:1px;opacity:.6;box-shadow:inset 0 0 0 1px currentColor}
}}
body.nokeys84 #dock.d83 .act[data-k83]::after,body.nokeys84 #dock.d83 #szGo[data-k83]::after,body.nokeys84 .kbm84[data-k83]::after,body.nokeys84 .kbb84[data-k84]::before,body.nokeys84 #szLabels .sz-lab[data-k84]::after{display:none!important}

/* ===================== round 85: choose which keys need holding ===================== */
.kb84 .kb84-row.kb85{grid-template-columns:minmax(0,1fr) auto 28px auto}
.kb84 .kb85-h{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 9px 0 5px;border-radius:999px;font-size:11px;font-weight:650;letter-spacing:.01em;color:rgba(247,240,231,.42);background:transparent;box-shadow:inset 0 0 0 1px rgba(255,238,220,.09);transition:background-color .18s var(--t77-settle),color .18s,box-shadow .18s,transform .32s var(--t77-settle)}
.kb84 .kb85-h.none{width:64px;padding:0;box-shadow:none}
.kb84 .kb85-h i{display:grid;place-items:center;width:14px;height:14px;border-radius:50%;box-shadow:inset 0 0 0 1.5px rgba(247,240,231,.3);color:#2a1d12;transition:background-color .2s var(--t77-settle),box-shadow .2s}
.kb84 .kb85-h i svg{width:9px;height:9px;opacity:0;transform:scale(.5);transition:opacity .16s,transform .3s var(--t77-settle)}
@media (hover:hover){@media (hover:hover){.kb84 .kb85-h:hover{color:rgba(247,240,231,.72);box-shadow:inset 0 0 0 1px rgba(255,238,220,.16)}}}
.kb84 .kb85-h:active{transform:scale(.94);transition-duration:.08s}
.kb84 .kb85-h.on{color:#f4cc8c;background:rgba(233,179,106,.1);box-shadow:inset 0 0 0 1px rgba(233,179,106,.32)}
.kb84 .kb85-h.on i{background:#e9b36a;box-shadow:none}
.kb84 .kb85-h.on i svg{opacity:1;transform:none}
.kb84 .kb85-h:focus-visible{outline:2px solid #e9b36a;outline-offset:2px}
body.calm .kb84 .kb85-h,body.calm .kb84 .kb85-h i svg{transform:none!important}

/* --- at the table: a held button fills in its own colour --- */
#dock.d83 .act .hold-bar,#dock.d83 .sz-go .hold-bar{z-index:0}
#dock.d83 .act>*:not(.hold-bar),#dock.d83 .sz-go>*:not(.hold-bar){position:relative;z-index:1}
#dock.d83 .act.fold .hold-bar{background:linear-gradient(90deg,rgba(240,161,150,.16),rgba(240,161,150,.42))}
#dock.d83 .act.call .hold-bar{background:linear-gradient(90deg,rgba(143,214,160,.12),rgba(143,214,160,.34))}
#dock.d83 .act.raise .hold-bar{background:linear-gradient(90deg,rgba(233,179,106,.12),rgba(233,179,106,.36))}
#dock.d83 .act.allin83 .hold-bar{background:linear-gradient(90deg,rgba(240,150,120,.14),rgba(240,150,120,.4))}
#dock.d83 .sz-go .hold-bar{background:linear-gradient(90deg,rgba(255,248,235,.0),rgba(255,248,235,.42))}
/* the colour deepens for exactly as long as the hold takes, and eases back quickly if you let go */
#dock.d83 .act.holding,#dock.d83 .sz-go.holding{transform:scale(.975)!important;transition:transform .2s var(--t77-settle),background-color var(--hold85,.7s) linear,box-shadow var(--hold85,.7s) linear,color var(--hold85,.7s) linear!important}
#dock.d83 .act.fold.holding{background:rgba(240,161,150,.12);box-shadow:inset 0 0 0 1px rgba(240,161,150,.4);color:#ffc9c0}
#dock.d83 .act.call.holding{background:rgba(143,214,160,.22);box-shadow:inset 0 0 0 1px rgba(143,214,160,.5);color:#dcf6e3}
#dock.d83 .act.raise.holding{background:rgba(233,179,106,.25);box-shadow:inset 0 0 0 1px rgba(233,179,106,.55);color:#ffe0ad}
#dock.d83 .act.allin83.holding{background:rgba(240,150,120,.26);box-shadow:inset 0 0 0 1px rgba(240,150,120,.6);color:#ffdccb}
#dock.d83 .sz-go.holding{background:#f3c482;box-shadow:0 6px 22px rgba(233,179,106,.36)}
/* the other buttons that can be held (Deal next hand, Show your hand, quick chats, chat, and the top bar) */
.h85{position:relative}
.h85 .hold-bar2{background:linear-gradient(90deg,rgba(233,179,106,.1),rgba(233,179,106,.34))}
.h85.holding2{transition:transform .2s var(--t77-settle),box-shadow .7s linear,color .7s linear!important;box-shadow:inset 0 0 0 1px rgba(233,179,106,.5)!important;color:#f4cc8c!important}
.h85>*:not(.hold-bar2){position:relative;z-index:1}
body.calm #dock.d83 .act.holding,body.calm #dock.d83 .sz-go.holding,body.calm .h85.holding2{transform:none!important}
/* a key shows amber only when the key itself has changed (a changed Hold shows in its tick) */
.kb84 .kb84-row.kb85.ch:not(.kch) .kb84-k kbd{color:#f6efe6;box-shadow:inset 0 0 0 1px rgba(255,238,220,.12),inset 0 -2px 0 rgba(0,0,0,.28),0 1px 2px rgba(0,0,0,.25)}

/* ===================== round 86: the Reveal pill clear of the bar ===================== */
#revealBtn{transform:translateX(calc(-50% + var(--rvx86,0px)))!important}
#revealBtn.rv86-up{bottom:auto;top:-46px}
#revealBtn.fold31.rv86-up{top:-42px}

/* ===================== round 87: the table, refined ===================== */
/* while a hand's result is out, the bar says who won; the line above it steps aside */
body.res87 #log{opacity:0!important;transition:opacity .22s ease!important}
/* once your cards are down on the felt for the showdown, the plate's note names your hand; the label under your hand goes */
#hand:has(.pcard.tabled) #handName{opacity:0!important;transition:opacity .2s ease}

/* ===================== round 88: what came out, one card ===================== */
/* what was inside, the chips that came with it and Close: one solid card, not three floating pieces */
body .th .th-info{left:50%;right:auto;bottom:3vh;bottom:3dvh;width:min(520px,calc(100vw - 32px));padding:0;gap:0;box-sizing:border-box;transform:translate(-50%,12px);
  border-radius:22px;background:linear-gradient(180deg,#2c2329,#1e181d);box-shadow:inset 0 0 0 1px rgba(255,238,220,.08),inset 0 1px 0 rgba(255,246,236,.06),0 24px 60px -24px rgba(0,0,0,.85),0 2px 8px rgba(0,0,0,.3);
  transition:opacity .42s cubic-bezier(.2,.8,.2,1),transform .52s cubic-bezier(.2,.8,.2,1)}
body .th .th-info.on{transform:translate(-50%,0)}
body .th .th-info::before{content:"";position:absolute;left:24%;right:24%;top:0;height:1px;background:linear-gradient(90deg,transparent,var(--tc,#e2c27a),transparent);opacity:.55}
body .th .th-info>*{width:100%;box-sizing:border-box}
body .th .res{max-width:none!important;padding:18px 22px 6px!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
body .th .res::before{display:none}
body .th .res .k{font-size:10px!important;letter-spacing:.24em!important}
#th_chest .res .hd{margin:5px 0 8px!important;font-size:12.5px!important;color:rgba(236,228,218,.55)!important}
#th_chest .rows{gap:0!important}
/* the three: quiet rows divided by hairlines, the rarity in its own colour at the end */
#th_chest .rw{position:relative;grid-template-columns:28px minmax(0,1fr) auto!important;gap:12px!important;padding:10px 2px!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;text-align:left}
#th_chest .rw+.rw{border-top:1px solid rgba(255,238,220,.06)!important}
#th_chest .rw .ic{width:28px!important;height:28px!important;border-radius:50%!important;background:color-mix(in srgb,var(--pc) 13%,transparent)!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--pc) 28%,transparent)}
#th_chest .rw .ic svg,#th_chest .rw .ic .i{width:14px;height:14px}
#th_chest .rw .nm2{font-size:16.5px!important;line-height:1.2!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#th_chest .rw .sm{margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#th_chest .rw .rk{font-size:9.5px!important}
#th_chest .res{width:100%!important}
#th_chest .res .lf70{margin:4px 0 2px;font-size:11.5px}
/* the chips: a line of the card, not a second card */
#th_chest .chips52{margin:0!important;padding:12px 22px!important;width:100%!important;max-width:none!important;border-radius:0!important;background:none!important;box-shadow:none!important;border-top:1px solid rgba(255,238,220,.06);justify-content:center;gap:12px}
#th_chest .chips52 .c52-pile{width:108px!important;height:66px!important;margin:-6px 0 -8px}
#th_chest .chips52 .c52-n{font-size:22px!important;text-shadow:none!important}
#th_chest .chips52.free{padding:12px 22px!important}
/* Close: a proper button at the foot of the card */
body .th .th-btns{padding:4px 22px 18px;gap:8px}
body .th .th-btns .btn{flex:1;height:42px;padding:0 18px;border-radius:13px;font-size:14px;font-weight:650}
body .th .th-btns .btn.ghost{background:rgba(255,242,228,.07);color:#f4ece2;box-shadow:inset 0 0 0 1px rgba(255,238,220,.08);transition:background-color .18s,transform .32s cubic-bezier(.2,.8,.2,1)}
@media (hover:hover){@media (hover:hover){body .th .th-btns .btn.ghost:hover{background:rgba(255,242,228,.11)}}}
body .th .th-btns .btn:active{transform:scale(.97);transition-duration:.08s}
body.th-turn body .th .th-info.on{bottom:1.4vh;bottom:1.4dvh}
@media (max-width:560px){body .th .res{padding:14px 16px 4px!important}body .th .th-btns{padding:4px 16px 14px}#th_chest .chips52{padding:10px 16px!important}}
/* a shorter screen: the card tightens so the three above keep their size */
@media (max-height:800px) and (min-width:561px){
  body .th .res{padding:13px 22px 4px!important}
  #th_chest .res .hd{margin:3px 0 4px!important}
  #th_chest .rw{padding:6px 2px!important}
  #th_chest .rw .nm2{font-size:15px!important}
  #th_chest .chips52{padding:8px 22px!important}
  #th_chest .chips52 .c52-pile{width:90px!important;height:55px!important}
  body .th .th-btns{padding:2px 22px 14px}
  body .th .th-btns .btn{height:38px}
}
/* a single opener's card: the name has room to breathe; Equip sits beside Close */
body .th:not(#th_chest) .th-info{bottom:2vh;bottom:2dvh}
body .th:not(#th_chest) .res{padding:13px 24px 2px!important}
body .th:not(#th_chest) .th-btns{padding:8px 18px 14px}
body .th:not(#th_chest) .th-btns .btn{height:38px}
body .th .th-btns .btn.eq{background:rgba(255,242,228,.07)!important;color:#f4ece2!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tc,#e2c27a) 55%,transparent)!important}
body .th .th-btns .btn.eq[aria-pressed=true]{background:var(--tc,#e2c27a)!important;color:#1d1418!important;box-shadow:none!important}
body .th .th-btns .btn:not(.ghost):not(.eq){box-shadow:none}

/* ===================== round 89: breaks, leaving and quitting ===================== */
/* ---- the vote and the break: one card, one place, one width ---- */
#vote.v2.v89,#brk.v2.v89 .brk-card{position:relative;overflow:hidden;width:min(320px,calc(100vw - 32px));box-sizing:border-box;padding:13px 14px 14px;border-radius:18px;
  background:linear-gradient(180deg,#2f272c,#241e23);box-shadow:inset 0 0 0 1px rgba(255,238,220,.08),inset 0 1px 0 rgba(255,246,236,.05),0 14px 36px -12px rgba(0,0,0,.6),0 2px 6px rgba(0,0,0,.25)}
#brk.v2.v89{left:16px;top:calc(var(--top) + 56px);transform:none}
body.chat-open:not(.chat-min) #brk.v2.v89{left:calc(var(--chat-w) + 32px)}
@media (max-width:760px){body.chat-open:not(.chat-min) #brk.v2.v89{left:16px}}
#vote.v89 .vt2-head,#brk.v89 .bk2-top,#brk.v89 .bk3{min-height:34px}
#vote.v89 .vt2-ico,#brk.v89 .vt2-ico{width:32px;height:32px;border-radius:10px;transition:background-color .3s,color .3s}
#vote.v89 .vt2-ico.ok{background:rgba(127,209,139,.14);color:#9fdcaa}
#vote.v89 .vt2-ico.nope{background:rgba(255,242,228,.07);color:rgba(247,240,231,.6)}
#vote.v89 .vt2-t b{font-size:13.5px}
#vote.v89 .vt2-t small{font-size:11.5px;color:rgba(247,240,231,.5);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* the running count */
.vt89-n{flex:none;align-self:flex-start;margin-top:1px;font-size:12px;font-weight:600;color:rgba(247,240,231,.42);font-variant-numeric:tabular-nums;letter-spacing:.01em}
.vt89-n b{font-size:15px;font-weight:700;color:#f4ece2;margin-right:1px}
/* everyone, in one even row: dim until they've said, a tick or a cross once they have */
#vote.v89 .vt89-row,#brk.v89 .bk2-blobs{display:grid;grid-template-columns:repeat(var(--n,6),minmax(0,1fr));gap:6px;margin:12px 0 0;justify-items:center}
#vote.v89 .vt2-b{width:100%;max-width:40px;height:auto;aspect-ratio:1;border-radius:12px;background:rgba(255,242,228,.045);box-shadow:none;opacity:.5;filter:saturate(.55);transition:opacity .35s cubic-bezier(.2,.8,.2,1),filter .35s,background-color .35s}
#vote.v89 .vt2-b.yes{opacity:1;filter:none;background:rgba(127,209,139,.09)}
#vote.v89 .vt2-b.no{opacity:.34;filter:saturate(.3)}
.vt89-m{position:absolute;right:-3px;bottom:-3px;width:15px;height:15px;border-radius:50%;display:grid;place-items:center;box-shadow:0 0 0 2px #2a2328;animation:vt89m .3s cubic-bezier(.2,.8,.2,1) both}
.vt89-m:empty{display:none}
.vt89-m svg{width:9px;height:9px}
#vote.v89 .vt2-b.yes .vt89-m{background:#7fd18b;color:#14281a}
#vote.v89 .vt2-b.no .vt89-m{background:#5a4f55;color:#f4ece2}
@keyframes vt89m{from{opacity:0;transform:scale(.5)}to{opacity:1;transform:none}}
#vote.v89 .vt2-acts{gap:8px;margin-top:12px}
#vote.v89 .vt2-acts button{height:34px;border-radius:11px;font-size:13px;font-weight:650;background:rgba(255,242,228,.06);color:#f4ece2;box-shadow:inset 0 0 0 1px rgba(255,238,220,.07);transition:background-color .18s,transform .3s cubic-bezier(.2,.8,.2,1)}
#vote.v89 .vt2-acts .yes{background:rgba(242,187,114,.17);color:#f2c88a;box-shadow:inset 0 0 0 1px rgba(242,187,114,.22)}
@media (hover:hover){@media (hover:hover){#vote.v89 .vt2-acts button:hover{background:rgba(255,242,228,.1)}}@media (hover:hover){#vote.v89 .vt2-acts .yes:hover{background:rgba(242,187,114,.24)}}}
#vote.v89 .vt2-acts button:active{transform:scale(.97);transition-duration:.08s}
/* the time left: a hairline along the card's bottom edge */
#vote.v89 .vt2-bar{position:absolute;left:0;right:0;bottom:0;height:2px;margin:0;border-radius:0;background:rgba(255,242,228,.05)}
#vote.v89 .vt2-bar i{background:linear-gradient(90deg,rgba(242,187,114,.5),#f2bb72)}
#vote.v89 .vt2-res{display:none}
/* the break */
#brk.v89 .bk2-b{width:100%;min-width:0}
#brk.v89 .bk2-b canvas{width:100%;max-width:44px;height:auto;aspect-ratio:44/38}
#brk.v89 .bk2-b small{font-size:10.5px}
#brk.v89 .bk2-clock{font-size:19px;letter-spacing:-.01em}
#brk.v89 .bk2-ready{height:40px;margin-top:12px;border-radius:12px;box-shadow:inset 0 0 0 1px rgba(242,187,114,.2);transition:background-color .3s,color .3s,box-shadow .3s,transform .3s cubic-bezier(.2,.8,.2,1)}
#brk.v89 .bk2-ready:active:not(:disabled){transform:scale(.98);transition-duration:.08s}
#brk.v89 .bk2-ready.done{box-shadow:inset 0 0 0 1px rgba(127,209,139,.18)}
#brk.v89 .bk3-n{width:34px;height:34px;font-size:17px;animation:bk89n .5s cubic-bezier(.2,.8,.2,1) both}
@keyframes bk89n{from{opacity:0;transform:scale(.7)}to{opacity:1;transform:none}}
/* a hold's tip beside the buttons it belongs to */
.hold-tip2.side89{transform:none}

/* ---- goodnight ---- */
#quit{z-index:300}
body.quit89 #toasts{opacity:0!important;pointer-events:none!important;transition:opacity .3s}
#quit .q89{display:flex;flex-direction:column;align-items:center;text-align:center;max-width:420px}
#quit .q89>*{animation:q89In .7s cubic-bezier(.2,.8,.2,1) both}
#quit .q89>canvas{width:180px;height:150px;animation-delay:.1s}
#quit .q89-k{margin-top:6px;font-size:11px;font-weight:650;letter-spacing:.24em;text-transform:uppercase;color:rgba(247,240,231,.42);animation-delay:.28s}
#quit .q89 h2{margin:6px 0 0;font-family:"Cormorant Garamond",Cormorant,Garamond,Georgia,serif;font-size:46px;font-weight:600;letter-spacing:.005em;line-height:1.05;color:#f6efe6;animation-delay:.36s}
#quit .q89-p{max-width:340px;margin:10px 0 0;font-size:14px;line-height:1.55;color:rgba(247,240,231,.58);animation-delay:.46s}
#quit .q89-s{margin:14px 0 0;padding:6px 13px;border-radius:999px;font-size:12.5px;font-weight:600;color:rgba(247,240,231,.72);font-variant-numeric:tabular-nums;background:rgba(255,242,228,.05);box-shadow:inset 0 0 0 1px rgba(255,238,220,.07);animation-delay:.54s}
#quit .q89-s.hidden{display:none}
#quit .q89-b{margin-top:22px;height:44px;min-width:168px;padding:0 26px;border-radius:14px;font-size:14.5px;font-weight:650;color:#1d1418;background:#f4ece2;box-shadow:0 8px 24px -10px rgba(0,0,0,.6);transition:background-color .18s,transform .3s cubic-bezier(.2,.8,.2,1);animation-delay:.64s}
@media (hover:hover){@media (hover:hover){#quit .q89-b:hover{background:#fff6ec}}}
#quit .q89-b:active{transform:scale(.97);transition-duration:.08s}
#quit .q89-b:focus-visible{outline:none;box-shadow:0 0 0 2px #15111d,0 0 0 4px rgba(242,187,114,.5)}
#quit{transition:opacity .38s cubic-bezier(.2,.8,.2,1)}
#quit.q89-out{opacity:0}
@keyframes q89In{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (max-height:560px){#quit .q89>canvas{width:140px;height:116px}#quit .q89 h2{font-size:38px}}
body.calm #quit .q89>*,body.calm .vt89-m,body.calm #brk.v89 .bk3-n{animation:none!important}
@media (prefers-reduced-motion:reduce){#quit .q89>*,.vt89-m,#brk.v89 .bk3-n{animation:none!important}#quit{transition:none}}

/* ===================== round 90 ===================== */
/* ---- holding Fold or All in: the whole button shifts colour, the way Raise → All in does ---- */
#dock.d83 .act.holding{transition:transform .2s var(--t77-settle),background-color var(--hold85,.7s) cubic-bezier(.4,0,.5,1),box-shadow var(--hold85,.7s) cubic-bezier(.4,0,.5,1),color calc(var(--hold85,.7s) * .5) ease!important}
#dock.d83 .act .hold-bar{opacity:0!important}
#dock.d83 .act.fold.holding{background:#b4574e;box-shadow:inset 0 0 0 1px rgba(255,196,186,.3),0 6px 22px rgba(214,110,100,.34);color:#fff2ef}
#dock.d83 .act.allin83.holding{background:#c96d4b;box-shadow:inset 0 0 0 1px rgba(255,206,184,.32),0 6px 22px rgba(240,150,120,.38);color:#fff4ec}
#dock.d83 .act.call.holding{background:#4c9563;box-shadow:inset 0 0 0 1px rgba(196,240,206,.3),0 6px 22px rgba(143,214,160,.3);color:#f1fbf3}
#dock.d83 .act.raise.holding{background:#b8843f;box-shadow:inset 0 0 0 1px rgba(255,226,180,.32),0 6px 22px rgba(233,179,106,.34);color:#fff5e4}
#dock.d83 .act.holding[data-k83]::after{opacity:.6}

/* ---- the loading screen ---- */
#bootScreen.b90 .b49-in{animation:none;opacity:1;width:min(600px,calc(100vw - 32px))}
#bootScreen.b90 .b49-in>*{opacity:0;animation:b90up .8s cubic-bezier(.2,.8,.2,1) both;animation-play-state:paused}
#bootScreen.b90.in90 .b49-in>*{animation-play-state:running}
#bootScreen.b90 .b49-in>.b49-stage{animation-delay:0s}
#bootScreen.b90 .b49-in>h1{animation-delay:.12s}
#bootScreen.b90 .b49-in>.b49-tag{animation-delay:.22s}
#bootScreen.b90 .b49-in>.b49-load{animation-delay:.36s}
@keyframes b90up{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
/* the name in the game's own serif, as on the chests and the goodnight */
#bootScreen.b90 h1{margin:16px 0 0;font:600 clamp(40px,5.6vw,58px)/1 "Cormorant Garamond",Cormorant,Garamond,Georgia,serif;letter-spacing:.01em;white-space:nowrap;color:#f8efe4;text-shadow:0 2px 28px rgba(242,180,110,.2)}
#bootScreen.b90 .b49-tag{margin:12px 0 0;font-size:10.5px;letter-spacing:.3em;color:rgba(242,205,160,.58)}
/* the loader: a fine line that fills, and one quiet word under it */
#bootScreen.b90 .b49-load{width:min(220px,62vw);margin:34px 0 0;gap:12px}
#bootScreen.b90 .bs-bar{height:3px;border-radius:3px;background:rgba(255,242,228,.07);box-shadow:none}
#bootScreen.b90 .bs-bar::after{display:none}
#bootScreen.b90 .bs-bar i{border-radius:3px;background:linear-gradient(90deg,rgba(217,135,62,.65),#f2b464 70%,#ffdca3);box-shadow:0 0 10px rgba(242,160,80,.45);transition:box-shadow .5s ease}
#bootScreen.b90.full90 .bs-bar i{box-shadow:0 0 16px rgba(255,196,120,.7)}
#bootScreen.b90 .b49-row{justify-content:center}
#bootScreen.b90 .b90-st{font:500 12px/1.2 var(--sans,system-ui);letter-spacing:.02em;color:rgba(248,239,228,.52);white-space:nowrap}
#bootScreen.b90 .b90-st.sw90{animation:b90sw .45s cubic-bezier(.2,.8,.2,1) both}
@keyframes b90sw{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}
#bootScreen.b90.full90 .b90-st{color:rgba(246,214,170,.82)}
/* the tip: a small label and the line */
#bootScreen.b90 .b49-tip{display:flex;justify-content:center;align-items:baseline;gap:10px;font-size:12.5px;color:rgba(248,239,228,.4);animation:b49in2 1s .7s ease both}
#bootScreen.b90 .b49-tip b{flex:none;font-size:10px;font-weight:650;letter-spacing:.22em;text-transform:uppercase;color:rgba(242,205,160,.5)}
/* away: the words lift and fade first, then the room shows through */
#bootScreen.bs49.b90.out{opacity:0;visibility:hidden;transition:opacity .8s cubic-bezier(.4,0,.2,1) .16s,visibility 0s linear .96s}
#bootScreen.b90.out .b49-in{opacity:0;transform:translate(-50%,calc(-50% - 8px));transition:opacity .42s ease,transform .8s cubic-bezier(.2,.8,.2,1)}
#bootScreen.b90.out .b49-tip{opacity:0;transition:opacity .3s ease}
@media (prefers-reduced-motion:reduce){#bootScreen.b90 .b49-in>*{opacity:1;animation:none}#bootScreen.b90.out .b49-in{transform:translate(-50%,-50%)}}

/* ===================== round 91: Show hand, steady ===================== */
#revealBtn>span:last-child.sw91{animation:rv91sw .28s cubic-bezier(.2,.8,.2,1) both}
@keyframes rv91sw{from{opacity:0;transform:translateY(2px)}to{opacity:1;transform:none}}
#revealBtn.fold31{min-width:0}
#revealBtn.fold31.shown{cursor:var(--cu-arrow,default)}
#revealBtn.fold31.shown>span:last-child{display:inline-flex;align-items:center;gap:7px}
#revealBtn.fold31.shown>span:last-child::before{content:"";width:9px;height:5px;margin-top:-3px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);flex:none}
@media (prefers-reduced-motion:reduce){#revealBtn>span:last-child.sw91{animation:none}}
#revealBtn.shown.kbm84[data-k83]::after{display:none!important}
/* the Bet row has no Hold of its own: it holds when Raise does */
.kb84 .kb84-row[data-kb="bet"] .kb85-h.none{width:auto;padding:0 2px;display:inline-flex;align-items:center}
.kb84 .kb84-row[data-kb="bet"] .kb85-h.none::before{content:"Holds like Raise";font-size:11px;font-weight:600;color:rgba(247,240,231,.34);white-space:nowrap}

/* ===================== round 92: someone's card at the table ===================== */
#pop.p92{width:320px!important;padding:16px 16px 14px;border-radius:20px;overflow:hidden auto;
  background:radial-gradient(120% 70% at 0% 0%,color-mix(in srgb,var(--p92c,#e9b36a) 11%,transparent),transparent 62%),linear-gradient(180deg,#2f272c,#231d22)!important;
  box-shadow:inset 0 0 0 1px rgba(255,238,220,.08),inset 0 1px 0 rgba(255,246,236,.06),0 22px 54px -18px rgba(0,0,0,.75),0 3px 10px rgba(0,0,0,.3)!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;transform-origin:var(--p92o,50% 0)}
#pop.p92:not(.hidden):not(.fading).in92{animation:p92In .28s cubic-bezier(.2,.8,.2,1) both!important}
#pop.p92.fading{animation:p92Out .18s ease forwards!important}
@keyframes p92In{from{opacity:0;transform:translateX(var(--p92x,0px)) scale(.97)}to{opacity:1;transform:none}}
@keyframes p92Out{to{opacity:0;transform:scale(.98)}}
/* who */
#pop.p92 .pop-id{display:flex;align-items:center;gap:13px}
#pop.p92 #popBlob{flex:none;width:62px;height:62px;border-radius:50%;background:radial-gradient(closest-side,color-mix(in srgb,var(--p92c,#e9b36a) 22%,transparent),color-mix(in srgb,var(--p92c,#e9b36a) 6%,transparent));box-shadow:inset 0 0 0 1px rgba(255,238,220,.08)}
#pop.p92 .pop-name{font-size:17px;font-weight:700;letter-spacing:-.01em;line-height:1.2;display:flex;align-items:center;gap:0;min-width:0}
#pop.p92 .pop-name .hx21{margin-left:8px;padding:1px 6px 1px 3px;font-size:9.5px;background:rgba(255,242,228,.05);color:rgba(247,240,231,.5)}
#pop.p92 .pop-sub{margin-top:3px;font-size:12px;line-height:1.45;color:rgba(247,240,231,.55)}
#pop.p92 .pop-sub svg,#pop.p92 .pop-sub img{vertical-align:-4px}
#pop.p92 .pop-chips53{margin-top:7px;padding:2px 9px 2px 4px;background:rgba(255,242,228,.05)}
/* the numbers: five even columns, hours first */
#pop.p92 .pop-stats{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;column-gap:0!important;gap:0;margin:14px 0 0;padding:10px 2px 9px;border-radius:14px;background:rgba(255,242,228,.035);box-shadow:inset 0 0 0 1px rgba(255,238,220,.05)}
#pop.p92 .pop-stats span{position:relative;gap:2px}
#pop.p92 .pop-stats span+span::before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:1px;background:rgba(255,238,220,.06)}
#pop.p92 .pop-stats b{font-size:15px;font-weight:700;letter-spacing:-.01em}
#pop.p92 .pop-stats small{font-size:10.5px;color:rgba(247,240,231,.45)}
#pop.p92 .pop-stats span:first-child b{color:#f2c88a}
/* pet and deck */
#pop.p92 .pop-look{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 0}
#pop.p92 .pop-look>div{padding:8px 6px 9px;border-radius:14px;background:rgba(255,242,228,.035);box-shadow:inset 0 0 0 1px rgba(255,238,220,.05);gap:2px}
#pop.p92 .pop-look small{font-size:10px;letter-spacing:.08em;color:rgba(247,240,231,.42)}
#pop.p92 .pop-look b{font-size:12.5px}
#pop.p92 .pop-look .rpill{margin-top:3px}
#pop.p92 .pop-look>.gone92{display:none!important}
#pop.p92 .pop-look.one92{grid-template-columns:1fr}
#pop.p92 .pop-look.one92>div:not(.gone92){display:grid;grid-template-columns:64px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:12px;align-items:center;justify-items:start;padding:8px 14px 8px 8px;text-align:left}
#pop.p92 .pop-look.one92>div:not(.gone92) canvas{grid-row:1/4}
#pop.p92 .pop-look.one92>div:not(.gone92) .rpill{justify-self:start}
/* what you can do: one main action, the rest in a quiet row */
#pop.p92 .pop-note{margin:10px 2px 0;font-size:12px;color:rgba(247,240,231,.5)}
#pop.p92 .pop-acts{display:flex;flex-direction:column;gap:8px;margin-top:12px;padding:0;border:0}
#pop.p92 .pop-acts>button{display:flex;align-items:center;gap:10px;height:40px;padding:0 12px;border-radius:12px;font-size:13.5px;font-weight:600;background:rgba(255,242,228,.05);box-shadow:inset 0 0 0 1px rgba(255,238,220,.06);transition:background-color .18s,transform .3s cubic-bezier(.2,.8,.2,1)}
#pop.p92 .pop-acts>button.pri92{justify-content:center;background:rgba(242,187,114,.16);color:#f4cc8c;box-shadow:inset 0 0 0 1px rgba(242,187,114,.26)}
#pop.p92 .pop-acts>button.pri92.done{background:rgba(127,209,139,.1);color:#b8e6c0;box-shadow:inset 0 0 0 1px rgba(127,209,139,.22)}
#pop.p92 .pop-acts>button .i,#pop.p92 .pop-acts>button svg{width:16px;height:16px;flex:none}
#pop.p92 .row92{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));gap:6px}
#pop.p92 .row92>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;height:54px;padding:0 4px;border-radius:12px;font-size:11.5px;font-weight:600;color:rgba(247,240,231,.72);background:rgba(255,242,228,.035);box-shadow:inset 0 0 0 1px rgba(255,238,220,.05);transition:background-color .18s,color .18s,transform .3s cubic-bezier(.2,.8,.2,1)}
#pop.p92 .row92>button span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
#pop.p92 .row92>button .i,#pop.p92 .row92>button svg{width:16px;height:16px}
#pop.p92 .row92>button.danger{color:rgba(240,161,150,.78)}
@media (hover:hover){@media (hover:hover){#pop.p92 .pop-acts>button:hover{background:rgba(255,242,228,.09)}}@media (hover:hover){#pop.p92 .pop-acts>button.pri92:hover{background:rgba(242,187,114,.22)}}@media (hover:hover){#pop.p92 .row92>button:hover{background:rgba(255,242,228,.08);color:#f4ece2}}@media (hover:hover){#pop.p92 .row92>button.danger:hover{color:#f6b2a8}}}
#pop.p92 .pop-acts button:active{transform:scale(.97);transition-duration:.08s}
#pop.p92 .pop-inv{margin:0 0 2px;background:rgba(255,242,228,.035);box-shadow:inset 0 0 0 1px rgba(255,238,220,.05)}
body.calm #pop.p92,body.calm #pop.p92.in92{animation:none!important}
@media (prefers-reduced-motion:reduce){#pop.p92.in92,#pop.p92.fading{animation:none!important}}

/* ===================== round 93: short numbers, exact on hover ===================== */
/* the label rises and settles in (after a breath, so sweeping the pointer across the numbers doesn't flicker them
   all), and slips away quicker than it came */
#pop [data-full93]{position:relative}
#pop [data-full93]::after{content:attr(data-full93);position:absolute;left:50%;bottom:calc(100% + 7px);z-index:3;padding:5px 9px;border-radius:9px;font-size:11.5px;font-weight:600;line-height:1;white-space:nowrap;color:#f4ece2;
  background:linear-gradient(180deg,#3d3439,#332b30);box-shadow:inset 0 0 0 1px rgba(255,238,220,.1),inset 0 1px 0 rgba(255,246,236,.06),0 8px 20px -6px rgba(0,0,0,.55),0 1px 3px rgba(0,0,0,.3);
  opacity:0;pointer-events:none;transform-origin:50% 100%;transform:translate(-50%,4px) scale(.96);
  transition:opacity .14s ease-in,transform .18s ease-in}
@media (hover:hover){@media (hover:hover){#pop [data-full93]:hover::after{opacity:1;transform:translate(-50%,0) scale(1);transition:opacity .2s cubic-bezier(.2,.8,.2,1) .07s,transform .34s cubic-bezier(.2,.8,.2,1) .07s}}}
body.calm #pop [data-full93]::after{transform:translate(-50%,0)!important;transition:opacity .12s!important}
@media (prefers-reduced-motion:reduce){#pop [data-full93]::after{transform:translate(-50%,0);transition:opacity .12s}@media (hover:hover){#pop [data-full93]:hover::after{transform:translate(-50%,0);transition:opacity .12s}}}
/* round 95: someone's card never scrolls inside itself */
#pop.p92{overflow:visible!important;max-height:none!important}
