/* Quiz-only layer. The game renderers and global artwork are not modified. */
body.quiz-redesign{background:#08090b;color:#f1e9db;padding-bottom:0}
body.quiz-redesign:before,body.quiz-redesign:after,body.quiz-redesign>.grain,body.quiz-redesign>footer,body.quiz-redesign>#observer-margin{display:none!important}
body.quiz-redesign #view{width:100%;max-width:none;padding:0;margin:0;min-height:calc(100svh - 82px)}
body.quiz-redesign .topbar{background:#08090b}
.qr-screen{--qr-gold:#c6a473;--qr-paper:#f2e9d8;position:relative;isolation:isolate;min-height:calc(100svh - 82px);display:flex;align-items:center;overflow:hidden;background:#080a0c;font-family:var(--serif,'Cormorant Garamond',Georgia,serif);color:var(--qr-paper)}
.qr-screen *{box-sizing:border-box}
.qr-screen:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 82% 40%,#8c603c0c,transparent 60%);pointer-events:none}
.qr-art{position:absolute;z-index:-2;left:0;top:0;bottom:0;width:44%;overflow:hidden;pointer-events:none;background:#080a0c}
.qr-art svg{display:block;width:100%;height:100%;overflow:hidden}
.qr-art:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent 63%,#080a0c 100%),linear-gradient(0deg,#080a0c 0%,transparent 16%,transparent 92%,#080a0c66 100%);pointer-events:none}
.qr-copy{position:relative;width:min(58%,780px);margin:0 max(4.5vw,28px) 0 auto;padding:42px 0 44px;text-align:center}
.qr-screen h1,.qr-screen h2,.qr-screen p{font-family:inherit;font-weight:400;letter-spacing:0;color:inherit}
.qr-screen h1{font-size:clamp(36px,3.35vw,54px);line-height:1.06;margin:14px 0 20px;text-wrap:balance;overflow-wrap:break-word}
.qr-screen h1:focus{outline:none}
.qr-screen button,.qr-screen a{font-family:inherit;letter-spacing:0;-webkit-tap-highlight-color:transparent}
.qr-screen button:focus-visible,.qr-screen a:focus-visible{outline:2px solid #f8d69d;outline-offset:5px}
.qr-kicker{display:flex;align-items:center;justify-content:center;gap:17px;color:var(--qr-gold)!important;font-size:20px!important;line-height:1.35;margin:0 0 14px!important}
.qr-kicker:before,.qr-kicker:after{content:'';width:70px;height:1px;background:linear-gradient(90deg,transparent,#b59561)}
.qr-kicker:after{transform:rotate(180deg)}
.qr-ornament{display:flex;align-items:center;gap:10px;width:58%;max-width:340px;margin:20px auto 24px;color:var(--qr-gold);font-size:22px;line-height:1}
.qr-ornament:before,.qr-ornament:after{content:'';height:1px;flex:1;background:linear-gradient(90deg,transparent,#ac8a56)}
.qr-ornament:after{transform:rotate(180deg)}
.qr-progress{display:flex;align-items:center;justify-content:center;gap:28px;margin:0 0 30px;font-size:21px;line-height:1.2;color:#e4c69a}
.qr-dots{display:flex;align-items:center;gap:15px}
.qr-dots i{width:10px;height:10px;border:1px solid #b89a70;border-radius:50%;background:transparent}
.qr-dots i.done{background:#bba58b;border-color:#bba58b}
.qr-dots i.current{background:#f7d7a2;border-color:#f7d7a2;box-shadow:0 0 12px #e7a54fbb}
.qr-scene{max-width:680px;margin:0 auto 18px!important;font-size:clamp(21px,1.75vw,27px)!important;line-height:1.35!important;text-wrap:pretty}
.qr-question .qr-copy{width:min(58%,760px);padding-top:35px;padding-bottom:38px}
.qr-question h1{margin:0 0 14px}
.qr-question .qr-ornament{margin-top:16px;margin-bottom:24px}
.qr-answers{display:grid;gap:12px;text-align:left}
.qr-answer{position:relative;display:flex;align-items:center;gap:22px;width:100%;min-height:70px;padding:14px 24px;border:1px solid #a98450;border-radius:3px;background:linear-gradient(115deg,#151719d9,#080a0cd9);color:#f0e9dd;text-align:left;font-size:clamp(21px,1.75vw,26px);font-weight:400;line-height:1.25;cursor:pointer;box-shadow:inset 0 0 0 3px #080a0c,inset 0 0 0 4px #a37b3726;transition:border-color .15s,background-color .15s,box-shadow .15s}
.qr-answer:before,.qr-answer:after{content:'';position:absolute;width:6px;height:6px;border:1px solid #a98450;transform:rotate(45deg);background:#0c0d10;pointer-events:none}
.qr-answer:before{left:-4px;top:5px}
.qr-answer:after{right:-4px;bottom:5px}
.qr-answer:hover{border-color:#f0c58e;background:linear-gradient(115deg,#332a1caa,#0d1217)}
.qr-answer[aria-checked=true]{border-color:#edcd93;background:linear-gradient(115deg,#4b351f88,#121c2388);box-shadow:inset 0 0 0 3px #080a0c,inset 0 0 0 4px #cfa76b66,0 0 18px #bc8b3b12}
.qr-radio{position:relative;flex:0 0 22px;width:22px;height:22px;border:1px solid #dfc198;border-radius:50%;background:#0a0d10}
.qr-answer[aria-checked=true] .qr-radio:after{content:'';position:absolute;inset:5px;border-radius:50%;background:#f2cc8d;box-shadow:0 0 10px #e1ad56aa}
.qr-controls{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:30px}
.qr-button{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:59px;padding:11px 26px;border:1px solid #bf945d;border-radius:4px;color:#efdfc5;background:linear-gradient(120deg,#29201988,#0c1016ee);text-decoration:none;font-size:25px;line-height:1.2;font-weight:400;cursor:pointer;box-shadow:inset 0 0 0 3px #080a0c,inset 0 0 0 4px #c0955733;transition:background .15s,border-color .15s}
.qr-button:hover{background:#392d1bcc;border-color:#e6c28a;color:#fff3df}
.qr-button:disabled{opacity:.42;cursor:default;background:#161311;color:#bca383}
.qr-button span[aria-hidden]{font-size:27px;line-height:1;flex:none}
.qr-back{min-height:44px;display:inline-flex;align-items:center;gap:14px;border:0;background:none;padding:4px 6px;color:#e9cca0;font-size:25px;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px;cursor:pointer}
.qr-back:disabled{opacity:.3;cursor:default;text-decoration:none}
.qr-note,.qr-storage-note{font-size:18px!important;line-height:1.35!important;color:#c1b19e!important;margin:24px auto 0!important;max-width:550px}
.qr-storage-note{color:#eac996!important}
.qr-intro h1{font-size:clamp(44px,4.4vw,70px);max-width:730px;margin-inline:auto}
.qr-intro-text{max-width:610px;margin:0 auto 34px!important;font-size:27px!important;line-height:1.4!important}
.qr-intro .qr-button{min-width:245px}
.qr-result .qr-art{width:48%}
.qr-result .qr-art:after{background:linear-gradient(90deg,transparent 62%,#080a0c 100%),linear-gradient(0deg,#080a0c 0%,transparent 9%)}
.qr-result .qr-copy{width:min(53%,720px);margin-right:max(4.5vw,28px);padding-top:32px;padding-bottom:28px}
.qr-result h1{font-size:clamp(42px,3.8vw,61px);max-width:680px;margin:6px auto 17px}
.qr-description{max-width:670px;margin:0 auto!important;font-size:clamp(22px,1.85vw,28px)!important;line-height:1.27!important;text-wrap:pretty}
.qr-result .qr-ornament{margin:22px auto;width:63%}
.qr-book-label{color:#d0bda4!important;font-size:21px!important;margin:0 0 5px!important;line-height:1.25!important}
.qr-book h2{font-size:clamp(32px,3vw,46px);line-height:1.05;margin:5px auto 4px;max-width:560px;text-wrap:balance}
.qr-author{font-size:25px!important;line-height:1.15!important;margin:0 0 17px!important;color:#d6c9b7!important}
.qr-book-button{width:min(100%,510px);font-size:25px;min-height:58px}
.qr-book-0{background:linear-gradient(115deg,#123044aa,#0a141ecc);color:#f1e5cf;border-color:#a98b57}
.qr-book-1{background:linear-gradient(115deg,#532e42aa,#1f111fcc);color:#f2d9dc;border-color:#bd9366}
.qr-book-0:hover{background:#193247}
.qr-book-1:hover{background:#573348}
.qr-secondary h2{font-size:clamp(29px,2.65vw,41px);color:#e7c3d1}
.qr-world-1 .qr-secondary h2{color:#e2dfe6}
.qr-secondary .qr-book-label{color:#cdaab8!important}
.qr-secondary .qr-author{font-size:22px!important;margin-bottom:13px!important}
.qr-secondary .qr-button{font-size:22px;min-height:55px}
.qr-restart{display:block;padding:5px 0;min-height:44px;background:none;border:0;border-bottom:1px solid #b09677;color:#cdb9a5;font-size:21px;line-height:1.2;margin:23px auto 0;cursor:pointer}
.qr-restart:hover{color:#f3d5a8;border-color:#f3d5a8}
@media(min-width:701px) and (max-height:800px){
 .qr-question .qr-copy{padding-block:24px}.qr-progress{margin-bottom:20px}.qr-scene{font-size:22px!important}.qr-question h1{font-size:42px}.qr-answer{min-height:62px;padding-block:12px;font-size:22px}.qr-controls{margin-top:22px}
 .qr-result .qr-copy{padding-block:25px}.qr-result h1{font-size:45px}.qr-description{font-size:23px!important}.qr-result .qr-ornament{margin-block:15px}.qr-book h2{font-size:36px}.qr-book-label{font-size:18px!important}.qr-author{font-size:21px!important;margin-bottom:12px!important}.qr-book-button{min-height:51px;font-size:23px}.qr-secondary h2{font-size:32px}.qr-secondary .qr-button{min-height:48px;font-size:21px}.qr-restart{margin-top:16px}
}
@media(min-width:701px) and (max-width:1050px){
 .qr-copy,.qr-question .qr-copy{width:62%;margin-right:4vw}.qr-art{width:40%}.qr-answer{gap:15px;padding-inline:18px;font-size:22px}.qr-result .qr-copy{width:57%;margin-right:3vw}.qr-result .qr-art{width:46%}.qr-result h1{font-size:43px}.qr-description{font-size:23px!important}.qr-book-button{font-size:23px}
}
@media(max-width:700px){
 body.quiz-redesign{padding-bottom:0}
 body.quiz-redesign #view{min-height:calc(100svh - 70px);padding-bottom:0}
 body.quiz-redesign>.topbar{min-height:56px;height:56px;background:#080a0c;border-bottom:0}
 body.quiz-redesign .brand{font-size:15px;max-width:250px}
 body.quiz-redesign #sound-toggle{height:40px;min-width:40px;width:40px}
 body.quiz-redesign #navigation a[aria-current]{color:#f1cb88}
 body.quiz-redesign #navigation a[aria-current]:before{content:'';position:absolute;top:-5px;left:25%;right:25%;height:1px;background:#d4af74}
 .qr-screen{display:block;min-height:calc(100svh - 56px);padding:0 0 calc(94px + env(safe-area-inset-bottom));overflow:hidden}
 .qr-screen:before{background:radial-gradient(ellipse at 50% 25%,#16252b3d,transparent 68%)}
 .qr-copy,.qr-question .qr-copy,.qr-result .qr-copy{width:100%;max-width:none;margin:0;padding:24px 24px 25px}
 .qr-question .qr-art{display:none}
 .qr-screen h1,.qr-question h1{font-size:36px;line-height:1.08;margin:0 0 17px}
 .qr-progress{gap:24px;margin-bottom:27px;font-size:19px}
 .qr-dots{gap:12px}.qr-dots i{width:9px;height:9px}
 .qr-scene{font-size:22px!important;line-height:1.3!important;margin-bottom:20px!important}
 .qr-question .qr-ornament{margin:19px auto 24px;width:64%}
 .qr-answers{gap:12px}
 .qr-answer{min-height:76px;gap:17px;padding:13px 17px;font-size:22px;line-height:1.24}
 .qr-radio{width:21px;height:21px;flex-basis:21px}
 .qr-controls{gap:16px;margin-top:24px}
 .qr-button{font-size:22px;min-height:55px;padding:11px 18px;gap:12px}
 .qr-back{font-size:22px;gap:10px;padding-left:0}
 .qr-note,.qr-storage-note{font-size:18px!important}
 .qr-intro{display:flex;align-items:center}
 .qr-intro .qr-art{width:100%;opacity:.2}
 .qr-intro .qr-art:after{background:#080a0c55}
 .qr-intro .qr-copy{padding:40px 27px 35px}
 .qr-intro h1{font-size:45px}
 .qr-kicker{font-size:18px!important;gap:12px}.qr-kicker:before,.qr-kicker:after{width:40px}
 .qr-intro-text{font-size:24px!important;line-height:1.35!important;margin-bottom:28px!important}
 .qr-result .qr-art{position:relative;width:100%;height:clamp(340px,100vw,440px);z-index:0;margin:0}
 .qr-result .qr-art:after{background:linear-gradient(0deg,#080a0c 0%,transparent 18%),linear-gradient(90deg,#080a0c33,transparent 20%,transparent 80%,#080a0c33)}
 .qr-result .qr-copy{padding-top:8px}
 .qr-result .qr-kicker{font-size:18px!important;margin-bottom:13px!important}
 .qr-result h1{font-size:39px;line-height:1.05;margin:0 auto 17px;max-width:400px}
 .qr-description{font-size:22px!important;line-height:1.3!important;max-width:430px}
 .qr-result .qr-ornament{width:65%;margin:23px auto}
 .qr-book-label{font-size:18px!important;margin-bottom:7px!important}
 .qr-book h2{font-size:33px;line-height:1.08;margin:0 auto 5px}
 .qr-author{font-size:22px!important;margin-bottom:17px!important}
 .qr-book-button,.qr-secondary .qr-button{font-size:22px;min-height:56px;width:100%;padding-inline:14px}
 .qr-secondary h2{font-size:31px}.qr-secondary .qr-author{font-size:21px!important}
 .qr-restart{font-size:20px;margin-top:26px}
}
@media(max-width:370px){
 .qr-copy,.qr-question .qr-copy,.qr-result .qr-copy{padding-inline:19px}.qr-screen h1,.qr-question h1{font-size:33px}.qr-scene{font-size:21px!important}.qr-answer{font-size:21px;padding-inline:14px;gap:13px}.qr-button{font-size:20px;padding-inline:14px}.qr-controls{gap:12px}.qr-back{font-size:21px}.qr-result h1{font-size:36px}.qr-dots{gap:10px}.qr-progress{gap:20px}
}
@media(prefers-reduced-motion:reduce){.qr-screen *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
