/* URURU 1.5 — one type scale and one set of controls, from library to finish. */
:root{font-family:UruruBrand,Arial,sans-serif;--ururu-ink:#242831;--ururu-paper:#fffdf5}
body,button,input,select,textarea{font-family:UruruBrand,Arial,sans-serif}
body{font-weight:600}
h1,h2,h3{font-weight:900;letter-spacing:-.035em;text-wrap:balance}
p{font-weight:600}
.button,.text-button,.category-filter,.side-nav a{font-weight:800}
.catalog-workspace .page-heading:not(.catalog-hero) h1{font-size:clamp(30px,3vw,48px)}
.catalog-workspace .sidebar{border-radius:28px 31px 27px 30px}
.catalog-workspace .side-nav a{font-size:16px;min-height:48px}
.catalog-workspace .sidebar-label{font-size:12px;font-weight:750}
.catalog-workspace .topbar{font-size:15px}
.catalog-workspace .brand-wordmark{font-size:22px}
.catalog-workspace .small-note,.site-player .small-note{font-size:13px;line-height:1.5}
.catalog-workspace .button,.site-player .button{min-height:48px;font-size:15px;border-width:2px;border-radius:14px;box-shadow:0 4px 0 var(--ururu-ink)}
.catalog-workspace .button.small{min-height:40px;font-size:14px}
.catalog-workspace .button:active:not(:disabled),.site-player .button:active:not(:disabled){transform:translateY(3px);box-shadow:0 1px 0 var(--ururu-ink)}
.catalog-workspace .catalog-hero{grid-template-columns:minmax(0,1fr) clamp(190px,21vw,340px);gap:24px 28px;padding:36px 0 30px;align-items:center}
.catalog-workspace .catalog-hero-copy{max-width:none}
.catalog-workspace .catalog-hero h1{font-size:clamp(38px,3.8vw,76px);font-weight:900;line-height:1.04;letter-spacing:-.04em;margin:0 0 24px;max-width:none;text-wrap:initial}
.catalog-workspace .catalog-hero h1 .muted{color:#626575}
.catalog-workspace .catalog-hero p{font-size:clamp(17px,1.5vw,25px);line-height:1.45;max-width:none;color:#535c69}
.catalog-workspace .catalog-tabs{gap:12px}
.catalog-workspace .catalog-tabs .text-button{font-size:15px;min-height:42px;padding:9px 14px}
.catalog-workspace .catalog-category-row{align-items:center;gap:16px;margin-bottom:28px}
.catalog-workspace .category-filters{gap:10px}
.catalog-workspace .category-filter{font-size:14px;min-height:42px;padding:8px 12px;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;line-height:1.2;box-shadow:0 4px 0 var(--ururu-ink)}
.catalog-workspace .catalog-category-row>.button{min-height:42px;font-size:14px}
.catalog-workspace .featured{padding:30px;border-radius:30px 34px 28px 32px}
.catalog-workspace .featured h2{font-size:clamp(30px,2.6vw,48px);line-height:1.1;max-width:none;font-weight:900}
.catalog-workspace .featured-copy>p{font-size:16px;line-height:1.5;max-width:none;color:#52546c}
.catalog-workspace .featured .inline-stats{font-size:14px;font-weight:750}
.catalog-workspace .card-body h3{font-size:23px;line-height:1.2}
.catalog-workspace .card-body>p{font-size:15px;line-height:1.5}
.catalog-workspace .section-heading h2{font-size:26px}
.catalog-workspace .count{font-weight:800}
.site-player .join-card h1{font-size:clamp(30px,7vw,44px);line-height:1.08}
.site-player .join-card>p{font-size:16px}
.site-player label{font-size:15px}
.site-player input{font-size:17px}

/* A single, stable top rail. Only the content below it changes between phases. */
#app.game-room{--rail-height:56px;--leader-row-height:80px;--leader-label-height:42px;--meta-height:68px;grid-template-rows:var(--rail-height) minmax(0,1fr);gap:20px;padding:20px max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));font-family:UruruBrand,Arial,sans-serif}
#app.game-room .room-top{grid-row:1;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:24px;position:relative;min-height:0;align-items:center}
#app.game-room .room-top>.player-brand{grid-column:1;gap:10px;margin:0;position:static;min-width:0}
#app.game-room .room-top .brand-pigeon{width:39px;height:48px}
#app.game-room .room-top .brand-wordmark{font-size:21px;letter-spacing:.2px}
#app.game-room #room-toolbar{grid-column:2;grid-row:1;display:flex;gap:12px;position:static;margin:0;min-height:0;min-width:0;align-items:center}
#app.game-room #room-toolbar:empty{display:none}
#app.game-room .playback-toolbar{display:contents}
#app.game-room .room-top-actions{grid-column:3;display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}
#app.game-room .room-ident{margin:0;height:48px;padding:10px 16px;gap:10px;border-radius:17px;border-width:3px;box-shadow:0 5px 0 var(--ink)}
#app.game-room .room-ident span{font-size:11px;font-weight:850;letter-spacing:1px;display:block}
#app.game-room .room-ident strong{font-size:21px;font-weight:950;letter-spacing:3px;font-variant-numeric:tabular-nums}
#app.game-room .button,#app.game-room .button.small,#app.game-room #room-toolbar .button,#app.game-room .question-bottom .button{min-height:48px;padding:10px 16px;border:3px solid var(--ink);border-radius:17px;box-shadow:0 5px 0 var(--ink);font-size:16px;font-weight:850;line-height:1.15;gap:10px;white-space:normal}
#app.game-room .button .icon,#app.game-room #room-toolbar .icon{width:21px;height:21px}
#app.game-room #sound-toggle{min-width:232px}
#app.game-room #room-toolbar>[data-dialog]{min-width:170px}
#app.game-room .button.fullscreen-toggle{width:auto;min-height:48px;padding:10px 16px;gap:10px}
#app.game-room .fullscreen-toggle>span{display:inline}
#app.game-room .presentation-toggle>span{white-space:nowrap}
#app.game-room .button:disabled{opacity:.48}
#app.game-room .button:hover:not(:disabled){box-shadow:0 7px 0 var(--ink);transform:translateY(-2px)}
#app.game-room .button:active:not(:disabled){box-shadow:0 2px 0 var(--ink);transform:translateY(3px)}
#app.game-room .text-button{font-size:15px;font-weight:800}
#app.game-room #connection{position:absolute;top:calc(100% + 6px);left:50%;transform:translateX(-50%);z-index:10;background:#fff0b5;color:#503d20;border:2px solid var(--ink);padding:5px 12px;border-radius:10px;white-space:nowrap;font-size:13px;font-weight:850}
#app.game-room #connection[hidden]{display:none}
#app.game-room #auto-status{display:none}
#app.game-room #room-content{grid-row:2;width:min(1680px,88vw);height:100%;min-height:0;margin:0 auto}
#app.game-room[data-role="player"]{--rail-height:42px;--meta-height:58px;grid-template-rows:var(--rail-height) 42px minmax(0,1fr);gap:10px}
#app.game-room[data-role="player"] #room-content{grid-row:3;width:min(860px,100%)}
#app.game-room #device-profile{grid-row:2;position:static;height:42px;border-radius:14px;padding:4px 12px;width:min(860px,100%);margin:0 auto;background:#fffdf5bb}
#app.game-room #device-profile strong{font-size:15px;max-width:50%}
#app.game-room #device-profile .rank-badge{font-size:11px}
#app.game-room #device-profile span:not(.rank-badge){font-size:12px}

/* Lobby: large QR and room code, with the participant panel using the same edge. */
#app.game-room[data-phase="lobby"] .lobby-heading{flex:0 0 auto;display:block;margin:10px 0 26px;padding:0;max-height:none}
#app.game-room[data-phase="lobby"] .lobby-heading h1{font-size:clamp(32px,3.35vw,68px);font-weight:950;line-height:1.08;letter-spacing:-.035em;margin:0 0 16px;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;text-wrap:balance}
#app.game-room[data-phase="lobby"] .lobby-intro{display:block;font-size:clamp(19px,1.8vw,32px);font-weight:850;color:#515863;line-height:1.25;margin:0}
#app.game-room[data-phase="lobby"] .lobby-layout{flex:1 1 0;grid-template-columns:minmax(280px,.85fr) minmax(0,1.4fr);gap:28px;height:auto;max-height:none;margin-bottom:8px}
#app.game-room .invite-panel,#app.game-room .players-panel{padding:24px;border-width:4px;border-radius:32px 34px 29px 32px;box-shadow:0 9px 0 var(--ink)}
#app.game-room[data-phase="lobby"] .invite-panel{grid-template-rows:minmax(0,1fr) auto auto auto;gap:12px}
#app.game-room[data-phase="lobby"] .qr-frame{border-width:2px;border-radius:17px;padding:0}
#app.game-room[data-phase="lobby"] .invite-panel>.eyebrow{font-size:13px;line-height:1.3;font-weight:850;letter-spacing:.8px}
#app.game-room[data-phase="lobby"] .room-code-large{font-size:clamp(38px,4.4vw,80px);line-height:1;font-weight:950;letter-spacing:6px;font-variant-numeric:tabular-nums}
#app.game-room[data-phase="lobby"] .invite-panel>.text-button{font-size:16px;min-height:36px}
#app.game-room[data-phase="lobby"] .section-heading{margin:0 0 20px;align-items:center}
#app.game-room[data-phase="lobby"] .section-heading h2{font-size:clamp(24px,2vw,40px);font-weight:950}
#app.game-room[data-phase="lobby"] .section-heading .muted{font-size:17px;font-weight:750;white-space:nowrap}
#app.game-room[data-phase="lobby"] .count{font-size:20px;min-width:38px;height:36px;border-width:2px;border-radius:11px;margin-left:12px;font-weight:850}
#app.game-room[data-phase="lobby"] .empty-note{font-size:clamp(17px,1.5vw,26px);line-height:1.4;font-weight:750}
#app.game-room .players-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#app.game-room .player-chip{padding:10px 12px;font-size:18px;gap:10px;border:2px solid #d6d1de;background:#f0edf8;border-radius:16px}
#app.game-room .player-chip .character-avatar{width:44px;height:44px}
#app.game-room .player-rank{font-size:12px;font-weight:750}
#app.game-room[data-phase="lobby"] .lobby-footer{display:flex;flex-direction:row;align-items:center;gap:14px;margin-top:auto;padding-top:16px;flex-wrap:wrap}
#app.game-room[data-phase="lobby"] .lobby-footer .host-controls{gap:16px}
#app.game-room[data-phase="lobby"] .lobby-hint{font-size:14px;font-weight:700;line-height:1.35;max-width:360px}
#app.game-room .lobby-footer .danger{font-size:14px}

/* Questions: content first, two clear answer rows and a consistent bottom rail. */
#app.game-room .question-stage{grid-template-columns:minmax(0,1fr);grid-template-rows:var(--meta-height) minmax(100px,1fr) 52px minmax(156px,.43fr) auto 54px;gap:14px;height:100%;padding:0}
#app.game-room .question-meta{grid-column:1;grid-row:1;display:flex;justify-content:center;align-items:center;position:static;padding:0;letter-spacing:0}
#app.game-room .question-meta>span:first-child{display:flex;flex-direction:column;justify-content:center;gap:4px;width:100%;transform:none;min-width:0}
#app.game-room .round-label{font-size:clamp(17px,1.5vw,26px);letter-spacing:.1em;font-weight:950;line-height:1.1}
#app.game-room .question-meta b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;text-overflow:ellipsis;text-align:center;max-width:90%;font-size:clamp(18px,1.7vw,32px);font-weight:800;line-height:1.15;color:#4b5360;letter-spacing:-.025em}
#app.game-room .question-number,#app.game-room .visual-media-stage .question-number{position:absolute;top:calc(var(--meta-height) - 22px);right:-28px;width:84px;height:84px;padding:4px;border:4px solid var(--ink);box-shadow:0 6px 0 var(--ink);rotate:7deg;background:var(--violet);color:var(--ink);z-index:4}
#app.game-room .question-number strong{display:flex;align-items:baseline;font-size:44px;font-weight:1000;line-height:1;letter-spacing:-3px}
#app.game-room .question-number strong small{font-size:26px;font-weight:950;letter-spacing:-1px}
#app.game-room .content-card{grid-column:1;grid-row:2;border-width:4px;border-radius:32px 35px 29px 33px;padding:26px 48px;box-shadow:0 9px 0 var(--ink),inset 0 0 0 6px #fff,inset 0 -13px 0 #eae9e2;gap:16px}
#app.game-room .question-copy{font-family:UruruBrand,Arial,sans-serif;font-size:clamp(30px,3.1vw,64px);font-weight:850;line-height:1.14;letter-spacing:-.035em;text-wrap:balance}
#app.game-room .content-card.has-media{padding:22px 40px;gap:14px}
#app.game-room .has-media .question-copy{font-size:clamp(25px,2.4vw,44px);font-weight:850;line-height:1.15;max-height:54%;min-height:0;flex:0 1 auto}
#app.game-room .timer-row{grid-column:1;grid-row:3;padding:0}
#app.game-room .timer-track{border-width:3px;border-radius:18px;box-shadow:0 5px 0 var(--ink)}
#app.game-room .timer-row>strong{font-size:26px;font-weight:950}
#app.game-room .answer-grid{grid-column:1;grid-row:4;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:14px 22px}
#app.game-room .answer{padding:12px 20px;gap:16px;border-width:3px;border-radius:23px;box-shadow:0 6px 0 var(--ink),inset 0 2px 0 #fff}
#app.game-room .answer-letter{width:46px;height:46px;flex:0 0 46px;border-radius:14px;font-size:25px;font-weight:900}
#app.game-room .answer-copy{font-size:clamp(20px,1.7vw,32px);font-weight:800;line-height:1.15}
#app.game-room .answer-votes{font-size:13px;font-weight:800}
#app.game-room .selected-mark{font-size:10px;font-weight:900;letter-spacing:.03em}
#app.game-room .question-feedback{grid-column:1;grid-row:5;gap:5px}
#app.game-room .question-feedback:empty{display:none}
#app.game-room .question-bottom{grid-column:1;grid-row:6;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;font-size:18px;font-weight:850;min-height:0;padding:0;border:0}
#app.game-room .question-bottom #answer-count{grid-column:2;justify-self:center;white-space:nowrap}
#app.game-room .question-bottom .host-controls{grid-column:3;display:flex;justify-content:flex-end;align-items:center;gap:18px;min-width:0;white-space:nowrap;flex-wrap:nowrap}
#app.game-room .question-bottom .text-button{font-size:14px}
#app.game-room .question-bottom .score-tag{grid-column:3;justify-self:end;font-size:15px;padding:5px 10px}
#app.game-room .next-stage-note,#app.game-room [data-auto-countdown]{font-size:15px;font-weight:900;line-height:1.25;color:var(--ink)}
#app.game-room .reveal-note{font-size:18px;gap:12px}
#app.game-room .reveal-note strong{font-size:18px;font-weight:950}
#app.game-room .answer-received{font-size:17px;font-weight:850}
#app.game-room .confirm-answer .button{min-height:50px;font-size:18px;padding:10px 16px;border-radius:16px;max-width:640px}
#app.game-room .confirm-answer .small-note{font-size:13px;line-height:1.3;font-weight:750}
#app.game-room .question-detail{font-size:12px;font-weight:850;padding:5px 10px;bottom:5px;background:var(--paper);border-radius:8px}
#app.game-room .media-note{font-size:15px;font-weight:800;padding:9px 12px}
#app.game-room .question-stage.visual-media-stage{grid-template-columns:minmax(0,1fr);grid-template-rows:var(--meta-height) minmax(64px,1fr) 34px 70px auto 52px;gap:12px}
#app.game-room .visual-media-frame{grid-row:2/-1;grid-column:1;inset:0;border-radius:32px 35px 29px 33px}
#app.game-room .visual-media-stage .content-card{padding:18px 44px;background:transparent;border-color:transparent;box-shadow:none;justify-content:flex-start}
#app.game-room .visual-media-stage .question-copy{font-size:clamp(23px,2vw,38px);padding:10px 16px;max-height:100%;background:#242831b8;color:#fff;text-shadow:0 1px 2px #000}
#app.game-room .visual-media-stage>.answer-grid{grid-column:1;grid-row:4;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:1fr;gap:12px}
#app.game-room .visual-media-stage .answer{background:#fffdf5df;border-color:#242831ba;gap:8px;padding:8px 12px;border-radius:16px}
#app.game-room .visual-media-stage .answer-letter{width:32px;height:32px;flex-basis:32px;font-size:19px;border-radius:10px}
#app.game-room .visual-media-stage .answer-copy{font-size:clamp(16px,1.35vw,25px);font-weight:850}
#app.game-room .visual-media-stage .answer.correct{background:#bce875ec}
#app.game-room .visual-media-stage .answer.dimmed{background:#eae9e8c7}
#app.game-room .visual-media-stage .question-bottom,#app.game-room .visual-media-stage .question-feedback{background:#fffdf5ca;color:var(--ink);text-shadow:none;border-radius:13px}
#app.game-room .visual-media-stage .question-bottom{margin-bottom:12px;padding:4px 10px}
#app.game-room .visual-media-stage .question-bottom .button,#app.game-room .visual-media-stage .media-retry{background:#fffdf5dd;color:var(--ink);text-shadow:none;border-color:#242831b8}
#app.game-room .visual-media-stage .question-bottom .button.primary{background:#d3fc6ae6}
#app.game-room .visual-media-stage .question-bottom .text-button,#app.game-room .visual-media-stage .reveal-note strong,#app.game-room .visual-media-stage .reveal-note .text-button,#app.game-room .visual-media-stage .next-stage-note{color:var(--ink);text-shadow:none}

/* Explanations use a coloured card, while keeping the answer/timer geometry. */
#app.game-room .content-card.explanation-card{background:#dacdf6;border-color:var(--ink);padding:22px 30px;box-shadow:0 9px 0 var(--ink),inset 0 0 0 5px #ffffff70,inset 0 -11px 0 #bca9db50;gap:14px}
#app.game-room .explanation-card .eyebrow{align-self:center;display:inline-flex;border:2px solid var(--ink);border-radius:9px;background:var(--ink);color:#fffdf5;padding:5px 10px;font-size:12px;font-weight:950;letter-spacing:.07em;line-height:1.2}
#app.game-room .explanation-copy{font-size:clamp(23px,2.3vw,42px);font-weight:900;line-height:1.25;letter-spacing:-.02em;color:var(--ink)}
#app.game-room .explanation-card[data-compact="true"] .explanation-copy{font-size:19px;font-weight:900;line-height:1.25}
#app.game-room .explanation-card .game-pagination .button{min-height:32px;font-size:13px;padding:5px 10px;border-width:2px;border-radius:10px;box-shadow:0 3px 0 var(--ink)}
#app.game-room .visual-media-stage.explanation-stage .visual-media-frame{background:#dacdf6}
#app.game-room .visual-media-stage.explanation-stage .content-card.explanation-card{background:transparent;border-color:transparent;box-shadow:none}
#app.game-room .explanation-media{border:2px solid var(--ink);background:#242831;border-radius:18px}
#app.game-room .explanation-media:has(audio){border:0;background:transparent}
#app.game-room .explanation-media:has(audio)::before{font-size:20px}

/* A little record player with an irregular, mirrored waveform. */
.sound-wave{position:relative;display:flex;align-items:center;justify-content:center;gap:14px;width:min(620px,95%);height:100%;min-height:68px;max-height:180px;isolation:isolate}
.wave-bars{height:85%;min-height:55px;display:flex;align-items:center;justify-content:center;gap:5px;flex:1;min-width:0}
.wave-bars-left{flex-direction:row-reverse}
.wave-bars span{display:block;flex:1 1 0;max-width:12px;height:70%;border:2px solid var(--ink);border-radius:20px;background:var(--violet);box-shadow:0 3px 0 #2428313b;transform-origin:center;animation:ururu-wave 1.1s cubic-bezier(.37,0,.63,1) infinite alternate;animation-play-state:paused}
.wave-bars span:nth-child(3n){height:92%;background:var(--lime);animation-delay:-.7s;animation-duration:.85s}
.wave-bars span:nth-child(4n+1){height:42%;background:var(--blue);animation-delay:-.2s;animation-duration:1.35s}
.wave-bars span:nth-child(5n+2){height:62%;background:#ecc1dd;animation-delay:-1.2s;animation-duration:1.6s}
.wave-record{position:relative;flex:0 0 auto;width:110px;aspect-ratio:1;border:4px solid var(--ink);border-radius:50%;background:repeating-radial-gradient(circle,#353943 0 4px,#242831 5px 7px);box-shadow:0 7px 0 #24283138;display:grid;place-items:center;animation:ururu-record 6s linear infinite;animation-play-state:paused;z-index:1}
.wave-record::before{content:'';position:absolute;inset:8px;border:3px solid #fff5;border-right-color:transparent;border-bottom-color:transparent;border-radius:50%;rotate:-25deg}
.wave-label{width:49%;height:49%;display:grid;place-items:center;background:var(--lime);border:3px solid var(--ink);border-radius:50%}
.wave-label .icon{width:27px;height:27px;color:var(--ink)}
.wave-orbit{position:absolute;width:150px;aspect-ratio:1;border:3px solid #b9a4fd7a;border-radius:50%;animation:ururu-orbit 2.2s ease-out infinite;animation-play-state:paused;z-index:-1}
.wave-orbit-two{animation-delay:-1.1s;border-color:#a4cf605e}
#app.game-room[data-phase="question"] .sound-wave *{animation-play-state:running}
@keyframes ururu-wave{0%{transform:scaleY(.28)}100%{transform:scaleY(1)}}
@keyframes ururu-record{to{transform:rotate(360deg)}}
@keyframes ururu-orbit{0%{transform:scale(.6);opacity:.8}100%{transform:scale(1.55);opacity:0}}

/* Results: one useful headline and a full-width, legible score table. */
#app.game-room .results-stage{gap:24px;display:flex;flex-direction:column;width:100%;max-width:none}
#app.game-room .results-title{flex:0 0 auto;padding:4px 0 0;margin:0;text-align:center}
#app.game-room .trophy-mark{width:76px;height:76px;margin:0 auto 20px;border-width:3px;border-radius:24px;box-shadow:0 7px 0 var(--ink)}
#app.game-room .trophy-mark .icon{width:43px;height:43px}
#app.game-room .results-title .eyebrow,#app.game-room[data-phase="finished"] .results-title .eyebrow{font-size:16px;font-weight:900;letter-spacing:.11em;position:static;padding:0;margin:0 0 12px;line-height:1.2}
#app.game-room .results-title h1{font-size:clamp(30px,2.8vw,54px);font-weight:900;line-height:1.1;letter-spacing:-.03em;margin:0 auto;max-width:94%;white-space:normal}
#app.game-room #leaderboard-list{width:100%;max-width:none;flex:1 1 0;min-height:0;margin:0 auto;gap:12px;padding-bottom:8px;align-items:stretch;justify-content:flex-start}
#app.game-room .leaderboard{width:100%;border-width:4px;border-radius:30px 33px 27px 30px;box-shadow:0 8px 0 var(--ink);flex:0 0 auto}
#app.game-room .leader-row{grid-template-columns:54px minmax(0,1fr) 106px 90px;gap:16px;padding:10px 22px;font-size:22px;align-items:center}
#app.game-room .leader-row:not(.leader-label){height:var(--leader-row-height);min-height:var(--leader-row-height)}
#app.game-room .leader-label{height:var(--leader-label-height);min-height:var(--leader-label-height);font-size:14px;font-weight:800;padding:8px 22px;background:#eee8f8;color:#626172}
#app.game-room .leader-row>span:nth-last-child(2),#app.game-room .leader-row>b{text-align:right;font-variant-numeric:tabular-nums}
#app.game-room .leader-row>b{font-size:30px;font-weight:950}
#app.game-room .leader-person{gap:14px}
#app.game-room .leader-person .character-avatar{width:48px;height:48px}
#app.game-room .leader-person strong{font-size:22px;font-weight:900;line-height:1.1}
#app.game-room .leader-person small{font-size:11px}
#app.game-room .leader-labels{display:flex;align-items:center;gap:8px;margin-top:5px;min-width:0}
#app.game-room .leader-person .rank-badge{font-size:10px;font-weight:800;padding:2px 7px;line-height:1.2}
#app.game-room .game-title-badge{font-size:13px;font-weight:850;padding:3px 9px;line-height:1.15;border-radius:12px;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
#app.game-room .rank{width:38px;height:38px;border:2px solid var(--ink);border-radius:13px;font-size:19px;font-weight:850}
#app.game-room .game-pagination{min-height:36px;font-size:14px;gap:14px;font-weight:850}
#app.game-room .game-pagination .button{min-height:32px;padding:4px 12px;border-width:2px;border-radius:11px;box-shadow:0 3px 0 var(--ink)}
#app.game-room .results-bottom{flex:0 0 auto;display:flex;flex-direction:column;gap:12px;margin:0;padding-bottom:5px}
#app.game-room .results-bottom .host-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px;width:100%}
#app.game-room .next-game-actions{justify-content:center;gap:18px}
#app.game-room .next-game-actions>.button{min-height:60px;font-size:clamp(17px,1.4vw,26px);padding:14px 22px;border-radius:20px}
#app.game-room .results-bottom .muted{font-size:14px;font-weight:750;line-height:1.3}
#app.game-room .victory-note{font-size:15px;font-weight:850;margin:10px 0 0}
#app.game-room .waiting h1{font-weight:950;font-size:clamp(30px,4vw,52px)}
#app.game-room .waiting p{font-size:18px;font-weight:700}
#app.game-room .waiting-game{font-size:18px}
#app.game-room .media-loading-stage{grid-template-rows:var(--meta-height) minmax(0,1fr) 48px}
.game-dialog{font-family:UruruBrand,Arial,sans-serif;max-height:calc(100dvh - 36px);overflow:auto}
.game-dialog h2{font-size:25px;font-weight:950}
.game-dialog label{font-size:15px;font-weight:800}
.game-dialog .small-note{font-size:14px}
.game-dialog input,.game-dialog select{font-size:16px;min-height:42px}
.game-dialog .button{font-size:16px}

/* Large editor: the outline is cheap text; only one full form exists. */
.editor-heading .editor-title{align-items:center;gap:18px;margin-bottom:18px}
.catalog-workspace .editor-title h1{font-size:34px;margin:0 0 5px}
.editor-draft-status{font-size:13px;color:#556575;font-weight:750}
.editor-draft-status[data-state="error"]{color:#953b45}
.editor-setup{border:3px solid var(--ururu-ink);border-radius:22px;background:#fffdf5;box-shadow:0 5px 0 var(--ururu-ink);margin:0 0 24px}
.editor-setup>summary{display:flex;align-items:center;gap:16px;list-style:none;padding:17px 20px;cursor:pointer}
.editor-setup>summary::-webkit-details-marker{display:none}
.editor-setup>summary>strong{font-size:19px;white-space:nowrap}
.editor-setup>summary>span{font-size:15px;color:#5b6373;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.editor-setup[open]>summary{border-bottom:2px solid #e0e1e5}
.editor-setup[open]>summary .icon{rotate:45deg}
.editor-setup-body{padding:20px}
.catalog-workspace .editor-setup-body :is(.editor-info,.cover-settings,.game-settings){border:0;border-radius:0;box-shadow:none;margin:0 0 24px;padding:0;background:transparent}
.editor-bulk-time{display:grid;grid-template-columns:minmax(0,1fr) 90px auto;align-items:center;gap:14px;background:#eaf1f8;border:2px solid #879bab;border-radius:16px;padding:14px 18px;margin:0 0 24px}
.editor-bulk-time strong{font-size:17px;font-weight:900}
.editor-bulk-time p{font-size:13px;line-height:1.4;color:#51616e;margin:3px 0 0}
.editor-bulk-time input{width:100%;min-height:42px;font-weight:850;text-align:center}
.editor-workbench{display:grid;grid-template-columns:250px minmax(0,1fr);align-items:start;gap:24px}
.editor-outline{position:sticky;top:18px;max-height:calc(100dvh - 36px);display:flex;flex-direction:column;border:2px solid #788b9a;border-radius:19px;background:#eaf0f6;overflow:hidden;min-width:0}
.editor-outline>header{display:flex;flex-direction:column;gap:3px;padding:15px 15px 10px}
.editor-outline>header strong{font-size:17px;font-weight:900}
.editor-outline>header span{font-size:12px;color:#586475;font-weight:750}
.editor-search{padding:0 12px 12px}
.editor-search input{width:100%;font-size:14px;min-height:40px}
.editor-outline-list{overflow:auto;min-height:0;padding:0 9px 12px;overscroll-behavior:contain}
.editor-round-nav{margin:0 0 9px}
.editor-round-link{display:grid;grid-template-columns:25px minmax(0,1fr) 20px;align-items:center;gap:7px;width:100%;padding:9px 7px;border:0;border-radius:10px;background:none;color:#46526a;text-align:left}
.editor-round-link.active{color:#242831;background:#dcd2f6}
.editor-round-link>span{font-size:12px;font-weight:950}
.editor-round-link>strong{font-size:13px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:900}
.editor-round-link>small{font-size:11px;text-align:right}
.editor-question-link{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:7px;align-items:center;background:transparent;border:1px solid transparent;border-radius:9px;color:#4d5a6c;padding:7px;width:100%;text-align:left;min-height:34px}
.editor-question-link:hover{background:#fffdf5}
.editor-question-link.active{background:#dff4ad;border-color:#809753;color:#242831}
.editor-question-link>span{font-size:11px;font-weight:850;text-align:center}
.editor-question-link>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:750;line-height:1.3}
.editor-question-link>small{font-size:9px;font-weight:800;color:#647084}
.editor-question-link[hidden],.editor-round-nav[hidden]{display:none}
.editor-active{min-width:0}
.catalog-workspace .editor-active .round-editor{padding:22px;margin:0}
.editor-active .round-heading{display:flex;align-items:center;gap:10px;margin-bottom:15px}
.editor-active .round-heading input{width:100%;font-size:19px;font-weight:900}
.editor-active .round-number{font-size:25px;font-weight:950;flex-shrink:0}
.editor-active .round-heading .icon-button{flex-shrink:0}
.round-preferences{background:#edf2f7;border:1px solid #bbc5d1;border-radius:13px;margin-bottom:18px}
.round-preferences>summary{font-size:14px;font-weight:850;color:#4c5b6f;padding:12px;cursor:pointer}
.round-preferences[open]{padding:0 12px 12px}
.round-preferences[open]>summary{margin:0 -12px 10px}
.round-preferences .round-theme{padding:0;margin:0 0 12px}
.round-preferences .round-theme label{max-width:none;font-size:13px}
.editor-active .voice-editor{padding:12px;margin:16px 0}
.editor-active .voice-editor>summary{font-size:14px;cursor:pointer;line-height:1.3}
.editor-active .voice-editor .small-note{font-size:13px;line-height:1.5}
.editor-active .voice-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.editor-question-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 16px}
.editor-question-nav>strong{font-size:14px;font-weight:850;text-align:center}
.editor-question-nav .next-arrow{display:flex;rotate:180deg}
.catalog-workspace .editor-active .question-editor{padding:18px;margin:0;background:#f1f5f9}
.editor-active .question-editor-top{align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:18px}
.editor-active .question-editor-top h3{font-size:23px;margin:0}
.editor-active .question-editor-settings{display:flex;gap:12px;align-items:flex-end;min-width:0;flex-wrap:wrap}
.editor-active .question-editor-settings label{font-size:12px;font-weight:850;gap:4px}
.editor-active .question-editor-settings .question-duration{width:88px}
.editor-active .question-duration input{min-width:0;width:100%}
.editor-active textarea{font-size:17px;line-height:1.4;min-height:100px}
.editor-active .editor-options{grid-template-columns:minmax(0,1fr);gap:10px}
.editor-active .editor-option{padding:6px 9px;gap:10px}
.editor-active .editor-option input{font-size:16px}
.editor-question-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:18px}
.editor-question-actions .add-question{margin:0;width:auto;flex:1}
.editor-active .media-upload{padding:16px;gap:12px;flex-wrap:wrap}
.editor-active .media-upload video,.editor-active .media-upload audio,.editor-active .voice-preview{max-width:100%;width:100%;margin:8px 0}
.editor-active .media-upload img{max-height:280px;object-fit:contain}
.editor-active .voice-preview{height:42px}

@media(min-width:1650px){
 #app.game-room{--rail-height:64px;--leader-row-height:96px;--leader-label-height:50px;--meta-height:84px;padding:26px 32px 30px;gap:24px}
 #app.game-room .room-top .brand-wordmark{font-size:27px}
 #app.game-room .room-top .brand-pigeon{width:48px;height:58px}
 #app.game-room .room-top .button,#app.game-room #room-toolbar .button,#app.game-room .room-ident,#app.game-room .button.fullscreen-toggle{min-height:56px;font-size:19px;padding:12px 18px}
 #app.game-room .room-ident strong{font-size:26px}
 #app.game-room .room-ident span{font-size:13px}
 #app.game-room .question-stage{grid-template-rows:var(--meta-height) minmax(120px,1fr) 64px minmax(180px,.43fr) auto 64px;gap:18px}
 #app.game-room .question-number,#app.game-room .visual-media-stage .question-number{width:112px;height:112px;right:-36px;top:calc(var(--meta-height) - 30px)}
 #app.game-room .question-number strong{font-size:60px}
 #app.game-room .question-number strong small{font-size:36px}
 #app.game-room .question-stage.visual-media-stage{grid-template-rows:var(--meta-height) minmax(80px,1fr) 42px 84px auto 60px}
 #app.game-room .leader-person strong{font-size:28px}
 #app.game-room .leader-row{font-size:26px;grid-template-columns:64px minmax(0,1fr) 130px 110px;padding:12px 28px}
 #app.game-room .leader-label{font-size:17px}
 #app.game-room .leader-row>b{font-size:36px}
 #app.game-room .leader-person .character-avatar{width:58px;height:58px}
 #app.game-room .game-title-badge{font-size:16px}
 #app.game-room .leader-person .rank-badge{font-size:12px}
 #app.game-room .trophy-mark{width:100px;height:100px;border-radius:31px;margin-bottom:26px}
 #app.game-room .trophy-mark .icon{width:57px;height:57px}
 #app.game-room .results-title .eyebrow{font-size:21px;margin-bottom:18px}
 #app.game-room .results-stage{gap:32px}
 #app.game-room .lobby-footer .button{font-size:21px;min-height:62px}
 #app.game-room .lobby-hint{font-size:17px;max-width:440px}
}
@media(max-width:1250px){
 #app.game-room .room-top{gap:16px}
 #app.game-room .presentation-toggle>span{display:none}
 #app.game-room .presentation-toggle{width:48px;padding:10px}
 #app.game-room #sound-toggle{min-width:210px}
 #app.game-room #room-toolbar>[data-dialog]{min-width:145px}
 #app.game-room .room-ident{padding:9px 12px}
 .editor-workbench{grid-template-columns:210px minmax(0,1fr);gap:18px}
}
@media(max-width:1100px){
 #app.game-room .button.fullscreen-toggle{width:48px;min-height:48px;padding:10px;gap:0}
 #app.game-room .fullscreen-toggle>span{display:none}
 #app.game-room #room-content{width:94%}
 #app.game-room .question-number,#app.game-room .visual-media-stage .question-number{right:-12px}
 #app.game-room .room-top .brand-wordmark{font-size:18px}
 #app.game-room .room-top .brand-pigeon{width:32px;height:42px}
 #app.game-room .room-ident span{display:none}
 #app.game-room .room-ident strong{font-size:19px;letter-spacing:2px}
 #app.game-room #sound-toggle{min-width:0}
 #app.game-room #room-toolbar>[data-dialog]{min-width:0}
 #app.game-room .room-top .button,#app.game-room #room-toolbar .button{font-size:14px;padding:8px 12px}
}
@media(max-width:900px){
 .catalog-workspace .catalog-hero{grid-template-columns:minmax(0,1fr) 190px}
 .catalog-workspace .catalog-hero h1{font-size:42px}
 .catalog-workspace .featured{padding:24px}
 .catalog-workspace .featured h2{font-size:32px}
 .catalog-workspace .featured-copy>p{font-size:15px}
 .editor-workbench{grid-template-columns:190px minmax(0,1fr);gap:14px}
 .catalog-workspace .editor-active .round-editor{padding:16px}
 .editor-active .question-editor-settings{gap:8px}
 .editor-active .question-editor-settings label{flex:1 1 100px}
 .editor-bulk-time{grid-template-columns:minmax(0,1fr) 75px}
 .editor-bulk-time .button{grid-column:1/-1}
}
@media(max-width:700px){
 #app.game-room{--rail-height:90px;--leader-row-height:72px;--leader-label-height:34px;--meta-height:54px;gap:12px;padding:10px max(12px,env(safe-area-inset-right)) max(20px,calc(env(safe-area-inset-bottom) + 12px)) max(12px,env(safe-area-inset-left));grid-template-rows:var(--rail-height) minmax(0,1fr)}
 #app.game-room .room-top{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:40px 38px;gap:10px}
 #app.game-room .room-top>.player-brand{grid-row:1;gap:6px}
 #app.game-room .room-top .brand-pigeon{width:29px;height:36px}
 #app.game-room .room-top .brand-wordmark{font-size:17px}
 #app.game-room .room-top-actions{grid-column:2;grid-row:1;gap:7px}
 #app.game-room .room-ident{height:36px;min-height:36px;padding:6px 9px;border-width:2px;border-radius:11px;box-shadow:0 3px 0 var(--ink)}
 #app.game-room .room-ident strong{font-size:16px;letter-spacing:1.5px}
 #app.game-room .room-ident span{display:none}
 #app.game-room #room-toolbar{grid-column:1/-1;grid-row:2;display:flex;gap:10px;width:100%;align-items:stretch}
 #app.game-room #room-toolbar:empty{display:none}
 #app.game-room .playback-toolbar{display:contents}
 #app.game-room #room-toolbar .button{min-height:38px;font-size:14px;flex:1;padding:7px 10px;border-radius:12px;border-width:2px;box-shadow:0 4px 0 var(--ink);gap:7px}
 #app.game-room #room-toolbar>[data-dialog]{min-width:0}
 #app.game-room .button.fullscreen-toggle,#app.game-room .room-top .presentation-toggle{width:36px;min-height:36px;height:36px;padding:7px;border-radius:11px;border-width:2px;box-shadow:0 3px 0 var(--ink);gap:0}
 #app.game-room .room-top .button .icon,#app.game-room #room-toolbar .icon{width:18px;height:18px}
 #app.game-room #sound-toggle{min-width:0}
 #app.game-room #room-content{width:100%;grid-row:2}
 #app.game-room[data-role="player"]{--rail-height:38px;grid-template-rows:38px 40px minmax(0,1fr);gap:8px}
 #app.game-room[data-role="player"] .room-top{grid-template-rows:38px;gap:8px}
 #app.game-room[data-role="player"] #room-content{grid-row:3}
 #app.game-room[data-role="player"] #device-profile{height:40px;padding:4px 9px;border-radius:12px}
 #app.game-room #device-profile strong{font-size:14px;max-width:48%}
 #app.game-room #device-profile .rank-badge{font-size:10px}
 #app.game-room #device-profile span:not(.rank-badge){font-size:11px}
 #app.game-room #device-profile .character-avatar{width:29px;height:29px}
 #app.game-room .button,#app.game-room .button.small,#app.game-room .question-bottom .button{font-size:14px;min-height:40px;padding:8px 11px;border-width:2px;border-radius:13px;box-shadow:0 4px 0 var(--ink);gap:7px}
 #app.game-room .button .icon{width:18px;height:18px}
 #app.game-room .text-button{font-size:13px}
 #app.game-room .question-stage{grid-template-columns:minmax(0,1fr);grid-template-rows:var(--meta-height) minmax(96px,1fr) 36px minmax(132px,.68fr) auto 28px;gap:10px}
 #app.game-room .question-meta{grid-column:1;grid-row:1;align-items:flex-end;padding-bottom:2px}
 #app.game-room .question-meta>span:first-child{gap:3px;max-width:100%;transform:none}
 #app.game-room .round-label{font-size:13px;letter-spacing:.08em;line-height:1.1}
 #app.game-room .question-meta b{font-size:17px;line-height:1.1;max-width:91%;font-weight:850}
 #app.game-room .question-number,#app.game-room .visual-media-stage .question-number{width:57px;height:57px;border-width:3px;top:calc(var(--meta-height) - 12px);right:-3px;box-shadow:0 4px 0 var(--ink)}
 #app.game-room .question-number strong{font-size:30px;letter-spacing:-2px}
 #app.game-room .question-number strong small{font-size:18px;letter-spacing:-.8px}
 #app.game-room .content-card{grid-column:1;grid-row:2;padding:18px 22px;border-width:3px;border-radius:24px 26px 22px 25px;box-shadow:0 6px 0 var(--ink),inset 0 0 0 4px #fff,inset 0 -9px 0 #eae9e2}
 #app.game-room .question-copy{font-size:clamp(23px,6.5vw,30px);font-weight:850;line-height:1.16;letter-spacing:-.025em}
 #app.game-room .content-card.has-media{padding:15px 18px;gap:10px}
 #app.game-room .has-media .question-copy{font-size:22px;max-height:57%;line-height:1.16}
 #app.game-room .timer-row{grid-column:1;grid-row:3}
 #app.game-room .timer-track{border-width:2px;border-radius:12px;box-shadow:0 3px 0 var(--ink)}
 #app.game-room .timer-row>strong{font-size:20px}
 #app.game-room .answer-grid{grid-column:1;grid-row:4;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:10px}
 #app.game-room .answer{gap:8px;padding:10px;border-width:2px;border-radius:17px;box-shadow:0 4px 0 var(--ink)}
 #app.game-room .answer-letter{width:31px;height:31px;flex:0 0 31px;font-size:20px;border-width:2px;border-radius:10px}
 #app.game-room .answer-copy{font-size:19px;font-weight:850;line-height:1.15}
 #app.game-room .answer-votes{font-size:11px}
 #app.game-room .selected-mark{font-size:8px}
 #app.game-room .question-feedback{grid-column:1;grid-row:5;gap:5px}
 #app.game-room .question-bottom{grid-column:1;grid-row:6;display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:8px;font-size:13px;min-height:28px}
 #app.game-room .question-bottom .host-controls{gap:8px}
 #app.game-room .question-bottom .button{min-height:30px;padding:5px 8px;font-size:11px;box-shadow:0 3px 0 var(--ink)}
 #app.game-room .question-bottom .text-button{font-size:10px}
 #app.game-room .question-bottom .score-tag{font-size:12px;padding:4px 7px}
 #app.game-room .next-stage-note,#app.game-room [data-auto-countdown]{font-size:12px}
 #app.game-room .reveal-note,#app.game-room .reveal-note strong{font-size:16px}
 #app.game-room .reveal-note .text-button{font-size:13px}
 #app.game-room .confirm-answer .button{min-height:48px;padding:10px 14px;font-size:18px;border-radius:14px;box-shadow:0 4px 0 var(--ink)}
 #app.game-room .confirm-answer .small-note{font-size:12px;line-height:1.2}
 #app.game-room .answer-received{font-size:15px}
 #app.game-room .media-note{font-size:13px;padding:7px 10px}
 #app.game-room .question-stage.visual-media-stage{grid-template-columns:minmax(0,1fr);grid-template-rows:var(--meta-height) minmax(64px,1fr) 30px 65px auto 38px;gap:9px}
 #app.game-room .visual-media-frame{border-width:3px;border-radius:24px 26px 22px 25px}
 #app.game-room .visual-media-stage .content-card{padding:16px 18px}
 #app.game-room .visual-media-stage .question-copy{font-size:21px;padding:7px 10px}
 #app.game-room .visual-media-stage>.answer-grid{grid-column:1;grid-row:4;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:1fr;gap:6px}
 #app.game-room .visual-media-stage .answer{flex-direction:column;justify-content:center;gap:4px;padding:5px;border-radius:12px}
 #app.game-room .visual-media-stage .answer-letter{width:21px;height:21px;flex:0 0 21px;font-size:13px;border-radius:6px}
 #app.game-room .visual-media-stage .answer-copy{font-size:13px;text-align:center;flex:0 1 auto;line-height:1.13}
 #app.game-room .visual-media-stage .question-bottom{padding:4px 7px;margin-bottom:8px}
 #app.game-room .content-card.explanation-card{padding:15px 18px;gap:10px;box-shadow:0 6px 0 var(--ink),inset 0 0 0 4px #ffffff60,inset 0 -9px 0 #bca9db50}
 #app.game-room .explanation-card .eyebrow{font-size:10px;padding:4px 7px;line-height:1.2}
 #app.game-room .explanation-copy{font-size:22px;line-height:1.24;font-weight:900}
 #app.game-room .explanation-card[data-compact="true"] .explanation-copy{font-size:18px;font-weight:900}
 #app.game-room .explanation-card .game-pagination .button{min-height:28px;font-size:11px;padding:4px 8px}
 #app.game-room .question-detail{font-size:11px;padding:3px 7px;right:6px}
 .sound-wave{gap:8px;min-height:58px;max-height:100px;width:100%}
 .wave-bars{min-height:40px;gap:3px}
 .wave-bars span{border-width:1.5px;max-width:7px}
 .wave-record{width:72px;border-width:3px;box-shadow:0 4px 0 #24283138}
 .wave-label{border-width:2px}.wave-label .icon{width:20px;height:20px}
 .wave-record::before{inset:6px;border-width:2px}
 .wave-orbit{width:90px;border-width:2px}
 #app.game-room[data-phase="lobby"] .lobby-heading{margin:4px 0 14px}
 #app.game-room[data-phase="lobby"] .lobby-heading h1{font-size:clamp(25px,6vw,32px);line-height:1.08;margin:0 0 10px}
 #app.game-room[data-phase="lobby"] .lobby-intro{font-size:17px;line-height:1.2;font-weight:900}
 #app.game-room[data-phase="lobby"] .lobby-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(125px,.85fr) minmax(145px,1fr);gap:14px;flex:1;height:auto;max-height:none;margin-bottom:4px}
 #app.game-room .invite-panel,#app.game-room .players-panel{padding:14px;border-width:3px;border-radius:24px 26px 22px 25px;box-shadow:0 6px 0 var(--ink)}
 #app.game-room[data-phase="lobby"] .invite-panel{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto auto;gap:6px 14px}
 #app.game-room[data-phase="lobby"] .qr-slot{grid-column:1;grid-row:1/5;height:100%;min-height:0}
 #app.game-room[data-phase="lobby"] .qr-frame{border-radius:12px;padding:0}
 #app.game-room[data-phase="lobby"] .invite-panel>.eyebrow{grid-column:2;font-size:11px;letter-spacing:0;line-height:1.2}
 #app.game-room[data-phase="lobby"] .room-code-large{grid-column:2;font-size:33px;letter-spacing:1.8px;white-space:normal;text-align:center}
 #app.game-room[data-phase="lobby"] .invite-panel>.text-button{grid-column:2;font-size:12px;min-height:27px;gap:5px;padding:3px 0}
 #app.game-room[data-phase="lobby"] .invite-panel>.text-button .icon{width:16px;height:16px}
 #app.game-room[data-phase="lobby"] .section-heading{margin:0 0 10px}
 #app.game-room[data-phase="lobby"] .section-heading h2{font-size:22px}
 #app.game-room[data-phase="lobby"] .section-heading .muted{font-size:13px}
 #app.game-room[data-phase="lobby"] .count{font-size:15px;min-width:27px;height:27px;padding:3px 5px;border-radius:9px;margin-left:8px}
 #app.game-room[data-phase="lobby"] .empty-note{font-size:16px;line-height:1.25}
 #app.game-room .players-grid{gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}
 #app.game-room .player-chip{padding:6px;gap:7px;font-size:14px;border-radius:12px}
 #app.game-room .player-chip .character-avatar{width:31px;height:31px}
 #app.game-room .player-rank{font-size:10px}
 #app.game-room[data-phase="lobby"] .lobby-footer{flex-direction:row;flex-wrap:wrap;padding-top:10px;gap:8px}
 #app.game-room[data-phase="lobby"] .lobby-footer .host-controls{gap:12px;flex-wrap:nowrap;justify-content:space-between;width:100%}
 #app.game-room[data-phase="lobby"] .lobby-hint{display:none}
 #app.game-room .lobby-footer .danger{font-size:12px}
 #app.game-room .results-stage{gap:20px}
 #app.game-room .results-title{padding:6px 0 0}
 #app.game-room .trophy-mark{display:grid;width:54px;height:54px;border-radius:17px;margin-bottom:15px;box-shadow:0 5px 0 var(--ink)}
 #app.game-room .trophy-mark .icon{width:31px;height:31px}
 #app.game-room .results-title .eyebrow,#app.game-room[data-phase="finished"] .results-title .eyebrow{font-size:12px;margin:0 0 8px;letter-spacing:.06em}
 #app.game-room .results-title h1{font-size:28px;line-height:1.12;max-width:100%}
 #app.game-room #leaderboard-list{gap:9px;padding-bottom:6px}
 #app.game-room .leaderboard{border-width:3px;border-radius:22px 24px 20px 23px;box-shadow:0 5px 0 var(--ink)}
 #app.game-room .leader-row{grid-template-columns:26px minmax(0,1fr) 39px 43px;gap:6px;padding:8px;font-size:16px}
 #app.game-room .leader-label{font-size:10px;padding:7px 8px;line-height:1.1}
 #app.game-room .leader-row>b{font-size:22px}
 #app.game-room .rank{width:26px;height:29px;font-size:14px;border-width:1.5px;border-radius:9px}
 #app.game-room .leader-person{gap:7px}
 #app.game-room .leader-person .character-avatar{width:33px;height:33px}
 #app.game-room .leader-person strong{font-size:16px;font-weight:900;line-height:1.1}
 #app.game-room .leader-labels{gap:4px;margin-top:4px;flex-wrap:wrap}
 #app.game-room .leader-person .rank-badge{font-size:8px;padding:1px 5px}
 #app.game-room .game-title-badge{font-size:10px;padding:2px 6px;max-width:100%;line-height:1.1}
 #app.game-room .results-bottom{gap:8px;padding-bottom:4px}
 #app.game-room .results-bottom .host-controls{gap:10px;flex-wrap:wrap}
 #app.game-room .next-game-actions{gap:10px;width:100%;align-items:stretch;justify-content:center}
 #app.game-room .next-game-actions>.button{min-height:52px;font-size:15px;line-height:1.15;padding:10px 12px;border-radius:15px}
 #app.game-room .next-game-actions>[data-action="choose-next-quiz"]{flex:1}
 #app.game-room .results-bottom .muted{font-size:12px;line-height:1.25}
 #app.game-room .victory-note{font-size:13px;margin-top:8px}
 #app.game-room .waiting h1{font-size:30px}
 #app.game-room .waiting p{font-size:17px}
 #app.game-room .waiting-game{font-size:16px}
 .game-dialog{padding:18px;border-radius:22px}
 .game-dialog h2{font-size:23px}
 .game-dialog .settings-grid{gap:12px}
 .game-dialog label{font-size:14px}
 .game-dialog .small-note{font-size:13px}
 .editor-workbench{grid-template-columns:minmax(0,1fr);gap:20px}
 .editor-outline{position:static;max-height:260px}
 .editor-outline-list{max-height:155px}
 .editor-outline>header{flex-direction:row;align-items:center;justify-content:space-between;padding:12px}
 .editor-search{padding-bottom:10px}
 .editor-question-link{min-height:38px}
 .editor-question-link>strong{font-size:13px}
 .editor-active .question-editor-settings{width:100%}
 .catalog-workspace .editor-active .question-editor{padding:12px}
 .editor-active .question-editor-settings label{flex:1 1 80px}
 .editor-active .editor-option{padding:5px}
 .editor-active .editor-option input{font-size:15px}
 .editor-question-nav .button{font-size:13px;min-height:38px;padding:8px 10px}
 .editor-setup-body{padding:14px}
 .editor-setup>summary{padding:14px;gap:10px}
 .editor-setup>summary>span{font-size:13px}
 .editor-bulk-time{padding:12px;gap:10px}
 .editor-question-actions{flex-direction:column;align-items:stretch}
 .editor-question-actions .add-question{flex:auto;width:100%}
}
@media(max-width:570px){
 .catalog-workspace .catalog-hero{grid-template-columns:minmax(0,1fr) 136px;gap:16px 12px;padding:26px 0 22px}
 .catalog-workspace .catalog-hero-copy{grid-column:1/-1;max-width:100%}
 .catalog-workspace .catalog-hero h1{font-size:clamp(34px,9vw,47px);line-height:1.04;margin-bottom:18px;letter-spacing:-.04em}
 .catalog-workspace .catalog-hero p{font-size:18px;line-height:1.4}
 .catalog-workspace .catalog-mascot{grid-column:2;grid-row:2;width:136px}
 .catalog-workspace .catalog-hero .catalog-tabs{grid-column:1;grid-row:2;gap:7px;align-self:center}
 .catalog-workspace .catalog-tabs .text-button{font-size:14px;min-height:38px;padding:8px 10px}
 .catalog-workspace .catalog-category-row{gap:16px}
 .catalog-workspace .catalog-category-row .category-filters{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px}
 .catalog-workspace .catalog-category-row .category-filter,.catalog-workspace .catalog-category-row .category-filter:nth-child(n+5):nth-child(-n+9),.catalog-workspace .catalog-category-row .category-filter:nth-child(10){grid-column:span 3;font-size:12px;line-height:1.15;padding:6px 4px;min-height:44px;border-radius:11px;white-space:normal;text-align:center;font-weight:850}
 .catalog-workspace .catalog-category-row .category-filter:nth-child(11){grid-column:span 6}
 .catalog-workspace .catalog-category-row>.button{min-height:44px;font-size:14px}
 .catalog-workspace .featured{padding:20px;border-radius:25px}
 .catalog-workspace .featured h2{font-size:30px;line-height:1.08}
 .catalog-workspace .featured-copy>p{font-size:16px}
 .catalog-workspace .featured .inline-stats{font-size:13px;gap:12px}
 .catalog-workspace .featured-actions .button{font-size:14px}
 .catalog-workspace .section-heading h2{font-size:25px}
 .catalog-workspace .card-body h3{font-size:24px}
}
@media(max-height:680px) and (min-width:701px){
 #app.game-room{--rail-height:46px;--meta-height:46px;--leader-row-height:66px;--leader-label-height:32px;padding-top:10px;padding-bottom:18px;gap:12px}
 #app.game-room .room-top .brand-pigeon{width:31px;height:38px}
 #app.game-room .room-top .brand-wordmark{font-size:18px}
 #app.game-room .room-ident,#app.game-room .room-top .button,#app.game-room #room-toolbar .button,#app.game-room .button.fullscreen-toggle{height:40px;min-height:40px;padding:7px 11px;font-size:14px}
 #app.game-room .question-stage{grid-template-rows:var(--meta-height) minmax(70px,1fr) 38px minmax(110px,.45fr) auto 44px;gap:10px}
 #app.game-room .question-copy{font-size:30px}
 #app.game-room .answer-copy{font-size:22px}
 #app.game-room .answer-letter{width:33px;height:33px;flex-basis:33px;font-size:21px;border-radius:10px}
 #app.game-room .answer{padding:8px 13px}
 #app.game-room .question-number,#app.game-room .visual-media-stage .question-number{width:62px;height:62px;top:calc(var(--meta-height) - 15px);right:-10px;border-width:3px}
 #app.game-room .question-number strong{font-size:33px}
 #app.game-room .question-number strong small{font-size:20px}
 #app.game-room .question-bottom{font-size:15px}
 #app.game-room .question-bottom .button{min-height:38px;font-size:13px;padding:8px 12px}
 #app.game-room .question-stage.visual-media-stage{grid-template-rows:var(--meta-height) minmax(30px,1fr) 28px 54px auto 40px;gap:9px}
 #app.game-room[data-phase="lobby"] .lobby-heading{margin:2px 0 18px}
 #app.game-room[data-phase="lobby"] .lobby-heading h1{font-size:32px;margin-bottom:10px}
 #app.game-room[data-phase="lobby"] .lobby-intro{font-size:20px}
 #app.game-room[data-phase="lobby"] .lobby-layout{max-height:none}
 #app.game-room .invite-panel,#app.game-room .players-panel{padding:16px}
 #app.game-room[data-phase="lobby"] .room-code-large{font-size:43px}
 #app.game-room .trophy-mark{display:grid;width:50px;height:50px;border-radius:17px;margin-bottom:12px}
 #app.game-room .trophy-mark .icon{width:29px;height:29px}
 #app.game-room .results-title .eyebrow{font-size:12px;margin-bottom:8px}
 #app.game-room .results-title h1{font-size:30px}
 #app.game-room .results-stage{gap:16px}
 #app.game-room .leader-person strong{font-size:20px}
 #app.game-room .leader-person .character-avatar{width:40px;height:40px}
 #app.game-room .next-game-actions>.button{min-height:46px;font-size:17px;padding:10px 16px}
 .wave-record{width:80px}.wave-orbit{width:105px}
}
@media(max-width:700px) and (max-height:650px){
 #app.game-room{--meta-height:44px;--leader-row-height:64px;--leader-label-height:30px;gap:8px;padding-top:8px;padding-bottom:max(18px,calc(env(safe-area-inset-bottom) + 10px))}
 #app.game-room .question-stage{grid-template-rows:var(--meta-height) minmax(65px,1fr) 30px minmax(110px,.65fr) auto 24px;gap:7px}
 #app.game-room .round-label{font-size:11px}
 #app.game-room .question-meta b{font-size:15px}
 #app.game-room .question-copy{font-size:22px;line-height:1.13}
 #app.game-room .content-card{padding:13px 18px}
 #app.game-room .content-card.has-media{padding:10px 14px}
 #app.game-room .has-media .question-copy{font-size:19px}
 #app.game-room .answer{padding:7px;gap:6px;border-radius:14px}
 #app.game-room .answer-copy{font-size:17px}
 #app.game-room .answer-letter{width:26px;height:26px;flex-basis:26px;font-size:17px;border-radius:8px}
 #app.game-room .confirm-answer .button{min-height:42px;font-size:16px;padding:8px}
 #app.game-room .confirm-answer .small-note{font-size:11px}
 #app.game-room .question-bottom{min-height:24px;font-size:12px}
 #app.game-room .question-bottom .score-tag{font-size:11px}
 #app.game-room .question-number,#app.game-room .visual-media-stage .question-number{width:49px;height:49px;top:calc(var(--meta-height) - 10px)}
 #app.game-room .question-number strong{font-size:26px}
 #app.game-room .question-number strong small{font-size:16px}
 #app.game-room .content-card.explanation-card{padding:10px 13px;gap:7px}
 #app.game-room .explanation-copy{font-size:19px}
 #app.game-room .explanation-card[data-compact="true"] .explanation-copy{font-size:17px}
 #app.game-room .explanation-card .eyebrow{font-size:8px;padding:3px 6px}
 #app.game-room .question-stage.visual-media-stage{grid-template-rows:var(--meta-height) minmax(30px,1fr) 24px 54px auto 34px;gap:7px}
 #app.game-room .visual-media-stage .question-copy{font-size:18px}
 .sound-wave{min-height:40px;max-height:65px}
 .wave-record{width:48px;border-width:2px}.wave-orbit{width:65px}
 .wave-bars{min-height:30px;gap:2px}.wave-bars span{border-width:1px}
 .wave-label .icon{width:13px;height:13px}.wave-record::before{inset:3px;border-width:1px}
 #app.game-room[data-phase="lobby"] .lobby-heading h1{font-size:24px;margin-bottom:8px}
 #app.game-room[data-phase="lobby"] .lobby-intro{font-size:15px}
 #app.game-room[data-phase="lobby"] .lobby-layout{grid-template-rows:minmax(115px,.8fr) minmax(120px,1fr);gap:12px;max-height:none}
 #app.game-room .invite-panel,#app.game-room .players-panel{padding:10px}
 #app.game-room[data-phase="lobby"] .invite-panel>.eyebrow{font-size:10px}
 #app.game-room[data-phase="lobby"] .room-code-large{font-size:29px}
 #app.game-room[data-phase="lobby"] .invite-panel>.text-button{font-size:11px;min-height:24px}
 #app.game-room[data-phase="lobby"] .section-heading h2{font-size:19px}
 #app.game-room[data-phase="lobby"] .section-heading{margin-bottom:8px}
 #app.game-room[data-phase="lobby"] .empty-note{font-size:14px}
 #app.game-room[data-phase="lobby"] .lobby-footer{padding-top:8px}
 #app.game-room[data-phase="lobby"] .lobby-footer .button{min-height:34px;font-size:13px}
 #app.game-room .trophy-mark{width:44px;height:44px;margin-bottom:10px;border-radius:14px}
 #app.game-room .trophy-mark .icon{width:25px;height:25px}
 #app.game-room .results-title h1{font-size:24px}
 #app.game-room .results-title .eyebrow,#app.game-room[data-phase="finished"] .results-title .eyebrow{font-size:11px;margin-bottom:6px}
 #app.game-room .results-stage{gap:14px}
 #app.game-room .leader-person strong{font-size:15px}
 #app.game-room .next-game-actions>.button{min-height:46px;font-size:13px;padding:8px 10px}
}
@media(max-height:450px) and (min-width:500px){
 #app.game-room{--rail-height:36px;--meta-height:32px;--leader-row-height:52px;--leader-label-height:27px;grid-template-rows:36px minmax(0,1fr);gap:9px;padding:7px 14px 14px}
 #app.game-room .room-top{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:36px;gap:12px}
 #app.game-room .room-top>.player-brand{grid-column:1;grid-row:1}
 #app.game-room #room-toolbar{grid-column:2;grid-row:1;gap:7px}
 #app.game-room #room-toolbar .button{font-size:11px;padding:5px 7px;min-height:30px;height:30px;gap:5px}
 #app.game-room .room-top-actions{grid-column:3;grid-row:1;gap:6px}
 #app.game-room .room-ident{height:30px;min-height:30px;padding:5px 7px}
 #app.game-room .room-ident strong{font-size:14px}
 #app.game-room .room-top .brand-wordmark{font-size:13px}
 #app.game-room .room-top .brand-pigeon{width:23px;height:29px}
 #app.game-room .button.fullscreen-toggle,#app.game-room .room-top .presentation-toggle{width:30px;height:30px;min-height:30px;padding:5px}
 #app.game-room .room-top .button .icon,#app.game-room #room-toolbar .icon{width:15px;height:15px}
 #app.game-room[data-role="player"]{--rail-height:34px;grid-template-rows:34px minmax(0,1fr);gap:9px}
 #app.game-room[data-role="player"] .room-top{grid-template-rows:34px}
 #app.game-room[data-role="player"] #device-profile{display:none}
 #app.game-room[data-role="player"] #room-content{grid-row:2}
 #app.game-room .question-stage{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);grid-template-rows:var(--meta-height) minmax(0,1fr) 28px auto;gap:8px 14px}
 #app.game-room .question-meta{grid-column:1/-1;grid-row:1;align-items:center;padding:0}
 #app.game-room .question-meta>span:first-child{flex-direction:row;gap:12px}
 #app.game-room .round-label{font-size:12px;flex-shrink:0}
 #app.game-room .question-meta b{font-size:15px;max-width:80%;-webkit-line-clamp:1}
 #app.game-room .content-card{grid-column:1;grid-row:2/4;padding:14px 18px;border-width:3px;border-radius:22px}
 #app.game-room .question-copy{font-size:24px;line-height:1.13}
 #app.game-room .has-media .question-copy{font-size:19px}
 #app.game-room .content-card.has-media{padding:12px 18px}
 #app.game-room .answer-grid{grid-column:2;grid-row:2;gap:8px;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}
 #app.game-room .answer{padding:7px;gap:7px;border-radius:13px}
 #app.game-room .answer-copy{font-size:16px}
 #app.game-room .answer-letter{width:25px;height:25px;flex-basis:25px;font-size:16px;border-radius:8px}
 #app.game-room .timer-row{grid-column:2;grid-row:3}
 #app.game-room .timer-row>strong{font-size:17px}
 #app.game-room .question-feedback{grid-column:2;grid-row:4;min-height:0;gap:3px}
 #app.game-room .question-bottom{grid-column:1;grid-row:4;min-height:28px;display:flex;align-items:center;justify-content:space-between;font-size:11px;gap:5px}
 #app.game-room .question-bottom .host-controls{gap:8px}
 #app.game-room .question-bottom .button{min-height:28px;font-size:10px;padding:5px 7px}
 #app.game-room .question-bottom .text-button{font-size:9px}
 #app.game-room .confirm-answer .button{min-height:34px;padding:6px 9px;font-size:15px}
 #app.game-room .confirm-answer .small-note{display:none}
 #app.game-room .reveal-note strong{font-size:13px}
 #app.game-room .next-stage-note{font-size:10px}
 #app.game-room .question-number,#app.game-room .visual-media-stage .question-number{top:24px;right:-5px;width:43px;height:43px;border-width:2px}
 #app.game-room .question-number strong{font-size:23px}
 #app.game-room .question-number strong small{font-size:14px}
 #app.game-room .question-stage.visual-media-stage{grid-template-columns:minmax(0,1fr);grid-template-rows:var(--meta-height) minmax(20px,1fr) 24px 48px auto 30px;gap:7px}
 #app.game-room .visual-media-stage>.question-meta{grid-column:1;grid-row:1}
 #app.game-room .visual-media-stage>.content-card{grid-column:1;grid-row:2;padding:10px 24px}
 #app.game-room .visual-media-stage>.timer-row{grid-column:1;grid-row:3}
 #app.game-room .visual-media-stage>.answer-grid{grid-column:1;grid-row:4;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:1fr;gap:7px}
 #app.game-room .visual-media-stage>.question-feedback{grid-column:1;grid-row:5}
 #app.game-room .visual-media-stage>.question-bottom{grid-column:1;grid-row:6}
 #app.game-room .visual-media-stage .answer{flex-direction:row;padding:5px 7px;gap:6px;border-radius:11px}
 #app.game-room .visual-media-stage .answer-copy{font-size:14px;text-align:left}
 #app.game-room .visual-media-stage .answer-letter{width:22px;height:22px;flex-basis:22px;font-size:14px}
 #app.game-room .visual-media-stage .question-copy{font-size:20px}
 #app.game-room .visual-media-frame{grid-row:2/-1;border-radius:22px}
 #app.game-room .content-card.explanation-card{padding:10px 14px;gap:7px}
 #app.game-room .explanation-copy{font-size:20px}
 #app.game-room .explanation-card[data-compact="true"] .explanation-copy{font-size:18px}
 #app.game-room[data-phase="lobby"] .lobby-heading{margin:2px 0 12px}
 #app.game-room[data-phase="lobby"] .lobby-heading h1{font-size:25px;margin-bottom:7px;-webkit-line-clamp:1}
 #app.game-room[data-phase="lobby"] .lobby-intro{font-size:16px}
 #app.game-room[data-phase="lobby"] .lobby-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:minmax(0,1fr);gap:16px;max-height:none;height:auto;flex:1}
 #app.game-room .invite-panel,#app.game-room .players-panel{padding:12px;border-radius:22px}
 #app.game-room[data-phase="lobby"] .invite-panel{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto auto;gap:5px 10px}
 #app.game-room[data-phase="lobby"] .qr-slot{grid-column:1;grid-row:1/5}
 #app.game-room[data-phase="lobby"] .invite-panel>.eyebrow{grid-column:2;font-size:9px;letter-spacing:0}
 #app.game-room[data-phase="lobby"] .room-code-large{grid-column:2;font-size:29px;letter-spacing:1px;white-space:normal;text-align:center}
 #app.game-room[data-phase="lobby"] .invite-panel>.text-button{grid-column:2;font-size:10px;min-height:24px;padding:3px 0}
 #app.game-room[data-phase="lobby"] .section-heading h2{font-size:20px}
 #app.game-room[data-phase="lobby"] .section-heading{margin-bottom:10px}
 #app.game-room[data-phase="lobby"] .empty-note{font-size:15px}
 #app.game-room[data-phase="lobby"] .lobby-footer{padding-top:8px}
 #app.game-room[data-phase="lobby"] .lobby-footer .button{min-height:34px;font-size:13px}
 #app.game-room[data-phase="lobby"] .lobby-hint{display:none}
 #app.game-room .results-title{padding:0}
 #app.game-room .trophy-mark{display:none}
 #app.game-room .results-title .eyebrow,#app.game-room[data-phase="finished"] .results-title .eyebrow{font-size:10px;margin:0 0 6px}
 #app.game-room .results-title h1{font-size:24px}
 #app.game-room .results-stage{gap:14px}
 #app.game-room .leader-row{grid-template-columns:34px minmax(0,1fr) 68px 64px;padding:6px 12px;font-size:16px;gap:10px}
 #app.game-room .leader-label{font-size:11px}
 #app.game-room .leader-person strong{font-size:16px}
 #app.game-room .leader-person .character-avatar{width:32px;height:32px}
 #app.game-room .game-title-badge{font-size:10px;padding:2px 6px}
 #app.game-room .leader-person .rank-badge{font-size:8px}
 #app.game-room .leader-row>b{font-size:23px}
 #app.game-room .rank{width:27px;height:27px;font-size:14px;border-radius:9px}
 #app.game-room .leader-labels{margin-top:3px;gap:6px}
 #app.game-room .next-game-actions>.button{min-height:38px;font-size:14px;padding:8px 12px}
 #app.game-room .results-bottom{gap:7px;padding:0}
 #app.game-room .victory-note{font-size:11px;margin-top:5px}
 #app.game-room .player-stage.waiting{gap:8px;padding:14px}
 #app.game-room .waiting-emblem{width:60px;height:60px;margin-bottom:3px}
 #app.game-room .waiting-emblem .character-avatar{width:48px;height:48px}
 #app.game-room .waiting h1{font-size:26px}
 #app.game-room .waiting p{font-size:15px}
 #app.game-room .waiting-game{font-size:14px;padding:7px 11px;margin-top:4px}
 #app.game-room .media-loading-stage{grid-template-rows:var(--meta-height) minmax(0,1fr) 30px;gap:8px}
 #app.game-room .media-loading-stage .waiting h1{font-size:24px}
 #app.game-room .media-loading-stage .waiting p{font-size:14px}
}
@media(prefers-reduced-motion:reduce){
 .sound-wave *,#app.game-room[data-phase="question"] .sound-wave *{animation:none!important}
 #app.game-room .button,.catalog-workspace .button{transition:none}
}

/* Keep legacy full-width button rules out of the shared game rails. */
#app.game-room .question-bottom .host-controls>.button,#app.game-room .players-panel .host-controls>.button{width:auto;flex:0 1 auto}
#app.game-room .players-panel .host-controls{flex-direction:row;flex-wrap:nowrap;align-items:center}
@media(max-width:700px){
 #app.game-room .question-bottom .host-controls{flex-wrap:nowrap;gap:8px}
 #app.game-room .question-bottom #answer-count{flex-shrink:0}
 #app.game-room[data-role="host"] .question-stage{grid-template-rows:var(--meta-height) minmax(96px,1fr) 36px minmax(132px,.68fr) auto 38px}
 #app.game-room[data-role="host"] .question-stage.visual-media-stage{grid-template-rows:var(--meta-height) minmax(64px,1fr) 30px 65px auto 38px}
 #app.game-room[data-phase="lobby"] .players-panel .host-controls .button{font-size:15px;min-height:40px;padding:8px 12px}
 #app.game-room[data-phase="lobby"] .players-panel .host-controls .text-button{font-size:12px;min-height:36px;white-space:normal;text-align:right}
}
@media(max-width:700px) and (max-height:650px){
 #app.game-room[data-role="host"] .question-stage{grid-template-rows:var(--meta-height) minmax(65px,1fr) 30px minmax(110px,.65fr) auto 32px}
 #app.game-room[data-role="host"] .question-stage.visual-media-stage{grid-template-rows:var(--meta-height) minmax(30px,1fr) 24px 54px auto 34px}
 #app.game-room[data-phase="lobby"] .players-panel .host-controls .button{font-size:13px;min-height:34px;padding:7px 10px}
 #app.game-room[data-phase="lobby"] .players-panel .host-controls .text-button{font-size:11px;min-height:30px}
}
@media(max-height:450px) and (min-width:500px){
 #app.game-room[data-role="host"] .question-stage{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);grid-template-rows:var(--meta-height) minmax(0,1fr) 28px auto}
 #app.game-room[data-role="host"] .question-stage.visual-media-stage{grid-template-columns:minmax(0,1fr);grid-template-rows:var(--meta-height) minmax(20px,1fr) 24px 48px auto 30px}
}

/* Compact labels keep the same rail height on narrow phones. */
#app.game-room .music-label-compact{display:none}
#app.game-room .question-bottom{padding:0;border:0}
#app.game-room .question-bottom .host-controls{flex-direction:row;flex-wrap:nowrap}
#app.game-room .leader-person .character-avatar{display:block}
@media(max-width:700px){
 #app.game-room #sound-toggle{white-space:nowrap}
 #app.game-room #sound-toggle .music-label-full{display:none}
 #app.game-room #sound-toggle .music-label-compact{display:inline}
 #app.game-room #room-toolbar .button{font-size:13px;height:38px;min-height:38px;padding:6px 9px}
 #app.game-room .question-bottom{flex-direction:row;align-items:center;justify-content:space-between}
 #app.game-room .question-bottom .host-controls{justify-content:flex-end;flex:1;gap:7px;max-width:75%}
 #app.game-room .question-bottom .host-controls>.button{width:auto;min-width:0;white-space:normal}
 #app.game-room .leader-labels .rank-badge{display:none}
 #app.game-room .game-title-badge{font-size:11px;line-height:1.15}
}
@media(max-width:350px){
 #app.game-room #room-toolbar .button{font-size:12px}
 #app.game-room .question-bottom{font-size:10px}
 #app.game-room .question-bottom .button{font-size:10px;padding:5px 6px;gap:4px}
 #app.game-room .question-bottom .button .icon{width:12px;height:12px}
 #app.game-room .question-bottom .text-button{font-size:9px;white-space:normal;text-align:right}
}
@media(max-height:450px) and (min-width:500px){
 #app.game-room #room-toolbar .button{font-size:11px;height:30px;min-height:30px;padding:5px 7px}
 #app.game-room .question-bottom .host-controls{max-width:100%}
}

#app.game-room .question-number.dense{width:112px;border-radius:28px}
#app.game-room .question-number.dense strong{font-size:34px;letter-spacing:-1.5px}
#app.game-room .question-number.dense strong small{font-size:20px;letter-spacing:-.7px}
#app.game-room .result-export{font-size:13px;color:#515968;min-height:40px}
@media(max-width:700px){
 #app.game-room .question-number.dense{width:84px;border-radius:19px}
 #app.game-room .question-number.dense strong{font-size:24px;letter-spacing:-1px}
 #app.game-room .question-number.dense strong small{font-size:14px}
 #app.game-room .game-title-badge{font-size:12px;line-height:1.12;padding:2px 6px;white-space:normal;text-align:left;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;max-height:33px}
}
@media(max-width:700px) and (max-height:650px){
 #app.game-room{--leader-row-height:72px}
 #app.game-room .leader-row:not(.leader-label){padding-top:6px;padding-bottom:6px}
 #app.game-room .question-number.dense{width:76px;border-radius:16px}
 #app.game-room .question-number.dense strong{font-size:22px}
 #app.game-room .question-number.dense strong small{font-size:13px}
}
@media(max-height:450px) and (min-width:500px){
 #app.game-room .question-number.dense{width:66px;border-radius:14px}
 #app.game-room .question-number.dense strong{font-size:20px}
 #app.game-room .question-number.dense strong small{font-size:12px}
}

/* On a portrait host, give the two control actions a readable bottom row. */
@media(max-width:700px) and (min-height:451px){
 #app.game-room[data-role="host"] .question-stage{grid-template-rows:var(--meta-height) minmax(96px,1fr) 36px minmax(132px,.68fr) auto 64px}
 #app.game-room[data-role="host"] .question-stage.visual-media-stage{grid-template-rows:var(--meta-height) minmax(64px,1fr) 30px 65px auto 64px}
 #app.game-room[data-role="host"] .question-bottom{flex-direction:column;justify-content:space-between;gap:5px;padding:0;min-height:0}
 #app.game-room[data-role="host"] #answer-count{font-size:12px;line-height:15px}
 #app.game-room[data-role="host"] .question-bottom .host-controls{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;max-width:none;gap:12px;flex:1}
 #app.game-room[data-role="host"] .question-bottom .host-controls .button{flex:1 1 50%;min-height:40px;padding:8px 12px;font-size:14px;line-height:1.15;border-radius:13px;white-space:normal;gap:7px}
 #app.game-room[data-role="host"] .question-bottom .host-controls .text-button{flex:0 1 45%;min-height:36px;font-size:12px;white-space:normal;text-align:right}
 #app.game-room[data-role="host"] .question-bottom .button .icon{width:18px;height:18px}
}
@media(max-width:700px) and (min-height:451px) and (max-height:650px){
 #app.game-room[data-role="host"] .question-stage{grid-template-rows:var(--meta-height) minmax(65px,1fr) 30px minmax(110px,.65fr) auto 64px}
 #app.game-room[data-role="host"] .question-stage.visual-media-stage{grid-template-rows:var(--meta-height) minmax(30px,1fr) 24px 54px auto 64px}
}

/* The library uses a small native menu on phones; the quiz stays above the fold. */
.mobile-site-menu{display:none}
@media(max-width:700px){
 .catalog-workspace .sidebar{display:flex;flex-direction:row;align-items:center;justify-content:space-between;min-height:72px;padding:12px 16px;gap:16px;border-radius:24px;margin-bottom:5px}
 .catalog-workspace .sidebar>.side-nav,.catalog-workspace .sidebar-label,.catalog-workspace .sidebar-bottom{display:none}
 .catalog-workspace .sidebar>.brand{margin:0;gap:8px}
 .catalog-workspace .sidebar .brand-pigeon{width:31px;height:38px}
 .catalog-workspace .sidebar .brand-wordmark{font-size:17px}
 .mobile-site-menu{display:block;position:static;margin-left:auto}
 .mobile-site-menu>summary{min-height:42px;display:flex;align-items:center;justify-content:center;gap:7px;padding:9px 12px;font-size:14px;font-weight:900;list-style:none;cursor:pointer;background:#fffdf5;border:2px solid #242831;border-radius:12px;box-shadow:0 3px 0 #242831}
 .mobile-site-menu>summary::-webkit-details-marker{display:none}
 .mobile-site-menu[open]>summary{background:#d3fc6a}
 .mobile-nav-links{position:absolute;top:calc(100% + 10px);left:0;right:0;z-index:30;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:14px;background:#fffdf5;border:3px solid #242831;border-radius:18px;box-shadow:0 6px 0 #242831}
 .mobile-nav-links>a{min-height:44px;display:flex;align-items:center;gap:8px;font-size:14px;font-weight:850;line-height:1.2;padding:9px 11px;border-radius:10px;color:#414c5b}
 .mobile-nav-links>a.active{background:#d3fc6a;color:#242831}
 .mobile-nav-links .icon{width:18px;height:18px}
 .catalog-workspace .topbar{height:62px;min-height:62px;margin-bottom:0}
}
@media(max-width:570px){
 .catalog-workspace .catalog-hero{padding-top:22px;gap:12px}
 .catalog-workspace .catalog-mascot{width:112px;justify-self:center}
 .catalog-workspace .catalog-hero{grid-template-columns:minmax(0,1fr) 124px}
}

.catalog-workspace .topbar-links a{font-size:14px;font-weight:850;min-height:42px;padding:9px 12px}
.catalog-workspace .topbar-links .icon{width:18px;height:18px}
.catalog-workspace .account-top{max-width:52%;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.catalog-workspace .catalog-hero h1 .muted{font-weight:800}
#app.game-room .question-copy{font-weight:800}
#app.game-room .question-stage:not(.visual-media-stage) .content-card.has-media .question-copy{padding:4px 2px}
#app.game-room .answer-copy{font-weight:800}
#app.game-room .question-meta b{font-weight:750}
.editor-active .question-editor-settings label{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-end;gap:5px}
.editor-active .question-editor-settings .question-duration{width:90px;flex:0 0 90px}
.editor-active .question-duration input{width:100%;min-height:44px;font-size:17px;font-weight:850;text-align:center}
.editor-active .question-editor-settings select{min-height:44px;font-size:15px}
@media(max-width:700px){
 .catalog-workspace .sidebar{position:relative;inset:auto}
 .catalog-workspace .topbar-links a{font-size:13px;min-height:40px;padding:8px 10px}
}

/* 1.5.1: aligned catalog actions, a clear mobile header and contained media. */
.catalog-workspace .quiz-grid .card-meta{margin-top:auto}
.catalog-workspace .quiz-grid .card-body>.card-actions{margin-top:20px}
.catalog-workspace .quiz-grid .card-actions:has(.quiz-share-button){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:8px}
.catalog-workspace .quiz-grid .card-actions:has(.quiz-share-button)>.button{width:100%;min-width:0;height:52px;min-height:52px;padding:6px 8px;gap:6px;font-size:14px;line-height:1.15;white-space:normal;overflow-wrap:anywhere}
.catalog-workspace .catalog-category-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}
.catalog-workspace .catalog-category-row>.category-filters{width:auto;margin:0;min-width:0}
.catalog-workspace .catalog-category-row>.button{align-self:start;justify-self:end;max-width:100%;margin:0;white-space:normal}
#app.game-room .player-score{display:flex;align-items:center;gap:7px;min-width:0;padding:8px 12px;height:48px;background:var(--lime);color:var(--ink);border:3px solid var(--ink);border-radius:17px;box-shadow:0 5px 0 var(--ink);font-size:13px;font-weight:850;white-space:nowrap}
#app.game-room .player-score strong{font-size:21px;font-variant-numeric:tabular-nums;min-width:4ch;text-align:right}
#app.game-room .player-score .icon{width:15px;height:15px;flex:0 0 15px}
#app.game-room[data-role="player"] .room-top{grid-template-columns:minmax(0,1fr) auto}
#app.game-room[data-role="player"] .room-top-actions{grid-column:2}
#app.game-room .content-card.explanation-card::before{display:none;content:none}
#app.game-room .explanation-copy{display:flex;align-items:center;justify-content:center;flex:1 1 0;width:100%;min-width:0;min-height:0;max-height:none;overflow:hidden;margin:0;padding:4px 0;line-height:1.16}
#app.game-room .explanation-copy>span{display:block;min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:pre-line}
#app.game-room .explanation-card .eyebrow,#app.game-room .explanation-card>.small-note,#app.game-room .explanation-card>.media-retry{flex:0 0 auto}
#app.game-room .explanation-card:has(.explanation-copy) .explanation-media{flex:1 1 48%;max-height:48%}
#app.game-room .explanation-card:not(:has(.explanation-copy)) .explanation-media{flex:1 1 0;max-height:none}

/* Photo/video occupy the content row; answers and host actions stay below it. */
#app.game-room[data-role] .question-stage.visual-media-stage{--media-timer:36px;--media-answers:70px;--media-footer:54px;grid-template-columns:minmax(0,1fr);grid-template-rows:var(--meta-height) minmax(64px,1fr) var(--media-timer) var(--media-answers) var(--media-footer);gap:12px}
#app.game-room .visual-media-stage>.visual-media-frame{position:relative;inset:auto;grid-column:1;grid-row:2;min-height:0;width:100%;height:100%;z-index:0;border:4px solid var(--ink);border-radius:32px 35px 29px 33px;box-shadow:0 7px 0 var(--ink);overflow:hidden;background:#242831}
#app.game-room .visual-media-frame>.question-image,#app.game-room .visual-media-frame>.question-video{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:cover;border:0;border-radius:0;margin:0}
#app.game-room .visual-media-stage>.content-card{grid-column:1;grid-row:2;z-index:1;position:relative;align-self:stretch;min-height:0;background:transparent;border:0;box-shadow:none;padding:18px 90px 18px 24px;justify-content:flex-start;pointer-events:none}
#app.game-room .visual-media-stage .question-copy{flex:0 1 auto;max-height:72%;min-height:0;width:100%;font-size:clamp(21px,2vw,38px);color:#fff;background:#242831ad;border-radius:15px;padding:9px 14px;text-shadow:0 1px 2px #000;line-height:1.18}
#app.game-room .visual-media-stage .content-card button{pointer-events:auto}
#app.game-room .visual-media-stage>.timer-row{grid-column:1;grid-row:3;inset:auto;margin:0;padding:0;position:relative;align-self:stretch}
#app.game-room .visual-media-stage>.answer-grid{grid-column:1;grid-row:4;inset:auto;position:relative;margin:0;padding:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:12px}
#app.game-room .visual-media-stage .answer{background:#fffdf5bd;border:2px solid var(--ink);box-shadow:0 4px 0 var(--ink);padding:8px 12px;gap:8px;flex-direction:row;justify-content:flex-start;color:var(--ink);text-shadow:none}
#app.game-room .visual-media-stage .answer-copy{text-align:left;flex:1;line-height:1.15;color:var(--ink);text-shadow:none}
#app.game-room .visual-media-stage .answer.correct{background:#c9f779;border-color:#425c20}
#app.game-room .visual-media-stage .answer.dimmed{background:#fffdf58f}
#app.game-room .visual-media-stage>.question-bottom{grid-column:1;grid-row:5;position:relative;inset:auto;margin:0;padding:0;min-height:0;background:transparent;border:0;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px}
#app.game-room .visual-media-stage .question-bottom .host-controls{margin-left:auto;width:auto;max-width:none;flex:0 1 auto;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:18px}
#app.game-room .visual-media-stage .question-bottom .button{background:var(--paper);color:var(--ink);border-color:var(--ink);text-shadow:none}
#app.game-room .visual-media-stage .question-bottom .button.primary{background:var(--lime)}
#app.game-room .visual-media-stage.explanation-stage>.content-card.explanation-card{background:transparent;border:0;box-shadow:none;pointer-events:auto;justify-content:center;padding:22px 30px}
#app.game-room .visual-media-stage.explanation-stage>.visual-media-frame{background:#dacdf6}

@media(min-width:1800px){
 #app.game-room[data-role] .question-stage.visual-media-stage{--media-timer:42px;--media-answers:84px;--media-footer:60px;gap:16px}
}
@media(max-width:1100px){
 .catalog-workspace .catalog-category-row{grid-template-columns:minmax(0,1fr)}
 .catalog-workspace .catalog-category-row>.button{justify-self:start}
}
@media(max-width:700px){
 #app.game-room{--meta-height:64px}
 #app.game-room .question-meta{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:10px;padding:0}
 #app.game-room .question-meta>span:first-child{grid-column:1;grid-row:1;width:100%;max-width:100%;align-items:center}
 #app.game-room .question-meta b{max-width:100%;width:100%;font-size:16px;line-height:1.12;-webkit-line-clamp:2}
 #app.game-room .question-number,#app.game-room .visual-media-stage .question-number{position:static;inset:auto;grid-column:2;grid-row:1;justify-self:end;align-self:center;margin:0;width:52px;height:52px;border-width:3px}
 #app.game-room .question-number.dense{width:78px}
 #app.game-room .question-number strong{font-size:27px}
 #app.game-room .question-number strong small{font-size:16px}
 #app.game-room[data-role="player"] .player-brand{gap:4px}
 #app.game-room[data-role="player"] .room-top .brand-wordmark{font-size:15px}
 #app.game-room[data-role="player"] .room-top .brand-pigeon{width:26px;height:33px}
 #app.game-room[data-role="player"] .room-top-actions{gap:6px}
 #app.game-room[data-role="player"] .room-ident{padding:6px 7px}
 #app.game-room[data-role="player"] .room-ident strong{font-size:15px;letter-spacing:1px}
 #app.game-room .player-score{height:36px;padding:5px 7px;gap:4px;border-width:2px;border-radius:11px;box-shadow:0 3px 0 var(--ink);font-size:10px}
 #app.game-room .player-score strong{font-size:16px}
 #app.game-room[data-role="player"] .mobile-stage{grid-template-columns:minmax(0,1fr);grid-template-rows:var(--meta-height) minmax(88px,1fr) 34px minmax(124px,.62fr) auto;gap:10px}
 #app.game-room[data-role="player"] .mobile-stage>.question-feedback{grid-column:1;grid-row:5;padding:0 0 2px;align-self:end}
 #app.game-room[data-role="player"] .confirm-answer{margin:0}
 #app.game-room[data-role] .question-stage.visual-media-stage{--media-timer:30px;--media-answers:84px;--media-footer:48px;gap:10px}
 #app.game-room .visual-media-stage>.visual-media-frame{border-width:3px;border-radius:24px 26px 22px 25px;box-shadow:0 5px 0 var(--ink)}
 #app.game-room .visual-media-stage>.content-card{padding:13px 15px}
 #app.game-room .visual-media-stage .question-copy{font-size:20px;padding:7px 9px}
 #app.game-room .visual-media-stage>.answer-grid{gap:6px}
 #app.game-room .visual-media-stage .answer{flex-direction:column;justify-content:center;gap:4px;padding:5px;border-radius:12px}
 #app.game-room .visual-media-stage .answer-copy{font-size:13px;text-align:center;flex:0 1 auto;line-height:1.1}
 #app.game-room .visual-media-stage .question-bottom .host-controls{flex:1;width:100%;max-width:none;gap:10px;justify-content:space-between}
 #app.game-room .visual-media-stage .question-bottom .host-controls>.button{flex:0 1 auto;min-height:40px;font-size:14px;padding:8px 11px}
 #app.game-room .visual-media-stage .question-bottom .host-controls>.text-button{flex:0 1 auto;font-size:12px;min-height:36px}
 #app.game-room .visual-media-stage.explanation-stage>.content-card.explanation-card{padding:15px 18px}
}
@media(max-width:570px){
 .catalog-workspace .catalog-category-row>.button{width:auto;max-width:100%}
}
@media(max-width:380px){
 #app.game-room[data-role="player"] .room-top{gap:5px}
 #app.game-room[data-role="player"] .room-top-actions{gap:5px}
 #app.game-room[data-role="player"] .brand-wordmark{font-size:13px}
 #app.game-room[data-role="player"] .room-top .brand-pigeon{width:22px;height:30px}
 #app.game-room[data-role="player"] .room-ident{padding:5px 6px}
 #app.game-room[data-role="player"] .room-ident strong{font-size:14px;letter-spacing:.5px}
 #app.game-room .player-score{padding:5px;gap:3px;font-size:9px}
 #app.game-room .player-score>span{display:none}
 #app.game-room .player-score .icon{width:12px;height:12px;flex-basis:12px}
 #app.game-room .player-score strong{font-size:15px}
}
@media(max-height:650px) and (orientation:portrait){
 #app.game-room{--meta-height:60px}
 #app.game-room[data-role="player"] .mobile-stage{grid-template-rows:var(--meta-height) minmax(80px,1fr) 30px minmax(114px,.63fr) auto;gap:8px}
 #app.game-room[data-role] .question-stage.visual-media-stage{--media-timer:26px;--media-answers:84px;--media-footer:44px;gap:8px}
 #app.game-room .visual-media-stage .question-bottom .host-controls>.button{min-height:36px;font-size:12px}
 #app.game-room .visual-media-stage .question-bottom .host-controls>.text-button{font-size:11px}
}
@media(max-height:500px) and (orientation:landscape){
 #app.game-room{--meta-height:42px}
 #app.game-room .question-meta{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:42px;align-items:center;gap:10px;padding:0}
 #app.game-room .question-meta>span:first-child{grid-column:1;grid-row:1;flex-direction:row;gap:10px;align-items:center;max-width:100%}
 #app.game-room .question-meta b{font-size:14px;max-width:85%;-webkit-line-clamp:2}
 #app.game-room .question-number,#app.game-room .visual-media-stage .question-number{position:static;inset:auto;grid-column:2;grid-row:1;width:38px;height:38px;margin:0;align-self:center}
 #app.game-room .question-number.dense{width:67px}
 #app.game-room[data-role="player"] .mobile-stage{grid-template-columns:1fr 1fr;grid-template-rows:42px minmax(0,1fr) 28px auto;gap:8px 14px}
 #app.game-room[data-role="player"] .mobile-stage>.question-meta{grid-column:1/-1;grid-row:1}
 #app.game-room[data-role="player"] .mobile-stage>.content-card{grid-column:1;grid-row:2/4}
 #app.game-room[data-role="player"] .mobile-stage>.answer-grid{grid-column:2;grid-row:2}
 #app.game-room[data-role="player"] .mobile-stage>.timer-row{grid-column:2;grid-row:3}
 #app.game-room[data-role="player"] .mobile-stage>.question-feedback{grid-column:2;grid-row:4}
 #app.game-room .player-score{height:30px;min-height:30px;padding:4px 7px;border-width:2px;font-size:10px;border-radius:10px;box-shadow:0 3px 0 var(--ink)}
 #app.game-room .player-score strong{font-size:15px}
 #app.game-room[data-role] .question-stage.visual-media-stage{--media-timer:24px;--media-answers:48px;--media-footer:34px;grid-template-rows:42px minmax(40px,1fr) var(--media-timer) var(--media-answers) var(--media-footer);gap:7px}
 #app.game-room .visual-media-stage .answer{flex-direction:row;gap:6px;padding:5px 7px}
 #app.game-room .visual-media-stage .answer-copy{font-size:14px;text-align:left}
 #app.game-room .visual-media-stage .question-copy{font-size:18px}
 #app.game-room .visual-media-stage>.content-card{padding:8px 14px}
 #app.game-room .visual-media-stage .question-bottom .host-controls{justify-content:flex-end;gap:12px}
 #app.game-room .visual-media-stage .question-bottom .host-controls>.button{min-height:30px;font-size:12px;padding:5px 9px}
 #app.game-room .visual-media-stage .question-bottom .host-controls>.text-button{font-size:11px;min-height:30px}
 #app.game-room .visual-media-stage.explanation-stage>.content-card.explanation-card{padding:10px 14px}
}

/* 1.5.2: a compact identity, centered round text and whole answer words. */
#app.game-room .answer-copy{overflow-wrap:normal;word-break:normal;hyphens:none;white-space:normal;--copy-lines:2}
#app.game-room .answer-copy.copy-truncated{display:block!important;max-height:2.3em}
#app.game-room .answer.correct,#app.game-room .visual-media-stage .answer.correct{padding-right:30px}
#app.game-room[data-role="player"]{grid-template-rows:var(--rail-height) minmax(0,1fr)}
#app.game-room[data-role="player"] #room-content{grid-row:2}
#app.game-room .player-profile-button{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;padding:3px;background:var(--paper);border:2px solid var(--ink);border-radius:50%;box-shadow:0 4px 0 var(--ink);cursor:pointer}
#app.game-room .player-profile-button .character-avatar{width:100%;height:100%;border-radius:50%;margin:0}
#app.game-room .player-profile-button:hover{background:var(--lime)}
#app.game-room .player-profile-button:focus-visible{outline:3px solid var(--violet);outline-offset:3px}
#app.game-room #device-profile-modal{width:min(430px,calc(100vw - 28px))}
#app.game-room #device-profile-details .profile-summary{display:flex;align-items:center;gap:15px;padding:12px 0 16px}
#app.game-room #device-profile-details .profile-summary>.character-avatar{width:64px;height:64px;flex:0 0 64px}
#app.game-room #device-profile-details .profile-summary>div{display:flex;flex-wrap:wrap;align-items:center;gap:7px 10px;min-width:0}
#app.game-room #device-profile-details .profile-summary strong{flex-basis:100%;font-size:24px;overflow-wrap:anywhere}
#app.game-room #device-profile-details .profile-wins{font-size:15px}
#app.game-room #device-profile-details .rank-progress{margin:0 0 20px}
#app.game-room #device-profile-details .rank-progress p{font-size:14px;line-height:1.4;margin:8px 0 0}
#app.game-room #device-profile-details .rank-progress-track{width:100%;height:12px}
#app.game-room #device-profile-details>.button{width:100%;min-height:44px;font-size:15px}
@media(max-width:700px){
 #app.game-room .question-meta{display:flex;align-items:center;justify-content:center;padding:0 0 12px}
 #app.game-room .question-meta>span:first-child{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;width:100%;max-width:100%}
 #app.game-room .question-meta b{width:100%;max-width:100%;text-align:center;line-height:1.05}
 #app.game-room .question-number,#app.game-room .visual-media-stage .question-number{position:absolute;inset:auto;top:0;right:-2px;z-index:4;grid-column:auto;grid-row:auto;margin:0}
 #app.game-room .question-stage:not(.visual-media-stage)>.content-card:not(.explanation-card){padding-top:42px}
 #app.game-room .visual-media-stage>.content-card:not(.explanation-card){padding-right:68px}
 #app.game-room .visual-media-stage .answer{padding-left:3px;padding-right:3px}
 #app.game-room .visual-media-stage .answer.correct{padding-right:3px}
 #app.game-room .visual-media-stage .answer.correct>.icon{top:17px;right:7px;width:13px;height:13px}
 #app.game-room[data-role="player"] .room-top{grid-template-rows:var(--rail-height);grid-template-columns:minmax(0,1fr) auto;gap:6px}
 #app.game-room[data-role="player"] .room-top-actions{gap:5px}
 #app.game-room .player-profile-button{width:36px;height:36px;flex-basis:36px;padding:2px;box-shadow:0 3px 0 var(--ink)}
 #app.game-room .player-score>span{display:none}
}

/* 1.5.3: labels share the score columns without wrapping. */
#app.game-room .leader-label>span{white-space:nowrap;overflow-wrap:normal;word-break:normal;hyphens:none}
#app.game-room .leader-label>span:first-child{text-align:center}
#app.game-room .leader-label>span:nth-last-child(-n+2){text-align:right}
#app.game-room .own-result{border-width:3px}
@media(max-width:700px){
 #app.game-room .leader-row{grid-template-columns:26px minmax(0,1fr) 52px 56px}
}
@media(max-width:380px){
 #app.game-room[data-role="player"] .room-top .brand-wordmark{font-size:13px}
 #app.game-room[data-role="player"] .room-top .brand-pigeon{width:22px;height:30px}
 #app.game-room[data-role="player"] .room-top{gap:4px}
 #app.game-room[data-role="player"] .room-top-actions{gap:4px}
 #app.game-room .player-profile-button{width:32px;height:32px;flex-basis:32px}
 #app.game-room[data-role="player"] .button.fullscreen-toggle{width:32px;height:34px;min-height:34px;padding:6px}
 #app.game-room .player-score strong{font-size:13px}
}
@media(max-height:650px) and (orientation:portrait){
 #app.game-room .question-meta{padding-bottom:11px}
 #app.game-room .question-meta b{font-size:15px}
}
@media(max-height:500px) and (orientation:landscape){
 #app.game-room .question-meta{display:flex;align-items:center;justify-content:center;padding:0 0 10px}
 #app.game-room .question-meta>span:first-child{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:100%;max-width:100%}
 #app.game-room .question-meta .round-label{font-size:11px;line-height:1.1}
 #app.game-room .question-meta b{width:100%;max-width:100%;text-align:center;font-size:14px;line-height:1.05;-webkit-line-clamp:1}
 #app.game-room .question-number,#app.game-room .visual-media-stage .question-number{position:absolute;inset:auto;top:0;right:-2px;z-index:4;margin:0}
 #app.game-room .question-stage:not(.visual-media-stage)>.content-card:not(.explanation-card){padding-top:32px}
 #app.game-room .visual-media-stage>.content-card:not(.explanation-card){padding-right:54px}
 #app.game-room .player-profile-button{width:30px;height:30px;flex-basis:30px;padding:2px;box-shadow:0 3px 0 var(--ink)}
 #app.game-room .player-score>span{display:none}
}

/* 1.5.4: preparation uses the same heading hierarchy as the active question. */
#app.game-room[data-role] .question-stage.loading-placeholder{grid-template-columns:minmax(0,1fr);grid-template-rows:var(--meta-height) minmax(0,1fr) auto;gap:12px}
#app.game-room[data-role] .loading-placeholder>.question-meta{grid-column:1;grid-row:1}
#app.game-room[data-role] .loading-placeholder>.content-card{grid-column:1;grid-row:2;gap:18px}
#app.game-room .loading-placeholder .question-copy{flex:0 1 auto;width:100%;margin:0;max-height:55%;padding:4px 2px}
#app.game-room .loading-copy{font-size:clamp(16px,1.5vw,24px);font-weight:750;line-height:1.4;text-align:center;color:#626172;margin:0;max-width:90%}
#app.game-room[data-role] .loading-placeholder>.host-controls{grid-column:1;grid-row:3;margin:0}

/* 1.5.5: a real 16:9 frame and a readable answer layout. */
#app.game-room[data-role] .question-stage.visual-media-stage{grid-template-rows:var(--meta-height) var(--media-height,minmax(64px,1fr)) var(--media-timer) var(--media-answers) var(--media-footer);align-content:center}
#app.game-room .visual-media-stage>.visual-media-frame,#app.game-room .visual-media-stage>.content-card{width:var(--media-width,100%);height:var(--media-height,100%);justify-self:center;align-self:center}
#app.game-room .visual-media-stage>.timer-row,#app.game-room .visual-media-stage>.answer-grid,#app.game-room .visual-media-stage>.question-bottom{width:var(--media-width,100%);justify-self:center}
#app.game-room .visual-media-frame>.question-image,#app.game-room .visual-media-frame>.question-video{object-fit:contain}
#app.game-room .visual-media-stage>.content-card:not(.explanation-card){padding:14px 58px 14px 18px}
#app.game-room .visual-media-stage .question-copy{font-size:clamp(20px,1.6vw,30px);max-height:60%}
@media(max-width:700px) and (orientation:portrait){
 #app.game-room[data-role] .question-stage.visual-media-stage{--media-answers:140px;grid-template-rows:var(--meta-height) var(--media-height,minmax(64px,1fr)) var(--media-timer) var(--media-answers) var(--media-footer);align-content:center}
 #app.game-room .visual-media-stage>.answer-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:8px}
 #app.game-room .visual-media-stage .answer{flex-direction:row;justify-content:flex-start;padding:8px;gap:7px}
 #app.game-room .visual-media-stage .answer-copy{font-size:16px;text-align:left;flex:1;line-height:1.2}
 #app.game-room .visual-media-stage .answer.correct{padding-right:24px}
 #app.game-room .visual-media-stage .answer.correct>.icon{top:50%;right:6px;width:13px;height:13px}
 #app.game-room .visual-media-stage>.content-card:not(.explanation-card){padding:10px 48px 10px 12px}
 #app.game-room .visual-media-stage .question-copy{font-size:20px;padding:6px 8px}
}
@media(max-height:500px) and (orientation:landscape){
 #app.game-room[data-role] .question-stage.visual-media-stage{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);grid-template-rows:var(--meta-height) minmax(0,1fr) var(--media-timer) var(--media-footer);gap:7px 16px}
 #app.game-room .visual-media-stage>.question-meta{grid-column:1/-1;grid-row:1}
 #app.game-room .visual-media-stage>.visual-media-frame,#app.game-room .visual-media-stage>.content-card{grid-column:1;grid-row:2}
 #app.game-room .visual-media-stage>.timer-row{grid-column:1;grid-row:3}
 #app.game-room .visual-media-stage>.answer-grid{grid-column:2;grid-row:2/4;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:8px}
 #app.game-room .visual-media-stage .answer{padding:7px;gap:6px;flex-direction:column;justify-content:center}
 #app.game-room .visual-media-stage .answer-copy{font-size:15px;text-align:center;flex:0 1 auto;line-height:1.2}
 #app.game-room .visual-media-stage .answer.correct{padding-right:7px}
 #app.game-room .visual-media-stage .answer.correct>.icon{top:17px;right:7px}
 #app.game-room .visual-media-stage>.question-bottom{grid-column:1/-1;grid-row:4;width:100%}
 #app.game-room .visual-media-stage>.content-card:not(.explanation-card){padding:8px 45px 8px 10px}
 #app.game-room .visual-media-stage .question-copy{font-size:18px;padding:5px 7px}
}

/* 1.5.6: a compact pause between media questions. */
#app.game-room[data-role] .question-stage.loading-placeholder>.content-card{width:min(760px,100%);height:min(320px,100%);justify-self:center;align-self:center;padding:32px;gap:20px}
#app.game-room .loading-placeholder .question-copy{font-size:clamp(36px,3.4vw,56px);font-weight:900;line-height:1.15;max-height:none;padding:4px 2px}
#app.game-room .loading-placeholder .loading-copy{font-size:clamp(20px,1.5vw,24px);line-height:1.4;max-width:100%}
@media(max-width:700px){
 #app.game-room[data-role] .question-stage.loading-placeholder>.content-card{width:min(520px,100%);height:min(270px,100%);padding:22px 16px;gap:16px}
 #app.game-room .loading-placeholder .question-copy{font-size:clamp(28px,7.5vw,36px)}
 #app.game-room .loading-placeholder .loading-copy{font-size:18px;line-height:1.35}
}
@media(max-height:500px) and (orientation:landscape){
 #app.game-room[data-role] .question-stage.loading-placeholder>.content-card{width:min(660px,100%);height:min(210px,100%);padding:16px 24px;gap:10px}
 #app.game-room .loading-placeholder .question-copy{font-size:32px}
 #app.game-room .loading-placeholder .loading-copy{font-size:18px;line-height:1.25}
}

/* 1.5.7: explanation images/videos fill the existing content window. */
#app.game-room .content-card.explanation-card.has-visual-explanation{position:relative;isolation:isolate;overflow:hidden;padding:0;background:#242831}
#app.game-room .explanation-card.has-visual-explanation>.explanation-media{position:absolute;inset:0;width:100%;height:100%;max-height:none;min-height:0;border:0;border-radius:0;margin:0;flex:none}
#app.game-room .has-visual-explanation>.explanation-media img,#app.game-room .has-visual-explanation>.explanation-media video{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;margin:0;border:0;border-radius:0}
#app.game-room .has-visual-explanation>.eyebrow{position:absolute;z-index:2;top:14px;left:50%;transform:translateX(-50%);max-width:calc(100% - 130px);margin:0;text-align:center}
#app.game-room .has-visual-explanation>.explanation-copy{position:absolute;z-index:2;left:16px;right:16px;bottom:16px;width:auto;height:36%;max-height:46%;margin:0;padding:12px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:#242831d9;color:#fffdf5;text-shadow:0 1px 2px #000;overflow:hidden}
#app.game-room .question-stage>.question-meta{z-index:5}
#app.game-room .has-visual-explanation>.explanation-copy>span{width:100%}
#app.game-room .has-visual-explanation>.media-retry{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%)}
#app.game-room .visual-media-stage.explanation-stage>.content-card.explanation-card.has-visual-explanation{padding:0;border:4px solid var(--ink);border-radius:32px 35px 29px 33px;background:#242831;box-shadow:none}
#app.game-room[data-role="player"] .answer.has-votes{padding-bottom:24px}
#app.game-room[data-role="player"] .answer-votes{position:absolute;right:10px;bottom:5px;display:flex;align-items:center;gap:4px;margin:0;font-size:12px;font-weight:900;line-height:1.1;color:var(--ink);white-space:nowrap}
#app.game-room[data-role="player"] .answer-votes .icon{width:13px;height:13px}
@media(max-width:700px){
 #app.game-room .visual-media-stage.explanation-stage>.content-card.explanation-card.has-visual-explanation{border-width:3px;border-radius:24px 26px 22px 25px}
 #app.game-room .has-visual-explanation>.eyebrow{top:10px;max-width:calc(100% - 90px);font-size:10px;padding:4px 6px}
 #app.game-room .has-visual-explanation>.explanation-copy{left:10px;right:10px;bottom:10px;padding:8px;border-radius:10px}
}
@media(max-height:500px) and (orientation:landscape){
 #app.game-room[data-role="player"] .answer.has-votes{padding-bottom:20px}
 #app.game-room[data-role="player"] .answer-votes{font-size:10px;bottom:4px;right:8px}
 #app.game-room[data-role="player"] .answer-votes .icon{width:11px;height:11px}
 #app.game-room .has-visual-explanation>.eyebrow{top:8px;font-size:9px;padding:3px 5px}
 #app.game-room .has-visual-explanation>.explanation-copy{left:8px;right:8px;bottom:8px;padding:6px}
}

/* Badge sizing; placement is fitted to the centred card. */
#app.game-room .question-stage{--badge-size:74px;--badge-space:0px}
#app.game-room .question-number,#app.game-room .visual-media-stage .question-number{position:absolute;inset:auto;grid-column:auto;grid-row:auto;z-index:6;width:var(--badge-size);height:var(--badge-size);rotate:0deg;margin:0}
#app.game-room .question-number.dense{width:var(--badge-size)}
#app.game-room .question-stage:not(.visual-media-stage)>.content-card{width:calc(100% - var(--badge-space));max-width:calc(100% - var(--badge-space));margin-right:var(--badge-space);justify-self:center}
#app.game-room .question-stage:not(.visual-media-stage)>.content-card:not(.explanation-card){padding-right:20px}
#app.game-room .question-stage.visual-media-stage>.visual-media-frame,#app.game-room .question-stage.visual-media-stage>.content-card,#app.game-room .question-stage.visual-media-stage>.timer-row,#app.game-room .question-stage.visual-media-stage>.answer-grid,#app.game-room .question-stage.visual-media-stage>.question-bottom{margin-right:var(--badge-space)}
#app.game-room .visual-media-stage>.content-card:not(.explanation-card){padding-right:18px}
#app.game-room .answer-copy{--copy-lines:3}
#app.game-room .answer-copy.copy-truncated{max-height:3.6em}
@media(min-width:1600px){#app.game-room .question-stage{--badge-size:90px;--badge-space:0px}}
@media(max-width:700px){
 #app.game-room .question-stage{--badge-size:48px;--badge-space:0px}
 #app.game-room .question-number strong{font-size:24px}
 #app.game-room .question-number strong small{font-size:14px}
 #app.game-room .question-number.dense strong{font-size:19px}
 #app.game-room .question-number.dense strong small{font-size:12px}
 #app.game-room .question-stage:not(.visual-media-stage)>.content-card:not(.explanation-card){padding-top:16px;padding-right:12px;padding-left:12px}
 #app.game-room .visual-media-stage>.content-card:not(.explanation-card){padding-right:12px}
}
@media(max-height:500px) and (orientation:landscape){
 #app.game-room .question-stage{--badge-size:38px;--badge-space:0px}
 #app.game-room .question-stage.visual-media-stage>.answer-grid,#app.game-room .question-stage.visual-media-stage>.question-bottom{margin-right:0}
 #app.game-room .question-number strong{font-size:20px}
 #app.game-room .question-number strong small{font-size:12px}
 #app.game-room .question-number.dense strong{font-size:16px}
 #app.game-room .question-number.dense strong small{font-size:10px}
}
/* Original cover colours, with small solid paper labels instead of dark shading. */
.catalog-workspace .has-cover::after{display:none}
.catalog-workspace .has-cover .card-rounds{right:auto;max-width:calc(100% - 24px);width:fit-content;padding:4px 7px;border:1.5px solid var(--ink);border-radius:7px;background:var(--paper);color:var(--ink);text-shadow:none;font-size:10px;letter-spacing:0}

#app.game-room .question-stage>.content-card{transform-origin:top center}
#app.game-room .answer.has-votes>.answer-votes{position:absolute;bottom:5px;right:10px}
#app.game-room .question-number strong small,#app.game-room .question-number.dense strong small{font-size:.6em}

/* 1.5.10: centred full-width content, quiet selection and centred reveal rows. */
#app.game-room .question-stage:not(.visual-media-stage)>.content-card{margin-right:0}
#app.game-room[data-role] .question-stage .answer.has-votes{padding-top:12px;padding-bottom:12px;padding-right:44px;align-items:center}
#app.game-room[data-role] .visual-media-stage .answer.has-votes{padding-top:8px;padding-bottom:8px}
#app.game-room .answer.selected:not(.has-votes){background:#e2f4ad;border-color:var(--ink);box-shadow:0 5px 0 var(--ink),0 0 0 4px var(--lime)}
#app.game-room .answer.selected.correct{background:var(--lime)}
@media(max-width:700px){
 #app.game-room[data-role] .question-stage .answer.has-votes{padding-top:10px;padding-bottom:10px;padding-right:38px}
 #app.game-room[data-role] .visual-media-stage .answer.has-votes{padding-top:8px;padding-bottom:8px}
 #app.game-room .question-meta>span:first-child{translate:0 8px}
}
@media(max-height:500px) and (orientation:landscape){
 #app.game-room[data-role] .question-stage .answer.has-votes{padding-top:7px;padding-bottom:7px;padding-right:38px}
 #app.game-room .question-meta>span:first-child{translate:0 4px}
}

#app.game-room .counter-round-clearance>.question-meta>span:first-child{max-width:calc(var(--counter-meta-width) - var(--badge-size) - var(--badge-size) - 24px);margin-inline:auto}

/* 1.5.11: the same 16:9 content canvas for every presentation media type. */
#app.game-room .audio-frame{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:var(--paper)}
#app.game-room .audio-frame .sound-wave{width:min(78%,760px);height:55%;max-height:240px;min-height:0}
#app.game-room[data-phase="reveal"] .audio-frame .sound-wave *{animation-play-state:running}
#app.game-room[data-role] .question-stage>.content-card.counter-clearance{padding-top:calc(var(--badge-size) + 20px)}
#app.game-room .has-visual-explanation>.explanation-copy{height:auto;max-height:17%;left:12px;right:12px;bottom:10px;padding:6px 9px;background:#24283159;font-size:clamp(12px,1.1vw,18px);line-height:1.15;border-radius:9px;text-shadow:0 1px 3px #000}
#app.game-room .has-visual-explanation>.eyebrow{background:#24283180;font-size:10px;padding:4px 7px}
@media(max-width:700px){
 #app.game-room .has-visual-explanation>.explanation-copy{font-size:12px;max-height:20%;left:8px;right:8px;bottom:7px;padding:4px 6px}
 #app.game-room .has-visual-explanation>.eyebrow{font-size:9px;top:8px;padding:3px 5px}
}
@media(prefers-reduced-motion:reduce){#app.game-room[data-phase="reveal"] .audio-frame .sound-wave *{animation:none!important}}

#app.game-room[data-role] .question-stage>.explanation-card:not(.has-visual-explanation){padding-top:calc(var(--badge-size) + 14px)}

#app.game-room .visual-media-stage>.content-card.counter-caption-clearance .question-copy{width:calc(100% - var(--badge-size) - 22px);align-self:flex-start}

/* 1.5.12: a stable corner with protected copy, plus a fixed explanation heading. */
#app.game-room .question-stage>.content-card .question-copy{max-width:calc(100% - var(--badge-size) - 32px);align-self:center;margin-inline:auto}
#app.game-room .question-stage>.explanation-card>.eyebrow{position:absolute;top:14px;left:50%;transform:translateX(-50%);z-index:2;margin:0;max-width:calc(100% - var(--badge-size) - var(--badge-size) - 30px);text-align:center}
#app.game-room[data-role] .question-stage>.explanation-card:not(.has-visual-explanation){position:relative;justify-content:center;align-items:center;padding:var(--hint-reserve,60px) 22px}
#app.game-room .explanation-card:not(.has-visual-explanation)>.explanation-copy{flex:1 1 0;min-height:0;margin:0;padding:4px 0;justify-content:center;align-items:center;text-align:center}
#app.game-room .explanation-card:not(.has-visual-explanation)>.small-note{position:absolute;bottom:10px;left:16px;right:16px;margin:0;text-align:center}
@media(max-width:700px){
 #app.game-room .question-stage>.explanation-card>.eyebrow{top:10px;font-size:9px;padding:3px 5px}
 #app.game-room[data-role] .question-stage>.explanation-card:not(.has-visual-explanation){padding-left:14px;padding-right:14px}
 #app.game-room .explanation-card:not(.has-visual-explanation)>.small-note{font-size:10px;bottom:8px}
}

/* Round introductions cover the prepared stage without detaching its live media. */
#app.game-room .round-intro-underlay{visibility:hidden;pointer-events:none}
#app.game-room .round-intro-stage{position:absolute;inset:0;z-index:3;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:20px;padding:18px 8px 22px;min-width:0;min-height:0;text-align:center}
#app.game-room .intro-kicker{font-size:16px;font-weight:1000;letter-spacing:.14em;color:var(--ink)}
#app.game-room .round-intro-card{width:min(1060px,100%);height:min(100%,520px);min-height:0;min-width:0;align-self:center;justify-self:center;display:grid;grid-template-columns:minmax(130px,.38fr) minmax(0,1fr);gap:28px;align-items:center;padding:clamp(18px,3vw,42px);border:3px solid var(--ink);border-radius:36px;background:var(--paper,#fffdf5);box-shadow:0 9px 0 var(--ink);transform:rotate(-.4deg)}
#app.game-room .intro-mascot{position:relative;min-width:0;height:min(100%,270px);display:grid;place-items:center}
#app.game-room .intro-mascot img{width:min(100%,240px);height:100%;max-height:270px;object-fit:contain;filter:drop-shadow(0 8px 0 #24283118);animation:intro-bob 1.7s ease-in-out infinite}
#app.game-room .intro-speech{position:absolute;top:5%;right:0;display:flex;gap:5px;border:2px solid var(--ink);border-radius:16px 16px 16px 2px;padding:12px;background:#d4ecff;transform:rotate(8deg)}
#app.game-room .intro-speech i{width:6px;height:6px;border-radius:50%;background:var(--ink);animation:intro-dot 1.2s ease-in-out infinite}
#app.game-room .intro-speech i:nth-child(2){animation-delay:.15s}#app.game-room .intro-speech i:nth-child(3){animation-delay:.3s}
#app.game-room .round-intro-copy{height:100%;min-height:0;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:18px;text-align:left;transform:rotate(.4deg)}
#app.game-room .round-intro-copy h1{margin:0;flex:0 0 30%;min-height:0;max-height:30%;display:flex;align-items:center;overflow:hidden;overflow-wrap:break-word;font-size:clamp(28px,4.2vw,58px);line-height:1.06;font-weight:1000;color:var(--ink)}
#app.game-room .intro-description{flex:1 1 auto;min-height:0;min-width:0;display:flex;align-items:center}
#app.game-room .intro-description>span{display:block;max-height:100%;overflow:hidden;white-space:pre-line;overflow-wrap:break-word;font-size:clamp(18px,2vw,27px);line-height:1.3;font-weight:800;color:var(--ink)}
#app.game-room .intro-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;font-weight:900;font-size:15px}
#app.game-room .intro-footer [hidden]{display:none}
#app.game-room .intro-footer .host-controls{margin:0;padding:0}
@keyframes intro-bob{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-6px) rotate(3deg)}}
@keyframes intro-dot{0%,70%,100%{transform:translateY(0)}35%{transform:translateY(-4px)}}
@media(max-width:700px){
 #app.game-room .round-intro-stage{gap:12px;padding:14px 5px 18px}
 #app.game-room .intro-kicker{font-size:12px}
 #app.game-room .round-intro-card{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(65px,.34fr) minmax(0,1fr);gap:12px;padding:18px;border-radius:26px;box-shadow:0 6px 0 var(--ink)}
 #app.game-room .intro-mascot{height:100%;width:120px;justify-self:center}
 #app.game-room .intro-mascot img{max-height:135px}
 #app.game-room .intro-speech{padding:8px;right:-8px}
 #app.game-room .round-intro-copy{text-align:center;gap:12px}
 #app.game-room .round-intro-copy h1{font-size:30px;justify-content:center}
 #app.game-room .intro-description{justify-content:center}
 #app.game-room .intro-description>span{font-size:19px}
 #app.game-room .intro-footer{font-size:12px;gap:8px}
}
@media(max-height:500px) and (orientation:landscape){
 #app.game-room .round-intro-stage{gap:7px;padding:6px}
 #app.game-room .round-intro-card{grid-template-columns:minmax(90px,.24fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr);padding:12px 24px;gap:18px;border-radius:22px}
 #app.game-room .intro-mascot{height:100%;width:100%;max-height:160px}
 #app.game-room .round-intro-copy{gap:8px;text-align:left}
 #app.game-room .round-intro-copy h1{font-size:28px;justify-content:flex-start}
 #app.game-room .intro-description>span{font-size:17px}
}
@media(prefers-reduced-motion:reduce){#app.game-room .intro-mascot img,#app.game-room .intro-speech i{animation:none}}

/* Pigeon and speech bubble occupy separate columns, including narrow phones. */
#app.game-room .intro-mascot{display:flex;align-items:center;justify-content:center;gap:14px}
#app.game-room .intro-pigeon{display:block;flex:0 1 auto;min-width:0;width:calc(100% - 68px);height:100%;max-height:270px;overflow:visible;filter:drop-shadow(0 7px 0 #24283118);transform-origin:50% 85%;animation:presenter-idle 3.8s ease-in-out infinite}
#app.game-room .intro-speech{position:static;flex:0 0 auto;align-self:flex-start;margin-top:12%;padding:10px;gap:5px;transform:rotate(8deg)}
#app.game-room .intro-eyes{transform-box:view-box;transform-origin:46px 23px;animation:presenter-blink 5.1s linear infinite}
#app.game-room .intro-wing{transform-box:view-box;transform-origin:23px 46px}
#app.game-room .intro-lower-beak{transform-box:view-box;transform-origin:45px 31px}
#app.game-room .intro-speech i{animation-play-state:paused}
#app.game-room .is-speaking .intro-pigeon{animation:presenter-talk 1.65s ease-in-out infinite}
#app.game-room .is-speaking .intro-lower-beak{animation:presenter-beak 1.1s ease-in-out infinite}
#app.game-room .is-speaking .intro-wing{animation:presenter-wing 3.3s ease-in-out infinite}
#app.game-room .is-speaking .intro-speech i{animation-play-state:running}
@keyframes presenter-idle{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(1.5deg) translateY(-2px)}}
@keyframes presenter-talk{0%,100%{transform:rotate(-2deg) translateY(0)}25%{transform:rotate(1deg) translateY(-3px)}60%{transform:rotate(-1deg) translateY(-1px)}80%{transform:rotate(2deg) translateY(-4px)}}
@keyframes presenter-blink{0%,41%,45%,92%,96%,100%{transform:scaleY(1)}43%,94%{transform:scaleY(.08)}}
@keyframes presenter-beak{0%,18%,43%,67%,100%{transform:rotate(0)}9%{transform:rotate(14deg)}30%{transform:rotate(10deg)}55%{transform:rotate(16deg)}77%,87%{transform:rotate(8deg)}}
@keyframes presenter-wing{0%,25%,70%,100%{transform:rotate(0)}38%{transform:rotate(-9deg)}48%{transform:rotate(-3deg)}58%{transform:rotate(-7deg)}}
@media(max-width:700px){
 #app.game-room .intro-mascot{width:min(205px,100%);gap:14px}
 #app.game-room .intro-pigeon{width:calc(100% - 62px);max-height:135px}
 #app.game-room .intro-speech{margin-top:4px;padding:8px;gap:4px}
}
@media(max-height:500px) and (orientation:landscape){
 #app.game-room .intro-mascot{width:100%;gap:14px}
 #app.game-room .intro-pigeon{width:calc(100% - 54px);max-height:160px}
 #app.game-room .intro-speech{padding:6px;gap:3px}
 #app.game-room .intro-speech i{width:4px;height:4px}
}
@media(prefers-reduced-motion:reduce){#app.game-room .intro-pigeon,#app.game-room .intro-pigeon *,#app.game-room .intro-speech i{animation:none!important}}
