.items-page{padding-bottom:70px}
.items-page .items-layout{display:flex;align-items:start;gap:28px;margin-bottom:28px}
.items-page .items-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;flex:1;min-width:0}
.items-page .item-card{display:flex;flex-direction:column;align-items:start;min-width:0;text-align:left;background:#ffffff25;border:1px solid var(--line);padding:18px;min-height:220px;transition:background .18s,transform .18s;position:relative}
.items-page .item-card:hover{background:#fff9;transform:translateY(-3px)}
.items-page .item-card[aria-pressed=true]{outline:2px solid var(--ink);outline-offset:-2px;background:#fff9}
.items-page .item-card small{font-size:9px;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:var(--muted);margin-top:16px}
.items-page .item-card strong{font-family:var(--font-display);font-size:20px;line-height:1.2;margin:8px 0 18px;max-width:100%;overflow-wrap:anywhere}
.items-page .item-card .item-price{font-size:11px;font-weight:800;margin-top:auto}
.items-page .item-icon{display:flex;width:66px;height:66px;align-items:center;justify-content:center;background:#d7dfd1}
.items-page .item-card.weapon .item-icon{background:#e2bf8c}
.items-page .item-card.spirit .item-icon{background:#cec3df}
.items-page .item-icon img{width:54px;height:54px;object-fit:contain}
.items-page .item-icon-fallback{font-size:32px;line-height:1}
.items-page .item-detail{position:sticky;top:116px;width:340px;min-width:0;max-width:100%;max-height:calc(100vh - 140px);overflow:auto;overflow-wrap:anywhere;flex:none;background:var(--ink);color:var(--paper);padding:30px}
.items-page .item-detail h2{font-size:36px;margin:12px 0 18px}
.items-page .item-detail .eyebrow{color:#c4cfbb;margin-top:20px}
.items-page .item-detail .note{color:#bdc8ba}
.items-page .item-detail>img{width:80px;height:80px;object-fit:contain}
.items-page .item-detail>p{font-size:13px}
.items-page .item-detail h3{font-size:22px}
.items-page .item-close{border:0;background:none;color:var(--paper);display:block;margin:0 0 24px auto;font-size:11px;padding:6px}
.items-page .item-cost{display:block;font-family:var(--font-display);font-size:28px;color:var(--lime);margin-bottom:16px}
.items-page .item-properties{font-size:12px;margin:24px 0}
.items-page .item-properties>div{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #ffffff24;padding:12px 0}
.items-page .item-properties dt{min-width:0;flex:1}
.items-page .item-properties dd{margin:0;min-width:0;flex:0 1 auto;text-align:right;font-weight:800;color:var(--lime)}
.items-page .items-layout:has(.item-detail:not([hidden])) .items-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1100px){.items-page .items-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.items-page .items-layout:has(.item-detail:not([hidden])) .items-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.items-page .item-detail{width:300px}}
@media(max-width:720px){.items-page .items-grid{grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.items-page .items-layout{flex-direction:column}.items-page .item-detail{width:100%;max-height:none;position:static;order:-1}.items-page .items-layout:has(.item-detail:not([hidden])) .items-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:480px){.items-page .items-grid,.items-page .items-layout:has(.item-detail:not([hidden])) .items-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.items-page .item-card{padding:14px;min-height:220px}.items-page .item-card strong{font-size:19px}.items-page .item-detail{padding:24px}}
@media(prefers-reduced-motion:reduce){.items-page .item-card{transition:none}.items-page .item-card:hover{transform:none}}

.items-page>.items-grid{margin-block:24px}.items-page .item-searchbar{position:sticky;top:var(--items-header-height,92px);z-index:15;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;padding:14px 0 10px;background:var(--paper);border-bottom:1px solid var(--line);box-shadow:0 8px 14px #1027250a}.item-searchbar .search-field{display:grid;gap:6px;font-size:11px;font-weight:800;min-width:0}.item-searchbar input{width:100%;min-height:46px;border:1px solid var(--line);border-radius:0;background:transparent;padding:12px;color:var(--ink)}.item-searchbar .item-filter-toggle{align-self:end;min-height:46px}.items-page .item-count{grid-column:1/-1;margin:0;font-size:12px}.item-filters{margin:16px 0;border-bottom:1px solid var(--line)}.item-filters summary{padding:12px 0;cursor:pointer;font-size:13px;font-weight:800}.item-filters .toolbar{padding-top:12px}.item-filters select{min-width:150px}.items-page .item-availability{font-size:12px;max-width:900px}.items-page article.item-card{padding:16px;min-height:280px}.items-page .item-preview.build-item-trigger{width:100%;height:auto;min-height:175px;display:flex;flex-direction:column;align-items:start;padding:0;background:transparent;border:0;color:var(--ink);text-align:left;white-space:normal;box-shadow:none}.items-page .item-preview .game-icon{width:64px;height:64px;border-radius:0;flex:none}.items-page .item-preview small{margin-top:14px}.items-page .item-preview strong{margin-bottom:14px}.items-page .item-tags{font-size:10px;line-height:1.5;color:var(--muted);margin:12px 0}.items-page .item-page-link{margin-top:auto;padding-top:12px;min-height:40px;font-size:11px;font-weight:800;border-top:1px solid var(--line);width:100%}.items-page .item-card h2{font-size:25px;line-height:1.25;margin:12px 0;overflow-wrap:anywhere}.items-page .item-excerpt{font-size:12px;line-height:1.6}.items-page .item-more{margin-bottom:24px}.items-page :focus-visible{outline:3px solid var(--orange);outline-offset:3px}.item-page{max-width:1040px}.item-page .page-heading h1{font-size:clamp(40px,7vw,82px);overflow-wrap:anywhere}.item-page>h2,.item-reference-relations h2{font-size:32px;margin:30px 0 14px}.item-page>p{line-height:1.8}.item-page .note{font-size:12px}.item-reference-head{display:flex;align-items:center;gap:24px;margin-bottom:24px}.item-reference-head .game-icon{width:96px;height:96px;border-radius:0}.item-reference-head .game-icon img{width:82px;height:82px}.item-reference-price{font-family:var(--font-display);font-size:38px}.item-reference-facts{padding:20px 24px;border:1px solid var(--line);max-width:760px;background:#ffffff24}.item-reference-facts>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto);gap:24px;padding:14px 0;border-bottom:1px solid var(--line)}.item-reference-facts>div:last-child{border-bottom:0}.item-reference-facts dt{overflow-wrap:anywhere}.item-reference-facts dd{margin:0;font-weight:800;overflow-wrap:anywhere;text-align:right}.item-reference-relations li{padding-block:6px}.item-page .utility-actions{margin-top:36px;gap:24px}.items-page .item-filter-form .toolbar{padding-top:0}.item-preview[aria-describedby]:hover{transform:none}
@media(max-width:720px){.items-page .item-searchbar{top:var(--items-header-height,76px)}.item-filters .toolbar label{flex:1;min-width:140px}.items-page article.item-card{padding:14px;min-height:270px}.item-page .page-heading{padding-top:36px}.item-reference-facts{padding:12px 16px}.item-reference-facts>div{gap:12px;font-size:13px}.item-page .utility-actions{align-items:start;flex-direction:column}.items-page .item-page-link{font-size:10px}.items-page .item-filter-toggle{font-size:11px;padding-inline:14px}.item-searchbar input{font-size:14px}.item-searchbar .item-count{font-size:11px}.item-page .page-heading h1{font-size:clamp(40px,11vw,70px)}}
