/* 별거 없습니다, 다 해 줍니다 — 발표 화면 스타일
   무대: 1920x1080 고정 캔버스를 창 크기에 맞춰 축소/확대한다. */

@font-face { font-family: "Paperlogy"; src: url(fonts/Paperlogy-4Regular.ttf); font-weight: 400; }
@font-face { font-family: "Paperlogy"; src: url(fonts/Paperlogy-6SemiBold.ttf); font-weight: 600; }
@font-face { font-family: "Paperlogy"; src: url(fonts/Paperlogy-8ExtraBold.ttf); font-weight: 800; }
@font-face { font-family: "Paperlogy"; src: url(fonts/Paperlogy-9Black.ttf); font-weight: 900; }
@font-face { font-family: "Pretendard"; src: url(fonts/Pretendard-Regular.otf); font-weight: 400; }
@font-face { font-family: "Pretendard"; src: url(fonts/Pretendard-SemiBold.otf); font-weight: 600; }
@font-face { font-family: "Pretendard"; src: url(fonts/Pretendard-Bold.otf); font-weight: 700; }
@font-face { font-family: "Pretendard"; src: url(fonts/Pretendard-ExtraBold.otf); font-weight: 800; }

:root {
  --night: #0E1233;      /* 밤무대 남색 */
  --night-2: #171C4A;    /* 패널 */
  --night-3: #222965;    /* 패널 경계, 입력창 */
  --ink: #F4F3FF;        /* 본문 */
  --dim: #A3A8D6;        /* 보조 */
  --faint: #6B71A8;
  --spot: #FFCF3D;       /* 조명 노랑: 말 한마디, 커서 */
  --mint: #4BE3C1;       /* 완료 */
  --pink: #FF6290;       /* 감탄, 미완료 */
  --line: rgba(244, 243, 255, .14);
  --display: "Paperlogy", "Pretendard", "Malgun Gothic", sans-serif;
  --body: "Pretendard", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; background: #070920; overflow: hidden; color: var(--ink); font-family: var(--body); word-break: keep-all; overflow-wrap: break-word; }
body { cursor: default; }
body.hide-cursor { cursor: none; }

#viewport { position: fixed; inset: 0; overflow: hidden; }
#stage {
  position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px;
  background: var(--night); overflow: hidden; transform-origin: center center;
}
/* 무대 조명: 위에서 떨어지는 은은한 스포트라이트 + 거친 입자 */
#stage::before {
  content: ""; position: absolute; inset: -20%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 45% 55% at var(--lx, 50%) -8%, rgba(255, 207, 61, .13), transparent 70%),
    radial-gradient(ellipse 60% 50% at 85% 110%, rgba(75, 227, 193, .07), transparent 70%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(255, 98, 144, .06), transparent 70%);
  transition: --lx 1s;
}
#grain { position: absolute; inset: 0; z-index: 50; pointer-events: none; opacity: .06; mix-blend-mode: overlay; }

.slide { position: absolute; inset: 0; z-index: 1; visibility: hidden; }
.slide.on { visibility: visible; }
.pad { position: absolute; inset: 0; padding: 110px 140px; }

/* 글자 크기 사다리 (1920 캔버스 기준) */
.d0 { font: 900 220px/1.02 var(--display); letter-spacing: -0.03em; }
.d1 { font: 900 150px/1.08 var(--display); letter-spacing: -0.025em; }
.d2 { font: 800 104px/1.14 var(--display); letter-spacing: -0.02em; }
.d3 { font: 800 72px/1.2 var(--display); letter-spacing: -0.015em; }
.h  { font: 800 54px/1.3 var(--display); letter-spacing: -0.01em; }
.lead { font: 600 40px/1.5 var(--body); color: var(--ink); }
.body { font: 400 32px/1.6 var(--body); color: var(--dim); }
.small { font: 600 24px/1.5 var(--body); color: var(--dim); }
.src { position: absolute; left: 140px; bottom: 54px; font: 400 20px/1.4 var(--body); color: var(--faint); }
.spot { color: var(--spot); }
.mint { color: var(--mint); }
.pink { color: var(--pink); }
.dim { color: var(--dim); }
.center { text-align: center; }

/* 글자 단위 등장용 */
.ch { display: inline-block; will-change: transform, opacity; }
.line-mask { display: block; overflow: hidden; padding-bottom: .06em; }
.line-mask > span { display: inline-block; }

/* 쪽 번호와 부 표시 */
#hud {
  position: absolute; z-index: 40; right: 56px; bottom: 40px; display: flex; gap: 18px; align-items: center;
  font: 600 20px/1 var(--body); color: var(--faint); transition: opacity .4s;
}
#hud .part { color: var(--dim); }
#hud.off { opacity: 0; }
#progress.off { opacity: 0; }
#progress { position: absolute; z-index: 40; left: 0; bottom: 0; height: 5px; background: var(--spot); width: 0; transition: width .6s cubic-bezier(.2,.8,.2,1); }

/* ───────── 프롬프트 바: 모든 장면을 여는 말 한마디 ───────── */
.prompt {
  position: relative; display: flex; align-items: center; gap: 24px;
  width: 1180px; min-height: 104px; padding: 22px 26px 22px 44px;
  background: var(--night-2); border: 2px solid rgba(255, 207, 61, .55); border-radius: 56px;
  box-shadow: 0 0 0 10px rgba(255, 207, 61, .05), 0 30px 80px rgba(0, 0, 0, .45);
}
.prompt .txt { flex: 1; font: 600 40px/1.35 var(--body); color: var(--ink); min-height: 54px; white-space: pre-wrap; }
.prompt .txt::after { content: ""; display: inline-block; width: 4px; height: 44px; margin-left: 4px; vertical-align: -8px; background: var(--spot); animation: blink 1s steps(1) infinite; }
.prompt.sent .txt::after { display: none; }
.prompt .send { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--spot); display: grid; place-items: center; transition: transform .2s; }
.prompt .send svg { width: 30px; height: 30px; }
.prompt.pulse .send { animation: sendpulse .5s ease-out; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes sendpulse { 0% { transform: scale(1); } 40% { transform: scale(.82); } 100% { transform: scale(1); box-shadow: 0 0 0 26px rgba(255, 207, 61, 0); } }

/* ───────── 기기 프레임 ───────── */
.laptop { position: relative; width: 1120px; }
.laptop .lid { position: relative; padding: 22px 22px 30px; background: #1c2050; border-radius: 26px 26px 10px 10px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.08), 0 40px 90px rgba(0,0,0,.5); }
.laptop .lid::before { content: ""; position: absolute; top: 9px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #3b4185; }
.laptop .screen { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 6px; overflow: hidden; }
.laptop .base { height: 26px; margin: 0 -70px; background: linear-gradient(#2b3170, #171b45); border-radius: 0 0 26px 26px; position: relative; }
.laptop .base::before { content: ""; position: absolute; left: 50%; top: 0; width: 180px; height: 10px; margin-left: -90px; background: #12163a; border-radius: 0 0 12px 12px; }

.phone { position: relative; width: 400px; padding: 16px; background: #1c2050; border-radius: 64px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.1), 0 40px 90px rgba(0,0,0,.55); }
.phone .screen { position: relative; aspect-ratio: 390 / 844; border-radius: 50px; overflow: hidden; background: #000; }
.phone .screen::before { content: ""; position: absolute; z-index: 3; top: 12px; left: 50%; width: 112px; height: 32px; margin-left: -56px; border-radius: 20px; background: #000; }

.media { position: absolute; inset: 0; background: #0a0d28; }
.media video, .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media.contain video, .media.contain img { object-fit: contain; }
.media .ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 30px; font: 600 26px/1.5 var(--body); color: var(--faint);
  background: repeating-linear-gradient(135deg, #12163d 0 22px, #151a46 22px 44px); }

/* ───────── 상태 배지 ───────── */
.badge { display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 24px; border-radius: 26px; font: 700 26px/1 var(--body); letter-spacing: -0.01em; white-space: nowrap; }
.badge::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: currentColor; }
.badge.done { background: rgba(75, 227, 193, .14); color: var(--mint); box-shadow: inset 0 0 0 2px rgba(75,227,193,.5); }
.badge.live { background: rgba(75, 227, 193, .14); color: var(--mint); box-shadow: inset 0 0 0 2px rgba(75,227,193,.5); }
.badge.live::before { animation: livedot 1.4s ease-in-out infinite; }
.badge.wip { color: #1b1b2e; background: repeating-linear-gradient(-45deg, var(--spot) 0 16px, #f4bd1f 16px 32px); background-size: 45px 45px; animation: stripes 1.2s linear infinite; }
.badge.wip::before { background: #1b1b2e; }
.badge.todo { color: var(--pink); box-shadow: inset 0 0 0 2px var(--pink); }
.badge.ai { background: rgba(255, 98, 144, .14); color: var(--pink); box-shadow: inset 0 0 0 2px rgba(255,98,144,.5); }
@keyframes livedot { 50% { box-shadow: 0 0 0 8px rgba(75,227,193,.0); transform: scale(1.4); } }
@keyframes stripes { to { background-position: 45px 0; } }

/* 사실 줄 */
.facts { display: grid; gap: 22px; }
.fact { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: baseline; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.fact b { font: 800 46px/1.1 var(--display); color: var(--spot); }
.fact span { font: 500 28px/1.45 var(--body); color: var(--ink); }

/* ───────── 부 전환 ───────── */
.part-slide .wipe { position: absolute; inset: 0; background: var(--spot); transform-origin: left center; transform: scaleX(0); z-index: 0; }
.part-slide .num { position: absolute; left: 140px; top: 120px; font: 900 420px/0.8 var(--display); color: var(--spot); -webkit-text-stroke: 0; letter-spacing: -0.04em; }
.part-slide .ttl { position: absolute; left: 140px; bottom: 170px; }
.part-slide .ttl .d1 { color: var(--ink); }
.part-slide .ttl .lead { margin-top: 26px; color: var(--dim); }

/* ───────── 자막 (아나운서) ───────── */
#captions {
  position: absolute; z-index: 45; left: 50%; bottom: 76px; transform: translateX(-50%);
  max-width: 1500px; text-align: center; pointer-events: none;
  font: 700 44px/1.45 var(--body); color: #fff; letter-spacing: -0.01em;
  text-shadow: 0 2px 0 rgba(0,0,0,.4);
}
#captions .box { display: inline; padding: 6px 18px; background: rgba(7, 9, 32, .78); box-decoration-break: clone; -webkit-box-decoration-break: clone; border-radius: 10px; line-height: 1.75; }
#captions .w { transition: color .15s; color: rgba(255,255,255,.55); }
#captions .w.on { color: #fff; }
#captions.hidden { display: none; }

/* 나레이션 대기 표시 (키를 눌러 재생) */
.cue-hint { position: absolute; z-index: 44; right: 56px; top: 44px; display: flex; align-items: center; gap: 14px; font: 600 22px/1 var(--body); color: var(--faint); }
.cue-hint i { width: 14px; height: 14px; border-radius: 50%; background: var(--spot); animation: livedot 1.4s infinite; }

/* ───────── 뉴스 레이아웃 ───────── */
.news .screenwall { position: absolute; inset: 0; background: #000; overflow: hidden; }
.news .layer { position: absolute; inset: 0; opacity: 0; }
.news .layer.on { opacity: 1; }
.news .layer video, .news .layer img { width: 100%; height: 100%; object-fit: cover; }
.news .vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 55%, rgba(5,6,24,.7) 100%), linear-gradient(transparent 55%, rgba(5,6,24,.85)); }
.news .bug { position: absolute; left: 70px; top: 56px; display: flex; align-items: center; gap: 18px; z-index: 5; }
.news .bug .logo { height: 72px; padding: 0 26px; display: flex; align-items: center; gap: 10px; background: var(--spot); color: var(--night); border-radius: 14px; font: 900 40px/1 var(--display); letter-spacing: -0.02em; }
.news .bug .onair { height: 46px; padding: 0 18px; display: flex; align-items: center; gap: 10px; background: rgba(7,9,32,.7); border-radius: 10px; font: 700 22px/1 var(--body); color: #fff; }
.news .bug .onair::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #ff3b57; animation: livedot 1.2s infinite; }
.news .clock { position: absolute; right: 70px; top: 64px; z-index: 5; font: 700 26px/1 var(--body); color: #fff; background: rgba(7,9,32,.7); padding: 12px 18px; border-radius: 10px; }
.news .lower { position: absolute; left: 70px; right: 70px; bottom: 290px; z-index: 5; }
.news .lower .tag { display: inline-block; padding: 10px 20px; background: var(--pink); color: #fff; font: 800 24px/1 var(--body); border-radius: 8px 8px 0 0; }
.news .lower .head { padding: 22px 34px; background: rgba(244, 243, 255, .96); color: var(--night); font: 900 58px/1.2 var(--display); letter-spacing: -0.02em; border-radius: 0 12px 12px 12px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.news .ticker { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; z-index: 5; display: flex; align-items: center; background: var(--spot); color: var(--night); overflow: hidden; }
.news .ticker .lbl { position: relative; z-index: 2; flex: none; height: 100%; padding: 0 28px; display: flex; align-items: center; background: var(--night); color: var(--spot); font: 900 26px/1 var(--display); }
.news .ticker .run { white-space: nowrap; font: 700 28px/1 var(--body); padding-left: 40px; animation: tick 60s linear infinite; }
.news .ticker .run span { margin-right: 80px; }
@keyframes tick { to { transform: translateX(-50%); } }
.news #captions-local { display: none; }
/* 뉴스 장면에서는 자막을 넓고 조금 작게: 두 줄 안에 */
#captions.wide { max-width: 1760px; font-size: 40px; bottom: 84px; }

/* 몽타주 안의 프롬프트 장면 */
.news .layer.promptcard { display: grid; place-items: center; background: radial-gradient(ellipse at 50% 40%, #1b2160, #0a0d2a 70%); }

/* ───────── 타이틀 마키 ───────── */
.marquee { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); padding: 90px 120px 96px; border-radius: 36px; background: #141850; box-shadow: 0 0 0 2px rgba(255,207,61,.25), 0 60px 140px rgba(0,0,0,.55); }
.marquee .bulbs { position: absolute; inset: 22px; pointer-events: none; }
.marquee .bulb { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #5a4a17; transition: background .12s, box-shadow .12s; }
.marquee .bulb.lit { background: #ffe58a; box-shadow: 0 0 12px 4px rgba(255, 207, 61, .75), 0 0 34px rgba(255, 207, 61, .45); }
.marquee .t1 { font: 900 168px/1.06 var(--display); letter-spacing: -0.035em; white-space: nowrap; }
.marquee .t1 .row2 { color: var(--spot); }
.title-meta { position: absolute; left: 0; right: 0; bottom: 92px; text-align: center; font: 600 30px/1.5 var(--body); color: var(--dim); }

/* ───────── 프로젝트 월 ───────── */
.wall-wrap { position: absolute; inset: 0; perspective: 2400px; overflow: hidden; }
.wall { position: absolute; left: 50%; top: 50%; width: 2700px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; transform-style: preserve-3d; }
.wall .tile { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #0a0d28; box-shadow: 0 30px 70px rgba(0,0,0,.5), inset 0 0 0 2px rgba(255,255,255,.08); }
.wall .tile.tall { aspect-ratio: auto; grid-row: span 2; }
.wall .tile .cap { position: absolute; left: 18px; bottom: 16px; z-index: 2; display: flex; gap: 10px; align-items: center; font: 800 28px/1 var(--display); color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.7); }
.wall .tile .badge { height: 38px; font-size: 19px; padding: 0 14px; }
.wall .tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(5,6,24,.75)); pointer-events: none; }

/* ───────── 쇼케이스 공통 ───────── */
.show { position: absolute; inset: 0; }
.show .head { position: absolute; left: 140px; top: 96px; right: 140px; display: flex; align-items: center; gap: 28px; }
.show .head .d3 { white-space: nowrap; }
.show .stagebox { position: absolute; left: 110px; top: 250px; }
.show .side { position: absolute; right: 120px; top: 270px; width: 560px; }
.show .side .oneline { font: 700 32px/1.45 var(--body); color: var(--ink); margin-bottom: 28px; }
.show .side .fact { grid-template-columns: 160px 1fr; padding-bottom: 16px; }
.show .side .facts { gap: 16px; }
.show .side .fact b { font-size: 34px; }
.show .side .fact span { font-size: 23px; }
.underbadge { margin-top: 26px; display: flex; gap: 14px; justify-content: center; }

/* 개발 중 묶음 2x2 */
.grid4 { position: absolute; left: 140px; right: 140px; top: 230px; bottom: 90px; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 46px; }
.cell { position: relative; display: grid; grid-template-rows: 1fr auto; gap: 16px; }
.cell .frame { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.45), inset 0 0 0 2px rgba(255,255,255,.08); }
.cell .meta { display: flex; align-items: center; gap: 18px; }
.cell .meta .h { font-size: 40px; }
.cell .meta .small { flex: 1; }

/* ───────── 스펙트럼 모자이크 ───────── */
.mosaic { position: absolute; left: 110px; right: 110px; top: 262px; bottom: 84px; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(4, 1fr); grid-auto-flow: dense; gap: 14px; }
.mosaic .m { position: relative; border-radius: 14px; overflow: hidden; background: #0a0d28; box-shadow: 0 16px 40px rgba(0,0,0,.4); transition: filter .5s, transform .5s, box-shadow .5s; }
.mosaic .m img, .mosaic .m video { width: 100%; height: 100%; object-fit: cover; display: block; }
.mosaic .m .lab { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; display: flex; gap: 8px; align-items: center; font: 700 18px/1.25 var(--body); color: #fff; background: linear-gradient(transparent, rgba(5,6,24,.88)); opacity: 0; transition: opacity .4s; }
.mosaic .m .lab .t { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mosaic .m .own { flex: none; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.16); font-size: 14px; }
.mosaic .m.big { grid-column: span 2; grid-row: span 2; }
.mosaic.focus .m { filter: grayscale(.85) brightness(.32); }
.mosaic.focus .m.hit { filter: none; transform: scale(1.04); z-index: 2; box-shadow: 0 0 0 4px var(--spot), 0 30px 70px rgba(0,0,0,.6); }
.mosaic .m.hit .lab { opacity: 1; }
.areas { position: absolute; left: 140px; right: 140px; top: 170px; display: flex; gap: 12px; flex-wrap: wrap; }
.areas .a { padding: 10px 20px; border-radius: 30px; font: 700 24px/1 var(--body); color: var(--dim); box-shadow: inset 0 0 0 2px var(--line); transition: all .35s; }
.areas .a.on { color: var(--night); background: var(--spot); box-shadow: none; }

/* ───────── 숫자 장면 ───────── */
.bignum { font: 900 300px/0.9 var(--display); letter-spacing: -0.05em; color: var(--spot); }
.bignum small { font-size: .38em; letter-spacing: -0.02em; margin-left: 10px; }

/* 진화 3단 */
.evo { position: absolute; left: 140px; right: 140px; top: 300px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.evo .st { position: relative; padding: 46px 40px 44px; border-radius: 30px; background: var(--night-2); box-shadow: inset 0 0 0 2px var(--line); min-height: 520px; }
.evo .st .yr { font: 800 30px/1 var(--display); color: var(--faint); }
.evo .st .nm { margin-top: 18px; font: 900 76px/1.1 var(--display); }
.evo .st .ic { height: 150px; margin: 30px 0 26px; }
.evo .st .ds { font: 500 30px/1.5 var(--body); color: var(--dim); }
.evo .st.now { background: #232a72; box-shadow: inset 0 0 0 3px var(--spot); }
.evo .st.now .nm { color: var(--spot); }
.evo .arrow { position: absolute; top: 50%; right: -36px; width: 32px; height: 32px; color: var(--faint); }

/* 타임라인 */
.tl { position: absolute; left: 140px; right: 140px; top: 520px; height: 4px; background: var(--line); }
.tl .fill { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--spot); }
.tl .ev { position: absolute; top: -12px; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: var(--night); box-shadow: inset 0 0 0 4px var(--spot); }
.tl .ev.other { box-shadow: inset 0 0 0 4px var(--dim); }
.tl .lbl { position: absolute; width: 330px; margin-left: -165px; text-align: center; }
.tl .lbl.up { bottom: 44px; }
.tl .lbl.down { top: 44px; }
.tl .lbl .dt { font: 700 26px/1 var(--body); color: var(--dim); }
.tl .lbl .nm { margin-top: 10px; font: 800 40px/1.15 var(--display); }
.tl .lbl .ds { margin-top: 8px; font: 500 22px/1.4 var(--body); color: var(--dim); }
.tl .today { position: absolute; top: -60px; width: 4px; height: 124px; margin-left: -2px; background: var(--pink); }
.tl .today span { position: absolute; top: -44px; left: 50%; transform: translateX(-50%); white-space: nowrap; font: 800 26px/1 var(--body); color: var(--pink); }

/* 폭발하는 타일 (왜 코드인가) */
.burst { position: absolute; inset: 0; }
.burst .chip { position: absolute; left: 50%; top: 50%; padding: 22px 34px; border-radius: 22px; background: var(--night-2); box-shadow: inset 0 0 0 2px var(--line), 0 20px 50px rgba(0,0,0,.35); font: 800 44px/1 var(--display); white-space: nowrap; }
.burst .chip em { font-style: normal; font: 600 22px/1 var(--body); color: var(--spot); margin-left: 14px; }

/* 취소선 목록 */
.strike-list { display: grid; gap: 18px; }
.strike-list .it { position: relative; display: inline-block; font: 800 64px/1.2 var(--display); color: var(--dim); }
.strike-list .it .bar { position: absolute; left: -12px; right: -12px; top: 52%; height: 10px; border-radius: 6px; background: var(--pink); transform-origin: left center; transform: scaleX(0); }
.strike-list .it small { font: 500 26px/1 var(--body); color: var(--faint); margin-left: 18px; }
.stamp { position: absolute; padding: 36px 56px; border-radius: 30px; border: 8px solid var(--spot); color: var(--spot); font: 900 84px/1.15 var(--display); transform: rotate(-6deg); background: rgba(14,18,51,.92); text-align: center; }

/* 가짜 Claude 앱 창 */
.app { position: relative; width: 1180px; height: 700px; border-radius: 22px; overflow: hidden; background: #1a1a1a; box-shadow: 0 50px 120px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.08); font-family: var(--body); }
.app .bar { height: 54px; display: flex; align-items: center; gap: 10px; padding: 0 20px; background: #262626; }
.app .bar i { width: 14px; height: 14px; border-radius: 50%; background: #4a4a4a; }
.app .bar .tabs { margin-left: 30px; display: flex; gap: 6px; }
.app .bar .tabs span { padding: 8px 18px; border-radius: 8px; font: 600 19px/1 var(--body); color: #9a9a9a; }
.app .bar .tabs span.on { background: #3a3a3a; color: #f2f2f2; }
.app .chat { position: absolute; inset: 54px 0 120px; padding: 34px 60px; display: flex; flex-direction: column; gap: 18px; overflow: hidden; }
.app .msg-u { align-self: flex-end; max-width: 760px; padding: 18px 24px; border-radius: 18px; background: #333; color: #f2f2f2; font: 500 26px/1.5 var(--body); }
.app .msg-a { max-width: 980px; color: #e9e9e9; font: 400 25px/1.55 var(--body); }
.app .tool { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-radius: 12px; background: #242424; box-shadow: inset 0 0 0 1px #333; font: 500 21px/1.3 "Consolas", monospace; color: #cfcfcf; max-width: 980px; }
.app .tool .ok { margin-left: auto; color: var(--mint); font: 700 22px/1 var(--body); }
.app .tool .spin { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 3px solid #555; border-top-color: var(--spot); animation: spin .8s linear infinite; }
.app .allow { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 12px; background: #2b2b2b; box-shadow: inset 0 0 0 1px #444; font: 500 22px/1.3 var(--body); color: #ddd; max-width: 980px; }
.app .allow b { margin-left: auto; padding: 10px 22px; border-radius: 10px; background: #f2f2f2; color: #111; font: 700 20px/1 var(--body); }
.app .input { position: absolute; left: 60px; right: 60px; bottom: 30px; height: 70px; border-radius: 18px; background: #2a2a2a; box-shadow: inset 0 0 0 1px #3a3a3a; padding: 0 24px; display: flex; align-items: center; font: 400 24px/1 var(--body); color: #8a8a8a; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 프롬프트 카드(복사용 첫 문장) */
.cards3 { position: absolute; left: 140px; right: 520px; top: 260px; display: grid; gap: 26px; }
.pcard { position: relative; padding: 30px 36px 30px 96px; border-radius: 26px; background: var(--night-2); box-shadow: inset 0 0 0 2px var(--line); font: 600 32px/1.5 var(--body); color: var(--ink); }
.pcard .k { position: absolute; left: 30px; top: 30px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--spot); color: var(--night); font: 900 24px/1 var(--display); }
.pcard .use { display: block; margin-top: 10px; font: 500 22px/1.4 var(--body); color: var(--faint); }
.qrbox { position: absolute; right: 140px; top: 270px; width: 320px; text-align: center; }
.qrbox img { width: 320px; height: 320px; border-radius: 24px; background: #fff; padding: 10px; }
.qrbox .small { margin-top: 18px; }
.qrbox .url { margin-top: 8px; font: 800 28px/1.3 var(--display); color: var(--spot); word-break: break-all; }

/* 스킬 */
.folder { position: relative; width: 560px; height: 420px; }
.folder .back { position: absolute; inset: 40px 0 0; background: #e3b432; border-radius: 10px 26px 26px 26px; }
.folder .tab { position: absolute; left: 0; top: 0; width: 210px; height: 70px; background: #e3b432; border-radius: 22px 22px 0 0; }
.folder .front { position: absolute; inset: 120px 0 0; background: var(--spot); border-radius: 26px; transform-origin: bottom center; display: grid; place-items: center; font: 900 54px/1 var(--display); color: var(--night); box-shadow: 0 -10px 30px rgba(0,0,0,.15); }
.folder .paper { position: absolute; left: 50px; right: 50px; top: 66px; height: 300px; background: #fffdf4; border-radius: 12px; padding: 26px 30px; color: #2b2b44; font: 600 22px/1.55 var(--body); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.folder .paper b { display: block; font: 800 28px/1.2 var(--display); margin-bottom: 10px; color: var(--night); }

.tree { font: 600 34px/1.75 var(--body); color: var(--ink); }
.tree .f { color: var(--spot); }
.tree .c { color: var(--faint); font-weight: 500; font-size: 26px; margin-left: 18px; }

.skillcards { position: absolute; left: 140px; right: 140px; top: 250px; bottom: 120px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sk { position: relative; padding: 28px 28px 26px; border-radius: 22px; background: var(--night-2); box-shadow: inset 0 0 0 2px var(--line); }
.sk .cmd { font: 800 34px/1.15 var(--display); color: var(--spot); }
.sk .what { margin-top: 12px; font: 500 24px/1.45 var(--body); color: var(--ink); }
.sk .who { position: absolute; right: 22px; top: 24px; font: 700 17px/1 var(--body); color: var(--faint); }
.sk.mine { box-shadow: inset 0 0 0 2px rgba(255,207,61,.6); }

/* 관점 */
.ladder { position: absolute; left: 140px; right: 140px; top: 330px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; align-items: end; }
.ladder .rung { padding: 34px 36px; border-left: 4px solid var(--line); }
.ladder .rung:nth-child(1) { height: 260px; }
.ladder .rung:nth-child(2) { height: 380px; }
.ladder .rung:nth-child(3) { height: 500px; border-left-color: var(--spot); background: linear-gradient(90deg, rgba(255,207,61,.08), transparent); }
.ladder .rung .nm { font: 900 62px/1.15 var(--display); }
.ladder .rung .ds { margin-top: 18px; font: 500 28px/1.5 var(--body); color: var(--dim); }

.checks { display: grid; gap: 26px; }
.checks .q { display: flex; gap: 26px; align-items: center; font: 700 48px/1.3 var(--display); }
.checks .q .box { flex: none; width: 64px; height: 64px; border-radius: 16px; box-shadow: inset 0 0 0 4px var(--dim); display: grid; place-items: center; }
.checks .q .box svg { width: 44px; height: 44px; opacity: 0; }
.checks .q.on .box { background: var(--mint); box-shadow: none; }
.checks .q.on .box svg { opacity: 1; }
.checks .q .ex { font: 500 26px/1.4 var(--body); color: var(--faint); margin-left: 6px; }

.limits { position: absolute; left: 140px; right: 140px; top: 280px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.limits .lm { padding: 36px 40px; border-radius: 26px; background: var(--night-2); box-shadow: inset 0 0 0 2px var(--line); }
.limits .lm .nm { font: 800 46px/1.2 var(--display); }
.limits .lm .ds { margin-top: 14px; font: 500 28px/1.5 var(--body); color: var(--dim); }

/* 기준점 */
.ref-line { position: absolute; left: 140px; right: 140px; top: 640px; height: 6px; border-radius: 3px; background: var(--line); }
.ref-dot { position: absolute; top: -17px; width: 40px; height: 40px; margin-left: -20px; border-radius: 50%; background: var(--spot); box-shadow: 0 0 0 12px rgba(255,207,61,.15); }
.ref-q { position: absolute; padding: 18px 26px; border-radius: 20px; background: var(--night-2); box-shadow: inset 0 0 0 2px var(--line); font: 700 30px/1.3 var(--body); white-space: nowrap; }
.ref-q.yes { box-shadow: inset 0 0 0 2px var(--mint); color: var(--mint); }

/* 반전 공개 */
.meta-frame { position: absolute; inset: 0; display: grid; place-items: center; }
.meta-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 40px; width: 1500px; }
.meta-stats .ms { padding: 26px 28px; border-radius: 22px; background: var(--night-2); box-shadow: inset 0 0 0 2px var(--line); }
.meta-stats .ms b { display: block; font: 900 64px/1 var(--display); color: var(--spot); }
.meta-stats .ms span { display: block; margin-top: 12px; font: 600 24px/1.4 var(--body); color: var(--dim); }
.quote-req { width: 1500px; padding: 36px 44px; border-radius: 28px; background: #1b1b1b; box-shadow: inset 0 0 0 1px #333; font: 500 30px/1.6 var(--body); color: #eee; white-space: pre-wrap; }

/* 스타터 팩 */
.starter { position: absolute; left: 140px; right: 140px; top: 320px; display: grid; grid-template-columns: 1fr 420px; gap: 70px; }
.packs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pack { padding: 26px 30px; border-radius: 22px; background: var(--night-2); box-shadow: inset 0 0 0 2px var(--line); display: flex; gap: 20px; align-items: flex-start; }
.pack .tick { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--mint); display: grid; place-items: center; }
.pack .tick svg { width: 28px; height: 28px; }
.pack .nm { font: 800 32px/1.2 var(--display); }
.pack .ds { margin-top: 8px; font: 500 22px/1.45 var(--body); color: var(--dim); }
.bigbtn { display: inline-flex; align-items: center; gap: 18px; margin-top: 34px; padding: 26px 44px; border-radius: 60px; background: var(--spot); color: var(--night); font: 900 40px/1 var(--display); text-decoration: none; box-shadow: 0 0 0 0 rgba(255,207,61,.6); animation: ring 2s infinite; }
@keyframes ring { 70% { box-shadow: 0 0 0 30px rgba(255,207,61,0); } 100% { box-shadow: 0 0 0 0 rgba(255,207,61,0); } }

/* 검은 화면 */
#blackout { position: absolute; inset: 0; z-index: 60; background: #000; opacity: 0; pointer-events: none; transition: opacity .4s; }
#blackout.on { opacity: 1; }

/* 이동 입력 */
#goto { position: absolute; z-index: 61; left: 50%; top: 40px; transform: translateX(-50%); padding: 14px 26px; border-radius: 14px; background: rgba(7,9,32,.9); font: 800 34px/1 var(--display); color: var(--spot); display: none; }

@media (prefers-reduced-motion: reduce) {
  .badge.wip, .news .ticker .run, .bigbtn { animation: none; }
}

/* ───────── 보조 구성요소 ───────── */
.agenda-list li { display: grid; grid-template-columns: 90px 470px 1fr; align-items: baseline; gap: 20px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.agenda-list .n { font: 900 64px/1 var(--display); color: var(--spot); }
.agenda-list b { font: 800 60px/1.1 var(--display); }
.agenda-list .ds { font: 500 32px/1.4 var(--body); color: var(--dim); }

.s3i { display: grid; grid-template-columns: 84px 1fr; gap: 26px; align-items: center; }
.s3i .k { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--spot); color: var(--night); font: 900 44px/1 var(--display); }
.s3i .body { margin-top: 4px; }

.bub { padding: 20px 24px; border-radius: 20px 20px 20px 6px; background: var(--night-2); box-shadow: inset 0 0 0 2px var(--line); font: 500 25px/1.5 var(--body); color: var(--dim); }
.bub.spotb { background: var(--spot); color: var(--night); font: 900 40px/1.2 var(--display); box-shadow: none; text-align: center; padding: 30px 24px; }

.lm2 { padding: 30px 36px; border-radius: 24px; background: var(--night-2); box-shadow: inset 0 0 0 2px var(--line); }
.lm2 b { display: block; font: 800 40px/1.2 var(--display); color: var(--spot); }
.lm2 span { display: block; margin-top: 12px; font: 500 27px/1.5 var(--body); color: var(--dim); }

.role { display: grid; grid-template-columns: 170px 1fr; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.role b { font: 800 32px/1.1 var(--display); color: var(--spot); }
.role span { font: 500 25px/1.4 var(--body); color: var(--ink); }

.lp { display: flex; align-items: center; gap: 22px; padding: 26px 30px; border-radius: 22px; background: var(--night-2); box-shadow: inset 0 0 0 2px var(--line); font: 800 38px/1.2 var(--display); }
.lp .k { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--spot); color: var(--night); font: 900 30px/1 var(--display); }
.lp:last-child { box-shadow: inset 0 0 0 3px var(--spot); }

.books { display: flex; align-items: flex-end; gap: 8px; height: 300px; padding: 0 10px; border-bottom: 14px solid #3b2f63; }
.book { width: 44px; height: var(--h, 220px); border-radius: 6px 6px 2px 2px; background: var(--night-3); color: var(--ink); writing-mode: vertical-rl; display: flex; align-items: center; justify-content: center; font: 700 20px/1 var(--body); letter-spacing: .02em; box-shadow: inset -6px 0 0 rgba(0,0,0,.18); }
.book:nth-child(3n) { background: #2c357f; }
.book:nth-child(4n+1) { background: #3a2f72; }

.qr-corner { position: absolute; right: 120px; top: 64px; display: flex; gap: 18px; align-items: center; }
.qr-corner img { width: 150px; height: 150px; border-radius: 14px; background: #fff; padding: 6px; }
#starterUrl { font-size: 21px; white-space: nowrap; }
