/* IRONScale v292 — database list: Sheet-like bands + overflow/header fix */
body[data-page="database"]{overflow-x:hidden}
body[data-page="database"] .site-shell{max-width:100%;overflow-x:clip}
body[data-page="database"] .topbar{max-width:100vw;box-sizing:border-box;z-index:80}
body[data-page="database"] .content-grid,
body[data-page="database"] .featured,
body[data-page="database"] #psuCards{min-width:0;max-width:100%}
.db-sheet-scroll-v292{width:100%;max-width:100%;overflow-x:auto;overflow-y:visible;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#7b6725 #090c09}
.db-sheet-scroll-v292::-webkit-scrollbar{height:10px}.db-sheet-scroll-v292::-webkit-scrollbar-track{background:#090c09}.db-sheet-scroll-v292::-webkit-scrollbar-thumb{background:#705d1e;border-radius:8px;border:2px solid #090c09}

/* Generic list table enhancement; works on the existing DB list renderer without replacing it. */
body[data-page="database"] table.iron-sheet-table-v292{border-collapse:separate!important;border-spacing:0!important;background:#080b08!important;color:#eee8d8!important}
body[data-page="database"] table.iron-sheet-table-v292 th,
body[data-page="database"] table.iron-sheet-table-v292 td{border-color:rgba(115,98,36,.30)!important;transition:background-color .12s ease,border-color .12s ease}
body[data-page="database"] table.iron-sheet-table-v292 thead th{color:#fff9df!important;text-shadow:0 1px rgba(0,0,0,.35)}
body[data-page="database"] table.iron-sheet-table-v292 tbody tr:hover td{filter:brightness(1.10)}
body[data-page="database"] table.iron-sheet-table-v292 tbody tr.iron-brand-start-v292 td{border-top:2px solid rgba(211,179,61,.62)!important}
body[data-page="database"] table.iron-sheet-table-v292 tbody tr.iron-brand-start-v292:first-child td{border-top-width:1px!important}

/* Sheet inspired column palette — dark mode */
body[data-page="database"] .iron-col-brand-v292,
body[data-page="database"] .iron-col-model-v292{background:#11170f!important}
body[data-page="database"] thead .iron-col-brand-v292,
body[data-page="database"] thead .iron-col-model-v292{background:#5e8c4b!important}
body[data-page="database"] .iron-col-watt-v292{background:#111810!important}
body[data-page="database"] thead .iron-col-watt-v292{background:#548240!important}
body[data-page="database"] .iron-col-tier-v292{background:#12150e!important}
body[data-page="database"] thead .iron-col-tier-v292{background:#af9b39!important}
body[data-page="database"] .iron-col-year-v292{background:#102018!important}
body[data-page="database"] thead .iron-col-year-v292{background:#4e9b6e!important}
body[data-page="database"] .iron-col-modular-v292{background:#211b09!important}
body[data-page="database"] thead .iron-col-modular-v292{background:#c29a24!important}
body[data-page="database"] .iron-col-efficiency-v292{background:#1b1911!important}
body[data-page="database"] thead .iron-col-efficiency-v292{background:#9b8b58!important}
body[data-page="database"] .iron-col-oem-v292{background:#20170d!important}
body[data-page="database"] thead .iron-col-oem-v292{background:#bf874e!important}
body[data-page="database"] .iron-col-platform-v292{background:#21170b!important}
body[data-page="database"] thead .iron-col-platform-v292{background:#b7772d!important}
body[data-page="database"] .iron-col-atxform-v292{background:#0d1d17!important}
body[data-page="database"] thead .iron-col-atxform-v292{background:#4da87a!important}
body[data-page="database"] .iron-col-atxversion-v292{background:#0b211b!important}
body[data-page="database"] thead .iron-col-atxversion-v292{background:#45a985!important}
body[data-page="database"] .iron-col-dc12-v292{background:#211d0c!important}
body[data-page="database"] thead .iron-col-dc12-v292{background:#c5a633!important}
body[data-page="database"] .iron-col-secondary-v292{background:#241314!important}
body[data-page="database"] thead .iron-col-secondary-v292{background:#b86e6c!important}
body[data-page="database"] .iron-col-5vsb-v292{background:#1c1727!important}
body[data-page="database"] thead .iron-col-5vsb-v292{background:#8d79ab!important}
body[data-page="database"] .iron-col-total-v292{background:#101d21!important}
body[data-page="database"] thead .iron-col-total-v292{background:#6e8d98!important}
body[data-page="database"] .iron-col-reviewed-v292{background:#131c27!important}
body[data-page="database"] thead .iron-col-reviewed-v292{background:#8299b2!important}
body[data-page="database"] .iron-col-other-v292{background:#0d110d!important}
body[data-page="database"] thead .iron-col-other-v292{background:#4c583c!important}

/* Keep tier badge dominant */
body[data-page="database"] .iron-col-tier-v292 [class*="tier"],
body[data-page="database"] .iron-col-tier-v292 .tier-badge{filter:saturate(1.08) brightness(1.05)}

/* Light theme gets much closer to the actual Sheet pastel blocks. */
body.light[data-page="database"] table.iron-sheet-table-v292{background:#f8f1e6!important;color:#18150f!important}
body.light[data-page="database"] .iron-col-brand-v292,body.light[data-page="database"] .iron-col-model-v292{background:#eef4e9!important}
body.light[data-page="database"] thead .iron-col-brand-v292,body.light[data-page="database"] thead .iron-col-model-v292{background:#75a95b!important}
body.light[data-page="database"] .iron-col-watt-v292{background:#edf3e8!important}body.light[data-page="database"] thead .iron-col-watt-v292{background:#6c9d54!important}
body.light[data-page="database"] .iron-col-tier-v292{background:#f4edcf!important}body.light[data-page="database"] thead .iron-col-tier-v292{background:#bca94c!important}
body.light[data-page="database"] .iron-col-year-v292{background:#d9f0e0!important}body.light[data-page="database"] thead .iron-col-year-v292{background:#5dcc91!important}
body.light[data-page="database"] .iron-col-modular-v292{background:#fff0b6!important}body.light[data-page="database"] thead .iron-col-modular-v292{background:#f0bf32!important}
body.light[data-page="database"] .iron-col-efficiency-v292{background:#ededed!important}body.light[data-page="database"] thead .iron-col-efficiency-v292{background:#b7b7b7!important}
body.light[data-page="database"] .iron-col-oem-v292{background:#f5c98e!important}body.light[data-page="database"] thead .iron-col-oem-v292{background:#e8ad63!important}
body.light[data-page="database"] .iron-col-platform-v292{background:#efb96c!important}body.light[data-page="database"] thead .iron-col-platform-v292{background:#da963d!important}
body.light[data-page="database"] .iron-col-atxform-v292{background:#bce7c8!important}body.light[data-page="database"] thead .iron-col-atxform-v292{background:#66ce94!important}
body.light[data-page="database"] .iron-col-atxversion-v292{background:#aee3cc!important}body.light[data-page="database"] thead .iron-col-atxversion-v292{background:#58c99c!important}
body.light[data-page="database"] .iron-col-dc12-v292{background:#fff3c5!important}body.light[data-page="database"] thead .iron-col-dc12-v292{background:#e1c553!important}
body.light[data-page="database"] .iron-col-secondary-v292{background:#f4c7c5!important}body.light[data-page="database"] thead .iron-col-secondary-v292{background:#d9908d!important}
body.light[data-page="database"] .iron-col-5vsb-v292{background:#d8cce8!important}body.light[data-page="database"] thead .iron-col-5vsb-v292{background:#a18dbd!important}
body.light[data-page="database"] .iron-col-total-v292{background:#d2e2e7!important}body.light[data-page="database"] thead .iron-col-total-v292{background:#91acb6!important}
body.light[data-page="database"] .iron-col-reviewed-v292{background:#d6e4f2!important}body.light[data-page="database"] thead .iron-col-reviewed-v292{background:#9eb8d2!important}

@media(max-width:900px){body[data-page="database"] .topbar{overflow-x:auto;overscroll-behavior-x:contain}}
