/* 다윗의 양 떼 — 화면 모양. 색은 base.css 토큰을 쓴다. */
.df-body { background: var(--sky); overscroll-behavior: none; }
.df-cover { width: 100%; max-width: 440px; aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden; background: var(--field); }
.df-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.df-lead { max-width: 30em; font-size: 18px; line-height: 1.5; }
.df-intro { width: 100%; max-width: 520px; text-align: left; }
.df-howto { display: flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--cream); font-weight: 800; }
.df-howto img { width: 36px; height: 36px; animation: df-press 1.4s ease-in-out infinite; }
@keyframes df-press { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(8px, 10px) scale(.92); } }
.df-keys { margin: 0; font-size: 14px; opacity: .8; }

.df-play { height: calc(100svh - 80px); min-height: 420px; padding: 0 8px 8px; }
.df-stage { position: relative; height: 100%; max-width: 1100px; margin: 0 auto; border-radius: 20px; overflow: hidden; background: #8CC65A; 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; }
.df-hud { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 8px; padding: 8px; pointer-events: none; }
.df-pause { pointer-events: auto; background: var(--cream); color: var(--ink); font-size: 20px; flex: none; }
.df-prog { position: relative; flex: 1; height: 14px; border-radius: 999px; background: rgba(28, 37, 84, .35); }
.df-prog i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: var(--cream); }
.df-prog b { position: absolute; right: -12px; top: 50%; width: 34px; height: 24px; transform: translateY(-50%); background: center / contain no-repeat url(../../assets/img/play/sheep-tilt/fold.webp); }
.df-count { margin: 0; display: flex; align-items: center; gap: 6px; padding: 4px 14px 4px 8px; border-radius: 999px; background: var(--cream); font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }
.df-count i { width: 40px; height: 32px; background: center / contain no-repeat url(../lost-sheep/art/flock.webp); }
.df-count.bump { animation: jw-hop .35s; }
.df-banner { position: absolute; left: 0; right: 0; top: 56%; 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: 22px; font-weight: 900; text-align: center; box-shadow: 0 6px 0 var(--gold-dark); pointer-events: none; animation: df-pop .3s ease-out; }
@keyframes df-pop { from { transform: scale(.8); opacity: 0; } }
.df-tut { position: absolute; left: 0; right: 0; bottom: 22%; 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); font-size: 18px; font-weight: 800; pointer-events: none; }
.df-tut img { width: 44px; height: 44px; animation: df-press 1.2s ease-in-out infinite; }
.df-say { position: absolute; left: 8px; right: 8px; bottom: 12px; display: flex; pointer-events: none; }
.df-say .say-row { margin: 0; align-items: center; max-width: 80%; animation: df-pop .25s ease-out; }
.df-say .say-fig { width: 40px; height: 48px; }
.df-say .bubble { font-size: 16px; padding: 6px 12px; }
.df-say:empty { display: none; }
.df-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; }

/* 끝 화면 */
.df-tally { width: 100%; max-width: 440px; display: grid; gap: 12px; padding: 16px; border-radius: var(--r-card); background: var(--cream); text-align: center; }
.df-tally img { width: 100%; border-radius: 16px; }
.df-got { margin: 0; font-size: 22px; font-weight: 900; }
.df-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; }
.df-verse cite { display: block; margin-top: 6px; font-size: 15px; font-style: normal; color: var(--gold); }
.df-jesus { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.5; }
.df-pnote { margin: 12px auto 24px; font-size: 11px; opacity: .7; text-align: center; }
