:root {
  --bg: #0b0b0e;
  --bg-2: #111116;
  --panel: #16161c;
  --panel-2: #1c1c24;
  --line: #26262f;
  --line-2: #33333e;
  --text: #ececf1;
  --muted: #9a9aa8;
  --dim: #6b6b7a;
  --accent: #8b5cf6;
  --accent-2: #ff4d8d;
  --green: #1ed760;
  --blue: #4f9cf9;
  --radius: 12px;
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.55 var(--font);
  overflow: hidden;
}
button, input, select { font-family: inherit; }
hidden, .hidden { display: none !important; }
code { font-family: "Cascadia Code", Consolas, monospace; background: #ffffff10; padding: 1px 5px; border-radius: 4px; font-size: .92em; }

/* ---------- 顶栏 ---------- */
#app { height: 100vh; display: flex; flex-direction: column; }
.topbar {
  height: 64px; flex: 0 0 64px;
  display: flex; align-items: center; gap: 18px;
  padding: 0 20px;
  background: linear-gradient(180deg, #141419, #0e0e13);
  border-bottom: 1px solid var(--line);
  position: relative; z-index: 20;
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 210px; flex: 0 0 auto; }
.logo {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center;
  font-weight: 800; font-size: 18px; color: #fff;
  box-shadow: 0 4px 16px #8b5cf655;
}
.brand-name { font-weight: 650; font-size: 15px; letter-spacing: .2px; }
.brand-sub { font-size: 11px; color: var(--dim); margin-top: -1px; }
.file-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--panel); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 999px; font-size: 12.5px; color: var(--muted);
  max-width: 34vw; overflow: hidden; flex: 0 1 auto;
}
.file-chip b { color: var(--text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 24vw; }
.file-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); flex: 0 0 auto; }
.top-actions { margin-left: auto; display: flex; gap: 8px; flex: 0 0 auto; }

/* ---------- 按钮 ---------- */
.btn {
  border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text);
  height: 34px; padding: 0 14px; border-radius: 9px; cursor: pointer;
  font-size: 13px; font-weight: 500; transition: .15s;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.btn:hover { background: #24242e; border-color: #3d3d4a; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn.primary { background: linear-gradient(135deg, #8b5cf6, #6d3ef0); border-color: #8b5cf6; color: #fff; box-shadow: 0 4px 14px #8b5cf640; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; }
.btn.big { height: 42px; padding: 0 22px; font-size: 14px; }
.btn.tiny { height: 26px; padding: 0 9px; font-size: 12px; border-radius: 7px; }

/* ---------- 布局 ---------- */
.layout { flex: 1; display: flex; min-height: 0; }
.sidebar {
  width: 208px; flex: 0 0 208px;
  background: var(--bg-2); border-right: 1px solid var(--line);
  padding: 12px 10px; display: flex; flex-direction: column; gap: 2px;
  overflow-y: auto;
}
.nav-item {
  display: flex; align-items: center; gap: 10px;
  height: 38px; padding: 0 12px; border-radius: 9px;
  background: none; border: 0; color: var(--muted); cursor: pointer;
  font-size: 13.5px; text-align: left; transition: .13s;
}
.nav-item svg { width: 17px; height: 17px; fill: currentColor; opacity: .75; flex: 0 0 auto; }
.nav-item:hover { background: #ffffff08; color: var(--text); }
.nav-item.active { background: linear-gradient(90deg, #8b5cf622, #8b5cf609); color: #fff; box-shadow: inset 0 0 0 1px #8b5cf633; }
.nav-item.active svg { opacity: 1; color: var(--accent); }
.nav-item:disabled { opacity: .35; cursor: default; }
.nav-count { margin-left: auto; font-style: normal; font-size: 11px; color: var(--dim); background: #ffffff0a; padding: 0 7px; border-radius: 999px; line-height: 18px; }
.nav-item.active .nav-count { color: var(--accent); background: #8b5cf620; }
.sidebar-foot { margin-top: auto; padding: 14px 10px 4px; border-top: 1px solid var(--line); }
.foot-label { font-size: 11px; color: var(--dim); margin-bottom: 4px; }
.foot-path { font-size: 11px; color: var(--muted); line-height: 1.45; word-break: break-all; cursor: pointer; }
.foot-path:hover { color: var(--text); }

.content { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 26px 30px 60px; scroll-behavior: smooth; }
.content::-webkit-scrollbar, .sidebar::-webkit-scrollbar, .modal-body::-webkit-scrollbar, pre::-webkit-scrollbar { width: 10px; height: 10px; }
.content::-webkit-scrollbar-thumb, .sidebar::-webkit-scrollbar-thumb, .modal-body::-webkit-scrollbar-thumb, pre::-webkit-scrollbar-thumb { background: #ffffff18; border-radius: 8px; border: 3px solid transparent; background-clip: content-box; }
.content::-webkit-scrollbar-track { background: transparent; }

/* ---------- 空状态 ---------- */
.empty { max-width: 980px; margin: 2vh auto 0; }
.dropzone {
  border: 1.5px dashed #34343f; border-radius: 18px;
  background: radial-gradient(1200px 400px at 50% -10%, #8b5cf614, transparent 70%), var(--panel);
  padding: 52px 30px 44px; text-align: center; cursor: pointer;
  transition: .18s; position: relative;
}
.dropzone:hover, .dropzone.over { border-color: var(--accent); background: radial-gradient(1200px 400px at 50% -10%, #8b5cf628, transparent 70%), var(--panel); }
.dropzone.over { box-shadow: 0 0 0 4px #8b5cf618; }
.dz-icon { width: 54px; height: 54px; fill: var(--accent); opacity: .9; margin-bottom: 12px; }
.dropzone h1 { font-size: 24px; margin: 6px 0 8px; font-weight: 650; letter-spacing: .2px; }
.dropzone p { color: var(--muted); margin: 0 0 22px; font-size: 13.5px; }
.dz-note { display: flex; gap: 22px; justify-content: center; margin-top: 26px; color: var(--dim); font-size: 12px; flex-wrap: wrap; }
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.feature b { display: block; font-size: 13px; margin-bottom: 6px; }
.feature span { color: var(--dim); font-size: 12px; line-height: 1.5; }

/* ---------- 通用块 ---------- */
.section-title { display: flex; align-items: baseline; gap: 10px; margin: 30px 0 14px; }
.section-title h2 { font-size: 17px; margin: 0; font-weight: 650; }
.section-title .sub { font-size: 12.5px; color: var(--dim); }
.section-title .right { margin-left: auto; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ---------- 概览 ---------- */
.hero {
  display: flex; align-items: center; gap: 22px;
  background: linear-gradient(120deg, #17131f, #101016 55%);
  border: 1px solid #2a2438; border-radius: 16px; padding: 24px 26px;
  position: relative; overflow: hidden;
}
.hero::after { content: ""; position: absolute; right: -80px; top: -120px; width: 320px; height: 320px; background: radial-gradient(circle, #8b5cf633, transparent 65%); }
.hero-main { min-width: 0; flex: 1; position: relative; z-index: 1; }
.hero h1 { font-size: 23px; margin: 0 0 6px; font-weight: 680; letter-spacing: .2px; overflow: hidden; text-overflow: ellipsis; }
.hero-meta { color: var(--muted); font-size: 12.5px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions { display: flex; gap: 8px; margin-top: 16px; }
.hero-thumb { width: 190px; height: 120px; object-fit: contain; border-radius: 10px; background: #0b0b0e; border: 1px solid var(--line); position: relative; z-index: 1; }
.hero-thumb.wide { width: 280px; height: auto; max-height: 120px; object-fit: scale-down; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; margin-top: 16px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 15px; }
.stat .num { font-size: 22px; font-weight: 680; letter-spacing: .3px; }
.stat .lbl { color: var(--dim); font-size: 12px; margin-top: 2px; }
.stat.hl .num { background: linear-gradient(90deg, #a78bfa, #ff7ab0); -webkit-background-clip: text; background-clip: text; color: transparent; }

.pages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.page-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.page-card h3 { margin: 0 0 4px; font-size: 14px; font-weight: 620; display: flex; gap: 8px; align-items: center; }
.page-card .pmeta { color: var(--dim); font-size: 11.5px; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; max-height: 92px; overflow: hidden; }
.chip {
  font-size: 11.5px; color: var(--muted); background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 7px; padding: 3px 8px; cursor: pointer; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
.chip:hover { color: var(--text); border-color: var(--line-2); }
.bar-list { display: flex; flex-direction: column; gap: 7px; }
.bar-row { display: grid; grid-template-columns: 150px 1fr 52px; align-items: center; gap: 10px; font-size: 12px; }
.bar-row .t { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.bar-track { height: 6px; border-radius: 4px; background: #ffffff0a; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, #6d3ef0, #a78bfa); }
.bar-row .v { color: var(--dim); text-align: right; }

/* ---------- 工具栏 ---------- */
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; position: sticky; top: -26px; z-index: 8; background: linear-gradient(180deg, var(--bg) 72%, transparent); padding: 10px 0 12px; }
.toolbar select, .toolbar input[type="search"] {
  height: 34px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text);
  padding: 0 11px; font-size: 13px; outline: none;
}
.toolbar input[type="search"] { width: 190px; }
.toolbar select:focus, .toolbar input:focus { border-color: var(--accent); }
.seg { display: flex; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 9px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; color: var(--muted); height: 26px; padding: 0 11px; border-radius: 6px; font-size: 12.5px; cursor: pointer; }
.seg button.on { background: #8b5cf628; color: #c9b6ff; }
.toolbar .grow { flex: 1; }
.toolbar .count { color: var(--dim); font-size: 12px; }

/* ---------- 预览网格 ---------- */
.shots { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.shot {
  margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px;
  cursor: zoom-in; transition: .16s; position: relative;
}
.shot:hover { border-color: #4a3a70; transform: translateY(-2px); box-shadow: 0 10px 26px #00000055; }
.shot-canvas { position: relative; overflow: hidden; border-radius: 7px; background: #0a0a0d; }
.shot-canvas iframe, .shot-canvas img { border: 0; display: block; background: #0a0a0d; }
.shot-canvas img { object-fit: contain; width: 100%; height: 100%; }
.shot figcaption { margin-top: 8px; font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: baseline; }
.shot figcaption b { color: var(--text); font-weight: 550; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot figcaption span { color: var(--dim); font-size: 11px; margin-left: auto; }
.shot .tag { position: absolute; top: 16px; right: 16px; font-size: 10px; padding: 2px 7px; border-radius: 999px; background: #000000bb; color: #bbb; border: 1px solid #ffffff1a; }
.shot .tag.img { color: #9be7b0; border-color: #1ed76044; }

/* ---------- 设计标准 ---------- */
.token-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; }
.swatch { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; cursor: pointer; transition: .15s; }
.swatch:hover { border-color: var(--line-2); transform: translateY(-1px); }
.swatch .color { height: 62px; }
.swatch .meta { padding: 8px 10px; }
.swatch .name { font-size: 12px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swatch .val { font-size: 11px; color: var(--dim); font-family: Consolas, monospace; margin-top: 1px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.data-table th { text-align: left; color: var(--dim); font-weight: 500; font-size: 11.5px; padding: 9px 12px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--panel); }
.data-table td { padding: 9px 12px; border-bottom: 1px solid #ffffff08; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:hover td { background: #ffffff04; }
.table-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; max-height: 520px; overflow-y: auto; }
.type-sample { display: inline-block; max-width: 480px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mono { font-family: Consolas, monospace; }
.shadow-chip { display: flex; align-items: center; gap: 12px; }
.shadow-demo { width: 34px; height: 34px; border-radius: 8px; background: #2a2a33; flex: 0 0 auto; }
.split-actions { display: flex; gap: 8px; }
.copy-flash { animation: flash .5s; }
@keyframes flash { from { background: #8b5cf655; } to { background: transparent; } }

/* ---------- 组件 ---------- */
.comp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 14px; }
.comp-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; cursor: zoom-in; transition: .15s; }
.comp-card:hover { border-color: #4a3a70; transform: translateY(-2px); box-shadow: 0 10px 26px #00000055; }
.comp-preview { height: 120px; background: #0d0d11; display: grid; place-items: center; overflow: hidden; }
.comp-preview iframe { border: 0; display: block; background: transparent; }
.comp-meta { padding: 10px 12px 12px; }
.comp-name { font-size: 12.5px; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.comp-sub { font-size: 11px; color: var(--dim); margin-top: 3px; display: flex; gap: 8px; flex-wrap: wrap; }
.comp-uses { color: var(--green); }

/* ---------- 图层 ---------- */
.layers-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; align-items: start; }
.tree-panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 6px; max-height: calc(100vh - 210px); overflow: auto; }
.tree { list-style: none; margin: 0; padding: 0 0 0 14px; }
.tree .tree { border-left: 1px solid #ffffff0d; margin-left: 8px; }
.tree li { list-style: none; }
.node-row { display: flex; align-items: center; gap: 6px; height: 27px; padding: 0 7px; border-radius: 6px; cursor: pointer; font-size: 12.5px; white-space: nowrap; }
.node-row:hover { background: #ffffff08; }
.node-row.sel { background: #8b5cf628; box-shadow: inset 0 0 0 1px #8b5cf655; }
.node-row .caret { width: 14px; height: 14px; flex: 0 0 auto; color: var(--dim); display: grid; place-items: center; font-size: 9px; transition: transform .12s; }
.node-row .caret.open { transform: rotate(90deg); }
.node-row .caret.none { visibility: hidden; }
.node-row .nm { overflow: hidden; text-overflow: ellipsis; }
.node-row .sz { margin-left: auto; color: var(--dim); font-size: 10.5px; }
.type-dot { width: 7px; height: 7px; border-radius: 2px; flex: 0 0 auto; background: var(--dim); }
.type-FRAME { background: #7c5cff; } .type-SYMBOL { background: #d946ef; } .type-INSTANCE { background: #a855f7; }
.type-TEXT { background: #38bdf8; } .type-VECTOR { background: #34d399; } .type-BOOLEAN_OPERATION { background: #10b981; }
.type-ROUNDED_RECTANGLE, .type-RECTANGLE { background: #fbbf24; } .type-ELLIPSE { background: #fb923c; }
.type-CANVAS { background: #f472b6; } .type-GROUP { background: #94a3b8; } .type-LINE { background: #e879f9; }
.type-VARIABLE, .type-VARIABLE_SET { background: #64748b; }
.detail-panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: sticky; top: 10px; }
.detail-panel h3 { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--muted); }
.detail-row { display: flex; gap: 10px; font-size: 12px; padding: 5px 0; border-bottom: 1px solid #ffffff06; }
.detail-row .k { color: var(--dim); width: 74px; flex: 0 0 auto; }
.detail-row .v { color: var(--text); word-break: break-all; }
.detail-panel .btn { margin-top: 14px; width: 100%; justify-content: center; }

/* ---------- 资源 / 原始数据 ---------- */
.asset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.asset { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; cursor: zoom-in; text-align: center; }
.asset:hover { border-color: var(--line-2); }
.asset .thumb { height: 120px; background: repeating-conic-gradient(#15151b 0 25%, #101015 0 50%) 0 0/18px 18px; display: grid; place-items: center; }
.asset .thumb img { width: 100%; height: 120px; display: block; object-fit: contain; }
.asset .am { padding: 8px 10px; text-align: left; }
.asset .an { font-size: 11px; color: var(--muted); font-family: Consolas, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.asset .as { font-size: 10.5px; color: var(--dim); margin-top: 2px; }
.raw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.raw-card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.raw-card b { font-size: 13px; }
.raw-card span { color: var(--dim); font-size: 11.5px; flex: 1; }
.raw-card .row { margin-top: 6px; }
pre.raw-view { background: #0d0d11; border: 1px solid var(--line); border-radius: 12px; padding: 16px; max-height: 60vh; overflow: auto; font: 12px/1.6 Consolas, "Cascadia Code", monospace; white-space: pre-wrap; word-break: break-word; color: #c9c9d4; margin-top: 14px; }

/* ---------- 拖拽遮罩 ---------- */
.drop-overlay { position: fixed; inset: 0; z-index: 90; background: #08080bd9; backdrop-filter: blur(4px); display: grid; place-items: center; }
.drop-inner { border: 2px dashed var(--accent); border-radius: 24px; padding: 70px 90px; text-align: center; background: #8b5cf60d; box-shadow: 0 0 80px #8b5cf633 inset; }
.drop-icon { font-size: 54px; color: var(--accent); line-height: 1; margin-bottom: 14px; }
.drop-title { font-size: 24px; font-weight: 650; }
.drop-sub { color: var(--muted); margin-top: 8px; font-size: 13px; }

/* ---------- 弹窗 / 加载 ---------- */
.modal { position: fixed; inset: 0; z-index: 100; background: #000000cc; backdrop-filter: blur(6px); display: grid; place-items: center; }
.loading-card { background: var(--panel); border: 1px solid var(--line-2); border-radius: 16px; padding: 34px 40px; width: 420px; text-align: center; box-shadow: 0 30px 80px #00000099; }
.spinner { width: 42px; height: 42px; margin: 0 auto 18px; border-radius: 50%; border: 3px solid #ffffff12; border-top-color: var(--accent); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-title { font-size: 15px; font-weight: 600; }
.loading-sub { color: var(--dim); font-size: 12px; margin-top: 6px; min-height: 18px; }
.progress { height: 5px; border-radius: 4px; background: #ffffff0d; margin-top: 18px; overflow: hidden; }
.progress-bar { height: 100%; width: 3%; background: linear-gradient(90deg, #8b5cf6, #ff4d8d); transition: width .25s; }
.modal-shell { width: 92vw; height: 92vh; background: #121217; border: 1px solid var(--line-2); border-radius: 14px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 40px 100px #000; }
.modal-bar { height: 52px; flex: 0 0 52px; display: flex; align-items: center; gap: 12px; padding: 0 14px 0 18px; border-bottom: 1px solid var(--line); background: #16161c; }
.modal-title { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.modal-title span { color: var(--dim); font-weight: 400; font-size: 12px; margin-left: 8px; }
.modal-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.zoom-label { font-size: 11.5px; color: var(--muted); min-width: 44px; text-align: center; font-family: Consolas, monospace; }
.modal-body { flex: 1; overflow: auto; background: #0a0a0d; padding: 18px; display: grid; place-items: start center; }
.modal-body iframe { border: 0; background: #0a0a0d; display: block; }
.modal-body img { max-width: 100%; max-height: 100%; display: block; margin: 0 auto; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%);
  background: #1e1e27; border: 1px solid var(--line-2); color: var(--text);
  padding: 10px 16px; border-radius: 10px; font-size: 13px; z-index: 120;
  display: flex; gap: 12px; align-items: center; box-shadow: 0 14px 40px #00000080;
  max-width: 80vw;
}
.toast.error { border-color: #ff4d8d55; }
.toast-action { background: none; border: 0; color: var(--accent); cursor: pointer; font-size: 13px; font-weight: 600; padding: 0; }
.toast-action:hover { text-decoration: underline; }

/* ---------- 其它 ---------- */
.empty-hint { color: var(--dim); text-align: center; padding: 70px 0; font-size: 13px; }
.pill { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #ffffff0d; color: var(--muted); }
.pill.green { background: #1ed7601a; color: #7ee2a0; }
.pill.purple { background: #8b5cf61f; color: #b9a4ff; }
.kbd { font-size: 11px; color: var(--dim); border: 1px solid var(--line-2); border-radius: 5px; padding: 0 5px; }
.link { color: #a78bfa; cursor: pointer; text-decoration: none; }
.link:hover { text-decoration: underline; }
@media (max-width: 1080px) {
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .layers-wrap { grid-template-columns: 1fr; }
  .hero-thumb { display: none; }
}
