@import url("/styles.css");

/* Chess microsite: app-matched black, midnight blue, ivory, gold and silver. */
.chess-page {
  --chess-black: #000107;
  --chess-ink: #050811;
  --chess-midnight: #0a1020;
  --chess-panel: rgba(12, 17, 31, 0.86);
  --chess-panel-solid: #0d1220;
  --chess-ivory: #f5f0e4;
  --chess-silver: #aeb7c6;
  --chess-muted: #8993a5;
  --chess-gold: #e7bd58;
  --chess-gold-pale: #ffe39a;
  --chess-blue: #66bfff;
  --chess-line: rgba(220, 231, 247, 0.12);
  --chess-gold-line: rgba(231, 189, 88, 0.28);
  --cyan: #e7bd58;
  --violet: #79a9ff;
  --pink: #c4a8ff;
  --gold: #e7bd58;
  --green: #83d8cf;
  --text: #f5f0e4;
  --muted: #aeb7c6;
  --quiet: #8993a5;
  --line: rgba(220, 231, 247, 0.12);
  --line-bright: rgba(231, 189, 88, 0.35);
  color: var(--chess-ivory);
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(65, 126, 217, 0.13), transparent 28rem),
    radial-gradient(circle at 82% 8%, rgba(231, 189, 88, 0.08), transparent 28rem),
    linear-gradient(180deg, #03050c 0%, #050814 50%, #000107 100%);
}

.chess-page :where(a, button):focus-visible {
  outline: 3px solid var(--chess-gold-pale);
  outline-offset: 4px;
  border-radius: 8px;
}

.chess-page :where(#modes, #puzzler, #journey, #learning) { scroll-margin-top: 92px; }

.chess-page .site-header {
  border-bottom-color: rgba(220, 231, 247, 0.09);
  background: rgba(0, 1, 7, 0.82);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px) saturate(125%);
}

.chess-page .nav-wrap { min-height: 76px; }
.chess-page .nav-links a { color: #aeb7c6; }
.chess-page .nav-links a:hover { color: #fff8e8; }
.chess-page .nav-cta {
  color: #10131c;
  border-color: transparent;
  background: linear-gradient(115deg, #fff1bc, #e6b947 70%, #c99424);
  box-shadow: 0 10px 32px rgba(231, 189, 88, 0.16);
}

.chess-page .ambient-grid {
  opacity: 0.18;
  background-image:
    linear-gradient(45deg, rgba(193, 210, 232, 0.032) 25%, transparent 25%, transparent 75%, rgba(193, 210, 232, 0.032) 75%),
    linear-gradient(45deg, rgba(193, 210, 232, 0.032) 25%, transparent 25%, transparent 75%, rgba(193, 210, 232, 0.032) 75%);
  background-position: 0 0, 42px 42px;
  background-size: 84px 84px;
  animation: checker-drift 36s linear infinite;
}

.chess-page .ambient-glow-one {
  background: rgba(50, 116, 212, 0.18);
  filter: blur(25px);
}

.chess-page .ambient-glow-two {
  background: rgba(231, 189, 88, 0.11);
  filter: blur(35px);
}

.chess-brand { gap: 11px; }
.chess-nav-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(231, 189, 88, 0.28);
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42), 0 0 20px rgba(90, 163, 255, 0.08);
}

.chess-brand-copy { display: grid; gap: 2px; line-height: 1; }
.chess-brand-copy strong { color: #fff9ec; font-size: 0.9rem; letter-spacing: 0.16em; }
.chess-brand-copy small { color: #b78f3e; font-size: 0.52rem; letter-spacing: 0.12em; }

.chess-page h1,
.chess-page h2,
.chess-wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.chess-page h2 { color: #faf5e9; }
.chess-page .kicker { color: #d9bd77; }
.chess-page .kicker span {
  background: #f0c75e;
  box-shadow: 0 0 16px rgba(240, 199, 94, 0.65), 0 0 30px rgba(80, 158, 255, 0.25);
}

.chess-hero {
  min-height: min(880px, calc(100vh - 76px));
  padding-block: clamp(64px, 8vw, 112px) clamp(72px, 8vw, 112px);
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(500px, 1.22fr);
  align-items: center;
  gap: clamp(46px, 7vw, 98px);
}

.chess-hero-copy { position: relative; z-index: 2; min-width: 0; }
.chess-hero h1 {
  margin: 0;
  color: #fffdf7;
  font-size: clamp(4.5rem, 9.2vw, 8.6rem);
  line-height: 0.78;
  letter-spacing: -0.065em;
  text-shadow: 0 10px 45px rgba(0, 0, 0, 0.5);
}

.chess-title-line {
  margin: 20px 0 0;
  color: transparent;
  background: linear-gradient(96deg, #aeb7c6 0%, #fff1c5 34%, #e7bd58 68%, #7cc6ff 108%);
  background-clip: text;
  font-size: clamp(0.98rem, 1.8vw, 1.44rem);
  font-weight: 900;
  letter-spacing: 0.24em;
  line-height: 1.2;
}

.chess-lead {
  max-width: 650px;
  margin: 30px 0 0;
  color: #b5bdca;
  font-size: clamp(1.04rem, 1.65vw, 1.27rem);
}

.button-chess {
  color: #10131c;
  border-color: transparent;
  background: linear-gradient(112deg, #fff2be, #e7bd58 67%, #c89120);
  box-shadow: 0 16px 44px rgba(215, 168, 50, 0.18);
}

.button-chess:hover { box-shadow: 0 18px 52px rgba(215, 168, 50, 0.28); }
.chess-page .button-quiet { border-color: rgba(220, 231, 247, 0.16); color: #e4e9f0; background: rgba(255, 255, 255, 0.025); }
.chess-page .button-quiet:hover { border-color: rgba(231, 189, 88, 0.34); background: rgba(231, 189, 88, 0.055); }

.hero-links {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #5f6877;
  font-size: 0.78rem;
}

.hero-links a { color: #9da6b5; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hero-links a:hover { color: #ffe7a7; }

.release-note {
  max-width: 610px;
  margin: 20px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #778191;
  font-size: 0.74rem;
}

.release-note span {
  width: 7px;
  height: 7px;
  margin-top: 0.42em;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #78c6ff;
  box-shadow: 0 0 13px rgba(96, 183, 255, 0.8);
}

.chess-brand-stage {
  position: relative;
  min-width: 0;
  padding: clamp(20px, 3.5vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(220, 231, 247, 0.13);
  border-radius: clamp(26px, 4vw, 42px);
  background:
    radial-gradient(circle at 18% 12%, rgba(94, 174, 255, 0.18), transparent 25%),
    radial-gradient(circle at 86% 88%, rgba(231, 189, 88, 0.11), transparent 30%),
    linear-gradient(150deg, rgba(15, 23, 42, 0.96), rgba(1, 3, 11, 0.98));
  box-shadow: 0 46px 120px rgba(0, 0, 0, 0.52), inset 0 1px rgba(255, 255, 255, 0.06);
  isolation: isolate;
  transform-style: preserve-3d;
  transition: transform 180ms ease-out, border-color 250ms ease, box-shadow 250ms ease;
}

.chess-brand-stage::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  opacity: 0.48;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.025) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.025) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.025) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.025) 75%);
  background-position: 0 0, 22px 22px;
  background-size: 44px 44px;
}

.chess-brand-stage::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  border-radius: inherit;
  box-shadow: inset 0 0 90px rgba(56, 131, 224, 0.08);
  pointer-events: none;
}

.lightning-veil {
  position: absolute;
  top: -15%;
  left: 9%;
  width: 34%;
  height: 78%;
  opacity: 0.32;
  background: linear-gradient(112deg, transparent 42%, rgba(179, 225, 255, 0.9) 48%, rgba(55, 154, 255, 0.25) 52%, transparent 58%);
  filter: blur(2px) drop-shadow(0 0 18px rgba(88, 171, 255, 0.72));
  transform: skewX(-10deg);
  animation: lightning-breathe 4.8s ease-in-out infinite;
  pointer-events: none;
}

.hero-app-icon {
  position: relative;
  z-index: 2;
  width: clamp(86px, 10vw, 124px);
  height: auto;
  margin: 0 0 clamp(-24px, -2vw, -12px) clamp(10px, 3vw, 40px);
  display: block;
  border: 1px solid rgba(255, 224, 141, 0.34);
  border-radius: 26%;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.56), 0 0 34px rgba(70, 162, 255, 0.2);
  animation: icon-float 5.5s ease-in-out infinite;
}

.banner-shell {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: clamp(8px, 1.2vw, 12px);
  border: 1px solid rgba(231, 189, 88, 0.24);
  border-radius: clamp(18px, 2.2vw, 28px);
  background: rgba(0, 1, 7, 0.72);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.48), inset 0 1px rgba(255, 255, 255, 0.07);
  transform: translateZ(22px);
}

.banner-shell picture,
.banner-shell img { display: block; width: 100%; }
.banner-shell img { height: auto; border-radius: clamp(12px, 1.6vw, 20px); }
.banner-shell figcaption {
  padding: 13px 8px 5px;
  color: #8e99aa;
  font-size: clamp(0.54rem, 0.8vw, 0.66rem);
  font-weight: 800;
  letter-spacing: 0.17em;
  text-align: center;
}

.chess-signal {
  overflow: hidden;
  border-block: 1px solid rgba(220, 231, 247, 0.1);
  background: linear-gradient(90deg, rgba(54, 118, 207, 0.035), rgba(231, 189, 88, 0.04), rgba(54, 118, 207, 0.035));
}

.chess-signal > div {
  width: min(100%, 1380px);
  min-height: 72px;
  margin-inline: auto;
  padding-inline: var(--page-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  color: #8993a5;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chess-signal strong { color: #f5df9c; font-family: Georgia, "Times New Roman", serif; font-size: 1rem; font-weight: 500; }
.chess-signal i { width: 4px; height: 4px; flex: 0 0 auto; border-radius: 50%; background: #e7bd58; box-shadow: 0 0 12px rgba(231, 189, 88, 0.7); }

.chess-section-heading > p { color: #98a2b2; }
.chess-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.chess-feature-card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(220, 231, 247, 0.105);
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, rgba(17, 24, 42, 0.88), rgba(5, 8, 17, 0.92));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.chess-feature-card::after {
  position: absolute;
  right: -35px;
  bottom: -35px;
  width: 110px;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(231, 189, 88, 0.08);
  border-radius: 50%;
}

.chess-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(231, 189, 88, 0.26);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.25);
}

.chess-feature-card > span {
  width: 42px;
  height: 42px;
  margin-bottom: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(231, 189, 88, 0.28);
  border-radius: 50%;
  color: #efc963;
  background: rgba(231, 189, 88, 0.035);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
}

.chess-feature-card h3 { margin-bottom: 11px; color: #f7f1e6; font-size: 1.32rem; }
.chess-feature-card p { margin: 0; color: #929cac; font-size: 0.88rem; }

.puzzle-course {
  padding: clamp(34px, 6vw, 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.78fr);
  gap: clamp(44px, 8vw, 100px);
  border: 1px solid rgba(95, 164, 255, 0.18);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 85% 14%, rgba(66, 139, 229, 0.16), transparent 31%),
    linear-gradient(135deg, rgba(13, 21, 39, 0.96), rgba(3, 6, 14, 0.98));
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.035);
}

.puzzle-course-copy > p:not(.kicker) { color: #9ca6b5; }
.puzzle-promises { margin: 32px 0 0; padding: 0; display: grid; gap: 0; list-style: none; }
.puzzle-promises li { padding: 16px 0; display: grid; gap: 4px; border-top: 1px solid rgba(220, 231, 247, 0.1); }
.puzzle-promises strong { color: #f5dfa2; font-size: 0.9rem; }
.puzzle-promises span { color: #858fa0; font-size: 0.78rem; }

.puzzle-tier-panel {
  align-self: center;
  padding: clamp(25px, 4vw, 38px);
  border: 1px solid rgba(231, 189, 88, 0.2);
  border-radius: 28px;
  background: rgba(0, 2, 9, 0.62);
  box-shadow: inset 0 0 70px rgba(73, 136, 219, 0.06);
}

.course-total { display: flex; align-items: end; gap: 12px; }
.course-total span { color: #fff4cf; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.8rem, 7vw, 6rem); line-height: 0.8; }
.course-total small { padding-bottom: 5px; color: #8791a1; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.puzzle-tiers { margin: 34px 0 0; padding: 0; list-style: none; }
.puzzle-tiers li { padding: 18px 0; display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 15px; border-top: 1px solid rgba(220, 231, 247, 0.1); }
.tier-number { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(231, 189, 88, 0.24); border-radius: 13px; color: #f0ca65; font-weight: 900; }
.puzzle-tiers div { display: grid; gap: 3px; }
.puzzle-tiers strong { color: #eef1f5; }
.puzzle-tiers small { color: #778292; }
.course-meter { height: 6px; margin-top: 22px; display: grid; grid-template-columns: 25fr 35fr 40fr; gap: 3px; }
.course-meter span { border-radius: 99px; background: #dcae3f; box-shadow: 0 0 15px rgba(231, 189, 88, 0.2); }
.course-meter span:nth-child(2) { background: #9aabbf; }
.course-meter span:nth-child(3) { background: #539ee9; }

.chess-road {
  padding: clamp(34px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: clamp(40px, 8vw, 100px);
  border: 1px solid rgba(231, 189, 88, 0.18);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 82% 16%, rgba(63, 131, 218, 0.17), transparent 29%),
    linear-gradient(135deg, rgba(17, 21, 32, 0.95), rgba(3, 5, 12, 0.97));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
}

.road-copy > p:not(.kicker), .celestial-card p { color: #9da6b5; }
.road-stats { margin: 42px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.road-stats div { padding-top: 18px; border-top: 1px solid rgba(231, 189, 88, 0.18); }
.road-stats dt { color: #f2d37d; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.65rem, 3vw, 2.65rem); }
.road-stats dd { margin: 6px 0 0; color: #778292; font-size: 0.7rem; }

.celestial-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(99, 174, 255, 0.2);
  border-radius: 27px;
  background: linear-gradient(155deg, rgba(29, 52, 91, 0.38), rgba(3, 6, 14, 0.9));
}

.celestial-card::after {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 210px;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(119, 194, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(74, 144, 233, 0.13);
}

.celestial-card-icon {
  width: 118px;
  height: 118px;
  margin: 12px 0 25px;
  display: block;
  border: 1px solid rgba(231, 189, 88, 0.27);
  border-radius: 27%;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45), 0 0 28px rgba(78, 163, 255, 0.17);
}

.celestial-card h3 { margin-bottom: 12px; color: #f6edda; }
.hint-panel {
  padding: clamp(34px, 6vw, 68px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(40px, 8vw, 90px);
  border-block: 1px solid rgba(220, 231, 247, 0.12);
  background: linear-gradient(90deg, rgba(58, 128, 216, 0.04), rgba(231, 189, 88, 0.035));
}

.hint-panel > div > p:not(.kicker), .hint-panel li span { color: #939dac; }
.hint-panel ul { margin: 0; padding: 0; list-style: none; }
.hint-panel li { padding-block: 16px; display: grid; gap: 4px; border-bottom: 1px solid rgba(220, 231, 247, 0.1); }
.hint-panel li strong { color: #f2dda2; font-size: 0.88rem; }
.hint-panel li span { font-size: 0.76rem; }

.chess-page .link-card {
  border-color: rgba(220, 231, 247, 0.1);
  background: linear-gradient(150deg, rgba(15, 22, 39, 0.78), rgba(3, 6, 14, 0.88));
}
.chess-page .link-card:hover { border-color: rgba(231, 189, 88, 0.27); }

/* Shared legal and support pages retain their wording and inherit this app framing. */
.chess-page .page-hero {
  border-bottom-color: rgba(220, 231, 247, 0.1);
  background:
    radial-gradient(circle at 78% 20%, rgba(69, 145, 235, 0.12), transparent 28rem),
    linear-gradient(180deg, rgba(9, 15, 29, 0.76), rgba(0, 1, 7, 0.22));
}

.chess-page .page-hero h1 em {
  color: transparent;
  background: linear-gradient(108deg, #f5f0e4, #e7bd58 52%, #72baff);
  background-clip: text;
}

.chess-page .doc-aside,
.chess-page .legal-doc,
.chess-page .email-panel,
.chess-page .detail-card,
.chess-page .notice-box {
  border-color: rgba(220, 231, 247, 0.11);
  background-color: rgba(8, 13, 25, 0.72);
}

.chess-page .legal-doc h2,
.chess-page .legal-doc h3,
.chess-page .support-grid h2,
.chess-page .support-grid h3 { color: #f7f1e6; }
.chess-page .legal-doc p,
.chess-page .legal-doc li,
.chess-page .support-grid p,
.chess-page .support-grid li { color: #a5aebb; }
.chess-page .legal-doc a,
.chess-page .support-grid a { color: #f0ce73; }
.chess-page .updated,
.chess-page .legal-clarity { color: #7f8998; }
.chess-page .aside-divider { border-color: rgba(220, 231, 247, 0.1); }

.chess-page .site-footer {
  border-top-color: rgba(220, 231, 247, 0.1);
  background: rgba(0, 1, 7, 0.42);
}

.chess-page .footer-brand { align-items: center; }
.chess-page .footer-links strong { color: #e9d69f; }
.chess-page .footer-links a { color: #8f99a8; }
.chess-page .footer-links a:hover { color: #f7e4aa; }

@keyframes icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes lightning-breathe {
  0%, 100% { opacity: 0.18; filter: blur(2px) drop-shadow(0 0 12px rgba(88, 171, 255, 0.45)); }
  48% { opacity: 0.42; filter: blur(1px) drop-shadow(0 0 26px rgba(122, 194, 255, 0.88)); }
  54% { opacity: 0.28; }
}

@keyframes checker-drift {
  to { background-position: 84px 84px, 126px 126px; }
}

@media (max-width: 1080px) {
  .chess-hero { grid-template-columns: 1fr; }
  .chess-hero-copy { max-width: 760px; }
  .chess-brand-stage { width: min(100%, 860px); justify-self: center; }
  .chess-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .puzzle-course, .chess-road, .hint-panel { grid-template-columns: 1fr; }
  .puzzle-tier-panel { width: min(100%, 620px); }
}

@media (max-width: 760px) {
  .chess-page .nav-wrap { min-height: 70px; }
  .chess-page .nav-links a:not(.nav-cta) { display: none; }
  .chess-brand-copy small { display: none; }
  .chess-hero { min-height: 0; padding-top: 72px; gap: 44px; }
  .chess-hero h1 { font-size: clamp(4rem, 21vw, 7rem); }
  .chess-title-line { font-size: clamp(0.78rem, 4vw, 1.14rem); letter-spacing: 0.17em; }
  .chess-brand-stage { padding: 16px; border-radius: 27px; }
  .hero-app-icon { width: 88px; margin-left: 18px; border-radius: 22px; }
  .banner-shell { border-radius: 19px; }
  .banner-shell img { border-radius: 13px; }
  .chess-signal > div { min-height: 0; padding-block: 24px; flex-wrap: wrap; justify-content: flex-start; }
  .chess-signal i { display: none; }
  .chess-signal span { width: calc(50% - 13px); }
  .chess-feature-grid { grid-template-columns: 1fr; }
  .chess-feature-card { min-height: 205px; }
  .road-stats { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .chess-nav-icon { width: 38px; height: 38px; flex-basis: 38px; border-radius: 10px; }
  .chess-page .nav-cta { padding-inline: 14px; }
  .chess-hero { padding-top: 58px; }
  .chess-hero .button-row { flex-direction: column; align-items: stretch; }
  .chess-hero .button { width: 100%; justify-content: center; }
  .hero-links { flex-wrap: wrap; }
  .chess-brand-stage { padding: 11px; }
  .hero-app-icon { width: 72px; margin: 0 0 -19px 14px; border-radius: 18px; }
  .banner-shell { padding: 6px; }
  .banner-shell figcaption { padding-top: 10px; letter-spacing: 0.1em; }
  .chess-signal span { width: 100%; }
  .puzzle-course, .chess-road, .hint-panel { padding-inline: 24px; }
  .puzzle-tier-panel { padding-inline: 22px; }
  .course-total { align-items: center; }
  .course-total small { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .chess-page { scroll-behavior: auto; }
  .chess-page *,
  .chess-page *::before,
  .chess-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .chess-brand-stage,
  .banner-shell,
  .hero-app-icon { transform: none !important; }
}

@media (forced-colors: active) {
  .chess-brand-stage,
  .chess-feature-card,
  .puzzle-course,
  .puzzle-tier-panel,
  .chess-road,
  .celestial-card,
  .hint-panel { border: 1px solid CanvasText; }
  .chess-title-line { color: CanvasText; background: none; }
}
