/* 매일신문 삼성 라이온즈 우승 온라인 특별판
   배치: 야간 경기장의 남색을 바탕으로, 라이온즈 파랑 면과 흰 면이 번갈아 나온다.
         빨강은 매일신문의 색이라 제호·호외 딱지·신문 받기 단추에만 쓴다.
   휴대폰이 기본이고 900px 부터 PC 배치로 넓어진다. */
:root {
  --ink: #020b1c;          /* 가장 어두운 밤 */
  --navy: #04142e;         /* 기본 바탕 */
  --navy-2: #0a2147;       /* 남색 위 상자 */
  --blue: #074ca1;         /* 라이온즈 파랑 */
  --blue-2: #0b63cf;
  --sky: #8fc3ff;          /* 어두운 바탕 위 강조 글자 */
  --ice: #f1f5fb;          /* 흰 면 (파랑 기운이 도는 흰색) */
  --ice-2: #dce5f2;
  --white: #ffffff;
  --text: #0b1b33;         /* 흰 면 위 글자 */
  --mute-d: #9db0cf;       /* 어두운 바탕 위 보조 글자 */
  --mute-l: #55657f;       /* 흰 면 위 보조 글자 */
  --red: #e11b22;          /* 매일신문 빨강 */
  --line-d: rgba(255, 255, 255, .16);
  --line-l: rgba(11, 27, 51, .14);

  --display: "Black Han Sans", "Noto Sans KR", "Malgun Gothic", sans-serif;   /* 큰 제목 */
  --score: "Anton", "Black Han Sans", Impact, sans-serif;                     /* 숫자·영문 딱지 */
  --paper: "Hahmlet", "Nanum Myeongjo", "Batang", serif;                      /* 신문의 목소리: 제호·인용문 */
  --body: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;

  --bar-h: 52px;
  --gut: 20px;
  --wrap: 1200px;
  --r: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + var(--dl-h, 0px) + 8px); }
body {
  margin: 0; background: var(--navy); color: var(--white);
  font-family: var(--body); font-size: 16px; line-height: 1.65;
  word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.on-ice :focus-visible { outline-color: var(--blue); }
[hidden] { display: none !important; }
.in { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }

/* ── 맨 위 띠 ───────────────────────────── */
.bar {
  position: sticky; top: 0; z-index: 50; height: var(--bar-h);
  background: rgba(2, 11, 28, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-d);
}
.bar-in { max-width: var(--wrap); height: 100%; margin: 0 auto; padding: 0 0 0 var(--gut); display: flex; align-items: center; gap: 10px; }
.mast { font-family: var(--paper); font-weight: 900; font-size: 20px; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; flex: none; display: inline-flex; align-items: center; gap: 8px; }
.mast::before { content: ""; width: 9px; height: 9px; background: var(--red); flex: none; }
.mast.logo::before { content: none; }
.mast.logo img { height: 18px; width: auto; max-width: none; }
.bar .mast.logo ~ .bar-links a { min-width: 31px; padding: 0 5px; }
.bar .mast.logo ~ .bar-links { padding-right: 6px; }
.foot .mast.logo img { height: 30px; }
.bar-tag { display: none; font-size: 12px; font-weight: 700; color: var(--mute-d); white-space: nowrap; }
.bar-links { margin-left: auto; display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; padding-right: 8px; }
.bar-links::-webkit-scrollbar { display: none; }
.bar-links a { flex: none; height: var(--bar-h); min-width: 36px; padding: 0 7px; display: inline-flex; align-items: center; gap: 6px; color: var(--mute-d); text-decoration: none; font-size: 13px; font-weight: 500; transition: color .15s; }
.bar-links a span { display: none; }
.bar-links a:hover { color: var(--white); }
.ico { width: 21px; height: 21px; flex: none; }

/* ── 첫 화면 ───────────────────────────── */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 70% 0%, var(--blue) 0%, var(--navy) 62%, var(--ink) 100%); }
.hero-in { position: relative; min-height: min(calc(100vh - var(--bar-h)), 860px); display: flex; align-items: flex-end; }
@supports (height: 100svh) { .hero-in { min-height: min(calc(100svh - var(--bar-h)), 860px); } }
.hero-img { position: absolute; inset: 0; }
.hero-img .shot { position: absolute; inset: 0; height: 100%; background: none; border-radius: 0; }
.hero-img .shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(2,11,28,.45) 0%, rgba(2,11,28,.12) 26%, rgba(4,20,46,.74) 56%, rgba(4,20,46,.98) 100%); }
.hero-v {
  position: absolute; right: -2vw; top: 2vw; z-index: 1; pointer-events: none;
  font-family: var(--score); font-size: clamp(170px, 56vw, 520px); line-height: .82; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .34);
}
.hero-txt { position: relative; z-index: 2; width: 100%; padding: 120px var(--gut) 44px; max-width: var(--wrap); margin: 0 auto; }
.hero-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.chip { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12.500px; font-weight: 700; white-space: nowrap; }
.chip.red { background: var(--red); color: #fff; }
.chip.line { border: 1px solid rgba(255,255,255,.5); }
.hero h1 {
  margin: 18px 0 0; font-family: var(--display); font-weight: 400;
  font-size: clamp(46px, 14vw, 116px); line-height: 1.06; letter-spacing: -.015em;
  white-space: pre-line; text-wrap: balance; text-shadow: 0 4px 30px rgba(2, 11, 28, .5);
}
.hero-sub { margin: 18px 0 0; font-size: clamp(16px, 2vw, 20px); line-height: 1.6; color: rgba(255,255,255,.92); max-width: 30em; }
.hero-meta { margin: 22px 0 0; font-size: 12.500px; color: var(--mute-d); display: flex; flex-wrap: wrap; gap: 4px 16px; }
.hero-act { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }

/* 흐르는 띠 */
.tick { background: var(--white); color: var(--blue); overflow: hidden; border-block: 0; }
.tick-run { display: flex; width: max-content; animation: tick 38s linear infinite; }
.tick-run span { font-family: var(--score); font-size: 17px; letter-spacing: .06em; line-height: 44px; white-space: nowrap; padding-right: 28px; }
.tick-run b { font-family: var(--display); font-weight: 400; letter-spacing: 0; }
.tick-run i { font-style: normal; color: var(--red); padding-right: 28px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ── 단추 ───────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border-radius: 999px;
  font-size: 15.500px; font-weight: 700; text-decoration: none; white-space: nowrap;
  border: 1.500px solid currentColor; transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.btn.white { background: #fff; border-color: #fff; color: var(--blue); }
.btn.blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.blue:hover { background: var(--blue-2); border-color: var(--blue-2); }
.btn.sm { min-height: 42px; padding: 0 16px; font-size: 14px; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }

/* ── 구역 공통 ─────────────────────────── */
.sec { padding: 72px 0 68px; }
.sec.blue { background: var(--blue); }
.sec.deep { background: var(--ink); }
.sec.on-ice { background: var(--ice); color: var(--text); }
.sec-head { margin-bottom: 32px; }
.eye { display: inline-flex; align-items: center; gap: 10px; font-family: var(--score); font-size: 14px; letter-spacing: .14em; color: var(--sky); }
.eye::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.on-ice .eye { color: var(--blue); }
.sec.blue .eye { color: #fff; }
.sec-head h2 { margin: 12px 0 0; font-family: var(--display); font-weight: 400; font-size: clamp(34px, 9.800vw, 68px); line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
.sec-head p { margin: 14px 0 0; color: var(--mute-d); font-size: 15.500px; max-width: 34em; }
.on-ice .sec-head p { color: var(--mute-l); }
.sec.blue .sec-head p { color: rgba(255,255,255,.86); }

/* ── 사진 한 장 ─────────────────────────── */
.shot { position: relative; display: block; width: 100%; background: var(--navy-2); overflow: hidden; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.shot.wait { aspect-ratio: var(--ar, 3 / 2); }
.shot img { width: 100%; height: auto; transition: transform .5s ease; }
.shot.wait img { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: 0; }
button.shot { cursor: zoom-in; }
button.shot:hover img { transform: scale(1.025); }
.missing {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 12px; text-align: center; color: var(--mute-d);
  background: repeating-linear-gradient(135deg, #08193a 0 14px, #0b2046 14px 28px); border: 1px dashed rgba(143,195,255,.45);
}
.missing b { font-size: 12px; font-weight: 700; }
.missing code { font: 12px/1.3 ui-monospace, Consolas, monospace; color: #cfe2ff; word-break: break-all; }
.on-ice .shot { background: var(--ice-2); }
.on-ice .missing { background: repeating-linear-gradient(135deg, #e3eaf5 0 14px, #d6e0ef 14px 28px); border-color: #8fa3c2; color: var(--mute-l); }
.on-ice .missing code { color: var(--text); }
.sec.blue .missing { background: repeating-linear-gradient(135deg, #0a418a 0 14px, #0c4795 14px 28px); }
.cap { padding-top: 10px; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.9); }
.cap .by { display: block; margin-top: 3px; font-size: 12px; color: var(--mute-d); }
.cap:empty { display: none; }

/* ── 그날의 1면 ─────────────────────────── */
.front-grid { display: grid; gap: 34px; }
.front-grid .sec-head { margin-bottom: 0; }
.story-left, .story-right { display: grid; gap: 26px; }
.board-wrap { margin-top: 44px; }
.board-wrap .board { margin-top: 0; }
.front-paper { position: relative; max-width: 440px; margin: 0 auto; width: 100%; }
.front-page { transform: rotate(-2deg); box-shadow: 0 30px 60px -20px rgba(2,11,28,.75), 0 2px 0 rgba(255,255,255,.2); }
.front-page .shot { --ar: 394 / 545; background: #e9edf4; }
.sticker {
  position: absolute; right: -6px; top: -16px; z-index: 3; transform: rotate(9deg);
  width: 86px; height: 86px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; text-align: center; font-family: var(--display); font-size: 19px; line-height: 1.1;
  box-shadow: 0 8px 20px -6px rgba(2,11,28,.6); white-space: pre-line;
}
.front-side h3 { margin: 0; font-family: var(--paper); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.front-side p { margin: 10px 0 0; color: rgba(255,255,255,.86); font-size: 15.500px; }
.front-act { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ── 마지막 날 사진 기록 ────────────────── */
.chap { margin-top: 56px; }
.chap:first-of-type { margin-top: 0; }
.chap-head {
  position: sticky; top: calc(var(--bar-h) + var(--dl-h, 0px)); z-index: 5; display: flex; align-items: center; gap: 12px;
  padding: 12px var(--gut); margin: 0 calc(var(--gut) * -1) 16px;
  background: rgba(2, 11, 28, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.chap-no { font-family: var(--score); font-size: 22px; line-height: 1; color: var(--sky); flex: none; }
.chap-head h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.1; }
.chap-time { margin-left: auto; font-size: 12.500px; color: var(--mute-d); font-variant-numeric: tabular-nums; }
.chap-list { display: grid; gap: 28px; }
.fig { margin: 0; }
.fig .shot { margin: 0 calc(var(--gut) * -1); width: calc(100% + var(--gut) * 2); }

/* ── 옆으로 넘기는 줄 ───────────────────── */
.strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gut) 10px; margin: 0 calc(var(--gut) * -1); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.strip::-webkit-scrollbar { display: none; }
.strip > * { flex: none; scroll-snap-align: center; }
/* B컷: 휴대폰은 높이를 맞춘 한 줄(세로·가로 사진이 섞여도 줄이 가지런하다), PC 는 3단 쌓기 */
.bcut { margin: 0; width: min-content; min-width: min(72vw, 300px); }   /* 세로 사진도 설명을 읽을 만한 폭은 갖게 한다 */
.bcut .shot { border-radius: var(--r); width: auto; height: clamp(230px, 62vw, 420px); display: flex; justify-content: center; }
.bcut .shot img { width: auto; height: 100%; max-width: none; }
.bcut .shot.wait img { width: 100%; }
.strip-hint { margin: 14px 0 0; font-size: 12.500px; color: var(--mute-d); }
.on-ice .strip-hint { color: var(--mute-l); }

/* ── 사진기자의 뒷이야기 ─────────────────── */
.story { display: grid; gap: 26px; }
.story + .story { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--line-l); }
.story-who { display: flex; align-items: center; gap: 14px; }
.story-face { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex: none; }
.story-face .shot, .story-face .shot img { height: 100%; }
.story-face .shot img { object-fit: cover; object-position: 50% 22%; }   /* 증명사진은 얼굴이 위쪽에 있어 위를 기준으로 자른다 */
.story-face .missing { border-radius: 50%; }
.story-face .missing code { display: none; }
.story-name { font-family: var(--display); font-size: 21px; line-height: 1.25; }
.story-role { font-size: 13px; color: var(--mute-l); }
.story-quote { margin: 0; font-family: var(--paper); font-weight: 800; font-size: clamp(23px, 6.200vw, 38px); line-height: 1.42; letter-spacing: -.03em; color: var(--blue); text-wrap: balance; }
.story-quote::before { content: "“"; display: block; font-family: var(--score); font-size: 72px; line-height: .6; color: var(--red); margin-bottom: 4px; }
.story-photo .shot { border-radius: var(--r); }
.story-video { margin: 0; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); overflow: hidden; background: var(--ink); cursor: pointer; }
iframe.yt { cursor: auto; }
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .2s; opacity: .92; }
.yt:hover img { transform: scale(1.03); opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(2,11,28,.7); transition: transform .2s; }
.yt:hover .yt-play { transform: scale(1.08); }
.yt-play svg { width: 34px; height: 34px; }
.yt.none { cursor: default; }
.yt-cap { margin-top: 10px; font-size: 13px; color: var(--mute-l); }
.yt-cap a { color: var(--blue); font-weight: 700; text-underline-offset: 3px; }
.story-body h4 { margin: 1.900em 0 .600em; font-family: var(--display); font-weight: 400; font-size: 21px; line-height: 1.25; color: var(--blue); }
.story-body h4:first-child { margin-top: 0; }
.story-body { font-size: 17px; line-height: 1.9; max-width: 36em; }
.story-body p { margin: 0 0 1.1em; }
.story-body p:last-child { margin-bottom: 0; }

/* ── 숫자와 5경기 ───────────────────────── */
.bigs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.big-n { font-family: var(--score); font-size: clamp(84px, 27vw, 210px); line-height: .9; letter-spacing: -.01em; }
.big-u { margin-top: 8px; font-family: var(--display); font-size: clamp(18px, 4.800vw, 30px); line-height: 1.1; }
.big-l { margin-top: 6px; font-size: 12.500px; color: rgba(255,255,255,.8); line-height: 1.4; }
.board { margin-top: 44px; background: var(--ink); border-radius: 24px; padding: 8px 18px 10px; }
.board-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line-d); font-family: var(--score); font-size: 13px; letter-spacing: .14em; color: var(--sky); }
.game { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line-d); }
.game:last-child { border-bottom: 0; }
.game-no { font-family: var(--display); font-size: 17px; line-height: 1.2; white-space: nowrap; }
.game-meta { display: block; font-family: var(--body); font-size: 12px; color: var(--mute-d); font-variant-numeric: tabular-nums; }
.game-score { display: flex; align-items: center; justify-content: center; gap: 8px; }
.game-score .t { font-size: 13px; font-weight: 500; color: var(--mute-d); min-width: 2em; }
.game-score .t:first-child { text-align: right; }
.game-score .s { font-family: var(--score); font-size: 34px; line-height: 1; min-width: 1.1em; text-align: center; color: #5c7195; font-variant-numeric: tabular-nums; }
.game-score .sep { color: #5c7195; font-family: var(--score); }
.game-score .s.on { color: #fff; }
.game-res { font-size: 12.500px; font-weight: 700; min-width: 44px; text-align: center; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-d); color: var(--mute-d); white-space: nowrap; }
.game.w .game-res { background: #fff; border-color: #fff; color: var(--blue); }
.game.last .game-res { background: var(--red); border-color: var(--red); color: #fff; }
.game-note { grid-column: 1 / -1; margin: -8px 0 0; font-size: 12.500px; color: var(--sky); }
.unconfirmed { margin: 20px 0 0; padding: 10px 14px; border: 1px dashed #fff; border-radius: 12px; font-size: 13px; }

/* ── 기사 모음 ──────────────────────────── */
.news { border-top: 3px solid var(--text); }
.ng { display: grid; gap: 4px; padding: 22px 0 14px; border-bottom: 1px solid var(--line-l); }
.ng-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.ng-head h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.15; color: var(--blue); }
.ng-score { font-size: 12.500px; font-weight: 700; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line-l); color: var(--mute-l); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ng-score.w { background: var(--blue); border-color: var(--blue); color: #fff; }
.ng-list { list-style: none; margin: 0; padding: 0; }
.ng-list li + li { border-top: 1px dashed var(--line-l); }
.ng-list a { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: start; padding: 14px 0; text-decoration: none; font-family: var(--paper); font-weight: 800; font-size: 17.500px; line-height: 1.5; letter-spacing: -.02em; transition: color .15s; }
.ng-list a .go { width: 18px; height: 18px; margin-top: 5px; color: var(--mute-l); transition: transform .15s, color .15s; }
.ng-list a:hover { color: var(--blue); }
.ng-list a:hover .go { color: var(--blue); transform: translate(3px, -3px); }
.ng.hot { background: var(--blue); color: #fff; border-radius: 24px; padding: 24px 20px 12px; margin: 14px -8px; border-bottom: 0; }
.ng.hot .ng-head h3 { color: #fff; }
.ng.hot .ng-score.w { background: var(--red); border-color: var(--red); }
.ng.hot .ng-list li + li { border-top-color: rgba(255,255,255,.3); }
.ng.hot .ng-list a { font-size: 20px; }
.ng.hot .ng-list a .go, .ng.hot .ng-list a:hover, .ng.hot .ng-list a:hover .go { color: #fff; }
.ng.hot + .ng { border-top: 0; }
#news .strip-hint { margin-top: 20px; }

/* ── 우승 연대기 ────────────────────────── */
.rail {
  position: sticky; top: calc(var(--bar-h) + var(--dl-h, 0px)); z-index: 6; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gut) * -1) 36px; padding: 10px var(--gut);
  background: rgba(2, 11, 28, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-d);
}
.rail::-webkit-scrollbar { display: none; }
.rail a { flex: none; display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 54px; padding: 7px 10px 6px; border-radius: 12px; text-decoration: none; color: var(--mute-d); transition: background .2s, color .2s; }
.rail a b { font-family: var(--score); font-weight: 400; font-size: 18px; line-height: 1; letter-spacing: .02em; }
.rail a span { font-size: 11px; font-variant-numeric: tabular-nums; }
.rail a:hover { color: #fff; }
.rail a.on { background: #fff; color: var(--blue); }
.rail a.now b { color: var(--red); }
.rail a.now.on { background: var(--red); color: #fff; }
.rail a.now.on b { color: #fff; }

.eras { list-style: none; margin: 0; padding: 0; }
.era { display: grid; gap: 26px; scroll-margin-top: calc(var(--bar-h) + var(--dl-h, 0px) + 76px); }
.era-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.era-year { font-family: var(--score); font-size: clamp(84px, 25vw, 168px); line-height: .86; letter-spacing: -.01em; }
.era-v { font-family: var(--score); font-size: clamp(54px, 15vw, 104px); line-height: .86; color: transparent; -webkit-text-stroke: 1.500px var(--sky); }
.era-date { margin-top: 14px; font-size: 13px; color: var(--mute-d); font-variant-numeric: tabular-nums; }
.era-head { margin: 10px 0 0; font-family: var(--paper); font-weight: 800; font-size: clamp(23px, 6.200vw, 38px); line-height: 1.36; letter-spacing: -.03em; text-wrap: balance; }
.era-fact { display: inline-block; margin: 14px 0 0; padding: 5px 12px; border: 1px solid var(--line-d); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--sky); }
.era-pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.era-pages.n1 { grid-template-columns: minmax(0, 68%); justify-content: center; }
.era-pages.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pg { margin: 0; transition: transform .25s ease; }
.pg .shot { --ar: 394 / 545; background: #e9edf4; box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .8); }
.pg:nth-child(odd) { transform: rotate(-1.200deg); }
.pg:nth-child(even) { transform: rotate(1.200deg) translateY(10px); }
.pg:hover { transform: rotate(0) translateY(-4px); z-index: 2; }
.pg figcaption { margin-top: 12px; text-align: center; font-size: 12px; color: var(--mute-d); }
.gap { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 34px 0; }
.gap::before, .gap::after { content: ""; width: 1px; height: 26px; background: linear-gradient(var(--line-d), var(--sky)); }
.gap::after { background: linear-gradient(var(--sky), var(--line-d)); }
.gap span { font-size: 12.500px; font-weight: 500; color: var(--mute-d); }
.gap.mid::before, .gap.mid::after { height: 54px; }
.gap.mid span { font-family: var(--display); font-size: 20px; color: var(--sky); }
.gap.long { padding: 48px 0; }
.gap.long::before, .gap.long::after { height: 110px; width: 2px; }
.gap.long span { font-family: var(--display); font-size: clamp(34px, 9.800vw, 64px); line-height: 1.1; color: #fff; }
.era.now { background: var(--blue); border-radius: 28px; padding: 28px 20px 30px; margin: 0 -8px; }
.era.now .era-v { color: #fff; -webkit-text-stroke: 0; }
.era.now .era-date { color: rgba(255,255,255,.82); }
.era.now .era-fact { background: var(--red); border-color: var(--red); color: #fff; font-weight: 700; }
.era.now .pg figcaption { color: rgba(255,255,255,.82); }
#arch .strip-hint { margin-top: 28px; text-align: center; }

/* ── 소장·구매, 주소 적기 ───────────────── */
.buy-grid { display: grid; gap: 28px; }
.offer { background: #fff; color: var(--text); border-radius: 28px; padding: 28px 22px 26px; }
.offer-badge { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; background: var(--red); color: #fff; font-size: 12.500px; font-weight: 700; border-radius: 999px; }
.offer h3 { margin: 16px 0 0; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 7.800vw, 42px); line-height: 1.16; white-space: pre-line; color: var(--blue); }
.offer > p { margin: 12px 0 0; font-size: 15px; color: var(--mute-l); }
.offer ul { margin: 14px 0 0; padding: 0; list-style: none; font-size: 14.500px; display: grid; gap: 4px; }
.offer li { padding-left: 14px; position: relative; }
.offer li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }
.steps { margin: 22px 0 0; display: grid; gap: 10px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; padding: 16px; background: var(--ice); border-radius: 16px; }
.step-n { grid-row: span 2; font-family: var(--score); font-size: 30px; line-height: 1; color: var(--blue); }
.step > b { font-size: 16px; }
.step > p { margin: 0; font-size: 13.500px; color: var(--mute-l); grid-column: 2; }
.step > .btn { grid-column: 1 / -1; margin-top: 10px; }

.gate { grid-column: 1 / -1; margin-top: 12px; padding: 16px; background: #fff; border: 1.500px dashed var(--blue); border-radius: 12px; display: grid; gap: 12px; justify-items: start; font-size: 14px; line-height: 1.6; }
.gate p { margin: 0; color: var(--mute-l); }
.gate b { color: var(--text); font-size: 15px; }
.gate .btn { color: var(--blue); }
.form.locked { opacity: .36; pointer-events: none; -webkit-user-select: none; user-select: none; }
.form { margin-top: 12px; display: grid; gap: 14px; grid-column: 1 / -1; }
.fld { display: grid; gap: 6px; }
.fld label, .fld .lab { font-size: 13.500px; font-weight: 700; }
.fld .hint { font-weight: 400; color: var(--mute-l); }
.fld input[type="text"], .fld input[type="tel"], .fld input[type="email"] {
  width: 100%; height: 52px; padding: 0 14px; background: #fff; border: 1.500px solid var(--ice-2); border-radius: 12px; font-size: 16px; color: var(--text);
}
.fld input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(7,76,161,.16); }
.fld input.bad { border-color: var(--red); box-shadow: 0 0 0 3px rgba(225, 27, 34, .14); }
.fld-err { margin: -4px 0 12px; color: var(--red); font-size: 14px; font-weight: 700; line-height: 1.45; }
.zip-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.zip-row .btn { min-height: 52px; border-radius: 12px; padding: 0 16px; color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.agree { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 14px; font-weight: 700; cursor: pointer; }
.agree input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); }
.privacy { margin: 0; padding: 12px 14px; background: #fff; border: 1px solid var(--ice-2); border-radius: 12px; font-size: 12.500px; color: var(--mute-l); display: grid; gap: 3px; }
.privacy b { color: var(--text); font-weight: 700; }
.form-msg { font-size: 14px; font-weight: 700; color: var(--red); min-height: 1.4em; }
.done { grid-column: 1 / -1; margin-top: 12px; padding: 22px 18px; background: var(--blue); color: #fff; border-radius: 16px; text-align: center; }
.done b { display: block; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.2; }
.done p { margin: 8px 0 0; font-size: 14px; color: rgba(255,255,255,.9); }
.done .no { display: inline-block; margin-top: 12px; padding: 4px 14px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; font-family: var(--score); font-size: 18px; letter-spacing: .06em; }

.again { display: block; margin: 16px auto 0; font-size: 13.500px; color: rgba(255,255,255,.9); text-decoration: underline; text-underline-offset: 3px; }

/* 주소 찾기 (화면 안에 겹쳐 뜬다) */
.post { position: fixed; inset: 0; z-index: 130; background: rgba(2, 8, 20, .72); display: grid; place-items: center; padding: 12px; }
.post-in { width: min(520px, 100%); height: min(620px, 100%); background: #fff; color: var(--text); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.post-top { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 6px 0 18px; border-bottom: 1px solid var(--ice-2); flex: none; font-size: 16px; }
.post-top .lb-x { color: var(--text); }
.post-box { flex: 1; min-height: 0; }

/* ── 회원 전용 안내(문) ─────────────────── */
.gate-sec { background: linear-gradient(180deg, var(--navy) 0%, var(--ink) 100%); padding-top: 44px; }
.mg { position: relative; max-width: 760px; margin: 0 auto; padding: 44px 22px 30px; background: var(--navy-2); border: 1px solid var(--line-d); border-radius: 28px; text-align: center; display: grid; justify-items: center; gap: 0; }
.mg::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 4px; border-radius: 28px 28px 0 0; background: linear-gradient(90deg, var(--blue-2), var(--red)); }
.mg-lock { width: 62px; height: 62px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.mg-lock svg { width: 28px; height: 28px; }
.mg .eye::before { display: none; }
.mg h2 { margin: 10px 0 0; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 8.400vw, 48px); line-height: 1.18; white-space: pre-line; text-wrap: balance; }
.mg-lede { margin: 14px 0 0; font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.88); max-width: 26em; }
.mg-items { list-style: none; margin: 26px 0 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mg-items li { display: grid; gap: 6px; padding: 16px 10px 14px; background: rgba(255,255,255,.07); border: 1px solid var(--line-d); border-radius: 16px; }
.mg-n { font-family: var(--score); font-size: 40px; line-height: 1; color: var(--sky); }
.mg-n i { font-style: normal; font-family: var(--display); font-size: 18px; margin-left: 3px; color: #fff; }
.mg-l { font-size: 14.500px; line-height: 1.4; color: rgba(255,255,255,.9); }
.mg-gift { margin: 16px 0 0; width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; text-align: left; padding: 16px; background: #fff; color: var(--text); border-radius: 16px; font-size: 16px; font-weight: 500; line-height: 1.55; }
.mg-gift svg { width: 26px; height: 26px; color: var(--red); }
.mg-act { margin-top: 24px; width: 100%; display: grid; gap: 10px; }
.mg-act .btn { min-height: 58px; font-size: 18px; }
.mg-re { margin-top: 8px; padding: 12px 8px; min-height: 44px; font-size: 14.500px; color: var(--mute-d); text-decoration: underline; text-underline-offset: 3px; }
.mg-msg { margin: 10px 0 0; min-height: 1.5em; font-size: 15px; font-weight: 500; color: var(--sky); }
.step.ok { background: #e7f4ea; }
.step.ok .step-n { background: #1f8a3b; }
.step.ok .step-n svg, .step-n svg { width: 20px; height: 20px; }
.step.ok > b { color: #17692d; }
.fld input.ro { background: var(--ice); color: var(--sub-l); }

/* ── 무료 배송 상자 읽기 쉽게 ────────────────
   신청하는 사람 중에는 어르신이 많다. 글자를 키우고, 회색 글씨를 진하게 하고, 좁은 칸에서 글이 잘게 끊기지 않게 한다. */
#buy .sec-head p { font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .9); }
.offer { --sub-l: #33425c; }
.offer h3 { font-size: clamp(30px, 8.400vw, 42px); line-height: 1.2; }
.offer > p { margin-top: 14px; font-size: 17px; line-height: 1.7; color: var(--sub-l); }
.offer ul { margin-top: 18px; font-size: 17px; font-weight: 500; line-height: 1.55; gap: 0; border-top: 1px solid var(--ice-2); }
.offer li { padding: 13px 0 13px 30px; border-bottom: 1px solid var(--ice-2); }
.offer li::before { left: 2px; top: 17px; width: 17px; height: 17px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.500l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.steps { margin-top: 26px; gap: 14px; }
.step { grid-template-columns: auto 1fr; gap: 8px 12px; align-items: center; padding: 18px 16px 18px; }
.step-n { grid-row: auto; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 22px; }
.step > b { font-family: var(--display); font-weight: 400; font-size: 23px; line-height: 1.2; color: var(--blue); }
.step > p { grid-column: 1 / -1; font-size: 16px; line-height: 1.65; color: var(--sub-l); }
.step > .btn { margin-top: 6px; min-height: 54px; font-size: 17px; }
.gate { padding: 18px 16px; font-size: 16px; gap: 14px; }
.gate p { color: var(--sub-l); line-height: 1.65; }
.gate b { font-size: 18px; }
.gate .btn { min-height: 50px; font-size: 16px; }
.form { gap: 18px; }
.fld { gap: 8px; }
.fld label, .fld .lab { font-size: 16.500px; }
.fld .hint { display: block; margin-top: 2px; font-size: 14px; color: var(--sub-l); }
.fld input[type="text"], .fld input[type="tel"], .fld input[type="email"] { height: 56px; font-size: 18px; border-color: #b9c6da; }
.fld input::placeholder { color: #8493ab; }
.zip-row .btn { min-height: 56px; font-size: 16px; }
.privacy { padding: 14px 16px; font-size: 14.500px; line-height: 1.65; gap: 6px; color: var(--sub-l); }
.agree { font-size: 16.500px; line-height: 1.5; gap: 12px; }
.agree input { width: 26px; height: 26px; margin: 0; }
.form-msg { font-size: 16px; line-height: 1.5; }
#ap-send { min-height: 58px; font-size: 18px; }
.form.locked { opacity: .45; }
.done b { font-size: 28px; }
.done p { font-size: 16.500px; line-height: 1.65; }
.done .no { font-size: 21px; padding: 6px 18px; }
@media (max-width: 899px) {
  /* 휴대폰: 흰 상자를 화면 가장자리 가까이까지 넓혀 글 한 줄에 들어가는 글자 수를 늘린다 */
  .offer { margin: 0 -10px; padding: 26px 18px 22px; border-radius: 24px; }
  .step { margin: 0 -4px; }
}

.buy-list { border-top: 2px solid #fff; }
.buy-item { padding: 20px 0; border-bottom: 1px solid var(--line-d); }
.buy-item h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 20px; }
.buy-item p { margin: 6px 0 0; color: rgba(255,255,255,.84); font-size: 15px; white-space: pre-line; }
.buy-act { display: grid; gap: 10px; margin-top: 24px; }

/* ── 공유·채널 ─────────────────────────── */
/* 공유 상자 (파랑 면 위가 기본, 흰 창 안에서는 .sheet 가 색을 바꾼다) */
.sp { --sp-fg: #fff; --sp-sub: rgba(255,255,255,.82); --sp-tile: rgba(255,255,255,.12); --sp-line: rgba(255,255,255,.26); --sp-ico-bg: #fff; --sp-ico-fg: var(--blue);
  display: grid; gap: 14px; color: var(--sp-fg); }
.sp-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; background: var(--sp-tile); border: 1px solid var(--sp-line); border-radius: var(--r); }
.sp-card img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; }
.sp-card-txt { display: grid; gap: 3px; min-width: 0; }
.sp-card-txt b { font-family: var(--paper); font-weight: 800; font-size: 15.500px; line-height: 1.4; letter-spacing: -.02em; }
.sp-card-txt span { font-size: 13px; color: var(--sp-sub); line-height: 1.45; }
.sp-card-txt em { font-style: normal; font-size: 12px; color: var(--sp-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.sp-btn { display: grid; justify-items: center; gap: 7px; padding: 6px 0; font-size: 12px; font-weight: 500; color: var(--sp-fg); text-decoration: none; text-align: center; line-height: 1.2; }
.sp-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--sp-ico-bg); color: var(--sp-ico-fg); display: grid; place-items: center; transition: transform .15s; }
.sp-ico .ico { width: 23px; height: 23px; }
.sp-btn:hover .sp-ico { transform: translateY(-3px); }
.sp-url { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border: 1px solid var(--sp-line); border-radius: 999px; background: var(--sp-tile); }
.sp-url span { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sp-url button { height: 38px; padding: 0 18px; border-radius: 999px; background: var(--sp-ico-bg); color: var(--sp-ico-fg); font-size: 14px; font-weight: 700; }
.sp-qr { display: none; }
.btn.ghost { border-color: rgba(255,255,255,.55); }
.done-share { margin-top: 16px; color: var(--blue); }

/* 공유 창: 휴대폰은 아래에서 올라오고, PC 는 가운데 뜬다 */
.sheet { position: fixed; inset: 0; z-index: 125; background: rgba(2, 8, 20, .66); display: flex; align-items: flex-end; justify-content: center; }
.sheet-in { width: min(520px, 100%); max-height: 92vh; overflow: auto; background: #fff; color: var(--text); border-radius: 24px 24px 0 0; padding: 6px 20px calc(22px + env(safe-area-inset-bottom)); animation: sheet-up .22s ease; }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
.sheet-top { display: flex; align-items: center; justify-content: space-between; height: 54px; margin-right: -12px; font-family: var(--display); font-size: 22px; }
.sheet-top b { font-weight: 400; }
.sheet-top .lb-x { color: var(--text); }
.sheet .sp { --sp-fg: var(--text); --sp-sub: var(--mute-l); --sp-tile: var(--ice); --sp-line: var(--ice-2); --sp-ico-bg: var(--blue); --sp-ico-fg: #fff; }
@media (prefers-reduced-motion: reduce) { .sheet-in { animation: none; } }
.chans { margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.chan { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 112px; padding: 16px; border-radius: var(--r); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); text-decoration: none; font-weight: 700; font-size: 15.500px; line-height: 1.3; transition: background .15s, transform .15s; }
.chan:hover { background: #fff; color: var(--blue); transform: translateY(-3px); }
.chan .ico { width: 26px; height: 26px; }
.chan:first-child { grid-column: 1 / -1; min-height: 96px; background: #fff; color: var(--blue); }
.foot { background: var(--ink); color: var(--mute-d); font-size: 12px; line-height: 1.7; padding: 36px 0 calc(96px + env(safe-area-inset-bottom)); }
.foot .mast { color: #fff; font-size: 22px; margin-bottom: 10px; }

/* ── 따라다니는 신문 받기 단추 ───────────── */
.float { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; transform: translate(-50%, 90px); transition: transform .3s ease; box-shadow: 0 12px 30px -8px rgba(2,11,28,.7); }
.float.on { transform: translate(-50%, 0); }
.float.on:hover { transform: translate(-50%, -2px); }
/* 휴대폰: 신문 받기 단추는 왼쪽으로 조금 비켜 서고, 공유 단추가 오른쪽 아래에 동그랗게 선다 */
.float { left: calc(50% - 30px); }
.fab-share {
  position: fixed; right: calc(14px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--blue);
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(2,11,28,.7);
  transform: translateY(90px); transition: transform .3s ease;
}
.fab-share svg { width: 21px; height: 21px; }
.fab-share span { display: none; }
.fab-share.on { transform: none; }
.fab-share.on:hover { transform: translateY(-2px); }

/* ── 크게 보기 ─────────────────────────── */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(2,8,20,.97); display: flex; flex-direction: column; }
.lb-top { display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 8px 0 var(--gut); flex: none; }
.lb-count { font-family: var(--score); font-size: 15px; letter-spacing: .08em; color: var(--mute-d); }
.lb-x { width: 46px; height: 46px; display: grid; place-items: center; }
.lb-x svg { width: 22px; height: 22px; }
.lb-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: auto; touch-action: pan-y pinch-zoom; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; -webkit-touch-callout: none; user-select: none; }
.lb.zoom .lb-stage { display: block; touch-action: auto; }
.lb.zoom .lb-stage img { max-width: none; max-height: none; width: 220%; }
.lb-cap { flex: none; padding: 12px var(--gut) calc(18px + env(safe-area-inset-bottom)); font-size: 14px; line-height: 1.55; min-height: 54px; max-width: 900px; margin: 0 auto; width: 100%; }
.lb-cap .by { display: block; margin-top: 3px; font-size: 12px; color: var(--mute-d); }
.lb-nav { position: absolute; top: 50%; width: 48px; height: 68px; margin-top: -34px; display: grid; place-items: center; color: rgba(255,255,255,.75); }
.lb-nav svg { width: 26px; height: 26px; }
.lb-prev { left: 0; } .lb-next { right: 0; }
.lb.single .lb-nav, .lb.single .lb-count { visibility: hidden; }

/* ── 알림·점검 ─────────────────────────── */
.toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 20px); z-index: 120; padding: 10px 18px; background: #fff; color: var(--text); font-size: 14px; font-weight: 700; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.chk { position: fixed; left: 10px; top: calc(var(--bar-h) + 10px); z-index: 110; font-size: 13px; max-width: calc(100vw - 20px); }
.chk-btn { background: #ffd84d; color: #111; font-weight: 700; padding: 7px 12px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.chk-box { margin-top: 8px; width: min(440px, calc(100vw - 20px)); max-height: 60vh; overflow: auto; background: #fffbe8; color: #111; border-radius: 12px; padding: 12px 14px; box-shadow: 0 8px 28px rgba(0,0,0,.5); }
.chk-box h4 { margin: 12px 0 4px; font-size: 13px; }
.chk-box h4:first-child { margin-top: 0; }
.chk-box ul { margin: 0; padding-left: 18px; }
.chk-box li { margin: 2px 0; }
.chk-box code { font: 12px ui-monospace, Consolas, monospace; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tick-run { animation: none; }
  .btn, .chan, .shot img, .float, .fab-share { transition: none; }
}

/* ── PC 배치 (900px 부터) ───────────────── */
@media (min-width: 900px) {
  :root { --gut: 40px; --bar-h: 60px; }
  .mast { font-size: 23px; }
  .mast.logo img { height: 28px; }
  .bar .mast.logo ~ .bar-links a { padding: 0 9px; }
  .bar .mast.logo ~ .bar-links { padding-right: 0; }
  .bar-tag { display: inline; margin-left: 6px; padding-left: 14px; border-left: 1px solid var(--line-d); }
  .bar-in { padding-right: var(--gut); }
  .bar-links { padding-right: 0; gap: 4px; }
  .bar-links a span { display: inline; }
  .bar-links a { padding: 0 9px; }
  .ico { width: 19px; height: 19px; }
  .sec { padding: 120px 0 112px; }
  .sec-head { margin-bottom: 52px; }
  .eye { font-size: 16px; }
  .hero-txt { padding-bottom: 72px; }
  .hero-v { right: 2vw; top: 0; -webkit-text-stroke-width: 3px; }
  .tick-run span { font-size: 22px; line-height: 58px; }

  .front-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "p h" "p s"; grid-template-rows: 1fr 1fr; column-gap: 72px; row-gap: 28px; }
  .front-grid .sec-head { grid-area: h; align-self: end; }
  .front-paper { grid-area: p; max-width: 480px; align-self: center; }
  .front-side { grid-area: s; align-self: start; }
  .board-wrap { margin-top: 0; }
  .sticker { width: 112px; height: 112px; font-size: 25px; right: -24px; top: -28px; }

  .chap { margin-top: 96px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
  .chap-head { top: calc(var(--bar-h) + 24px); margin: 0; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; flex-direction: column; align-items: flex-start; gap: 8px; }
  .chap-no { font-size: 64px; }
  .chap-head h3 { font-size: 34px; }
  .chap-time { margin-left: 0; font-size: 14px; }
  .chap-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .chap-list .fig:first-child:nth-last-child(odd) { grid-column: 1 / -1; }   /* 홀수 장이면 첫 장을 크게, 짝수면 둘씩 나란히 */
  .fig .shot { margin: 0; width: 100%; border-radius: var(--r); }

  #bcut .strip { display: block; columns: 3; column-gap: 20px; overflow: visible; margin: 0; padding: 0; }
  .bcut { width: auto; min-width: 0; break-inside: avoid; margin-bottom: 26px; }
  .bcut .shot { width: 100%; height: auto; display: block; }
  .bcut .shot img { width: 100%; height: auto; }
  #bcut .strip-hint { display: none; }

  .story { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 72px; align-items: start; }
  .story-left { display: grid; gap: 30px; position: sticky; top: calc(var(--bar-h) + 32px); }
  .story-right { display: grid; gap: 30px; }

  .num-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: end; }
  .big-n { font-size: clamp(120px, 13vw, 200px); }
  .board { margin-top: 0; padding: 12px 28px 14px; }
  .game-score .s { font-size: 42px; }

  .ng { grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding: 26px 0 18px; align-items: start; }
  .ng-head { flex-direction: column; align-items: flex-start; padding-top: 12px; }
  .ng-head h3 { font-size: 30px; }
  .ng-list a { font-size: 20px; padding: 16px 0; }
  .ng.hot { padding: 30px 36px 22px; margin: 18px -36px; border-radius: 28px; }
  .ng.hot .ng-list a { font-size: 26px; }
  .rail { margin: 0 0 72px; padding: 12px 0; justify-content: space-between; top: calc(var(--bar-h) + var(--dl-h, 0px)); }
  .rail a { flex: 1; flex-direction: row; justify-content: center; align-items: baseline; gap: 8px; padding: 12px 8px; }
  .rail a b { font-size: 24px; }
  .rail a span { font-size: 13px; }
  .era { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; scroll-margin-top: calc(var(--bar-h) + var(--dl-h, 0px) + 110px); }
  .era:nth-of-type(4n + 1) .era-txt { order: 2; }
  .era-top { justify-content: flex-start; gap: 24px; }
  .era-pages { gap: 24px; }
  .era-pages.n1 { grid-template-columns: minmax(0, 56%); }
  .era-pages.n3 { gap: 16px; }
  .gap { padding: 56px 0; }
  .gap.long { padding: 80px 0; }
  .gap.long::before, .gap.long::after { height: 150px; }
  .era.now { padding: 64px 56px; margin: 0; border-radius: 36px; }

  .buy-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: start; }
  .buy-grid.solo { grid-template-columns: minmax(0, 760px); }
  .mg { padding: 64px 56px 44px; }
  .mg-items { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mg-act { grid-template-columns: 1fr 1fr; }   /* 옆 칸이 없으면 상자 하나만 알맞은 폭으로 */
  .offer { padding: 44px 40px 40px; border-radius: 32px; }
  .form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

  .share-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
  .sp-qr { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; background: var(--sp-tile); border: 1px solid var(--sp-line); border-radius: var(--r); }
  .sp-qr img { width: 112px; height: 112px; border-radius: 10px; background: #fff; }
  .sp-qr p { margin: 0; font-size: 13.500px; line-height: 1.55; color: var(--sp-sub); }
  .sp-qr b { display: block; font-family: var(--display); font-weight: 400; font-size: 19px; color: var(--sp-fg); margin-bottom: 4px; }
  .sheet { align-items: center; }
  .sheet-in { border-radius: 24px; padding: 10px 28px 28px; }
  .share-grid .sec-head { margin-bottom: 28px; }
  .chans { margin-top: 0; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .chan:first-child { grid-column: span 3; }
  .chan { min-height: 132px; padding: 20px; font-size: 17px; }
  .foot { padding-bottom: 56px; }
  .fab-share { right: 32px; bottom: 32px; width: auto; height: 50px; padding: 0 20px 0 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font-size: 15.500px; font-weight: 700; transform: translateY(110px); }
  .fab-share span { display: inline; }
  .float { left: auto; right: 144px; bottom: 32px; transform: translateY(110px); }
  .float.on { transform: none; }
  .float.on:hover { transform: translateY(-2px); }
  .toast { bottom: 40px; }
}

/* ── 신청 마감 공지 ─────────────────────────
   맨 위 빨간 띠 + 신청 상자·회원 안내 상자 안의 마감 상자. 마감이 지나면 .over 가 붙어 차분한 색으로 바뀐다. */
.dl-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px;
  padding: 12px var(--gut); text-decoration: none; text-align: center; color: #fff;
  background: linear-gradient(90deg, #b90f16 0%, var(--red) 45%, #f0343a 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}
.dl-say { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; font-size: 16px; line-height: 1.35; }
.dl-say b { font-weight: 700; }
.dl-say em { font-style: normal; font-family: var(--display); font-weight: 400; font-size: 21px; letter-spacing: .01em; }
.dl-clock { width: 20px; height: 20px; flex: none; }
.dl-band .dl-clock { animation: dl-pulse 1.6s ease-in-out infinite; }
.dl-left { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(2, 11, 28, .86); }
.dl-left i { font-style: normal; font-size: 12.5px; font-weight: 700; color: #ffd0d2; }
.dl-left b { font-family: var(--score); font-weight: 400; font-size: 20px; letter-spacing: .05em; min-width: 4.3em; text-align: center; font-variant-numeric: tabular-nums; }
.dl-band.over { background: var(--navy-2); }
.dl-band.over .dl-clock { animation: none; }
.dl-band.over .dl-say em { font-family: var(--body); font-size: 14.5px; color: var(--mute-d); }
@keyframes dl-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }

.dl-box {
  width: 100%; margin: 18px 0 0; padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center;
  background: #fff3f3; color: var(--text); border: 2px solid var(--red); border-radius: 16px; text-align: left;
}
.dl-box-t { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--red); }
.dl-box-t .dl-clock { width: 17px; height: 17px; }
.dl-box-w { font-family: var(--display); font-weight: 400; font-size: clamp(21px, 6vw, 27px); line-height: 1.2; color: #b90f16; }
.dl-box-l { display: inline-flex; flex-direction: column; align-items: flex-end; font-size: 12px; font-weight: 700; color: var(--mute-l); line-height: 1.2; white-space: nowrap; }
.dl-box-l b { font-family: var(--score); font-weight: 400; font-size: 24px; letter-spacing: .04em; color: var(--text); font-variant-numeric: tabular-nums; }
.dl-box.over { background: var(--ice); border-color: var(--ice-2); }
.dl-box.over .dl-box-t, .dl-box.over .dl-box-w { color: var(--mute-l); }
.float-dl { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #fff; color: var(--red); font-size: 12px; font-weight: 700; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .dl-band .dl-clock { animation: none; } }
@media (min-width: 900px) {
  .dl-band { padding: 11px var(--gut); gap: 8px 22px; }
  .dl-say { font-size: 17px; }
  .dl-say em { font-size: 23px; }
}
/* 따라다니는 단추의 마감 딱지: 단추 폭을 늘리지 않게 오른쪽 위 모서리에 얹는다 (320px 휴대폰에서 넘치지 않게) */
.float-dl { position: absolute; top: -12px; right: 12px; margin: 0; padding: 2px 9px; border: 2px solid var(--red); line-height: 1.4; box-shadow: 0 4px 10px -4px rgba(2, 11, 28, .6); }

/* 스크롤하면 따라오는 마감 띠: 큰 띠가 화면 밖으로 나가면 맨 위 띠 바로 아래에 한 줄로 붙는다.
   이 띠가 있는 동안 html 에 --dl-h 가 잡혀서, 위에 붙는 다른 것들(연도 줄 등)이 그만큼 아래로 내려간다. */
.dl-stick {
  position: fixed; left: 0; right: 0; top: var(--bar-h); z-index: 45; height: 40px; padding: 0 12px;
  display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  color: #fff; text-decoration: none; font-size: 14px; font-weight: 700;
  background: linear-gradient(90deg, #b90f16 0%, var(--red) 45%, #f0343a 100%);
  box-shadow: 0 8px 18px -10px rgba(2, 11, 28, .9);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s;
}
.dl-stick.on { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
.dl-stick .dl-clock { width: 17px; height: 17px; }
.dl-stick em { font-style: normal; font-family: var(--display); font-weight: 400; font-size: 17px; }
.dl-stick .dl-left { height: 26px; padding: 0 10px; gap: 0; }
.dl-stick .dl-left b { font-size: 16px; min-width: 3.9em; }
@media (max-width: 359px) { .dl-stick { gap: 6px; font-size: 13px; } .dl-stick .dl-clock { display: none; } .dl-stick em { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .dl-stick { transition: none; } }
@media (min-width: 900px) { .dl-stick { font-size: 15px; gap: 12px; } .dl-stick em { font-size: 19px; } }
