:root{--table:#fff;--text:#000;--muted:#6e6e73;--line:#0000001f;--ink:#1d1d1f;--button-bg:#007aff;--button-text:#fff;--button2-border:#00000040;--pill-border:#00000040;--switch-on:#34c759;--switch-off:#0000001f;--knob:#fff;--dot-ring:var(--table);--chip-bg:#fff;--chip-border:#0000002e;--chip-pip:#1d1d1f;--sheet-bg:#fff;--backdrop:#00000059;--board-shadow:0 8px 24px #0000001f;--board:#cbd5e1;--tile:#fff;--streak:#c2410c;--warn:#ff3b30;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text);background:var(--table);-webkit-font-smoothing:antialiased;font-family:Inter,system-ui,sans-serif;font-weight:600}:root[data-theme=dark]{--table:#000;--sheet-bg:#1c1c1e;--text:#fff;--muted:#98989d;--line:#ffffff24;--button-bg:#0a84ff;--button2-border:#ffffff4d;--pill-border:#ffffff4d;--switch-on:#30d158;--switch-off:#ffffff29;--chip-border:#ffffff2e;--backdrop:#0009;--board-shadow:none;--board:#000;--tile:#1c1c1e;--streak:#f76b15;--warn:#ff453a;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{background:var(--table);min-height:100dvh;margin:0}h1,h2{margin:0}h1{letter-spacing:-.5px;font-weight:900}button{font:inherit;color:inherit}*{-webkit-tap-highlight-color:transparent}.dice{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}:focus-visible{outline:3px solid var(--text);outline-offset:2px}.screen{flex-direction:column;max-width:480px;margin:0 auto;padding:14px 20px 24px;display:flex}.primary,.secondary{cursor:pointer;border-radius:12px;min-height:52px;padding:0 20px;font-size:17px;font-weight:800}.primary{background:var(--button-bg);color:var(--button-text);border:0}.secondary{color:var(--text);border:2px solid var(--button2-border);background:0 0;font-weight:700}.setup{gap:0;max-width:480px;min-height:100dvh;padding:14px 20px 24px}.setup-head{align-items:center;gap:4px;height:44px;margin-left:-10px;display:flex}.setup-head h1{font-size:24px}.icon-button{cursor:pointer;background:0 0;border:0;border-radius:12px;place-items:center;width:44px;height:44px;padding:0;display:grid}.icon-button svg{width:22px;height:22px}.section-heading{color:var(--muted);margin:24px 0 6px;font-size:15px;font-weight:800}.row{border:0;border-bottom:1px solid var(--line);text-align:left;background:0 0;align-items:center;gap:12px;width:100%;min-height:52px;padding:0;display:flex}button.row{cursor:pointer}.row-label{flex:1;font-size:17px;font-weight:700}.row-value{font-size:16px;font-weight:600}.row-note{color:var(--muted);font-size:15px;font-weight:500}.chevron{width:18px;height:18px;color:var(--muted);flex:none;margin-left:-6px}.check{flex:none;width:20px;height:20px}.dot{width:22px;height:22px;box-shadow:inset 0 0 0 3px var(--dot-ring), 0 0 0 1px var(--chip-border);border-radius:50%;flex:none}.seat-button{border:2px solid var(--pill-border);cursor:pointer;background:0 0;border-radius:999px;min-width:104px;height:36px;padding:0 12px;font-size:15px;font-weight:700;position:relative}.seat-button:before{content:"";position:absolute;inset:-8px -2px}.seat-button.human{border-color:var(--text);background:var(--text);color:var(--table)}.switch{background:var(--switch-off);border-radius:999px;flex:none;width:50px;height:30px;position:relative}.switch:after{content:"";background:var(--knob);border-radius:50%;width:24px;height:24px;transition:left .15s ease-out;position:absolute;top:3px;left:3px}.switch.on{background:var(--switch-on)}.switch.on:after{left:23px}@media (prefers-reduced-motion:reduce){.switch:after{transition:none}}.setup .start{bottom:calc(12px + env(safe-area-inset-bottom));width:100%;min-height:56px;box-shadow:0 0 0 12px var(--table);margin-top:auto;font-size:18px;position:sticky}.setup section:last-of-type{margin-bottom:28px}.game{flex-direction:column;gap:18px;max-width:560px;min-height:100dvh;margin:0 auto;padding:14px 16px 24px;display:flex}.topbar{flex:none;align-items:center;gap:20px;height:40px;display:flex}.title{letter-spacing:-.4px;margin-right:auto;font-size:19px;font-weight:900}.rules-name{color:var(--muted);font-size:15px;font-weight:700;display:none}.menu-button{cursor:pointer;background:0 0;border:0;border-radius:12px;place-items:center;width:44px;height:44px;margin-right:-10px;padding:0;display:grid}.menu-button svg{width:22px;height:22px}.menu-button span{display:none}.play{flex-direction:column;flex:1;justify-content:flex-end;gap:18px;display:flex}.play .board{flex:none}.controls{align-items:center;gap:18px;height:148px;margin-top:4px;display:flex}.controls .dice{width:120px;height:120px}.controls .dice-view{scale:.8}.controls .dice:before{bottom:10px;scale:.8}.controls-side{flex-direction:column;flex:1;gap:12px;min-width:0;display:flex}.controls[data-hand=right]{flex-direction:row-reverse}.roll-tray{align-items:center;gap:8px;height:48px;margin:0;padding:0 5px;list-style:none;display:flex;overflow:hidden}.chip{border:1px solid var(--chip-border);background:var(--chip-bg);border-radius:8px;flex:0 38px;min-width:28px;height:38px;padding:6px}.chip-pips{grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(3,1fr);width:100%;height:100%;display:grid}.chip-pip{border-radius:50%;place-self:center;width:6px;height:6px}.chip-pip.on{background:var(--chip-pip)}.chip.using{outline:3px solid var(--muted);outline-offset:2px}.chip.now{outline:3px solid var(--button-bg);outline-offset:2px}.action-slot{align-items:center;height:52px;display:flex}.hint{margin:0;font-size:16px;font-weight:600;line-height:1.35}.hint>span{display:block}.hint-note{color:var(--muted);font-size:14px}.roll-again{gap:8px;width:100%;display:flex}.roll-again .primary{flex:1;padding:0 12px}.roll-again .secondary{width:80px;padding:0}@media (width>=900px) and (orientation:landscape){.game{gap:16px;max-width:none;height:100dvh;padding:20px 32px}.title{letter-spacing:-.5px;font-size:22px}.rules-name{display:block}.menu-button{width:auto;height:40px;margin-right:0;padding:0 14px;font-size:15px;font-weight:700}.menu-button svg{display:none}.menu-button span{display:inline}.play{flex-direction:row;justify-content:center;align-items:center;gap:48px;min-height:0}.play .board{width:min(704px,100vh - 96px,100vw - 404px)}.controls,.controls[data-hand]{flex-direction:column;justify-content:center;gap:22px;width:260px;height:auto;margin:0}.controls .dice{width:150px;height:150px}.controls .dice-view,.controls .dice:before{scale:1}.controls-side{flex:none;align-items:center;gap:22px;width:100%}.roll-tray{justify-content:center;gap:10px}.chip{flex-basis:40px;height:40px}.action-slot{justify-content:center;width:100%;height:56px}.hint{text-align:center;max-width:210px;font-size:17px;line-height:1.4}}.kick-callout{z-index:3;pointer-events:none;animation:1.4s ease-out forwards callout;position:absolute;inset:0}.kick-callout p{text-align:center;paint-order:stroke fill;white-space:nowrap;margin:0;position:absolute;left:0;right:0}.kick-title{font-weight:900;font-size:calc(55 * var(--u));letter-spacing:calc(-1.7 * var(--u));-webkit-text-stroke:calc(8.5 * var(--u)) #fff;text-shadow:0 calc(5 * var(--u)) calc(15 * var(--u)) #00000059;top:40%}.kick-line{font-weight:800;font-size:calc(17 * var(--u));color:var(--ink);-webkit-text-stroke:calc(4.3 * var(--u)) #fff;top:54%}.kick-callout.wicked .kick-title{font-size:calc(64 * var(--u));letter-spacing:calc(-2 * var(--u));-webkit-text-stroke-width:calc(10 * var(--u))}.kick-callout.win .kick-title{font-size:calc(68 * var(--u));letter-spacing:calc(-2 * var(--u));-webkit-text-stroke-width:calc(10 * var(--u))}@keyframes callout-long{0%{opacity:0}8%{opacity:1}88%{opacity:1}to{opacity:0}}@keyframes callout-slam-long{0%,88%{opacity:1}to{opacity:0}}.kick-callout.win,.kick-callout.finish{animation-name:callout-long}.kick-callout.slam.win,.kick-callout.slam.finish{animation-name:callout-slam-long}@keyframes callout{0%{opacity:0}15%{opacity:1}75%{opacity:1}to{opacity:0}}.kick-callout.slam{animation-name:callout-slam}.kick-callout.slam .kick-title{animation:.3s cubic-bezier(.3,.7,.4,1) both slam}.kick-callout.slam .kick-line{animation:.3s ease-out 90ms both slam-line}@keyframes callout-slam{0%,75%{opacity:1}to{opacity:0}}@keyframes slam{0%{opacity:0;transform:scale(1.4)}45%{opacity:1;transform:scale(.95)}70%{transform:scale(1.02)}to{transform:scale(1)}}@keyframes slam-line{0%{opacity:0;transform:translateY(calc(-6 * var(--u)))}}@media (prefers-reduced-motion:reduce){.kick-callout,.kick-callout.slam .kick-title,.kick-callout.slam .kick-line{animation:none}}.sheet-layer{z-index:10;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet-backdrop{background:var(--backdrop);position:absolute;inset:0}.sheet{width:100%;max-width:480px;padding:8px 20px max(24px, env(safe-area-inset-bottom));background:var(--sheet-bg);color:var(--text);border-radius:16px 16px 0 0;animation:.2s ease-out sheet-up;position:relative}.sheet-title{color:var(--muted);padding:14px 0 6px;font-size:15px;font-weight:800}.sheet-rows{flex-direction:column;display:flex}.sheet-row .row-value{color:var(--muted);font-weight:600}.sheet-exits{margin-top:24px}.sheet-exits .sheet-row{justify-content:flex-start}.sheet-row{border:0;border-bottom:1px solid var(--line);text-align:left;cursor:pointer;background:0 0;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:52px;padding:0;font-size:17px;font-weight:700;display:flex}.sheet-row:last-child{border-bottom:0}.sheet-row .row-text{flex-direction:column;gap:2px;padding:10px 0;display:flex}.sheet-row .row-text .row-note{line-height:1.35}@keyframes sheet-up{0%{transform:translateY(100%)}}@media (prefers-reduced-motion:reduce){.sheet{animation:none}}.board{aspect-ratio:1;--u:calc(100cqw / 600);border-radius:calc(16 * var(--u));width:100%;box-shadow:var(--board-shadow);position:relative;container-type:inline-size}.board svg{width:100%;height:100%;display:block}.piece{transition:transform .12s linear}.piece.movable>.body{transform-box:fill-box;transform-origin:50%;animation:.9s ease-in-out infinite alternate pulse}@keyframes pulse{to{transform:scale(1.18)}}@media (prefers-reduced-motion:reduce){.piece{transition:none}.piece.movable>.body{stroke:var(--ink);animation:none}}.hit{aspect-ratio:1;cursor:pointer;background:0 0;border:0;border-radius:50%;width:max(44px,6.6%);padding:0;position:absolute;transform:translate(-50%,-50%)}.hit:focus-visible{outline:3px solid var(--ink);outline-offset:2px}.yard-label,.yard-labourer{width:calc(232 * var(--u));height:calc(36 * var(--u));pointer-events:none;white-space:nowrap;align-items:center;display:flex;position:absolute}.yard-label{padding:0 calc(12 * var(--u)) 0 calc(16 * var(--u));justify-content:space-between}.yard-name{text-overflow:ellipsis;min-width:0;font-weight:800;font-size:calc(17 * var(--u));overflow:hidden}.yard-label.active .yard-name{font-weight:900;font-size:calc(18 * var(--u))}.yard-home{font-weight:600;font-size:calc(14 * var(--u));padding-right:calc(4 * var(--u))}.yard-place{font-weight:800;font-size:calc(15 * var(--u));padding-right:calc(4 * var(--u))}.yard-tag{font-weight:800;font-size:calc(13 * var(--u));padding:calc(4 * var(--u)) calc(9 * var(--u));background:#fff;border-radius:999px}.yard-labourer{justify-content:center;gap:calc(6 * var(--u));font-weight:700;font-size:calc(14 * var(--u));line-height:1}.yard-labourer svg{width:calc(16 * var(--u));height:calc(16 * var(--u))}.labourer-owner{height:calc(22 * var(--u));padding:0 calc(9 * var(--u));box-shadow:0 0 0 calc(2 * var(--u)) #fff;border-radius:999px;align-items:center;font-weight:800;line-height:1;display:inline-flex}.dice{perspective:700px;cursor:pointer;background:0 0;border:0;flex:none;place-items:center;width:150px;height:150px;padding:0;display:grid;position:relative}.dice:disabled{cursor:default;filter:saturate(.85)brightness(.96)}.dice:focus-visible{outline:3px solid var(--text);outline-offset:4px;border-radius:24px}.dice:before{content:"";opacity:.9;background:radial-gradient(closest-side,#0f172a6b,#0f172a29 60%,#0f172a00);border-radius:50%;width:84px;height:20px;margin-left:-42px;position:absolute;bottom:14px;left:50%}.dice.rolling:before{animation:.65s ease-out floor-shadow}.dice-view{width:88px;height:88px;transform-style:preserve-3d;display:block;transform:rotateX(-55deg)rotateY(32deg)}.dice.rolling .dice-view{animation:.65s ease-out bounce}.cube{width:88px;height:88px;transform-style:preserve-3d;transition:transform .65s ease-out;display:block;position:relative}.core{background:#cbd5e1;width:86px;height:86px;position:absolute;top:1px;left:1px}.core-b{transform:rotateY(90deg)}.core-c{transform:rotateX(90deg)}.face{box-sizing:border-box;backface-visibility:hidden;background:linear-gradient(145deg,#fff,#eef2f7);border:1px solid #e2e8f0;border-radius:6px;padding:13px;display:grid;position:absolute;inset:0}.face:before{content:"";pointer-events:none;background:#0f172a00;border-radius:5px;transition:background-color .65s ease-out;position:absolute;inset:0}.face.shade-top:before{background:linear-gradient(#fff3d64d,#fff3d614)}.face.shade-front:before{background:linear-gradient(#0f172a24,#0f172a42)}.face.shade-side:before{background:linear-gradient(#0f172a38,#0f172a57)}.face.shade-back:before{background:#0f172a2e}.face-1{transform:translateZ(44px)}.face-6{transform:rotateY(180deg)translateZ(44px)}.face-2{transform:rotateY(90deg)translateZ(44px)}.face-5{transform:rotateY(-90deg)translateZ(44px)}.face-3{transform:rotateX(90deg)translateZ(44px)}.face-4{transform:rotateX(-90deg)translateZ(44px)}.pips{grid-template-rows:repeat(3,minmax(0,1fr));grid-template-columns:repeat(3,minmax(0,1fr));width:100%;height:100%;display:grid;position:relative}.pip{border-radius:50%;place-self:center;width:16px;height:16px}.pip.on{background:#0f172a;box-shadow:inset 0 2px 3px #000000b3,0 1px #fffc}.face-1 .pip.on{background:#e5484d;box-shadow:inset 0 2px 3px #5000008c,0 1px #fffc}.pip.faded{opacity:.35}@keyframes bounce{0%{translate:0}30%{translate:0 -22px}60%{translate:0}78%{translate:0 -7px}to{translate:0}}@keyframes floor-shadow{0%{opacity:.9;transform:scale(1)}30%{opacity:.35;transform:scale(.6)}60%{opacity:.9;transform:scale(1)}78%{opacity:.6;transform:scale(.88)}to{opacity:.9;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.dice.rolling .dice-view,.dice.rolling:before{animation:none}.cube,.face:before{transition:none}}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.chooser{z-index:2;background:var(--sheet-bg);color:var(--text);border:1px solid var(--chip-border);border-radius:12px;flex-direction:column;padding:2px 14px;display:flex;position:absolute}.choice{border:0;border-bottom:1px solid var(--line);cursor:pointer;white-space:nowrap;background:0 0;justify-content:space-between;align-items:center;gap:16px;min-height:44px;padding:0;font-size:15px;font-weight:800;display:flex}.choice:last-child{border-bottom:0}.choice span{color:var(--muted);font-size:14px;font-weight:600}.home{min-height:100dvh;padding-top:56px}.home h1{letter-spacing:-1px;font-size:40px;line-height:1.1}.home p{color:var(--muted);margin:10px 0 0;font-size:17px;font-weight:600}.home-actions{flex-direction:column;gap:12px;margin-top:32px;display:flex}.home-board{width:min(100%,280px,100vh - 420px);min-width:200px;margin:40px auto 0}.results{min-height:100dvh;padding-top:56px}.results h1{letter-spacing:-.8px;margin-bottom:18px;font-size:34px}.results ol{margin:0;padding:0;list-style:none}.results-actions{flex-direction:column;gap:12px;margin-top:36px;display:flex}.fx-layer{z-index:5;pointer-events:none;width:100%;height:100%;position:fixed;inset:0}.dice-slot{z-index:6;flex:none;place-items:center;display:grid;position:relative}.turn-label{white-space:nowrap;align-items:center;gap:6px;height:20px;margin:0;font-size:14px;font-weight:800;display:flex}.turn-dot{background:var(--turn-color);border-radius:50%;flex:none;width:10px;height:10px}.streak-label{color:var(--streak);white-space:nowrap;pointer-events:none;font-size:15px;font-weight:900;position:absolute;top:4px;right:-6px}.controls[data-hand=right] .streak-label{left:-6px;right:auto}.fire-slot{pointer-events:none;flex:1;justify-content:center;align-items:center;min-height:0;margin-bottom:-18px;display:flex;position:relative}.on-fire{z-index:6;color:#f76b15;letter-spacing:-1.5px;white-space:nowrap;paint-order:stroke fill;-webkit-text-stroke:9px #fff;text-shadow:0 3px 8px #0000002e;pointer-events:none;margin:0;font-weight:900;line-height:1;animation:.38s cubic-bezier(.2,.9,.3,1.25) both on-fire-in;position:relative}.on-fire.leaving{animation:.6s ease-in forwards on-fire-out}.on-fire-phone{-webkit-text-stroke-width:min(9px, 2.25vw);font-size:min(58px,14.5vw)}.on-fire-desk{display:none}@keyframes on-fire-in{0%{opacity:0;transform:scale(1.7)rotate(-4deg)}60%{opacity:1}}@keyframes on-fire-out{to{opacity:0;transform:translateY(-10px)scale(.96)}}@media (width>=900px) and (orientation:landscape){.fire-slot{display:none}.on-fire-desk{-webkit-text-stroke:8px #fff;font-size:44px;display:block;position:absolute;bottom:calc(100% + 36px);left:50%;translate:-50%}.streak-label,.controls[data-hand=right] .streak-label{left:auto;right:-10px}}@media (prefers-reduced-motion:reduce){.on-fire,.on-fire.leaving{animation:none}}.board-fx{z-index:2;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.chains{opacity:.6}.chains.slam{animation:.9s cubic-bezier(.3,.7,.4,1) both chains-slam}.chains.fade{animation:.4s ease-out both chains-fade}@keyframes chains-slam{0%{opacity:0;transform:scale(1.6)}22%{opacity:1;transform:scale(.95)}34%{transform:scale(1.02)}44%{opacity:1;transform:scale(1)}to{opacity:.6;transform:scale(1)}}@keyframes chains-fade{0%{opacity:0}}.shimmer-band{opacity:.85;animation:.52s cubic-bezier(.4,0,.3,1) both shimmer}@keyframes shimmer{0%{transform:translate(-44px)}to{transform:translate(40px)}}@media (prefers-reduced-motion:reduce){.chains.slam,.chains.fade,.shimmer-band{animation:none}}.field{flex-direction:column;gap:6px;margin:16px 0;display:flex}.field-label{color:var(--muted);font-size:15px;font-weight:800}.field input{border:1px solid var(--line);min-height:52px;color:var(--text);font:inherit;background:0 0;border-radius:12px;padding:0 14px;font-size:18px}.field input:focus-visible{outline:2px solid var(--text);outline-offset:0;border-color:#0000}.join input{text-transform:uppercase;letter-spacing:3px}.playing-as{align-items:center;gap:8px;margin:16px 0 24px;font-size:17px;font-weight:700;display:flex}.online form{flex-direction:column;display:flex}.online .secondary{margin-top:12px}.text-button{min-height:44px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:0 8px;font-size:15px;font-weight:700;text-decoration:underline}.primary:disabled{background:color-mix(in srgb, var(--button-bg) 40%, var(--table));cursor:default}.secondary:disabled{opacity:.4;cursor:default}.room-code-label{color:var(--muted);margin:16px 0 0;font-size:15px;font-weight:800}.room-code{letter-spacing:6px;margin:0 0 12px;font-size:56px;font-weight:900}p.row{margin:0}.dot.away{opacity:.35}.lobby-watching{margin:10px 0 0}.lobby-waiting{bottom:calc(12px + env(safe-area-inset-bottom));color:var(--muted);text-align:center;background:var(--table);margin:auto 0 0;padding:16px 0;font-size:17px;position:sticky}.setup-error{margin:auto 0 12px;font-size:16px}.setup-error+.start{margin-top:0}.message{text-align:center;justify-content:center;align-items:center;gap:16px;min-height:60vh;font-size:17px}.message .primary,.message .secondary{min-width:160px}.notice{flex-wrap:wrap;flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:44px;font-size:15px;font-weight:700;line-height:1.3;display:flex}.notice.quiet{min-height:0;color:var(--muted);font-size:14px;font-weight:600}.notice button{flex:none;min-height:40px;padding:0 14px;font-size:15px}.dice-wrap{place-items:center;margin-top:8px;display:grid;position:relative}.turn-clock{pointer-events:none;width:calc(100% + 16px);height:calc(100% + 16px);position:absolute;inset:-8px;transform:rotate(-90deg)}.turn-clock circle{fill:none;stroke:var(--button-bg);stroke-width:3px;stroke-linecap:round;transition:stroke-dasharray .25s linear}.turn-clock.warn circle{stroke:var(--warn);stroke-width:4px}.react-button{min-height:44px;padding:0 18px;font-size:16px}.reaction-grid{grid-template-columns:repeat(3,1fr);gap:10px;padding:4px 0 12px;display:grid}.reaction-choice{border:1px solid var(--line);min-height:60px;color:var(--text);font:inherit;cursor:pointer;background:0 0;border-radius:12px;font-size:17px;font-weight:700}.reaction-choice:nth-child(-n+4){font-size:28px}.reaction-bubble{z-index:4;padding:calc(10 * var(--u)) calc(20 * var(--u));background:var(--sheet-bg);color:var(--text);font-weight:800;font-size:calc(30 * var(--u));white-space:nowrap;pointer-events:none;border-radius:999px;animation:2s ease-out forwards bubble;position:absolute;transform:translate(-50%,-50%)}@keyframes bubble{0%{opacity:0;transform:translate(-50%,-30%)scale(.8)}12%{opacity:1;transform:translate(-50%,-50%)scale(1)}80%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){.reaction-bubble{animation:none}}.results-waiting{min-height:52px;color:var(--muted);place-items:center;margin:0;font-size:17px;display:grid}.lobby-offline{color:var(--muted);margin:8px 0 0;font-size:16px}.share-fallback input{font-size:16px}.seat-button:disabled,button.row:disabled{opacity:.4;cursor:default}.setup-note{margin:8px 0 0}
