/* =========================================================
   해적서버 공식 홈페이지 — Design System
   ========================================================= */
:root {
  --bg: #060a13;
  --bg-2: #0a111f;
  --panel: #0e1729;
  --panel-2: #131e34;
  --panel-3: #19263f;
  --line: rgba(216, 178, 106, .16);
  --line-2: rgba(255, 255, 255, .07);
  --line-3: rgba(255, 255, 255, .12);
  --gold: #d8b26a;
  --gold-2: #f2d9a0;
  --gold-3: #a47b35;
  --text: #ebe6da;
  --text-2: #c3c8d3;
  --muted: #8791a5;
  --muted-2: #5d6779;
  --red: #e2483b;
  --live: #ff3352;
  --teal: #34c6b4;
  --blue: #5ea6ff;
  --chzzk: #00e08a;
  --soop: #4f8bff;
  --yt: #ff3d3d;
  --parch: #ead9b0;
  --parch-2: #d6bf8a;
  --ink: #3b2a14;

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .55);
  --gnb-h: 72px;
  --wrap: 1280px;

  --f-body: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --f-serif: 'Noto Serif KR', 'Nanum Myeongjo', serif;
  --f-en: 'Cinzel', 'Noto Serif KR', serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: 15px; line-height: 1.6; letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(216, 178, 106, .35); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#main { min-height: 70vh; outline: none; }

/* boot */
.boot { position: fixed; inset: 0; background: var(--bg); z-index: 500; display: grid; place-items: center; transition: opacity .4s; }
.boot.done { opacity: 0; pointer-events: none; }
.boot-wheel { width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--gold); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   GNB (메가 드롭다운)
   ========================================================= */
.gnb {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--gnb-h);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.gnb::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); opacity: 0; transition: opacity .3s; }
.gnb.solid, .gnb.open, body:not(.has-hero) .gnb { background: rgba(6, 10, 19, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.gnb.solid::after, body:not(.has-hero) .gnb::after { opacity: 1; }
.gnb-inner { height: 100%; display: flex; align-items: center; gap: 28px; max-width: 1440px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 38px; height: 38px; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.05; }
.logo-txt b { font-family: var(--f-serif); font-weight: 900; font-size: 19px; letter-spacing: -.03em; color: #fff; }
.logo-txt small { font-family: var(--f-en); font-size: 10px; letter-spacing: .28em; color: var(--gold); }
.menu { display: flex; height: 100%; margin: 0 auto; }
.menu > li { position: relative; height: 100%; }
.menu > li > a {
  display: flex; align-items: center; height: 100%; padding: 0 26px;
  font-weight: 700; font-size: 16px; color: var(--text); position: relative; white-space: nowrap;
}
.menu > li > a::after { content: ''; position: absolute; left: 50%; bottom: 18px; width: 0; height: 2px; background: var(--gold); transition: width .25s, left .25s; }
.menu > li:hover > a::after, .menu > li > a.on::after { width: 24px; left: calc(50% - 12px); }
.menu > li > a.on { color: var(--gold-2); }
.menu .badge-live { margin-left: 6px; }
.gnb-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.mega {
  position: absolute; top: var(--gnb-h); left: 0; right: 0; z-index: 1;
  background: rgba(8, 13, 24, .97); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.2, .7, .2, 1);
}
.gnb.open .mega { max-height: 320px; }
.mega-inner { display: flex; max-width: 1440px; margin: 0 auto; padding: 0 28px; }
.mega-side { width: 260px; padding: 28px 0; flex-shrink: 0; }
.mega-side p { color: var(--muted); font-size: 13px; margin-top: 8px; }
.mega-side .en { font-family: var(--f-en); color: var(--gold); letter-spacing: .2em; font-size: 12px; }
.mega-side h3 { font-family: var(--f-serif); font-size: 20px; margin-top: 4px; }
.mega-cols { display: flex; margin: 0 auto; }
.mega-cols ul { padding: 24px 0 28px; border-left: 1px solid var(--line-2); }
.mega-cols ul:last-child { border-right: 1px solid var(--line-2); }
.mega-cols a { display: block; text-align: center; padding: 7px 12px; font-size: 14px; color: var(--muted); transition: color .15s, background .15s; white-space: nowrap; }
.mega-cols a:hover { color: var(--gold-2); background: rgba(216, 178, 106, .06); }
.hamburger { display: none; width: 40px; height: 40px; border-radius: 8px; place-items: center; }
.hamburger span, .hamburger span::before, .hamburger span::after { display: block; width: 20px; height: 2px; background: #fff; position: relative; transition: .25s; }
.hamburger span::before, .hamburger span::after { content: ''; position: absolute; left: 0; }
.hamburger span::before { top: -6px; } .hamburger span::after { top: 6px; }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 300; visibility: hidden; }
.drawer.on { visibility: visible; }
.drawer-dim { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .3s; }
.drawer.on .drawer-dim { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); background: var(--bg-2); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .7, .2, 1); overflow-y: auto; padding: 18px 0 40px; }
.drawer.on .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 0 20px 14px; border-bottom: 1px solid var(--line-2); }
.drawer details { border-bottom: 1px solid var(--line-2); }
.drawer summary { list-style: none; padding: 16px 20px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: '+'; color: var(--gold); font-size: 20px; font-weight: 400; }
.drawer details[open] summary::after { content: '−'; }
.drawer details a { display: block; padding: 10px 32px; color: var(--muted); font-size: 14px; }
.drawer details a:hover { color: var(--gold-2); }
.drawer details[open] { background: rgba(255, 255, 255, .02); padding-bottom: 8px; }

/* =========================================================
   Buttons / chips / common
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: 8px; font-weight: 700; font-size: 14px;
  border: 1px solid var(--line-3); background: rgba(255, 255, 255, .04); color: var(--text);
  transition: background .2s, border-color .2s, color .2s, transform .1s; white-space: nowrap;
}
.btn:hover { border-color: var(--gold); color: var(--gold-2); }
.btn:active { transform: translateY(1px); }
.btn.gold { background: linear-gradient(180deg, #e8c47d, #b98d3e); color: #1a1206; border-color: #f2d9a0; box-shadow: 0 6px 20px rgba(216, 178, 106, .25), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn.gold:hover { filter: brightness(1.08); color: #1a1206; }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.btn.ghost { background: transparent; }
.btn.sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn.xs { height: 28px; padding: 0 10px; font-size: 12px; border-radius: 6px; }
.btn.lg { height: 54px; padding: 0 30px; font-size: 16px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-icon { width: 38px; height: 38px; border-radius: 8px; display: inline-grid; place-items: center; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.btn-icon:hover { border-color: var(--gold); color: var(--gold-2); }

.chip { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: 0; background: rgba(255, 255, 255, .07); color: var(--text-2); white-space: nowrap; }
.chip.gold { background: rgba(216, 178, 106, .14); color: var(--gold-2); }
.chip.red { background: rgba(226, 72, 59, .16); color: #ff8a7e; }
.chip.teal { background: rgba(52, 198, 180, .15); color: #6fe3d3; }
.chip.blue { background: rgba(94, 166, 255, .15); color: #9cc8ff; }
.chip.purple { background: rgba(156, 121, 255, .16); color: #c4b0ff; }
.chip.gray { background: rgba(255, 255, 255, .06); color: var(--muted); }
.chip.solid-gold { background: var(--gold); color: #1a1206; }
.cat-화제 { background: rgba(226, 72, 59, .16); color: #ff8a7e; }
.cat-사건 { background: rgba(156, 121, 255, .16); color: #c4b0ff; }
.cat-인터뷰 { background: rgba(94, 166, 255, .15); color: #9cc8ff; }
.cat-이봤컨텐츠 { background: rgba(52, 198, 180, .15); color: #6fe3d3; }
.cat-공지 { background: rgba(216, 178, 106, .16); color: var(--gold-2); }

.badge-live { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 4px; background: var(--live); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.badge-live[hidden] { display: none; }
.badge-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dot.live { background: var(--live); box-shadow: 0 0 0 3px rgba(255, 51, 82, .25); }
.dot.off { background: var(--muted-2); }

.plat { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.plat i { width: 14px; height: 14px; border-radius: 3px; display: inline-grid; place-items: center; font-style: normal; font-size: 9px; color: #000; }
.plat.chzzk i { background: var(--chzzk); } .plat.chzzk { color: var(--chzzk); }
.plat.soop i { background: var(--soop); color: #fff; } .plat.soop { color: #8fb4ff; }
.plat.youtube i { background: var(--yt); color: #fff; } .plat.youtube { color: #ff8d8d; }
.plat.none { color: var(--muted); }

.up { color: #ff5d5d; } .down { color: #4f9dff; } .same { color: var(--muted-2); } .new { color: var(--gold); }
.mono { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.gold-t { color: var(--gold-2); }
.empty { padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-3); border-radius: var(--r); }
.empty svg { margin: 0 auto 10px; opacity: .5; }

/* section titles */
.sec { padding: 72px 0; position: relative; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.sec-title .en { font-family: var(--f-en); font-size: 12px; letter-spacing: .32em; color: var(--gold); display: block; margin-bottom: 6px; }
.sec-title h2 { font-family: var(--f-serif); font-size: 32px; font-weight: 900; }
.sec-title p { color: var(--muted); margin-top: 6px; font-size: 14px; }
.more { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.more:hover { color: var(--gold-2); }
.panel { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line-2); border-radius: var(--r-lg); }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line-2); }
.panel-head h3 { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.panel-head h3 .en { font-family: var(--f-en); font-size: 11px; color: var(--gold); letter-spacing: .2em; font-weight: 700; }
.divider-orn { display: flex; align-items: center; gap: 14px; color: var(--gold); opacity: .7; }
.divider-orn::before, .divider-orn::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line)); }
.divider-orn::after { transform: scaleX(-1); }

/* =========================================================
   HERO / Key visual
   ========================================================= */
.hero { position: relative; height: min(820px, 100vh); min-height: 600px; overflow: hidden; background: #050811; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.hero-slide.on { opacity: 1; visibility: visible; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s ease-out; }
.hero-slide.on .hero-bg img, .hero-slide.on .hero-bg svg { transform: scale(1); }
.hero-bg svg { width: 100%; height: 100%; transform: scale(1.06); transition: transform 7s ease-out; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 8, 17, .85) 0%, rgba(5, 8, 17, .35) 50%, rgba(5, 8, 17, 0) 75%), linear-gradient(0deg, var(--bg) 0%, rgba(6, 10, 19, 0) 35%), linear-gradient(180deg, rgba(5, 8, 17, .6) 0%, rgba(5, 8, 17, 0) 22%); }
.hero-copy { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
.hero-copy .wrap { max-width: 1440px; padding: 0 64px; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-en); letter-spacing: .3em; font-size: 13px; color: var(--gold); font-weight: 700; }
.hero-tag::before { content: ''; width: 34px; height: 1px; background: var(--gold); }
.hero-title { font-family: var(--f-serif); font-weight: 900; font-size: clamp(36px, 5.2vw, 72px); line-height: 1.12; margin: 18px 0 18px; max-width: 760px; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); word-break: keep-all; }
.hero-sub { font-size: clamp(15px, 1.3vw, 18px); color: var(--text-2); max-width: 560px; word-break: keep-all; }
.hero-cta { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-slide .hero-tag, .hero-slide .hero-title, .hero-slide .hero-sub, .hero-slide .hero-cta { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s; }
.hero-slide.on .hero-tag { opacity: 1; transform: none; transition-delay: .25s; }
.hero-slide.on .hero-title { opacity: 1; transform: none; transition-delay: .4s; }
.hero-slide.on .hero-sub { opacity: 1; transform: none; transition-delay: .55s; }
.hero-slide.on .hero-cta { opacity: 1; transform: none; transition-delay: .7s; }
.hero-nav { position: absolute; left: 0; right: 0; bottom: 120px; z-index: 5; }
.hero-nav .wrap { max-width: 1440px; padding: 0 64px; display: flex; align-items: center; gap: 6px; }
.hero-tab { flex: 0 1 220px; text-align: left; padding: 14px 0 0; position: relative; color: var(--muted); font-size: 13px; font-weight: 600; transition: color .2s; }
.hero-tab::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgba(255, 255, 255, .18); }
.hero-tab .bar { position: absolute; top: 0; left: 0; height: 2px; width: 0; background: var(--gold); }
.hero-tab.on { color: #fff; }
.hero-tab.on .bar { animation: herobar var(--dur, 6s) linear forwards; }
.hero.paused .hero-tab.on .bar { animation-play-state: paused; }
@keyframes herobar { to { width: 100%; } }
.hero-tab small { display: block; font-family: var(--f-en); font-size: 11px; color: var(--gold); letter-spacing: .14em; margin-bottom: 2px; }
.hero-tab span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 16px; }
.hero-arrows { margin-left: auto; display: flex; gap: 6px; }
.hero-arrows button { width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; display: grid; place-items: center; color: #fff; transition: .2s; }
.hero-arrows button:hover { border-color: var(--gold); color: var(--gold); }
.scroll-cue { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); font-family: var(--f-en); font-size: 10px; letter-spacing: .3em; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 5; }
.scroll-cue::after { content: ''; width: 1px; height: 30px; background: linear-gradient(var(--gold), transparent); animation: cue 2s infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.waves-anim .w1 { animation: wave 14s linear infinite; }
.waves-anim .w2 { animation: wave 20s linear infinite reverse; }
.waves-anim .w3 { animation: wave 26s linear infinite; }
@keyframes wave { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.twinkle { animation: tw 3s ease-in-out infinite; }
@keyframes tw { 50% { opacity: .2; } }
.ship-bob { animation: bob 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-6px) rotate(1deg); } }

/* quick menu (hero 하단 겹침) */
.quickbar { position: relative; z-index: 6; margin-top: -64px; }
.quickbar-inner { display: grid; grid-template-columns: repeat(6, 1fr); background: rgba(14, 23, 41, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.qb-item { display: flex; align-items: center; gap: 14px; padding: 22px 22px; position: relative; transition: background .2s; }
.qb-item + .qb-item::before { content: ''; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--line-2); }
.qb-item:hover { background: rgba(216, 178, 106, .07); }
.qb-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(216, 178, 106, .2), rgba(216, 178, 106, .04)); color: var(--gold-2); flex-shrink: 0; border: 1px solid var(--line); }
.qb-item b { display: block; font-size: 15px; }
.qb-item small { color: var(--muted); font-size: 12px; }
.qb-item:hover .qb-ico { color: #fff; background: linear-gradient(135deg, #d8b26a, #8a6526); }
.ticker { margin-top: 16px; display: flex; align-items: center; gap: 14px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; padding: 0 16px; height: 46px; overflow: hidden; }
.ticker .chip { flex-shrink: 0; }
.ticker-track { flex: 1; overflow: hidden; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track span { display: inline-block; padding-left: 100%; animation: marquee 28s linear infinite; color: var(--text-2); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* =========================================================
   Home widgets
   ========================================================= */
.home-grid { display: grid; grid-template-columns: 1.15fr 1fr 360px; gap: 20px; }
.home-grid > *, .rank-split > *, .two-col > *, .article > *, .news-top > *, .wiki-layout > *, .rc-strip > *, .rc-list > * { min-width: 0; }
.board-tabs { display: flex; gap: 2px; padding: 0 12px; border-bottom: 1px solid var(--line-2); overflow-x: auto; scrollbar-width: none; }
.board-tabs::-webkit-scrollbar { display: none; }
.board-tabs button { padding: 14px 12px; font-size: 14px; font-weight: 700; color: var(--muted); position: relative; white-space: nowrap; }
.board-tabs button.on { color: #fff; }
.board-tabs button.on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--gold); }
.board-list li a { display: flex; align-items: center; gap: 10px; padding: 13px 22px; border-bottom: 1px solid var(--line-2); transition: background .15s; }
.board-list li:last-child a { border-bottom: 0; }
.board-list li a:hover { background: rgba(255, 255, 255, .025); }
.board-list li a:hover .t { color: var(--gold-2); }
.board-list .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14.5px; }
.board-list .d { font-size: 12px; color: var(--muted-2); flex-shrink: 0; }
.board-list .n { width: 18px; height: 18px; border-radius: 50%; background: var(--red); color: #fff; font-size: 10px; font-weight: 800; display: inline-grid; place-items: center; flex-shrink: 0; }

.feature { position: relative; border-radius: var(--r-lg); overflow: hidden; display: block; min-height: 100%; border: 1px solid var(--line-2); background: var(--panel); }
.feature .thumb { position: absolute; inset: 0; }
.feature .thumb > img, .feature .thumb > svg { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.feature:hover .thumb > img, .feature:hover .thumb > svg { transform: scale(1.04); }
.feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 8, 17, .96) 8%, rgba(5, 8, 17, .2) 60%, rgba(5, 8, 17, .1)); }
.feature-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px; }
.feature-body h3 { font-family: var(--f-serif); font-size: 24px; font-weight: 900; margin: 10px 0 8px; word-break: keep-all; }
.feature-body p { color: var(--text-2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feature-body .meta { margin-top: 14px; font-size: 12px; color: var(--muted); display: flex; gap: 12px; }

.livebox .livecount { display: flex; align-items: baseline; gap: 6px; padding: 18px 22px 8px; }
.livebox .livecount b { font-size: 40px; font-weight: 900; font-family: var(--f-en); color: #fff; line-height: 1; }
.livebox .livecount span { color: var(--muted); font-size: 13px; }
.livebox ul { padding: 4px 10px 12px; max-height: 300px; overflow-y: auto; }
.live-row { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; transition: background .15s; }
.live-row:hover { background: rgba(255, 255, 255, .04); }
.live-row .meta { flex: 1; min-width: 0; }
.live-row .meta b { font-size: 14px; display: flex; align-items: center; gap: 6px; }
.live-row .meta small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-row .v { font-size: 12px; color: var(--live); font-weight: 700; flex-shrink: 0; }

.avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; position: relative; background: var(--panel-3); display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 15px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 64px; height: 64px; font-size: 22px; }
.avatar.xl { width: 96px; height: 96px; font-size: 32px; }
.avatar.sm { width: 30px; height: 30px; font-size: 12px; }
.avatar.ring { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--live); }

/* recruit strip */
.rc-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rc-card { position: relative; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 14px; transition: border-color .2s, transform .2s; overflow: hidden; }
.rc-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c, var(--gold)); }
.rc-card:hover { border-color: var(--line); transform: translateY(-3px); }
.rc-top { display: flex; align-items: center; gap: 10px; }
.rc-top .name { font-size: 13px; color: var(--text-2); font-weight: 700; }
.rc-top .dday { margin-left: auto; font-family: var(--f-en); font-weight: 900; font-size: 15px; color: var(--gold-2); }
.rc-card h4 { font-size: 16.5px; font-weight: 800; word-break: keep-all; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.rc-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 13px; }
.rc-dl dt { color: var(--muted); }
.rc-dl dd { margin: 0; color: var(--text-2); font-variant-numeric: tabular-nums; }
.rc-pos { display: flex; flex-wrap: wrap; gap: 4px; }
.rc-actions { margin-top: auto; display: flex; gap: 8px; }
.rc-actions .btn { flex: 1; }

/* ranking split */
.rank-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rank-table { width: 100%; border-collapse: collapse; }
.rank-table th { font-size: 12px; color: var(--muted); font-weight: 600; text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.rank-table td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); font-size: 14px; vertical-align: middle; }
.rank-table tr:last-child td { border-bottom: 0; }
.rank-table tbody tr { transition: background .15s; }
.rank-table tbody tr:hover { background: rgba(255, 255, 255, .025); }
.rank-table .r { width: 56px; text-align: center; font-family: var(--f-en); font-weight: 900; font-size: 17px; }
.rank-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rank-table th.num { text-align: right; }
.rk-1 { color: #f5d27a; } .rk-2 { color: #d3dbe6; } .rk-3 { color: #e3a370; }
.crew-cell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.crew-cell b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crew-cell small { color: var(--muted); font-size: 12px; }
.emblem { display: block; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; }
.emblem img, .emblem svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.delta { font-size: 11.5px; font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; gap: 2px; }

/* wanted posters */
.wanted {
  position: relative; background:
    radial-gradient(ellipse at 20% 15%, rgba(255, 255, 255, .35), transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(120, 80, 30, .35), transparent 55%),
    radial-gradient(circle at 70% 30%, rgba(140, 95, 40, .18), transparent 30%),
    linear-gradient(160deg, var(--parch), var(--parch-2));
  color: var(--ink); padding: 18px 16px 16px; text-align: center; border-radius: 3px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .5), inset 0 0 40px rgba(110, 70, 20, .35);
  transition: transform .3s;
}
.wanted::before { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(59, 42, 20, .35); pointer-events: none; }
.wanted:hover { transform: rotate(0) translateY(-4px) !important; }
.wanted .w-h { font-family: var(--f-en); font-weight: 900; font-size: 30px; letter-spacing: .08em; line-height: 1; color: #2b1d0b; }
.wanted .w-s { font-family: var(--f-en); font-size: 9.5px; letter-spacing: .32em; margin: 4px 0 10px; color: #5a4220; }
.wanted .w-photo { aspect-ratio: 1 / 1; background: #b9a06c; border: 2px solid #3b2a14; overflow: hidden; display: grid; place-items: center; filter: sepia(.55) contrast(1.05); }
.wanted .w-photo img { width: 100%; height: 100%; object-fit: cover; }
.wanted .w-photo .ph { font-family: var(--f-serif); font-weight: 900; font-size: 54px; color: #3b2a14; opacity: .75; }
.wanted .w-doa { font-family: var(--f-en); font-size: 10px; letter-spacing: .3em; margin-top: 10px; color: #5a4220; }
.wanted .w-name { font-family: var(--f-serif); font-weight: 900; font-size: 22px; margin: 2px 0; color: #24180a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wanted .w-crew { font-size: 11px; color: #6b5330; font-weight: 700; }
.wanted .w-bounty { margin-top: 8px; font-family: var(--f-en); font-weight: 900; font-size: 19px; color: #2b1d0b; letter-spacing: .02em; font-variant-numeric: tabular-nums; border-top: 1px solid rgba(59, 42, 20, .3); padding-top: 8px; }
.wanted .w-rank { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-family: var(--f-en); font-weight: 900; font-size: 12px; padding: 3px 12px; border-radius: 20px; box-shadow: 0 4px 10px rgba(0, 0, 0, .3); letter-spacing: .1em; white-space: nowrap; }
.wanted.big .w-h { font-size: 42px; }
.wanted.big .w-name { font-size: 28px; }
.wanted.big .w-bounty { font-size: 24px; }
.wanted-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 26px 22px 22px; align-items: end; }
.wanted-row .wanted:nth-child(1) { transform: rotate(-2deg); }
.wanted-row .wanted:nth-child(2) { transform: rotate(1.5deg) translateY(-14px); }
.wanted-row .wanted:nth-child(3) { transform: rotate(-1deg); }

/* crews showcase */
.crew-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--panel-3) transparent; }
.crew-card { scroll-snap-align: start; position: relative; border-radius: var(--r-lg); overflow: hidden; padding: 28px 20px 22px; text-align: center; background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--c) 35%, transparent), transparent 65%), linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); transition: transform .25s, border-color .25s; }
.crew-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.crew-card .emblem { width: 92px; height: 92px; margin: 0 auto 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.crew-card h4 { font-family: var(--f-serif); font-size: 19px; font-weight: 900; }
.crew-card .motto { font-size: 12.5px; color: var(--muted); margin-top: 6px; min-height: 2.6em; word-break: keep-all; }
.crew-card .stats { display: flex; justify-content: center; gap: 18px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 12px; color: var(--muted); }
.crew-card .stats b { display: block; font-size: 15px; color: var(--text); font-variant-numeric: tabular-nums; }
.crew-card .rank-badge { position: absolute; top: 14px; left: 14px; font-family: var(--f-en); font-weight: 900; font-size: 13px; color: var(--gold-2); }
.crew-card .rc-flag { position: absolute; top: 12px; right: 12px; }

/* archive tiles */
.arc-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.arc-tile { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line-2); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; isolation: isolate; transition: transform .25s; }
.arc-tile:hover { transform: translateY(-4px); }
.arc-tile svg.bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; transition: transform .6s; }
.arc-tile:hover svg.bg { transform: scale(1.06); }
.arc-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 8, 17, .9), transparent 70%); z-index: -1; }
.arc-tile .en { font-family: var(--f-en); font-size: 11px; letter-spacing: .3em; color: var(--gold); }
.arc-tile h4 { font-family: var(--f-serif); font-size: 26px; font-weight: 900; }
.arc-tile small { color: var(--text-2); font-size: 13px; }

/* =========================================================
   Sub page header
   ========================================================= */
.subhero { position: relative; padding: calc(var(--gnb-h) + 64px) 0 54px; overflow: hidden; border-bottom: 1px solid var(--line-2); background: #070c18; }
.subhero svg.bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.subhero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: kenburns 18s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero-bg img { object-position: 58% 50%; }

/* 사진 배경 섹션 */
.sec-photo { overflow: hidden; isolation: isolate; }
.sec-photo .sec-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; z-index: -2; }
.sec-photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(6, 10, 19, .5) 30%, rgba(6, 10, 19, .5) 70%, var(--bg) 100%), radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(6, 10, 19, .6) 100%); }
.tip-photo { position: relative; overflow: hidden; isolation: isolate; }
.tip-photo .tip-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .9; }
.tip-photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 10, 19, .9) 0%, rgba(6, 10, 19, .6) 50%, rgba(6, 10, 19, .15) 100%); }
.arc-tile img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .6s; }
.arc-tile:hover img.bg { transform: scale(1.06); }
.subhero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 10, 19, .9), rgba(6, 10, 19, .3)), linear-gradient(0deg, var(--bg), transparent 60%); }
.subhero .wrap { position: relative; z-index: 2; }
.crumb { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }
.crumb a:hover { color: var(--gold-2); }
.subhero .en { font-family: var(--f-en); letter-spacing: .32em; font-size: 12px; color: var(--gold); }
.subhero h1 { font-family: var(--f-serif); font-weight: 900; font-size: clamp(30px, 4vw, 46px); margin-top: 6px; }
.subhero p { color: var(--text-2); margin-top: 10px; max-width: 640px; word-break: keep-all; }
.subnav { position: sticky; top: var(--gnb-h); z-index: 50; background: rgba(6, 10, 19, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-2); }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { padding: 16px 18px; font-weight: 700; font-size: 14.5px; color: var(--muted); position: relative; white-space: nowrap; }
.subnav a.on { color: #fff; }
.subnav a.on::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; background: var(--gold); }
.page { padding: 44px 0 100px; }

/* toolbar */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 24px; }
.toolbar .grow { flex: 1; }
.seg { display: inline-flex; background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; padding: 3px; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.seg button { height: 34px; padding: 0 14px; border-radius: 7px; font-size: 13.5px; font-weight: 700; color: var(--muted); white-space: nowrap; transition: .15s; }
.seg button.on { background: var(--panel-3); color: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.seg button .cnt { font-size: 11px; color: var(--muted-2); margin-left: 4px; font-weight: 600; }
.search { position: relative; }
.search input { height: 42px; width: 260px; max-width: 100%; padding: 0 14px 0 40px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; outline: none; transition: border-color .15s; }
.search input:focus { border-color: var(--gold); }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.select { height: 42px; padding: 0 34px 0 14px; background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%238791a5' stroke-width='2'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center; border: 1px solid var(--line-2); border-radius: 10px; appearance: none; -webkit-appearance: none; outline: none; }
.select:focus { border-color: var(--gold); }

/* stat cards */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.stat { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 18px 20px; }
.stat small { color: var(--muted); font-size: 12.5px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.stat b { display: block; font-size: 28px; font-weight: 900; margin-top: 4px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat b em { font-style: normal; font-size: 14px; color: var(--muted); font-weight: 600; margin-left: 2px; }

/* live grid */
.live-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.lcard { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; transition: transform .2s, border-color .2s; display: block; }
.lcard:hover { transform: translateY(-3px); border-color: var(--line); }
.lcard .th { position: relative; aspect-ratio: 16 / 9; background: #0b1220; overflow: hidden; }
.lcard .th > img, .lcard .th > svg { width: 100%; height: 100%; object-fit: cover; }
.lcard .th .badge-live { position: absolute; left: 10px; top: 10px; }
.lcard .th .vw { position: absolute; left: 10px; bottom: 10px; background: rgba(0, 0, 0, .7); padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 700; }
.lcard .th .pl { position: absolute; right: 10px; top: 10px; background: rgba(0, 0, 0, .7); padding: 3px 7px; border-radius: 4px; }
.lcard .bd { display: flex; gap: 12px; padding: 14px; }
.lcard .bd .t { font-size: 14.5px; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.lcard .bd .n { font-size: 13px; color: var(--text-2); margin-top: 4px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.off-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.ocard { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; transition: border-color .15s; }
.ocard:hover { border-color: var(--line); }
.ocard .avatar { filter: grayscale(.85); opacity: .75; }
.ocard b { font-size: 14px; display: block; }
.ocard small { font-size: 12px; color: var(--muted); }
.group-title { display: flex; align-items: center; gap: 10px; margin: 36px 0 16px; font-size: 18px; font-weight: 800; }
.group-title:first-child { margin-top: 0; }
.group-title small { font-size: 13px; color: var(--muted); font-weight: 600; }

/* news cards */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ncard { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; transition: transform .2s, border-color .2s; }
.ncard:hover { transform: translateY(-3px); border-color: var(--line); }
.ncard .th { aspect-ratio: 16 / 9; overflow: hidden; position: relative; background: var(--panel-2); }
.ncard .th > img, .ncard .th > svg { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ncard:hover .th > img, .ncard:hover .th > svg { transform: scale(1.05); }
.ncard .th .play { position: absolute; inset: 0; display: grid; place-items: center; }
.ncard .th .play span { width: 52px; height: 52px; border-radius: 50%; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .4); display: grid; place-items: center; }
.ncard .bd { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ncard h3 { font-size: 17px; font-weight: 800; line-height: 1.4; word-break: keep-all; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ncard p { font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ncard .meta { margin-top: auto; padding-top: 6px; font-size: 12px; color: var(--muted-2); display: flex; gap: 10px; }
.news-top { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; margin-bottom: 34px; }
.news-top .feature { min-height: 400px; }
.news-top .side { display: flex; flex-direction: column; gap: 14px; }
.hcard { display: flex; gap: 14px; padding: 14px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; transition: border-color .15s; flex: 1; }
.hcard:hover { border-color: var(--line); }
.hcard .th { width: 132px; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--panel-2); }
.hcard .th > img, .hcard .th > svg { width: 100%; height: 100%; object-fit: cover; }
.hcard h4 { font-size: 15px; font-weight: 700; line-height: 1.4; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: keep-all; }
.hcard small { color: var(--muted-2); font-size: 12px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pager button { min-width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; color: var(--muted); }
.pager button.on { background: var(--gold); color: #1a1206; border-color: var(--gold); }
.pager button:hover:not(.on) { border-color: var(--gold); color: var(--gold-2); }

/* article */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
.article-head { padding-bottom: 24px; border-bottom: 1px solid var(--line-2); margin-bottom: 30px; }
.article-head h1 { font-family: var(--f-serif); font-weight: 900; font-size: clamp(26px, 3vw, 38px); margin: 14px 0; word-break: keep-all; }
.article-head .summary { color: var(--text-2); font-size: 16px; }
.article-head .meta { display: flex; gap: 16px; color: var(--muted); font-size: 13px; margin-top: 16px; align-items: center; flex-wrap: wrap; }
.article-media { margin-bottom: 30px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.article-media iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.article-media img { width: 100%; }
.linkcard { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(216, 178, 106, .05); margin-bottom: 30px; }
.linkcard:hover { background: rgba(216, 178, 106, .1); }
.linkcard span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 13px; }
.prose { font-size: 16.5px; line-height: 1.85; color: #ddd8cc; word-break: keep-all; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--f-serif); font-size: 23px; margin-top: 1.8em; padding-left: 14px; border-left: 3px solid var(--gold); color: #fff; }
.prose h3 { font-size: 19px; margin-top: 1.5em; color: #fff; }
.prose a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: #fff; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .78em; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .35em; }
.prose blockquote { margin: 1.4em 0; padding: 18px 22px; border-radius: 10px; background: rgba(216, 178, 106, .06); border-left: 3px solid var(--gold); color: var(--text); font-family: var(--f-serif); }
.prose code { background: var(--panel-3); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.prose img { border-radius: 10px; margin: 1.4em 0; }
.prose hr { border: 0; height: 1px; background: var(--line-2); margin: 2em 0; }
.article-nav { margin-top: 50px; border-top: 1px solid var(--line-2); }
.article-nav a { display: flex; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.article-nav a:hover b { color: var(--gold-2); }
.article-nav span { color: var(--muted); width: 56px; flex-shrink: 0; }
.article-nav b { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aside-box { position: sticky; top: calc(var(--gnb-h) + 24px); display: flex; flex-direction: column; gap: 16px; }
.tip-cta { padding: 24px; border-radius: var(--r-lg); background: radial-gradient(circle at 100% 0%, rgba(226, 72, 59, .28), transparent 60%), linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); }
.tip-cta h4 { font-family: var(--f-serif); font-size: 20px; font-weight: 900; margin: 6px 0 8px; }
.tip-cta p { color: var(--text-2); font-size: 13.5px; margin-bottom: 16px; word-break: keep-all; }

/* forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form.two { grid-template-columns: 1fr 1fr; }
.form.two > .field { min-width: 0; }
@media (max-width: 720px) { .form.two { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--text-2); margin-bottom: 8px; }
.field label em { color: var(--red); font-style: normal; margin-left: 2px; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.input, .textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--line-3); border-radius: 10px; padding: 0 14px; height: 46px; outline: none; transition: border-color .15s, box-shadow .15s; }
.textarea { padding: 12px 14px; height: auto; min-height: 160px; resize: vertical; line-height: 1.6; }
.input:focus, .textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216, 178, 106, .15); }
.input[type="color"] { padding: 4px; width: 70px; }
.checkbox { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; user-select: none; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--gold); }
.hp { position: absolute; left: -9999px; }
.form-card { max-width: 820px; margin: 0 auto; padding: 36px; }
.ok-card { text-align: center; padding: 70px 30px; }
.ok-card .seal { width: 92px; height: 92px; margin: 0 auto 20px; }
.ok-card h2 { font-family: var(--f-serif); font-size: 28px; font-weight: 900; }
.ok-card p { color: var(--text-2); margin: 10px 0 26px; }

/* ranking page */
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 20px; align-items: end; margin-bottom: 36px; }
.pod { position: relative; text-align: center; padding: 34px 20px 26px; border-radius: var(--r-lg); background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%), linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); transition: transform .25s; }
.pod:hover { transform: translateY(-4px); }
.pod.p1 { padding-top: 48px; border-color: rgba(245, 210, 122, .45); box-shadow: 0 0 60px rgba(245, 210, 122, .08); }
.pod .medal { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; }
.pod .emblem { width: 96px; height: 96px; margin: 0 auto 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.pod.p1 .emblem { width: 120px; height: 120px; }
.pod h3 { font-family: var(--f-serif); font-size: 22px; font-weight: 900; }
.pod .cap { font-size: 13px; color: var(--muted); margin-top: 4px; }
.pod .score { margin-top: 14px; font-family: var(--f-en); font-weight: 900; font-size: 28px; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.pod .score small { font-family: var(--f-body); font-size: 12px; color: var(--muted); font-weight: 600; display: block; letter-spacing: 0; }
.table-wrap { overflow-x: auto; }
.wanted-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin: 10px 0 40px; }
.wanted-top { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 34px; align-items: end; max-width: 900px; margin: 30px auto 50px; }
.wanted-top .wanted:nth-child(1) { transform: rotate(-2.5deg); }
.wanted-top .wanted:nth-child(2) { transform: rotate(1deg); }
.wanted-top .wanted:nth-child(3) { transform: rotate(2.5deg); }
.wanted-grid .wanted:nth-child(odd) { transform: rotate(-1deg); }
.wanted-grid .wanted:nth-child(even) { transform: rotate(1.2deg); }
.board-bg { padding: 20px 0; border-radius: var(--r-lg); background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .04), transparent 40%), repeating-linear-gradient(90deg, #2a1d10 0 3px, #24180d 3px 90px), #23180d; border: 6px solid #1a1108; box-shadow: inset 0 0 80px rgba(0, 0, 0, .6); padding: 30px 30px 10px; }

/* crews page */
.crews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.crew-tile { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--panel); border: 1px solid var(--line-2); transition: transform .25s, border-color .25s; }
.crew-tile:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.crew-tile .top { position: relative; height: 120px; background: radial-gradient(circle at 30% 120%, color-mix(in srgb, var(--c) 70%, transparent), transparent 60%), linear-gradient(135deg, color-mix(in srgb, var(--c) 35%, #0a1222), #0a1222); }
.crew-tile .top .emblem { position: absolute; left: 22px; bottom: -36px; width: 80px; height: 80px; box-shadow: 0 0 0 4px var(--panel), 0 10px 24px rgba(0, 0, 0, .5); }
.crew-tile .top .rk { position: absolute; right: 18px; top: 14px; font-family: var(--f-en); font-weight: 900; color: #fff; font-size: 14px; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.crew-tile .top .chip { position: absolute; right: 16px; bottom: 12px; }
.crew-tile .bd { padding: 46px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.crew-tile h3 { font-family: var(--f-serif); font-size: 21px; font-weight: 900; }
.crew-tile .motto { color: var(--text-2); font-size: 13.5px; font-style: italic; }
.crew-tile dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line-2); }
.crew-tile dt { font-size: 11.5px; color: var(--muted); }
.crew-tile dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; font-size: 14px; }
.crew-hero { position: relative; padding: calc(var(--gnb-h) + 60px) 0 50px; overflow: hidden; background: radial-gradient(circle at 80% 40%, color-mix(in srgb, var(--c) 40%, transparent), transparent 55%), linear-gradient(135deg, color-mix(in srgb, var(--c) 18%, #070c18), #070c18 70%); border-bottom: 1px solid var(--line-2); }
.crew-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg), transparent 40%); }
.crew-hero .wrap { position: relative; z-index: 2; display: flex; align-items: center; gap: 40px; }
.crew-hero .emblem { width: 180px; height: 180px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6), 0 0 0 6px rgba(255, 255, 255, .05); }
.crew-hero h1 { font-family: var(--f-serif); font-weight: 900; font-size: clamp(32px, 4.4vw, 54px); }
.crew-hero .motto { font-family: var(--f-serif); color: var(--gold-2); font-size: 18px; margin-top: 8px; }
.crew-hero .facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; color: var(--text-2); font-size: 14px; }
.crew-hero .facts span b { color: var(--muted); font-weight: 600; margin-right: 6px; }
.crew-hero .ghost-flag { position: absolute; right: -60px; top: 40px; width: 520px; opacity: .08; z-index: 1; }
.crew-hero .ghost-flag svg { width: 100%; height: auto; display: block; }
.tip-cta .seal, .ok-card .seal { display: block; }
.members-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.mcard { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; transition: border-color .15s; }
.mcard:hover { border-color: var(--line); }
.mcard b { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.mcard small { display: block; font-size: 12px; color: var(--muted); }
.mcard .bt { font-family: var(--f-en); font-size: 12.5px; color: var(--gold-2); font-weight: 700; margin-top: 2px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 30px; }

/* recruit page */
.rc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
.rc-status { font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 20px; }
.rc-status.open { background: rgba(52, 198, 180, .16); color: #6fe3d3; }
.rc-status.upcoming { background: rgba(216, 178, 106, .16); color: var(--gold-2); }
.rc-status.closed { background: rgba(255, 255, 255, .06); color: var(--muted); }
.rc-card.closed { opacity: .6; }
.cal { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; }
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.cal-head h3 { font-family: var(--f-en); font-size: 20px; font-weight: 900; letter-spacing: .06em; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-dow { padding: 10px; font-size: 12px; text-align: center; color: var(--muted); border-bottom: 1px solid var(--line-2); font-weight: 700; }
.cal-dow:first-child { color: #ff7d7d; } .cal-dow:last-child { color: #7db2ff; }
.cal-day { min-height: 118px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 6px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal-day:nth-child(7n) { border-right: 0; }
.cal-day .dn { font-size: 12px; font-weight: 700; color: var(--muted); padding: 2px 4px; }
.cal-day.other { background: rgba(0, 0, 0, .2); }
.cal-day.other .dn { opacity: .4; }
.cal-day.today .dn { background: var(--gold); color: #1a1206; border-radius: 4px; display: inline-block; align-self: flex-start; }
.cal-ev { font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: color-mix(in srgb, var(--c) 22%, transparent); color: #fff; border-left: 2px solid var(--c); }
.cal-ev.iv { background: var(--c); color: #0b0b0b; }
.cal-legend { display: flex; gap: 16px; padding: 12px 20px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.cal-legend i { display: inline-block; width: 12px; height: 8px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }

/* wiki */
.wiki-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 30px; }
.wiki-side { position: sticky; top: calc(var(--gnb-h) + 70px); align-self: start; }
.wiki-side a { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: 10px; font-weight: 700; color: var(--muted); font-size: 14.5px; }
.wiki-side a:hover { color: #fff; background: rgba(255, 255, 255, .03); }
.wiki-side a.on { color: var(--gold-2); background: rgba(216, 178, 106, .08); }
.wiki-side a small { font-size: 12px; color: var(--muted-2); }
.wiki-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.wcard { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; transition: transform .2s, border-color .2s; }
.wcard:hover { transform: translateY(-3px); border-color: var(--line); }
.wcard .th { aspect-ratio: 16 / 9; background: var(--panel-2); overflow: hidden; }
.wcard .th > img, .wcard .th > svg { width: 100%; height: 100%; object-fit: cover; }
.wcard .bd { padding: 14px 16px 16px; }
.wcard h3 { font-size: 16px; font-weight: 800; margin: 6px 0 4px; }
.wcard p { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.infobox { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); }
.infobox .th { aspect-ratio: 4 / 3; background: var(--panel-2); }
.infobox .th > img, .infobox .th > svg { width: 100%; height: 100%; object-fit: cover; }
.infobox h3 { padding: 14px 18px; font-family: var(--f-serif); font-size: 20px; text-align: center; background: rgba(216, 178, 106, .08); border-bottom: 1px solid var(--line-2); }
.infobox dl { margin: 0; display: grid; grid-template-columns: 80px 1fr; }
.infobox dt, .infobox dd { padding: 10px 16px; border-bottom: 1px solid var(--line-2); font-size: 13.5px; margin: 0; }
.infobox dt { color: var(--muted); background: rgba(255, 255, 255, .015); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags a { font-size: 12px; color: var(--muted); padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 20px; }
.tags a:hover { color: var(--gold-2); border-color: var(--gold); }

/* =========================================================
   Footer / quick / toast / modal
   ========================================================= */
.footer { margin-top: 0; background: #04070e; border-top: 1px solid var(--line-2); padding: 50px 0 60px; font-size: 13px; color: var(--muted); }
.footer .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid var(--line-2); }
.footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer .links a:hover { color: var(--gold-2); }
.footer .sns { display: flex; gap: 8px; }
.footer .bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; line-height: 1.8; }
.footer .bottom p { max-width: 720px; word-break: keep-all; }
.footer .staff { color: var(--muted-2); }
.footer .staff:hover { color: var(--gold-2); }

.quick { position: fixed; right: 22px; bottom: 26px; z-index: 90; display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: .3s; }
.quick.on { opacity: 1; transform: none; pointer-events: auto; }
.quick a, .quick button { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(19, 30, 52, .92); border: 1px solid var(--line); color: var(--gold-2); box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: .2s; position: relative; }
.quick a:hover, .quick button:hover { background: var(--gold); color: #1a1206; }
.quick a span, .quick button span { position: absolute; right: 62px; white-space: nowrap; background: #000; color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .15s; }
.quick a:hover span, .quick button:hover span { opacity: 1; }

.toast { position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 30px); z-index: 600; background: #111a2d; border: 1px solid var(--line); color: #fff; padding: 12px 20px; border-radius: 10px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: .3s; font-weight: 600; font-size: 14px; max-width: calc(100vw - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast.err { border-color: rgba(226, 72, 59, .6); }

.modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; }
.modal-dim { position: absolute; inset: 0; background: rgba(2, 4, 9, .75); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade .2s; }
.modal-box { position: relative; width: min(760px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); animation: pop .25s cubic-bezier(.2, .7, .2, 1); }
.modal-box.sm { width: min(440px, 100%); }
.modal-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line-2); background: var(--bg-2); }
.modal-head h3 { font-size: 18px; font-weight: 800; }
.modal-body { padding: 24px; }
.modal-foot { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: 8px; padding: 16px 24px; border-top: 1px solid var(--line-2); background: var(--bg-2); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }

/* skeleton */
.sk { background: linear-gradient(90deg, var(--panel) 0%, var(--panel-3) 50%, var(--panel) 100%); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: 10px; }
@keyframes sk { to { background-position: -200% 0; } }

/* reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s, transform .8s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }

/* =========================================================
   Admin
   ========================================================= */
.admin { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: calc(100vh - var(--gnb-h)); padding-top: var(--gnb-h); }
.admin-side { background: #050911; border-right: 1px solid var(--line-2); padding: 22px 12px; position: sticky; top: var(--gnb-h); height: calc(100vh - var(--gnb-h)); overflow-y: auto; }
.admin-side h4 { font-size: 11px; color: var(--muted-2); letter-spacing: .14em; padding: 14px 12px 6px; font-weight: 700; }
.admin-side a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.admin-side a:hover { background: rgba(255, 255, 255, .03); }
.admin-side a.on { background: rgba(216, 178, 106, .1); color: var(--gold-2); }
.admin-main { padding: 30px 36px 80px; min-width: 0; }
.admin-main h2 { font-size: 24px; font-weight: 900; margin-bottom: 4px; }
.admin-main .desc { color: var(--muted); font-size: 13.5px; margin-bottom: 22px; }
.atable { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.atable th, .atable td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line-2); font-size: 13.5px; vertical-align: middle; }
.atable th { background: var(--panel-2); color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.atable tr:last-child td { border-bottom: 0; }
.atable td.actions { white-space: nowrap; text-align: right; }
.atable td .clip { max-width: 360px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.atable tbody tr:hover { background: rgba(255, 255, 255, .02); }
.login-card { max-width: 420px; margin: calc(var(--gnb-h) + 80px) auto 120px; padding: 40px 34px; text-align: center; }
.login-card .seal { width: 76px; height: 76px; margin: 0 auto 18px; }
.login-card h1 { font-family: var(--f-serif); font-size: 26px; font-weight: 900; }
.login-card p { color: var(--muted); font-size: 14px; margin: 8px 0 26px; }
.code-box { font-family: ui-monospace, Consolas, monospace; font-size: 26px; letter-spacing: .12em; text-align: center; padding: 18px; border: 1px dashed var(--gold); border-radius: 12px; color: var(--gold-2); background: rgba(216, 178, 106, .06); user-select: all; }
.notice-bar { padding: 12px 16px; border-radius: 10px; background: rgba(216, 178, 106, .08); border: 1px solid var(--line); color: var(--text-2); font-size: 13.5px; margin-bottom: 20px; }
.demo-flag { position: fixed; left: 16px; bottom: 16px; z-index: 95; font-size: 12px; background: rgba(226, 72, 59, .92); color: #fff; padding: 6px 12px; border-radius: 20px; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.demo-flag button { text-decoration: underline; color: #fff; font-size: 12px; }
.upload-row { display: flex; gap: 8px; }
.upload-row .input { flex: 1; }
.img-prev { margin-top: 8px; max-height: 120px; border-radius: 8px; border: 1px solid var(--line-2); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
  .menu > li > a { padding: 0 16px; font-size: 15px; }
  .home-grid { grid-template-columns: 1fr 1fr; }
  .home-grid .livebox { grid-column: 1 / -1; }
  .rc-strip { grid-template-columns: repeat(2, 1fr); }
  .wanted-grid { grid-template-columns: repeat(4, 1fr); }
  .quickbar-inner { grid-template-columns: repeat(3, 1fr); }
  .qb-item:nth-child(4)::before { display: none; }
  .qb-item:nth-child(n+4) { border-top: 1px solid var(--line-2); }
}
@media (max-width: 1024px) {
  .menu, .gnb-right .desk { display: none; }
  .hamburger { display: grid; }
  .gnb-inner { justify-content: space-between; }
  .mega { display: none; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .article, .two-col { grid-template-columns: 1fr; }
  .aside-box { position: static; }
  .rank-split { grid-template-columns: 1fr; }
  .arc-tiles { grid-template-columns: repeat(2, 1fr); }
  .wiki-layout { grid-template-columns: 1fr; }
  .wiki-side { position: static; display: flex; overflow-x: auto; gap: 4px; }
  .wiki-side a { flex-shrink: 0; }
  .admin { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; display: flex; flex-wrap: wrap; gap: 4px; padding: 12px; }
  .admin-side h4 { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .crew-hero .wrap { flex-direction: column; text-align: center; }
  .crew-hero .facts { justify-content: center; }
}
@media (max-width: 720px) {
  :root { --gnb-h: 60px; }
  body { font-size: 14.5px; }
  .wrap { padding: 0 16px; }
  .gnb-inner { padding: 0 16px; }
  .logo-mark { width: 32px; height: 32px; }
  .logo-txt b { font-size: 17px; }
  .hero { min-height: 560px; height: 88vh; }
  .hero-copy .wrap, .hero-nav .wrap { padding: 0 20px; }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 4%, rgba(5, 8, 17, .78) 40%, rgba(5, 8, 17, .55) 70%, rgba(5, 8, 17, .5) 100%); }
  .hero-sub { text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
  .hero-nav { bottom: 96px; }
  .hero-tab span { display: none; }
  .hero-tab small { font-size: 10px; letter-spacing: .06em; }
  .hero-arrows { display: none; }
  .scroll-cue { display: none; }
  .quickbar { margin-top: -54px; }
  .quickbar-inner { grid-template-columns: repeat(3, 1fr); }
  .qb-item { flex-direction: column; text-align: center; gap: 8px; padding: 16px 6px; }
  .qb-item small { display: none; }
  .qb-item b { font-size: 13px; }
  .qb-ico { width: 40px; height: 40px; }
  .sec { padding: 52px 0; }
  .sec-title h2 { font-size: 25px; }
  .home-grid { grid-template-columns: 1fr; }
  .feature { min-height: 320px; }
  .rc-strip, .news-grid, .rc-list { grid-template-columns: 1fr; }
  .news-top { grid-template-columns: 1fr; }
  .news-top .feature { min-height: 300px; }
  .wanted-row { gap: 10px; padding: 24px 12px 16px; }
  .wanted { min-width: 0; overflow: visible; }
  .wanted > div { overflow: hidden; }
  .wanted .w-h, .wanted.big .w-h { font-size: clamp(12px, 3.7vw, 20px); letter-spacing: 0; }
  .wanted-row .wanted .w-bounty, .wanted-top .wanted .w-bounty { font-size: 11.5px; letter-spacing: 0; }
  .wanted .w-s { font-size: 7px; letter-spacing: .15em; }
  .wanted .w-rank { font-size: 10px; padding: 2px 8px; }
  .wanted .w-name { font-size: 15px; }
  .wanted .w-bounty { font-size: 13px; }
  .wanted .w-doa { font-size: 8px; letter-spacing: .1em; }
  .wanted { padding: 12px 10px; }
  .wanted-top { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .wanted.big .w-h { font-size: 22px; }
  .wanted.big .w-name { font-size: 16px; }
  .wanted.big .w-bounty { font-size: 13px; }
  .wanted-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .board-bg { padding: 22px 12px 6px; border-width: 4px; }
  .podium { grid-template-columns: 1fr; }
  .podium .p1 { order: -1; }
  .arc-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .arc-tile { padding: 14px; }
  .arc-tile h4 { font-size: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; }
  .stats-row { gap: 10px; }
  .stat b { font-size: 22px; }
  .rank-table .hide-m { display: none; }
  .cal-day { min-height: 74px; padding: 3px; }
  .cal-ev { font-size: 9.5px; padding: 1px 3px; }
  .admin-main { padding: 22px 16px 60px; }
  .quick { right: 14px; bottom: 16px; }
  .quick a, .quick button { width: 46px; height: 46px; }
  .crew-hero .emblem { width: 130px; height: 130px; }
  .subhero { padding: calc(var(--gnb-h) + 40px) 0 36px; }
  .search input { width: 100%; }
  .toolbar .search { flex: 1 1 100%; }
  .hcard .th { width: 108px; }
  .ticker { height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rv { opacity: 1; transform: none; }
}
