/* 도깨비 — 레퍼런스(어두운 바탕 + 형광 라임 하나, 굵은 큰 제목, 알약 칩·둥근 카드) 생김새를 따름.
   글꼴: 영문 Inter, 한글 Pretendard(Inter 에 한글이 없어 글자마다 Pretendard 로 넘어감). */
:root {
  --bg: #131416; --bg-make: #0f1113; --panel: #131517; --card: #1c1e20; --fg: #f7f7f8;
  --mute: rgba(255, 255, 255, .5); --dim: #898a8b; --eyebrow: #626262;
  --fill: rgba(255, 255, 255, .05); --line: rgba(255, 255, 255, .1); --line2: rgba(217, 217, 217, .08);
  --lime: #d1fe17; --lime15: rgba(209, 254, 23, .15); --ink: #131517; --warn: #ff6b5a;
  --ease: cubic-bezier(.4, 0, .2, 1); color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.5 Inter, Pretendard, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  word-break: keep-all; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, video { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 64px; }
.mute { color: var(--mute); }
.small { font-size: 13px; }
.warn { color: var(--warn); }

/* ── 상단 바(36px) ── */
.top { position: sticky; top: 0; z-index: 30; height: 36px; display: flex; align-items: center; gap: 16px; padding: 0 16px;
  background: rgba(19, 20, 22, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 16px; letter-spacing: -.02em; }
.logo svg { width: 22px; height: 22px; }
.top nav { display: flex; gap: 16px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--mute); transition: color .15s var(--ease); }
.top nav a:hover, .top nav a.on { color: var(--fg); }
.top .r { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.top .pw { color: var(--mute); margin-right: 8px; }
.tb { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 8px; border: 0; font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s var(--ease); }
.tb.soft { background: var(--lime15); color: var(--lime); }
.tb.lime { background: var(--lime); color: #1a1a1a; }
.top .em { color: var(--mute); max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu { display: none; background: none; border: 0; padding: 4px; cursor: pointer; }
.menu svg { width: 20px; height: 20px; }

/* 만들기 화면 위 라임 띠(44px) */
.band { position: relative; height: 44px; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 0 48px; font-size: 14px; font-weight: 500; text-align: center; }
.band a { font-weight: 600; background: var(--ink); color: var(--lime); border-radius: 8px; padding: 2px 10px; text-decoration: none; font-size: 13px; white-space: nowrap; }
.band button { position: absolute; right: 16px; background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }

/* ── 단추 ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--fill); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); }
.btn:hover { background: rgba(255, 255, 255, .1); }
.btn.lime { background: var(--lime); color: var(--ink); border-color: transparent; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); }
.btn.lime:hover { background: #dcff4f; }
.btn.ink { background: #0f1113; color: #fff; border-color: transparent; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn.sm { height: 32px; padding: 0 12px; font-size: 12px; font-weight: 500; border-radius: 8px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.play { width: 22px; height: 16px; border-radius: 3px; background: rgba(255, 255, 255, .25); position: relative; }
.play::after { content: ""; position: absolute; left: 8px; top: 4px; border: 4px solid transparent; border-left: 7px solid #fff; border-right: 0; }

/* ── 영상 자리(예시가 생기면 data-video 에 주소를 넣음) ── */
.media { position: relative; overflow: hidden; border-radius: 16px; background: linear-gradient(160deg, #2b2e34, #17191c 70%); }
.media.p2 { background: linear-gradient(200deg, #313a2a, #161a14 70%); }
.media.p3 { background: linear-gradient(150deg, #2c2a38, #15141b 70%); }
.media.p4 { background: linear-gradient(170deg, #3a3029, #1a1613 70%); }
.media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 13px; color: rgba(255, 255, 255, .45);
  padding: 6px 12px; border: 1px dashed rgba(255, 255, 255, .2); border-radius: 9999px; white-space: nowrap; }
.media.has .ph { display: none; }
.lbl { position: absolute; left: 14px; top: 12px; z-index: 2; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #fff; }
.lbl.chip { padding: 2px 8px; border-radius: 6px; background: rgba(0, 0, 0, .55); font-weight: 500; }
.lbl.chip.lime { background: var(--lime); color: var(--ink); }
.ai-mark { position: absolute; right: 10px; bottom: 8px; z-index: 2; font-size: 11px; padding: 2px 8px; border-radius: 6px; background: rgba(0, 0, 0, .55); color: #fff; }

/* 세그먼트(어두운 반투명 상자 안 단추) · 알약 토글 */
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--fill); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.seg > button { height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid transparent; background: none; color: var(--mute);
  font-size: 16px; font-weight: 500; letter-spacing: -.01em; cursor: pointer; white-space: nowrap; transition: background .15s var(--ease), color .15s var(--ease); }
.seg > button.on { background: rgba(38, 40, 46, .75); color: #fff; }
.pill { display: inline-flex; gap: 4px; padding: 3px 4px; border-radius: 9999px; border: 1px solid var(--line); }
.pill > button { height: 32px; padding: 0 12px; border-radius: 9999px; border: 0; background: none; color: var(--mute); font-size: 12px; font-weight: 500; cursor: pointer;
  transition: background .15s var(--ease), color .15s var(--ease); }
.pill > button.on { background: #fff; color: #1a1a1a; }

/* ── 소개 페이지 ── */
.hero { position: relative; min-height: 100svh; max-height: 1000px; margin-top: -36px; display: flex; align-items: flex-end; justify-content: center; text-align: center; overflow: hidden; }
.hero > .media { position: absolute; inset: 0; border-radius: 0; background: radial-gradient(ellipse at 50% 30%, #3a3d44, #1a1b1e 60%, #131416); }
.hero > .media .ph { top: 38%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(19, 20, 22, .85)); pointer-events: none; }
.hero .in { position: relative; z-index: 2; padding: 0 16px 64px; display: flex; flex-direction: column; align-items: center; }
.brand { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 22px; letter-spacing: -.02em; }
.brand svg { width: 26px; height: 26px; }
.word { font: 900 clamp(64px, 11vw, 168px)/.95 Inter, Pretendard, sans-serif; letter-spacing: -.04em; margin: 4px 0 18px; }
.hero p { max-width: 540px; font-size: 18px; font-weight: 600; line-height: 24px; letter-spacing: -.4px; color: var(--mute); }
.hero .btns { justify-content: center; margin-top: 40px; }

section.s { padding-top: 120px; }
.eb { font-size: 14px; font-weight: 500; letter-spacing: 1px; color: var(--eyebrow); margin-bottom: 8px; }
.h2 { font-size: 48px; font-weight: 700; line-height: 56px; letter-spacing: -.02em; }
.ctr { text-align: center; }
.sub { font-size: 16px; color: rgba(255, 255, 255, .3); margin-top: 12px; max-width: 520px; }

.banner { margin-top: 64px; }
.banner .media { height: 574px; }
.banner .foot { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; display: flex; align-items: center; gap: 12px; }
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 2px; background: var(--lime); color: #1a1a1a; font-size: 13px; font-weight: 800; transform: skewX(-8deg); }
.banner .foot p { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.banner .foot p span { color: var(--mute); }
.banner .foot .btn { margin-left: auto; height: 32px; font-size: 12px; padding: 0 12px; border-radius: 8px; }
.round { width: 54px; height: 54px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .35); color: #fff; display: grid; place-items: center; cursor: pointer; }
.banner .round { position: absolute; right: 24px; top: 24px; z-index: 2; }

.wall { margin-top: 80px; text-align: center; }
.wall .brand { justify-content: center; font-size: 18px; }
.wall .word { font-size: clamp(64px, 9vw, 120px); margin: 0 0 24px; }
.mosaic { position: relative; margin-top: 40px; columns: 5 220px; column-gap: 8px; max-height: 760px; overflow: hidden; }
.mosaic .media { break-inside: avoid; margin-bottom: 8px; border-radius: 8px; }
.mosaic::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 320px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.wall .cta { position: relative; z-index: 2; margin-top: -120px; }
.btn.big { font-size: 16px; padding: 0 22px; }

.head-row { display: flex; align-items: flex-end; gap: 16px; }
.head-row .arr { margin-left: auto; display: flex; gap: 12px; }
.arrow { width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--line); background: none; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s var(--ease); }
.arrow:hover { background: var(--fill); }
.arrow svg { width: 18px; height: 18px; }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 40px; padding: 0 64px; scroll-padding: 0 64px; }
.rail::-webkit-scrollbar { display: none; }
.rail > .media { flex: none; width: min(1100px, 82vw); height: 620px; scroll-snap-align: start; }
.rail .thumbs { position: absolute; left: 24px; bottom: 24px; z-index: 2; display: flex; gap: 8px; }
.rail .thumbs i { width: 50px; height: 50px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); background: linear-gradient(140deg, #555a63, #2a2d33); }
.rail .desc { position: absolute; right: 24px; bottom: 24px; z-index: 2; max-width: 420px; text-align: right; font-size: 15px; color: rgba(255, 255, 255, .8); }

.how-tabs { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 8px; }
.how-tabs h3 { font-size: 36px; font-weight: 700; letter-spacing: -.03em; min-width: 260px; text-align: center; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.pair .media { aspect-ratio: 650 / 369; }
.how-cap { max-width: 440px; margin: 32px auto 0; text-align: center; font-weight: 500; letter-spacing: -.01em; min-height: 48px; }
.dots { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.dots i.on { width: 20px; border-radius: 3px; background: rgba(255, 255, 255, .6); }

.white { background: #fff; color: var(--ink); padding: 120px 0; margin-top: 120px; }
.white .eb { color: rgba(0, 0, 0, .3); }
.zig { display: grid; grid-template-columns: 932px 1fr; gap: 58px; align-items: center; margin-top: 80px; }
.zig.rev { grid-template-columns: 1fr 932px; }
.zig.rev .txt { order: -1; }
.zig .media { aspect-ratio: 932 / 527; }
.zig .seg { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 3; }
.zig h3 { font-size: 36px; font-weight: 700; line-height: 40px; letter-spacing: -1.2px; max-width: 322px; }
.zig .txt p { font-size: 16px; line-height: 20px; color: rgba(0, 0, 0, .6); margin-top: 16px; max-width: 302px; }
.zig .txt .btn { margin-top: 24px; }
/* 비포/애프터 밀기 */
.ba { --p: 50%; }
.ba > .media { position: absolute; inset: 0; border-radius: 0; }
.ba > .after { clip-path: inset(0 0 0 var(--p)); }
.ba > input { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba > .hd { position: absolute; top: 0; bottom: 0; left: var(--p); z-index: 3; width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba > .hd::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0, 0, 0, .5); color: #fff; display: grid; place-items: center; font-size: 14px; letter-spacing: 2px; }
.ba .lbl.r { left: auto; right: 14px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.cards > div { background: var(--card); border-radius: 16px; padding: 24px; min-height: 240px; display: flex; flex-direction: column; }
.cards .ic { width: 35px; height: 35px; border-radius: 50%; background: var(--fill); display: grid; place-items: center; color: var(--lime); font-weight: 700; }
.cards b { display: block; font-size: 18px; font-weight: 600; margin: 24px 0 8px; letter-spacing: -.02em; }
.cards p { color: rgba(255, 255, 255, .7); font-weight: 500; font-size: 15px; }
.cards a { color: var(--lime); }

.plan { margin: 40px auto 0; max-width: 1408px; border: 1px solid var(--line2); border-radius: 16px; background: var(--panel); padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan > div { border: 1px solid var(--line2); border-radius: 16px; padding: 24px; }
.plan .nm { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.plan .bd { font-size: 12px; font-weight: 700; padding: 0 6px; border-radius: 4px; background: var(--lime); color: var(--ink); }
.plan .ds { font-size: 12px; color: var(--mute); margin-top: 6px; }
.plan .big { font-size: 40px; font-weight: 700; letter-spacing: -.03em; margin: 28px 0 4px; }
.plan .big small { font-size: 14px; font-weight: 500; color: var(--mute); margin-left: 6px; letter-spacing: 0; }
.plan .btn { width: 100%; margin-top: 20px; height: 52px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.plan li { display: flex; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #23262a; font-size: 14px; }
.plan li::before { content: "✓"; color: var(--lime); font-weight: 700; }
.plan li.no::before { content: "×"; color: var(--warn); }

.faq { max-width: 880px; margin: 48px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-size: 17px; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 22px; line-height: 1; color: var(--mute); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--dim); padding: 0 40px 18px 0; }
.faq details a { color: var(--fg); }

/* ── 라임 푸터 ── */
.foot { margin-top: 120px; }
.foot .lime-b { background: var(--lime); color: #14151a; padding: 36px 16px 32px; display: grid; grid-template-columns: 384px 1fr; gap: 48px; }
.foot h2 { font-size: 40px; font-weight: 500; line-height: 48px; letter-spacing: -.02em; color: var(--ink); }
.foot .cols { display: flex; gap: 48px; justify-content: flex-end; flex-wrap: wrap; }
.foot .cols div { width: 157px; display: flex; flex-direction: column; gap: 12px; }
.foot .cols h3 { font-size: 16px; font-weight: 500; color: rgba(19, 21, 23, .48); }
.foot .cols a { text-decoration: none; }
.foot .cols a:hover { text-decoration: underline; }
.foot .aib { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 56px; font-size: 15px; }
.foot .aib b { font-weight: 700; }
.foot .bottom { background: var(--bg); padding: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.foot .bottom nav { margin-left: auto; display: flex; gap: 20px; }
.foot .bottom a { text-decoration: none; color: var(--fg); }
body.make .foot { margin-top: 48px; }

/* ── 만들기 화면: 왼쪽 설정 패널 + 오른쪽 큰 패널 ── */
body.make { background: var(--bg-make); }
.shell { display: grid; grid-template-columns: 320px 1fr; gap: 9px; padding: 9px 16px 16px; height: calc(100svh - 80px); min-height: 640px; }
.shell.nob { height: calc(100svh - 36px); }
.side, .board { background: var(--panel); border: 1px solid var(--line2); border-radius: 20px; min-height: 0; }
.side { display: flex; flex-direction: column; overflow: hidden; }
.side .scroll { flex: 1; overflow-y: auto; padding: 0 9px 12px; display: flex; flex-direction: column; gap: 8px; scrollbar-width: thin; }
.utabs { display: flex; gap: 16px; padding: 12px 16px 0; font-size: 14px; font-weight: 500; flex: none; }
.utabs a { text-decoration: none; color: var(--mute); padding-bottom: 10px; border-bottom: 2px solid transparent; }
.utabs a.on { color: #fff; border-color: #fff; }
.feat { flex: none; height: 130px; border-radius: 12px; margin-top: 8px; }
.feat .t { position: absolute; left: 12px; bottom: 30px; z-index: 2; font-size: 20px; font-weight: 700; color: var(--lime); letter-spacing: -.01em; }
.feat .d { position: absolute; left: 12px; bottom: 12px; z-index: 2; font-size: 12px; color: rgba(255, 255, 255, .8); }
.feat .mm { position: absolute; right: 6px; top: 6px; z-index: 2; height: 24px; display: flex; align-items: center; padding: 0 8px; border-radius: 8px;
  background: rgba(27, 27, 27, .4); border: 1px solid rgba(255, 255, 255, .15); font-size: 11px; font-weight: 500; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; border-radius: 12px; background: var(--fill); border: 1px solid var(--line); flex: none; }
.modes label { position: relative; height: 32px; display: grid; place-items: center; border-radius: 8px; font-size: 12px; font-weight: 500; color: var(--mute); cursor: pointer;
  transition: background .15s var(--ease), color .15s var(--ease); }
.modes input { position: absolute; opacity: 0; pointer-events: none; }
.modes label:has(input:checked) { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.modes label:has(input:focus-visible) { outline: 2px solid var(--lime); }
.drop { position: relative; flex: none; min-height: 168px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px dashed rgba(197, 197, 197, .22);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 16px; text-align: center; overflow: hidden;
  transition: border-color .15s var(--ease), background .15s var(--ease); }
.drop:hover, .drop:focus-within { border-color: rgba(209, 254, 23, .5); }
.drop > input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 3; width: 100%; }
.drop b { font-size: 14px; font-weight: 600; margin-top: 12px; }
.drop small { font-size: 12px; color: var(--mute); }
.circ { display: flex; }
.circ i { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .04); border: 1px solid rgba(197, 197, 197, .3); display: grid; place-items: center; }
.circ i + i { margin-left: -8px; }
.circ svg { width: 16px; height: 16px; opacity: .8; }
.drop.sm { min-height: 120px; }
.drop.has { border-style: solid; border-color: rgba(209, 254, 23, .4); background: #000 center / cover no-repeat; }
.drop.has > :not(input):not(video):not(.chg) { visibility: hidden; }
.drop > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.drop .chg { display: none; }
.drop.has .chg { display: block; position: absolute; right: 6px; top: 6px; z-index: 2; font-size: 11px; padding: 2px 8px; border-radius: 8px; background: rgba(0, 0, 0, .6); }
.vnote { font-size: 12px; color: var(--mute); padding: 0 4px; }
.person { display: flex; flex-direction: column; gap: 6px; flex: none; }
.person .ph-h { font-size: 12px; font-weight: 600; color: var(--lime); padding: 6px 4px 0; }
.row { display: block; background: var(--fill); border-radius: 12px; padding: 8px 12px; flex: none; }
.row > span { display: block; font-size: 12px; color: var(--mute); }
.row > span em { font-style: normal; color: var(--lime); }
.row input, .row select, .row textarea { width: 100%; background: none; border: 0; color: #fff; font: 500 14px/20px Inter, Pretendard, sans-serif; padding: 2px 0; outline: none; }
.row input::placeholder { color: rgba(255, 255, 255, .28); font-weight: 400; }
.row:focus-within { box-shadow: inset 0 0 0 1px rgba(209, 254, 23, .5); }
.row.kv { display: flex; justify-content: space-between; align-items: center; height: 54px; }
.row.kv b { font-size: 14px; font-weight: 500; }
.row.kv b i { font-style: normal; color: var(--lime); }
.more { background: none; border: 1px dashed var(--line); color: var(--mute); border-radius: 12px; height: 40px; font-size: 13px; cursor: pointer; flex: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 18px; color: rgba(255, 255, 255, .75); padding: 4px; cursor: pointer; flex: none; }
.check input { margin: 1px 0 0; width: 16px; height: 16px; accent-color: var(--lime); flex: none; }
.check a { color: #fff; }
.go { flex: none; padding: 9px; border-top: 1px solid var(--line2); }
.go .btn { width: 100%; }
.bar { height: 3px; background: var(--line); border-radius: 3px; margin-top: 8px; overflow: hidden; display: none; }
.bar i { display: block; height: 100%; width: 0; background: var(--lime); }
.msg { font-size: 12px; margin-top: 6px; min-height: 0; }
.msg:empty { display: none; }
.go .pw { font-size: 11px; color: var(--mute); text-align: center; margin-top: 8px; }
.gate { padding: 24px 12px; display: flex; flex-direction: column; gap: 8px; }
.gate h2 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.gate p { font-size: 13px; color: var(--mute); }
.gate a { color: #fff; }

.board { display: flex; flex-direction: column; overflow: hidden; }
.btabs { display: flex; gap: 4px; padding: 10px 16px; flex: none; }
.btabs button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 8px; border-radius: 8px; border: 1px solid transparent; background: none;
  color: var(--mute); font-size: 12px; font-weight: 500; cursor: pointer; transition: background .15s var(--ease), color .15s var(--ease); }
.btabs button.on { color: #fff; background: rgba(255, 255, 255, .06); border-color: var(--line); }
.btabs svg { width: 14px; height: 14px; }
.pane { flex: 1; overflow-y: auto; padding: 12px 28px 28px; scrollbar-width: thin; }
.ex-head { display: grid; grid-template-columns: 1fr 470px; gap: 40px; align-items: center; }
.ex-head h1, .pane h1 { font-size: 32px; font-weight: 700; line-height: 36px; letter-spacing: -1.2px; }
.ex-head p, .pane .lead { font-size: 14px; line-height: 20px; color: var(--mute); margin-top: 12px; max-width: 448px; }
.ex-head .media { aspect-ratio: 470 / 264; border-radius: 6px; }
.pane .pill { display: flex; width: max-content; margin: 24px auto 16px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid .media { aspect-ratio: 330 / 440; border-radius: 6px; }
.grid .media:nth-child(3n+2) { aspect-ratio: 330 / 220; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.steps3 .media { aspect-ratio: 4 / 3; border-radius: 12px; }
.steps3 h3 { font-size: 18px; font-weight: 700; margin-top: 16px; letter-spacing: -.02em; }
.steps3 p { font-size: 13px; color: var(--mute); margin-top: 6px; }
.howto { max-width: 640px; margin: 24px auto 0; text-align: center; }
.howto .media { aspect-ratio: 16 / 9; border-radius: 12px; }
.howto .k { font-size: 10px; font-weight: 700; color: var(--lime); margin-top: 32px; letter-spacing: .5px; }
.howto h2 { font-size: 28px; font-weight: 700; letter-spacing: -1px; margin-top: 8px; }
.howto p { font-size: 14px; color: var(--mute); margin-top: 10px; min-height: 60px; }
.stepper { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 20px; }
.stepper button.n { width: 44px; height: 32px; border-radius: 9999px; border: 1px solid var(--line); background: var(--fill); color: var(--mute); font-size: 12px; font-weight: 600; cursor: pointer; }
.stepper button.n.on { width: 64px; border: 2px solid #fff; color: #fff; }
.stepper .arrow { width: 32px; height: 32px; }
.stepper .arrow svg { width: 12px; height: 12px; }

/* 내 작업 카드 */
.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.job .media { aspect-ratio: 16 / 10; border-radius: 12px; background: #000; }
.job .media.wait { background: linear-gradient(160deg, #23262b, #151719); }
.job .media video { object-fit: contain; }
.job .st { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 9999px; background: rgba(0, 0, 0, .55); color: #fff; }
.job .st.done { background: var(--lime); color: var(--ink); }
.job .st.failed { background: var(--warn); color: #fff; }
.job h3 { font-size: 15px; font-weight: 600; margin-top: 10px; }
.job .note { font-size: 12px; color: var(--mute); margin-top: 2px; }
.job .acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.job .acts .btn { height: 28px; font-size: 12px; padding: 0 10px; border-radius: 8px; }
.jobs-ai { font-size: 12px; color: var(--mute); margin-top: 16px; }
.jobs-page { padding: 24px 16px 0; }
.jobs-page .board { padding: 28px; }
.jobs-page h1 { font-size: 32px; font-weight: 700; letter-spacing: -1.2px; }
.jobs-page .lead { font-size: 14px; color: var(--mute); margin: 10px 0 28px; }

/* ── 안내 문서(약관·정책·신고): 도움말 글 생김새 ── */
.crumb { display: flex; align-items: center; gap: 10px; padding: 14px 24px; font-size: 14px; font-weight: 500; color: var(--mute); }
.crumb a { text-decoration: none; }
.crumb b { color: #fff; font-weight: 500; }
.docwrap { display: grid; grid-template-columns: 1fr 720px 1fr; gap: 48px; padding: 48px 24px 0; }
.doc { grid-column: 2; }
.doc .date { text-align: center; font-size: 14px; color: #828282; }
.doc h1 { text-align: center; font-size: 48px; font-weight: 700; line-height: 56px; letter-spacing: -1.2px; margin: 16px 0 48px; }
.doc p, .doc li { color: rgba(255, 255, 255, .8); line-height: 24px; }
.doc p { margin: 0 0 16px; }
.doc h2 { font-size: 20px; font-weight: 700; line-height: 24px; letter-spacing: -.4px; margin: 40px 0 14px; scroll-margin-top: 60px; }
.doc ol, .doc ul { padding-left: 22px; margin: 0 0 16px; }
.doc li { margin-bottom: 6px; }
.doc a { color: #fff; }
.toc { position: sticky; top: 60px; align-self: start; max-width: 220px; font-size: 13px; }
.toc b { display: block; color: #828282; font-weight: 500; margin-bottom: 12px; }
.toc a { display: block; color: var(--mute); text-decoration: none; padding: 5px 0 5px 12px; border-left: 2px solid transparent; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toc a.on { color: #fff; border-color: #fff; }
.box { background: #1c1e20; border-radius: 12px; padding: 24px; margin: 24px 0 32px; }
.box h2 { font-size: 24px; margin-top: 0; }
.box .row { margin-top: 8px; background: rgba(255, 255, 255, .05); }
.box .row select option { background: #1c1e20; }
.box .btn { margin-top: 16px; }

@media (max-width: 1280px) {
  .zig, .zig.rev { grid-template-columns: 1.6fr 1fr; }
  .zig.rev { grid-template-columns: 1fr 1.6fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .ex-head { grid-template-columns: 1fr 1fr; }
  .docwrap { grid-template-columns: 1fr minmax(0, 720px) 220px; }
}
@media (max-width: 1000px) {
  .top nav .x { display: none; }
  .top .pw { display: none; }
  .shell { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .side .scroll { overflow: visible; }
  .go { position: sticky; bottom: 0; background: var(--panel); border-radius: 0 0 20px 20px; z-index: 5; }
  .side { overflow: visible; }
  .pane { overflow: visible; }
  .board { min-height: 600px; }
  .jobs { grid-template-columns: repeat(2, 1fr); }
  .docwrap { grid-template-columns: 1fr; padding-top: 24px; }
  .doc { grid-column: 1; }
  .toc { display: none; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .top { justify-content: space-between; }
  .top nav { display: none; position: absolute; top: 36px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); padding: 8px 16px 16px; border-bottom: 1px solid var(--line); }
  .top nav.open { display: flex; }
  .top nav a, .top nav .x { display: block; padding: 10px 0; }
  .menu { display: block; }
  .top .logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .top .r { margin-left: 0; }
  .top .em, .top .tb.soft { display: none; }
  .band { height: auto; min-height: 44px; padding: 8px 40px 8px 12px; font-size: 12px; }
  .hero .in { padding-bottom: 48px; }
  .hero p { font-size: 15px; line-height: 21px; }
  .hero .btns { margin-top: 28px; }
  .h2 { font-size: 30px; line-height: 36px; }
  section.s { padding-top: 80px; }
  .banner { margin-top: 32px; }
  .banner .media { height: auto; aspect-ratio: 1; }
  .banner .foot { left: 12px; right: 12px; bottom: 12px; flex-direction: column; text-align: center; }
  .banner .foot .btn { margin: 4px 0 0; width: 100%; height: 44px; font-size: 14px; }
  .banner .round { width: 40px; height: 40px; right: 12px; top: 12px; }
  .mosaic { columns: 3 100px; max-height: 520px; margin-top: 28px; }
  .head-row { flex-direction: column; align-items: center; text-align: center; }
  .head-row .arr { display: none; }
  .rail { padding: 0 16px; scroll-padding: 0 16px; margin-top: 28px; gap: 10px; }
  .rail > .media { width: 86vw; height: 300px; }
  .rail .desc { display: none; }
  .rail .thumbs i { width: 36px; height: 36px; }
  .how-tabs { gap: 12px; }
  .how-tabs h3 { font-size: 26px; min-width: 0; }
  .how-tabs .arrow { width: 46px; height: 46px; }
  .pair { grid-template-columns: 1fr; margin-top: 24px; }
  .white { padding: 80px 0; margin-top: 80px; }
  .zig, .zig.rev { grid-template-columns: 1fr; gap: 20px; margin-top: 48px; background: #f4f4f5; border-radius: 16px; padding: 20px; }
  .zig .txt, .zig.rev .txt { order: -1; }
  .zig h3 { font-size: 22px; line-height: 28px; max-width: none; }
  .zig .txt p { font-size: 13px; line-height: 18px; margin-top: 8px; max-width: none; }
  .zig .seg { bottom: 10px; }
  .zig .seg > button { height: 30px; padding: 0 10px; font-size: 13px; }
  .cards { grid-template-columns: 1fr; margin-top: 28px; }
  .cards > div { min-height: 0; }
  .plan { grid-template-columns: 1fr; padding: 10px; }
  .faq summary { font-size: 15px; }
  .foot .lime-b { grid-template-columns: 1fr; gap: 32px; }
  .foot h2 { font-size: 30px; line-height: 36px; }
  .foot .cols { justify-content: flex-start; gap: 24px; }
  .foot .cols div { width: calc(50% - 12px); }
  .foot .aib { margin-top: 16px; font-size: 13px; }
  .foot .bottom nav { margin-left: 0; }
  .shell { padding: 8px; }
  .ex-head { grid-template-columns: 1fr; gap: 16px; }
  .ex-head h1, .pane h1 { font-size: 24px; line-height: 30px; }
  .pane { padding: 8px 14px 20px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .steps3, .jobs { grid-template-columns: 1fr; }
  .jobs-page { padding: 12px 8px 0; }
  .jobs-page .board { padding: 18px; }
  .doc h1 { font-size: 32px; line-height: 38px; margin-bottom: 32px; }
  .crumb { padding: 12px 16px; }
  .docwrap { padding: 16px 16px 0; }
}
.media:not(.has) > .round { display: none; }
.dots i { cursor: pointer; }
.side form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.toc { grid-column: 3; }
.row textarea { resize: vertical; }
