:root {
  --paper: #f5f1e8;
  --paper-deep: #ebe3d4;
  --ink: #24312b;
  --muted: #667068;
  --line: rgba(36, 49, 43, 0.16);
  --accent: #bd6243;
  --green: #38594a;
  --white: #fffdf8;
  --shadow: 0 24px 60px rgba(50, 46, 37, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
  line-height: 1.75;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 241, 232, 0.9);
  backdrop-filter: blur(14px);
}
.site-header__inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { text-decoration: none; font-size: 21px; font-weight: 700; letter-spacing: 0.08em; }
.site-brand span { display: inline-grid; place-items: center; margin-right: 8px; width: 36px; height: 36px; color: var(--white); background: var(--green); border-radius: 50%; font-size: 15px; }
.site-header nav { display: flex; align-items: center; gap: 28px; font-family: system-ui, sans-serif; font-size: 14px; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { color: var(--accent); }
.site-header .nav-game, .site-header .nav-follow { padding: 8px 14px; color: var(--white); background: var(--ink); border-radius: 999px; }
.site-header .nav-game:hover, .site-header .nav-follow:hover { color: var(--white); background: var(--accent); }

.hero { min-height: 670px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr); align-items: center; gap: 72px; padding-block: 96px; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font: 700 12px/1.2 system-ui, sans-serif; letter-spacing: 0.18em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(44px, 6vw, 78px); line-height: 1.13; letter-spacing: -0.045em; font-weight: 650; }
.hero-intro { max-width: 620px; margin: 30px 0 34px; color: var(--muted); font-size: 18px; }
.primary-link { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; color: var(--white); background: var(--accent); border-radius: 999px; font: 600 14px/1 system-ui, sans-serif; text-decoration: none; }
.primary-link:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(189, 98, 67, 0.25); }

.game-note { position: relative; padding: 32px; overflow: hidden; color: var(--white); background: var(--green); border-radius: 2px 42px 2px 42px; box-shadow: var(--shadow); }
.game-note::before { content: ""; position: absolute; inset: -70px -90px auto auto; width: 210px; height: 210px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.game-note__copy > span { font: 600 12px/1.2 system-ui, sans-serif; letter-spacing: .14em; opacity: .72; }
.game-note h2 { margin: 12px 0 10px; font-size: 30px; }
.game-note__copy p { margin: 0 0 24px; color: rgba(255,255,255,.78); font-size: 15px; }
.entry-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.entry-card { min-width: 0; padding: 13px; color: var(--ink); background: rgba(255,253,248,.96); border-radius: 14px; }
.entry-card img { width: 100%; aspect-ratio: 1; object-fit: cover; padding: 6px; background: var(--white); border-radius: 10px; }
.entry-card h3 { margin: 12px 0 4px; font: 700 15px/1.35 system-ui, sans-serif; }
.entry-card p { margin: 0 !important; color: var(--muted) !important; font: 12px/1.55 system-ui, sans-serif; }

.article-section { padding-block: 40px 120px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 50px; margin-bottom: 38px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.1; }
.section-heading > p { max-width: 520px; justify-self: end; margin: 0; color: var(--muted); }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; }
.article-card { min-width: 0; }
.article-card--featured { grid-column: span 2; }
.article-card__image { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--paper-deep); }
.article-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.article-card:hover .article-card__image img { transform: scale(1.025); }
.article-card__body { padding-top: 18px; }
.article-no { color: var(--accent); font: 700 11px/1 system-ui, sans-serif; letter-spacing: .12em; }
.article-card h3 { margin: 10px 0; font-size: clamp(21px, 2.2vw, 29px); line-height: 1.3; }
.article-card h3 a { text-decoration: none; }
.article-card p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.text-link { color: var(--green); font: 650 14px/1.2 system-ui, sans-serif; text-decoration: none; }
.article-card--featured .article-card__body { display: grid; grid-template-columns: 110px minmax(0, 1fr); column-gap: 24px; }
.article-card--featured h3, .article-card--featured p, .article-card--featured .text-link { grid-column: 2; }
.article-card--featured h3 { font-size: clamp(28px, 3.4vw, 44px); }

.about-strip { padding-block: 96px; color: var(--white); background: var(--ink); }
.about-strip__inner { display: grid; grid-template-columns: 160px 1fr 1fr; align-items: start; gap: 40px; }
.about-strip h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.2; }
.about-strip p:last-child { margin: 4px 0 0; color: rgba(255,255,255,.68); font-size: 17px; }

.site-footer { color: var(--ink); border-top: 1px solid var(--line); }
.site-footer__inner { min-height: 160px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-footer strong { font-size: 20px; }
.site-footer p { margin: 2px 0 0; color: var(--muted); }
.site-footer__legal { display: flex; flex-direction: column; align-items: flex-end; color: var(--muted); font: 13px/1.8 system-ui, sans-serif; }
.site-footer__legal a { text-decoration: none; }
.site-footer__legal a:hover { color: var(--accent); }
.site-footer__record { display: inline-flex; align-items: center; gap: 6px; }
.site-footer__record img { width: 18px; height: 20px; object-fit: contain; }

.article-wrap { width: min(860px, calc(100% - 40px)); margin: 0 auto; padding: 86px 0 110px; }
.article-header { margin-bottom: 52px; text-align: center; }
.article-header h1 { margin: 0 auto; max-width: 820px; font-size: clamp(38px, 5.5vw, 66px); line-height: 1.16; letter-spacing: -0.035em; }
.article-deck { max-width: 680px; margin: 26px auto 0; color: var(--muted); font-size: 18px; }
.article-content > p, .article-content > ul, .article-content > blockquote, .article-content > h2, .article-content > h3 { width: min(680px, 100%); margin-inline: auto; }
.article-content > p { margin-block: 0 1.15em; font-size: 18px; }
.article-content h2 { margin-top: 2.2em; margin-bottom: .8em; font-size: 30px; line-height: 1.35; }
.article-content h3 { margin-top: 2em; font-size: 23px; }
.article-content ul { margin-top: 16px; margin-bottom: 26px; padding-left: 1.3em; font-size: 17px; }
.article-content blockquote { margin-top: 28px; margin-bottom: 28px; padding: 20px 24px; color: var(--green); background: rgba(56,89,74,.08); border-left: 3px solid var(--green); }
.article-content figure { margin: 54px 0; }
.article-content figure img { width: 100%; max-height: 680px; object-fit: contain; background: var(--paper-deep); box-shadow: var(--shadow); }
.article-content figcaption, .standalone-caption { margin-top: 13px !important; color: var(--muted); font-size: 13px !important; text-align: center; font-family: system-ui, sans-serif; }
.article-content code { padding: 2px 6px; background: var(--paper-deep); border-radius: 4px; font-size: .9em; }
.article-content a { color: var(--accent); text-underline-offset: 3px; }

.article-game-card { width: min(720px, 100%); margin: 80px auto 0; padding: 34px 38px 38px; color: var(--white); background: var(--green); border-radius: 4px 34px 4px 34px; }
.article-game-card h2 { width: auto; margin: 0 0 8px; font-size: 30px; }
.article-game-card__copy > p:not(.eyebrow) { width: auto; margin: 0; color: rgba(255,255,255,.75); font-size: 15px; }
.article-game-card .eyebrow { color: #efb69d; }
.article-game-card .entry-grid { margin-top: 24px; }
.article-game-card .entry-card { display: grid; grid-template-columns: 126px 1fr; grid-template-rows: auto 1fr; column-gap: 16px; align-items: start; }
.article-game-card .entry-card img { grid-row: 1 / 3; }
.article-game-card .entry-card h3 { margin-top: 4px; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); }
.article-nav a { display: flex; flex-direction: column; text-decoration: none; line-height: 1.4; }
.article-nav a span { margin-bottom: 6px; color: var(--muted); font: 12px/1 system-ui, sans-serif; }
.article-nav__next { align-items: flex-end; text-align: right; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 50px; padding-block: 70px; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-card--featured { grid-column: span 2; }
  .about-strip__inner { grid-template-columns: 1fr 2fr; }
  .about-strip__inner > p:last-child { grid-column: 2; }
}

@media (max-width: 640px) {
  .wrap, .article-wrap { width: min(100% - 28px, 1160px); }
  .site-header__inner { min-height: 64px; }
  .site-header nav { gap: 14px; }
  .site-header nav a:first-child { display: none; }
  .hero { padding-block: 56px 70px; }
  .hero h1 { font-size: 43px; }
  .hero-intro { font-size: 16px; }
  .game-note { padding: 24px; }
  .entry-grid { gap: 10px; }
  .entry-card { padding: 10px; }
  .entry-card h3 { font-size: 14px; }
  .entry-card p { font-size: 11px; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .section-heading > p { justify-self: start; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card--featured { grid-column: auto; }
  .article-card--featured .article-card__body { display: block; }
  .article-card--featured h3 { font-size: 28px; }
  .about-strip { padding-block: 70px; }
  .about-strip__inner { grid-template-columns: 1fr; gap: 18px; }
  .about-strip__inner > p:last-child { grid-column: auto; }
  .site-footer__inner { align-items: flex-start; flex-direction: column; justify-content: center; }
  .site-footer__legal { align-items: flex-start; }
  .article-wrap { padding-top: 54px; }
  .article-header { text-align: left; }
  .article-header h1 { font-size: 39px; }
  .article-deck { font-size: 16px; }
  .article-content > p { font-size: 17px; }
  .article-content h2 { font-size: 25px; }
  .article-content figure { margin: 38px 0; }
  .article-game-card { padding: 28px 20px; }
  .article-game-card .entry-card { display: block; }
  .article-game-card .entry-card h3 { margin-top: 10px; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav__next { align-items: flex-start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
