/* 奶茶快闪 · 顾客活动页 */
.activity-page {
  max-width: 420px;
  margin: 0 auto;
  padding: 1rem 0 2rem;
}
.activity-header { text-align: center; margin-bottom: 1.25rem; }
.activity-shop { font-size: .85rem; color: var(--muted, #666); margin: 0; }
.activity-title { font-size: 1.35rem; margin: .35rem 0; }
.activity-sub { color: var(--muted, #666); margin: 0; font-size: .95rem; }
.activity-tabs {
  display: flex; gap: .5rem; margin-bottom: 1rem;
}
.activity-tab {
  flex: 1; padding: .6rem; border: 1px solid #ddd; background: #fff;
  border-radius: 8px; cursor: pointer;
}
.activity-tab.is-active {
  border-color: #ffc300; background: #fff9e6; font-weight: 600;
}
.draw-wheel-wrap { text-align: center; padding: 2rem 1rem; }
.btn-draw { font-size: 1.1rem; padding: .85rem 2rem; border-radius: 999px; }
.draw-result { font-size: 1.25rem; font-weight: 700; margin-top: 1rem; color: #c45c00; }
.wish-form label { display: block; margin-bottom: .75rem; }
.wish-form textarea { width: 100%; min-height: 80px; }
.wish-hot { margin: 1rem 0; }
.wish-hot .tag {
  display: inline-block; margin: .15rem; padding: .2rem .5rem;
  background: #f5f5f5; border-radius: 999px; font-size: .85rem;
}
.wish-list { list-style: none; padding: 0; margin: 0; }
.wish-list li {
  padding: .65rem 0; border-bottom: 1px solid #eee; font-size: .92rem;
}
.activity-disclaimer {
  font-size: .72rem; color: #999; margin-top: 2rem; line-height: 1.5;
}
.privacy-modal {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  display: flex; align-items: center; justify-content: center; z-index: 100;
  padding: 1rem;
}
.privacy-modal-inner {
  background: #fff; border-radius: 12px; padding: 1.25rem; max-width: 360px;
}
.rules-dialog { border: none; border-radius: 12px; padding: 1rem; max-width: 90vw; }
.rules-text { white-space: pre-wrap; font-size: .85rem; }
@media (prefers-color-scheme: dark) {
  .activity-tab { background: #222; border-color: #444; color: #eee; }
  .activity-tab.is-active { background: #3d3200; }
  .wish-hot .tag { background: #333; }
  .wish-list li { border-color: #333; }
  .privacy-modal-inner { background: #1e1e1e; color: #eee; }
  .vote-option-btn { background: #222; border-color: #444; color: #eee; }
  .vote-bar-track { background: #333; }
}

.vote-title { font-size: 1.05rem; margin: 0 0 .35rem; text-align: center; }
.vote-hint { text-align: center; font-size: .85rem; margin-bottom: 1rem; }
.vote-options { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; }
.vote-option-btn {
  display: flex; align-items: center; gap: .65rem;
  padding: .75rem 1rem; border: 2px solid #eee; border-radius: 12px;
  background: #fff; cursor: pointer; text-align: left; font-size: 1rem;
}
.vote-option-btn.is-voted { border-color: #ffc300; background: #fff9e6; font-weight: 600; }
.vote-option-btn:disabled:not(.is-voted) { opacity: .45; cursor: not-allowed; }
.vote-option-emoji { font-size: 1.4rem; }
.vote-results { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed #ddd; }
.vote-results-head { font-size: .9rem; margin: 0 0 .75rem; }
.vote-bar-row {
  display: grid; grid-template-columns: 1fr 2fr auto; gap: .5rem;
  align-items: center; margin-bottom: .5rem; font-size: .85rem;
}
.vote-bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vote-bar-track { height: 8px; background: #eee; border-radius: 999px; overflow: hidden; }
.vote-bar-fill { height: 100%; background: linear-gradient(90deg, #ffc300, #ff9500); border-radius: 999px; }
.vote-bar-pct { min-width: 2.5rem; text-align: right; color: #666; }
.vote-msg { text-align: center; color: #c45c00; font-weight: 600; margin: .5rem 0; }
