/* BigTalk overlays (prefix bt-) */
.bt-say { position: absolute; inset: 0; opacity: 0; transition: opacity .2s ease; }
.bt-say.on, .bt-scene.on, .bt-view.on { opacity: 1; }
.bt-sayw { position: absolute; left: 24px; right: 24px; top: 60%; bottom: 44px; display: flex; flex-direction: column; justify-content: flex-end; pointer-events: none; }
.bt-box { position: relative; flex: 0 1 auto; min-height: 90px; max-height: 100%; pointer-events: auto; background-color: transparent; transform: scale(.9); transform-origin: 50% 100%; }
.bt-say.on .bt-box { animation: pop-in .22s cubic-bezier(.3,1.5,.5,1) both; }
.bt-in { position: relative; max-height: 100%; padding: 4px 6px 16px 6px; margin-left: 0; }
.bt-box .bt-in { max-height: calc(40vh - 80px); min-height: 70px; }
.bt-bust { position: absolute; left: 4px; top: -140px; width: 104px; height: 128px; border-radius: 60px 60px 18px 18px; overflow: hidden; border: 3px solid var(--gold); background: var(--cream); box-shadow: 0 0 0 2px var(--gold-l), 0 4px 12px rgba(60,20,50,.4); z-index: 2; }
.bt-bust img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; display: block; }
.bt-name { position: absolute; left: 118px; top: -26px; z-index: 3; padding: 3px 18px; border-radius: 999px; background: linear-gradient(90deg, var(--pink), var(--lav)); border: 2px solid var(--gold-l); color: #fff; font-size: 16px; font-weight: 900; text-shadow: var(--outline); box-shadow: 0 2px 6px rgba(90,30,60,.35); white-space: nowrap; }
.bt-text { font-size: 16px; line-height: 1.55; color: var(--ink); font-weight: 700; white-space: pre-wrap; min-height: 48px; }
.bt-text.nar { font-style: italic; color: var(--ink-2); }
.bt-arrow { position: absolute; right: 8px; bottom: 2px; color: var(--pink-d); font-size: 16px; animation: pulse 1s infinite; pointer-events: none; }
.bt-choices { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; animation: pop-in .2s both; }
.bt-choice { width: 100%; min-height: 50px; white-space: normal; text-align: center; line-height: 1.25; padding-top: 6px; padding-bottom: 6px; }

/* scene */
.bt-scene, .bt-view { position: absolute; inset: 0; background: #1b0f20; overflow: hidden; opacity: 0; transition: opacity .2s ease; }
.bt-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bt-cgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #1b0f20; opacity: 0; transition: opacity .4s ease; }
.bt-cgimg.on { opacity: 1; }
.bt-scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(40,10,40,.25) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 55%, rgba(40,10,40,.45) 100%); }
.bt-chars { position: absolute; inset: 0; pointer-events: none; transition: opacity .3s; z-index: 1; }
.bt-chars.off { opacity: 0; }
.bt-fig { position: absolute; bottom: 0; height: 62%; max-width: 64%; width: auto; object-fit: contain; object-position: 50% 100%; transform: translateX(-50%) translateY(14px); opacity: 0; transition: left .35s ease, opacity .35s ease, transform .35s ease, filter .25s; }
.bt-fig.on { opacity: 1; transform: translateX(-50%); }
.bt-fig.dim { filter: brightness(.68) saturate(.85); }
.bt-fig.lit { filter: brightness(1.04) drop-shadow(0 0 10px rgba(255,230,160,.6)); }
.bt-lbox { position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 22px; min-height: 140px; padding: 24px 16px 40px; border-radius: 22px; background: rgba(255,248,240,.93); border: 3px solid var(--gold); box-shadow: 0 0 0 2px var(--gold-l) inset, 0 6px 18px rgba(60,20,50,.4); cursor: pointer; animation: pop-in .22s cubic-bezier(.3,1.5,.5,1) both; }
.bt-lbox .bt-name { left: 14px; top: -18px; }
.bt-lbox .bt-text { min-height: 66px; }
.bt-skip { position: absolute; z-index: 5; right: 12px; bottom: 176px; min-width: 76px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--gold); background: linear-gradient(#fff, var(--cream-2)); color: var(--ink); font-family: var(--font); font-size: 15px; font-weight: 900; cursor: pointer; opacity: .92; }
.bt-schoices { position: absolute; z-index: 4; left: 16px; right: 16px; bottom: 60px; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: scale(.92); transition: opacity .2s, transform .2s cubic-bezier(.3,1.5,.5,1); pointer-events: none; }
.bt-schoices.on { opacity: 1; transform: none; pointer-events: auto; }
.bt-ribbon { position: absolute; z-index: 6; left: 0; top: 22px; max-width: calc(100% - 90px); padding: 8px 22px 8px 16px; border-radius: 0 999px 999px 0; background: linear-gradient(90deg, rgba(255,134,179,.94), rgba(179,156,255,.94)); border: 2px solid var(--gold-l); border-left: 0; color: #fff; font-size: 18px; font-weight: 900; text-shadow: var(--outline); box-shadow: 0 3px 10px rgba(90,30,60,.35); animation: bt-slide .4s cubic-bezier(.3,1.4,.5,1) both; transition: opacity .4s, transform .4s; }
.bt-ribbon.out { opacity: 0; transform: translateX(-40px); }
@keyframes bt-slide { from { transform: translateX(-100%); } to { transform: none; } }

/* CG viewer */
.bt-vstage { position: absolute; inset: 0; overflow: hidden; touch-action: none; }
.bt-vimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform-origin: 50% 50%; will-change: transform; }
.bt-view.zoomed .bt-vstage { cursor: grab; }
.bt-vcap { bottom: 84px; }
.bt-zoom, .bt-close { position: absolute; z-index: 6; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--gold); background: linear-gradient(#fff, var(--cream-2)); color: var(--ink); font-size: 22px; font-weight: 900; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; box-shadow: 0 3px 8px rgba(60,20,50,.4); font-family: var(--font); }
.bt-zoom { left: 12px; top: 12px; }
.bt-close { right: 16px; bottom: 22px; }
.bt-view.zoomed .bt-zoom { background: linear-gradient(var(--gold-l), var(--gold)); }
