/* ============ 炫酷科技 · design system ============ */
:root {
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --nav-h: 64px;
  --maxw: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "Inter", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

/* ---- palette · getok（默认：米白 · 墨绿）---- */
:root,
html[data-palette="getok"] {
  --bg: #fbf8f4;
  --bg-soft: #fffdfa;
  --surface: #ffffff;
  --surface-2: #f7f2ea;
  --surface-3: #ece5da;
  --line: #e6ddd1;
  --line-soft: #f1eae1;
  --text: #1c1917;
  --text-dim: #4a423b;
  --muted: #7a6f66;
  --faint: #9c9088;
  --brand: #116e7b;
  --brand-2: #0e93c4;
  --brand-rgb: 17, 110, 123;
  --brand2-rgb: 14, 147, 196;
  --cyan: #0e93c4;
  --violet: #6d5bb5;
  --green: #178f5f;
  --amber: #b4791a;
  --red: #c0392b;
  --pink: #b34a7a;
  --grad: linear-gradient(120deg, #116e7b 0%, #0e93c4 100%);
  --grad-soft: linear-gradient(120deg, rgba(17, 110, 123, .1), rgba(14, 147, 196, .08));
  --shadow: 0 14px 36px rgba(60, 45, 30, .1);
  --shadow-sm: 0 4px 14px rgba(60, 45, 30, .07);
  --glow: 0 0 0 1px rgba(17, 110, 123, .3), 0 10px 30px rgba(17, 110, 123, .14);
  /* 代码块：浅色主题用暖白底 + 深字 */
  --code-bg: #f7f2ea;
  --code-head: #f0e9de;
  --code-text: #2b2723;
  --code-dim: #756a5f;
  --code-line: rgba(28, 25, 23, .09);
  --code-chip: rgba(28, 25, 23, .06);
  --code-hl: #0b6ea8;
  --syn-k: #8c3fa8;
  --syn-s: #1f7a4d;
  --syn-f: #0b5fb3;
  --syn-n: #a55a00;
  --orb-a: #7fd6dd;
  --orb-b: #a8d8c9;
  --orb-c: #cfe9f2;
  --orb-opacity: .4;
  --nav-glass: rgba(251, 248, 244, .86);
  --star: 17, 110, 123;
}

/* ---- palette · xuanku（品牌深海军蓝 + 青）---- */
html[data-palette="xuanku"] {
  --bg: #050b18;
  --bg-soft: #071022;
  --surface: #0b1730;
  --surface-2: #102040;
  --surface-3: #172c52;
  --line: #1c3155;
  --line-soft: #13233e;
  --text: #eaf1ff;
  --text-dim: #a7b9d8;
  --muted: #7488aa;
  --faint: #566a8c;
  --brand: #2f7cff;
  --brand-2: #3edbd3;
  --brand-rgb: 47, 124, 255;
  --brand2-rgb: 62, 219, 211;
  --cyan: #3edbd3;
  --violet: #7c9dff;
  --green: #34d9a4;
  --amber: #fbbf24;
  --red: #f87171;
  --pink: #f472b6;
  --grad: linear-gradient(120deg, #1b6bf0 0%, #2f7cff 40%, #3edbd3 100%);
  --grad-soft: linear-gradient(120deg, rgba(47, 124, 255, .18), rgba(62, 219, 211, .14));
  --shadow: 0 18px 48px rgba(0, 6, 20, .55);
  --shadow-sm: 0 6px 18px rgba(0, 6, 20, .38);
  --glow: 0 0 0 1px rgba(47, 124, 255, .35), 0 12px 40px rgba(47, 124, 255, .2);
  --code-bg: #040a14;
  --code-head: #071021;
  --code-text: #b9cbe6;
  --code-dim: #5c6f8e;
  --code-line: rgba(255, 255, 255, .09);
  --code-chip: rgba(255, 255, 255, .08);
  --code-hl: #7dd3fc;
  --syn-k: #c792ea;
  --syn-s: #a5e5a0;
  --syn-f: #82aaff;
  --syn-n: #f9c584;
  --orb-a: #1b6bf0;
  --orb-b: #3edbd3;
  --orb-c: #7c9dff;
  --orb-opacity: .42;
  --nav-glass: rgba(5, 11, 24, .82);
  --star: 150, 190, 255;
}

/* ---- palette · midnight（暖黑 + 橙 · 对齐 getok.cc 品牌色）---- */
html[data-palette="midnight"] {
  --bg: #100c09;
  --bg-soft: #16110c;
  --surface: #1b1510;
  --surface-2: #241b14;
  --surface-3: #2e231a;
  --line: #3a2c20;
  --line-soft: #2b2119;
  --text: #f6efe6;
  --text-dim: #c9b9a6;
  --muted: #9b8a76;
  --faint: #7a6a58;
  --brand: #f97316;
  --brand-2: #ea580c;
  --brand-rgb: 249, 115, 22;
  --brand2-rgb: 234, 88, 12;
  --cyan: #f59e0b;
  --violet: #fbbf24;
  --green: #4ade80;
  --amber: #fbbf24;
  --red: #f87171;
  --pink: #fb7185;
  --grad: linear-gradient(120deg, #f97316 0%, #ea580c 62%, #fbbf24 100%);
  --grad-soft: linear-gradient(120deg, rgba(249, 115, 22, .18), rgba(251, 191, 36, .13));
  --shadow: 0 18px 48px rgba(0, 0, 0, .5);
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, .34);
  --glow: 0 0 0 1px rgba(249, 115, 22, .38), 0 12px 40px rgba(234, 88, 12, .22);
  --code-bg: #130e0a;
  --code-head: #1a130d;
  --code-text: #f0e5d8;
  --code-dim: #97836c;
  --code-line: rgba(255, 233, 210, .1);
  --code-chip: rgba(255, 233, 210, .08);
  --code-hl: #fdba74;
  --syn-k: #fb923c;
  --syn-s: #a3e0a0;
  --syn-f: #fcd34d;
  --syn-n: #fbbf24;
  --orb-a: #f97316;
  --orb-b: #fbbf24;
  --orb-c: #ea580c;
  --orb-opacity: .4;
  --nav-glass: rgba(16, 12, 9, .84);
  --star: 255, 200, 150;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(var(--brand-rgb), .35); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--faint); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 48px 0; position: relative; }
.section.tight { padding: 34px 0; }
.grid { display: grid; gap: 20px; }
.row { display: flex; align-items: center; gap: 12px; }
.row.between { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }

/* ---------- eyebrow / headings ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .6; }
.h2 { font-size: clamp(26px, 4vw, 40px); margin-top: 14px; }
.h3 { font-size: 20px; }
.lede { color: var(--text-dim); font-size: 16px; margin-top: 14px; max-width: 680px; }
.lede b { color: var(--text); font-weight: 700; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s, border-color .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); border-color: var(--brand); background: var(--surface-3); }
.btn:active { transform: translateY(0); }
.btn.primary {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 26px rgba(var(--brand-rgb), .32);
}
.btn.primary:hover { box-shadow: 0 14px 34px rgba(var(--brand-rgb), .45); filter: brightness(1.06); }
.btn.ghost { background: transparent; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }
.btn.lg { height: 52px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn .ar { transition: transform .2s var(--ease); }
.btn:hover .ar { transform: translateX(3px); }

/* ---------- card ---------- */
.card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.card.hoverable:hover { transform: translateY(-4px); border-color: rgba(var(--brand-rgb), .5); box-shadow: var(--shadow); }

/* ---------- chips / badges ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text-dim);
  white-space: nowrap;
}
.chip.on { background: rgba(var(--brand-rgb), .14); border-color: rgba(var(--brand-rgb), .45); color: var(--text); }
.chip.click { cursor: pointer; transition: all .18s; }
.chip.click:hover { border-color: var(--brand); color: var(--text); }
.badge {
  display: inline-block;
  white-space: nowrap;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.badge.hot { background: color-mix(in srgb, var(--red) 14%, transparent); color: var(--red); border: 1px solid color-mix(in srgb, var(--red) 32%, transparent); }
.badge.new { background: color-mix(in srgb, var(--green) 13%, transparent); color: var(--green); border: 1px solid color-mix(in srgb, var(--green) 32%, transparent); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; box-shadow: 0 0 0 3px rgba(52, 211, 153, .18); }
.dot.off { background: var(--muted); box-shadow: none; }
.dot.red { background: var(--red); box-shadow: 0 0 0 3px rgba(248, 113, 113, .18); }

/* ---------- form ---------- */
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 7px; font-weight: 500; }
.input, .select, .textarea {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  outline: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.textarea { height: auto; padding: 12px 14px; min-height: 90px; resize: vertical; line-height: 1.6; }
.select { appearance: none; cursor: pointer; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .16); }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input.err { border-color: var(--red); }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.err-text { font-size: 12.5px; color: var(--red); margin-top: 6px; min-height: 0; }

/* ---------- toast ---------- */
#toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  width: min(92vw, 420px);
}
.toast-item {
  background: var(--surface-3);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 14px;
  box-shadow: var(--shadow);
  animation: toastIn .28s var(--ease);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.toast-item.ok { border-color: rgba(52, 211, 153, .45); }
.toast-item.err { border-color: rgba(248, 113, 113, .5); }
.toast-item.out { animation: toastOut .25s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px); } }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); }
[data-reveal].in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

/* ---------- scroll progress ---------- */
#progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--grad); z-index: 9998; transition: width .1s linear;
}

/* ---------- to top ---------- */
#totop {
  position: fixed; right: 20px; bottom: 22px; width: 42px; height: 42px;
  border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line);
  display: grid; place-items: center; cursor: pointer; z-index: 90;
  opacity: 0; pointer-events: none; transition: all .25s var(--ease);
}
#totop.show { opacity: 1; pointer-events: auto; }
#totop:hover { border-color: var(--brand); transform: translateY(-2px); }

/* ---------- modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 9990; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(4, 6, 10, .72); backdrop-filter: blur(6px);
}
.modal.open { display: flex; animation: fadeIn .18s ease; }
.modal-box {
  width: min(560px, 100%);
  max-height: 86vh; overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
  animation: popIn .22s var(--ease);
}
.modal-box h3 { font-size: 18px; margin-bottom: 4px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- table ---------- */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.tbl { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14px; }
table.tbl th {
  text-align: left; font-weight: 600; font-size: 12.5px; color: var(--muted);
  padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap;
  text-transform: uppercase; letter-spacing: .04em;
}
table.tbl td { padding: 13px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.tbl tbody tr { transition: background .16s; }
table.tbl tbody tr:hover { background: var(--surface-2); }
.mono { font-family: var(--mono); font-size: 13px; }
.empty { padding: 46px 20px; text-align: center; color: var(--muted); font-size: 14px; }

/* 价格表（首页 / 文档共用） */
.price-table {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--surface);
}
.price-table table.tbl { min-width: 720px; }
.price-table table.tbl th { padding-top: 14px; padding-bottom: 14px; background: var(--surface-2); }
.pt-name { display: flex; align-items: center; gap: 8px; }
.pt-name .vlogo-img { width: 18px; height: 18px; }
.pt-name span.mono { font-size: 13px; color: var(--text); white-space: nowrap; }
.pt-dim { color: var(--muted); font-size: 12.5px; }

/* 同系列折叠：被折叠的版本默认不显示，展开后带缩进箭头 */
tr.pt-sub.is-folded { display: none; }
tr.pt-sub > td:first-child { padding-left: 34px; position: relative; }
tr.pt-sub > td:first-child::before {
  content: '↳'; position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  color: var(--faint); font-size: 12px;
}

.pt-more {
  margin-left: 6px; padding: 2px 8px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface-2);
  color: var(--muted); font-size: 11.5px; line-height: 1.6;
  cursor: pointer; display: inline-flex; align-items: center; gap: 3px;
  font-family: inherit; white-space: nowrap; transition: all .18s;
}
.pt-more:hover { color: var(--text); border-color: var(--faint); }
.pt-more i { font-style: normal; font-size: 9px; transition: transform .2s; }
.pt-more.on { color: var(--brand); border-color: rgba(var(--brand-rgb), .4); background: rgba(var(--brand-rgb), .08); }
.pt-more.on i { transform: rotate(180deg); }

.price-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.btn-fold-all i { font-style: normal; font-size: 10px; transition: transform .2s; }
.btn-fold-all.on i { transform: rotate(180deg); }

/* 维护模式提示条 */
.maint-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
  padding: 9px 16px; font-size: 13px; text-align: center;
  background: linear-gradient(90deg, rgba(251, 191, 36, .16), rgba(248, 113, 113, .16));
  border-bottom: 1px solid rgba(251, 191, 36, .35); color: var(--text);
  backdrop-filter: blur(8px);
}
.maint-bar b { color: var(--amber); }

/* ---------- skeleton ---------- */
.sk { background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 37%, var(--surface-2) 63%); background-size: 400% 100%; animation: shimmer 1.4s infinite linear; border-radius: 8px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------- utils ---------- */
.txt-brand { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.txt-mono { font-family: var(--mono); }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; }
.mb8 { margin-bottom: 8px; } .mb16 { margin-bottom: 16px; } .mb24 { margin-bottom: 24px; }
.hide { display: none !important; }
.mobile-only { display: none !important; }

@media (max-width: 900px) {
  .section { padding: 38px 0; }
}
@media (max-width: 720px) {
  body { font-size: 14.5px; }
  .wrap { padding: 0 16px; }
  .section { padding: 30px 0; }
  .mobile-only { display: block !important; }
  .desktop-only { display: none !important; }
  .card { padding: 18px; border-radius: 14px; }
  .btn.lg { height: 48px; }
  #totop { right: 12px; bottom: 14px; width: 38px; height: 38px; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 14px; }
  .h2 { font-size: 24px; }
}

/* ---------- icon button（全站共用）---------- */
.icon-btn {
  width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line);
  background: var(--surface-2); display: grid; place-items: center; cursor: pointer;
  transition: border-color .18s, transform .18s; color: var(--text-dim);
  flex: none; padding: 0;
}
.icon-btn:hover { border-color: var(--brand); color: var(--text); transform: translateY(-1px); }
@media (max-width: 480px) { .icon-btn { width: 34px; height: 34px; } }

/* ---------- vendor mark + billing tag（全站共用）---------- */
.vlogo-img { width: 30px; height: 30px; object-fit: contain; flex: none; }
html[data-palette="midnight"] .vlogo-img.mono,
html[data-palette="xuanku"] .vlogo-img.mono { filter: invert(1) brightness(1.75); }
.vcell { display: flex; align-items: center; gap: 8px; }
.vcell .vlogo-img { width: 22px; height: 22px; }
.v-logo-prev {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 11px; background: var(--surface-2);
}
.v-logo-prev .vlogo-img { width: 26px; height: 26px; }

.bill-tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em; padding: 2px 7px; border-radius: 6px;
  border: 1px solid var(--line); color: var(--muted); background: var(--surface-2); white-space: nowrap;
}
.bill-tag.token { color: var(--brand); border-color: rgba(47, 124, 255, .35); background: rgba(47, 124, 255, .1); }
.bill-tag.request { color: var(--amber); border-color: rgba(251, 191, 36, .35); background: rgba(251, 191, 36, .1); }
.bill-tag.task { color: var(--violet); border-color: rgba(124, 157, 255, .35); background: rgba(124, 157, 255, .12); }
.price-note {
  margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2);
  border: 1px dashed var(--line); font-family: var(--mono); font-size: 13px; color: var(--text);
}
.price-line { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--muted); }
.price-line + .price-line { margin-top: 4px; }
.price-line b { color: var(--text); font-family: var(--mono); }
.cache-hint { font-size: 11.5px; color: var(--green); margin-top: 6px; }

/* ---------- brand logo ---------- */
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; flex: none; }
.logo-img { width: 34px; height: 34px; object-fit: contain; flex: none; filter: drop-shadow(0 4px 10px rgba(27, 107, 240, .3)); }
.logo .lk { display: flex; flex-direction: column; line-height: 1.12; min-width: 0; }
.logo .lk b { font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.logo .lk small { font-size: 10px; color: var(--muted); letter-spacing: .14em; font-weight: 500; }

/* ---------- dropdown menu（主题 / 语言共用）---------- */
.menu-wrap { position: relative; display: inline-flex; }
.menu-pop {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 1200;
  min-width: 148px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .16), 0 2px 8px rgba(0, 0, 0, .06);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.97); transform-origin: top right;
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
}
.menu-wrap.open .menu-pop { opacity: 1; visibility: visible; transform: none; }
.menu-item {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 8px 10px; border: 0; border-radius: 9px; background: none; cursor: pointer;
  font-size: 14px; color: var(--text); text-align: left; white-space: nowrap;
  transition: background .14s;
}
.menu-item:hover { background: var(--surface-2); }
.menu-item.on { background: color-mix(in srgb, var(--brand) 11%, transparent); font-weight: 600; }
.menu-item .ck { font-style: normal; font-size: 12px; color: var(--brand); opacity: 0; }
.menu-item.on .ck { opacity: 1; }
.menu-item .sw { display: flex; gap: 4px; flex: none; }
.menu-item .sw i { width: 12px; height: 12px; border-radius: 4px; display: block; border: 1px solid rgba(0, 0, 0, .08); }
.lang-menu { min-width: 176px; }
@media (max-width: 520px) {
  .menu-pop { right: -6px; }
  .lang-menu { left: -6px; right: auto; }
}

.palette-btn { position: relative; overflow: hidden; }
.palette-btn svg { display: none; }
.palette-btn::after {
  content: ""; position: absolute; inset: 7px; border-radius: 6px;
  background: conic-gradient(from 0deg, #1b6bf0, #3edbd3, #f7f2ea, #0b1730, #1b6bf0);
  opacity: .9;
  transition: transform .25s var(--ease);
}
.palette-btn:hover::after { transform: rotate(45deg) scale(1.08); }
@media (max-width: 480px) {
  .logo-img { width: 28px; height: 28px; }
  .logo .lk b { font-size: 14.5px; }
  .logo .lk small { font-size: 9px; }
}
