/* poster-site — conference poster companion pages.
   Typography and colour follow the conventions of Cell / Nature / Science:
   serif display over sans metadata, hairline rules instead of shadows,
   white paper, and colour used only where it carries meaning.

   Accents are the cnsplots journal palette (github.com/faridrashidi/cnsplots)
   darkened until text contrast reaches WCAG AA:
     BLUE #5189BB → #3E7099 (5.27:1)   RED #D6372E → #C22F27 (5.63:1)
   No purple anywhere, and one theme only — the page is white paper in every setting.
   The dark variant was removed on purpose: a poster is printed on white, and a page that
   flips to black under the reader's OS shows the same figure on a ground it was never
   designed for. */

:root {
  /* Neuron 표지의 구성을 따른다 — 검은 마스트헤드에 흰 워드마크, 그 아래 흰 지면.
     (표지 상단 53% 가 #101010 이다. 실제로 재서 확인했다.)
     파란 배경은 쓰지 않는다. 링크도 파랑 대신 잉크에 밑줄 — 지면의 방식이다.
     따뜻한 표지색은 학과 로고, 올리브는 연구실 로고에서 뽑았다. */
  --paper: #f4f3ef;
  --surface: #ffffff;
  --tint: #edece6;
  --ink: #111111;
  --ink-2: #3c3c3c;
  --ink-3: #666666;
  --rule: #e0ded6;
  --rule-2: #c5c2b8;
  --band: #101010;            /* Neuron 마스트헤드 — 흰 글자 19.6:1 */
  --band-ink: #ffffff;
  --band-dim: #b9b6ae;        /* 8.6:1 */
  --band-mark: #e8a33d;       /* 앰버 선·라벨. 검정 위 8.9:1 */
  --accent: #111111;          /* 링크는 잉크 + 밑줄 */
  --accent-hover: #a04a1e;
  --accent-fill: #111111;
  --accent-fill-ink: #ffffff;
  --spot: #a04a1e;            /* BCS 뇌 로고의 번트오렌지 — 6.0:1 */
  --olive: #4e6600;           /* CSNL 나무 로고의 올리브 — 6.5:1 */
  --serif: "New York", "Iowan Old Style", Charter, Palatino, "Palatino Linotype",
    Georgia, "Times New Roman", "Apple SD Gothic Neo", "Noto Serif KR", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue",
    Helvetica, Arial, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --maxw: 1120px;
  --measure: 68ch;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px;
    text-underline-offset: 2.5px; text-decoration-color: var(--rule-2); }
a:hover { text-decoration-color: var(--accent-hover); color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; background: var(--surface); color: var(--ink); padding: 10px 16px; z-index: 200; }
.skip:focus { left: 12px; top: 12px; }

.banner {
  background: var(--tint); color: var(--ink-2);
  padding: 9px 24px; font-size: 12.5px; font-weight: 600; text-align: center;
  letter-spacing: .04em; border-bottom: 1px solid var(--rule-2);
  box-shadow: inset 0 3px 0 var(--spot);
}
.banner[hidden] { display: none; }

/* 문서 페이지 고지 — 무엇을 읽고 있는지 오해하지 않게 맨 위에 둔다 */
.notice {
  background: var(--tint); color: var(--ink-2); border-bottom: 1px solid var(--rule);
  padding: 10px 24px; font-size: 12.5px; line-height: 1.5; text-align: center;
}
.notice b { color: var(--ink); font-weight: 700; }

/* 인라인 수식 — 본문 세리프와 어울리는 이탤릭 */
.math { font-family: var(--serif); font-style: italic; font-size: 1.03em; white-space: nowrap; }
.supp sub, .supp sup { font-size: .72em; line-height: 0; }

/* ---------------------------------------------------------------- masthead */
.masthead {
  background: var(--band); color: var(--band-ink);
  border-bottom: 4px solid var(--band-mark);
}
.logos { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.logos img { display: block; height: 44px; width: auto; }
/* 머리의 마크는 흰 판 위에 올린다 — 올리브가 네이비에 묻히지 않게 하고,
   제목과 나란히 놓아 제대로 된 머리표(lockup)가 되게 한다. */
.logos.lead { margin: 0; }
.logos.lead img {
  height: 76px; background: #fff; padding: 9px; border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.25);
}
.masthead .wrap { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; }
@media (min-width: 760px) {
  .masthead .wrap { grid-template-columns: auto 1fr; gap: 28px; }
  .masthead .logos.lead { padding-top: 6px; }
}
.foot .logos { margin: 4px 0 20px; gap: 26px; }
.foot .logos img { height: 46px; }
.masthead .wrap { padding-top: 44px; padding-bottom: 40px; }

.imprint {
  margin: 0 0 16px; font-size: 11px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-3);
}
.masthead .imprint { color: var(--band-mark); }
.masthead h1 {
  font-family: var(--serif); font-weight: 700;
  margin: 0 0 14px; font-size: clamp(33px, 5.6vw, 54px); line-height: 1.06;
  letter-spacing: -.022em; overflow-wrap: anywhere;
}
.masthead .lede { color: var(--band-dim); font-size: 17px; }
.masthead .rule-list { color: var(--band-dim); margin-top: 20px; }
.masthead .rule-list b { color: var(--band-mark); letter-spacing: .1em; font-size: 11px;
  text-transform: uppercase; }
.lede { margin: 0; color: var(--ink-2); font-size: 16.5px; max-width: var(--measure); }
.rule-list { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--ink-3); }
.rule-list li { display: inline-flex; gap: 7px; }
.rule-list b { font-weight: 600; color: var(--ink-2); letter-spacing: .02em; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 42px; padding: 10px 17px; border-radius: 3px;
  font-family: var(--sans); font-size: 14.5px; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid var(--rule-2); background: var(--surface); color: var(--ink);
}
.btn:hover { text-decoration: none; border-color: var(--ink-3); }
/* 네이비 띠 위의 버튼 */
.masthead .btn { background: transparent; color: var(--band-ink); border-color: rgba(255,255,255,.45); }
.masthead .btn:hover { border-color: var(--band-mark); color: var(--band-mark); }
.masthead .actions { margin-top: 26px; }
.btn-primary { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--accent-fill-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn .ext { font-size: 11px; opacity: .8; }

/* ---------------------------------------------------------------- sections */
/* 섹션은 지면 위에 놓인 종이 한 장. 흰 바탕 위 흰 바탕이면 경계가 안 보인다. */
.section {
  background: var(--surface); border: 1px solid var(--rule);
  padding: 26px 30px 30px; margin: 0 0 20px;
}
.section:first-of-type { margin-top: 26px; }
/* 포스터 셋이 이 페이지의 주역이다. 흰 카드 안에 카드를 또 넣지 않고 지면에 직접 놓는다. */
.section-posters { background: transparent; border: 0; padding: 0; margin-bottom: 34px; }
.section-posters > h2 {
  font-family: var(--sans); font-size: 12.5px; letter-spacing: .16em;
  color: var(--ink-2); border-left-width: 5px; margin-bottom: 22px;
}
.section:last-of-type { margin-bottom: 44px; }
.section > h2 {
  font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-2);
  margin: 0 0 16px; padding-left: 11px; border-left: 4px solid var(--spot);
}

/* ---------------------------------------------------------------- index grid */
.grid { display: grid; gap: 40px 34px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 660px) { .grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); } }

.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--rule-2);
  border-top: 4px solid var(--spot); padding: 0 0 20px;
  color: inherit; text-decoration: none;
  transition: transform .14s ease, box-shadow .14s ease;
}
/* 학회명·날짜를 패널 머리에 — 새로 나온 논문의 카테고리 줄처럼 */
.card-kicker {
  margin: 0; padding: 15px 22px 13px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--spot);
}
/* 판 높이를 고정해 셋이 나란히 서게 한다. 세로 포스터는 위쪽(제목 띠)을 보여 준다. */
.thumb {
  height: 250px; background: var(--tint); overflow: hidden; padding: 10px;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.thumb img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block;
  border: 1px solid var(--rule-2); background: #fff;
}
/* 아직 안 낸 자리는 빈 상자를 크게 남기지 않는다 — 있는 포스터가 주인공이다. */
.thumb.none {
  height: 230px; display: flex; align-items: center; justify-content: center;
  background: transparent; border-top: 1px dashed var(--rule-2); border-bottom: 1px dashed var(--rule-2);
  color: var(--ink-3); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
}
.card-body { padding: 19px 22px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-top { display: flex; align-items: center; gap: 9px; }
/* 저자 전원. 발표자만 굵게 — 저널이 발표 저자를 표시하는 방식이다. */
.card-authors { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.card-authors b { color: var(--ink); font-weight: 700; }
.card-foot {
  margin-top: auto; padding-top: 16px; display: flex; align-items: baseline;
  justify-content: space-between; gap: 12px; border-top: 1px solid var(--rule);
}
.card-when { font-size: 13px; color: var(--ink-3); }
.card-cta {
  font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .02em;
  color: var(--ink-2); white-space: nowrap;
}
.card-cta span { display: inline-block; transition: transform .14s ease; }
.card-authors b { font-weight: 700; color: var(--ink); }
.byline b { font-weight: 700; }
.btn .ico { flex: none; margin-right: -1px; }
/* 포스터 번호는 목록에서 눈이 처음 닿는 곳이다. 따뜻한 칩으로 세운다. */
.pno {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 22px; padding: 0 8px; border-radius: 2px;
  background: var(--spot); color: #fff;
  font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
}
.card.pending .pno { background: transparent; color: var(--ink-3); border: 1px solid var(--rule-2); }
.card.pending .pno { color: var(--ink-3); }
.card-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.card-name .en { color: var(--ink-3); font-weight: 400; }
.card-title {
  font-family: var(--serif); font-weight: 700; margin: 0; font-size: 22px; line-height: 1.26;
  letter-spacing: -.01em;
  color: var(--ink); overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}

.card.pending .card-name { font-size: 16px; color: var(--ink-2); }
.card-foot { margin-top: auto; padding-top: 9px; font-size: 13px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 3px 12px; }

/* ---------------------------------------------------------------- poster page */
/* 하위 페이지도 같은 지면 위에 있어야 한다 — 상단바를 마스트헤드와 같은 검정으로. */
.topbar {
  background: var(--band); color: var(--band-ink);
  border-bottom: 3px solid var(--band-mark);
  position: sticky; top: 0; z-index: 30;
}
.topbar .wrap { display: flex; align-items: center; gap: 12px; min-height: 50px; }
.topbar .back {
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  flex: none; color: var(--band-ink); text-decoration: none;
}
.topbar .back:hover { color: var(--band-mark); }
.topbar .here { font-size: 12.5px; color: var(--band-dim); margin: 0 auto 0 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stepper { display: flex; gap: 6px; flex: none; }
.step {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; min-height: 40px; padding: 0 10px; border-radius: 3px;
  border: 1px solid rgba(255,255,255,.35); background: transparent;
  color: var(--band-ink); font-size: 15px; font-weight: 600; text-decoration: none;
}
.step:hover { text-decoration: none; border-color: var(--band-mark); color: var(--band-mark); }
.step[aria-disabled="true"] { opacity: .35; pointer-events: none; }

.article { background: var(--surface); border-bottom: 1px solid var(--rule-2); }
.article .wrap { padding-top: 34px; padding-bottom: 30px; }
.eyebrow { margin: 0 0 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--spot); }
.article h1 {
  font-family: var(--serif); font-weight: 700; margin: 0 0 10px;
  font-size: clamp(25px, 4.3vw, 36px); line-height: 1.22; letter-spacing: -.012em;
  max-width: var(--measure); overflow-wrap: anywhere;
}
.subtitle { font-family: var(--serif); font-style: italic; margin: 0 0 14px; color: var(--ink-3); font-size: 17px; line-height: 1.4; max-width: var(--measure); }
.byline { margin: 0; font-size: 15.5px; color: var(--ink); max-width: var(--measure); }
.affil { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-3); max-width: var(--measure); }
.dateline {
  margin: 16px 0 0; padding-top: 13px; border-top: 1px solid var(--rule);
  font-size: 13.5px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 8px;
}
.dateline .sep { color: var(--rule-2); }

/* poster shown as a journal figure: plate, then caption */
.figure { margin: 30px 0 0; }
.plate {
  display: block; width: 100%; padding: 0; border: 1px solid var(--rule-2); background: var(--tint);
  aspect-ratio: var(--poster-ratio, 841 / 1189);
  max-width: calc(min(76vh, 860px) * var(--poster-ar, 0.7074));
  margin-inline: auto; overflow: hidden; cursor: zoom-in; position: relative;
}
.plate img { width: 100%; height: 100%; object-fit: contain; display: block; }
.plate .zoom {
  position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--rule-2); border-radius: 50%;
  font-size: 21px; font-weight: 400; line-height: 1; color: var(--ink);
  box-shadow: 0 1px 3px rgba(0,0,0,.12); pointer-events: none;
}
.plate:hover .zoom, .plate:focus-visible .zoom {
  background: var(--accent-fill); border-color: var(--accent-fill); color: #fff;
}
.plate.empty {
  aspect-ratio: auto; max-width: none; cursor: default; border-style: dashed;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; min-height: 180px; padding: 26px; text-align: center; color: var(--ink-3); font-size: 14px;
}
/* 세 갈래 — 초록 · 서플 · 원본. 무엇을 누르는지가 보여야 한다. */
.picks {
  display: grid; grid-template-columns: 1fr; gap: 12px;
  margin: 22px auto 0; max-width: 820px;
}
@media (min-width: 700px) { .picks { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); } }
.pick {
  display: flex; flex-direction: column; gap: 3px;
  padding: 14px 18px; border: 1px solid var(--rule-2); background: var(--surface);
  color: var(--ink); text-decoration: none; min-height: 62px; justify-content: center;
  transition: border-color .14s ease, transform .14s ease;
}
.pick:hover { text-decoration: none; border-color: var(--spot); transform: translateY(-2px); }
.pick b {
  font-family: var(--sans); font-size: 14.5px; font-weight: 700; letter-spacing: .01em;
}
.pick span { font-size: 12.5px; color: var(--ink-3); }
.pick-main { background: var(--band); border-color: var(--band); color: var(--band-ink); }
.pick-main span { color: var(--band-dim); }
.pick-main:hover { border-color: var(--band-mark); }

/* ---------------------------------------------------------------- lists */
.list { list-style: none; margin: 0; padding: 0; }
.item {
  display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap;
  padding: 13px 0; border-bottom: 1px solid var(--rule);
}
.item:first-child { border-top: 1px solid var(--rule); }
.item .body { min-width: 200px; flex: 1; }
.item .name { font-size: 15px; font-weight: 600; margin: 0 0 2px; }
.item .note { margin: 0; font-size: 14px; color: var(--ink-2); max-width: var(--measure); }
.item .meta { margin: 3px 0 0; font-size: 12px; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; }
.item .dl { flex: none; margin-left: auto; }

/* QR — 발표자가 자기 코드를 가져가는 자리 */
.qr-block { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.qr-block img.qr {
  width: 132px; height: 132px; flex: none;
  border: 1px solid var(--rule); background: #fff; padding: 6px;
}
.qr-side { flex: 1; min-width: 220px; }
.qr-side .note { margin: 0 0 12px; font-size: 14px; color: var(--ink-2); max-width: 56ch; }
.qr-side .actions { margin: 0; gap: 8px; }
.qr-side .url { margin: 12px 0 0; font-size: 12px; color: var(--ink-3); word-break: break-all; }

.abstract { font-size: 15.5px; line-height: 1.7; color: var(--ink-2); max-width: var(--measure); margin: 0; }

ol.refs { margin: 0; padding: 0; list-style: none; counter-reset: ref; }
ol.refs li {
  counter-increment: ref; position: relative; padding: 8px 0 8px 30px;
  font-size: 14px; line-height: 1.55; color: var(--ink-2); border-bottom: 1px solid var(--rule);
}
ol.refs li:first-child { border-top: 1px solid var(--rule); }
ol.refs li::before {
  content: counter(ref) "."; position: absolute; left: 0; top: 8px;
  font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink-3); font-size: 13px;
}
ol.refs a { word-break: break-all; }

/* 꼬리는 밝게 둔다 — SNU 엠블럼이 네이비라 검은 띠 위에서는 사라진다. */
.foot {
  background: var(--surface); color: var(--ink-3);
  padding: 30px 0 44px; font-size: 12.5px; border-top: 1px solid var(--rule-2);
  box-shadow: inset 0 4px 0 var(--band-mark);
}
.foot p { margin: 4px 0; max-width: var(--measure); }
/* 연구실 · 학과 · 대학. 한 줄에 점으로 이어 붙이면 셋이 같은 층위로 읽힌다. */
.org { margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.org p { margin: 0; max-width: var(--measure); }
.org .org-lab {
  font-family: var(--serif); font-size: 16px; font-weight: 700; line-height: 1.35;
  color: var(--ink); letter-spacing: -.005em;
}
.org .org-dept { margin-top: 3px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.org .org-univ {
  margin-top: 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-3);
}
.empty-note { border: 1px dashed var(--rule-2); padding: 20px; color: var(--ink-3); font-size: 14px; text-align: center; }

/* ---------------------------------------------------------------- 서플 본문 */
/* 긴 파일명·DOI·식별자가 상자 밖으로 흘러 지면을 늘린다. 박스 크기로는 안 잡히고
   document.scrollWidth 로만 보이는 종류라, 본문 전체에 줄바꿈을 허용해 둔다. */
.supp {
  background: var(--surface); border: 1px solid var(--rule);
  padding: 26px 26px 30px; margin: 22px 0 44px; overflow-wrap: break-word;
}
.supp code, .supp td, .supp th, .supp a { overflow-wrap: anywhere; }
.supp > *:first-child { margin-top: 0; }
.supp > h2:first-child { margin-top: 0; }
.supp h2 {
  font-family: var(--serif); font-weight: 700; font-size: clamp(19px, 3vw, 23px);
  line-height: 1.3; letter-spacing: -.008em; color: var(--ink);
  margin: 40px 0 14px; padding-top: 16px; border-top: 2px solid var(--olive);
  text-transform: none;
}
.supp h3 {
  font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--olive); margin: 26px 0 10px;
}
.supp p { font-size: 15.5px; line-height: 1.72; color: var(--ink-2); max-width: var(--measure); margin: 0 0 14px; }
.supp strong { color: var(--ink); font-weight: 650; }
.supp em { font-style: italic; }
.supp ul, .supp ol { max-width: var(--measure); font-size: 15.5px; line-height: 1.72; color: var(--ink-2); padding-left: 22px; }
.supp li { margin: 0 0 6px; }
.supp hr { border: 0; border-top: 1px solid var(--rule); margin: 34px 0; }
.supp a { text-decoration: underline; text-underline-offset: 2px; }

.supp img, .supp video, .supp iframe { max-width: 100%; height: auto; }
.supp video { width: 100%; border: 1px solid var(--rule); background: var(--tint); }
.supp .missing {
  font-size: 13.5px; color: var(--ink-3); border: 1px dashed var(--rule-2);
  padding: 12px 14px; max-width: var(--measure);
}
/* 문서가 들고 온 '이 페이지 안에서' 목차 */
.supp .toc {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px;
  margin: 22px 0 8px; padding: 14px 16px;
  border: 1px solid var(--rule); background: var(--tint); font-size: 13.5px;
}
.supp .toc strong {
  font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3); width: 100%;
}
.supp .toc a { text-decoration: none; }
.supp .toc a:hover { text-decoration: underline; }
.supp h1 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 3.4vw, 27px);
  line-height: 1.25; margin: 0 0 16px; color: var(--ink);
}

.supp figure { margin: 24px 0; }
.supp figure img {
  display: block; width: 100%; height: auto; border: 1px solid var(--rule);
  background: var(--tint);
}
.supp figcaption {
  margin: 9px 0 0; font-size: 13px; line-height: 1.55; color: var(--ink-3); max-width: 80ch;
}

/* 표 — 저널 표 관례: 위아래 굵은 선, 머리글 아래 얇은 선, 세로줄 없음 */
.supp .table-wrap { overflow-x: auto; margin: 18px 0 22px; }
.supp table {
  border-collapse: collapse; width: 100%; font-size: 13.5px; line-height: 1.5;
  font-variant-numeric: tabular-nums; color: var(--ink-2);
}
.supp thead th {
  text-align: left; font-weight: 700; color: var(--ink); font-size: 12px;
  letter-spacing: .05em; text-transform: uppercase; padding: 8px 12px 8px 0;
  border-bottom: 1px solid var(--ink-3);
}
.supp table tr:first-child th { border-top: 1.5px solid var(--ink); }
.supp td, .supp th { padding: 7px 12px 7px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.supp tbody tr:last-child td { border-bottom: 1.5px solid var(--ink); }

.supp code, .supp kbd {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: .92em; background: var(--tint); padding: 1px 5px; border-radius: 2px;
}
.supp pre { overflow-x: auto; background: var(--tint); padding: 14px 16px; border: 1px solid var(--rule); }
.supp pre code { background: none; padding: 0; }

/* 글만 있는 문서(초록)의 조판. 폭 68ch·15.5px 는 표와 그림이 섞인 서플의 값이고,
   네 단락짜리 논증에는 줄이 길어 눈이 되돌아온다. 좁히고 벌린다. */
.supp.prose { --measure: 58ch; }
.supp.prose p { font-size: 16.5px; line-height: 1.78; margin: 0 0 20px; }
.supp.prose > p:first-of-type {
  font-size: 18px; line-height: 1.62; color: var(--ink); margin-bottom: 22px;
}
.supp.prose ul, .supp.prose ol { font-size: 16.5px; line-height: 1.78; }
.supp.prose .math { font-size: 1.06em; }
@media (max-width: 560px) {
  .supp.prose p { font-size: 16px; line-height: 1.72; margin-bottom: 18px; }
  .supp.prose > p:first-of-type { font-size: 17px; }
}

.supp-link { margin: 0 0 16px; }
.supp-link:last-child { margin-bottom: 0; }
.section > .actions:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- lightbox */
/* 확대 장막도 밝게. 포스터는 흰 종이라 검은 바탕에 얹으면 지면과 따로 논다. */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; background: rgba(248, 248, 246, .97); }
.lightbox.on { display: block; }
.lightbox .stage { position: absolute; inset: 0; overflow: auto; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y pinch-zoom; }
.lightbox img { display: block; margin: auto; max-width: 100%; background: var(--surface); }
.lightbox img.full { max-width: none; width: auto; }
.lb-bar { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; gap: 8px; justify-content: flex-end; padding: 10px 12px; background: linear-gradient(var(--paper), transparent); }
.lb-btn {
  min-height: 38px; padding: 8px 14px; border-radius: 3px; cursor: pointer;
  background: var(--surface); color: var(--ink); border: 1px solid var(--rule-2);
  font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .04em;
}
.lb-btn:hover { border-color: var(--ink-3); }

/* 손가락으로 누르는 화면에서는 타깃을 더 키운다 (Apple HIG 44pt) */
@media (pointer: coarse) {
  .btn, .step, .lb-btn { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {
  .topbar, .banner, .actions, .lightbox, .skip { display: none !important; }
  body { background: #fff; }
  .masthead, .article { border: 0; }
}
