#gameGear{max-width:440px;min-height:100dvh;margin:auto;padding:14px max(14px,env(safe-area-inset-right)) 36px;color:#f6ead1;background:linear-gradient(175deg,#142d2a,#101f20 48%,#182321);font:15px/1.4 system-ui,sans-serif}
#gameGear>header{display:flex;align-items:center;gap:20px;background:none;padding:0;position:static}
#gameGear h2,#gameGear h3,.gear-item strong,.gear-hero strong{font-family:Georgia,serif}
#gameGear h2{font-weight:500;font-size:28px;margin:5px 0}
#gameGear h3{font-size:19px;margin:24px 0 8px}
#gameGear button,.ability-list button{min-height:44px;color:#f6e8c9;background:#29413a;border:1px solid #6b7561;border-radius:8px;padding:6px 10px;font:inherit}
#gameGear nav{display:flex;margin:16px 0;gap:6px}
#gameGear nav button{flex:1;background:transparent;border-color:transparent;border-bottom-color:#51615a;border-radius:0;padding:5px}
#gameGear nav [aria-pressed=true]{color:#f8dca2;border-bottom:2px solid #dfbc78}
.gear-hero,.gear-item,.gear-wallet,.sell-confirm{display:flex;align-items:center;gap:12px;background:#1d302d;padding:12px;border:1px solid #485c53;border-radius:10px;margin:8px 0}
.gear-hero img{width:72px;height:82px;object-fit:cover;border-radius:7px}
.gear-hero strong{font-size:23px}.gear-hero p,.gear-hero span,.gear-item span{font-size:13px;margin:3px 0;color:#d5d9c9}
.gear-item img{width:54px;height:60px;border-radius:5px;object-fit:cover}.gear-item div{flex:1;min-width:0}.gear-item strong,.gear-item span,.gear-item small{display:block}.gear-item small{font-size:11px;color:#d7c399}.gear-item strong{font-size:17px}.gear-wallet,.empty-slot{justify-content:space-between}.empty-slot{width:100%;display:flex;align-items:center}.sell-confirm{display:grid}.sell-confirm button+button{margin-left:8px}
.ability-list{display:grid;gap:6px;margin:12px 0}.ability-list .ability-choice{display:flex;align-items:center;justify-content:space-between;gap:8px}.ability-choice small{font-size:12px}.ability-list button:disabled{opacity:.55}

.cardback.revealed{z-index:1;overflow:hidden}
.cardback.revealed::before{display:none}
.cardback.revealed img{width:100%;height:100%;object-fit:cover}
#rivalIntel{position:absolute;bottom:0;left:50%;transform:translateX(-50%);z-index:2;white-space:nowrap;font-size:10px;line-height:1.3;color:#fff3cc;background:#262620ed;border-radius:4px;padding:1px 5px;pointer-events:none}
