/* 工作台首页 / 活动中心 — 对齐设计稿，兼容 studio 明暗主题 */
:root {
  --wb-bg: #f4f5f7;
  --wb-surface: #ffffff;
  --wb-surface-2: #f1f3f6;
  --wb-surface-3: #e8ebf0;
  --wb-line: #e5e7eb;
  --wb-line-2: #d1d5db;
  --wb-ink: #111827;
  --wb-ink-2: #4b5563;
  --wb-ink-3: #6b7280;
  --wb-ink-4: #9ca3af;
  --wb-accent: #5f6cff;
  --wb-accent-soft: rgba(95, 108, 255, .12);
  --wb-gold: #b8860b;
  --wb-red: #ef4444;
  --wb-role: #0284c7;
  --wb-prop: #16a34a;
  --wb-scene: #ea580c;
  --wb-vfx: #7c3aed;
  --wb-camera: #ca8a04;
  --wb-audio: #db2777;
  --wb-template: #64748b;
  --wb-primary-grad: linear-gradient(135deg, #7c8cff, #5f6cff);
  --wb-radius: 14px;
  --wb-font: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

html.theme-dark,
html.studio-theme-dark,
body.theme-dark {
  --wb-bg: #0e1014;
  --wb-surface: #171a21;
  --wb-surface-2: #1f232c;
  --wb-surface-3: #252a35;
  --wb-line: #262b35;
  --wb-line-2: #3a4150;
  --wb-ink: #e6e8ec;
  --wb-ink-2: #a4abb6;
  --wb-ink-3: #6b7280;
  --wb-ink-4: #4b5563;
  --wb-accent: #7c8cff;
  --wb-accent-soft: rgba(124, 140, 255, .12);
  --wb-gold: #c8a45c;
  --wb-red: #f87171;
  --wb-role: #7dd3fc;
  --wb-prop: #86efac;
  --wb-scene: #fdba74;
  --wb-vfx: #d8b4fe;
  --wb-camera: #fcd34d;
  --wb-audio: #f9a8d4;
  --wb-template: #94a3b8;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: var(--wb-bg);
  color: var(--wb-ink);
  font-family: var(--wb-font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body { overflow-x: hidden; position: relative; }

/* 整页星辰背景 */
.wb-stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 12% -8%, rgba(90, 110, 220, .14), transparent 55%),
    radial-gradient(900px 500px at 88% 8%, rgba(140, 100, 220, .1), transparent 50%),
    radial-gradient(800px 480px at 50% 100%, rgba(40, 70, 160, .1), transparent 55%),
    linear-gradient(180deg, #07090f 0%, #0c1018 45%, #0a0d14 100%);
}
.wb-stars-layer {
  position: absolute;
  inset: -10%;
  background-repeat: repeat;
  will-change: transform, opacity;
}
.wb-stars-a {
  background-image:
    radial-gradient(1.2px 1.2px at 8% 12%, rgba(255,255,255,.75), transparent),
    radial-gradient(1px 1px at 22% 38%, rgba(210,220,255,.55), transparent),
    radial-gradient(1.4px 1.4px at 41% 18%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 58% 62%, rgba(180,200,255,.45), transparent),
    radial-gradient(1.2px 1.2px at 73% 28%, rgba(255,255,255,.65), transparent),
    radial-gradient(1px 1px at 86% 74%, rgba(200,210,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 15% 78%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 33% 55%, rgba(170,190,255,.4), transparent),
    radial-gradient(1.2px 1.2px at 67% 88%, rgba(255,255,255,.55), transparent),
    radial-gradient(1px 1px at 94% 42%, rgba(190,205,255,.45), transparent);
  background-size: 420px 420px;
  animation: wbStarDrift 90s linear infinite;
  opacity: .85;
}
.wb-stars-b {
  background-image:
    radial-gradient(1.6px 1.6px at 12% 22%, rgba(160,190,255,.7), transparent),
    radial-gradient(1px 1px at 28% 66%, rgba(255,255,255,.45), transparent),
    radial-gradient(2px 2px at 48% 14%, rgba(200,210,255,.8), transparent),
    radial-gradient(1px 1px at 62% 48%, rgba(140,170,255,.4), transparent),
    radial-gradient(1.4px 1.4px at 78% 82%, rgba(255,255,255,.55), transparent),
    radial-gradient(1px 1px at 91% 30%, rgba(180,200,255,.5), transparent),
    radial-gradient(1.8px 1.8px at 5% 90%, rgba(220,230,255,.65), transparent),
    radial-gradient(1px 1px at 38% 40%, rgba(160,180,255,.35), transparent);
  background-size: 560px 560px;
  animation: wbStarDrift 140s linear infinite reverse;
  opacity: .7;
}
.wb-stars-c {
  background-image:
    radial-gradient(2.2px 2.2px at 18% 30%, rgba(255,255,255,.9), transparent),
    radial-gradient(1.6px 1.6px at 55% 70%, rgba(170,200,255,.75), transparent),
    radial-gradient(1.2px 1.2px at 82% 18%, rgba(255,255,255,.7), transparent),
    radial-gradient(2px 2px at 35% 85%, rgba(190,210,255,.8), transparent);
  background-size: 720px 720px;
  animation: wbStarTwinkle 4.5s ease-in-out infinite alternate;
  opacity: .55;
}
.wb-stars-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(120, 140, 255, .06), transparent 28%),
    radial-gradient(circle at 75% 20%, rgba(180, 140, 255, .05), transparent 26%);
  animation: wbNebulaPulse 12s ease-in-out infinite alternate;
}
@keyframes wbStarDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-80px, 40px, 0); }
}
@keyframes wbStarTwinkle {
  from { opacity: .35; }
  to { opacity: .75; }
}
@keyframes wbNebulaPulse {
  from { opacity: .7; }
  to { opacity: 1; }
}
html.theme-dark .wb-stars,
html.studio-theme-dark .wb-stars,
body.theme-dark .wb-stars {
  background:
    radial-gradient(1200px 600px at 12% -8%, rgba(90, 110, 220, .16), transparent 55%),
    radial-gradient(900px 500px at 88% 8%, rgba(140, 100, 220, .12), transparent 50%),
    radial-gradient(800px 480px at 50% 100%, rgba(40, 70, 160, .12), transparent 55%),
    linear-gradient(180deg, #06080e 0%, #0a0e16 45%, #080b12 100%);
}
/* 亮色主题弱化星空，保留轻微氛围 */
html:not(.theme-dark):not(.studio-theme-dark) body:not(.theme-dark) .wb-stars {
  opacity: .35;
  mix-blend-mode: multiply;
  background:
    radial-gradient(1000px 500px at 15% 0%, rgba(124, 140, 255, .12), transparent 55%),
    radial-gradient(800px 400px at 90% 10%, rgba(180, 160, 255, .08), transparent 50%),
    linear-gradient(180deg, #eef0f6 0%, #f4f5f7 100%);
}
html:not(.theme-dark):not(.studio-theme-dark) body:not(.theme-dark) .wb-stars-layer {
  opacity: .25;
  animation: none;
}

.wb-page {
  position: relative;
  z-index: 1;
  padding: 24px 28px 72px;
  max-width: min(1360px, 100%);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
  .wb-stars-layer,
  .wb-stars-glow {
    animation: none !important;
  }
}

.wb-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid var(--wb-line);
  background: var(--wb-surface-2);
  color: var(--wb-ink-2);
  transition: all .2s;
  font-weight: 500;
  font-family: inherit;
}
.wb-btn:hover { color: var(--wb-ink); border-color: var(--wb-line-2); transform: translateY(-1px); }
.wb-btn.primary {
  background: var(--wb-primary-grad);
  color: #fff;
  border: 0;
  box-shadow: 0 6px 20px rgba(95, 108, 255, .35);
}
.wb-btn.primary:hover { opacity: .92; }
.wb-btn.gold {
  background: linear-gradient(135deg, #c8a45c, #a8843a);
  color: #14100a;
  border: 0;
  box-shadow: 0 6px 20px rgba(200, 164, 92, .3);
}
.wb-btn.ghost { background: transparent; border: 1px dashed var(--wb-line-2); }
.wb-btn.ghost:hover { border-color: var(--wb-accent); color: var(--wb-accent); }
.wb-btn i, .wb-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.wb-btn.small { padding: 6px 12px; font-size: 14px; border-radius: 8px; }

.wb-hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
}
.wb-hero-main {
  background: linear-gradient(135deg, rgba(124, 140, 255, .14), rgba(216, 180, 254, .08) 55%, rgba(124, 140, 255, .04));
  border: 1px solid rgba(124, 140, 255, .25);
  border-radius: 18px;
  padding: 30px 32px;
  position: relative;
  overflow: hidden;
}
.wb-hero-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 200px at 90% 0%, rgba(124, 140, 255, .22), transparent 60%);
  pointer-events: none;
}
.wb-hero-main .greet {
  font-size: 13px;
  color: var(--wb-accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
}
.wb-hero-main h1 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: .5px;
}
.wb-hero-main h1 .hl {
  background: linear-gradient(90deg, #9db0ff, #c4a8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wb-hero-main p {
  font-size: 15px;
  color: var(--wb-ink-2);
  line-height: 1.8;
  margin: 0 0 20px;
  max-width: 560px;
}
.wb-hero-main p b { color: var(--wb-ink); }
.wb-hero-acts {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.wb-hero-side { display: flex; flex-direction: column; gap: 12px; }
.wb-user-card {
  background: var(--wb-surface);
  border: 1px solid var(--wb-line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}
.wb-user-card .u-av {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--wb-primary-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}
.wb-user-card .u-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wb-user-card .u-info h4 .vip {
  font-size: 11px;
  background: linear-gradient(90deg, #c8a45c, #e8d9b0);
  color: #14100a;
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 700;
}
.wb-user-card .u-info p {
  font-size: 13px;
  color: var(--wb-ink-3);
  margin: 3px 0 0;
}
.wb-user-card .u-go { margin-left: auto; color: var(--wb-ink-4); }
.wb-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wb-stat {
  background: var(--wb-surface);
  border: 1px solid var(--wb-line);
  border-radius: 12px;
  padding: 13px 14px;
  cursor: pointer;
  transition: all .18s;
}
.wb-stat:hover { border-color: var(--wb-line-2); transform: translateY(-1px); }
.wb-stat .v { font-size: 20px; font-weight: 700; font-family: ui-monospace, monospace; }
.wb-stat .l {
  font-size: 13px;
  color: var(--wb-ink-3);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.wb-stat .d { font-size: 11px; color: var(--wb-prop); margin-top: 2px; }
.wb-stat .d.dn { color: var(--wb-scene); }

.wb-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
.wb-promo-card {
  border-radius: 14px;
  padding: 18px 22px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all .22s cubic-bezier(.16, 1, .3, 1);
  border: 1px solid;
  text-align: left;
  font-family: inherit;
  color: inherit;
  width: 100%;
}
.wb-promo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}
.wb-promo-card .pc-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9px;
  letter-spacing: .5px;
  margin-bottom: 10px;
}
.wb-promo-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 5px; }
.wb-promo-card p { font-size: 14px; opacity: .85; line-height: 1.6; margin: 0 0 12px; }
.wb-promo-card .pc-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
}
.wb-promo-card .pc-time {
  position: absolute;
  bottom: 18px;
  right: 22px;
  font-size: 12px;
  opacity: .7;
  font-family: ui-monospace, monospace;
}
.wb-promo-card .pc-big {
  position: absolute;
  right: -14px;
  bottom: -18px;
  font-size: 88px;
  opacity: .14;
  transform: rotate(-8deg);
  pointer-events: none;
}
.wb-promo-card.pc-gold {
  background: linear-gradient(135deg, rgba(200, 164, 92, .16), rgba(124, 140, 255, .06));
  border-color: rgba(200, 164, 92, .3);
}
.wb-promo-card.pc-gold .pc-tag { background: rgba(200, 164, 92, .2); color: var(--wb-gold); }
.wb-promo-card.pc-gold .pc-cta { color: var(--wb-gold); }
.wb-promo-card.pc-violet {
  background: linear-gradient(135deg, rgba(139, 92, 246, .16), rgba(216, 180, 254, .06));
  border-color: rgba(139, 92, 246, .3);
}
.wb-promo-card.pc-violet .pc-tag { background: rgba(139, 92, 246, .2); color: var(--wb-vfx); }
.wb-promo-card.pc-violet .pc-cta { color: var(--wb-vfx); }

.wb-quick {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.wb-qcard {
  background: var(--wb-surface);
  border: 1px solid var(--wb-line);
  border-radius: 12px;
  padding: 15px 12px;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
  font-family: inherit;
  color: inherit;
}
.wb-qcard:hover {
  border-color: var(--wb-line-2);
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .12);
}
.wb-qcard .ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin: 0 auto 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wb-qcard h5 { font-size: 14px; font-weight: 600; margin: 0; }
.wb-qcard p { font-size: 12px; color: var(--wb-ink-3); margin: 3px 0 0; }
.wb-q1 { background: rgba(125, 211, 252, .12); color: var(--wb-role); }
.wb-q2 { background: rgba(139, 92, 246, .14); color: var(--wb-vfx); }
.wb-q3 { background: rgba(134, 239, 172, .12); color: var(--wb-prop); }
.wb-q4 { background: rgba(252, 211, 77, .12); color: var(--wb-camera); }
.wb-q-fx { background: rgba(216, 180, 254, .14); color: var(--wb-vfx); }
.wb-q5 { background: rgba(125, 211, 252, .12); color: var(--wb-role); }
.wb-q5 { background: rgba(249, 168, 212, .12); color: var(--wb-audio); }
.wb-q6 { background: rgba(148, 163, 184, .15); color: var(--wb-template); }

.wb-content {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
}
.wb-sec { margin-bottom: 24px; }
.wb-sec-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
}
.wb-sec-head h2 { font-size: 17px; font-weight: 700; margin: 0; }
.wb-sec-head .more {
  margin-left: auto;
  font-size: 14px;
  color: var(--wb-ink-3);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 0;
  font-family: inherit;
  padding: 0;
}
.wb-sec-head .more:hover { color: var(--wb-accent); }

.wb-proj-list { display: flex; flex-direction: column; gap: 10px; }
.wb-proj {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--wb-surface);
  border: 1px solid var(--wb-line);
  border-radius: 13px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all .2s;
  text-align: left;
  width: 100%;
  font-family: inherit;
  color: inherit;
}
.wb-proj:hover {
  border-color: var(--wb-line-2);
  transform: translateX(3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .1);
}
.wb-proj .thumb {
  width: 58px;
  height: 44px;
  border-radius: 9px;
  background: linear-gradient(135deg, #2a3142, #1a1e27);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  overflow: hidden;
  color: #fff;
}
.wb-proj .thumb img { width: 100%; height: 100%; object-fit: cover; }
.wb-proj .info { flex: 1; min-width: 0; }
.wb-proj .info h5 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wb-proj .info .meta {
  font-size: 13px;
  color: var(--wb-ink-3);
  margin-top: 3px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.wb-st {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 600;
  flex-shrink: 0;
}
.wb-st.going { background: rgba(124, 140, 255, .15); color: var(--wb-accent); }
.wb-st.done { background: rgba(134, 239, 172, .15); color: var(--wb-prop); }
.wb-st.idle { background: rgba(148, 163, 184, .15); color: var(--wb-template); }

.wb-gen-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.wb-gen {
  width: 92px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--wb-line);
  cursor: pointer;
  transition: all .2s;
  background: var(--wb-surface);
  padding: 0;
  font-family: inherit;
  color: inherit;
}
.wb-gen:hover { border-color: var(--wb-line-2); transform: translateY(-2px); }
.wb-gen .im {
  height: 62px;
  background: linear-gradient(135deg, #2a3142, #1a1e27);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  overflow: hidden;
  color: #fff;
}
.wb-gen .im img, .wb-gen .im video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wb-gen .tt {
  font-size: 12px;
  color: var(--wb-ink-2);
  padding: 6px 8px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wb-guide {
  background: linear-gradient(135deg, rgba(200, 164, 92, .1), rgba(124, 140, 255, .06));
  border: 1px solid rgba(200, 164, 92, .22);
  border-radius: 13px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
#wbTeamAlertCard {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #fffdfc);
  border: 1px solid #d8493f;
  box-shadow: 0 10px 26px -14px rgba(216, 73, 63, .5);
}
#wbTeamAlertCard::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0; width: 3.5px;
  background: linear-gradient(180deg, #f2a06a, #d8493f);
}
#wbTeamAlertCard h5 {
  color: #d8493f;
  font-size: 13px;
}
#wbTeamAlertCard h5::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: #d8493f;
  animation: teamAlertPulse 1.4s infinite;
}
@keyframes teamAlertPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
#wbTeamAlertCard .go {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 8px;
  background: #0e8f9a;
  color: #fff;
  font-weight: 600;
}
/* 引导卡挂在 Hero 右侧：填账号卡下方空白，首屏可见 */
.wb-hero-side .wb-guide {
  margin-bottom: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}
.wb-hero-side .wb-guide .steps {
  flex-wrap: wrap;
  row-gap: 6px;
}
.wb-guide h5 {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 8px;
}
.wb-guide h5 .g {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(200, 164, 92, .2);
  color: var(--wb-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.wb-guide .steps {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--wb-ink-2);
  align-items: center;
  flex-wrap: wrap;
}
.wb-guide .steps span {
  background: var(--wb-surface-2);
  border: 1px solid var(--wb-line);
  padding: 4px 9px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.wb-guide .steps .ar { color: var(--wb-ink-4); padding: 0; border: 0; background: none; }
.wb-guide .go {
  margin-top: 10px;
  font-size: 13px;
  color: var(--wb-gold);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 0;
  font-family: inherit;
  padding: 0;
}

.wb-notice-list { display: flex; flex-direction: column; gap: 8px; }
.wb-notice-row {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--wb-surface);
  border: 1px solid var(--wb-line);
  border-radius: 11px;
  padding: 11px 14px;
  cursor: pointer;
  transition: all .16s;
  text-align: left;
  width: 100%;
  font-family: inherit;
  color: inherit;
}
.wb-notice-row:hover { border-color: var(--wb-line-2); transform: translateX(3px); }
.wb-n-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 7px;
  font-weight: 700;
  flex-shrink: 0;
}
.wb-nt-activity { background: rgba(200, 164, 92, .18); color: var(--wb-gold); }
.wb-nt-news { background: rgba(139, 92, 246, .18); color: var(--wb-vfx); }
.wb-nt-system { background: rgba(148, 163, 184, .18); color: var(--wb-template); }
.wb-notice-row .n-title {
  flex: 1;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wb-notice-row .n-time { font-size: 12px; color: var(--wb-ink-4); flex-shrink: 0; }

.wb-feed { display: flex; flex-direction: column; gap: 9px; }
.wb-feed-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--wb-surface);
  border: 1px solid var(--wb-line);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--wb-ink-2);
}
.wb-feed-item .f-ic {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--wb-accent-soft);
  color: var(--wb-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wb-feed-item .f-t {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wb-feed-item .f-time { font-size: 12px; color: var(--wb-ink-4); flex-shrink: 0; }

.wb-empty {
  padding: 28px 16px;
  text-align: center;
  color: var(--wb-ink-3);
  font-size: 14px;
  background: var(--wb-surface);
  border: 1px dashed var(--wb-line);
  border-radius: 12px;
}

/* 活动中心页头 */
.wb-act-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.wb-act-head h1 { font-size: 28px; font-weight: 700; margin: 0 0 6px; }
.wb-act-head p { margin: 0; font-size: 15px; color: var(--wb-ink-2); }
.wb-act-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.wb-act-tab {
  border: 1px solid var(--wb-line);
  background: var(--wb-surface);
  color: var(--wb-ink-3);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.wb-act-tab.on {
  background: var(--wb-accent-soft);
  color: var(--wb-accent);
  border-color: transparent;
  font-weight: 600;
}
.wb-act-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.wb-act-card {
  background: var(--wb-surface);
  border: 1px solid var(--wb-line);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: all .2s;
  text-align: left;
  font-family: inherit;
  color: inherit;
  width: 100%;
}
.wb-act-card:hover {
  border-color: var(--wb-line-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}
.wb-act-card .tag {
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 8px;
  margin-bottom: 10px;
  background: rgba(200, 164, 92, .18);
  color: var(--wb-gold);
}
.wb-act-card h3 { font-size: 18px; margin: 0 0 6px; }
.wb-act-card p { font-size: 14px; color: var(--wb-ink-2); line-height: 1.6; margin: 0 0 12px; }
.wb-act-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--wb-ink-3);
}

/* 活动详情弹窗 */
.wb-modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(8, 9, 12, .72);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}
.wb-modal-bg.open { display: flex; animation: wbFadeIn .2s ease; }
@keyframes wbFadeIn { from { opacity: 0; } to { opacity: 1; } }
.wb-modal {
  background: var(--wb-surface);
  border: 1px solid var(--wb-line);
  border-radius: 18px;
  width: 620px;
  max-width: 100%;
  max-height: 86vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: wbModalIn .3s cubic-bezier(.16, 1, .3, 1);
}
@keyframes wbModalIn {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.wb-modal-hero {
  background: linear-gradient(135deg, rgba(200, 164, 92, .2), rgba(124, 140, 255, .1));
  padding: 26px 28px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--wb-line);
}
.wb-modal-hero .m-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 9px;
  background: rgba(200, 164, 92, .25);
  color: var(--wb-gold);
  margin-bottom: 12px;
}
.wb-modal-hero h3 { font-size: 22px; font-weight: 700; margin: 0 0 6px; }
.wb-modal-hero p { font-size: 14px; color: var(--wb-ink-2); line-height: 1.7; margin: 0; }
.wb-modal-hero .m-x {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 0, 0, .3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 0;
}
.wb-modal-body { padding: 22px 28px; overflow-y: auto; flex: 1; }
.wb-modal-body h4 { font-size: 16px; font-weight: 700; margin: 18px 0 9px; }
.wb-modal-body h4:first-child { margin-top: 0; }
.wb-modal-body ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; }
.wb-modal-body li {
  display: flex;
  gap: 9px;
  font-size: 14px;
  color: var(--wb-ink-2);
  line-height: 1.6;
}
.wb-modal-body li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--wb-gold);
  flex-shrink: 0;
  margin-top: 7px;
}
.wb-reward-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wb-reward {
  background: var(--wb-surface-2);
  border: 1px solid var(--wb-line);
  border-radius: 10px;
  padding: 13px;
  text-align: center;
}
.wb-reward .r-v { font-size: 19px; font-weight: 700; color: var(--wb-gold); }
.wb-reward .r-l { font-size: 13px; color: var(--wb-ink-3); margin-top: 3px; }
.wb-modal-foot {
  padding: 14px 28px;
  border-top: 1px solid var(--wb-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--wb-surface-2);
  gap: 12px;
}
.wb-modal-foot .ct { font-size: 13px; color: var(--wb-ink-3); }
.wb-modal-foot .ct b { color: var(--wb-gold); }

/* ===== 工作台增强（仅首页 Hero / Skill / Plan） ===== */
.wb-hero-workbench .wb-hero-main { gap: 0; }
.wb-inspire {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 12px 10px 14px;
  background: var(--wb-surface);
  border: 1.5px solid rgba(20, 179, 173, 0.45);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(20, 179, 173, 0.1);
}
.wb-inspire-ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(20, 179, 173, 0.12);
  color: #0f766e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wb-inspire-ico i, .wb-inspire-ico svg { width: 16px; height: 16px; }
.wb-inspire-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: var(--wb-ink);
  padding: 6px 0;
}
.wb-inspire-input::placeholder { color: var(--wb-ink-4); }
.wb-inspire-go { flex-shrink: 0; white-space: nowrap; }
.wb-inspire-sop {
  flex-shrink: 0; white-space: nowrap;
  background: transparent;
  border: 1px solid var(--wb-line-2);
  color: var(--wb-ink);
  border-radius: 999px;
  padding: 0 16px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}
.wb-inspire-sop.is-busy,
.wb-inspire-sop:disabled {
  opacity: 0.7;
  cursor: wait;
}
.wb-inspire-sop:hover {
  border-color: var(--wb-accent);
  color: var(--wb-accent);
  background: var(--wb-accent-soft);
}
.wb-inspire-sop i, .wb-inspire-sop svg { width: 15px; height: 15px; }
.wb-start-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.wb-start-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--wb-line);
  background: var(--wb-surface);
  color: var(--wb-ink-2);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.wb-start-btn:hover {
  border-color: rgba(20, 179, 173, 0.45);
  color: #0f766e;
}
.wb-start-btn i, .wb-start-btn svg { width: 14px; height: 14px; }
.wb-quick-ideas, .wb-tpl-row { margin-top: 16px; }
.wb-qi-lab {
  font-size: 13px;
  color: var(--wb-ink-3);
  letter-spacing: .02em;
  margin-bottom: 8px;
}
.wb-qi-row, .wb-tpl-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wb-qi-chip {
  appearance: none;
  border: 1px solid var(--wb-line);
  background: var(--wb-surface);
  color: var(--wb-ink-2);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
}
.wb-qi-chip:hover {
  border-color: rgba(20, 179, 173, 0.45);
  color: #0f766e;
  background: rgba(20, 179, 173, 0.05);
}
.wb-tpl-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--wb-line);
  background: var(--wb-surface);
  border-radius: 12px;
  padding: 8px 12px;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  text-align: left;
}
.wb-tpl-chip:hover { border-color: rgba(20, 179, 173, 0.45); }
.wb-tpl-chip .ti {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wb-tpl-chip .ti i, .wb-tpl-chip .ti svg { width: 14px; height: 14px; }
.wb-tpl-chip .ti.c1 { background: rgba(20, 179, 173, 0.12); color: #0f766e; }
.wb-tpl-chip .ti.c2 { background: rgba(77, 143, 214, 0.12); color: #3b82f6; }
.wb-tpl-chip .ti.c3 { background: rgba(138, 99, 210, 0.12); color: #8b5cf6; }
.wb-tpl-chip .ti.c4 { background: rgba(209, 143, 34, 0.12); color: #b45309; }
.wb-tpl-chip b { display: block; font-size: 15px; font-weight: 600; }
.wb-tpl-chip small { display: block; font-size: 13px; color: var(--wb-ink-3); margin-top: 1px; }

.wb-plan-legend {
  background: var(--wb-surface);
  border: 1px solid var(--wb-line);
  border-radius: 12px;
  padding: 12px 14px;
}
.wb-plan-legend-t {
  font-size: 13px;
  color: var(--wb-ink-3);
  margin-bottom: 8px;
}
.wb-plan-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  align-items: center;
}
.wb-plan-steps .step {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--wb-ink-4);
  padding: 2px 6px;
}
.wb-plan-steps .step .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wb-line-2);
}
.wb-plan-steps .step.done { color: #0f766e; }
.wb-plan-steps .step.done .dot { background: #14b3ad; }
.wb-plan-steps .step.cur {
  color: #b45309;
  background: rgba(209, 143, 34, 0.1);
  border-radius: 6px;
}
.wb-plan-steps .step.cur .dot { background: #d18f22; }
.wb-plan-steps.is-legend .step { color: var(--wb-ink-3); }
.wb-proj .wb-plan-steps { margin-top: 8px; }

.wb-skills-sec { margin-bottom: 22px; }
.wb-skills-sec .wb-sec-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}
.wb-skills-sec .wb-sec-head h2 { margin: 0; font-size: 18px; }
.wb-sec-sub { font-size: 14px; color: var(--wb-ink-3); }
.wb-skills {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.wb-skill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--wb-line);
  background: var(--wb-surface);
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  text-align: left;
  transition: border-color .15s, transform .15s;
}
.wb-skill:hover {
  border-color: rgba(20, 179, 173, 0.4);
  transform: translateY(-1px);
}
.wb-skill .si {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.wb-skill .si i, .wb-skill .si svg { width: 15px; height: 15px; }
.wb-skill .si.s1 { background: rgba(20, 179, 173, 0.12); color: #0f766e; }
.wb-skill .si.s2 { background: rgba(77, 143, 214, 0.12); color: #3b82f6; }
.wb-skill .si.s3 { background: rgba(2, 132, 199, 0.12); color: #0284c7; }
.wb-skill .si.s4 { background: rgba(124, 140, 255, 0.12); color: #5f6cff; }
.wb-skill .si.s5 { background: rgba(209, 143, 34, 0.14); color: #b45309; }
.wb-skill .si.s6 { background: rgba(2, 132, 199, 0.12); color: #0284c7; }
.wb-skill .t { font-size: 15px; font-weight: 600; }
.wb-skill .d { font-size: 13px; color: var(--wb-ink-3); }

html.theme-dark .wb-inspire,
html.studio-theme-dark .wb-inspire {
  border-color: rgba(45, 212, 191, 0.4);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}
html.theme-dark .wb-inspire-ico,
html.studio-theme-dark .wb-inspire-ico {
  color: #99f6e4;
  background: rgba(45, 212, 191, 0.14);
}

@media (max-width: 980px) {
  .wb-page { padding: 20px 16px 60px; }
  .wb-hero, .wb-content, .wb-promo, .wb-act-grid { grid-template-columns: 1fr; }
  .wb-quick { grid-template-columns: repeat(3, 1fr); }
  .wb-skills { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wb-inspire { flex-wrap: wrap; }
  .wb-inspire-go { width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
  .wb-quick { grid-template-columns: repeat(2, 1fr); }
  .wb-stats { grid-template-columns: 1fr; }
  .wb-skills { grid-template-columns: 1fr; }
}

/* ===== 首页氛围动效 + 新手引导 + 真 3D 栏位 ===== */
.wb-page {
  animation: wbPageIn .55s cubic-bezier(.22, 1, .36, 1);
}
@keyframes wbPageIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.wb-hero-workbench {
  position: relative;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr);
  align-items: stretch;
  gap: 16px;
}
.wb-hero-workbench .wb-hero-main,
.wb-hero-workbench .wb-hero-side {
  position: relative;
  z-index: 1;
}
.wb-hero-workbench .wb-hero-main {
  position: relative;
}
@media (max-width: 980px) {
  .wb-hero-workbench {
    grid-template-columns: 1fr;
  }
}
.wb-inspire {
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.wb-inspire:focus-within {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(95, 108, 255, .16);
}
.wb-guide .wb-onboard-replay {
  margin-top: 10px;
  width: 100%;
  justify-content: center;
}

/* ===== 聚光灯新手引导 ===== */
.wb-coach {
  position: fixed;
  inset: 0;
  z-index: 1400;
  pointer-events: none;
}
.wb-coach[hidden] { display: none !important; }
.wb-coach-scrim {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: auto;
}
.wb-coach.is-parent-step .wb-coach-scrim {
  background: rgba(6, 8, 14, .52);
}
.wb-coach-hole {
  position: fixed;
  border-radius: 14px;
  box-shadow: 0 0 0 9999px rgba(6, 8, 14, .62);
  outline: 2px solid rgba(160, 176, 255, .85);
  background: transparent;
  pointer-events: none;
  transition: top .28s cubic-bezier(.22,1,.36,1), left .28s cubic-bezier(.22,1,.36,1),
    width .28s cubic-bezier(.22,1,.36,1), height .28s cubic-bezier(.22,1,.36,1);
  z-index: 1;
}
.wb-coach-pulse {
  position: fixed;
  border-radius: 16px;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 0 0 0 rgba(124, 140, 255, .55);
  animation: wbCoachPulse 1.6s ease-out infinite;
  transition: top .28s cubic-bezier(.22,1,.36,1), left .28s cubic-bezier(.22,1,.36,1),
    width .28s cubic-bezier(.22,1,.36,1), height .28s cubic-bezier(.22,1,.36,1);
}
@keyframes wbCoachPulse {
  0% { box-shadow: 0 0 0 0 rgba(124, 140, 255, .5); }
  70% { box-shadow: 0 0 0 18px rgba(124, 140, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(124, 140, 255, 0); }
}
.wb-coach-tip {
  position: fixed;
  z-index: 3;
  width: min(320px, calc(100vw - 24px));
  padding: 16px 16px 14px;
  border-radius: 14px;
  border: 1px solid var(--wb-line);
  background: var(--wb-surface);
  color: var(--wb-ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .32);
  pointer-events: auto;
  animation: wbCoachTipIn .35s cubic-bezier(.22,1,.36,1);
}
@keyframes wbCoachTipIn {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.wb-coach-kicker {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--wb-accent);
  font-weight: 700;
  margin-bottom: 6px;
}
.wb-coach-tip h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--wb-ink);
}
.wb-coach-tip p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--wb-ink-2);
}
.wb-coach-acts {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}
.wb-coach-target {
  position: relative;
  z-index: 1410 !important;
}
