.pocket-game[hidden]{display:none!important}.game-room .room-game:has(>.pm2p-setup){width:100%}.pm2p-setup{box-sizing:border-box;flex-direction:column;flex:auto;justify-content:flex-start;align-items:stretch;width:100%;min-height:min(420px,60vh);padding:8px 4px 16px;display:flex}.pm2p-setup-card{box-sizing:border-box;text-align:center;flex-direction:column;gap:12px;width:100%;max-width:460px;margin-block:auto;margin-inline:auto;display:flex}.pm2p-setup-card .eyebrow{margin:0}.pm2p-setup-card h2{font:var(--pm-weight-display,800) 24px/1.15 var(--pm-font-display);margin:0}.pm2p-section{flex-direction:column;align-items:stretch;gap:6px;display:flex}.pm2p-label{color:var(--pm-muted);font:800 12px/1.2 var(--pm-font-body);letter-spacing:var(--pm-tracking-label,.06em);text-transform:uppercase;margin:0}.pm2p-layout-hint,.pm2p-note{color:var(--pm-muted);font:600 13px/1.35 var(--pm-font-body);margin:0}.pm2p-actions{grid-template-columns:1fr;gap:8px;margin-top:4px;display:grid}.pm2p-actions .pm-button{min-height:48px}.pm2p-start{font-size:18px}.pm-toy .pm2p-switch{justify-content:center;align-items:center;gap:8px;display:inline-flex}.pm2p-switch-emoji{font-size:22px;line-height:1}.pm-toy .pm-button-primary+.pm2p-switch{margin-top:8px}@media (max-width:400px){.pm-toy .pm-button-primary+.pm2p-switch{gap:6px;padding-inline:8px;font-size:14px}.pm-button-primary+.pm2p-switch .pm2p-switch-emoji{font-size:18px}}.pm2p-two-art{margin:8px 0 0;font-size:72px;line-height:1.1}.pm2p-bar{flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 6px;display:flex}.pm2p-bar>.pm2p-layouts{flex:200px}.pm2p-bar>.pm-button,.pm2p-bar>.pm-hud-button{flex:none}.pm2p-bar>.pm-hud-button{width:44px;height:44px}.pm2p-bar:has(>.pm-hud-actions){box-sizing:border-box;flex:100%}.pm2p-bar>.pm-hud-actions{margin-left:auto}.pm2p-layouts{grid-template-columns:repeat(var(--pm2p-layout-count,3), minmax(0, 1fr));gap:6px;display:grid}.pm2p-layouts>button{border:2.5px solid var(--pm-line);border-radius:var(--pm-radius-sm);background:var(--pm-surface);min-height:76px;color:var(--pm-muted);font:700 12px/1.2 var(--pm-font-body);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:6px 4px;display:flex}.pm2p-layouts>button.selected{border-color:var(--pm-accent);color:var(--pm-ink);box-shadow:var(--pm-shadow-flat)}.pm2p-art{flex:none}.pm2p-layouts.is-compact{flex:auto;gap:4px;min-width:0}.pm2p-layouts.is-compact>button{gap:1px;min-height:48px;padding:3px 4px;font-size:12px;line-height:1.1}.pm2p-layouts.is-compact .pm2p-art{width:30px;height:22px}.pm2p-strip{box-sizing:border-box;border:2.5px solid var(--pm-line);border-radius:var(--pm-radius);background:var(--pm-surface);min-height:48px;color:var(--pm-ink);box-shadow:var(--pm-shadow-flat);--pm2p-glow:var(--pm-game-blue);align-items:center;gap:8px;margin:4px 0;padding:6px 12px;display:flex;position:relative}.pm2p-strip.is-rotated{transform:rotate(180deg)}.pm2p-strip.is-active{border-color:var(--pm2p-glow);box-shadow:0 0 0 3px color-mix(in srgb, var(--pm2p-glow) 35%, transparent), 0 0 18px 2px color-mix(in srgb, var(--pm2p-glow) 55%, transparent)}.pm2p-chip{flex:none;justify-content:center;align-items:center;width:28px;height:28px;display:inline-flex}.pm2p-chip>svg,.pm2p-chip>span{max-width:100%;max-height:100%}.pm2p-name{flex-direction:column;flex:auto;min-width:0;display:flex}.pm2p-name strong{font:800 16px/1.2 var(--pm-font-body);overflow-wrap:anywhere}.pm2p-name small{color:var(--pm-muted);font:700 12px/1.2 var(--pm-font-body)}.pm2p-strip.is-active .pm2p-name small{color:var(--pm-ink)}.pm2p-value{font:800 22px/1 var(--pm-font-body);font-variant-numeric:tabular-nums}.pm2p-sr{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.pm2p-strip.is-winner{border-color:var(--pm2p-glow)}.pm2p-banner{box-sizing:border-box;border:2.5px solid var(--pm-line);border-radius:var(--pm-radius-pill);background:var(--pm-surface);min-height:40px;color:var(--pm-ink);font:800 16px/1.2 var(--pm-font-body);--pm2p-glow:var(--pm-game-blue);justify-content:center;align-items:center;gap:8px;margin:4px 0;padding:4px 12px;display:flex}.pm2p-banner.is-active{border-color:var(--pm2p-glow);box-shadow:0 0 0 3px color-mix(in srgb, var(--pm2p-glow) 35%, transparent), 0 0 16px 2px color-mix(in srgb, var(--pm2p-glow) 50%, transparent)}.pm2p-banner.is-score{justify-content:space-between;gap:6px;min-height:44px;padding:4px 8px;font-size:16px}.pm2p-bseat{border-radius:var(--pm-radius-pill);min-width:0;color:var(--pm-muted);border:2px solid #0000;flex:none;align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.pm2p-bseat.seat2{flex-direction:row-reverse}.pm2p-bseat .pm2p-chip{width:24px;height:24px}.pm2p-bseat .pm2p-value{color:var(--pm-ink);text-align:center;min-width:1ch;font-size:20px}.pm2p-bseat.is-active,.pm2p-bseat.is-winner{border-color:var(--pm2p-glow);background:color-mix(in srgb, var(--pm2p-glow) 22%, var(--pm-surface))}.pm2p-turn{text-align:center;flex:auto;justify-content:center;align-items:center;gap:6px;min-width:0;display:inline-flex}.pm2p-turn strong{font:800 clamp(13px, 4.2vw, 17px)/1.15 var(--pm-font-body);overflow-wrap:anywhere}.pm2p-turn svg{width:14px;height:14px}.pm2p-surface[data-glow="1"]{box-shadow:0 0 0 4px color-mix(in srgb, var(--pm2p-glow) 55%, transparent), 0 0 24px 4px color-mix(in srgb, var(--pm2p-glow) 55%, transparent);animation:2.2s ease-in-out infinite pm2p-pulse}.pm2p-surface[data-flipping="1"]{animation:pm2p-turn .34s var(--pm-ease,ease) both}.pm2p-surface[data-flipping="1"] .pm2p-upright{animation:pm2p-unturn .34s var(--pm-ease,ease) both}@keyframes pm2p-turn{0%{rotate:180deg}to{rotate:0deg}}@keyframes pm2p-unturn{0%{rotate:-180deg}to{rotate:0deg}}.pm2p-surface[data-flipping="1"]{pointer-events:none}.pm2p-layout-face .pm2p-far{rotate:180deg}@keyframes pm2p-pulse{0%,to{box-shadow:0 0 0 4px color-mix(in srgb, var(--pm2p-glow) 45%, transparent), 0 0 18px 2px color-mix(in srgb, var(--pm2p-glow) 40%, transparent)}50%{box-shadow:0 0 0 4px color-mix(in srgb, var(--pm2p-glow) 65%, transparent), 0 0 30px 6px color-mix(in srgb, var(--pm2p-glow) 65%, transparent)}}.pm2p-light{z-index:4;pointer-events:none;height:34vh;position:fixed;left:0;right:0}.pm2p-light[data-side=bottom]{background:linear-gradient(to top, color-mix(in srgb, var(--pm2p-glow) 30%, transparent), transparent);bottom:0}.pm2p-light[data-side=top]{background:linear-gradient(to bottom, color-mix(in srgb, var(--pm2p-glow) 30%, transparent), transparent);top:0}.game-room:not(.room-focused):not(.room-fit) .pm2p-light{display:none}.pm2p-cue{z-index:6;pointer-events:none;border:3px solid var(--pm2p-glow);border-radius:var(--pm-radius-pill);background:var(--pm-surface);color:var(--pm-ink);box-shadow:var(--pm-shadow-raised);font:800 20px/1.2 var(--pm-font-body);white-space:nowrap;padding:8px 18px;animation:1.4s both pm2p-cue;position:fixed;left:50%;translate:-50%}.pm2p-cue[data-side=bottom]{bottom:22%}.pm2p-cue[data-side=top]{top:22%}.pm2p-cue[data-side=mid]{top:40%}.pm2p-cue[data-rotated="1"]{rotate:180deg}@keyframes pm2p-cue{0%{opacity:0;scale:.85}15%,75%{opacity:1;scale:1}to{opacity:0;scale:1}}.game-room:not(.room-focused):not(.room-fit) .pm2p-cue{position:absolute}.room-focused .pm2p-strip,.room-focused .pm2p-banner{grid-column:1}@media (prefers-reduced-motion:reduce){.pm2p-surface[data-glow="1"],.pm2p-surface[data-flipping="1"],.pm2p-surface .pm2p-upright,.pm2p-cue{animation:none}}.pm-toy .pm2p-chip .mark-ink{fill:none;stroke:var(--pm-ink-line);stroke-width:23px;stroke-linecap:round;stroke-linejoin:round}.pm-toy .pm2p-chip .mark-fill{fill:none;stroke-width:12px;stroke-linecap:round;stroke-linejoin:round}.connect-hud>.pm2p-strip{flex:1 1 0;align-self:center;min-width:0;margin:0}.chess-dock>.pm2p-bar{grid-column:1/-1;margin:0}.game-room.room-focused[data-layout=rail] .pm2p-strip,.game-room.room-focused[data-layout=rail] .pm2p-banner{align-self:start}.pm2p-layout-face svg .pm2p-far{transform-box:fill-box;transform-origin:50%}@media (min-width:700px) and (min-height:700px){.pm2p-setup{min-height:min(620px,60vh)}.pm2p-setup-card{gap:18px;max-width:720px}.pm2p-setup-body{display:flex}.pm2p-setup-body .pm-diffpick-head{gap:18px}.pm2p-setup-card h2{font-size:36px}.pm2p-setup-hero,.pm2p-setup-hero>*{max-height:120px}.pm2p-label{font-size:14px}.pm2p-layout-hint,.pm2p-note{font-size:16px}.pm2p-actions{gap:12px}.pm2p-actions .pm-button{min-height:60px;font-size:20px}.pm2p-start{min-height:68px;font-size:26px}.pm2p-layouts>button{min-height:110px;font-size:15px}.pm2p-two-art{font-size:96px}}@media (orientation:landscape) and (max-height:699px){.pm2p-setup-card{max-width:880px}.pm2p-setup-body{grid-template-columns:minmax(0,.4fr) minmax(0,1.6fr)}.pm2p-actions{grid-template-columns:none;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;width:min(100%,520px)}}@media (orientation:landscape) and (max-height:360px){.pm2p-setup .pm-diffpick-body{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);column-gap:10px}.pm2p-setup .pm-dp-dots{gap:4px}.pm2p-setup .pm-dp-dots i{width:7px;height:7px}.pm2p-setup .pm2p-setup-card h2{font-size:18px;line-height:1.1}.pm2p-setup .pm-dp{--dp-w:104px;--dp-gap:10px}.pm2p-setup .pm2p-actions{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-auto-columns:auto}.pm2p-setup .pm-diffpick-actions .pm2p-switch.pm-button{gap:4px;padding-inline:6px;font-size:13px;line-height:1.15}.pm2p-setup .pm2p-switch-emoji{font-size:18px}}.pm2p-turn .pm2p-draws{flex-direction:row;align-items:center;gap:2px;display:inline-flex}.pm-toy .pm-players-button.pm-hud-button,.pm2p-bar>.pm-hud-button.pm-players-button{white-space:nowrap;border-radius:22px;flex:none;justify-content:center;align-items:center;gap:5px;width:auto;min-width:44px;height:44px;padding:0 12px;display:inline-flex}.pm-players-emoji{font-size:20px;line-height:1}.pm-toy .pm-players-count{font:800 15px/1 var(--pm-font-body,system-ui, sans-serif);color:var(--pm-ink);letter-spacing:.02em}.pm2p-bar>.pm-players-button{margin-left:auto}.pm2p-bar>.pm-hud-actions+.pm-players-button{margin-left:2px}
