/* =========================================================================
   reserve.css —— 预约系统样式
   -------------------------------------------------------------------------
   视觉与官网（site/assets/css）保持一致：深色底 + 紫青渐变。
   配色值直接抄自 tokens.css，改主题时两边要一起改。
   ========================================================================= */

:root {
  --accent:      #7c5cff;
  --accent-2:    #00d4ff;
  --accent-glow: rgba(124, 92, 255, .55);

  --bg:          #08090f;
  --bg-1:        #0d0f18;
  --bg-2:        #12141f;

  --text:        #f2f3f7;
  --text-2:      #a9aec2;
  --text-3:      #6b7189;

  --glass:       rgba(255, 255, 255, .045);
  --glass-strong:rgba(255, 255, 255, .075);
  --line:        rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);

  --radius:      14px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "Cascadia Code", Consolas, monospace;
}

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

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  font-size: clamp(16px, 0.7vw + 7px, 21px);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.wrap { width: 100%; max-width: 900px; margin: 0 auto; padding: 0 20px; }

/* ==================== 顶栏 ==================== */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(8, 9, 15, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 -1px 0 var(--line);
}
.topbar-inner {
  height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 18px; letter-spacing: -.01em;
}
.topnav { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.topnav a { color: var(--text-2); transition: color .2s; }
.topnav a:hover { color: var(--text); }
.inline-form { display: inline; margin: 0; }
.linkish {
  background: none; border: none; padding: 0; cursor: pointer;
  color: var(--text-2); font: inherit; font-size: 14px;
  transition: color .2s;
}
.linkish:hover { color: var(--text); }
.linkish.danger { color: #ff6b7a; }

/* ==================== 主体 ==================== */
.main { flex: 1; padding: 48px 0 72px; }

.hero { text-align: center; padding: 24px 0 40px; }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent-2); margin: 0 0 10px;
}

.h-display {
  font-size: clamp(30px, 2.9vw, 62px);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.15;
  margin: 0 0 16px;
}

.grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.lead { color: var(--text-2); font-size: 1.05rem; margin: 0; }
.muted { color: var(--text-3); font-size: 15px; }

/* ==================== 卡片 ==================== */
.card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 36px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.card.single { max-width: 560px; margin: 0 auto; }
.card.center { text-align: center; }

.card-title { font-size: 26px; font-weight: 700; margin: 0 0 8px; }
.card-desc { color: var(--text-2); margin: 0 0 20px; }

/* ==================== 表单 ==================== */
.field { margin-bottom: 20px; }

.label {
  display: block; font-size: 15px; color: var(--text-2);
  margin-bottom: 8px; font-weight: 600;
}
.req { color: #ff6b7a; }

.input {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 17px;
  color: var(--text);
  background: rgba(0, 0, 0, .28);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: var(--text-3); }
.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, .18);
}
textarea.input { resize: vertical; min-height: 84px; }

select.input {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%),
                    linear-gradient(135deg, var(--text-3) 50%, transparent 50%);
  background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

.row-inline { display: flex; gap: 10px; }
.row-inline .input { flex: 1; }
.row-inline .btn { flex-shrink: 0; white-space: nowrap; }

.hint { font-size: 14px; color: var(--text-3); margin: 8px 0 0; }

.legal-note {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.7;
  padding: 12px 0 20px;
}
.legal-note a { color: var(--text-2); text-decoration: underline; }
.legal-note a:hover { color: var(--text); }

/* ==================== 按钮 ==================== */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  text-align: center;
}
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

.btn-primary {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 24px -8px var(--accent-glow);
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px var(--accent-glow);
}

.btn-ghost {
  background: var(--glass);
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover:not(:disabled) {
  background: var(--glass-strong);
  border-color: var(--accent);
}

.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* ==================== 提示 ==================== */
.alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 20px;
  border: 1px solid;
}
.alert-error {
  background: rgba(255, 80, 96, .1);
  border-color: rgba(255, 80, 96, .35);
  color: #ff9aa5;
}
.alert-ok {
  background: rgba(0, 212, 255, .08);
  border-color: rgba(0, 212, 255, .3);
  color: #7fe3ff;
}

.check {
  width: 64px; height: 64px; margin: 0 auto 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 30px -8px var(--accent-glow);
}

.error-code { font-size: 64px; font-weight: 800; margin: 0 0 12px; }

/* ==================== 管理页 ==================== */
.admin-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.admin-actions { display: flex; gap: 10px; }

.stats { display: flex; gap: 16px; margin-bottom: 20px; }
.stat {
  flex: 1;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.stat-num { font-size: 34px; font-weight: 800; line-height: 1.1; }
.stat-label { font-size: 14px; color: var(--text-3); }

.search-row { display: flex; gap: 10px; margin-bottom: 20px; }
.search-row .input { flex: 1; }
.search-row .btn { flex-shrink: 0; align-self: stretch; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
}
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table th {
  font-weight: 600; color: var(--text-3); font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase;
  background: rgba(255, 255, 255, .02);
}
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: rgba(255, 255, 255, .025); }
.table td.note {
  white-space: normal; max-width: 240px;
  color: var(--text-2); font-size: 13px;
}
.mono { font-family: var(--mono); color: var(--text-2); font-size: 13px; }

.pager {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-top: 24px;
}

/* ==================== 页脚 ==================== */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
}
.footer p { margin: 4px 0; }

/* ==================== 响应式 ==================== */
@media (max-width: 600px) {
  .row-inline { flex-direction: column; }
  .row-inline .btn { width: 100%; }
  .topnav { gap: 14px; font-size: 13px; }
  .stats { flex-direction: column; }
  .admin-head { flex-direction: column; align-items: stretch; }
  .admin-actions .btn { width: 100%; }
}

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

/* ==================== 管理登录：左右分栏 ====================
   版式参考常见 SaaS 登录页（左插画右表单），配色/字体/文案全部用本站自己的：
   深色底 + 官网角色原画 + 紫青渐变强调色。
   这页不用通用版式，靠 body.page-login 把顶栏页脚收掉。 */
.page-login .topbar,
.page-login .footer { display: none; }
.page-login .main { padding: 0; }
.page-login .wrap { max-width: none; padding: 0; }

.login-split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ---- 左：插画 + 压暗 + 左下角文案 ---- */
.login-art {
  position: relative;
  background-image: url('../img/login-art.jpg');
  background-size: cover;
  background-position: center 28%;
  background-color: var(--bg-1);
  overflow: hidden;
}
.login-art::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,9,15,.30) 0%, rgba(8,9,15,.10) 38%, rgba(8,9,15,.94) 100%),
    linear-gradient(90deg, rgba(8,9,15,.55), rgba(8,9,15,0) 58%);
}
.login-art-text {
  position: absolute;
  left: clamp(24px, 4vw, 64px);
  bottom: clamp(28px, 6vh, 76px);
  z-index: 1;
  max-width: 34ch;
}
.login-art-title {
  margin: 10px 0 10px;
  font-size: clamp(30px, 2.5vw, 58px);
  font-weight: 800;
  letter-spacing: .01em;
}
.login-art-desc { margin: 0; color: var(--text-2); font-size: clamp(14px, .85vw, 19px); }

/* ---- 右：表单列 ---- */
.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 4vw, 64px) clamp(20px, 3vw, 56px);
  background: var(--bg);
}
.login-form { width: 100%; max-width: 390px; }

.login-brand {
  display: flex; align-items: center; gap: 9px;
  font-weight: 700; letter-spacing: .02em;
  margin-bottom: clamp(22px, 4vh, 44px);
}
/* 小标题前的一条渐变短线（版式细节） */
.login-tag { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-2); }
.login-tag::before {
  content: ""; width: 3px; height: 16px; border-radius: 2px;
  background: linear-gradient(var(--accent), var(--accent-2));
}
.login-sub { margin: 6px 0 26px; font-size: 13px; color: var(--text-3); }

/* 表单控件在本页单独收一下，不动通用 .input / .btn */
.login-form .field { margin-bottom: 18px; }
.login-form .label { display: block; margin-bottom: 8px; font-size: 13px; color: var(--text-2); }
.login-form .input {
  width: 100%; padding: 13px 14px;
  border-radius: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 17px;
  font-family: inherit;
}
.login-form .input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, .18);
}
.login-form .alert { margin: 0 0 16px; }
.login-form .btn-block { width: 100%; margin-top: 4px; }
.login-note { margin: 18px 0 0; font-size: 12px; color: var(--text-3); }

/* ---- 窄屏：插画变顶部横条，表单占满 ---- */
@media (max-width: 900px) {
  /* 窄屏只留插画横幅：文案压在角色脸上不好看，右侧表单列本身已有品牌与标题 */
  .login-split { grid-template-columns: 1fr; grid-template-rows: 180px 1fr; }
  .login-art { background-position: center 18%; }
  .login-art::after {
    background: linear-gradient(180deg, rgba(8,9,15,.20) 0%, rgba(8,9,15,.45) 60%, rgba(8,9,15,.98) 100%);
  }
  .login-art-text { display: none; }
  .login-panel { padding: 36px 20px 52px; }
}


/* ==================== 账号相关小件 ==================== */
/* 登录/注册表单底部的次级链接行 */
.form-links {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  justify-content: space-between;
  margin-top: 18px; font-size: 13px; color: var(--text-3);
}
.form-links a { color: var(--text-2); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.form-links a:hover { color: var(--accent-2); border-color: var(--accent-2); }

/* 状态标签 */
.tag {
  display: inline-block; padding: 2px 9px; border-radius: 999px;
  font-size: 12px; line-height: 1.6;
  border: 1px solid var(--line-strong);
}
.tag-ok   { color: #6ee7a8; border-color: rgba(110, 231, 168, .35); background: rgba(110, 231, 168, .10); }
.tag-warn { color: #ffcf72; border-color: rgba(255, 207, 114, .35); background: rgba(255, 207, 114, .10); }

/* 账户页：邮箱验证区 */
.verify-box {
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid; gap: 12px;
}
.verify-row { margin: 0; }
.account-logout { margin-top: 22px; }

/* 账号页 / 资料页的「标签 - 值」两列表 */
.spec-list {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 22px;
  align-items: baseline;
}
.spec-list dt { color: var(--text-3); font-size: 14px; white-space: nowrap; }
.spec-list dd { margin: 0; color: var(--text); font-size: 15px; }

/* 预约页（/）用分栏版式：左插画固定、右侧表单可滚动 */
.page-reserve .login-panel {
  align-items: flex-start;
  padding-top: clamp(28px, 6vh, 64px);
  padding-bottom: clamp(28px, 6vh, 64px);
}
.page-reserve .login-art { position: sticky; top: 0; height: 100vh; }
.page-reserve .login-form { max-width: 400px; }
.page-reserve .legal-note { font-size: 12px; }

@media (max-width: 900px) {
  .page-reserve .login-art { position: static; height: auto; }
}

/* ==================== 个人主页分区 ==================== */
.account-sec {
  margin: 30px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

/* 可折叠区块（改密码 / 注销） */
.account-details {
  margin: 10px 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--glass);
}
.account-details summary {
  cursor: pointer;
  font-size: 14px;
  color: var(--text-2);
  list-style: none;
}
.account-details summary::-webkit-details-marker { display: none; }
.account-details summary::before { content: "▸ "; color: var(--text-3); }
.account-details[open] summary::before { content: "▾ "; }
.stack-form { margin-top: 14px; display: grid; gap: 12px; }
.platform-form { margin-top: 14px; }
.check {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-2); cursor: pointer;
}



/* ==================== 后台：筛选 / 批量 / 日志 ==================== */
.filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 18px;
}
.filters .input { flex: 0 1 auto; width: auto; min-width: 150px; }
.filters input[name="q"] { flex: 1 1 220px; width: auto; }
.filters .btn { flex: 0 0 auto; }
.platform-line { margin: -6px 0 16px; font-size: 13px; }

.table th.cb, .table td.cb { width: 34px; text-align: center; }
.table input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--accent); cursor: pointer; }
.row-actions .linkish { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

.bulk-bar {
  display: flex; align-items: center; gap: 14px;
  margin-top: 14px;
}

/* 审计日志：等宽、可换行、不撑破布局 */
.log-list {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-2);
  padding: 12px 14px;
  max-height: 62vh;
  overflow: auto;
}
.log-line {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-2);
  white-space: pre-wrap;
  word-break: break-all;
  padding: 2px 0;
  border-bottom: 1px solid rgba(255,255,255,.03);
}
.log-line:last-child { border-bottom: 0; }

/* ==================== 自动填充的深色修正 ====================
   Chrome 会给「自动填充」的输入框强制浅色底 + 深色文字，
   普通 background 盖不住（它优先级更高），表现为深色页面上突然出现白框。
   只能用一个铺满的大 inset 阴影把底色「刷」回深色，文字色用 -webkit-text-fill-color。
   transition 把 Chrome 的渐变过程停掉，避免加载时闪一下白。 */
.input:-webkit-autofill,
.input:-webkit-autofill:hover,
.input:-webkit-autofill:focus,
.login-form .input:-webkit-autofill,
.login-form .input:-webkit-autofill:hover,
.login-form .input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--bg-2) inset !important;
  -webkit-text-fill-color: var(--text) !important;
  caret-color: var(--text);
  transition: background-color 9999s ease-in-out 0s;
}

/* ==================== 公告管理表单 ==================== */
/* 注意：复选框行用 .check-row，不要用 .check —— .check 是错误页的 64px 圆图标 */
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
  cursor: pointer;
}
.check-row input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.check-row span { flex: 1 1 auto; }

.ann-form { max-width: 820px; }
.ann-form .field { margin-bottom: 22px; }
.ann-form textarea.input { line-height: 1.8; }
.ann-form .btn-row { margin-top: 26px; }

.ann-sum {
  margin-top: 4px;
  font-size: 13px;
  max-width: 46ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.row-actions { white-space: nowrap; }
.row-actions > * + * { margin-left: 14px; }

/* =========================================================================
   宽屏放大层（≥1000px 生效）
   -------------------------------------------------------------------------
   背景：开发时按 150% 缩放看效果，100% 缩放下同一套字号显得偏小。
   这里不改布局结构，只把「文字 / 表单 / 按钮 / 表格」整体放大到 ≈1.5×，
   让 100% 缩放的观感等于原来的 150%。窄屏（<1000px）不受影响。
   要整体再调，改这一块里的数值即可。
   ========================================================================= */
@media (min-width: 1000px) {
  body { font-size: clamp(22px, 1.0vw + 10px, 30px); line-height: 1.65; }

  /* 顶栏 */
  .topbar-inner { height: 88px; }
  .brand { font-size: 26px; gap: 12px; }
  .brand-dot { width: 16px; height: 16px; border-radius: 4px; }
  .topnav { gap: 28px; font-size: 20px; }
  .linkish { font-size: 20px; }

  /* 内容容器 */
  .wrap { max-width: 1200px; padding: 0 28px; }
  .main { padding: 64px 0 96px; }
  .hero { padding: 32px 0 56px; }
  .eyebrow { font-size: 18px; }
  .h-display { font-size: clamp(42px, 4.2vw, 88px); }
  .lead { font-size: 1.5rem; }
  .muted { font-size: 21px; }
  .card-title { font-size: 38px; }
  .card-desc { font-size: 21px; }
  .card { padding: 44px; }
  .card.single { max-width: 760px; }
  .section-head { margin-bottom: 40px; }
  .footer { padding: 36px 0; }

  /* 表单 */
  .label, .login-form .label { font-size: 21px; margin-bottom: 12px; }
  .input, .login-form .input { font-size: 25px; padding: 19px 24px; border-radius: 14px; }
  .hint, .login-note { font-size: 19px; }
  .legal-note { font-size: 18px; }
  .field { margin-bottom: 28px; }

  /* 按钮 */
  .btn { font-size: 25px; padding: 20px 40px; border-radius: 14px; }
  .btn-sm { font-size: 20px; padding: 14px 24px; }
  .btn-row { gap: 20px; margin-top: 36px; }

  /* 标签 / 提示 */
  .tag { font-size: 18px; padding: 4px 14px; }
  .alert { font-size: 20px; padding: 18px 22px; }

  /* 登录 / 注册 / 找回密码 分栏 */
  .login-form { max-width: 580px; }
  .login-brand { font-size: 26px; margin-bottom: 44px; }
  .login-tag { font-size: 21px; gap: 14px; }
  .login-tag::before { width: 4px; height: 24px; }
  .login-sub { font-size: 20px; margin-bottom: 36px; }
  .login-art-text { max-width: 30ch; }
  .login-art-title { font-size: clamp(46px, 3.6vw, 82px); }
  .login-art-desc { font-size: clamp(20px, 1.25vw, 27px); }
  .login-art-desc { line-height: 1.6; }
  .form-links { font-size: 20px; margin-top: 26px; gap: 14px 26px; }

  /* 账号页 */
  .account-sec { font-size: 24px; margin: 40px 0 16px; padding-top: 26px; }
  .spec-list { gap: 18px 30px; }
  .spec-list dt { font-size: 20px; }
  .spec-list dd { font-size: 21px; }
  .account-details { padding: 18px 20px; margin: 14px 0; }
  .account-details summary { font-size: 20px; }
  .check { font-size: 19px; }
  .check-row { font-size: 19px; }
  .check-row input[type="checkbox"] { width: 22px; height: 22px; }
  .platform-form { margin-top: 22px; }

  /* 联系弹窗 */
  .modal { width: min(92vw, 700px); max-width: 700px; }
  .modal-inner { padding: 48px; }
  .modal-title { font-size: 34px; }
  .modal-lead { font-size: 20px; }
  .modal-addr { font-size: 26px; padding: 20px 24px; }
  .modal-hint { font-size: 18px; }
  .modal-actions { gap: 16px; }

  /* 后台 */
  .table { font-size: 20px; }
  .table th { font-size: 17px; }
  .table td, .table th { padding: 18px 20px; }
  .table td.note { font-size: 18px; max-width: 340px; }
  .mono { font-size: 18px; }
  .stat { padding: 26px 28px; }
  .stat-num { font-size: 48px; }
  .stat-label { font-size: 19px; }
  .stats { gap: 22px; }
  .search-row, .filters { gap: 14px; margin-bottom: 26px; }
  .filters .input { min-width: 210px; }
  .admin-head { gap: 20px; margin-bottom: 28px; }
  .admin-actions { gap: 14px; }
  .pager { gap: 18px; font-size: 20px; }
  .platform-line { font-size: 19px; }
  .bulk-bar { gap: 20px; font-size: 19px; }
  .log-line { font-size: 17px; line-height: 1.75; }
  .log-list { padding: 18px 20px; }
}

/* ==================== 消除滚动条引起的跳动 ====================
   页面内容一高一矮，纵向滚动条就会「出现/消失」，内容区宽度随之差 15px，
   整块内容会左右横跳（看起来像页面突然变大）。
   scrollbar-gutter: stable 让滚动条的位置始终预留，宽度恒定。
   另给 Turnstile 小部件一个固定高度，避免它从「Verifying…」到「Success!」
   时高度变化把下面的内容顶来顶去。 */
html { scrollbar-gutter: stable; }

.cf-turnstile { min-height: 70px; }


/* ==================== 制作组管理 ==================== */
.team-thumb {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-2);
  font-size: 14px; font-weight: 700; color: var(--text-2);
}
.team-thumb.is-initial {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}
.team-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: start;
}
.team-avatar-box {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--glass);
}
.team-avatar-preview {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  display: grid; place-items: center;
  margin: 10px 0 14px;
  font-size: 34px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.team-avatar-box form { display: grid; gap: 10px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check-group { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.check-group .check-row { flex: 0 0 auto; }
@media (max-width: 860px) {
  .team-form-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}


/* 「待上线」状态：蓝色，和已发布/草稿区分开 */
.tag-ready {
  color: #7fb4ff;
  background: rgba(80, 140, 255, .16);
  border: 1px solid rgba(80, 140, 255, .35);
}


/* 额度告警红色 */
.text-warn { color: #ff8a96; font-weight: 700; }
