@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root { font-family: 'DM Sans', system-ui, sans-serif; color: #f4f3f0; background: #0d1013; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 80% -20%, #243127 0, transparent 44%), #0d1013; }
.topbar { height: 72px; padding: 0 max(28px, calc((100% - 1100px) / 2)); display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #ffffff12; background: #0d1013d9; }
.brand { text-decoration: none; color: #f6f6f2; font-family: Manrope, sans-serif; font-weight: 800; letter-spacing: -.5px; }
.brand span { margin-left: 8px; padding: 4px 7px; border-radius: 5px; color: #c5fc79; background: #c5fc7917; font: 700 10px 'DM Sans', sans-serif; letter-spacing: 1px; vertical-align: 2px; }
.health { display: flex; gap: 8px; align-items: center; text-decoration: none; color: #adb4ae; font-size: 12px; }
.health i { width: 7px; height: 7px; border-radius: 50%; background: #9ce45a; box-shadow: 0 0 10px #9ce45a99; }
.layout { width: min(100% - 40px, 980px); margin: 0 auto; }
.intro { padding: 56px 0 36px; }
.eyebrow { margin: 0 0 9px; color: #b7e77f; font-size: 10px; font-weight: 700; letter-spacing: 1.8px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 13px; font: 800 clamp(38px, 7vw, 62px)/1.04 Manrope, sans-serif; letter-spacing: -3px; }
h1 em { color: #c5fc79; font-style: normal; }
.subtext { margin: 0; color: #9aa19d; font-size: 15px; }
.launch-settings, .catalog-section { padding: 25px; border: 1px solid #ffffff13; border-radius: 14px; background: linear-gradient(145deg, #191e1c, #141719); }
.launch-settings { margin-bottom: 22px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.section-heading h2, .section-heading h3 { margin: 0; font: 700 20px Manrope, sans-serif; letter-spacing: -.5px; }
.settings-hint, .muted { color: #7e8982; font-size: 12px; }
.settings-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-top: 20px; }
label { display: grid; gap: 7px; color: #aeb8b0; font-size: 11px; font-weight: 600; }
input, select { width: 100%; height: 41px; padding: 0 11px; border: 1px solid #303934; border-radius: 7px; outline: none; color: #f5f4ef; background: #101412; font: 13px 'DM Sans', sans-serif; }
input:focus, select:focus { border-color: #a6d966; box-shadow: 0 0 0 2px #a6d96622; }
input::placeholder { color: #626c65; }
.terminal-field { grid-column: span 1; }
.small-note { margin: 13px 0 0; color: #737d76; font-size: 11px; }
.catalog-heading { margin-bottom: 17px; }
.quiet-button { padding: 8px 12px; border: 1px solid #3b443d; border-radius: 7px; color: #dbe0d8; background: #202622; font: 600 12px 'DM Sans', sans-serif; cursor: pointer; }
.quiet-button:hover { border-color: #a6d966; }
.status { margin: 0 0 15px; color: #a1aaa2; font-size: 13px; }
.status.error { color: #ff9c91; }
.provider-list, .category-list { display: flex; flex-wrap: wrap; gap: 9px; }
.provider-card, .category-chip { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 9px 13px; border: 1px solid #303934; border-radius: 8px; color: #e8ece5; background: #171d19; font: 600 13px 'DM Sans', sans-serif; cursor: pointer; transition: .15s ease; }
.provider-card:hover, .category-chip:hover { border-color: #8eaf65; background: #202920; }
.provider-card.selected, .category-chip.selected { border-color: #b9f276; color: #d5f9ab; background: #9fc85d19; }
.provider-mark { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 6px; color: #c5fc79; background: #c5fc7917; font-size: 11px; font-weight: 700; }
.catalog-block { margin-top: 29px; padding-top: 22px; border-top: 1px solid #ffffff11; }
.compact { margin-bottom: 14px; align-items: baseline; }
.compact h3 { font-size: 16px; }
.category-chip { min-height: 35px; padding: 7px 11px; font-size: 12px; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 12px; }
.game-card { min-height: 140px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 16px; border: 1px solid #303934; border-radius: 10px; color: inherit; text-align: left; background: linear-gradient(150deg, #202823, #151a17); cursor: pointer; transition: transform .16s, border-color .16s, background .16s; }
.game-card:hover { transform: translateY(-2px); border-color: #9fcf68; background: linear-gradient(150deg, #29372a, #171e19); }
.game-card:disabled { cursor: not-allowed; opacity: .48; }
.game-card:disabled:hover { transform: none; border-color: #303934; background: linear-gradient(150deg, #202823, #151a17); }
.game-title { font: 700 15px Manrope, sans-serif; }
.game-meta { display: flex; width: 100%; justify-content: space-between; gap: 8px; color: #89938b; font-size: 10px; }
.game-type { color: #c6ec9b; }
.catalog-note { padding-top: 15px; }
footer { padding: 27px 0 36px; color: #68716b; text-align: center; font-size: 11px; }
[hidden] { display: none !important; }
@media (max-width: 720px) { .settings-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .topbar { padding: 0 20px; } .launch-settings, .catalog-section { padding: 19px; } .settings-hint { max-width: 120px; text-align: right; } }
@media (max-width: 420px) { .settings-grid { grid-template-columns: 1fr 1fr; } .layout { width: min(100% - 24px, 980px); } .intro { padding-top: 42px; } h1 { letter-spacing: -2px; } }
