/* Item database only. The rest of the theme keeps its existing styles. */
.item-db { padding: 0; overflow: hidden; }
.item-db-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; }
.item-db-heading .eyebrow { display: block; margin-bottom: 6px; color: var(--gold); font-size: 9px; letter-spacing: .18em; }
.item-db-heading h2 { margin: 0; font-size: 24px; }
.item-db-heading p { margin: 0; max-width: 320px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.item-db-scroll { overflow-x: auto; }
.item-db-table { margin: 0; min-width: 880px; font-size: 12px; }
.item-db-table th { padding: 13px 16px; background: #101b2c80; color: var(--winter); font-size: 10px; letter-spacing: .07em; border-top: 1px solid var(--line); }
.item-db-table td { padding: 17px 16px; border-right: 1px solid #36516760; border-bottom: 1px solid #36516780; }
.item-db-table td:last-child { border-right: 0; }
.item-db-table tbody tr { background: #101b2c24; }
.item-db-table tbody tr:nth-child(even) { background: #ffffff03; }
.item-db-table tbody tr:hover, .item-db-table tbody tr:focus-within { background: #9fdaf40b; }
.item-db-table th:first-child { width: 88px; }
.item-db-table th:nth-child(2) { width: 38%; }
.item-db-id { text-align: right; font-variant-numeric: tabular-nums; }
.item-db-id a { color: var(--winter); }
.item-db-identity { display: flex; gap: 12px; align-items: flex-start; }
.item-db .catalog-visual { width: 32px; min-width: 32px; height: 36px; margin-top: 1px; border: 0; border-radius: 5px; background: #101b2c55; }
.item-db .catalog-image { padding: 3px; width: 30px; height: 32px; }
.item-db .sprite-placeholder { font-size: 18px; }
.item-db .sprite-placeholder small { display: none; }
.item-db-name { min-width: 0; flex: 1; }
.item-db-title { color: var(--text); font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.item-db-title:hover { color: var(--gold); }
.item-db-slots { color: var(--gold); white-space: nowrap; }
.item-db-meta { display: block; color: var(--muted); font-size: 11px; line-height: 1.7; }
.item-db-prices { white-space: nowrap; font-variant-numeric: tabular-nums; }
.item-db-prices span { display: block; line-height: 1.8; }
.item-db-prices abbr { display: inline-block; min-width: 30px; color: var(--muted); font-size: 10px; }
.item-db-table abbr { text-decoration: none; }
.item-db-stat { font-variant-numeric: tabular-nums; }
.item-db-refine { display: inline-block; padding: 3px 8px; border-radius: 5px; font-size: 10px; line-height: 1.5; }
.item-db-refine.yes { background: #b8dfa910; color: var(--summer); }
.item-db-refine.no { background: #f2a6b20a; color: var(--red); }
.item-db-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.item-db :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 650px) {
	.item-db-heading { padding: 18px; align-items: flex-start; flex-direction: column; gap: 8px; }
	.item-db-heading p { max-width: none; }
	.item-db-table th, .item-db-table td { padding: 12px; }
}
