:root {
  --navy: #1d2a57;
  --navy-2: #2c3d7a;
  --pink: #f39ab8;
  --pink-soft: #fde8ef;
  --gold: #d4a54a;
  --ink: #1e2233;
  --muted: #6b7088;
  --line: #e7e8f0;
  --bg: #ffffff;
  --bg-alt: #f7f8fc;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(29, 42, 87, .08);
  /* 职业色 */
  --c-war: #C69B6D; --c-pal: #F48CBA; --c-hun: #AAD372; --c-rog: #FFF468;
  --c-pri: #c9c9c9; --c-dk: #C41E3A;  --c-sha: #0070DD; --c-mag: #3FC7EB;
  --c-loc: #8788EE; --c-mon: #00FF98; --c-dru: #FF7C0A; --c-dh: #A330C9; --c-evo: #33937F;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 15px;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: var(--ink); }
.hidden { display: none !important; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

/* ===== Nav ===== */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: .3s; }
.nav.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { max-width: 1180px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: var(--gold); font-size: 20px; font-weight: 700; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 16px; color: var(--navy); }
.brand-text small { font-size: 10px; letter-spacing: 2px; color: var(--muted); }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--navy); transition: .2s; }
.nav-links a:hover { background: var(--pink-soft); }
.nav-links .nav-admin { border: 1px solid var(--navy); margin-left: 8px; }
.nav-toggle { display: none; font-size: 22px; color: var(--navy); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(ellipse at 80% 20%, #ffe3ec 0%, transparent 55%),
              radial-gradient(ellipse at 10% 90%, #e3e9ff 0%, transparent 55%), #fff; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.petal { position: absolute; width: 14px; height: 14px; background: var(--pink); opacity: .55;
  border-radius: 14px 0 14px 0; animation: fall 14s linear infinite; top: -20px; }
.p1 { left: 8%;  animation-delay: 0s; }  .p2 { left: 25%; animation-delay: 3s; width: 10px; height: 10px; }
.p3 { left: 48%; animation-delay: 6s; }  .p4 { left: 66%; animation-delay: 1.5s; width: 18px; height: 18px; }
.p5 { left: 82%; animation-delay: 8s; }  .p6 { left: 93%; animation-delay: 4.5s; width: 9px; height: 9px; }
@keyframes fall {
  0% { transform: translate(0,0) rotate(0); opacity: 0; }
  10% { opacity: .6; }
  100% { transform: translate(-120px, 110vh) rotate(540deg); opacity: 0; }
}
.note { position: absolute; color: var(--navy); opacity: .08; font-size: 120px; font-weight: 700; }
.n1 { right: 6%; top: 14%; } .n2 { left: 4%; bottom: 8%; font-size: 160px; } .n3 { right: 40%; bottom: 4%; font-size: 90px; }

.hero-inner { position: relative; max-width: 1180px; margin: 0 auto; padding: 120px 24px 80px; width: 100%;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--pink-soft);
  color: #c2537a; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1.05; color: var(--navy); letter-spacing: 2px; }
.slogan { margin: 20px 0 32px; font-size: 18px; color: var(--muted); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 26px; border-radius: 999px; font-weight: 600; transition: .2s; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-danger { background: #fff0f0; color: #c0392b; }
.btn-light { background: var(--bg-alt); color: var(--navy); border: 1px solid var(--line); }

.countdown { margin-top: 36px; display: inline-flex; flex-direction: column; padding: 14px 20px;
  border-left: 3px solid var(--gold); background: rgba(255,255,255,.7); border-radius: 0 12px 12px 0; }
.cd-label { font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.cd-time { font-size: 24px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }

.hero-card { background: #fff; border-radius: 24px; padding: 32px; box-shadow: 0 24px 60px rgba(29,42,87,.12);
  border: 1px solid var(--line); position: relative; }
.hero-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, var(--pink), var(--gold), var(--navy)); }
.tier-label { font-size: 12px; letter-spacing: 2px; color: var(--muted); }
.tier-name { font-size: 18px; font-weight: 700; color: var(--navy); margin-top: 4px; }
.tier-big { font-size: 64px; font-weight: 800; color: var(--navy); line-height: 1.1; margin: 10px 0; }
.tier-big small { font-size: 20px; color: var(--gold); margin-left: 6px; }
.tier-bar { height: 8px; background: var(--bg-alt); border-radius: 8px; overflow: hidden; }
.tier-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--gold)); border-radius: 8px; transition: width 1s; }
.tier-rank { font-size: 12.5px; color: var(--muted); margin-top: 10px; letter-spacing: .2px; }
.tier-rank:empty { display: none; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 26px; border-top: 1px dashed var(--line); padding-top: 18px; }.hero-stats div { text-align: center; }
.hero-stats b { display: block; font-size: 24px; color: var(--navy); }
.hero-stats span { font-size: 12px; color: var(--muted); }

/* ===== Section ===== */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-kicker { font-size: 12px; letter-spacing: 4px; color: var(--gold); font-weight: 700; }
.sec-kicker.light { color: var(--gold); }
.sec-head h2 { font-size: 34px; color: var(--navy); margin: 6px 0 8px; }
.sec-head p { color: var(--muted); }

/* About */
.about-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.about-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: .25s; }
.about-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--pink); }
.about-card .ic { font-size: 30px; margin-bottom: 10px; }
.about-card h3 { color: var(--navy); font-size: 17px; margin-bottom: 6px; }
.about-card p { font-size: 14px; color: var(--muted); }
.facts { margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy); border-radius: var(--radius); overflow: hidden; }
.fact { padding: 24px; color: #fff; border-right: 1px solid rgba(255,255,255,.1); }
.fact:last-child { border-right: none; }
.fact span { font-size: 12px; color: var(--gold); letter-spacing: 1px; }
.fact b { display: block; font-size: 18px; margin: 4px 0 2px; }
.fact small { font-size: 12px; color: rgba(255,255,255,.65); }

/* Progress */
.tier-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.tier-tabs button { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 14px; }
.tier-tabs button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.boss-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.boss { background: #fff; border-radius: 14px; padding: 16px 18px; border: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.boss-idx { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; background: var(--bg-alt); color: var(--muted); flex-shrink: 0; }
.boss.killed .boss-idx { background: var(--navy); color: var(--gold); }
.boss-info { flex: 1; min-width: 0; }
.boss-info b { display: block; color: var(--navy); font-size: 15px; line-height: 1.35; }
.boss-info small { color: var(--muted); font-size: 12px; white-space: nowrap; }
.diff { display: flex; gap: 4px; }
.diff i { font-style: normal; font-size: 11px; font-weight: 700; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: var(--bg-alt); color: #b9bccb; }
.diff i.ok.n { background: #e6f6ea; color: #2e8b57; }
.diff i.ok.h { background: #e7efff; color: #2c5bd6; }
.diff i.ok.m { background: #fff1d9; color: #b7791f; }

/* Roster */
.roster-tools { display: flex; gap: 14px; justify-content: space-between; flex-wrap: wrap; margin-bottom: 18px; }
.seg { display: flex; background: var(--bg-alt); border-radius: 999px; padding: 4px; }
.seg button { padding: 7px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); }
.seg button.on { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(0,0,0,.06); font-weight: 600; }
#rosterSearch { flex: 1; max-width: 340px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); outline: none; }
#rosterSearch:focus { border-color: var(--pink); }
.role-summary { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.role-summary span { font-size: 13px; padding: 4px 12px; border-radius: 999px; background: var(--pink-soft); color: #b14a70; }
.roster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: relative; overflow: hidden; transition: .25s; }
.member:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.member::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--cls); }
.m-top { display: flex; align-items: center; gap: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 18px;
  color: #fff; background: var(--cls); text-shadow: 0 1px 2px rgba(0,0,0,.35); flex-shrink: 0; }
.m-name b { font-size: 16px; color: var(--ink); }
.m-name small { display: block; font-size: 12px; color: var(--muted); }
.rank { position: absolute; right: 14px; top: 14px; font-size: 11px; padding: 2px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--navy); font-weight: 600; }
.rank.gm { background: var(--navy); color: var(--gold); }
.rank.officer { background: #fff1d9; color: #a8741a; }
.m-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.tag { font-size: 12px; padding: 2px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); }
.tag.anime { background: var(--pink-soft); color: #b14a70; }
.m-quote { margin-top: 10px; font-size: 13px; color: var(--muted); font-style: italic;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-att { margin-top: 12px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.m-att .bar { flex: 1; height: 5px; background: var(--bg-alt); border-radius: 5px; overflow: hidden; }
.m-att .bar i { display: block; height: 100%; background: var(--navy); }
.empty { text-align: center; color: var(--muted); padding: 40px; grid-column: 1 / -1; }

/* Schedule */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.day { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 12px; text-align: center; min-height: 150px; }
.day h4 { font-size: 14px; color: var(--muted); }
.day .date { font-size: 12px; color: #b0b3c4; }
.day.raid { border-color: var(--navy); background: linear-gradient(180deg, #fff, #f1f4ff); }
.day.raid h4 { color: var(--navy); }
.day.today { outline: 2px solid var(--pink); outline-offset: 2px; }
.day .ev { margin-top: 14px; font-size: 13px; background: var(--navy); color: #fff; border-radius: 10px; padding: 8px 6px; }
.day .ev small { display: block; color: var(--gold); font-size: 12px; }
.day .rest { margin-top: 22px; font-size: 12px; color: #b0b3c4; }
.day .lv { margin-top: 8px; font-size: 11px; color: #c2537a; }
.leave-box { margin-top: 28px; background: #fff; border: 1px dashed var(--pink); border-radius: var(--radius); padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.leave-box h3 { color: var(--navy); }
.leave-box p { color: var(--muted); font-size: 14px; }

/* News */
.news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.news { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.news .date { font-size: 12px; color: var(--gold); font-weight: 700; letter-spacing: 1px; }
.news h3 { color: var(--navy); font-size: 17px; margin: 6px 0; }
.news p { color: var(--muted); font-size: 14px; }
.news .pin { font-size: 11px; background: var(--pink-soft); color: #b14a70; padding: 1px 8px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }

/* Join */
.join { background: linear-gradient(135deg, var(--navy) 0%, #34296b 100%); color: #fff; position: relative; overflow: hidden; }
.join::after { content: "♫"; position: absolute; right: -20px; bottom: -80px; font-size: 360px; color: rgba(255,255,255,.04); }
.join-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; position: relative; z-index: 1; }
.join h2 { font-size: 32px; margin: 8px 0 14px; }
.join-copy p { color: rgba(255,255,255,.75); }
.req { list-style: none; margin: 22px 0 28px; }
.req li { padding: 8px 0 8px 28px; position: relative; color: rgba(255,255,255,.9); }
.req li::before { content: "♪"; position: absolute; left: 4px; color: var(--pink); }
.join-needs { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 24px; }
.join-needs h3 { margin-bottom: 14px; }
.need { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.need:last-child { border: none; }
.need .cls { display: flex; align-items: center; gap: 10px; }
.need .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cls); }
.lvl { font-size: 12px; padding: 2px 10px; border-radius: 999px; }
.lvl.high { background: var(--pink); color: #fff; }
.lvl.mid { background: rgba(212,165,74,.25); color: #f3d08a; }
.lvl.low { background: rgba(255,255,255,.12); color: rgba(255,255,255,.7); }

/* Admin */
.admin-login { display: flex; gap: 10px; justify-content: center; }
.admin-login input { padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); width: 280px; outline: none; }
.admin-panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 12px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.admin-tabs button { padding: 8px 14px; border-radius: 10px; font-size: 14px; color: var(--muted); }
.admin-tabs button.on { background: #fff; color: var(--navy); font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.admin-tabs em { font-style: normal; font-size: 11px; background: var(--pink); color: #fff; border-radius: 999px; padding: 0 6px; margin-left: 2px; }
.admin-tabs em:empty { display: none; }
.admin-tabs .logout { margin-left: auto; color: #c0392b; }
.admin-body { padding: 24px; overflow-x: auto; }
.admin-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.admin-bar h4 { color: var(--navy); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; padding: 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:hover td { background: #fafbff; }
.tbl .cls-name { font-weight: 600; }
.tbl .ops { white-space: nowrap; display: flex; gap: 6px; }
.status { font-size: 12px; padding: 2px 10px; border-radius: 999px; }
.status.pending { background: #fff7e0; color: #a8741a; }
.status.ok { background: #e6f6ea; color: #2e8b57; }
.status.no { background: #fff0f0; color: #c0392b; }
.att-btns { display: flex; gap: 4px; }
.att-btns button { padding: 4px 10px; border-radius: 8px; font-size: 12px; background: var(--bg-alt); color: var(--muted); }
.att-btns button.on[data-v="出勤"] { background: #2e8b57; color: #fff; }
.att-btns button.on[data-v="请假"] { background: var(--gold); color: #fff; }
.att-btns button.on[data-v="缺席"] { background: #c0392b; color: #fff; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card-box { border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.card-box h4 { color: var(--navy); margin-bottom: 12px; }

/* Form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.form label.full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; outline: none; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--navy); }
.form textarea { min-height: 80px; resize: vertical; }
.form-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }

/* Modal & toast */
.modal { position: fixed; inset: 0; background: rgba(20,24,48,.45); z-index: 100; display: grid; place-items: center; padding: 20px; backdrop-filter: blur(3px); }
.modal-card { background: #fff; border-radius: 20px; padding: 28px; width: 100%; max-width: 560px; max-height: 90vh; overflow: auto; position: relative; }
.modal-card h3 { color: var(--navy); margin-bottom: 16px; }
.modal-x { position: absolute; right: 16px; top: 12px; font-size: 24px; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px); background: var(--navy); color: #fff; padding: 10px 22px; border-radius: 999px; opacity: 0; transition: .3s; z-index: 200; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Footer */
.footer { padding: 32px 0; text-align: center; border-top: 1px solid var(--line); font-size: 14px; color: var(--navy); }
.footer .muted { font-size: 12px; margin-top: 4px; }

/* ===== 新增：链接按钮 / 复制 / QQ ===== */
.btn-link { color: var(--navy); padding: 12px 8px; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.btn-link:hover { color: #c2537a; }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.14); }
.copy-btn { background: none; border: none; color: rgba(255,255,255,.6); font-size: 12px; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.copy-btn:hover { color: var(--gold); }
.qq-fact b { letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.join-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.join-cta b { letter-spacing: 1px; margin-left: 2px; }

/* ===== 相册 ===== */
.album-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.album-count { font-size: 13px; color: var(--muted); }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.media { position: relative; border-radius: 14px; overflow: hidden; background: #e9ebf3; aspect-ratio: 4 / 3; cursor: pointer; border: 1px solid var(--line); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.media:hover img, .media:hover video { transform: scale(1.05); }
.media .badge { position: absolute; right: 10px; top: 10px; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(20,24,48,.65); color: #fff; display: grid; place-items: center; font-size: 12px; backdrop-filter: blur(4px); }
.media .cap { position: absolute; inset: auto 0 0 0; padding: 22px 12px 10px; color: #fff; font-size: 13px;
  background: linear-gradient(transparent, rgba(15,20,40,.8)); display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.media .cap small { opacity: .75; font-size: 11px; white-space: nowrap; }
.media .cap span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.album-upload-hint { margin-top: 22px; text-align: center; font-size: 13px; color: var(--muted); display: flex; gap: 12px; justify-content: center; align-items: center; }
.album-empty { grid-column: 1 / -1; text-align: center; padding: 50px 20px; color: var(--muted);
  border: 1px dashed var(--line); border-radius: var(--radius); background: #fff; }

/* 上传区 */
.upload-zone { border: 2px dashed var(--line); border-radius: 16px; padding: 30px; text-align: center; transition: .2s; background: #fff; }
.upload-zone.drag { border-color: var(--pink); background: var(--pink-soft); }
.upload-zone .big { font-size: 34px; margin-bottom: 8px; }
.upload-zone p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.upload-list { display: grid; gap: 8px; margin-top: 14px; }
.up-item { display: flex; align-items: center; gap: 10px; font-size: 13px; background: var(--bg-alt); border-radius: 10px; padding: 8px 12px; }
.up-item .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-item .pg { width: 90px; height: 5px; background: #dfe2ee; border-radius: 5px; overflow: hidden; }
.up-item .pg i { display: block; height: 100%; background: var(--navy); width: 0; }
.progress-line { height: 6px; background: #dfe2ee; border-radius: 6px; overflow: hidden; margin-top: 12px; }
.progress-line i { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--gold)); width: 0; transition: width .2s; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(10,13,28,.94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; }
.lb-stage { max-width: 92vw; max-height: 78vh; display: flex; align-items: center; justify-content: center; }
.lb-stage img, .lb-stage video { max-width: 92vw; max-height: 78vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-cap { color: #fff; margin-top: 18px; font-size: 14px; text-align: center; opacity: .9; }
.lb-close { position: absolute; top: 18px; right: 24px; font-size: 34px; color: rgba(255,255,255,.7); line-height: 1; }
.lb-close:hover { color: #fff; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 44px; color: rgba(255,255,255,.45); padding: 10px 18px; line-height: 1; }
.lb-nav:hover { color: #fff; }
.lb-nav.prev { left: 10px; } .lb-nav.next { right: 10px; }
.lb-nav:disabled { opacity: .15; }

/* 相册管理 */
.album-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 18px; }
.aa-item { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #eee; aspect-ratio: 4/3; }
.aa-item img, .aa-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.aa-item .del { position: absolute; right: 6px; top: 6px; width: 26px; height: 26px; border-radius: 50%; background: rgba(192,57,43,.9); color: #fff; font-size: 14px; display: grid; place-items: center; }
.aa-item .meta { position: absolute; inset: auto 0 0 0; background: rgba(15,20,40,.75); color: #fff; font-size: 11px; padding: 4px 8px; display: flex; justify-content: space-between; gap: 6px; }
.aa-item select { position: absolute; left: 6px; top: 6px; font-size: 11px; border-radius: 6px; padding: 1px 4px; border: none; background: rgba(255,255,255,.9); }

/* Responsive */
@media (max-width: 1120px) {
  .nav-links a { padding: 8px 10px; font-size: 13.5px; }
}
@media (max-width: 960px) {
  .hero-inner, .join-inner { grid-template-columns: 1fr; }
  .about-grid, .facts { grid-template-columns: 1fr 1fr; }
  .week { grid-template-columns: repeat(4, 1fr); }
  .settings-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 12px; right: 12px; flex-direction: column; background: #fff; padding: 10px; border-radius: 14px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links .nav-admin { margin-left: 0; }
  .nav-toggle { display: block; }
  .about-grid, .facts { grid-template-columns: 1fr; }
  .week { grid-template-columns: repeat(2, 1fr); }
  .leave-box { flex-direction: column; align-items: flex-start; }
  .form { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}
