/* Mobile-first classic action RPG skin */
body{font-family:"Microsoft YaHei",system-ui,sans-serif}.topbar{height:44px;padding:0 16px;background:linear-gradient(#07090ded,#090d1255);border-bottom:0}.brand{gap:9px}.brand strong{font-size:19px;letter-spacing:4px}.brand small{font-size:7px}.sigil{width:25px;height:25px;font-size:20px}.topcenter{font-size:10px;letter-spacing:3px}.topcenter small{display:none}.topright{font-size:10px;gap:8px}.chip{padding:3px 8px}.left{top:59px;left:14px;width:205px}.playercard{border-radius:3px 20px 3px 3px;padding:8px;background:linear-gradient(90deg,#120e0bed,#302419bb);border-color:#b18954aa;gap:9px}.portrait{width:48px;height:54px;border-color:#d2ad64;background:radial-gradient(#62492c,#171311);overflow:hidden;font-size:0;position:relative}.portrait:after{content:'';position:absolute;inset:0;background:url('assets/warrior.webp') center 5%/155% auto no-repeat}.playerinfo strong{font-size:12px;letter-spacing:1px}.bar{height:7px;border:1px solid #070707;margin-top:5px}.playerinfo .tiny{font-size:9px}.quest{margin-top:12px;padding:10px 12px;background:linear-gradient(90deg,#090a0ec9,#090a0e35);border-width:0 0 0 2px;border-color:#c79b52;border-radius:0}.eyebrow{font-size:8px;letter-spacing:2px}.quest h3{font:16px "Microsoft YaHei",sans-serif;font-weight:600;color:#f6d090;letter-spacing:1px}.quest p{font-size:10px;color:#ded5c3;margin:7px 0}.quest .progress{font-size:10px}.quest .reward{font-size:9px;color:#cbb278}.quest .bar{height:3px;border:0}.tip{font-size:9px;color:#b1a591;margin-top:12px}.right{right:14px;top:59px;width:146px}.mapframe{padding:5px;background:#120e0bd9;border-color:#9f805888;border-radius:2px}.maphead{font-size:9px;margin-bottom:4px;color:#f1d39d}#minimap{width:134px;height:88px}.mapfoot{font-size:8px}.right .controls{gap:4px;margin-top:6px}.controls button{padding:5px 4px;font-size:9px;background:linear-gradient(#382c1de8,#1d1712ed);border:1px solid #a18152aa;text-shadow:0 1px 2px #000}.controls .active{box-shadow:inset 0 0 12px #c8812644}.region{top:55px;font-size:16px;letter-spacing:2px}.region small{font-size:8px;letter-spacing:2px}.target{top:96px;width:190px;font-size:10px}.target .bar{height:5px}.targetname{font-weight:600}.bottom{bottom:23px;right:20px;left:auto;transform:none;display:block;width:260px;height:225px}.bottomhint{display:none}.hotbar{position:relative;width:100%;height:100%;padding:0;border:0;background:none;box-shadow:none;display:block}.orb{display:none}.skill{position:absolute;border-radius:50%;width:62px;height:62px;background:radial-gradient(circle at 35% 25%,#765631,#281b14 50%,#120e0a);border:2px solid #bf9455;box-shadow:0 0 0 3px #110e0baa,inset 0 0 0 2px #52391b,inset 0 0 15px #0009,0 4px 12px #000a;overflow:hidden;touch-action:none}.skill .icon{font-size:28px;filter:drop-shadow(0 0 6px currentColor)}.skill small{font-size:9px;margin-top:2px;color:#fff0cb;text-shadow:0 2px 3px #000}.skill kbd{top:4px;left:26px;font-size:7px;color:#e3cf9b}.skill .cool{font-size:20px}.skill.attack{right:8px;bottom:8px;width:90px;height:90px;border:2px solid #eac17c;background:radial-gradient(#6b331aaa,#241912 68%);box-shadow:0 0 0 4px #16110ccc,inset 0 0 18px #bc7e4144,0 0 18px #c28c4144}.skill.attack .icon{font-size:40px;color:#ffe0a0}.skill.attack small{font-size:12px;font-weight:700;letter-spacing:2px}.skill.attack kbd{left:29px;top:5px}.skill.fire{right:12px;bottom:119px;background:radial-gradient(#b76122,#49210f 65%,#150e0b)}.skill.dash{right:92px;bottom:104px;background:radial-gradient(#2f6677,#142e3b 65%,#101922)}.skill.potion{right:124px;bottom:23px;background:radial-gradient(#934036,#391b1f 65%,#150d0d)}.skill.bag{right:199px;bottom:16px;width:46px;height:46px}.skill.bag .icon{font-size:21px}.skill.bag small{font-size:8px}.skill.bag kbd{display:none}.touch{display:block;left:37px;bottom:45px;width:126px;height:126px;border-radius:50%;border:1px solid #d3c29f55;background:radial-gradient(#8b7a5033,#332b1e33 60%,#b7a27022 61%,#241f1833 64%,#b7a27033 66%,#241f1833 69%);box-shadow:inset 0 0 20px #0005,0 0 0 9px #1a160f22;touch-action:none}.touch:before{content:'移动';position:absolute;top:133px;left:0;right:0;text-align:center;color:#c7bba3aa;font-size:10px;letter-spacing:3px}.touch:after{content:'✥';position:absolute;inset:0;display:grid;place-items:center;font-size:86px;color:#beac8b22;pointer-events:none}.touch .knob{position:absolute;left:39px;top:39px;width:46px;height:46px;border-radius:50%;background:radial-gradient(circle at 35% 25%,#87755799,#282216bb);border:1px solid #d3bc8999;box-shadow:0 3px 8px #0007,inset 0 0 0 3px #3c332555;pointer-events:none;z-index:1}.touch button{display:none}.log{left:17px;bottom:209px;font-size:10px;width:265px;line-height:1.7;max-height:77px;overflow:hidden;color:#d1c3a5}.floating{bottom:12px;right:auto;left:195px;font-size:8px;color:#9b937d}.xpstrip{height:5px}.toast{top:31%;font-size:13px;letter-spacing:1px;text-shadow:0 2px 3px #000,0 0 10px #b16924}.dialog{border:2px solid #917242;background:linear-gradient(135deg,#34271bee,#130e0aef);box-shadow:0 0 0 5px #0e0b0999,0 15px 90px #000}.intro .crest{font-size:40px;line-height:1}.intro h1{font-size:51px;letter-spacing:8px;padding-left:8px;color:#f5d596;text-shadow:0 3px 0 #6b3e1b,0 6px 25px #000}.intro .desc{margin:17px auto;color:#c5b7a0}.intro .sub{color:#d5ac6e}.intro{background:linear-gradient(90deg,#110c09ee,#21180fd9),url('assets/world.webp') center/cover}.primary{font-weight:700;box-shadow:0 0 20px #df9c3b22,inset 0 0 0 2px #ffe7b055}.rotate-hint{position:absolute;left:50%;bottom:11px;transform:translateX(-50%);font-size:10px;color:#e1c99a;pointer-events:none;display:none;background:#110e0aa8;border:1px solid #a0855066;padding:4px 11px;border-radius:14px}.chatbar{position:absolute;left:195px;bottom:28px;max-width:310px;color:#bdaf91;font-size:10px;padding:7px 12px;background:linear-gradient(90deg,#15100bcc,#15100b22);border-left:2px solid #978052;pointer-events:none}.chatbar b{color:#d5ae70;font-weight:400}.zone-tag{position:absolute;left:50%;bottom:26px;transform:translateX(-50%);font-size:9px;color:#bba57d;pointer-events:none}.hud .fullscreen{font-size:12px}.newtip{color:#f3c57b}
@media(pointer:coarse){.skill kbd{display:none}.skill.bag{display:block}.bottom{right:12px;bottom:17px}.skill.attack{width:88px;height:88px}.touch{left:31px;bottom:38px}.log{bottom:190px}.tip{display:none}.dialog .accessnote{font-size:9px}.topright{gap:5px}}
@media(max-height:550px) and (orientation:landscape){.topbar{height:31px;padding:0 10px}.brand strong{font-size:16px;letter-spacing:2px}.brand small{display:none}.sigil{width:19px;height:19px;font-size:15px}.topcenter{font-size:9px}.topright{font-size:9px}.left{top:41px;left:10px;width:172px}.playercard{padding:5px}.portrait{height:40px;width:35px}.playerinfo strong{font-size:10px}.playerinfo .tiny{font-size:8px}.playerinfo .bar{height:5px;margin-top:4px}.quest{margin-top:8px;padding:6px 8px;max-width:172px}.quest .eyebrow{font-size:7px;letter-spacing:1px}.quest h3{font-size:13px;margin:3px 0}.quest p{font-size:9px;margin:4px 0}.quest .reward{display:none}.quest .progress{font-size:9px}.right{top:41px;right:10px;width:118px}.mapframe{padding:4px}#minimap{width:108px;height:64px}.maphead{font-size:8px;margin-bottom:2px}.mapfoot{display:none}.controls button{padding:4px 2px;font-size:8px}.region{top:39px;font-size:13px}.region small{display:none}.target{top:62px;width:160px;font-size:9px}.bottom{right:10px;bottom:16px;width:232px;height:186px;transform:scale(.87);transform-origin:bottom right}.touch{width:103px;height:103px;left:32px;bottom:31px}.touch .knob{left:32px;top:32px;width:39px;height:39px}.touch:before{top:108px;font-size:8px}.touch:after{font-size:70px}.log{left:190px;bottom:35px;width:210px;font-size:8px;max-height:43px}.chatbar{left:160px;bottom:14px;font-size:8px;padding:4px 8px;max-width:280px}.floating,.zone-tag{display:none}.toast{top:25%;font-size:11px}.dialog{padding:18px 26px;max-height:95vh;overflow:auto;width:min(540px,90vw)}.intro .crest{font-size:26px}.intro h1{font-size:35px;margin:3px 0}.intro .sub{font-size:8px}.intro .desc{font-size:10px;margin:8px auto;line-height:1.7}.features{margin:12px 0;font-size:9px}.primary{font-size:12px;padding:8px 25px;min-height:37px}.accessnote{margin-top:8px;font-size:8px}.tip{display:none}}
@media(max-width:560px) and (orientation:portrait){.topbar{height:40px;padding:0 10px}.left{top:52px;left:8px;width:169px}.right{top:52px;right:8px;width:109px}#minimap{width:97px;height:67px}.playercard{padding:6px}.portrait{width:34px;height:44px}.quest{padding:8px;margin-top:8px}.quest h3{font-size:14px}.quest .reward{display:none}.quest p{font-size:10px}.region{top:256px;bottom:auto;font-size:13px}.target{top:282px;width:160px}.bottom{bottom:34px;right:4px;transform:scale(.78);transform-origin:bottom right}.touch{left:20px;bottom:55px;width:103px;height:103px}.touch .knob{left:32px;top:32px;width:39px;height:39px}.touch:before{top:108px}.log,.chatbar,.floating,.zone-tag{display:none}.rotate-hint{display:block;bottom:10px;white-space:nowrap}.toast{top:39%;font-size:11px}.intro h1{font-size:37px;letter-spacing:3px}.intro .desc{font-size:11px}.intro .features{gap:9px;font-size:9px}.skill.bag{right:185px}.topright .chip{font-size:9px;padding:3px 5px}.topright{font-size:9px}.brand strong{font-size:16px}.brand small{display:none}}
.mapcards{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mapcard{min-height:100px;border:1px solid #796343;padding:12px;text-align:left;background-size:cover;background-position:center;color:#f4dec0;border-radius:5px}.mapcard strong,.mapcard small,.mapcard span{display:block}.mapcard strong{font-size:16px;color:#ffd784}.mapcard small{margin:8px 0;line-height:1.5}.mapcard span{font-size:11px;color:#dccdb8}.mapcard.current{border:2px solid #ffd784}#nextchapter{width:100%;margin-top:8px;background:#593814;color:#ffe0a3;pointer-events:auto}#maps{color:#ffdb8a;border-color:#a37d41}.controls{grid-template-columns:1fr 1fr}@media(max-width:550px){.mapcards{grid-template-columns:1fr}}@media(max-height:500px) and (orientation:landscape){.controls button{min-height:25px;padding:4px;font-size:10px}.mapcard{min-height:85px;padding:8px}.mapcard small{margin:4px 0}}
.item-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.item-actions .chip{min-height:34px;padding:6px 9px;font-size:11px}.chip:disabled{opacity:.4;cursor:default}.sale-list{max-height:38vh;overflow:auto;line-height:1.9;font-size:12px;color:#e5c797}.stats{flex-wrap:wrap}#items .item strong{font-size:12px}#vaultSummary,#bagStats{line-height:1.8}
.growth-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.growth-card{position:relative;background:radial-gradient(at top right,#59739244,#100d0c);border:1px solid #a78a58;padding:16px}.growth-card h3{color:#f4d397}.growth-card p{font-size:12px;line-height:1.8;color:#c7baa3}.growth-card .primary{font-size:12px;letter-spacing:1px;padding:9px 18px}.wing-symbol{position:absolute;right:14px;top:0;color:#9fdcff;text-shadow:0 0 20px #9ce5ff;font-size:40px}@media(max-width:550px){.growth-grid{grid-template-columns:1fr}.growth-card{padding:12px}}
.right .controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px}.right .controls button{min-width:0;white-space:normal;line-height:1.35}.right #maps,.right #autoloot{grid-column:auto}@media(max-height:550px) and (orientation:landscape){.right .controls button{font-size:8px;min-height:27px;padding:3px 1px}}
@media(max-height:400px) and (orientation:landscape){.right #minimap{height:32px}.right .controls{margin-top:6px}}@media(max-height:360px) and (orientation:landscape){.right{transform:scale(.85);transform-origin:top right}}
