/* Korean by Line — design B (yellow feed) */
:root {
  --bg: #f6f6f4;
  --paper: #ffffff;
  --ink: #1a1a1a;
  --graphite: #2b2b2b;
  --yellow: #ffd600;
  --yellow-deep: #6b5a00;
  --yellow-text: #4a3f00;
  --muted: #5f5f5a;
  --line: #e3e3dd;
  --radius: 18px;
  --font: 'Poppins', 'Noto Sans KR', system-ui, sans-serif;
  --font-ko: 'Noto Sans KR', 'Poppins', system-ui, sans-serif;
  --font-display: 'Montserrat', 'Poppins', 'Noto Sans KR', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.5; -webkit-font-smoothing: antialiased; }
[lang="ko"] { font-family: var(--font-ko); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; z-index: 100; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.dot { display: inline-block; width: 0.42em; height: 0.42em; border-radius: 50%; background: var(--yellow); vertical-align: middle; margin-left: 0.1em; }

/* header */
.site-header { background: var(--paper); box-shadow: 0 1px 0 var(--line); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.brand-mark { display: block; width: 40px; height: 40px; flex: none; }
.brand-name em { font-style: normal; background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); padding: 0 2px; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.nav a:hover { color: var(--yellow-deep); }
.nav a.is-active { color: #b89b00; }
.nav-cta { background: var(--yellow); padding: 10px 18px; border-radius: 999px; text-transform: none; letter-spacing: 0; font-size: 13px; }
.nav-cta:hover { color: var(--ink) !important; background: #f0c800; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; color: var(--ink); }
/* Lessons group: parent + sub-menu (types and levels live inside Lessons) */
.nav-group { position: relative; display: flex; align-items: center; gap: 2px; }
.nav-caret { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; transition: transform .2s, background-color .2s; }
.nav-caret:hover { background: var(--line); }
.nav-group:has(.nav-parent.is-active) .nav-caret { color: #b89b00; }
.nav-sub { position: absolute; top: calc(100% + 12px); left: -18px; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; width: 380px; padding: 16px; background: var(--paper); border-radius: 18px; box-shadow: 0 0 0 1px var(--line), 0 22px 44px -18px rgba(0,0,0,.28); text-transform: none; letter-spacing: 0; font-size: 14px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub, .nav-group.is-open .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-group:hover .nav-caret, .nav-group.is-open .nav-caret { transform: rotate(180deg); }
.nav-sub-h { margin: 0 0 4px; padding: 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nav-sub-col { display: flex; flex-direction: column; gap: 2px; }
.nav-sub a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; border-radius: 10px; font-weight: 600; color: var(--ink); }
.nav-sub a small { font-size: 12px; font-weight: 600; color: var(--muted); }
.nav-sub a:hover { background: #fff7c2; color: var(--ink); }
.nav-sub a.is-current { background: var(--yellow); }
.nav-sub a.is-current small { color: var(--ink); }
.nav-sub .nav-sub-all { grid-column: 1 / -1; justify-content: center; margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; padding-top: 12px; font-weight: 700; }
.crumbs { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.crumbs a:hover { color: var(--ink); }
.crumbs span::before { content: "›"; margin-right: 8px; }
.crumbs span { color: var(--ink); }
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding: 6px 0 14px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 0; width: 100%; }
  .nav .nav-cta { width: auto; margin-top: 6px; padding: 10px 18px; }
  .nav-group { flex-direction: column; align-items: stretch; width: 100%; }
  .nav-caret { display: none; }
  .nav-sub { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 2px 0 8px 14px; margin-left: 2px; border-left: 3px solid var(--yellow); border-radius: 0; grid-template-columns: 1fr 1fr; gap: 0 12px; background: none; }
  .nav-sub::before { display: none; }
  .nav-sub a { padding: 8px 10px; width: auto; }
  .nav-sub .nav-sub-all { display: none; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 14px; border: 1px solid transparent; transition: transform .08s ease, background .15s ease; }
.btn:active { transform: scale(.98); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #f0c800; }
.btn--ghost { background: var(--paper); color: var(--ink); border-color: #dcdcd6; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { min-height: 38px; padding: 7px 16px; font-size: 13px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.icon-btn:hover { border-color: var(--ink); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 16px; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; letter-spacing: -0.03em; }
.lede { margin-top: 20px; font-size: 17px; color: var(--muted); max-width: 520px; }
.today { background: var(--yellow); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.today-meta { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow-deep); }
.today-ko { font-family: var(--font-ko); font-weight: 900; font-size: clamp(30px, 4vw, 44px); line-height: 1.2; letter-spacing: -0.02em; }
.today-en { font-size: 15px; color: var(--yellow-text); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 12px; font-weight: 600; background: #fff; padding: 8px 12px; border-radius: 999px; }
.today .btn { align-self: flex-start; margin-top: 4px; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; } }

/* sections */
.section { padding-top: 56px; }
.section--first { padding-top: 40px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h1, .section-head h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; }
.display { font-family: var(--font-display); font-weight: 900; letter-spacing: -0.03em; font-size: clamp(30px, 3.6vw, 44px); }
.more { font-size: 13px; font-weight: 700; color: var(--muted); }
.more:hover { color: var(--ink); }

/* grids & cards */
.grid { display: grid; gap: 16px; }
.grid--feed { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 820px) { .grid--3 { grid-template-columns: 1fr; } .grid--feed { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.card { aspect-ratio: 1 / 1; border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .12s ease, box-shadow .12s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.card-meta { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: .7; }
.card-ko { display: block; font-family: var(--font-ko); font-weight: 900; font-size: clamp(20px, 2vw, 26px); line-height: 1.25; letter-spacing: -0.01em; word-break: keep-all; }
.card-en { display: block; font-size: 12px; margin-top: 6px; opacity: .8; }
.card--ink { background: var(--ink); color: #fff; }
.card--graphite { background: var(--graphite); color: #fff; }
.card--yellow { background: var(--yellow); color: var(--ink); }
.card--yellow .card-meta { color: var(--yellow-deep); opacity: 1; }
.card--yellow .card-en { color: var(--yellow-text); opacity: 1; }
.card--paper { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.card.is-hidden { display: none; }
.empty { margin-top: 24px; }

/* steps */
.step { display: flex; flex-direction: column; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 26px; transition: transform .12s ease, box-shadow .12s ease; }
.step:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.step-go { margin-top: 14px; font-size: 13px; font-weight: 700; }
.step:hover .step-go { text-decoration: underline; text-underline-offset: 4px; }
.grammar { scroll-margin-top: 90px; }
.lesson-player { scroll-margin-top: 90px; }
.step-n { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.step h3 { margin: 14px 0 6px; font-size: 18px; }
.step p { font-size: 14px; color: var(--muted); }

.linebook-promo { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.linebook-promo h2 { font-size: 24px; font-weight: 800; }

/* filters */
.filters { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.search input { font: inherit; font-size: 14px; padding: 12px 18px; border: 1px solid #dcdcd6; border-radius: 999px; background: var(--paper); width: 300px; max-width: 100%; }
.search input:focus { outline: 2px solid var(--yellow); outline-offset: 1px; border-color: transparent; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid #dcdcd6; background: var(--paper); font-size: 13px; font-weight: 600; color: var(--ink); }
.pill:hover { border-color: var(--ink); }
.pill.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill[lang="ko"], .pills .pill { font-family: var(--font-ko); }

/* lesson */
.lesson { padding-top: 44px; }
.lesson-head { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px 40px; align-items: center; }
.lesson-player { display: flex; justify-content: center; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 14px 0; }
@media (max-width: 920px) { .lesson-head { grid-template-columns: 1fr; } .lesson-player { padding: 8px 0; } }
.share-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 8px; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; }
.share-row .block-title { margin-bottom: 4px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.eyebrow a:hover { color: var(--ink); }
.lesson-line { font-family: var(--font-ko); font-weight: 900; font-size: clamp(36px, 6vw, 68px); letter-spacing: -0.03em; margin-top: 12px; word-break: keep-all; }
.lesson-rom { margin-top: 8px; font-size: 15px; color: var(--muted); }
.lesson-en { margin-top: 4px; font-size: 20px; font-weight: 600; }
.lesson-source { margin-top: 10px; font-size: 13px; }
.lesson-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; margin-top: 40px; }
@media (max-width: 920px) { .lesson-grid { grid-template-columns: 1fr; } }
.block { margin-bottom: 40px; }
.block-title { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.block-title [lang="ko"] { text-transform: none; letter-spacing: 0; color: var(--ink); font-size: 16px; }

.words { display: flex; flex-wrap: wrap; gap: 10px; }
.word { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; min-width: 96px; text-align: left; color: var(--ink); }
.word:hover { border-color: var(--ink); }
.word.is-active { background: var(--yellow); border-color: var(--yellow); }
.word-ko { font-family: var(--font-ko); font-weight: 900; font-size: 26px; line-height: 1.1; }
.word-rom { font-size: 12px; color: var(--muted); }
.word-en { font-size: 13px; font-weight: 600; }
.word.is-active .word-rom { color: var(--yellow-deep); }
.word-note { margin-top: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; font-size: 15px; }
.word-note strong { font-family: var(--font-ko); }

.prose p { font-size: 17px; line-height: 1.75; margin-bottom: 16px; }
.prose h1 { font-size: 36px; font-weight: 800; margin-bottom: 20px; }
.prose h2 { font-size: 22px; font-weight: 700; margin: 28px 0 10px; }
.prose--narrow { max-width: 720px; }
.grammar { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.grammar-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.grammar > p { font-size: 15px; line-height: 1.7; }
.examples { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 8px; }
.examples li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 36px; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.examples li [lang="ko"] { font-weight: 700; font-size: 17px; }
@media (max-width: 560px) { .examples li { grid-template-columns: minmax(0, 1fr) 36px; } .examples li span:nth-child(2) { grid-column: 1; color: var(--muted); font-size: 14px; } }
.culture { background: var(--ink); color: #fff; border-radius: 20px; padding: 26px; }
.culture .block-title { color: var(--yellow); }
.culture p { font-size: 16px; line-height: 1.7; }

.practice { scroll-margin-top: 90px; }
.practice-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 26px; margin-bottom: 16px; }
.practice-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.swap-line { font-family: var(--font-ko); font-weight: 900; font-size: clamp(26px, 4vw, 36px); margin-top: 18px; word-break: keep-all; }
.swap-slot { color: var(--ink); background: var(--yellow); padding: 0 8px; border-radius: 8px; }
.swap-en { color: var(--muted); font-size: 15px; margin: 6px 0 16px; }
.quiz-q { font-size: 17px; font-weight: 600; margin: 10px 0 14px; }
.quiz-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .quiz-options { grid-template-columns: 1fr; } }
.quiz-opt { min-height: 48px; padding: 10px 16px; border-radius: 12px; border: 1px solid #dcdcd6; background: var(--bg); text-align: left; font-size: 15px; font-weight: 600; color: var(--ink); }
.quiz-opt [lang="ko"] { font-weight: 700; }
.quiz-opt:hover { border-color: var(--ink); }
.quiz-opt.is-right { background: var(--yellow); border-color: var(--yellow); }
.quiz-opt.is-wrong { background: #f1e6e6; border-color: #d6b4b4; }
.quiz-result { margin-top: 14px; font-size: 15px; font-weight: 600; }

.lesson-side { display: flex; flex-direction: column; gap: 16px; }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.side-card h3 { font-size: 15px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 12px; }
.side-card .btn { width: 100%; margin-top: 12px; }
.side-card--yellow { background: var(--yellow); border-color: var(--yellow); }
.side-card--yellow .muted { color: var(--yellow-text); }
.side-link { display: block; margin-top: 12px; font-size: 13px; font-weight: 700; }
.vocab { list-style: none; padding: 0; margin: 0; }
.vocab li { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.vocab li [lang="ko"] { font-weight: 900; font-size: 18px; grid-row: span 2; align-self: center; }
.vocab li .muted { font-size: 12px; }

.lesson-nav { display: flex; justify-content: space-between; gap: 16px; margin: 24px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.lesson-nav a { display: flex; flex-direction: column; gap: 2px; font-weight: 700; font-size: 15px; max-width: 48%; }
.lesson-nav a .muted { font-size: 12px; font-weight: 600; }
.lesson-nav a.right { text-align: right; }

/* ads */
.ad-slot { margin: 8px 0 40px; min-height: 90px; }
.ad-slot--empty { border: 1px dashed #d4d4cc; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #b4b4ac; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }

/* line book */
.book { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 20px; }
.book-item { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.book-item .ko { font-family: var(--font-ko); font-weight: 900; font-size: 22px; word-break: keep-all; }
.book-item .en { font-size: 13px; color: var(--muted); }
.book-item .row { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.book-item .row a, .book-item .row button { font-size: 12px; font-weight: 700; min-height: 36px; padding: 6px 12px; }

/* footer */
.site-footer { margin-top: 80px; background: var(--paper); border-top: 1px solid var(--line); padding: 32px 0; font-size: 13px; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-row p { max-width: 520px; margin-top: 6px; }
.footer-links { display: flex; gap: 18px; font-weight: 700; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; opacity: 0; transition: opacity .2s, transform .2s; z-index: 100; pointer-events: none; }
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- poster cards (from the stage concept) ---------- */
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 0 12px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail .show { flex: 0 0 250px; scroll-snap-align: start; }
.show { display: block; position: relative; }
.poster { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; width: 74%; margin-left: 13%; aspect-ratio: 3 / 4; min-height: 0; overflow: hidden; padding: 14px; box-sizing: border-box; border-radius: 12px; box-shadow: 0 12px 24px rgba(0,0,0,.14); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.show:hover .poster { transform: translateY(-6px) rotate(-1deg); }
.poster-top { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; opacity: .75; line-height: 1.3; }
.poster-ko { font-family: var(--font-ko); font-weight: 900; font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; word-break: keep-all; overflow-wrap: anywhere; }
.poster-ko--md { font-size: 21px; }
.poster-ko--sm { font-size: 17px; line-height: 1.25; }
.poster-ko--xs { font-size: 15px; line-height: 1.25; }
.poster-rom { font-size: 11px; opacity: .7; line-height: 1.3; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.poster--ink { background: var(--ink); color: #fff; }
.poster--graphite { background: var(--graphite); color: #fff; }
.poster--yellow { background: var(--yellow); color: var(--ink); }
.poster--yellow .poster-top, .poster--yellow .poster-rom { color: var(--yellow-text); opacity: 1; }
.poster--paper { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.show-body { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-top: -46%; padding: calc(46% + 20px) 20px 22px; transition: box-shadow .2s; }
.show:hover .show-body { box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.show-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.show-title { font-weight: 700; font-size: 15px; line-height: 1.35; }
.tag { flex: none; font-size: 11px; font-weight: 700; padding-bottom: 3px; border-bottom: 2px solid var(--yellow); white-space: nowrap; }
.show-meta { display: block; margin-top: 12px; font-size: 12px; color: var(--muted); }
.show-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .show-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .show-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .show-body { padding-left: 12px; padding-right: 12px; } .show-title { font-size: 14px; } .rail .show { flex-basis: 70%; } .poster { padding: 12px; } .poster-ko { font-size: 22px; } .poster-ko--md { font-size: 18px; } .poster-ko--sm { font-size: 15px; } .poster-ko--xs { font-size: 13px; } .poster-rom { font-size: 10px; } .poster-top { font-size: 9px; } }
.show.is-hidden { display: none; }
.rail-nav { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 20px; }
.arrow { background: none; border: 0; padding: 8px; color: var(--ink); display: inline-flex; border-radius: 999px; }
.arrow:hover { background: var(--paper); }
.rail-count { font-size: 14px; font-variant-numeric: tabular-nums; }
.rail-count b { font-weight: 700; }

/* ---------- levels ---------- */
.filters { flex-direction: column; align-items: flex-start; }
.pills--level .pill.is-active { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.level-card { display: flex; flex-direction: column; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 26px; transition: transform .12s, box-shadow .12s; }
.level-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.level-n { font-family: var(--font-display); font-weight: 900; font-size: 36px; color: #c8c8c8; }
.level-card--1 .level-n { color: var(--yellow); }
.level-card--2 .level-n { color: #f0a500; }
.level-card--3 .level-n { color: var(--ink); }
.level-name { font-size: 20px; font-weight: 800; }
.level-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }
.level-count { margin-top: 8px; font-size: 13px; font-weight: 600; }
.level-count [lang="ko"] { font-weight: 700; }

/* hero background band */
.hero-band { position: relative; background: var(--paper) center / cover no-repeat; padding-bottom: 48px; }
.hero-band .hero { padding-top: 64px; }
.hero-band--paper { background-image: url(img/hero-paper.jpg); background-position: right center; }
.hero-band--paper .today { background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.hero-band--paper .today-meta { color: var(--ink); }
.hero-band--paper .today-en { color: var(--muted); }
.hero-band--paper .chip { background: var(--yellow); }
.hero-band--paper .lede { color: var(--ink); }
.hero-band--stage { background-image: linear-gradient(90deg, rgba(16,14,10,.82) 0%, rgba(16,14,10,.45) 55%, rgba(16,14,10,.15) 100%), url(img/hero-stage.jpg); }
.hero-band--alley { background-image: linear-gradient(90deg, rgba(10,14,24,.85) 0%, rgba(10,14,24,.5) 55%, rgba(10,14,24,.2) 100%), url(img/hero-alley.jpg); }
.hero-band--stage .hero-copy, .hero-band--alley .hero-copy { color: #fff; }
.hero-band--stage .lede, .hero-band--alley .lede { color: rgba(255,255,255,.82); }
.hero-band--stage .btn--ghost, .hero-band--alley .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); background: transparent; }
.hero-band--stage .btn--ghost:hover, .hero-band--alley .btn--ghost:hover { border-color: #fff; }
.hero-band--stage .btn--dark, .hero-band--alley .btn--dark { background: var(--yellow); color: var(--ink); }
.hero-band--stage .today .btn--dark, .hero-band--alley .today .btn--dark { background: var(--ink); color: #fff; }
.hero-band--stage .today, .hero-band--alley .today { box-shadow: 0 20px 50px rgba(0,0,0,.35); }
@media (max-width: 820px) {
  .hero-band--paper { background-position: 70% center; }
  .hero-band--paper .hero-copy { background: rgba(255,214,0,.86); border-radius: 20px; padding: 20px; }
  .hero-band--stage, .hero-band--alley { background-position: 65% center; }
  .hero-band--stage { background-image: linear-gradient(180deg, rgba(16,14,10,.78), rgba(16,14,10,.55)), url(img/hero-stage.jpg); }
  .hero-band--alley { background-image: linear-gradient(180deg, rgba(10,14,24,.8), rgba(10,14,24,.55)), url(img/hero-alley.jpg); }
}
.bg-switch { position: fixed; z-index: 50; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; background: #1a1a1a; color: #fff; padding: 6px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.3); font-size: 13px; font-family: var(--font-ko); }
.bg-switch span { white-space: nowrap; padding: 0 8px 0 10px; opacity: .7; }
.bg-switch button { white-space: nowrap; min-height: 40px; border: 0; border-radius: 999px; padding: 0 14px; background: transparent; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.bg-switch button.is-on { background: var(--yellow); color: #1a1a1a; }
.contact-mail { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
