:root{--page:#F8F5EF;--surface:#fff;--ink:#273047;--muted:#626778;--blue:#6746CF;--border:#E3DFD8;font-family:ui-rounded,'Trebuchet MS','Segoe UI',sans-serif;font-synthesis:none;color:var(--ink);background:var(--page)}*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.45}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{opacity:.6;cursor:default}a{color:var(--blue)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #C28600;outline-offset:3px}h1,h2,h3,p,figure{margin:0}h1{font-size:32px;line-height:1.15;font-weight:800;letter-spacing:-1px}h2{font-size:23px;line-height:1.2;letter-spacing:-.5px}h3{font-size:18px}p{margin:12px 0}.muted{color:var(--muted)}.small{font-size:13px}.mono{font-variant-numeric:tabular-nums}.icon{width:21px;height:21px;flex-shrink:0}.brand-mark{width:34px;height:34px;flex-shrink:0;transform:rotate(-6deg)}.header{max-width:640px;margin:auto;padding:18px 0 12px;display:flex;align-items:center;justify-content:space-between;gap:8px}.brand{display:flex;align-items:center;gap:9px;background:none;border:0;padding:0;min-height:44px;font-size:22px;font-weight:800;letter-spacing:-1px}.brand-word{color:var(--blue);margin-left:4px}nav{display:flex;gap:4px}.nav-btn,.round-back{width:44px;height:44px;border:1px solid var(--border);border-radius:15px;display:flex;align-items:center;justify-content:center;background:white;padding:0}.nav-btn:hover,.round-back:hover{background:#F0EBFC;border-color:#BEB0E7}.container{max-width:640px;margin:auto;padding:14px 0 20px}.footer{max-width:640px;margin:0 auto;padding:0 0 calc(16px + env(safe-area-inset-bottom));text-align:center}.footer .quiet{font-size:12px}.notice{max-width:640px;margin:8px auto 0;padding:10px 14px;border-radius:12px;background:#FFF0C4;font-size:12px}
.primary,.secondary,.quiet,.danger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:11px 16px;border-radius:16px;border:1.5px solid transparent;line-height:1.2;font-size:15px;font-weight:800;text-decoration:none;transition:transform .13s,background .13s}.primary{background:var(--blue);border-color:#5634B7;color:white;box-shadow:0 4px 0 #4B2EA2}.primary:hover{background:#5936BF}.primary:active{transform:translateY(3px);box-shadow:0 1px 0 #4B2EA2}.secondary{background:white;border-color:var(--border);box-shadow:0 3px 0 #E3DFD8}.secondary:hover{background:#F3EFFB}.secondary:active{transform:translateY(2px);box-shadow:0 1px 0 #E3DFD8}.quiet{background:none;color:var(--muted);border-color:transparent;min-height:44px;padding:9px 12px;font-size:13px;font-weight:700}.quiet:hover{background:#EEE9E1}.danger{background:#FFF0EF;color:#A62B31;border-color:#EAC4C3}.button-row{display:flex;gap:10px}.button-row>*{flex:1;min-width:0}.button-stack{display:grid;gap:12px}.home-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.home-heading h1{font-size:34px}.date-chip{color:var(--muted);font-size:13px;font-weight:700;white-space:nowrap}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.category{background:var(--soft);border:1.5px solid color-mix(in srgb,var(--accent) 30%,white);border-radius:23px;box-shadow:0 4px 0 color-mix(in srgb,var(--accent) 25%,#E9E1D2);padding:16px 12px 14px;min-height:153px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;position:relative;transition:transform .15s,box-shadow .15s}.category-art{width:65px;height:65px;flex-shrink:0;transition:transform .18s}.category-name{font-size:17px;line-height:1.15;font-weight:800;text-align:center;color:var(--accent);max-width:130px}.category:hover{transform:translateY(-3px);box-shadow:0 7px 0 color-mix(in srgb,var(--accent) 25%,#E9E1D2)}.category:hover .category-art{transform:rotate(-5deg)}.category:active{transform:translateY(3px);box-shadow:0 1px 0 color-mix(in srgb,var(--accent) 25%,#E9E1D2)}.category-status{display:flex;gap:4px;align-items:center;font-size:11px;font-weight:700;color:var(--accent);line-height:1}.category-status .icon{width:13px;height:13px}.home-options{display:flex;gap:12px;margin-top:23px}.home-options>*{flex:1}
.game-shell,.narrow{max-width:460px;margin:0 auto}.game-card,.page-card{background:white;border:1.5px solid var(--border);border-radius:24px;padding:22px;box-shadow:0 4px 0 #ECE7DF}.run-bar{display:flex;align-items:center;gap:10px;margin-bottom:13px}.round-back{width:44px;flex-shrink:0}.run-status{flex:1;min-width:0;font-size:12px;font-weight:700;color:var(--muted)}.run-status b{margin-left:4px;color:var(--ink)}.progress{display:flex;gap:5px;margin-top:6px}.progress i{display:block;height:6px;width:26px;border-radius:10px;background:#E1DDD7}.progress .done{background:var(--blue)}.progress .current{background:#AD93EF}.score-chip{display:flex;align-items:center;gap:6px;background:#FFF0BA;border:1px solid #EEDCA6;padding:8px 11px;min-height:36px;border-radius:13px;font-size:16px}.score-chip .icon{color:#97631B;width:18px;height:18px}.question-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:13px}.category-label{display:inline-flex;gap:5px;align-items:center;font-size:12px;font-weight:800;color:var(--accent)}.category-label .icon{width:17px;height:17px}.precision{font-size:10px;color:var(--muted);padding:4px 7px;border:1px solid #EBE7E1;border-radius:8px;white-space:nowrap}.question-card h1{font-size:26px;line-height:1.22;letter-spacing:-.5px;margin-bottom:20px}.question-photo{margin:-6px 0 15px;display:flex;justify-content:center}.question-photo img{display:block;width:155px;height:90px;object-fit:contain;border-radius:12px;background:white}.answer-label{font-size:12px;font-weight:700;color:var(--muted);margin-bottom:7px}.swatch{height:76px;border-radius:14px;width:100%;border:1px solid #DEDEDE;box-shadow:none;opacity:1;filter:none}.picker-controls{margin-top:16px}.slider-row{margin-bottom:7px}.slider-label{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:700}.slider-label output{color:var(--muted)}.range{display:block;width:100%;height:44px;margin:0;appearance:none;-webkit-appearance:none;background:transparent;cursor:pointer}.range::-webkit-slider-runnable-track{height:12px;border-radius:8px;background:var(--track);border:1px solid #27304730}.range::-moz-range-track{height:12px;border-radius:8px;background:var(--track);border:1px solid #27304730}.range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:27px;height:27px;margin-top:-8.5px;border:3px solid #fff;border-radius:50%;background:var(--ink);box-shadow:0 1px 4px #27304755}.range::-moz-range-thumb{width:21px;height:21px;border:3px solid #fff;border-radius:50%;background:var(--ink);box-shadow:0 1px 4px #27304755}.picker-actions{display:flex;align-items:center;gap:6px;margin-top:12px}.picker-actions .primary{flex:1;min-height:52px}.picker-actions .quiet{font-size:12px;min-width:70px;padding:10px}
.reward{display:flex;align-items:center;gap:13px;margin-bottom:22px}.reward>.icon{width:48px;height:48px;padding:10px;color:#AA701C;background:#FFF0B7;border-radius:18px;transform:rotate(-8deg)}.bullseye-art{width:58px;height:58px;flex-shrink:0}.points{display:block;font-size:39px;font-weight:800;line-height:1;letter-spacing:-1.4px;color:var(--blue);font-variant-numeric:tabular-nums}.points small{font-size:13px;font-weight:700;letter-spacing:0;color:var(--muted)}.reward h1{font-size:18px;margin-top:6px;letter-spacing:-.3px}.answer-story{margin-bottom:20px}.answer-story.has-photo{display:grid;grid-template-columns:112px 1fr;gap:15px;align-items:center}.subject-photo{margin:0;min-width:0}.subject-photo img{display:block;width:112px;height:112px;object-fit:contain;background:white;border-radius:14px}.answer-copy h2{font-size:25px}.answer-copy p{font-size:14px;line-height:1.4;color:var(--muted);margin:7px 0 0}.compare{display:grid;grid-template-columns:1fr 1fr;gap:12px}.compare>div{background:white;min-width:0}.compare strong{display:block;font-size:12px;margin-bottom:7px}.compare .swatch{height:66px}.source{border-top:1px solid var(--border);margin:18px 0 15px;font-size:13px;overflow-wrap:anywhere}.source summary{color:var(--muted);font-size:12px;min-height:44px;display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:700}.source summary::before{content:'+';font-size:18px;color:var(--blue);width:12px}.source[open] summary::before{content:'−'}.source p{margin:6px 0 13px;font-size:12px}.source .hex-details{font-variant-numeric:tabular-nums}.reveal-card>.primary{width:100%;min-height:52px}.results-heading{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:18px}.results-heading h1{font-size:22px;text-align:center;letter-spacing:-.5px}.results-heading .icon{color:#BB861D;width:18px;height:18px;transform:rotate(-12deg)}.score-ring{width:152px;height:152px;border-radius:50%;padding:10px;margin:0 auto;background:conic-gradient(var(--blue) calc(var(--score)*1%),#EEE8FB 0);display:flex;align-items:center;justify-content:center;animation:pop .5s ease-out}.score-ring-inner{width:100%;height:100%;border-radius:50%;background:white;display:flex;align-items:center;justify-content:center;flex-direction:column}.score-ring strong{font-size:35px;font-weight:800;letter-spacing:-1.5px;font-variant-numeric:tabular-nums}.score-ring small{font-size:11px;color:var(--muted);font-weight:700}.result-bullseyes{text-align:center;font-weight:800;font-size:14px;margin:13px 0 5px}.result-mode{text-align:center;font-size:11px;color:var(--muted);margin:0 0 18px}.round-list{display:grid;gap:6px;margin-bottom:18px}.round-btn{min-height:44px;display:flex;justify-content:space-between;align-items:center;padding:8px 11px;border:1px solid #E8E2F2;background:#F8F5FD;border-radius:12px;gap:8px;font-size:13px;text-align:left}.round-btn:hover{background:#EEE6FA}.round-title{display:flex;align-items:center;gap:8px}.round-number{font-size:11px;width:22px;height:22px;display:flex;align-items:center;justify-content:center;border-radius:7px;background:white;color:var(--muted)}.round-btn strong{display:flex;align-items:center;gap:6px;font-variant-numeric:tabular-nums;white-space:nowrap}.round-btn .icon{width:15px;height:15px;color:var(--muted)}.next-actions{display:flex;align-items:center;justify-content:center;gap:1px;margin-top:11px}.next-actions .quiet{padding:9px 10px;font-size:12px}
.help-card{text-align:center}.help-logo{margin-bottom:15px}.help-logo .brand-mark{width:52px;height:52px}.help-card h1{font-size:30px;margin-bottom:20px}.how-steps{display:flex;gap:8px;justify-content:center;margin-bottom:19px}.how-steps span{display:flex;align-items:center;gap:7px;padding:10px;background:#F2EBFF;border-radius:12px;font-size:14px;font-weight:800}.how-steps .icon{color:var(--blue);width:19px;height:19px}.help-card p{font-size:15px;line-height:1.55}.help-card .button-stack{margin-top:23px}.help-card .source{text-align:left;margin-bottom:0}.narrow>.quiet{margin-bottom:9px;padding-left:0}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:22px 0;text-align:center}.stat-grid>div{background:#F2EBFF;padding:12px 4px;border-radius:15px}.stat-grid strong{display:block;font-size:24px;font-weight:800;font-variant-numeric:tabular-nums;color:var(--blue)}.stat-grid span{display:block;font-size:11px;color:var(--muted);font-weight:700}.empty{font-size:13px;color:var(--muted);background:#FFF6D5;padding:13px;border-radius:12px;margin-bottom:22px}.category-records{margin:10px 0 22px}.category-record{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid var(--border);font-size:12px}.category-record>span:first-child{display:flex;align-items:center;gap:5px;font-weight:800}.category-record>span:last-child{text-align:right;font-size:11px}.category-record small{display:block;color:var(--muted);font-size:10px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid var(--border);font-weight:700;font-size:14px}.sound-toggle{display:flex;align-items:center;justify-content:center;width:44px;min-height:44px;cursor:pointer}.sound-toggle input{width:24px;height:24px;accent-color:var(--blue)}select{min-height:44px;max-width:100%;background:white;color:var(--ink);border:1.5px solid var(--border);border-radius:12px;padding:9px;font-size:14px}.settings-row select{max-width:155px;font-size:12px}.settings-block{margin-top:23px}.settings-block h2{font-size:18px;margin-bottom:12px}.settings-block>.secondary,.settings-block>.danger{width:100%;margin-bottom:12px}.settings-block+.small{margin-bottom:0}
 dialog{border:1.5px solid var(--border);border-radius:24px;padding:22px;width:calc(100% - 24px);max-width:460px;max-height:90dvh;overflow:auto;color:var(--ink);background:white;box-shadow:0 16px 70px #27304735}dialog::backdrop{background:#27304766;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.dialog-head h2{font-size:24px}.dialog-head .quiet{width:44px;flex-shrink:0;padding:8px}.dialog-body p{font-size:14px}.dialog-body .compare .swatch{height:66px}.dialog-footer{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.dialog-footer>*{flex:1}.share-text{width:100%;height:168px;border:1px solid var(--border);border-radius:13px;padding:12px;background:#F8F5EF;color:var(--ink);resize:vertical;font-size:13px}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);max-width:calc(100% - 24px);padding:12px 18px;border-radius:14px;background:var(--ink);color:white;font-size:13px;box-shadow:0 4px 18px #27304725;z-index:10}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;left:12px;top:-60px;background:white;padding:10px;z-index:30}.skip-link:focus{top:8px}.loading{padding:50px;text-align:center}#screen-title:focus{outline:none}.review-item{border-bottom:1px solid var(--border);padding:16px 0}.review-item h3{font-size:16px}.review-item p{font-size:14px}.test-pass{color:#247451}.test-fail{color:#A62B31}.celebrate{animation:pop .45s ease-out}@keyframes pop{0%{transform:scale(.85)}60%{transform:scale(1.07)}100%{transform:scale(1)}}.reduce-motion *,.reduce-motion *::before,.reduce-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:688px){.header,.container,.footer{margin-left:18px;margin-right:18px}.notice{margin-left:18px;margin-right:18px}}@media(max-width:520px){.header{padding:12px 0 8px}.container{padding:10px 0 16px}.brand{font-size:21px;gap:7px}.brand-mark{width:31px;height:31px}nav{gap:3px}.nav-btn{border-color:transparent;background:transparent}.home-heading{margin-bottom:17px}.home-heading h1{font-size:30px}.date-chip{font-size:12px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.category{min-height:132px;border-radius:21px;padding:12px 10px;gap:5px}.category-art{width:58px;height:58px}.category-name{font-size:16px}.home-options{margin-top:21px;gap:10px}.home-options>*{font-size:14px;padding:11px 10px}.game-card,.page-card{padding:19px;border-radius:22px}.question-card h1{font-size:25px;margin-bottom:18px}.question-meta{margin-bottom:12px}.answer-story.has-photo{grid-template-columns:100px 1fr;gap:13px}.subject-photo img{width:100px;height:100px}.answer-copy h2{font-size:24px}.answer-copy p{font-size:13px}.reward{margin-bottom:20px}.results-heading h1{font-size:21px}.score-ring{width:140px;height:140px}.results-card .button-row>*{min-height:48px}.next-actions .quiet{font-size:11px;padding:9px 8px}}@media(max-width:350px){.header,.container,.footer{margin-left:12px;margin-right:12px}.notice{margin-left:12px;margin-right:12px}.brand{font-size:18px;gap:5px}.brand-mark{width:27px;height:27px}.brand-word{margin-left:2px}nav{gap:0}.home-heading h1{font-size:28px}.date-chip{font-size:11px}.category-name{font-size:15px}.category-grid{gap:11px}.category{min-height:124px}.game-card{padding:16px}.question-card h1{font-size:23px}.category-label{font-size:10px}.precision{font-size:9px;padding:4px}.points{font-size:35px}.points small{font-size:11px}.reward{gap:10px}.answer-story.has-photo{grid-template-columns:88px 1fr;gap:12px}.subject-photo img{width:88px;height:88px}.answer-copy h2{font-size:21px}.picker-actions .primary{font-size:13px;padding:11px 9px}.picker-actions .quiet{min-width:61px;padding:9px 6px;font-size:11px}.button-row{gap:8px}.results-card .button-row>*{font-size:13px;padding:11px}.results-heading h1{font-size:19px}.how-steps span{font-size:12px;padding:9px}.how-steps .icon{width:16px;height:16px}.settings-row select{max-width:133px}.stat-grid{gap:6px}.category-record{font-size:11px}.score-chip{padding:8px;font-size:14px}.progress i{width:22px}.run-status{font-size:11px}}
.question-photo{display:block;text-align:center}.question-photo img{margin:auto}.question-photo{margin-bottom:8px}body[data-view=answering] .footer,body[data-view=reveal] .footer,body[data-view=summary] .footer{display:none}

.framed-photo{overflow:hidden;border-radius:14px;width:112px;height:112px}@media(max-width:520px){.framed-photo{width:100px;height:100px}}@media(max-width:350px){.framed-photo{width:88px;height:88px}}

.source a{display:inline-flex;align-items:center;min-height:44px}

.photo-filters{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}.question-heading{margin-bottom:20px}.question-heading h1{margin-bottom:0}.question-heading.with-photo{display:grid;grid-template-columns:minmax(0,1fr) 100px;align-items:center;gap:14px}.question-heading.with-photo h1{font-size:23px}.question-photo{display:block;margin:0;min-width:0}.question-photo-frame{width:100px;height:92px;border-radius:15px;overflow:hidden;background:transparent}.question-photo img{display:block;width:100%;height:100%;margin:0;object-fit:cover;background:transparent}.question-photo .color-hidden{filter:url('#question-ink')}.question-photo figcaption{display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:700;color:#68558C;white-space:nowrap}.question-card{position:relative}@media(max-width:350px){.question-heading.with-photo{grid-template-columns:minmax(0,1fr) 84px;gap:10px}.question-heading.with-photo h1{font-size:21px}.question-photo-frame{width:84px;height:80px}.question-photo figcaption{font-size:8px}}

.test-notice{background:transparent;color:var(--muted);font-size:10px;line-height:1.2;padding:3px 0;margin-top:0}

body:not([data-view="home"]) .footer{display:none}

/* Give the game room on a browser window without enlarging the phone layout. */
@media (min-width:700px){
  body{font-size:18px}
  h1{font-size:38px}
  h2{font-size:28px}
  h3{font-size:22px}
  .small{font-size:15px}
  .icon{width:26px;height:26px}
  .header,.container,.footer,.notice{width:calc(100% - 64px);max-width:900px}
  .header{padding:18px 0 12px}
  .container{padding:16px 0 26px}
  .brand{font-size:30px;gap:12px;min-height:52px}
  .brand-mark{width:46px;height:46px}
  nav{gap:8px}
  .nav-btn,.round-back{width:52px;height:52px;border-radius:17px}
  .primary,.secondary,.danger{min-height:56px;padding:14px 22px;font-size:18px;border-radius:18px;gap:10px}
  .quiet{min-height:48px;font-size:16px;padding:11px 15px}
  .button-row,.button-stack{gap:14px}
  .home-heading{margin-bottom:24px}
  .home-heading h1{font-size:44px}
  .date-chip{font-size:17px}
  .category-grid{gap:20px}
  .category{min-height:220px;padding:20px 16px;border-radius:28px;gap:10px}
  .category-art{width:92px;height:92px}
  .category-name{font-size:22px;max-width:200px}
  .category-status{font-size:15px}
  .category-status .icon{width:18px;height:18px}
  .home-options{margin-top:28px;gap:18px}
  .game-shell,.narrow{max-width:760px}
  .game-card,.page-card{padding:28px;border-radius:28px}
  .run-bar{gap:14px;margin-bottom:16px}
  .run-status{font-size:16px}
  .progress{gap:7px;margin-top:8px}
  .progress i{width:38px;height:8px}
  .score-chip{font-size:22px;padding:10px 15px;min-height:48px;border-radius:16px;gap:9px}
  .score-chip .icon{width:24px;height:24px}
  .question-meta{margin-bottom:14px}
  .category-label{font-size:16px;gap:8px}
  .category-label .icon{width:23px;height:23px}
  .precision{font-size:13px;padding:6px 9px}
  .question-card h1,.question-heading.with-photo h1{font-size:32px;line-height:1.22;margin-bottom:0}
  .question-heading{margin-bottom:18px}
  .question-heading.with-photo{grid-template-columns:minmax(0,1fr) 160px;gap:26px}
  .question-photo-frame{width:160px;height:136px;border-radius:20px}
  .question-photo figcaption{font-size:12px}

  .answer-label{font-size:16px;margin-bottom:8px}
  .swatch{height:104px;border-radius:18px}
  .picker-controls{margin-top:18px}
  .slider-row{margin-bottom:4px}
  .slider-label{font-size:16px}
  .range{height:52px}
  .range::-webkit-slider-runnable-track{height:16px;border-radius:10px}
  .range::-moz-range-track{height:16px;border-radius:10px}
  .range::-webkit-slider-thumb{width:34px;height:34px;margin-top:-10px;border-width:4px}
  .range::-moz-range-thumb{width:26px;height:26px;border-width:4px}
  .picker-actions{gap:12px;margin-top:16px}
  .picker-actions .primary,.reveal-card>.primary{min-height:56px}
  .picker-actions .quiet{font-size:16px;min-width:92px}
  .reward{gap:20px;margin-bottom:26px}
  .reward>.icon{width:68px;height:68px;padding:15px;border-radius:23px}
  .bullseye-art{width:80px;height:80px}
  .points{font-size:56px}
  .points small{font-size:18px}
  .reward h1{font-size:24px;margin-top:9px}
  .answer-story{margin-bottom:26px}
  .answer-story.has-photo{grid-template-columns:168px minmax(0,1fr);gap:24px}
  .subject-photo img,.framed-photo{width:168px;height:168px;border-radius:20px}
  .answer-copy h2{font-size:34px}
  .answer-copy p{font-size:18px;line-height:1.45;margin-top:10px}
  .compare{gap:20px}
  .compare strong{font-size:16px;margin-bottom:10px}
  .compare .swatch,.dialog-body .compare .swatch{height:108px}
  .source{font-size:16px;margin:22px 0 18px}
  .source summary,.source p{font-size:15px}
  .source summary{min-height:48px}
  .results-heading{gap:16px;margin-bottom:24px}
  .results-heading h1{font-size:32px}
  .results-heading .icon{width:24px;height:24px}
  .score-ring{width:200px;height:200px;padding:13px}
  .score-ring strong{font-size:48px}
  .score-ring small{font-size:15px}
  .result-bullseyes{font-size:19px;margin:18px 0 7px}
  .result-mode{font-size:15px;margin-bottom:24px}
  .round-list{gap:9px;margin-bottom:24px}
  .round-btn{min-height:56px;font-size:17px;padding:11px 15px}
  .round-number{font-size:15px;width:30px;height:30px}
  .round-btn .icon{width:22px;height:22px}
  .next-actions{gap:10px;margin-top:16px}
  .next-actions .quiet{font-size:16px;padding:11px 15px}
  .help-logo .brand-mark{width:72px;height:72px}
  .help-card h1{font-size:40px}
  .how-steps{gap:14px}
  .how-steps span{font-size:19px;padding:14px}
  .how-steps .icon{width:26px;height:26px}
  .help-card p{font-size:20px}
  .stat-grid{gap:14px;margin:28px 0}
  .stat-grid>div{padding:18px 8px}
  .stat-grid strong{font-size:34px}
  .stat-grid span{font-size:15px}
  .empty{font-size:17px;padding:18px}
  .category-record{font-size:17px;padding:16px 0}
  .category-record>span:last-child{font-size:16px}
  .category-record small{font-size:14px}
  .settings-row{font-size:19px;padding:20px 0}
  .sound-toggle{width:52px;min-height:52px}
  .sound-toggle input{width:30px;height:30px}
  select{min-height:52px;font-size:18px;padding:12px}
  .settings-row select{max-width:210px;font-size:16px}
  .settings-block{margin-top:28px}
  .settings-block h2{font-size:25px;margin-bottom:16px}
  dialog{max-width:680px;padding:28px;border-radius:28px}
  .dialog-head h2{font-size:32px}
  .dialog-head .quiet{width:52px}
  .dialog-body p{font-size:18px}
  .share-text{font-size:17px;height:210px;padding:16px}
  .toast{font-size:17px;padding:15px 22px}
  .notice{font-size:15px;padding:12px 18px}
  .footer .quiet{font-size:16px}
}

/* Short desktop windows keep the larger controls in view. */
@media (min-width:700px) and (max-height:800px){
  .header{padding-top:8px;padding-bottom:4px}
  .container{padding-top:8px;padding-bottom:18px}
  .game-card,.page-card{padding:23px}
  .run-bar{margin-bottom:12px}
  .question-meta{margin-bottom:10px}
  .question-photo-frame{height:112px}
  .question-heading{margin-bottom:10px}
  .range{height:48px}
  .picker-actions{grid-column:1 / -1;margin-top:8px}
  .category{min-height:180px;padding:16px;gap:8px}
  .category-art{width:80px;height:80px}
}

/* The wheel selects hue/saturation; the single bottom slider selects HSL lightness. */
.picker-card{display:block}
.wheel-picker{min-width:0}
.color-wheel{position:relative;display:block;width:min(220px,100%);aspect-ratio:1;margin:0 auto;padding:0;border:0;border-radius:50%;touch-action:none;background:radial-gradient(circle closest-side,#808080,transparent),conic-gradient(#FF0000,#FFFF00,#00FF00,#00FFFF,#0000FF,#FF00FF,#FF0000)}
.wheel-marker{position:absolute;width:24px;height:24px;border:3px solid white;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 2px #273047;pointer-events:none}
.wheel-picker .picker-controls{margin-top:16px}
.shade-labels{display:flex;justify-content:space-between;gap:12px;font-size:13px;font-weight:700;color:var(--muted)}
.lightness-range::-webkit-slider-thumb{background:var(--selected-color);box-shadow:0 0 0 1px #626778,0 1px 4px #27304755}
.lightness-range::-moz-range-thumb{background:var(--selected-color);box-shadow:0 0 0 1px #626778,0 1px 4px #27304755}
.answer-preview{display:flex;align-items:center;gap:14px;margin-top:10px}
.answer-preview .answer-label{margin:0;flex-shrink:0}
.answer-preview .swatch{height:42px;flex:1;border-radius:12px}
@media(min-width:700px){
 .picker-card{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);column-gap:32px;align-items:center}
 .color-wheel{width:min(300px,100%)}
 .wheel-marker{width:30px;height:30px;border-width:4px}
 .shade-labels{font-size:16px}
 .answer-preview{display:block;margin:0}
 .answer-preview .answer-label{margin-bottom:12px}
 .answer-preview .swatch{height:180px;border-radius:20px}
 .picker-actions{grid-column:1 / -1;margin-top:12px}
}
@media(min-width:700px) and (max-height:800px){
 .question-card{padding:20px}
 .question-photo-frame{height:72px}
 .color-wheel{width:min(220px,100%)}
 .wheel-picker .picker-controls{margin-top:12px}
 .answer-preview .swatch{height:160px}
}

/* Large clue photos without a frame background or overlay controls. */
.question-photo-frame .photo-image{display:block;width:100%;height:100%}
.answer-story.has-photo:has(.reference-photo){grid-template-columns:150px minmax(0,1fr);gap:16px;align-items:center}
.reference-photo{position:relative;height:174px;background:transparent;border-radius:18px;overflow:hidden}
.reference-photo .photo-image{display:block;width:100%;height:100%}
@media(max-width:350px){.answer-story.has-photo:has(.reference-photo){grid-template-columns:124px minmax(0,1fr);gap:12px}.reference-photo{height:154px}}
@media(min-width:700px){.answer-story.has-photo:has(.reference-photo){grid-template-columns:minmax(0,.9fr) minmax(0,1fr);gap:28px}.reference-photo{height:250px}}
.question-heading.with-photo{grid-template-columns:minmax(0,1fr) 128px}
.question-photo{position:relative}
.question-photo-frame{width:128px;height:122px}

@media(max-width:350px){
 .question-heading.with-photo{grid-template-columns:minmax(0,1fr) 104px}
 .question-photo-frame{width:104px;height:112px}
}
@media(min-width:700px){
 .question-heading.with-photo{grid-template-columns:minmax(0,1fr) 210px}
 .question-photo-frame{width:210px;height:176px}

}
@media(min-width:700px) and (max-height:800px){
 .question-heading.with-photo{grid-template-columns:minmax(0,1fr) 184px}
 .question-photo-frame{width:184px;height:144px}
}

/* Photographs fill a consistent 4:3 area; the photo and swatch define the answer. */
.question-photo-frame{width:144px;height:auto;aspect-ratio:4/3}
.question-heading.with-photo{grid-template-columns:minmax(0,1fr) 144px}
.reveal-question{font-size:16px;font-weight:700;line-height:1.35;margin:0 0 16px}
.answer-story.has-photo,.answer-story.has-photo:has(.reference-photo){display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:center}
.answer-story .subject-photo{width:100%;height:auto;aspect-ratio:4/3;margin:0;border-radius:18px;overflow:hidden;background:transparent}
.answer-story .subject-photo img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0}
.answer-story .compare{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.answer-story .compare strong{font-size:13px}
.answer-story .compare .swatch{height:76px;margin-top:7px}
@media(max-width:350px){.question-heading.with-photo{grid-template-columns:minmax(0,1fr) 112px}.question-photo-frame{width:112px}.answer-story .subject-photo{border-radius:15px}.reveal-question{font-size:14px}.answer-story .compare .swatch{height:64px}}
@media(min-width:700px){
 .question-heading.with-photo{grid-template-columns:minmax(0,1fr) 224px}
 .question-photo-frame{width:224px}
 .reveal-question{font-size:21px;margin-bottom:20px}
 .answer-story.has-photo,.answer-story.has-photo:has(.reference-photo){grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:24px;align-items:center}
 .answer-story .subject-photo{border-radius:22px}
 .answer-story.has-photo .compare{grid-template-columns:minmax(0,1fr);gap:18px}
 .answer-story .compare strong{font-size:16px}
 .answer-story .compare .swatch{height:106px;margin-top:8px}
}
@media(min-width:700px) and (max-height:800px){.question-heading.with-photo{grid-template-columns:minmax(0,1fr) 184px}.question-photo-frame{width:184px}}
