#fs-inventory-value { margin: 0 0 28px; }
.fs-inv { border-radius: 16px; overflow: hidden; border: 1px solid rgba(0,117,255,.2); background: linear-gradient(180deg,#0f1419,#151b24); box-shadow: 0 12px 40px rgba(0,0,0,.18); color: #e8eef5; }
.fs-inv__toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding: 16px; background: rgba(255,255,255,.03); border-bottom: 1px solid rgba(255,255,255,.06); }
.fs-inv__field { flex: 1 1 280px; min-width: 0; }
.fs-inv__field label { display: block; margin-bottom: 6px; font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .04em; }
.fs-inv__field input[type=text] { width: 100%; box-sizing: border-box; padding: 11px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.25); color: #fff; font-size: .92rem; }
.fs-inv__field input[type=text]:focus { outline: none; border-color: rgba(0,117,255,.55); box-shadow: 0 0 0 2px rgba(0,117,255,.18); }
.fs-inv__games { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.fs-inv__chip { display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: #e8eef5; font-size: .84rem; cursor: pointer; user-select: none; }
.fs-inv__chip input { accent-color: #0075ff; }
.fs-inv__chip:has(input:checked) { border-color: rgba(0,117,255,.55); background: rgba(0,117,255,.14); }
.fs-inv__btn { padding: 11px 20px; border: none; border-radius: 10px; color: #fff; font-size: .9rem; font-weight: 700; cursor: pointer; transition: transform .15s,opacity .15s; white-space: nowrap; }
.fs-inv__btn--primary { background: linear-gradient(135deg,#0075ff,#005fcc); }
.fs-inv__btn--ghost { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); }
.fs-inv__btn:hover:not(:disabled) { transform: translateY(-1px); }
.fs-inv__btn:disabled { opacity: .45; cursor: not-allowed; }
.fs-inv__status { padding: 12px 16px; font-size: .88rem; color: rgba(255,255,255,.72); border-bottom: 1px solid rgba(255,255,255,.06); }
.fs-inv__status--error { color: #ff8a80; }
.fs-inv__status--ok { color: #8be9a8; }
.fs-inv__summary { display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 10px; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.06); }
.fs-inv__summary > div { padding: 12px; border-radius: 10px; background: rgba(255,255,255,.04); }
.fs-inv__summary span { display: block; font-size: .72rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .04em; }
.fs-inv__summary strong { display: block; margin-top: 4px; font-size: 1.25rem; color: #7ecbff; }
.fs-inv__games-list { padding: 8px 16px 16px; display: grid; gap: 12px; }
.fs-inv__game { border-radius: 12px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); overflow: hidden; }
.fs-inv__game-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 12px 14px; background: rgba(0,0,0,.18); }
.fs-inv__game-head h3 { margin: 0; font-size: 1rem; }
.fs-inv__game-head strong { font-size: 1.05rem; color: #7ecbff; }
.fs-inv__game-meta { padding: 0 14px 10px; font-size: .82rem; color: rgba(255,255,255,.62); }
.fs-inv__items { padding: 0 14px 12px; overflow: auto; }
.fs-inv__items table { width: 100%; border-collapse: collapse; min-width: 420px; font-size: .86rem; }
.fs-inv__items th, .fs-inv__items td { text-align: left; padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,.08); vertical-align: middle; }
.fs-inv__items th { color: rgba(255,255,255,.65); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .72rem; }
.fs-inv__items td:last-child, .fs-inv__items th:last-child { text-align: right; }
.fs-inv__icon { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; background: rgba(0,0,0,.25); }
.fs-inv__empty { margin: 0; padding: 14px; border-radius: 10px; background: rgba(255,255,255,.04); color: rgba(255,255,255,.72); font-size: .86rem; }
.fs-inv__history { border-top: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.02); }
.fs-inv__history-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 16px 8px; }
.fs-inv__history-head h3 { margin: 0; font-size: 1rem; color: #fff; }
.fs-inv__history-body { padding: 0 16px 14px; overflow: auto; }
.fs-inv__history-body table { width: 100%; border-collapse: collapse; min-width: 480px; font-size: .86rem; }
.fs-inv__history-body th, .fs-inv__history-body td { text-align: left; padding: 9px 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.fs-inv__history-body th { color: rgba(255,255,255,.65); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .74rem; }
.fs-inv__spinner { display: inline-block; width: 14px; height: 14px; margin-right: 8px; border: 2px solid rgba(255,255,255,.25); border-top-color: #fff; border-radius: 50%; animation: fs-inv-spin .8s linear infinite; vertical-align: -2px; }
@keyframes fs-inv-spin { to { transform: rotate(360deg); } }

.entry-content #fs-inventory-value,
.entry-content #fs-inventory-value .fs-inv { color: #e8eef5; }
.entry-content #fs-inventory-value .fs-inv__history-head h3 { color: #fff !important; }
.entry-content #fs-inventory-value .fs-inv__history-body table,
.entry-content #fs-inventory-value .fs-inv__history-body th,
.entry-content #fs-inventory-value .fs-inv__history-body td,
.entry-content #fs-inventory-value .fs-inv__items table,
.entry-content #fs-inventory-value .fs-inv__items th,
.entry-content #fs-inventory-value .fs-inv__items td { background: transparent !important; color: #e8eef5 !important; }
.entry-content #fs-inventory-value .fs-inv__field input[type=text] { color: #fff !important; background: rgba(0,0,0,.25) !important; }

@media (max-width: 640px) {
  .fs-inv__toolbar { flex-direction: column; align-items: stretch; }
  .fs-inv__btn { width: 100%; }
}
