:root {
  --bg:#090b16; --panel:#131728; --panel-2:#181d32; --line:#262d46;
  --text:#f4f5fb; --muted:#9299b2; --pink:#ff5c93; --purple:#9b6cff;
  --blue:#5b9cff; --green:#32d49a; --danger:#ff6b75; --radius:18px;
}
* { box-sizing:border-box; }
html { color-scheme:dark; }
body {
  margin:0; min-height:100vh; color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  background:
    radial-gradient(circle at 12% 0%,rgba(155,108,255,.14),transparent 32rem),
    radial-gradient(circle at 90% 18%,rgba(255,92,147,.10),transparent 28rem),var(--bg);
}
a { color:inherit; text-decoration:none; }
button,input,textarea,select { font:inherit; }
.topbar {
  height:68px; display:flex; align-items:center; justify-content:space-between;
  max-width:1120px; margin:auto; padding:0 24px;
}
.brand { font-size:18px; font-weight:850; letter-spacing:-.4px; }
.brand span { color:var(--pink); }
.nav { display:flex; gap:10px; align-items:center; }
.nav a { padding:9px 13px; color:var(--muted); border-radius:10px; font-size:14px; }
.nav a:hover,.nav a.active { color:#fff; background:rgba(255,255,255,.06); }
.nav a.admin-entry { display:flex; align-items:center; gap:7px; color:#e7ddff; border:1px solid rgba(155,108,255,.25); background:linear-gradient(135deg,rgba(155,108,255,.14),rgba(255,92,147,.07)); }
.nav a.admin-entry span { color:#bda8ff; font-size:10px; }
.nav a.admin-entry:hover,.nav a.admin-entry.active { border-color:rgba(155,108,255,.5); background:linear-gradient(135deg,rgba(155,108,255,.25),rgba(255,92,147,.12)); box-shadow:0 8px 24px rgba(99,70,170,.15); }
.account-menu { display:flex; align-items:center; gap:8px; margin-left:3px; padding-left:12px; border-left:1px solid var(--line); }
.account-settings { display:flex; align-items:center; gap:8px; min-width:0; padding:5px 8px 5px 5px; border:1px solid transparent; border-radius:11px; color:inherit; background:transparent; cursor:pointer; text-align:left; }
.account-settings:hover,.account-settings:focus-visible { border-color:#343c57; background:#171b2d; outline:none; }
.account-avatar { width:28px; height:28px; flex:none; display:grid; place-items:center; border:1px solid #3b435f; border-radius:9px; color:#e5e8f4; background:#22283d; font-size:12px; font-weight:800; }
.account-settings-copy { min-width:0; display:flex; flex-direction:column; gap:1px; }
.account-name { max-width:100px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#dfe3f3; font-size:12px; line-height:1.2; }
.account-settings-copy small { color:#7f879f; font-size:9px; line-height:1.2; }
.account-logout { border:0; background:transparent; color:var(--muted); cursor:pointer; padding:7px 4px; font-size:12px; }
.account-logout:hover { color:var(--pink); }
.container { width:min(1060px,calc(100% - 32px)); margin:28px auto 70px; }
.hero { text-align:center; padding:56px 18px 38px; }
.eyebrow { color:var(--pink); font-size:13px; font-weight:800; letter-spacing:2px; text-transform:uppercase; }
h1 { margin:12px 0; font-size:clamp(34px,6vw,58px); line-height:1.08; letter-spacing:-2px; }
.gradient-text { background:linear-gradient(110deg,var(--pink),var(--purple),var(--blue)); -webkit-background-clip:text; color:transparent; }
.lead { color:var(--muted); font-size:17px; line-height:1.7; margin:0 auto; max-width:680px; }
.card { background:rgba(19,23,40,.9); border:1px solid var(--line); border-radius:var(--radius); padding:24px; box-shadow:0 22px 60px rgba(0,0,0,.22); }
.card + .card { margin-top:18px; }
.card-head { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:18px; }
.card-head h2,.card h2 { margin:0; font-size:19px; }
.muted { color:var(--muted); }
.small { font-size:13px; }
.topic-form { display:flex; gap:12px; max-width:780px; margin:28px auto 0; }
.input,.textarea {
  width:100%; color:var(--text); background:#0e1120; border:1px solid var(--line);
  border-radius:13px; padding:14px 16px; outline:none; transition:.2s;
}
.input:focus,.textarea:focus { border-color:var(--purple); box-shadow:0 0 0 3px rgba(155,108,255,.12); }
.textarea { resize:vertical; line-height:1.7; }
.btn {
  border:0; border-radius:12px; padding:12px 18px; cursor:pointer; color:#fff;
  font-weight:780; background:linear-gradient(120deg,var(--pink),var(--purple));
  box-shadow:0 8px 24px rgba(155,108,255,.18); transition:.18s; white-space:nowrap;
}
.btn:hover { transform:translateY(-1px); filter:brightness(1.06); }
.btn:disabled { opacity:.45; cursor:not-allowed; transform:none; }
.btn.secondary { color:#dce0ef; background:#20263b; box-shadow:none; border:1px solid #303852; }
.btn.ghost { color:var(--muted); background:transparent; box-shadow:none; border:1px solid var(--line); }
.btn.danger { color:#ffabb1; background:rgba(255,107,117,.08); border:1px solid rgba(255,107,117,.25); box-shadow:none; }
.btn.has-arrow { display:inline-flex; align-items:center; justify-content:center; gap:10px; }
.btn-arrow {
  width:18px; height:18px; position:relative; display:inline-block; flex:none;
  color:currentColor; transition:transform .2s cubic-bezier(.2,.75,.25,1);
}
.btn-arrow::before {
  content:""; position:absolute; left:3px; top:8px; width:11px; height:1.5px;
  border-radius:99px; background:currentColor;
}
.btn-arrow::after {
  content:""; position:absolute; right:3px; top:5px; width:6px; height:6px;
  border-top:1.5px solid currentColor; border-right:1.5px solid currentColor;
  border-radius:1px; transform:rotate(45deg);
}
.btn.has-arrow:hover .btn-arrow,.auth-submit:hover .btn-arrow { transform:translateX(2px); }
.btn-row { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.field label { display:block; color:#b6bdd2; font-size:13px; font-weight:720; margin-bottom:8px; }
.select-shell { position:relative; min-width:0; }
.select-shell::after { content:"⌄"; position:absolute; right:14px; top:50%; transform:translateY(-57%); color:#939bb3; pointer-events:none; font-size:18px; }
.select-shell select {
  appearance:none; -webkit-appearance:none; width:100%; padding:13px 42px 13px 14px;
  color:var(--text); background:linear-gradient(180deg,#1a2034,#13182a); border:1px solid #333c59;
  border-radius:13px; outline:none; cursor:pointer; transition:.2s;
  font-family:"Microsoft YaHei UI","PingFang SC","Noto Sans CJK SC","Source Han Sans SC",sans-serif;
  font-size:14px; font-weight:400; line-height:1.5; letter-spacing:0;
}
.select-shell select:hover,.select-shell select:focus { border-color:#626b86; box-shadow:0 0 0 3px rgba(129,140,172,.1); }
.select-shell select option {
  color:#343a4b;
  background:#f4f5f7;
  font-weight:400;
  padding:10px 12px;
}
.select-shell select option:checked {
  color:#171c29;
  background:#e1e4ea;
}
.select-shell.enhanced-select::after { content:none; }
.enhanced-select > select {
  position:absolute !important; width:1px !important; height:1px !important; inset:auto auto 0 0;
  padding:0 !important; margin:0; opacity:0; pointer-events:none; overflow:hidden; border:0 !important;
}
.select-trigger {
  width:100%; min-height:47px; padding:11px 52px 11px 14px; position:relative;
  display:flex; align-items:center; border:1px solid #333b54; border-radius:12px;
  color:#d9deeb; background:#151a2b; outline:none; cursor:pointer; text-align:left;
  font-family:"Microsoft YaHei UI","PingFang SC","Noto Sans CJK SC","Source Han Sans SC",sans-serif;
  font-size:14px; font-weight:400; line-height:1.5; letter-spacing:0;
  box-shadow:0 1px 0 rgba(255,255,255,.025) inset; transition:border-color .18s,background .18s,box-shadow .18s;
}
.select-trigger::before {
  content:""; position:absolute; right:10px; top:50%; width:27px; height:27px;
  border:1px solid rgba(151,160,184,.12); border-radius:8px; background:rgba(255,255,255,.025);
  transform:translateY(-50%); transition:border-color .18s,background .18s;
}
.select-trigger::after {
  content:""; position:absolute; right:20px; top:50%; width:6px; height:6px;
  border-right:1.5px solid #929aaf; border-bottom:1.5px solid #929aaf; border-radius:1px;
  transform:translateY(-68%) rotate(45deg); transition:transform .2s,border-color .18s;
}
.select-trigger:hover { color:#eef0f7; border-color:#46506a; background:#181e31; }
.select-trigger:hover::before { border-color:rgba(169,178,201,.2); background:rgba(255,255,255,.045); }
.select-trigger:focus-visible { border-color:#69738e; box-shadow:0 0 0 3px rgba(126,137,170,.12); }
.enhanced-select.is-open .select-trigger { border-color:#69738e; background:#181e31; box-shadow:0 0 0 3px rgba(126,137,170,.1); }
.enhanced-select.is-open .select-trigger::before { border-color:rgba(183,191,212,.22); background:rgba(255,255,255,.055); }
.enhanced-select.is-open .select-trigger::after { border-color:#c9cedc; transform:translateY(-28%) rotate(225deg); }
.select-menu {
  position:fixed; z-index:3000; display:none; max-height:280px; overflow-y:auto; padding:6px;
  border:1px solid #353d55; border-radius:12px; background:#171c2c;
  box-shadow:0 18px 46px rgba(0,0,0,.42),0 1px 0 rgba(255,255,255,.035) inset;
  scrollbar-width:thin; scrollbar-color:#485069 transparent;
}
.select-menu.is-open { display:block; }
.select-choice {
  width:100%; min-height:40px; padding:9px 34px 9px 11px; position:relative; display:flex; align-items:center;
  border:0; border-radius:8px; color:#b9c0d1; background:transparent; cursor:pointer; text-align:left;
  font-family:"Microsoft YaHei UI","PingFang SC","Noto Sans CJK SC","Source Han Sans SC",sans-serif;
  font-size:13px; font-weight:400; line-height:1.5; letter-spacing:0;
}
.select-choice:hover,.select-choice:focus-visible { color:#e8ebf3; background:#202638; outline:none; }
.select-choice.is-selected { color:#f0f2f7; background:#262c3e; font-weight:400; }
.select-choice.is-selected::after {
  content:"✓"; position:absolute; right:12px; top:50%; transform:translateY(-50%);
  color:#aeb6c9; font-size:11px; font-weight:400;
}
.select-choice:disabled { opacity:.42; cursor:not-allowed; }
.select-shell--mini { display:inline-block; min-width:104px; }
.select-shell--mini .select-trigger { min-height:36px; padding:7px 38px 7px 10px; border-radius:9px; font-size:12px; }
.select-shell--mini .select-trigger::before { right:7px; width:23px; height:23px; border-radius:7px; }
.select-shell--mini .select-trigger::after { right:15px; width:5px; height:5px; }
.headline-option { padding:19px; border:1px solid var(--line); border-radius:15px; background:#101422; cursor:pointer; transition:.2s; }
.headline-option:hover { border-color:#555f81; transform:translateY(-2px); }
.headline-option.selected { border-color:var(--purple); background:rgba(155,108,255,.09); box-shadow:0 0 0 3px rgba(155,108,255,.08); }
.headline-option small { color:var(--purple); font-weight:800; }
.headline-option p { margin:9px 0 0; line-height:1.55; }
.quality-levels { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.quality-option { position:relative; min-width:0; padding:17px; border:1px solid #303850; border-radius:14px; background:#101422; cursor:pointer; transition:.18s; }
.quality-option:hover { border-color:#4b5572; transform:translateY(-1px); }
.quality-option.selected { border-color:#68728f; background:#1a2033; box-shadow:0 0 0 3px rgba(125,137,171,.08); }
.quality-option.selected::after { content:"✓"; position:absolute; right:13px; bottom:12px; width:19px; height:19px; display:grid; place-items:center; border-radius:50%; color:#0c1a15; background:var(--green); font-size:10px; font-weight:900; }
.quality-option input { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.quality-option:has(input:focus-visible) { outline:2px solid #7e89aa; outline-offset:2px; }
.quality-option-top { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-right:22px; }
.quality-option-top strong { font-size:15px; }
.quality-option-top b { color:#e5e8f2; font-size:18px; letter-spacing:-.5px; }
.quality-option-copy { display:block; margin-top:9px; color:#9aa2b8; font-size:12px; line-height:1.5; }
.quality-option small { display:inline-block; margin-top:11px; padding:4px 7px; border-radius:6px; color:#8992aa; background:#20263a; font-size:9px; font-weight:800; }
.quality-option.selected small { color:#cfd5e5; background:#293047; }
.announcement-board { margin-bottom:18px; overflow:hidden; border:1px solid var(--line); border-radius:18px; background:rgba(19,23,40,.9); box-shadow:0 18px 50px rgba(0,0,0,.16); }
.announcement-board-head { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 21px; border-bottom:1px solid var(--line); }
.announcement-heading { display:flex; align-items:center; gap:12px; }
.announcement-heading h2 { margin:0 0 3px; font-size:16px; }
.announcement-heading p { margin:0; color:var(--muted); font-size:11px; }
.announcement-symbol { width:35px; height:35px; flex:none; display:grid; place-items:center; border:1px solid #3a4260; border-radius:11px; color:#d6c9f7; background:#222840; font-size:12px; font-weight:850; }
.announcement-count { padding:5px 9px; border-radius:999px; color:#9da5bc; background:#191e31; font-size:10px; }
.announcement-list { padding:7px 12px 12px; }
.announcement-item { border-bottom:1px solid rgba(255,255,255,.05); }
.announcement-item:last-child { border-bottom:0; }
.announcement-item summary { min-height:57px; padding:10px 8px; display:grid; grid-template-columns:28px minmax(0,1fr) auto 20px; align-items:center; gap:10px; list-style:none; cursor:pointer; border-radius:10px; }
.announcement-item summary::-webkit-details-marker { display:none; }
.announcement-item summary:hover { background:rgba(255,255,255,.025); }
.announcement-type-icon { width:25px; height:25px; display:grid; place-items:center; border-radius:8px; color:#b9a8e9; background:#242a41; font-size:11px; font-weight:850; }
.announcement-item.notice .announcement-type-icon { color:#8eb9ef; background:rgba(91,156,255,.1); }
.announcement-item.important .announcement-type-icon { color:#ffacb2; background:rgba(255,107,117,.1); }
.announcement-summary-main { min-width:0; display:flex; align-items:baseline; gap:10px; }
.announcement-summary-main strong { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; }
.announcement-summary-main small { flex:none; color:#717991; font-size:10px; }
.announcement-item time { color:#737b92; font-size:10px; white-space:nowrap; }
.announcement-chevron {
  width:24px; height:24px; position:relative; display:block; border:1px solid transparent;
  border-radius:8px; color:#8991a7; transition:transform .2s,border-color .2s,background .2s;
}
.announcement-chevron::after {
  content:""; position:absolute; left:8px; top:7px; width:6px; height:6px;
  border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor;
  border-radius:1px; transform:rotate(45deg);
}
.announcement-item summary:hover .announcement-chevron { color:#b5bdcf; border-color:#333b54; background:#1b2032; }
.announcement-item[open] .announcement-chevron { transform:rotate(180deg); }
.announcement-content { margin:0 8px 12px 46px; padding:12px 14px; border-left:2px solid #514672; border-radius:0 9px 9px 0; color:#b9c0d2; background:#101422; white-space:pre-wrap; font-size:12px; line-height:1.75; }
.history-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.work-card { display:flex; align-items:center; gap:14px; padding:16px; background:#101422; border:1px solid var(--line); border-radius:14px; transition:.2s; }
.work-card:hover { border-color:#4b5577; transform:translateY(-1px); }
.work-icon { width:42px; height:42px; border-radius:12px; display:grid; place-items:center; background:rgba(155,108,255,.12); flex:none; }
.work-info { min-width:0; flex:1; }
.work-title { font-weight:780; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.work-meta { color:var(--muted); font-size:12px; margin-top:5px; }
.status { font-size:11px; border-radius:999px; padding:5px 9px; background:rgba(50,212,154,.1); color:var(--green); }
.status.draft { color:#ffc36a; background:rgba(255,195,106,.09); }
.progress { height:8px; border-radius:9px; overflow:hidden; background:#0d1020; margin:16px 0; }
.progress > div { height:100%; width:0; background:linear-gradient(90deg,var(--pink),var(--purple),var(--blue)); transition:.35s; }
.log { max-height:230px; overflow:auto; background:#0c0f1b; border:1px solid var(--line); padding:14px; border-radius:12px; color:#aab1c7; font:12px/1.7 Consolas,monospace; }
.log div + div { margin-top:4px; }
.poster-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.poster-grid img { width:100%; display:block; border-radius:15px; border:1px solid var(--line); }
.work-layout { display:grid; grid-template-columns:minmax(300px,.9fr) minmax(420px,1.25fr); gap:18px; align-items:start; margin-top:18px; }
.work-panel { height:min(88vh,960px); min-height:860px; display:flex; flex-direction:column; overflow:hidden; }
.poster-stage { flex:1; min-height:0; overflow:auto; padding-right:3px; }
.poster-cover { background:#0b0e19; border:1px solid var(--line); border-radius:16px; overflow:hidden; }
.poster-cover img { display:block; width:100%; aspect-ratio:1/1; object-fit:cover; }
.poster-thumbs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:12px; }
.poster-thumb { width:100%; padding:0; border:2px solid transparent; border-radius:13px; overflow:hidden; background:#0b0e19; cursor:pointer; }
.poster-thumb:hover,.poster-thumb.active { border-color:var(--purple); }
.poster-thumb img { display:block; width:100%; aspect-ratio:1/1; object-fit:cover; }
.editor-scroll { flex:1; min-height:0; overflow-y:auto; padding-right:5px; }
.score { width:70px; height:70px; border-radius:50%; display:grid; place-items:center; font-size:20px; font-weight:850; color:var(--green); border:2px solid rgba(50,212,154,.35); background:rgba(50,212,154,.07); }
.editor { display:flex; flex-direction:column; gap:12px; }
.paragraph-card { background:#101422; border:1px solid var(--line); border-radius:15px; padding:14px; transition:.2s; }
.paragraph-card.locked { border-color:rgba(50,212,154,.45); background:rgba(50,212,154,.035); }
.paragraph-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; color:var(--muted); font-size:12px; }
.paragraph-card textarea { width:100%; min-height:90px; resize:vertical; border:0; outline:0; padding:0; background:transparent; color:var(--text); line-height:1.75; }
.lock-control { display:flex; align-items:center; gap:8px; cursor:pointer; user-select:none; color:#b8bfd2; font-weight:700; }
.lock-control input { position:absolute; opacity:0; pointer-events:none; }
.lock-track { width:40px; height:22px; border-radius:30px; padding:3px; background:#303750; transition:.22s; }
.lock-track::after { content:""; display:block; width:16px; height:16px; border-radius:50%; background:#bbc1d2; transition:.22s; }
.lock-control input:checked + .lock-track { background:rgba(50,212,154,.35); }
.lock-control input:checked + .lock-track::after { transform:translateX(18px); background:var(--green); }
.lock-text { min-width:48px; }
.work-page,.work-page .poster-stage,.work-page .editor-scroll {
  scrollbar-width:auto; scrollbar-color:#48516d #0c0f1c;
}
.poster-stage,.editor-scroll { padding-right:10px; }
.editor-scroll .paragraph-card { flex:none; }
.work-page::-webkit-scrollbar,.work-page .poster-stage::-webkit-scrollbar,.work-page .editor-scroll::-webkit-scrollbar { width:12px; height:12px; }
.work-page::-webkit-scrollbar-button,.work-page .poster-stage::-webkit-scrollbar-button,.work-page .editor-scroll::-webkit-scrollbar-button { width:0; height:0; border:0; background:transparent; -webkit-appearance:none; }
.work-page::-webkit-scrollbar-track,.work-page .poster-stage::-webkit-scrollbar-track,.work-page .editor-scroll::-webkit-scrollbar-track {
  margin:4px 0; border:1px solid #20263a; border-radius:999px; background:#0c0f1c;
}
.work-page::-webkit-scrollbar-thumb,.work-page .poster-stage::-webkit-scrollbar-thumb,.work-page .editor-scroll::-webkit-scrollbar-thumb {
  min-height:54px; border:3px solid #0c0f1c; border-radius:999px; background:#48516d;
}
.work-page::-webkit-scrollbar-thumb:hover,.work-page .poster-stage::-webkit-scrollbar-thumb:hover,.work-page .editor-scroll::-webkit-scrollbar-thumb:hover {
  background:#8065bf;
}
.review-card { overflow:hidden; margin-top:18px; padding:0; border:1px solid var(--line); border-radius:18px; background:rgba(19,23,40,.92); box-shadow:0 18px 45px rgba(0,0,0,.16); }
.review-head { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:22px 24px; }
.review-title-group { display:flex; align-items:center; gap:13px; }
.review-icon { width:40px; height:40px; flex:none; display:grid; place-items:center; border:1px solid #343b56; border-radius:12px; color:#c8b8f2; font-size:16px; background:#20253a; }
.review-title-group .eyebrow { color:#9582c8; font-size:10px; letter-spacing:1px; }
.review-title-group h2 { margin:4px 0 2px; font-size:18px; }
.review-title-group p { margin:0; color:var(--muted); font-size:13px; }
.review-score-group { display:flex; align-items:center; gap:9px; }
.review-target { padding:7px 9px; border:1px solid #353d57; border-radius:9px; color:#a7aec1; background:#171c2e; font-size:10px; font-weight:750; white-space:nowrap; }
.review-target.met { color:#74d9b7; border-color:rgba(50,212,154,.25); background:rgba(50,212,154,.07); }
.review-target.unmet { color:#e1b87f; border-color:rgba(225,184,127,.25); background:rgba(225,184,127,.07); }
.review-score { min-width:82px; padding:9px 11px; display:flex; align-items:baseline; justify-content:center; border:1px solid #333a54; border-radius:11px; color:#e5e0f1; background:#181d30; }
.review-score strong { font-size:25px; line-height:1; letter-spacing:-1px; }
.review-score span { margin-left:3px; color:var(--muted); font-size:10px; }
.review-verdict { display:flex; align-items:center; gap:9px; padding:11px 24px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); color:#bfc5d6; font-size:12px; background:#101422; }
.review-dot { width:7px; height:7px; flex:none; border-radius:50%; background:var(--green); }
.review-dot.unmet { background:#d7a85f; }
.review-meter { height:4px; flex:1; max-width:150px; margin-left:auto; overflow:hidden; border-radius:999px; background:#282e44; }
.review-meter i { display:block; width:0; height:100%; border-radius:inherit; background:#8870c7; transition:width .4s ease; }
.review-content { display:block; }
.review-block { min-width:0; padding:20px 24px; }
.review-block + .review-block { border-top:1px solid var(--line); }
.review-block-title { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:15px; }
.review-block-title > span { font-size:13px; font-weight:800; }
.review-block-title small { color:var(--muted); font-size:11px; }
.review-metrics { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.review-metric > div:first-child { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:7px; color:#b8bfd2; font-size:12px; }
.review-metric strong { color:#e6e8f1; font-size:13px; }
.review-metric strong small { color:var(--muted); font-size:10px; font-weight:650; }
.metric-track { height:4px; overflow:hidden; border-radius:999px; background:#282e42; }
.metric-track i { display:block; height:100%; border-radius:inherit; background:#7663ac; }
.review-suggestions { display:flex; flex-direction:column; }
.review-suggestion { display:grid; grid-template-columns:26px minmax(0,1fr); gap:10px; padding:11px 0; border-top:1px solid rgba(255,255,255,.045); }
.review-suggestion:first-child { padding-top:0; border-top:0; }
.review-suggestion:last-child { padding-bottom:0; }
.review-suggestion > span { width:22px; height:22px; margin-top:1px; display:grid; place-items:center; border-radius:50%; color:#aa9acb; background:#24293e; font:700 9px/1 Consolas,monospace; }
.review-suggestion p { margin:1px 0 0; color:#b8bfd0; font-size:13px; line-height:1.7; }
.review-plain { padding:20px 24px; color:#bbc1d2; white-space:pre-wrap; line-height:1.75; }
.empty { text-align:center; color:var(--muted); padding:42px 16px; }
.toast { position:fixed; right:24px; top:82px; z-index:30; padding:12px 16px; border-radius:12px; color:#fff; background:#272e47; border:1px solid #3c4668; box-shadow:0 14px 40px rgba(0,0,0,.35); opacity:0; transform:translateY(-8px); pointer-events:none; transition:.22s; }
.toast.show { opacity:1; transform:none; }
.hidden { display:none !important; }
body.modal-open { overflow:hidden; }
.account-dialog-backdrop { position:fixed; inset:0; z-index:80; display:grid; place-items:center; padding:20px; background:rgba(5,7,14,.76); backdrop-filter:blur(8px); }
.account-dialog { position:relative; width:min(440px,100%); padding:28px; border:1px solid #303852; border-radius:20px; background:#141829; box-shadow:0 28px 90px rgba(0,0,0,.55); }
.account-dialog-close { position:absolute; right:17px; top:15px; width:34px; height:34px; border:0; border-radius:10px; color:#8e96ad; background:transparent; cursor:pointer; font-size:24px; line-height:1; }
.account-dialog-close:hover { color:#eef0f7; background:#20263a; }
.account-dialog h2 { margin:8px 0 6px; font-size:25px; }
.account-dialog > p { margin:0; color:var(--muted); font-size:13px; }
.account-dialog form { display:flex; flex-direction:column; gap:15px; margin-top:24px; }
.account-dialog .field label { margin-bottom:7px; }
.account-dialog .input { padding:12px 14px; }
.account-dialog .btn-row { margin-top:3px; }
.password-form-note { margin-top:-3px; color:#7f879f; font-size:11px; line-height:1.55; }
.auth-page { min-height:100svh; overflow-x:hidden; background:#090b15; }
.auth-page::before { content:""; position:fixed; inset:0; pointer-events:none; opacity:.32; background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size:48px 48px; mask-image:linear-gradient(to bottom,#000,transparent 92%); }
.auth-page::after { content:""; position:fixed; width:720px; height:720px; left:50%; top:50%; z-index:-1; transform:translate(-50%,-50%); border-radius:50%; pointer-events:none; background:radial-gradient(circle,rgba(116,77,205,.13),transparent 68%); }
.auth-shell { position:relative; width:min(1100px,calc(100% - 40px)); min-height:min(720px,calc(100svh - 64px)); margin:auto; padding:32px 0; display:grid; grid-template-columns:1.08fr .92fr; align-items:stretch; }
.auth-intro { position:relative; overflow:hidden; min-height:656px; padding:38px 42px; display:flex; flex-direction:column; justify-content:flex-start; border:1px solid #2b3150; border-right:0; border-radius:28px 0 0 28px; background:linear-gradient(145deg,rgba(29,27,54,.98),rgba(14,17,32,.98)); box-shadow:0 28px 80px rgba(0,0,0,.26); }
.auth-intro::before { content:""; position:absolute; width:410px; height:410px; left:-180px; bottom:-245px; border-radius:50%; background:radial-gradient(circle,rgba(255,92,147,.18),transparent 70%); }
.auth-intro::after { content:""; position:absolute; width:390px; height:390px; right:-190px; top:-190px; border-radius:50%; background:radial-gradient(circle,rgba(91,156,255,.16),transparent 68%); }
.auth-brand { position:relative; z-index:1; width:max-content; }
.auth-story { position:relative; z-index:1; margin:auto 0; }
.auth-kicker { display:flex; align-items:center; gap:9px; color:#cfc2f9; font-size:12px; font-weight:800; letter-spacing:1.6px; }
.auth-kicker i { width:18px; height:2px; border-radius:99px; background:linear-gradient(90deg,var(--pink),var(--purple)); }
.auth-intro h1 { margin:17px 0 14px; max-width:500px; font-size:clamp(38px,4.3vw,54px); letter-spacing:-2px; }
.auth-intro .lead { margin:0; max-width:460px; color:#aeb5ca; font-size:15px; }
.auth-features { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; margin-top:30px; }
.auth-features article { min-width:0; padding:14px 12px; border:1px solid rgba(255,255,255,.07); border-radius:13px; background:rgba(8,11,24,.28); }
.auth-features article > span { display:block; margin-bottom:13px; color:#ac96ed; font:700 10px/1 Consolas,monospace; }
.auth-features strong { display:block; margin-bottom:5px; font-size:13px; }
.auth-features small { display:block; color:#858da5; font-size:10px; line-height:1.55; }
.auth-card { min-height:656px; padding:44px 48px; display:flex; flex-direction:column; justify-content:center; border:1px solid #2b3150; border-radius:0 28px 28px 0; background:rgba(17,21,37,.97); box-shadow:24px 28px 80px rgba(0,0,0,.26); }
.auth-card-top { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.auth-mode-pill { padding:6px 10px; border:1px solid rgba(155,108,255,.2); border-radius:999px; color:#d7caff; background:rgba(155,108,255,.08); font-size:11px; font-weight:800; }
.auth-step { color:#596079; font:700 10px/1 Consolas,monospace; letter-spacing:1px; }
.auth-card-title { margin-top:25px; }
.auth-card-title h2 { margin:0 0 8px; font-size:28px; letter-spacing:-.8px; }
.auth-card-title p { margin:0; color:var(--muted); font-size:13px; }
.auth-form { display:flex; flex-direction:column; gap:17px; margin-top:29px; }
.auth-form .field label { margin-bottom:9px; color:#c3c9da; font-size:12px; }
.auth-input-shell { position:relative; }
.auth-input-shell .input { height:50px; padding:13px 62px 13px 44px; border-color:#2b324d; border-radius:12px; background:#0d1120; }
.auth-input-shell .input:focus { border-color:#8063d5; background:#0f1324; }
.auth-input-icon { position:absolute; left:15px; top:50%; z-index:1; transform:translateY(-50%); color:#686f89; font-size:13px; font-weight:800; pointer-events:none; }
.password-toggle { position:absolute; right:10px; top:50%; z-index:2; transform:translateY(-50%); padding:6px 8px; border:0; border-radius:7px; color:#8e96ad; background:transparent; cursor:pointer; font-size:11px; }
.password-toggle:hover { color:#d6c9fa; background:rgba(155,108,255,.08); }
.auth-submit { width:100%; min-height:51px; margin-top:3px; padding:13px 16px; display:flex; align-items:center; justify-content:space-between; box-shadow:0 12px 30px rgba(155,108,255,.2); }
.auth-submit b { width:25px; height:25px; display:grid; place-items:center; border-radius:8px; background:rgba(255,255,255,.14); font-size:13px; }
.admin-login-note { display:flex; align-items:center; gap:8px; margin-top:15px; padding:10px 12px; border-radius:10px; color:#8f97ad; background:rgba(155,108,255,.045); font-size:11px; }
.admin-login-note span { color:#a991ec; font-size:9px; }
.auth-switch { margin-top:22px !important; text-align:center; color:var(--muted); font-size:13px; }
.auth-switch a { color:#c8b7fb; font-weight:750; }
.auth-switch a:hover { color:#eadfff; }
.form-error { color:#ffabb1; background:rgba(255,107,117,.08); border:1px solid rgba(255,107,117,.22); border-radius:11px; padding:11px 13px; font-size:12px; line-height:1.5; }
.admin-container { width:min(1120px,calc(100% - 32px)); }
.admin-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; padding:26px 2px 30px; }
.admin-heading h1 { margin:8px 0 8px; font-size:42px; }
.admin-heading .lead { margin:0; font-size:15px; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:18px; }
.stat-card { min-height:122px; padding:20px; display:flex; flex-direction:column; justify-content:space-between; border-radius:17px; border:1px solid var(--line); background:linear-gradient(145deg,rgba(26,31,53,.96),rgba(16,20,35,.96)); }
.stat-card span { color:var(--muted); font-size:13px; font-weight:700; }
.stat-card strong { font-size:32px; letter-spacing:-1px; }
.announcement-admin-layout { display:grid; grid-template-columns:minmax(320px,.85fr) minmax(380px,1.15fr); gap:18px; align-items:start; }
.announcement-editor { padding:18px; display:flex; flex-direction:column; gap:15px; border:1px solid var(--line); border-radius:15px; background:#101422; }
.announcement-editor .textarea { min-height:138px; }
.announcement-editor-options { display:grid; grid-template-columns:1fr 1fr; gap:14px; align-items:end; }
.announcement-checks { min-height:48px; padding:7px 0; display:flex; flex-direction:column; justify-content:center; gap:7px; }
.announcement-checks label { display:flex; align-items:center; gap:8px; color:#b9c0d2; font-size:12px; cursor:pointer; }
.announcement-checks input { width:15px; height:15px; accent-color:var(--purple); }
.announcement-admin-list { max-height:520px; overflow:auto; padding-right:5px; display:flex; flex-direction:column; gap:9px; scrollbar-width:thin; scrollbar-color:#48516d #0c0f1c; }
.announcement-admin-item { padding:15px; border:1px solid var(--line); border-radius:14px; background:#101422; }
.announcement-admin-item.draft { opacity:.82; }
.announcement-admin-item-head,.announcement-admin-meta { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.announcement-admin-type,.announcement-pin,.announcement-state { display:inline-flex; align-items:center; padding:4px 7px; border-radius:999px; font-size:9px; font-weight:800; }
.announcement-admin-type { color:#c6b6f2; background:rgba(155,108,255,.1); }
.announcement-admin-type.notice { color:#9dc6f5; background:rgba(91,156,255,.1); }
.announcement-admin-type.important { color:#ffabb1; background:rgba(255,107,117,.1); }
.announcement-pin { margin-left:6px; color:#ffc982; background:rgba(255,195,106,.09); }
.announcement-state.published { color:var(--green); background:rgba(50,212,154,.08); }
.announcement-state.draft { color:#8d95aa; background:#20263a; }
.announcement-admin-item h3 { margin:12px 0 7px; font-size:14px; }
.announcement-admin-item > p { margin:0 0 13px; display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; color:#969eb5; font-size:11px; line-height:1.65; white-space:pre-wrap; }
.announcement-admin-meta { padding-top:11px; border-top:1px solid rgba(255,255,255,.05); }
.announcement-admin-meta time { color:#687087; font-size:10px; }
.announcement-admin-actions { display:flex; gap:6px; }
.announcement-admin-empty { min-height:240px; padding:30px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; border:1px dashed #333a54; border-radius:15px; text-align:center; }
.announcement-admin-empty strong { font-size:14px; }
.announcement-admin-empty span { max-width:260px; color:var(--muted); font-size:11px; line-height:1.6; }
.table-wrap { overflow:auto; }
.admin-table { width:100%; min-width:800px; border-collapse:collapse; }
.admin-table th { padding:11px 12px; color:var(--muted); text-align:left; font-size:12px; font-weight:750; border-bottom:1px solid var(--line); }
.admin-table td { padding:14px 12px; border-bottom:1px solid rgba(38,45,70,.7); vertical-align:middle; }
.admin-table tr:last-child td { border-bottom:0; }
.table-primary { margin-bottom:4px; font-weight:780; }
.mini-select { padding:8px 26px 8px 10px; border:1px solid #333c59; border-radius:9px; color:#dfe3f3; background:#14192b; outline:none; font-weight:400; }
.mini-select:focus { border-color:#626b86; box-shadow:0 0 0 3px rgba(129,140,172,.1); }
.mini-select option { color:#343a4b; background:#f4f5f7; font-weight:400; }
.mini-select option:checked { color:#171c29; background:#e1e4ea; }
.select-shell--mini:has(.account-status.active) .select-trigger { color:#b9d8cd; }
.select-shell--mini:has(.account-status.disabled) .select-trigger { color:#d8b7bb; }
.btn.compact { padding:8px 12px; border-radius:9px; font-size:12px; }
.admin-work-list { display:flex; flex-direction:column; gap:9px; }
.admin-work-row { display:flex; align-items:center; gap:13px; padding:12px; border:1px solid var(--line); border-radius:14px; background:#101422; }
.admin-work-main { min-width:0; flex:1; display:flex; align-items:center; gap:13px; }
.admin-work-main:hover .work-title { color:#d4c5ff; }
@media(max-width:900px) and (min-width:721px) {
  .auth-shell { width:min(680px,calc(100% - 40px)); display:block; padding:28px 0; }
  .auth-intro { min-height:auto; padding:27px 32px; border-right:1px solid #2b3150; border-bottom:0; border-radius:24px 24px 0 0; }
  .auth-story { margin:35px 0 18px; }
  .auth-intro h1 { font-size:41px; }
  .auth-features { display:none; }
  .auth-card { min-height:auto; padding:38px 46px; border-radius:0 0 24px 24px; }
}
@media(max-width:720px) {
  .container { width:min(100% - 22px,1060px); margin-top:14px; }
  .topbar { padding:0 14px; } .brand { font-size:15px; } .nav a { padding:8px; }
  .hero { padding:34px 5px 24px; } h1 { letter-spacing:-1px; }
  .topic-form { flex-direction:column; } .grid-2,.grid-3,.history-grid { grid-template-columns:1fr; }
  .quality-levels { grid-template-columns:1fr; }
  .announcement-board-head { padding:15px 16px; }
  .announcement-heading p { display:none; }
  .announcement-list { padding:6px 8px 10px; }
  .announcement-item summary { grid-template-columns:28px minmax(0,1fr) 18px; gap:8px; }
  .announcement-summary-main { display:block; }
  .announcement-summary-main strong { display:block; }
  .announcement-summary-main small { display:block; margin-top:3px; }
  .announcement-item time { display:none; }
  .announcement-content { margin-left:44px; }
  .card { padding:18px; } .poster-grid { grid-template-columns:1fr; }
  .work-layout { grid-template-columns:1fr; }
  .work-panel { height:auto; min-height:0; }
  .poster-stage { max-height:none; overflow:visible; }
  .editor-scroll { max-height:62vh; }
  .review-head { padding:20px 18px 16px; }
  .review-icon { width:42px; height:42px; }
  .review-score { min-width:auto; } .review-score strong { font-size:31px; }
  .review-score-group { align-items:flex-end; flex-direction:column-reverse; gap:5px; }
  .review-title-group p { display:none; }
  .review-verdict { padding:12px 18px; }
  .review-meter { max-width:90px; }
  .review-content { padding:0; }
  .review-block { padding:17px 18px; }
  .review-metrics { grid-template-columns:repeat(2,1fr); gap:15px 18px; }
  .nav { gap:2px; } .nav a { font-size:12px; }
  .account-menu { padding-left:7px; gap:4px; }
  .account-settings { padding:4px; }
  .account-settings-copy { display:none; }
  .account-logout { padding-left:2px; }
  .account-dialog { padding:24px 19px 20px; border-radius:17px; }
  .auth-shell { width:min(100% - 24px,470px); min-height:auto; display:block; padding:16px 0 34px; }
  .auth-intro { min-height:auto; padding:22px 20px; border-right:1px solid #2b3150; border-bottom:0; border-radius:20px 20px 0 0; }
  .auth-story { display:none; }
  .auth-card { min-height:auto; padding:28px 20px 25px; border-radius:0 0 20px 20px; }
  .auth-card-title { margin-top:21px; }
  .auth-card-title h2 { font-size:25px; }
  .auth-form { margin-top:24px; gap:15px; }
  .auth-input-shell .input { height:48px; }
  .admin-login-note { line-height:1.45; }
  .admin-heading { align-items:flex-start; flex-direction:column; padding-top:10px; }
  .admin-heading h1 { font-size:35px; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .stat-card { min-height:104px; padding:16px; }
  .announcement-admin-layout { grid-template-columns:1fr; }
  .announcement-editor-options { grid-template-columns:1fr; }
  .announcement-admin-list { max-height:none; }
  .admin-work-row { flex-wrap:wrap; }
}
