/* r6 lane B feature styles — story reader and News archive.
   Tokens: frozen r1.1 style guide §4 only (values duplicated solely as
   var() fallbacks so this file renders before A's r6 shell lands). */
.r6-story, .r6-archive {
  --news: #F5F5F0;
  --ink: #12110E;
  --ink-2: #46453F;
  --rule: #D9D8D0;
  --signal: #FFD21F;
  --red: #B3261E;
  --blue: #1F3F9E;
  --studio: #17181B;
  --studio-2: #24262B;
  --mute: #A9ABB2;
  --tiger: #D8704F;
}
.r6-story, .r6-archive {
  background: var(--news);
  color: var(--ink);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: anywhere;
}
.r6-story *, .r6-archive * { box-sizing: border-box; }
.r6-story :focus-visible, .r6-archive :focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.r6-story button, .r6-archive button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}
.r6-story a, .r6-archive a { color: var(--blue); }
.r6-utility {
  position: sticky;
  top: 0;
  z-index: 5;
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 16px;
  background: var(--news);
  border-bottom: 1px solid var(--rule);
}
.r6-utility-progress {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.r6-story .issue-body { max-width: 680px; margin: 0 auto; padding: 24px 16px 64px; }
.r6-story .issue-masthead { border-bottom: 1px solid var(--rule); padding-bottom: 24px; }
.r6-story .issue-title {
  font-family: "Black Han Sans", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 34px;
  margin: 12px 0 0;
}
@media (min-width: 600px) { .r6-story .issue-title { font-size: 32px; line-height: 38px; } }
@media (min-width: 900px) { .r6-story .issue-title { font-size: 40px; line-height: 48px; } }
.r6-story .issue-body article h2 {
  font-family: "Black Han Sans", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 30px;
  margin: 8px 0 0;
}
.r6-story .unit-number {
  display: inline-block;
  margin-right: 8px;
  font-variant-numeric: tabular-nums;
}
.r6-story .issue-body p { font-size: 17px; line-height: 30px; margin: 12px 0 0; }
@media (min-width: 900px) { .r6-story .issue-body p { font-size: 18px; line-height: 32px; } }
.r6-story .unit-timing,
.r6-story .brief-labels,
.r6-story .brief-followup {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--ink-2);
  margin: 8px 0 0;
}
.r6-story .unit-timing time { white-space: normal; }
.r6-story .issue-dateline {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--ink-2);
  margin: 0;
}
.r6-story .block-label {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
  margin: 24px 0 0;
}
.r6-story .implication-box {
  border-left: 4px solid var(--ink);
  padding: 4px 0 4px 16px;
  margin: 8px 0 0;
}
.r6-story .implication-box p {
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
}
.r6-story .correction-strip {
  border-left: 4px solid var(--red);
  color: var(--red);
  padding: 4px 0 4px 16px;
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
}
.r6-story .correction-strip time { font-variant-numeric: tabular-nums; white-space: normal; }
.r6-story .correction-strip a { color: var(--red); }
.r6-story .unit-sources { margin: 24px 0 0; border-top: 1px solid var(--rule); padding-top: 12px; }
.r6-story .unit-sources h3 {
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
  margin: 0 0 8px;
}
.r6-story .unit-sources li {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--ink-2);
  margin: 8px 0 0;
}
.r6-story .unit-sources a { color: var(--blue); overflow-wrap: anywhere; }
.r6-story .unit-sources time { font-variant-numeric: tabular-nums; white-space: normal; }
.r6-story .corrections h2 {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
}
.r6-story .corrections p { font-size: 15px; line-height: 1.6; color: var(--red); }
.r6-story .story-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--rule);
  margin-top: 32px;
  padding-top: 16px;
}
.r6-story .story-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 16px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 2px;
}
.r6-story .story-nav a[data-story-nav-direction="next"] {
  background: var(--ink);
  color: var(--news);
}
.r6-story .story-nav a[data-today-end] { border-color: var(--ink); }
.r6-story .story-nav a[aria-disabled="true"] { visibility: hidden; }
.r6-story .article-exit {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.r6-story .article-exit a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
.r6-story .story-share {
  border-top: 1px solid var(--rule);
  margin-top: 24px;
  padding-top: 16px;
}
.r6-story .story-share h2 {
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
  margin: 0;
}
.r6-story .story-share-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.r6-story .story-share-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 16px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  border-radius: 2px;
}
.r6-story .story-share-actions [data-share-button] { background: var(--ink); color: var(--news); border: 1px solid var(--ink); }
.r6-story .story-share-actions [data-share-copy] { border: 1px solid var(--ink); }
.r6-story .story-share-payload,
.r6-story .story-share-hint {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--ink-2);
  margin: 12px 0 0;
}
.r6-story .r6-share-url { overflow-wrap: anywhere; margin: 8px 0 0; font-size: 14px; line-height: 1.6; }
.r6-story .r6-share-status {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  min-height: 20px;
}
.r6-story .r6-share-status[hidden] { display: none; }
.r6-story .r6-announcer {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
  .r6-story .r6-page-swap { transition: opacity 200ms ease, transform 200ms ease; }
  .r6-story .r6-page-swap.r6-page-out { opacity: 0; transform: translateY(8px); }
}
@media (prefers-reduced-motion: reduce) {
  .r6-story .r6-page-swap { transition: none; }
}
.r6-archive .r6-archive-head { border-bottom: 1px solid var(--rule); }
.r6-archive .r6-archive-head h1 {
  font-family: "Black Han Sans", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 34px;
  margin: 24px 0 0;
}
@media (min-width: 900px) { .r6-archive .r6-archive-head h1 { font-size: 40px; line-height: 48px; } }
.r6-archive .r6-archive-head .lead {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--ink-2);
  margin: 8px 0 24px;
}
.r6-archive .section .wrap { max-width: 680px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 460px) { .r6-archive .section .wrap { padding: 0 20px; } }
@media (min-width: 900px) { .r6-archive .section .wrap { padding: 0 32px; } }
.r6-archive .archive-search { margin: 16px 0 0; }
.r6-archive .archive-search label { font-size: 14px; line-height: 20px; font-weight: 500; }
.r6-archive .archive-search input[type="search"] {
  font: inherit;
  color: var(--ink);
  background: var(--news);
  border: 1px solid var(--ink);
  border-radius: 2px;
  min-height: 44px;
  padding: 8px 12px;
  max-width: 100%;
}
.r6-archive .archive-search button { min-height: 44px; min-width: 44px; padding: 8px 12px; font-size: 14px; border: 1px solid var(--ink); border-radius: 2px; }
.r6-archive [data-archive-count] { font-size: 14px; line-height: 1.6; font-weight: 500; color: var(--ink-2); }
.r6-archive .news-empty { border-top: 1px solid var(--rule); padding: 32px 0; }
.r6-archive .news-empty h2 { font-family: var(--sans); font-size: 20px; line-height: 26px; font-weight: 700; margin: 0; }
.r6-archive .news-empty p { font-size: 17px; line-height: 30px; margin: 8px 0 0; }
.r6-archive .news-empty a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 2px;
}
.r6-archive #news-list ul, .r6-archive #news-list ol { list-style: none; margin: 0; padding: 0; }
.r6-archive .news-row { border-bottom: 1px solid var(--rule); }
.r6-archive .news-row a {
  display: block;
  padding: 16px 0;
  text-decoration: none;
  color: var(--ink);
}
.r6-archive .news-row a:hover { text-decoration: underline; }
@media (hover: hover) { .r6-archive .news-row a { transition: background 120ms ease; } }
.r6-archive .news-row-title {
  font-size: 17px;
  line-height: 30px;
  font-weight: 700;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.r6-archive .news-row-meta {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--ink-2);
  margin: 4px 0 0;
  font-variant-numeric: tabular-nums;
}
.r6-archive .archive-month h2 { font-family: var(--sans); font-size: 16px; line-height: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.r6-archive .empty-news p { font-size: 17px; line-height: 30px; }
.r6-archive .empty-news a { min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 900px) {
  .r6-story .issue-grid {
    display: grid;
    grid-template-columns: minmax(0, 680px) minmax(220px, 260px);
    gap: 32px;
    justify-content: center;
    align-items: start;
  }
  .r6-story .issue-grid > .issue-toc-panel { grid-column: 2; grid-row: 1; }
  .r6-story .issue-grid > .issue-body { grid-column: 1; grid-row: 1; max-width: none; }
}
@media (min-width: 320px) and (max-width: 2560px) {
  .r6-story .issue-body, .r6-archive .section .wrap { max-width: 100%; }
}
/* Landscape phones and small tablets sit in the single-column range, where the
   blanket 100% width ran body text to ~40 Korean characters per line. Recap the
   reading column at ~34 characters; the >=900px two-column grid is unchanged. */
@media (min-width: 600px) and (max-width: 899px) {
  .r6-story .issue-body { max-width: 560px; margin-inline: auto; }
}
/* The issue lead's first paragraph renders at 22px while the shared
   `.issue-body p` rule pins line-height to 30px (1.36). Restore a ratio that
   stays comfortable at the deck size. */
.r6-story .issue-leads > .lead:first-child { line-height: 1.6; }
/* Source datetimes stay atomic: a wrapping datetime's union rect collides with
   the 44px link hit area on wrapped lines, and a split timestamp reads worse. */
.r6-story .unit-sources time { display: inline-block; }
/* The share payload URL is a live anchor; keep its tap target at 44px. */
.r6-story [data-share-url-node] { display: inline-flex; align-items: center; min-height: 44px; }
