.nova-inventory-section {display:grid; gap:14px}
.nova-inventory-heading {display:flex; align-items:center; justify-content:space-between; gap:12px}
.nova-inventory-counter {flex-shrink:0; background:rgba(107,227,177,.13); color:#98f6cb; padding:8px 13px; border-radius:13px; font-weight:750}
.nova-inventory-favorites {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; min-width:0}
.nova-inventory-empty {grid-column:1/-1; text-align:center; padding:16px 10px; margin:0; opacity:.67; font-size:13px}
.nova-inventory-controls {display:grid; grid-template-columns:1fr 1fr; gap:8px}
.nova-inventory-controls input {grid-column:1/-1; min-width:0}
.nova-inventory-controls input,.nova-inventory-controls select {width:100%; box-sizing:border-box; color:inherit; background:rgba(255,255,255,.055); border:1px solid rgba(190,225,212,.18); border-radius:12px; font:inherit; font-size:13px; padding:11px; min-height:42px}
.nova-inventory-controls select option {background:#182521; color:white}
.nova-inventory-tabs {display:flex; gap:8px}
.nova-inventory-tabs button {flex:1; border:1px solid rgba(190,225,212,.14); color:inherit; background:rgba(255,255,255,.04); padding:10px; border-radius:12px; font:inherit; font-size:13px; cursor:pointer}
.nova-inventory-tabs button[aria-pressed="true"] {border-color:#6dd6a9; background:rgba(69,202,141,.14)}
.nova-inventory-grid {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px}
.nova-inventory-item {position:relative; min-width:0; min-height:118px; display:flex; align-items:center; flex-direction:column; justify-content:center; gap:7px; padding:12px 7px; border:1px solid rgba(190,225,212,.18); border-radius:15px; background:rgba(255,255,255,.05); color:inherit; font:inherit; cursor:pointer; overflow-wrap:anywhere}
.nova-inventory-favorites .nova-inventory-item {min-height:92px; border-color:rgba(229,190,81,.3)}
.nova-inventory-item[data-rarity="rare"] {border-color:rgba(80,172,242,.35)}
.nova-inventory-item[data-rarity="epic"] {border-color:rgba(179,126,248,.45)}
.nova-inventory-item[data-rarity="legendary"] {border-color:rgba(246,177,75,.45)}
.nova-inventory-item[data-rarity="exclusive"] {border-color:rgba(243,110,148,.48)}
.nova-inventory-icon {font-size:28px; line-height:1.3}
.nova-inventory-item-name {font-size:12px; font-weight:700; text-align:center; line-height:1.25}
.nova-inventory-item-meta {font-size:10px; opacity:.75; text-align:center}
.nova-inventory-star {position:absolute; top:4px; right:6px; color:#f4cb70; font-size:14px}
.nova-inventory-history {display:flex; flex-direction:column; gap:8px}
.nova-inventory-history-row {display:flex; align-items:center; gap:12px; border-radius:12px; background:rgba(255,255,255,.05); padding:12px}
.nova-inventory-history-icon {font-size:24px}
.nova-inventory-history-text {display:grid; gap:4px; min-width:0}
.nova-inventory-history-text strong {font-size:13px}
.nova-inventory-history-text small {font-size:11px; opacity:.7}
.nova-inventory-details {padding:14px; display:grid; gap:11px}
.nova-inventory-details[hidden],.nova-inventory-history[hidden],.nova-inventory-grid[hidden],.nova-inventory-section[hidden] {display:none!important}
.nova-inventory-details p {font-size:13px; line-height:1.45; margin:0}
.nova-inventory-detail-head {display:flex; align-items:center; gap:12px}
.nova-inventory-detail-head>div {display:grid; gap:4px}
.nova-inventory-detail-head strong {font-size:15px}
.nova-inventory-detail-head small,.nova-inventory-source {font-size:11px; opacity:.65}
.nova-inventory-detail-icon {font-size:34px}
.nova-inventory-actions {display:flex; flex-wrap:wrap; gap:8px}
.nova-inventory-actions button {flex:1; min-width:90px; background:rgba(255,255,255,.08); border:1px solid rgba(190,225,212,.2); color:inherit; border-radius:10px; padding:10px; font:inherit; font-size:12px; cursor:pointer}
.nova-inventory-actions .nova-inventory-equip {background:rgba(75,193,139,.19); border-color:rgba(106,235,170,.45)}
.nova-inventory-actions button:disabled {opacity:.45; cursor:wait}
@media (max-width:370px) {.nova-inventory-grid,.nova-inventory-favorites {gap:5px}.nova-inventory-item {padding:9px 4px}.nova-inventory-item-name {font-size:11px}}

/* Independent inventory screen and link from the public profile. */
.nova-inventory-view { display: grid; gap: 19px; align-content: start; min-width: 0; }
.nova-inventory-page-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-width: 0; }
.nova-inventory-page-head > div { min-width: 0; }
.nova-inventory-page-head h1 { font-size: clamp(23px, 6vw, 30px); margin: 6px 0; }
.nova-inventory-page-head p { color: var(--muted); font-size: 13px; margin: 0; line-height: 1.45; }
.nova-inventory-profile-back { flex: 0 0 auto; min-height: 39px; padding: 9px 12px; background: rgba(255,255,255,.055); color: var(--mint); border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 12px; cursor: pointer; }
.nova-inventory-view .nova-inventory-section { display: grid; gap: 14px; min-width: 0; }
.profile-inventory-link { min-width: 0; }
.profile-inventory-button { width: 100%; display: flex; align-items: center; gap: 15px; min-height: 86px; padding: 16px; border: 1px solid var(--line); color: inherit; text-align: left; font: inherit; cursor: pointer; }
.profile-inventory-button-icon { width: 47px; height: 47px; flex: 0 0 47px; display: grid; place-items: center; font-size: 24px; border-radius: 14px; background: rgba(106,222,172,.10); }
.profile-inventory-button-text { display: grid; gap: 5px; min-width: 0; flex: 1; }
.profile-inventory-button-text strong { font-size: 16px; }
.profile-inventory-button-text small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.profile-inventory-button-arrow { flex-shrink: 0; font-size: 27px; color: var(--mint); }
.profile-inventory-button:active,.nova-inventory-profile-back:active { transform: scale(.99); }
@media (max-width:360px) { .nova-inventory-page-head { align-items: start; }.nova-inventory-profile-back { padding: 8px; font-size: 11px; }.profile-inventory-button { gap: 10px; padding: 13px; } }
