/* Equipment view only; attribute tab and home shortcuts keep their own styles. */
#eqPanel.gear-screen{position:fixed;inset:0;z-index:110;padding:0;background:#24293e;pointer-events:auto}
#eqPanel.gear-screen.hidden{display:none;pointer-events:none}
#eqPanel.gear-screen .eq-sheet{position:absolute;inset:0;margin:0;box-sizing:border-box;width:100%;height:100%;max-width:none;max-height:none;min-width:0;display:flex;flex-direction:column;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);overflow:hidden;color:#eef0ff;border:0;border-radius:0;background:linear-gradient(155deg,#414760,#22273b 52%,#33394e)}
#eqPanel.gear-screen .eq-tabs{flex:none;background:#222638;border-bottom:1px solid #797486}
#eqPanel.gear-screen .eq-tab.on{color:#ffeac7;background:linear-gradient(0deg,#695641,transparent);border-bottom-color:#dfbd82}
#eqPanel.gear-screen #eqBody{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;max-height:none;box-sizing:border-box;padding:2% 3%;gap:.65rem;overflow:auto}
#eqPanel.gear-screen #eqBody>*{flex:none;margin:0;min-width:0}
#eqPanel #eqBody .xf-eight{align-self:center;position:relative;width:min(100%,42rem);height:auto;aspect-ratio:3/2;min-height:0;box-sizing:border-box;container-type:inline-size;display:grid;grid-template-columns:31% minmax(0,1fr) 31%!important;grid-template-rows:repeat(4,minmax(0,1fr));gap:1.5% 0;padding:1.5%;overflow:hidden;background:#383c55;border:1px solid #797486;border-radius:.5rem}
#eqPanel #eqBody .xf-eight>[data-slot]{position:static;display:grid;grid-template-columns:30% minmax(0,1fr);grid-template-rows:repeat(3,minmax(0,1fr));align-items:center;gap:0 3%;width:100%;height:100%;min-width:0;min-height:0;box-sizing:border-box;margin:0;padding:.55cqw;border:1px solid #a897c6;border-radius:3px;background:#282738eb;color:#f3ebff;overflow:hidden;touch-action:manipulation;transform:none}
#eqPanel #eqBody .xf-eight>[data-slot]:nth-child(odd){grid-column:1}
#eqPanel #eqBody .xf-eight>[data-slot]:nth-child(even){grid-column:3}
#eqPanel #eqBody .xf-eight>[data-slot]:nth-child(-n+2){grid-row:1}
#eqPanel #eqBody .xf-eight>[data-slot]:nth-child(n+3):nth-child(-n+4){grid-row:2}
#eqPanel #eqBody .xf-eight>[data-slot]:nth-child(n+5):nth-child(-n+6){grid-row:3}
#eqPanel #eqBody .xf-eight>[data-slot]:nth-child(n+7){grid-row:4}
#eqPanel #eqBody .xf-eight>[data-slot]>:not(.eq-ico){grid-column:2;display:block;max-width:100%;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:clamp(.6rem,2.8cqw,1rem);line-height:1.1}
#eqPanel .xf-eight>[data-slot]>em{color:#ead8b9;font-style:normal}
#eqPanel .xf-eight>[data-slot]>span:last-child{color:#c4bed1}
#eqPanel #eqBody .xf-eight .eq-ico{grid-area:1/1/4/2;width:100%;height:auto;aspect-ratio:1;border-radius:3px}
#eqPanel #eqBody .xf-eight .eq-ico img{width:100%;height:100%;object-fit:contain;border-radius:3px}
#eqPanel .xf-eight .eq-ico:before,#eqPanel .xf-eight .eq-ico:after{content:none}
#eqPanel #eqBody .xf-eight .xf-role{position:static;grid-area:1/2/5/3;place-self:center;height:100%;max-width:96%;width:auto;aspect-ratio:440/850;transform:none;margin:0;border:0;padding:0;background:url('images/gen/gptimg_1796092024_look.jpg') 35% 13.4% / 306% 223% no-repeat;cursor:pointer;touch-action:manipulation}
#eqPanel #eqBody .xf-eight>[aria-pressed="true"]{outline:2px solid #ff8a3d;outline-offset:-2px}
#eqPanel.gear-screen #eqBody>.eq-grid,#eqPanel.gear-screen #eqBody>.eq-set-summary{box-sizing:border-box;width:min(100%,42rem);align-self:center}
#eqPanel #eqMessage:empty{display:none}
/* [STATE] 角色与八个装备位固定在居中的 3:2 展示框内。 */
