/**
 * 世界盃國旗挑戰 — 遊戲專用樣式（基於 global.css tokens）
 */

body.wc-theme {
  line-height: 1.65;
}

body.wc-theme h1,
body.wc-theme h2,
body.wc-theme h3,
body.wc-theme p:not(.mom-hint) {
  margin: 0;
}

/** 計時進行中：RAF 更新 + 線性過渡，讓指針流暢滑動 */
.linear-ruler--live .linear-ruler__cursor {
  transition: left 0.1s linear;
  will-change: left;
}

.linear-ruler--live .linear-ruler__value {
  transition: left 0.1s linear;
  will-change: left;
}

/* ── 版面 ───────────────────────────────────────────────────────────────── */

.screen {
  display: none;
  min-height: 100vh;
  padding: 56px 16px 24px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.screen.active {
  display: flex;
}

.card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.06);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.06);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-card);
  padding: clamp(24px, 5vw, 48px);
  width: 100%;
  max-width: 640px;
  text-align: center;
  transition: var(--transition-micro);
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  margin-bottom: 16px;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 20px;
  line-height: 1.35;
}

.subtitle {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.65;
}

.hidden {
  display: none !important;
}

/* ── 語言切換 ───────────────────────────────────────────────────────────── */

.lang-switcher {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 100;
  display: flex;
  gap: 4px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 4px;
  box-shadow: var(--glass-shadow);
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition-micro);
}

.lang-btn.active {
  background: var(--color-neon-green);
  color: #fff;
}

body.lang-en {
  font-family: var(--font-sans);
}

/* ── 提示 / 橫幅 ────────────────────────────────────────────────────────── */

body.wc-theme p.mom-hint {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 16px;
  margin-bottom: 40px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-neon-green-dim);
  line-height: 1.75;
}

.challenge-banner {
  background: linear-gradient(135deg, rgba(201, 235, 255, 0.6), rgba(34, 197, 94, 0.12));
  border: 1px solid #bae6fd;
  color: var(--text-primary);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 0.95rem;
}

/* ── 按鈕 ───────────────────────────────────────────────────────────────── */

.btn {
  touch-action: manipulation;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-badge);
  padding: 16px 28px;
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-micro);
  width: 100%;
  max-width: 320px;
}

.btn:hover:not(:disabled) {
  transform: translateY(-2px);
}

.btn:active:not(:disabled) {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  color: #fff;
  background: var(--color-neon-green);
  border: 1px solid rgba(34, 197, 94, 0.4);
  box-shadow: var(--glass-shadow);
  margin-bottom: 16px;
}

.btn-primary:hover:not(:disabled) {
  filter: brightness(1.06);
}

.btn-secondary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-sky), var(--color-sky-dim));
  border: 1px solid rgba(14, 165, 233, 0.4);
  box-shadow: var(--glass-shadow);
  margin-bottom: 16px;
}

.btn-option {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  max-width: none;
  min-height: 56px;
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  box-shadow: none;
  touch-action: manipulation;
}

.btn-option:hover:not(:disabled) {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}

.btn-option.correct {
  background: var(--color-answer-correct-bg);
  border-color: var(--color-answer-correct-border);
  color: var(--color-answer-feedback-text);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-option.wrong {
  background: var(--color-answer-wrong-bg);
  border-color: var(--color-answer-wrong-border);
  color: var(--color-answer-feedback-text);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-option:disabled {
  pointer-events: none;
  cursor: default;
}

.btn-next {
  color: #fff;
  background: var(--color-neon-green);
  border: 1px solid rgba(34, 197, 94, 0.4);
  box-shadow: var(--glass-shadow);
  margin-top: 20px;
  max-width: 280px;
  min-height: 48px;
  position: relative;
  z-index: 5;
  touch-action: manipulation;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: var(--color-neon-green-dim);
  margin-top: 12px;
  box-shadow: none;
}

.btn-outline:hover:not(:disabled) {
  background: rgba(34, 197, 94, 0.08);
}

.btn-back {
  background: transparent;
  border: none;
  color: var(--color-neon-green-dim);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 4px 8px;
  max-width: none;
  width: auto;
  box-shadow: none;
}

.btn-back:hover {
  text-decoration: underline;
  transform: none;
}

.mode-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding-top: 8px;
}

.btn-mode {
  position: relative;
  width: 100%;
  max-width: 360px;
  text-align: left;
  padding: 1.1rem 1.25rem 1rem;
  margin-bottom: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.btn-mode--quick {
  background: linear-gradient(135deg, var(--glass-bg) 55%, var(--color-neon-green-glow) 100%);
  border-color: rgba(34, 197, 94, 0.35);
}

.btn-mode--ultimate {
  background: linear-gradient(135deg, var(--glass-bg) 50%, var(--color-amber-glow) 80%, rgba(236, 72, 153, 0.14) 100%);
  border-color: rgba(236, 72, 153, 0.3);
}

.btn.btn-mode:hover:not(:disabled) {
  transform: scale(1.02);
  background: var(--glass-bg-hover);
  box-shadow:
    0 14px 40px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.btn-mode--quick:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--glass-bg-hover) 55%, rgba(34, 197, 94, 0.22) 100%);
}

.btn-mode--ultimate:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--glass-bg-hover) 50%, var(--color-amber-glow) 80%, rgba(236, 72, 153, 0.2) 100%);
}

.btn.btn-mode:active:not(:disabled) {
  transform: scale(0.98);
}

.mode-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  pointer-events: none;
  white-space: nowrap;
}

.btn-mode--quick .mode-badge {
  background: rgba(110, 231, 183, 0.95);
  color: var(--color-neon-green-dim);
  border: 1px solid rgba(34, 197, 94, 0.45);
}

.btn-mode--ultimate .mode-badge {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.95), rgba(236, 72, 153, 0.9));
  color: #7c2d12;
  border: 1px solid rgba(236, 72, 153, 0.4);
}

.btn-mode__title {
  font-weight: 700;
  font-size: clamp(1rem, 2.8vw, 1.1rem);
  color: var(--text-primary);
  padding-right: 2rem;
}

.btn-mode__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
  font-weight: 400;
}

.game-hud {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.lives-display {
  letter-spacing: 0.05em;
}

.combo-display {
  color: var(--color-neon-magenta);
}

/** 遊戲進行中：隱藏並阻擋殘留廣告 iframe */
body.ad-shield-game iframe {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}

@keyframes restart-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 16px var(--color-neon-green-glow),
      0 8px 28px rgba(34, 197, 94, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.35);
  }

  50% {
    transform: scale(1.04);
    box-shadow:
      0 0 32px rgba(34, 197, 94, 0.5),
      0 12px 40px rgba(34, 197, 94, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.45);
  }
}

#btn-restart.btn-restart {
  position: relative;
  z-index: 5;
  touch-action: manipulation;
  width: 100%;
  max-width: 340px;
  margin: 20px auto 12px;
  padding: 18px 28px;
  background: linear-gradient(135deg, var(--color-neon-green) 0%, var(--color-neon-green-dim) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 800;
  font-size: clamp(1.1rem, 3.5vw, 1.35rem);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.2);
  animation: restart-pulse 2.2s ease-in-out infinite;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

#btn-restart.btn-restart:hover:not(:disabled) {
  animation: none;
  transform: scale(1.06);
  filter: brightness(1.06);
  box-shadow:
    0 0 44px rgba(34, 197, 94, 0.58),
    0 14px 44px rgba(34, 197, 94, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

#btn-restart.btn-restart:active:not(:disabled) {
  animation: none;
  transform: scale(0.95);
  transition: transform 0.08s ease;
  box-shadow:
    0 0 20px rgba(34, 197, 94, 0.4),
    0 4px 16px rgba(34, 197, 94, 0.3),
    inset 0 2px 6px rgba(15, 23, 42, 0.15);
}

.btn-restart__label {
  position: relative;
  z-index: 1;
}

.restart-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: bold;
  line-height: 1.2;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: var(--color-amber-gold);
  border: 1px solid rgba(251, 191, 36, 0.45);
  box-shadow:
    0 2px 10px rgba(15, 23, 42, 0.2),
    0 0 12px rgba(236, 72, 153, 0.25);
}

#screen-end.support-only .restart-badge {
  display: none;
}

#screen-end #btn-restart.btn-restart {
  margin: 16px auto 8px;
}

.btn-support-nav {
  background: transparent;
  border: 1px solid rgba(255, 176, 32, 0.35);
  color: var(--color-amber-gold);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  transition: var(--transition-micro);
  max-width: 320px;
  width: 100%;
}

.btn-support-nav:hover {
  background: rgba(245, 185, 66, 0.1);
}

#screen-end {
  isolation: isolate;
  z-index: 2;
}

#screen-end #share-section,
#screen-end .support-container {
  position: relative;
  z-index: 5;
}

#screen-end .share-grid button,
#screen-end .support-accordion__toggle {
  touch-action: manipulation;
}

#screen-end.support-only #end-game-content,
#screen-end.support-only #share-section {
  display: none;
}

#screen-end.support-only .support-accordion__toggle {
  display: none;
}

#screen-end.support-only .support-accordion__panel {
  max-height: none;
  opacity: 1;
}

#screen-end.support-only .support-accordion__panel-inner {
  padding-top: 8px;
}

#screen-game {
  isolation: isolate;
  z-index: 2;
}

#screen-game .card {
  position: relative;
  z-index: 1;
}

/* ── 遊戲畫面 ───────────────────────────────────────────────────────────── */

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: clamp(0.85rem, 3vw, 1.1rem);
  line-height: 1.5;
  gap: 10px;
}

.game-header-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 0;
  text-align: center;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 0 4px;
}

.score-display {
  color: var(--color-neon-green-dim);
  white-space: nowrap;
  font-family: var(--font-stat);
}

#score-value {
  font-weight: 800;
}

.flag-container {
  min-height: clamp(120px, 28vw, 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0 8px;
}

/** 計時條置於國旗與選項之間，方便餘光追蹤倒數 */
.game-timer-wrapper {
  width: 100%;
  margin: 10px 0 14px;
  padding: 0 4px;
}

.game-timer-wrapper .linear-ruler {
  padding-bottom: 0;
}

.game-timer-wrapper .linear-ruler__meter {
  padding-top: 1.35rem;
}

.game-timer-wrapper .linear-ruler__labels {
  margin-top: 0.4rem;
}

.flag-img {
  width: clamp(140px, 30vw, 220px);
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--glass-border);
}

.flag-error {
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding: 16px;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  position: relative;
  z-index: 2;
}

@media (min-width: 520px) {
  .options-grid {
    gap: 16px;
  }
}

.feedback-text {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  min-height: 1.6em;
}

.feedback-text.timeout {
  color: #ff4757;
  font-weight: 600;
}

/* ── 答題打擊感動畫 ───────────────────────────────────────────────────────── */

@keyframes correct-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.07); }
  65% { transform: scale(0.98); }
  100% { transform: scale(1); }
}

@keyframes wrong-shake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-7px); }
  30% { transform: translateX(7px); }
  45% { transform: translateX(-5px); }
  60% { transform: translateX(5px); }
  75% { transform: translateX(-2px); }
  90% { transform: translateX(2px); }
}

.animate-correct-pop {
  animation: correct-pop 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.animate-wrong-shake {
  animation: wrong-shake 0.48s ease;
}

.flag-container.animate-correct-pop,
.flag-container.animate-wrong-shake {
  transform-origin: center center;
}

/* ── 結束畫面統計 ───────────────────────────────────────────────────────── */

.result-stats {
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-glass);
  padding: 20px 24px;
  margin: 20px 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}

@media (max-width: 480px) {
  .stat-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.result-stats .stat-value {
  font-size: clamp(1.5rem, 5vw, 2rem);
}

.stat-value--new-record {
  color: var(--color-amber-gold);
  text-shadow: 0 0 12px var(--color-amber-glow);
}

.end-rush-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
}

.end-rush-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.end-rush-stat__value {
  font-family: var(--font-stat);
  font-size: clamp(1.1rem, 4vw, 1.35rem);
  font-weight: 800;
  color: var(--color-neon-magenta);
}

.end-milestone {
  margin: 12px 0 4px;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  color: var(--color-neon-green-dim);
  background: linear-gradient(135deg, var(--color-neon-green-glow), rgba(236, 72, 153, 0.08));
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 12px;
}

/* ── 分享區 ─────────────────────────────────────────────────────────────── */

.share-section {
  margin: 20px 0;
  text-align: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 20px 16px 16px;
}

.share-section h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.5;
}

.share-subtitle {
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.65;
  padding: 0 4px;
}

.share-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.55;
}

.share-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 12px;
  justify-items: center;
}

@media (min-width: 480px) {
  .share-grid {
    grid-template-columns: repeat(6, 1fr);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

.btn-share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  max-width: 72px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: var(--glass-bg);
  cursor: pointer;
  transition: var(--transition-micro);
}

.btn-share-icon:hover {
  transform: translateY(-2px);
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}

.btn-share-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.btn-share-icon.share-whatsapp:hover {
  border-color: #25d366;
}

.btn-share-icon.share-twitter:hover {
  border-color: #0f172a;
}

.btn-share-icon.share-facebook:hover {
  border-color: #1877f2;
}

.btn-share-icon.share-line:hover {
  border-color: #06c755;
}

.btn-share-icon.share-copy:hover {
  border-color: var(--color-neon-green);
}

.btn-share-icon.share-image:hover {
  border-color: var(--color-sky);
}

.btn-share-ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 320px;
  margin: 4px auto 0;
  padding: 14px 20px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
  box-shadow: 0 4px 16px rgba(221, 42, 123, 0.35);
  transition: var(--transition-micro);
}

.btn-share-ig:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(221, 42, 123, 0.45);
}

.btn-share-ig:active {
  transform: translateY(0);
}

.btn-share-ig__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn-share-ig__label {
  line-height: 1.2;
}

/* ── 贊助區（手風琴）──────────────────────────────────────────────────── */

.support-container {
  margin: 20px 0 8px;
  text-align: center;
}

.support-accordion {
  background: rgba(255, 251, 235, 0.92);
  border: 1px solid #fde68a;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.support-accordion__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: clamp(0.92rem, 2.8vw, 1.05rem);
  font-weight: 700;
  color: var(--color-amber-gold);
  cursor: pointer;
  text-align: left;
  transition: background 0.25s ease;
}

.support-accordion__toggle:hover {
  background: rgba(245, 185, 66, 0.12);
}

.support-accordion__toggle-text {
  flex: 1;
  line-height: 1.45;
}

.support-accordion__chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-amber-gold);
  border-bottom: 2px solid var(--color-amber-gold);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-top: -4px;
}

.support-accordion.is-open .support-accordion__chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.support-accordion__panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.support-accordion.is-open .support-accordion__panel {
  max-height: 720px;
  opacity: 1;
}

.support-accordion__panel-inner {
  padding: 0 20px 24px;
}

.support-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-amber-gold);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.support-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 560px) {
  .support-options {
    flex-direction: row;
    align-items: stretch;
  }

  .support-option {
    flex: 1;
  }
}

.support-option {
  background: var(--glass-bg);
  border-radius: 16px;
  padding: 20px 16px;
  border: 1px solid var(--glass-border);
}

.support-label {
  font-size: 0.9rem;
  color: var(--color-amber-gold);
  margin-bottom: 14px;
  font-weight: 600;
}

#payme-qr,
#bmc-qr {
  width: 160px;
  height: auto;
  margin: 0 auto 12px;
  border-radius: 12px;
  display: block;
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.support-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.support-link {
  color: #ff6b6b;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.support-link:hover {
  text-decoration: underline;
}

.btn-bmc {
  display: inline-flex;
  background: var(--color-amber-gold);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  max-width: 100%;
  width: auto;
  box-shadow: var(--glass-shadow);
  margin: 0 auto;
}

.btn-bmc:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* ── 雜項 ───────────────────────────────────────────────────────────────── */

.storage-warning {
  color: #ff4757;
  font-size: 0.85rem;
  margin-top: 8px;
}

.copy-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-ink);
  color: #fff;
  border: 1px solid var(--glass-border);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.9rem;
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  box-shadow: var(--glass-shadow);
}

.copy-toast.show {
  opacity: 1;
}
