* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #dde3ec;
  overflow: hidden;
  user-select: none;
}

/* ===== 全屏地图 ===== */
.map-fullscreen {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  object-fit: cover;
  display: block;
  z-index: 0;
}

/* ===== 引导文字 ===== */
.guide-text {
  position: fixed;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 500;
  color: rgba(50, 50, 50, 0.8);
  text-align: center;
  letter-spacing: 1px;
  z-index: 80;
  pointer-events: none;
  white-space: nowrap;
  display: none;
}
.guide-text.active { display: block; }

/* ===== 顶部悬浮 ===== */
.topbar-float {
  position: fixed;
  top: 16px; left: 16px;
  z-index: 50;
}

.topbar-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 40px;
  padding: 8px 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 18px rgba(0,0,0,0.14);
  white-space: nowrap;
}

.topbar-title {
  font-size: clamp(13px, 1.8vw, 20px);
  font-weight: 900;
  color: #111;
  letter-spacing: 2px;
}

.topbar-divider { font-size: 16px; color: #bbb; font-weight: 300; }

.topbar-stat {
  font-size: clamp(11px, 1.4vw, 16px);
  font-weight: 700;
  color: #333;
  letter-spacing: 1px;
}

.topbar-stat span { color: #e6a800; font-weight: 900; }

/* ===== 右上角进度条 ===== */
.right-progress {
  position: fixed;
  top: 16px; right: 16px;
  z-index: 70;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 10px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 18px rgba(0,0,0,0.14);
  min-width: 185px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rp-label {
  font-size: 13px;
  font-weight: 800;
  color: #333;
  letter-spacing: 1px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* 小星星图标 */
.rp-star {
  display: inline-block;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s;
}
.rp-star.active {
  opacity: 1;
  animation: star-bounce 0.6s ease-in-out infinite;
}
@keyframes star-bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-3px) scale(1.2); }
}

.rp-track {
  width: 100%; height: 9px;
  background: rgba(0,0,0,0.1);
  border-radius: 5px;
  overflow: hidden;
}

.rp-fill {
  height: 100%;
  width: 0%;
  border-radius: 5px;
  transition: width 0.5s ease, background 0.5s ease;
}

/* 呼吸/脉动动画 */
.rp-fill.pulsing {
  animation: progress-breathe 0.9s ease-in-out infinite alternate;
}
@keyframes progress-breathe {
  from { opacity: 0.6; filter: brightness(1); }
  to   { opacity: 1;    filter: brightness(1.4); }
}

/* ===== 5个园区名字 ===== */
.park-label {
  position: fixed;
  transform: translate(-50%, -50%);
  z-index: 10;
  padding: 5px 12px;
  border-radius: 10px;
  border: 2.5px solid transparent;
  transition: all 0.4s ease;
}

.park-label-text {
  display: block;
  font-size: clamp(12px, 1.5vw, 18px);
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 2px;
  white-space: nowrap;
  text-shadow: 0 0 5px rgba(0,0,0,0.55), 0 0 12px rgba(0,0,0,0.3);
  pointer-events: none;
  transition: all 0.4s ease;
}

/* 已解锁但未满员：金色发光边框 */
.park-label.unlocked {
  cursor: pointer;
  border: 2.5px solid #FFD700;
  background: rgba(255, 215, 0, 0.15);
  box-shadow:
    0 0 16px rgba(255, 215, 0, 0.5),
    0 0 32px rgba(255, 215, 0, 0.25),
    inset 0 0 12px rgba(255, 215, 0, 0.1);
  animation: unlocked-glow 2.5s ease-in-out infinite alternate;
}
@keyframes unlocked-glow {
  from { box-shadow: 0 0 12px rgba(255,215,0,0.4), 0 0 24px rgba(255,215,0,0.2), inset 0 0 8px rgba(255,215,0,0.08); }
  to   { box-shadow: 0 0 24px rgba(255,215,0,0.7), 0 0 48px rgba(255,215,0,0.35), inset 0 0 16px rgba(255,215,0,0.15); }
}
.park-label.unlocked .park-label-text {
  color: #FFD700;
  text-shadow: 0 0 5px rgba(0,0,0,0.6), 0 0 14px rgba(255,215,0,0.6);
}

/* 已满员（100只）：金黄 + 放大 */
.park-label.park-complete {
  cursor: pointer;
  border: 2.5px solid #FFD700;
  background: rgba(255, 215, 0, 0.25);
  box-shadow:
    0 0 20px rgba(255, 215, 0, 0.7),
    0 0 40px rgba(255, 215, 0, 0.4),
    0 0 60px rgba(255, 215, 0, 0.2);
  animation: complete-glow 2s ease-in-out infinite alternate;
}
@keyframes complete-glow {
  from { box-shadow: 0 0 16px rgba(255,215,0,0.6), 0 0 32px rgba(255,215,0,0.3); }
  to   { box-shadow: 0 0 32px rgba(255,215,0,0.9), 0 0 64px rgba(255,215,0,0.5); }
}
.park-label-text.label-complete {
  color: #FFD700 !important;
  text-shadow: 0 0 8px rgba(0,0,0,0.7), 0 0 20px rgba(255,215,0,0.8) !important;
  transform: scale(1.15);
  display: inline-block;
}

/* 解锁中（进度累积时） */
.park-label.unlocking {
  border: 2.5px solid #FFD700;
  border-radius: 8px;
  animation: breathe-glow 1.3s ease-in-out infinite alternate;
}
@keyframes breathe-glow {
  from { box-shadow: 0 0 8px 3px rgba(255,215,0,0.4); }
  to   { box-shadow: 0 0 28px 8px rgba(255,215,0,0.9); }
}

#card-0 { top: 15.6%; left: 49.7%; }
#card-1 { top: 29.9%; left: 75.4%; }
#card-2 { top: 72.0%; left: 69.4%; }
#card-3 { top: 69.2%; left: 28.3%; }
#card-4 { top: 29.9%; left: 24.4%; }

/* ===== 特写视图 ===== */
.view-closeup {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  overflow: hidden;
}
.view-closeup.active { display: flex; }

.closeup-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.closeup-park-name {
  position: absolute;
  top: 7%; left: 50%;
  transform: translateX(-50%);
  font-size: clamp(24px, 4vw, 52px);
  font-weight: 900;
  color: white;
  text-shadow:
    -2px -2px 0 rgba(0,0,0,0.7),
     2px -2px 0 rgba(0,0,0,0.7),
    -2px  2px 0 rgba(0,0,0,0.7),
     2px  2px 0 rgba(0,0,0,0.7),
     0 0 20px rgba(0,0,0,0.5);
  letter-spacing: 8px;
  white-space: nowrap;
  z-index: 5;
  pointer-events: none;
}

/* ===== 动物 ===== */
.animal {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 8;
  object-fit: cover;
}

.animal.sway  { animation: sway  2.5s ease-in-out infinite; }
.animal.float { animation: float 2.0s ease-in-out infinite; }

@keyframes sway {
  0%, 100% { transform: translate(calc(-50% - 5px), -50%); }
  50%       { transform: translate(calc(-50% + 5px), -50%); }
}
@keyframes float {
  0%, 100% { transform: translate(-50%, calc(-50% - 4px)); }
  50%       { transform: translate(-50%, calc(-50% + 4px)); }
}

/* ===== 彩带 ===== */
.confetti-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 10px; height: 16px;
  top: -20px;
  border-radius: 2px;
  animation: confetti-fall linear forwards;
}
@keyframes confetti-fall {
  0%   { transform: translateY(0) rotate(0deg) translateX(0); opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(115vh) rotate(720deg) translateX(var(--drift)); opacity: 0; }
}

/* 气球 */
.balloon {
  position: absolute;
  width: 28px; height: 34px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  top: -50px;
  opacity: 0.85;
  animation: balloon-rise linear forwards;
}
.balloon::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid inherit;
}
@keyframes balloon-rise {
  0%   { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0.85; }
  50%  { transform: translateY(-50vh) translateX(20px) rotate(10deg); opacity: 0.85; }
  100% { transform: translateY(110vh) translateX(-10px) rotate(-5deg); opacity: 0; }
}

/* 星星爆炸 */
.star-burst {
  position: absolute;
  width: 12px; height: 12px;
  background: #FFD700;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: star-pop ease-out forwards;
  pointer-events: none;
}
@keyframes star-pop {
  0%   { transform: scale(0) rotate(0deg); opacity: 1; }
  50%  { transform: scale(1.5) rotate(180deg); opacity: 1; }
  100% { transform: scale(0.5) rotate(360deg); opacity: 0; }
}

/* ===== 过渡页 ===== */
.transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.transition-overlay.active { display: flex; }

.transition-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a3e 0%, #2d1b69 40%, #f09819 100%);
  animation: transition-bg-pulse 1s ease-in-out infinite alternate;
}
@keyframes transition-bg-pulse {
  from { filter: brightness(1); }
  to   { filter: brightness(1.15); }
}

/* 拉花横幅 */
.transition-banners {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}
.banner-strip {
  height: 28px;
  background: linear-gradient(90deg, #FF6B6B, #FFD93D, #51cf66, #74B9FF, #A29BFE, #FD79A8);
  background-size: 200% 100%;
  animation: banner-slide 2s linear infinite;
}
.banner-strip:nth-child(2) { animation-direction: reverse; animation-duration: 3s; }
@keyframes banner-slide {
  from { background-position: 0% 0%; }
  to   { background-position: 200% 0%; }
}

.transition-title {
  position: relative;
  z-index: 10;
  font-size: clamp(32px, 6vw, 72px);
  font-weight: 900;
  color: #FFFFFF;
  text-align: center;
  letter-spacing: 6px;
  line-height: 1.4;
  text-shadow:
    0 0 20px rgba(255,215,0,0.8),
    0 0 40px rgba(255,215,0,0.5),
    0 4px 12px rgba(0,0,0,0.4);
  animation: title-zoom 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes title-zoom {
  from { transform: scale(0.3); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.transition-subtitle {
  position: relative;
  z-index: 10;
  margin-top: 16px;
  font-size: clamp(16px, 2.5vw, 28px);
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 4px;
  animation: subtitle-in 0.5s ease-out 0.3s both;
}
@keyframes subtitle-in {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}

/* 过渡页底部散落的小装饰 */
.transition-deco {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(255,215,0,0.3), transparent);
}

/* ===== 金光 ===== */
@keyframes gold-flash {
  0%   { opacity: 0; transform: scale(0.8); }
  20%  { opacity: 1; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.6); }
}
@keyframes grand-flash {
  0%   { opacity: 0; }
  15%  { opacity: 1; }
  60%  { opacity: 0.8; }
  100% { opacity: 0; }
}
@keyframes celebration-title {
  0%   { transform: translate(-50%, -50%) scale(0.3); opacity: 0; }
  25%  { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
  70%  { transform: translate(-50%, -50%) scale(1);   opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}

/* ===== 祝贺 ===== */
.congrats-toast {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: white;
  font-size: clamp(18px, 3vw, 34px);
  font-weight: 900;
  padding: 16px 40px;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(255,165,0,0.5);
  z-index: 300;
  text-align: center;
  letter-spacing: 2px;
  animation: toast-in 0.5s ease-out, toast-out 0.5s ease-in 2.2s forwards;
  white-space: nowrap;
}
@keyframes toast-in {
  from { transform: translate(-50%, -50%) scale(0.4); opacity: 0; }
  to   { transform: translate(-50%, -50%) scale(1);   opacity: 1; }
}
@keyframes toast-out {
  from { transform: translate(-50%, -50%) scale(1);   opacity: 1; }
  to   { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}

.fullhouse-toast {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #51cf66, #1dd1a1);
  color: white;
  font-size: clamp(18px, 3.2vw, 38px);
  font-weight: 900;
  padding: 20px 50px;
  border-radius: 60px;
  box-shadow: 0 10px 40px rgba(29,209,161,0.5);
  z-index: 300;
  text-align: center;
  letter-spacing: 3px;
  animation: toast-in 0.5s ease-out, toast-out 1s ease-in 5s forwards;
  white-space: nowrap;
}

/* ===== 全园大结局 ===== */
.grand-toast {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 40%, #FF6B6B 70%, #A29BFE 100%);
  color: white;
  font-size: clamp(22px, 4vw, 52px);
  font-weight: 900;
  padding: 28px 60px;
  border-radius: 70px;
  box-shadow:
    0 0 60px rgba(255,215,0,0.6),
    0 0 120px rgba(255,165,0,0.3),
    0 20px 60px rgba(0,0,0,0.3);
  z-index: 300;
  text-align: center;
  line-height: 1.6;
  letter-spacing: 3px;
  animation: grand-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
             grand-pulse 3s ease-in-out 0.8s infinite;
  white-space: nowrap;
}
@keyframes grand-in {
  from { transform: translate(-50%, -50%) scale(0.2); opacity: 0; }
  to   { transform: translate(-50%, -50%) scale(1);   opacity: 1; }
}
@keyframes grand-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    box-shadow: 0 0 60px rgba(255,215,0,0.6), 0 0 120px rgba(255,165,0,0.3), 0 20px 60px rgba(0,0,0,0.3); }
  50%       { transform: translate(-50%, -50%) scale(1.04); box-shadow: 0 0 80px rgba(255,215,0,0.8), 0 0 160px rgba(255,165,0,0.5), 0 20px 60px rgba(0,0,0,0.3); }
}

/* ===== 底部悬浮 ===== */
.bottombar-left   { position: fixed; bottom: 20px; left:   20px; z-index: 100; }
.bottombar-center { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 100; }
.bottombar-right  {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
}

/* 右下角按钮容器 - 胶囊形，参考左边 ctrl-pill 样式 */
.right-pill {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 40px;
  padding: 6px 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 16px rgba(0,0,0,0.14);
  gap: 0;
}

/* 分隔线 */
.right-pill-sep {
  width: 1px;
  height: 20px;
  background: rgba(0,0,0,0.1);
  margin: 0 4px;
  flex-shrink: 0;
}

/* 右下角通用按钮样式 */
.right-btn {
  background: transparent;
  border: none;
  color: #555;
  padding: 7px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
  white-space: nowrap;
  letter-spacing: 0.5px;
}
.right-btn:hover {
  background: rgba(0,0,0,0.07);
  color: #333;
}
.right-btn:active {
  background: rgba(0,0,0,0.1);
}

/* 重置按钮 - 红色 */
.right-btn-reset {
  color: #cc3333;
}
.right-btn-reset:hover {
  background: rgba(255, 235, 238, 0.9);
  color: #cc3333;
}
.right-btn-reset:active {
  background: rgba(255, 200, 200, 0.9);
}

/* ===== 建议弹窗 ===== */
.suggest-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
}
.suggest-overlay.active { display: flex; }

.suggest-modal {
  background: #fff;
  border-radius: 20px;
  padding: 28px 28px 22px;
  width: 320px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.suggest-title {
  font-size: 17px;
  font-weight: 900;
  color: #333;
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.suggest-hint {
  font-size: 12px;
  color: #999;
  text-align: center;
  margin-bottom: 14px;
}

.suggest-textarea {
  width: 100%;
  height: 110px;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  font-family: inherit;
  color: #333;
  resize: none;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.suggest-textarea:focus {
  border-color: #74b9ff;
}
.suggest-textarea::placeholder {
  color: #bbb;
}

.suggest-contact {
  font-size: 11px;
  color: #aaa;
  margin-top: 8px;
  margin-bottom: 16px;
}

.suggest-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.suggest-btn-cancel {
  background: rgba(0,0,0,0.06);
  border: none;
  color: #666;
  padding: 10px 28px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.suggest-btn-cancel:hover { background: rgba(0,0,0,0.1); }

.suggest-btn-send {
  background: linear-gradient(135deg, #74b9ff, #a29bfe);
  border: none;
  color: #111;
  padding: 10px 28px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 1px;
  transition: opacity 0.2s, transform 0.1s;
  box-shadow: 0 3px 12px rgba(116,185,255,0.35);
}
.suggest-btn-send:hover { opacity: 0.88; transform: scale(1.03); }
.suggest-btn-send:active { transform: scale(0.98); }
.suggest-btn-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.suggest-toast {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #555;
  margin-top: 12px;
  height: 18px;
  transition: opacity 0.3s;
}
.suggest-toast.success { color: #2ecc71; }
.suggest-toast.error   { color: #e74c3c; }

.ctrl-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 40px;
  padding: 9px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 16px rgba(0,0,0,0.14);
  white-space: nowrap;
}

.pill-label { font-size: 12px; font-weight: 700; color: #333; letter-spacing: 1px; }
.pill-sep   { color: #ccc; font-size: 14px; margin: 0 2px; }

.pill-select {
  background: rgba(255,255,255,0.5);
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  color: #111;
  font-size: 12px; font-weight: 700;
  padding: 3px 8px;
  cursor: pointer; outline: none;
  font-family: inherit;
}
.pill-select option { background: #fff; color: #111; }

.vol-bar-track {
  width: 80px; height: 7px;
  background: rgba(0,0,0,0.1);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
}

.vol-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #51cf66, #fcc419, #ff6b6b);
  border-radius: 4px;
  transition: width 0.1s;
}

.vol-value { font-size: 13px; font-weight: 700; color: #333; min-width: 20px; }

.btn-big {
  background: linear-gradient(135deg, #74b9ff, #a29bfe);
  color: #111;
  border: none;
  padding: 13px 42px;
  border-radius: 40px;
  font-size: clamp(14px, 1.8vw, 19px);
  font-weight: 900;
  letter-spacing: 3px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(116,185,255,0.4);
  font-family: inherit;
  white-space: nowrap;
}
.btn-big:hover  { opacity: 0.88; transform: scale(1.04); }
.btn-big:active { transform: scale(0.97); }
.btn-big.active {
  background: linear-gradient(135deg, #ff6b6b, #ff8787);
  box-shadow: 0 4px 18px rgba(255,107,107,0.4);
}

.btn-icon {
  background: rgba(255,255,255,0.88);
  border: 1.5px solid rgba(0,0,0,0.1);
  color: #333;
  padding: 9px 16px;
  border-radius: 20px;
  font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
  font-family: inherit;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
  white-space: nowrap;
}
.btn-icon:hover { background: rgba(255,255,255,0.95); border-color: rgba(0,0,0,0.18); }
.btn-danger    { color: #cc3333; border-color: rgba(200,60,60,0.35); }
.btn-danger:hover { background: #fff0f0; border-color: #cc3333; color: #cc3333; }

/* ===== 暂停面板 ===== */
.pause-panel, .completed-panel {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 250;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 120px;
}
.pause-panel.active, .completed-panel.active { display: flex; }

.pause-panel-inner {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 28px 36px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  min-width: 300px;
}

.pause-panel-title {
  font-size: 20px;
  font-weight: 900;
  color: #333;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.pause-panel-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pause-btn {
  background: rgba(255,255,255,0.7);
  border: 2px solid rgba(0,0,0,0.12);
  color: #333;
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
  font-family: inherit;
  letter-spacing: 1px;
}
.pause-btn:hover { background: rgba(255,255,255,0.9); border-color: rgba(0,0,0,0.2); }

.pause-btn-primary {
  background: linear-gradient(135deg, #74b9ff, #a29bfe);
  color: #111;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(116,185,255,0.35);
}

.pause-btn-primary:hover { opacity: 0.88; transform: scale(1.02); }
