/* 피크컷 — 공통 스타일 v8 (A 영화관: 어두운 바탕 · 라임 빛) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;700;800&family=Noto+Sans+KR:wght@400;500;700;900&display=swap');

:root {
  /* 2026-11-20 A 영화관(어두운) 테마. 이름은 예전 그대로 두고 값만 바꿈 */
  --bg: #0b0b0f;          /* 바탕 */
  --bg-1: #15151b;        /* 카드 */
  --bg-2: #1b1b22;        /* 옅은 칸 */
  --bg-3: #24242d;        /* 아이콘 바탕·비활성 */
  --lav: #1c1a2b;         /* 보랏빛 카드 */
  --ink: #f4f4f6;
  --ink-2: #c9c9d3;
  --muted: #8d8d99;
  --line: #24242c;
  --line-2: #34343e;
  --dark: #1f1f27;        /* 진한 카드 (바탕보다 살짝 밝게) */
  --dark-2: #2a2a33;
  --on-dark: #ffffff;
  --on-dark-2: #a7a7b3;
  --click: #c7f23a;       /* 라임: 버튼·강조 바탕 */
  --click-2: #d6ff5c;
  --on-click: #111111;
  --violet: #c7f23a;      /* 강조 글자·테두리 → 라임 (예전 보라) */
  --violet-2: #2a2a33;
  --accent: #ff6b6b;
  --ok: #4ade80;
  --radius: 20px;
  --side: 240px;
  --max: 1280px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --en: 'Plus Jakarta Sans', 'Noto Sans KR', sans-serif;
  --shadow: 0 30px 70px rgba(0,0,0,.5);
  --glow: 0 0 0 1px var(--click), 0 0 30px rgba(199,242,58,.25), 0 0 70px rgba(199,242,58,.1);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: 'Noto Sans KR', -apple-system, 'Apple SD Gothic Neo', sans-serif;
  color: var(--ink); line-height: 1.6; letter-spacing: -.02em; -webkit-font-smoothing: antialiased; word-break: keep-all;
  background: var(--bg) radial-gradient(1000px 600px at 50% -200px, rgba(199,242,58,.08), transparent 70%) no-repeat;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
svg.i { width: 18px; height: 18px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.display { font-weight: 900; letter-spacing: -.05em; line-height: 1.15; }
.en { font-family: var(--en); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.lime { color: var(--violet); }               /* 강조 글자 (이름은 예전 그대로) */
.mark-lime { background: var(--click); color: #111; border-radius: 14px; padding: 0 .18em; }
.gray { color: var(--muted); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── 첫 화면용 위쪽 메뉴 ───────────────────────── */
.landing-top { position: sticky; top: 0; z-index: 30; background: rgba(11,11,15,.7); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.landing-top.scrolled { border-bottom-color: var(--line-2); }
.landing-top .wrap { display: flex; align-items: center; gap: 36px; height: 76px; }
.landing-top nav { display: flex; gap: 30px; margin: 0 auto; font-size: 14px; font-weight: 500; color: var(--ink); }
.landing-top nav a:hover { color: var(--violet); }
.landing-top .btn-click { border-radius: 999px; box-shadow: 0 0 26px rgba(199,242,58,.3); }

.brand { font-weight: 900; font-size: 20px; color: var(--ink); letter-spacing: -.05em; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .txt { font-family: var(--en); font-weight: 800; letter-spacing: -.03em; }
.brand .mark { width: 30px; height: 30px; border-radius: 9px; flex: none; display: block; }

/* ── 작업 화면 앱 셸 ───────────────────────── */
.side { position: fixed; inset: 0 auto 0 0; width: var(--side); z-index: 30; background: #101015; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 18px 14px 18px; overflow-y: auto; transition: width .25s var(--ease); }
.side .brand { padding: 0 10px 26px; }
.side .grp { margin-top: 4px; }
.side .grp > button { width: 100%; display: flex; align-items: center; justify-content: space-between; background: none; border: 0; cursor: pointer;
  padding: 12px 10px 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.side .grp > button svg { width: 14px; height: 14px; transition: transform .2s; }
.side .grp.closed > button svg { transform: rotate(-90deg); }
.side .grp.closed .items { display: none; }
.side a.it { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; color: var(--ink-2); font-size: 14.5px; font-weight: 500; }
.side a.it:hover { color: var(--ink); background: var(--bg-2); }
.side a.it.on { color: var(--violet); background: var(--bg-3); font-weight: 700; }
.side a.it .n { margin-left: auto; font-size: 10px; font-weight: 800; background: var(--click); color: var(--on-click); padding: 1px 6px; border-radius: 5px; }
.side .bottom { margin-top: auto; padding-top: 20px; display: grid; gap: 10px; }
.side .credit { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px; font-size: 12.5px; color: var(--ink-2); }
.side .credit .bar { height: 4px; border-radius: 99px; background: var(--bg-3); margin: 10px 0 6px; overflow: hidden; }
.side .credit .bar i { display: block; height: 100%; background: var(--violet); }
.collapse-btn { position: fixed; left: calc(var(--side) - 14px); top: 50%; z-index: 31; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink-2); cursor: pointer; display: grid; place-items: center; transition: left .25s var(--ease); }
.collapse-btn svg { width: 14px; height: 14px; }
body.mini { --side: 72px; }
body.mini .side .lbl, body.mini .side .grp > button, body.mini .side .credit, body.mini .side .brand .txt, body.mini .side a.it .n { display: none; }
body.mini .side a.it { justify-content: center; padding: 12px 0; }
body.mini .side .brand { justify-content: center; padding: 0 0 26px; }
body.mini .side .bottom .btn .lbl { display: none; }
body.mini .collapse-btn svg { transform: rotate(180deg); }

.main { margin-left: var(--side); min-height: 100vh; display: flex; flex-direction: column; transition: margin-left .25s var(--ease); }
.main > * { width: 100%; }
body.landing .main { margin-left: 0; }
.topbar { position: sticky; top: 0; z-index: 20; height: 68px; display: flex; align-items: center; gap: 14px; padding: 0 24px 0 40px;
  background: rgba(11,11,15,.7); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar .crumb { font-size: 13.5px; font-weight: 700; }
.topbar .crumb .en { color: var(--muted); margin-right: 10px; font-size: 10.5px; }
.topbar .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 6px; color: var(--ink); }
.scrim { display: none; }

/* ── 버튼 ───────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; cursor: pointer; font-weight: 700; font-size: 14.5px;
  padding: 13px 22px; border-radius: 12px; transition: background .2s, color .2s, border-color .2s, transform .08s; white-space: nowrap; color: var(--ink); background: none; }
.btn:active { transform: translateY(1px); }
.btn-click { background: var(--click); color: var(--on-click); border-color: var(--click); box-shadow: 0 0 22px rgba(199,242,58,.25); }
.btn-click:hover { background: var(--click-2); border-color: var(--click-2); }
.btn-dark { background: var(--ink); color: #111; border-color: var(--ink); }
.btn-dark:hover { background: #fff; border-color: #fff; }
.btn-violet { background: rgba(255,255,255,.06); color: var(--ink); border-color: rgba(255,255,255,.16); }
.btn-line { background: rgba(255,255,255,.04); color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--violet); color: var(--violet); }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { color: var(--violet); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { padding: 16px 30px; font-size: 15.5px; border-radius: 14px; }
.btn[disabled] { background: var(--bg-3); color: var(--muted); border-color: var(--bg-3); cursor: not-allowed; }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.circle-go { display: inline-flex; align-items: center; }
.circle-go span { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; }
.circle-go span:first-child { border: 1.5px solid var(--violet); }
.circle-go span:last-child { background: var(--click); color: var(--on-click); margin-left: -26px; font-size: 22px; font-weight: 900; }

/* ── 공통 블록 ───────────────────────── */
section { padding: 96px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: 7px 14px; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--click); box-shadow: 0 0 10px var(--click); }
h1, h2, h3 { margin: 0; line-height: 1.25; }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-bottom: 40px; }
.sec-title { font-size: 42px; margin: 14px 0 10px; font-weight: 900; letter-spacing: -.05em; line-height: 1.25; }
.sec-sub { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.75; }
.page-title { font-size: 46px; font-weight: 900; letter-spacing: -.05em; margin: 12px 0 8px; line-height: 1.15; }
.card { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card.dark { background: var(--dark); color: var(--on-dark); border-color: var(--line-2); }
.card.dark .muted { color: var(--on-dark-2); }
.card.lav { background: var(--lav); border-color: var(--lav); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.muted { color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); background: rgba(255,255,255,.04); }
.tag.y, .tag.k { background: var(--click); color: var(--on-click); border-color: var(--click); }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ── Mac 창 ───────────────────────── */
.mac { background: var(--bg-1); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.mac-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.mac-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; flex-shrink: 0; }
.mac-bar i:nth-child(2) { background: #febc2e; } .mac-bar i:nth-child(3) { background: #28c840; }
.mac-bar .ttl { flex: 1; text-align: center; font-size: 12px; color: var(--muted); margin-right: 50px; }
.mac-bar .url { flex: 1; margin: 0 30px 0 16px; background: var(--bg-3); border-radius: 6px; padding: 5px 12px; font-size: 11.5px; color: var(--muted); text-align: center; }
.mac.sm .mac-bar { padding: 8px 10px; gap: 6px; } .mac.sm .mac-bar i { width: 9px; height: 9px; }
.mac.sm .mac-bar .ttl { font-size: 10.5px; text-align: left; margin: 0 0 0 4px; }

/* ── 입력 ───────────────────────── */
.url-box { display: flex; gap: 8px; align-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 7px 7px 7px 20px; transition: border-color .15s; backdrop-filter: blur(8px); }
.url-box:focus-within { border-color: var(--violet); }
.url-box svg.i { color: var(--muted); }
.url-box input { flex: 1; border: 0; background: none; color: var(--ink); font: inherit; font-size: 15px; padding: 8px 4px; outline: none; min-width: 0; }
.url-box input::placeholder { color: #6f6f7b; }
.url-box .paste { border: 0; background: none; color: var(--muted); padding: 8px; cursor: pointer; }
.url-box .paste:hover { color: var(--violet); }
.url-box .btn { border-radius: 999px; }
.tabs { display: inline-flex; background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 12px; }
.tabs button { display: flex; align-items: center; gap: 8px; border: 0; background: none; font-weight: 600; font-size: 13.5px; color: var(--muted); padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.tabs button.on { background: var(--click); color: var(--on-click); }
input.f, select.f, textarea.f, .field input, .field textarea, .field select { width: 100%; font: inherit; color: var(--ink); background: var(--bg-2); padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; outline: none; }
input.f:focus, .field input:focus, .field textarea:focus { border-color: var(--violet); }
select, input, textarea { color-scheme: dark; }
.chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--ink-2); padding: 8px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.chip:hover { border-color: var(--violet); color: var(--violet); }
.chip.on { border-color: var(--click); background: rgba(199,242,58,.12); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
input[type=checkbox] { accent-color: var(--violet); width: 16px; height: 16px; margin-top: 3px; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; cursor: pointer; user-select: none; }
.switch input { display: none; }
.switch i { width: 38px; height: 22px; border-radius: 99px; background: var(--line-2); position: relative; transition: background .2s; }
.switch i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.switch input:checked + i { background: var(--violet); }
.switch input:checked + i::after { transform: translateX(16px); background: #111; }

/* ── 폰 미리보기 ───────────────────────── */
.phone { width: 230px; aspect-ratio: 9 / 16; border-radius: 30px; border: 1px solid var(--click); box-shadow: 0 0 30px rgba(199,242,58,.22), 0 30px 60px rgba(0,0,0,.5);
  background: #000; position: relative; overflow: hidden; flex-shrink: 0; }
.phone > img.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone .p-title { position: absolute; top: 11%; left: 0; right: 0; text-align: center; font-weight: 900; font-size: 18px; line-height: 1.25; letter-spacing: -.05em; color: #fff; padding: 0 10px; z-index: 2; }
.phone .p-title b { color: var(--click); font-weight: 900; display: block; }
.phone .p-video { position: absolute; left: 0; right: 0; top: 32%; height: 38%; background: #222 center/cover; z-index: 1; overflow: hidden; }
.phone .p-video video { width: 100%; height: 100%; object-fit: cover; }
.phone .p-sub { position: absolute; left: 6%; right: 6%; top: 73%; text-align: center; color: #fff; font-weight: 800; font-size: 13px; text-shadow: 0 0 4px #000, 0 0 4px #000; z-index: 2; }
.phone .p-sub em { font-style: normal; color: var(--click); }
.phone .p-cmt { position: absolute; left: 7%; right: 7%; top: 79%; background: rgba(255,255,255,.95); color: #111; border-radius: 8px; padding: 7px 9px; font-size: 10.5px; line-height: 1.4; display: none; z-index: 2; }
.phone .p-cmt b { font-size: 9.5px; color: #666; display: block; font-weight: 600; }
.phone .p-src { position: absolute; bottom: 4%; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.6); font-size: 9.5px; z-index: 2; }
.phone.t-white { background: #fff; } .phone.t-white .p-title { color: #111; } .phone.t-white .p-title b { color: #5b3fd6; } .phone.t-white .p-src { color: #777; }
.phone.t-paper { background: #f3ead8; } .phone.t-paper .p-title { color: #3b2f1e; } .phone.t-paper .p-title b { color: #b4532a; } .phone.t-paper .p-src { color: #7a6a50; }
.phone.t-red .p-title b, .phone.t-red .p-sub em { color: #ff5a4a; }
/* 밝은 템플릿 자막: 엔진(scripts/engine/make_short.py TEMPLATES)과 같은 색 */
.phone.t-white .p-sub { color: #111; text-shadow: none; } .phone.t-white .p-sub em { color: #5b3fd6; }
.phone.t-paper .p-sub { color: #3b2f1e; text-shadow: none; } .phone.t-paper .p-sub em { color: #b4532a; }
.phone.r-916 .p-sub { color: #fff; text-shadow: 0 0 4px #000, 0 0 4px #000; } .phone.r-916 .p-title { color: #fff; text-shadow: 0 0 4px #000; }
.phone.t-comment .p-cmt { display: block; }
.phone.t-comment .p-sub { display: none; }
.phone.t-clean .p-title b, .phone.t-clean .p-sub em { color: #fff; }
.phone.t-pop .p-sub { font-size: 17px; }
/* 영상 배치 5가지: 진짜 비율, 엔진(scripts/engine/make_short.py RATIOS)과 같은 위치 */
.phone.r-169 .p-video { top: 34%; height: 31.64%; }              /* 원본 그대로 16:9 */
.phone.r-54 .p-video { top: 25%; height: 45%; }                  /* 가로형 5:4 */
.phone.r-11 .p-video { top: 23%; height: 56.25%; } .phone.r-11 .p-sub { top: 82%; }   /* 정방형 1:1 */
.phone.r-45 .p-video { top: 22%; height: 70.31%; } .phone.r-45 .p-sub { top: 75%; }   /* 세로형 4:5 */
.phone.r-916 .p-video { top: 0; height: 100%; opacity: .6; }     /* 꽉 채우기 9:16 */
.phone.r-45 .p-sub, .phone.r-45 .p-sub em { text-shadow: 0 0 4px #000, 0 0 4px #000; } .phone.r-45 .p-sub { color: #fff; }

/* ── 좌우 넘기기 ───────────────────────── */
.track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; scroll-behavior: smooth; }
.track::-webkit-scrollbar { display: none; }
.track.drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.track > * { scroll-snap-align: center; flex-shrink: 0; user-select: none; -webkit-user-drag: none; }
.track img { pointer-events: none; }
.nav-arrows { display: flex; gap: 8px; }
.nav-arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.nav-arrows button:hover { border-color: var(--violet); color: var(--violet); }
.dots { display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--line-2); transition: background .2s, width .2s; }
.dots i.on { background: var(--violet); width: 22px; }

/* ── 모달 ───────────────────────── */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); display: none; place-items: center; padding: 16px; }
.modal.open { display: grid; }
.modal .box { width: 100%; max-width: 420px; background: #15151b; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; padding: 40px 34px 30px; position: relative; box-shadow: var(--shadow); }
.modal .x { position: absolute; right: 14px; top: 14px; border: 0; background: none; cursor: pointer; padding: 6px; color: var(--muted); }
.modal .btn { width: 100%; margin-bottom: 8px; }

/* ── 바닥 ───────────────────────── */
.foot { background: transparent; border-top: 1px solid var(--line); color: var(--on-dark-2); padding: 56px 0 40px; font-size: 13.5px; margin-top: auto; }
.foot .brand { color: #fff; }
.foot .muted { color: var(--on-dark-2); }
.foot .row { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.foot .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot .cols b { display: block; font-family: var(--en); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.foot .cols a { display: block; color: var(--on-dark-2); margin: 7px 0; }
.foot .cols a:hover { color: var(--click); }
.foot .cols a.strong { color: #fff; font-weight: 700; }
.foot .biz { font-size: 12px; line-height: 1.9; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); color: #8d8d99; }

/* ── 문서(약관·가이드) ───────────────────────── */
.doc { max-width: 820px; margin: 0 auto; padding: 72px 40px; color: var(--ink-2); }
.doc h1 { font-size: 38px; margin-bottom: 8px; color: var(--ink); letter-spacing: -.05em; }
.doc h2 { font-size: 19px; margin: 40px 0 10px; color: var(--ink); }
.doc .draft { background: var(--bg-1); border: 1px solid var(--line-2); border-left: 4px solid var(--violet); color: var(--ink); padding: 14px 18px; font-size: 14px; margin: 22px 0 8px; border-radius: 10px; }
.doc ol, .doc ul { padding-left: 20px; }
.doc a { color: var(--violet); text-decoration: underline; }
.doc a.btn { text-decoration: none; color: var(--ink); } /* 문서 안 버튼은 링크 색을 따르지 않게 */
.doc a.btn-click { color: var(--on-click); }
.doc a.btn-dark { color: #111; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 10px 0; background: var(--bg-1); border-radius: 12px; overflow: hidden; }
.doc th, .doc td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--ink); border-bottom-color: var(--line-2); background: var(--bg-2); }

/* ── 반응형 ───────────────────────── */
@media (max-width: 1200px) and (min-width: 961px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .side { transform: translateX(-100%); transition: transform .25s var(--ease); width: 260px; }
  .side.open { transform: none; box-shadow: 0 0 60px rgba(23,22,29,.25); }
  .scrim.open { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 25; }
  .main { margin-left: 0; }
  .collapse-btn { display: none; }
  .menu-btn { display: block; }
  .topbar { padding: 0 16px; }
  .wrap { padding: 0 16px; }
  .landing-top .wrap { gap: 12px; height: 64px; }
  .landing-top nav { display: none; }
  .landing-top .btn { margin-left: auto; }
  .landing-top .btn + .btn { margin-left: 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .sec-title { font-size: 30px; }
  .page-title { font-size: 32px; }
  .sec-head { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .foot .row, .foot .cols { grid-template-columns: 1fr; }
  .doc { padding: 48px 16px; }
}
/* 구글 로그인 버튼: 구글 안내대로 흰 바탕·검은 글씨·컬러 G 로고 (다크 템플릿에서도 고정) */
.btn-google, .btn-google:hover { background: #fff; color: #1f1f1f; border-color: #dadce0; }

/* ── 알림·입력 오류 (2026-11-20, 브라우저 기본 알림창·말풍선 대신) ───────────────────────── */
.pk-toasts { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 95; display: grid; gap: 8px; width: min(440px, calc(100vw - 32px)); pointer-events: none; }
.pk-toast { display: flex; gap: 12px; align-items: flex-start; background: #1b1b22; color: var(--ink); border: 1px solid var(--line-2); border-left: 3px solid var(--click); border-radius: 14px; padding: 13px 16px; font-size: 14px; line-height: 1.55; box-shadow: 0 0 30px rgba(199,242,58,.12), 0 20px 50px rgba(0,0,0,.5); pointer-events: auto; animation: pkIn .25s var(--ease); }
.pk-toast i { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--click); color: #111; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 12px; margin-top: 1px; }
.pk-toast.err { border-left-color: var(--accent); box-shadow: 0 0 30px rgba(255,107,107,.12), 0 20px 50px rgba(0,0,0,.5); }
.pk-toast.err i { background: var(--accent); color: #fff; }
.pk-toast.out { opacity: 0; transform: translateY(6px); transition: .25s; }
@keyframes pkIn { from { opacity: 0; transform: translateY(8px); } }
input.pk-bad, textarea.pk-bad, select.pk-bad, .url-box.pk-bad { border-color: var(--accent) !important; box-shadow: 0 0 0 3px rgba(255,107,107,.15) !important; }
.pk-err { display: flex; gap: 6px; align-items: center; color: #ff8a8a; font-size: 13px; font-weight: 600; margin: 6px 2px 10px; }
.pk-err::before { content: '!'; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 11px; font-weight: 900; display: grid; place-items: center; flex: none; }

/* 메인(index)과 같은 상단 위치·크기 (2026-11-20): 높이 68px, 로고 30px·20px, 오른쪽 버튼은 둥근 알약 14px */
.topbar .right .btn { border-radius: 999px; padding: 11px 20px; font-size: 14px; line-height: 1.3; }
.topbar .right .btn-ghost { padding: 11px 14px; }

/* 11/21: 왼쪽 메뉴 아래 칸이 글자 길이에 따라 밖으로 밀려 잘리던 것 (무료 체험 표시·로그아웃 버튼) */
.side .bottom, .side .bottom > div { min-width: 0; }
.side .bottom .btn { min-width: 0; padding-left: 10px; padding-right: 10px; white-space: nowrap; }
.side .credit > div:first-child { gap: 8px; align-items: baseline; }
.side .credit > div:first-child > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side .credit > div:first-child > b { flex: none; }
/* 11/21: 화면마다 있는 .bar 규칙이 왼쪽 메뉴 막대까지 넓혀 칸 밖으로 나가던 것 */
.side .credit .bar { display: block; width: auto; min-width: 0 !important; flex: none; }
