/* Request 6 overlays. Hub only. All native CSS is retained. */
body[data-p1-screen="hub"] #app#app .uiv6-equipment-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px;border-bottom:1px solid #3b3a33;background:#161612}
body[data-p1-screen="hub"] #app#app .uiv6-equipment-head .skinbtns{position:static!important;inset:auto!important;transform:none!important;width:auto!important;display:flex;flex-wrap:wrap;gap:6px;margin:0!important;border:0!important}
body[data-p1-screen="hub"] #app#app .uiv5-equipped .gdoll{border:0!important}
body[data-p1-screen="hub"] #app#app .uiv5-equipped .gdoll::before,
body[data-p1-screen="hub"] #app#app .uiv5-equipped .gdoll::after{border:0!important;box-shadow:none!important}
/* Contain native absolute .gslot::after; static V5 slots attached it to viewport. */
body[data-p1-screen="hub"] #app#app :is(.uiv5-six-slots .gslot,.uiv5-pet){position:relative!important}
body[data-p1-screen="hub"] #app#app .review-gear-resources{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px!important}
body[data-p1-screen="hub"] #app#app .review-gear-resources .rc{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px!important;min-width:0}
body[data-p1-screen="hub"] #app#app .review-gear-resources .rn{display:flex!important;align-items:center;gap:8px;min-width:0;white-space:normal}
body[data-p1-screen="hub"] #app#app .review-gear-resources .rn img{width:28px!important;height:28px!important;object-fit:contain;flex:none}
body[data-p1-screen="hub"] #app#app .review-gear-resources .rv{position:static!important;margin:0!important;justify-self:end;text-align:right;white-space:nowrap}
body[data-p1-screen="hub"] #app#app .uiv6-settings-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:12px;align-items:start}
body[data-p1-screen="hub"] #app#app .uiv6-settings-layout>.uiv3-sub{display:flex;flex-direction:column;margin:0!important;overflow:visible!important}
body[data-p1-screen="hub"] #app#app .uiv6-settings-layout .uiv3-tab{text-align:left;min-height:48px}
body[data-p1-screen="hub"] #app#app .uiv3-settings{min-width:0;background:#1b1b17!important;border:1px solid #3b3a33;padding:12px}
body[data-p1-screen="hub"] #app#app .uiv3-settings :is(.orow,.notirow,.srow){padding:12px;border-bottom:1px solid #3b3a33;min-width:0;gap:12px}
body[data-p1-screen="hub"] #app#app .uiv3-settings input[type="range"]{min-width:0;flex:1}
body[data-p1-screen="hub"] #app#app .uiv6-daily-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:12px;align-items:start}
body[data-p1-screen="hub"] #app#app :is(.uiv6-daily-contract,.uiv6-daily-results,.ui-list,.ui-detail,.ui-selected,.ui-compare){min-width:0}
body[data-p1-screen="hub"] #app#app .dailycard{margin:0;padding:16px;border:1px solid #3b3a33;background:#1b1b17}
body[data-p1-screen="hub"] #app#app .dailycard .df>.btn{width:100%;min-height:48px}
body[data-p1-screen="hub"] #app#app :is(.t-quest,.t-codex,.t-intel,.t-ranking,.t-ledger,.t-league,.t-company,.t-career) .ui-master-detail{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:12px;align-items:start}
body[data-p1-screen="hub"] #app#app .t-quest .gatebox{padding:0!important;background:#161612!important;border-top:2px solid #e8dcb5!important;min-height:0}
body[data-p1-screen="hub"] #app#app .t-manual .mgrid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:12px;align-items:start}
body[data-p1-screen="hub"] #app#app .t-manual .mbody{grid-column:1;grid-row:1;min-width:0}
body[data-p1-screen="hub"] #app#app .t-manual .mnav{grid-column:2;grid-row:1;display:flex;flex-direction:column;min-width:0}
body[data-p1-screen="hub"] #app#app .t-manual .ui-manual-links{grid-column:2;grid-row:2}
body[data-p1-screen="hub"] #app#app .uiv6-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:16px}
body[data-p1-screen="hub"] #app#app .uiv6-flow span{padding:16px 8px;text-align:center;background:#161612;border:1px solid #3b3a33}
body[data-p1-screen="hub"] #app#app .ui-goals-layout{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:12px;align-items:start}
body[data-p1-screen="hub"] #app#app .passgrid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
body[data-p1-screen="hub"] #app#app .pstep{min-height:58px}
body[data-p1-screen="hub"] #app#app .t-hire .ui-three{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:12px;align-items:start}
body[data-p1-screen="hub"] #app#app .t-hire .ui-candidate-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
body[data-p1-screen="hub"] #app#app .t-hire .ui-candidate{display:flex;flex-direction:column;min-width:0}
body[data-p1-screen="hub"] #app#app .t-hire .ui-compare{grid-column:2}
body[data-p1-screen="hub"] #app#app .t-hire :is(.ui-candidate,.ui-stat-five>div){background:#161612!important;background-image:none!important}
body[data-p1-screen="hub"] #app#app .t-hire .ui-candidate img{background:#161612!important}
body[data-p1-screen="hub"] #app#app .t-company .embs{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px}
body[data-p1-screen="hub"] #app#app .t-company .embs .sub{grid-column:1/-1}
body[data-p1-screen="hub"] #app#app .t-company .emb{min-width:0;min-height:64px;width:auto!important;height:auto!important}
body[data-p1-screen="hub"] #app#app :is(.t-ranking,.t-league,.t-career,.t-ledger) :is(.ui-columns,.review-career-grid){grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:12px;align-items:start}
body[data-p1-screen="hub"] #app#app .t-bond .bond{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:12px;align-items:start}
body[data-p1-screen="hub"] #app#app .t-bond .blist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:0}
body[data-p1-screen="hub"] #app#app .t-bond .bcard{min-width:0;display:flex;flex-direction:column;min-height:0}
body[data-p1-screen="hub"] #app#app .t-bond .bface{width:100%;height:120px;flex:none}
body[data-p1-screen="hub"] #app#app .t-bond .bface img{width:100%;height:100%;object-fit:contain}
body[data-p1-screen="hub"] #app#app .t-bond .bmain{min-width:0}
body[data-p1-screen="hub"] #app#app .t-bond .exact-bond-list-filter{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}
body[data-p1-screen="hub"] #app#app .t-codex .ui-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
body[data-p1-screen="hub"] #app#app .t-codex .ui-list-item{display:flex;flex-direction:column;min-width:0;padding:8px;min-height:110px}
body[data-p1-screen="hub"] #app#app .t-codex .ui-list-item img{width:64px;height:64px;object-fit:contain}
body[data-p1-screen="hub"] #app#app .t-codex .ui-list .pc-pager{grid-column:1/-1}
@media(max-width:900px){
 body[data-p1-screen="hub"] #app#app .uiv6-phone-six{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:12px 0}
 body[data-p1-screen="hub"] #app#app .uiv6-equipment-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:110px;min-width:0;border:1px solid #3b3a33;background:#161612;color:#c9bfa5;border-radius:0;padding:8px;font:inherit}
 body[data-p1-screen="hub"] #app#app .uiv6-equipment-slot img{width:48px!important;height:48px!important;object-fit:contain}
 body[data-p1-screen="hub"] #app#app .uiv6-equipment-slot b{font-size:11px;overflow-wrap:anywhere}
 body[data-p1-screen="hub"] #app#app .review-gear-resources{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-p1-screen="hub"] #app#app :is(.uiv6-settings-layout,.uiv6-daily-layout,.t-hire .ui-three,.ui-goals-layout,.t-manual .mgrid,.t-bond .bond,.t-quest .ui-master-detail,.t-codex .ui-master-detail,.t-intel .ui-master-detail,.t-ranking .ui-columns,.t-league .ui-columns,.t-career .review-career-grid){grid-template-columns:minmax(0,1fr)!important}
 body[data-p1-screen="hub"] #app#app .uiv6-settings-layout>.uiv3-sub{flex-direction:row;overflow-x:auto!important}
 body[data-p1-screen="hub"] #app#app .t-manual :is(.mnav,.mbody,.ui-manual-links){grid-column:auto;grid-row:auto}
 body[data-p1-screen="hub"] #app#app .t-manual .mnav{order:2}
 body[data-p1-screen="hub"] #app#app .t-manual .mbody{order:1}
 body[data-p1-screen="hub"] #app#app .t-hire :is(.ui-candidate-list,.ui-compare){grid-template-columns:minmax(0,1fr);grid-column:auto}
 body[data-p1-screen="hub"] #app#app .t-company .embs{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-p1-screen="hub"] #app#app .t-codex .ui-list{grid-template-columns:repeat(3,minmax(0,1fr))}
 body[data-p1-screen="hub"] #app#app .t-bond .blist{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-p1-screen="hub"] #app#app .uiv3-settings .srow{flex-wrap:wrap}
}
