/* Tantra Pages: styles for parts the reference funnel did not have (the video player, generic blocks, the editor). */

/* ---------- Player ---------- */
.tp-video { outline: none; }
.tp-video__frame { position: absolute; inset: 0; }
.tp-video video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; object-fit: contain; }
.tp-video__big { position: absolute; inset: 0; display: grid; place-items: center; border: 0; padding: 0; background: rgba(0, 0, 0, .25); color: var(--white); cursor: pointer; }
.tp-video__big .play { width: 84px; height: 84px; min-width: 44px; }
.tp-video__sound { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: rgba(0, 0, 0, .35); cursor: pointer; }
.tp-video__sound span { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 14px 26px; border-radius: 999px; background: var(--volt); color: var(--white); font: 800 clamp(16px, 1rem + .4vw, 20px)/1 var(--sans); letter-spacing: .01em; box-shadow: 0 0 0 6px color-mix(in srgb, var(--volt) 30%, transparent), 0 20px 40px -12px rgba(0, 0, 0, .6); animation: tp-pulse 1.8s var(--ease) infinite; }
.tp-video__sound .ico { width: 22px; height: 22px; }
@keyframes tp-pulse { 50% { transform: scale(1.04); } }
.tp-video__cta { position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); z-index: 2; margin: 0; }
.tp-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); color: var(--white); opacity: 0; transition: opacity .2s var(--ease); }
.tp-video:hover .tp-bar, .tp-video:focus-within .tp-bar, .tp-video:not(.is-playing) .tp-bar { opacity: 1; }
.tp-c { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: inherit; cursor: pointer; }
.tp-c:hover { background: rgba(255, 255, 255, .14); }
.tp-c[aria-pressed="false"] { opacity: .55; }
.tp-prog { flex: 1; min-width: 60px; height: 44px; accent-color: var(--volt); cursor: pointer; }
.tp-grow { flex: 1; }
.tp-time { font: 600 13px/1 var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; padding: 0 6px; }
.tp-video__x { display: none; }
.tp-video.is-sticky .tp-video__frame { position: fixed; inset: auto 16px 16px auto; width: min(360px, 60vw); aspect-ratio: 16 / 9; z-index: 60; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 48px -12px rgba(0, 0, 0, .6); }
.tp-video.is-sticky .tp-video__x { display: grid; place-items: center; position: absolute; top: 6px; right: 6px; z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer; }
/* The button over the video stays inside the mini player: smaller, one line, never wider than the frame (T-03). */
/* z-index above the control bar (2), which sits at the same spot in the small frame; min-width 0 beats .btn--cta's
   400 px minimum on wide screens. */
.tp-video.is-sticky .tp-video__cta { z-index: 4; bottom: 8px; width: auto; min-width: 0; max-width: calc(100% - 64px); min-height: 0; padding: 8px 14px; font-size: 13px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-sizing: border-box; }
@media (max-width: 600px) {
  .tp-video__cta { bottom: 52px; min-width: 0; max-width: calc(100% - 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-sizing: border-box; }
  .tp-video.is-sticky .tp-video__frame { width: min(300px, 72vw); inset: auto 12px 12px auto; }
  .tp-video.is-sticky .tp-video__cta { left: 8px; transform: none; max-width: calc(100% - 60px); padding: 6px 10px; font-size: 12px; }
}
.flow-video .flow-video__bar i { transition: width .6s linear; }
.tp-hold.tp-revealed, .tp-revealed { animation: tp-in .5s var(--ease) both; }
@keyframes tp-in { from { opacity: 0; transform: translateY(12px); } }
.vip-hero--timer { padding: 8px 0 24px; }
.tp-video-sec { padding: var(--sec) 0; }

/* ---------- Generic blocks ---------- */
.brand-logo { height: auto; max-height: 100%; }
.brand-name { font-weight: 800; letter-spacing: -.03em; color: var(--white); }
.tq__photo--mono { display: grid; place-items: center; background: var(--lilac); color: var(--volt-deep); font-weight: 800; font-size: 28px; aspect-ratio: 4 / 5; }
.tq-grid--one { max-width: 760px; margin-left: auto; margin-right: auto; grid-template-columns: 1fr !important; }
.prose { max-width: 72ch; }
.prose__body p { margin: 0 0 1em; }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.wb__blank { display: block; aspect-ratio: 1000 / 634; background: linear-gradient(135deg, var(--night), var(--volt-deep)); }
.needs-asset { font-size: 14px; color: var(--muted); }
.modal__frame--inline { position: relative; max-width: 560px; margin: 0 auto; border-radius: var(--r-lg); overflow: hidden; }
.tp-anchor { display: contents; }
.pv-plans--code, .pv-plans--price { padding: 24px 0; }

/* ---------- Editor (mode edit only) ---------- */
.tp-block { position: relative; }
.tp-block:hover { outline: 2px dashed color-mix(in srgb, var(--volt) 60%, transparent); outline-offset: -2px; }
.tp-block.is-selected { outline: 2px solid var(--volt); outline-offset: -2px; }
.tp-empty { padding: 24px var(--gutter); text-align: center; font: 600 14px var(--sans); color: var(--muted); background: repeating-linear-gradient(45deg, #fafafa, #fafafa 10px, #f2f2f6 10px, #f2f2f6 20px); }
.tp-marker { padding: 16px; text-align: center; background: var(--paper); }
[data-edit] { cursor: text; }
[data-edit]:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--volt) 50%, transparent); border-radius: 4px; }
[data-edit][contenteditable="true"]:focus { outline: 2px solid var(--volt); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) { .tp-video__sound span { animation: none; } }
