.ai-dev-log{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;min-height:0;width:100%;margin:0;border:1px solid rgba(40,43,42,.2);border-radius:.35rem;background:#0c121ce0;color:#d7e2f0;overflow:hidden}.ai-dev-log__body{flex:1 1 auto;min-height:0;margin:0;padding:.5rem .65rem;overflow:auto;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.75rem;line-height:1.35;white-space:pre-wrap;word-break:break-word}.board-host{display:flex;height:100%;max-height:100%;justify-content:flex-end;align-items:stretch;min-width:0;min-height:0}.board-fit{position:relative;overflow:hidden;flex:0 0 auto}.board{display:flex;width:max-content;align-items:flex-end;gap:.25rem;padding:.45rem;border:1px solid #c7b995;border-radius:18px;background:radial-gradient(circle at 50% 20%,rgb(255 255 255 / 60%),transparent 45%),#efe3c2;box-shadow:inset 0 0 0 4px #ffffff59}.board-column{display:flex;width:42px;flex-direction:column;align-items:center;gap:2px;padding:.2rem .1rem .3rem;border-radius:999px 999px 10px 10px;background:#ffffff61}.column-number{display:grid;width:28px;height:28px;place-items:center;margin-bottom:.1rem;border:2px solid #594f3b;border-radius:0;background:#fffaf0;color:#302b22;font-size:.85rem;font-weight:800}.board-space{--cell: 26px;position:relative;display:flex;width:var(--cell);height:var(--cell);align-items:center;justify-content:center;overflow:visible;border:1px solid #9e937a;border-radius:50%;background:#fffaf0}.board-token,.runner-marker{display:grid;place-items:center;border:0;border-radius:50%;color:#17202a;font-weight:900;line-height:1;box-shadow:0 1px 2px #161a1d4d}.board-space[data-token-count="1"]{display:grid;place-items:center}.board-space[data-token-count="1"]>*{width:calc(var(--cell) * .8);height:calc(var(--cell) * .8);font-size:calc(var(--cell) * .58)}.board-space[data-token-count="2"]{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:1px}.board-space[data-token-count="2"]>*{width:calc(var(--cell) * .45);height:calc(var(--cell) * .45);flex:0 0 calc(var(--cell) * .45);font-size:calc(var(--cell) * .38)}.board-space[data-token-count="3"]{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;align-content:center;justify-items:center;row-gap:0;column-gap:1px;padding:0}.board-space[data-token-count="3"]>*:nth-child(3){grid-column:1 / -1}.board-space[data-token-count="3"]>*{width:calc(var(--cell) * .45);height:calc(var(--cell) * .45);font-size:calc(var(--cell) * .38)}.board-space[data-token-count="4"]{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;align-content:center;justify-items:center;row-gap:0;column-gap:1px}.board-space[data-token-count="4"]>*{width:calc(var(--cell) * .45);height:calc(var(--cell) * .45);font-size:calc(var(--cell) * .38)}.board-token--coral,.board-column--coral .column-number{background:#ff765f}.board-token--blue,.board-column--blue .column-number{background:#58b7e8}.board-token--gold,.board-column--gold .column-number{background:#f3bd38}.board-token--green,.board-column--green .column-number{background:#67c58a}.runner-marker{position:relative;z-index:2;border-radius:3px;background:#2d3135;color:#fff}.board-column--claimed{box-shadow:inset 0 0 0 2px #554d3b}.setup-shell{width:100%;height:100dvh;display:grid;place-items:center;padding:clamp(.4rem,1.5vh,1.5rem) 1rem;overflow:hidden;box-sizing:border-box}.setup-card{width:min(620px,100%);max-height:100%;padding:clamp(.7rem,2.2vh,2.5rem) clamp(1rem,4vw,3rem);border:1px solid #d8d1c2;border-radius:clamp(16px,3vh,28px);background:#ffffffe0;box-shadow:0 22px 70px #322b1f24;overflow:auto}.setup-card h1{margin:0;font-size:clamp(1.75rem,7vh,4.5rem);letter-spacing:-.065em;line-height:.95}.setup-card>p{max-width:48ch;margin:clamp(.35rem,1.2vh,1rem) 0 clamp(.5rem,1.8vh,1.5rem);color:#5c5c58;font-size:clamp(.85rem,2.2vh,1.05rem);line-height:1.45}.eyebrow,.turn-label{display:block;margin-bottom:.35rem;color:#8a3e2f;font-size:.72rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}form>label,fieldset legend{color:#3b3c3a;font-weight:750}select,input{width:100%;min-height:clamp(36px,5.5vh,46px);margin-top:.35rem;border:1px solid #aaa69c;border-radius:10px;background:#fff;color:#262725;font:inherit}select{padding:0 .8rem}input{box-sizing:border-box;padding:0 .85rem}fieldset{padding:0;margin:clamp(.55rem,1.8vh,1.4rem) 0 0;border:0}.name-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.45rem,1.4vh,1rem);margin-top:.55rem}.name-field span{font-size:.84rem;font-weight:700}.name-field__header{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.ai-toggle{min-height:32px;padding:.2rem .65rem;border:1px solid #7e817e;border-radius:999px;background:#f7f6f1;color:#262a28;font-size:.75rem;font-weight:800;letter-spacing:.04em;cursor:pointer}.ai-toggle--on{border-color:#1f5e72;background:#1f6f87;color:#fff}.name-field input{border-left-width:7px}.name-field--1 input{border-left-color:#ff765f}.name-field--2 input{border-left-color:#58b7e8}.name-field--3 input{border-left-color:#f3bd38}.name-field--4 input{border-left-color:#67c58a}.setup-start{width:100%;margin-top:clamp(.65rem,2vh,1.5rem)}@media (max-height: 520px){.setup-card>p{display:none}.eyebrow{margin-bottom:.2rem}}.game-shell{width:100vw;height:100dvh;display:grid;grid-template-rows:auto 1fr;overflow:hidden}.title-bar{display:flex;height:clamp(3.25rem,8vh,4.5rem);align-items:center;justify-content:space-between;gap:.75rem;padding:0 .85rem;border-bottom:1px solid #cfc7b6;background:#ffffffd1}.title-bar__brand{display:flex;min-width:0;align-items:center;gap:.7rem}.title-bar__logo{height:72%;width:auto;max-height:2.8rem;object-fit:contain}.title-bar__titles{min-width:0}.title-bar__titles h1{margin:0;font-size:clamp(1.15rem,3.2vh,1.85rem);letter-spacing:-.04em;line-height:1}.title-bar__flavor{display:block;overflow:hidden;color:#8a3e2f;font-size:.68rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;text-overflow:ellipsis;white-space:nowrap}.title-bar__actions{display:flex;flex-shrink:0;gap:.5rem}.game-body{display:grid;grid-template-columns:1fr auto;min-height:0;overflow:hidden}.left-column{display:grid;min-width:calc(100vw / 3);min-height:0;grid-template-rows:auto 1fr;gap:.55rem;padding:.55rem;overflow:hidden}.right-column{width:max-content;max-width:calc(100vw * 2 / 3);height:100%;min-height:0;padding:.4rem .4rem .4rem 0;overflow:hidden}.current-player{min-width:0;padding:.65rem .75rem;border-left:6px solid;border-radius:12px;background:#fff;box-shadow:0 4px 16px #282b2a14}.current-player--coral{border-left-color:#ff765f}.current-player--blue{border-left-color:#58b7e8}.current-player--gold{border-left-color:#f3bd38}.current-player--green{border-left-color:#67c58a}.current-player__main{display:flex;min-width:0;flex-direction:column;gap:.35rem}.current-player__identity{display:flex;min-width:0;align-items:flex-end;gap:.65rem}.current-player__heading-block{min-width:0}.current-player__copy h2,.phase-heading{margin:0;font-size:clamp(1.3rem,3.38vh,1.82rem);line-height:1.15}.phase-heading--celebrate{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;color:#1a4d3a}.phase-heading__icon{flex:0 0 auto;width:.85em;height:.85em;color:#c9a227}.phase-heading__text{min-width:0}.current-player .status{margin:0;color:#555a57;font-size:clamp(.78rem,1.8vh,.95rem)}.player-token{display:grid;width:clamp(2.85rem,7.2vh,3.75rem);height:clamp(2.85rem,7.2vh,3.75rem);flex:0 0 auto;place-items:center;border-radius:50%;color:#17202a;font-size:clamp(1.45rem,3.6vh,1.95rem);font-weight:900;line-height:1}.current-player--coral .player-token{background:#ff765f}.current-player--blue .player-token{background:#58b7e8}.current-player--gold .player-token{background:#f3bd38}.current-player--green .player-token{background:#67c58a}.player-strip{position:relative;display:grid;gap:.4rem;margin:.55rem 0 0;padding:0;list-style:none;justify-content:start}.player-strip--count-2{grid-template-columns:repeat(2,max-content)}.player-strip--count-3{grid-template-columns:repeat(3,max-content)}.player-strip--count-4{grid-template-columns:repeat(2,max-content)}.player-chip__name-measure{position:absolute;left:-9999px;top:0;white-space:nowrap;font-size:.94rem;font-weight:900;pointer-events:none}.player-chip{display:inline-flex;box-sizing:border-box;width:max-content;max-width:100%;align-items:center;gap:.39rem;padding:.26rem .4rem .26rem .26rem;border:1px solid #cfc9bc;border-radius:999px;background:#f7f4ea;color:#444;font-size:.94rem;opacity:.72}.player-chip--active{border-color:#333;opacity:1}.player-chip__token{display:grid;width:1.5rem;height:1.5rem;flex:0 0 1.5rem;place-items:center;border-radius:50%;color:#17202a;font-size:.85rem;font-weight:900}.player-chip--coral .player-chip__token{background:#ff765f}.player-chip--blue .player-chip__token{background:#58b7e8}.player-chip--gold .player-chip__token{background:#f3bd38}.player-chip--green .player-chip__token{background:#67c58a}.player-chip__name{flex:0 0 auto;width:var(--name-width, auto);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.player-chip--active .player-chip__name{font-weight:900}.player-chip__score{margin-left:.35rem;flex:0 0 auto;color:#666;font-weight:700}.player-chip__ai{padding:.05rem .35rem;border-radius:999px;background:#1f6f87;color:#fff;font-size:.75rem;font-weight:800;letter-spacing:.04em}.action-panel{display:flex;min-height:0;flex-direction:column;gap:.55rem;padding:.65rem .75rem;border-radius:12px;background:#ffffffe0;box-shadow:0 4px 16px #282b2a14;overflow:hidden}.action-panel>:not(.ai-dev-log){flex-shrink:0}.dice{display:flex;flex-wrap:wrap;gap:.35rem}.die{display:grid;width:clamp(2.4rem,6.6vh,3.12rem);height:clamp(2.4rem,6.6vh,3.12rem);place-items:center;border:0;border-radius:0;background:transparent;color:#262b2c;font-size:clamp(2.4rem,6.6vh,3.12rem);line-height:1;box-shadow:none}.die--waiting{color:#b6b5ae;font-size:clamp(1.62rem,4.8vh,2.28rem)}.game-controls,.pairing-choices{display:flex;flex-wrap:wrap;gap:.45rem}.button,.pairing-choice,.action-panel>button{min-height:44px;padding:.55rem .9rem;border:1px solid #7e817e;border-radius:10px;background:#f7f6f1;color:#262a28;font:inherit;font-weight:750;cursor:pointer}.button--primary{border-color:#1f5e72;background:#1f6f87;color:#fff}.button--stop{border-color:#864434;background:#fff5ef;color:#783729}.pairing-choice{display:inline-flex;min-width:0;flex:0 1 auto;align-items:center;white-space:nowrap}button:hover:not(:disabled){filter:brightness(.96)}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #1e70a1;outline-offset:3px}.rules-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;padding:1rem;background:#1416188c}.rules-dialog{width:min(32rem,100%);max-height:min(80dvh,100%);padding:1rem 1.1rem 1.2rem;overflow:auto;border-radius:14px;background:#fffdf8;box-shadow:0 18px 50px #00000040}.rules-dialog__header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.5rem}.rules-dialog__header h2{margin:0;font-size:1.25rem}.rules-dialog ol{margin:0;padding-left:1.25rem;color:#575b58;line-height:1.55}.rotate-gate{display:none}@media (orientation: portrait){.game-body{visibility:hidden}.rotate-gate{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;padding:1.5rem;background:#e9e5da;color:#333;text-align:center;font-size:1.15rem;font-weight:700}.title-bar{position:relative;z-index:31}}@media (max-width: 520px){.name-fields{grid-template-columns:1fr}}@media (max-height: 420px){.title-bar__flavor{display:none}.left-column{gap:.35rem;padding:.35rem}.button,.pairing-choice,.action-panel>button{min-height:40px;padding:.4rem .7rem}}:root{font-family:Segoe UI,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:#292c2a;background:linear-gradient(135deg,rgb(255 255 255 / 45%),transparent 55%),#e9e5da;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html{min-width:320px;height:100%;overflow:hidden}body{min-width:320px;height:100%;margin:0;overflow:hidden}#root,html.game-active,body.game-active,body.game-active #root{width:100%;height:100%;overflow:hidden}button,input,select{font:inherit}.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}
