/* Eyes After 40 — 시안 A "Performance"(회장 승인 2026-12-01)
   밝은 바탕 · 먹색 타이포 · 볼트 라임 색면 하나. 숫자가 주인공. 검정·어두운 바탕 없음.
   글꼴: Pretendard(jsDelivr <link>) + Archivo 가변(wdth·wght, 자체 호스팅 OFL — docs/CREDITS.md) */
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url("/assets/fonts/archivo-var-latin.woff2") format("woff2-variations"), url("/assets/fonts/archivo-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --paper: #FFFFFF; --mist: #EFF1F3; --line: #D5D9DE;
  --ink: #15181C; --ink-2: #4A5059;
  --volt: #CFF53E; --volt-deep: #B5DB1F;
  --dim: #8D939A; --dim-2: #A3A8AE;
  --f-ko: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", system-ui, sans-serif;
  --f-num: "Archivo", "Pretendard Variable", sans-serif;
  --fs-body: 1.1875rem; --lh-body: 1.7;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 112px;
  --r-s: 4px; --r-m: 10px; --r-pill: 999px;
  --shadow: 0 1px 0 rgba(21,24,28,.06), 0 12px 32px -12px rgba(21,24,28,.18);
  --gutter: 20px; --max: 1200px;
}
/* 글자 크기 Aa 단추: 보통 100% / 크게 112.5% / 아주 크게 125% — 사이트·앱 같은 값(localStorage ec.fs, html[data-fs]) */
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
html[data-fs="2"] { font-size: 112.5%; }
html[data-fs="3"] { font-size: 125%; }
html.fs-xl { font-size: 125%; }
@media (min-width: 900px) { :root { --fs-body: 1.25rem; --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-ko); font-size: var(--fs-body); line-height: var(--lh-body);
  font-weight: 450; letter-spacing: -0.01em;
  word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, li, a, span, div { word-break: keep-all; }
p, li { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* English label — 대문자 라벨은 숫자·세션 정보에만 */
.lab {
  font-family: var(--f-num); font-weight: 700; font-stretch: 112%;
  font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}
.num { font-family: var(--f-num); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }

/* ---------- top ---------- */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: var(--s5); height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink);
  font-family: var(--f-num); font-weight: 900; font-stretch: 118%; font-size: 1.0625rem; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.logo b { display: inline-grid; place-items: center; background: var(--volt); color: var(--ink);
  font-weight: 900; padding: 5px 6px 4px; border-radius: 3px; font-stretch: 100%; }
/* 메뉴: JS 가 있으면 모바일에서 ≡ 단추로 펼침, JS 가 없으면 로고 아래 줄에 그대로 보인다 */
.nav { display: flex; flex-wrap: wrap; order: 3; width: 100%; gap: 0 var(--s5); font-size: 1rem; font-weight: 600; padding-bottom: var(--s2); }
.nav a { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; color: var(--ink-2); white-space: nowrap; padding: 0; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--volt); }
html:not(.js) .top .wrap { flex-wrap: wrap; height: auto; min-height: 64px; }
html:not(.js) .menu-btn { display: none; }
.fs { margin-left: auto; width: 48px; height: 48px; flex: none; border: 1px solid var(--line); background: var(--paper); border-radius: var(--r-pill);
  font-family: var(--f-num); font-weight: 700; font-size: 1rem; color: var(--ink); cursor: pointer; }
.menu-btn { width: 48px; height: 48px; flex: none; border: 0; background: none; display: grid; place-content: center; gap: 6px; cursor: pointer; margin-right: -8px; }
.menu-btn i { display: block; width: 22px; height: 2.5px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.top.open .menu-btn i:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.top.open .menu-btn i:nth-child(2) { opacity: 0; }
.top.open .menu-btn i:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
@media (max-width: 1079px) {
  html.js .nav { display: none; }
  html.js .top.open .nav { display: grid; position: absolute; left: 0; right: 0; top: 64px; background: var(--paper); border-bottom: 2px solid var(--ink);
    padding: var(--s2) var(--gutter) var(--s5); box-shadow: var(--shadow); }
  html.js .top.open .nav a { min-height: 56px; font-size: 1.1875rem; color: var(--ink); border-top: 1px solid var(--line); }
}
@media (min-width: 1080px) {
  .nav { order: 0; width: auto; flex-wrap: nowrap; margin-left: auto; gap: var(--s5); padding: 0; }
  .nav a { min-height: 64px; }
  .fs { margin-left: var(--s2); }
  .menu-btn { display: none; }
}

/* ---------- buttons ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s3); }
.btn, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: var(--r-pill);
  font-family: var(--f-ko); font-size: 1.0625rem; font-weight: 750; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn { background: var(--volt); color: var(--ink); border: 2px solid var(--volt); }
.btn:hover { background: var(--volt-deep); border-color: var(--volt-deep); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn .num { font-weight: 800; }

/* ---------- hero ---------- */
.hero { padding: var(--s6) 0 var(--s7); }
.hero .wrap { display: grid; gap: var(--s6); }
.hero-copy .lab { display: block; margin-bottom: var(--s4); }
.hero h1 { font-size: clamp(2.75rem, 11vw, 6.25rem); line-height: 1.04; font-weight: 900; letter-spacing: -0.045em; }
.hero .sub { font-size: 1.25rem; line-height: 1.6; color: var(--ink-2); margin: var(--s5) 0 var(--s6); max-width: 30em; font-weight: 500; }
.hero-art { position: relative; margin: 0 calc(var(--gutter) * -1); }
.hero-art .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--mist); }
.hero-art .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; transform: none; }
.ph picture { display: block; width: 100%; height: 100%; }
/* 태블릿(600–899): 세로 사진을 폭 전체 4:5 로 두면 첫 화면이 사진으로만 찬다 → 정사각 */
@media (min-width: 600px) and (max-width: 899px) { .hero-art .ph { aspect-ratio: 1 / 1; } }
.hero-art .tag { position: absolute; top: var(--s4); left: var(--gutter); background: var(--volt); padding: 6px 10px; border-radius: 3px; }
.hero-art .tag .lab { color: var(--ink); }

/* record widget */
.rec { background: var(--paper); padding: var(--s5); border-radius: var(--r-m); box-shadow: var(--shadow); }
.hero-art .rec { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(var(--s7) * -1); }
.rec-top { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); }
.streak { display: flex; align-items: baseline; gap: 6px; }
.streak .num { font-size: 4.25rem; font-weight: 800; font-stretch: 85%; line-height: .85; }
.streak .u { font-size: 1.25rem; font-weight: 800; }
.rec .side { text-align: right; }
.rec .side .num { font-size: 1.5rem; font-weight: 800; font-stretch: 90%; display: block; line-height: 1.1; }
.rec .side .lab { font-size: .75rem; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: var(--s4); align-items: end; height: 76px; }
.week .d { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: 4px; text-align: center; }
.week .bar { align-self: end; background: var(--line); border-radius: 2px; min-height: 6px; }
.week .on .bar { background: var(--volt); box-shadow: inset 0 -2px 0 var(--volt-deep); }
.week .today .bar { background: repeating-linear-gradient(135deg, var(--line) 0 4px, transparent 4px 8px); outline: 2px solid var(--ink); outline-offset: -2px; height: 100%; }
.week .d small { font-size: .8125rem; font-weight: 600; color: var(--ink-2); line-height: 1; }
.week .today small { color: var(--ink); font-weight: 800; }

@media (min-width: 900px) {
  .hero { padding: var(--s8) 0 var(--s6); }
  .hero .wrap { grid-template-columns: 1.3fr 1fr; align-items: center; gap: var(--s7); }
  .hero-art { margin: 0 calc(var(--gutter) * -1) 0 0; }
  .hero-art .ph { aspect-ratio: auto; height: 640px; border-radius: var(--r-m) 0 0 var(--r-m); }
  .hero-art .ph img { transform: none; }
  .hero-art .rec { left: calc(var(--s7) * -1); right: auto; width: 340px; bottom: var(--s6); }
  .hero-art .tag { left: var(--s5); top: var(--s5); }
}

/* ---------- sessions (routines as workout cards) ---------- */
.sec { padding: var(--s8) 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s6); }
.sec-head h2 { font-size: clamp(1.875rem, 5vw, 2.75rem); font-weight: 850; letter-spacing: -0.035em; line-height: 1.15; }
.sec-head a { font-weight: 700; font-size: 1rem; white-space: nowrap; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.sessions { display: grid; gap: var(--s4); }
.sess { display: grid; gap: var(--s4); padding: var(--s5); border: 2px solid var(--ink); border-radius: var(--r-m); text-decoration: none; color: var(--ink); background: var(--paper); }
.sess:hover { background: var(--mist); }
.sess-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s4); }
.sess .big { font-family: var(--f-num); font-weight: 800; font-stretch: 80%; font-size: 5rem; line-height: .82; letter-spacing: -0.04em; }
.sess .big span { font-size: 1.375rem; font-stretch: 110%; font-weight: 800; letter-spacing: .02em; margin-left: 4px; }
.sess .stats { display: flex; gap: var(--s5); text-align: right; }
.sess .stats .num { display: block; font-size: 1.625rem; font-weight: 800; line-height: 1; }
.sess h3 { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.35; }
.sess p { margin: 4px 0 0; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.55; }
.sess.feat { background: var(--volt); border-color: var(--volt); }
.sess.feat:hover { background: var(--volt-deep); }
.sess.feat p, .sess.feat .lab { color: var(--ink); }

/* segment bar — 단계 길이에 비례 */
.seg { display: flex; gap: 3px; height: 14px; }
.seg i { display: block; border-radius: 2px; background: var(--line); }
.seg .look { background: var(--ink); }
.seg .close { background: var(--dim); }
.seg .blink { background: var(--ink-2); }
.seg .move { background: repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 6px); }
.sess.feat .seg i:not(.look):not(.close):not(.blink):not(.move) { background: rgba(21,24,28,.18); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9375rem; color: var(--ink-2); font-weight: 600; }
.legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; background: var(--line); }
.legend .look::before { background: var(--ink); }
.legend .close::before { background: var(--dim); }
.legend .blink::before { background: var(--ink-2); }
.legend .move::before { background: repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 6px); }
@media (min-width: 900px) { .sessions { grid-template-columns: repeat(3, 1fr); } .sess { padding: var(--s6) var(--s5); } }

/* ---------- menu cards ---------- */
.cards { display: grid; border-top: 2px solid var(--ink); }
.card { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 76px; padding: var(--s4) 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink); font-size: 1.375rem; font-weight: 800; letter-spacing: -0.025em; line-height: 1.35; }
.card .lab { font-size: .75rem; flex: none; }
.card:hover { box-shadow: inset 6px 0 0 var(--volt); padding-left: 18px; }
@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(3, 1fr); column-gap: var(--s6); border-top: 0; }
  .card { border-top: 2px solid var(--ink); border-bottom: 0; min-height: 120px; align-items: flex-start; flex-direction: column; justify-content: space-between; padding: var(--s4) 0 var(--s5); font-size: 1.625rem; }
  .card:hover { box-shadow: inset 0 6px 0 var(--volt); padding-left: 0; }
  .card .lab { order: -1; }
}

/* ---------- topics band(알고 관리하기 — 앱 띠와 같은 무게: 같은 여백·제목 크기, 설명 달린 카드) ---------- */
.topics-band { background: var(--mist); }
.topics-band .wrap { display: grid; gap: var(--s6); padding-top: var(--s8); padding-bottom: var(--s8); }
.topics-band h2 { font-size: clamp(2.125rem, 7vw, 4rem); font-weight: 900; letter-spacing: -0.045em; line-height: 1.08; margin-top: var(--s3); }
.topics-band .tb-head p { font-size: 1.25rem; font-weight: 550; margin: var(--s4) 0 0; max-width: 30em; color: var(--ink-2); }
.tb-cards .card { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: var(--s1); padding: var(--s4) 0 var(--s5); }
.tb-cards .card .lab { order: -1; }
.tb-cards .card small { font-size: 1rem; font-weight: 550; color: var(--ink-2); letter-spacing: 0; line-height: 1.5; }
.tb-cards .card:hover { box-shadow: inset 6px 0 0 var(--volt); padding-left: 18px; }
@media (min-width: 900px) {
  .tb-cards { row-gap: var(--s6); }
  .tb-cards .card { min-height: 180px; justify-content: flex-start; }
  .tb-cards .card:hover { box-shadow: inset 0 6px 0 var(--volt); padding-left: 0; }
}
html:lang(en) .topics-band h2 { font-weight: 800; font-stretch: 92%; letter-spacing: -0.018em; word-spacing: .04em; line-height: 1.02; }

/* ---------- app band ---------- */
.app-band { background: var(--volt); }
.app-band .wrap { display: grid; gap: var(--s6); padding-top: var(--s8); padding-bottom: var(--s8); }
.app-band h2 { font-size: clamp(2.125rem, 7vw, 4rem); font-weight: 900; letter-spacing: -0.045em; line-height: 1.08; }
.app-band p { font-size: 1.25rem; font-weight: 550; margin: var(--s4) 0 var(--s6); max-width: 26em; }
.app-band .btn { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.app-band .btn:hover { background: #2a2f35; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); margin-top: var(--s6); }
.facts div { padding-top: var(--s3); }
.facts .num { display: block; font-size: 2.5rem; font-weight: 800; font-stretch: 85%; line-height: 1; }
.facts .lab { color: var(--ink); font-size: .75rem; }
.facts small { display: block; font-size: .9375rem; font-weight: 650; margin-top: 4px; }
.app-band .ph { overflow: hidden; border-radius: var(--r-m); aspect-ratio: 4 / 3; background: var(--mist); }
/* 태블릿(600–899): 한 단 배치에서 사진이 폭 전체 4:3 이면 띠가 지나치게 길어진다 → 낮은 비율 */
@media (min-width: 600px) and (max-width: 899px) { .app-band .ph { aspect-ratio: 16 / 9; } }
.app-band .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
@media (min-width: 900px) { .app-band .wrap { grid-template-columns: 1.1fr 1fr; align-items: center; gap: var(--s8); } .app-band .ph { aspect-ratio: 5 / 4; } } /* 가로 사진(앉아 스트레칭) — 인물 전신이 잘리지 않게 */

/* ---------- posts ---------- */
.posts { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.posts a { display: grid; gap: 6px; padding: var(--s5) 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.posts h3 { font-size: 1.3125rem; font-weight: 800; letter-spacing: -0.025em; line-height: 1.4; }
.posts p { margin: 0; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.6; }
.posts .lab { font-size: .75rem; }
.posts a:hover h3 { box-shadow: inset 0 -.45em 0 var(--volt); display: inline; }
@media (min-width: 900px) { .posts { grid-template-columns: repeat(2, 1fr); column-gap: var(--s7); } .posts a { padding: var(--s6) 0; } }

/* ---------- foot ---------- */
.foot { background: var(--mist); margin-top: var(--s8); }
.foot .wrap { padding-top: var(--s7); padding-bottom: var(--s6); display: grid; gap: var(--s6); }
.foot .logo { font-size: 1.625rem; }
.foot .brand-ko { font-weight: 700; color: var(--ink-2); margin-top: var(--s2); font-size: 1rem; }
.foot nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px var(--s5); font-size: 1rem; font-weight: 600; }
.foot nav a { text-decoration: none; padding: 6px 0; }
.fine-wrap { border-top: 1px solid var(--line); padding-top: var(--s4); display: grid; gap: 6px; }
.fine { font-size: .9375rem; color: var(--ink-2); line-height: 1.6; margin: 0; }
@media (min-width: 900px) { .foot .wrap { grid-template-columns: 1fr 1.4fr; } .foot nav { grid-template-columns: repeat(3, auto); justify-content: end; } .fine-wrap { grid-column: 1 / -1; } }

/* ---------- article ---------- */
.art-head { padding: var(--s6) 0 var(--s6); border-bottom: 2px solid var(--ink); }
.crumb { display: inline-flex; gap: 8px; align-items: center; font-size: .9375rem; font-weight: 700; }
.crumb a { text-decoration: none; background: var(--volt); padding: 4px 10px; border-radius: 3px; }
.art-head h1 { font-size: clamp(2rem, 6.4vw, 3.75rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.16; margin: var(--s4) 0 var(--s4); max-width: 18em; }
.meta { display: flex; flex-wrap: wrap; gap: var(--s5); font-size: .9375rem; color: var(--ink-2); font-weight: 600; }
.meta b { color: var(--ink); font-weight: 750; }
.art-grid { display: grid; gap: var(--s7); padding-top: var(--s6); }
.prose { max-width: 36em; }
.prose .lead { font-size: 1.375rem; line-height: 1.6; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 var(--s6); }
.prose h2 { display: block; grid-template-columns: auto 1fr; gap: var(--s4); align-items: baseline; font-size: 1.625rem; font-weight: 850; letter-spacing: -0.03em; line-height: 1.3; margin: var(--s7) 0 var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); }
.prose h2.n { display: grid; }
.prose h2 .num { font-size: 2.75rem; font-weight: 800; font-stretch: 80%; line-height: .9; background: var(--volt); padding: 4px 10px 2px; border-radius: 3px; }
.prose p { margin: 0 0 1.1em; }
.prose ul { padding: 0; margin: 0 0 1.2em; list-style: none; display: grid; gap: var(--s3); }
.prose ul li { padding-left: 22px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; background: var(--volt); box-shadow: 0 0 0 1.5px var(--ink); }
.today-one { margin: var(--s7) 0; padding: var(--s5); background: var(--mist); border-left: 8px solid var(--volt); border-radius: 0 var(--r-m) var(--r-m) 0; }
.today-one h3 { font-size: 1.375rem; font-weight: 850; margin-bottom: var(--s2); }
.today-one p { margin: 0; }
.sources { margin-top: var(--s7); border-top: 2px solid var(--ink); padding-top: var(--s4); }
.sources h2 { font-size: 1.25rem; font-weight: 850; margin-bottom: var(--s3); border: 0; padding: 0; display: block; }
.sources ol { margin: 0; padding-left: 1.6em; font-size: 1rem; line-height: 1.6; display: grid; gap: 10px; }
.sources ol li { padding-left: 4px; }
.sources a { font-weight: 650; text-underline-offset: 3px; }
.sources small { color: var(--ink-2); white-space: nowrap; }
.aside { display: grid; gap: var(--s5); align-content: start; }
.aside .rec h3 { font-size: 1.25rem; font-weight: 850; margin: var(--s2) 0 var(--s4); line-height: 1.35; }
.aside .rec .btn { width: 100%; }
.aside .rel h3 { font-size: 1rem; font-weight: 800; margin-bottom: var(--s2); }
.aside .rel a { display: block; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 1.0625rem; line-height: 1.45; }
@media (min-width: 900px) {
  .art-head { padding: var(--s8) 0 var(--s6); }
  .art-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s8); }
  .aside { position: sticky; top: 96px; }
}


/* ---------- 운영 보강(시안 밖) ---------- */
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 30; background: var(--paper); padding: 10px 14px; border: 2px solid var(--ink); }
[hidden] { display: none !important; }
.rec-empty { font-size: 1.375rem; font-weight: 850; letter-spacing: -0.02em; line-height: 1.3; margin: 6px 0 0; }
.foot .fine a { font-weight: 650; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; min-height: 0; }
.fine.links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; }
.fine.links a, .fine.links .linklike { display: inline-flex; align-items: center; min-height: 48px; }
.disclosure { background: var(--mist); border-left: 6px solid var(--volt); padding: 12px 16px; font-size: 1rem; margin: var(--s4) 0 0; border-radius: 0 var(--r-s) var(--r-s) 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 1rem; margin: 0 0 1.2em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--mist); }
.prose h3 { font-size: 1.25rem; font-weight: 850; margin: var(--s6) 0 var(--s3); }
.prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose a { text-underline-offset: 3px; }
.list-head { padding-bottom: var(--s5); }
.list-head .lead { font-size: 1.25rem; color: var(--ink-2); font-weight: 500; margin: 0; max-width: 32em; }
.list-body { padding-top: var(--s6); }
.list-band { display: grid; gap: var(--s4); background: var(--volt); border-radius: var(--r-m); padding: var(--s5); margin-bottom: var(--s6); }
.list-band p { margin: 0; font-weight: 600; max-width: 34em; }
.list-band .btn { background: var(--ink); color: var(--paper); border-color: var(--ink); justify-self: start; }
.empty { color: var(--ink-2); padding: var(--s5) 0; }
.page { padding-top: var(--s6); padding-bottom: var(--s6); }
.page.prose h1 { font-size: clamp(2rem, 6vw, 3rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.16; margin: 0 0 var(--s5); }
.page.prose h2 { display: block; }
.consent { position: fixed; left: 0; right: 0; bottom: 0; background: var(--paper); border-top: 2px solid var(--ink); padding: var(--s4) 0; z-index: 20; box-shadow: var(--shadow); }
.consent p { margin: 6px 0; font-size: 1rem; }
.consent .btn, .consent .btn-ghost { min-height: 48px; }
.consent.consent-inline { position: static; box-shadow: none; border-top: 0; border-bottom: 2px solid var(--ink); background: var(--mist); } /* 루틴 앱: 단추를 가리지 않게 흐름 속 */
.week .is-today small { color: var(--ink); font-weight: 800; }

/* ---------- language switch (KO / EN) — quiet, right side of the header ---------- */
.lang { display: flex; align-items: center; margin-left: auto; font-family: var(--f-num); font-size: .8125rem; font-weight: 700; font-stretch: 112%; letter-spacing: .06em; }
.lang a, .lang span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 7px; color: var(--ink-2); text-decoration: none; }
.lang a + span, .lang span + a, .lang a + a { border-left: 1px solid var(--line); min-height: 14px; }
.lang [aria-current] { color: var(--ink); }
.lang a:hover { color: var(--ink); box-shadow: inset 0 -2px 0 var(--volt); }
.lang + .fs { margin-left: 0; }
/* 좁은 화면: 로고·KO|EN·Aa·메뉴 단추가 한 줄에 들어가게(가로 넘침 없음) */
@media (max-width: 1079px) { .top .wrap:has(.lang) { gap: var(--s2); } .lang a, .lang span { padding: 0 6px; } }
/* 폰: 현재 언어 표시는 빼고 다른 언어 링크 하나만(조용히) */
@media (max-width: 479px) { .lang [aria-current] { display: none; } .lang a, .lang span + a { border-left: 0; min-width: 40px; justify-content: center; } }
@media (max-width: 359px) { .top .wrap:has(.lang) { gap: 4px; } .top .logo { font-size: .9375rem; } .top .fs { width: 44px; height: 44px; } }
@media (min-width: 1080px) { .lang { margin-left: var(--s2); } }

/* ---------- English (/en/) — design A English edition (a-en/style.css), Latin type re-tuned ---------- */
html:lang(en) { --f-ko: "Archivo", "Pretendard Variable", Pretendard, system-ui, -apple-system, "Segoe UI", sans-serif; --lh-body: 1.55; }
html:lang(en) body { font-weight: 400; letter-spacing: 0; word-break: normal; overflow-wrap: normal; hyphens: manual; font-stretch: 100%; }
html:lang(en) :is(h1, h2, h3, h4, p, li, a, span, div) { word-break: normal; }
html:lang(en) :is(p, li, .sess p, .posts p) { text-wrap: pretty; hyphens: manual; }
html:lang(en) :is(h1, h2, h3, .card, .read a, .aside .rel a, .posts h3) { text-wrap: balance; }
html:lang(en) .hero h1 { font-weight: 800; font-stretch: 88%; letter-spacing: -0.022em; word-spacing: .06em; line-height: .98; font-size: clamp(3rem, 12vw, 6rem); }
html:lang(en) .hero .sub { font-weight: 400; letter-spacing: 0; line-height: 1.5; }
html:lang(en) :is(.sec-head h2, .app-band h2, .art-head h1, .app-title h1, .done-hero h1, .step-name) { font-weight: 800; font-stretch: 92%; letter-spacing: -0.018em; word-spacing: .04em; }
html:lang(en) .app-band h2 { line-height: 1.02; }
html:lang(en) .art-head h1 { line-height: 1.06; letter-spacing: -0.03em; }
html:lang(en) .step-name { line-height: 1.02; }
html:lang(en) :is(.sess h3, .posts h3, .card, .plan h2, .today-one h3, .sources h2, .read h2, .aside .rel h3, .aside .rec h3, .prose h2) { font-weight: 700; letter-spacing: -0.012em; font-stretch: 96%; }
html:lang(en) .posts h3 { line-height: 1.3; }
html:lang(en) .card { font-size: 1.25rem; }
@media (min-width: 900px) { html:lang(en) .card { font-size: 1.4375rem; } }
html:lang(en) .prose .lead { font-weight: 500; letter-spacing: -0.008em; line-height: 1.5; }
html:lang(en) :is(.prose p, .prose li) { line-height: 1.6; }
html:lang(en) .prose { max-width: 34em; }
html:lang(en) :is(.sess p, .posts p, .app-band p, .step-text, .done-body .msg, .note) { letter-spacing: 0; }
html:lang(en) :is(.step-text, .done-body .msg, .app-band p) { font-weight: 500; }
html:lang(en) :is(.btn, .btn-ghost, .rbtn) { font-weight: 700; letter-spacing: -0.005em; }
html:lang(en) .nav a { font-weight: 600; }
@media (min-width: 1080px) { html:lang(en) .nav { gap: 22px; font-size: .9375rem; } }
html:lang(en) .chip span { font-family: var(--f-num); font-stretch: 112%; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
html:lang(en) .lab { letter-spacing: .09em; }
html:lang(en) .streak .u { font-weight: 700; font-stretch: 96%; letter-spacing: -0.01em; }
html:lang(en) :is(.rec .stats3 small, .facts small, .legend, .meta, .crumb) { letter-spacing: 0; }
html:lang(en) .sources small { white-space: nowrap; }
html:lang(en) .foot .brand-ko { font-weight: 600; }
html:lang(en) .rec .stats3 { column-gap: 16px; }
/* Korean text inside English pages (e.g. a Korean source title) keeps Pretendard */
html:lang(en) :not(.lang) > [lang="ko"] { font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", system-ui, sans-serif; word-break: keep-all; }
/* four menu cards (en) = one row of four instead of 3 + 1 */
@media (min-width: 900px) { html:lang(en) .cards:has(> .card:nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); } }
html:lang(en) .sess .stats .lab { letter-spacing: .04em; }
/* 출처 각주(발주 8): 본문 흐름을 끊지 않는 작은 위첨자. line-height 0 이라 Aa 로 커져도 줄 간격 그대로, 누르는 영역은 패딩으로 넓힌다 */
.prose sup.fn { font-size: .68em; line-height: 0; vertical-align: super; }
.prose sup.fn a { color: var(--ink-2); text-decoration: none; font-weight: 650; font-variant-numeric: tabular-nums; padding: 10px 4px; margin: -10px -4px -10px -2px; }
.prose sup.fn a:hover, .prose sup.fn a:focus-visible { color: var(--ink); text-decoration: underline; }
.prose sup.fn + sup.fn::before { content: ","; color: var(--ink-2); margin-right: 1px; }
.sources li:target { background: var(--volt); border-radius: 4px; box-shadow: 0 0 0 4px var(--volt); }
html { scroll-padding-top: 96px; }
/* 휴식 코치 켜짐 표시(F절) — 상단 줄 아래 얇은 한 줄, 켜져 있을 때만 */
.cbar { border-top: 1px solid var(--line); background: var(--volt); }
.top .cbar .wrap { display: flex; height: auto; min-height: 0; } /* .top .wrap(64px) 을 덮어쓴다 */
.cbar-b { background: none; border: 0; padding: 7px 0; font: inherit; font-size: .875rem; font-weight: 750; color: var(--ink); cursor: pointer; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; min-height: 32px; }
.cbar-b::after { content: " ›"; }
.cb-sheet { position: fixed; inset: 0; z-index: 90; background: rgba(20, 24, 28, .35); display: flex; align-items: flex-end; justify-content: center; }
.cb-box { position: relative; background: #fff; width: 100%; max-width: 560px; border-radius: 16px 16px 0 0; padding: var(--s5) var(--s5) calc(var(--s5) + env(safe-area-inset-bottom)); display: grid; gap: var(--s3); }
.cb-box > b { font-size: 1.25rem; } .cb-box p { margin: 0; color: var(--ink-2); }
.cb-btns { display: grid; gap: var(--s3); } .cb-btns > * { width: 100%; justify-content: center; }
.cb-edit { font-weight: 700; } .cb-x { position: absolute; top: 10px; right: 12px; background: none; border: 0; font: inherit; color: var(--ink-2); text-decoration: underline; cursor: pointer; padding: 8px; }
.cb-toast { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 95; background: #111; color: #fff; padding: 10px 14px; border-radius: 10px; display: flex; gap: 12px; align-items: center; font-size: .9375rem; }
.cb-undo { background: none; border: 0; color: var(--volt); font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; padding: 4px; }
