:root{--gold:#f6c657;--ink:#161410;--muted:#aca79b;--line:#ffffff1c}*{box-sizing:border-box}body{margin:0;background:var(--ink);color:#f8f3e7;font:16px/1.6 'Microsoft YaHei','PingFang SC',system-ui,sans-serif}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;transition:transform .2s,background .2s}button:disabled{cursor:wait;opacity:.6}button:hover:not(:disabled){transform:translateY(-2px)}button:focus-visible,a:focus-visible{outline:3px solid white;outline-offset:4px}button{border:0;border-radius:10px;padding:15px 22px;font-weight:700}a{color:inherit}.gold{background:var(--gold);color:#29210e;box-shadow:0 6px 22px #0002}.gold:hover{background:#ffdb83}.ghost{background:transparent;color:var(--gold);border:1px solid #f6c65766}.text-button{background:none;padding:0;color:var(--gold);font-weight:400}.screen{min-height:100svh}[hidden]{display:none!important}.cover{position:relative;isolation:isolate;min-height:100svh;display:flex;flex-direction:column;padding:32px 5vw 22px}.cover-art,.cover-shade{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.cover-shade{background:linear-gradient(90deg,#100d0bfa 0%,#100d0bdd 35%,#100d0b22 85%),linear-gradient(0deg,#100d0b 0%,transparent 40%);z-index:-1}.brand{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:700}.brand-icon{display:grid;place-items:center;background:var(--gold);color:var(--ink);border-radius:10px;width:44px;height:44px;font-size:25px}.brand small{display:block;font-size:10px;letter-spacing:1.6px;color:#c5b89d}.edition{margin-left:auto;font-size:14px;border:1px solid #f8e5b044;border-radius:20px;padding:7px 16px;font-weight:400}.cover-copy{max-width:640px;margin:auto 0;padding:55px 0 50px}.eyebrow{color:var(--gold);font-size:13px;letter-spacing:2px;font-weight:600}h1{font-size:clamp(42px,5.3vw,76px);line-height:1.14;letter-spacing:-2px;margin:22px 0}em{color:var(--gold);font-style:normal}.cover-copy>p{color:#d1c9ba;font-size:18px}.cover-copy label{display:block;margin:30px 0 10px;font-size:14px;color:#f6e8c7}.start-row{display:flex;gap:10px;max-width:560px}.start-row input{min-width:0;flex:1;border:1px solid #ffffff44;color:white;background:#ffffff10;padding:15px 18px;border-radius:10px;outline:none}.start-row input:focus{border-color:var(--gold)}.start-row button{white-space:nowrap}.start-row button span{margin-left:20px}.small{font-size:12px;color:var(--muted)}.error{color:#ffb399;font-size:14px;min-height:0}.error:empty{display:none}.cover-stats{display:flex;gap:35px;padding-top:22px}.cover-stats span{color:#c5b89d;font-size:13px}.cover-stats b{font-size:27px;font-weight:500;color:#f9f0dc;margin-right:7px}.cover-footer{display:flex;justify-content:space-between;gap:16px;color:#b5a98f;font-size:12px}.cover-footer span{font-size:10px;letter-spacing:2px}.game-header,.simple-header{padding:24px 5vw;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.brand-text{text-decoration:none;font-weight:700}.brand-text span{color:var(--muted);font-size:13px;font-weight:400;margin-left:16px}.player{display:flex;gap:20px;font-size:14px}.player span:last-child{color:var(--gold)}.play-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,1fr);max-width:1450px;min-height:calc(100svh - 81px);margin:auto}.frog-stage{position:relative;overflow:hidden;min-height:600px;background:#e8e4db}.stage-grid{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 70%,#fff9dc 0%,#e8e4db 65%)}.stage-caption{position:absolute;top:35px;left:35px;color:#c3bdb1;font-size:clamp(50px,7vw,100px);letter-spacing:-5px;font-weight:900;line-height:.85}.stage-caption span{display:block;font-weight:400;font-size:13px;letter-spacing:3px;margin-top:16px;color:#817867}.idle{position:absolute;width:min(55%,320px);aspect-ratio:540/1040;left:50%;top:55%;transform:translate(-50%,-50%);overflow:hidden;mix-blend-mode:multiply}.idle img{position:absolute;max-width:none;width:174.444%;left:-37.037%;top:-46.153%}#reaction{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#1e1d18}.stage-tag{position:absolute;bottom:24px;left:0;width:100%;text-align:center;font-size:13px;color:#77683e}.speech{position:absolute;top:22%;right:8%;border:2px solid #161410;border-radius:20px 20px 20px 0;padding:12px 24px;background:var(--gold);color:#161410;font-size:32px;font-weight:900;transform:rotate(5deg);box-shadow:5px 5px 0 #161410}.question-panel{align-self:center;padding:48px clamp(25px,4.5vw,70px)}.question-top{display:flex;justify-content:space-between;color:var(--gold);font-size:12px;letter-spacing:2px}.progress{height:3px;background:#ffffff20;margin-top:16px}.progress>div{height:100%;width:10%;background:var(--gold);transition:width .3s}.question-panel h2{font-size:clamp(28px,3vw,40px);line-height:1.4;margin:40px 0 12px;letter-spacing:-1px}.question-note{color:var(--muted);font-size:14px;margin-bottom:28px}.answer-input{width:100%;border:1px solid #ffffff40;background:#ffffff08;color:#fff;padding:17px;border-radius:10px;outline:none}.answer-input:focus{border-color:var(--gold)}.options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.option{position:relative}.option input{position:absolute;opacity:0}.option label{display:block;cursor:pointer;padding:17px 15px;border:1px solid #ffffff30;background:#ffffff05;border-radius:10px}.option input:checked+label{border-color:var(--gold);background:#f6c6571a;color:var(--gold)}.option input:focus-visible+label{outline:2px solid white}.submit{margin-top:22px;width:100%}.feedback{margin-top:26px;border-top:1px solid var(--line);padding-top:20px}.feedback b{font-size:24px;color:var(--gold)}.feedback p{font-size:14px;color:#d3c9b3}.feedback button{width:100%;margin-top:12px}.panel-footer{border-top:1px solid var(--line);margin-top:40px;padding-top:20px;color:#827e73;font-size:12px;display:flex;justify-content:space-between}.panel-footer span{color:var(--gold)}.results,.ranking{background:radial-gradient(ellipse at 50% 0,#3b3018,#161410 60%)}.simple-header{font-size:14px}.simple-header>span:last-child{color:var(--muted)}.result-hero{text-align:center;padding:55px 20px 35px}.result-hero h1{font-size:26px;letter-spacing:0;margin-bottom:0}.big-score{line-height:1.2}.big-score strong{font:700 clamp(100px,15vw,150px)/1.3 Georgia,serif;color:var(--gold)}.big-score span{font-size:24px;color:#b8a27a}.result-hero h2{margin:0;font-size:24px}.result-hero p{color:var(--muted);font-size:13px}.answers-section{max-width:850px;margin:auto;padding:0 24px 70px}.answers-section h2{font-size:23px}.answers-section h2 span{font-size:13px;color:var(--muted);font-weight:400;margin-left:15px}.review-row{border-top:1px solid var(--line);padding:21px 0;display:grid;grid-template-columns:36px 1fr 50px;gap:12px}.review-no{color:#97846a;font:22px Georgia,serif}.review-row h3{margin:0 0 7px;font-size:16px;font-weight:500}.review-row p{margin:3px 0;color:var(--muted);font-size:14px}.review-row .correct-answer{color:#e9cc7a}.review-points{color:var(--gold);text-align:right}.result-actions{display:flex;gap:14px;margin-top:30px}.result-actions button{flex:1}.ranking-wrap{max-width:780px;margin:auto;padding:50px 24px 70px}.ranking-wrap h1{font-size:54px}.ranking-wrap>p{color:var(--muted);font-size:14px}.rank-head,.rank-row{display:grid;grid-template-columns:70px 1fr 80px;align-items:center;gap:12px;padding:18px 15px;border-bottom:1px solid var(--line)}.rank-head{font-size:13px;color:var(--muted)}.rank-row>span:first-child{font:24px Georgia,serif;color:var(--gold)}.rank-row>span:last-child{text-align:right;color:var(--gold);font-weight:700}.rank-head>span:last-child{text-align:right}.rank-row.me{background:#f6c65712}.my-rank{padding:16px 18px;border:1px solid #f6c65755;border-radius:12px;margin:25px 0;color:#edd19a}.ranking-wrap>.ghost{margin-top:25px}.goodbye{display:grid;place-items:center;text-align:center;background:radial-gradient(ellipse,#423318,#161410 65%);padding:30px}.goodbye h1{font-size:52px}.goodbye p{color:#c2b69b}.goodbye button{margin-top:22px}
@media(max-width:760px){.cover{padding:23px 23px 20px}.cover-art{object-position:60% center}.cover-shade{background:linear-gradient(0deg,#100d0b 3%,#100d0bd9 50%,#100d0b22),linear-gradient(90deg,#100d0b55,transparent)}.cover .brand{font-size:15px}.brand small{font-size:8px}.edition{font-size:11px;padding:5px 10px}.brand-icon{width:35px;height:35px;font-size:20px}.cover-copy{margin:200px 0 0;padding:15px 0 35px}.cover-copy h1{font-size:46px;letter-spacing:-1px}.cover-copy>p{font-size:16px}.start-row{flex-direction:column}.cover-stats{gap:22px}.cover-footer span{display:none}.cover-footer{font-size:11px}.game-header{padding:17px 20px}.brand-text{font-size:14px}.brand-text span{display:none}.player{gap:10px;font-size:12px}.play-layout{display:flex;flex-direction:column;min-height:0}.frog-stage{min-height:310px;height:36svh;max-height:370px}.stage-caption{top:23px;left:24px;font-size:58px;letter-spacing:-3px}.stage-caption span{font-size:11px;letter-spacing:2px}.idle{width:128px;top:53%}.stage-tag{bottom:12px;font-size:11px}.speech{top:25%;right:12%;font-size:24px;padding:8px 16px}.question-panel{width:100%;padding:25px 24px 36px}.question-panel h2{font-size:27px;margin:23px 0 8px}.question-note{margin:0 0 18px}.panel-footer{margin-top:25px}.options{gap:10px}.option label{padding:13px}.result-hero{padding-top:40px}.answers-section h2 span{display:block;margin:5px 0 0}.ranking-wrap h1{font-size:44px}.rank-head,.rank-row{grid-template-columns:48px 1fr 60px;padding:15px 8px}.result-actions{flex-direction:column}.simple-header{padding:20px 24px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* One continuous scene: the quiz floats over the same footage as the character. */
.game{position:relative;background:#29241e;isolation:isolate}.game-header{position:relative;z-index:4;background:#14120dd9;backdrop-filter:blur(18px)}.play-layout{position:relative;display:flex;align-items:center;min-height:calc(100svh - 81px);max-width:none;margin:0;padding:45px 5vw 75px;isolation:isolate}.frog-stage{position:absolute;inset:0;min-height:0;max-height:none;height:auto;z-index:-1;background:#393125}.stage-grid{display:none}.frog-stage::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#181510c9 0%,#18151088 36%,#18151015 65%,#18151033 100%),linear-gradient(0deg,#181510a6 0%,transparent 40%);pointer-events:none}.idle{position:absolute;inset:0;transform:none;width:100%;height:100%;aspect-ratio:auto;mix-blend-mode:normal}.idle img{inset:0;max-width:none;width:100%;height:100%;object-fit:cover;object-position:62% 50%}#reaction{object-fit:cover;object-position:62% 50%;background:#393125}.stage-caption{z-index:2;top:auto;bottom:28px;left:auto;right:5vw;color:#ffe4a336;font-size:68px;line-height:1}.stage-caption span{color:#e4d5b0a6;letter-spacing:2px;font-size:12px;margin-top:6px}.stage-tag{z-index:2;bottom:25px;left:5vw;width:auto;color:#d0c3a5;font-size:12px}.question-panel{position:relative;z-index:3;width:min(460px,43vw);padding:32px;background:linear-gradient(135deg,#1a1712eb,#1a1712c9);border:1px solid #ffe4a330;border-radius:22px;box-shadow:0 24px 70px #0004;backdrop-filter:blur(15px)}.question-panel h2{font-size:33px;margin-top:28px}.speech{z-index:3;top:14%;right:12%;font-size:28px}.panel-footer{margin-top:28px}.player{align-items:center}.player .text-button{font-size:12px;font-weight:400}.question-note{color:#bfb49f}.options{gap:10px}
@media(max-width:760px){.game-header{padding:16px 20px;background:#14120de6}.play-layout{display:flex;justify-content:center;align-items:flex-end;padding:245px 16px 48px;min-height:calc(100svh - 62px)}.frog-stage{position:absolute;inset:0;min-height:0;max-height:none;height:auto}.idle img,#reaction{object-position:62% 25%}.frog-stage::after{background:linear-gradient(0deg,#181510e6 0%,#1815109c 42%,#18151005 75%)}.question-panel{width:100%;max-width:470px;padding:22px 24px;background:linear-gradient(135deg,#211b12e8,#211b12cc);border-radius:20px;backdrop-filter:blur(18px)}.question-panel h2{font-size:26px;margin-top:20px}.question-note{font-size:13px}.stage-caption{font-size:38px;top:22px;bottom:auto;right:18px;left:auto;text-shadow:0 2px 12px #0004;color:#fff1cc88}.stage-caption span{font-size:10px;letter-spacing:1px}.stage-tag{bottom:14px;left:20px;font-size:10px}.speech{top:17%;right:12%;font-size:24px}.panel-footer{margin-top:21px;font-size:11px}.player{gap:10px}}

/* The original portrait is clipped in the page, preserving its original pixels. */
.game{background:#f1e3c3}
.play-layout{padding:38px 4vw;min-height:calc(100svh - 72px)}
.frog-stage{background:radial-gradient(ellipse at 70% 40%,#fffdf4 0%,#f3e7cc 52%,#d9bd80 100%)}
.frog-stage::after{background:linear-gradient(90deg,#33230b29,transparent 60%);z-index:0}
.actor-frame{position:absolute;right:0;top:50%;transform:translateY(-50%);width:min(66vw,930px);aspect-ratio:512/330;isolation:isolate}
.idle{inset:auto;left:58%;top:50%;transform:translate(-50%,-50%);width:auto;height:90%;aspect-ratio:540/1040;overflow:hidden;mix-blend-mode:multiply;opacity:1;transition:opacity 200ms ease;z-index:1}
.idle img{position:absolute;inset:auto;left:-37.037037%;top:-46.153846%;width:174.444444%;height:auto;max-width:none;object-fit:initial;filter:contrast(1.025) saturate(1.025)}
#reaction{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;opacity:0;transition:opacity 200ms ease;z-index:2;background:transparent;border-radius:26px}
.actor-frame.is-playing #reaction{opacity:1}
.actor-frame.is-playing .idle{opacity:0}
.play-reaction{position:absolute;bottom:8%;left:50%;transform:translateX(-50%);z-index:5;font-size:13px;padding:12px 16px;white-space:nowrap}
.play-reaction:hover:not(:disabled){transform:translateX(-50%)}
.stage-tag{color:#61491e;z-index:2;left:auto;right:5vw;bottom:18px;font-size:11px}
.speech{right:8%;top:12%;font-size:25px;z-index:4}
.question-panel{width:min(440px,39vw);background:linear-gradient(140deg,#292113f2,#19160ff2);box-shadow:0 20px 60px #4c310e33}
.question-panel h2{font-size:30px}
.player #playerName{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:760px){
 .game-header{padding:13px 16px;gap:10px;min-height:54px}
 .player{gap:9px;font-size:12px;min-width:0}.player #playerName{max-width:70px}
 .play-layout{padding:calc(min(64.5vw,335px) + 12px) 14px 24px;min-height:calc(100svh - 54px);align-items:flex-start;justify-content:center}
 .actor-frame{top:0;right:50%;width:min(100%,520px);transform:translateX(50%);aspect-ratio:512/330}
 .idle{height:92%;left:58%;top:50%;width:auto}
 .idle img{width:174.444444%;height:auto;object-fit:initial;object-position:initial}
 #reaction{object-fit:contain;object-position:center;border-radius:0 0 20px 20px}
 .frog-stage::after{background:linear-gradient(0deg,#d4ad6044,transparent 65%)}
 .question-panel{width:100%;max-width:510px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#2c2315f5,#18150ff5)}
 .question-panel h2{font-size:23px;line-height:1.4;margin:15px 0 8px;letter-spacing:0}
 .question-top{font-size:11px;letter-spacing:1.5px}.progress{margin-top:12px}
 .question-note{font-size:12px;margin:0 0 14px}
 .answer-input{padding:12px;font-size:16px}.option label{padding:11px 12px;font-size:15px}
 .submit{margin-top:14px;padding:13px}
 .feedback{margin-top:14px;padding-top:14px}.feedback b{font-size:21px}.feedback p{font-size:13px;margin:8px 0}
 .feedback button{padding:13px;margin-top:8px}
 .panel-footer{margin-top:16px;padding-top:12px;font-size:10px}
 .stage-tag{display:none}.speech{top:18px;right:7%;font-size:20px;padding:7px 14px}
}
@media(max-height:540px) and (min-width:761px){.play-layout{min-height:600px}.actor-frame{top:290px}}
@media(max-width:760px) and (max-height:600px) and (orientation:landscape){
 .play-layout{padding:24px 20px;justify-content:flex-start;min-height:500px}
 .actor-frame{width:58%;right:0;top:40px;transform:none}
 .question-panel{width:44%;max-width:none}.question-panel h2{font-size:21px}
}
/* Blend the original white screenshot into the warm scene without changing the photo. */
.actor-frame{mix-blend-mode:multiply}
