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

:root {
  --ink: #1f2a24;
  --muted: #748378;
  --green: #24704f;
  --green-hover: #1b593e;
  --line: #dfe5db;
  --bg: #f8faf5;
  --card-bg: #ffffff;

  /* 主机与平台品牌基色 */
  --switch-red: #e60012;
  --switch-blue: #00c3e3;
  --ps-blue: #00439c;
  --ps-cyan: #0070d1;
  --steam-dark: #171a21;
  --steam-blue: #66c0f4;
  --xbox-green: #107c10;
  --xbox-bright: #16a318;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select {
  font: inherit;
}

button, a, select {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 顶部导航 */
header {
  height: 84px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  max-width: 1320px;
  margin: auto;
  padding: 0 48px;
  gap: 40px;
}

.brand {
  display: flex;
  align-items: center;
  font-weight: 900;
  font-size: 22px;
  gap: 10px;
  white-space: nowrap;
}

.brand small {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #7a8580;
  font-weight: 600;
}

.logo {
  background: var(--green);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  text-align: center;
  font-size: 24px;
  line-height: 28px;
}

nav {
  display: flex;
  gap: 28px;
  flex: 1;
}

.nav {
  background: none;
  border: 0;
  padding: 28px 0;
  color: #79837e;
  font-size: 13px;
  transition: color 0.15s;
}

.nav:hover {
  color: var(--ink);
}

.nav.active {
  color: var(--green);
  font-weight: 700;
}

.nav span {
  background: #e8ede4;
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 3px;
  font-size: 11px;
}

.beta {
  font-size: 11px;
  border: 1px solid #dce3d7;
  padding: 5px 9px;
  border-radius: 5px;
  color: #7a857b;
}

/* 主内容区 */
main {
  max-width: 1224px;
  margin: auto;
  padding: 0 28px;
}

/* Hero 区域 */
.hero {
  min-height: 350px;
  position: relative;
  padding: 44px 0 30px;
  overflow: hidden;
}

.eyebrow {
  font-size: 10px;
  color: #7c8b7d;
  letter-spacing: 1.7px;
  font-weight: 600;
}

.eyebrow i, .update i, .tag2 i {
  display: inline-block;
  background: #6a9a6b;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 7px;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.45;
  letter-spacing: -1.2px;
  margin: 14px 0 12px;
  font-weight: 800;
}

.hero h1 span {
  color: var(--green);
}

.hero p {
  font-size: 13px;
  line-height: 1.9;
  color: #7b857e;
  margin: 0;
}

.hero-note {
  font-size: 11px;
  margin-top: 18px;
  color: #465a4c;
  display: inline-block;
  background: #edf3e7;
  padding: 6px 12px;
  border-radius: 20px;
}

.hero-note span {
  margin-left: 10px;
  color: #6d8471;
  font-weight: 600;
}

.hero-art {
  position: absolute;
  width: 540px;
  right: 5px;
  top: 15px;
  height: 340px;
  background: radial-gradient(ellipse, #e6ecd8 0, transparent 65%);
}

.orbit {
  position: absolute;
  border: 1px solid #dfe6d6;
  border-radius: 50%;
  width: 410px;
  height: 220px;
  left: 60px;
  top: 60px;
  transform: rotate(-23deg);
}

.o2 {
  transform: rotate(22deg);
  height: 280px;
  top: 35px;
}

.console {
  position: absolute;
  display: flex;
  width: 350px;
  height: 160px;
  left: 90px;
  top: 100px;
  transform: rotate(-10deg);
  filter: drop-shadow(0 25px 17px #a4b29850);
}

.joy {
  background: #96a88c;
  width: 47px;
  border: 2px solid #819279;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 28px;
  font-size: 25px;
  color: #3d5345;
  box-shadow: inset 3px 0 5px #c4d1b3;
}

.joy em {
  font-style: normal;
  font-size: 20px;
  margin-top: 20px;
}

.left {
  border-radius: 30px 0 0 30px;
}

.right {
  border-radius: 0 30px 30px 0;
  background: #b5c6a1;
}

.screen {
  flex: 1;
  background: #233b32;
  border: 10px solid #36463d;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 20px;
}

.screen span {
  color: #b7c39a;
  line-height: 1.5;
  font-size: 20px;
  letter-spacing: 1px;
  z-index: 1;
}

.screen b {
  color: #e3edcb;
}

.mountain {
  background: #77916a;
  position: absolute;
  right: -30px;
  bottom: -80px;
  width: 180px;
  height: 150px;
  transform: rotate(40deg);
  border-radius: 25px;
}

.float {
  position: absolute;
  background: #ffffffed;
  border: 1px solid white;
  padding: 12px 17px;
  border-radius: 9px;
  box-shadow: 0 8px 24px #52663a0e;
  font-size: 11px;
  z-index: 2;
}

.tag1 {
  top: 52px;
  right: 49px;
  color: #7c8876;
  transform: rotate(5deg);
}

.tag1 b {
  font-weight: 500;
  margin: 0 10px;
  color: #435f4f;
}

.tag2 {
  bottom: 39px;
  left: 110px;
  font-size: 11px;
}

/* 状态栏 */
.statusbar {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffb;
  backdrop-filter: blur(8px);
  display: flex;
  padding: 18px 24px;
  gap: 28px;
  align-items: center;
  font-size: 11px;
  color: #8a948c;
}

.statusbar b {
  font-size: 19px;
  color: #415b48;
  margin-right: 7px;
  font-weight: 700;
}

.statusbar > div + div {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.statusbar .update {
  margin-left: auto;
  border: 0;
  font-size: 10px;
  padding: 0;
}

/* 发现标题与货币切换 */
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 40px 0 20px;
}

.section-heading h2 {
  font-size: 23px;
  letter-spacing: -0.7px;
  margin: 7px 0 0;
  font-weight: 800;
}

.section-heading select, select {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 12px;
  color: #58675c;
  font-size: 11px;
}

/* ========================================================
   平台与主机特色风格系统 (Platform Identity System)
   ======================================================== */

/* 1. 顶部平台筛选条 (Filter Bar) 与世代细分 */
.platform-filter {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 0 16px;
  border-bottom: 1px solid var(--line);
}

.filter-primary-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-sub-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.filter-caption {
  font-size: 11px;
  font-weight: 700;
  color: #85917e;
  margin-right: 4px;
  letter-spacing: 0.5px;
}

.sub-filter-caption {
  font-size: 11px;
  font-weight: 600;
  color: #92a08d;
  margin-right: 2px;
}

.sub-platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid #e1e7db;
  border-radius: 14px;
  background: #fbfdfa;
  color: #5d6e5f;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.sub-platform-chip:hover {
  background: #f0f5eb;
  border-color: #cbd8c3;
  transform: translateY(-1px);
}

.sub-pill {
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  line-height: 1.2;
}

.sub-pill.sw1 {
  background: #fbebee;
  color: #c4000f;
  border: 1px solid #f8ccd1;
}

.sub-pill.sw2 {
  background: linear-gradient(135deg, #1e293b, #334155);
  color: #38bdf8;
  border: 1px solid #0ea5e9;
  box-shadow: 0 0 4px rgba(56, 189, 248, 0.4);
}

.sub-pill.sw2-exclusive {
  background: linear-gradient(135deg, #0284c7 0%, #00c3e3 100%);
  color: #ffffff;
  border: 1px solid #38bdf8;
  box-shadow: 0 0 6px rgba(0, 195, 227, 0.6);
  font-weight: 900;
}

.sub-platform-chip.sw2-exclusive-chip {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0369a1;
}

.sub-platform-chip.sw2-exclusive-chip:hover {
  background: #e0f2fe;
  border-color: #38bdf8;
}

.sub-platform-chip.sw2-exclusive-chip.selected {
  outline: 2px solid #0284c7;
  outline-offset: 1px;
  background: #0284c7;
  color: #ffffff;
}
.sub-platform-chip.sw2-exclusive-chip.selected .sub-chip-count {
  background: #0369a1;
  color: #ffffff;
}

.sub-pill.pc {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.sub-pill.mac {
  background: #18181b;
  color: #f4f4f5;
  border: 1px solid #52525b;
}

.sub-pill.ps5 {
  background: #eff6ff;
  color: #0056b3;
  border: 1px solid #93c5fd;
}

.sub-pill.xsx {
  background: #f0fdf4;
  color: #107c10;
  border: 1px solid #86efac;
}

.sub-chip-count {
  font-size: 10px;
  color: #8a9686;
  font-weight: 700;
  background: #edf2e8;
  padding: 1px 5px;
  border-radius: 8px;
}

.sub-platform-chip.selected {
  outline: 2px solid #234331;
  outline-offset: 1px;
  background: #eef5e9;
  color: #1f3627;
  font-weight: 700;
}

.sub-platform-chip.ps-sub.selected {
  outline: 2px solid #0056b3;
  outline-offset: 1px;
  background: #0056b3;
  color: #ffffff;
}
.sub-platform-chip.ps-sub.selected .sub-chip-count {
  background: #003791;
  color: #ffffff;
}

.sub-platform-chip.xbox-sub.selected {
  outline: 2px solid #107c10;
  outline-offset: 1px;
  background: #107c10;
  color: #ffffff;
}
.sub-platform-chip.xbox-sub.selected .sub-chip-count {
  background: #09400d;
  color: #ffffff;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid #dce4d5;
  border-radius: 20px;
  background: #ffffff;
  color: #526154;
  font-size: 11px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.platform-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.platform-chip img {
  width: 17px;
  height: 17px;
  display: block;
}

.chip-label {
  line-height: 1;
}

.chip-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  background: #eef2ea;
  color: #647366;
  min-width: 16px;
  text-align: center;
  line-height: 1.1;
  transition: all 0.18s;
}

.all-icon {
  font-size: 16px;
  line-height: 1;
  color: #3b6b4e;
}

/* 芯片激活状态 - 主机各具特色光芒 */
.platform-chip.selected {
  outline: 2px solid #2d4c38;
  outline-offset: 2px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.platform-chip[data-platform="all"].selected {
  background: #24704f;
  border-color: #24704f;
  color: #ffffff;
}
.platform-chip[data-platform="all"].selected .all-icon {
  color: #ffffff;
}
.platform-chip[data-platform="all"].selected .chip-badge {
  background: #1b593e;
  color: #ffffff;
}

.platform-chip.switch.selected {
  background: linear-gradient(135deg, #e60012 0%, #c4000f 100%);
  border-color: #e60012;
  color: #ffffff;
  outline-color: #e60012;
  box-shadow: 0 4px 14px rgba(230, 0, 18, 0.35);
}
.platform-chip.switch.selected img {
  filter: brightness(0) invert(1);
}
.platform-chip.switch.selected .chip-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.platform-chip.steam.selected {
  background: linear-gradient(135deg, #101822 0%, #172435 50%, #1f3549 100%);
  border-color: #66c0f4;
  color: #66c0f4;
  outline-color: #2a475e;
  box-shadow: 0 4px 14px rgba(23, 36, 53, 0.4);
}
.platform-chip.steam.selected img {
  filter: drop-shadow(0 0 4px rgba(102, 192, 244, 0.6));
}
.platform-chip.steam.selected .chip-badge {
  background: rgba(102, 192, 244, 0.2);
  color: #ffffff;
}

.platform-chip.ps.selected {
  background: linear-gradient(135deg, #003791 0%, #0056b3 50%, #0070d1 100%);
  border-color: #0070d1;
  color: #ffffff;
  outline-color: #00439c;
  box-shadow: 0 4px 14px rgba(0, 112, 209, 0.4);
}
.platform-chip.ps.selected img {
  filter: brightness(0) invert(1);
}
.platform-chip.ps.selected .chip-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.platform-chip.xbox.selected {
  background: linear-gradient(135deg, #09400d 0%, #107c10 50%, #17a419 100%);
  border-color: #16a318;
  color: #ffffff;
  outline-color: #107c10;
  box-shadow: 0 4px 14px rgba(16, 124, 16, 0.4);
}
.platform-chip.xbox.selected img {
  filter: brightness(0) invert(1);
}
.platform-chip.xbox.selected .chip-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* 2. 搜索与工具栏 (Toolbar) */
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 12px;
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 0 12px;
  border-radius: 8px;
  height: 42px;
  flex: 1;
  color: #7c8b7f;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.search:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(36, 112, 79, 0.15);
}

.search-icon {
  font-size: 20px;
  line-height: 1;
}

.search input {
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 13px;
  color: #2b3a31;
  background: transparent;
}

.clear-search {
  border: 0;
  background: #eef2ea;
  color: #6d7d70;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

.clear-search:hover {
  background: #dfe7da;
  color: var(--ink);
}

.toolbar > label:not(.search) {
  font-size: 12px;
  color: #637365;
  white-space: nowrap;
  margin: 0 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

input[type="checkbox"] {
  accent-color: var(--green);
}

.notice {
  font-size: 11px;
  color: #798777;
  margin: 12px 0 18px;
  padding: 8px 12px;
  background: #edf3e7;
  border-radius: 6px;
  line-height: 1.6;
}

.result-count {
  font-size: 12px;
  color: #657762;
  margin: 14px 0;
  font-weight: 500;
}

/* ========================================================
   游戏卡片 (Game Card)
   ======================================================== */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 20px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card-bg);
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(35, 70, 46, 0.08);
}

.card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-align: left;
  background: none;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  border: 0;
  outline: none;
}

.card-link:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}

.cover-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #dfe7da;
  overflow: hidden;
}

.cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.card:hover .cover {
  transform: scale(1.03);
}

/* 封面独占角标丝带 (区分 Switch 2 独占 vs Switch 1 独占) */
.card-corner-ribbon {
  position: absolute;
  top: 9px;
  left: 9px;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

/* Switch 2 次世代独占角标 (深空黑钛 + 激光青蓝) */
.card-corner-ribbon.sw2-ribbon {
  background: linear-gradient(135deg, #0a192f 0%, #0d3859 45%, #00c3e3 100%);
  color: #ffffff;
  border: 1px solid #38bdf8;
  box-shadow: 0 0 10px rgba(0, 195, 227, 0.65), 0 2px 6px rgba(0, 0, 0, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Switch 1 初代独占角标 (任天堂经典朱红) */
.card-corner-ribbon.sw1-ribbon {
  background: linear-gradient(135deg, #991b1b 0%, #dc2626 50%, #e60012 100%);
  color: #ffffff;
  border: 1px solid #fca5a5;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
}

/* 跨代独占角标 (尊贵金色) */
.card-corner-ribbon.both-ribbon {
  background: linear-gradient(135deg, #b8860b 0%, #d4af37 50%, #ffd700 100%);
  color: #2b1f04;
  border: 1px solid #fef08a;
  box-shadow: 0 2px 6px rgba(212, 175, 55, 0.4);
}

/* PlayStation 独占角标 (深海深蓝 + 符文紫蓝) */
.card-corner-ribbon.ps-ribbon {
  background: linear-gradient(135deg, #001f3f 0%, #003791 45%, #0072ce 100%);
  color: #ffffff;
  border: 1px solid #60a5fa;
  box-shadow: 0 0 10px rgba(0, 114, 206, 0.55), 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Xbox 独占角标 (微软经典极光绿) */
.card-corner-ribbon.xbox-ribbon {
  background: linear-gradient(135deg, #09400d 0%, #107c10 50%, #16a34a 100%);
  color: #ffffff;
  border: 1px solid #86efac;
  box-shadow: 0 0 10px rgba(16, 124, 16, 0.55), 0 2px 6px rgba(0, 0, 0, 0.4);
}

.card.sw2-card-accent {
  border-color: rgba(56, 189, 248, 0.35);
}

.card.sw2-card-accent:hover {
  box-shadow: 0 14px 30px rgba(0, 195, 227, 0.15), 0 0 0 1px rgba(0, 195, 227, 0.4);
}

.card.ps-card-accent {
  border-color: rgba(0, 114, 206, 0.4);
}

.card.ps-card-accent:hover {
  box-shadow: 0 14px 30px rgba(0, 55, 145, 0.16), 0 0 0 1px rgba(0, 114, 206, 0.45);
}

.card.xbox-card-accent {
  border-color: rgba(16, 124, 16, 0.4);
}

.card.xbox-card-accent:hover {
  box-shadow: 0 14px 30px rgba(16, 124, 16, 0.16), 0 0 0 1px rgba(16, 124, 16, 0.45);
}

.card-body {
  padding: 15px 16px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-genre-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  color: #8c9787;
  letter-spacing: 0.5px;
}

.card .publisher {
  max-width: 60%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 6px 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
}

.en {
  font-size: 10px;
  color: #9aa093;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 16px;
}

/* ========================================================
   平台徽标特色视觉系统 (Platform Badges with Identity)
   ======================================================== */
.platform-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 10px 0 8px;
  min-height: 28px;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 0;
  outline: none;
  user-select: none;
  white-space: nowrap;
  transition: transform 0.16s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.16s ease, filter 0.16s ease;
}

.platform-badge:hover {
  transform: translateY(-2px) scale(1.03);
  z-index: 2;
}

.badge-icon-box {
  width: 13px;
  height: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon-box img {
  width: 100%;
  height: 100%;
  display: block;
}

.badge-name {
  letter-spacing: 0.3px;
}

/* 1. Nintendo Switch 专属特色效果 */
.platform-badge.switch {
  background: linear-gradient(135deg, #e60012 0%, #c4000f 100%);
  color: #ffffff;
  box-shadow: 0 2px 7px rgba(230, 0, 18, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  padding-left: 10px;
}

.switch-accent-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3.5px;
  background: #00c3e3;
  box-shadow: 0 0 5px #00c3e3;
}

.switch-accent-bar.sw2-accent {
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

/* Switch 世代标签 (Switch 1 / Switch 2) */
.badge-gen-pill {
  font-size: 8px;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 3px;
  line-height: 1.1;
  letter-spacing: 0.3px;
}

.badge-gen-pill.both {
  background: rgba(255, 255, 255, 0.95);
  color: #c4000f;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.badge-gen-pill.sw1 {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.badge-gen-pill.sw2 {
  background: #00c3e3;
  color: #032b33;
  box-shadow: 0 0 6px #00c3e3;
}

.badge-gen-pill.ps5 {
  background: #ffffff;
  color: #003791;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.badge-gen-pill.ps-cross {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.badge-gen-pill.ps4 {
  background: rgba(255, 255, 255, 0.18);
  color: #dbeafe;
}

.switch-leds {
  display: inline-flex;
  gap: 2px;
  align-items: center;
  margin-left: 2px;
}

.switch-leds i {
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.switch-leds i:first-child {
  background: #39ff14;
  box-shadow: 0 0 4px #39ff14;
}

.badge-status-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  margin-left: 2px;
}

.badge-status-dot.online {
  background: #ffffff;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.9);
}

.badge-status-dot.standby {
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
}

/* 2. PlayStation 专属特色效果 (深海蓝 + 四神键字符 + 科技光条) */
.platform-badge.ps {
  background: linear-gradient(135deg, #003791 0%, #0056b3 50%, #0072ce 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 86, 179, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  padding-right: 9px;
}

.ps-symbols {
  display: inline-flex;
  gap: 3px;
  font-size: 7.5px;
  line-height: 1;
  font-weight: 900;
  margin-left: 2px;
  opacity: 0.95;
}

.sym-tri { color: #00f0a0; text-shadow: 0 0 3px #00f0a0; }
.sym-cir { color: #ff3344; text-shadow: 0 0 3px #ff3344; }
.sym-cro { color: #4dc3ff; text-shadow: 0 0 3px #4dc3ff; }
.sym-sqr { color: #ff66cc; text-shadow: 0 0 3px #ff66cc; }

.ps-lightbar {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #60a5fa;
  box-shadow: 0 0 5px #60a5fa;
}

/* 3. Steam 专属特色效果 (钛黑合金 + 电光青蓝 + PC Deck 标) */
.platform-badge.steam {
  background: linear-gradient(135deg, #101822 0%, #172435 50%, #1f3549 100%);
  color: #e2e8f0;
  border: 1px solid rgba(102, 192, 244, 0.38);
  box-shadow: 0 2px 8px rgba(16, 24, 34, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.platform-badge.steam .badge-name {
  color: #66c0f4;
  text-shadow: 0 0 6px rgba(102, 192, 244, 0.4);
}

/* Steam 架构系统标签 (PC &  Mac) */
.badge-os-pill {
  font-size: 8px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
  letter-spacing: 0.3px;
  line-height: 1.1;
}

.badge-os-pill.pc {
  background: rgba(102, 192, 244, 0.2);
  border: 1px solid rgba(102, 192, 244, 0.45);
  color: #8cd4ff;
}

.badge-os-pill.mac {
  background: #ffffff;
  color: #172435;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  font-weight: 900;
}

/* 4. Xbox 专属特色效果 (激光翠绿 + 次世代 X|S 徽章) */
.platform-badge.xbox {
  background: linear-gradient(135deg, #09400d 0%, #107c10 50%, #17a419 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 124, 16, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.xbox-badge-accent {
  font-size: 8px;
  font-weight: 900;
  background: #ffffff;
  color: #107c10;
  padding: 1px 4px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.xbox-matrix-dot {
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: #40ff50;
  box-shadow: 0 0 5px #40ff50;
}

/* 5. 独占作品标识系统 (区分 Switch 2 独占 vs Switch 1 独占) */
.platform-badge.exclusive-sw2 {
  background: linear-gradient(135deg, #091a28 0%, #0369a1 45%, #00c3e3 100%);
  color: #ffffff;
  border: 1px solid #38bdf8;
  box-shadow: 0 2px 9px rgba(0, 195, 227, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  font-weight: 900;
}
.platform-badge.exclusive-sw2 .exclusive-star {
  color: #7dd3fc;
  text-shadow: 0 0 5px #38bdf8;
}

.platform-badge.exclusive-sw1 {
  background: linear-gradient(135deg, #991b1b 0%, #dc2626 50%, #e60012 100%);
  color: #ffffff;
  border: 1px solid #fca5a5;
  box-shadow: 0 2px 7px rgba(220, 38, 38, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  font-weight: 800;
}
.platform-badge.exclusive-sw1 .exclusive-star {
  color: #ffffff;
}

.platform-badge.exclusive-both, .platform-badge.exclusive {
  background: linear-gradient(135deg, #b8860b 0%, #d4af37 50%, #ffd700 100%);
  color: #2b1f04;
  border: 1px solid #fef08a;
  box-shadow: 0 2px 7px rgba(212, 175, 55, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  font-weight: 800;
}
.platform-badge.exclusive-both .exclusive-star, .platform-badge.exclusive .exclusive-star {
  font-size: 9px;
  color: #634300;
}

.platform-badge.exclusive-ps {
  background: linear-gradient(135deg, #001f3f 0%, #003791 45%, #0072ce 100%);
  color: #ffffff;
  border: 1px solid #60a5fa;
  box-shadow: 0 2px 9px rgba(0, 114, 206, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  font-weight: 900;
}
.platform-badge.exclusive-ps .exclusive-star {
  color: #93c5fd;
  text-shadow: 0 0 5px #60a5fa;
}

.platform-badge.exclusive-xbox {
  background: linear-gradient(135deg, #052607 0%, #0d5f0e 45%, #107c10 100%);
  color: #ffffff;
  border: 1px solid #4ade80;
  box-shadow: 0 2px 9px rgba(16, 124, 16, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  font-weight: 900;
}
.platform-badge.exclusive-xbox .exclusive-star {
  color: #86efac;
  text-shadow: 0 0 5px #4ade80;
}

/* 详情弹窗里的独占卡片变体 */
.exclusive-pill.sw2 {
  background: linear-gradient(135deg, #0a192f 0%, #0284c7 50%, #00c3e3 100%);
  color: #ffffff;
  border: 1px solid #38bdf8;
  box-shadow: 0 0 8px rgba(0, 195, 227, 0.5);
}

.exclusive-pill.sw1 {
  background: linear-gradient(135deg, #991b1b, #dc2626);
  color: #ffffff;
  border: 1px solid #fca5a5;
}

.exclusive-pill.ps {
  background: linear-gradient(135deg, #001f3f 0%, #003791 50%, #0072ce 100%);
  color: #ffffff;
  border: 1px solid #60a5fa;
  box-shadow: 0 0 8px rgba(0, 114, 206, 0.5);
}

.exclusive-pill.xbox {
  background: linear-gradient(135deg, #052607 0%, #0d5f0e 50%, #107c10 100%);
  color: #ffffff;
  border: 1px solid #4ade80;
  box-shadow: 0 0 8px rgba(16, 124, 16, 0.5);
}

.exclusive-notice-card.sw2-notice {
  background: #f0f9ff;
  border-color: #7dd3fc;
  box-shadow: 0 2px 10px rgba(0, 195, 227, 0.15);
}
.exclusive-notice-card.sw2-notice .sw2-star {
  color: #0284c7;
  text-shadow: 0 0 8px #38bdf8;
}
.exclusive-notice-card.sw2-notice strong {
  color: #0369a1;
}
.exclusive-notice-card.sw2-notice p {
  color: #0c4a6e;
}

.exclusive-notice-card.sw1-notice {
  background: #fef2f2;
  border-color: #fecaca;
}
.exclusive-notice-card.sw1-notice strong {
  color: #991b1b;
}
.exclusive-notice-card.sw1-notice p {
  color: #7f1d1d;
}

.exclusive-notice-card.ps-notice {
  background: #eff6ff;
  border-color: #bfdbfe;
  box-shadow: 0 2px 10px rgba(0, 114, 206, 0.12);
}
.exclusive-notice-card.ps-notice .ps-star {
  color: #0056b3;
  text-shadow: 0 0 8px #60a5fa;
}
.exclusive-notice-card.ps-notice strong {
  color: #003791;
}
.exclusive-notice-card.ps-notice p {
  color: #1e3a8a;
}

.exclusive-notice-card.xbox-notice {
  background: #f0fdf4;
  border-color: #bbf7d0;
  box-shadow: 0 2px 10px rgba(16, 124, 16, 0.12);
}
.exclusive-notice-card.xbox-notice .xbox-star {
  color: #107c10;
  text-shadow: 0 0 8px #4ade80;
}
.exclusive-notice-card.xbox-notice strong {
  color: #09400d;
}
.exclusive-notice-card.xbox-notice p {
  color: #14532d;
}

.platform-edition-card.sw2-card {
  border-color: #7dd3fc;
  background: #f8fbff;
}

.platform-edition-card.ps.ps-excl-card {
  border-color: #93c5fd;
  background: #f8faff;
}

.platform-edition-card.xbox.xbox-excl-card {
  border-color: #86efac;
  background: #f8fdf9;
}

/* 价格行 */
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 12px 0 10px;
}

.price-row strong {
  font-size: 22px;
  letter-spacing: -0.5px;
  font-weight: 800;
  color: var(--ink);
}

.price-row .pending-price {
  font-size: 15px;
  color: #879580;
  font-weight: 600;
}

.discount {
  color: #2e693b;
  background: #e5f1df;
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 11px;
  font-weight: 700;
}

/* 卡片元信息 */
.meta {
  font-size: 10px;
  color: #899681;
  border-top: 1px solid #edf1ea;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}

/* 关注红心 */
.heart {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.95);
  color: #45694a;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 3;
}

.heart:hover {
  transform: scale(1.1);
}

.heart.saved {
  color: #fff;
  background: #377551;
  border-color: #377551;
}

/* 分页 */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 32px 0;
  font-size: 12px;
  color: #71816a;
}

.pagination button {
  border: 1px solid #dbe4d3;
  background: #fff;
  border-radius: 6px;
  padding: 10px 18px;
  color: #376e4e;
  font-weight: 600;
  transition: all 0.15s;
}

.pagination button:hover:not(:disabled) {
  background: #edf4e8;
  border-color: #277353;
}

.pagination button:disabled {
  opacity: 0.35;
  cursor: default;
}

.footnote {
  font-size: 10px;
  text-align: center;
  margin: 26px 0;
  color: #98a08f;
}

.bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #edf1e6;
  border: 1px solid #e1e8d9;
  border-radius: 12px;
  padding: 31px 37px;
  margin: 45px 0;
}

.bottom h2 {
  font-size: 22px;
  line-height: 1.6;
  margin: 7px 0;
  font-weight: 700;
}

.bottom p {
  line-height: 2;
  color: #74816f;
  font-size: 12px;
}

.bottom small {
  font-size: 10px;
  color: #929d88;
}

footer {
  border-top: 1px solid var(--line);
  padding: 25px 48px;
  max-width: 1320px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8a9585;
  font-size: 11px;
}

footer .brand {
  font-size: 16px;
}

footer button {
  border: 0;
  background: none;
  color: #84917d;
  font-size: 11px;
}

/* ========================================================
   游戏详情弹窗与多平台矩阵看板 (Detail Modal & Multi-Platform Matrix)
   ======================================================== */
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  max-width: 920px;
  width: calc(100% - 32px);
  max-height: 88vh;
  color: var(--ink);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

dialog::backdrop {
  background: rgba(21, 43, 34, 0.55);
  backdrop-filter: blur(5px);
}

.detail-inner {
  padding: 32px;
}

.dialog-head {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}

.dialog-head h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.exclusive-pill {
  font-size: 11px;
  font-weight: 800;
  background: linear-gradient(135deg, #b8860b 0%, #d4af37 50%, #ffd700 100%);
  color: #2b1f04;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.close {
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  width: 32px;
  height: 32px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.close:hover {
  background: #edf2ea;
  color: #000;
}

.detail-cover {
  width: 170px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.detail-sub {
  color: #85907f;
  font-size: 12px;
  line-height: 1.8;
}

/* 详情弹窗里的全景多平台矩阵 */
.game-platform-section {
  margin: 24px 0 20px;
  background: #f4f7f0;
  border: 1px solid #dee5d7;
  border-radius: 10px;
  padding: 18px 20px;
}

.platform-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.platform-section-title .detail-sub {
  font-size: 13px;
  font-weight: 700;
  color: #3b5042;
}

.platform-section-tip {
  font-size: 11px;
  color: #7d8c7b;
}

.platform-editions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.platform-edition-card {
  background: #ffffff;
  border: 1px solid #dce4d5;
  border-radius: 8px;
  padding: 14px 15px;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}

.platform-edition-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.edition-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.edition-status {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 12px;
}

.edition-status.verified {
  background: #e4f4e0;
  color: #27733b;
}

.edition-status.pending {
  background: #f0f0ea;
  color: #798375;
}

.edition-card-body {
  flex: 1;
  font-size: 11px;
  line-height: 1.7;
}

.edition-spec {
  font-weight: 700;
  color: #3a4b3d;
  margin-bottom: 4px;
}

.edition-desc {
  color: #73806f;
}

.edition-price-preview {
  margin-top: 6px;
  color: #556654;
}

.edition-price-preview strong {
  font-size: 15px;
  color: #215c3c;
  margin-left: 2px;
}

.country-tag {
  display: inline-block;
  background: #edf3e7;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 10px;
  color: #5c6e5a;
  margin-left: 4px;
}

.edition-card-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #e8eee2;
}

.edition-action {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.15s;
  box-sizing: border-box;
}

.switch-jump-btn {
  background: #fdf0f1;
  color: #c4000f;
  border: 1px solid #f8c9cd;
}
.switch-jump-btn:hover {
  background: #e60012;
  color: #ffffff;
}

.steam-link {
  background: #172435;
  color: #66c0f4;
  border: 1px solid #2a475e;
}
.steam-link:hover {
  background: #203548;
  color: #ffffff;
}

.ps-link {
  background: #edf4fc;
  color: #0056b3;
  border: 1px solid #c7defa;
}
.ps-link:hover {
  background: #0056b3;
  color: #ffffff;
}

.xbox-link {
  background: #edf7ed;
  color: #107c10;
  border: 1px solid #bfe3bf;
}
.xbox-link:hover {
  background: #107c10;
  color: #ffffff;
}

/* 独占提示卡片 */
.exclusive-notice-card {
  margin-top: 14px;
  background: #fbf7ec;
  border: 1px solid #eddcb2;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.exclusive-notice-card .exclusive-star {
  font-size: 22px;
  color: #c29525;
}

.exclusive-notice-card strong {
  display: block;
  font-size: 12px;
  color: #5a410b;
  margin-bottom: 2px;
}

.exclusive-notice-card p {
  margin: 0;
  font-size: 11px;
  color: #7c683b;
  line-height: 1.5;
}

/* 详情购买面板与表格 */
.buy-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: #edf4e6;
  border: 1px solid #dce7d2;
  border-radius: 9px;
  margin: 18px 0;
}

.buy-panel strong {
  font-size: 25px;
  line-height: 1.8;
  color: var(--green);
}

.buy-button {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 7px;
  white-space: nowrap;
  transition: background 0.15s;
}

.buy-button:hover {
  background: var(--green-hover);
}

.purchase-note {
  font-size: 11px;
  line-height: 1.9;
  color: #86917f;
  margin: 10px 0 20px;
}

.detail-note {
  padding: 12px 15px;
  background: #f0f4e9;
  border-radius: 6px;
  color: #667a5b;
  font-size: 11px;
  line-height: 1.9;
  margin: 18px 0;
}

.detail-inner h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 25px 0 12px;
}

.table-wrap {
  overflow: auto;
  max-height: 360px;
  border: 1px solid #e5ebe0;
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

td, th {
  padding: 12px 10px;
  border-bottom: 1px solid #e9eee3;
  text-align: left;
  white-space: nowrap;
}

th {
  color: #8c9884;
  font-weight: 500;
  font-size: 11px;
  background: #f8faf5;
  position: sticky;
  top: 0;
  z-index: 1;
}

tr.cheapest {
  background: #eff6e9;
  font-weight: 600;
}

.source {
  color: var(--green);
  text-decoration: underline;
  font-size: 11px;
}

.history {
  padding: 18px;
  background: #f6f8f2;
  border-radius: 8px;
  color: #7b8973;
  font-size: 12px;
  line-height: 2;
}

details {
  font-size: 11px;
  color: #86927f;
  margin: 15px 0;
}

summary {
  cursor: pointer;
  padding: 4px 0;
}

.empty {
  text-align: center;
  padding: 65px 20px;
  grid-column: 1 / -1;
  color: #839076;
  background: #f0f3eb;
  border-radius: 8px;
  line-height: 2;
}

.prose {
  line-height: 2;
  font-size: 13px;
}

.prose a {
  text-decoration: underline;
  color: var(--green);
}

.prose ol {
  padding-left: 20px;
}

#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: #234331;
  color: white;
  padding: 12px 22px;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  font-size: 12px;
  z-index: 100;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

#toast.show {
  opacity: 1;
}

/* 主动更新面板 */
.refresh-panel {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid #dce6d4;
  border-radius: 8px;
  background: #f5f8ef;
}

.refresh-panel strong {
  font-size: 13px;
}

.refresh-panel p {
  font-size: 11px;
  line-height: 1.8;
  color: #7a8971;
  margin: 4px 0 0;
}

.refresh-panel button {
  background: var(--green);
  color: white;
  border: 0;
  border-radius: 6px;
  padding: 11px 16px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
}

.refresh-panel button:disabled {
  background: #e0e7d8;
  color: #8b9880;
  cursor: default;
}

/* ========================================================
   响应式断点适配
   ======================================================== */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  header {
    padding: 0 24px;
    gap: 20px;
  }
  nav {
    gap: 18px;
  }
  .brand small, .beta {
    display: none;
  }
  .hero-art {
    right: -110px;
    opacity: 0.6;
    transform: scale(0.8);
  }
  .hero h1, .hero p, .hero-note, .hero .eyebrow {
    position: relative;
    z-index: 3;
  }
  .statusbar {
    gap: 15px;
    padding: 16px;
  }
  .statusbar > div + div {
    padding-left: 15px;
  }
  .statusbar .update {
    display: none;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .search {
    min-width: 100%;
  }
  .bottom {
    gap: 20px;
  }
}

@media (max-width: 680px) {
  header {
    height: 70px;
    padding: 0 18px;
    gap: 15px;
  }
  .brand {
    font-size: 20px;
  }
  nav {
    gap: 16px;
    justify-content: flex-end;
  }
  .nav {
    font-size: 11px;
  }
  #aboutBtn {
    display: none;
  }
  main {
    padding: 0 16px;
  }
  .hero {
    min-height: 320px;
    padding-top: 25px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero-art {
    display: none;
  }
  .statusbar {
    font-size: 9px;
    justify-content: space-between;
    gap: 7px;
  }
  .statusbar b {
    font-size: 16px;
    display: block;
    margin: 0 0 3px;
  }
  .platform-filter {
    gap: 8px;
    padding: 12px 0;
  }
  .platform-chip {
    font-size: 10px;
    padding: 6px 10px;
    gap: 5px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }
  .card-body {
    padding: 11px;
  }
  .card h3 {
    font-size: 13px;
  }
  .price-row strong {
    font-size: 18px;
  }
  .platform-badges {
    gap: 4px;
    margin: 8px 0 6px;
  }
  .platform-badge {
    font-size: 9px;
    padding: 3px 6px;
    gap: 4px;
  }
  .ps-symbols {
    display: none; /* 极小屏下仅保留图标与PS字样 */
  }
  .platform-editions-grid {
    grid-template-columns: 1fr;
  }
  .detail-inner {
    padding: 20px;
  }
  .detail-cover {
    display: none;
  }
  .buy-panel {
    flex-direction: column;
    align-items: stretch;
  }
  .buy-button {
    text-align: center;
  }
  .refresh-panel {
    flex-direction: column;
    align-items: stretch;
  }
}
