/* Equipment rules 45: readable decisions, rift-metal graphics, one scroll area. */
#itemSheet{width:min(550px,calc(100% - 20px));background:linear-gradient(155deg,#172331,#080e18);border-color:#7197ab66;color:#e3e9ed}
#itemSheet .item-modal-head{background:#101b29;border-color:#7aabc32b;z-index:2}
#itemSheet .item-body{scrollbar-color:#658695 #0c1420;overflow-x:hidden}
#itemSheet .item-intro{display:grid;grid-template-columns:115px minmax(0,1fr);align-items:center;gap:12px}
#itemSheet .item-intro .item-showcase{height:120px}
#itemSheet .item-intro .gear-art{height:115px;width:115px;filter:drop-shadow(0 3px 7px #000b)}
#itemSheet .item-intro h2{text-align:left;font-size:25px;line-height:1.12;margin:9px 0}
#itemSheet .item-intro .item-quality{text-align:left;line-height:1.6;font-size:10px}
.item-style{font-size:11px;color:#9fabbc}.item-purpose{font:13px/1.55 Georgia,serif;color:#d7e0e6;margin:12px 0}
.gear-classes{display:flex;flex-wrap:wrap;gap:5px 10px;margin:10px 0}.gear-classes>span{display:flex;align-items:center;gap:5px;font:11px system-ui;color:#bacdd9}.gear-classes img{width:24px;height:24px;object-fit:contain}
.gear-classes.compact{position:absolute;bottom:29px;left:3px;gap:0;margin:0;pointer-events:none;filter:drop-shadow(0 1px 3px #000)}
.gear-classes.compact img{width:19px;height:23px}.gear-card.foreign-class .gear-classes{opacity:.5}.gear-card.foreign-class .gear-art{opacity:.55}
.gear-card .gear-rune{left:3px;top:21px;width:22px;height:22px;filter:drop-shadow(0 0 3px #7d61cf)}
#itemSheet .item-comparison{margin:18px 0;border-color:#7b9eb837}
#itemSheet .item-comparison h3,#itemSheet .enchant-section h3{color:#d1e4ef;font-size:18px}
.comparison-target{font:10px system-ui;color:#abc2d4;display:block;margin:15px 0 8px}
#itemSheet select{width:100%;min-width:0;max-width:100%;padding:10px 8px;margin-top:6px;font:12px system-ui;color:#d9e8ef;background:#101d2b;border:1px solid #60889866;border-radius:5px}
.attack-comparison{padding:13px;border:1px solid #80bfd449;background:radial-gradient(ellipse at top,#2b5c702f,transparent 80%),#08121cc9;border-radius:5px;color:#c9dbe8;margin:10px 0}
.attack-comparison>span{display:flex;justify-content:space-between;font:12px Georgia,serif;gap:8px}.attack-comparison small{font:10px/1.45 system-ui;color:#9db2c1}
.attack-comparison>div{display:flex;align-items:center;justify-content:space-evenly;gap:10px;margin:12px 0 4px;text-align:center}.attack-comparison>div span{flex:1}.attack-comparison b{display:block;font:26px Georgia,serif}.attack-comparison i{color:#77a8be;font-style:normal;font-size:23px}
.comparison-context{display:block;color:#94a7b4;font:9px/1.5 system-ui;margin:6px 0 12px}
#itemSheet table{width:100%;border-collapse:collapse;font:11px/1.5 system-ui;table-layout:fixed}#itemSheet table th:first-child,#itemSheet table td:first-child{width:51%;overflow-wrap:anywhere}#itemSheet table td,#itemSheet table th{padding:7px 3px;border-bottom:1px solid #a4c4d312}#itemSheet table th{font-size:9px;color:#93a9b8;font-weight:400;text-align:right}#itemSheet table th:first-child{text-align:left}#itemSheet table td:not(:first-child){text-align:right;white-space:nowrap}
#itemSheet .better{color:#97d8c3}#itemSheet .worse{color:#efa69d}
.item-breakdown{margin:14px 0 4px;border-top:1px solid #8097a433}.item-breakdown summary{cursor:pointer;padding:12px 0;font:12px Georgia,serif;color:#c8d9e2}.item-breakdown .item-values{margin:4px 0;background:#070e1860}
.ability-change{font:11px/1.5 system-ui;border-top:1px solid #80a5bc29;margin-top:8px;padding-top:8px}.ability-change strong,.ability-change span{display:block;margin:4px 0}
#itemSheet .rune-description{display:flex;align-items:center;text-align:left;gap:12px;font:12px/1.45 Georgia,serif;margin:12px 0}.rune-description img{width:54px;height:54px;flex:none}.rune-description strong{color:#d3c1f0}.rune-description p{font:11px/1.5 system-ui;color:#b7bdce;margin:4px 0}.rune-description small{font:10px system-ui;color:#b0b7c7}
#itemSheet .enchant-section label{font:11px system-ui;color:#b9c9d9}#itemSheet .enchant-preview h4{font:13px Georgia,serif;color:#d2dde9;margin:15px 0 5px}
#itemSheet .item-dispose .resource-amount{display:inline-flex}#itemSheet .item-dispose img{width:18px;height:18px}
@media(max-width:360px){#itemSheet .item-intro{grid-template-columns:85px minmax(0,1fr);gap:8px}#itemSheet .item-intro .gear-art{width:85px;height:100px}#itemSheet .item-intro h2{font-size:21px}.attack-comparison>span{display:block}.attack-comparison>span small{display:block;margin-top:4px}.gear-classes.compact img{width:15px;height:20px}}
