:root{color-scheme:dark}button{font-family:Arial,Helvetica,sans-serif;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid var(--lime);outline-offset:3px}button:disabled{cursor:default}.app{max-width:500px}.logo{width:65%;max-width:290px}.nav-item{background:none;border:0;padding:0}.card{padding:0;color:white;text-align:inherit;cursor:pointer}.card::after{display:none}.card.tried::after,.photos.resolved .card:not(.correct)::after{display:block}.photos.resolved .card.correct::after{display:block}.mark{display:none}.photos.resolved .correct .mark{display:grid}.next-button:disabled{opacity:.35}.next-row{grid-row:4;position:relative;display:flex;justify-content:center;align-items:center}.next-row .next-button{grid-row:auto}.review-link{position:absolute;right:14px;font-size:12px;font-weight:bold;background:none;border:0;color:#fff;text-decoration:underline;min-height:40px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}[hidden]{display:none!important}#screen{max-width:500px;margin:auto;height:100dvh;padding:20px 20px 90px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:16px;overflow:auto}body.panel .app{display:block}body.panel header,body.panel .question,body.panel .photos,body.panel .next-row{display:none}body.panel .app{height:0;padding:0}body.panel .bottom-nav{position:fixed;left:50%;transform:translateX(-50%);bottom:0;max-width:500px;height:70px;padding-bottom:env(safe-area-inset-bottom,0px);z-index:5;background:var(--bg)}.wordmark{font-size:64px;font-weight:900;letter-spacing:-5px;line-height:1.1;margin:0 0 18px}.wordmark span{color:var(--lime)}h1,h2,h3,p{margin:0}h1,h2{font-size:28px;letter-spacing:-.6px;font-weight:900}h3{font-size:18px}.subtle{color:#aeb4be;font-size:14px;line-height:1.5}.time{font-size:48px;line-height:1.1;font-weight:900;letter-spacing:-2px}.metric-label{font-size:15px;line-height:1.2;margin-top:2px}.medals{width:100%;display:flex;justify-content:center;gap:18px;margin:10px 0 8px}.medal{display:grid;justify-items:center;gap:9px;font-weight:900;font-size:20px}.circle{border:4px solid white;background:var(--lime);color:#000;border-radius:50%;width:76px;height:76px;display:grid;place-items:center;font-size:49px;font-weight:1000;letter-spacing:-2px}.medal:nth-child(2) .circle{background:white;border-color:var(--lime)}.medal:nth-child(3) .circle{background:#9c9fa4;border-color:white}sup{font-size:.6em;vertical-align:super}.action,.menu-row{min-height:48px;border:0;background:none;color:white;font-size:20px;font-weight:900;width:100%;padding:10px 12px}.action{color:var(--lime)}.action.secondary{font-size:16px;color:white}.menu{width:100%;display:grid;gap:10px;margin-top:12px}.menu-row{text-align:left;border-bottom:1px solid #353b43;display:flex;gap:14px;align-items:center}.menu-row .symbol{font-size:27px;color:var(--lime);width:32px;text-align:center}.menu-row .arrow{margin-left:auto;color:var(--lime)}.menu-row small{font-size:12px;color:#aeb4be;margin-left:auto}.status{font-size:13px;line-height:1.4;max-width:340px;color:#afb5bd}.close{position:absolute;right:12px;top:10px;min-width:36px;height:36px;background:none;border:0;color:white;font-size:26px;line-height:1}dialog{position:fixed;border:1px solid #404750;border-radius:18px;padding:44px 24px 25px;background:var(--bg);color:white;width:calc(100% - 32px);max-width:380px;max-height:calc(100dvh - 100px);overflow:auto;text-align:center}dialog::backdrop{background:#000b}#popup-content{display:grid;gap:18px}.big-number{font-size:70px;font-weight:1000;line-height:1}.stats-mode{color:var(--lime);font-weight:900;font-size:14px}.stat-time{font-size:42px}.review-item{text-align:left;padding:14px 0;border-bottom:1px solid #39404b;display:grid;gap:10px}.review-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.review-photo{margin:0;min-width:0}.review-photo img{width:100%;aspect-ratio:1;object-fit:cover;display:block}.review-photo figcaption{font-size:12px;line-height:1.3;padding:4px 0}.review-photo small{display:block;color:#aeb4be;font-size:10px}.review-item p,.rules p{font-size:15px;line-height:1.5}.review-item a,dialog a{color:var(--lime);overflow-wrap:anywhere;font-size:12px}.rules{display:grid;gap:16px;text-align:left}.loading{opacity:.55}.error-message{color:#fff;font-size:13px;line-height:1.5}.share-text{width:100%;min-height:90px;background:#1e2530;color:white;border:1px solid #505966;padding:10px;font-family:Arial}.storage-warning{position:fixed;top:0;left:0;right:0;z-index:10;background:#4a3520;text-align:center;padding:6px;font-size:12px}@media(max-height:700px){#screen{padding-top:12px;gap:12px}.wordmark{font-size:54px;margin-bottom:8px}.circle{width:65px;height:65px;font-size:43px}.time{font-size:42px}.medals{margin:4px 0}.menu{gap:5px}.menu-row{min-height:46px}.review-link{right:5px;font-size:11px}dialog{max-height:calc(100dvh - 45px)}}
.sr-only{top:0;left:0}html{overflow:hidden}
/* November 3 corrections: approved logo asset, compact panels, side-by-side stats. */
.logo{width:calc((100vw - 32px)*3.7/5.7);max-width:325px}
.brand{position:relative;flex:none;width:100%;height:78px;margin-bottom:4px}
.brand-logo{display:block;margin:0 auto;width:calc((100vw - 32px)*3.7/5.7);max-width:325px;height:78px;object-fit:contain}
#screen{gap:12px;padding-top:14px;padding-bottom:90px}
.earned-medals{gap:7px;width:100%;flex-wrap:nowrap}
.medal.rank-1 .circle{background:var(--lime);border-color:#fff}
.medal.rank-2 .circle{background:#fff;border-color:var(--lime)}
.medal.rank-3 .circle,.medal.rank-0 .circle{background:#9c9fa4;border-color:#fff}
.stats-pair{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:12px;margin:3px 0}
.stats-pair .big-number{font-size:54px;line-height:1.05}
.stats-pair .stat-time{font-size:42px;line-height:1.35;letter-spacing:-1.5px}
.stats-pair .metric-label{font-size:13px}
.stats-popup #popup-content{gap:12px}.stats-popup .medals{margin-top:0;margin-bottom:0}
.close{font:400 23px/1 Arial;width:32px;height:32px;min-width:32px;right:9px;top:8px}
.info-popup{border-color:var(--lime);padding:35px 20px 23px}
.info-popup #popup-content{gap:15px}.rule-intro,.rule-note{font-size:15px;line-height:1.4}
.rule-medals{margin:0;gap:17px}.rule-medals .circle{font-size:43px}.rule-medals .medal{gap:6px}
.rule-note{font-size:13px;color:#b5bbc4}.rule-rows{display:grid;gap:16px;text-align:left}
.rule-rows p{display:flex;gap:12px;align-items:center;font-size:14px;line-height:1.45}
.rule-rows>p>span:first-child{width:23px;font-size:25px;flex:none;text-align:center}
.test-badge{font-size:11px;line-height:1.35;color:var(--lime);padding:5px 10px;border:1px solid #49572b;border-radius:5px}
@media(max-height:700px){#screen{gap:10px;padding-top:10px;padding-bottom:78px}.brand{height:70px;margin-bottom:0}.brand-logo{height:70px}.menu{margin-top:4px}.menu-row{font-size:18px;min-height:43px}.info-popup #popup-content{gap:12px}.rule-rows{gap:13px}}
.change-trivia{position:absolute;left:10px;font-size:11px;font-weight:bold;background:none;border:0;color:#fff;text-decoration:underline;min-height:40px;padding:0}
#screen{justify-content:safe center}

/* Immediate wrong-choice feedback, with unresolved choices kept bright. */
.card.tried img{filter:brightness(.30)}
.card.tried::after,.photos.resolved .card:not(.correct)::after{display:none}

.rule-medals .circle{font-size:30px;letter-spacing:-1px}
.rule-medals .circle sup{font-size:.55em}
/* Current approved Home, popup and immediate-choice behavior. */
.close{color:var(--lime)}.home-actions{width:100%;max-width:300px;display:grid;gap:20px}.home-actions .action{border:2px solid var(--lime);border-radius:10px;font-size:25px;padding:20px;display:flex;align-items:center;justify-content:center;gap:16px}.action-icon{display:block;font-size:27px;line-height:1.1;color:var(--lime)}.home-actions .action-icon{display:inline}.popup-actions{display:flex;justify-content:center;gap:5px}.popup-actions .action{font-size:15px;min-width:0;padding:6px 2px}.popup-actions .action-icon{margin-bottom:5px}.single-rank{font-size:32px;letter-spacing:-1px}.missed{font-size:20px;font-weight:900;color:#bbb}.missed>span{display:block;font-size:50px;margin-bottom:10px}.card:not(.tried):not(.correct) img{filter:none}.photos.resolved .card:not(.tried):not(.correct) img{filter:none}.card.tried img{filter:brightness(.30)}.wrong-mark{position:absolute;z-index:4;top:9px;right:9px;color:#fff;font-size:29px;line-height:1;text-shadow:0 1px 4px #000;font-weight:900}.choice-fact{position:absolute;z-index:3;left:8px;right:8px;top:50%;transform:translateY(-50%);color:var(--lime);font-weight:900;font-size:clamp(15px,4.5vw,22px);line-height:1.16;text-align:center}.card.correct::after{display:block!important;border:3px solid var(--lime)}.stats-toggle{display:grid;grid-template-columns:1fr 1fr;border:1px solid #566037;border-radius:7px;overflow:hidden}.stats-toggle button{border:0;background:white;color:#000;padding:10px;font-size:16px;font-weight:900}.stats-toggle button[aria-pressed=true]{background:var(--lime);color:#11151c}.trivia-menu{text-align:left}.trivia-menu>.action{text-align:left;display:flex;align-items:center;gap:16px;border-bottom:1px solid #353b43;color:white}.filter-section{border-bottom:1px solid #353b43}.filter-section summary{list-style:none;display:flex;gap:16px;align-items:center;padding:13px 12px;font-size:20px;font-weight:900;cursor:pointer}.filter-section summary::-webkit-details-marker{display:none}.filter-section summary>span:first-child{font-size:27px;width:27px;text-align:center}.expand{margin-left:auto}.filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:4px 0 12px}.filter-grid button{border:1px solid #3e4630;border-radius:5px;min-height:44px;background:#1b2128;color:white;font-size:14px;font-weight:700;padding:7px 5px}.filter-grid button:active{border-color:var(--lime)}.selection-popup h2{font-size:25px}.review-item{gap:8px;padding:0 0 16px}.review-item h3{font-size:16px;text-align:center}.review-photo{padding:0;background:none;border:0;color:white;text-align:center;font-family:Arial;font-weight:700}.review-photo>span{display:block;padding:5px 1px;font-size:13px}.answer-photo img{outline:3px solid var(--lime);outline-offset:-3px}.enlarged-photo{display:block;width:100%;max-height:53dvh;object-fit:contain}.photo-fact{font-size:15px;line-height:1.4}.detail-back{position:absolute;top:12px;left:14px;border:0;background:none;color:var(--lime);font-size:14px;min-height:24px}.photo-popup #popup-content{gap:12px}.photo-popup h2{font-size:23px}.details-popup #popup-content{gap:16px}.filter-status{margin-top:12px}.info-popup #popup-content{gap:18px}.stats-pair .big-number{font-size:46px}.bottom-nav{padding-bottom:0}body.panel .bottom-nav{height:calc(65px + env(safe-area-inset-bottom,0px))}dialog{max-height:calc(100dvh - 110px);padding:40px 20px 22px}#screen{padding-bottom:100px}.medal.rank-3 .circle{background:#9c9fa4;border-color:#fff}
.photos.resolved .card:not(.tried) .name{color:#fff;text-shadow:0 2px 4px #000,0 0 3px #000}

/* Surgical restoration: scoped presentation only; baseline gameplay unchanged. */
body.panel{background:#000}
body.panel .bottom-nav{background:#000}
body.panel .bottom-nav [data-nav="1"]{display:none}
.home-actions,.stats-toggle{display:flex;justify-content:center;align-items:center;gap:16px;width:100%;max-width:300px;border:0;border-radius:0;overflow:visible;margin:0 auto}
.home-actions .action,.stats-toggle button{flex:1;min-width:0;min-height:48px;border:0;border-radius:10px;padding:10px 12px;font:900 20px/1.2 Arial,Helvetica,sans-serif;text-transform:lowercase;color:#000;background:#fff;display:flex;align-items:center;justify-content:center}
.home-actions .action[data-action="unlimited"]{background:var(--lime);color:#000}
.stats-toggle button[aria-pressed="true"]{color:#000}
.stats-toggle button[aria-pressed="false"]{background:#fff;color:#000}.stats-toggle button[aria-pressed="true"]{background:var(--lime);color:#000}
.stats-popup #popup-content{gap:22px}
.filter-grid button[data-field="filter_decades"]:last-child{grid-column:1/-1;width:calc((100% - 5px)/2);justify-self:center}
.photo-popup .enlarged-photo{aspect-ratio:1;height:auto;object-fit:contain}
body.panel .bottom-nav{grid-template-columns:repeat(2,1fr)}
.stats-popup .close:focus-visible,.info-popup .close:focus-visible,.selection-popup .close:focus-visible,.photo-popup .close:focus-visible{outline:0;text-decoration:underline;text-underline-offset:4px}
#screen:has(.home-actions){display:grid;grid-template-rows:minmax(0,1fr) auto minmax(0,1fr);justify-items:center;gap:0}
#screen:has(.home-actions)>.brand{grid-row:1;align-self:end;margin-bottom:12px}
#screen>.home-actions{grid-row:2}
#screen:has(.home-actions){grid-template-columns:minmax(0,1fr);justify-content:stretch}

/* Exact approved PNG, intrinsic aspect ratio and unmodified pixels. */
#screen>.brand{height:auto}
.brand-logo{width:100%;max-width:440px;height:auto;aspect-ratio:3;object-fit:contain}
header img.logo{object-fit:contain}

/* Final restoration — November 4, 2026. Shared geometry across modes and dialogs. */
:root{--control-size:20px;--popup-top:98px;--footer-height:64px;--logo-width:min(360px,94vw)}
html,body,body.panel{background:#000}
header .logo,#screen .brand{display:none!important}
body>.fixed-brand{position:fixed;top:max(0px,env(safe-area-inset-top,0px));left:50%;transform:translateX(-50%);width:var(--logo-width);height:100px;pointer-events:none;z-index:6;mix-blend-mode:screen}
.fixed-brand img{display:block;width:100%;height:100%;object-fit:contain}
body:has(dialog[open])>.fixed-brand,body:has(dialog[open]) .bottom-nav{opacity:.6}
.app{grid-template-rows:100px 46px auto 44px minmax(0,1fr) var(--footer-height);row-gap:5px;padding:0 0 env(safe-area-inset-bottom,0px)}
header{height:100px!important}.question{height:46px;min-height:46px}
.qtext{font-weight:900}.meta{display:none!important}
.next-row{width:var(--grid-width,100%);justify-self:center;display:grid;grid-template-columns:1fr 1fr;gap:4px;grid-row:4;align-items:center;height:44px}
.game-progress,.next-row .next-button{font:900 var(--control-size)/1.14 Arial,Helvetica,sans-serif;letter-spacing:-.35px;color:white;text-align:center}
.next-row .next-button{width:100%;min-width:0;padding:0;gap:8px;justify-self:stretch;height:44px;text-transform:lowercase}
.next-row .next-button svg{width:23px;height:23px}.game-progress .lime{color:white}
.card::before{content:'';position:absolute;inset:-12px;background-image:var(--photo);background-size:cover;background-position:center;filter:blur(12px);z-index:0;pointer-events:none}
.card img{z-index:1;object-fit:contain!important;object-position:center!important}
.card.tried::before{filter:blur(12px) brightness(.3)}
.card .name,.card.tried .name,.photos.resolved .card .name{display:block;color:white;text-shadow:0 2px 4px #000,0 0 3px #000;z-index:3}
.wrong-mark{top:50%;left:50%;right:auto;transform:translate(-50%,-50%);font:400 42px/1 Arial;color:#fff;text-shadow:0 1px 4px #000}
.choice-fact{display:none}.mark{background:none;padding:0}.mark .ui-icon{width:100%;height:100%}
.bottom-nav,body.panel .bottom-nav{position:fixed;left:50%;transform:translateX(-50%);bottom:env(safe-area-inset-bottom,0px);height:64px;width:100%;max-width:500px;background:#000;grid-template-columns:repeat(3,1fr);padding:0 16px;z-index:5}
body.panel .bottom-nav [data-nav="1"]{display:flex;visibility:hidden}
.nav-item{font-size:12px;color:var(--lime);gap:5px;min-height:48px}
.ui-icon{display:block;width:26px;height:26px;flex:none;object-fit:contain}.nav-item .ui-icon{width:28px;height:28px}
#screen:has(.home-actions){position:fixed;inset:100px 0 84px;height:auto;max-width:500px;padding:0 24px;display:flex;justify-content:center;align-items:center;overflow:hidden}
.home-actions,.stats-toggle{max-width:300px;gap:12px}
.home-actions .action,.stats-toggle button{font:900 20px/1.2 Arial,Helvetica,sans-serif;border-radius:18px;min-height:48px;padding:10px 12px}
dialog,dialog.info-popup{position:fixed;inset:var(--popup-top) 0 auto;margin:0 auto;box-sizing:border-box;width:calc(100% - 32px);max-width:380px;height:calc(100dvh - var(--popup-top) - 84px - env(safe-area-inset-bottom,0px));max-height:none;overflow:hidden;padding:42px 20px 20px;border:1px solid var(--lime);border-radius:15px;background:#11151c;color:white;text-align:center}
dialog::backdrop{background:#0009}
#popup-content{height:100%;min-height:0;display:flex;flex-direction:column;gap:20px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
#popup-content>h2{flex:none;text-align:center;font:900 22px/1.15 Arial,Helvetica,sans-serif;letter-spacing:-.35px;color:var(--lime);text-transform:lowercase;margin:0}
.close{position:absolute;right:8px;top:7px;width:30px;min-width:30px;height:30px;color:white;font:400 23px/1 Arial;border:0;background:none;padding:0;text-decoration:none!important}
.stats-popup #popup-content{gap:24px}.stats-popup .stats-toggle{flex:none}.stats-popup .medals{margin:auto 0 40px}
.medals{flex:none}.popup-actions{margin-top:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;padding-top:10px}
.popup-actions .action{font-size:14px;font-weight:700;color:white;padding:6px 0;text-transform:lowercase;min-height:56px}
.action-icon{display:flex;align-items:center;justify-content:center;height:28px;margin:0 0 7px;font-size:26px}
.popup-actions .ui-icon{width:26px;height:26px}
.daily-popup .medals,.unlimited-popup .medals{margin:auto 0}.missed-answer{margin:auto 0;display:grid;gap:18px}.missed-answer h3{font-size:25px}.missed-answer p{font-size:15px;line-height:1.45}
.info-popup #popup-content{gap:26px}.rule-rows{gap:23px;text-align:left}.rule-rows p{display:flex;gap:15px;align-items:center;font-size:15px;line-height:1.45}.rule-rows .ui-icon{width:27px;height:27px}.rule-rows>p>span:first-child{width:auto;font-size:15px;text-align:left}
.trivia-menu{flex:none}.trivia-menu>.action{font-size:20px;font-weight:900;gap:16px}.trivia-menu>.action .action-icon{margin:0;width:26px}
.filter-section summary{font-size:20px;padding:14px 12px;gap:16px}.filter-section summary .ui-icon{width:26px;height:26px}.filter-section summary>span:first-child{width:auto;font-size:20px}.filter-grid{gap:6px}.filter-grid button{text-transform:none}
.review-item{flex:none;border-bottom:1px solid #39404b}.review-photos{gap:8px}.review-photo img{object-fit:contain;background:#080a0d}.review-photo>span{font-size:13px}.review-item h3{font-size:16px;line-height:1.3}
.photo-popup .enlarged-photo{flex:none;width:100%;height:auto;max-height:none;aspect-ratio:1;object-fit:contain;background:#080a0d}.photo-fact{flex:none;font-size:15px;line-height:1.4}.source-links{display:flex;justify-content:center;gap:24px;flex-wrap:wrap}.source-links a{font-size:13px;text-transform:lowercase}
.switch-popup .home-actions{margin:auto}.share-popup textarea{flex:none}
@media(max-height:700px){.app{row-gap:3px}.rule-rows{gap:17px}.rule-rows p{font-size:14px}.info-popup #popup-content{gap:20px}.stats-popup .medals{margin-bottom:28px}.circle{width:65px;height:65px;font-size:43px}}
/* The standard close control never acquires a visible box or underline. */
.close:focus-visible{outline:0;box-shadow:none;text-decoration:none!important}

/* Final launch preparation: contained medal ordinals and compact primary choices. */
.unlimited-popup .single-rank{display:flex;align-items:center;justify-content:center;gap:0;white-space:nowrap;font-size:32px;letter-spacing:-1px}
.unlimited-popup .single-rank sup{display:block;align-self:center;transform:translateY(-7px);font-size:.55em;line-height:1;letter-spacing:0}
.selection-popup #popup-content{gap:12px}.selection-popup .filter-section summary{padding:9px 10px}.selection-popup .trivia-menu>.action{min-height:42px;padding:8px 12px}.selection-popup .filter-section summary .ui-icon{width:24px;height:24px}
.info-popup .rule-rows{flex:1;display:flex;flex-direction:column;justify-content:space-evenly;gap:clamp(20px,4dvh,34px);margin:0}.info-popup .rule-rows p{font-size:15px;line-height:1.4}.info-popup #popup-content{gap:22px}
@media(max-height:700px){.info-popup .rule-rows{gap:19px}.info-popup .rule-rows p{font-size:12.8px}.info-popup #popup-content{gap:18px}.unlimited-popup .single-rank{font-size:29px}}

/* Keep the latest compact Info icon sizes and box dimensions. */
dialog.info-popup{padding:26px 18px 16px;overflow:hidden}dialog.info-popup .rule-rows .ui-icon{width:24px;height:24px}dialog.info-popup #popup-content{overflow:hidden}
@media(max-height:740px){dialog.info-popup{padding:20px 16px 12px}dialog.info-popup .rule-rows p{font-size:12.8px;line-height:1.35}dialog.info-popup .rule-rows{gap:14px}}

/* Photo-focused Details: one question at a time in Daily and Unlimited. */
.details-popup #popup-content{overflow:hidden;gap:10px}
.details-popup .review-item{width:100%;flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;gap:12px;border:0;padding:0}
.details-popup .review-item h3{flex:none;align-self:flex-start;min-height:30px;display:flex;align-items:center;justify-content:center;width:calc(100% - 34px);font-size:13px;line-height:1.3;color:#fff;text-align:center;font-weight:900;margin:0}
.details-popup .review-photos{flex:none;gap:6px;margin:0 auto;grid-template-columns:repeat(2,minmax(0,1fr))}
.details-popup .review-photo{position:relative;aspect-ratio:1;overflow:hidden}.details-popup .review-photo img{aspect-ratio:1;width:100%;height:100%;object-fit:contain}
.details-popup .review-photo>span{position:absolute;left:0;right:0;bottom:0;padding:18px 4px 5px;background:linear-gradient(transparent,rgba(0,0,0,.85));color:#fff;text-shadow:0 1px 3px #000;line-height:1.15;font-size:var(--details-label-size,13px);overflow-wrap:anywhere}.details-popup .answer-photo{outline:3px solid var(--lime);outline-offset:-3px}.details-popup .answer-photo img{outline:0}
.details-pager{flex:none;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;font:700 12px/1.2 Arial;color:white;min-height:32px}
.details-pager button{display:flex;gap:6px;align-items:center;justify-content:center;border:0;background:none;color:white;font:700 12px/1.2 Arial;padding:4px 0;min-height:32px}
.details-pager button:disabled{opacity:.3}.details-pager .ui-icon{width:20px;height:20px}.details-pager [data-action="details-prev"] .ui-icon{transform:rotate(180deg)}
dialog.details-popup{padding:14px 12px 12px}

/* Separate review preview: fixed 18px questions, responsive photo budget. */
body:not(.panel) .app{--game-header:clamp(70px,11.5dvh,76px);--question-height:42px;grid-template-rows:var(--game-header) var(--question-height) auto 44px minmax(0,1fr) 52px;row-gap:4px}
body:not(.panel) .app>header{height:var(--game-header)!important}
body:not(.panel)>.fixed-brand{height:82px;width:var(--logo-width)}
body:not(.panel) .bottom-nav{height:52px}
body:not(.panel) .nav-item .ui-icon{width:24px;height:24px}
body:not(.panel) .question{height:var(--question-height);min-height:0}
body:not(.panel) .game-progress,body:not(.panel) .next-row .next-button{font-size:18px}
/* Keep geometry inside the viewport even before resize JavaScript runs. */
body:not(.panel) .app{grid-template-columns:minmax(0,1fr)}
body:not(.panel) .photos{width:min(var(--grid-width),calc(100% - 4px),calc(100dvh - var(--game-header) - var(--question-height) - 117px - env(safe-area-inset-bottom,0px)));height:auto;aspect-ratio:1;grid-template-rows:repeat(2,minmax(0,1fr));max-width:100%;min-width:0}
body:not(.panel) .next-row{width:min(var(--grid-width),calc(100% - 4px));min-width:0;max-width:100%}

/* Photo-focus candidate: no neutral outline; correct-answer emphasis stays inward. */
.photos.resolved .card.correct::after{border-width:4px!important}
.details-popup .answer-photo{outline-width:4px;outline-offset:-4px}
