:root {
  --cream: #F8F3EE;
  --pink-gray: #E8D6D6;
  --rose: #B85C6A;
  --wine: #8E354A;
  --text: #3A3435;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --line: rgba(58, 52, 53, 0.14);
  --muted: rgba(58, 52, 53, 0.72);
  --shadow: 0 22px 54px rgba(58, 52, 53, 0.13);
  --shadow-soft: 0 12px 32px rgba(58, 52, 53, 0.08);
  --radius: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--cream); }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  line-height: 1.72;
  background:
    radial-gradient(circle at 78% 4%, rgba(184, 92, 106, 0.18), rgba(184, 92, 106, 0) 30rem),
    radial-gradient(circle at 10% 20%, rgba(232, 214, 214, 0.76), rgba(232, 214, 214, 0) 34rem),
    linear-gradient(135deg, var(--cream) 0%, var(--pink-gray) 100%);
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--wine); }
button, input, textarea, select { font: inherit; }
::selection { background: rgba(184, 92, 106, 0.28); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.container { width: min(100% - 40px, var(--container)); margin: 0 auto; }
.section-band { padding: 96px 0; position: relative; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
  width: min(100% - 32px, 1220px); margin: 14px auto 0; padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72); border-bottom-color: var(--line);
  background: rgba(248, 243, 238, 0.88); backdrop-filter: blur(18px);
  box-shadow: 0 12px 34px rgba(58, 52, 53, 0.08); border-radius: var(--radius);
}
.site-header.is-scrolled { box-shadow: 0 14px 36px rgba(58, 52, 53, 0.13); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 10px 22px rgba(142, 53, 74, 0.24);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.brand-copy { display: grid; gap: 0; }
.brand-copy strong { font-size: 1rem; line-height: 1.15; }
.brand-copy small { color: var(--muted); font-size: 0.78rem; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 2px; min-width: 0; }
.site-nav a { padding: 8px 9px; border-radius: var(--radius); color: rgba(58, 52, 53, 0.86); font-weight: 700; font-size: 0.92rem; white-space: nowrap; }
.site-nav a:hover, .site-nav a:focus-visible { background: rgba(184, 92, 106, 0.12); color: var(--wine); }
.header-action, .btn {
  border: 0; border-radius: var(--radius); cursor: pointer; font-weight: 800; min-height: 42px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.header-action { padding: 10px 16px; color: #fff; background: linear-gradient(135deg, var(--wine), var(--rose)); box-shadow: 0 12px 26px rgba(142, 53, 74, 0.22); }
.header-action:hover, .btn:hover, .index-card:hover, .content-card:hover, .feature-grid article:hover { transform: translateY(-3px); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); color: var(--text); align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle span:not(.sr-only) { width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

.hero {
  min-height: 78vh; padding-top: 104px; padding-bottom: 90px;
  background-image:
    linear-gradient(90deg, rgba(248, 243, 238, 0.96), rgba(248, 243, 238, 0.82) 48%, rgba(58, 52, 53, 0.34)),
    url("../img/hero-main.webp");
  background-size: cover; background-position: center; overflow: hidden;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 118px; background: linear-gradient(180deg, rgba(248, 243, 238, 0), var(--cream)); pointer-events: none; }
.hero-grid, .sub-hero-grid, .two-column, .character-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr); gap: 46px; align-items: center; }
.hero-copy { position: relative; z-index: 1; max-width: 720px; animation: fadeUp 700ms ease both; }
.eyebrow { color: var(--wine); font-size: 0.86rem; font-weight: 900; margin: 0 0 12px; }
.logo-line { margin: 0 0 10px; color: var(--rose); font-size: 5.8rem; line-height: 0.9; font-weight: 950; letter-spacing: 0; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 16px; font-size: 4.4rem; line-height: 1.06; color: var(--text); }
h2 { font-size: 2.4rem; line-height: 1.22; margin-bottom: 18px; }
h3 { font-size: 1.15rem; line-height: 1.35; margin-bottom: 10px; }
.hero-tagline { color: var(--wine); font-size: 1.24rem; font-weight: 800; margin-bottom: 14px; }
.hero-summary, .sub-lead, .section-head p, .content-card p, .feature-grid p, .timeline p, .qa-card p, .faq-item p, .chapter-grid p, .character-copy p { color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 28px 0; }
.btn { padding: 12px 20px; min-width: 132px; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--wine), var(--rose)); box-shadow: 0 16px 30px rgba(142, 53, 74, 0.22); }
.btn-primary::after { content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.btn-ghost { color: var(--wine); background: rgba(255, 255, 255, 0.68); border: 1px solid rgba(142, 53, 74, 0.18); }

.hero-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 28px 0 0; }
.hero-facts div, .info-panel, .content-card, .feature-grid article, .index-card, .gallery-card, .qa-card, .sub-meta, .archive-list div, .faq-item, .timeline article, .chapter-grid article, .character-media {
  border: 1px solid rgba(255, 255, 255, 0.74); background: var(--surface); box-shadow: var(--shadow-soft); border-radius: var(--radius);
}
.hero-facts div { padding: 12px; min-width: 0; }
.hero-facts dt, .meta-list dt, .archive-list dt { color: var(--muted); font-size: 0.82rem; }
.hero-facts dd, .meta-list dd, .archive-list dd { margin: 2px 0 0; font-weight: 800; color: var(--text); }
.hero-media { margin: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, 0.86); background: var(--pink-gray); box-shadow: var(--shadow); animation: floatImage 5s ease-in-out infinite; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.hero-media figcaption { padding: 12px 14px; font-size: 0.88rem; color: rgba(58, 52, 53, 0.78); background: rgba(248, 243, 238, 0.92); }

.intro-band, .gallery-band, .faq-band, .character-band { background: rgba(248, 243, 238, 0.58); }
.story-band, .timeline-band, .index-band { background: linear-gradient(180deg, rgba(232, 214, 214, 0.58), rgba(248, 243, 238, 0.72)); }
.section-head { max-width: 760px; }
.section-head-wide { max-width: 880px; margin-bottom: 30px; }
.info-panel, .content-card, .feature-grid article, .index-card, .qa-card { padding: 22px; transition: transform 180ms ease, box-shadow 180ms ease; }
.content-card:hover, .feature-grid article:hover, .index-card:hover { box-shadow: var(--shadow); }
.meta-list, .archive-list { display: grid; gap: 12px; margin: 0; }
.meta-list div { display: grid; grid-template-columns: 118px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.meta-list div:last-child { border-bottom: 0; }
.archive-list { grid-template-columns: repeat(2, 1fr); margin: 0 0 36px; }
.archive-list.compact { grid-template-columns: 1fr; }
.archive-list div { padding: 16px; }

.detail-grid, .feature-grid, .gallery-grid, .qa-grid, .card-grid, .chapter-grid { display: grid; gap: 18px; }
.detail-grid { grid-template-columns: repeat(3, 1fr); }
.detail-grid.five { grid-template-columns: repeat(5, 1fr); }
.feature-grid { grid-template-columns: repeat(4, 1fr); }
.card-grid.seven { grid-template-columns: repeat(7, 1fr); }
.chapter-grid { grid-template-columns: repeat(3, 1fr); }
.chapter-grid article { padding: 24px; position: relative; }
.chapter-grid span, .index-card span { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 28px; padding: 0 10px; border-radius: var(--radius); background: rgba(184, 92, 106, 0.12); color: var(--wine); font-size: 0.78rem; font-weight: 900; margin-bottom: 14px; }
.character-head { margin-left: auto; margin-right: auto; text-align: center; }
.character-showcase {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}
.character-portrait {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--pink-gray);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}
.character-portrait img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: center top; }
.character-portrait figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: rgba(58, 52, 53, 0.88);
  font-weight: 850;
  background: rgba(248, 243, 238, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.74);
}
.character-profile {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 4px 0;
}
.profile-title span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: var(--radius);
  background: rgba(184, 92, 106, 0.12);
  color: var(--wine);
  font-size: 0.8rem;
  font-weight: 950;
}
.profile-title p { margin-bottom: 0; color: var(--muted); }
.profile-table {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.profile-table div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(58, 52, 53, 0.1);
}
.profile-table div:last-child { border-bottom: 0; }
.profile-table dt { color: var(--muted); font-size: 0.82rem; }
.profile-table dd { margin: 4px 0 0; color: var(--text); font-weight: 820; }
.route-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.route-notes article {
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(232, 214, 214, 0.48);
  border: 1px solid rgba(184, 92, 106, 0.14);
  border-left: 4px solid var(--rose);
}
.route-notes h3 { font-size: 1rem; margin-bottom: 6px; }
.route-notes p { color: var(--muted); margin-bottom: 0; }

.gallery-grid { grid-template-columns: repeat(4, 1fr); }
.gallery-card { overflow: hidden; margin: 0; background: var(--surface-strong); }
.gallery-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--pink-gray); }
.gallery-card figcaption { padding: 12px 14px; color: rgba(58, 52, 53, 0.86); font-weight: 800; font-size: 0.92rem; }
.index-card { display: flex; flex-direction: column; min-height: 238px; color: var(--text); }
.text-link { display: inline-flex; align-items: center; color: var(--wine); font-weight: 900; border-bottom: 1px solid currentColor; }
.timeline { display: grid; gap: 14px; }
.timeline article { padding: 18px; position: relative; }
.timeline time { display: inline-block; color: var(--wine); font-weight: 900; margin-bottom: 8px; }
.timeline.long { margin-bottom: 34px; }
.release-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.32fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.release-intro {
  padding: 4px 26px 0 0;
  border-right: 1px solid var(--line);
  position: sticky;
  top: 112px;
}
.release-intro p { color: var(--muted); }
.release-intro .text-link { margin-top: 6px; }
.release-ledger {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.release-entry {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.release-date {
  display: grid;
  gap: 8px;
  align-content: start;
}
.release-date span {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: var(--radius);
  color: var(--wine);
  background: rgba(184, 92, 106, 0.12);
  font-weight: 900;
  font-size: 0.78rem;
}
.release-date time {
  color: var(--wine);
  font-weight: 900;
  line-height: 1.35;
}
.release-copy {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
}
.release-entry.is-current .release-date span {
  color: #fff;
  background: var(--wine);
}
.release-entry.is-current .release-copy {
  background: rgba(232, 214, 214, 0.52);
  border-color: rgba(184, 92, 106, 0.2);
}
.release-copy h3 { margin-bottom: 6px; }
.release-copy p { color: var(--muted); margin-bottom: 0; }
.numbered-list, .archive-cards { display: grid; gap: 14px; counter-reset: guide; }
.numbered-list article, .archive-cards article { counter-increment: guide; padding: 20px 20px 20px 72px; border-radius: var(--radius); background: var(--surface); border: 1px solid rgba(255, 255, 255, 0.74); box-shadow: var(--shadow-soft); position: relative; }
.numbered-list article::before, .archive-cards article::before { content: counter(guide); position: absolute; left: 20px; top: 20px; width: 34px; height: 34px; border-radius: var(--radius); background: var(--wine); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; }
.faq-list { display: grid; gap: 10px; }
.faq-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.faq-intro {
  padding: 6px 24px 6px 0;
  border-right: 1px solid var(--line);
  position: sticky;
  top: 112px;
}
.faq-intro p { color: var(--muted); }
.faq-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-items: start;
}
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 900; display: flex; justify-content: space-between; gap: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--wine); font-weight: 900; }
.faq-item[open] summary::after { content: "-"; }
.faq-item p { margin: 0; padding: 0 18px 18px; }
.sub-hero { padding-top: 76px; padding-bottom: 56px; background: linear-gradient(135deg, rgba(248, 243, 238, 0.94), rgba(232, 214, 214, 0.74)); }
.sub-hero h1 { font-size: 3.4rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 0.92rem; }
.breadcrumb a { color: var(--wine); font-weight: 800; }
.breadcrumb span::before { content: "/"; margin-right: 8px; color: rgba(58, 52, 53, 0.46); }
.sub-meta { padding: 24px; display: grid; gap: 12px; color: rgba(58, 52, 53, 0.78); }
.readable { max-width: 1000px; }
.readable > h2, .readable .section-head + h2 { margin-top: 38px; }
.qa-grid { grid-template-columns: repeat(2, 1fr); }
.center { text-align: center; }
.center-actions { justify-content: center; }
.quick-links, .footer-links, .friend-links { display: flex; flex-wrap: wrap; gap: 8px; }
.quick-links { justify-content: center; margin-top: 26px; }
.quick-links a, .friend-links a, .footer-links a { display: inline-flex; align-items: center; min-height: 36px; padding: 7px 12px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.68); color: rgba(58, 52, 53, 0.9); font-weight: 800; }
.site-footer { padding: 42px 0 48px; background: var(--text); color: rgba(255, 255, 255, 0.78); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 26px; }
.footer-title { color: #fff; font-weight: 900; margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, 0.86); background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); }
.site-footer a:hover { color: #fff; border-color: rgba(255, 255, 255, 0.34); }
.not-found { min-height: 62vh; display: grid; align-items: center; }
:focus-visible { outline: 3px solid rgba(184, 92, 106, 0.42); outline-offset: 3px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatImage { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: auto auto auto; }
  .site-nav { position: fixed; top: 80px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; padding: 14px; background: rgba(248, 243, 238, 0.97); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .menu-toggle { display: inline-flex; justify-self: end; }
  .site-nav a { padding: 12px; }
  .hero-grid, .sub-hero-grid, .two-column, .character-grid, .character-showcase, .release-layout, .faq-panel { grid-template-columns: 1fr; }
  .release-intro { position: static; padding: 0 0 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-facts, .detail-grid, .detail-grid.five, .feature-grid, .gallery-grid, .card-grid.seven, .chapter-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section-band { padding: 66px 0; }
  .hero { min-height: auto; padding-top: 78px; }
  .site-header { width: min(100% - 20px, 1220px); gap: 10px; margin-top: 10px; }
  .brand-copy small { display: none; }
  .header-action { padding: 9px 12px; min-height: 40px; }
  .logo-line { font-size: 3.15rem; }
  h1 { font-size: 2.65rem; }
  h2 { font-size: 1.85rem; }
  .sub-hero h1 { font-size: 2.45rem; }
  .hero-actions { align-items: stretch; }
  .btn { width: 100%; }
  .hero-facts, .detail-grid, .detail-grid.five, .feature-grid, .gallery-grid, .card-grid.seven, .chapter-grid, .qa-grid, .archive-list, .footer-grid, .profile-table, .route-notes, .faq-columns { grid-template-columns: 1fr; }
  .character-portrait img { min-height: 420px; }
  .profile-table div { grid-template-columns: 1fr; gap: 2px; }
  .release-entry { grid-template-columns: 1fr; gap: 10px; }
  .faq-panel { gap: 18px; }
  .faq-intro { position: static; padding: 0 0 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .meta-list div { grid-template-columns: 1fr; gap: 2px; }
  .gallery-card img { aspect-ratio: 16 / 10; }
  .numbered-list article, .archive-cards article { padding: 66px 18px 18px; }
  .footer-grid { gap: 16px; }
}

/* Whitehat protocol additions. Existing site styles remain unchanged. */
.my-news-home, .my-news-page { --my-news-surface: var(--surface-strong, rgba(255, 255, 255, 0.94)); --my-news-text: var(--text, #3A3435); --my-news-muted: var(--muted, rgba(58, 52, 53, 0.72)); --my-news-accent: var(--wine, #8E354A); --my-news-line: var(--line, rgba(58, 52, 53, 0.14)); }
.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; }
.my-friend-link { color: inherit; }
.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: #1b140c; 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; } }
.download-confirm-backdrop {
  background: rgba(5, 8, 15, 0.72);
}
.download-confirm-panel {
  color: #172033;
  background: #ffffff;
  border: 1px solid #d8e0ea;
  opacity: 1;
  backdrop-filter: none;
}
.download-confirm-panel h2 {
  color: #172033;
}
.download-confirm-panel p {
  color: #526174;
}
.download-confirm-actions button {
  color: #172033;
  background: #f5f7fa;
  border-color: #c8d2df;
}
.download-confirm-actions .download-confirm-primary {
  color: #ffffff;
  background: #1d4ed8;
  border-color: #1d4ed8;
}
