/* Quiz entry/identity presentation only. Existing profile, avatar, room, question and saved-record owners stay unchanged. */
.quiz-presentation .qw-entry { --qw-orange:#96512b; min-height:0; align-items:start; padding:24px 0 36px; font-family:"GomgomKkalkkeum",system-ui,sans-serif; }
.quiz-presentation .qw-entry-shell { width:min(760px,100%); }
.quiz-presentation .qw-entry-screen { animation:none; }
.quiz-presentation .qw-entry-screen h1 { margin:8px 0 20px; font-size:clamp(28px,4vw,40px); line-height:1.2; }
.quiz-presentation .qw-kicker { color:#804320; font-size:14px; letter-spacing:0; }
.quiz-presentation .qw-game-logo { height:190px; border-width:2px; box-shadow:0 3px 0 #102f32; }
.quiz-presentation .qw-game-logo strong { top:24px; }
.quiz-presentation .qw-menu-button { min-height:76px; border-width:2px; box-shadow:inset 0 1px 0 #fff6,0 2px 0 #102f32; gap:12px; }
.quiz-presentation .qw-menu-button span,.quiz-presentation .qw-mode-card small { font-size:14px; }
.quiz-presentation .qw-menu-button--primary,.quiz-presentation .qw-entry .qw-primary { background:#96512b; color:#fff; border:2px solid #713915; box-shadow:inset 0 1px 0 #fff4,0 2px 0 #713915; }
.quiz-presentation .qw-menu-button--primary span { color:#fff; }
.quiz-presentation .qw-entry .qw-primary { min-height:56px; font-size:18px; }
.quiz-presentation .qw-entry button { transform:none; transition:background-color .12s,box-shadow .12s; }
.quiz-presentation .qw-entry button:hover:not(:disabled) { transform:none; }
.quiz-presentation .qw-entry button:active:not(:disabled) { transform:none; box-shadow:inset 0 3px 0 #0003; }
.quiz-presentation .qw-entry button:focus-visible,.quiz-presentation .qw-entry input:focus-visible { outline:3px solid #245269; outline-offset:3px; transform:none; }
.quiz-presentation .qw-text-button,.quiz-presentation .qw-back-button,.quiz-presentation .qw-profile-back { min-height:44px; }
.quiz-presentation .qw-back-button { margin-bottom:12px; padding:8px 0; }
.quiz-presentation .qw-text-button { margin-top:12px; }
.quiz-presentation .qw-mode-menu { width:100%; }
.quiz-presentation .qw-mode-card { min-height:230px; border-width:2px; box-shadow:inset 0 1px 0 #fff6,0 2px 0 #102f32; }
.quiz-presentation .qw-mode-characters { height:130px; }
.quiz-presentation .qw-mode-characters i { width:124px; height:124px; }
.quiz-presentation .qw-mode-characters i+i { margin-left:-60px; }
.quiz-presentation .qw-entry-screen .qw-entry-form { width:min(640px,100%); padding:20px; border-width:2px; border-radius:16px; box-shadow:0 3px 0 #102f32; gap:12px; }
.quiz-presentation .qw-profile-stage { gap:12px; }
.quiz-presentation .qw-entry-screen .qw-entry-form label { font-size:14px; gap:6px; }
.quiz-presentation .qw-entry-screen .qw-entry-form input:not([type="radio"]) { min-height:48px; font-size:16px; }
.quiz-presentation .qw-form-status { font-size:14px; line-height:1.4; }
.quiz-presentation .qw-rule-picker span { font-size:14px; line-height:1.4; }
.quiz-presentation .qw-rule-picker label:has(input:checked) { border-width:2px; padding:12px 14px 12px 46px; background:#f3e5d7; }
@media(max-width:620px) {
 .quiz-presentation .qw-entry { padding:16px 0 28px; }
 .quiz-presentation .qw-game-logo { height:168px; margin-bottom:18px; }
 .quiz-presentation .qw-game-logo .qw-avatar { width:118px; height:118px; }
 .quiz-presentation .qw-mode-card { min-height:170px; padding:14px; grid-template-columns:110px minmax(0,1fr); }
 .quiz-presentation .qw-mode-card strong { font-size:22px; }
 .quiz-presentation .qw-mode-characters { height:125px; }
 .quiz-presentation .qw-mode-characters i { width:100px; height:100px; }
 .quiz-presentation .qw-mode-characters i+i { margin-left:-68px; }
 .quiz-presentation .qw-menu-button { padding-inline:16px; }
 .quiz-presentation .qw-menu-button strong { font-size:22px; }
 .quiz-presentation .qw-entry-screen .qw-entry-form { padding:16px; }
}
@media(orientation:landscape) and (max-height:520px) {
 .quiz-presentation .qw-topbar { min-height:56px; }
 .quiz-presentation .qw-entry { padding:12px 0 24px; }
 .quiz-presentation .qw-entry-screen:has(.qw-entry-form) { grid-template-columns:180px minmax(0,1fr); column-gap:20px; justify-items:stretch; align-items:start; }
 .quiz-presentation .qw-entry-screen:has(.qw-entry-form)>.qw-back-button { grid-column:1; grid-row:1; }
 .quiz-presentation .qw-entry-screen:has(.qw-entry-form)>.qw-kicker { grid-column:1; grid-row:2; }
 .quiz-presentation .qw-entry-screen:has(.qw-entry-form)>h1 { grid-column:1; grid-row:3; text-align:left; font-size:28px; }
 .quiz-presentation .qw-entry-screen .qw-entry-form { grid-column:2; grid-row:1 / 5; padding:12px; gap:0; }
 .quiz-presentation [data-profile-identity] { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .quiz-presentation [data-profile-identity]>fieldset { grid-column:1 / -1; }
 .quiz-presentation [data-profile-identity]>.qw-primary { min-height:48px; }
 .quiz-presentation [data-profile-identity="solo"]>.qw-primary { grid-column:1 / -1; }
 .quiz-presentation .qw-entry-screen .qw-entry-form label { gap:4px; }
 .quiz-presentation .qw-entry-screen .qw-entry-form input:not([type="radio"]) { min-height:44px; }
 .quiz-presentation .qw-form-status:empty { min-height:0; }
 .quiz-presentation .qw-mode-card { min-height:160px; }
 .quiz-presentation .qw-mode-characters { height:90px; margin-bottom:4px; }
 .quiz-presentation .qw-mode-characters i { width:86px; height:86px; }
}
@media(prefers-reduced-motion:reduce) { .quiz-presentation .qw-entry button { transition:none; } }
