.paper-game .game-shell:has(.brawl-room){--game-header-height:0px;flex-direction:column;height:100dvh;display:flex;overflow:hidden}.paper-game .game-shell:has(.brawl-room)>.game-shell-header{display:none}.paper-game .game-shell:has(.brawl-room) .game-shell-page{flex:1;min-height:0;padding:0}.paper-game .play-screen:has(.brawl-room){height:100%;padding:max(12px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.paper-game .brawl-room{height:100%;max-height:var(--visible-game-area,100%);flex-direction:column;gap:8px;max-width:1200px;min-height:0;margin:auto;display:flex}.brawl-room-header{flex-shrink:0;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;min-height:44px;display:grid}.brawl-room-header>.catalog-kicker{font:11px var(--font-mono);color:#75674e;letter-spacing:.12em}.brawl-room-back,.brawl-room-skip{min-height:44px;font:500 17px var(--font-oswald);align-items:center;gap:6px;padding:4px 8px;display:flex}.brawl-room-skip{color:#75674e;font-size:15px}.brawl-room-skip:disabled{opacity:.5}.brawl-room .game-icon{flex-shrink:0;width:26px;height:26px}.brawl-room-content{isolation:isolate;flex:1;min-height:0;position:relative;overflow:hidden}.brawl-room-hero{flex-direction:column;min-width:0;min-height:0;transition:transform .32s cubic-bezier(.22,.8,.25,1),opacity .24s;display:flex;position:absolute;inset:0}.brawl-room-stage{flex:1;min-height:0;position:relative}.brawl-room-stage>div{position:absolute;inset:0}.brawl-room-name{text-align:center;flex-shrink:0;padding:4px}.brawl-room-name h1{font:600 clamp(28px,4vw,46px)/1.1 var(--font-oswald);overflow-wrap:anywhere;margin:0}.brawl-room-name p{font:12px/1.4 var(--font-inter);color:#75674e;margin:6px 0 0}.brawl-room-shortcuts{flex-shrink:0;justify-content:center;gap:8px;display:flex}.brawl-room-shortcuts button{white-space:nowrap;min-height:44px;font:500 17px var(--font-oswald);color:#514936;background:0 0;border:0;justify-content:center;align-items:center;gap:6px;padding:6px 16px;display:flex}.brawl-room-shortcuts button+button{border-left:1px solid #b5a27d70}.brawl-room-shortcuts button:hover{background:#eadbaa80}.brawl-room-dock{flex-shrink:0;width:100%;max-width:660px;margin:auto;padding:4px}.brawl-room-action{align-items:center;gap:16px;min-width:0;display:flex}.brawl-room-find{width:100%;min-height:60px;font:650 26px var(--font-oswald);background:#f3d46c;border:2px solid #302b25;justify-content:center;align-items:center;gap:14px;display:flex;box-shadow:3px 4px #302b25}.brawl-room-find img{width:28px;height:34px;transform:rotate(-10deg)}.brawl-room-find:disabled{opacity:.55}.brawl-room-find:active:enabled{transform:translate(2px,2px);box-shadow:1px 2px #302b25}.brawl-room-queue{flex:1;align-items:center;gap:10px;min-width:0;display:flex}.brawl-room-queue>span{flex-direction:column;min-width:0;display:flex}.brawl-room-queue b{font:600 22px/1.15 var(--font-oswald)}.brawl-room-queue small{font:11px/1.4 var(--font-inter);color:#75674e}.brawl-room-clock{font:600 26px var(--font-oswald);color:#397567;font-variant-numeric:tabular-nums;white-space:nowrap}.brawl-room-cancel{min-height:44px;font:500 17px var(--font-oswald);white-space:nowrap;justify-content:center;align-items:center;gap:6px;padding:6px 12px;display:flex}.brawl-room-cancel .game-icon{width:20px;height:20px}.brawl-room-cancel:disabled{opacity:.6}.brawl-room-error{font:13px var(--font-inter);color:#a4402b;text-align:center;flex-shrink:0}.brawl-room-error button{min-height:44px;padding:4px 10px;text-decoration:underline}.brawl-room :is(button,a):focus-visible{outline-offset:2px;outline:3px solid #427365}.brawl-room-preparation{opacity:0;visibility:hidden;flex-direction:column;justify-content:center;min-width:0;transition:transform .32s cubic-bezier(.22,.8,.25,1),opacity .24s,visibility .32s;display:flex;position:absolute;inset:8% 0 8% 52%;transform:translate(32px)}.brawl-room-reading{scrollbar-width:thin;overscroll-behavior:contain;padding:10px 8px;overflow:auto}.brawl-room-reading [hidden]{display:none}.paper-game .brawl-room :is(.pep-card,.crew-conversation,.pep-cards){margin:0}.paper-game .brawl-room .pep-card{box-shadow:none;background:0 0;border:0;padding:12px 0}.paper-game .brawl-room .pep-card:before{display:none}.paper-game .brawl-room .pep-card header b{font-size:24px}.paper-game .brawl-room .pep-card header small{display:none}.paper-game .brawl-room .ritual-buttons{grid-template-columns:1fr 1fr;gap:12px;display:grid}.paper-game .brawl-room .ritual-buttons button{min-height:76px;padding:12px;font-size:18px}.paper-game .brawl-room .legend-conversation{box-shadow:none;background:0 0;border:0;padding:0}.paper-game .brawl-room .legend-conversation-thread{min-height:30px;max-height:180px;margin:12px 0;font-size:14px;overflow:auto}.paper-game .brawl-room .legend-conversation textarea{resize:none;min-height:64px;padding:10px;font-size:16px}.paper-game .brawl-room .legend-conversation form button{min-height:44px;font-size:18px}.brawl-room .match-control-picker{margin:0}.brawl-room .match-control-picker>div{grid-template-columns:1fr;gap:12px;display:grid}.brawl-room .match-control-picker button{min-height:60px;font-size:20px}.brawl-room-lineup h2{font:600 28px var(--font-oswald);margin-bottom:8px}.brawl-room-lineup>p{color:#75674e;margin-bottom:16px;font-size:13px}.brawl-room-crew,.brawl-room-arrivals{flex-wrap:wrap;gap:10px;display:flex}.brawl-room-crew button,.brawl-room-arrivals>div{min-height:62px;font:500 18px var(--font-oswald);background:0 0;border-bottom:1px solid #b5a27d;flex:1 0 140px;align-items:center;gap:10px;padding:8px 12px;display:flex}.brawl-room-crew button[aria-pressed=true],.brawl-room-arrivals>div[data-owner=true]{background:#f3d46c}.brawl-room-crew button:disabled{opacity:.5}.brawl-room .paper-face{flex-shrink:0;width:28px;height:38px}.brawl-room-crew small,.brawl-room-arrivals small{font:10px var(--font-mono);color:#75674e;display:block}.brawl-room-arrivals b{font:500 17px var(--font-oswald);display:block}.brawl-room-arrivals>div[data-team=true]{border-bottom:3px solid var(--team-color,#427365)}@media (max-width:650px){.brawl-room-header>.catalog-kicker{letter-spacing:.06em;font-size:9px}.brawl-room-header{gap:4px}.brawl-room-back{padding:4px 0;font-size:16px}.brawl-room-skip{padding:4px 0;font-size:13px}.brawl-room-skip .game-icon{width:20px}.brawl-room-shortcuts{gap:0}.brawl-room-shortcuts button{flex:1;gap:4px;min-width:0;padding:6px 4px;font-size:14px}.brawl-room-shortcuts .game-icon{width:22px;height:22px}.brawl-room-queue b{font-size:18px}.brawl-room-queue small{display:none}.brawl-room-clock{font-size:23px}.brawl-room-cancel{padding:6px 4px;font-size:15px}.brawl-room-action{gap:8px}.brawl-room[data-view=stage] .brawl-room-header>.catalog-kicker{display:none}}@media (max-height:500px){.paper-game .play-screen:has(.brawl-room){padding-top:4px;padding-bottom:4px}.paper-game .brawl-room{gap:2px}.brawl-room-name h1{font-size:24px}.brawl-room-name p{display:none}.brawl-room-shortcuts button{padding:3px 14px;font-size:15px}.brawl-room-find{min-height:46px;font-size:23px}.brawl-room-stage{min-height:75px}.paper-game .brawl-room .ritual-buttons button{min-height:56px;font-size:16px}.brawl-room-queue small{display:none}}.brawl-room[data-keyboard=true] .brawl-room-hero{opacity:0}.brawl-room[data-keyboard=true] .brawl-room-preparation{flex:1}.brawl-room[data-keyboard=true] .legend-conversation-thread{max-height:60px}@media (prefers-reduced-motion:reduce){.brawl-room *{scroll-behavior:auto}}@media (max-width:360px){.brawl-room-shortcuts button{gap:3px;font-size:12px}.brawl-room-shortcuts .game-icon{width:19px;height:19px}}.lobby-review{flex-direction:column;height:100dvh;display:flex}.lobby-review>.play-screen:has(.brawl-room){flex:1;height:auto;min-height:0}.brawl-room-header-status{text-align:left;justify-self:center}.brawl-room-header-secondary{justify-self:end}.brawl-room-back{justify-self:start}.brawl-room-header .brawl-room-queue{gap:10px}.brawl-room-header .brawl-room-queue b{font-size:18px}.brawl-room-header .brawl-room-queue small{display:none}.brawl-room-header .brawl-room-clock{text-align:center;min-width:64px;font-size:30px;line-height:1.2}.brawl-room:not([data-view=stage]) .brawl-room-hero{transform:translate(-27%)scale(.76)}.brawl-room:not([data-view=stage]) .brawl-room-preparation{opacity:1;visibility:visible;transform:translate(0)}.brawl-room-shortcuts{transition:opacity .18s}.brawl-room:not([data-view=stage]) .brawl-room-shortcuts{opacity:0}.brawl-room-action{justify-content:center}.brawl-room-reading{max-height:100%}.brawl-room-reading .legend-conversation h3{font-size:26px;line-height:1.2}.brawl-room-reading .legend-conversation header p{font-size:13px}.brawl-room-reading .legend-conversation-thread{padding:12px 0}.lobby-review-toolbar{flex-shrink:0;align-items:center;gap:10px;min-height:40px;padding:4px 16px;display:flex}.lobby-review-toolbar button{min-height:32px;font:11px var(--font-mono);text-decoration:underline}.lobby-review-toolbar small{font:9px var(--font-mono);color:#75674e}@media (max-width:650px){.brawl-room-header{grid-template-columns:44px 1fr 44px;min-height:48px}.brawl-room-back span{display:none}.brawl-room-back{justify-content:center;width:44px}.brawl-room-header .brawl-room-queue b{font-size:16px}.brawl-room-header .brawl-room-clock{min-width:54px;font-size:26px}.brawl-room-header-secondary .brawl-room-skip{justify-content:center;width:44px;height:44px;font-size:0}.brawl-room-header-secondary .brawl-room-skip .game-icon{width:24px}.brawl-room:not([data-view=stage]) .brawl-room-hero{opacity:0;transform:translate(-12%)scale(.94)}.brawl-room-preparation{background:#f5efdf;justify-content:flex-start;inset:0;transform:translate(48px)}.brawl-room-reading{padding:18px 6px}.lobby-review-toolbar{gap:8px;padding:4px 12px}.lobby-review-toolbar small{font-size:8px}}@media (max-height:500px){.brawl-room-preparation{top:0;bottom:0}.brawl-room-reading{padding-top:4px;padding-bottom:4px}.brawl-room-header{min-height:44px}}@media (prefers-reduced-motion:reduce){.brawl-room-hero,.brawl-room-preparation,.brawl-room-shortcuts{transition:none}}body:has(.brawl-room){min-width:0}.brawl-room-preparation:has(.legend-conversation) .brawl-room-reading{height:100%}.brawl-room-reading>div:has(>.legend-conversation){height:100%}.paper-game .brawl-room .legend-conversation{flex-direction:column;height:100%;display:flex}.paper-game .brawl-room .legend-conversation-thread{flex:1;min-height:60px;max-height:none}.paper-game .brawl-room .legend-conversation form{flex-shrink:0}.paper-game .brawl-room .legend-conversation form button{background:#f3d46c;border:2px solid #302b25;padding:8px 12px}.paper-game .brawl-room .legend-conversation form button:disabled{opacity:.45}.brawl-room-reading>div:has(>.crew-conversation){height:100%}.paper-game .brawl-room .crew-conversation{flex-direction:column;gap:12px;height:100%;display:flex}.paper-game .brawl-room .crew-conversation>.legend-conversation{flex:1;min-height:0}@media (min-width:651px) and (min-height:501px){.brawl-room-content{width:100%;max-height:660px;margin-block:auto 0}.brawl-room-preparation{inset:12% 2% 12% 52%}.brawl-room:not([data-view=stage]) .brawl-room-hero{transform:translate(-25%)scale(.82)}.brawl-room-shortcuts{margin-top:-4px;margin-bottom:auto}}.brawl-room--mode-entry .brawl-room-content{width:100%;max-height:none;margin:0}.brawl-room--mode-entry .brawl-room-shortcuts{margin:0}.brawl-room--mode-entry .brawl-room-name h1{font-size:clamp(28px,3vw,38px)}.brawl-room-game-modes{flex-shrink:0;width:min(100%,660px);margin:8px auto 0;padding:0 4px}.brawl-room-mode-summary{text-align:center;min-height:32px;font:13px/1.4 var(--font-inter);color:#75674e;margin:8px 0 0}.brawl-room--mode-entry:not([data-view=stage]) .brawl-room-game-modes{visibility:hidden}@media (max-width:650px){.brawl-room-game-modes{margin-top:8px;padding:0 2px}.brawl-room-mode-summary{min-height:28px;margin-top:8px;font-size:12px}.brawl-room--mode-entry .brawl-room-shortcuts button{font-size:13px}.brawl-room--mode-entry .brawl-room-shortcuts .game-icon{width:19px;height:19px}}@media (orientation:landscape) and (max-height:550px){.brawl-room--mode-entry[data-view=stage] .brawl-room-hero{-moz-column-gap:16px;grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr) minmax(320px,1fr);column-gap:16px;display:grid}.brawl-room--mode-entry[data-view=stage] .brawl-room-stage{grid-area:1/1}.brawl-room--mode-entry[data-view=stage] .brawl-room-name{grid-area:2/1;align-self:end}.brawl-room--mode-entry[data-view=stage] .brawl-room-game-modes{grid-area:1/2/3;align-self:center;margin:4px 0 0}.brawl-room--mode-entry .brawl-room-shortcuts button{min-height:36px;padding-block:2px}.brawl-room-mode-summary{min-height:24px;font-size:11px}}.brawl-room-entry-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:24px;display:flex}.brawl-room-entry-state>.game-icon{width:96px;height:96px}.brawl-room-entry-state h1{font:600 clamp(26px,5vw,42px)/1.15 var(--font-oswald);margin:0}.brawl-room-entry-state p{color:#7f735a;max-width:380px;margin:0;font-size:16px;line-height:1.5}.brawl-room-name[hidden]{display:none}@media (max-height:500px){.brawl-room-entry-state{gap:8px;padding:8px}.brawl-room-entry-state>.game-icon{width:48px;height:48px}}
