* {
  box-sizing: border-box;
}

html, body {
  /* 禁用双击缩放，但保留捏合手势（如果需要的话） */
  touch-action: manipulation;
  -ms-touch-action: manipulation;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: linear-gradient(135deg, #fff8f0, #fffbf5);
  color: #333;
}

/* 动画效果 */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

.app {
  max-width: 1120px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  border-left: 1px solid rgba(0, 0, 0, 0.05);
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
}

/* 侧边栏 */

.sidebar {
  width: 240px;
  border-right: 2px solid #ffe4d0;
  background: linear-gradient(180deg, #fff8f0, #fffbf5);
  padding: 12px 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

/* 萝卜装饰 */
.sidebar::after {
  content: "🥕";
  position: absolute;
  bottom: 20px;
  right: 15px;
  font-size: 50px;
  opacity: 0.15;
  pointer-events: none;
}

.sidebar-title {
  margin-bottom: 12px;
  text-align: center;
}

.sidebar-rabbit {
  font-size: 48px;
  margin-bottom: 8px;
  line-height: 1;
}

.sidebar-text {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.theme-btn {
  border: none;
  outline: none;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 18px;
  /* 左侧分类字体 */
  cursor: pointer;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  min-height: 44px;
  /* 适配 iPad，点按区域大一点 */
}

.theme-main {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.theme-name {
  font-weight: 500;
}

.theme-count {
  font-size: 12px;
  opacity: 0.8;
}

.theme-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  opacity: 0.8;
}

.theme-complete-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1f9c5a;
  box-shadow: 0 0 0 2px rgba(31, 156, 90, 0.18);
}

.theme-btn:hover {
  background: rgba(255, 159, 90, 0.2);
  transform: translateY(-1px);
}

.theme-btn.active {
  background: linear-gradient(135deg, #ff9f5a, #ff7f50);
  color: #fff;
  box-shadow: 0 3px 10px rgba(255, 127, 80, 0.3);
}

.theme-btn.active .theme-count {
  opacity: 0.95;
}

/* 彩蛋引导横幅 */
.egg-guide-banner {
  background: linear-gradient(135deg, #ff7f50, #ffd4a3);
  padding: 15px;
  margin: 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(255, 127, 80, 0.4);
  animation: banner-pulse 1.5s ease-in-out infinite;
  border: 3px solid #ff4500;
}

.egg-guide-btn {
  background: linear-gradient(135deg, #ffd4a3, #fff8f0);
  color: #ff4500;
  border: none;
  border-radius: 999px;
  padding: 15px 30px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(255, 159, 90, 0.3);
}

.egg-guide-btn:hover {
  background: linear-gradient(135deg, #fff8f0, #ffedd8);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 159, 90, 0.4);
}

.guide-icon {
  font-size: 28px;
  animation: bounce 1s infinite;
}

.guide-text {
  font-size: 20px;
}

@keyframes banner-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.02);
  }
}

/* 特殊功能菜单 */
.special-menu {
  margin: 12px 0;
  padding: 12px;
  background: linear-gradient(135deg, #fff8f0, #ffedd8);
  border-radius: 16px;
  border: 2px dashed #ff9f5a;
}

.special-menu-btn {
  border: none;
  outline: none;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #ffd4a3, #ffe4c4);
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  transition: all 0.2s ease;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(255, 159, 90, 0.15);
  position: relative;
}

#rabbitParkBtn {
  background: linear-gradient(135deg, #ff9f5a, #ffd4a3) !important;
  box-shadow: 0 4px 12px rgba(255, 159, 90, 0.4) !important;
  border: 3px solid #ff7f50 !important;
  animation: glow 2s ease-in-out infinite alternate !important;
}

@keyframes glow {
  from {
    box-shadow: 0 4px 12px rgba(255, 159, 90, 0.4);
  }
  to {
    box-shadow: 0 6px 20px rgba(255, 99, 71, 0.6);
  }
}

.special-menu-btn:last-child {
  margin-bottom: 0;
}

.hidden-egg {
   font-size: 14px;
   color: #ff4500;
   font-weight: bold;
   animation: pulse 1s ease-in-out infinite;
   background: yellow;
   padding: 2px 6px;
   border-radius: 8px;
   border: 2px solid #ff4500;
   margin-top: 4px;
 }

.special-menu-btn:hover {
  background: linear-gradient(135deg, #ff9f5a, #ff7f50);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 159, 90, 0.3);
}

.special-menu-btn:active {
  transform: translateY(0);
}

.menu-icon {
  font-size: 20px;
}

.menu-text {
  flex: 1;
}

/* 内容区 */

.content {
  flex: 1;
  padding: 16px 18px 24px;
}

.header {
  margin-bottom: 10px;
}

/* 标题 + 花的小游戏按钮同一行 */

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.header-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: center;
}

.header-desc {
  font-size: 13px;
  color: #666;
}

/* 花主题小游戏按钮 */

.theme-game-btn {
  border: none;
  outline: none;
  background: rgba(255, 159, 90, 0.15);
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.05s;
  font-size: 20px;
  min-width: 40px;
  min-height: 40px;
  -webkit-tap-highlight-color: transparent;
}

.theme-game-btn:hover {
  background: rgba(255, 159, 90, 0.25);
  transform: translateY(-0.5px);
}

.theme-game-btn:active {
  transform: translateY(0);
  background: rgba(255, 159, 90, 0.3);
}

/* 图例 */

.legend {
  margin: 10px 0 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  align-items: center;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.02);
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.dot-black {
  background: #999;
}

.dot-pink {
  background: #ff9f5a;
  /* 萝卜橙色 */
}

.dot-green {
  background: #7ec850;
  /* 萝卜叶绿色 */
}

.dot-red {
  background: #ff6b9d;
  /* 柔和粉色 */
}

/* 显示模式条 */

.mode-bar {
  margin: 12px 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mode-label {
  font-size: 13px;
  color: #555;
}

.mode-group {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  padding: 2px;
}

.mode-btn {
  border: none;
  outline: none;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  background: transparent;
  transition: background 0.15s, color 0.15s;
  min-width: 80px;
}

.mode-btn.active {
  background: linear-gradient(135deg, #ff9f5a, #ff7f50);
  color: #fff;
  box-shadow: 0 1px 4px rgba(255, 127, 80, 0.3);
}

/* 列表 */

.poem-list-wrapper {
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 8px 10px 4px;
}

.poem-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.poem-item {
  padding: 10px 6px 10px 4px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: background 0.15s, transform 0.05s;
  border-radius: 12px;
  margin: 1px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  /* iPad 上点按面积 */
}

.poem-item:last-child {
  border-bottom: none;
}

.poem-item:hover {
  background: rgba(255, 240, 220, 0.4);
  transform: translateY(-0.5px);
}

.poem-index {
  width: 32px;
  text-align: right;
  font-size: 13px;
  color: #999;
  flex-shrink: 0;
  padding-top: 2px;
}

.poem-content {
  flex: 1;
  min-width: 0;
}

.poem-sentence {
  font-size: 16px;
  line-height: 1.5;
}

.poem-meta {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}

.poem-eye {
  flex-shrink: 0;
  padding-left: 6px;
  padding-right: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* 眼睛按钮：iPad 上区域大一点 */

.eye-btn {
  border: none;
  background: rgba(0, 0, 0, 0.04);
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.05s;
  font-size: 20px;
  min-width: 40px;
  min-height: 40px;
}

.eye-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: translateY(-0.5px);
}

/* 状态颜色 */

.status-default .poem-sentence {
  color: #222;
}

.status-bomb .poem-sentence {
  color: #ff7ab8;
  /* 粉色 - 炸弹/完全掌握 */
  font-weight: 600;
}

.status-bullet .poem-sentence {
  color: #36b26f;
  /* 绿色 - 子弹/快要掌握 */
  font-weight: 600;
}

.status-unfamiliar .poem-sentence {
  color: #9b59b6;
  /* 紫色 - 不掌握 */
  font-weight: 600;
}

.status-bomb {
  background: linear-gradient(90deg, rgba(255, 122, 184, 0.25), rgba(255, 255, 255, 0));
}

.status-bullet {
  background: linear-gradient(90deg, rgba(54, 178, 111, 0.25), rgba(255, 255, 255, 0));
}

.status-unfamiliar {
  background: linear-gradient(90deg, rgba(155, 89, 182, 0.18), rgba(255, 255, 255, 0));
}

/* 关键字高亮 */

.highlight-word {
  color: #e67e22;
  font-weight: 700;
  background: rgba(230, 126, 34, 0.12);
  border-radius: 4px;
  padding: 0 1px;
}

.hint {
  margin-top: 8px;
  font-size: 12px;
  color: #888;
}

/* Modal 放大浮层 */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-overlay.active {
  display: flex;
}

.modal-dialog {
  max-width: 680px;
  width: 90%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  padding: 18px 20px 16px;
}

/* 小游戏中心模态框 */
.game-center-dialog {
  max-width: 800px;
}

.game-center-content {
  padding: 20px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.game-item {
  border: none;
  outline: none;
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffe4d0, #fff8f0);
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
}

.game-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255, 159, 90, 0.2);
  border-color: #ff9f5a;
}

.game-item:active {
  transform: translateY(0);
}

.game-item-icon {
  font-size: 32px;
  margin-bottom: 8px;
  display: block;
}

.game-item-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.game-item-status {
  font-size: 12px;
  opacity: 0.7;
}

.game-item.available .game-item-status {
  color: #1f9c5a;
  font-weight: 500;
}

.game-item.coming-soon .game-item-status {
  color: #999;
}

/* 兔子乐园模态框 */
.rabbit-park-dialog {
  max-width: 500px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}
.rabbit-park-dialog .modal-title{
  font-size: 20px;
  line-height: 1.6;
  padding: 12px 0;
}

.rabbit-park-content {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.rabbit-park-main {
  text-align: center;
}

.magic-rabbit {
  font-size: 80px;
  margin: 20px 0;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.rabbit-park-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.park-game-area{margin-top:16px;padding:12px;border:2px dashed #ff9f5a;border-radius:12px;background:linear-gradient(135deg,#fff8f0,#ffedd8)}
.park-game-header{font-weight:600;color:#ff7f50;text-align:center;margin-bottom:8px}
.park-game-controls{display:flex;align-items:center;gap:12px;justify-content:center;margin-bottom:10px}
.park-score{font-weight:700;color:#ff7f50}
.harvest-area{position:relative;height:160px;background:#fff;border-radius:12px;border:1px solid rgba(0,0,0,0.08);overflow:hidden}
.harvest-carrot{position:absolute;font-size:28px;cursor:pointer;user-select:none}
.memory-controls{display:flex;align-items:center;gap:12px;justify-content:center;margin-bottom:8px}
.memory-status{text-align:center;font-size:13px;color:#666}
.memory-seq{text-align:center;font-size:24px;min-height:36px;margin:6px 0}
.memory-options{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.memory-option{border:none;outline:none;padding:10px 12px;border-radius:999px;background:#ffe4d0;cursor:pointer}

.park-action-btn {
  border: none;
  outline: none;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #ffd4a3, #ffe4c4);
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(255, 159, 90, 0.15);
}

.park-action-btn:hover {
  background: linear-gradient(135deg, #ff9f5a, #ff7f50);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 159, 90, 0.3);
}

.park-action-btn:active {
  transform: translateY(0);
}

.park-action-btn span {
  font-size: 20px;
}

.park-message {
  margin-top: 20px;
  font-size: 16px;
  color: #666;
  min-height: 30px;
}

/* 兔子变化动画 */
@keyframes rabbitTransform {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.2) rotate(10deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.rabbit-transform {
  animation: rabbitTransform 0.5s ease;
}

/* 彩虹魔法效果 */
@keyframes rainbowGlow {
  0% { filter: hue-rotate(0deg) brightness(1); }
  50% { filter: hue-rotate(180deg) brightness(1.2); }
  100% { filter: hue-rotate(360deg) brightness(1); }
}

.rainbow-effect {
  animation: rainbowGlow 1s ease;
}

/* 惊喜动画 */
@keyframes surprisePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.surprise-effect {
  animation: surprisePulse 0.6s ease;
}

/* 萝卜下落动画 */
@keyframes carrotFall {
  0% {
    transform: translateY(-50px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

.carrot-fall {
  animation: carrotFall 2s ease-in forwards;
}

.modal-close {
  position: absolute;
  right: 10px;
  top: 8px;
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  color: #999;
  padding: 6px 8px;
  border-radius: 999px;
}

.modal-sound {
  position: absolute;
  left: 10px;
  top: 8px;
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  color: #999;
  padding: 6px 8px;
  border-radius: 999px;
}

.modal-sound:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #666;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #666;
}

.modal-title {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 20px;
}

.modal-sentence {
  font-size: 36px;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 15px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-meta {
  font-size: 13px;
  color: #777;
  text-align: center;
}

.modal-actions{
  margin-top:12px;
  display:flex;
  justify-content:center;
  gap:8px;
}
.modal-dialog.alt-font .modal-sentence{
  font-family: "Georgia", "STSong", serif;
}

/* 自适应：iPad / 手机 */

@media (max-width: 768px) {
  .app {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .sidebar-title {
    width: 100%;
  }

  .content {
    padding: 12px 10px 18px;
  }

  .poem-list-wrapper {
    padding: 8px 8px 4px;
  }

  .poem-list {
    grid-template-columns: 1fr;
  }

  .modal-sentence {
    font-size: 22px;
  }

  .sidebar::after {
    font-size: 30px;
    bottom: 10px;
    right: 10px;
  }
}

/* ========== 兔子和萝卜动画 ========== */

/* 兔子跳跃动画 */
@keyframes hop {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.rabbit-hop {
  animation: hop 0.6s ease-in-out;
}

/* 萝卜飘落动画 */
@keyframes fall {
  0% {
    transform: translateY(-50px) rotate(0deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(100px) rotate(360deg);
    opacity: 0;
  }
}

.carrot-fall {
  animation: fall 2s ease-in forwards;
}

/* 脉冲动画 */
@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.pulse {
  animation: pulse 0.5s ease-in-out;
}

/* ========== 萝卜收集系统 ========== */

.carrot-system {
  background: linear-gradient(135deg, #fff8f0, #ffe4d0);
  border: 2px solid #ff9f5a;
  border-radius: 15px;
  padding: 15px 18px;
  margin: 15px 0;
  box-shadow: 0 4px 12px rgba(255, 127, 80, 0.15);
}

.carrot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.carrot-title {
  font-size: 15px;
  font-weight: 600;
  color: #ff7f50;
  display: flex;
  align-items: center;
  gap: 6px;
}

.carrot-count {
  font-size: 22px;
  font-weight: 700;
  color: #ff7f50;
  display: flex;
  align-items: center;
  gap: 6px;
}

.carrot-progress {
  margin: 6px 0;
}

.progress-bar {
  height: 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff9f5a, #ff7f50);
  border-radius: 8px;
  transition: width 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
  color: white;
  font-size: 9px;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.carrot-hint {
  font-size: 11px;
  color: #666;
  margin-top: 5px;
}

/* 成就系统独立区域 */
.achievement-section {
  display: none;
  background: linear-gradient(135deg, #fff8f0, #fffbf5);
  border: 2px solid #ffe4d0;
  border-radius: 15px;
  padding: 15px 18px;
  margin: 15px 0 20px;
  box-shadow: 0 4px 12px rgba(255, 127, 80, 0.1);
}

.achievement-title {
  font-size: 16px;
  font-weight: 600;
  color: #ff7f50;
  margin-bottom: 12px;
  text-align: center;
}

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

.achievement-item {
  background: white;
  padding: 8px 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}

.achievement-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.achievement-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.achievement-info {
  flex: 1;
  min-width: 0;
}

.achievement-name {
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.achievement-desc {
  font-size: 10px;
  color: #999;
  margin-top: 2px;
}

.achievement-item.locked {
  opacity: 0.4;
  filter: grayscale(1);
}

.achievement-item.unlocked {
  background: linear-gradient(135deg, #fff8f0, #ffe4d0);
  border: 1px solid #ff9f5a;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .achievement-list {
    grid-template-columns: 1fr;
  }

  .carrot-system {
    padding: 12px 15px;
  }
}
.egg-guide-banner{display:none !important;}
#gameCenterTopBtn{display:none !important;}
#gameCenterBtn{display:none !important;}
.night-overlay{position:fixed;inset:0;background:rgba(0,0,0,0.35);backdrop-filter:blur(2px);display:none;z-index:900}
.night-overlay.active{display:block}
@keyframes flowerFall{0%{transform:translateY(-60px) rotate(0deg);opacity:0}50%{opacity:1}100%{transform:translateY(100vh) rotate(360deg);opacity:0}}
.flower-fall{animation:flowerFall 2.5s ease-in forwards}
.rabbit-morph{animation:rabbitTransform 0.8s ease}
body.global-rainbow{animation:rainbowGlow 3s ease infinite}
