/* Equipment-menu layout: crisp type, open sections, restrained geometry. */
#character-gallery[hidden]{display:none!important}#character-gallery{position:absolute;inset:18px 0 50px;display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 5px 25px;z-index:2}#character-gallery figure{margin:0;min-width:0;flex:1;text-align:center}#character-gallery figure img{width:100%;height:100%;max-height:450px;object-fit:contain;display:block}#character-gallery figcaption{font-size:12px;color:#fff2d3;background:#15252be8;padding:9px 3px;line-height:1.6}#character-gallery.portraits figure{align-self:center;background:#24323b;border:1px solid #b6c7bd66}#character-gallery.portraits figure img{height:340px;object-fit:cover;object-position:center}#character-gallery.party{gap:0;align-items:center}#character-gallery.party figure{margin:0 -18px;filter:drop-shadow(0 8px 8px #0008)}#character-gallery.party figure:nth-child(2){z-index:2;transform:scale(1.12)}#character-gallery.party figure img{height:360px;object-fit:contain}#character-gallery.party figcaption{background:#17292cdd}#character-gallery .gallery-credit{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:9px;color:#e2e6dc;text-decoration:none}#character-gallery.maple-record img{max-height:410px;image-rendering:pixelated;width:auto;margin:auto}#character-gallery.mabi-record img{max-height:540px;width:auto;max-width:100%;margin:auto}.visual.has-gallery .character-label{top:0;color:#eee5c9}.visual.has-gallery .character-controls{bottom:-8px;z-index:3}.visual.has-gallery #game-scene{opacity:.55}.visual.has-gallery .character-frame{min-height:300px}
@media screen{.game-row .row-number{width:64px;flex-basis:64px;height:44px;overflow:hidden;display:flex;align-items:center;justify-content:center}.game-row .row-number img{width:62px;height:40px;object-fit:contain;border-radius:0}.game-row[data-id="wuwa"] .row-number{background:#eee8da;padding:3px}.game-row[data-id="baram"] .row-number img{transform:scale(1.65)}.game-row[data-id="dokkaebi"] .row-number{background:#f4f0e8}.game-row strong{font-size:13px}.game-row small{font-size:10px}.game-brand img[src*="wuwa-standard"]{background:#eee8da;padding:5px}.game-brand img[src*="dokkaebi-standard"]{max-width:140px;background:#eee8da}.visual:has(#character-gallery.party:not([hidden])) .character-frame{margin-left:0;margin-right:0}}
@media(max-width:1150px){#character-gallery.portraits{flex-direction:column;gap:6px}#character-gallery.portraits figure{flex:0 1 auto;width:85%}#character-gallery.portraits figure img{height:180px}#character-gallery.party figure{margin:0 -12px}#character-gallery.party figure img{height:280px}.game-row .row-number{width:50px;flex-basis:50px}.game-row .row-number img{width:48px}.visual.has-gallery .character-frame{min-height:280px}}
@media(max-width:740px){#character-gallery.portraits{flex-direction:row}#character-gallery.portraits figure img{height:170px}#character-gallery.party figure img{height:210px}#character-gallery figure img{max-height:220px}#character-gallery.maple-record img{max-height:230px}.visual.has-gallery .character-frame{min-height:160px}#character-gallery figcaption{font-size:10px;padding:5px}}
@media screen{
.visual.dokkaebi-character{background:#27241d}
.visual.dokkaebi-character #game-scene{opacity:.5!important;object-position:50% 40%;filter:saturate(.65) brightness(.85)}
.visual.dokkaebi-character .scene-shade{background:radial-gradient(ellipse at 50% 53%,#b9995520 0%,#2c25192b 35%,#151d22c9 85%),linear-gradient(0deg,#142027 0%,transparent 40%,#161e2455 100%)}
.visual.dokkaebi-character .character-frame{margin-top:110px;min-height:180px;isolation:isolate}
.visual.dokkaebi-character .character-frame:after{content:'';display:block;position:absolute;left:50%;top:74%;width:175px;height:25px;transform:translateX(-50%);border:0;border-radius:50%;background:radial-gradient(ellipse,#100c09a6,transparent 70%);z-index:-1}
.visual.dokkaebi-character #my-character{width:min(100%,440px);height:100%;max-height:570px;left:50%;top:50%;transform:translate(-50%,-50%);padding:0;filter:drop-shadow(0 5px 4px #160f0799)}
.visual.dokkaebi-character .character-label{display:none}
@media(max-width:900px){.visual.dokkaebi-character #my-character{max-height:400px;width:100%}.visual.dokkaebi-character .character-frame{margin-top:80px}.visual.dokkaebi-character .character-frame:after{top:72%;width:120px}}
@media(max-width:740px){.visual.dokkaebi-character #my-character{max-height:220px;width:230px}.visual.dokkaebi-character .character-frame{margin-top:50px}.visual.dokkaebi-character .character-frame:after{top:80%;width:95px}.visual.dokkaebi-character .character-controls{bottom:-7px}}
}
.visual.dokkaebi-character #hero-value{color:#f5ae31;font-size:36px;font-weight:800;text-shadow:0 2px 2px #271606}.visual.dokkaebi-character #hero-label{color:#f4b94d;font-weight:700}.visual.dokkaebi-character #hero-label:before{content:'⚔ ';font-size:18px}.visual.dokkaebi-character #my-character{image-rendering:pixelated;object-fit:contain;padding:0 0 30px}.visual.dokkaebi-character .visual-caption{background:linear-gradient(0deg,#12202be8,transparent)}
@media screen {
:root{--bg:#141b1e;--text:#faf8ed;--muted:#b4bdbd;--line:#66716f;--accent:#e5b75e}
body{background:#141b1e;font-size:15px}body:before{display:none}.ambient{background:linear-gradient(120deg,#202b2f 0%,#151d21 55%,#11181c 100%)}
header,main,footer{max-width:1920px}header{height:76px;margin-top:0;padding:0 32px;border-color:#65716b66}.brand{font-size:23px}.brand small{font-size:11px;color:#b2bfbd}.focus-mark{font-size:37px;color:#f0e9d2}
main{padding:0 32px}.page-heading{padding:22px 0 23px}h1{font-size:38px;font-weight:600;letter-spacing:-1.6px}.eyebrow{font-size:11px;color:#c1c8c4}.heading-side{color:#e0e4dc}.heading-side small{color:#a7b4b5}
.tabs{min-height:52px;border-color:#c2c9ba99;gap:12px}.tabs button{font-size:14px;color:#c1c7c3;padding:13px 20px;background:none!important;border:0;position:relative}.tabs button.active{color:#fff5d8}.tabs button.active:after{content:'';position:absolute;bottom:-1px;left:15px;right:15px;height:3px;background:var(--accent)}.nav-end{color:#c5cdc7}
.console{grid-template-columns:260px minmax(300px,.9fr) minmax(430px,1.2fr);height:calc(100dvh - 282px);min-height:620px;max-height:1050px;margin-bottom:0;border-bottom:1px solid #7d898177;gap:0}
.library{padding:22px 16px 0 0;border-right:1px solid #a8b1a033;min-height:0}.section-label{font-size:14px}.section-label>span{font-size:11px;color:#bbc4be}.search{margin:17px 0 12px;border-color:#a5afa077}.search input{font-size:14px}.search input::placeholder{color:#b2bab3}.list-window{flex:1;min-height:0}#game-list{height:100%;scrollbar-color:#e6cd94 #75847b22}.list-window:after{background:linear-gradient(transparent,#182225);height:20px}.scroll-hint{margin:5px 0;padding:4px 0 12px}.scroll-hint button{color:#d6ddce;font-size:11px}
.game-row{height:78px;min-height:78px;padding:12px 10px;border-bottom-color:#87938533;gap:12px}.game-row strong{font-size:14px;line-height:1.5;font-weight:500}.game-row small{font-size:11px;color:#b3bcb6;letter-spacing:0}.game-row .row-number{width:37px;flex-basis:37px}.game-row .row-number img{width:35px;height:35px;border-radius:0}.game-row .row-status{display:none}.game-row.selected{background:#e8e6d2!important;color:#142126;border:1px solid #f6f1dc;box-shadow:inset 4px 0 #e4b965}.game-row.selected small{color:#334947}.game-row:hover:not(.selected){background:#cbd9ce13}
.visual{height:100%;min-height:0;background:#18252a;border-right:1px solid #a8b1a044}.visual-top{padding:22px;color:#f4f3e7;font-size:11px}.signal{color:#e8c784}#game-scene{opacity:1;filter:none;object-position:center;image-rendering:auto}.scene-shade{background:linear-gradient(0deg,#0f1b22f5 0%,#0f1b2277 23%,transparent 53%,#0f1b2244 80%,#0f1b2288 100%)}.visual:has(#my-character:not([hidden])) #game-scene{opacity:.78}.game-brand{opacity:1;top:58px;left:22px}.game-brand img{height:48px;max-width:160px;filter:drop-shadow(0 2px 3px #0008)}.character-frame{min-height:160px;margin-top:80px;flex:1}.character-label{color:#fff9dcbb;font-size:10px;letter-spacing:2px}.character-controls{opacity:1;bottom:8px}.character-controls button{font-size:12px;padding:8px 12px;background:#14222ce0;border:1px solid #d3dcca88;color:#fff7dc;text-shadow:none}.visual-caption{padding:22px 24px 0}.visual-caption p{color:#e5c582;font-size:12px;letter-spacing:2px}#hero-value{font-size:34px;font-weight:600;color:#fff9e6}#hero-label{font-size:12px;color:#f0eee0}.segmented{opacity:1;background:#e7cf8c}.visual-bottom{padding:15px 24px 18px}#scene-source a{font-size:10px;color:#e0e6de;line-height:1.7}
.detail{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#e0c68d #45554c44;padding:24px 28px 32px;background:#172125;border-left:0;scroll-behavior:auto}.record-overline{font-size:11px;letter-spacing:1px;color:#dbc68f}.status-tag{font-size:11px;border-color:#b0baa188;color:#eef1df}.detail h2{font-size:32px;font-weight:600;line-height:1.3;margin-top:23px;color:#fffbeb;letter-spacing:-1px}.detail .genre{font-size:13px;line-height:1.8;color:#c6cfca}.release-meta{font-size:11px;color:#d5dccb;margin-top:12px}.release-meta span{font-size:10px;color:#aabbb6}.stats{margin:24px 0;padding:19px 0;border-color:#c2c9ad66;gap:22px}.stat>span{font-size:12px;color:#bacac0;letter-spacing:0}.stats .stat strong{font-size:20px;font-weight:600;line-height:1.6;color:#fff6d8}
.log-title{font-size:14px;font-weight:600;color:#eee9d5;margin-bottom:16px}.log-title:after{background:#9aa68c55}.record-log li{font-size:14px;line-height:1.85;color:#e6e9df;margin-bottom:13px;gap:13px}.record-log li>span{font-size:12px;color:#e7c784}.experience-goal,.experience-spending,.play-insight{margin:28px 0 0;padding:19px 0 0;border:0;border-top:1px solid #a5b29c55;background:none}.play-insight:before{display:none}.experience-goal h3,.experience-spending h3,.play-insight h3{font-size:14px;font-weight:600;color:#e8ca88;letter-spacing:0;margin:0 0 12px;display:flex;gap:10px;align-items:center}.experience-goal h3:before,.experience-spending h3:before,.play-insight h3:before{content:'◇';font-size:14px;color:#f4f0df}.experience-goal p,.experience-spending p,.play-insight p{font-size:15px;line-height:1.95;color:#f1f0e7;margin:0 0 12px;word-break:keep-all;overflow-wrap:anywhere}.record-note{font-size:11px;line-height:1.85;color:#b7c0b6;margin-top:25px;border-color:#829787}.detail-bottom{font-size:10px;color:#b8c5b5;border-color:#75876c66;margin-top:24px}.detail-bottom button{font-size:12px}.series-part h3{font-size:16px}.part-tag{font-size:12px}.series-part p{font-size:15px;color:#e5e9df;line-height:1.95}.series-part{border-color:#788d7755}.detail-scroll-guide{font-size:11px;color:#c6d1be;border-bottom:1px solid #7a8d7455;margin:14px 0 0;padding:0 0 12px;letter-spacing:.4px}
footer{padding:17px 32px;font-size:10px;color:#bcc6b8;border-top:0}footer>span:nth-child(2){font-size:10px}
@media(min-width:1700px){.console{grid-template-columns:285px minmax(380px,1fr) minmax(520px,1.2fr)}.detail{padding:28px 34px}.detail h2{font-size:36px}.experience-goal p,.experience-spending p,.play-insight p{font-size:16px}.record-log li{font-size:15px}}
@media(max-width:1150px){main{padding:0 20px}header,footer{padding-left:20px;padding-right:20px}.console{grid-template-columns:220px minmax(245px,.8fr) minmax(320px,1fr)}.detail{padding:22px}.detail h2{font-size:28px}.tabs{gap:0}.tabs button{padding:13px}.stats .stat strong{font-size:17px}.game-row strong{font-size:13px}}
@media(max-width:900px){.console{grid-template-columns:205px minmax(200px,.7fr) minmax(295px,1fr)}.detail{padding:20px}.detail h2{font-size:25px}.experience-goal p,.experience-spending p,.play-insight p{font-size:14px}.heading-side{display:none}.visual{display:flex;grid-row:auto;grid-column:auto}.library{grid-row:auto}.detail{grid-column:auto;border-top:0}.visual .visual-caption{position:static;display:block;pointer-events:auto}.visual .visual-bottom{position:static;display:block;min-height:0;padding:14px}.visual-caption #hero-value{font-size:26px}.visual-caption #hero-label{display:block}.character-frame{height:auto;margin:85px 10px 0}.game-brand{top:55px;left:15px}.visual-top{display:flex;padding:20px 15px}.game-row .row-number{width:30px;flex-basis:30px}.game-row .row-number img{width:28px;height:28px}}
@media(max-width:740px){.console{grid-template-columns:190px 1fr;height:auto;max-height:none;min-height:0}.library{grid-row:1/3;position:sticky;top:0;height:calc(100dvh - 25px)}.visual{grid-column:2;height:350px;min-height:350px}.detail{grid-column:2;height:680px;max-height:85dvh;border-top:1px solid #7a8e7255}.game-brand img{height:35px}.character-frame{min-height:80px;margin-top:60px}.visual-caption{padding:15px}.character-controls button{font-size:10px}.page-heading{padding:22px 0}.tabs button{font-size:12px;white-space:nowrap}.tabs{overflow:auto}.detail h2{font-size:26px}.nav-end{display:none}}
@media(max-width:560px){header{height:68px}.brand{font-size:17px}.brand small{font-size:9px}.outline{font-size:10px}main{padding:0 15px}.page-heading h1{font-size:32px}.console{display:flex;flex-direction:column}.library{position:static;height:auto;padding:15px 0;display:block;border-right:0}.list-window{height:90px}#game-list{height:90px;max-height:90px;display:flex}.game-row{height:80px;min-height:80px;min-width:205px}.game-row strong{font-size:13px}.scroll-hint{padding:0}.visual{height:400px;min-height:400px}.detail{height:700px;max-height:85dvh;padding:25px 18px;min-height:400px}.character-frame{margin-top:65px}.visual-caption{padding-left:20px}.visual-caption #hero-value{font-size:30px}.visual .visual-bottom{padding-left:20px}.detail h2{font-size:29px}.experience-goal p,.experience-spending p,.play-insight p{font-size:15px}.game-brand{top:50px}.visual-top{padding:18px 20px}.visual-caption #hero-label{display:block}}
}
