/* ============================================================
 * toolry — 设计系统
 * 风格参考 deepseek.com：干净浅色底、品牌蓝 #4D6BFE、
 * 蓝紫渐变点缀、大圆角、细边框 + 柔和阴影，完整暗色模式。
 * ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  --font-sans: 'Inter Variable', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas,
    'Liberation Mono', monospace;

  --brand: #4D6BFE;
  --brand-600: #3D5AF5;
  --brand-700: #3153DE;
  --btn-bg: #3D5AF5;      /* 白字实底按钮专用（#4D6BFE 白字仅 4.33:1 不达标） */
  --btn-bg-hover: #3153DE;
  --brand-soft: #EDF1FF;
  --violet: #7C5CFF;
  --violet-soft: #F0EBFF;

  --bg: #F7F9FC;
  --surface: #FFFFFF;
  --surface-2: #F1F4FA;
  --surface-3: #E8EDF6;

  --text: #1D2733;
  --text-2: #57616F;
  --text-3: #5F6B7C;

  --border: #E5EAF2;
  --border-strong: #D5DCE9;

  --danger: #C93A3F;
  --success: #0A7A54;

  --shadow-sm: 0 1px 2px rgba(20, 29, 51, 0.05);
  --shadow-md: 0 2px 6px rgba(20, 29, 51, 0.05), 0 12px 32px rgba(20, 29, 51, 0.07);
  --shadow-lg: 0 8px 20px rgba(20, 29, 51, 0.08), 0 24px 60px rgba(20, 29, 51, 0.14);

  --ring: 0 0 0 3px rgba(77, 107, 254, 0.22);
  --ring-danger: 0 0 0 3px rgba(201, 58, 63, 0.18);

  --grad: linear-gradient(120deg, #4D6BFE 0%, #7C5CFF 100%);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;

  --header-h: 64px;
  --z-header: 50;
  --z-modal: 100;
  --z-toast: 200;

  --toast-bg: #212B3B;
  --toast-fg: #F3F6FC;
}

[data-theme='dark'] {
  --brand: #6D87FF;
  --brand-600: #5A76FF;
  --brand-soft: rgba(109, 135, 255, 0.15);
  --violet: #A88FFF;
  --violet-soft: rgba(150, 124, 255, 0.16);

  --bg: #0E1117;
  --surface: #161B24;
  --surface-2: #1D232F;
  --surface-3: #262E3D;

  --text: #E9EDF5;
  --text-2: #A7B0C0;
  --text-3: #8792A4;

  --border: #262D3B;
  --border-strong: #333C4E;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.35), 0 24px 60px rgba(0, 0, 0, 0.5);

  --ring: 0 0 0 3px rgba(109, 135, 255, 0.3);

  --toast-bg: #E9EDF5;
  --toast-fg: #1A2230;
}

/* ---------- 基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px; /* 粘性药丸 header 下方锚点/聚焦定位 */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.25s ease, color 0.25s ease;
}

[hidden] {
  display: none !important;
}

h1, h2, h3, h4, p {
  margin: 0;
}

a {
  color: var(--brand);
  text-decoration: none;
}

img, svg {
  display: block;
}

button {
  font-family: inherit;
}

::selection {
  background: rgba(77, 107, 254, 0.22);
}

:focus-visible {
  outline: 3px solid rgba(77, 107, 254, 0.45);
  outline-offset: 2px;
}

::-webkit-scrollbar {
  width: 10px;
  height: 8px;
}
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 触屏设备：交互目标 ≥44px */
@media (pointer: coarse) {
  .tab,
  .schip,
  .drop-item,
  .nav-link {
    min-height: 44px;
  }
  .vote {
    height: 44px;
  }
  .search-box {
    height: 44px;
  }
  .icon-btn {
    width: 44px;
    height: 44px;
  }
  .tab {
    padding: 10px 16px;
  }
  .schip {
    padding: 8px 16px;
  }
  .drop-item {
    padding: 12px;
  }
}

/* 减少透明特效偏好：玻璃药丸退化为实底 */
@media (prefers-reduced-transparency: reduce) {
  .site-header.is-scrolled .header-bar {
    background: var(--surface);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  scroll-margin-top: 100px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  touch-action: manipulation;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease,
    transform 0.18s ease, box-shadow 0.18s ease;
}
.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn-primary {
  background: var(--btn-bg);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--btn-bg-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(61, 90, 245, 0.3);
}
.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: none;
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--surface);
  transform: translateY(-1px);
}
.btn-ghost:active {
  transform: translateY(0) scale(0.98);
}

.btn-lg {
  padding: 12px 26px;
  font-size: 15px;
  border-radius: 999px;
}
.btn-sm {
  padding: 7px 15px;
  font-size: 13px;
  border-radius: 999px;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  touch-action: manipulation;
}
.icon-btn svg {
  width: 18px;
  height: 18px;
}
.icon-btn:hover {
  background: var(--surface-2);
  color: var(--text);
}
.icon-btn:active {
  transform: scale(0.94);
}

/* ---------- 顶部导航：DeepSeek 式悬浮药丸 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  padding-top: 12px;
  background: transparent;
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 8px 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  /* 复刻 deepseek.com：spring(180, 28) 阻尼比>1，无过冲的顺滑收尾 */
  transition: max-width 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    padding-left 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.3s ease, border-color 0.3s ease,
    box-shadow 0.3s ease;
}
/* 滚动后：药丸弹性收缩居中 + 玻璃化 */
.site-header.is-scrolled .header-bar {
  max-width: 1000px;
  padding-left: 24px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-color: var(--border);
  box-shadow: 0 4px 24px rgba(20, 29, 51, 0.08);
}
[data-theme='dark'] .site-header.is-scrolled .header-bar {
  background: rgba(22, 27, 36, 0.82);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 10px rgba(77, 107, 254, 0.35);
}
.logo-mark svg {
  width: 15px;
  height: 15px;
}
.logo-word {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.logo-word b {
  color: var(--brand);
  font-weight: 800;
}

/* ---------- 主导航（无边框，图标 + 文字） ---------- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-link svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.nav-link .chev {
  width: 13px;
  height: 13px;
  opacity: 0.7;
  margin-left: -3px;
}
.nav-link:hover {
  color: var(--text);
  background: var(--surface-2);
}
.nav-link[aria-current='page'] {
  color: var(--brand);
  background: var(--brand-soft);
}

.nav-drop {
  position: relative;
}
/* 分类 mega-menu（uneed 式：两列网格，居中挂在导航下方） */
.drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  width: 420px;
  max-width: calc(100vw - 28px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 8px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.drop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 12px;
  border: none;
  border-radius: 10px;
  background: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.di-icon {
  display: grid;
  place-items: center;
  flex: none;
  color: var(--text-3);
  transition: color 0.15s ease;
}
.di-icon svg {
  width: 18px;
  height: 18px;
}
.drop-item:hover {
  background: var(--surface-2);
  color: var(--text);
}
.drop-item:hover .di-icon,
.drop-item.selected .di-icon,
.drop-cta .di-icon {
  color: var(--brand);
}
.drop-item.selected {
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 600;
}
.drop-cta {
  color: var(--brand);
}

/* 搜索：图标按钮 + 弹出面板 */
.nav-search {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 2px;
}
.nav-search-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--text-2);
}
.nav-search-btn:hover {
  color: var(--text);
  background: var(--surface-2);
}
.search-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(400px, calc(100vw - 28px));
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  animation: card-in 0.16s ease both;
}
.search-panel svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--text-3);
}
.search-panel input[type='search'] {
  flex: 1;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: none;
  outline: none;
  background: none;
  box-shadow: none;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
}
.search-panel input::placeholder {
  color: var(--text-3);
}
.search-panel input::-webkit-search-cancel-button {
  cursor: pointer;
}
@media (max-width: 639px) {
  .nav-search {
    display: none;
  }
}
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-3);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.search-box:focus-within {
  border-color: var(--brand);
  box-shadow: var(--ring);
}
.search-box svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.search-box input[type='search'] {
  flex: 1;
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  outline: none;
  background: none;
  box-shadow: none;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
}
.search-box input::placeholder {
  color: var(--text-3);
}
.search-box input::-webkit-search-cancel-button {
  cursor: pointer;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Hero（克制：无光晕、无眉标、无渐变文字） ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 56px;
}

.hero-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
}
.hl {
  color: var(--brand);
}

.hero-sub {
  max-width: 620px;
  margin: 18px 0 32px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-2);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ---------- 筛选工具条 ---------- */
.toolbar-wrap {
  padding-top: 6px;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.tabs {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.tab b {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.tab:hover {
  color: var(--text);
}
.tab.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.tab.active b {
  color: var(--brand);
}

.list-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}
.list-head h2 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* 搜索/分类条随页面滚动，不做吸附（避免与悬浮药丸层叠错位） */

/* ---------- 榜单列表（垂直布局，细分隔线） ---------- */
.list-section {
  padding-bottom: 88px;
}

#list {
  display: flex;
  flex-direction: column;
}

.item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 14px;
  cursor: pointer;
  animation: card-in 0.45s cubic-bezier(0.21, 0.79, 0.36, 1) both;
  animation-delay: calc(var(--i, 0) * 24ms);
  transition: background-color 0.15s ease;
}
.item-row + .item-row {
  border-top: 1px solid var(--border);
}
.item-row:hover {
  background: var(--surface-2);
}
@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.rank {
  flex: none;
  width: 34px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.rank.top {
  color: var(--brand);
}

.item-row .avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}
.item-row .avatar-img {
  padding: 6px;
}

.row-main {
  flex: 1;
  min-width: 0;
}
.row-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.row-title h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.row-tagline {
  margin-top: 3px;
  font-size: 14px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-tags {
  display: flex;
  flex: none;
  gap: 6px;
}

.row-visit {
  flex: none;
  color: var(--text-3);
}
.row-visit:hover {
  color: var(--brand);
}

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: hsl(var(--h, 220) 75% 92%);
  overflow: hidden;
}
.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7px;
}
.avatar-letter {
  font-size: 19px;
  font-weight: 700;
  color: hsl(var(--h, 220) 55% 42%);
}
[data-theme='dark'] .avatar {
  background: hsl(var(--h, 220) 32% 18%);
}
[data-theme='dark'] .avatar-letter {
  color: hsl(var(--h, 220) 80% 74%);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2.5px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}
.badge svg {
  width: 10px;
  height: 10px;
  flex: none;
}
.b-tool {
  color: #3D5AF5;
  background: var(--brand-soft);
}
.b-mcp {
  color: #6D4DE8;
  background: var(--violet-soft);
}
.b-new {
  color: var(--success);
  background: rgba(14, 159, 110, 0.1);
}
.b-ver {
  color: #2E4EE0;
  background: var(--brand-soft);
}
.b-feat {
  color: #8A5A0F;
  background: rgba(217, 119, 6, 0.12);
}
.b-champ {
  color: #8A5A0F;
  background: rgba(234, 179, 8, 0.18);
  text-decoration: none;
  border: 1px solid rgba(234, 179, 8, 0.45);
}
.b-champ:hover { border-color: rgba(234, 179, 8, 0.9); }
.b-feat svg {
  fill: currentColor;
}
[data-theme='dark'] .b-tool {
  color: #9FB0FF;
}
[data-theme='dark'] .b-mcp {
  color: #BBA6FF;
}
[data-theme='dark'] .b-new {
  color: #3ECF9C;
}
[data-theme='dark'] .b-ver {
  color: #9FB0FF;
}
[data-theme='dark'] .b-feat {
  color: #E8B45A;
}
[data-theme='dark'] .b-champ {
  color: #F0CC6E;
}

.tag {
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  background: var(--surface-2);
}

.vote {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease,
    transform 0.16s ease;
  touch-action: manipulation;
}
.vote svg {
  width: 13px;
  height: 13px;
  flex: none;
}
.vote:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}
.vote:active {
  transform: scale(0.95);
}
.vote.voted {
  background: var(--btn-bg);
  border-color: var(--btn-bg);
  color: #fff;
}

/* ---------- 空状态 ---------- */
.empty {
  padding: 88px 20px;
  text-align: center;
  color: var(--text-3);
}
.empty svg {
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  color: var(--text-3);
  opacity: 0.8;
}
.empty h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-2);
  margin-bottom: 6px;
}
.empty p {
  font-size: 14px;
  margin-bottom: 20px;
}

/* ---------- Pricing ---------- */
.page-hero {
  padding-bottom: 40px;
}

.pricing-section {
  padding-bottom: 8px;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 26px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.plan.recommended {
  border: 1.5px solid var(--brand);
  box-shadow: 0 8px 28px rgba(77, 107, 254, 0.14);
}
.plan-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.plan-name {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 10px;
}
.plan-price {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.plan-unit {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0;
  margin-left: 2px;
}
.plan-cadence {
  margin: 6px 0 18px;
  font-size: 13px;
  color: var(--text-3);
}
.plan-features {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
}
.pf-check {
  flex: none;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(14, 159, 110, 0.12);
  color: var(--success);
}
.pf-check svg {
  width: 11px;
  height: 11px;
}
.plan-cta {
  width: 100%;
}
.pricing-note {
  margin: 20px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
}

/* FAQ（原生 details 手风琴） */
.faq-section {
  padding: 72px 0 96px;
}
.faq-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.faq-lead {
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-2);
}
.faq-list {
  margin-top: 28px;
  max-width: 760px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 4px;
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  user-select: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary .chev {
  flex: none;
  width: 15px;
  height: 15px;
  color: var(--text-3);
  transition: transform 0.2s ease;
}
.faq-item[open] summary .chev {
  transform: rotate(180deg);
}
.faq-item summary:hover {
  color: var(--brand);
}
.faq-item summary:hover .chev {
  color: var(--brand);
}
.faq-item > p {
  padding: 0 4px 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-2);
  max-width: 68ch;
}
.faq-item:focus-within summary {
  color: var(--brand);
}

@media (max-width: 900px) {
  .plan-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }
  .plan.recommended {
    order: -1;
  }
}

/* ---------- 详情弹窗 ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 20, 35, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.2s ease;
}
[data-theme='dark'] .modal-backdrop {
  background: rgba(0, 0, 0, 0.6);
}
.modal-backdrop.open {
  opacity: 1;
}

.modal {
  position: relative;
  width: min(600px, 100%);
  max-height: min(85vh, 860px);
  overflow-y: auto;
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: scale(0.96) translateY(10px);
  transition: transform 0.22s cubic-bezier(0.21, 0.79, 0.36, 1);
}
.modal-backdrop.open .modal {
  transform: none;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.m-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 40px;
  margin-bottom: 8px;
}
.m-head .avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}
.m-head .avatar-letter {
  font-size: 22px;
}
.m-head-title {
  min-width: 0;
}
.m-head h2 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}
.m-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.m-tagline {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-2);
}

/* meta 行移除后：标语与第一个内容块之间保持间距 */
.m-tagline + .m-desc,
.m-tagline + .install,
.m-tagline + .m-tags,
.m-tagline + .m-actions {
  margin-top: 16px;
}

.m-desc {
  font-size: 14px;
  line-height: 1.78;
  color: var(--text-2);
  margin-bottom: 16px;
  white-space: pre-line;
}

.install {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  margin-bottom: 8px;
}
.install-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
}
.install-head .grow {
  flex: 1;
}
.transport-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--violet);
  background: var(--violet-soft);
  padding: 2px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.install .copy-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.install .copy-btn svg {
  width: 14px;
  height: 14px;
}
.install code {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
  word-break: break-all;
  white-space: pre-wrap;
}

.m-hint {
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-3);
  margin: 0 0 16px;
}

.m-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.m-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.m-actions .vote {
  height: 40px;
  padding: 0 16px;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: var(--z-toast);
  transform: translateX(-50%) translateY(16px);
  max-width: min(86vw, 420px);
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--toast-bg);
  color: var(--toast-fg);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 44px 0 24px;
  background: var(--surface);
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px 64px;
}
.footer-brand p {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-3);
}
.footer-cols {
  display: flex;
  gap: 64px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 96px;
}
.footer-col h3 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.footer-col a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.15s ease;
}
.footer-col a:hover {
  color: var(--brand);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-3);
}

/* ---------- 提交页 ---------- */
.submit-page {
  max-width: 780px;
  padding-top: 36px;
  padding-bottom: 96px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.15s ease;
}
.back-link:hover {
  color: var(--brand);
}
.back-link svg {
  width: 15px;
  height: 15px;
}

.page-head {
  margin-bottom: 24px;
}
.page-head h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.page-head p {
  font-size: 15px;
  color: var(--text-2);
}

.submit-card {
  padding: 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.type-fieldset,
.mcp-fields {
  border: none;
  padding: 0;
  margin: 0 0 22px;
}
.fieldset-legend {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  padding: 0;
}
.req {
  color: var(--danger);
  font-weight: 600;
  font-size: 0.85em;
  vertical-align: 0.4em;
  line-height: 1;
}

.type-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.type-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}
.type-card input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.type-card:hover {
  border-color: var(--brand);
}
.type-card:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: var(--ring);
}
.type-card:has(input:focus-visible) {
  outline: 3px solid rgba(77, 107, 254, 0.45);
  outline-offset: 2px;
}
.tc-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
}
.tc-icon svg {
  width: 18px;
  height: 18px;
}
.type-card.is-mcp .tc-icon {
  background: var(--violet-soft);
  color: var(--violet);
}
.tc-body b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
}
.tc-body small {
  font-size: 12px;
  color: var(--text-3);
}

.field {
  margin-bottom: 18px;
}
/* 字段标签（勾选框 label 除外，.agree 有自己的排版） */
.field > label:not(.agree) {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}
.counter {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

/* 表单输入（搜索框内输入不受此规则影响，.search-box input 已显式重置） */
input[type='text'],
input[type='url'],
textarea,
select {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea {
  min-height: 104px;
  resize: vertical;
  line-height: 1.65;
}
input::placeholder,
textarea::placeholder {
  color: var(--text-3);
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: var(--ring);
}
input.mono {
  font-family: var(--font-mono);
  font-size: 13px;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236E7787' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
}

.has-error input,
.has-error textarea,
.has-error select {
  border-color: var(--danger);
}
.has-error .agree input {
  border: none;
  accent-color: var(--danger);
}
.has-error input:focus,
.has-error textarea:focus,
.has-error select:focus {
  box-shadow: var(--ring-danger);
}
.field-error {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--danger);
}
.field-error:empty {
  display: none;
}

.field-hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text-3);
}

.suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 9px;
}
.schip {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.schip:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

.mcp-fields {
  border: 1.5px dashed var(--border-strong);
  border-radius: 12px;
  padding: 18px;
  background: var(--surface);
}
.mcp-fields .field:last-of-type {
  margin-bottom: 4px;
}

/* ---------- 站点认证 ---------- */
.verify-box {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin: 0 0 22px;
  background: var(--surface-2);
}
.verify-intro {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-2);
}
.badge-preview {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 10px;
}
.badge-preview img {
  display: block;
}
.embed {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 12px;
}
.embed-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
}
.embed-head .grow {
  flex: 1;
}
.embed code {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text);
  word-break: break-all;
  white-space: pre-wrap;
}
.embed .copy-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.embed .copy-btn svg {
  width: 14px;
  height: 14px;
}
.verify-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.v-status {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
}
.v-status.checking {
  color: var(--text-2);
}
.v-status.ok {
  color: var(--success);
  font-weight: 600;
}
.v-status.fail {
  color: var(--danger);
  font-weight: 600;
}

.agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 22px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-2);
  cursor: pointer;
}
.agree input {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--brand);
  cursor: pointer;
}

.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.form-note {
  font-size: 13px;
  color: var(--text-3);
}

.success-panel {
  text-align: center;
  padding: 52px 32px;
}
.big-check {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(14, 159, 110, 0.12);
  color: var(--success);
  animation: pop-in 0.35s cubic-bezier(0.21, 0.79, 0.36, 1) both;
}
.big-check svg {
  width: 28px;
  height: 28px;
}
@keyframes pop-in {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.success-panel h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}
.success-panel > p {
  font-size: 14.5px;
  color: var(--text-2);
  margin-bottom: 24px;
}
.success-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  /* 导航折叠为纯图标 */
  .nav-link span:not(.chev) {
    display: none;
  }
  .nav-link {
    padding: 8px 10px;
  }
  .header-actions {
    margin-left: auto;
  }
  .hero {
    padding: 88px 0 44px;
  }
  .row-tags,
  .row-visit {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 14px;
  }
  /* header 放不下文字按钮；提交入口由 Hero / 页脚承担 */
  .header-actions .btn {
    display: none;
  }
  .header-bar {
    padding: 0 4px 0 12px;
    gap: 8px;
  }
  .nav-link {
    padding: 8px;
  }
  .logo-word {
    font-size: 17px;
  }
  .logo-mark {
    width: 28px;
    height: 28px;
  }
  /* 周期 tabs 放不下时换行 */
  .tabs {
    flex-wrap: wrap;
  }
  .tab {
    padding: 7px 11px;
  }
  /* 小屏：菜单改为视口居中的 fixed 面板，避免越界 */
  .drop-menu {
    position: fixed;
    top: 76px;
    left: 50%;
    transform: translateX(-50%);
  }

  /* 极窄屏：只留 logo 图标，保证导航不越界 */
  @media (max-width: 368px) {
    .logo-word {
      display: none;
    }
    .logo {
      gap: 0;
    }
    .nav-link {
      padding: 6px;
    }
    .header-bar {
      gap: 4px;
      padding: 0 2px 0 8px;
    }
  }
  .footer-cols {
    gap: 40px;
  }
  .toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-cta .btn {
    flex: 1;
  }
  .item-row {
    padding: 14px 8px;
    gap: 10px;
  }
  .rank {
    width: 26px;
  }
  .submit-card {
    padding: 22px 18px;
  }
  .type-cards {
    grid-template-columns: 1fr;
  }
  .m-head {
    flex-direction: column;
    align-items: flex-start;
    padding-right: 0;
  }
  .modal {
    padding: 22px 18px;
  }
  .m-actions .btn {
    flex: 1;
    justify-content: center;
  }
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ---------- Archive date view (/?date=YYYY-MM-DD) ---------- */
.vote-static {
  cursor: default;
}
.vote-static:hover {
  border-color: var(--border-strong);
  background: var(--surface);
}
.list-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.datebar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.datebar .pager-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.datebar .pager-link svg {
  width: 13px;
  height: 13px;
}
.datebar .pager-link:hover {
  color: var(--brand);
  border-color: var(--brand);
}
.datebar .pager-all {
  color: var(--brand);
}
.datebar-state {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-3);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.datebar-state.is-live {
  color: var(--brand);
  background: var(--brand-soft);
  border-color: color-mix(in srgb, var(--brand) 30%, transparent);
}
.pager-spacer {
  width: 1px;
}
@media (max-width: 640px) {
  .datebar .pager-link {
    padding: 5px 10px;
    font-size: 12px;
  }
}

/* ---------- Calendar picker (archive entry beside period tabs) ---------- */
.tab-cal svg {
  width: 15px;
  height: 15px;
}
.tab-cal.active {
  color: var(--brand);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.cal-cur {
  font-family: var(--font-mono);
  font-size: 12px;
}
.cal-pop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  width: 288px;
  padding: 16px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.tabs {
  position: relative;
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cal-month {
  font-size: 14px;
  font-weight: 700;
}
.cal-nav {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.cal-nav:hover:not(:disabled) {
  color: var(--brand);
  border-color: var(--brand);
}
.cal-nav:disabled {
  opacity: 0.35;
  cursor: default;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-grid.cols7 {
  grid-template-columns: repeat(7, 1fr);
}
.cal-grid.cols4 {
  grid-template-columns: repeat(4, 1fr);
}
.cal-day.cal-wide {
  min-width: 52px;
  padding: 0 4px;
  font-size: 12px;
}
.cal-week .cal-cell {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  text-align: center;
  padding: 4px 0 6px;
}
.cal-cell {
  display: inline-grid;
  place-items: center;
  min-height: 32px;
  border-radius: 8px;
}
.cal-pad {
  min-height: 0;
}
.cal-day {
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: background-color 0.12s ease, color 0.12s ease;
}
.cal-day:hover:not(.off) {
  background: var(--surface-2);
}
.cal-day.off {
  color: var(--text-3);
  opacity: 0.4;
  cursor: default;
}
.cal-day.today {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
}
.cal-day.sel {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}
.cal-day.sel:hover {
  background: var(--brand-600);
}
.cal-foot {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.cal-live {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}
.cal-live:hover {
  text-decoration: underline;
}
@media (max-width: 640px) {
  .cal-pop {
    position: fixed;
    top: auto;
    right: 0;
    left: 0;
    bottom: 0;
    width: auto;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    padding: 20px 18px calc(18px + env(safe-area-inset-bottom));
  }
  .cal-cell {
    min-height: 40px;
  }
}
