/* ============================================================
   饭粒多多 — 极简领券站
   设计基调：暖橙渐变 / 大圆角 / 柔软阴影 / 轻快微动效
   ============================================================ */

:root {
  --brand: #ff5a3c;
  --brand-2: #ff2e7e;
  --brand-3: #7c5cff;
  --gold: #ffb020;

  --bg: #fff7f4;
  --card: #ffffff;
  --ink: #1f1b24;
  --ink-2: #6b6473;
  --ink-3: #a49dae;
  --line: #f0e7e6;

  --radius-s: 12px;
  --radius: 18px;
  --radius-l: 26px;

  --shadow-s: 0 2px 10px rgba(255, 90, 60, .07);
  --shadow: 0 8px 24px rgba(120, 60, 40, .09);
  --shadow-l: 0 16px 40px rgba(120, 60, 40, .16);

  --ease: cubic-bezier(.22, .68, 0, 1);
  --tab-h: 62px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body { padding-bottom: calc(var(--tab-h) + 18px); overflow-x: hidden; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }

/* ============================ 顶部 ============================ */
.hero {
  position: relative;
  padding: 22px 18px 26px;
  padding-top: calc(22px + env(safe-area-inset-top));
  background: linear-gradient(140deg, #ff7a45 0%, #ff5a3c 42%, #ff2e7e 100%);
  border-radius: 0 0 34px 34px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(255, 70, 90, .22);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: .38;
  animation: float 9s ease-in-out infinite;
}
.blob-1 { width: 180px; height: 180px; background: #ffd166; top: -70px; left: -40px; }
.blob-2 { width: 150px; height: 150px; background: #7c5cff; bottom: -80px; right: -30px; animation-delay: -3s; }
.blob-3 { width: 110px; height: 110px; background: #fff; top: 30px; right: 40px; opacity: .16; animation-delay: -6s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(16px, -14px) scale(1.1); }
}

.hero-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }

.brand { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }

.brand-logo {
  width: 40px; height: 40px; border-radius: 13px;
  background: rgba(255, 255, 255, .96);
  color: var(--brand);
  font-size: 21px; font-weight: 800;
  display: grid; place-items: center;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .14);
  animation: pop .55s var(--ease) both;
}
@keyframes pop { 0% { transform: scale(.3) rotate(-25deg); opacity: 0; } 100% { transform: scale(1) rotate(0); opacity: 1; } }

.brand-text h1 { margin: 0; font-size: 20px; font-weight: 800; color: #fff; letter-spacing: .5px; }
.brand-text p  { margin: 2px 0 0; font-size: 12px; color: rgba(255, 255, 255, .82); }

.icon-btn {
  margin-left: auto; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, .18); color: #fff;
  display: grid; place-items: center;
  transition: transform .25s var(--ease), background .25s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .32); transform: rotate(60deg); }

/* 搜索 */
.search-box {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 999px;
  padding: 6px 6px 6px 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .13);
  animation: rise .6s .08s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.search-icon { color: var(--ink-3); flex: none; }
#searchInput {
  flex: 1; min-width: 0; border: none; outline: none;
  font-size: 14px; padding: 9px 0; background: transparent; color: var(--ink);
}
#searchInput::placeholder { color: var(--ink-3); }

.search-clear {
  width: 20px; height: 20px; border-radius: 50%; flex: none;
  background: #ece7ea; color: var(--ink-2); font-size: 15px; line-height: 1;
  display: grid; place-items: center;
}

.search-btn {
  flex: none; padding: 9px 20px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(255, 60, 100, .36);
  transition: transform .18s var(--ease), box-shadow .18s;
}
.search-btn:active { transform: scale(.94); box-shadow: 0 2px 6px rgba(255, 60, 100, .3); }

/* 平台 chips */
.chips {
  position: relative; display: flex; gap: 4px; margin-top: 15px;
  background: rgba(255, 255, 255, .16);
  padding: 4px; border-radius: 999px;
  animation: rise .6s .16s var(--ease) both;
}
.chip {
  position: relative; z-index: 2; flex: 1;
  padding: 7px 0; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .82);
  transition: color .3s var(--ease);
}
.chip.active { color: var(--brand); }
.chip-indicator {
  position: absolute; z-index: 1; top: 4px; left: 4px; height: calc(100% - 8px);
  background: #fff; border-radius: 999px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .12);
  transition: transform .38s var(--ease), width .38s var(--ease);
}

/* ============================ 主体 ============================ */
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }

.fade-up { animation: fadeUp .55s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* 快捷入口 */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0 14px; }
.quick-item {
  background: var(--card); border-radius: var(--radius);
  padding: 13px 4px 11px; text-align: center;
  box-shadow: var(--shadow-s);
  transition: transform .22s var(--ease), box-shadow .22s;
}
.quick-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quick-item:active { transform: scale(.95); }
.quick-emoji { display: block; font-size: 23px; margin-bottom: 5px; transition: transform .3s var(--ease); }
.quick-item:hover .quick-emoji { transform: scale(1.22) rotate(-8deg); }
.quick-label { font-size: 11.5px; color: var(--ink-2); font-weight: 600; }

/* 数据条 */
.stats {
  display: flex; align-items: center; justify-content: space-around;
  background: var(--card); border-radius: var(--radius);
  padding: 14px 8px; box-shadow: var(--shadow-s); margin-bottom: 20px;
}
.stat { text-align: center; flex: 1; }
.stat b { display: block; font-size: 19px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.stat span { font-size: 11px; color: var(--ink-3); }
.stat-divider { width: 1px; height: 24px; background: var(--line); }

/* 筛选 */
.filter-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.section-title { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: .3px; }
.sorts { display: flex; gap: 6px; }
.sort {
  padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--ink-2);
  background: #fff; box-shadow: var(--shadow-s);
  transition: all .25s var(--ease);
}
.sort.active { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 4px 12px rgba(255, 60, 100, .3); }

/* ============================ 券卡片 ============================ */
.coupon-list { display: flex; flex-direction: column; gap: 13px; }

.coupon {
  display: flex; background: var(--card); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-s);
  cursor: pointer; position: relative;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease);
  animation: fadeUp .5s var(--ease) both;
}
.coupon:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); }
.coupon:active { transform: scale(.985); }

/* 左侧票根 */
.coupon-left {
  flex: none; width: 104px; position: relative;
  background: linear-gradient(160deg, #ff7a45, #ff2e7e);
  color: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 16px 6px;
}
.coupon-left.p-JINGDONG  { background: linear-gradient(160deg, #ff6a5e, #e1251b); }
.coupon-left.p-PINDUODUO { background: linear-gradient(160deg, #ff8a5c, #e22e1f); }
.coupon-left.p-TAOBAO    { background: linear-gradient(160deg, #ff9436, #ff5000); }

.coupon-amount { display: flex; align-items: baseline; gap: 1px; }
.coupon-amount i { font-size: 13px; font-style: normal; font-weight: 700; }
.coupon-amount b { font-size: 30px; font-weight: 900; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.coupon-cond { font-size: 10.5px; opacity: .92; margin-top: 4px; text-align: center; }
.coupon-tag {
  margin-top: 7px; font-size: 10px; padding: 2px 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .26); backdrop-filter: blur(4px);
}

/* 撕口 */
.coupon-left::after {
  content: ''; position: absolute; right: -1px; top: 0; bottom: 0; width: 2px;
  background: repeating-linear-gradient(180deg, #fff 0 5px, transparent 5px 10px);
}

/* 右侧信息 */
.coupon-right { flex: 1; min-width: 0; padding: 13px 14px; display: flex; flex-direction: column; }
.coupon-title {
  font-size: 13.5px; font-weight: 600; line-height: 1.45; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin-bottom: 7px;
}
.coupon-shop { font-size: 11px; color: var(--ink-3); margin-bottom: 8px; }
.coupon-shop .plat {
  display: inline-block; padding: 1px 6px; border-radius: 5px; margin-right: 6px;
  font-size: 10px; font-weight: 700;
}
.plat-TAOBAO    { background: #fff1e8; color: #ff5000; }
.plat-JINGDONG  { background: #ffeee9; color: #e1251b; }
.plat-PINDUODUO { background: #ffefea; color: #e22e1f; }

.coupon-bottom { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; gap: 8px; }
.price-now { color: var(--brand); font-weight: 900; font-size: 19px; font-variant-numeric: tabular-nums; }
.price-now i { font-size: 12px; font-style: normal; }
.price-old { font-size: 11px; color: var(--ink-3); text-decoration: line-through; margin-left: 5px; }
.price-save { font-size: 10.5px; color: #12b76a; font-weight: 700; display: block; margin-top: 2px; }

.btn-get {
  flex: none; padding: 8px 17px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-size: 13px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(255, 60, 100, .3);
  position: relative; overflow: hidden;
  transition: transform .18s var(--ease);
}
.btn-get::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .55), transparent 70%);
  transform: translateX(-120%);
}
.btn-get:hover::after { animation: shine .9s var(--ease); }
@keyframes shine { to { transform: translateX(120%); } }
.btn-get:active { transform: scale(.92); }

/* 收藏角标 */
.fav-corner {
  position: absolute; top: 0; right: 0;
  width: 38px; height: 38px; display: grid; place-items: center;
  color: #ffb020; font-size: 15px;
  transition: transform .25s var(--ease);
}
.fav-corner:active { transform: scale(1.5); }

/* ============================ 骨架屏 ============================ */
.sk { display: flex; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); }
.sk-l { width: 104px; background: #f3eeee; }
.sk-r { flex: 1; padding: 15px; }
.sk-bar { height: 11px; border-radius: 6px; background: #f3eeee; margin-bottom: 9px; }
.sk-bar.w60 { width: 60%; } .sk-bar.w40 { width: 40%; } .sk-bar.w80 { width: 80%; }
.sk-l, .sk-bar {
  background: linear-gradient(90deg, #f3eeee 25%, #ece5e5 37%, #f3eeee 63%);
  background-size: 400% 100%;
  animation: shimmer 1.3s ease infinite;
}
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* 空状态 */
.empty { text-align: center; padding: 46px 20px; color: var(--ink-3); }
.empty-emoji { font-size: 44px; display: block; margin-bottom: 10px; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.load-more-wrap { text-align: center; padding: 22px 0 10px; }
.load-more {
  padding: 11px 32px; border-radius: 999px; background: #fff;
  font-size: 13px; font-weight: 700; color: var(--brand);
  box-shadow: var(--shadow-s);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.load-more:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.site-footer { text-align: center; padding: 18px 0 26px; font-size: 11.5px; color: var(--ink-3); }
.site-footer .dim { opacity: .72; margin-top: 3px; }

/* ============================ 底部导航 ============================ */
.tabbar {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(12px + env(safe-area-inset-bottom));
  width: calc(100% - 32px); max-width: 688px;
  height: var(--tab-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-radius: 22px;
  display: flex; align-items: center;
  box-shadow: 0 10px 34px rgba(120, 60, 40, .18);
  z-index: 60;
}
.tab {
  flex: 1; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--ink-3); font-size: 11px; font-weight: 600; position: relative;
  transition: color .25s var(--ease);
}
.tab svg { transition: transform .3s var(--ease); }
.tab.active { color: var(--brand); }
.tab.active svg { transform: translateY(-2px) scale(1.14); }
.tab:active svg { transform: scale(.85); }

.tab-badge {
  position: absolute; top: 9px; right: 50%; margin-right: -22px;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px;
  background: var(--brand-2); color: #fff;
  font-size: 10px; font-style: normal; line-height: 16px; text-align: center; font-weight: 700;
  animation: pop .35s var(--ease) both;
}

/* ============================ 弹出层 ============================ */
.sheet-mask, .modal-mask {
  position: fixed; inset: 0; background: rgba(28, 18, 20, .48); z-index: 80;
  animation: fadeIn .25s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.sheet {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 0; width: 100%; max-width: 720px; z-index: 90;
  background: #fff; border-radius: 28px 28px 0 0;
  padding: 10px 20px calc(26px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .2);
  animation: sheetUp .38s var(--ease);
  max-height: 84vh; overflow-y: auto;
}
@keyframes sheetUp { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, 0); } }
.sheet-handle { width: 38px; height: 4px; border-radius: 999px; background: #e5dede; margin: 0 auto 14px; }

.sheet-goods { display: flex; gap: 14px; margin-bottom: 16px; }
.sheet-img {
  width: 96px; height: 96px; border-radius: 16px; flex: none;
  background: linear-gradient(140deg, #ffe3d4, #ffd6e6);
  display: grid; place-items: center; font-size: 34px;
}
.sheet-info h3 { margin: 0 0 6px; font-size: 15px; font-weight: 700; line-height: 1.45; }
.sheet-price { font-size: 23px; font-weight: 900; color: var(--brand); }
.sheet-price i { font-size: 13px; font-style: normal; }
.sheet-price s { font-size: 12px; color: var(--ink-3); font-weight: 500; margin-left: 6px; }

.sheet-coupons { display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; }
.sc-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px; border-radius: 14px;
  background: linear-gradient(120deg, #fff1ea, #ffe9f1);
  border: 1px dashed #ffc9b4;
}
.sc-item b { color: var(--brand-2); font-size: 15px; }
.sc-item span { font-size: 12px; color: var(--ink-2); }

.sheet-actions { display: flex; gap: 10px; }
.btn {
  flex: 1; padding: 14px; border-radius: 16px;
  font-size: 15px; font-weight: 700; text-align: center;
  transition: transform .18s var(--ease);
}
.btn:active { transform: scale(.96); }
.btn.primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 8px 20px rgba(255, 60, 100, .32); }
.btn.ghost { background: #f6f1f0; color: var(--ink-2); flex: none; padding: 14px 22px; }

/* 设置弹窗 */
.modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: calc(100% - 56px); max-width: 380px; z-index: 90;
  background: #fff; border-radius: 24px; padding: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
  animation: modalIn .32s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translate(-50%, -46%) scale(.94); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.modal h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; }
.modal-tip { margin: 0 0 16px; font-size: 12px; color: var(--ink-3); line-height: 1.6; }
.field { display: block; margin-bottom: 13px; }
.field span { display: block; font-size: 12px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.field input {
  width: 100%; padding: 11px 13px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fdfaf9;
  font-size: 13px; outline: none; color: var(--ink);
  transition: border-color .2s, background .2s;
}
.field input:focus { border-color: var(--brand); background: #fff; }
.modal-actions { display: flex; gap: 10px; margin-top: 6px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tab-h) + 34px);
  transform: translateX(-50%);
  background: rgba(31, 27, 36, .93); color: #fff;
  padding: 11px 20px; border-radius: 999px;
  font-size: 13px; font-weight: 600; z-index: 120;
  backdrop-filter: blur(8px);
  animation: toastIn .3s var(--ease);
  max-width: 82vw; text-align: center;
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* 返回顶部 */
.to-top {
  position: fixed; right: 16px; bottom: calc(var(--tab-h) + 30px);
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; color: var(--brand);
  display: grid; place-items: center; z-index: 55;
  box-shadow: var(--shadow);
  animation: fadeUp .3s var(--ease);
}
.to-top:active { transform: scale(.9); }

/* ============================ 数据源状态条 ============================ */
.data-badge {
  display: flex; align-items: center; gap: 7px;
  margin-top: 13px; padding: 7px 12px;
  border-radius: 999px; width: fit-content;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
  font-size: 11.5px; font-weight: 600; color: #fff;
  animation: fadeUp .5s var(--ease) both .25s;
}
.data-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ffd166; box-shadow: 0 0 0 0 rgba(255, 209, 102, .7);
  animation: pulse 2s infinite;
}
.data-badge .dot.live { background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 currentColor; }
  70%  { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
.data-badge .badge-act {
  margin-left: 2px; padding: 2px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .28); color: #fff;
  font-size: 11px; font-weight: 700;
}
.data-badge .badge-act:active { transform: scale(.92); }

/* ============================ 搜索建议 ============================ */
.suggest {
  position: absolute; z-index: 40; left: 0; right: 0; top: 100%;
  margin-top: 9px; padding: 14px 16px 16px;
  background: #fff; border-radius: 20px;
  box-shadow: 0 16px 40px rgba(120, 60, 40, .2);
  animation: fadeUp .26s var(--ease);
  text-align: left;
}
.suggest-sec + .suggest-sec { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); }
.suggest-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.suggest-head b { font-size: 12.5px; color: var(--ink); }
.suggest-head button { font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 7px 13px; border-radius: 999px;
  background: #fdf3f0; color: var(--ink-2);
  font-size: 12.5px; font-weight: 600;
  transition: transform .16s var(--ease), background .2s;
}
.tag:active { transform: scale(.94); background: #ffe8e0; color: var(--brand); }

/* ============================ 添加到主屏幕 ============================ */
.install-tip {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; margin-bottom: 13px;
  background: linear-gradient(120deg, #fff6ef, #ffeef4);
  border: 1px dashed #ffc9b4; border-radius: 16px;
  animation: fadeUp .4s var(--ease);
}
.it-text { flex: 1; font-size: 12.5px; color: var(--ink-2); font-weight: 600; line-height: 1.45; }
.it-btn {
  flex: none; padding: 7px 15px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-size: 12.5px; font-weight: 700;
}
.it-btn:active { transform: scale(.94); }
.it-close { flex: none; font-size: 19px; color: var(--ink-3); line-height: 1; padding: 0 2px; }

/* ============================ 连接测试结果 ============================ */
.conn-result {
  padding: 10px 13px; border-radius: 12px; margin-bottom: 12px;
  font-size: 12px; line-height: 1.6; font-weight: 600;
  background: #f3f6f4; color: #2f7a55; word-break: break-all;
}
.conn-result.err { background: #fff1f0; color: #d0342c; }

/* ============================ 口令兜底框 ============================ */
.copy-box {
  margin-top: 14px; padding: 12px 13px; border-radius: 14px;
  background: #fbf7f6; border: 1px dashed #e3d6d3;
}
.copy-box p { margin: 0 0 8px; font-size: 11.5px; color: var(--ink-3); line-height: 1.6; }
.copy-row { display: flex; gap: 8px; }
.copy-row input {
  flex: 1; min-width: 0; padding: 9px 11px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff;
  font-size: 12px; color: var(--ink);
}
.copy-row button {
  flex: none; padding: 9px 14px; border-radius: 10px;
  background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 700;
}
.copy-row button:active { transform: scale(.94); }

/* 桌面端：卡片两列 */
@media (min-width: 640px) {
  .coupon-list { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
