/* Classic Webzine brand guide v4.3 (memo: classic-webzine-brand-guide; source files in img/brand/).
   Black and white with lots of space; Signal red once per block. Small text and buttons use
   Signal Deep (AA contrast); plain Signal is only for decoration and large text. */
:root {
  /* Brand colors (fixed) */
  --ink: #111111; --paper: #FFFFFF; --signal: #F0442C; --signal-deep: #D93A1E;
  --serif: "Nanum Myeongjo", serif;   /* headings: the Korean logo font (decided 2026.11.17) */
  --num: "Bodoni Moda", serif;        /* numbers, dates, issue marks: the English logo font */
  --sans: "Pretendard", -apple-system, "Malgun Gothic", sans-serif;

  /* Theme roles: light (default) */
  color-scheme: light;
  --bg: #FFFFFF;          /* page background (Paper) */
  --fg: #111111;          /* main text, lines (Ink) */
  --ink-soft: #6B6B70;    /* captions, secondary text */
  --line: #D9D9DC;        /* hairlines */
  --surface: #FFFFFF;     /* cards, boxes */
  --surface-alt: #F6F6F7; /* tinted section (archive) */
  --field: #FAFAFA;       /* textarea fill */
  --ad-fill: #F6F6F7; --ad-line: #B5B5BA;
  --band: #111111;        /* dark bands: ticker, sign-up, alert, footer */
  --on-band: #FFFFFF;
  --band-soft: #A1A1A6;   /* secondary text on a band */
  --band-line: #333336;   /* hairlines on a band */
  --accent: #D93A1E;      /* small accent text, links, labels (Signal Deep) */
  --mark: #F0442C;        /* decoration only: dots, bars, large text (Signal) */
  --btn: #D93A1E;         /* solid buttons */
  --btn-hover: #B8301A;
  --menubar: #4A4A4E;     /* grey menu bar under the logo */
  --tint: #FDE8E4; --tint-ink: #A52A17;  /* tags */
  --ph-a: #F1F1F2; --ph-b: #E7E7E9;      /* photo placeholder hatch */
  --sun: #D93A1E;         /* Sundays on the calendar */
  /* Older names still used by a few rules */
  --rose: var(--accent); --sage: var(--accent); --brass: var(--mark); --plum: var(--ink); --ivory: var(--paper);
}
/* Dark mode colors from the guide (p.8) */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111111;
  --fg: #F2F2F2;
  --ink-soft: #A1A1A6;
  --line: #333336;
  --surface: #1C1C1E;
  --surface-alt: #18181A;
  --field: #1C1C1E;
  --ad-fill: #1C1C1E; --ad-line: #4A4A4F;
  --band: #1C1C1E;
  --on-band: #F2F2F2;
  --band-soft: #A1A1A6;
  --band-line: #333336;
  --accent: #FF8A73;
  --tint: rgba(255, 138, 115, 0.14); --tint-ink: #FF8A73;
  --ph-a: #1C1C1E; --ph-b: #232326;
  --sun: #FF8A73;
  --menubar: #232326;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* Body 18px (17px on phones), line height 1.75; Korean breaks between words */
body { background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 18px; line-height: 1.75; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
@media (max-width: 760px) { body { font-size: 17px; } }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
/* Keyboard focus: 2px outline with a 2px gap */
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.eyebrow { font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
/* Section heads, newspaper style: a thick rule above, the title, the link on the right */
.sec-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 3px solid var(--fg); padding-top: 10px; margin-bottom: 4px; }
.sec-bar h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(22px, 2.4vw, 26px); line-height: 1.35; letter-spacing: -0.03em; }
.sec-bar a { flex: none; font-size: 14px; color: var(--accent); }
.sec-bar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn { display: inline-block; padding: 12px 22px; font-size: 15px; font-weight: 600; line-height: 1.4; border: 1px solid var(--fg); border-radius: 0; cursor: pointer; font-family: inherit; background: none; color: var(--fg); }
.btn:hover { background: var(--fg); color: var(--bg); }
.btn-solid { background: var(--btn); border-color: var(--btn); color: #FFFFFF; }
.btn-solid:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: #FFFFFF; }

/* Header (design C, 2026.11.17; reference: Bachtrack): logo + today's date on the first row,
   a grey menu bar under it with 검색 · 구독. The full English logo is 300px on desktop, 190px
   below 1100px (owner's decision 2026.11.14: the wordmark alone lost "WEBZINE"; the wordmark
   files stay in the HTML, unused). Only phones keep the header pinned. */
header { background: var(--bg); }
.mast-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; padding-top: 24px; padding-bottom: 18px; }
.logo { display: block; flex: none; }
.logo img { display: none; height: auto; }
.logo .logo-full { width: 300px; }
.logo .logo-mark { width: 160px; }
.logo .logo-full.on-light { display: block; }
:root[data-theme="dark"] .logo .logo-full.on-light { display: none; }
:root[data-theme="dark"] .logo .logo-full.on-dark { display: block; }
.mast-side { display: flex; align-items: flex-end; gap: 18px; margin-left: auto; }
.edition { text-align: right; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.edition b { display: block; font-family: var(--num); font-weight: 400; font-size: 22px; color: var(--fg); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle, .menu-toggle { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 0; background: none; color: var(--fg); cursor: pointer; }
.theme-toggle:hover, .menu-toggle:hover { border-color: var(--fg); }
.theme-toggle svg, .menu-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.menu-toggle { display: none; }
.menu-toggle .icon-close { display: none; }
header.menu-open .menu-toggle .icon-close { display: block; }
header.menu-open .menu-toggle .icon-open { display: none; }

.menubar { background: var(--menubar); color: #FFFFFF; }
.menubar-in { display: flex; align-items: center; gap: 0 24px; min-height: 50px; }
.menu { display: flex; flex-wrap: wrap; gap: 0 28px; font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.menu a { display: block; line-height: 50px; }
.menu a:hover { color: #FFB3A6; }
.menu a.on { box-shadow: inset 0 -3px 0 var(--mark); }
.menubar-r { display: flex; align-items: center; gap: 18px; margin-left: auto; font-size: 15px; font-weight: 500; }
.menubar-r a:hover { text-decoration: underline; text-underline-offset: 4px; }
.menubar-r .sub { background: var(--btn); padding: 0 18px; line-height: 50px; font-weight: 600; }
.menubar-r .sub:hover { background: var(--btn-hover); text-decoration: none; }
@media (max-width: 1099px) {
  .logo .logo-full { width: 190px; }
  .edition b { font-size: 18px; }
  .menu { gap: 0 18px; font-size: 14px; }
}
@media (max-width: 900px) { .edition { display: none; } }
/* Small phones (360px wide): 160px so the logo and the buttons stay on one row */
@media (max-width: 400px) { .logo .logo-full { width: 160px; } }
/* Phone: logo + menu button; the grey bar opens as a list under the logo row */
@media (max-width: 760px) {
  header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--fg); }
  .mast-row { align-items: center; padding-top: 12px; padding-bottom: 12px; }
  .menu-toggle { display: grid; }
  .menubar { display: none; }
  header.menu-open .menubar { display: block; }
  .menubar-in { flex-direction: column; align-items: stretch; padding-bottom: 8px; }
  .menu { flex-direction: column; gap: 0; font-size: 16px; }
  .menu a { line-height: 1.5; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
  .menu a.on { box-shadow: none; color: #FFB3A6; }
  .menubar-r { margin: 10px 0 0; justify-content: space-between; }
  .menubar-r .sub { line-height: 40px; }
}

/* Top stories ticker */
.ticker { background: var(--band); color: var(--on-band); }
.ticker .wrap { display: flex; align-items: center; gap: 16px; height: 48px; overflow: hidden; }
.ticker .label { flex: none; font-family: var(--sans); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; color: var(--mark); border-right: 1px solid var(--band-line); padding-right: 16px; }
.ticker ul { display: flex; gap: 28px; list-style: none; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.ticker li { font-size: 15px; }
.ticker li::before { content: "· "; color: var(--band-soft); }
.ticker a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Site search (main page, right sidebar beside the news; js/site-search.js) */
.layout.news-layout { padding-top: 0; }
@media (max-width: 959px) { .news-layout > .side { order: -1; } }   /* phones: search above the news */
.ss-box { position: relative; }
.ss-box svg { position: absolute; left: 13px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-soft); pointer-events: none; }
.ss-box input { width: 100%; font: inherit; font-size: 16px; padding: 11px 40px 11px 40px; border: 1px solid var(--fg); border-radius: 0; background: var(--surface); color: var(--fg); -webkit-appearance: none; appearance: none; }
.ss-box input::placeholder { color: var(--ink-soft); }
.ss-box input:focus { outline: 2px solid var(--fg); outline-offset: 2px; }
.ss-box input::-webkit-search-cancel-button, .ss-box input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.ss-clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; background: none; color: var(--ink-soft); font-size: 20px; line-height: 1; cursor: pointer; border-radius: 0; }
.ss-clear:hover { color: var(--fg); }
.ss-hint { margin-top: 6px; font-size: 13px; color: var(--ink-soft); }
.ss-results { margin-top: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 0; background: var(--surface); }
.ss-count, .ss-empty { font-size: 14px; color: var(--ink-soft); }
.ss-groups { display: grid; gap: 18px; margin-top: 8px; }
.ss-group h3 { font-family: var(--sans); font-size: 14px; font-weight: 700; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.ss-group h3 span { color: var(--ink-soft); font-weight: 600; margin-left: 4px; }
.ss-group ul { list-style: none; }
.ss-group li { border-bottom: 1px solid var(--line); }
.ss-group li a { display: block; padding: 8px 0; }
.ss-group li b { display: block; font-weight: 600; font-size: 15px; line-height: 1.5; }
.ss-group li a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.ss-meta, .ss-why { display: block; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.ss-more { display: inline-block; margin-top: 8px; font-size: 14px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.ticker .tk-time { font-variant-numeric: tabular-nums; font-weight: 600; }
.ticker .tk-venue { color: var(--band-soft); font-size: 14px; }

/* Layout */
.layout { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); padding-top: 28px; padding-bottom: 8px; }
.side { display: grid; gap: 28px; align-content: start; }
@media (min-width: 960px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; } }

/* Discover (largest) */
.discover h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 4.6vw, 46px); line-height: 1.3; margin: 10px 0 6px; }
.discover .lede { font-size: 17px; color: var(--ink-soft); margin-bottom: 18px; }
.row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.row .thumb { aspect-ratio: 1 / 1; }
.row .date { font-family: var(--sans); font-weight: 600; font-size: 14px; color: var(--fg); }
#kopisList .row { grid-template-columns: 64px 1fr; gap: 14px; padding: 14px 0; align-items: center; }
#kopisList .row .date { font-size: 14px; }
#kopisList .row h3 { font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.4; margin-top: 2px; }
#kopisList .row .meta { font-size: 14px; margin-top: 2px; }
#kopisList .row .tag { margin-top: 6px; }
#kopisList .row[hidden] { display: none; }
/* Each show links to its venue's website */
#kopisList a.row { color: inherit; }
#kopisList a.row:hover h3, #kopisList a.row:focus-visible h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
#kopisList .row .go { margin-left: 8px; font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
#kopisList a.row:hover .go { color: var(--accent); }
.row h3 { font-size: 18px; font-weight: 600; line-height: 1.45; margin-top: 2px; }
.row .meta { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
/* Tags and categories are told apart by their words, not by color */
.tag { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 500; line-height: 1.6; color: var(--tint-ink); background: var(--tint); padding: 0 10px; border-radius: 0; }
.sample { font-size: 14px; color: var(--ink-soft); margin-top: 10px; }
/* Article difficulty (입문 · 깊이 읽기, decided 2026.11.19): words in a thin box */
.lv { display: inline-block; margin-left: 6px; padding: 0 6px; border: 1px solid currentColor; border-radius: 0; font-family: var(--sans); font-size: 13px; font-weight: 600; line-height: 1.5; color: var(--accent); vertical-align: 1px; }

/* Photo placeholders: plain gray hatch, square corners */
.ph { position: relative; overflow: hidden; background: repeating-linear-gradient(135deg, var(--ph-a) 0 10px, var(--ph-b) 10px 20px); }
.ph svg { display: none; }

/* News list */
/* Main page news: a text list (Naver news has no photos), two columns from 640px */
.news .cat { font-family: var(--sans); font-weight: 600; font-size: 14px; color: var(--accent); }
#news .news { display: grid; gap: 0 48px; grid-template-columns: 1fr; border-top: 0; }
.nl-row { display: block; padding: 14px 0 15px; border-bottom: 1px solid var(--line); }
.nl-row h3 { margin-top: 2px; font-family: var(--serif); font-size: 19px; font-weight: 700; line-height: 1.45; }
.nl-row .meta { margin-top: 4px; font-size: 14px; color: var(--ink-soft); }
@media (min-width: 640px) { #news .news { grid-template-columns: repeat(2, 1fr); } }
.nl-row:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* Ad (labeled) */
.adbox { border: 1px dashed var(--ad-line); background: var(--surface); padding: 14px; text-align: center; }
.adbox .lbl { font-size: 13px; letter-spacing: 0.12em; color: var(--ink-soft); }
.adbox .size { height: 250px; margin-top: 8px; display: grid; place-items: center; font-size: 14px; color: var(--ink-soft); background: var(--ad-fill); }
.adbox.inline { padding: 12px 16px; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.adbox.inline .size { display: none; }

/* Sidebar */
.rank ol { list-style: none; counter-reset: r; }
.rank li { counter-increment: r; display: grid; grid-template-columns: 30px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.rank li::before { content: counter(r); font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--ink-soft); line-height: 1.2; }
.rank li:nth-child(-n+3)::before { color: var(--fg); }
.rank .sub { font-size: 14px; color: var(--ink-soft); }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 0; padding: 20px; }
.box h4 { font-family: var(--serif); font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.box .mini { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.box .mini:last-child { border-bottom: 0; }
.box .mini b { display: block; font-weight: 600; font-size: 16px; color: var(--fg); }
.box .mini .d { font-weight: 600; color: var(--fg); font-size: 14px; }
.alert { background: var(--band); color: var(--on-band); border-radius: 0; padding: 22px; }
.alert h4 { font-family: var(--serif); font-weight: 700; font-size: 20px; }
.alert p { font-size: 15px; color: var(--band-soft); margin: 8px 0 16px; }
.alert .btn { border-color: var(--btn); background: var(--btn); color: #FFFFFF; }
.alert .btn:hover { border-color: var(--btn-hover); background: var(--btn-hover); }

/* Full-width sections */
.full { padding: 48px 0; }
.article-list { display: grid; gap: 0; }
.article-list .row { grid-template-columns: 1fr; }
@media (min-width: 640px) { .article-list .row { grid-template-columns: 180px 1fr; } }
.article-list .row .thumb { aspect-ratio: 3 / 2; }
.art .cat { font-family: var(--sans); font-weight: 600; font-size: 14px; color: var(--accent); }
.art h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.4; margin-top: 4px; }
.art a:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.art .meta { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }
.archive-wrap { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
.archive-wrap ul { list-style: none; margin-top: 16px; display: grid; gap: 10px; font-size: 17px; }
.archive-wrap li::before { content: "— "; color: var(--ink-soft); }
.ticket { background: var(--surface); border: 1px solid var(--line); border-radius: 0; padding: 26px; }
.ticket .top { display: flex; justify-content: space-between; font-family: var(--sans); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; color: var(--ink-soft); }
.ticket h5 { font-family: var(--serif); font-weight: 700; font-size: 22px; margin: 18px 0 6px; }
.ticket p { font-size: 15px; color: var(--ink-soft); }
.chip { display: inline-block; margin: 14px 6px 0 0; font-size: 14px; color: var(--tint-ink); background: var(--tint); padding: 2px 10px; border-radius: 0; }
.archive { background: var(--surface-alt); }
@media (min-width: 860px) { .archive-wrap { grid-template-columns: 1fr 1fr; } }
.feed { display: grid; gap: 12px; }
.post { background: var(--surface); border: 1px solid var(--line); border-radius: 0; padding: 18px 20px; font-size: 16px; }
.post .who { font-size: 14px; color: var(--ink-soft); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.post .who span:last-child { color: var(--accent); font-weight: 600; }
.post p { margin-top: 6px; }
@media (min-width: 760px) { .feed { grid-template-columns: repeat(2, 1fr); } }

/* Sign-up band, composer, ticket maker */
.signup-band { background: var(--band); color: var(--on-band); }
.signup-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.signup-band p { font-family: var(--serif); font-weight: 600; font-size: 20px; }
.signup-band .btn { border-color: var(--btn); background: var(--btn); color: #FFFFFF; padding: 10px 20px; }
.signup-band .btn:hover { border-color: var(--btn-hover); background: var(--btn-hover); }
.composer { background: var(--surface); border: 1px solid var(--line); border-radius: 0; padding: 16px; }
.composer textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px; border: 1px solid var(--line); border-radius: 0; background: var(--field); color: var(--fg); resize: none; }
.gate { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-size: 14px; color: var(--ink-soft); }
.gate[hidden] { display: none; }
.composer .gate .btn { padding: 8px 16px; font-size: 14px; }
.ticket-maker { background: var(--bg); border: 1px solid var(--line); border-radius: 0; padding: 26px; }
.ticket-maker .form-title { font-family: var(--serif); font-weight: 700; font-size: 20px; margin-bottom: 14px; }
.ticket-maker form { display: grid; gap: 14px; }
/* Input labels stay visible above every field */
.ticket-maker label { display: grid; gap: 4px; font-size: 14px; font-weight: 500; color: var(--fg); }
.ticket-maker input, .ticket-maker textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 0; background: var(--surface); color: var(--fg); }
.ticket-maker form .btn { justify-self: start; }
.ticket-maker .ticket { margin-top: 18px; }
.ticket-maker .ticket[hidden] { display: none; }
.ticket-maker .gate { margin-top: 16px; }
.ticket-maker .gate .btn { padding: 8px 16px; font-size: 14px; }

/* Career: column board + columnist profile */
.career-grid { display: grid; gap: 40px; grid-template-columns: 1fr; margin-top: 14px; }
.career-grid > div { min-width: 0; }
.column-list { list-style: none; }
.column-list li { border-bottom: 1px solid var(--line); }
.column-list a { display: block; padding: 16px 0; }
.column-list .cat { font-family: var(--sans); font-weight: 600; font-size: 14px; color: var(--accent); }
.column-list h3 { font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.45; margin-top: 4px; }
.column-list a:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.column-list .meta { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
.career .gate { margin-top: 16px; }
.career .gate .btn { padding: 8px 16px; font-size: 14px; }
.ticket-maker select { font: inherit; font-weight: 400; font-size: 16px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 0; background: var(--surface); color: var(--fg); }
.ticket-maker .consent { display: flex; flex-direction: row; align-items: flex-start; gap: 8px; font-size: 14px; font-weight: 400; }
.ticket-maker .consent input { margin-top: 5px; }
@media (min-width: 860px) { .career-grid { grid-template-columns: 1fr 1fr; } }

/* Newsletter */
.letter { text-align: center; padding: 56px 0; border-top: 1px solid var(--line); }
.letter form { margin: 20px auto 0; max-width: 480px; display: flex; flex-direction: column; gap: 10px; }
.letter input { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--fg); border-radius: 0; background: var(--surface); color: var(--fg); }
.letter small { display: block; margin-top: 12px; font-size: 14px; color: var(--ink-soft); }
@media (min-width: 560px) { .letter form { flex-direction: row; } .letter input { flex: 1; } }

/* Footer: reversed logo on Ink */
footer { background: var(--band); color: var(--band-soft); padding: 56px 0 36px; font-size: 15px; }
footer .foot-logo { width: 320px; max-width: 100%; height: auto; }
footer .slogan { margin: 14px 0 36px; font-size: 15px; color: var(--band-soft); }
footer .cols { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
footer h6 { font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: 0.1em; color: var(--on-band); margin-bottom: 8px; }
footer a { display: block; margin: 4px 0; }
footer a:hover { color: var(--on-band); text-decoration: underline; text-underline-offset: 3px; }
footer .bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--band-line); font-size: 14px; color: var(--band-soft); }
footer :focus-visible { outline-color: var(--on-band); }
@media (min-width: 760px) { footer .cols { grid-template-columns: repeat(4, 1fr); } }

/* Former inline styles */
.sec-tight { padding-top: 32px; }
#archive { padding-top: 48px; }
.title-serif { font-family: var(--serif); font-weight: 700; font-size: clamp(26px, 3.6vw, 32px); line-height: 1.35; margin-top: 8px; }
.archive-cta { margin-top: 26px; }
#salon .feed { margin-top: 14px; }
.source { font-size: 14px; color: var(--ink-soft); margin-top: 12px; }
.source a { text-decoration: underline; text-underline-offset: 3px; }
.source[hidden] { display: none; }
.letter h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(24px, 3vw, 32px); margin-top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.more-btn { width: 100%; margin-top: 16px; }
.more-btn[hidden] { display: none; }

/* Region filter for the performance list */
.region-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 6px; }
.region-chip { font: inherit; font-size: 15px; padding: 5px 14px; border: 1px solid var(--line); border-radius: 0; background: none; color: var(--fg); cursor: pointer; }
.region-chip:hover { border-color: var(--fg); }
.region-chip .n { margin-left: 4px; font-size: 13px; color: var(--ink-soft); }
.region-chip.empty { color: var(--ink-soft); }
.region-chip[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.region-chip[aria-pressed="true"] .n { color: inherit; opacity: 0.7; }
.region-empty { padding: 28px 0; text-align: center; font-size: 16px; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.region-empty[hidden] { display: none; }
/* Search box for the performance list */
.d-search { position: relative; margin: 14px 0 0; }
.d-search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-soft); pointer-events: none; }
.d-search input { width: 100%; font: inherit; font-size: 16px; padding: 13px 40px 13px 42px; border: 1px solid var(--fg); border-radius: 0; background: var(--surface); color: var(--fg); -webkit-appearance: none; appearance: none; }
.d-search input::placeholder { color: var(--ink-soft); }
.d-search input:focus { outline: 2px solid var(--fg); outline-offset: 2px; }
.d-search input::-webkit-search-cancel-button, .d-search input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.d-clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; background: none; color: var(--ink-soft); font-size: 22px; line-height: 1; cursor: pointer; }
.d-clear:hover { color: var(--fg); }
.d-clear[hidden] { display: none; }
.d-search-status { margin: 6px 0 0; min-height: 18px; font-size: 14px; color: var(--ink-soft); }
.d-search-status.on { color: var(--fg); }
/* Why a show matched, when its title does not say so */
#kopisList .row .why { margin-top: 4px; font-size: 14px; color: var(--accent); }
#kopisList .row .why[hidden] { display: none; }

/* Each show: the row link, with its 캘린더 button beside it (a button cannot sit inside a link) */
#kopisList .row-item { position: relative; }
#kopisList .row-item[hidden] { display: none; }
.ics-btn { position: absolute; right: 0; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 0; background: var(--surface); color: var(--ink-soft); font: inherit; font-size: 14px; cursor: pointer; }
.ics-btn svg { width: 15px; height: 15px; }
.ics-btn:hover, .ics-btn[aria-expanded="true"] { border-color: var(--fg); color: var(--fg); }
.ics-menu { position: fixed; z-index: 50; width: 248px; box-sizing: border-box; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 0; box-shadow: 0 8px 24px rgba(17, 17, 17, 0.16); }
.ics-menu[hidden] { display: none; }
.ics-title { margin: 0; font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--fg); }
.ics-note { margin: 0; font-size: 14px; color: var(--ink-soft); }
.ics-times { display: flex; flex-wrap: wrap; gap: 6px; }
.ics-times button { height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 0; background: var(--bg); color: var(--fg); font: inherit; font-size: 13px; cursor: pointer; }
.ics-times button[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.ics-act { display: block; box-sizing: border-box; width: 100%; padding: 10px 12px; border: 1px solid var(--fg); border-radius: 0; background: none; color: var(--fg); font: inherit; font-size: 14px; text-align: left; text-decoration: none; cursor: pointer; }
.ics-act:hover { background: var(--fg); color: var(--bg); }

/* Reserved in-feed ad slot in the performance list. The height is fixed so that an ad that
   loads late never pushes the list; it must not look like a show (no picture, dashed frame). */
#kopisList .ad-slot { height: 110px; box-sizing: border-box; margin: 8px 0; padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; gap: 6px; overflow: hidden; border: 1px dashed var(--line); background: var(--surface); }
.ad-slot .ad-label { align-self: flex-start; padding: 0 6px; border: 1px solid var(--line); font-size: 13px; letter-spacing: 0.08em; color: var(--ink-soft); }
.ad-slot .ad-body { font-size: 14px; color: var(--ink-soft); }

/* News (js/news.js): sample mark, and the News page list */
.n-sample { display: inline-block; margin-left: 6px; padding: 0 6px; border: 1px solid var(--line); border-radius: 0; font-size: 13px; line-height: 1.6; color: var(--ink-soft); vertical-align: 1px; }
.n-cats { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 6px; }
.n-list { display: flex; flex-direction: column; }
.n-item { padding: 18px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h, 58px) + 16px); }
.n-item.n-here { background: var(--surface-alt); padding-left: 14px; padding-right: 14px; border-left: 3px solid var(--mark); }
.n-meta { margin: 0; font-size: 14px; color: var(--ink-soft); }
.n-meta .cat { font-weight: 600; color: var(--accent); }
.n-item h3 { margin-top: 4px; font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1.4; }
.n-item h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.n-sum { margin-top: 6px; font-size: 16px; color: var(--ink-soft); }
.ticker a { color: inherit; }
@media (max-width: 760px) {
  .n-cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px; }
  .n-cats::-webkit-scrollbar { display: none; }
  .n-item h3 { font-size: 20px; }
}

/* Genre buttons, under the region buttons */
.genre-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 4px; padding-top: 10px; border-top: 1px dashed var(--line); }

/* Search status line with the share button */
.d-search-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.d-search-meta .d-search-status { flex: 1; min-width: 0; }
.d-share { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 32px; margin-top: 4px; padding: 0 10px; border: 1px solid var(--line); border-radius: 0; background: var(--surface); color: var(--fg); font: inherit; font-size: 14px; cursor: pointer; }
.d-share svg { width: 15px; height: 15px; }
.d-share:hover { border-color: var(--fg); }
.d-share[hidden] { display: none; }

/* Calendar for the performance list: the month on wider screens, one week on phones */
.d-cal { margin: 12px 0 4px; }
.side .d-cal { margin: 0; }
.d-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.d-cal-title { flex: 1; text-align: center; font-family: var(--serif); font-size: 18px; font-weight: 700; }
.d-cal-nav { width: 40px; height: 40px; border: 0; background: none; color: var(--fg); font-size: 20px; cursor: pointer; }
.d-cal-nav:disabled { color: var(--line); cursor: default; }
.d-cal-toggle { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--fg); border-radius: 0; background: var(--surface); color: var(--fg); font: inherit; font-size: 14px; cursor: pointer; }
.d-cal-toggle svg { width: 16px; height: 16px; }
.d-cal-month { background: var(--surface); border: 1px solid var(--line); border-radius: 0; padding: 14px; }
.d-cal-wd { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin: 6px 0 4px; text-align: center; font-size: 13px; color: var(--ink-soft); }
.d-cal-wd .sun { color: var(--sun); }
.d-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.d-cal-cell, .d-cal-day { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border: 0; border-radius: 0; background: var(--bg); color: var(--fg); font: inherit; cursor: pointer; }
.d-cal-cell { height: 50px; }
.d-cal-cell .d { font-size: 15px; font-weight: 500; line-height: 1.1; }
.d-cal-cell .n { font-size: 12px; color: var(--ink-soft); }
.d-cal-cell.other { background: transparent; }
.d-cal-cell.other .d { color: var(--ink-soft); }
.d-cal-cell.sun .d, .d-cal-day.sun .w { color: var(--sun); }
.d-cal-cell.busy .n, .d-cal-day.busy .n { color: var(--fg); font-weight: 700; }
.d-cal-cell:disabled, .d-cal-day:disabled { background: transparent; cursor: default; }
.d-cal-cell:disabled .d, .d-cal-day:disabled .d, .d-cal-day:disabled .w { color: var(--ink-soft); opacity: 0.6; }
.d-cal-cell:not(:disabled):hover, .d-cal-day:not(:disabled):hover { outline: 1px solid var(--fg); outline-offset: -1px; }
.d-cal-cell[aria-pressed="true"], .d-cal-day[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); }
.d-cal-cell[aria-pressed="true"] .d, .d-cal-cell[aria-pressed="true"] .n,
.d-cal-day[aria-pressed="true"] .w, .d-cal-day[aria-pressed="true"] .d, .d-cal-day[aria-pressed="true"] .n { color: var(--bg); opacity: 1; }
.d-cal-cell.today::after, .d-cal-day.today::after { content: ""; position: absolute; top: 5px; right: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
.d-cal-legend { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.d-cal-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); vertical-align: middle; }
.d-cal-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.d-cal-quick button { height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 0; background: var(--surface); color: var(--fg); font: inherit; font-size: 14px; cursor: pointer; }
.d-cal-quick button:hover { border-color: var(--fg); }
.d-cal-quick button[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.d-cal-week { display: none; }
.d-cal-days { display: flex; gap: 4px; margin-top: 8px; }
.d-cal-day { flex: 1 1 0; min-width: 0; height: 68px; gap: 2px; border: 1px solid var(--line); border-radius: 0; background: var(--surface); }
.d-cal-day .w, .d-cal-day .n { font-size: 12px; color: var(--ink-soft); }
.d-cal-day .d { font-size: 18px; font-weight: 700; line-height: 1.1; }
.d-cal-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0 4px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 0; background: var(--surface); font-size: 15px; }
.d-cal-status[hidden] { display: none; }
.d-cal-status p { margin: 0; }
.d-cal-clear { height: 32px; border: 0; background: none; color: var(--ink-soft); font: inherit; font-size: 14px; cursor: pointer; }
.d-cal-clear:hover { color: var(--fg); text-decoration: underline; }

/* Phone: one swipeable row that stays pinned under the header while the list scrolls */
@media (max-width: 760px) {
  .region-filter {
    position: sticky; top: var(--header-h, 0px); z-index: 5;
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
    margin: 12px -16px 6px; padding: 8px 16px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .region-filter::-webkit-scrollbar { display: none; }
  .region-chip { flex: none; min-height: 38px; padding: 6px 14px; font-size: 15px; }
  .d-search input { font-size: 16px; }   /* 16px keeps phones from zooming in on focus */
  /* Genre buttons: one swipeable row (not pinned, unlike the region row) */
  .genre-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 8px 16px; border-top: 0; }
  .genre-filter::-webkit-scrollbar { display: none; }
  /* Calendar: one week of days; the month opens from the 달력 button; no quick buttons */
  .d-cal-week { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .d-cal-month, .d-cal-quick { display: none; }
  .d-cal.open .d-cal-month { display: block; margin-top: 8px; }
  .d-cal.open .d-cal-days, .d-cal.open .d-cal-week .d-cal-nav, .d-cal.open .d-cal-week .d-cal-title { visibility: hidden; }
  .d-cal.open .d-cal-days { display: none; }
  .d-cal-cell { height: 48px; }
}
#kopisList .thumb img { width: 100%; height: 100%; object-fit: cover; }
/* ===== Front page, design C (2026.11.17; reference: Bachtrack) =====
   Title line with the one thick left bar, then three columns separated by rules:
   today's concerts + search | lead article | today's news. Headline font: Nanum Myeongjo
   (--serif); numbers and times: Bodoni Moda (--num). Square corners, rules instead of boxes. */
.front-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 24px; margin-top: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--fg); }
.front-title h1 { border-left: 8px solid var(--fg); padding-left: 16px; font-family: var(--serif); font-weight: 800; font-size: 30px; line-height: 1.2; letter-spacing: -0.04em; }
.front-title p { font-family: var(--serif); font-size: 17px; color: var(--ink-soft); }
.front-title p b { color: var(--fg); font-weight: 700; }
.front-title p .n { font-family: var(--num); font-size: 21px; color: var(--accent); }

.front { display: grid; grid-template-columns: 260px minmax(0, 1fr) 340px; border-bottom: 3px double var(--fg); }
.front > * { padding: 24px 26px 30px; min-width: 0; }
.front > :first-child { padding-left: 0; border-right: 1px solid var(--line); }
.front > :last-child { padding-right: 0; border-left: 1px solid var(--line); }
.kick { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-bottom: 2px solid var(--fg); padding-bottom: 6px; margin-bottom: 4px; }
.kick h2 { font-family: var(--serif); font-weight: 800; font-size: 19px; line-height: 1.4; letter-spacing: -0.04em; }
.kick a { flex: none; font-size: 13px; color: var(--accent); }
.kick a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Today's concerts as a timetable (js/discover-schedule.js, data-shows="timetable") */
.tt { list-style: none; }
.tt li { border-bottom: 1px solid var(--line); }
.tt li a { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 8px; padding: 10px 0; }
.tt .h { font-family: var(--num); font-size: 19px; line-height: 1.35; font-variant-numeric: tabular-nums; }
.tt b { display: block; font-weight: 500; font-size: 15px; line-height: 1.45; }
.tt a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.tt span.v { display: block; font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.tt li.tt-more a, .tt li.tt-empty a { display: block; font-size: 14px; color: var(--ink-soft); }
.tt li.tt-more a:hover, .tt li.tt-empty a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
/* The today column stays black and grey, no red (owner, 2026.11.18) */
.front-today .kick a { color: var(--ink-soft); }
.front-today .kick a:hover { color: var(--fg); }
.front-today .site-search { margin-top: 22px; }
.front-today .ss-box input { border-width: 2px; }

/* Lead article */
.lead .cat { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--accent); }
.lead h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(28px, 3vw, 38px); line-height: 1.3; letter-spacing: -0.04em; margin: 10px 0 14px; text-wrap: balance; }
.lead h2 a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.lead .dek { font-family: var(--serif); font-size: 19px; line-height: 1.65; color: var(--ink-soft); margin-bottom: 18px; }
/* Letter card: the cover when a piece has no photo (black, a big Bodoni numeral) */
.letter-card { position: relative; overflow: hidden; aspect-ratio: 16 / 8; background: #111111; color: #FFFFFF; display: flex; align-items: flex-end; padding: 22px 26px; }
.letter-card .big { position: absolute; right: 24px; top: 14px; font-family: var(--num); font-style: italic; font-size: clamp(90px, 11vw, 150px); line-height: 0.85; color: var(--mark); }
.letter-card p { position: relative; font-family: var(--serif); font-size: 16px; color: #BBBBBB; }
.lead-body { columns: 2; column-gap: 26px; column-rule: 1px solid var(--line); margin-top: 18px; font-size: 16px; line-height: 1.85; }
.lead-body > p:first-child::first-letter { float: left; font-family: var(--serif); font-weight: 800; font-size: 58px; line-height: 0.9; padding: 6px 8px 0 0; }
.lead-body p + p { margin-top: 10px; }
.lead-body .pull { break-inside: avoid; border-top: 2px solid var(--fg); border-bottom: 2px solid var(--fg); padding: 10px 0; margin: 12px 0; font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.5; letter-spacing: -0.02em; color: var(--accent); }
.lead .by { font-size: 13px; color: var(--ink-soft); margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
.lead .by b { color: var(--fg); }
.lead .by a { color: var(--accent); }

/* Today's news, numbered; every item the same size (the order is the news search's, not ours) */
.nl { list-style: none; counter-reset: n; }
.nl li { counter-increment: n; border-bottom: 1px solid var(--line); }
.nl li a { display: grid; grid-template-columns: 34px minmax(0, 1fr); padding: 12px 0; }
.nl li a::before { content: counter(n, decimal-leading-zero); font-family: var(--num); font-size: 20px; line-height: 1.3; color: var(--mark); }
.nl h3 { font-family: var(--serif); font-weight: 700; font-size: 16.5px; line-height: 1.5; letter-spacing: -0.01em; }
.nl a:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.nl .m { font-size: 12px; color: var(--ink-soft); margin-top: 3px; }
.front-news .source { font-size: 13px; }

@media (max-width: 1099px) {
  .front { grid-template-columns: 230px minmax(0, 1fr) 290px; }
  .front > * { padding-left: 20px; padding-right: 20px; }
  .lead-body { columns: 1; }
}
/* Tablets and phones: one column - lead article, today's news, today's concerts + search */
@media (max-width: 899px) {
  .front-title { display: block; }
  .front-title p { margin-top: 8px; }
  .front { grid-template-columns: 1fr; }
  .front > *, .front > :first-child, .front > :last-child { padding: 22px 0; border: 0; border-bottom: 1px solid var(--line); }
  .front > :last-child { border-bottom: 0; }
  .lead { order: -2; }
  .front-news { order: -1; }
}
@media (max-width: 760px) {
  .front-title h1 { font-size: 26px; }
  .lead .dek { font-size: 17px; }
}

/* Article thumbnails: letter cards until real photos exist (no striped placeholders) */
.thumb.lc { display: flex; align-items: flex-end; padding: 10px 12px; background: #111111; color: var(--mark); font-family: var(--num); font-style: italic; font-size: 22px; line-height: 1; }
/* Most read: Bodoni numerals */
.rank li::before { font-family: var(--num); font-weight: 400; font-size: 24px; color: var(--mark); }
.rank li:nth-child(-n+3)::before { color: var(--mark); }
/* Salon posts: the words first, set as quotes, divided by rules instead of boxes */
.feed { gap: 0 32px; }
.post { background: none; border: 0; border-top: 1px solid var(--line); padding: 16px 0 18px; }
.post p { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.55; letter-spacing: -0.02em; }
.post .who { margin-top: 10px; font-size: 13px; }
.post .who b { color: var(--fg); font-weight: 600; }
.post .who span:last-child { color: var(--ink-soft); font-weight: 400; }
/* Tags: square, no pill */
.tag { padding: 0 8px; }
/* Dark mode: the black letter cards get an edge so they do not melt into the page */
:root[data-theme="dark"] .letter-card, :root[data-theme="dark"] .thumb.lc { background: #1C1C1E; outline: 1px solid var(--line); outline-offset: -1px; }
