/* 그물을 오른편에 — 화면 모양. 색은 base.css 토큰을 쓴다. 글꼴은 fonts.css(사이트에 직접 둔 페이퍼로지). */
.pn-body { background: var(--sky); overscroll-behavior: none; }
.pn-cover { width: 100%; max-width: 440px; aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden; background: var(--sky); }
.pn-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pn-lead { max-width: 30em; font-size: 18px; line-height: 1.5; }
.pn-intro { width: 100%; max-width: 520px; text-align: left; }
.pn-howto { display: flex; align-items: center; gap: 10px; max-width: 32em; padding: 8px 16px; border-radius: 999px; background: var(--cream); font-weight: 800; line-height: 1.35; }
.pn-howto img { flex: none; width: 36px; height: 36px; animation: pn-press 1.4s ease-in-out infinite; }
@keyframes pn-press { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(8px, 10px) scale(.92); } }
.pn-keys { margin: 0; font-size: 14px; opacity: .8; }

.pn-play { height: calc(100svh - 80px); min-height: 300px; padding: 0 8px 8px; }
.pn-stage { position: relative; height: 100%; max-width: 1100px; margin: 0 auto; border-radius: 20px; overflow: hidden; background: #5AA7C9; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
#cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pn-hud { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 8px; padding: 8px; pointer-events: none; }
.pn-pause { pointer-events: auto; background: var(--cream); color: var(--ink); font-size: 20px; flex: none; }
.pn-time { flex: 1; height: 16px; border-radius: 999px; background: rgba(28, 37, 84, .38); overflow: hidden; }
.pn-time i { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--gold); transition: width .25s linear; }
.pn-time.bump i { background: #FFE08A; }
.pn-count { margin: 0; display: flex; align-items: center; gap: 6px; padding: 4px 14px 4px 8px; border-radius: 999px; background: var(--cream); color: var(--ink); font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }
.pn-count i { width: 40px; height: 30px; background: center / contain no-repeat url(../red-sea-dash/art/fish2.webp); }
.pn-count.bump { animation: jw-hop .35s; }
.pn-banner { position: absolute; left: 0; right: 0; top: 72px; margin: 0 auto; width: max-content; max-width: calc(100% - 32px); padding: 10px 22px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: clamp(17px, 4.4vw, 22px); font-weight: 900; text-align: center; box-shadow: 0 6px 0 var(--gold-dark); pointer-events: none; animation: pn-pop .3s ease-out; }
.pn-banner.night { background: #26456a; color: var(--cream); box-shadow: 0 6px 0 #16304d; }
@keyframes pn-pop { from { transform: scale(.8); opacity: 0; } }
.pn-tut { position: absolute; left: 0; right: 0; bottom: 18%; margin: 0 auto; width: max-content; max-width: calc(100% - 24px); display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 16px; background: rgba(255, 246, 227, .95); color: var(--ink); font-size: 17px; font-weight: 800; line-height: 1.3; pointer-events: none; }
.pn-tut img { flex: none; width: 44px; height: 44px; animation: pn-press 1.2s ease-in-out infinite; }
.pn-say { position: absolute; left: 8px; right: 8px; bottom: 12px; display: flex; pointer-events: none; }
.pn-say .say-row { margin: 0; align-items: center; max-width: 80%; animation: pn-pop .25s ease-out; }
.pn-say .say-fig { width: 40px; height: 48px; }
.pn-say .bubble { font-size: 16px; padding: 6px 12px; }
.pn-say:empty { display: none; }
.pn-pausebox { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; background: rgba(28, 37, 84, .6); color: var(--cream); font-size: 24px; font-weight: 900; }

/* 끝 장면: 숯불 아침 + 큰 153 */
.pn-cinema { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 24px; text-align: center; color: #fff; overflow: hidden; background: #1c3f5c; }
.pn-cinema img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 96% 60%; }
.pn-cinema::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(16, 40, 64, .1), rgba(16, 40, 64, .55)); }
.pn-cinema > :not(img) { position: relative; z-index: 1; }
.pn-cinema p { margin: 0; max-width: 24em; font-size: clamp(19px, 5vw, 30px); font-weight: 900; text-shadow: 0 2px 8px #123; }
.pn-cinema .number { font-size: clamp(88px, 24vw, 170px); line-height: 1; font-weight: 900; color: #FFDE72; text-shadow: 0 6px 0 #9c692a, 0 10px 24px #0008; animation: pn-pop .6s cubic-bezier(.3, 1.6, .5, 1); }

/* 끝 화면 */
.pn-tally { width: 100%; max-width: 440px; display: grid; gap: 12px; padding: 16px; border-radius: var(--r-card); background: var(--cream); color: var(--ink); text-align: center; }
.pn-tally .pic { position: relative; border-radius: 16px; overflow: hidden; }
.pn-tally img { width: 100%; display: block; }
.pn-tally .number { position: absolute; left: 0; right: 0; top: 8%; font-size: 76px; line-height: 1; font-weight: 900; color: #FFDE72; text-shadow: 0 4px 0 #9c692a, 0 6px 14px #0007; }
.pn-got { margin: 0; font-size: 20px; font-weight: 900; }
.pn-jesus { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.5; }
.pn-verse { margin: 0; padding: 14px 16px; border-radius: 16px; background: var(--lake); color: var(--cream); font-size: 18px; font-weight: 700; line-height: 1.5; text-align: left; }
.pn-verse cite { display: block; margin-top: 6px; font-size: 15px; font-style: normal; color: var(--gold); }
.pn-pnote { margin: 12px auto 24px; font-size: 11px; opacity: .7; text-align: center; }

@media (max-height: 500px) { /* 가로 휴대폰 */
  .pn-play { height: calc(100svh - 56px); min-height: 250px; }
  .pn-banner { top: 62px; }
  .pn-tut { bottom: 10%; font-size: 15px; }
  .pn-say .say-fig { width: 32px; height: 38px; }
  .pn-cinema p { font-size: clamp(16px, 3.6vw, 22px); }
  .pn-cinema .number { font-size: clamp(64px, 22vh, 110px); }
}
@media (prefers-reduced-motion: reduce) { .pn-time i { transition: none; } .pn-howto img, .pn-tut img { animation: none; } }
