/* =========================================================
 *  base.css — 全局变量、Reset、工具栏、通用按钮、通用动画
 *  1:1 从 style.css 拆分，视觉零改动
 *  🎨 全局暗黑极简滚动条美化
 *  🎨 升级：难度下拉框 option 深色背景 + select 颜色过渡
 * ========================================================= */

/* ---------------- 根变量 ---------------- */

:root {
  --bg: #0b1017;
  --panel: #1a2332;
  --panel-2: #141d2a;
  --panel-side: #0d141f;
  --accent: #3d8bfd;
  --accent-hover: #5aa0ff;
  --text: #e8eef7;
  --muted: #93a4bb;
  --node: #141e30;
  --node-border: #5aa0ff;
  --handle: #7dd3fc;
  --line: #2c3f59;
  --dot: #22304a;
  --danger: #fe4c61;
  /* 代码等宽字体：由「偏好设置」动态覆盖 */
  --code-font-family: "JetBrains Mono", "Fira Code", "Consolas", monospace;
}

/* ---------------- 全局隐藏工具类 ----------------
 * 元素自身常带有 display:flex / inline-flex 等规则，
 * 这里用 !important 保证 hidden 属性与 .hidden 类真正生效。
 */
.hidden,
[hidden] {
  display: none !important;
}

/* ---------------- Reset ---------------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: row;
  overflow: hidden;
  height: 100vh;
}

body.modal-open {
  overflow: hidden;
}

/* ---------------- 代码字体（偏好设置：--code-font-family） ----------------
 * 全站代码块 / 题解编辑器统一跟随用户选择的等宽字体，并开启连字。
 */
pre,
code,
kbd,
samp,
.markdown-preview pre,
.markdown-preview code,
.markdown-preview pre code,
#field-note,
#zen-input {
  font-family: var(--code-font-family) !important;
  font-feature-settings: "liga" on, "calt" on;
}

/* =========================================================
 *  未登录访问拦截（路由守卫）
 * ========================================================= */

body.auth-locked .sidebar,
body.auth-locked .main,
body.auth-locked .drawer,
body.auth-locked .drawer-backdrop,
body.auth-locked .drawer-toggle {
  visibility: hidden !important;
  pointer-events: none !important;
  user-select: none;
}

/* 强制登录时隐藏关闭按钮，并屏蔽其他弹窗 */
body.auth-locked #auth-modal-close {
  display: none !important;
}

body.auth-locked .modal-backdrop:not(.auth-backdrop) {
  display: none !important;
}

/* 全屏深色拦截层（位于登录卡片遮罩之下） */
.auth-gate {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  flex-direction: column;
  align-items: center;
  padding-top: 12vh;
  text-align: center;
  background: radial-gradient(
      55% 45% at 50% 0%,
      rgba(61, 139, 253, 0.14),
      transparent 72%
    ),
    linear-gradient(180deg, #0b1017, #070b11);
  pointer-events: none;
}

body.auth-locked .auth-gate {
  display: flex;
}

/* 登录成功后的云端同步阶段：遮罩保持覆盖，并展示同步进度 */
body.auth-preparing .auth-gate-brand,
body.auth-preparing .auth-gate-tip {
  display: block;
}

/* 同步失败 / 超时：遮罩上提供重试与降级入口，避免卡死在加载态 */
.auth-gate.is-error .auth-gate-brand,
.auth-gate.is-error .auth-gate-tip {
  display: block;
}

.auth-gate.is-error .auth-gate-tip {
  max-width: min(520px, 82vw);
  color: #ffb4bd;
}

.auth-gate-actions {
  display: none;
  gap: 10px;
  margin-top: 18px;
  pointer-events: auto;
}

.auth-gate.is-error .auth-gate-actions {
  display: flex;
}

/* 云端数据与首帧渲染全部就绪后，遮罩淡出揭开工作台 */
.auth-gate.is-leaving {
  display: flex;
  pointer-events: none;
  animation: auth-gate-fade-out 0.26s ease forwards;
}

@keyframes auth-gate-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.auth-gate-brand {
  display: none;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.auth-gate-tip {
  display: none;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* 拦截层的文字只在“启动鉴权、尚未弹出卡片”时显示 */
body.auth-checking .auth-gate-brand {
  display: block;
}

body.auth-checking .auth-gate-tip {
  display: block;
}

/* =========================================================
 *  🎨 全局暗黑极简滚动条美化
 * ========================================================= */

* {
  scrollbar-width: thin !important;
  scrollbar-color: #334155 transparent !important;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 999px;
  transition: background 140ms ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

/* =========================================================
 *  🎨 全局下拉框 option：深色背景 + 难度专属色
 *  - 覆盖工具栏筛选 & 表单字段
 *  - 具体文字颜色由 JS 内联 style.color 覆盖（见 editor.js / app.js）
 * ========================================================= */

select option {
  background: #101827;
  color: #e8eef7;
  font-weight: 650;
  padding: 6px 10px;
}

/* select 自身：颜色平滑过渡，避免变色瞬间突兀 */
.toolbar-filter-select,
.field select,
.drawer-sort-select {
  transition: color 180ms ease, border-color 180ms ease,
    box-shadow 140ms ease, background 140ms ease;
}

/* =========================================================
 *  主区域
 * ========================================================= */

.main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 18px;
  background: var(--panel);
  border-bottom: 1px solid #2a3a4f;
  flex-wrap: wrap;
  z-index: 12;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.sidebar-toggle {
  appearance: none;
  border: 1px solid var(--line);
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
  flex-shrink: 0;
}

.sidebar-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: #3d5470;
}

/* =========================================================
 *  工具栏搜索框 + 难度筛选
 * ========================================================= */

.toolbar-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 220px;
  min-width: 160px;
  max-width: 400px;
}

.toolbar-search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12.5px;
  line-height: 1;
  opacity: 0.65;
  pointer-events: none;
  user-select: none;
}

.toolbar-search-input {
  width: 100%;
  font: inherit;
  font-size: 13.5px;
  color: var(--text);
  background: #101827;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 32px 9px 33px;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease,
    background 140ms ease;
}

.toolbar-search-input::placeholder {
  color: #5c6c82;
}

.toolbar-search-input:hover {
  border-color: #3d5470;
}

.toolbar-search-input:focus {
  border-color: var(--accent);
  background: #0d1522;
  box-shadow: 0 0 0 3px rgba(61, 139, 253, 0.22);
}

.toolbar-search-clear {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  appearance: none;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  transition: background 130ms ease, color 130ms ease;
}

.toolbar-search-clear[hidden] {
  display: none;
}

.toolbar-search-clear:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.toolbar-filter-select {
  appearance: none;
  font: inherit;
  font-size: 12.5px;
  color: var(--text);
  background-color: #101827;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 28px 9px 12px;
  outline: none;
  cursor: pointer;
  min-width: 124px;
  flex-shrink: 0;
  transition: border-color 140ms ease, box-shadow 140ms ease;
  background-image: linear-gradient(45deg, transparent 50%, #93a4bb 50%),
    linear-gradient(135deg, #93a4bb 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.toolbar-filter-select:hover {
  border-color: #3d5470;
}

.toolbar-filter-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(61, 139, 253, 0.22);
}

.toolbar-filter-select option {
  background: #101827;
  color: var(--text);
}

.toolbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* =========================================================
 *  通用按钮
 * ========================================================= */

.btn {
  appearance: none;
  border: none;
  border-radius: 9px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease,
    transform 80ms ease, box-shadow 140ms ease;
}

.btn:active {
  transform: translateY(1px);
}

/* 登录按钮 loading：转圈图标 + 禁用重复点击 */
.btn.is-loading {
  position: relative;
  padding-left: 36px;
  cursor: progress;
  opacity: 0.9;
}

.btn.is-loading::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-top-color: #fff;
  animation: btn-spin 0.7s linear infinite;
}

.btn:disabled {
  cursor: progress;
}

@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}

.btn-primary {
  background: linear-gradient(180deg, #4d95ff, #2f7ae8);
  color: #fff;
  box-shadow: 0 4px 14px rgba(61, 139, 253, 0.32);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #5aa0ff, #3d8bfd);
  box-shadow: 0 6px 18px rgba(61, 139, 253, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: #3d5470;
  background: rgba(255, 255, 255, 0.08);
}

.btn-danger {
  background: rgba(254, 76, 97, 0.12);
  color: #ff8a95;
  border: 1px solid rgba(254, 76, 97, 0.35);
}

.btn-danger:hover {
  background: rgba(254, 76, 97, 0.22);
  border-color: var(--danger);
  color: #fff;
  box-shadow: 0 4px 14px rgba(254, 76, 97, 0.32);
}

/* =========================================================
 *  通用动画
 * ========================================================= */

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-in {
  from {
    opacity: 0;
    /* 仅做轻微上移 + 透明度：不使用 scale，避免文本在缩放过程中
     * 反复重栅格化而产生 1~3px 的基线抖动。 */
    transform: translate3d(0, 10px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* =========================================================
 *  登录 / 注册系统样式（顶部导航栏用户区 + 弹窗标签页）
 * ========================================================= */

/* 顶部用户容器 */
.toolbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 4px;
  position: relative;
}

/* 已登录用户头像/名称按钮 */
.toolbar-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.toolbar-user-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: #3d5470;
}

/* 用户下拉菜单 */
.toolbar-user-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 150px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  padding: 6px;
  z-index: 200;
  animation: fade-in 120ms ease-out;
}
.toolbar-user-menu.hidden {
  display: none;
}

/* 下拉菜单项 */
.toolbar-user-menu .btn-block {
  width: 100%;
  justify-content: flex-start;
  padding: 8px 12px;
  font-size: 13px;
  text-align: left;
}

/* 小尺寸按钮 */
.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

/* 登录/注册标签页 */
.auth-tabs {
  display: inline-flex;
  padding: 3px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
  border-radius: 999px;
  gap: 4px;
}
.auth-tab {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  padding: 6px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
  white-space: nowrap;
}
.auth-tab:hover {
  color: var(--text);
}
.auth-tab.is-active {
  background: linear-gradient(180deg, #4d95ff, #2f7ae8);
  color: #fff;
  box-shadow: 0 2px 8px rgba(61, 139, 253, 0.4);
}

/* 提示消息 */
.auth-msg {
  font-size: 12.5px;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
  animation: fade-in 140ms ease-out;
}
.auth-msg.hidden {
  display: none;
}
.auth-msg.error {
  background: rgba(254, 76, 97, 0.12);
  color: #ff8a95;
  border: 1px solid rgba(254, 76, 97, 0.3);
}
.auth-msg.success {
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.auth-msg.info {
  background: rgba(61, 139, 253, 0.12);
  color: #9cc4ff;
  border: 1px solid rgba(61, 139, 253, 0.3);
}

/* 登录/注册底部按钮组 */
.auth-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.auth-footer .btn-ghost {
  font-size: 12.5px;
  padding: 8px 14px;
}

/* =========================================================
 *  Supabase 鉴权：邮箱激活提示样式
 * ========================================================= */

/* 弹窗 body 内部布局微调 */
.auth-modal-body {
  overflow: hidden;
}

/* =========================================================
 *  登录 / 注册：右上角用户区补充
 * ========================================================= */

.toolbar-user-profile {
  display: flex;
  align-items: center;
}

.toolbar-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.user-avatar {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(180deg, #4d95ff, #2f7ae8);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

/* 全站通用头像图片：等比铺满 + 圆形裁剪，绝不拉伸 */
.avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

.user-name {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* =========================================================
 *  ☁️ 云同步状态指示器（顶部工具栏）
 *  - 固定 36px 图标胶囊：只显示图标，永不因文字变化抖动
 *  - 就绪：淡灰云朵 + 右下角极小绿点
 *  - 同步中：云朵微弱呼吸 / 轻旋，布局尺寸不变
 *  - 失败：暗红 ⚠，才允许用户感知异常
 * ========================================================= */

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sync-status {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font: inherit;
  cursor: default;
  user-select: none;
  transition: background 160ms ease, border-color 160ms ease;
}

.sync-status[hidden] {
  display: none !important;
}

.sync-status:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.5);
  outline-offset: 2px;
}

.sync-icon {
  display: block;
  font-size: 15px;
  line-height: 1;
  opacity: 0.72;
  filter: saturate(0.35);
  transform-origin: 50% 55%;
  transition: opacity 160ms ease, filter 160ms ease;
}

.sync-status:hover .sync-icon {
  opacity: 0.95;
}

/* 右下角极小绿点：就绪的柔和信号 */
.sync-dot {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px var(--panel, #0d1520);
  opacity: 0.85;
  transition: background 160ms ease, opacity 160ms ease;
}

/* 同步中：原地轻微呼吸 + 微旋，不改变外框尺寸 */
.sync-status.is-loading .sync-icon,
.sync-status.is-syncing .sync-icon {
  animation: sync-breathe 1.5s ease-in-out infinite;
}

.sync-status.is-loading .sync-dot,
.sync-status.is-syncing .sync-dot {
  background: #64748b;
  opacity: 0.4;
}

/* 失败：暗红警示，此时才提醒用户 */
.sync-status.is-error {
  cursor: pointer;
  border-color: rgba(190, 72, 72, 0.42);
  background: rgba(190, 72, 72, 0.08);
}

.sync-status.is-error .sync-icon {
  opacity: 1;
  filter: none;
  color: #b4534b;
}

.sync-status.is-error .sync-dot {
  display: none;
}

/* 悬停浮窗：仅 hover / 键盘聚焦时展示，绝不常驻 */
.sync-status::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 260;
  width: max-content;
  max-width: 260px;
  padding: 6px 9px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  background: rgba(12, 20, 32, 0.96);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.5;
  text-align: right;
  white-space: normal;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease,
    visibility 0s linear 140ms;
}

.sync-status:hover::after,
.sync-status:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

@keyframes sync-breathe {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.6;
  }
  50% {
    transform: scale(0.9) rotate(-7deg);
    opacity: 0.95;
  }
}

/* =========================================================
 *  登录 / 注册弹窗：暗黑磨砂玻璃
 * ========================================================= */

/* 注意：modal.css 在 base.css 之后加载，这里用双类选择器提升优先级，
 * 确保认证弹窗的宽度、磨砂背景与内边距不被 .modal / .modal-backdrop 覆盖。 */
.modal-backdrop.auth-backdrop {
  z-index: 320;
  background: radial-gradient(
      60% 50% at 50% 0%,
      rgba(61, 139, 253, 0.14),
      transparent 70%
    ),
    rgba(4, 8, 14, 0.78);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}

.modal.auth-modal {
  width: min(430px, 100%);
  max-height: min(92vh, 780px);
  background: linear-gradient(
    180deg,
    rgba(28, 38, 54, 0.94),
    rgba(15, 22, 34, 0.97)
  );
  border: 1px solid rgba(122, 162, 214, 0.22);
  border-radius: 20px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.auth-modal .modal-header {
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.015);
}

.auth-modal .modal-header h2 {
  font-size: 16px;
  letter-spacing: 0.01em;
}

.modal-body.auth-modal-body {
  padding: 0;
  gap: 0;
  overflow-y: auto;
}

/* Tab 栏 */
.auth-tabs-bar {
  display: flex;
  justify-content: center;
  padding: 16px 24px 14px;
  border-bottom: 1px solid rgba(44, 63, 89, 0.65);
  background: rgba(8, 13, 21, 0.28);
}

.auth-tabs {
  min-width: 210px;
  justify-content: center;
}

.auth-tab {
  flex: 1;
  text-align: center;
}

/* 面板 */
.auth-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 24px 24px;
  animation: fade-in 160ms ease-out;
}

.auth-panel[hidden] {
  display: none !important;
}

/* 提示消息 */
.auth-msg {
  margin: 14px 24px 0;
  padding: 9px 12px;
  font-size: 12.5px;
}

.auth-msg[hidden] {
  display: none !important;
}

.auth-footer {
  margin-top: 4px;
}

.auth-footer .btn-primary {
  min-width: 112px;
}

/* 邮箱激活提示 */
.auth-activate-panel {
  text-align: center;
  gap: 16px;
}

.auth-activate-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(16, 185, 129, 0.16),
    rgba(16, 185, 129, 0.06)
  );
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.auth-activate-title {
  color: #6ee7b7;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.auth-activate-email {
  color: var(--text);
  font-size: 14.5px;
  font-weight: 650;
  word-break: break-all;
  margin: 2px 0;
}

.auth-activate-tip {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.auth-activate-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

#auth-goto-login-btn {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}
