*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;color:#294c39;background:#9bb79b;font:14px/1.65 HanweiVietnamese,"Segoe UI",sans-serif}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #c89857;outline-offset:3px}a{color:inherit;text-decoration:none}.v-header{position:fixed;z-index:20;left:22px;right:22px;top:14px;display:flex;align-items:center;gap:22px;height:65px;padding:0 18px;background:#fffcf1ed;border:1px solid #fffdf3;border-radius:15px;box-shadow:0 7px 35px #283d2612;backdrop-filter:blur(12px)}.v-brand img{width:116px;height:58px;object-fit:contain}.v-town{font-size:11px;letter-spacing:.1em;font-weight:700}.v-town span{display:none}.v-tools{margin-left:auto;display:flex;gap:17px;align-items:center;font-size:10px}.v-tools button{padding:8px 11px;border:1px solid #d7ddc8;border-radius:25px;background:#edf0e1}.v-exit{font-size:10px}#v-app{height:100svh}.g-world{position:relative;height:100%;width:100%;overflow:hidden;isolation:isolate}.g-bg{position:absolute;inset:0;background-size:cover;background-position:center;z-index:-2;transition:opacity .4s,filter .5s}.g-world:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#1c352f66,transparent 35%);z-index:-1;pointer-events:none}.g-top{position:absolute;top:94px;left:24px;right:24px;display:flex;align-items:center;gap:10px;z-index:4;pointer-events:none}.g-top>*{pointer-events:auto}.g-location{background:#fffaf0e8;border:1px solid #fff9e8;border-radius:12px;padding:10px 16px;font-size:12px;box-shadow:0 4px 16px #1b352413}.g-location small{display:block;font-size:9px;color:#7b856a;letter-spacing:.08em}.g-hud{margin-left:auto;display:flex;gap:8px}.g-hud button{background:#fffaf0ef;padding:11px 16px;border:1px solid #fff9eb;border-radius:11px;font-size:11px;box-shadow:0 3px 15px #1b35241a;min-height:42px}.g-pin{position:absolute;transform:translate(-50%,-50%);background:transparent;padding:0;z-index:3;display:flex;align-items:center;flex-direction:column;gap:6px;filter:drop-shadow(0 5px 8px #23412445)}.g-pin i{font-style:normal;display:grid;place-items:center;background:#fffdf0;border:2px solid white;border-radius:50%;width:38px;height:38px;font-size:12px}.g-pin span{padding:5px 11px;background:#fffdf0ef;border:1px solid white;border-radius:8px;font-size:10px;white-space:nowrap}.g-pin.done i{background:#527251;color:white}.g-hotspot{position:absolute;transform:translate(-50%,-50%);left:53%;top:42%;background:#fffaf0ec;border:1px solid white;padding:12px 20px;border-radius:30px;box-shadow:0 5px 35px #24442f29;font-size:12px;z-index:4}.g-hotspot:before{content:'';display:inline-block;width:8px;height:8px;background:#79975e;border-radius:50%;margin-right:8px;box-shadow:0 0 0 5px #a9bc7c40;animation:glow 3s infinite}.g-player{position:absolute;top:71%;left:40%;width:105px;height:145px;transform:translate(-50%,-90%);transition:left .85s ease,top .85s ease;z-index:2;pointer-events:none;filter:drop-shadow(0 9px 5px #17372b30)}.g-player svg{width:100%;height:100%}.g-player.walking svg{animation:walk .22s ease-in-out 4 alternate}.g-player-name{text-align:center;font-size:9px;background:#fffbedde;border-radius:15px;padding:1px 8px;position:absolute;left:50%;transform:translateX(-50%);bottom:-6px;white-space:nowrap}.g-npc{position:absolute;top:70%;left:76%;width:135px;height:145px;padding:0;background:transparent;transform:translate(-50%,-90%);z-index:3;filter:drop-shadow(0 8px 5px #17372b33)}.g-npc img{width:100%;height:100%;object-fit:contain}.g-npc span{position:absolute;top:-13px;left:42%;background:white;border-radius:50%;width:30px;height:30px;line-height:30px;font-weight:700}.g-dialog{position:absolute;z-index:5;bottom:23px;left:50%;transform:translateX(-50%);width:min(920px,calc(100% - 44px));border:1px solid #fff9e9;border-radius:18px;background:#fffcf1f2;box-shadow:0 12px 45px #173a2a33;padding:20px 23px;display:grid;grid-template-columns:68px 1fr auto;gap:18px;align-items:center;backdrop-filter:blur(14px)}.g-dialog img{width:70px;height:75px;object-fit:contain}.g-speaker{color:#6c8457;font-size:10px;font-weight:700;letter-spacing:.1em;margin-bottom:3px}.g-dialog p{margin:0;font-size:13px;max-width:600px}.g-dialog small{display:block;font-size:9px;color:#839074;margin-top:6px}.g-btn{background:#365d43;color:#fffcf2;border:1px solid #365d43;padding:11px 17px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:11px;min-height:42px}.g-btn.light{background:#eff1e4;color:#365d43;border-color:#ced8bd}.g-btn.bare{background:transparent;color:#59704e;border-color:#d8dfc8}.g-overlay{position:absolute;inset:0;z-index:30;background:#173d2e55;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:22px}.g-overlay[hidden]{display:none}.g-window{width:min(650px,100%);max-height:82svh;overflow:auto;background:#fffdf3;border:1px solid #fff9e7;border-radius:21px;box-shadow:0 25px 100px #172d2740;padding:27px;position:relative}.g-window.wide{width:min(870px,100%)}.g-window h2{font-size:23px;line-height:1.4;margin:5px 35px 18px 0}.g-window h3{font-size:15px;margin:18px 0 10px}.g-window p{font-size:12px;margin:10px 0 15px}.g-close{position:absolute;right:15px;top:13px;background:#edf0e1;border-radius:50%;width:33px;height:33px;font-size:20px}.g-eyebrow{font-size:9px;color:#85916f;letter-spacing:.15em;font-weight:700;text-transform:uppercase}.g-row{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.g-options{display:grid;gap:9px;margin:15px 0}.g-options button,.g-tile{padding:13px 16px;background:#f0f2e6;border:1px solid #d7dfc9;border-radius:10px;text-align:left;font-size:13px}.g-options button.correct{background:#e3ecd6;border-color:#6a9361}.g-options button.incorrect{background:#fff0d8;border-color:#d1b07b}.g-feedback{font-size:12px;color:#5a794c;padding-top:12px}.g-note{font-size:11px!important;color:#738165;background:#eef1e3;border-radius:10px;padding:13px 15px}.g-progress{height:5px;background:#e3e8d7;border-radius:5px;overflow:hidden;margin:16px 0}.g-progress i{display:block;height:100%;background:#8da877;transition:width .4s}.g-pinyin{font-size:39px;line-height:1.5;color:#365e43;font-weight:500;letter-spacing:.03em}.g-cn{font:27px/1.8 'Microsoft YaHei','PingFang SC',sans-serif}.g-building{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:17px 0}.g-slot{padding:10px;border:1px dashed #a2b98e;border-radius:10px;background:#f3f5e9;text-align:center}.g-slot small{display:block;font-size:9px;color:#839371}.g-slot b{font-size:21px}.g-tray{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.g-tile{font-size:17px;padding:9px 15px;text-align:center;min-width:45px}.g-tile.selected{background:#3c674b;color:white;border-color:#3c674b}.g-bench{background:#e6d2b2;border:1px solid #c5a882;border-radius:12px;padding:20px;text-align:center;box-shadow:inset 0 0 20px #9c79571a;margin:16px 0}.g-check label{display:flex;gap:10px;align-items:flex-start;padding:11px 0;font-size:12px;border-bottom:1px solid #e4e8d9}.g-check input{accent-color:#567b47;margin-top:5px}.g-stamps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:17px 0}.g-stamp{padding:17px 10px;text-align:center;border:1px dashed #bacaaa;border-radius:12px;color:#7d8a72;font-size:11px}.g-stamp.has{background:#e8eedc;border:1px solid #a2bc88;color:#3e6847}.g-stamp strong{display:block;font-size:20px;margin-bottom:4px}.g-ref{font-size:11px;border-top:1px solid #d9e1cf;padding:14px 0}.g-ref summary{cursor:pointer;font-weight:600}.g-tone-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin:18px 0}.g-tone-grid button{background:#eff2e5;padding:9px 3px;border:1px solid #d8e1c9;border-radius:10px;font-size:10px}.g-tone-grid svg{width:100%;height:40px}.g-tone-grid b{display:block;font-size:20px}.g-contour{fill:none;stroke:#6b8c52;stroke-width:4;stroke-linecap:round}.g-avatar-layout{display:grid;grid-template-columns:220px 1fr;gap:27px}.g-avatar-preview{background:radial-gradient(ellipse,#d7e4c5,#edf1df);border-radius:17px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:335px;position:sticky;top:0}.g-avatar-preview svg{width:170px;height:245px;filter:drop-shadow(0 11px 7px #506a3b33)}.g-avatar-preview span{font-size:10px;color:#758765;margin:10px}.g-avatar-controls h3{font-size:11px;font-weight:500;margin:17px 0 7px}.g-avatar-controls button{border:1px solid #d7dfcc;border-radius:8px;background:#f2f4e9;padding:7px 12px;font-size:10px;min-height:35px}.g-avatar-controls button.selected{border:2px solid #67885b;background:#e6edda}.g-colors{display:flex;gap:8px}.g-avatar-controls .g-color{width:32px;height:32px;min-height:32px;border-radius:50%;padding:0;border:3px solid #fff;outline:1px solid #d6deca}.g-avatar-controls .g-color.selected{outline:2px solid #547849}.g-name{font:inherit;font-size:12px;background:white;color:#34573d;border:1px solid #becdb0;padding:11px 12px;border-radius:9px;width:100%}.g-audio-status{position:fixed;bottom:7px;left:50%;transform:translateX(-50%);z-index:50;border-radius:9px;background:#254c3ee8;color:#fff9e9;font-size:10px;padding:7px 13px;max-width:90vw;pointer-events:none}.g-audio-status:empty{display:none}.g-scrollhint{position:absolute;bottom:190px;left:25px;font-size:9px;color:#fffcec;text-shadow:0 1px 4px #1b392c}.g-record audio{width:100%;margin:10px 0}.g-dusk{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 70% 30%,transparent 20%,#17372f11);z-index:0}.g-mute{font-size:10px;color:#7c8a6f}@keyframes glow{50%{box-shadow:0 0 0 9px #a9bc7c10}}@keyframes walk{from{transform:translateY(0) rotate(-2deg)}to{transform:translateY(-5px) rotate(2deg)}}@media(max-width:650px){.v-header{left:10px;right:10px;top:9px;height:56px;padding:0 10px;gap:8px}.v-brand img{width:95px;height:49px}.v-town{font-size:9px}.v-tools{gap:8px}.v-tools button{font-size:9px;padding:7px 9px}.v-exit{display:none}.g-top{top:76px;left:12px;right:12px;align-items:start;gap:7px}.g-location{font-size:10px;padding:8px 10px;max-width:46%}.g-location small{font-size:8px}.g-hud{gap:5px}.g-hud button{font-size:9px;padding:8px 10px;min-height:39px}.g-hud button:last-child{display:none}.g-player{width:76px;height:105px}.g-npc{width:95px;height:105px;top:auto;left:auto}.g-dialog{bottom:15px;left:12px;transform:none;width:calc(100% - 24px);padding:16px;grid-template-columns:45px 1fr;gap:12px}.g-dialog img{width:48px;height:58px}.g-dialog p{font-size:11px}.g-dialog .g-btn{grid-column:2;justify-self:start;padding:8px 13px;min-height:36px;font-size:10px}.g-dialog small{font-size:8px}.g-pin span{font-size:9px;padding:4px 7px}.g-pin i{width:30px;height:30px;font-size:10px}.g-hotspot{font-size:11px;left:50%;top:39%;white-space:nowrap}.g-overlay{padding:12px}.g-window{max-height:89svh;padding:22px 20px}.g-window h2{font-size:20px}.g-avatar-layout{grid-template-columns:110px 1fr;gap:16px}.g-avatar-preview{min-height:265px;max-height:300px}.g-avatar-preview svg{width:105px;height:166px}.g-avatar-preview span{font-size:8px;text-align:center;margin:6px}.g-avatar-controls .g-row{gap:5px}.g-avatar-controls button{font-size:9px;padding:6px 8px}.g-avatar-controls h3{margin:12px 0 6px}.g-stamps{gap:7px}.g-stamp{padding:14px 7px;font-size:9px}.g-stamp strong{font-size:17px}.g-tone-grid button{font-size:8px}.g-scrollhint{bottom:210px;font-size:8px}.g-bg{background-position:56% center}.g-building{gap:7px}.g-slot{padding:7px}.g-slot b{font-size:18px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.g-avatar-tabs{display:flex;gap:5px;margin:14px 0 4px;border-bottom:1px solid #d6dfc8;padding-bottom:10px}.g-avatar-controls .g-avatar-tabs button{padding:8px 11px}.g-avatar-controls .g-row{margin:7px 0 12px;gap:6px}.g-avatar-controls .g-colors{flex-wrap:wrap;gap:7px}.g-avatar-preview{max-height:380px}.g-avatar-preview span+span{font-size:9px;opacity:.65;margin:0 7px 10px}.g-btn[hidden]{display:none}.g-pin{transition:filter .2s,scale .2s}.g-pin:hover{scale:1.06;filter:drop-shadow(0 7px 10px #23412466)}

.g-overlay{position:fixed}.character-window .g-avatar-layout{max-height:52svh;overflow:auto;padding-right:7px;scrollbar-width:thin;scrollbar-color:#b3c3a0 transparent}.character-window .g-avatar-preview{align-self:start}.character-window .g-avatar-actions{padding-top:13px;border-top:1px solid #e4e8d6}.character-window>p{margin-bottom:0}
@media(max-width:650px){.g-avatar-layout{grid-template-columns:95px 1fr}.g-avatar-preview svg{width:95px;height:155px}.g-avatar-controls .g-colors{gap:5px}.g-avatar-controls .g-color{width:26px;height:26px;min-height:26px}.g-avatar-controls .g-avatar-tabs button{padding:7px 9px}.character-window .g-avatar-layout{max-height:49svh}.character-window .g-avatar-actions{margin-bottom:6px}.character-window .g-mute{font-size:9px}}
@media(max-height:700px){.character-window .g-avatar-layout{max-height:41svh}}

.g-avatar-preview{background:radial-gradient(ellipse at 45% 30%,#e9edda,#d7e1bf);border:1px solid #dce4c9}.g-avatar-preview svg{width:185px;height:260px;filter:drop-shadow(0 10px 7px #5d70452b)}.g-player svg{filter:drop-shadow(0 2px 1px #4351371a)}@media(max-width:650px){.g-avatar-preview svg{width:108px;height:160px}.g-avatar-preview{min-height:275px}.g-avatar-layout{grid-template-columns:112px 1fr;gap:14px}}

.g-avatar-preview svg,.g-player svg{filter:none!important}.g-avatar-preview svg{width:100%;height:270px}.g-avatar-preview{min-height:340px;background:#e6ecd5}.g-avatar-controls button:disabled{cursor:default}.g-player svg{overflow:hidden}@media(max-width:650px){.g-avatar-preview svg{height:190px}.g-avatar-preview{min-height:270px}}

.g-avatar-preview svg,.g-player svg{overflow:hidden!important}

.g-avatar-controls .hw-art-tray{gap:7px}.g-avatar-controls .hw-art-option{width:88px;min-height:109px;padding:7px 5px;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:5px;background:#f0f3e5}.hw-art-option img{display:block;max-width:71px;width:100%;height:72px;object-fit:contain}.hw-art-option span{font-size:9px;line-height:1.4;min-height:25px;display:grid;place-items:center;text-align:center}.g-avatar-controls .hw-art-option.selected{background:#dfe9d1;border-color:#69895c;box-shadow:inset 0 0 0 1px #8fa27b}.g-avatar-preview svg{height:285px;max-height:100%;object-fit:contain}@media(max-width:650px){.g-avatar-controls .hw-art-option{width:65px;min-height:87px;padding:5px 3px}.hw-art-option img{height:52px;width:54px}.hw-art-option span{font-size:8px}.g-avatar-controls .hw-art-tray{gap:5px}.g-avatar-preview svg{height:195px}.g-avatar-layout{grid-template-columns:112px 1fr;gap:12px}}
