*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font:16px/1.5 "Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:#afdced;--ink:#173f59;--muted:#42667a;--primary:#27798e;--primary-dark:#28617e;--line:rgba(255,255,255,.65);--glass:linear-gradient(125deg,rgba(255,255,255,.59),rgba(234,247,255,.25));--glass-solid:rgba(244,251,255,.92);--shadow:0 12px 35px #23436d16,0 2px 8px #2142650b;--accent:#cd837e;--world:url(assets/world-day.png)}
body[data-theme=dusk]{--ink:#f8f7ff;--muted:#e3e5ff;--primary:#a3c8ff;--primary-dark:#c6bdff;--line:rgba(233,233,255,.43);--glass:linear-gradient(135deg,rgba(110,120,193,.39),rgba(39,50,111,.31));--glass-solid:rgba(38,48,102,.97);--shadow:0 12px 35px #12215728,0 2px 8px #1620571a;--accent:#ffc7c6;--world:url(assets/world-dusk.png)}
button,input{font:inherit}
button{cursor:pointer;color:inherit;border:0;background:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
button:disabled{cursor:default}
a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #28728e;outline-offset:5px}
body[data-theme=dusk] :focus-visible{outline-color:#e6d4ff}
button:active:not(:disabled){transform:translateY(2px)}
button:disabled{opacity:.42}
h1,h2,h3,p{margin:0}
h1{font-weight:750;letter-spacing:-1px;line-height:1.3}
h2{font-weight:700;line-height:1.4}
img{display:block;max-width:100%}
.icon{width:24px;height:24px;flex-shrink:0;vertical-align:middle}
.flower{width:38px;height:38px;color:#ce7c83;flex-shrink:0}
.world{position:fixed;inset:0;background-image:var(--world);background-size:cover;background-position:center center;z-index:-3;transition:background-image .5s}
.world-tint{position:fixed;inset:0;background:linear-gradient(90deg,#d2f5fc30,#daecff05 70%),linear-gradient(0deg,#add8f04d,transparent 40%);z-index:-2;pointer-events:none}
body[data-theme=dusk] .world-tint{background:linear-gradient(90deg,#24296238,transparent 70%),linear-gradient(0deg,#22386238,transparent 40%)}
#ambient{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
#ambient>i{position:absolute;left:var(--x);top:var(--y);width:var(--size);height:var(--size);background:#f8ffff;border-radius:50%;box-shadow:0 0 15px 3px #d4faff88;animation:firefly 10s ease-in-out var(--delay) infinite}
.glass{background:var(--glass);border:1px solid var(--line);box-shadow:var(--shadow),inset 0 1px 0 #ffffff85,inset 0 -1px 0 #ffffff18;backdrop-filter:blur(18px) saturate(1.18);-webkit-backdrop-filter:blur(18px) saturate(1.18)}
.glass-lite{background:linear-gradient(135deg,#ffffff6b,#f1f9ff29);border:1px solid #ffffffa6;box-shadow:inset 0 1px 0 #ffffff9c,0 7px 18px #4773910f}
.dense-glass .glass{background:var(--glass-solid)}
body[data-theme=dusk] .glass-lite{background:linear-gradient(140deg,#afbcff38,#5160ab33);border-color:#e0e5ff70}
.skip{position:fixed;top:-80px;left:20px;z-index:100;padding:12px;background:var(--glass-solid);border-radius:12px}
.skip:focus{top:12px}
.header{height:78px;margin:24px auto 0;max-width:1432px;width:calc(100% - 80px);padding:0 24px;border-radius:25px;display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative;z-index:4}
.brand{display:flex;align-items:center;gap:10px;white-space:nowrap}
.brand>span{font-size:24px;font-weight:750;letter-spacing:1px}
.brand>b{font-weight:500;font-size:12px;border-left:1px solid #66839b40;margin-left:5px;padding-left:13px;color:var(--muted)}
.desktop-nav{display:flex;gap:5px;padding:5px;border-radius:17px;background:#ffffff16}
.desktop-nav>button{min-height:44px;padding:9px 18px;border-radius:13px;display:flex;align-items:center;gap:8px;white-space:nowrap;color:var(--muted);font-size:14px;transition:background .2s}
.desktop-nav .icon{width:19px;height:19px}
.desktop-nav>.active{background:#ffffff60;box-shadow:0 4px 12px #50738f0d;color:var(--ink);font-weight:700}
.header-tools{display:flex;align-items:center;gap:10px}
.gem-counter{display:flex;align-items:center;gap:2px;min-height:46px;padding-right:10px;font-size:16px}
.gem-counter .game-art{width:42px;height:42px}
.gem-counter b{font-weight:650}
.round-button{width:46px;height:46px;border-radius:15px;display:inline-grid;place-items:center;flex-shrink:0;background:#ffffff24;transition:background .2s}
.round-button:hover{background:#ffffff67}
.round-button .icon{width:21px;height:21px}
.avatar-button{width:48px;height:48px;border-radius:16px;border:1px solid #ffffffa3;background:linear-gradient(140deg,#f6edffa1,#a4d5f673);position:relative;padding:0}
.avatar-button>img{width:46px;height:46px;object-fit:contain;object-position:top;transform:scale(1.12)}
.avatar-button>b{position:absolute;right:-4px;bottom:-4px;min-width:19px;height:19px;border-radius:7px;background:#5e8da4;border:1px solid #ffffffb3;display:grid;place-items:center;font-size:10px;color:#fff}
.game-art{display:inline-block;flex-shrink:0;background-image:url(assets/game-icons.png);background-size:400% 200%;background-position:var(--x) var(--y);width:100px;height:100px;background-repeat:no-repeat}
.picture-art{display:inline-block;flex-shrink:0;background-image:url(assets/picture-atlas.png);background-size:400% 400%;background-position:var(--x) var(--y);width:100px;height:100px;background-repeat:no-repeat}
main{max-width:1432px;margin:0 auto;padding:0 26px 30px;width:calc(100% - 80px);position:relative}
.hero{height:363px;position:relative;display:flex;align-items:center;justify-content:space-between}
.hero-content{position:relative;z-index:2;padding-top:2px}
.world-pill{display:flex;align-items:center;gap:10px;border-radius:15px;min-height:43px;padding:4px 12px 4px 7px;font-size:14px;width:max-content}
.world-pill .game-art{width:31px;height:31px}
.world-pill .icon{width:15px;height:15px;margin-left:9px}
.hero h1{font-size:52px;line-height:1.3;letter-spacing:1px;margin:18px 0 23px;text-shadow:0 2px 20px #e3f9ff50}
.hero-actions{display:flex;align-items:center;gap:15px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:18px;border-radius:17px;min-height:52px;padding:12px 25px;font-size:16px;font-weight:650;position:relative;transition:box-shadow .2s,background .2s,transform .2s;white-space:nowrap;touch-action:manipulation}
.button.primary{color:#fff;background:linear-gradient(135deg,#458d9e,#2f6687);border:1px solid #ffffff9e;box-shadow:0 7px 20px #31749136,inset 0 2px 1px #ffffff50,inset 0 -2px 2px #21486130}
.button.primary:hover{box-shadow:0 10px 25px #2e78934a,inset 0 2px 1px #ffffff80}
.button.secondary{background:#ffffff4a;border:1px solid #ffffffa3;color:var(--ink);box-shadow:inset 0 1px #ffffff78}
.button .icon{width:21px;height:21px}
.button.glow{padding:14px 26px;min-width:190px;font-size:17px}
.button.glow:before{content:"";position:absolute;inset:-4px;border:1px solid #ffffff50;border-radius:21px;pointer-events:none}
.hero-actions .round-button{width:53px;height:53px;border-radius:17px}
.level-line{display:flex;align-items:center;gap:12px;margin-top:21px;font-size:12px;color:var(--muted)}
.xp-line{width:90px;height:5px;overflow:hidden;background:#ffffff5e;border:1px solid #ffffff58;border-radius:8px}
.xp-line>i{display:block;height:100%;background:#448caa;border-radius:8px}
.companion{position:absolute;left:55%;top:40px;width:285px;height:300px;padding:0;isolation:isolate}
.companion>img{position:absolute;bottom:2px;left:10px;width:265px;height:268px;object-fit:contain;filter:drop-shadow(0 12px 13px #5485b21f);animation:pet-float 5s ease-in-out infinite;transform-origin:bottom center}
.companion.greet>img{animation:pet-greet .85s ease-in-out}
.pet-shadow{position:absolute;bottom:0;left:30%;right:20%;height:17px;border-radius:50%;background:#3e72992c;filter:blur(8px);z-index:-1}
.pet-bubble{position:absolute;right:-39px;top:6px;border-radius:18px 18px 18px 3px;padding:11px 15px;font-size:14px;display:flex;align-items:center;gap:8px;z-index:1;white-space:nowrap}
.pet-bubble .icon{width:16px;height:16px;color:#c57e86}
.location-chip{position:absolute;right:0;bottom:31px;border-radius:12px;padding:8px 13px;font-size:12px;display:flex;align-items:center;gap:7px}
.location-chip .icon{width:15px;height:15px}
.mode-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px}
.mode-card{height:213px;border-radius:25px;padding:0;text-align:left;position:relative;isolation:isolate;transition:transform .25s,box-shadow .25s,background .25s;overflow:visible}
.mode-card:before{content:"";position:absolute;inset:4px;border-radius:21px;border:1px solid #ffffff30;pointer-events:none}
.mode-card:hover{transform:translateY(-7px);box-shadow:0 20px 40px #4682a127,inset 0 2px 0 #ffffffc7;background:linear-gradient(125deg,#ffffff82,#e2f5ff57)}
.mode-card>.game-art{position:absolute;top:-19px;left:17px;width:143px;height:143px;filter:drop-shadow(0 10px 10px #21678c1e);transition:transform .3s}
.mode-card:hover>.game-art{transform:translateY(-5px) rotate(-5deg)}
.mode-orb{position:absolute;width:120px;height:100px;border-radius:50%;background:#87e2dd42;filter:blur(25px);left:32px;top:10px;z-index:-1}
.coral .mode-orb{background:#ffc1bb50}
.violet .mode-orb{background:#c6abff48}
.blue .mode-orb{background:#a7caff50}
.mode-card-text{display:flex;position:absolute;left:23px;bottom:22px;flex-direction:column;gap:7px}
.mode-card-text>strong{font-size:23px;letter-spacing:.3px;font-weight:700}
.mode-card-text>span{font-size:13px;color:var(--muted)}
.mode-enter{position:absolute;right:19px;bottom:25px;width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:#ffffff56;border:1px solid #ffffffaa;box-shadow:inset 0 1px 0 #fff8}
.mode-enter .icon{width:18px;height:18px}
.home-bottom{display:flex;gap:18px;margin-top:22px;align-items:stretch}
.daily-chest,.daily-collection{display:flex;align-items:center;gap:13px;min-height:84px;text-align:left;border-radius:20px;padding:10px 18px;flex:1.25}
.daily-chest>.game-art{width:65px;height:65px}
.daily-chest>div>b,.daily-collection b{font-size:17px;font-weight:650;display:block}
.quest-dots{display:flex;gap:7px;margin-top:9px}
.quest-dots i{width:18px;height:5px;border-radius:4px;background:#ffffff70}
.quest-dots .filled{background:#6da39a}
.quest-dots .icon{display:none}
.daily-chest>span:not(.game-art){margin-left:auto;font-size:14px}
.daily-chest>.icon{width:19px;height:19px}
.daily-collection{flex:1}
.daily-collection>.picture-art{width:57px;height:57px}
.daily-collection>div>span{display:block;font-size:12px;margin-top:6px;color:var(--muted)}
.daily-collection>.icon{width:18px;height:18px;margin-left:auto}
.appearance-chip{border-radius:20px;display:flex;align-items:center;gap:10px;padding:14px 21px;font-size:14px}
.appearance-chip>.icon{width:20px;height:20px}
.appearance-chip>i{height:13px;width:13px;border-radius:50%;background:#b4e8eb;box-shadow:inset 0 1px 2px #fff;margin-left:2px}
.appearance-chip>i:last-child{background:#c6b6ee;margin-left:-17px;transform:translate(6px,7px)}
.mobile-nav{display:none}
.page-heading{margin:42px 0 30px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.kicker{font-size:14px;color:var(--muted)}
.page-heading h1{font-size:36px;margin-top:9px}
.level-switch{padding:12px 18px;min-height:50px;border-radius:16px;display:flex;align-items:center;gap:10px;font-size:14px}
.level-switch .icon{width:18px;height:18px}
.island-route{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.region-card{padding:9px;border-radius:27px;text-align:left;overflow:hidden;transition:transform .25s,border-color .2s}
.region-card.selected{border:2px solid #ffffffed;box-shadow:0 0 0 4px #c4f1f92b,0 12px 30px #356c9720}
.region-card:hover{transform:translateY(-4px)}
.region-preview{height:204px;background-size:cover;background-position:center;border-radius:20px;position:relative;overflow:hidden}
.region-preview:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#d8e9ff1f,transparent)}
.region-preview .picture-art{position:absolute;right:20px;bottom:0;width:125px;height:125px;filter:drop-shadow(0 10px 12px #163f3d30)}
.region-number{position:absolute;top:16px;left:18px;font-size:25px;font-weight:650;color:#fff;text-shadow:0 2px 20px #244f6140}
.region-info{padding:20px 18px 14px}
.region-info h2{font-size:24px}
.region-info>span:not(.region-go){font-size:14px;color:var(--muted);display:block;margin-top:7px}
.region-progress{display:flex;gap:8px;margin:20px 0}
.region-progress>i{width:29px;height:29px;display:grid;place-items:center;border-radius:10px;border:1px solid #ffffff90;background:#ffffff30;color:#7194a5;font-style:normal}
.region-progress>i .icon{width:16px;height:16px}
.region-progress>i.done{background:#6d9e9c;color:white}
.region-go{font-size:14px;display:flex;align-items:center;justify-content:space-between;padding-top:10px;border-top:1px solid #ffffff60}
.region-go .icon{width:18px;height:18px}
.map-modes{display:flex;gap:20px;align-items:center;margin-top:26px;border-radius:24px;padding:23px 30px}
.map-modes>div:first-child{width:180px;flex-shrink:0}
.map-modes h2{font-size:22px}
.map-modes p{font-size:14px;color:var(--muted);margin-top:8px}
.map-modes>div:last-child{display:flex;justify-content:space-around;gap:25px;flex:1}
.map-modes button{display:flex;align-items:center;flex-direction:column;gap:4px;min-height:100px}
.map-modes .game-art{width:78px;height:78px}
.map-modes b{font-size:14px;font-weight:600}
.collection-count{padding:10px 22px;border-radius:16px;font-size:28px}
.collection-count small{font-size:16px;color:var(--muted)}
.collection-stats{display:flex;align-items:center;justify-content:center;gap:60px;padding:14px 20px;border-radius:20px;margin-bottom:25px;font-size:14px}
.collection-stats>span{display:flex;align-items:center;gap:8px}
.collection-stats .game-art{width:45px;height:45px}
.collection-stats b{font-size:22px}
.collection-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:16px}
.collection-item{position:relative;border-radius:20px;display:flex;align-items:center;flex-direction:column;padding:13px 8px 18px;min-height:190px}
.collection-item .picture-art{width:103px;height:103px}
.collection-item b{font-size:17px;font-weight:650}
.collection-item>span:not(.picture-art){font-size:13px;margin-top:4px;color:var(--muted)}
.collection-item>i{position:absolute;top:10px;right:10px;color:var(--muted)}
.collection-item>i>.icon{width:14px;height:14px}
.collection-item.unfound .picture-art{filter:grayscale(.65);opacity:.24}
.collection-item.unfound b{font-size:25px;line-height:1}
.collection-bottom{display:flex;justify-content:center;margin-top:26px}
/* 四种游戏的舞台 */ 
.game-main{max-width:1170px;padding-top:24px}
.game-top{display:flex;align-items:center;gap:18px;margin-bottom:23px}
.game-top>.round-button{background:var(--glass);width:48px;height:48px;border-radius:16px}
.game-name{display:flex;align-items:center;gap:8px;font-size:20px;font-weight:700;white-space:nowrap}
.game-name>.game-art{width:48px;height:48px}
.round-progress{display:flex;align-items:center;gap:8px;margin-left:auto}
.round-progress>i{height:7px;width:38px;border-radius:5px;background:#ffffff5c;position:relative;display:grid;place-items:center}
.round-progress>.done{background:#4c969c}
.round-progress>.current{background:#b4d5ed;box-shadow:0 0 0 2px #ffffff73}
.round-progress .icon{display:none}
.round-number{font-size:14px;min-width:45px;color:var(--muted)}
.game-board{border-radius:30px;min-height:575px;padding:30px 37px 28px;text-align:center;position:relative;overflow:hidden}
.game-question{position:relative}
.skill-chip{display:inline-block;border-radius:10px;padding:5px 13px;font-size:13px;background:#ffffff42;border:1px solid #ffffff71;color:var(--muted)}
.game-question h1{font-size:31px;margin:12px 0 20px;letter-spacing:0}
.listen-orb{display:inline-grid;place-items:center;width:78px;height:78px;border-radius:26px;background:linear-gradient(135deg,#c0f3f787,#f1f8ff5c);border:1px solid #ffffffc7;box-shadow:inset 0 2px 2px #fff9,0 9px 22px #54859f19;position:relative;margin:0 0 21px}
.listen-orb .icon{width:35px;height:35px}
.sound-ring{position:absolute;inset:-5px;border:1px solid #ffffff91;border-radius:31px}
.speaking-audio .sound-ring{animation:sound-ripple 1s infinite}
.picture-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px;max-width:880px;margin:0 auto 22px}
.picture-choice{height:191px;border-radius:23px;position:relative;padding:14px;display:flex;align-items:center;justify-content:center;transition:transform .2s,box-shadow .2s}
.picture-choice:hover:not(:disabled){transform:translateY(-5px);box-shadow:0 15px 25px #3b779328,inset 0 1px 3px #fffc}
.picture-choice .picture-art{width:146px;height:146px;filter:drop-shadow(0 7px 6px #38627c17)}
.answer-key{position:absolute;left:12px;top:12px;width:25px;height:25px;border-radius:9px;background:#ffffff74;font-size:12px;display:grid;place-items:center}
.picture-choice.correct,.answer-chip.correct{border:2px solid #4caa99;background:#c2f5df62;opacity:1;box-shadow:0 0 0 4px #b2ffe83d}
.picture-choice:disabled:not(.correct),.answer-chip:disabled:not(.correct){opacity:.4}
.question-picture{width:156px;height:156px;filter:drop-shadow(0 9px 12px #2d617b1e);margin:-6px 0 12px}
.word-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;max-width:830px;margin:10px auto 25px}
.answer-chip{min-height:66px;border-radius:18px;padding:12px 24px;font-size:23px;font-weight:600;transition:background .2s,transform .2s}
.answer-chip:hover:not(:disabled){background:#ffffff7a;transform:translateY(-3px)}
.feedback{display:flex;align-items:center;gap:15px;padding:18px 20px;border-radius:20px;text-align:left;background:#dbffeb74;border:1px solid #ffffff9e;max-width:890px;margin:24px auto 0;animation:feedback-in .25s ease}
.feedback>span{width:40px;height:40px;border-radius:14px;background:#ffffff80;display:grid;place-items:center;color:#44867a;flex-shrink:0}
.feedback b{font-size:18px;font-weight:650}
.feedback p{font-size:14px;margin-top:4px;line-height:1.7;color:var(--muted)}
.feedback>.button{margin-left:auto;min-height:48px;font-size:14px;gap:12px}
.feedback.wrong{background:#fff0d994}
.feedback.wrong>span{color:#b88f62}
.spell-picture{position:relative;display:inline-flex;align-items:center;gap:10px}
.spell-picture>.round-button{position:absolute;right:-33px;bottom:27px;border-radius:15px}
.letter-slots{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:8px auto 23px;max-width:760px}
.letter-slot{width:55px;height:62px;border-bottom:3px solid #78a3b8;border-radius:12px;background:#ffffff3d;color:var(--ink);font-size:28px;font-weight:600;opacity:1!important}
.letter-slot.filled{border:1px solid #ffffffcf;box-shadow:0 4px 10px #55758c18;background:#ffffff7f}
.letter-bank{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;max-width:760px;margin:0 auto}
.letter-tile{width:53px;height:57px;border-radius:14px;font-size:26px;font-weight:650;color:var(--primary-dark)}
.letter-tile:disabled,.word-tile:disabled{opacity:.15;transform:scale(.9)}
.submit-row{display:flex;justify-content:center;margin-top:25px}
.submit-row .button{min-width:150px}
.phrase-board .question-picture{width:163px;height:163px}
.phrase-slots{min-height:78px;border-radius:20px;border:1px dashed #7b9bb19e;display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;padding:12px;margin:0 auto 24px;max-width:840px;background:#ffffff1f}
.phrase-slots>span{font-size:16px;color:var(--muted)}
.phrase-slots>button{min-height:49px;border-radius:12px;padding:10px 17px;background:#ffffff83;border:1px solid #ffffffa6;font-size:21px;display:flex;align-items:center;gap:8px;opacity:1}
.phrase-slots .icon{width:12px;height:12px;opacity:.4}
.token-bank{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;max-width:840px;margin:auto}
.word-tile{min-height:57px;padding:12px 23px;border-radius:15px;font-size:22px;font-weight:600}
.grammar-board{display:grid;grid-template-columns:300px minmax(0,1fr);align-items:center;gap:25px;padding:42px 38px}
.grammar-scene{height:360px;position:relative;display:flex;align-items:center;justify-content:center}
.grammar-scene .question-picture{width:245px;height:245px;z-index:1;animation:pet-float 6s ease-in-out infinite}
.magic-ring{position:absolute;left:0;top:28px;width:100%;height:300px;border:1px solid #ffffff90;border-radius:50%;background:radial-gradient(ellipse,#b1d6ee22,transparent 68%);box-shadow:0 0 0 20px #ffffff12,0 0 0 21px #ffffff38,inset 0 0 50px #ffffff17}
.tiny-potion{position:absolute;right:-5px;bottom:35px;width:82px;height:82px;z-index:2;filter:drop-shadow(0 5px 10px #5971a822)}
.grammar-content{text-align:left;padding:15px 0}
.grammar-content h1{font-size:35px;line-height:1.6;letter-spacing:0;margin:22px 0 12px}
.blank{display:inline-flex;align-items:center;justify-content:center;min-width:76px;padding:0 11px;border-bottom:3px solid #799dd3;border-radius:10px;background:#e2d9ff54;color:var(--primary-dark)}
.meaning{font-size:15px;color:var(--muted);line-height:1.8}
.grammar-options{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.grammar-options>.answer-chip{flex:1;padding:13px 17px;min-width:100px}
.grammar-content .feedback{padding:17px;flex-wrap:wrap}
.grammar-content .feedback>div{flex:1;min-width:180px}
.grammar-content .feedback>.button{margin-top:3px}
.grammar-content .feedback p{font-size:14px}
.speaking-board{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px}
.speaking-scene{position:relative;border-radius:27px;min-height:555px;padding:8px;overflow:hidden}
.scene-image{position:absolute;inset:8px;width:calc(100% - 16px);height:calc(100% - 16px);object-fit:cover;object-position:30% center;border-radius:20px}
.npc-bubble{position:relative;margin:17px;border-radius:19px;display:grid;grid-template-columns:1fr 40px;gap:5px 8px;padding:15px 18px;background:linear-gradient(140deg,#ffffffd1,#ffffffe0);color:#234861;backdrop-filter:blur(12px)}
.npc-bubble>span{font-size:12px;color:#6b8a9e}
.npc-bubble>b{font-size:21px;font-weight:600;line-height:1.6;grid-column:1}
.npc-bubble>.round-button{grid-column:2;grid-row:1/3;align-self:center;width:40px;height:44px;background:#dff3f678}
.speaking-controls{border-radius:27px;padding:36px 29px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:555px}
.speaking-controls h1{font-size:31px;line-height:1.6;letter-spacing:0;margin:21px 0 12px;max-width:430px}
.speaking-buttons{display:flex;gap:14px;align-items:center;justify-content:center;margin:34px 0 18px;width:100%}
.speaking-buttons>.button{font-size:13px;min-height:44px;padding:10px 13px;gap:8px;border-radius:13px}
.speaking-buttons>.button .icon{width:17px;height:17px}
.record-button{width:82px;height:82px;flex-shrink:0;border-radius:27px;background:linear-gradient(130deg,#87c6d7,#6d96c6);color:#fff;border:1px solid #ffffffa3;box-shadow:0 9px 25px #447ebd32,inset 0 2px 2px #ffffff83;display:grid;place-items:center}
.record-button>.icon{width:33px;height:33px}
.record-button.recording{background:linear-gradient(140deg,#eba1a4,#ba7da9);animation:record-pulse 1.4s ease-in-out infinite}
.record-status{font-size:13px;min-height:25px;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:6px}
.record-dot{width:7px;height:7px;border-radius:50%;background:#bb5e73;display:inline-block}
.mic-wave{height:43px;display:flex;align-items:center;justify-content:center;gap:4px;margin:6px 0 15px;width:100%;opacity:.4}
.mic-wave>i{height:var(--h);width:4px;border-radius:4px;background:#5d9bb2;transition:height .05s}
.mic-wave.live{opacity:1}
.speaking-note{font-size:12px;margin-top:15px;color:var(--muted)}
.mic-error{font-size:14px;line-height:1.7;color:var(--muted);margin-top:5px}
.result-card{border-radius:32px;text-align:center;padding:25px 40px 32px;max-width:740px;margin:24px auto 10px;min-height:575px}
.result-trophy{width:170px;height:170px;filter:drop-shadow(0 15px 15px #d4b95725);animation:pet-float 5s ease-in-out infinite}
.result-stars{display:flex;justify-content:center;gap:12px;margin:8px 0 22px}
.result-stars>span{display:block;opacity:.2;color:#ba9856}
.result-stars .earned{opacity:1;color:#b88d3c}
.result-stars .icon{width:27px;height:27px;fill:#ffdf8b70}
.result-card h1{font-size:32px;letter-spacing:0}
.result-card>p{font-size:15px;color:var(--muted);margin-top:13px}
.result-gems{display:flex;align-items:center;justify-content:center;gap:13px;margin:23px 0}
.result-gems .game-art{width:49px;height:49px}
.result-gems>b{font-size:36px;letter-spacing:1px}
.result-gems>span{font-size:15px;color:var(--muted)}
.result-actions{display:flex;justify-content:center;gap:17px}
.text-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:13px;color:var(--muted);padding:10px 8px}
.text-button>.icon{width:16px;height:16px}
.result-card>.text-button{margin-top:12px}
/* 透明玻璃弹窗 */ 
dialog{border:1px solid var(--line);border-radius:28px;background:var(--glass-solid);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);color:var(--ink);padding:26px;max-height:88vh;overflow:auto;width:min(510px,calc(100% - 32px));box-shadow:0 30px 100px #183d6459,inset 0 2px 1px #ffffff90}
dialog::backdrop{background:#27456b4d;backdrop-filter:blur(7px)}
.modal-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:15px}
.modal-head h2{font-size:23px;font-weight:650}
.modal-head>.round-button{background:#ffffff2b;margin-right:-7px}
.settings-appearance{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.settings-appearance>button{padding:6px;border:1px solid #a5c6d54d;border-radius:18px;overflow:hidden;background:#ffffff29;text-align:left}
.settings-appearance>button>span{display:block;height:90px;border-radius:12px;background-size:cover;background-position:center}
.settings-appearance>button>b{padding:10px 8px;display:block;font-size:14px;font-weight:600}
.settings-appearance>.selected{border:2px solid #6e9cb6}
.settings-list{margin-top:20px}
.setting-row{display:flex;align-items:center;gap:14px;width:100%;min-height:58px;border-bottom:1px solid #7797ad20;text-align:left;font-size:15px;padding:9px 2px}
.setting-row>.icon{width:21px;height:21px;color:var(--muted)}
.toggle{display:block;margin-left:auto;background:#90b5c64d;height:24px;width:43px;border-radius:14px;padding:3px;position:relative}
.toggle:after{content:"";position:absolute;left:3px;top:3px;height:18px;width:18px;border-radius:50%;background:#fff;box-shadow:0 2px 5px #193c6429;transition:transform .2s}
.toggle.on{background:#6b9daf}
.toggle.on:after{transform:translateX(19px)}
.settings-links{display:flex;justify-content:space-between;margin-top:17px}
.region-picker{display:grid;gap:12px}
.region-picker>button{display:flex;align-items:center;gap:15px;min-height:84px;border-radius:18px;padding:9px 18px;text-align:left}
.region-picker>.selected{border:2px solid #75a3b5}
.region-picker .picture-art{width:65px;height:65px}
.region-picker b{font-size:18px;font-weight:600;flex:1}
.region-picker .icon{width:20px;height:20px}
.difficulty-picker{display:flex;align-items:center;gap:12px;margin-top:20px;font-size:14px}
.difficulty-picker>span{margin-right:auto}
.difficulty-picker>button{min-height:45px;border-radius:12px;padding:10px 19px;border:1px solid #c4d8e2;background:#ffffff19}
.difficulty-picker>.selected{background:#5e8da6;color:#fff;border-color:#77a5bc}
.reward-modal{text-align:center;padding:4px 15px 15px}
.reward-modal>.game-art{width:160px;height:160px}
.reward-modal h3{font-size:21px;line-height:1.7;font-weight:600;margin:10px 0}
.reward-modal>p{font-size:15px;color:var(--muted);margin:16px 0 25px}
.daily-track{display:flex;justify-content:center;gap:16px;margin:23px 0 28px}
.daily-track>i{height:45px;width:45px;border-radius:15px;display:grid;place-items:center;background:#c4d9df4d;border:1px solid #fff6}
.daily-track>.done{background:#77a8a7;color:#fff}
.hint-content{text-align:center;padding:6px 10px 15px}
.hint-content>img{width:120px;height:120px;object-fit:contain;margin:0 auto 20px}
.hint-content>p{font-size:20px;line-height:1.8;margin-bottom:24px}
.word-detail{text-align:center;padding:5px 20px 20px}
.word-detail>.picture-art{width:170px;height:170px}
.word-detail h3{font-size:23px;margin:15px 0 23px}
.exit-content{text-align:center;padding:15px 5px 8px}
.exit-content>p{font-size:16px;margin:7px 0 25px;line-height:1.9}
.exit-content>.button{margin:6px}
.about-content{text-align:center;padding:20px 10px 10px}
.about-content>.flower{width:53px;height:53px}
.about-content>p{font-size:16px;line-height:1.9;margin:22px 0;color:var(--muted)}
#toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,15px);padding:14px 23px;border:1px solid #ffffff85;border-radius:17px;background:var(--glass-solid);backdrop-filter:blur(15px);box-shadow:0 8px 35px #315a7030;z-index:1001;font-size:14px;max-width:90vw;width:max-content;opacity:0;pointer-events:none;transition:transform .2s,opacity .2s;text-align:center}
#toast.show{opacity:1;transform:translate(-50%,0)}
#celebration{position:fixed;inset:0;pointer-events:none;z-index:30;overflow:hidden}
#celebration>i{position:absolute;left:var(--x);top:-20px;width:10px;height:16px;border-radius:3px;animation:confetti-fall 1.8s ease-in var(--d) both}
body[data-theme=dusk] .desktop-nav>.active{background:#d1d6ff29;color:#fff}
body[data-theme=dusk] .flower{color:#ffbfba}
body[data-theme=dusk] .button.primary{background:linear-gradient(135deg,#aacfeb,#b2b2ee);color:#294069;box-shadow:0 7px 20px #2339714d,inset 0 2px 1px #ffffff85}
body[data-theme=dusk] .button.secondary{background:#c9d3ff22}
body[data-theme=dusk] .mode-card:hover{background:linear-gradient(135deg,#aab2f363,#5167ad45)}
body[data-theme=dusk] .mode-card-text>span{color:#f1eeffde}
body[data-theme=dusk] .mode-enter{background:#d6ddff29;border-color:#e7e6ff69}
body[data-theme=dusk] .answer-key{background:#526ca966;color:#fff}
body[data-theme=dusk] .feedback{background:#517f916b}
body[data-theme=dusk] .feedback.wrong{background:#9f7a8b66}
body[data-theme=dusk] .feedback>span{background:#d7fbf33d;color:#effffb}
body[data-theme=dusk] .letter-slot.filled,body[data-theme=dusk] .phrase-slots>button{background:#b4c4ff40}
body[data-theme=dusk] .blank{color:#f0e5ff}
body[data-theme=dusk] .listen-orb{background:linear-gradient(135deg,#d1c9ff50,#93c5e74d);color:#fff}
body[data-theme=dusk] .result-stars .earned{color:#ffdf8a}
body[data-theme=dusk] .mic-wave>i{background:#d0ceff}
body[data-theme=dusk] .xp-line>i{background:#c3d0f7}
body[data-theme=dusk] .quest-dots .filled{background:#c5ddf4}
body[data-theme=dusk] .round-progress>.done{background:#b2d5e7}
@keyframes pet-float{0%,100%{transform:translateY(0) rotate(-2deg)}
50%{transform:translateY(-10px) rotate(2deg)}
}
@keyframes pet-greet{0%,100%{transform:rotate(0)}
25%{transform:rotate(-8deg) translateY(-14px)}
75%{transform:rotate(8deg) translateY(-14px)}
}
@keyframes firefly{0%,100%{opacity:.1;transform:translate(0,0)}
40%{opacity:.6}
60%{opacity:.8;transform:translate(24px,-35px)}
}
@keyframes feedback-in{from{opacity:0;transform:translateY(7px)}
to{opacity:1;transform:translateY(0)}
}
@keyframes sound-ripple{0%{transform:scale(1);opacity:1}
100%{transform:scale(1.25);opacity:0}
}
@keyframes record-pulse{0%,100%{box-shadow:0 0 0 0 #eeb4c04d}
50%{box-shadow:0 0 0 12px #eeb4c000}
}
@keyframes confetti-fall{to{transform:translateY(105vh) rotate(var(--r))}
}
@media(min-width:1600px){.header,main{max-width:1480px}
.hero{height:420px}
.hero h1{font-size:60px}
.companion{width:330px;height:350px;top:45px}
.companion>img{width:310px;height:320px}
.mode-card{height:236px}
.mode-card>.game-art{width:160px;height:160px}
.mode-card-text>strong{font-size:25px}
.home-bottom{margin-top:25px}
.daily-chest,.daily-collection{min-height:90px}
.game-main{max-width:1250px}
.game-board{min-height:640px;padding-top:40px}
.game-question h1{font-size:35px}
.picture-options{margin-top:15px}
.picture-choice{height:210px}
}
@media(max-width:1200px) and (min-width:600px){.header{width:calc(100% - 48px);margin-top:20px;padding:0 20px;height:73px;gap:12px}
.brand>span{font-size:22px}
.brand>b{display:none}
.desktop-nav>button{padding:10px 13px;font-size:13px}
.desktop-nav .icon{width:18px;height:18px}
.header-tools{gap:7px}
.gem-counter{font-size:15px}
.sound-button{display:none}
main{width:calc(100% - 48px);padding:0 15px 32px}
.hero{height:345px}
.hero h1{font-size:46px}
.companion{left:57%;width:250px;height:280px;top:35px}
.companion>img{width:240px;height:250px}
.pet-bubble{right:-15px;font-size:13px;padding:10px 12px}
.location-chip{display:none}
.mode-grid{gap:15px}
.mode-card{height:200px;border-radius:23px}
.mode-card>.game-art{width:128px;height:128px;left:12px;top:-12px}
.mode-card-text{left:18px;bottom:20px;gap:6px}
.mode-card-text>strong{font-size:20px}
.mode-card-text>span{font-size:12px}
.mode-enter{right:14px;bottom:23px;width:33px;height:33px;border-radius:11px}
.mode-enter .icon{width:16px;height:16px}
.home-bottom{gap:14px}
.daily-chest,.daily-collection{padding:10px 14px;gap:10px}
.daily-chest>.game-art{width:58px;height:58px}
.daily-collection b,.daily-chest>div>b{font-size:15px}
.appearance-chip{padding:12px 17px;font-size:12px;gap:8px}
.appearance-chip>i{display:none}
.daily-collection>div>span{font-size:11px}
.game-main{padding-top:22px;max-width:1070px}
.game-board{padding:28px 28px;min-height:560px}
.grammar-board{grid-template-columns:250px minmax(0,1fr);gap:25px}
.grammar-scene .question-picture{width:210px;height:210px}
.magic-ring{height:250px;top:55px}
.grammar-content h1{font-size:30px}
.grammar-options>.answer-chip{font-size:21px;padding:12px 13px;min-width:80px}
.feedback b{font-size:16px}
.feedback p{font-size:13px}
.game-top{gap:14px}
.round-progress>i{width:30px}
.picture-options{gap:15px}
.picture-choice{height:175px}
.picture-choice .picture-art{width:132px;height:132px}
.island-route{gap:18px}
.region-preview{height:190px}
.region-info{padding:18px 14px 12px}
.region-info h2{font-size:22px}
.collection-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:15px}
.speaking-board{gap:18px}
.speaking-controls{padding:30px 22px}
.speaking-controls h1{font-size:28px}
.speaking-buttons{gap:10px}
.speaking-buttons>.button{font-size:12px;padding:10px}
.record-button{width:72px;height:72px;border-radius:24px}
.speaking-scene{min-height:540px}
.npc-bubble{margin:12px;padding:13px}
.npc-bubble b{font-size:19px}
}
@media(max-width:960px) and (min-width:600px){.header{height:74px}
.desktop-nav{gap:2px;padding:4px}
.desktop-nav>button{padding:10px 12px}
.desktop-nav .icon{display:none}
.header-tools{gap:5px}
.theme-button{display:none}
.header>.brand{gap:8px}
.brand>.flower{width:31px;height:31px}
.brand>span{font-size:20px}
.gem-counter .game-art{width:36px;height:36px}
.avatar-button{height:42px;width:42px;border-radius:14px}
.avatar-button img{width:40px;height:40px}
.hero{height:348px}
.hero h1{font-size:44px;line-height:1.35}
.companion{left:auto;right:12px;width:224px;height:275px;top:50px}
.companion>img{width:214px;height:235px}
.pet-bubble{top:8px;right:-5px}
.hero-content{padding-left:3px}
.level-line{gap:10px;font-size:11px}
.mode-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.mode-card{height:200px;border-radius:21px}
.mode-card>.game-art{width:115px;height:115px;left:8px;top:-9px}
.mode-card-text{left:16px;bottom:22px;gap:5px}
.mode-card-text>strong{font-size:18px}
.mode-card-text>span{font-size:11px}
.mode-enter{display:none}
.appearance-chip{display:none}
.home-bottom{gap:16px;margin-top:20px}
.daily-chest,.daily-collection{flex:1;padding:9px 17px;min-height:83px}
.daily-chest>.game-art{width:61px;height:61px}
.daily-chest>div>b,.daily-collection b{font-size:17px}
.collection-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.island-route{gap:16px}
.region-card{padding:7px;border-radius:23px}
.region-preview{height:165px;border-radius:17px}
.region-preview .picture-art{width:90px;height:90px;right:10px}
.region-info{padding:17px 11px 12px}
.region-info h2{font-size:20px}
.region-info>span:not(.region-go){font-size:12px}
.region-progress{gap:6px;margin:16px 0}
.region-progress>i{width:25px;height:25px;border-radius:8px}
.region-number{font-size:22px;top:11px;left:13px}
.region-go{font-size:12px}
.map-modes{gap:15px;padding:22px}
.map-modes>div:first-child{width:145px}
.map-modes h2{font-size:20px}
.map-modes p{font-size:12px}
.map-modes>div:last-child{gap:12px}
.map-modes .game-art{width:66px;height:66px}
.map-modes b{font-size:12px}
.page-heading h1{font-size:32px}
.page-heading{margin:35px 0 25px}
.game-top{gap:12px}
.game-name{font-size:18px;gap:7px}
.game-name>.game-art{width:42px;height:42px}
.round-progress{gap:6px}
.round-progress>i{width:25px}
.game-board{padding:27px 24px;min-height:580px}
.game-question h1{font-size:30px}
.picture-choice{height:155px;padding:12px}
.picture-choice .picture-art{width:119px;height:119px}
.picture-options{gap:12px}
.word-options{gap:12px}
.answer-chip{font-size:20px;min-height:61px;padding:12px 16px}
.question-picture{width:160px;height:160px}
.grammar-board{grid-template-columns:210px minmax(0,1fr);padding:30px 25px;gap:24px}
.grammar-scene{height:300px}
.grammar-scene .question-picture{width:181px;height:181px}
.magic-ring{height:210px;top:50px}
.tiny-potion{width:66px;height:66px;right:-6px;bottom:36px}
.grammar-content h1{font-size:27px}
.grammar-options{gap:9px}
.grammar-options>.answer-chip{padding:12px;min-width:72px;font-size:19px}
.grammar-content .feedback{padding:14px;gap:10px}
.grammar-content .feedback>span{width:30px;height:30px;border-radius:10px}
.grammar-content .feedback .button{min-height:44px;font-size:13px}
.grammar-content .meaning{font-size:14px}
.feedback{gap:12px;padding:16px;margin-top:22px}
.feedback>.button{padding:11px 18px;font-size:14px}
.speaking-board{grid-template-columns:1fr}
.speaking-scene{min-height:315px}
.scene-image{object-position:center 46%}
.npc-bubble{margin:17px;max-width:390px}
.speaking-controls{min-height:375px;padding:27px}
.speaking-controls h1{font-size:29px;margin:15px 0 8px;max-width:600px}
.speaking-buttons{margin:23px 0 12px}
.mic-wave{height:35px;margin:2px 0 10px}
.speaking-note{margin-top:10px}
.collection-stats{gap:30px}
.world{background-position:58% center}
}
@media(max-width:740px) and (min-width:600px){.header{width:calc(100% - 32px);padding:0 17px;gap:9px}
.header-tools>.gem-counter{display:none}
.desktop-nav>button{font-size:12px;padding:9px 10px}
.brand>span{font-size:19px}
.brand>.flower{width:29px;height:29px}
main{width:calc(100% - 32px);padding:0 12px 30px}
.hero h1{font-size:40px}
.companion{width:190px;right:0}
.companion>img{width:190px;height:220px}
.pet-bubble{font-size:12px;padding:9px 10px;right:0}
.mode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.mode-card{height:180px}
.mode-card>.game-art{width:128px;height:128px;top:-13px;left:8px}
.mode-card-text{left:20px;bottom:19px}
.mode-card-text>strong{font-size:21px}
.mode-card-text>span{display:none}
.mode-enter{display:grid;right:20px;bottom:18px}
.mode-orb{left:20px}
.island-route{gap:12px}
.region-info h2{font-size:18px}
.region-progress{gap:4px}
.region-progress>i{height:23px;width:23px}
.map-modes{flex-direction:column;align-items:start}
.map-modes>div:last-child{width:100%;gap:20px}
.map-modes>div:first-child{width:auto}
.map-modes p{display:none}
.grammar-board{grid-template-columns:1fr;gap:0;padding-top:20px}
.grammar-scene{height:210px}
.magic-ring{width:210px;height:210px;top:0;left:calc(50% - 105px)}
.grammar-scene .question-picture{width:185px;height:185px}
.tiny-potion{right:calc(50% - 122px);bottom:7px}
.grammar-content{text-align:center}
.grammar-content h1{margin-top:13px}
.grammar-options{margin-top:20px}
.grammar-content .feedback{text-align:left}
.picture-options{grid-template-columns:repeat(2,1fr);max-width:430px;gap:16px}
.picture-choice{height:155px}
.game-top .round-progress{display:none}
.round-number{margin-left:auto}
.word-options{grid-template-columns:repeat(2,1fr)}
.collection-stats{gap:15px}
.collection-stats>span{font-size:12px}
.collection-stats .game-art{width:36px;height:36px}
.collection-item .picture-art{width:95px;height:95px}
.collection-item{min-height:177px}
}
@media(max-width:599px){body{font-size:15px}
.world{background-position:61% center}
.world-tint{background:linear-gradient(180deg,#d2f6ff42,transparent 45%,#cce4fa40)}
.header{width:calc(100% - 30px);margin:14px 15px 0;height:65px;padding:0 13px;border-radius:21px;gap:10px}
.brand{gap:7px}
.brand>.flower{width:28px;height:28px}
.brand>span{font-size:19px;letter-spacing:.5px}
.brand>b,.desktop-nav,.theme-button,.sound-button{display:none}
.header-tools{gap:9px}
.gem-counter{min-height:44px;padding-right:0;font-size:14px;gap:0}
.gem-counter>.game-art{width:35px;height:35px}
.avatar-button{height:42px;width:42px;border-radius:14px}
.avatar-button img{width:40px;height:40px}
.avatar-button>b{width:17px;min-width:17px;height:17px;border-radius:6px;font-size:9px;right:-3px;bottom:-3px}
main{width:100%;padding:0 19px 107px}
.hero{height:282px;align-items:start}
.hero-content{padding-top:23px;padding-left:0;max-width:75%}
.world-pill{min-height:39px;padding:3px 9px 3px 5px;gap:7px;border-radius:12px;font-size:12px}
.world-pill>.game-art{height:27px;width:27px}
.world-pill>.icon{height:13px;width:13px;margin-left:8px}
.hero h1{font-size:31px;line-height:1.45;margin:15px 0 18px;letter-spacing:0;text-shadow:0 2px 12px #ecfcff75}
.button{min-height:49px;border-radius:15px;padding:11px 19px;font-size:14px;gap:13px}
.button.glow{font-size:15px;min-width:155px;min-height:49px;padding:12px 19px;border-radius:15px;gap:15px}
.button.glow:before{inset:-3px;border-radius:18px}
.button .icon{width:19px;height:19px}
.hero-actions{gap:10px}
.hero-actions>.round-button{display:none}
.level-line{margin-top:14px;font-size:10px;gap:8px}
.xp-line{width:63px;height:5px}
.companion{top:73px;right:-9px;left:auto;width:176px;height:191px}
.companion>img{width:172px;height:182px;left:0;bottom:0;filter:drop-shadow(0 10px 12px #52768b22)}
.pet-bubble{right:0;top:-8px;font-size:11px;gap:5px;padding:7px 10px;border-radius:13px 13px 13px 2px}
.pet-bubble .icon{width:13px;height:13px}
.pet-shadow{bottom:-1px;height:12px}
.location-chip{display:none}
.mode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 14px}
.mode-card{height:174px;border-radius:22px}
.mode-card:before{inset:4px;border-radius:18px}
.mode-card>.game-art{width:113px;height:113px;left:6px;top:-13px;filter:drop-shadow(0 6px 7px #27658e1d)}
.mode-card-text{left:16px;bottom:16px;gap:5px}
.mode-card-text>strong{font-size:20px;letter-spacing:0}
.mode-card-text>span{font-size:12px}
.mode-enter{width:30px;height:30px;right:12px;bottom:26px;border-radius:10px;background:#ffffff59}
.mode-enter>.icon{width:15px;height:15px}
.mode-orb{width:92px;height:85px;left:15px;top:1px;filter:blur(22px)}
.mode-card:hover{transform:none}
.home-bottom{flex-wrap:wrap;gap:14px;margin-top:20px}
.daily-chest{width:100%;flex:auto;min-height:80px;border-radius:21px;padding:9px 17px;gap:13px}
.daily-chest>.game-art{height:59px;width:59px}
.daily-chest>div>b{font-size:17px}
.daily-chest>span:not(.game-art){font-size:14px}
.quest-dots{gap:6px;margin-top:8px}
.daily-collection{display:none}
.appearance-chip{display:none}
.mobile-nav{position:fixed;left:15px;right:15px;bottom:12px;bottom:calc(12px + env(safe-area-inset-bottom));border-radius:24px;display:flex;align-items:center;justify-content:space-around;padding:7px 8px;border:1px solid #ffffffa3;background:linear-gradient(130deg,#f7fdffde,#d9ebf8bf);backdrop-filter:blur(25px);-webkit-backdrop-filter:blur(25px);box-shadow:0 6px 30px #24497430,inset 0 1px 0 #fff;z-index:15;height:65px}
.mobile-nav>button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:48px;border-radius:17px;padding:10px 12px;color:#52718a;font-size:12px}
.mobile-nav>button>.icon{width:20px;height:20px}
.mobile-nav>.active{background:#ffffff9c;color:#2c5c76;box-shadow:0 3px 10px #34657a0d;font-weight:650}
.is-game .mobile-nav{display:none}
.is-game main{padding-bottom:35px}
.page-heading{margin:30px 0 25px;gap:14px}
.kicker{font-size:12px}
.page-heading h1{font-size:28px;margin-top:8px;letter-spacing:0}
.level-switch{font-size:12px;gap:7px;min-height:45px;padding:10px 12px;border-radius:13px}
.level-switch>.icon{width:15px;height:15px}
.level-switch>.icon:first-child{display:none}
.island-route{grid-template-columns:1fr;gap:20px}
.region-card{padding:8px;border-radius:25px;display:grid;grid-template-columns:124px minmax(0,1fr);gap:5px;min-height:196px}
.region-preview{height:100%;min-height:177px;border-radius:18px}
.region-preview>.picture-art{width:104px;height:104px;right:8px;bottom:15px}
.region-number{top:13px;left:15px;font-size:23px}
.region-info{padding:13px 12px 10px}
.region-info h2{font-size:21px}
.region-info>span:not(.region-go){font-size:12px;margin-top:5px}
.region-progress{margin:15px 0;gap:6px}
.region-progress>i{width:24px;height:24px;border-radius:8px}
.region-progress .icon{width:14px;height:14px}
.region-go{font-size:12px;padding-top:8px}
.region-go>.icon{width:17px;height:17px}
.map-modes{flex-direction:column;align-items:start;gap:16px;margin-top:24px;padding:20px;border-radius:23px}
.map-modes>div:first-child{width:auto}
.map-modes h2{font-size:22px}
.map-modes p{font-size:12px;margin-top:5px}
.map-modes>div:last-child{width:100%;gap:9px;display:grid;grid-template-columns:repeat(4,1fr)}
.map-modes button{min-height:90px;gap:3px;padding:0}
.map-modes .game-art{width:60px;height:60px}
.map-modes b{font-size:11px;white-space:nowrap}
.collection-count{font-size:25px;padding:9px 16px;border-radius:14px;white-space:nowrap}
.collection-count small{font-size:14px}
.collection-stats{justify-content:space-between;gap:8px;padding:13px 14px;margin-bottom:20px;border-radius:18px}
.collection-stats>span{font-size:10px;gap:4px;flex-direction:column}
.collection-stats .game-art{width:39px;height:39px}
.collection-stats b{font-size:21px;line-height:1.2}
.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.collection-item{min-height:150px;border-radius:18px;padding:11px 5px 13px}
.collection-item>.picture-art{width:84px;height:84px}
.collection-item>b{font-size:14px}
.collection-item>span:not(.picture-art){font-size:11px;margin-top:4px}
.collection-item.unfound b{font-size:23px}
.collection-item>i{right:7px;top:7px}
.collection-item>i .icon{width:12px;height:12px}
.collection-bottom{margin-top:23px}
.game-main{padding-top:19px}
.game-top{gap:9px;margin-bottom:18px}
.game-top>.round-button{width:43px;height:45px;border-radius:14px}
.game-top>.round-button:last-child{width:38px;background:#ffffff29;box-shadow:none;border-color:#ffffff70}
.game-top .round-button .icon{width:20px;height:20px}
.game-name{font-size:18px;gap:7px}
.game-name>.game-art{width:38px;height:38px}
.round-progress{display:none}
.round-number{margin-left:auto;font-size:12px;min-width:35px;text-align:center}
.game-board{border-radius:25px;padding:23px 18px;min-height:540px;overflow:visible}
.skill-chip{font-size:12px;border-radius:9px;padding:5px 12px}
.game-question h1{font-size:26px;margin:12px 0 18px}
.listen-orb{height:62px;width:62px;border-radius:22px;margin-bottom:22px}
.listen-orb>.icon{width:28px;height:28px}
.sound-ring{border-radius:27px}
.picture-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:0 auto 10px}
.picture-choice{height:144px;border-radius:20px;padding:10px}
.picture-choice>.picture-art{width:111px;height:111px}
.answer-key{width:22px;height:22px;border-radius:7px;left:9px;top:9px;font-size:11px}
.question-picture{height:150px;width:150px;margin:0 0 19px}
.word-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:6px}
.answer-chip{font-size:20px;padding:12px 16px;min-height:60px;border-radius:17px}
.feedback{padding:15px 13px;border-radius:18px;gap:10px;flex-wrap:wrap;margin-top:22px}
.feedback>span{width:31px;height:31px;border-radius:10px}
.feedback>span>.icon{width:20px;height:20px}
.feedback>div{flex:1;min-width:160px}
.feedback b{font-size:16px}
.feedback p{font-size:12px;margin-top:5px;line-height:1.8}
.feedback>.button{min-height:45px;font-size:13px;width:100%;margin-top:5px}
.spell-picture>.round-button{width:44px;height:44px;right:-34px;bottom:28px}
.letter-slots{gap:6px;margin:4px auto 22px;max-width:340px}
.letter-slot{width:44px;height:51px;border-radius:10px;font-size:25px}
.letter-bank{gap:10px;max-width:340px}
.letter-tile{width:47px;height:52px;font-size:24px;border-radius:13px}
.submit-row{margin-top:24px}
.submit-row>.button{min-height:49px;min-width:150px;font-size:15px}
.phrase-board .question-picture{width:144px;height:144px}
.phrase-board .game-question h1{font-size:25px;line-height:1.5}
.phrase-slots{padding:11px 9px;gap:8px;border-radius:18px;min-height:85px;margin-bottom:22px}
.phrase-slots>button{min-height:48px;padding:9px 12px;font-size:19px;border-radius:11px;gap:7px}
.phrase-slots>span{font-size:14px}
.phrase-slots .icon{width:11px;height:11px}
.token-bank{gap:11px}
.word-tile{min-height:53px;border-radius:14px;padding:11px 17px;font-size:20px}
.grammar-board{display:flex;flex-direction:column;gap:0;padding:15px 21px 24px}
.grammar-scene{height:215px;width:100%}
.grammar-scene>.question-picture{width:166px;height:166px;margin:0}
.magic-ring{width:190px;height:190px;left:calc(50% - 95px);top:15px;box-shadow:0 0 0 13px #ffffff10,0 0 0 14px #ffffff35,inset 0 0 35px #ffffff17}
.tiny-potion{width:65px;height:65px;right:calc(50% - 118px);bottom:13px}
.grammar-content{text-align:center;padding:8px 0 0;width:100%}
.grammar-content h1{font-size:27px;line-height:1.7;margin:14px 0 9px}
.blank{min-width:54px;padding:0 8px;border-radius:9px}
.meaning{font-size:13px;line-height:1.9}
.grammar-options{gap:10px;margin-top:24px;justify-content:center}
.grammar-options>.answer-chip{font-size:19px;padding:10px 13px;min-width:70px;min-height:56px}
.grammar-content .feedback{text-align:left;padding:14px 12px;gap:10px}
.grammar-content .feedback>div{min-width:150px}
.grammar-content .feedback p{font-size:13px}
.grammar-content .feedback>.button{font-size:14px;min-height:45px}
.speaking-board{grid-template-columns:1fr;gap:18px}
.speaking-scene{min-height:300px;border-radius:24px;padding:6px}
.scene-image{inset:6px;width:calc(100% - 12px);height:calc(100% - 12px);border-radius:18px;object-position:24% center}
.npc-bubble{margin:10px;padding:12px 14px;border-radius:15px;gap:4px 5px;grid-template-columns:1fr 38px}
.npc-bubble>b{font-size:18px;line-height:1.6}
.npc-bubble>span{font-size:11px}
.npc-bubble>.round-button{width:38px;height:43px}
.npc-bubble .icon{height:19px;width:19px}
.speaking-controls{border-radius:24px;padding:25px 18px;min-height:385px}
.speaking-controls h1{font-size:25px;line-height:1.65;margin:15px 0 9px;max-width:320px}
.speaking-buttons{gap:11px;margin:26px 0 15px}
.record-button{width:74px;height:74px;border-radius:25px}
.record-button>.icon{width:31px;height:31px}
.speaking-buttons>.button{font-size:12px;padding:10px 11px;min-height:46px;gap:6px;border-radius:13px}
.speaking-buttons>.button .icon{width:16px;height:16px}
.record-status{font-size:12px}
.mic-wave{height:35px;margin:5px 0 12px;gap:3px}
.mic-wave>i{width:4px}
.speaking-note{font-size:11px;margin-top:13px}
.mic-error{font-size:12px}
.result-card{padding:23px 21px 27px;border-radius:26px;min-height:560px;margin:8px auto}
.result-trophy{height:152px;width:152px}
.result-stars{margin:10px 0 24px;gap:13px}
.result-stars .icon{height:24px;width:24px}
.result-card h1{font-size:28px;line-height:1.6;max-width:280px;margin:auto}
.result-card>p{font-size:13px;margin-top:12px}
.result-gems{margin:23px 0;gap:10px}
.result-gems .game-art{height:45px;width:45px}
.result-gems>b{font-size:33px}
.result-gems>span{font-size:13px}
.result-actions{flex-direction:column;gap:13px;max-width:240px;margin:auto}
.result-actions>.button{font-size:15px}
.result-card>.text-button{margin-top:12px;font-size:12px}
.text-button{min-height:46px}
dialog{border-radius:24px;padding:21px;width:calc(100% - 28px);max-height:86vh}
.modal-head h2{font-size:22px}
.modal-head{margin-bottom:15px}
.modal-head>.round-button{width:44px;height:44px;border-radius:14px}
.settings-appearance{gap:12px}
.settings-appearance>button>span{height:82px}
.settings-appearance>button>b{font-size:13px;padding:9px 6px}
.settings-links{gap:10px}
.settings-links .text-button{font-size:12px}
.setting-row{font-size:14px;min-height:57px}
.region-picker>button{gap:13px;min-height:82px;padding:8px 15px;border-radius:17px}
.region-picker .picture-art{width:60px;height:60px}
.region-picker b{font-size:17px}
.difficulty-picker{font-size:13px;gap:10px}
.difficulty-picker>button{font-size:13px;padding:10px 18px}
.reward-modal>.game-art{width:145px;height:145px}
.reward-modal h3{font-size:20px}
.reward-modal>p{font-size:14px;line-height:1.8}
.hint-content>p{font-size:19px}
.exit-content>p{font-size:15px}
.word-detail>.picture-art{width:150px;height:150px}
.about-content>p{font-size:14px}
.about-content>.flower{width:47px;height:47px}
.dense-glass .glass{backdrop-filter:blur(10px)}
#toast{bottom:100px;border-radius:15px;padding:12px 18px;font-size:13px;max-width:calc(100vw - 38px)}
.is-game #toast{bottom:20px}
body[data-theme=dusk] .mobile-nav{background:linear-gradient(130deg,#6674b5db,#3c4b95d9);border-color:#c6d5ff70;box-shadow:0 6px 30px #1c29584d,inset 0 1px 0 #ffffff67}
body[data-theme=dusk] .mobile-nav>button{color:#edf0ff}
body[data-theme=dusk] .mobile-nav>.active{background:#e3dfff36;color:#fff}
}
@media(max-width:374px){main{padding-left:15px;padding-right:15px}
.header{padding:0 11px}
.brand>span{font-size:17px}
.brand>.flower{width:25px;height:25px}
.header-tools{gap:6px}
.gem-counter>.game-art{height:30px;width:30px}
.hero h1{font-size:29px}
.companion{right:-12px;width:155px}
.companion>img{width:157px;height:176px}
.pet-bubble{font-size:10px;padding:6px 9px}
.mode-card-text>strong{font-size:18px}
.mode-card-text>span{font-size:11px}
.mode-enter{height:27px;width:27px;right:10px}
.mode-card-text{left:14px}
.mode-card>.game-art{height:107px;width:107px;left:4px}
.mobile-nav>button{font-size:11px;padding:10px 9px}
.collection-item>.picture-art{width:75px;height:75px}
.collection-item{min-height:143px}
.collection-item b{font-size:12px}
.game-name{font-size:17px;gap:5px}
.game-name>.game-art{height:33px;width:33px}
.game-top{gap:7px}
.picture-choice{height:132px}
.picture-choice>.picture-art{height:105px;width:105px}
.game-board{padding-left:16px;padding-right:16px}
.grammar-board{padding-left:18px;padding-right:18px}
.speaking-buttons{gap:8px}
.record-button{height:68px;width:68px}
.speaking-buttons>.button{padding:9px;font-size:11px}
.region-card{grid-template-columns:113px minmax(0,1fr)}
}
.game-top{background:var(--glass);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid var(--line);border-radius:22px;padding:10px 14px;height:auto;min-height:69px;box-shadow:inset 0 1px 0 #ffffff65}
.round-progress>i{background:#315f7830;border:1px solid #ffffff80}
.round-progress>i.current{background:#64b7c5;box-shadow:0 0 0 2px #ffffff85}
.round-progress>i.done{background:#418995}
.round-number{color:var(--ink);font-weight:650}
body[data-theme=dusk] .round-progress>i{background:#d8dfff40}
body[data-theme=dusk] .round-progress>i.current{background:#d3bcf4}
body[data-theme=dusk] .round-progress>i.done{background:#9dc7db}
.picture-choice.correct,.answer-chip.correct{animation:found .46s ease-out}
@keyframes found{0%{transform:scale(1)}
45%{transform:scale(1.06) translateY(-4px)}
100%{transform:scale(1)}
}
@media(max-width:599px){.game-top{padding:8px 9px;border-radius:18px;min-height:62px}
.world{background-position:32% center}
.world-tint{background:linear-gradient(90deg,#d2f5fc55,transparent 82%),linear-gradient(0deg,#add8f04d,transparent 40%)}
body[data-theme=dusk] .world-tint{background:linear-gradient(90deg,#24296255,transparent 85%),linear-gradient(0deg,#22386238,transparent 40%)}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
.reduce-motion *,.reduce-motion *:before,.reduce-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
