/* 夜夜笙歌 / yaya.live — original dark visual identity (NOT JIMENG).
   Deep midnight indigo + amethyst/aurora accents. Brand: 夜夜笙歌. Models: YA-Image / YA-Video. */
:root {
  --bg: #0a0812;
  --bg-1: #100c1c;
  --bg-2: #16112a;
  --panel: #1a1430;
  --panel-2: #221a3d;
  --line: #2c2348;
  --line-2: #3a2f5c;
  --text: #ece8f6;
  --muted: #9a90b8;
  --muted-2: #6f6690;
  --accent: #b98bff;      /* amethyst */
  --accent-2: #6f7bff;    /* aurora blue */
  --accent-3: #ff7bc2;    /* magenta */
  --good: #4ad9a4;
  --warn: #ffb454;
  --bad: #ff6b7a;
  --grad: linear-gradient(120deg, var(--accent-2), var(--accent), var(--accent-3));
  --shadow: 0 12px 40px rgba(0,0,0,.55);
  --rail-w: 88px;
  --radius: 14px;
  font-size: 15px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif; }
body { overflow: hidden; }
a { color: var(--accent); text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
img { display: block; max-width: 100%; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; }
::-webkit-scrollbar-track { background: transparent; }

.app-shell { display: flex; height: 100vh; }

/* ---------------- Rail ---------------- */
.rail { width: var(--rail-w); flex: 0 0 var(--rail-w); background: linear-gradient(180deg, var(--bg-1), var(--bg));
  border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center;
  padding: 14px 0 10px; gap: 6px; overflow-y: auto; }
.rail::-webkit-scrollbar { width: 0; }
.rail-brand { display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; margin-bottom: 10px; }
.rail-brand .brand-zh { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-size: 22px; font-weight: 700; color: #fff; background: var(--grad); box-shadow: 0 6px 18px rgba(120,90,255,.4); }
.rail-brand .brand-full { font-size: 10px; color: var(--muted); letter-spacing: 1px; }
.rail-main { display: flex; flex-direction: column; gap: 4px; width: 100%; align-items: center; }
.rail-btn { width: 72px; padding: 9px 0; border-radius: 12px; display: flex; flex-direction: column;
  align-items: center; gap: 4px; color: var(--muted); transition: .15s; }
.rail-btn:hover { background: var(--panel); color: var(--text); }
.rail-btn.active { color: var(--text); background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.rail-btn.active .rail-ico { color: var(--accent); }
.rail-label { font-size: 12px; }
.rail-label.xs { font-size: 10px; }
.rail-btn.small { padding: 7px 0; }
.rail-ico { line-height: 0; }
.rail-octo { margin-top: 4px; }
.rail-bottom { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; padding-top: 8px; border-top: 1px solid var(--line); }
.credit-pill { font-size: 11px; color: var(--accent); background: var(--panel); padding: 5px 9px; border-radius: 20px;
  margin-bottom: 4px; cursor: pointer; border: 1px solid var(--line-2); }
.credit-pill b { color: var(--text); }
.rail-ver { margin-top: 6px; }

/* ---------------- Content / topbar ---------------- */
.content { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.topbar { display: flex; flex-direction: column; }
.topbar-right { display: flex; justify-content: flex-end; padding: 10px 22px; border-bottom: 1px solid var(--line); background: var(--bg); }
.offline-banner { background: rgba(255,180,84,.14); color: var(--warn); font-size: 13px; padding: 7px 18px;
  display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,180,84,.25); }
.offline-banner.hidden { display: none; }
.ob-retry { margin-left: auto; color: var(--warn); text-decoration: underline; font-size: 12px; }
.view-root { flex: 1; overflow-y: auto; padding: 24px 28px; }

/* ---------------- Buttons / fields ---------------- */
.btn { border-radius: 10px; padding: 9px 16px; font-size: 14px; border: 1px solid transparent; transition: .15s; }
.btn.sm { padding: 6px 12px; font-size: 13px; }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 4px 16px rgba(120,90,255,.3); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.primary:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn.ghost { background: var(--panel); border-color: var(--line-2); color: var(--text); }
.btn.ghost:hover { background: var(--panel-2); }
.btn.block { width: 100%; display: block; text-align: center; }
.field { background: var(--bg-1); border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 14px;
  color: var(--text); width: 100%; font-size: 14px; outline: none; }
.field:focus { border-color: var(--accent); }
.field.sm { padding: 7px 11px; font-size: 13px; width: auto; }
.field.grow { flex: 1; }

.row { display: flex; align-items: center; }
.gap8 { gap: 8px; } .wrap { flex-wrap: wrap; } .grow { flex: 1; } .spacer { flex: 1; }
.muted { color: var(--muted); } .sm { font-size: 13px; } .xs { font-size: 11px; }
.strong { font-weight: 600; } .center { text-align: center; } .block { display: block; } .pad { padding: 10px; }
.spinner { width: 26px; height: 26px; border: 3px solid var(--line-2); border-top-color: var(--accent);
  border-radius: 50%; animation: spin 0.8s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; color: var(--muted); padding: 50px 0; }
.sec-title { margin: 24px 0 12px; }
.page-head h1 { margin: 0 0 4px; } .page-head { margin-bottom: 18px; }

/* ---------------- Home ---------------- */
.home-scroll { max-width: 1100px; margin: 0 auto; }
.promo-banner { display: flex; align-items: center; gap: 14px; background: linear-gradient(90deg, rgba(111,123,255,.18), rgba(255,123,194,.12));
  border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 18px; margin-bottom: 22px; }
.banner-x { margin-left: auto; color: var(--muted); }
.hero { text-align: center; padding: 22px 0 8px; }
.hero-title { font-size: 32px; margin: 0 0 6px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin: 0 0 22px; }
.feature-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 28px 0; }
.feature-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; cursor: pointer; transition: .15s; }
.feature-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.fc-ico { font-size: 26px; margin-bottom: 8px; }
.fc-t { font-weight: 600; margin-bottom: 3px; }
.feed-tabs { display: flex; align-items: center; gap: 16px; margin: 18px 0; border-bottom: 1px solid var(--line); }
.feed-tab { padding: 10px 2px; color: var(--muted); border-bottom: 2px solid transparent; }
.feed-tab.on { color: var(--text); border-bottom-color: var(--accent); }
.feed-search { margin-left: auto; background: var(--bg-1); border: 1px solid var(--line-2); border-radius: 20px; padding: 7px 14px; color: var(--text); }
.masonry { columns: 4 200px; column-gap: 14px; }
.work-card { break-inside: avoid; margin-bottom: 14px; background: var(--panel); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); cursor: pointer; transition: .15s; position: relative; }
.work-card:hover { border-color: var(--accent); }
.wc-media { position: relative; }
.wc-foot { display: flex; justify-content: space-between; padding: 8px 10px; font-size: 12px; }
.wc-likes { color: var(--accent-3); }
.play-badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 42px; height: 42px;
  background: rgba(0,0,0,.5); border-radius: 50%; display: grid; place-items: center; color: #fff; backdrop-filter: blur(4px); }

/* ---------------- Prompt bar ---------------- */
.prompt-bar { background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; padding: 12px 14px;
  max-width: 760px; margin: 0 auto; box-shadow: var(--shadow); position: relative; }
.prompt-input { width: 100%; background: none; border: none; outline: none; color: var(--text); resize: none;
  font-size: 15px; line-height: 1.5; max-height: 160px; }
.pb-tools { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.mode-seg { display: inline-flex; background: var(--bg-1); border-radius: 9px; padding: 2px; }
.ms-btn { padding: 5px 14px; border-radius: 7px; font-size: 13px; color: var(--muted); }
.ms-btn.on { background: var(--panel-2); color: var(--text); }
.tool-btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 9px;
  background: var(--bg-1); border: 1px solid var(--line); font-size: 13px; color: var(--muted); position: relative; }
.tool-btn:hover { color: var(--text); }
.est-chip { font-size: 12px; color: var(--accent); }
.send-btn { width: 40px; height: 40px; border-radius: 11px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.send-btn:hover { filter: brightness(1.1); }

/* popovers */
.popover { position: absolute; bottom: calc(100% + 10px); left: 0; background: var(--panel-2); border: 1px solid var(--line-2);
  border-radius: 14px; padding: 14px; width: 320px; box-shadow: var(--shadow); display: none; z-index: 30; }
.popover.open { display: block; }
.pop-title { font-weight: 600; margin-bottom: 10px; }
.pop-group { margin-bottom: 12px; }
.pop-label { margin-bottom: 6px; }
.pop-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pop-chip { padding: 5px 11px; border-radius: 8px; background: var(--bg-1); border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.pop-chip.on { background: var(--grad); color: #fff; border-color: transparent; }
.pop-link { color: var(--accent); font-size: 12px; margin-top: 4px; }
.skills-pop { width: 300px; }
.skill-item { display: flex; gap: 10px; align-items: center; width: 100%; padding: 9px; border-radius: 10px; text-align: left; }
.skill-item:hover { background: var(--panel); }
.skill-ico { font-size: 22px; }

/* ---------------- Generate workbench ---------------- */
.gen-layout { display: flex; gap: 18px; height: calc(100vh - 110px); }
.gen-left { width: 220px; flex: 0 0 220px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.gen-left-label { margin-top: 6px; }
.conv-list { display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.conv-item { text-align: left; padding: 9px 11px; border-radius: 9px; color: var(--muted); font-size: 13px; }
.conv-item:hover { background: var(--panel-2); color: var(--text); }
.gen-center { flex: 1; display: flex; flex-direction: column; min-width: 0; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gen-topbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.gen-title { font-weight: 600; }
.gen-stream { flex: 1; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.gen-empty { text-align: center; margin: auto; }
.ge-logo { width: 60px; height: 60px; border-radius: 18px; background: var(--grad); display: grid; place-items: center; font-size: 30px; color: #fff; margin: 0 auto 16px; }
.gen-inputwrap { padding: 16px 22px; border-top: 1px solid var(--line); }
.gen-inputwrap .prompt-bar { box-shadow: none; }
.msg-bubble { display: flex; gap: 10px; max-width: 760px; }
.msg-bubble.user { align-self: flex-end; }
.msg-bubble.user .bubble-body { background: var(--grad); color: #fff; }
.bubble-body { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 11px 15px; }
.ava-bot { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; background: var(--panel-2); display: grid; place-items: center; color: var(--accent); }
.gen-status { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.dot-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1s infinite; }
@keyframes pulse { 0%,100% { opacity: .3; } 50% { opacity: 1; } }
.gen-progress { height: 4px; background: var(--bg); border-radius: 4px; margin-top: 8px; overflow: hidden; width: 240px; }
.gen-progress i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .4s; }
.confirm-gate { margin-top: 12px; background: var(--bg); border: 1px solid var(--warn); border-radius: 12px; padding: 14px; }
.cg-text { margin-bottom: 10px; }
.result-grid { display: grid; gap: 8px; margin-top: 12px; }
.result-grid.quad { grid-template-columns: 1fr 1fr; max-width: 440px; }
.result-grid.single { grid-template-columns: 1fr; max-width: 420px; }
.result-cell { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; border: 1px solid var(--line); }
.result-cell img { width: 100%; }
.result-cell:hover { border-color: var(--accent); }
.cost-line { margin-top: 8px; }
.tips { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tip-chip { background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 16px; padding: 5px 12px; font-size: 12px; color: var(--accent); }
.tip-chip:hover { background: var(--panel); }

/* ---------------- Asset library ---------------- */
.asset-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; flex-wrap: wrap; gap: 10px; }
.seg { display: inline-flex; background: var(--bg-1); border-radius: 10px; padding: 3px; gap: 2px; }
.seg-btn { padding: 7px 16px; border-radius: 8px; color: var(--muted); font-size: 14px; }
.seg-btn.on { background: var(--panel-2); color: var(--text); }
.media-tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.media-tab { padding: 6px 14px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.media-tab.on { color: var(--text); border-color: var(--accent); }
.asset-grid .asset-date { margin: 6px 0 10px; }
.cells { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.asset-cell { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; border: 1px solid var(--line); aspect-ratio: 3/4; background: var(--panel); }
.asset-cell img { width: 100%; height: 100%; object-fit: cover; }
.asset-cell:hover { border-color: var(--accent); }
.empty-grid { display: flex; }
.empty-box { width: 170px; height: 220px; border: 2px dashed var(--line-2); border-radius: 14px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; color: var(--muted); cursor: pointer; }
.empty-box:hover { border-color: var(--accent); color: var(--text); }
.empty-box .plus { color: var(--accent); }

/* ---------------- Canvas / templates ---------------- */
.tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tpl-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; cursor: pointer; }
.tpl-card:hover { border-color: var(--accent); }
.tpl-name { padding: 10px 12px; font-size: 14px; }
.recent-projects { padding: 20px 0; }

/* ---------------- Personal ---------------- */
.profile-card { display: flex; align-items: center; gap: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-weight: 600; flex: 0 0 auto; }
.avatar.lg { width: 72px; height: 72px; font-size: 28px; }
.profile-meta { flex: 1; }
.pm-name { font-size: 20px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.verified { color: var(--accent-2); font-size: 14px; }
.pm-stats { margin: 4px 0; }
.pm-bio { margin: 4px 0 0; }

/* ---------------- Visionary / events ---------------- */
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 16px; }
.event-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ec-body { padding: 12px 14px; }

/* ---------------- Install ---------------- */
.install-card { max-width: 680px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.code-block { background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 14px 16px; overflow-x: auto; font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--good); margin: 0 0 14px; }
.steps { margin: 18px 0 0; padding-left: 20px; line-height: 2; color: var(--muted); }
.steps code, .vip-note code { background: var(--bg); padding: 2px 6px; border-radius: 5px; color: var(--accent); }
.vip-note { margin-top: 16px; }

/* ---------------- Overlays ---------------- */
body.overlay-open { overflow: hidden; }
.ov-backdrop { position: fixed; inset: 0; background: rgba(5,3,12,.72); backdrop-filter: blur(6px); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 24px; animation: fade .18s; }
.ov-backdrop.right { justify-content: flex-end; align-items: stretch; padding: 0; }
@keyframes fade { from { opacity: 0; } }
.ov-panel { position: relative; background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px;
  max-width: 460px; width: 100%; max-height: 88vh; overflow-y: auto; box-shadow: var(--shadow); animation: pop .2s; }
.ov-panel.ov-wide { max-width: 920px; }
@keyframes pop { from { transform: translateY(12px) scale(.98); opacity: 0; } }
.ov-x { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 9px; color: var(--muted); display: grid; place-items: center; z-index: 2; }
.ov-x:hover { background: var(--panel-2); color: var(--text); }
.ov-body { padding: 26px; }
.ov-body.center { text-align: center; }
.ov-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
.ov-head h2 { margin: 0; }
.wallet-chip { background: var(--bg-1); border: 1px solid var(--line-2); border-radius: 20px; padding: 6px 14px; font-size: 13px; }

/* login */
.login-ov { text-align: center; }
.brand-mark { font-size: 26px; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.login-ov .field { margin-top: 12px; text-align: left; }
.agree-list { text-align: left; margin: 14px 0; display: flex; flex-direction: column; gap: 8px; }
.agree { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); }

/* membership */
.promo-bar { background: rgba(255,123,194,.12); color: var(--accent-3); border-radius: 10px; padding: 9px 14px; font-size: 13px; margin-bottom: 14px; }
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 14px 0; }
.plan-card { position: relative; background: var(--bg-1); border: 1px solid var(--line-2); border-radius: 14px; padding: 18px 14px; text-align: center; }
.plan-card.hot { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan-badge { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 11px; padding: 2px 10px; border-radius: 10px; }
.plan-name { font-weight: 600; margin-bottom: 8px; }
.plan-price { font-size: 22px; margin-bottom: 6px; }
.plan-price s { font-size: 13px; margin-left: 6px; }
.plan-card .btn { margin-top: 12px; }
.redeem-row { display: flex; gap: 8px; margin-top: 8px; }

/* asset detail */
.asset-ov, .work-ov { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.asset-left { background: var(--bg); border-radius: 14px; display: flex; align-items: center; justify-content: center; overflow: hidden; min-height: 320px; position: relative; }
.asset-media { width: 100%; border-radius: 12px; }
.asset-media.video { position: relative; }
.asset-right h3 { margin: 16px 0 8px; font-size: 15px; }
.asset-prompt { color: var(--muted); font-size: 14px; line-height: 1.6; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; }
.meta-chip { background: var(--bg-1); border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; font-size: 12px; }
.action-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.act-cell { background: var(--bg-1); border: 1px solid var(--line); border-radius: 10px; padding: 12px 6px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.act-cell:hover { border-color: var(--accent); color: var(--text); }
.act-ico { font-size: 20px; }
.author-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }

/* watermark gate */
.wm-ov h2 { margin: 0 0 8px; }
.switch-row { display: flex; align-items: center; justify-content: space-between; background: var(--bg-1); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; margin: 16px 0; gap: 12px; }
.switch { width: 46px; height: 26px; -webkit-appearance: none; appearance: none; background: var(--line-2); border-radius: 14px; position: relative; cursor: pointer; transition: .2s; flex: 0 0 auto; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: .2s; }
.switch:checked { background: var(--grad); }
.switch:checked::after { left: 23px; }
.wm-note { background: rgba(255,180,84,.1); border-radius: 10px; padding: 10px 14px; font-size: 13px; color: var(--warn); margin-bottom: 16px; }

/* side panel (messages) */
.side-panel { width: 380px; background: var(--panel); border-left: 1px solid var(--line-2); height: 100%; display: flex; flex-direction: column; animation: slidein .22s; }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } }
.side-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.side-head .ov-x { position: static; }
.side-panel .seg { margin: 14px 18px; }
.msg-list { flex: 1; overflow-y: auto; padding: 0 18px 18px; }
.msg-item { padding: 12px 0; border-bottom: 1px solid var(--line); }

/* provider table */
.prov-table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.prov-table th, .prov-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); font-size: 13px; }
.prov-table th { color: var(--muted); font-weight: 500; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--muted-2); }
.dot.healthy { background: var(--good); } .dot.degraded { background: var(--warn); } .dot.down { background: var(--bad); }
.model-list { display: flex; flex-direction: column; gap: 6px; }
.model-row { background: var(--bg-1); border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; display: flex; gap: 10px; align-items: baseline; }

.qr { display: inline-flex; padding: 14px; background: #fff; color: #0a0812; border-radius: 12px; margin: 16px 0; }
.help-list { line-height: 2; color: var(--muted); padding-left: 18px; }

/* toasts */
#toast-host { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text); padding: 10px 18px; border-radius: 22px;
  font-size: 13px; opacity: 0; transform: translateY(10px); transition: .25s; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translateY(0); }
.toast-warn { border-color: var(--warn); color: var(--warn); }
.toast-info { border-color: var(--line-2); }

/* responsive */
@media (max-width: 1000px) {
  .feature-cards { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .asset-ov, .work-ov { grid-template-columns: 1fr; }
  .gen-left { display: none; }
}
