:root {
  --bg: #fff9f1;
  --paper: #fff;
  --ink: #1b2333;
  --muted: #566072;
  --blue: #1d4ed8;
  --line: #e8dfd1;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a { color: var(--blue); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #2563eb; outline-offset: 4px; border-radius: 4px; }
p, h1, h2, figure { margin: 0; }
.skip-link {
  position: absolute;
  top: -90px;
  left: 16px;
  z-index: 5;
  padding: 12px 18px;
  background: white;
}
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.78); }
.header-inner {
  max-width: 1120px;
  min-height: 84px;
  margin: auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; gap: 10px; align-items: center; color: var(--ink); font-size: 1.2rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.brand > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #2563eb; color: #fff; font-size: .8rem; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .9rem; }
.site-header nav a { padding: 8px 0; }
.page { max-width: 1000px; padding: 36px 28px 64px; margin: auto; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .85rem; margin-bottom: 26px; }
.reading-note { color: var(--muted); font-size: .85rem; margin-bottom: 18px; }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.story-head { margin-bottom: 28px; }
.story-head h1 { margin-top: 12px; max-width: 850px; font-size: clamp(1.65rem, 4vw, 2.5rem); line-height: 1.35; letter-spacing: -.035em; text-wrap: balance; }
.story-head p { color: var(--muted); margin-top: 12px; max-width: 760px; }
.story-head .story-date { font-size: .83rem; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 7px; background: #eaf1ff; color: var(--blue); font-weight: 700; font-size: .78rem; }
.tag.it { background: #efeaff; color: #5b3fd9; }
.tag.society { background: #e3f6ee; color: #116346; }
.tag.world { background: #fff0de; color: #9b4618; }
.tag.hot { background: #ffd85a; color: var(--ink); }
.tag.plain { background: #f1ece3; color: #5a5142; }
.tag.latest { background: #ffe9e0; color: #a33f20; }
.strip { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-items: start; gap: 24px; }
.cut { min-width: 0; overflow: hidden; border: 2px solid var(--ink); border-radius: 20px; background: var(--paper); box-shadow: 0 5px 0 #1b233310; }
.cut img { display: block; width: 100%; height: auto; }
.cut figcaption { padding: 18px 20px 20px; color: var(--muted); font-size: .98rem; line-height: 1.75; }
.panel-label { display: block; margin-bottom: 5px; font-size: .72rem; font-weight: 700; color: var(--blue); }
.comic-art { position: relative; container-type: inline-size; }
.rate-cut figcaption { border-top: 2px solid var(--ink); color: var(--ink); }
.say { position: absolute; display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center; font-weight: 700; font-size: 12px; font-size: clamp(8px, 3.1cqw, 16px); line-height: 1.3; color: #1a1a1a; }
.scene { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 2px solid var(--ink); }
.scene > svg { display: block; width: 100%; height: 100%; }
.scene text { font-family: inherit; font-weight: 700; }
.bubble {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: 66%;
  padding: 7px 12px 8px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: white;
  color: var(--ink);
  font-size: clamp(.78rem, 1.5vw, 1rem);
  font-weight: 700;
  line-height: 1.4;
}
.bubble::after { content: ""; position: absolute; right: 18px; bottom: -8px; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: white; transform: rotate(45deg); }
.who { display: block; font-size: .68rem; color: var(--blue); }
.cut-no { position: absolute; left: 10px; bottom: 10px; padding: 2px 10px; border-radius: 999px; background: #1b2333d1; color: white; font-size: .75rem; font-weight: 700; line-height: 1.6; }
.concept-tag { position: absolute; top: 8px; right: 8px; padding: 1px 8px; border: 1.5px solid var(--ink); border-radius: 999px; background: #fffffff0; font-size: .68rem; font-weight: 700; }
.sources { margin-top: 30px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.sources-title { font-weight: 800; }
.sources ul { margin: 12px 0; padding-left: 20px; }
.sources li + li { margin-top: 8px; }
.sources a { font-size: .9rem; }
.sources a svg { width: 14px; height: 14px; margin-left: 4px; vertical-align: middle; }
.src-note { color: var(--muted); font-size: .85rem; }
.reading-help { margin-top: 28px; padding: 24px; border-radius: 18px; background: #eaf1ff; }
.reading-help p { color: #40516b; font-size: .88rem; }
.reading-help p + p { margin-top: 8px; }
.primary-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 12px 18px; border-radius: 12px; background: #1d4ed8; color: white; font-weight: 700; text-decoration: none; }
.more-stories { margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line); }
.more-stories h2 { font-size: 1.3rem; }
.more-stories ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.more-stories a { display: block; height: 100%; padding: 14px 16px; background: white; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-size: .9rem; }
.more-stories a:hover { border-color: #2563eb; text-decoration: underline; }
.more-stories a span { display: block; color: var(--muted); font-size: .7rem; }
.site-footer { padding: 28px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: .8rem; }
.site-footer a { display: inline-block; margin-top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 620px) {
  .header-inner { min-height: 72px; padding: 12px 18px; gap: 10px; }
  .brand { font-size: 1.05rem; gap: 7px; }
  .brand > span { width: 32px; height: 32px; }
  .site-header nav { gap: 4px 12px; font-size: .75rem; }
  .page { padding: 24px 18px 42px; }
  .strip, .more-stories ul { grid-template-columns: minmax(0,1fr); }
  .strip { gap: 22px; }
  .bubble { font-size: .9rem; }
  .sources, .reading-help { padding: 20px; }
}
@media print {
  .site-header, .breadcrumbs, .more-stories, .site-footer, .primary-link { display: none; }
  body { background: white; }
  .page { max-width: none; padding: 0; }
  .cut { break-inside: avoid; box-shadow: none; }
  .sources { break-inside: avoid; }
}
