/* =========================================================
   Poki秒玩入口 — 全站样式
   设计基调：明亮蓝、暖红点缀、深色实心底影、圆角卡片
   ========================================================= */

:root {
  --blue: #0e92d5;
  --blue-light: #2eaff1;
  --blue-strong: #0b6fa5;
  --blue-deep: #075a87;
  --blue-ink: #063f5e;
  --sky: #bfe9ff;
  --sky-soft: #eaf8ff;
  --red: #cc4a4a;
  --red-strong: #a93434;
  --pink: #fef0f0;
  --ink: #1e1e1e;
  --ink-soft: #343945;
  --muted: #53616e;
  --muted-light: #6f7d89;
  --line: #cbd5de;
  --line-soft: #e4edf3;
  --white: #ffffff;
  --paper: #f7fbfe;
  --cream: #fffaf2;
  --green: #1e7f5c;
  --shadow: 0 5px 0 var(--ink);
  --shadow-red: 0 5px 0 var(--red);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --container: 1180px;
  --header-h: 74px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Arial Rounded MT Bold", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--blue-strong);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue-deep);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol,
dl,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
}

h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
}

p {
  color: var(--muted);
}

strong {
  color: var(--ink);
}

::selection {
  background: var(--sky);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

/* ---------- 基础布局 ---------- */

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 40px, 860px);
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.section {
  position: relative;
  padding: 76px 0;
}

.section--tint {
  background:
    radial-gradient(circle at 1px 1px, rgba(11, 111, 165, .09) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(180deg, #f2fbff 0%, #eaf8ff 100%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section--cream {
  background: var(--cream);
  border-top: 1px solid #f1e5d5;
  border-bottom: 1px solid #f1e5d5;
}

.section--brand {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(46, 175, 241, .2), transparent 28%),
    radial-gradient(circle at 92% 88%, rgba(204, 74, 74, .18), transparent 30%),
    linear-gradient(155deg, #063f5e 0%, #0a557d 58%, #063f5e 100%);
  color: var(--white);
}

.section--brand::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .5), transparent 55%);
}

.section-head {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-bottom: 32px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  margin-top: 14px;
  font-size: 1.06rem;
  color: var(--muted);
}

.section-head--center p {
  max-width: 690px;
  margin-inline: auto;
}

.section-head--light h2 {
  color: var(--white);
}

.section-head--light p {
  color: #d6effb;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--blue-strong);
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 99px;
  background: var(--red);
}

.eyebrow--light {
  color: var(--sky);
}

.eyebrow--light::before {
  background: var(--red);
}

.section-head--center .eyebrow {
  justify-content: center;
}

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.85;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-strong);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.text-link:hover {
  color: var(--blue-deep);
  border-bottom-color: currentColor;
}

.arrow-inline {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

/* ---------- 按钮与标签 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 22px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background-color .22s var(--ease), color .22s var(--ease);
}

.btn:hover {
  transform: translateY(4px);
}

.btn-primary {
  background: var(--blue-strong);
  color: var(--white);
  box-shadow: 0 5px 0 var(--ink);
}

.btn-primary:hover {
  background: var(--blue-deep);
  color: var(--white);
  box-shadow: 0 1px 0 var(--ink);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 5px 0 var(--ink);
}

.btn-secondary:hover {
  background: var(--sky-soft);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--ink);
}

.btn-ghost {
  min-height: 40px;
  padding: 8px 15px;
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  font-size: .88rem;
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--sky-soft);
  color: var(--ink);
  transform: none;
}

.btn-small {
  min-height: 40px;
  padding: 8px 15px;
  font-size: .88rem;
}

.btn-light {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 5px 0 var(--red);
}

.btn-light:hover {
  background: var(--pink);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--red);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, .7);
  background: transparent;
  color: var(--white);
  box-shadow: none;
}

.btn-outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .12);
  color: var(--white);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}

.chip:hover {
  border-color: var(--blue-strong);
  background: var(--sky-soft);
  color: var(--blue-deep);
  transform: translateY(-1px);
}

.chip.is-active,
.chip[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.chip--soft {
  border-color: transparent;
  background: var(--sky-soft);
  color: var(--blue-deep);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.badge--blue {
  background: var(--blue-strong);
  color: var(--white);
}

.badge--red {
  border-color: var(--red-strong);
  background: var(--pink);
  color: var(--red-strong);
}

.badge--muted {
  border-color: var(--line);
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--sky-soft);
  color: var(--blue-deep);
  font-size: .71rem;
  font-weight: 700;
  line-height: 1.2;
}

/* ---------- 导航 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 26px rgba(6, 63, 94, .12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
}

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

.brand-icon {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.brand-text strong span {
  color: var(--blue-strong);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}

.nav-link:hover {
  background: var(--sky-soft);
  color: var(--blue-deep);
}

.nav-link[aria-current="page"] {
  color: var(--blue-strong);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  transform: translateX(-50%);
}

.nav-mobile-foot {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-cta {
  min-height: 40px;
  padding: 8px 17px;
  font-size: .86rem;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 9px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s var(--ease), opacity .2s var(--ease), top .2s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 12px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 26px; }

body.nav-open .nav-toggle span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

/* ---------- 首页 Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 58px;
  background:
    radial-gradient(circle at 10% 2%, rgba(46, 175, 241, .22), transparent 33%),
    radial-gradient(circle at 92% 16%, rgba(204, 74, 74, .12), transparent 28%),
    linear-gradient(180deg, #ecfaff 0%, #f7fcff 62%, var(--paper) 100%);
  border-bottom: 1px solid var(--line-soft);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(6, 63, 94, .14) 1.1px, transparent 1.1px);
  background-size: 21px 21px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 72%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -170px;
  width: 400px;
  height: 400px;
  border: 2px solid rgba(11, 111, 165, .12);
  border-radius: 42% 58% 63% 37%;
  transform: rotate(18deg);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
}

.hero h1 {
  max-width: 980px;
  margin-inline: auto;
  font-size: clamp(2.8rem, 7.4vw, 5.15rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.hero h1 .hero-line {
  display: block;
}

.hero h1 .highlight {
  display: inline-block;
  position: relative;
  color: var(--blue-strong);
  background: linear-gradient(transparent 67%, rgba(46, 175, 241, .46) 67%, rgba(46, 175, 241, .46) 91%, transparent 91%);
}

.hero h1 .highlight::after {
  content: "";
  position: absolute;
  right: -10px;
  top: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--white);
}

.hero-lead {
  max-width: 830px;
  margin: 22px auto 0;
  color: #3e4c57;
  font-size: clamp(1.02rem, 1.65vw, 1.18rem);
  line-height: 1.85;
}

.hero-lead strong {
  color: var(--blue-ink);
}

.hero-official {
  margin-top: 20px;
}

.hero-official .btn {
  min-height: 50px;
  padding: 12px 26px;
}

/* 启动台工具 */

.launch-tool {
  position: relative;
  width: min(100%, 1000px);
  margin: 32px auto 0;
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 8px 0 var(--ink), 0 26px 50px rgba(6, 63, 94, .12);
  text-align: left;
}

.launch-tool::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 34px;
  width: 58px;
  height: 18px;
  border: 2px solid var(--ink);
  border-radius: 99px;
  background: var(--sky);
  transform: rotate(-2deg);
}

.launch-tool-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  color: var(--blue-ink);
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .03em;
}

.tool-live {
  position: relative;
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
}

.tool-live::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--red);
  border-radius: 50%;
  opacity: .35;
  animation: ping 2.4s ease-out infinite;
}

.tool-count {
  margin-left: auto;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 0;
}

.tool-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 0;
}

.quick-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.quick-cats .chip {
  min-height: 34px;
  padding: 5px 11px;
  border-color: var(--line);
  background: var(--paper);
  font-size: .78rem;
}

.btn-random {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 7px 15px;
  font-size: .8rem;
  box-shadow: 0 3px 0 var(--ink);
}

.btn-random:hover {
  box-shadow: 0 1px 0 var(--ink);
}

.tool-hint {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--muted-light);
  font-size: .76rem;
}

.tool-hint a {
  color: var(--blue-strong);
  font-weight: 700;
  text-decoration: none;
}

.tool-hint a:hover {
  text-decoration: underline;
}

.hero-assurance {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin: 24px auto 0;
  list-style: none;
  color: var(--blue-ink);
  font-size: .8rem;
  font-weight: 700;
}

.hero-assurance li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-assurance svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.hero-doodle {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  color: var(--blue-strong);
  opacity: .35;
}

.hero-doodle--one {
  top: 13%;
  left: 5%;
  font-size: 2rem;
  transform: rotate(-12deg);
}

.hero-doodle--two {
  top: 18%;
  right: 7%;
  width: 72px;
  height: 72px;
  border: 2px dashed var(--red);
  border-radius: 50%;
  opacity: .26;
}

.hero-doodle--three {
  bottom: 24%;
  left: 8%;
  width: 46px;
  height: 46px;
  border: 2px solid var(--blue-strong);
  border-radius: 14px;
  transform: rotate(16deg);
  opacity: .16;
}

/* ---------- 游戏卡片 ---------- */

.home-games {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.game-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 5px 0 var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.game-card:hover {
  transform: translateY(5px);
  box-shadow: 0 0 0 var(--ink);
}

.game-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--sky-soft);
}

.game-media-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.game-media-link:focus-visible {
  outline: none;
}

.game-media-link:focus-visible::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 5px;
  border: 3px solid var(--sky);
  border-radius: 12px;
  pointer-events: none;
}

.game-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s var(--ease);
}

.game-card:hover .game-media img {
  transform: scale(1.035);
}

.game-media .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  box-shadow: 0 2px 0 rgba(30, 30, 30, .22);
  pointer-events: none;
}

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

.game-kicker {
  margin-bottom: 5px;
  color: var(--muted-light);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.game-body h3 {
  margin-bottom: 6px;
  font-size: 1.08rem;
  line-height: 1.3;
}

.game-body h3 a {
  color: var(--ink);
  text-decoration: none;
}

.game-body h3 a:hover {
  color: var(--blue-strong);
}

.game-body > p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 11px;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.game-body .tag-row {
  margin-bottom: 14px;
}

.game-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid var(--line-soft);
}

.game-actions .btn {
  min-height: 34px;
  padding: 6px 11px;
  font-size: .76rem;
}

.game-actions .btn-primary {
  box-shadow: 0 3px 0 var(--ink);
}

.game-actions .btn-primary:hover {
  box-shadow: 0 0 0 var(--ink);
}

.game-actions .btn svg {
  width: 14px;
  height: 14px;
}

/* ---------- 选择困难症工具 ---------- */

.picker {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 22px;
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.picker-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.control-label {
  color: var(--ink);
  font-size: .84rem;
  font-weight: 800;
}

.control-label span {
  color: var(--muted-light);
  font-weight: 600;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip-group .chip {
  min-height: 34px;
  padding: 5px 11px;
  font-size: .78rem;
}

.picker-controls .btn {
  align-self: flex-start;
  margin-top: 3px;
}

.picker-result {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
  padding: 22px;
  border: 1.5px dashed var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, var(--sky-soft), #fffdf7);
}

.picker-placeholder {
  max-width: 300px;
  text-align: center;
}

.picker-dice {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 14px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 4px 0 var(--ink);
  color: var(--blue-strong);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  transform: rotate(-5deg);
}

.picker-placeholder strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.02rem;
}

.picker-placeholder p {
  font-size: .82rem;
  line-height: 1.65;
}

.picker-pick {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  align-items: center;
  animation: pop-in .3s var(--ease);
}

.picker-pick img {
  width: 116px;
  height: 116px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  object-fit: cover;
}

.picker-pick .badge {
  margin-bottom: 6px;
}

.picker-pick h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.picker-pick p {
  margin-bottom: 10px;
  font-size: .8rem;
  line-height: 1.6;
}

.picker-pick .btn {
  min-height: 34px;
  padding: 6px 12px;
  font-size: .76rem;
  box-shadow: 0 3px 0 var(--ink);
}

/* ---------- 截图画廊 ---------- */

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.shot-card {
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.shot-card:hover {
  transform: translateY(5px);
  box-shadow: none;
}

.shot-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1.5px solid var(--ink);
  background: var(--sky-soft);
}

.shot-card figcaption {
  padding: 14px 16px 16px;
}

.shot-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 3px;
}

.shot-title strong {
  font-family: var(--font-display);
  font-size: 1.03rem;
  font-weight: 800;
}

.shot-title span {
  color: var(--blue-strong);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.shot-card p {
  font-size: .82rem;
  line-height: 1.65;
}

.source-note {
  margin-top: 18px;
  color: var(--muted-light);
  font-size: .74rem;
  line-height: 1.7;
}

/* ---------- 分类入口 ---------- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 236px;
  padding: 20px;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 5px 0 var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.category-card::after {
  content: "";
  position: absolute;
  right: -26px;
  top: -28px;
  width: 90px;
  height: 90px;
  border-radius: 34% 66% 59% 41%;
  background: var(--sky-soft);
  transform: rotate(20deg);
}

.category-card:hover {
  transform: translateY(5px);
  box-shadow: none;
}

.cat-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.cat-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: var(--sky-soft);
  color: var(--blue-strong);
}

.cat-icon svg {
  width: 25px;
  height: 25px;
}

.cat-count {
  position: relative;
  z-index: 1;
  color: var(--muted-light);
  font-size: .7rem;
  font-weight: 800;
}

.category-card h3 {
  margin-bottom: 7px;
  font-size: 1.25rem;
}

.category-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.category-card h3 a:hover {
  color: var(--blue-strong);
}

.category-card p {
  margin-bottom: 14px;
  font-size: .83rem;
  line-height: 1.65;
}

.cat-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  margin-bottom: 13px;
}

.cat-meta span {
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--paper);
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
}

.cat-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding-top: 11px;
  border-top: 1px dashed var(--line);
  font-size: .73rem;
}

.cat-samples a {
  color: var(--blue-strong);
  font-weight: 700;
  text-decoration: none;
}

.cat-samples a:hover {
  text-decoration: underline;
}

.category-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* ---------- 品牌说明 ---------- */

.brand-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  gap: 44px;
  align-items: start;
}

.brand-copy h2 {
  color: var(--white);
}

.brand-copy > p {
  margin-top: 17px;
  color: #d4eefa;
  font-size: 1.01rem;
  line-height: 1.85;
}

.brand-copy > p strong {
  color: var(--white);
}

.brand-facts {
  display: grid;
  gap: 10px;
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
}

.brand-facts li {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  color: #e6f7ff;
  font-size: .82rem;
  line-height: 1.55;
}

.brand-facts svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: #76e8bc;
}

.brand-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.brand-media {
  display: grid;
  gap: 12px;
}

.brand-logo-card {
  padding: 22px;
  border: 1.5px solid rgba(255, 255, 255, .75);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 5px 0 var(--red);
}

.brand-logo-card img {
  width: min(100%, 360px);
  margin-inline: auto;
}

.brand-logo-card figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: .7rem;
  text-align: center;
}

.brand-mini-grid {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 12px;
}

.brand-icon-card,
.brand-banner-card {
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, .7);
  border-radius: 14px;
  background: var(--white);
}

.brand-icon-card {
  display: grid;
  place-items: center;
  padding: 12px;
  text-align: center;
}

.brand-icon-card img {
  width: 72px;
  height: 72px;
}

.brand-icon-card figcaption {
  margin-top: 5px;
  color: var(--muted);
  font-size: .64rem;
  line-height: 1.4;
}

.brand-banner-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.brand-source {
  grid-column: 1 / -1;
  color: #a9d8ec;
  font-size: .68rem;
  line-height: 1.6;
}

/* ---------- 筛选标准 ---------- */

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.method-card {
  padding: 20px 18px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 4px 0 var(--ink);
}

.method-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 13px;
  border-radius: 10px;
  background: var(--pink);
  color: var(--red-strong);
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 800;
}

.method-card h3 {
  margin-bottom: 7px;
  font-size: 1.03rem;
}

.method-card p {
  font-size: .81rem;
  line-height: 1.7;
}

/* ---------- 编辑精选 ---------- */

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.editorial-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 4px 0 var(--ink);
}

.editorial-card img {
  width: 132px;
  height: 132px;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: cover;
}

.game-thumb-link {
  display: block;
  line-height: 0;
  border-radius: 10px;
}

.game-thumb-link:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 2px;
}

.editorial-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.editorial-copy .badge {
  align-self: flex-start;
  margin-bottom: 6px;
}

.editorial-copy h3 {
  margin-bottom: 5px;
  font-size: 1.08rem;
}

.editorial-copy p {
  margin-bottom: 10px;
  font-size: .78rem;
  line-height: 1.65;
}

.editorial-copy .text-link {
  margin-top: auto;
  font-size: .76rem;
}

/* ---------- 时间表 ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow);
}

.time-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: .85rem;
}

.time-table th,
.time-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

.time-table th {
  background: var(--blue-ink);
  color: var(--white);
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .03em;
}

.time-table tbody tr:last-child td {
  border-bottom: 0;
}

.time-table tbody tr:nth-child(even) {
  background: #fbfdff;
}

.time-table td:first-child {
  width: 150px;
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.time-table td a {
  display: inline-block;
  margin-right: 4px;
  color: var(--blue-strong);
  font-weight: 700;
  text-decoration: none;
}

.time-table td a:hover {
  text-decoration: underline;
}

/* ---------- 使用步骤 ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 22px 20px 20px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 4px 0 var(--ink);
}

.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--sky);
  color: var(--blue-ink);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  transform: rotate(-3deg);
}

.step-card h3 {
  margin-bottom: 7px;
  font-size: 1.1rem;
}

.step-card p {
  font-size: .84rem;
  line-height: 1.7;
}

/* ---------- FAQ ---------- */

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
  margin-inline: auto;
}

.faq-item {
  overflow: hidden;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  transition: border-color .2s var(--ease);
}

.faq-item[open] {
  border-color: var(--blue-strong);
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 48px 15px 17px;
  color: var(--ink);
  font-size: .93rem;
  font-weight: 800;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue-strong);
  font-size: 1.1rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--sky-soft);
  transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
  padding: 0 17px 17px;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.8;
}

.faq-answer p + p {
  margin-top: 8px;
}

.faq-answer a {
  font-weight: 700;
}

/* ---------- 更新与 CTA ---------- */

.update-box {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 28px;
  padding: 26px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.update-box h2 {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
}

.update-box > div > p {
  margin-top: 8px;
  font-size: .85rem;
}

.update-list {
  display: grid;
  gap: 9px;
  padding: 0;
  list-style: none;
}

.update-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-bottom: 9px;
  border-bottom: 1px dashed var(--line-soft);
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.6;
}

.update-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.update-list strong {
  color: var(--ink);
}

.update-list .badge {
  flex: 0 0 auto;
  margin-top: 1px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 46px 38px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-xl);
  background: linear-gradient(130deg, var(--blue-strong), #0d83bf 62%, var(--blue));
  box-shadow: 0 8px 0 var(--ink);
  color: var(--white);
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-band::before {
  right: -70px;
  top: -90px;
  width: 270px;
  height: 270px;
  border: 2px dashed rgba(255, 255, 255, .28);
}

.cta-band::after {
  left: 46%;
  bottom: -120px;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, .08);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-copy h2 {
  max-width: 680px;
  color: var(--white);
  font-size: clamp(1.8rem, 3.3vw, 2.65rem);
}

.cta-copy p {
  max-width: 650px;
  margin-top: 9px;
  color: #dff5ff;
  font-size: .98rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}

/* ---------- 页脚 ---------- */

.site-footer {
  padding: 58px 0 22px;
  background: var(--ink-soft);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr .7fr .8fr 1.1fr;
  gap: 34px;
}

.footer-brand .brand {
  color: var(--white);
}

.footer-brand .brand:hover {
  color: var(--white);
}

.footer-brand .brand-text strong {
  color: var(--white);
}

.footer-brand .brand-text strong span {
  color: var(--sky);
}

.footer-brand p {
  max-width: 335px;
  margin-top: 14px;
  color: #c4d3de;
  font-size: .82rem;
  line-height: 1.75;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.footer-badges span {
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #dceaf3;
  font-size: .68rem;
  font-weight: 700;
}

.footer-col h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.footer-col ul {
  display: grid;
  gap: 7px;
  list-style: none;
}

.footer-col a {
  color: #c9d8e2;
  font-size: .8rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-note p {
  color: #c4d3de;
  font-size: .77rem;
  line-height: 1.7;
}

.footer-note a {
  display: inline-block;
  margin-top: 9px;
  color: var(--sky);
  font-size: .77rem;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.footer-bottom p {
  color: #aebfcb;
  font-size: .7rem;
  line-height: 1.6;
}

.footer-bottom p:last-child {
  text-align: right;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 250;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s var(--ease), visibility .2s var(--ease), transform .2s var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background: var(--sky-soft);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

.toast {
  position: fixed;
  z-index: 900;
  left: 50%;
  bottom: 22px;
  max-width: min(92vw, 420px);
  padding: 11px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 5px 0 rgba(0, 0, 0, .22);
  font-size: .8rem;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity .2s var(--ease), visibility .2s var(--ease), transform .2s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ---------- 内页 Hero / 面包屑 ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 42px 0 44px;
  background:
    radial-gradient(circle at 88% 10%, rgba(46, 175, 241, .2), transparent 27%),
    linear-gradient(180deg, #eaf9ff 0%, #f7fcff 100%);
  border-bottom: 1px solid var(--line-soft);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(6, 63, 94, .11) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .35), transparent 70%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  padding: 0;
  list-style: none;
  color: var(--muted-light);
  font-size: .73rem;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.breadcrumb li + li::before {
  content: "/";
  color: #9aabb8;
}

.breadcrumb a {
  color: var(--blue-strong);
  font-weight: 700;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.page-hero h1 {
  max-width: 1000px;
  font-size: clamp(2.2rem, 4.6vw, 3.55rem);
  line-height: 1.12;
}

.page-hero .lead {
  max-width: 790px;
  margin-top: 14px;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.page-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
}

/* ---------- 游戏库 ---------- */

.library-hero {
  padding-bottom: 54px;
}

.library-section {
  padding-top: 40px;
}

.filter-bar {
  position: sticky;
  top: calc(var(--header-h) + 8px);
  z-index: 60;
  padding: 16px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 5px 0 var(--ink), 0 12px 30px rgba(6, 63, 94, .08);
  backdrop-filter: blur(8px);
}

.filter-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.filter-categories .chip {
  min-height: 34px;
  padding: 5px 11px;
  font-size: .77rem;
}

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

.filter-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 10px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 700;
}

.filter-select svg {
  width: 15px;
  height: 15px;
  color: var(--blue-strong);
}

.filter-select select {
  max-width: 148px;
  padding: 7px 2px 7px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
}

.clear-filters {
  margin-left: auto;
  padding: 6px 4px;
  border: 0;
  background: transparent;
  color: var(--muted-light);
  font-size: .75rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.clear-filters:hover {
  color: var(--red-strong);
}

.results-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  margin: 24px 0 16px;
  color: var(--muted);
  font-size: .84rem;
}

.results-line strong {
  color: var(--blue-strong);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
}

.results-summary {
  color: var(--muted-light);
  font-size: .75rem;
}

.results-summary:not(:empty)::before {
  content: "·";
  margin-right: 7px;
}

.recent-section {
  margin-bottom: 24px;
  padding: 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.recent-section h2 {
  margin-bottom: 9px;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.recent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  list-style: none;
}

.recent-list a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 700;
  text-decoration: none;
}

.recent-list a:hover {
  border-color: var(--blue-strong);
  background: var(--sky-soft);
}

.recent-list img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.empty-state {
  padding: 48px 24px;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  text-align: center;
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 15px;
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  background: var(--pink);
  color: var(--red-strong);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
}

.empty-state h2 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.empty-state p {
  max-width: 460px;
  margin: 0 auto 16px;
  font-size: .86rem;
}

.library-help {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.help-card {
  padding: 22px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.help-card h2 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.help-card p {
  margin-bottom: 11px;
  font-size: .83rem;
  line-height: 1.7;
}

/* ---------- 游戏详情弹窗 ---------- */

.game-dialog {
  width: min(940px, calc(100vw - 32px));
  max-width: 940px;
  max-height: min(88vh, 760px);
  padding: 0;
  overflow: auto;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 10px 0 var(--ink), 0 40px 90px rgba(0, 0, 0, .34);
}

.game-dialog::backdrop {
  background: rgba(10, 30, 43, .68);
  backdrop-filter: blur(4px);
}

.dialog-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  min-height: 470px;
}

.dialog-media {
  position: relative;
  min-height: 320px;
  background: var(--sky-soft);
}

.dialog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dialog-media .badge {
  position: absolute;
  top: 14px;
  left: 14px;
}

.dialog-content {
  display: flex;
  flex-direction: column;
  padding: 34px 32px 28px;
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.dialog-close:hover {
  background: var(--pink);
  color: var(--red-strong);
}

.dialog-content .eyebrow {
  margin-bottom: 8px;
}

.dialog-content h2 {
  margin-bottom: 10px;
  padding-right: 10px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.dialog-desc {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.8;
}

.dialog-tip {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 4px solid var(--blue);
  border-radius: 0 10px 10px 0;
  background: var(--sky-soft);
}

.dialog-tip strong {
  display: block;
  margin-bottom: 3px;
  color: var(--blue-ink);
  font-size: .78rem;
}

.dialog-tip p {
  color: #315162;
  font-size: .8rem;
  line-height: 1.65;
}

.dialog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.dialog-meta span {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}

.dialog-actions .btn {
  min-height: 42px;
  font-size: .84rem;
}

.dialog-actions .btn-secondary {
  box-shadow: 0 3px 0 var(--ink);
}

.dialog-actions .btn-secondary:hover {
  box-shadow: 0 0 0 var(--ink);
}

/* ---------- 分类总览页 ---------- */

.category-overview {
  display: grid;
  gap: 22px;
}

.category-block {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 26px;
  padding: 26px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 4px 0 var(--ink);
}

.category-block-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.category-block-head .cat-icon {
  margin-bottom: 14px;
}

.category-block-head h2 {
  margin-bottom: 8px;
  font-size: clamp(1.4rem, 2.1vw, 1.8rem);
}

.category-block-head p {
  margin-bottom: 14px;
  font-size: .87rem;
  line-height: 1.75;
}

.category-block-head .text-link {
  margin-top: auto;
  font-size: .82rem;
}

.mini-game-list {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.mini-game {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 9px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}

.mini-game:hover {
  border-color: var(--blue-strong);
  background: var(--sky-soft);
}

.mini-game img {
  width: 58px;
  height: 58px;
  border-radius: 9px;
  object-fit: cover;
}

.mini-game h3 {
  margin-bottom: 2px;
  font-family: var(--font-body);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: 0;
}

.mini-game p {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: .71rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mini-game .text-link {
  font-size: .7rem;
  white-space: nowrap;
}

.category-note {
  margin-top: 28px;
  padding: 20px 22px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.category-note h2 {
  margin-bottom: 7px;
  font-size: 1.22rem;
}

.category-note p {
  font-size: .86rem;
  line-height: 1.75;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.people-card {
  padding: 20px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.people-card h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.people-card p {
  margin-bottom: 10px;
  font-size: .8rem;
  line-height: 1.65;
}

.people-card .text-link {
  font-size: .76rem;
}

/* ---------- 专题页 ---------- */

.topic-list {
  display: grid;
  gap: 26px;
}

.topic-card {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: 28px;
  padding: 28px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 4px 0 var(--ink);
}

.topic-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.topic-num {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 13px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--sky);
  color: var(--blue-ink);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  transform: rotate(-4deg);
}

.topic-head h2 {
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

.topic-head p {
  margin-bottom: 13px;
  font-size: .88rem;
  line-height: 1.75;
}

.topic-head .badge {
  margin-bottom: 12px;
}

.topic-games {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 0;
  list-style: none;
}

.topic-game {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 8px;
  border-bottom: 1px dashed var(--line-soft);
}

.topic-game:last-child {
  border-bottom: 0;
}

.topic-game img {
  width: 52px;
  height: 52px;
  border-radius: 9px;
  object-fit: cover;
}

.topic-game h3 {
  margin-bottom: 2px;
  font-family: var(--font-body);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: 0;
}

.topic-game p {
  font-size: .71rem;
  line-height: 1.5;
}

.topic-game .text-link {
  font-size: .7rem;
  white-space: nowrap;
}

.topic-note {
  margin-top: 28px;
  padding: 24px;
  border: 2px solid var(--red);
  border-radius: var(--radius-md);
  background: var(--pink);
  box-shadow: 0 5px 0 var(--red);
}

.topic-note h2 {
  margin-bottom: 7px;
  font-size: 1.3rem;
}

.topic-note p {
  color: #5d3a3a;
  font-size: .86rem;
  line-height: 1.75;
}

/* ---------- 文章 / 指南 ---------- */

.article-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.article-toc {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 18px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.article-toc h2 {
  margin-bottom: 9px;
  font-family: var(--font-body);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-toc ol {
  display: grid;
  gap: 4px;
  padding-left: 18px;
  color: var(--muted-light);
  font-size: .78rem;
  line-height: 1.55;
}

.article-toc a {
  color: var(--muted);
  text-decoration: none;
}

.article-toc a:hover {
  color: var(--blue-strong);
  text-decoration: underline;
}

.article-body {
  min-width: 0;
  padding: 30px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.article-body > * + * {
  margin-top: 16px;
}

.article-body h2 {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.article-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.article-body h3 {
  margin-top: 24px;
  font-size: 1.2rem;
}

.article-body p,
.article-body li {
  color: #3f4d58;
  font-size: .94rem;
  line-height: 1.9;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 7px;
  padding-left: 22px;
}

.article-body li::marker {
  color: var(--blue-strong);
  font-weight: 700;
}

.article-body a {
  font-weight: 600;
}

.article-body strong {
  font-weight: 800;
}

.article-body .callout {
  padding: 16px 18px;
  border: 1.5px solid var(--blue);
  border-radius: 12px;
  background: var(--sky-soft);
}

.article-body .callout strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-ink);
  font-size: .84rem;
}

.article-body .callout p {
  font-size: .85rem;
  line-height: 1.75;
}

.article-body .callout--red {
  border-color: var(--red);
  background: var(--pink);
}

.article-body .callout--red strong {
  color: var(--red-strong);
}

.article-body .callout--red p {
  color: #5d3a3a;
}

code {
  padding: .12em .38em;
  border-radius: 5px;
  background: var(--sky-soft);
  color: var(--blue-deep);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: .88em;
  overflow-wrap: anywhere;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.article-meta span {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
}

.troubleshoot {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  border: 1px solid var(--line);
  font-size: .83rem;
}

.troubleshoot th,
.troubleshoot td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

.troubleshoot th {
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
}

.troubleshoot tr:last-child td {
  border-bottom: 0;
}

.term-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.term-item {
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--paper);
}

.term-item dt {
  color: var(--ink);
  font-size: .82rem;
  font-weight: 800;
}

.term-item dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.65;
}

.article-foot {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.article-foot p {
  font-size: .8rem;
}

/* ---------- 关于 / 隐私 ---------- */

.prose-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: start;
}

.prose-main {
  min-width: 0;
  padding: 30px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.prose-main > * + * {
  margin-top: 15px;
}

.prose-main h2 {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: clamp(1.4rem, 2.1vw, 1.8rem);
}

.prose-main h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose-main p,
.prose-main li {
  color: #3f4d58;
  font-size: .92rem;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.prose-main a {
  overflow-wrap: anywhere;
}

.prose-main ul,
.prose-main ol {
  display: grid;
  gap: 6px;
  padding-left: 22px;
}

.prose-main li::marker {
  color: var(--blue-strong);
  font-weight: 700;
}

.prose-aside {
  display: grid;
  gap: 14px;
}

.info-card {
  padding: 20px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.info-card h2 {
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .06em;
}

.info-list {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px dashed var(--line-soft);
  color: var(--muted);
  font-size: .76rem;
}

.info-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.info-list strong {
  color: var(--ink);
  font-weight: 800;
  text-align: right;
}

.value-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.value-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-soft);
}

.value-list li:last-child {
  border-bottom: 0;
}

.value-list .v-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--sky-soft);
  color: var(--blue-strong);
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 800;
}

.value-list strong {
  display: block;
  margin-bottom: 2px;
  font-size: .84rem;
}

.value-list p {
  margin: 0;
  font-size: .8rem;
  line-height: 1.65;
}

.contact-box {
  margin-top: 18px;
  padding: 16px;
  border: 1.5px solid var(--blue);
  border-radius: 12px;
  background: var(--sky-soft);
}

.contact-box p {
  font-size: .84rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.contact-box a {
  font-weight: 800;
}

/* ---------- 中转跳转页 ---------- */

.go-page {
  display: grid;
  place-items: center;
  min-height: 62vh;
  padding: 64px 0;
}

.go-card {
  width: min(100%, 620px);
  margin-inline: auto;
  padding: 38px 32px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.go-card h1 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
}

.go-desc {
  margin-bottom: 24px;
  font-size: .95rem;
}

.go-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.go-actions .btn {
  min-width: 180px;
}

/* ---------- 404 ---------- */

.error-page {
  display: grid;
  place-items: center;
  min-height: 62vh;
  padding: 70px 0;
  text-align: center;
}

.error-code {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue-strong);
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 9rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.08em;
  text-shadow: 6px 6px 0 var(--sky);
}

.error-page h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.error-page p {
  max-width: 580px;
  margin: 0 auto 22px;
  font-size: .98rem;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 20px;
}

/* ---------- 动画 ---------- */

@keyframes ping {
  0% { transform: scale(.7); opacity: .55; }
  70%, 100% { transform: scale(1.8); opacity: 0; }
}

@keyframes pop-in {
  from { opacity: 0; transform: translateY(6px) scale(.985); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .main-nav ul { gap: 0; }
  .nav-link { padding-inline: 8px; font-size: .86rem; }
}

@media (max-width: 960px) {
  :root { --header-h: 66px; }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: block;
    max-height: calc(100vh - 108px);
    max-height: calc(100dvh - 108px);
    padding: 16px;
    overflow: auto;
    border: 2px solid var(--ink);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 6px 0 var(--ink), 0 24px 50px rgba(6, 63, 94, .2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s var(--ease), visibility .2s var(--ease), transform .2s var(--ease);
  }

  body.nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .main-nav ul {
    display: grid;
    gap: 3px;
  }

  .nav-link {
    display: flex;
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 9px;
    font-size: .98rem;
  }

  .nav-link[aria-current="page"] {
    background: var(--sky-soft);
  }

  .nav-link[aria-current="page"]::after {
    left: auto;
    right: 14px;
    bottom: 50%;
    transform: translateY(50%);
  }

  .nav-mobile-foot {
    display: grid;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line-soft);
  }

  .nav-mobile-foot .btn {
    width: 100%;
    box-shadow: 0 3px 0 var(--ink);
  }

  .nav-mobile-foot p {
    color: var(--muted-light);
    font-size: .7rem;
    text-align: center;
  }

  .nav-toggle { display: block; }

  .header-cta { display: none; }

  .nav-backdrop {
    position: fixed;
    z-index: 290;
    inset: 0;
    display: block;
    background: rgba(6, 30, 45, .36);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s var(--ease), visibility .2s var(--ease);
  }

  body.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
  }

  .brand-text strong { font-size: 1.05rem; }

  .hero { padding-top: 44px; }

  .home-games { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .brand-layout { grid-template-columns: 1fr; gap: 28px; }

  .brand-media { max-width: 660px; }

  .editorial-grid { grid-template-columns: 1fr; }

  .article-shell { grid-template-columns: 1fr; gap: 22px; }

  .article-toc {
    position: static;
  }

  .prose-page { grid-template-columns: 1fr; gap: 22px; }

  .prose-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .filter-bar { position: static; }

  .category-block { grid-template-columns: 1fr; gap: 20px; }

  .topic-card { grid-template-columns: 1fr; gap: 20px; }

  .topic-head .text-link { margin-top: 0; }

  .footer-main { grid-template-columns: 1.3fr .8fr .9fr; }

  .footer-note { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  .container,
  .container--narrow { width: min(100% - 28px, var(--container)); }

  .section { padding: 54px 0; }

  .hero { padding: 36px 0 44px; }

  .hero-official { margin-top: 16px; }

  .go-page { min-height: 58vh; padding: 42px 0; }

  .go-card { padding: 28px 20px; }

  .go-actions .btn { flex: 1 1 150px; }

  .hero h1 { font-size: clamp(2.55rem, 10.6vw, 4rem); }

  .hero-lead { margin-top: 16px; font-size: .98rem; line-height: 1.8; }

  .launch-tool { margin-top: 24px; padding: 18px; box-shadow: 0 6px 0 var(--ink); }

  .launch-tool-head { margin-bottom: 12px; }

  .tool-count { display: none; }

  .tool-bottom { align-items: stretch; flex-direction: column; }

  .btn-random { width: 100%; }

  .quick-cats { gap: 6px; }

  .quick-cats .chip { font-size: .74rem; }

  .hero-assurance { gap: 6px 14px; font-size: .75rem; }

  .hero-doodle { display: none; }

  .picker { grid-template-columns: 1fr; padding: 18px; }

  .picker-result { min-height: 200px; }

  .screenshot-grid { grid-template-columns: 1fr; }

  .home-games,
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }

  .game-body { padding: 12px; }

  .game-body h3 { font-size: .98rem; }

  .game-body > p { font-size: .74rem; -webkit-line-clamp: 2; }

  .game-body .tag-row { display: none; }

  .game-actions { gap: 5px; }

  .game-actions .btn { font-size: .7rem; padding-inline: 8px; }

  .game-actions .btn-ghost { display: none; }

  .game-actions .btn-primary { margin-left: auto; }

  .category-grid { grid-template-columns: 1fr; }

  .category-card { min-height: 0; }

  .method-grid { grid-template-columns: 1fr; }

  .brand-mini-grid { grid-template-columns: 96px minmax(0, 1fr); }

  .brand-logo-card { padding: 18px; }

  .editorial-card { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }

  .editorial-card img { width: 96px; height: 96px; }

  .update-box { grid-template-columns: 1fr; padding: 20px; }

  .cta-band { padding: 32px 22px; border-radius: 24px; }

  .cta-inner { flex-direction: column; align-items: flex-start; gap: 20px; }

  .cta-actions { width: 100%; }

  .cta-actions .btn { flex: 1 1 150px; }

  .footer-main { grid-template-columns: 1fr 1fr; gap: 26px; }

  .footer-brand { grid-column: 1 / -1; }

  .footer-note { grid-column: 1 / -1; }

  .footer-bottom { display: block; margin-top: 26px; }

  .footer-bottom p:last-child { margin-top: 5px; text-align: left; }

  .page-hero { padding: 32px 0 36px; }

  .page-hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }

  .filter-bar { padding: 13px; box-shadow: 0 4px 0 var(--ink); }

  .filter-categories { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }

  .filter-categories::-webkit-scrollbar { display: none; }

  .filter-categories .chip { flex: 0 0 auto; }

  .filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }

  .filter-select { justify-content: space-between; }

  .filter-select select { width: 100%; max-width: none; }

  .clear-filters { grid-column: 1 / -1; margin-left: 0; padding: 7px; text-align: center; }

  .library-help { grid-template-columns: 1fr; }

  .game-dialog { width: calc(100vw - 20px); max-height: 90dvh; }

  .dialog-panel { grid-template-columns: 1fr; min-height: 0; }

  .dialog-media { min-height: 200px; max-height: 260px; }

  .dialog-content { padding: 22px 20px 20px; }

  .dialog-close { top: 10px; right: 10px; }

  .dialog-actions .btn { flex: 1 1 140px; }

  .people-grid { grid-template-columns: 1fr; }

  .article-body,
  .prose-main { padding: 20px; }

  .article-body p,
  .article-body li,
  .prose-main p,
  .prose-main li { font-size: .9rem; }

  .term-list { grid-template-columns: 1fr; }

  .prose-aside { grid-template-columns: 1fr; }

  .troubleshoot { display: block; overflow-x: auto; }

  .footer-col h3 { margin-bottom: 9px; }
}

@media (max-width: 520px) {
  .home-games,
  .game-grid { grid-template-columns: 1fr; }

  .game-media { aspect-ratio: 16 / 11; }

  .game-body > p { -webkit-line-clamp: 3; }

  .game-body .tag-row { display: flex; }

  .game-actions .btn-ghost { display: inline-flex; }

  .picker-pick { grid-template-columns: 84px minmax(0, 1fr); }

  .picker-pick img { width: 84px; height: 84px; }

  .brand-mini-grid { grid-template-columns: 1fr; }

  .brand-icon-card { display: flex; align-items: center; gap: 10px; text-align: left; }

  .brand-icon-card figcaption { margin-top: 0; }

  .brand-banner-card img { aspect-ratio: 1200 / 630; }

  .footer-main { grid-template-columns: 1fr; }

  .footer-brand,
  .footer-note { grid-column: auto; }

  .mini-game { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 9px; }

  .mini-game img { width: 48px; height: 48px; }

  .mini-game .text-link { font-size: .66rem; }

  .topic-card { padding: 20px; }

  .topic-game { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 9px; }

  .topic-game img { width: 44px; height: 44px; }

  .page-hero-meta span { font-size: .68rem; }
}
