/* =========================================================
   벨라도나 해적단 · 세계관 사이트 공용 스타일
   ========================================================= */

:root {
  --ink: #0e151b;
  --ink-2: #111c24;
  --ink-3: #080c10;
  --ink-4: #0a0f13;
  --sea: #12293b;
  --sea-2: #163449;
  --wave: #4f87a8;
  --wave-hi: #6fa3c4;

  --paper: #eadcbc;
  --paper-ink: #2a1d12;
  --paper-muted: #6b5640;
  --paper-body: #4a3a28;
  --paper-sub: #5c4935;

  --text: #e9dfc8;
  --text-hi: #f3e6c8;
  --text-2: #cfc4ab;
  --text-3: #a89f8c;
  --text-4: #b8ad95;
  --text-5: #d9cdb2;

  --brass: #c9a24a;
  --brass-hi: #ecd08a;
  --brass-line: rgba(201, 162, 74, .28);
  --brass-soft: rgba(201, 162, 74, .55);

  --red: #a3271c;
  --red-dark: #7d1d15;
  --red-soft: #e0a090;
  --red-seal: #8e2219;
  --amber: #e8b44a;

  --font-serif: 'Hahmlet', serif;
  --font-display: 'Pirata One', serif;
  --font-mono: 'Courier Prime', 'Hahmlet', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-serif);
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--brass); }
a:hover { color: var(--brass-hi); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
[id] { scroll-margin-top: 84px; }
[hidden] { display: none !important; }
.view { animation: viewin .45s ease-out both; }
@keyframes viewin { from { opacity: 0; } to { opacity: 1; } }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1360px; }
.container--mid { max-width: 1000px; }
.container--narrow { max-width: 900px; }

/* ---------- 머리글 · 메뉴 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(8, 12, 16, .94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--brass-line);
}
.site-header__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 32px; padding-top: 10px; padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__en { font-family: var(--font-display); font-size: 30px; letter-spacing: .04em; color: var(--brass); }
.brand__ko { margin-top: 4px; font-size: 12px; letter-spacing: .32em; color: var(--text-3); }
.nav { display: flex; flex-wrap: wrap; gap: 2px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-size: 15px; color: var(--text); text-decoration: none;
  border-bottom: 2px solid transparent; transition: color .2s;
}
.nav a:hover { color: var(--brass-hi); }
.nav a[aria-current="page"] { color: var(--brass); font-weight: 600; border-bottom-color: var(--brass); }

/* ---------- 공용 타이포 ---------- */
.section { padding: 88px 0; }
.section--line { border-top: 1px solid rgba(201, 162, 74, .18); }
.bg-ink2 { background: var(--ink-2); }
.bg-ink4 { background: var(--ink-4); }
.bg-sea { background: var(--sea); }

.kicker { margin: 0 0 12px; font-family: var(--font-mono); font-size: 14px; letter-spacing: .2em; color: var(--brass); }
.title { margin: 0; font-size: clamp(34px, 4.4vw, 58px); font-weight: 900; line-height: 1.15; color: var(--text-hi); }
.title--page { font-size: clamp(40px, 5.2vw, 72px); line-height: 1.08; }
.title small { font-size: .5em; font-weight: 500; color: var(--text-3); }
.lead { margin: 18px 0 0; max-width: 40em; font-size: 18px; line-height: 1.8; color: var(--text-2); }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.page-head > p { margin: 0; max-width: 31em; font-size: 17px; line-height: 1.75; color: var(--text-2); }
.en { font-family: var(--font-display); color: var(--brass); letter-spacing: .03em; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px;
  font-size: 17px; font-weight: 700; text-decoration: none; border-radius: 4px;
  transition: transform .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.btn--primary { background: var(--red); color: #f9efd9; }
.btn--primary:hover { color: #fff; }
.btn--ghost { border: 1.5px solid var(--brass); color: var(--text); font-weight: 600; }
.btn--ghost:hover { color: var(--text-hi); }


.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.badge { padding: 6px 12px; font-size: 13px; color: var(--brass); border: 1px solid rgba(201, 162, 74, .5); border-radius: 2px; }
.badge--hot { background: var(--red); color: #f9efd9; border-color: var(--red); font-weight: 700; }

/* ---------- 양피지 · 찢긴 종이 ---------- */
.paper {
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 18% 12%, rgba(130, 86, 34, .20), transparent 38%),
    radial-gradient(circle at 85% 82%, rgba(130, 86, 34, .26), transparent 42%),
    radial-gradient(circle at 55% 45%, rgba(255, 250, 235, .55), transparent 60%);
  box-shadow: inset 0 0 70px rgba(92, 58, 22, .5);
  color: var(--paper-ink);
}
.torn {
  clip-path: polygon(0% 1.2%, 7% 0%, 13% 1%, 21% .2%, 28% 1.4%, 36% .3%, 44% 1.1%, 52% 0%, 60% 1.3%, 67% .4%, 75% 1.2%, 83% 0%, 90% 1%, 100% .3%,
    99% 8%, 100% 16%, 98.8% 25%, 100% 34%, 99.2% 43%, 100% 52%, 98.9% 61%, 100% 70%, 99.1% 79%, 100% 88%, 99% 96%,
    100% 99.4%, 92% 100%, 85% 98.8%, 77% 100%, 70% 99%, 62% 100%, 54% 98.9%, 46% 100%, 38% 99.2%, 30% 100%, 22% 98.8%, 14% 100%, 7% 99.1%, 0% 100%,
    1% 92%, 0% 83%, 1.2% 74%, 0% 65%, .8% 56%, 0% 47%, 1.1% 38%, 0% 29%, .9% 20%, 0% 11%);
}

/* ---------- 수배서 ---------- */
.poster { filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .55)); }
.poster__nail {
  position: relative; z-index: 2; width: 12px; height: 12px; margin: 0 auto -6px;
  border-radius: 50%; background: #3a2c1c; box-shadow: 0 2px 0 #1a120a;
}
.poster__sheet { padding: 16px 16px 18px; text-align: center; }
.poster__wanted { font-family: var(--font-display); font-size: 44px; line-height: .9; letter-spacing: .04em; }
.poster__doa { margin-top: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .28em; color: var(--paper-muted); }
.poster__photo { margin: 10px 0; border: 3px solid var(--paper-ink); background: var(--paper-ink); }
.poster__photo img {
  display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 26% 40%;
  filter: sepia(.55) contrast(1.06) saturate(.75); transition: filter .6s;
}
.poster:hover .poster__photo img { filter: none; }
.poster__name { font-size: 21px; font-weight: 900; line-height: 1.15; word-break: keep-all; }
.poster__role { margin-top: 2px; font-size: 12px; color: var(--paper-muted); }
.poster__reward { margin-top: 14px; padding: 8px 0; border-top: 2px solid var(--paper-ink); border-bottom: 2px solid var(--paper-ink); }
.poster__reward-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .3em; color: var(--paper-muted); }
.poster__bounty { margin-top: 8px; font-size: 22px; font-weight: 900; color: var(--red); }
.poster__reward .poster__bounty { margin-top: 0; font-size: 36px; line-height: 1.15; }
.poster__issuer { margin-top: 10px; font-size: 11px; letter-spacing: .12em; color: var(--paper-muted); }

.poster--big .poster__nail { width: 14px; height: 14px; margin-bottom: -7px; }
.poster--big .poster__sheet { padding: 22px 22px 24px; }
.poster--big .poster__wanted { font-size: 68px; line-height: .88; }
.poster--big .poster__photo { margin: 14px 0; }
.poster--big .poster__name { font-size: 31px; }
.poster--big .poster__role { margin-top: 4px; font-size: 14px; }

.stamp {
  position: absolute; padding: 6px 16px;
  border: 4px double var(--red); color: var(--red);
  font-size: 30px; font-weight: 900; letter-spacing: .12em;
  background: rgba(234, 220, 188, .14); transform: rotate(-12deg);
}

/* ---------- 해군청 공고 띠 ---------- */
.ticker { overflow: hidden; background: var(--red-dark); color: #f3e6c8; border-bottom: 1px solid #4e110c; }
.ticker__track { display: flex; width: max-content; animation: drift 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group {
  display: flex; gap: 40px; padding: 11px 20px;
  font-family: var(--font-mono); font-size: 14px; letter-spacing: .06em; white-space: nowrap;
}

/* ---------- 표지: 히어로 ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 200px; }
.hero__moon {
  position: absolute; top: 56px; left: 44%; width: 96px; height: 96px; border-radius: 50%;
  background: #efe4c6; box-shadow: 0 0 60px 18px rgba(239, 228, 198, .18);
}
.star { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #efe4c6; animation: twinkle 3.2s ease-in-out infinite; }
.star--s { width: 2px; height: 2px; }
.hero__gulls { position: absolute; top: 210px; left: 30%; animation: gull 9s ease-in-out infinite alternate; }
.hero__fog {
  position: absolute; left: -10%; right: -10%; bottom: 90px; height: 220px;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(160, 180, 190, .16), transparent 60%),
    radial-gradient(ellipse at 75% 50%, rgba(160, 180, 190, .12), transparent 55%);
  animation: fog 16s ease-in-out infinite alternate;
}
.hero__grid { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero__text { flex: 1 1 460px; min-width: 0; animation: rise 1s ease-out both; }
.hero__title {
  margin: 0; font-size: clamp(44px, 5vw, 76px); font-weight: 900; line-height: 1.1;
  letter-spacing: -.02em; color: var(--text-hi);
}
.hero__lead { margin: 28px 0 0; max-width: 34em; font-size: 18px; line-height: 1.8; color: var(--text-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-posters { position: relative; flex: 1 1 460px; min-width: 0; height: 660px; }
.hero-posters__flag { position: absolute; top: -20px; right: 0; display: flex; align-items: flex-start; }
.hero-posters__pole { width: 5px; height: 190px; background: #5a4630; border-radius: 2px; }
.flag-cloth { transform-origin: 0 50%; animation: flag 2.4s ease-in-out infinite; }
.slot { position: absolute; animation: drop 1.2s cubic-bezier(.2, .8, .2, 1) both; }
.slot--left { left: 0; top: 96px; width: 220px; z-index: 1; animation-delay: .5s; }
.slot--right { right: 8px; top: 150px; width: 220px; z-index: 1; animation-delay: .8s; }
.slot--front { left: calc(50% - 160px); top: 20px; width: 320px; z-index: 3; animation-delay: 1.1s; }
.swing { transform-origin: 50% 0; animation: swing 5.5s ease-in-out infinite; }
.slot .stamp { right: -26px; top: 300px; animation: slam .9s 1.5s cubic-bezier(.2, .9, .3, 1.2) both; }

.waves { position: absolute; left: 0; width: 200%; animation: drift 26s linear infinite; }
.waves--back { bottom: 34px; height: 130px; z-index: 1; animation-direction: reverse; }
.waves--front { bottom: 0; height: 120px; z-index: 2; animation-duration: 15s; }

/* ---------- 표지: 세계관 ---------- */
.world { padding: 72px 0 40px; }
.world__grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.world__text { flex: 1 1 420px; min-width: 0; }
.world__text p { margin: 22px 0 0; font-size: 18px; line-height: 1.85; color: var(--text-2); }
.notice { flex: 1 1 480px; min-width: 0; padding: 32px; border-radius: 2px; transform: rotate(.6deg); }
.notice__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding-bottom: 12px; border-bottom: 2px solid var(--paper-ink);
}
.notice__head b { font-family: var(--font-display); font-size: 30px; font-weight: 400; }
.notice__head span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--paper-muted); }
.notice__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; margin: 22px 0 0; }
.fact dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--red); }
.fact dd { margin: 6px 0 0; }
.fact strong { display: block; font-size: 20px; font-weight: 800; }
.fact span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--paper-sub); }
.notice__more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; font-size: 15px; font-weight: 700; color: var(--red-dark); }
.notice__more:hover { color: var(--red); }

/* ---------- 표지: 항해하는 배 ---------- */
.sail-strip { position: relative; height: 330px; overflow: hidden; background: var(--sea); }
.sail-strip__ship { position: absolute; bottom: 70px; left: -34%; animation: sail 34s linear infinite; }
.sail-strip__caption {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 28px; font-family: var(--font-mono); font-size: 14px; letter-spacing: .14em;
}
.sail-strip__caption p { margin: 0; color: #8fb3c9; }
.sea-line { position: absolute; left: 0; right: 0; bottom: 34px; overflow: hidden; }
.sea-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 34px; background: var(--ink); }

.ascii { margin: 0; font-family: 'Courier Prime', monospace; white-space: pre; line-height: 1.2; }
.ascii-ship { font-size: 15px; line-height: 1.15; color: var(--paper); }
.ascii-waves {
  width: max-content; font-family: 'Courier Prime', monospace; font-size: 18px; line-height: 1.3;
  color: var(--wave); white-space: pre; animation: drift 12s linear infinite;
}
.bob { animation: bob 4s ease-in-out infinite; }

/* ---------- 메뉴의 테마곡 플레이어 ---------- */
.music { display: flex; align-items: center; gap: 2px; padding-left: 10px; border-left: 1px solid var(--brass-line); }
.music__now {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px;
  font-size: 14px; color: var(--brass); text-decoration: none; white-space: nowrap;
}
.music__title { max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
.music__eq { flex: none; display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.music__eq i { width: 3px; height: 100%; background: currentColor; transform-origin: 50% 100%; transform: scaleY(.3); }
.music[data-state="playing"] .music__eq i { animation: eq 1s ease-in-out infinite; }
.music__eq i:nth-child(2) { animation-delay: .25s; }
.music__eq i:nth-child(3) { animation-delay: .5s; }
.music__eq i:nth-child(4) { animation-delay: .15s; }
.music:not([data-state="playing"]) .music__now { color: var(--text-3); }
.music__btn {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 44px;
  padding: 0; color: var(--text); background: transparent; border: 0; border-radius: 4px; cursor: pointer;
}
.music__btn:hover { color: var(--brass-hi); background: rgba(201, 162, 74, .1); }
.music[data-state="playing"] .ico-play, .music:not([data-state="playing"]) .ico-pause { display: none; }
.music[data-state="waiting"] [data-music="toggle"], .music[data-state="muted"] [data-music="toggle"] { color: var(--brass); animation: blinkglow 1.6s ease-in-out infinite; }
.yt-offstage { position: fixed; left: -10000px; top: 0; width: 320px; height: 180px; }

/* ---------- 표지: 테마곡 ---------- */
.songs-section { background: #17110c; border-top: 1px solid rgba(201, 162, 74, .2); }
.jukebox { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; margin-top: 44px; }
.jukebox__screen {
  flex: 2 1 520px; min-width: 0; overflow: hidden;
  background: #06090c; border: 1px solid rgba(201, 162, 74, .35); border-radius: 6px;
}
.jukebox__screen.is-calling { animation: calling 1s ease-in-out 4; }
@keyframes calling { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 74, 0); } 50% { box-shadow: 0 0 0 10px rgba(201, 162, 74, .55); } }
.yt-stage { position: relative; aspect-ratio: 16 / 9; }
.yt-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tracks { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.tracks li { display: flex; flex-direction: column; gap: 4px; }
.track {
  display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px 18px; text-align: left;
  font: inherit; color: inherit; cursor: pointer;
  background: var(--ink); border: 1px solid rgba(201, 162, 74, .3); border-radius: 6px; transition: border-color .2s, background .2s;
}
.track:hover { border-color: var(--brass); }
.track.is-current { border-color: var(--brass); background: rgba(201, 162, 74, .08); }
.track__wheel { flex: none; }
html[data-music="playing"] .track.is-current .track__wheel { animation: spin 16s linear infinite; }
.track__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.track__no { font-family: 'Courier Prime', monospace; font-size: 12px; letter-spacing: .24em; color: var(--brass); }
.track__title { margin-top: 4px; font-size: 22px; font-weight: 800; color: var(--text-hi); }
.track__yt { align-self: flex-end; display: inline-flex; align-items: center; min-height: 32px; font-size: 13px; color: var(--text-3); }
.eq { display: flex; align-items: flex-end; gap: 4px; height: 30px; }
.eq span { width: 4px; height: 100%; background: var(--brass); transform-origin: 50% 100%; transform: scaleY(.2); }
html[data-music="playing"] .track.is-current .eq span { animation: eq 1.1s ease-in-out infinite; }
.eq span:nth-child(2) { animation-delay: .3s; }
.eq span:nth-child(3) { animation-delay: .6s; }
.eq span:nth-child(4) { animation-delay: .15s; }
.eq span:nth-child(5) { animation-delay: .45s; }

/* ---------- 바닥글 ---------- */
.site-footer { background: var(--ink-3); border-top: 1px solid var(--brass-line); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 36px; padding-bottom: 36px; }
.site-footer__inner--end { justify-content: flex-end; padding-top: 28px; padding-bottom: 28px; }
.site-footer p { margin: 0; font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; color: var(--text-3); }
.next-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 700; }

/* =========================================================
   수배자 명단
   ========================================================= */
.wood {
  background-color: #2a1c12;
  background-image:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .28) 0 2px, transparent 2px 180px),
    repeating-linear-gradient(0deg, rgba(255, 235, 200, .025) 0 1px, transparent 1px 6px);
}
.board { padding: 56px 0 64px; border-bottom: 6px solid #1a110a; }
.poster-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 16px; margin-top: 44px; }
.pbtn {
  flex: 1 1 116px; max-width: 160px; min-width: 0; padding: 0; border: 0; background: none;
  font: inherit; color: inherit; text-align: center; text-decoration: none; cursor: pointer;
  animation: drop 1s cubic-bezier(.2, .8, .2, 1) both;
}
.pbtn .poster__sheet { padding: 10px 10px 12px; }
.pbtn .poster__wanted { font-size: 27px; }
.pbtn .poster__photo { margin: 8px 0 7px; border-width: 2px; }
.pbtn .poster__name { font-size: 15px; }
.pbtn .poster__role { font-size: 11px; line-height: 1.3; }
.pbtn .poster__bounty { margin-top: 5px; font-size: 14px; }
.pbtn:hover .poster__photo img, .pbtn.is-picked .poster__photo img { filter: none; }
.pbtn.is-picked .poster__nail { background: var(--red); }
.pbtn.is-picked .paper { box-shadow: inset 0 0 0 4px var(--red), inset 0 0 60px rgba(92, 58, 22, .5); }

.dossier-section { padding: 64px 0 40px; }
.dossier { display: flex; flex-wrap: wrap; gap: 48px 56px; align-items: flex-start; }
.dossier.is-flipping { animation: rise .7s ease-out both; }
.dossier__poster { position: relative; flex: 0 1 360px; min-width: 0; margin: 0 auto; }
.dossier__poster .poster { transform: rotate(-1.5deg); }
.dossier__poster .poster__nail { background: var(--red); box-shadow: 0 2px 0 #4e110c; }
.dossier__poster .poster__photo img { filter: sepia(.35) contrast(1.05); }
.dossier__poster .poster__wanted { font-size: 76px; }
.dossier__poster .poster__name { font-size: 34px; }
.dossier__poster .poster__reward .poster__bounty { font-size: 38px; }
.dossier__poster .stamp { right: -14px; top: 46%; font-size: 28px; transform: rotate(-10deg); }
.dossier.is-flipping .stamp { animation: slam .8s .45s cubic-bezier(.2, .9, .3, 1.2) both; }
.dossier__body { flex: 1 1 480px; min-width: 0; }
.dossier__body h2 { margin: 0; font-size: clamp(40px, 4.6vw, 60px); font-weight: 900; line-height: 1.1; color: var(--text-hi); }
.dossier__body .en { margin: 6px 0 0; font-size: 28px; }
.dossier__line { margin: 10px 0 0; font-size: 17px; color: var(--text-3); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 24px 0 0; border-top: 1px solid rgba(201, 162, 74, .3); }
.facts > div { padding: 12px 12px 12px 0; border-bottom: 1px solid rgba(201, 162, 74, .3); }
.facts .wide { grid-column: 1 / -1; }
.facts dt, .profile-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--text-3); }
.facts dd { margin: 4px 0 0; font-size: 17px; font-weight: 700; color: var(--text-hi); }
.facts .wide dd { font-weight: 400; }
.profile-row { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(201, 162, 74, .3); }
.profile-label { flex: none; width: 44px; }
.past { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0 0 0 18px; font-size: 16px; line-height: 1.6; color: var(--text-5); }
.profile-row + .shots { margin-top: 28px; }
.dossier-section { padding-bottom: 96px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  font: inherit; font-size: 15px; color: var(--text); cursor: pointer;
  background: transparent; border: 1.5px solid var(--brass-soft); border-radius: 999px;
  transition: background .2s, color .2s;
}
.chip:hover { border-color: var(--brass); }
.chip[aria-pressed="true"] { background: var(--brass); color: #1a130c; border-color: var(--brass); font-weight: 700; }
.shots { display: grid; gap: 16px; }
.shots + .shots { margin-top: 16px; }
.shots--faces { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.shots--scenes { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.thumb {
  position: relative; display: block; width: 100%; padding: 0; overflow: hidden;
  background: #06090c; border: 0; border-radius: 3px; cursor: pointer; font: inherit; color: inherit;
}
.thumb img { display: block; width: 100%; object-fit: cover; filter: sepia(.3) saturate(.85); transition: transform .6s, filter .6s; }
.shots--faces .thumb img { aspect-ratio: 1700 / 720; }
.shots--scenes .thumb img { aspect-ratio: 1216 / 832; }
.thumb:hover img, .thumb:focus-visible img { transform: scale(1.05); filter: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(5, 8, 10, .93); animation: fade .25s ease-out both;
}
.lightbox[hidden] { display: none; }
.lightbox__panel { position: relative; display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 1100px; animation: zoom .35s ease-out both; }
.lightbox__frame { padding: 12px; border-radius: 2px; }
.lightbox__frame img { display: block; width: 100%; max-height: 72vh; object-fit: contain; background: #06090c; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lightbox__caption { text-align: center; }
.lightbox__caption span { font-family: 'Courier Prime', monospace; font-size: 13px; color: var(--text-3); }
.lbtn {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  color: var(--text); background: rgba(8, 12, 16, .7); border: 1.5px solid rgba(233, 223, 200, .5); border-radius: 50%; cursor: pointer;
}
.lbtn:hover { background: var(--red); border-color: var(--red); }

/* =========================================================
   해도
   ========================================================= */
.chart { position: relative; margin-top: 40px; padding: 40px 32px 28px; border-radius: 3px; }
.chart::before, .chart::after { content: ""; position: absolute; pointer-events: none; }
.chart::before { inset: 12px; border: 2px solid rgba(42, 29, 18, .55); }
.chart::after { inset: 18px; border: 1px solid rgba(42, 29, 18, .35); }
.chart__compass { position: absolute; right: 30px; top: 30px; }
.chart__map { position: relative; overflow-x: auto; }
.chart__map .ascii { width: max-content; margin: 0 auto; font-size: clamp(9px, 1.4vw, 18px); color: var(--paper-ink); }
.compass-rose { transform-origin: 60px 60px; animation: spin 40s linear infinite; }
.compass-needle { transform-origin: 60px 60px; animation: needle 4s ease-in-out infinite; }
.mk { color: var(--red); font-weight: 700; }
.ib { display: inline-block; }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 22px; font-family: var(--font-mono); font-size: 14px; color: var(--paper-body); }
.legend b { color: var(--paper-ink); }
.jumps { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.jump {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px;
  font-size: 16px; color: var(--text); text-decoration: none;
  border: 1.5px solid var(--brass-soft); border-radius: 4px; transition: transform .2s;
}
.jump:hover { color: var(--text-hi); transform: translateY(-2px); }
.jump b { font-family: var(--font-display); font-size: 20px; font-weight: 400; color: var(--brass); }

.port { padding: 72px 0; border-top: 1px solid rgba(201, 162, 74, .18); }
.port__grid { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; }
.port--flip .port__grid { flex-wrap: wrap-reverse; }
.port__art, .port__text { flex: 1 1 460px; min-width: 0; }
.ascii-box { padding: 28px 20px; overflow-x: auto; background: #081016; border: 1px solid rgba(201, 162, 74, .3); border-radius: 4px; }
.ascii-box--hot { border-color: rgba(163, 39, 28, .55); }
.ascii-box .ascii { width: max-content; margin: 0 auto; font-size: 15px; color: var(--paper); }
.port__text .en { margin: 0 0 8px; font-size: 26px; }
.port__text h2 { margin: 0; font-size: clamp(34px, 3.8vw, 50px); font-weight: 900; color: var(--text-hi); }
.port__text h2 small { font-size: .5em; font-weight: 500; color: var(--text-3); }
.port__text > p:not(.en):not(.port__note) { margin: 16px 0 0; font-size: 17px; line-height: 1.8; color: var(--text-2); }
.districts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 28px; margin: 24px 0 0; }
.districts dt { font-weight: 800; color: var(--text); }
.districts dd { margin: 4px 0 0; font-size: 15px; line-height: 1.65; color: var(--text-4); }
.port__note { margin: 22px 0 0; padding: 12px 16px; background: rgba(201, 162, 74, .08); font-family: var(--font-mono); font-size: 14px; line-height: 1.7; color: var(--text-5); }
.port__note--hot { background: rgba(163, 39, 28, .12); color: #e3c9b8; }
.beam { animation: beam 2s ease-in-out infinite; }
.flicker { color: var(--amber); animation: flicker 3.4s linear infinite; }
.sway { color: var(--wave-hi); animation: sway 3.6s ease-in-out infinite; }
.glint { animation: glint 2.6s ease-in-out infinite; }
.pennant { color: var(--red-soft); transform-origin: 0 50%; animation: flagskew 1.6s ease-in-out infinite; }
.nudge { animation: nudge 2.2s ease-in-out infinite; }

.greyrock { padding: 72px 0; border-top: 1px solid rgba(201, 162, 74, .18); }
.greyrock__grid { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; }
.ping-mark { position: relative; flex: 0 0 auto; width: 140px; height: 140px; margin: 0 auto; }
.ping-mark i { position: absolute; inset: 40px; border: 2px solid var(--red); border-radius: 50%; animation: ping 2s ease-out infinite; }
.ping-mark i + i { animation-delay: 1s; }
.ping-mark b {
  position: absolute; inset: 52px; display: flex; align-items: center; justify-content: center;
  font-family: 'Courier Prime', monospace; font-size: 22px; color: #f9efd9; background: var(--red); border-radius: 50%;
}
.greyrock__text { flex: 1 1 520px; min-width: 0; }
.greyrock__text h2 { margin: 0; font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; color: var(--text-hi); }
.greyrock__text h2 small { font-size: .55em; font-weight: 500; color: var(--text-3); }
.greyrock__text p:last-child { margin: 16px 0 0; max-width: 46em; font-size: 17px; line-height: 1.8; color: var(--text-2); }

.ship-section { position: relative; overflow: hidden; padding: 80px 0 0; background: var(--sea); }
.ship-layout { display: flex; flex-wrap: wrap; gap: 40px 48px; align-items: center; margin-top: 40px; }
.ship-layout__art { flex: 1 1 560px; min-width: 0; overflow-x: auto; }
.ship-layout__art .ascii { width: max-content; margin: 0 auto; font-size: clamp(10px, 1.1vw, 15px); color: var(--paper); }
.ship-layout .mk { color: var(--amber); }
.ship-legend { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ship-legend li { display: flex; gap: 14px; align-items: baseline; font-size: 16px; line-height: 1.6; color: var(--text-5); }
.ship-legend li > span { flex: none; width: 30px; font-family: 'Courier Prime', monospace; font-weight: 700; color: var(--amber); }
.ship-legend b { color: var(--text-hi); }
.ship-section .sea-band { margin-top: 32px; overflow: hidden; }
.ship-section .sea-band + div { height: 40px; background: #0b1c29; }

/* =========================================================
   항해 규약
   ========================================================= */
.charter-wrap { position: relative; max-width: 900px; margin: 44px auto 0; }
.charter { position: relative; padding: 56px clamp(24px, 6vw, 72px) 48px; border-radius: 3px; transform: rotate(-.4deg); }
.charter::before { content: ""; position: absolute; inset: 14px; border: 2px solid rgba(42, 29, 18, .5); pointer-events: none; }
.charter__head { text-align: center; }
.charter__head b { display: block; font-family: var(--font-display); font-size: clamp(40px, 5vw, 60px); font-weight: 400; line-height: 1; }
.charter__head span { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .3em; color: var(--paper-muted); }
.articles { display: flex; flex-direction: column; gap: 28px; margin: 40px 0 0; padding: 0; list-style: none; }
.articles > li { display: flex; gap: 22px; align-items: baseline; }
.articles .num-roman { flex: none; width: 48px; font-family: var(--font-display); font-size: 40px; color: var(--red); text-align: right; }
.articles h3 { margin: 0; font-size: 23px; font-weight: 900; }
.articles p { margin: 4px 0 0; font-size: 16px; line-height: 1.7; color: var(--paper-sub); }
.shares { display: flex; flex-direction: column; gap: 6px; max-width: 420px; margin-top: 12px; }
.shares div { display: flex; align-items: center; gap: 10px; }
.shares b { width: 64px; font-size: 13px; }
.shares em { width: 36px; font-family: 'Courier Prime', monospace; font-size: 13px; font-style: normal; }
.shares i { flex: 1 1 auto; height: 14px; }
.shares i::before { content: ""; display: block; height: 100%; width: var(--w); background: var(--c); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.4s ease-out; }
.shares.is-in i::before { transform: scaleX(1); }
.shares div:nth-child(2) i::before { transition-delay: .2s; }
.shares div:nth-child(3) i::before { transition-delay: .4s; }
.signatures {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px;
  margin-top: 44px; padding-top: 20px; border-top: 1.5px solid rgba(42, 29, 18, .5);
}
.signatures p { margin: 0; font-family: var(--font-display); font-size: 22px; line-height: 1.5; color: var(--paper-body); }
.signatures span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--paper-muted); }
.charter-seal { position: absolute; right: -18px; bottom: -34px; transform: rotate(-14deg); }
.js .charter-wrap:not(.is-in) .charter-seal { opacity: 0; }
.charter-wrap.is-in .charter-seal { animation: slamseal .9s .3s cubic-bezier(.2, .9, .3, 1.2) both; }

.powers { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; margin-top: 40px; }
.power { padding: 28px 24px; background: #0b1218; border: 1px solid var(--brass-line); border-radius: 6px; transition: transform .3s, border-color .3s; }
.power:hover { transform: translateY(-4px); border-color: rgba(201, 162, 74, .7); }
.power__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.power h3 { margin: 18px 0 0; font-size: 24px; font-weight: 900; color: var(--text-hi); }
.power .en { margin: 4px 0 0; font-size: 18px; }
.power ul { display: flex; flex-direction: column; gap: 6px; margin: 16px 0 0; padding: 0 0 0 18px; font-size: 15px; line-height: 1.7; color: var(--text-4); }
.float { animation: bob 3.2s ease-in-out infinite; }
.cloth { transform-origin: 0 50%; animation: cloth 1.8s ease-in-out infinite; }
.blip { animation: pulse 2.4s ease-in-out infinite; }

.economy { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; margin-top: 40px; }
.converter { flex: 1 1 420px; min-width: 0; padding: 28px; background: var(--ink-3); border: 1px solid rgba(201, 162, 74, .35); border-radius: 6px; }
.converter h3 { margin: 0; font-size: 22px; font-weight: 900; color: var(--text-hi); }
.converter .chips { margin-top: 18px; }
.stepper { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.sq {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  font: inherit; font-size: 22px; color: var(--text); background: transparent; cursor: pointer;
  border: 1.5px solid var(--brass-soft); border-radius: 4px;
}
.sq:hover { background: rgba(201, 162, 74, .15); }
.num {
  width: 120px; min-height: 44px; padding: 0 12px; text-align: center;
  font-family: 'Courier Prime', monospace; font-size: 22px; color: var(--text-hi);
  background: var(--ink-3); border: 1.5px solid var(--brass-soft); border-radius: 4px;
}
.stepper b { font-size: 18px; color: var(--brass); }
.breakdown { margin-top: 22px; padding: 16px 18px; font-family: var(--font-mono); font-size: 17px; color: var(--text-hi); background: rgba(201, 162, 74, .08); border-radius: 4px; }
.buys-label { margin-top: 20px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--text-3); }
.buys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.buys li { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; font-size: 15px; border: 1px solid rgba(201, 162, 74, .2); border-radius: 4px; }
.buys li span { color: var(--text-4); }
.buys li b { font-family: 'Courier Prime', monospace; color: var(--text-hi); }
.prices { flex: 1 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px 28px; align-content: start; }
.prices h3 { margin: 0 0 8px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .2em; color: var(--brass); }
.prices h3 + dl + h3 { margin-top: 20px; }
.price-list { margin: 0; font-size: 15px; line-height: 1.5; }
.price-list div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed rgba(201, 162, 74, .25); }
.price-list dt { color: var(--text-4); }
.price-list dd { margin: 0; font-family: var(--font-mono); text-align: right; }
.price-list .hot { color: var(--red-soft); }
.regions { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 4px; }
.regions div { padding: 14px 16px; border: 1px solid rgba(201, 162, 74, .3); border-radius: 4px; }
.regions div.hot { border-color: rgba(163, 39, 28, .55); }
.regions b { display: block; color: var(--text-hi); }
.regions span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.6; color: var(--text-3); }

.timeline { position: relative; display: flex; flex-direction: column; gap: 36px; margin: 44px 0 0; padding: 0 0 0 44px; list-style: none; }
.timeline::before {
  content: ""; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 2px; background: var(--brass);
  transform-origin: 50% 0; transform: scaleY(0); transition: transform 2.4s ease-out;
}
.timeline.is-in::before { transform: scaleY(1); }
.event { position: relative; }
.event::before {
  content: ""; position: absolute; left: -38px; top: 6px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--brass); border: 3px solid var(--ink-2); box-shadow: 0 0 0 2px var(--brass);
}
.event--red::before { background: var(--red); box-shadow: 0 0 0 2px var(--red); }
.event--now::before { left: -40px; top: 4px; width: 20px; height: 20px; background: var(--text-hi); box-shadow: none; animation: pulse 2.4s ease-in-out infinite; }
.event time { font-family: 'Courier Prime', monospace; font-size: 15px; font-weight: 700; color: var(--brass); }
.event--red time { color: var(--red-soft); }
.event--now time { color: var(--text-hi); }
.event h3 { margin: 4px 0 0; font-size: 22px; font-weight: 900; color: var(--text-hi); }
.event p { margin: 6px 0 0; font-size: 16px; line-height: 1.75; color: var(--text-4); }

/* ---------- 스크롤 등장 ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 애니메이션 ---------- */
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes swing { 0%, 100% { transform: rotate(var(--r, 0deg)); } 50% { transform: rotate(calc(var(--r, 0deg) + 1.8deg)); } }
@keyframes drop { 0% { opacity: 0; transform: translateY(-70px) rotate(-10deg); } 70% { opacity: 1; transform: translateY(6px) rotate(1deg); } 100% { opacity: 1; transform: none; } }
@keyframes slam { 0% { opacity: 0; transform: scale(2.8) rotate(-20deg); } 55% { opacity: .9; transform: scale(.92) rotate(-12deg); } 72% { transform: scale(1.05) rotate(-12deg); } 100% { opacity: .9; transform: scale(1) rotate(-12deg); } }
@keyframes slamseal { 0% { opacity: 0; transform: scale(2.6) rotate(-24deg); } 60% { opacity: 1; transform: scale(.92) rotate(-14deg); } 100% { opacity: 1; transform: scale(1) rotate(-14deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-9px) rotate(1.4deg); } }
@keyframes sail { from { left: -34%; } to { left: 104%; } }
@keyframes flag { 0%, 100% { transform: skewY(0deg) scaleX(1); } 50% { transform: skewY(-5deg) scaleX(.95); } }
@keyframes flagskew { 0%, 100% { transform: skewY(0); } 50% { transform: skewY(-12deg); } }
@keyframes cloth { 0%, 100% { transform: skewX(0); } 50% { transform: skewX(-10deg); } }
@keyframes twinkle { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
@keyframes fog { from { transform: translateX(-8%); } to { transform: translateX(8%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes needle { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(10deg); } }
@keyframes eq { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }
@keyframes type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes gull { 0% { transform: translate(0, 0); } 50% { transform: translate(60px, -18px); } 100% { transform: translate(120px, 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(163, 39, 28, .55); } 50% { box-shadow: 0 0 0 14px rgba(163, 39, 28, 0); } }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoom { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@keyframes sway { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-7px); } }
@keyframes beam { 0%, 100% { color: var(--brass); text-shadow: none; } 50% { color: #fff3c4; text-shadow: 0 0 10px #ffd86b, 0 0 22px #ffd86b; } }
@keyframes flicker { 0%, 42%, 46%, 74%, 100% { opacity: 1; } 44% { opacity: .35; } 70% { opacity: .8; } 72% { opacity: .3; } }
@keyframes glint { 0%, 100% { color: var(--text-3); } 50% { color: var(--paper); } }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes blinkglow { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-10px) rotate(-.6deg); } 40% { transform: translateX(9px) rotate(.5deg); } 60% { transform: translateX(-6px); } 80% { transform: translateX(4px); } }

/* ---------- 좁은 화면 ---------- */
/* ---------- 모바일 하단 탭바 (좁은 화면에서만) ---------- */
.tabbar { display: none; }

@media (max-width: 720px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  [id] { scroll-margin-top: 64px; }

  /* 얇은 상단 헤더: 로고 + 음악 */
  .site-header__inner { flex-wrap: nowrap; gap: 8px; padding-top: 6px; padding-bottom: 6px; }
  .brand { gap: 8px; }
  .brand svg { width: 32px; height: 32px; }
  .brand__en { font-size: 24px; }
  .brand__ko { font-size: 10px; letter-spacing: .28em; }
  .nav { display: none; }
  .music { padding-left: 0; border-left: 0; }
  .music__now { padding: 0 6px; }
  .music__title { display: none; }

  /* 하단 탭바 */
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(8, 12, 16, .96); backdrop-filter: blur(8px);
    border-top: 1px solid var(--brass-line);
  }
  .tabbar a {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 62px; font-size: 11px; letter-spacing: .04em; color: var(--text-3); text-decoration: none;
  }
  .tabbar a[aria-current="page"] { color: var(--brass); font-weight: 700; }
  .tabbar a[aria-current="page"]::before {
    content: ""; position: absolute; top: -1px; left: 28%; right: 28%; height: 2px; background: var(--brass);
  }
  .tabbar svg { width: 24px; height: 24px; }

  .section { padding: 56px 0; }
  .hero { padding: 72px 0 160px; }
  .hero__moon { top: 18px; left: auto; right: 20px; width: 44px; height: 44px; box-shadow: 0 0 30px 8px rgba(239, 228, 198, .16); }
  .hero__gulls { top: 26px; left: 30%; }
  .hero-posters { height: 520px; }
  .slot--left, .slot--right { width: 150px; }
  .slot--left { top: 120px; }
  .slot--right { top: 170px; right: 0; }
  .slot--front { width: 240px; left: calc(50% - 120px); }
  .slot--front .poster__wanted { font-size: 50px; }
  .slot--front .poster__name { font-size: 24px; }
  .slot--front .poster__reward .poster__bounty { font-size: 28px; }
  .slot .stamp { right: -8px; top: 230px; font-size: 22px; }
  .slot:not(.slot--front) .poster__wanted { font-size: 30px; }
  .slot:not(.slot--front) .poster__name { font-size: 15px; }
  .slot:not(.slot--front) .poster__bounty { font-size: 15px; }
  .hero-posters__flag { display: none; }
  .notice__grid { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notice { padding: 24px; }

  /* 수배자 명단: 수배서는 옆으로 넘기는 줄 */
  .board { padding: 36px 0 28px; }
  .poster-row {
    flex-wrap: nowrap; justify-content: flex-start; gap: 14px;
    margin: 24px -24px 0; padding: 6px 24px 22px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .poster-row::-webkit-scrollbar { display: none; }
  .pbtn { flex: 0 0 128px; max-width: none; scroll-snap-align: center; }
  .dossier-section { padding: 36px 0 64px; }
  .dossier { gap: 36px; }
  .dossier__poster { flex: 0 1 270px; }
  .dossier__poster .poster__sheet { padding: 18px 16px 20px; }
  .dossier__poster .poster__wanted { font-size: 54px; }
  .dossier__poster .poster__name { font-size: 26px; }
  .dossier__poster .poster__reward .poster__bounty { font-size: 30px; }
  .dossier__poster .stamp { font-size: 22px; right: -6px; }
  .dossier__body h2 { font-size: 34px; }
  .dossier__body .en { font-size: 22px; }
  .facts dd { font-size: 16px; }
  .profile-row { flex-direction: column; gap: 8px; }
  .shots { gap: 10px; }
  .shots + .shots { margin-top: 10px; }
  .shots--faces { grid-template-columns: minmax(0, 1fr); }
  .shots--scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lightbox { padding: 12px; }
  .lightbox__frame { padding: 6px; }
  .lightbox__frame img { max-height: 62vh; }

  /* 아스키아트는 화면 폭에 맞춰 줄인다 (--cols = 줄당 글자 수) */
  .chart { padding: 26px 14px 18px; }
  .chart::before { inset: 8px; }
  .chart::after { inset: 12px; }
  .chart__compass { width: 56px; height: 56px; right: 14px; top: -22px; }
  .chart__map .ascii { font-size: min(18px, calc((100vw - 76px) / (var(--cols) * .6))); }
  .ascii-box { padding: 18px 10px; }
  .ascii-box .ascii { font-size: min(15px, calc((100vw - 72px) / (var(--cols) * .6))); }
  .ship-layout__art .ascii { font-size: min(15px, calc((100vw - 52px) / (var(--cols) * .6))); }
  .ascii-ship { font-size: 11px; }
  .legend { gap: 8px 16px; font-size: 12px; }
  .jumps { flex-wrap: nowrap; overflow-x: auto; margin: 22px -24px 0; padding: 0 24px 4px; scrollbar-width: none; }
  .jump { flex: none; }
  .port { padding: 52px 0; }
  .port__grid { gap: 28px; }
  .ship-layout { gap: 28px; }

  /* 항해 규약 */
  .charter { padding: 40px 22px 34px; }
  .articles { gap: 22px; margin-top: 30px; }
  .articles > li { gap: 14px; }
  .articles .num-roman { width: 34px; font-size: 30px; }
  .articles h3 { font-size: 19px; }
  .signatures p { font-size: 17px; }
  .charter-seal { right: 4px; bottom: -28px; width: 88px; height: 88px; }
  .converter { padding: 22px 18px; }
  .num { width: 96px; }
  .buys { grid-template-columns: minmax(0, 1fr); }
  .timeline { padding-left: 36px; }
  .event::before { left: -31px; }
  .event--now::before { left: -33px; }
  .timeline::before { left: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .shares i::before, .timeline::before { transform: none; }
}
