:root {
  color-scheme: dark;
  --bg: #070b0f;
  --panel: #111820;
  --panel-2: #17212b;
  --line: rgba(255, 255, 255, .11);
  --text: #f5f7fa;
  --muted: #a8b0ba;
  --blue: #4ca5ff;
  --blue-2: #1878ff;
  --green: #52d273;
  --yellow: #f6bc49;
  --orange: #f28643;
  --red: #f25f64;
  --purple: #b66cff;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .35);
  --site-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-family: var(--site-font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); }
button, input, select, textarea { font: inherit; }
a { color: inherit; }

.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 15, .82); backdrop-filter: blur(20px);
}
.nav { min-height: 74px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 21px; font-weight: 760; }
.brand img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 25px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.edit-controls { position: relative; }
.edit-toggle {
  display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(76,165,255,.35);
  border-radius: 10px; padding: 8px 11px; color: #b9dcff; background: rgba(76,165,255,.1);
  font-weight: 700; cursor: pointer;
}
.edit-toggle:hover, .edit-toggle[aria-expanded="true"] { color: white; border-color: rgba(76,165,255,.7); background: rgba(76,165,255,.18); }
.edit-menu {
  position: absolute; top: calc(100% + 12px); left: 0; z-index: 50; width: min(370px, calc(100vw - 28px));
  padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(17,24,32,.98);
  box-shadow: var(--shadow); backdrop-filter: blur(24px);
}
.edit-menu-heading { display: grid; gap: 3px; margin-bottom: 16px; }
.edit-menu-heading small, .edit-status { color: var(--muted); }
.edit-field { display: grid; gap: 7px; margin-top: 13px; color: var(--muted); font-size: 13px; font-weight: 650; }
.edit-field select, .edit-field input {
  width: 100%; min-height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px;
  background: rgba(255,255,255,.055); color: var(--text); outline: none;
}
.edit-field select:focus, .edit-field input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(76,165,255,.13); }
.edit-actions { display: flex; gap: 8px; margin-top: 14px; }
.edit-status { min-height: 34px; margin: 12px 0 0; font-size: 12px; line-height: 1.4; }
.button {
  border: 1px solid transparent; border-radius: 12px; padding: 11px 17px; font-weight: 720;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: white; box-shadow: 0 10px 30px rgba(24,120,255,.25); }
.button.secondary { background: rgba(255,255,255,.06); border-color: var(--line); color: var(--text); }
.button.danger { background: rgba(242,95,100,.12); border-color: rgba(242,95,100,.35); color: #ff9da1; }
.button.small { padding: 8px 12px; border-radius: 10px; font-size: 14px; }

.hero { min-height: 700px; display: grid; align-items: end; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; background: url('/assets/hero-wide.png') center/cover no-repeat;
  filter: saturate(.96) brightness(.9);
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,8,12,.78) 0%, rgba(4,8,12,.5) 38%, rgba(4,8,12,.02) 72%), linear-gradient(0deg, rgba(7,11,15,.86), transparent 31%); }
.hero-content { position: relative; z-index: 1; padding: 130px 0 120px; max-width: 620px; }
.eyebrow { color: #8bc4ff; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 800; }
h1 { margin: 16px 0 20px; font-size: clamp(46px, 6vw, 78px); line-height: .98; letter-spacing: -.045em; }
.hero p { font-size: 20px; line-height: 1.55; color: #d3d9df; max-width: 570px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.requirements { margin-top: 18px; color: var(--muted); font-size: 14px; }
.experimental-notice {
  display: grid; gap: 5px; max-width: 600px; margin-top: 22px; padding: 13px 15px;
  border: 1px solid rgba(246,188,73,.34); border-radius: 13px;
  background: rgba(18,14,7,.72); color: #f2f4f7; backdrop-filter: blur(12px);
}
.experimental-notice strong { color: #ffd77f; font-size: 14px; }
.experimental-notice span { color: #c9ced5; font-size: 13px; line-height: 1.45; }
.experimental-notice.compact { max-width: 720px; margin-top: 25px; background: rgba(246,188,73,.07); }

.section { padding: 92px 0; }
.section.alt { background: #f4f6f8; color: #10151a; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading h2 { margin: 8px 0 12px; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.035em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.alt .section-heading p { color: #5d6670; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step { padding: 24px; border: 1px solid rgba(12,20,28,.12); background: white; border-radius: 18px; min-height: 215px; }
.step-number { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #e7f1ff; color: #176fd8; font-weight: 850; }
.step h3 { margin: 24px 0 9px; font-size: 20px; }
.step p { color: #626b74; line-height: 1.55; margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 25px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.025)); border-radius: 18px; }
.feature .icon { color: var(--blue); font-size: 25px; }
.feature h3 { margin: 18px 0 8px; }
.feature p { color: var(--muted); line-height: 1.55; margin: 0; }
.feature-showcase { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: 72px; align-items: center; padding: 78px 0; border-bottom: 1px solid var(--line); }
.feature-showcase:first-child { padding-top: 0; }
.feature-showcase:last-child { border-bottom: 0; padding-bottom: 0; }
.feature-showcase.reverse .feature-copy { order: 2; }
.feature-showcase.reverse .feature-visual { order: 1; }
.feature-copy h2 { margin: 10px 0 17px; font-size: clamp(32px, 4vw, 50px); line-height: 1.04; letter-spacing: -.035em; }
.feature-copy p { color: var(--muted); font-size: 18px; line-height: 1.65; margin: 0; }
.feature-list { margin: 25px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; color: #d9dfe5; }
.feature-list li { position: relative; padding-left: 27px; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 850; }
.text-link { display: inline-block; margin-top: 24px; color: #8bc4ff; text-decoration: none; font-weight: 750; }
.text-link:hover { color: white; }
.feature-visual { min-height: 330px; border: 1px solid var(--line); border-radius: 26px; padding: 28px; background: radial-gradient(circle at 70% 10%, rgba(76,165,255,.14), transparent 42%), linear-gradient(145deg, #151e27, #0c1218); box-shadow: var(--shadow); overflow: hidden; }
.screenshot-visual { margin: 0; padding: 10px; min-height: 0; background: #111820; }
.screenshot-visual img { display: block; width: 100%; height: auto; border-radius: 17px; }
.screenshot-trigger { all: unset; display: block; width: 100%; border-radius: 17px; cursor: zoom-in; overflow: hidden; }
.screenshot-trigger img { transition: transform .22s ease, filter .22s ease; }
.screenshot-trigger:hover img { transform: scale(1.012); filter: brightness(1.07); }
.screenshot-trigger:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.catalog-preview { display: grid; grid-template-columns: 1.3fr .9fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.catalog-preview-card { position: relative; min-height: 125px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; background: linear-gradient(0deg, rgba(4,8,12,.96), rgba(25,47,66,.38)), url('/assets/hero-wide.png') 72% center/cover; }
.catalog-preview-card.featured { grid-row: 1 / 3; min-height: 270px; background-position: 38% center; }
.catalog-preview-card strong { font-size: 19px; }.catalog-preview-card small { color: var(--muted); }
.compatibility-chip { position: absolute; top: 14px; left: 14px; padding: 6px 9px; border-radius: 999px; background: rgba(3,7,10,.78); backdrop-filter: blur(8px); font-size: 12px; font-weight: 800; }
.compatibility-chip.excellent { color: var(--green); }.compatibility-chip.good { color: var(--blue); }.compatibility-chip.untested { color: var(--purple); }
.benchmark-preview { position: relative; display: flex; align-items: flex-start; justify-content: flex-end; background: linear-gradient(90deg, rgba(3,7,10,.05), rgba(3,7,10,.55)), url('/assets/hero-wide.png') center/cover; }
.benchmark-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,5,8,.56), transparent 52%); pointer-events: none; }
.benchmark-hud { position: relative; z-index: 1; width: min(255px, 68%); padding: 16px; border: 1px solid rgba(255,255,255,.22); border-radius: 13px; background: rgba(3,8,12,.78); backdrop-filter: blur(12px); box-shadow: 0 14px 40px rgba(0,0,0,.4); }
.fps-reading { display: flex; align-items: baseline; gap: 8px; padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }.fps-reading strong { color: var(--green); font-size: 42px; line-height: 1; }.fps-reading span { color: #d6dde4; font-weight: 800; }
.benchmark-stat { display: flex; justify-content: space-between; gap: 14px; margin: 8px 0; font-size: 12px; }.benchmark-stat span { color: var(--muted); }.benchmark-stat strong { color: white; }
.frame-chart { height: 42px; margin-top: 14px; display: flex; align-items: end; gap: 4px; }.frame-chart i { flex: 1; height: 55%; border-radius: 2px 2px 0 0; background: var(--green); opacity: .8; }.frame-chart i:nth-child(3n) { height: 78%; }.frame-chart i:nth-child(5n) { height: 42%; }.frame-chart i:nth-child(7n) { height: 92%; background: var(--yellow); }
.benchmark-label { position: absolute; z-index: 1; left: 22px; bottom: 20px; color: rgba(255,255,255,.78); font-size: 11px; font-weight: 850; letter-spacing: .16em; }
.image-lightbox { width: min(1500px, calc(100vw - 48px)); max-width: none; max-height: calc(100vh - 48px); padding: 46px 18px 16px; border: 1px solid var(--line); border-radius: 22px; color: var(--text); background: #090e13; box-shadow: var(--shadow); }
.image-lightbox::backdrop { background: rgba(0,0,0,.84); backdrop-filter: blur(8px); }
.image-lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 135px); margin: 0 auto; border-radius: 13px; object-fit: contain; }
.image-lightbox p { margin: 13px 0 0; color: var(--muted); text-align: center; }
.lightbox-close { position: absolute; top: 8px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: white; font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox-close:hover { background: rgba(255,255,255,.18); }
.footer { border-top: 1px solid var(--line); color: var(--muted); padding: 34px 0; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer a { color: var(--muted); }
#features { padding-bottom: 48px; }
.mac-gamers-badge { display: block; width: 220px; max-width: 60%; height: auto; margin: 36px auto 0; }

.page-hero { padding: 82px 0 38px; }
.page-hero h1 { font-size: clamp(42px, 5vw, 66px); }
.page-hero p { color: var(--muted); font-size: 19px; max-width: 720px; line-height: 1.55; }
.catalog-toolbar { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; margin: 18px 0 32px; }
.featured-catalog { margin: 8px 0 34px; }
.catalog-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.catalog-section-heading h2 { margin: 5px 0 0; font-size: 28px; }
.catalog-section-heading > span { color: var(--muted); font-size: 14px; }
.featured-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(245px, 280px); gap: 16px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; padding: 2px 2px 16px; scrollbar-width: thin; }
.featured-track .game-card { min-height: 294px; scroll-snap-align: start; }
.featured-track .game-art { height: 154px; }
.all-games-heading { margin: 4px 0 10px; }
.field, .select, .textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  color: var(--text); background: rgba(255,255,255,.055); outline: none;
}
.field:focus, .select:focus, .textarea:focus { border-color: rgba(76,165,255,.7); box-shadow: 0 0 0 3px rgba(76,165,255,.12); }
.select { min-width: 180px; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-bottom: 90px; }
.catalog-load-sentinel { min-height: 64px; color: var(--muted); gap: 12px; }
.game-card { position: relative; min-height: 310px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--panel); cursor: pointer; transition: transform .18s, border-color .18s; display: flex; flex-direction: column; }
.game-card:hover { transform: translateY(-3px); border-color: rgba(76,165,255,.45); }
.game-art { position: relative; height: 174px; width: 100%; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, #263341, #131a21); }
.game-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.game-art .art-backdrop { object-fit: cover; filter: blur(18px) brightness(.62) saturate(1.2); transform: scale(1.16); }
.game-art .art-foreground { object-fit: contain; z-index: 1; }
.game-art.fallback, .art-fallback-symbol { display: grid; place-items: center; font-size: 46px; color: #718092; }
.art-fallback-symbol { position: absolute; inset: 0; }
.game-body { padding: 17px; display: flex; flex: 1; flex-direction: column; }
.game-title { margin: 0 0 10px; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-meta { color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; gap: 10px; }
.game-card-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; }
.compat-gauge { --gauge-color: #a744eb; display: inline-grid; width: 78px; flex: 0 0 78px; justify-items: center; color: var(--gauge-color); }
.compat-gauge svg { width: 70px; height: 41px; overflow: visible; }
.compat-gauge path { fill: none; stroke-width: 9; stroke-linecap: round; }
.compat-gauge .gauge-track { stroke: #38434e; }
.compat-gauge .gauge-value { stroke: var(--gauge-color); }
.compat-gauge .gauge-needle { stroke: #eaf0f6; stroke-width: 2.5; stroke-linecap: round; }
.compat-gauge circle { fill: #eaf0f6; }
.compat-gauge strong { margin-top: -2px; font-size: 9px; letter-spacing: .05em; white-space: nowrap; }
.compat-gauge.excellent { --gauge-color: #3ddc72; }.compat-gauge.good { --gauge-color: #4ca5ff; }.compat-gauge.playable { --gauge-color: #f3c64e; }.compat-gauge.poor { --gauge-color: #f06449; }
.steam-review { display: block; margin-top: 12px; color: var(--muted); font-size: 12px; }
.detail-steam-review { margin-top: 12px; font-size: 14px; }
.card-store-link { color: var(--blue); font-size: 14px; font-weight: 750; text-decoration: none; padding-bottom: 1px; }
.card-store-link:hover { text-decoration: underline; }
.detail-rating { margin-top: 12px; font-size: 22px; }
.rating-pill { position: absolute; top: 12px; left: 12px; border-radius: 999px; padding: 7px 10px; background: rgba(4,8,12,.82); backdrop-filter: blur(10px); font-size: 13px; font-weight: 800; }
.rating-pill.excellent { color: var(--green); }.rating-pill.good { color: var(--blue); }.rating-pill.playable { color: var(--yellow); }.rating-pill.poor { color: var(--red); }.rating-pill.untested { color: var(--purple); }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.metric { background: rgba(255,255,255,.045); border-radius: 10px; padding: 10px; }
.metric strong { display: block; font-size: 16px; }.metric span { color: var(--muted); font-size: 11px; }
.empty-state { grid-column: 1/-1; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; padding: 70px 24px; color: var(--muted); }
.notice { padding: 14px 16px; border: 1px solid rgba(76,165,255,.3); background: rgba(76,165,255,.08); border-radius: 12px; color: #cce6ff; }
.notice.error { border-color: rgba(242,95,100,.4); background: rgba(242,95,100,.1); color: #ffc2c5; }
.hidden { display: none !important; }
.center { display: flex; justify-content: center; margin: 28px 0 8px; }

.dialog { border: 1px solid var(--line); border-radius: 24px; padding: 0; color: var(--text); background: #0d141b; width: min(900px, calc(100% - 32px)); box-shadow: var(--shadow); }
.dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(8px); }
.dialog-content { padding: 30px; }.dialog-close { float: right; }
.detail-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; }
.detail-art { position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden; border-radius: 16px; background: var(--panel-2); }
.detail-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.detail-art .art-backdrop { object-fit: cover; filter: blur(22px) brightness(.62) saturate(1.2); transform: scale(1.16); }
.detail-art .art-foreground { object-fit: contain; z-index: 1; }
.detail-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }

.auth-wrap { min-height: calc(100vh - 75px); display: grid; place-items: center; padding: 40px 20px; }
.auth-card, .admin-panel { width: min(480px, 100%); border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 38px; }.stack { display: grid; gap: 14px; }.label { display: grid; gap: 7px; color: var(--muted); font-size: 14px; }
.remember-device { display: flex; align-items: flex-start; gap: 10px; padding: 4px 0; color: var(--text); cursor: pointer; }
.remember-device input { margin-top: 3px; }
.remember-device span { display: grid; gap: 2px; }
.remember-device small { color: var(--muted); }
.auth-card :disabled { cursor: not-allowed; opacity: .58; }
.admin-layout { display: grid; grid-template-columns: 340px 1fr; gap: 22px; padding: 36px 0 80px; }
.admin-panel { width: auto; padding: 22px; }
.admin-list { display: grid; gap: 8px; max-height: 70vh; overflow: auto; }
.admin-game { text-align: left; border: 1px solid var(--line); background: rgba(255,255,255,.035); color: var(--text); padding: 12px; border-radius: 10px; cursor: pointer; }
.admin-game:hover { border-color: rgba(76,165,255,.5); }.admin-game small { color: var(--muted); display: block; margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.form-grid .wide { grid-column: 1/-1; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.admin-page { padding-top: 28px; padding-bottom: 80px; }
.admin-page > .notice { margin-bottom: 18px; }
.admin-tabs { display: inline-flex; gap: 4px; margin-bottom: 22px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.admin-tab { border: 0; border-radius: 9px; padding: 10px 18px; color: var(--muted); background: transparent; cursor: pointer; font: inherit; font-weight: 750; }
.admin-tab.active { color: white; background: rgba(76,165,255,.22); }
.admin-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.admin-panel-heading h2 { margin: 0; }
.admin-list { margin-top: 14px; }
.featured-admin { grid-column: 2; }
.admin-workspace { grid-column: 2; }
.workspace-tabs { display:flex; gap:6px; overflow-x:auto; margin:20px 0; padding-bottom:6px; }
.workspace-tab { white-space:nowrap; border:1px solid var(--line); border-radius:9px; padding:8px 12px; color:var(--muted); background:rgba(255,255,255,.025); cursor:pointer; font:inherit; font-weight:700; }
.workspace-tab.active { color:white; border-color:rgba(76,165,255,.6); background:rgba(76,165,255,.18); }
.workspace-panel { border-top:1px solid var(--line); padding-top:18px; }
.check-label { display:flex; align-items:center; gap:9px; color:var(--text); font-weight:700; padding-top:26px; }
.override-list { display:grid; gap:8px; margin-top:18px; }
.override-row { display:flex; justify-content:space-between; gap:12px; align-items:center; border:1px solid var(--line); border-radius:10px; padding:11px 12px; background:rgba(255,255,255,.025); }
.override-row span, .override-row small { display:block; color:var(--muted); }
.notice.warning { background:rgba(255,177,45,.1); border-color:rgba(255,177,45,.35); color:#ffd08a; margin-top:14px; }
.admin-preview-card { border:1px solid var(--line); border-radius:14px; overflow:hidden; background:#17191d; }
.admin-preview-art { min-height:180px; padding:22px; display:flex; align-items:flex-end; background-size:cover; background-position:center; position:relative; }
.admin-preview-art::before { content:""; position:absolute; inset:0; background:linear-gradient(transparent,rgba(0,0,0,.9)); }
.admin-preview-art > div { position:relative; }
.admin-preview-badge { display:inline-block; margin-top:8px; border:1px solid #ae58ff; color:#cf83ff; border-radius:999px; padding:7px 12px; font-weight:800; }
.featured-candidates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0 20px; }
.featured-order { display: grid; gap: 8px; }
.featured-admin-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.035); }
.featured-admin-row strong { display: flex; align-items: center; gap: 10px; min-width: 0; }
.featured-admin-row strong span { color: var(--blue); }
.featured-admin-row > div { display: flex; gap: 6px; }
.muted { color: var(--muted); }
.admin-release-grid { display: grid; grid-template-columns: minmax(360px,.8fr) minmax(500px,1.2fr); gap: 22px; }
.release-list { display: grid; gap: 10px; margin-top: 18px; }
.release-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); }
.release-row.stable { border-color: rgba(61,220,114,.4); background: rgba(61,220,114,.055); }
.release-row strong, .release-row span { display: block; }
.release-row strong small { color: var(--muted); }
.release-row span { margin-top: 3px; color: var(--muted); font-size: 12px; }
.release-row-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.stats-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.stat-card { display: flex; flex-direction: column; gap: 9px; }
.stat-card > span { color: var(--muted); font-weight: 750; }
.stat-card > strong { font-size: 44px; }
.stat-card > small { color: var(--muted); }
.stat-card.wide { grid-column: 1/-1; }
.country-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px 20px; }
.country-stats div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.admin-dialog { width: min(680px,calc(100vw - 32px)); padding: 26px; border: 1px solid var(--line); border-radius: 18px; color: var(--text); background: var(--panel); box-shadow: var(--shadow); }
.admin-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(7px); }
.admin-dialog .label { margin-top: 14px; }

@media (max-width: 900px) {
  .steps, .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }.featured-admin, .admin-workspace { grid-column: auto; }.featured-candidates { grid-template-columns: 1fr; }
  .admin-release-grid { grid-template-columns: 1fr; }
  .feature-showcase { grid-template-columns: 1fr; gap: 32px; }
  .feature-showcase.reverse .feature-copy, .feature-showcase.reverse .feature-visual { order: initial; }
}
@media (max-width: 640px) {
  .catalog-section-heading { align-items: start; flex-direction: column; gap: 6px; }
  .featured-track { grid-auto-columns: minmax(230px, 82vw); }
}
@media (max-width: 650px) {
  .shell { width: min(100% - 24px, 1180px); }
  .nav-links a:not(.button) { display: none; }
  .edit-menu { position: fixed; top: 68px; left: 12px; right: 12px; width: auto; }
  .hero { min-height: 650px; }.hero-content { padding: 100px 0 86px; }
  .steps, .catalog-grid, .detail-layout, .detail-stats, .form-grid { grid-template-columns: 1fr; }
  .catalog-toolbar { grid-template-columns: 1fr; }.form-grid .wide { grid-column: auto; }
  .feature-showcase { padding: 56px 0; }.feature-visual { min-height: 280px; padding: 18px; }
  .catalog-preview { grid-template-columns: 1fr; grid-template-rows: auto; }.catalog-preview-card.featured { grid-row: auto; min-height: 180px; }.catalog-preview-card { min-height: 120px; }
  .image-lightbox { width: calc(100vw - 20px); padding: 44px 10px 12px; }
  .stats-grid, .country-stats { grid-template-columns: 1fr; }
  .stat-card.wide { grid-column: auto; }
  .release-row { align-items: flex-start; flex-direction: column; }
}
.release-summary{margin-top:12px;color:var(--muted);font-size:.86rem;max-width:620px}.release-download.unavailable{opacity:.55;cursor:not-allowed}
