/* WildWhat: one responsive stylesheet, no layered thumbnail overrides. */
:root{color-scheme:dark;--bg:#1B1C1E;--panel:#191B1D;--text:#F3F5F2;--muted:#B0B6B6;--line:#353A3C;--green:#76DA96;--red:#F17B83;--blue:#78C8F9;--orange:#FFB96A;--ivory:#F3F0DF;--heading:"Manrope",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--body:var(--heading);--column-gap:10px;--screen-h:100dvh;--frame-w:280px}
*{box-sizing:border-box}html{background:var(--bg);-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.5 var(--body);min-height:100svh}button,input,textarea{font:inherit}button{color:inherit;cursor:pointer;border:0}button,input,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}a{color:var(--green)}button:focus-visible,a:focus-visible,[role=button]:focus-visible{outline:2px solid var(--green);outline-offset:3px}button:hover:not(:disabled){filter:brightness(1.08)}svg.icon{width:22px;height:22px;display:block;flex:none}button .icon{pointer-events:none}[hidden]{display:none!important}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.skip-link{position:fixed;left:12px;top:-100px;z-index:99;padding:10px 15px;background:var(--green);color:#122318;border-radius:8px}.skip-link:focus{top:8px}
/* Shared header. */
.header{width:min(1120px,100%);margin:0 auto;padding:12px 26px 0;flex:none}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px}.brand{background:none;padding:0;display:flex;align-items:center;gap:9px;font:800 31px/1.1 var(--heading);letter-spacing:-1.1px;white-space:nowrap}.brand img{width:43px;height:43px}.brand-green{color:var(--green)}.header-tools{display:flex;align-items:center;gap:8px}.edition{font-size:12px;font-weight:650;letter-spacing:1px;color:var(--muted)}.edition:empty{display:none}.icon-button{height:42px;width:42px;display:grid;place-items:center;background:none;color:#CDD2D1;border-radius:10px}.icon-button:hover{background:#292D2E}.nav-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);height:47px}.nav-row nav{display:flex;gap:28px;height:100%;align-items:stretch}.nav-row nav button{background:none;position:relative;padding:8px 0 11px;font-size:14px;font-weight:650;color:#B5BCBB}.nav-row nav button[aria-current]{color:var(--green)}.nav-row nav button[aria-current]:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:var(--green);border-radius:2px}.streak{background:none;display:flex;align-items:center;gap:7px;min-height:40px;padding:0}.streak-flame{width:26px!important;height:31px!important;color:var(--green)}.streak strong{font-size:18px;font-weight:800}.streak span{font-size:12px;color:var(--muted)}
/* No forced page scrolling during play; accessible zoom can reflow naturally. */
body[data-view=play]{height:var(--screen-h);min-height:var(--screen-h);display:flex;flex-direction:column}.shell{width:min(1080px,100%);padding:20px 26px;margin:0 auto;min-width:0}body[data-view=play] .shell{flex:1;min-height:0;padding-top:15px;padding-bottom:15px;display:flex;flex-direction:column;justify-content:center;gap:10px}.play-layout{display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);gap:28px;align-items:center;min-width:0}.hero{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0}.mouth-wrap{position:relative;width:min(100%,var(--frame-w));aspect-ratio:5/3;flex:none}.mouth{width:100%;height:100%;display:block;overflow:visible}.teeth{fill:var(--ivory)}.jaw-top,.jaw-bottom{will-change:transform}.hero h1{font:800 28px/1.16 var(--heading);letter-spacing:-.6px;text-align:center;margin:12px 0 0;min-height:34px;max-width:100%;text-wrap:balance}.hero-caption{display:none}.game-panel{min-width:0}.play-top{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:12px;line-height:20px;margin-bottom:10px}.play-top strong{color:var(--text)}.round-pips{display:inline-flex;gap:7px;align-items:center}.pip{height:6px;width:6px;border:1px solid #6D797B;border-radius:50%}.pip.used{background:#3C7851;border-color:#3C7851}.pip.current{background:var(--green);border-color:var(--green)}#guess-form{margin:0}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--column-gap)}.category{position:relative;--accent:var(--green);min-width:0;padding:15px 10px 7px;border:1px solid #363D3E;border-top:2px solid var(--accent);border-radius:14px;background:#1B1D1F;box-shadow:inset 2px 3px 7px #0D10104D}.category[data-key=weight],[data-key=weight]{--accent:var(--red)}.category[data-key=lifespan],[data-key=lifespan]{--accent:var(--blue)}[data-key=population]{--accent:var(--green)}.category-head{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:59px}.category-icon{color:var(--accent,var(--green));display:inline-flex;flex:none}.category-icon .icon{width:25px;height:25px}.category h2{font:750 15px/1.15 var(--heading);text-align:center;color:var(--accent);margin:0;white-space:normal}.mini-info{position:absolute;right:2px;top:4px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:transparent;color:#B8C6BD}.mini-info .icon{width:14px;height:14px}.unit-caption{display:block;text-align:center;font-size:11px;line-height:16px;color:var(--muted);margin:3px 0 9px}.number-entry{border:1px solid #4B5355;background:#131618;border-radius:9px;box-shadow:inset 0 2px 5px #0004;min-width:0;overflow:hidden}.number-entry:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 15%,transparent)}.number-entry input{width:100%;min-width:0;background:transparent;color:var(--text);border:0;border-radius:9px;outline:none;display:block;height:51px;text-align:center;font-size:23px;font-weight:650;padding:4px 5px;font-variant-numeric:tabular-nums}.number-entry input::placeholder{color:#778183}.number-entry input.wide{font-size:17px}.number-entry input.extra-wide{font-size:16px}.helper-slot{display:block;height:19px;min-height:19px;max-height:19px;line-height:19px;font-size:11px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#BBD3C3}.locked-entry{height:53px;border:1px solid #4A805B;border-radius:9px;background:#1D2B22;display:flex;align-items:center;justify-content:center;gap:6px;color:var(--green);font-size:19px;font-weight:700;white-space:nowrap}.locked-entry strong{font-size:inherit;min-width:0}.locked-entry span{font-size:19px}.category .latest{display:none}.is-solved{border-color:#426E50}.field-error{font-size:11px;color:#FFADB5;margin:3px 0}.number-entry.invalid{border-color:var(--red)}.error-banner{margin:5px 0;color:#FFB1B8;font-size:12px}.storage-warning{color:#FFB1B8;font-size:12px;margin:4px 0}
/* History columns match the input columns exactly. Labels remain for screen readers. */
.live-history{margin-top:15px;min-width:0}.live-history-heading{margin-bottom:7px}.live-history-heading h2{font-size:13px;line-height:18px;font-weight:650;color:#CCD2CF;margin:0}.live-guess-table{display:block;width:100%;margin:0;border:0;font-variant-numeric:tabular-nums}.live-guess-table tbody{display:grid;gap:6px;width:100%}.live-guess-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--column-gap);margin:0}.live-guess-table td{min-width:0;display:block;padding:0}.guess-cell{display:flex;align-items:center;justify-content:space-between;gap:5px;min-width:0;border:1px solid var(--tile-border);border-radius:7px;background:#1A1C1E;padding:7px 10px;min-height:39px;cursor:pointer}.guess-cell[data-level=far],.guess-explanation[data-level=far]{--tile-border:#9F5965;--tile-accent:#F18D99}.guess-cell[data-level=warm],.guess-explanation[data-level=warm]{--tile-border:#A57D47;--tile-accent:#F0BF7A}.guess-cell[data-level=close],.guess-explanation[data-level=close]{--tile-border:#507C99;--tile-accent:#8AC8EE}.guess-cell[data-level=hit],.guess-explanation[data-level=hit]{--tile-border:#4D865F;--tile-accent:#83D5A0}.guess-cell strong{font-size:16px;font-weight:700;line-height:20px;letter-spacing:-.25px;color:#EFF3EF;min-width:0;white-space:nowrap}.guess-cell strong.long-number{font-size:13px}.guess-cell .direction{display:flex;align-items:center;justify-content:center;flex:none;color:var(--tile-accent)}.guess-arrow{width:20px;height:20px;display:block}.guess-cell.carried strong{color:#9FC8AD}.guess-cell.carried{opacity:.86}.guess-cell:hover{background:#222629}.submit-row{margin-top:14px;text-align:center}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--green);border:1px solid transparent;color:#102219;border-radius:25px;min-height:47px;padding:10px 22px;font-size:15px;font-weight:800;line-height:1.2}.button .icon{width:21px;height:21px}.button.secondary{color:var(--text);background:none;border-color:#596160}.button.wide{width:100%}.submit-main{width:100%;font-size:17px;min-height:49px}.submit-main:disabled{background:#304E3C;color:#B2C6B8;border-color:#3F614C}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:none;color:var(--muted);padding:6px 0;font-size:12px;min-height:30px}.text-button .icon{width:17px;height:17px}.game-tools{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:16px}.practice-bar{display:flex;align-items:center;justify-content:space-between;flex:none;min-height:28px;margin:0}.practice-bar .text-button{font-size:12px;min-height:28px;padding:1px 0}.clue-dock{width:100%;flex:none;min-height:43px;border-top:1px solid var(--line);padding:10px 18px calc(10px + env(safe-area-inset-bottom,0px));background:var(--bg)}.legend{display:flex;justify-content:center;align-items:center;gap:30px;font-size:12px;color:#C9CECC;line-height:16px}.legend>span{display:flex;align-items:center;gap:7px;white-space:nowrap}.legend i{display:block;width:10px;height:10px;border-radius:3px;flex:none}.far{background:var(--red)}.warm{background:var(--orange)}.close{background:var(--blue)}.hit{background:var(--green)}
/* Instructions and standard dialogs. */
.dialog{color:var(--text);background:#202325;border:1px solid #495153;border-radius:20px;padding:26px;width:min(560px,calc(100vw - 28px));max-height:calc(var(--screen-h) - 24px);overflow:auto;box-shadow:0 22px 80px #0008;overscroll-behavior:contain}.dialog::backdrop{background:#080B0CC9;backdrop-filter:blur(5px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.dialog-header h2{font:800 27px/1.15 var(--heading);letter-spacing:-.7px;margin:0}.dialog-header .icon-button{margin:-8px -8px -8px 0;flex:none}.dialog p{font-size:14px;line-height:1.65;color:#BCC5C2}.dialog h3{font-size:16px;color:#F0F3F0}.dialog p strong{color:#F2F4F0}.dialog .button.wide{margin-top:16px}.help-dialog{width:min(850px,calc(100vw - 28px));padding:28px 30px}.help-dialog .dialog-header h2{font-size:34px}.simple-howto-lead{font-size:17px!important;line-height:1.6!important;margin:13px 0 22px!important}.simple-howto-lead strong[data-key]{color:var(--accent)}.simple-howto-section{padding:19px 0 0;margin:19px 0 0;border-top:1px solid var(--line)}.simple-howto-section h3{font-size:16px;line-height:1.45;margin:0 0 13px;font-weight:700}.simple-howto-colours .legend{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.simple-howto-colours .legend>span{padding:14px 10px;border:1px solid #3B4242;border-radius:10px;background:#1A1D1E;font-size:13px;font-weight:600;gap:9px;white-space:normal;line-height:19px;min-height:68px}.simple-howto-colours .legend i{width:25px;height:30px;border-radius:6px}.simple-howto-arrows{display:grid;grid-template-columns:1fr 1fr;gap:12px}.simple-howto-arrows>div{display:flex;align-items:center;justify-content:center;gap:18px;border:1px solid #3B4242;border-radius:10px;min-height:74px;background:#1A1D1E;font-size:15px;font-weight:700}.simple-howto-arrows b{font:500 39px/1 var(--body);color:#F3F5F2}.simple-howto .button{margin-top:22px!important;min-height:48px}.menu-list{display:grid;gap:3px}.menu-list button{text-align:left;background:none;border-bottom:1px solid #38413B;min-height:44px;padding:10px 8px;border-radius:7px;font-size:14px}.menu-list button:hover{background:#28362D}.context-callout{padding:15px;border:1px solid #45644D;border-radius:10px;color:#BADBC3;background:#1D2C23}.tiny{font-size:12px!important}.confirm-actions{display:flex;gap:10px;margin-top:18px}.confirm-actions .button{flex:1;font-size:13px;padding:10px 13px}.dialog textarea{width:100%;min-height:210px;resize:vertical;background:#141917;color:var(--text);border:1px solid #526359;border-radius:10px;padding:12px;font:13px/1.6 monospace}.toast{position:fixed;bottom:60px;left:50%;transform:translateX(-50%);z-index:50;background:#293E2F;color:#E2F5E7;border:1px solid #567562;border-radius:10px;box-shadow:0 7px 30px #0008;padding:11px 15px;max-width:calc(100% - 30px);font-size:13px;width:max-content}.guess-explanation>strong{display:block;font-size:25px;color:var(--tile-accent)}
/* Results, stats and secondary screens. */
.result-content{min-width:0;text-align:center}.result-heading{margin:0 0 16px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.5px;color:var(--muted);margin:0}.result-heading h2{margin:6px 0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px}.result-score{color:var(--green);font-size:62px;line-height:1;font-weight:800;letter-spacing:-2px}.result-heading h2 small{font-size:13px;line-height:18px;font-weight:500;color:var(--muted)}.result-heading p{font-size:12px;color:var(--muted);margin:8px 0}.small-divider{margin:0 6px}.answer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.answer-card{min-width:0;border:1px solid #3D4741;background:#181D1A;border-radius:12px;padding:15px 8px;display:flex;align-items:center;justify-content:flex-start;flex-direction:column;gap:7px}.answer-card h3{font-size:13px;line-height:17px;min-height:34px;display:flex;align-items:center;margin:0;color:var(--accent)}.answer-card>strong{font-size:17px;line-height:1.2;overflow-wrap:anywhere}.answer-card>span,.answer-card small{font-size:11px;color:var(--muted)}.result-links{display:flex;justify-content:center;gap:18px;margin:9px 0}.result-actions{display:flex;justify-content:center;gap:10px;margin-top:8px}.result-actions .button{flex:1;min-width:0;font-size:13px;padding:9px 12px}.source-details{text-align:left}.source-details summary{display:flex;justify-content:space-between;gap:12px;color:var(--green);font-size:13px;cursor:pointer}.source-item{border-top:1px solid var(--line);padding:10px 0}.source-item a{overflow-wrap:anywhere}.stats-note,.archive-note,.source-item p{font-size:12px;line-height:1.6;color:var(--muted)}.view-heading h1{font-size:32px;line-height:1.2;margin:20px 0 25px;font-weight:800}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.stat{padding:25px 12px;border:1px solid #3F4A41;border-radius:13px;background:#191E1A;text-align:center}.stat strong{display:block;font-size:36px;color:var(--green);font-weight:800;margin-bottom:7px}.stat span{font-size:13px;color:#CDD4CD}.recent-list{margin-top:27px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}.section-heading h2{font-size:17px;margin:0}.section-heading>span{font-size:11px;color:var(--muted)}.recent-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 0;border-top:1px solid var(--line);font-size:14px}.recent-row small{display:block;margin-top:4px;color:var(--muted);font-size:11px}.recent-row>span{font-size:12px;color:var(--green);white-space:nowrap}.picker-list{display:grid;gap:12px}.animal-tile{display:flex;align-items:center;gap:16px;padding:10px 15px 10px 10px;background:#181D1A;border:1px solid #3A443E;border-radius:12px;text-align:left}.tile-art{width:100px;height:70px;display:block;border-radius:8px;overflow:hidden;flex:none}.tile-art img{width:100%;height:100%;object-fit:cover;display:block}.tile-info{flex:1}.tile-info strong{display:block;font-size:18px;font-weight:750}.tile-info small{display:block;font-size:11px;color:var(--muted)}.archive-list{display:grid;grid-template-columns:1fr 1fr;gap:16px}.archive-card{display:flex;align-items:center;gap:18px;border:1px solid #3E4B42;background:#191E1A;border-radius:13px;text-align:left;padding:22px}.day-number{display:flex;flex-direction:column;align-items:center;color:var(--green);min-width:39px}.day-number strong{font-size:34px;line-height:1}.day-number small{font-size:12px}.archive-copy{flex:1}.archive-copy h2{font-size:19px;margin:0}.archive-copy p{font-size:12px;color:var(--muted)}.archive-status{font-size:12px}.history{margin:0}.guess-table{width:100%;table-layout:fixed;border-spacing:4px}.guess-table th{font-size:12px;font-weight:600;color:var(--muted)}.guess-table th:first-child{width:22px}.guess-table td{padding:0}.table-feedback{border:1px solid var(--feedback,#5A916A);background:#1B1D1F;border-radius:6px;padding:7px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:3px;min-height:48px}.table-feedback strong{font-size:13px;overflow-wrap:anywhere}.table-feedback .direction{font-size:19px;color:var(--feedback)}.table-feedback small{grid-column:1/-1;font-size:10px;color:var(--muted)}.feedback[data-level=far]{--feedback:var(--red)}.feedback[data-level=warm]{--feedback:var(--orange)}.feedback[data-level=close]{--feedback:var(--blue)}.feedback[data-level=hit]{--feedback:var(--green)}
@media(max-width:899px){
 .header{padding:8px 18px 0}.header-inner{min-height:50px}.brand{font-size:28px;gap:7px}.brand img{width:38px;height:38px}.header-tools{gap:2px}.icon-button{width:36px;height:38px}.nav-row{height:43px}.nav-row nav{gap:24px}.streak span{display:none}.streak-flame{width:24px!important;height:28px!important}.shell{padding:14px 18px}.play-layout{grid-template-columns:1fr;gap:14px;max-width:560px;width:100%;margin:0 auto}.hero h1{font-size:25px;line-height:28px;margin:8px 0 0;min-height:28px}.game-panel .category{padding:12px 8px 5px}.category-head{min-height:49px;gap:3px}.category-icon .icon{width:20px;height:20px}.category h2{font-size:14px}.unit-caption{margin:4px 0 7px}.number-entry input{height:48px;font-size:22px}.locked-entry{height:50px;font-size:17px}.play-top{margin-bottom:8px}.live-history{margin-top:11px}.guess-cell{min-height:34px;padding:5px 8px}.guess-cell strong{font-size:15px}.guess-cell strong.long-number{font-size:12px}.guess-arrow{width:19px;height:19px}.live-guess-table tbody{gap:5px}.live-history-heading{margin-bottom:5px}.submit-row{margin-top:11px}.submit-main{min-height:47px;font-size:16px}.clue-dock{padding-left:14px;padding-right:14px;min-height:43px}.clue-dock .legend{gap:10px;justify-content:space-between;font-size:11px}.clue-dock .legend>span{gap:5px}.clue-dock .legend i{width:9px;height:9px}.stats-grid{grid-template-columns:1fr 1fr}.archive-list{grid-template-columns:1fr}.result-score{font-size:49px}.answer-card{padding:11px 6px;gap:5px}.answer-card>strong{font-size:15px}
}
@media(max-width:619px){
 :root{--column-gap:8px}.header{padding:7px 14px 0}.brand{font-size:27px;letter-spacing:-.8px}.brand img{width:35px;height:35px}.header-inner{min-height:47px}.edition{font-size:11px;letter-spacing:0}.header-tools{gap:1px}.nav-row{height:43px}.nav-row nav button{font-size:14px}.streak strong{font-size:17px}.shell{padding:12px 14px}body[data-view=play] .shell{padding:10px 14px;gap:5px;justify-content:center}.play-layout{gap:10px}.category h2{font-size:14px;line-height:17px}.category-head{min-height:43px;gap:2px}.category-icon{display:none}.category-head h2{padding:0 8px;min-height:34px;display:flex;align-items:center;justify-content:center}.mini-info{right:1px;top:3px;width:23px;height:23px}.mini-info .icon{width:12px;height:12px}.unit-caption{font-size:11px;margin:0 0 6px}.category{border-radius:12px}.number-entry input{height:46px}.locked-entry{height:48px}.helper-slot{height:16px;min-height:16px;max-height:16px;line-height:16px;font-size:10px}.game-panel .category{padding:8px 6px 3px}.guess-cell{padding:4px 6px;min-height:33px}.guess-cell strong{font-size:14px}.guess-cell strong.long-number{font-size:11px}.guess-arrow{width:18px;height:18px}.clue-dock .legend{font-size:10px;gap:5px}.clue-dock{min-height:40px;padding:9px 12px calc(9px + env(safe-area-inset-bottom,0px))}.help-dialog{padding:21px 20px;border-radius:17px}.help-dialog .dialog-header h2{font-size:28px}.simple-howto-lead{font-size:15px!important;line-height:1.6!important;margin:12px 0 16px!important}.simple-howto-section{padding-top:15px;margin-top:15px}.simple-howto-section h3{font-size:14px;line-height:1.4;margin-bottom:12px}.simple-howto-colours .legend{grid-template-columns:1fr 1fr;gap:8px}.simple-howto-colours .legend>span{min-height:54px;padding:10px;font-size:13px}.simple-howto-colours .legend i{width:22px;height:25px}.simple-howto-arrows{gap:8px}.simple-howto-arrows>div{font-size:12px;gap:9px;min-height:58px}.simple-howto-arrows b{font-size:32px}.simple-howto .button{margin-top:18px!important;min-height:45px}.dialog-header h2{font-size:23px}.dialog{padding:20px;max-height:calc(var(--screen-h) - 18px)}.stat{padding:20px 9px}.stat span{font-size:12px}.stat strong{font-size:31px}.result-heading{margin-bottom:11px}.result-heading h2 small{font-size:11px}.result-heading p{font-size:11px}.result-score{font-size:46px}.answer-card h3{font-size:11px;line-height:14px;min-height:28px}.answer-card>strong{font-size:14px}.result-actions .button{font-size:12px;min-height:43px;padding:8px}.recent-row{font-size:13px}.game-tools{margin-top:15px}
}
/* Taller phones gain a substantial animal image, not a larger blank spacer. */
@media(min-width:360px) and (max-width:619px) and (min-height:760px){
 .header{padding-top:10px}.header-inner{min-height:51px}.nav-row{height:45px}.brand{font-size:29px}.brand img{width:38px;height:38px}.play-layout{gap:14px}.category h2{font-size:15px}.game-panel .category{padding-top:10px}.number-entry input{height:50px;font-size:23px}.locked-entry{height:52px;font-size:18px}.guess-cell{min-height:37px;padding:5px 8px}.guess-cell strong{font-size:15px}.guess-cell strong.long-number{font-size:12px}.submit-main{min-height:50px;font-size:17px}.live-history{margin-top:13px}.hero h1{font-size:27px;line-height:30px}
}
@media(max-height:650px) and (max-width:899px){
 .header{padding-top:3px}.header-inner{min-height:43px}.brand{font-size:25px}.brand img{width:32px;height:32px}.nav-row{height:37px}.nav-row nav button{font-size:13px}.nav-row nav{gap:22px}body[data-view=play] .shell{padding-top:6px;padding-bottom:6px}.play-layout{gap:6px}.hero h1{font-size:22px;line-height:24px;min-height:24px;margin-top:5px}.play-top{font-size:11px;line-height:18px;margin-bottom:5px}.category-head{min-height:31px}.category-head h2{font-size:12px;line-height:14px;min-height:28px}.game-panel .category{padding-top:6px}.unit-caption{font-size:10px;line-height:14px;margin-bottom:4px}.number-entry input{height:37px;font-size:19px}.locked-entry{height:39px;font-size:15px}.helper-slot{height:14px;min-height:14px;max-height:14px;line-height:14px;font-size:9px}.live-history{margin-top:7px}.live-history-heading{margin-bottom:4px}.live-history-heading h2{font-size:12px;line-height:16px}.live-guess-table tbody{gap:4px}.guess-cell{min-height:29px;padding:3px 5px}.guess-cell strong{font-size:13px;line-height:18px}.guess-cell strong.long-number{font-size:10px}.guess-arrow{width:17px;height:17px}.submit-row{margin-top:8px}.submit-main{min-height:42px;font-size:15px}.clue-dock{min-height:34px;padding-top:6px;padding-bottom:6px}.simple-howto-lead{font-size:14px!important;margin:8px 0 12px!important}.help-dialog{padding:17px 18px}.help-dialog .dialog-header h2{font-size:25px}.simple-howto-section{margin-top:12px;padding-top:12px}.simple-howto-section h3{font-size:13px;margin-bottom:10px}.simple-howto-colours .legend>span{min-height:45px;padding:8px;font-size:12px}.simple-howto-arrows>div{min-height:49px}.simple-howto .button{min-height:42px;margin-top:14px!important}.result-score{font-size:38px}.result-heading{margin-bottom:8px}.result-heading p{margin-top:4px}.answer-card{padding:8px 5px}.result-links{margin:4px 0}.result-actions{margin-top:4px}.result-actions .button{min-height:39px}.hero h1{max-width:100%}
}
/* Real keyboard: keep guesses and inputs reachable, do not force the entire UI into a thumbnail. */
html[data-keyboard=true] body[data-view=play] .header-inner{display:none}html[data-keyboard=true] body[data-view=play] .header{padding-top:0}html[data-keyboard=true] body[data-view=play] .nav-row{height:32px}html[data-keyboard=true] body[data-view=play] .streak-flame{width:20px!important;height:24px!important}html[data-hide-photo=true] .mouth-wrap{display:none}html[data-keyboard=true] body[data-view=play] .play-layout{gap:4px}html[data-keyboard=true] body[data-view=play] .hero h1{font-size:18px;line-height:22px;min-height:22px;margin:0}html[data-keyboard=true] body[data-view=play] .category-icon{display:none}html[data-keyboard=true] body[data-view=play] .game-panel .category{padding:3px 5px 1px}html[data-keyboard=true] body[data-view=play] .category-head{min-height:20px}html[data-keyboard=true] body[data-view=play] .category-head h2{font-size:11px;min-height:20px;line-height:12px;padding-right:12px}html[data-keyboard=true] body[data-view=play] .unit-caption{font-size:9px;line-height:12px;margin:0 0 2px}html[data-keyboard=true] body[data-view=play] .number-entry input{height:33px;font-size:16px}html[data-keyboard=true] body[data-view=play] .locked-entry{height:35px;font-size:13px}html[data-keyboard=true] body[data-view=play] .helper-slot{height:12px;min-height:12px;max-height:12px;line-height:12px;font-size:9px}html[data-keyboard=true] body[data-view=play] .live-history{margin-top:5px}html[data-keyboard=true] body[data-view=play] .guess-cell{min-height:25px;padding:1px 5px}html[data-keyboard=true] body[data-view=play] .guess-cell strong{font-size:12px}html[data-keyboard=true] body[data-view=play] .guess-cell strong.long-number{font-size:10px}html[data-keyboard=true] body[data-view=play] .submit-main{min-height:35px;font-size:14px}html[data-keyboard=true] body[data-view=play] .submit-row{margin-top:5px}html[data-keyboard=true] body[data-view=play] .clue-dock{padding-top:4px;padding-bottom:4px;min-height:27px}
/* Landscape phones: side-by-side without repeating category headings. */
html[data-landscape=true] .header{padding:2px 14px 0}html[data-landscape=true] .header-inner{min-height:39px}html[data-landscape=true] .brand{font-size:22px}html[data-landscape=true] .brand img{height:28px;width:28px}html[data-landscape=true] .nav-row{height:33px}html[data-landscape=true] .header-tools .icon-button{height:33px;width:33px}html[data-landscape=true] .play-layout{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);max-width:none;gap:16px}html[data-landscape=true] body[data-view=play] .shell{padding:6px 14px}html[data-landscape=true] .hero h1{font-size:21px;line-height:24px;min-height:24px}html[data-landscape=true] .category-icon{display:none}html[data-landscape=true] .category-head{min-height:25px}html[data-landscape=true] .category-head h2{font-size:11px;line-height:13px;min-height:24px}html[data-landscape=true] .game-panel .category{padding:4px 5px 1px}html[data-landscape=true] .unit-caption{font-size:9px;line-height:12px;margin:0 0 3px}html[data-landscape=true] .number-entry input{height:32px;font-size:16px}html[data-landscape=true] .locked-entry{height:34px;font-size:13px}html[data-landscape=true] .helper-slot{height:12px;min-height:12px;max-height:12px;line-height:12px;font-size:9px}html[data-landscape=true] .live-history{margin-top:5px}html[data-landscape=true] .guess-cell{min-height:25px;padding:1px 5px}html[data-landscape=true] .guess-cell strong{font-size:12px}html[data-landscape=true] .guess-cell strong.long-number{font-size:10px}html[data-landscape=true] .live-guess-table tbody{gap:3px}html[data-landscape=true] .submit-main{min-height:35px;font-size:13px}html[data-landscape=true] .submit-row{margin-top:6px}html[data-landscape=true] .clue-dock{min-height:28px;padding-top:5px;padding-bottom:5px}html[data-landscape=true] .result-score{font-size:34px}html[data-landscape=true] .result-heading h2{flex-direction:row;align-items:baseline;gap:8px}html[data-landscape=true] .result-heading{margin-bottom:4px}html[data-landscape=true] .result-heading p{margin:4px 0}html[data-landscape=true] .result-actions .button{min-height:34px;font-size:11px}html[data-landscape=true] .answer-card{padding:6px 3px}html[data-landscape=true] .answer-card>strong{font-size:13px}html[data-landscape=true] .answer-card h3{font-size:11px;min-height:24px}html[data-landscape=true] .result-links{margin:2px 0}
@media(max-height:430px) and (min-width:540px){
 html[data-landscape=true] .header{position:relative;padding:2px 14px 0}html[data-landscape=true] .header-inner{height:42px}html[data-landscape=true] .nav-row{position:absolute;left:240px;right:115px;top:4px;border:0;height:37px}html[data-landscape=true] .nav-row nav{gap:18px}html[data-landscape=true] .nav-row nav button{font-size:12px}html[data-landscape=true] .streak{display:none}html[data-landscape=true] .help-dialog{width:min(850px,calc(100vw - 24px));padding:14px 20px}html[data-landscape=true] .simple-howto-lead{font-size:13px!important;margin:4px 0 8px!important}html[data-landscape=true] .simple-howto-section{padding-top:8px;margin-top:8px}html[data-landscape=true] .simple-howto-colours .legend{grid-template-columns:repeat(4,1fr)}html[data-landscape=true] .simple-howto-colours .legend>span{min-height:38px;font-size:11px;padding:6px 9px}html[data-landscape=true] .simple-howto-colours .legend i{width:19px;height:19px}html[data-landscape=true] .simple-howto-section h3{font-size:12px;margin:0 0 6px}html[data-landscape=true] .simple-howto-arrows>div{min-height:36px;font-size:12px}html[data-landscape=true] .simple-howto-arrows b{font-size:26px}html[data-landscape=true] .simple-howto .button{margin-top:10px!important;min-height:36px}html[data-landscape=true] .help-dialog .dialog-header h2{font-size:24px}html[data-landscape=true] .dialog-header{margin-bottom:5px}
}
/* Never truncate essential content at accessibility zoom or extreme window heights. */
html[data-zoomed=true] body[data-view=play]{height:auto;min-height:100svh}html[data-zoomed=true] .play-layout{display:flex;flex-direction:column}html[data-zoomed=true] body[data-view=play] .shell{flex:none}.dialog img{max-width:100%}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Stable phone geometry: reserve the complete four-row history in all rounds. */
@media(max-width:619px){
 body[data-view=play] .shell{justify-content:flex-start}
 .play-layout{flex:none;margin-block:auto}
 .game-panel .category{padding:6px 6px 2px}
 .category-head{min-height:34px}
 .category-head h2{min-height:32px;font-size:14px;line-height:16px}
 .unit-caption{margin:0 0 5px;line-height:14px}
 .number-entry input{height:44px;font-size:22px}
 .locked-entry{height:46px;font-size:17px}
 .helper-slot{height:15px;min-height:15px;max-height:15px;line-height:15px}
 .live-history{margin-top:9px}
 .live-guess-table tbody{gap:4px}
 .guess-cell{min-height:32px;padding:4px 6px}
 .live-history-heading{margin-bottom:5px}
 .submit-row{margin-top:10px}
 .submit-main{min-height:46px}
}
@media(min-width:360px) and (max-width:619px) and (min-height:760px){
 .game-panel .category{padding:8px 6px 3px}.category-head{min-height:37px}.category-head h2{font-size:15px}.number-entry input{height:46px}.locked-entry{height:48px}.guess-cell{min-height:35px}.submit-main{min-height:48px}.play-layout{gap:11px}
}
@media(max-width:619px) and (max-height:650px){
 .game-panel .category{padding:4px 5px 1px}.category-head{min-height:28px}.category-head h2{min-height:28px;font-size:12px;line-height:14px}.unit-caption{line-height:12px;margin-bottom:3px}.number-entry input{height:35px;font-size:19px}.locked-entry{height:37px;font-size:15px}.helper-slot{height:12px;min-height:12px;max-height:12px;line-height:12px;font-size:9px}.live-history{margin-top:6px}.live-guess-table tbody{gap:3px}.guess-cell{min-height:27px;padding:2px 5px}.guess-cell strong{font-size:13px;line-height:18px}.guess-cell strong.long-number{font-size:10px}.guess-arrow{height:16px;width:16px}.submit-main{min-height:40px;font-size:14px}.submit-row{margin-top:7px}
}
@media(max-width:899px){body[data-view=play] .play-layout{margin-block:0}body[data-view=play] .shell{justify-content:flex-start}.hero h1.long-title{font-size:clamp(17px,4.8vw,24px);white-space:nowrap;line-height:28px;letter-spacing:-.6px}}
@media(min-width:900px){.hero h1.long-title{font-size:25px}}
@media(max-height:650px) and (max-width:899px){.hero h1.long-title{line-height:24px}}
.practice-controls{display:inline-flex;align-items:center;gap:5px;height:20px}
.practice-controls button{display:grid;place-items:center;height:28px;width:30px;padding:0;border:1px solid #424A46;border-radius:7px;background:#202623;color:#BBD1C2}
.practice-controls .icon{width:17px;height:17px}
@media(max-height:650px) and (max-width:899px){.submit-main{padding:6px 14px;min-height:40px}}
html[data-landscape=true] .submit-main{padding:5px 12px;min-height:34px}
@media(min-height:651px) and (max-height:720px) and (max-width:619px){
 .game-panel .category{padding-top:5px}.category-head{min-height:32px}.unit-caption{margin-bottom:4px}.play-top{margin-bottom:6px}.live-history{margin-top:8px}.live-history-heading{margin-bottom:4px}.submit-row{margin-top:9px}
}
@media(min-width:620px) and (max-width:899px) and (min-height:620px) and (max-height:900px){
 .play-layout{grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);max-width:none;gap:20px;align-items:center}
 body[data-view=play] .shell{justify-content:center}.hero h1{font-size:24px}.hero h1.long-title{font-size:19px;white-space:normal}
}
@media(min-width:540px) and (max-height:350px){
 html[data-landscape=true] .game-panel .play-top{margin-bottom:3px;font-size:10px;line-height:16px}
 html[data-landscape=true] .game-panel .category-head{min-height:21px}
 html[data-landscape=true] .game-panel .category-head h2{min-height:21px;font-size:10px;line-height:11px}
 html[data-landscape=true] .game-panel .unit-caption{display:none}
 html[data-landscape=true] .game-panel .number-entry input{height:30px;font-size:16px}
 html[data-landscape=true] .game-panel .locked-entry{height:32px;font-size:12px}
 html[data-landscape=true] .game-panel .helper-slot{height:11px;min-height:11px;max-height:11px;line-height:11px;font-size:8px}
 html[data-landscape=true] .live-history{margin-top:4px}
 html[data-landscape=true] .live-history-heading{margin-bottom:3px}
 html[data-landscape=true] .live-history-heading h2{font-size:11px;line-height:14px}
 html[data-landscape=true] .guess-cell{min-height:21px;padding:1px 4px}
 html[data-landscape=true] .guess-cell strong{font-size:11px;line-height:16px}
 html[data-landscape=true] .guess-arrow{width:15px;height:15px}
 html[data-landscape=true] .submit-main{min-height:31px;padding:4px 10px;font-size:12px}
 html[data-landscape=true] .submit-row{margin-top:5px}
}
@media(min-width:540px) and (max-height:350px){
 html[data-landscape=true] .submit-main{min-height:28px;padding:2px 10px}
 html[data-landscape=true] .help-dialog{padding:10px 16px}
 html[data-landscape=true] .help-dialog .dialog-header h2{font-size:22px}
 html[data-landscape=true] .simple-howto-lead{font-size:12px!important;line-height:1.4!important;margin:3px 0 6px!important}
 html[data-landscape=true] .simple-howto-section{margin-top:6px;padding-top:6px}
 html[data-landscape=true] .simple-howto-section h3{font-size:11px;margin-bottom:5px}
 html[data-landscape=true] .simple-howto-colours .legend>span{min-height:31px;padding:4px 6px;font-size:10px}
 html[data-landscape=true] .simple-howto-colours .legend i{width:16px;height:16px}
 html[data-landscape=true] .simple-howto-arrows>div{min-height:30px;font-size:11px}
 html[data-landscape=true] .simple-howto-arrows b{font-size:23px}
 html[data-landscape=true] .simple-howto .button{min-height:31px;padding:4px 10px;margin-top:7px!important}
}
@media(min-width:540px) and (max-height:350px){
 html[data-landscape=true] body.finished .play-layout{grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr);gap:12px}
 html[data-landscape=true] .result-content .eyebrow{display:none}
 html[data-landscape=true] .result-content .answer-card{gap:3px;padding:5px 3px}
 html[data-landscape=true] .result-content .result-links .text-button{min-height:25px;padding:2px 0;font-size:10px}
 html[data-landscape=true] .result-content .result-actions .button{min-height:30px;padding:4px 7px;font-size:10px}
}
html[data-keyboard=true] body[data-view=play] .submit-main{padding:5px 12px;min-height:34px}
html[data-keyboard-tiny=true] body[data-view=play] .hero{display:none}
html[data-keyboard-tiny=true] body[data-view=play] .game-panel .unit-caption{display:none}
html[data-keyboard-tiny=true] body[data-view=play] .play-top{line-height:18px;margin-bottom:4px;font-size:11px}
html[data-keyboard-tiny=true] body[data-view=play] .live-history-heading{margin-bottom:3px}
html[data-keyboard-tiny=true] body[data-view=play] .live-guess-table tbody{gap:3px}
/* Keep a steady four-row grid throughout the five-round game. */
.live-history-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.history-rounds{font-size:11px;line-height:18px;color:#88958D;font-variant-numeric:tabular-nums}
.helper-slot.has-error,.live-history-heading .has-error{color:#FFADB5}
.guess-cell{width:100%;text-align:left;font-family:inherit;line-height:20px}
.guess-placeholder{border:1px dashed #363D3B;background:transparent;justify-content:center;cursor:default;color:#4C5851}
.guess-placeholder:hover{background:transparent}
.guess-placeholder>span{font-size:14px;line-height:20px;opacity:.55}
.guess-cell:not(.guess-placeholder):active{background:#29382E}
.jaw-top,.jaw-bottom{will-change:auto}
body[data-opening=true] .jaw-top,body[data-opening=true] .jaw-bottom{will-change:transform}
@media(hover:none){button:hover:not(:disabled){filter:none}.guess-cell:not(:active):hover{background:#1A1C1E}.guess-placeholder:hover{background:transparent}}
.locked-entry.long-value{gap:4px}.locked-entry.long-value strong{font-size:14px}.locked-entry.long-value span{font-size:16px}
/* Hosting badges remain visible, with the clue key beside their reserved corner. */
@media(max-width:899px){
 body:has(#nl-badge-frame) .clue-dock{min-height:64px;padding-right:206px;display:flex;align-items:center}
 body:has(#nl-badge-frame) .clue-dock .legend{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
 html[data-landscape=true] body:has(#nl-badge-frame) .live-history-heading{display:none}
 html[data-landscape=true] body:has(#nl-badge-frame) .guess-cell{min-height:22px;padding-block:0}
 html[data-landscape=true] body:has(#nl-badge-frame) .submit-row{margin-top:4px}
}
@media(max-width:619px){
 body:has(#nl-badge-frame) .clue-dock .legend{grid-template-columns:repeat(2,minmax(0,1fr));font-size:9px;line-height:12px;gap:4px}
 body:has(#nl-badge-frame) .clue-dock .legend>span{white-space:normal;gap:4px}
 body:has(#nl-badge-frame) .clue-dock .legend i{width:8px;height:8px}
 html[data-keyboard=true] body:has(#nl-badge-frame) .live-history-heading{display:none}
 html[data-keyboard=true] body:has(#nl-badge-frame) .guess-cell{min-height:24px;padding-block:0}
}
@media(max-width:350px){.locked-entry.long-value strong{font-size:12px}.locked-entry.long-value span{font-size:14px}.locked-entry.long-value{gap:3px}}
