/* ============================================================
   鹅日历 · Rond Visual Layer
   在 style.css 之后加载，统一覆盖为 Rond / iOS 风格视觉语言
   - 背景：#F2F2F7 分组背景
   - 卡片：纯白、16px 圆角、极轻阴影
   - 主色：品牌蓝 #5B9BD5（蓝主题，与 logo 同色） / Rond Pink #E93F6E（粉主题）
   - 品牌：Rond Navy #0E1133 + Cyan→Pink 渐变
   ============================================================ */

:root {
  /* ---- 桌面留白（展示用） ---- */
  --desk-bg: #0E1133;

  /* ---- Surfaces ---- */
  --bg-primary: #F2F2F7;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #E9E9EF;
  --bg-quaternary: #DFDFE6;
  --bg-overlay: rgba(14, 17, 51, 0.42);

  /* ---- 玻璃 / 浮起表面（深色外观下会整体反转） ---- */
  --surface-glass: rgba(255, 255, 255, 0.97);
  --surface-on-tint: rgba(255, 255, 255, 0.82);
  --surface-bar: rgba(242, 242, 247, 0.94);

  /* ---- Accent（浅蓝 = 品牌蓝 #5B9BD5，与 logo 同色） ---- */
  --primary: #5B9BD5;
  --primary-light: #8FC5F0;
  --primary-dark: #3A7BBF;
  --primary-15: rgba(91, 155, 213, 0.14);
  --primary-10: rgba(91, 155, 213, 0.09);

  /* ---- Rond brand ---- */
  --rnd-navy: #0E1133;
  --rnd-navy-2: #1C2054;
  --rnd-cyan: #46DFF0;
  --rnd-pink: #E90C59;
  --rnd-grad: linear-gradient(118deg, #46DFF0 0%, #E90C59 100%);
  --rnd-grad-soft: linear-gradient(118deg, rgba(70, 223, 240, 0.16) 0%, rgba(233, 12, 89, 0.16) 100%);

  /* ---- 分类色板（取自 Rond 环形图） ---- */
  --cat-tan: #B39B7C;
  --cat-blue: #5B9BD5;
  --cat-violet: #A855F7;
  --cat-amber: #E9B949;
  --cat-green: #34C77B;
  --cat-teal: #14B8A6;
  --cat-cyan: #22D3EE;
  --cat-rose: #F43F5E;
  --cat-orange: #F0862B;
  --cat-indigo: #6366F1;
  --cat-slate: #8E8E93;
  --cat-pink: #EC4899;

  /* ---- Schedule 语义色 ---- */
  --schedule-meeting: #5B9BD5;
  --schedule-meeting-15: rgba(91, 155, 213, 0.14);
  --schedule-conflict: #F43F5E;
  --schedule-conflict-15: rgba(244, 63, 94, 0.12);
  --schedule-habit: #34C77B;
  --schedule-habit-15: rgba(52, 199, 123, 0.12);
  --schedule-todo: #E9B949;
  --schedule-todo-15: rgba(233, 185, 73, 0.16);
  --schedule-trip: #14B8A6;
  --schedule-trip-15: rgba(20, 184, 166, 0.12);

  /* ---- Text ---- */
  --text-primary: #10142B;
  --text-secondary: #5B6075;
  --text-tertiary: #8E93A6;
  --text-placeholder: #A9AEBE;

  /* ---- Spacing ---- */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;

  /* ---- Radii ---- */
  --radius-card: 16px;
  --radius-lg: 20px;
  --radius-button: 12px;
  --radius-input: 999px;
  --radius-tag: 6px;

  /* ---- Shadows（Rond 极轻） ---- */
  --shadow-sm: 0 1px 3px rgba(16, 20, 43, 0.05), 0 0 0 0.5px rgba(16, 20, 43, 0.04);
  --shadow-md: 0 6px 20px rgba(16, 20, 43, 0.09);
  --shadow-lg: 0 16px 44px rgba(16, 20, 43, 0.16);
  --shadow-agent: 0 -8px 32px rgba(16, 20, 43, 0.14);

  /* ---- Typography ---- */
  --font-cn: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
  --font-en: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
  --font-mono: 'SF Mono', 'Menlo', ui-monospace, monospace;

  --heading1: 26px;
  --heading2: 21px;
  --heading3: 17px;
  --body: 15px;
  --caption: 13px;

  /* ---- Layout ---- */
  --phone-width: 393px;
  --phone-height: 852px;
  --navbar-height: 52px;
  --tabbar-height: 46px;
  --dialog-height: 56px;
  --safe-bottom: 26px;

  --divider: rgba(16, 20, 43, 0.07);
  --divider-strong: rgba(16, 20, 43, 0.12);
}

/* ============================================================
   粉主题
   ============================================================ */
[data-theme="pink"] {
  --primary: #E93F6E;
  --primary-light: #FF7FA3;
  --primary-dark: #C4214F;
  --primary-15: rgba(233, 63, 110, 0.12);
  --primary-10: rgba(233, 63, 110, 0.07);

  --schedule-meeting: #E93F6E;
  --schedule-meeting-15: rgba(233, 63, 110, 0.12);
  --schedule-habit: #4FBFA0;
  --schedule-habit-15: rgba(79, 191, 160, 0.12);
  --schedule-todo: #E9A03F;
  --schedule-todo-15: rgba(233, 160, 63, 0.16);

  --rnd-grad: linear-gradient(118deg, #FF9CC0 0%, #E93F6E 100%);
  --rnd-grad-soft: linear-gradient(118deg, rgba(255, 156, 192, 0.18) 0%, rgba(233, 63, 110, 0.18) 100%);
  --shadow-agent: 0 -8px 32px rgba(196, 33, 79, 0.16);

  --accent-gold: var(--primary);
  --accent-gold-light: var(--primary-light);
  --accent-gold-dark: var(--primary-dark);
  --accent-gold-15: var(--primary-15);
}

/* ============================================================
   黑主题（第三套主色）
   ============================================================ */
/* ============================================================
   深色外观（一键切换，不是配色主题，而是整套明暗反转）
   ============================================================ */
[data-theme="dark"] {
  color-scheme: dark;

  /* ---- 桌面画布 ---- */
  --desk-bg: #05060C;

  /* ---- Surfaces ---- */
  --bg-primary: #111114;
  --bg-secondary: #1C1C20;
  --bg-tertiary: #2A2A30;
  --bg-quaternary: #37373E;
  --bg-overlay: rgba(0, 0, 0, 0.62);

  /* ---- 玻璃 / 浮起表面 ---- */
  --surface-glass: rgba(28, 28, 32, 0.88);
  --surface-on-tint: rgba(255, 255, 255, 0.10);
  --surface-bar: rgba(28, 28, 32, 0.94);

  /* ---- 品牌深色卡（深色底上仍需可辨识） ---- */
  --rnd-navy: #1B1F4A;
  --rnd-navy-2: #272C68;

  /* ---- Text ---- */
  --text-primary: #F2F3F7;
  --text-secondary: #A7ACBC;
  --text-tertiary: #7E8394;
  --text-placeholder: #6C7180;

  /* ---- Divider ---- */
  --divider: rgba(255, 255, 255, 0.10);
  --divider-strong: rgba(255, 255, 255, 0.20);

  /* ---- Shadows（深色下靠亮度差而非阴影） ---- */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5), 0 0 0 0.5px rgba(255, 255, 255, 0.06);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 44px rgba(0, 0, 0, 0.62);
  --shadow-agent: 0 -8px 32px rgba(0, 0, 0, 0.6);

  /* ---- 主色仍取品牌蓝（深色下略提亮以保证可读性） ---- */
  --primary: #0A84FF;
  --primary-light: #5AC8FA;
  --primary-dark: #0060DF;
  --primary-15: rgba(10, 132, 255, 0.22);
  --primary-10: rgba(10, 132, 255, 0.13);

  /* ---- 分类色板：蓝类目恒等于品牌蓝，三套外观一致 ---- */
  --cat-blue: #5B9BD5;

  --schedule-meeting: #5B9BD5;
  --schedule-meeting-15: rgba(91, 155, 213, 0.24);
  --schedule-habit: #34C77B;
  --schedule-habit-15: rgba(52, 199, 123, 0.20);
  --schedule-todo: #E9B949;
  --schedule-todo-15: rgba(233, 185, 73, 0.22);

  --accent-gold: var(--primary);
  --accent-gold-light: var(--primary-light);
  --accent-gold-dark: var(--primary-dark);
  --accent-gold-15: var(--primary-15);
}

/* ============================================================
   画布 / 手机外框（Rond 深色画布 + 黑色机身）
   ============================================================ */
body {
  background: var(--desk-bg);
  background-image:
    radial-gradient(760px 460px at 12% -6%, rgba(70, 223, 240, 0.16), transparent 62%),
    radial-gradient(720px 520px at 96% 12%, rgba(233, 12, 89, 0.16), transparent 60%);
  color: var(--text-primary);
}

.phone-frame {
  background: var(--bg-primary);
  border-radius: 52px;
  box-shadow:
    0 0 0 11px #10121F,
    0 0 0 13px #2A2D3E,
    0 0 0 14px #0A0B12,
    0 34px 70px rgba(0, 0, 0, 0.55);
}

@media (max-width: 499px) {
  .phone-frame { border-radius: 0; box-shadow: none; }
  body { background: var(--bg-primary); background-image: none; }
}

/* ============================================================
   状态栏 / 导航
   ============================================================ */
.status-bar {
  height: 50px;
  padding: 0 26px 6px;
  background: transparent;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.2px;
}

.page-layout { background: var(--bg-primary); }

/* 顶部 Tab：iOS 风格胶囊高亮 */
.top-tabbar {
  height: var(--tabbar-height);
  padding: 0 10px;
  background: rgba(242, 242, 247, 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--divider);
  gap: 2px;
}

.top-tab-item {
  flex: 1;
  padding: 5px 6px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.1px;
  color: var(--text-tertiary);
  transition: color 0.2s, background 0.2s;
}

.top-tab-item .tab-icon svg { width: 17px; height: 17px; stroke-width: 2; }
.top-tab-item.active {
  color: var(--primary);
  background: var(--primary-10);
}
.top-tab-item.active::after { display: none; }
.top-tab-item.active .tab-icon svg { stroke: var(--primary); }

/* 通用导航条（返回 / 标题 / 右侧动作） */
.rnd-navbar {
  height: var(--navbar-height);
  padding: 0 var(--spacing-md);
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  background: rgba(242, 242, 247, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  position: sticky;
  top: 0;
  z-index: 30;
}
.rnd-navbar .nb-title {
  text-align: center;
  font-size: var(--heading3);
  font-weight: 650;
  letter-spacing: -0.2px;
  color: var(--text-primary);
}
.rnd-navbar .nb-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--primary);
  font-size: 20px;
  transition: background 0.2s;
}
.rnd-navbar .nb-btn:active { background: var(--primary-10); }
.rnd-navbar .nb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rnd-navbar .nb-text {
  font-size: var(--body); font-weight: 500; color: var(--primary);
  width: auto; padding: 0 4px;
}
.rnd-navbar .nb-right { justify-self: end; }

/* ============================================================
   卡片 / 列表
   ============================================================ */
.rnd-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.rnd-card + .rnd-card { margin-top: 10px; }
.rnd-card-pad { padding: 14px 16px; }

.rnd-group {
  background: var(--bg-secondary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.rnd-group + .rnd-group { margin-top: 14px; }

/* 行：tinted 圆形图标 + 标题/副标题 + 右侧 */
.rnd-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  min-height: 64px;
  position: relative;
  background: var(--bg-secondary);
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
}
.rnd-row:active { background: rgba(0, 0, 0, 0.025); }
.rnd-row + .rnd-row::before {
  content: '';
  position: absolute; left: 16px; right: 0; top: 0;
  height: 0.5px; background: var(--divider);
}
.rnd-row.inset-line + .rnd-row::before { left: 72px; }

.rnd-tint-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  line-height: 1;
}
.rnd-tint-icon.round { border-radius: 50%; width: 38px; height: 38px; }

.rnd-row-main { flex: 1; min-width: 0; }
.rnd-overline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 3px;
}
.rnd-row-title {
  font-size: var(--body);
  font-weight: 600;
  letter-spacing: -0.1px;
  color: var(--text-primary);
  line-height: 1.3;
}
.rnd-row-sub {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--text-tertiary);
  line-height: 1.35;
}
.rnd-row-sub .dot-sep { opacity: 0.55; margin: 0 5px; }
.rnd-chev { color: #C3C7D4; font-size: 18px; font-weight: 600; flex-shrink: 0; }
.rnd-row-trail { flex-shrink: 0; display: flex; align-items: center; gap: 8px; }

/* 灰底时长/属性小胶囊 */
.rnd-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(120, 126, 148, 0.11);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rnd-chip.accent { background: var(--primary-15); color: var(--primary); }
.rnd-chip.warn { background: var(--schedule-conflict-15); color: var(--schedule-conflict); }
.rnd-chip.good { background: var(--schedule-habit-15); color: #1F9D62; }

/* 小节标签 */
.rnd-section {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 20px 16px 8px;
}
.rnd-section .rs-title {
  font-size: 12px; font-weight: 700; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--text-tertiary);
}
.rnd-section .rs-action {
  font-size: 12px; font-weight: 650; letter-spacing: 0.3px;
  color: var(--primary); text-transform: uppercase;
}

/* ============================================================
   分段控件（Rond / iOS）
   ============================================================ */
.rnd-seg {
  display: flex;
  background: rgba(120, 126, 148, 0.12);
  border-radius: 11px;
  padding: 3px;
  gap: 3px;
}
.rnd-seg .seg-item {
  flex: 1;
  text-align: center;
  padding: 7px 0;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  user-select: none;
}
.rnd-seg .seg-item.active {
  background: var(--bg-secondary);
  box-shadow: 0 1px 3px rgba(16, 20, 43, 0.11), 0 0 0 0.5px rgba(16, 20, 43, 0.04);
  color: var(--text-primary);
}
.rnd-seg .seg-item:not(.active):active { background: rgba(120, 126, 148, 0.1); }

/* 横向滚动标签 */
.rnd-pills {
  display: flex; gap: 8px; padding: 10px 16px;
  overflow-x: auto; scrollbar-width: none;
}
.rnd-pills::-webkit-scrollbar { display: none; }
.rnd-pill {
  flex-shrink: 0;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.rnd-pill.active { background: var(--primary); color: #fff; box-shadow: 0 4px 12px var(--primary-15); }

/* ============================================================
   按钮
   ============================================================ */
.rnd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: var(--body);
  font-weight: 650;
  letter-spacing: -0.1px;
  background: var(--primary);
  color: #FFFFFF;
  transition: transform 0.15s, opacity 0.2s, background 0.2s;
  cursor: pointer;
}
.rnd-btn:active { transform: scale(0.97); }
.rnd-btn.sm { padding: 7px 14px; font-size: 13px; }
.rnd-btn.block { display: flex; width: 100%; }
.rnd-btn.ghost { background: var(--primary-10); color: var(--primary); }
.rnd-btn.line { background: transparent; border: 1.5px solid var(--primary); color: var(--primary); }
.rnd-btn.neutral { background: var(--bg-tertiary); color: var(--text-secondary); }
.rnd-btn.danger { background: var(--schedule-conflict-15); color: var(--schedule-conflict); }
.rnd-btn[disabled] { opacity: 0.4; pointer-events: none; }

/* ============================================================
   数据展示
   ============================================================ */
.rnd-kpi {
  display: flex; flex-direction: column; gap: 2px;
}
.rnd-kpi .kpi-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--text-tertiary);
}
.rnd-kpi .kpi-value {
  font-family: var(--font-en);
  font-size: 26px; font-weight: 750; letter-spacing: -0.8px;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}
.rnd-kpi .kpi-value small { font-size: 13px; font-weight: 600; color: var(--text-tertiary); margin-left: 3px; letter-spacing: 0; }
.rnd-kpi .kpi-sub { font-size: 12px; color: var(--text-tertiary); }

.rnd-bars { display: flex; flex-direction: column; gap: 9px; }
.rnd-bar-row { display: grid; grid-template-columns: 62px 1fr 42px; align-items: center; gap: 10px; }
.rnd-bar-row .bar-label { font-size: 12px; color: var(--text-secondary); font-weight: 500; }
.rnd-bar-row .bar-track { display: block; height: 9px; border-radius: 999px; background: rgba(120, 126, 148, 0.13); overflow: hidden; }
.rnd-bar-row .bar-fill { display: block; height: 100%; border-radius: 999px; background: var(--primary); }
.rnd-bar-row .bar-val { font-size: 12px; font-weight: 650; color: var(--text-secondary); text-align: right; font-variant-numeric: tabular-nums; }

.rnd-ring {
  --pct: 60;
  --ring-color: var(--primary);
  width: 116px; height: 116px; border-radius: 50%;
  background: conic-gradient(var(--ring-color) calc(var(--pct) * 1%), rgba(120, 126, 148, 0.14) 0);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.rnd-ring::after {
  content: '';
  position: absolute; inset: 13px; border-radius: 50%;
  background: var(--bg-secondary);
}
.rnd-ring .ring-inner {
  position: relative; z-index: 1; text-align: center;
}
.rnd-ring .ring-inner .rv { font-family: var(--font-en); font-size: 24px; font-weight: 750; letter-spacing: -0.6px; color: var(--text-primary); }
.rnd-ring .ring-inner .rl { font-size: 11px; color: var(--text-tertiary); }

.rnd-heat {
  display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, 1fr);
  gap: 3px;
}
.rnd-heat i { width: 11px; height: 11px; border-radius: 3px; background: rgba(120, 126, 148, 0.12); }

.rnd-progress {
  height: 7px; border-radius: 999px; background: rgba(120, 126, 148, 0.14); overflow: hidden;
}
.rnd-progress > i { display: block; height: 100%; border-radius: 999px; background: var(--primary); }

/* ============================================================
   搜索框
   ============================================================ */
.rnd-search {
  display: flex; align-items: center; gap: 8px;
  margin: 0 16px 12px;
  padding: 9px 14px;
  border-radius: 11px;
  background: rgba(120, 126, 148, 0.11);
  color: var(--text-placeholder);
  font-size: var(--body);
}
.rnd-search svg { width: 16px; height: 16px; fill: none; stroke: var(--text-tertiary); stroke-width: 2.2; stroke-linecap: round; }
.rnd-search input { flex: 1; font-size: var(--body); color: var(--text-primary); }
.rnd-search input::placeholder { color: var(--text-placeholder); }

/* ============================================================
   品牌 Hero（Rond Navy + 渐变）
   ============================================================ */
.rnd-hero {
  position: relative;
  margin: 0 16px;
  border-radius: var(--radius-lg);
  padding: 18px;
  background: var(--rnd-navy);
  color: #fff;
  overflow: hidden;
}
.rnd-hero::before {
  content: '';
  position: absolute; right: -52px; top: -58px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle at 32% 68%, rgba(70, 223, 240, 0.95), rgba(233, 12, 89, 0.9) 54%, rgba(14, 17, 51, 0) 76%);
}
.rnd-hero::after {
  content: '';
  position: absolute; left: -30px; bottom: -60px;
  width: 130px; height: 130px; border-radius: 50%;
  background: var(--rnd-cyan);
  opacity: 0.18;
}
.rnd-hero > * { position: relative; z-index: 1; }
.rnd-hero .hero-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--rnd-cyan); margin-bottom: 7px;
}
.rnd-hero h2 { font-size: 19px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.35; }
.rnd-hero p { margin-top: 6px; font-size: 12.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.72); }

/* ============================================================
   统计条
   ============================================================ */
.rnd-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 16px 0;
}
.rnd-stat {
  background: var(--bg-secondary); border-radius: 13px; padding: 11px 8px;
  text-align: center; box-shadow: var(--shadow-sm);
}
.rnd-stat .sv { font-family: var(--font-en); font-size: 20px; font-weight: 750; letter-spacing: -0.5px; color: var(--primary); }
.rnd-stat .sl { margin-top: 2px; font-size: 11px; color: var(--text-tertiary); }

/* ============================================================
   棋盘 / 四象限 / 日历网格 通用
   ============================================================ */
.rnd-quad { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rnd-quad .q-cell {
  border-radius: 14px; padding: 11px 12px; min-height: 108px;
  display: flex; flex-direction: column; gap: 6px;
}
.rnd-quad .q-head { font-size: 11.5px; font-weight: 700; letter-spacing: 0.2px; }
.rnd-quad .q-sub { font-size: 10.5px; opacity: 0.72; margin-top: -3px; }
.rnd-quad .q-item {
  background: var(--surface-on-tint);
  border-radius: 9px; padding: 6px 8px; font-size: 11.5px; font-weight: 600;
  color: var(--text-primary); line-height: 1.3;
}

/* ============================================================
   空态 / Toast
   ============================================================ */
.rnd-empty {
  text-align: center; padding: 44px 24px; color: var(--text-tertiary);
}
.rnd-empty .ee-icon { font-size: 40px; margin-bottom: 12px; opacity: 0.8; }
.rnd-empty .ee-title { font-size: var(--body); font-weight: 600; color: var(--text-secondary); margin-bottom: 4px; }
.rnd-empty .ee-hint { font-size: 12.5px; line-height: 1.5; }

.rnd-toast {
  position: fixed; bottom: 40px; left: 50%; transform: translateX(-50%) translateY(8px);
  background: rgba(14, 17, 51, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff; padding: 10px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 500; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s;
  z-index: 2000;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
}
.rnd-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   底部输入条（Rond 风格）
   ============================================================ */
.bottom-dialog {
  background: var(--surface-bar);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-top: 0.5px solid var(--divider);
  padding: 8px 14px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}
.dialog-input {
  background: var(--bg-secondary);
  border: none;
  box-shadow: var(--shadow-sm);
  border-radius: 999px;
  padding: 9px 16px;
  min-height: 40px;
}
.dialog-input:focus-within { box-shadow: 0 0 0 2.5px var(--primary-15), var(--shadow-sm); }

.dialog-add {
  width: 40px; height: 40px;
  background: var(--primary);
  color: #fff;
  font-size: 24px;
  position: relative;
  overflow: hidden;
}
.dialog-add:active { transform: scale(0.94); }

.quick-topic {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  border-radius: 999px;
  padding: 5px 11px;
  font-weight: 600;
}
.quick-topic:active { background: var(--primary-10); color: var(--primary); }

/* ============================================================
   鹅头像（内联 SVG）
   ============================================================ */
.goose-mark { display: inline-flex; align-items: center; justify-content: center; }
.goose-mark svg { height: 100%; width: auto; display: block; }
.goose-bubble-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary-10);
  display: flex; align-items: center; justify-content: center;
  padding: 4px; flex-shrink: 0;
  color: var(--primary);
}

/* 通用水平线 / 工具类 */
.rnd-hr { height: 0.5px; background: var(--divider); margin: 12px 16px; }
.rnd-scroll-x { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px 4px; scrollbar-width: none; }
.rnd-scroll-x::-webkit-scrollbar { display: none; }
