/* ============ 字体 ============ */
@font-face {
  font-family: 'Zpix';
  src: url('assets/zpix.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/inter-light.woff2?v=10') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
/* 商务现代无衬线：思源黑体子集（含站点全部中英文字符） */
@font-face {
  font-family: 'BizSans';
  src: url('assets/bizsans.woff2?v=13') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ============ 变量 ============ */
:root {
  /* 全局商务字体；像素字体仅用于左上角品牌与营业状态两处 */
  --font: 'BizSans', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-pixel: 'Zpix', 'Courier New', monospace;
  --c-bg: #0b0f06;
  --c-text: #e8efd8;
  --c-text-dim: #9aa882;
  --c-text-mute: #6d7a54;
  --c-line: rgba(221, 248, 0, 0.14);
  --c-line-strong: rgba(221, 248, 0, 0.32);
  --c-accent: #DDF800;
  --c-accent-2: #DDF800;
  --c-accent-3: #b8d400;
  /* 实心纯色（不透明），无毛玻璃 */
  --c-glass: #171d0d;
  --c-glass-strong: #141a0b;
  --c-input: #0e1207;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.5);

  /* 状态色 */
  --s0: #9aa878;
  --s1: #c8e000;
  --s2: #b8d400;
  --s3: #a8d400;
  --s4: #ff6b5a;
}

html[data-theme="light"] {
  --c-bg: #eef3dc;
  --c-text: #1a2408;
  --c-text-dim: #566626;
  --c-text-mute: #859140;
  --c-line: rgba(60, 80, 0, 0.16);
  --c-line-strong: rgba(60, 80, 0, 0.34);
  --c-accent: #7a8c00;
  --c-accent-2: #6f7d00;
  --c-accent-3: #8a9600;
  --c-glass: #ffffff;
  --c-glass-strong: #f7faea;
  --c-input: #eef2d8;
  --shadow: 0 8px 28px rgba(60, 80, 0, 0.14);
  --s0: #7a8552;
  --s1: #8a9c00;
  --s2: #7a8800;
  --s3: #6f8a00;
  --s4: #d8493a;
}

* { box-sizing: border-box; }

/* ============ 像素图标（单色，随 currentColor 变色） ============ */
.px-icon{display:inline-block;width:1em;height:1em;flex:none;vertical-align:-.12em;background-color:currentColor;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat;}
.ic-bell{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23000' d='M0 3h2v2H0z M2 2h1v4H2z M3 1h2v6H3z M5 2h1v4H5z M6 1h1v6H6z'/%3E%3C/svg%3E");}
.ic-gear{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23000' d='M2 2h4v4H2z M3 0h2v2H3z M3 6h2v2H3z M0 3h2v2H0z M6 3h2v2H6z'/%3E%3C/svg%3E");}
.ic-bolt{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23000' d='M4 0h3L4 4h2L2 8l2-4H1z'/%3E%3C/svg%3E");}
/* 播放器像素风控制图标 */
.ic-play{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23000' d='M1 1h1v6H1z M2 2h1v4H2z M3 3h1v2H3z M4 4h1v1H4z'/%3E%3C/svg%3E");}
.ic-pause{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23000' d='M2 1h2v6H2z M5 1h2v6H5z'/%3E%3C/svg%3E");}
.ic-prev{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23000' d='M1 1h1v6H1z M6 1h1v6H6z M5 2h1v4H5z M4 3h1v2H4z M3 4h1v1H3z'/%3E%3C/svg%3E");}
.ic-next{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23000' d='M1 1h1v6H1z M2 2h1v4H2z M3 3h1v2H3z M4 4h1v1H4z M7 1h1v6H7z'/%3E%3C/svg%3E");}
.ic-chevron{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23000' d='M1 2h6v1H1z M2 3h4v1H2z M3 4h2v1H3z'/%3E%3C/svg%3E");}
.ic-note{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23000' d='M6 0h1v5H6z M4 5h3v2H4z M5 6h2v1H5z M7 0h1v3H7z'/%3E%3C/svg%3E");}
.ic-glass{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23000' d='M1 0h6v1H1z M2 1h4l-2 3-2-3z M2 7h4l-2-3-2 3z M1 7h6v1H1z'/%3E%3C/svg%3E");}
.ic-clip{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M2 0h4v1H2z M1 1h6v7H1z M2 3h4v1H2z M2 5h4v1H2z'/%3E%3C/svg%3E");}

/* ============ 开场加载动画 ============ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--c-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.loader.done {
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease, visibility 0s linear .55s;
}
body.loaded { overflow: auto; }

/* 等待游戏载入时锁定滚动 */
body:not(.loaded) { overflow: hidden; }

.loader-center {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: center;
  height: 1em;
}
.loader-word {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font);
  font-size: clamp(22px, 4.5vw, 48px);
  line-height: 1;
  color: var(--c-accent);
  white-space: nowrap;
}
.loader-l {
  display: inline-block;
  animation: ldLIn .95s cubic-bezier(.22,.9,.28,1) both;
}
.loader-rest {
  display: inline-block;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  vertical-align: baseline;
  animation: ldRestIn .6s cubic-bezier(.22,.9,.28,1) 1.02s forwards;
}

/* L 由超大、模糊、透明缩小飞入中心 */
@keyframes ldLIn {
  0%   { transform: scale(9); opacity: 0; filter: blur(14px); letter-spacing: .3em; }
  55%  { opacity: 1; filter: blur(0); }
  100% { transform: scale(1); opacity: 1; filter: blur(0); letter-spacing: 0; }
}
/* 到达中心后 oading 展开 */
@keyframes ldRestIn {
  0%   { max-width: 0; opacity: 0; letter-spacing: -.15em; }
  100% { max-width: 6em; opacity: 1; letter-spacing: 0; }
}

/* 左下角进度 */
.loader-progress {
  position: absolute;
  left: clamp(22px, 5vw, 64px);
  bottom: clamp(26px, 6vh, 64px);
  width: clamp(180px, 26vw, 300px);
}
.loader-bar {
  width: 100%;
  height: 2px;
  background: var(--c-line-strong);
  overflow: hidden;
  margin-bottom: 10px;
}
.loader-bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--c-accent);
  transition: width .12s linear;
}
.loader-count {
  display: flex;
  align-items: flex-start;
  line-height: 1;
}
.loader-num {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: clamp(56px, 9vw, 96px);
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  color: var(--c-text);
}
.loader-pct {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: clamp(20px, 2.6vw, 30px);
  color: var(--c-accent);
  margin: 6px 0 0 6px;
}
.loader-label {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 11px;
  letter-spacing: .42em;
  color: var(--c-text-mute);
  margin-top: 8px;
  padding-left: 3px;
}
.loader-corner {
  position: absolute;
  right: clamp(22px, 5vw, 64px);
  bottom: clamp(26px, 6vh, 64px);
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: .25em;
  color: var(--c-text-mute);
}

/* 确保 hidden 属性始终生效（覆盖 display:flex 等） */
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: none;
  font-smooth: never;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
  image-rendering: pixelated;
  line-height: 1.5;
  overflow-x: hidden;
}

#ocean {
  position: fixed;
  top: 0;
  left: 0;
  /* 固定视口尺寸：避免滚动条出现/消失触发 ResizeObserver 重排导致的背景闪动 */
  width: 100vw;
  height: 100vh;
  z-index: -2;
  display: block;
}
/* 亮色主题：把引擎的深色画面翻转为高饱和海洋青，避免灰度发白 */
html[data-theme="light"] #ocean {
  filter: invert(1) sepia(1) saturate(4.2) hue-rotate(130deg) brightness(1.03);
}

.bg-vignette {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, transparent 30%, rgba(0, 0, 0, 0.28) 100%);
}
html[data-theme="light"] .bg-vignette {
  background: radial-gradient(ellipse at 50% 40%, transparent 40%, rgba(120, 150, 160, 0.12) 100%);
}

/* ============ 实心纯色面板（无毛玻璃/无描边） ============ */
.glass {
  background: var(--c-glass);
  border: none;
  box-shadow: var(--shadow);
}

/* ============ 顶部导航 ============ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: var(--c-glass-strong);
  border: none;
  box-shadow: 0 3px 0 rgba(0,0,0,.25);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.brand:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 4px; }
.brand-mark {
  color: var(--c-accent);
  font-size: 24px;
  line-height: 1;
  animation: wave 2.5s ease-in-out infinite;
  display: inline-block;
}
@keyframes wave { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
/* 两处保留像素字：左上角品牌 / 顶部营业状态 */
.brand-text { font-family: var(--font-pixel); font-size: 12px; letter-spacing: 1px; }
.brand-sep { color: var(--c-accent-2); margin: 0 2px; }


/* 顶部营业状态：常亮 */
.open-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-pixel);
  font-size: 12px;
  color: var(--c-text-dim);
  margin-left: auto;
  margin-right: 18px;
  white-space: nowrap;
}
.open-status .status-dot {
  width: 9px; height: 9px;
  background: var(--s3);
  display: inline-block;
  box-shadow: 0 0 10px var(--s3);
  animation: blink 1.8s infinite;
  flex: none;
}

/* 顶部右侧操作 */
.top-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-top {
  font-family: var(--font);
  font-size: 22px;
  color: var(--c-text-dim);
  background: var(--c-glass);
  border: none;
  width: 38px; height: 38px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .15s, background .15s;
}
.icon-top:hover { color: #141a00; background: var(--c-accent); }

.theme-btn {
  font-family: var(--font);
  font-size: 24px;
  color: var(--c-text-dim);
  background: var(--c-glass);
  border: none;
  width: 38px; height: 38px;
  cursor: pointer;
  transition: color .15s, background .15s;
  flex: none;
}
.theme-btn:hover { color: #141a00; background: var(--c-accent); }

/* ============ 主舞台 ============ */
.stage {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px) clamp(14px, 4vw, 28px) 90px;
  min-height: calc(100vh - 68px);
}

.view { display: none; animation: viewIn .35s ease-out; }
.view.active { display: block; }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ============ 首页：游戏开始界面 ============ */
#view-home { display: none; }
#view-home.active { display: block; }

.game-intro { text-align: center; margin: clamp(28px, 8vh, 90px) 0 clamp(28px, 6vh, 56px); }
.game-logo { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; position: relative; }
.game-logo .logo-main {
  font-size: clamp(48px, 9vw, 88px); line-height: 1.05; color: var(--c-accent); letter-spacing: 6px;
  text-shadow: 5px 5px 0 rgba(0,0,0,.4), 0 0 30px rgba(221,248,0,.3);
  padding: 10px 20px;
}
html[data-theme="light"] .game-logo .logo-main { text-shadow: 4px 4px 0 rgba(120,140,0,.2); }
.game-press {
  margin: 24px 0 0; font-size: 12px; letter-spacing: 3px; color: var(--c-text-dim);
  animation: pressBlink 1.2s steps(1) infinite;
}
.press-caret { animation: caretBlink .6s steps(1) infinite; }
@keyframes pressBlink { 0%,60% { opacity: 1; } 61%,100% { opacity: .45; } }
@keyframes caretBlink { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }

/* 首页中央主入口：关于我们(纯白) / 约稿指南(纯黑) / 演出安排(黄绿) —— 紧凑扁平、无毛玻璃无边框 */
.feature-entries {
  margin: 18px auto 0;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
}
.about-feature {
  display: flex; flex-direction: row; align-items: baseline; justify-content: center; gap: 9px;
  min-width: 0; width: 190px; padding: 6px 14px;
  font-family: var(--font);
  color: #141a00;
  background: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,.3);
  transition: transform .14s, box-shadow .14s, background .14s;
}
.about-feature:hover { transform: translateY(-2px); background: #f0f0f0; box-shadow: 0 6px 16px rgba(0,0,0,.36); }
.about-feature:active { transform: translateY(0); }
.about-feature-main { font-size: 13px; font-weight: 600; letter-spacing: 1px; line-height: 1.2; white-space: nowrap; }
.about-feature-sub { font-size: 8px; letter-spacing: .5px; opacity: .62; white-space: nowrap; }
/* 约稿指南入口：纯黑，与纯白形成强对比 */
.guide-feature { color: #fff; background: #0a0a0a; }
.guide-feature:hover { background: #222; }
.guide-feature .about-feature-sub { color: #bbbbbb; opacity: 1; }
/* 演出安排入口：黄绿主色 */
.event-feature { color: #141a00; background: var(--c-accent); }
.event-feature:hover { background: #cbe000; }
.event-feature .about-feature-sub { color: #3c4600; opacity: 1; }
/* 报价单入口：白色 + 像素描边，区别于其它按钮 */
.price-feature {
  color: #141a00; background: #fff;
  box-shadow: inset 0 0 0 2px #0a0a0a, 0 3px 10px rgba(0,0,0,.3);
}
.price-feature:hover { background: #f2f2f2; }
.price-feature .about-feature-sub { color: #555; opacity: 1; }

/* ============ 返回按钮：像素 chevron + 返回 + BACK 小字 ============ */
.back-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font); color: #141a00;
  background: var(--c-accent); border: none;
  padding: 7px 12px 7px 10px; cursor: pointer;
  box-shadow: inset 0 0 0 2px #0a0a0a, 3px 3px 0 #0a0a0a;
  transition: transform .12s, box-shadow .12s, background .14s;
}
.back-btn:hover { transform: translate(2px, 2px); box-shadow: inset 0 0 0 2px #0a0a0a, 1px 1px 0 #0a0a0a; background: #e8ff3c; }
.back-btn:active { transform: translate(3px, 3px); box-shadow: inset 0 0 0 2px #0a0a0a, 0 0 0 #0a0a0a; }
.back-chev {
  width: 0; height: 0;
  border-top: 5px solid transparent; border-bottom: 5px solid transparent;
  border-right: 8px solid #141a00; display: inline-block; flex: none;
}
.back-text { font-size: 13px; font-weight: 700; letter-spacing: 1px; line-height: 1; }
.back-en { font-family: var(--font-pixel); font-size: 8px; letter-spacing: 1px; opacity: .7; align-self: flex-end; margin-bottom: -1px; }
/* 各页面返回按钮配色 */
.guide-back { background: var(--c-accent); }
.event-back, .price-back { background: #fff; box-shadow: inset 0 0 0 2px #0a0a0a, 3px 3px 0 #0a0a0a; }
.event-back:hover, .price-back:hover { background: #eee; }

/* 左下角 dock 功能按钮：全部入口，实心纯色 */
.home-dock {
  position: fixed; left: clamp(16px, 4vw, 44px); bottom: clamp(20px, 5vh, 52px);
  z-index: 20; display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.dock-btn {
  font-family: var(--font); font-size: 12px; color: var(--c-text);
  background: var(--c-glass);
  border: none;
  padding: 9px 14px; cursor: pointer;
  display: flex; align-items: center; gap: 9px;
  box-shadow: 3px 3px 0 rgba(0,0,0,.28);
  transition: transform .1s, box-shadow .1s, color .1s;
}
.dock-btn .dock-ico {
  color: var(--c-accent); font-size: 12px;
  width: 16px; height: 16px;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.dock-btn:hover { color: var(--c-accent); transform: translate(-2px,-2px); box-shadow: 5px 5px 0 rgba(0,0,0,.35); }
.dock-btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 rgba(0,0,0,.3); }

/* 营业状态闪烁（通用） */
.status-dot { animation: blink 1.8s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ============ 通用面板 ============ */
.panel { padding: clamp(22px, 4vw, 36px); position: relative; }
.panel.wide { width: 100%; }
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 2px solid rgba(221,248,0,.10);
}
.panel-title { font-size: 24px; margin: 0 0 6px; font-weight: normal; }
.panel-sub { font-size: 12px; color: var(--c-text-dim); margin: 0; }
.pixel-tag {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--c-accent);
  border: none;
  padding: 2px 6px;
  white-space: nowrap;
  flex: none;
}

/* ============ 表单元素 ============ */
.field-label {
  display: block;
  font-size: 12px;
  color: var(--c-text-dim);
  margin-bottom: 8px;
  letter-spacing: .5px;
}
.req { color: var(--s4); }
.ai-tag {
  font-size: 12px;
  color: #fff;
  background: linear-gradient(135deg, #7b5cff, #c05cff);
  padding: 0 4px;
  margin-left: 3px;
  vertical-align: middle;
}
.px-input {
  width: 100%;
  font-family: var(--font);
  font-size: 12px;
  color: var(--c-text);
  background: var(--c-input);
  border: none;
  border-left: 3px solid transparent;
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s, background .15s;
  border-radius: 0;
}
.px-input::placeholder { color: var(--c-text-mute); }
.px-input:focus {
  border-left-color: var(--c-accent);
  background: #151b0b;
}
html[data-theme="light"] .px-input:focus { background: #e4ebc4; }
select.px-input { cursor: pointer; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--c-text-dim) 50%), linear-gradient(135deg, var(--c-text-dim) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
input[type="date"].px-input { color-scheme: dark; }
html[data-theme="light"] input[type="date"].px-input { color-scheme: light; }
textarea.px-input { resize: vertical; min-height: 60px; line-height: 1.7; }

/* ============ 按钮 ============ */
.px-btn {
  font-family: var(--font);
  font-size: 12px;
  color: var(--c-text);
  background: #2b3415;
  border: none;
  padding: 7px 12px;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s, background .12s;
  box-shadow: 2px 2px 0 rgba(0,0,0,.28);
  white-space: nowrap;
}
html[data-theme="light"] .px-btn { background: #dde5b8; color: #1a2408; }
.px-btn:hover { transform: translate(-1px,-1px); box-shadow: 3px 3px 0 rgba(0,0,0,.32); background: #38451c; }
html[data-theme="light"] .px-btn:hover { background: #cdd88f; }
.px-btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 rgba(0,0,0,.3); }
.px-btn.primary {
  color: #141a00;
  background: var(--c-accent);
  border: none;
  font-weight: bold;
}
html[data-theme="light"] .px-btn.primary { color: #fff; }
.px-btn.primary:hover { background: #eafb45; }
.px-btn.ghost { background: transparent; box-shadow: none; color: var(--c-text-dim); }
.px-btn.ghost:hover { box-shadow: none; transform: none; background: var(--c-glass); }
.px-btn.tiny { font-size: 12px; padding: 5px 9px; box-shadow: 2px 2px 0 rgba(0,0,0,.25); }
.px-btn.urge {
  color: #fff;
  background: var(--s4);
  border: none;
  box-shadow: 3px 3px 0 rgba(0,0,0,.28);
}
.px-btn.urge:hover { background: #ff8080; }
.px-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ============ 查询表单 ============ */
.query-form { max-width: 560px; }
.query-row { display: flex; gap: 10px; }
.query-row .px-input { flex: 1; }
.hint { font-size: 12px; color: var(--c-text-mute); margin: 10px 0 0; }
.hint b { color: var(--c-accent); }

/* ============ 查询结果 ============ */
.result-wrap { margin-top: 28px; padding-top: 24px; border-top: 2px solid rgba(221,248,0,.10); }
.result-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
.result-id { font-size: 12px; color: var(--c-accent); letter-spacing: 1px; }
.result-title { font-size: 24px; margin: 6px 0 0; font-weight: normal; }
.status-pill {
  font-size: 12px;
  padding: 3px 8px;
  border: 1px solid currentColor;
  white-space: nowrap;
  flex: none;
}

/* 时间线 */
.timeline { display: flex; justify-content: space-between; position: relative; margin: 20px 0 32px; }
.timeline::before {
  content: '';
  position: absolute;
  top: 13px; left: 8%; right: 8%;
  height: 2px;
  background: var(--c-line);
  z-index: 0;
}
.timeline-step { position: relative; z-index: 1; text-align: center; flex: 1; }
.tl-node {
  width: 26px; height: 26px;
  margin: 0 auto 8px;
  border: none;
  background: var(--c-glass-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  color: var(--c-text-mute);
  transition: all .3s;
}
.tl-label { font-size: 12px; color: var(--c-text-mute); line-height: 1.3; }
.timeline-step.done .tl-node { background: var(--s3); border-color: var(--s3); color: #04141a; }
.timeline-step.done .tl-label { color: var(--c-text-dim); }
.timeline-step.current .tl-node { border-color: var(--c-accent); color: var(--c-accent); box-shadow: 0 0 0 3px rgba(221,248,0,.18), 0 0 12px rgba(221,248,0,.45); }
.timeline-step.current .tl-label { color: var(--c-accent); }
.timeline-step.error .tl-node { background: var(--s4); border-color: var(--s4); color: #fff; box-shadow: 0 0 12px rgba(239,106,106,.5); }
.timeline-step.error .tl-label { color: var(--s4); }

/* 详情网格 */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.detail-item {
  background: var(--c-input);
  border: none;
  padding: 12px 14px;
  min-width: 0;
}
.detail-item.full { grid-column: 1 / -1; }
.d-key { font-size: 12px; color: var(--c-text-mute); margin-bottom: 5px; letter-spacing: .5px; }
.d-val { font-size: 12px; color: var(--c-text); word-break: break-word; line-height: 1.6; }

/* 制作人 */
.maker-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--c-input);
  border: none;
  padding: 14px 18px;
  margin-bottom: 20px;
}
.maker-avatar {
  width: 44px; height: 44px;
  flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: var(--c-bg);
  background: var(--c-accent-2);
  box-shadow: 3px 3px 0 rgba(0,0,0,.25);
}
.maker-label { font-size: 12px; color: var(--c-text-mute); letter-spacing: 1px; }
.maker-name { font-size: 12px; margin-top: 3px; }

/* 催单 */
.urge-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: none;
  background: rgba(239,106,106,.04);
}
.urge-info { display: flex; flex-direction: column; gap: 4px; }
.urge-label { font-size: 12px; }
.urge-meta { font-size: 12px; color: var(--c-text-mute); }
.urge-note { font-size: 12px; color: var(--c-accent-2); margin: 10px 0 0; }

.empty-result { text-align: center; padding: 40px 0; color: var(--c-text-dim); }
.empty-icon { font-size: 48px; color: var(--c-line-strong); margin-bottom: 12px; }
.empty-result p { font-size: 12px; margin: 0 0 8px; }
.empty-result span { font-size: 12px; color: var(--c-text-mute); }

/* ============ 提交表单 ============ */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-field.span-2 { grid-column: 1 / -1; }
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 2px solid rgba(221,248,0,.10);
  flex-wrap: wrap;
}
.auto-note { font-size: 12px; color: var(--c-text-mute); margin: 0; }

.success-box { text-align: center; padding: 30px 10px; }
.success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  color: #04141a;
  background: var(--s3);
  box-shadow: 4px 4px 0 rgba(0,0,0,.3);
}
.success-box h3 { font-size: 24px; margin: 0 0 10px; font-weight: normal; }
.success-box p { font-size: 12px; color: var(--c-text-dim); margin: 0 0 18px; }
.order-id-display {
  display: inline-block;
  font-size: 24px;
  color: var(--c-accent);
  background: var(--c-input);
  padding: 12px 20px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  user-select: all;
}
.success-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

/* ============ 后台 ============ */
.login-panel { max-width: 520px; margin: 0 auto; }
.login-form { max-width: 100%; }
.admin-head-actions { display: flex; gap: 8px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filter-chip {
  font-family: var(--font);
  font-size: 12px;
  color: var(--c-text-dim);
  background: transparent;
  border: none;
  padding: 4px 9px;
  cursor: pointer;
  transition: all .15s;
}
.filter-chip:hover { border-color: var(--c-accent); color: var(--c-text); }
.filter-chip.active { color: var(--c-bg); background: var(--c-accent); border-color: var(--c-accent); }
html[data-theme="light"] .filter-chip.active { color: #fff; }

.order-list { display: flex; flex-direction: column; gap: 12px; }
.admin-card {
  border: none;
  background: var(--c-input);
  padding: 16px 18px;
  transition: border-color .15s;
}
.admin-card:hover { border-color: var(--c-line-strong); }
.ac-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 10px; }
.ac-id { font-size: 12px; color: var(--c-accent); letter-spacing: .5px; }
.ac-title { font-size: 12px; margin: 4px 0 0; }
.ac-meta { font-size: 12px; color: var(--c-text-mute); margin-top: 6px; }
.ac-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ac-maker { font-size: 12px; color: var(--c-text-dim); }
.ac-maker b { color: var(--c-accent-2); }
.urge-flag {
  font-size: 12px;
  color: var(--s4);
  border: 1px solid var(--s4);
  padding: 1px 5px;
  margin-left: 6px;
}
.status-pill.s0 { color: var(--s0); }
.status-pill.s1 { color: var(--s1); }
.status-pill.s2 { color: var(--s2); }
.status-pill.s3 { color: var(--s3); }
.status-pill.s4 { color: var(--s4); }
.admin-card.note-has .ac-note-preview { display: block; }
.ac-note-preview { display: none; font-size: 12px; color: var(--c-text-dim); margin-top: 10px; padding: 8px 10px; background: rgba(221,248,0,.07); border-left: 2px solid var(--c-accent); }

.empty-list { text-align: center; color: var(--c-text-mute); padding: 40px; font-size: 12px; }

/* ============ 弹窗 ============ */
.modal-backdrop {
  position: fixed; inset: 0;
  z-index: 100;
  background: rgba(4, 8, 2, 0.42);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal { width: 100%; max-width: 360px; max-height: 82vh; overflow-y: auto; padding: 14px 16px; background: var(--c-glass-strong); border: none; box-shadow: 6px 6px 0 rgba(0,0,0,.4); }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid rgba(221,248,0,.10); }
.modal-head h3 { font-size: 12px; margin: 0; font-weight: normal; }
.mono { font-size: 12px; color: var(--c-accent); }
.modal-close { font-family: var(--font); font-size: 24px; color: var(--c-text-mute); background: none; border: none; cursor: pointer; line-height: 1; }
.modal-close:hover { color: var(--s4); }
.modal-body { display: flex; flex-direction: column; }
.status-select { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.status-opt {
  font-family: var(--font);
  font-size: 12px;
  text-align: left;
  color: var(--c-text-dim);
  background: var(--c-input);
  border: none;
  padding: 6px 8px;
  cursor: pointer;
  transition: all .15s;
  display: flex; align-items: center; gap: 6px;
}
.status-opt::before { content: ''; width: 8px; height: 8px; background: currentColor; flex: none; }
.status-opt:hover { border-color: var(--c-line-strong); }
.status-opt.active { color: var(--c-text); border-color: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
.status-opt[data-s="0"].active { color: var(--s0); }
.status-opt[data-s="1"].active { color: var(--s1); }
.status-opt[data-s="2"].active { color: var(--s2); }
.status-opt[data-s="3"].active { color: var(--s3); }
.status-opt[data-s="4"].active { color: var(--s4); }
.edit-detail { display: none !important; }
.edit-detail b { color: var(--c-text); }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 2px solid rgba(221,248,0,.10); }

/* ============ Toast ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%, 20px);
  z-index: 200;
  background: var(--c-accent);
  color: #141a00;
  border: none;
  padding: 12px 22px;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 4px 4px 0 rgba(0,0,0,.4);
  opacity: 0;
  pointer-events: none;
  transition: all .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reset-data {
  position: fixed;
  right: 14px; bottom: 14px;
  z-index: 30;
  width: 30px; height: 30px;
  font-family: var(--font);
  font-size: 12px;
  color: var(--c-text-mute);
  background: var(--c-glass);
  border: none;
  cursor: pointer;
  opacity: .5;
  transition: all .15s;
}
.reset-data:hover { opacity: 1; color: var(--c-accent); }

/* ============ 右下角音乐播放器（重绘 · 紧凑无边框） ============ */
.music-player {
  position: fixed; right: 14px; bottom: 52px; z-index: 60;
  font-family: var(--font);
  display: flex; align-items: flex-end; justify-content: flex-end;
}
.mp-card {
  display: flex; align-items: center; gap: 11px;
  width: 214px; padding: 10px 12px;
  background: var(--c-glass-strong);
  box-shadow: 0 6px 22px rgba(0,0,0,.38);
  transform-origin: bottom right;
  transition: opacity .2s, transform .2s;
}
.music-player.collapsed .mp-card { opacity: 0; transform: scale(.82); pointer-events: none; }
/* 专辑封面 / 播放暂停按钮（封面放左边，点击切换播放） */
.mp-cover {
  position: relative; width: 46px; height: 46px; flex: none;
  border: 2px solid var(--c-accent); padding: 0; cursor: pointer;
  background: #0a0a0a; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 0 rgba(0,0,0,.5);
  transition: transform .12s, box-shadow .12s;
}
.mp-cover:hover { transform: translateY(-2px); }
.mp-cover:active { transform: translateY(0); }
.mp-cover-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  image-rendering: auto;
}
/* 播放中：封面轻微呼吸描边作为状态反馈 */
.music-player.playing .mp-cover { animation: coverPulse 2.4s ease-in-out infinite; }
@keyframes coverPulse {
  0%, 100% { box-shadow: 0 3px 0 rgba(0,0,0,.5), 0 0 0 0 rgba(221,248,0,.5); }
  50% { box-shadow: 0 3px 0 rgba(0,0,0,.5), 0 0 0 4px rgba(221,248,0,0); }
}
/* 播放/暂停角标（像素图标，右下角半透明黑底） */
.mp-cover-icon {
  position: absolute; right: 2px; bottom: 2px; z-index: 2;
  width: 15px; height: 15px; padding: 2px; box-sizing: border-box;
  color: var(--c-accent); background: rgba(0,0,0,.72);
}
/* 右侧信息区 */
.mp-body { flex: 1; min-width: 0; }
.mp-line1 { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.mp-title {
  font-size: 11px; font-weight: 700; letter-spacing: .5px; color: var(--c-accent);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mp-fold {
  flex: none; width: 16px; height: 16px; padding: 0;
  font-family: var(--font); font-size: 13px; line-height: 1;
  color: var(--c-text-mute); background: transparent; border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .2s, color .12s;
}
.mp-fold:hover { color: var(--c-accent); }
.music-player.collapsed .mp-fold { transform: rotate(180deg); }
.mp-line2 { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
.mp-artist { font-size: 8px; letter-spacing: 1px; color: var(--c-text-mute); }
.mp-time { font-size: 8px; color: var(--c-text-mute); }
.mp-progress { height: 3px; margin: 7px 0; background: rgba(255,255,255,.13); overflow: hidden; }
.mp-progress-fill { height: 100%; width: 0; background: var(--c-accent); transition: width .18s linear; }
.mp-controls { display: flex; align-items: center; gap: 4px; }
.mp-btn {
  min-width: 22px; height: 20px; padding: 0 3px;
  font-family: var(--font); font-size: 13px; color: var(--c-text-dim);
  background: transparent; border: none; cursor: pointer; transition: color .12s, transform .12s;
  display: inline-flex; align-items: center; justify-content: center;
}
.mp-btn:hover { color: var(--c-accent); }
.mp-btn:active { transform: scale(.88); }
.mp-vol { display: flex; align-items: center; margin-left: auto; }
.mp-vol input[type="range"] {
  width: 52px; height: 3px; -webkit-appearance: none; appearance: none;
  background: rgba(255,255,255,.2); cursor: pointer; outline: none;
}
.mp-vol input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 8px; height: 8px; background: var(--c-accent); border: none; cursor: pointer;
}
.mp-vol input[type="range"]::-moz-range-thumb {
  width: 8px; height: 8px; background: var(--c-accent); border: none; cursor: pointer; border-radius: 0;
}
/* 收起后的小圆钮 */
.mp-reopen {
  position: absolute; right: 0; bottom: 0;
  width: 34px; height: 34px; border-radius: 50%;
  font-family: var(--font); font-size: 14px; color: #141a00;
  background: var(--c-accent); border: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  opacity: 0; transform: scale(.7); pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.music-player.collapsed .mp-reopen { opacity: 1; transform: scale(1); pointer-events: auto; }
html[data-theme="light"] .music-player .mp-progress,
html[data-theme="light"] .music-player .mp-vol input[type="range"] { background: rgba(0,0,0,.14); }
/* 报价页：播放器移到左下，避免挡住右下角店老板 */
body.shop-mode .music-player { right: auto; left: 12px; }
body.shop-mode .mp-reopen { right: auto; left: 0; }
@media (max-width: 560px) {
  body.shop-mode .music-player { left: 10px; right: auto; }
}
@media (max-width: 560px) {
  .music-player { right: 10px; bottom: 50px; }
  .mp-card { width: 196px; }
}

/* ============ 公告按钮角标 ============ */
.icon-top { position: relative; }
.notice-badge {
  position: absolute; top: -5px; right: -5px;
  width: 14px; height: 14px; line-height: 14px; text-align: center;
  font-size: 10px; color: #141a00; background: var(--s4);
  border: 1px solid var(--c-bg); animation: blink 1.4s infinite;
}

/* ============ 审核状态提示 ============ */
.approve-banner {
  padding: 9px 13px; margin-bottom: 18px; font-size: 12px;
  border-left: 3px solid var(--c-line-strong); background: var(--c-input);
}
.approve-banner.pending { color: var(--s1); border-color: var(--s1); background: rgba(200,224,0,.06); }
.approve-banner.rejected { color: var(--s4); border-color: var(--s4); background: rgba(255,107,90,.06); }
.vip-notice {
  padding: 9px 13px; margin-bottom: 18px; font-size: 12px;
  color: var(--c-accent); border: 1px dashed var(--c-accent); background: rgba(221,248,0,.05);
}
.approve-chip {
  display: inline-block; font-size: 12px; padding: 1px 6px; margin-left: 6px;
  border: 1px solid currentColor; white-space: nowrap;
}
.approve-chip.accepted { color: var(--s3); }
.approve-chip.pending { color: var(--s1); }
.approve-chip.rejected { color: var(--s4); }

/* ============ 排单内联展示 ============ */
.queue-inline {
  padding: 10px 14px; margin-bottom: 18px; font-size: 12px;
  color: var(--c-text-dim); background: var(--c-input); border: none;
}
.queue-inline b { color: var(--c-accent); font-size: 16px; }

/* ============ 订单查询：三合一标签 ============ */
.query-tabs {
  display: flex; gap: 4px; margin: 4px 0 22px;
  border-bottom: 1px solid var(--c-line);
}
.query-tab {
  appearance: none; font-family: var(--font); cursor: pointer;
  background: transparent; color: var(--c-text-dim);
  border: none; border-bottom: 2px solid transparent;
  padding: 10px 18px; font-size: 13px; letter-spacing: .3px;
  transition: color .18s, border-color .18s, background .18s;
}
.query-tab:hover { color: var(--c-text); }
.query-tab.active { color: var(--c-accent); border-bottom-color: var(--c-accent); background: var(--c-input); }
.query-pane { animation: viewIn .28s ease-out; }
html[data-theme="light"] .query-tab.active { color: #4d5c00; }

/* ============ 我的订单 ============ */
.myorders-login { text-align: center; padding: 40px 0; color: var(--c-text-dim); }
.myorders-login p { font-size: 12px; margin: 0 0 16px; }
.myorders-list { display: flex; flex-direction: column; gap: 12px; }
.myorder-card { border: none; background: var(--c-input); padding: 16px 18px; }
.myorder-card:hover { border-color: var(--c-line-strong); }

/* ============ 账户弹窗 ============ */
.account-modal { max-width: 380px; }
.account-tabs { display: flex; gap: 0; margin-bottom: 16px; border-bottom: 1px solid var(--c-line); }
.account-tab {
  flex: 1; font-family: var(--font); font-size: 12px; color: var(--c-text-dim);
  background: transparent; border: none; border-bottom: 2px solid transparent;
  padding: 8px; cursor: pointer;
}
.account-tab:hover { color: var(--c-text); }
.account-tab.active { color: var(--c-accent); border-bottom-color: var(--c-accent); }
.account-form { display: flex; flex-direction: column; }
.full-btn { width: 100%; margin-top: 16px; text-align: center; }
.account-foot { margin-top: 14px; font-size: 12px; color: var(--c-text-mute); text-align: center; line-height: 1.7; }
.link-btn { color: var(--c-accent); background: none; border: none; font-family: var(--font); font-size: 12px; cursor: pointer; text-decoration: underline; padding: 0; }

/* ============ 像素窗口标题栏（公告/关于） ============ */
.pixel-window-bar {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; letter-spacing: 1px; color: #141a00; background: var(--c-accent);
  padding: 7px 10px; margin: -14px -16px 16px;
}
.pixel-window-bar .modal-close { color: #141a00; font-size: 22px; }
.pixel-window-bar .modal-close:hover { color: #b30000; }

/* 公告栏 */
.notice-modal, .about-modal { max-width: 520px; }
.notice-board { display: flex; flex-direction: column; gap: 12px; max-height: 64vh; overflow-y: auto; padding-right: 4px; }
.notice-item {
  border: none; background: var(--c-input); padding: 12px 14px;
  position: relative;
}
.notice-item-head { display: flex; align-items: center; gap: 8px; }
.notice-item-icon { color: var(--c-accent); }
.notice-item-title { font-size: 12px; color: var(--c-text); }
.notice-item-time { font-size: 12px; color: var(--c-text-mute); margin: 3px 0 8px 20px; }
.notice-item-body { font-size: 12px; color: var(--c-text-dim); line-height: 1.8; white-space: pre-wrap; word-break: break-word; }

/* 关于我们 / 约稿指南 */
.about-content { text-align: left; }
.about-modal { max-width: 620px; }
.about-head { padding: 4px 0 14px; text-align: center; }
.about-logo { font-size: 24px; color: var(--c-accent); letter-spacing: 3px; text-shadow: 0 0 16px rgba(221,248,0,.4); }
.about-tagline { font-size: 12px; color: var(--c-text-dim); margin-top: 8px; }

/* 分类标签 */
.about-tabs {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-bottom: 14px;
}
.about-tab {
  font-family: var(--font); font-size: 12px; line-height: 1;
  color: var(--c-text-dim); background: var(--c-input); border: none;
  padding: 7px 9px; cursor: pointer;
}
.about-tab:hover { color: var(--c-text); }
.about-tab.active { color: #141a00; background: var(--c-accent); }

.about-panel { max-height: 58vh; overflow-y: auto; padding-right: 4px; }
.guide-sec-title {
  font-size: 12px; color: #141a00; background: var(--c-accent);
  padding: 6px 10px; margin: 2px 0 12px; letter-spacing: 1px;
}
.guide-para {
  font-size: 12px; color: var(--c-text-dim); line-height: 1.9;
  background: var(--c-input); padding: 12px 14px; text-align: justify;
}

/* 指南首页菜单 */
.guide-menu { display: flex; flex-direction: column; gap: 6px; }
.guide-menu-item {
  display: flex; flex-direction: column; gap: 3px; text-align: left;
  font-family: var(--font); background: var(--c-input); border: none;
  padding: 10px 12px; cursor: pointer;
}
.guide-menu-item:hover { background: var(--c-accent); }
.guide-menu-item:hover .gmi-title, .guide-menu-item:hover .gmi-sub { color: #141a00; }
.gmi-title { font-size: 12px; color: var(--c-accent); }
.gmi-sub { font-size: 12px; color: var(--c-text-mute); }

/* 数据 */
.guide-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.guide-stat { background: var(--c-input); padding: 12px 6px; text-align: center; }
.gs-num { font-size: 24px; color: var(--c-accent); }
.gs-key { font-size: 12px; color: var(--c-text-mute); margin-top: 4px; }

/* 团队 */
.guide-team { display: flex; flex-direction: column; gap: 8px; }
.team-card { background: var(--c-input); padding: 11px 13px; }
.tc-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tc-name { font-size: 16px; color: var(--c-accent); }
.tc-handle { font-size: 12px; color: var(--c-text-mute); }
.tc-desc { font-size: 12px; color: var(--c-text); line-height: 1.7; margin-top: 5px; }
.tc-roles { font-size: 12px; color: var(--c-text-dim); line-height: 1.6; margin-top: 3px; }

/* 流程 */
.guide-flow { display: flex; flex-direction: column; gap: 10px; }
.flow-card { background: var(--c-input); padding: 11px 13px; }
.fc-step { font-size: 12px; color: #141a00; background: var(--c-accent); display: inline-block; padding: 3px 8px; margin-bottom: 8px; }
.fc-text { font-size: 12px; color: var(--c-text-dim); line-height: 1.9; text-align: justify; }

/* 须知 / 展示 */
.guide-notes { display: flex; flex-direction: column; gap: 10px; }
.note-card { background: var(--c-input); padding: 11px 13px; }
.nc-key { font-size: 12px; color: var(--c-accent); margin-bottom: 6px; }
.nc-text { font-size: 12px; color: var(--c-text-dim); line-height: 1.9; text-align: justify; }
.nc-warn { font-size: 12px; color: var(--s4); line-height: 1.7; margin-top: 6px; }

/* 联系方式 */
.about-social { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; text-align: left; }
.about-social-row {
  display: flex; flex-direction: column; gap: 2px;
  background: var(--c-input); border: none; padding: 8px 10px; min-width: 0;
}
.asr-key { font-size: 12px; color: var(--c-accent); }
.asr-val { font-size: 12px; color: var(--c-text); word-break: break-all; }
.about-foot { font-size: 12px; color: var(--c-text-mute); margin-top: 16px; text-align: center; }

/* ============ 关于我们独立页面 ============ */
.about-page { max-width: 760px; margin: 0 auto; }
.about-page-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.about-page-brand { font-size: 12px; letter-spacing: 3px; color: var(--c-text-mute); }
#view-about .about-content { max-height: none; }
#view-about .about-panel {
  max-height: none; overflow: visible;
  background: var(--c-glass-strong); padding: 20px 22px 24px;
}
#view-about .about-tabs { margin-bottom: 18px; }
#view-about .guide-menu-item { padding: 13px 15px; }
#view-about .guide-para { font-size: 12px; }

/* ============ 约稿指南独立页面（黄绿 #DDF800 主题点缀） ============ */
.guide-page .about-page-brand { color: var(--c-accent); font-weight: 600; }
#view-guide .about-panel {
  max-height: none; overflow: visible;
  background: var(--c-glass-strong); padding: 20px 22px 24px;
}
#view-guide .about-tabs { margin-bottom: 18px; }
#view-guide .about-tab.active { color: #141a00; background: var(--c-accent); }
#view-guide .guide-sec-title { color: #141a00; background: var(--c-accent); }
#view-guide .guide-para { font-size: 12px; }

/* Q&A 卡片 */
.guide-qa { display: flex; flex-direction: column; gap: 12px; }
.qa-card { background: var(--c-input); padding: 12px 14px; }
.qa-q { font-size: 12px; color: #141a00; background: var(--c-accent); display: inline-block; padding: 5px 9px; line-height: 1.6; margin-bottom: 9px; }
.qa-a { font-size: 12px; color: var(--c-text-dim); line-height: 1.9; text-align: justify; }

/* ============ 演出安排独立页面（纯白底 · 无鱼群） ============ */
body.plain-bg { background: #ffffff; }
body.plain-bg #ocean,
body.plain-bg .bg-vignette { display: none !important; }
#view-event {
  background: #ffffff;
  min-height: calc(100vh - 68px);
}
.event-page { max-width: 760px; margin: 0 auto; padding-top: 6px; }
.event-center {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 60vh; text-align: center;
}
.event-pixel-mark {
  display: grid; grid-template-columns: repeat(3, 12px); grid-template-rows: repeat(3, 12px);
  gap: 3px; margin-bottom: 34px;
}
.event-pixel-mark i { display: block; width: 12px; height: 12px; background: #0a0a0a; }
.event-pixel-mark i:nth-child(1),
.event-pixel-mark i:nth-child(3),
.event-pixel-mark i:nth-child(7),
.event-pixel-mark i:nth-child(9) { background: var(--c-accent); }
.event-pixel-mark i:nth-child(2),
.event-pixel-mark i:nth-child(4),
.event-pixel-mark i:nth-child(6),
.event-pixel-mark i:nth-child(8) { opacity: .35; }
.event-pixel-mark i:nth-child(5) { background: #0a0a0a; transform: scale(1.15); }
.event-title {
  font-family: var(--font-pixel); font-size: clamp(38px, 8vw, 72px); letter-spacing: 6px;
  color: #0a0a0a; margin: 0 0 10px;
}
.event-sub { font-size: 12px; letter-spacing: 6px; color: #7a8c00; margin: 0 0 30px; }
.event-note { font-size: 13px; color: #666; margin: 0; }

/* ============ 报价单：游戏商店橱窗页 ============ */
#view-price {
  background: radial-gradient(ellipse at 50% 0%, #1c2408 0%, #0b0f06 70%);
  min-height: calc(100vh - 68px);
}
.shop-page { max-width: 900px; margin: 0 auto; position: relative; }
.shop-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px;
}
.shop-brand { font-family: var(--font-pixel); font-size: 13px; letter-spacing: 2px; color: var(--c-accent); }
.shop-sign {
  text-align: center; font-family: var(--font-pixel); font-size: clamp(16px,4vw,26px);
  color: var(--c-accent); letter-spacing: 3px; margin: 4px 0 16px;
  text-shadow: 3px 3px 0 rgba(0,0,0,.5);
}
/* 货架：固定高度可上下滚动 */
.shop-shelf {
  position: relative;
  height: min(56vh, 520px);
  overflow-y: auto; overflow-x: hidden;
  padding: 14px 16px 60px 16px;
  background: linear-gradient(180deg, rgba(221,248,0,.05), rgba(0,0,0,.25));
  border: 2px solid var(--c-accent);
  box-shadow: inset 0 0 0 4px rgba(0,0,0,.5), 0 8px 24px rgba(0,0,0,.5);
  scrollbar-width: thin; scrollbar-color: var(--c-accent) #141a0b;
}
.shop-shelf::-webkit-scrollbar { width: 10px; }
.shop-shelf::-webkit-scrollbar-track { background: #141a0b; }
.shop-shelf::-webkit-scrollbar-thumb { background: var(--c-accent); border: 2px solid #141a0b; }
.shelf-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
/* 商品卡片：像素游戏道具卡 */
.shelf-item {
  position: relative; text-align: left; cursor: pointer;
  background: #171d0d; border: 2px solid var(--c-line-strong);
  padding: 10px 12px 11px; color: var(--c-text);
  transition: transform .12s, border-color .12s, background .12s;
  box-shadow: 0 4px 0 rgba(0,0,0,.5);
}
.shelf-item:hover { transform: translateY(-2px); border-color: var(--c-accent); }
.shelf-item.selected { border-color: var(--c-accent); background: #222c0d; box-shadow: 0 4px 0 rgba(0,0,0,.5), 0 0 0 2px var(--c-accent); }
.si-no { position: absolute; top: 8px; right: 9px; font-family: var(--font-pixel); font-size: 9px; color: var(--c-text-mute); }
.si-name { font-size: 14px; font-weight: 700; letter-spacing: 1px; color: var(--c-text); margin: 2px 0 4px; }
.si-tag { display: inline-block; font-size: 9px; color: #141a00; background: var(--c-accent); padding: 2px 6px; margin-bottom: 7px; }
.si-tag.alt { background: #3a4300; color: var(--c-accent); }
.si-desc { font-size: 11px; color: var(--c-text-dim); line-height: 1.6; margin-bottom: 8px; min-height: 34px; }
.si-price { display: flex; align-items: baseline; gap: 4px; }
.si-price b { font-family: var(--font-pixel); font-size: 22px; color: var(--c-accent); line-height: 1; }
.si-price span { font-size: 11px; color: var(--c-text-mute); }
.shelf-end { text-align: center; font-size: 11px; color: var(--c-text-mute); padding: 18px 0 6px; letter-spacing: 2px; }
/* 店老板：右下角半身像 + 聊天气泡 */
.shop-boss {
  position: fixed; right: 12px; bottom: 4px; z-index: 30;
  width: 210px; pointer-events: none;
  transition: transform .18s ease-out;
}
.boss-img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.6));
  image-rendering: auto;
}
.boss-bubble {
  position: absolute; right: 0; bottom: 100%; margin-bottom: 10px; z-index: 5;
  max-width: 230px; min-width: 130px;
  font-family: var(--font-pixel); font-size: 12px; line-height: 1.6;
  color: #141a00; background: #fff;
  padding: 10px 12px; border: 2px solid #0a0a0a;
  box-shadow: 4px 4px 0 rgba(0,0,0,.5);
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s;
}
.boss-bubble.show { opacity: 1; transform: translateY(0); }
.boss-bubble::after {
  content: ""; position: absolute; bottom: -10px; right: 32px;
  width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent;
  border-top: 10px solid #0a0a0a;
}
@media (max-width: 560px) {
  .shelf-grid { grid-template-columns: 1fr; }
  .shop-boss { width: 150px; }
  .boss-bubble { font-size: 11px; max-width: 170px; }
}

/* ============ 页面过渡遮罩 ============ */
.page-wipe {
  position: fixed; inset: 0; z-index: 9500;
  pointer-events: none; visibility: hidden;
}
.page-wipe.active { visibility: visible; }
.wipe-fill {
  position: absolute; inset: 0;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left center;
}
/* ===== 主题：黄绿横向（关于我们） ===== */
.page-wipe.theme-accent .wipe-fill { background: var(--c-accent); }
/* 覆盖：色块从左向右铺满 */
.page-wipe.theme-accent.cover .wipe-fill {
  animation: wipeCover .62s cubic-bezier(.72,0,.24,1) forwards;
}
/* 揭开：色块继续向右退出 */
.page-wipe.theme-accent.reveal .wipe-fill {
  transform-origin: right center;
  animation: wipeReveal .62s cubic-bezier(.72,0,.24,1) forwards;
}
@keyframes wipeCover {
  0% { transform: scaleX(0); transform-origin: left center; }
  100% { transform: scaleX(1); transform-origin: left center; }
}
@keyframes wipeReveal {
  0% { transform: scaleX(1); transform-origin: right center; }
  100% { transform: scaleX(0); transform-origin: right center; }
}

/* ===== 主题：黄绿横条（约稿指南）=====
   偶数条从左向右、奇数条从右向左，交错向对面延伸铺满，再原轨迹散开 */
.wipe-bars { display: none; position: absolute; inset: 0; }
.page-wipe.theme-guide .wipe-fill { display: none; }
.page-wipe.theme-guide .wipe-bars { display: block; }
.wipe-bar {
  position: absolute; left: 0; right: 0;
  background: #DDF800;
  transform: scaleX(0);
  will-change: transform;
}
.wipe-bar.bar-l { transform-origin: left center; }
.wipe-bar.bar-r { transform-origin: right center; }
/* 覆盖：各自从一侧延伸到满屏 */
.page-wipe.theme-guide.cover .wipe-bar.bar-l { animation: barCoverL .5s cubic-bezier(.76,0,.24,1) forwards; }
.page-wipe.theme-guide.cover .wipe-bar.bar-r { animation: barCoverR .5s cubic-bezier(.76,0,.24,1) forwards; }
/* 散开：沿原轨迹缩回各自来源侧 */
.page-wipe.theme-guide.reveal .wipe-bar.bar-l { animation: barRevealL .5s cubic-bezier(.76,0,.24,1) forwards; }
.page-wipe.theme-guide.reveal .wipe-bar.bar-r { animation: barRevealR .5s cubic-bezier(.76,0,.24,1) forwards; }
@keyframes barCoverL { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
@keyframes barCoverR { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
@keyframes barRevealL { 0% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes barRevealR { 0% { transform: scaleX(1); } 100% { transform: scaleX(0); } }

/* ===== 主题：黄绿反向（演出安排）=====
   与 theme-accent 方向相反：色块从右向左铺满，再继续向左退出 */
.page-wipe.theme-rev .wipe-fill { background: var(--c-accent); }
.page-wipe.theme-rev.cover .wipe-fill {
  transform-origin: right center;
  animation: wipeCoverRev .62s cubic-bezier(.72,0,.24,1) forwards;
}
.page-wipe.theme-rev.reveal .wipe-fill {
  transform-origin: left center;
  animation: wipeRevealRev .62s cubic-bezier(.72,0,.24,1) forwards;
}
@keyframes wipeCoverRev {
  0% { transform: scaleX(0); transform-origin: right center; }
  100% { transform: scaleX(1); transform-origin: right center; }
}
@keyframes wipeRevealRev {
  0% { transform: scaleX(1); transform-origin: left center; }
  100% { transform: scaleX(0); transform-origin: left center; }
}

/* ===== 主题：白色阶梯（报价单）=====
   多条白色竖柱，从下往上依次升起铺满，形成阶梯；再从上往下依次退去 */
.wipe-steps { display: none; position: absolute; inset: 0; }
.page-wipe.theme-price .wipe-fill,
.page-wipe.theme-price .wipe-bars { display: none; }
.page-wipe.theme-price .wipe-steps { display: block; }
.step-col {
  position: absolute; top: 0; bottom: 0;
  background: linear-gradient(180deg, #ffffff 0%, #eef2dc 100%);
  transform: scaleY(0); transform-origin: bottom center;
  will-change: transform;
}
/* cover：每列从下往上依次升起；reveal：从上往下依次退去（保持从左到右阶梯） */
.page-wipe.theme-price.cover .step-col { animation: stepRise .46s cubic-bezier(.6,0,.35,1) forwards; }
.page-wipe.theme-price.reveal .step-col { animation: stepFall .46s cubic-bezier(.6,0,.35,1) forwards; }
@keyframes stepRise { 0% { transform: scaleY(0); } 100% { transform: scaleY(1); } }
@keyframes stepFall { 0% { transform: scaleY(1); transform-origin: top center; } 100% { transform: scaleY(0); transform-origin: top center; } }
.page-wipe.theme-price .wipe-mark { color: #141a00; }
/* 遮罩中央像素标记 */
.wipe-center {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
}
.page-wipe.cover .wipe-center { animation: wipeMarkIn .62s ease forwards; }
.page-wipe.reveal .wipe-center { animation: wipeMarkOut .5s ease forwards; }
.wipe-mark {
  font-family: var(--font); font-size: clamp(28px, 7vw, 64px);
  letter-spacing: 6px; color: #141a00;
}
.page-wipe.theme-guide .wipe-mark { color: #141a00; }
.page-wipe.theme-rev .wipe-mark { color: #141a00; }
@keyframes wipeMarkIn {
  0% { opacity: 0; transform: scale(.6); }
  55% { opacity: 1; transform: scale(1); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes wipeMarkOut {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.2); }
}

/* 排单查询弹窗 */
.queue-modal { max-width: 400px; }
.queue-result { margin-top: 18px; padding: 16px; border: none; background: var(--c-input); }
.queue-result.none { color: var(--c-text-dim); font-size: 12px; text-align: center; }
.qr-title { font-size: 12px; color: var(--c-text-dim); }
.qr-rank { font-size: 24px; color: var(--c-text); margin: 8px 0 12px; }
.qr-rank b { color: var(--c-accent); font-size: 36px; }
.qr-rank span { font-size: 12px; color: var(--c-text-mute); }
.qr-bar { height: 12px; background: var(--c-input); border: none; margin-bottom: 10px; }
.qr-bar i { display: block; height: 100%; background: repeating-linear-gradient(90deg, var(--c-accent) 0 6px, transparent 6px 9px); }
.qr-sub { font-size: 12px; color: var(--c-text-mute); }

/* ============ 后台标签页 ============ */
.admin-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--c-line); margin-bottom: 20px; }
.admin-tab {
  font-family: var(--font); font-size: 12px; color: var(--c-text-dim);
  background: transparent; border: 1px solid transparent; border-bottom: none;
  padding: 8px 12px; cursor: pointer; position: relative; top: 1px;
}
.admin-tab:hover { color: var(--c-text); }
.admin-tab.active { color: var(--c-accent); border-color: var(--c-line); background: var(--c-input); }
.tab-count { color: #141a00; background: var(--s1); padding: 0 5px; font-size: 12px; margin-left: 3px; }
.tab-desc { font-size: 12px; color: var(--c-text-mute); margin: 0 0 16px; line-height: 1.7; }
.inline-form { display: flex; gap: 10px; margin-bottom: 16px; }
.inline-form .px-input { flex: 1; }

/* 审核中心 */
.approve-card { border-left: 3px solid var(--s1); }
.approve-actions { margin-top: 12px; }

/* VIP 列表 */
.vip-list { display: flex; flex-direction: column; gap: 8px; }
.vip-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--c-input); border: none; padding: 10px 14px; }
.vip-name { font-size: 12px; color: var(--c-accent); }
.vip-account { font-size: 12px; color: var(--c-text-mute); margin-top: 2px; }

/* 排单管理 */
.queue-manage-list { display: flex; flex-direction: column; gap: 8px; }
.queue-manage-row { display: flex; align-items: center; gap: 12px; background: var(--c-input); border: none; padding: 10px 12px; }
.qmr-pos { font-size: 16px; color: var(--c-accent); width: 36px; flex: none; }
.qmr-info { flex: 1; min-width: 0; }
.qmr-title { font-size: 12px; color: var(--c-text); }
.qmr-meta { font-size: 12px; color: var(--c-text-mute); margin-top: 2px; }
.qmr-btns { display: flex; gap: 5px; flex: none; }
.queue-add-box { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 2px solid rgba(221,248,0,.10); }
.qadd-title { font-size: 12px; color: var(--c-text-dim); width: 100%; }

/* 公告管理 */
.notice-edit-form { background: var(--c-input); border: none; padding: 14px; margin-bottom: 18px; }
.notice-form-actions { display: flex; gap: 10px; margin-top: 12px; }
.notice-manage-list { display: flex; flex-direction: column; gap: 10px; }
.notice-manage-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; background: var(--c-input); border: none; padding: 12px 14px; }
.nmr-info { flex: 1; min-width: 0; }
.nmr-title { font-size: 12px; color: var(--c-accent); }
.nmr-body { font-size: 12px; color: var(--c-text-dim); margin: 5px 0; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.nmr-time { font-size: 12px; color: var(--c-text-mute); }
.about-edit-form .form-grid { gap: 12px; }

/* ============ 响应式 ============ */
@media (max-width: 640px) {
  .topbar { flex-wrap: wrap; gap: 10px; padding: 10px 14px; }
  .brand { font-size: 12px; }
  .open-status { order: 3; width: 100%; margin: 2px 0 0; font-size: 12px; white-space: normal; }
  .top-actions { margin-left: auto; }
  .game-logo .logo-main { font-size: 40px; letter-spacing: 3px; }
  .game-intro { margin: 40px 0 32px; }
  .home-dock { left: 12px; bottom: 14px; gap: 6px; }
  .dock-btn { font-size: 12px; padding: 7px 11px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.span-2 { grid-column: 1; }
  .query-row { flex-direction: column; }
  .status-select { grid-template-columns: 1fr; }
  .result-header { flex-direction: column; }
  .timeline { margin-left: 0; margin-right: 0; }
  .tl-label { font-size: 12px; }
  .urge-box { flex-direction: column; align-items: stretch; }
  .urge-box .px-btn { width: 100%; }
  .about-social { grid-template-columns: 1fr; }
  .admin-tabs { gap: 0; }
  .admin-tab { padding: 8px; font-size: 12px; }
  .inline-form { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
