:root {
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: #f6f4fb;
  background: #0c0c10;
  --bg: #0d0d11;
  --panel: #1b1b21;
  --panel2: #23232b;
  --text: #f7f3fb;
  --muted: #9c9aa6;
  --line: rgba(255,255,255,.08);
  --pink: #f335b8;
  --purple: #bb35ee;
  --blue: #12a9ff;
  --white: #fff;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #101014; }
button, input, textarea, select { font: inherit; }
button.danger { background: #9f2636; color: #fff; }
button { cursor: pointer; }
#app {
  width: min(100%, 580px);
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: 82px;
  background: var(--bg);
  overflow: hidden;
}
.page { min-height: calc(100vh - 82px); }
.light { background: #f7f7f8; color: #141418; }
.topbar {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 20px;
}
.topbar h1 { margin: 0; font-size: 24px; }
.back { position: absolute; left: 20px; border: 0; background: none; color: inherit; font-size: 34px; }
.wechat-pill {
  position: absolute; right: 14px; top: 34px;
  height: 44px; min-width: 144px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(25,25,31,.72);
  color: #fff; display: flex; align-items: center; justify-content: space-around;
  font-weight: 900; font-size: 24px;
}
.light .wechat-pill { background: #fff; color: #111; border-color: #e8e8ec; }

.home-hero {
  position: relative;
  min-height: 305px;
  padding: 28px 20px 18px;
  background:
    radial-gradient(circle at 78% 48%, rgba(30,205,255,.55), transparent 14%),
    radial-gradient(circle at 82% 0%, rgba(243,53,184,.46), transparent 28%),
    linear-gradient(135deg, rgba(20,24,70,.96), rgba(11,14,26,.84)),
    url("/media/thumb/candidate_014.jpg");
  background-size: cover;
  background-position: center;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 900; }
.logo {
  width: 32px; height: 32px; border-radius: 4px;
  background: #1457b9; display: grid; place-items: center;
  font-size: 10px; color: #fff; font-weight: 900;
}
.hero-title {
  margin-top: 70px; max-width: 300px;
  font-size: 38px; line-height: 1.08; font-weight: 900;
  color: #56ffd6; text-shadow: 0 0 16px rgba(86,255,214,.35);
}
.hero-badge {
  display: inline-block; margin-top: 10px; padding: 5px 18px; border-radius: 999px;
  background: linear-gradient(90deg, #33f4d1, #9ff989); color: #0f4354; font-weight: 900;
}
.ai-cube {
  position: absolute; right: 42px; top: 118px;
  width: 116px; height: 96px; border-radius: 22px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(42,231,255,.9), rgba(42,113,255,.72));
  color: white; font-size: 48px; font-weight: 900;
  box-shadow: 0 0 34px rgba(55,210,255,.62);
}
.metrics {
  margin: -17px 20px 18px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: 12px; overflow: hidden;
  background: linear-gradient(110deg, rgba(31,111,85,.86), rgba(37,28,105,.86));
  position: relative; z-index: 2;
}
.metric { padding: 13px 4px; text-align: center; }
.metric strong { display: block; font-size: 20px; color: #fff; }
.metric span { display: block; margin-top: 6px; font-size: 13px; color: #bdbad0; }

.quick-area { padding: 0 20px; }
.primary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.big-card {
  min-height: 150px; border: 0; border-radius: 7px; color: #fff; font-weight: 900;
  background: radial-gradient(circle at 35% 20%, #8520d6, transparent 42%), linear-gradient(145deg, #8b16d2, #ee246f);
}
.big-card:nth-child(2) { background: linear-gradient(145deg, #28295d, #9d213f); }
.big-card i, .quick-card i { display: block; font-style: normal; color: var(--pink); font-size: 38px; line-height: 1; margin-bottom: 10px; }
.big-card i { color: #fff; }
.big-card strong { display: block; font-size: 22px; }
.big-card span { display: inline-block; margin-top: 8px; padding: 4px 13px; border-radius: 999px; background: rgba(255,255,255,.18); }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.quick-card {
  min-height: 108px; border: 0; border-radius: 6px;
  background: #1a1a1f; color: #fff; font-weight: 900; font-size: 16px;
}

.section { padding: 20px; }
.section-title { margin: 0 0 16px; font-size: 22px; font-weight: 900; }
.section-title::after {
  content: ""; display: block; width: 34px; height: 4px; margin-top: 8px;
  border-radius: 99px; background: var(--pink);
}
.news { margin: 0; padding-left: 20px; color: #d6d3df; line-height: 2; font-size: 16px; }
.news b { color: #08a5ff; }

.library-hero {
  position: relative; min-height: 230px; padding: 86px 22px 0;
  background: #0e2d58;
  color: white;
  overflow: hidden;
}
.library-hero::before {
  content: "岩板大板粘贴\A 用对界面剂";
  white-space: pre; position: absolute; left: 58px; top: 76px;
  color: rgba(255,255,255,.34); font-size: 34px; font-weight: 900; line-height: 1.05;
}
.library-logo {
  position: relative; z-index: 2; width: 90px; height: 90px; border-radius: 4px; background: white; color: #1457b9;
  display: grid; place-items: center; font-weight: 900; font-size: 24px; box-shadow: 0 10px 20px rgba(0,0,0,.18);
}
.library-title { position: absolute; left: 128px; top: 116px; z-index: 2; font-weight: 900; font-size: 22px; }
.library-sub { position: absolute; left: 128px; top: 148px; z-index: 2; color: rgba(255,255,255,.75); }
.library-tabs {
  position: relative; z-index: 3; margin-top: 20px; height: 74px; display: grid; grid-template-columns: 1fr 1fr;
  background: #fff; border-radius: 28px 28px 0 0; overflow: hidden;
}
.library-tabs button { border: 0; background: #fff; font-size: 22px; font-weight: 900; color: #85858d; }
.library-tabs button.active {
  color: #17171a;
  background: linear-gradient(120deg, #fff, #ffe7ec);
}
.library-tabs button.active::after {
  content: ""; display: block; width: 42px; height: 4px; margin: 8px auto 0; border-radius: 99px; background: var(--pink);
}
.library-body { background: #f7f7f8; color: #151519; margin-top: -1px; min-height: calc(100vh - 230px); }
.search { padding: 18px 22px 10px; }
.search input {
  width: 100%; border: 0; background: white; padding: 15px 20px; border-radius: 999px; outline: none;
  font-size: 17px; color: #222;
}
.category-scroller { position: relative; }
.chips {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 8px 22px 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; width: 0; height: 0; }
.chip {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  font-weight: 900;
  color: #999;
  font-size: 18px;
  padding: 7px 0;
  white-space: nowrap;
}
.chip.active { color: #111; }
.chip.active::after { content: ""; display: block; width: 38px; height: 4px; border-radius: 99px; background: var(--pink); margin: 7px auto 0; }
.chip-track {
  position: relative;
  height: 6px;
  margin: 0 22px 16px;
  border-radius: 999px;
  background: #e0e0e5;
  overflow: hidden;
}
.chip-track span {
  position: absolute;
  top: 0;
  width: 28%;
  max-width: 150px;
  min-width: 72px;
  height: 100%;
  border-radius: inherit;
  background: #c6c6ce;
  transition: left .22s ease;
}
.topic-card {
  margin: 0 22px 18px; padding: 26px 24px;
  background: #efeff1; border-radius: 8px; color: #1a1a1e; position: relative;
}
.topic-card .tag {
  position: absolute; top: 0; right: 0; padding: 11px 14px; border-radius: 0 8px 0 12px;
  background: #f0c4ff; color: #e12af0; font-weight: 900;
}
.topic-meta { color: #aaa; line-height: 1.45; margin-bottom: 24px; }
.topic-card h3 { margin: 0 0 12px; font-size: 21px; line-height: 1.45; }
.topic-card p { margin: 0; color: #57575f; font-size: 17px; line-height: 1.9; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #ddd; }
.card-actions button { border: 0; border-radius: 6px; background: #fff; color: #e12af0; padding: 12px 6px; font-weight: 900; }

.material-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 20px 20px; }
.material-grid.with-action-bar { padding-bottom: 118px; }
.material { min-height: 178px; position: relative; overflow: hidden; border: 0; border-radius: 10px; background: #ddd; color: #fff; text-align: left; }
.material img, .material video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.material::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.82)); }
.material-copy { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; }
.material-copy strong { display: block; font-size: 15px; }
.material-copy small { color: rgba(255,255,255,.78); }
.material.selected { outline: 4px solid var(--pink); outline-offset: -4px; }
.checkmark { display: none; position: absolute; z-index: 3; right: 10px; top: 10px; background: var(--pink); color: #fff; border-radius: 999px; width: 28px; height: 28px; place-items: center; }
.material.selected .checkmark { display: grid; }
.video-badge { position: absolute; z-index: 4; left: 9px; top: 9px; padding: 5px 8px; border-radius: 999px; background: rgba(0,0,0,.68); color: #fff; font-size: 11px; font-weight: 900; pointer-events: none; }
.material-preview-btn {
  position: absolute;
  z-index: 5;
  right: 9px;
  top: 9px;
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255,255,255,.9);
  color: #111;
  font-size: 12px;
  font-weight: 900;
}
.selected-count {
  position: sticky; bottom: 82px; margin: 0 18px 14px; z-index: 5;
  background: rgba(28,28,34,.96); color: #fff; border-radius: 12px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center;
}
.selected-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.selected-count button { padding: 9px 12px; border-radius: 8px; border: 0; font-weight: 900; }

.material-action-bar {
  position: fixed;
  left: 50%;
  bottom: 72px;
  z-index: 28;
  transform: translateX(-50%);
  width: min(100%, 580px);
  display: grid;
  grid-template-columns: .8fr .8fr .8fr 1.55fr;
  gap: 10px;
  padding: 14px 20px 18px;
  background: #fff;
  border-top: 1px solid #ececf1;
  box-shadow: 0 -10px 24px rgba(20,20,30,.08);
}
.material-action-bar button {
  min-height: 58px;
  border: 0;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 900;
}
.material-preview-action,
.material-clear-btn {
  background: #f0f0f4;
  color: #111;
}
.material-download-btn {
  background: #f0f0f4;
  color: #111;
}
.material-create-btn {
  background: linear-gradient(90deg, var(--purple), #df2f64);
  color: #fff;
}
.material-create-btn small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255,255,255,.82);
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: end center;
  padding: 20px;
  background: rgba(0,0,0,.52);
}
.material-preview-modal {
  position: relative;
  width: min(100%, 480px);
  max-height: calc(100vh - 44px);
  overflow: auto;
  border-radius: 24px 24px 16px 16px;
  background: #fff;
  color: #15151a;
  box-shadow: 0 24px 70px rgba(0,0,0,.34);
}
.modal-close {
  position: absolute;
  z-index: 2;
  right: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.58);
  color: #fff;
  font-size: 24px;
}
.material-preview-media {
  position: relative;
  aspect-ratio: 9 / 12;
  background: #111;
}
.material-preview-media img,
.material-preview-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.material-preview-info { padding: 18px; }
.material-preview-info span { color: #8b8790; font-weight: 900; font-size: 13px; }
.material-preview-info h3 { margin: 8px 0; font-size: 22px; }
.material-preview-info p { margin: 0 0 16px; color: #77747f; line-height: 1.65; }
.preview-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.preview-actions button {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: #f0f0f4;
  color: #15151a;
  font-weight: 900;
}
.preview-actions .primary {
  background: linear-gradient(90deg, var(--purple), #df2f64);
  color: #fff;
}

.create-shell { padding: 0 20px 24px; }
.stepper { display: flex; align-items: center; padding: 4px 0 22px; }
.step-dot { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #34343d; color: #aaa; font-weight: 900; }
.step-dot.active { color: #fff; background: linear-gradient(90deg, var(--purple), var(--pink)); }
.step-line { flex: 1; height: 2px; background: #34343d; }
.form-card { background: #19191f; border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin-bottom: 14px; }
.form-card h3 { margin: 0 0 14px; font-size: 20px; }
.notice { color: #b9b6c2; line-height: 1.8; }
.field { display: block; color: #dedbe6; font-weight: 800; margin-bottom: 14px; }
.field input, .field textarea {
  width: 100%; margin-top: 8px; border: 0; border-radius: 10px; background: #272730; color: #fff; padding: 13px;
}
.field textarea { min-height: 210px; line-height: 1.7; resize: vertical; }
.primary, .secondary, .ghost {
  border: 0; border-radius: 10px; padding: 13px 16px; font-weight: 900;
}
.primary, .secondary { background: linear-gradient(90deg, var(--purple), #db2d5d); color: #fff; }
.ghost { background: #303038; color: #fff; }
.full { width: 100%; }

.dynamic-tabs { display: flex; gap: 16px; padding: 0 24px 18px; }
.dynamic-tabs button { border: 0; border-radius: 999px; padding: 10px 18px; background: #3a3449; color: #cfc9dd; font-weight: 900; }
.dynamic-tabs button.active { background: #fff; color: #111; }
.dynamic-list { padding: 0 24px 24px; }
.work-tabs { padding-left: 20px; }
.works-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 20px 28px; }
.work-card { overflow: hidden; border-radius: 14px; background: #19191f; border: 1px solid var(--line); cursor: pointer; }
.work-cover { position: relative; aspect-ratio: 9 / 12; background: #111; }
.work-cover img { width: 100%; height: 100%; object-fit: cover; }
.work-cover::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.work-cover span { position: absolute; z-index: 2; right: 8px; bottom: 8px; padding: 5px 8px; border-radius: 999px; background: rgba(0,0,0,.68); font-size: 11px; }
.work-copy { padding: 12px; }
.work-copy strong { display: block; line-height: 1.45; }
.work-copy p { margin: 7px 0; color: #77747f; font-size: 11px; }
.work-copy div { display: flex; gap: 5px; flex-wrap: wrap; }
.work-copy b { padding: 4px 6px; border-radius: 999px; background: rgba(226,42,240,.12); color: var(--pink); font-size: 10px; }
.dynamic-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.dynamic-kind { color: var(--pink); font-size: 20px; font-weight: 900; display: flex; justify-content: space-between; }
.dynamic-kind time { color: #74717c; font-size: 14px; }
.dynamic-item h3 { font-size: 20px; line-height: 1.5; margin: 18px 0 8px; }
.dynamic-item p { color: #9995a2; line-height: 1.7; font-size: 16px; margin: 0 0 14px; }
.task-status-row { display: flex; justify-content: space-between; color: #ddd; margin: 14px 0 8px; }
.task-status-row b { color: var(--pink); }
.task-progress { height: 10px; border-radius: 999px; background: #2d2d35; overflow: hidden; margin-bottom: 14px; }
.task-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--purple), var(--pink)); transition: width .25s; }
.dynamic-item .task-cost { font-size: 13px; color: #77747f; }
.dynamic-media { display: grid; grid-template-columns: 136px 1fr; gap: 0; background: #202027; border-radius: 8px; overflow: hidden; margin: 12px 0; }
.dynamic-media img { width: 136px; height: 160px; object-fit: cover; }
.tags { padding: 18px; color: #77727f; line-height: 1.8; }
.row-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.row-actions button { border: 0; border-radius: 8px; background: #303038; color: #ddd; padding: 10px 12px; font-weight: 800; }
.action-link { display: inline-block; border-radius: 8px; background: #303038; color: #ddd; padding: 10px 12px; font-weight: 800; text-decoration: none; }

.profile-head {
  padding: 54px 20px 16px;
  background: radial-gradient(circle at 40% 0%, rgba(100,65,188,.45), transparent 40%), #101014;
}
.profile-title { text-align: center; font-size: 24px; font-weight: 900; margin-bottom: 28px; }
.profile-row { display: flex; align-items: center; gap: 18px; }
.avatar-img { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, #fff, #6df3dc); display: grid; place-items: center; font-size: 34px; }
.profile-row h2 { margin: 0 0 8px; font-size: 23px; }
.profile-row p { margin: 0; color: #9a97a3; }
.edit-btn { margin-left: auto; border: 0; border-radius: 999px; background: #202027; color: #8e8b95; padding: 12px 16px; font-weight: 900; }
.balance-card {
  margin-top: 24px; padding: 18px 20px; border-radius: 10px;
  background: linear-gradient(90deg, #7b2be9, #a20742);
  font-size: 20px; font-weight: 900;
}
.profile-menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 8px; padding: 24px 14px 10px; }
.profile-menu button { border: 0; background: none; color: #cfccd5; font-weight: 900; font-size: 14px; }
.profile-menu i { display: block; font-style: normal; font-size: 31px; color: #c7c5cd; margin-bottom: 8px; }
.system-shell { padding: 0 20px 30px; }
.system-hero {
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, #6029d8, #c71363);
  box-shadow: 0 14px 34px rgba(141,34,177,.26);
}
.system-hero span { color: rgba(255,255,255,.72); font-weight: 800; }
.system-hero h2 { margin: 8px 0; font-size: 22px; overflow-wrap: anywhere; }
.system-hero p { margin: 0; color: rgba(255,255,255,.76); line-height: 1.7; }
.status-grid { display: grid; gap: 12px; margin: 16px 0; }
.status-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #19191f;
}
.status-grid article div { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.status-grid article b { font-size: 17px; }
.status-grid article span { padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.status-grid article.ready span { color: #45d99a; background: rgba(69,217,154,.12); }
.status-grid article.pending span { color: #ffbe65; background: rgba(255,190,101,.12); }
.status-grid article p { margin: 10px 0 0; color: #8f8b98; line-height: 1.6; overflow-wrap: anywhere; }
.compute-shell { padding: 0 20px 28px; }
.compute-balance { padding: 24px; border-radius: 20px; background: linear-gradient(120deg, #722bd8, #b40b4c); box-shadow: 0 16px 34px rgba(126,24,156,.28); }
.compute-balance span, .compute-balance small { display: block; color: rgba(255,255,255,.72); }
.compute-balance strong { display: block; margin: 8px 0; font-size: 44px; }
.compute-package, .transaction-card { margin-top: 16px; padding: 18px; border-radius: 16px; background: #19191f; border: 1px solid var(--line); }
.compute-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.compute-head b, .compute-head span { display: block; }
.compute-head span, .compute-head strong { color: #8e8998; font-size: 13px; margin-top: 5px; }
.compute-shop { margin-top: 16px; }
.compute-desc { margin: 10px 0 0; color: #8e8998; font-size: 13px; line-height: 1.6; }
.compute-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; color: #8e8998; font-size: 13px; }
.compute-actions button { width: auto; padding: 9px 14px; border-radius: 999px; background: linear-gradient(135deg, var(--purple), var(--pink)); color: white; font-weight: 900; }
.compute-bar { height: 12px; margin: 18px 0 8px; overflow: hidden; border-radius: 999px; background: #31313a; }
.compute-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--purple), var(--pink)); }
.compute-numbers { display: flex; justify-content: space-between; color: #8e8998; font-size: 13px; }
.transaction-card .asset-head span { color: #77747f; }
.transaction-list { display: grid; }
.transaction-row { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.transaction-row b, .transaction-row time { display: block; }
.transaction-row time { margin-top: 6px; color: #77747f; font-size: 12px; }
.transaction-row strong { font-size: 18px; }
.transaction-row .income { color: #45d99a; }
.transaction-row .expense { color: #ff668b; }
.tutorial-shell { padding: 0 20px 28px; }
.tutorial-chips { padding-left: 0; padding-right: 0; }
.tutorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tutorial-card { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: 14px; background: #19191f; color: #fff; text-align: left; }
.tutorial-card img { width: 100%; height: 132px; object-fit: cover; display: block; }
.tutorial-card div { padding: 13px; }
.tutorial-card small { color: var(--pink); font-weight: 900; }
.tutorial-card strong { display: block; margin: 7px 0; font-size: 16px; line-height: 1.4; }
.tutorial-card p { margin: 0; color: #8f8b98; font-size: 13px; line-height: 1.5; }
.tutorial-duration { position: absolute; right: 8px; top: 98px; padding: 5px 8px; border-radius: 999px; background: rgba(0,0,0,.7); font-size: 11px; }
.tutorial-detail { padding: 0 20px 30px; }
.tutorial-cover, .tutorial-detail video { width: 100%; max-height: 360px; object-fit: cover; border-radius: 18px; background: #111; }
.tutorial-label { display: inline-block; margin-top: 18px; color: var(--pink); font-weight: 900; }
.tutorial-detail h2 { margin: 10px 0; font-size: 25px; }
.tutorial-summary { color: #aaa5b2; line-height: 1.7; }
.tutorial-content { margin-top: 20px; padding: 18px; border-radius: 16px; background: #19191f; border: 1px solid var(--line); }
.tutorial-content p { margin: 0 0 14px; color: #ddd9e4; line-height: 1.8; }
.tutorial-content p:last-child { margin-bottom: 0; }
.subaccount-shell { padding: 0 20px 28px; }
.subaccount-cancel { margin-top: 10px; }
.subaccount-list { display: grid; gap: 12px; }
.subaccount-card { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 16px; border-radius: 16px; background: #19191f; border: 1px solid var(--line); }
.subaccount-avatar { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--pink)); font-size: 20px; font-weight: 900; }
.subaccount-info strong, .subaccount-info span { display: block; }
.subaccount-info span { margin-top: 5px; color: #888491; font-size: 13px; }
.account-status { padding: 5px 8px; border-radius: 999px; background: #38343d; color: #aaa5b2; font-size: 12px; }
.account-status.enabled { background: rgba(53,211,143,.15); color: #43dc99; }
.subaccount-card .row-actions { grid-column: 2 / -1; }
.field select { width: 100%; margin-top: 8px; border: 0; border-radius: 10px; background: #272730; color: #fff; padding: 13px; }
.contact-shell, .about-shell { padding: 0 20px 30px; }
.contact-hero { padding: 24px; border-radius: 20px; background: linear-gradient(135deg, #6f2cdc, #af0c51); }
.contact-hero span { color: rgba(255,255,255,.72); }
.contact-hero h2 { margin: 8px 0; font-size: 28px; }
.contact-hero p { margin: 0; color: rgba(255,255,255,.74); }
.contact-list { display: grid; gap: 12px; margin-top: 16px; }
.contact-list a, .contact-list button { display: grid; grid-template-columns: 90px 1fr auto; gap: 10px; align-items: center; width: 100%; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: #19191f; color: #fff; text-decoration: none; text-align: left; }
.contact-list span, .contact-list i { color: #888491; font-style: normal; font-size: 13px; }
.contact-list strong { overflow-wrap: anywhere; }
.about-shell { text-align: center; }
.about-logo { width: 88px; height: 88px; display: grid; place-items: center; margin: 10px auto 16px; border-radius: 24px; background: linear-gradient(135deg, #23d5ff, #7334ee); font-size: 36px; font-weight: 900; box-shadow: 0 16px 38px rgba(69,84,255,.28); }
.about-shell h2 { margin: 0 0 6px; font-size: 28px; }
.about-shell > span { color: #77747f; }
.about-shell > p { margin: 28px 0; color: #aaa5b2; line-height: 1.9; text-align: left; }
.about-capabilities { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #19191f; text-align: left; }
.about-capabilities b { width: 100%; margin-bottom: 6px; }
.about-capabilities span { padding: 7px 10px; border-radius: 999px; background: #2b2b34; color: #c2bdca; font-size: 13px; }
.asset-manager { padding: 0 20px 30px; }
.managed-assets { display: grid; gap: 12px; }
.managed-assets article { display: grid; grid-template-columns: 92px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 15px; background: #19191f; border: 1px solid var(--line); }
.managed-assets img, .managed-assets video { width: 92px; height: 118px; object-fit: cover; border-radius: 10px; background: #111; }
.managed-assets strong, .managed-assets span { display: block; }
.managed-assets span { margin-top: 6px; color: #888491; font-size: 13px; }
.managed-assets button { padding: 9px; }
.asset-actions { display: grid; gap: 8px; }
.asset-actions button {
  min-width: 60px;
  border: 0;
  border-radius: 10px;
  background: #2a2a32;
  color: #fff;
  font-weight: 900;
}
.asset-actions button:disabled {
  opacity: .42;
  cursor: not-allowed;
}
.voice-assets article { grid-template-columns: 72px 1fr auto; }
.voice-assets img { width: 72px; height: 72px; }
.voice-assets audio { width: 100%; max-width: 240px; margin-top: 10px; height: 34px; }
.viral-shell { padding: 0 20px 30px; }
.remix-source { display: inline-block; margin-bottom: 10px; padding: 6px 9px; border-radius: 999px; background: rgba(224,42,240,.14); color: var(--pink); font-size: 12px; font-weight: 900; }
.shot-list { display: grid; gap: 8px; }
.shot-list p { margin: 0; padding: 10px; border-radius: 9px; background: #272730; color: #aaa5b2; font-size: 13px; }
.creation-assets { margin: 0 20px 18px; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid #e8e8eb; }
.creation-assets h3 { margin: 0 0 6px; }
.creation-assets > p { margin: 0 0 14px; color: #777; font-size: 12px; line-height: 1.6; }
.creation-assets > strong { display: block; margin: 12px 0 8px; }
.asset-choice-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.asset-choice-row button { flex: 0 0 94px; min-height: 68px; padding: 7px; border: 2px solid transparent; border-radius: 10px; background: #f0f0f3; color: #333; font-size: 12px; }
.asset-choice-row button.selected { border-color: var(--pink); background: #fff2fc; }
.asset-choice-row img { width: 100%; height: 54px; object-fit: cover; border-radius: 7px; display: block; margin-bottom: 6px; }
.voice-choice-row button { flex-basis: 130px; min-height: 48px; }
.work-assets-summary { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.work-assets-summary span { padding: 7px 9px; border-radius: 999px; background: #282831; color: #aaa5b2; font-size: 12px; }
.asset-section { padding: 14px 20px 18px; }
.asset-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.asset-head h2 { margin: 0; font-size: 22px; }
.asset-head button { border: 0; background: none; color: #77747f; font-size: 18px; font-weight: 900; }
.asset-scroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.asset-card, .add-card {
  flex: 0 0 126px; height: 166px; border: 0; border-radius: 5px; background: #202027; color: #9995a2;
  position: relative; overflow: hidden; text-align: center;
}
.asset-card img { width: 100%; height: 100%; object-fit: cover; }
.asset-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px; background: linear-gradient(transparent, rgba(0,0,0,.82)); color: #fff; text-align: left; font-size: 13px; }
.add-card { display: grid; place-items: center; font-size: 16px; }
.add-card b { display: block; font-size: 60px; font-weight: 200; line-height: 1; }

.profile-form { padding: 0 36px 24px; }
.progress-row { display: grid; grid-template-columns: 90px 1fr 56px; gap: 12px; align-items: center; margin: 8px 0 34px; color: #111; font-size: 18px; }
.bar { height: 18px; border-radius: 999px; background: #e6e6ec; overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--purple), var(--pink)); border-radius: inherit; }
.profile-fields { background: #fff; border-radius: 10px; padding: 14px 22px; }
.profile-fields label { display: flex; justify-content: space-between; gap: 18px; padding: 20px 0; border-bottom: 1px solid #eee; font-weight: 900; }
.profile-fields label:last-child { border-bottom: 0; }
.profile-fields input { border: 0; text-align: right; outline: none; color: #111; min-width: 0; flex: 1; background: transparent; }
.required::before { content: "*"; color: #d32f2f; margin-right: 2px; }
.save-profile { width: 100%; margin-top: 48px; border-radius: 14px; font-size: 22px; padding: 18px; }

.segmented-tabs {
  width: 310px;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 4px auto 22px;
  padding: 5px;
  border-radius: 10px;
  background: #f1f1f5;
}
.segmented-tabs button {
  border: 0;
  border-radius: 8px;
  padding: 16px 10px;
  background: transparent;
  color: #777;
  font-weight: 900;
  font-size: 18px;
}
.segmented-tabs button.active { background: #fff; color: #111; box-shadow: 0 2px 10px rgba(20,20,30,.05); }
.light .compute-shell { padding: 0 30px 34px; }
.light .compute-balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 132px;
  color: #fff;
  background: linear-gradient(110deg, #b632ef, #dc2b5f);
}
.light .compute-balance strong { margin: 0 0 8px; font-size: 32px; }
.light .compute-balance span { font-size: 17px; font-weight: 900; color: rgba(255,255,255,.92); }
.light .compute-balance button {
  border: 0;
  border-radius: 14px 0 0 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,.68);
  color: #111;
  font-weight: 900;
}
.light .compute-package, .light .transaction-card {
  background: #f5f6fa;
  border-color: #eef0f5;
  color: #17171a;
}
.compute-tag {
  display: inline-block;
  padding: 9px 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--purple), #dc2d60);
  color: #fff;
  font-weight: 900;
}
.compute-package-count { margin-top: 28px; color: #5a5a61; font-weight: 700; }
.light .compute-bar { background: #efd4f3; height: 6px; }
.light .compute-numbers { color: #999; font-size: 15px; }
.light .transaction-row { border-top-color: #e8e8ed; }
.light .transaction-row time { color: #94949a; font-size: 15px; }
.light .transaction-row .income { color: #ff5968; }
.light .transaction-row .expense { color: #d12aff; }
.total-package { opacity: .9; }

.library-page, .my-topics-page { padding: 0 24px 34px; }
.library-page .search, .my-topics-page .search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
}
.library-page .search span, .my-topics-page .search span { color: #cfcfd5; font-size: 28px; line-height: 1; }
.library-page .search input, .my-topics-page .search input { padding: 16px 0; background: transparent; }
.library-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 24px 0 18px;
  border-bottom: 1px solid #ededf0;
}
.library-tabs button {
  position: relative;
  border: 0;
  background: transparent;
  padding: 14px 0 20px;
  color: #8d8d95;
  font-size: 18px;
  font-weight: 900;
}
.library-tabs button.active { color: #111; }
.library-tabs button.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 58px;
  height: 4px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--purple), var(--pink));
}
.library-list { display: grid; gap: 18px; }
.library-card {
  display: grid;
  grid-template-columns: 74px 1fr 108px;
  gap: 14px;
  align-items: center;
  padding: 22px;
  border-radius: 10px;
  background: #fff;
}
.library-card img, .library-icon {
  width: 60px;
  height: 60px;
  border-radius: 5px;
  object-fit: cover;
}
.library-icon {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #e90074, #b32eff);
  font-size: 24px;
  font-weight: 900;
}
.library-card h3 { margin: 0 0 10px; font-size: 20px; }
.library-card h3 small {
  margin-left: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff0ff;
  color: #e02af0;
  font-size: 13px;
}
.library-card p { margin: 0; color: #8c8c92; }
.library-card button {
  border: 0;
  border-radius: 4px;
  padding: 14px 10px;
  color: #fff;
  font-weight: 900;
  font-size: 17px;
  background: linear-gradient(90deg, var(--purple), #db2d5d);
}
.library-leave { background: linear-gradient(90deg, #b62ce5, #d92c5f) !important; }

.library-mini-scroll, .work-mini-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.library-mini-scroll::-webkit-scrollbar, .work-mini-scroll::-webkit-scrollbar { display: none; }
.library-mini-card {
  flex: 0 0 124px;
  min-height: 134px;
  position: relative;
  border: 0;
  border-radius: 5px;
  padding: 16px 8px 12px;
  background: #202027;
  color: #9f9ba8;
  text-align: center;
}
.library-mini-card img, .library-mini-card .library-icon { width: 58px; height: 58px; margin: 0 auto 12px; }
.library-mini-card small {
  position: absolute;
  left: 0;
  top: 0;
  padding: 3px 8px;
  border-radius: 5px 0 8px 0;
  background: rgba(255,255,255,.12);
  color: #aaa5b2;
  font-size: 11px;
}
.library-mini-card b { display: block; font-size: 15px; }
.library-empty { flex-basis: 180px; }
.work-mini-card {
  flex: 0 0 126px;
  height: 168px;
  border: 0;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background: #050505;
  color: #fff;
}
.work-mini-card img { width: 100%; height: 100%; object-fit: cover; }
.work-mini-card span:not(.failed-mark) {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.22);
  font-size: 28px;
}
.failed-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 42px auto 10px;
  border: 4px solid #fff;
  border-radius: 50%;
  font-size: 30px;
  font-weight: 900;
}
.work-mini-card b { display: block; font-size: 19px; }
.topic-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.topic-mini-card {
  min-height: 90px;
  position: relative;
  border: 0;
  border-radius: 8px;
  padding: 14px 18px;
  background: #202027;
  color: #9995a2;
  text-align: left;
  font-weight: 900;
}
.topic-mini-card small {
  position: absolute;
  left: 0;
  top: 0;
  padding: 4px 8px;
  border-radius: 8px 0 8px 0;
  background: rgba(255,255,255,.11);
  font-size: 11px;
}
.topic-mini-card b { display: block; margin-top: 12px; font-size: 17px; }
.topic-mini-card span { position: absolute; right: 12px; top: 38px; color: #aaa5b2; letter-spacing: 2px; }
.add-topic-mini { color: #9995a2; font-size: 18px; display: grid; place-items: center; text-align: center; }

.topic-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.topic-search-row > button {
  border: 0;
  background: transparent;
  color: #111;
  font-size: 18px;
  white-space: nowrap;
}
.topic-tip {
  margin: 18px -24px 16px;
  padding: 12px 24px;
  background: #fff3ff;
  color: #cd1ee4;
  font-size: 15px;
  line-height: 1.6;
}
.topic-list { display: grid; gap: 0; background: #fff; }
.topic-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #ececf0;
}
.topic-row strong { font-size: 20px; font-weight: 500; }
.topic-actions { display: flex; gap: 10px; align-items: center; }
.topic-actions button {
  border: 0;
  background: transparent;
  color: #777;
  font-size: 22px;
}
.topic-actions button:first-child {
  padding: 10px 13px;
  border-radius: 999px;
  background: #fff0ff;
  color: #e02af0;
  font-size: 15px;
  font-weight: 900;
}
.topic-actions button:first-child:disabled { color: #aaa; background: #eee; }
.topic-end { padding: 22px 0; color: #bbb; text-align: center; }
.new-topic-btn { margin-top: 18px; padding: 18px; border-radius: 8px; font-size: 22px; }
.manage-list { background: transparent; }
.topic-manage-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid #ececf0;
  padding: 18px 0;
  background: #fff;
  text-align: left;
}
.select-dot {
  width: 22px;
  height: 22px;
  display: inline-block;
  border: 2px solid #d9d9df;
  border-radius: 50%;
  vertical-align: middle;
}
.select-dot.selected { border-color: var(--pink); background: radial-gradient(circle at center, var(--pink) 48%, transparent 51%); }
.topic-bottom-bar {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 16px;
  align-items: center;
  margin-top: 34px;
}
.topic-bottom-bar button {
  border: 0;
  border-radius: 8px;
  padding: 18px;
  background: transparent;
  color: #111;
  font-size: 18px;
}
.topic-bottom-bar .danger-action {
  color: #fff;
  background: linear-gradient(90deg, var(--purple), #db2d5d);
  font-weight: 900;
}

.topic-detail-page, .compute-rule-page, .my-topic-form {
  padding: 0 24px 34px;
}
.topic-detail-card, .rule-hero, .light-card {
  border-radius: 18px;
  background: #fff;
  color: #15151a;
  box-shadow: 0 12px 28px rgba(30,30,45,.06);
}
.topic-detail-card { padding: 24px; }
.topic-detail-card .tag { position: static; display: inline-block; margin-bottom: 14px; }
.topic-detail-card h2 { margin: 8px 0 12px; font-size: 27px; line-height: 1.35; }
.topic-summary { margin: 0 0 18px; color: #777; font-size: 17px; line-height: 1.75; }
.topic-body {
  padding: 18px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  color: #333;
  font-size: 17px;
  line-height: 1.9;
}
.topic-detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.topic-publish-tips {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
}
.topic-publish-tips b { font-size: 18px; }
.topic-publish-tips span {
  padding: 10px 12px;
  border-radius: 999px;
  background: #fff3ff;
  color: #c829df;
  font-size: 14px;
}
.rule-hero { padding: 24px; background: linear-gradient(120deg, #b632ef, #dc2b5f); color: #fff; }
.rule-hero span { color: rgba(255,255,255,.78); font-weight: 900; }
.rule-hero h2 { margin: 10px 0; font-size: 26px; line-height: 1.35; }
.rule-hero p { margin: 0; color: rgba(255,255,255,.78); line-height: 1.7; }
.rule-list { display: grid; gap: 12px; margin: 16px 0; }
.rule-list article { padding: 18px; border-radius: 14px; background: #fff; color: #15151a; }
.rule-list b { display: block; margin-bottom: 8px; font-size: 18px; }
.rule-list p { margin: 0; color: #777; line-height: 1.65; }
.light-card { padding: 20px; }
.light-card .field input { background: #f3f3f6; color: #111; }
.switch-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 16px 0 22px;
  font-weight: 900;
}
.switch-field input { width: 24px; height: 24px; accent-color: #d92cda; }

.work-preview { padding: 0 20px 24px; }
.render-frame {
  display: block;
  width: min(100%, 330px);
  aspect-ratio: 9 / 16;
  margin: 0 auto 18px;
  border: 0;
  border-radius: 22px;
  background: #111;
  box-shadow: 0 18px 38px rgba(0,0,0,.35);
}
.phone-video {
  position: relative;
  width: min(100%, 330px);
  aspect-ratio: 9 / 16;
  margin: 0 auto 18px;
  border-radius: 22px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 18px 38px rgba(0,0,0,.35);
}
.phone-video img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.82); }
.play-mask {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: white; text-align: center;
}
.play-mask b {
  display: grid; place-items: center;
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  font-size: 34px;
}
.play-mask span { position: absolute; right: 16px; top: 16px; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.45); }
.caption-line {
  position: absolute; left: 18px; right: 18px; bottom: 24px;
  color: white; font-size: 24px; line-height: 1.25; font-weight: 900;
  text-shadow: 0 2px 10px rgba(0,0,0,.65);
}
.tags-detail { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.tags-detail span { padding: 7px 10px; border-radius: 999px; background: #2b2b33; color: #bbb6c6; }
.publish-package-card {
  margin: 14px 0;
  padding: 14px;
  border-radius: 18px;
  background: rgba(226,42,240,.08);
  border: 1px solid rgba(226,42,240,.18);
}
.publish-package-card .asset-head { margin-bottom: 10px; }
.publish-hashtags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.publish-hashtags span { padding: 7px 10px; border-radius: 999px; background: rgba(226,42,240,.14); color: var(--pink); font-weight: 900; font-size: 12px; }
.publish-tips { display: grid; gap: 8px; margin-top: 10px; }
.publish-tips p { margin: 0; color: #8e8998; font-size: 13px; line-height: 1.55; }

.bottom-nav {
  position: fixed; left: 50%; bottom: 0; z-index: 30; transform: translateX(-50%);
  width: min(100%, 580px); height: 72px; display: grid; grid-template-columns: repeat(4, 1fr);
  background: #202020; border-top: 1px solid rgba(255,255,255,.08);
}
.bottom-nav button { border: 0; background: transparent; color: #86868c; font-size: 13px; font-weight: 800; }
.bottom-nav span { display: block; font-size: 24px; margin-bottom: 3px; }
.bottom-nav button.active { color: #fff; }
.toast { position: fixed; z-index: 60; left: 50%; bottom: 95px; transform: translate(-50%, 18px); opacity: 0; pointer-events: none; background: rgba(66,66,66,.92); color: white; padding: 14px 18px; border-radius: 8px; max-width: 380px; text-align: center; transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 760px) {
  body { padding: 8px 0; }
  #app { border-radius: 6px; }
}
