:root {
  color-scheme: light;
  --paper: #ffffff;
  --morning: #f7f9fa;
  --mint: #e8f5e9;
  --sky: #e3f2fd;
  --gold: #ffd54f;
  --gold-deep: #ffd54f;
  --ink: #2f4148;
  --muted: #6a7f83;
  --line: rgba(255, 213, 79, 0.24);
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 18px 48px rgba(130, 158, 166, 0.13);
  --radius: 8px;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --sans: "Inter", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(255,255,255,1), rgba(247,249,250,0.98) 46%, rgba(255,255,255,1)),
    repeating-linear-gradient(135deg, rgba(255,213,79,0.04) 0 1px, transparent 1px 34px);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.72;
  letter-spacing: 0;
}

body::selection {
  background: rgba(255, 213, 79, 0.45);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

:focus-visible {
  outline: 3px solid rgba(255, 213, 79, 0.95);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 213, 79, 0.28);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 176px;
  font-weight: 800;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 213, 79, 0.62);
  border-radius: 50%;
  background: #ffffff url("../img/favicon.ico") center / contain no-repeat;
  color: transparent;
  font-size: 0;
  overflow: hidden;
}

.brand-text {
  font-size: 1rem;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  position: relative;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: #4f676b;
  font-size: 0.94rem;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(227, 242, 253, 0.92);
  color: #315b63;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #4f676b;
  border-radius: 2px;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 213, 79, 0.68);
  border-radius: 999px;
  background: var(--gold);
  color: #2f2610;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(255, 213, 79, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: #ffd54f;
  box-shadow: 0 14px 32px rgba(255, 213, 79, 0.36);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.82);
  color: #244050;
  box-shadow: none;
}

.btn-secondary:hover {
  background: #ffffff;
}

.btn-small {
  min-height: 38px;
  padding-inline: 14px;
  font-size: 0.9rem;
}

.ripple-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.75);
  animation: ripple 620ms ease-out forwards;
}

@keyframes ripple {
  to {
    opacity: 0;
    transform: scale(2.7);
  }
}

.hero {
  position: relative;
  min-height: min(700px, 78vh);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  animation: sanctuary-breathe 14s ease-in-out infinite alternate;
}

.hero-media picture,
.hero-media img,
.page-hero-media picture,
.page-hero-media img {
  width: 100%;
  height: 100%;
}

.hero-media img,
.page-hero-media img {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) brightness(1.02);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 52%, rgba(227,242,253,0.38) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.24), rgba(247,249,250,0.95));
}

@keyframes sanctuary-breathe {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.025);
  }
}

.hero-inner,
.section-inner,
.page-hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-copy {
  max-width: 720px;
  padding-block: 96px 70px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #4a6677;
  font-size: 0.92rem;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold-deep);
}

.hero .eyebrow,
.page-hero .eyebrow,
.section-head .eyebrow {
  justify-content: center;
}

.hero .eyebrow::after,
.page-hero .eyebrow::after,
.section-head .eyebrow::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold-deep);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.22;
  color: #2f4148;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 6.8rem);
  font-weight: 900;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 3rem);
}

h3 {
  font-size: 1.18rem;
}

p {
  margin: 0;
}

.hero-subtitle {
  margin-top: 14px;
  font-size: clamp(1.16rem, 2vw, 1.55rem);
  color: #385467;
}

.hero-lead {
  max-width: 680px;
  margin-top: 18px;
  color: #465d6d;
  font-size: 1.05rem;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  justify-content: center;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(1180px, calc(100% - 32px));
  margin: -34px auto 0;
  position: relative;
  z-index: 5;
}

.fact {
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(255, 213, 79, 0.32);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 34px rgba(130, 158, 166, 0.1);
}

.fact span,
.meta-list dt,
.timeline time,
.card-kicker {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.fact strong {
  display: block;
  margin-top: 4px;
  font-size: 1.02rem;
}

.section {
  padding: 86px 0;
}

.home-section {
  position: relative;
}

.home-section .section-inner {
  display: grid;
  gap: 28px;
}

.section-tint {
  background:
    linear-gradient(180deg, rgba(227,242,253,0.62), rgba(255,255,255,0.92)),
    repeating-linear-gradient(90deg, rgba(255,213,79,0.028) 0 1px, transparent 1px 46px);
}

.section-mint {
  background:
    linear-gradient(180deg, rgba(232,245,233,0.74), rgba(255,255,255,0.96)),
    repeating-linear-gradient(0deg, rgba(255,213,79,0.03) 0 1px, transparent 1px 42px);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 34px;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  color: var(--muted);
  max-width: 760px;
  margin-inline: auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.72fr);
  gap: 24px;
  align-items: start;
}

.home-intro-grid,
.play-layout,
.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  gap: 18px;
  align-items: stretch;
}

.intro-copy,
.intro-facts,
.play-visual,
.guide-index {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78)),
    linear-gradient(135deg, rgba(227,242,253,0.2), rgba(232,245,233,0.2));
  box-shadow: 0 12px 34px rgba(130, 158, 166, 0.1);
  backdrop-filter: blur(14px);
}

.intro-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.intro-copy p {
  margin-top: 10px;
  color: var(--muted);
}

.intro-facts {
  padding: 24px;
}

.intro-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.intro-points span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 213, 79, 0.34);
  border-radius: var(--radius);
  background: rgba(232,245,233,0.58);
  color: #3d5b60;
  font-weight: 800;
  text-align: center;
}

.card,
.notice,
.article-panel,
.qa-item,
.toc-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.76)),
    linear-gradient(135deg, rgba(227,242,253,0.22), rgba(232,245,233,0.2));
  box-shadow: 0 12px 34px rgba(130, 158, 166, 0.1);
  backdrop-filter: blur(14px);
}

.article-panel {
  padding: 24px;
}

.article-panel p + p {
  margin-top: 14px;
}

.meta-list {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px 16px;
  margin: 0;
}

.meta-list dt {
  padding-top: 2px;
}

.meta-list dd {
  margin: 0;
  color: #31485a;
}

.image-frame {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 213, 79, 0.32);
  background: rgba(255,255,255,0.92);
  padding: 8px;
  box-shadow: 0 14px 34px rgba(130, 158, 166, 0.1);
}

.image-frame img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

.gallery-grid .image-frame img,
.two-column .image-frame img,
.article-side .image-frame img {
  filter: brightness(1.18) saturate(0.74) contrast(0.9);
}

.caption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.content-grid,
.feature-grid,
.resource-grid,
.gallery-grid,
.link-grid {
  display: grid;
  gap: 16px;
}

.content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid,
.resource-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.play-layout {
  grid-template-columns: minmax(330px, 0.86fr) minmax(0, 1fr);
}

.play-visual {
  margin: 0;
  padding: 8px;
}

.play-steps,
.guide-roadmap {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.play-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.play-steps li,
.guide-roadmap li {
  min-height: 132px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.78)),
    linear-gradient(135deg, rgba(227,242,253,0.18), rgba(232,245,233,0.2));
  box-shadow: 0 10px 28px rgba(130, 158, 166, 0.08);
}

.play-steps li:first-child {
  grid-column: span 2;
  min-height: 112px;
}

.play-steps span,
.guide-roadmap span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 28px;
  padding: 0 8px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: rgba(255, 213, 79, 0.55);
  color: #2f4148;
  font-size: 0.82rem;
  font-weight: 900;
}

.play-steps strong,
.guide-roadmap strong {
  display: block;
  color: #2f4148;
}

.play-steps p,
.guide-roadmap p {
  margin-top: 6px;
  color: var(--muted);
}

.feature-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) repeat(2, minmax(0, 0.75fr));
  gap: 16px;
}

.feature-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78)),
    linear-gradient(135deg, rgba(227,242,253,0.18), rgba(232,245,233,0.18));
  box-shadow: 0 12px 34px rgba(130, 158, 166, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(255, 213, 79, 0.62);
  box-shadow: 0 18px 42px rgba(130, 158, 166, 0.14);
}

.feature-card-large {
  grid-row: span 2;
  min-height: 396px;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(227,242,253,0.42)),
    linear-gradient(135deg, rgba(232,245,233,0.48), rgba(255,255,255,0.72));
}

.feature-card p {
  margin-top: 10px;
  color: var(--muted);
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-strip .image-frame {
  margin: 0;
}

.guide-layout {
  grid-template-columns: minmax(0, 1fr);
}

.guide-roadmap {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-index {
  padding: 24px;
}

.guide-index p {
  margin-top: 8px;
  color: var(--muted);
}

.guide-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.guide-link-grid a {
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(255, 213, 79, 0.32);
  border-radius: var(--radius);
  background: rgba(247,249,250,0.74);
}

.guide-link-grid strong,
.guide-link-grid span {
  display: block;
}

.guide-link-grid span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.9rem;
}

.card {
  min-height: 100%;
  padding: 18px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-5px) scale(1.012);
  border-color: rgba(255, 213, 79, 0.62);
  box-shadow: 0 18px 42px rgba(130, 158, 166, 0.14);
}

.card p,
.qa-item p,
.toc-card p {
  margin-top: 8px;
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  margin-top: 14px;
  color: #1f607c;
  font-weight: 800;
}

.step-list,
.timeline,
.plain-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li,
.timeline li,
.plain-list li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.86);
}

.step-list strong,
.timeline strong {
  display: block;
  margin-bottom: 4px;
}

.qa-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.qa-item {
  padding: 18px;
}

.download-band {
  padding: 34px 0;
  background: linear-gradient(90deg, rgba(232,245,233,0.92), rgba(227,242,253,0.9), rgba(255,255,255,0.95));
  border-block: 1px solid rgba(255, 213, 79, 0.32);
}

.download-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}

.download-inner p {
  color: var(--muted);
  margin-top: 5px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 390px;
  display: grid;
  align-items: end;
}

.page-hero-inner {
  padding: 104px 0 62px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.page-lead {
  max-width: 780px;
  margin-top: 14px;
  color: #425a6b;
  font-size: 1.04rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #657a7e;
  font-size: 0.92rem;
}

.last-updated {
  margin-top: 18px;
  color: #60717f;
  font-weight: 800;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.article-main {
  display: grid;
  gap: 18px;
}

.article-main section {
  padding: 20px 0 26px;
  border-bottom: 1px solid rgba(255, 213, 79, 0.28);
}

.article-main section:first-child {
  padding-top: 0;
}

.article-main section:last-child {
  border-bottom: 0;
}

.article-main h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.article-main h3 {
  margin-top: 20px;
  margin-bottom: 8px;
}

.article-main p + p,
.article-main ul + p,
.article-main p + ul {
  margin-top: 12px;
}

.article-main ul,
.article-main ol {
  margin: 12px 0 0;
  padding-left: 1.25rem;
}

.article-main li + li {
  margin-top: 8px;
}

.article-side {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
}

.toc-card {
  padding: 18px;
}

.toc-card nav {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.toc-card a {
  color: #285e74;
  font-weight: 800;
}

.site-footer {
  padding: 46px 0 34px;
  background: #ffffff;
  border-top: 1px solid rgba(255, 213, 79, 0.28);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: flex-start;
}

.footer-top p,
.footer-bottom,
.friend-links a {
  color: var(--muted);
}

.friend-links h2 {
  font-family: var(--sans);
  font-size: 1rem;
  margin-bottom: 10px;
}

.link-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.friend-links a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--morning);
  font-weight: 700;
  text-align: center;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
}

.not-found {
  min-height: calc(100vh - 260px);
  display: grid;
  place-items: center;
  padding: 90px 0;
}

.not-found .article-panel {
  width: min(720px, calc(100% - 32px));
  text-align: center;
}

@media (max-width: 1040px) {
  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .menu-toggle {
    display: block;
  }

  .quick-facts,
  .content-grid,
  .feature-grid,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-intro-grid,
  .play-layout {
    grid-template-columns: 1fr;
  }

  .feature-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card-large {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 220px;
  }

  .guide-roadmap,
  .guide-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head,
  .two-column,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-side {
    position: static;
    order: -1;
  }
}

@media (max-width: 720px) {
  .nav-shell,
  .hero-inner,
  .section-inner,
  .page-hero-inner,
  .download-inner,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

  .brand-text {
    font-size: 0.94rem;
  }

  .hero {
    min-height: 82vh;
    place-items: end start;
  }

  .hero-copy {
    padding-block: 106px 74px;
  }

  .hero-actions,
  .section-actions,
  .download-inner,
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .btn-secondary {
    width: 100%;
  }

  .quick-facts {
    margin-top: 0;
    padding-top: 12px;
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .content-grid,
  .feature-grid,
  .resource-grid,
  .gallery-grid,
  .gallery-strip,
  .qa-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .intro-points,
  .play-steps,
  .feature-showcase,
  .guide-roadmap,
  .guide-link-grid {
    grid-template-columns: 1fr;
  }

  .play-steps li:first-child {
    grid-column: auto;
  }

  .intro-copy,
  .intro-facts,
  .guide-index {
    padding: 20px;
  }

  .meta-list {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }

  .page-hero {
    min-height: 330px;
  }

  .page-hero-inner {
    padding: 92px 0 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Managed news and download confirmation additions. Existing selectors remain untouched. */
.my-news-home, .my-news-page {
  --my-news-surface: var(--glass, rgba(255, 255, 255, 0.82));
  --my-news-text: var(--ink, #2f4148);
  --my-news-muted: var(--muted, #6a7f83);
  --my-news-accent: var(--gold-deep, #ffd54f);
  --my-news-line: var(--line, rgba(255, 213, 79, 0.24));
}
.my-news-home { width: 100%; padding: 26px 16px 42px; color: var(--my-news-text); }
.my-news-home .my-news-shell, .my-news-page .my-news-shell { width: min(var(--container, var(--max, 1180px)), calc(100% - 0px)); margin: 0 auto; }
.my-news-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--my-news-line); }
.my-news-kicker { margin: 0 0 3px; color: var(--my-news-accent); font-size: .78rem; font-weight: 800; letter-spacing: .13em; }
.my-news-heading h2, .my-news-page h1, .my-news-page h2, .my-news-card h2, .my-news-card h3 { color: var(--my-news-text); }
.my-news-heading h2 { margin: 0; font-size: clamp(1.45rem, 2.8vw, 2rem); line-height: 1.25; }
.my-news-all-link, .my-news-card a, .my-news-back { display: inline-flex; align-items: center; width: fit-content; color: var(--my-news-text); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--my-news-accent); }
.my-news-all-link:hover, .my-news-card a:hover, .my-news-back:hover { color: var(--my-news-accent); }
.my-news-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.my-news-card { display: flex; flex-direction: column; min-width: 0; min-height: 196px; padding: 20px; color: var(--my-news-text); background: var(--my-news-surface); border: 1px solid var(--my-news-line); border-radius: var(--radius, 8px); box-shadow: var(--shadow, 0 14px 36px rgba(0,0,0,.18)); }
.my-news-card h2, .my-news-card h3 { margin: 0; font-size: 1.08rem; line-height: 1.5; }
.my-news-card time { display: block; margin: 10px 0 0; color: var(--my-news-muted); font-size: .86rem; }
.my-news-card p { margin: 10px 0 16px; color: var(--my-news-muted); }
.my-news-card a { margin-top: auto; }
.my-news-empty { grid-column: 1 / -1; margin: 0; padding: 20px; color: var(--my-news-muted); background: var(--my-news-surface); border: 1px dashed var(--my-news-line); border-radius: var(--radius, 8px); }
.my-news-page { min-height: 100vh; padding: 44px 16px 64px; color: var(--my-news-text); }
.my-news-page .my-news-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; color: var(--my-news-muted); }
.my-news-page .my-news-brand { margin: 0; color: var(--my-news-muted); font-size: .93rem; }
.my-news-page .my-news-intro { max-width: 760px; margin: 0 0 24px; color: var(--my-news-muted); }
.my-news-page .my-news-detail { max-width: 820px; padding: clamp(22px, 5vw, 44px); color: var(--my-news-text); background: var(--my-news-surface); border: 1px solid var(--my-news-line); border-radius: var(--radius, 8px); box-shadow: var(--shadow, 0 14px 36px rgba(0,0,0,.18)); }
.my-news-page .my-news-detail h1 { margin: 0; font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.22; }
.my-news-page .my-news-detail time { display: block; margin: 16px 0 24px; color: var(--my-news-muted); }
.my-news-page .my-news-summary { margin: 0 0 20px; color: var(--my-news-muted); font-size: 1.05rem; }
.my-news-page .my-news-content { margin: 0; color: var(--my-news-text); white-space: pre-wrap; }
.my-news-page .my-news-footer { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.download-confirm-backdrop { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 18px; background: rgba(0,0,0,.64); }
.download-confirm-panel { width: min(460px, 100%); padding: 24px; color: var(--my-news-text); background: var(--my-news-surface); border: 1px solid var(--my-news-line); border-radius: var(--radius, 8px); box-shadow: var(--shadow, 0 24px 70px rgba(0,0,0,.35)); }
.download-confirm-panel h2 { margin: 0 0 10px; color: var(--my-news-text); font-size: 1.3rem; }
.download-confirm-panel p { margin: 0; color: var(--my-news-muted); }
.download-confirm-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.download-confirm-actions button { min-height: 40px; padding: 0 16px; font: inherit; font-weight: 700; color: var(--my-news-text); background: transparent; border: 1px solid var(--my-news-line); border-radius: 6px; cursor: pointer; }
.download-confirm-actions .download-confirm-primary { color: #19120a; background: var(--my-news-accent); border-color: var(--my-news-accent); }
@media (max-width: 640px) { .my-news-home { padding-inline: 12px; } .my-news-heading, .my-news-page .my-news-topbar { align-items: flex-start; flex-direction: column; } .my-news-page { padding: 26px 12px 44px; } .my-news-card { min-height: 0; } }
