/* Game styles:cascade order retained;superseded declarations removed. */:root{color-scheme:dark;}
*{box-sizing:border-box;}
body{margin:0px;font:14px / 1.55 system-ui,-apple-system,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;}
button,select{font:inherit;}
button{border:1px solid rgb(89,109,133);border-radius:10px;padding:9px 11px;font-weight:700;min-height:40px;cursor:pointer;touch-action:manipulation;}
button:disabled{opacity:0.43;cursor:not-allowed;}
.primary{background:linear-gradient(rgb(180,125,65),rgb(152,96,45));border-color:rgb(211,164,97);color:rgb(255,249,233);}
.primary:hover:not(:disabled){background:rgb(182,124,64);}
.ghost{background:transparent;}
.warn{background:rgb(104,64,75);}
.shell{margin:auto;padding:14px 13px 90px;}
.top{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin:2px 0px 14px;}
.top h1{font-size:21px;margin:0px;}
.brand-logo-wrap{min-width:0;display:flex;align-items:flex-end;padding-top:14px;transform:translateY(17px);}
.brand-logo-link{display:block;padding:0;border:0;background:transparent;box-shadow:none;min-height:0;border-radius:0;line-height:0;}
.brand-logo-link:hover:not(:disabled),.brand-logo-link:focus-visible{background:transparent;border-color:transparent;box-shadow:none;}
.brand-logo-link img{display:block;height:74px;width:auto;max-width:min(50vw,360px);object-fit:contain;}

.layout{grid-template-columns:minmax(0px,1.1fr) minmax(320px,0.9fr);gap:14px;}
.stack{align-content:start;gap:14px;}
.panel{background:linear-gradient(135deg,var(--panel),#15202d);border:1px solid var(--line);border-radius:15px;padding:14px;min-width:0px;}
h2{color:var(--gold);font-size:17px;margin:0px 0px 10px;}
h3{font-size:14px;margin:13px 0px 7px;color:rgb(227,214,195);}
.sub,.tip{font-size:12px;color:var(--muted);}
.tip{margin:6px 0px;}
.row{display:flex;align-items:center;justify-content:space-between;gap:9px;}
.wrap{flex-wrap:wrap;}
.badge{font-size:11px;padding:3px 7px;border:1px solid rgba(152,124,71,0.31);border-radius:99px;}
.meters{display:grid;gap:7px;}
.bar{background:rgb(12,20,31);border:1px solid rgb(65,81,106);height:9px;border-radius:99px;overflow:hidden;}
.bar i{display:block;height:100%;background:rgb(101,182,138);transition:width 0.2s;}
.bar.mp i{background:rgb(108,158,219);}
.bar.xp i{background:rgb(216,177,103);}
.num{font-variant-numeric:tabular-nums;}
.tiny{font-size:12px;}
.grid2,.area-buttons,.job-buttons,.actions,.stats{display:grid;grid-template-columns:repeat(2,minmax(0px,1fr));gap:8px;}
.choice.active{background:rgb(105,80,52);border-color:var(--gold);}
.choice small{display:block;color:rgb(194,202,213);font-weight:400;}
.battle-scene{margin:10px 0px;background:linear-gradient(rgb(39,52,71),rgb(27,48,48));height:165px;border-radius:12px;border:1px solid rgb(82,96,82);position:relative;display:flex;justify-content:space-around;align-items:center;overflow:hidden;}
.battle-scene::after{content:"";position:absolute;bottom:18px;left:0px;right:0px;height:1px;background:rgba(165,170,138,0.2);}
.sprite{font-size:68px;filter:drop-shadow(rgba(0,0,0,0.6) 0px 5px 3px);z-index:1;line-height:1;}
.vs{font-weight:900;color:var(--gold);z-index:1;}
.battle-btn{width:100%;font-size:18px;min-height:55px;}
.log{font-size:12px;max-height:185px;overflow:auto;background:rgb(16,25,37);border-radius:9px;border:1px solid rgb(53,68,90);padding:9px;}
.log div{padding:5px 0px;border-bottom:1px solid rgb(41,53,72);}
.log div:first-child{color:var(--gold);}
.stat{padding:8px;display:flex;align-items:center;justify-content:space-between;gap:6px;border-radius:9px;border:1px solid var(--line);background:var(--panel2);}
.stat button{padding:0px;min-height:30px;min-width:34px;}
.notice{background:rgba(106,85,48,0.165);border-left:3px solid var(--gold);border-radius:5px;padding:9px;font-size:12px;}
.divider{border-right:0px;border-bottom:0px;border-left:0px;border-image:none;border-top:1px solid var(--line);margin:12px 0px;}
.item{background:var(--panel2);border:1px solid var(--line);border-radius:10px;padding:10px;display:grid;gap:7px;}
.itemhead{display:flex;align-items:center;justify-content:space-between;gap:8px;}
.item button{font-size:12px;padding:5px 9px;min-height:32px;}
.itemops{display:flex;gap:6px;align-items:center;flex-wrap:wrap;}
.inventory{display:grid;gap:7px;}
.rarity-0{color:rgb(216,220,225);}
.rarity-1{color:rgb(153,213,162);}
.rarity-2{color:rgb(133,185,255);}
.rarity-3{color:rgb(197,154,255);}
.rarity-4{color:rgb(243,198,117);}
.skillbox{background:rgb(17,27,40);border:1px solid rgb(74,86,112);border-radius:10px;padding:9px;}
.skillbox select{width:100%;color:var(--text);background:rgb(39,57,81);border:1px solid rgb(103,120,145);padding:10px;border-radius:8px;min-height:42px;}
.skilldesc{margin:7px 0px 0px;color:var(--muted);font-size:12px;}
.section-top{display:flex;align-items:center;justify-content:space-between;gap:7px;}
.nav{display:none;}
.footer{text-align:center;color:var(--muted);font-size:11px;margin-top:18px;}
#toast{position:fixed;z-index:10;bottom:82px;left:50%;transform:translateX(-50%);background:rgb(243,230,203);color:rgb(41,34,30);border-radius:10px;padding:10px 14px;box-shadow:rgba(0,0,0,0.6) 0px 8px 25px;max-width:90%;display:none;min-width:130px;text-align:center;}
@media (max-width:730px){.shell{padding:11px 10px 90px;}
.brand-logo-wrap{transform:translateY(12px);}
.layout{grid-template-columns:1fr;}
.top h1{font-size:18px;}
.brand-logo-link img{height:60px;max-width:min(64vw,280px);}
.panel{padding:12px;}
.battle-scene{height:140px;}
.sprite{font-size:59px;}
.nav{position:fixed;bottom:0px;left:0px;right:0px;display:grid;gap:1px;background:rgb(52,67,84);padding-bottom:env(safe-area-inset-bottom);z-index:3;}
.nav button{border:0px;border-radius:0px;background:rgb(27,41,56);}
.nav button.active{background:rgb(53,64,83);color:var(--gold);}
.mobile-hidden{display:none !important;}
}
.shell{max-width:900px;padding-bottom:92px;}
.top{border-bottom:1px solid var(--line);padding-bottom:11px;}
.top h1{letter-spacing:0.12em;}
.layout{display:block;}
.stack{display:none;}
.stack.is-active{display:grid;grid-template-columns:1fr;gap:12px;}
.panel{box-shadow:rgba(0,0,0,0.133) 0px 5px 24px;}
.desk-nav{display:flex;flex-wrap:wrap;margin-bottom:14px;}
.desk-nav button{flex:1 1 0%;}
.desk-nav button.active{border-color:rgb(184,140,72);}
.status-strip{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;border:1px solid var(--line);border-radius:12px;padding:9px 12px;margin:0px 0px 13px;}
.status-strip .info{display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.status-strip small{color:var(--muted);}
.town-art{background:linear-gradient(rgb(57,74,92) 0%,rgb(40,52,72) 40%,rgb(36,42,48) 100%);}
.town-art::before{content:"♜　　♜　　　　　♜";position:absolute;font:78px Georgia,serif;letter-spacing:0.1em;opacity:0.24;color:rgb(217,185,133);top:-4px;left:12%;white-space:nowrap;}
.town-art h2{position:relative;font-size:25px;text-shadow:rgb(0,0,0) 0px 3px 8px;color:rgb(241,216,170);margin:0px;}
.town-art p{position:relative;color:rgb(233,224,212);font-size:12px;margin:3px 0px;}
.facility{display:block;text-align:left;padding:14px 12px;border:1px solid rgb(84,104,126);border-radius:11px;background:rgb(38,54,74);width:100%;min-height:90px;}
.facility strong{display:block;color:var(--gold);font-size:16px;}
.facility small{display:block;color:var(--muted);margin-top:2px;}
.facility:hover{border-color:var(--gold);}
.facility-grid{display:grid;grid-template-columns:repeat(2,minmax(0px,1fr));gap:9px;}
.navpath{font-size:12px;color:var(--muted);margin:-3px 0px 10px;}
.back{min-width:105px;}
.faction-card,.report-card{border:1px solid var(--line);border-radius:12px;padding:13px;background:var(--panel2);margin-top:9px;}
.faction-card h3,.report-card h3{margin:0px 0px 4px;font-size:16px;color:var(--gold);}
.faction-card p,.report-card p{font-size:12px;line-height:1.8;margin:7px 0px;color:rgb(215,223,235);}
.faction-card .row{margin-top:9px;}
.report-card.locked{opacity:0.65;}
.report-card.read{border-color:rgb(142,120,78);}
.tag{font-size:11px;color:rgb(212,187,131);}
.plain-link{display:inline-block;background:none;border-width:medium;border-style:none;border-color:currentcolor;border-image:none;text-align:left;min-height:36px;padding:2px 0px;text-decoration:underline;text-underline-offset:3px;color:rgb(230,197,134);}
.muted-block{background:rgb(17,26,38);padding:10px;border:1px solid var(--line);border-radius:9px;font-size:12px;color:var(--muted);}
.tip-em{color:var(--gold);font-size:12px;}
.nav button{touch-action:manipulation;}
.report-body{white-space:pre-line;color:rgb(233,226,214) !important;}
.read-tip{font-size:11px;color:var(--muted);}
@media (max-width:730px){.desk-nav{display:none;}
.status-strip{padding:8px 10px;font-size:12px;}
.status-strip .info{gap:5px;}
.town-art h2{font-size:21px;}
.facility{min-height:82px;padding:11px 9px;}
.facility strong{font-size:14px;}
.facility small{font-size:11px;}
}
.faction-summary{background:linear-gradient(120deg,rgb(40,52,72),rgb(26,36,52));border:1px solid rgb(141,116,75);border-radius:12px;padding:13px;margin:12px 0px;}
.faction-summary .bar{margin:9px 0px;}
.missions{display:grid;gap:8px;}
.mission{display:flex;justify-content:space-between;align-items:center;gap:8px;background:rgb(34,49,70);border:1px solid var(--line);padding:10px;border-radius:10px;}
.mission small{display:block;color:var(--muted);font-size:11px;margin-top:2px;}
.mission button{flex-shrink:0;}
.hero-sprite{display:grid;justify-items:center;z-index:1;}
.hero-insignia{font-size:21px;line-height:1.1;}
.title-label{color:var(--gold) !important;}
#faction-summary .tip{line-height:1.7;}
#faction-summary strong{font-weight:750;}
.book-counter{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;background:rgb(21,34,52);border:1px solid rgb(128,109,83);padding:13px;border-radius:12px;margin:10px 0px;}
.book-counter strong{font-size:22px;color:var(--gold);}
.roulette{margin:10px 0px 17px;min-height:125px;padding:16px 10px;text-align:center;border:1px solid rgb(146,116,72);border-radius:13px;background:radial-gradient(rgb(56,67,82),rgb(23,33,49) 72%);display:grid;align-content:center;gap:6px;overflow:hidden;}
.roulette-name{letter-spacing:0.04em;color:rgb(239,207,143);}
.roulette.rolling{border-color:rgb(233,193,122);box-shadow:rgba(212,166,95,0.333) 0px 0px 22px;}
.roulette .badge{display:inline-block;}
.book-skill{display:grid;gap:7px;padding:12px;background:rgb(32,46,67);border:1px solid rgb(80,96,120);border-radius:11px;}
.book-skill .row{align-items:start;}
.book-skill button{flex-shrink:0;}
.book-skill.selected{border-color:rgb(174,146,93);}
.book-skill.empty{border-style:dashed;}
.book-skill .tip{margin:0px;}
.skill-tag{display:inline-block;padding:2px 7px;border:1px solid;border-radius:6px;font-size:11px;font-weight:700;}
@media (max-width:440px){.book-counter{padding:10px;}
.book-counter strong{font-size:19px;}
.roulette-name{font-size:21px;}
.book-skill .row{flex-wrap:wrap;}
}
.stack[data-section="battle"]>.panel:first-child{display:none;}
.area-focus{display:flex;gap:14px;align-items:center;background:rgb(17,28,42);border:1px solid var(--line);border-radius:13px;padding:14px;margin:13px 0px;}
.area-focus-icon{text-align:center;}
.area-focus strong{color:var(--gold);font-size:17px;}
.area-focus .tip{line-height:1.8;}
.battle-panel{border-color:rgb(146,117,79);background:linear-gradient(rgb(27,39,54),rgb(16,27,41));}
.opponent-hud{padding:10px 11px;background:rgb(16,27,42);border:1px solid rgb(67,80,103);border-radius:10px;margin:12px 0px 9px;}
.opponent-hud .bar{margin-top:6px;height:11px;}
.enemy-meter i{background:linear-gradient(90deg,rgb(169,67,67),rgb(228,129,101));}
.player-hud{margin:9px 0px;}
.duel-scene{height:218px;margin:8px 0px;background:radial-gradient(circle at 55% 20%,rgb(67,81,99) 0px,rgb(39,55,70) 35%,rgb(21,32,43) 86%);border-color:rgb(105,114,122);justify-content:space-around;}
.duel-scene .sprite{font-size:94px;transform-origin:50% 70%;}
.duel-scene .foe-sprite{text-align:center;}
.duel-scene .strike-text{font-size:16px;position:absolute;z-index:4;top:21px;left:0px;right:0px;text-align:center;color:rgb(243,198,117);font-weight:900;text-shadow:rgb(0,0,0) 0px 2px 5px;pointer-events:none;}
.duel-scene.hero-attacks .hero-sprite{animation:0.42s ease-out 0s 1 normal none running hero-lunge;}
.duel-scene.skill-attacks .hero-sprite{animation:0.46s ease-out 0s 1 normal none running skill-flare;}
.duel-scene.foe-defeated .foe-sprite{opacity:0.38;filter:grayscale(1);transform:translateY(8px);}
@keyframes hero-lunge{50%{transform:translateX(30px) scale(1.12);}
}
@keyframes skill-flare{50%{filter:drop-shadow(rgb(239,195,109) 0px 0px 21px);transform:scale(1.17);}
}
.combat-message{min-height:52px;background:rgb(13,23,36);padding:13px 11px;border:1px solid rgb(87,100,122);border-radius:10px;display:grid;align-items:center;font-weight:700;line-height:1.65;}
.combat-result{text-align:center;border:1px solid rgb(144,117,72);border-radius:10px;background:rgba(109,83,49,0.133);padding:13px 10px;margin-top:10px;}
.combat-result[hidden]{display:none;}
.combat-result strong{display:block;font-size:24px;letter-spacing:0.12em;}
.combat-result .win{color:rgb(240,200,120);}
.combat-result .lose{color:rgb(239,136,136);}
.battle-settings{margin:12px 0px;}
.battle-settings label{display:flex;align-items:center;gap:7px;cursor:pointer;}
.battle-settings input{width:18px;height:18px;accent-color:rgb(201,154,83);}
.battle-speed-row{flex-wrap:wrap;}
.turn-log{max-height:170px;}
.turn-log div:nth-child(2n){color:rgb(159,195,232);}
@media (max-width:730px){.duel-scene{height:180px;}
.duel-scene .sprite{font-size:73px;}
.duel-scene .strike-text{font-size:13px;}
}
.town-art{position:relative;min-height:270px;border:1px solid rgb(140,119,84);border-radius:12px;overflow:hidden;display:flex;flex-direction:column;justify-content:end;padding:16px;margin-bottom:12px;}
.town-art::before{display:none;}
.town-art h2,.town-art p{position:relative;z-index:1;}
.town-art-copy{position:relative;z-index:1;background:linear-gradient(90deg,rgba(11,17,25,0.78),rgba(11,17,25,0.28));padding:10px 12px;border-radius:10px;}
.town-hero-thumb{position:absolute;left:16px;bottom:14px;width:84px;height:auto;image-rendering:pixelated;filter:drop-shadow(rgba(0,0,0,0.45) 0px 4px 8px);z-index:1;}
@media (max-width:730px){.town-art{min-height:220px;}
.town-hero-thumb{width:66px;left:10px;bottom:10px;}
.town-art-copy{margin-left:72px;padding:8px 10px;}
}
#player-sprite{display:block;width:128px;height:128px;margin-inline:auto;background:url("assets/asset_002.webp") center center / contain no-repeat;color:transparent;font-size:0px;image-rendering:pixelated;filter:drop-shadow(rgba(0,0,0,0.6) 0px 5px 3px);}
.duel-scene.hero-attacks #player-sprite,.duel-scene.skill-attacks #player-sprite{background-image:url("assets/asset_003.webp");}
.duel-scene.enemy-attacks #player-sprite,.duel-scene.foe-defeated #player-sprite,.duel-scene #player-sprite{transition:background-image 0.1s linear;}
.player-portrait{border-radius:8px;border:1px solid rgb(134,115,85);box-shadow:rgba(0,0,0,0.25) 0px 4px 10px;flex-shrink:0;}
.player-head{display:flex;align-items:center;gap:10px;}
.player-head-copy{display:grid;gap:2px;}
.player-head-copy .sub{margin:0px;}
.battle-panel .hero-sprite{display:grid;place-items:end center;min-height:140px;}
.duel-scene .hero-sprite{width:40%;}
.footer{max-width:900px;margin:18px auto 0px;padding:0px 10px;}
.area-focus-icon{font-size:0px;min-width:92px;width:92px;height:92px;background-position:center center;background-size:contain;background-repeat:no-repeat;image-rendering:pixelated;filter:drop-shadow(rgba(0,0,0,0.45) 0px 4px 8px);border-radius:8px;}
.duel-scene .foe-sprite{display:block;width:138px;height:138px;margin-inline:auto;background-position:center center;background-size:contain;background-repeat:no-repeat;color:transparent;font-size:0px;image-rendering:pixelated;filter:drop-shadow(rgba(0,0,0,0.55) 0px 6px 10px);align-self:end;}
@media (max-width:730px){.area-focus-icon{min-width:78px;width:78px;height:78px;}
.duel-scene .foe-sprite{width:116px;height:116px;}
}
.town-hero-thumb{display:none !important;}
.town-art-copy{margin-left:0px;max-width:420px;}
.town-avatar-card{display:flex;align-items:center;gap:15px;padding:10px 13px;margin-bottom:13px;background:rgb(21,31,42);border:1px solid rgb(129,108,78);border-radius:11px;}
.town-avatar-card canvas{image-rendering:pixelated;flex:0 0 72px;}
.town-avatar-card strong{color:rgb(233,193,122);}
.town-avatar-card p{margin:4px 0px 7px;}
.avatar-preview-grid{display:grid;}
.avatar-preview-panel{display:grid;justify-items:center;gap:8px;border-radius:10px;}
.avatar-fields{display:grid;grid-template-columns:repeat(2,minmax(0px,1fr));gap:12px;}
.avatar-fields label{display:grid;gap:5px;font-weight:700;color:var(--gold);}
.avatar-fields select{width:100%;padding:11px;border:1px solid rgb(97,112,134);background:rgb(38,52,73);color:var(--text);border-radius:8px;min-width:0px;}
.duel-scene #player-sprite{display:block;min-width:0px;max-width:100%;color:inherit;filter:drop-shadow(rgba(0,0,0,0.6) 0px 5px 3px);image-rendering:crisp-edges;background:none !important;}
.player-portrait{image-rendering:pixelated;background:rgb(17,26,38) !important;}
@media (max-width:730px){.duel-scene #player-sprite{width:91px;height:123px;}
.avatar-fields{gap:9px;}
}
.avatar-preview-grid{grid-template-columns:minmax(0px,1.1fr) minmax(0px,0.9fr);gap:10px;margin-top:14px;}
.avatar-preview-panel{background:radial-gradient(at 55% 25%,rgb(60,65,66) 0%,rgb(34,43,50) 49%,rgb(20,28,39) 100%);border:1px solid rgb(139,117,79);padding:12px 4px;min-height:258px;align-content:space-between;}
.avatar-preview-panel canvas{filter:drop-shadow(rgba(0,0,0,0.533) 0px 7px 4px);}
.player-portrait{width:54px;height:54px;object-fit:cover;}
.avatar-fields{margin-top:18px;}
@media (max-width:730px){.avatar-preview-panel{min-height:208px;}
.avatar-preview-panel canvas{width:128px;height:171px;}
.avatar-preview-panel:nth-child(2) canvas{width:123px;height:164px;}
}
.grave-banner{position:relative;overflow:hidden;min-height:174px;padding:24px 17px 17px;display:flex;flex-direction:column;justify-content:end;background:linear-gradient(rgb(34,44,56) 0%,rgb(23,33,42) 55%,rgb(13,22,33) 100%);border:1px solid rgb(120,99,78);border-radius:12px;margin-bottom:12px;}
.grave-banner::before{content:"✝　　✦　　✝　　✦　✝";position:absolute;top:13px;left:7%;white-space:nowrap;color:rgb(175,194,195);font:46px Georgia,serif;letter-spacing:0.4em;opacity:0.3;}
.grave-banner h2,.grave-banner p{position:relative;margin:0px 0px 6px;text-shadow:rgb(0,0,0) 0px 2px 5px;}
.grave-banner p{color:rgb(197,209,216);font-size:12px;}
.grave-layers{display:grid;grid-template-columns:repeat(2,minmax(0px,1fr));gap:8px;margin:12px 0px;}
.grave-layer{padding:12px 9px;display:grid;text-align:left;gap:4px;min-height:96px;background:rgb(29,44,59);border:1px solid rgb(67,84,106);border-radius:10px;color:var(--text);}
.grave-layer strong{color:rgb(228,209,178);}
.grave-layer small{font-size:11px;color:rgb(189,199,210);font-weight:400;}
.grave-layer.selected{background:rgb(64,54,40);border:2px solid rgb(215,170,104);}
.grave-layer:disabled{opacity:0.47;}
.grave-meter{background:rgb(13,23,36);border-radius:12px;border:1px solid rgb(75,91,109);padding:12px;display:grid;gap:8px;}
.grave-big{font-size:22px;color:rgb(231,206,161);font-weight:750;font-variant-numeric:tabular-nums;}
.grave-status{font-size:12px;color:rgb(209,217,225);}
.grave-report{border:1px solid rgb(120,101,78);background:rgb(30,42,55);border-radius:10px;padding:12px;margin-top:10px;display:grid;gap:6px;}
.grave-report h3{margin:0px 0px 3px;}
.grave-report p{margin:0px;font-size:12px;line-height:1.7;}
.grave-actions{display:grid;grid-template-columns:repeat(2,minmax(0px,1fr));gap:8px;margin-top:10px;}
.grave-actions button{min-height:51px;}
.grave-preview{display:flex;align-items:center;gap:12px;margin-top:10px;padding:10px;background:rgb(21,34,49);border-radius:9px;}
.grave-preview-img{width:82px;height:82px;object-fit:contain;image-rendering:pixelated;flex-shrink:0;}
@media (max-width:600px){.grave-banner{min-height:145px;}
.grave-layers{gap:7px;}
.grave-layer{padding:10px 8px;}
.grave-actions{grid-template-columns:1fr;}
}
.tower-banner{min-height:153px;display:flex;flex-direction:column;justify-content:flex-end;padding:21px 16px;margin:9px 0px;background:linear-gradient(0deg,rgb(17,27,42) 2%,rgb(40,51,73) 70%,rgb(32,39,57));border:1px solid rgb(150,122,84);border-radius:12px;position:relative;overflow:hidden;}
.tower-banner::before{content:"♜  ♜  ♜";position:absolute;right:8%;top:-25px;font:98px / 1 serif;color:rgb(196,165,115);opacity:0.12;}
.tower-banner h2,.tower-banner p{position:relative;margin:0px;}
.tower-banner h2{font-size:25px;color:rgb(232,200,136);}
.tower-banner p{font-size:12px;color:rgb(218,225,236);max-width:510px;}
.tower-grid{display:grid;grid-template-columns:repeat(3,minmax(0px,1fr));gap:7px;margin:12px 0px;}
.tower-stat{padding:11px 7px;border:1px solid rgb(83,96,119);border-radius:9px;background:rgb(19,32,49);text-align:center;}
.tower-stat strong{display:block;color:rgb(231,200,138);font-size:19px;font-variant-numeric:tabular-nums;}
.tower-stat small{color:rgb(184,199,214);font-size:11px;}
.tower-control{display:grid;grid-template-columns:48px minmax(0px,1fr) 48px;gap:7px;align-items:center;margin:13px 0px;}
.tower-control button{height:47px;}
.tower-control select{min-height:47px;width:100%;padding:8px;background:rgb(38,54,74);color:var(--text);border:1px solid rgb(117,130,150);border-radius:9px;}
.tower-foe{display:flex;align-items:center;gap:12px;background:rgb(16,27,41);border:1px solid rgb(88,100,119);border-radius:12px;padding:12px;}
.tower-foe img{width:91px;height:91px;object-fit:contain;image-rendering:pixelated;flex:0 0 auto;}
.tower-foe strong{color:var(--gold);}
.tower-foe p{font-size:12px;color:var(--muted);margin:3px 0px;}
.tower-foe .badge{display:inline-block;}
.tower-actions{display:grid;grid-template-columns:1.2fr 1fr;gap:8px;margin:12px 0px;}
.tower-actions button{min-height:51px;}
.tower-floors{display:grid;grid-template-columns:repeat(5,minmax(0px,1fr));gap:5px;margin:10px 0px;}
.tower-floors button{padding:7px 2px;font-size:11px;min-height:45px;}
.tower-floors button.current{background:rgb(101,80,51);border-color:rgb(215,173,105);color:rgb(255,244,220);}
.tower-floors button.held{border-color:rgb(117,188,146);}
.tower-floors button:disabled{opacity:0.36;}
.tower-hint{font-size:12px;color:rgb(204,214,225);line-height:1.65;}
#tower-result{border:1px solid rgb(120,102,73);border-radius:10px;background:rgb(24,39,53);padding:12px;margin:12px 0px;font-size:12px;line-height:1.9;white-space:pre-line;}
#tower-result:empty{display:none;}
@media (max-width:420px){.tower-stat strong{font-size:16px;}
.tower-foe img{width:75px;height:75px;}
.tower-grid{gap:5px;}
.tower-actions{grid-template-columns:1fr;}
}
:root{--bad:#ef9f90;}
body{color:var(--text);}
.top{border-bottom-color:rgb(113,86,56);}
.status-strip{background:rgb(43,33,25);border-color:rgb(112,88,60);}
.badge{background:rgba(189,146,89,0.125);border-color:rgba(155,117,78,0.4);color:rgb(241,204,135);}
.desk-nav button.active,.nav button.active{background:rgb(114,82,46);color:rgb(255,224,161);border-color:rgb(209,170,101);}
.stack[data-section="town"].is-active{gap:14px;}
.stack[data-section="town"] .panel{background:rgb(35,28,22);border:1px solid rgb(128,100,66);box-shadow:rgba(8,6,5,0.333) 0px 14px 40px;}
.town-v1{overflow:hidden;padding:13px !important;}
.town-v1 h2{margin:0px;color:rgb(243,211,156);}
.home-eyebrow{display:flex;align-items:center;gap:7px;padding:0px 3px 11px;color:rgb(216,186,131);font-size:11px;font-weight:700;letter-spacing:0.1em;}
.home-mark{font-size:15px;}
.home-edition{margin-left:auto;color:rgb(169,146,112);font-weight:400;letter-spacing:0px;}
.town-v1 .town-art{margin:0px 0px 13px;display:flex;align-items:stretch;justify-content:end;border:1px solid rgb(152,121,84);border-radius:10px;background-position:center 53%;box-shadow:rgba(0,0,0,0.4) 0px 0px 0px 1px inset;image-rendering:pixelated;padding:0px !important;}
.town-v1 .home-city-shade{width:100%;display:flex;flex-direction:column;justify-content:end;}
.home-city-kicker{font-size:10px;letter-spacing:0.19em;color:rgb(223,194,138);text-shadow:rgb(0,0,0) 0px 1px 3px;}
.town-v1 .town-art h2{text-shadow:rgb(0,0,0) 0px 2px 5px;}
.town-v1 .town-art p{font-size:12px;margin:3px 0px 0px;text-shadow:rgb(0,0,0) 0px 1px 3px;}
.home-character{display:grid;grid-template-columns:138px minmax(0px,1fr);gap:18px;border:1px solid rgb(133,106,67);background:linear-gradient(115deg,rgb(52,41,31),rgb(37,28,22));border-radius:14px;padding:16px;margin-bottom:20px;}
.home-character-portrait{background:rgb(25,22,17);border:1px solid rgb(128,100,66);min-height:168px;display:flex;align-items:center;justify-content:center;border-radius:10px;overflow:hidden;}
.home-character-portrait canvas{width:118px;height:148px;image-rendering:pixelated;object-fit:contain;filter:drop-shadow(rgba(0,0,0,0.533) 0px 6px 5px);}
.home-character-info{min-width:0px;}
.home-character-top{display:flex;align-items:center;justify-content:space-between;gap:5px;flex-wrap:wrap;}
.home-overline{font-size:9px;letter-spacing:0.18em;color:rgb(203,168,119);font-weight:750;}
.home-pill{font-size:10px;color:rgb(233,204,145);background:rgb(75,56,36);border:1px solid rgb(150,112,68);padding:3px 8px;border-radius:99px;}
.home-character-name{display:flex;align-items:baseline;gap:10px;margin:4px 0px 6px;}
.home-character-name strong{font-size:28px;color:rgb(255,241,209);line-height:1;}
.home-character-name span{color:rgb(233,193,125);font-size:18px;font-weight:700;}
.home-character-meta{font-size:13px;color:rgb(205,187,159);margin-bottom:12px;}
.home-meter{margin-bottom:8px;}
.home-meter-label{display:flex;justify-content:space-between;font-size:12px;color:rgb(238,226,207);font-variant-numeric:tabular-nums;}
.home-meter-track{height:7px;margin-top:4px;border-radius:5px;overflow:hidden;background:rgb(19,15,12);border:1px solid rgb(103,81,59);}
.home-meter-track i{display:block;height:100%;width:0px;transition:width 0.2s;}
.home-hp-fill{background:rgb(125,181,140);}
.home-mp-fill{background:rgb(126,156,195);}
.home-exp-line{display:flex;justify-content:space-between;gap:5px;flex-wrap:wrap;font-size:10px;color:rgb(204,184,154);margin-top:8px;font-variant-numeric:tabular-nums;}
.home-exp-line span:last-child{font-weight:700;color:rgb(237,199,130);}
.home-section-heading{display:flex;align-items:end;justify-content:space-between;gap:8px;margin:0px 1px 10px;}
.home-section-heading h2{font-size:18px;margin:2px 0px 0px !important;}
.home-small-icon{color:rgb(215,182,120);font-size:24px;}
.home-meta-note{font-size:10px;color:rgb(181,161,135);}
.home-notice-grid{display:grid;gap:8px;margin-bottom:23px;}
.home-notice{display:flex;align-items:center;gap:7px;min-width:0px;padding:12px 10px;text-align:left;background:rgb(52,41,31);border:1px solid rgb(119,94,63);border-radius:9px;color:rgb(244,232,210);font-size:12px;font-weight:500;}
.home-notice:hover{background:rgb(73,53,33);border-color:rgb(209,167,103);}
.home-notice>span:nth-child(2){min-width:0px;flex:1 1 0%;}
.home-notice strong{display:block;color:rgb(237,203,144);font-size:12px;}
.home-notice small{display:block;color:rgb(206,186,160);font-size:10px;font-weight:400;line-height:1.5;margin-top:4px;overflow-wrap:anywhere;}
.home-notice-symbol{width:29px;height:29px;display:grid;place-items:center;background:rgb(77,57,37);color:rgb(225,185,118);font-size:21px;border:1px solid rgb(129,98,59);border-radius:7px;flex-shrink:0;}
.home-arrow{color:rgb(209,170,103);font-size:22px;flex-shrink:0;}
.home-facilities-heading{margin-bottom:11px;}
.home-facility-grid{display:grid;grid-template-columns:repeat(2,minmax(0px,1fr));gap:9px;}
.home-facility{display:flex;align-items:center;gap:12px;text-align:left;min-width:0px;min-height:86px;padding:13px;background:rgb(48,37,28);border:1px solid rgb(118,89,60);border-radius:10px;color:rgb(245,233,214);box-shadow:none;}
.home-facility:hover{background:rgb(66,49,34);border-color:rgb(211,166,95);}
.home-facility-featured:hover{background:rgb(117,81,42);}
.home-facility-icon{width:42px;height:42px;flex-shrink:0;display:grid;place-items:center;background:rgb(36,26,19);color:rgb(223,188,123);border-radius:9px;border:1px solid rgb(148,113,73);font-size:24px;}
.home-facility-featured .home-facility-icon{background:rgb(60,42,23);color:rgb(242,210,154);}
.home-facility-copy{flex:1 1 0%;min-width:0px;}
.home-facility-copy strong{display:block;font-size:15px;color:rgb(247,228,189);}
.home-facility-copy small{display:block;font-size:11px;margin-top:4px;color:rgb(204,183,154);font-weight:400;overflow-wrap:anywhere;}
.home-details{margin:11px 0px 22px;border:1px solid rgb(111,87,59);border-radius:9px;overflow:hidden;background:rgb(43,33,25);}
.home-details summary{cursor:pointer;list-style:none;padding:12px;color:rgb(223,193,139);font-weight:700;font-size:12px;display:flex;justify-content:space-between;}
.home-details summary::-webkit-details-marker{display:none;}
.home-details[open] summary{border-bottom:1px solid rgb(111,87,59);}
.home-extra-grid{display:grid;grid-template-columns:repeat(3,minmax(0px,1fr));gap:7px;padding:9px;}
.home-extra-grid button{background:rgb(57,44,33);border-color:rgb(119,91,61);min-height:63px;padding:8px;font-size:12px;text-align:left;color:rgb(245,219,171);}
.home-extra-grid small{display:block;font-size:10px;color:rgb(211,189,160);font-weight:400;margin-top:3px;}
.home-journal{border:1px solid rgb(150,116,74);border-radius:9px;padding:14px 16px;color:rgb(58,41,26);}
.home-journal .home-overline{color:rgb(121,81,42);}
.home-journal #home-news{font-size:13px;font-weight:700;line-height:1.7;margin:5px 0px;}
.home-journal small{font-size:11px;}
.home-preview-note{font-size:10px;color:rgb(172,152,127);text-align:center;margin:11px 2px 0px;}
.home-save h2{color:rgb(229,193,132);}
@media (max-width:730px){.town-v1{padding:10px !important;}
.home-character{grid-template-columns:92px minmax(0px,1fr);gap:10px;padding:11px;}
.home-character-portrait{min-height:122px;}
.home-character-portrait canvas{width:76px;height:102px;}
.home-character-name strong{font-size:21px;}
.home-character-name span{font-size:14px;}
.home-character-meta{font-size:11px;}
.home-meter-label{font-size:10px;}
.home-notice-grid{grid-template-columns:1fr;gap:6px;}
.home-notice{min-height:52px;padding:8px 10px;}
.home-notice small{margin-top:1px;}
.home-facility-grid{gap:7px;}
.home-facility{min-height:80px;padding:10px 8px;gap:7px;}
.home-facility-icon{width:31px;height:35px;font-size:19px;}
.home-facility-copy strong{font-size:13px;}
.home-facility-copy small{font-size:10px;}
.home-facility .home-arrow{font-size:18px;}
.home-section-heading h2{font-size:16px;}
.home-extra-grid{grid-template-columns:1fr;}
.home-extra-grid button{min-height:45px;}
.home-extra-grid button small{display:inline;margin-left:9px;}
.home-journal{padding:12px;}
}
@media (max-width:350px){.home-facility-grid{grid-template-columns:1fr;}
.home-character{grid-template-columns:60px minmax(0px,1fr);}
.home-character-portrait canvas{width:53px;height:71px;}
.home-facility{min-height:65px;}
}
@media (prefers-reduced-motion:reduce){.home-meter-track i{transition:none;}
}
.battle-v1{gap:13px !important;}
.battle-v1 .panel{min-width:0px;}
.battle-v1-main{padding:17px 18px 19px !important;background:rgb(38,28,22) !important;border-color:rgb(130,99,68) !important;}
.battle-v1-breadcrumb{display:flex;justify-content:space-between;align-items:center;gap:7px;margin-bottom:13px;border-bottom:1px solid rgb(101,75,49);padding-bottom:11px;color:rgb(188,170,140);font-size:10px;letter-spacing:0.05em;}
.battle-v1-breadcrumb button{font-size:11px;min-height:32px;padding:5px 8px;border-color:rgb(111,81,52);color:rgb(223,195,144);}
.battle-v1-top{display:flex;justify-content:space-between;align-items:start;gap:10px;margin-bottom:11px;}
.battle-v1-overline{color:rgb(198,154,91);letter-spacing:0.16em;font-size:10px;font-weight:750;}
.battle-v1-top h2{margin:2px 0px;font-size:23px;color:rgb(239,203,138);letter-spacing:0.04em;}
.battle-v1-top p{margin:0px;color:rgb(202,187,163);font-size:11px;}
.battle-v1-phase{border-radius:99px;border:1px solid rgb(177,139,80);background:rgb(73,53,31);color:rgb(243,216,156);padding:6px 10px;font-size:11px;white-space:nowrap;font-weight:700;}
.battle-v1-enemy,.battle-v1-player{background:rgb(48,36,28);border:1px solid rgb(119,90,60);border-radius:10px;padding:10px 13px;color:rgb(243,226,201);margin:0px !important;}
.battle-v1-enemy strong,.battle-v1-player strong{font-size:13px;color:rgb(242,212,158);}
.battle-v1 .bar{background:rgb(22,17,14);border-color:rgb(120,92,65);height:10px;border-radius:6px;}
.battle-v1 .enemy-meter i{background:rgb(183,97,84);}
.battle-v1 .player-hud .bar:not(.mp) i{background:rgb(129,181,140);}
.battle-v1 .bar.mp i{background:rgb(125,159,197);}
.battle-v1-stage{display:flex;isolation:isolate;border:1px solid rgb(139,103,65) !important;border-radius:11px !important;background:linear-gradient(rgb(56,52,46) 0%,rgb(62,59,49) 48%,rgb(42,41,31) 48%,rgb(31,33,26) 100%) !important;align-items:end !important;justify-content:space-around !important;}
.battle-v1-stage::after{display:none;}
.battle-v1-stage-text{position:absolute;top:10px;left:12px;font-size:10px;letter-spacing:0.12em;opacity:0.85;}
.battle-v1-ground{position:absolute;bottom:0px;left:0px;right:0px;height:59px;border-top:2px solid rgb(99,85,59);background:repeating-linear-gradient(90deg,rgb(36,36,29) 0px,rgb(36,36,29) 43px,rgb(41,40,31) 43px,rgb(41,40,31) 87px);opacity:0.9;z-index:0;}
.battle-v1-stage .hero-sprite{z-index:2;position:relative;align-self:end;min-height:0px;width:44%;padding-bottom:17px;display:flex;flex-direction:column;align-items:center;justify-content:end;}
.battle-v1-stage #player-sprite{max-width:100%;object-fit:contain;filter:drop-shadow(rgba(0,0,0,0.6) 0px 9px 3px);image-rendering:pixelated !important;}
.battle-v1-stage .foe-sprite{position:relative;z-index:2;width:165px;height:165px;filter:drop-shadow(rgba(0,0,0,0.533) 0px 8px 4px);image-rendering:pixelated !important;}
.battle-v1-stage .strike-text{top:39px;left:10%;right:10%;font-size:18px;color:rgb(246,203,116);text-shadow:rgb(44,26,10) 2px 2px 0px,rgb(44,26,10) -1px -1px 0px;}
.battle-v1-message{min-height:55px;font-size:13px;line-height:1.55;position:relative;margin:9px 0px 0px !important;padding:12px 15px !important;background:rgb(234,212,172) !important;color:rgb(55,38,23) !important;border-width:1px 1px 1px 4px !important;border-style:solid !important;border-color:rgb(168,135,89) rgb(168,135,89) rgb(168,135,89) rgb(183,140,75) !important;border-image:none !important;}
.battle-v1-message[data-actor="hero"]{border-left-color:rgb(108,139,85) !important;}
.battle-v1-message[data-actor="enemy"]{border-left-color:rgb(170,98,82) !important;}
.battle-v1-message[data-actor="skill"]{border-left-color:rgb(149,112,172) !important;}
.battle-v1-result{border-radius:10px;border:1px solid rgb(161,123,74) !important;padding:16px 10px !important;margin-top:10px !important;}
.battle-v1-result-kicker{font-size:10px;letter-spacing:0.18em;color:rgb(198,163,110);}
.battle-v1-result strong{letter-spacing:0.15em;font-size:24px !important;}
.battle-v1-result .win{color:rgb(240,200,120);}
.battle-v1-result .lose{color:rgb(239,155,136);}
.battle-v1-rewards{display:flex;align-items:stretch;justify-content:center;flex-wrap:wrap;gap:7px;margin-top:10px;color:rgb(236,220,193);}
.battle-v1-reward{border:1px solid rgb(116,86,55);border-radius:7px;padding:7px 9px;font-size:11px;line-height:1.55;min-width:88px;max-width:100%;overflow-wrap:anywhere;text-align:center;}
.battle-v1-reward span{display:block;color:rgb(191,169,135);font-size:10px;}
.battle-v1-reward strong{color:rgb(247,223,173);font-size:14px !important;letter-spacing:0px !important;}
.battle-v1-commands .battle-btn{font-size:17px;color:rgb(39,23,8);background:rgb(214,163,93);border-color:rgb(235,199,137);border-radius:9px;box-shadow:rgb(250,224,169) 0px 1px inset,rgb(112,73,31) 0px 3px 0px;}
.battle-v1-commands .battle-btn:hover:not(:disabled){background:rgb(233,182,109);}
.battle-v1-commands .battle-btn:disabled{background:rgb(106,85,65);color:rgb(195,170,130);box-shadow:none;}
.battle-v1-commands .tip{text-align:center;color:rgb(197,179,151);}
.battle-v1-settings{display:flex;justify-content:space-between;align-items:center;gap:9px;flex-wrap:wrap;border-bottom:1px solid rgb(103,78,53);padding-bottom:13px;}
.battle-v1-settings input{accent-color:rgb(205,164,101);}
.battle-v1-settings button{color:rgb(230,203,148);border-color:rgb(121,95,64);font-size:11px;}
.battle-v1-skill{background:rgb(48,36,28);border:1px solid rgb(119,90,59);border-radius:9px;padding:12px;}
.battle-v1-skill strong{font-size:13px;color:rgb(240,209,154);}
.battle-v1-skill select{background:rgb(32,24,18);border-color:rgb(130,100,67);color:rgb(245,233,215);min-height:45px;}
.battle-v1-skill .skilldesc{font-size:11px;color:rgb(209,189,162);}
.battle-v1-footnav{display:grid;grid-template-columns:repeat(2,minmax(0px,1fr));gap:8px;margin-top:12px;}
.battle-v1-footnav button{min-width:0px;border-color:rgb(117,90,61);background:rgb(53,39,28);color:rgb(239,208,160);font-size:12px;}
.battle-v1-notes{background:rgb(40,31,24) !important;border-color:rgb(128,98,66) !important;padding:15px 18px !important;}
.battle-v1-notes-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;}
.battle-v1-notes-head h2{font-size:16px;margin:1px 0px !important;}
.battle-v1 .turn-log{background:rgba(28,23,18,0.8);border:1px solid rgb(101,74,48);max-height:320px;border-radius:8px;min-height:45px;padding:3px 11px;}
.battle-v1 .turn-log div{border-bottom:1px solid rgb(70,55,39);padding:7px 2px;color:rgb(228,214,192);line-height:1.45;}
.battle-v1 .turn-log div:first-child{color:rgb(228,214,192);}
.battle-v1 .turn-log div[data-actor="hero"]{color:rgb(186,218,171);}
.battle-v1 .turn-log div[data-actor="skill"]{color:rgb(223,192,240);}
.battle-v1 .turn-log div[data-actor="enemy"]{color:rgb(239,178,162);}
.battle-v1-main,.battle-v1-notes{background-repeat:no-repeat;background-size:cover;background-position:center center;}
.battle-log-preview{margin-top:10px;background:rgba(43,32,22,0.85);border:1px solid rgb(107,77,48);border-radius:10px;padding:10px 12px;color:rgb(241,223,193);line-height:1.6;font-size:12px;}
.battle-log-details{margin-top:10px;border:1px solid rgb(112,82,56);border-radius:10px;background:rgba(27,20,15,0.84);overflow:hidden;}
.battle-log-details summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;cursor:pointer;font-weight:800;color:rgb(240,207,150);}
.battle-log-details summary::-webkit-details-marker{display:none;}
.battle-log-details[open] summary{border-bottom:1px solid rgb(90,65,42);}
.battle-log-details summary small{font-size:11px;color:rgb(200,176,138);}
.battle-log-details .turn-log{margin:0px;border:0px;border-radius:0px;background:transparent;max-height:260px;}
.battle-v1-history{margin-top:11px;border:1px solid rgb(108,82,55);border-radius:8px;overflow:hidden;}
.battle-v1-history summary{cursor:pointer;color:rgb(224,194,142);font-size:12px;font-weight:650;padding:10px 12px;display:flex;justify-content:space-between;list-style:none;}
.battle-v1-history summary::-webkit-details-marker{display:none;}
.battle-v1-history #log{margin:0px;max-height:200px;background:rgb(28,23,18);border-width:1px 0px 0px;border-style:solid none none;border-color:rgb(108,82,55) currentcolor currentcolor;border-image:none;border-radius:0px;}
@media (max-width:730px){.battle-v1-main{padding:11px 10px 14px !important;}
.battle-v1-top h2{font-size:19px;}
.battle-v1-top p{font-size:10px;}
.battle-v1-breadcrumb{margin-bottom:9px;}
.battle-v1-breadcrumb button{font-size:10px;}
.battle-v1-stage{height:211px;}
.battle-v1-stage #player-sprite{width:106px;height:141px;}
.battle-v1-stage .foe-sprite{width:130px;height:130px;margin-bottom:19px !important;}
.battle-v1-stage .hero-sprite{padding-bottom:13px;}
.battle-v1-stage .strike-text{top:33px;font-size:14px;}
.battle-v1-notes{padding:12px 10px !important;}
.battle-v1-reward{min-width:78px;}
.battle-v1-message{font-size:12px;}
}
@media (max-width:350px){.battle-v1-phase{font-size:9px;padding:5px 6px;}
.battle-v1-stage #player-sprite{width:85px;height:113px;}
.battle-v1-stage .foe-sprite{width:106px;height:106px;}
}
@media (prefers-reduced-motion:reduce){.battle-v1-stage.hero-attacks .hero-sprite,.battle-v1-stage.enemy-attacks .foe-sprite,.battle-v1-stage.skill-attacks .hero-sprite{animation:auto ease 0s 1 normal none running none !important;}
}
.combat-clock-bar{display:flex;justify-content:space-between;align-items:center;gap:9px;background:rgb(53,39,27);border:1px solid rgb(155,119,70);border-radius:10px;padding:9px 13px;margin:-4px 0px 13px;color:rgb(245,223,183);}
.combat-clock-bar>div{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;}
.clock-caption{font-size:11px;color:rgb(216,192,153);}
.combat-clock-bar strong{font-size:16px;font-variant-numeric:tabular-nums;color:rgb(255,224,160);}
.clock-boost{font-size:11px;color:rgb(231,206,159);white-space:nowrap;}
.boost-test-panel{justify-content:space-between;background:rgb(52,41,29);border:1px solid rgb(136,104,63);border-radius:10px;padding:13px;margin:0px 0px 19px;}
.boost-test-panel strong{color:rgb(240,203,136);}
.boost-test-panel p{font-size:11px;color:rgb(209,189,160);line-height:1.6;}
.boost-test-panel button{flex:0 0 auto;min-height:40px;background:rgb(114,82,43);border-color:rgb(203,166,106);color:rgb(255,240,213);font-size:12px;}
.boost-test-panel button:disabled{opacity:0.5;}
.tower-clock{background:rgb(64,48,30);border-left:3px solid rgb(215,172,103);border-radius:5px;padding:9px 11px;color:rgb(241,214,165);font-size:12px;margin:12px 0px;}
@media (max-width:530px){.combat-clock-bar{padding:8px 10px;}
.combat-clock-bar>div{gap:4px;}
.combat-clock-bar strong{font-size:14px;}
.clock-caption,.clock-boost{font-size:10px;}
.boost-test-panel{align-items:stretch;flex-direction:column;}
.boost-test-panel button{width:100%;}
}
.avatar-intro{background:linear-gradient(130deg,rgb(94,66,36),rgb(53,38,25));border:1px solid rgb(179,140,85);border-radius:11px;padding:13px;margin-bottom:14px;}
.avatar-intro strong{color:rgb(255,219,158);}
.avatar-intro p{font-size:12px;line-height:1.8;color:rgb(235,217,186);margin:5px 0px 0px;}
.avatar-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:11px 0px;}
.avatar-tabs button{min-height:35px;font-size:12px;padding:7px 10px;}
.avatar-tabs button.active{background:rgb(112,81,45);color:rgb(255,222,176);border-color:rgb(223,174,100);}
.avatar-race-filters{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0px 12px;}
.avatar-race-filter{min-height:36px;padding:7px 14px;border-radius:999px;font-size:12px;font-weight:800;background:rgb(38,52,73);color:rgb(233,223,202);border:1px solid rgb(97,112,134);}
.avatar-race-filter.active,.avatar-race-filter[aria-pressed="true"]{background:rgb(112,81,45);color:rgb(255,222,176);border-color:rgb(223,174,100);box-shadow:rgb(167,124,67) 0px 0px 0px 1px inset;}
.avatar-50-grid{display:grid;border:1px solid rgb(94,74,50);border-radius:10px;padding:7px;background:rgb(26,21,17);}
.avatar-choice{min-width:0px;display:grid;justify-items:center;gap:3px;background:rgb(48,37,29);border:1px solid rgb(98,77,53);border-radius:8px;color:rgb(245,229,199);}
/* The gallery grid must not override the hidden state set by race filtering. */
.avatar-choice[hidden]{display:none!important;}
.avatar-choice.current{border-color:rgb(255,208,137);background:rgb(89,66,43);box-shadow:rgb(182,144,86) 0px 0px 0px 1px inset;}
.avatar-choice small{font-size:10px;line-height:1.2;}
.avatar-choice strong{color:rgb(244,216,166);font-size:10px;}
.mirror-panel{margin-top:15px;padding:13px;border:1px solid rgb(150,115,72);background:rgb(44,33,25);border-radius:10px;}
.mirror-head{display:flex;justify-content:space-between;gap:10px;align-items:center;}
.mirror-head h3{margin:0px;color:rgb(242,210,157);}
.mirror-price{font-weight:800;color:rgb(255,224,165);}
.mirror-panel textarea{width:100%;min-height:90px;resize:vertical;border-radius:9px;padding:10px;background:rgb(32,25,18);color:rgb(250,236,216);border:1px solid rgb(146,115,79);font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;font-family:inherit;font-optical-sizing:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-language-override:inherit;line-height:1.6;}
.mirror-panel button{min-height:43px;}
.mirror-panel .tip{line-height:1.65;}
.mirror-status{border-radius:8px;padding:10px;margin:9px 0px;border:1px solid rgb(118,101,77);background:rgb(26,25,23);line-height:1.7;font-size:12px;}
.mirror-warning{border-left:3px solid rgb(210,166,105);padding-left:9px;font-size:11px;color:rgb(231,207,170);line-height:1.75;}
.mirror-generated{margin:10px 0px 0px;padding:10px;border:1px solid rgb(125,100,67);background:rgb(29,24,19);border-radius:10px;}
.mirror-generated-card{display:grid;grid-template-columns:minmax(120px,170px) minmax(0px,1fr);gap:12px;align-items:center;}
.mirror-generated-canvas-wrap{display:grid;justify-items:center;background:repeating-linear-gradient(45deg,rgb(36,29,23) 0px,rgb(36,29,23) 12px,rgb(43,34,26) 12px,rgb(43,34,26) 24px);border:1px solid rgb(114,88,57);border-radius:10px;padding:8px;}
.mirror-generated canvas{width:100%;max-width:160px;height:auto;aspect-ratio:3 / 4;image-rendering:crisp-edges;}
.mirror-generated strong{color:rgb(244,213,160);}
.mirror-generated .tip{margin:4px 0px 0px;}
.mirror-generated .actions{margin-top:10px;}
@media (max-width:520px){.avatar-50-grid{grid-template-columns:repeat(3,minmax(0px,1fr));max-height:390px;}
.avatar-choice canvas{height:112px;}
.avatar-preview-grid{grid-template-columns:repeat(2,minmax(0px,1fr));}
.mirror-generated-card{grid-template-columns:1fr;}
}
.v14-select{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0px;}
.v14-select label{font-size:13px;color:var(--gold);}
.v14-select select{min-width:120px;max-width:65%;padding:10px;border-radius:9px;background:rgb(16,27,42);color:rgb(247,223,172);border:1px solid rgb(149,116,71);}
.v14-progress{background:rgb(24,39,55);border:1px solid rgb(57,81,106);padding:11px;border-radius:9px;color:rgb(233,217,173);font-size:12px;line-height:1.7;margin-bottom:12px;}
.area-buttons .choice:disabled{opacity:0.43;filter:grayscale(0.75);cursor:not-allowed;}
.v14-skill-row{display:grid;grid-template-columns:24px minmax(100px,1fr) minmax(105px,1fr);gap:7px;align-items:center;margin:7px 0px;}
.v14-skill-row b{color:var(--gold);text-align:center;}
.v14-skill-row select{min-width:0px;max-width:100%;padding:9px 5px;background:rgb(18,34,52);color:rgb(246,238,219);border:1px solid rgb(83,102,120);border-radius:8px;font-size:12px;}
.v14-legacy-skill{display:none !important;}
.v14-skills{margin-top:15px;}
@media (max-width:420px){.v14-skill-row{grid-template-columns:17px minmax(0px,1fr) minmax(0px,1fr);gap:4px;}
.v14-skill-row select{font-size:11px;padding:9px 3px;}
.v14-progress{font-size:11px;}
}
[data-section="guild"]{display:none !important;}
.growth-rp-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0px 0px 5px;}
.growth-rp-bar strong{color:rgb(233,202,130);font-size:16px;}
.home-xp-fill{background:linear-gradient(90deg,rgb(183,139,73),rgb(242,210,139)) !important;}
.home-xp-meter{margin-top:5px;}
@media (max-width:650px){.town-v1 .town-art{max-height:125px;min-height:105px !important;margin-bottom:7px !important;}
.town-v1 .home-city-shade{padding:15px 11px 10px !important;}
.town-v1 .home-city-shade h2{font-size:19px !important;}
.town-v1 .home-city-shade p{font-size:10px !important;}
.home-eyebrow{padding-bottom:4px !important;}
.home-character{grid-template-columns:86px minmax(0px,1fr) !important;gap:10px !important;padding:10px !important;margin-bottom:10px !important;}
.home-character-portrait{min-height:114px !important;}
.home-character-portrait canvas{width:72px !important;height:97px !important;}
.home-character-name{margin:0px 0px 2px !important;}
.home-character-name strong{font-size:18px !important;}
.home-character-name span{font-size:13px !important;}
.home-character-meta{margin-bottom:4px !important;font-size:10px !important;}
.home-meter{margin-bottom:4px !important;}
.home-meter-label{font-size:9px !important;}
.home-meter-track{height:6px !important;}
.home-exp-line{font-size:10px !important;}
[data-section="adventure"] #areas{grid-template-columns:repeat(5,minmax(0px,1fr)) !important;gap:4px !important;}
[data-section="adventure"] #areas button{overflow-wrap:anywhere;font-size:10px !important;min-height:38px !important;padding:3px 1px !important;}
[data-section="adventure"] #areas button small{display:none !important;}
[data-section="adventure"] .panel{padding:9px !important;}
[data-section="adventure"] .panel>.tip{display:none !important;}
[data-section="adventure"] h2{margin-bottom:5px !important;}
[data-section="adventure"] .area-focus{padding:5px !important;margin-top:5px !important;}
[data-section="adventure"] .area-focus-icon{width:49px !important;height:49px !important;min-height:49px !important;}
[data-section="adventure"] #area-tip{margin:1px 0px !important;font-size:10px !important;}
[data-section="adventure"] #enter-battle{min-height:46px !important;margin-top:7px !important;}
}
.forge-resources{display:grid;grid-template-columns:repeat(2,minmax(0px,1fr));gap:7px;margin:10px 0px;}
.forge-resources>div{padding:9px 10px;border-radius:10px;background:rgba(167,175,198,0.1);border:1px solid rgba(167,175,198,0.18);font-size:12px;}
.forge-resources strong{display:block;font-size:15px;color:rgb(238,210,141);margin-top:4px;}
.forge-actions{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0px;}
.forge-actions button{flex:1 1 145px;min-width:0px;white-space:normal;}
.forge-protect-label{display:block;margin:12px 0px;padding:10px;background:rgba(170,145,85,0.13);border-radius:10px;font-size:13px;line-height:1.5;}
.forge-protect-label input{vertical-align:middle;accent-color:rgb(197,164,91);}
.forge-item-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px;}
.forge-item-actions button{flex:1 1 110px;white-space:normal;}
.forge-item-actions button:disabled{opacity:0.44;}
#chat-peek[hidden],#chat-overlay[hidden],#chat-panel[hidden]{display:none !important;}
#chat-peek{position:fixed;z-index:16;left:50%;transform:translateX(-50%);bottom:calc(62px + env(safe-area-inset-bottom));width:min(100% - 24px,580px);display:flex;align-items:center;gap:10px;padding:8px 12px;border:1px solid rgb(189,148,88);border-radius:12px;background:rgba(37,28,22,0.96);box-shadow:rgba(0,0,0,0.6) 0px 9px 26px;text-align:left;min-height:54px;box-sizing:border-box;cursor:pointer;}
#chat-peek .chat-peek-icon{width:34px;height:34px;border-radius:8px;background:rgb(84,66,44);display:grid;place-items:center;flex:0 0 34px;font-size:18px;}
#chat-peek .chat-peek-text{min-width:0px;flex:1 1 0%;display:grid;gap:2px;}
#chat-peek strong{font-size:12px;color:rgb(231,190,121);}
#chat-peek small{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgb(231,219,203);}
#chat-peek .chat-peek-open{font-size:11px;color:rgb(232,199,140);}
#chat-overlay{position:fixed;inset:0px;background:rgba(6,5,6,0.73);z-index:39;}
#chat-panel{position:fixed;z-index:40;bottom:0px;left:50%;transform:translateX(-50%);width:min(100%,610px);height:min(78vh,720px);max-height:calc(100dvh - 12px);box-sizing:border-box;display:flex;flex-direction:column;background:linear-gradient(160deg,rgb(50,37,26),rgb(28,23,20) 65%);border-width:1px 1px 0px;border-style:solid solid none;border-color:rgb(178,139,77) rgb(178,139,77) currentcolor;border-image:none;border-radius:17px 17px 0px 0px;box-shadow:rgba(0,0,0,0.8) 0px -16px 55px;color:rgb(244,233,216);overflow:hidden;}
@supports (height:1dvh){#chat-panel{height:min(78dvh,720px);}
}
.chat-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px 9px;background:rgb(58,43,30);flex:0 0 auto;}
.chat-header h2{font-size:16px;margin:0px;color:rgb(244,216,165);}
.chat-header small{display:block;font-size:10px;color:rgb(219,197,165);}
.chat-close{border:1px solid rgb(184,154,108);border-radius:10px;background:rgb(75,57,40);padding:7px 11px;min-height:36px;cursor:pointer;}
.chat-local-banner{font-size:11px;line-height:1.5;background:rgb(73,59,33);color:rgb(255,230,173);padding:6px 14px;flex:0 0 auto;border-bottom:1px solid rgb(140,109,57);}
.chat-tabs{display:flex;overflow-x:auto;gap:4px;padding:8px 8px 9px;scrollbar-width:thin;flex:0 0 auto;border-bottom:1px solid rgb(104,75,49);}
.chat-tabs button{position:relative;min-width:76px;white-space:nowrap;background:rgb(41,36,31);border:1px solid rgb(107,84,59);border-radius:8px;padding:8px 7px;font-size:11px;cursor:pointer;flex:1 1 0%;}
.chat-tabs button[aria-selected="true"]{background:rgb(140,103,47);color:rgb(255,242,207);border-color:rgb(224,175,97);}
.chat-unread{display:inline-block;margin-left:3px;padding:0px 4px;border-radius:7px;background:rgb(168,58,50);color:white;font-size:10px;}
.chat-context{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;color:rgb(227,205,167);padding:7px 12px;border-bottom:1px solid rgb(88,69,48);flex:0 0 auto;}
.chat-context button{padding:5px 7px;font-size:11px;min-height:28px;}
.chat-messages{flex:1 1 0%;min-height:90px;overflow-y:auto;overscroll-behavior:contain;padding:12px 10px 22px;display:flex;flex-direction:column;gap:11px;}
.chat-msg{display:flex;align-items:flex-start;gap:9px;width:100%;}
.chat-face{width:42px;height:42px;flex:0 0 42px;overflow:hidden;border:1px solid rgb(147,115,69);border-radius:9px;background:rgb(66,48,30);image-rendering:pixelated;cursor:pointer;padding:0px;display:grid;place-items:center;}
.chat-face canvas{display:block;image-rendering:pixelated;width:40px !important;height:40px !important;}
.chat-msg-main{min-width:0px;flex:1 1 0%;}
.chat-msg-meta{display:flex;gap:7px;align-items:center;margin-bottom:3px;}
.chat-name{border:0px;background:transparent;padding:0px;color:rgb(240,203,140);text-align:left;font-size:12px;font-weight:700;min-height:0px;cursor:pointer;}
.chat-msg time{font-size:10px;color:rgb(183,162,138);}
.chat-bubble{display:inline-block;max-width:100%;box-sizing:border-box;padding:8px 10px;border-radius:3px 11px 11px;background:rgb(73,55,41);color:rgb(246,233,212);font-size:12px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;}
.chat-msg.own .chat-bubble{background:rgb(57,68,51);border-radius:11px 3px 11px 11px;}
.chat-msg.system .chat-bubble{background:rgb(66,55,34);color:rgb(255,229,173);}
.chat-form{padding:9px 10px calc(10px + env(safe-area-inset-bottom));display:flex;gap:7px;align-items:end;border-top:1px solid rgb(113,84,58);background:rgb(45,35,27);flex:0 0 auto;}
.chat-form textarea{flex:1 1 0%;min-width:0px;box-sizing:border-box;resize:none;height:43px;max-height:100px;border:1px solid rgb(128,100,72);border-radius:10px;background:rgb(27,24,21);color:rgb(246,233,212);font-size:16px;padding:10px;line-height:1.4;}
.chat-form button{min-width:64px;height:43px;min-height:43px;padding:8px 9px;border-radius:10px;background:rgb(138,99,46);border:1px solid rgb(217,171,96);color:rgb(255,244,217);}
.chat-form button:disabled,.chat-form textarea:disabled{opacity:0.53;}
.chat-empty{padding:22px 10px;font-size:12px;color:rgb(212,188,156);text-align:center;line-height:1.8;}
.chat-profile{padding:8px 10px;background:rgb(52,43,33);border:1px solid rgb(128,100,66);border-radius:10px;font-size:12px;color:rgb(236,217,186);}
.chat-profile[hidden]{display:none !important;}
.chat-profile button{margin:4px 5px 0px 0px;font-size:11px;padding:5px 9px;}
.chat-launch-nav{color:rgb(244,211,145) !important;}
@media (max-width:730px){.nav button{min-width:0px;padding:3px 0px;}
.shell{padding-bottom:135px;}
#toast{bottom:145px;}
#chat-panel{height:82dvh;border-radius:14px 14px 0px 0px;}
#chat-peek{bottom:calc(61px + env(safe-area-inset-bottom));}
}
@media (min-width:731px){#chat-peek{bottom:22px;left:auto;right:24px;transform:none;width:340px;}
#chat-panel{bottom:16px;left:auto;right:24px;transform:none;height:min(76vh,690px);border-radius:16px;border-bottom:1px solid rgb(178,139,77);}
}
.chat-moderation-note{padding:6px 12px 0px;background:rgb(45,35,27);color:rgb(223,203,166);font-size:10px;line-height:1.45;flex:0 0 auto;}
.chat-moderation-message{padding:0 12px calc(4px + env(safe-area-inset-bottom));background:rgb(45,35,27);color:rgb(255,182,166);font-size:11px;line-height:1.5;flex:0 0 auto;min-height:4px;}
.chat-moderation-message:empty{display:none;}
.chat-message-action{margin-left:auto;min-height:22px;padding:2px 6px;border:1px solid rgb(111,91,67);border-radius:6px;background:transparent;color:rgb(190,174,150);font-size:9px;}
.chat-muted-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 0;border-bottom:1px solid rgba(160,140,110,.25);}
.chat-nav-unread{position:absolute;top:2px;right:4px;min-width:16px;padding:1px 3px;border-radius:9px;background:rgb(168,58,50);color:#fff;font-size:9px;line-height:14px;}
.chat-launch-nav{position:relative;}
.chat-profile .chat-admin-action{border-color:rgb(157,82,69);background:rgb(91,45,39);color:rgb(255,220,204);}
body:not(.v18-entered)>.shell,body:not(.v18-entered)>#chat-peek,body:not(.v18-entered)>#chat-panel,body:not(.v18-entered)>#chat-overlay{visibility:hidden !important;pointer-events:none !important;}
body.v18-entered #v18-gateway,#v18-gateway[hidden]{display:none !important;}
#v18-auth-loading{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:24px;background:radial-gradient(at 50% 0%,rgb(202,219,204),rgb(125,154,146) 48%,rgb(49,78,80));color:#fff;text-align:center;}
#v18-auth-loading>div{display:flex;flex-direction:column;gap:12px;padding:28px 34px;border:1px solid rgba(255,255,255,.45);border-radius:18px;background:rgba(19,48,45,.72);box-shadow:0 18px 55px rgba(0,0,0,.28);}
#v18-auth-loading strong{font-family:serif;font-size:clamp(24px,7vw,36px);letter-spacing:.12em;color:#fff6bf;text-shadow:0 2px 8px rgba(0,0,0,.5);}
#v18-auth-loading span{font-size:14px;letter-spacing:.08em;}
body:not(.v18-auth-pending) #v18-auth-loading{display:none;}
#v18-gateway{position:fixed;inset:0px;z-index:100;display:flex;justify-content:center;align-items:flex-start;overflow:auto;padding:12px 12px calc(24px + env(safe-area-inset-bottom));}
.v18-stage{width:min(100%,540px);min-height:min(790px,100dvh - 24px);margin:auto;display:flex;flex-direction:column;gap:14px;animation:0.33s ease 0s 1 normal both running v18-enter;}
@keyframes v18-enter{0%{opacity:0;transform:translateY(12px);}
100%{opacity:1;transform:translateY(0px);}
}
.v18-step[hidden]{display:none !important;}
.v18-brand{padding:9px 4px 0px;text-align:center;letter-spacing:0.35em;font-family:Georgia,serif;font-size:10px;font-weight:700;}
.v18-scene{isolation:isolate;position:relative;border:1px solid rgb(166,123,70);border-radius:15px;overflow:hidden;image-rendering:pixelated;display:flex;align-items:flex-end;justify-content:center;background-repeat:initial;background-attachment:initial;background-origin:initial;background-clip:initial;background-color:initial;background-size:cover !important;}
.v18-scene::after{content:"";position:absolute;inset:0px;z-index:0;pointer-events:none;}
.v18-scene-text{position:relative;z-index:1;text-align:center;padding:17px;text-shadow:rgb(0,0,0) 0px 2px 8px;}
.v18-scene-text .v18-stars{display:block;font-size:16px;letter-spacing:0.8em;color:rgb(241,205,141);margin-bottom:6px;}
.v18-scene-text h1{font-family:Georgia,"Yu Mincho",serif;font-size:clamp(29px,7.8vw,42px);letter-spacing:0.21em;margin:0px 0px 6px;}
.v18-scene-text p{font-size:12px;margin:0px;letter-spacing:0.1em;}
.v18-card{border:1px solid rgb(110,85,60);border-radius:14px;padding:18px 16px;}
.v18-kicker{font-family:Georgia,serif;font-size:10px;letter-spacing:0.22em;text-transform:uppercase;}
.v18-card h2{margin:5px 0px 12px;font-size:22px;}
.v18-card p{line-height:1.85;font-size:13px;}
.v18-btn{width:100%;min-height:47px;margin-top:9px;border-radius:10px;background:linear-gradient(rgb(168,126,69),rgb(120,85,44));border:1px solid rgb(214,172,103);color:rgb(255,245,223);box-shadow:rgb(80,57,25) 0px 3px 0px;font-weight:800;}
.v18-btn.secondary{background:rgb(37,52,72);border-color:rgb(99,116,139);box-shadow:none;}
.v18-btn.ghost{background:transparent;box-shadow:none;}
.v18-demo{padding:9px 11px;border-radius:8px;border:1px solid rgb(140,116,74);font-size:11px;line-height:1.65;}
.v18-form{display:grid;gap:9px;}
.v18-form label{display:grid;gap:4px;color:rgb(231,203,150);font-size:12px;font-weight:700;}
.v18-form input{width:100%;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;font-optical-sizing:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-language-override:inherit;font-size:16px;border:1px solid rgb(101,89,67);border-radius:9px;padding:11px;min-width:0px;}
.v18-form input[type="checkbox"]{width:auto;accent-color:rgb(205,165,107);}
.v18-form .v18-agree{display:flex;align-items:flex-start;gap:8px;font-weight:400;color:rgb(213,202,188);line-height:1.55;}
.v18-form .v18-agree[hidden]{display:none !important;}
.v18-error{min-height:1.6em;font-size:12px;margin:2px 0px !important;}
.v18-nav{display:flex;gap:7px;}
.v18-nav button{flex:1 1 0%;min-height:38px;background:rgb(40,51,66);}
.v18-nav .active{background:rgb(140,103,47);border-color:rgb(237,191,121);}
.v18-sub{font-size:11px !important;margin:6px 0px 0px !important;}
.v18-create-preview{display:flex;align-items:center;gap:12px;border:1px solid rgb(103,84,56);border-radius:12px;padding:9px 12px;margin-bottom:10px;}
.v18-create-preview canvas{image-rendering:pixelated;flex:0 0 auto;}
.v18-create-preview div{flex:1 1 0%;min-width:0px;}
.v18-create-preview strong{font-size:16px;}
.v18-filters{display:flex;gap:5px;margin:9px 0px;}
.v18-filters button{flex:1 1 0%;min-width:0px;padding:6px 2px;min-height:36px;font-size:11px;background:rgb(37,51,68);}
.v18-filters button[aria-selected="true"]{background:rgb(131,98,47);border-color:rgb(237,191,121);}
#v18-gallery{display:grid;border:1px solid rgb(89,74,58);border-radius:10px;background:rgb(16,24,35);}
.v18-avatar{display:grid;justify-items:center;background:rgb(38,52,71);border:1px solid rgb(73,86,109);border-radius:8px;min-width:0px;color:rgb(222,217,200);}
.v18-avatar[hidden]{display:none !important;}
.v18-avatar[aria-pressed="true"]{border-color:rgb(234,192,121);background:rgb(110,77,41);box-shadow:rgb(234,192,121) 0px 0px 0px 1px inset;}
.v18-story{font-family:"Yu Mincho",Georgia,serif;text-align:center;white-space:pre-line;line-height:2.1 !important;font-size:15px !important;}
.v18-story-head{text-align:center;font-size:26px;color:rgb(236,209,155);letter-spacing:0.13em;margin-top:4px;}
.v18-meta{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:9px;}
.v18-meta span{border:1px solid rgb(123,100,68);border-radius:100px;padding:4px 8px;font-size:11px;}
.v18-footer{text-align:center;font-size:10px;line-height:1.5;margin:0px auto;}
.v18-header-actions{display:flex;gap:5px;}
.v18-account{display:grid;justify-items:end;gap:3px;margin-left:auto;min-width:0;}
#v18-account-email{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted,#6f786f);}
.v18-cloud-state{color:rgb(69,108,85);font-weight:700;}
.v18-cloud-state.is-saving{color:rgb(145,105,39);}
.v18-cloud-state.is-error{color:rgb(162,57,42);}
.v18-form label small{font-weight:400;line-height:1.45;color:rgb(92,106,94);}
@media (max-width:380px){#v18-gateway{padding:7px 8px 19px;}
.v18-card{padding:13px 12px;}
.v18-scene{height:215px;}
.v18-scene-text h1{font-size:28px;}
}
.grassland-roster{margin:12px 0px;border:1px solid rgb(107,98,77);border-radius:10px;padding:11px;background:rgb(17,27,38);}
.grassland-roster[hidden]{display:none !important;}
.grassland-roster-title{font-size:12px;font-weight:800;color:rgb(234,203,142);margin-bottom:9px;}
.grassland-roster-cards{display:grid;grid-template-columns:repeat(3,minmax(0px,1fr));gap:7px;}
.grassland-card{padding:6px 3px;text-align:center;border:1px solid rgb(89,98,107);background:linear-gradient(rgb(38,51,68),rgb(21,33,46));border-radius:9px;min-width:0px;}
.grassland-card img{height:65px;width:100%;object-fit:contain;image-rendering:pixelated;}
.grassland-card strong{display:block;color:rgb(248,229,197);font-size:10px;line-height:1.4;}
.grassland-card small{font-size:9px;display:block;color:rgb(196,181,162);}
.grassland-card.boss{border-color:rgb(194,151,90);}
.grassland-card.rare{border-color:rgb(119,151,188);}
.battle-v1-stage .foe-sprite-extra{display:none;}
.battle-v1-stage.has-two-enemies .foe-sprite{width:98px;height:112px;max-width:29%;margin-bottom:17px !important;}
.battle-v1-stage.has-two-enemies .foe-sprite-extra{display:block;}
@media (max-width:390px){.battle-v1-stage.has-two-enemies .foe-sprite{width:78px;height:94px;}
}
@media (max-width:768px){.shell{padding:10px 10px 92px;}
section[data-section="adventure"] .panel{padding-bottom:78px;}
#enter-battle{position:sticky;bottom:calc(env(safe-area-inset-bottom) + 10px);z-index:5;box-shadow:rgba(0,0,0,0.4) 0px 12px 22px;}
.grassland-roster{padding:10px;}
.grassland-roster-title{font-size:12px;}
.grassland-roster-cards{gap:6px;}
.grassland-card{padding:6px;}
.grassland-card img{max-width:100%;height:auto;}
.battle-v1-breadcrumb{display:none;}
.battle-v1-top{margin-bottom:8px;gap:8px;}
.battle-v1-top p{display:none;}
.battle-v1-overline{font-size:11px;}
#combat-area{margin:0px;font-size:20px;}
.battle-v1-phase{font-size:12px;padding:5px 8px;}
.battle-v1-enemy,.battle-v1-player{padding:8px;}
.battle-scene{height:138px;margin:8px 0px;}
.battle-v1-stage-text{font-size:11px;padding:4px 8px;}
.battle-v1-ground{height:32px;}
#player-sprite{width:76px;height:102px;}
.battle-v1-message{padding:9px 10px;font-size:12px;margin-top:8px;}
.battle-v1-commands{position:sticky;bottom:calc(env(safe-area-inset-bottom) + 10px);z-index:8;background:rgba(25,36,51,0.96);backdrop-filter:blur(8px);padding:8px;border:1px solid var(--line);border-radius:12px;margin-top:8px;box-shadow:rgba(0,0,0,0.4) 0px 10px 24px;}
.battle-v1-commands .tip{margin:6px 0px 0px;font-size:11px;line-height:1.4;}
.battle-settings{margin-top:8px;}
.battle-v1-notes{display:none;}
}
.battle-v1-stage.grassland-field{background-image:linear-gradient(180deg,rgba(9,16,23,.12) 0%,rgba(9,16,23,.18) 65%,rgba(9,16,23,.40) 100%),var(--battle-field-image) !important;background-size:cover !important;background-repeat:no-repeat !important;}
.battle-v1-stage.grassland-field .battle-v1-ground{border:0px !important;}
.battle-v1-main.grassland-field{background-size:cover !important;background-position:center center !important;background-repeat:no-repeat !important;}
.battle-inline-log{margin-top:10px;position:relative;z-index:1;}
.battle-inline-log .battle-log-details{margin:0px;border:1px solid rgb(139,105,72);border-radius:10px;background:rgba(38,26,16,0.925);overflow:hidden;}
.battle-inline-log .battle-log-details summary{padding:11px 13px;min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:6px;cursor:pointer;font-size:13px;font-weight:800;color:rgb(241,211,160);list-style:none;}
.battle-inline-log .battle-log-details summary::-webkit-details-marker{display:none;}
.battle-inline-log .battle-log-details summary small{white-space:nowrap;color:rgb(209,186,150);font-size:11px;}
.battle-inline-log .battle-log-hint{color:rgb(189,171,141);font-size:10px;font-weight:500;}
.battle-inline-log .battle-log-details[open] summary{border-bottom:1px solid rgb(108,81,58);}
.battle-inline-log .battle-log-preview{margin:0px;padding:6px 13px 9px;white-space:normal;border:0px;border-radius:0px;background:transparent;color:rgb(240,221,196);font-size:12px;}
.battle-inline-log .turn-log{margin:0px;min-height:40px;overflow-y:auto !important;border-width:1px 0px 0px !important;border-style:solid none none !important;border-color:rgb(86,64,43) currentcolor currentcolor !important;border-image:none !important;background:rgba(21,16,9,0.7) !important;border-radius:0px !important;}
.battle-inline-log .battle-log-details:not([open]) .turn-log,.battle-inline-log .battle-log-details:not([open]) .battle-log-preview{display:none !important;}
@media (max-width:768px){.battle-inline-log{margin:7px 0px;display:block !important;}
.battle-inline-log .battle-log-details summary{padding:8px 11px;min-height:38px;font-size:12px;}
.battle-inline-log .battle-log-details[open] .turn-log{max-height:240px !important;}
.battle-inline-log .battle-log-preview{padding:6px 11px 8px;}
.battle-v1-main{padding:11px 10px 14px !important;}
}
.stack[data-section="battle"].is-active{min-width:0px;max-width:100%;overflow:visible;}
.battle-v1-main{align-content:start;min-width:0px;overflow:visible;display:grid !important;}
.battle-v1-main>*{min-width:0px;max-width:100%;margin-top:0px !important;margin-bottom:0px !important;}
.battle-v1-breadcrumb{grid-area:crumb;}
.battle-v1-top{grid-area:head;}
.battle-v1-enemy{grid-area:enemy;align-self:stretch;}
.battle-v1-stage{grid-area:stage;width:100%;align-self:stretch;height:100% !important;min-height:304px !important;margin:0px !important;}
.battle-v1-player{grid-area:player;align-self:stretch;}
.battle-v1-commands{grid-area:command;position:static !important;margin:0px !important;padding:0px !important;box-shadow:none !important;border:0px !important;backdrop-filter:none !important;}
.battle-v1-settings{grid-area:speed;padding:0px !important;margin:0px !important;border:0px !important;}
.battle-v1-message{grid-area:narration;}
.battle-inline-log{grid-area:log;margin:0px !important;}
.battle-v1-result{grid-area:result;}
.battle-v1-skill{grid-area:skills;}
.battle-v1-main>.v14-skills{grid-area:plan;}
.battle-v1-footnav{grid-area:foot;}
.battle-speed-row{width:100%;display:grid !important;}
.battle-speed-row button{min-width:0px;flex:0 0 auto !important;font-size:13px !important;}
.battle-v1-commands .battle-btn{min-height:59px;width:100%;}
.battle-v1-commands .tip{font-size:10px !important;margin:6px 0px 0px !important;line-height:1.25 !important;}
.battle-inline-log .turn-log{max-height:175px !important;}
.battle-v1-stage.grassland-field{image-rendering:pixelated;background-color:rgb(66,98,60) !important;background-position:50% 55% !important;}
.battle-v1-main.grassland-field{background-image:linear-gradient(rgba(34,24,15,0.933),rgba(34,24,15,0.94)) !important;}
.battle-v1-stage.grassland-field .battle-v1-ground{height:15% !important;opacity:0.22 !important;background:rgba(35,50,26,0.4) !important;}
.battle-v1-stage .hero-sprite{max-width:44%;min-width:0px;}
.battle-v1-stage .foe-sprite{max-width:44%;background-color:transparent !important;}
@media (max-width:760px){.battle-v1-main{display:grid !important;padding:10px 9px 13px !important;}
.battle-v1-breadcrumb{display:none !important;}
.battle-v1-top{align-items:center;margin:0px !important;}
.battle-v1-top h2{font-size:18px !important;}
.battle-v1-top .battle-v1-overline{font-size:9px;}
.battle-v1-enemy{padding:6px 9px !important;}
.battle-v1-stage{height:clamp(148px,24vh,198px) !important;min-height:148px !important;margin:0px !important;}
.battle-v1-stage .foe-sprite{width:105px !important;height:105px !important;max-width:43% !important;margin-bottom:9px !important;}
.battle-v1-stage .hero-sprite{padding-bottom:6px !important;}
.battle-v1-stage-text{font-size:9px !important;top:5px !important;}
.battle-v1-commands .battle-btn{min-height:49px !important;font-size:16px !important;}
.battle-v1-commands .tip{display:none !important;}
.battle-speed-row button{min-height:36px !important;font-size:11px !important;}
.battle-v1-player{padding:7px 9px !important;}
.battle-v1-player .bar{height:7px !important;margin-top:3px !important;}
.battle-v1-player .row{font-size:11px;}
.battle-v1-player .row[style]{margin-top:3px !important;}
.battle-v1-message{padding:8px 10px !important;min-height:37px !important;font-size:11px !important;}
.battle-inline-log .battle-log-details summary{padding:7px 10px !important;min-height:33px !important;}
.battle-inline-log .turn-log{max-height:160px !important;}
}
.battle-v1-main{align-items:start;grid-template-columns:minmax(0px,1.5fr) minmax(280px,0.9fr) !important;gap:9px 13px !important;}
.battle-v1-arena{grid-area:arena;display:flex;flex-direction:column;gap:8px;min-width:0px;align-self:start;}
.battle-v1-controls{grid-area:control;display:grid;grid-template-columns:minmax(0px,1fr);gap:8px;min-width:0px;align-items:start;}
.battle-v1-arena>.battle-v1-enemy{min-height:0px !important;padding:8px 11px !important;}
.battle-v1-arena>.battle-v1-stage{margin:0px !important;}
.battle-v1-controls>*{min-width:0px;width:100%;margin:0px !important;}
.battle-v1-controls .battle-speed-row button:disabled{opacity:0.62;cursor:default;}
@media (max-width:760px){.battle-v1-main{grid-template-columns:minmax(0px,1fr) !important;gap:6px !important;}
.battle-v1-arena{gap:5px;}
.battle-v1-controls{gap:6px;}
.battle-v1-controls .battle-v1-commands .tip{display:none !important;}
}
.battle-v1-main>.tactics-launch{grid-area:plan;background:rgb(48,37,28);border:1px solid rgb(120,89,55);border-radius:9px;padding:8px;margin:0px !important;}
.tactics-launch button{width:100%;min-height:44px;text-align:center;}
.tactics-launch .tip{font-size:10px;text-align:center;margin:4px 0px 0px;}
.job-switch{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:10px 0px;}
.job-switch button.active{background:rgb(119,87,49);border-color:rgb(239,195,121);}
.job-buttons{display:grid !important;grid-template-columns:repeat(2,minmax(0px,1fr)) !important;gap:8px !important;}
.v19-job-card{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0px;overflow-wrap:anywhere;text-align:left !important;border-left:4px solid var(--job-color) !important;}
.v19-job-card.selected{outline:rgb(232,196,126) solid 2px;outline-offset:0px;}
.job-detail{padding:12px !important;}
.job-detail button{margin-top:8px;width:100%;min-height:45px;}
.tactics-slot{border:1px solid rgb(119,99,72);border-radius:10px;margin:9px 0px;background:rgb(38,29,24);overflow:hidden;}
.tactics-slot summary{display:flex;justify-content:space-between;gap:6px;cursor:pointer;padding:12px;color:rgb(244,213,156);font-weight:700;list-style:none;}
.tactics-slot summary::-webkit-details-marker{display:none;}
.tactics-slot-body{padding:0px 12px 12px;}
.tactics-slot label{display:flex;flex-direction:column;gap:4px;color:rgb(222,209,189);font-size:12px;}
.tactics-slot select,.tactics-slot input:not([type="checkbox"]){width:100%;min-width:0px;min-height:39px;padding:6px 7px;border-radius:7px;border:1px solid rgb(121,106,87);background:rgb(25,26,32);color:rgb(255,241,216);font:inherit;}
.tactics-wide{margin-bottom:10px;}
.tactics-condition-grid{display:grid;grid-template-columns:repeat(2,minmax(0px,1fr));gap:9px;}
.tactics-slot .tactics-check{display:flex;flex-direction:row;align-items:center;gap:8px;margin-top:10px;}
.tactics-check input{height:19px;width:19px;}
@media (max-width:760px){.battle-v1-main>.tactics-launch{margin-top:0px !important;}
.tactics-panel{padding:12px !important;}
.tactics-slot-body{padding:0px 9px 10px;}
}
.battle-v1 .player-hud .bar.job-exp-meter{border:1px solid rgb(163,93,49) !important;}
.battle-v1 .player-hud .bar.job-exp-meter>i{background:linear-gradient(90deg,rgb(235,128,50),rgb(255,179,71)) !important;box-shadow:rgba(250,144,55,0.267) 0px 0px 6px !important;}
.battle-v1-result:not([hidden]){min-width:0px;max-width:100%;overflow:hidden;display:flex !important;align-items:center !important;gap:7px !important;padding:7px 9px !important;}
.battle-v1-result-kicker{display:none !important;}
.battle-v1-result>strong{flex:0 0 auto;line-height:1.3;white-space:nowrap;font-size:13px !important;letter-spacing:0px !important;}
.battle-v1-result .battle-v1-rewards{flex:1 1 auto;min-width:0px;overflow:auto hidden;scrollbar-width:thin;display:flex !important;justify-content:flex-start !important;align-items:center !important;flex-wrap:nowrap !important;gap:5px !important;margin:0px !important;padding:2px 0px !important;}
.battle-v1-result .battle-v1-reward{flex:0 0 auto;display:flex;align-items:baseline;gap:4px;white-space:nowrap;font-size:10px;line-height:1.2;text-align:left;padding:4px 6px !important;min-width:0px !important;max-width:none !important;overflow-wrap:normal !important;}
.battle-v1-result .battle-v1-reward span{display:inline;font-size:9px;white-space:nowrap;}
.battle-v1-result .battle-v1-reward strong{white-space:nowrap;font-size:11px !important;}
.battle-v1-result .battle-v1-rewards>p{margin:0px;font-size:11px;white-space:nowrap;}
.battle-v1-controls .battle-v1-commands .tip{line-height:1.35;display:block !important;margin:3px 0px 0px !important;padding:0px !important;font-size:10px !important;}
@media (max-width:760px){.battle-v1-result{gap:6px !important;padding:6px !important;}
.battle-v1-result>strong{font-size:11px !important;}
.battle-v1-result .battle-v1-reward{padding:3px 5px !important;}
}
.boss-encounter{position:absolute;inset:0px;z-index:30;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none;overflow:hidden;background:radial-gradient(circle,rgba(116,0,0,0.2),rgba(8,0,0,0.88));animation:1.7s ease 0s 1 normal both running bossEncounterFade;}
.boss-encounter::before,.boss-encounter::after{content:"";position:absolute;left:-10%;width:120%;height:3px;background:rgb(255,207,104);box-shadow:rgb(255,51,51) 0px 0px 18px;}
.boss-encounter::before{top:24%;animation:0.45s ease-out 0s 1 normal none running bossLineIn;}
.boss-encounter::after{bottom:24%;animation:0.45s ease-out 0s 1 normal none running bossLineIn;}
.boss-encounter small{color:rgb(255,219,125);font-weight:900;letter-spacing:0.28em;text-shadow:rgb(221,0,0) 0px 0px 12px;}
.boss-encounter strong{margin-top:8px;color:rgb(255,243,208);font-size:clamp(24px,7vw,46px);letter-spacing:0.08em;text-shadow:rgb(113,0,0) 0px 2px 0px,rgb(255,34,34) 0px 0px 22px;animation:0.65s cubic-bezier(0.2,0.8,0.2,1) 0s 1 normal none running bossNameIn;}
@keyframes bossEncounterFade{0%{opacity:0;}
12%,76%{opacity:1;}
100%{opacity:0;}
}
@keyframes bossLineIn{0%{transform:scaleX(0);}
100%{transform:scaleX(1);}
}
@keyframes bossNameIn{0%{transform:scale(1.8);opacity:0;}
100%{transform:scale(1);opacity:1;}
}
.battle-v1-stage>.battle-v1-ground{display:none !important;background:none !important;border:0px !important;box-shadow:none !important;}
.battle-v1-stage>.stage-background-image{position:absolute;inset:0px;width:100%;height:100%;object-fit:cover;object-position:center center;z-index:0;pointer-events:none;border-radius:inherit;}
.battle-v1-stage>.battle-v1-ground{z-index:1;}
.battle-v1-stage>.hero-sprite,.battle-v1-stage>.foe-sprite{z-index:2;}
.battle-v1-stage>.strike-text,.battle-v1-stage>.boss-encounter{z-index:4;}
.battle-v1-stage.has-two-enemies{position:relative !important;}
.battle-v1-stage.has-two-enemies #enemy-sprite,.battle-v1-stage.has-two-enemies #enemy-sprite-extra{display:block !important;position:absolute !important;max-width:none !important;margin:0px !important;background-position:center bottom !important;background-size:contain !important;background-repeat:no-repeat !important;}
.battle-v1-stage.has-two-enemies #enemy-sprite{bottom:8px !important;width:154px !important;height:164px !important;z-index:3 !important;}
.battle-v1-stage.has-two-enemies #enemy-sprite-extra{filter:drop-shadow(rgba(0,0,0,0.6) 0px 7px 4px);bottom:88px !important;width:140px !important;height:150px !important;z-index:2 !important;}
@media (max-width:730px){.battle-v1-stage.has-two-enemies #enemy-sprite{bottom:5px !important;width:122px !important;height:130px !important;}
.battle-v1-stage.has-two-enemies #enemy-sprite-extra{bottom:67px !important;width:110px !important;height:118px !important;}
}
@media (max-width:390px){.battle-v1-stage.has-two-enemies #enemy-sprite{right:2% !important;width:108px !important;height:116px !important;}
.battle-v1-stage.has-two-enemies #enemy-sprite-extra{bottom:59px !important;width:98px !important;height:106px !important;}
}
#areas .choice.area-card{grid-template-columns:82px minmax(0px,1fr);gap:11px;align-items:center;display:grid !important;text-align:left !important;padding:9px !important;}
.area-card-thumb{display:block;width:82px;height:52px;object-fit:cover;object-position:center center;border:1px solid rgb(168,138,88);border-radius:7px;box-shadow:rgba(0,0,0,0.533) 0px 3px 8px;image-rendering:auto;}
.area-card-copy{display:grid;gap:4px;min-width:0px;}
.area-card-title{display:block;color:inherit;font-weight:800;line-height:1.25;}
#areas .area-card small{display:block;line-height:1.35;margin:0px !important;}
#areas .area-card:disabled .area-card-thumb{filter:grayscale(0.65) brightness(0.55);opacity:0.72;}
@media (max-width:430px){#areas .choice.area-card{grid-template-columns:70px minmax(0px,1fr);gap:8px;}
.area-card-thumb{width:70px;height:47px;}
}
.battle-v1-stage.has-two-enemies .hero-sprite{position:absolute !important;left:3% !important;bottom:0px !important;width:34% !important;max-width:34% !important;margin:0px !important;z-index:3 !important;}
.battle-v1-stage.has-two-enemies #enemy-sprite{right:3% !important;}
.battle-v1-stage.has-two-enemies #enemy-sprite-extra{right:24% !important;}
@media (max-width:730px){.battle-v1-stage.has-two-enemies .hero-sprite{left:1% !important;width:32% !important;max-width:32% !important;}
.battle-v1-stage.has-two-enemies #enemy-sprite{right:1% !important;}
.battle-v1-stage.has-two-enemies #enemy-sprite-extra{right:22% !important;}
}
@media (max-width:390px){.battle-v1-stage.has-two-enemies .hero-sprite{left:0px !important;width:30% !important;max-width:30% !important;}
.battle-v1-stage.has-two-enemies #enemy-sprite-extra{right:20% !important;}
}
.loot-drop{--loot:#a98c6a;position:absolute;z-index:18;left:72%;top:47%;width:108px;height:108px;transform:translate(-50%,-50%);pointer-events:none;animation:0.72s cubic-bezier(0.22,0.8,0.3,1.18) 0s 1 normal both running loot-pixel-drop;filter:drop-shadow(0 8px 5px #0009) drop-shadow(0 0 9px var(--loot));}
.loot-drop.rarity-0{--loot:#a98c6a;}
.loot-drop.rarity-1{--loot:#42d46b;}
.loot-drop.rarity-2{--loot:#459dff;}
.loot-drop.rarity-3{--loot:#b45cff;}
.loot-drop.rarity-4{--loot:#ffd34f;filter:drop-shadow(rgba(0,0,0,0.6) 0px 8px 5px) drop-shadow(rgb(255,211,79) 0px 0px 16px);}
.item .rarity-3,.badge.rarity-3,.rarity-3{color:rgb(180,92,255);text-shadow:rgba(143,77,255,0.4) 0px 0px 7px;}
@keyframes epic-chest-pulse{100%{transform:translate(-50%,-50%) scale(1.12);filter:drop-shadow(rgba(0,0,0,0.667) 0px 9px 5px) drop-shadow(rgb(195,148,255) 0px 0px 22px) drop-shadow(rgb(115,40,216) 0px 0px 42px);}
}
@keyframes epic-stars{100%{transform:rotate(360deg);}
}
.item .rarity-5,.badge.rarity-5{color:rgb(255,128,213);text-shadow:rgba(255,79,200,0.6) 0px 0px 9px;}
.loot-drop.rarity-5{--loot:#ff62d0;width:126px;height:126px;filter:drop-shadow(rgba(0,0,0,0.667) 0px 9px 5px) drop-shadow(rgb(255,121,221) 0px 0px 13px) drop-shadow(rgba(255,59,185,0.6) 0px 0px 29px);animation:0.72s cubic-bezier(0.22,0.8,0.3,1.18) 0s 1 normal both running loot-pixel-drop,0.65s ease-in-out 0.72s 3 alternate none running epic-chest-pulse;}
.loot-drop.rarity-5::before{content:"✦  UNIQUE  ✦";position:absolute;inset:-25px;display:grid;place-items:start center;color:rgb(255,184,234);font-size:16px;font-weight:900;letter-spacing:4px;text-shadow:rgb(255,255,255) 0px 0px 10px,rgb(255,59,185) 0px 0px 22px;animation:1.1s linear 0s infinite normal none running epic-stars;}
.loot-chest-image{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated;}
.loot-drop::after{content:"";position:absolute;left:17%;right:17%;bottom:6%;height:9%;border-radius:50%;background:var(--loot);filter:blur(7px);opacity:0.5;}
.skill-book-drop{--book-glow:#ffd34f;position:absolute;z-index:19;left:72%;top:47%;width:120px;height:120px;transform:translate(-50%,-50%);pointer-events:none;animation:0.72s cubic-bezier(0.22,0.8,0.3,1.18) 0s 1 normal both running loot-pixel-drop,0.72s ease-in-out 0.72s 2 alternate none running skill-book-gold-pulse;filter:drop-shadow(0 9px 5px #000a) drop-shadow(0 0 18px var(--book-glow)) drop-shadow(0 0 30px #ffd34f88);}
.skill-book-drop::before{content:"";position:absolute;z-index:-1;inset:7%;border-radius:50%;background:radial-gradient(circle,#fffbd9bb 0 12%,#ffd34f88 28%,#ffd34f22 55%,transparent 72%);transform:scale(.82);animation:skill-book-halo .9s ease-out .55s both;}
.skill-book-drop::after{content:"✦";position:absolute;right:2%;top:0;color:#fff5b5;font-size:22px;text-shadow:0 0 8px #fff,0 0 18px var(--book-glow);animation:skill-book-spark .72s ease-in-out .72s 2 alternate;}
.skill-book-drop-image{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated;}
@keyframes skill-book-gold-pulse{100%{transform:translate(-50%,-50%) scale(1.07);filter:drop-shadow(0 9px 5px #000a) drop-shadow(0 0 24px #ffd34f) drop-shadow(0 0 38px #ffd34faa);}}
@keyframes skill-book-halo{0%{opacity:0;transform:scale(.45)}65%{opacity:1}100%{opacity:.72;transform:scale(1.32)}}
@keyframes skill-book-spark{100%{opacity:.55;transform:translate(-9px,8px) rotate(45deg) scale(.72)}}
@keyframes loot-pixel-drop{0%{opacity:0;transform:translate(-50%,-130%) scale(0.62) rotate(-9deg);}
58%{opacity:1;transform:translate(-50%,-34%) scale(1.03) rotate(3deg);}
76%{transform:translate(-50%,-57%) scale(0.97) rotate(-2deg);}
100%{transform:translate(-50%,-50%) scale(1) rotate(0deg);}
}
@media (prefers-reduced-motion:reduce){.loot-drop,.skill-book-drop{animation-duration:0.01ms;}
}
.duel-scene.enemy-attacks .foe-sprite{animation:auto ease 0s 1 normal none running none;}
.duel-scene.enemy-attacks.enemy-attacker-0 #enemy-sprite{animation:0.42s ease-out 0s 1 normal none running foe-lunge;}
.duel-scene.enemy-attacks.enemy-attacker-1 #enemy-sprite-extra{animation:0.42s ease-out 0s 1 normal none running foe-lunge;}
.duel-scene .foe-sprite.is-defeated{opacity:0.28 !important;filter:grayscale(1) !important;transform:translateY(8px) !important;animation:auto ease 0s 1 normal none running none !important;}
:root{--bg:#172c30;--panel:#233c3f;--panel2:#2c4748;--line:#69766a;--text:#f4f0e2;--muted:#c3cec5;--gold:#ebd49e;--good:#9ad5a7;}
body{background:radial-gradient(at 12% 0%,rgba(169,199,188,0.44),transparent 48%),linear-gradient(145deg,rgb(56,87,91),rgb(24,46,51) 65%) fixed;}
h1,h2,.home-character-name strong{font-family:"Yu Mincho","Hiragino Mincho ProN",Georgia,serif;}
button{background:rgb(48,79,80);border-color:rgb(129,144,128);color:var(--text);}
button:hover:not(:disabled){background:rgb(66,100,97);border-color:rgb(220,197,143);}
button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:rgb(255,224,161) solid 3px;outline-offset:3px;}
.primary,.v18-btn{background:linear-gradient(rgb(102,135,115),rgb(60,97,84));border-color:rgb(208,191,138);color:rgb(255,249,231);box-shadow:rgb(36,62,54) 0px 3px 0px;}
.primary:hover:not(:disabled),.v18-btn:hover:not(:disabled){background:rgb(85,124,100);}
.panel,.stack[data-section="town"] .panel,.battle-v1-main.grassland-field{box-shadow:rgba(16,39,35,0.25) 0px 9px 30px;background:linear-gradient(135deg,rgb(48,73,75),rgb(32,54,57)) !important;border-color:rgb(132,145,128) !important;}
.top{border-color:rgba(166,175,151,0.333);}
.top h1{color:rgb(242,223,172);}
.top small{color:rgb(200,215,205);}
.status-strip,.home-character,.home-details,.home-notice,.home-facility,.home-extra-grid button,.area-focus,.item,.stat,.skillbox,.faction-card,.report-card{background:linear-gradient(120deg,rgb(54,83,83),rgb(41,63,64));border-color:rgb(106,129,120);}
.home-facility-featured{background:linear-gradient(125deg,rgb(86,118,96),rgb(59,90,73));border-color:rgb(199,188,139);}
.home-facility:hover,.home-notice:hover{background:rgb(66,99,94);border-color:rgb(217,200,148);}
.home-facility-icon,.home-notice-symbol,.home-character-portrait{background:rgb(36,63,62);border-color:rgb(135,153,129);color:rgb(231,213,165);}
.home-facility-copy strong,.home-character-name strong{color:rgb(250,241,215);}
.home-facility-copy small,.home-notice small,.home-character-meta,.home-meta-note,.home-exp-line,.home-preview-note{color:rgb(199,212,201);}
.home-eyebrow,.home-overline,.home-section-heading h2,.home-notice strong{color:rgb(228,212,164);}
.home-journal{background:linear-gradient(120deg,rgb(240,231,206),rgb(212,217,190));border-color:rgb(209,199,149);}
.home-journal #home-news{color:rgb(53,77,65);}
.home-journal small{color:rgb(76,96,80);}
.home-pill,.badge{background:rgb(68,96,78);color:rgb(250,230,176);border-color:rgb(141,157,121);}
.desk-nav button.active,.nav button.active,.choice.active{background:rgb(80,110,91);border-color:rgb(216,196,140);color:rgb(255,240,201);}
.nav{background:rgb(117,133,119);}
.nav button{background:rgb(35,61,63);color:rgb(230,234,219);}
.town-art{image-rendering:pixelated;background-image:none !important;background-size:cover !important;}
.town-v1 .town-art{border-color:rgb(200,192,149);position:relative;min-height:260px !important;max-height:none !important;}
.town-v1 .home-city-shade{padding:68px 20px 17px;background:linear-gradient(transparent 15%,rgba(20,46,37,0.25) 50%,rgba(16,45,41,0.875) 100%);z-index:1;}
.town-v1 .town-art h2{font-size:29px;color:rgb(255,246,217);}
.town-v1 .town-art p{color:rgb(237,243,223);}
.town-art::after,.v18-scene::before{content:"";position:absolute;inset:0px;pointer-events:none;background:linear-gradient(118deg,transparent 45%,rgba(255,248,205,0.19) 46%,transparent 56%,rgba(255,248,220,0.082) 60%,transparent 68%);z-index:0;}
#v18-gateway{background:radial-gradient(at 50% 0%,rgb(202,219,204),rgb(125,154,146) 48%,rgb(49,78,80));color:rgb(41,63,55);}
.v18-brand{color:rgb(52,78,67);}
.v18-scene{border-color:rgb(238,224,181);box-shadow:rgba(32,61,57,0.19) 0px 12px 32px;height:clamp(250px,40dvh,350px);background-image:none !important;background-position:center 44% !important;}
.v18-scene::after{background:linear-gradient(transparent 30%,rgba(22,53,43,0.133) 52%,rgba(19,44,41,0.85) 100%);}
.v18-scene-text h1{color:rgb(255,243,201);}
.v18-scene-text p{color:rgb(255,246,220);}
.v18-card{background:linear-gradient(135deg,rgb(250,245,230),rgb(230,232,214));border-color:rgb(255,243,208);box-shadow:rgba(33,61,57,0.125) 0px 8px 30px;}
.v18-card h2{color:rgb(53,79,66);}
.v18-card p{color:rgb(78,96,83);}
.v18-kicker{color:rgb(109,104,73);}
.v18-footer{color:rgb(41,63,57);}
.v18-demo{background:rgb(217,223,201);border-color:rgb(160,175,141);color:rgb(59,85,69);}
.v18-sub{color:rgb(78,102,88) !important;}
.v18-error{color:rgb(162,57,42) !important;}
.v18-error.is-ok{color:rgb(47,113,70) !important;}
.v18-form label,.v18-form .v18-agree{color:rgb(67,89,72);}
.v18-form input{background:rgb(255,253,244);color:rgb(41,62,52);border-color:rgb(151,170,146);}
.v18-btn.ghost{color:rgb(57,84,73);border-color:rgb(131,155,131);}
.v18-btn.secondary,.v18-nav button{background:rgb(69,100,90);color:rgb(255,244,215);}
.v18-nav button.active{background:rgb(102,120,78);border-color:rgb(160,141,86);}
.v18-create-preview{background:rgb(213,221,200);border-color:rgb(145,161,136);}
.v18-create-preview strong{color:rgb(51,79,64);}
.v18-meta span{color:rgb(71,96,73);border-color:rgb(154,169,130);}
.battle-v1-enemy,.battle-v1-player,.battle-v1-message,.battle-v1-main>.tactics-launch,.battle-inline-log .battle-log-details{background:rgba(33,59,59,0.93) !important;border-color:rgb(118,135,117) !important;}
.battle-v1-commands{background:rgba(36,62,62,0.933) !important;}
.battle-v1-stage{border-color:rgb(182,188,140) !important;}
.battle-v1-stage-text{background:rgba(24,59,50,0.6) !important;color:rgb(255,240,197) !important;}
.battle-v1-result{background:linear-gradient(110deg,rgb(57,92,72),rgb(41,74,67)) !important;border-color:rgb(163,181,134) !important;}
.battle-v1-reward{background:rgb(32,60,53) !important;}
.battle-v1-speed,.battle-speed-row button{background:rgb(54,84,77);border-color:rgb(144,164,140);}
@media (max-width:730px){.town-v1 .town-art{min-height:192px !important;max-height:none !important;}
.town-v1 .town-art h2{font-size:23px;}
.town-v1 .home-city-shade{padding:45px 13px 12px;}
.v18-card h2{font-size:20px;}
.top{flex-wrap:wrap;}
.v18-header-actions{margin-left:auto;}
.v18-scene{height:270px;}
}
@media (prefers-reduced-motion:reduce){.v18-stage{animation:auto ease 0s 1 normal none running none;}
*,::before,::after{scroll-behavior:auto !important;}
}
.desk-nav button{background:rgb(48,76,73);border-color:rgb(131,145,125);}
.desk-nav button.active{background:rgb(86,115,96);color:rgb(255,240,201);}
.town-art{background-position:center 30% !important;}
.town-art,.v18-scene{background-image:url("assets/asset_005.webp") !important;}
[data-tab="tower"],[data-tab="grave"],[data-goto="tower"],[data-goto="grave"],[data-section="tower"],[data-section="grave"]{display:none !important;}
.home-notice-grid{grid-template-columns:1fr;}
.home-facility-grid{margin-bottom:20px;align-items:stretch;}
.home-facility-grid .home-facility{min-height:86px;}
.home-facility-copy strong{line-height:1.5;}
.home-facility-copy small{line-height:1.6;}
@media (max-width:730px){.home-facility-grid .home-facility{min-height:82px;}
}
.home-notice-grid[hidden]{display:none !important;}
.growth-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0px 18px;}
.growth-summary-card{display:grid;gap:8px;background:rgb(28,53,53);border:1px solid rgb(127,149,128);border-radius:12px;padding:14px;min-width:0px;}
.growth-summary-card strong{font-size:21px;color:rgb(246,228,181);}
.growth-summary-card small{font-size:11px;font-variant-numeric:tabular-nums;}
.growth-summary .bar{height:8px;}
.bar.trial-job i{background:linear-gradient(90deg,rgb(233,131,55),rgb(255,193,108));}
.job-requirements{background:rgb(30,55,52);padding:10px;border-radius:8px;line-height:1.9;font-size:12px;color:rgb(238,232,210);}
.v19-job-card{padding:12px !important;min-height:95px !important;}
.v19-job-card.selected{outline-color:rgb(240,212,157);background:rgb(64,89,74);}
.v19-job-card small{font-size:12px;line-height:1.6;}
.job-detail{margin-top:14px;line-height:1.8;}
.job-detail .tip{font-size:12px;}
.shop-product{display:grid;grid-template-columns:70px minmax(0px,1fr) 175px;align-items:center;gap:20px;padding:22px;background:linear-gradient(120deg,rgb(54,85,75),rgb(35,61,59));border:1px solid rgb(155,175,141);border-radius:14px;margin:18px 0px;}
.shop-product h3{font-family:"Yu Mincho",serif;font-size:23px;color:rgb(243,223,173);margin:5px 0px 10px;}
.shop-product p{font-size:13px;line-height:1.8;}
.shop-book{display:grid;place-items:center;width:66px;height:82px;border:1px solid rgb(208,183,131);background:rgb(84,113,91);color:rgb(248,228,175);font-size:46px;border-radius:5px 12px 12px 5px;box-shadow:rgb(39,63,50) 5px 0px inset;}
.shop-buy{display:grid;gap:10px;}
.shop-buy>strong{font-size:24px;color:rgb(244,221,176);}
.shop-buy small{font-size:12px;}
.shop-buy .tip{min-height:18px;}
.battle-v1-controls .battle-v1-commands{border:1px solid rgb(168,182,142);border-radius:12px;box-shadow:none;position:static !important;padding:10px !important;background:rgb(48,78,68) !important;}
.battle-v1-controls #battle-btn{min-height:48px !important;font-size:18px !important;}
.battle-v1-controls #cooldown{color:rgb(232,234,213);font-size:12px !important;line-height:1.65 !important;margin:8px 0px 0px !important;}
.battle-speed-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.battle-speed-row button{min-height:42px !important;}
@media (max-width:760px){.shop-product{grid-template-columns:52px minmax(0px,1fr);gap:14px;padding:16px;}
.shop-book{width:48px;height:66px;font-size:34px;}
.shop-buy{grid-column:1 / -1;border-top:1px solid rgba(141,160,130,0.4);padding-top:14px;}
.growth-summary-card{padding:11px;}
.growth-summary-card strong{font-size:17px;}
.v19-job-card{padding:10px !important;}
}
.battle-v1-main{grid-template-areas:"crumb crumb" "head head" "arena control" "result result" "log log" "skills skills" "plan plan" "foot foot" !important;}
.battle-v1-main>.battle-inline-log{grid-area:log;min-width:0px;width:100%;margin:0px !important;}
.battle-inline-log .battle-log-details[open] .turn-log{overscroll-behavior:contain;max-height:220px !important;overflow-y:auto !important;}
@media (max-width:760px){.battle-v1-main{grid-template-areas:"head" "arena" "control" "result" "log" "skills" "plan" "foot" !important;}
.battle-inline-log .battle-log-details[open] .turn-log{max-height:180px !important;}
}
.attack-fx{position:absolute;z-index:6;pointer-events:none;width:0px;height:0px;--fx-color:#fff1bc;--fx-time:320ms;}
.attack-fx.incoming{--fx-color:#ffae91;}
.attack-fx.magical{--fx-color:#bceaff;}
.attack-fx.critical{--fx-color:#ffdb68;}
.attack-fx.magical::before{content:"✦";position:absolute;left:-53px;top:-53px;width:100px;height:100px;display:grid;place-items:center;border:3px solid rgb(201,244,255);border-radius:50%;color:rgb(255,255,255);font-size:30px;background:repeating-conic-gradient(rgba(139,230,255,0.533) 0deg,rgba(139,230,255,0.533) 8deg,transparent 8deg,transparent 24deg);box-shadow:rgb(135,220,255) 0px 0px 12px,rgb(123,140,255) 0px 0px 34px,rgb(255,255,255) 0px 0px 18px inset;animation:skill-rune calc(var(--fx-time)*1.8) cubic-bezier(.16,.8,.24,1) both;}
.attack-fx.magical::after{content:"";position:absolute;left:-12px;top:-54px;width:24px;height:108px;background:linear-gradient(transparent,rgb(255,255,255) 35%,rgb(131,223,255) 50%,rgb(255,255,255) 65%,transparent);filter:blur(2px) drop-shadow(rgb(140,223,255) 0px 0px 9px);animation:skill-beam calc(var(--fx-time)*1.7) ease-out both;}
.duel-scene.skill-attacks{animation:0.62s ease-out 0s 1 normal both running skill-scene-flash !important;}
.duel-scene.skill-attacks::before{content:"";position:absolute;inset:-10%;z-index:5;pointer-events:none;background:radial-gradient(circle at 65% 48%,rgb(255,255,255) 0px,rgb(255,255,255) 2%,rgba(155,234,255,0.8) 4%,rgba(155,125,255,0.533) 13%,transparent 36%);mix-blend-mode:screen;animation:0.62s ease-out 0s 1 normal both running skill-burst;}
.duel-scene.skill-attacks::after{content:"";position:absolute;left:65%;top:48%;z-index:5;width:34px;height:34px;border:5px double rgb(233,251,255);border-radius:50%;pointer-events:none;box-shadow:rgb(255,255,255) 0px 0px 14px,rgb(143,223,255) 0px 0px 30px,rgb(149,123,255) 0px 0px 55px;animation:0.7s ease-out 0s 1 normal both running skill-shockwave;}
.fx-slash{position:absolute;left:-46px;top:-5px;width:92px;height:7px;background:rgb(255,252,233);border-radius:80% 10%;box-shadow:0 0 8px var(--fx-color),0 0 2px 3px var(--fx-color);animation:fx-slash var(--fx-time) ease-out both;}
.fx-impact{position:absolute;left:-22px;top:-22px;width:44px;height:44px;border:3px solid var(--fx-color);border-radius:50%;animation:fx-impact var(--fx-time) ease-out both;}
.fx-number{position:absolute;left:0px;top:-30px;white-space:nowrap;color:var(--fx-color);font:900 25px / 1 system-ui;text-shadow:rgb(24,43,41) 2px 2px,rgb(24,43,41) -1px -1px,rgb(24,43,41) 1px -1px,rgb(24,43,41) -1px 1px;animation:fx-number calc(var(--fx-time)*1.4) ease-out both;}
.critical .fx-number{font-size:29px;}
.missed .fx-number{font-size:19px;color:rgb(232,238,233);}
.reduced .fx-number{animation-name:fx-static;}
@keyframes fx-slash{0%{transform:rotate(-40deg) scaleX(0.15);opacity:0;}
20%{opacity:1;}
75%{transform:rotate(-40deg) scaleX(1.1);opacity:0.85;}
100%{transform:rotate(-40deg) scaleX(1.2);opacity:0;}
}
@keyframes fx-impact{0%{transform:scale(0.2);opacity:0;}
25%{opacity:0.85;}
100%{transform:scale(1.6);opacity:0;}
}
@keyframes fx-number{0%{transform:translate(-50%,8px);opacity:0;}
15%{opacity:1;}
70%{opacity:1;}
100%{transform:translate(-50%,-28px);opacity:0;}
}
@keyframes fx-static{0%,85%{transform:translateX(-50%);opacity:1;}
100%{transform:translateX(-50%);opacity:0;}
}
@keyframes skill-rune{0%{transform:scale(0.15) rotate(-120deg);opacity:0;}
20%{opacity:1;}
70%{transform:scale(1.15) rotate(35deg);opacity:1;}
100%{transform:scale(1.55) rotate(80deg);opacity:0;}
}
@keyframes skill-beam{0%{transform:scaleY(0.1) rotate(20deg);opacity:0;}
22%{opacity:1;}
70%{transform:scaleY(1.25) rotate(20deg);opacity:0.9;}
100%{transform:scaleY(1.7) rotate(20deg);opacity:0;}
}
@keyframes skill-burst{0%{opacity:0;transform:scale(0.35);}
18%{opacity:1;}
100%{opacity:0;transform:scale(1.45);}
}
@keyframes skill-shockwave{0%{opacity:0;transform:translate(-50%,-50%) scale(0.15);}
22%{opacity:1;}
100%{opacity:0;transform:translate(-50%,-50%) scale(8);}
}
@keyframes skill-scene-flash{0%,100%{filter:none;}
20%{filter:brightness(1.65) saturate(1.55);}
45%{filter:brightness(1.12) saturate(1.25);}
}
@media (max-width:760px){.fx-number{font-size:21px;}
.critical .fx-number{font-size:24px;}
}
@media (prefers-reduced-motion:reduce){.attack-fx.magical::before,.attack-fx.magical::after,.duel-scene.skill-attacks,.duel-scene.skill-attacks::before,.duel-scene.skill-attacks::after{animation:auto ease 0s 1 normal none running none !important;}
.duel-scene.skill-attacks::before,.duel-scene.skill-attacks::after{display:none;}
}
.combat-stat-heading{font-weight:700;color:rgb(240,217,168);margin-bottom:10px;}
.combat-stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0px,1fr));gap:8px;}
.combat-stat-grid>div{display:grid;gap:6px;background:rgb(32,61,55);border:1px solid rgb(117,141,118);border-radius:9px;padding:12px 9px;}
.combat-stat-grid span{font-size:11px;color:rgb(203,217,202);}
.combat-stat-grid strong{font-size:20px;color:rgb(247,228,176);font-variant-numeric:tabular-nums;}
.combat-stat-grid + p{margin-top:10px;line-height:1.7;}
@media (max-width:600px){.combat-stat-grid{grid-template-columns:repeat(2,minmax(0px,1fr));}
.combat-stat-grid>div:last-child{grid-column:1 / -1;}
.combat-stat-grid strong{font-size:19px;}
}
#duel-scene #strike-text{display:none !important;}
.bar:not(.mp):not(.xp):not(.trial-job):not(.enemy-meter)>i,.home-hp-fill,#hp-bar,#combat-player-hp-bar{background:linear-gradient(90deg,rgb(72,168,121),rgb(141,214,155)) !important;}
.bar.job-exp-meter>i,.bar.trial-job>i,#combat-job-xp-bar{background:linear-gradient(90deg,rgb(233,131,55),rgb(255,193,108)) !important;}
.facility-art{display:block;background-size:400% 400%;background-repeat:no-repeat;image-rendering:pixelated;border-radius:8px;border:1px solid rgb(164,172,133);}
.facility-art-0{background-position:0% 0%;}
.facility-art-1{background-position:33.3333% 0%;}
.facility-art-2{background-position:66.6667% 0%;}
.facility-art-3{background-position:100% 0%;}
.facility-art-4{background-position:0% 100%;}
.facility-art-5{background-position:33.3333% 100%;}
.facility-art-6{background-position:66.6667% 100%;}
.facility-art-7{background-position:100% 100%;}
.home-facility-grid .home-facility{display:grid;grid-template-columns:76px minmax(0px,1fr) 12px;gap:12px;align-items:center;overflow:hidden;padding:10px !important;}
.home-facility-grid .home-facility-icon{display:none;}
.home-facility-grid .home-facility-copy{min-width:0px;}
.home-facility-grid .home-facility-copy strong{font-size:14px;}
.home-facility-grid .home-facility-copy small{font-size:11px;}
.home-facility-grid .home-arrow{font-size:20px;}
@media (min-width:900px){.home-facility-grid{grid-template-columns:repeat(2,minmax(0px,1fr));}
}
@media (max-width:530px){.home-facility-grid .home-facility{grid-template-columns:minmax(0px,1fr) 12px;gap:8px;}
.home-facility-grid .facility-art{grid-column:1 / -1;width:100%;aspect-ratio:3 / 4;max-width:110px;justify-self:center;}
.home-facility-grid .home-facility-copy strong{font-size:13px;}
.home-facility-grid .home-facility-copy small{font-size:10px;}
}
.bar.xp>i,.home-xp-fill,#xp-bar,#combat-player-xp-bar{background:linear-gradient(90deg,rgb(214,172,39),rgb(255,228,122)) !important;}
.bar.trial-job>i,.bar.job-exp-meter>i,#combat-job-xp-bar,.battle-v1 .player-hud .bar.job-exp-meter>i{background:linear-gradient(90deg,rgb(201,72,72),rgb(255,138,120)) !important;box-shadow:rgba(233,94,86,0.2) 0px 0px 6px !important;}
.battle-v1 .player-hud .bar.job-exp-meter{background:rgb(61,32,35) !important;border-color:rgb(153,82,87) !important;}
.home-job-xp-fill{background:linear-gradient(90deg,rgb(201,72,72),rgb(255,138,120)) !important;box-shadow:rgba(233,94,86,0.2) 0px 0px 6px !important;}
.home-job-xp-meter .home-meter-track{background:rgb(61,32,35) !important;border-color:rgb(153,82,87) !important;}
.facility-art,.pixel-icon{background-image:url("assets/asset_006.webp");background-size:400% 400%;background-repeat:no-repeat;image-rendering:pixelated;background-color:rgb(36,61,59);}
.facility-art-0,.pixel-cell-0{background-position:0% 0%;}
.facility-art-1,.pixel-cell-1{background-position:33.3333% 0%;}
.facility-art-2,.pixel-cell-2{background-position:66.6667% 0%;}
.facility-art-3,.pixel-cell-3{background-position:100% 0%;}
.facility-art-4,.pixel-cell-4{background-position:0% 33.3333%;}
.facility-art-5,.pixel-cell-5{background-position:33.3333% 33.3333%;}
.facility-art-6,.pixel-cell-6{background-position:66.6667% 33.3333%;}
.facility-art-7,.pixel-cell-7{background-position:100% 33.3333%;}
.pixel-cell-8{background-position:0% 66.6667%;}
.pixel-cell-9{background-position:33.3333% 66.6667%;}
.pixel-cell-10{background-position:66.6667% 66.6667%;}
.pixel-cell-11{background-position:100% 66.6667%;}
.pixel-cell-12{background-position:0% 100%;}
.pixel-cell-13{background-position:33.3333% 100%;}
.pixel-cell-14{background-position:66.6667% 100%;}
.pixel-cell-15{background-position:100% 100%;}
.facility-art{aspect-ratio:1 / 1 !important;}
.pixel-icon{display:inline-block;width:36px;height:36px;flex:0 0 auto;border-radius:5px;}
.desk-nav button{display:flex;align-items:center;justify-content:center;min-width:0px;padding:8px;}
.desk-nav{gap:6px;}
.boost-test-panel{flex-wrap:wrap;}
.boost-test-panel>.hourglass-copy{flex:1 1 0%;}
.boost-test-panel strong{font-size:15px;}
.boost-test-panel p{margin:5px 0px;}
.nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;}
@media (max-width:730px){.nav{grid-template-columns:repeat(7,minmax(0px,1fr)) !important;}
.nav button{font-size:10px;min-height:58px;}
.boost-test-panel>button{width:100%;}
.home-facility-grid .facility-art{max-width:96px;}
}
.stat-draft-actions{display:flex;gap:7px;}
.stat-draft-actions button{min-width:34px;padding:0px;}
.stat-confirm-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px;}
.stat-confirm-row button{min-width:110px;}
.desk-nav .pixel-icon{width:26px;height:26px;}
.desk-nav button{gap:6px;min-height:48px;}
.nav .pixel-icon{width:22px;height:22px;}
#combat-result[hidden]{display:none !important;}
#combat-narration{display:none !important;}
.battle-v1-controls{grid-template-areas:"player" "command" "speed" !important;}
@media (max-width:760px){.battle-v1-controls{grid-template-areas:"command" "speed" "player" !important;}
}
.boost-test-actions{display:grid;gap:7px;flex:0 0 auto;}
.boost-test-actions button{width:100%;}
.boost-test-actions #dev-cooldown-test.active{background:rgb(123,48,48);border-color:rgb(239,140,120);color:rgb(255,243,223);}
@media (max-width:530px){.boost-test-actions{width:100%;}
}
.item-name-with-icon{display:inline-grid;grid-template-columns:22px auto;align-items:center;column-gap:6px;line-height:1.35;vertical-align:middle;}
.item-type-icon{display:grid;place-items:center;width:22px;height:22px;box-sizing:border-box;overflow:hidden;border:1px solid rgb(10,17,16);border-radius:5px;background:rgb(16,24,23);line-height:1;text-shadow:none;}
.item-type-icon-img{display:block;width:21px;height:21px;max-width:none;object-fit:contain;object-position:center center;image-rendering:pixelated;}
.equipped-type-icon{display:inline-block;width:21px;height:21px;object-fit:contain;object-position:center center;vertical-align:text-bottom;margin:0px 4px 0px 0px;image-rendering:pixelated;}
.avatar-preview-panel canvas{max-width:92%;object-fit:contain;width:160px !important;height:200px !important;aspect-ratio:4 / 5 !important;image-rendering:pixelated !important;}
.avatar-preview-panel:nth-child(2) canvas{width:160px !important;height:200px !important;}
.town-avatar-card canvas{object-fit:contain;width:80px !important;height:100px !important;aspect-ratio:4 / 5 !important;flex-basis:80px !important;}
.duel-scene #player-sprite{object-fit:contain;width:128px !important;height:160px !important;aspect-ratio:4 / 5 !important;}
.battle-v1-stage #player-sprite{width:128px !important;height:160px !important;aspect-ratio:4 / 5 !important;}
.avatar-50-grid{grid-template-columns:repeat(4,minmax(0px,1fr)) !important;gap:10px !important;max-height:720px !important;overflow-y:auto !important;}
.avatar-choice{padding:8px 4px 7px !important;}
.avatar-choice canvas{width:128px !important;height:160px !important;max-width:100% !important;aspect-ratio:4 / 5 !important;object-fit:contain !important;image-rendering:pixelated !important;}
#v18-gallery{grid-template-columns:repeat(4,minmax(0px,1fr)) !important;gap:9px !important;max-height:none !important;overflow:visible !important;padding:8px !important;}
.v18-avatar{min-height:188px !important;padding:7px 3px !important;gap:4px !important;font-size:10px !important;}
.v18-avatar canvas{width:128px !important;height:160px !important;max-width:100% !important;aspect-ratio:4 / 5 !important;object-fit:contain !important;image-rendering:pixelated !important;}
.v18-create-preview canvas{width:128px !important;height:160px !important;aspect-ratio:4 / 5 !important;object-fit:contain !important;}
@media (max-width:730px){.duel-scene #player-sprite,.battle-v1-stage #player-sprite{width:112px !important;height:140px !important;}
.avatar-preview-panel canvas,.avatar-preview-panel:nth-child(2) canvas{width:128px !important;height:160px !important;}
.town-avatar-card canvas{width:64px !important;height:80px !important;flex-basis:64px !important;}
}
@media (max-width:560px){#v18-gallery,.avatar-50-grid{grid-template-columns:repeat(2,minmax(0px,1fr)) !important;}
.v18-avatar canvas,.avatar-choice canvas{width:128px !important;height:160px !important;}
}
.boost-test-panel{display:grid !important;grid-template-columns:64px minmax(0px,1fr) auto !important;align-items:center !important;gap:13px !important;}
.boost-test-panel>.pixel-icon{width:64px !important;height:64px !important;place-self:center !important;margin:0px !important;}
.boost-test-panel>.hourglass-copy{min-width:0px !important;}
.boost-test-panel>.boost-test-actions{justify-self:end !important;}
@media (max-width:730px){.boost-test-panel{grid-template-columns:52px minmax(0px,1fr) !important;gap:9px !important;}
.boost-test-panel>.pixel-icon{width:48px !important;height:48px !important;}
.boost-test-panel>.boost-test-actions{grid-column:1 / -1 !important;width:100% !important;justify-self:stretch !important;}
.boost-test-panel>.boost-test-actions button{width:100% !important;}
}
.beginner-tutorial{margin:10px 0px 13px;padding:12px;border:1px solid rgb(143,123,79);border-radius:12px;background:linear-gradient(135deg,rgb(38,63,57),rgb(29,51,49));}
.beginner-tutorial-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px;}
.beginner-tutorial-head strong{color:rgb(242,213,140);font-size:15px;}
.beginner-tutorial-head span{color:rgb(185,200,189);font-size:11px;}
.tutorial-steps{display:grid;grid-template-columns:repeat(4,minmax(0px,1fr));gap:7px;}
.tutorial-step{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:7px;text-align:left;min-height:54px;padding:7px 8px;background:rgb(32,57,54);border-color:rgb(97,121,108);color:rgb(233,226,204);}
.tutorial-number{display:grid;place-items:center;width:25px;height:25px;border:1px solid rgb(157,135,85);border-radius:50%;color:rgb(241,202,112);font-size:11px;}
.tutorial-step span:last-child{font-size:11px;line-height:1.35;}
.tutorial-step.done{background:rgb(41,75,58);border-color:rgb(117,177,138);}
.tutorial-step.done .tutorial-number{background:rgb(88,166,117);border-color:rgb(139,210,162);color:rgb(255,255,255);}
.tutorial-step.current{box-shadow:rgba(227,189,98,0.333) 0px 0px 0px 2px inset;border-color:rgb(212,174,88);}
.reinc-guide{margin-top:9px;line-height:1.7;}
.reinc-guide strong{color:rgb(241,207,122);}
.reincarnation-celebration{position:fixed;inset:0px;z-index:1000;display:grid;place-items:center;padding:20px;background:radial-gradient(circle,rgba(237,209,132,0.267) 0px,rgba(20,36,38,0.933) 54%,rgba(8,16,17,0.98) 100%);animation:2.8s ease 0s 1 normal both running reinc-bg;}
.reincarnation-celebration[hidden]{display:none;}
.reincarnation-light{position:absolute;width:min(76vw,620px);aspect-ratio:1 / 1;border-radius:50%;background:conic-gradient(transparent,rgba(255,230,152,0.667),transparent,rgba(255,241,187,0.533),transparent);filter:blur(8px);animation:3s linear 0s infinite normal none running reinc-spin;}
.reincarnation-card{position:relative;z-index:1;width:min(92vw,520px);padding:28px 20px;text-align:center;border:2px solid rgb(231,195,109);border-radius:18px;background:linear-gradient(145deg,rgba(49,82,72,0.95),rgba(23,45,43,0.96));box-shadow:rgba(255,217,117,0.4) 0px 0px 35px,rgba(242,213,139,0.133) 0px 0px 28px inset;animation:0.7s cubic-bezier(0.2,0.9,0.25,1.15) 0s 1 normal both running reinc-rise;}
.reincarnation-symbol{font-size:58px;line-height:1;animation:0.8s ease-in-out 0s infinite alternate none running reinc-pulse;}
.reincarnation-card h2{font-size:28px;margin:10px 0px 4px;color:rgb(255,227,155);letter-spacing:0.12em;}
.reincarnation-card p{margin:7px 0px;color:rgb(233,234,219);}
.reincarnation-card small{display:block;color:rgb(191,205,191);line-height:1.7;}
.reincarnation-card button{margin-top:17px;min-width:150px;}
@keyframes reinc-bg{0%{opacity:0;}
100%{opacity:1;}
}
@keyframes reinc-spin{100%{transform:rotate(360deg);}
}
@keyframes reinc-rise{0%{opacity:0;transform:translateY(35px) scale(0.82);}
100%{opacity:1;transform:none;}
}
@keyframes reinc-pulse{100%{transform:scale(1.13);filter:drop-shadow(rgb(255,225,140) 0px 0px 18px);}
}
@media (max-width:650px){.tutorial-steps{grid-template-columns:repeat(2,minmax(0px,1fr));}
.reincarnation-card h2{font-size:23px;}
}
@media (prefers-reduced-motion:reduce){.reincarnation-celebration,.reincarnation-light,.reincarnation-card,.reincarnation-symbol{animation:auto ease 0s 1 normal none running none !important;}
}
.tutorial-current{display:grid;grid-template-columns:auto minmax(0px,1fr);align-items:center;gap:10px;padding:10px;border:1px solid rgb(111,128,103);border-radius:9px;background:rgb(23,45,43);}
.tutorial-current .tutorial-number{width:31px;height:31px;font-size:13px;}
.tutorial-current small{display:block;color:rgb(158,175,163);font-size:10px;}
.tutorial-current strong{display:block;margin-top:2px;color:rgb(255,224,150);font-size:14px;}
.tutorial-current p{margin:3px 0px 0px;color:rgb(212,221,212);font-size:11px;line-height:1.55;}
.beginner-tutorial>#tutorial-action{width:100%;margin-top:8px;}
.tutorial-history{margin-top:9px;}
.tutorial-history summary{cursor:pointer;color:rgb(174,187,178);font-size:11px;}
.tutorial-history .tutorial-steps{margin-top:7px;grid-template-columns:repeat(2,minmax(0px,1fr));}
.tutorial-history .tutorial-step{min-height:40px;padding:5px 7px;}
.tutorial-history .tutorial-step.current{background:rgb(60,64,45);}
@media (max-width:520px){.tutorial-history .tutorial-steps{grid-template-columns:1fr;}
}
.developer-lock{max-width:560px;margin:0px auto;padding:18px;border:1px solid rgb(132,107,69);border-radius:13px;background:linear-gradient(145deg,rgb(38,61,56),rgb(23,44,42));}
.developer-lock h2{color:rgb(240,207,131);}
.developer-form{display:grid;gap:10px;}
.developer-form label{display:grid;gap:5px;color:rgb(203,215,204);font-size:12px;}
.developer-form input{width:100%;box-sizing:border-box;}
.developer-grid{display:grid;grid-template-columns:repeat(2,minmax(0px,1fr));gap:9px;}
.developer-grid button{min-height:48px;}
.developer-status{display:grid;grid-template-columns:repeat(4,minmax(0px,1fr));gap:8px;margin:12px 0px;}
.developer-status div{padding:9px;border:1px solid rgb(95,116,103);border-radius:9px;background:rgb(25,48,45);text-align:center;}
.developer-status span{display:block;color:rgb(174,189,178);font-size:10px;}
.developer-status strong{display:block;margin-top:3px;color:rgb(243,213,141);}
.developer-danger{margin-top:14px;padding-top:13px;border-top:1px solid rgba(141,93,82,0.4);}
@media (max-width:560px){.developer-status{grid-template-columns:repeat(2,minmax(0px,1fr));}
.developer-grid{grid-template-columns:1fr;}
}
.batch-bar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:9px 0px;}
.item-select{display:flex;gap:6px;align-items:center;font-size:11px;}
.item-select input{width:18px;height:18px;accent-color:rgb(212,173,88);}
#forge-sort{min-height:40px;background:rgb(32,57,54);color:rgb(245,234,208);border:1px solid rgb(112,133,121);border-radius:8px;padding:7px;}
#combat-player-name{display:flex;align-items:center;gap:7px;flex-wrap:wrap;}
.combat-character-identity{color:rgb(247,228,176);}
.combat-job-identity{display:inline-flex;align-items:center;gap:5px;color:rgb(255,255,255);}
.combat-job-icon{width:28px;height:28px;object-fit:contain;image-rendering:pixelated;}
@media (max-width:530px){#combat-player-name{width:100%;gap:4px 7px;}
.combat-job-identity{flex-basis:100%;}
.combat-job-icon{width:30px;height:30px;}
}
.equipment-filter-wrap{display:grid;gap:6px;}
.equipment-filter-buttons{display:flex;flex-wrap:wrap;gap:7px;}
.equipment-filter-buttons button{min-height:36px;padding:7px 13px;border-color:rgb(118,144,124);background:rgb(36,63,59);color:rgb(246,231,189);}
.equipment-filter-buttons button:hover{border-color:rgb(214,185,103);background:rgb(49,80,74);}
.equipment-filter-buttons button.active{border-color:rgb(255,210,103);background:rgb(128,100,44);color:rgb(255,247,212);box-shadow:rgba(255,210,103,0.333) 0px 0px 0px 1px inset;}
.equipment-filter-buttons button:focus-visible{outline:rgb(255,210,103) solid 2px;outline-offset:2px;}
.equipment-sort-note{margin:0px;color:rgb(185,202,189);}
@media (max-width:540px){.equipment-filter-buttons{display:grid;grid-template-columns:repeat(2,minmax(0px,1fr));}
.equipment-filter-buttons button{width:100%;padding-inline:6px;}
}
[data-section="adventure"] .navpath,[data-section="skills"] .navpath,[data-section="reports"] .navpath{display:none;}
.skill-page-v2{display:grid;gap:14px;}
.skill-hero-card,.skill-library-card,.skill-tactics-card{background:linear-gradient(145deg,rgb(32,61,57),rgb(24,49,47));border:1px solid rgb(116,140,118);border-radius:13px;padding:13px;}
.skill-hero-card{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;border-color:rgb(165,138,80);background:linear-gradient(135deg,rgb(48,74,66),rgb(28,51,48));}
.skill-hero-card h2,.skill-section-title{margin:0px;color:rgb(241,207,122);}
.roulette-v2{position:relative;overflow:hidden;display:grid;place-items:center;text-align:center;border:1px solid rgb(113,99,77);border-radius:12px;box-shadow:rgba(0,0,0,0.533) 0px 0px 28px inset;}
.roulette-v2::before{content:"";position:absolute;inset:8px;border:1px solid rgba(210,174,90,0.333);border-radius:9px;pointer-events:none;}
.roulette-v2.rolling::after{content:"";position:absolute;inset:-60%;background:conic-gradient(transparent,rgba(255,255,255,0.267) 9%,transparent 18%);animation:0.65s linear 0s infinite normal none running skill-wheel-spin;}
.roulette-v2>*{position:relative;z-index:1;}
.roulette-label{letter-spacing:0.18em;color:rgb(219,199,143);font-size:11px;}
.roulette-name{font-size:23px;font-weight:900;text-shadow:rgb(0,0,0) 0px 2px 10px;}
.roulette-rarity{display:inline-block;padding:4px 10px;border:1px solid;border-radius:99px;background:rgba(16,29,27,0.8);}
.roulette-rarity.rarity-0{color:rgb(216,220,225);}
.roulette-rarity.rarity-1{color:rgb(143,227,157);}
.roulette-rarity.rarity-2{color:rgb(120,183,255);}
.roulette-rarity.rarity-3{color:rgb(200,155,255);}
.roulette-rarity.rarity-4{color:rgb(255,212,95);}
.skill-tactics-card{border-color:rgb(139,113,76);background:linear-gradient(145deg,rgb(42,51,45),rgb(26,41,40));}
.skill-tactics-card .tactics-panel{padding:0px;background:none;border:0px;box-shadow:none;}
.skill-tactics-card h3{color:rgb(241,207,122);font-size:16px;}
.skill-page-v2 .book-counter{margin:0px;}
@keyframes skill-wheel-spin{100%{transform:rotate(360deg);}
}
@media (max-width:600px){.skill-hero-card{grid-template-columns:1fr;}
.skill-hero-card button{width:100%;}
}
@media (max-width:730px){[data-section="adventure"] #areas.area-buttons{grid-template-columns:repeat(2,minmax(0px,1fr)) !important;gap:8px !important;}
[data-section="adventure"] #areas .choice.area-card{grid-template-rows:auto auto;overflow:hidden;display:grid !important;grid-template-columns:1fr !important;gap:7px !important;min-width:0px !important;min-height:0px !important;padding:8px !important;}
[data-section="adventure"] #areas .area-card-thumb{box-sizing:border-box;width:100% !important;height:64px !important;max-width:100% !important;}
[data-section="adventure"] #areas .area-card-copy{width:100%;min-width:0px;text-align:left;}
[data-section="adventure"] #areas .area-card-title{font-size:12px;white-space:normal;overflow-wrap:anywhere;}
[data-section="adventure"] #areas .area-card small{line-height:1.35;display:block !important;font-size:9px !important;}
}
@media (max-width:350px){[data-section="adventure"] #areas.area-buttons{grid-template-columns:1fr !important;}
}
.roulette-v2{min-height:0px !important;width:min(100%,720px) !important;margin:0px auto !important;aspect-ratio:16 / 9 !important;background:radial-gradient(circle,rgb(111,87,53),rgb(23,43,41) 72%) !important;border-color:rgb(185,149,80) !important;}
.roulette-book-art{object-fit:contain;image-rendering:auto;filter:drop-shadow(rgba(0,0,0,0.533) 0px 10px 12px);position:absolute !important;left:6% !important;top:6% !important;width:88% !important;height:88% !important;z-index:0 !important;}
.roulette-book-copy{display:flex;flex-direction:column;align-items:center;justify-content:center;color:rgb(56,39,21);text-shadow:rgba(255,255,255,0.533) 0px 1px,rgb(255,255,255) 0px 0px 7px;position:absolute !important;z-index:2 !important;}
.roulette-book-copy .roulette-label{font-weight:900;}
.roulette-book-copy .roulette-rarity{border-width:2px;}
.roulette-v2.rolling .roulette-book-art{animation:0.7s ease-in-out 0s infinite alternate none running book-awaken;}
.roulette-v2.rolling::after{z-index:1 !important;}
@keyframes book-awaken{100%{filter:drop-shadow(rgba(0,0,0,0.533) 0px 10px 12px) drop-shadow(rgb(248,207,115) 0px 0px 18px);transform:scale(1.012);}
}
@media (max-width:520px){.roulette-v2{width:100% !important;aspect-ratio:3 / 2 !important;}
.roulette-book-art{left:3% !important;top:3% !important;width:94% !important;height:94% !important;}
}
.battle-v1-arena>.battle-v1-stage{height:332px !important;min-height:332px !important;}
.battle-v1-stage .foe-sprite{transform-origin:center bottom;margin:0px !important;background-repeat:no-repeat !important;background-size:contain !important;background-position:center bottom !important;}
.battle-v1-stage:not(.has-two-enemies) #enemy-sprite{position:relative !important;left:-18px !important;right:auto !important;bottom:auto !important;max-width:61% !important;width:154px !important;height:164px !important;}
.battle-v1-stage.enemy-rank-weak:not(.has-two-enemies) #enemy-sprite{width:154px !important;height:164px !important;}
.battle-v1-stage.enemy-rank-mid:not(.has-two-enemies) #enemy-sprite{width:154px !important;height:164px !important;}
.battle-v1-stage.enemy-rank-strong:not(.has-two-enemies) #enemy-sprite{width:154px !important;height:164px !important;}
.battle-v1-stage.enemy-rank-rare:not(.has-two-enemies) #enemy-sprite{width:100px !important;height:110px !important;filter:drop-shadow(rgb(219,169,255) 0px 0px 13px) drop-shadow(rgba(0,0,0,0.533) 0px 8px 4px) !important;}
.battle-v1-stage.boss-battle:not(.has-two-enemies) #enemy-sprite{width:270px !important;height:285px !important;filter:drop-shadow(rgb(255,180,93) 0px 0px 17px) drop-shadow(rgba(0,0,0,0.6) 0px 9px 5px) !important;}
@keyframes foe-lunge{50%{transform:translateX(-18px);}
}
@media (max-width:760px){.battle-v1-arena>.battle-v1-stage{height:clamp(210px,58vw,270px) !important;min-height:210px !important;overflow:hidden !important;}
.battle-v1-stage{--enemy-width:44%;--enemy-height:64%;}
.battle-v1-stage.enemy-rank-weak{--enemy-width:44%;--enemy-height:64%;}
.battle-v1-stage.enemy-rank-strong{--enemy-width:44%;--enemy-height:64%;}
.battle-v1-stage.enemy-rank-rare{--enemy-width:28%;--enemy-height:44%;}
.battle-v1-stage.boss-battle{--enemy-width:64%;--enemy-height:94%;}
.battle-v1-stage .hero-sprite{position:absolute !important;left:1% !important;right:auto !important;bottom:8px !important;width:30% !important;max-width:30% !important;margin:0px !important;padding:0px !important;z-index:3 !important;}
.battle-v1-stage #player-sprite{width:min(112px,100%) !important;height:auto !important;aspect-ratio:4 / 5 !important;}
#duel-scene:not(.has-two-enemies) #enemy-sprite{position:absolute !important;left:auto !important;right:1% !important;bottom:8px !important;width:var(--enemy-width) !important;height:var(--enemy-height) !important;max-width:none !important;max-height:none !important;min-width:0px !important;min-height:0px !important;z-index:2 !important;}
#duel-scene.has-two-enemies #enemy-sprite,#duel-scene.has-two-enemies #enemy-sprite-extra{left:auto !important;max-width:none !important;max-height:none !important;min-width:0px !important;min-height:0px !important;}
#duel-scene.has-two-enemies #enemy-sprite{right:1% !important;bottom:8px !important;width:44% !important;height:64% !important;}
#duel-scene.has-two-enemies #enemy-sprite-extra{right:20% !important;bottom:32% !important;width:38% !important;height:58% !important;}
}
@media (min-width:761px){#duel-scene:not(.has-two-enemies) #enemy-sprite{bottom:20px !important;}
#duel-scene.has-two-enemies #enemy-sprite{bottom:28px !important;}
#duel-scene.has-two-enemies #enemy-sprite-extra{bottom:108px !important;}
}
.roulette-book-copy{inset:31% 21% 27% !important;gap:7px !important;}
.roulette-book-copy .roulette-label{font-size:10px !important;letter-spacing:0.13em !important;color:rgb(98,67,31) !important;text-shadow:rgb(255,255,255) 0px 1px !important;}
.roulette-book-copy .roulette-name{display:block;width:100%;box-sizing:border-box;padding:9px 12px;border:2px solid rgb(154,108,47);border-radius:8px;background:rgba(255,248,218,0.92);box-shadow:rgba(45,24,12,0.333) 0px 3px 10px,rgba(255,255,255,0.533) 0px 0px 12px inset;font-size:clamp(17px,3.5vw,26px) !important;line-height:1.25 !important;color:rgb(53,35,21) !important;text-shadow:none !important;}
.roulette-book-copy .roulette-name.rarity-0{border-color:rgb(119,115,107);color:rgb(53,56,61) !important;}
.roulette-book-copy .roulette-name.rarity-1{border-color:rgb(76,154,101);color:rgb(23,99,58) !important;}
.roulette-book-copy .roulette-name.rarity-2{border-color:rgb(74,136,201);color:rgb(24,91,157) !important;}
.roulette-book-copy .roulette-name.rarity-3{border-color:rgb(156,100,197);color:rgb(109,46,159) !important;}
.roulette-book-copy .roulette-name.rarity-4{border-color:rgb(192,146,40);color:rgb(128,85,0) !important;}
.roulette-book-copy .roulette-rarity{box-shadow:rgba(0,0,0,0.4) 0px 2px 7px;font-weight:900;padding:4px 10px !important;background:rgba(45,29,18,0.9) !important;border:1px solid !important;text-shadow:rgb(0,0,0) 0px 1px 2px !important;font-size:11px !important;}
.roulette-book-copy .roulette-rarity.rarity-0{color:rgb(240,240,238);}
.roulette-book-copy .roulette-rarity.rarity-1{color:rgb(140,241,170);}
.roulette-book-copy .roulette-rarity.rarity-2{color:rgb(139,197,255);}
.roulette-book-copy .roulette-rarity.rarity-3{color:rgb(208,162,255);}
.roulette-book-copy .roulette-rarity.rarity-4{color:rgb(255,214,107);}
@media (max-width:520px){.roulette-book-copy{inset:27% 17% 23% !important;gap:4px !important;}
.roulette-book-copy .roulette-label{font-size:7px !important;}
.roulette-book-copy .roulette-name{padding:5px 6px;border-width:1px;font-size:14px !important;}
.roulette-book-copy .roulette-rarity{font-size:8px !important;padding:2px 6px !important;}
}
.roulette-book-copy{transform:translateY(-18%) !important;}
@media (max-width:520px){.roulette-book-copy{transform:translateY(-22%) !important;}
}
.job-card-title,.job-detail-title{display:flex;align-items:center;gap:9px;}
.job-card-icon{display:block;width:32px;height:32px;object-fit:contain;image-rendering:pixelated;flex:0 0 32px;filter:drop-shadow(rgba(0,0,0,0.533) 0px 2px 2px);}
.job-detail-title{font-size:17px;}
.job-detail-icon{display:block;width:40px;height:40px;object-fit:contain;image-rendering:pixelated;flex:0 0 40px;filter:drop-shadow(rgba(0,0,0,0.533) 0px 3px 3px);}
@media (max-width:520px){.job-card-icon{width:34px;height:34px;flex-basis:34px;}
.job-card-title{gap:7px;}
.job-detail-icon{width:42px;height:42px;flex-basis:42px;}
}
.skill-job-plan-card{background:linear-gradient(145deg,rgb(33,60,56),rgb(24,47,45));border:1px solid rgb(141,120,78);border-radius:13px;padding:13px;box-shadow:rgba(0,0,0,0.133) 0px 0px 24px inset;}
.job-skill-plan-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px;}
.job-skill-plan-title{display:flex;align-items:center;gap:10px;min-width:0px;}
.job-skill-plan-title h3{margin:0px;color:rgb(241,207,122);font-size:16px;}
.job-skill-plan-kicker{display:block;color:rgb(169,194,180);font-size:9px;font-weight:800;letter-spacing:0.16em;margin-bottom:2px;}
.job-skill-plan-icon{display:block;width:40px;height:40px;object-fit:contain;image-rendering:pixelated;flex:0 0 40px;filter:drop-shadow(rgba(0,0,0,0.533) 0px 3px 3px);}
.job-skill-plan-level{white-space:nowrap;border:1px solid rgb(168,138,88);border-radius:99px;background:rgba(107,84,42,0.333);color:rgb(246,217,134);padding:4px 9px;font-size:11px;font-weight:800;}
.job-skill-plan-list{display:grid;grid-template-columns:repeat(2,minmax(0px,1fr));gap:8px;margin-top:10px;}
.job-skill-plan-item{display:grid;grid-template-columns:auto minmax(0px,1fr) auto;gap:8px;align-items:start;padding:10px;border:1px solid rgb(82,110,99);border-radius:10px;background:rgb(23,41,37);min-width:0px;}
.job-skill-plan-item.reached{border-color:rgb(143,123,78);background:linear-gradient(135deg,rgb(40,59,48),rgb(27,45,41));}
.job-skill-plan-item.next{border-color:rgb(208,173,85);box-shadow:rgba(208,173,85,0.2) 0px 0px 0px 1px inset;background:linear-gradient(135deg,rgb(48,71,60),rgb(26,48,45));}
.job-skill-plan-lv{display:grid;place-items:center;min-width:50px;height:34px;border:1px solid rgb(96,121,110);border-radius:7px;background:rgb(16,32,30);color:rgb(232,215,171);font-size:10px;font-weight:900;line-height:1.1;text-align:center;padding:3px 5px;}
.job-skill-plan-item.reached .job-skill-plan-lv{border-color:rgb(173,146,86);color:rgb(255,227,154);}
.job-skill-plan-item.next .job-skill-plan-lv{border-color:rgb(224,189,97);color:rgb(255,233,168);}
.job-skill-plan-copy{min-width:0px;}
.job-skill-plan-copy strong{display:block;color:rgb(243,228,196);font-size:13px;line-height:1.35;}
.job-skill-plan-copy small{display:block;color:rgb(174,191,181);font-size:10px;line-height:1.5;margin-top:3px;}
.job-skill-plan-status{white-space:nowrap;align-self:center;border:1px solid rgb(88,114,104);border-radius:99px;padding:3px 7px;color:rgb(183,200,190);font-size:9px;font-weight:800;}
.job-skill-plan-item.reached .job-skill-plan-status{border-color:rgb(142,123,77);color:rgb(240,204,121);}
.job-skill-plan-item.next .job-skill-plan-status{border-color:rgb(208,173,85);color:rgb(255,220,118);}
@media (max-width:620px){.job-skill-plan-list{grid-template-columns:1fr;}
.job-skill-plan-head{align-items:flex-start;}
.job-skill-plan-level{margin-top:4px;}
.job-skill-plan-item{grid-template-columns:48px minmax(0px,1fr) auto;padding:9px 8px;gap:7px;}
.job-skill-plan-icon{width:36px;height:36px;flex-basis:36px;}
.job-skill-plan-title h3{font-size:14px;}
.job-skill-plan-status{font-size:8px;padding:3px 5px;}
}

/* Creation filters: a stable four-column row; hidden cards never occupy grid cells. */
#v18-race-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:4px 0 0;}
#v18-race-filters .avatar-race-filter{width:100%;min-width:0;min-height:42px;padding:8px 2px;border-radius:9px;white-space:nowrap;}
#v18-race-filters .avatar-race-filter:focus-visible{outline:2px solid #b98639;outline-offset:2px;}
#v18-selection-status{min-height:1.6em;color:#435948;}
#v18-gallery{align-content:start;}

/* Avoid keeping the long, filterable creation form on a transformed animation layer. */
#v18-gateway.is-creating .v18-stage{animation:none;}

/* Player-facing UI: shared readable panels, actions, and optional settings. */
[data-section] .tip,[data-section] .sub{line-height:1.65;}
[data-section] .tip{color:#ccd9ce;}
[data-section] .panel>h3{margin-top:22px;padding-top:14px;border-top:1px solid #82977c55;color:#eed59b;}
[data-section] button:focus-visible,[data-section] summary:focus-visible{outline:2px solid #f2d28b;outline-offset:3px;}
.stat-name{display:block;font-size:12px;color:#f0e6cb;}
.stat-name small{font-size:10px;color:#b7cabc;}
.stat-confirm-row{align-items:flex-start;gap:12px;}
.stat-confirm-row>.tip{flex:1;min-width:0;}
.stat-confirm-row>button{flex-shrink:0;min-height:44px;}
.skill-tactics-card .tactics-panel{color:#e7e8d8;}
.skill-tactics-card .tactics-slot{background:#19322e;border-color:#6b8470;border-radius:10px;}
.skill-tactics-card .tactics-slot>summary{color:#f1d79b;min-height:46px;align-items:center;}
.skill-tactics-card select,.skill-tactics-card input[type=number]{background:#102824;color:#f3eedf;border-color:#78937d;min-height:42px;}
.tactics-advanced{margin-top:14px;border:1px solid #bd9c59;border-radius:9px;background:#203c33;}
.tactics-advanced>summary{display:flex;align-items:center;gap:12px;min-height:64px;padding:12px;color:#ffe0a0;font-size:14px;cursor:pointer;border-radius:8px;background:#385044;}
.tactics-advanced>summary:hover{background:#435e4e;}
.tactics-condition-heading{display:grid;gap:4px;min-width:0;}
.tactics-condition-heading small{font-size:12px;font-weight:400;line-height:1.5;color:#e0e9da;}
.tactics-advanced>summary::after{content:"＋";flex-shrink:0;font-size:22px;line-height:1;}
.tactics-advanced[open]>summary{border-bottom:1px solid #bd9c59;border-radius:8px 8px 0 0;}
.tactics-advanced[open]>summary::after{content:"−";}
.tactics-advanced>.tip,.tactics-advanced>.tactics-condition-grid{margin:12px;}
.tactics-advanced>.tactics-check{margin:12px;}
#book-action-hint{grid-column:1/-1;margin:0;}
#v14-progress{padding:10px 12px;border:1px solid #6b8470;border-radius:9px;background:#19322e;line-height:1.7;}
.home-save .actions{gap:8px;flex-wrap:wrap;}
.home-save #reset{order:2;}
@media(max-width:730px){
 [data-section] .tip,[data-section] .sub{font-size:12px;}
 .home-facility-grid .home-facility{grid-template-columns:48px minmax(0,1fr) 10px!important;gap:9px!important;min-height:90px!important;padding:10px!important;}
 .home-facility-grid .facility-art{grid-column:auto!important;width:48px!important;height:48px!important;max-width:48px!important;}
 .home-facility-grid .home-facility-copy strong{font-size:13px;line-height:1.45;}
 .home-facility-grid .home-facility-copy small{font-size:10px;line-height:1.55;}
 .home-facility-grid{grid-template-columns:1fr!important;}
 .skill-hero-card{gap:10px;}
 .stat-confirm-row{flex-wrap:wrap;}
 .stat-confirm-row>button{width:100%;}
 .v18-header-actions button{min-height:40px;}
}
.roulette-book-copy .roulette-rarity{color:#f7e7bd!important;}
#book-history:empty,#drop-history:empty{display:none;}
#book-history{font-size:12px;line-height:1.6;}

/* Distinct vector effects: no full-screen flashes, filters, or continuous frame loop. */
.duel-scene.skill-attacks{animation:none!important;}
.duel-scene.skill-attacks::before,.duel-scene.skill-attacks::after{display:none!important;}
.distinct-fx .fx-art{position:absolute;left:-78px;top:-78px;width:156px;height:156px;overflow:visible;color:var(--fx-color);pointer-events:none;}
.distinct-fx.support .fx-art{width:130px;height:130px;left:-65px;top:-65px;}
.distinct-fx .fx-motif{transform-origin:0 0;animation:fx-bloom var(--fx-time) ease-out both;animation-delay:calc(var(--fx-time)*var(--part-delay));}
.distinct-fx .fx-slash-motion,.distinct-fx .fx-crescent-motion,.distinct-fx .fx-dagger-motion{animation-name:fx-cut;}
.distinct-fx .fx-arrow-motion,.distinct-fx .fx-beam-motion{animation-name:fx-fly;}
.distinct-fx .fx-orbit-motion,.distinct-fx .fx-rune-motion,.distinct-fx .fx-reticle-motion{animation-name:fx-turn;}
.distinct-fx .fx-cross-motion,.distinct-fx .fx-halo-motion,.distinct-fx .fx-petals-motion{animation-name:fx-rise;}
.distinct-fx .fx-meteor-motion,.distinct-fx .fx-ice-motion,.distinct-fx .fx-pillars-motion{animation-name:fx-fall;}
.distinct-fx .fx-flame-motion,.distinct-fx .fx-tendrils-motion{animation-name:fx-flare;}
.distinct-fx .fx-wind-motion,.distinct-fx .fx-smoke-motion{animation-name:fx-drift;}
.distinct-fx .fx-fist-motion,.distinct-fx .fx-claw-motion{animation-name:fx-punch;}
.distinct-fx .fx-number{font-size:21px;max-width:180px;text-align:center;z-index:2;}
.distinct-fx.support .fx-number{font-size:16px;}
@keyframes fx-bloom{0%{opacity:0;transform:scale(.25)}25%{opacity:1;transform:scale(.9)}70%{opacity:.85}100%{opacity:0;transform:scale(1.15)}}
@keyframes fx-cut{0%{opacity:0;transform:rotate(-30deg) scaleX(.1)}25%{opacity:1}65%{opacity:1;transform:rotate(10deg) scaleX(1)}100%{opacity:0;transform:rotate(22deg) scaleX(1.15)}}
@keyframes fx-fly{0%{opacity:0;transform:translateX(-75px) scaleX(.5)}30%{opacity:1;transform:translateX(-10px) scaleX(1)}65%{opacity:1;transform:translateX(10px)}100%{opacity:0;transform:translateX(35px)}}
@keyframes fx-turn{0%{opacity:0;transform:rotate(-65deg) scale(.45)}30%{opacity:1}80%{opacity:.85}100%{opacity:0;transform:rotate(55deg) scale(1.05)}}
@keyframes fx-rise{0%{opacity:0;transform:translateY(28px) scale(.6)}30%{opacity:1}75%{opacity:1}100%{opacity:0;transform:translateY(-20px) scale(1.05)}}
@keyframes fx-fall{0%{opacity:0;transform:translateY(-70px) scale(.5)}35%{opacity:1;transform:translateY(-8px) scale(1)}75%{opacity:1}100%{opacity:0;transform:translateY(12px) scale(1.08)}}
@keyframes fx-flare{0%{opacity:0;transform:scale(.5,.15)}30%{opacity:1;transform:scale(.85,1)}70%{opacity:.9}100%{opacity:0;transform:scale(1.15,1.2)}}
@keyframes fx-drift{0%{opacity:0;transform:translateX(-30px) scale(.7)}35%{opacity:.9}100%{opacity:0;transform:translateX(25px) scale(1.15)}}
@keyframes fx-punch{0%{opacity:0;transform:translateX(-40px) scale(.3)}22%{opacity:1;transform:translateX(4px) scale(1.1)}40%{transform:translateX(0) scale(.95)}80%{opacity:.85}100%{opacity:0;transform:scale(1.1)}}
@media(max-width:760px){.distinct-fx .fx-art{width:130px;height:130px;left:-65px;top:-65px}.distinct-fx.support .fx-art{width:110px;height:110px;left:-55px;top:-55px}.distinct-fx .fx-number{font-size:19px}.distinct-fx.support .fx-number{font-size:14px}}
@media(prefers-reduced-motion:reduce){.distinct-fx .fx-art{display:none}.distinct-fx .fx-number{animation:none!important;transform:translateX(-50%)}.duel-scene.hero-attacks .hero-sprite,.duel-scene.enemy-attacks .foe-sprite{animation:none!important}}

/* Center the visible hourglass artwork, compensating for the sprite tile's transparent margins. */
.boost-test-panel>.pixel-cell-15{position:relative;overflow:hidden;background-image:none;}
.boost-test-panel>.pixel-cell-15::before{content:"";position:absolute;inset:0;background-image:url("assets/asset_006.webp");background-repeat:no-repeat;background-size:400% 400%;background-position:100% 100%;image-rendering:pixelated;transform:translate(.24%,6.14%);}

/* v1.13l: login-first account gateway */
.v18-register-entry{margin-top:16px;padding-top:14px;border-top:1px solid rgba(92,112,94,.28);text-align:center;}
.v18-register-entry small{display:block;color:rgb(91,108,94);font-size:12px;margin-bottom:2px;}
.v18-register-entry .v18-btn{margin-top:6px;}

/* v1.13v: MY ADVENTURER + Adventurers' Tavern split card */
.home-player-tavern-grid{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(0,1fr);
  gap:12px;
  align-items:stretch;
  margin-bottom:20px;
}
.home-player-tavern-grid .home-character{
  margin-bottom:0 !important;
  height:100%;
  grid-template-columns:132px minmax(0,1fr);
  gap:11px;
  padding:12px;
}
.home-player-tavern-grid .home-character-portrait{min-height:174px;}
.home-player-tavern-grid .home-character-portrait canvas{width:112px;height:150px;}
.home-player-tavern-grid .home-character-name{gap:7px;margin:3px 0 5px;}
.home-player-tavern-grid .home-character-name strong{font-size:22px;}
.home-player-tavern-grid .home-character-name span{font-size:15px;}
.home-player-tavern-grid .home-character-meta{font-size:11px;margin-bottom:7px;}
.home-player-tavern-grid .home-meter{margin-bottom:5px;}
.home-player-tavern-grid .home-meter-label{font-size:10px;}
.home-player-tavern-grid .home-meter-track{height:6px;}
.home-player-tavern-grid .home-exp-line{font-size:9px;margin-top:5px;}
.home-tavern-card{
  min-width:0;
  overflow:hidden;
  border:1px solid rgb(106,129,120);
  border-radius:14px;
  background:linear-gradient(120deg,rgb(54,83,83),rgb(41,63,64));
  display:flex;
  flex-direction:column;
  box-shadow:rgba(16,39,35,0.18) 0 8px 24px;
}
.home-tavern-art{height:142px;overflow:hidden;border-bottom:1px solid rgba(166,175,151,0.3);background:rgb(30,51,52);}
.home-tavern-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 53%;}
.home-tavern-copy{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:68px;padding:10px 12px;}
.home-tavern-copy>div{min-width:0;}
.home-tavern-copy h3{margin:2px 0 1px;color:rgb(250,241,215);font-family:"Yu Mincho","Hiragino Mincho ProN",Georgia,serif;font-size:20px;line-height:1.2;}
.home-tavern-copy p{margin:0;color:rgb(199,212,201);font-size:10px;line-height:1.45;}
.home-tavern-status{flex-shrink:0;border:1px solid rgba(208,191,138,0.58);border-radius:99px;padding:4px 7px;color:rgb(235,212,158);font-size:8px;font-weight:800;letter-spacing:0.09em;white-space:nowrap;}
@media (max-width:730px){
  .home-player-tavern-grid{grid-template-columns:1fr;gap:8px;margin-bottom:10px;}
  .home-player-tavern-grid .home-character{height:auto;}
  .home-tavern-art{height:178px;}
  .home-tavern-copy{min-height:62px;padding:9px 11px;}
  .home-tavern-copy h3{font-size:18px;}
}
@media (max-width:420px){
  .home-tavern-art{height:150px;}
  .home-tavern-copy h3{font-size:17px;}
  .home-tavern-copy p{font-size:9px;}
}

/* v1.13y: realtime adventurers' tavern */
.home-tavern-card{padding:0;min-height:0;text-align:left;color:inherit;font-weight:400;cursor:pointer;}
.home-tavern-card:hover:not(:disabled){background:linear-gradient(120deg,rgb(62,94,91),rgb(45,70,69));border-color:rgb(217,200,148);transform:translateY(-1px);}
.home-tavern-status{display:inline-flex;align-items:baseline;gap:2px;padding:6px 9px;font-size:10px;letter-spacing:.04em;}
.home-tavern-status small{font-size:9px;font-weight:800;color:rgb(218,205,166);}
.home-tavern-status strong{font-size:18px;line-height:1;color:rgb(255,232,169);font-variant-numeric:tabular-nums;}
.tavern-panel{overflow:hidden;}
.tavern-hero{position:relative;height:245px;overflow:hidden;border:1px solid rgb(106,129,120);border-radius:14px;background:rgb(30,51,52);margin-bottom:12px;}
.tavern-hero>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 55%;}
.tavern-hero-shade{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:18px;background:linear-gradient(180deg,transparent 35%,rgba(18,36,36,.84));}
.tavern-hero-shade h2{margin:2px 0 2px;font-size:28px;color:rgb(255,241,205);text-shadow:0 2px 8px rgba(0,0,0,.55);}
.tavern-hero-shade p{margin:0;color:rgb(233,239,229);font-size:12px;}
.tavern-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 13px;padding:9px 11px;border:1px solid rgb(106,129,120);border-radius:12px;background:linear-gradient(120deg,rgb(54,83,83),rgb(41,63,64));}
.tavern-toolbar>div{display:flex;align-items:center;gap:7px;min-width:0;}
.tavern-toolbar strong{font-size:17px;color:rgb(249,226,168);font-variant-numeric:tabular-nums;}
.tavern-toolbar small{font-size:10px;color:rgb(199,212,201);}
.tavern-online-dot{width:9px;height:9px;border-radius:50%;background:rgb(127,220,150);box-shadow:0 0 0 3px rgba(127,220,150,.14);flex:0 0 auto;}
.tavern-adventurer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.tavern-adventurer-card{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;align-items:center;min-width:0;padding:11px;border:1px solid rgb(106,129,120);border-radius:13px;background:linear-gradient(120deg,rgb(54,83,83),rgb(41,63,64));box-shadow:rgba(16,39,35,.12) 0 5px 16px;}
.tavern-adventurer-card.is-self{border-color:rgb(199,188,139);box-shadow:rgba(199,188,139,.12) 0 0 0 1px inset,rgba(16,39,35,.12) 0 5px 16px;}
.tavern-adventurer-portrait{height:122px;border:1px solid rgb(116,139,129);border-radius:10px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;background:linear-gradient(180deg,rgb(41,68,67),rgb(28,50,51));}
.tavern-adventurer-portrait canvas{display:block;width:86px;height:108px;object-fit:contain;image-rendering:pixelated;}
.tavern-adventurer-info{min-width:0;}
.tavern-adventurer-top{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:3px;}
.tavern-adventurer-status{display:inline-flex;align-items:center;gap:4px;color:rgb(164,224,176);font-size:9px;font-weight:800;white-space:nowrap;}
.tavern-adventurer-status::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;}
.tavern-self-badge{font-size:9px;padding:2px 5px;border:1px solid rgba(208,191,138,.58);border-radius:99px;color:rgb(235,212,158);white-space:nowrap;}
.tavern-adventurer-name{margin:0 0 3px;color:rgb(250,241,215);font-family:"Yu Mincho","Hiragino Mincho ProN",Georgia,serif;font-size:20px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.tavern-adventurer-job{margin:0 0 7px;color:rgb(217,226,216);font-size:11px;font-weight:700;}
.tavern-adventurer-stats{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:6px;}
.tavern-adventurer-stats span{display:inline-flex;padding:3px 6px;border:1px solid rgba(147,163,145,.45);border-radius:7px;background:rgba(28,51,51,.45);color:rgb(235,231,211);font-size:10px;font-weight:700;}
.tavern-adventurer-title{margin:0;color:rgb(197,210,200);font-size:10px;line-height:1.45;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.tavern-empty{grid-column:1/-1;padding:28px 14px;text-align:center;border:1px dashed rgb(106,129,120);border-radius:13px;color:rgb(199,212,201);background:rgba(38,63,63,.45);}
.tavern-note{margin:12px 2px 0;color:rgb(174,191,180);font-size:9px;}
@media (max-width:730px){
  .tavern-hero{height:205px;}
  .tavern-hero-shade{padding:14px;}
  .tavern-hero-shade h2{font-size:23px;}
  .tavern-toolbar{align-items:stretch;flex-direction:column;}
  .tavern-toolbar>div{justify-content:center;}
  .tavern-toolbar button{width:100%;}
  .tavern-adventurer-grid{grid-template-columns:1fr;}
}
@media (max-width:420px){
  .home-tavern-status strong{font-size:17px;}
  .tavern-hero{height:176px;}
  .tavern-adventurer-card{grid-template-columns:82px minmax(0,1fr);gap:9px;padding:9px;}
  .tavern-adventurer-portrait{height:106px;}
  .tavern-adventurer-portrait canvas{width:74px;height:96px;}
  .tavern-adventurer-name{font-size:18px;}
}
