#hanzi-game{--ink:#253a30;--paper:#f7f4ec;--line:#d8d6c8;--red:#9f4939;color:var(--ink);max-width:1040px;margin:auto;padding:40px 24px 72px;font-family:Arial,sans-serif}#hanzi-game *{box-sizing:border-box}#hanzi-game button,#hanzi-game a{touch-action:manipulation}#hanzi-game button{font:inherit;cursor:pointer}#hanzi-game button:disabled{cursor:default}#hanzi-game :focus-visible{outline:3px solid #ac5e32;outline-offset:5px}#hanzi-game h1,#hanzi-game h2,#hanzi-game h3{font-family:Georgia,serif;font-weight:400;letter-spacing:-.025em}#hanzi-game h1{font-size:clamp(36px,5.5vw,62px);line-height:1.08;margin:15px 0}#hanzi-game h2{font-size:30px;margin:10px 0}#hanzi-game p{line-height:1.65}#hanzi-game .hg-kicker{font-size:11px;letter-spacing:.18em;text-transform:uppercase}#hanzi-game .hg-top{display:flex;justify-content:space-between;gap:20px;font-size:12px;letter-spacing:.08em}.hg-bar{height:3px;background:#dedfd4;margin:16px 0 25px}.hg-bar span{display:block;background:#476b50;height:100%;transition:width .2s}#hanzi-game .hg-heading{text-align:center}.hg-sub{color:#626b62;margin:12px 0 22px}.hg-choices{display:grid;grid-template-columns:1fr 1fr;gap:22px;max-width:620px;margin:24px auto}.hg-choice{background:#fff;border:1px solid var(--line);padding:12px 12px 0;border-radius:3px;color:var(--ink);overflow:hidden;transition:border-color .15s,box-shadow .15s}.hg-choice:hover:not(:disabled){border-color:#476b50;box-shadow:0 5px 20px #253a3010}.hg-art{display:flex;position:relative;height:270px;align-items:center;justify-content:center;background:#fff}.hg-art img{height:100%;width:100%;object-fit:contain}.hg-char{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-family:'Noto Serif CJK SC','Songti SC','SimSun',serif;font-size:100px!important;line-height:1;color:#171d18;text-shadow:0 0 10px white,0 0 25px white,0 0 35px white}.hg-choice-label{display:block;border-top:1px solid #e9e7df;margin-top:12px;padding:17px 5px;font-size:18px}.hg-choice.correct{border:2px solid #416f4d}.hg-choice.wrong{border:2px solid var(--red)}.hg-choice[disabled]{opacity:1;color:var(--ink)}#hanzi-game .hg-save-row{text-align:center;font-size:12px;color:#687166}#hanzi-game .hg-save{border:1px solid var(--line);background:transparent;color:var(--ink);padding:12px 18px;border-radius:30px;margin-bottom:5px}#hanzi-game .hg-save[aria-pressed=true]{background:#e6eadf}.hg-feedback{border-top:1px solid var(--line);margin:26px auto 0;padding-top:24px;max-width:700px}.hg-explain{display:flex;align-items:center;gap:25px}.hg-diagram{flex:0 0 115px;color:#56734f}.hg-diagram svg{width:115px;height:115px}.hg-explain small{font-size:10px;letter-spacing:.1em;text-transform:uppercase}.hg-explain p{margin:8px 0}.hg-source{font-size:12px;color:inherit}.hg-note{font-size:12px;color:#687166}#hanzi-game .hg-primary{background:var(--ink);color:#fff;border:0;padding:16px 28px;min-height:48px}#hanzi-game .hg-actions{display:flex;justify-content:center;gap:15px;flex-wrap:wrap;margin:28px 0}#hanzi-game .hg-link{border:0;background:none;color:var(--ink);padding:14px;text-decoration:underline}.hg-intro{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center;padding:30px 0}.hg-intro-art{position:relative;background:#eeeee4;padding:35px;display:flex;justify-content:center;gap:15px}.hg-intro-art .hg-art{width:42%;height:300px;padding:8px;box-shadow:0 8px 15px #00000010}.hg-intro-art .hg-art:nth-child(2){transform:translateY(25px)}.hg-intro-art .hg-char{font-size:90px!important}.hg-style-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:30px 0}.hg-style{border:1px solid var(--line);padding:12px;background:white;color:var(--ink)}.hg-style .hg-art{height:240px}.hg-style[aria-pressed=true]{outline:3px solid #476b50;outline-offset:3px}.hg-style strong{display:block;margin-top:15px;font-family:Georgia,serif;font-size:20px;font-weight:400}.hg-style p{font-size:12px}.hg-results{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.hg-result{display:block;color:inherit;text-decoration:none;border:1px solid var(--line);padding:15px;background:white}.hg-result img{height:200px;width:100%;object-fit:contain}.hg-result strong{display:block;font:20px Georgia,serif;margin:15px 0 8px}.hg-result span{font-size:12px}.hg-score{font:80px Georgia,serif;margin:20px 0}.hg-score-label{font-size:14px}.hg-preview-nav{padding:20px 5%;display:flex;justify-content:space-between;border-bottom:1px solid #ddd;color:#253a30;font-family:Georgia,serif}.hg-preview-nav a{color:inherit;text-decoration:none}.hg-preview-footer{text-align:center;padding:25px;font:12px Arial;border-top:1px solid #ddd}.hanzi-callout{display:flex;gap:28px;align-items:center;justify-content:space-between;background:#eeeee4;padding:38px 6%;margin:28px 0}.hanzi-callout h2{font:32px Georgia,serif;margin:10px 0}.hanzi-callout .hanzi-mark{font:68px serif;color:#37513a}.hanzi-callout a{white-space:nowrap}.hg-error{text-align:center;padding:40px}
@media(max-width:600px){#hanzi-game{padding:26px 16px 50px}.hg-intro{grid-template-columns:1fr;gap:15px;padding:0}.hg-intro-art{padding:20px;margin-bottom:15px}.hg-intro-art .hg-art{height:180px}.hg-intro-art .hg-char{font-size:66px!important}.hg-choices{gap:12px;margin:20px 0}.hg-art{height:220px}.hg-char{font-size:82px!important}.hg-choice{padding:8px 8px 0}.hg-choice-label{padding:14px 0;font-size:17px}.hg-style-grid{gap:8px}.hg-style{padding:6px}.hg-style .hg-art{height:160px}.hg-style strong{font-size:16px}.hg-style p{font-size:11px}.hg-explain{gap:15px;align-items:flex-start}.hg-diagram{flex-basis:75px}.hg-diagram svg{width:75px;height:90px}.hg-results{grid-template-columns:repeat(2,1fr);gap:12px}.hg-result{padding:10px}.hg-result img{height:160px}.hanzi-callout{flex-wrap:wrap;gap:12px}.hanzi-callout .hanzi-mark{display:none}}
@media(prefers-reduced-motion:reduce){#hanzi-game *{transition:none!important}}
/* v2: legible outlined characters; source-backed hints; share and editorial feature cards. */
#hanzi-game .hg-char{-webkit-text-stroke:2px #fff9e9;paint-order:stroke fill;text-shadow:0 2px 3px #ffffffd0;font-weight:600;pointer-events:auto}#hanzi-game .hg-choice-wrap{position:relative;min-width:0}#hanzi-game .hg-choice{width:100%}#hanzi-game .hg-hint-toggle{display:block;width:100%;min-height:44px;border:0;background:transparent;color:#38563b;font-size:12px;text-decoration:underline;text-underline-offset:4px}#hanzi-game .hg-clue{position:absolute;z-index:10;top:40px;left:50%;transform:translateX(-50%);width:min(280px,100%);border:1px solid #cac6b9;background:#fffdf5;box-shadow:0 8px 35px #1c281a26;padding:16px;text-align:center;border-radius:5px;color:#29392c}#hanzi-game .hg-clue[hidden]{display:none}#hanzi-game .hg-clue img{display:block;margin:8px auto;object-fit:contain;background:#fff}#hanzi-game .hg-clue img[hidden]{display:none}#hanzi-game .hg-clue p{font-size:12px;line-height:1.45;margin:6px 0}#hanzi-game .hg-clue a{color:#38563b;font-size:12px}#hanzi-game .hg-clue .hg-kicker{font-size:10px;letter-spacing:.08em}#hanzi-game #hg-feedback,#hanzi-game [data-focus]{scroll-margin-top:140px}#hanzi-game .hg-sharing{margin:24px auto 32px;padding:20px;border-block:1px solid #d8d6c8;text-align:center;max-width:650px}#hanzi-game .hg-sharing .hg-actions{margin:10px 0}#hanzi-game .hg-share-status{font-size:12px}#hanzi-game .hg-copy-fallback textarea{display:block;width:100%;padding:12px;border:1px solid #bbb;background:white;font:14px/1.6 Arial}#hanzi-game .hg-copy-fallback[hidden]{display:none}#hanzi-game .hg-koi-cover{min-height:360px;position:relative;background:#d7bf8f url('./assets/koi-front.webp') 34% 57%/450% auto;border-radius:100px 0 100px 0;overflow:hidden}#hanzi-game .hg-cover-caption{position:absolute;bottom:0;left:0;right:0;padding:24px 18px;background:linear-gradient(transparent,#fffaf0ee);font:italic 17px Georgia,serif;text-align:center}#hanzi-game .hg-intro{gap:55px;padding-block:40px}.aas-room-feature,.aas-game-feature{color:#283c30;margin:40px auto;max-width:1400px;background:#f1eee4;overflow:hidden}.aas-room-feature{display:grid;grid-template-columns:1fr 1.7fr;gap:44px;padding:42px 5%}.aas-room-feature h2,.aas-game-feature h2{font:clamp(30px,3.4vw,46px)/1.12 Georgia,serif;font-weight:400;letter-spacing:-.03em;margin:16px 0}.aas-room-feature p,.aas-game-feature p{font:15px/1.7 Arial,sans-serif;color:#626a5d}.aas-room-feature small,.aas-game-feature small{display:block;font:11px/1.6 Arial,sans-serif;color:#687062;margin-top:14px}.aas-camera-link{display:flex;width:60px;height:60px;align-items:center;justify-content:center;border:1px solid #98a08e;border-radius:50%;margin-bottom:22px;color:#34513a}.aas-camera-link svg{width:32px;height:32px}.aas-camera-link:hover{background:#e4e6d8}.aas-camera-link:focus-visible{outline:3px solid #ae653c;outline-offset:4px}.aas-room-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-content:center}.aas-room-steps figure{margin:0;min-width:0}.aas-room-steps figure>span{font:10px Arial,sans-serif;letter-spacing:.12em;display:block;margin-bottom:14px}.aas-room-steps figure>svg{display:block;width:100%;height:auto;border:1px solid #ded8c9;border-radius:4px}.aas-room-steps figcaption{font:13px/1.6 Arial,sans-serif;margin-top:14px}.aas-room-steps>p{grid-column:1/-1;text-align:center;font-size:11px;margin-top:2px}.aas-game-feature{display:grid;grid-template-columns:1fr 1.3fr;min-height:330px;background:#f6f3ea}.aas-koi-detail{background:#d6bb85 url('./assets/koi-front.webp') 34% 57%/450% auto;position:relative;min-height:300px}.aas-koi-detail:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent 70%,#f6f3ea)}.aas-game-copy{padding:46px 10%;align-self:center}.aas-game-copy .button,.aas-room-copy .button{display:inline-block;min-height:48px}.aas-upload-target{outline:3px solid #a6623f;outline-offset:6px;scroll-margin:150px}.aas-room-feature .eyebrow,.aas-game-feature .eyebrow{font:10px Arial,sans-serif;letter-spacing:.15em}
@media(max-width:760px){.aas-room-feature{grid-template-columns:1fr;padding:30px 20px;gap:30px}.aas-room-copy h2 br{display:none}.aas-room-steps{gap:10px}.aas-room-steps figure>span{font-size:9px;letter-spacing:.06em}.aas-room-steps figcaption{font-size:11px}.aas-game-feature{grid-template-columns:1fr}.aas-koi-detail{min-height:190px;max-height:200px;background-position:34% 57%}.aas-koi-detail:after{background:linear-gradient(0deg,#f6f3ea,transparent 45%)}.aas-game-copy{padding:28px 24px 35px}.aas-room-feature,.aas-game-feature{margin:24px 12px}#hanzi-game .hg-koi-cover{min-height:220px;border-radius:65px 0 65px 0}#hanzi-game .hg-intro{gap:25px;padding-block:8px}#hanzi-game .hg-clue{top:25px;padding:10px}#hanzi-game .hg-clue img{width:95px;height:95px}}
/* Keep hints below the choices so hovering never intercepts an answer click. */
#hanzi-game .hg-clue{position:relative;top:auto;left:auto;transform:none;width:100%;margin:8px 0}
#hanzi-game .hg-ancient svg{max-width:100%;height:120px}
/* v3: explicit hints and standalone tactile answer buttons. */
#hanzi-game .hg-photo-card{background:#fff;border:1px solid #dedbd1;padding:12px;border-radius:6px;pointer-events:none}
#hanzi-game .hg-answer{display:block;width:100%;min-height:56px;margin-top:18px;padding:14px 20px;border:1px solid #879885;border-bottom:4px solid #5a7059;border-radius:12px;background:linear-gradient(#fafbf4,#e5eada);box-shadow:0 5px 9px #24392b20,inset 0 1px 0 #fff;color:#283d2e;font-size:20px;font-weight:600;transition:transform .14s,box-shadow .14s,background .14s}
#hanzi-game .hg-answer:hover:not(:disabled){background:linear-gradient(#fffef5,#d9e5cc);transform:translateY(-2px);box-shadow:0 7px 13px #24392b2a,inset 0 1px 0 white}
#hanzi-game .hg-answer:active:not(:disabled){transform:translateY(3px);box-shadow:0 1px 2px #24392b25,inset 0 2px 4px #24392b20}
#hanzi-game .hg-answer.correct{background:#315a3b;color:white;border-color:#26452d;box-shadow:inset 0 2px 4px #0002;transform:translateY(2px)}
#hanzi-game .hg-answer.correct:after{content:' ✓'}
#hanzi-game .hg-answer.wrong{background:#a34b3e;color:white;border-color:#79392f;box-shadow:inset 0 2px 4px #0002;transform:translateY(2px)}
#hanzi-game .hg-answer.wrong:after{content:' ✕'}
#hanzi-game .hg-answer:disabled:not(.correct):not(.wrong){opacity:.65}
#hanzi-game .hg-clue-request{max-width:420px;margin:12px auto 24px;text-align:center}
#hanzi-game .hg-clue-request .hg-hint-toggle{width:auto;margin:auto;border:1px solid #b1b6a5;border-radius:24px;padding:10px 24px;background:#f4f2e8;text-decoration:none;font-size:14px}
#hanzi-game .hg-clue-request .hg-clue{margin-top:16px}
.aas-reference-room,.aas-reference-game{max-width:2048px;margin:22px auto;color:#293c30;background:#f7f3e9}
.aas-reference-desktop{position:relative;overflow:hidden;width:100%}
.aas-reference-top{aspect-ratio:2048/340}
.aas-reference-bottom{aspect-ratio:2048/320}
.aas-reference-desktop>img{position:absolute;left:0;width:100%;max-width:none;height:auto;pointer-events:none}
.aas-reference-top>img{top:0}
.aas-reference-bottom>img{top:-113.4375%}
.aas-hotspot{display:block;position:absolute;z-index:1;border-radius:3px;transition:box-shadow .15s,background .15s}
.aas-hotspot:hover{background:#ffffff10;box-shadow:0 4px 14px #193b322b}
.aas-hotspot:active{background:#233c3022;box-shadow:inset 0 3px 8px #0003}
.aas-hotspot:focus-visible{outline:3px solid #b26c37;outline-offset:4px}
.aas-hotspot-camera{left:6%;top:38%;width:5.5%;height:34%;border-radius:50%}
.aas-hotspot-upload{left:83.5%;top:46.5%;width:14%;height:21%}
.aas-hotspot-game{left:5.65%;top:28%;width:6.05%;height:39%;border-radius:50%}
.aas-hotspot-play{left:84.7%;top:34%;width:12.6%;height:23%}
.aas-reference-mobile{display:none;padding:28px 22px}
.aas-reference-mobile h2{font:36px/1.15 Georgia,serif;margin:18px 0}
.aas-reference-mobile p{font:15px/1.7 Arial,sans-serif;color:#626c60}
.aas-reference-mobile .eyebrow{font:11px Arial,sans-serif;letter-spacing:.14em}
.aas-reference-mobile .button{display:inline-block;padding:16px 22px;background:#304c3a;color:white;text-decoration:none;min-height:48px;margin-top:18px}
.aas-reference-mobile .aas-room-steps{margin-top:26px}
.aas-mobile-koi{position:relative;height:210px;margin:-28px -22px 28px;background:#e5d5b6 url('./assets/home-design.png') left bottom/235% auto no-repeat}
.aas-mobile-game{position:absolute;left:22px;top:65px;width:90px;height:90px;display:flex;align-items:center;justify-content:center;border:1px solid #6e7d69;border-radius:50%;background:#f8f5e5eb;color:#304a36;font:24px Georgia,serif;box-shadow:0 4px 10px #0002;text-decoration:none}
@media(max-width:1000px){.aas-reference-desktop{display:none}.aas-reference-mobile{display:block}.aas-reference-room,.aas-reference-game{margin:20px 12px}}
@media(prefers-reduced-motion:reduce){.aas-hotspot,#hanzi-game .hg-answer{transition:none}}
