
html:has(.mzl), html:has(.mzl) body { background: #0b0e1c; color-scheme: dark; }
/* 쿠키 안내(발밑 밖, body 바로 아래) — 밝은 설정에서도 밤 무대에 맞춘다. 모양은 styles.ts 의 것 그대로, 읽는 색만 바꾼다. */
html:has(.mzl) body > .cookie { --mz-paper: #151a33; --mz-line: rgba(222, 228, 255, 0.2); --mz-muted: #b4b8cb; --mz-fg: #f5f2ea; --mz-soft: #20264a; color-scheme: dark; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8); }
@property --mzl-spread { syntax: "<length>"; inherits: true; initial-value: 64px; }
@property --mzl-art { syntax: "<number>"; inherits: true; initial-value: 0.82; }

.mzl {
  --mzl-ink-0: #07080f;
  --mzl-ink-1: #0b0e1c;
  --mzl-ink-2: #12162c;
  --mzl-ink-3: #1b2042;
  --mzl-fg: #f5f2ea;
  --mzl-fg-2: #c9cbd8;
  --mzl-fg-3: #a2a6bd;
  --mzl-line: rgba(222, 228, 255, 0.13);
  --mzl-line-2: rgba(222, 228, 255, 0.26);
  --mzl-coral: #ff6c50;
  --mzl-coral-2: #ff8f6b;
  --mzl-coral-ink: #1a0905;
  --mzl-gold: #eccb88;
  --mzl-mint: #5ad89c;
  --mzl-paper: #f3eee3;
  --mzl-paper-ink: #1b1a22;
  --mzl-paper-mute: #55515d;
  --mzl-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --mzl-sk: 72px;
  --mzl-gutter: 16px;
  /* 함께 쓰는 조각들이 읽는 값 — 밤 무대에 맞춘다(건너뛰기 링크·움직임 단추·얼굴 칸·로고의 눈). */
  --mz-bg: #0b0e1c;
  --mz-fg: #f5f2ea;
  --mz-muted: #a2a6bd;
  --mz-line: rgba(222, 228, 255, 0.2);
  --mz-paper: #12162c;
  --mz-soft: #1b2042;
  --mz-accent: #ff6c50;
  --mz-accent-ink: #ff8f6b;
  --muted: #a2a6bd;
  --fg: #f5f2ea;
  --line: rgba(222, 228, 255, 0.13);
  --accent: #ff8f6b;
  color-scheme: dark;
  background: var(--mzl-ink-1);
  color: var(--mzl-fg);
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
}
@media (min-width: 900px) { .mzl { --mzl-gutter: 40px; } }
@media (min-width: 1360px) { .mzl { --mzl-gutter: 80px; } }
@media (max-width: 899px) { .mzl { --mzl-sk: 30px; } }
.mzl .mzl-main { max-width: none; margin: 0; padding: 0; }
/* 건너뛰기 링크는 머리띠(z 60)·메뉴 판보다 위에 — 초점을 받았는데 머리띠 뒤에 숨으면 없는 것과 같다. */
.mzl .mizi-skip { z-index: 100; }
.mzl :focus-visible { outline: 3px solid var(--mzl-gold); outline-offset: 3px; border-radius: 2px; }
.mzl .mzl-wrap { width: min(1280px, 100% - 2 * var(--mzl-gutter)); margin-inline: auto; }
.mzl ul.mzl-steps, .mzl ol.mzl-steps, .mzl .mzl-rules ul, .mzl .mzl-nodes, .mzl .mzl-modes-rail, .mzl .mzl-slices { list-style: none; margin: 0; padding: 0; }

/* ── 글자 표시 ───────────────────────────────────────── */
.mzl .mzl-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; color: var(--mzl-coral-2); letter-spacing: -0.01em; }
.mzl .mzl-kicker::before { content: ""; width: 18px; height: 3px; background: currentColor; transform: skewX(-30deg); }
.mzl .mzl-h2 { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.16; font-weight: 900; letter-spacing: -0.035em; text-wrap: pretty; }
.mzl .mzl-desc { color: var(--mzl-fg-2); font-size: 16px; line-height: 1.75; max-width: 620px; }
.mzl .mzl-desc b { color: #fff; font-weight: 750; }
.mzl .mzl-head { position: relative; display: grid; gap: 14px; justify-items: start; }
.mzl .mzl-head.center { text-align: center; justify-items: center; }
.mzl .mzl-head.center .mzl-desc { margin-inline: auto; }
.mzl .mzl-text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 750; font-size: 15px; color: var(--mzl-fg); }
.mzl .mzl-text-link:hover { color: var(--mzl-gold); }
.mzl .mzl-text-link svg { width: 18px; height: 18px; flex: none; }

/* ── 단추: 잘린 모서리는 뒤 판에만 ──────────────────────── */
.mzl .mzl-btn {
  --c: 12px;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 0; background: none;
  font-size: 16px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; color: var(--mzl-fg);
}
.mzl .mzl-btn svg { flex: none; width: 19px; height: 19px; }
.mzl .mzl-btn::before, .mzl .mzl-btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.mzl .mzl-btn.primary { color: var(--mzl-coral-ink); }
.mzl .mzl-btn.primary::before { background: linear-gradient(100deg, var(--mzl-coral) 0%, #ff8a5c 100%); transition: filter 0.2s; }
.mzl .mzl-btn.primary:hover::before { filter: brightness(1.08); }
.mzl .mzl-btn.primary::after {
  background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, 0.5) 50%, transparent 62%) no-repeat;
  background-size: 250% 100%; background-position: 150% 0; opacity: 0;
}
html[data-mizi-motion="running"] .mzl .mzl-btn.primary::after { animation: mzl-shine 5.6s ease-in-out 1.6s infinite; }
.mzl .mzl-btn.ghost::before { background: var(--mzl-line-2); }
.mzl .mzl-btn.ghost::after {
  inset: 1.5px; background: rgba(11, 14, 28, 0.88);
  clip-path: polygon(calc(var(--c) - 0.6px) 0, 100% 0, 100% calc(100% - var(--c) + 0.6px), calc(100% - var(--c) + 0.6px) 100%, 0 100%, 0 calc(var(--c) - 0.6px));
}
.mzl .mzl-btn.ghost:hover::after { background: rgba(30, 36, 70, 0.94); }
.mzl .mzl-btn.ghost:hover::before { background: var(--mzl-gold); }
.mzl .mzl-btn.big { --c: 16px; min-height: 62px; padding: 0 32px; font-size: 17.5px; }

/* 장식 틀(HUD 모서리) — 잘린 요소 밖에 거는 감싸개 */
.mzl .mzl-hud { position: relative; display: block; }
.mzl .mzl-hud::before, .mzl .mzl-hud::after { content: ""; position: absolute; z-index: 5; width: 22px; height: 22px; pointer-events: none; }
.mzl .mzl-hud::before { top: -9px; left: -9px; border-top: 2px solid var(--mzl-gold); border-left: 2px solid var(--mzl-gold); }
.mzl .mzl-hud::after { bottom: -9px; right: -9px; border-bottom: 2px solid var(--mzl-gold); border-right: 2px solid var(--mzl-gold); }

/* 상태 */
.mzl .mzl-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--mzl-fg-2); }
.mzl .mzl-status i { width: 8px; height: 8px; border-radius: 50%; background: #8b90a6; flex: none; }
.mzl .mzl-status.on { color: #9eeac4; }
.mzl .mzl-status.on i { background: var(--mzl-mint); box-shadow: 0 0 0 4px rgba(90, 216, 156, 0.18); }
.mzl .mzl-status.locked { color: #f2d79a; }
.mzl .mzl-status.locked i { background: #e0b75c; }

/* 움직임 단추(MiziMotionToggle) — 밤 무대의 작은 칩 */
.mzl .mizi-motion-toggle {
  min-height: 44px; min-width: 44px; padding: 0 16px; gap: 8px;
  border: 1px solid var(--mzl-line-2); border-radius: 0; background: rgba(9, 11, 23, 0.7); color: var(--mzl-fg-2);
  font-size: 13px !important; font-weight: 750;
}
.mzl .mizi-motion-toggle:hover:not(:disabled) { color: #fff; border-color: var(--mzl-gold); }

/* ── 머리띠 ─────────────────────────────────────────── */
.mzl .mzl-top { position: sticky; top: 0; z-index: 60; background: rgba(9, 11, 23, 0.86); border-bottom: 1px solid var(--mzl-line); }
@supports ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))) {
  .mzl .mzl-top { background: rgba(9, 11, 23, 0.66); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
}
.mzl .mzl-top-in { height: 64px; display: flex; align-items: center; gap: 18px; }
.mzl .mzl-top .mizi-brand { min-height: 44px; color: var(--mzl-coral) !important; }
.mzl .mzl-top .mizi-brand > span { color: var(--mzl-fg); font-size: 26px; }
.mzl .mzl-nav { display: flex; gap: 2px; margin-left: auto; }
.mzl .mzl-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px; font-size: 15px; font-weight: 700; color: var(--mzl-fg-2); }
.mzl .mzl-nav a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 8px; height: 2px; background: var(--mzl-coral); transform: scaleX(0); transform-origin: left; transition: transform 0.25s; }
.mzl .mzl-nav a:hover { color: var(--mzl-fg); }
.mzl .mzl-nav a:hover::after { transform: scaleX(1); }
.mzl .mzl-top-cta { --c: 10px; min-height: 44px; padding: 0 16px; font-size: 14.5px; gap: 8px; }
.mzl .mzl-top-cta svg { width: 16px; height: 16px; }
.mzl .mzl-top-cta .tk-badge { margin-left: 0; color: var(--mzl-coral-ink); }
/* 「＋ 내 AI 만들기」 — 마이페이지 단추와 같은 옷, 더하기만 산호색. 좁은 폰에서는 「＋」만 보이고 이름은 읽힌다. */
.mzl .mzl-top-create { gap: 6px; }
.mzl .mzl-top-create-plus { color: var(--mzl-coral); font-size: 17px; font-weight: 900; line-height: 1; }
.mzl .mzl-menu-btn { display: none; position: relative; isolation: isolate; width: 44px; height: 44px; flex: none; align-items: center; justify-content: center; border: 0; background: none; color: var(--mzl-fg); }
.mzl .mzl-menu-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--mzl-line-2); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.mzl .mzl-menu-btn::after { content: ""; position: absolute; inset: 1.5px; z-index: -1; background: var(--mzl-ink-1); clip-path: polygon(7.4px 0, 100% 0, 100% calc(100% - 7.4px), calc(100% - 7.4px) 100%, 0 100%, 0 7.4px); }
.mzl .mzl-sheet { position: absolute; left: 0; right: 0; top: 100%; background: #090b17; border-bottom: 1px solid var(--mzl-line-2); padding: 6px var(--mzl-gutter) 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
.mzl .mzl-sheet[hidden] { display: none; }
@media (min-width: 900px) { .mzl .mzl-sheet { display: none; } }
.mzl .mzl-sheet a { display: flex; align-items: baseline; gap: 14px; min-height: 56px; padding: 14px 0; font-size: 19px; font-weight: 850; letter-spacing: -0.02em; border-bottom: 1px solid var(--mzl-line); }
.mzl .mzl-sheet a span { font-family: var(--mzl-mono); font-size: 12px; color: var(--mzl-gold); letter-spacing: 0.1em; }
@media (max-width: 1199px) {
  .mzl .mzl-nav a { padding: 0 9px; font-size: 14.5px; }
  .mzl .mzl-nav a::after { left: 9px; right: 9px; }
}
@media (max-width: 899px) {
  .mzl .mzl-top-in { height: 58px; gap: 10px; }
  .mzl .mzl-nav { display: none; }
  .mzl .mzl-top-cta { margin-left: auto; padding: 0 13px; font-size: 14px; }
  .mzl .mzl-top-create + .mzl-top-cta { margin-left: 0; }
  .mzl .mzl-menu-btn { display: inline-flex; }
  .mzl .mzl-top .mizi-brand > span { font-size: 24px; }
}
/*
  「내 AI 만들기」 글자를 읽히게만 두고 「＋」 하나로 접는 폭 둘 — 폰(390px 에서 마이페이지·메뉴와 한 줄)과, 머리띠 링크가 막 펼쳐지는
  900~989px(글자를 다 실으면 링크가 두 줄로 꺾인다, 2026-10-13 실측).
*/
@media (max-width: 459px), (min-width: 900px) and (max-width: 989px) {
  .mzl .mzl-top-create { min-width: 44px; padding: 0 12px; }
  .mzl .mzl-top-create-label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}
/* 360px 폰에서 마이페이지(새 결과물 표시까지)와 메뉴가 오른쪽 여백을 넘지 않게 사이만 조금 좁힌다. */
@media (max-width: 374px) { .mzl .mzl-top-in { gap: 6px; } }

/* ── 띠(섹션)를 사선으로 잇는다 ─────────────────────── */
.mzl .mzl-band {
  position: relative; isolation: isolate; overflow-x: clip;
  margin-top: calc(var(--mzl-sk) * -1);
  padding: calc(var(--mzl-sk) + 104px) 0 calc(var(--mzl-sk) + 112px);
  clip-path: polygon(0 var(--mzl-sk), 100% 0, 100% 100%, 0 100%);
}
.mzl .mzl-band.rev { clip-path: polygon(0 0, 100% var(--mzl-sk), 100% 100%, 0 100%); }
@media (max-width: 899px) {
  .mzl .mzl-band { padding: calc(var(--mzl-sk) + 46px) 0 calc(var(--mzl-sk) + 54px); }
}
.mzl .mzl-ghost {
  position: absolute; z-index: -1; left: 50%; top: calc(var(--mzl-sk) + 26px); transform: translateX(-50%);
  font-size: 176px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06); pointer-events: none; user-select: none;
}

/* 별 하늘 — 첫 화면과 맺음이 함께 쓴다 */
.mzl .mzl-stars, .mzl .mzl-stars::after {
  position: absolute; inset: 0; content: "";
  background-image:
    radial-gradient(1.5px 1.5px at 8% 14%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 38%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 34% 8%, #ffe9c0 50%, transparent 51%),
    radial-gradient(1px 1px at 41% 62%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 52% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 74%, #c9d4ff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 71% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 84% 44%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 93% 18%, #ffe9c0 50%, transparent 51%),
    radial-gradient(1px 1px at 16% 78%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 90%, #c9d4ff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 4% 52%, #fff 50%, transparent 51%);
  opacity: 0.75;
}
.mzl .mzl-stars::after { background-position: 37px 53px; transform: scale(1.4); opacity: 0.5; }
html[data-mizi-motion="running"] .mzl .mzl-stars { animation: mzl-twinkle 4.6s ease-in-out infinite alternate; }
html[data-mizi-motion="running"] .mzl .mzl-stars::after { animation: mzl-twinkle 3.4s ease-in-out 1s infinite alternate-reverse; }

/* ── 1. 첫 화면(키 비주얼) ──────────────────────────── */
.mzl .mzl-kv {
  position: relative; overflow: hidden; isolation: isolate;
  height: clamp(640px, calc(100vh - 64px), 820px);
  height: clamp(640px, calc(100svh - 64px), 820px);
  background:
    radial-gradient(60% 70% at 78% 30%, rgba(255, 108, 80, 0.16), transparent 70%),
    radial-gradient(50% 60% at 12% 90%, rgba(120, 140, 255, 0.14), transparent 70%),
    linear-gradient(180deg, #0a0d1d 0%, #11163a 58%, #0c0f22 100%);
}
.mzl .mzl-kv-sky { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.mzl .mzl-kv-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.mzl .mzl-kv-pixels i { position: absolute; width: 6px; height: 6px; background: var(--mzl-gold); opacity: 0; }
.mzl .mzl-kv-pixels i:nth-child(1) { left: 12%; top: 70%; }
.mzl .mzl-kv-pixels i:nth-child(2) { left: 31%; top: 82%; width: 4px; height: 4px; background: var(--mzl-coral); }
.mzl .mzl-kv-pixels i:nth-child(3) { left: 47%; top: 76%; }
.mzl .mzl-kv-pixels i:nth-child(4) { left: 58%; top: 88%; width: 4px; height: 4px; background: #9fb4ff; }
.mzl .mzl-kv-pixels i:nth-child(5) { left: 76%; top: 80%; width: 5px; height: 5px; }
.mzl .mzl-kv-pixels i:nth-child(6) { left: 90%; top: 72%; width: 4px; height: 4px; background: var(--mzl-coral); }
html[data-mizi-motion="running"] .mzl .mzl-kv-pixels i { animation: mzl-rise 11s linear infinite; }
html[data-mizi-motion="running"] .mzl .mzl-kv-pixels i:nth-child(2) { animation-delay: -3s; animation-duration: 13s; }
html[data-mizi-motion="running"] .mzl .mzl-kv-pixels i:nth-child(3) { animation-delay: -6s; }
html[data-mizi-motion="running"] .mzl .mzl-kv-pixels i:nth-child(4) { animation-delay: -1.5s; animation-duration: 14s; }
html[data-mizi-motion="running"] .mzl .mzl-kv-pixels i:nth-child(5) { animation-delay: -8s; }
html[data-mizi-motion="running"] .mzl .mzl-kv-pixels i:nth-child(6) { animation-delay: -4.5s; animation-duration: 12s; }

/* 미지들의 사선 그림 — 링크는 네모로 두고(초점 테두리) 사선은 안쪽 틀에만 */
.mzl .mzl-slices { position: absolute; z-index: 0; top: 0; bottom: 0; right: -60px; width: 60%; display: flex; }
.mzl .mzl-slice { --cut: 78px; position: relative; flex: 1 1 0; min-width: 0; margin-left: -64px; transform: translateY(var(--y, 0px)); }
.mzl .mzl-slice:first-child { margin-left: 0; }
.mzl .mzl-slice:focus-within, .mzl .mzl-slice:hover { z-index: 2; }
.mzl .mzl-slice a { position: absolute; inset: -40px 0; display: block; color: #fff; }
/* 초점 — 링크의 네모는 첫 화면 밖으로 넘치고 가림막 아래에 있어서, 칸째 올리고 안쪽에 금빛 테두리를 그린다. */
.mzl .mzl-slices:focus-within { z-index: 2; }
.mzl .mzl-slice a:focus-visible { outline: none; }
.mzl .mzl-slice a:focus-visible::before { content: ""; position: absolute; z-index: 3; inset: 58px 12px; border: 3px solid var(--mzl-gold); pointer-events: none; }
.mzl .mzl-slice:last-child a:focus-visible::before { right: 72px; }
.mzl .mzl-slice a > img { position: absolute; inset: 0; }
.mzl .mzl-slice a > img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
  background: var(--mzl-ink-3);
  transition: filter 0.3s;
}
.mzl .mzl-slice a > img.preset { object-fit: contain; object-position: 50% 100%; }
.mzl .mzl-slice a::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
  background: linear-gradient(180deg, rgba(10, 13, 29, 0.05) 0%, transparent 46%, rgba(10, 13, 29, 0.8) 90%);
}
.mzl .mzl-slice a:hover > img { filter: brightness(1.08) saturate(1.05); }
html[data-mizi-motion="running"] .mzl .mzl-slice a > img { animation: mzl-drift 18s ease-in-out infinite alternate; }
html[data-mizi-motion="running"] .mzl .mzl-slice:nth-child(2n) a > img { animation-duration: 21s; animation-delay: -7s; }
.mzl .mzl-slice-name {
  position: absolute; z-index: 2; left: calc(var(--cut) * 0.5 + 8px); bottom: calc(var(--y, 0px) + 150px);
  padding: 3px 10px 3px 8px; font-size: 15px; font-weight: 850; line-height: 1.3;
  color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); border-left: 2px solid var(--mzl-gold);
}
.mzl .mzl-kv-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, #0b0e1f 0%, rgba(11, 14, 31, 0.94) 34%, rgba(11, 14, 31, 0.35) 50%, transparent 64%);
}
.mzl .mzl-kv-beam {
  position: absolute; z-index: 1; top: -20%; bottom: -20%; left: 52%; width: 140px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 233, 192, 0.1), transparent); transform: skewX(-24deg);
}
html[data-mizi-motion="running"] .mzl .mzl-kv-beam { animation: mzl-beam 9s ease-in-out infinite; }
.mzl .mzl-kv-word {
  position: absolute; z-index: 1; left: -1vw; bottom: -0.36em; pointer-events: none; user-select: none;
  font-size: 280px; font-weight: 900; letter-spacing: -0.06em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(236, 203, 136, 0.09);
}
.mzl .mzl-kv-copy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: calc(var(--mzl-sk) + 8px); pointer-events: none; }
.mzl .mzl-kv-copy > * { max-width: 600px; pointer-events: auto; }
.mzl .mzl-kv-kicker {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 10px;
  padding: 8px 20px 8px 14px; margin-bottom: 22px; font-size: 15px; font-weight: 800; color: #fff;
  background: linear-gradient(90deg, rgba(255, 108, 80, 0.28), rgba(255, 108, 80, 0.04));
  border-left: 3px solid var(--mzl-coral);
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  --mz-bg: #3a1d22;
}
.mzl .mzl-kv-kicker svg { color: var(--mzl-coral-2); }
.mzl .mzl-kv h1 { font-size: clamp(44px, 5.6vw, 82px); line-height: 1.08; font-weight: 900; letter-spacing: -0.045em; text-shadow: 0 6px 40px rgba(0, 0, 0, 0.5); }
.mzl .mzl-kv h1 em, .mzl .mzl-final h2 em {
  font-style: normal; display: inline-block; padding-right: 0.06em;
  background: linear-gradient(96deg, #ff6c50 0%, #ff9a66 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mzl .mzl-kv-lead { margin-top: 26px; font-size: 18px; line-height: 1.8; color: var(--mzl-fg-2); max-width: 500px !important; }
.mzl .mzl-kv-lead strong { color: #fff; }
.mzl .mzl-kv-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.mzl .mzl-kv-member { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 15px; color: var(--mzl-fg-2); }
.mzl .mzl-kv-member strong { color: #fff; font-weight: 800; }
.mzl .mzl-faces { display: inline-flex; flex: none; }
.mzl .mzl-faces > span {
  width: 36px; height: 36px; display: grid; place-items: center; overflow: hidden;
  border: 2px solid var(--mzl-ink-1); background: var(--mzl-ink-3); border-radius: 9px;
}
.mzl .mzl-faces > span + span { margin-left: -9px; }
.mzl .mzl-faces > span > .mz-face-pic { width: 100%; height: 100%; object-fit: cover; }
.mzl .mzl-faces > span > svg { width: 70%; height: auto; }
.mzl .mzl-faces.large > span { width: 52px; height: 52px; border-radius: 12px; }
.mzl .mzl-faces.large > span + span { margin-left: -12px; }
/* 움직임 단추 — 글 흐름 안, 회원·손님 줄 아래. */
.mzl .mzl-kv-hud { margin-top: 18px; }
.mzl .mzl-kv.no-slices .mzl-kv-veil { background: radial-gradient(70% 80% at 80% 40%, rgba(255, 108, 80, 0.12), transparent 70%); }
@media (min-width: 900px) and (max-width: 1199px) {
  .mzl .mzl-slices { width: 54%; }
  .mzl .mzl-kv-copy > * { max-width: 470px; }
  .mzl .mzl-kv-lead { max-width: 430px !important; font-size: 17px; }
}
@media (max-width: 899px) {
  /* 그림 칸 높이 — 키 작은 폰에서 주 단추가 첫 화면에 들게 화면 높이를 따른다. svh 를 모르는 옛 브라우저는 고정값(줄 하나가 통째로 버려지지 않게). */
  .mzl .mzl-kv { --kv-art: 262px; height: auto; padding: var(--kv-art) 0 calc(var(--mzl-sk) + 30px); }
  .mzl .mzl-slices { top: -10px; bottom: auto; height: calc(var(--kv-art) + 118px); left: -40px; right: -40px; width: auto; }
  .mzl .mzl-slices { overflow: hidden; }
  .mzl .mzl-slice { --cut: 44px; margin-left: -34px; transform: none; }
  .mzl .mzl-slice:nth-child(5) { display: none; }
  .mzl .mzl-slice a { inset: 0; }
  .mzl .mzl-slice-name { display: none; }
  .mzl .mzl-kv-veil { background: linear-gradient(180deg, rgba(11, 14, 31, 0) 0, rgba(11, 14, 31, 0.15) 40%, rgba(11, 14, 31, 0.9) 72%, #0c1024 88%); height: calc(var(--kv-art) + 118px); bottom: auto; }
  .mzl .mzl-kv-beam, .mzl .mzl-kv-word { display: none; }
  .mzl .mzl-kv-copy { height: auto; padding-bottom: 0; }
  .mzl .mzl-kv-kicker { font-size: 14px; margin-bottom: 14px; padding: 7px 16px 7px 12px; }
  .mzl .mzl-kv h1 { font-size: 42px; line-height: 1.12; }
  .mzl .mzl-kv-lead { margin-top: 14px; font-size: 15px; line-height: 1.72; }
  .mzl .mzl-kv-cta { margin-top: 22px; gap: 10px; }
  .mzl .mzl-kv-cta .mzl-btn { flex: 1 1 100%; }
  .mzl .mzl-kv-cta .mzl-btn.primary { min-height: 58px; font-size: 17px; }
  .mzl .mzl-kv-cta .mzl-btn.ghost { min-height: 50px; font-size: 16px; }
  .mzl .mzl-kv-member { margin-top: 18px; font-size: 14.5px; gap: 12px; }
  .mzl .mzl-faces > span { width: 30px; height: 30px; border-radius: 8px; }
  .mzl .mzl-kv-hud { margin-top: 14px; }
  .mzl .mzl-slice a:focus-visible::before { inset: 8px 10px; }
  .mzl .mzl-slice:first-child a:focus-visible::before { left: 48px; }
  .mzl .mzl-slice:nth-child(4) a:focus-visible::before, .mzl .mzl-slice:last-child a:focus-visible::before { right: 48px; }
  .mzl .mzl-kv.no-slices { padding-top: 64px; }
}
@supports (height: 1svh) {
  @media (max-width: 899px) { .mzl .mzl-kv { --kv-art: clamp(170px, 32svh, 262px); } }
}
@media (max-width: 380px) {
  .mzl .mzl-kv h1 { font-size: 37px; }
}

/* ── 2. 바로 이야기하기 — 모드 고르기(문 넷) ────────────── */
.mzl .mzl-modes-band { background: radial-gradient(50% 40% at 50% 0%, rgba(255, 108, 80, 0.1), transparent 70%), linear-gradient(180deg, #080a15, #0d1024); }
.mzl .mzl-modes-band::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: repeating-linear-gradient(-62deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 22px); }
.mzl .mzl-modes-band .mzl-head { margin-bottom: 56px; }
.mzl .mzl-modes-rail { position: relative; display: flex; height: 600px; }
.mzl .mzl-mode {
  --slant: 56px; --mbg: #161b36;
  position: relative; isolation: isolate; overflow: hidden;
  flex: 1 1 0; min-width: 0; margin-left: -46px;
  clip-path: polygon(var(--slant) 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
  background: var(--mbg);
  --mzl-spread: 64px; --mzl-art: 0.82;
  transition: flex-grow 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), --mzl-spread 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), --mzl-art 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.mzl .mzl-mode:first-child { margin-left: 0; clip-path: polygon(0 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%); }
.mzl .mzl-mode:last-child { clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%); }
.mzl .mzl-mode.mode-chat { --mbg: #1a1630; }
.mzl .mzl-mode.mode-school { --mbg: linear-gradient(170deg, #1e3a73 0%, #12224a 60%, #0c1630 100%); }
.mzl .mzl-mode.mode-company { --mbg: linear-gradient(170deg, #17564a 0%, #0f3a33 60%, #0a2421 100%); }
.mzl .mzl-mode.mode-home { --mbg: linear-gradient(170deg, #8a5a2b 0%, #5a3818 55%, #2e1d0d 100%); }
.mzl .mzl-mode-main { position: absolute; inset: 0; display: block; color: inherit; }
/* 초점 — 판(li)이 잘린 틀이라 링크의 바깥 테두리는 잘리고, 그림 칸이 위를 덮는다. 맨 위 층에 안쪽 테두리로 그린다. */
.mzl .mzl-mode-main:focus-visible { outline: none; }
.mzl .mzl-mode-main:focus-visible::after { content: ""; position: absolute; inset: 6px; z-index: 4; border: 3px solid var(--mzl-gold); pointer-events: none; }
.mzl .mzl-mode-art { position: absolute; inset: 0; z-index: -1; display: block; overflow: hidden; }
.mzl .mzl-mode:not(.mode-chat) .mzl-mode-art::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.16), transparent 42%), linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px, 28px 28px;
}
.mzl .mzl-mode-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 8, 16, 0) 28%, rgba(7, 8, 16, 0.8) 60%, rgba(7, 8, 16, 0.96) 100%); }
.mzl .mzl-mode-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; transition: transform 0.8s; }
.mzl .mzl-mode-img.doll { object-position: 50% 32%; }
.mzl .mzl-mode-img.square { object-fit: contain; object-position: 50% 30%; }
.mzl .mzl-mode:hover .mzl-mode-img { transform: scale(1.04); }
.mzl .mzl-mode-pixel { position: absolute; left: 0; right: 0; top: 12%; display: grid; place-items: center; color: var(--mzl-coral); }
.mzl .mzl-mode-no {
  position: absolute; z-index: 2; top: 24px; left: calc(var(--slant) + 14px);
  font-size: 76px; font-weight: 900; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.72); transform: skewX(-10deg);
}
.mzl .mzl-mode:first-child .mzl-mode-no { left: 32px; }
.mzl .mzl-mode-body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 calc(var(--slant) + 10px) 86px 34px; display: flex; flex-direction: column; gap: 6px; }
.mzl .mzl-mode:not(:first-child) .mzl-mode-body { padding-left: calc(var(--slant) - 6px); }
.mzl .mzl-mode:last-child .mzl-mode-body { padding-right: 30px; }
.mzl .mzl-mode-name { font-size: 27px; font-weight: 900; letter-spacing: -0.04em; line-height: 1.2; }
.mzl .mzl-mode-title { font-size: 16px; font-weight: 700; color: #fff; line-height: 1.5; text-wrap: pretty; }
.mzl .mzl-mode-who { font-size: 14.5px; color: var(--mzl-fg-2); line-height: 1.6; }
.mzl .mzl-mode-who b { color: #fff; font-weight: 850; margin-right: 6px; }
.mzl .mzl-mode-note { align-self: flex-start; font-size: 13.5px; font-weight: 750; color: var(--mzl-gold); padding: 3px 10px; border: 1px solid rgba(236, 203, 136, 0.42); }
.mzl .mzl-mode-open { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.35s; }
.mzl .mzl-mode-open > span { min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.mzl .mzl-mode-open > span > :first-child { margin-top: 10px; }
.mzl .mzl-mode-line { font-size: 17px; font-weight: 800; color: #fff; line-height: 1.5; padding-left: 14px; border-left: 3px solid var(--mzl-coral); }
.mzl .mzl-mode-cta {
  --c: 12px; position: relative; isolation: isolate; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px;
  font-size: 15.5px; font-weight: 800; color: var(--mzl-coral-ink); white-space: nowrap;
}
.mzl .mzl-mode-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--mzl-coral), #ff8a5c); clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); }
.mzl .mzl-mode-cta svg { width: 18px; height: 18px; }
.mzl .mzl-mode-more {
  position: absolute; z-index: 3; left: 34px; bottom: 26px;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-right: 6px;
  font-size: 14.5px; font-weight: 700; color: var(--mzl-fg-2); transition: opacity 0.3s;
}
.mzl .mzl-mode:not(:first-child) .mzl-mode-more { left: calc(var(--slant) - 6px); }
.mzl .mzl-mode-more:hover { color: var(--mzl-gold); }
.mzl .mzl-mode-more:focus-visible { outline-offset: -3px; }
.mzl .mzl-mode-more svg { width: 16px; height: 16px; }

/* 문 그림 — 부채(세 장 같은 크기) */
.mzl .mzl-fan { --fw: 132px; position: absolute; left: 50%; top: 31%; width: 0; height: 0; }
.mzl .mzl-fan > span {
  position: absolute; width: var(--fw); aspect-ratio: 2 / 3; left: calc(var(--fw) / -2); top: calc(var(--fw) * -0.75);
  padding: 4px; background: #fdf8ee;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.mzl .mzl-fan > span img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px); }
.mzl .mzl-fan > span:nth-child(1) { transform: translateX(calc(var(--mzl-spread) * -1)) translateY(16px) rotate(-11deg); }
.mzl .mzl-fan > span:nth-child(2) { z-index: 2; }
.mzl .mzl-fan > span:nth-child(3) { transform: translateX(var(--mzl-spread)) translateY(16px) rotate(11deg); }
.mzl .mzl-fan.dolls > span { background: #fff3df; }
.mzl .mzl-fan.dolls > span img { object-position: 50% 38%; }
/* 미지 컴퍼니 — 견본 대화 두 장(누구의 말도 아니다) */
.mzl .mzl-samples { position: absolute; left: 50%; top: 13%; width: 222px; display: grid; gap: 14px; transform: translateX(-50%) scale(var(--mzl-art)); transform-origin: 50% 0; }
.mzl .mzl-sample { display: grid; gap: 10px; padding: 14px 16px 16px; background: #f7f5ef; color: #20232a; clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); --mz-bg: #f7f5ef; }
.mzl .mzl-sample:nth-child(2) { margin-left: calc((var(--mzl-spread) - 64px) * 0.5 + 18px); margin-right: calc((var(--mzl-spread) - 64px) * -0.5 - 18px); }
.mzl .mzl-sample-head { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.mzl .mzl-sample-head svg { flex: none; color: #2e6b5a; }
.mzl .mzl-sample-head b { font-weight: 800; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mzl .mzl-sample-head i { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 750; color: #2e6b5a; padding: 1px 8px; border: 1px solid rgba(46, 107, 90, 0.4); }
.mzl .mzl-sample-ask { justify-self: end; font-size: 13.5px; font-weight: 750; color: #fff; background: #2e6b5a; padding: 6px 12px; clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%, 0 calc(100% - 8px)); }

/* 펼치는 판은 마우스가 있는 넓은 화면에서만 — 손가락으로는 접힌 판을 「올려 볼」 수가 없어, 넓은 터치 화면은 태블릿처럼 넘기는 장이다. */
@media (min-width: 1200px) and (hover: hover) {
  .mzl .mzl-mode-open { grid-template-rows: 0fr; opacity: 0; }
  .mzl .mzl-mode-more { opacity: 0; pointer-events: none; visibility: hidden; transition: opacity 0.3s, visibility 0s 0.3s; }
  .mzl .mzl-mode.is-first { flex-grow: 2.2; --mzl-spread: 118px; --mzl-art: 1; }
  .mzl .mzl-mode.is-first .mzl-mode-open { grid-template-rows: 1fr; opacity: 1; }
  .mzl .mzl-mode.is-first .mzl-mode-more { opacity: 1; pointer-events: auto; visibility: visible; transition: opacity 0.3s; }
  .mzl .mzl-modes-rail:has(.mzl-mode:hover, .mzl-mode:focus-within) .mzl-mode { flex-grow: 1; --mzl-spread: 64px; --mzl-art: 0.82; }
  .mzl .mzl-modes-rail:has(.mzl-mode:hover, .mzl-mode:focus-within) .mzl-mode .mzl-mode-open { grid-template-rows: 0fr; opacity: 0; }
  .mzl .mzl-modes-rail:has(.mzl-mode:hover, .mzl-mode:focus-within) .mzl-mode .mzl-mode-more { opacity: 0; pointer-events: none; visibility: hidden; transition: opacity 0.3s, visibility 0s 0.3s; }
  .mzl .mzl-modes-rail:has(.mzl-mode:hover, .mzl-mode:focus-within) .mzl-mode:is(:hover, :focus-within) { flex-grow: 2.2; --mzl-spread: 118px; --mzl-art: 1; }
  .mzl .mzl-modes-rail:has(.mzl-mode:hover, .mzl-mode:focus-within) .mzl-mode:is(:hover, :focus-within) .mzl-mode-open { grid-template-rows: 1fr; opacity: 1; }
  .mzl .mzl-modes-rail:has(.mzl-mode:hover, .mzl-mode:focus-within) .mzl-mode:is(:hover, :focus-within) .mzl-mode-more { opacity: 1; pointer-events: auto; visibility: visible; transition: opacity 0.3s; }
  .mzl .mzl-modes .mzl-pager { display: none; }
}
@media (max-width: 1199px), (hover: none) {
  .mzl .mzl-modes-band .mzl-head { margin-bottom: 28px; text-align: left; justify-items: start; }
  .mzl .mzl-modes-band .mzl-head .mzl-desc { margin-inline: 0; }
  .mzl .mzl-ghost { display: none; }
  .mzl .mzl-modes-wrap { width: auto; }
  .mzl .mzl-modes-rail {
    height: auto; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding: 4px var(--mzl-gutter) 10px; scroll-padding-inline: var(--mzl-gutter);
  }
  .mzl .mzl-modes-rail::-webkit-scrollbar { display: none; }
  .mzl .mzl-modes-rail::after { content: ""; flex: 0 0 4px; }
  .mzl .mzl-mode, .mzl .mzl-mode:first-child, .mzl .mzl-mode:last-child {
    --cc: 26px; --mzl-spread: 80px; --mzl-art: 1;
    /* 한 번 밀면 한 장 — 빠르게 튕기면 첫 장에서 끝 장까지 건너뛰었다(2026-10-04 안드로이드 크롬 실측). */
    flex: 0 0 min(84%, 360px); margin: 0; scroll-snap-align: start; scroll-snap-stop: always;
    display: flex; flex-direction: column;
    clip-path: polygon(0 0, calc(100% - var(--cc)) 0, 100% var(--cc), 100% 100%, var(--cc) 100%, 0 calc(100% - var(--cc)));
  }
  .mzl .mzl-mode-main { position: relative; inset: auto; flex: 1; display: flex; flex-direction: column; }
  .mzl .mzl-mode-art { position: relative; inset: auto; z-index: 0; height: 214px; flex: none; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
  .mzl .mzl-mode-art::after { background: linear-gradient(180deg, transparent 55%, rgba(7, 8, 16, 0.55)); }
  .mzl .mzl-mode-img { object-position: 50% 20%; }
  .mzl .mzl-mode-no, .mzl .mzl-mode:first-child .mzl-mode-no { top: 16px; left: 18px; font-size: 52px; }
  .mzl .mzl-mode-body, .mzl .mzl-mode:not(:first-child) .mzl-mode-body, .mzl .mzl-mode:last-child .mzl-mode-body { position: relative; flex: 1; padding: 8px 20px 6px; gap: 5px; }
  .mzl .mzl-mode-name { font-size: 24px; }
  .mzl .mzl-mode-title { font-size: 15.5px; }
  .mzl .mzl-mode-open { flex: 1; }
  .mzl .mzl-mode-open > span { height: 100%; }
  .mzl .mzl-mode-line { font-size: 15.5px; }
  .mzl .mzl-mode-cta { align-self: stretch; justify-content: space-between; margin-top: auto; min-height: 52px; }
  .mzl .mzl-mode-more, .mzl .mzl-mode:not(:first-child) .mzl-mode-more { position: relative; left: auto; bottom: auto; justify-content: space-between; margin: 0 20px 12px; }
  .mzl .mzl-fan { --fw: 96px; top: 50%; }
  .mzl .mzl-fan > span { top: calc(var(--fw) * -0.72); }
  .mzl .mzl-samples { top: 24px; width: 248px; transform: translateX(-52%); }
  .mzl .mzl-sample { padding: 11px 13px 13px; gap: 8px; }
  .mzl .mzl-mode-pixel { top: 18px; }
  .mzl .mzl-mode-pixel svg { width: 104px; height: auto; }
}
.mzl .mzl-pager { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding-inline: var(--mzl-gutter); }
.mzl .mzl-pager-count { font-family: var(--mzl-mono); font-size: 13px; font-weight: 700; color: var(--mzl-fg-2); letter-spacing: 0.08em; min-width: 64px; }
.mzl .mzl-pager-count b { color: #fff; font-size: 16px; }
.mzl .mzl-pager-bars { display: flex; gap: 6px; flex: 1; }
.mzl .mzl-pager-bars i { height: 3px; flex: 1; max-width: 44px; background: var(--mzl-line-2); transform: skewX(-30deg); transition: background 0.25s; }
.mzl .mzl-pager-bars i.on { background: var(--mzl-coral); }
.mzl .mzl-pager button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--mzl-line-2); background: transparent; color: var(--mzl-fg); }
.mzl .mzl-pager button:disabled { opacity: 0.35; cursor: default; }

/* ── 3. 미지의 마을 — 월드 고르기 ───────────────────── */
.mzl .mzl-world { --w1: #11301f; --wa: #8fdcae; background-color: var(--w1); transition: background-color 0.7s; }
.mzl .mzl-world::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 70% at 72% 40%, rgba(255, 255, 255, 0.08), transparent 70%), linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.5)); }
.mzl .mzl-world::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5; background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.5px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.mzl .mzl-world[data-world="poker"] { --w1: #11301f; --wa: #8fdcae; }
.mzl .mzl-world[data-world="tarot"] { --w1: #24183f; --wa: #c8b2ff; }
.mzl .mzl-world[data-world="worldcup"] { --w1: #3b1426; --wa: #ff9eb0; }
.mzl .mzl-world[data-world="home"] { --w1: #382313; --wa: #f5c47d; }
.mzl .mzl-world[data-world="saju"] { --w1: #221d33; --wa: #ead08f; }
.mzl .mzl-world[data-world="other"] { --w1: #1b2042; --wa: #c6c8d6; }
.mzl .mzl-world-empty { background: #12162c; }
.mzl .mzl-world-word {
  position: absolute; z-index: -1; right: -0.04em; top: calc(var(--mzl-sk) + 36px); pointer-events: none; user-select: none;
  font-size: 230px; font-weight: 900; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.09);
}
.mzl .mzl-world-grid { position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 52px; align-items: start; }
.mzl .mzl-world-side { display: grid; gap: 14px; align-content: start; }
.mzl .mzl-world-side .mzl-h2 { font-size: clamp(30px, 3.2vw, 44px); }
.mzl .mzl-world-side .mzl-desc { font-size: 15.5px; }
.mzl .mzl-wtabs { display: grid; gap: 8px; margin-top: 18px; }
.mzl .mzl-wtab { --tc: #8fdcae; position: relative; isolation: isolate; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; column-gap: 12px; row-gap: 1px; min-height: 68px; padding: 10px 24px 10px 14px; border: 0; background: none; color: var(--mzl-fg-2); text-align: left; transition: color 0.3s, transform 0.3s; }
.mzl .mzl-wtab.w-tarot { --tc: #c8b2ff; }
.mzl .mzl-wtab.w-worldcup { --tc: #ff9eb0; }
.mzl .mzl-wtab.w-home { --tc: #f5c47d; }
.mzl .mzl-wtab.w-saju { --tc: #ead08f; }
.mzl .mzl-wtab.w-other { --tc: #c6c8d6; }
.mzl .mzl-wtab::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, 0.05); clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); transition: background 0.3s; }
.mzl .mzl-wtab:hover { color: #fff; }
.mzl .mzl-wtab:hover::before { background: rgba(255, 255, 255, 0.09); }
.mzl .mzl-wtab-glyph { grid-row: 1 / span 2; width: 34px; height: 34px; display: grid; place-items: center; font-size: 17px; font-weight: 700; line-height: 1; color: var(--tc); border: 1px solid color-mix(in srgb, var(--tc) 45%, transparent); }
.mzl .mzl-wtab-name { font-size: 17px; font-weight: 850; letter-spacing: -0.02em; line-height: 1.3; }
.mzl .mzl-wtab-tag { grid-column: 2; font-size: 13px; font-weight: 600; color: var(--mzl-fg-3); line-height: 1.35; }
.mzl .mzl-wtab-dot { grid-column: 3; grid-row: 1 / span 2; width: 9px; height: 9px; border-radius: 50%; background: #8b90a6; }
.mzl .mzl-wtab-dot.on { background: var(--mzl-mint); box-shadow: 0 0 0 4px rgba(90, 216, 156, 0.16); }
.mzl .mzl-wtab-dot.locked { background: #e0b75c; }
.mzl .mzl-wtab[aria-selected="true"] { color: #fff; transform: translateX(10px); }
.mzl .mzl-wtab[aria-selected="true"]::before { background: linear-gradient(90deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.06)); }
.mzl .mzl-wtab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--tc); }
.mzl .mzl-wtab[aria-selected="true"] .mzl-wtab-glyph { background: var(--tc); color: #14131b; border-color: var(--tc); }
.mzl .mzl-wtab[aria-selected="true"] .mzl-wtab-tag { color: var(--mzl-fg-2); }
.mzl .mzl-wtab-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--tc); transform-origin: left; transform: scaleX(0); opacity: 0.9; }
html[data-mizi-motion="running"] .mzl .mzl-wtab-progress { animation: mzl-progress 6.5s linear forwards; }
.mzl .mzl-world-motion { margin-top: 8px; }
.mzl .mzl-wpanels { display: grid; }
.mzl .mzl-wpanel { grid-area: 1 / 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 336px; column-gap: 26px; align-items: start; transition: opacity 0.45s ease 0.1s, transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s, visibility 0s; }
.mzl .mzl-wpanel[data-active="false"] { opacity: 0; visibility: hidden; transform: translateX(24px); pointer-events: none; transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s; }
.mzl .mzl-wshot { min-width: 0; margin-top: 8px; }
.mzl .mzl-wnote { margin-top: 18px; font-size: 13px; line-height: 1.6; color: var(--mzl-fg-3); }
.mzl .mzl-winfo { position: relative; isolation: isolate; margin-top: 44px; padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 10px; }
.mzl .mzl-winfo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--wa), transparent) top / 100% 3px no-repeat, linear-gradient(160deg, rgba(14, 17, 34, 0.95), rgba(6, 8, 16, 0.95)); clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px); }
.mzl .mzl-winfo-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.mzl .mzl-wtag { font-size: 13px; font-weight: 800; color: #12130f; background: var(--wa); padding: 3px 13px 3px 10px; clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.mzl .mzl-winfo h3 { font-size: 32px; font-weight: 900; letter-spacing: -0.035em; line-height: 1.2; margin-top: 4px; }
.mzl .mzl-wtitle { font-size: 17px; font-weight: 800; color: var(--wa); line-height: 1.45; }
.mzl .mzl-wdoes { font-size: 15px; color: var(--mzl-fg-2); line-height: 1.72; }
.mzl .mzl-wask { margin-top: 4px; padding: 12px 14px; background: rgba(255, 255, 255, 0.06); border-left: 3px solid var(--wa); }
.mzl .mzl-wask span { display: block; font-size: 12.5px; font-weight: 700; color: var(--mzl-fg-3); }
.mzl .mzl-wask p { font-size: 16px; font-weight: 800; color: #fff; line-height: 1.5; }
.mzl .mzl-wpromise { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.65; color: var(--mzl-fg-3); }
.mzl .mzl-wpromise svg { flex: none; margin-top: 3px; color: var(--wa); }
.mzl .mzl-wenter { margin-top: 8px; justify-content: space-between; }

/* 앱 화면 그림 — 창 */
.mzl .mzl-window { position: relative; overflow: hidden; background: #0f1226; clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); }
.mzl .mzl-window-top { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 16px 0 22px; background: #171b36; border-bottom: 1px solid var(--mzl-line); }
.mzl .mzl-window-dots { display: inline-flex; gap: 6px; flex: none; }
.mzl .mzl-window-dots i { width: 9px; height: 9px; background: #3a4170; transform: rotate(45deg); }
.mzl .mzl-window-url { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; max-width: 300px; height: 26px; margin: 0 auto; padding: 0 12px; background: #0c0f22; border: 1px solid var(--mzl-line); color: var(--mzl-fg-3); font-size: 12px; font-family: var(--mzl-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mzl .mzl-window-top::after { content: ""; width: 42px; flex: none; }
.mzl .mzl-screen { position: relative; height: 440px; overflow: hidden; isolation: isolate; }
.mzl .mzl-screen-poker { background: radial-gradient(120% 90% at 50% 20%, #2c5f43 0%, #1d4331 58%, #15301f 100%); }
.mzl .mzl-felt { position: absolute; left: 9%; right: 9%; top: 36px; height: 196px; border-radius: 999px; background: radial-gradient(70% 80% at 50% 40%, #3b8a5b, #2a6645 72%, #235a3c); box-shadow: inset 0 0 0 2px #ffffff14, inset 0 10px 30px #00000026, 0 0 0 9px #3d2b1e, 0 0 0 10px #5a4230, 0 22px 40px #00000055; }
.mzl .mzl-board { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -38%); display: flex; gap: 7px; }
.mzl .mzl-slot { width: 36px; height: 50px; border-radius: 6px; border: 1.5px dashed #ffffff40; background: #ffffff08; }
.mzl .mzl-pot { position: absolute; left: 50%; top: 26px; transform: translateX(-50%); display: flex; gap: 3px; }
.mzl .mzl-pot i { width: 18px; height: 18px; border-radius: 50%; background: #e4c98d; border: 3px dashed #a8874b; box-shadow: 0 2px 0 #00000033; }
.mzl .mzl-pot i:nth-child(2) { background: #d8685a; border-color: #fff4; transform: translateY(-3px); }
.mzl .mzl-seat { position: absolute; top: -22px; width: 40px; height: 40px; border-radius: 50%; background: #1a3a28; border: 2px solid #ffffff2e; display: grid; place-items: center; }
.mzl .mzl-seat i { width: 16px; height: 16px; border-radius: 5px; background: #ffffff38; }
.mzl .mzl-seat.seat-left { left: 20%; }
.mzl .mzl-seat.seat-right { right: 20%; }
.mzl .mzl-dealer { position: absolute; right: 23%; bottom: 30px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fbfaf4; color: #1f2a22; font-size: 11px; font-weight: 800; line-height: 1; box-shadow: 0 2px 0 #0000004d; }
.mzl .mzl-hand { position: absolute; left: 40%; top: 188px; transform: translateX(-50%); display: flex; gap: 6px; }
.mzl .mzl-card { position: relative; display: block; width: 54px; height: 76px; border-radius: 8px; background: #fbfaf4; color: #1f2a22; box-shadow: 0 1px 0 #fff inset, 0 10px 20px #00000059; font-family: ui-serif, Georgia, serif; }
.mzl .mzl-card:first-child { transform: rotate(-7deg) translateY(2px); }
.mzl .mzl-card:last-child { transform: rotate(6deg); }
.mzl .mzl-card b { position: absolute; top: 6px; left: 8px; font-size: 17px; line-height: 1; }
.mzl .mzl-card > span { position: absolute; inset: 20px 0 0; display: grid; place-items: center; font-size: 30px; }
.mzl .mzl-card.red { color: #c0453b; }
.mzl .mzl-actions { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 7px; }
.mzl .mzl-actions span { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 10px; background: #ffffff17; border: 1px solid #ffffff21; color: #e7efe8; font-size: 12.5px; font-weight: 650; }
.mzl .mzl-actions .lead { background: #e4c98d; border-color: #e4c98d; color: #2a2317; }
.mzl .mzl-screen-tarot { background: radial-gradient(90% 75% at 50% 15%, #4b3b70 0%, #2b2147 58%, #1b142e 100%); }
.mzl .mzl-moon { position: absolute; top: 28px; right: 13%; width: 30px; height: 30px; border-radius: 50%; box-shadow: -8px 4px 0 0 #e4c98d; transform: rotate(-20deg); opacity: 0.85; }
.mzl .mzl-star { position: absolute; color: #e4c98d; opacity: 0.7; }
html[data-mizi-motion="running"] .mzl .mzl-star { animation: mzl-glint 4s ease-in-out infinite; }
html[data-mizi-motion="running"] .mzl .mzl-star.star-two { animation-delay: 1.2s; }
html[data-mizi-motion="running"] .mzl .mzl-star.star-three { animation-delay: 2s; }
.mzl .mzl-star.star-one { top: 42px; left: 14%; font-size: 14px; }
.mzl .mzl-star.star-two { top: 120px; left: 8%; font-size: 11px; }
.mzl .mzl-star.star-three { top: 96px; right: 9%; font-size: 12px; }
.mzl .mzl-spread { position: absolute; left: 50%; top: 62px; transform: translateX(-50%); display: flex; gap: 18px; }
.mzl .mzl-tcard { position: relative; width: 72px; height: 116px; border-radius: 9px; border: 2px solid #e4c98d99; background: radial-gradient(circle at 50% 50%, #e4c98d33 0 14px, transparent 15px), repeating-linear-gradient(45deg, #ffffff0a 0 6px, transparent 6px 12px), linear-gradient(160deg, #6a55a0, #3d2e66); box-shadow: 0 0 0 5px #e4c98d1f, 0 0 30px #e4c98d40, 0 14px 28px #00000073; }
.mzl .mzl-tcard:nth-child(2) { transform: translateY(-10px); }
.mzl .mzl-tcard em { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #e4c98d; color: #2a2148; font-size: 11px; font-weight: 800; font-style: normal; line-height: 1; }
.mzl .mzl-deck { position: absolute; left: 50%; bottom: -44px; width: 0; height: 0; }
.mzl .mzl-deck span { position: absolute; left: -22px; bottom: 0; width: 44px; height: 72px; border-radius: 6px; border: 1.5px solid #e4c98d66; background: linear-gradient(160deg, #54438a, #2f2452); transform-origin: 50% 180%; transform: rotate(calc(var(--i) * 8deg)); box-shadow: 0 6px 14px #0000004d; }
.mzl .mzl-screen-worldcup { background: linear-gradient(180deg, #fbefee 0%, #f4dddd 100%); }
.mzl .mzl-cup-round { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 6px 14px; border-radius: 999px; background: #fff; color: #9c2f45; font-size: 12.5px; font-weight: 750; box-shadow: 0 2px 8px #9c2f4514; }
.mzl .mzl-cup-pair { position: absolute; top: 76px; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 14px; }
.mzl .mzl-cup-option { display: grid; place-items: center; align-content: center; gap: 10px; width: 132px; height: 152px; border-radius: 18px; background: #fff; border: 2px solid transparent; box-shadow: 0 10px 24px #9c2f451a; }
.mzl .mzl-cup-option b { font-size: 46px; line-height: 1; }
.mzl .mzl-cup-option em { font-style: normal; font-size: 14px; font-weight: 750; color: #3a0f1a; }
.mzl .mzl-cup-option.picked { border-color: #e8657a; transform: translateY(-6px) rotate(1.5deg); box-shadow: 0 0 0 6px #e8657a26, 0 16px 30px #9c2f452e; }
.mzl .mzl-vs { font-size: 13px; font-weight: 850; letter-spacing: 1px; color: #c2415a; }
.mzl .mzl-cup-steps { position: absolute; left: 22px; bottom: 26px; display: flex; gap: 6px; }
.mzl .mzl-cup-steps i { width: 22px; height: 6px; border-radius: 3px; background: #e8657a33; }
.mzl .mzl-cup-steps i.done { background: #e8657a99; }
.mzl .mzl-cup-steps i.on { background: #c2415a; }
/* 집 — 마주 앉은 방(도크 없음) */
.mzl .mzl-screen-home { background: linear-gradient(180deg, #3a2618 0%, #4a321f 62%, #2c1d12 100%); }
.mzl .mzl-hm-window { position: absolute; left: 8%; top: 30px; width: 112px; height: 132px; background: linear-gradient(180deg, #1c2550, #2d3a73); border: 6px solid #6b4a2c; box-shadow: inset 0 0 0 2px #00000033; }
.mzl .mzl-hm-window::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 5px; margin-left: -2.5px; background: #6b4a2c; }
.mzl .mzl-hm-window::after { content: ""; position: absolute; right: 18px; top: 18px; width: 20px; height: 20px; border-radius: 50%; box-shadow: -6px 3px 0 0 #f2d79a; }
.mzl .mzl-hm-lamp { position: absolute; right: 14%; top: 0; width: 2px; height: 70px; background: #8a6a45; }
.mzl .mzl-hm-lamp::after { content: ""; position: absolute; left: -22px; top: 68px; width: 46px; height: 26px; background: #f2c879; clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); box-shadow: 0 0 60px 30px #f2c87955; }
.mzl .mzl-hm-glow { position: absolute; right: 2%; top: 60px; width: 260px; height: 260px; background: radial-gradient(circle, #f2c87933, transparent 65%); }
.mzl .mzl-hm-talk { position: absolute; left: 36%; top: 48px; display: grid; gap: 10px; width: 44%; }
.mzl .mzl-hm-talk i { display: block; height: 30px; background: #ffffff1c; border: 1px solid #ffffff22; clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.mzl .mzl-hm-talk i:nth-child(1) { width: 70%; }
.mzl .mzl-hm-talk i:nth-child(2) { width: 58%; justify-self: end; background: #f2c87944; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.mzl .mzl-hm-talk i:nth-child(3) { width: 84%; }
.mzl .mzl-hm-face { position: absolute; left: 50%; bottom: 70px; transform: translateX(-50%); line-height: 0; }
html[data-mizi-motion="running"] .mzl .mzl-hm-face { animation: mzl-bob 3.6s ease-in-out infinite; }
.mzl .mzl-hm-table { position: absolute; left: 50%; bottom: 40px; width: 240px; height: 28px; margin-left: -120px; background: #8a5a33; box-shadow: 0 8px 0 #5a3a20, 0 30px 40px #00000066; clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); }
.mzl .mzl-hm-cup { position: absolute; left: 50%; bottom: 68px; width: 22px; height: 18px; margin-left: -92px; background: #efe6d4; border-radius: 0 0 6px 6px; }
.mzl .mzl-hm-cup.two { margin-left: 70px; background: #d98a6a; }
/* 사주 — 원국 네 기둥 */
.mzl .mzl-screen-saju { background: radial-gradient(90% 80% at 50% 10%, #f6eed9, #e9dbb8 70%, #dcc897); }
.mzl .mzl-sj { position: absolute; left: 0; right: 0; top: 30px; display: flex; justify-content: center; gap: 12px; }
.mzl .mzl-sj-col { display: grid; gap: 8px; justify-items: center; }
.mzl .mzl-sj-col small { font-size: 12px; font-weight: 800; color: #6e5730; }
.mzl .mzl-sj-cell { width: 60px; height: 68px; display: grid; place-items: center; border: 1.5px dashed #b49a62; background: #fffaf0aa; font: 700 30px/1 ui-serif, "Songti SC", "Noto Serif KR", serif; color: #3a2a10; }
.mzl .mzl-sj-col.on .mzl-sj-cell { border-style: solid; border-color: #9c7a3a; background: #fffdf6; box-shadow: 0 6px 14px #6b4e1a33; }
.mzl .mzl-sj-read { position: absolute; left: 50%; top: 236px; width: 300px; margin-left: -150px; display: grid; gap: 10px; }
.mzl .mzl-sj-read i { display: block; height: 8px; background: #b49a6255; }
.mzl .mzl-sj-read i:nth-child(1) { width: 40%; height: 10px; background: #9c7a3a88; margin-bottom: 4px; }
.mzl .mzl-sj-read i:nth-child(3) { width: 86%; }
.mzl .mzl-sj-read i:nth-child(4) { width: 64%; }
.mzl .mzl-screen-other { background: linear-gradient(180deg, #232a52, #161b36); }
.mzl .mzl-other { position: absolute; left: 12%; right: 12%; top: 60px; display: grid; gap: 14px; }
.mzl .mzl-other span { height: 18px; background: #ffffff1a; }
.mzl .mzl-other span:nth-child(2) { width: 70%; }
.mzl .mzl-other span:nth-child(3) { width: 84%; }
/* 앱 구석의 도크 — 모양은 앱의 것 */
.mzl .mzl-dock { position: absolute; right: 16px; bottom: 14px; z-index: 4; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; max-width: min(268px, 72%); }
.mzl .mzl-dock-bubble { margin: 0; padding: 11px 15px 12px; border-radius: 16px 16px 4px 16px; background: linear-gradient(163deg, #ffffff30 0%, #ffffff12 26%, #ffffff00 56%), #241c40; border: 1px solid #e4c98d3d; box-shadow: 0 12px 28px #05030f8c, inset 0 1px 0 #ffffff33; color: #f0e9f7; font-size: 14px; line-height: 1.6; }
.mzl .mzl-dock-when { display: block; margin-bottom: 3px; font-size: 11.5px; font-weight: 600; color: #cdc5ea; }
.mzl .mzl-dock-row { display: flex; align-items: center; }
.mzl .mzl-dock-face { line-height: 0; margin-right: 6px; filter: drop-shadow(0 6px 12px #00000073); }
html[data-mizi-motion="running"] .mzl .mzl-dock-face { animation: mzl-bob 3.6s ease-in-out infinite; }
.mzl .mzl-dock-pill { display: flex; align-items: center; border-radius: 999px; overflow: hidden; background: linear-gradient(163deg, #ffffff3d 0%, #ffffff17 26%, #ffffff00 56%), #2a2148ed; border: 1px solid #e4c98d3d; box-shadow: 0 8px 24px #05030f8c, inset 0 1px 0 #ffffff26; color: #e0d5bd; }
.mzl .mzl-dock-pill svg { box-sizing: content-box; padding: 11px 13px; }
.mzl .mzl-dock-pill svg + svg { box-shadow: inset 1px 0 0 #ffffff1a; }
html[data-mizi-motion="running"] .mzl .mzl-wpanel[data-active="true"] .mzl-dock-bubble { animation: mzl-pop 0.45s 0.35s cubic-bezier(0.2, 0.65, 0.3, 1) both; }

@media (max-width: 1199px) {
  .mzl .mzl-world-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .mzl .mzl-world-side { gap: 10px; }
  .mzl .mzl-world-word { font-size: 120px; top: calc(var(--mzl-sk) + 24px); }
  .mzl .mzl-wtabs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
  .mzl .mzl-wtab { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; row-gap: 7px; min-height: 88px; padding: 12px 4px 10px; }
  .mzl .mzl-wtab::before { clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
  .mzl .mzl-wtab-glyph { grid-row: auto; width: 32px; height: 32px; font-size: 16px; }
  .mzl .mzl-wtab-name { font-size: 13px; line-height: 1.25; font-weight: 800; }
  .mzl .mzl-wtab-tag { display: none; }
  .mzl .mzl-wtab-dot { position: absolute; top: 8px; right: 8px; }
  .mzl .mzl-wtab[aria-selected="true"] { transform: none; }
  .mzl .mzl-wtab[aria-selected="true"]::after { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 3px; }
  .mzl .mzl-world-motion { justify-self: end; margin-top: 2px; }
  .mzl .mzl-wpanel { grid-template-columns: minmax(0, 1fr) 320px; column-gap: 22px; }
  .mzl .mzl-winfo { margin-top: 8px; }
}
@media (max-width: 899px) {
  .mzl .mzl-wpanel { grid-template-columns: minmax(0, 1fr); }
  .mzl .mzl-wnote { margin-top: 14px; font-size: 12.5px; }
  .mzl .mzl-winfo { margin-top: 14px; padding: 22px 20px; }
  .mzl .mzl-winfo h3 { font-size: 27px; }
  .mzl .mzl-wenter { min-height: 54px; }
  .mzl .mzl-window-dots, .mzl .mzl-window-top::after { display: none; }
  .mzl .mzl-window-top { padding: 0 14px; }
  .mzl .mzl-screen { height: 304px; }
  .mzl .mzl-felt { left: 5%; right: 5%; top: 28px; height: 144px; }
  .mzl .mzl-board { transform: translate(-50%, -62%); }
  .mzl .mzl-dealer { bottom: 18px; right: 16%; }
  .mzl .mzl-slot { width: 30px; height: 42px; }
  .mzl .mzl-hand { left: 50%; top: 116px; }
  .mzl .mzl-card { width: 46px; height: 66px; }
  .mzl .mzl-card > span { font-size: 26px; }
  .mzl .mzl-actions span:not(.lead) { display: none; }
  .mzl .mzl-spread { gap: 12px; top: 52px; }
  .mzl .mzl-tcard { width: 62px; height: 100px; }
  .mzl .mzl-cup-option { width: 112px; height: 132px; }
  .mzl .mzl-cup-option b { font-size: 40px; }
  .mzl .mzl-cup-pair { top: 70px; gap: 10px; }
  .mzl .mzl-dock { right: 12px; bottom: 12px; max-width: 80%; }
  .mzl .mzl-dock-bubble { font-size: 13.5px; padding: 10px 13px 11px; }
  .mzl .mzl-dock-pill svg { padding: 10px 11px; }
  .mzl .mzl-hm-window { width: 78px; height: 96px; left: 6%; top: 24px; }
  .mzl .mzl-hm-talk { left: 38%; width: 54%; top: 26px; gap: 8px; }
  .mzl .mzl-hm-talk i { height: 24px; }
  .mzl .mzl-hm-face { bottom: 58px; }
  .mzl .mzl-hm-face svg { width: 56px; height: auto; }
  .mzl .mzl-hm-table { width: 200px; margin-left: -100px; bottom: 30px; }
  .mzl .mzl-hm-cup { bottom: 58px; margin-left: -80px; }
  .mzl .mzl-hm-cup.two { margin-left: 58px; }
  .mzl .mzl-sj { gap: 8px; top: 24px; }
  .mzl .mzl-sj-cell { width: 50px; height: 56px; font-size: 25px; }
  .mzl .mzl-sj-read { top: 186px; width: 230px; margin-left: -115px; gap: 8px; }
}
@media (max-width: 380px) {
  .mzl .mzl-wtab-name { font-size: 12px; }
}

/* ── 4. 미지들 — 캐릭터 고르기 ──────────────────────── */
.mzl .mzl-cast { background: radial-gradient(50% 60% at 20% 50%, rgba(255, 108, 80, 0.1), transparent 70%), linear-gradient(180deg, #0c0e1f, #121533); }
.mzl .mzl-cast-bg { position: absolute; z-index: -2; inset: -10%; width: 120%; height: 120%; max-width: none; object-fit: cover; filter: blur(46px) saturate(1.3); opacity: 0.26; pointer-events: none; }
.mzl .mzl-cast::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(12, 14, 31, 0.3), rgba(12, 14, 31, 0.86) 55%, rgba(12, 14, 31, 0.95)); }
.mzl .mzl-cast-empty { text-align: center; }
.mzl .mzl-cast-grid {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
  grid-template-areas: "stage head" "stage roster" "stage actions";
  grid-template-rows: auto auto 1fr; column-gap: 80px; row-gap: 26px; align-items: start;
}
.mzl .mzl-cast-head { grid-area: head; display: grid; gap: 12px; justify-items: start; padding-top: 30px; }
.mzl .mzl-cstage { grid-area: stage; display: grid; }
.mzl .mzl-cpanel { grid-area: 1 / 1; min-width: 0; transition: opacity 0.4s, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.mzl .mzl-cpanel[data-active="false"] { opacity: 0; visibility: hidden; transform: translateX(-16px); transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s; }
.mzl .mzl-cframe { position: relative; display: grid; place-items: center; height: 620px; overflow: hidden; background: var(--mzl-ink-3); clip-path: polygon(0 0, calc(100% - 52px) 0, 100% 52px, 100% 100%, 52px 100%, 0 calc(100% - 52px)); }
.mzl .mzl-cframe.mz-pic > .mz-photo { object-position: 50% 32%; }
.mzl .mzl-cframe.mz-pic > .mz-photo.ta { object-position: 50% 16%; }
.mzl .mzl-cframe::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(8, 9, 20, 0.62)); pointer-events: none; }
.mzl .mzl-dialog { position: relative; z-index: 4; isolation: isolate; margin: -176px -28px 0 28px; padding: 30px 28px 22px; min-height: 176px; }
.mzl .mzl-dialog::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(236, 203, 136, 0.75), rgba(236, 203, 136, 0.15)) top / 100% 1.5px no-repeat, linear-gradient(180deg, rgba(16, 19, 42, 0.96), rgba(9, 11, 25, 0.98)); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%); }
.mzl .mzl-dialog::after { content: ""; position: absolute; inset: 6px; z-index: -1; pointer-events: none; border: 1px solid rgba(236, 203, 136, 0.12); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); }
.mzl .mzl-dialog-name { position: absolute; top: 1px; left: 22px; transform: translateY(-100%); display: inline-flex; padding: 8px 24px 7px 16px; background: var(--mzl-coral); color: var(--mzl-coral-ink); clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.mzl .mzl-dialog-name b { font-size: 20px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.2; }
.mzl .mzl-dialog-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.mzl .mzl-dialog-tags span { font-size: 12.5px; font-weight: 750; color: var(--mzl-gold); padding: 2px 10px; border: 1px solid rgba(236, 203, 136, 0.42); }
.mzl .mzl-dialog-line { font-size: 18px; font-weight: 650; line-height: 1.7; color: #fff; }
.mzl .mzl-dialog-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 6px; font-size: 14.5px; font-weight: 750; color: var(--mzl-gold); }
.mzl .mzl-dialog-more:hover { color: #fff; }
.mzl .mzl-dialog-next { position: absolute; right: 30px; bottom: 18px; color: var(--mzl-gold); font-size: 13px; }
html[data-mizi-motion="running"] .mzl .mzl-dialog-next { animation: mzl-blink 1.1s steps(2, jump-none) infinite; }
.mzl .mzl-roster { grid-area: roster; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mzl .mzl-rbtn { position: relative; isolation: isolate; display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; column-gap: 14px; min-height: 84px; padding: 10px 14px 10px 10px; border: 0; background: none; color: var(--mzl-fg-2); text-align: left; transition: color 0.25s; }
.mzl .mzl-rbtn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, 0.05); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); transition: background 0.25s; }
.mzl .mzl-rbtn:hover { color: #fff; }
.mzl .mzl-rbtn:hover::before { background: rgba(255, 255, 255, 0.1); }
.mzl .mzl-rbtn-face { grid-row: 1 / span 2; width: 64px; height: 64px; display: grid; place-items: center; overflow: hidden; background: var(--mzl-ink-3); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); filter: saturate(0.75) brightness(0.85); transition: filter 0.25s; }
.mzl .mzl-rbtn-face > .mz-face-pic { width: 100%; height: 100%; object-fit: cover; }
.mzl .mzl-rbtn-face > svg { width: 70%; height: auto; }
.mzl .mzl-rbtn-name { align-self: end; font-size: 17px; font-weight: 850; line-height: 1.25; }
.mzl .mzl-rbtn-tag { align-self: start; font-size: 12.5px; color: var(--mzl-fg-3); margin-top: 3px; }
.mzl .mzl-rbtn[aria-selected="true"] { color: #fff; }
.mzl .mzl-rbtn[aria-selected="true"]::before { background: linear-gradient(120deg, rgba(255, 108, 80, 0.32), rgba(255, 108, 80, 0.08)); }
.mzl .mzl-rbtn[aria-selected="true"]::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--mzl-coral); }
.mzl .mzl-rbtn[aria-selected="true"] .mzl-rbtn-face { filter: none; }
.mzl .mzl-rbtn[aria-selected="true"] .mzl-rbtn-tag { color: var(--mzl-coral-2); }
.mzl .mzl-cast-actions { grid-area: actions; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
@media (min-width: 900px) and (max-width: 1199px) {
  .mzl .mzl-cast-grid { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); column-gap: 44px; }
  .mzl .mzl-cframe { height: 540px; }
  .mzl .mzl-roster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .mzl .mzl-cast-bg { display: none; }
  .mzl .mzl-cast-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage" "roster" "actions"; grid-template-rows: auto; row-gap: 0; }
  .mzl .mzl-cast-head { padding-top: 0; margin-bottom: 26px; gap: 10px; }
  .mzl .mzl-cframe { height: 410px; clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px)); }
  .mzl .mzl-dialog { margin: -116px 8px 0; padding: 26px 18px 14px; min-height: 0; }
  .mzl .mzl-dialog-name { left: 12px; padding: 6px 20px 5px 12px; }
  .mzl .mzl-dialog-name b { font-size: 17px; }
  .mzl .mzl-dialog-tags { margin-bottom: 8px; }
  .mzl .mzl-dialog-line { font-size: 15.5px; line-height: 1.68; }
  .mzl .mzl-dialog-next { right: 18px; bottom: 14px; }
  .mzl .mzl-roster { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 20px; }
  .mzl .mzl-rbtn { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; justify-items: center; row-gap: 6px; min-height: 0; padding: 6px 2px 9px; text-align: center; }
  .mzl .mzl-rbtn::before { clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)); }
  .mzl .mzl-rbtn-face { grid-row: auto; width: 100%; max-width: 52px; height: auto; aspect-ratio: 1; }
  .mzl .mzl-rbtn-name { align-self: auto; font-size: 13px; }
  .mzl .mzl-rbtn-tag { display: none; }
  .mzl .mzl-rbtn[aria-selected="true"]::after { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 3px; }
  .mzl .mzl-cast-actions { margin-top: 22px; }
  .mzl .mzl-cast-actions .mzl-btn { flex: 1 1 100%; }
  .mzl .mzl-cast-actions .mzl-text-link { flex: 1 1 100%; justify-content: center; }
}

/* ── 5. 이렇게 함께해요 — 이정표 길 + 약속 판 ─────────────── */
.mzl .mzl-how { background: radial-gradient(40% 50% at 90% 10%, rgba(236, 203, 136, 0.08), transparent 70%), linear-gradient(180deg, #0b0e1f, #10142e); }
.mzl .mzl-how .mzl-head { margin-bottom: 56px; }
.mzl .mzl-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.mzl .mzl-steps::before { content: ""; position: absolute; left: 30px; right: 30px; top: 29px; border-top: 2px dashed rgba(236, 203, 136, 0.32); }
.mzl .mzl-step { position: relative; display: grid; gap: 14px; align-content: start; }
.mzl .mzl-step-no { position: relative; isolation: isolate; width: 60px; height: 60px; display: grid; place-items: center; font-family: var(--mzl-mono); font-size: 17px; font-weight: 800; color: #17140c; }
.mzl .mzl-step-no::before { content: ""; position: absolute; inset: 9px; z-index: -1; background: var(--mzl-gold); transform: rotate(45deg); box-shadow: 0 0 0 6px rgba(236, 203, 136, 0.14), 0 0 0 7px #0d1126; }
.mzl .mzl-step:nth-child(3) .mzl-step-no::before { background: var(--mzl-coral); box-shadow: 0 0 0 6px rgba(255, 108, 80, 0.16), 0 0 0 7px #0d1126; }
.mzl .mzl-step-art { height: 78px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.mzl .mzl-step h3 { font-size: 22px; font-weight: 900; letter-spacing: -0.03em; }
.mzl .mzl-step p { font-size: 15.5px; line-height: 1.72; color: var(--mzl-fg-2); }
.mzl .mzl-chip { --tc: #2f6a49; font-size: 13px; font-weight: 800; padding: 5px 13px 5px 10px; color: #fff; background: var(--tc); clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.mzl .mzl-chip.w-tarot { --tc: #5f4c8c; }
.mzl .mzl-chip.w-worldcup { --tc: #a23a55; }
.mzl .mzl-chip.w-home { --tc: #8a5a2b; }
.mzl .mzl-chip.w-saju { --tc: #6b5a2e; }
.mzl .mzl-chip.w-other { --tc: #3a4170; }
.mzl .mzl-mini-screen { position: relative; width: 120px; height: 72px; background: #1b2140; border: 1px solid var(--mzl-line-2); }
.mzl .mzl-mini-screen i { position: absolute; left: 12px; height: 6px; background: #ffffff33; }
.mzl .mzl-mini-screen i:nth-child(1) { top: 14px; width: 60px; }
.mzl .mzl-mini-screen i:nth-child(2) { top: 28px; width: 84px; }
.mzl .mzl-mini-screen i:nth-child(3) { top: 42px; width: 40px; }
.mzl .mzl-mini-bubble { position: relative; z-index: 1; margin: 34px 0 0 -26px; padding: 8px 12px; background: #241c40; border: 1px solid #e4c98d55; border-radius: 12px 12px 3px 12px; display: grid; gap: 5px; }
.mzl .mzl-mini-bubble i { display: block; height: 5px; width: 54px; background: #e4c98d88; }
.mzl .mzl-mini-bubble i:nth-child(2) { width: 38px; }
.mzl .mzl-rules { position: relative; isolation: isolate; margin-top: 76px; padding: 36px 40px 38px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; color: var(--mzl-paper-ink); }
.mzl .mzl-rules::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 120% at 0% 0%, #fbf7ee, transparent 60%), var(--mzl-paper); clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px); }
.mzl .mzl-rules h3 { font-size: 24px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.3; margin-top: 6px; }
.mzl .mzl-rules ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.mzl .mzl-rules li { display: grid; gap: 12px; align-content: start; }
.mzl .mzl-seal { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff4ec; background: radial-gradient(circle at 35% 30%, #d4553d, #a8362a 70%); box-shadow: 0 0 0 3px var(--mzl-paper), 0 0 0 5px rgba(168, 54, 42, 0.35); }
.mzl .mzl-rules p { font-size: 14.5px; line-height: 1.65; color: var(--mzl-paper-mute); }
.mzl .mzl-rules strong { display: block; margin-bottom: 2px; font-size: 16px; font-weight: 850; color: var(--mzl-paper-ink); }
@media (max-width: 1199px) {
  .mzl .mzl-rules { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .mzl .mzl-rules ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
}
@media (max-width: 899px) {
  .mzl .mzl-how .mzl-head { margin-bottom: 30px; }
  .mzl .mzl-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .mzl .mzl-steps::before { left: 29px; right: auto; top: 30px; bottom: 30px; border-top: 0; border-left: 2px dashed rgba(236, 203, 136, 0.32); }
  .mzl .mzl-step { grid-template-columns: 60px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; padding: 0 0 26px; }
  .mzl .mzl-step:last-child { padding-bottom: 0; }
  .mzl .mzl-step-no { grid-row: 1 / span 3; }
  .mzl .mzl-step-art, .mzl .mzl-step h3, .mzl .mzl-step p { grid-column: 2; }
  .mzl .mzl-step-art { height: auto; order: 3; margin-top: 4px; }
  .mzl .mzl-step h3 { font-size: 19px; padding-top: 14px; }
  .mzl .mzl-step p { font-size: 14.5px; }
  .mzl .mzl-faces.large > span { width: 36px; height: 36px; border-radius: 9px; }
  .mzl .mzl-faces.large > span + span { margin-left: -9px; }
  .mzl .mzl-chip { font-size: 12px; padding: 3px 11px 3px 8px; }
  .mzl .mzl-mini-screen { width: 76px; height: 44px; }
  .mzl .mzl-mini-screen i { left: 9px; height: 5px; }
  .mzl .mzl-mini-screen i:nth-child(1) { top: 10px; width: 40px; }
  .mzl .mzl-mini-screen i:nth-child(2) { top: 20px; width: 54px; }
  .mzl .mzl-mini-screen i:nth-child(3) { top: 30px; width: 28px; }
  .mzl .mzl-mini-bubble { margin-top: 18px; padding: 6px 10px; }
  .mzl .mzl-mini-bubble i { width: 40px; height: 4px; }
  .mzl .mzl-mini-bubble i:nth-child(2) { width: 28px; }
  .mzl .mzl-rules { margin-top: 40px; padding: 26px 20px 24px; gap: 14px; }
  .mzl .mzl-rules::before { clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px); }
  .mzl .mzl-rules h3 { font-size: 21px; margin-top: 0; }
  .mzl .mzl-rules ul { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .mzl .mzl-rules li { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 14px 0; border-top: 1px solid rgba(27, 26, 34, 0.12); }
  .mzl .mzl-rules li:first-child { border-top: 0; }
}

/* ── 6. AI에 연결하기 — 콘솔 ─────────────────────────── */
.mzl .mzl-link { background: radial-gradient(40% 60% at 85% 30%, rgba(255, 108, 80, 0.1), transparent 70%), linear-gradient(180deg, #0a0c1a, #0f1229); }
.mzl .mzl-link::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(236, 203, 136, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(236, 203, 136, 0.045) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(70% 80% at 70% 50%, #000, transparent); mask-image: radial-gradient(70% 80% at 70% 50%, #000, transparent); }
.mzl .mzl-link-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.mzl .mzl-link .mzl-h2 em { font-style: normal; color: var(--mzl-coral-2); }
.mzl .mzl-console { position: relative; isolation: isolate; }
.mzl .mzl-console::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(236, 203, 136, 0.36); clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px); }
.mzl .mzl-console::after { content: ""; position: absolute; inset: 1px; z-index: -1; background: #0b0e1f; clip-path: polygon(23.5px 0, 100% 0, 100% calc(100% - 23.5px), calc(100% - 23.5px) 100%, 0 100%, 0 23.5px); }
.mzl .mzl-console-bar { display: flex; align-items: center; justify-content: flex-end; gap: 10px; height: 44px; padding: 0 22px 0 30px; border-bottom: 1px solid rgba(236, 203, 136, 0.18); background: rgba(236, 203, 136, 0.05); }
.mzl .mzl-console-bar i { width: 8px; height: 8px; background: rgba(236, 203, 136, 0.5); transform: rotate(45deg); }
.mzl .mzl-console-body { padding: 28px 30px 26px; display: grid; gap: 18px; }
.mzl .mzl-console-head { display: flex; gap: 14px; align-items: flex-start; }
.mzl .mzl-console-mark { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: var(--mzl-coral); color: #1a0905; --mz-bg: var(--mzl-coral); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.mzl .mzl-console-head h3 { font-size: 19px; font-weight: 850; letter-spacing: -0.02em; }
.mzl .mzl-console-head p { font-size: 14.5px; color: var(--mzl-fg-3); }
.mzl .mzl-console .mizi-mcp-copy { margin: 0; display: grid; gap: 4px; }
.mzl .mzl-console .mizi-mcp-copy-row { display: flex; gap: 10px; }
.mzl .mzl-console .mizi-mcp-address { flex: 1; min-width: 0; min-height: 56px; padding: 0 16px; border-radius: 0; background: #060814; border: 1px solid rgba(236, 203, 136, 0.28); color: #ffe7dc; font: 15px/1.5 var(--mzl-mono) !important; }
.mzl .mzl-console .mizi-copy-button { --c: 12px; position: relative; isolation: isolate; width: auto; flex: none; min-height: 56px; margin: 0; padding: 0 22px; border-radius: 0; background: none; color: var(--mzl-coral-ink); font-size: 15.5px !important; font-weight: 800 !important; }
.mzl .mzl-console .mizi-copy-button::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--mzl-coral), #ff8a5c); clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); }
.mzl .mzl-console .mizi-copy-button:hover { opacity: 1; }
.mzl .mzl-console .mizi-copy-button:hover::before { filter: brightness(1.08); }
.mzl .mzl-console .mizi-copy-status { font-size: 13.5px; color: var(--mzl-fg-3); margin-top: 6px !important; }
.mzl .mzl-address-empty { font-size: 14.5px; color: var(--mzl-fg-3); }
.mzl .mzl-nodes { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 4px; }
.mzl .mzl-nodes::before { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; border-top: 1px dashed rgba(236, 203, 136, 0.5); }
.mzl .mzl-nodes li { position: relative; display: grid; justify-items: start; gap: 10px; padding-right: 12px; font-size: 14.5px; font-weight: 750; color: var(--mzl-fg-2); line-height: 1.45; }
.mzl .mzl-nodes li > span { position: relative; isolation: isolate; width: 44px; height: 44px; display: grid; place-items: center; color: var(--mzl-gold); font-family: var(--mzl-mono); font-weight: 800; font-size: 15px; }
.mzl .mzl-nodes li > span::before { content: ""; position: absolute; inset: 7px; z-index: -1; background: #0b0e1f; border: 1.5px solid var(--mzl-gold); transform: rotate(45deg); }
.mzl .mzl-nodes li:last-child > span { color: #1a0905; }
.mzl .mzl-nodes li:last-child > span::before { background: var(--mzl-coral); border-color: var(--mzl-coral); }
.mzl .mzl-console-foot { justify-self: end; border-top: 1px solid rgba(236, 203, 136, 0.14); padding-top: 4px; width: 100%; justify-content: flex-end; }
@media (max-width: 1099px) {
  .mzl .mzl-link-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .mzl .mzl-console-body { padding: 22px 18px 18px; gap: 16px; }
  .mzl .mzl-console .mizi-mcp-copy-row { flex-direction: column; }
  .mzl .mzl-console .mizi-mcp-address { font-size: 13.5px !important; min-height: 52px; padding: 0 12px; }
  .mzl .mzl-console .mizi-copy-button { min-height: 52px; justify-content: center; }
  .mzl .mzl-nodes li { font-size: 14px; gap: 8px; padding-right: 8px; }
  .mzl .mzl-console-foot { justify-content: flex-start; }
}

/* ── 7. 맺음 — 커다란 문 ─────────────────────────────── */
.mzl .mzl-final { text-align: center; padding-bottom: 140px; background: radial-gradient(50% 70% at 50% 100%, rgba(255, 108, 80, 0.26), transparent 70%), linear-gradient(180deg, #11163a 0%, #0b0e1f 100%); }
.mzl .mzl-gate { position: absolute; z-index: -1; left: 50%; bottom: 0; width: min(760px, 92%); height: calc(100% - var(--mzl-sk) - 40px); transform: translateX(-50%); border: 2px solid rgba(236, 203, 136, 0.32); border-bottom: 0; border-radius: 999px 999px 0 0; background: radial-gradient(60% 46% at 50% 100%, rgba(255, 171, 110, 0.24), transparent 72%); pointer-events: none; }
.mzl .mzl-gate::before { content: ""; position: absolute; inset: 18px 18px 0; border: 1px solid rgba(236, 203, 136, 0.14); border-bottom: 0; border-radius: inherit; }
.mzl .mzl-gate::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 46%; height: 70%; transform: translateX(-50%); background: linear-gradient(0deg, rgba(255, 196, 140, 0.18), transparent); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
.mzl .mzl-final-in { position: relative; display: grid; justify-items: center; gap: 22px; padding-top: 30px; }
.mzl .mzl-final-faces { display: flex; gap: 14px; justify-content: center; margin-bottom: 10px; }
.mzl .mzl-final-faces > span { width: 76px; height: 76px; display: grid; place-items: center; overflow: hidden; transform: rotate(45deg); border: 2px solid var(--mzl-gold); background: var(--mzl-ink-3); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.mzl .mzl-final-faces > span:nth-child(odd) { margin-top: 18px; }
.mzl .mzl-final-faces > span > * { transform: rotate(-45deg) scale(1.42); }
.mzl .mzl-final-faces > span > .mz-face-pic { width: 100%; height: 100%; object-fit: cover; }
.mzl .mzl-final-faces > span > svg { width: 60%; height: auto; transform: rotate(-45deg); }
.mzl .mzl-final h2 { font-size: clamp(32px, 5vw, 64px); font-weight: 900; line-height: 1.15; letter-spacing: -0.04em; }
.mzl .mzl-final-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
@media (max-width: 899px) {
  .mzl .mzl-final { padding-bottom: 90px; }
  .mzl .mzl-gate { width: 112%; }
  .mzl .mzl-final-faces { gap: 8px; }
  .mzl .mzl-final-faces > span { width: 48px; height: 48px; }
  .mzl .mzl-final-faces > span:nth-child(odd) { margin-top: 12px; }
  .mzl .mzl-final h2 { font-size: 32px; }
  .mzl .mzl-final-cta { width: 100%; }
  .mzl .mzl-final-cta .mzl-btn { flex: 1 1 100%; min-height: 56px; }
}

/* ── 발밑(SiteFooter) — 밤 무대 ───────────────────────── */
.mzl .mzl-foot { position: relative; background: var(--mzl-ink-0); border-top: 1px solid var(--mzl-line); }
.mzl .mzl-foot .site-foot { margin: 0; padding: 50px 0 34px; border: 0; color: var(--mzl-fg-3); font-size: 14px; }
.mzl .mzl-foot .site-foot .fbrand b { color: var(--mzl-fg); font-size: 16px; }
.mzl .mzl-foot .site-foot .fbrand p, .mzl .mzl-foot .site-foot .legal p, .mzl .mzl-foot .site-foot .copy { color: var(--mzl-fg-3); }
.mzl .mzl-foot .site-foot h4 { color: var(--mzl-fg-2); }
.mzl .mzl-foot .site-foot nav a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--mzl-fg-2); }
.mzl .mzl-foot .site-foot nav a:hover { color: var(--mzl-gold); }
.mzl .mzl-foot .site-foot nav ul { gap: 0; }
.mzl .mzl-foot .site-foot .legal { border-top-color: var(--mzl-line); }
.mzl .mzl-foot .site-foot .legal strong { color: var(--mzl-fg-2); }
.mzl .mzl-foot .site-foot .legal a { color: var(--mzl-fg-3); }

/* ── 움직임 ──────────────────────────────────────────── */
@keyframes mzl-shine { 0% { background-position: 150% 0; opacity: 0; } 6% { opacity: 1; } 28% { background-position: -50% 0; opacity: 0; } 100% { background-position: -50% 0; opacity: 0; } }
@keyframes mzl-twinkle { from { opacity: 0.25; } to { opacity: 0.9; } }
@keyframes mzl-rise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 0.85; } 80% { opacity: 0.6; } 100% { transform: translateY(-460px); opacity: 0; } }
@keyframes mzl-drift { from { transform: scale(1) translateY(0); } to { transform: scale(1.06) translateY(-10px); } }
@keyframes mzl-beam { 0%, 100% { transform: translateX(-120px) skewX(-24deg); opacity: 0.4; } 50% { transform: translateX(260px) skewX(-24deg); opacity: 1; } }
@keyframes mzl-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes mzl-glint { 0%, 100% { opacity: 0.35; transform: scale(0.85); } 50% { opacity: 0.95; transform: scale(1.1); } }
@keyframes mzl-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes mzl-pop { from { opacity: 0; transform: translateY(8px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes mzl-blink { 50% { opacity: 0.15; } }
html[data-mizi-motion="paused"] .mzl .mzl-mode, html[data-mizi-motion="paused"] .mzl .mzl-mode-img, html[data-mizi-motion="paused"] .mzl .mzl-wtab { transition: none; transform: none; }
/* 강제 색(Windows 고대비) — 외곽선만 그린 큰 장식 낱말은 꽉 찬 글자가 되어 본문을 덮으므로 숨기고, 고른 탭·미지는 테두리로 보인다. */
@media (forced-colors: active) {
  .mzl .mzl-kv-word, .mzl .mzl-world-word, .mzl .mzl-ghost { display: none; }
  .mzl .mzl-wtab[aria-selected="true"], .mzl .mzl-rbtn[aria-selected="true"] { outline: 3px solid Highlight; outline-offset: -3px; }
  .mzl .mzl-btn, .mzl .mzl-mode-cta { border: 2px solid ButtonText; }
}
@media (prefers-reduced-motion: reduce) {
  .mzl .mzl-mode, .mzl .mzl-mode-open, .mzl .mzl-wpanel, .mzl .mzl-cpanel, .mzl .mzl-world { transition: none; }
  .mzl .mzl-mode:hover .mzl-mode-img { transform: none; }
}
