/* Module details sit in the workbench, below its real 3D preview. */
body[data-screen=lobby] #native-stage .module-inspection{position:absolute;left:225px;top:-146px;width:747px;height:65px;display:grid;grid-template-columns:31.2% 35.1% minmax(0,1fr);align-items:stretch;gap:0;padding:7px 0;border:0;background:url('/assets/Images/Menu/Inspection/normal.webp?v=clodex-1') center/100% 100% no-repeat;pointer-events:auto;color:#bccfc2;font-family:RobotoCondensed,sans-serif}
body[data-screen=lobby] #native-stage .module-inspection.locked{background-image:url('/assets/Images/Menu/Inspection/locked.webp?v=clodex-1')}
body[data-screen=lobby] #native-stage .module-inspection.ready{background-image:url('/assets/Images/Menu/Inspection/ready.webp?v=clodex-1')}
body[data-screen=lobby] #native-stage .module-inspection-name{grid-column:1;grid-row:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:0 16px}
body[data-screen=lobby] #native-stage .module-inspection-name small{font:7px/9px RobotoCondensed,sans-serif;color:#a2c9b0;letter-spacing:.7px}
body[data-screen=lobby] #native-stage .module-inspection h4{margin:0;font:500 14px/16px RobotoCondensed,sans-serif;color:#deeee2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-screen=lobby] #native-stage .module-inspection-name>span{font:7px/9px RobotoCondensed,sans-serif;color:#8eaa98}
body[data-screen=lobby] #native-stage .module-inspection-stats{grid-column:2;grid-row:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:0 17px;font:9px/11px RobotoCondensed,sans-serif}
body[data-screen=lobby] #native-stage .module-inspection-stats span{display:flex;justify-content:space-between;gap:8px}
body[data-screen=lobby] #native-stage .module-inspection-stats .positive{color:#a4d9b3}
body[data-screen=lobby] #native-stage .module-inspection-stats .negative{color:#e2a29a}
body[data-screen=lobby] #native-stage .module-inspection-task{grid-column:3;grid-row:1;display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0;padding:0 122px 0 15px;overflow:hidden}
body[data-screen=lobby] #native-stage .module-inspection-task small{font:7px/9px RobotoCondensed,sans-serif;color:#9ec8ac}
body[data-screen=lobby] #native-stage .module-inspection-task span{font:8px/10px RobotoCondensed,sans-serif;color:#b9cdbf;overflow-wrap:anywhere}
body[data-screen=lobby] #native-stage .module-inspection-task em{font:7px/9px RobotoCondensed,sans-serif;color:#c6b78e}
body[data-screen=lobby] #native-stage .module-inspection-action{grid-column:3;grid-row:1;justify-self:end;align-self:center;width:100px;margin:0 17px 0 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:32px;padding:5px;border:1px solid #b6d3be50;border-radius:3px;clip-path:none;background:#3b5e4673;color:#d5e9dc;font:9px RobotoCondensed,sans-serif;box-shadow:none}
body[data-screen=lobby] #native-stage .module-inspection-action:disabled{background:#23372b73;color:#9eafa5;opacity:.7}
body[data-screen=lobby] #native-stage .module-inspection-action b{font:9px RobotoCondensed,sans-serif}
body[data-screen=lobby] #native-stage .module-inspection-close{position:absolute;right:4px;top:3px;width:16px;height:17px;min-height:0;padding:0;border:0;background:none;box-shadow:none;color:#a9c1b2;font:17px/17px RobotoCondensed,sans-serif;clip-path:none}
body[data-screen=lobby] #native-stage .module-inspection-close:hover{color:#e3f3e8;background:none}
body[data-screen=lobby] #native-stage #tab-arsenal:has(.module-inspection) .weapon-inspect{top:218px;height:184px}
body[data-screen=lobby] #native-stage #tab-arsenal:has(.module-inspection) .preview-hint{display:none}
body[data-screen=lobby] #native-stage .module-toolbar{left:23%;right:21%;width:auto;display:flex;align-items:center;justify-content:center;gap:12px}
body[data-screen=lobby] #native-stage .module-compatibility{display:flex;align-items:center;gap:5px;font:11px RobotoCondensed,sans-serif;white-space:nowrap;color:#c5cbc5;cursor:pointer;pointer-events:auto}
body[data-screen=lobby] #native-stage .module-compatibility input{width:13px;height:13px;accent-color:#a9d5ba}
body[data-screen=lobby] #native-stage .attachment-tabs .fitted{box-shadow:inset 0 -2px #9bcda6}
body[data-screen=lobby] #native-stage .module-card.incompatible{opacity:.64;filter:grayscale(1);cursor:default}
body[data-screen=lobby] #native-stage .module-card.incompatible .module-thumbnail{height:34px}
body[data-screen=lobby] #native-stage .module-card.incompatible small{font-size:9px;color:#ccd0cb}
body[data-screen=lobby] #native-stage .module-inspection{top:-158px;height:85px}
body[data-screen=lobby] #native-stage .module-inspection-stats{min-height:0;overflow-y:auto;justify-content:flex-start;padding-top:3px;scrollbar-width:thin;font-variant-numeric:tabular-nums}
body[data-screen=lobby] #native-stage .module-inspection-stats del{text-decoration:none;color:#a1aba5;font-weight:400}

@media (orientation:portrait) and (max-width:760px){
  body[data-screen=lobby][data-tab=arsenal] #native-stage:has(#tab-arsenal[data-view=detail]){
    inset:0;width:100%;height:100dvh;transform:none;overflow:hidden
  }
  body[data-screen=lobby] #native-stage:has(#tab-arsenal[data-view=detail]) #lobby{inset:0;width:100%;height:100%}
  body[data-screen=lobby] #native-stage:has(#tab-arsenal[data-view=detail]) :is(.topbar,.native-aside,.client-version,.lobby-footer){display:none}
  body[data-screen=lobby] #native-stage #tab-arsenal[data-view=detail]{
    display:flex;flex-direction:column;gap:10px;position:absolute;inset:0;width:100%;height:100%;
    padding:max(12px,env(safe-area-inset-top)) 14px max(20px,env(safe-area-inset-bottom));box-sizing:border-box;overflow-x:hidden;overflow-y:auto
  }
  #native-stage #tab-arsenal[data-view=detail] .arsenal-layout{display:contents}
  body[data-screen=lobby] #native-stage #tab-arsenal[data-view=detail] :is(#loadout-return,#weapon-families,#native-weapon-name,.weapon-inspect,#native-attachments,#weapon-info,#weapon-list,#weapon-sets){
    position:relative;inset:auto;width:100%;flex:none;margin:0;max-width:100%;box-sizing:border-box
  }
  body[data-screen=lobby] #native-stage #tab-arsenal[data-view=detail] :is(#native-weapon-description,#native-weapon-family,.preview-hint,.weapon-cycle,.weapon-strip-arrow,.section-intro){display:none}
  body[data-screen=lobby] #native-stage #loadout-return{order:0;align-self:flex-start;text-align:left;min-height:32px;font-size:13px}
  body[data-screen=lobby] #native-stage #weapon-families{order:1;display:flex;flex-direction:row;gap:3px;height:40px}
  body[data-screen=lobby] #native-stage #weapon-families .family-button{flex:1;min-width:0;min-height:40px;height:40px;padding:0;background-size:400% 400%}
  body[data-screen=lobby] #native-stage .family-button>.armory-icon{position:static;width:36px;height:27px;margin:auto}
  body[data-screen=lobby] #native-stage .family-button span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  body[data-screen=lobby] #native-stage :is(.family-button b,#weapon-families:before,#weapon-list:before){display:none}
  body[data-screen=lobby] #native-stage #native-weapon-name{order:2;font:700 26px/1.1 RobotoCondensed,sans-serif;height:auto}
  body[data-screen=lobby] #native-stage #tab-arsenal[data-view=detail] .weapon-inspect{order:3;height:190px;touch-action:none}
  body[data-screen=lobby] #native-stage #native-attachments{order:4;height:auto;display:flex;flex-direction:column;gap:8px;padding:0}
  body[data-screen=lobby] #native-stage #native-attachments :is(.module-toolbar,.module-browser,.module-actions,.module-inspection){
    position:relative;inset:auto;width:100%;height:auto;max-width:100%;box-sizing:border-box;margin:0
  }
  body[data-screen=lobby] #native-stage .module-toolbar{flex-wrap:wrap;justify-content:flex-start;gap:4px}
  body[data-screen=lobby] #native-stage .attachment-tabs{justify-content:flex-start;height:38px;gap:3px}
  body[data-screen=lobby] #native-stage .attachment-tabs button{width:34px;height:36px}
  body[data-screen=lobby] #native-stage .module-compatibility{min-height:29px;font-size:12px}
  body[data-screen=lobby] #native-stage .module-browser{overflow:hidden}
  body[data-screen=lobby] #native-stage .module-grid{width:100%;height:90px}
  body[data-screen=lobby] #native-stage .module-inspection{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px;background:#17211ff2;border:1px solid #688270}
  body[data-screen=lobby] #native-stage .module-inspection-name{grid-column:1;grid-row:1;padding:0}
  body[data-screen=lobby] #native-stage .module-inspection-name>span{display:none}
  body[data-screen=lobby] #native-stage .module-inspection h4{white-space:normal;font-size:15px}
  body[data-screen=lobby] #native-stage .module-inspection-stats{grid-column:1 / -1;grid-row:2;padding:0;gap:4px;font:12px/16px RobotoCondensed,sans-serif}
  body[data-screen=lobby] #native-stage .module-inspection-task{grid-column:1;grid-row:3;padding:0}
  body[data-screen=lobby] #native-stage .module-inspection-action{grid-column:2;grid-row:3;width:100%;margin:0;font-size:12px;min-height:36px}
  body[data-screen=lobby] #native-stage .module-inspection-close{width:32px;height:32px;z-index:1}
  body[data-screen=lobby] #native-stage .module-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px}
  body[data-screen=lobby] #native-stage .module-actions #weapon-apply-hint{flex:1 0 100%;font-size:11px}
  body[data-screen=lobby] #native-stage .module-actions #weapon-apply-hint:empty{display:none}
  body[data-screen=lobby] #native-stage .module-actions>#weapon-apply,body[data-screen=lobby] #native-stage .module-actions>[data-reset-loadout]{height:36px}
  body[data-screen=lobby] #native-stage #weapon-list{order:5;height:73px;overflow-x:auto}
  body[data-screen=lobby] #native-stage #weapon-info{order:6;display:flex;flex-direction:column;gap:7px;height:auto}
  body[data-screen=lobby] #native-stage #weapon-info :is(.stats,.armory-task,.armory-ownership,#weapon-buy,#set-unlock){position:relative;inset:auto;width:100%;height:auto;margin:0}
  body[data-screen=lobby] #native-stage #weapon-info .stats{display:grid;grid-template-columns:1fr 1fr;gap:9px 14px;padding:11px}
  body[data-screen=lobby] #native-stage #weapon-info .stat{margin:0}
  body[data-screen=lobby] #native-stage #weapon-info :is(#weapon-buy,#set-unlock){min-height:34px}
  body[data-screen=lobby] #native-stage #weapon-sets{order:7;height:auto;flex-wrap:wrap}
}
