:root{font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:#304f40;background:#f0f3e8;font-synthesis:none;--green:#28634e;--gold:#edbe62;--paper:#fffaf0;--edge:#dce2d2;--ink:#304f40}
*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;touch-action:manipulation}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible{outline:3px solid #bf7729;outline-offset:4px}[hidden]{display:none!important}a{color:var(--green)}
.sample-shell{max-width:640px;margin:auto;padding:0 28px 30px}.sample-header{height:80px;display:flex;justify-content:space-between;align-items:center;gap:12px}.sample-brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:20px;font-weight:600}.sample-brand small{display:block;font-size:13px;font-weight:400;color:#6c7d68;margin-top:5px}.brand-stamp{display:grid;place-items:center;width:44px;height:48px;border-radius:13px 13px 17px 9px;background:var(--green);color:#fff8e8;font-family:KaiTi,serif;font-size:32px;transform:rotate(-5deg)}
.quiet-button{border:1px solid var(--edge);border-radius:99px;padding:10px 16px;background:#fafbf5;min-height:44px;font-size:14px;white-space:nowrap}.playbook{background:#fffefa;border:1px solid var(--edge);border-radius:26px;box-shadow:0 12px 36px #25483008;overflow:hidden}.book-top{display:flex;align-items:center;justify-content:space-between;padding:20px 30px;border-bottom:1px solid #edf0e5;font-size:14px}.collection{display:flex;gap:8px}.collection span{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#eff2e8;color:#69775e;font-family:KaiTi,serif;font-size:20px}.collection .found{background:#e4eed8;color:#326547}.collection .current{outline:2px solid #cdac59;outline-offset:2px}
.card-play{display:flex;flex-direction:column;align-items:center;gap:16px;padding:24px 24px 28px;user-select:none;-webkit-user-select:none}.picture-column{display:flex;justify-content:center;align-items:flex-start}.pull-card{--face:340px;--travel:210px;--pull:0px;--slip:#efd27b;position:relative;width:var(--face);height:calc(var(--face) + 54px + var(--pull));flex-shrink:0;transition:height .32s ease;isolation:isolate;overflow-anchor:none;user-select:none;-webkit-user-select:none}.picture-face{position:absolute;top:0;left:0;width:100%;height:var(--face);z-index:3;border:1px solid #e3dbc7;border-radius:22px;background:var(--paper);box-shadow:-7px 5px 0 #e4ead8,0 9px 15px #334f2910;overflow:hidden}.art-wrap{position:absolute;inset:18px;width:calc(100% - 36px);height:calc(100% - 36px)}.art-wrap>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;pointer-events:none}#art-touch{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent;border-radius:16px}#hotspots{position:absolute;inset:0;pointer-events:none}.hotspot{pointer-events:auto;position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:52px;height:52px;border-radius:50%;border:2px dashed #aa7d32;background:#fff1c24d;font-size:16px;font-weight:600;color:#795519;display:grid;place-items:center;box-shadow:0 0 0 4px #fff9ea55}.hotspot[aria-pressed=true]{border-style:solid;border-color:#d9ac42;background:#ffe8a026;box-shadow:none}.hotspot::before,.hotspot::after{pointer-events:none}.hotspot.guided{border-color:#b67c20;box-shadow:0 0 0 6px #f9d97855}.hotspot.guided::before{content:"";position:absolute;inset:-7px;border:2px solid #e4b94c;border-radius:50%;animation:clue-glow 1.3s ease 3}.hotspot.guided::after{content:"👆";position:absolute;right:-7px;bottom:-25px;font-size:29px;line-height:1.2;filter:drop-shadow(0 2px 2px #654b2922);animation:clue-tap 1.3s ease 3}
.drawer{position:absolute;top:calc(var(--face) - var(--travel));left:10%;width:80%;height:calc(var(--travel) + 52px);background:var(--slip);border:1px solid #48532a1c;border-radius:14px;transform:translateY(var(--pull));transition:transform .32s cubic-bezier(.2,.75,.25,1);box-shadow:0 5px 0 #3043200c;z-index:1}.answer{height:var(--travel);display:grid;place-items:center;text-align:center}.answer #secret{font-family:Georgia,serif;font-size:68px;color:#43543288}.answer-content,#answer-content{width:100%;height:100%;padding:10px 8px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px}#answer-pinyin{font-size:25px;line-height:1.25;letter-spacing:1px;color:#384b37}#answer-character{border:0;background:transparent;border-radius:12px;font-family:KaiTi,STKaiti,serif;font-weight:400;font-size:84px;line-height:1.05;padding:1px 14px;min-height:92px}#answer-word{font-size:18px;line-height:1.65;white-space:nowrap;padding-top:9px}#answer-word>span,#memory-words>span{display:inline-block;border-radius:5px}ruby{ruby-position:over;ruby-align:center;margin:0 2px}rt{font-family:system-ui,sans-serif;font-size:13px;font-weight:400;line-height:1.2;letter-spacing:0}#memory-words{padding-top:10px}.reading{background:#fff4ba!important;box-shadow:0 0 0 4px #fff4ba}.pull-handle{width:100%;height:52px;position:absolute;bottom:0;left:0;display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-top:1px dashed #65703b40;background:transparent;border-radius:0 0 14px 14px;font-size:14px;font-weight:500;touch-action:none;cursor:grab}.pull-handle:disabled{opacity:1;cursor:default}.grip{width:26px;height:10px;border-top:2px solid currentColor;border-bottom:2px solid currentColor;opacity:.45}.dragging,.dragging .drawer{transition:none}.dragging .pull-handle{cursor:grabbing}.ready .pull-handle,.pull-guided .pull-handle{background:#fff7d277}.pull-arrow{font-size:32px;line-height:1}.pull-gesture{display:block;position:absolute;right:22px;bottom:10px;font-size:30px;line-height:1;pointer-events:none}.pull-guided .pull-gesture{display:block;animation:pull-demo 1.3s ease 3}.dragging .pull-gesture{visibility:hidden}.revealed .picture-face{border-color:#d9bb78}.revealed .pull-arrow,.revealed .pull-gesture{display:none}
.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}h1{font-size:25px;line-height:1.4;margin:0 0 10px}.card-controls{display:flex;justify-content:center;gap:12px;width:min(100%,340px)}.card-controls button{min-height:56px;display:flex;align-items:center;justify-content:center;gap:9px}.card-controls .primary-button{flex:1}.card-controls .quiet-button{min-width:96px;border-radius:14px}.control-icon{font-size:28px;line-height:1}.primary-button{display:flex;align-items:center;justify-content:center;gap:15px;min-height:48px;border:0;border-radius:13px;background:var(--green);color:#fffaf0;padding:12px 20px;font-size:16px}.book-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 28px;border-top:1px solid #e8ecde;font-size:13px;color:#748066}.book-footer .quiet-button{background:transparent;border-color:transparent;padding:8px 0;font-size:13px}
.pulse #card-art{animation:picture-hello .35s ease}.pulse .picture-face{box-shadow:-7px 5px 0 #e4ead8,0 0 0 5px #eacb7955}.finish{padding:34px 30px;text-align:center}.finish-mark{display:block;font-size:48px;color:#be8f31;margin-bottom:15px}.finish>p{color:#6c7c60;line-height:1.7}.finish-cards{display:flex;justify-content:center;gap:18px;margin:24px auto}.finish-cards button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:80px;min-height:104px;background:#faf1d8;border:1px solid #dfcfab;border-radius:16px;font-family:KaiTi,serif;font-size:42px}.finish-cards .review-pinyin{font-family:system-ui,sans-serif;font-size:19px;line-height:1.4}.finish-cards button[aria-pressed=true]{outline:3px solid #347052;outline-offset:3px}.memory-picture{max-width:300px;margin:0 auto 22px;background:var(--paper);padding:12px;border:1px solid #e4dfc9;border-radius:18px}.memory-picture img{display:block;width:100%;height:190px;object-fit:contain;mix-blend-mode:multiply}.memory-picture p{margin:10px 0;font-size:17px}.finish>.primary-button{margin:20px auto 0}dialog{max-width:560px;width:calc(100% - 32px);max-height:85vh;overflow:auto;border:1px solid #d6dfc8;border-radius:20px;background:#fffdf4;color:var(--ink);padding:25px}dialog::backdrop{background:#1d352955}dialog h2{font-size:22px;padding-right:65px}dialog p,dialog li{font-size:15px;line-height:1.8}dialog ul{padding-left:22px}.close-dialog{float:right}#glyph-credits li{margin:12px 0}#glyph-credits img{object-fit:contain;vertical-align:middle;margin-right:10px}
#reward-layer{position:absolute;inset:0;z-index:6;pointer-events:none;overflow:hidden;border-radius:22px}.star-burst{position:absolute;width:0;height:0}.star-burst::before{content:"";position:absolute;width:24px;height:24px;border:3px solid #ffcf54;border-radius:50%;animation:star-flash .35s ease-out both}.spark{position:absolute;left:0;top:0;width:var(--size);height:var(--size);background:#ffc126;clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 94%,50% 72%,21% 94%,32% 57%,2% 35%,39% 35%);animation:star-pop .55s cubic-bezier(.12,.65,.35,1) both;will-change:transform,opacity}.spark:nth-child(3n){background:#f2a600}.spark:nth-child(3n+1){background:#ffe68a}
@keyframes star-pop{0%{opacity:1;transform:translate(-50%,-50%) scale(.3)}60%{opacity:1;transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) rotate(var(--turn)) scale(1.05)}100%{opacity:0;transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) rotate(var(--turn)) scale(.45)}}
@keyframes star-flash{from{opacity:.9;transform:translate(-50%,-50%) scale(.25)}to{opacity:0;transform:translate(-50%,-50%) scale(2.2)}}
.thumb-reward{position:absolute;display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#fff4ceef;box-shadow:0 0 0 4px #ffe19a88,0 5px 12px #88631922;font-size:47px;line-height:1;transform:translate(-50%,-50%);animation:thumb-cheer 1.35s ease both;pointer-events:none}
@keyframes thumb-cheer{0%{opacity:0;transform:translate(-50%,calc(-50% + 14px)) scale(.35) rotate(-16deg)}22%{opacity:1;transform:translate(-50%,-50%) scale(1.1) rotate(7deg)}40%,70%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(-6deg)}55%{opacity:1;transform:translate(-50%,calc(-50% - 5px)) scale(1.06) rotate(7deg)}100%{opacity:0;transform:translate(-50%,calc(-50% - 18px)) scale(.9)}}
@keyframes clue-glow{0%,100%{transform:scale(1);opacity:.8}55%{transform:scale(1.2);opacity:.2}}
.hotspot.cloud-bars{height:30%;min-height:72px;border-radius:28px}.hotspot.cloud-bars::before{border-radius:inherit}
.locked .pull-arrow,.locked .pull-gesture{display:none}.pull-guided .pull-arrow{animation:pull-demo 1.3s ease 3}.dragging .pull-arrow{animation:none}
@keyframes clue-tap{0%,100%{transform:translateY(5px)}45%{transform:translateY(-3px) scale(.92)}}
@keyframes pull-demo{0%,100%{transform:translateY(-5px)}60%{transform:translateY(9px)}}
@keyframes picture-hello{0%,100%{transform:translateY(0) scale(1)}45%{transform:translateY(-5px) scale(1.025)}}
@media(max-width:680px){.sample-shell{padding:0 12px 16px}.sample-header{height:68px}.sample-brand{font-size:17px;gap:9px}.sample-brand small{font-size:12px}.brand-stamp{width:36px;height:40px;font-size:29px}.sample-header .quiet-button{padding:9px 11px}.playbook{border-radius:20px}.book-top{padding:11px 18px}.card-play{gap:12px;padding:14px 18px 18px}.pull-card{--face:min(310px,calc(100vw - 76px));--travel:204px}.book-footer{padding:6px 17px;font-size:12px;gap:8px}.book-footer .quiet-button{font-size:12px}.finish{padding:25px 18px}.finish-cards{gap:12px}.finish-cards button{width:70px;min-height:98px}.hotspot{width:48px;height:48px}.finish>.primary-button{width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

@media(prefers-reduced-motion:reduce){.spark{display:none}.star-burst::before{transform:translate(-50%,-50%);box-shadow:0 0 0 6px #ffdb7444}}

.glyph-toggle{position:absolute;top:10px;right:10px;z-index:5;width:54px;height:60px;padding:5px;border:1px solid #e9dfc9;border-radius:13px;background:#fffaf0ec;display:grid;place-items:center}.glyph-toggle img{width:44px;height:48px;object-fit:contain;mix-blend-mode:multiply;pointer-events:none}.pulse .glyph-toggle{background:#fff0bd}
