:root{font-family:Segoe UI,system-ui,sans-serif;color:#f1f1ee;background:#111113;font-synthesis:none;color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 0,#24211c,#0b0b0d 65%)}button,input,select{font:inherit}button{cursor:pointer;transition:background .15s,box-shadow .15s,transform .15s}button:disabled{cursor:default}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #bce986;outline-offset:4px}button:not(:disabled):active{transform:translateY(1px)}.app{max-width:1240px;margin:auto;padding:0 32px 36px}.app-header{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #334447;padding:11px 0}.brand{text-decoration:none;color:#f0eddf;font-size:25px;font-weight:800;letter-spacing:-1px}.brand span{display:none}.header-actions{display:flex;gap:12px;align-items:center}.mode-tag,.match-tag{font-size:12px;color:#b9ccbf;background:#203338;border:1px solid #3c5151;padding:8px 12px;border-radius:30px}.quiet{background:transparent;color:#d6ddda;border:0;padding:10px;font-size:13px}.quiet:hover{color:#bce986}.game-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0 9px}.eyebrow,.section-label{font-size:10px;letter-spacing:1.8px;color:#91b9a7;font-weight:700}h1{font-size:30px;letter-spacing:-1px;margin:7px 0 0;font-weight:700}.game-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}.play-area{min-width:0}.player-strip{display:flex;justify-content:space-between;align-items:center;padding:0 4px 14px;gap:8px;min-height:44px}.bottom-strip{padding:14px 4px 0}.player-label{display:flex;align-items:center;gap:9px;font-size:13px}.player-disc{width:19px;height:19px;border-radius:50%;display:inline-block;flex-shrink:0}.white{background:linear-gradient(145deg,#fff5da,#cdbd97);color:#3e3427}.black{background:linear-gradient(145deg,#526265,#19282c);color:#eee8dc}.player-disc.white{box-shadow:inset 0 0 0 1px #fff5de99,0 2px 3px #0005}.player-disc.black{box-shadow:inset 0 0 0 1px #6d838799,0 2px 3px #0005}.direction{color:#91a2a3;font-size:11px;margin-left:4px}.active-player strong{color:#c5e8a1}.active-player:after{content:"";width:6px;height:6px;border-radius:50%;background:#bce986}.player-stats{display:flex;gap:15px;color:#8ea5a7;font-size:11px}.player-stats b{color:#e2e8dc;margin-left:6px;font-size:13px}.players-overview{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:8px}.player-overview{flex-direction:column;align-items:flex-start;gap:7px}.black-overview{align-items:flex-end}@media(max-width:420px){.player-overview .player-label{flex-wrap:wrap;font-size:12px;gap:5px}.player-overview .direction{font-size:9px}.player-overview .player-stats{gap:8px}}.board-clocks{display:flex;justify-content:center;gap:38px;margin:-4px 0 20px}.round-clock{--clock-color: #93a68b;display:grid;justify-items:center;gap:8px;color:#abbab7}.clock-player{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:600}.clock-player .player-disc{width:12px;height:12px}.clock-face{width:80px;height:80px;position:relative;border-radius:50%;background:radial-gradient(circle at 40% 25%,#314a49,#14272b 72%);box-shadow:0 5px 15px #0003,inset 0 0 0 1px #ffffff08}.clock-face svg{width:100%;height:100%;transform:rotate(-90deg)}.clock-track,.clock-reserve-ring{fill:none;stroke-width:4}.clock-track{stroke:#405252}.clock-reserve-ring{stroke:var(--clock-color);stroke-linecap:round}.clock-center{position:absolute;inset:13px;display:flex;flex-direction:column;align-items:center;justify-content:center}.clock-center small{font-size:8px;letter-spacing:1px;color:#8ea5a2}.clock-center b{font-size:25px;font-variant-numeric:tabular-nums;line-height:1.1;color:#e9eddf}.clock-reserve-label{position:absolute;bottom:-4px;left:50%;transform:translate(-50%);padding:2px 7px;border:1px solid #405252;border-radius:10px;background:#182c2e;color:var(--clock-color);font-size:10px;font-weight:700;font-variant-numeric:tabular-nums}.round-clock.clock-running{--clock-color: #c6ed9c;color:#e6f2d7}.clock-running .clock-face{box-shadow:0 0 18px #c6ed9c12,0 5px 15px #0003}.round-clock.clock-low{--clock-color: #efaf6a}@media(max-width:420px){.board-clocks{gap:28px;margin-bottom:16px}.clock-face{width:70px;height:70px}.clock-center b{font-size:22px}}@media(max-width:720px){.player-strip{flex-wrap:wrap}.player-stats{flex-wrap:wrap;gap:8px}}.board-frame{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;padding:15px;border-radius:12px;background:linear-gradient(130deg,#886341,#503a28);box-shadow:0 15px 40px #0003,inset 0 1px #bc9162;border:1px solid #a3835c}.board-surface{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:118px 0;background:#cfb98f;border-radius:4px;box-shadow:inset 0 0 15px #32281f35;height:520px;min-height:0;overflow:hidden}.quadrant{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:0 4px}.top-left{grid-area:1 / 1}.top-right{grid-area:1 / 3}.bottom-left{grid-area:2 / 1}.bottom-right{grid-area:2 / 3}.point{position:relative;display:flex;flex-direction:column;align-items:center;padding:20px 2px 5px;width:100%;min-width:0;background:transparent;border:0;border-radius:2px;color:#392e24;isolation:isolate}.point:before{content:"";position:absolute;inset:20px 3px 0;z-index:-1;clip-path:polygon(0 0,100% 0,50% 100%);background:#a5744e}.point.teal:before{background:#436360}.point.bottom{flex-direction:column-reverse;padding:5px 2px 20px}.point.bottom:before{inset:0 3px 20px;clip-path:polygon(50% 0,100% 100%,0 100%)}.point-number{position:absolute;top:3px;font-size:10px;font-weight:700;color:#534532}.point.bottom .point-number{top:auto;bottom:3px}.checker-stack{--checker-size: 34px;--checker-gap: 2px;display:flex;flex-direction:column;align-items:center;gap:var(--checker-gap);width:100%}.compact-stack{--stack-step: calc((3 * min(var(--checker-size), 100%) + 3 * var(--checker-gap) + var(--stack-extra) * .08 * min(var(--checker-size), 100%)) / (var(--stack-count) - 1));--checker-overlap: calc(min(var(--checker-size), 100%) - var(--stack-step));gap:0}.compact-stack .checker+.checker{margin-top:calc(-1 * var(--checker-overlap))}.point.bottom .compact-stack .checker+.checker{margin-top:0;margin-bottom:calc(-1 * var(--checker-overlap))}.checker{display:block;position:relative;width:min(100%,34px);aspect-ratio:1;border-radius:50%;flex-shrink:0;box-shadow:0 2px 3px #0006,inset 0 0 0 2px #ffffff25,inset 0 0 0 5px #00000012}.checker.white{border:1px solid #e4d7b8}.checker.black{border:1px solid #738284}.point.bottom .checker-stack{flex-direction:column-reverse}.stack-count{position:absolute;z-index:1;padding:2px 5px;border:1px solid #76847b;border-radius:9px;top:29px;font-size:11px;font-weight:800;box-shadow:0 1px 4px #0006}.point.bottom .stack-count{top:auto;bottom:29px}.can-select .checker:first-of-type{box-shadow:0 0 0 2px #c6ed9c,0 2px 5px #0008}.can-select:hover{background:#ffffff20}.point.can-select,.bar-slot:not(:disabled){touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none}.point.can-select:active,.bar-slot:not(:disabled):active{cursor:grabbing}.drag-ghost{position:fixed;width:38px;height:38px;left:0;top:0;transform:translate(-50%,-50%);z-index:20;pointer-events:none;box-shadow:0 5px 12px #0008,0 0 0 2px #c6ed9c}.checker-flight{position:fixed;z-index:30;pointer-events:none}.capture-flight{position:fixed;z-index:31;pointer-events:none}.point.captured-source .liftable-checker{visibility:hidden}.point.moving-source .liftable-checker,.bar-slot.moving-source .checker:last-child{visibility:hidden}.no-moves-label{position:absolute;top:calc(50% + 6px);left:50%;transform:translate(-50%,-50%);white-space:nowrap;font-size:11px;font-weight:700;padding:3px 7px;border-radius:4px;background:#f1e4c7;color:#4b3925}.move-choice.combined-choice{border-color:#bbd893;background:#3c5243;color:#e8f5d5}.point.selected{background:#f4ffcb45;box-shadow:inset 0 0 0 2px #5d7a44}.point.destination{background:#f1ffd12b}.point.flight-target{box-shadow:inset 0 0 0 2px #608644;background:#d9efac3b}.destination-mark{position:absolute;top:45%;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#e3f7c7;color:#3c5a32;border:2px solid #4c6b3e;font-size:20px;font-weight:700;box-shadow:0 2px 8px #0003}.board-frame{position:relative}.board-edge-hints{position:absolute;inset:3px 67px 3px 15px;display:grid;grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr);grid-template-rows:1fr 1fr;pointer-events:none}.edge-hint-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:0 4px;justify-items:center;align-items:start}.edge-hint-row.bottom-left,.edge-hint-row.bottom-right{align-items:end}.edge-hint-cell{width:8px;height:8px}.edge-hint-dot{display:block;width:8px;height:8px;border-radius:50%;background:#81ec62;box-shadow:0 0 0 1px #284b22,0 0 4px #81ec6280}@media(max-width:900px){.board-edge-hints{inset:1px 50px 1px 10px;grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr)}}@media(max-width:420px){.board-edge-hints{inset:1px 43px 1px 8px;grid-template-columns:minmax(0,1fr) 25px minmax(0,1fr)}.edge-hint-row{padding:0 1px}.edge-hint-cell,.edge-hint-dot{width:6px;height:6px}}.bar{position:relative;grid-area:1 / 2 / 3 / 3;background:linear-gradient(90deg,#694c32,#7c593b,#60462f);display:grid;grid-template-rows:1fr 1fr;align-items:center;justify-items:center;box-shadow:inset 0 0 5px #30291c88}.bar-title{position:absolute;top:6px;font-size:8px;letter-spacing:1px;color:#e6caa1}.bar-slot{width:32px;border:0;display:flex;align-items:center;flex-direction:column;gap:9px;color:#eedac0;background:transparent;padding:6px 2px;border-radius:4px;font-size:12px}.bar-slot .checker{width:27px}.bar-slot:disabled{opacity:.75}.black-bar{grid-row:1}.white-bar{grid-row:2}.bar-stack{display:flex;flex-direction:column;align-items:center}.bar-stack .checker+.checker{margin-top:-13px}.bar-slot:not(:disabled){box-shadow:0 0 0 2px #c6ed9c}.bar-slot.selected{background:#c6ed9c55}.bar-line{position:absolute;top:50%;height:1px;width:100%;background:#b2966c88}.board-midline{position:absolute;top:50%;width:100%;transform:translateY(-50%);display:flex;justify-content:space-between;padding:0 12px;color:#62513b;font-size:8px;letter-spacing:2px;pointer-events:none}.off-tray{display:grid;grid-template-rows:1fr 1fr;align-items:center;background:#362d23;border-radius:4px;position:relative}.doubling-cube{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:5;width:30px;height:30px;padding:0;display:grid;place-items:center;border:1px solid #b7a582;border-radius:6px;color:#493824;background:linear-gradient(145deg,#fff0cd,#c7ae7d);box-shadow:2px 3px #8b704d,0 5px 8px #0008,inset 0 1px 2px #fff9;font-size:15px;font-weight:800}.doubling-cube.black{background:linear-gradient(145deg,#536970,#243b40);color:#f5ebd0;border-color:#77908a;box-shadow:2px 3px #14292d,0 5px 8px #0008}.doubling-cube:not(:disabled):hover{box-shadow:0 0 0 2px #c6ed9c,2px 3px #8b704d,0 5px 8px #0008}.doubling-cube:not(:disabled):active{transform:translate(-50%,-50%) translateY(1px)}@media(max-width:900px){.doubling-cube{width:25px;height:25px;font-size:13px}}.tray-title{position:absolute;top:5px;font-size:7px;color:#c5ac8d;letter-spacing:1px}.off-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;border:0;background:transparent;color:#e2cbaa;width:100%;height:100%;padding:12px 3px;position:relative;border-radius:4px}.black-off{grid-row:1}.white-off{grid-row:2}.off-stack{display:flex;flex-direction:column;align-items:center}.off-stack .checker+.checker{margin-top:-21px}.off-slot .checker{width:29px}.off-slot b{font-size:19px}.off-slot small{font-size:9px;color:#a99075}.off-slot.destination{box-shadow:inset 0 0 0 3px #c6ed9c;background:#5b704a55}.off-plus{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:20px;color:#c6ed9c}.control-panel{margin-top:0;background:#1c2d31;border:1px solid #34474b;border-radius:12px;padding:18px;box-shadow:0 10px 30px #0002}.board-info-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 12px}.player-summary{display:flex;align-items:center;gap:11px;min-width:0}.black-summary{flex-direction:row-reverse;text-align:right}.player-summary-details{display:flex;flex-direction:column;gap:5px}.black-summary .player-label,.black-summary .player-stats{justify-content:flex-end}.board-info-row .clock-face{width:64px;height:64px}.board-info-row .clock-center{inset:9px}.board-info-row .clock-center b{font-size:21px}.board-info-row .clock-center small{font-size:7px}.online-status{font-size:10px;color:#9eb9a7;margin-bottom:10px}.online-invite{margin-bottom:12px;font-size:11px;color:#c0d0c3}.online-invite summary{cursor:pointer}.online-invite input{display:block;width:100%;padding:7px;margin:8px 0;font-size:10px;color:#e8eadd;background:#14272b;border:1px solid #405852;border-radius:5px}@media(max-width:420px){.board-info-row{gap:8px}.player-summary{gap:6px}.board-info-row .clock-face{width:54px;height:54px}.board-info-row .clock-center b{font-size:18px}.board-info-row .clock-center small{font-size:6px}.player-summary .player-stats{gap:5px;flex-wrap:nowrap;font-size:9px}.player-summary .player-stats b{font-size:11px}.player-summary .player-label{gap:4px;font-size:11px}.player-summary .direction{display:none}}.online-panel{margin:0 0 20px;padding:16px;border:1px solid #557b61;border-radius:10px;background:#203338;font-size:13px}.online-panel label{display:block;margin:12px 0}.online-panel input{display:block;width:100%;margin-top:6px;padding:9px;background:#101d20;color:#eae9df;border:1px solid #557b61;border-radius:5px}.turn-label{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:700}.board-dice{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:0;z-index:3;pointer-events:none}.physical-dice{position:absolute;inset:0;z-index:3;pointer-events:none}.physical-dice canvas{display:block;width:100%;height:100%}.board-surface[data-physical-dice=true] .die{opacity:0}.board-surface[data-physical-dice=true] .die:after{display:none}.board-dice.landed-white{left:calc(25% + var(--roll-x))}.board-dice.landed-black{left:calc(75% + var(--roll-x))}.board-dice.ready-white{left:25%}.board-dice.ready-black{left:75%}.board-dice.opening-dice{left:0;top:50%;width:100%;transform:none}.board-dice.opening-dice.dice-landing{animation:none}.opening-dice .dice-trigger{position:absolute;top:0;transform:translate(-50%,-50%)}.opening-dice .dice-trigger:first-child{left:25%}.opening-dice .dice-trigger:nth-child(2){left:75%}.opening-dice .dice-trigger:not(:disabled):active{transform:translate(-50%,-50%)}.board-dice.landed-white,.board-dice.landed-black{gap:var(--landed-gap);transform:translate(-50%,calc(-50% + var(--roll-y)))}.board-dice.dice-landing.landed-white{animation:dice-land-left 1.12s ease-out 1s both}.board-dice.dice-landing.landed-black{animation:dice-land-right 1.12s ease-out 1s both}@keyframes dice-land-right{0%{left:75%;gap:0;transform:translate(-50%,calc(-50% - 18px))}40%{left:75%;gap:0;transform:translate(-50%,calc(-50% - 25px))}60%{left:72%;gap:2px;transform:translate(-50%,-50%)}73%{left:74%;gap:var(--landed-gap);transform:translate(-50%,calc(-50% - 5px))}88%{left:calc(75% + var(--roll-x));gap:var(--landed-gap);transform:translate(-50%,calc(-50% + var(--roll-y) + 1px))}to{left:calc(75% + var(--roll-x));gap:var(--landed-gap);transform:translate(-50%,calc(-50% + var(--roll-y)))}}@keyframes dice-land-left{0%{left:25%;gap:0;transform:translate(-50%,calc(-50% - 18px))}40%{left:25%;gap:0;transform:translate(-50%,calc(-50% - 25px))}60%{left:28%;gap:2px;transform:translate(-50%,-50%)}73%{left:26%;gap:var(--landed-gap);transform:translate(-50%,calc(-50% - 5px))}88%{left:calc(25% + var(--roll-x));gap:var(--landed-gap);transform:translate(-50%,calc(-50% + var(--roll-y) + 1px))}to{left:calc(25% + var(--roll-x));gap:var(--landed-gap);transform:translate(-50%,calc(-50% + var(--roll-y)))}}.dice-trigger{position:relative;display:grid;place-items:center;padding:0;border:0;background:transparent;pointer-events:auto;border-radius:7px}.dice-trigger.roll-ready{cursor:pointer}.dice-trigger.roll-ready .die,.dice-trigger.roll-ready .empty-die{animation:dice-hover 2.2s ease-in-out infinite}.dice-trigger.roll-ready .dice-cube{animation:dice-idle-spin 4s linear infinite}.dice-trigger.roll-ready:nth-child(2) .die,.dice-trigger.roll-ready:nth-child(2) .empty-die{animation-delay:-.8s}.dice-trigger.roll-ready:nth-child(2) .dice-cube{animation-delay:-1s}.dice-trigger.roll-ready .empty-die{background:#e9dfc5;color:#63543c;border:1px solid #a08a63}.dice-trigger.roll-ready:hover{filter:brightness(1.12)}@keyframes dice-hover{0%,to{transform:translateY(-7px)}50%{transform:translateY(-16px)}}@keyframes dice-idle-spin{0%{transform:rotateX(-18deg) rotateY(0) rotate(-6deg)}to{transform:rotateX(342deg) rotateY(360deg) rotate(-6deg)}}.board-actions{position:absolute;inset:0;z-index:4;pointer-events:none}.board-action{position:absolute;left:50%;transform:translate(-50%,-50%);pointer-events:auto;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:32px;padding:5px 8px;border-radius:6px;border:1px solid #66543c;background:#f0e5cb;color:#493a28;font-size:10px;font-weight:700;box-shadow:0 2px 5px #0003}.board-action:not(:disabled):active{transform:translate(-50%,calc(-50% + 1px))}.confirm-action{top:calc(50% + 36px)}.undo-action{top:calc(50% + 36px);left:calc(50% - 67px);width:28px;min-height:28px;padding:0;border-radius:50%}.undo-action>span:first-child{font-size:18px}.board-action>span:first-child{font-size:15px;line-height:1}.confirm-action{background:#c4e79a;border-color:#617947;color:#263f23}.board-action:hover{background:#fff2d8}.confirm-action:hover{background:#d5f2b1}.die{--die-size: 40px;--die-half: 20px;position:relative;width:var(--die-size);height:var(--die-size);background:transparent;perspective:300px}.die.white{--face-fill: linear-gradient(145deg, #fff9e8, #dfd1ad);--face-edge: #c1ac86;color:#483726}.die.black{--face-fill: linear-gradient(145deg, #566c72, #253a40);--face-edge: #82918c;color:#fff7de}.die:after{content:"";position:absolute;left:-5px;right:-5px;bottom:-10px;height:13px;border-radius:50%;background:#32261b55;filter:blur(4px);z-index:-1}.dice-cube{display:block;position:relative;width:100%;height:100%;transform-style:preserve-3d;transform:translateZ(calc(-1 * var(--die-half))) rotateX(0) rotateY(0) rotate(0)}.dice-face{position:absolute;inset:0;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:3px;padding:7px;border-radius:6px;background:var(--face-fill);border:1px solid var(--face-edge);box-shadow:inset 0 0 0 1px #ffffff15;backface-visibility:hidden}.dice-unknown{grid-area:1 / 1 / 4 / 4;display:grid;place-items:center;font-size:23px}.face-front{transform:translateZ(var(--die-half))}.face-back{transform:rotateY(180deg) translateZ(var(--die-half))}.face-right{transform:rotateY(90deg) translateZ(var(--die-half))}.face-left{transform:rotateY(-90deg) translateZ(var(--die-half))}.face-top{transform:rotateX(90deg) translateZ(var(--die-half))}.face-bottom{transform:rotateX(-90deg) translateZ(var(--die-half))}.die.rolling .dice-cube{animation:dice-tumble 1.12s ease-out 1s both}.dice-trigger:nth-child(2) .die.rolling .dice-cube{animation-delay:1.04s;animation-name:dice-tumble-second}@keyframes dice-tumble{0%{transform:translate(-18px,-15px) rotateX(-195deg) rotateY(-342deg) rotate(-96deg)}30%{transform:translate(9px,-24px) rotateX(180deg) rotateY(200deg) rotate(210deg)}60%{transform:rotateX(600deg) rotateY(850deg) rotate(590deg)}76%{transform:rotateX(670deg) rotateY(1030deg) rotate(685deg)}90%{transform:rotateX(723deg) rotateY(1083deg) rotate(716deg)}to{transform:translateZ(calc(-1 * var(--die-half))) rotateX(720deg) rotateY(1080deg) rotate(720deg)}}@keyframes dice-tumble-second{0%{transform:translate(18px,-10px) rotateX(165deg) rotateY(378deg) rotate(84deg)}35%{transform:translate(-8px,-26px) rotateX(-280deg) rotateY(-260deg) rotate(-250deg)}60%{transform:rotateX(-610deg) rotateY(-900deg) rotate(-600deg)}78%{transform:rotateX(-695deg) rotateY(-1040deg) rotate(-705deg)}92%{transform:rotateX(-723deg) rotateY(-1083deg) rotate(-728deg)}to{transform:translateZ(calc(-1 * var(--die-half))) rotateX(-720deg) rotateY(-1080deg) rotate(-720deg)}}.roll-summary{font-size:11px;color:#aacaab;margin:16px 0 8px}.pip{width:6px;height:6px;border-radius:50%;visibility:hidden;background:currentColor;align-self:center;justify-self:center}.pip.visible{visibility:visible}.die.used{opacity:.4}.empty-die{width:43px;height:43px;border:1px dashed #6a8080;border-radius:8px;display:grid;place-items:center;color:#91a6a7;font-size:22px}.instruction{font-size:13px;color:#c2d0cf;line-height:1.7;min-height:67px;margin:8px 0 16px}.primary,.secondary{border-radius:7px;padding:12px 14px;font-size:12px;font-weight:700;min-height:44px}.primary{background:#c4e79a;border:1px solid #c4e79a;color:#273b22;width:100%}.primary:hover:not(:disabled){background:#d3f0b0}.primary:disabled{background:#33464a;color:#8ea1a2;border-color:#455b5c}.secondary{color:#d9e4db;background:#253a3e;border:1px solid #48605f}.secondary:hover:not(:disabled){background:#34504e}.secondary:disabled{opacity:.4}.draft-list{padding-left:22px;font-size:12px;color:#d3dfcc;line-height:1.9;margin:14px 0}.move-choices{border-top:1px solid #3d5153;padding-top:16px;margin-top:14px}.move-choice{display:block;width:100%;text-align:left;color:#d7e9c5;background:#2c4241;border:1px solid #536d5a;border-radius:5px;padding:10px 12px;margin-top:7px;min-height:44px;font-size:12px}.cube-panel{display:flex;gap:12px;align-items:center;padding-top:20px;margin:22px 0 12px;border-top:1px solid #3a4b4e}.cube-value{width:39px;height:39px;display:grid;place-items:center;border:1px solid #b6a982;color:#ede5c9;border-radius:7px;font-size:19px;font-weight:800;background:#39433e}.cube-panel strong{display:block;font-size:11px}.cube-panel small{display:block;font-size:10px;color:#92a8a5;margin-top:5px}.full-width{width:100%}.settings{display:flex;flex-direction:column;gap:14px;margin-top:22px;padding-top:18px;border-top:1px solid #3a4b4e;color:#a8bcbc;font-size:11px}.settings label{display:flex;align-items:center;gap:8px;cursor:pointer;min-height:24px}.settings input{accent-color:#c4e79a;width:15px;height:15px}.setting-hint{display:block;width:100%;font-size:10px;line-height:1.6;color:#a8bcbc;margin-top:-7px}.double-answer{display:grid;gap:9px}.finish-panel{display:grid;gap:15px;color:#c4e79a;font-size:14px}.game-footer{display:flex;justify-content:space-between;font-size:10px;color:#83999b;margin:24px 0}.help-panel{background:#20363a;border:1px solid #45605d;padding:18px 24px;border-radius:10px;margin-bottom:24px}.help-panel h2{font-size:17px;margin-top:0}.help-panel p{font-size:13px;line-height:1.8;color:#c9d4d1}.history{border-top:1px solid #33484b;padding:16px 0;color:#b5c6c4;font-size:12px}.history summary{cursor:pointer;min-height:30px}.history summary span{font-size:10px;color:#7d9597;margin-left:12px}.history ol{max-height:200px;overflow:auto;padding-left:24px;line-height:2}.error{color:#ffdca8;font-size:12px;line-height:1.6}.new-game-dialog{max-width:420px;width:calc(100% - 32px);border:1px solid #637e70;background:#203338;color:#e6eddf;border-radius:14px;padding:28px}.new-game-dialog::backdrop{background:#091517cc;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.new-game-dialog h2{margin:0 0 15px;font-size:23px}.new-game-dialog p{color:#b6c9c8;font-size:13px;line-height:1.7}.new-game-dialog label{display:block;font-size:12px;margin:20px 0 8px}.new-game-dialog select{width:100%;padding:12px;border-radius:7px;border:1px solid #5d7773;background:#152b2e;color:#eceddf}.dialog-actions{display:flex;gap:10px;margin-top:25px}.dialog-actions button{flex:1}.app[data-reduced-motion=true] *{animation:none!important;transition:none!important}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(min-width:1100px){.board-surface{height:580px}.checker{width:min(100%,39px)}.checker-stack{--checker-size: 39px;--checker-gap: 3px}}@media(max-width:900px){.app{padding:0 20px 24px}.game-layout{grid-template-columns:minmax(0,1fr);gap:16px}.control-panel{padding:16px}.board-frame{padding:10px;grid-template-columns:minmax(0,1fr) 35px;gap:5px}.board-surface{grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr);height:460px}.bar-slot{width:26px}.bar-slot .checker{width:23px}.off-slot .checker{width:24px}.quadrant{padding:0 2px}.off-stack .checker+.checker{margin-top:-18px}.point{padding-left:1px;padding-right:1px}.point:before{left:2px;right:2px}.mode-tag{display:none}.brand{font-size:23px}}@media(max-width:720px){.app{padding:0 14px 20px}.app-header{padding:8px 0;gap:8px}.header-actions{gap:2px}.quiet{padding:8px 6px;font-size:11px}.brand{font-size:21px}.game-heading{padding:5px 0 7px}h1{font-size:24px}.eyebrow{font-size:8px;letter-spacing:1.2px}.match-tag{padding:7px 9px;font-size:10px}.game-layout{grid-template-columns:minmax(0,1fr);gap:22px}.board-surface{height:560px}.checker{width:min(100%,38px)}.checker-stack{--checker-size: 38px}.control-panel{margin-top:0;padding:18px}.dice-row{padding:14px 0 10px;min-height:65px}.instruction{min-height:0;margin:8px 0 15px}.cube-panel{margin-top:18px}.settings{flex-direction:row;flex-wrap:wrap;gap:18px}.game-footer{gap:10px;line-height:1.7}.move-choices{display:flex;flex-wrap:wrap;gap:8px}.move-choices .section-label{width:100%}.move-choice{width:auto;margin:0;flex:1 1 120px}.player-stats{gap:10px}.undo-actions button{font-size:12px}.bar-slot{min-height:54px}.off-slot{min-height:70px}}@media(max-width:420px){.app{padding:0 10px 20px}.board-frame{padding:8px;grid-template-columns:minmax(0,1fr) 31px;gap:4px}.board-surface{grid-template-columns:minmax(0,1fr) 25px minmax(0,1fr);height:420px;gap:110px 0}.quadrant{padding:0 1px}.board-action{min-height:36px;padding:5px 7px;font-size:10px}.board-dice{gap:0}.undo-action{min-height:28px}.die{--die-size: 34px;--die-half: 17px}.dice-face{padding:5px}.pip{width:5px;height:5px}.checker{width:100%}.checker-stack:not(.compact-stack){gap:2px}.point-number{font-size:9px}.point:before{left:1px;right:1px}.bar-slot{width:23px}.bar-slot .checker{width:20px}.off-slot .checker{width:21px}.off-stack .checker+.checker{margin-top:-15px}.bar-stack .checker+.checker{margin-top:-11px}.board-midline{font-size:6px;letter-spacing:1px}.direction{font-size:9px;margin-left:0}.player-label{gap:6px;font-size:12px}.player-stats{font-size:10px}.player-stats b{font-size:12px;margin-left:3px}.destination-mark{width:21px;height:21px;font-size:16px}.game-heading{gap:5px}.match-tag{font-size:9px;padding:6px 7px}h1{font-size:22px}}@media(max-width:350px){.undo-action{left:calc(50% - 62px);width:24px;min-height:24px}}.game-layout{gap:12px}.under-board{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;min-width:0}.under-board .instruction{flex:1 1 350px;min-height:0;margin:0;line-height:1.5}.under-board .turn-label{font-size:12px;gap:7px}.under-board .roll-summary{margin:0}.under-board>.primary,.under-board>.secondary,.under-board .finish-panel .primary{width:auto;min-height:34px;padding:7px 12px}.under-board .online-status{margin:0}.under-board .online-invite{flex-basis:100%;margin:0}.under-board .online-invite input{display:inline-block;width:min(100%,480px);margin-right:8px}.under-board .settings{flex-basis:100%;flex-direction:row;flex-wrap:wrap;gap:8px 20px;margin:0;padding-top:10px}.under-board .settings label{min-height:30px}.under-board .move-choices{display:flex;flex-wrap:wrap;gap:6px;flex-basis:100%;margin:0;padding:8px 0}.under-board .move-choices .section-label{align-self:center}.under-board .move-choice{width:auto;margin:0;min-height:34px;padding:7px 10px}.under-board .draft-list{display:flex;flex-wrap:wrap;gap:4px 25px;margin:0}.under-board .error{flex-basis:100%;margin:0}.cube-queued{outline:2px solid #c4e79a;outline-offset:3px}.cube-chip{position:absolute;top:50%;right:calc(50% + 24px);transform:translateY(-50%);z-index:20;width:max-content;max-width:min(250px,65vw);display:grid;gap:7px;padding:10px 12px;border:1px solid #69816a;border-radius:11px;background:#203338;color:#eceddf;box-shadow:0 8px 24px #0006;font-size:12px;line-height:1.4}.cube-chip:after{content:"";position:absolute;top:calc(50% - 6px);right:-7px;width:12px;height:12px;background:#203338;border-top:1px solid #69816a;border-right:1px solid #69816a;transform:rotate(45deg)}.cube-chip small{color:#b3c8bb;font-size:10px}.cube-chip-actions{display:flex;gap:6px}.cube-chip button{border:1px solid #607861;border-radius:6px;background:#304740;color:#eceddf;padding:5px 12px;min-height:30px;font-size:11px}.cube-chip-actions button:first-child:not(:last-child){background:#c4e79a;color:#273b22}@media(max-width:420px){.cube-chip{right:calc(50% + 19px);font-size:11px;padding:8px 10px}.under-board .instruction{flex-basis:100%}.under-board .settings{gap:5px 12px}}.board-frame{--piece-size:clamp(12px,calc((100vw - 110px) / 14),48px);--bar-width:calc(var(--piece-size) + 16px);--tray-width:calc(var(--piece-size) + 14px);--frame-padding:15px;--frame-gap:8px;grid-template-columns:minmax(0,1fr) var(--tray-width)}.board-surface{grid-template-columns:minmax(0,1fr) var(--bar-width) minmax(0,1fr);height:650px}.checker-stack{--checker-size:var(--piece-size);--checker-gap:2px}.point .checker{width:min(100%,var(--piece-size))}.board-edge-hints{inset:3px calc(var(--frame-padding) + var(--tray-width) + var(--frame-gap)) 3px var(--frame-padding);grid-template-columns:minmax(0,1fr) var(--bar-width) minmax(0,1fr)}.bar-slot{width:calc(var(--piece-size) + 4px);padding:6px 2px}.bar-slot .checker{width:var(--piece-size)}.bar-slot:disabled{opacity:1}.bar-stack .checker+.checker{margin-top:calc(var(--piece-size) * -.72)}.off-slot{padding:24px 5px}.off-stack{gap:3px}.off-slot .checker{width:var(--piece-size);height:calc(var(--piece-size) * .22);aspect-ratio:auto;border-radius:45%/35%;box-shadow:0 2px 3px #0007,inset 0 2px 1px #ffffff60,inset 0 -2px 2px #0005}.off-stack .checker+.checker{margin-top:0}.off-slot .checker:after{content:"";position:absolute;inset:30% 4px auto;height:1px;background:#ffffff30;border-radius:50%}.off-slot .checker.white{background:linear-gradient(#ffefd0,#c1ab7c 70%,#a78a5e)}.off-slot .checker.black{background:linear-gradient(#697e80,#263c40 70%,#172a2e)}.tray-title{left:50%;transform:translate(-50%)}@media(max-width:900px){.board-frame{--frame-padding:10px;--frame-gap:5px}.board-surface{height:580px}}@media(max-width:720px){.board-surface{height:560px}}@media(max-width:420px){.board-frame{--frame-padding:8px;--frame-gap:4px}.board-surface{height:420px}.board-edge-hints{top:1px;bottom:1px}}.side-statistics{display:grid;grid-template-columns:76px minmax(0,1fr) 76px;column-gap:12px;align-items:start}.side-statistics .board-frame{grid-column:2;grid-row:1}.side-statistics .player-summary{flex-direction:column;gap:14px;align-items:center;text-align:center;padding-top:4px}.side-statistics .white-summary{grid-column:1;grid-row:1}.side-statistics .black-summary{grid-column:3;grid-row:1}.side-statistics .player-summary-details{gap:12px;align-items:center}.side-statistics .player-label{flex-wrap:wrap;justify-content:center;gap:5px;font-size:12px}.side-statistics .player-stats{flex-direction:column;gap:10px;font-size:10px;align-items:center}.side-statistics .player-stats span{display:flex;flex-direction:column;gap:3px}.side-statistics .player-stats b{margin:0;font-size:17px}.side-statistics .direction{margin:0}@media(max-width:900px)and (min-width:721px){.side-statistics{grid-template-columns:65px minmax(0,1fr) 65px;column-gap:8px}}@media(max-width:720px){.side-statistics{display:block}.side-statistics .board-info-row{display:grid;margin-bottom:10px}.side-statistics .player-summary{flex-direction:row;align-items:center;gap:7px;padding:0}.side-statistics .black-summary{flex-direction:row-reverse;text-align:right}.side-statistics .player-summary-details{align-items:flex-start;gap:5px}.side-statistics .black-summary .player-summary-details{align-items:flex-end}.side-statistics .player-stats{flex-direction:row;gap:9px}.side-statistics .player-stats span{display:inline}.side-statistics .player-stats b{font-size:12px;margin-left:3px}}.double-request-dialog{width:min(380px,calc(100% - 32px));margin:auto;padding:26px;text-align:center;border:1px solid #78916e;border-radius:16px;color:#eceddf;background:#203338;box-shadow:0 16px 70px #0009}.double-request-dialog::backdrop{background:#09151799;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.double-request-dialog h2{margin:0 0 16px;font-size:21px}.double-request-dialog p{font-size:14px;line-height:1.6;color:#c9d9cd}.double-request-dialog strong{color:#c4e79a;font-size:21px;white-space:nowrap}.double-request-dialog .dialog-actions{margin-top:20px}.side-statistics .black-summary .player-label,.side-statistics .black-summary .player-stats{justify-content:center}.side-statistics .player-label .direction{flex-basis:100%;text-align:center}@media(max-width:720px){.side-statistics .player-label .direction{flex-basis:auto}.side-statistics .black-summary .player-label{justify-content:flex-end}}.board-route-choices{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:25;display:grid;gap:7px;max-width:calc(100% - 30px);padding:14px 30px 14px 14px;background:#203338;color:#eceddf;border:1px solid #78916e;border-radius:10px;box-shadow:0 8px 25px #0006;font-size:12px}.board-route-choices button{border:1px solid #607861;border-radius:5px;padding:8px 10px;color:#eceddf;background:#304740}.board-route-choices .route-close{position:absolute;right:4px;top:3px;padding:0 5px;font-size:18px;border:0;background:transparent}.board-dice.opening-dice{left:0;transform:none}.board-lobby,.board-result{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:26;width:min(350px,calc(100% - 28px));padding:22px;background:#203338f5;color:#eceddf;border:1px solid #78916e;border-radius:15px;box-shadow:0 12px 40px #0006}.board-lobby{display:grid;gap:8px}.board-lobby h2,.board-result h2{font-size:25px;margin:0 0 10px}.board-lobby label{font-size:11px;color:#b6cbbf}.board-lobby select{width:100%;padding:9px;margin-bottom:6px;background:#152b2e;color:#eceddf;border:1px solid #5d7773;border-radius:6px;font-size:12px}.board-lobby .primary{margin-top:8px}.board-lobby .quiet{padding:5px}.board-result{text-align:center}.result-caption{font-size:9px;letter-spacing:1.8px;color:#a8bfaf}.board-result h2{margin:12px 0;color:#d1edb6}.board-result.loss h2{color:#f4cfac}.board-result p{font-size:13px;line-height:1.65;color:#d0dcd2;margin:0 0 14px}.board-result>strong{display:block;font-size:13px;color:#d1edb6;margin-bottom:20px}@media(max-width:420px){.board-lobby,.board-result{padding:14px}.board-lobby{gap:5px}.board-lobby h2,.board-result h2{font-size:21px}.board-lobby select{padding:7px;margin-bottom:3px}}.board-surface:has(.board-lobby) .physical-dice,.board-surface:has(.board-lobby) .board-dice{visibility:hidden}.side-statistics{display:block;position:relative}.side-statistics .board-info-row{display:contents}.side-statistics .player-summary{position:absolute;left:5px;width:42px;z-index:6;padding:0;gap:0}.side-statistics .white-summary{bottom:12px;top:auto}.side-statistics .black-summary{top:12px}.side-statistics .player-summary-details{gap:3px;align-items:center}.side-statistics .player-label{justify-content:center}.side-statistics .player-label strong,.side-statistics .direction{display:none}.side-statistics .player-stats{gap:3px;flex-direction:column;align-items:center}.side-statistics .player-stats span{font-size:0;display:block}.side-statistics .player-stats b{font-size:13px;margin:0}.side-statistics .player-stats span:last-child:before{content:"★ ";font-size:8px}.board-frame{padding-left:52px;--piece-size:clamp(12px,calc((100vw - 150px) / 14),48px)}.board-edge-hints{left:52px}.active-clock{position:absolute;left:3px;top:50%;transform:translateY(-50%);z-index:8}.active-clock .clock-face{width:44px;height:44px}.active-clock .clock-center{inset:7px}.active-clock .clock-center b{font-size:18px}.active-clock .clock-center small{display:none}.active-clock .clock-reserve-label{font-size:9px;bottom:-9px;padding:1px 4px}.pip-scale{position:absolute;left:0;top:10px;bottom:10px;width:3px;display:flex;flex-direction:column;overflow:hidden;border-radius:3px}.pip-scale span{flex-shrink:0}.pip-scale .white{flex:1}.doubling-cube[data-cube-side=top]{top:22px}.doubling-cube[data-cube-side=bottom]{top:calc(100% - 22px)}.tray-title{display:none}.point.destination:before{background:linear-gradient(#b1f17d,#71cd4c);filter:drop-shadow(0 0 4px #7cdb65)}.point.destination{background:#91e86b20}.no-moves-label{top:calc(50% - 10px);font-size:clamp(24px,4vw,38px);font-weight:800;padding:5px 12px;border-radius:8px}@media(max-width:720px){.app{padding:0 3px 12px}.app-header{padding:3px 4px;border:0;min-height:30px}.brand{font-size:17px}.quiet{padding:5px;font-size:10px}.game-heading{padding:0 4px 4px}.eyebrow{font-size:7px}.board-frame{padding:8px 5px 8px 48px;border-radius:6px;--frame-padding:5px;--piece-size:clamp(12px,calc((100vw - 110px) / 14),40px);--bar-width:calc(var(--piece-size) + 8px);--tray-width:calc(var(--piece-size) + 8px);--frame-gap:3px;gap:3px}.board-edge-hints{left:48px}.board-surface{height:calc((100vw - 62px)*1.18);gap:clamp(58px,17vw,100px) 0}.quadrant{padding:0 1px}.point{padding:12px 0 3px}.point.bottom{padding:3px 0 12px}.point:before{inset:12px 1px 0}.point.bottom:before{inset:0 1px 12px}.point-number{font-size:8px;top:1px}.point.bottom .point-number{bottom:1px}.checker-stack{--checker-gap:1px}.bar-slot{width:calc(var(--piece-size) + 4px);padding:2px;min-height:0}.off-slot{padding:30px 2px;min-height:0}.off-stack{gap:1px}.under-board{padding:0 5px}.board-lobby{padding:10px;gap:3px}.board-lobby h2{font-size:19px;margin:0 0 4px}.board-lobby select{padding:5px;margin:0}.board-lobby .primary{padding:7px;min-height:32px;margin-top:3px}}@media(orientation:landscape)and (max-height:600px){.app{max-width:none;padding:0 3px 8px}.app-header{height:28px;padding:2px 4px;border:0}.brand{font-size:16px}.game-heading{display:none}.play-area{width:min(100%,calc((100dvh - 38px)*1.7));margin:auto}.board-frame{height:calc(100dvh - 34px);padding:6px 5px 6px 48px;--piece-size:clamp(12px,min(calc((100vw - 110px) / 14),calc((100dvh - 60px) / 9)),40px);--bar-width:calc(var(--piece-size) + 8px);--tray-width:calc(var(--piece-size) + 8px);gap:3px}.board-surface{height:100%;gap:18% 0}.board-edge-hints{left:48px;right:calc(5px + var(--tray-width) + 3px)}.point{padding:12px 0 2px}.point.bottom{padding:2px 0 12px}.point:before{inset:12px 1px 0}.point.bottom:before{inset:0 1px 12px}.checker-stack{--checker-gap:1px}.off-slot{padding:27px 2px}.board-lobby{padding:8px 12px;gap:2px;width:300px}.board-lobby h2{font-size:18px;margin:0}.board-lobby select{padding:4px;margin:0}.board-lobby .primary{min-height:28px;padding:5px;margin:2px 0 0}.board-lobby .quiet{padding:2px}}.active-clock,.point.destination{background:transparent}.point.destination:before{background:#a5744e;filter:none}.point.teal.destination:before{background:#436360}.point.destination:after{content:"";position:absolute;inset:12px 1px 0;z-index:0;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H100 L50 100 Z' fill='none' stroke='%239aef72' stroke-width='2.4' vector-effect='non-scaling-stroke' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;opacity:.85;filter:drop-shadow(0 0 3px #82ed65) drop-shadow(0 0 7px #82ed6580)}.point.bottom.destination:after{inset:0 1px 12px;transform:scaleY(-1)}@media(min-width:721px)and (min-height:601px){.point.destination:after{inset:20px 3px 0}.point.bottom.destination:after{inset:0 3px 20px}}.brand{display:inline-flex;align-items:center;flex-shrink:0;line-height:1}.brand img{display:block;width:154px;height:auto}@media(max-width:720px){.brand img{width:112px}}@media(orientation:landscape)and (max-height:600px){.brand img{width:108px}}.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px}.theme-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}@media(max-width:720px){.theme-label{display:none}.theme-toggle{padding:5px;min-width:28px}}html[data-theme=light]{color-scheme:light;color:#203d38;background:#f6f1e7}html[data-theme=light] body{background:radial-gradient(ellipse at 30% 15%,#d7e4d788,transparent 60%),#f6f1e7}html[data-theme=light] .app-header{border-color:#c9d4c7}html[data-theme=light] .quiet{color:#284d43}html[data-theme=light] .quiet:hover{color:#0b6b45}html[data-theme=light] .mode-tag,html[data-theme=light] .match-tag{background:#e5ece0;color:#335c4a;border-color:#becdb8}html[data-theme=light] .eyebrow,html[data-theme=light] .section-label{color:#416e58}html[data-theme=light] :is(.instruction,.settings,.setting-hint,.game-footer,.history,.online-status,.online-invite,.draft-list,.roll-summary){color:#456355}html[data-theme=light] :is(.settings,.history,.move-choices){border-color:#c7d3c3}html[data-theme=light] .history summary span{color:#597768}html[data-theme=light] .error{color:#973b18}html[data-theme=light] :is(.board-lobby,.board-result,.new-game-dialog,.double-request-dialog,.board-route-choices,.cube-chip,.help-panel,.online-panel){color:#203d38;background:#fbf8f0f7;border-color:#9bae91;box-shadow:0 10px 30px #243b2826}html[data-theme=light] :is(.board-lobby label,.board-result p,.new-game-dialog p,.double-request-dialog p,.help-panel p,.cube-chip small,.result-caption){color:#49634d}html[data-theme=light] :is(.board-result h2,.board-result>strong,.double-request-dialog strong,.finish-panel){color:#2d6b38}html[data-theme=light] .board-result.loss h2{color:#973b18}html[data-theme=light] :is(.board-lobby select,.new-game-dialog select,.online-invite input,.online-panel input){color:#203d38;background:#fffdf7;border-color:#a4b59a}html[data-theme=light] :is(.secondary,.board-route-choices button,.cube-chip button,.move-choice){color:#254b3b;background:#e6eedf;border-color:#a3b995}html[data-theme=light] :is(.secondary,.move-choice):hover:not(:disabled){background:#d7e6cc}html[data-theme=light] .primary{background:#c4e79a;color:#273b22;border-color:#8daf6d}html[data-theme=light] .primary:disabled{color:#687763;background:#d8dfd1;border-color:#bcc8b3}html[data-theme=light] .cube-chip:after{background:#fbf8f0;border-color:#9bae91}html[data-theme=light] .new-game-dialog::backdrop,html[data-theme=light] .double-request-dialog::backdrop{background:#293f3266}html[data-theme=light] .board-route-choices .route-close{background:transparent}.double-request-dialog .double-decision-timer{font-size:2.5rem;font-weight:800;margin:.5rem 0;font-variant-numeric:tabular-nums}.board-frame{grid-template-rows:minmax(0,1fr)}.quadrant{min-height:0;grid-template-rows:minmax(0,1fr)}.point{min-height:0}.off-tray{min-height:0;grid-template-rows:repeat(2,minmax(0,1fr))}.off-slot{min-height:0;overflow:hidden}.off-stack{flex-shrink:0}.compact-stack{--stack-step:calc(min(var(--checker-size),100%) * var(--stack-step-factor) + var(--checker-gap) * var(--stack-gap-factor))}@media(orientation:landscape)and (max-height:600px){.board-surface{height:calc(100dvh - 48px)}.off-slot{padding:16px 2px}.off-stack{gap:1px}}.off-tray{background:linear-gradient(90deg,#795334,#4a3221 16%,#614027 84%,#98704b);box-shadow:inset 2px 0 5px #20150baa,inset -1px 0 #bd926950}.off-slot{padding:12px 3px 28px;justify-content:flex-start}.off-slot.white-off{padding:28px 3px 12px;justify-content:flex-end}.off-stack{width:100%;min-height:0;max-height:100%;gap:0}.off-slot .checker{width:100%;height:calc(var(--piece-size) * .2);flex-shrink:1;min-height:2px;border-radius:2px;box-shadow:inset 0 1px 1px #fff8,inset 0 -1px 2px #0008}.off-slot .checker.white{background:linear-gradient(#fff2d5,#d9caa8 45%,#af9975)}.off-slot .checker.black{background:linear-gradient(#64777a,#34474b 45%,#1b2a2e)}.off-slot .checker:after{display:none}.seo-links{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:11px}.seo-links a:hover{text-decoration:underline}.board-dice.opening-dice.dice-landing{animation:none;left:0;transform:none}.board-frame,.board-frame *{caret-color:transparent;user-select:none;-webkit-user-select:none}.account-header{display:flex;justify-content:flex-end;margin:-.15rem 0 .3rem}.account-entry{display:flex;align-items:center;gap:.4rem;font-size:.8rem;padding:.2rem .55rem}.account-avatar{display:inline-grid;place-items:center;width:1.7rem;height:1.7rem;border-radius:50%;background:#38615f;color:#fff4cc;font-size:1.2rem}.account-avatar.large{width:3rem;height:3rem;font-size:2rem}.account-dialog{width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box;padding:1.4rem;border:1px solid #526d6b;border-radius:18px;background:var(--panel,#132529);color:inherit}.account-dialog::backdrop{background:#0009}.account-close{float:right;font-size:1.5rem}.account-dialog h2{margin:.1rem 0 1rem}.account-form{display:grid;gap:.8rem;margin:1rem 0}.account-form label{display:grid;gap:.3rem}.account-form input{box-sizing:border-box;width:100%;padding:.65rem;border:1px solid #78938b;border-radius:7px;background:#ffffff0b;color:inherit;font:inherit}.account-form small,.account-note{font-size:.78rem;opacity:.8;line-height:1.5}.account-links{display:flex;flex-wrap:wrap;gap:.5rem;margin:.8rem 0}.account-links button{font-size:.78rem}.account-google{display:block;padding:.65rem;border:1px solid #65837b;border-radius:8px;text-align:center;color:inherit;text-decoration:none}.account-identity{display:flex;gap:.8rem;align-items:center}.account-identity small{display:block;margin-top:.25rem}.account-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:.4rem;margin:1rem 0;text-align:center}.account-stats strong{display:block;font-size:1.4rem}.account-stats span{font-size:.7rem}.account-history{list-style:none;padding:0;margin:0}.account-history li{display:flex;align-items:center;gap:.65rem;padding:.65rem 0;border-bottom:1px solid #65837b55}.account-history li div{flex:1}.account-history small{display:block;font-size:.7rem;margin-top:.3rem}.account-history button{font-size:.75rem}.account-message{color:#a8d789}.account-dialog[open]{color:var(--text,#eaf4e7)}.account-dialog button:not(.quiet):not(.primary){padding:.5rem .7rem;border:1px solid #65837b;border-radius:7px;background:#24403e;color:#eaf4e7}.account-dialog button:disabled{opacity:.55}.account-entry{max-width:180px;min-width:0}.account-entry>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html[data-theme=light] .account-dialog{background:#fbf8f0;color:#203d38;border-color:#9bae91}html[data-theme=light] .account-dialog input{background:#fffdf7;color:#203d38}html[data-theme=light] .account-dialog button:not(.quiet):not(.primary){background:#e6eedf;color:#254b3b;border-color:#a3b995}html[data-theme=light] .account-message{color:#2d6b38}@media(max-width:600px){.account-entry{max-width:105px}.account-dialog{padding:1rem}.account-history li{flex-wrap:wrap}.account-form input{font-size:16px}}.account-avatar{overflow:hidden;flex-shrink:0}.account-avatar img{width:100%;height:100%;object-fit:cover}.avatar-upload{display:grid;gap:.45rem;margin:1rem 0;font-size:.85rem}.avatar-upload small{opacity:.8;font-size:.75rem}.avatar-upload input{max-width:100%;font-size:.8rem}.coin-badge{color:#e6d49a;font-size:.75rem;white-space:nowrap}.wallet-panel{display:grid;gap:.4rem;margin:1rem 0;padding:.75rem;border:1px solid #aa9c6855;border-radius:9px}.wallet-panel small{opacity:.8;font-size:.75rem;line-height:1.4}.coin-game-status{font-size:.8rem;color:#d5d8ab;margin:.5rem 0}.seo-links a{display:inline-flex;align-items:center;text-decoration:none;border:1px solid #65837b70;border-radius:20px;padding:.4rem .7rem;background:#203338;color:#c7d8cf;transition:background .15s}.seo-links a:hover{background:#2c4845}.game-footer{flex-wrap:wrap;gap:.55rem}.seo-links{flex-wrap:wrap;gap:.45rem}.account-entry{max-width:250px}html[data-theme=light] .seo-links a{background:#e5ece0;color:#335c4a;border-color:#becdb8}html[data-theme=light] .coin-badge,html[data-theme=light] .coin-game-status{color:#746024}@media(max-width:600px){.account-entry{max-width:155px}.account-entry>span:nth-child(2){max-width:55px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.seo-links a{font-size:.7rem;padding:.35rem .6rem}}.play-app{max-width:none;padding:0 0 20px}.play-app .game-layout{gap:0}.play-app .play-area{width:min(100%,170svh);margin:0 auto}.play-app .board-frame{height:100svh;border-radius:0}.play-app .board-surface{height:100%;aspect-ratio:auto}.play-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.5rem;padding:.65rem}.play-controls .quiet{border:1px solid #65837b70;border-radius:22px;background:#203338}.play-app .game-footer,.play-app .coin-game-status,.play-app .under-board{padding-inline:10px}.play-app .game-footer{justify-content:center}.play-controls .theme-toggle svg{width:18px;height:18px;vertical-align:middle}.play-controls .theme-toggle{display:flex;align-items:center;gap:.35rem}html[data-theme=light] .play-controls .quiet{background:#e5ece0;border-color:#becdb8}@media(orientation:portrait){.play-app .board-frame{height:min(100svh,125vw)}}.matchmaking-search{text-align:center}.search-spinner{display:block;width:30px;height:30px;margin:0 auto 12px;border:3px solid #9abc8150;border-top-color:#c1e794;border-radius:50%;animation:search-spin 1s linear infinite}@keyframes search-spin{to{transform:rotate(360deg)}}.matchmaking-players{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;font-size:.85rem}.matched-player{display:flex;align-items:center;gap:5px}.matched-player img{width:26px;height:26px;border-radius:50%}.matched-player.you{color:#b9db93}@media(prefers-reduced-motion:reduce){.search-spinner{animation:none}}.result-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.board-result .rematch-offer{font-weight:700;color:#c3e59d}.match-start-countdown{position:absolute;inset:0;z-index:28;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:#102522a8;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);color:#f5f0db;text-align:center}.match-start-countdown strong{display:grid;place-items:center;width:100px;height:100px;font-size:64px;border:3px solid #c7e69b;border-radius:50%;background:#173331;box-shadow:0 0 30px #b9e59b40}.match-start-countdown span{font-size:18px;font-weight:600}.play-app .play-area{width:min(100%,1200px,170svh)}.play-app .board-frame{height:min(100svh,720px)}@media(orientation:portrait){.play-app .board-frame{height:min(100svh,125vw,720px)}}:is(.off-tray,.board-cube-rail) .cube-chip{top:calc(var(--cube-y) + 22px);right:auto;left:50%;transform:translate(-50%);width:118px;max-width:118px;padding:7px 8px;gap:5px;font-size:11px;text-align:center;line-height:1.25}:is(.off-tray,.board-cube-rail) .cube-chip-actions{justify-content:center;gap:5px}:is(.off-tray,.board-cube-rail) .cube-chip button{padding:3px 7px;min-height:26px;min-width:32px;font-size:11px}:is(.off-tray,.board-cube-rail) .cube-chip:after{right:calc(50% - 6px);top:-6px;transform:rotate(-45deg)}:is(.off-tray,.board-cube-rail)[data-cube-side=bottom] .cube-chip{top:calc(var(--cube-y) - 22px);transform:translate(-50%,-100%)}:is(.off-tray,.board-cube-rail)[data-cube-side=bottom] .cube-chip:after{top:auto;bottom:-6px;transform:rotate(135deg)}@media(max-width:900px),(max-height:600px){.board-frame .die{--die-size:clamp(14px,calc(var(--piece-size) * .7),28px);--die-half:calc(var(--die-size) * .5)}.board-frame .dice-face{padding:calc(var(--die-size) * .15)}.board-frame .pip{width:calc(var(--die-size) * .13);height:calc(var(--die-size) * .13)}}@media(max-width:1240px){:is(.off-tray,.board-cube-rail) .cube-chip{right:-3px;left:auto;transform:none}:is(.off-tray,.board-cube-rail)[data-cube-side=bottom] .cube-chip{transform:translateY(-100%)}:is(.off-tray,.board-cube-rail) .cube-chip:after{right:calc(var(--tray-width) * .5 - 3px)}}.language-switch select{font:inherit;font-size:12px;max-width:125px;padding:7px 10px;color:inherit;background:var(--panel,#193330);border:1px solid #69837777;border-radius:20px}.language-switch{display:inline-flex;align-items:center}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.game-account-status{display:inline-flex;align-items:center;flex-wrap:wrap;gap:7px;max-width:100%}.account-session-state{font-size:11px;opacity:.75;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.play-controls .registration-entry{border:1px solid #bad58d;background:#c4df9e;color:#24392a;padding:7px 11px;border-radius:20px;font-size:12px;font-weight:650}.board-cube-rail{position:absolute;right:0;top:0;bottom:0;width:var(--tray-width);pointer-events:none;z-index:5}.board-cube-rail>*{pointer-events:auto}.board-frame[data-viewer=black] .white-bar,.board-frame[data-viewer=black] .white-off{grid-row:1}.board-frame[data-viewer=black] .black-bar,.board-frame[data-viewer=black] .black-off{grid-row:2}.board-frame[data-viewer=black] .white-off{justify-content:flex-start}.board-frame[data-viewer=black] .black-off{justify-content:flex-end}.play-app .opponent-picker{min-width:0;width:100%;border:0;padding:0;margin:8px 0;text-align:left}.play-app .opponent-picker legend{padding:0;margin-bottom:8px;color:#c2b08e;font:500 14px/20px Manrope,sans-serif}.play-app .opponent-picker-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.play-app .opponent-picker-options button{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-width:0;min-height:72px;margin:0;padding:8px 12px;border:1px solid #71532e;border-radius:8px;background:#35251a;color:#e0c898;box-shadow:none;text-align:left;font:500 14px/20px Manrope,sans-serif;cursor:pointer}.play-app .opponent-picker-options button span:last-child{overflow-wrap:anywhere;text-wrap:pretty}.play-app .opponent-picker-icon{display:block;width:24px;height:24px;flex:0 0 24px;background:currentColor;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}.play-app .opponent-picker-options button:hover{background:#4a3321;border-color:#c4994a}.play-app .opponent-picker-options button[aria-pressed=true]{background:#e0b25a;border-color:#e0b25a;color:#24170d}.play-app .opponent-picker-options button:active{transform:scale(.98)}.play-app .opponent-picker-options button:focus-visible{outline:2px solid #ffe7a6;outline-offset:4px}.play-app .opponent-picker:disabled{opacity:.6}.play-app .opponent-picker:disabled button{cursor:wait}.play-app .lobby-timer{display:grid;gap:8px;text-align:left}.play-app .lobby-timer label{color:#c2b08e;font:500 14px/20px Manrope,sans-serif}.play-app .lobby-timer select,.play-app .lobby-timer .setting-hint{margin:0}html .play-app.designer-app .board-lobby{width:min(440px,calc(100vw - 32px));max-width:none}html .play-app.designer-app[data-started=false] .designer-inline-settings{visibility:hidden}@media(max-width:420px){html .play-app.designer-app .board-lobby{top:8px;transform:translate(-50%);max-height:calc(100dvh - 112px)}.play-app .opponent-picker-options button{flex-direction:column;align-items:flex-start;min-height:88px}}.tmr{--size: 96px;--c: #ffbf4d;--glow: rgba(255, 191, 77, .65);--num: #f1f1ee;position:relative;width:var(--size);height:var(--size);border-radius:50%;flex:none;display:grid;place-items:center;font-family:Manrope,system-ui,sans-serif}.tmr .bz{position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle at 35% 22%,#2a2a2f,#0b0b0d 72%);box-shadow:inset 0 0 0 1px #ffffff21,inset 0 calc(var(--size) * .03) calc(var(--size) * .08) #ffffff0f,0 0 0 calc(var(--size) * .04) #0c0c0e,0 0 0 calc(var(--size) * .052) #e0b25a99,0 calc(var(--size) * .1) calc(var(--size) * .18) #0009}.tmr svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);overflow:visible}.tmr .trk{fill:none;stroke:#ffffff12;stroke-width:6.5}.tmr .tks{fill:none;stroke:#ffffff47;stroke-width:3}.tmr .ar{fill:none;stroke:var(--c);stroke-width:6.5;stroke-linecap:round;stroke-dasharray:calc(var(--p, 1) * 100) 100;transition:stroke-dasharray .9s linear,stroke .25s;filter:drop-shadow(0 0 calc(var(--size) * .04) var(--glow))}.tmr .tx{position:relative;text-align:center;line-height:1}.tmr b{display:block;font-weight:700;font-size:calc(var(--size) * .27);font-variant-numeric:tabular-nums;letter-spacing:-.01em;color:var(--num);transition:color .25s}.tmr small{display:block;margin-top:calc(var(--size) * .05);font-weight:800;font-size:calc(var(--size) * .085);letter-spacing:.14em;text-transform:uppercase;color:#b9b8b2}.tmr[data-state=opp]{--c: #46b0b6;--glow: rgba(70, 176, 182, .55)}.tmr[data-state=low]{--c: #d4704c;--glow: rgba(212, 112, 76, .85);--num: #ff9a78}.tmr[data-state=low] .bz{animation:tmr-pulse 1s ease-in-out infinite}.tmr[data-state=reserve]{--c: #e1a266;--glow: rgba(225, 162, 102, .5)}.tmr[data-state=reserve] .ar{stroke-dasharray:calc(var(--p, 1) * 25) 4;stroke-dasharray:4 3.5}.tmr[data-state=idle]{--c: #5c5c61;--glow: transparent;--num: #85847f}.tmr[data-state=idle] .bz{box-shadow:inset 0 0 0 1px #ffffff1a,0 0 0 calc(var(--size) * .04) #0c0c0e,0 0 0 calc(var(--size) * .052) #ffffff29}.tmr[data-state=done]{--c: #d4704c;--glow: rgba(212, 112, 76, .6);--num: #d4704c}@keyframes tmr-pulse{50%{box-shadow:inset 0 0 0 1px #ffffff21,0 0 0 calc(var(--size) * .04) #0c0c0e,0 0 0 calc(var(--size) * .052) #d4704ce6,0 0 calc(var(--size) * .3) #d4704c73}}.tmr.xl{--size: 140px}.tmr.l{--size: 112px}.tmr.m{--size: 84px}.tmr.s{--size: 60px}.tmr.xs{--size: 44px}.tmr.s small,.tmr.xs small,.tmr.s .tks,.tmr.xs .tks{display:none}.tmr.s b{font-size:calc(var(--size) * .3)}.tmr.xs b{font-size:calc(var(--size) * .32)}.tmr.s .ar,.tmr.s .trk,.tmr.xs .ar,.tmr.xs .trk{stroke-width:8}@media(prefers-reduced-motion:reduce){.tmr .ar{transition:none}.tmr[data-state=low] .bz{animation:none}}:root{--majlis-bg: #102b2d;--majlis-panel: #183739;--majlis-text: #f1e9d6;--majlis-muted: #b5c5be;--majlis-accent: #d0ae70;--majlis-line: #c3a57566}html[data-theme=light]{--majlis-bg: #f5efe2;--majlis-panel: #fffaf0;--majlis-text: #263f3b;--majlis-muted: #52665b;--majlis-accent: #94703b;--majlis-line: #92754a66}html:has(.play-app){color:var(--majlis-text);background:var(--majlis-bg)}html:has(.play-app) body{background:radial-gradient(ellipse at 30% 15%,#64858218,transparent 65%),var(--majlis-bg)}.play-app{color:var(--majlis-text)}.play-app :is(button,a,input,select,summary):focus-visible{outline-color:var(--majlis-accent)}.play-app .board-frame{border-color:#bd9e6a;background:repeating-linear-gradient(96deg,transparent 0 12px,#24150c1a 13px 14px),linear-gradient(125deg,#92704a,#513b2a);box-shadow:inset 0 0 0 3px #483426,inset 0 0 0 4px #c1a575,0 18px 45px #0003}.play-app .board-surface{background:#d4bd93;box-shadow:inset 0 0 22px #48342035}.play-app .point:before{background:#a77b52}.play-app .point.teal:before{background:#2c5858}.play-app .bar{background:linear-gradient(90deg,#684c34,#99734c,#62472f);box-shadow:inset 1px 0 #c3a57566,inset -1px 0 #c3a57566}.play-app .off-tray{background:linear-gradient(90deg,#493525,#37291e)}.play-app .point-number{color:#51402b}.play-app .board-frame:before,.play-app .board-frame:after{content:"";position:absolute;width:6px;height:6px;top:3px;transform:rotate(45deg);border:1px solid #e4ce9a;pointer-events:none}.play-app .board-frame:before{left:5px}.play-app .board-frame:after{right:5px}.play-app .checker.white{--wood-face:#e5cfa4;--wood-light:#f7e6bf;--wood-edge:#b59560;--wood-base:#8e7047;--wood-grain:#79522716;--wood-groove:#8b683750}.play-app .checker.black{--wood-face:#51372b;--wood-light:#795542;--wood-edge:#37241c;--wood-base:#211610;--wood-grain:#170c0840;--wood-groove:#170d0870}.play-app .checker{border:1px solid var(--wood-edge);background:repeating-linear-gradient(171deg,transparent 0 9%,var(--wood-grain) 9.5% 10%,transparent 11% 18%),repeating-linear-gradient(7deg,transparent 0 22%,var(--wood-grain) 23% 23.6%,transparent 25% 37%),linear-gradient(145deg,var(--wood-light),var(--wood-face) 48%,var(--wood-face) 76%,var(--wood-edge));box-shadow:0 2px 0 var(--wood-base),0 3px 3px #160d0870,inset 0 1px 1px #fff5,inset 0 -1px 1px #0003}.play-app .checker:before{content:"";position:absolute;inset:9%;border:1px solid var(--wood-groove);border-radius:50%;box-shadow:0 1px #ffffff26,inset 0 1px 1px #00000018;pointer-events:none}.play-app .checker:nth-child(3n+2){background-position:19% 37%,0 28%,0 0}.play-app .checker:nth-child(3n){background-position:43% 13%,0 51%,0 0}.play-app .off-slot .checker{background:linear-gradient(var(--wood-light),var(--wood-edge) 45%,var(--wood-base));border-color:var(--wood-base)}.play-app .off-slot .checker:before{display:none}.play-app .can-select .checker:first-of-type{box-shadow:0 0 0 2px #c6ed9c,0 2px 5px #0008}.play-app :is(.board-lobby,.board-result,.board-route-choices,.cube-chip,.help-panel,.online-panel,.control-panel){background:var(--majlis-panel);color:var(--majlis-text);border-color:var(--majlis-line);border-radius:6px}.play-app :is(.board-lobby,.board-result){box-shadow:0 14px 40px #0005,inset 0 3px var(--majlis-accent)}.play-app :is(.board-lobby,.board-result){max-height:calc(100% - 16px);overflow-y:auto;overscroll-behavior:contain}.play-app :is(.board-lobby,.board-result) h2{font-family:Georgia,Times New Roman,serif;font-weight:400;overflow-wrap:anywhere}html .play-app .primary{background:#d0ae70;border-color:#d0ae70;color:#162f30;border-radius:4px}html .play-app .primary:hover:not(:disabled){background:#e0c18b}html .play-app .primary:disabled{background:var(--majlis-panel);color:var(--majlis-muted);border-color:var(--majlis-line);opacity:.65}html .play-app :is(.secondary,.move-choice,.play-controls .quiet,.seo-links a){background:var(--majlis-panel);color:var(--majlis-text);border-color:var(--majlis-line);border-radius:4px}html .play-app :is(.secondary,.move-choice,.play-controls .quiet):hover:not(:disabled){background:color-mix(in srgb,var(--majlis-panel),var(--majlis-accent) 12%)}html .play-app :is(.instruction,.settings,.setting-hint,.game-footer,.history,.online-status,.online-invite,.draft-list,.roll-summary){color:var(--majlis-muted)}html .play-app :is(.eyebrow,.section-label){color:var(--majlis-accent)}html .play-app :is(.board-lobby select,.online-invite input,.online-panel input,.language-switch select){background:var(--majlis-bg);color:var(--majlis-text);border-color:var(--majlis-line);border-radius:4px}html .play-app .registration-entry{background:#d0ae70;border-color:#d0ae70;color:#162f30}html :is(.new-game-dialog,.double-request-dialog,.account-dialog){--panel: var(--majlis-panel);--text: var(--majlis-text);background:var(--majlis-panel);color:var(--majlis-text);border-color:var(--majlis-line);border-radius:8px}html :is(.new-game-dialog,.double-request-dialog,.account-dialog) :is(input,select){background:var(--majlis-bg);color:var(--majlis-text);border-color:var(--majlis-line)}html :is(.new-game-dialog,.double-request-dialog) p{color:var(--majlis-muted)}html .play-app .cube-chip:after{background:var(--majlis-panel);border-color:var(--majlis-line)}@media(prefers-reduced-motion:reduce){.play-app *,.play-app *:before,.play-app *:after{transition:none!important}}@media(max-width:420px)and (orientation:portrait){.play-app .board-surface:has(.board-lobby){overflow:visible}.play-app .board-lobby{width:min(300px,calc(100vw - 44px));max-width:none;padding:14px;gap:6px}.play-app .board-lobby label{font-size:12px}.play-app .board-lobby select{min-height:40px;padding:7px;font-size:16px}.play-app .board-lobby .primary{min-height:44px;font-size:14px}.play-app .play-controls .quiet,.play-app .language-switch select{min-height:40px}}.play-app .game-account-status{gap:10px;padding:10px 12px;border:1px solid var(--majlis-line);border-radius:6px}.play-app .game-account-status.is-signed-in{border-color:#7caa70;background:#72945214}.play-app .account-session-state{max-width:none;white-space:normal;overflow:visible;font-size:12px;line-height:1.5;opacity:1}.play-app .is-signed-in .account-session-state:before{content:"✓ ";color:#79a35e}.play-app .account-optional{flex-basis:100%;font-size:13px;font-weight:600;color:var(--majlis-text)}.play-app .account-entry{max-width:100%}.play-app .account-entry .account-entry-details{display:flex;flex-direction:column;align-items:flex-start;gap:3px;max-width:none;white-space:normal;overflow:visible;text-align:left;overflow-wrap:anywhere}.account-entry-details>span{font-weight:700}.account-entry-details small{font-size:11px}html .play-app .registration-entry{background:var(--majlis-panel);color:var(--majlis-text);border-color:var(--majlis-line);font-weight:400}.account-guest-guidance{padding:14px;border:1px solid var(--majlis-line);border-radius:6px;margin-bottom:18px}.account-guest-guidance strong{color:var(--majlis-text);font-size:15px}.account-guest-guidance p{font-size:13px;line-height:1.6;color:var(--majlis-muted);margin-block:10px}.account-dialog .account-guest-guidance .secondary{width:100%;min-height:44px;white-space:normal;color:var(--majlis-text);background:var(--majlis-bg);border-color:var(--majlis-line)}@media(max-width:650px){.play-app .game-account-status{width:100%;justify-content:flex-start}.play-app .account-optional{order:-1}.play-app .account-session-state{flex-basis:100%}.play-app .is-signed-in .account-entry{min-height:44px}}@media(max-width:420px){.account-dialog .account-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.account-dialog .account-identity>div{min-width:0;overflow-wrap:anywhere}.account-dialog :is(input,button,.account-form label,.avatar-upload){min-width:0;max-width:100%}.account-dialog .account-links button{white-space:normal;overflow-wrap:anywhere}}.account-language{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-block:18px}.account-language select{max-width:100%;min-height:44px}.play-app .lobby-options{width:100%;text-align:left}.play-app .lobby-options summary{cursor:pointer;padding:10px 0}.play-app .lobby-options[open]{display:grid;gap:6px}.play-app .lobby-options select{width:100%}.play-app .lobby-variant-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;min-width:0;margin:2px 0;padding:3px;border:1px solid var(--majlis-line);border-radius:6px;background:var(--majlis-bg)}.play-app .lobby-variant-switch label{position:relative;margin:0;cursor:pointer}.play-app .lobby-variant-switch span{display:flex;align-items:center;justify-content:center;min-height:36px;padding:6px;border-radius:3px;color:var(--majlis-muted);text-align:center;font-size:12px;line-height:1.3;overflow-wrap:anywhere}.play-app .lobby-variant-switch input:checked+span{background:var(--majlis-panel);color:var(--majlis-text);box-shadow:inset 0 0 0 1px var(--majlis-accent)}.play-app .lobby-variant-switch input:focus-visible+span{outline:2px solid var(--majlis-accent);outline-offset:2px}.play-app .lobby-variant-switch:disabled{opacity:.65}.play-app .dice-roll-hint,.play-app .dice-wait-hint{position:absolute;top:calc(50% + 58px);z-index:5;transform:translate(-50%);margin:0;max-width:40%;padding:8px 12px;border-radius:6px;text-align:center;font-size:13px;line-height:1.3}.play-app .hint-white{left:25%}.play-app .hint-black{left:75%}.play-app .dice-roll-hint{background:var(--majlis-panel);color:var(--majlis-text);border:1px solid var(--majlis-accent);box-shadow:0 3px 12px #0003}.play-app .dice-roll-hint:before{content:"↑";position:absolute;bottom:calc(100% + 3px);left:50%;transform:translate(-50%);color:#162f30;font-size:27px;line-height:1}.play-app .dice-wait-hint{background:#d4bd93e8;color:#162f30;pointer-events:none}.play-app .opening-wait-time{display:block;margin-top:4px;font-weight:700;font-variant-numeric:tabular-nums}.play-app .opponent-connection{width:min(100%,1000px);margin:0 auto 10px;padding:10px 14px;border:1px solid var(--majlis-accent);border-radius:6px;background:var(--majlis-panel);font-size:14px}.play-app .match-conversation{width:min(100%,1000px);margin:12px auto;padding:10px 14px;border:1px solid var(--majlis-line);border-radius:6px;background:var(--majlis-panel)}.play-app .match-conversation summary{cursor:pointer;padding:4px 0}.play-app .match-phrases{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.play-app .match-phrases button{padding:8px 10px;min-height:40px;background:var(--majlis-bg);color:var(--majlis-text);border:1px solid var(--majlis-line);border-radius:6px}.play-app .match-messages{display:grid;gap:5px;margin:0 0 8px;padding:0;list-style:none;font-size:14px;overflow-wrap:anywhere}.play-app .own-message{color:var(--majlis-muted)}.play-app .match-conversation .setting-hint{margin:8px 0 0}.account-dialog{width:min(560px,calc(100vw - 24px));padding:24px;line-height:1.5;overscroll-behavior:contain;scrollbar-gutter:stable}.account-dialog .account-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.account-dialog .account-dialog-heading h2{min-width:0;margin:0;font-family:Georgia,Times New Roman,serif;font-size:26px;font-weight:400;line-height:1.2;overflow-wrap:anywhere}.account-dialog .account-close{float:none;flex:0 0 32px;width:32px;height:32px;padding:0;border:1px solid var(--majlis-line);border-radius:6px;background:var(--majlis-bg);color:var(--majlis-text);line-height:1}.account-dialog .account-language{margin:0 0 18px;font-size:13px}.account-dialog .account-identity{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;margin-bottom:18px}.account-dialog .account-avatar.large{width:64px;height:64px;font-size:32px}.account-dialog .account-identity>div{min-width:0;overflow-wrap:anywhere}.account-dialog .account-identity strong{display:block;font-size:17px}.account-dialog .account-identity small{color:var(--majlis-muted);font-size:12px}.account-dialog .wallet-panel{margin:14px 0;padding:14px;border-color:var(--majlis-line);background:var(--majlis-bg)}.account-dialog .account-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}.account-dialog .account-stats>div{min-width:0;padding:10px 4px;background:var(--majlis-bg);border:1px solid var(--majlis-line);border-radius:6px;overflow-wrap:anywhere}.account-dialog .account-form{gap:16px;margin:18px 0}.account-dialog .account-profile-form{padding:16px;border:1px solid var(--majlis-line);border-radius:8px}.account-dialog .account-form label{gap:7px;font-size:13px}.account-dialog .account-form input{min-width:0;max-width:100%;min-height:44px;padding:10px 12px;font-size:16px}.account-dialog .avatar-upload{min-width:0;margin:0}.account-dialog .avatar-upload input{width:100%;padding:6px;font-size:12px;overflow:hidden}.account-dialog .avatar-upload input::file-selector-button{margin-right:10px;padding:8px 10px;border:1px solid var(--majlis-line);border-radius:4px;color:var(--majlis-text);background:var(--majlis-panel);cursor:pointer}.account-dialog .avatar-upload small{line-height:1.5;color:var(--majlis-muted)}.account-dialog .primary{width:100%;min-height:44px;padding:10px 14px;white-space:normal}.account-dialog .account-history-section{padding:18px 0;border-top:1px solid var(--majlis-line)}.account-dialog .account-history-section h3{margin:0 0 8px;font-size:16px}.account-dialog .account-history li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;padding:12px 0}.account-dialog .account-history li>div{min-width:0;overflow-wrap:anywhere}.account-dialog .account-history li>span{white-space:nowrap;font-variant-numeric:tabular-nums}.account-dialog .account-history button{min-height:36px}.account-dialog .account-security{border-top:1px solid var(--majlis-line);padding-top:16px}.account-dialog .account-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 16px}.account-dialog .account-links>:is(span,a){grid-column:1 / -1}.account-dialog .account-links button{min-width:0;min-height:42px;white-space:normal;overflow-wrap:anywhere}.account-dialog .account-security summary{cursor:pointer;padding:6px 0}@media(max-width:420px){.account-dialog{padding:16px}.account-dialog .account-dialog-heading h2{font-size:23px}.account-dialog .account-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.account-dialog .account-profile-form{padding:12px}.account-dialog .account-links{grid-template-columns:minmax(0,1fr)}.account-dialog .account-history li{grid-template-columns:minmax(0,1fr) auto}.account-dialog .account-history button{grid-column:1 / -1}}@media(max-width:600px){.play-app .dice-roll-hint,.play-app .dice-wait-hint{top:calc(50% + 42px);padding:6px 8px;font-size:11px}}html .designer-app .designer-board-loading{background:#151516;border-color:#c2974c45;box-shadow:inset 0 1px #fff1}.designer-board-loading:before,.designer-board-loading:after{display:none}.designer-board-loading>:is(.board-surface,.off-tray,.pip-scale,.board-edge-hints){visibility:hidden}.designer-loading{position:absolute;inset:0;display:grid;place-items:center;color:#e0b25a;font-size:15px}html .designer-app .board-frame{background:linear-gradient(145deg,#39352d,#111113);border-color:#b68c47}html .designer-app .board-surface{background:#26231e}.designer-app .point:before{background:#b09357}.designer-app .point.teal:before{background:#111113}.designer-app .bar,.designer-app .off-tray{background:linear-gradient(90deg,#111113,#39352d,#111113)}.designer-app .point-number{color:#e9cf9b}.designer-app .checker.black{--wood-face:#232326;--wood-light:#55514a;--wood-edge:#b09357;--wood-base:#080809}html:has(.designer-app) body{background:radial-gradient(ellipse at 50% 0,#24211c,#0b0b0d 65%)}html .play-app.designer-app{max-width:1100px;padding:16px;color:#f1f1ee;background:transparent}.designer-app{--majlis-bg:#111113;--majlis-panel:#20201f;--majlis-text:#f1f1ee;--majlis-muted:#b9b8b2;--majlis-accent:#e0b25a;--majlis-line:#c2974c70}html .designer-app :is(.board-result,.board-route-choices,.cube-chip,dialog){color:#f1f1ee;background:linear-gradient(145deg,#28251f,#111113);border:1px solid #b68c4777;border-radius:20px;box-shadow:0 18px 50px #0008,inset 0 1px #fff2}html .designer-app dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box}html .designer-app .navigation-dialog{width:min(480px,calc(100vw - 24px));padding:24px}.navigation-dialog .dialog-actions{flex-wrap:wrap}html .designer-app dialog :is(p,label,small){color:#c7c2b7}html .designer-app dialog :is(input,select){background:#151517;color:#f1f1ee;border-color:#c2974c70;color-scheme:dark;min-height:44px}.designer-app :is(.cube-chip,.board-route-choices) button{min-height:44px;min-width:44px;border:1px solid #c2974c70;border-radius:10px;background:linear-gradient(145deg,#413a2d,#20201f);color:#ffe7a6}html .designer-app .account-dialog button:not(.quiet):not(.primary){min-height:44px;background:#28251f;color:#e9cf9b;border-color:#c2974c70}html .designer-app .mode-tag{background:#29271f;color:#e9cf9b;border-color:#c2974c70}html[data-theme=light]:has(.designer-app) body{background:radial-gradient(ellipse at 50% 0,#f1e9da,#d4c7b1 75%)}html[data-theme=light] .designer-app .designer-player{color:#30291e}html[data-theme=light] .designer-app .designer-score{color:#5b5449}.designer-header{display:flex;align-items:center;gap:16px;padding:0 12px 16px}.designer-brand{margin-right:auto;display:flex}.designer-brand img{max-width:150px;height:auto}.designer-gear{width:46px;height:46px;padding:11px;border:1px solid #e0b25a60;border-radius:50%;background:linear-gradient(145deg,#37332c,#111112);color:#e0b25a;box-shadow:inset 0 1px #fff2,0 3px 8px #0009}.designer-gear svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.5}.designer-app .board-frame{position:relative;isolation:isolate}.designer-stage{position:absolute;inset:0;z-index:2;pointer-events:none;opacity:0}.designer-stage canvas{display:block;width:100%;height:100%;touch-action:pan-y}.designer-board-ready .designer-stage{opacity:1;pointer-events:auto}html .designer-app .designer-board-ready{background:transparent;border-color:transparent;box-shadow:none}.designer-board-ready:before,.designer-board-ready:after{display:none}html .designer-app .designer-board-ready .board-surface{background:transparent;box-shadow:none;pointer-events:none}.designer-board-ready :is(.quadrant,.bar,.board-dice,.pip-scale,.board-edge-hints,.active-clock){opacity:0;pointer-events:none}.designer-board-ready .off-tray{background:transparent;box-shadow:none;pointer-events:none;z-index:4}.designer-board-ready :is(.off-tray,.board-cube-rail)>:is(.tray-title,.doubling-cube,.off-slot){opacity:0;pointer-events:none}.designer-board-ready :is(.board-lobby,.result,.dice-roll-hint,.dice-wait-hint,.cube-chip){z-index:4;pointer-events:auto}.designer-board-ready .board-lobby{position:absolute}.designer-board-ready:has(.point:focus-visible,.bar-slot:focus-visible,.off-slot:focus-visible,.dice-trigger:focus-visible) .designer-stage{opacity:0;pointer-events:none}.designer-board-ready:has(.point:focus-visible,.bar-slot:focus-visible,.off-slot:focus-visible,.dice-trigger:focus-visible) :is(.quadrant,.bar,.board-dice,.off-tray){opacity:1}.designer-board-ready:has(.off-slot:focus-visible,.doubling-cube:focus-visible) :is(.off-tray,.board-cube-rail)>:is(.doubling-cube,.off-slot){opacity:1}.designer-board-ready:has(.doubling-cube:focus-visible) .designer-stage{opacity:0;pointer-events:none}html .designer-app .designer-board-ready:has(.point:focus-visible,.bar-slot:focus-visible,.off-slot:focus-visible,.dice-trigger:focus-visible) .board-surface{background:#26231e}.designer-player{display:flex;align-items:center;gap:12px;padding:10px 22px;min-height:52px;font-size:15px}.designer-player strong{overflow-wrap:anywhere}.designer-app .board-info-row{display:none}.designer-score{margin-left:auto;font-size:12px;color:#b9b8b2}.designer-player .round-clock{margin-left:auto;flex-shrink:0}.designer-player .clock-face{width:58px;height:58px}.designer-app .board-result,.designer-app .board-route-choices{z-index:5;pointer-events:auto}html .play-app.designer-app .board-lobby .primary{background:linear-gradient(145deg,#ffe7a6,#e0b25a 60%,#a97c2c);color:#251b0e}html .play-app.designer-app .lobby-variant-switch{background:#151517}html .play-app.designer-app .lobby-variant-switch label:has(input:checked) span{background:#403521;color:#ffe7a6;border-color:#e0b25a}.designer-player .player-clock{margin-left:auto}.designer-avatar{flex:0 0 32px;height:32px;border-radius:50%;border:2px solid #b58b46;background:radial-gradient(circle at 35% 25%,#5d5952,#111 70%);box-shadow:0 3px 6px #0008,inset 0 0 0 3px #0006}.designer-avatar.white{background:radial-gradient(circle at 35% 25%,#fff5d7,#b5a17d)}html .designer-app .under-board{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:18px 24px;border:1px solid #c2974c45;border-radius:18px;background:linear-gradient(135deg,#24201aee,#121214),var(--tx-leather);box-shadow:inset 0 1px #fff1,0 12px 32px #0005}.designer-app .under-board :is(.instruction,.roll-summary,.online-status,.draft-list){color:#b9b8b2}html .designer-app .under-board .board-actions{position:static;display:flex;align-items:center;justify-content:center;width:100%;gap:32px;padding:8px 0 16px;pointer-events:auto}html .designer-app .under-board .board-action{position:static;inset:auto;transform:none;display:flex;flex-direction:column;align-items:center;gap:14px;width:132px;min-width:0;padding:0;border:0;background:none;box-shadow:none;color:#e0b25a;font-size:13px;line-height:1.35;white-space:normal}.designer-app .board-action>span:first-child{display:grid;place-items:center;width:84px;height:84px;border-radius:50%;font-size:38px;color:#30220f;background:linear-gradient(150deg,#ffe7a6,#e0b25a 55%,#a97c2c);box-shadow:inset 0 2px 1px #fff9,inset 0 -3px 2px #674513,0 0 0 5px #080809,0 0 0 6px #b78c45,0 8px 0 5px #080809,0 14px 18px #000b}.designer-app .undo-action>span:first-child{width:64px;height:64px;color:#ddd9cf;background:linear-gradient(145deg,#5a5750,#28282b);box-shadow:inset 0 1px #fff5,0 0 0 5px #080809,0 0 0 6px #81745c,0 7px 0 5px #080809,0 12px 16px #0009}.designer-app .board-action:active>span:first-child{transform:translateY(4px)}html .designer-app :is(.primary,.secondary,.move-choice,.play-controls .quiet,.seo-links a){min-height:48px;padding:12px 20px;border:1px solid #c2974c70;border-radius:12px;background:linear-gradient(145deg,#353128,#161618);box-shadow:inset 0 1px #fff2,0 3px 6px #0005;color:#e9cf9b;white-space:normal}html .designer-app .primary{background:linear-gradient(145deg,#ffe7a6,#e0b25a 60%,#a97c2c);color:#251b0e;font-weight:750}html .designer-app .board-lobby{color:#f1f1ee;background:linear-gradient(145deg,#252320f5,#111113fa);border:1px solid #b68c4766;border-radius:22px;box-shadow:0 18px 50px #000a,inset 0 1px #fff1}.designer-app .board-lobby .setting-hint{color:#bbb6aa}.designer-app .board-lobby :is(select,input){color-scheme:dark;background:#1b1b1e;color:#f1f1ee;border:1px solid #e0b25a66;min-height:44px}.designer-settings-dialog{width:min(480px,calc(100vw - 24px));max-height:85dvh;padding:24px;border:1px solid #b68c4777;border-radius:24px;color:#f1f1ee;background:linear-gradient(145deg,#28251f,#111113);box-shadow:0 24px 100px #000b,inset 0 1px #fff2}.designer-settings-dialog::backdrop{background:#000b;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.designer-settings-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.designer-settings-dialog h2{margin:0;font-size:22px}.designer-settings-dialog header button{width:44px;height:44px;border:1px solid #e0b25a60;border-radius:50%;background:#222;color:#e0b25a;font-size:28px}.designer-settings-dialog .settings{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:0;padding-top:16px}.designer-settings-dialog .settings label{min-width:0;overflow-wrap:anywhere}.designer-settings-dialog .settings label{display:flex;align-items:center;gap:18px;min-height:74px;padding:14px 0;border-bottom:1px solid #ffffff12;font-size:15px;line-height:1.4;cursor:pointer}.designer-settings-dialog input[type=checkbox]{appearance:none;position:relative;flex:0 0 74px;width:74px;height:42px;margin:0;border:1px solid #787065;border-radius:23px;background:linear-gradient(#080809,#222);box-shadow:inset 0 3px 6px #000,0 1px #fff2;cursor:pointer}.designer-settings-dialog input[type=checkbox]:before{content:"";position:absolute;left:3px;top:3px;width:34px;height:34px;border-radius:50%;background:linear-gradient(145deg,#c9c6bd,#67645d);box-shadow:inset 0 1px #fff9,0 3px 5px #000a;transition:transform .18s}.designer-settings-dialog input[type=checkbox]:checked:before{transform:translate(32px);background:linear-gradient(145deg,#ffe7a6,#e0b25a 60%,#a97c2c)}.designer-settings-dialog input[type=checkbox]:checked{border-color:#d5a34d;background:#4e3517}.designer-settings-dialog :focus-visible,.designer-app :focus-visible{outline:2px solid #ffe7a6;outline-offset:4px}.designer-app .play-controls{gap:12px;padding:22px 12px}.designer-app .game-footer .seo-links{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.designer-app .game-footer{padding:16px 0}.designer-app .game-footer a{overflow-wrap:anywhere;text-align:center}@media(max-width:600px){html .play-app.designer-app{padding:8px}.designer-header{gap:10px;padding:4px 6px 12px}.designer-brand img{max-width:120px}.designer-player{padding:8px 12px}html .designer-app .under-board{padding:16px 12px}.designer-settings-dialog{padding:20px}}@media(prefers-reduced-motion:reduce){.designer-settings-dialog input:before{transition:none}}.designer-app .play-area{container-type:inline-size}.designer-app .designer-header{padding-bottom:4px}.designer-app .designer-player{min-height:44px;padding-block:6px}.designer-player[data-active=true] .designer-avatar{outline:2px solid #ffe7a6;outline-offset:3px}html .designer-app[data-started=true] .board-frame{height:min(clamp(320px,calc(100svh - 160px),820px),calc(100cqw / 1.45))}html .designer-app .under-board{justify-content:flex-start;gap:10px 16px;padding:12px 16px;border-radius:12px;box-shadow:inset 0 1px #ffffff08}html .designer-app .under-board .board-actions{width:auto;flex:0 0 auto;gap:16px;padding:2px 8px 6px}html .designer-app .under-board .board-action{width:104px;gap:7px;font-size:15px;line-height:1.25}.designer-app .board-action>span:first-child{width:52px;height:52px;font-size:27px;box-shadow:inset 0 1px #fff8,inset 0 -2px #674513,0 0 0 3px #080809,0 0 0 4px #a88143,0 4px 0 3px #080809,0 7px 10px #0007}.designer-app .undo-action>span:first-child{width:48px;height:48px;box-shadow:inset 0 1px #fff4,0 0 0 3px #080809,0 0 0 4px #81745c,0 4px 0 3px #080809,0 7px 10px #0007}.designer-app .board-action:disabled{opacity:.4;cursor:default}.designer-app .board-action:disabled>span:first-child{filter:saturate(.3)}.designer-app .board-action:disabled:active>span:first-child{transform:none}.designer-app .under-board .end-match{margin-left:auto}.designer-app .under-board .untimed-mode{display:inline-flex;align-items:center;min-height:32px;padding:5px 9px;font-size:14px}.designer-app .designer-inline-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 24px;margin:10px auto 0;width:100%;padding:8px 18px;border:1px solid #c2974c35;border-radius:12px;background:linear-gradient(110deg,#211f1a,#151516);box-shadow:inset 0 1px #ffffff06}.designer-inline-settings label{display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between;gap:12px;min-width:0;min-height:50px;margin:0;padding:9px 0;font-size:15px;line-height:1.35;font-weight:450;overflow-wrap:anywhere;color:#e5e0d5;cursor:pointer}.designer-inline-settings input[type=checkbox]{appearance:none;-webkit-appearance:none;order:1;flex:0 0 auto;width:48px;min-width:48px;max-width:48px;height:28px;min-height:28px;max-height:28px;box-sizing:border-box;position:relative;margin:0;padding:0;border:1px solid #777064;border-radius:16px;background:linear-gradient(#0c0c0e,#242424);box-shadow:inset 0 2px 4px #0009,0 1px #fff1;cursor:pointer}.designer-inline-settings input[type=checkbox]:before{content:"";position:absolute;width:22px;height:22px;left:2px;top:2px;border-radius:50%;background:linear-gradient(145deg,#d8d4ca,#79756e);box-shadow:inset 0 1px #fff8,0 2px 3px #0008;transition:transform .12s ease}.designer-inline-settings input[type=checkbox]:checked{border-color:#b58b45;background:#46341a}.designer-inline-settings input[type=checkbox]:checked:before{transform:translate(20px);background:linear-gradient(145deg,#ffe7a6,#ddb15a 65%,#ad8137)}.designer-app .play-controls{gap:8px 12px;padding:12px 0}html .designer-app .play-controls .quiet{min-height:42px;padding:9px 14px;font-size:15px;border-radius:9px;box-shadow:inset 0 1px #ffffff0d}.designer-app .game-footer{margin:6px 0 0;padding:10px 0 2px;gap:8px}.designer-app .game-footer .seo-links{gap:7px}html .designer-app .game-footer .seo-links a{min-height:38px;padding:8px 12px;font-size:14px;line-height:1.35;border-radius:9px;background:#201f1b;border-color:#a780433d;box-shadow:none}.designer-footer-tools{display:flex;flex-basis:100%;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;margin-top:6px}.game-account-link .account-entry{max-width:none;min-height:42px;padding:8px 12px;font-size:14px}.designer-footer-tools .language-switch select{min-height:42px;padding:8px 12px;font-size:15px;border:1px solid #c2974c70;border-radius:9px;background:#1b1b1e;color:#e9cf9b}@media(max-width:960px){.designer-app .designer-inline-settings{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}}@media(max-width:600px){html .designer-app[data-started=true] .board-frame{height:min(112vw,calc(100svh - 180px));min-height:320px}html .designer-app .under-board{padding:10px 12px;gap:10px 12px}html .designer-app .under-board .board-actions{width:auto;gap:14px;padding-inline:2px}html .designer-app .under-board .board-action{width:96px}.designer-app .under-board .end-match{margin-left:auto}.designer-app .designer-inline-settings{grid-template-columns:minmax(0,1fr);gap:0;padding:6px 14px}.designer-inline-settings label{flex-direction:row;align-items:center;justify-content:space-between;gap:14px;min-height:48px;padding:9px 0;font-size:16px}.designer-app .game-footer{margin-top:2px}}@media(max-width:420px){.designer-app .under-board .end-match{margin-left:0}html .designer-app .game-footer .seo-links a{font-size:14px}}@media(prefers-reduced-motion:reduce){.designer-inline-settings input[type=checkbox]:before{transition:none}}.end-match-icon{display:none}.board-single-clock{display:flex;justify-content:center;height:76px;align-items:center}.match-exit-control{display:flex;justify-content:center}.match-exit-control .end-match{background:none!important;border:0!important;box-shadow:none!important;font-size:13px;padding:6px!important;min-height:32px!important}html .designer-app .under-board{position:relative;display:grid;grid-template-columns:1fr auto 1fr;min-height:78px}html .designer-app .under-board .board-actions{display:contents}html .designer-app .under-board .confirm-action{grid-column:2;grid-row:1;min-width:64px;justify-self:center}html .designer-app .under-board .undo-action{grid-column:1;grid-row:1;justify-self:end;margin-right:18px}html .designer-app .under-board .confirm-action>span:first-child{width:60px;height:60px;font-size:32px}.board-brightness{grid-column:3;grid-row:1;display:flex;align-items:center;gap:8px;margin-left:18px;min-width:0;color:#e9cf9b}.board-brightness input{width:100%;max-width:130px;min-width:45px;min-height:44px;accent-color:#dfb35f}html .designer-app .under-board .end-match{grid-column:3;grid-row:2;justify-self:end}.designer-app .under-board>:is(.online-status,.matchmaking-players,.online-invite,.error,.primary){grid-column:1 / -1}html .designer-app .under-board{gap:8px;padding:6px 10px;border:0;border-bottom:1px solid #c2974c35;border-radius:0;background:none;box-shadow:none}.designer-app .under-board .designer-player-bottom{padding:0;min-height:44px;gap:8px;flex:0 1 auto}.designer-app .under-board .designer-player-bottom .designer-score{display:none}html .designer-app .under-board .board-actions{gap:10px;padding:0}html .designer-app .under-board .board-action{width:auto;min-width:44px;gap:0}.designer-app .under-board .board-action>span:first-child{width:38px;height:38px;font-size:23px;box-shadow:inset 0 1px #fff6,0 0 0 1px #a88143}.designer-app .under-board .board-action>span:last-child{display:none}.designer-app .under-board .turn-label{font-size:13px}html .designer-app .under-board .end-match{min-height:38px;padding:7px 10px;font-size:13px}.designer-app .under-board .untimed-mode{padding:4px 6px;font-size:12px}.designer-app .designer-inline-settings{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 18px;margin-top:6px;padding:4px 12px}.designer-inline-settings label{gap:6px;min-height:44px;padding:6px 0;font-size:14px}.designer-app .designer-inline-settings label{justify-content:flex-start;gap:8px}.designer-app .designer-inline-settings input[type=checkbox]{order:0}.designer-app .game-footer{flex-direction:column;align-items:center}.designer-footer-tools{order:0;margin:0 0 8px}.designer-app .game-footer .seo-links{order:1;gap:4px 16px}.designer-app .game-footer .legal-links{order:2}html .designer-app .game-footer .seo-links a{min-height:0;padding:5px 0;border:0;border-radius:0;background:none;box-shadow:none;color:#bdb4a1;text-decoration:underline;text-underline-offset:3px;font-size:13px}html .designer-app .game-footer .seo-links a:hover{color:#ffe7a6}@media(max-width:600px){.designer-app .designer-inline-settings{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 10px;padding:4px 10px}.designer-inline-settings label{flex-direction:column;justify-content:center;gap:4px;font-size:13px;text-align:center;min-height:66px;overflow-wrap:anywhere}.designer-app .under-board .designer-player-bottom strong,.designer-app .under-board .turn-label{display:none}.designer-app .under-board .designer-avatar{flex-basis:26px;height:26px}html .designer-app .under-board{gap:7px;padding:6px 2px}html .designer-app .under-board .board-actions{gap:6px}.designer-app .under-board .untimed-mode{font-size:11px;padding:3px}html .designer-app .under-board .end-match{font-size:12px;padding:6px}.designer-app .under-board .end-match-text{display:none}.designer-app .under-board .end-match-icon{display:block;font-size:24px;line-height:1}html .designer-app .under-board .end-match{min-width:44px;min-height:44px;margin-left:auto}.designer-app .under-board .designer-player-bottom{display:none}html .designer-app .under-board>.primary{min-width:44px;width:44px;min-height:44px;padding:6px;font-size:0}.designer-app .under-board>.primary:before{content:"⚄";font-size:26px;line-height:1}}.designer-app .designer-header{position:relative;min-height:70px;padding:0 8px;margin:0}.designer-header .board-single-clock{position:absolute;inset:0;height:70px;pointer-events:none}.designer-header .board-single-clock .clock-face{width:60px;height:60px}.designer-app .designer-player-top{min-height:30px;padding:0 12px;margin-top:-6px}.designer-app .designer-player-top .designer-avatar{flex-basis:24px;height:24px}html .designer-app .under-board{grid-template-columns:minmax(110px,1fr) 44px 64px minmax(110px,1fr) 52px 90px;grid-template-rows:40px 40px;gap:0 8px;min-height:80px;padding:4px 8px}.designer-app .under-board .designer-inline-settings label{flex-direction:row;justify-content:flex-start;text-align:left;min-height:40px;padding:0;gap:6px;font-size:13px}.under-board .designer-inline-settings label:nth-child(1){grid-column:1;grid-row:1}.under-board .designer-inline-settings label:nth-child(2){grid-column:1;grid-row:2}.under-board .designer-inline-settings label:nth-child(3){grid-column:4;grid-row:1}.under-board .designer-inline-settings label:nth-child(4){grid-column:4;grid-row:2}.designer-app .under-board .designer-inline-settings label:nth-child(5){grid-column:5;grid-row:1 / 3;flex-direction:column;justify-content:center;gap:4px}html .designer-app .under-board .undo-action{grid-column:2;grid-row:1 / 3;margin:0;justify-self:center}.designer-app .under-board .board-brightness{grid-column:6;grid-row:1 / 3;margin:0;gap:4px}.designer-app .under-board .designer-inline-settings input{width:40px;min-width:40px;max-width:40px}.designer-app .under-board .designer-inline-settings input:checked:before{transform:translate(12px)}@media(max-width:600px){.designer-app .designer-header{min-height:64px}.designer-header .board-single-clock{height:64px;justify-content:center}.designer-app .designer-player-top{margin-top:-4px}html .designer-app .under-board{grid-template-columns:minmax(0,1fr) 44px 64px minmax(0,1fr);grid-template-rows:40px 40px 40px;gap:0 6px;padding:4px 0}.designer-app .under-board .designer-inline-settings label{flex-direction:column;justify-content:center;gap:2px;font-size:11px;line-height:1.1}.designer-app .under-board .designer-inline-settings label:nth-child(5){grid-column:4;grid-row:3;flex-direction:row;font-size:12px}.designer-app .under-board .board-brightness{grid-column:1 / 4;grid-row:3;justify-self:center;max-width:125px}}html .designer-app .under-board{grid-template-columns:minmax(84px,1fr) 54px 78px minmax(100px,1fr) 224px;grid-template-rows:44px 44px;gap:0 8px;padding:4px 0}.designer-app .under-board .designer-inline-settings label:nth-child(1){grid-column:1;grid-row:1;justify-self:start}.designer-app .under-board .designer-inline-settings label:nth-child(2){grid-column:1;grid-row:2;justify-self:start}.designer-app .under-board .designer-inline-settings label:nth-child(3){grid-column:4;grid-row:1;justify-self:end}.designer-app .under-board .designer-inline-settings label:nth-child(4){grid-column:4;grid-row:2;justify-self:end}.designer-app .under-board .designer-inline-settings label:nth-child(5){grid-column:5;grid-row:1;flex-direction:row;justify-self:start}html .designer-app .under-board .undo-action{grid-column:2;grid-row:1 / 3}html .designer-app .under-board .confirm-action{grid-column:3;grid-row:1 / 3}html .designer-app .under-board .confirm-action>span:first-child{width:74px;height:74px;font-size:38px}html .designer-app .under-board .undo-action>span:first-child{width:48px;height:48px;font-size:28px}html .designer-app .under-board .end-match{grid-column:5;grid-row:1;margin:0;justify-self:end;min-height:36px;padding:6px 12px;font-size:13px}.designer-app .under-board .end-match-text{display:inline}.designer-app .under-board .end-match-icon{display:none}.designer-app .under-board .theme-toggle{grid-column:5;grid-row:2;justify-self:start;width:40px;height:40px;padding:8px;border:1px solid #c2974c55;border-radius:8px;color:#e9cf9b;background:#25231f}.designer-app .under-board .theme-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5}.designer-app .under-board .theme-label{display:none}.designer-app .under-board .board-brightness{grid-column:5;grid-row:2;width:180px;max-width:none;margin:0;justify-self:end}.designer-app .under-board .board-brightness>span{display:none}.designer-app .under-board .board-brightness input{width:180px;max-width:none}@media(max-width:620px){html .designer-app .under-board{grid-template-columns:minmax(0,1fr) 54px 78px minmax(0,1fr);grid-template-rows:44px 44px 44px 44px;gap:0 8px}.designer-app .under-board .designer-inline-settings label:nth-child(1){grid-column:1;grid-row:1}.designer-app .under-board .designer-inline-settings label:nth-child(2){grid-column:1;grid-row:2}.designer-app .under-board .designer-inline-settings label:nth-child(3){grid-column:4;grid-row:1;justify-self:end}.designer-app .under-board .designer-inline-settings label:nth-child(4){grid-column:4;grid-row:2;justify-self:end}html .designer-app .under-board .undo-action{grid-column:2}html .designer-app .under-board .confirm-action{grid-column:3}.designer-app .under-board .designer-inline-settings label:nth-child(5){grid-column:3;grid-row:3;flex-direction:row;justify-self:end}html .designer-app .under-board .end-match{grid-column:4;grid-row:3;padding:6px}.designer-app .under-board .theme-toggle{grid-column:1;grid-row:4}.designer-app .under-board .board-brightness{grid-column:2 / 5;grid-row:4;width:180px}.designer-app .under-board .designer-inline-settings label{flex-direction:row}}@media(max-width:420px){.designer-app .under-board .designer-inline-settings label{flex-direction:column}}.designer-app .designer-header{display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:18px;min-height:64px;padding:0 4px}.designer-header .board-single-clock{position:static;inset:auto;height:64px;justify-content:center}.header-turn{display:flex;align-items:center;gap:7px;font-size:13px;white-space:nowrap}.header-turn .designer-avatar{width:22px;height:22px;flex-basis:22px}.header-pips{grid-column:4;display:flex;gap:12px;font-size:13px;white-space:nowrap;color:#c8c0af}html .designer-app .under-board{grid-template-columns:minmax(84px,1fr) minmax(100px,1fr) 54px 78px 188px}.designer-app .under-board .designer-inline-settings label:nth-child(3){grid-column:2;grid-row:1;justify-self:start}.designer-app .under-board .designer-inline-settings label:nth-child(4){grid-column:2;grid-row:2;justify-self:start}html .designer-app .under-board .undo-action{grid-column:3}html .designer-app .under-board .confirm-action{grid-column:4}.designer-app .under-board .board-brightness,.designer-app .under-board .board-brightness input{width:144px}@media(max-width:620px){.designer-app .designer-header{gap:6px;grid-template-columns:auto auto 1fr auto;min-height:56px}.designer-header .designer-brand img{max-width:100px}.header-turn{gap:0}.header-turn strong{display:none}.header-pips{flex-direction:column;gap:2px;font-size:11px}.designer-header .board-single-clock{height:56px}.designer-header .board-single-clock .clock-face{width:50px;height:50px}html .designer-app .under-board{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 54px 78px}.designer-app .under-board .designer-inline-settings label:nth-child(3){grid-column:2}.designer-app .under-board .designer-inline-settings label:nth-child(4){grid-column:2}html .designer-app .under-board .undo-action{grid-column:3}html .designer-app .under-board .confirm-action{grid-column:4}.designer-app .under-board .board-brightness{grid-column:2 / 5;width:144px}.designer-app .under-board .designer-inline-settings label:nth-child(5){grid-column:2 / 4;width:auto;flex-direction:row;justify-self:end;white-space:nowrap}}.designer-header .board-single-clock{position:absolute;inset:0;height:64px;justify-content:center}.designer-brand{display:flex;align-items:center;gap:7px;text-decoration:none}.designer-header .designer-brand img{width:34px;height:34px;max-width:none}.designer-wordmark{font:600 22px/1 Georgia,serif;letter-spacing:2px;color:#e0b25a}.designer-app .designer-header{min-height:64px;grid-template-columns:auto auto 1fr auto;padding:0}html .designer-app .under-board{grid-template-columns:minmax(0,1fr) 54px 78px minmax(0,1fr)}.designer-app .under-board .designer-inline-settings label:nth-child(3){grid-column:1;justify-self:end}.designer-app .under-board .designer-inline-settings label:nth-child(4){grid-column:1;justify-self:end}html .designer-app .under-board .undo-action{grid-column:2}html .designer-app .under-board .confirm-action{grid-column:3}.designer-app .under-board .designer-inline-settings label:nth-child(5){grid-column:4;justify-self:end;margin-right:90px}html .designer-app .under-board .end-match{grid-column:4}.designer-app .under-board .theme-toggle{grid-column:4;justify-self:end;margin-right:148px}.designer-app .under-board .board-brightness{grid-column:4}@media(max-width:620px){.designer-header .designer-brand img{width:26px;height:26px}.designer-wordmark{font-size:13px;letter-spacing:1px}.designer-brand{gap:4px}.designer-app .designer-header,.designer-header .board-single-clock{min-height:56px;height:56px}.designer-app .under-board .designer-inline-settings label:nth-child(3){grid-column:4;grid-row:1}.designer-app .under-board .designer-inline-settings label:nth-child(4){grid-column:4;grid-row:2}.designer-app .under-board .designer-inline-settings label:nth-child(5){grid-column:2 / 4;grid-row:3;justify-self:end;margin:0}html .designer-app .under-board .end-match{grid-column:4;grid-row:3}.designer-app .under-board .theme-toggle{grid-column:1;grid-row:4;margin:0;justify-self:start}.designer-app .under-board .board-brightness{grid-column:2 / 5;grid-row:4}}@media(max-width:360px){.designer-wordmark{font-size:11px;letter-spacing:.7px}}.designer-header .tmr{--size:52px}.board-no-moves{position:absolute;z-index:6;left:50%;top:calc(45% - 52px);transform:translate(-50%,-100%);max-width:calc(100% - 32px);margin:0;padding:8px 16px;border-radius:8px;background:#17140de6;text-align:center;font-size:15px;line-height:1.4;font-weight:650;color:#e0b25a;pointer-events:none}html .designer-app .under-board{padding:12px 8px;row-gap:8px;margin-top:8px}.designer-app .under-board .designer-inline-settings label{min-height:44px}.designer-app .under-board .theme-toggle{width:44px;height:44px}html .designer-app .under-board .end-match{min-height:44px}.designer-app>.designer-inline-settings{margin-top:12px;padding:8px 12px;gap:8px 16px}.designer-app .game-footer .designer-footer-tools{gap:16px}.designer-app .game-footer .seo-links{gap:8px 16px}.designer-app .game-footer .seo-links a{display:inline-flex;align-items:center;justify-content:center;min-height:44px}@media(max-width:620px){html .designer-app .under-board{padding:12px 8px;row-gap:8px}.designer-app .under-board .board-brightness,.designer-app .under-board .board-brightness input{min-height:44px}}.designer-stage canvas{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}@media(max-width:620px){.designer-header .tmr{--size:44px}}.board-turn-shortcuts{position:absolute;inset:0;z-index:5;pointer-events:none}.board-turn-shortcut{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;padding:0;border:0;background:none;color:#f5e5bf;font-family:inherit;font-size:13px;font-weight:600;line-height:1.2;text-shadow:0 1px 4px #000;box-shadow:none;pointer-events:auto;cursor:pointer}.board-turn-shortcut>span:first-child{display:grid;place-items:center;width:46px;height:46px;border:1px solid #ac925e;border-radius:50%;font-size:32px;background:linear-gradient(145deg,#59564b,#242320);color:#eedfbf;box-shadow:inset 0 1px #fff5,0 3px 7px #0009}.board-turn-undo{position:absolute;left:25%;top:45%;transform:translate(-50%,-50%)}.board-turn-undo:not(:disabled):active{transform:translate(-50%,calc(-50% + 1px))}.board-turn-confirm-group{position:absolute;left:50%;top:45%;transform:translate(-50%,-30px);display:flex;flex-direction:column;align-items:center;gap:8px}.board-turn-confirm>span:first-child{width:60px;height:60px;font-size:34px;color:#322914;border-color:#e5c77d;background:linear-gradient(145deg,#f1d89d,#ad8743)}.board-turn-auto{display:flex;align-items:center;gap:6px;min-height:32px;padding:3px 8px;border-radius:7px;background:#17140de6;color:#f2e4c4;font-size:13px;cursor:pointer;pointer-events:auto}.board-turn-auto input{appearance:auto;-webkit-appearance:checkbox;width:19px;height:19px;min-height:0;margin:0;accent-color:#d8b46a;cursor:pointer}.designer-app .under-board .designer-inline-settings label:nth-child(6){grid-column:1;grid-row:3;justify-self:start;flex-direction:row;white-space:nowrap}@media(max-width:620px){.designer-app .under-board .designer-inline-settings label:nth-child(6){grid-column:1 / -1;grid-row:5}}@media(max-width:620px){.board-turn-shortcut{font-size:11px}.board-turn-shortcut>span:first-child{width:40px;height:40px;font-size:24px}.board-turn-confirm>span:first-child{width:50px;height:50px;font-size:30px}.board-turn-confirm-group{transform:translate(-50%,-25px);gap:5px}}html .play-app.designer-app{max-width:1440px}html .designer-app .under-board{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 18px;min-height:0;margin-top:0;padding:8px}html .designer-app .under-board .designer-inline-settings{display:contents}.designer-app .under-board .designer-inline-settings label:nth-child(n){flex:0 0 auto;flex-direction:row;justify-content:flex-start;gap:6px;min-height:44px;margin:0;padding:0;font-size:13px;line-height:1.35;white-space:nowrap}html .designer-app .under-board .end-match{order:1;margin:0}.designer-app .under-board .theme-toggle{flex:0 0 44px;margin:0}.designer-app .under-board .board-brightness{flex:0 1 144px;width:144px;margin:0}.designer-app .under-board>:is(.online-status,.matchmaking-players,.online-invite,.error,.primary){flex-basis:100%}.designer-app>.designer-inline-settings{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center}.designer-app>.designer-inline-settings label{flex:0 0 auto;flex-direction:row;text-align:left}html .designer-app .under-board .match-conversation{position:relative;flex:0 0 44px;width:44px;min-width:0;margin:0;padding:0;border:0;background:transparent}.designer-app .match-conversation details{position:relative}html .designer-app .match-conversation summary{position:relative;display:grid;place-items:center;width:44px;height:44px;padding:8px;margin:0;border:1px solid #71532e;border-radius:8px;background:#35251a;color:#e0c898;list-style:none;cursor:pointer;transition:background .3s cubic-bezier(.22,1,.36,1)}.designer-app .match-conversation summary::-webkit-details-marker{display:none}.designer-app .match-conversation summary:hover,.designer-app .match-conversation details[open] summary{background:#4f3724;color:#ffe7a6}.designer-app .match-conversation summary:focus-visible{outline:2px solid #ffe7a6;outline-offset:4px}.designer-app .match-conversation[data-pending=true] summary:after{content:"";position:absolute;right:4px;top:4px;width:4px;height:4px;border-radius:50%;background:#ffe7a6}html .designer-app .match-conversation details:not([open])>.match-phrase-popup{display:none}html .designer-app .match-conversation .match-phrase-popup{position:fixed;z-index:80;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;padding:12px;border:1px solid #71532e;border-radius:12px;background:#241a14;color:#f1e7cf;box-shadow:0 8px 24px #0006;scrollbar-width:thin;scrollbar-color:#71532e transparent}html .designer-app .match-conversation .match-phrases{display:flex;flex-wrap:wrap;gap:8px;margin:0}html .designer-app .match-phrases .quiet{min-height:44px;max-width:100%;padding:8px 12px;border:1px solid #59432e;border-radius:8px;background:#35251a;color:#f1e7cf;font:500 14px/20px Manrope,system-ui,sans-serif;overflow-wrap:anywhere}html .designer-app .match-phrases .quiet:hover:not(:disabled){background:#4f3724;border-color:#c4994a}.designer-app .match-phrases button:disabled{opacity:.45;cursor:default}.designer-app .match-send-status{margin:12px 0 0;color:#c2b08e;font-size:12px;line-height:16px}.board-message-bubbles{position:absolute;inset:0;z-index:12;pointer-events:none}.board-message-bubble{position:absolute;left:16%;max-width:min(70%,340px);padding:12px 18px;border:2px solid #4d351b;border-radius:22px;background:#fff7e2;color:#30271e;box-shadow:0 4px 12px #0005;font-size:clamp(16px,2.4vw,24px);font-weight:650;line-height:1.25;overflow-wrap:anywhere}.board-message-bubble:after{content:"";position:absolute;left:22px;width:14px;height:14px;background:#fff7e2;transform:rotate(45deg)}.board-message-bubble.opponent-bubble{top:5%}.board-message-bubble.opponent-bubble:after{top:-9px;border-top:2px solid #4d351b;border-left:2px solid #4d351b}.board-message-bubble.own-bubble{bottom:14%}.board-message-bubble.own-bubble:after{bottom:-9px;border-bottom:2px solid #4d351b;border-right:2px solid #4d351b}@media(max-width:600px){.board-message-bubble{padding:9px 13px;border-radius:17px}}@media(orientation:portrait){.board-message-bubble.own-bubble{bottom:24%}}.designer-app .board-invitation input{display:block;box-sizing:border-box;width:100%;min-width:0;padding:10px;border-radius:8px;font-size:16px}.designer-app .board-invitation p{margin:0 0 8px;line-height:1.45}html .play-app.designer-app .surrender-dialog{width:min(480px,calc(100vw - 32px));padding:24px;background:#241a14;color:#f1e7cf;border:1px solid #71532e;border-radius:16px;box-shadow:0 16px 48px #0008;font-family:Manrope,system-ui,sans-serif}.surrender-dialog::backdrop{background:#100a06b8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}html .play-app.designer-app .surrender-dialog h2{font:500 24px/32px Manrope,system-ui,sans-serif;letter-spacing:-.04em;margin:0 0 16px}html .play-app.designer-app .surrender-dialog p{font-size:14px;line-height:20px;color:#c2b08e;margin:0 0 24px}html .play-app.designer-app .surrender-dialog .dialog-actions{display:flex;gap:12px;flex-wrap:wrap;margin:0}html .play-app.designer-app .surrender-dialog .dialog-actions button{flex:1;min-height:48px;padding:8px 12px;border-radius:8px;font:600 14px/20px Manrope,system-ui,sans-serif;box-shadow:none}html .play-app.designer-app .surrender-dialog .primary{background:#e0b25a;color:#24170d;border:1px solid #e0b25a}html .play-app.designer-app .surrender-dialog .secondary{background:#35251a;color:#f1e7cf;border:1px solid #71532e}html .play-app.designer-app .surrender-dialog button:hover:not(:disabled){filter:brightness(1.1)}html .play-app.designer-app .surrender-dialog button:focus-visible{outline:2px solid #ffe7a6;outline-offset:4px}html .play-app.designer-app .surrender-dialog button:disabled{opacity:.45;cursor:default}html .play-app.designer-app .board-result{background:#241a14f5;border:1px solid #71532e;border-radius:16px;padding:24px;color:#f1e7cf;box-shadow:0 8px 32px #0006;font-family:Manrope,system-ui,sans-serif}html .play-app.designer-app .board-result h2{font:500 24px/32px Manrope,system-ui,sans-serif;letter-spacing:-.04em}html .play-app.designer-app .board-result p{font-size:14px;line-height:20px;color:#c2b08e}html .play-app.designer-app .board-result .result-actions{display:flex;flex-wrap:wrap;gap:12px}html .play-app.designer-app .board-result button{border-radius:8px;min-height:44px;padding:8px 12px;font:600 14px/20px Manrope,system-ui,sans-serif;box-shadow:none}@media(max-width:420px){html .play-app.designer-app .surrender-dialog .dialog-actions{flex-direction:column}}html .play-app.designer-app .board-result.nardika-result{display:flex;flex-direction:column;align-items:stretch;gap:16px;width:min(400px,calc(100% - 32px));padding:24px;background:#241a14f7;border:1px solid #a77932;border-radius:16px;box-shadow:0 16px 48px #0007;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);text-align:left}html .play-app.designer-app .nardika-result .result-caption{font:600 12px/16px Manrope,system-ui,sans-serif;color:#e0b25a;letter-spacing:.08em;text-transform:none;margin:0}html .play-app.designer-app .nardika-result h2{font:500 30px/36px Manrope,system-ui,sans-serif;color:#f1e7cf;letter-spacing:-.04em;margin:0}html .play-app.designer-app .nardika-result p{font:400 14px/20px Manrope,system-ui,sans-serif;color:#c2b08e;margin:0}html .play-app.designer-app .nardika-result>strong{display:block;padding:16px;background:#35251a;border:1px solid #59432e;border-radius:8px;font:500 24px/32px Manrope,system-ui,sans-serif;color:#e0c898;text-align:center;margin:0}html .play-app.designer-app .nardika-result .result-actions{display:flex;gap:12px;flex-wrap:wrap;margin:8px 0 0}html .play-app.designer-app .nardika-result .result-actions button{flex:1;min-height:44px;padding:8px 12px;border-radius:8px;box-shadow:none;font:600 14px/20px Manrope,system-ui,sans-serif}html .play-app.designer-app .nardika-result .result-actions .primary{background:#e0b25a;color:#24170d;border:1px solid #e0b25a}html .play-app.designer-app .nardika-result .result-actions .secondary{background:#35251a;color:#f1e7cf;border:1px solid #71532e}html .play-app.designer-app .nardika-result .primary:hover:not(:disabled){background:#edc273}html .play-app.designer-app .nardika-result .secondary:hover:not(:disabled){background:#4f3724}html .play-app.designer-app .nardika-result button:disabled{opacity:.45;cursor:default}html .play-app.designer-app .nardika-result button:focus-visible{outline:2px solid #ffe7a6;outline-offset:4px}.board-turn-shortcut{min-width:44px;min-height:44px}@media(max-width:420px){html .play-app.designer-app .board-result.nardika-result{padding:16px;gap:12px}html .play-app.designer-app .nardika-result h2{font-size:24px;line-height:32px}}.club-language{position:relative;flex:none;font:500 14px/20px Manrope,system-ui,sans-serif;color:#f1e7cf;z-index:12}.club-language>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:8px 12px;box-sizing:border-box;background:#35251a;border:1px solid #71532e;border-radius:8px;cursor:pointer;list-style:none;white-space:nowrap}.club-language>summary::-webkit-details-marker{display:none}.club-language>summary svg{flex:none;transition:transform .5s cubic-bezier(.22,1,.36,1)}.club-language[open]>summary svg{transform:rotate(180deg)}.club-language .club-language-options{position:absolute;right:0;top:calc(100% + 8px);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(280px,calc(100vw - 32px));max-height:min(400px,60dvh);overflow:auto;gap:4px;padding:8px;background:#241a14;border:1px solid #71532e;border-radius:12px;box-shadow:0 8px 24px #0006}.club-language:not([open]) .club-language-options{display:none}.club-language .club-language-options button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:8px 12px;margin:0;border:0;border-radius:8px;background:transparent;color:#c2b08e;font:500 14px/20px Manrope,system-ui,sans-serif;text-align:left;box-shadow:none;cursor:pointer}.club-language .club-language-options button:hover,.club-language .club-language-options button[aria-pressed=true]{background:#4f3724;color:#ffe7a6}.club-language :is(summary,button):focus-visible{outline:2px solid #ffe7a6;outline-offset:2px}.club-language button:active{transform:scale(.98)}@media(prefers-reduced-motion:reduce){.club-language>summary svg{transition:none}}.account-statistics-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px}.account-page-card .account-statistics-group{min-width:0;padding:24px 16px;background:#1b1410;border:1px solid #59432e;border-radius:12px}.account-page-card .account-statistics-group h3{font:500 24px/32px Manrope,system-ui,sans-serif;margin:0 0 16px;letter-spacing:-.04em}.account-statistics-group table{width:100%;table-layout:fixed;border-collapse:collapse;font:400 14px/20px Manrope,system-ui,sans-serif}.account-statistics-group th,.account-statistics-group td{padding:12px 8px;text-align:right;vertical-align:middle;overflow-wrap:anywhere;border:0;background:transparent}.account-statistics-group thead th{font-size:12px;line-height:16px;font-weight:400;color:#b9a98e}.account-statistics-group th:first-child{width:48%;text-align:left;padding-left:0}.account-statistics-group tbody th{font-weight:400;color:#f1e7cf}.account-statistics-group td{color:#e0b25a;font-variant-numeric:tabular-nums;font-size:20px;line-height:28px}.account-statistics-group tbody tr+tr{border-top:1px solid #59432e}.account-statistics-note{grid-column:1/-1;margin:0!important;color:#b9a98e;font-size:12px!important;line-height:20px!important}@media(max-width:1000px){.account-statistics-groups{grid-template-columns:1fr}}@media(max-width:430px){.account-page-card .account-statistics-group{padding:16px 8px}.account-page-card .account-statistics-group h3{font-size:20px;line-height:28px;margin-left:8px}.account-statistics-group th,.account-statistics-group td{padding:12px 4px}.account-statistics-group th:first-child{width:44%;padding-left:8px}.account-statistics-group td{font-size:18px;line-height:28px}.account-statistics-group table{font-size:12px;line-height:20px}}.designer-header .designer-brand,.game-footer,.designer-app[data-started=false] .designer-header{display:none}html:has(.designer-app) body{background:#1b1410}html .play-app.designer-app{padding-top:0}html .play-app.designer-app .board-frame:not(.designer-board-ready) .board-surface{background:#352217}html .play-app.designer-app .board-frame:not(.designer-board-ready) .point:before{background:#ba8a48}html .play-app.designer-app .board-frame:not(.designer-board-ready) .point.teal:before{background:#60391f}html .play-app.designer-app .board-frame:not(.designer-board-ready){background:#4f2d1b;border-color:#bd914c}html .play-app.designer-app .board-frame:not(.designer-board-ready) .bar,html .play-app.designer-app .board-frame:not(.designer-board-ready) .off-tray{background:#352217;border-color:#bd914c}html .play-app.designer-app .board-frame:not(.designer-board-ready) .point-number{color:#e0c898}html .play-app.designer-app .board-lobby,html .play-app.designer-app dialog{background:#241a14f5;color:#f1e7cf;border:1px solid #71532e;border-radius:16px;box-shadow:0 16px 40px #0005;font-family:Manrope,sans-serif;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}html .play-app.designer-app .board-lobby h2,html .play-app.designer-app dialog h2{font:500 24px/32px Manrope,sans-serif;color:#f1e7cf;letter-spacing:-.04em}html .play-app.designer-app .board-lobby .primary,html .play-app.designer-app dialog .primary{background:#e0b25a;color:#24170d;border:1px solid #e0b25a;border-radius:8px;box-shadow:none;font:600 16px/24px Manrope,sans-serif;min-height:44px}html .play-app.designer-app .board-lobby .primary:hover,html .play-app.designer-app dialog .primary:hover{background:#edc273}html .play-app.designer-app .board-lobby select,html .play-app.designer-app dialog select{background:#1b1410;border:1px solid #71532e;border-radius:8px;color:#f1e7cf;font:400 14px/20px Manrope,sans-serif;min-height:44px}html .play-app.designer-app .lobby-variant-switch span{background:#35251a;border:1px solid #71532e;border-radius:8px;color:#c2b08e;font:500 12px/16px Manrope,sans-serif;box-shadow:none}html .play-app.designer-app .lobby-variant-switch input:checked+span{background:#e0b25a;color:#24170d;border-color:#e0b25a}html .play-app.designer-app .board-lobby .lobby-options{background:#1b1410;border:1px solid #59432e;border-radius:8px}html .play-app.designer-app .board-lobby summary{font:500 14px/20px Manrope,sans-serif;color:#e0c898;min-height:32px}html .play-app.designer-app .under-board,html .play-app.designer-app>.designer-inline-settings{background:#241a14;border:1px solid #59432e;border-radius:12px;box-shadow:none;font-family:Manrope,sans-serif}html .play-app.designer-app .designer-inline-settings label{color:#c2b08e;font:400 12px/16px Manrope,sans-serif;gap:8px}html .play-app.designer-app .designer-inline-settings input[type=checkbox]{appearance:none;width:44px;height:24px;min-width:44px;min-height:24px;flex:0 0 44px;border:1px solid #71532e;border-radius:9999px;background:#1b1410;box-shadow:none;margin:0;position:relative;padding:0}html .play-app.designer-app .designer-inline-settings input[type=checkbox]:before{content:"";position:absolute;left:2px;top:2px;width:18px;height:18px;border-radius:50%;background:#9c896b;box-shadow:none;transform:translate(0);transition:transform .5s cubic-bezier(.22,1,.36,1)}html .play-app.designer-app .designer-inline-settings input[type=checkbox]:checked{background:#72522e;border-color:#c4994a}html .play-app.designer-app .designer-inline-settings input[type=checkbox]:checked:before{background:#ffe7a6;transform:translate(20px)}html .play-app.designer-app :is(button,input,select,summary,a):focus-visible{outline:2px solid #ffe7a6;outline-offset:4px}html .play-app.designer-app .under-board .theme-toggle,html .play-app.designer-app .under-board .end-match{background:#35251a;color:#e0c898;border:1px solid #71532e;border-radius:8px;box-shadow:none}html .play-app.designer-app .tmr{--c:#e0b25a;--glow:transparent;--num:#f1e7cf;font-family:Manrope,sans-serif}html .play-app.designer-app .tmr .bz{background:#241a14;border:1px solid #71532e;box-shadow:none;animation:none}html .play-app.designer-app .tmr .ar{filter:none;transition:none}html .play-app.designer-app .tmr .trk{stroke:#59432e}html .play-app.designer-app .tmr b{font-weight:500;letter-spacing:-.04em}html .play-app.designer-app .tmr[data-state=opp]{--c:#ad9470}html .play-app.designer-app .tmr[data-state=low],html .play-app.designer-app .tmr[data-state=done]{--c:#dc9366;--num:#ffd0a8}html .play-app.designer-app .tmr[data-state=reserve]{--c:#edc273}html .play-app.designer-app .tmr[data-state=idle]{--c:#715d43;--num:#a18d72}@media(prefers-reduced-motion:reduce){html .play-app.designer-app .designer-inline-settings input[type=checkbox]:before{transition:none}}html .play-app.designer-app .board-lobby .primary{background:#e0b25a!important;color:#24170d!important}
