:root{--ink:#0a202c;--paper:#f3eee5;--deep:#081721;--muted:#455b64;--action:#ff9b45;--line:#ccc4b8;--world:#93612d;color-scheme:light}
*{box-sizing:border-box}html{background:var(--deep);scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,select,input{font:inherit}button{cursor:pointer}[hidden]{display:none!important}button:disabled{cursor:default}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #166a78;outline-offset:4px}::selection{background:#ffbe7c;color:#081721}button,select{-webkit-tap-highlight-color:transparent}img{display:block;max-width:100%}.phone{max-width:440px;min-height:100svh;margin:auto;background:var(--paper)}.topbar{height:62px;padding:12px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--deep);color:#fff}.brand{font-size:27px;font-weight:900;letter-spacing:-.035em;color:#fff;text-decoration:none}.brand span{color:#ffa85d}.language-wrap{min-width:0}.language-wrap select{max-width:165px;min-height:38px;padding:7px 10px;border:1px solid #78909c;border-radius:8px;background:var(--deep);color:#fff;font-size:13px}.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}
.gate-intro{padding:22px 18px 16px}.gate-intro h1{font-family:Georgia,"Times New Roman",serif;font-size:32px;line-height:1.12;letter-spacing:-.025em;margin:0 0 9px;text-wrap:balance}.gate-intro p{font-size:14px;line-height:1.5;margin:0;color:var(--muted)}.world-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 18px}.world-card{min-width:0;position:relative;padding:0;border:2px solid transparent;border-radius:12px;overflow:hidden;background:#102733;color:#fff;text-align:start;transition:transform .15s ease,border-color .15s ease}.world-card img{width:100%;height:91px;object-fit:cover;object-position:center 28%}.world-card strong{display:flex;align-items:center;min-height:38px;padding:6px 10px;font-size:14px;line-height:1.2;font-weight:750}.world-card[aria-pressed=true]{border-color:#bb520d}.world-card[aria-pressed=true] strong{background:#102733;color:#ffd2a5}.world-card:hover{transform:translateY(-2px)}.world-card:active{transform:scale(.99)}#gate{padding-bottom:24px}.micro{font-size:12px;line-height:1.55;text-align:center;color:var(--muted);margin:14px 18px}.primary,.secondary{display:block;width:100%;min-height:50px;padding:13px 16px;border:0;border-radius:12px;font-size:15px;line-height:1.35;font-weight:800}.primary{background:var(--action);color:#081721}.primary:hover:not(:disabled){background:#ffac69}.primary:disabled{background:#d7d0c5;color:#5d625f}.secondary{background:#e3e8e4;color:#183d46;border:1px solid #bac8c6}.text-button{min-height:44px;border:0;background:none;padding:10px 0;color:#155769;font-weight:750;font-size:14px;line-height:1.35}.text-button:hover{text-decoration:underline}.status-error{color:#8c3423!important;padding-top:8px!important}
.story-context{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 18px;font-size:14px;font-weight:750}.story-context bdi{overflow-wrap:anywhere}#question-counter{white-space:nowrap;font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted)}progress{display:block;width:100%;height:4px;border:0;border-radius:0;appearance:none;background:#ddd5c9}progress::-webkit-progress-bar{background:#ddd5c9}progress::-webkit-progress-value{background:var(--world)}progress::-moz-progress-bar{background:var(--world)}.scene{margin:0;height:clamp(200px,31svh,285px);background:var(--deep);overflow:hidden}.scene img{width:100%;height:100%;object-fit:contain}.quiz-panel{padding:22px 18px 24px}.quiz-panel h1{font-family:Georgia,"Times New Roman",serif;margin:0 0 20px;font-size:27px;line-height:1.3;letter-spacing:-.02em;text-wrap:pretty;outline:none}.answers{display:grid;gap:11px}.answer{display:flex;align-items:center;gap:12px;width:100%;min-height:65px;background:#fffdf8;border:1px solid #c6bfb3;border-radius:12px;padding:13px 14px;color:var(--ink);text-align:start;line-height:1.45}.answer b{display:grid;place-items:center;flex:0 0 30px;height:32px;border-radius:6px;background:#e3eeea;color:#245b57}.answer span{font-size:16px;font-weight:650}.answer.selected{background:#dfefe7;border-color:#275f51}.answer:disabled{color:var(--ink);opacity:1;cursor:default}.answer-status{min-height:20px;font-size:13px;color:#225a4b;margin:10px 0 0}.quiz-panel>.micro{margin:10px 0 0}.result-body{padding:21px 18px 24px}.result-label{font-size:14px;margin:0 0 7px;color:var(--muted)}.result-body h1{font-family:Georgia,"Times New Roman",serif;font-size:36px;margin:0;letter-spacing:-.025em;line-height:1.15}.type{font-size:30px;font-weight:900;letter-spacing:.06em;color:#9d4418;margin:10px 0 14px;direction:ltr;text-align:start}.traits{display:flex;gap:8px;flex-wrap:wrap}.traits span{border:1px solid #b9b3a9;border-radius:6px;font-size:12px;padding:6px 8px;background:#fffdf8}.result-summary{font-size:19px;line-height:1.55;margin:19px 0 22px}.profile{border-top:1px solid var(--line);margin-top:22px;padding-top:16px}.profile h2{font-size:21px;line-height:1.3;margin:0 0 12px}.profile p{font-size:16px;line-height:1.7;margin:0 0 16px}.profile dl{display:grid;grid-template-columns:1fr 1fr;gap:15px;border-block:1px solid var(--line);padding:15px 0;margin:18px 0}.profile dt{font-size:11px;color:var(--muted);margin-bottom:7px}.profile dd{font-size:15px;font-weight:750;margin:0;line-height:1.4}.choice-evidence{font-size:13px;line-height:1.6;color:var(--muted)}.choice-evidence p{font-size:14px;border-bottom:1px solid #d8d1c6;padding-bottom:12px}.result-actions{display:grid;gap:8px;margin-top:20px}
.guide-backdrop{position:fixed;z-index:20;inset:0;background:#000b;display:flex;align-items:flex-end;justify-content:center;padding-top:14px}.guide{position:relative;background:#fbf8f2;width:min(100%,440px);padding:25px 20px calc(22px + env(safe-area-inset-bottom));max-height:calc(100svh - 14px);overflow:auto;overscroll-behavior:contain;border-radius:16px 16px 0 0}.guide h2{font-family:Georgia,"Times New Roman",serif;font-size:27px;line-height:1.2;margin:8px 38px 12px 0}.guide>p{line-height:1.55;font-size:14px}.close{position:absolute;inset:12px 14px auto auto;width:38px;height:38px;background:#e8e0d5;color:#213942;border:0;border-radius:8px;font-size:27px;line-height:1}.guide-image{width:100%;max-height:210px;object-fit:contain;background:#071d30;border-radius:8px;margin-top:12px}.guide ol{padding-inline-start:23px;font-size:14px;line-height:1.5}.guide li{padding:3px 0}.guide .micro{display:block;text-align:start;margin:12px 0 6px}#copy-status{color:#225a4b;min-height:21px;margin:10px 0 0}.noscript{color:#fff;padding:30px;text-align:center}html[dir=rtl] .type{text-align:right}html[dir=rtl] .guide h2{margin-right:0;margin-left:38px}html[dir=rtl] .close{inset-inline-end:14px;inset-inline-start:auto}@media(max-width:350px){.gate-intro{padding-top:17px}.gate-intro h1{font-size:28px}.world-grid{gap:9px;padding-inline:12px}.world-card img{height:77px}.world-card strong{font-size:13px;min-height:39px;padding:6px 8px}.quiz-panel h1{font-size:24px}.answer span{font-size:15px}.topbar{padding-inline:13px}.language-wrap select{max-width:145px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}@media(min-width:441px){.phone{border-inline:1px solid #31434b}.guide-backdrop{align-items:center}.guide{border-radius:16px}}

h1,h2,.answer span,.profile dd{overflow-wrap:anywhere}.waiting{min-height:60svh;padding:65px 24px;text-align:center}.waiting h1{font-family:Georgia,serif;font-size:32px;line-height:1.2}.waiting p{color:var(--muted);line-height:1.6}.waiting b{font-variant-numeric:tabular-nums;margin-inline-end:5px}@media(max-width:350px){.world-card img{height:65px}.world-card strong{min-height:34px}}

/* V31.3: each window follows its image, without crops or background fill. */
.world-column{display:flex;flex-direction:column;gap:12px;min-width:0}.world-grid{align-items:start}.world-card img{height:auto;aspect-ratio:auto;object-fit:contain;object-position:center;background:#081721}
