/* ============================================================
 * 趣酷屋商城 · 设计系统
 * 完全复用主站 qukuwu.com 的视觉语言：
 *   主色 #ff8676 / 渐变 #ff9a8b→#ff8676 / 胶囊 999px / 卡片 10-12px /
 *   橙色半透明阴影 / hover 上浮 translateY(-2px) / 字体 Microsoft Yahei
 * ============================================================ */
:root {
  --accent: #ff8676;
  --accent-deep: #ff6e5c;
  --grad: linear-gradient(135deg, #ff9a8b 0%, #ff8676 100%);
  --grad-hover: linear-gradient(135deg, #ff8676 0%, #ff6e5c 100%);
  --ink: #333;
  --ink-2: #666;
  --ink-3: #999;
  --line: #ececec;
  --line-warm: #ffe8e3;
  --bg-soft: #fff9f8;
  --shadow: 0 4px 18px rgba(255, 134, 118, 0.12);
  --shadow-hover: 0 8px 26px rgba(255, 134, 118, 0.22);
  --radius-card: 12px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

/* ---------- 顶部公告 ---------- */
.notice-bar {
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding: 6px 16px;
  letter-spacing: .3px;
}
.notice-bar a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo img { width: 132px; height: 44px; object-fit: contain; }
.logo-text { font-size: 19px; font-weight: 700; color: var(--accent); letter-spacing: .5px; }
.logo-text small { display: block; font-size: 10px; color: var(--ink-3); font-weight: 400; letter-spacing: 1px; }
.main-nav { display: flex; gap: 4px; flex: 1; }
.main-nav a {
  position: relative;
  display: inline-flex; align-items: center;
  padding: 8px 14px 10px; border-radius: var(--radius-pill);
  font-size: 14px; color: var(--ink-2); transition: .2s;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.current {
  background: var(--bg-soft); color: var(--accent); font-weight: 600;
}
/* 当前页导航：下方高亮长条 */
.main-nav a.current::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 3px;
  height: 3px; border-radius: var(--radius-pill);
  background: var(--grad);
  box-shadow: 0 2px 6px rgba(255, 134, 118, .35);
}
.main-nav .nav-main-site { display: none; }
.header-search {
  display: flex; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  overflow: hidden; background: #fff; transition: .2s;
  flex: none;
}
.header-search:focus-within { border-color: var(--accent); box-shadow: 0 2px 10px rgba(255,134,118,.18); }
.header-search input {
  width: 170px; height: 36px; padding: 0 6px 0 15px;
  border: 0; outline: 0; background: transparent; font-size: 13px;
}
.header-search button {
  height: 36px; padding: 0 14px; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; font-size: 13px;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
}
.back-main {
  flex: none; font-size: 13px; color: var(--accent);
  padding: 7px 13px; border: 1px solid var(--line-warm);
  border-radius: var(--radius-pill); background: var(--bg-soft);
  transition: .2s;
}
.back-main:hover { background: var(--grad); color: #fff; border-color: transparent; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #fff6f4 0%, #fff 70%);
  border-bottom: 1px solid var(--line-warm);
  padding: 52px 0 46px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,134,118,.18), transparent 70%);
}
.hero::before { width: 340px; height: 340px; top: -140px; right: 6%; }
.hero::after { width: 220px; height: 220px; bottom: -110px; left: 8%; }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero-badge {
  display: inline-block; padding: 4px 14px; border-radius: var(--radius-pill);
  background: var(--grad); color: #fff; font-size: 12px; letter-spacing: 1px;
  margin-bottom: 14px;
}
.hero h1 { margin: 0 0 12px; font-size: 34px; line-height: 1.35; color: var(--ink); }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p { margin: 0 auto 22px; max-width: 620px; color: var(--ink-2); font-size: 15px; }
.hero-search { display: flex; max-width: 560px; margin: 0 auto; gap: 10px; }
.hero-search input {
  flex: 1; height: 48px; padding: 0 20px;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  outline: 0; font-size: 15px; background: #fff; transition: .2s;
}
.hero-search input:focus { border-color: var(--accent); box-shadow: 0 3px 14px rgba(255,134,118,.16); }
.hero-search button {
  height: 48px; padding: 0 28px; border: 0; cursor: pointer;
  border-radius: var(--radius-pill); background: var(--grad); color: #fff;
  font-size: 15px; font-weight: 600; transition: .2s;
}
.hero-search button:hover { background: var(--grad-hover); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.hot-tags { margin-top: 16px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.hot-tags span { color: var(--ink-3); font-size: 13px; line-height: 26px; }
.hot-tags a {
  padding: 3px 12px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--line-warm);
  color: var(--accent); font-size: 12px; transition: .2s;
}
.hot-tags a:hover { background: var(--grad); color: #fff; border-color: transparent; }

/* ---------- 通用区块 ---------- */
.section { padding: 38px 0; }
.section-head {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px;
}
.section-head h2 { margin: 0; font-size: 23px; color: var(--ink); }
.section-head h2::before {
  content: ""; display: inline-block; width: 5px; height: 20px;
  border-radius: 3px; background: var(--grad); margin-right: 10px;
  vertical-align: -3px;
}
.section-head .sub { color: var(--ink-3); font-size: 13px; }
.section-head .more { margin-left: auto; color: var(--accent); font-size: 13px; }
.section-head .more:hover { text-decoration: underline; }

/* ---------- 分类入口 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card {
  display: flex; align-items: center; gap: 14px;
  padding: 20px; border-radius: var(--radius-card);
  background: #fff; border: 1px solid var(--line-warm);
  transition: .25s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.cat-icon {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: var(--grad); color: #fff;
}
.cat-icon svg { width: 28px; height: 28px; display: block; }
.cat-body { flex: 1; min-width: 0; }
.cat-arrow { color: var(--line); font-size: 18px; transition: .2s; }
.cat-card:hover .cat-arrow { color: var(--accent); transform: translateX(3px); }
.cat-card h3 { margin: 0; font-size: 16px; }
.cat-card p { margin: 2px 0 0; font-size: 12px; color: var(--ink-3); }

/* ---------- 商品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-card); overflow: hidden;
  transition: .25s; display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--line-warm);
}
.product-thumb {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background: #f8f8f8;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--grad); color: #fff; font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(255,134,118,.3);
}
.product-body { padding: 13px 14px 15px; display: flex; flex-direction: column; flex: 1; }
.product-title {
  font-size: 14px; line-height: 1.55; color: var(--ink); margin: 0 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 43px;
}
.product-card:hover .product-title { color: var(--accent); }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.price-now { color: var(--accent-deep); font-size: 19px; font-weight: 700; }
.price-now small { font-size: 12px; font-weight: 400; }
.price-old { color: var(--ink-3); font-size: 12px; text-decoration: line-through; }
.coupon {
  display: inline-block; margin-top: 9px; align-self: flex-start;
  padding: 2px 10px; border: 1px dashed var(--accent); border-radius: 5px;
  color: var(--accent); font-size: 12px; background: var(--bg-soft);
}
.product-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 11px; padding-top: 10px; border-top: 1px solid #f5f5f5;
  font-size: 12px; color: var(--ink-3);
}
.buy-btn {
  display: block; text-align: center; margin-top: 12px;
  padding: 9px 0; border-radius: var(--radius-pill);
  background: var(--grad); color: #fff; font-size: 13px; font-weight: 600;
  transition: .2s;
}
.buy-btn:hover { background: var(--grad-hover); box-shadow: var(--shadow); }

/* ---------- 详情页 ---------- */
.crumb { padding: 16px 0; font-size: 13px; color: var(--ink-3); }
.crumb a:hover { color: var(--accent); }
.crumb span { margin: 0 8px; }
.detail-wrap { display: grid; grid-template-columns: 460px 1fr; gap: 36px; padding-bottom: 20px; }
.detail-gallery { position: relative; }
.detail-gallery img { width: 100%; aspect-ratio: 1 / 1; height: auto; display: block; object-fit: cover; border-radius: var(--radius-card); }
.detail-gallery .detail-heat { margin: 12px 0 0; }
.detail-info h1 { font-size: 25px; line-height: 1.5; margin: 0 0 14px; color: var(--ink); }
.detail-price-box {
  position: relative;
  background: linear-gradient(135deg, #fff6f4, #fff);
  border: 1px solid var(--line-warm); border-radius: var(--radius-card);
  padding: 18px 20px; margin-bottom: 18px;
}
.detail-price-box .big-price { font-size: 34px; color: var(--accent-deep); font-weight: 700; line-height: 1.2; }
.detail-price-box .big-price small { font-size: 16px; }
.detail-price-box .old { color: var(--ink-3); text-decoration: line-through; margin-left: 12px; }
.detail-coupon {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  background: var(--grad); color: #fff; padding: 5px 14px;
  border-radius: var(--radius-pill); font-size: 13px;
}
.detail-coupon.is-expired { background: #f0f0f0; color: var(--ink-3); cursor: default; }
.detail-coupon.is-expired:hover { filter: none; transform: none; }
.price-breakdown.is-expired { color: var(--ink-3); }
.detail-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; margin: 16px 0 22px; font-size: 14px; }
.detail-facts dt { color: var(--ink-3); }
.detail-facts dd { margin: 0; color: var(--ink); }
.buy-large {
  display: block; width: 100%; padding: 15px; border: 0; cursor: pointer;
  border-radius: var(--radius-pill); background: var(--grad); color: #fff;
  font-size: 17px; font-weight: 700; letter-spacing: 1px; text-align: center;
  transition: .2s;
}
.buy-large:hover { background: var(--grad-hover); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.affiliate-note { font-size: 12px; color: var(--ink-3); text-align: center; margin-top: 10px; }
.detail-content { margin-top: 36px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-card); }
.detail-content h2 { font-size: 19px; margin: 0 0 16px; }
.detail-content h2::before { content: ""; display: inline-block; width: 4px; height: 17px; background: var(--grad); border-radius: 2px; margin-right: 9px; vertical-align: -2px; }
.detail-content img { border-radius: 8px; margin: 12px 0; }

/* ---------- 搜索 / 列表 ---------- */
.list-head {
  background: linear-gradient(135deg, #fff6f4, #fff);
  border-bottom: 1px solid var(--line-warm); padding: 30px 0 24px;
}
.list-head h1 { margin: 0 0 6px; font-size: 26px; }
.list-head p { margin: 0; color: var(--ink-2); font-size: 14px; }
.search-box { display: flex; max-width: 620px; margin: 18px 0 0; gap: 10px; }
.search-box input {
  flex: 1; height: 46px; padding: 0 20px; outline: 0;
  border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: 14px;
}
.search-box input:focus { border-color: var(--accent); box-shadow: 0 2px 10px rgba(255,134,118,.16); }
.search-box button {
  height: 46px; padding: 0 26px; border: 0; cursor: pointer; border-radius: var(--radius-pill);
  background: var(--grad); color: #fff; font-size: 14px; font-weight: 600;
}
.search-count { color: var(--ink-3); font-size: 13px; margin: 18px 0; }
.search-card { display: flex; gap: 16px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-card); margin-bottom: 12px; transition: .2s; background: #fff; }
.search-card:hover { border-color: var(--line-warm); box-shadow: var(--shadow); transform: translateY(-2px); }
.search-card img { width: 110px; height: 110px; object-fit: cover; border-radius: 8px; flex: none; background: #f8f8f8; }
.search-card .sc-body { flex: 1; min-width: 0; }
.search-card h3 { margin: 0 0 6px; font-size: 15px; }
.search-card h3 a:hover { color: var(--accent); }
.search-card p { margin: 0 0 8px; font-size: 13px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-card .sc-price { color: var(--accent-deep); font-weight: 700; font-size: 16px; }
.search-pagination { display: flex; gap: 8px; justify-content: center; margin: 28px 0; flex-wrap: wrap; }
.search-pagination a, .search-pagination span {
  min-width: 36px; height: 36px; line-height: 34px; text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  color: var(--ink-2); font-size: 13px; padding: 0 10px; transition: .2s;
}
.search-pagination a:hover, .search-pagination .current {
  background: var(--grad); color: #fff; border-color: transparent;
}
.list-meta { font-size: 13px; color: var(--ink-3); margin: -6px 0 18px; }
.filter-bar { padding: 16px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; }
.filter-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.filter-row:last-child { margin-bottom: 0; }
/* 所有筛选标签文字统一 13px 灰字：注意 to手价/自定义价格是嵌套一层 span（.filter-prices>span），
   旧的 .filter-row>span 匹配不到它们，导致用浏览器默认 16px 显得特别大 */
.filter-row > span, .filter-search > span, .filter-select > span,
.filter-prices > span, .filter-custom-price > span, .filter-tags > span, .filter-shops > span { flex: none; font-size: 13px; color: var(--ink-3); font-weight: 500; }
/* ⚠️ 只给价格档标签设 min-width；自定义价格的标签已移到 filter-custom-label，
   分隔号单独收窄居中，避免它被撑宽造成输入框与「—」之间空白过大 */
/* 两行标签统一宽度，保证「到手价」与「价格区间」上下对齐 */
.filter-prices > span, .filter-custom-label { flex: none; font-size: 13px; color: var(--ink-3); font-weight: 500; min-width: 52px; }
.price-sep { flex: none; width: 16px; text-align: center; opacity: .6; }
.filter-search, .filter-select { display: flex; align-items: center; gap: 8px; }
.filter-search input { height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: #fff; color: var(--ink); font-size: 13px; outline: 0; }
.filter-search input:focus { border-color: var(--accent); box-shadow: 0 2px 10px rgba(255,134,118,.16); }
.select-wrap { position: relative; display: inline-flex; align-items: center; }
.select-wrap select {
  height: 40px; min-width: 168px; padding: 0 38px;
  appearance: none; -webkit-appearance: none;
  border: 1px solid var(--line-warm); border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #fff, #fff7f5);
  color: var(--accent-deep); font-size: 13px; font-weight: 600;
  box-shadow: 0 2px 8px rgba(255,134,118,.10); cursor: pointer; outline: 0; transition: .2s;
}
.select-wrap select:hover { border-color: var(--accent); box-shadow: 0 3px 12px rgba(255,134,118,.18); }
.select-wrap select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,134,118,.14); }
.select-icon { position: absolute; left: 13px; width: 16px; height: 16px; color: var(--accent); pointer-events: none; }
.select-caret { position: absolute; right: 12px; width: 16px; height: 16px; color: var(--accent); pointer-events: none; transition: transform .2s; }
.filter-select:focus-within .select-caret { transform: rotate(180deg); }
.filter-prices, .filter-tags, .filter-shops { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-prices button, .filter-tags button, .filter-shops button { padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: #fff; color: var(--ink-2); font-size: 12px; cursor: pointer; transition: .2s; }
.filter-prices button:hover, .filter-tags button:hover, .filter-shops button:hover { border-color: var(--accent); color: var(--accent); }
.filter-prices button.active, .filter-tags button.active, .filter-shops button.active { background: var(--grad); border-color: transparent; color: #fff; font-weight: 600; }
.filter-row-custom { display: flex; align-items: center; gap: 12px; }
.filter-custom-price { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.filter-custom-price input { width: 96px; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: 12px; outline: 0; box-sizing: border-box; }
.filter-custom-price input:focus { border-color: var(--accent); }
.filter-custom-price button { height: 34px; padding: 0 14px; border: 0; border-radius: var(--radius-pill); background: var(--grad); color: #fff; font-size: 12px; cursor: pointer; flex: none; }
.filter-extra { justify-content: space-between; margin-bottom: 0; padding-top: 10px; border-top: 1px dashed var(--line); }
.filter-row-primary { margin-bottom: 10px; }
.filter-toggle { margin-left: auto; padding: 8px 16px; border: 1px solid var(--line-warm); border-radius: var(--radius-pill); background: #fff; color: var(--ink-2); font-size: 13px; cursor: pointer; white-space: nowrap; transition: .2s; }
.filter-toggle:hover { border-color: var(--accent); color: var(--accent); }
.filter-toggle.is-open { background: var(--bg-soft); color: var(--accent); }
.filter-toggle-caret { display: inline-block; transition: transform .2s; }
.filter-toggle.is-open .filter-toggle-caret { transform: rotate(180deg); }
.filter-advanced { padding: 12px 0 4px; }
.filter-advanced[hidden] { display: none; }
.filter-checks { display: flex; gap: 8px; flex-wrap: wrap; }
/* 快捷筛选胶囊按钮（与价格档/标签按钮统一），带匹配数量角标；选中态暖橙 */
.filter-check { display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: #fff; color: var(--ink-2); font-size: 12px; cursor: pointer; transition: .2s; }
.filter-check:hover { border-color: var(--accent); color: var(--accent); }
.filter-check.active { background: var(--grad); border-color: transparent; color: #fff; font-weight: 600; }
.filter-check em { font-style: normal; font-size: 10px; opacity: .7; }
.filter-check[aria-pressed=true] em { opacity: .9; }
.filter-meta { font-size: 13px; color: var(--ink-2); margin-left: auto; }
.filter-reset { padding: 0; border: 0; background: transparent; color: var(--accent); font-size: 13px; cursor: pointer; white-space: nowrap; }
/* 价格档/店铺按钮的数量角标 + 热门店铺热度 */
.filter-prices button em, .filter-shops button em { font-style: normal; font-size: 10px; opacity: .6; margin-left: 3px; }
.filter-shops button[data-shop-count] { border-color: var(--line-warm); }
.filter-shops button.shop-extra[hidden], .shop-expand[hidden] { display: none; }
.shop-expand { padding: 6px 14px; border: 1px dashed var(--accent); border-radius: var(--radius-pill); background: transparent; color: var(--accent); font-size: 12px; cursor: pointer; }
.filter-empty { padding: 48px 16px; text-align: center; color: var(--ink-3); font-size: 14px; }
.pagination_one { text-align: center; padding: 26px 0; }
.pagination_one a, .pagination_one span.thisclass {
  display: inline-block; min-width: 36px; padding: 7px 12px; margin: 0 3px;
  border: 1px solid var(--line); border-radius: 6px; font-size: 13px; color: var(--ink-2);
}
.pagination_one a:hover { border-color: var(--accent); color: var(--accent); }
.pagination_one span.thisclass { background: var(--accent); color: #fff; border-color: var(--accent); }
.empty { text-align: center; padding: 60px 0; color: var(--ink-3); }

/* ---------- Footer ---------- */
.site-footer { background: #2b2b2b; color: #bbb; padding: 36px 0 26px; margin-top: 30px; font-size: 13px; }
.site-footer a { color: #ddd; }
.site-footer a:hover { color: var(--accent); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid #3a3a3a; padding-top: 16px; color: #888; font-size: 12px; }
.footer-note { color: #777; font-size: 12px; margin-top: 8px; }

/* ---------- 回到顶部 ---------- */
.back-to-top {
  position: fixed; right: 24px; bottom: 28px; z-index: 99;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 20px; cursor: pointer;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: .25s;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

/* ---------- 移动端导航（参照主站：☰ 最左，logo 居中，左侧滑出） ---------- */
.nav-toggle { display: none; width: 40px; height: 40px; padding: 8px; border: 0; background: transparent; color: var(--accent); cursor: pointer; }
.nav-toggle svg { width: 100%; height: 100%; display: block; }
.nav-mask { display: none; }
.nav-close { display: none; position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--bg-soft); color: var(--accent); font-size: 15px; cursor: pointer; }
.nav-brand { display: none; font-size: 17px; font-weight: 700; color: var(--ink); padding: 2px 16px 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: block; order: 1; flex: none; position: relative; z-index: 2; }
  .logo { order: 2; flex: 1; justify-content: center; }
  .header-inner { flex-wrap: nowrap; gap: 8px; min-height: 56px; padding: 6px 0; position: relative; }
  /* 手机端 logo 精确居中（不随左右按钮宽度偏移） */
  .logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .back-main { display: none; }
  .fav-entry { order: 3; margin-left: auto; }
  .main-nav .nav-main-site { display: inline-flex; }
  .header-search { display: none; }

  /* 侧滑菜单：从左侧滑入，遮罩淡入 */
  .main-nav {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 1001;
    width: min(80vw, 320px); padding: 20px 12px;
    background: #fff; box-shadow: 4px 0 24px rgba(0,0,0,.14);
    transform: translateX(-105%); transition: transform .28s ease;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-close, .nav-brand { display: block; }
  .main-nav a { padding: 13px 16px; font-size: 15px; border-radius: 8px; }
  /* 手机抽屉是竖排菜单：当前项用背景块+橙字高亮即可，不需要横排导航那种下划线长条 */
  .main-nav a.current { background: var(--bg-soft); }
  .main-nav a.current::after { display: none; }
  .main-nav .nav-main-site {
    margin-top: 10px; padding-top: 16px;
    border-top: 1px solid var(--line); border-radius: 0 0 8px 8px;
    color: var(--ink-2); font-weight: 400;
  }
  .nav-mask {
    display: block; position: fixed; inset: 0; z-index: 1000;
    background: rgba(0,0,0,.45); opacity: 0; visibility: hidden; transition: .28s;
  }
  body.nav-open .nav-mask { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .filter-bar { padding: 12px; }
  .filter-row { gap: 8px; }
  .filter-search, .filter-select { width: 100%; }
  .filter-search input { flex: 1; width: 100%; }
  .select-wrap { flex: 1; min-width: 0; }
  .select-wrap select { width: 100%; min-width: 0; }
  .filter-prices button, .filter-tags button, .filter-shops button { padding: 5px 10px; font-size: 11px; }
  .filter-row-primary { flex-wrap: wrap; }
  .filter-toggle { width: 100%; margin-left: 0; }
  /* 自定义价格：标签+两输入框+分隔+按钮全部同一行；标签宽与「到手价」一致(52px)上下对齐 */
  .filter-prices > span, .filter-custom-label { width: 52px; min-width: 52px; font-size: 11px; white-space: nowrap; }
  .filter-row-custom { flex-wrap: nowrap; gap: 6px; }
  .filter-custom-price { flex: 1; min-width: 0; gap: 4px; }
  .filter-custom-price input { flex: 1 1 0; width: 0; min-width: 0; padding: 0 6px; font-size: 11px; }
  .price-sep { width: 9px; flex: none; }
  .filter-custom-price button { flex: none; padding: 0 9px; font-size: 11px; }
  .filter-checks { gap: 10px 16px; }
  .filter-meta { margin-left: 0; }
  .filter-extra { flex-wrap: wrap; gap: 8px; }
  .detail-wrap { grid-template-columns: 1fr; gap: 20px; }
  .hero { padding: 32px 0 26px; }
  .hero h1 { font-size: 25px; }
  /* 搜索区：输入框与按钮等高对齐（按钮固定 48px，输入框不再被压缩） */
  .hero-search { flex-direction: column; gap: 10px; }
  .hero-search input { width: 100%; height: 48px; flex: none; }
  .hero-search button { width: 100%; height: 48px; }
  .cat-grid { gap: 10px; }
  .cat-card { padding: 14px; gap: 10px; }
  .cat-icon { width: 42px; height: 42px; }
  .cat-icon svg { width: 24px; height: 24px; }
}
@media (max-width: 480px) {
  .product-grid { gap: 9px; }
  .product-body { padding: 10px; }
  .product-title { font-size: 13px; }
  .price-now { font-size: 16px; }
  .buy-btn { font-size: 12px; }
}

/* ============================================================
 * 体验优化补充：搜索图标 / 信任条 / 分类总览 / 收藏 / 领券引导
 * ============================================================ */

/* 搜索按钮 SVG（与主站 iconfont 放大镜视觉一致） */
.search-icon { width: 18px; height: 18px; display: block; }
.header-search button { display: grid; place-items: center; }
.hero-search button .search-icon { display: inline-block; vertical-align: -4px; margin-right: 4px; }

/* 服务保证条 */
.trust-bar { border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; padding: 14px 0; }
.trust-item { font-size: 13px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.trust-item b { color: var(--accent); font-size: 15px; }

/* 分类总览页卡片 */
.cat-overview { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cat-overview-card {
  display: flex; align-items: center; gap: 18px;
  padding: 24px; border: 1px solid var(--line-warm); border-radius: var(--radius-card);
  background: #fff; transition: .25s;
}
.cat-overview-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.cat-icon-lg {
  width: 72px; height: 72px; border-radius: 18px; flex: none;
  display: grid; place-items: center; background: var(--grad); color: #fff;
}
.cat-icon-lg svg { width: 40px; height: 40px; }
.cat-overview-body { flex: 1; min-width: 0; }
.cat-overview-body h3 { margin: 0 0 6px; font-size: 19px; color: var(--ink); }
.cat-overview-body h3 em { font-style: normal; font-size: 12px; color: var(--accent); background: var(--bg-soft); padding: 2px 9px; border-radius: var(--radius-pill); margin-left: 8px; font-weight: 400; }
.cat-overview-body p { margin: 0; font-size: 13px; color: var(--ink-3); line-height: 1.6; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.tag-cloud a { padding: 8px 18px; border: 1px solid var(--line-warm); border-radius: var(--radius-pill); color: var(--ink-2); font-size: 14px; background: #fff; transition: .2s; }
.tag-cloud a:hover { background: var(--grad); color: #fff; border-color: transparent; }
.tag-cloud a em { font-style: normal; font-size: 11px; color: var(--accent); margin-left: 4px; }
.tag-cloud a:hover em { color: #fff; }

/* 省钱标签 */
.save-tag {
  display: inline-block; padding: 1px 8px; margin-left: 6px;
  border-radius: 5px; background: #fff0ed; color: var(--accent-deep);
  font-size: 12px; font-weight: 600;
}

/* 券标签可点击 */
.coupon-row { min-height: 26px; }
a.coupon { cursor: pointer; transition: .2s; }
a.coupon:hover { background: var(--accent); color: #fff; border-style: solid; }

/* 收藏按钮 */
.product-card { position: relative; }
.fav-btn {
  position: absolute; top: 9px; right: 9px; z-index: 3;
  width: 30px; height: 30px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--ink-3);
  font-size: 18px; line-height: 30px; text-align: center; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.08); transition: .2s;
}
.fav-btn:hover { color: var(--accent); transform: scale(1.08); }
.fav-btn.active { color: #fff; background: var(--grad); }

/* 详情页：省钱角标 + 领券步骤 + 操作按钮 */
.gallery-save {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--grad); color: #fff; padding: 5px 14px;
  border-radius: var(--radius-pill); font-size: 14px; font-weight: 600;
  box-shadow: 0 3px 12px rgba(255,134,118,.3);
}
a.detail-coupon { cursor: pointer; text-decoration: none; transition: .2s; }
a.detail-coupon:hover { filter: brightness(1.06); transform: translateY(-1px); }
.buy-steps { list-style: none; padding: 0; margin: 16px 0 8px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.buy-steps li { display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-align: center; font-size: 12px; color: var(--ink-2); background: var(--bg-soft); padding: 6px 12px 6px 6px; border-radius: var(--radius-pill); }
.buy-steps b { width: 20px; height: 20px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 11px; display: grid; place-items: center; }
.detail-actions { display: flex; gap: 10px; margin-top: 14px; }
.detail-fav, .detail-share, .detail-copy {
  flex: 1; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: #fff; color: var(--ink-2); font-size: 14px; cursor: pointer; transition: .2s;
}
.detail-fav:hover, .detail-share:hover, .detail-copy:hover { border-color: var(--accent); color: var(--accent); }
.detail-copy:disabled { opacity: .5; cursor: not-allowed; }
.detail-fav.active { background: var(--bg-soft); color: var(--accent); border-color: var(--accent); }

/* 活动倒计时 / 到期态 / 迷你卡片 —— 详情页增强 */
.price-breakdown { margin-top: 8px; font-size: 12px; color: var(--ink-2); }
.promo-corner {
  position: absolute; top: 12px; right: 14px;
  display: inline-flex; align-items: stretch;
  max-width: calc(100% - 28px);
  border: 1px solid var(--line-warm); border-radius: var(--radius-pill);
  background: #fff; overflow: hidden; white-space: nowrap;
  box-shadow: 0 3px 10px rgba(255,134,118,.12);
}
.promo-state, .promo-expired, .promo-countdown {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 4px 10px; font-size: 12px; font-weight: 600; line-height: 1.4;
}
.promo-state { background: var(--grad); color: #fff; }
.promo-countdown {
  padding-left: 10px; padding-right: 12px;
  border-left: 1px solid var(--line-warm);
  color: var(--accent-deep); font-weight: 700; font-variant-numeric: tabular-nums;
}
.promo-expired { background: #f0f0f0; color: var(--ink-3); padding: 4px 12px; }
.promo-corner.is-expired { border-color: var(--line); box-shadow: none; }
.promo-corner.is-urgent { border-color: #ffb3a7; box-shadow: 0 3px 12px rgba(255,77,61,.28); }
.promo-corner.is-urgent .promo-state { background: linear-gradient(135deg, #ff6e5c, #ff4d3d); }
.promo-corner.is-urgent .promo-state::before {
  content: ""; width: 5px; height: 5px; margin-right: 5px;
  border-radius: 50%; background: #fff; animation: promo-pulse 1s infinite;
}
.promo-corner.is-urgent .promo-countdown { color: #e33b2a; }
@keyframes promo-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  .promo-corner.is-urgent .promo-state::before { animation: none; }
}
@media (max-width: 480px) {
  .promo-corner { position: static; margin: 8px 0 0; max-width: 100%; }
  .promo-state, .promo-expired, .promo-countdown { padding: 2px 8px; font-size: 11px; }
  .promo-countdown { padding-left: 8px; padding-right: 10px; }
  .detail-price-box > div:first-child { padding-right: 0; }
}
.buy-large.is-expired { background: #b8b8b8; }
.buy-original, .buy-similar {
  display: block; width: 100%; margin-top: 10px; padding: 11px;
  border: 1px solid var(--line-warm); border-radius: var(--radius-pill);
  background: #fff; color: var(--accent-deep); font-size: 14px; text-align: center; cursor: pointer;
  transition: .2s;
}
.buy-original:hover, .buy-similar:hover { background: var(--bg-soft); border-color: var(--accent); }
.buy-similar { border-style: dashed; }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mini-card { display: flex; gap: 10px; align-items: center; min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; transition: .2s; }
.mini-card > div { min-width: 0; }
.mini-card:hover { border-color: var(--line-warm); box-shadow: var(--shadow); transform: translateY(-2px); }
.mini-card img { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; flex: none; }
.mini-card strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; font-size: 13px; line-height: 1.4; color: var(--ink); }
.mini-card span { display: block; margin-top: 4px; font-size: 12px; color: var(--accent-deep); font-weight: 700; }
@media (max-width: 768px) {
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-card { gap: 8px; padding: 8px; }
  .mini-card img { width: 46px; height: 46px; }
}
@media (max-width: 480px) {
  .mini-grid { grid-template-columns: 1fr; }
}
.detail-heat { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; padding: 9px 16px; border: 1px solid var(--line-warm); border-radius: var(--radius-pill); background: var(--bg-soft); font-size: 12px; color: var(--ink-2); }
.heat-eye { width: 16px; height: 16px; flex: none; color: var(--accent); }
.detail-heat b { display: inline-block; min-width: 20px; padding: 1px 6px; margin: 0 2px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; text-align: center; }
.detail-heat small { color: var(--ink-3); font-size: 10px; opacity: .8; }
.toast-tip {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px); z-index: 300;
  background: rgba(51,51,51,.92); color: #fff; padding: 11px 22px; border-radius: var(--radius-pill);
  font-size: 14px; opacity: 0; transition: .25s; pointer-events: none;
}
.toast-tip.show { opacity: 1; transform: translate(-50%, 0); }

/* 手动复制兜底弹层 */
.copy-overlay { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; background: rgba(20,28,34,.55); backdrop-filter: blur(3px); }
.copy-modal { width: min(480px, 100%); padding: 24px; border-radius: 16px; background: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.24); }
.copy-modal h3 { margin: 0 0 8px; font-size: 18px; color: var(--ink); }
.copy-modal p { margin: 0 0 14px; font-size: 13px; color: var(--ink-2); }
.copy-input { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--line-warm); border-radius: 8px; background: var(--bg-soft); color: var(--accent-deep); font-size: 13px; outline: 0; }
.copy-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.copy-select, .copy-close { padding: 7px 16px; border: 0; border-radius: var(--radius-pill); font-size: 13px; cursor: pointer; }
.copy-select { background: var(--grad); color: #fff; }
.copy-close { background: #f2f2f2; color: var(--ink-2); }

/* 热销榜单 */
.rank-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.rank-tab { padding: 8px 18px; border-radius: var(--radius-pill); font-size: 14px; color: var(--ink-2); background: var(--bg-soft); transition: .2s; }
.rank-tab:hover, .rank-tab.active { background: var(--grad); color: #fff; }
.rank-block { margin-bottom: 40px; scroll-margin-top: 80px; }
.rank-list { display: flex; flex-direction: column; gap: 10px; }
.rank-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-card);
  background: #fff; transition: .2s;
}
.rank-item:hover { border-color: var(--line-warm); box-shadow: var(--shadow); transform: translateY(-2px); }
.rank-no {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  display: grid; place-items: center; background: #f2f2f2; color: var(--ink-3);
  font-size: 14px; font-weight: 700;
}
.rank-no.top { background: var(--grad); color: #fff; box-shadow: 0 2px 8px rgba(255,134,118,.3); }
.rank-thumb { width: 72px; height: 72px; flex: none; border-radius: 8px; overflow: hidden; background: #f8f8f8; }
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rank-body { flex: 1; min-width: 0; }
.rank-body h3 { margin: 0 0 6px; font-size: 15px; line-height: 1.5; }
.rank-body h3 a:hover { color: var(--accent); }
.rank-body p { margin: 0; font-size: 13px; color: var(--ink-3); }
.rank-save { color: var(--accent-deep); font-size: 15px; }
.rank-buy {
  flex: none; padding: 8px 16px; border-radius: var(--radius-pill);
  background: var(--grad); color: #fff; font-size: 13px; font-weight: 600; transition: .2s;
}
.rank-buy:hover { background: var(--grad-hover); box-shadow: var(--shadow); }
@media (max-width: 600px) {
  .rank-item { gap: 10px; padding: 10px; }
  .rank-thumb { width: 56px; height: 56px; }
  .rank-buy { padding: 7px 12px; font-size: 12px; }
  .rank-body h3 { font-size: 13px; }
  .rank-no { width: 24px; height: 24px; font-size: 12px; }
}

/* 顶栏收藏入口（搜索框右侧） */
.fav-entry { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; transition: .2s; }
.fav-entry:hover { border-color: var(--accent); color: var(--accent); background: var(--bg-soft); }
.fav-entry svg { width: 19px; height: 19px; }
.fav-badge { position: absolute; top: -4px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; line-height: 17px; text-align: center; }

/* 我的收藏弹层：图文卡片网格（学 shukuwu 书架） */
.fav-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(20,28,34,.55); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 20px; animation: leave-fade .18s ease; }
.fav-modal { position: relative; width: min(680px, 100%); max-height: 84vh; overflow: auto; background: #fff; border-radius: 18px; padding: 26px; box-shadow: 0 24px 60px rgba(0,0,0,.26); animation: leave-up .22s ease; }
.fav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--accent); }
.fav-head h2 { margin: 0; font-size: 20px; color: var(--ink); }
.fav-head h2 small { font-size: 12px; color: var(--ink-3); font-weight: 400; margin-left: 8px; }
.fav-close { border: 0; background: transparent; font-size: 26px; color: var(--ink-3); cursor: pointer; line-height: 1; }
.fav-close:hover { color: var(--accent); }
.fav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.fav-card { display: flex; gap: 12px; padding: 11px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: .2s; cursor: pointer; }
.fav-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.fav-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fav-cover { flex: none; width: 78px; height: 104px; border-radius: 8px; overflow: hidden; background: var(--bg-soft); }
.fav-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fav-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.fav-info h3 { margin: 0; font-size: 13px; line-height: 1.5; }
.fav-info h3 a { color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fav-info h3 a:hover { color: var(--accent); }
.fav-price { margin: 0; color: var(--accent-deep); font-weight: 700; font-size: 15px; }
.fav-price small { font-size: 11px; }
.fav-remove, .fav-clear { align-self: flex-start; margin-top: auto; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-3); font-size: 11px; cursor: pointer; transition: .2s; }
.fav-remove:hover, .fav-clear:hover { border-color: var(--accent); color: var(--accent); }
.fav-clear { display: block; margin: 18px auto 0; padding: 7px 20px; font-size: 12px; }
.fav-empty { text-align: center; padding: 50px 20px; }
.fav-empty-icon { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--accent); font-size: 26px; }
.fav-empty h3 { margin: 0 0 8px; font-size: 16px; color: var(--ink); }
.fav-empty p { margin: 0 0 18px; font-size: 13px; color: var(--ink-3); }
.fav-empty-links a { display: inline-block; padding: 9px 22px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
@media (max-width: 768px) {
  .fav-entry { width: 34px; height: 34px; }
  .fav-grid { grid-template-columns: 1fr; }
  .fav-modal { padding: 18px; }
}

@media (max-width: 768px) {
  .trust-inner { gap: 14px; padding: 12px 0; }
  .trust-item { font-size: 12px; }
  .cat-overview { grid-template-columns: 1fr; gap: 12px; }
  .cat-overview-card { padding: 16px; gap: 14px; }
  .cat-icon-lg { width: 56px; height: 56px; border-radius: 14px; }
  .cat-icon-lg svg { width: 32px; height: 32px; }
}

/* ============ 离站提醒（外链确认层） ============ */
.leave-overlay { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 20px; background: rgba(20,28,34,.62); backdrop-filter: blur(4px); animation: leave-fade .18s ease; }
.leave-card { width: min(420px, 100%); padding: 30px 28px 24px; border-radius: 18px; background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.28); text-align: center; animation: leave-up .22s ease; }
.leave-icon { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft, #fff0ed); color: var(--accent); font-size: 24px; font-weight: 700; }
.leave-card h2 { margin: 0 0 10px; font-size: 20px; color: #243138; }
.leave-desc { margin: 0 0 14px; font-size: 13px; line-height: 1.7; color: #6b7a82; }
.leave-desc b { color: var(--accent-deep, #ff6e5c); }
.leave-count { margin: 0 0 20px; font-size: 12px; color: #8a969c; }
.leave-count b { display: inline-block; min-width: 20px; padding: 1px 6px; margin: 0 2px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 13px; }
.leave-actions { display: flex; gap: 10px; }
.leave-go, .leave-cancel { flex: 1; padding: 12px 10px; border-radius: 999px; font-size: 14px; font-weight: 700; cursor: pointer; transition: .2s; border: 1px solid var(--line, #e5eaec); }
.leave-go { background: var(--accent); color: #fff; border-color: var(--accent); }
.leave-go:hover { background: var(--accent-deep, #ff6e5c); }
.leave-cancel { background: #fff; color: #6b7a82; }
.leave-cancel:hover { border-color: var(--accent); color: var(--accent); }
@keyframes leave-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes leave-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .leave-overlay, .leave-card { animation: none; } }
