/* Character dossiers: primary equipment is readable within the viewport. */
.mho-loadout-profile{--mb-gold:#d9bd81;--mb-line:#c2ccad35;box-sizing:border-box;position:fixed;inset:8px;margin:auto;padding:0!important;width:min(720px,calc(100vw - 16px))!important;height:min(760px,calc(100dvh - 16px))!important;max-width:none!important;max-height:none!important;overflow:hidden!important;border:1px solid #b79b69!important;border-radius:2px!important;background:radial-gradient(ellipse at 20% 0,#233e34,transparent 65%),#101e1b!important;color:#eeeadd!important;font:13px/1.5 system-ui,sans-serif;box-shadow:0 30px 120px #0009}
.mho-loadout-profile::backdrop{background:#030b0be8;backdrop-filter:blur(6px)}
.mho-loadout-profile>.profile-close{display:none!important}.mho-loadout-profile #profileContent,.mho-loadout-profile .mb-host{height:100%;padding:0!important;margin:0!important}.mho-loadout-profile .studio-character-actions,.mho-loadout-profile .sgrowth-shortcut{display:none!important}
.mb-sheet{display:flex;flex-direction:column;height:100%;padding:16px 18px 10px;gap:10px;box-sizing:border-box;overflow:hidden}.mb-sheet *{box-sizing:border-box}.mb-sheet :is(h2,h3,p,figure){margin:0}.mb-sheet button,.mb-sheet select{font:inherit;cursor:pointer;color:inherit;border:1px solid var(--mb-line);border-radius:0;background:#182d26;padding:6px 9px;min-height:30px}.mb-sheet button:focus-visible{outline:2px solid var(--mb-gold);outline-offset:2px}.mb-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;border-bottom:1px solid var(--mb-line);padding-bottom:8px}.mb-head small{font-size:8px;letter-spacing:.19em;color:var(--mb-gold)}.mb-head h2{font:400 25px/1.3 Georgia,'Yu Mincho',serif;letter-spacing:.07em;color:#f7f1dc}.mb-head button{width:36px;height:36px;font-size:22px;background:transparent;align-self:flex-start}
.mb-hero{display:grid;grid-template-columns:115px minmax(0,1fr);gap:18px;height:125px;flex:none;position:relative}.mb-hero:after{content:'01 / ADVENTURER';position:absolute;right:0;top:0;font-size:8px;letter-spacing:.13em;color:#94a896}.mb-portrait{height:125px;overflow:hidden;background:linear-gradient(150deg,#4e63402e,transparent);border-bottom:1px solid var(--mb-gold);display:flex;justify-content:center}.mb-portrait img{width:100%;height:100%;object-fit:contain;object-position:center}.mb-hero-copy{display:flex;flex-direction:column;justify-content:center;gap:8px;padding-top:10px}.mb-hero-copy p{font-size:13px;line-height:1.6;color:#dedcc9}.mb-element{font-size:10px;color:var(--mb-gold);letter-spacing:.12em}.mb-scope{align-self:flex-start;font-size:10px;color:#b8c9b8;border-left:2px solid var(--mb-gold);padding-left:7px}
.mb-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;flex:none}.mb-tabs button{border-color:transparent;border-bottom:1px solid var(--mb-line);background:transparent;padding:8px 2px;font-size:12px}.mb-tabs button[aria-pressed=true]{color:var(--mb-gold);border-bottom:2px solid var(--mb-gold);background:#d9bd810a}
.mb-body{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain}.mb-body[data-mb-page=equipment]{overflow:hidden}.mb-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:7px 0}.mb-sheet h3{font:500 13px/1.5 system-ui,sans-serif;letter-spacing:.05em;color:#f0e7ce}.mb-section-title small{font-size:9px;color:#a8b8a6}.mb-section-title label{display:flex;align-items:center;font-size:9px;gap:4px;min-width:0}.mb-section-title select{max-width:160px;min-width:0;font-size:10px;padding:3px;min-height:26px}
.mb-main-weapon{display:grid;grid-template-columns:70px minmax(0,1fr);gap:10px;align-items:center;padding:8px 10px;background:linear-gradient(100deg,#bfa26417,#31503c11);border:1px solid var(--mb-line);border-left:2px solid var(--mb-gold);min-height:76px}.mb-main-weapon>div{display:grid;gap:3px;min-width:0}.mb-main-weapon small,.mb-artwork small{font-size:8px;color:var(--mb-gold);letter-spacing:.16em}.mb-main-weapon b{font-size:14px;font-weight:500;overflow-wrap:anywhere}.mb-weapon-art{display:block;flex:none;width:60px;height:auto;aspect-ratio:var(--art-ratio,1);max-height:68px;background-repeat:no-repeat;justify-self:center}.mb-parts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin:6px 0 10px}.mb-part{min-width:0;padding:7px 3px;background:#dbe6ca05;border:1px solid var(--mb-line);text-align:center;display:flex;flex-direction:column;align-items:center;gap:3px}.mb-part svg{width:25px;height:25px;color:#d3c49b}.mb-part span{font-size:9px;color:#a9bfae}.mb-part b{font-size:11px;line-height:1.4;font-weight:400;overflow-wrap:anywhere}
.mb-artwork{display:grid;grid-template-columns:65px minmax(0,1fr);align-items:center;gap:10px;border:1px solid var(--mb-line);padding:6px 10px;background:linear-gradient(100deg,#c1a46a12,transparent)}.mb-artwork img{width:60px;height:60px;object-fit:contain}.mb-artwork>div{display:grid;gap:2px}.mb-artwork b{font-size:13px;font-weight:500}.mb-artwork span{font-size:11px;color:#d8c397}.mb-art-effect{font-size:11px!important;color:#bbcbb8;padding:5px 0}.mb-preview-skills{display:flex;gap:4px;flex-wrap:wrap;margin:4px 0}.mb-preview-skills span{border:1px solid #b4bf9b30;background:#a0ac770b;padding:3px 5px;font-size:10px;color:#cbcfb6}.mb-sheet .mb-link,.mb-sheet .mb-inline{background:transparent;border:0;min-height:24px;padding:2px 0;color:var(--mb-gold);font-size:10px}.mb-sheet .mb-inline{width:100%;text-align:right;border-top:1px solid var(--mb-line);margin-top:5px}
.mb-skill-list{padding:0;margin:8px 0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.mb-skill-list li{border-bottom:1px solid var(--mb-line);padding:6px 4px;display:flex;gap:5px;justify-content:space-between;min-width:0;font-size:11px}.mb-skill-list b{color:var(--mb-gold);font-size:10px;white-space:nowrap}.mb-effect-card{padding:8px 10px;border-left:2px solid #9eac79;margin:7px 0;background:#d0d9aa08}.mb-effect-card small{font-size:10px;color:var(--mb-gold)}.mb-effect-card p{font-size:11px;line-height:1.65;margin-top:3px}.mb-set-line,.mb-note{font-size:10px!important;line-height:1.6;color:#aebda9;margin:7px 0!important}.mb-details{padding:10px 0}.mb-details h3{margin:8px 0}.mb-details p,.mb-details li{font-size:12px;color:#bfccbc;line-height:1.8}.mb-details ul{padding-left:18px}.mb-sources{display:flex;flex-wrap:wrap;gap:16px;margin:12px 0}.mb-sources a,.mb-archive-link{font-size:11px;color:var(--mb-gold)}.mb-foot{display:flex;justify-content:space-between;border-top:1px solid var(--mb-line);padding-top:7px;font-size:8px;letter-spacing:.09em;color:#91a690;flex:none}.mb-wait{padding:25px;color:#d9bd81}
/* Compact visual index; descriptions live in the dossier. */
.mho-character-index .mho-intro{font-size:12px;max-width:36em}.mho-character-index .mho-main{max-width:1120px}.mho-character-index .mho-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mho-character-index .mho-char{position:relative;padding:0;overflow:hidden;background:linear-gradient(135deg,#2d4232,#111f1c);border-color:#b9bd8e3d}.mho-character-index .mho-char-top{height:225px;display:block;padding:16px;position:relative}.mho-character-index .mho-char-top>.mho-portrait,.mho-character-index .mho-char-top>.mho-sprite{position:absolute;right:0;bottom:0;width:70%;height:215px;object-fit:contain;object-position:bottom}.mho-character-index .mho-char-top>div{position:absolute;bottom:16px;left:16px;z-index:1;text-shadow:0 1px 7px #06100b}.mho-character-index .mho-char-top h2{font-size:25px}.mho-character-index .mho-char-top p{font-size:10px}.mho-character-index .mho-char>p,.mho-character-index .mho-char>details,.mho-character-index .mho-char>.mho-links{display:none}.mho-character-index .mho-char .mb-card-open{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:left;border:0;border-top:1px solid #c1c89f35;border-radius:0;padding:11px 14px;min-height:42px;color:#d9bd81;background:#081b139c;font-size:11px;letter-spacing:.04em}.mho-character-index .mho-char .mb-card-open span{font-size:19px}.mho-character-index .mho-char:focus-within{border-color:#d9bd81}.mho-character-index .mho-tools{border-block:1px solid #b1ba9130;padding:12px 0}.mho-character-index .mho-date{font-size:10px}.mho-character-index .mho-nav{gap:4px}.mho-character-index .mho-nav a{border:0;border-bottom:1px solid #a7b28a40;border-radius:0}
@media(max-width:700px){.mho-character-index .mho-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mho-character-index .mho-char-top{height:210px;padding:12px}.mho-character-index .mho-char-top>.mho-portrait{height:200px;width:95%}.mho-character-index .mho-char-top h2{font-size:21px}.mho-character-index .mho-char-top>div{left:10px;bottom:10px}.mho-character-index .mho-char-top .mho-label{font-size:9px}.mho-character-index .mho-char .mb-card-open{font-size:10px;padding:9px}.mho-character-index .mho-tools .mho-search{min-width:100%;flex-basis:100%}}
@media(max-height:700px){.mb-sheet{padding:10px 12px 7px;gap:6px}.mb-head{padding-bottom:5px}.mb-head h2{font-size:22px}.mb-hero{height:90px;grid-template-columns:82px minmax(0,1fr);gap:12px}.mb-portrait{height:90px}.mb-hero-copy{gap:4px}.mb-hero-copy p{font-size:11px}.mb-tabs button{padding:6px 2px}.mb-main-weapon{min-height:57px;padding:5px 8px;grid-template-columns:49px minmax(0,1fr)}.mb-weapon-art{width:46px;max-height:47px}.mb-main-weapon b{font-size:12px}.mb-parts{margin-bottom:5px}.mb-part{padding:4px 2px;gap:1px}.mb-part svg{width:18px;height:18px}.mb-part b{font-size:11px;line-height:1.25}.mb-artwork{padding:4px 8px;grid-template-columns:45px minmax(0,1fr)}.mb-artwork img{width:44px;height:44px}.mb-section-title{margin:4px 0}.mb-art-effect{padding:3px 0}.mb-preview-skills{margin:2px 0}.mb-preview-skills span{padding:2px 3px;font-size:9px}.mb-skill-list li{padding:4px 3px}.mb-effect-card{padding:5px 8px;margin:5px 0}.mb-effect-card p{line-height:1.5}.mb-foot{padding-top:5px}}
@media(max-width:360px){.mb-sheet{padding-inline:10px}.mb-hero:after{display:none}.mb-part b{font-size:11px}.mb-section-title select{max-width:136px}.mb-hero-copy p{font-size:11px}.mb-skill-list{gap:3px}.mb-skill-list li{font-size:10px}.mb-head h2{font-size:22px}}

@media(max-height:620px){.mb-hero{height:70px}.mb-portrait{height:70px}.mb-preview-skills{display:none}.mb-sheet:has([data-mb-page=skills]) .mb-hero{height:48px}.mb-sheet:has([data-mb-page=skills]) .mb-portrait{height:48px}.mb-sheet:has([data-mb-page=skills]) .mb-hero-copy p{display:none}.mb-skill-list li{padding:3px}.mb-skill-list{margin:5px 0}.mb-note{font-size:9px!important}.mb-effect-card p{font-size:10px}}
.mho-character-index .mho-char-top>div>p:last-child{display:none}.mho-character-index .mho-char>.mho-action{position:absolute;top:10px;right:10px;z-index:2;font-size:9px;padding:3px 5px;background:#0c1c16bb;text-decoration:none}.mho-character-index .mho-char{cursor:pointer}

@media(max-height:620px){.mb-sheet:has([data-mb-page=skills]) .mb-head small{display:none}.mb-sheet:has([data-mb-page=skills]) .mb-hero,.mb-sheet:has([data-mb-page=skills]) .mb-portrait{height:30px}.mb-sheet:has([data-mb-page=skills]) .mb-hero-copy{padding-top:0;gap:0}}

.mb-open-simple{color:#dfc48e!important;border:1px solid #a9976880!important;background:linear-gradient(100deg,#344337,#12241e)!important;padding:10px 16px!important;margin:14px 0 0!important;font-size:12px!important}.mb-open-simple:hover{border-color:#dfc48e!important}
body[data-studio-page=outlanders] .adventurer-card{background:linear-gradient(140deg,#2d4032,#14251f);border-color:#b5bb8c4a;border-radius:0;box-shadow:0 10px 30px #0002}body[data-studio-page=outlanders] .adventurer-card h2{font-family:Georgia,'Yu Mincho',serif;font-weight:400;letter-spacing:.07em}body[data-studio-page=outlanders] .adventurer-card .open-profile{color:#ddc58a;border-bottom:1px solid #af9d6d55}body[data-studio-page=outlanders] .mho-home-entry{background:radial-gradient(ellipse at 80% 0,#4b5b3445,transparent 70%),#12241e;border-color:#a8af7845;box-shadow:0 14px 30px #0002}body[data-studio-page=outlanders] .mho-entry-caption{border-top:1px solid #b8bc8c2a}body[data-studio-page=outlanders] .mho-entry-caption b{font-family:Georgia,'Yu Mincho',serif;letter-spacing:.07em}body[data-studio-page=outlanders] .entry{border-radius:0;background:linear-gradient(145deg,#2c4030,#12241f)}
/* Five legal artwork slots, plus optional growth and insight sheets. */
.mho-loadout-profile .mb-tabs{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.mho-loadout-profile .mb-tabs button{padding:7px 2px;font-size:11px;white-space:nowrap}
.mho-loadout-profile .mb-five-art{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
.mho-loadout-profile .mb-art-slot{display:grid;justify-items:center;align-content:start;min-width:0;padding:4px 2px;border:1px solid #d1bb7a30;background:#182c29}
.mho-loadout-profile .mb-art-slot:first-child{border-color:#d1bb7a88;background:#27392c}
.mho-loadout-profile .mb-art-slot small{font-size:8px;letter-spacing:.04em;color:#d5b778}
.mho-loadout-profile .mb-art-slot img{display:block;width:41px;height:41px;object-fit:contain}
.mho-loadout-profile .mb-art-slot b{max-width:100%;font-size:9px;line-height:1.3;font-weight:400;text-align:center;overflow-wrap:anywhere}
.mho-loadout-profile .mb-art-effect{font-size:10px;margin:6px 0}.mho-loadout-profile .mb-growth,.mho-loadout-profile .mb-insights{padding:2px 0}
.mho-loadout-profile .mb-cap-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:9px 0}.mho-loadout-profile .mb-cap-grid span{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:9px 8px;border:1px solid #a8ba9b40;background:#172d29;font-size:10px}.mho-loadout-profile .mb-cap-grid b{font-size:16px;color:#e2c683;font-weight:500}
.mho-loadout-profile .mb-pen-detail{font-size:11px;line-height:1.65;padding:9px 0;border-top:1px solid #a8ba9b40}.mho-loadout-profile .mb-pen-detail summary{cursor:pointer;color:#d5b778}.mho-loadout-profile .mb-pen-detail ol{padding-left:20px}.mho-loadout-profile .mb-pen-detail li{margin:8px 0}.mho-loadout-profile .mb-pen-detail a{color:#d5b778}
.mho-loadout-profile .mb-calculator{padding:10px 0}.mho-loadout-profile .mb-calculator h4{font-size:12px;font-weight:500;margin:0 0 5px}.mho-loadout-profile .mb-calculator p{font-size:10px;line-height:1.6;color:#b1bdb1;margin:0 0 8px}.mho-loadout-profile .mb-calculator label{display:grid;grid-template-columns:1fr 78px 80px;align-items:center;gap:8px;font-size:11px;margin:6px 0}.mho-loadout-profile .mb-calculator input{min-width:0;width:100%;padding:6px;color:#edf4e5;background:#11231e;border:1px solid #a8ba9b55;border-radius:0;font:400 16px system-ui}.mho-loadout-profile .mb-calculator output{color:#e2c683;font-size:14px}
.mho-loadout-profile .mb-insight{padding:18px 15px;background:linear-gradient(120deg,#243b30,#172b28);border:1px solid #d1bb7a55;margin:12px 0}.mho-loadout-profile .mb-insight small{font-size:9px;letter-spacing:.16em;color:#d5b778}.mho-loadout-profile .mb-insight h4{font-size:20px;font-weight:400;line-height:1.7;margin:10px 0}.mho-loadout-profile .mb-insight p{font-size:12px;line-height:1.8;color:#c5d0c3}
.mho-loadout-profile .mb-growth-target{display:grid;gap:6px;font-size:11px;margin:10px 0}.mho-loadout-profile .mb-growth-target small{color:#afbeb0}.mho-loadout-profile .mb-growth-target span{display:flex;justify-content:space-between;border-bottom:1px solid #a8ba9b33;padding:5px 0}
@media(max-height:700px){.mho-loadout-profile .mb-art-slot img{width:33px;height:33px}.mho-loadout-profile .mb-art-slot b{font-size:8px}.mho-loadout-profile .mb-art-slot{padding:3px 1px}.mho-loadout-profile .mb-tabs button{padding:6px 1px}}
@media(max-height:620px){.mho-loadout-profile:has(.mb-growth:not([hidden])) .mb-hero,.mho-loadout-profile:has(.mb-insights:not([hidden])) .mb-hero{height:30px;min-height:30px}.mho-loadout-profile:has(.mb-growth:not([hidden])) .mb-portrait,.mho-loadout-profile:has(.mb-insights:not([hidden])) .mb-portrait{height:30px}.mho-loadout-profile:has(.mb-growth:not([hidden])) .mb-hero-copy p,.mho-loadout-profile:has(.mb-insights:not([hidden])) .mb-hero-copy p{display:none}.mho-loadout-profile .mb-cap-grid span{padding:6px}.mho-loadout-profile .mb-cap-grid b{font-size:14px}}
@media(max-height:620px){.mho-loadout-profile .mb-sheet:has([data-mb-page=equipment]) .mb-hero,.mho-loadout-profile .mb-sheet:has([data-mb-page=equipment]) .mb-portrait{height:50px}.mho-loadout-profile .mb-sheet:has([data-mb-page=equipment]) .mb-hero-copy{padding-top:0;gap:3px}.mho-loadout-profile .mb-sheet:has([data-mb-page=equipment]) .mb-hero-copy p{font-size:10px;line-height:1.5}}
@media(min-height:701px){.mho-loadout-profile .mb-sheet:has([data-mb-page=equipment]){gap:7px}}
