@charset "UTF-8";
:root{color-scheme:dark;--ink:#f3e9d5;--muted:#acae9c;--gold:#dfbc79;--green:#162f26;--line:rgba(225,195,135,.22);--height:100dvh;--ease:cubic-bezier(.22,.75,.25,1);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#0c1914;min-height:100svh;-webkit-tap-highlight-color:transparent}button,input,select{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer;color:inherit;min-height:44px;border:0}button:disabled{cursor:default;opacity:.38}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #efcf8c;outline-offset:4px}button:active:not(:disabled){translate:0 1px}input{border:1px solid var(--line);background:#091b16;color:var(--ink);border-radius:10px;width:100%;min-height:50px;padding:12px 14px;font-size:16px;outline:none}input:focus{border-color:var(--gold);box-shadow:0 0 0 3px #dfbc791c}input::placeholder{color:#8b998d}input[type=number]{appearance:textfield;-moz-appearance:textfield}input::-webkit-inner-spin-button{appearance:none}label{display:block;font-size:13px;color:#c3c5b5;font-weight:600;margin:0 0 8px}p,h1,h2,h3{margin:0}h2{letter-spacing:-.04em;line-height:1.08}b,strong{font-weight:700}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.grain{position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 35% 0,#28544265,transparent 65%),repeating-linear-gradient(96deg,#5d382109 0px,#5d382109 1px,transparent 1px,transparent 6px),linear-gradient(135deg,#10271f,#0d1712 75%)}.party-header{max-width:1120px;margin:0 auto;padding:22px 26px;display:grid;grid-template-columns:1fr 52px 1fr;align-items:center;position:relative;z-index:2;height:96px}.back-home{font-size:14px;color:#b9bcae;display:flex;gap:10px;align-items:center;min-height:44px;width:fit-content}.brand-stamp{width:44px;height:48px;display:grid;place-items:center;border:1px solid #a88550;border-radius:13px 13px 17px 17px;font:700 31px Georgia,serif;color:#e5c88f;background:linear-gradient(120deg,#4a3424,#1f2017 50%,#402d1d);box-shadow:inset 0 1px 1px #f5d89c66,0 6px 12px #0005;text-shadow:0 2px #140c06}.header-help{justify-self:end;background:none;font-size:13px;display:flex;gap:9px;align-items:center}.header-help span{border:1px solid var(--line);width:23px;height:23px;border-radius:50%;display:grid;place-items:center;font-size:12px}.eyebrow{font-size:10px;letter-spacing:.17em;color:var(--gold);font-weight:700;text-transform:uppercase;line-height:1.5}.entry{max-width:1020px;margin:30px auto 0;padding:0 28px;display:grid;grid-template-columns:1.15fr 1fr;gap:45px 80px;align-items:center}.entry-hero{position:relative}.entry h1{font-size:14px;letter-spacing:.02em;color:#a2b7a4;margin-top:13px;font-weight:500}.entry h1>span{display:block;font:500 clamp(38px,4.4vw,58px)/1.04 Georgia,serif;letter-spacing:-.05em;color:var(--ink);margin-top:14px}.entry h1 em{font-weight:500;color:#e5c88f}.entry-description{font-size:15px;line-height:1.65;max-width:390px;color:#b8c3b4}.entry-tags{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px;font-size:11px;color:#c4c8b9}.entry-tags span{padding:7px 10px;border:1px solid var(--line);border-radius:6px}.hero-object{height:230px;display:grid;place-items:center;perspective:900px}.join-panel{border:1px solid #b68d504d;border-radius:18px;padding:28px;background:linear-gradient(145deg,#254034ca,#17251de8);box-shadow:0 25px 60px #0005,inset 0 1px #e1c38b21;position:relative}.join-panel:before{content:"";position:absolute;inset:-7px;border:1px solid #a88b4f1a;border-radius:23px;pointer-events:none}.panel-top{display:flex;gap:9px;align-items:center}.panel-top h2{font-size:19px;letter-spacing:-.03em}.table-number{font:italic 11px Georgia,serif;color:#809783;margin-left:auto}.live-dot,#connection i{width:6px;height:6px;border-radius:50%;background:#83b990;box-shadow:0 0 12px #83b99088;display:inline-block;flex-shrink:0}.entry-how{font-size:13px;line-height:1.5;color:#acbbad;margin:10px 0 22px}.join-tabs{background:#0a1c15;border:1px solid #ffffff0c;padding:4px;border-radius:10px;display:grid;grid-template-columns:1fr 1fr;margin-bottom:21px}.join-tabs button{background:transparent;color:#9eafa0;border-radius:7px;font-size:13px}.join-tabs button[aria-selected=true]{color:#f4e8cf;background:#304739;box-shadow:0 3px 9px #0004}.join-panel form input{margin-bottom:17px}.primary{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;padding:14px 18px;border-radius:10px;font-weight:750;background:linear-gradient(115deg,#e6c88e,#c4a267);color:#20271c;box-shadow:inset 0 1px 0 #fff5,0 3px 0 #715735,0 7px 18px #0003;font-size:15px;min-height:50px}.primary:hover:not(:disabled){filter:brightness(1.06)}.primary>span{margin-left:auto}.quiet,.text-button{background:none;color:#c4c8b9;font-size:12px;padding:7px 9px}.quiet:hover{color:var(--gold)}.text-button{color:var(--gold);text-decoration:underline;text-underline-offset:4px}.privacy-note{font-size:11px;line-height:1.5;color:#93a793;text-align:center;margin-top:18px}.entry-rules{grid-column:1/-1;padding-top:36px;border-top:1px solid var(--line)}.entry-rules>h2{font:500 34px Georgia,serif;margin:10px 0 25px}.entry-rules ol{counter-reset:step;list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:35px}.entry-rules li{counter-increment:step;position:relative;padding-top:37px}.entry-rules li:before{content:"0" counter(step);position:absolute;top:0;font:italic 22px Georgia,serif;color:var(--gold)}.entry-rules h3{font-size:15px;margin-bottom:9px}.entry-rules p{font-size:13px;line-height:1.75;color:#aebbad}.entry-rules details{border-top:1px solid var(--line);margin-top:28px;padding-top:15px}.entry-rules summary{padding:10px 0;cursor:pointer;font-size:13px;color:var(--gold)}.entry-rules details p{margin:13px 0}.entry-footer{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px 25px;border-top:1px solid var(--line);padding:26px 0 40px;font-size:12px;color:#91a18e}.entry-footer>a{color:var(--gold);font-family:Georgia,serif;font-size:16px}.entry-footer>span{margin:auto 0 auto auto}.entry-footer nav{display:flex;gap:20px;width:100%}.entry-footer small{font-size:10px}.inline-error{font-size:13px;color:#ffcfbb;background:#954a3425;padding:12px;margin-top:15px;border-radius:8px}.noscript-message{margin:20px;padding:20px;border:1px solid var(--gold)}
/* Objects are made from actual transformed faces; gameplay has no WebGL dependency. */
.die-space{--s:52px;display:inline-grid;width:var(--s);height:var(--s);place-items:center;perspective:650px;flex-shrink:0;position:relative;vertical-align:middle;filter:drop-shadow(0 10px 6px #0005)}.die-cube{width:var(--s);height:var(--s);position:relative;transform-style:preserve-3d;transform:rotateX(-18deg) rotateY(-24deg);transition:transform .8s var(--ease)}.die-face{position:absolute;inset:0;border:1px solid #e3d1ab;border-radius:calc(var(--s)*.14);background:linear-gradient(135deg,#fff5dc 8%,#e7d3ab 67%,#b79a6c);box-shadow:inset 0 2px 3px #fff9,inset -2px -3px 4px #76573055;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);padding:19%;gap:7%;backface-visibility:hidden}.die-face i{border-radius:50%}.die-face .pip{background:radial-gradient(circle at 65% 80%,#344138,#081b13 70%);box-shadow:inset 0 1px 2px #000,0 1px #fff9}.f1{transform:translateZ(calc(var(--s)/2))}.f2{transform:rotateX(90deg) translateZ(calc(var(--s)/2))}.f3{transform:rotateY(90deg) translateZ(calc(var(--s)/2))}.f4{transform:rotateY(-90deg) translateZ(calc(var(--s)/2))}.f5{transform:rotateX(-90deg) translateZ(calc(var(--s)/2))}.f6{transform:rotateY(180deg) translateZ(calc(var(--s)/2))}.d2{transform:rotateX(-108deg) rotateZ(24deg)}.d3{transform:rotateX(-18deg) rotateY(-114deg)}.d4{transform:rotateX(-18deg) rotateY(66deg)}.d5{transform:rotateX(72deg) rotateZ(-24deg)}.d6{transform:rotateX(-18deg) rotateY(156deg)}.dice-row{display:flex;align-items:center;justify-content:center;gap:18px}.die-space.match{filter:drop-shadow(0 0 9px #e3bd6b77)}.match .die-face{background:linear-gradient(135deg,#ffedb2,#d9b264);border-color:#ffe8ad}.dossier-scene{height:220px;width:250px;position:relative;perspective:750px}.dossier{position:absolute;top:22px;left:43px;width:165px;height:180px;border-radius:9px;background:linear-gradient(130deg,#3c674b,#173f2c 60%,#133221);border:1px solid #9da96788;box-shadow:2px 3px 0 #c7b481,4px 5px 0 #314a31,7px 9px 0 #08170e,15px 22px 28px #0008,inset 0 0 30px #658b4a33;transform:rotateX(12deg) rotateY(-20deg) rotateZ(-11deg);animation:dossierFloat 7s ease-in-out infinite}.dossier-inlay{position:absolute;inset:10px;border:1px solid #c5b47d80;border-radius:4px;display:flex;flex-direction:column;align-items:center;justify-content:space-around;padding:9px}.dossier-inlay>span{font-size:6px;letter-spacing:1px;color:#d4c08b}.dossier svg{width:74px;color:#e4c98d}.dossier-inlay b{font:600 13px/1.3 Georgia,serif;text-align:center;color:#efd9ab}.dossier-inlay i{font:5px sans-serif;letter-spacing:1px;color:#abb481}.wax-seal{position:absolute;bottom:17px;right:-15px;display:grid;place-items:center;width:43px;height:43px;border-radius:50%;color:#ebc98b;font:700 25px Georgia,serif;background:radial-gradient(circle at 30% 20%,#bd9860,#765429 85%);border:4px double #ceaa65;box-shadow:0 4px 8px #0008,0 0 0 2px #73532c}.dossier-shadow,.cup-shadow{position:absolute;width:180px;height:30px;left:30px;bottom:10px;border-radius:50%;background:#0007;filter:blur(12px)}.orbit-dot{position:absolute;right:12px;top:45px;height:5px;width:5px;background:#eed399;border-radius:50%;box-shadow:0 0 20px #dfbc7955;animation:glimmer 4s ease-in-out infinite}.cup-scene{position:relative;width:260px;height:220px;perspective:800px}.tavern-cup{position:absolute;left:65px;top:32px;height:155px;width:122px;border-radius:36% 36% 22% 22%/13% 13% 15% 15%;background:repeating-linear-gradient(90deg,#2d1b100a 0 2px,transparent 2px 4px),linear-gradient(90deg,#281b12,#8a5932 20%,#b17c49 38%,#5d3e26 73%,#23170e);box-shadow:inset 0 0 0 1px #c28c4e66,inset 0 -10px 8px #160e06,15px 18px 18px #0005;transform:rotateZ(-12deg) rotateY(-12deg);animation:cupFloat 6s ease-in-out infinite}.cup-mouth{position:absolute;inset:-7px -1px auto;height:27px;border-radius:50%;background:radial-gradient(ellipse,#0c110b 50%,#644e2e 53%,#c09b5a 68%,#54351f 72%);box-shadow:0 3px 0 #321e0c}.cup-stitch{position:absolute;left:20px;right:20px;inset-block:18px;border-left:1px dashed #c19a6455;border-right:1px dashed #c19a6455;border-radius:20%}.cup-emblem{position:absolute;top:53px;left:43px;border:1px solid #bda26f88;padding:3px 6px;color:#e1c68f;font:700 28px Georgia,serif;transform:rotate(-2deg);text-shadow:1px 2px #40250b}.cup-rim{position:absolute;bottom:8px;left:0;right:0;height:17px;border:2px solid #b18c50aa;border-top:0;border-radius:0 0 50% 50%}.hero-die{position:absolute;animation:dieFloat 6s ease-in-out infinite}.hero-die-a{right:29px;bottom:21px;animation-delay:-2s}.hero-die-b{left:27px;bottom:30px}.hero-die-b .die-space{--s:38px}.hero-die-a .die-space{--s:45px}
@keyframes dossierFloat{0%,100%{transform:rotateX(12deg) rotateY(-20deg) rotateZ(-11deg) translateY(0)}50%{transform:rotateX(6deg) rotateY(-7deg) rotateZ(-6deg) translateY(-8px)}}@keyframes cupFloat{0%,100%{transform:rotateZ(-12deg) rotateY(-12deg) translateY(0)}50%{transform:rotateZ(-7deg) rotateY(-5deg) translateY(-7px)}}@keyframes dieFloat{0%,100%{translate:0 0}50%{translate:0 -7px}}@keyframes glimmer{50%{opacity:.3;translate:0 8px}}
/* The active table fits the visible phone viewport. Only dialogs can scroll. */
body.in-room{height:var(--height);overflow:hidden;overscroll-behavior:none}.in-room #party-app{height:100%;max-width:640px;margin:auto;display:grid;grid-template-rows:auto minmax(0,1fr);padding-bottom:env(safe-area-inset-bottom)}.in-room .party-header{width:100%;height:72px;padding:12px 20px}.in-room .brand-stamp{width:33px;height:37px;border-radius:10px;font-size:25px;justify-self:center}.in-room .back-home{font-size:12px}.in-room .header-help{font-size:12px}.live{min-height:0;display:grid;grid-template-rows:42px minmax(0,1fr) 36px;padding:0 20px}.room-bar{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:10px}.room-bar button{background:none;padding:0;font-size:11px;min-height:40px}.room-bar #live-code{color:var(--gold);font-weight:750;letter-spacing:.13em}.room-bar #players-toggle{margin-left:auto;color:#d2d6c7}#connection{display:flex;align-items:center;gap:6px;color:#a1b29d}#connection.disconnected{color:#efbf8d}#connection.disconnected i{background:#dfac68;animation:glimmer 1s infinite}#stage{min-height:0;position:relative;overflow:hidden}.stage-inner{height:100%;display:flex;flex-direction:column;gap:14px;padding:22px 0 8px;position:relative;animation:stageIn .4s var(--ease)}.stage-heading{text-align:center;flex-shrink:0}.stage-heading h2{font-size:clamp(24px,4.6vw,34px);font-family:Georgia,serif;font-weight:500;line-height:1.15;margin:6px auto 8px;max-width:450px}.stage-heading>p:last-child:not(.eyebrow){font-size:12px;line-height:1.5;color:#aebca9;max-width:440px;margin:auto}.stage-bottom{margin-top:auto;display:flex;flex-direction:column;gap:11px;flex-shrink:0}.fine{color:#8fa58e;font-size:10px;line-height:1.4;text-align:center}.round-meta{display:flex;justify-content:space-between;font-size:9px;letter-spacing:.06em;color:#7e947c;border-top:1px solid #c6ae7120;padding-top:10px;margin-top:2px;flex-shrink:0}.live-tools{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#769073}.live-tools button{background:none;color:#bac5af;font-size:10px;padding:0;min-height:34px}.live-tools #sound[aria-pressed=true]{color:var(--gold)}.live-tools>span{text-align:center}.waiting{display:flex;align-items:center;justify-content:center;gap:9px;font-size:12px;line-height:1.4;text-align:center;color:#c6ccb9;min-height:44px;padding:6px 10px;border:1px solid #c6ae711b;border-radius:10px;background:#32482c20}.waiting>span{height:6px;width:6px;background:var(--gold);border-radius:50%;animation:glimmer 1.7s infinite;flex-shrink:0}.room-ticket{background:linear-gradient(125deg,#2c4330,#192b20);border:1px solid #a88b5055;border-radius:12px;display:flex;flex-direction:column;align-items:center;gap:5px;padding:17px;position:relative;box-shadow:inset 0 1px #d3bf7a26,0 14px 26px #0002}.room-ticket:before,.room-ticket:after{position:absolute;content:"";top:50%;height:12px;width:12px;background:#10251c;border:1px solid #a88b5055;border-radius:50%}.room-ticket:before{left:-7px;border-left:0}.room-ticket:after{right:-7px;border-right:0}.room-ticket>span{font-size:8px;letter-spacing:.22em;color:#bda970}.room-ticket strong{font-size:40px;letter-spacing:.14em;font-variant-numeric:tabular-nums;color:#f0d9a7;font-weight:600}.room-ticket small{font-size:10px;color:#abb49a}.roster{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.person{background:#a4b28008;border:1px solid #c4bc8119;border-radius:9px;display:flex;align-items:center;gap:6px;padding:8px;min-width:0}.avatar{width:30px;height:30px;display:inline-grid;place-items:center;border-radius:50%;color:#d4d8ad;background:linear-gradient(140deg,#3c5138,#1b3322);border:1px solid #bdac6a44;font-size:10px;position:relative;flex-shrink:0}.avatar i{position:absolute;top:-8px;right:-3px;color:#e6c585;font-size:12px;font-style:normal;text-shadow:0 1px #000}.avatar.offline{filter:grayscale(1);opacity:.5}.player-label{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.player-label small{font-size:8px;color:#9eae91}.person-status{font-size:8px;color:#79a67d;margin-left:auto}.lobby-settings{display:flex;align-items:center;justify-content:center;gap:5px;font-size:10px;color:#b2bea4;min-height:34px}.lobby-settings .text-button{font-size:10px;min-height:34px}.secret-card{display:block;width:100%;height:clamp(170px,30dvh,270px);flex:1 1 190px;max-height:290px;min-height:145px;background:none;padding:0;perspective:1200px}.secret-card-inner{display:block;position:relative;height:100%;width:100%;transform-style:preserve-3d;transition:transform .85s var(--ease)}.secret-card.is-open .secret-card-inner{transform:rotateY(180deg)}.secret-front,.secret-back{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;backface-visibility:hidden;-webkit-backface-visibility:hidden;border:1px solid #bba26375;border-radius:15px;background:repeating-linear-gradient(45deg,#d0c38405 0 1px,transparent 1px 7px),radial-gradient(ellipse at 45% 0,#3b6040,#193721 70%);box-shadow:inset 0 0 0 5px #102a17,inset 0 0 0 6px #bba26330,0 16px 28px #0004;padding:25px 18px}.secret-front svg{width:85px;color:var(--gold)}.secret-front>b{font-size:11px;letter-spacing:.16em;color:#e0cd96}.secret-front>span:last-child{font-size:12px;color:#b5bea0}.secret-back{transform:rotateY(180deg);background:linear-gradient(145deg,#e8d5ab,#ccb98e);box-shadow:inset 0 0 0 5px #e7d4aa,inset 0 0 0 6px #635d3a55,0 16px 28px #0004;color:#233023}.secret-back small{font-size:9px;letter-spacing:.14em;color:#5c6948}.secret-back strong{font:500 clamp(26px,6vw,40px)/1.1 Georgia,serif;max-width:100%;overflow-wrap:anywhere}.secret-back>span{font-size:12px;line-height:1.5;color:#536040}.secret-back em{font-style:normal;font-size:9px;color:#727b57}.secret-back .dice-row{padding:20px 0;gap:20px}.secret-back .die-space{--s:39px}.mini-cup{display:grid;place-items:center;width:59px;height:69px;font:700 29px Georgia,serif;color:#e2c997;background:linear-gradient(100deg,#38271a,#90643b 36%,#3d2e1c);border-radius:30% 30% 20% 20%/10% 10% 10% 10%;border-top:5px double #b7a174;border-bottom:4px double #b7a174;box-shadow:12px 14px 18px #0005;transform:rotate(-8deg)}.ready-meter{display:flex;flex-direction:column;align-items:center;gap:9px;color:#b3c3a7;font-size:11px}.ready-meter>div{display:flex;gap:7px}.ready-meter i{width:8px;height:8px;background:#3a4a32;border-radius:50%;border:1px solid #718052}.ready-meter .ready{background:#d5bd7c;border-color:#f0d99c;box-shadow:0 0 10px #dfbc7933}.hint-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.hint-chip{min-width:0;background:#8baf7710;border:1px solid #b6ba7626;border-radius:8px;padding:9px 10px;display:flex;flex-direction:column;gap:5px}.hint-chip span{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#9dad8e}.hint-chip b{font-size:12px;overflow-wrap:anywhere;color:#ebd59e;line-height:1.1}.hint-chip.skipped{opacity:.5}.turn-medallion,.discussion-mark{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:65px;flex:1;color:#a99760;opacity:.7}.turn-medallion svg{width:66px}.turn-medallion span,.discussion-mark span{font-size:8px;letter-spacing:.2em}.turn-medallion.your-turn{opacity:1;color:#e8c987}.turn-medallion.your-turn svg{animation:glimmer 5s infinite}.discussion-mark svg{width:55px}.hint-input{display:flex;gap:8px}.hint-input input{min-width:0}.hint-input .primary{width:auto;font-size:13px;padding:12px}.split-links{display:flex;justify-content:space-between;gap:5px}.secret-shortcut{color:var(--gold)}.vote-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-content:start}.vote-person{min-width:0;display:flex;gap:8px;align-items:center;text-align:left;background:#2c402637;border:1px solid #b7b77733;border-radius:9px;padding:11px;min-height:53px}.vote-person.selected{border-color:#e6c987;background:#d1b16a16;color:#f4daa0;box-shadow:inset 0 0 0 1px #e6c98750}.vote-person:disabled.selected{opacity:1}.vote-check{margin-left:auto;color:#e6c987;font-size:15px}.vote-progress{font-size:11px;text-align:center;color:#c7cba7}.current-bid{display:flex;align-items:center;justify-content:center;gap:25px;flex-wrap:wrap;min-height:120px;padding:16px;border-top:1px solid #c3aa6626;border-bottom:1px solid #c3aa6626;background:radial-gradient(ellipse,#68803f1c,transparent);flex:1;max-height:180px}.current-bid>div{display:flex;flex-direction:column;gap:6px}.current-bid small{font-size:10px;color:#aebd9e;max-width:220px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.current-bid strong{font:500 60px/.9 Georgia,serif;color:#e5ce97}.current-bid strong span{font:300 20px sans-serif;vertical-align:middle;color:#9ca880}.current-bid .die-space{--s:51px}.bid-caption{width:100%;text-align:center;color:#acb994;font-size:11px;margin-top:-6px}.current-bid.empty{font-size:12px;line-height:1.7;color:#aebb9a}.current-bid.empty b{color:#d7d4b8}.own-dice-bar{display:flex;align-items:center;justify-content:space-between;background:#3f4d282b;border:1px solid #969d552b;border-radius:8px;padding:10px;font-size:10px;gap:6px}.own-dice-bar b{font-size:10px;color:var(--gold)}.hidden-dice{letter-spacing:5px;color:#c7bc8a}.bid-builder{display:grid;grid-template-columns:1fr 138px;align-items:center;gap:9px}.bid-builder>label{margin:0;font-size:12px;color:#aebf99}.count-stepper{display:grid;grid-template-columns:39px 1fr 39px;align-items:center;background:#0d1e14;border:1px solid #afad663a;border-radius:9px}.count-stepper input{padding:5px 0;text-align:center;background:none;border:0;font-size:23px;font-variant-numeric:tabular-nums;font-weight:600;min-height:44px;color:#f4dca7;box-shadow:none}.step{background:none;font-size:25px;color:#bfbd8d;padding:0}.face-label{grid-column:1/-1;font-size:10px;color:#98ad86}.face-picker{grid-column:1/-1;display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.face-choice{min-height:52px;background:#1e321e;border:1px solid #a2aa6333;border-radius:9px;display:grid;place-items:center;padding:10px 0}.face-choice .die-space{--s:25px;filter:drop-shadow(0 4px 3px #0008);pointer-events:none}.face-choice.selected{background:#8f8e3a25;border-color:#d9bc7c;box-shadow:0 0 0 1px #d9bc7c44}.bid-help{font-size:10px;min-height:14px;color:#aab592;text-align:center}.bid-actions{display:grid;grid-template-columns:1.1fr 1fr;gap:10px}.danger{color:#f7d3ae;background:linear-gradient(125deg,#783d29,#562c1d);border:1px solid #c88c5866;border-radius:10px;font-size:15px;letter-spacing:.07em;font-weight:700;box-shadow:inset 0 1px #ffc68a33,0 3px 0 #30170e;min-height:50px}.reveal-orb{min-height:160px;flex:1;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;text-align:center;border-radius:50%;background:radial-gradient(ellipse,#b5ac4830,transparent 67%)}.reveal-orb:before,.reveal-orb:after{content:"";width:200px;aspect-ratio:1;position:absolute;border:1px solid #d9c47e33;border-radius:50%;animation:revealPulse 2s infinite}.reveal-orb:after{width:260px;animation-delay:.4s}.reveal-orb svg{width:90px;color:#e0c888;animation:glimmer 1.2s infinite}.reveal-orb strong{font:500 65px/1 Georgia,serif;color:#f1dcaa;z-index:1}.reveal-orb>span:last-child{font-size:8px;letter-spacing:.18em;color:#b5b78b}.reveal-dice{display:flex;gap:35px;z-index:1}.reveal-dice .die-space{--s:43px}.reveal-dice .die-cube{animation:rollDice 1.4s linear infinite}.reveal-dice .die-space:nth-child(2) .die-cube{animation-delay:-.5s}.reveal-track{height:3px;background:#5c68422e;overflow:hidden;border-radius:4px;margin:0 40px 20px}.reveal-track>span{display:block;height:100%;width:0;background:var(--gold);box-shadow:0 0 12px #e5c680;transition:width .1s linear}.imposter-result{border:1px solid #bfac6260;border-radius:13px;background:radial-gradient(ellipse at 50% 0,#87974926,transparent 80%),#192f1c;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:170px;max-height:280px;flex:1;padding:20px}.imposter-result svg{width:54px;color:#ccb275}.imposter-result>span{font-size:8px;letter-spacing:.18em;color:#a5b48c}.imposter-result>strong{font:500 32px/1.1 Georgia,serif;color:#eed7a0;max-width:100%;overflow-wrap:anywhere;text-align:center}.imposter-result>div{font-size:12px;color:#abbc92}.imposter-result>div>b{color:#e3dbb7}.imposter-result.caught{background:radial-gradient(ellipse at 50% 0,#a36b3c33,transparent 80%),#292b17}.result-links{display:flex;justify-content:center;gap:25px}.task-card{background:linear-gradient(110deg,#5358383b,#34442c33);border:1px solid #a7a6643b;border-radius:10px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.task-card small{font-size:9px;color:#acb994;display:block;margin-bottom:4px}.task-card strong{font-size:14px;color:#efd7a2;display:block;line-height:1.2}.task-buttons{display:flex;flex-direction:column;gap:1px;flex-shrink:0}.task-buttons .primary{padding:7px 14px;font-size:11px;min-height:36px;border-radius:7px}.task-buttons .quiet{font-size:9px;min-height:28px;padding:4px}.task-card.clear{justify-content:center;min-height:44px}.task-card.clear>span{color:#9ab486}.task-card.clear p{font-size:11px;color:#bcc5a5}.count-verdict{display:flex;align-items:center;justify-content:center;gap:42px;padding:6px 0 12px}.count-verdict>span{display:flex;flex-direction:column;gap:4px;font-size:8px;letter-spacing:.13em;color:#acb38b;text-align:center}.count-verdict b{font:500 35px/1 Georgia,serif;color:#eed6a0}.count-verdict .die-space{--s:36px}.revealed-hands{display:flex;flex-direction:column;gap:5px}.hand-line{display:flex;align-items:center;gap:10px;min-height:52px;background:#78934a0c;border:1px solid #9ba45a26;border-radius:8px;padding:6px 9px}.hand-line>span:first-child{font-size:10px;width:85px;flex-shrink:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.hand-line small{font-size:8px;color:#a3b189}.hand-line .dice-row{gap:12px;margin-left:auto}.hand-line .die-space{--s:23px;filter:drop-shadow(0 3px 3px #0006)}.hand-line .die-space.match{filter:drop-shadow(0 0 5px #f6d98088)}.hand-line>b{font-size:10px;color:#d3c38c;min-width:16px;text-align:right;margin-left:5px}.hand-pages{display:flex;align-items:center;justify-content:center;gap:25px;font-size:9px;color:#b0bd98;margin-top:-5px}.hand-pages button{min-height:28px;font-size:16px}.phase-result{gap:10px}
@keyframes stageIn{from{opacity:.5;transform:translateY(7px)}to{opacity:1;transform:none}}@keyframes revealPulse{0%,100%{transform:scale(.85);opacity:.2}50%{transform:scale(1);opacity:.7}}@keyframes rollDice{0%{transform:rotateX(-18deg) rotateY(-24deg)}100%{transform:rotateX(702deg) rotateY(696deg)}}
/* Dialogs retain comfortable tap targets and contain the only scrolling in play. */
dialog{color:var(--ink);background:linear-gradient(135deg,#233d2b,#14271b);border:1px solid #c2a66377;border-radius:18px;padding:0;width:min(440px,calc(100% - 28px));max-height:calc(var(--height) - 50px);box-shadow:0 40px 120px #000a;overscroll-behavior:contain}dialog::backdrop{background:#030e09bd;backdrop-filter:blur(7px)}dialog>header{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#1e3525;z-index:2}dialog h2{font:500 23px Georgia,serif}dialog>header button{background:none;color:#d0cba3;font-size:27px;width:40px}#modal-body{padding:20px}#modal-body p{font-size:13px;line-height:1.6;color:#b6c2a4;margin-bottom:14px}#modal-body p strong{color:#eed6a2}#modal-body .primary{margin-top:14px}#modal-body .fine{margin-top:14px;font-size:10px}#modal-body ol{margin:0;padding-left:20px}#modal-body li{font-size:13px;line-height:1.6;color:#b6c2a4;margin:12px 0}#modal-body li strong{display:block;color:#edd7a7}#modal-body .secret-card{height:245px;min-height:245px}.qr-code{width:195px;max-width:100%;margin:0 auto 14px;padding:12px;border-radius:12px;background:#fff}.qr-code svg{width:100%;display:block}.share-code{display:block;text-align:center;font-size:36px;color:#e9d0a0;letter-spacing:.15em;margin-bottom:10px;font-variant-numeric:tabular-nums}.share-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.share-actions .quiet{border:1px solid var(--line);border-radius:8px}.settings-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0 18px}.settings-options button{background:#304b2c;border:1px solid var(--line);border-radius:9px;font-size:13px}.settings-options button[aria-pressed=true]{border-color:var(--gold);color:var(--gold);box-shadow:inset 0 0 0 1px #e2c78255}.check-option{display:flex;align-items:center;gap:10px;font-size:13px;padding:10px 0}.check-option input{width:20px;min-height:20px;accent-color:#d1b677}.member-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #aeba7720}.member-row .player-label{font-size:13px}.member-row>strong{margin-left:auto;font-size:12px;color:#dfc890}.member-row button{font-size:11px;background:none;color:#b9bb95;min-height:36px;padding:6px}.host-controls{margin-top:15px;display:grid;gap:7px}.host-controls .quiet{border:1px solid #a7aa6244;border-radius:8px;width:100%}.leave-button{width:100%;margin-top:20px!important;color:#e4ad8a;background:none;font-size:12px}.give-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.give-list button{background:#314a2e;border:1px solid var(--line);padding:10px;border-radius:8px;min-width:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.give-list button.selected{border-color:var(--gold);color:var(--gold)}.give-amount{display:flex;align-items:center;gap:15px;margin-top:18px}.give-amount label{margin:0}.give-amount select{background:#1c331f;border:1px solid var(--line);border-radius:7px;padding:10px;color:var(--ink);min-height:44px;font-size:16px}.vote-detail{display:flex;justify-content:space-between;gap:10px;font-size:12px;padding:10px 0;border-bottom:1px solid var(--line)}.vote-detail b{color:var(--gold)}.notice{position:fixed;left:50%;bottom:calc(20px + env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;align-items:center;gap:12px;background:#e1cea4;color:#253020;border:1px solid #f6e1b8;border-radius:12px;box-shadow:0 10px 40px #0008;padding:10px 12px;width:min(440px,calc(100% - 30px));z-index:50;font-size:12px;line-height:1.5}.notice>span{flex:1}.notice button{background:#33422a14;border-radius:6px;min-height:32px;padding:5px 8px;font-size:11px;flex-shrink:0}.notice button:last-child{font-size:20px}.busy button[data-command]:not([data-command=close-dialog]):not([data-command=peek]):not([data-command=rules]):not([data-command=players]){pointer-events:none}.busy .stage-bottom .primary{opacity:.55}
@media(min-width:750px){body.in-room{background:radial-gradient(ellipse at 50% 50%,#2a4933 0,#101f17 60%)}.in-room #party-app{border-inline:1px solid #c3ac6633;box-shadow:0 0 100px #0006;background:#12291deb;max-width:550px}.live{padding-inline:26px}.stage-inner{padding-top:25px}.room-bar{font-size:11px}}
@media(max-width:700px){.party-header{height:80px;padding:16px 21px}.entry{display:flex;flex-direction:column;gap:32px;padding:0 22px;margin:10px auto 0;max-width:460px}.entry-hero{width:100%;text-align:center}.entry h1>span{font-size:39px;line-height:1.06}.entry h1{font-size:12px}.entry-hero>.eyebrow{font-size:8px}.hero-object{height:195px;margin:-2px 0}.dossier-scene,.cup-scene{transform:scale(.86);transform-origin:center}.entry-description{font-size:13px;max-width:320px;margin:0 auto;line-height:1.65}.entry-tags{justify-content:center;margin-top:14px;gap:7px}.entry-tags span{font-size:9px;padding:6px 9px}.join-panel{width:100%;padding:23px}.entry-rules{width:100%;padding-top:25px}.entry-rules>h2{font-size:29px}.entry-rules ol{display:block;margin:0}.entry-rules li{padding:0 0 20px 40px}.entry-rules li:before{left:0;top:-2px;font-size:20px}.entry-rules h3{font-size:14px}.entry-rules p{font-size:12px}.entry-footer{width:100%;font-size:10px;padding-top:23px}.entry-footer>span{margin:0;width:100%}.entry-footer nav{flex-wrap:wrap;gap:12px}.secret-back .die-space{--s:34px}.secret-back .dice-row{gap:18px}.stage-inner{gap:12px}}
@media(max-height:740px){.in-room .party-header{height:59px;padding-top:8px;padding-bottom:8px}.live{grid-template-rows:37px minmax(0,1fr) 30px}.room-bar button{min-height:35px}.stage-inner{padding-top:13px;gap:10px}.stage-heading h2{font-size:27px;margin:4px 0 5px}.stage-heading .eyebrow{font-size:8px}.stage-heading>p:last-child:not(.eyebrow){font-size:11px;line-height:1.35}.room-ticket{padding:10px}.room-ticket strong{font-size:32px}.roster{gap:6px}.person{padding:6px}.person .avatar{width:25px;height:25px;font-size:9px}.lobby-settings{min-height:27px}.primary,.danger{min-height:46px;padding-top:12px;padding-bottom:12px}.stage-bottom{gap:8px}.round-meta{padding-top:7px;font-size:8px}.live-tools button{min-height:28px}.hint-chip{padding:7px 9px;gap:4px}.hint-chip b{font-size:11px}.turn-medallion{min-height:35px}.turn-medallion svg{width:46px}.discussion-mark{min-height:28px}.discussion-mark svg{width:38px}.vote-person{padding:8px;min-height:45px}.vote-person .avatar{width:25px;height:25px}.vote-grid{gap:6px}.current-bid{min-height:90px;max-height:125px;gap:14px;padding:12px}.current-bid strong{font-size:45px}.current-bid .die-space{--s:38px}.bid-builder{gap:6px}.face-choice{min-height:47px}.bid-help{font-size:9px;min-height:11px}.current-bid.empty .mini-cup{width:42px;height:49px;font-size:22px}.count-verdict{padding:2px 0 8px;gap:32px}.count-verdict b{font-size:29px}.count-verdict .die-space{--s:30px}.hand-line{min-height:43px;padding:5px 9px}.hand-line .die-space{--s:20px}.hand-line .dice-row{gap:11px}.task-card{padding:10px}.task-card strong{font-size:13px}.imposter-result{min-height:140px;padding:15px;gap:9px}.imposter-result>strong{font-size:29px}.phase-result{gap:8px}.result-links button{min-height:31px}.hand-pages{gap:20px}.secret-card{min-height:140px}.secret-back strong{font-size:30px}}
@media(max-height:640px){.in-room .party-header{height:51px}.in-room .brand-stamp{height:31px;width:29px;font-size:22px}.stage-inner{padding-top:9px;gap:7px}.stage-heading h2{font-size:24px}.stage-heading>p:last-child:not(.eyebrow){font-size:10px}.stage-bottom{gap:6px}.round-meta{padding-top:5px}.roster{gap:5px}.person{padding:5px;min-height:39px}.person .avatar{width:23px;height:23px}.player-label{font-size:10px}.room-ticket strong{font-size:27px}.room-ticket{padding:8px;gap:3px}.room-ticket small{font-size:9px}.lobby-settings,.lobby-settings .text-button{min-height:25px}.phase-lobby .fine,.phase-bid .fine{display:none}.turn-medallion{display:none}.hint-chip{padding:6px}.discussion-mark{display:none}.vote-person{padding:7px;min-height:42px}.vote-grid{gap:5px}.vote-progress{font-size:10px}.vote-person .avatar{width:23px;height:23px}.current-bid{min-height:72px;max-height:90px;gap:12px;padding:9px}.current-bid strong{font-size:32px}.current-bid .die-space{--s:30px}.current-bid small{font-size:9px}.bid-caption{font-size:9px}.current-bid.empty .mini-cup{width:34px;height:40px;font-size:20px}.own-dice-bar{min-height:38px;padding:7px}.bid-builder{gap:4px;grid-template-columns:1fr 130px}.face-choice{min-height:44px}.face-choice .die-space{--s:22px}.bid-help{margin:0}.count-stepper input{min-height:37px;font-size:20px}.step{min-height:37px}.count-verdict{padding:0 0 5px}.count-verdict b{font-size:26px}.hand-line{min-height:38px;padding:4px 8px}.hand-line .die-space{--s:18px}.hand-line .dice-row{gap:9px}.hand-line>span:first-child{font-size:9px}.task-card{padding:8px}.task-card small{font-size:8px}.task-card strong{font-size:12px}.task-buttons .primary{min-height:31px;padding:5px 10px}.task-buttons .quiet{min-height:26px}.phase-result{gap:6px}.phase-result .fine{font-size:8px}.imposter-result{min-height:120px;padding:13px;gap:8px}.imposter-result svg{width:40px}.imposter-result>strong{font-size:25px}.secret-front svg{width:60px}.secret-front,.secret-back{gap:9px;padding:20px 14px}.secret-back strong{font-size:26px}.secret-back>span{font-size:11px}.secret-back .dice-row{padding:10px 0}.secret-card{min-height:135px}.secret-front>b{font-size:10px}.ready-meter{font-size:10px;gap:7px}}
@media(max-width:360px){.live{padding-inline:13px}.in-room .party-header{padding-inline:13px}.player-label{font-size:9px}.roster{gap:4px}.person{gap:4px;padding:5px}.person .avatar{width:22px;height:22px;font-size:8px}.person-status{font-size:6px}.stage-heading h2{font-size:24px}.stage-heading>p:last-child:not(.eyebrow){font-size:10px}.secret-back .die-space{--s:29px}.secret-back .dice-row{gap:16px}.hand-line>span:first-child{width:67px}.hand-line .dice-row{gap:10px}.hidden-dice{letter-spacing:3px}.face-picker{gap:4px}.face-choice .die-space{--s:22px}.primary,.danger{font-size:13px}.live-tools{font-size:8px}.hint-chip b{font-size:10px}.secret-back strong{font-size:27px}.vote-person{gap:5px}.task-card strong{font-size:12px}}
@media(max-height:480px) and (orientation:landscape){.in-room #party-app{max-width:850px}.in-room .party-header{height:45px}.live{grid-template-rows:32px minmax(0,1fr) 26px}.stage-inner{display:grid;grid-template-columns:1fr 1fr;gap:7px 20px;align-content:start}.stage-heading{grid-column:1/-1}.stage-heading h2{font-size:21px}.stage-heading>p:last-child:not(.eyebrow){display:none}.stage-bottom{grid-column:2;grid-row:2/6;align-self:center;width:100%;margin:0}.round-meta{grid-column:1/-1}.secret-card{height:140px;min-height:140px}.phase-secret .ready-meter{grid-column:1}.room-ticket{grid-column:1}.roster{grid-column:1;grid-template-columns:repeat(4,1fr)}.person .avatar,.person-status{display:none}.lobby-settings{grid-column:2}.hint-grid{grid-column:1;grid-row:2/5}.vote-grid{grid-row:2/5}.vote-progress{grid-column:1}.current-bid,.own-dice-bar{grid-column:1}.phase-bid .bid-builder{gap:3px}.phase-bid .face-label{display:none}.phase-reveal{display:flex}.reveal-orb{min-height:100px}.reveal-orb strong{font-size:35px}.reveal-orb svg{width:40px}.reveal-orb:before,.reveal-orb:after{display:none}.reveal-track{margin:0 40px}.imposter-result{grid-column:1}.revealed-hands{grid-column:1;grid-row:3/7}.count-verdict{grid-column:1}.hand-line{min-height:30px}.hand-line .die-space{--s:15px}.hand-pages{grid-column:1}.result-links{grid-column:1}.phase-result .stage-bottom{grid-row:2/8}}
.vote-grid.many{grid-template-columns:repeat(3,minmax(0,1fr))}.vote-grid.many .vote-person{padding:8px 6px;gap:5px;min-height:48px}.vote-grid.many .avatar{display:none}.vote-grid.many .player-label{font-size:11px}.task-buttons{flex-direction:row;align-items:center;gap:3px}.task-buttons .primary{width:auto;min-height:44px;padding:8px 10px}.task-buttons .quiet{min-height:44px;font-size:9px}.phase-result .hand-pages button{min-height:44px;min-width:44px}.vote-person,.face-choice,.count-stepper .step{min-height:44px}.phase-bid.keyboard-open .current-bid{display:none}.phase-hint.keyboard-open .hint-grid{display:none}.keyboard-open .stage-heading>p:last-child:not(.eyebrow){display:none}
@media(max-width:360px){.vote-grid.many .player-label{font-size:10px}.task-buttons .primary{padding:7px;font-size:10px}.task-buttons .quiet{padding:7px;font-size:8px}}
.phase-bid.keyboard-open .own-dice-bar,.phase-bid.keyboard-open .face-label,.phase-bid.keyboard-open .face-picker,.keyboard-open .stage-heading .eyebrow{display:none}.keyboard-open .stage-heading h2{font-size:21px}.keyboard-open .secret-shortcut{min-height:35px}.keyboard-open .round-meta{font-size:8px}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.secret-card-inner{transition:none}.grain{background:#10251c}}
