:root {
  color-scheme: light;
  --ink: #101716;
  --ink-soft: #52605c;
  --paper: #f4f1e9;
  --card: rgba(255, 255, 255, 0.82);
  --line: rgba(16, 23, 22, 0.11);
  --accent: #d85d3d;
  --accent-deep: #a93c24;
  --gold: #e9bc68;
  --green: #286856;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 24px 70px rgba(45, 37, 24, 0.10);
  --font-sans: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(16, 23, 22, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 23, 22, 0.018) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.page-glow {
  position: fixed;
  z-index: -1;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.3;
}

.page-glow--top {
  top: -220px;
  right: -120px;
  background: #f3b56e;
}

.page-glow--bottom {
  bottom: -260px;
  left: -180px;
  background: #91bca9;
}

.site-header,
.page-shell,
.site-footer {
  width: min(1380px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  color: #fff8e9;
  background: var(--ink);
  font-weight: 800;
  letter-spacing: -0.06em;
  box-shadow: 0 10px 24px rgba(16, 23, 22, 0.16);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 15px;
  letter-spacing: 0.08em;
}

.brand-copy small {
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.22em;
}

.header-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.live-status {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #39a47e;
  box-shadow: 0 0 0 5px rgba(57, 164, 126, 0.12);
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.icon-button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.icon-button:hover {
  border-color: rgba(16, 23, 22, 0.25);
  background: #fff;
  transform: translateY(-2px);
}

.icon-button.is-loading svg {
  animation: spin 850ms linear infinite;
}

.hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
  min-height: 580px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: #fffaf0;
  background:
    radial-gradient(circle at 18% 15%, rgba(233, 188, 104, 0.18), transparent 31%),
    linear-gradient(140deg, #192321 0%, #101716 72%);
  box-shadow: 0 32px 80px rgba(16, 23, 22, 0.18);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: inherit;
  pointer-events: none;
}

.hero-copy {
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(52px, 7vw, 94px);
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero-copy .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  display: grid;
  gap: 4px;
  margin: 24px 0 22px;
  font-family: var(--font-serif);
  font-size: clamp(48px, 6.2vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

h1 span:last-child {
  color: #f1c677;
}

.hero-description {
  max-width: 610px;
  margin-bottom: 36px;
  color: rgba(255, 250, 240, 0.65);
  font-size: 16px;
  line-height: 1.9;
}

.date-panel {
  display: flex;
  gap: 20px;
  align-items: center;
  width: fit-content;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.date-primary {
  color: #fffaf0;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 300;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.date-secondary {
  display: grid;
  gap: 5px;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.date-secondary strong {
  font-size: 14px;
  letter-spacing: 0.05em;
}

.date-secondary span {
  color: rgba(255, 250, 240, 0.55);
  font-size: 13px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover:not(:disabled):not(.is-disabled) {
  transform: translateY(-2px);
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button--primary {
  color: #1c201c;
  background: #f1c677;
  box-shadow: 0 12px 28px rgba(241, 198, 119, 0.16);
}

.button--primary:hover:not(.is-disabled) {
  background: #ffda94;
  box-shadow: 0 16px 34px rgba(241, 198, 119, 0.22);
}

.button--ghost {
  color: #fffaf0;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.button--ghost:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.09);
}

.button--dark {
  color: #fff;
  background: var(--ink);
}

.button:disabled,
.button.is-disabled {
  opacity: 0.42;
  cursor: not-allowed;
  pointer-events: none;
}

.hero-visual {
  min-width: 0;
  margin: 0;
  padding: 24px 24px 24px 0;
}

.cover-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 532px;
  overflow: hidden;
  border-radius: 24px;
  background: #263230;
}

.cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: imageReveal 650ms ease both;
}

.image-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  background: linear-gradient(115deg, #263230, #303f3b, #263230);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
}

.image-placeholder span {
  display: block;
  width: 84px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

.image-placeholder span:nth-child(2) {
  width: 120px;
}

.cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(8, 13, 12, 0.72));
  pointer-events: none;
}

.cover-caption {
  position: absolute;
  right: 28px;
  bottom: 26px;
  left: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.issue-badge {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #fff;
  background: rgba(16, 23, 22, 0.32);
  backdrop-filter: blur(12px);
  font-weight: 800;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}

.news-panel,
.quote-card,
.poster-card,
.meta-card {
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.news-panel {
  padding: clamp(30px, 4vw, 54px);
  border-radius: var(--radius-lg);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.dialog-header h2 {
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.04em;
}

.news-count {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  min-height: 116px;
  gap: 15px;
  align-items: start;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.56);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  animation: riseIn 480ms both;
  animation-delay: calc(var(--item-index, 0) * 35ms);
}

.news-item:hover {
  z-index: 1;
  border-color: rgba(216, 93, 61, 0.24);
  background: #fff;
  box-shadow: 0 16px 32px rgba(41, 35, 25, 0.08);
  transform: translateY(-3px);
}

.news-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: var(--accent-deep);
  background: #f9e7dd;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.news-item p {
  margin: 1px 0 0;
  font-size: 15px;
  font-weight: 620;
  line-height: 1.75;
}

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

.skeleton-card {
  height: 116px;
  border-radius: var(--radius-md);
  background: linear-gradient(105deg, rgba(16, 23, 22, 0.045) 30%, rgba(255, 255, 255, 0.75) 46%, rgba(16, 23, 22, 0.045) 62%);
  background-size: 260% 100%;
  animation: shimmer 1.3s infinite linear;
}

.error-state {
  min-height: 300px;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 32px;
  border: 1px dashed rgba(216, 93, 61, 0.34);
  border-radius: var(--radius-md);
  text-align: left;
  background: rgba(249, 231, 221, 0.5);
}

.error-state:not([hidden]) {
  display: flex;
}

.error-state h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.error-state p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.error-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 800;
}

.sidebar {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px;
}

.quote-card,
.meta-card {
  border-radius: var(--radius-lg);
}

.quote-card {
  position: relative;
  overflow: hidden;
  padding: 34px 32px;
}

.quote-mark {
  position: absolute;
  top: 5px;
  right: 20px;
  color: rgba(216, 93, 61, 0.11);
  font-family: var(--font-serif);
  font-size: 116px;
  line-height: 1;
}

.quote-card blockquote {
  position: relative;
  margin: 22px 0 20px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.65;
}

.quote-card footer {
  color: var(--ink-soft);
  font-size: 13px;
}

.poster-card {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  padding: 0;
  border-radius: var(--radius-lg);
  color: #fff;
  cursor: pointer;
  text-align: left;
}

.poster-card:disabled {
  cursor: wait;
}

.poster-card img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  object-position: top;
  transition: transform 350ms ease;
}

.poster-card:hover:not(:disabled) img {
  transform: scale(1.035);
}

.poster-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 5px;
  color: var(--ink);
  background: linear-gradient(135deg, #e9dfce, #f7f1e6);
  text-align: center;
}

.poster-fallback strong {
  font-family: var(--font-serif);
  font-size: 25px;
}

.poster-fallback small {
  color: var(--ink-soft);
}

.poster-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 3px;
  padding: 60px 26px 24px;
  background: linear-gradient(transparent, rgba(12, 17, 16, 0.88));
}

.poster-overlay strong {
  font-size: 16px;
}

.poster-overlay small {
  color: rgba(255, 255, 255, 0.64);
}

.meta-card {
  padding: 12px 26px;
}

.meta-row {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.meta-row:last-child {
  border-bottom: 0;
}

.meta-row span {
  color: var(--ink-soft);
  font-size: 13px;
}

.meta-row strong {
  max-width: 205px;
  font-size: 13px;
  text-align: right;
}

.api-state {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--green);
}

.api-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.api-state.is-cached {
  color: #9c6c22;
}

.api-state.is-error {
  color: var(--accent-deep);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 120px;
  color: var(--ink-soft);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  text-underline-offset: 3px;
}

.poster-dialog {
  width: min(900px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 26px;
  color: var(--ink);
  background: #f8f6f0;
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.38);
}

.poster-dialog::backdrop {
  background: rgba(8, 12, 11, 0.76);
  backdrop-filter: blur(12px);
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 26px 20px;
  border-bottom: 1px solid var(--line);
}

.dialog-header h2 {
  font-size: 28px;
}

.icon-button--light {
  background: #fff;
}

.dialog-body {
  max-height: calc(100dvh - 150px);
  overflow: auto;
  overscroll-behavior: contain;
}

.dialog-body img {
  display: block;
  width: 100%;
  height: auto;
}

body:has(dialog[open]) {
  overflow: hidden;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  to { background-position: -160% 0; }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes imageReveal {
  from { opacity: 0; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 1100px) {
  .hero-card {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  }

  .hero-copy {
    padding: 54px;
  }

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

  .news-list,
  .skeleton-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header,
  .page-shell,
  .site-footer {
    width: min(100% - 28px, 680px);
  }

  .site-header {
    min-height: 78px;
  }

  .hero-card {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 44px 28px 34px;
  }

  h1 {
    font-size: clamp(48px, 14vw, 72px);
  }

  .hero-visual {
    padding: 0 14px 14px;
  }

  .cover-frame {
    min-height: 380px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-card,
  .meta-card {
    grid-column: span 1;
  }

  .poster-card {
    grid-row: span 2;
  }

  .site-footer {
    flex-direction: column;
    min-height: 112px;
    justify-content: center;
    text-align: center;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .brand-copy {
    display: none;
  }

  .live-status span:last-child {
    display: none;
  }

  .hero-description {
    font-size: 15px;
  }

  .date-panel {
    width: 100%;
  }

  .date-secondary {
    min-width: 0;
  }

  .date-secondary span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cover-frame {
    min-height: 330px;
  }

  .cover-caption span:last-child {
    display: none;
  }

  .news-panel {
    padding: 28px 18px;
  }

  .news-item {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 0;
    padding: 18px 16px;
  }

  .news-number {
    width: 38px;
    height: 38px;
  }

  .news-item p {
    font-size: 14px;
  }

  .sidebar {
    grid-template-columns: 1fr;
  }

  .poster-card {
    min-height: 360px;
  }

  .error-state:not([hidden]) {
    flex-direction: column;
    text-align: center;
  }
}

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