/* ==========================================================================
   独立港 INDIE PORT — design system
   ========================================================================== */

:root {
  --bg: #07080c;
  --bg-2: #0b0d14;
  --panel: #11131c;
  --panel-2: #171a25;
  --panel-3: #1d2130;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #e9ecf5;
  --muted: #939aae;
  --faint: #6b7288;
  --lime: #c8f542;
  --lime-2: #a9d92c;
  --cyan: #66e0ff;
  --violet: #a78bfa;
  --radius: 18px;
  --radius-sm: 11px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
[hidden] { display: none !important; }

::selection { background: rgba(200, 245, 66, 0.25); }

/* ambient background ------------------------------------------------------ */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 12% -8%, rgba(167, 139, 250, 0.14), transparent 60%),
    radial-gradient(800px 460px at 92% 4%, rgba(102, 224, 255, 0.10), transparent 62%),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px) 0 0 / 64px 100%,
    var(--bg);
  mask-image: linear-gradient(#000 0%, #000 55%, transparent 92%);
}

/* layout ----------------------------------------------------------------- */
.container { width: min(1180px, 100% - 48px); margin: 0 auto; flex: 1; padding-bottom: 90px; }
.container-wide { width: min(1440px, 100% - 48px); margin: 0 auto; flex: 1; padding-bottom: 90px; }

main { padding-top: 26px; }

/* nav -------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 8, 12, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: min(1180px, 100% - 48px);
  margin: 0 auto;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--lime), #5eead4 60%, var(--cyan));
  color: #08090d;
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 6px 20px rgba(200, 245, 66, 0.22);
}
.brand-text { display: flex; flex-direction: column; font-weight: 700; letter-spacing: 0.02em; line-height: 1.1; }
.brand-text small { font-size: 9px; letter-spacing: 0.22em; color: var(--faint); font-weight: 600; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav-link {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.18s, background 0.18s;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-link.active { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.nav-user { display: flex; align-items: center; gap: 9px; }
.nav-burger {
  display: none;
  background: none; border: 1px solid var(--line); color: var(--text);
  border-radius: 9px; padding: 6px 10px; font-size: 16px; cursor: pointer;
}
.nav.open .nav-links {
  display: flex; position: absolute; top: 66px; left: 0; right: 0;
  flex-direction: column; align-items: stretch; gap: 2px;
  background: #0b0d14; border-bottom: 1px solid var(--line); padding: 12px 24px 18px;
}

/* user menu -------------------------------------------------------------- */
.usermenu { position: relative; }
.usermenu summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 9px;
  padding: 5px 12px 5px 5px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.usermenu summary::-webkit-details-marker { display: none; }
.usermenu summary:hover { border-color: var(--line-2); }
.uname { font-size: 14px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.usermenu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: 250px;
  background: var(--panel-2); border: 1px solid var(--line-2);
  border-radius: 14px; padding: 8px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.usermenu-head { display: flex; gap: 10px; align-items: center; padding: 10px 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.usermenu-head strong { display: block; font-size: 14px; }
.usermenu-head small { color: var(--faint); font-size: 11px; display: block; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.usermenu-panel a, .menu-signout {
  padding: 9px 11px; border-radius: 9px; font-size: 13.5px; color: var(--muted);
  background: none; border: 0; text-align: left; cursor: pointer;
}
.usermenu-panel a:hover, .menu-signout:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.menu-signout { border-top: 1px solid var(--line); border-radius: 0 0 9px 9px; margin-top: 4px; color: #ff8b8b; }

/* avatar ----------------------------------------------------------------- */
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 700; color: #fff; flex-shrink: 0;
  background: linear-gradient(140deg, hsl(var(--h, 220) 65% 42%), hsl(calc(var(--h, 220) + 48) 70% 34%));
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.avatar.sm { width: 30px; height: 30px; font-size: 12px; }
.avatar.lg { width: 92px; height: 92px; font-size: 34px; }

/* buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 11px; font-size: 14.5px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.15s, background 0.18s, border-color 0.18s, box-shadow 0.18s;
  white-space: nowrap; line-height: 1.2;
}
.btn:active { transform: translateY(1px) scale(0.995); }
.btn-primary {
  background: var(--lime); color: #0a0c07;
  box-shadow: 0 8px 24px rgba(200, 245, 66, 0.16);
}
.btn-primary:hover { background: #d7ff5c; box-shadow: 0 10px 30px rgba(200, 245, 66, 0.26); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); }
.btn-lg { padding: 14px 26px; font-size: 15.5px; border-radius: 12px; }
.btn-sm { padding: 7px 13px; font-size: 13px; border-radius: 9px; }
.btn-xs { padding: 5px 10px; font-size: 12px; border-radius: 7px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; box-shadow: none; }

/* typography helpers ----------------------------------------------------- */
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
h2 { font-size: clamp(21px, 2.4vw, 27px); font-weight: 750; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.block { display: block; }
.center { text-align: center; }
.pad { padding: 22px; }
.link { color: var(--lime); font-size: 13.5px; }
.link:hover { text-decoration: underline; }
.eyebrow {
  display: inline-block; font-size: 10.5px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--faint); font-weight: 700; margin-bottom: 10px;
}
.grad {
  background: linear-gradient(100deg, var(--lime) 0%, #7dffc4 45%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: rgba(200, 245, 66, 0.1); color: var(--lime);
  border: 1px solid rgba(200, 245, 66, 0.22);
}
.pill-glow { position: absolute; top: 12px; left: 12px; backdrop-filter: blur(8px); background: rgba(8, 9, 12, 0.7); }
.chip {
  display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 6px;
  font-size: 11.5px; color: var(--muted); background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.chip-link {
  padding: 7px 14px; border-radius: 999px; font-size: 13px; color: var(--muted);
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); transition: 0.16s;
}
.chip-link:hover { color: var(--text); border-color: var(--line-2); }
.chip-link.active { background: var(--text); color: #0a0c07; border-color: var(--text); font-weight: 600; }
.fineprint { font-size: 12px; color: var(--faint); margin-top: 12px; line-height: 1.65; }
.fineprint b { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; }
.check-list li { position: relative; padding-left: 22px; color: var(--muted); font-size: 13.5px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  color: var(--lime); font-weight: 700; font-size: 12px;
}
.check-list.small li { font-size: 12.5px; }

/* stars ------------------------------------------------------------------ */
.stars { color: #ffd166; font-size: 13px; letter-spacing: 1px; white-space: nowrap; }
.stars b { color: var(--text); font-weight: 600; margin-left: 4px; letter-spacing: 0; }
.stars.empty { color: var(--faint); letter-spacing: 0; }

/* status ----------------------------------------------------------------- */
.status {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; padding: 3px 9px; border-radius: 999px; font-weight: 600;
  border: 1px solid transparent; white-space: nowrap;
}
.status-live { background: rgba(200, 245, 66, 0.12); color: var(--lime); border-color: rgba(200, 245, 66, 0.25); }
.status-draft, .status-hidden { background: rgba(255, 255, 255, 0.06); color: var(--muted); border-color: var(--line); }
.status-pending { background: rgba(255, 209, 102, 0.12); color: #ffd166; border-color: rgba(255, 209, 102, 0.25); }
.status-paid { background: rgba(102, 224, 255, 0.1); color: var(--cyan); border-color: rgba(102, 224, 255, 0.25); }
.status-rejected { background: rgba(255, 107, 107, 0.1); color: #ff8b8b; border-color: rgba(255, 107, 107, 0.25); }

/* hero ------------------------------------------------------------------- */
.hero {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px;
  align-items: center; padding: 64px 0 72px;
}
.hero h1 { margin: 18px 0 20px; font-size: clamp(36px, 5vw, 62px); letter-spacing: -0.035em; }
.hero-sub { color: var(--muted); font-size: 16px; max-width: 520px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; margin: 30px 0 36px; flex-wrap: wrap; }
.hero-metrics { display: flex; gap: 38px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-metrics strong { display: block; font-size: 23px; font-weight: 750; letter-spacing: -0.02em; }
.hero-metrics span { font-size: 12.5px; color: var(--faint); }

.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: -30px -20px; z-index: -1;
  background: radial-gradient(closest-side, rgba(200, 245, 66, 0.14), transparent 72%);
  filter: blur(20px);
}
.hero-card {
  display: block; background: var(--panel); border: 1px solid var(--line-2);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
  transition: transform 0.4s ease, border-color 0.2s;
}
.hero-card:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) translateY(-4px); border-color: rgba(200, 245, 66, 0.3); }
.hero-card-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.hero-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.hero-card-body strong { display: block; font-size: 15.5px; }
.hero-card-body small { color: var(--faint); font-size: 12px; }
.hero-card-price { font-weight: 750; font-size: 16px; color: var(--lime); }

/* store ------------------------------------------------------------------ */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 6px; flex-wrap: wrap; }
.section-head p { margin-top: 6px; font-size: 13.5px; }
.search { position: relative; display: flex; width: 300px; max-width: 100%; }
.search input {
  width: 100%; padding: 11px 44px 11px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2);
  color: var(--text); font-size: 13.5px; outline: none; transition: border-color 0.18s, background 0.18s;
}
.search input::placeholder { color: var(--faint); }
.search input:focus { border-color: rgba(200, 245, 66, 0.5); background: rgba(255, 255, 255, 0.06); }
.search button {
  position: absolute; right: 5px; top: 5px; bottom: 5px; width: 34px;
  border: 0; border-radius: 999px; background: transparent; color: var(--muted);
  cursor: pointer; font-size: 16px;
}
.search button:hover { color: var(--lime); }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 22px; gap: 12px; flex-wrap: wrap; }
.tabs { display: flex; gap: 6px; }
.tab { font-size: 13px; color: var(--muted); padding: 5px 11px; border-radius: 999px; }
.tab:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.tab.active { color: var(--text); background: rgba(255, 255, 255, 0.08); }

.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.game-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.22s ease, border-color 0.22s, box-shadow 0.22s;
}
.game-card:hover { transform: translateY(-5px); border-color: rgba(200, 245, 66, 0.32); box-shadow: 0 22px 46px rgba(0, 0, 0, 0.5); }
.game-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0d0f16; }
.game-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.game-card:hover .game-cover img { transform: scale(1.045); }
.card-price {
  position: absolute; right: 10px; bottom: 10px;
  padding: 4px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 700;
  background: rgba(7, 8, 12, 0.82); backdrop-filter: blur(10px); color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.badge.featured {
  position: absolute; top: 10px; left: 10px; font-size: 10.5px; font-weight: 700;
  padding: 3px 8px; border-radius: 6px; letter-spacing: 0.04em;
  background: var(--lime); color: #0a0c07;
}
.badge.demo {
  position: absolute; top: 10px; right: 10px; font-size: 10.5px; font-weight: 700;
  padding: 3px 8px; border-radius: 6px; letter-spacing: 0.04em;
  background: rgba(102, 224, 255, 0.92); color: #04121a;
}
.game-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.game-body h3 { font-size: 15.5px; }
.game-tagline { font-size: 12.5px; color: var(--muted); line-height: 1.55; min-height: 38px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.game-meta { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 4px; font-size: 11.5px; color: var(--faint); flex-wrap: wrap; }
.dot { display: inline-flex; align-items: center; }
.dot + .dot::before { content: "·"; margin-right: 10px; color: var(--faint); }

/* split / features ------------------------------------------------------- */
.split-section {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px;
  padding: 84px 0; border-top: 1px solid var(--line); margin-top: 72px; align-items: start;
}
.split-copy h2 { font-size: clamp(26px, 3.2vw, 40px); margin-bottom: 18px; }
.split-copy p { color: var(--muted); line-height: 1.8; margin-bottom: 22px; max-width: 420px; }
.link-row { display: flex; gap: 10px; flex-wrap: wrap; }
.link-row .btn { padding: 9px 16px; font-size: 13.5px; }
.feature-list { display: grid; gap: 14px; }
.feature {
  display: flex; gap: 18px; padding: 22px; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.feature-icon {
  font-size: 11px; font-weight: 700; color: var(--lime); letter-spacing: 0.1em;
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(200, 245, 66, 0.09); border: 1px solid rgba(200, 245, 66, 0.18); flex-shrink: 0;
}
.feature h3 { font-size: 15px; margin-bottom: 5px; }
.feature p { font-size: 13px; color: var(--muted); line-height: 1.65; }

.cta-band {
  margin: 20px 0 80px; padding: 42px 44px; border-radius: 24px;
  background: radial-gradient(700px 300px at 15% 20%, rgba(200, 245, 66, 0.16), transparent 65%), var(--panel);
  border: 1px solid rgba(200, 245, 66, 0.16);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: var(--muted); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* crumbs / page head ----------------------------------------------------- */
.crumbs { display: flex; gap: 9px; align-items: center; font-size: 12.5px; color: var(--faint); margin: 8px 0 22px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.crumbs span { color: var(--faint); }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin: 18px 0 28px; flex-wrap: wrap; }
.page-head h1 { margin: 6px 0 8px; }
.page-head p { font-size: 13.5px; }
.head-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* game detail ------------------------------------------------------------ */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.detail-cover { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.detail-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.detail-head { margin: 26px 0 22px; }
.detail-tags { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.detail-head h1 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 10px; }
.detail-tagline { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 640px; }
.detail-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  margin-bottom: 34px;
}
.detail-stats > div { background: var(--panel); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.detail-stats strong { font-size: 16px; font-weight: 700; }
.detail-stats span { font-size: 11.5px; color: var(--faint); }
.prose { max-width: 720px; }
.prose h2 { font-size: 20px; margin-bottom: 16px; }
.prose p { color: #b8bfd0; line-height: 1.9; margin-bottom: 15px; font-size: 14.5px; }
.prose a { color: var(--lime); }
.creator-strip {
  display: flex; align-items: center; gap: 14px; margin: 34px 0; padding: 16px 18px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; max-width: 720px;
}
.creator-strip > div { margin-right: auto; }
.creator-strip small { display: block; font-size: 11px; color: var(--faint); }
.creator-strip strong { font-size: 14.5px; }
.reviews { margin-top: 46px; padding-top: 34px; border-top: 1px solid var(--line); max-width: 720px; }
.review-list { display: grid; gap: 18px; margin-top: 22px; }
.review { padding: 18px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.review-head { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.review-head > div { margin-right: auto; }
.review-head strong { display: block; font-size: 13.5px; }
.review-head small { color: var(--faint); font-size: 11.5px; }
.review p { color: #b8bfd0; font-size: 13.5px; line-height: 1.7; }
.review-form { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-top: 20px; display: grid; gap: 12px; }
.review-form h3 { font-size: 14.5px; }
.review-form textarea {
  width: 100%; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-2);
  border-radius: 10px; color: var(--text); padding: 11px 13px; font-family: inherit; font-size: 13.5px; resize: vertical;
}
.review-form textarea:focus { outline: none; border-color: rgba(200, 245, 66, 0.45); }
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-input input { display: none; }
.rating-input label span { font-size: 24px; color: rgba(255, 255, 255, 0.14); cursor: pointer; transition: color 0.12s; }
.rating-input input:checked ~ label span,
.rating-input label:hover span,
.rating-input label:hover ~ label span { color: #ffd166; }

.buybox {
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.buybox-price { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 4px; }
.buybox-hint { color: var(--faint); font-size: 12.5px; margin-bottom: 18px; }
.buybox .btn { margin-bottom: 10px; }
.buybox-meta { display: grid; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.buybox-meta > div { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; }
.buybox-meta span:first-child { color: var(--faint); }
.buybox-meta a { color: var(--lime); }
.share-btn {
  width: 100%; margin-top: 14px; padding: 9px; border-radius: 9px; cursor: pointer;
  background: transparent; border: 1px dashed var(--line-2); color: var(--muted); font-size: 12.5px;
}
.share-btn:hover { color: var(--text); border-color: var(--line-2); background: rgba(255, 255, 255, 0.03); }
.side-note { margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); }
.side-note strong { font-size: 13px; }
.side-note p { font-size: 12.5px; color: var(--faint); margin-top: 6px; line-height: 1.6; }
.launch-row {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 10px;
  border-radius: 11px; background: rgba(102, 224, 255, 0.07); border: 1px solid rgba(102, 224, 255, 0.2);
}
.launch-row span:first-child { color: var(--cyan); font-size: 12px; }
.launch-row strong { display: block; font-size: 13px; }
.launch-row small { color: var(--faint); font-size: 11.5px; }
.launch-row .arrow { margin-left: auto; color: var(--faint); }

/* 两种游玩方式 */
.play-options { display: grid; gap: 8px; margin: 10px 0 8px; }
.play-option {
  display: flex; align-items: center; gap: 12px; padding: 11px 13px;
  border-radius: 11px; background: rgba(200, 245, 66, 0.05);
  border: 1px solid rgba(200, 245, 66, 0.22); transition: background 0.16s, border-color 0.16s;
}
.play-option:hover { background: rgba(200, 245, 66, 0.11); border-color: rgba(200, 245, 66, 0.4); }
.play-option + .play-option { background: rgba(255, 255, 255, 0.03); border-color: var(--line-2); }
.play-option + .play-option:hover { background: rgba(255, 255, 255, 0.06); }
.po-icon {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(200, 245, 66, 0.14); color: var(--lime); font-size: 13px; flex-shrink: 0;
}
.play-option + .play-option .po-icon { background: rgba(255, 255, 255, 0.07); color: var(--muted); }
.play-option strong { display: block; font-size: 13.5px; font-weight: 650; }
.play-option small { display: block; color: var(--faint); font-size: 11.5px; margin-top: 1px; }
.demo-btn { margin-top: 2px; border-style: dashed; }
.demo-note { text-align: center; font-size: 11.5px; color: var(--faint); margin: -2px 0 8px; }
.detail-side { position: sticky; top: 90px; }

/* auth ------------------------------------------------------------------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 60px 0 90px; }
.auth-panel { position: relative; }
.auth-brand .brand-mark { margin-bottom: 26px; }
.auth-brand h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 24px; }
.auth-brand ul { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 12px; }
.auth-brand li { color: var(--muted); font-size: 14px; padding-left: 24px; position: relative; }
.auth-brand li::before { content: "→"; position: absolute; left: 0; color: var(--lime); }
.auth-quote { border-left: 2px solid rgba(200, 245, 66, 0.4); padding-left: 18px; max-width: 380px; }
.auth-quote p { color: #c3cadb; font-size: 14px; line-height: 1.75; font-style: italic; }
.auth-quote span { display: block; margin-top: 8px; font-size: 12px; color: var(--faint); }
.auth-card { background: var(--panel); border: 1px solid var(--line-2); border-radius: 22px; padding: 38px 36px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 30px; margin-bottom: 6px; }
.auth-card > p { margin-bottom: 26px; font-size: 13.5px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field > span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.field > span b { color: var(--lime); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border-radius: 10px; font-size: 14px; font-family: inherit;
  background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line-2); color: var(--text);
  outline: none; transition: border-color 0.16s, background 0.16s;
}
.field textarea { resize: vertical; line-height: 1.65; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(200, 245, 66, 0.5); background: rgba(255, 255, 255, 0.05); }
.field input::placeholder, .field textarea::placeholder { color: #555c70; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #8b93a8 50%), linear-gradient(135deg, #8b93a8 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 20px; }
.role-option {
  display: flex; gap: 10px; align-items: flex-start; padding: 13px 14px; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: 11px; background: rgba(255, 255, 255, 0.02); transition: 0.16s;
}
.role-option:has(input:checked) { border-color: rgba(200, 245, 66, 0.5); background: rgba(200, 245, 66, 0.05); }
.role-option input { accent-color: var(--lime); margin-top: 3px; }
.role-option strong { display: block; font-size: 13.5px; }
.role-option small { color: var(--faint); font-size: 11.5px; }
.auth-switch { text-align: center; margin-top: 20px; font-size: 13px; color: var(--faint); }
.auth-switch a { color: var(--lime); }
.demo-logins { margin-top: 26px; padding-top: 20px; border-top: 1px dashed var(--line-2); }
.demo-logins p { font-size: 11.5px; color: var(--faint); margin-bottom: 10px; }
.demo-chip {
  padding: 6px 11px; margin: 0 6px 6px 0; border-radius: 7px; cursor: pointer;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); color: var(--muted); font-size: 12px;
}
.demo-chip:hover { color: var(--text); border-color: rgba(200, 245, 66, 0.4); }

/* checkout --------------------------------------------------------------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 32px; align-items: start; padding-top: 20px; }
.checkout-main { display: grid; gap: 20px; }
.steps { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; font-size: 12.5px; color: var(--faint); }
.step { display: flex; align-items: center; gap: 7px; }
.step b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: rgba(255, 255, 255, 0.06); }
.step.active { color: var(--text); }
.step.active b { background: var(--lime); color: #0a0c07; }
.step + .step::before { content: "—"; margin-right: 4px; color: var(--faint); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel h3 { margin-bottom: 16px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.panel-head h3 { margin: 0; }
.panel > h2 { font-size: 19px; margin-bottom: 18px; }
.panel:has(> .table) { overflow-x: auto; }
.order-game { display: flex; align-items: center; gap: 15px; padding: 14px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); border-radius: 12px; }
.order-game img { width: 96px; height: 54px; object-fit: cover; border-radius: 8px; }
.order-game-info { flex: 1; }
.order-game-info strong { display: block; font-size: 14.5px; }
.order-game-info small { color: var(--faint); font-size: 12px; }
.order-game-price { font-weight: 700; font-size: 15px; }
.order-lines { margin: 20px 0 0; padding: 0; display: grid; gap: 11px; }
.order-lines > div { display: flex; justify-content: space-between; font-size: 13.5px; }
.order-lines dt { color: var(--muted); }
.order-lines dd { margin: 0; font-weight: 600; }
.order-lines .total { border-top: 1px solid var(--line); padding-top: 13px; margin-top: 4px; font-size: 15px; }
.order-lines .total dt { color: var(--text); font-weight: 600; }
.order-lines .total dd { color: var(--lime); font-size: 19px; font-weight: 800; }
.methods { display: grid; gap: 10px; }
.method {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255, 255, 255, 0.02); transition: 0.16s;
}
.method:has(input:checked) { border-color: rgba(200, 245, 66, 0.5); background: rgba(200, 245, 66, 0.04); }
.method input { display: none; }
.method-logo {
  width: 52px; height: 30px; border-radius: 6px; display: grid; place-items: center;
  font-size: 9px; font-weight: 800; letter-spacing: 0.04em; color: #0a0c07; background: #dfe5f2;
}
.method:nth-child(2) .method-logo { background: #7ee787; }
.method:nth-child(3) .method-logo { background: #8ecae6; }
.method-name { font-size: 14px; font-weight: 600; flex: 1; }
.radio-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); position: relative; }
.method:has(input:checked) .radio-dot { border-color: var(--lime); }
.method:has(input:checked) .radio-dot::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--lime);
}
.sandbox-note {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 14px;
  border-radius: 10px; background: rgba(255, 209, 102, 0.07); border: 1px solid rgba(255, 209, 102, 0.2);
  font-size: 12px; color: #c9b483;
}
.sandbox-note strong { color: #ffd166; white-space: nowrap; }
.checkout-side .panel { position: sticky; top: 90px; }
.sticky { position: sticky; top: 90px; }
.summary-row { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; padding: 8px 0; }
.summary-row span:first-child { color: var(--faint); }
.summary-row code { font-size: 12px; color: var(--muted); }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; align-items: center; }
.summary-row.total strong { font-size: 22px; color: var(--lime); }
.checkout-side .btn { margin: 16px 0 10px; }

/* success / library ------------------------------------------------------ */
.success { display: grid; place-items: center; padding: 50px 0 70px; }
.success-card { width: min(560px, 100%); text-align: center; }
.success-icon {
  width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 30px; color: #0a0c07;
  background: var(--lime); box-shadow: 0 0 0 12px rgba(200, 245, 66, 0.09);
}
.success-card h1 { margin-bottom: 8px; }
.success-card > p { margin-bottom: 26px; }
.receipt { text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.success-actions { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; margin-top: 24px; }
.lib-card { display: flex; gap: 16px; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; align-items: center; }
.lib-cover { width: 130px; flex-shrink: 0; border-radius: 10px; overflow: hidden; }
.lib-cover img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.lib-body { flex: 1; min-width: 0; }
.lib-body strong { font-size: 14.5px; display: block; }
.lib-body small { color: var(--faint); font-size: 11.5px; display: block; margin: 3px 0 10px; }
.lib-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* stats ------------------------------------------------------------------ */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.stat-grid.five { grid-template-columns: repeat(5, 1fr); }
.stat {
  padding: 20px 22px; border-radius: 16px; background: var(--panel);
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px;
}
.stat-label { font-size: 12px; color: var(--faint); }
.stat-value { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.stat-sub { font-size: 11.5px; color: var(--faint); }
.stat.accent { border-color: rgba(200, 245, 66, 0.24); background: linear-gradient(160deg, rgba(200, 245, 66, 0.09), rgba(200, 245, 66, 0.02)), var(--panel); }
.stat.accent .stat-value { color: var(--lime); }
.stat.glow { border-color: rgba(102, 224, 255, 0.22); background: linear-gradient(160deg, rgba(102, 224, 255, 0.08), transparent), var(--panel); }
.stat.glow .stat-value { color: var(--cyan); }
.stat.muted .stat-value { color: var(--muted); font-size: 22px; }

/* chart ------------------------------------------------------------------ */
.chart-panel { margin-bottom: 22px; }
.chart-total { font-size: 20px; font-weight: 800; color: var(--lime); }
.chart { display: flex; align-items: flex-end; gap: 4px; height: 120px; padding-top: 8px; }
.bar {
  flex: 1; height: var(--h, 2%); min-height: 3px; border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--lime), rgba(200, 245, 66, 0.25));
  transition: opacity 0.16s;
}
.bar:hover { opacity: 0.7; }
.chart-axis { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--faint); margin-top: 9px; }

/* tables ----------------------------------------------------------------- */
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th {
  text-align: left; font-size: 11px; font-weight: 600; color: var(--faint);
  text-transform: uppercase; letter-spacing: 0.06em; padding: 0 12px 10px; white-space: nowrap;
}
.table td { padding: 13px 12px; border-top: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.table code { font-size: 11.5px; color: var(--muted); background: rgba(255, 255, 255, 0.04); padding: 2px 6px; border-radius: 5px; }
.table-game { display: flex; align-items: center; gap: 11px; }
.table-game img { width: 54px; height: 34px; object-fit: cover; border-radius: 6px; }
.table-game a { font-weight: 600; font-size: 13px; }
.table-game small { display: block; color: var(--faint); font-size: 11px; }
.table.compact td { padding: 10px 10px; font-size: 12.5px; }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.admin-top { grid-template-columns: 0.8fr 1.2fr; }
.inline-form { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; margin-top: 16px; }
.inline-form .field { margin: 0; width: 200px; }

/* studio extras ---------------------------------------------------------- */
.payout-balance { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 16px; background: rgba(200, 245, 66, 0.05); border: 1px solid rgba(200, 245, 66, 0.16); border-radius: 12px; margin-bottom: 16px; }
.payout-balance span { font-size: 12.5px; color: var(--muted); }
.payout-balance strong { font-size: 24px; color: var(--lime); letter-spacing: -0.02em; }
.payout-form { display: grid; gap: 10px; }
.payout-form .field { margin: 0; }
.payout-history { margin-top: 20px; display: grid; gap: 8px; }
.payout-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
.payout-row strong { display: block; font-size: 13.5px; }
.payout-row small { color: var(--faint); font-size: 11px; }
.upgrade-card {
  max-width: 640px; margin: 30px 0; padding: 40px; border-radius: 22px;
  background: radial-gradient(500px 260px at 10% 0%, rgba(200, 245, 66, 0.13), transparent 65%), var(--panel);
  border: 1px solid rgba(200, 245, 66, 0.2);
}
.upgrade-card h2 { margin-bottom: 12px; }
.upgrade-card p { color: var(--muted); margin-bottom: 8px; }

/* publish ---------------------------------------------------------------- */
.publish { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; }
.publish-main { display: grid; gap: 20px; }
.publish-main .panel h3 { margin-bottom: 18px; }
.publish-side .panel { position: sticky; top: 90px; }
.publish-side .btn { margin-top: 10px; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0 18px; }
.swatch { cursor: pointer; display: grid; gap: 6px; justify-items: center; }
.swatch input { display: none; }
.swatch-chip {
  width: 100%; aspect-ratio: 16 / 9; border-radius: 9px; display: block;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  border: 1px solid var(--line-2); transition: 0.16s; position: relative;
}
.swatch:has(input:checked) .swatch-chip { border-color: var(--lime); box-shadow: 0 0 0 2px rgba(200, 245, 66, 0.25); }
.swatch:has(input:checked) .swatch-chip::after {
  content: "✓"; position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--lime); font-size: 15px; font-weight: 700; text-shadow: 0 1px 6px #000;
}
.swatch small { font-size: 10.5px; color: var(--faint); }
.upload {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer;
  border: 1px dashed var(--line-2); border-radius: 12px; margin-top: 14px;
}
.upload:hover { border-color: rgba(200, 245, 66, 0.4); background: rgba(255, 255, 255, 0.02); }
.upload input { display: none; }
.upload-icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.05); color: var(--muted); font-size: 16px; }
.upload strong { display: block; font-size: 13px; }
.upload small { color: var(--faint); font-size: 11.5px; }
.upload-name { margin-left: auto; font-size: 11.5px; color: var(--lime); max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.build-pick { display: grid; gap: 10px; margin-bottom: 16px; }
.price-input { display: flex; align-items: center; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.price-input span { padding: 0 4px 0 13px; color: var(--faint); }
.price-input input { border: 0; background: transparent; padding-left: 4px; }
.price-input:focus-within { border-color: rgba(200, 245, 66, 0.5); }
.preview-card { margin: 14px 0 20px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.preview-cover { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--c1), var(--c2)); position: relative; display: grid; place-items: center; }
.preview-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.preview-body { padding: 13px 15px; }
.preview-body h3 { font-size: 14.5px; margin-bottom: 4px; }
.preview-body p { font-size: 12px; color: var(--muted); margin-bottom: 9px; line-height: 1.5; }

/* profile / pricing / about --------------------------------------------- */
.profile-head {
  display: flex; gap: 26px; align-items: center; padding: 44px 0 34px;
  border-bottom: 1px solid var(--line); margin-bottom: 30px; flex-wrap: wrap;
}
.profile-info { flex: 1; min-width: 240px; }
.profile-info h1 { margin: 4px 0 6px; }
.profile-bio { color: var(--muted); font-size: 14px; margin-top: 10px; max-width: 520px; line-height: 1.7; }
.profile-stats { display: flex; gap: 30px; }
.profile-stats strong { display: block; font-size: 22px; font-weight: 750; }
.profile-stats span { font-size: 11.5px; color: var(--faint); }
.profile-actions { margin: -10px 0 26px; }

.pricing-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 22px; margin-bottom: 50px; }
.price-card { padding: 32px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.price-card.highlight { border-color: rgba(200, 245, 66, 0.35); background: radial-gradient(420px 240px at 20% 0%, rgba(200, 245, 66, 0.13), transparent 70%), var(--panel); }
.price-card h3 { font-size: 18px; }
.price-card p { color: var(--muted); font-size: 13.5px; }
.big-price { font-size: 62px; font-weight: 850; letter-spacing: -0.05em; line-height: 1; color: var(--lime); }
.big-price small { font-size: 26px; margin-left: 2px; }
.price-card .btn { margin-top: auto; }
.price-explain { padding: 30px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.price-explain h3 { margin-bottom: 20px; }
.split-bar { display: flex; height: 52px; border-radius: 12px; overflow: hidden; margin-bottom: 22px; font-size: 12px; font-weight: 600; }
.split-dev { background: linear-gradient(90deg, #9bdc1f, var(--lime)); color: #0a0c07; display: flex; align-items: center; padding-left: 16px; }
.split-platform { background: rgba(255, 255, 255, 0.1); color: var(--text); display: flex; align-items: center; padding-left: 12px; }
.faq { max-width: 760px; }
.faq h2 { margin-bottom: 20px; }
.faq details { border-top: 1px solid var(--line); padding: 15px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 14.5px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); font-size: 13.5px; line-height: 1.8; margin-top: 12px; padding-right: 30px; }

.about-hero { padding: 60px 0 40px; max-width: 760px; }
.about-hero h1 { font-size: clamp(34px, 5vw, 58px); margin: 10px 0 22px; }
.about-hero p { color: var(--muted); font-size: 16px; line-height: 1.85; }
.about-hero + .stat-grid { margin-bottom: 30px; }

/* long-form sections (creators page) --------------------------------------- */
.page-section { margin-top: 64px; }
.page-section h2 { margin-bottom: 10px; }
.page-section .lead { color: var(--muted); font-size: 14px; line-height: 1.75; margin-bottom: 24px; max-width: 680px; }
.page-section .two-col { margin-bottom: 0; }
.gap-top { margin-top: 12px; }
.optional {
  font-size: 10.5px; font-weight: 500; color: var(--faint); vertical-align: middle;
  border: 1px solid var(--line-2); border-radius: 5px; padding: 1px 6px; margin-left: 8px;
}
.demo-pick { grid-template-columns: repeat(3, 1fr); }
.publish-main .panel h3 .optional { position: relative; top: -1px; }

/* empty / error / footer -------------------------------------------------- */
.empty { text-align: center; padding: 64px 24px; border: 1px dashed var(--line-2); border-radius: 18px; background: rgba(255, 255, 255, 0.015); }
.empty-icon { font-size: 30px; color: var(--faint); margin-bottom: 14px; }
.empty h3 { margin-bottom: 7px; }
.empty p { color: var(--muted); font-size: 13.5px; margin-bottom: 20px; line-height: 1.7; }
.empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-empty-cover {
  display: grid; place-items: center;
  background:
    radial-gradient(420px 240px at 30% 20%, rgba(200, 245, 66, 0.16), transparent 70%),
    linear-gradient(135deg, #10131d, #1b2233);
}
.hero-empty-title {
  font-size: 27px; font-weight: 800; line-height: 1.35; letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92); text-align: center;
}
.error-page { text-align: center; padding: 100px 0; }
.error-code { font-size: 96px; font-weight: 850; letter-spacing: -0.06em; color: rgba(255, 255, 255, 0.1); line-height: 1; }
.error-page h1 { margin: 10px 0 8px; }
.error-page p { margin-bottom: 26px; }

.footer { border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.012); margin-top: auto; }
.footer-inner { width: min(1180px, 100% - 48px); margin: 0 auto; padding: 48px 0 30px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand p { color: var(--faint); font-size: 12.5px; margin-top: 5px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h4 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin: 0 0 4px; }
.footer-col a { font-size: 13px; color: var(--muted); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  width: min(1180px, 100% - 48px); margin: 0 auto; padding: 18px 0 26px;
  border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px;
  font-size: 11.5px; color: var(--faint); flex-wrap: wrap;
}

/* toast ------------------------------------------------------------------ */
.toast-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 100; display: grid; gap: 9px; max-width: 360px; }
.toast {
  padding: 12px 16px; border-radius: 11px; font-size: 13px;
  background: #1b1f2c; border: 1px solid var(--line-2); color: var(--text);
  box-shadow: var(--shadow); animation: toastIn 0.22s ease;
}
.toast.error { border-color: rgba(255, 107, 107, 0.4); color: #ffb3b3; }
.toast.success { border-color: rgba(200, 245, 66, 0.35); }
.toast.out { opacity: 0; transform: translateY(6px); transition: 0.2s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* responsive ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-grid.five { grid-template-columns: repeat(3, 1fr); }
  .hero { gap: 36px; }
}

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav.open .nav-links { display: flex; }
  .nav-burger { display: block; }
  .nav-user { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding: 40px 0 50px; }
  .hero-visual { max-width: 440px; }
  .hero-card { transform: none; }
  .detail, .checkout, .publish, .auth, .split-section, .pricing-grid, .two-col, .admin-top { grid-template-columns: 1fr; }
  .detail-side, .checkout-side .panel, .publish-side .panel, .sticky { position: static; }
  .auth-panel { display: none; }
  .stat-grid, .stat-grid.five { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .split-section { gap: 32px; padding: 50px 0; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-stats { grid-template-columns: repeat(2, 1fr); }
  .profile-head { gap: 18px; }
}

@media (max-width: 600px) {
  .container, .container-wide, .nav-inner, .footer-inner, .footer-bottom { width: calc(100% - 32px); }
  .nav-inner { gap: 12px; }
  .nav-user { gap: 6px; }
  .nav-user .btn { padding: 7px 11px; font-size: 12.5px; }
  .nav-burger { padding: 5px 9px; }
  .brand-text small { display: none; }
  .uname { display: none; }
  .hero-metrics { gap: 22px; flex-wrap: wrap; }
  .hero-metrics strong { font-size: 19px; }
  .game-grid { grid-template-columns: 1fr; }
  .game-tagline { min-height: 0; }
  .checkout, .detail { gap: 24px; }
  .panel { padding: 20px; }
  .auth-card { padding: 26px 20px; }
  .cta-band { padding: 28px 24px; }
  .field-row, .role-pick { grid-template-columns: 1fr; }
  .stat-grid, .stat-grid.five { grid-template-columns: 1fr 1fr; }
  .stat { padding: 16px; }
  .stat-value { font-size: 21px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .swatches { grid-template-columns: repeat(3, 1fr); }
  .demo-pick { grid-template-columns: 1fr; }
  .table th, .table td { padding: 10px 8px; }
  .profile-stats { gap: 20px; }
}
