/* 영단컷 프레젠테이션 — 사용설명서 원본(manual.html)을 그대로 띄우는 전체 화면 발표 틀 */
html, body.pz { margin: 0; height: 100%; background: #05070d; overflow: hidden; }
body.pz { -webkit-tap-highlight-color: transparent; }

.pz-view { position: fixed; inset: 0; overflow: hidden; background: #05070d; touch-action: pan-y; }
.pz-stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; opacity: 0; transition: opacity .4s ease; }
.pz-stage.ready { opacity: 1; }
.pz-stage .page { position: absolute; left: 0; top: 0; visibility: hidden; opacity: 0;
  transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1); }
.pz-stage .page.cur { visibility: visible; opacity: 1; z-index: 2; }
.pz-stage .page.leaving { visibility: visible; z-index: 1; }
.pz-stage svg circle, .pz-stage svg text { transform-box: fill-box; transform-origin: center; }

/* 시작 화면 */
.pz-start { position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center;
  background: rgba(5, 7, 13, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: opacity .35s ease; }
.pz-start.hide { opacity: 0; pointer-events: none; }
.pz-card { width: min(520px, 90vw); padding: 36px 34px 30px; border-radius: 28px; text-align: center; color: #0E1B33;
  background: #fff; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); font-family: "Pretendard Variable", Pretendard, sans-serif; }
.pz-card img { height: 54px; }
.pz-card h1 { margin: 14px 0 6px; font-size: 28px; font-weight: 800; letter-spacing: -.8px; }
.pz-card p { margin: 0 0 22px; font-size: 16px; color: #46566E; line-height: 1.6; }
.pz-go { display: block; width: 100%; padding: 16px 0; border: 0; border-radius: 16px; cursor: pointer;
  background: linear-gradient(90deg, #1E96F0, #005CFB); color: #fff; font: inherit; font-size: 18px; font-weight: 800; }
.pz-soft { margin-top: 12px; border: 0; background: none; cursor: pointer; font: inherit; font-size: 15px; color: #46566E; text-decoration: underline; }
.pz-keys { margin-top: 18px; font-size: 13px; color: #8391A5; line-height: 1.7; }

/* 아래 조작 막대 */
.pz-bar { position: fixed; left: 50%; bottom: 18px; z-index: 10; transform: translateX(-50%); display: flex; align-items: center; gap: 6px;
  padding: 8px 10px; border-radius: 999px; background: rgba(14, 27, 51, .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 40px -14px rgba(0, 0, 0, .6); font-family: "Pretendard Variable", Pretendard, sans-serif; color: #fff;
  transition: opacity .35s ease, transform .35s ease; }
.pz-bar.idle { opacity: 0; transform: translate(-50%, 14px); pointer-events: none; }
.pz-bar button, .pz-bar a { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 10px;
  border: 0; border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none; }
.pz-bar button:hover, .pz-bar a:hover { background: rgba(255, 255, 255, .14); }
.pz-bar button[aria-pressed="true"] { background: rgba(108, 194, 255, .3); }
.pz-count { min-width: 64px; text-align: center; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pz-prog { position: fixed; left: 0; top: 0; height: 4px; z-index: 11; background: linear-gradient(90deg, #6CC2FF, #005CFB); transition: width .5s ease; }
.pz-auto-ring { width: 18px; height: 18px; }

/* 세로 휴대폰 안내 */
.pz-rotate { position: fixed; left: 50%; top: 16px; z-index: 12; transform: translateX(-50%); padding: 10px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: #0E1B33; font: 600 14px "Pretendard Variable", Pretendard, sans-serif; display: none; }
@media (orientation: portrait) and (max-width: 820px) { .pz-rotate.on { display: block; } }

/* 움직임 */
@keyframes pzUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes pzFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pzPhone { from { opacity: 0; transform: translateY(70px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes pzPop { 0% { opacity: 0; transform: scale(.4); } 70% { opacity: 1; transform: scale(1.12); } 100% { opacity: 1; transform: scale(1); } }
@keyframes pzZoom { 0% { opacity: 0; transform: scale(.72) translateX(-40px); } 100% { opacity: 1; transform: none; } }
@keyframes pzDraw { to { stroke-dashoffset: 0; } }


/* 화면 양옆 엷은 넘기기 화살표 (대표 11-22) */
.pz-edge { position: fixed; top: 50%; z-index: 9; transform: translateY(-50%); width: 56px; height: 96px; padding: 0;
  display: flex; align-items: center; justify-content: center; border: 0; border-radius: 18px; cursor: pointer;
  background: rgba(14, 27, 51, .10); color: rgba(255, 255, 255, .9); opacity: .32; transition: opacity .25s ease, background .25s ease; }
.pz-edge svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .45)); }
.pz-edge-l { left: 14px; } .pz-edge-r { right: 14px; }
.pz-edge:hover, .pz-edge:focus-visible { opacity: .9; background: rgba(14, 27, 51, .45); }
.pz-edge[disabled] { opacity: 0; pointer-events: none; }
.pz-start:not(.hide) ~ .pz-edge { opacity: 0; pointer-events: none; }
@media (max-width: 820px) { .pz-edge { width: 40px; height: 72px; } .pz-edge svg { width: 24px; height: 24px; } .pz-edge-l { left: 6px; } .pz-edge-r { right: 6px; } }

/* 가운데 자동 재생 */
.pz-bar .pz-auto { min-width: 132px; margin: 0 2px; background: rgba(108, 194, 255, .18); font-weight: 800; }
.pz-bar .pz-auto:hover { background: rgba(108, 194, 255, .32); }
.pz-bar .pz-auto[aria-pressed="true"] { background: #1E96F0; }
.pz-sep { width: 1px; height: 22px; margin: 0 4px; background: rgba(255, 255, 255, .22); }
.pz-count { min-width: 58px; font-size: 14px; color: #B9CBE6; }

/* 낮은 화면(휴대폰 가로) — 조작 막대 작게 */
@media (max-height: 520px) {
  .pz-bar { bottom: 8px; padding: 4px 6px; gap: 2px; }
  .pz-bar button, .pz-bar a { min-width: 32px; height: 32px; padding: 0 8px; font-size: 13px; }
  .pz-bar .pz-auto { min-width: 96px; }
  .pz-count { min-width: 44px; font-size: 12px; }
  .pz-sep { height: 16px; margin: 0 2px; }
}
