
/* v3.6: fit icon content inside stone borders at all supported window sizes. */
.brand-lockup img{display:block;width:clamp(200px,25vw,360px);max-height:125px;object-fit:contain;margin:auto}.brand-lockup:after{display:none!important}
.pretty-slot{padding:0!important;min-height:56px;display:flex!important;align-items:center;justify-content:center}.pretty-slot img{display:block;width:38px!important;height:38px!important;max-width:100%;max-height:100%;object-fit:contain;flex-shrink:0}.pretty-slot>b{right:4px;bottom:1px;font-size:12px;background:#101b24c9;padding:0 2px}
.gear-mini{padding:0!important;position:relative}.gear-mini img{width:34px;height:34px;max-height:100%;max-width:100%;object-fit:contain}.gear-mini small{font-size:8px;white-space:normal;overflow-wrap:anywhere;line-height:1.15}
.detail-icon,.equip-icon{box-sizing:border-box;padding:0!important;display:grid;place-items:center}.detail-icon img,.equip-icon img{width:36px!important;height:36px!important;max-height:100%;max-width:100%;object-fit:contain}
.furia-window-head:before{filter:hue-rotate(270deg)!important}
.stats-sheet>div,.appearance-summary>div,.stat-summary>span{border:5px solid transparent!important;border-image:url('/assets/gui_v35/slot.png') 40 fill / 5px stretch!important;background:transparent!important;border-radius:0!important;box-sizing:border-box}
.stats-sheet>div{min-height:52px;padding:6px 9px;gap:5px}.stat-glyph{margin-right:3px}.stats-sheet>div>span:last-child{white-space:nowrap;color:#ffdf94;font-weight:bold}.appearance-summary>div{padding:8px}.appearance-summary span{border-radius:0}.stat-summary>span{padding:5px}
.stats-pro{align-items:stretch}.stats-avatar{height:auto;min-height:0}.stats-sheet{align-self:center}.char-stage{min-height:0;display:flex;flex-direction:column;justify-content:center;gap:24px}.char-stage-name{position:static;display:flex;flex-direction:column}.char-stage img{width:240px;height:216px}.char-details-pro{padding:18px}.appearance-summary{margin:18px 0}.char-details-pro .panel-note{line-height:1.5}.equipment-card{gap:10px}.item-detail{overflow:auto}.detail-copy p{max-height:none;overflow:visible}
@media(max-width:1050px){.pretty-slot img{width:32px!important;height:32px!important}.stats-sheet>div{font-size:12px;padding:6px}.stat-glyph{font-size:14px}.gear-mini img{width:30px;height:30px}.char-stage img{width:190px;height:171px}.stats-avatar img{width:180px;height:162px}.gear-paper .avatar-stage img{width:150px;height:135px}}
@media(max-width:820px){.char-stage,.stats-avatar{display:none}.stats-sheet{width:100%}.char-details-pro{align-self:start}.char-panel-pro{grid-template-columns:1fr}.brand-lockup img{width:200px}}

.bag-side{grid-template-rows:auto minmax(0,1fr)128px}.item-detail{min-height:0;scrollbar-color:#586976 #15212a;scrollbar-width:thin}.pretty-slot .equipped-mark{position:absolute;top:2px;right:4px;color:#71e7d0;background:#10222bf0;font-size:10px;font-weight:bold;padding:1px 3px}.item-detail .detail-copy b{font-size:15px}.detail-copy p{font-size:11px}.bonus-list span{font-size:10px}.bag-search{box-sizing:border-box}.furia-window-content{box-sizing:border-box}
@media(max-width:1050px){.bag-side{grid-template-rows:auto minmax(0,1fr)120px}}
.character-topbar{height:120px;flex-shrink:0}.character-topbar .brand-lockup img{width:280px;height:116px;max-height:none}.character-layout{height:min(650px,calc(100vh - 160px))}@media(max-width:820px){.character-topbar{height:90px}.character-topbar .brand-lockup img{width:200px;height:83px}.character-layout{height:auto}}

/* v3.6.1: flexible creator columns and compact cards eliminate horizontal scrolling. */
.preset-creator-body{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)!important;box-sizing:border-box;min-width:0;padding:12px;gap:14px}
.preset-creator-body>div{min-width:0;box-sizing:border-box}.preset-options{overflow-x:hidden;overflow-y:auto;padding:0 3px 3px 0;scrollbar-color:#647783 #14212b;scrollbar-width:thin}
.preset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0}.preset-card{min-width:0;min-height:118px;box-sizing:border-box;grid-template-columns:64px minmax(0,1fr);gap:5px;padding:7px;overflow:hidden}.preset-card img{width:64px;height:84px}.preset-card span{min-width:0}.preset-card b{font-size:12px;line-height:1.3;overflow-wrap:anywhere}.preset-card small{font-size:10px;line-height:1.3}
.preset-options .name-row{grid-template-columns:minmax(0,1fr) 40px;min-width:0}.preset-options input{min-width:0;width:100%;box-sizing:border-box}.preset-options .creator-actions{min-width:0;position:static;margin-top:4px;padding-top:4px}.preset-options .creator-actions button{min-width:0;flex:1;padding:5px;font-size:13px}.creator-hint{line-height:1.5;margin:5px 0 8px}.preset-creator-body .preview-stage{width:100%;height:auto;min-height:220px}.preset-creator-body .preview-stage img{width:min(210px,90%);height:210px}.preset-creator-body .creator-preview{height:100%;min-height:0}.pretty-grid{scrollbar-color:#647783 #14212b;scrollbar-width:thin}
@media(max-width:1180px) and (min-width:821px){.character-layout{grid-template-columns:245px minmax(0,1fr)}.preset-creator-body{grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr)!important;gap:9px;padding:9px}.preset-card{grid-template-columns:44px minmax(0,1fr);min-height:102px;padding:4px}.preset-card img{width:44px;height:64px}.preset-card b{font-size:11px}.preset-creator-body .preview-stage img{width:130px;height:145px}}
@media(max-width:820px){.preset-creator-body{grid-template-columns:minmax(0,1fr)!important;height:auto;overflow:visible}.preset-creator-body .creator-preview{height:240px;min-height:240px}.preset-creator-body .preview-stage{min-height:180px}.preset-creator-body .preview-stage img{width:150px;height:160px}.preset-options{overflow:visible}.preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.character-layout{height:auto}.creator{min-height:0}}
@media(max-width:480px){.preset-card{grid-template-columns:44px minmax(0,1fr);min-height:98px;padding:4px}.preset-card img{width:44px;height:60px}.preset-card b{font-size:10px}}
