/* ============================================================================
   games.9559999.xyz —— 体验站样式
   设计语言与博客同源（HUD 标签 / 发丝线 / 切角 / 单色强调），但独立成体系：
   这里是「终端」，所以固定暗色，强调色用青绿，数值统一等宽。
   ========================================================================= */

:root {
  --bg-0: #05080b;
  --bg-1: #080d12;
  --bg-2: #0c141b;
  --bg-3: #101a23;
  --bg-inset: #060a0e;

  --fg-0: #e9f4f6;
  --fg-1: #c3d4d9;
  --fg-2: #93a8b0;
  --fg-3: #6b8189;

  --line: rgba(126, 190, 208, 0.16);
  --line-strong: rgba(126, 190, 208, 0.3);

  --accent: #3fded0;
  --accent-soft: rgba(63, 222, 208, 0.14);
  --accent-glow: rgba(63, 222, 208, 0.35);
  --accent-ink: #03211f;
  --warn: #ffb454;
  --bad: #ff6b6b;

  --r-xs: 2px;
  --r-sm: 3px;
  --r-md: 5px;

  --shell: 1240px;
  --font-sans: "Inter Tight", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --font-display: "Orbitron", "Inter Tight", system-ui, sans-serif;

  --t-micro: 10px;
  --t-mini: 11px;
  --t-small: 12px;
  --t-body: 14px;
  --t-h4: 16px;
  --t-h3: 20px;
  --t-h2: 28px;
  --t-h1: clamp(38px, 6vw, 68px);

  --shadow-card: 0 18px 40px -28px rgba(0, 0, 0, 0.9);
  --shadow-pop: 0 26px 60px -30px rgba(0, 0, 0, 0.95);
}

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

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-0);
  color: var(--fg-1);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

/* 背景：网格 + 双色光晕，不抢内容 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(126, 190, 208, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 190, 208, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 78%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 40% at 12% -6%, rgba(63, 222, 208, 0.13), transparent 70%),
    radial-gradient(50% 40% at 92% 4%, rgba(96, 140, 255, 0.1), transparent 70%);
  pointer-events: none;
}

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

/* 组件用了 display:inline-flex / grid，会盖掉浏览器默认的 [hidden]，必须显式压住 */
[hidden] {
  display: none !important;
}

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

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

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

.wrap {
  width: min(var(--shell), 100% - 48px);
  margin: 0 auto;
}

.mono {
  font-family: var(--font-mono);
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 300;
  padding: 8px 12px;
  background: var(--bg-2);
  border: 1px solid var(--accent);
  color: var(--fg-0);
  font-family: var(--font-mono);
  font-size: var(--t-small);
  transition: top 0.18s ease;
}

.skip:focus {
  top: 8px;
}

/* ------------------------------------------------------------------ 顶栏 */
.gp-top {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 11, 0.86);
  backdrop-filter: blur(10px) saturate(1.2);
}

.gp-top-in {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 58px;
}

.gp-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.gp-brand-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xs);
  background: linear-gradient(160deg, var(--bg-3), var(--bg-1));
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.gp-brand-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--fg-0);
  text-transform: uppercase;
}

.gp-brand-tag {
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--fg-3);
}

.gp-top .spacer {
  flex: 1;
}

.gp-top-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.gp-top-links a {
  padding: 6px 11px;
  border: 1px solid transparent;
  border-radius: var(--r-xs);
  font-size: var(--t-small);
  color: var(--fg-2);
  transition: 0.16s ease;
}

.gp-top-links a:hover {
  color: var(--fg-0);
  border-color: var(--line);
  background: var(--bg-2);
}

.gp-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  color: var(--fg-3);
  text-transform: uppercase;
  white-space: nowrap;
}

.gp-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ------------------------------------------------------------------ Hero */
.gp-hero {
  position: relative;
  padding: 62px 0 40px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.gp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(126, 190, 208, 0.05) 0 1px,
    transparent 1px 4px
  );
  opacity: 0.5;
  pointer-events: none;
}

.gp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 9px 4px 7px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xs);
  background: var(--bg-1);
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.gp-kicker::before {
  content: "";
  width: 3px;
  height: 9px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.gp-hero h1 {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: var(--t-h1);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.02em;
  color: var(--fg-0);
}

.gp-hero h1 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  text-shadow: 0 0 32px var(--accent-glow);
}

.gp-hero p {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--fg-2);
  font-size: var(--t-h4);
  line-height: 1.75;
}

.gp-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  margin: 32px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--line);
  overflow: hidden;
}

.gp-stat {
  padding: 13px 16px 12px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
}

.gp-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--t-h3);
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg-0);
  font-variant-numeric: tabular-nums;
}

.gp-stat span {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* ------------------------------------------------------------------ 工具条 */
.gp-toolbar {
  position: sticky;
  top: 58px;
  z-index: 40;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 11, 0.9);
  backdrop-filter: blur(8px);
}

.gp-toolbar-in {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.gp-search {
  position: relative;
  flex: 1 1 200px;
  max-width: 300px;
}

.gp-search svg {
  position: absolute;
  left: 10px;
  top: 50%;
  width: 13px;
  height: 13px;
  transform: translateY(-50%);
  color: var(--fg-3);
  pointer-events: none;
}

.gp-search input {
  width: 100%;
  height: 34px;
  padding: 0 10px 0 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--bg-inset);
  color: var(--fg-0);
  font-size: var(--t-small);
  transition: 0.16s ease;
}

.gp-search input::placeholder {
  color: var(--fg-3);
}

.gp-search input:focus {
  border-color: var(--line-strong);
  background: var(--bg-1);
}

.gp-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1 1 auto;
}

.gp-chip {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--bg-1);
  color: var(--fg-2);
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.16s ease;
}

.gp-chip:hover {
  border-color: var(--line-strong);
  color: var(--fg-0);
}

.gp-chip.is-on {
  border-color: transparent;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

.gp-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  white-space: nowrap;
}

/* 分类页签：横向滚动，不换行把 sticky 工具条撑高 */
.gp-cats {
  display: flex;
  gap: 6px;
  padding-top: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.gp-cats::-webkit-scrollbar {
  display: none;
}

.gp-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--bg-1);
  color: var(--fg-2);
  font-family: var(--font-sans);
  font-size: var(--t-small);
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.16s ease;
}

.gp-tab b {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fg-3);
}

.gp-tab:hover {
  border-color: var(--line-strong);
  color: var(--fg-0);
}

.gp-tab.is-on {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--fg-0);
}

.gp-tab.is-on b {
  color: var(--accent);
}

/* ------------------------------------------------------------------ 卡片 */
.gp-main {
  padding: 34px 0 72px;
}

.gp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.gp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.gp-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-pop);
}

/* 左上 / 右下角标记，hover 时点亮 */
.gp-card::before,
.gp-card::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border: 1px solid var(--accent);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
  z-index: 3;
}

.gp-card::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.gp-card::after {
  right: -1px;
  bottom: -1px;
  border-left: 0;
  border-top: 0;
}

.gp-card:hover::before,
.gp-card:hover::after {
  opacity: 0.9;
}

.gp-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-3);
  overflow: hidden;
}

.gp-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.3s ease;
}

.gp-card:hover .gp-cover img {
  transform: scale(1.04);
  opacity: 1;
}

/* 无封面时用 slug 生成占位，避免灰块 */
.gp-cover-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(70% 70% at 30% 20%, rgba(63, 222, 208, 0.22), transparent 60%),
    radial-gradient(60% 60% at 80% 90%, rgba(96, 140, 255, 0.18), transparent 60%),
    var(--bg-3);
}

.gp-cover-fallback span {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(233, 244, 246, 0.14);
  text-transform: uppercase;
}

.gp-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 8, 11, 0.85) 100%);
  pointer-events: none;
}

/* 封面中央的启动提示，hover 才出现 */
.gp-cover-hint {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.gp-cover-hint i {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid rgba(63, 222, 208, 0.55);
  border-radius: var(--r-xs);
  background: rgba(3, 33, 31, 0.72);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(3px);
}

.gp-card:hover .gp-cover-hint {
  opacity: 1;
}

.gp-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.gp-badge {
  padding: 3px 7px;
  border-radius: var(--r-xs);
  background: rgba(5, 8, 11, 0.72);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-1);
  backdrop-filter: blur(4px);
}

.gp-badge.is-accent {
  background: var(--accent);
  border-color: transparent;
  color: var(--accent-ink);
  font-weight: 600;
}

/* 评级徽标：沿用合集本身的配色直觉，SSS 最扎眼 */
.gp-badge.is-rate {
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
}

.gp-badge.is-rate[data-rate="SSS"] {
  background: #9f3f4f;
  border-color: transparent;
}

.gp-badge.is-rate[data-rate="SS"] {
  background: #a96c0d;
  border-color: transparent;
}

.gp-badge.is-rate[data-rate="S"] {
  background: #1f7a6b;
  border-color: transparent;
}

.gp-badge.is-rate[data-rate="A"] {
  background: #176b91;
  border-color: transparent;
}

.gp-badge.is-rate[data-rate="B"],
.gp-badge.is-rate[data-rate="C"],
.gp-badge.is-rate[data-rate="D"] {
  background: rgba(90, 110, 120, 0.85);
  border-color: transparent;
}

.gp-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px 16px 16px;
  flex: 1;
}

.gp-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--t-h4);
  font-weight: 650;
  line-height: 1.4;
  color: var(--fg-0);
}

.gp-desc {
  margin: 0;
  color: var(--fg-2);
  font-size: var(--t-small);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gp-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
}

.gp-tech span {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--bg-inset);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.gp-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.06em;
  color: var(--fg-3);
}

.gp-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--fg-3);
  flex-shrink: 0;
}

.gp-meta .gp-cat {
  color: var(--accent);
  letter-spacing: 0.08em;
}

.gp-launch {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xs);
  color: var(--fg-1);
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: 0.16s ease;
}

.gp-launch:hover {
  background: var(--accent);
  border-color: transparent;
  color: var(--accent-ink);
}

.gp-launch svg {
  width: 10px;
  height: 10px;
}

/* 空状态 / 骨架 */
/* ------------------------------------------------------------------ 分页器 */
.gp-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}

.gp-pager[hidden] {
  display: none;
}

.gp-page {
  min-width: 36px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--bg-1);
  color: var(--fg-2);
  font-family: var(--font-mono);
  font-size: var(--t-small);
  cursor: pointer;
  transition: 0.16s ease;
}

.gp-page:hover:not(:disabled) {
  border-color: var(--line-strong);
  background: var(--bg-2);
  color: var(--fg-0);
}

.gp-page.is-on {
  border-color: transparent;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  cursor: default;
}

.gp-page:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

.gp-page-gap {
  padding: 0 3px;
  color: var(--fg-3);
  font-family: var(--font-mono);
  font-size: var(--t-small);
}

.gp-empty {
  padding: 70px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-1);
}

.gp-empty b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--t-h3);
  letter-spacing: 0.1em;
  color: var(--fg-2);
  text-transform: uppercase;
}

.gp-empty p {
  margin: 10px 0 0;
  color: var(--fg-3);
  font-size: var(--t-small);
}

.gp-skel {
  height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: linear-gradient(100deg, var(--bg-1) 20%, var(--bg-2) 40%, var(--bg-1) 60%);
  background-size: 200% 100%;
  animation: gpSkel 1.4s linear infinite;
}

@keyframes gpSkel {
  to {
    background-position: -200% 0;
  }
}

/* ------------------------------------------------------------------ 详情页 */
.gp-detail {
  padding: 34px 0 80px;
}

.gp-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.gp-crumb a:hover {
  color: var(--accent);
}

.gp-crumb i {
  width: 14px;
  height: 1px;
  background: var(--line-strong);
}

.gp-crumb .gp-crumb-cat {
  color: var(--fg-2);
  letter-spacing: 0.06em;
}

.gp-crumb .gp-crumb-cat:hover {
  color: var(--accent);
}

.gp-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

.gp-detail-cover {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bg-3);
  aspect-ratio: 16 / 9;
  margin-bottom: 26px;
}

.gp-detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gp-detail h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg-0);
}

.gp-lead {
  margin: 0 0 22px;
  color: var(--fg-2);
  font-size: var(--t-h4);
  line-height: 1.75;
}

.gp-sec-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 34px 0 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.gp-sec-title::before {
  content: "";
  width: 3px;
  height: 11px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.gp-prose {
  color: var(--fg-1);
  font-size: var(--t-body);
  line-height: 1.85;
}

.gp-prose p {
  margin: 0 0 14px;
}

.gp-prose code {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--bg-inset);
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--accent);
}

.gp-side {
  position: sticky;
  top: 82px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gp-panel {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.gp-panel-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.gp-panel-hd::before {
  content: "";
  width: 3px;
  height: 9px;
  background: var(--accent);
}

.gp-panel-bd {
  padding: 12px 13px 14px;
}

.gp-kv {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: var(--t-mini);
}

.gp-kv:last-child {
  border-bottom: 0;
}

.gp-kv span {
  color: var(--fg-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.gp-kv b {
  font-weight: 500;
  color: var(--fg-1);
  text-align: right;
  overflow-wrap: anywhere;
}

.gp-req {
  color: var(--fg-2);
  font-size: var(--t-small);
  line-height: 1.75;
  white-space: pre-wrap;
}

.gp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: var(--r-xs);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: var(--t-small);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.16s ease;
}

.gp-btn:hover {
  box-shadow: 0 0 0 3px var(--accent-soft);
  transform: translateY(-1px);
}

.gp-btn.ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--fg-1);
  font-weight: 500;
}

.gp-btn.ghost:hover {
  border-color: var(--accent);
  color: var(--fg-0);
  box-shadow: none;
}

.gp-btn.sm {
  width: auto;
  padding: 6px 11px;
  font-size: var(--t-micro);
}

.gp-btn.danger {
  background: transparent;
  border-color: rgba(255, 107, 107, 0.4);
  color: var(--bad);
  font-weight: 500;
}

.gp-btn.danger:hover {
  background: rgba(255, 107, 107, 0.12);
  box-shadow: none;
}

.gp-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ------------------------------------------------------------------ 页脚 */
.gp-foot {
  border-top: 1px solid var(--line);
  padding: 26px 0 34px;
  background: linear-gradient(180deg, transparent, var(--bg-1));
}

.gp-foot-in {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.gp-foot a:hover {
  color: var(--accent);
}

.gp-foot .spacer {
  flex: 1;
}

/* ------------------------------------------------------------------ 后台 */
.gp-login {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 58px);
  padding: 40px 20px;
}

.gp-login-card {
  width: min(400px, 100%);
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  box-shadow: var(--shadow-pop);
}

.gp-login-card h1 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: var(--t-h3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-0);
}

.gp-login-card p {
  margin: 0 0 20px;
  font-size: var(--t-small);
  color: var(--fg-3);
}

.gp-field {
  margin-bottom: 14px;
}

.gp-field label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
}

.gp-field input,
.gp-field textarea,
.gp-field select {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--bg-inset);
  color: var(--fg-0);
  font-size: var(--t-small);
  transition: 0.16s ease;
}

.gp-field textarea {
  min-height: 92px;
  resize: vertical;
  line-height: 1.7;
  font-family: var(--font-sans);
}

.gp-field input:focus,
.gp-field textarea:focus,
.gp-field select:focus {
  border-color: var(--line-strong);
  background: var(--bg-1);
}

.gp-field .hint {
  margin-top: 5px;
  font-size: var(--t-micro);
  color: var(--fg-3);
  letter-spacing: 0.02em;
}

.gp-admin-main {
  padding: 26px 0 70px;
}

.gp-admin-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.gp-admin-bar h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--t-h3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-0);
}

.gp-admin-bar .spacer {
  flex: 1;
}

.gp-notice {
  margin-bottom: 14px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--r-xs);
  background: var(--bg-1);
  font-size: var(--t-small);
  color: var(--fg-2);
}

.gp-notice.bad {
  border-left-color: var(--bad);
  color: var(--bad);
}

.gp-list {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bg-1);
}

.gp-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.6fr) minmax(0, 1fr) 90px 120px 150px;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-small);
}

.gp-row:last-child {
  border-bottom: 0;
}

.gp-row:hover {
  background: var(--bg-2);
}

.gp-row.head {
  padding-top: 8px;
  padding-bottom: 8px;
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
}

.gp-row .thumb {
  width: 64px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  object-fit: cover;
  background: var(--bg-3);
}

.gp-row .t {
  color: var(--fg-0);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gp-row .s {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  color: var(--fg-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gp-row .acts {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.gp-tag {
  display: inline-block;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.gp-tag.on {
  border-color: rgba(63, 222, 208, 0.5);
  color: var(--accent);
}

.gp-tag.draft {
  border-color: rgba(255, 180, 84, 0.5);
  color: var(--warn);
}

/* 编辑抽屉 */
.gp-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.gp-drawer.open {
  display: block;
}

.gp-drawer-bg {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 8, 0.72);
  backdrop-filter: blur(3px);
}

.gp-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(560px, 100%);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line-strong);
  background: var(--bg-1);
  box-shadow: -30px 0 60px -40px #000;
  animation: gpSlide 0.22s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes gpSlide {
  from {
    transform: translateX(24px);
    opacity: 0.4;
  }
}

.gp-drawer-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.gp-drawer-hd b {
  font-family: var(--font-mono);
  font-size: var(--t-mini);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-1);
}

.gp-drawer-hd .spacer {
  flex: 1;
}

.gp-drawer-bd {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
}

.gp-drawer-ft {
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.gp-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gp-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--t-small);
  color: var(--fg-2);
  cursor: pointer;
}

.gp-check input {
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
}

.gp-upload {
  padding: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-xs);
  background: var(--bg-inset);
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  cursor: pointer;
  transition: 0.16s ease;
}

.gp-upload:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.gp-progress {
  height: 3px;
  margin-top: 8px;
  background: var(--bg-3);
  overflow: hidden;
}

.gp-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent));
  transition: width 0.2s ease;
}

.gp-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--bg-3);
  margin-bottom: 8px;
}

/* ------------------------------------------------------------------ 响应式 */
@media (max-width: 1000px) {
  .gp-detail-grid {
    grid-template-columns: 1fr;
  }

  .gp-side {
    position: static;
  }

  .gp-row {
    grid-template-columns: 52px minmax(0, 1fr) 90px 140px;
  }

  .gp-row .col-tech,
  .gp-row .col-time {
    display: none;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 28px);
  }

  .gp-hero {
    padding: 40px 0 28px;
  }

  .gp-top-links {
    display: none;
  }

  .gp-toolbar {
    position: static;
  }

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

  .gp-row {
    grid-template-columns: 46px minmax(0, 1fr) 110px;
  }

  .gp-row .col-size {
    display: none;
  }

  .gp-grid2 {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
