@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600&display=swap');
:root{font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;color:#342e29;background:#f5eee4;font-synthesis:none;--accent:#a63f30;--muted:#796d63;--line:#dbcec0;--paper:#fffaf2}*{box-sizing:border-box}body{margin:0}button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:3px solid #a63f30;outline-offset:5px}button:disabled{opacity:.4;cursor:default}button,a{touch-action:manipulation}#app{max-width:1040px;margin:auto;min-height:100svh;padding:32px 48px 24px;display:flex;flex-direction:column}.top{display:flex;align-items:center;justify-content:space-between;gap:14px}.brand{font-family:Georgia,serif;font-style:italic;font-size:22px;letter-spacing:-1px}.top-meta,.eyebrow{font-size:12px;letter-spacing:2px;text-transform:uppercase;color:var(--muted)}.brand span{color:var(--accent)}.home{width:100%;max-width:600px;margin:auto;padding:42px 0 30px}.eyebrow{display:flex;align-items:center;gap:12px}.eyebrow:before{content:'';width:30px;height:1px;background:var(--accent)}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:'Noto Serif SC','Songti SC',serif;font-weight:500}h1{font-size:clamp(40px,7vw,64px);letter-spacing:3px;line-height:1.4;margin:18px 0 12px}h1 em{color:var(--accent);font-style:normal}.intro{color:var(--muted);line-height:1.8;font-size:16px}.section-label{margin:34px 0 14px;display:flex;justify-content:space-between;align-items:baseline;font-size:15px}.section-label small{color:var(--muted);font-size:13px}.moods{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mood{position:relative;text-align:left;border:1px solid var(--line);background:transparent;padding:20px;border-radius:16px;color:inherit;transition:background .2s,border-color .2s}.mood[aria-checked=true]{background:#eee0cf;border:1.5px solid var(--accent);padding:19.5px}.mood .icon{color:var(--accent);font-size:26px;display:block;margin-bottom:12px}.mood b{display:block;font-size:17px;font-weight:500;margin-bottom:6px}.mood small{font-size:13px;color:var(--muted)}.mood .num{position:absolute;right:18px;top:21px;color:var(--muted);font-family:Georgia,serif;font-size:13px}.primary{display:flex;align-items:center;justify-content:center;gap:22px;width:100%;min-height:56px;border:0;border-radius:12px;background:var(--accent);color:#fffaf2;font-size:16px;padding:16px 20px}.primary:hover{background:#8c3327}.start{margin-top:22px}.quiet{color:var(--muted);background:none;border:0;padding:12px;min-height:44px;font-size:14px}.quiet:hover{color:var(--accent)}.foot{text-align:center;color:var(--muted);font-size:12px;letter-spacing:1px;margin-top:16px;line-height:1.8}.bottom{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:18px}.play{width:100%;max-width:560px;margin:auto;padding:28px 0}.progress-head{display:flex;align-items:center;justify-content:space-between;font-size:14px;color:var(--muted);margin-bottom:12px}.steps{display:flex;gap:6px;margin-bottom:24px}.step{height:3px;flex:1;background:#ded2c5;border-radius:4px}.step.done{background:#b8866f}.step.current{background:var(--accent)}.card{background:var(--paper);border:1px solid #e4d8ca;border-radius:22px;padding:32px;min-height:355px;box-shadow:0 12px 35px #63442308;animation:enter .25s ease-out}.card.mystery{background:#ede2d5;border-color:#b89f81}.card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.tag{font-size:14px;color:var(--accent);letter-spacing:1px}.card-no{font-family:Georgia,serif;font-size:14px;color:var(--muted);font-style:italic}.hint{font-size:14px;color:var(--muted);line-height:1.7;margin-bottom:12px}.question{font-size:clamp(23px,4.3vw,29px);line-height:1.65;margin-bottom:24px}.options{display:grid;gap:10px}.option{border:1px solid var(--line);background:transparent;border-radius:10px;padding:14px;text-align:left;display:flex;align-items:center;gap:14px;font-size:16px;line-height:1.5;color:inherit;min-height:52px}.option span{font-family:Georgia,serif;color:var(--muted);font-size:14px}.option[aria-pressed=true]{background:#efe1d2;border-color:var(--accent)}.action-space{margin-top:22px}.skip{text-align:center;margin-top:8px}.pass-symbol{font-size:56px;font-family:Georgia,serif;color:var(--accent);margin:12px 0 24px}.center{text-align:center}.center .question{margin-top:12px}.center .hint{margin:0 auto 26px;max-width:340px}.reveal{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.answer{padding:18px 12px;border-radius:12px;background:#f1e7db;font-size:17px;line-height:1.5}.answer small{display:block;font-size:13px;color:var(--muted);margin-bottom:9px}.notice{font-size:16px;color:var(--accent);line-height:1.7}.reaction-label{font-size:14px;color:var(--muted);margin:24px 0 12px}.reactions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.reaction{border:1px solid var(--line);background:transparent;border-radius:10px;min-height:49px;padding:10px 8px;font-size:14px;color:inherit}.reaction:hover{background:#eee0cf}.summary{max-width:560px;width:100%;margin:auto;padding:40px 0;text-align:center}.summary .eyebrow{justify-content:center}.summary h1{font-size:42px}.badge{display:inline-block;margin:22px 0 28px;padding:12px 18px;border:1px solid #bc8c71;border-radius:30px;color:var(--accent);font-size:15px}.stats{display:grid;grid-template-columns:repeat(3,1fr);padding:26px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.stat strong{display:block;font:38px Georgia,serif;margin-bottom:9px}.stat{font-size:14px;color:var(--muted)}.stat+.stat{border-left:1px solid var(--line)}.summary-note{font-size:13px;line-height:1.8;color:var(--muted);margin:18px 0 26px}.summary .intro{margin-top:8px}.underlined{border-bottom:1px solid var(--line);border-radius:0}.resume{margin:16px 0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@keyframes enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(min-width:900px){.home{max-width:720px}.home h1{margin-top:22px}.moods{grid-template-columns:repeat(4,1fr)}.mood{padding:19px 16px}.mood[aria-checked=true]{padding:18.5px 15.5px}.mood small{font-size:12px}.home .start{max-width:360px;margin:26px auto 0}.home>.foot{text-align:center}.home .section-label{margin-top:40px}}@media(max-width:600px){#app{padding:22px 22px max(20px,env(safe-area-inset-bottom))}.home{padding:28px 0 24px}h1{margin-top:15px}.top-meta{font-size:11px;letter-spacing:1px}.section-label{margin-top:26px}.mood{padding:16px}.mood[aria-checked=true]{padding:15.5px}.mood .icon{margin-bottom:8px}.card{padding:25px 21px;min-height:350px}.card-head{margin-bottom:24px}.play{padding-top:25px}.bottom{font-size:11px;letter-spacing:0}.summary h1{font-size:36px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
/* Illustrated play surfaces: the existing warm palette stays, with mood accents. */
#app[data-mood=sweet]{--accent:#a44258}#app[data-mood=fun]{--accent:#936023}#app[data-mood=deep]{--accent:#376960}
.art-tile{display:block;width:100%;aspect-ratio:1;background-image:url('./illustration-atlas.png');background-size:400% 400%;background-position:var(--tile-x) var(--tile-y);background-repeat:no-repeat;border-radius:10px;background-color:#ecdfd0}
.home-opening{display:flex;align-items:center;justify-content:space-between;gap:20px}.home-caption{color:var(--accent);font-size:15px;margin:10px 0 18px}.art-stack{position:relative;width:250px;height:245px;flex-shrink:0}.mini-card{position:absolute;background:#fffaf2;padding:9px 9px 12px;width:157px;border:1px solid #ded1c0;border-radius:13px;box-shadow:0 10px 20px #73534215;transform:rotate(-11deg);left:0;top:5px}.mini-card:last-child{transform:rotate(10deg);left:93px;top:57px}.mini-card>span:last-child{display:block;text-align:center;font-size:12px;color:#645245;margin-top:10px}.home .intro{font-size:15px}.home .foot{letter-spacing:0;font-size:13px}.mood{transition:transform .18s,background .18s,border-color .18s}.mood:hover{transform:translateY(-3px)}.mood[aria-checked=true]{box-shadow:0 3px 0 #a7846230}.primary{transition:transform .18s,background .18s}.primary:active{transform:scale(.98)}
.option-label{display:flex;align-items:center;gap:12px;color:inherit!important;font-family:inherit!important;font-size:16px!important}.option-label>span{flex:none}.picture-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.picture-options .option{display:block;padding:7px;border-radius:15px;position:relative;overflow:hidden;background:#fffaf5}.picture-options .art-tile{transition:transform .25s}.picture-options .option:hover .art-tile{transform:scale(1.025)}.picture-options .option[aria-pressed=true]{background:#eddbca;box-shadow:0 0 0 1px var(--accent)}.picture-options .option[aria-pressed=true]:after{content:'✓';position:absolute;right:13px;top:13px;width:25px;height:25px;border-radius:50%;background:var(--accent);color:white;text-align:center;line-height:25px}.picture-options .option-label{padding:9px 3px 3px;gap:8px;font-size:14px!important}.picture-options+.action-space{margin-top:18px}.answer .art-tile{margin-bottom:12px}.chat-cue{margin-top:20px;padding:16px 18px;border-left:2px solid #bd9777;background:#f4eadf;border-radius:0 12px 12px 0}.chat-cue small{color:var(--muted);font-size:12px}.chat-cue p{font-size:15px;line-height:1.8;margin-top:6px}.end-early{display:block;margin:0 auto;font-size:12px}.secret-card{background:#673d38!important;color:#fff6e8;border-color:#673d38!important;position:relative;overflow:hidden}.secret-card .card-no,.secret-card .tag,.secret-card .hint,.secret-card .eyebrow{color:#ead1b5}.secret-card .primary{background:#f3debf;color:#593a2f}.secret-face{padding:6px 0 16px}.secret-face .eyebrow{justify-content:center;font-size:11px}.secret-face .eyebrow:before{display:none}.secret-spark{display:block;font:100px Georgia,serif;color:#f1ce9c;line-height:1.2;margin:8px auto 22px;animation:glow 3s ease-in-out infinite}.secret-face h2{font-size:26px;margin:22px 0 16px}.secret-face .hint{margin-bottom:26px}.summary-art{width:108px;margin:0 auto 26px;transform:rotate(-6deg);padding:7px;background:#fffaf2;border-radius:16px;box-shadow:0 7px 20px #63442315}.keepsake{background:#fff8ee;margin:30px auto;border:1px solid #e2d3c0;border-radius:24px;padding:30px 24px}.reaction-toast{position:fixed;left:50%;bottom:max(24px,env(safe-area-inset-bottom));transform:translateX(-50%);background:#44362e;color:#fff5e6;padding:13px 22px;border-radius:40px;font-size:14px;box-shadow:0 4px 20px #35291c20;z-index:10;white-space:nowrap;pointer-events:none;animation:toast 1.6s both}.draw-in{animation:draw-card .38s cubic-bezier(.22,.68,.24,1)}.flip-in{animation:flip-card .42s ease-out;transform-origin:center}.slide-away{animation:slide-out .18s ease-in forwards!important}.settle-away{animation:settle-out .18s ease-in forwards!important}.in-sync .answer:first-child{animation:meet-left .5s ease-out}.in-sync .answer:last-child{animation:meet-right .5s ease-out}
@keyframes draw-card{from{opacity:0;transform:translateY(22px) rotate(-2deg)}to{opacity:1;transform:none}}@keyframes flip-card{from{opacity:0;transform:perspective(800px) rotateY(-35deg)}to{opacity:1;transform:perspective(800px) rotateY(0)}}@keyframes slide-out{to{opacity:0;transform:translateX(-24px) rotate(-3deg)}}@keyframes settle-out{to{opacity:0;transform:translateY(-8px) scale(.98)}}@keyframes glow{50%{transform:scale(1.08) rotate(8deg);opacity:.8}}@keyframes meet-left{from{transform:translateX(-12px)}to{transform:none}}@keyframes meet-right{from{transform:translateX(12px)}to{transform:none}}@keyframes toast{0%{opacity:0;translate:0 10px}15%,75%{opacity:1;translate:0 0}100%{opacity:0;visibility:hidden}}
@media(max-width:600px){.art-stack{width:125px;height:170px}.mini-card{width:96px;left:-7px;padding:5px 5px 9px}.mini-card:last-child{left:29px;top:53px}.mini-card>span:last-child{font-size:10px;margin-top:6px}.home-opening{gap:8px}.home h1{font-size:36px;letter-spacing:1px}.home-caption{font-size:13px}.home .section-label{margin-top:22px}.home{padding-top:22px}.picture-options{gap:9px}.picture-options .option-label{font-size:13px!important;gap:6px}.play .question{font-size:23px;margin-bottom:20px}.play .card-head{margin-bottom:20px}.keepsake{padding:26px 18px}.keepsake h1{font-size:33px}.card{padding:24px 19px}.secret-face h2{font-size:23px}.home .foot{font-size:12px}}@media(max-width:360px){.art-stack{width:100px}.mini-card:last-child{left:14px}.home h1{font-size:31px}.picture-options .option-label{font-size:12px!important}}
@media(prefers-reduced-motion:reduce){.draw-in,.flip-in,.slide-away,.settle-away,.in-sync .answer,.secret-spark{animation:none!important}.reaction-toast{animation:toast 1.6s both!important}.mood:hover,.picture-options .option:hover .art-tile{transform:none}}

.player-count{text-align:center;font-size:12px;color:var(--muted);margin:12px 0 0;min-height:16px;letter-spacing:.3px}
.player-count:empty{display:none}
.header-controls{display:flex;align-items:center;gap:16px}.language-toggle{border:1px solid var(--line);border-radius:30px;background:transparent;color:var(--accent);padding:8px 13px;font-size:13px;min-height:40px}.language-toggle:hover{background:var(--paper)}html[lang=en] h1{letter-spacing:0}html[lang=en] .home h1{font-size:clamp(36px,6vw,60px);line-height:1.15}html[lang=en] .mood b{font-size:15px}html[lang=en] .mood small{line-height:1.6;display:block}html[lang=en] .picture-options .option-label{line-height:1.4}html[lang=en] .question{font-family:Georgia,serif;line-height:1.4}html[lang=en] .foot{letter-spacing:0}html[lang=en] .card-no{font-size:12px}html[lang=en] .reactions .reaction{font-size:13px}@media(max-width:600px){.header-controls{gap:8px}.header-controls .top-meta{display:none}html[lang=en] .home-opening{align-items:flex-start}html[lang=en] .home h1{font-size:34px}html[lang=en] .home-opening>div:first-child{min-width:0}html[lang=en] .section-label{gap:12px}html[lang=en] .section-label small{flex-shrink:0;font-size:11px}html[lang=en] .home .moods{align-items:stretch}html[lang=en] .secret-face h2{font-size:24px}html[lang=en] .badge{line-height:1.6}html[lang=en] .bottom{flex-wrap:wrap}}
