/* ============================================================
   海拉鲁象棋 · 明亮照片主题
   默认启用；加 ?classic=1 可回到原来的像素/手绘版。
   本文件只做覆盖，不修改 css/style.css，方便随时回退。
   ============================================================ */

html:not(.theme-classic) {
  --bg-0: #eaf6f1;
  --bg-1: #e2f2ec;
  --bg-2: #f7f3e6;
  --panel: rgba(255, 253, 247, .94);
  --panel-2: rgba(255, 249, 237, .9);
  --panel-3: rgba(253, 240, 212, .9);
  --ink: #1f3a36;
  --ink-soft: #48625c;
  --muted: #788d86;
  --gold: #c89430;
  --gold-bright: #e8b95a;
  --gold-deep: #96661c;
  --shadow: 0 18px 44px rgba(34, 58, 46, .18);
}

/* ---------------- 全屏壁纸 ---------------- */
html:not(.theme-classic) .world-bg {
  background: #dcefe9;
}
html:not(.theme-classic) .world-bg > * { display: none !important; }

html:not(.theme-classic) .world-bg::before {
  content: "";
  position: absolute;
  inset: -2%;
  top: -2%;
  right: -2%;
  bottom: -2%;
  left: -2%;
  width: auto;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  background: url("../assets/wallpapers/wall-home.jpg") center / cover no-repeat;
  filter: saturate(1.06) brightness(1.02);
  transform: scale(1.02);
  animation: photoDrift 46s ease-in-out infinite alternate;
  will-change: transform;
}
html:not(.theme-classic) .world-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: auto;
  min-height: 0;
  border-radius: 0;
  box-shadow: none;
  filter: none;
  opacity: 1;
  animation: none;
  background:
    radial-gradient(130% 90% at 50% 6%, rgba(255, 255, 255, .14), transparent 58%),
    linear-gradient(180deg,
      rgba(255, 253, 246, .12) 0%,
      rgba(255, 253, 246, .2) 42%,
      rgba(255, 250, 238, .46) 100%);
}
@keyframes photoDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.075) translate3d(-1.2%, -1%, 0); }
}

/* 每个页面用不同的海拉鲁区域 */
html:not(.theme-classic) body[data-screen="home"] .world-bg::before { background-image: url("../assets/wallpapers/wall-home.jpg"); }
html:not(.theme-classic) body[data-screen="adventure"] .world-bg::before { background-image: url("../assets/wallpapers/wall-field.jpg"); }
html:not(.theme-classic) body[data-screen="game"] .world-bg::before {
  background-image: url("../assets/wallpapers/wall-night.jpg");
  filter: blur(1.2px) saturate(.94) brightness(1.04);
}
html:not(.theme-classic) body[data-screen="result"] .world-bg::before { background-image: url("../assets/wallpapers/wall-castle-dusk.jpg"); }
html:not(.theme-classic) body[data-screen="collection"] .world-bg::before { background-image: url("../assets/wallpapers/wall-forest.jpg"); }
html:not(.theme-classic) body[data-screen="badges"] .world-bg::before { background-image: url("../assets/wallpapers/wall-snow.jpg"); }
html:not(.theme-classic) body[data-screen="parent"] .world-bg::before { background-image: url("../assets/wallpapers/wall-field.jpg"); }

html:not(.theme-classic) body[data-screen="game"] .world-bg::after {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .1), transparent 55%),
    linear-gradient(180deg, rgba(255, 253, 246, .24) 0%, rgba(255, 252, 244, .34) 48%, rgba(255, 250, 238, .58) 100%);
}
html:not(.theme-classic) body[data-screen="result"] .world-bg::after {
  background:
    radial-gradient(120% 90% at 82% 0%, rgba(255, 214, 140, .18), transparent 58%),
    linear-gradient(180deg, rgba(255, 251, 240, .2) 0%, rgba(255, 248, 232, .42) 60%, rgba(255, 246, 226, .68) 100%);
}

/* ---------------- 顶栏 / 底部导航 ---------------- */
html:not(.theme-classic) .topbar {
  background: linear-gradient(180deg, rgba(255, 253, 247, .9), rgba(255, 253, 247, .42) 72%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
  backdrop-filter: blur(12px) saturate(1.08);
}
html:not(.theme-classic) .bottom-nav {
  background: rgba(255, 253, 247, .9);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  border-color: rgba(176, 124, 38, .36);
  box-shadow: 0 14px 34px rgba(28, 52, 40, .22), inset 0 1px 0 rgba(255, 255, 255, .92);
}
html:not(.theme-classic) .bottom-nav button.active {
  background: linear-gradient(180deg, #fff0c8, #ffe2a0);
  box-shadow: inset 0 0 0 1px rgba(200, 148, 48, .5), 0 3px 0 rgba(150, 102, 28, .14);
}

/* 页面标题条：压在照片上也清楚 */
html:not(.theme-classic) .page-head {
  padding: 12px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 253, 247, .84), rgba(255, 250, 238, .66));
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid rgba(176, 124, 38, .26);
  box-shadow: 0 10px 26px rgba(32, 56, 44, .12), inset 0 1px 0 rgba(255, 255, 255, .94);
}
html:not(.theme-classic) .page-head h2 {
  color: #0f4a54;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .85);
}
html:not(.theme-classic) .page-sub { color: #4a6660; }
html:not(.theme-classic) .stars-total {
  background: rgba(255, 253, 247, .92);
  border-color: rgba(176, 124, 38, .36);
  box-shadow: 0 4px 12px rgba(32, 56, 44, .1);
}
html:not(.theme-classic) .mode-tag {
  color: #8a5c14;
  border-color: rgba(184, 134, 47, .4);
  background: linear-gradient(180deg, rgba(255, 241, 198, .9), rgba(255, 226, 160, .8));
}

/* ---------------- 玻璃纸面板 ---------------- */
html:not(.theme-classic) .panel,
html:not(.theme-classic) .mode-card,
html:not(.theme-classic) .piece-card,
html:not(.theme-classic) .result-hero,
html:not(.theme-classic) .result-grid .panel,
html:not(.theme-classic) .player-panel,
html:not(.theme-classic) .coach-strip,
html:not(.theme-classic) .modal {
  background-color: rgba(255, 253, 247, .9);
  background-image:
    radial-gradient(130% 120% at 100% 0%, rgba(255, 240, 196, .26), transparent 62%),
    linear-gradient(180deg, rgba(255, 254, 250, .95), rgba(255, 248, 235, .87));
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
  border-color: rgba(176, 124, 38, .34);
  box-shadow: 0 16px 40px rgba(32, 56, 44, .18), inset 0 1px 0 rgba(255, 255, 255, .95);
}

html:not(.theme-classic) .badge-card {
  background: rgba(255, 253, 247, .78);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  backdrop-filter: blur(14px) saturate(1.08);
  border-color: rgba(176, 124, 38, .26);
}
html:not(.theme-classic) .badge-card.earned {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(255, 222, 140, .34), transparent 62%),
    linear-gradient(180deg, rgba(255, 253, 245, .94), rgba(255, 241, 209, .9));
  border-color: rgba(200, 148, 48, .55);
}

/* 冒险关卡保留各地形颜色，但换成半透明玻璃 */
html:not(.theme-classic) .level-card {
  background:
    radial-gradient(260px 170px at 88% 0%, var(--biome, rgba(144, 214, 240, .35)), transparent 72%),
    linear-gradient(180deg, rgba(255, 254, 251, .9), rgba(255, 247, 232, .84));
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
  backdrop-filter: blur(16px) saturate(1.08);
  border-color: rgba(176, 124, 38, .3);
}
html:not(.theme-classic) .level-card::before { opacity: .32; }
/* 未解锁关卡也保持可读，不用整块变灰 */
html:not(.theme-classic) .level-card.locked {
  opacity: .94;
  filter: saturate(.85) grayscale(.1);
  background:
    radial-gradient(260px 170px at 88% 0%, var(--biome, rgba(144, 214, 240, .3)), transparent 72%),
    linear-gradient(180deg, rgba(255, 254, 251, .95), rgba(255, 247, 232, .93));
}
html:not(.theme-classic) .level-card.locked .lv-name { color: #3c5a56; }
html:not(.theme-classic) .level-card.locked .lv-desc { color: #6d817b; }
html:not(.theme-classic) .level-card:hover {
  background:
    radial-gradient(260px 170px at 88% 0%, var(--biome, rgba(144, 214, 240, .45)), transparent 72%),
    linear-gradient(180deg, rgba(255, 254, 251, .97), rgba(255, 249, 238, .92));
}

/* 首页主视觉 */
html:not(.theme-classic) .home-hero {
  background:
    radial-gradient(620px 380px at 88% 6%, rgba(255, 242, 200, .38), transparent 62%),
    linear-gradient(118deg, rgba(255, 254, 250, .95) 0%, rgba(255, 251, 240, .88) 52%, rgba(255, 247, 229, .64) 100%);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
  border-color: rgba(176, 124, 38, .42);
  box-shadow: 0 24px 56px rgba(30, 54, 42, .22), inset 0 1px 0 rgba(255, 255, 255, .96);
}
html:not(.theme-classic) .home-hero::before { border-color: rgba(176, 124, 38, .2); }
html:not(.theme-classic) .hero-copy h1 {
  filter: drop-shadow(0 2px 0 rgba(255, 255, 255, .82)) drop-shadow(0 10px 18px rgba(110, 70, 10, .16));
}
html:not(.theme-classic) .hero-sub { color: #3f5b55; }
html:not(.theme-classic) .hero-note { color: #8a5c14; }
html:not(.theme-classic) .brand-text,
html:not(.theme-classic) .page-head h2,
html:not(.theme-classic) .result-copy h1,
html:not(.theme-classic) .lv-name { color: #174e57; }
html:not(.theme-classic) .mode-copy b { color: #92621a; }
html:not(.theme-classic) .mode-copy i { color: #6c817a; }

/* ---------------- 去掉像素素材，改成徽章 / 照片 ---------------- */
html:not(.theme-classic) .pixel { display: none !important; }

/* 品牌标志：金色三角 */
html:not(.theme-classic) .brand-mark {
  background: radial-gradient(circle at 34% 24%, #fffef9, #ffe9b8);
  border-color: rgba(176, 124, 38, .5);
  box-shadow: 0 4px 0 rgba(169, 111, 28, .16), inset 0 0 12px rgba(255, 220, 140, .4);
}
html:not(.theme-classic) .brand-mark::after {
  content: "";
  width: 24px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath fill='%23a96f1c' d='M12 1 18 11H6zM6 12 12 22H0zM18 12 24 22H12z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* 首页三位角色：改成区域照片圆章 */
html:not(.theme-classic) .mascot-ring {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(190, 146, 64, .72);
  box-shadow: 0 8px 0 rgba(120, 80, 20, .12), 0 16px 30px rgba(38, 58, 44, .22), inset 0 0 0 1px rgba(255, 255, 255, .7);
}
html:not(.theme-classic) .mascot.zelda .mascot-ring { background-image: url("../assets/wallpapers/wall-castle-dusk.jpg"); }
html:not(.theme-classic) .mascot.link .mascot-ring { background-image: url("../assets/wallpapers/wall-field.jpg"); }
html:not(.theme-classic) .mascot.ganon .mascot-ring { background-image: url("../assets/wallpapers/wall-moon.jpg"); }
html:not(.theme-classic) .mascot-ring::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 252, 235, .7);
  box-shadow: inset 0 0 18px rgba(255, 240, 190, .28);
}

/* 三个模式图标：区域照片小方块 */
html:not(.theme-classic) .mode-icon {
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(176, 124, 38, .45);
  box-shadow: inset 0 0 0 2px rgba(255, 252, 240, .55), 0 4px 12px rgba(36, 58, 44, .16);
  overflow: hidden;
}
html:not(.theme-classic) .mode-card[data-mode="adventure"] .mode-icon { background-image: url("../assets/wallpapers/wall-home.jpg"); }
html:not(.theme-classic) .mode-card[data-mode="quick"] .mode-icon { background-image: url("../assets/wallpapers/wall-moon.jpg"); }
html:not(.theme-classic) .mode-card[data-mode="two"] .mode-icon { background-image: url("../assets/wallpapers/wall-forest.jpg"); }

/* 玩家头像：照片 + 汉字 */
html:not(.theme-classic) .pp-avatar,
html:not(.theme-classic) .coach-avatar {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(176, 124, 38, .45);
  box-shadow: inset 0 0 0 2px rgba(255, 252, 240, .5), 0 4px 10px rgba(36, 58, 44, .16);
}
html:not(.theme-classic) .player-panel.red .pp-avatar {
  background-image: linear-gradient(rgba(255, 250, 240, .68), rgba(255, 244, 224, .78)), url("../assets/wallpapers/wall-castle-dusk.jpg");
}
html:not(.theme-classic) .player-panel.black .pp-avatar {
  background-image: linear-gradient(rgba(18, 28, 34, .25), rgba(12, 22, 28, .42)), url("../assets/wallpapers/wall-moon.jpg");
}
html:not(.theme-classic) .pp-avatar::after {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
  color: #a3303e;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
}
html:not(.theme-classic) .player-panel.red .pp-avatar::after { content: "塞"; }
html:not(.theme-classic) .player-panel.black .pp-avatar::after {
  content: "盖";
  color: #ffe6a8;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}
html:not(.theme-classic) .coach-avatar {
  background-image: linear-gradient(rgba(255, 251, 240, .52), rgba(255, 245, 222, .64)), url("../assets/wallpapers/wall-forest.jpg");
}
html:not(.theme-classic) .coach-avatar::after {
  content: "英";
  font-family: var(--serif);
  font-weight: 800;
  font-size: 16px;
  color: #8c5c12;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
}

/* 结算徽章 */
html:not(.theme-classic) .result-badge {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(190, 146, 64, .72);
  box-shadow: 0 8px 0 rgba(150, 102, 28, .14), 0 0 40px var(--mood, rgba(255, 210, 110, .4));
}
html:not(.theme-classic) .result-hero.win .result-badge {
  background-image: linear-gradient(rgba(255, 250, 238, .08), rgba(255, 240, 210, .16)), url("../assets/wallpapers/wall-castle-dusk.jpg");
}
html:not(.theme-classic) .result-hero.draw .result-badge {
  background-image: linear-gradient(rgba(255, 250, 238, .16), rgba(240, 250, 250, .2)), url("../assets/wallpapers/wall-night.jpg");
}
html:not(.theme-classic) .result-hero.lose .result-badge {
  background-image: linear-gradient(rgba(24, 20, 26, .16), rgba(30, 16, 20, .3)), url("../assets/wallpapers/wall-moon.jpg");
}
html:not(.theme-classic) .result-badge::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1px solid rgba(255, 252, 235, .62);
}

/* 休息月亮 */
html:not(.theme-classic) .rest-avatar {
  position: relative;
  background: radial-gradient(circle at 34% 24%, #fffef7, #ffeccb);
  border-color: rgba(176, 124, 38, .42);
}
html:not(.theme-classic) .rest-avatar::after {
  content: "☾";
  font-size: 36px;
  line-height: 1;
  color: #c99a3a;
  text-shadow: 0 0 16px rgba(228, 169, 62, .45);
}

/* 难度图标：小 / 中 / 王 */
html:not(.theme-classic) .difficulty-card > span {
  background: radial-gradient(circle at 34% 24%, #fffef8, #ffeccb);
  border-color: rgba(176, 124, 38, .35);
}
html:not(.theme-classic) .difficulty-card > span::after {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
  color: #a96f1c;
}
html:not(.theme-classic) .difficulty-card[data-modal-action="easy"] > span::after { content: "小"; }
html:not(.theme-classic) .difficulty-card[data-modal-action="normal"] > span::after { content: "中"; }
html:not(.theme-classic) .difficulty-card[data-modal-action="hard"] > span::after { content: "王"; }

/* 星级：换成金色四芒星 */
html:not(.theme-classic) .star { opacity: 1; filter: none; }
html:not(.theme-classic) .star::before {
  content: "✦";
  font-size: 15px;
  line-height: 1;
  color: rgba(140, 110, 60, .26);
}
html:not(.theme-classic) .star.on::before {
  color: #dda32b;
  text-shadow: 0 0 9px rgba(228, 169, 62, .5);
}
html:not(.theme-classic) .lv-stars .star::before { font-size: 14px; }
html:not(.theme-classic) .result-stars .star::before { font-size: 24px; }

/* 图鉴里的棋子徽章 */
html:not(.theme-classic) .pc-side span {
  position: relative;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 26%, #fffef8, #f7e7c4 62%, #ecd5a8);
  border: 1px solid #c49a4e;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .62), 0 4px 10px rgba(60, 80, 50, .14);
}
html:not(.theme-classic) .pc-side span::after {
  content: attr(data-char);
  font-family: var(--serif);
  font-weight: 800;
  font-size: 21px;
  line-height: 1;
  color: #b3273c;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}
html:not(.theme-classic) .pc-side.black span {
  background: radial-gradient(circle at 34% 26%, #4a6b63, #203b37 60%, #142a28);
  border-color: #c9a45a;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .08), 0 4px 10px rgba(20, 40, 38, .2);
}
html:not(.theme-classic) .pc-side.black span::after {
  color: #f7e6bd;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}

/* 吃子小圆章 */
html:not(.theme-classic) .pp-captured .cap-token {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 26%, #fffef8, #f4e2bd);
  border: 1px solid rgba(176, 124, 38, .5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
  line-height: 1;
}
html:not(.theme-classic) .cap-token::after {
  content: attr(data-char);
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 800;
  color: #b3273c;
}
html:not(.theme-classic) .cap-token.black {
  background: radial-gradient(circle at 34% 26%, #46645c, #1c3532);
  border-color: #c9a45a;
}
html:not(.theme-classic) .cap-token.black::after { color: #f7e6bd; }

/* ---------------- 棋盘与棋子 ---------------- */
html:not(.theme-classic) .board-wrap {
  filter: drop-shadow(0 26px 44px rgba(18, 38, 32, .28));
}
html:not(.theme-classic) .board-frame {
  padding: 6px;
  border-radius: 18px;
  background: linear-gradient(155deg, #f0d295, #c09044 40%, #e0b96f 72%, #b9853b);
  box-shadow:
    0 20px 44px rgba(24, 44, 36, .3),
    0 7px 0 rgba(108, 74, 24, .24),
    inset 0 0 0 1px rgba(255, 248, 216, .9),
    inset 0 0 24px rgba(120, 78, 20, .18);
}
html:not(.theme-classic) .board-frame::before {
  inset: 3px;
  border-radius: 15px;
  border-color: rgba(108, 74, 24, .42);
}
html:not(.theme-classic) .board {
  border-radius: 12px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .55), transparent 55%),
    radial-gradient(90% 70% at 50% 100%, rgba(196, 150, 78, .16), transparent 62%),
    linear-gradient(180deg, #fdf3da, #f8e7c2 48%, #f4ddb4 52%, #eed3a4);
  box-shadow: inset 0 0 40px rgba(150, 104, 38, .2);
}
html:not(.theme-classic) .board-lines .grid-line { stroke: rgba(126, 84, 26, .5); }
html:not(.theme-classic) .board-lines .grid-line.strong { stroke: rgba(108, 70, 18, .78); }
html:not(.theme-classic) .board-lines .palace-line { stroke: rgba(126, 84, 26, .46); }
html:not(.theme-classic) .river {
  color: rgba(52, 96, 108, .68);
  background: linear-gradient(90deg, rgba(128, 196, 216, .24), rgba(164, 218, 234, .46), rgba(128, 196, 216, .24));
  border-top-color: rgba(86, 146, 170, .4);
  border-bottom-color: rgba(86, 146, 170, .4);
}

html:not(.theme-classic) .piece-art { display: none !important; }
html:not(.theme-classic) .piece {
  inset: 3.5%;
  border-radius: 50%;
  overflow: hidden;
}
html:not(.theme-classic) .piece::before {
  content: "";
  position: absolute;
  inset: 7% 13% 60% 11%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, 0));
  pointer-events: none;
}
html:not(.theme-classic) .piece.red {
  background: radial-gradient(circle at 34% 26%, #fffef8, #fbf1d9 52%, #ecdbb6 100%);
  border: 2px solid #bd8b3c;
  color: #b62b3f;
  box-shadow:
    0 7px 13px rgba(96, 68, 26, .32),
    inset 0 2px 0 rgba(255, 255, 255, .8),
    inset 0 -4px 0 rgba(150, 110, 50, .12);
}
html:not(.theme-classic) .piece.black {
  background: radial-gradient(circle at 34% 26%, #4a6b63, #23403c 56%, #152b29 100%);
  border: 2px solid #c9a45a;
  color: #f7e6bd;
  box-shadow:
    0 7px 13px rgba(18, 38, 34, .42),
    inset 0 2px 0 rgba(255, 255, 255, .24),
    inset 0 -4px 0 rgba(0, 0, 0, .2);
}
html:not(.theme-classic) .piece.black::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, 0));
}
html:not(.theme-classic) .piece.red::after,
html:not(.theme-classic) .piece.black::after {
  inset: 8%;
  border-color: rgba(189, 139, 60, .5);
}
html:not(.theme-classic) .piece.black::after { border-color: rgba(233, 205, 148, .38); }
html:not(.theme-classic) .piece-char {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(15px, 2.15vw, 25px);
  line-height: 1;
  margin: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .5), 0 1px 3px rgba(80, 50, 10, .18);
}
html:not(.theme-classic) .piece.black .piece-char {
  text-shadow: 0 1px 0 rgba(0, 0, 0, .28), 0 0 8px rgba(255, 228, 160, .18);
}

/* 对局浮动工具 */
html:not(.theme-classic) .game-hud .btn,
html:not(.theme-classic) .game-hud .chip,
html:not(.theme-classic) .turn-banner {
  background: rgba(255, 253, 247, .9);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
  box-shadow: 0 4px 14px rgba(26, 48, 38, .16);
}
html:not(.theme-classic) .game-title {
  background: rgba(255, 253, 247, .86);
  border-color: rgba(176, 124, 38, .26);
}
html:not(.theme-classic) .game-actions .btn {
  background: linear-gradient(180deg, rgba(255, 254, 249, .96), rgba(255, 245, 224, .9));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
html:not(.theme-classic) .coach-strip {
  background-image:
    radial-gradient(140% 130% at 100% 0%, rgba(186, 224, 140, .26), transparent 62%),
    linear-gradient(180deg, rgba(255, 254, 250, .95), rgba(248, 252, 238, .9));
}

/* ---------------- 其它细节 ---------------- */
html:not(.theme-classic) .chip,
html:not(.theme-classic) .icon-btn,
html:not(.theme-classic) .btn {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
html:not(.theme-classic) .btn:not(.primary):not(.danger) {
  background: linear-gradient(180deg, rgba(255, 254, 249, .94), rgba(255, 244, 220, .86));
}
html:not(.theme-classic) .btn.primary {
  background: linear-gradient(180deg, #ffe9ad, #ffd06a 55%, #efb347);
  box-shadow: 0 5px 0 rgba(169, 111, 28, .22), inset 0 1px 0 rgba(255, 255, 255, .7), 0 10px 24px rgba(200, 150, 50, .2);
}
html:not(.theme-classic) .modal-layer {
  background: rgba(36, 62, 54, .34);
  -webkit-backdrop-filter: blur(8px) saturate(1.05);
  backdrop-filter: blur(8px) saturate(1.05);
}
html:not(.theme-classic) .modal {
  box-shadow: 0 30px 80px rgba(18, 40, 32, .34), inset 0 1px 0 #fff;
}
html:not(.theme-classic) .toast {
  background: rgba(255, 253, 247, .94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
html:not(.theme-classic) .bar { background: rgba(228, 218, 192, .8); }

/* 移动端：保证照片背景不拖慢滚动 */
@media (max-width: 720px) {
  html:not(.theme-classic) .world-bg::before { animation: none; }
  html:not(.theme-classic) .home-hero { background: linear-gradient(160deg, rgba(255, 254, 250, .96), rgba(255, 248, 232, .9)); }
}
