:root {
  --bg: #111315;
  --panel: #181b1e;
  --panel-2: #202428;
  --border: #2b3034;
  --text: #f1f3ee;
  --muted: #909899;
  --faint: #636b6d;
  --lime: #cbf582;
  --lime-dim: rgba(203, 245, 130, .12);
  --radius: 14px;
  --side: 208px;
  --top: 76px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.5 Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

/* ---------- 框架 ---------- */
.app { display: flex; min-height: 100vh; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 30;
  width: var(--side); padding: 22px 16px 18px;
  display: flex; flex-direction: column;
  background: var(--bg); border-right: 1px solid var(--border);
  overflow-y: auto;
}
.main { flex: 1; min-width: 0; margin-left: var(--side); }
.scrim { display: none; }

.brand { display: flex; align-items: center; gap: 10px; padding: 0 12px 0 14px; }
.brand-mark {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--lime); color: #15200a; font-weight: 800; font-size: 17px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 19px; letter-spacing: .06em; }
.brand-text small { margin-top: 3px; color: var(--muted); font-size: 10px; letter-spacing: .12em; }

.side-nav { margin-top: 26px; flex: 1; }
.side-label { margin: 22px 14px 8px; color: var(--faint); font-size: 12px; }
.side-label:first-child { margin-top: 0; }
.side-nav a {
  display: flex; align-items: center; gap: 12px;
  height: 42px; padding: 0 12px 0 14px; margin-bottom: 4px; border-radius: 10px;
  color: #c9cfcc; transition: background .15s, color .15s;
}
.side-nav a:hover { background: var(--panel); color: var(--text); }
.side-nav a.active { background: var(--lime); color: #15200a; font-weight: 600; }
.side-nav a span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-nav .dot { width: 6px; height: 6px; margin: 0 6px; border-radius: 50%; background: var(--lime); }
.count {
  min-width: 20px; padding: 0 6px; border: 1px solid var(--border); border-radius: 6px;
  color: var(--muted); font: 500 11px/18px Inter, system-ui; font-style: normal; text-align: center;
}
.count:empty { display: none; }
.side-nav a.active .count { border-color: rgba(21, 32, 10, .3); color: #15200a; }

.side-foot { margin-top: 20px; display: grid; gap: 14px; }
.dev-card {
  display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-radius: 10px;
  color: var(--muted); font-size: 13px; transition: color .15s, background .15s;
}
.dev-card:hover { background: var(--panel); color: var(--text); }
.dev-card svg { width: 16px; height: 16px; }
.dev-card span { flex: 1; }
.dev-card .out { width: 14px; height: 14px; }
.lang-switch { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: 10px; }
.lang-switch button { flex: 1; height: 28px; border-radius: 7px; color: var(--muted); font-size: 12px; }
.lang-switch button.active { background: var(--panel-2); color: var(--text); }

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 18px;
  height: var(--top); padding: 0 34px;
  background: rgba(17, 19, 21, .88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.tabs { display: flex; align-items: center; gap: 26px; align-self: stretch; flex: 1; }
.tabs a { position: relative; display: flex; align-items: center; height: 100%; color: var(--muted); }
.tabs a.active { color: var(--text); }
.tabs a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--lime); }
.pill {
  padding: 2px 8px; border: 1px solid #454c50; border-radius: 5px;
  color: #c9cfcc; font-size: 10px; font-weight: 700; letter-spacing: .14em;
}
.search {
  display: flex; align-items: center; gap: 10px;
  width: 274px; height: 38px; padding: 0 10px 0 14px;
  border: 1px solid var(--border); border-radius: 10px; background: var(--panel);
}
.search svg { color: var(--muted); width: 16px; height: 16px; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 13px; }
.search input::placeholder { color: var(--faint); }
.search input::-webkit-search-cancel-button { display: none; }
.search kbd { padding: 0 6px; border: 1px solid var(--border); border-radius: 4px; color: var(--faint); font: 11px/18px Inter, system-ui; }
.top-link { display: flex; align-items: center; gap: 8px; color: #c9cfcc; }
.top-link:hover { color: var(--text); }
.icon-btn {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #c9cfcc;
  transition: background .15s, color .15s;
}
.icon-btn:hover { background: var(--panel-2); color: var(--text); }
.only-mobile, .drawer-close { display: none; }

.content { padding: 30px 34px 40px; max-width: 1400px; }

/* ---------- 首页 ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr); gap: 18px; margin-bottom: 22px; }
.feature {
  position: relative; min-height: 308px; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel);
}
.feature-media { position: absolute; inset: 0; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s; }
.feature-media.icon-only { background: var(--accent-bg, linear-gradient(120deg, #1d3a2a, #22303a)); }
.feature-media.icon-only .blur { inset: -20%; width: 140%; height: 140%; filter: blur(40px) saturate(1.4) brightness(.5); }
.feature-media.icon-only img:not(.blur) { left: auto; right: 7%; top: 50%; width: min(40%, 230px); bottom: auto; height: auto; aspect-ratio: 1; transform: translateY(-50%); border-radius: 22px; }
.feature::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(12, 18, 16, .92) 0%, rgba(12, 18, 16, .6) 38%, rgba(12, 18, 16, 0) 68%);
}
.feature-body { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; min-height: 308px; padding: 32px 30px 22px; max-width: 470px; }
.eyebrow { color: #c9cfcc; font-size: 12px; }
.feature h2 { margin-top: 10px; font-size: 38px; line-height: 1.15; font-weight: 700; }
.feature-sub { margin-top: 8px; color: #cdd3cc; font-size: 13px; }
.feature-text { margin-top: 18px; color: #dfe4dc; font-size: 13px; line-height: 1.8; white-space: pre-line; max-width: 320px; }
.feature-text:empty { display: none; }
.feature-actions { display: flex; gap: 10px; margin-top: 22px; }
.feature-foot { display: flex; align-items: center; gap: 22px; margin-top: auto; padding-top: 22px; }
.dots { display: flex; gap: 10px; }
.dots button { width: 5px; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .45); transition: width .2s, background .2s; }
.dots button.active { width: 20px; background: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 40px; padding: 0 18px; border-radius: 8px; font-weight: 600; font-size: 13px; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn svg { width: 16px; height: 16px; }
.btn.primary { background: var(--lime); color: #15200a; }
.btn.primary:hover { background: #d8fb9c; }
.btn.primary:active { transform: translateY(1px); }
.btn.ghost { border: 1px solid rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .2); color: var(--text); }
.btn.ghost:hover { border-color: rgba(255, 255, 255, .5); }
.btn.outline { border: 1px solid #4a5a3a; background: rgba(203, 245, 130, .06); color: var(--text); }
.btn.outline:hover { border-color: var(--lime); }
.btn.secondary { border: 1px solid var(--border); background: var(--panel-2); color: var(--text); }
.btn.secondary:hover { border-color: #3d4449; }
.btn.block { display: flex; width: 100%; height: 44px; }
.btn:disabled { opacity: .6; cursor: default; }

.picks { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.pick {
  position: relative; display: flex; flex-direction: column; justify-content: center; overflow: hidden;
  min-height: 145px; padding: 20px 22px; text-align: left;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--accent-bg, linear-gradient(120deg, #25233a, #2d2a44));
  transition: border-color .2s;
}
.pick:hover { border-color: #4a5055; }
.pick img { position: absolute; right: 0; top: 0; width: 58%; height: 100%; object-fit: cover; transition: transform .4s; }
.pick.icon-only img { right: 18px; top: 50%; width: 92px; height: 92px; border-radius: 18px; transform: translateY(-50%); }
.pick:hover img { transform: scale(1.04); }
.pick.icon-only:hover img { transform: translateY(-50%) scale(1.04); }
.pick::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 16, 22, .9) 30%, rgba(15, 16, 22, 0) 72%); pointer-events: none; }
.pick > * { position: relative; z-index: 1; }
.pick .eyebrow { font-size: 12px; }
.pick h3 { margin-top: 6px; font-size: 22px; font-weight: 700; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick p { margin-top: 6px; color: #c1c7c3; font-size: 12px; max-width: 58%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick p:empty { display: none; }

.providers { display: flex; align-items: center; gap: 22px; margin-bottom: 34px; }
.providers-label { width: 28px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.provider-row { flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.provider {
  display: flex; align-items: center; justify-content: center; gap: 12px; height: 58px; padding: 0 16px;
  border: 1px solid var(--border); border-radius: 10px; background: var(--panel); transition: border-color .15s, background .15s;
}
.provider:hover { border-color: #3d4449; }
.provider.active { border-color: #5e7a3a; background: #1f2a1b; }
.provider .logo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: var(--panel-2); font-weight: 800; font-size: 13px; color: var(--lime); }
.provider span { display: flex; flex-direction: column; min-width: 0; text-align: left; }
.provider strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.provider small { color: var(--muted); font-size: 12px; }

/* ---------- 游戏列表 ---------- */
.catalog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.catalog-head h2 { display: flex; align-items: center; gap: 12px; font-size: 20px; }
.catalog-head h2 svg { width: 20px; height: 20px; }
.catalog-tools { display: flex; gap: 12px; }
.select { position: relative; }
.select select {
  appearance: none; height: 34px; padding: 0 30px 0 12px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--panel); font-size: 12px; cursor: pointer;
}
.select::after { content: ""; position: absolute; right: 12px; top: 13px; width: 5px; height: 5px; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
.toggle { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: 8px; }
.toggle button { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 6px; border-radius: 5px; color: var(--muted); font-size: 12px; }
.toggle button svg { width: 15px; height: 15px; }
.toggle button.active { background: var(--panel-2); color: var(--lime); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 20px; }
.chips button {
  display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: 6px; color: #c9cfcc; font-size: 12px; transition: border-color .15s;
}
.chips button:hover { border-color: #3d4449; }
.chips button em { color: var(--faint); font-style: normal; font-size: 11px; }
.chips button.active { border-color: #5e7a3a; background: #1f2a1b; color: var(--text); }

.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.card { position: relative; min-width: 0; cursor: pointer; }
.cover {
  position: relative; aspect-ratio: .83; overflow: hidden;
  border: 1px solid var(--border); border-radius: 12px; background: var(--panel-2);
  transition: border-color .2s, transform .2s;
}
.card:hover .cover { border-color: #4a5055; transform: translateY(-2px); }
.cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .cover > img { transform: scale(1.04); }
.cover.icon-only .blur { position: absolute; inset: -20%; width: 140%; height: 140%; object-fit: cover; filter: blur(26px) saturate(1.3) brightness(.55); }
.cover.icon-only > img:not(.blur) { inset: 16% 18% auto; width: 64%; height: auto; aspect-ratio: 1; border-radius: 18%; }
.cover.no-image { background: linear-gradient(150deg, #253026, #1a1f24); }
.badge {
  position: absolute; left: 10px; top: 10px; z-index: 2; padding: 1px 7px;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 5px; background: rgba(12, 14, 16, .72);
  color: #e4e8e2; font-size: 10px; backdrop-filter: blur(6px);
}
.fav {
  position: absolute; right: 10px; top: 10px; z-index: 2; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%; background: rgba(12, 14, 16, .55); color: #e4e8e2; backdrop-filter: blur(6px);
  transition: color .15s, background .15s;
}
.fav svg { width: 16px; height: 16px; }
.fav:hover { background: rgba(12, 14, 16, .8); }
.fav.on, #detail-fav.on { color: var(--lime); }
.fav.on svg, #detail-fav.on svg { fill: currentColor; }
.quick {
  position: absolute; left: 50%; top: 42%; z-index: 3; display: flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 16px; border-radius: 18px; background: var(--lime); color: #15200a; font-weight: 700; font-size: 13px;
  opacity: 0; transform: translate(-50%, -40%); transition: opacity .2s, transform .2s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.quick svg { width: 14px; height: 14px; }
.card:hover .quick, .quick:focus-visible { opacity: 1; transform: translate(-50%, -50%); }
.card-meta { display: flex; align-items: flex-start; gap: 8px; padding: 12px 2px 0; }
.card-meta div { flex: 1; min-width: 0; }
.card-meta h3 { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-meta p { margin-top: 2px; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.grid.list { grid-template-columns: 1fr; gap: 10px; }
.grid.list .card { display: flex; align-items: center; gap: 16px; padding: 10px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); }
.grid.list .cover { width: 64px; flex: none; border-radius: 10px; }
.grid.list .badge, .grid.list .quick, .grid.list .fav { display: none; }
.grid.list .card:hover .cover { transform: none; }
.grid.list .card-meta { flex: 1; padding: 0; align-items: center; }
.grid.list .card-meta h3 { font-size: 15px; }
.list-actions { display: none; }
.grid.list .list-actions { display: flex; align-items: center; gap: 8px; }
.grid.list .list-actions .fav { position: static; display: grid; background: var(--panel-2); }
.grid.list .list-actions .btn { height: 34px; padding: 0 14px; }

.status { padding: 40px 0; color: var(--muted); text-align: center; }
.status:empty { display: none; }
.skeleton { aspect-ratio: .83; border-radius: 12px; background: linear-gradient(100deg, var(--panel) 30%, var(--panel-2) 50%, var(--panel) 70%) 0 0/300% 100%; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { to { background-position: -150% 0; } }

.foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.foot-brand strong { color: #c9cfcc; }

.bottom-nav { display: none; }

/* ---------- 详情弹窗 ---------- */
.detail {
  width: min(1170px, calc(100vw - 48px)); max-height: calc(100vh - 48px); padding: 0; overflow: hidden;
  border: 1px solid var(--border); border-radius: 16px; background: var(--panel); color: var(--text);
}
.detail::backdrop { background: rgba(4, 6, 8, .72); backdrop-filter: blur(6px); }
.detail[open] { display: flex; flex-direction: column; animation: pop .22s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.detail-head { display: flex; align-items: center; justify-content: space-between; height: 66px; padding: 0 16px 0 22px; border-bottom: 1px solid var(--border); }
.crumb { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; min-width: 0; }
.crumb strong { color: var(--text); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumb a:hover { color: var(--text); }
.detail-actions { display: flex; gap: 4px; }
.detail-body { display: grid; grid-template-columns: minmax(0, 1fr) 272px; min-height: 0; flex: 1; overflow: hidden; }
.stage { display: flex; flex-direction: column; min-height: 0; background: #14171a; border-right: 1px solid var(--border); }
.stage-bar { display: flex; align-items: center; height: 52px; padding: 0 20px; border-bottom: 1px solid var(--border); }
.stage-view {
  flex: 1; display: grid; place-items: center; padding: 38px 24px; min-height: 0; overflow: hidden;
}
.device {
  position: relative; width: 300px; aspect-ratio: 9 / 16.5; max-height: 100%;
  padding: 6px; border: 1px solid #3a4146; border-radius: 30px; background: #25292d;
  transition: width .3s, aspect-ratio .3s, border-radius .3s;
}
.device.landscape { width: min(640px, 100%); aspect-ratio: 16 / 9.6; border-radius: 14px; }
.device-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 24px; background: var(--panel-2); }
.device.landscape .device-screen { border-radius: 9px; }
.device-cover { position: absolute; inset: 0; }
.device-cover img { width: 100%; height: 100%; object-fit: cover; }
.device-cover.icon-only img:not(.blur) { position: absolute; left: 50%; top: 22%; width: 42%; height: auto; aspect-ratio: 1; transform: translateX(-50%); border-radius: 20%; }
.device.landscape .device-cover.icon-only img:not(.blur) { top: 12%; width: 22%; }
.device-cover.icon-only .blur { position: absolute; inset: -20%; width: 140%; height: 140%; filter: blur(30px) saturate(1.3) brightness(.45); }
.device-cover::after { content: ""; position: absolute; inset: 0; background: rgba(10, 12, 14, .45); }
.device-play { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; text-align: center; }
.device-play strong { font-size: 20px; }
.play-round {
  display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%;
  background: var(--lime); color: #15200a; transition: background .15s;
}
.play-round svg { width: 26px; height: 26px; margin-left: 3px; }
.play-round:hover { background: #d8fb9c; }
.info { padding: 26px 22px 22px; overflow-y: auto; }
.info h2 { font-size: 24px; line-height: 1.25; }
.info-text { margin-top: 18px; color: #c1c7c3; font-size: 13px; line-height: 1.75; }
.info-text:empty { display: none; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tags span { padding: 2px 8px; border: 1px solid #3b4a33; border-radius: 5px; background: #1f2a1b; color: #d7e8c2; font-size: 11px; }
.rows { display: grid; gap: 12px; margin: 22px 0; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; }
.rows div { display: flex; justify-content: space-between; gap: 14px; }
.rows dt { color: var(--muted); }
.rows dd { margin: 0; text-align: right; }
.rows dd.lime { color: var(--lime); }
.info .btn + .btn { margin-top: 10px; }

.launching {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: rgba(10, 12, 14, .82); backdrop-filter: blur(8px); color: #dfe4dc;
}
.spinner { width: 38px; height: 38px; border: 3px solid rgba(203, 245, 130, .2); border-top-color: var(--lime); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 110; padding: 10px 16px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--panel-2); font-size: 13px; opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1440px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1200px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; }
  .picks { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .search { width: 220px; }
}
@media (max-width: 900px) {
  :root { --top: 64px; }
  .main { margin-left: 0; }
  .sidebar { transform: translateX(-100%); transition: transform .25s; width: 260px; box-shadow: 20px 0 60px rgba(0, 0, 0, .4); }
  body.drawer .sidebar { transform: none; }
  body.drawer .scrim { display: block; position: fixed; inset: 0; z-index: 25; background: rgba(0, 0, 0, .55); }
  .drawer-close { display: grid; position: absolute; right: 12px; top: 18px; }
  .only-mobile { display: grid; }
  .brand-mobile { display: flex; flex: 1; padding: 0; }
  .topbar { gap: 8px; padding: 0 12px 0 8px; }
  .tabs, .top-link { display: none; }
  .search { display: none; }
  body.searching .search { display: flex; position: absolute; left: 12px; right: 56px; width: auto; }
  body.searching .brand-mobile, body.searching [data-action="drawer-open"] { visibility: hidden; }
  .search kbd { display: none; }
  .content { padding: 22px 18px calc(90px + env(safe-area-inset-bottom)); }
  .feature, .feature-body { min-height: 300px; }
  .feature-body { padding: 26px 22px 20px; }
  .feature h2 { font-size: 34px; }
  .providers { overflow-x: auto; margin-right: -18px; padding-right: 18px; scrollbar-width: none; }
  .providers-label { display: none; }
  .provider-row { display: flex; }
  .provider { flex: 0 0 200px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .foot { flex-direction: column; align-items: flex-start; }
  .bottom-nav {
    position: fixed; inset: auto 0 0; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr);
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: rgba(17, 19, 21, .96); backdrop-filter: blur(14px);
  }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--muted); font-size: 11px; }
  .bottom-nav svg { width: 22px; height: 22px; }
  .bottom-nav a.active { color: var(--lime); }
  .detail { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; border: 0; border-radius: 0; }
  .detail-body { grid-template-columns: 1fr; overflow-y: auto; }
  .stage { border-right: 0; border-bottom: 1px solid var(--border); }
  .stage-bar { display: none; }
  .stage-view { padding: 22px; }
  .device { width: min(250px, 70vw); }
  .device.landscape { width: 100%; }
  .info { overflow: visible; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .picks { grid-template-columns: 1fr; }
  .catalog-head h2 { font-size: 18px; }
  .toggle { display: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-right: -18px; padding-right: 18px; scrollbar-width: none; }
  .chips button { flex: none; }
  .grid.list .list-actions .btn span { display: none; }
}
@media (hover: none) {
  .quick { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- 错误页 ---------- */
.error-page { display: grid; place-items: center; min-height: 100vh; padding: 24px; }
.error-box { max-width: 420px; padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); text-align: center; }
.error-box p { margin-bottom: 22px; color: #dfe4dc; font-size: 15px; }
.error-box .play { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 8px; background: var(--lime); color: #15200a; font-weight: 600; }
