:root {
  color-scheme: light;
  --ink: #182a25;
  --soft-ink: #51625b;
  --muted: #627068;
  --line: #d8dfda;
  --green: #205d50;
  --mint: #e7f1eb;
  --paper: #f5f7f4;
  font-family: Inter, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: default; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #358778; outline-offset: 3px; }
h1,h2,h3,p,figure,blockquote { margin: 0; }
button { border: 0; }
.wrap { width: min(100%, 1860px); margin: auto; padding-inline: clamp(18px, 2.8vw, 55px); }
.wide-mode { --wide-gutter: clamp(12px, 1vw, 24px); }
.wide-mode .wrap { width: 100%; padding-inline: var(--wide-gutter); }
.wide-mode .board { margin-inline: calc(0px - var(--wide-gutter)); }
.masthead { background: #fff; border-bottom: 1px solid var(--line); }
.mast-inner { height: 66px; display: flex; align-items: center; justify-content: space-between; }
.brand,.language-pair,.board-label,.library-button,.pager,.position,.icon-button,.source-link,.filters,.panel-head,.dialog-head,.search,.mobile-nav { display: flex; align-items: center; }
.brand { gap: 9px; }
.brand strong { font-family: "Arial",sans-serif; color: #183d33; font-size: 30px; line-height: 1; font-weight: 800; letter-spacing: -2.4px; padding-bottom: 4px; }
.brand-divider { height: 20px; border-left: 1px solid #cdd6cf; margin-inline: 8px; }
.publication { font-family: "AppleMyungjo","Batang",serif; font-weight: 800; font-size: 20px; letter-spacing: -1.4px; }
.language-pair { gap: 9px; font-size: .875rem; font-weight: 600; color: var(--soft-ink); }
.language-pair .icon { color: var(--green); margin-right: 3px; }
.direction { color: #73857a; }
.icon { display: inline-block; flex: none; width: 18px; height: 18px; vertical-align: middle; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 32px 0 21px; }
h1 { font-size: clamp(1.85rem,2.55vw,2.6rem); letter-spacing: -.065em; line-height: 1.25; font-weight: 750; }
.coverage { margin-top: 8px; color: var(--soft-ink); font-size: .92rem; }
.library-button { gap: 8px; background: #fff; border: 1px solid #c6d2c9; border-radius: 8px; padding: 10px 14px; font-weight: 650; font-size: .9rem; }
.library-button:hover,.icon-button:not(:disabled):hover { background: var(--mint); border-color: #98b6a5; }
.article-strip { --visible: 4; display: grid; grid-template-rows: 1fr; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--visible) - 1) * 12px) / var(--visible)); gap: 12px; overflow-x: auto; padding: 3px 2px 9px; margin-inline: -2px; scrollbar-width: thin; scrollbar-color: #c6d3c9 transparent; }
.story-card { position: relative; display: grid; grid-template-columns: 76px minmax(0,1fr); align-items: center; min-height: 92px; gap: 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; padding: 9px 12px 9px 9px; text-align: left; }
.story-card:hover { border-color: #8caa99; }
.story-card[aria-current=true] { border-color: var(--green); background: #eef5ef; box-shadow: inset 0 0 0 1px var(--green); }
.thumb { width: 76px; height: 72px; display: grid; place-items: center; overflow: hidden; background: #e2e9e2; border-radius: 5px; color: #82998a; }
.thumb .icon { width: 32px; height: 32px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.story-copy { min-width: 0; }
.story-meta { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .78rem; font-weight: 580; margin-bottom: 6px; }
.number { font: 600 .77rem/1.2 ui-monospace,Menlo,monospace; font-variant-numeric: tabular-nums; color: #466755; }
.story-meta .number { border-right: 1px solid #c7d1c9; padding-right: 7px; }
.story-card[aria-current=true] .story-meta { color: var(--green); }
.story-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: .97rem; font-weight: 650; letter-spacing: -.035em; line-height: 1.45; overflow-wrap: anywhere; }
.board-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 19px 0 12px; }
.board-actions { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.width-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 7px; background: white; font-size: .875rem; font-weight: 600; }
.width-toggle:hover,.width-toggle[aria-pressed=true] { background: var(--mint); border-color: #98b6a5; color: var(--green); }
.switch-track { display: flex; align-items: center; width: 26px; height: 16px; padding: 2px; border-radius: 99px; background: #77877e; }
.switch-track::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: white; }
.width-toggle[aria-pressed=true] .switch-track { justify-content: flex-end; background: var(--green); }
.board-label { gap: 8px; }
.board-label .icon { color: var(--green); }
.board-label h2 { font-size: 1.125rem; letter-spacing: -.045em; }
.pager { gap: 9px; }
.icon-button { padding: 0; justify-content: center; height: 32px; width: 32px; background: white; border: 1px solid var(--line); border-radius: 7px; }
.icon-button:disabled { color: #aeb9b1; background: #f6f8f5; }
.position { gap: 7px; font: .85rem/1.2 ui-monospace,Menlo,monospace; font-variant-numeric: tabular-nums; color: var(--muted); }
.position b { color: var(--green); }
.position span:first-of-type { color: #a7b6ab; }
.board { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; padding-bottom: 26px; }
.panel { background: white; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; min-width: 0; }
.panel-head { height: 52px; gap: 9px; padding: 0 clamp(13px,1.2vw,24px); border-bottom: 1px solid var(--line); }
.panel-head h3 { font-size: 1.02rem; letter-spacing: -.04em; }
.panel-head .icon { width: 18px; height: 18px; color: #586e60; }
.panel-head .lang { margin-left: auto; font: 600 .77rem ui-monospace,Menlo,monospace; letter-spacing: .035em; color: #62756a; }
.panel.source { border-color: #9fb9a8; }
.source .panel-head { color: #fff; border-color: var(--green); background: var(--green); }
.source .panel-head .icon,.source .lang { color: #e4f3e7; }
.translated .panel-head { background: #e5f0e9; color: var(--green); }
.panel-body { height: max(500px, calc(100dvh - 365px)); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #c8d4cb transparent; }
.article-body { padding: clamp(17px,1.45vw,28px); }
.article-kicker { color: var(--green); font-size: .8rem; font-weight: 700; line-height: 1.5; }
.article-body h2 { font-family: "AppleMyungjo","Nanum Myeongjo","Batang",Georgia,serif; font-weight: 700; font-size: clamp(1.32rem,1.54vw,1.85rem); letter-spacing: -.052em; line-height: 1.45; overflow-wrap: anywhere; }
.article-body:lang(en) h2 { font-family: Georgia, serif; letter-spacing: -.025em; line-height: 1.32; }
.article-body:lang(en) .content { letter-spacing: normal; line-height: 1.65; }
.article-kicker + h2 { margin-top: 8px; }
.story-title,.article-body h2,.result strong { word-break: keep-all; overflow-wrap: anywhere; }
.byline { color: #405348; font-size: .9rem; margin: 10px 0 4px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; padding-bottom: 15px; margin-bottom: 17px; border-bottom: 1px solid #e7ebe7; color: var(--muted); font-size: .78rem; }
.source-link { text-decoration: none; font-weight: 600; gap: 3px; color: var(--green); }
.source-link .icon { height: 13px; width: 13px; }
.source-link:hover,.content a:hover { text-decoration: underline; }
.content { font-size: 1rem; line-height: 1.85; color: #26352c; letter-spacing: -.022em; overflow-wrap: anywhere; }
.content > * + * { margin-top: 16px; }
.content p,.content h3,.content blockquote,.content aside { white-space: pre-line; }
.content h3 { font-size: 1.09rem; line-height: 1.6; }
.content .subtitle,.content blockquote { font-weight: 650; border-left: 3px solid #779c86; padding-left: 11px; }
.content .note,.related { display: block; background: #f1f5f0; border-radius: 5px; padding: 12px; }
.related span { display: block; font-size: .875rem; margin-top: 5px; }
.content hr { border: 0; height: 1px; background: #cdd8cc; }
.content a { color: var(--green); }
figure img { display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto; border-radius: 3px; }
figcaption { font-size: .8rem; line-height: 1.55; color: var(--muted); margin-top: 7px; }
.empty { text-align: center; padding: clamp(80px,15vh,155px) 12px 20px; }
.empty-mark { display: grid; place-items: center; margin: 0 auto 12px; width: 48px; height: 48px; border-radius: 13px; background: #f1f4f1; color: #83958a; }
.empty-mark .icon { width: 24px; height: 24px; }
.empty strong { font-weight: 550; color: #65766b; font-size: .94rem; }
.status { padding: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mobile-nav { display: none; }
dialog { width: min(640px,calc(100% - 24px)); max-height: min(80dvh,790px); border: 1px solid #c5d3c9; padding: 0; color: var(--ink); border-radius: 13px; background: #fff; box-shadow: 0 24px 95px #0b241e40; }
dialog[open] { display: flex; flex-direction: column; }
dialog::backdrop { background: #142d2460; }
.dialog-head { justify-content: space-between; padding: 22px 22px 16px; }
.dialog-head h2 { font-size: 1.35rem; letter-spacing: -.045em; }
.search { margin: 0 22px; gap: 8px; border: 1px solid #bdcdc1; border-radius: 7px; padding: 0 11px; color: var(--muted); }
.search:focus-within { outline: 2px solid #478477; }
.search input { width: 100%; border: 0; min-height: 42px; color: var(--ink); padding: 0; outline: 0; }
.filters { gap: 6px; margin: 13px 22px 14px; flex-wrap: wrap; }
.filters button { padding: 7px 10px; border-radius: 6px; background: #f0f4f0; font-size: .87rem; }
.filters button[aria-pressed=true] { background: var(--green); color: white; }
.library-results { overflow-y: auto; padding: 0 13px 12px; border-top: 1px solid var(--line); }
.result { width: 100%; display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 7px; padding: 12px 10px; text-align: left; border-bottom: 1px solid #e8ede9; background: #fff; }
.result:hover,.result[aria-current=true] { background: #eef5ef; }
.result strong { display: block; font-size: 1rem; line-height: 1.45; letter-spacing: -.03em; }
.result small { display: block; margin-top: 4px; font-size: .8rem; color: var(--muted); }
.no-results { padding: 30px 8px; text-align: center; color: var(--muted); }
@media(max-width:1199px){ .article-strip { --visible: 3; } .board { gap: 8px; } }
@media(max-width:900px){ .article-strip { --visible: 2; } }
@media(max-width:760px){
  .mast-inner { height: 56px; }
  .brand img { width: 28px; height: 28px; }
  .brand strong { font-size: 26px; }
  .brand-divider { margin-inline: 3px; }
  .publication { font-size: 18px; }
  .language-pair { gap: 5px; font-size: .8rem; }
  .language-pair .icon { display: none; }
  .page-heading { margin: 22px 0 14px; }
  .coverage { font-size: .81rem; }
  .library-button { padding: 9px; gap: 5px; font-size: .83rem; }
  .story-card { grid-template-columns: 58px 1fr; gap: 9px; min-height: 76px; }
  .thumb { width: 58px; height: 58px; }
  .board-tools { margin-top: 11px; }
  .mobile-nav { display: flex; gap: 2px; padding: 4px; background: #e7ede7; border-radius: 7px; margin-bottom: 9px; }
  .mobile-nav button { flex: 1; padding: 9px 2px; border-radius: 5px; background: transparent; font-size: .87rem; color: var(--soft-ink); }
  .mobile-nav button[aria-pressed=true] { color: var(--green); font-weight: 700; background: #fff; box-shadow: 0 1px 4px #142d2418; }
  .board { display: block; }
  .panel:not(.mobile-active) { display: none; }
  .panel-body { height: auto; min-height: 275px; }
  .article-body { padding: 18px; }
  .article-body h2 { font-size: 1.45rem; }
  .empty { padding-top: 75px; }
}
@media(max-width:540px){ .article-strip { grid-auto-columns: 82%; } }
@media(prefers-reduced-motion:reduce){ * { scroll-behavior: auto!important; } }
