:root{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;color:#514768;background:#f7f2fc;font-size:16px}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 0 8%,#def3ef,transparent 42%),radial-gradient(ellipse at 100% 35%,#ffe8dc,transparent 40%),linear-gradient(#f5f7fc,#f7f0fb 70%,#fff9e9)}button,input,select{font:inherit}button,a,select,input{-webkit-tap-highlight-color:transparent}a{color:#665494;text-decoration:none}header{padding:18px max(20px,calc((100vw - 1300px)/2));display:flex;align-items:center;justify-content:space-between;gap:16px;background:#ffffffdb;border-bottom:1px solid #e5e1ed}.brand{font-weight:900;font-size:29px}.brand span{display:block;font-size:9px;letter-spacing:.14em;color:#8e7c9e;margin-top:3px}nav{display:flex;gap:18px;font-size:14px;font-weight:700}main{max-width:1300px;margin:auto;padding:30px 24px}.hero{display:flex;align-items:center;justify-content:space-between;margin:5px 0 26px}.eyebrow{font-size:10px;letter-spacing:.11em;font-weight:850;color:#8a6cac}h1{font-size:clamp(30px,4.6vw,52px);letter-spacing:-.045em;line-height:1.15;margin:12px 0}h1>span{color:#e8a75e}h2{font-size:22px;letter-spacing:-.025em;margin:7px 0 14px}.hero p{color:#81728d;margin:12px 0;line-height:1.6;font-size:14px}.hero-art{position:relative;display:flex;padding:15px 22px}.hero-art span{display:grid;place-items:center;font-size:65px;width:90px;height:100px;border-radius:26px;background:#fff0c9;color:#d8a44a;transform:rotate(-12deg);box-shadow:0 6px 0 #ddcfdf66}.hero-art span+span{background:#e9e1f7;color:#ac8bc6;margin-left:-12px;transform:rotate(12deg)}.card{background:#fffefd;border:1px solid #e8deee;border-radius:23px;box-shadow:0 5px 0 #e4dcec70}.identity{padding:12px 18px;display:flex;gap:13px;align-items:center;margin-bottom:22px;background:linear-gradient(115deg,#fff,#fffaf0)}.avatar{display:block;width:43px;height:43px;background-size:200% 200%;border-radius:14px;background-color:#e2eced}.identity strong{display:block}.identity small{display:block;color:#8a8093;font-size:11px;margin-top:4px}.identity-note{margin-left:auto;font-size:12px}.controls{padding:18px 22px;display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:23px}.selects{display:flex;gap:20px;flex:1}label{display:block;font-size:11px;font-weight:750;color:#8a7897}.selects label{flex:1;max-width:320px}select{display:block;width:100%;padding:10px 12px;border:1px solid #e5dced;border-radius:10px;color:#645571;background:#faf7fc;margin-top:7px;font-size:13px}.play-area{padding:24px}.play-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.play-heading h2{font-size:25px;margin-bottom:13px}.progress-group{text-align:right}.progress-group strong{font-size:29px;color:#82709f;display:block;font-variant-numeric:tabular-nums}.progress-group>span{font-size:10px;color:#9a8ba3}progress{display:block;width:100%;height:6px;border:0;border-radius:8px;background:#eee7f4;accent-color:#b0c9a0}progress::-webkit-progress-bar{background:#eee7f4;border-radius:8px}progress::-webkit-progress-value{background:#b0c9a0;border-radius:8px}.scene-tools{display:flex;justify-content:space-between;gap:10px;align-items:center;min-height:58px}#status{font-size:12px;line-height:1.6;color:#897591;margin:12px 0}.pictures{display:grid;grid-template-columns:1fr 1fr;gap:20px}.picture-card{min-width:0}.picture-label{display:flex;align-items:center;gap:8px;padding:0 2px 10px;font-size:12px}.picture-label>span{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;color:#7c6596;background:#f0e8f7;font-weight:850}.picture-card:nth-child(2) .picture-label>span{background:#e6f1e7;color:#648262}.picture-label small{margin-left:auto;font-size:9px;color:#a394a9}.scene{position:relative;width:100%;aspect-ratio:4/3;background-size:100% 100%;background-color:#eee7f2;border-radius:16px;overflow:hidden;isolation:isolate;touch-action:manipulation;user-select:none;box-shadow:inset 0 0 0 1px #4f3b6210}.item{position:absolute;transform:translateX(-50%);pointer-events:none;display:grid;place-items:end center}.sprite{display:block;width:100%;height:100%;background-repeat:no-repeat;filter:drop-shadow(0 3px 2px #53402928)}.sprite.portrait{border:4px solid #fff3d7;border-bottom-width:7px;border-radius:8px;background-color:#d1eff7;box-shadow:0 2px 3px #44324b30}.sprite.portrait.purple{border-color:#a27bc5}.sprite.fruit,.sprite.plant{background-size:contain;background-position:center bottom}.sprite.chess{background-size:600% 200%;transform:translateX(var(--shift));width:100%;height:100%}.sprite.xiangqi{width:100%;height:100%;background-repeat:no-repeat}.hotspot{position:absolute;background:transparent;border:0;border-radius:50%;padding:0;cursor:crosshair;z-index:2;transform:translateX(-50%);color:#fff;box-shadow:none}.hotspot:hover{background:#ffffff0a}.hotspot.found{outline:3px solid #64a585;outline-offset:1px;box-shadow:0 0 0 3px #fff9,inset 0 0 0 2px #fff9;background:#d4f5d522}.hotspot.found:after{content:attr(data-order);position:absolute;top:-6px;right:-6px;border-radius:50%;background:#68a88a;color:#fff;display:grid;place-items:center;width:21px;height:21px;font-size:11px;font-weight:850;box-shadow:0 1px 3px #45625344}.hotspot.hinted{outline:3px dashed #d7a04c;outline-offset:2px;animation:hint-glow 1.1s ease-in-out infinite}.hotspot.missed{background:#e4b9cc44}.hotspot:disabled{opacity:1;cursor:default}.bottom-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:20px}.dots{display:flex;gap:7px}.dots span{height:12px;width:12px;border-radius:50%;background:#eee7f4}.dots span.done{background:#9dbda8}.tiny{font-size:11px;line-height:1.7;color:#9a8aa3;text-align:center;margin-bottom:0}.lower{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:23px;margin-top:25px}.themes,.sound{padding:24px}.background-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.background-card{padding:0;border-radius:12px;border:2px solid transparent;overflow:hidden;background:#f8f3fb;min-width:0}.background-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.background-card span{display:block;font-size:11px;padding:10px 4px;color:#8c759b}.background-card[aria-pressed=true]{border-color:#ad8cc3}.help{font-size:12px;color:#93839c;line-height:1.7}.sound-buttons{display:flex;gap:7px;margin:16px 0}.sound-buttons button{font-size:11px;padding:10px}.sound label{margin:18px 0 8px}input[type=range]{width:100%;accent-color:#a38ab5}button,.link-button{border:0;border-radius:12px;padding:12px 16px;font-weight:750;cursor:pointer;touch-action:manipulation}.primary{background:#82709f;color:white;box-shadow:0 4px 0 #65527f;white-space:nowrap}.primary:hover{background:#76638f}.soft{background:#f0eaf7;color:#77608f}.quiet{background:transparent;color:#83718f;font-size:11px;white-space:nowrap}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #8e72b0;outline-offset:3px}.parent-note{padding:20px 24px;margin-top:24px;font-size:12px;color:#8a7894;line-height:1.8}.parent-note summary{cursor:pointer;font-weight:750}footer{padding:28px 0;text-align:center;font-size:11px;color:#9b8ba4;line-height:2.1}#error{background:#fff0e7;border:1px solid #e5bea9;border-radius:13px;padding:15px;margin:15px 0;font-size:13px}.login{padding:25px;margin-bottom:23px}.link-button{display:inline-block}dialog{border:1px solid #e8deee;border-radius:28px;padding:32px;text-align:center;color:#665176;background:#fffdf8;max-width:90vw;width:420px;box-shadow:0 20px 100px #51476840}dialog::backdrop{background:#4d3b6166;backdrop-filter:blur(4px)}dialog h2{font-size:30px;margin-top:13px}dialog p{font-size:14px;line-height:1.8}dialog button{display:block;width:100%;margin-top:13px}.finish-art{font-size:48px;margin-bottom:22px}#layoutToggle{display:none}@keyframes hint-glow{50%{box-shadow:0 0 0 6px #edcf7b55}}@media(max-width:850px){.hero-art{display:none}.lower{grid-template-columns:1fr}.pictures{gap:14px}.play-area{padding:18px}.picture-label small{display:none}.sound-buttons button{font-size:12px}.sound{max-width:none}}@media(max-width:600px){main{padding:24px 12px}header{padding:14px 16px}.brand{font-size:24px}nav{font-size:12px;gap:12px}.hero .eyebrow{font-size:8px}h1{font-size:34px}.hero p{font-size:12px}.controls{padding:15px;display:block}.selects{gap:10px}.selects label{min-width:0}select{font-size:11px;padding:10px 5px}.controls .primary{width:100%;margin-top:15px}.play-area{padding:15px 10px}.play-heading h2{font-size:20px}.progress-group strong{font-size:24px}.progress-group>span{font-size:8px}.play-heading .eyebrow{font-size:8px}.pictures{grid-template-columns:1fr;gap:16px}.pictures.beside{grid-template-columns:1fr 1fr;gap:7px}.picture-label{font-size:11px;padding-bottom:7px}.picture-label>span{width:22px;height:22px}.scene{border-radius:12px}.sprite.portrait{border-width:3px;border-bottom-width:5px;border-radius:5px}.hotspot.found:after{width:17px;height:17px;font-size:9px;top:-3px;right:-3px}.hotspot.found{outline-width:2px}.themes,.sound{padding:20px 16px}.background-cards{gap:8px}.background-card span{font-size:9px}.lower{gap:20px}.bottom-tools{margin-top:16px}.bottom-tools button{font-size:11px;padding:12px}.dots{gap:5px}.dots span{width:10px;height:10px}#layoutToggle{display:block}.scene-tools{gap:0}#status{font-size:11px;min-height:35px;margin-right:8px}.scene-tools .quiet{font-size:9px;padding:8px 0}.tiny{font-size:9px}.identity-note{font-size:10px}.identity small{font-size:10px}.parent-note{padding:17px}.hero{margin-bottom:20px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
