/* weigok — site styles. Dark is the default theme; [data-theme="light"] switches the variables. */
:root {
  --bg: #15181b;
  --surface: #1d2125;
  --surface-2: #23282d;
  --util: #101315;
  --border: #2f363d;
  --text: #e8e4da;
  --muted: #a9afb6;
  --accent: #e0aa4a;
  --accent-text: #1a1508;
  --jade: #74c4a8;
  --danger: #f0a39a;
  --focus: #8ab4ff;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --line: 1.65;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f6f3ec;
  --surface: #ffffff;
  --surface-2: #efeadf;
  --util: #ece7db;
  --border: #d8d0c0;
  --text: #20242a;
  --muted: #555c65;
  --accent: #7a4f00;
  --accent-text: #ffffff;
  --jade: #17694e;
  --danger: #a3271b;
  --focus: #1a56c4;
  color-scheme: light;
}
/* System fonts per language — no web fonts are downloaded. */
html[lang="ko"] { --font: system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; --line: 1.8; word-break: keep-all; overflow-wrap: break-word; }
html[lang="ja"] { --font: system-ui, -apple-system, "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif; --line: 1.8; }
html[lang="zh-Hans"] { --font: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; --line: 1.8; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: var(--line);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; width: 100%; }
a { color: var(--accent); }
h1, h2 { line-height: 1.2; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--accent-text); padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- header: utility row + main row ---------- */
.util { background: var(--util); border-bottom: 1px solid var(--border); font-size: 13px; }
.util-in { height: 38px; display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.langs { display: flex; align-items: center; gap: 10px; }
.langs a { color: var(--muted); text-decoration: none; padding: 4px 0; }
.langs a:hover { color: var(--text); }
.langs a.is-on { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.langs .dot { color: var(--border); }
.bar { width: 1px; height: 14px; background: var(--border); }
.acct { display: flex; align-items: center; gap: 16px; }
.acct a { color: var(--text); text-decoration: none; }
.acct a:hover { text-decoration: underline; }
.acct a.sub { color: var(--accent); font-weight: 600; }
.acct .who { color: var(--muted); }
.theme-btn {
  width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--text); border: 1px solid var(--border); border-radius: 6px; cursor: pointer; padding: 0;
}
.theme-btn:hover { background: var(--surface-2); }
.theme-btn .ico-moon { display: none; }
:root[data-theme="light"] .theme-btn .ico-sun { display: none; }
:root[data-theme="light"] .theme-btn .ico-moon { display: block; }

.main-row { border-bottom: 1px solid var(--border); }
.main-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 68px; }
.logo { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; white-space: nowrap; }
.logo-name { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; color: var(--text); }
.logo-sub { font-size: 14px; color: var(--muted); }
.menu { display: flex; align-items: stretch; gap: 26px; }
.menu a {
  display: inline-flex; align-items: center; min-height: 68px; color: var(--muted); text-decoration: none;
  font-size: 15px; font-weight: 500; white-space: nowrap; border-bottom: 2px solid transparent; border-top: 2px solid transparent;
}
.menu a:hover { color: var(--text); }
.menu a.is-on { color: var(--text); font-weight: 600; border-bottom-color: var(--accent); }
.m-tools { display: none; align-items: center; gap: 4px; }
.m-tools .theme-btn, .burger {
  width: 44px; height: 44px; border: none; background: transparent; color: var(--text);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; border-radius: 8px;
}
.m-panel { border-bottom: 1px solid var(--border); background: var(--bg); }
.m-menu { display: flex; flex-direction: column; }
.m-menu a { display: flex; align-items: center; min-height: 52px; padding: 0 20px; color: var(--text); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--border); }
.m-menu a.is-on { color: var(--accent); }
.m-langs { justify-content: space-between; padding: 6px 12px; border-bottom: 1px solid var(--border); font-size: 15px; }
.m-langs a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 8px; }
.m-langs .dot { display: none; }
.m-acct { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px 16px; }
.m-acct .wide { grid-column: 1 / -1; }

@media (max-width: 1099px) {
  .util, .menu { display: none; }
  .m-tools { display: flex; }
  .wrap { padding: 0 16px; }
  .main-in { min-height: 56px; }
  .logo-name { font-size: 24px; }
  .logo-sub { font-size: 12px; }
}
@media (min-width: 1100px) {
  .m-panel { display: none !important; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px;
  border-radius: 8px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-small { min-height: 36px; padding: 0 14px; font-size: 14px; }

/* ---------- home ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding: 56px 0 48px; }
.hero-text { flex: 1 1 340px; display: flex; flex-direction: column; gap: 20px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.5px; line-height: 1.2; }
.lead { color: var(--muted); font-size: 18px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.note { color: var(--muted); font-size: 14px; }
.hero-board { flex: 0 1 360px; padding: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.board { display: block; width: 100%; height: auto; }
.notice { margin: 0 0 28px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px; text-decoration: none; color: var(--text);
}
.card:hover { border-color: var(--accent); }
.card-title { font-size: 20px; font-weight: 650; }
.card-desc { color: var(--muted); font-size: 15px; }
.card-free { color: var(--jade); font-size: 14px; font-weight: 600; margin-top: 8px; }
.plans { margin-top: 48px; display: flex; flex-direction: column; gap: 16px; }
.plans h2 { font-size: 24px; }
.plan-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.plan { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.plan-name { color: var(--muted); font-size: 14px; }
.plan-price { font-size: 30px; font-weight: 700; line-height: 1.2; }
.plan-renew { color: var(--muted); font-size: 13px; }
.plain { padding: 64px 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.plain h1 { font-size: 32px; }

@media (max-width: 700px) {
  .hero { padding: 28px 0 32px; gap: 28px; }
  .hero-board { flex-basis: 100%; }
  .actions .btn { flex: 1 1 100%; }
}

/* ---------- forms and messages ---------- */
.form { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
.form .btn { align-self: flex-start; }
.form label { font-size: 14px; font-weight: 600; display: block; margin-top: 6px; }
.form input[type="text"], .form input[type="email"], .form input[type="password"], .form input[type="number"], .form textarea, .form select {
  width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
}
.form textarea { resize: vertical; line-height: 1.5; }
.form ::placeholder { color: var(--muted); opacity: .75; }
.hint { color: var(--muted); font-size: 14px; }
.msg { padding: 12px 16px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); }
.msg-ok { border-color: var(--jade); color: var(--jade); }
.msg-err { border-color: var(--danger); color: var(--danger); }
select { appearance: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.submit-row .btn { align-self: auto; }
.spam { display: inline-flex; align-items: center; gap: 8px; }
.form .spam label { margin: 0; font-weight: 500; white-space: nowrap; }
.form .spam input { width: 64px; min-height: 46px; text-align: center; }
.inline { display: inline; margin: 0; }
.linkbtn { background: none; border: none; padding: 0; font: inherit; color: var(--text); cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }
.wide-btn { width: 100%; }
.m-acct form { display: contents; }

/* ---------- member pages ---------- */
.auth { max-width: 460px; margin: 0 auto; padding: 48px 0 24px; display: flex; flex-direction: column; gap: 18px; }
.auth h1, .account h1 { font-size: 30px; }
.auth .lead { font-size: 17px; }
.account { max-width: 720px; margin: 0 auto; padding: 48px 0 24px; display: flex; flex-direction: column; gap: 18px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; display: flex; flex-direction: column; gap: 12px; }
.panel h2 { font-size: 19px; }
.panel .btn { align-self: flex-start; }

/* ---------- catalogue and lessons ---------- */
.page-head { padding: 40px 0 8px; display: flex; flex-direction: column; gap: 10px; }
.page-head h1 { font-size: 30px; }
.toc-group { padding: 20px 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.toc-group h2 { font-size: 22px; }
.toc-group h2 a { color: var(--text); text-decoration: none; }
.toc-group h2 a:hover { text-decoration: underline; }
.toc-list, .plain-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 6px 28px; }
.plain-list { grid-template-columns: 1fr; }
.toc-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--border); }
.filters { display: flex; flex-direction: column; gap: 12px; margin: 12px 0 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; }
.chip:hover { border-color: var(--accent); }
.chip.is-on { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip.is-on .stars .on { color: var(--bg); }
.filter-row { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; margin: 8px 0; }
.filter-row input { flex: 1 1 220px; max-width: 360px; width: auto; }
.filter-row .btn { align-self: auto; }
.stars { letter-spacing: 2px; white-space: nowrap; font-size: 15px; }
.stars .on { color: var(--accent); }
.stars .off { color: var(--border); }
.table-wrap { overflow-x: auto; }
.lesson-table { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-top: 8px; }
.lesson-table table { width: 100%; border-collapse: collapse; }
.lesson-table td { padding: 12px 16px; border-top: 1px solid var(--border); vertical-align: middle; }
.lesson-table tr:first-child td { border-top: none; }
.lesson-table .num { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; width: 1%; }
.lesson-table .ttl a { color: var(--text); text-decoration: none; font-weight: 500; }
.lesson-table .ttl a:hover { text-decoration: underline; }
.lesson-table .lvl, .lesson-table .acc { white-space: nowrap; width: 1%; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; }
.badge-free { color: var(--jade); font-weight: 600; border: 1px solid var(--jade); border-radius: 999px; padding: 1px 10px; }
.badge-done { color: var(--jade); }
.badge-lock { color: var(--muted); }
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 20px 0; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; background: var(--surface-2); border-radius: 12px; margin-top: 20px; font-size: 15px; }
.cta-band span { flex: 1 1 320px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 28px 0 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.lesson-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.lesson-head h1 { font-size: 26px; line-height: 1.3; margin-bottom: 4px; }
.btn.is-on { border-color: var(--accent); color: var(--accent); }
.game-meta { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0 0 14px; font-size: 14px; }
.game-meta div { display: flex; gap: 6px; }
.game-meta dt { color: var(--muted); }
.game-meta dd { margin: 0; }
/* The lesson documents are dark by design, so the frame stays dark in both themes. */
.lesson-frame-wrap { background: #1a1a1a; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.lesson-frame { display: block; width: 100%; height: 800px; border: 0; }
.lock { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.lock-diagram { flex: 0 1 380px; margin: 0; padding: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.lock-diagram figcaption { padding: 10px 4px 2px; font-size: 15px; }
.lock-card { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.lock-card h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; color: var(--accent); }
.lock-card h2 svg { flex: none; }
.lesson-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 18px 0 8px; }
.lesson-nav > :first-child { justify-self: start; }
.lesson-nav > :last-child { justify-self: end; }
.lesson-nav .back { color: var(--muted); font-size: 14px; text-align: center; }
.next-locked { text-align: right; }
@media (max-width: 700px) {
  .lesson-head { flex-direction: column; }
  .lesson-table td { padding: 10px 10px; }
  .lesson-table .lvl { display: none; }
  .wrap:has(.lesson-frame-wrap) { padding: 0 6px; }
}

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); margin-top: 56px; font-size: 13px; }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { color: var(--muted); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.copy { color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .btn, .card, .theme-btn { transition: background-color .15s, border-color .15s, filter .15s; }
}

/* subscribe */
.subscribe { display: flex; flex-direction: column; gap: 20px; }
.subscribe h1 { font-size: 34px; }
.sub-form { gap: 22px; }
.plan-pick { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.plan-pick legend { font-size: 20px; font-weight: 700; padding: 0; margin-bottom: 12px; }
.plan-option { cursor: pointer; gap: 6px; font-weight: 400; margin: 0; }
.plan-option:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan-option:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.plan-head { display: flex; align-items: center; gap: 10px; }
.plan-head input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.plan-summary { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 6px; }
.terms-list { margin: 0; padding-left: 20px; color: var(--muted); font-size: 15px; display: flex; flex-direction: column; gap: 6px; }
.consent { align-items: flex-start; font-weight: 400; font-size: 16px; display: flex; gap: 10px; }
.consent input { width: 20px; height: 20px; margin-top: 4px; flex: none; accent-color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.narrow-page { max-width: 640px; }
.lesson-table th { padding: 12px 16px; text-align: left; color: var(--muted); font-size: 14px; font-weight: 600; }
.subscribe { padding: 40px 0 24px; }
.form .plan-option { display: flex; flex-direction: column; gap: 6px; font-weight: 400; font-size: inherit; margin: 0; }
.form label.consent { display: flex; font-weight: 400; font-size: 16px; }
.plan-option .plan-name { font-size: 16px; font-weight: 600; color: var(--text); }

/* full table of contents */
.toc-jump { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 6px 0 10px; }
.toc-jump a { padding: 7px 12px; border: 1px solid var(--border); border-radius: 999px; font-size: 14px; color: var(--text); text-decoration: none; background: var(--surface); }
.toc-jump a:hover { border-color: var(--accent); }
.toc-chapter { padding: 22px 0 6px; border-top: 1px solid var(--border); scroll-margin-top: 16px; }
.toc-chapter h3 { font-size: 21px; margin: 0 0 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.toc-chapter h3 a { color: var(--text); }
.toc-chapter h3 .hint { font-weight: 400; }
.toc-lessons { margin: 0; padding-left: 2.4em; columns: 2 380px; column-gap: 48px; font-size: 16px; line-height: 1.5; }
.toc-lessons li { padding: 4px 0; break-inside: avoid; color: var(--muted); }
.toc-lessons li::marker { color: var(--muted); font-size: 14px; }
.toc-lessons a { color: var(--text); }
.toc-lessons .badge { margin-left: 4px; }

/* pages, blog */
.prose-page { max-width: 780px; margin: 0 auto; padding: 40px 0 24px; display: flex; flex-direction: column; gap: 18px; }
.prose-page h1 { font-size: 34px; }
.prose { font-size: 17px; line-height: 1.75; }
.prose h2 { font-size: 23px; margin: 34px 0 10px; }
.prose h3 { font-size: 19px; margin: 26px 0 8px; }
.prose h4 { font-size: 17px; margin: 22px 0 6px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 1.5em; }
.prose li { margin: 4px 0; }
.prose a { color: var(--accent); }
.prose blockquote { margin: 0 0 14px; padding: 4px 16px; border-left: 3px solid var(--border); color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 26px 0; }
.prose figure { margin: 20px 0; }
.prose img { max-width: 100%; height: auto; border-radius: 8px; display: block; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.post-list { display: flex; flex-direction: column; gap: 18px; padding-bottom: 24px; }
.post-card { padding: 22px 24px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); display: flex; flex-direction: column; gap: 8px; }
.post-card h2 { font-size: 22px; }
.post-card h2 a { color: var(--text); text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }
.contact { max-width: 620px; }
.contact textarea { min-height: 180px; }

/* self-study board */
.study { padding: 36px 0 24px; display: flex; flex-direction: column; gap: 16px; }
.study h1 { font-size: 30px; }
.study-grid { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; }
.study-board-wrap { flex: 1 1 520px; min-width: 0; max-width: 760px; }
.study-board { width: -moz-fit-content; width: fit-content; max-width: 100%; margin: 0 auto; touch-action: manipulation; border-radius: 6px; overflow: hidden; }
.study-board canvas { cursor: pointer; }
.study-panel { flex: 0 1 300px; display: flex; flex-direction: column; gap: 14px; min-width: 240px; }
.study-turn { font-size: 20px; font-weight: 700; margin: 0; }
.study-modes { border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.study-modes legend { padding: 0 6px; font-weight: 600; }
.study .check { display: flex; align-items: center; gap: 8px; }
.study .check input { width: 18px; height: 18px; accent-color: var(--accent); }
.study-file { cursor: pointer; }
.study-file:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }

/* text size and typeface in posts; Go Novels */
.tx-size-small { font-size: .85em; } .tx-size-large { font-size: 1.25em; } .tx-size-xlarge { font-size: 1.6em; line-height: 1.35; }
.tx-font-serif { font-family: "Noto Serif KR", "Noto Serif JP", "Noto Serif SC", "Nanum Myeongjo", "Batang", "Songti SC", "SimSun", Georgia, serif; }
.tx-font-sans { font-family: system-ui, "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", "Hiragino Sans", "Microsoft YaHei", sans-serif; }
.tx-font-mono { font-family: ui-monospace, Consolas, "D2Coding", monospace; }
.prose-novel .prose figure img { max-width: min(100%, 280px); }
.prose-novel .prose figcaption { max-width: 280px; }
.post-card.has-thumb { flex-direction: row; gap: 20px; align-items: flex-start; }
.post-thumb { flex: 0 0 110px; }
.post-thumb img { width: 110px; height: auto; max-height: 170px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); display: block; }
.post-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
@media (max-width: 520px) { .post-thumb { flex-basis: 78px; } .post-thumb img { width: 78px; } }
