:root{color-scheme:light}
:root[data-theme="dark"]{color-scheme:dark;--bg:#171b19;--paper:#212723;--ink:#e8ede7;--muted:#abb5a7;--line:#394339;--orange:#f3915d;--orange-dark:#ee8347;--sage:#8bbb9f}
.item-restriction{display:block;margin-top:4px;color:#7c837b;font-size:12px;line-height:1.4;font-weight:400}
.item-restricted{opacity:80%}
.item-card.item-restricted{background:#f3f4f1;border-color:#d6dad4}
.inventory-panel .table-scroll{padding:0 10px}
.inventory-table{border-collapse:separate;border-spacing:0 6px}
.inventory-table tr.item-restricted td{background:#f3f4f1;border-top:1px solid #d6dad4;border-bottom:1px solid #d6dad4}
.inventory-table tr.item-restricted td:first-child{border-left:1px solid #d6dad4;border-radius:9px 0 0 9px}
.inventory-table tr.item-restricted td:last-child{border-right:1px solid #d6dad4;border-radius:0 9px 9px 0}
:root[data-theme="dark"] .item-restriction{color:#aeb8ad}
:root[data-theme="dark"] .item-card.item-restricted,:root[data-theme="dark"] .inventory-table tr.item-restricted td{background:#292e2a;border-color:#4b554d}

.header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.theme-control{display:grid;place-items:center;width:42px;height:42px;padding:0;flex-shrink:0;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink);cursor:pointer}
.theme-control:hover{border-color:var(--orange)}
.theme-control>.icon{pointer-events:none}
.theme-control:focus-visible{outline:3px solid #ed733988;outline-offset:3px}

:root[data-theme="dark"] .site-header{background:#1c211e}
:root[data-theme="dark"] .calculator-card,
:root[data-theme="dark"] .tool-card,
:root[data-theme="dark"] .blog-card,
:root[data-theme="dark"] .result-summary,
:root[data-theme="dark"] .inventory-panel,
:root[data-theme="dark"] .search-form,
:root[data-theme="dark"] .tool-form-card,
:root[data-theme="dark"] .select-menu{background:var(--paper);border-color:var(--line)}
:root[data-theme="dark"] input,
:root[data-theme="dark"] select,
:root[data-theme="dark"] textarea,
:root[data-theme="dark"] .select-trigger,
:root[data-theme="dark"] .select-static{background:#191f1b}
:root[data-theme="dark"] .search-form input{background:none}
:root[data-theme="dark"] input::placeholder,
:root[data-theme="dark"] textarea::placeholder{color:#8b9688}
:root[data-theme="dark"] .calculator-bottom,
:root[data-theme="dark"] .inventory-table th,
:root[data-theme="dark"] .item-card{background:#252c26}
:root[data-theme="dark"] .how-section,
:root[data-theme="dark"] .site-footer,
:root[data-theme="dark"] .article-cta,
:root[data-theme="dark"] .stat-card,
:root[data-theme="dark"] .view-toggle,
:root[data-theme="dark"] .article-body pre,
:root[data-theme="dark"] .id-output,
:root[data-theme="dark"] .commission-output>div{background:#282f29;border-color:var(--line)}
:root[data-theme="dark"] .calculator-bottom,
:root[data-theme="dark"] .tool-link,
:root[data-theme="dark"] .faq-list details,
:root[data-theme="dark"] .footer-bottom,
:root[data-theme="dark"] .inventory-table td,
:root[data-theme="dark"] .item-name-cell>img,
:root[data-theme="dark"] .item-fallback{border-color:var(--line)}
:root[data-theme="dark"] .hero-description,
:root[data-theme="dark"] .hero-points,
:root[data-theme="dark"] .hero-points .icon,
:root[data-theme="dark"] .supported-games>span,
:root[data-theme="dark"] .main-nav a,
:root[data-theme="dark"] .field-hint,
:root[data-theme="dark"] .privacy-note,
:root[data-theme="dark"] .calculator-bottom,
:root[data-theme="dark"] .price-strip .icon,
:root[data-theme="dark"] .price-badge,
:root[data-theme="dark"] .section-kicker,
:root[data-theme="dark"] .small-label,
:root[data-theme="dark"] .tool-card p,
:root[data-theme="dark"] .tool-link,
:root[data-theme="dark"] .steps p,
:root[data-theme="dark"] .post-meta,
:root[data-theme="dark"] .read-link,
:root[data-theme="dark"] .footer-main p,
:root[data-theme="dark"] .footer-main h3,
:root[data-theme="dark"] .footer-main>div>a:not(.brand),
:root[data-theme="dark"] .footer-bottom,
:root[data-theme="dark"] .back-link,
:root[data-theme="dark"] .stat-label,
:root[data-theme="dark"] .stat-card p,
:root[data-theme="dark"] .result-source,
:root[data-theme="dark"] .inventory-table th,
:root[data-theme="dark"] .unpriced,
:root[data-theme="dark"] .inventory-pagination,
:root[data-theme="dark"] .pagination,
:root[data-theme="dark"] .page-heading p,
:root[data-theme="dark"] .filter-tabs button,
:root[data-theme="dark"] .article-excerpt,
:root[data-theme="dark"] .article-body blockquote,
:root[data-theme="dark"] .commission-output>div,
:root[data-theme="dark"] .tool-footnote{color:var(--muted)}
:root[data-theme="dark"] .main-nav a.active{color:var(--ink)}
:root[data-theme="dark"] .main-nav a:hover,
:root[data-theme="dark"] .footer-main a:hover,
:root[data-theme="dark"] .back-link:hover{color:var(--orange)}
:root[data-theme="dark"] .button-dark,
:root[data-theme="dark"] .filter-tabs button.active,
:root[data-theme="dark"] .toast,
:root[data-theme="dark"] .skip-link{background:#dce6d6;color:#1c251e}
:root[data-theme="dark"] .button-dark:hover{background:#c3d3bb}
:root[data-theme="dark"] .button-outline{border-color:var(--line)}
:root[data-theme="dark"] .button-outline:hover{background:#303a31}
:root[data-theme="dark"] .eyebrow{background:#28382c;border-color:#40563f;color:#c0d7b8}
:root[data-theme="dark"] .profile-placeholder,
:root[data-theme="dark"] .market-badge,
:root[data-theme="dark"] .item-type,
:root[data-theme="dark"] .item-fallback,
:root[data-theme="dark"] .item-name-cell>img{background:#2d392e;color:#bdcdb5}
:root[data-theme="dark"] .result-notice{background:#3a3021;border-color:#625139;color:#e6c999}
:root[data-theme="dark"] .inline-error{background:#442b24;color:#ffba9f}
:root[data-theme="dark"] .view-toggle button{color:#aab6a3}
:root[data-theme="dark"] .view-toggle button.active{background:#414f3e;color:#e5efdf}
:root[data-theme="dark"] .blog-label{background:#1c251eee;color:#e8ede7}
:root[data-theme="dark"] .blog-cover{background:#28382c}
:root[data-theme="dark"] .orange,
:root[data-theme="dark"] .select-option:hover,
:root[data-theme="dark"] .select-option.is-active{background:#443024;color:#ffc099}
:root[data-theme="dark"] .select-check{color:#ffc099}
:root[data-theme="dark"] .sage{background:#293d32;color:#a0c8b1}
:root[data-theme="dark"] .lavender{background:#363043;color:#c4b3e1}
:root[data-theme="dark"] .game-icon.cs,
:root[data-theme="dark"] .game-icon.tf,
:root[data-theme="dark"] .tool-tag{background:#403420;color:#ebba70}
:root[data-theme="dark"] .game-icon.dota,
:root[data-theme="dark"] .game-icon.rust{background:#422b27;color:#ee9c88}
:root[data-theme="dark"] .mini-game{opacity:1}
:root[data-theme="dark"] .mini-game.cs,
:root[data-theme="dark"] .mini-game.tf{color:#ebba70}
:root[data-theme="dark"] .mini-game.dota,
:root[data-theme="dark"] .mini-game.rust{color:#ee9c88}
:root[data-theme="dark"] .step-number{color:#95aa89}
:root[data-theme="dark"] .strip-divider,
:root[data-theme="dark"] .brand-mark i:last-child{background:#4b5947}
:root[data-theme="dark"] .spinner{border-color:var(--line);border-top-color:var(--orange)}
:root[data-theme="dark"] .lookup-check.is-clear .lookup-check-mark{background:#293d32}
:root[data-theme="dark"] .lookup-check.is-restricted{color:#ee9c88}
:root[data-theme="dark"] .lookup-check.is-restricted .lookup-check-mark{background:#422b27}

@media(max-width:1000px){.main-nav{margin-left:0;gap:20px}.header-inner{gap:16px}}
@media(max-width:800px){.header-actions{gap:8px}.header-actions #auth-controls>a>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.header-actions #auth-controls>a{padding:11px}.main-nav{gap:16px}}
@media(max-width:580px){.header-inner{gap:0}.header-actions{margin-top:14px}.theme-control{width:38px;height:38px}.header-actions .user-name{display:none}.main-nav{gap:38px}}
.user-profile-link{display:flex;align-items:center;gap:10px;color:inherit}.user-profile-link:hover{color:var(--orange)}.user-avatar-fallback{display:grid;place-items:center;background:var(--line)}.user-avatar-fallback .icon{width:18px;height:18px}
.language-switch{position:relative;flex-shrink:0;font-size:13px;font-weight:700}
.language-trigger{display:flex;align-items:center;justify-content:center;gap:7px;height:42px;padding:0 11px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink);cursor:pointer;list-style:none;user-select:none}
.language-trigger::-webkit-details-marker{display:none}
.language-trigger:hover,.language-switch[open] .language-trigger{border-color:var(--orange)}
.language-trigger:focus-visible,.language-menu a:focus-visible{outline:3px solid #ed733988;outline-offset:3px}
.language-flag{display:block;width:22px;height:15px;object-fit:cover;border-radius:2px;box-shadow:0 0 0 1px #0002;flex-shrink:0}
.language-chevron{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}
.language-switch[open] .language-chevron{transform:rotate(180deg)}
.language-menu{position:absolute;z-index:50;top:calc(100% + 8px);right:0;min-width:158px;padding:5px;background:var(--paper);border:1px solid var(--line);border-radius:11px;box-shadow:0 12px 30px #0002}
.language-menu a{display:flex;align-items:center;gap:10px;padding:10px;border-radius:7px;color:var(--ink);white-space:nowrap}
.language-menu a:hover,.language-menu a[aria-current="page"]{background:var(--bg)}
.language-menu a[aria-current="page"]{color:var(--orange-dark)}
.language-check{margin-left:auto}
@media(max-width:580px){.header-actions{gap:4px}.header-inner>.brand{font-size:19px;gap:6px}.language-trigger{height:38px;padding:0 7px;gap:4px}}
@media(max-width:380px){.header-inner>.brand{font-size:17px;gap:5px}.header-inner>.brand .brand-mark{width:23px;height:23px}.language-trigger{height:34px;padding:0 5px;gap:3px}.language-flag{width:19px;height:13px}.language-chevron{width:11px}.header-actions .theme-control{width:34px;height:34px}.header-actions #auth-controls>a{padding:8px}}
@media(max-width:800px){.header-actions .user-name{display:none}}
