/* 틈새늬우스 — 밝은 지면 위에 사진이 번져 들어가는 편집 레이아웃 */

:root {
  --paper: #f3f1ec;
  --ink: #141414;
  --ink-2: rgba(20, 20, 20, 0.74);
  --ink-3: rgba(20, 20, 20, 0.5);
  --rule: rgba(20, 20, 20, 0.16);
  --rule-strong: rgba(20, 20, 20, 0.85);
  --tn-gutter: clamp(16px, 3.4vw, 48px);
  --tn-max: 1440px;
  --tn-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --tn-sans: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

[hidden] { display: none !important; }

html,
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body {
  overflow-x: hidden;
  font-family: var(--tn-sans);
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
  cursor: pointer;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- 제호 ---------- */

.tn-mast,
.tn-news,
.tn-foot {
  width: min(var(--tn-max), 100%);
  margin: 0 auto;
  padding-left: var(--tn-gutter);
  padding-right: var(--tn-gutter);
}

.tn-mast {
  padding-top: clamp(40px, 9vh, 112px);
}

.tn-rule {
  transform-origin: left center;
}

.tn-rule--thick {
  height: clamp(4px, 0.5vw, 7px);
  background: var(--ink);
}

.tn-rule--thin {
  height: 1px;
  background: var(--rule-strong);
}

.tn-title {
  margin: clamp(10px, 1.4vw, 22px) 0 clamp(8px, 1vw, 16px);
  font-family: "Hahmlet", var(--tn-sans);
  font-size: clamp(54px, 16.6vw, 250px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.tn-title-line {
  display: flex;
  overflow: hidden;
  padding-bottom: 0.04em;
}

.tn-title-line > span {
  display: block;
}

.tn-dateline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(14px, 1.6vw, 22px) 0 0;
}

.tn-date {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  transition: opacity 260ms ease;
}

.tn-date small {
  margin-left: 0.5em;
  color: var(--ink-3);
  font-size: 0.56em;
  font-weight: 500;
  letter-spacing: 0;
}

.tn-date.is-swapping {
  opacity: 0;
}

.tn-daynav {
  display: flex;
  gap: 4px;
}

.tn-daybtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.tn-daybtn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms var(--tn-ease);
}

.tn-daybtn:not(:disabled):hover {
  background: var(--ink);
  color: var(--paper);
}

.tn-daybtn[data-step="-1"]:not(:disabled):hover svg {
  transform: translateX(-2px);
}

.tn-daybtn[data-step="1"]:not(:disabled):hover svg {
  transform: translateX(2px);
}

.tn-daybtn:disabled {
  border-color: var(--rule);
  color: var(--ink-3);
  cursor: default;
}

.tn-daybtn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* ---------- 기사 ---------- */

.tn-news {
  padding-top: clamp(20px, 3vw, 48px);
  transition: opacity 280ms ease, transform 280ms ease;
}

.tn-news.is-leaving {
  opacity: 0;
  transform: translateY(10px);
}

.tn-story {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  min-height: clamp(400px, 36vw, 540px);
  border-bottom: 1px solid var(--rule);
}

/* 사진: 지면에 인쇄된 것처럼 multiply, 가장자리는 지면색으로 번지게 */
.tn-cover {
  position: relative;
  grid-row: 1;
  align-self: stretch;
  margin: 0;
  overflow: hidden;
}

.tn-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 1400ms var(--tn-ease);
}

.tn-story.is-left .tn-cover {
  grid-column: 1 / 8;
  -webkit-mask-image:
    linear-gradient(to right, #000 50%, transparent 98%),
    linear-gradient(to bottom, transparent 0%, #000 16%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, #000 50%, transparent 98%),
    linear-gradient(to bottom, transparent 0%, #000 16%, #000 78%, transparent 100%);
  mask-composite: intersect;
}

.tn-story.is-right .tn-cover {
  grid-column: 6 / 13;
  -webkit-mask-image:
    linear-gradient(to left, #000 50%, transparent 98%),
    linear-gradient(to bottom, transparent 0%, #000 16%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to left, #000 50%, transparent 98%),
    linear-gradient(to bottom, transparent 0%, #000 16%, #000 78%, transparent 100%);
  mask-composite: intersect;
}

.tn-body {
  position: relative;
  z-index: 1;
  grid-row: 1;
  padding: clamp(40px, 4.4vw, 72px) 0;
}

.tn-story.is-left .tn-body {
  grid-column: 7 / 13;
}

.tn-story.is-right .tn-body {
  grid-column: 1 / 7;
}

/* PC: 사진이 글 밑까지 깔리므로 글 칸 밑만 흐리게 번지게 해 캡처가 복잡해도 읽히게 한다 */
@media (min-width: 761px) {
  .tn-story:not(.is-quiet) .tn-body::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    background: rgba(243, 241, 236, .72);
    pointer-events: none;
  }
  .tn-story.is-left:not(.is-quiet) .tn-body::before {
    left: -56px;
    right: -24px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 56px);
    mask-image: linear-gradient(to right, transparent, #000 56px);
  }
  .tn-story.is-right:not(.is-quiet) .tn-body::before {
    right: -56px;
    left: -24px;
    -webkit-mask-image: linear-gradient(to left, transparent, #000 56px);
    mask-image: linear-gradient(to left, transparent, #000 56px);
  }
}

.tn-ident {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tn-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.tn-ident--joint {
  flex-wrap: wrap;
  gap: 8px;
}

.tn-joint-sep {
  font-weight: 700;
  opacity: .45;
}

.tn-joint-label {
  font-size: 12px;
  opacity: .6;
}

.tn-name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.tn-headline {
  margin: clamp(14px, 1.4vw, 20px) 0 0;
  font-size: clamp(27px, 2.8vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.tn-points {
  margin: clamp(18px, 1.8vw, 26px) 0 0;
  padding: 0;
  list-style: none;
}

.tn-points li {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.72;
}

.tn-points li + li {
  margin-top: 10px;
}

.tn-quote {
  margin: 24px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--ink);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
}

.tn-quote::before { content: "\201C"; }
.tn-quote::after { content: "\201D"; }

/* 방송 없음 / 확인 불가: 같은 구성, 높이만 낮게. 사진은 더 옅게 */
.tn-story.is-quiet {
  min-height: clamp(220px, 18vw, 280px);
}

.tn-story.is-quiet.is-left .tn-cover { grid-column: 1 / 6; }
.tn-story.is-quiet.is-right .tn-cover { grid-column: 8 / 13; }
.tn-story.is-quiet.is-left .tn-body { grid-column: 5 / 13; }
.tn-story.is-quiet.is-right .tn-body { grid-column: 1 / 9; }
.tn-story.is-quiet.is-right .tn-body { text-align: left; }

.tn-story.is-quiet .tn-cover img {
  opacity: 0.72;
  object-position: center 30%;
}

.tn-state {
  margin: clamp(14px, 1.4vw, 20px) 0 0;
  font-size: clamp(24px, 2.3vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.tn-reason {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: 16px;
}

.tn-story:hover .tn-cover img {
  transform: scale(1.025);
}

/* ---------- 하단 ---------- */

.tn-foot {
  display: flex;
  justify-content: flex-end;
  padding-top: clamp(40px, 5vw, 80px);
  padding-bottom: clamp(56px, 8vw, 120px);
}

/* ---------- 등장 모션 ---------- */

.js .tn-rule {
  transform: scaleX(0);
  transition: transform 1100ms var(--tn-ease);
}

.js .tn-rule--thin {
  transition-delay: 380ms;
}

.js .tn-title-line > span {
  transform: translateY(108%);
  transition: transform 1000ms var(--tn-ease);
  transition-delay: calc(120ms + var(--i) * 70ms);
}

.js .tn-dateline {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 700ms ease, transform 900ms var(--tn-ease);
  transition-delay: 620ms;
}

.js body.is-ready .tn-rule,
.js body.is-ready .tn-title-line > span,
.js body.is-ready .tn-dateline {
  opacity: 1;
  transform: none;
}

.js [data-r] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms ease, transform 1000ms var(--tn-ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}

.js .tn-cover[data-r] {
  transform: none;
  transition: opacity 1200ms ease;
}

.js .tn-cover[data-r] img {
  transform: scale(1.08);
}

.js .is-in [data-r] {
  opacity: 1;
  transform: none;
}

.js .is-in .tn-cover[data-r] img {
  transform: none;
}

.js .is-in.tn-story:hover .tn-cover img {
  transform: scale(1.025);
}

/* ---------- 반응형 ---------- */

@media (max-width: 1100px) {
  .tn-story.is-left .tn-cover { grid-column: 1 / 8; }
  .tn-story.is-right .tn-cover { grid-column: 6 / 13; }
  .tn-story.is-left .tn-body { grid-column: 6 / 13; }
  .tn-story.is-right .tn-body { grid-column: 1 / 8; }
  .tn-story.is-quiet.is-left .tn-cover { grid-column: 1 / 6; }
  .tn-story.is-quiet.is-right .tn-cover { grid-column: 8 / 13; }
  .tn-story.is-quiet.is-left .tn-body { grid-column: 5 / 13; }
  .tn-story.is-quiet.is-right .tn-body { grid-column: 1 / 9; }
}

@media (max-width: 760px) {
  .tn-mast {
    padding-top: 40px;
  }

  .tn-dateline {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .tn-news {
    padding-top: 8px;
  }

  /* 모바일: 사진이 위에서 꽉 차게, 아래로 번지며 글이 이어짐 */
  .tn-story {
    display: block;
    min-height: 0;
    padding-bottom: 36px;
  }

  .tn-story.is-left .tn-cover,
  .tn-story.is-right .tn-cover {
    margin: 0 calc(var(--tn-gutter) * -1);
    aspect-ratio: 16 / 10;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 55%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 55%, transparent 100%);
  }

  .tn-story.is-quiet .tn-cover {
    aspect-ratio: 16 / 7;
  }

  .tn-body,
  .tn-story.is-left .tn-body,
  .tn-story.is-right .tn-body {
    margin-top: -64px;
    padding: 0;
  }

  .tn-story.is-quiet .tn-body {
    margin-top: -40px;
  }

  .tn-headline {
    font-size: clamp(25px, 7vw, 32px);
  }

  .tn-points li {
    font-size: 15.5px;
  }

  .tn-foot {
    justify-content: stretch;
  }

  .tn-foot .tn-daynav {
    width: 100%;
  }

  .tn-foot .tn-daybtn {
    flex: 1 1 0;
    justify-content: center;
    padding: 14px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }

  .js .tn-rule,
  .js .tn-title-line > span,
  .js .tn-dateline,
  .js [data-r],
  .js .tn-cover[data-r] img,
  .tn-story:hover .tn-cover img,
  .js .is-in.tn-story:hover .tn-cover img {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 채팅 (라벨 테이프) ---------- */

/* 검은 띠에 지면색 글자를 찍어 오려 붙인 느낌. 위(먼저 친) 줄일수록 옅게 */
.tn-chat {
  position: relative;
  z-index: 2;
  grid-row: 1;
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  max-width: min(420px, 100%);
  margin-bottom: clamp(56px, 6vw, 96px);
  pointer-events: none;
}

.tn-story.is-left .tn-chat {
  grid-column: 1 / 7;
  justify-self: start;
  margin-left: clamp(16px, 2vw, 32px);
}

/* 오른쪽 사진은 방송 화면 오른쪽 아래에 아바타가 있는 경우가 많아 사진 왼쪽 편에 둔다 */
.tn-story.is-right .tn-chat {
  grid-column: 7 / 12;
  justify-self: start;
  margin-left: clamp(16px, 2vw, 32px);
}

.tn-chat-line {
  margin: 0;
  padding: 5px 10px 6px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  opacity: calc(0.5 + (var(--c) + 1) / var(--n) * 0.5);
}

.tn-chat-line:nth-child(2n) {
  margin-left: 18px;
}

/* 한 줄씩 붙는 등장 */
.js .tn-chat-line {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 450ms ease, transform 600ms var(--tn-ease);
  transition-delay: calc(520ms + var(--c) * 160ms);
}

.js .is-in .tn-chat-line {
  opacity: calc(0.5 + (var(--c) + 1) / var(--n) * 0.5);
  transform: none;
}

@media (max-width: 1100px) {
  .tn-story.is-left .tn-chat { grid-column: 1 / 7; }
  .tn-story.is-right .tn-chat { grid-column: 7 / 13; }
}

/* 모바일: 본문 아래에 그대로 붙인다 */
@media (max-width: 760px) {
  .tn-chat,
  .tn-story.is-left .tn-chat,
  .tn-story.is-right .tn-chat {
    max-width: 100%;
    margin: 22px 0 0;
  }

  .tn-chat-line {
    font-size: 14.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .tn-chat-line {
    transform: none;
  }
}

/* ---------- 채널 · 다시보기 링크 ---------- */

a.tn-ident {
  width: fit-content;
  color: inherit;
  text-decoration: none;
}

a.tn-ident .tn-name {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 260ms var(--tn-ease);
}

a.tn-ident:hover .tn-name {
  background-size: 100% 1px;
}

.tn-vods {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 18px 0 0;
}

.tn-vods button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

.tn-vods a,
.tn-vods button {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 4px;
  transition: text-decoration-color 180ms ease;
}

.tn-vods a:hover,
.tn-vods button:hover {
  text-decoration-color: var(--ink);
}

.tn-vods svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

a.tn-ident:focus-visible,
.tn-vods a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* 다음 일정: 다섯 멤버에게 같은 너비의 신문 지면을 배정한다. */
.tn-schedules {
  width: min(var(--tn-max), 100%);
  margin: 32px auto 64px;
  padding: 0 var(--tn-gutter);
}
.tn-schedules-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  border-bottom: 1px solid var(--rule-strong);
  padding: 16px 0;
}

.tn-sectionnav { display: flex; gap: 28px; border-bottom: 1px solid var(--rule); margin-top: 12px; }
.tn-sectionnav button { border: 0; border-bottom: 3px solid transparent; background: transparent; padding: 12px 0 10px; color: var(--ink-3); font-size: 16px; font-weight: 700; }
.tn-sectionnav button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tn-sectionnav button:hover { color: var(--ink); }
.tn-sectionnav button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.tn-schedules-head h2 { margin: 0 0 4px; font-family: "Hahmlet", var(--tn-sans); font-size: 28px; font-weight: 900; }
.tn-schedules-head p { margin: 0; color: var(--ink-2); font-size: 13px; }
.tn-schedules-updated { text-align: right; }

.tn-cal-eyebrow{display:block;margin-bottom:8px;font-size:11px;font-weight:800;letter-spacing:.13em;color:var(--ink-3)}
.tn-schedules-head{padding:16px 0 24px;border-bottom:0}
.tn-schedules-head h2{font-size:clamp(24px,2.5vw,34px);margin-bottom:8px}
.tn-cal-meta{display:flex;gap:16px;flex-wrap:wrap;justify-content:flex-end;font-size:12px;color:var(--ink-2)}
.tn-cal-meta span{display:flex;align-items:center;gap:6px}.tn-cal-meta i{width:8px;height:8px;background:#bb735c;border-radius:50%}.tn-cal-off-legend i{background:#a5a5a0}.tn-cal-meta p{width:100%;font-size:11px;text-align:right}
.tn-calendar-scroll{overflow-x:auto;border:1px solid var(--rule);border-radius:16px;background:#faf9f6;box-shadow:0 8px 28px #14141405}
.tn-calendar-scroll:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.tn-calendar{width:100%;min-width:1080px;table-layout:fixed;border-spacing:0}
.tn-calendar th,.tn-calendar td{border-right:1px solid var(--rule);border-bottom:1px solid var(--rule)}.tn-calendar tr>:last-child{border-right:0}.tn-calendar tbody tr:last-child>*{border-bottom:0}
.tn-calendar thead th{height:100px;padding:16px;text-align:left;background:#eeece6;vertical-align:middle}.tn-calendar thead th:first-child{width:156px}
.tn-cal-weekday{display:flex;gap:8px;align-items:center;color:var(--ink-2);font-size:12px;font-weight:500}.tn-cal-weekday b{border-radius:12px;background:#292b27;color:white;padding:1px 7px;font-size:10px}
.tn-calendar time{font-size:26px;font-weight:800;letter-spacing:-1px}.tn-calendar time em{font-style:normal;font-size:18px;color:var(--ink-3);margin:0 3px;font-weight:400}
.tn-calendar .is-today{background:#f4efe3}.tn-calendar thead .is-today{background:#e7dfcb}
.tn-cal-corner{font-size:19px;letter-spacing:.04em}.tn-cal-corner span{display:block;margin-top:4px;font-size:11px;font-weight:400;letter-spacing:0;color:var(--ink-2)}
.tn-cal-member{position:sticky;left:0;z-index:1;padding:18px 12px;text-align:center;background:#faf9f6}.tn-cal-member img{display:block;margin:0 auto 9px;border-radius:50%;object-fit:cover;border:3px solid white;box-shadow:0 0 0 1px var(--rule)}.tn-cal-member strong{display:block;font-size:16px}.tn-cal-member a{display:block;margin-top:3px;color:var(--ink-3);font-size:10px;font-weight:400;text-decoration:none}.tn-cal-member a:hover{color:var(--ink);text-decoration:underline}.tn-cal-member small{display:block;margin-top:5px;font-size:10px;color:#986346;font-weight:400}
.tn-calendar td{padding:12px 9px;vertical-align:top;height:150px}.tn-cal-event{background:white;padding:11px 10px 13px;border-radius:8px;border:1px solid #1414140d;border-top:3px solid var(--member-color);box-shadow:0 2px 5px #14141404}.tn-cal-event+.tn-cal-event{margin-top:8px}.tn-cal-kind{display:block;font-size:9px;font-weight:700;color:var(--member-color);margin-bottom:7px}.tn-cal-event p{margin:0;font-size:12px;line-height:1.65;font-weight:500;word-break:normal;overflow-wrap:anywhere}
.tn-cal-event.is-off{background:#eeefeb;border-top-color:#b0b2aa;box-shadow:none}.tn-cal-event.is-off .tn-cal-kind{color:#777b70}.tn-cal-event.is-off p{color:#72766b}.tn-cal-empty{display:block;text-align:center;color:#b3b3aa;padding-top:27px;font-size:12px}
.tn-cal-footnote{margin:14px 0 0;font-size:11px;color:var(--ink-3)}.tn-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.tn-cal-scroll-hint{display:none;font-size:11px;color:var(--ink-3)}
@media(max-width:1100px){.tn-cal-scroll-hint{display:block;margin:0 0 10px}}
@media(max-width:600px){.tn-schedules{margin-top:24px}.tn-schedules-head{align-items:flex-start;flex-direction:column;gap:14px}.tn-cal-meta{justify-content:flex-start;gap:10px}.tn-cal-meta p{text-align:left}.tn-calendar thead th:first-child{width:110px}.tn-calendar{min-width:1020px}.tn-cal-member img{width:52px;height:52px}.tn-cal-member strong{font-size:14px}.tn-cal-corner{font-size:15px}.tn-cal-corner span{font-size:9px}}
body[data-view="schedule"] .tn-mast { padding-top:28px; }
body[data-view="schedule"] .tn-title { font-size:clamp(38px,5vw,68px); margin:14px 0; }
body[data-view="schedule"] .tn-title-line > span { opacity:1!important; transform:none!important; }
body[data-view="schedule"] .tn-rule { transform:none!important; }
.tn-calendar thead .tn-cal-corner { position:sticky; left:0; z-index:2; background:#eeece6; }
.tn-site-note { width:min(var(--tn-max),100%); margin:24px auto 32px; padding:0 20px; text-align:center; color:var(--ink-3); font-size:11px; }
.tn-site-note span { display:block; font-size:10px; letter-spacing:.2em; margin-bottom:6px; }
.tn-site-note p { margin:0; }
@media (max-width:380px) { .tn-sectionnav { gap:18px; } }
.tn-title { view-transition-name: mast-title; }
.tn-sectionnav { view-transition-name: section-tabs; }
::view-transition-group(mast-title), ::view-transition-group(section-tabs) { animation-duration:480ms; animation-timing-function:cubic-bezier(.22,1,.36,1); }
::view-transition-old(root) { animation:tn-view-out 180ms ease both; }
::view-transition-new(root) { animation:tn-view-in 350ms ease both; }
@keyframes tn-view-out { to { opacity:0; } }
@keyframes tn-view-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
@supports not (view-transition-name: mast-title) { .tn-mast { transition:padding-top 480ms ease; } .tn-title { transition:font-size 480ms ease,margin 480ms ease; } .tn-news:not([hidden]), .tn-schedules:not([hidden]) { animation:tn-view-in 350ms ease both; } }
@media(prefers-reduced-motion:reduce) { .tn-mast,.tn-title { transition:none!important; } .tn-news,.tn-schedules { animation:none!important; } }

/* Preserve reviewed frame composition when filling the column would overcrop it. */
.tn-cover--contain img {
  object-fit: contain;
  height: auto;
  max-height: 100%;
  top: 50%;
  bottom: auto;
  translate: 0 -50%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 85%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 85%, transparent);
}

/* 뉴스 발행일을 고르는 미니 달력 */
.tn-month-dialog { width: min(350px, calc(100vw - 32px)); border: 1px solid var(--rule-strong); border-radius: 8px; padding: 20px; background: var(--paper); color: var(--ink); box-shadow: 0 20px 80px #0003; }
.tn-month-dialog::backdrop { background: #14141455; }
.tn-month-heading { display: flex; justify-content: space-between; align-items: center; }
.tn-month-heading h2 { margin: 0; font-size: 21px; }
.tn-month-close { border: 0; background: transparent; color: inherit; font-size: 26px; width: 36px; height: 36px; }
.tn-month-nav { display: flex; justify-content: space-between; align-items: center; margin: 10px 0 16px; gap: 4px; }
.tn-month-nav span { font-size: 11px; color: var(--ink-3); }
.tn-month-nav button { width: 36px; height: 36px; background: transparent; color: inherit; border: 1px solid var(--rule); font-size: 22px; }
.tn-month-week, .tn-month-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; gap: 3px; }
.tn-month-week { color: var(--ink-3); font-size: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); margin-bottom: 6px; }
.tn-month-days button { position: relative; min-width: 0; height: 39px; padding: 0 0 5px; border: 0; border-radius: 4px; background: transparent; color: inherit; font-weight: 700; }
.tn-month-mark { position: absolute; bottom: 5px; left: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.tn-month-days button:disabled, .tn-month-nav button:disabled { opacity: .25; cursor: default; font-weight: 400; }
.tn-month-days button[aria-pressed="true"], .tn-month-days button:not(:disabled):hover { background: var(--ink); color: var(--paper); }
.tn-month-dialog button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 400px) { .tn-daynav .tn-daybtn { font-size: 12px; padding: 9px 8px; gap: 3px; } }

/* 지면 저장: 하단 왼쪽, 날짜 이동은 오른쪽 */
.tn-foot { justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tn-save { display: flex; gap: 4px; }
/* 저장용 캡처 중에는 등장 효과 없이 최종 모습으로 고정한다 */
.tn-capturing .tn-no-capture { display: none !important; }
/* 저장본: 제호는 작게, 좌우 여백은 최소로 */
/* 넓은 모니터에서도 세로형 지면이 되도록 저장본 폭을 고정한다(휴대폰은 화면 폭 그대로). */
body.tn-capturing { --tn-gutter: 14px; --tn-max: 100%; width: min(100%, 980px); margin: 0; overflow: visible !important; }
.tn-capturing .tn-news { padding-bottom: 24px; }
.tn-capturing .tn-mast { padding-top: 20px; }
.tn-capturing .tn-title { font-size: min(13vw, 96px); margin: 8px 0 6px; }
.tn-capturing .tn-site-note { margin-bottom: 20px; }
.tn-save-veil { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--paper); color: var(--ink-2); font-size: 15px; }
.tn-capturing *, .tn-capturing *::before, .tn-capturing *::after { transition: none !important; animation: none !important; }
@media (max-width: 760px) {
  .tn-foot { flex-direction: column-reverse; }
  .tn-save { width: 100%; }
  .tn-save .tn-daybtn { flex: 1 1 0; justify-content: center; padding: 14px 12px; }
}

/* 기사 제보: 오른쪽 아래 작은 ! 버튼과 팝업 */
.tn-report-btn { position: absolute; right: 0; bottom: 12px; z-index: 3; width: 26px; height: 26px; padding: 0; border: 1px solid var(--rule); border-radius: 50%; background: var(--paper); color: var(--ink-3); font-size: 13px; font-weight: 700; line-height: 1; transition: color 160ms ease, border-color 160ms ease; }
.tn-report-btn:hover, .tn-report-btn:focus-visible { color: var(--ink); border-color: var(--rule-strong); outline: none; }
.tn-report { width: min(420px, calc(100vw - 32px)); border: 1px solid var(--rule-strong); border-radius: 8px; padding: 20px; background: var(--paper); color: var(--ink); box-shadow: 0 20px 80px #0003; }
.tn-report::backdrop { background: #14141455; }
.tn-report-head { display: flex; justify-content: space-between; align-items: center; }
.tn-report-head h2 { margin: 0; font-size: 19px; }
.tn-report-close { border: 0; background: transparent; color: inherit; font-size: 26px; width: 36px; height: 36px; }
.tn-report-target { margin: 4px 0 14px; color: var(--ink-2); font-size: 14px; }
.tn-report fieldset { margin: 0 0 14px; padding: 0; border: 0; display: grid; gap: 2px; }
.tn-report legend { margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.tn-report fieldset label { display: flex; gap: 8px; align-items: center; padding: 6px 0; font-size: 14px; cursor: pointer; }
.tn-report input[type="radio"] { accent-color: var(--ink); margin: 0; }
.tn-report-detail { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.tn-report-detail span { color: var(--ink-3); font-weight: 400; }
.tn-report textarea { width: 100%; padding: 8px 10px; border: 1px solid var(--rule-strong); border-radius: 4px; background: transparent; color: inherit; font: inherit; font-size: 14px; font-weight: 400; resize: vertical; }
.tn-report-note { margin: 10px 0 14px; color: var(--ink-3); font-size: 12px; }
.tn-report-actions { display: flex; justify-content: flex-end; gap: 6px; }
.tn-report-send { background: var(--ink); color: var(--paper); }
@media (max-width: 760px) { .tn-report-btn { bottom: 14px; } }

/* 멤버 선택은 내보내기 창에서만 제공한다. */
.tn-save-dialog { width: min(380px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; border: 1px solid var(--rule-strong); border-radius: 8px; padding: 20px; background: var(--paper); color: var(--ink); box-shadow: 0 20px 80px #0003; }
.tn-save-dialog::backdrop { background: #14141455; }
.tn-save-dialog h2 { font-size: 19px; }
.tn-save-all { display: flex; align-items: center; gap: 10px; padding: 16px 0 12px; border-bottom: 1px solid var(--rule); font-size: 14px; }
.tn-save-members { display: grid; gap: 2px; border: 0; margin: 8px 0 18px; padding: 0; }
.tn-save-members label { display: flex; align-items: center; gap: 10px; min-height: 48px; cursor: pointer; font-size: 15px; }
.tn-save-members img { border-radius: 50%; object-fit: cover; }
.tn-save-dialog input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.tn-save-actions { display: flex; justify-content: flex-end; gap: 6px; }
.tn-save-confirm { background: var(--ink); color: var(--paper); }
.tn-save-confirm:disabled { opacity: .4; cursor: default; }
.tn-save-dialog :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.tn-capturing .tn-save-omitted { display: none !important; }

/* ---------- 주간 ---------- */
.tn-weekly .tn-dateline { opacity: 1; transform: none; }
.tn-weekly-list { margin-top: clamp(18px, 2vw, 28px); border-top: 2px solid var(--ink); }
.tn-weekly-summary { margin: clamp(14px, 1.4vw, 20px) 0 0; font-size: 16px; line-height: 1.75; }
.tn-weekly-more { margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.tn-weekly-more li { display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.5; }
.tn-weekly-more time { color: var(--ink-3); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; padding-top: 1px; }
.tn-weekly-more button { padding: 0; border: 0; background: none; color: var(--ink-2); font: inherit; text-align: left; cursor: pointer; }
.tn-weekly-more button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.tn-weekly-empty { padding: 48px 0; color: var(--ink-2); font-size: 16px; }
.tn-weekly-foot { display: flex; justify-content: flex-end; padding: clamp(40px, 5vw, 80px) 0 clamp(56px, 8vw, 120px); }
.tn-capturing .tn-weekly-list { margin-top: 12px; }
@media (max-width: 760px) {
  .tn-weekly-foot .tn-save { width: 100%; }
  .tn-weekly-foot .tn-save .tn-daybtn { flex: 1 1 0; justify-content: center; padding: 14px 12px; }
  .tn-weekly-more li { grid-template-columns: 64px 1fr; }
}

/* ---------- 특별편 ---------- */
.tn-sp { display: block; padding-bottom: 8px; }
.tn-sp-flag { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; padding: 10px 16px; background: var(--ink); color: var(--paper); }
.tn-sp-flag strong { font-family: "Hahmlet", serif; font-size: 22px; font-weight: 900; letter-spacing: .02em; }
.tn-sp-flag span { font-size: 14px; font-weight: 700; opacity: .85; }
.tn-sp-flag a { margin-left: auto; color: var(--paper); font-size: 14px; font-weight: 700; }
.tn-sp-flag a + a { margin-left: 0; }
.tn-sp-hero { position: relative; margin: 0; height: clamp(260px, 42vw, 620px); overflow: hidden; }
.tn-sp-hero img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%); mask-image: linear-gradient(to bottom, #000 60%, transparent 100%); }
.tn-sp-crew { position: relative; display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; margin-top: -28px; }
.tn-sp-crew span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 4px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 700; }
.tn-sp-crew img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.tn-sp-headline { margin: 28px 0 0; font-size: clamp(30px, 4.2vw, 60px); font-weight: 900; line-height: 1.15; letter-spacing: -.04em; text-wrap: balance; }
.tn-sp-lead { margin: 18px 0 0; font-size: clamp(17px, 1.4vw, 20px); font-weight: 500; line-height: 1.7; }
.tn-sp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 72px); margin-top: clamp(28px, 4vw, 52px); padding-bottom: 48px; border-bottom: 1px solid var(--rule); }
.tn-sp-part { padding: 22px 0; border-top: 1px solid var(--rule); }
.tn-sp-part:first-child { border-top: 2px solid var(--ink); }
.tn-sp-part h3 { display: flex; gap: 10px; align-items: baseline; margin: 0; font-size: clamp(20px, 1.8vw, 26px); font-weight: 900; letter-spacing: -.03em; }
.tn-sp-part h3 small { color: var(--ink-3); font-size: 13px; font-weight: 700; letter-spacing: 0; }
.tn-sp-part p { margin: 10px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.78; }
.tn-sp-side h4 { margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); font-size: 15px; font-weight: 900; }
.tn-sp-moment { display: grid; grid-template-columns: 34px 1fr; gap: 4px 10px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.tn-sp-moment img { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.tn-sp-moment b { font-size: 14px; }
.tn-sp-moment p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.tn-sp-side .tn-chat { position: static; margin: 28px 0 0; max-width: none; pointer-events: auto; }
.tn-sp .tn-chat-line { opacity: 1 !important; transform: none !important; }
.tn-sp-quiet { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 22px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); font-size: 15px; }
.tn-sp-quiet .avs { display: flex; padding-left: 6px; }
.tn-sp-quiet .avs img { width: 28px; height: 28px; margin-left: -6px; border: 2px solid var(--paper); border-radius: 50%; object-fit: cover; }
@media (max-width: 900px) { .tn-sp-grid { grid-template-columns: 1fr; } .tn-sp-flag a { margin-left: 0; } }
.tn-sp-album { padding: clamp(28px, 4vw, 52px) 0 40px; border-bottom: 1px solid var(--rule); }
.tn-sp-album h3 { margin: 0 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); font-size: clamp(20px, 1.8vw, 26px); font-weight: 900; letter-spacing: -.03em; }
.tn-sp-album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.tn-sp-album figure { margin: 0; }
.tn-sp-album img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tn-sp-album figcaption { margin-top: 6px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
@media (max-width: 600px) { .tn-sp-album-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .tn-sp-album figcaption { font-size: 13px; } }
.tn-sp-album figure { cursor: zoom-in; }
.tn-photo-viewer { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: #0d0d0dee; color: #f3f1ec; }
.tn-photo-viewer[open] { display: flex; align-items: center; justify-content: center; }
.tn-photo-viewer::backdrop { background: transparent; }
.tn-photo-viewer figure { margin: 0; max-width: min(1400px, 92vw); text-align: center; }
.tn-photo-viewer img { display: block; max-width: 100%; max-height: 82dvh; margin: 0 auto; object-fit: contain; }
.tn-photo-viewer figcaption { margin-top: 10px; font-size: 15px; }
.tn-photo-nav, .tn-photo-close { position: absolute; border: 0; background: none; color: #f3f1ec; font-size: 44px; line-height: 1; cursor: pointer; padding: 12px 16px; }
.tn-photo-nav[data-dir="-1"] { left: 8px; } .tn-photo-nav[data-dir="1"] { right: 8px; }
.tn-photo-close { top: 8px; right: 12px; font-size: 36px; }
@media (max-width: 600px) { .tn-photo-nav { top: auto; bottom: 16px; } }
.tn-sp-body { margin-top: clamp(28px, 4vw, 52px); padding-bottom: 40px; border-bottom: 1px solid var(--rule); }
.tn-sp-hero .tn-chat { position: absolute; z-index: 2; left: clamp(16px, 2vw, 32px); bottom: clamp(36px, 3.5vw, 56px); margin: 0; max-width: min(420px, 60%); pointer-events: none; }
.tn-sp-hero .tn-chat-line { font-size: 14px; }
@media (max-width: 760px) {
  .tn-sp-hero { height: auto; overflow: visible; }
  .tn-sp-hero img { height: clamp(220px, 56vw, 420px); }
  .tn-sp-hero .tn-chat { position: static; max-width: none; margin: 12px 0 40px; }
}

/* Streaming site picker for album banners */
.tn-music { width: min(360px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; border: 1px solid var(--rule-strong); border-radius: 12px; padding: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 20px 80px #0003; }
.tn-music::backdrop { background: #14141455; }
.tn-music-head { display: grid; grid-template-columns: 64px 1fr 36px; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.tn-music-cover { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; background: #101010; }
.tn-music h2 { margin: 0; font-size: 19px; font-weight: 900; line-height: 1.25; }
.tn-music-artist { margin: 3px 0 0; color: var(--ink-2); font-size: 13px; }
.tn-music-close { align-self: start; width: 36px; height: 36px; border: 0; background: none; color: var(--ink-2); font-size: 24px; line-height: 1; cursor: pointer; }
.tn-music-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.tn-music-links a { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 8px; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.tn-music-links a span { color: var(--ink-3); font-size: 12px; }
.tn-music-links a:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tn-music-links a:hover span { color: inherit; }
.tn-music :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 640px) {
  .tn-music { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 14px 14px 0 0; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
}

/* 주간판 특별편: 멤버 기사와 분리한 공동 지면 */
.tn-weekly-special { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 48px) 0; border-bottom: 3px solid var(--ink); }
.tn-weekly-special figure { margin: 0; align-self: center; }
.tn-weekly-special figure img { display: block; width: 100%; height: auto; }
.tn-weekly-special-label { color: var(--ink-3); font-size: 14px; font-weight: 700; }
.tn-weekly-special h2 { margin: 14px 0; font-size: clamp(26px, 3vw, 40px); line-height: 1.35; letter-spacing: -.04em; }
.tn-weekly-special h3 { margin: 0 0 18px; font-size: 20px; line-height: 1.5; }
.tn-weekly-special p { margin: 0; font-size: 16px; line-height: 1.8; word-break: keep-all; }
.tn-weekly-special button { margin-top: 22px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--ink); background: none; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
@media (max-width: 700px) { .tn-weekly-special { grid-template-columns: 1fr; gap: 22px; } }

/* 기사 검색 */
.tn-sectionnav .tn-search-tab { margin-left: auto; }
.tn-search { padding-bottom: 64px; }
.tn-search-form { display: flex; border-bottom: 2px solid var(--ink); gap: 16px; padding: 6px 0 14px; }
.tn-search-form input { flex: 1; min-width: 0; padding: 10px 0; border: 0; background: transparent; font: inherit; font-size: clamp(20px, 2.4vw, 30px); color: var(--ink); }
.tn-search-form input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.tn-search-form button { padding: 8px 18px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: inherit; font-weight: 700; cursor: pointer; }
.tn-search-form button:disabled { opacity: .5; cursor: wait; }
.tn-search-status { margin: 20px 0; color: var(--ink-2); font-size: 14px; }
.tn-search-result { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 28px 0; border-top: 1px solid var(--rule); color: inherit; text-decoration: none; }
.tn-search-meta { color: var(--ink-3); font-size: 14px; line-height: 1.8; }
.tn-search-meta span { display: block; color: var(--ink); font-weight: 700; }
.tn-search-result h2 { margin: 0 0 12px; font-size: clamp(20px, 2vw, 28px); line-height: 1.5; letter-spacing: -.025em; }
.tn-search-result p { margin: 0; color: var(--ink-2); line-height: 1.8; word-break: keep-all; }
.tn-search-result:hover h2 { text-decoration: underline; text-underline-offset: 5px; }
.tn-search-result:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.tn-search mark { color: inherit; background: #e7d8a1; padding: 0 2px; }
.tn-story[id], .tn-sp[id] { scroll-margin-top: 24px; }
@media (max-width: 700px) { .tn-search-result { grid-template-columns: 1fr; gap: 8px; } .tn-search-meta span { display: inline; margin-left: 10px; } }

.tn-monthly-pending { margin: 0; padding: 36px 0 80px; color: var(--ink-2); font-size: 18px; border-top: 2px solid var(--ink); }
@media (max-width: 480px) { .tn-sectionnav { gap: 18px; } .tn-sectionnav button { font-size: 14px; } }

.tn-tab-icon { display: none; }

/* Mobile navigation: one underlined row, short labels, search as an icon. */
@media (max-width: 600px) {
  .tn-sectionnav {
    gap: 0;
    align-items: stretch;
    margin-top: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--rule);
    border-radius: 0;
    background: none;
  }
  .tn-sectionnav button {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 0 9px;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    background: none;
    color: var(--ink-3);
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
  }
  .tn-sectionnav button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
  .tn-sectionnav button:focus-visible { outline-offset: -3px; }
  .tn-sectionnav .tn-tab-long { display: none; }
  .tn-sectionnav .tn-search-tab { position: relative; flex: 0 0 44px; margin-left: 5px; }
  .tn-sectionnav .tn-search-tab::before { content: ""; position: absolute; left: -5px; top: 13px; bottom: 13px; width: 1px; background: var(--rule); }
  .tn-sectionnav #tn-tab-bot { flex: 0 0 auto; padding-left: 6px; padding-right: 2px; }
  .tn-tab-icon { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
}

/* Explicit reader consent, including the headline, cover and chat reactions. */
.tn-story[data-spoiler-work] { isolation: isolate; overflow: hidden; }
.tn-story[data-spoiler-work]:not(.is-spoiler-open) > :is(.tn-cover,.tn-body,.tn-chat) { filter:blur(14px);opacity:.35;pointer-events:none;user-select:none; }
.tn-spoiler-gate { position:absolute;inset:0;z-index:6;display:flex;align-items:center;justify-content:center;padding:28px;background:linear-gradient(#f3f1ec85,#f3f1eceb 40%,#f3f1eceb); }
.tn-spoiler-notice { max-width:430px;text-align:center; }
.tn-spoiler-symbol { display:grid;place-items:center;width:40px;height:40px;margin:0 auto 16px;border:1px solid #bbae97;border-radius:50%;color:#85643b;font-size:21px;font-weight:700; }
.tn-spoiler-notice h2 { font-size:25px;margin:0 0 12px; }
.tn-spoiler-notice p { font-size:14px;line-height:1.9;color:#625e56;margin:0 0 22px; }
.tn-spoiler-notice strong { color:var(--ink); }
.tn-spoiler-consent { display:flex;align-items:center;justify-content:center;gap:10px;padding:14px;border:1px solid #bdb3a5;border-radius:6px;background:#f9f7f2eb;font-size:13px;font-weight:700;cursor:pointer;text-align:left; }
.tn-spoiler-consent input { accent-color:var(--ink);width:18px;height:18px;flex-shrink:0; }
.is-spoiler-open > .tn-spoiler-gate,.tn-spoiler-saved { display:none; }
.tn-spoiler-relock { display:none;position:absolute;right:12px;top:12px;z-index:6;border:1px solid var(--rule);border-radius:6px;background:var(--paper);color:var(--ink-2);padding:8px 12px;font-size:12px; }
.is-spoiler-open > .tn-spoiler-relock { display:block; }
.tn-save-spoiler-label { display:flex;gap:9px;align-items:center;font-weight:700;margin-top:18px; }
.tn-save-spoiler-label input { accent-color:var(--ink); }
.tn-save-spoiler-help { color:var(--ink-3);font-size:12px;line-height:1.6;margin:6px 0 0 24px; }
.tn-capturing .tn-spoiler-gate { display:none!important; }
.tn-capturing article[data-spoiler-work] > :is(.tn-cover,.tn-body,.tn-chat) { filter:none!important;opacity:1!important; }
.tn-capturing.tn-save-mask-spoilers article[data-spoiler-work] > :is(.tn-cover,.tn-body,.tn-chat) { filter:blur(14px)!important;opacity:.35!important; }
.tn-capturing.tn-save-mask-spoilers .tn-spoiler-gate { display:flex!important; }
.tn-capturing .tn-spoiler-notice .tn-spoiler-saved { display:block; }
@media(max-width:600px) { .tn-spoiler-gate { padding:22px; } .tn-spoiler-notice h2 { font-size:22px; } .tn-spoiler-consent { font-size:12px; } }

.tn-spoiler-notice .tn-spoiler-member { display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 18px;color:var(--ink);font-size:18px;font-weight:750; }
.tn-spoiler-member .tn-avatar { width:36px;height:36px;object-fit:cover;border-radius:50%;flex-shrink:0; }

/* 행사(콘서트 등) 카드: 포스터 + 일시·장소 한 줄 + 함께한 멤버 */
.tn-ev { display: block; margin-top: 8px; }
.tn-ev-poster { margin: 0; background: #0d0b14; }
.tn-ev-poster img { display: block; width: 100%; height: auto; }
.tn-ev-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.tn-ev-who { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tn-ev-who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.tn-ev-who strong { font-size: 20px; font-weight: 900; }
.tn-ev-who span { font-size: 20px; font-weight: 700; }
.tn-ev-meta { margin: 0; color: var(--ink-2); font-size: 16px; font-weight: 600; }
.tn-ev-guests { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid var(--rule); color: var(--ink-3); font-size: 14px; }
.tn-ev-guests .avs { display: flex; padding-left: 6px; }
.tn-ev-guests .avs img { width: 24px; height: 24px; margin-left: -6px; border: 2px solid var(--paper); border-radius: 50%; object-fit: cover; }
@media (max-width: 760px) {
  .tn-ev-who strong, .tn-ev-who span { font-size: 18px; }
}
