:root{font-family:"Noto Sans TC","Microsoft JhengHei",system-ui,sans-serif;color:#c3b9a5;background:#141310;--gold:#b89a6a;--line:#3c3529;--muted:#776e5c}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 75% 0,#3b302722,transparent 65%),#141310}button,input,select{font:inherit}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{background:#28231c;color:#ab9a7c;border:1px solid #4c402e;border-radius:3px;padding:9px 12px;cursor:pointer;transition:background .15s,border-color .15s}button:hover{background:#393023;border-color:#8e734d}button:disabled{opacity:.35;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #bc9b69;outline-offset:3px}header{height:86px;background:#1b1813;border-bottom:1px solid #453b2b;display:flex;align-items:center;justify-content:space-between;padding:0 40px}.brand{display:flex;align-items:center;gap:14px;font:25px serif;letter-spacing:5px}.brand img{width:45px;height:50px}.brand small{font:8px serif;letter-spacing:3px;color:#8d7856;display:block;margin-top:8px}nav{display:flex;align-items:center;gap:24px;font-size:10px;color:#9b8a6a}nav>span{font-size:9px;color:#655d4e}nav button{background:none;border:0;font-size:10px;padding:5px}main{max-width:1600px;padding:32px 35px 24px;margin:auto}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.eyebrow{font:9px serif;letter-spacing:2.5px;color:#8d7854}h1{font:35px serif;letter-spacing:4px;margin:15px 0}h1 em{font-style:normal;color:#a38a60}.heading p{font-size:11px;color:#776b56;letter-spacing:.6px;margin:0}.chapter-mark{text-align:center;display:flex;align-items:center;gap:15px;padding-right:23px;color:#726344}.chapter-mark b{font:64px serif;color:#9c835a}.chapter-mark span,.chapter-mark small{font:8px serif;letter-spacing:2px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:23px;align-items:start}.game-column{min-width:0}.game-shell{border:1px solid #4c4231;border-radius:5px;background:#171611;overflow:hidden;box-shadow:0 12px 35px #0004}.game-top{height:48px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 16px;background:#252017;border-bottom:1px solid #463c2c}.game-top>div{display:flex;align-items:center;gap:8px}.game-top i{display:inline-block;width:5px;height:5px;background:#bd9360;box-shadow:0 0 8px #b7854d;margin-right:2px;transform:rotate(45deg)}.game-top b{font-size:11px;font-weight:400;letter-spacing:1px}.game-top span{font:8px serif;color:#74644a;letter-spacing:1px;margin-left:7px}.game-top button{font-size:9px;background:none;border-color:#4b412e;padding:5px 8px}.viewport{position:relative;background:#111210}#world{width:100%;height:auto;aspect-ratio:12/7;display:block;touch-action:none;outline:none}.pause-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:#14110dc9;backdrop-filter:blur(4px);text-align:center}.pause-overlay h2{font:28px serif;letter-spacing:3px;margin:0}.pause-overlay p{font-size:11px;color:#8d7d62;margin:0 0 12px}.primary{background:#806043;color:#efe1c5;border-color:#a3845c;font-size:12px;padding:13px 20px}.primary:hover{background:#a07c52;color:#fff2d3}.combat-bar{display:flex;align-items:center;justify-content:center;gap:25px;padding:17px 20px 11px;border-top:1px solid #4d4030;background:linear-gradient(#251f17,#1e1b15)}.orb-group{text-align:center}.orb{width:73px;height:73px;border-radius:50%;border:3px solid #756347;outline:1px solid #3f3426;outline-offset:3px;box-shadow:inset 0 0 18px #0009,0 0 18px #0004;padding:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:radial-gradient(circle at 35% 30%,#ac6660,#742f32 45%,#3e1d21 85%);color:#ecc8b9}.orb:hover{background:radial-gradient(circle at 35% 30%,#bc7770,#813b3d 45%,#4e2428 85%)}.orb strong{font:21px serif}.orb small{font-size:7px;margin-top:4px}.orb.mp-orb{background:radial-gradient(circle at 35% 30%,#657d96,#364563 45%,#1c253b 85%);color:#c2d3df}.orb.mp-orb:hover{background:radial-gradient(circle at 35% 30%,#7d97b0,#465d7e 45%,#273651 85%)}.orb-group>span{display:block;font-size:8px;color:#8c7f64;margin-top:9px}.skill-slots{display:flex;gap:10px;align-items:center}.action-slot{width:72px;height:76px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#2c271e;border-color:#5a4934}.action-slot kbd{font:7px monospace;color:#95805e;position:absolute;top:5px;left:6px}.action-slot>span{font:29px serif;color:#c2a375}.action-slot b{font-size:8px;font-weight:400;color:#a38e6b;margin-top:4px}.action-slot small{position:absolute;right:4px;top:5px;color:#d8b89a;font:10px monospace}.action-slot.ultimate{background:#332421;border-color:#614238}.action-slot.ultimate>span{color:#c5947e}.touch-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 17px 12px;background:#1e1b15}.dpad{display:flex;gap:5px}.dpad button{width:33px;height:30px;padding:5px;font-size:9px;touch-action:none;user-select:none}.dpad button.pressed{background:#785f42;color:#e4c18f}.touch-row>span{font-size:8px;color:#6b604c}.touch-row>button{font-size:9px;background:none;padding:6px 8px}.game-bottom{display:flex;justify-content:space-between;align-items:center;padding:11px 17px;font-size:8px;color:#6d644f;background:#1b1913;border-top:1px solid #3a3327;gap:10px}.quest-strip{display:flex;gap:17px;align-items:center;background:#282218;border:1px solid #433b2a;border-radius:4px;padding:18px 20px;margin-top:17px}.quest-rune{font:36px serif;color:#aa8957}.quest-strip small{font-size:9px;color:#8a754e}.quest-strip h2{font:18px serif;color:#baa57f;letter-spacing:1px;margin:5px 0}.quest-strip p{font-size:9px;color:#7c7058;margin:0;line-height:1.8}.quest-strip>b{font:20px serif;color:#a48e65;margin-left:auto;white-space:nowrap}.quest-strip button{font-size:10px;background:none;border-color:#5c4930;white-space:nowrap}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:27px 0 15px}.section-heading h2{font:20px serif;letter-spacing:1px;margin:0}.section-heading h2 span{font:8px serif;letter-spacing:2px;color:#6c624e;margin-left:12px}.section-heading small{font-size:9px;color:#6d634e}.floors{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.floor-card{overflow:hidden;border:1px solid #3a352a;border-radius:4px;background:#221f18;position:relative;text-align:left;padding:0}.floor-card.active{border-color:#836e48}.floor-card.locked{opacity:.5}.floor-card svg{width:100%;height:95px;display:block;border-bottom:1px solid #49402c}.floor-card>div{padding:14px}.floor-card small{font:8px serif;letter-spacing:2px;color:#897750}.floor-card h3{font:17px serif;letter-spacing:1px;margin:7px 0;color:#bba786}.floor-card p{font-size:8px;color:#786b53;margin:0}.floor-card>span{position:absolute;top:9px;right:9px;color:#b89b6b;border:1px solid #705a39;background:#211b14bb;padding:4px 6px;font-size:7px}.hero-panel,.equipment-panel,.journal-panel{padding:20px;background:#201c16;border:1px solid #3b3327;border-radius:5px}.panel-label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:#b3a080;letter-spacing:1px}.panel-label>span{font:8px serif;color:#74603f;letter-spacing:1px}.panel-label button{border:0;background:none;font-size:9px;padding:0;color:#7c6849}.hero-art{margin:16px -20px 0;height:169px;background:radial-gradient(ellipse at center,#393225,#211d17);border-block:1px solid #3e3527}.hero-art svg{width:100%;height:100%}.hero-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:21px 0}.hero-heading small{font-size:9px;color:#9b825a;letter-spacing:1px}.hero-heading h2{font:26px serif;letter-spacing:2px;margin:7px 0 0;overflow-wrap:anywhere}.hero-heading>span{font:32px serif;text-align:center;color:#b29b70}.hero-heading>span small{font:6px serif;display:block;margin-top:3px;letter-spacing:1px}.xp-label{display:flex;justify-content:space-between;font-size:8px;color:#786a51}.xp-label b{font:8px monospace;color:#98835b}progress{display:block;width:100%;height:3px;background:#3d3425;margin-top:9px;border:0;border-radius:1px;overflow:hidden}progress::-webkit-progress-bar{background:#3d3425}progress::-webkit-progress-value{background:#a58a57}progress::-moz-progress-bar{background:#a58a57}.attributes{display:grid;grid-template-columns:repeat(3,1fr);margin-top:20px;border-block:1px solid #3c3325;padding:15px 0}.attributes>div{text-align:center;border-right:1px solid #3c3325}.attributes>div:last-child{border:0}.attributes small{font-size:9px;color:#77684d}.attributes b{display:block;font:21px serif;color:#b39b71;margin-top:7px}.gold-row{display:flex;align-items:center;gap:12px;margin:19px 0;font-size:10px;color:#a78e5d}.gold-row strong{font:20px serif}.gold-row small{margin-left:auto;color:#6e624d;font-size:8px}.inventory-button{width:100%;background:#30271b;border-color:#5c482d;font-size:10px;color:#b39764;text-align:left;display:flex;justify-content:space-between;gap:8px}.inventory-button span{font:9px monospace;color:#807050}.camp-actions{display:flex;justify-content:space-between;gap:5px;margin-top:11px}.camp-actions button{font-size:8px;padding:6px;background:none;border:0;color:#8c7854}.equipment-panel,.journal-panel{margin-top:17px}.equipment-row{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #3c3325}.equipment-row:last-child{padding-bottom:0;border:0}.equipment-icon{font:24px serif;color:#9a825a;width:39px;height:40px;display:grid;place-items:center;background:#2e261b;border:1px solid #55432b}.equipment-row small{font-size:8px;color:#6f6047;display:block;margin-bottom:5px}.equipment-row b{font-size:10px;font-weight:400}.journal-panel p{font-size:10px;color:#857457;line-height:1.9;border-bottom:1px solid #3a3022;padding-bottom:12px;margin:13px 0}.journal-panel p:last-child{margin-bottom:0;padding-bottom:0;border:0}.notice{font-size:11px;color:#a78f68;border-left:2px solid #937342;padding:13px 17px;background:#282116;margin-top:24px;line-height:1.8}.notice.error{border-color:#a65f52;color:#c28778}footer{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:8px;color:#6c5e45;margin-top:19px}footer small{font-size:8px;margin-left:17px}footer>div{display:flex;gap:13px}footer button{font-size:8px;background:none;border:0;padding:5px;color:#8d7552}dialog{background:#221d16;color:#c8b99c;border:1px solid #645035;border-radius:6px;width:calc(100% - 30px);max-width:665px;max-height:88dvh;overflow:auto;padding:33px;box-shadow:0 20px 100px #0009}dialog::backdrop{background:#0b0906c9;backdrop-filter:blur(5px)}dialog h2{font:28px serif;letter-spacing:2px;line-height:1.6;margin:16px 0}dialog p,dialog li{font-size:12px;color:#8d7b5e;line-height:2}dialog li{margin-bottom:12px}dialog ol{padding-left:20px}dialog b{color:#baa57d}.close{position:absolute;right:12px;top:11px;border:0;background:none;font:23px serif;padding:3px 10px}.wide{width:100%;margin-top:13px}dialog>small{font-size:9px;color:#756446;display:block;line-height:1.8;text-align:center;margin-top:18px}.class-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin:21px 0}.class-choice{padding:0 0 14px;background:#272118;border:1px solid #4c3d29;overflow:hidden}.class-choice.selected{border-color:#b28c53;box-shadow:inset 0 0 0 1px #b28c53;background:#352a1c}.class-choice svg{width:100%;height:128px;display:block;background:#2a241b}.class-choice strong{font:18px serif;color:#baa17a;display:block;margin:13px 0 7px}.class-choice small{font-size:9px;color:#8a7858;padding:0 11px;line-height:1.8;display:block}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}label{font-size:11px;color:#a38c66;display:block}input,select{width:100%;padding:12px;margin-top:9px;background:#1b1813;border:1px solid #57452f;color:#bfa882;border-radius:3px;font-size:12px}.wide-dialog{max-width:825px}.inventory-summary{background:#2e251b;padding:12px;border:1px solid #58432d;font-size:11px;color:#ae9266;margin-bottom:14px}.inventory-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.item-card{background:#2b241b;border:1px solid #51402b;padding:14px}.item-card .item-title{display:flex;justify-content:space-between;gap:9px;font-size:12px;line-height:1.7}.item-card small{display:block;font-size:9px;color:#8c7755;margin-top:5px}.item-card p{font-size:10px;margin:7px 0;color:#aa9673;line-height:1.8}.item-card .comparison{font-size:9px;color:#8d9a76}.item-card>div:last-child{display:flex;gap:7px;margin-top:10px}.item-card button{font-size:10px;padding:7px 12px}.shop-item{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #493925;padding:18px 0}.shop-item b{font:19px serif}.shop-item small{display:block;font-size:10px;color:#917b56;margin-top:7px}.shop-item button{font-size:11px}.journal-line{border-bottom:1px solid #423523;padding:12px 0;font-size:12px;line-height:1.8;color:#a38a65}#result-stats{padding:15px;background:#30261b;border:1px solid #57432b;color:#baa16f;font:13px serif;line-height:1.9}.game-shell:fullscreen{border:0;border-radius:0;display:flex;flex-direction:column;width:100%;height:100%;background:#10100d;justify-content:center}.game-shell:fullscreen .viewport{flex:1;min-height:0;display:flex;justify-content:center}.game-shell:fullscreen #world{width:auto;height:100%;max-width:100%;object-fit:contain}.game-shell:fullscreen .game-top,.game-shell:fullscreen .combat-bar,.game-shell:fullscreen .touch-row,.game-shell:fullscreen .game-bottom{flex-shrink:0}[hidden]{display:none!important}
@media(max-width:1150px){main{padding:26px}.workspace{grid-template-columns:minmax(0,1fr) 260px;gap:18px}.game-top span{display:none}.combat-bar{gap:15px;padding-inline:12px}.orb{width:60px;height:60px}.skill-slots{gap:7px}.action-slot{width:60px;height:68px}.orb strong{font-size:20px}.touch-row>span{display:none}.quest-strip{padding:15px;gap:12px}.quest-strip h2{font-size:16px}.quest-strip button{font-size:9px}.quest-strip p{font-size:8px}.floor-card>div{padding:12px}.floor-card h3{font-size:15px}.hero-panel,.equipment-panel,.journal-panel{padding:17px}.hero-art{margin-inline:-17px}}
@media(max-width:850px){header{height:76px;padding-inline:22px}.brand{font-size:23px}.brand img{width:38px;height:44px}nav>span{display:none}nav{gap:15px}.workspace{grid-template-columns:1fr}.heading h1{font-size:31px}.chapter-mark{display:none}.workspace aside{display:grid;grid-template-columns:1fr 1fr;gap:16px}.hero-panel{grid-row:span 2}.equipment-panel,.journal-panel{margin:0}.hero-art{height:195px}.combat-bar{gap:30px}.action-slot{width:74px;height:73px}.orb{width:74px;height:74px}.game-top span{display:inline}.touch-row>span{display:block}.dpad button{height:38px;width:40px}.floor-card svg{height:106px}footer{flex-wrap:wrap}}
@media(max-width:480px){header{height:69px;padding-inline:12px}.brand{font-size:19px;letter-spacing:3px;gap:8px}.brand img{width:31px;height:39px}.brand small{font-size:6px;letter-spacing:2px;margin-top:5px}nav{gap:9px;font-size:8px}nav button{font-size:8px;padding:0}main{padding:23px 12px 16px}.eyebrow{font-size:6px;letter-spacing:1.6px}.heading h1{font-size:29px;letter-spacing:2px;margin:13px 0}.heading p{font-size:9px;line-height:1.9;max-width:330px}.heading{margin-bottom:21px}.game-top{height:42px;padding-inline:10px}.game-top span{display:none}.game-top b{font-size:10px}.game-top button{font-size:8px;padding:4px 6px}.game-top>div{gap:5px}.combat-bar{gap:9px;padding:13px 8px 9px}.orb{width:49px;height:49px;border-width:2px;outline-offset:2px}.orb strong{font-size:17px}.orb small{font-size:5px;margin-top:1px}.orb-group>span{font-size:7px;margin-top:7px}.skill-slots{gap:5px;flex:1;justify-content:center}.action-slot{width:47px;height:60px;padding:5px 0}.action-slot kbd{font-size:5px;left:4px;top:4px}.action-slot>span{font-size:23px}.action-slot b{font-size:6px;margin-top:4px;white-space:nowrap}.action-slot small{font-size:8px;right:3px;top:3px}.touch-row{padding:8px 10px 11px}.touch-row>span{display:none}.dpad{gap:5px}.dpad button{width:37px;height:37px;font-size:10px}.touch-row>button{font-size:9px;padding:8px}.game-bottom{padding:10px;font-size:7px}.game-bottom>span:last-child{display:none}.quest-strip{padding:13px 12px;gap:10px;flex-wrap:wrap}.quest-rune{font-size:31px}.quest-strip>div{flex:1}.quest-strip h2{font-size:16px;margin:5px 0}.quest-strip small{font-size:8px}.quest-strip p{font-size:8px}.quest-strip>b{font-size:19px}.quest-strip button{width:100%;font-size:10px;margin-top:3px;padding:9px}.section-heading{margin-top:23px;margin-bottom:12px}.section-heading h2{font-size:19px}.section-heading h2 span{font-size:7px;margin-left:8px}.section-heading>small{display:none}.floors{gap:7px}.floor-card svg{height:75px}.floor-card>div{padding:11px 8px}.floor-card small{font-size:6px;letter-spacing:1px}.floor-card h3{font-size:13px;letter-spacing:0}.floor-card p{font-size:7px;line-height:1.7}.floor-card>span{font-size:6px;padding:3px 5px;right:6px;top:6px}.workspace aside{grid-template-columns:1fr;gap:14px}.hero-panel{grid-row:auto;display:grid;grid-template-columns:118px 1fr;column-gap:20px;padding:18px}.hero-panel>.panel-label{grid-column:1/-1}.hero-art{grid-column:1;grid-row:2/5;height:143px;margin:17px 0 12px;border:1px solid #514331;border-radius:4px}.hero-heading{grid-column:2;grid-row:2;margin:24px 0 14px}.hero-heading h2{font-size:25px;letter-spacing:1px}.hero-heading small{font-size:9px}.hero-heading>span{font-size:29px}.xp-label{grid-column:2;font-size:8px;align-self:end}.xp-label b{font-size:7px}#xp{grid-column:2;margin:9px 0 25px;align-self:start}.attributes,.gold-row,.inventory-button,.camp-actions{grid-column:1/-1}.attributes{margin-top:8px}.attributes b{font-size:25px}.attributes small{font-size:10px}.gold-row strong{font-size:24px}.gold-row{font-size:11px}.gold-row small{font-size:9px}.inventory-button{font-size:11px;padding:12px}.inventory-button span{font-size:10px}.camp-actions button{font-size:10px;padding:7px}.equipment-panel,.journal-panel{padding:19px}.equipment-row b{font-size:12px}.equipment-row small{font-size:9px}.journal-panel p{font-size:11px}.notice{font-size:10px;margin-top:19px;padding:12px}.pause-overlay{gap:8px}.pause-overlay h2{font-size:22px;letter-spacing:1px}.pause-overlay p{font-size:9px;margin-bottom:4px}.pause-overlay .primary{padding:10px 17px;font-size:11px}footer{font-size:7px;gap:11px}footer small{display:block;margin:6px 0 0;font-size:7px}footer button{font-size:8px;padding:0}dialog{padding:28px 20px}dialog h2{font-size:25px;letter-spacing:1px}dialog p,dialog li{font-size:11px}.class-choices{gap:7px;margin:18px 0}.class-choice svg{height:99px}.class-choice strong{font-size:14px;margin:10px 0 6px}.class-choice small{font-size:7px;padding:0 7px}.form-row{gap:10px}input,select{font-size:11px;padding:10px}.inventory-list{grid-template-columns:1fr}.item-card{padding:15px}.item-card .item-title{font-size:13px}.item-card small{font-size:10px}.item-card p{font-size:11px}.shop-item button{font-size:10px}.shop-item b{font-size:17px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
