:root {
  --bg: #080a0d;
  --surface: #11151a;
  --surface-2: #171c22;
  --paper: #f7f4ed;
  --ink: #171511;
  --muted: #6d6b65;
  --line: #d9d2c4;
  --gold: #caa55a;
  --gold-bright: #f0cf82;
  --red: #8f302a;
  --max: 1180px;
  --reading: 720px;
  color-scheme: dark light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 20% -10%, rgba(202,165,90,.16), transparent 34rem),
    var(--bg);
  color: #ece8df;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: hidden;
}
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
img { max-width: 100%; height: auto; }
ins.adsbygoogle,
div[id^="aswift_"],
iframe[id^="aswift_"] {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
}
button, input { font: inherit; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 1000; padding: .7rem 1rem; background: #fff; color: #000; }
.skip-link:focus { top: 1rem; }
.reading-progress { position: fixed; inset: 0 auto auto 0; height: 3px; width: 0; background: var(--gold-bright); z-index: 100; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(202,165,90,.22); background: rgba(8,10,13,.92); backdrop-filter: blur(14px); }
.header-inner { max-width: var(--max); margin: 0 auto; min-height: 68px; padding: .65rem 1.25rem; display: flex; align-items: center; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; text-decoration: none; white-space: nowrap; }
.brand-logo { display: block; width: auto; height: 42px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.site-nav a { padding: .48rem .62rem; border-radius: 6px; color: #d7d2c7; font-size: .92rem; text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { background: rgba(202,165,90,.1); color: var(--gold-bright); }
.nav-toggle { display: none; border: 1px solid rgba(202,165,90,.4); border-radius: 6px; background: transparent; color: #fff; padding: .48rem .7rem; }
.header-search { display: flex; width: 220px; border: 1px solid rgba(255,255,255,.16); border-radius: 7px; overflow: hidden; }
.header-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: rgba(255,255,255,.04); color: #fff; padding: .5rem .65rem; }
.header-search button { border: 0; background: var(--gold); color: #17110a; padding: .45rem .65rem; font-weight: 800; cursor: pointer; }

.shell { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.hero { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); border-bottom: 1px solid rgba(202,165,90,.24); }
.eyebrow { color: var(--gold-bright); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 850px; margin: .65rem 0 1.1rem; font-family: Georgia, "Noto Serif KR", serif; font-size: clamp(2.35rem, 6.2vw, 5rem); line-height: 1.08; letter-spacing: -.055em; }
.hero p { max-width: 650px; margin: 0; color: #bdb7aa; font-size: clamp(1rem, 2vw, 1.2rem); }
.hero-search { display: flex; max-width: 650px; margin-top: 2rem; border: 1px solid rgba(202,165,90,.45); border-radius: 9px; overflow: hidden; box-shadow: 0 16px 50px rgba(0,0,0,.25); }
.hero-search input { flex: 1; min-width: 0; border: 0; background: #f5f1e8; color: #171511; padding: .95rem 1rem; outline: none; }
.hero-search button { border: 0; background: var(--gold); color: #17110a; padding: .85rem 1.25rem; font-weight: 900; cursor: pointer; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; margin-top: 2.25rem; }
.quick-link { min-height: 88px; padding: .9rem; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); border-radius: 8px; text-decoration: none; }
.quick-link:hover { border-color: var(--gold); transform: translateY(-2px); }
.quick-link small { display: block; color: #8e8a82; font-size: .75rem; }
.quick-link strong { display: block; margin-top: .22rem; color: #f4eee2; line-height: 1.35; }
.lead-story { margin: 3.4rem 0 .2rem; border: 1px solid rgba(202,165,90,.28); border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #171b20, #0f1114); }
.lead-story > a { display: grid; grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr); min-height: 330px; text-decoration: none; }
.lead-story img { width: 100%; height: 100%; object-fit: cover; }
.lead-story div { align-self: center; padding: clamp(1.7rem, 4vw, 3.5rem); }
.lead-label { color: var(--gold-bright); font-size: .76rem; font-weight: 900; letter-spacing: .08em; }
.lead-story h2 { margin: .55rem 0 .8rem; font-family: Georgia, "Noto Serif KR", serif; font-size: clamp(1.65rem, 3.5vw, 2.7rem); line-height: 1.25; letter-spacing: -.04em; }
.lead-story p { margin: 0 0 1.2rem; color: #aaa49a; }
.lead-story strong { color: #f3d38d; font-size: .88rem; }
.series-invite { margin: 3.4rem 0 0; padding: clamp(1.3rem, 3.5vw, 2.2rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border: 1px solid rgba(202,165,90,.35); border-left: 5px solid #caa55a; border-radius: 12px; background: linear-gradient(120deg, #181b17, #20231d); }
.series-invite span { color: #d5b56f; font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.series-invite h2 { margin: .35rem 0 .45rem; color: #f6f0e5; font-family: Georgia, "Noto Serif KR", serif; font-size: clamp(1.35rem, 3vw, 2rem); }
.series-invite p { max-width: 760px; margin: 0; color: #aaa99f; line-height: 1.65; }
.series-invite > a { flex: none; padding: .75rem .9rem; border-radius: 6px; color: #171713; background: #d8b66d; font-size: .85rem; font-weight: 900; text-decoration: none; }

.section { padding: 3.4rem 0; }
.section + .section { border-top: 1px solid rgba(255,255,255,.08); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.section-head h2 { margin: 0; font-family: Georgia, "Noto Serif KR", serif; font-size: clamp(1.55rem, 3vw, 2.2rem); letter-spacing: -.04em; }
.section-head a { color: var(--gold-bright); font-size: .9rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.article-card { min-width: 0; border: 1px solid rgba(255,255,255,.1); background: var(--surface); border-radius: 9px; overflow: hidden; transition: border-color .18s ease, transform .18s ease; }
.article-card:hover { border-color: rgba(202,165,90,.7); transform: translateY(-3px); }
.article-card > a { display: block; height: 100%; text-decoration: none; }
.card-image { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #20242a; }
.card-placeholder { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; background: radial-gradient(circle, #30291b, #13161b 68%); color: rgba(240,207,130,.55); font-family: Georgia, serif; font-size: 2rem; }
.card-body { padding: 1rem 1rem 1.15rem; }
.card-meta { color: var(--gold); font-size: .76rem; font-weight: 800; }
.card-title { margin: .3rem 0 .45rem; color: #f5f0e6; font-size: 1.02rem; line-height: 1.45; }
.card-excerpt { margin: 0; color: #9f9a90; font-size: .88rem; line-height: 1.58; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.paper-wrap {
  --accent: #9a6b18;
  --accent-soft: #efe5cf;
  --reader-scale: 1;
  min-height: 70vh;
  background:
    linear-gradient(180deg, #eee8dc 0, var(--paper) 28rem),
    var(--paper);
  color: var(--ink);
}
.theme-news .paper-wrap { --accent: #8f302a; --accent-soft: #f0ded8; }
.theme-download .paper-wrap { --accent: #715b1d; --accent-soft: #ede4c8; }
.theme-world .paper-wrap { --accent: #376052; --accent-soft: #dfe9e4; }
.theme-error .paper-wrap { --accent: #9a462b; --accent-soft: #f3e1d9; }
.theme-pc .paper-wrap { --accent: #315d78; --accent-soft: #dce9ef; }
.theme-other .paper-wrap { --accent: #5c4b75; --accent-soft: #e6e0ed; }
.article-shell { max-width: 1240px; margin: 0 auto; padding: 1.2rem clamp(1.5rem, 4vw, 3.25rem) 5.5rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; color: var(--muted); font-size: .82rem; }
.breadcrumbs a { color: #5b4a25; }
.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  min-height: 430px;
  margin: 1.35rem 0 3.25rem;
  border: 1px solid #d7cdbb;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 70px rgba(47, 36, 17, .1);
}
.article-header { align-self: center; margin: 0; padding: clamp(2.1rem, 5vw, 4.25rem); }
.article-kicker { color: var(--accent); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.article-header h1 { margin: .7rem 0 1rem; font-family: Georgia, "Noto Serif KR", serif; font-size: clamp(2.15rem, 4.4vw, 4rem); line-height: 1.14; letter-spacing: -.05em; text-wrap: balance; }
.article-deck { margin: 0 0 1.35rem; color: #5d5950; font-size: clamp(1rem, 1.7vw, 1.14rem); line-height: 1.72; }
.article-meta { display: flex; flex-wrap: wrap; gap: .55rem 1rem; color: var(--muted); font-size: .82rem; }
.article-meta span { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .52rem; border: 1px solid #ded5c6; border-radius: 99px; background: #faf8f3; }
.article-meta span + span::before { content: none; }
.featured { min-width: 0; margin: 0; background: #171713; }
.featured img { display: block; width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.article-page.game-lineage2m .featured img[src$="lineage2m-coupon-check-v1.svg"] { object-fit: contain; background: #071b24; }
.page-hero:not(:has(.featured)) { display: block; min-height: 0; }
.page-hero:not(:has(.featured)) .article-header { max-width: 820px; }
.article-layout { max-width: 880px; margin: 0 auto; }
.article-layout.has-rail { display: grid; grid-template-columns: minmax(0, 780px) 250px; align-items: start; gap: clamp(2.4rem, 5vw, 4.5rem); max-width: 1110px; }
.article-column { min-width: 0; }
.article-summary {
  margin: 0 0 2rem;
  padding: 1.35rem clamp(1.25rem, 3vw, 2rem);
  border-left: 5px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--accent-soft);
}
.article-summary span { display: block; margin-bottom: .3rem; color: var(--accent); font-size: .78rem; font-weight: 900; letter-spacing: .08em; }
.article-summary p { margin: 0; color: #3f3b34; font-size: 1rem; font-weight: 650; line-height: 1.72; }
.article-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border: 1px solid #e0d8ca;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 44px rgba(47, 36, 17, .055);
  font-size: calc(1.06rem * var(--reader-scale));
  line-height: 1.9;
}
.article-content > :first-child { margin-top: 0; }
.article-content h2, .article-content h3, .article-content h4 { scroll-margin-top: 88px; font-family: Georgia, "Noto Serif KR", serif; line-height: 1.35; letter-spacing: -.03em; }
.article-content { counter-reset: editorial-section; }
.article-content h2 { position: relative; margin: 3.5rem 0 1.2rem; padding: 1rem 0 0 3.1rem; border-top: 1px solid #d9cfbd; font-size: clamp(1.48rem, 3vw, 2rem); }
.article-content h2::before {
  counter-increment: editorial-section;
  content: counter(editorial-section, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .98rem;
  color: var(--accent);
  font-family: system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
}
.article-content h3 { margin: 2.1rem 0 .8rem; font-size: 1.3rem; }
.article-content p { margin: 1rem 0; }
.article-content a { color: var(--accent); font-weight: 750; }
.article-content ul, .article-content ol { margin: 1.2rem 0; padding: 1.1rem 1.25rem 1.1rem 2.65rem; border-radius: 10px; background: #f6f3ec; }
.article-content li + li { margin-top: .55rem; }
.article-content blockquote { margin: 1.75rem 0; padding: 1rem 1.35rem; border-left: 4px solid var(--accent); border-radius: 0 8px 8px 0; background: var(--accent-soft); }
.article-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.75rem 0; font-size: .95rem; }
.article-content th, .article-content td { padding: .68rem; border: 1px solid #d1c8b8; text-align: left; }
.article-content th { background: #ece4d4; }
.article-content img { display: block; margin: 1.4rem auto; border-radius: 7px; }
.article-content iframe { max-width: 100%; }
.article-content .elementor-spacer { display: none !important; }
.article-ad-slot {
  position: relative;
  min-width: 0;
  width: calc(100% + 4rem);
  min-height: 132px;
  margin: .25rem -2rem 2.35rem;
  padding: 1.45rem 1rem .75rem;
  border-block: 1px solid #e1d8c9;
  background: #faf8f3;
  overflow: hidden;
}
.article-ad-slot::before, .desktop-ad-rail::before { content: none; display: none; }
.article-ad-slot .adsbygoogle { display: block; min-width: 0 !important; max-width: 100% !important; width: 100% !important; min-height: 96px; margin-inline: auto; overflow: hidden; }
.desktop-ad-rail {
  position: fixed;
  z-index: 20;
  top: 92px;
  left: max(10px, calc(50vw - 720px));
  width: 120px;
  min-height: 620px;
  padding: 1.3rem 0 0;
  border: 1px solid rgba(202,165,90,.24);
  border-radius: 8px;
  background: #f7f4ed;
  box-shadow: 0 12px 36px rgba(0,0,0,.18);
  overflow: hidden;
}
.desktop-ad-rail .adsbygoogle { display: block; width: 100%; min-height: 600px; }
.article-rail { position: sticky; top: 92px; display: grid; gap: 1rem; }
.article-toc, .reader-tools { padding: 1.15rem; border: 1px solid #ddd3c2; border-radius: 12px; background: rgba(255,255,255,.75); }
.article-toc p, .reader-tools p { margin: 0 0 .7rem; color: #28241d; font-size: .82rem; font-weight: 900; }
.article-toc ol { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.article-toc li { counter-increment: toc; }
.article-toc a { display: grid; grid-template-columns: 1.5rem 1fr; color: #625c51; font-size: .86rem; line-height: 1.45; text-decoration: none; }
.article-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--accent); font-size: .7rem; font-weight: 900; }
.article-toc a:hover, .article-toc a[aria-current="true"] { color: var(--accent); font-weight: 800; }
.reader-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; }
.reader-buttons button { min-height: 38px; border: 1px solid #d7cdbd; border-radius: 7px; background: #fff; color: #39342b; cursor: pointer; font-size: .82rem; font-weight: 800; }
.reader-buttons button:hover, .reader-buttons button:focus-visible { border-color: var(--accent); color: var(--accent); }
.rail-home { display: flex; justify-content: space-between; padding: .9rem 1rem; border-radius: 10px; background: #191814; color: #f0cf82; font-size: .84rem; font-weight: 850; text-decoration: none; }
.mobile-toc { display: none; }
.home-boost, .download-boost, .issue-boost { max-width: 1110px; margin: 3rem auto 0; padding: 1.25rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-radius: 12px; }
.home-boost { border: 1px solid #cfbf9d; background: #f0e8d8; }
.home-boost strong, .download-boost strong, .issue-boost strong { display: block; font-family: Georgia, "Noto Serif KR", serif; }
.home-boost span, .download-boost span, .issue-boost span { display: block; font-size: .9rem; }
.home-boost span { color: #6a6358; }
.home-boost a, .download-boost a, .issue-boost a { flex: none; border-radius: 6px; padding: .68rem .9rem; text-decoration: none; font-weight: 900; }
.home-boost a { background: #151515; color: #f1cf83; }
.download-boost { border: 1px solid #9a7736; border-left: 5px solid #b68a38; background: #171713; color: #f5eddd; box-shadow: 0 10px 30px rgba(35, 24, 5, .14); }
.download-boost span { color: #cfc5b2; }
.download-boost a { border: 1px solid #dfbc70; background: #caa55a; color: #17110a; }
.download-boost a:hover, .download-boost a:focus-visible { background: #efd18d; }
.issue-boost { border: 1px solid #bd9f6a; border-left: 5px solid #9a462b; background: #fff8ec; color: #231d15; }
.issue-boost span { color: #6c6255; }
.issue-boost a { background: #8e3f29; color: #fff8ec; }
.issue-boost a:hover, .issue-boost a:focus-visible { background: #6f2f1e; }
.series-boost { max-width: 1110px; margin: 3rem auto 0; padding: 1.25rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid #8aa5b7; border-left: 5px solid #416b83; border-radius: 12px; background: #eaf2f5; }
.series-boost strong, .series-boost span { display: block; }
.series-boost strong { font-family: Georgia, "Noto Serif KR", serif; }
.series-boost span { color: #53656f; font-size: .9rem; }
.series-boost__actions { display: flex; flex: none; gap: .45rem; }
.series-boost__actions a { padding: .68rem .8rem; border: 1px solid #315e76; border-radius: 6px; color: #fff; background: #315e76; font-size: .82rem; font-weight: 900; text-decoration: none; }
.series-boost__actions a + a { color: #315e76; background: #f8fcfd; }
.related { max-width: 1110px; margin: 4.25rem auto 0; padding-top: 2.2rem; border-top: 1px solid #d8d0c1; }
.related h2 { font-family: Georgia, "Noto Serif KR", serif; font-size: 1.65rem; }
.related .article-card { background: #fff; border-color: #d8d0c1; }
.related .card-title { color: #211f1a; }
.related .card-excerpt { color: #6c685f; }

.archive-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding: 3.8rem 0 2.3rem; }
.archive-head h1 { margin: .35rem 0; font-family: Georgia, "Noto Serif KR", serif; font-size: clamp(2.2rem, 5vw, 4rem); }
.archive-head p { max-width: 680px; margin-bottom: 0; color: #aaa49a; }
.archive-count { flex: none; margin-bottom: .4rem; padding: .42rem .72rem; border: 1px solid rgba(202,165,90,.35); border-radius: 99px; color: var(--gold-bright); font-size: .8rem; font-weight: 850; }
.archive-grid { padding-bottom: 4rem; }
.archive-page .archive-grid .article-card:first-child { grid-column: span 2; }
.archive-page .archive-grid .article-card:first-child > a { display: grid; grid-template-columns: 1.1fr .9fr; }
.archive-page .archive-grid .article-card:first-child .card-image { height: 100%; aspect-ratio: auto; }
.archive-page .archive-grid .article-card:first-child .card-body { align-self: center; padding: clamp(1.2rem, 3vw, 2.2rem); }
.archive-page .archive-grid .article-card:first-child .card-title { font-size: clamp(1.25rem, 2vw, 1.7rem); }
.pagination { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 2rem; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 2.35rem; height: 2.35rem; border: 1px solid rgba(255,255,255,.16); border-radius: 5px; text-decoration: none; }
.pagination .current { border-color: var(--gold); color: var(--gold-bright); }
.search-page { min-height: 70vh; padding: 4rem 0; }
.search-page h1 { font-family: Georgia, "Noto Serif KR", serif; font-size: clamp(2.2rem, 5vw, 4rem); }
.search-intro { max-width: 720px; margin: -.6rem 0 1.5rem; color: #aaa49a; }
.search-large { display: flex; max-width: 720px; border: 1px solid rgba(202,165,90,.5); border-radius: 8px; overflow: hidden; }
.search-large input { flex: 1; min-width: 0; border: 0; padding: .85rem; }
.search-large select { width: 128px; border: 0; border-left: 1px solid #d9d2c4; background: #f5f1e8; color: #2a261f; padding: .75rem .55rem; }
.search-large button { border: 0; background: var(--gold); color: #17110a; padding: .75rem 1.1rem; font-weight: 900; }
.search-suggestions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: .8rem; color: #8f8a81; font-size: .8rem; }
.search-suggestions a { padding: .32rem .5rem; border: 1px solid rgba(255,255,255,.12); border-radius: 99px; color: #d9cba9; text-decoration: none; }
.search-suggestions a:hover { border-color: var(--gold); color: var(--gold-bright); }
.search-results { display: grid; gap: .7rem; max-width: 820px; margin-top: 2rem; }
.search-result { display: block; padding: 1rem; border: 1px solid rgba(255,255,255,.12); background: var(--surface); border-radius: 7px; text-decoration: none; }
.search-result:hover { border-color: var(--gold); }
.search-result strong { display: block; color: #f6efe2; font-size: 1.05rem; }
.search-result span { color: #9e998f; font-size: .9rem; }
.search-result small { display: block; margin-top: .3rem; color: #77736c; font-size: .8rem; line-height: 1.55; }

.site-footer { border-top: 1px solid rgba(202,165,90,.2); background: #050607; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 2.2rem 1.25rem; display: flex; justify-content: space-between; gap: 2rem; color: #8e8a82; font-size: .86rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { color: #c8c1b4; }

@media (max-width: 980px) {
  .header-search { display: none; }
  .quick-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1460px) and (max-width: 1639px) {
  .article-shell { max-width: 1180px; }
}
@media (min-width: 1640px) {
  .desktop-ad-rail { left: max(20px, calc(50vw - 800px)); width: 160px; }
}
@media (max-width: 1080px) {
  .article-layout.has-rail { display: block; max-width: 820px; }
  .article-rail { display: none; }
  .mobile-toc { display: block; max-width: 820px; margin: -1rem auto 2rem; border: 1px solid #d8cdbb; border-radius: 10px; background: rgba(255,255,255,.78); }
  .mobile-toc summary { padding: .9rem 1rem; color: var(--accent); cursor: pointer; font-weight: 900; }
  .mobile-toc ol { display: grid; gap: .5rem; margin: 0; padding: 0 1.2rem 1rem 2.3rem; }
  .mobile-toc a { color: #5e584e; font-size: .9rem; text-decoration: none; }
}
@media (max-width: 760px) {
  body { word-break: normal; }
  .header-inner { flex-wrap: wrap; }
  .nav-toggle { display: block; margin-left: auto; }
  .site-nav { display: none; order: 3; width: 100%; margin: 0; flex-direction: column; align-items: stretch; padding-bottom: .4rem; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .7rem; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: 1fr; }
  .lead-story > a { display: block; min-height: 0; }
  .lead-story img { aspect-ratio: 16 / 10; }
  .archive-head { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .archive-count { margin: 0; }
  .archive-page .archive-grid .article-card:first-child { grid-column: auto; }
  .archive-page .archive-grid .article-card:first-child > a { display: block; }
  .archive-page .archive-grid .article-card:first-child .card-image { aspect-ratio: 16 / 9; }
  .article-shell { padding: .9rem 1.15rem 4.5rem; }
  .breadcrumbs { padding: 0 .15rem; font-size: .78rem; }
  .article-hero { display: flex; min-height: 0; margin: 1rem 0 2rem; flex-direction: column; border-radius: 13px; }
  .article-header { padding: 1.6rem 1.3rem 1.45rem; }
  .article-header h1 { font-size: clamp(1.9rem, 9.5vw, 2.85rem); }
  .article-deck { font-size: 1rem; }
  .featured { order: -1; }
  .featured img { min-height: 0; aspect-ratio: 16 / 10; }
  .mobile-toc { margin: 0 0 1.25rem; }
  .article-summary { margin-bottom: 1.2rem; padding: 1.1rem 1.05rem; }
  .article-content { padding: 1.35rem 1.2rem 1.8rem; border-radius: 12px; overflow-x: hidden; font-size: calc(1rem * var(--reader-scale)); line-height: 1.82; }
  .article-content h2 { margin-top: 2.8rem; padding-left: 2.65rem; }
  .article-ad-slot { contain: inline-size; width: 100%; max-width: min(300px, 100%); min-height: 302px; margin: .25rem auto 2rem; padding: 1.35rem 0 .3rem; border: 1px solid #e1d8c9; border-radius: 8px; overflow: hidden; }
  .article-ad-slot .adsbygoogle { width: 100% !important; max-width: 100% !important; min-height: 280px; transform: none !important; }
  .article-ad-slot iframe { display: block; max-width: 100% !important; margin-inline: auto !important; }
  .article-content ul, .article-content ol { padding: 1rem 1rem 1rem 2.35rem; }
  .home-boost, .download-boost, .issue-boost, .series-boost, .series-invite, .footer-inner { align-items: flex-start; flex-direction: column; }
  .home-boost a, .download-boost a, .issue-boost a, .series-invite > a { width: 100%; text-align: center; }
  .home-boost, .download-boost, .issue-boost, .series-boost { margin-top: 2rem; }
  .series-boost__actions { width: 100%; flex-direction: column; }
  .series-boost__actions a { width: 100%; text-align: center; }
  .search-large { flex-wrap: wrap; }
  .search-large input { flex-basis: 100%; }
  .search-large select { flex: 1; width: auto; border-top: 1px solid #d9d2c4; border-left: 0; }
  .related { margin-top: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Default dark theme, user-selectable light theme, and compact page introductions. */
html[data-theme="dark"] {
  --bg: #0b0d11;
  --surface: #14171c;
  --surface-2: #1b1f25;
  --paper: #101318;
  --ink: #f1f2f4;
  --muted: #a2a6ad;
  --line: #2c3037;
  --news-black: #f1f2f4;
  --news-soft: #181b21;
  color-scheme: dark;
  background: #0b0d11;
}
html[data-theme="light"] { color-scheme: light; background: #fff; }

.header-actions { display: flex; justify-self: end; align-items: center; gap: .7rem; }
.header-actions .header-search { justify-self: auto; }
.theme-toggle {
  display: inline-flex;
  min-height: 38px;
  padding: .35rem .55rem;
  align-items: center;
  gap: .32rem;
  border: 1px solid #d5d7db;
  background: #fff;
  color: #202228;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 850;
}
.theme-toggle [data-theme-icon] { font-size: 1rem; line-height: 1; }
.theme-toggle:focus-visible { outline: 3px solid rgba(176,22,47,.3); outline-offset: 2px; }

.page-intro-anchor { display: block; width: 1px; height: 1px; pointer-events: none; }
.js .page-intro-panel {
  position: fixed !important;
  z-index: 2147482500 !important;
  left: 88px !important;
  right: auto !important;
  bottom: 24px !important;
  top: auto !important;
  display: block !important;
  width: min(460px, calc(100vw - 136px)) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-height: min(72vh, 680px) !important;
  margin: 0 !important;
  padding: 1.4rem !important;
  overflow: auto !important;
  border: 1px solid #3b4049 !important;
  border-radius: 16px !important;
  background: #111419 !important;
  color: #f4f5f6 !important;
  box-shadow: 0 22px 70px rgba(0,0,0,.46) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(.98);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.js .page-intro-panel.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.js .page-intro-panel::before, .js .page-intro-panel::after { display: none !important; }
.js .page-intro-panel .ts-shell, .js .page-intro-panel .series-shell {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
.js .page-intro-panel .ts-hero-grid, .js .page-intro-panel .series-hero-grid { display: block !important; margin: 0 !important; }
.js .page-intro-panel h1 {
  max-width: none !important;
  margin: .45rem 2rem .7rem 0 !important;
  color: #f5f6f7 !important;
  font-family: inherit !important;
  font-size: clamp(1.35rem, 2.4vw, 2rem) !important;
  font-weight: 900 !important;
  line-height: 1.28 !important;
  letter-spacing: -.035em !important;
}
.js .page-intro-panel p { max-width: none !important; margin: .55rem 0 !important; color: #b8bdc6 !important; font-size: .92rem !important; line-height: 1.7 !important; }
.js .page-intro-panel .article-meta { color: #a4a9b1 !important; }
.js .page-intro-panel .article-meta span { border-color: #363b44 !important; background: #191d23 !important; color: #b9bec6 !important; }
.js .page-intro-panel .ts-breadcrumbs, .js .page-intro-panel .series-breadcrumbs { margin-bottom: .65rem; color: #a4a9b1 !important; }
.js .page-intro-panel .ts-breadcrumbs a, .js .page-intro-panel .series-breadcrumbs a { color: #e2a6b0 !important; }
.js .page-intro-panel .ts-eyebrow, .js .page-intro-panel .series-eyebrow, .js .page-intro-panel .article-kicker, .js .page-intro-panel .eyebrow { margin-top: 0 !important; color: #ff8ea2 !important; }
.js .page-intro-panel .ts-principles { margin-bottom: 0; }
.js .page-intro-panel .ts-principles li { color: #c4c8cf !important; border-color: #3a3f48 !important; }
.js .page-intro-panel .ts-button, .js .page-intro-panel .series-button { border-color: #555c67 !important; background: #1c2027 !important; color: #fff !important; }
.js .page-intro-panel .ts-button--primary, .js .page-intro-panel .series-button--gold { border-color: #b0162f !important; background: #b0162f !important; }
.js .page-intro-panel .series-hero-grid > aside { margin-top: 1rem; border-color: #3b4048 !important; background: #191d23 !important; }
.js .page-intro-panel .series-hero dd { color: #fff !important; }
.js .page-intro-panel .series-hero dt, .js .page-intro-panel .series-hero aside p { color: #adb2bb !important; }
.page-intro-close {
  position: absolute;
  top: .7rem;
  right: .75rem;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid #3b4049;
  border-radius: 50%;
  background: #1b1f25;
  color: #fff;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}
.page-intro-trigger {
  z-index: 2147482400;
  border: 1px solid #444a54;
  background: #171a20;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(0,0,0,.34);
}
.page-intro-trigger span { display: grid; place-items: center; font-family: Georgia, serif; font-style: italic; font-weight: 900; }
.page-intro-trigger b, .page-intro-trigger em { font: inherit; font-style: normal; }
.page-intro-trigger--desktop {
  position: fixed;
  left: 24px;
  bottom: 24px;
  display: grid;
  width: 52px;
  height: 52px;
  padding: 0;
  place-items: center;
  border-radius: 50%;
}
.page-intro-trigger--desktop b, .page-intro-trigger--desktop em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.page-intro-trigger--desktop span { font-size: 1.25rem; }
.page-intro-trigger--mobile { display: none; }
.js .article-hero:has(> .page-intro-panel) {
  display: block;
  min-height: 0;
  margin-top: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}
.js .article-hero:has(> .page-intro-panel) > .featured { width: 100%; }
.js .article-hero:has(> .page-intro-panel) > .featured img { width: 100%; max-height: 620px; object-fit: cover; }

/* A 300px half-page rail begins at the page H1 anchor, then sticks to the viewport. */
.desktop-ad-rail {
  position: absolute;
  top: var(--ad-start-y, 180px);
  left: var(--ad-left, 20px);
  width: 300px;
  min-height: 600px;
  padding: 0;
  border: 1px solid #30343b;
  border-radius: 0;
  background: #111419;
  box-shadow: 0 14px 36px rgba(0,0,0,.28);
}
.desktop-ad-rail.is-sticky { position: fixed; top: 24px; }
.desktop-ad-rail .adsbygoogle { width: 300px !important; max-width: 100% !important; min-height: 600px; }

@media (min-width: 1460px) {
  body.has-desktop-ad-rail main,
  body.has-desktop-ad-rail #content {
    /* Keep the page on the same center line as the header. The ad sits in
       available outer whitespace instead of shifting the entire document. */
    margin-inline: auto;
  }
}

html[data-theme="dark"] body { background: #0b0d11; color: #eceef1; }
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .home-main,
html[data-theme="dark"] .site-footer { background: #0e1115; color: #eceef1; }
html[data-theme="dark"] .header-utility { border-color: #272b32; color: #999ea7; }
html[data-theme="dark"] .header-inner, html[data-theme="dark"] .site-nav { border-color: #343941; }
html[data-theme="dark"] .nav-toggle, html[data-theme="dark"] .site-nav a { color: #e9ebee; }
html[data-theme="dark"] .brand-logo { filter: brightness(0) invert(1); }
html[data-theme="dark"] .header-search { border-color: #525862; background: #0e1115; }
html[data-theme="dark"] .header-search input, html[data-theme="dark"] .header-search button { background: #0e1115; color: #eef0f2; }
html[data-theme="dark"] .theme-toggle { border-color: #3a3f48; background: #181b21; color: #f0f1f3; }
html[data-theme="dark"] .home-news-strip, html[data-theme="dark"] .home-front-page, html[data-theme="dark"] .headline-stack, html[data-theme="dark"] .editor-pick li, html[data-theme="dark"] .section + .section { border-color: #2c3037; }
html[data-theme="dark"] .home-news-strip a { color: #dfe2e6; }
html[data-theme="dark"] .home-news-strip time, html[data-theme="dark"] .headline-stack small, html[data-theme="dark"] .editor-pick > div > span { color: #9297a0; }
html[data-theme="dark"] .lead-story, html[data-theme="dark"] .article-card, html[data-theme="dark"] .quick-link, html[data-theme="dark"] .series-invite { border-color: #2e333b; background: #12151a; color: #eceef1; }
html[data-theme="dark"] .lead-story > a, html[data-theme="dark"] .lead-story h1, html[data-theme="dark"] .lead-story strong, html[data-theme="dark"] .headline-stack h2 a, html[data-theme="dark"] .editor-pick a, html[data-theme="dark"] .quick-link strong, html[data-theme="dark"] .series-invite h2 { color: #eef0f2; }
html[data-theme="dark"] .lead-story p, html[data-theme="dark"] .headline-stack p, html[data-theme="dark"] .series-invite p, html[data-theme="dark"] .card-excerpt { color: #a6abb3; }
html[data-theme="dark"] .hero { border-color: #363b43; background: #15181e; }
html[data-theme="dark"] .hero h2, html[data-theme="dark"] .section-head h2 { color: #f1f2f4; }
html[data-theme="dark"] .hero p { color: #abb0b8; }
html[data-theme="dark"] .hero-search, html[data-theme="dark"] .quick-grid, html[data-theme="dark"] .quick-link { border-color: #383d45; }
html[data-theme="dark"] .hero-search input { background: #0f1216; color: #fff; }
html[data-theme="dark"] .hero-search button, html[data-theme="dark"] .series-invite > a { background: #b0162f; color: #fff; }
html[data-theme="dark"] .card-title { color: #eef0f2; }
html[data-theme="dark"] .section-head { border-color: #e5e7ea; }
html[data-theme="dark"] .section-head a { color: #b8bdc5; }

html[data-theme="dark"] .paper-wrap, html[data-theme="dark"] .archive-page, html[data-theme="dark"] .search-page { background: #0d1014; color: #eceef1; }
html[data-theme="dark"] .breadcrumbs, html[data-theme="dark"] .archive-head { border-color: #2c3037; color: #969ba4; }
html[data-theme="dark"] .breadcrumbs a { color: #d58a98; }
html[data-theme="dark"] .featured { background: #15181d; }
html[data-theme="dark"] .article-summary, html[data-theme="dark"] .article-content, html[data-theme="dark"] .article-toc, html[data-theme="dark"] .reader-tools, html[data-theme="dark"] .mobile-toc { border-color: #30343c; background: #13161b; }
html[data-theme="dark"] .article-summary { border-left-color: #d3455e; background: #19151a; }
html[data-theme="dark"] .article-summary p, html[data-theme="dark"] .article-content, html[data-theme="dark"] .article-toc p, html[data-theme="dark"] .reader-tools p { color: #dfe2e6; }
html[data-theme="dark"] .article-deck, html[data-theme="dark"] .article-meta, html[data-theme="dark"] .article-toc a { color: #a2a7b0; }
html[data-theme="dark"] .article-content h2 { border-color: #353a43; }
html[data-theme="dark"] .article-content a { color: #ff879c; }
html[data-theme="dark"] .article-content ul, html[data-theme="dark"] .article-content ol, html[data-theme="dark"] .article-content blockquote { border-color: #363b43; background: #1a1e24; }
html[data-theme="dark"] .article-content th, html[data-theme="dark"] .article-content td { border-color: #3b4049; }
html[data-theme="dark"] .article-content th { background: #20242b; }
html[data-theme="dark"] .article-ad-slot { border-color: #2e3239; background: #0d1014; }
html[data-theme="dark"] .reader-buttons button { border-color: #3c4149; background: #1a1e24; color: #e8eaed; }
html[data-theme="dark"] .rail-home { background: #b0162f; }
html[data-theme="dark"] .home-boost, html[data-theme="dark"] .download-boost, html[data-theme="dark"] .issue-boost, html[data-theme="dark"] .series-boost, html[data-theme="dark"] .series-home-boost { border-color: #333840; border-left-color: #d3455e; background: #13161b; color: #eceef1; }
html[data-theme="dark"] .home-boost span, html[data-theme="dark"] .download-boost span, html[data-theme="dark"] .issue-boost span, html[data-theme="dark"] .series-boost span { color: #a2a7b0; }
html[data-theme="dark"] .home-boost a, html[data-theme="dark"] .download-boost a, html[data-theme="dark"] .issue-boost a, html[data-theme="dark"] .series-boost__actions a { background: #b0162f; color: #fff; }
html[data-theme="dark"] .series-boost__actions a + a { border-color: #4a5059; background: #1a1e24; color: #eceef1; }
html[data-theme="dark"] .related { border-color: #343941; }
html[data-theme="dark"] .archive-head h1, html[data-theme="dark"] .search-page h1 { color: #f1f2f4; }
html[data-theme="dark"] .archive-head p, html[data-theme="dark"] .search-intro, html[data-theme="dark"] .search-suggestions { color: #a2a7b0; }
html[data-theme="dark"] .search-large { border-color: #4a5059; }
html[data-theme="dark"] .search-large input, html[data-theme="dark"] .search-large select { border-color: #3a3f47; background: #12151a; color: #eceef1; }
html[data-theme="dark"] .search-large button { background: #b0162f; }
html[data-theme="dark"] .search-suggestions a { border-color: #3b4048; color: #d5d8dd; }
html[data-theme="dark"] .search-result { border-color: #30353d; background: #111419; }
html[data-theme="dark"] .search-result strong { color: #f0f1f3; }
html[data-theme="dark"] .search-result span, html[data-theme="dark"] .search-result small { color: #a2a7b0; }
html[data-theme="dark"] .footer-inner { color: #989da6; }
html[data-theme="dark"] .footer-inner > div > a, html[data-theme="dark"] .footer-links a { color: #e1e3e7; }
html[data-theme="dark"] .coupon-evidence, html[data-theme="dark"] .coupon-helper { border-color: #3c4149; background: #15191e; }
html[data-theme="dark"] .coupon-evidence p { background: #1b2026; }

@media (max-width: 760px) {
  .header-inner { grid-template-columns: 42px minmax(0, 1fr) 84px; }
  .header-actions { grid-column: 3; gap: .25rem; }
  .header-actions .header-search { width: 38px; }
  .theme-toggle { width: 40px; min-height: 38px; padding: 0; justify-content: center; }
  .theme-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .page-intro-trigger--desktop { display: none; }
  .page-intro-trigger--mobile {
    position: relative;
    display: flex;
    width: min(100% - 2rem, 720px);
    min-height: 58px;
    margin: 2.4rem auto calc(1rem + env(safe-area-inset-bottom));
    padding: .85rem 1rem;
    align-items: center;
    gap: .7rem;
    border-radius: 0;
    text-align: left;
  }
  .page-intro-trigger--mobile span { flex: 0 0 32px; width: 32px; height: 32px; border: 1px solid #525863; border-radius: 50%; }
  .page-intro-trigger--mobile b { display: none; }
  .page-intro-trigger--mobile em { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; font-weight: 850; }
  .js .page-intro-panel {
    left: 1rem !important;
    right: 1rem !important;
    bottom: calc(68px + env(safe-area-inset-bottom)) !important;
    width: auto !important;
    max-height: 70vh !important;
    padding: 1.15rem !important;
    border-radius: 12px !important;
  }
  .js .article-hero:has(> .page-intro-panel) { margin-bottom: 1.6rem; }
  .js .article-hero:has(> .page-intro-panel) > .featured { margin-inline: -1rem; width: calc(100% + 2rem); }
  html[data-theme="dark"] .header-inner { border-color: #30343b; }
  html[data-theme="dark"] .header-search button::before { color: #eef0f2; }
  html[data-theme="dark"] .site-nav { background: #0e1115; }
  html[data-theme="dark"] .site-nav a { border-color: #292d34; }
  html[data-theme="dark"] .article-content { border-inline: 0; }
}

/* Article-specific utility: Lineage2M collaboration coupon character check. */
.coupon-evidence {
  display: grid;
  gap: .7rem;
  width: 100%;
  margin: 1.5rem 0 2rem;
  padding: 1.15rem;
  border: 1px solid #bed3d4;
  border-radius: 12px;
  background: #f1f8f7;
  box-sizing: border-box;
}
.coupon-evidence p { margin: 0; padding: .7rem .8rem; border-left: 4px solid #477f82; background: rgba(255,255,255,.72); }
.coupon-evidence p:nth-child(2) { border-left-color: #8d6a25; }
.coupon-evidence p:nth-child(3) { border-left-color: #8d5142; }
.coupon-helper {
  width: 100%;
  max-width: 100%;
  margin: 1.5rem 0 2rem;
  padding: clamp(1rem, 3vw, 1.6rem);
  border: 1px solid #9fbfc1;
  border-radius: 16px;
  background: linear-gradient(145deg, #edf7f5, #fffaf0 78%);
  box-shadow: 0 14px 36px rgba(21, 56, 60, .1);
  box-sizing: border-box;
  overflow: hidden;
}
.coupon-helper__deadline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: calc(clamp(1rem, 3vw, 1.6rem) * -1) calc(clamp(1rem, 3vw, 1.6rem) * -1) 1rem; padding: 1rem clamp(1rem, 3vw, 1.6rem); color: #f6f1df; background: #12363c; }
.coupon-helper__deadline span { font-size: .78rem; font-weight: 850; letter-spacing: .08em; }
.coupon-helper__deadline strong { color: #8ee2d5; font-size: .95rem; text-align: right; }
.coupon-helper__privacy { display: flex; gap: .35rem .8rem; margin-bottom: 1.1rem; flex-wrap: wrap; color: #496065; font-size: .84rem; line-height: 1.55; }
.coupon-helper__privacy strong { color: #22656b; }
.coupon-helper fieldset { min-width: 0; margin: 0 0 1rem; padding: 0; border: 0; }
.coupon-helper legend { width: 100%; margin-bottom: .7rem; color: #203a3c; font-size: .92rem; font-weight: 900; }
.coupon-pair-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.coupon-pair-grid button {
  display: flex;
  min-width: 0;
  min-height: 92px;
  padding: .75rem .55rem;
  align-items: center;
  justify-content: center;
  gap: .28rem;
  flex-wrap: wrap;
  border: 1px solid #b8cfd0;
  border-radius: 10px;
  color: #153b3f;
  background: rgba(255,255,255,.86);
  cursor: pointer;
  box-sizing: border-box;
}
.coupon-pair-grid button:hover, .coupon-pair-grid button:focus-visible { border-color: #2c7779; box-shadow: 0 0 0 3px rgba(44,119,121,.12); }
.coupon-pair-grid button[aria-pressed="true"] { border-color: #205e62; color: #fff; background: #205e62; }
.coupon-pair-grid b { display: grid; place-items: center; width: 1.8rem; height: 2.1rem; border: 1px solid currentColor; border-radius: 5px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 1.15rem; line-height: 1; }
.coupon-pair-grid span { flex-basis: 100%; font-size: .7rem; font-weight: 850; line-height: 1.25; }
.coupon-helper form fieldset { display: grid; gap: .45rem; padding: .85rem; border: 1px solid #d4dedb; border-radius: 10px; background: rgba(255,255,255,.65); }
.coupon-helper form label { display: grid; grid-template-columns: 1.2rem minmax(0, 1fr); gap: .55rem; align-items: start; color: #3e4c4c; font-size: .86rem; line-height: 1.5; }
.coupon-helper form input { width: 1.05rem; height: 1.05rem; margin: .17rem 0 0; accent-color: #22696d; }
.coupon-helper__submit { width: 100%; min-height: 46px; border: 0; border-radius: 8px; color: #fff; background: #1b5b61; cursor: pointer; font-weight: 900; }
.coupon-helper__submit:hover, .coupon-helper__submit:focus-visible { background: #113f44; }
.coupon-helper__result { margin-top: .9rem; padding: .95rem 1rem; border-left: 4px solid #a97e2b; border-radius: 0 8px 8px 0; background: #fff9e9; color: #4d4331; }
.coupon-helper__result strong, .coupon-helper__result p { display: block; margin: 0; }
.coupon-helper__result p { margin-top: .25rem; font-size: .88rem; line-height: 1.55; }
.coupon-helper__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin-top: .9rem; }
.coupon-helper__links a { padding: .68rem .75rem; border: 1px solid #1f676b; border-radius: 7px; color: #fff; background: #1f676b; font-size: .82rem; font-weight: 900; text-align: center; text-decoration: none; }
.coupon-helper__links a + a { color: #1f5f63; background: #fff; }

@media (max-width: 760px) {
  .coupon-evidence, .coupon-helper { max-width: 100%; overflow-x: hidden; }
  .coupon-helper__deadline { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .coupon-helper__deadline strong { text-align: left; }
  .coupon-pair-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coupon-pair-grid button { min-height: 88px; padding-inline: .4rem; }
  .coupon-helper__links { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .coupon-pair-grid { grid-template-columns: 1fr; }
}

/* 2026 editorial redesign: speed-focused news desk visual system. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f5f6;
  --paper: #ffffff;
  --ink: #181a1e;
  --muted: #70737a;
  --line: #dedfe2;
  --gold: #b0162f;
  --gold-bright: #b0162f;
  --red: #b0162f;
  --news-red: #b0162f;
  --news-black: #181a1e;
  --news-soft: #f5f5f6;
  --max: 1185px;
  color-scheme: light;
}

html { background: #fff; }
body {
  background: #fff;
  color: var(--news-black);
  font-family: "Noto Sans KR", "Pretendard", "Malgun Gothic", Arial, sans-serif;
  line-height: 1.65;
}
a { text-decoration-thickness: .06em; }
.reading-progress { background: var(--news-red); }
.shell { max-width: var(--max); padding-inline: 0; }

.site-header {
  position: relative;
  top: auto;
  border-bottom: 0;
  background: #fff;
  color: var(--news-black);
  backdrop-filter: none;
}
.header-utility {
  display: flex;
  width: min(var(--max), calc(100% - 2.5rem));
  min-height: 37px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ececef;
  color: #74777d;
  font-size: .72rem;
}
.header-utility nav { display: flex; gap: 1.4rem; }
.header-utility a { color: inherit; text-decoration: none; }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  width: min(var(--max), calc(100% - 2.5rem));
  min-height: 124px;
  margin-inline: auto;
  padding: 1.25rem 0;
  align-items: center;
  gap: 1.5rem;
}
.header-menu-slot { display: flex; justify-content: flex-start; }
.nav-toggle {
  display: inline-flex;
  min-height: 42px;
  padding: .45rem .2rem;
  align-items: center;
  gap: .55rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #202228;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  cursor: pointer;
}
.nav-toggle span:first-child { font-size: 1.4rem; font-weight: 400; letter-spacing: 0; }
.brand { justify-self: center; }
.brand-logo { width: auto; max-width: min(330px, 32vw); height: 66px; }
.header-search {
  justify-self: end;
  width: 210px;
  border: 0;
  border-bottom: 1px solid #b8bac0;
  border-radius: 0;
  background: #fff;
}
.header-search input { background: #fff; color: #202228; padding: .55rem .25rem; }
.header-search button { background: #fff; color: #202228; padding: .45rem .25rem; }
.site-nav {
  display: flex;
  width: min(var(--max), calc(100% - 2.5rem));
  min-height: 58px;
  margin: 0 auto;
  align-items: center;
  gap: 1.9rem;
  border-top: 2px solid #202228;
  border-bottom: 1px solid #dfe0e3;
}
.site-nav a {
  padding: .9rem 0;
  border-radius: 0;
  color: #202228;
  font-size: .94rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a:focus-visible { background: transparent; color: var(--news-red); }

.home-main { background: #fff; }
.home-news-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 60px;
  align-items: center;
  gap: 1.4rem;
  border-bottom: 1px solid var(--line);
  font-size: .83rem;
}
.home-news-strip strong { color: var(--news-red); }
.home-news-strip strong span { margin-right: .35rem; font-size: .55rem; }
.home-news-strip a { overflow: hidden; color: #3b3e44; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.home-news-strip time { color: #9a9ca1; font-size: .74rem; }
.home-front-page {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(230px, .86fr) minmax(230px, .78fr);
  min-height: 610px;
  border-bottom: 1px solid var(--line);
}
.lead-story {
  min-width: 0;
  margin: 0;
  padding: 2rem 2rem 2.25rem 0;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  overflow: visible;
}
.lead-story > a { display: flex; min-height: 100%; flex-direction: column; color: #191b20; }
.lead-story div { order: -1; padding: 0 0 1.45rem; }
.lead-story img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.lead-label { color: var(--news-red); font-size: .72rem; letter-spacing: .04em; }
.lead-story h1 { margin: .65rem 0 .85rem; font-size: clamp(2rem, 3.3vw, 3.05rem); font-weight: 850; line-height: 1.25; letter-spacing: -.055em; text-wrap: balance; }
.lead-story p { margin: 0 0 .9rem; color: #6d7076; font-size: .95rem; line-height: 1.75; }
.lead-story strong { color: #282b30; font-size: .78rem; }
.headline-stack { min-width: 0; padding: 2rem 1.65rem; border-right: 1px solid var(--line); }
.headline-stack article { position: relative; padding: 0 0 2rem; }
.headline-stack article + article { padding-top: 2rem; border-top: 1px solid var(--line); }
.headline-stack article > span { color: var(--news-red); font-size: .72rem; font-weight: 850; }
.headline-stack h2 { margin: .45rem 0 .7rem; font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 850; line-height: 1.4; letter-spacing: -.04em; }
.headline-stack h2 a { text-decoration: none; }
.headline-stack p { margin: 0; color: #777a80; font-size: .84rem; line-height: 1.7; }
.headline-stack small { display: block; margin-top: .8rem; color: #a0a2a7; font-size: .7rem; }
.editor-pick { min-width: 0; padding: 2rem 0 2rem 1.65rem; }
.editor-pick > div { margin-bottom: 1.2rem; }
.editor-pick h2 { margin: 0; font-size: 1.55rem; font-weight: 900; letter-spacing: -.045em; }
.editor-pick > div > span { color: #9a9ca2; font-size: .74rem; }
.editor-pick ol { margin: 0; padding: 0; list-style: none; }
.editor-pick li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .55rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.editor-pick li > span { color: var(--news-red); font-family: Georgia, serif; font-size: 1.05rem; font-style: italic; }
.editor-pick li a { font-size: .86rem; font-weight: 780; line-height: 1.5; text-decoration: none; }

.hero {
  margin-top: 2rem;
  padding: clamp(2rem, 5vw, 3.7rem);
  border: 0;
  border-top: 4px solid #202228;
  border-bottom: 1px solid var(--line);
  background: var(--news-soft);
}
.eyebrow { color: var(--news-red); font-size: .7rem; }
.hero h2 { max-width: 780px; margin: .45rem 0 .65rem; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 850; line-height: 1.25; letter-spacing: -.05em; }
.hero p { max-width: 720px; color: #666970; font-size: 1rem; }
.hero-search { max-width: 760px; margin-top: 1.6rem; border: 1px solid #c8c9cd; border-radius: 0; box-shadow: none; }
.hero-search input { background: #fff; color: #202228; }
.hero-search button { min-width: 84px; background: #202228; color: #fff; }
.quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 2rem; border-top: 1px solid #cfd0d4; border-left: 1px solid #cfd0d4; }
.quick-link { min-height: 84px; padding: .9rem 1rem; border: 0; border-right: 1px solid #cfd0d4; border-bottom: 1px solid #cfd0d4; border-radius: 0; background: #fff; }
.quick-link:hover { border-color: #cfd0d4; background: #f9f1f3; transform: none; }
.quick-link small { color: var(--news-red); font-family: Georgia, serif; font-style: italic; }
.quick-link strong { color: #24262b; font-size: .9rem; }
.series-invite {
  margin: 2rem 0 0;
  padding: 1.6rem 1.8rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--news-red);
  border-radius: 0;
  background: #fff;
}
.series-invite span { color: var(--news-red); }
.series-invite h2 { color: #202228; font-family: inherit; }
.series-invite p { color: #73767c; }
.series-invite > a { border-radius: 0; background: #202228; color: #fff; }
.section { padding: 3.2rem 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { padding-bottom: .85rem; border-bottom: 2px solid #202228; }
.section-head h2 { font-family: inherit; font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 900; }
.section-head a { color: #55585e; text-decoration: none; }
.card-grid { gap: 1.35rem; }
.article-card { border: 0; border-radius: 0; background: #fff; overflow: visible; }
.article-card:hover { border-color: transparent; transform: none; }
.article-card:hover .card-title { color: var(--news-red); }
.card-image { background: #ececef; }
.card-placeholder { border-radius: 0; background: #f0f0f2; color: #aeb0b5; }
.card-body { padding: .85rem 0 0; }
.card-meta { color: var(--news-red); font-size: .7rem; }
.card-title { color: #202228; font-size: 1.05rem; font-weight: 850; }
.card-excerpt { color: #777a80; }

.paper-wrap { background: #fff; color: var(--news-black); }
.theme-news .paper-wrap, .theme-download .paper-wrap, .theme-world .paper-wrap,
.theme-error .paper-wrap, .theme-pc .paper-wrap, .theme-other .paper-wrap, .theme-page .paper-wrap {
  --accent: var(--news-red);
  --accent-soft: #f9eef0;
}
.article-shell { max-width: var(--max); padding: 1rem 0 5.5rem; }
.breadcrumbs { min-height: 52px; padding: .9rem 0; align-items: center; border-bottom: 1px solid var(--line); color: #8a8c91; }
.breadcrumbs a { color: #55585e; }
.article-hero {
  min-height: 440px;
  margin: 0 0 3.4rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.article-header { padding: clamp(2.5rem, 5vw, 4.6rem) clamp(2rem, 5vw, 4.2rem) clamp(2.5rem, 5vw, 4.6rem) 0; }
.article-kicker { color: var(--news-red); font-size: .72rem; }
.article-header h1 { font-family: inherit; font-size: clamp(2.2rem, 4.5vw, 4.25rem); font-weight: 900; line-height: 1.18; }
.article-deck { color: #64676d; }
.article-meta { color: #898b91; }
.article-meta span { padding: 0; border: 0; border-radius: 0; background: transparent; }
.featured { background: #f0f0f1; }
.article-layout.has-rail { grid-template-columns: minmax(0, 790px) 255px; max-width: 1110px; }
.article-summary { padding: 1.2rem 1.4rem; border-left: 4px solid var(--news-red); border-radius: 0; background: #f7f7f8; }
.article-summary span { color: var(--news-red); }
.article-summary p { color: #4f5258; }
.article-content { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid #ececef; border-radius: 0; box-shadow: none; }
.article-content h2, .article-content h3, .article-content h4 { font-family: inherit; }
.article-content h2 { border-color: #dfe0e3; }
.article-content h2::before { color: var(--news-red); font-family: Georgia, serif; font-style: italic; }
.article-content a { color: #9f1028; }
.article-content ul, .article-content ol { border-radius: 0; background: #f6f6f7; }
.article-content blockquote { border-color: var(--news-red); border-radius: 0; background: #faeff1; }
.article-content th, .article-content td { border-color: #d9dade; }
.article-content th { background: #f1f1f3; }
.article-content img { border-radius: 0; }
.article-ad-slot {
  width: 100%;
  min-height: 118px;
  margin: .35rem 0 2.25rem;
  padding: .55rem 0;
  border-color: #e9e9eb;
  background: #fff;
}
.article-ad-slot::before, .desktop-ad-rail::before { content: none; display: none; }
.desktop-ad-rail { padding-top: 0; border-color: #e0e1e4; border-radius: 0; background: #fff; box-shadow: 0 8px 25px rgba(0,0,0,.08); }
.article-rail { top: 24px; }
.article-toc, .reader-tools { border-color: #dedfe2; border-radius: 0; background: #fff; }
.article-toc p, .reader-tools p { color: #292b30; }
.article-toc a { color: #65686e; }
.reader-buttons button { border-color: #d5d6da; border-radius: 0; color: #33363b; }
.rail-home { border-radius: 0; background: #202228; color: #fff; }
.mobile-toc { border-color: #dedfe2; border-radius: 0; background: #fff; }
.home-boost, .download-boost, .issue-boost, .series-boost {
  border: 1px solid #dedfe2;
  border-left: 4px solid var(--news-red);
  border-radius: 0;
  background: #fff;
  color: #202228;
  box-shadow: none;
}
.home-boost span, .download-boost span, .issue-boost span, .series-boost span { color: #70737a; }
.home-boost a, .download-boost a, .issue-boost a, .series-boost__actions a { border-radius: 0; background: #202228; color: #fff; }
.series-boost__actions a + a { color: #202228; background: #fff; }
.related { border-color: #dedfe2; }
.related h2 { font-family: inherit; font-weight: 900; }
.related .article-card { border-color: transparent; }

.archive-page, .search-page { background: #fff; color: #202228; }
.archive-head { padding-top: 3rem; border-bottom: 2px solid #202228; }
.archive-head h1, .search-page h1 { font-family: inherit; font-weight: 900; }
.archive-head p, .search-intro { color: #73767c; }
.archive-count { border: 0; border-radius: 0; color: var(--news-red); }
.archive-grid { padding-top: 1.6rem; }
.pagination a, .pagination span { border-color: #d9dade; border-radius: 0; }
.pagination .current { border-color: var(--news-red); color: var(--news-red); }
.search-large { border-color: #bfc1c6; border-radius: 0; }
.search-large button { background: #202228; color: #fff; }
.search-suggestions { color: #777a80; }
.search-suggestions a { border-color: #d9dade; color: #50535a; }
.search-result { border: 0; border-bottom: 1px solid #dedfe2; border-radius: 0; background: #fff; }
.search-result:hover { border-color: var(--news-red); }
.search-result strong { color: #202228; }
.search-result span, .search-result small { color: #777a80; }
.site-footer { border-top: 2px solid #202228; background: #fff; }
.footer-inner { color: #777a80; }
.footer-inner > div > a, .footer-links a { color: #292b30; }

@media (max-width: 1200px) {
  .shell, .article-shell { width: calc(100% - 2.5rem); }
}

@media (max-width: 980px) {
  .home-front-page { grid-template-columns: minmax(0, 1.4fr) minmax(240px, .8fr); }
  .editor-pick { grid-column: 1 / -1; padding: 1.5rem 0; border-top: 1px solid var(--line); }
  .editor-pick ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
  .headline-stack { border-right: 0; }
}

@media (max-width: 760px) {
  .shell, .article-shell { width: 100%; padding-inline: 1rem; }
  .header-utility { display: none; }
  .header-inner { width: 100%; min-height: 72px; padding: .55rem 1rem; grid-template-columns: 42px minmax(0, 1fr) 42px; gap: .5rem; border-bottom: 1px solid #dedfe2; }
  .header-menu-slot { grid-column: 1; }
  .nav-toggle { width: 42px; min-height: 42px; padding: 0; justify-content: center; }
  .nav-toggle span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .brand { grid-column: 2; }
  .brand-logo { max-width: min(230px, 64vw); height: 48px; }
  .header-search { display: block; grid-column: 3; width: 38px; border: 0; }
  .header-search input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
  .header-search button { width: 38px; min-height: 38px; overflow: hidden; color: transparent; }
  .header-search button::before { content: "⌕"; display: grid; place-items: center; color: #202228; font-size: 1.55rem; }
  .site-nav { display: none; width: 100%; min-height: 0; margin: 0; padding: .55rem 1rem .9rem; gap: 0; border-top: 0; flex-direction: column; align-items: stretch; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .72rem .1rem; border-bottom: 1px solid #ededee; }
  .home-news-strip { min-height: 54px; grid-template-columns: auto minmax(0, 1fr); gap: .75rem; }
  .home-news-strip time { display: none; }
  .home-front-page { display: block; min-height: 0; }
  .lead-story { padding: 1.5rem 0 1.8rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .lead-story h1 { font-size: clamp(1.9rem, 8.5vw, 2.7rem); }
  .headline-stack { padding: 1.5rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .editor-pick { padding: 1.5rem 0; }
  .editor-pick ol { display: block; }
  .hero { margin-top: 1.3rem; padding: 1.6rem 1rem; }
  .hero h2 { font-size: clamp(1.6rem, 7vw, 2.25rem); }
  .hero-search { flex-wrap: nowrap; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-link { min-height: 78px; }
  .series-invite { padding: 1.25rem; }
  .section { padding: 2.5rem 0; }
  .article-shell { padding-top: 0; padding-bottom: 4.5rem; }
  .breadcrumbs { padding-inline: 0; }
  .article-hero { margin-bottom: 2rem; border-radius: 0; }
  .article-header { padding: 1.65rem 0 1.5rem; }
  .article-header h1 { font-size: clamp(1.95rem, 9vw, 2.75rem); }
  .featured { margin-inline: -1rem; }
  .article-content { padding: 1.4rem 1.15rem 1.8rem; border-inline: 0; }
  .article-ad-slot { width: 100%; max-width: min(300px, 100%); min-height: 300px; margin: .35rem auto 2rem; padding: 0; border: 0; background: #fff; }
  .article-ad-slot .adsbygoogle { min-height: 280px; }
  .home-boost, .download-boost, .issue-boost, .series-boost { padding: 1.1rem; }
  .archive-head { padding-top: 2rem; }
  .archive-grid { padding-top: 1rem; }
  .footer-inner { padding-bottom: calc(5.2rem + env(safe-area-inset-bottom)); }
}

/* Final cascade guards for controls added after the editorial skin. */
html[data-theme="dark"] .desktop-ad-rail { border-color: #30343b; background: #111419; box-shadow: 0 14px 36px rgba(0,0,0,.28); }
@media (max-width: 760px) {
  .header-inner { grid-template-columns: 42px minmax(0, 1fr) 84px; }
  .header-actions { grid-column: 3; display: flex; gap: .25rem; }
  .header-actions .header-search { grid-column: auto; width: 38px; }
  .theme-toggle { width: 40px; min-height: 38px; padding: 0; justify-content: center; }
}

/* Editorial heading system: strong hierarchy without decorative serif mismatch. */
.article-header h1,
.archive-head h1,
.search-page h1 { font-family: inherit; font-weight: 950; letter-spacing: -.055em; text-wrap: balance; }

.archive-head h1,
.search-page h1 { padding-left: 1rem; border-left: 6px solid var(--news-red); line-height: 1.13; }

.article-content h2 {
  margin: 3.7rem 0 1.35rem;
  padding: 1.05rem 1rem 1.05rem 4.2rem;
  border: 1px solid #dfe1e5;
  border-left: 0;
  background: linear-gradient(90deg, rgba(176, 22, 47, .08), transparent 72%);
  font-family: inherit;
  font-weight: 950;
  letter-spacing: -.045em;
}

.article-content h2::before {
  left: 1rem;
  top: 50%;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 50%;
  background: var(--news-red);
  color: #fff;
  font: 900 .72rem/1 Arial, sans-serif;
  transform: translateY(-50%);
}

.article-content h3 {
  margin: 2.45rem 0 1rem;
  padding: .55rem .85rem;
  border-left: 4px solid var(--news-red);
  background: linear-gradient(90deg, rgba(176, 22, 47, .065), transparent 65%);
  font-family: inherit;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 900;
  letter-spacing: -.035em;
}

.article-content h4 { margin: 2rem 0 .75rem; color: var(--news-red); font-family: inherit; font-size: .92rem; font-weight: 950; letter-spacing: .02em; }

html[data-theme="dark"] .article-content h2 { border-color: #343941; background: linear-gradient(90deg, rgba(227, 58, 86, .12), transparent 72%); }
html[data-theme="dark"] .article-content h3 { background: linear-gradient(90deg, rgba(227, 58, 86, .1), transparent 65%); color: #f2f3f5; }
html[data-theme="dark"] .article-content h4 { color: #ff879c; }

@media (max-width: 760px) {
  .archive-head h1,
  .search-page h1 { padding-left: .75rem; border-left-width: 4px; }
  .article-content h2 { margin-top: 3rem; padding: .9rem .7rem .9rem 3.45rem; }
  .article-content h2::before { left: .65rem; width: 2rem; height: 2rem; }
  .article-content h3 { margin-top: 2.1rem; padding: .5rem .7rem; }
}

/* Cross-game maintenance status board. */
.maintenance-board { margin: 1.4rem 0 2.2rem; padding: 1.35rem; border: 1px solid #d8dbe0; border-top: 4px solid var(--news-red); background: #f7f7f8; }
.maintenance-board__state { display: flex; min-height: 54px; margin-bottom: 1rem; padding: .8rem 1rem; align-items: center; justify-content: space-between; gap: 1rem; background: #15181d; color: #fff; }
.maintenance-board__state span { color: #ff8ea2; font-size: .72rem; font-weight: 950; letter-spacing: .1em; }
.maintenance-board__state strong { text-align: right; font-size: .92rem; }
.maintenance-board__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.maintenance-board__grid article { padding: 1rem; border: 1px solid #dfe1e5; background: #fff; }
.maintenance-board__grid small { color: var(--news-red); font-size: .68rem; font-weight: 950; letter-spacing: .08em; }
.maintenance-board__grid h3 { margin: .35rem 0 .55rem; padding: 0; border: 0; background: none; font-size: 1.05rem; }
.maintenance-board__grid p { margin: 0; font-size: .86rem; }
.maintenance-checklist { display: grid; gap: .6rem; margin: 1rem 0 0; padding: 1rem; border: 1px dashed #c8cbd1; background: #fff; }
.maintenance-checklist strong { margin-bottom: .15rem; }
.maintenance-checklist label { display: flex; align-items: flex-start; gap: .6rem; color: #36393f; font-size: .88rem; line-height: 1.55; cursor: pointer; }
.maintenance-checklist input { flex: 0 0 auto; width: 1rem; height: 1rem; margin-top: .2rem; accent-color: var(--news-red); }
html[data-theme="dark"] .maintenance-board { border-color: #343941; background: #171a20; }
html[data-theme="dark"] .maintenance-board__grid article,
html[data-theme="dark"] .maintenance-checklist { border-color: #343941; background: #111419; }
html[data-theme="dark"] .maintenance-checklist label { color: #d8dbe0; }

@media (max-width: 760px) {
  .maintenance-board { margin-inline: -.2rem; padding: 1rem; }
  .maintenance-board__state { align-items: flex-start; flex-direction: column; }
  .maintenance-board__state strong { text-align: left; }
  .maintenance-board__grid { grid-template-columns: 1fr; }
}

/* PC in-article ads use the 970 x 250 billboard canvas. On articles with a
   desktop outline, the slot is centered on the page and the outline moves
   beyond its right edge so neither control overlaps the creative. */
@media (min-width: 1081px) {
  .article-ad-slot--large-horizontal {
    width: min(970px, calc(100vw - 32px));
    max-width: none;
    min-height: 250px;
    padding: 0;
  }
  .article-ad-slot--large-horizontal > .adsbygoogle--large-horizontal {
    display: block;
    width: min(970px, 100%) !important;
    max-width: 970px !important;
    height: 250px !important;
    min-height: 250px !important;
  }
  .article-layout:not(.has-rail) .article-ad-slot--large-horizontal {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  .article-layout.has-rail .article-ad-slot--large-horizontal {
    margin-left: 22px;
  }
}

@media (min-width: 1540px) {
  .article-layout.has-rail .article-rail {
    transform: translateX(195px);
  }
}

@media (min-width: 1081px) and (max-width: 1539px) {
  .article-layout.has-rail .article-rail { display: none; }
  .article-page .mobile-toc {
    display: block;
    max-width: 790px;
    margin: 0 auto 1.5rem;
  }
}

/* Revenue recovery: restore one high-viewability responsive unit on the
   homepage, while keeping the requested billboard treatment inside articles. */
.home-revenue-ad {
  contain: inline-size;
  width: min(970px, 100%);
  min-height: 100px;
  margin: 1.25rem auto 2rem;
  overflow: hidden;
}
.home-revenue-ad > .adsbygoogle {
  display: block;
  width: 100% !important;
  min-height: 90px;
  margin-inline: auto;
  overflow: hidden;
}

.article-pathways {
  margin: -.7rem 0 2.8rem;
  padding: 1.1rem 1.2rem 1.2rem;
  border: 1px solid #dedfe2;
  border-left: 4px solid var(--news-red);
  background: #f7f7f8;
}
.article-pathways > p {
  margin: 0 0 .7rem;
  color: #65686e;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.article-pathways > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}
.article-content .article-pathways a {
  display: grid;
  gap: .25rem;
  min-width: 0;
  padding: .85rem .9rem;
  border: 1px solid #dedfe2;
  background: #fff;
  color: #202228;
  text-decoration: none;
}
.article-pathways a:hover { border-color: var(--news-red); }
.article-pathways a span { color: var(--news-red); font-size: .7rem; font-weight: 800; }
.article-pathways a strong { overflow: hidden; font-size: .88rem; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }

html[data-theme="dark"] .article-pathways {
  border-color: #343941;
  background: #171a20;
}
html[data-theme="dark"] .article-pathways > p { color: #9da2aa; }
html[data-theme="dark"] .article-content .article-pathways a {
  border-color: #343941;
  background: #111419;
  color: #f1f2f4;
}

@media (max-width: 760px) {
  .home-revenue-ad {
    width: 100%;
    min-height: 100px;
    margin: .75rem auto 1.4rem;
  }
  .home-revenue-ad > .adsbygoogle { min-height: 100px; }
  .article-pathways { margin-top: -.8rem; padding: 1rem; }
  .article-pathways > div { grid-template-columns: 1fr; }
}

.article-content .pet-reminder {
  margin: 1.2rem 0 2rem;
  padding: clamp(1rem, 3vw, 1.7rem);
  border: 1px solid #80683e;
  border-radius: 16px;
  background: linear-gradient(145deg, #25231f, #151a20 65%);
  color: #f5f1e8;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
  word-break: keep-all;
  overflow-wrap: break-word;
}
.article-content .pet-reminder__heading { display: grid; gap: .3rem; margin-bottom: .75rem; }
.article-content .pet-reminder__heading span { color: #d8b77b; font-size: .7rem; font-weight: 800; letter-spacing: .13em; }
.article-content .pet-reminder__heading strong { font-size: clamp(1.12rem, 2.6vw, 1.4rem); line-height: 1.4; }
.article-content .pet-reminder p { color: #d8d6d0; }
.article-content .pet-reminder__controls { display: flex; align-items: end; flex-wrap: wrap; gap: .65rem; margin: 1rem 0; }
.article-content .pet-reminder__controls label { display: grid; gap: .3rem; flex: 1 1 150px; min-width: 0; color: #f2e9d7; font-size: .82rem; font-weight: 700; }
.article-content .pet-reminder__controls input { box-sizing: border-box; width: 100%; min-height: 46px; padding: .6rem .8rem; border: 1px solid #a69577; border-radius: 8px; background: #fff; color: #151515; font: inherit; }
.article-content .pet-reminder__controls button { min-height: 46px; padding: .55rem 1rem; border: 1px solid #e4bd7a; border-radius: 8px; background: #e4bd7a; color: #17191e; font: inherit; font-weight: 800; cursor: pointer; }
.article-content .pet-reminder__controls .pet-reminder__stop { border-color: #8c949d; background: transparent; color: #f5f1e8; }
.article-content .pet-reminder__controls button:focus-visible, .article-content .pet-reminder__controls input:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.article-content .pet-reminder output { display: block; padding: .8rem 1rem; border-radius: 8px; background: #0e1217; color: #f5cb85; font-size: 1.1rem; font-weight: 800; }
.article-content .pet-reminder .pet-reminder__status { margin: .8rem 0 0; font-size: .82rem; line-height: 1.55; }
.article-content .pet-reminder.is-due { border-color: #f3a45d; box-shadow: 0 0 0 3px rgba(243, 164, 93, .2); }
html[data-theme="light"] .article-content .pet-reminder { background: linear-gradient(145deg, #283341, #17212c 65%); }
@media (max-width: 760px) {
  .article-content .pet-reminder { max-width: 100%; overflow: hidden; }
  .article-content .pet-reminder__controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .article-content .pet-reminder__controls label { grid-column: 1 / -1; }
  .article-content .pet-reminder__controls button { min-width: 0; padding-inline: .5rem; }
}
