/* Partida fijada al viewport: sin franja ilustrada vacía ni desplazamiento del tablero. */
.classic-site .c-game.g-is-immersive.g-playing{position:fixed;inset:var(--g-viewport-top,0px) 0 auto;z-index:850;width:100%;height:var(--g-viewport-height,100vh);height:var(--g-viewport-height,100dvh);min-height:0;max-width:none;margin:0;padding:0;border:0;overflow:hidden;overscroll-behavior:none;--g-fit-gap:8px;--g-fit-pad:8px}
.c-game.g-playing>[data-screen=game]:not([hidden]){display:block;height:100%;min-height:0;max-height:100%;max-width:1440px;box-sizing:border-box;margin:0 auto;padding:max(var(--g-fit-pad),env(safe-area-inset-top,0px)) max(var(--g-fit-pad),env(safe-area-inset-right,0px)) max(var(--g-fit-pad),env(safe-area-inset-bottom,0px)) max(var(--g-fit-pad),env(safe-area-inset-left,0px));overflow:hidden}
.c-game.g-playing [data-screen=game]>.g-match-header{display:none}
.c-game.g-playing [data-screen=game] .g-match-body{height:100%;min-height:0;max-width:none;margin:0;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-items:stretch;gap:16px}
.c-game.g-playing [data-screen=game] .g-match-question{height:100%;min-height:0;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto 4px auto minmax(0,.7fr) minmax(0,1.3fr) auto;grid-template-areas:'score' 'caption' 'progress' 'book' 'question' 'options' 'actions';gap:var(--g-fit-gap);align-items:stretch;align-content:stretch}
.c-game.g-playing [data-screen=game] .g-scorebar{grid-area:score;min-height:64px;padding:8px 12px;margin:0;gap:8px;border-radius:20px}
.c-game.g-playing [data-screen=game] .g-scorebar strong{font-size:clamp(18px,2.8dvh,26px);line-height:1.2}
.c-game.g-playing [data-screen=game] .g-scorebar p{font-size:16px;line-height:1.25;margin-top:4px;display:block}
.c-game.g-playing [data-screen=game] .g-score-star{display:none}.c-game.g-playing .g-score-unit{display:inline}
.c-game.g-playing .g-match-portrait{width:44px;height:44px}.c-game.g-playing .g-portrait-crown{width:28px;height:20px;left:8px;top:-12px}
.c-game.g-playing .g-clock-shield{width:48px;height:60px}.c-game.g-playing [data-screen=game] .g-clock-shield .g-timer{font-size:24px;min-width:0;min-height:0;align-items:center;justify-content:center;padding:0 0 6px;white-space:nowrap}
.c-game.g-playing [data-screen=game] .g-scorebar .g-save-exit{width:104px;min-height:48px;padding:6px 8px;font-size:16px;border-radius:16px}.c-game.g-playing .g-save-exit .g-svg{width:20px;height:20px}
.c-game.g-playing [data-screen=game] .g-progress-caption{grid-area:caption;min-height:24px;align-items:center;padding:0 8px;margin:0;font-size:16px;line-height:1.3;gap:8px}
.c-game.g-playing [data-screen=game] [data-progress]{grid-area:progress;display:block;min-height:0;margin:0;width:100%;height:4px}
.c-game.g-playing [data-screen=game] .g-scripture-stage{grid-area:book;height:auto;min-height:0;max-height:none;margin:0;padding:0;justify-content:center}
.c-game.g-playing [data-screen=game] .g-scripture-art{display:none;height:0;min-height:0;margin:0}
.c-game.g-playing [data-screen=game] .g-scripture-stage .g-tags{position:static;transform:none;margin:0;padding:4px 12px;font-size:16px;line-height:1.25;border-radius:8px;box-shadow:none}
.c-game.g-playing [data-screen=game] .g-chalk{grid-area:question;min-height:0;min-width:0;margin:0;padding:12px;border-width:3px;border-radius:24px;display:flex;align-items:center;justify-content:center;flex-direction:column}
.c-game.g-playing [data-screen=game] .g-chalk h2{width:100%;font-size:clamp(20px,3.4dvh,32px);line-height:1.2;margin:0;letter-spacing:0;overflow-wrap:anywhere}
.c-game.g-playing [data-screen=game] .g-question-book,.c-game.g-playing [data-screen=game] .g-frame-stars{display:none}
.c-game.g-playing [data-screen=game] .g-options{grid-area:options;min-height:0;min-width:0;grid-template-columns:minmax(0,1fr);grid-auto-rows:minmax(44px,1fr);gap:8px;margin:0;padding:0;align-self:stretch}
.c-game.g-playing [data-screen=game] .g-option{min-width:0;min-height:44px;padding:4px 12px 4px 6px;gap:12px;border-radius:32px;font-size:clamp(16px,2.6dvh,24px);line-height:1.2;box-shadow:inset 0 2px 4px hsl(var(--g-white)/.35),0 3px 0 hsl(var(--g-shadow)/.7)}
.c-game.g-playing [data-screen=game] .g-option .g-letter{width:32px;height:32px;font-size:24px;border-width:2px}.c-game.g-playing [data-screen=game] .g-option>span:not(.g-letter){min-width:0;overflow-wrap:anywhere}
.c-game.g-playing [data-screen=game] .g-option:not(.is-correct):not(.is-wrong)::after{display:none}
.c-game.g-playing [data-screen=game] .g-match-actions{grid-area:actions;display:none;position:static;padding:0;margin:0;gap:4px;min-height:0;min-width:0;background:none}
.c-game.g-playing.g-has-result [data-screen=game] .g-match-actions{display:grid}
.c-game.g-playing [data-screen=game] .g-match-actions [data-result]{margin:0;padding:6px 12px;border-radius:12px;background:hsl(var(--g-royal));color:hsl(var(--g-white));font-size:16px;font-weight:600;line-height:1.3;text-align:center;overflow-wrap:anywhere}
.c-game.g-playing [data-screen=game] .g-answer-tools{display:flex;align-items:center;gap:8px;min-width:0}
.c-game.g-playing [data-screen=game] .g-answer-tools button{min-height:44px;font-size:16px;padding:6px 8px;line-height:1.2}.c-game.g-playing [data-screen=game] .g-answer-tools .g-verse-link{flex-shrink:0;margin:0;color:hsl(var(--g-white));background:hsl(var(--g-royal));border-radius:12px}
.c-game.g-playing [data-screen=game] .g-match-actions .g-note{font-size:16px;line-height:1.25;margin:0;padding:4px 8px}
.c-game.g-playing [data-screen=game] .g-participant-panel{display:none}
.c-game.g-playing [data-screen=game] .g-players-toggle{min-height:44px;margin:-8px 0;padding:4px 8px;font-size:16px;line-height:1.2;background:none;border:1px solid hsl(var(--g-sky));border-radius:8px;color:hsl(var(--g-white))}
.c-game.g-playing[data-game-fit=compact]{--g-fit-gap:6px}.c-game.g-playing[data-game-fit=compact] [data-screen=game] .g-chalk{padding:8px}.c-game.g-playing[data-game-fit=compact] [data-screen=game] .g-option{font-size:18px}
.c-game.g-playing[data-game-fit=tight]{--g-fit-gap:4px;--g-fit-pad:4px}
.c-game.g-playing[data-game-fit=tight] [data-screen=game] .g-scripture-stage .g-tags{padding:2px 8px}
.c-game.g-playing[data-game-fit=tight] [data-screen=game] .g-chalk{padding:6px;border-radius:16px}
.c-game.g-playing[data-game-fit=tight] [data-screen=game] .g-option{font-size:16px;gap:8px;padding:4px 8px 4px 4px}.c-game.g-playing[data-game-fit=tight] [data-screen=game] .g-options{gap:4px}
.c-game.g-playing[data-game-fit=tight] [data-screen=game] .g-option .g-letter{width:28px;height:28px;font-size:20px}.c-game.g-playing[data-game-fit=tight] [data-screen=game] .g-option::after{display:none}
.c-game.g-playing[data-game-fit=tight] [data-screen=game] .g-match-actions [data-result]{padding:4px 8px}
.c-game.g-playing[data-game-pairs=true] [data-screen=game] .g-options{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:379px){.c-game.g-playing .g-match-portrait{display:none}.c-game.g-playing [data-screen=game] .g-scorebar{grid-template-columns:minmax(0,1fr) auto auto;padding:6px 8px}.c-game.g-playing [data-screen=game] .g-scorebar .g-save-exit{width:96px}.c-game.g-playing .g-score-unit{display:block}}
@media(min-width:480px) and (max-height:600px) and (orientation:landscape),(min-width:1024px){
 .c-game.g-playing [data-screen=game] .g-match-question{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-rows:auto auto 4px auto minmax(0,1fr) auto;grid-template-areas:'score score' 'caption caption' 'progress progress' 'book options' 'question options' 'actions options';column-gap:24px}
 .c-game.g-playing [data-screen=game] .g-options{grid-template-columns:minmax(0,1fr);gap:var(--g-fit-gap)}
 .c-game.g-playing [data-screen=game] .g-option{font-size:clamp(16px,2.8dvh,26px)}
 .c-game.g-playing [data-screen=game] .g-chalk h2{font-size:clamp(20px,4.2dvh,40px)}
 .c-game.g-playing [data-screen=game] .g-answer-tools{max-width:640px;margin:auto;width:100%}
}
@media(min-width:480px) and (max-height:600px) and (orientation:landscape){.c-game.g-playing [data-screen=game] .g-options{grid-template-columns:repeat(2,minmax(0,1fr))}.c-game.g-playing [data-screen=game] .g-option{font-size:16px;gap:8px}}
@media(min-width:1024px){.c-game.g-playing.g-room-mode [data-screen=game] .g-match-body{grid-template-columns:minmax(0,1fr) 264px}.c-game.g-playing [data-screen=game] .g-participant-panel{display:block;position:static;height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain}.c-game.g-playing [data-screen=game] .g-players-toggle{display:none}}
@media(max-height:440px){.c-game.g-playing .g-match-portrait{display:none}.c-game.g-playing [data-screen=game] .g-scorebar{grid-template-columns:minmax(0,1fr) auto auto;min-height:48px;padding:4px 8px}.c-game.g-playing .g-clock-shield{width:40px;height:48px}.c-game.g-playing [data-screen=game] .g-clock-shield .g-timer{font-size:20px;padding:0 0 4px}.c-game.g-playing [data-screen=game] .g-scorebar p{display:inline;margin:0}.c-game.g-playing [data-screen=game] .g-scorebar strong{display:inline;font-size:18px}.c-game.g-playing [data-screen=game] .g-scorebar .g-save-exit{min-height:44px}.c-game.g-playing [data-screen=game] .g-chalk{padding:6px}}
