/* 国创赛 PPT 评审 —— 深色玻璃质感。动效都在 prefers-reduced-motion 下关闭。 */
:root {
  --bg0: #050812; --bg1: #0a1022;
  --ink: #eef2fb; --ink-2: #b9c3d9; --ink-3: #8390ab;
  --line: rgba(255, 255, 255, .10); --line-2: rgba(255, 255, 255, .06);
  --glass: rgba(255, 255, 255, .045); --glass-2: rgba(255, 255, 255, .08);
  --a1: #5b8cff; --a2: #9b6bff; --a3: #2bd4c4;
  --grad: linear-gradient(100deg, var(--a1), var(--a2) 55%, var(--a3));
  --good: #3ddc97; --warn: #ffb648; --crit: #ff6b6b;
  --r: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  /* 毛玻璃：磨砂颗粒 + 左上角的光 + 由亮到暗的玻璃底 + 边缘高光 */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --glass-fill: radial-gradient(130% 90% at 0% 0%, rgba(160, 182, 255, .13), transparent 52%), linear-gradient(150deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, .045) 40%, rgba(255, 255, 255, .025) 100%);
  --glass-blur: blur(28px) saturate(1.8) brightness(1.05);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, .20), inset 1px 0 0 rgba(255, 255, 255, .05), inset 0 -1px 0 rgba(0, 0, 0, .28);
  --num: "Bahnschrift", "DIN Alternate", "Segoe UI Variable Display", "SF Pro Display", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; background: var(--bg0); color: var(--ink); overflow-x: hidden;
  font: 15px/1.7 "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
}
::selection { background: rgba(91, 140, 255, .45); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .14); border-radius: 10px; border: 2px solid var(--bg0); }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .26); }
.wrap { max-width: 920px; margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
a { color: #9db8ff; text-decoration: none; }
a:hover { color: #c3d3ff; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: 18px; letter-spacing: .02em; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
[hidden] { display: none !important; }

/* ---------- 背景：极光、网格、粒子 ---------- */
.bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: radial-gradient(1200px 700px at 70% -10%, #131c3d 0%, transparent 60%), linear-gradient(180deg, var(--bg1), var(--bg0)); }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; transform: translate3d(0, calc(var(--sy, 0) * var(--k, 0) * 1px), 0); }
.b1 { width: 520px; height: 520px; left: -140px; top: -120px; background: #3558ff; --k: .18; animation: drift1 22s ease-in-out infinite alternate; }
.b2 { width: 460px; height: 460px; right: -120px; top: 160px; background: #8a4dff; --k: -.12; animation: drift2 26s ease-in-out infinite alternate; }
.b3 { width: 420px; height: 420px; left: 30%; top: 70%; background: #12b8a8; opacity: .32; --k: -.25; animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { margin-left: 120px; margin-top: 80px; } }
@keyframes drift2 { to { margin-right: 160px; margin-top: -90px; } }
@keyframes drift3 { to { margin-left: -140px; margin-top: -120px; } }
/* 内容区正后方补一团柔光，玻璃后面有颜色，磨砂感才出得来 */
.b4 { width: 400px; height: 400px; left: calc(50% - 200px); top: 26%; background: #5a3dff; opacity: .26; --k: .08; animation: drift4 34s ease-in-out infinite alternate; }
@keyframes drift4 { to { margin-left: 180px; margin-top: 140px; } }
.mesh { position: absolute; inset: -2px; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%); transform: translate3d(0, calc(var(--sy, 0) * -.06px), 0); }
#stars { position: absolute; inset: 0; width: 100%; height: 100%; }
#glow { position: fixed; left: 0; top: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; pointer-events: none; z-index: -1; background: radial-gradient(circle, rgba(110, 140, 255, .16), rgba(150, 100, 255, .07) 40%, transparent 68%); transform: translate3d(-999px, -999px, 0); will-change: transform; }
#progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 30; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 14px rgba(120, 140, 255, .8); }

/* ---------- 顶栏 ---------- */
.top { position: sticky; top: 0; z-index: 20; transition: background .35s, backdrop-filter .35s, border-color .35s; border-bottom: 1px solid transparent; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 68px; transition: height .35s var(--ease); }
.top.scrolled { background: var(--grain), linear-gradient(180deg, rgba(14, 20, 42, .66), rgba(8, 12, 26, .52)); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border-bottom-color: rgba(255, 255, 255, .10); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8), inset 0 -1px 0 rgba(255, 255, 255, .04); }
.top.scrolled .top-in { height: 54px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 700; font-size: 16.5px; letter-spacing: .03em; }
.mark { width: 32px; height: 32px; border-radius: 10px; background: var(--grad); background-size: 200% 200%; color: #fff; display: grid; place-items: center; font-size: 16px; font-weight: 800; box-shadow: 0 6px 22px rgba(100, 120, 255, .55); animation: hue 8s ease-in-out infinite alternate; transition: transform .5s var(--ease); }
.brand:hover .mark { transform: rotate(-10deg) scale(1.1); }
@keyframes hue { to { background-position: 100% 100%; } }
nav { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--grain), linear-gradient(150deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .10); border-top-color: rgba(255, 255, 255, .18); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: 0 10px 26px -14px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .10); }
nav a { position: relative; padding: 6px 16px; border-radius: 999px; color: var(--ink-2); font-size: 14px; transition: color .25s, background .25s; }
nav a:hover { color: #fff; background: var(--glass-2); }
nav a.on { color: #fff; background: linear-gradient(100deg, rgba(91, 140, 255, .55), rgba(155, 107, 255, .55)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 4px 16px rgba(91, 140, 255, .28); }

main { padding-top: 18px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 20px; min-height: 70vh; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 6px; padding-bottom: 34px; color: var(--ink-3); font-size: 12.5px; }

/* ---------- 滚动浮现 ---------- */
.rv { opacity: 0; transform: translate3d(0, 34px, 0) scale(.975); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.rv.in { opacity: 1; transform: none; filter: none; }

/* ---------- 卡片：玻璃 + 跟随鼠标的高光 ---------- */
.card { position: relative; border-radius: var(--r); padding: 24px; background: var(--grain), var(--glass-fill); border: 1px solid rgba(255, 255, 255, .11); border-top-color: rgba(255, 255, 255, .22); border-left-color: rgba(255, 255, 255, .15); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: 0 34px 70px -30px rgba(0, 0, 0, .8), 0 2px 6px -2px rgba(0, 0, 0, .35), var(--glass-edge); }
.card > :last-child { margin-bottom: 0; }
.card h2 { margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.card h2::before { content: ""; width: 4px; height: 18px; border-radius: 4px; background: var(--grad); box-shadow: 0 0 12px rgba(110, 140, 255, .8); }
.spot::before, .spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; }
.spot::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(120, 150, 255, .13), transparent 60%); }
.spot::after { padding: 1px; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(150, 175, 255, .9), rgba(155, 107, 255, .35) 40%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.spot:hover::before, .spot:hover::after { opacity: 1; }
.spot > * { position: relative; z-index: 1; }
.tilt { transform-style: preserve-3d; transition: transform .5s var(--ease); will-change: transform; }

/* ---------- 首屏 ---------- */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; padding: 26px 4px 12px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .14em; color: #a9bcff; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(140, 165, 255, .3); background: rgba(91, 140, 255, .1); }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--a3); box-shadow: 0 0 10px var(--a3); animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.hero h1 { font-size: clamp(30px, 5.2vw, 46px); line-height: 1.22; margin: 16px 0 14px; font-weight: 800; letter-spacing: .01em; text-wrap: balance; }
.grad { background: linear-gradient(100deg, #8fb0ff, #c29bff 45%, #5fe6d7 80%, #8fb0ff); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: flow 7s linear infinite; }
@keyframes flow { to { background-position: -220% 0; } }
.hero p { color: var(--ink-2); max-width: 34em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); color: var(--ink-2); transition: transform .3s var(--ease), border-color .3s, color .3s, box-shadow .3s; }
.chips span:hover { transform: translateY(-3px); border-color: rgba(140, 165, 255, .6); color: #fff; box-shadow: 0 8px 20px -8px rgba(91, 140, 255, .8); }

/* 首屏右侧：一叠幻灯片被扫描 */
.art { position: relative; height: 260px; perspective: 900px; }
.slide { position: absolute; left: 50%; top: 50%; width: 250px; height: 150px; margin: -75px 0 0 -125px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: linear-gradient(160deg, rgba(40, 52, 96, .9), rgba(18, 24, 48, .92)); box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .8); padding: 16px; transition: transform .7s var(--ease); }
.slide b { display: block; height: 9px; width: 62%; border-radius: 5px; background: linear-gradient(90deg, #8fb0ff, #c29bff); margin-bottom: 12px; }
.slide u { display: block; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .16); margin-bottom: 8px; }
.slide u:nth-of-type(2) { width: 82%; } .slide u:nth-of-type(3) { width: 58%; }
.slide em { position: absolute; right: 14px; bottom: 14px; width: 62px; height: 44px; border-radius: 6px; background: linear-gradient(135deg, rgba(43, 212, 196, .5), rgba(91, 140, 255, .35)); border: 1px solid rgba(255, 255, 255, .18); }
.s1 { transform: translate3d(-34px, 22px, -80px) rotate(-9deg); opacity: .55; }
.s2 { transform: translate3d(26px, 6px, -40px) rotate(6deg); opacity: .75; }
.s3 { transform: translate3d(0, -8px, 0) rotate(-1.5deg); overflow: hidden; }
.art:hover .s1 { transform: translate3d(-70px, 34px, -80px) rotate(-15deg); }
.art:hover .s2 { transform: translate3d(62px, 14px, -40px) rotate(12deg); }
.art:hover .s3 { transform: translate3d(0, -16px, 30px) rotate(0deg); }
.beam { position: absolute; left: 0; right: 0; height: 46px; top: -46px; background: linear-gradient(180deg, transparent, rgba(95, 230, 215, .28) 70%, rgba(95, 230, 215, .95)); border-bottom: 2px solid #7ff3e6; box-shadow: 0 6px 24px rgba(95, 230, 215, .7); animation: scan 3.2s var(--ease) infinite; }
@keyframes scan { 0% { top: -46px; } 70%, 100% { top: 150px; } }
.tag { position: absolute; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid; animation: float 5s ease-in-out infinite; white-space: nowrap; }
.t1 { left: 2%; top: 18%; color: #ffd9a0; background: rgba(255, 182, 72, .14); border-color: rgba(255, 182, 72, .45); }
.t2 { right: 0; top: 8%; color: #a6f5cf; background: rgba(61, 220, 151, .13); border-color: rgba(61, 220, 151, .45); animation-delay: -1.6s; }
.t3 { right: 6%; bottom: 8%; color: #c9d6ff; background: rgba(91, 140, 255, .16); border-color: rgba(120, 150, 255, .5); animation-delay: -3s; font-family: var(--num); font-size: 14px; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- 按钮：流光、磁吸、波纹 ---------- */
.btn { position: relative; overflow: hidden; appearance: none; border: 1px solid var(--line); background: var(--glass); color: var(--ink); border-radius: 11px; padding: 9px 16px; font: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 7px; line-height: 1.3; transition: transform .35s var(--ease), border-color .25s, background .25s, box-shadow .35s; will-change: transform; }
.btn:hover { border-color: rgba(150, 175, 255, .55); background: var(--glass-2); color: #fff; transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; filter: grayscale(.4); }
.btn.primary { border: 0; color: #fff; font-weight: 700; background: var(--grad); background-size: 180% 100%; box-shadow: 0 10px 30px -8px rgba(100, 120, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn.primary:hover:not(:disabled) { background-position: 100% 0; box-shadow: 0 16px 40px -8px rgba(130, 110, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn.primary::before { content: ""; position: absolute; top: 0; bottom: 0; width: 46%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); }
.btn.primary:hover:not(:disabled)::before { animation: shine .9s var(--ease); }
@keyframes shine { to { left: 120%; } }
.btn.big { padding: 13px 30px; font-size: 16.5px; border-radius: 14px; letter-spacing: .06em; }
.btn.danger { color: #ff9c9c; }
.btn.danger:hover { border-color: rgba(255, 107, 107, .6); background: rgba(255, 107, 107, .12); color: #ffc2c2; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--ink-2); padding: 6px 10px; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .35); transform: scale(0); animation: ripple .6s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.spread { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }

/* ---------- 表单 ---------- */
label.f { display: block; margin-bottom: 16px; }
label.f > span { display: block; font-size: 13.5px; color: var(--ink-2); margin-bottom: 6px; font-weight: 600; letter-spacing: .03em; }
label.f > em { display: block; font-style: normal; font-size: 12.5px; color: var(--ink-3); margin-top: 5px; }
input[type=text], input[type=password], input[type=number], select { width: 100%; padding: 10px 13px; border: 1px solid var(--line); border-radius: 11px; background: rgba(8, 12, 26, .55); color: var(--ink); font: inherit; transition: border-color .25s, box-shadow .25s, background .25s; }
input::placeholder { color: #5f6b86; }
input:hover, select:hover { border-color: rgba(255, 255, 255, .22); }
input:focus, select:focus { outline: 0; border-color: rgba(120, 150, 255, .9); box-shadow: 0 0 0 4px rgba(91, 140, 255, .2), 0 0 24px -4px rgba(91, 140, 255, .6); background: rgba(8, 12, 26, .8); }
select option { background: #101831; color: var(--ink); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, .drop:focus-visible { outline: 2px solid #9db8ff; outline-offset: 3px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 0 18px; }
.seg { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: 12px; background: rgba(8, 12, 26, .5); }
.seg label { position: relative; padding: 7px 16px; border-radius: 9px; cursor: pointer; color: var(--ink-2); transition: color .25s, background .25s, box-shadow .25s; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:hover { color: #fff; }
.seg label:has(input:checked) { color: #fff; background: linear-gradient(100deg, rgba(91, 140, 255, .6), rgba(155, 107, 255, .6)); box-shadow: 0 4px 16px -4px rgba(91, 140, 255, .7); }
.seg label:has(input:focus-visible) { outline: 2px solid #9db8ff; outline-offset: 2px; }
details.adv { border-top: 1px solid var(--line-2); margin-top: 8px; padding-top: 14px; }
details.adv > summary { cursor: pointer; color: var(--ink-2); font-size: 13.5px; margin-bottom: 14px; list-style: none; display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
details.adv > summary::-webkit-details-marker { display: none; }
details.adv > summary::before { content: "›"; display: inline-block; font-size: 18px; line-height: 1; transition: transform .3s var(--ease); color: var(--a1); }
details.adv[open] > summary::before { transform: rotate(90deg); }
details.adv > summary:hover { color: #fff; }

/* 上传框：静止的柔和虚线边框（不做流动动画，免得晃眼） */
.drop { position: relative; border-radius: 16px; padding: 34px 18px; text-align: center; cursor: pointer; background: rgba(8, 12, 26, .45); border: 1.5px dashed rgba(140, 165, 255, .48); transition: background .3s, border-color .3s, box-shadow .35s; }
.drop:hover, .drop.over { background: rgba(91, 140, 255, .07); border-color: rgba(140, 165, 255, .6); box-shadow: 0 14px 36px -20px rgba(91, 140, 255, .55); }
.drop.over { border-style: solid; }
.drop .ico { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(91, 140, 255, .28), rgba(155, 107, 255, .28)); border: 1px solid rgba(160, 180, 255, .35); transition: transform .5s var(--ease); }
.drop:hover .ico { transform: translateY(-2px); }
.drop .ico svg { width: 26px; height: 26px; stroke: #c6d4ff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.drop strong { display: block; font-size: 16.5px; margin-bottom: 3px; }
.drop.has { text-align: left; padding: 16px 18px; background: rgba(61, 220, 151, .08); border: 1.5px solid rgba(61, 220, 151, .5); cursor: default; }
.drop.has strong { font-size: 15px; word-break: break-all; }
.drop.has .ok { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--good); color: #062014; font-size: 13px; font-weight: 800; margin-right: 8px; animation: pop .5s var(--ease); }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.25); } }
.drop.mini { padding: 13px 16px; text-align: left; border-radius: 12px; }
.drop.mini strong { font-size: 14px; display: inline; font-weight: 600; }
.bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-top: 10px; }
.bar > i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--grad); box-shadow: 0 0 12px rgba(120, 140, 255, .9); transition: width .25s; }

/* ---------- 提示条、徽章 ---------- */
.note { border-radius: 13px; padding: 12px 16px; font-size: 14px; border: 1px solid; animation: rise .5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.note.info { background: rgba(91, 140, 255, .1); border-color: rgba(120, 150, 255, .32); color: #d5defa; }
.note.good { background: rgba(61, 220, 151, .1); border-color: rgba(61, 220, 151, .38); color: #c9f6e0; }
.note.warn { background: rgba(255, 182, 72, .1); border-color: rgba(255, 182, 72, .4); color: #ffe6bf; }
.note.crit { background: rgba(255, 107, 107, .1); border-color: rgba(255, 107, 107, .42); color: #ffd3d3; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 2px 10px; border-radius: 999px; background: var(--glass-2); color: var(--ink-2); white-space: nowrap; font-weight: 600; border: 1px solid var(--line-2); }
.badge.run { background: rgba(91, 140, 255, .16); color: #b7c9ff; border-color: rgba(120, 150, 255, .4); }
.badge.run::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #8fb0ff; box-shadow: 0 0 8px #8fb0ff; animation: blink 1.2s infinite; }
.badge.done { background: rgba(61, 220, 151, .14); color: #a6f5cf; border-color: rgba(61, 220, 151, .4); }
.badge.fail { background: rgba(255, 107, 107, .14); color: #ffb5b5; border-color: rgba(255, 107, 107, .4); }
.badge.stop { background: rgba(255, 182, 72, .14); color: #ffd9a0; border-color: rgba(255, 182, 72, .4); }

/* ---------- 进度：发光时间线 ---------- */
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 12px; top: 14px; bottom: 14px; width: 2px; background: rgba(255, 255, 255, .09); border-radius: 2px; }
.steps::after { content: ""; position: absolute; left: 12px; top: 14px; width: 2px; height: calc((100% - 28px) * var(--done, 0)); background: linear-gradient(180deg, var(--a3), var(--a1), var(--a2)); border-radius: 2px; box-shadow: 0 0 12px rgba(91, 140, 255, .9); transition: height .9s var(--ease); }
.steps li { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 9px 0; align-items: start; z-index: 1; }
.dot { width: 26px; height: 26px; border-radius: 50%; background: #0e1530; border: 2px solid rgba(255, 255, 255, .16); display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #062014; transition: background .4s, border-color .4s, box-shadow .4s, transform .4s var(--ease); }
li.done .dot { background: var(--good); border-color: var(--good); box-shadow: 0 0 14px rgba(61, 220, 151, .6); }
li.done .dot::after { content: "✓"; }
li.failed .dot { background: var(--crit); border-color: var(--crit); box-shadow: 0 0 14px rgba(255, 107, 107, .7); color: #2a0606; }
li.failed .dot::after { content: "!"; }
li.skipped .dot { background: #1b2340; }
li.running .dot { border-color: #8fb0ff; background: #101a3c; box-shadow: 0 0 0 0 rgba(120, 150, 255, .7); animation: pulse 1.4s ease-out infinite; }
li.running .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9db8ff; box-shadow: 0 0 10px #9db8ff; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(120, 150, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(120, 150, 255, 0); } }
.steps .t { font-weight: 600; transition: color .3s; }
li.pending .t, li.skipped .t { color: var(--ink-3); font-weight: 400; }
li.running .t { background: linear-gradient(90deg, #fff 30%, #9db8ff 50%, #fff 70%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: flow 2.2s linear infinite; }
.steps .d { font-size: 13px; color: var(--ink-3); min-height: 1px; }

/* ---------- 分数 ---------- */
.result { display: grid; grid-template-columns: 190px 1fr; gap: 26px; align-items: center; }
.ring { position: relative; width: 190px; height: 190px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); filter: drop-shadow(0 0 14px rgba(110, 140, 255, .55)); }
.ring circle { fill: none; stroke-width: 12; stroke-linecap: round; }
.ring .trk { stroke: rgba(255, 255, 255, .09); }
.ring .val { stroke: url(#rg); stroke-dasharray: 502.65; stroke-dashoffset: 502.65; transition: stroke-dashoffset 1.6s var(--ease); }
.ring .mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .num { font: 700 58px/1 var(--num); letter-spacing: -1px; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff, #b9c9ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ring .cap { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; letter-spacing: .1em; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.trio div { border-radius: 13px; padding: 11px 13px; background: rgba(8, 12, 26, .5); border: 1px solid var(--line-2); transition: transform .35s var(--ease), border-color .3s; }
.trio div:hover { transform: translateY(-3px); border-color: rgba(140, 165, 255, .5); }
.trio small { display: block; color: var(--ink-3); font-size: 12px; }
.trio b { font: 700 22px/1.3 var(--num); font-variant-numeric: tabular-nums; }
.crit-list { display: grid; gap: 10px; }
.crit-row { display: grid; grid-template-columns: 78px 1fr 64px; gap: 12px; align-items: center; font-size: 14px; }
.crit-row .track { height: 9px; background: rgba(255, 255, 255, .09); border-radius: 6px; overflow: hidden; }
.crit-row .track i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--a1), var(--a2)); box-shadow: 0 0 10px rgba(120, 140, 255, .8); transition: width 1.3s var(--ease); transition-delay: calc(var(--i, 0) * 120ms + 300ms); }
.crit-row b { text-align: right; font: 600 14.5px var(--num); font-variant-numeric: tabular-nums; color: var(--ink-2); }
.verdict { font-size: 15.5px; margin: 18px 0 12px; padding: 14px 16px; border-radius: 13px; background: rgba(8, 12, 26, .5); border-left: 3px solid; border-image: linear-gradient(180deg, var(--a1), var(--a2)) 1; }
ul.fatal { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
ul.fatal li { display: flex; gap: 10px; align-items: baseline; padding: 10px 14px; border-radius: 12px; background: rgba(255, 107, 107, .08); border: 1px solid rgba(255, 107, 107, .28); transition: transform .3s var(--ease); }
ul.fatal li:hover { transform: translateX(4px); }
ul.fatal em { font-style: normal; font: 600 12.5px var(--num); color: #ffb5b5; white-space: nowrap; }

/* ---------- 评审记录 ---------- */
.hist { display: grid; gap: 10px; }
.hist a.item { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 14px 16px; border-radius: 14px; color: var(--ink); align-items: center; background: rgba(8, 12, 26, .42); border: 1px solid var(--line-2); transition: transform .4s var(--ease), border-color .3s, background .3s, box-shadow .4s; overflow: hidden; }
.hist a.item::after { content: "→"; position: absolute; right: 16px; top: 50%; transform: translate(14px, -50%); opacity: 0; color: #9db8ff; transition: transform .35s var(--ease), opacity .3s; }
.hist a.item:hover { transform: translateX(6px); border-color: rgba(140, 165, 255, .55); background: rgba(91, 140, 255, .1); box-shadow: 0 14px 34px -18px rgba(91, 140, 255, .9); }
.hist a.item:hover::after { transform: translate(0, -50%); opacity: 1; }
.hist a.item:hover .s { transform: translateX(-26px); }
.hist .name { font-weight: 600; word-break: break-all; }
.hist .meta { font-size: 13px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hist .s { grid-row: 1 / span 2; grid-column: 2; font: 700 26px var(--num); font-variant-numeric: tabular-nums; transition: transform .35s var(--ease); background: linear-gradient(180deg, #fff, #a9bcff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.empty { text-align: center; color: var(--ink-3); padding: 18px 0 6px; }

/* ---------- 三步设置 ---------- */
.setup-steps { counter-reset: s; display: grid; gap: 6px; }
.setup-steps > section { counter-increment: s; padding-left: 46px; position: relative; padding-bottom: 4px; }
.setup-steps > section::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(135deg, rgba(91, 140, 255, .35), rgba(155, 107, 255, .35)); border: 1px solid rgba(160, 180, 255, .4); color: #fff; display: grid; place-items: center; font: 700 15px var(--num); }

/* ---------- 模型分工 ---------- */
.sec-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin-bottom: 12px; }
.sec-h b { font-size: 15px; letter-spacing: .04em; }
.roles { display: grid; gap: 12px; margin-bottom: 18px; }
.role { position: relative; border-radius: 15px; padding: 14px 16px 0; background: rgba(8, 12, 26, .42); border: 1px solid var(--line-2); overflow: hidden; transition: transform .4s var(--ease), border-color .3s, background .3s, box-shadow .4s; }
.role::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--a3), var(--a1), var(--a2)); opacity: 0; transform: scaleY(0); transform-origin: 50% 0; transition: opacity .3s, transform .5s var(--ease); }
.role:hover { transform: translateY(-2px); border-color: rgba(140, 165, 255, .4); box-shadow: 0 16px 36px -22px rgba(91, 140, 255, .9); }
.role.own { background: linear-gradient(180deg, rgba(91, 140, 255, .1), rgba(155, 107, 255, .04)); border-color: rgba(140, 165, 255, .5); }
.role.own::before { opacity: 1; transform: none; }
.role-t { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; margin-bottom: 12px; }
.role-t .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(91, 140, 255, .28), rgba(155, 107, 255, .28)); border: 1px solid rgba(160, 180, 255, .35); transition: transform .5s var(--ease), box-shadow .4s; }
.role:hover .ico { transform: rotate(-8deg) scale(1.08); box-shadow: 0 8px 22px -8px rgba(110, 140, 255, .9); }
.role-t svg { width: 21px; height: 21px; stroke: #c6d4ff; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.role-t b { display: block; font-size: 15px; line-height: 1.4; }
.role-t .d { display: block; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.role:not(.own) .grid2 { grid-template-columns: 1fr; }
.badge.own { background: rgba(91, 140, 255, .16); color: #b7c9ff; border-color: rgba(120, 150, 255, .4); }
.tests { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.tests li { display: grid; grid-template-columns: auto 1fr; gap: 0 12px; align-items: baseline; padding: 10px 14px; border-radius: 12px; background: rgba(8, 12, 26, .5); border: 1px solid var(--line-2); border-left: 3px solid var(--good); animation: rise .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
.tests li.bad { border-left-color: var(--crit); }
.tests li.warn { border-left-color: var(--warn); }
.tests b { word-break: break-all; }
.tests span { color: var(--ink-3); font-size: 13px; }
.tests em { grid-column: 1 / -1; font-style: normal; font-size: 13.5px; color: var(--ink-2); }
.who { display: inline-flex; align-items: baseline; gap: 6px; margin: 2px 8px 2px 0; padding: 1px 11px; border-radius: 999px; background: rgba(8, 12, 26, .5); border: 1px solid var(--line-2); font-size: 13px; }
.who i, .who-b i { font-style: normal; color: var(--ink-3); }
.who-b i::after { content: "·"; margin-left: 6px; }
.who b { font-weight: 600; word-break: break-all; }
.badge.who-b { white-space: normal; }
.steps .th { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
.steps .by { font-size: 11.5px; padding: 0 8px; border-radius: 999px; color: #a9bcff; background: rgba(91, 140, 255, .12); border: 1px solid rgba(120, 150, 255, .3); }
.steps .by:empty { display: none; }
pre.log { background: rgba(4, 7, 16, .7); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; font: 12px/1.6 ui-monospace, "Cascadia Mono", Consolas, monospace; overflow-x: auto; white-space: pre-wrap; word-break: break-all; max-height: 260px; overflow-y: auto; margin: 0; color: #9fb0d0; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 14px; transition: gap .3s var(--ease), color .2s; }
.back:hover { gap: 11px; color: #fff; }
.title { font-size: clamp(22px, 3.6vw, 30px); font-weight: 800; line-height: 1.3; margin: 8px 0 10px; text-wrap: balance; word-break: break-all; }
.kvs { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; }
.kvs dt { color: var(--ink-3); }
.kvs dd { margin: 0; word-break: break-all; }

/* ---------- 首页两个入口 ---------- */
.entries { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.entry { display: flex; flex-direction: column; gap: 10px; color: var(--ink); min-height: 230px; }
.entry:hover { color: var(--ink); }
.entry h3 { font-size: 22px; margin: 4px 0 0; letter-spacing: .02em; }
.entry p { color: var(--ink-2); font-size: 14.5px; flex: 1; }
.e-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(91, 140, 255, .32), rgba(155, 107, 255, .32)); border: 1px solid rgba(160, 180, 255, .4); transition: transform .5s var(--ease), box-shadow .4s; }
.e-ico.mk { background: linear-gradient(135deg, rgba(43, 212, 196, .32), rgba(91, 140, 255, .3)); border-color: rgba(95, 230, 215, .4); }
.e-ico svg { width: 27px; height: 27px; stroke: #d3ddff; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.entry:hover .e-ico { transform: rotate(-8deg) scale(1.08); box-shadow: 0 10px 28px -8px rgba(110, 140, 255, .9); }
.e-go { font-weight: 700; color: #a9bcff; transition: transform .35s var(--ease), color .3s; }
.entry:hover .e-go { transform: translateX(6px); color: #fff; }
.bar-note { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }

/* ---------- 结果放在哪 ---------- */
.outrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 12px 14px; border-radius: 14px; background: rgba(8, 12, 26, .45); border: 1px solid var(--line-2); }
.outrow .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(91, 140, 255, .16); border: 1px solid rgba(140, 165, 255, .3); flex: none; }
.outrow .ico svg { width: 19px; height: 19px; stroke: #c6d4ff; fill: none; stroke-width: 1.7; stroke-linejoin: round; }
.o-main { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; }
.o-main .lbl { font-size: 12.5px; color: var(--ink-3); }
.o-main code { font: 13.5px/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; color: #dfe6fb; word-break: break-all; }
.outtype { display: flex; gap: 10px; margin-top: 10px; }
.outtype input { flex: 1; min-width: 0; }
p.saved { margin-top: 12px; word-break: break-all; }

/* ---------- 做项目表单 ---------- */
textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 11px; background: rgba(8, 12, 26, .55); color: var(--ink); font: inherit; line-height: 1.6; resize: vertical; transition: border-color .25s, box-shadow .25s, background .25s; }
textarea:hover { border-color: rgba(255, 255, 255, .22); }
textarea:focus { outline: 0; border-color: rgba(120, 150, 255, .9); box-shadow: 0 0 0 4px rgba(91, 140, 255, .2), 0 0 24px -4px rgba(91, 140, 255, .6); background: rgba(8, 12, 26, .8); }
textarea::placeholder { color: #5f6b86; }
.flist { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.flist:empty { display: none; }
.flist li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 7px 8px 7px 14px; border-radius: 11px; background: rgba(61, 220, 151, .07); border: 1px solid rgba(61, 220, 151, .28); animation: rise .4s var(--ease); }
.flist li.up { background: rgba(91, 140, 255, .08); border-color: rgba(120, 150, 255, .3); }
.flist li.bad { background: rgba(255, 107, 107, .08); border-color: rgba(255, 107, 107, .35); }
.flist .n { word-break: break-all; font-size: 14px; }
.f-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 6px; }
.f-l { font-size: 13.5px; color: var(--ink-2); font-weight: 600; letter-spacing: .03em; }

/* ---------- 记录 ---------- */
.kind { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 0 8px; margin-right: 8px; border-radius: 999px; vertical-align: 2px; }
.kind.rv2 { color: #b7c9ff; background: rgba(91, 140, 255, .16); border: 1px solid rgba(120, 150, 255, .35); }
.kind.mk { color: #9ff3e6; background: rgba(43, 212, 196, .13); border: 1px solid rgba(43, 212, 196, .35); }
.hist .s.sm { font-size: 22px; }
.hist .s small { font-size: 13px; margin-left: 2px; }
.badge.wait { background: rgba(255, 182, 72, .16); color: #ffd9a0; border-color: rgba(255, 182, 72, .45); }
.badge.wait::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 8px var(--warn); animation: blink 1.2s infinite; }
li.waiting .dot { border-color: var(--warn); background: #2a1e08; box-shadow: 0 0 0 0 rgba(255, 182, 72, .7); animation: pulsew 1.4s ease-out infinite; }
li.waiting .dot::after { content: "?"; color: var(--warn); }
li.waiting .t { color: #ffd9a0; }
@keyframes pulsew { 70% { box-shadow: 0 0 0 12px rgba(255, 182, 72, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 182, 72, 0); } }

/* ---------- 确认大纲 ---------- */
#r-outline.waiting { border-color: rgba(255, 182, 72, .5); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 182, 72, .25), 0 0 40px -10px rgba(255, 182, 72, .35); }
.oneliner { font-size: 18px; font-weight: 700; line-height: 1.5; margin-bottom: 14px; text-wrap: balance; }
.kvs.story { margin-bottom: 14px; }
.chap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 10px; margin-bottom: 6px; }
.chap div { padding: 10px 13px; border-radius: 12px; background: rgba(8, 12, 26, .45); border: 1px solid var(--line-2); border-top: 2px solid rgba(120, 150, 255, .6); }
.chap b { display: block; font-size: 14px; }
.chap span { font-size: 13px; color: var(--ink-3); }
ol.olist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
ol.olist li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; padding: 8px 10px; border-radius: 11px; background: rgba(8, 12, 26, .35); border: 1px solid transparent; transition: border-color .25s, background .25s; }
ol.olist li:hover { border-color: rgba(140, 165, 255, .4); background: rgba(91, 140, 255, .07); }
ol.olist li.cover, ol.olist li.end { background: rgba(91, 140, 255, .1); }
ol.olist .no { font: 700 14px/26px var(--num); text-align: center; color: #a9bcff; border-radius: 8px; background: rgba(91, 140, 255, .14); }
ol.olist b { display: block; font-weight: 600; font-size: 14.5px; }
ol.olist .pm { font-size: 12.5px; color: var(--ink-3); }
.confirm { margin-top: 18px; padding: 16px; border-radius: 14px; background: rgba(255, 182, 72, .07); border: 1px solid rgba(255, 182, 72, .32); }
.confirm > p { margin-bottom: 12px; color: #ffe6bf; }

/* ---------- 做项目的结果 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 10px; }
.stats div { border-radius: 13px; padding: 12px 14px; background: rgba(8, 12, 26, .5); border: 1px solid var(--line-2); transition: transform .35s var(--ease), border-color .3s; }
.stats div:hover { transform: translateY(-3px); border-color: rgba(140, 165, 255, .5); }
.stats b { display: block; font: 700 28px/1.2 var(--num); background: linear-gradient(180deg, #fff, #b9c9ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats small { color: var(--ink-3); font-size: 12.5px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 14px; margin-top: 18px; }
.shot { display: flex; flex-direction: column; gap: 4px; padding: 8px; border-radius: 14px; background: rgba(8, 12, 26, .45); border: 1px solid var(--line-2); color: var(--ink); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.shot:hover { transform: translateY(-4px); border-color: rgba(140, 165, 255, .55); box-shadow: 0 16px 36px -18px rgba(91, 140, 255, .9); color: var(--ink); }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; border-radius: 9px; background: #fff; }
.shot .cap { font-size: 13px; font-weight: 600; }
.shot .how { font-size: 12px; color: var(--ink-3); }
ul.skips { margin: 14px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 13.5px; }

/* ---------- 设置：每一项的测试 ---------- */
.slot .t-out:empty { display: none; }
.slot .t-out { margin: 4px 0 14px; }
.tline { padding: 9px 13px; border-radius: 11px; font-size: 13.5px; background: rgba(61, 220, 151, .09); border: 1px solid rgba(61, 220, 151, .35); color: #c9f6e0; animation: rise .4s var(--ease); }
.tline.warn { background: rgba(255, 182, 72, .09); border-color: rgba(255, 182, 72, .38); color: #ffe6bf; }
.tline.bad { background: rgba(255, 107, 107, .09); border-color: rgba(255, 107, 107, .4); color: #ffd3d3; }
.btn.s-btn.saved { border-color: rgba(61, 220, 151, .6); background: rgba(61, 220, 151, .14); color: #a6f5cf; }
.tline img { display: block; margin-top: 10px; max-width: 180px; border-radius: 10px; background: #fff; }
.role .r-test, .role #d-test { margin-bottom: 14px; }
.role.draw.own { background: linear-gradient(180deg, rgba(43, 212, 196, .1), rgba(91, 140, 255, .04)); border-color: rgba(95, 230, 215, .45); }
.savebar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; position: sticky; bottom: 14px; z-index: 5; padding: 12px 16px; border-radius: 16px; background: var(--grain), linear-gradient(150deg, rgba(30, 40, 78, .72), rgba(10, 16, 34, .7)); border: 1px solid rgba(255, 255, 255, .12); border-top-color: rgba(255, 255, 255, .22); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: 0 22px 48px -18px rgba(0, 0, 0, .85), var(--glass-edge); }
#test-out:empty { display: none; }
#setup { display: flex; flex-direction: column; gap: 20px; }

/* 卡片里的小面板：叠在大玻璃上的一层薄玻璃（上沿一道细高光），不再是死黑的凹槽 */
.role, .hist a.item, .outrow, .chap div, .stats div, .shot {
  background: linear-gradient(160deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012) 60%), rgba(6, 10, 24, .38);
  border-color: rgba(255, 255, 255, .08); border-top-color: rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.chap div { border-top: 2px solid rgba(120, 150, 255, .6); }
.role.own { background: linear-gradient(160deg, rgba(120, 155, 255, .16), rgba(155, 107, 255, .05) 60%), rgba(6, 10, 24, .3); border-color: rgba(140, 165, 255, .5); }
.role.draw.own { background: linear-gradient(160deg, rgba(43, 212, 196, .15), rgba(91, 140, 255, .05) 60%), rgba(6, 10, 24, .3); border-color: rgba(95, 230, 215, .45); }
.hist a.item:hover { background: linear-gradient(160deg, rgba(120, 155, 255, .16), rgba(91, 140, 255, .05)), rgba(6, 10, 24, .3); border-color: rgba(140, 165, 255, .55); }

#toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 80px); z-index: 40; padding: 10px 18px; border-radius: 12px; background: var(--grain), linear-gradient(150deg, rgba(34, 46, 90, .82), rgba(14, 20, 44, .82)); border: 1px solid rgba(140, 165, 255, .45); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .8), var(--glass-edge); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); opacity: 0; transition: transform .5s var(--ease), opacity .4s; pointer-events: none; max-width: min(92vw, 520px); }
#toast.on { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; padding-top: 10px; }
  .art { height: 210px; order: -1; }
  .result { grid-template-columns: 1fr; justify-items: center; }
  .result > div:last-child { width: 100%; }
  .card { padding: 18px; }
  .brand-t { display: none; }
  .trio { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  nav a { padding: 6px 11px; }
  .kvs { grid-template-columns: 1fr; gap: 0; }
  .kvs dd { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; filter: none; }
  #glow, #stars { display: none; }
}

/* ---------- 联网（2026-11-27）：开关、调研稿面板、回答故事问题 ---------- */
.web-row { margin-top: 14px; }
.web-row .web-tip { flex: 1 1 220px; min-width: 0; }
.web-row .seg input:disabled + * , .web-row .seg label:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.web-what { margin: 2px 0 6px; max-width: 72ch; }
.role.search.own, .role.search { margin-bottom: 0; }
.role.search .row { margin-bottom: 14px; }
.research { margin-bottom: 22px; padding: 16px 16px 6px; border-radius: 16px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(43, 212, 196, .12), rgba(91, 140, 255, .05) 55%), rgba(6, 10, 24, .32);
  border: 1px solid rgba(95, 230, 215, .38); border-top-color: rgba(150, 245, 235, .5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
.research::after { content: ""; position: absolute; inset: -40% -10% auto auto; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 212, 196, .22), transparent 70%); pointer-events: none; animation: drift 9s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-40px, 30px); } }
.research h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.research .r-ico svg { width: 22px; height: 22px; stroke: #7ff0e2; fill: none; stroke-width: 1.6; vertical-align: -4px; }
.research .note { margin-bottom: 12px; }
.stats.mini { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stats.mini b { font-size: 24px; }
.heart { margin: 6px 0 12px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 120, 160, .08); border: 1px solid rgba(255, 140, 175, .3); line-height: 1.6; }
.heart b { display: inline-block; margin-right: 10px; font-size: 12px; letter-spacing: .06em; color: #ffb3c8; }
.research > .row { margin: 4px 0 12px; }
.asks { margin: 6px 0 12px; padding: 14px; border-radius: 14px; background: rgba(255, 182, 72, .07); border: 1px solid rgba(255, 182, 72, .32); }
.asks > p { margin-bottom: 10px; color: #ffe6bf; }
.asks .f span { white-space: normal; line-height: 1.5; }
.asks textarea { margin-top: 4px; }
.ess { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 10px 0 2px; }
.badge.ess-full { background: rgba(61, 220, 151, .14); color: #a6f5cf; border-color: rgba(61, 220, 151, .4); }
.badge.ess-partial { background: rgba(255, 182, 72, .14); color: #ffd9a0; border-color: rgba(255, 182, 72, .4); }
.badge.ess-thin, .badge.ess-none { background: rgba(255, 107, 107, .14); color: #ffb5b5; border-color: rgba(255, 107, 107, .4); }
.web-sum { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .research::after { animation: none; } }

/* ---------- 评审之后：大改页草稿和图、小问题改动单（2026-11-27） ---------- */
.drafts { display: grid; gap: 16px; }
.dpage { padding: 14px 16px 16px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .08); border-top-color: rgba(255, 255, 255, .14);
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012) 60%), rgba(6, 10, 24, .38); }
.dhead { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.dhead .no { font: 700 13px/1 var(--num); color: #9fd8ff; padding: 4px 8px; border-radius: 8px; background: rgba(91, 140, 255, .18); border: 1px solid rgba(120, 150, 255, .35); }
.dhead b { font-size: 15.5px; line-height: 1.45; }
.dpage .pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; margin-top: 10px; }
.dpage figure { margin: 0; min-width: 0; }
.dpage figure img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 10px; background: #fff;
  border: 1px solid rgba(255, 255, 255, .12); transition: transform .4s var(--ease), box-shadow .4s; }
.dpage figure a:hover img { transform: translateY(-3px); box-shadow: 0 16px 36px -18px rgba(91, 140, 255, .9); }
.dpage figcaption { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; text-align: center; }
.dpage .arrow { font-size: 22px; color: #7ff0e2; text-shadow: 0 0 12px rgba(43, 212, 196, .7); }
.dpage .ph { aspect-ratio: 16 / 9; display: grid; place-items: center; border-radius: 10px; border: 1px dashed var(--line); color: var(--ink-3); font-size: 13px; }
.dfig { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 8px; border-radius: 12px; background: rgba(8, 12, 26, .45); border: 1px solid var(--line-2); color: var(--ink); }
.dfig img { width: 120px; aspect-ratio: 16 / 10; object-fit: contain; border-radius: 8px; background: #fff; flex: none; }
.dfig span { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: var(--ink-3); min-width: 0; }
.dfig b { color: var(--ink); font-size: 13.5px; }
@media (max-width: 560px) { .dpage .pair { grid-template-columns: 1fr; } .dpage .arrow { transform: rotate(90deg); justify-self: center; } }
ul.edits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
li.ed { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 13px; background: rgba(8, 12, 26, .45);
  border: 1px solid var(--line-2); border-left: 3px solid var(--good); transition: opacity .25s, border-color .25s; }
li.ed.off { border-left-color: var(--line); }
li.ed.off .ed-body > *:not(.ed-note) { opacity: .45; }
.acc { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; cursor: pointer; padding: 4px 10px 4px 8px; border-radius: 999px;
  border: 1px solid rgba(61, 220, 151, .45); background: rgba(61, 220, 151, .12); color: #a6f5cf; flex: none; user-select: none; }
li.ed.off .acc { border-color: var(--line); background: transparent; color: var(--ink-3); }
.acc input { width: 16px; height: 16px; margin: 0; accent-color: #3ddc97; cursor: pointer; }
.ed-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ed-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ed-diff { font-size: 14px; line-height: 1.6; word-break: break-all; }
.ed-diff del { color: #ffb5b5; background: rgba(255, 107, 107, .12); text-decoration: line-through; padding: 0 4px; border-radius: 4px; }
.ed-diff ins { color: #a6f5cf; background: rgba(61, 220, 151, .12); text-decoration: none; padding: 0 4px; border-radius: 4px; }
.ed-diff i { font-style: normal; color: var(--ink-3); margin: 0 6px; }
.ed-note { min-height: 0; padding: 7px 11px; font-size: 13.5px; }
.ed-note.on { border-color: rgba(255, 182, 72, .55); background: rgba(255, 182, 72, .08); }
.edbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 14px; padding: 12px 14px; border-radius: 14px;
  background: rgba(8, 12, 26, .5); border: 1px solid var(--line-2); position: sticky; bottom: 12px; z-index: 4; backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.edbar #ed-n { flex: 1; min-width: 8em; }

/* ---------- 写路演稿 ---------- */
.e-ico.pt { background: linear-gradient(135deg, rgba(255, 182, 72, .3), rgba(155, 107, 255, .3)); border-color: rgba(255, 200, 120, .4); }
.kind.pt { color: #ffd9a0; background: rgba(255, 182, 72, .12); border: 1px solid rgba(255, 182, 72, .35); }
#r-plan.waiting { border-color: rgba(255, 182, 72, .5); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 182, 72, .25), 0 0 40px -10px rgba(255, 182, 72, .35); }
ol.rem { margin: 0; padding-left: 18px; }
.tbl-wrap { overflow-x: auto; margin: 10px 0 14px; }
table.ptable { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 560px; }
table.ptable th { text-align: left; color: var(--ink-3); font-weight: 600; padding: 6px 10px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
table.ptable td { padding: 8px 10px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.ptable td:nth-child(2), table.ptable td:nth-child(3) { white-space: nowrap; }
.opening { margin: 12px 0; padding: 12px 14px; border-radius: 12px; background: rgba(91, 140, 255, .08); border: 1px solid rgba(120, 150, 255, .3); }
.opening b { display: block; margin-bottom: 6px; color: #b7c9ff; font-size: 13px; }
.opening p { margin: 0 0 4px; }
.pfix { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.pfix h3 { font-size: 16px; margin: 0 0 10px; }
.pfix .grid2 > div { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; min-width: 0; }
.pfix .grid2 .f { width: 100%; }
pre.fu { white-space: pre-wrap; word-break: break-all; margin: 8px 0 0; font-size: 12.5px; color: var(--ink-2); max-height: 260px; overflow: auto; }
details.plan-done { border-top: 0; margin-top: 0; padding-top: 0; }
.pfix .f-l { font-weight: 600; font-size: 14px; color: var(--ink); }
.pv-row { gap: 8px; flex-wrap: wrap; width: 100%; }
.pv-row input { flex: 1 1 140px; min-width: 0; }
.pfix .drop.mini { width: 100%; }

/* ---------- 在线版：顶上的账号、管理页 ---------- */
.me { display: flex; align-items: center; gap: 8px; font-size: 13.5px; flex-wrap: wrap; justify-content: flex-end; }
.me[hidden] { display: none; }
.me a { color: var(--ink-2); }
.me a:hover { color: #fff; }
.me .me-name { font-weight: 600; color: var(--ink); }
.btn.sm { padding: 4px 10px; font-size: 12.5px; min-height: 0; }
#us-list td:last-child, #cd-list td:last-child { white-space: nowrap; }
@media (max-width: 760px) { .top-in { flex-wrap: wrap; height: auto; padding-block: 8px; } .me { width: 100%; } }
