[hidden]{display:none!important}.drafters-player{width:100%}.drafters-stage{position:relative;background:var(--paper);overflow:hidden}.draft-canvas-wrap{flex:1;min-height:0;display:flex;justify-content:center;align-items:center;width:100%;padding:0 8px}#grid{display:block;width:100%;height:100%;max-width:760px;touch-action:none;user-select:none}#grid text{font-family:inherit}#grid .draft-point{cursor:grab;outline:none}#grid .draft-point:focus .point-halo{stroke:#f3a34a;stroke-width:3;fill:#f3a34a25}#grid .draft-point:active{cursor:grabbing}.line-hit{cursor:grab}.draft-bottom{flex-shrink:0}.draft-instruction{width:100%;margin:0;text-align:center;font-size:11px;color:var(--muted)}.draft-bottom #feedback{width:100%;margin:0;text-align:center;color:#147d92;font-size:12px}.draft-bottom #feedback:empty{display:none}.draft-level-picker{display:flex!important;align-items:center;justify-content:center;gap:8px!important;font-size:12px}.draft-level-picker select{max-width:220px;border:0;background:transparent;font:inherit;color:inherit;cursor:pointer;padding:4px}.draft-level-picker #clueCount{font-size:10px}.draft-celebration{position:absolute;top:35%;left:50%;transform:translateX(-50%);color:#147d92;background:#fff4e6ef;border:1px solid #edbd91;border-radius:18px;padding:20px 30px;box-shadow:0 8px 40px #20304715;pointer-events:none;text-align:center;z-index:3}.nest-level-label{color:var(--muted);font-size:11px}#guide p{font-size:13px;line-height:1.6;color:var(--muted)}#guide::backdrop{background:#20304755}@media(max-width:520px){.draft-bottom{gap:7px!important;padding-top:9px!important}.draft-instruction{font-size:10px}.draft-level-picker select{max-width:180px}.draft-celebration{font-size:22px}}@media(max-height:600px) and (min-width:700px){.draft-bottom{gap:6px!important}}
[hidden]{display:none!important}
.drafters-stage{position:relative;background:var(--paper);overflow:hidden}
.draft-legend{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;padding:4px 12px 8px;font-size:11px;color:var(--muted);flex-shrink:0}
.legend-cold{color:#c45b52}.legend-hot{color:#31916e}.legend-fit{color:#147d92}
@media(max-width:520px){.draft-legend{gap:8px;font-size:10px}.draft-legend>span:last-child{display:none}}

.draft-next-level{display:flex;align-items:center;justify-content:center;gap:12px;font:inherit;font-weight:800;cursor:pointer}
.draft-next-level:focus-visible{outline:3px solid var(--orange);outline-offset:3px}

/* Reaction Path's compact shell: reserve controls, then fit the square canvas. */
body.game-player-body.shared-game-body:has(.drafters-player){height:100dvh;overflow:hidden}
.shared-game.drafters-player{height:100dvh;min-height:0;max-width:650px!important;padding:12px 20px calc(10px + env(safe-area-inset-bottom))!important;overflow:hidden;gap:6px}
.shared-game.drafters-player .ux-topbar{min-height:44px;flex-shrink:0;padding:0;gap:5px}
.drafters-player .ux-topbar h1{font-size:23px}
.drafters-player>.ux-scoreboard{flex-shrink:0;margin:0}
.drafters-player .ux-points{min-width:0;min-height:28px;padding:3px 10px;gap:6px;border-radius:10px;box-shadow:none}
.drafters-player .ux-points small{font-size:8px}
.drafters-player .ux-points strong{font-size:16px}
.drafters-player .ux-points>span{font-size:16px}
.shared-game.drafters-player .drafters-stage{flex:1;min-height:0;border:0;border-radius:14px}
.drafters-player .draft-canvas-wrap{height:100%;min-height:0;padding:0}
.shared-game.drafters-player #grid{width:100%;height:100%;max-height:100%;max-width:100%;min-height:0}
.drafters-player>.ux-congratulations{flex-shrink:0;margin:0;font-size:18px;line-height:24px}
.drafters-player>.ux-bottom{flex-shrink:0;width:100%;max-width:none;margin:0;display:grid;grid-template-columns:auto minmax(0,1fr);border:0;border-radius:0 0 19px 19px}
.drafters-player .ux-status{grid-column:1/-1;margin:4px 8px 8px;font-size:11px;line-height:16px}
.drafters-player .ux-picker{padding:0 10px;gap:6px;font-size:11px;border-top:1px solid #cfdfc5;background:#fafbf6}
.drafters-player .ux-picker select{min-height:42px;max-width:100px;padding:4px;border:0;background:transparent}
.shared-game.drafters-player .ux-level{min-height:42px;border-radius:0 0 19px 0}
.drafters-player dialog{max-height:calc(100dvh - 32px);overflow:auto}
@media(max-width:520px){
 .shared-game.drafters-player{padding:8px 12px calc(8px + env(safe-area-inset-bottom))!important}
 .drafters-player .ux-topbar h1{font-size:20px}
 .drafters-player .ux-topbar .ux-icon{width:32px;padding:5px}
 .drafters-player .ux-picker{font-size:0;gap:0;padding:0 8px}
 .drafters-player .ux-picker select{font-size:12px}
}
@media(max-height:500px){
 .shared-game.drafters-player{padding-top:4px!important;padding-bottom:4px!important;gap:3px}
 .shared-game.drafters-player .ux-topbar{min-height:32px}
 .shared-game.drafters-player .ux-icon{height:32px;min-height:32px}
 .drafters-player .ux-points{min-height:20px;padding:2px 8px}
 .drafters-player .ux-points small{display:none}
 .drafters-player .ux-status{margin:2px 8px 4px;font-size:10px;line-height:14px}
 .drafters-player .ux-picker select,.shared-game.drafters-player .ux-level{min-height:36px}
}

/* One progression strip: current level, discovery, then explicit advancement. */
.drafters-player.discovery-game>.ux-scoreboard{display:none}
.drafters-player.discovery-game>.ux-bottom{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;min-height:54px;border-top:1px solid #cfdfc5;border-radius:0 0 19px 19px;background:#fafbf6;padding-left:14px;gap:12px}
.discovery-game .ux-level-number{grid-column:1;grid-row:1;font-size:12px;font-weight:700;white-space:nowrap}
.drafters-player.discovery-game .ux-congratulations{grid-column:2;grid-row:1;margin:0;padding:6px 0;font-size:12px;line-height:1.5;color:#38633a;text-align:center}
.shared-game.drafters-player.discovery-game .ux-level{grid-column:3;grid-row:1;width:auto;min-width:78px;align-self:stretch;border:0;border-radius:0 0 19px 0;padding:8px 14px}
@media(max-width:520px){.drafters-player.discovery-game>.ux-bottom{gap:6px;padding-left:10px}.drafters-player.discovery-game .ux-congratulations{font-size:10px}.shared-game.drafters-player.discovery-game .ux-level{min-width:62px;padding:8px 10px}}
