/* ==========================================================================
   v10-bento-grid — 便當盒排版
   Design: 深色背景 + 多尺寸卡片拼接 + rounded-2xl + 柔和光暈 + Apple 風
   Lance 2026-07-18 #20581
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=SF+Pro+Display:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #0a0a0a;
  --card-1: #1a1a1a;
  --card-2: #181818;
  --card-3: #161616;
  --ink: #f5f5f7;
  --ink-2: #c7c7cc;
  --muted: #86868b;
  --line: rgba(255,255,255,0.1);
  --line-soft: rgba(255,255,255,0.05);
  --blue: #2997ff;
  --purple: #af52de;
  --pink: #ff375f;
  --orange: #ff9f0a;
  --green: #30d158;
  --yellow: #ffd60a;

  --font-display: "SF Pro Display", "Inter", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --font-mono: ui-monospace, monospace;

  --radius: 22px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(41, 151, 255, 0.15) 0%, transparent 50%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
}

/* divider — 大方块四分割 */
.signal-rule {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: 200px;
  height: 40px;
  margin: 0 auto;
}
.signal-rule span {
  background: var(--card-2);
  border-radius: 8px;
}
.signal-rule span:nth-child(2) { background: var(--blue); }
.signal-rule span:nth-child(3) { background: var(--purple); }
.signal-rule span:nth-child(4) { background: var(--pink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand .brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: contain;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
@media (max-width: 600px) {
  .main-nav { display: none; }
}
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  opacity: 0.85;
  transition: opacity 0.2s;
}
.main-nav a:hover { opacity: 1; color: var(--blue); }

.lang-toggle {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--line);
  background: var(--card-2);
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s;
}
.lang-toggle:hover { background: var(--card-3); }
.lang-toggle:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* 2026-07-18 Lance 拍板：banner 已移除，body 不需 padding-bottom 預留 */
@media (max-width: 600px) {
  .site-header .wrap { height: 60px; }
  .brand { font-size: 15px; }
  .brand .brand-logo { width: 24px; height: 24px; }
  .lang-toggle { padding: 5px 12px; font-size: 12px; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 80px;
  text-align: center;
}
@media (max-width: 600px) {
  .hero { padding: 64px 0 56px; }
  .hero-actions { margin-bottom: 40px; gap: 10px; }
  .btn { padding: 11px 18px; font-size: 13px; }
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 6.5vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: var(--ink);
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--blue), var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .subtitle {
  font-family: var(--font-display);
  font-weight: 500;
  max-width: 580px;
  margin: 0 auto 40px;
  color: var(--muted);
  font-size: clamp(15px, 4vw, 18px);
  letter-spacing: -0.01em;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: transform 0.15s, background 0.2s, opacity 0.2s;
  letter-spacing: -0.01em;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: #4ea8ff; }
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-block { width: 100%; justify-content: center; }
.btn[disabled], .btn.is-standby {
  opacity: 0.4;
  cursor: default;
}
.btn[disabled]:hover, .btn.is-standby:hover { transform: none; }

/* VU meter — 大圓角光柱 */
.vu-meter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 60px;
  margin: 0 auto 12px;
}
.vu-meter .bar {
  width: 8px;
  border-radius: 999px;
  background: var(--card-3);
  animation: vuGrow 1.5s ease-in-out infinite;
}
.vu-meter .bar.on { background: var(--blue); }
.vu-meter .bar:nth-child(1)  { animation-delay: -0.0s;  height: 30%; }
.vu-meter .bar:nth-child(2)  { animation-delay: -0.2s;  height: 50%; }
.vu-meter .bar:nth-child(3)  { animation-delay: -0.4s;  height: 70%; }
.vu-meter .bar:nth-child(4)  { animation-delay: -0.1s;  height: 90%; }
.vu-meter .bar:nth-child(5)  { animation-delay: -0.3s;  height: 100%; }
.vu-meter .bar:nth-child(6)  { animation-delay: -0.5s;  height: 80%; }
.vu-meter .bar:nth-child(7)  { animation-delay: -0.2s;  height: 60%; }
.vu-meter .bar:nth-child(8)  { animation-delay: -0.4s;  height: 40%; }
.vu-meter .bar:nth-child(9)  { animation-delay: -0.1s;  height: 25%; }
.vu-meter .bar:nth-child(10) { animation-delay: -0.3s;  height: 15%; }
@keyframes vuGrow {
  0%, 100% { transform: scaleY(0.85); }
  50% { transform: scaleY(1.1); }
}
.vu-caption {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.01em;
}

/* ---------- Bento Grid — 主視覺 ---------- */
section { padding: 64px 0 96px; }
@media (max-width: 600px) {
  section { padding: 48px 0 64px; }
}
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 4vw, 44px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--ink);
}
.section-head p {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  font-size: clamp(14px, 3.4vw, 17px);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  grid-auto-rows: 140px;
}
.app-card {
  background: var(--card-1);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, background 0.2s;
  position: relative;
  overflow: hidden;
}
/* 不同尺寸 */
.app-card:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.app-card:nth-child(2) { grid-column: span 2; grid-row: span 2; }
.app-card:nth-child(3) { grid-column: span 2; grid-row: span 1; }
.app-card:nth-child(4) { grid-column: span 2; grid-row: span 1; }
.app-card:nth-child(5) { grid-column: span 2; grid-row: span 1; }
/* 小平板：降到 2 欄，大卡依舊保留跨度 */
@media (max-width: 800px) {
  .app-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(140px, auto); }
  .app-card { grid-column: span 2 !important; grid-row: auto !important; min-height: 140px; }
  .app-card:nth-child(1) { grid-column: span 4 !important; min-height: 200px; }
  .app-card:nth-child(2) { grid-column: span 2 !important; min-height: 200px; }
}
/* 手機：1 欄垂直疊，按鈕不被裁切，描述不被按鈕重疊 */
@media (max-width: 600px) {
  .app-grid { grid-template-columns: 1fr; gap: 14px; grid-auto-rows: minmax(0, auto); }
  .app-card {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    min-height: 0 !important;
    padding: 22px 20px !important;
    flex-direction: column;
  }
  .app-card h3 { font-size: 17px !important; line-height: 1.3; margin: 4px 0 10px; }
  .app-card .desc { font-size: 13.5px; margin: 0 0 14px; line-height: 1.5; }
  .app-card:nth-child(1) h3 { font-size: 22px !important; }
  .app-card:nth-child(1) .desc { font-size: 14px; }
  /* 修正原本手機用 span 1 row 但 flex grow 1 把 button 擠出外的問題 */
  .app-card .btn-block { margin-top: 4px; align-self: stretch; padding: 12px 16px; font-size: 14px; }
}
@media (max-width: 380px) {
  .app-card { padding: 18px 16px !important; }
  .app-card h3 { font-size: 16px !important; }
}

.app-card:hover { transform: scale(1.005); background: var(--card-2); }
.app-card:nth-child(1) { background: linear-gradient(135deg, rgba(41,151,255,0.15), var(--card-1)); }
.app-card:nth-child(2) { background: linear-gradient(135deg, rgba(175,82,222,0.15), var(--card-1)); }
.app-card:nth-child(4) { background: linear-gradient(135deg, rgba(255,55,95,0.12), var(--card-1)); }
.app-card:nth-child(5) { background: linear-gradient(135deg, rgba(48,209,88,0.12), var(--card-1)); }

.app-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-tag {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.app-card:nth-child(1) .app-tag { color: var(--blue); }
.app-card:nth-child(2) .app-tag { color: var(--purple); }
.app-card:nth-child(4) .app-tag { color: var(--pink); }
.app-card:nth-child(5) .app-tag { color: var(--green); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.status .led {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--muted);
}
.status.on { color: var(--green); }
.status.on .led {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(48,209,88,0.18);
}
.app-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(17px, 2.2vw, 19px);
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.app-card:nth-child(1) h3 { font-size: clamp(22px, 3.6vw, 28px); }
.app-card:nth-child(2) h3 { font-size: clamp(19px, 2.8vw, 22px); }
.app-card .desc {
  color: var(--muted);
  font-size: 14px;
  flex-grow: 1;
  margin: 0;
  line-height: 1.5;
}
.app-card:nth-child(1) .desc { font-size: 15px; }

/* ---------- Support / donate — 雙欄 Bento ---------- */
.support-section {
  background: var(--bg);
  padding-top: 0;
}
.support-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
}
@media (max-width: 760px) {
  .support-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .support-copy { padding: 28px 24px; }
  .support-copy h2 { font-size: 22px !important; }
  .support-panel { padding: 24px 20px; }
  .stat-row { padding: 12px 0; }
  .stat-value { font-size: 18px; }
}
.support-copy {
  background: var(--card-1);
  border-radius: var(--radius);
  padding: 36px;
}
.support-copy .eyebrow {
  background: rgba(255,159,10,0.15);
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 600;
}
.support-copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 36px);
  margin: 14px 0 18px;
  letter-spacing: -0.02em;
}
.support-copy p { color: var(--muted); margin-bottom: 28px; max-width: 480px; }
.support-note { font-size: 12px; color: var(--muted); margin-top: 12px; }

.support-panel {
  background: var(--card-1);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.stat-row:last-of-type { border-bottom: none; }
.stat-value {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--orange);
  font-size: 20px;
}
.stat-label {
  color: var(--muted);
  font-size: 13px;
  font-family: var(--font-display);
}

/* ---------- Sponsor / ad slot ---------- */
.sponsor-slot {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px 32px;
  background:
    radial-gradient(at 100% 0%, rgba(124, 58, 237, 0.08) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(41, 151, 255, 0.06) 0px, transparent 50%),
    var(--card-1);
  position: relative;
  overflow: hidden;
}
.sponsor-slot-header {
  text-align: center;
  margin-bottom: 24px;
}
.sponsor-slot .eyebrow {
  display: inline-block;
  background: rgba(255, 214, 10, 0.15);
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sponsor-slot-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 24px);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.3;
}
.sponsor-intro {
  font-size: 13.5px;
  color: var(--ink-2);
  margin: 0 auto;
  max-width: 540px;
  line-height: 1.55;
}
.sponsor-slot p { margin: 0; font-size: 14px; }

/* 2026-07-18 #20660 Lance 拍板 Ko-fi direct CTA (modal 內變化、遇仃留在 modal) */
.donate-kofi-direct {
  text-align: center;
  margin-top: 12px;
}
.donate-kofi-direct-text {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.5;
}
.donate-kofi-direct-cta {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #ff9f0a 0%, #ff7a00 100%);
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(255, 159, 10, 0.3);
}
.donate-kofi-direct-cta:hover {
  filter: brightness(1.06);
}

/* 2026-07-18 #20670 Lance 拍板：Ko-fi Block 移到下方獨立匡顯卡片 */
.donate-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 14px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.donate-divider::before,
.donate-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.donate-kofi-block {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 159, 10, 0.08) 0%, rgba(255, 122, 0, 0.04) 100%);
  border: 1px solid rgba(255, 159, 10, 0.25);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.donate-kofi-block:hover {
  background: linear-gradient(135deg, rgba(255, 159, 10, 0.14) 0%, rgba(255, 122, 0, 0.08) 100%);
  border-color: rgba(255, 159, 10, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 159, 10, 0.18);
}
.donate-kofi-block-emoji {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(255, 159, 10, 0.4));
}
.donate-kofi-block-text {
  flex: 1;
  text-align: left;
  min-width: 0;
}
.donate-kofi-block-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 4px;
}
.donate-kofi-block-sub {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}
.donate-kofi-block-arrow {
  font-size: 22px;
  color: var(--orange);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.donate-kofi-block:hover .donate-kofi-block-arrow {
  transform: translateX(4px);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 56px 0 32px;
  font-size: 13px;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
.footer-grid h4 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 16px;
  font-family: var(--font-display);
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-grid a:hover { color: var(--blue); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-display);
}

/* ==========================================================================
   Donate Modal — 2026-07-18 Lance 拍板：台灣綠界 / 國際 Stripe 雙軌
   =========================================================== */
.donate-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.donate-modal[hidden] { display: none; }
.donate-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
}
.donate-modal-panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--card-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  color: var(--ink);
  text-align: center;
}
.donate-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s;
}
.donate-modal-close:hover { background: rgba(255,255,255,0.12); }
.donate-modal-eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.donate-modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--ink);
}
.donate-modal-sub {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 22px;
  font-family: var(--font-display);
}
/* 2026-07-18 #20670 Lance 拍板：兩顆頂部 pill (台灣/國際) + Ko-fi 獨立區塊在下方 */
.donate-region {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  background: var(--card-3);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 20px;
}
.donate-region-btn {
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.donate-region-btn:hover { color: var(--ink); }
.donate-region-btn.active {
  background: linear-gradient(135deg, #ff9f0a 0%, #ff7a00 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 159, 10, 0.35), inset 0 1px 0 rgba(255,255,255,0.18);
}

/* 2026-07-18 #20655 Lance 拍板：上衣版本復原 — donation amounts 兩列 4 顆 */
.donate-amounts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
@media (max-width: 600px) {
  .donate-amounts { grid-template-columns: repeat(2, 1fr); }
}
.donate-amt-btn {
  border: 1px solid var(--line);
  background: var(--card-2);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  padding: 14px;
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.donate-amt-btn:hover {
  border-color: var(--blue);
  background: var(--card-3);
}
.donate-amt-btn:active { transform: scale(0.97); }
.donate-amt-btn.recommended {
  border-color: var(--orange);
  position: relative;
  background: rgba(255,159,10,0.08);
}
.donate-amt-btn.recommended::after {
  content: "✦ 推薦";
  position: absolute;
  top: -8px;
  right: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.donate-confirm {
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.donate-confirm[hidden] { display: none; }
.donate-confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 14px;
}
.donate-confirm-label { color: var(--muted); }
.donate-confirm-val { color: var(--ink); font-weight: 700; }
.donate-confirm-cta {
  margin-top: 4px;
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 14px 16px;
}
.donate-back-link {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.donate-back-link:hover { color: var(--ink); }
.donate-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 18px;
  line-height: 1.55;
  text-align: center;
}
@media (max-width: 480px) {
  .donate-modal-panel { padding: 28px 22px 24px; }
  .donate-modal-title { font-size: 20px; }
  .donate-amt-btn { padding: 12px; font-size: 15px; }
}
/* 原本為 v1 banner 預留的 body padding-bottom 已移除(banner 2026-07-18 Lance 拿掉) */
</path>
