/* Hallmark · checked: 2026-10-28 · genre: atmospheric (inferred)
 * floor: 0 FAIL · fixed: 9 (7a, 26b, 34, 39b, 48, 54, 63, 71, F3) · structural: 4 printed (8, 44, 77, 79)
 * built: the project · redesign: polish · v2.0.0 */
/* Hallmark · waive 3 · faction and way rows hold the dongchi pixel sprites drawn for this site, not stock icons · the polish keeps the layout; only a full redesign recomposes these twin rows */
/* Hallmark · waive 39b · the join-copy button is the dongchi.me address itself, set at display size like the hero address · the address row stays large so the polish keeps it; the map pins now stand 44px */
/* Hallmark · dismissed 41 · body sets color: var(--paper) and the join section and footer inherit it; both read light on dark in the 1440 render */
/* Hallmark · answered F15 · the polish keeps the layout; the 48, 56 and 80px gaps belong to the map, the faction and way rows and the join split */
/* Hallmark · dropped "마인크래프트 동치미" · 54 names the eyebrow; its fact moved into the hero address label */
/* Hallmark · dropped "여정의 시작과 끝", "물길을 거슬러", "돌아올 곳을 짓는 일", "뜨거운 균열 너머", "찢긴 세계의 흔적" · 54 names the kicker over each region head; each panel text already says it */
/* Hallmark · reworded "리소스팩 · 초대코드 · 선택 모드 설치" to "리소스팩, 초대코드, 선택 모드 설치" · 63 names the dots */
/* Hallmark · reworded "처음으로 ↑" to "처음으로" · 63 names the glued arrow */
:root {
  color-scheme: dark;
  --night: #091719;
  --night-veil: #091719e6;
  --night-haze: #09171955;
  --deep: #0b1517;
  --village: #101e1d;
  --village-veil: #101e1dcc;
  --village-veil-strong: #101e1dd9;
  --map-ground: #0d232c;
  --pin-ground: #142a29;
  --pin-line: #a0b0a6;
  --compass-ink: #263d32;
  --paper: #e1e4d8;
  --paper-hover: #eef1e8;
  --muted: #acbdb6;
  --gold: #d7bc82;
  --line: #b5c4b52b;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Gowun Batang", Georgia, serif;
  --sans: "Noto Sans KR", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--night); scroll-behavior: smooth; scroll-padding-top: 24px; overflow-x: clip; }
body { margin: 0; color: var(--paper); font: 16px/1.8 var(--sans); word-break: keep-all; overflow-wrap: break-word; overflow-x: clip; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
button:active, .button:active { translate: 0 1px; }
button:disabled { cursor: not-allowed; opacity: .5; translate: none; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
h1 { font: 500 clamp(2.1rem, 3.6vw, 3.1rem)/1.45 var(--sans); letter-spacing: -.045em; }
h2 { font: 400 clamp(1.75rem, 3vw, 2.8rem)/1.4 var(--serif); letter-spacing: -.035em; }
h3 { font: 400 1.8rem/1.45 var(--serif); }
.shell { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: clamp(72px, 8vw, 112px); }
.section-lead { color: var(--muted); max-width: 42ch; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--paper); color: var(--deep); padding: 10px 20px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px max(48px, calc((100% - 1240px)/2)); min-height: 96px; border-bottom: 1px solid var(--line); }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 208px; height: auto; image-rendering: pixelated; }
.site-header nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 28px; font-size: 1rem; }
.site-header a:hover { color: var(--gold); }
.nav-join { color: var(--gold); }
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 620px; }
.hero-landscape { position: absolute; z-index: -3; inset: 0; }
.hero-landscape picture, .hero-art { width: 100%; height: 100%; }
.hero-art { object-fit: cover; object-position: 65% center; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--night) 0%, var(--night-veil) 27%, var(--night-haze) 58%, transparent 85%); }
.hero-content { padding-block: 90px 110px; position: relative; }
.hero-lead { margin-top: 22px; color: var(--paper); }
.hero-join { margin-top: 38px; max-width: 435px; }
.server-address { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.meta { color: var(--muted); font-size: 1rem; flex-basis: 100%; }
#address { font: 500 1.85rem/1.4 var(--sans); user-select: all; }
#copy { padding: 8px 0; border: 0; border-bottom: 1px solid var(--gold); background: none; color: var(--gold); font-size: 1rem; }
.join-requirement { color: var(--muted); font-size: 1rem; margin-top: 12px; max-width: 35ch; }
.button { display: inline-flex; justify-content: center; align-items: center; padding: 12px 25px; min-height: 48px; font-size: 1rem; font-weight: 500; transition: background-color 200ms var(--ease-out); }
.button-light { background: var(--paper); color: var(--night); margin-top: 24px; }
.button-light:hover { background: var(--paper-hover); }
.hero-bottom { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.scroll-cue { font-size: .875rem; color: var(--muted); }
.art-caption { color: var(--paper); font-size: .8rem; text-shadow: 0 0 6px var(--night), 0 1px 2px var(--night), 0 0 2px var(--night); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 40px; }
.atlas { border-top: 1px solid var(--line); background: var(--night); }
.atlas-stage { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: center; gap: 48px; }
.map-frame, .region-journal, .region-descriptions { min-width: 0; }
.map-viewport { position: relative; overflow: hidden; aspect-ratio: 1448/1086; background: var(--map-ground); border: 1px solid var(--line); }
.map-picture, .map-picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.map-pins { position: absolute; inset: 0; z-index: 2; }
.map-pin { position: absolute; display: flex; align-items: center; gap: 8px; border: 1px solid var(--pin-line); background: var(--pin-ground); padding: 8px 12px; font-size: .875rem; line-height: 1.5; transform: translate(-50%, -50%); white-space: nowrap; min-height: 44px; }
.map-pin[aria-pressed="true"] { color: var(--night); background: var(--gold); outline: 1px solid var(--gold); outline-offset: 3px; }
.pin-dot { width: 5px; height: 5px; background: currentColor; border-radius: 50%; flex: none; }
.map-pin:focus-visible, .map-pin[aria-pressed="true"]:focus-visible { outline: 2px solid var(--night); outline-offset: 2px; box-shadow: 0 0 0 4px var(--paper); }
.map-pin[aria-pressed="true"] .pin-dot { transform: rotate(45deg); border-radius: 0; }
.pin-castle { left: 65%; top: 41%; }.pin-resource { left: 27%; top: 30%; }.pin-home { left: 84%; top: 19%; }.pin-hell { left: 57%; top: 84%; }.pin-end { left: 87%; top: 68%; }
.map-compass { position: absolute; right: 16px; top: 12px; z-index: 3; text-align: center; color: var(--compass-ink); }
.map-frame figcaption { font-size: .875rem; color: var(--muted); margin-top: 14px; }
.journal-heading { color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.region-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 18px; }
.region-tabs button { border: 0; background: none; padding: 9px 10px; font-size: 1rem; color: var(--muted); }
.region-tabs button[aria-pressed="true"] { color: var(--gold); box-shadow: inset 0 -2px var(--gold); }
.region-descriptions { min-height: 270px; }
.region-descriptions article { padding-top: 24px; }
.region-descriptions h3 { margin-bottom: 12px; }
.region-descriptions article > p { color: var(--muted); }
.region-note { margin-top: 16px; }
.journal-footer { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.factions { background: var(--deep); border-block: 1px solid var(--line); }
.faction-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.faction-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; margin-top: 52px; }
.faction { min-width: 0; }
.faction-emblem { width: 128px; height: 128px; margin-bottom: 24px; }
.faction-emblem img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.faction-role { color: var(--muted); font-size: .875rem; margin-bottom: 8px; }
.faction h3 { margin-bottom: 12px; }
.faction .motive { margin-bottom: 12px; }
.faction > p:last-child { color: var(--muted); max-width: 30ch; }
.faction-note { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.life { background: var(--village); }
.life-scene { position: relative; min-height: 500px; isolation: isolate; overflow: hidden; }
.life-picture { position: absolute; inset: 0; z-index: -3; }
.life-picture img { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.life-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--village-veil), transparent 75%), linear-gradient(0deg, var(--village), transparent 45%); }
.life-heading { padding-top: 160px; padding-bottom: 150px; }
.life-heading > p { margin-top: 22px; max-width: 40ch; }
.life-caption { position: absolute; bottom: 24px; right: 48px; }
.ways-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; padding-top: 20px; padding-bottom: 96px; }
.way img { image-rendering: pixelated; width: 96px; height: 96px; object-fit: contain; margin-bottom: 22px; }
.way h3 { font: 500 1.35rem/1.5 var(--sans); margin-bottom: 12px; }
.way p { color: var(--muted); max-width: 32ch; }
.join-section { background: var(--night); border-top: 1px solid var(--line); }
.join-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.join-heading .section-lead { margin-top: 20px; }
.join-copy { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; max-width: 400px; width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 18px 0; margin-top: 20px; text-align: left; }
.join-copy > span:first-child { font-size: 1.85rem; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.join-copy .copy-label { color: var(--gold); }
.join-copy-status { min-height: 28px; color: var(--gold); }
.join-guide { padding-left: 48px; border-left: 1px solid var(--line); }
.join-guide .button { margin-top: 0; }
.join-guide p { color: var(--muted); margin-top: 16px; }
.text-link { display: inline-flex; margin-top: 22px; color: var(--gold); border-bottom: 1px solid var(--line); }
.text-link:hover { border-color: var(--gold); }
.footer { background: var(--deep); padding: 38px 0 28px; border-top: 1px solid var(--line); }
.footer-main { display: flex; align-items: center; flex-wrap: wrap; gap: 30px; padding-bottom: 28px; }
.footer-main > p { color: var(--muted); }
.footer-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 24px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
@media (max-width: 1000px) {
  .shell { width: calc(100% - 64px); }
  .site-header { padding-inline: 32px; }
  .atlas-stage { grid-template-columns: minmax(0, 1fr) 270px; gap: 28px; }
  .faction-grid, .ways-list { gap: 32px; }
  .section-heading, .faction-heading { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 800px) {
  .atlas-stage { grid-template-columns: minmax(0, 1fr); }
  .region-descriptions { min-height: 0; }
  .join-layout { gap: 32px; }
  .join-guide { padding-left: 28px; }
  .footer-links { margin-left: 0; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 40px); }
  .site-header { padding: 16px 20px; gap: 16px; min-height: 80px; }
  .brand img { width: 156px; }
  .site-header nav { gap: 8px 16px; font-size: .875rem; }
  .site-header nav a[href="#life"] { display: none; }
  .hero { min-height: 0; }
  .hero-content { padding-top: 220px; padding-bottom: 100px; }
  .hero h1 { font-size: clamp(1.9rem, 7.5vw, 2.6rem); }
  .hero-join { margin-top: 24px; }
  .hero-landscape { height: 260px; }
  .hero-art { object-position: 72% center; }
  .hero-shade { background: linear-gradient(180deg, transparent 90px, var(--night) 260px); }
  .hero-bottom { justify-content: flex-end; bottom: 20px; }
  .hero-bottom .art-caption { max-width: 135px; text-align: right; }
  .scroll-cue { display: none; }
  .faction-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 32px; }
  .faction { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 22px; }
  .faction-emblem { grid-row: span 4; width: 96px; height: 96px; margin: 0; }
  .faction h3 { font-size: 1.6rem; margin-bottom: 12px; }
  .faction-role { font-size: .875rem; }
  .faction .motive, .faction > p:last-child { grid-column: 2; max-width: none; }
  .faction-note { margin-top: 32px; }
  .life-shade { background: linear-gradient(0deg, var(--village) 0%, var(--village-veil-strong) 30%, transparent 85%); }
  .life-heading { padding-top: 300px; padding-bottom: 100px; }
  .life-caption { right: 20px; bottom: 20px; }
  .ways-list { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-bottom: 72px; }
  .way { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 22px; }
  .way img { grid-row: span 2; width: 96px; height: 96px; margin: 0; }
  .way p { max-width: none; }
  .join-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .join-guide { border-left: 0; padding: 0; }
  .footer { padding-bottom: 90px; }
  .footer-main { gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 16px; }
}
@media (max-width: 620px) {
  .map-viewport { aspect-ratio: 2/3; }
  .pin-castle { left: 52%; top: 46%; }.pin-resource { left: 23%; top: 18%; }.pin-home { left: 76%; top: 19%; }.pin-hell { left: 28%; top: 83%; }.pin-end { left: 75%; top: 83%; }
  .map-pin { padding: 8px; font-size: .875rem; }
}
@media (max-width: 380px) {
  .site-header { align-items: flex-start; }
  .faction, .way { grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; }
  .faction-emblem, .way img { width: 64px; height: 64px; }
  .server-address { gap: 12px 14px; }
  #address { font-size: 1.65rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
