/* ============================================================
   KIKO IS — 스타일
   색은 아래 :root 변수만 바꾸면 사이트 전체에 반영돼요.
   ============================================================ */
:root {
  --ink: #0e0c0d;          /* 배경 블랙 */
  --ink-2: #191517;        /* 카드 배경 */
  --line: rgba(255, 255, 255, 0.12);
  --paper: #f7f1ec;        /* 밝은 섹션 배경 */
  --blush: #ffd3de;        /* 핑크 (AI 이미지 무드) */
  --hot: #ff3d7f;          /* 강조 핑크 */
  --eye: #c8f25a;          /* 키코 눈 색 그린 */
  --gold: #d6b36a;
  --muted: #a79fa2;
  --text: #f7f1ec;

  --display: "Anton", "Pretendard", sans-serif;
  --body: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --radius: 18px;

  /* 발바닥 커서 */
  --paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='%23ff3d7f' stroke='%230e0c0d' stroke-width='1.3'%3E%3Cpath d='M16 13.2c-5.2 0-9.3 4.6-9.3 9.2 0 3.6 2.7 5.6 5.6 5.6 1.5 0 2.5-.6 3.7-.6s2.2.6 3.7.6c2.9 0 5.6-2 5.6-5.6 0-4.6-4.1-9.2-9.3-9.2z'/%3E%3Cellipse cx='5.6' cy='12.6' rx='3.6' ry='4.2' transform='rotate(-22 5.6 12.6)'/%3E%3Cellipse cx='11.6' cy='6.6' rx='3.7' ry='4.4' transform='rotate(-8 11.6 6.6)'/%3E%3Cellipse cx='20.4' cy='6.6' rx='3.7' ry='4.4' transform='rotate(8 20.4 6.6)'/%3E%3Cellipse cx='26.4' cy='12.6' rx='3.6' ry='4.2' transform='rotate(22 26.4 12.6)'/%3E%3C/g%3E%3C/svg%3E") 16 16, auto;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  cursor: var(--paw);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a, button, .chip, .gallery-item { cursor: var(--paw); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--eye); color: var(--ink); }

/* ---------- 로딩 ---------- */
.splash {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--ink); color: var(--eye);
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.04em;
  transition: opacity 0.5s ease, visibility 0.5s;
}
.splash.is-gone { opacity: 0; visibility: hidden; }
.dots::after { content: ""; animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

/* ---------- 상단 바 ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--gutter);
  background: rgba(14, 12, 13, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.status { display: flex; align-items: center; gap: 10px; font-size: 14px; white-space: nowrap; }
.status b { color: var(--eye); font-weight: 700; }
.pulse {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--eye); box-shadow: 0 0 0 0 rgba(200, 242, 90, 0.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(200, 242, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 242, 90, 0); } }
.nav { display: flex; gap: 4px; }
.nav a {
  padding: 7px 12px; border-radius: 999px; font-size: 14px; color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--text); background: var(--line); }
.nav .nav-cta { color: var(--ink); background: var(--eye); font-weight: 700; }
.nav .nav-cta:hover { background: var(--blush); color: var(--ink); }
.lang { display: flex; align-items: center; margin-left: 6px; padding: 2px; border: 1px solid var(--line); border-radius: 999px; flex: none; }
.nav .lang a { padding: 5px 10px; font: 600 12px/1 var(--mono); }
.nav .lang a.is-on { background: var(--text); color: var(--ink); }

/* ---------- 공통 ---------- */
.eyebrow { font-family: var(--mono); font-size: 13px; color: var(--hot); letter-spacing: 0.06em; }
.section { padding: clamp(80px, 12vw, 140px) var(--gutter); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 18px;
  font-size: clamp(22px, 3vw, 32px); font-weight: 800; letter-spacing: -0.02em;
}
.section-head .en {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(64px, 13vw, 180px); line-height: 0.9; letter-spacing: -0.01em;
}
.lede { margin-top: 10px; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; border-radius: 999px; border: 0;
  font: 700 15px/1 var(--body);
  transition: transform 0.15s ease, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn-hot { background: var(--hot); color: #fff; }
.btn-ghost { border: 1.5px solid var(--text); color: var(--text); }
.btn-ghost:hover { background: var(--text); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--text); }
.btn-ghost-ink { border: 1.5px solid var(--ink); color: var(--ink); }
.link { color: var(--eye); font-weight: 700; }
.link:hover { text-decoration: underline; }

/* ---------- 히어로 ---------- */
.hero {
  min-height: 100svh;
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: clamp(24px, 4vw, 64px);
  padding: 110px var(--gutter) 60px;
}
.hero-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(76px, 13vw, 210px); line-height: 0.86; letter-spacing: -0.01em;
  margin: 14px 0 22px;
}
.hero-title span { display: block; }
.hero-rotate { color: var(--eye); min-height: 0.9em; }
.hero-rotate::after { content: "_"; color: var(--hot); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-sub { font-size: clamp(18px, 2vw, 24px); font-weight: 700; line-height: 1.4; }

.counter { margin: 34px 0; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); display: inline-block; background: var(--ink-2); }
.counter-row { display: flex; align-items: baseline; gap: 14px; font-family: var(--display); }
.counter-from { font-size: 26px; color: var(--muted); text-decoration: line-through; text-decoration-color: var(--hot); }
.counter-arrow { font-size: 26px; color: var(--hot); }
.counter-to { font-size: clamp(44px, 6vw, 72px); color: var(--text); font-variant-numeric: tabular-nums; }
.counter-cap { font-size: 14px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-media { position: relative; justify-self: center; width: min(100%, 460px); }
.hero-media img, .hero-media video {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover;
  border-radius: 28px; border: 1px solid var(--line);
  box-shadow: 0 30px 80px -20px rgba(255, 61, 127, 0.35);
}
.sticker {
  position: absolute; padding: 10px 14px; border-radius: 12px;
  font: 400 15px/1.05 var(--display); letter-spacing: 0.02em; text-align: center;
}
.sticker-1 { top: 8%; left: -8%; background: var(--eye); color: var(--ink); transform: rotate(-8deg); }
.sticker-2 { bottom: 10%; right: -6%; background: var(--hot); color: #fff; transform: rotate(6deg); }
.sticker-link {
  top: 4%; right: -5%; background: var(--ink); color: var(--eye); border: 1.5px solid var(--eye);
  transform: rotate(5deg); transition: transform .2s, background .2s, color .2s;
}
.sticker-link:hover { transform: rotate(0) scale(1.06); background: var(--eye); color: var(--ink); }

/* ---------- 마키 ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--eye); color: var(--ink); }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee span { font: 400 clamp(20px, 2.4vw, 30px)/1 var(--display); padding: 14px 0; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 갤러리 ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--muted); font: 600 14px/1 var(--body);
  transition: all 0.2s;
}
.chip:hover { color: var(--text); border-color: var(--text); }
.chip.is-on { background: var(--text); color: var(--ink); border-color: var(--text); }
.section-light .chip { border-color: rgba(0,0,0,.15); color: #5a5255; }

.gallery { columns: 4 240px; column-gap: 14px; }
.gallery-credit { margin-top: 10px; text-align: right; font: 400 11px/1.4 var(--mono); color: var(--muted); opacity: 0.6; }
.gallery-item {
  position: relative; margin: 0 0 14px; break-inside: avoid;
  border-radius: 16px; overflow: hidden; background: var(--ink-2);
  border: 0; padding: 0; width: 100%; text-align: left; color: inherit;
}
.gallery-item img { width: 100%; height: auto; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 14px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.82));
  font-weight: 700; font-size: 15px;
  opacity: 0; transform: translateY(8px); transition: all 0.25s ease;
}
.gallery-item figcaption small { display: block; font: 400 12px/1.4 var(--mono); color: var(--eye); margin-top: 2px; }
.gallery-item:hover figcaption, .gallery-item:focus-visible figcaption { opacity: 1; transform: none; }
.gallery-item.is-hidden { display: none; }

/* ---------- 프롬프트 (밝은 섹션) ---------- */
.section-light { background: var(--paper); color: var(--ink); }
.section-light .lede { color: #6b6366; }
.prompts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 980px) { .prompts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .prompts { grid-template-columns: 1fr; } }
.prompt {
  display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden;
  background: #fff; border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 12px 30px -18px rgba(0,0,0,.25);
}
.prompt-top { display: flex; flex-direction: column; gap: 12px; padding: 0 0 4px; }
.prompt-top > div { padding: 0 14px; }
.prompt-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; overflow: hidden; cursor: var(--paw); }
.prompt-zoom img { transition: transform 0.5s ease; }
.prompt-zoom:hover img { transform: scale(1.04); }
.prompt-top img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: center 30%; display: block; }
.prompt-top h3 { font-size: 18px; line-height: 1.3; }
.prompt-level { display: inline-block; margin-top: 8px; font: 600 11px/1 var(--mono); padding: 5px 8px; border-radius: 6px; background: var(--blush); color: #7a1f3d; white-space: nowrap; }
.prompt-bottom { padding: 10px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.prompt-text {
  position: relative; font: 400 12.5px/1.6 var(--mono); color: #2a2426;
  background: #f4eee9; border-radius: 10px; padding: 12px 12px 44px;
}
.prompt-text > span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.prompt-text.is-open > span { display: block; -webkit-line-clamp: unset; }
.more-toggle {
  position: absolute; left: 8px; bottom: 8px;
  padding: 7px 10px; border-radius: 8px; border: 1px solid rgba(0,0,0,.15);
  background: transparent; color: #2a2426; font: 700 12px/1 var(--body);
}
.copy {
  position: absolute; right: 8px; bottom: 8px;
  padding: 7px 12px; border-radius: 8px; border: 0;
  background: var(--ink); color: var(--text); font: 700 12px/1 var(--body);
}
.copy.is-done { background: var(--eye); color: var(--ink); }
.prompt-tip { font-size: 13.5px; color: #5a5255; }
.prompt-tip b { color: var(--hot); }

.prompt-more { font-size: 15px; color: #3a3336; }
.prompt .btn { align-self: flex-start; }
.prompt-locked .prompt-text { filter: blur(5px); user-select: none; }
.prompt-locked .lock {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  font-weight: 800; font-size: 15px; color: var(--ink); filter: none;
}
.lock-wrap { position: relative; }

/* ---------- 협찬 리뷰 ---------- */
.rating-key { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 28px; font-size: 14px; color: var(--muted); }
.tag { display: inline-block; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.tag-ok { background: var(--eye); color: var(--ink); }
.tag-meh { background: var(--gold); color: var(--ink); }

.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.review { border-radius: var(--radius); overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); }
.review img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ad-label { padding: 10px 16px; font-size: 12.5px; font-weight: 700; background: var(--blush); color: #7a1f3d; }
.review-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.review-brand { font: 600 12px/1 var(--mono); color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.review h3 { font-size: 22px; }
.paws { font-size: 18px; letter-spacing: 2px; }
.review-quote { color: #d9d1d4; font-size: 15px; }
.review-empty {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px;
  padding: 32px; min-height: 360px;
  background: repeating-linear-gradient(-45deg, var(--ink-2) 0 14px, #1f1a1c 14px 28px);
  border-style: dashed;
}
.review-empty h3 { font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1; }
.review-empty p:not(.review-brand) { color: var(--muted); }

[hidden] { display: none !important; }

/* ---------- 추천 AI 툴 카드 ---------- */
.tool-card {
  margin-top: 28px; padding: 24px; border-radius: var(--radius);
  background: var(--ink); color: var(--text);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.tool-card-soon { margin: 0 0 28px; }
.tool-card-soon h3 { color: var(--eye); font-size: clamp(44px, 6vw, 64px); letter-spacing: 0.02em; }
.tool-card-dark { margin: 0 0 28px; background: var(--ink-2); border: 1.5px solid var(--eye); }
.tool-card > div { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; }
.tool-label { font: 600 12px/1 var(--mono); color: var(--eye); letter-spacing: 0.06em; }
.tool-card h3 { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; }
.tool-desc { color: #d9d1d4; font-size: 15px; }
.tool-note { color: var(--muted); font-size: 12.5px; }

/* ---------- 최신 릴스 ---------- */
.reels { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 14px; }
@media (max-width: 720px) { .reels { gap: 8px; grid-template-columns: repeat(2, 1fr); } .reel { border-radius: 12px; } .reel-cap { display: none; } .reel-play { width: 26px; height: 26px; font-size: 10px; top: 8px; right: 8px; } }
.reel {
  position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden;
  border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line);
}
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.reel:hover img { transform: scale(1.04); }
.reel-play {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--hot); color: #fff; font-size: 13px;
}
.reel-cap {
  position: absolute; inset: auto 0 0; padding: 28px 12px 12px; font-size: 13px; line-height: 1.4;
  background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff;
}
.reels-more { display: inline-block; margin-top: 20px; }

/* ---------- 진짜 키코 (필름) ---------- */
.section-film { background: #e9e2d8; color: var(--ink); position: relative; }
.section-film::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section-film .lede { color: #6b6366; }
.film { position: relative; display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: clamp(18px, 3vw, 40px); align-items: start; }
.polaroid { background: #fff; padding: 12px 12px 18px; box-shadow: 0 18px 40px -20px rgba(0,0,0,.45); }
.polaroid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: sepia(0.22) contrast(1.05) saturate(0.85); }
.polaroid figcaption { margin-top: 12px; font-size: 15px; font-weight: 600; text-align: center; color: #3a3336; }
.tilt-l { transform: rotate(-2.5deg); }
.tilt-r { transform: rotate(2deg); margin-top: 40px; }
.diary { background: #fffdf8; border-radius: 6px; padding: 24px; box-shadow: 0 18px 40px -24px rgba(0,0,0,.4); }
.diary-title { font-family: var(--display); font-size: 34px; line-height: 1; margin-bottom: 14px; }
.diary article { padding: 14px 0; border-top: 1px dashed rgba(0,0,0,.18); }
.diary time { font: 600 12px/1 var(--mono); color: var(--hot); }
.diary p { margin-top: 6px; font-size: 15px; }

/* ---------- 키코는 누구 ---------- */
.who { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
.profile { display: grid; grid-template-columns: 300px 1fr; gap: clamp(20px, 3vw, 36px); align-items: stretch; padding: clamp(18px, 2.5vw, 28px); background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); }
.profile img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; object-position: center 30%; border-radius: 12px; }
.profile dl { align-self: center; }
.profile dl div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.profile dl div:last-child { border-bottom: 0; }
.profile dt { color: var(--muted); }
.profile dd { font-family: 'Poor Story', var(--body); font-size: 20px; line-height: 1.4; letter-spacing: 0.01em; color: var(--text); transform: skewX(-3deg); transform-origin: left center; }
@media (min-width: 981px) { .profile dd { white-space: nowrap; } }
.timeline { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.timeline li { display: grid; grid-template-columns: 130px 1fr; gap: 24px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.timeline li b { color: var(--text); }
.tl-num { font: 400 clamp(26px, 2.6vw, 30px)/1 var(--display); letter-spacing: 0.03em; color: var(--eye); }
.timeline li:last-child .tl-num { color: var(--hot); }
.human-note { color: var(--muted); font-size: 13px; }

/* ---------- 협업 (핑크 섹션) ---------- */
.section-hot { background: var(--blush); color: var(--ink); }
.section-hot .eyebrow { color: #a3134a; }
.section-hot .lede { color: #6a3a4a; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: var(--ink); color: var(--text); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.stat-num { font: 400 clamp(44px, 5vw, 64px)/1 var(--display); color: var(--eye); }
.stat-cap { font-size: 14px; color: var(--muted); }
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 40px; }
.pkg { background: #fff; border-radius: var(--radius); padding: 22px; border: 1.5px solid var(--ink); }
.pkg-no { font-family: var(--display); font-size: 32px; color: var(--hot); line-height: 1; }
.pkg h3 { margin: 10px 0 6px; font-size: 20px; }
.pkg p:last-child { font-size: 14.5px; color: #4a4245; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: #fff; border-radius: 24px; padding: clamp(20px, 3vw, 32px); border: 1.5px solid var(--ink); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide, .contact-actions, .form-note { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea {
  font: 400 15px/1.4 var(--body); padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid rgba(0,0,0,.15); background: #fbf8f6; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--hot); background: #fff; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-note { font-size: 14px; font-weight: 600; color: #a3134a; min-height: 1em; }

/* ---------- 푸터 ---------- */
.footer { padding: 80px var(--gutter) 40px; border-top: 1px solid var(--line); }
.footer-big { font: 400 clamp(48px, 9vw, 130px)/0.9 var(--display); }
.footer-big span { color: var(--hot); }
.disclosure { margin-top: 30px; font-size: 13px; color: var(--muted); max-width: 640px; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.footer-meta a { color: var(--text); font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- 라이트박스 ---------- */
.lightbox { margin: auto; border: 0; padding: 0; background: transparent; max-width: min(92vw, 560px); color: var(--text); }
.lightbox::backdrop { background: rgba(10, 8, 9, 0.88); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 18px; }
.lightbox p { margin-top: 12px; text-align: center; font-weight: 700; }
.lightbox-close { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--text); color: var(--ink); font-size: 16px; }

/* ---------- 스크롤 등장 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 반응형 ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; }
  .hero-media { width: min(100%, 380px); }
  .film { grid-template-columns: 1fr 1fr; }
  .diary { grid-column: 1 / -1; }
  .who { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .topbar { flex-direction: column; align-items: stretch; gap: 8px; padding-block: 10px; }
  .nav { overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; flex: none; }
  html { scroll-padding-top: 100px; }
  .hero { padding-top: 130px; }
  .sticker-1 { left: -2%; }
  .sticker-2 { right: -2%; }
  .sticker-link { right: -2%; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .gallery-item { margin-bottom: 10px; }
  .gallery-item figcaption { opacity: 1; transform: none; font-size: 13px; padding: 30px 10px 10px; }
  .film { grid-template-columns: 1fr; }
  .tilt-r { margin-top: 0; }
  .profile { grid-template-columns: 1fr; }
  .profile img { width: 100%; max-width: 320px; height: auto; min-height: 0; aspect-ratio: 3 / 4; }
  .profile dl div { grid-template-columns: 88px 1fr; }
  .profile dd { font-size: 18px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .tl-num { font-size: 24px; }
  .contact { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 릴스를 못 불러오면 NOW PLAYING 섹션 전체를 숨김 */
#reels:has(#reelsWrap[hidden]) { display: none; }

/* SHARING 사용 가이드: 스티치 테두리 예시 사진 */
.howto { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(20px, 4vw, 48px); margin: 0 0 28px; padding: clamp(20px, 3vw, 32px); background: #fff; border-radius: var(--radius); border: 1.5px solid rgba(0,0,0,.08); }
.howto-photo { flex: 0 0 auto; width: min(210px, 52vw); margin: 0 auto; text-align: center; }
.stitch { position: relative; padding: 10px; background: var(--blush); border-radius: 26px 20px 28px 18px / 20px 28px 18px 26px; transform: rotate(-2deg); box-shadow: 0 6px 0 rgba(255, 61, 127, .18); }
.stitch::before { content: ""; position: absolute; inset: 5px; border: 2.5px dashed var(--hot); border-radius: 22px 16px 24px 14px / 16px 24px 14px 22px; pointer-events: none; z-index: 1; }
.stitch img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: center; background: #fff; border-radius: 16px 12px 18px 10px / 12px 18px 10px 16px; }
.howto-photo figcaption { margin-top: 12px; font-family: 'Poor Story', var(--body); font-size: 18px; color: var(--hot); transform: rotate(-2deg); }
.howto-body { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.howto-body h3 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4.5vw, 44px); line-height: 1; }
.howto-body ol { list-style: none; counter-reset: tip; display: grid; gap: 10px; margin-top: 6px; }
.howto-body li { counter-increment: tip; position: relative; padding-left: 38px; color: #3a3336; }
.howto-body li::before { content: counter(tip); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--eye); font-family: var(--mono); font-size: 13px; }
.howto-body b { color: var(--hot); }
.howto .tool-label { color: var(--hot); }
.review-brand a, .gallery-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.review-brand a:hover, .gallery-credit a:hover { color: var(--hot); }
.howto-note { margin-top: 28px; font-family: 'Poor Story', var(--body); font-size: 19px; line-height: 1.45; color: #5a5255; transform: rotate(-1deg); transform-origin: left center; }

/* ---------- 2026-11-24: 공개 준비 보완 ---------- */
.tool-card > .tool-actions { flex: 0 1 auto; flex-direction: column; align-items: center; gap: 12px; margin-right: clamp(0px, 2vw, 24px); text-align: center; }
.tool-actions .link { color: var(--eye); font-size: 14px; }
.share-cta { margin: 0 0 22px; padding: 14px 18px; border-radius: 18px; text-align: center; background: linear-gradient(135deg, #ffe3ee 0%, #fff0f6 50%, #ffe8f1 100%); border: 2px solid var(--hot); box-shadow: 0 8px 20px -14px rgba(255, 61, 127, .5); }
.share-cta-main { font-size: clamp(15px, 1.8vw, 17px); font-weight: 700; line-height: 1.5; color: #2a2226; }
.share-cta-main em { font-style: normal; color: var(--hot); font-weight: 800; }
.share-tag { display: inline-block; margin: 0 2px; padding: 1px 9px; border-radius: 999px; background: var(--hot); color: #fff; text-decoration: none; transition: transform .2s ease; }
.share-tag:hover { transform: scale(1.06) rotate(-2deg); }
.share-cta-sub { margin-top: 4px; font-size: 13.5px; color: #6b5560; }
.prompt-license { margin-top: 24px; font-size: 13px; color: var(--muted); text-align: center; }
.prompt-license a { color: inherit; text-decoration: underline; }
.gallery-item { position: relative; }
.gallery-badge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 5px 9px; border-radius: 999px; background: var(--hot); color: #fff; font: 700 11px/1 var(--mono); letter-spacing: 0.04em; box-shadow: 0 4px 12px -4px rgba(0,0,0,.4); }
.prompt.is-flash { animation: promptFlash 1.6s ease; }
@keyframes promptFlash { 0%, 100% { box-shadow: none; } 25%, 70% { box-shadow: 0 0 0 4px var(--hot); } }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 50; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); transition: opacity .25s ease, transform .25s ease; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.gallery.is-masonry { columns: auto; display: flex; align-items: flex-start; gap: 14px; }
.gallery-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
@media (max-width: 720px) { .gallery.is-masonry { gap: 10px; } }
.share-cta { width: fit-content; max-width: 100%; margin-inline: auto; padding: 12px 22px; }
@media (min-width: 721px) { .share-cta-main { white-space: nowrap; } }
.share-cta-main, .share-cta-sub { font-family: 'Poor Story', var(--body); }
.share-cta-main { font-size: clamp(17px, 2vw, 20px); font-weight: 400; }
.share-cta-main em { font-weight: 400; }
.share-cta-sub { font-size: 15.5px; }
.share-tag { font-family: var(--body); font-size: 0.82em; font-weight: 700; vertical-align: 1px; }
