/*
  수다소프트 사이트 스타일 v3 — "무대"
  ─────────────────────────────────────────────
  게임 화면과 같은 재료로 만든다. 남색 창 · 금색 테두리 · 주황빛 금 버튼 · 굵은 제목 글씨(Black Han Sans).
  주인공은 첫 화면의 무대 하나다. 직업 그림 옆 휴대폰에서 실제 게임 영상이 돈다.
  나머지 칸은 조용하게 두고 실제 게임 그림만 보여 준다.
  색을 바꿀 때는 아래 :root 값만 고치면 된다. --c 는 고른 직업의 색이다.
*/
:root {
  --bg: #0a0e1a;
  --bg2: #0d1323;
  --panel: #121a2e;
  --panel2: #18223c;
  --line: rgba(150, 172, 230, .15);
  --line2: rgba(150, 172, 230, .32);
  --ink: #eef2fb;
  --ink2: #cbd4e8;
  --muted: #97a3bd;
  --gold1: #ffe9b0;
  --gold2: #f0bf5a;
  --gold3: #b57a22;
  --ember: #ff8a3d;
  --c: #6f9bff;
  --cg: rgba(111, 155, 255, .3);
  --display: "Black Han Sans", "Noto Sans KR", "Noto Sans CJK KR", "Apple SD Gothic Neo", sans-serif;
  --text: "Pretendard Variable", Pretendard, "Noto Sans KR", "Noto Sans CJK KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  --gnb: 64px;
  --pad: clamp(20px, 5vw, 48px);
  --max: 1280px;
  color-scheme: dark;
}
@media (max-width: 899px) { :root { --gnb: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--gnb) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.7 var(--text); word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold1); text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 900; font-synthesis: none; line-height: 1.22; letter-spacing: 0; text-wrap: balance; color: #fff; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold1); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 10px; background: var(--gold2); color: #221402; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.in { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.ic { flex: none; }
.lead { color: var(--ink2); font-size: clamp(16.5px, 1.3vw, 18.5px); line-height: 1.65; max-width: 36em; text-wrap: pretty; }

/* ───── 버튼 — 게임 버튼처럼 아래에 두께가 있다 ───── */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 13px; font: 700 16.5px/1 var(--text); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .1s, filter .2s, background-color .2s, box-shadow .2s; }
.btn.gold { color: #2a1803; background: linear-gradient(180deg, #ffe596 0%, #f8bf48 52%, #f0a02c 100%); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .75), 0 4px 0 #9b5d12, 0 16px 28px -12px rgba(255, 150, 40, .55); }
.btn.gold:hover { color: #2a1803; filter: brightness(1.07); }
.btn.gold:active { transform: translateY(3px); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .75), 0 1px 0 #9b5d12; }
.btn.line { color: var(--ink); background: rgba(24, 34, 60, .82); box-shadow: inset 0 0 0 1.5px var(--line2), 0 4px 0 rgba(3, 5, 11, .7); }
.btn.line:hover { color: #fff; background: #1f2c4e; }
.btn.line:active { transform: translateY(3px); box-shadow: inset 0 0 0 1.5px var(--line2), 0 1px 0 rgba(3, 5, 11, .7); }
.btn.sm { min-height: 42px; padding: 0 16px; font-size: 14.5px; border-radius: 11px; }
.btn.ext .ic, .more.ext .ic { opacity: .8; }
.btn[disabled] { opacity: .6; cursor: default; }

/* ───── 이름표 ───── */
.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; font: 600 12.5px/1 var(--text); color: var(--ink2); background: rgba(150, 172, 230, .13); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.chip.live { color: #241503; background: var(--gold2); box-shadow: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 7px; font: 600 12.5px/1 var(--text); color: var(--ink2); background: rgba(150, 172, 230, .12); white-space: nowrap; }
.tag.hot { color: #2a1203; background: var(--ember); }
.tag.time { color: var(--gold1); background: rgba(240, 191, 90, .14); }
.crest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 700 15px/1.2 var(--text); color: var(--ink2); }
.gmark { width: 30px; height: 30px; flex: none; }
/* 게임 제목 글자 — 금색 "제국" + 금판 "RPG". 크기는 font-size 하나로 정한다. */
.glogo { display: inline-flex; align-items: center; gap: .14em; font: 900 34px/1 var(--display); font-synthesis: none; white-space: nowrap; vertical-align: middle; }
.glogo b { padding: .06em 0 .1em; font: inherit; text-shadow: none; color: transparent; -webkit-text-fill-color: transparent; background: linear-gradient(180deg, #fff7d6 4%, #ffd873 40%, #f0a93a 74%, #c97a1c 100%); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 .045em 0 #5a3206) drop-shadow(0 .1em .12em rgba(0, 0, 0, .55)); }
.glogo i { align-self: center; margin-top: .08em; padding: .36em .52em .32em; border-radius: .3em; font: 800 .32em/1 "Montserrat", var(--text); font-style: normal; letter-spacing: .1em; text-shadow: none; color: #2a1803; -webkit-text-fill-color: #2a1803; background: linear-gradient(180deg, #ffe596, #f0a02c); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 .12em 0 #9b5d12; }

/* ───── 위 메뉴 ───── */
.gnb { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--gnb); border-bottom: 1px solid transparent; transition: background-color .25s, border-color .25s; }
.gnb.solid, body.menu-open .gnb { background: rgba(10, 14, 26, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.gnb > .in { height: 100%; display: flex; align-items: center; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; color: var(--ink); text-decoration: none; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo b { display: block; font: 800 16.5px/1.12 "Montserrat", var(--text); letter-spacing: .01em; color: #fff; white-space: nowrap; }
.logo b i { font-style: normal; color: #4a94ff; }
.logo small { display: block; margin-top: 1px; font: 500 11.5px/1.25 var(--text); color: var(--muted); white-space: nowrap; }
.nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; color: var(--ink2); font-weight: 600; font-size: 15.5px; text-decoration: none; }
.nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav a[aria-current=page] { color: var(--gold1); }
.nav-cta { display: none; }
.gnb:not(.solid) .gnb-cta { color: var(--ink); background: rgba(24, 34, 60, .82); box-shadow: inset 0 0 0 1.5px var(--line2); }
.menu-btn { display: none; place-items: center; width: 46px; height: 46px; margin-right: -8px; border: 0; border-radius: 12px; background: transparent; color: #fff; cursor: pointer; }
.menu-btn .ic-close, .menu-btn[aria-expanded=true] .ic-open { display: none; }
.menu-btn[aria-expanded=true] .ic-close { display: block; }
@media (max-width: 899px) {
  .menu-btn { display: grid; }
  /* 메뉴 바에 흐림 효과가 걸리면 fixed 기준이 바뀌므로 메뉴 바 바로 아래에 absolute 로 붙인다 */
  .nav { position: absolute; left: 0; right: 0; top: 100%; height: calc(100dvh - var(--gnb)); display: none; overflow-y: auto; padding: 8px var(--pad) calc(20px + env(safe-area-inset-bottom)); background: var(--bg); }
  .nav.open { display: flex; flex-direction: column; }
  .nav ul { flex: 1; flex-direction: column; align-items: stretch; gap: 0; }
  .nav a:not(.btn) { min-height: 62px; padding: 0 4px; border-radius: 0; border-bottom: 1px solid var(--line); font: 400 23px/1 var(--display); color: #fff; }
  .nav-cta { display: block; margin-top: auto; padding-top: 24px; }
  .nav-cta .btn { width: 100%; min-height: 56px; }
  .gnb:not(.solid) .gnb-cta { opacity: 0; visibility: hidden; }
}
@media (max-width: 379px) { .gnb-cta { display: none; } }
@media (min-width: 900px) { .gnb > .in { gap: 20px; } }

/* ───── 첫 화면: 무대 ───── */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-top: var(--gnb); background: radial-gradient(90% 70% at 78% 30%, #1b2757 0%, rgba(27, 39, 87, 0) 62%), linear-gradient(180deg, #0c1228 0%, #0a0e1a 78%); }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage" "actions"; row-gap: 12px; padding-block: 12px 22px; }
.hero-head { grid-area: head; min-width: 0; container-type: inline-size; }
.hero-stage { grid-area: stage; min-width: 0; container-type: inline-size; }
.hero-actions { grid-area: actions; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.hero-actions .btn { padding: 0 8px; font-size: 16px; }
/* 제목 = 게임 이름(크게) + 한 줄 소개 두 줄. 글자 크기는 칸 너비(cqw)에 맞춰 한 줄(열두 자)이 넘치지 않게 한다 */
.hero-title { font-size: inherit; line-height: 1.2; }
.title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.hero-title .glogo { font-size: clamp(44px, 17cqw, 66px); }
.tagline { display: block; margin-top: 6px; font-size: clamp(17px, 6.1cqw, 27px); line-height: 1.3; text-shadow: 0 2px 0 rgba(4, 6, 14, .55); }
.tagline > span { display: block; }
.hero .lead { margin-top: 8px; font-size: 15.5px; line-height: 1.5; text-wrap: balance; }
.hero .lead .wide { display: none; }

.hero-stage { --sh: clamp(168px, calc(100svh - 428px), 350px); }
.stage-view { position: relative; display: flex; justify-content: center; align-items: flex-end; height: min(var(--sh), 100cqw); }
.stage-view::before { content: ""; position: absolute; z-index: 0; inset: -6% -10% -4%; background: radial-gradient(closest-side, var(--cg), transparent 72%); transition: background .3s; }
.stage-glow { position: absolute; z-index: 0; inset: 4% 2% 0 18%; border-radius: 42%; background-size: cover; background-position: 50% 40%; filter: blur(42px) saturate(1.5); opacity: .42; transform: translateZ(0); }
.stage-fig { position: relative; z-index: 2; flex: none; height: 100%; margin-right: -7%; }
.stage-fig::after { content: ""; position: absolute; left: 50%; bottom: -1.5%; width: 104%; aspect-ratio: 3.3 / 1; border-radius: 50%; border: 2px solid var(--c); opacity: 0; transform: translateX(-50%) scale(.5); pointer-events: none; }
.stage-fig.cast::after { animation: cast .6s ease-out; }
@keyframes cast { 0% { opacity: .95; transform: translateX(-50%) scale(.5); } 100% { opacity: 0; transform: translateX(-50%) scale(1.7); } }
.stage-fig::before { content: ""; position: absolute; left: 50%; bottom: -1.5%; width: 104%; aspect-ratio: 3.3 / 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, transparent 0 58%, var(--c) 59% 61%, transparent 62% 78%, var(--c) 79% 80.5%, transparent 81.5%), radial-gradient(closest-side, var(--cg), transparent 82%); opacity: .8; }
.stage-art { position: relative; height: 100%; width: auto; max-width: none; aspect-ratio: 574 / 810; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 14px 16px rgba(2, 4, 10, .55)); }
.stage-art.in { animation: artIn .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes artIn { from { opacity: 0; transform: translateX(-14px); } }
.phone { margin: 0; }
.phone-screen { position: relative; overflow: hidden; aspect-ratio: 540 / 1169; border: 3px solid #2a3760; border-radius: 10% / 4.6%; background: #05070d; box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 26px 46px -20px rgba(0, 0, 0, .85); }
.phone-screen img, .phone-screen video { width: 100%; height: 100%; object-fit: cover; }
.phone figcaption { margin-top: 10px; text-align: center; font-size: 14px; color: var(--muted); }
.stage-phone { position: relative; z-index: 1; flex: none; height: 95%; margin-bottom: 2%; }
.stage-phone .phone-screen { height: 100%; border-color: color-mix(in srgb, var(--c) 45%, #2a3760); transition: border-color .3s; }
.stage-phone figcaption { position: absolute; left: 50%; bottom: 9px; z-index: 2; margin: 0; transform: translateX(-50%); padding: 4px 10px; border-radius: 999px; background: rgba(5, 7, 13, .8); color: #fff; font: 600 11.5px/1.3 var(--text); white-space: nowrap; }
.phone-play { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 8px; border: 0; background: rgba(5, 7, 13, .35); color: #fff; font: 700 14px/1 var(--text); cursor: pointer; }
.phone-play .ic { width: 52px; height: 52px; padding: 14px; border-radius: 50%; background: var(--gold2); color: #2a1803; stroke: none; }
.picker { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.pick { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 46px; padding: 4px 2px; border: 0; border-radius: 12px; background: rgba(18, 26, 46, .86); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink2); font: 700 14px/1 var(--text); cursor: pointer; transition: background-color .2s, box-shadow .2s, color .2s; }
.pick img { width: 24px; height: 24px; flex: none; }
.pick span { white-space: nowrap; }
/* 버튼 글자가 두 줄로 밀리지 않게: 무대 칸이 좁으면 얼굴을 글자 위로 올리고 넓으면 키운다 (화면 폭이 아니라 칸 폭 기준) */
@container (max-width: 319px) { .pick { flex-direction: column; gap: 4px; min-height: 58px; padding: 6px 2px; font-size: 13px; } }
@container (min-width: 380px) { .pick { gap: 6px; } .pick img { width: 30px; height: 30px; } }
@container (min-width: 480px) { .pick { min-height: 54px; gap: 8px; font-size: 15.5px; } .pick img { width: 36px; height: 36px; } }
@media (max-width: 359px) { .hero-stage { --sh: clamp(140px, calc(100svh - 446px), 350px); } }
.pick:hover { color: #fff; box-shadow: inset 0 0 0 1.5px var(--c); }
.pick[aria-pressed=true] { color: #fff; background: color-mix(in srgb, var(--c) 26%, #121a2e); box-shadow: inset 0 0 0 2px var(--c); }
.stage-cap { margin-top: 8px; text-align: center; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.stage-cap b { color: var(--c); font-weight: 700; }

@media (min-width: 900px) {
  .hero { display: grid; min-height: min(100svh, 900px); }
  .hero-grid { grid-template-columns: minmax(0, .94fr) minmax(0, 1fr); grid-template-areas: "head stage" "actions stage"; align-content: center; column-gap: clamp(24px, 4vw, 60px); row-gap: 30px; padding-block: 28px 64px; }
  .hero-head { align-self: end; }
  .hero-actions { align-self: start; display: flex; margin-top: 0; }
  .hero-actions .btn { min-height: 58px; padding: 0 28px; font-size: 17.5px; }
  .hero-title .glogo { font-size: clamp(60px, 17.5cqw, 104px); }
  .title-row { gap: 8px 18px; }
  .tagline { margin-top: 14px; font-size: clamp(22px, 5.9cqw, 34px); line-height: 1.32; }
  .hero .lead { margin-top: 18px; font-size: clamp(16.5px, 1.3vw, 18.5px); line-height: 1.65; text-wrap: pretty; max-width: 30em; }
  .hero .lead .wide { display: inline; }
  .crest { font-size: 16px; }
  .gmark { width: 34px; height: 34px; }
  .hero-stage { --sh: clamp(380px, calc(100svh - 270px), 640px); }
  .stage-view { height: min(var(--sh), calc(92cqw + 30px)); }
  .stage-fig { margin-right: -6%; }
  .picker { gap: 8px; max-width: 520px; margin: 18px auto 0; }
  .stage-cap { margin-top: 12px; font-size: 14.5px; }
  .stage-phone figcaption { bottom: 14px; font-size: 12.5px; }
}

/* ───── 칸 공통 ───── */
.sec { padding-block: clamp(64px, 9vw, 116px); }
.sec.alt { background: var(--bg2); }
.sec.edge { border-top: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: clamp(30px, 4.4vw, 54px); }
.sec-head h2, .story h2, .notify-band h2 { font-size: clamp(31px, 3.6vw, 46px); }
.sec-head .lead { margin-top: 12px; }

/* 이런 게임이에요 */
.feats { display: grid; gap: clamp(48px, 7vw, 92px); }
.feat { display: grid; gap: 26px; align-items: center; }
.feat-text h3 { font-size: clamp(24px, 2.7vw, 35px); }
.feat-text p { margin-top: 12px; max-width: 30em; color: var(--ink2); font-size: clamp(16.5px, 1.25vw, 18px); text-wrap: pretty; }
.feat-vis { display: flex; justify-content: center; min-width: 0; }
.gwin { width: min(100%, 520px); margin: 0; }
.gwin img { width: 100%; border-radius: 18px; box-shadow: 0 0 0 2px rgba(240, 191, 90, .45), 0 30px 50px -28px #000; }
.gwin .toast { position: relative; width: 86%; margin: -11% -3% 0 auto; border-radius: 14px; box-shadow: 0 0 0 2px rgba(240, 191, 90, .7), 0 18px 30px -12px #000; }
.gwin figcaption { margin-top: 12px; text-align: center; font-size: 14px; color: var(--muted); }
.tiers { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; width: 100%; max-width: 520px; margin: 0; padding: clamp(18px, 3vw, 30px) 8px clamp(16px, 2.6vw, 26px); list-style: none; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1.5px rgba(240, 191, 90, .35); }
.tiers li { position: relative; display: grid; justify-items: center; gap: 6px; min-width: 0; }
.tiers li + li::before { content: ""; position: absolute; left: -5px; top: clamp(18px, 4.6vw, 32px); width: 9px; height: 9px; border-top: 2px solid var(--gold3); border-right: 2px solid var(--gold3); transform: rotate(45deg); }
.tiers img { width: clamp(44px, 11vw, 76px); height: auto; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); }
.tiers span { font: 600 clamp(11.5px, 2.9vw, 14px)/1.2 var(--text); color: var(--ink2); white-space: nowrap; }
.tiers li:last-child span { color: var(--gold1); }
.feat.fair { padding: clamp(22px, 3vw, 36px); border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1.5px rgba(240, 191, 90, .35); }
.feat.fair .feat-text p { max-width: 40em; }
@media (min-width: 900px) {
  .feat { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
  .feat:nth-child(even):not(.fair) .feat-vis { order: -1; }
  .feat.fair { grid-template-columns: minmax(0, 1fr); }
}

/* 네 직업 카드 (홈) */
.ccards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ccard a { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 18px; background: radial-gradient(90% 62% at 50% 34%, var(--cg), transparent 72%), var(--panel); box-shadow: inset 0 0 0 1.5px var(--line); color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.ccard a:hover { box-shadow: inset 0 0 0 2px var(--c); transform: translateY(-3px); }
.ccard img { width: auto; height: clamp(170px, 46vw, 320px); margin: 14px auto 0; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(2, 4, 10, .5)); }
.cc-text { padding: 12px 14px 16px; }
.cc-text h3 { font-size: clamp(21px, 2.2vw, 27px); color: var(--c); }
.cc-text p { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--ink2); }
@media (min-width: 900px) {
  .ccards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .ccard img { height: clamp(260px, 25vw, 340px); margin-top: 22px; }
  .cc-text { padding: 16px 20px 22px; }
  .cc-text p { font-size: 15.5px; }
}

/* 알림 받기 띠 — 밤의 성 그림(castle-night) 위에 글과 버튼
   그림은 띠 아래에 붙고 글은 그림 윗부분의 밤하늘 위에 놓인다.
   --nbh: 띠 폭에서의 그림 높이 · 띠 아래 여백은 그 62%라서 성은 늘 글 아래에 보인다. */
.notify-band { --nbp: clamp(52px, 7vw, 96px); --nbh: 40.62vw; position: relative; isolation: isolate; overflow: hidden; padding-top: var(--nbp); padding-bottom: calc(var(--nbh) * .62); background: #09172e; border-top: 1px solid var(--line); }
.nb-bg { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; display: block; }
.nb-bg img { width: 100%; height: auto; }
.nb-bg::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30%; background: linear-gradient(180deg, #09172e 0%, rgba(9, 23, 46, .6) 35%, rgba(9, 23, 46, 0) 100%); }
.notify-band h2 { text-shadow: 0 2px 18px rgba(3, 8, 24, .6); }
.notify-band .actions .btn .ic { margin-left: -4px; }
@media (max-width: 559px) { .notify-band { --nbh: 79.9vw; padding-bottom: calc(var(--nbh) * .66); } }
@media (min-width: 560px) and (max-width: 899px) { .notify-band { padding-bottom: calc(var(--nbh) * .7); } }
@media (min-width: 900px) {
  .notify-band .nb-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: center; }
  .notify-band .nb-copy > h2, .notify-band .nb-copy > p { grid-column: 1; }
  .notify-band .nb-copy > .actions { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .notify-band .nb-copy > [data-channels] { grid-column: 1 / -1; }
}
.notify-band.has-art { background: radial-gradient(52% 110% at 80% 62%, rgba(255, 110, 50, .2), rgba(255, 110, 50, 0) 72%), linear-gradient(180deg, #0f1836 0%, #0a0e1a 100%); }
.notify-band > .in { display: grid; gap: 28px; align-items: center; }
.notify-band p { margin-top: 10px; color: var(--ink2); font-size: clamp(16.5px, 1.3vw, 18.5px); }
.notify-band .actions { margin-top: 26px; }
.notify-band .actions .btn { min-height: 58px; padding: 0 30px; font-size: 17.5px; }
.notify-band [data-channels] { margin-top: 4px; }
.notify-band [data-channels] .btn { min-height: 48px; padding: 0 20px; font-size: 15.5px; }
.nb-art { align-self: end; justify-self: center; width: min(78%, 320px); margin-bottom: calc(-1 * var(--nbp)); }
.nb-art img { width: 100%; filter: drop-shadow(0 0 30px rgba(255, 110, 50, .25)); }
@media (min-width: 760px) { .notify-band.has-art > .in { grid-template-columns: minmax(0, 1fr) clamp(270px, 33vw, 420px); } .nb-art { justify-self: end; width: 100%; margin-top: calc(-0.45 * var(--nbp)); } }
@media (max-width: 759px) { .notify-band .actions .btn { width: 100%; } }

/* 만드는 곳 */
.biz { display: grid; gap: 16px; }
.biz-tile { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--line); color: inherit; text-decoration: none; transition: box-shadow .2s; }
.biz-tile:hover { color: inherit; box-shadow: inset 0 0 0 2px var(--gold2); }
.bt-art { aspect-ratio: 16 / 8.2; overflow: hidden; background: #0a0f1e; }
.bt-art img, .bt-art svg { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.bt-art.bt-heroes { display: flex; justify-content: center; align-items: flex-end; aspect-ratio: auto; height: clamp(190px, 46vw, 290px); padding-top: 12px; background: radial-gradient(70% 90% at 50% 40%, #1d2a5e, #0a0f1e 75%); }
.bt-art.bt-heroes img { flex: none; width: auto; height: 84%; max-width: none; margin-inline: -2.4%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 8px 10px rgba(2, 4, 10, .5)); }
.bt-art.bt-heroes img:nth-child(2) { position: relative; z-index: 2; height: 98%; }
.bt-art.bt-heroes img:nth-child(3) { position: relative; z-index: 1; height: 91%; }
@media (min-width: 760px) { .bt-art.bt-heroes { height: clamp(220px, 24vw, 290px); } }
.bt-text { padding: 20px 22px 24px; }
.bt-kind { font: 600 14px/1 var(--text); color: var(--gold2); }
.bt-text h3 { margin-top: 8px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
.bt-text .desc { margin-top: 8px; color: var(--ink2); }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; color: var(--gold1); }
.more:not(.ext)::after { content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.biz-more { margin-top: 22px; color: var(--muted); }
@media (min-width: 760px) { .biz { grid-template-columns: 1fr 1fr; gap: 20px; } }

/* 개발일지 목록 */
.posts { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.posts a { display: grid; gap: 4px; padding: 20px 22px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--line); color: inherit; text-decoration: none; }
.posts a:hover { box-shadow: inset 0 0 0 2px var(--gold2); }
.posts time { font-size: 13.5px; color: var(--muted); }
.posts b { font: 400 21px/1.3 var(--display); color: #fff; }
.posts span { color: var(--ink2); }
.empty { padding: clamp(24px, 4vw, 44px); border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--line); }
.empty .actions { margin-top: 20px; }

/* ───── 게임 페이지 ───── */
.ghead { position: relative; isolation: isolate; overflow: hidden; padding-top: var(--gnb); background: radial-gradient(70% 60% at 50% 26%, #1d2a5e 0%, rgba(29, 42, 94, 0) 66%), linear-gradient(180deg, #0c1228, #0a0e1a 80%); text-align: center; }
.lineup { position: relative; display: flex; justify-content: center; align-items: flex-end; height: min(50vw, clamp(190px, min(31vw, 100svh - 440px), 400px)); margin-top: 10px; }
.lineup::before { content: ""; position: absolute; left: 50%; bottom: -3%; width: min(100%, 860px); height: 16%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(111, 155, 255, .34), transparent); }
.lineup .lu { position: relative; flex: none; width: auto; height: 100%; max-width: none; margin-inline: clamp(-34px, -4.6vw, -8px); filter: drop-shadow(0 12px 14px rgba(2, 4, 10, .55)); }
.lineup .lu-0, .lineup .lu-3 { height: 86%; }
.lineup .lu-1 { position: relative; z-index: 2; }
.lineup .lu-2 { position: relative; z-index: 1; height: 94%; }
.ghead-copy { position: relative; z-index: 3; display: grid; justify-items: center; gap: 12px; margin-top: 14px; padding-bottom: clamp(24px, 3vw, 40px); }
.ghead-copy .crest { justify-content: center; }
.ghead-copy h1 { font-size: inherit; line-height: 1; }
.glogo.big { font-size: clamp(60px, 10vw, 116px); }
.glogo.sm { font-size: 36px; }
.ghead-copy .lead { text-wrap: balance; }
.ghead-copy .actions { justify-content: center; margin-top: 6px; }
.subnav { position: relative; z-index: 3; border-top: 1px solid var(--line); background: rgba(10, 14, 26, .72); }
.subnav .in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav .in::-webkit-scrollbar { display: none; }
.subnav a { flex: none; display: flex; align-items: center; min-height: 52px; padding: 0 14px; color: var(--ink2); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.subnav a:hover { color: #fff; }
@media (min-width: 900px) { .subnav .in { justify-content: center; gap: 12px; } }
@media (max-width: 559px) { .ghead-copy .actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 10px; } .ghead-copy .actions .btn { padding: 0 8px; font-size: 16px; } }

/* 이야기 */
.story { display: grid; grid-template-areas: "text" "boss" "map"; gap: 32px; align-items: center; }
.story-p { margin-top: 16px; max-width: 31em; color: var(--ink2); font-size: clamp(17px, 1.4vw, 19px); text-wrap: pretty; }
.path { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 28px 0 0; padding: 0; list-style: none; }
.path li { position: relative; padding: 7px 13px; border-radius: 10px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 15px; white-space: nowrap; }
.path li:not(:last-child)::after { content: ""; position: absolute; right: -17px; top: 50%; width: 7px; height: 7px; margin-top: -4px; border-top: 2px solid var(--gold3); border-right: 2px solid var(--gold3); transform: rotate(45deg); }
.path li:last-child { color: #2a1203; background: var(--ember); box-shadow: none; }
#story { overflow-x: hidden; overflow-x: clip; }   /* 보스 뒤 불빛이 화면 옆으로 넘치지 않게 */
.story-text { grid-area: text; }
.boss-fig { grid-area: boss; position: relative; isolation: isolate; margin: 0; justify-self: center; width: min(78%, 340px); }
.boss-fig::before { content: ""; position: absolute; z-index: -1; inset: 8% -14% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 110, 50, .34), rgba(255, 110, 50, 0)); }
.boss-fig img { width: 100%; filter: drop-shadow(0 18px 20px rgba(2, 4, 10, .6)); }
.boss-fig figcaption { margin-top: 6px; text-align: center; font: 900 19px/1.3 var(--display); font-synthesis: none; color: #fff; }
.map-fig { grid-area: map; margin: 0; justify-self: center; width: min(100%, 360px); }
.map-fig img { width: 100%; border-radius: 18px; box-shadow: 0 0 0 2px rgba(240, 191, 90, .5), 0 30px 50px -24px #000; }
.map-fig figcaption { margin-top: 10px; text-align: center; font-size: 14px; color: var(--muted); }
@media (min-width: 760px) { .story { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-areas: "text boss" "map boss"; gap: 28px 48px; } .map-fig { justify-self: start; width: min(100%, 320px); } .boss-fig { width: min(100%, 380px); } }
@media (min-width: 1100px) { .story { grid-template-columns: minmax(0, 1.15fr) minmax(0, .9fr) minmax(0, .75fr); grid-template-areas: "text boss map"; gap: 48px; } .map-fig { justify-self: end; width: 100%; } .boss-fig { width: 100%; } }

/* 직업 고르기 */
.cls-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 640px; }
.cls-tab { display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 64px; padding: 10px 4px; border: 0; border-radius: 14px; background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink2); cursor: pointer; transition: background-color .2s, box-shadow .2s, color .2s; }
.cls-tab img { width: 44px; height: 44px; }
.cls-tab b { font: 700 15px/1 var(--text); white-space: nowrap; }
.cls-tab:hover { color: #fff; box-shadow: inset 0 0 0 1.5px var(--c); }
.cls-tab[aria-selected=true] { color: #fff; background: color-mix(in srgb, var(--c) 24%, #121a2e); box-shadow: inset 0 0 0 2px var(--c); }
.cls-stage { display: grid; gap: 8px; align-items: center; margin-top: 16px; padding: clamp(18px, 3vw, 40px); border-radius: 22px; background: radial-gradient(70% 70% at 50% 34%, var(--cg), transparent 72%), var(--panel); box-shadow: inset 0 0 0 1.5px var(--line); }
.cls-stage[data-enter] .stage-art { animation: artIn .3s cubic-bezier(.2, .8, .2, 1); }
.cs-vis { position: relative; display: flex; justify-content: center; align-items: flex-end; height: min(76vw, 350px); margin-bottom: 14px; }
.cs-info h3 { font-size: clamp(32px, 4vw, 50px); color: var(--c); }
.cs-line { margin-top: 8px; font-size: clamp(17px, 1.4vw, 19px); color: var(--ink2); }
.cs-info dl { display: grid; gap: 0; margin: 20px 0 0; border-top: 1px solid var(--line); }
.cs-info dl > div { display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cs-info dt { flex: none; width: 6.5em; color: var(--muted); }
.cs-info dd { margin: 0; font-weight: 700; color: #fff; }
.cs-info dd small { margin-left: 6px; font-weight: 500; font-size: 13.5px; color: var(--muted); }
.gender { display: inline-flex; gap: 6px; margin-top: 20px; padding: 5px; border-radius: 14px; background: #0a0f1e; box-shadow: inset 0 0 0 1.5px var(--line); }
.gender button { white-space: nowrap; min-width: 64px; min-height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--ink2); font-weight: 700; cursor: pointer; }
.gender button[aria-pressed=true] { background: var(--c); color: #0a0f1e; }
@media (min-width: 900px) { .cls-stage { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 48px; margin-top: 20px; } .cs-vis { height: min(35vw, 460px); margin-bottom: 0; } }

/* 저녁 행사 */
.evb { display: grid; gap: 14px; }
.ev-feature { display: grid; grid-template-columns: clamp(118px, 34vw, 230px) minmax(0, 1fr); gap: clamp(14px, 2.4vw, 26px); align-items: center; padding: clamp(14px, 2vw, 22px); border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1.5px rgba(240, 191, 90, .45); }
.evf-art { align-self: stretch; display: grid; align-items: end; overflow: hidden; border-radius: 14px; background: radial-gradient(80% 70% at 50% 45%, rgba(255, 110, 50, .36), rgba(10, 15, 30, 0) 75%), #0a0f1e; }
.evf-art img { width: 100%; }
.ev-feature h3 { margin-top: 10px; font-size: clamp(23px, 2.5vw, 31px); }
.ev-feature .desc { margin-top: 8px; color: var(--ink2); }
.ev-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ev-list { display: grid; gap: 8px; align-content: start; margin: 0; padding: 0; list-style: none; }
.ev { display: flex; align-items: center; gap: 12px; min-height: 62px; padding: 10px 16px; border-radius: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.ev .ic { color: var(--gold2); }
.ev b { font-weight: 700; color: #fff; }
.ev .ev-tags { margin-left: auto; justify-content: flex-end; }
@media (min-width: 900px) { .evb { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; } .ev-feature { align-self: stretch; } }

/* 게임 화면 */
.gallery-row { display: flex; gap: 16px; margin: 0; padding: 6px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))) 14px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); scrollbar-width: none; }
.gallery-row::-webkit-scrollbar { display: none; }
.gallery-row li { flex: none; width: clamp(190px, 52vw, 236px); scroll-snap-align: start; }
.gallery-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.gbtn { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--panel2); box-shadow: inset 0 0 0 1.5px var(--line2); color: #fff; cursor: pointer; }
.gbtn:hover { background: #22305a; }
.gbtn[disabled] { opacity: .35; cursor: default; }

/* 자주 묻는 질문 */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; padding: 14px 20px; font-weight: 700; font-size: 17.5px; color: #fff; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--gold2); border-bottom: 2px solid var(--gold2); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details p { padding: 0 20px 20px; color: var(--ink2); }

/* ───── 알림 신청 창 ───── */
dialog.notify { width: min(440px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 30px 24px 24px; overflow-y: auto; border: 0; border-radius: 22px; background: var(--panel); color: var(--ink); box-shadow: inset 0 0 0 2px rgba(240, 191, 90, .6), 0 40px 80px -20px #000; }
dialog.notify::backdrop { background: rgba(3, 5, 11, .74); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
dialog.notify[open] { animation: popIn .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes popIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media (max-width: 559px) { dialog.notify { margin-top: max(64px, 9dvh); } }
dialog.notify h2 { padding-right: 40px; font-size: 25px; }
.notify-lead { margin-top: 8px; color: var(--ink2); font-size: 15.5px; }
.notify-x { position: absolute; right: 8px; top: 8px; }
.notify-x button { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 12px; background: transparent; color: var(--ink2); cursor: pointer; }
.notify-x button:hover { color: #fff; background: rgba(255, 255, 255, .07); }
dialog.notify .form { margin-top: 20px; }
dialog.notify .btn { width: 100%; }
.notify-done-actions { margin-top: 22px; }
[data-notify-done] .note { margin-top: 12px; }

/* ───── 폼 ───── */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 600; font-size: 14.5px; color: var(--ink2); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--line2); border-radius: 12px; background: #0a0f1e; color: var(--ink); font: 400 16px/1.5 var(--text); }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--gold1); outline-offset: 1px; border-color: var(--gold2); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.55; color: var(--ink2); }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--gold2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { min-height: 1.6em; font-size: 15px; color: var(--ink2); }
.msg.ok { color: #8ee6a6; }
.msg.err { color: #ffa692; }

/* ───── 안쪽 페이지 ───── */
.phead { padding: calc(var(--gnb) + clamp(40px, 6vw, 80px)) 0 clamp(28px, 4vw, 48px); background: linear-gradient(180deg, #0f1733, var(--bg)); }
.phead h1 { font-size: clamp(36px, 5vw, 62px); }
.phead .lead { margin-top: 14px; }
.phead .actions { margin-top: 26px; }
.crumb a { font-weight: 600; color: var(--gold2); text-decoration: none; }
.band { padding-block: clamp(32px, 5vw, 64px) clamp(64px, 9vw, 112px); }
.band h2 { font-size: clamp(24px, 2.6vw, 32px); }
.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; } }
.side { display: grid; gap: 14px; align-content: start; }
.box { padding: 22px; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--line); }
.box h3 { font-size: 21px; }
.box p { margin-top: 8px; color: var(--ink2); }
.box .btn { margin-top: 16px; }
.box .mail { font-weight: 700; color: var(--gold1); overflow-wrap: anywhere; }
.gcard { display: grid; overflow: hidden; border-radius: 22px; background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--line); color: inherit; text-decoration: none; }
.gcard:hover { color: inherit; box-shadow: inset 0 0 0 2px var(--gold2); }
.gcard .art { aspect-ratio: 16 / 10; overflow: hidden; background: #0a0f1e; }
.gcard .art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.gcard .body { padding: clamp(20px, 3vw, 36px); }
.gcard h2 { margin-top: 14px; font-size: inherit; line-height: 1; }
.gcard h2 .glogo { font-size: clamp(44px, 5.4vw, 64px); }
.gcard p { margin-top: 10px; max-width: 34em; color: var(--ink2); }
@media (min-width: 760px) { .gcard { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; } .gcard .art { aspect-ratio: auto; height: 100%; min-height: 320px; } }
.svc { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.svc li { padding: 22px; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--line); }
.svc h3 { font-size: 22px; }
.svc p { margin-top: 8px; color: var(--ink2); }
@media (min-width: 760px) { .svc { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.note { color: var(--muted); font-size: 15px; }
.info { width: 100%; margin-top: 16px; border-collapse: collapse; }
.info th, .info td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info th { width: 8.5em; font-weight: 500; color: var(--muted); }
.links-list { display: grid; gap: 10px; margin: 16px 0 26px; padding: 0; list-style: none; }
.links-list a { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding: 18px 20px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--line); color: inherit; text-decoration: none; }
.links-list a:hover { box-shadow: inset 0 0 0 2px var(--gold2); }
.links-list b { font: 400 21px/1.2 var(--display); color: #fff; }
.links-list span { color: var(--muted); font-size: 15px; }
.legal { max-width: 860px; }
.legal h2 { margin-top: 40px; font: 700 20px/1.4 var(--text); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal ul, .legal ol { margin-top: 10px; color: var(--ink2); }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li + li { margin-top: 4px; }
.tbl { margin-top: 14px; overflow-x: auto; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); }
.tbl table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl th { background: var(--panel); font-weight: 600; white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.legal .date { margin-top: 36px; color: var(--muted); }
.nf { padding-top: calc(var(--gnb) + 10vh); min-height: 68vh; }
.nf h1 { font-size: clamp(34px, 5vw, 58px); }
.nf .lead { margin-top: 14px; }
.nf .actions { margin-top: 28px; }

/* ───── 바닥글 ───── */
.foot { border-top: 1px solid var(--line); background: #070a13; font-size: 15px; color: var(--ink2); }
.foot > .in { padding-block: clamp(40px, 6vw, 64px) 28px; }
.foot .grid { display: grid; gap: 32px; }
.foot .about p { margin-top: 14px; max-width: 26em; color: var(--muted); }
.foot ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.foot ul a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink2); text-decoration: none; }
.foot ul a:hover { color: #fff; }
.foot .social { display: flex; gap: 16px; margin-top: 12px; }
.foot dl { display: grid; gap: 8px; margin: 0; }
.foot dl > div { display: flex; gap: 12px; }
.foot dt { flex: none; width: 7.5em; color: var(--muted); }
.foot dd { margin: 0; overflow-wrap: anywhere; }
.foot .bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot .bottom nav { display: flex; gap: 20px; }
.foot .bottom a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink2); text-decoration: none; }
.foot .bottom a:hover { color: #fff; }
@media (min-width: 760px) { .foot .grid { grid-template-columns: 1.4fr .8fr 1fr; gap: 48px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
