.game-catalog { --gc-gold: #e4bf76; --gc-border: rgba(228,191,118,.2); color: #ede7d7; }
.game-catalog a { color: var(--gc-gold); }
.game-catalog p { line-height: 1.65; }
.gc-tabs { display: flex; flex-wrap: wrap; gap: .45rem; padding-bottom: 1.4rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--gc-border); }
.gc-tabs a { padding: .65rem .95rem; text-decoration: none; border: 1px solid transparent; border-radius: .65rem; color: #bdb6a7; }
.gc-tabs a:hover, .gc-tabs .is-active { background: rgba(228,191,118,.1); color: #ffe1a0; border-color: var(--gc-border); }
.game-catalog .gc-kicker { color: var(--gc-gold); letter-spacing: .13em; font-size: .7rem; margin: 0 0 .55rem; font-weight: 700; }
.game-catalog h2 { margin-top: 0; }
.gc-collections { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin: 1.75rem 0; }
.game-catalog .gc-collection { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; padding: 1.4rem; border: 1px solid var(--gc-border); background: linear-gradient(145deg,rgba(228,191,118,.08),rgba(14,18,25,.6)); border-radius: 1rem; text-decoration: none; color: #d7d0c0; }
.gc-collection:hover { border-color: #d1a44e; transform: translateY(-2px); }
.gc-collection-icon { font-size: 1.7rem; }
.gc-collection strong { font-size: 1.15rem; color: #fff0ce; }
.gc-collection .gc-explore { margin-top: .6rem; color: var(--gc-gold); font-size: .85rem; }
.gc-quick-search, .gc-filters { background: rgba(10,14,20,.5); border: 1px solid var(--gc-border); padding: 1.15rem; border-radius: .9rem; margin: 1.5rem 0; }
.game-catalog label { display: flex; flex-direction: column; gap: .5rem; font-size: .82rem; font-weight: 600; color: #d8cdb6; }
.gc-search-row { display: flex; gap: .65rem; margin-top: .65rem; }
.game-catalog input[type=search], .game-catalog select { font: inherit; width: 100%; min-width: 0; padding: .7rem .8rem; border: 1px solid rgba(228,191,118,.25); border-radius: .5rem; background: #111822; color: #f8edda; }
.game-catalog input[type=search] { flex: 1; }
.game-catalog button { cursor: pointer; padding: .7rem 1.05rem; border: 1px solid #e4bf76; border-radius: .5rem; background: #ddbc7b; color: #171717; font: inherit; font-weight: 700; }
.game-catalog :focus-visible { outline: 2px solid #ffdf93; outline-offset: 3px; }
.game-catalog .gc-note { margin: 1.5rem 0; padding: 1.1rem 1.25rem; border: 1px solid var(--gc-border); border-left: 3px solid var(--gc-gold); border-radius: .65rem; background: rgba(228,191,118,.045); }
.gc-note p:last-child { margin-bottom: 0; }
.gc-filters { display: flex; align-items: end; flex-wrap: wrap; gap: .85rem; }
.gc-filters label { flex: 1 1 130px; }
.gc-filters .gc-search-label { flex: 2 1 220px; }
.gc-filters .gc-check { flex-direction: row; align-items: center; flex: 0 1 auto; padding-bottom: .65rem; }
.gc-reset { font-size: .82rem; padding-bottom: .8rem; }
.gc-result-heading { display: flex; justify-content: space-between; gap: 1rem; margin: 1.2rem 0; font-size: .85rem; }
.gc-result-heading span, .gc-small { color: #b4ac9b; font-size: .8rem; }
.gc-table-wrap { overflow-x: auto; max-width: 100%; border: 1px solid var(--gc-border); border-radius: .7rem; }
.game-catalog table { width: 100%; border-collapse: collapse; margin: 0; font-size: .85rem; }
.game-catalog th { text-align: left; font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: #c8b58c; background: rgba(228,191,118,.055); }
.game-catalog td, .game-catalog th { padding: .85rem .8rem; border-bottom: 1px solid rgba(228,191,118,.09); vertical-align: middle; }
.game-catalog tr:last-child td { border-bottom: 0; }
.game-catalog tbody tr:hover { background: rgba(228,191,118,.035); }
.gc-name { font-weight: 600; text-decoration: none; }
.gc-badge { display: inline-block; border: 1px solid; border-radius: 999px; padding: .27rem .55rem; font-size: .65rem; line-height: 1.3; }
.gc-confirmed { color: #a3d7ae; border-color: rgba(126,193,140,.24); background: rgba(126,193,140,.07); }
.gc-unknown { color: #c9bd9f; border-color: rgba(201,189,159,.24); background: rgba(201,189,159,.05); }
.gc-custom, .gc-mini { color: #e1bdff; background: rgba(157,101,195,.1); border-color: rgba(157,101,195,.3); }
.gc-mini { display: inline-block; margin-left: .5rem; padding: .2rem .4rem; border-radius: .3rem; font-size: .6rem; }
.gc-back { display: inline-block; margin-bottom: 1.3rem; font-size: .85rem; }
.gc-detail-title { display: flex; align-items: center; gap: .85rem; margin-bottom: .8rem; }
.game-catalog .gc-detail-title h2 { margin: 0; }
.game-catalog .gc-item-icon { image-rendering: pixelated; width: 24px; height: 24px; flex: 0 0 24px; object-fit: contain; }
.gc-item-link, .gc-monster-link { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.gc-monster-portrait { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 80px; width: 80px; height: 88px; }
.gc-monster-portrait picture { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.game-catalog .gc-monster-portrait img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; image-rendering: pixelated; }
.gc-detail-title > .gc-monster-portrait { flex-basis: 140px; width: 140px; height: 144px; }
.gc-portrait-unavailable { color: #b4ac9b; font-size: 2rem; }
@media(max-width:650px) { .gc-monster-portrait { flex-basis: 56px; width: 56px; height: 64px; } .gc-detail-title > .gc-monster-portrait { flex-basis: 96px; width: 96px; height: 112px; } }
.gc-stat-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(115px,1fr)); gap: .65rem; margin: 1.5rem 0; }
.gc-stat-grid div { background: rgba(228,191,118,.035); border: 1px solid var(--gc-border); border-radius: .5rem; padding: .85rem; }
.gc-stat-grid dt { font-size: .68rem; text-transform: uppercase; color: #bfb08f; margin-bottom: .4rem; }
.gc-stat-grid dd { margin: 0; font-weight: 600; color: #fff0d0; }
.gc-secondary-stats { grid-template-columns: repeat(6,minmax(0,1fr)); }
.gc-description { line-height: 1.75; font-size: .9rem; white-space: normal; padding: 1rem 1.2rem; border-left: 2px solid var(--gc-border); background: rgba(0,0,0,.1); }
.gc-source { padding: 1rem 0; border-bottom: 1px solid var(--gc-border); font-size: .9rem; }
.gc-source li { margin: .35rem 0; }
.gc-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 1.25rem; margin: 1.5rem 0; font-size: .85rem; }
.gc-pagination a { padding: .6rem .9rem; border: 1px solid var(--gc-border); border-radius: .5rem; text-decoration: none; }
@media(max-width:650px) { .gc-collections { grid-template-columns: 1fr; } .game-catalog .gc-collection { padding: 1.1rem; } .gc-search-row { flex-wrap: wrap; } .gc-search-row button { width: 100%; } .gc-filters label { flex-basis: 100%; } .gc-secondary-stats { grid-template-columns: repeat(3,1fr); } .game-catalog th, .game-catalog td { padding: .7rem .55rem; } .gc-tabs a { padding: .55rem .65rem; font-size: .85rem; } }
/* Keep the global submit-button width from squeezing the catalogue search. */
.game-catalog .gc-search-row button { flex: 0 0 auto; width: auto; }
@media(max-width:650px) { .game-catalog .gc-search-row button { width: 100%; } }
