/* 永联实业 · AI入企黑客松 报名模块样式（signup.html 选手报名页 + reg-admin.html 审核后台）
   视觉沿用永联 H5：深色磨砂玻璃 + 金色 #F4CF95 / #E8B26A，标题用宋体；手机优先 */
:root {
  color-scheme: dark;
  --fg: #FFFCF6;
  --sub: rgba(255, 252, 246, .76);
  --mute: rgba(255, 252, 246, .55);
  --gold: #F4CF95;
  --gold-2: #E8B26A;
  --rose: #F6C1B0;
  --seal: #C23B35;
  --ink: #0E1116;
  --ok: #8EDDAA;
  --bad: #FF8F86;
  --line: rgba(255, 255, 255, .16);
  --field: rgba(255, 255, 255, .07);
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --num: "Avenir Next", "Helvetica Neue", "DIN Alternate", var(--sans);
  --ease: cubic-bezier(.22, .9, .25, 1);
  --pad: clamp(16px, 5vw, 48px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ink); }
/* 底色只放在 html 上：body 若有背景，会盖住 z-index:-1 的满幅背景图 */
body { margin: 0; min-height: 100vh; color: var(--fg); font-family: var(--sans); font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-x: hidden; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.n { font-family: var(--num); font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.muted { color: var(--mute); }
.sm { font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 满幅背景 ---------- */
.scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--ink); }
.scene i { position: absolute; inset: 0; background-size: cover; background-position: center; }
.scene .v { display: none; }
@media (max-aspect-ratio: 1/1) { .scene .h { display: none; } .scene .v { display: block; } }
.veil { position: absolute; inset: 0; background:
  radial-gradient(120% 70% at 50% 35%, rgba(8,10,16,.1) 0%, rgba(8,10,16,.45) 100%),
  linear-gradient(180deg, rgba(8,10,16,.55) 0%, rgba(8,10,16,.3) 28%, rgba(8,10,16,.5) 65%, rgba(8,10,16,.8) 100%); }
.grain { position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23f)'/%3E%3C/svg%3E"); }

/* ---------- 磨砂玻璃 ---------- */
.glass { background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.04)), rgba(12,14,24,.42); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(24px) saturate(1.4) brightness(.9); -webkit-backdrop-filter: blur(24px) saturate(1.4) brightness(.9);
  box-shadow: 0 24px 60px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.24); border-radius: 22px; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s, background .2s, border-color .2s, opacity .2s; }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-gold { color: #2A1A0C; background: linear-gradient(135deg, #FBE3B8, var(--gold-2)); box-shadow: 0 12px 30px rgba(232,178,106,.3), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-glass { color: var(--fg); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.32); }
.btn-quiet { color: var(--sub); background: transparent; border-color: rgba(255,255,255,.24); }
.btn-danger { color: #FFE4E0; background: rgba(194,59,53,.55); border-color: rgba(255,143,134,.6); }
.btn-text { height: auto; padding: 6px 8px; color: var(--sub); font-weight: 600; border-radius: 10px; }
.btn-text:hover { color: var(--fg); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-xs { height: 30px; padding: 0 10px; font-size: 13px; }
.btn-lg { height: 56px; padding: 0 36px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }
@media (hover: hover) { .btn:not([disabled]):not(.btn-text):hover { transform: translateY(-1px); } .btn-glass:not([disabled]):hover { background: rgba(255,255,255,.16); } }

/* ---------- 顶栏 ---------- */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: calc(10px + env(safe-area-inset-top)) var(--pad) 10px;
  background: rgba(14,17,22,.5); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 1px 0 rgba(255,255,255,.1); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand .lg1 { height: 32px; width: auto; }
.brand i { width: 1px; height: 22px; background: rgba(255,255,255,.4); }
.brand .lg2 { height: 21px; width: auto; }
.bar-r { margin-left: auto; display: flex; align-items: center; gap: 10px; min-width: 0; }
.who { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; color: var(--sub); }
.who img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid rgba(255,255,255,.3); }
.who span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 10em; }
.who button, .bar-link { flex: none; height: 32px; padding: 0 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); font-size: 13px; color: var(--fg); display: inline-flex; align-items: center; white-space: nowrap; }
.who button:hover, .bar-link:hover { background: rgba(255,255,255,.1); }
@media (max-width: 480px) {
  .bar { gap: 8px; }
  .brand { gap: 8px; }
  .brand .lg1 { height: 25px; }
  .brand i { height: 16px; }
  .brand .lg2 { height: 16px; }
  .who img { display: none; }
  .who span { max-width: 4.6em; font-size: 13px; }
  .who button { padding: 0 10px; height: 30px; }
}
@media (max-width: 350px) { .brand .lg2, .brand i { display: none; } }

/* ---------- 页面 ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 14px var(--pad) calc(48px + env(safe-area-inset-bottom)); }
.back { display: inline-flex; align-items: center; gap: 4px; padding: 6px 0; font-size: 13.5px; color: var(--sub); }
.back:hover { color: var(--fg); }
.intro { padding: 22px 0 26px; text-align: center; }
.kicker { font-size: 13px; letter-spacing: .32em; color: var(--gold); text-shadow: 0 1px 14px rgba(0,0,0,.5); }
.title { margin-top: 12px; font-family: var(--serif); font-weight: 900; font-size: clamp(42px, 11vw, 72px); line-height: 1.08; letter-spacing: .04em; text-shadow: 0 10px 60px rgba(0,0,0,.35); }
.title .g { background: linear-gradient(180deg, #FFF6E4 10%, var(--gold) 55%, var(--gold-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pills { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pill { padding: 6px 14px; border-radius: 999px; font-size: 13.5px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
body.in .intro { padding: 12px 0 18px; }
body.in .title { font-size: clamp(30px, 7.5vw, 44px); }
body.in .pills { margin-top: 12px; }
.foot-s { padding: 0 var(--pad) calc(28px + env(safe-area-inset-bottom)); text-align: center; font-size: 12.5px; color: var(--mute); }

.card { padding: clamp(20px, 5vw, 34px); }
.card + .card, .card + .fs, .fs + .fs, .fs + .card { margin-top: 14px; }
.center { text-align: center; }
.h2 { font-family: var(--serif); font-weight: 900; font-size: clamp(22px, 5.4vw, 28px); line-height: 1.35; letter-spacing: .02em; }
.h3s { font-family: var(--serif); font-weight: 900; font-size: 19px; letter-spacing: .02em; }
.lead { margin-top: 10px; font-size: 14.5px; color: var(--sub); }
.hint { margin-top: 14px; font-size: 13px; color: var(--mute); text-align: center; }
.acts { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.center-acts { justify-content: center; }

.alert { margin-bottom: 14px; padding: 12px 14px 12px 16px; border-radius: 16px; display: flex; gap: 10px; align-items: center; justify-content: space-between; font-size: 14px;
  background: rgba(194,59,53,.3); border: 1px solid rgba(255,143,134,.5); color: #FFE6E2; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.alert.info { background: rgba(244,207,149,.14); border-color: rgba(244,207,149,.42); color: var(--fg); }
.alert .x { flex: none; width: 28px; height: 28px; border-radius: 50%; color: inherit; opacity: .7; }
.alert .x:hover { opacity: 1; background: rgba(255,255,255,.1); }

.spin { display: inline-block; width: 30px; height: 30px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.2); border-top-color: var(--gold); animation: spin .8s linear infinite; }
.spin.sm { width: 16px; height: 16px; border-width: 2px; border-color: rgba(42,26,12,.25); border-top-color: #2A1A0C; }
@keyframes spin { to { transform: rotate(360deg); } }
#vLoading .card { padding: 46px 20px; }

/* ---------- 未登录 ---------- */
.v2 { margin: 20px 0 22px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.v2 li { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid var(--line); }
.v2 .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--gold); background: rgba(244,207,149,.12); border: 1px solid rgba(244,207,149,.3); }
.v2 svg { width: 24px; height: 24px; }
.v2 b { display: block; font-size: 15px; line-height: 1.4; }
.v2 span:not(.ic) { display: block; font-size: 12.5px; color: var(--sub); line-height: 1.5; }
@media (max-width: 380px) { .v2 { grid-template-columns: 1fr; } }
.steps3 { margin-top: 14px; display: grid; gap: 14px; }
.steps3 li { display: flex; gap: 12px; align-items: flex-start; }
.steps3 .num { flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; font-family: var(--num); font-weight: 700; font-size: 13px; color: #2A1A0C; background: linear-gradient(135deg, #FBE3B8, var(--gold-2)); }
.steps3 b { font-size: 15px; }
.steps3 p { font-size: 13px; color: var(--sub); }

/* ---------- 缺绑定 ---------- */
.checks { margin: 18px 0 20px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.checks .mk { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.checks .ok .mk { color: var(--ok); background: rgba(142,221,170,.16); border: 1px solid rgba(142,221,170,.5); }
.checks .no { border-color: rgba(255,143,134,.36); background: rgba(194,59,53,.1); }
.checks .no .mk { color: var(--bad); background: rgba(255,143,134,.14); border: 1px solid rgba(255,143,134,.5); }
.checks .ct { min-width: 0; flex: 1; }
.checks b { display: flex; align-items: center; gap: 8px; font-size: 15.5px; line-height: 1.5; }
.checks .tag { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 1px 8px; border-radius: 999px; color: var(--gold); border: 1px solid rgba(244,207,149,.45); }
.checks p { margin-top: 3px; font-size: 13.5px; color: var(--sub); line-height: 1.6; word-break: break-word; }
.bind-btns { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 报名表 ---------- */
.form-hd { margin: 0 4px 14px; }
.req-dot { color: var(--gold); font-style: normal; margin-left: 2px; }
.fs-hd { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.fs-hd h3 { font-family: var(--serif); font-weight: 900; font-size: 21px; letter-spacing: .03em; }
.fs-cn { color: var(--gold); }
.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 16px; } .fld { grid-column: 1 / -1; } .fld.half { grid-column: auto; } }
.fld { min-width: 0; }
.lb { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; font-size: 14.5px; font-weight: 600; }
.lb .req::after { content: "*"; color: var(--gold); margin-left: 3px; }
.opt { font-size: 12px; font-weight: 400; color: var(--mute); font-style: normal; }
.tk-count { margin-left: auto; font-family: var(--num); font-size: 12.5px; font-weight: 600; color: var(--sub); }
.tk-count.full { color: var(--gold); }
.inp { display: block; width: 100%; height: 50px; padding: 0 14px; border-radius: 14px; background: var(--field); border: 1px solid rgba(255,255,255,.22); color: var(--fg); font-size: 16px; outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none; }
textarea.inp { height: auto; min-height: 92px; padding: 12px 14px; line-height: 1.65; resize: vertical; }
select.inp { padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23F4CF95' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
select.inp option, select.inp optgroup { color: var(--fg); background: #1A1E28; }
.inp::placeholder { color: rgba(255,252,246,.36); }
.inp:hover { border-color: rgba(255,255,255,.34); }
.inp:focus { border-color: var(--gold); background: rgba(255,255,255,.1); box-shadow: 0 0 0 3px rgba(244,207,149,.18); }
.tip { margin-top: 6px; display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--mute); line-height: 1.55; }
.tip-top { margin: -3px 0 10px; display: block; }
.cnt { flex: none; font-family: var(--num); font-size: 12px; font-variant-numeric: tabular-nums; }
.cnt.over { color: var(--bad); font-weight: 700; }
.msg { display: none; margin-top: 6px; font-size: 13px; color: var(--bad); line-height: 1.5; }
.fld.bad > .msg { display: block; }
.fld.bad .inp[aria-invalid] { border-color: var(--bad); box-shadow: 0 0 0 3px rgba(255,143,134,.16); }
.fld.bad .oc-b, .fld.bad .ck, .fld.bad .up-zone { border-color: rgba(255,143,134,.65); }
.fld.bad > .lb { color: #FFD3CE; }

/* ---------- 可配置报名表（v5）：各题型 ---------- */
@media (min-width: 900px) { body.wide .page { max-width: 900px; } }
.fs-tag { align-self: center; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; line-height: 1.8; color: var(--mute); border: 1px solid rgba(255,255,255,.22); white-space: nowrap; }
.fs-tag.must { color: var(--gold); border-color: rgba(244,207,149,.45); background: rgba(244,207,149,.08); }
.fs-desc { margin: -8px 0 16px; font-size: 13px; color: var(--sub); }
.lb .lt { min-width: 0; line-height: 1.55; }

/* 卡片式单选 / 多选：列数由脚本按选项字数算好（--c1 手机，--c2 电脑） */
.ocs { display: grid; grid-template-columns: repeat(var(--c1, 2), minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .ocs { grid-template-columns: repeat(var(--c2, 3), minmax(0, 1fr)); } }
.oc { position: relative; display: block; min-width: 0; }
.oc input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.oc-b { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; height: 100%; min-height: 48px; padding: 10px 14px; border-radius: 14px; background: var(--field); border: 1px solid rgba(255,255,255,.22); font-size: 14.5px; line-height: 1.4; text-align: center; cursor: pointer; overflow: hidden;
  transition: border-color .2s, background .2s, box-shadow .2s, opacity .2s, transform .2s var(--ease); }
.oc-b:hover { border-color: rgba(255,255,255,.42); }
.oc:active .oc-b { transform: scale(.98); }
.oc input:checked + .oc-b { color: #FFF4E0; font-weight: 700; border-color: var(--gold); background: linear-gradient(160deg, rgba(244,207,149,.32), rgba(232,178,106,.1)); box-shadow: inset 0 0 0 1px var(--gold), 0 8px 22px rgba(232,178,106,.14); }
.ocs:not(.multi) .oc input:checked + .oc-b::after { content: ""; position: absolute; top: 0; right: 0; width: 22px; height: 20px; border-radius: 0 0 0 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.6 2.6L9 1.2' fill='none' stroke='%232A1A0C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat, linear-gradient(135deg, #FBE3B8, var(--gold-2)); }
.oc input:focus-visible + .oc-b { outline: 2px solid var(--gold); outline-offset: 2px; }
.oc-i { flex: none; width: 17px; height: 17px; border-radius: 5px; border: 1.5px solid rgba(255,255,255,.55); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.oc input:checked + .oc-b .oc-i { border-color: transparent; background: linear-gradient(135deg, #FBE3B8, var(--gold-2)); }
.oc input:checked + .oc-b .oc-i::after { content: ""; width: 8px; height: 4px; margin-top: -2px; border-left: 2px solid #2A1A0C; border-bottom: 2px solid #2A1A0C; transform: rotate(-45deg); }
.ocs.full .oc input:not(:checked) + .oc-b { opacity: .45; }
.tk-count { margin-left: auto; flex: none; font-family: var(--num); font-size: 12.5px; font-weight: 600; color: var(--sub); }
.tk-count.full { color: var(--gold); }

/* 单选的子题：选中后展开（grid 0fr → 1fr 过渡） */
.fgroup { grid-column: 1 / -1; min-width: 0; }
.sub { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .36s var(--ease), opacity .26s ease; }
.sub.open { grid-template-rows: 1fr; opacity: 1; }
.sub-in { min-height: 0; overflow: hidden; }
.sub-box { position: relative; margin-top: 12px; padding: 16px 16px 16px 18px; border-radius: 16px; background: rgba(244,207,149,.06); border: 1px solid rgba(244,207,149,.22); }
.sub-box::before { content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(180deg, #FBE3B8, var(--gold-2)); }
.sub-box .grid { gap: 14px; }
.no-anim .sub { transition: none; }
@media (min-width: 640px) { .sub-box .grid { gap: 14px 14px; } }

/* 选中某个值时的黄色提醒（不阻止提交） */
.warn { margin-top: 10px; display: flex; gap: 9px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; line-height: 1.6; color: #FFE7B8; background: rgba(255,186,73,.13); border: 1px solid rgba(255,200,110,.48); animation: fade .2s ease; }
.warn::before { content: "!"; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; display: grid; place-items: center; font-family: var(--num); font-size: 12px; font-weight: 800; color: #2A1A0C; background: #FFC86B; }
.warn-t { color: #FFD28A; }

/* 省份 + 城市 */
.region { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 8px; }

/* 可增删的链接列表 */
.lst { display: grid; gap: 8px; }
.lst-row { display: flex; gap: 8px; align-items: center; animation: rowIn .24s var(--ease); }
.lst-row .inp { flex: 1; min-width: 0; }
.ib { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--mute); border: 1px solid rgba(255,255,255,.16); transition: color .2s, border-color .2s, background .2s; }
.ib:hover { color: #FFC2BB; border-color: rgba(255,143,134,.5); background: rgba(194,59,53,.14); }
.add-row { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.add-row .cnt { color: var(--mute); }
.add { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 12px; border: 1px dashed rgba(244,207,149,.55); color: var(--gold); font-size: 14px; font-weight: 600; background: rgba(244,207,149,.05); transition: background .2s, border-color .2s; }
.add:hover { background: rgba(244,207,149,.12); border-color: var(--gold); }
@keyframes rowIn { from { opacity: 0; transform: translateY(-4px); } }

/* 表格题（过往经历）：每条一张卡片。项目、角色、时间三个小格一行；经历内容占满整行的大输入框，带字数 */
.tbx-hd { display: none; }
.tbx-rows { display: grid; gap: 12px; }
.tbx-row { position: relative; display: grid; gap: 10px; padding: 10px 12px 14px; border-radius: 16px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.14); animation: rowIn .26s var(--ease); transition: opacity .16s, transform .16s; }
.tbx-row.out { opacity: 0; transform: scale(.98); }
.tbx-top { display: flex; align-items: center; justify-content: space-between; }
.tbx-no { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--gold); white-space: nowrap; }
.tbx-top .ib { width: 32px; height: 32px; border-radius: 10px; }
.tbx-sm { display: grid; grid-template-columns: var(--scols, 1.3fr 1fr 1fr); gap: 8px; }
.tbx-c { display: block; min-width: 0; position: relative; }
.tbx-lb { display: block; margin-bottom: 4px; font-size: 12px; color: var(--sub); }
.tbx .inp { height: 38px; padding: 0 10px; border-radius: 10px; font-size: 14px; }
.tbx .inp::placeholder { font-size: 12.5px; }
.tbx textarea.inp { height: auto; min-height: 140px; padding: 10px 12px 26px; line-height: 1.65; font-size: 15px; resize: none; overflow: hidden; }
.tbx-cnt { position: absolute; right: 12px; bottom: 8px; font-size: 11.5px; color: var(--mute); pointer-events: none; font-family: var(--num, inherit); }
@media (min-width: 720px) { .tbx-sm { gap: 10px; } .tbx textarea.inp { min-height: 150px; } }

/* 上传 PDF */
.up { position: relative; }
.up-inp { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.up-zone { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 16px; border-radius: 16px; border: 1.5px dashed rgba(255,255,255,.3); background: rgba(255,255,255,.04); text-align: center; transition: border-color .2s, background .2s; }
.up-zone:hover, .up.drag .up-zone { border-color: var(--gold); background: rgba(244,207,149,.08); }
.up.drag .up-zone { box-shadow: 0 0 0 4px rgba(244,207,149,.14); }
.up-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--gold); background: rgba(244,207,149,.12); border: 1px solid rgba(244,207,149,.3); }
.up-ic svg { width: 22px; height: 22px; }
.up-t { font-size: 14.5px; line-height: 1.5; }
.up-t b { font-weight: 700; color: var(--fg); }
.up-zone small { font-size: 12.5px; color: var(--mute); }
.dnd { display: none; color: var(--sub); }
@media (hover: hover) and (pointer: fine) { .dnd { display: inline; } }
.up-card { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); animation: fade .2s ease; }
.up-card.done { border-color: rgba(142,221,170,.38); background: linear-gradient(135deg, rgba(142,221,170,.1), rgba(255,255,255,.03)); }
.up-card.done .up-ic { color: var(--ok); background: rgba(142,221,170,.12); border-color: rgba(142,221,170,.4); }
.up-info { flex: 1; min-width: 0; }
.up-info b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; font-weight: 600; }
.up-info small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: var(--sub); font-variant-numeric: tabular-nums; }
.up-prog { margin: 7px 0 3px; height: 5px; border-radius: 5px; background: rgba(255,255,255,.12); overflow: hidden; }
.up-prog i { display: block; width: 0; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--gold-2), #FFE3B0); transition: width .2s linear; }
.up-acts { display: flex; flex: none; gap: 6px; align-items: center; }
@media (max-width: 520px) { .up-card.done { flex-wrap: wrap; } .up-card.done .up-acts { width: 100%; padding-left: 52px; } }

/* 提交前的参赛须知 + 确认勾选 */
.consent { width: 100%; text-align: left; }
.consent .notice { margin-bottom: 12px; }

.ck { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--field); border: 1px solid rgba(255,255,255,.2); font-size: 14.5px; line-height: 1.6; cursor: pointer; }
.ck:hover { border-color: rgba(255,255,255,.36); }
.ck input { -webkit-appearance: none; appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 7px; border: 1.5px solid rgba(255,255,255,.55); background: transparent; display: grid; place-items: center; cursor: pointer; }
.ck input:checked { background: linear-gradient(135deg, #FBE3B8, var(--gold-2)); border-color: transparent; }
.ck input:checked::after { content: ""; width: 10px; height: 5px; margin-top: -3px; border-left: 2px solid #2A1A0C; border-bottom: 2px solid #2A1A0C; transform: rotate(-45deg); }
.ck input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ck i { font-style: normal; }
.ck .opt { margin-left: 4px; }

.notice { margin-bottom: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(244,207,149,.08); border: 1px solid rgba(244,207,149,.28); font-size: 13.5px; color: var(--sub); }
.notice > b { color: var(--gold); font-size: 14px; }
.mp-tip { margin: 14px 0 0; text-align: left; }
.mp-tip p { margin-top: 4px; line-height: 1.65; }
.notice ul { margin-top: 6px; display: grid; gap: 4px; }
.notice li { position: relative; padding-left: 14px; line-height: 1.65; }
.notice li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.notice li b { color: var(--fg); font-weight: 600; }

.submit-box { margin-top: 14px; display: grid; gap: 10px; justify-items: center; text-align: center; }
.submit-box .btn-lg { max-width: 420px; }
.form-err { width: 100%; padding: 10px 14px; border-radius: 12px; font-size: 14px; color: #FFE0DB; background: rgba(194,59,53,.3); border: 1px solid rgba(255,143,134,.5); }
.draft { font-size: 12.5px; color: var(--mute); }

/* ---------- 状态徽章（6 种状态） ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; border: 1px solid; font-size: 12.5px; font-weight: 700; line-height: 1; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-pending { --st: #A8C8FF; color: #A8C8FF; background: rgba(110,160,255,.15); border-color: rgba(140,180,255,.45); }
.st-contact { --st: #D6BCFF; color: #D6BCFF; background: rgba(170,130,255,.16); border-color: rgba(190,160,255,.45); }
.st-accepted { --st: #93E4B1; color: #93E4B1; background: rgba(90,200,130,.17); border-color: rgba(140,225,170,.5); }
.st-waitlist { --st: #FFC98A; color: #FFC98A; background: rgba(255,170,80,.15); border-color: rgba(255,195,130,.48); }
.st-rejected { --st: #FF9F97; color: #FF9F97; background: rgba(255,110,100,.14); border-color: rgba(255,150,140,.45); }
.st-withdrawn { --st: rgba(255,252,246,.62); color: rgba(255,252,246,.62); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.26); }

/* ---------- 已报名 ---------- */
.stcard { position: relative; overflow: hidden; }
.stcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--c, var(--gold)), transparent); }
.stcard[data-st="pending"] { --c: #A8C8FF; }
.stcard[data-st="contact"] { --c: #D6BCFF; }
.stcard[data-st="accepted"] { --c: #93E4B1; border-color: rgba(147,228,177,.45); background: linear-gradient(150deg, rgba(147,228,177,.16), rgba(255,255,255,.03) 55%), rgba(12,14,24,.42); }
.stcard[data-st="waitlist"] { --c: #FFC98A; }
.stcard[data-st="rejected"] { --c: #FF9F97; }
.stcard[data-st="withdrawn"] { --c: rgba(255,255,255,.4); }
.st-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.st-no { font-size: 13px; color: var(--sub); }
.st-no b { margin-left: 4px; font-size: 20px; color: var(--gold); }
.lock { margin-top: 12px; font-size: 13.5px; color: var(--rose); }
.chan { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; }
.chan span { color: var(--mute); margin-right: 2px; }
.chan em { font-style: normal; padding: 2px 10px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: var(--sub); }
.meta { margin-top: 16px; font-size: 12.5px; color: var(--mute); }

.tl { position: relative; margin-top: 16px; display: grid; gap: 16px; padding-left: 24px; }
.tl::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: rgba(255,255,255,.26); }
.tl li { position: relative; }
.tl li::before { content: ""; position: absolute; left: -24px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 1.5px solid rgba(255,255,255,.6); }
.tl li:first-child::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 5px rgba(244,207,149,.2); }
.tl b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.5; }
.tl time { display: block; font-family: var(--num); font-size: 12.5px; color: var(--mute); }
.tl p { font-size: 13px; color: var(--sub); white-space: pre-wrap; }

.kv { margin-top: 8px; }
.kv > div { display: grid; grid-template-columns: 8em minmax(0,1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.kv > div:last-child { border-bottom: 0; }
.kv dt { font-size: 13.5px; color: var(--mute); }
.kv dd { font-size: 14.5px; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; }
.lnk { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(244,207,149,.4); }
.details { margin-top: 6px; }
.dsec + .dsec { margin-top: 20px; }
.dsec h4 { padding-bottom: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; color: var(--gold); border-bottom: 1px solid rgba(244,207,149,.22); }
.kv > div.long { grid-template-columns: minmax(0, 1fr); gap: 4px; }
.kv > div.subrow dt::before { content: "└ "; color: rgba(244,207,149,.55); }
.vchips { display: flex; flex-wrap: wrap; gap: 6px; white-space: normal; }
.vchip { display: inline-flex; padding: 2px 10px; border-radius: 999px; font-size: 13px; line-height: 1.5; background: rgba(244,207,149,.12); border: 1px solid rgba(244,207,149,.35); }
.vlist { display: grid; gap: 4px; white-space: normal; }
.vt-wrap { display: block; margin-top: 2px; overflow-x: auto; white-space: normal; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); }
.vt { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.55; }
.vt th { padding: 8px 10px; text-align: left; white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--mute); background: rgba(255,255,255,.05); }
.vt td { min-width: 4.5em; padding: 8px 10px; vertical-align: top; white-space: pre-wrap; border-top: 1px solid rgba(255,255,255,.08); }
.vt .vt-no { width: 3em; min-width: 0; color: var(--gold); font-family: var(--num); font-weight: 700; }
@media (max-width: 600px) {
  .vt thead { display: none; }
  .vt, .vt tbody, .vt tr, .vt td { display: block; width: auto; }
  .vt tr { padding: 10px 12px; border-top: 1px solid rgba(255,255,255,.08); }
  .vt tr:first-child { border-top: 0; }
  .vt td { min-width: 0; padding: 1px 0; border: 0; }
  .vt td[data-l]::before { content: attr(data-l) "："; color: var(--mute); }
  .vt .vt-no { width: auto; margin-bottom: 2px; font-size: 12.5px; }
  .vt .vt-no::before { content: "第 "; } .vt .vt-no::after { content: " 条"; }
}
.vfile { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 7px 14px 7px 8px; border-radius: 14px; white-space: normal; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); transition: border-color .2s, background .2s; }
.vfile:hover { border-color: var(--gold); background: rgba(244,207,149,.08); }
.vfile .up-ic { width: 34px; height: 34px; border-radius: 10px; }
.vfile .up-ic svg { width: 19px; height: 19px; }
.vf-t { min-width: 0; }
.vf-t b { display: block; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.vf-t small { display: block; font-size: 12px; color: var(--gold); }
@media (max-width: 520px) { .kv > div { grid-template-columns: 1fr; gap: 3px; padding: 11px 0; } .kv dt { font-size: 12.5px; } }

/* ---------- 弹窗 / 提示 ---------- */
.mask { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(5,7,12,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .18s ease; }
.dlg { width: min(420px, 100%); padding: 24px; border-radius: 22px; background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.03)), #171B25; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: pop .22s var(--ease); }
.dlg h3 { font-family: var(--serif); font-weight: 900; font-size: 20px; }
.dlg p { margin-top: 10px; font-size: 14.5px; color: var(--sub); white-space: pre-line; }
.dlg .acts { justify-content: flex-end; }
.dlg .field { margin-top: 14px; }
.dlg label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--sub); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
#toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 80; max-width: calc(100% - 32px); padding: 11px 18px; border-radius: 14px; font-size: 14px; line-height: 1.5; text-align: center;
  background: rgba(23,27,37,.94); border: 1px solid rgba(255,255,255,.2); box-shadow: 0 16px 40px rgba(0,0,0,.4); opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.err { color: #FFE0DB; border-color: rgba(255,143,134,.6); background: rgba(70,24,24,.95); }
body.net #toast { bottom: calc(90px + env(safe-area-inset-bottom)); }
.netbar { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 70; width: min(calc(100% - 24px), 480px);
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 18px; border-radius: 999px; font-size: 14px;
  background: rgba(70,24,24,.92); border: 1px solid rgba(255,143,134,.55); box-shadow: 0 14px 34px rgba(0,0,0,.35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.netbar span { min-width: 0; }

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

/* =====================================================================
   审核后台 reg-admin.html（电脑优先，手机也能用）
   ===================================================================== */
body.adm { font-size: 14px; background:
  radial-gradient(1100px 560px at 85% -10%, rgba(232,178,106,.16), transparent 60%),
  radial-gradient(900px 520px at -10% 0%, rgba(110,140,255,.09), transparent 60%), var(--ink); background-attachment: fixed; }
.adm .bar-title { font-family: var(--serif); font-weight: 900; font-size: 17px; letter-spacing: .04em; white-space: nowrap; }
.adm .wrap { max-width: 1440px; margin: 0 auto; padding: 20px var(--pad) 60px; }
.adm .login { max-width: 400px; margin: 9vh auto 0; text-align: center; }
.adm .login .inp { margin-top: 18px; text-align: center; }
.adm .login .btn { margin-top: 12px; }
.adm .login .lead { margin-top: 6px; }
.adm-hd { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.adm-hd h1 { font-family: var(--serif); font-weight: 900; font-size: 28px; letter-spacing: .03em; line-height: 1.2; }
.adm-hd p { margin-top: 4px; font-size: 13px; color: var(--mute); }
.adm-hd .acts { margin: 0; }
.panel { padding: 18px; border-radius: 18px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.12); }
.panel + .panel { margin-top: 14px; }
.panel-t { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--gold); }
.adm .inp { height: 40px; padding: 0 12px; border-radius: 12px; font-size: 14px; }
.adm textarea.inp { height: auto; min-height: 84px; padding: 10px 12px; }
.adm select.inp { padding-right: 34px; background-position: right 12px center; }

.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin-bottom: 14px; }
@media (max-width: 600px) { .kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; } .kpi { grid-column: span 2; padding: 10px 11px; border-radius: 14px; } .kpi.k-all { order: -2; } .kpi.k-q { grid-column: span 4; order: -1; } .kpi.k-rg { grid-column: span 3; } .kpi b { font-size: 22px; } .kpi span { font-size: 12px; } .adm-hd h1 { font-size: 24px; } }
.kpi { position: relative; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 13px 14px; border-radius: 16px; text-align: left; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); transition: border-color .2s, background .2s; }
button.kpi:hover { border-color: rgba(255,255,255,.3); }
.kpi b { display: block; font-family: var(--num); font-size: 26px; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
.kpi span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--sub); }
.kpi small { font-size: 14px; color: var(--mute); font-weight: 600; }
.kpi[data-st]::before { content: ""; position: absolute; left: 14px; top: 0; width: 22px; height: 3px; border-radius: 0 0 3px 3px; background: var(--st, var(--gold)); }
.kpi.on { border-color: var(--gold); background: rgba(244,207,149,.1); }
.kpi.gold b { color: var(--gold); }
.kpi.warn { border-color: rgba(255,143,134,.75); background: rgba(194,59,53,.22); }
.kpi.warn b, .kpi.warn span { color: #FFB4AD; }
.kpi .bar-q { margin-top: 8px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; }
.kpi .bar-q i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-2), #FFE3B0); }
.kpi.warn .bar-q i { background: var(--bad); }
.kpi.st-pending, .kpi.st-contact, .kpi.st-accepted, .kpi.st-waitlist, .kpi.st-rejected, .kpi.st-withdrawn { color: var(--fg); background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.kpi.st-pending b, .kpi.st-contact b, .kpi.st-accepted b, .kpi.st-waitlist b, .kpi.st-rejected b, .kpi.st-withdrawn b { color: var(--st); }
.kpi.st-pending.on, .kpi.st-contact.on, .kpi.st-accepted.on, .kpi.st-waitlist.on, .kpi.st-rejected.on, .kpi.st-withdrawn.on { border-color: var(--st); background: rgba(255,255,255,.09); }

.sets { display: grid; grid-template-columns: auto auto auto 1fr; gap: 14px 22px; align-items: end; }
.sets .lbl { display: block; margin-bottom: 6px; font-size: 12.5px; color: var(--sub); }
.sets .row { display: flex; gap: 8px; align-items: center; }
.sets .state { font-size: 13px; color: var(--sub); align-self: center; }
.sets .state b { font-weight: 700; }
.sets .state .on { color: var(--ok); }
.sets .state .off { color: var(--bad); }
.adm input[type="datetime-local"].inp { width: 230px; }
.adm input[type="number"].inp { width: 110px; }
@media (max-width: 900px) { .sets { grid-template-columns: 1fr 1fr; } .sets .state { grid-column: 1 / -1; } }
@media (max-width: 560px) { .sets { grid-template-columns: 1fr; } .adm input[type="datetime-local"].inp, .adm input[type="number"].inp { width: 100%; } .sets .row { flex-wrap: wrap; } }

.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; height: 40px; }
.switch input { -webkit-appearance: none; appearance: none; position: relative; flex: none; width: 46px; height: 26px; margin: 0; border-radius: 999px; background: rgba(255,255,255,.2); cursor: pointer; transition: background .2s; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); transition: transform .2s var(--ease); }
.switch input:checked { background: linear-gradient(135deg, #FBE3B8, var(--gold-2)); }
.switch input:checked::after { transform: translateX(20px); }
.switch input:disabled { opacity: .5; cursor: wait; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.filters .ff { display: contents; }
.filters .inp { width: auto; flex: 1 1 auto; min-width: 120px; max-width: 100%; }
.filters .kw { flex: 2 1 220px; }
.filters select.on { border-color: var(--gold); color: var(--gold); background-color: rgba(244,207,149,.08); }
@media (max-width: 600px) { .filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .filters .inp { width: 100%; min-width: 0; } .filters .kw { grid-column: 1 / -1; } }
@media (max-width: 600px) { .hide-sm { display: none !important; } }
.list-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-size: 13px; color: var(--sub); }
.list-meta .lm-l { display: inline-flex; align-items: center; gap: 6px; }
.adm .list-meta .sort { width: auto; height: 34px; padding-left: 10px; font-size: 13px; border-radius: 10px; }

.bulk { position: sticky; top: 64px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; padding: 10px 12px; border-radius: 14px;
  background: rgba(40,34,24,.92); border: 1px solid rgba(244,207,149,.45); box-shadow: 0 12px 30px rgba(0,0,0,.35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.bulk b { color: var(--gold); margin-right: 4px; }
.bulk .inp { width: auto; min-width: 120px; }
.bulk .note { flex: 1; min-width: 160px; }
@media (max-width: 600px) { .bulk { top: 58px; } .bulk .note { flex-basis: 100%; order: 5; } }

.tbl-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { padding: 10px; text-align: left; white-space: nowrap; font-size: 12.5px; font-weight: 600; color: var(--mute); background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.12); }
.tbl td { padding: 11px 10px; vertical-align: middle; border-bottom: 1px solid rgba(255,255,255,.07); }
.tbl tbody tr { cursor: pointer; transition: background .15s; }
.tbl tbody tr:hover { background: rgba(255,255,255,.04); }
.tbl tbody tr.sel { background: rgba(244,207,149,.08); }
.tbl tbody tr.cur { box-shadow: inset 3px 0 0 var(--gold); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl .c-ck { width: 40px; text-align: center; }
.tbl .c-no { font-family: var(--num); font-weight: 700; color: var(--gold); white-space: nowrap; }
.tbl .c-name b { font-weight: 700; }
.tbl .c-name small { display: block; font-size: 12px; color: var(--mute); }
.tbl .c-idn { max-width: 240px; }
.tbl .c-idn b { font-weight: 600; }
.tbl .c-dir { white-space: nowrap; }
.flag { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 999px; font-size: 11.5px; line-height: 1.6; font-weight: 700; vertical-align: 1px; color: #2A1A0C; background: #FFC86B; }
.tbl .c-ts { white-space: nowrap; font-family: var(--num); font-size: 12.5px; color: var(--sub); }
.tbl .c-rate { white-space: nowrap; }
.tbl .c-region { white-space: nowrap; }
.tbl .empty { padding: 40px 10px; text-align: center; color: var(--mute); cursor: default; }
.tbl .ellip { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm .ckb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; margin: 0; border-radius: 5px; border: 1.5px solid rgba(255,255,255,.5); display: inline-grid; place-items: center; vertical-align: middle; cursor: pointer; background: transparent; }
.adm .ckb:checked, .adm .ckb:indeterminate { background: linear-gradient(135deg, #FBE3B8, var(--gold-2)); border-color: transparent; }
.adm .ckb:checked::after { content: ""; width: 8px; height: 4px; margin-top: -2px; border-left: 2px solid #2A1A0C; border-bottom: 2px solid #2A1A0C; transform: rotate(-45deg); }
.adm .ckb:indeterminate::after { content: ""; width: 8px; height: 2px; background: #2A1A0C; }
.adm .ck-hit { display: inline-grid; place-items: center; width: 34px; height: 34px; margin: -8px; cursor: pointer; }
.tag-t { display: inline-block; margin: 1px 4px 1px 0; padding: 1px 8px; border-radius: 999px; font-size: 12px; line-height: 1.6; white-space: nowrap; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.tag-t.focus { color: var(--gold); background: rgba(244,207,149,.1); border-color: rgba(244,207,149,.38); }
.stars-s { color: var(--gold); letter-spacing: 1px; font-size: 13px; }
.stars-s .off { color: rgba(255,255,255,.2); }
.region-yrd { color: var(--gold); }

/* 手机：表格变卡片 */
@media (max-width: 760px) {
  .tbl-wrap { border: 0; overflow: visible; }
  .tbl thead { display: none; }
  .tbl, .tbl tbody { display: block; }
  .tbl tbody tr { display: grid; grid-template-columns: 30px auto minmax(0,1fr) auto; grid-template-areas: "ck no name st" "ck idn idn idn" "ck region region dir" "ck rate ts ts";
    gap: 4px 8px; align-items: center; margin-bottom: 10px; padding: 12px 12px 12px 8px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
  .tbl tbody tr.cur { box-shadow: inset 0 0 0 1px var(--gold); }
  .tbl td { display: block; padding: 0; border: 0; }
  .tbl td.empty { grid-column: 1 / -1; padding: 30px 0; }
  .tbl .c-ck { grid-area: ck; align-self: start; width: auto; padding-top: 2px; }
  .tbl .c-no { grid-area: no; }
  .tbl .c-name { grid-area: name; min-width: 0; }
  .tbl .c-name small { display: inline; margin-left: 6px; }
  .tbl .c-st { grid-area: st; }
  .tbl .c-idn { grid-area: idn; max-width: none; color: var(--sub); }
  .tbl .c-region { grid-area: region; font-size: 12.5px; color: var(--sub); min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .tbl .c-dir { grid-area: dir; justify-self: end; }
  .tbl .c-rate { grid-area: rate; }
  .tbl .c-ts { grid-area: ts; text-align: right; }
  .tbl .c-rate:empty { display: none; }
}

/* 详情抽屉 */
.dr-mask { position: fixed; inset: 0; z-index: 40; background: rgba(5,7,12,.55); animation: fade .2s ease; }
/* 报名详情：居中的大窗口，左边报名资料（主体），右边审核操作；窄屏全屏单栏 */
.drawer { position: fixed; top: 50%; left: 50%; z-index: 41; display: flex; flex-direction: column; overflow: hidden;
  width: min(1240px, calc(100vw - 48px)); height: min(940px, calc(100vh - 48px)); height: min(940px, calc(100dvh - 48px)); border-radius: 22px;
  background: linear-gradient(180deg, rgba(244,207,149,.06), transparent 240px), #141821; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 120px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, -48%) scale(.98);
  transition: transform .28s var(--ease), opacity .2s ease, visibility 0s linear .28s; }
.drawer.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, -50%); transition: transform .28s var(--ease), opacity .2s ease, visibility 0s; }
.dr-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 400px; }
.dr-main, .dr-side { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.dr-main .dr-sec { padding: 22px 30px 34px; border-bottom: 0; }
.dr-main .dr-sec .kv > div { grid-template-columns: 12em minmax(0,1fr); padding: 11px 0; }
.dr-main .dr-sec .kv dd { font-size: 15px; line-height: 1.75; }
.dr-side { border-left: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.02); }
.dr-nav { flex: none; display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.dr-pos { min-width: 4.5em; text-align: center; font-family: var(--num); font-size: 13px; color: var(--mute); }
@media (max-width: 960px) {
  .drawer { top: 0; left: 0; width: 100%; height: 100%; border-radius: 0; border: 0; transform: translateY(18px); }
  .drawer.open { transform: none; }
  .dr-body { display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; }
  .dr-main, .dr-side { overflow: visible; }
  .dr-main, .dr-body .dr-sec { flex-shrink: 0; }
  .dr-side { display: contents; }
  .dr-sec.o-top { order: 1; }
  .dr-main { order: 2; border-top: 1px solid rgba(255,255,255,.08); }
  .dr-sec.o-end { order: 3; }
  .dr-main .dr-sec { padding: 18px 20px; }
  .dr-main .dr-sec .kv > div { grid-template-columns: 9em minmax(0,1fr); padding: 9px 0; }
  .dr-main .dr-sec .kv dd { font-size: 14px; }
  .dr-hd { flex-wrap: wrap; }
  .dr-nav { order: 3; width: 100%; justify-content: space-between; }
}
.dr-hd { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; gap: 12px; padding: calc(16px + env(safe-area-inset-top)) 20px 14px; background: rgba(20,24,33,.94); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dr-hd .t { flex: 1; min-width: 0; }
.dr-hd h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-family: var(--serif); font-weight: 900; font-size: 22px; line-height: 1.3; }
.dr-hd h2 .n { font-size: 16px; color: var(--gold); font-family: var(--num); }
.dr-hd p { margin-top: 4px; font-size: 13px; color: var(--sub); }
.dr-x { flex: none; width: 36px; height: 36px; border-radius: 50%; font-size: 16px; color: var(--sub); border: 1px solid rgba(255,255,255,.2); }
.dr-x:hover { color: var(--fg); background: rgba(255,255,255,.08); }
.dr-sec { padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.dr-side .dr-sec:last-child { border-bottom: 0; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
.dr-sec h4 { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; color: var(--gold); }
.dr-sec h4 .btn { letter-spacing: 0; }
.st-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.st-btn { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid; font-size: 13px; font-weight: 700; transition: background .2s, transform .2s; }
.st-btn:hover:not([disabled]) { transform: translateY(-1px); background: rgba(255,255,255,.12); }
.st-btn.cur { cursor: default; box-shadow: inset 0 0 0 1px var(--st); }
.st-btn.cur::after { content: " ✓"; }
.stars { display: inline-flex; gap: 2px; }
.stars button { width: 34px; height: 34px; font-size: 24px; line-height: 1; color: rgba(255,255,255,.22); transition: color .15s, transform .15s; }
.stars button.on { color: var(--gold); }
.stars button:hover { transform: scale(1.12); }
.rv-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.rv-row .muted { font-size: 12.5px; }
.rv-acts { margin-top: 10px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.dr-sec .kv { margin-top: 0; }
.dr-sec .kv > div { grid-template-columns: 9em minmax(0,1fr); padding: 9px 0; }
.dr-sec .kv dd { font-size: 14px; }
.dr-sec .tl { margin-top: 4px; }
.idn { display: inline-flex; align-items: center; gap: 6px; }
.dot-ok, .dot-no { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.dot-ok { background: var(--ok); }
.dot-no { background: var(--bad); }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; word-break: break-all; }
.danger-zone { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 520px) { .dr-sec .kv > div { grid-template-columns: 1fr; gap: 2px; } }

/* 标签页：报名列表 / 报名表设置 */
.tabs { display: inline-flex; gap: 4px; margin-bottom: 14px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.tab { position: relative; height: 36px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--sub); transition: background .2s, color .2s; }
.tab:hover { color: var(--fg); }
.tab.on { color: #2A1A0C; background: linear-gradient(135deg, #FBE3B8, var(--gold-2)); }
.tab-dot { position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 0 2px rgba(20,24,33,.9); }

/* 报名分布（可折叠） */
.dist { margin-bottom: 14px; padding: 0; }
.dist > summary { display: flex; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; border-radius: 18px; }
.dist > summary::-webkit-details-marker { display: none; }
.dist > summary:hover { background: rgba(255,255,255,.03); }
.dist > summary .panel-t { margin: 0; }
.dist-sum { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: var(--mute); }
.chev { flex: none; width: 9px; height: 9px; border-right: 1.6px solid var(--sub); border-bottom: 1.6px solid var(--sub); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s var(--ease); }
.dist[open] .chev { transform: rotate(-135deg) translate(-2px, -2px); }
.dist-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; padding: 0 18px 18px; }
.dist-c { min-width: 0; padding: 12px 12px 8px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.dist-c h5 { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 0 6px; font-size: 13.5px; font-weight: 700; }
.dist-c h5 small { flex: none; font-size: 11.5px; font-weight: 400; color: var(--mute); }
.dist-r { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; width: 100%; padding: 5px 6px; margin: 0 -6px; width: calc(100% + 12px); border-radius: 8px; text-align: left; font-size: 13px; transition: background .15s; }
.dist-r:not([disabled]):hover { background: rgba(255,255,255,.06); }
.dist-r[disabled] { cursor: default; opacity: 1; }
.dist-r.on { background: rgba(244,207,149,.12); box-shadow: inset 0 0 0 1px rgba(244,207,149,.5); }
.dist-r .dn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dist-r .dn em { margin-left: 6px; font-style: normal; font-size: 11px; color: var(--mute); }
.dist-r .dc { font-family: var(--num); font-weight: 700; font-variant-numeric: tabular-nums; }
.dist-r .dc small { margin-left: 6px; font-weight: 400; color: var(--mute); }
.dist-r .db { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.dist-r .db i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--gold-2), #FFE3B0); }

/* 抽屉里的报名资料分组 */
.dr-sec .details { margin-top: -4px; }
.dr-sec .dsec + .dsec { margin-top: 14px; }
.dr-sec .dsec h5 { margin: 0; padding: 6px 0; font-size: 13px; font-weight: 700; color: var(--fg); border-bottom: 1px solid rgba(255,255,255,.1); }
.dr-sec .dsec.old h5 { color: var(--mute); }
.dr-sec .dsec.old { opacity: .9; }
.dr-sec .kv > div.long { grid-template-columns: minmax(0, 1fr); gap: 3px; }
.dr-sec .kv > div.long dt { font-size: 12.5px; }
.dr-meta { margin-top: 10px !important; border-top: 1px dashed rgba(255,255,255,.12); }

/* 报名表设置：JSON 编辑框 + 题型说明 */
.fe { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 14px; align-items: start; }
@media (max-width: 1080px) { .fe { grid-template-columns: minmax(0, 1fr); } }
.fe .panel + .panel { margin-top: 0; }
.fe-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 16px; margin-bottom: 12px; }
.fe-tt .panel-t { margin-bottom: 4px; }
.fe-meta { font-size: 13px; color: var(--sub); }
.code { display: flex; height: min(68vh, 860px); min-height: 360px; border-radius: 14px; overflow: hidden; background: rgba(5,7,12,.55); border: 1px solid rgba(255,255,255,.18); transition: border-color .2s, box-shadow .2s; }
.code:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(244,207,149,.15); }
.code .gut, .code textarea { margin: 0; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12.5px; line-height: 20px; tab-size: 2; }
.code .gut { flex: none; min-width: 48px; padding: 12px 10px 12px 12px; overflow: hidden; text-align: right; color: rgba(255,252,246,.32); background: rgba(255,255,255,.03); border-right: 1px solid rgba(255,255,255,.08); user-select: none; white-space: pre; }
.code .gut .e { color: #2A1A0C; background: var(--bad); border-radius: 4px; padding: 0 4px; margin-right: -4px; font-weight: 700; }
.code textarea { flex: 1; min-width: 0; padding: 12px 14px; border: 0; outline: 0; resize: none; color: var(--fg); background: transparent; white-space: pre; overflow: auto; overflow-wrap: normal; }
.fe-msg { margin-top: 10px; padding: 10px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.6; }
.fe-msg b { margin-right: 8px; }
.fe-msg .btn-text { margin-left: 6px; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.fe-msg.ok { color: #D4F5DF; background: rgba(90,200,130,.14); border: 1px solid rgba(142,221,170,.45); }
.fe-msg.err { color: #FFE0DB; background: rgba(194,59,53,.28); border: 1px solid rgba(255,143,134,.55); }
.fe-acts { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fe-acts .sp { flex: 1; }
.fe-note { margin-top: 10px; font-size: 12.5px; color: var(--mute); line-height: 1.65; }
.fe-help { font-size: 13px; color: var(--sub); }
@media (min-width: 1081px) { .fe-help { position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow-y: auto; } }
.fe-help code, .fe-p code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; padding: 1px 5px; border-radius: 5px; color: var(--gold); background: rgba(244,207,149,.1); }
.fe-code { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; overflow-x: auto; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11.5px; line-height: 1.6; color: var(--sub); background: rgba(5,7,12,.45); border: 1px solid rgba(255,255,255,.1); }
.fe-p { line-height: 1.7; }
.types > div { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.types > div:last-child { border-bottom: 0; }
.types dt { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--fg); }
.types dd { margin: 3px 0 0; line-height: 1.65; }
@media (max-width: 600px) { .code { height: 60vh; } .fe-acts .sp { flex-basis: 100%; height: 0; } .tabs { display: flex; } .tab { flex: 1; padding: 0 10px; } }


/* ---------- 后台：圆方账号登录、当前管理员、管理员名单 ---------- */
.adm .login a.btn { margin-top: 18px; }
.adm .login-tip { margin-top: 14px; font-size: 12.5px; line-height: 1.7; color: var(--mute); }
.adm .login-tip a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.adm .login .lead b { color: var(--fg); word-break: break-all; }
.adm-who { font-size: 13px; }
.adm-who .role { flex: none; display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-style: normal; font-size: 11.5px; font-weight: 700; color: #2A1A0C; background: var(--gold); }
.adm-who .role.r-admin { color: var(--fg); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); }
@media (max-width: 480px) { .adm-who #whoName { display: none; } }
.adm-add { display: flex; flex-wrap: wrap; gap: 10px; }
.adm-add .inp { flex: 1; min-width: 200px; }
.adm-note { margin-top: 10px; font-size: 12.5px; line-height: 1.7; color: var(--mute); }
.adm-count { font-family: var(--num); letter-spacing: 0; color: var(--mute); font-weight: 600; }
.adm-tbl tbody tr { cursor: default; }
.adm-tbl td small { display: block; font-size: 12px; color: var(--mute); }
.adm-tbl .c-op { width: 1%; text-align: right; white-space: nowrap; }
.adm-tbl .r-super { color: var(--gold); font-weight: 700; }
.adm-empty { padding: 28px 10px !important; text-align: center; color: var(--mute); }
@media (max-width: 760px) {
  .adm-tbl tbody tr { display: flex; flex-direction: column; align-items: stretch; gap: 5px; padding: 13px 14px; }
  .adm-tbl td { font-size: 13px; color: var(--sub); }
  .adm-tbl td[data-l]::before { content: attr(data-l) "："; color: var(--mute); }
  .adm-tbl td.c-acct { color: var(--fg); }
  .adm-tbl td.c-acct small { margin-top: 2px; }
  .adm-tbl td.blank, .adm-tbl .c-op:empty { display: none; }
  .adm-tbl .c-op { width: auto; text-align: left; margin-top: 4px; }
  .adm-tbl .adm-empty { padding: 24px 0 !important; }
}

/* ---------- 报名表设置：可视化编辑 ---------- */
.fe.visual { grid-template-columns: minmax(0, 1fr); }
.fe.visual .fe-help { display: none; }
.fe-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.seg button { height: 32px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--sub); transition: background .2s, color .2s; }
.seg button:hover { color: var(--fg); }
.seg button.on { color: #2A1A0C; background: linear-gradient(135deg, #FBE3B8, var(--gold-2)); }
.fb { display: flex; flex-direction: column; gap: 14px; }
.fb-state { position: sticky; top: 66px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.6;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.fb-state.ok { color: #D4F5DF; background: rgba(32,78,52,.78); border: 1px solid rgba(142,221,170,.4); }
.fb-state.bad { color: #FFE0DB; background: rgba(104,30,28,.85); border: 1px solid rgba(255,143,134,.55); }
.fb-state span { flex: 1; min-width: 200px; }
.fb-state .btn-text { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.fb-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 12.5px; color: var(--mute); }
.fb-bar .sp { flex: 1; }
.fb-bar .btn-text { color: var(--sub); }
.fb-s { border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.12); transition: border-color .2s; }
.fb-s.err { border-color: rgba(255,143,134,.75); }
.fb-sh { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.fb-sn { flex: none; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; color: var(--gold); }
.fb-st { flex: 1 1 200px; font-weight: 700; }
.fb-sd { flex: 2 1 260px; }
.fb-sh-t { flex: 1; font-size: 13px; color: var(--sub); }
.fb-list { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px; }
.fb-empty { padding: 12px 16px; font-size: 13px; color: var(--mute); }
.fb-addf { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 16px; }
.fb-addf .inp { width: auto; min-width: 190px; }
.fb-f { border-radius: 12px; background: rgba(10,12,18,.45); border: 1px solid rgba(255,255,255,.1); transition: border-color .2s, box-shadow .2s; }
.fb-f.open { border-color: rgba(244,207,149,.45); }
.fb-f.err { border-color: rgba(255,143,134,.85); box-shadow: 0 0 0 3px rgba(255,110,100,.16); }
.fb-fh { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 4px; }
.fb-ft { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; text-align: left; color: var(--fg); }
.fb-ft:hover { background: rgba(255,255,255,.05); }
.fb-fn { flex: none; width: 24px; text-align: center; font-family: var(--num); font-size: 13px; font-weight: 700; color: var(--gold); }
.fb-lb { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; }
.fb-tag { flex: none; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; line-height: 1.6; color: var(--sub); background: rgba(255,255,255,.08); white-space: nowrap; }
.fb-chev { flex: none; margin-left: auto; width: 8px; height: 8px; border-right: 1.5px solid var(--mute); border-bottom: 1.5px solid var(--mute); transform: rotate(45deg); transition: transform .2s; }
.fb-f.open > .fb-fh .fb-chev { transform: rotate(-135deg); }
.fb-req { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--sub); white-space: nowrap; cursor: pointer; }
.fb-req input, .fb-chk input { width: 16px; height: 16px; accent-color: var(--gold-2); }
.fb-ops { flex: none; display: inline-flex; gap: 2px; }
.fb-op { width: 30px; height: 30px; border-radius: 8px; font-size: 13px; color: var(--sub); }
.fb-op:hover:not([disabled]) { color: var(--fg); background: rgba(255,255,255,.1); }
.fb-op[disabled] { opacity: .28; cursor: default; }
.fb-op[data-act$="del"]:hover:not([disabled]) { color: #FF9F97; background: rgba(255,110,100,.15); }
.fb-fb { padding: 4px 16px 16px; border-top: 1px solid rgba(255,255,255,.07); }
.fb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; padding-top: 12px; }
.fb-l { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fb-l > span { font-size: 12.5px; color: var(--sub); }
.fb-grid > .wide { grid-column: 1 / -1; }
.adm textarea.fb-ta { min-height: 64px; resize: vertical; line-height: 1.6; }
.fb-note { font-size: 12.5px; line-height: 1.6; color: var(--mute); }
.fb-opts, .fb-cols, .fb-terms { display: flex; flex-direction: column; gap: 6px; }
.fb-opt { display: flex; align-items: center; gap: 6px; }
.fb-opt .inp { flex: 1; min-width: 0; }
.fb-mk { flex: none; width: 14px; height: 14px; border: 1.5px solid var(--mute); border-radius: 50%; }
.fb-mk.checkbox { border-radius: 4px; }
.fb-mk.select { border-radius: 3px; border-style: dashed; }
.fb-add { align-self: flex-start; margin-top: 4px; color: var(--gold); }
.fb-subs { display: flex; flex-direction: column; gap: 10px; }
.fb-subg { padding: 10px 12px; border-radius: 12px; border: 1px dashed rgba(255,255,255,.16); }
.fb-subg .fb-f { margin-top: 8px; }
.fb-subh { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--sub); }
.fb-subh b { color: var(--fg); }
.fb-col { display: grid; grid-template-columns: minmax(0, 1.2fr) 110px minmax(0, 1fr) auto auto; align-items: center; gap: 8px; }
.fb-chk { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--sub); white-space: nowrap; cursor: pointer; }
.fb-term { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; align-items: start; gap: 8px; }
.adm .fb-term textarea.inp { min-height: 64px; }
.fb-adv { font-size: 13px; color: var(--mute); }
.fb-adv summary { width: fit-content; cursor: pointer; }
.fb-adv[open] summary { margin-bottom: 8px; }
.fb-adv .fb-l { max-width: 420px; }
.fb-adv .fb-note { margin-top: 6px; }
.fb-add-sec { padding: 14px; border-radius: 16px; border: 1px dashed rgba(244,207,149,.45); font-size: 14px; font-weight: 700; color: var(--gold); }
.fb-add-sec:hover { background: rgba(244,207,149,.06); }
@media (max-width: 760px) {
  .fb-grid { grid-template-columns: minmax(0, 1fr); }
  .fb-fh { flex-wrap: wrap; }
  .fb-ft { flex-basis: 100%; }
  .fb-req { margin-left: 8px; }
  .fb-ops { margin-left: auto; }
  .fb-col { grid-template-columns: minmax(0, 1fr) 96px; }
  .fb-col > .inp:nth-child(3) { grid-column: 1 / -1; }
  .fb-term { grid-template-columns: minmax(0, 1fr) auto; }
  .fb-term textarea { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- 报名页（body.reg）：和活动主页一致——粗黑体、只用圆方品牌橙一个强调色（纯色，不用渐变）；后台（body.adm）不变 ---------- */
body.reg { --gold: #FFB08F; --gold-2: #FF5A1F; --rose: #FFC2AE; --ink: #14111C; --serif: var(--sans); --grad: #FF5A1F; }
body.reg .btn-gold { color: #fff; background: #FF5A1F; box-shadow: 0 10px 26px rgba(255,90,31,.3); }
@media (hover: hover) { body.reg .btn-gold:hover { background: #E8430D; } }
body.reg .spin.sm { border-color: rgba(255,255,255,.3); border-top-color: #fff; }
body.reg .title { font-weight: 800; letter-spacing: -.005em; }
body.reg .title .g { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #FF5A1F; }
body.reg .h2, body.reg .h3s, body.reg .fs-hd h3, body.reg .dlg h3 { font-weight: 800; letter-spacing: 0; }
body.reg .sub-box::before, body.reg .up-prog i { background: var(--grad); }
/* 已报名页的「邀请朋友」 */
.st-share { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); }
.st-share p { flex: 1 1 200px; font-size: 13.5px; color: var(--sub); }
.st-share p b { display: block; font-size: 15px; color: var(--fg); }

/* 后台：分享邀请排行 */
.ref-body { padding: 0 18px 18px; }
.ref-tbl tbody tr { cursor: default; }
.ref-tbl td small { display: block; font-size: 12px; color: var(--mute); }
.ref-tbl .n { font-family: var(--num); font-weight: 700; }
@media (max-width: 760px) {
  .ref-tbl tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: none; gap: 4px 14px; padding: 12px 14px; }
  .ref-tbl td:nth-child(1) { grid-column: 1 / -1; }
  .ref-tbl td:nth-child(2)::before { content: "打开 "; color: var(--mute); font-weight: 400; }
  .ref-tbl td:nth-child(3)::before { content: "报名 "; color: var(--mute); font-weight: 400; }
  .ref-tbl td:nth-child(4) { font-size: 12px; color: var(--mute); }
}

/* 上传的文件：打开 + 下载 */
.vfile-w { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; max-width: 100%; }
.vfile-dl { flex: none; height: 32px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; color: var(--fg); border: 1px solid rgba(255,255,255,.28); white-space: nowrap; }
.vfile-dl:hover { background: rgba(255,255,255,.1); }

/* ---------- 服务号推送 ---------- */
.ps-off { margin-bottom: 14px; padding: 12px 16px; border-radius: 14px; font-size: 13.5px; color: #FFD9C2; background: rgba(255,120,80,.1); border: 1px solid rgba(255,140,100,.35); }
.ps-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-bottom: 14px; }
.ps-grid .panel + .panel { margin-top: 0; }
@media (max-width: 900px) { .ps-grid { grid-template-columns: 1fr; } }
.ps-st { display: flex; flex-wrap: wrap; gap: 8px; }
.ps-ck { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; font-size: 13px; cursor: pointer; border: 1px solid rgba(255,255,255,.18); }
.ps-ck:has(input:checked) { border-color: var(--gold); color: #FFF4E0; background: rgba(244,207,149,.1); }
.ps-ck input { accent-color: var(--gold-2); margin: 0; }
.ps-acts { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.ps-acts .sp { flex: 1; }
.ps-sum { font-size: 13px; color: var(--mute); }
.ps-list { margin-top: 12px; max-height: 420px; overflow-y: auto; }
.ps-tbl input:disabled { opacity: .35; }
.ps-reach { font-size: 12.5px; white-space: nowrap; }
.ps-reach.ok { color: var(--ok); }
.ps-reach.no { color: var(--bad); }
.ps-reach.unk { color: var(--mute); }
.ps-fields { margin-top: 4px; }
.ps-f { margin-top: 12px; }
.ps-f .lbl, .panel > .lbl { display: block; margin-bottom: 6px; font-size: 13px; color: var(--mute); }
.ps-f .cnt.over { color: var(--bad); }
.ps-var { margin: 2px 4px; padding: 1px 8px; border-radius: 8px; font-size: 12.5px; color: var(--gold); border: 1px solid rgba(244,207,149,.4); background: rgba(244,207,149,.06); cursor: pointer; }
.ps-sample { margin-top: 14px; }
.ps-card { max-width: 360px; padding: 14px 16px; border-radius: 12px; color: #1d1d1f; background: #fff; font-size: 14px; line-height: 1.7; }
.ps-card b { display: block; margin-bottom: 6px; font-size: 15px; }
.ps-card span { display: inline-block; min-width: 5.5em; color: #8a8a8e; }
.ps-bad { color: var(--bad); font-size: 13px; line-height: 1.7; }
.ps-job { border-top: 1px solid rgba(255,255,255,.08); }
.ps-job:first-child { border-top: 0; }
.ps-job summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 12px 2px; cursor: pointer; list-style: none; font-size: 13.5px; }
.ps-job summary::-webkit-details-marker { display: none; }
.ps-jt { font-weight: 700; }
.ps-js { font-size: 12px; padding: 1px 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); color: var(--mute); }
.ps-js.running { color: var(--gold); border-color: rgba(244,207,149,.5); }
.ps-js.done { color: var(--ok); border-color: rgba(142,221,170,.45); }
.ps-js.interrupted { color: var(--bad); border-color: rgba(255,143,134,.45); }
.ps-jn { color: var(--sub, var(--mute)); }
.ps-jm { margin-left: auto; color: var(--mute); font-size: 12.5px; }
.ps-jd { padding: 0 2px 14px; font-size: 13px; }
.ps-jd > p { margin-bottom: 10px; word-break: break-all; }
.ps-jd .tbl tbody tr { cursor: default; }

/* ---------- 报名后引导进群 ---------- */
.groups-lead { margin-top: 6px; font-size: 13.5px; color: var(--sub, var(--mute)); line-height: 1.7; }
.groups-list { margin-top: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .groups-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.group-qr { margin: 0; padding: 14px 12px; border-radius: 16px; text-align: center; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.group-qr img { display: block; width: 100%; max-width: 168px; height: auto; aspect-ratio: 1; margin: 0 auto; padding: 8px; border-radius: 10px; background: #fff; }
.group-qr figcaption { margin-top: 10px; display: grid; gap: 4px; }
.group-qr b { font-size: 14.5px; }
.group-qr span { font-size: 12.5px; color: var(--mute); line-height: 1.6; }
@media (max-width: 640px) {
  .groups-list { grid-template-columns: 1fr; }
  .group-qr { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: center; text-align: left; }
  .group-qr img { max-width: 112px; margin: 0; padding: 6px; }
  .group-qr figcaption { margin-top: 0; }
}
