/* =============================================================================
 * phoenix-theme.css — 「朱砂夜」沉浸主题
 * 纯样式覆盖层：index.html 的原有 CSS 与业务逻辑保持不变。
 * 通过 CSS 变量同时支持暗色（默认）与浅色（[data-theme="light"]）两套皮肤。
 * =========================================================================== */

:root {
  --bg: #0b0d14;
  --bg-soft: #11141d;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .075);
  --surface-3: rgba(255, 255, 255, .11);
  --border: rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .17);
  --txt: #f1f3f8;
  --sub: #98a1b3;
  --muted: #6d7587;
  --header-bg: rgba(11, 13, 20, .78);
  --shadow: 0 10px 30px rgba(0, 0, 0, .38);
  --shadow-lg: 0 22px 52px rgba(0, 0, 0, .55);
  --pri: #ff3b5c;
  --pri2: #ff7a5c;
  --gold: #ffc56b;
  --glow: rgba(255, 59, 92, .24);
  --grad: linear-gradient(135deg, var(--pri), var(--pri2));
  --radius: 16px;
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #f5f6fa;
  --bg-soft: #ffffff;
  --surface: rgba(255, 255, 255, .92);
  --surface-2: rgba(22, 26, 42, .045);
  --surface-3: rgba(22, 26, 42, .08);
  --border: rgba(22, 26, 42, .09);
  --border-strong: rgba(22, 26, 42, .17);
  --txt: #171a22;
  --sub: #6a7284;
  --muted: #99a0ae;
  --header-bg: rgba(255, 255, 255, .82);
  --shadow: 0 8px 24px rgba(26, 30, 50, .10);
  --shadow-lg: 0 20px 44px rgba(26, 30, 50, .16);
  --glow: rgba(255, 59, 92, .16);
  color-scheme: light;
}

/* ---------- 全局 ---------- */
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--txt);
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1100px 620px at 12% -12%, rgba(255, 59, 92, .13), transparent 62%),
    radial-gradient(900px 520px at 92% -4%, rgba(96, 92, 255, .11), transparent 62%),
    radial-gradient(700px 500px at 50% 110%, rgba(255, 122, 92, .06), transparent 65%);
  transition: opacity .3s;
}
html[data-theme="light"] body::before { opacity: .42; }
::selection { background: var(--glow); color: var(--txt); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-3); border: 2px solid transparent; background-clip: padding-box; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-strong); background-clip: padding-box; }

/* ---------- 顶栏 ---------- */
header {
  background: var(--header-bg);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 26px rgba(0, 0, 0, .22);
}
html[data-theme="light"] header { box-shadow: 0 4px 20px rgba(26, 30, 50, .07); }
.logo {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: .8px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 4px;
}
.searchbox input {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--txt);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.searchbox input::placeholder { color: var(--muted); }
.searchbox input:focus {
  border-color: rgba(255, 59, 92, .55);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px var(--glow);
}
.searchbox button {
  padding: 9px 22px;
  border-radius: 999px;
  background: var(--grad);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 16px var(--glow);
  transition: transform .18s, box-shadow .18s, filter .18s;
}
.searchbox button:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 6px 22px var(--glow); }
.authbtn {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--txt);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  transition: all .2s;
}
.authbtn:hover { border-color: var(--pri); color: var(--pri); background: var(--surface-2); }
.authbtn.on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 4px 14px var(--glow); }

/* 搜索下拉 */
.sdrop {
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 14px 16px;
  margin-top: 8px;
}
.sd-sec b { color: var(--sub); letter-spacing: .4px; }
.sd-tag { background: var(--surface-2); color: var(--sub); border-radius: 999px; transition: all .2s; }
.sd-tag:hover { background: var(--grad); color: #fff; transform: translateY(-1px); }
.sd-hot .sd-tag { background: var(--surface-2); }
.sd-clear { color: var(--muted); }
.sd-empty { color: var(--muted); }

/* 导航胶囊 */
nav { margin-top: 12px; gap: 8px; }
nav button {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--sub);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  transition: all .22s;
}
nav button:hover { color: var(--txt); border-color: var(--border-strong); transform: translateY(-1px); }
nav button.on {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px var(--glow);
}
.subnav { margin-top: 10px; gap: 7px; }
.subnav button {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--sub);
  border-radius: 999px;
  padding: 5px 13px;
  transition: all .2s;
}
.subnav button:hover { color: var(--txt); border-color: var(--border-strong); }
.subnav button.on { border-color: var(--pri); color: var(--pri); background: var(--glow); font-weight: 700; }

main { padding-top: 20px; }

/* ---------- Hero 横幅 ---------- */
.phx-hero {
  position: relative;
  display: none;
  height: 330px;
  margin-bottom: 26px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.phx-hero.show { display: block; }
.phx-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 18%;
  filter: blur(30px) saturate(1.35) brightness(.62);
  transform: scale(1.25);
  transition: background-image .6s, opacity .6s;
}
html[data-theme="light"] .phx-hero-bg { filter: blur(30px) saturate(1.2) brightness(.9); }
.phx-hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 15, .94) 0%, rgba(8, 9, 15, .74) 42%, rgba(8, 9, 15, .18) 100%),
    linear-gradient(0deg, rgba(8, 9, 15, .72), transparent 55%);
}
html[data-theme="light"] .phx-hero-shade {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .84) 45%, rgba(255, 255, 255, .30) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, .65), transparent 55%);
}
.phx-hero-body {
  position: absolute; left: 40px; top: 50%; transform: translateY(-50%);
  width: min(560px, 58%);
  color: #fff;
  z-index: 2;
}
html[data-theme="light"] .phx-hero-body { color: #171a22; }
.phx-hero-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 800; letter-spacing: 1.2px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--grad); color: #fff;
  box-shadow: 0 4px 14px var(--glow);
}
.phx-hero-title {
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 900; line-height: 1.2; margin: 14px 0 10px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .5);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
html[data-theme="light"] .phx-hero-title { text-shadow: none; }
.phx-hero-desc {
  font-size: 13px; line-height: 1.75; opacity: .82;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.phx-hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.phx-hero-meta span {
  font-size: 12px; padding: 4px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .18);
}
html[data-theme="light"] .phx-hero-meta span { background: rgba(20, 24, 40, .06); border-color: rgba(20, 24, 40, .1); }
.phx-hero-meta span.hot { color: var(--gold); font-weight: 800; }
.phx-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.phx-hero-actions button {
  border: none; border-radius: 999px; padding: 11px 24px;
  font-size: 14px; font-weight: 800; cursor: pointer; transition: all .2s;
}
.phx-btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 20px var(--glow); }
.phx-btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.phx-btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .24) !important; }
html[data-theme="light"] .phx-btn-ghost { background: rgba(20, 24, 40, .06); color: var(--txt); border-color: var(--border-strong) !important; }
.phx-btn-ghost:hover { background: rgba(255, 255, 255, .22); }
.phx-hero-poster {
  position: absolute; right: 40px; top: 50%; transform: translateY(-50%);
  width: 156px; aspect-ratio: 3/4; border-radius: 14px; overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .6); border: 2px solid rgba(255, 255, 255, .18);
  z-index: 2;
  background: linear-gradient(155deg, var(--surface-2), var(--bg-soft));
}
.phx-hero-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 封面无法解码（HEIC 等）时隐藏破图，改为剧名占位，观感与卡片一致 */
.phx-hero-poster.phx-poster-fail::before {
  content: "🎬";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  transform: translateY(-20px);
  font-size: 30px; opacity: .4;
}
.phx-hero-poster.phx-poster-fail::after {
  content: attr(data-title);
  position: absolute; left: 12px; right: 12px; bottom: 22px;
  text-align: center; font-size: 13px; font-weight: 800; line-height: 1.5;
  color: var(--txt);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.phx-hero-dots { position: absolute; right: 40px; bottom: 18px; display: flex; gap: 7px; z-index: 3; }
.phx-hero-dots i {
  width: 7px; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .38);
  cursor: pointer; transition: all .25s;
}
.phx-hero-dots i.on { width: 22px; background: var(--pri); }
@media (max-width: 900px) {
  .phx-hero { height: 260px; }
  .phx-hero-body { left: 22px; width: min(460px, 66%); }
  .phx-hero-poster { right: 20px; width: 112px; }
  .phx-hero-dots { right: 20px; }
}
@media (max-width: 600px) {
  .phx-hero { height: 226px; border-radius: 18px; margin-bottom: 18px; }
  .phx-hero-body { left: 16px; width: calc(100% - 32px); }
  .phx-hero-title { font-size: 22px; margin: 10px 0 6px; }
  .phx-hero-desc { display: none; }
  .phx-hero-meta { margin: 10px 0 12px; gap: 6px; }
  .phx-hero-poster { display: none; }
  .phx-hero-actions button { padding: 9px 18px; font-size: 13px; }
  .phx-hero-dots { right: 16px; bottom: 12px; }
}

/* ---------- 卡片网格 ---------- */
.grid { gap: 14px; }
@media (min-width: 600px) { .grid { gap: 18px; } }
@media (min-width: 1024px) { .grid { gap: 20px; } }
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s;
  will-change: transform;
}
.card:hover {
  transform: translateY(-7px) scale(1.018);
  border-color: rgba(255, 59, 92, .48);
  box-shadow: var(--shadow-lg), 0 0 30px var(--glow);
}
.card::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; bottom: 46px;
  z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(6, 8, 14, .62) 100%);
  border-radius: var(--radius) var(--radius) 0 0;
}
html[data-theme="light"] .card::before { background: linear-gradient(180deg, transparent 65%, rgba(255, 255, 255, .34) 100%); }
.cover { border-radius: var(--radius) var(--radius) 0 0; background: var(--surface-2); }
/* 注意：.cinfo 不能设 position，否则 .score 角标会相对它定位而掉到卡片底部 */
.cinfo { padding: 9px 11px 11px; }
.ctitle { font-size: 13.5px; font-weight: 700; letter-spacing: .2px; }
.cmeta { font-size: 11px; color: var(--sub); margin-top: 5px; gap: 6px; }
.cmeta span:last-child { color: var(--muted); }
/* 评分变成封面角标 */
.score {
  position: absolute; z-index: 3; top: 10px; left: 10px;
  min-width: 34px; text-align: center;
  background: linear-gradient(135deg, var(--gold), #ff8a3c);
  color: #2a1400 !important; font-weight: 900; font-size: 11px;
  padding: 4px 8px; border-radius: 9px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
  letter-spacing: .3px;
}
.score:empty { display: none; }
.state { color: var(--sub); padding: 50px 0; font-size: 14px; }
.err { color: var(--pri); }
.morebtn {
  background: var(--surface); color: var(--pri); border: 1px solid var(--pri);
  border-radius: 999px; padding: 10px 34px; font-weight: 700; transition: all .2s;
}
.morebtn:hover { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 18px var(--glow); }

/* 骨架屏 */
.phx-skel {
  height: 0; padding-bottom: 138%; border-radius: var(--radius);
  background: linear-gradient(100deg, var(--surface) 30%, var(--surface-3) 50%, var(--surface) 70%);
  background-size: 220% 100%; animation: phxShimmer 1.35s linear infinite;
  border: 1px solid var(--border);
}
@keyframes phxShimmer { to { background-position: -220% 0; } }
.phx-img-fail { opacity: 0 !important; }

/* ---------- 详情 / 登录弹窗 ---------- */
.mask { background: rgba(4, 5, 10, .72); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.modal {
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 22px;
  color: var(--txt);
}
.close { background: var(--surface-2); color: var(--txt); transition: all .2s; }
.close:hover { background: var(--pri); color: #fff; transform: rotate(90deg); }
.dcover { border-radius: 12px; box-shadow: 0 10px 26px rgba(0, 0, 0, .42); }
.dtitle { font-size: 20px; font-weight: 900; }
.dmeta { color: var(--sub); }
.dintro { color: var(--sub); }
.dlast { color: var(--pri); }
.eps-title { color: var(--txt); }
.epctl button { background: var(--surface-2); color: var(--sub); border-radius: 999px; }
.epctl button:hover { background: var(--grad); color: #fff; }
.eps button, .weps button {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--txt);
  border-radius: 10px;
  transition: all .2s;
}
.eps button:hover, .weps button:hover { border-color: var(--pri); color: var(--pri); transform: translateY(-2px); }
.eps button.seen { opacity: .5; }
.eps button.lastw { border-color: var(--pri); color: var(--pri); background: var(--glow); }
.weps button.cur { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 4px 14px var(--glow); }
.weps button.seen:not(.cur) { color: var(--muted); border-color: var(--border); }
.favbtn { background: var(--surface); border: 1px solid var(--pri); color: var(--pri); border-radius: 999px; font-weight: 600; }
.favbtn:hover, .favbtn.on { background: var(--grad); color: #fff; border-color: transparent; }
.epskel { background: linear-gradient(90deg, var(--surface) 25%, var(--surface-3) 50%, var(--surface) 75%); background-size: 200% 100%; }
.gate { background: var(--bg); }
.gatebox { background: var(--bg-soft); border: 1px solid var(--border); box-shadow: var(--shadow-lg); color: var(--txt); }
.gatebox p { color: var(--sub); }
.gatebox input { background: var(--surface); border: 1px solid var(--border); color: var(--txt); }
.gatebox button { background: var(--grad); border-radius: 999px; font-weight: 700; }

/* ---------- 播放页 ---------- */
#watch { padding-top: 18px; }
.wtop { gap: 10px; }
.wback {
  background: var(--surface); border: 1px solid var(--border); color: var(--txt);
  border-radius: 999px; font-weight: 600; transition: all .2s;
}
.wback:hover { border-color: var(--pri); color: var(--pri); }
.wtitle { font-size: 17px; font-weight: 800; }
.wplayer {
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(255, 59, 92, .06);
  background: #000;
}
.wctrl { background: rgba(10, 11, 16, .94); border-top: 1px solid var(--border); gap: 8px; }
.wctrl button {
  background: var(--surface-2); color: var(--txt); border: 1px solid var(--border);
  border-radius: 9px; font-weight: 600; transition: all .2s;
}
.wctrl button:hover { background: var(--grad); color: #fff; border-color: transparent; }
/* 缓冲提示改成左上角小胶囊，不遮挡视频封面 */
.wloading {
  top: 12px; left: 12px; right: auto; bottom: auto;
  height: auto; width: auto;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(8, 9, 14, .58);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-size: 12px; font-weight: 600; gap: 7px;
}
.wloading::before { width: 14px; height: 14px; border-width: 2px; }
.winfo {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; box-shadow: var(--shadow); padding: 18px;
}
.wname { font-size: 19px; font-weight: 900; }
.wmeta { color: var(--sub); }
.wintro { color: var(--sub); }
.weps-title { color: var(--txt); }

/* phoenix-extra.js 注入的组件（其 style 在运行时追加到 head 末尾，这里用更高优先级覆盖） */
body .phx-toolbar button {
  background: var(--surface-2); color: var(--txt);
  border: 1px solid var(--border); border-radius: 999px; font-weight: 600;
  transition: all .2s;
}
body .phx-toolbar button:hover { background: var(--grad); color: #fff; border-color: transparent; }
body .phx-toolbar button.phx-on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 4px 14px var(--glow); }
body .phx-sel {
  background: var(--surface-2); color: var(--txt);
  border: 1px solid var(--border); border-radius: 999px; font-weight: 600;
}
body .phx-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; color: var(--txt); }
body .phx-tabs button { background: var(--surface-2); border: 1px solid var(--border); color: var(--sub); border-radius: 999px; }
body .phx-tabs button.on { background: var(--grad); color: #fff; border-color: transparent; }
body .phx-item { border-bottom: 1px solid var(--border); }
body .phx-item .phx-who { color: var(--pri); }
body .phx-send input { background: var(--surface); border: 1px solid var(--border); color: var(--txt); border-radius: 999px; }
body .phx-send button { background: var(--grad); border-radius: 999px; font-weight: 700; }
body .phx-card { background: var(--surface); border: 1px solid var(--border); }
body .phx-tag { background: var(--surface-2); border: 1px solid var(--border); }
body .phx-sug { border-top: 1px dashed var(--border-strong); }
body .phx-dm { text-shadow: 0 2px 4px #000, 0 0 4px #000, 0 0 10px rgba(0, 0, 0, .9); }

/* ---------- 底部 tabbar ---------- */
#bbar {
  background: var(--header-bg);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border-top: 1px solid var(--border);
}
#bbar button { background: transparent; color: var(--muted); }
#bbar button.on { color: var(--pri); }

/* ---------- 页脚 ---------- */
.footer {
  background: linear-gradient(180deg, transparent, var(--surface));
  border-top: 1px solid var(--border);
  color: var(--muted);
  margin-top: 56px;
}
.f-brand { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.f-tag { color: var(--muted); }
.f-col b { color: var(--sub); }
.f-col a { color: var(--muted); }
.f-col a:hover { color: var(--pri); }
.f-copy { border-top: 1px dashed var(--border); color: var(--muted); }

/* ---------- 影院模式（原规则优先级更高，这里只补差异） ---------- */
body.theater { background: #06070b; }
body.theater .wback { background: var(--surface-2); border-color: var(--border); color: var(--txt); }
body.theater .winfo { background: var(--surface); border: 1px solid var(--border); }
body.theater .wtitle, body.theater .wname { color: var(--txt); }
body.theater .wintro { color: var(--sub); }
body.theater .weps button { background: var(--surface); border-color: var(--border); color: var(--txt); }
body.theater .weps button.cur { background: var(--grad); color: #fff; border-color: transparent; }

/* ---------- 增强层附加控件 ---------- */
.phx-theme-btn { display: inline-flex; align-items: center; justify-content: center; }
.phx-fab {
  position: fixed; right: 22px; bottom: 26px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #fff; border: none; cursor: pointer;
  font-size: 18px; box-shadow: 0 8px 24px var(--glow);
  opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.phx-fab.show { opacity: 1; transform: none; pointer-events: auto; }
.phx-fab:hover { filter: brightness(1.1); }
@media (max-width: 600px) {
  /* 固定 3 列，避免 auto-fill 在窄屏下算出被裁切的第四列 */
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .phx-fab { right: 14px; bottom: 84px; }
  /* 移动端顶栏空间紧张：主题按钮改为右下角悬浮，避免把「登录」挤出屏幕 */
  .phx-theme-btn {
    position: fixed !important; right: 14px; bottom: 138px; z-index: 91;
    width: 42px; height: 42px; min-width: 42px; padding: 0 !important;
    border-radius: 50%; border: none !important;
    background: var(--grad); color: #fff;
    box-shadow: 0 8px 24px var(--glow);
    font-size: 17px; margin: 0 !important;
  }
  .topbar .authbtn { padding: 6px 12px; font-size: 12px; }
}
