:root {
  color-scheme: light;
  --paper: #f9f7f0;
  --surface: #fffdf7;
  --ink: #202a23;
  --muted: #515b51;
  --green: #244238;
  --green-deep: #18322a;
  --border: #d8d8cb;
  --rust: #873e29;
  --serif: Georgia, 'Times New Roman', serif;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .65; cursor: wait; }
img, video { display: block; width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
:focus-visible { outline: 2px solid #a04b2f; outline-offset: 4px; }
.wrap { width: min(calc(100% - 104px), 1216px); margin-inline: auto; }
.skip { position: fixed; z-index: 3; top: .8rem; left: .8rem; padding: .8rem; background: var(--surface); transform: translateY(-160%); }
.skip:focus { transform: none; }
.masthead { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: .65rem; font: 1.2rem var(--serif); text-decoration: none; }
.brand-mark { width: 18px; height: 18px; border: 1px solid var(--green); border-radius: 50%; position: relative; flex-shrink: 0; }
.brand-mark::before, .brand-mark::after { content: ''; position: absolute; background: var(--green); inset: 3px 7px; }
.brand-mark::after { transform: rotate(90deg); }
.masthead nav { display: flex; gap: clamp(1rem, 3vw, 2.8rem); font-weight: 550; font-size: .94rem; }
.masthead nav a { text-decoration: none; padding-block: .4rem; }
.masthead nav a:hover, .masthead nav [aria-current] { text-decoration: underline; }
.eyebrow { color: var(--eyebrow-color, var(--rust)); text-transform: uppercase; letter-spacing: .15em; font-size: .82rem; font-weight: 700; line-height: 1.5; }
.intro { display: grid; grid-template-columns: 1.02fr 1fr; min-height: 440px; margin-block: 32px 50px; border: 1px solid var(--border); }
.intro-text { padding: clamp(2.6rem, 5.5vw, 5.25rem) clamp(1.8rem, 5vw, 4.5rem); align-self: center; background: var(--surface); }
.intro h1 { font-size: var(--page-title-size, clamp(3.1rem, 6.1vw, 6.2rem)); line-height: .96; letter-spacing: -.066em; margin-block: 1.05rem 1.35rem; overflow-wrap: anywhere; }
.intro-copy { font-family: var(--intro-font, inherit); font-size: var(--page-body-size, clamp(1rem, 1.65vw, 1.16rem)); line-height: 1.65; max-width: 38ch; color: var(--muted); white-space: pre-line; }
.intro-copy + .intro-copy { margin-top: 1em; }
.primary, .secondary { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: .67rem 1.05rem; border: 1px solid var(--green); font-size: .95rem; font-weight: 650; text-decoration: none; }
.primary { color: white; background: var(--green); }
.primary:hover { background: var(--green-deep); }
.secondary { color: var(--reading-accent, var(--green)); background: var(--surface); }
.secondary:hover { background: var(--paper); }
.intro .primary { margin-top: 1.55rem; }
.hero-art { min-height: 290px; position: relative; overflow: hidden; isolation: isolate; background: #273f34; }
.hero-art::before { content: ''; position: absolute; inset: 0; opacity: .21; background-image: linear-gradient(#b2a376 1px, transparent 1px), linear-gradient(90deg, #b2a376 1px, transparent 1px); background-size: 42px 42px; }
.hero-art::after { content: ''; position: absolute; inset: 6%; border: 1px solid #b3ad7d50; pointer-events: none; }
.orbit { position: absolute; border-radius: 50%; aspect-ratio: 1; width: 72%; left: 25%; top: 52%; transform: translate(-50%, -50%); border: 1px solid #c9c6a2a0; }
.orbit-two { left: 69%; width: 84%; }
.orbit-three { left: 56%; width: 52%; border-style: dashed; opacity: .74; }
.hero-disk { position: absolute; border-radius: 50%; aspect-ratio: 1; width: 23%; left: 56%; top: 52%; transform: translate(-50%, -50%); background: radial-gradient(circle at 40% 35%, #e0b77c, #ad654d 70%); box-shadow: 0 0 70px #c5834e45; }
.cross { position: absolute; height: 15px; width: 15px; left: 10%; top: 12%; }
.cross::before, .cross::after { content: ''; position: absolute; inset: 0 7px; background: #d7cb9a; }
.cross::after { transform: rotate(90deg); }
.cross-b { left: auto; right: 10%; top: auto; bottom: 12%; }
.stories { margin-bottom: 66px; }
.section-head { border-bottom: 1px solid var(--border); margin-bottom: 22px; padding-bottom: .7rem; }
.section-head h2, .next-story h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); letter-spacing: -.04em; }
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.story-card { border: 1px solid var(--border); text-decoration: none; background: var(--surface); display: flex; flex-direction: column; }
.story-card:hover { border-color: var(--green); }
.card-cover { height: clamp(124px, 17vw, 220px); overflow: hidden; }
.cover-image, .cover-art { height: 100%; }
.cover-image { object-fit: cover; }
.cover-art { overflow: hidden; position: relative; isolation: isolate; }
.cover-art::before, .cover-art::after, .cover-art span { content: ''; position: absolute; display: block; }
.cover-art.urumqi { background: linear-gradient(122deg, #8e452f, #cc825a); }
.cover-art.urumqi::before { background: #f2c18a; top: 28%; left: 21%; width: 18%; aspect-ratio: 1; border-radius: 50%; }
.cover-art.urumqi::after { inset: 39% -10% -45% 29%; border-radius: 50%; border: 1px solid #ffd2a69c; box-shadow: 0 0 0 13px #ffd2a626, 0 0 0 27px #ffd2a632, 0 0 0 43px #ffd2a626, 0 0 0 62px #ffd2a620, 0 0 0 85px #ffd2a618; transform: rotate(-9deg); }
.cover-art.urumqi span { inset: 62% -35% 0 -25%; border-top: 1px solid #ffe0bda1; transform: rotate(4deg); }
.cover-art.mokpo { background: linear-gradient(120deg, #214650, #438185); }
.cover-art.mokpo::before { inset: -70% 30% 12% -20%; border-radius: 50%; border: 1px solid #dee4d5a8; box-shadow: 0 0 0 15px #dee4d52b, 0 0 0 32px #dee4d532, 0 0 0 50px #dee4d527, 0 0 0 70px #dee4d51f, 0 0 0 92px #dee4d51a; transform: rotate(9deg); }
.cover-art.mokpo::after { background: #e4d4a1; top: 27%; right: 19%; width: 12%; aspect-ratio: 1; border-radius: 50%; }
.cover-art.mokpo span { inset: 69% -20% 0 -25%; border-top: 1px solid #e1ead6a1; transform: rotate(-7deg); }
.card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(1.15rem, 2.6vw, 1.85rem); }
.card-copy h3 { font-size: clamp(1.55rem, 3.2vw, 2.65rem); letter-spacing: -.045em; margin: .25rem 0 .65rem; }
.card-copy p { color: var(--muted); line-height: 1.6; margin-bottom: 1.2rem; }
.read-label { color: var(--reading-accent, var(--green)); text-decoration: underline; margin-top: auto; font-size: .95rem; font-weight: 650; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1rem; margin-top: 60px; border-top: 1px solid var(--border); padding-block: 1.35rem 2.1rem; font-size: .88rem; color: var(--muted); }
.article-heading { max-width: 870px; padding-block: 2.2rem 2.05rem; }
.back-link { display: inline-block; color: var(--reading-accent, var(--green)); margin-bottom: 2rem; font-size: .95rem; }
.article-heading :is(h1, h2) { letter-spacing: -.06em; font-size: var(--page-title-size, clamp(2.55rem, 7vw, 5.8rem)); line-height: 1.02; padding-block: .65rem .9rem; overflow-wrap: anywhere; }
.article-summary { font-size: clamp(1rem, 2vw, 1.24rem); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.article-cover { max-width: 870px; height: clamp(100px, 20vw, 240px); margin-bottom: 2.5rem; }
.prose { max-width: 688px; width: calc(100% - 48px); margin: .25rem auto 0; font: var(--page-body-size, clamp(1.1rem, 2.2vw, 1.24rem))/1.78 var(--serif); overflow-wrap: break-word; }
.prose p + p, .prose p + h2, .prose p + .paragraph-with-media, .prose .paragraph-with-media + p, .prose .paragraph-with-media + .paragraph-with-media, .prose .figure, .intro-text .figure { margin-top: 1.3em; }
.prose p { white-space: pre-line; }
.opening { font-size: 1.23em; line-height: 1.5; font-style: italic; color: var(--reading-accent, var(--green)); margin-bottom: 1.35em; }
.figure { margin-bottom: 1.4em; }
.figure img { max-height: 560px; object-fit: contain; background: #edece3; }
.figure video { max-height: 560px; background: #202a23; }
.figure audio { display: block; width: 100%; }
.figure figcaption { font: .9rem/1.45 system-ui, sans-serif; color: var(--muted); margin-top: .55rem; }
.figure.photo { width: var(--photo-width, 100%); margin-inline: auto; }
.photo-size-30 { --photo-width: 30%; }
.photo-size-40 { --photo-width: 40%; }
.photo-size-50 { --photo-width: 50%; }
.photo-size-70 { --photo-width: 70%; }
.photo-size-100 { --photo-width: 100%; }
.paragraph-with-media { display: flow-root; }
.paragraph-with-media > .figure.photo { width: min(var(--photo-width, 40%), calc(50% - .65rem)); margin-block: .3rem .75rem; }
.paragraph-with-media > .photo-left { float: left; margin-inline: 0 1.2rem; }
.paragraph-with-media > .photo-right { float: right; margin-inline: 1.2rem 0; }
.article-lead-media .figure:first-child { margin-top: 0; }
.figure .audio-caption { display: flex; align-items: center; gap: .65rem; font-weight: 600; margin: 0 0 .65rem; }
.audio-icon { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); }
.references { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.references ul { font: 1rem/1.6 system-ui, sans-serif; padding-left: 1.3rem; }
.next-story { display: flex; justify-content: space-between; align-items: center; gap: 1rem; max-width: 870px; border-top: 1px solid var(--border); padding-top: 1.4rem; margin-top: 3.6rem; }
.next-story .secondary { flex-shrink: 0; }
.draft-banner { text-align: center; padding: .7rem; background: #ebdeab; }
.draft-banner a { margin-left: .7rem; }
.gate { max-width: 750px; min-height: 50vh; padding-block: 4.4rem; }
.gate h1, .edit-heading h1 { font: 650 clamp(1.9rem, 4vw, 2.85rem)/1.24 system-ui, sans-serif; margin-block: .5rem 1rem; }
.gate p:not(.eyebrow) { margin-bottom: 1.4rem; }
.edit-shell { max-width: 930px; margin-top: 2.1rem; }
.edit-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem; }
.edit-status { margin-block: 1rem; padding: .8rem 1rem; background: #ebeee4; border-left: 3px solid var(--green); }
.edit-status.error { background: #f6e4dc; color: #742c20; border-color: #9d402a; }
.edit-card { display: grid; gap: .9rem; padding: clamp(1rem, 3vw, 1.65rem); margin-bottom: 1rem; border: 1px solid var(--border); background: var(--surface); }
.edit-card h2, .edit-card h3 { font: 650 1.24rem/1.3 system-ui, sans-serif; }
.edit-card h3 { font-size: 1.05rem; }
.editor-tabs { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1rem; }
.editor-tabs button { border: 1px solid var(--border); background: var(--surface); color: var(--ink); padding: .6rem 1rem; min-height: 44px; font-weight: 650; }
.editor-tabs button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: white; }
[data-editor-panel][hidden] { display: none; }
.appearance-settings { min-width: 0; margin: 0; padding: .8rem; border: 1px solid var(--border); }
.appearance-settings legend { padding-inline: .35rem; font-weight: 650; }
.appearance-settings .edit-hint { margin-top: .7rem; }
.edit-media { display: grid; gap: .65rem; }
label { display: grid; gap: .35rem; font-size: .94rem; font-weight: 650; }
input, select, textarea { width: 100%; min-height: 42px; padding: .52rem .65rem; border: 1px solid #aeb5a8; background: white; color: var(--ink); font-weight: 400; border-radius: 0; }
textarea { resize: vertical; line-height: 1.55; }
.edit-hint { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.appearance-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: .85rem; }
.appearance-fields input[type="color"] { height: 42px; padding: .25rem; cursor: pointer; }
.media-list { display: grid; gap: .55rem; }
.media-row { display: grid; gap: .7rem; padding: .8rem; border: 1px solid var(--border); }
.media-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: .6rem; align-items: end; }
.media-row strong { overflow-wrap: anywhere; }
.media-row button { min-height: 42px; padding: .5rem .7rem; border: 1px solid var(--border); color: var(--rust); background: var(--surface); }
.edit-actions { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; background: var(--paper); border-top: 1px solid var(--border); padding: .8rem 0; }
.edit-actions p { font-size: .9rem; color: var(--muted); }
@media (max-width: 780px) {
  .wrap { width: calc(100% - 40px); }
  .intro { grid-template-columns: 1fr; margin-block: 20px 36px; }
  .hero-art { min-height: clamp(180px, 55vw, 300px); }
  .intro-text { padding: 2.2rem 1.55rem; }
  .intro h1 { font-size: var(--page-title-size, clamp(2.85rem, 9vw, 5rem)); }
}
@media (max-width: 600px) {
  .paragraph-with-media > .figure.photo { width: 100%; float: none; margin-inline: 0; }
}
@media (max-width: 540px) {
  .masthead { min-height: 64px; }
  .brand { font-size: 1.03rem; }
  .masthead nav { gap: .9rem; }
  .story-grid { grid-template-columns: 1fr; gap: 1rem; }
  .card-cover { height: 140px; }
  .next-story { align-items: flex-start; flex-direction: column; }
  .media-fields { grid-template-columns: 1fr; }
}

.offline-story { padding-block: 2rem; margin-top: 3rem; background: var(--paper); color: var(--ink); border-top: 1px solid var(--border); }
:root {
  --serif: 'Palatino Linotype', Palatino, Georgia, serif;
  --intro-font: var(--serif);
  --page-body-size: 16px;
  --ink: #544550;
  --paper: #dde6db;
  --surface: #dde6db;
  --muted: #544550;
  --border: #544550;
  --eyebrow-color: var(--ink);
  --reading-accent: var(--ink);
}
#urumqi {
  --serif: system-ui, -apple-system, sans-serif;
  --intro-font: var(--serif);
  --page-title-size: initial;
  --page-body-size: 14px;
  --ink: #402717;
  --paper: #ede7d4;
  --surface: #ede7d4;
  --muted: #402717;
  --border: #402717;
  --eyebrow-color: var(--ink);
  --reading-accent: var(--ink);
}
#mokpo {
  --serif: system-ui, -apple-system, sans-serif;
  --intro-font: var(--serif);
  --page-title-size: initial;
  --page-body-size: 14px;
  --ink: #342442;
  --paper: #dbf3ff;
  --surface: #dbf3ff;
  --muted: #342442;
  --border: #342442;
  --eyebrow-color: var(--ink);
  --reading-accent: var(--ink);
}