/* AI Source Now — 지면 v0.6 (시제품 4판 · 대표 피드백 2026-10-24 — 맨 위로 · 관제판 새로고침·회사 줄 펼침 · 회사별 장애 시간 · 짧은 장애 카드) · 외부 의존 0
   원칙: 박스 대신 여백과 괘선 · 강조색(--accent = edition.accent)은 두 곳만(오늘의 숫자 · 말머리 — 제호는 로고 조각) · 나머지는 무채색
   제호·제목 = 내장 세리프(Daily Serif = Noto Serif KR 700·900 · render.py embed_fonts) · 없으면 고딕으로(바탕·애플명조 안 씀)
   본문 16.5px / 1.7 · 한 단(글 칸 36rem — 넓은 화면도 휴대폰 꼴 하나 · 2026-11-11) · 밑줄은 링크 실선·용어 점선 둘 다 옅게 */
:root {
  --paper: #fbfaf6;
  --card: #ffffff;
  --ink: #17171b;
  --ink-2: #45454d;
  --muted: #84848d;
  --line: #e7e3da;
  --accent: #e0482a;
  --fact: #2e9a68;
  --plan: #3c6df0;
  --claim: #c98500;
  --live: #1f9d55;
  --bad: #d13438;
  --warn: #c98500;
  --sev-red: #d13438;      /* AI Service Alert 등급 색(🔴 장애 · 🟠 일부 장애 · 🟡 성능 저하 · ⚪ 정보 — 예정 점검도) — 장애 기록 막대·이름표 */
  --sev-orange: #e8590c;
  --sev-yellow: #e6b400;
  --sev-yellow-ink: #7a5900;
  --sev-orange-ink: #b8460a;
  --sans: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Daily Serif", "Noto Serif KR", "Nanum Myeongjo", "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111114;
    --card: #1b1b20;
    --ink: #ececef;
    --ink-2: #b8b8c0;
    --muted: #8a8a94;
    --line: #2b2b31;
    --bad: #ff6b6e;
    --warn: #f0b429;
    --plan: #7c9cff;
    --live: #3ccf7e;
    --sev-red: #ff6b6e;
    --sev-orange: #ff8a3d;
    --sev-yellow: #ffd43b;
    --sev-yellow-ink: #ffd43b;
    --sev-orange-ink: #ff8a3d;
    color-scheme: dark;
  }
}

/* 붙박이 줄 높이·자리(아래 「붙박이 줄」) — 색 낱말(:root 첫 묶음 · 문의·방침 화면이 옮겨 씀)과 따로 둠 */
:root {
  --head-h: 100px;   /* 머리(로고 · 탭) 높이 — app.js bindHead 가 잰 값으로 덮음(스크립트 없으면 이 값) */
  --head-off: var(--head-h);   /* 붙박이 줄이 붙는 자리 = 머리 아래 · 머리가 숨으면 0 */
  --date-h: 38px;   /* 날짜 줄 높이 */
  --bar-h: 42px;    /* 칸 머리 줄 높이 */
}
:root.head-up { --head-off: 0px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16.5px/1.7 var(--sans);
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
/* 일본어·중국어판 — keep-all 은 한국어 띄어쓰기용이라 띄어쓰기가 없는 글에선 문장부호에서만 줄이 바뀐다(줄 끝이 들쭉날쭉 · 「。」만 다음 줄) →
   그 언어의 보통 줄바꿈 + 줄 첫머리 금칙(문장부호가 줄 맨 앞에 오지 않게) */
html:lang(ja) body, html:lang(zh) body { word-break: normal; overflow-wrap: break-word; line-break: strict; }
html:lang(ja) :is(.hl, .c-tx, .verdict) { word-break: auto-phrase; }   /* 일본어 제목은 말 마디에서 줄바꿈(되는 브라우저만 · 안 되면 위 보통 줄바꿈) */
/* 일본어·중국어판 글꼴 — 한국어 글꼴(맑은 고딕 · Noto Sans KR · 지면에 넣은 Noto Serif KR 한글 묶음)엔 일본 한자(庁·届·対 …)·간체자가 없어
   그 글자만 다른 글꼴로 얇게 섞여 보인다 → 그 언어의 기기 글꼴을 앞에(제목도 한 글꼴로 — 명조가 없는 기기는 고딕 한 벌) */
html:lang(ja) {
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", system-ui, sans-serif;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Noto Serif CJK JP", "Hiragino Sans", "Yu Gothic UI", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
}
html:lang(zh) {
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;
  --serif: "Songti SC", "Noto Serif SC", "Noto Serif CJK SC", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif;
}
/* 한 단 — 넓은 화면에서도 휴대폰 꼴 하나(라이브 피드 · 조간 신문이 같은 폭 · 가운데 · 대표님 2026-11-11 10:22 「"조간 신문"도 "라이브 피드"처럼 PC에서도
   모바일 폭(1단 레이아웃)으로 통일」) — 넓은 화면용 여러 단·큰 제호 규칙은 없다 · 남은 폭 @media 는 아주 좁은 폰(370)을 위한 것뿐 */
.wrap { max-width: 36rem; margin: 0 auto; padding: 0 16px; }
a {
  color: inherit; text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--ink) 25%, transparent); text-decoration-thickness: 1px; text-underline-offset: 4px;
}
a:hover { text-decoration-color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: .8rem; }
.empty { color: var(--muted); }
.src-pending { color: var(--claim); font-size: .85em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.flag-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.flag { display: inline-block; flex: none; width: 1.35em; height: .9em; vertical-align: -.1em; border-radius: 2px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 14%, transparent); }

/* 제목류 — 굵은 세리프 · 낫표 양옆 빈칸 줄이기 · 마지막 줄에 낱말 하나만 남지 않게 */
.title, .verdict, .hl, .sec-h, .quote .tr, .pop-h, .num-tile .v, .cards .rk, .inc-big b, .foot-title { font-family: var(--serif); }
.hl, .c-tx, .verdict, .inc .t-ko, .quote .tr { text-spacing-trim: trim-both; font-feature-settings: "halt" 1; text-wrap: balance; }
.body p, .gist li, .inc .sum { text-wrap: pretty; }

/* ── 머리 ─────────────────────────────── */
/* 두 화면(라이브 피드 · 조간 신문)이 같은 조각(render.py head_html · 대표님 2026-11-09 21시 고객 통로 계획 7판 컨펌 ③) — 로고·제호(누르면 라이브 피드) ·
   나라 단추 · 탭 두 칸 「라이브 피드 | 조간 신문」 · 붙어 있다가 아래로 내리면 숨고 조금 올리면 나타남(X 꼴 · app.js bindHead 가 .is-up) ·
   옆 여백까지 바탕을 깔아 밑 글이 비치지 않게 · 두 화면의 폭·제호 크기·탭 자리·동작이 같다(넓은 화면도) */
.fhead {
  position: sticky; top: 0; z-index: 30; margin: 0 -16px; padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 0;
  background: var(--paper); border-bottom: 2px solid var(--ink); transition: transform .22s ease;
}
.fhead.is-up { transform: translateY(-100%); }
.fh-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fh-top picture { display: contents; }
.fh-home { min-width: 0; color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }   /* 로고·제호 = 홈(그 언어 라이브 피드 맨 위) */
.fh-top .geo { margin-left: auto; align-self: center; }   /* 나라 단추 — 머리 줄 오른쪽 끝 */
.htabs { display: flex; margin: 6px -16px 0; border-bottom: 1px solid var(--line); }
.htabs:last-child { border-bottom: 0; }   /* 탭이 머리의 끝 — 머리 밑줄 하나만 */
.htab { flex: 1; padding: 8px 0 10px; text-align: center; font-size: .94rem; color: var(--muted); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.htab b { position: relative; display: inline-block; font-weight: 600; }
.htab:hover { color: var(--ink); }
.htab[aria-current="page"] { color: var(--ink); }   /* 지금 화면 = 굵게 + 밑 막대 */
.htab[aria-current="page"] b { font-weight: 800; }
.htab[aria-current="page"] b::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: -10px; height: 3px; border-radius: 2px 2px 0 0; background: var(--ink); }
.title {   /* 제호 — 두 화면 같은 크기 · 로고 36px 안팎: 옆 글자 「Source Now」의 대문자 높이(약 16px)가 카드 기사 제목 글자 크기와 비슷하게
              (대표님 2026-11-12 22:35 「Source Now 글씨의 크기가 본문 기사 제목 정도의 크기가 되었으면」 · 전에는 28px — 대문자 약 13px) */
  margin: 0;
  font-weight: 900;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -.025em;
  white-space: nowrap;
}
/* 로고 묶음(AI Source Now · docs/brand.md) — 제호 = 심볼(주홍 판 + AI) + 옆 글자 「Source Now」(윤곽선 svg · 색 = 잉크색) · 표준 비율: 옆 글자 상자 높이 1.13em 에
   심볼 한 변 .9em(대표님 2026-11-12 23:5x 「ai 심볼이 좀 작아지면 … 옆 글자 크기는 그대로」 · 2026-11-13 「지금 고친것을 표준 크기로 … 이 비율을 유지」) · 세로 가운데 맞춤 ·
   틈은 옆 글자 상자의 왼쪽 15/64 그대로. 아래 한 줄 = site/brand/make_icons.py lockup_css(".title", 1.13) 과 같은 글(시험이 대조 — 손으로 값을 바꾸지 않는다) */
.title { display: flex; align-items: center; }
.title .brand-mark,.title .brand-word{display:block;flex:none}.title .brand-word{width:4.308em;height:1.13em}.title .brand-mark{width:.9em;height:.9em}
/* 움직이는 심볼 「심볼 빛쓸기」 — 흰 빛이 판을 지나감 · 한 바퀴 5초 · 움직임 줄이기면 멈춤(site/brand/make_icons.py SWEEP_CSS 와 같은 글 — 시험이 대조) */
.bm-shine{animation:bm-sweep 5s linear infinite}@keyframes bm-sweep{0%,10%{transform:translateX(0)}90%,100%{transform:translateX(144px)}}@media (prefers-reduced-motion:reduce){.bm-shine{animation:none}}
@media (max-width: 340px) { .title { font-size: 1.7rem; } }   /* 아주 좁은 폰 — 나라 단추와 한 줄에 들게 */
/* 나라 선택(지오) — 국기 + 짧은 글자 · 고르면 언어·통화·기준 시간·질문 꼴이 함께 바뀐다 */
.geo { position: relative; flex: none; align-self: flex-start; }
.geo-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 10px; cursor: pointer;
  font: 600 .84rem/1 var(--sans); color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 999px;
}
.geo-btn:hover, .geo-btn[aria-expanded="true"] { border-color: var(--ink); }
.geo-btn .flag { width: 1.4em; height: .95em; }
.geo-tz { display: none; }   /* 단추엔 국기 + 나라 이름만 — 시간대 글은 좁은 머리 줄에 넣지 않음 */
.caret { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-left: 2px; color: var(--muted); }
.geo-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; width: min(17.5rem, calc(100vw - 32px)); padding: 10px; display: grid; gap: 2px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 40px rgba(0, 0, 0, .14);
}
.geo-h { margin: 2px 6px 8px; font-size: .76rem; line-height: 1.45; color: var(--muted); }
.geo-h b { display: block; color: var(--ink); font-size: .82rem; }
.geo-it {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 0 10px; align-items: center; text-align: left;
  padding: 8px; border: 0; border-radius: 8px; background: none; color: var(--ink); cursor: pointer; font: inherit;
}
.geo-it .flag { grid-row: 1 / 3; width: 1.6em; height: 1.07em; }
.geo-it .g-n { font-weight: 700; font-size: .9rem; }
.geo-it .g-m { font-size: .74rem; color: var(--muted); }
.geo-it:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.geo-it[aria-checked="true"] { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.geo-zones { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0 8px 6px 2.9em; }
.gz-h { width: 100%; font-size: .7rem; color: var(--muted); }
.geo-z { font: 600 .74rem/1 var(--sans); min-height: 30px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--ink-2); cursor: pointer; }
.geo-z[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
/* ── 붙박이 줄(조간 · 대표님 2026-11-11 10:22) — 위에서부터 머리 → 날짜 줄 → 칸 머리 줄이 쌓인다 ──
   · 머리(.fhead) = 내리면 숨고 조금 올리면 나옴(위 「머리」) · 날짜 줄 = 「날짜 영역은 스크롤을 올려도 상단 고정」 — 늘 붙어 있음 ·
     칸 머리 줄(.sec-bar) = 「섹션별(01~05) 스티키 헤더」 — 그 칸을 읽는 동안 날짜 줄 바로 아래 · 다음 칸이 올라오면 밀려 바뀜(position: sticky 뿐 · 스크립트 없음)
   · 붙는 자리 = --head-off(머리가 보이면 머리 높이 --head-h · 숨으면 0 — app.js bindHead 가 <html class="head-up"> · --head-h 를 넘김 · 스크립트가 없으면
     머리가 늘 보이므로 그 아래) · 머리와 같은 빠르기로 옮겨 붙음(top 전환) · 옆 여백까지 바탕을 깔아 밑 글이 비치지 않게
   · 높이를 낮게(날짜 줄 38 + 칸 머리 줄 42) — 폰에서 본문을 가리지 않게 */
.mast-line {
  position: sticky; top: var(--head-off); z-index: 29; display: flex; align-items: center; height: var(--date-h); margin: 0 -16px; padding: 0 16px;
  background: var(--paper); border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--ink-2); transition: top .22s ease;
}
.mast-line .copy-share { flex: none; padding: 3px 10px; }
/* 날짜 줄은 한 줄(높이 그대로) — 좁은 화면·긴 언어에서 날짜·살핀 시각·「조간 공유」가 서로 덮지 않게: 날짜와 단추는 줄지 않고, 폰 폭에선 날짜를 짧은 꼴로,
   그래도 살핀 시각이 다 안 들어가면 단추는 그림만(.tight — app.js fitMast 가 재서 붙임 · 이름은 읽어 주는 글로 남음), 그래도 모자라면 살핀 시각이 줄어든다(…) */
.df-s { display: none; }
@media (max-width: 600px) { .mast-line .df-l { display: none; } .mast-line .df-s { display: inline; } }
.mast-line.tight .copy-share { padding: 3px 8px; }
.mast-line.tight .copy-share > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* 날짜 줄(대표님 2026-11-09 21시 고객 통로 계획 7판 컨펌 ② · 11/10) = 날짜 ▾(지난 호 고르기 — 누르면 그 자리 아래 목록 · 2주씩 이어 붙음) · 주간 브리핑 표 ·
   오른쪽 끝 「조간 공유」(그날 호 전체 · 기사 공유와 같은 단추 .copy-share · 이름 = 대표님 2026-11-11) — 환율 글은 뺐다(본문 금액 옆 원화 괄호는 그대로) */
.ed-pick { position: relative; flex: none; }
.ed-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: inherit;
}
.ed-btn:hover, .ed-btn[aria-expanded="true"] { color: var(--ink); }
.ed-btn .caret { margin-left: 2px; }
.ed-menu {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 40; width: 17rem; max-width: calc(100vw - 32px);
  max-height: min(60vh, 420px); overflow: auto; overscroll-behavior: contain; padding: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 40px rgba(0, 0, 0, .14);
}
/* 날짜 옆 「05:30 KST 기준」 — 이 호가 원문을 어느 시각까지 살폈는지(대표님 2026-11-12 10:09 · 나온 시각이 아니라 살핀 시각 · 보는 나라 시각으로 app.js renderTimes) */
.ed-asof { flex: 0 1 auto; min-width: 0; margin: 0 8px; overflow: hidden; text-overflow: ellipsis; color: var(--muted); white-space: nowrap; }
.ed-asof::before { content: "·"; margin-right: 8px; }
.ed-list { list-style: none; margin: 0; padding: 0; }
.ed-it { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; padding: 6px 8px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .86rem; }
a.ed-it:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.ed-it[aria-current="page"] { background: color-mix(in srgb, var(--ink) 8%, transparent); font-weight: 700; }
.ed-it.is-off { color: var(--muted); cursor: default; }
.ed-tag { flex: none; font-size: .74rem; font-weight: 600; color: var(--ink-2); }
.ed-it.is-off .ed-tag { color: var(--muted); font-weight: 500; }

/* ── 첫 화면: 한 문단 + 오늘의 숫자 ───── */
.lede { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 20px 0 8px; }
.verdict { margin: 0; font-size: 1.08rem; line-height: 1.6; font-weight: 700; }
.num-tile { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 0 12px; border-left: 2px solid var(--ink); padding: 2px 0 2px 12px; }
.num-tile .k { grid-column: 1 / -1; font-size: .75rem; color: var(--muted); letter-spacing: .04em; }
.num-tile .v { white-space: nowrap; font-size: 1.45rem; font-weight: 900; line-height: 1.2; color: var(--accent); }
.num-tile .c { font-size: .8rem; line-height: 1.5; color: var(--ink-2); }

/* ── 오늘의 AI 5 — 카드 ───────────────── */
.top5 { padding: 22px 0 12px; }
.top5-h, .sec-no { font-family: var(--sans); font-size: .8rem; font-weight: 800; letter-spacing: .04em; color: var(--muted); margin: 0 0 14px; }
.top5-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0 0 8px; }
.top5-head .top5-h { margin: 0; }
.top5-hint { margin: 0; font-size: .7rem; font-weight: 500; color: var(--muted); opacity: .85; }
.cards { list-style: none; margin: 0; padding: 0; }
.cards li { border-top: 1px solid var(--line); }
.cards li:first-child { border-top: 2px solid var(--ink); }
.cards a { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; text-decoration: none; }
.cards a:hover .c-tx { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.cards .rk { flex: none; width: 1.1em; font-size: 1.3rem; font-weight: 900; line-height: 1; color: var(--ink); }
.cards .c-tx { font-weight: 700; font-size: .95rem; line-height: 1.5; }
.cards .c-empty .c-tx, .cards .c-more .c-tx { font-weight: 400; color: var(--muted); }   /* 국가별 카드의 그 나라 소식 없음(c-empty) · 그 나라 다른 소식 없음(c-more · 2026-11-03) — 04 탭 빈 나라 안내(.empty)와 같은 회색(2026-11-01) */
.cards .c-sec { display: none; }   /* 카드의 칸 이름 — 한 줄 카드엔 넣지 않음(읽기 도구·검사용 글로만) */
.cards .card-c { position: relative; }
.cards .c-flag { flex: none; display: inline-flex; align-items: center; }   /* 핵심 5 국가별 카드 — 순위와 제목 사이 국기 하나(대표님 2026-11-18) */
.cards .c-flag .flag { width: 1.35em; height: .9em; box-shadow: 0 0 0 .5px color-mix(in srgb, var(--ink) 18%, transparent); }
/* 공식 영상(원문 유튜브 · 2026-10-27) — 모두 기사 폭(한 단 · 옛 넓은 화면의 오른쪽·왼쪽 작은 액자는 2026-11-11 뺌 — 자리 이름 clip--side·side-left 는 여백만 다름) ·
   쌓임 순서를 옆 요점 목록 줄(.gist--multi li — position: relative)보다 위로: 떠 있는 액자 밑까지 깔린 줄 네모가 영상을 덮어
   누름을 가져갔다(10/28 호 PC — 영상의 78%·아래 조작 막대 전부 · 결재 안건 206) · 영상 칸은 YouTube 최소 200×200(최소 기능 요구) */
.clip { position: relative; z-index: 1; margin: 14px 0 16px; }
.clip .frame { position: relative; aspect-ratio: 16 / 9; min-height: 200px; background: #000; border-radius: 6px; overflow: hidden; }
.clip .clip-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer;
  background: radial-gradient(circle at 70% 40%, #2a1b3d, #0d0d0d 70%); }
.clip .clip-play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clip .clip-btn { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 12px;
  background: rgba(20, 20, 20, .78); transition: background .15s; }
.clip .clip-btn::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff; }
.clip .clip-play:hover .clip-btn, .clip .clip-play:focus-visible .clip-btn { background: #e1002d; }
.clip .clip-play:focus-visible { outline: 3px solid var(--accent, #e1002d); outline-offset: -3px; }
.clip--side .clip-btn, .clip--side-left .clip-btn { transform: scale(.8); }
.clip figcaption { display: flex; align-items: center; gap: 0 8px; min-height: 32px; }
.clip .clip-cap { flex: 1 1 auto; min-width: 0; }
/* 신청 단추(2026-10-27) — 공모 기사 요점 아래 · 원문에 실제로 걸린 신청 링크 */
.apply { margin: 6px 0 14px; }
.apply-btn { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: .9rem; text-decoration: none; }
.apply-btn:hover { background: var(--accent); }
.apply-host { font-weight: 400; opacity: .75; margin-left: 4px; font-size: .8rem; }
/* 원문 사진(2026-10-27) — 공식 영상과 같은 자리 꼴(clip--side·wide·side-left) · 1.91:1(공유 그림 꼴)로 꽉 채워 자름 ·
   쌓임 순서는 공식 영상(.clip)처럼 옆 요점 목록 줄(.gist--multi li — position: relative)보다 위로: 떠 있는 사진 밑까지 깔린 줄 네모가
   누름을 가져가 크게 보기 창이 안 열렸다(11/02 호 Cohere 기사 · 사진 한가운데 elementFromPoint = LI) · 원문 사진 영상(.motion--photo)도 같다 */
.photo, .motion--photo { position: relative; z-index: 1; }
.photo { margin: 14px 0 16px; }
.photo .frame { aspect-ratio: 1.91 / 1; background: var(--line); border-radius: 6px; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo figcaption { margin-top: 6px; font-size: .78rem; color: var(--muted); }
.photo .clip-mark { color: var(--ink); margin-right: 4px; }
/* 크기를 아는 그림(2026-10-29 · render photo_html w·h) — 자르지 않고 제 비율(img width·height 로 자리를 미리 잡아 밀림 없음) ·
   세로로 긴 그림은 높이 상한(render 가 max-width 로 계산)으로 줄여 가운데 · 출처 = 그 그림을 실은 원문 페이지 링크(새 창) */
.photo .frame--fit { aspect-ratio: auto; }
.photo .frame--fit img { height: auto; object-fit: contain; }
.photo .frame--tall { margin: 0 auto; }
.photo .frame--tall + figcaption { text-align: center; }
.photo a.clip-src { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--muted) 50%, transparent); text-underline-offset: 3px; }
.photo a.clip-src:hover { color: var(--ink); }
.clip figcaption { margin-top: 4px; font-size: .78rem; color: var(--muted); }
.clip .clip-mark { color: var(--ink); margin-right: 4px; }
.clip--side, .clip--side-left, .photo.clip--side, .photo.clip--side-left, .motion--photo.clip--side, .motion--photo.clip--side-left { margin: 12px 0 14px; }
/* 나라판(2026-10-28 · app.js applyView) — 1면으로 올라온 기사의 사진·영상은 1면처럼 넓게 · 1면에서 내려간 기사의 AI 장면은 숨김(1면 영상은 기본판 1면 몫) */
.story--lead .clip--side, .story--lead .clip--side-left, .story--lead .photo.clip--side, .story--lead .photo.clip--side-left { margin: 14px 0 16px; }
.story:not(.story--lead) > .motion { display: none; }
/* 국기 단추 묶음(나라 다섯 · 2026-10-27) — 휴대폰에서 겹쳐 띄우면 제목을 가리고 그 자리를 누르면 나라가 바뀜(Codex 4384779467) */
.cards .c-empty, .cards .c-more { color: var(--muted); font-weight: 500; }

/* ── 칸(절) — 칸 머리 줄(.sec-bar = 번호 + 칸 이름 · 국가별 AI 는 오른쪽에 나라 탭)은 붙박이(위 「붙박이 줄」) ───────── */
.sec { padding: 26px 0 30px; scroll-margin-top: var(--date-h); }
.sec-bar {
  position: sticky; top: calc(var(--head-off) + var(--date-h)); z-index: 20; display: flex; align-items: center; gap: 14px;
  min-height: var(--bar-h); margin: 0 -16px 18px; padding: 0 16px; background: var(--paper); border-bottom: 1px solid var(--ink); transition: top .22s ease;
}
.sec-h { flex: none; display: flex; align-items: baseline; gap: 8px; margin: 0; font-weight: 700; font-size: 1.16rem; line-height: 1.3; white-space: nowrap; }
.sec-no { margin: 0; }
.sec-body { min-width: 0; }
.story { scroll-margin-top: calc(var(--date-h) + var(--bar-h) + 10px); }   /* 카드·공유 링크로 온 기사가 붙박이 줄에 가리지 않게 */

/* ── 기사 ─────────────────────────────── */
.story + .story { margin-top: 32px; padding-top: 28px; border-top: 1px dashed var(--line); }
.kicker { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: .8rem; color: var(--muted); }
.kicker .k-t { color: var(--accent); font-weight: 800; letter-spacing: .02em; }
/* 말머리의 기관 이름 = 그 기관 페이지 링크(라이브 피드 카드 · 조간 기사 — 대표님 2026-11-18~19 · publish/feed_cards.py card · render.kicker_html) — 밑줄 없이 지금 글자 그대로 */
.kicker a.k-org { text-decoration: none; }
.kicker a.k-org:hover { text-decoration: underline; text-underline-offset: 3px; }
/* 이름표 — 짧은 뉴스 카드(render.label_html · 🏢 업계 · 🗣️ 리더 · ✨ 출시 · 정책 = 국기) · 지면은 회사·기관 이름 앞 그림을 쓰지 않는다
   (대표님 2026-11-08 15:0x 「지면지(조간신문) 에서는 회사 및 기관 명 앞 이모지를 생략할 것」) */
.fc-tag {
  display: inline-flex; align-items: center; gap: 4px; padding: 0 8px; min-height: 1.5rem;
  border: 1px solid var(--line); border-radius: 999px; font-weight: 700; color: var(--ink-2); line-height: 1.4;
}
.fc-tag--flag { padding: 0 6px; }
.fc-tag--i { padding: 0 7px; font-size: 1rem; }   /* 그림 글자 이름표(🏢·🗣️·✨) */
/* 합의 차례 표시(로컬 대조 · 갈린 판정 · render agree_html) — 경고가 아니라 기록이라 흐린 글자 + 점선 밑줄(눌러 볼 수 있다는 표시) ·
   뜻 한 줄은 마우스를 올리거나 누르면(초점) 아래 풍선으로 */
.agree { position: relative; display: inline-block; }
.agree-mark { font: inherit; color: var(--muted); background: none; border: 0; padding: 0; cursor: help;
  text-decoration: underline dotted; text-decoration-color: color-mix(in srgb, var(--muted) 60%, transparent); text-underline-offset: 3px; }
.agree-tip { display: none; position: absolute; left: 0; top: calc(100% + 6px); z-index: 5; width: max-content; max-width: min(18rem, 80vw);
  padding: 6px 10px; font-size: .78rem; font-weight: 400; line-height: 1.5; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 4px 14px color-mix(in srgb, var(--ink) 12%, transparent); }
.agree:hover .agree-tip, .agree-mark:focus + .agree-tip { display: block; }
@media (hover: none) { .agree-mark { cursor: pointer; } }   /* 터치(iOS Safari 는 누를 수 있는 꼴이어야 누름에 :hover 를 준다) */
.hl { margin: 6px 0 16px; font-weight: 700; font-size: 1.36rem; line-height: 1.36; letter-spacing: -.01em; }
.story--lead .hl { font-size: 1.55rem; line-height: 1.28; font-weight: 900; }
/* 국가별 AI·AI 도구 = 간추린 꼴(대표님 2026-10-28 「짧게 짧게 심플하게 치는것이 … 읽기 좋네요, 사족 없어서 좋아요」 — My Daily AI 1호 꼴) —
   말머리·시각 + 제목 + 본문 + 출처 칸. 요점(.gist)은 이 두 칸에서 그리지 않는다(지면 HTML 엔 남음 — 나라판이 AI 도구 기사를
   1면·회사 칸으로 옮기면(app.js applyView) 그 칸 꼴로 다 보인다) · 본문 첫 문단(p.first)이 없는 옛 꼴 기사는 요점을 그대로 둔다 ·
   원문 사진·원문 사진 영상·공식 영상은 보인다(대표님 2026-10-29 「기사에 원본 이미지 하나 정도는 권장 합니다. (출처를 정확하게 남기면되죠)
   국가별 AI 보며 그런 생각을 했네요」) — 만든 장면(AI 장면)만 숨김 */
:is(#policy, #tools) .story + .story { margin-top: 22px; padding-top: 20px; }
:is(#policy, #tools) .hl { margin: 4px 0 8px; font-size: 1.14rem; line-height: 1.42; }
:is(#policy, #tools) .story > .motion:not(.motion--photo) { display: none; }
:is(#policy, #tools) .story:has(> .body > p.first) > .gist { display: none; }
:is(#policy, #tools) .body { font-size: .96rem; line-height: 1.66; }
:is(#policy, #tools) .body p { margin-bottom: .6em; }
:is(#policy, #tools) .src { margin-top: 8px; }

.motion { margin: 0 0 24px; }
.motion .frame { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #1c1c22; }
.motion video, .motion img { width: 100%; height: 100%; object-fit: cover; display: block; }
.motion figcaption { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.motion .ai-mark { font-weight: 700; color: var(--ink-2); }
/* 원문 사진 영상(2026-10-28 · run.py stage_photo_motion) — 기사 원문의 공식 사진에 AI 로 움직임만 더함 · 1면 밖 기사에도 보인다(만든 장면만 1면 몫) ·
   1면 밖은 원문 사진처럼 오른쪽 작게 → 넓게 → 왼쪽 작게(clip--*) · 귀퉁이 표시 「AI로 움직임을 더한 사진」(실제 촬영 영상으로 오인되지 않게) */
.story:not(.story--lead) > .motion--photo { display: block; }
.motion--photo.clip--wide { margin: 14px 0 16px; }
.story--lead .motion--photo.clip--side, .story--lead .motion--photo.clip--side-left { margin: 0 0 24px; }
.motion .ai-mark--corner { position: absolute; left: 8px; bottom: 8px; padding: 2px 7px; border-radius: 3px; font-size: .72rem; line-height: 1.5; color: #fff; background: rgb(0 0 0 / .58); pointer-events: none; }
.motion--photo .clip-mark { color: var(--ink); margin-right: 4px; }
/* 누르면 크게(2026-10-29 · app.js bindZoom · 대표님 「짧은 영상이나 이미지를 클리하면 크게 보이는 팝업」) — 원문 사진·영상 액자가 단추가 된다
   (키보드 Enter·Space) · 크게 보는 창 = <dialog>(맨 위 층 · 지면은 그대로라 밀림 없음 · 뒤 지면 스크롤만 잠금 — 스크롤 막대 자리는 남김) ·
   닫기 단추·Esc·바깥 누름 · 출처·AI 표시는 액자 그대로 함께 */
.frame[data-zoom] { cursor: zoom-in; }
.frame[data-zoom]:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
html.lb-on { overflow: hidden; }
html.lb-on.lb-gutter { scrollbar-gutter: stable; }   /* 스크롤 막대가 자리를 차지하는 화면(PC)만 — 잠가도 막대 자리를 남겨 글이 옆으로 밀리지 않게 */
.lb { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 56px 16px 20px; border: 0;
  background: transparent; color: #ececef; overflow: auto; }
.lb[open] { display: flex; align-items: center; justify-content: center; }
.lb::backdrop { background: rgb(8 8 10 / .9); }
.lb-fig { margin: 0; max-width: min(100%, 1400px); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lb-media { position: relative; max-width: 100%; line-height: 0; }
.lb-media img, .lb-media video { display: block; max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px);
  object-fit: contain; border-radius: 4px; background: #000; }   /* 크기는 app.js zoomFit(창 안 가장 크게 · 비율 그대로 · 2배까지) */
.lb-media .ai-mark--corner { position: absolute; left: 8px; top: 8px; padding: 2px 7px; border-radius: 3px; font-size: .72rem; line-height: 1.5; color: #fff;
  background: rgb(0 0 0 / .58); pointer-events: none; }   /* 영상 조작 막대(아래)를 피해 위 귀퉁이 */
.lb-cap { font-size: .82rem; line-height: 1.5; color: #c8c8d0; text-align: center; max-width: 60rem; }
.lb-cap .clip-mark, .lb-cap .ai-mark { color: #fff; margin-right: 4px; }
.lb-cap a { color: inherit; }
.lb-x { position: fixed; top: 10px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%;
  background: rgb(255 255 255 / .12); color: #fff; cursor: pointer; }
.lb-x:hover, .lb-x:focus-visible { background: rgb(255 255 255 / .24); }
.lb-x:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lb-x svg { width: 18px; height: 18px; display: block; }
/* 기사 영상 자리(render xvideo_html) — 원고가 넣은 영상 파일이면 그 자리에서 재생(.avid · 조작 단추 · 자동 재생 없음) + 원문 X 글에 영상이 있으면
   그 아래 원문 링크 한 줄(새 창) · 영상 파일이 없으면 링크만(.xpost) · X 글 틀은 넣지 않는다(대표님 2026-11-12 「넣을꺼면 영상을 따로 넣으세요」) */
.xpost { margin: 2px 0 14px; }
.avid { margin: 14px 0 16px; }
.avid .frame { background: #000; border-radius: 6px; overflow: hidden; max-width: 640px; }
.avid video { display: block; width: 100%; max-height: 72vh; }
.avid .xvid { margin-top: 6px; }
/* 「고침 HH:MM」 = 누르는 단추(용어처럼 점선 밑줄) → 고친 내용 창(.pop · 대표님 2026-11-08) — 짧은 뉴스 카드·지면 기사 한 벌(render fix_pop · 2026-11-12) */
.fc-fix { font: inherit; color: var(--claim); font-weight: 700; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; line-height: inherit;
  border-bottom: 1px dotted color-mix(in srgb, var(--claim) 45%, transparent); -webkit-tap-highlight-color: transparent; }
.fc-fix:hover, .fc-fix.on { border-bottom-color: var(--claim); }
.fc-fixpop .pop-desc { margin: 0; }
.xvid { margin: 0; font-size: .86rem; }
.xvid-a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--muted) 60%, transparent); text-underline-offset: 3px; }
.xvid-a::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }
.xvid-a:hover { color: var(--accent); }

/* 두괄식 요약(3판) — 「한 줄(사실)」과 「[계획]」만 · 점 없음 · 두 줄 이상이면 줄마다 아주 작은 대시(말머리) ·
   [계획] = 줄 끝 작은 회색 꼬리표(4판 · 튀지 않게 무채색) */
.gist { list-style: none; margin: 0 0 26px; padding: 2px 0 2px 14px; border-left: 2px solid color-mix(in srgb, var(--ink) 22%, transparent); font-size: 1rem; line-height: 1.62; }
.gist li { margin: .3em 0; }
.gist .tag-t { font-size: .7rem; font-weight: 600; letter-spacing: .01em; color: var(--muted); white-space: nowrap; }
.gist--multi li { position: relative; padding-left: .95em; }
.gist--multi li::before { content: ""; position: absolute; left: 0; top: .82em; width: .45em; height: 1.5px; background: var(--muted); }

.body p { margin: 0 0 .9em; }
/* 본문 첫 문단 = 첫 문장 · 줄바꿈 · 나머지(render.first_para · 지면·짧은 뉴스 한 벌 · 대표님 2026-11-05 「처음 보는 문장이 새 줄에서」) */
p.first > .s1, p.first > .s-rest { display: block; }
p.first > .s-rest { margin-top: .45em; }
.runin { font-size: .76rem; font-weight: 800; color: var(--ink-2); letter-spacing: .03em; margin-right: .35em; }
.runin-h { font-size: .76rem; font-weight: 800; color: var(--ink-2); letter-spacing: .03em; margin: 1.2em 0 .3em; }
.quote { margin: 1.3em 0; padding: 0 0 0 1.1em; border-left: 2px solid var(--ink); }
.quote .tr { font-size: 1.12rem; line-height: 1.55; font-weight: 700; margin: 0 0 .4em; }
.quote .orig { font-size: .86rem; color: var(--muted); font-style: italic; margin: 0 0 .3em; line-height: 1.55; }
.quote cite { font-size: .8rem; color: var(--muted); font-style: normal; }
.upd .prod { font-size: 1.05rem; margin: 1.1em 0 .2em; }
.steps ol { margin: 0 0 1em; padding-left: 1.3em; }
.steps li { margin: .3em 0; }
.steps li::marker { color: var(--ink); font-weight: 800; }
.sched { font-size: .92rem; color: var(--ink-2); }
time { white-space: nowrap; }
.hl time, .body time, .gist time { white-space: normal; }

/* 밑줄 펼침(「오늘의 숫자」 설명 · 장애 카드 제목) — 누르면 그 문단 바로 아래가 펼쳐진다(원문 제목·기관·날짜 + 원문 열기) · 그 자리 풀이라 점선 밑줄 =
   용어(.term)와 같은 꼴(밑줄 원칙: 실선 = 새 창 · 점선 = 그 자리 풀이 · 대표님 2026-11-09 21시 고객 통로 계획 7판 컨펌 ⑤ · 11/10) */
a.inl {
  cursor: pointer; text-decoration: none;
  border-bottom: 1px dotted color-mix(in srgb, var(--ink) 30%, transparent);
}
a.inl:hover, a.inl[aria-expanded="true"] { border-bottom-color: var(--ink); }
.lx {
  display: block; margin: .5em 0 1.05em; padding: 10px 14px; border-left: 2px solid var(--line);
  background: color-mix(in srgb, var(--ink) 3%, transparent); border-radius: 0 6px 6px 0; font-size: .86rem; line-height: 1.55;
}
.lx-row { display: block; }
.lx-row + .lx-row { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.lx-t { display: block; font-weight: 700; color: var(--ink); }
.lx-m { display: block; color: var(--muted); font-size: .8rem; }
.lx-a { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 6px; }
.lx-open { font-weight: 700; }
.lx-host { margin-left: .5em; font-weight: 400; font-size: .78rem; color: var(--muted); }
/* 출처 칸 — 지면 기사 끝(.src)과 짧은 뉴스 카드(.fc-src)가 같은 꼴 · 같은 기능(render.src_block 한 벌 · 대표님 2026-11-10 「조간 신문에 원문 열기 영역을
   라이브 피드의 해당 영역과 uiux 및 기능을 동일하게」) = 테두리 칸 안 한 줄: 「원문 열기 + 이름」 · 「링크 복사」 · 「AI 질문」 · 「공유」 */
.src, .fc-src { margin: 10px 0 2px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: .86rem; line-height: 1.55; }
.src .lx-a, .fc-src .lx-a { margin-top: 0; }

/* 용어·인물 — 옅은 점선 밑줄 단추 + 그 자리 아래 설명 */
.term {
  font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; line-height: inherit;
  border-bottom: 1px dotted color-mix(in srgb, var(--ink) 30%, transparent); text-align: inherit;
}
.term:hover, .term.on { border-bottom-color: var(--ink); }
.pop {
  display: none; position: fixed; inset: 0; margin: auto; height: fit-content; z-index: 50;
  width: min(360px, calc(100vw - 32px)); max-height: min(60vh, calc(100dvh - 32px)); overflow: auto; overscroll-behavior: contain;
  padding: 14px 16px 12px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .16); font-size: .94rem; line-height: 1.62; text-align: left;
}
.pop:popover-open { display: block; }
.pop.is-open { display: block; position: absolute; }
.pop-h { display: block; font-weight: 700; font-size: 1.05rem; }
.pop-sub { display: block; font-size: .78rem; color: var(--muted); margin: 1px 0 6px; }
.pop-desc { display: block; margin: 4px 0 10px; }
.copy-ask, .copy-link {
  font: 600 .76rem/1.4 var(--sans); color: var(--ink-2); background: transparent; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; white-space: nowrap;
}
.copy-ask:hover, .copy-link:hover { border-color: var(--ink); color: var(--ink); }
/* 「공유」(짧은 뉴스 펼친 카드 · render.share_btn) — 출처 줄 맨 오른쪽 · 우리 쪽 주소(공유 쪽)를 보낸다는 뜻으로 테두리만 진하게(대표님 2026-11-09 7판 ⑩ 「우측 끝 "공유" 버튼 오케이」) */
.copy-share {
  display: inline-flex; align-items: center; gap: 4px; margin-left: auto;
  font: 700 .76rem/1.4 var(--sans); color: var(--ink); background: transparent; cursor: pointer;
  border: 1px solid var(--ink); border-radius: 999px; padding: 5px 12px; white-space: nowrap;
}
.copy-share .share-i { display: block; flex: none; }
.copy-share:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
/* 원문 칸의 주소 글자(lx-host)는 화면에 싣지 않는다 — 「원문 열기 · 링크 복사 · AI 질문 · 공유」 넷이 한 줄(대표님 2026-11-09 메모 「"원문 열기"만 밑줄 그은 상태로(지금처럼)
   남기는거 오케이」 · 11/10 「출처 표시 … 제거」 — 넓은 화면도 폰과 같게(한 단 2026-11-11 · 옛 560px 아래만) · 조간 출처 칸도 같은 규칙 · 글자는 읽기 도구·AI 질문 재료로 남음) */
.lx-a .lx-host { display: none; }
/* AI에게 묻기 칸(site/app.js · web/ask.py) — 누른 원문 줄 바로 아래 · 기다리는 동안만 도는 표시 · 안내 글 없음(대표님 2026-11-07) ·
   답은 글자 그대로(문단 · 줄바꿈 유지) · 웹 검색을 쓴 답은 아래에 출처 이름(호스트) */
.ask-pane { display: block; margin: 10px 0 2px; padding: 12px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; font-size: 1.02rem; line-height: 1.68; text-align: left; }   /* 질문·답 = 출처 칸 안 한 칸(겹 상자·옆 여백 없음 — 한 줄에 글자를 더 · 대표님 2026-11-14 「가로 길이를 … 더 늘려주라(글자 크기 유지)」) · 위 가는 줄로 원문 줄과 나눔 · 글자 크기는 11-14 고침안 그대로 */
.ask-f { display: flex; align-items: flex-end; gap: 8px; margin: 0; }
.ask-in {
  flex: 1 1 auto; min-width: 0; min-height: 3em; max-height: 12em; resize: vertical; font: inherit; font-size: 1.05rem; line-height: 1.5; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px;   /* 쓰는 글자 크게(대표님 2026-11-14 「AI 질문 input box 써지는 글씨 크기 키울것」 · 16px 넘어 폰이 확대하지 않음) */
}
.ask-box { position: relative; flex: 1 1 auto; min-width: 0; display: flex; }   /* 입력 칸 + 안쪽 오른쪽 위 ⓧ 「모두 지우기」(app.js askBox · 대표님 2026-11-12) */
.ask-box .ask-in { padding-right: 38px; }
.ask-clear { position: absolute; top: 5px; right: 4px; display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.ask-clear:hover { color: var(--ink-2); }
.ask-clear[hidden] { display: none; }
.ask-in:focus { outline: 2px solid color-mix(in srgb, var(--ink) 35%, transparent); outline-offset: 1px; }
.ask-go { flex: none; display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 2px; padding: 0; border: 0; border-radius: 50%; background: var(--ink); color: var(--paper); cursor: pointer; }
.ask-f--edit { align-items: stretch; margin: 0 0 12px; }   /* 「질문 수정」 칸 — 앞 답은 그 아래 그대로(대표님 2026-11-09) */
.ask-side { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 6px; }   /* 질문 수정: 「취소」를 보내기 ↑ 바로 위에(대표님 2026-11-14) */
.ask-f--edit .ask-clear { display: none !important; }   /* 고치는 동안은 ⓧ(모두 지우기)를 숨김 — 「취소」와 헷갈리지 않게 */
.ask-f--edit .ask-box .ask-in { padding-right: 12px; }   /* ⓧ 를 숨겼으니 오른쪽 자리를 비우지 않음 */
.ask-cancel { padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font: inherit; font-size: .78rem; font-weight: 700; line-height: 1.4; color: var(--ink-2); white-space: nowrap; cursor: pointer; }
.ask-cancel:hover { color: var(--ink); border-color: var(--ink); }
.ask-qrow { display: flex; align-items: flex-start; gap: 6px; margin: 0 0 8px; }   /* 내 질문 + 오른쪽 끝 「질문 수정」·「새 질문」(대표님 2026-11-09) */
.ask-q { flex: 1 1 auto; min-width: 0; margin: 0; font-weight: 700; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; cursor: pointer; }   /* 눌러도 「질문 수정」(app.js askQrow) */
.ask-ic { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; margin-top: -3px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.ask-ic:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); }
.ask-ic:disabled { opacity: .35; cursor: default; background: transparent; }
.ask-spin { width: 22px; height: 22px; margin: 4px 0; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: ask-spin .8s linear infinite; }
@keyframes ask-spin { to { transform: rotate(360deg); } }
.ask-a { cursor: pointer; }   /* 답 글을 누르면 칸을 접는다(app.js showAnswer · 대표님 2026-11-12) */
.ask-a p { margin: 0 0 .6em; color: var(--ink-2); white-space: pre-line; overflow-wrap: anywhere; }
.ask-a p:last-child { margin-bottom: 0; }
.ask-cites { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 8px 0 0; font-size: .78rem; color: var(--muted); }
.ask-cite { color: var(--muted); overflow-wrap: anywhere; }
.ask-msg { margin: 0; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .ask-spin { animation: none; border-top-color: var(--muted); } }

/* 접기(출처·회사별 상태·산정 기준·표시 설정) */
details > summary { cursor: pointer; list-style: none; }
details > summary::-webkit-details-marker { display: none; }
.fold > summary { display: inline-flex; align-items: center; gap: .45em; min-height: 40px; padding: 8px 0; font-size: .85rem; color: var(--muted); }
.fold > summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 50%; font-size: .85rem; line-height: 1; }
.fold[open] > summary::before { content: "−"; }
.fold > summary:hover { color: var(--ink); }
.fold .n { font-size: .78rem; color: var(--muted); }

/* 국가별 AI — 국기 탭(보기만 바꿈) · 자리 = 칸 머리 줄 「05 국가별 AI」 오른쪽 같은 줄(머리와 함께 붙박이 · 대표님 2026-11-11 10:22 「국가별 탭은 "05 국가별 AI"
   우측으로 붙일 것, 화면 폭을 넘어가면 좌우로 스와이프」) — 탭 = 국기 + 기사 수(나라 이름은 이름표 aria-label · title · 대표님 2026-11-03 17:17 drec-ef1846ca74ee) ·
   줄을 넘으면 탭 줄 안에서만 옆으로 밀림(막대 숨김 · 쪽은 안 밀림 — 2026-11-03 390 폭에서 탭이 넘쳐 문서가 옆으로 밀렸다) · 오른쪽 끝을 옅게 지워 더 있음을 보임 */
.ctabs {
  flex: 1 1 auto; min-width: 0; align-self: stretch; display: flex; margin-right: -16px; padding-right: 16px; overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 20px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 20px), transparent);
}
.ctabs::-webkit-scrollbar { display: none; }
/* 옆으로 밀려 왼쪽에 가려진 탭이 있으면 왼쪽 끝도 옅게(app.js bindTabFade 가 .more-l) — 반쯤 잘린 국기가 깨진 탭처럼 보이지 않게 */
.ctabs.more-l {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 20px, #000 calc(100% - 20px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 20px, #000 calc(100% - 20px), transparent);
}
.ctabs button {
  flex: none; display: inline-flex; align-items: center; gap: 5px; min-height: var(--bar-h); padding: 2px 10px 0; cursor: pointer; white-space: nowrap;
  font: 600 .86rem/1 var(--sans); color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent;
}
@media (max-width: 420px) { .ctabs button { padding: 2px 7px 0; } }   /* 폰 폭 — 영어판 긴 칸 이름(AI by Country) 옆에도 탭 넷이 한 줄에 */
.ctabs button .flag { width: 1.5em; height: 1em; opacity: .8; filter: none; transition: opacity .15s; box-shadow: 0 0 0 .5px color-mix(in srgb, var(--ink) 18%, transparent); }
.ctabs button .n { font-size: .72rem; font-weight: 500; color: var(--muted); }
.ctabs button:hover { color: var(--ink); }
.ctabs button:hover .flag { opacity: 1; }
.ctabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.ctabs button[aria-selected="true"] .flag { opacity: 1; }
.country-empty { padding: 18px 0 6px; }

/* 오늘의 AI 장애 — ① AI 서비스 status(지금) ② 지난 24시간 기록(이번 호) */
.live {
  margin: 0 0 32px; padding: 12px 14px 6px; border: 1px solid var(--line); border-radius: 12px;
  background: color-mix(in srgb, var(--card) 70%, var(--paper)); box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 4%, transparent);
}
.live-h {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: -12px -14px 0; padding: 10px 14px 8px;
  border-radius: 12px 12px 0 0; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--live) 6%, var(--card));
}
.live.is-stale .live-h { background: color-mix(in srgb, var(--ink) 3%, var(--card)); }
.live-t { margin: 0; font: 800 1.05rem/1.2 var(--sans); letter-spacing: -.005em; }
.live-badge { font: 800 .64rem/1 var(--sans); letter-spacing: .12em; color: var(--live); border: 1px solid currentColor; border-radius: 4px; padding: 3px 5px 2px; }
/* 줄 머리 오른쪽 — 「n분 전 확인」 · 「자동 새로고침까지 n분 n초」 · 새로고침 단추(받을 수 있는 주소일 때만 보임) */
.live-tm { margin-left: auto; display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 2px 10px; }
.live-ago { font-size: .74rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.live-cd { font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.live-rf { display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; cursor: pointer; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); border-radius: 50%; }
.live-rf:hover { color: var(--ink); border-color: var(--ink); }
.live-rf.is-busy .rf-i { animation: rfspin .8s linear infinite; }
@keyframes rfspin { to { transform: rotate(360deg); } }
.pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--live); flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--live); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
.live.is-late .pulse, .live.is-late .pulse::after { background: var(--warn); }
.live.is-late .live-badge { color: var(--warn); }
.live.is-late .pulse::after, .live.is-stale .pulse::after { animation: none; opacity: 0; }
.live.is-stale .pulse { background: var(--muted); }
.live.is-stale .live-badge { display: none; }
@media (prefers-reduced-motion: reduce) { .pulse::after { animation: none; opacity: 0; } }
.live-rows { list-style: none; margin: 0; padding: 0; }
/* 회사 한 줄 = 펼침 단추(누르면 서비스별 상태 · 화살표 하나) */
.lr { border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); font-size: .9rem; }
.lr-h {
  display: grid; grid-template-columns: 10px auto minmax(0, 1fr) auto 12px; align-items: baseline; gap: 0 8px;
  width: 100%; margin: 0; padding: 8px 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.lr-h:hover .lr-co { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 35%, transparent); text-underline-offset: 3px; }
.lr-ar { width: 6px; height: 6px; align-self: center; justify-self: center; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.lr-h[aria-expanded="true"] .lr-ar { transform: translateY(1px) rotate(-135deg); }
.lr-x { display: grid; gap: 3px; padding: 0 0 10px 18px; font-size: .82rem; }
.ls { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: baseline; gap: 0 10px; }
.ls-n a { text-decoration: none; }
.ls-n a:hover { text-decoration: underline; }
.ls-n a::after { content: "↗"; margin-left: .25em; font-size: .8em; color: var(--muted); }   /* 공식 상태 페이지(새 창) */
.ls-st { font-size: .78rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ls[data-state="outage"] .ls-st { color: var(--bad); font-weight: 700; }
.ls[data-state="degraded"] .ls-st { color: #8a5a00; font-weight: 700; }
.ls[data-state="maintenance"] .ls-st { color: var(--plan); }
.lr[data-state="outage"], .lr[data-state="degraded"] { margin: 0 -10px; padding-inline: 10px; border-radius: 8px; background: color-mix(in srgb, var(--bad) 6%, transparent); }
.lr[data-state="degraded"] { background: color-mix(in srgb, var(--warn) 8%, transparent); }
/* 상태 점 — 정상은 은은하게 숨 쉬고(받은 값이 신선할 때만) · 저하·장애는 고리가 퍼지며 더 분명하게 깜빡인다 */
.live.is-fresh .lr[data-state="ok"] > .lr-h > .sd { animation: sdbreathe 3.2s ease-in-out infinite; }
.lr[data-state="degraded"] > .lr-h > .sd, .lr[data-state="outage"] > .lr-h > .sd { animation: sdblink 1.4s ease-out infinite; }
@keyframes sdbreathe { 50% { opacity: .4; } }
@keyframes sdblink { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 60%, transparent); } 60% { opacity: .55; } 100% { box-shadow: 0 0 0 7px transparent; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sd, .rf-i { animation: none !important; } .lr-ar, .to-top, .opin, .fhead, .mast-line, .sec-bar { transition: none; } }
/* 회사별 24시간 띠(실시간 값일 때만 채움 · 한 칸 = 1시간 · 상태 페이지 관례) */
.lr-bar { display: none; }   /* 24시간 작은 띠 — 한 단 줄에는 넣지 않음 */
.lr-bar:empty { width: 0; }
.lr-bar i { flex: 1; border-radius: 1px; background: color-mix(in srgb, var(--live) 55%, transparent); }
.lr-bar i.d { background: var(--warn); }
.lr-bar i.o { background: var(--bad); }
.lr:last-child { border-bottom: 0; }
.sd { width: 8px; height: 8px; border-radius: 50%; color: var(--live); background: currentColor; align-self: center; }
.lr[data-state="degraded"] > .lr-h > .sd, .ls[data-state="degraded"] > .sd { color: var(--warn); }
.lr[data-state="outage"] > .lr-h > .sd, .ls[data-state="outage"] > .sd { color: var(--bad); }
.lr[data-state="maintenance"] > .lr-h > .sd, .ls[data-state="maintenance"] > .sd { color: var(--plan); }
.lr[data-state="unknown"] > .lr-h > .sd, .ls[data-state="unknown"] > .sd { background: transparent; box-shadow: inset 0 0 0 1.5px var(--muted); }
.lr-co { font-weight: 700; }
.lr-svc { font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr-st { min-width: 0 !important; font-size: .76rem; font-weight: 700; color: var(--live); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lr[data-state="ok"] .lr-st { color: var(--muted); font-weight: 500; }
.lr:has(.lr-bar:not(:empty)) .lr-st { min-width: 8.6em; }   /* 띠가 있을 때 줄마다 띠 자리가 맞게 */
.lr[data-state="degraded"] .lr-st { color: #8a5a00; }
.lr[data-state="outage"] .lr-st { color: var(--bad); }
.lr[data-state="maintenance"] .lr-st { color: var(--plan); }
.lr[data-state="unknown"] .lr-st { color: var(--muted); font-weight: 600; }
.lr-since { font-weight: 500; }
@media (prefers-color-scheme: dark) { .lr[data-state="degraded"] .lr-st, .ls[data-state="degraded"] .ls-st { color: var(--warn); } }
/* 알림방 등급(live.json grade · 2026-10-29 · app.js stateHTML) — 낱말 앞 구슬과 점·글자·띠를 같은 색(장애 기록 막대 --sev-* 와 같음) */
.lr[data-grade="red"] > .lr-h > .sd, .ls[data-grade="red"] > .sd { color: var(--sev-red); }
.lr[data-grade="orange"] > .lr-h > .sd, .ls[data-grade="orange"] > .sd { color: var(--sev-orange); }
.lr[data-grade="yellow"] > .lr-h > .sd, .ls[data-grade="yellow"] > .sd { color: var(--sev-yellow); }
.lr[data-grade="white"] > .lr-h > .sd, .ls[data-grade="white"] > .sd { background: transparent; box-shadow: inset 0 0 0 1.5px var(--muted); }
.lr[data-grade="red"] .lr-st, .ls[data-grade="red"] .ls-st { color: var(--sev-red); }
.lr[data-grade="orange"] .lr-st, .ls[data-grade="orange"] .ls-st { color: var(--sev-orange-ink); }
.lr[data-grade="yellow"] .lr-st, .ls[data-grade="yellow"] .ls-st { color: var(--sev-yellow-ink); }
.lr[data-grade="white"] .lr-st, .ls[data-grade="white"] .ls-st { color: var(--ink-2); }
.g-dot { font-weight: 400; }
.lr-bar i.g { background: var(--sev-orange); }
.lr-bar i.y { background: var(--sev-yellow); }
.live:has(.lr[data-grade]) .lr:has(.lr-bar:not(:empty)) .lr-st { min-width: 11em; }   /* 등급 글(「🟠 일부 장애 · 50분째」)이 있으면 모든 줄의 띠 자리를 같이 넓힘 */
.live-f { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; padding-top: 8px; font-size: .76rem; color: var(--muted); }
.live-more, .inc-more { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 2px; font: 700 .8rem/1 var(--sans); color: var(--ink-2); background: none; border: 0; cursor: pointer; }
.live-more::after, .inc-more::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.live-more[aria-expanded="true"]::after, .inc-more[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.live-more:hover, .inc-more:hover { color: var(--ink); }
.lm-bad { font: 700 .68rem/1 var(--sans); color: var(--paper); background: var(--bad); border-radius: 999px; padding: 3px 6px; }
.live-more[aria-expanded="true"] .lm-bad { display: none; }
.live-every { margin-left: auto; font-size: .72rem; }
.past-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin: 0 0 4px; padding-top: 12px; border-top: 2px solid var(--ink); font: 800 .95rem/1.35 var(--sans); }
.past-h .trange { font-weight: 700; font-variant-numeric: tabular-nums; }
.body-lang { margin: 6px 0 0; font-size: .78rem; color: var(--muted); }
.inc-head { display: flex; align-items: flex-end; gap: 10px 22px; flex-wrap: wrap; margin: 10px 0 14px; }
.inc-big { font-size: 1rem; color: var(--ink-2); }
.inc-big b { font-size: 3.6rem; font-weight: 900; line-height: .9; color: var(--ink); margin-right: 2px; }
/* 그날 장애 요약 한두 문장(5판 · 「가장 긴 장애」 대신) */
.inc-sum { flex: 1 1 20rem; margin: 0; font-size: .92rem; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
/* 회사별 장애 막대(4판 · 5판에서 합친 길이 뺌) — 줄마다 회사 이름 · 취재 기간 24시간 띠(사건 구간 = 알림방 등급 색 · 누르면 아래 그 줄) · 아래 눈금·범례 한 줄 */
.inc-chart { display: grid; grid-template-columns: fit-content(7.5rem) minmax(0, 1fr); align-items: center; gap: 8px 10px; margin: 16px 0 12px; font-size: .8rem; }
.ic-row, .ic-axis { display: contents; }
.ic-co { font-weight: 700; line-height: 1.3; }
.ic-track { position: relative; height: 12px; border-radius: 6px; background: var(--line); }
.ic-track .bar { position: absolute; top: 0; bottom: 0; border-radius: 3px; }
a.bar { cursor: pointer; }
a.bar::before { content: ""; position: absolute; inset: -9px -3px; }   /* 누를 자리 넓힘(띠 12px → 30px) */
a.bar:hover { filter: brightness(.88); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px currentColor; }
a.bar:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.bar, .lg-b { background: var(--muted); color: var(--muted); }
.bar--major { background: var(--sev-red); color: var(--sev-red); }
.bar--degraded { background: var(--sev-orange); color: var(--sev-orange); }
.bar--minor { background: var(--sev-yellow); color: var(--sev-yellow); }
.bar--unknown, .bar--maintenance { background: var(--card); color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--muted); }   /* ⚪ 정보·점검 */
.bar--unknown:hover, .bar--maintenance:hover { box-shadow: inset 0 0 0 1.5px var(--muted), 0 0 0 2px var(--paper), 0 0 0 3px var(--muted); }
.bar.is-live { background-image: repeating-linear-gradient(135deg, transparent 0 4px, color-mix(in srgb, var(--paper) 45%, transparent) 4px 7px); }   /* 진행 중 = 빗금 */
.lg-b.bar--live { background: repeating-linear-gradient(135deg, var(--muted) 0 3px, transparent 3px 5px); }
.inc-ticks { position: relative; height: 1.3em; margin-top: -6px; font-size: .7rem; color: var(--muted); }
.inc-ticks .tick { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.ic-legend { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 0; font-size: .74rem; color: var(--muted); }
.lg { display: inline-flex; align-items: center; gap: 5px; }
.lg-b { width: 10px; height: 10px; border-radius: 2px; }
.lg-n { margin-left: 0; }
.inc-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.inc-filter button { font: 600 .78rem/1 var(--sans); color: var(--ink-2); background: transparent; border: 1px solid var(--line); border-radius: 999px; min-height: 36px; padding: 8px 12px; cursor: pointer; }
.inc-filter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.inc-list { list-style: none; margin: 14px 0 6px; padding: 0; display: grid; grid-template-columns: fit-content(7.5rem) minmax(0, 1fr); column-gap: 10px; }
/* 장애 카드(4판) — 등급 · 제목(누르면 원문 칸) · 회사·시각·길이 한 줄 · 중요 순 3~5 + 더 보기 */
/* 등급 칸 = 목록의 가장 긴 등급 낱말 폭(상한 9.5rem · 넘으면 알약 안에서 줄바꿈) · 줄마다 같은 칸(subgrid)이라 제목 첫 줄이 한 세로선 —
   고정 5.2rem + nowrap 이던 때는 영어 「Degraded performance」·「Partial outage」 알약이 칸을 넘쳐 제목 위에 겹쳤다(대표님 11/02 「장애 기록에
   글자가 겹쳐져서 나오는 로케일」) · subgrid 를 못 읽는 옛 브라우저는 앞의 고정 칸 */
.inc { grid-column: 1 / -1; display: grid; grid-template-columns: 4.7rem minmax(0, 1fr); grid-template-columns: subgrid; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.inc.is-off { display: none; }
.sev { align-self: start; justify-self: start; text-align: center; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; overflow-wrap: anywhere; text-wrap: balance; color: var(--ink-2); background: color-mix(in srgb, var(--ink) 8%, transparent); }
.sev--major { background: color-mix(in srgb, var(--sev-red) 14%, transparent); color: var(--sev-red); }
.sev--degraded { background: color-mix(in srgb, var(--sev-orange) 16%, transparent); color: var(--sev-orange-ink); }
.sev--minor { background: color-mix(in srgb, var(--sev-yellow) 24%, transparent); color: var(--sev-yellow-ink); }
.sev--unknown, .sev--maintenance { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--muted); }
.inc.is-hit { animation: inchit 1.8s ease-out; }   /* 막대를 눌러 내려온 줄 — 잠깐 밝힘 */
@keyframes inchit { from { background: color-mix(in srgb, var(--ink) 9%, transparent); } to { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .inc.is-hit { animation: none; outline: 2px solid var(--line); } }
.inc .t-ko { font-weight: 700; font-size: .98rem; line-height: 1.45; }
.inc .t-ko a { text-decoration: none; }
.inc .t-ko a:hover, .inc .t-ko a[aria-expanded="true"] { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.inc .cnt { font-size: .74rem; font-weight: 700; color: var(--muted); margin-left: .3em; }
.inc-m { display: flex; flex-wrap: wrap; gap: 0 .5em; margin-top: 1px; font-size: .8rem; line-height: 1.5; color: var(--muted); }
.inc-m > :not(:last-child)::after { content: "·"; margin-left: .5em; }   /* 가운뎃점은 앞 조각 끝에 — 줄이 넘어가도 줄머리에 점이 오지 않게 */
.inc-m .w { font-variant-numeric: tabular-nums; }
.inc-m .w > * { white-space: nowrap; }   /* 시각 줄은 조각(시각 범위 · 「(총 N분)」) 안에서는 안 끊고, 한 줄에 다 안 들어가면 조각 사이에서만 줄을 바꾼다 — 통째로 안 끊으면 긴 언어(중국어 390 폭)에서 화면이 옆으로 넘쳐 가운데 「↑」까지 밀린다 */
.inc-where { margin-top: 1px; font-size: .8rem; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }   /* 「↳ 구성요소」(얼럿 정본 2절 1-2 · 셋까지 + 외 n) */
.cta-row { margin: 18px 0 8px; }
.cta { display: inline-block; font: 700 .9rem/1 var(--sans); color: var(--paper); background: var(--ink); border: 0; border-radius: 999px; padding: 12px 18px; text-decoration: none; cursor: pointer; }
.fold { margin-top: 6px; }
.un-h { font-size: .74rem; letter-spacing: .04em; color: var(--muted); margin: 14px 0 4px; }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 6px 0; border-top: 1px solid var(--line); font-size: .86rem; line-height: 1.5; }
.svc-name { flex: 1 1 10rem; }
.inc-basis p { font-size: .86rem; line-height: 1.65; color: var(--ink-2); margin: .4em 0; }


/* 광고 — 광고주가 있을 때만 그려진다(한글 「광고」 표시) */
.ad-slot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 36px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; font-size: .84rem; color: var(--ink-2); }
.ad-label { font-size: .68rem; font-weight: 800; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 6px; }
.ad-title { font-weight: 800; color: var(--ink); }
/* 광고 카드 한 꼴 — 지면 1면 칸(a_band)과 짧은 뉴스 피드 칸이 같다(render.ad_card · 대표님 2026-11-08 15:0x 「조간 신문(지면지), 짧은 뉴스(라이브피드)
   공통의 형태」) · 기사 카드 꼴 = 이름표 자리 「광고」 · 광고주 이름(브랜드 액센트 — .kicker .k-t) · 제목 · 본문 2줄 · 배너(가로 2:1) ·
   카드 전체가 링크 하나 · 카드는 다른 기사와 똑같이(상자 없음) · 둥근 상자는 광고주 배너 그림에만(대표님 2026-11-08 17시대 블라인드 앱 캡처 「지금 작성된 내용을
   엘리먼트에 감싸서 다른 기사들과 똑같은 기사 처럼 … 둥근 직사각형 영역은 광고주에게 받는 배너 이미지를 그런식으로 구분해서」) · 기사와 가르는 것은 맨 앞 「광고」 */
.ad-slot.ad-card { display: block; max-width: 36rem; margin: 28px 0 8px; padding: 16px 0 20px; border: 0; border-top: 1px solid var(--line);
  border-radius: 0; font-size: inherit; color: inherit; }   /* 지면 = 핵심 5 와 가르는 위 줄만(아래는 다음 절의 줄) */   /* 폭 = 짧은 뉴스 화면 폭(지면 넓은 화면에서도 같은 카드 · 배너가 너무 커지지 않게) */
.ad-link { display: block; color: var(--ink); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.ad-card .kicker { align-items: center; gap: 2px 10px; }
.ad-card .ad-label { min-height: 1.5rem; padding: 0 9px; border-radius: 999px; font-size: .74rem; letter-spacing: .04em; color: var(--ink-2); }   /* 이름표 자리(.fc-tag) 글자 「광고」 */
.ad-card .hl { display: block; margin: 6px 0 4px; font-size: 1.22rem; line-height: 1.4; }   /* 짧은 뉴스 기사 제목과 같은 크기 */
.ad-body { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; color: var(--ink-2); }   /* 2줄 안전망(규격 = 줄마다 render.AD_LINE_CHARS) */
.ad-banner { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; margin-top: 12px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--card); }   /* 둥근 상자 = 배너 그림에만 */

/* 바닥 */
.foot { margin-top: 24px; padding: 28px 0 56px; border-top: 2px solid var(--ink); font-size: .88rem; color: var(--ink-2); }
.foot-row { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 6px; }
/* 모든 화면 같은 세 줄(대표님 2026-11-14 바닥글 정리 A안 — site/brand/shell.py foot_brand · foot_links · masthead_row · foot_pub):
   ① 작은 심볼 + 제호 ② 링크 셋 ③ 한국어판 인터넷신문 표기(본문보다 작고 옅게 — 법 표기는 그대로 다 보임) · 영·일·중 발행 한 줄 */
.foot-title { color: var(--ink); font-weight: 700; text-decoration: none; }   /* 의견·처리방침·광고주 화면(shell FOOT_CSS)과 같은 꼴 — 밑줄 없이 굵게 */
.foot-title .brand-mark { display: inline-block; width: 1.1em; height: 1.1em; margin-right: .35em; vertical-align: -.2em; }
.foot-ads, .foot-opin { margin-right: 14px; }   /* 바닥글 링크 셋(render.py foot_links — 두 화면 한 벌) 사이 */
.foot-reg { display: block; font-size: .76rem; line-height: 1.65; color: var(--muted); }
.foot-reg .reg-l { display: block; }   /* 줄 셋(법인·종별·등록 / 발행인·편집인 / 주소·전화·발행일) — 칸은 「 · 」로 이음 */
.foot-pub { font-size: .76rem; color: var(--muted); }

/* 아래에 떠 있는 두 단추(두 화면 한 벌 · render.py to_top_html · 대표님 2026-11-09 7판 ③) — 가운데 「맨 위로」 ↑ · 같은 줄 오른쪽 끝 「💬 의견」(글 칸의 오른쪽 끝) ·
   「💬 의견」은 늘 떠 있다(대표님 2026-11-12 · 글을 적는 동안만 비킴 — app.js bindHead 가 .off) · ↑ 는 조금 올리면 머리와 함께 나오고 내리면 함께 숨는다(.show) */
.to-top, .opin {
  position: fixed; z-index: 45; cursor: pointer; color: var(--ink); background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .16); transition: transform .22s ease, opacity .22s ease, visibility .22s;
}
.to-top {
  left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; padding: 0; transform: translate(-50%, 90px);
  display: grid; place-items: center; border-radius: 50%; font: inherit; font-size: 1.2rem; font-weight: 800; opacity: 0; visibility: hidden;
}
.opin {
  right: max(16px, env(safe-area-inset-right), calc(50% - 18rem + 16px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); height: 44px; padding: 0 14px;   /* 40 → 48px · 글자도 키움(대표님 2026-11-13 「의견 플로팅 버튼 크기좀 키우세요」) · ↑ 와 같은 높이·같은 줄 */
  display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; font-size: .95rem; font-weight: 700;   /* 글자·여백 조금 줄임(대표님 2026-11-14 「하단 버튼 글자 크기 조금만 줄일 것, 패딩을 좀 줄이는것도」) */
  text-decoration: none; white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.to-top.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.opin.off { opacity: 0; visibility: hidden; transform: translateY(90px); }   /* 글을 적는 동안(묻기 칸 등) — 입력 칸·보내기 단추를 가리지 않게 */
.to-top:hover, .opin:hover { border-color: var(--ink); }

#toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  max-width: calc(100vw - 32px); background: var(--ink); color: var(--paper); font-size: .86rem; line-height: 1.5;
  padding: 10px 16px; border-radius: 12px; transition: opacity .2s, transform .2s; z-index: 60;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 앱 단추(앱 설치 · 앱 열기 · 브라우저로 열기 · 주소 복사 — 두 화면 한 벌 · render.py to_top_html · app.js bindInstall) — 「💬 의견」 바로 위(오른쪽 끝을 맞춤 · 틈 8px ·
   대표님 2026-11-14 「좌하단 … 버튼을 … 우측하단에」 → 「의견」은 제자리 그대로 · 그 위에 나타남) · 「의견」과 같은 꼴·같은 높이 · 처음엔 숨김(그 환경에서만 스크립트가 보임) ·
   글을 적는 동안은 「의견」과 함께 비킴 · 한 줄을 혼자 쓰므로 글을 줄이지 않는다 */
.appb {
  position: fixed; z-index: 45; cursor: pointer; color: var(--ink); background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .16); transition: transform .22s ease, opacity .22s ease, visibility .22s;
  right: max(16px, env(safe-area-inset-right), calc(50% - 18rem + 16px)); bottom: calc(70px + env(safe-area-inset-bottom, 0px));   /* 「의견」(18px · 높이 44px) + 틈 8px */
  height: 44px; padding: 0 14px; display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; font: inherit; font-size: .95rem; font-weight: 700;
  white-space: nowrap; -webkit-tap-highlight-color: transparent;
  opacity: 0; visibility: hidden; transform: translateY(90px);   /* 늘 떠 있는 것은 「의견」 하나 — 이 단추는 ↑ 처럼 조금 올렸을 때만(대표님 2026-11-14 「스크롤 올릴때만」 · app.js bindHead dock) */
}
.appb.show { opacity: 1; visibility: visible; transform: none; }
.appb[hidden] { display: none; }
.appb-s { display: none; }   /* 짧은 글은 쓰지 않음(한 줄을 혼자 씀) */
.appb:hover { border-color: var(--ink); }
.opin.off + .appb.show { opacity: 0; visibility: hidden; transform: translateY(90px); }
/* 아이폰·아이패드 그림 안내 창(install_html · 「앱 설치」를 누르면 화면 아래에 · × · Esc 로 닫음) — 떠 있는 단추·알림 글·바닥글은 창 높이(--inst-h)만큼 위로 */
.inst {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; margin: 0 auto; max-width: 36rem; box-sizing: border-box;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px)) 14px; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-bottom: 0; border-radius: 16px 16px 0 0; box-shadow: 0 -6px 24px rgba(0, 0, 0, .16);
}
.inst[hidden] { display: none; }
.inst:focus { outline: none; }
.inst-row { display: flex; align-items: center; gap: 12px; }
.inst-ic, .inst-ic .brand-mark { flex: none; display: block; width: 40px; height: 40px; }
.inst-tx { flex: 1 1 auto; min-width: 0; margin: 0; display: grid; gap: 2px; line-height: 1.3; }
.inst-tx b { font-size: 1rem; font-weight: 800; }
.inst-sub { font-size: .82rem; color: var(--ink-2); }
.inst-x {
  flex: none; width: 44px; height: 44px; margin-right: -6px; padding: 0; cursor: pointer; font: inherit; font-size: 1.5rem; line-height: 1;
  color: var(--ink-2); background: none; border: 0; border-radius: 50%; -webkit-tap-highlight-color: transparent;
}
.inst-x:hover { color: var(--ink); }
.inst-steps { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; counter-reset: inst; }
.inst-steps li {
  counter-increment: inst; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 12px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; font-size: .92rem; font-weight: 600; line-height: 1.35;
}
.inst-steps li::before { content: counter(inst); flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: var(--paper); background: var(--ink); font-size: .78rem; font-weight: 800; }
.inst-g { flex: none; width: 26px; height: 26px; color: var(--accent); }
.inst-on .to-top, .inst-on .opin { bottom: calc(18px + var(--inst-h, 0px)); }
.inst-on .appb { bottom: calc(70px + var(--inst-h, 0px)); }
.inst-on #toast { bottom: calc(24px + var(--inst-h, 0px)); }
.inst-on .foot { padding-bottom: calc(56px + var(--inst-h, 0px)); }   /* 안내 창이 떠 있어도 바닥글 끝까지 읽히게 */
@media print { .inst, .appb { display: none; } }

/* ── 월요일 주간판(render.py weekly · 대표님 2026-11-09 drec-cdacf145aeab · 2026-11-16 drec-c10debf0f2c9 — 지면은 일간판과 같음) ──────
   날짜 옆 「주간 브리핑」 · 「지난주 흐름 <기간>」 머리만 따로 */
.wk-badge { align-self: center; flex: none; white-space: nowrap; margin-left: .7em; padding: 0 .6em; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent); font-size: .76rem; font-weight: 700; line-height: 1.6; }
.lede:has(> .wk-h) { row-gap: 8px; align-items: start; }   /* 머리 「지난주 흐름」 바로 아래 결론 */
.wk-h { margin: 0; font: 800 .8rem/1.4 var(--sans); letter-spacing: .04em; color: var(--muted); }
.wk-range { margin-left: .6em; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.sec-sub { font: 600 .78rem/1.35 var(--sans); letter-spacing: .02em; color: var(--muted); }

html:lang(ja) :is([lang="ko"], .foot-reg, .story), html:lang(zh) :is([lang="ko"], .foot-reg, .story) {--sans:"Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, -apple-system, "Segoe UI", sans-serif;--serif:"Daily Serif", "Noto Serif KR", "Nanum Myeongjo", "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;font-family:var(--sans);word-break:keep-all;overflow-wrap:anywhere;line-break:auto}
html:lang(ja) :is(.hl, .c-tx:not([data-i18n]), .verdict), html:lang(zh) :is(.hl, .c-tx:not([data-i18n]), .verdict) {--sans:"Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, -apple-system, "Segoe UI", sans-serif;--serif:"Daily Serif", "Noto Serif KR", "Nanum Myeongjo", "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;word-break:keep-all;overflow-wrap:anywhere;line-break:auto}
html:lang(ja) :is(.story [data-i18n], .story [data-i18n] *) {--sans:"Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", system-ui, sans-serif;--serif:"Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Noto Serif CJK JP", "Hiragino Sans", "Yu Gothic UI", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", sans-serif;font-family:var(--sans);word-break:normal;overflow-wrap:break-word;line-break:strict}
html:lang(zh) :is(.story [data-i18n], .story [data-i18n] *) {--sans:"PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;--serif:"Songti SC", "Noto Serif SC", "Noto Serif CJK SC", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif;font-family:var(--sans);word-break:normal;overflow-wrap:break-word;line-break:strict}
