/* ============================================================
 * 数字花园 · 樱花奶白皮肤
 * 覆盖原版 2048 的木质暖棕配色，改为柔和粉调（女性向）
 * 加载顺序：必须在 style/main.css 之后
 * ============================================================ */

html, body {
  background: linear-gradient(165deg, #fff8fa 0%, #fdeef2 55%, #f7f2ff 100%) !important;
  background-attachment: fixed !important;
}

body {
  color: #6b4a54 !important;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif !important;
}

/* 标题 */
.heading .title {
  color: #8c4a5b !important;
  font-weight: 800 !important;
  letter-spacing: 1px !important;
}

/* 分数区 */
.scores-container .score-container,
.scores-container .best-container {
  background: #eccdd4 !important;
  color: #6b4a54 !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
}
.score-container:after,
.best-container:after {
  color: #a1737f !important;
}

/* 按钮 */
.restart-button,
.retry-button,
.keep-playing-button {
  background: #eaa7b8 !important;
  color: #fff !important;
  border-radius: 11px !important;
  border: none !important;
  box-shadow: 0 3px 12px rgba(217, 143, 158, .32) !important;
  font-weight: 600 !important;
  letter-spacing: .5px !important;
}
.restart-button:hover,
.retry-button:hover,
.keep-playing-button:hover {
  background: #e295a9 !important;
}

/* 说明文字 */
.game-intro p,
.game-explanation,
.above-game {
  color: #8a6b74 !important;
}

/* 棋盘 */
.game-container {
  background: #f3dde3 !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 26px rgba(200, 140, 155, .16) !important;
}
.grid-cell {
  background: rgba(255, 255, 255, .58) !important;
  border-radius: 10px !important;
}

/* 方块 */
.tile-inner {
  border-radius: 10px !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(190, 130, 145, .16) !important;
}

.tile-2 .tile-inner     { background: #fbeaf0 !important; color: #8c5a66 !important; }
.tile-4 .tile-inner     { background: #f9dde4 !important; color: #8c5a66 !important; }
.tile-8 .tile-inner     { background: #f6cbd6 !important; color: #fff !important; }
.tile-16 .tile-inner    { background: #f2b3c4 !important; color: #fff !important; }
.tile-32 .tile-inner    { background: #ec9bb1 !important; color: #fff !important; }
.tile-64 .tile-inner    { background: #e07f9c !important; color: #fff !important; }
.tile-128 .tile-inner   { background: #d96a8b !important; color: #fff !important; }
.tile-256 .tile-inner   { background: #cf5c80 !important; color: #fff !important; }
.tile-512 .tile-inner   { background: #c24d73 !important; color: #fff !important; }
.tile-1024 .tile-inner  { background: #b03e66 !important; color: #fff !important; }
.tile-2048 .tile-inner,
.tile-super .tile-inner { background: #8c4a5b !important; color: #fff !important; }

/* 结算浮层 */
.game-message {
  background: rgba(255, 247, 249, .95) !important;
  border-radius: 16px !important;
}
.game-message p {
  color: #8c4a5b !important;
  font-weight: 700 !important;
}
.game-message.game-won {
  background: rgba(255, 245, 248, .96) !important;
}
