/* =========================================================
   Netflix-style home in Peekazoo felt: nav, hero banner, poster rows
   ========================================================= */
#screen-home.active { display: block; min-height: 100dvh; }
#screen-home .topbar { display: none; }

/* nav */
.nf-nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: clamp(12px, 3vw, 36px);
  padding: 10px max(16px, env(safe-area-inset-left, 0px)) 10px max(16px, env(safe-area-inset-right, 0px)); padding-left: max(16px, 3vw); padding-right: max(16px, 3vw);
  background: linear-gradient(180deg, rgba(255, 243, 226, .92), rgba(255, 243, 226, 0)); transition: background .3s, box-shadow .3s; }
.nf-nav.solid { background-color: #fff3e2; background-image: var(--felt); background-size: 256px; box-shadow: 0 6px 0 #f0d8bb, 0 10px 24px rgba(120, 72, 40, .14); }
.nf-logo { height: clamp(38px, 5vw, 56px); width: auto; filter: drop-shadow(0 3px 4px rgba(120, 72, 40, .2)); }
.nf-links { display: flex; gap: 6px; flex-wrap: wrap; }
.nf-link { font-weight: 800; font-size: 18px; color: #6b5a72; padding: 8px 16px; border-radius: 999px; }
.nf-link:hover { color: #e8505b; }
.nf-link.on { background-color: #fff; background-image: var(--felt); background-size: 256px; color: #e8505b; box-shadow: var(--puff-soft), 0 4px 0 #f1d6d9; outline: 2px dashed rgba(232, 80, 91, .4); outline-offset: -5px; }
.nf-nav .top-actions { margin-left: auto; }

/* hero */
.nf-hero { position: relative; margin: 6px max(16px, 3vw) 0; border-radius: 40px; overflow: hidden; min-height: clamp(360px, 62vh, 620px);
  display: flex; align-items: flex-end; box-shadow: var(--puff), 0 12px 0 #e7c9a8, 0 26px 50px rgba(120, 72, 40, .22);
  outline: 4px dashed rgba(255, 255, 255, .75); outline-offset: -14px; }
.nf-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: right center; }
.nf-hero-bg.in { animation: hero-in 1s ease-out both; }
@keyframes hero-in { from { opacity: 0; transform: scale(1.06); } }
.nf-hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(255, 243, 226, .97) 0%, rgba(255, 243, 226, .9) 28%, rgba(255, 243, 226, .25) 52%, rgba(255, 243, 226, 0) 70%),
              linear-gradient(0deg, rgba(255, 243, 226, .55), transparent 30%); }
.nf-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--felt); background-size: 256px; mix-blend-mode: soft-light; pointer-events: none; }
.nf-hero-info { position: relative; z-index: 2; max-width: min(560px, 92%); padding: clamp(20px, 4vw, 56px); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.nf-hero .greet { margin: 0 0 6px -6px; }
.nf-hero .bubble { margin-bottom: 8px; }
.nf-hero .greet-pebi { height: clamp(64px, 9vh, 96px); }
.nf-tag { font-weight: 800; color: #8b55d6; background: #fff; border-radius: 999px; padding: 3px 14px; font-size: 15px; box-shadow: 0 3px 0 rgba(139, 85, 214, .2); outline: 1.5px dashed rgba(139, 85, 214, .4); outline-offset: -4px; }
.nf-title { margin: 0; font-size: clamp(40px, 6.4vw, 76px); line-height: 1; color: #e8505b; paint-order: stroke fill; -webkit-text-stroke: 7px #fff3e2; text-shadow: 0 4px 0 rgba(120, 72, 40, .2), 0 10px 18px rgba(120, 72, 40, .2); }
.nf-desc { margin: 0; font-size: clamp(16px, 1.6vw, 20px); color: #4a3a55; font-weight: 600; max-width: 46ch; }
.nf-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-weight: 800; font-size: 14px; color: #6b5a72; }
.nf-meta > span { background: rgba(255, 255, 255, .8); padding: 2px 10px; border-radius: 999px; }
.nf-meta .m-new { background: #e8505b; color: #fff; }
.nf-meta .m-rate, .nf-meta .m-best { color: #d98a00; }
.nf-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.nf-play, .nf-more { font-weight: 800; font-size: clamp(18px, 1.8vw, 22px); border-radius: 999px; padding: 12px 30px; }
.nf-play { color: #fff; background-color: #4cc657; background-image: var(--felt), linear-gradient(160deg, #6fdc63, #25a84a); background-size: 256px, auto; box-shadow: var(--puff), 0 6px 0 #1a7a35; outline: 2px dashed rgba(255, 255, 255, .7); outline-offset: -6px; }
.nf-more { color: #4a3a55; background-color: #fff; background-image: var(--felt); background-size: 256px; box-shadow: var(--puff-soft), 0 6px 0 #e4c6a6; outline: 2px dashed var(--seam-dark); outline-offset: -6px; }
.nf-play:active, .nf-more:active { transform: translateY(4px); }
.nf-dots { position: absolute; right: 28px; bottom: 22px; z-index: 2; display: flex; gap: 8px; }
.nf-dots .dot { width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, .6); box-shadow: 0 2px 0 rgba(0, 0, 0, .15); }
.nf-dots .dot.on { background: #e8505b; width: 34px; border-radius: 99px; }

/* rows */
.nf-rows { position: relative; z-index: 2; padding: 18px 0 8px; display: flex; flex-direction: column; gap: 14px; }
.nf-row-head { display: flex; align-items: center; gap: 10px; padding: 0 max(16px, 3vw); }
.nf-row-head h3 { margin: 0; font-size: clamp(22px, 2.2vw, 28px); color: #4a3a55; paint-order: stroke fill; -webkit-text-stroke: 4px #fff3e2; }
.nf-face { height: 40px; width: auto; }
.nf-see { margin-left: auto; font-weight: 800; color: #8b55d6; font-size: 16px; padding: 4px 10px; }
.nf-track-wrap { position: relative; }
.nf-track { display: flex; gap: clamp(14px, 1.6vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 max(16px, 3vw);
  padding: 14px max(16px, 3vw) 26px; scrollbar-width: none; }
.nf-track::-webkit-scrollbar { display: none; }
.nf-arrow { position: absolute; top: 14px; bottom: 26px; width: 46px; z-index: 3; font-size: 40px; font-weight: 800; color: #4a3a55; opacity: 0; transition: opacity .2s;
  background: linear-gradient(90deg, rgba(255, 243, 226, .95), rgba(255, 243, 226, 0)); }
.nf-arrow.right { right: 0; background: linear-gradient(270deg, rgba(255, 243, 226, .95), rgba(255, 243, 226, 0)); }
.nf-arrow.left { left: 0; }
.nf-track-wrap:hover .nf-arrow { opacity: 1; }
@media (hover: none) { .nf-arrow { display: none; } }

.nf-card { flex: 0 0 clamp(230px, 24vw, 340px); scroll-snap-align: start; text-align: left; display: flex; flex-direction: column; gap: 8px; position: relative; transition: transform .25s ease; }
.nf-card:hover, .nf-card:focus-visible { transform: translateY(-6px) scale(1.05); z-index: 2; }
.nf-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 26px; overflow: visible; }
.nf-thumb > img:first-child { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; display: block;
  box-shadow: 0 8px 0 var(--c), 0 16px 26px rgba(120, 72, 40, .22); outline: 3px dashed rgba(255, 255, 255, .8); outline-offset: -9px; }
.nf-thumb::after { content: ""; position: absolute; inset: 0; border-radius: 26px; background: var(--felt); background-size: 256px; mix-blend-mode: soft-light; pointer-events: none; box-shadow: inset 0 6px 10px rgba(255, 255, 255, .35), inset 0 -10px 14px rgba(0, 0, 0, .12); }
.nf-badge { position: absolute; top: 10px; left: 12px; z-index: 2; background: #e8505b; color: #fff; font-weight: 800; font-size: 13px; padding: 2px 10px; border-radius: 999px; box-shadow: 0 3px 0 #a8303a; letter-spacing: 1px; }
.nf-char { position: absolute; right: -8px; bottom: -10px; height: 62%; width: auto; z-index: 2; pointer-events: none; }
.nf-hover { position: absolute; inset: 0; border-radius: 26px; display: grid; place-items: center; z-index: 1; opacity: 0; transition: opacity .2s; background: rgba(40, 20, 60, .28); }
.nf-hover b { background: #fff; color: #25a84a; padding: 8px 22px; border-radius: 999px; font-size: 20px; box-shadow: 0 4px 0 rgba(0, 0, 0, .2); }
.nf-card:hover .nf-hover, .nf-card:focus-visible .nf-hover { opacity: 1; }
.nf-progress { position: absolute; left: 16px; right: 16px; bottom: 12px; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .7); z-index: 2; overflow: hidden; }
.nf-progress i { display: block; height: 100%; background: #e8505b; border-radius: 99px; }
.nf-cap { display: flex; flex-direction: column; padding: 0 6px; }
.nf-cap b { font-size: 19px; color: #4a3a55; }
.nf-cap small { font-size: 14px; color: #7a6a80; font-weight: 600; }
.nf-card.ranked { flex-basis: clamp(290px, 30vw, 420px); flex-direction: row; align-items: flex-end; gap: 0; }
.nf-card.ranked .nf-rank { font-size: clamp(110px, 12vw, 170px); line-height: .8; font-weight: 800; color: #fff3e2; -webkit-text-stroke: 5px #e8505b; paint-order: stroke fill; margin-right: -14px; text-shadow: 0 6px 0 rgba(232, 80, 91, .25); }
.nf-card.ranked .nf-thumb { flex: 1; }
.nf-card.ranked .nf-cap { display: none; }

/* more-info modal */
.nf-modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(74, 58, 85, .45); padding: 16px; backdrop-filter: blur(4px); }
.nf-modal[hidden] { display: none; }
.nf-modal-card { position: relative; width: min(720px, 100%); padding: 0 !important; overflow: hidden; animation: zoom .3s ease-out; }
.nfm-poster { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.nfm-body { padding: 18px 26px 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.nfm-body h3 { margin: 0; font-size: 34px; color: #e8505b; }
.nfm-body p { margin: 0; font-size: 18px; }
.nf-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; background: #fff; font-size: 20px; z-index: 2; box-shadow: 0 3px 0 rgba(0, 0, 0, .15); }

/* meadow sits after the rows */
#screen-home .meadow { margin-top: 8px; }

@media (max-width: 760px) {
  .nf-nav { flex-wrap: wrap; gap: 8px; }
  .nf-links { order: 3; width: 100%; }
  .nf-link { font-size: 16px; padding: 6px 12px; }
  .nf-hero { border-radius: 28px; min-height: 520px; }
  .nf-hero-bg { background-position: 70% center; }
  .nf-hero::before { background: linear-gradient(0deg, rgba(255, 243, 226, .97) 0%, rgba(255, 243, 226, .88) 50%, rgba(255, 243, 226, .1) 80%); }
  .nf-card { flex-basis: 72vw; }
  .nf-card.ranked { flex-basis: 80vw; }
}

/* ---- v2: hero + contact card side by side, shorter so rows peek above the fold ---- */
.nf-nav { padding-top: 6px; padding-bottom: 6px; }
.nf-top { display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 22vw, 330px); gap: clamp(14px, 1.6vw, 24px);
  margin: 4px max(16px, 3vw) 0; align-items: stretch; }
.nf-top .nf-hero { margin: 0; min-height: clamp(300px, 52vh, 500px); }
.nf-top .nf-hero-info { padding: clamp(16px, 2.6vw, 40px); gap: 8px; }
.nf-top .nf-title { font-size: clamp(36px, 5vw, 64px); }
.nf-top .nf-hero .greet-pebi { height: clamp(52px, 7vh, 80px); }
.nf-rows { padding-top: 10px; }

.nf-contact { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px 18px 18px !important; border-radius: 34px; overflow: visible; }
.nf-contact h3 { margin: 0; font-size: 26px; color: #e8505b; padding-right: 70px; }
.ct-sub { margin: 0 0 4px; font-size: 15px; font-weight: 600; color: #6b5a72; padding-right: 60px; }
.ct-char { position: absolute; right: -6px; top: -18px; height: 92px; width: auto; }
.ct-links { display: flex; flex-direction: column; gap: 9px; flex: 1; justify-content: center; }
.ct-link { display: flex; align-items: center; gap: 12px; padding: 9px 14px; border-radius: 999px; text-decoration: none; color: #4a3a55;
  background-color: #fff; background-image: var(--felt); background-size: 256px; box-shadow: var(--puff-soft), 0 4px 0 color-mix(in srgb, var(--c) 35%, #e4c6a6);
  outline: 2px dashed color-mix(in srgb, var(--c) 45%, transparent); outline-offset: -5px; transition: transform .15s; }
.ct-link:hover { transform: translateX(4px); }
.ct-link:active { transform: translateY(3px); }
.ct-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; background: color-mix(in srgb, var(--c) 18%, #fff); flex: none; }
.ct-link b { font-size: 17px; flex: 1; }
.ct-go { font-size: 24px; font-weight: 800; color: var(--c); }

@media (max-width: 980px) {
  .nf-top { grid-template-columns: 1fr; }
  .nf-contact { order: 2; }
  .ct-links { flex-direction: row; flex-wrap: wrap; }
  .ct-link { flex: 1 1 140px; }
}
@media (max-width: 760px) { .nf-top .nf-hero { min-height: 460px; } }
.nf-top .nf-hero { min-height: clamp(280px, 46vh, 480px); }
@media (max-height: 780px) and (min-width: 761px) {
  .nf-top .nf-hero .sub { display: none; }
  .nf-top .nf-hero .greet { margin-bottom: 0; }
  .nf-top .nf-hero .greet-pebi { height: 46px; }
  .nf-top .nf-title { font-size: clamp(32px, 4vw, 48px); }
  .nf-top .nf-desc { font-size: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .nf-top .nf-play, .nf-top .nf-more { padding: 9px 24px; font-size: 18px; }
  .nf-logo { height: 40px; }
  .ct-char { height: 72px; }
  .nf-contact h3 { font-size: 22px; }
  .ct-links { gap: 6px; }
  .ct-link { padding: 6px 12px; }
  .ct-ic { width: 30px; height: 30px; font-size: 15px; }
}
@media (max-width: 760px) {
  .nf-top .nf-hero { min-height: 0; }
  .nf-dots { top: 16px; bottom: auto; right: 18px; }
  .nf-contact { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px 14px !important; gap: 6px 10px; border-radius: 26px; }
  .nf-contact h3 { font-size: 18px; padding: 0; }
  .ct-sub, .ct-char { display: none; }
  .ct-links { flex-direction: row; flex-wrap: nowrap; gap: 8px; flex: 1; justify-content: flex-end; }
  .ct-link { flex: none; padding: 4px; }
  .ct-link b, .ct-go { display: none; }
}
/* v3: medium windows (tablets / half-screen) — compact contact strip so games stay visible */
@media (max-width: 980px) {
  .nf-top .nf-hero { min-height: 0; }
  .nf-contact { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px 16px !important; gap: 6px 12px; border-radius: 26px; }
  .nf-contact h3 { font-size: 20px; padding: 0; }
  .ct-sub, .ct-char { display: none; }
  .ct-links { flex-direction: row; flex-wrap: nowrap; gap: 10px; flex: 1; justify-content: flex-end; }
  .ct-link { flex: none; padding: 4px; }
  .ct-link b, .ct-go { display: none; }
  .ct-ic { width: 38px; height: 38px; }
  .nf-top .nf-hero .sub { display: none; }
  .nf-top .nf-hero .greet-pebi { height: 50px; }
}

/* ---- v4: right column = videos carousel on top, contacts below ---- */
.nf-top { grid-template-columns: minmax(0, 1fr) clamp(280px, 24vw, 360px); }
.nf-side { display: flex; flex-direction: column; gap: clamp(10px, 1.2vw, 16px); min-width: 0; }
.nf-videos { position: relative; flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 12px !important; border-radius: 30px; min-height: 0; }
.vd-head { display: flex; align-items: center; gap: 8px; }
.vd-head h3 { margin: 0; font-size: 20px; color: #e8505b; }
.vd-all { margin-left: auto; font-weight: 800; color: #8b55d6; text-decoration: none; font-size: 15px; }
.vd-stage { position: relative; }
.vd-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; padding: 0;
  box-shadow: 0 6px 0 #f39b1f, 0 12px 20px rgba(120, 72, 40, .2); outline: 3px dashed rgba(255, 255, 255, .85); outline-offset: -8px; }
.vd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vd-thumb img.in { animation: hero-in .6s ease-out both; }
.vd-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  font-size: 24px; color: #fff; padding-left: 4px; background: #e8505b; box-shadow: 0 4px 0 #a8303a, 0 0 0 6px rgba(255, 255, 255, .6); transition: transform .2s; }
.vd-thumb:hover .vd-play { transform: translate(-50%, -50%) scale(1.12); }
.vd-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: #fff; font-size: 24px; font-weight: 800; color: #4a3a55; line-height: 1;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .15); z-index: 2; }
.vd-nav.prev { left: -8px; } .vd-nav.next { right: -8px; }
.vd-name { margin: 4px 2px 0; font-weight: 800; font-size: 16px; color: #4a3a55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vd-dots { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; }
.vd-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: #e7cfb5; padding: 0; }
.vd-dots .dot.on { background: #e8505b; width: 20px; border-radius: 99px; }
.vd-modal-card { position: relative; width: min(960px, 100%); padding: 10px !important; border-radius: 28px; }
.vd-frame { aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; }
.vd-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vd-modal-card .nf-close { top: -14px; right: -14px; }

/* contacts become a compact icon strip under the videos */
.nf-side .nf-contact { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px 14px !important; gap: 6px 10px; border-radius: 26px; flex: none; }
.nf-side .nf-contact h3 { font-size: 18px; padding: 0; width: 100%; }
.nf-side .ct-sub, .nf-side .ct-char { display: none; }
.nf-side .ct-links { flex-direction: row; flex-wrap: nowrap; gap: 8px; flex: 1; justify-content: space-between; }
.nf-side .ct-link { flex: none; padding: 4px; }
.nf-side .ct-link b, .nf-side .ct-go { display: none; }
.nf-side .ct-ic { width: 38px; height: 38px; font-size: 17px; }

@media (max-width: 980px) {
  .nf-top { grid-template-columns: 1fr; }
  .nf-side { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; }
  .nf-videos { display: grid; grid-template-columns: 46% 1fr; grid-template-rows: auto auto 1fr; column-gap: 12px; }
  .vd-head { grid-column: 1 / -1; }
  .vd-stage { grid-row: 2 / 4; }
  .vd-name { white-space: normal; align-self: end; }
  .vd-dots { justify-content: flex-start; align-self: start; }
  .vd-play { width: 42px; height: 42px; font-size: 18px; }
  .nf-side .nf-contact h3 { width: auto; }
  .nf-side .ct-links { flex-wrap: wrap; justify-content: flex-start; }
}
@media (max-width: 760px) {
  .nf-side { grid-template-columns: 1fr; }
  .vd-dots { display: none; }
}
.vd-upnext { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }
.vd-upnext small { font-weight: 800; color: #8b55d6; font-size: 13px; letter-spacing: .5px; text-transform: uppercase; }
#vd-list { display: flex; flex-direction: column; gap: 6px; }
.vd-mini { display: flex; align-items: center; gap: 10px; text-align: left; padding: 4px; border-radius: 14px; }
.vd-mini:hover { background: rgba(255, 255, 255, .7); }
.vd-mini img { width: 84px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; flex: none; box-shadow: 0 3px 0 rgba(243, 155, 31, .5); }
.vd-mini span { font-size: 14px; font-weight: 700; color: #4a3a55; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nf-side .nf-contact h3 { width: 100%; }
@media (max-width: 980px) {
  .vd-upnext { display: none; }
  .nf-side .ct-links { flex-wrap: nowrap; justify-content: space-between; }
  .nf-side .ct-ic { width: 34px; height: 34px; font-size: 15px; }
  .nf-side .ct-link { padding: 2px; }
}
@media (min-width: 981px) { .nf-side { contain: size; } .nf-videos { overflow: hidden; } }
#vd-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vd-mini { flex-direction: column; align-items: stretch; gap: 4px; padding: 3px; }
.vd-mini img { width: 100%; }
.vd-mini span { font-size: 12px; }
.vd-dots { order: 0; }
@media (max-height: 820px) and (min-width: 981px) {
  .vd-upnext { display: none; }
  .vd-head h3 { font-size: 18px; }
}
@media (max-height: 680px) and (min-width: 981px) { .vd-dots { display: none; } }
.vd-mini span { -webkit-line-clamp: 1; }
@media (max-height: 820px) and (min-width: 981px) {
  .nf-videos { gap: 5px; padding: 10px 12px 8px !important; }
  .vd-name { margin: 0 2px; font-size: 15px; }
}

/* ---- v5: keep everything inside the dashed stitch of the right cards ---- */
.nf-side .nf-videos { padding: 20px 22px 16px !important; }
.nf-side .nf-contact { padding: 16px 22px 18px !important; flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; }
.nf-side .nf-contact h3 { width: auto; }
.nf-side .ct-links { flex: none; flex-wrap: nowrap; justify-content: space-between; gap: 6px; }
.nf-side .ct-ic { width: clamp(30px, 2.5vw, 40px); height: clamp(30px, 2.5vw, 40px); font-size: clamp(14px, 1.1vw, 17px); }
.vd-head h3 { font-size: clamp(16px, 1.3vw, 20px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.vd-all { flex: none; }
.vd-nav { width: 30px; height: 30px; font-size: 20px; background: rgba(255, 255, 255, .92); }
.vd-nav.prev { left: 8px; } .vd-nav.next { right: 8px; }
.vd-thumb { outline-offset: -6px; }
.vd-dots { padding: 0 2px; }
.vd-dots .dot { width: 7px; height: 7px; }
.vd-upnext { display: flex; }
@media (max-height: 820px) and (min-width: 981px) { .vd-upnext { display: flex; } .nf-side .nf-videos { padding: 16px 20px 12px !important; } }
@media (max-height: 740px) and (min-width: 981px) { .vd-upnext { display: none; } }
@media (max-width: 1180px) and (min-width: 981px) { .vd-upnext { display: none; } }
@media (max-width: 980px) {
  .vd-upnext { display: none; }
  .nf-side .nf-videos { padding: 16px 20px 14px !important; }
  .vd-nav { width: 26px; height: 26px; font-size: 17px; }
  .vd-nav.prev { left: 6px; } .vd-nav.next { right: 6px; }
}
.vd-upnext.nofit { display: none !important; }
.nf-videos .vd-upnext { flex: none; }
.nf-videos > * { flex-shrink: 0; }
.vd-name { line-height: 1.3; min-height: 1.3em; }
.vd-mini span { display: none; }
/* card caption: title left, players count right */
.nf-cap { flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; }
.nf-cap b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nf-plays { flex: none; font-size: 14px; font-weight: 800; color: #8b55d6; background: #fff; padding: 2px 10px; border-radius: 999px; box-shadow: 0 2px 0 rgba(139, 85, 214, .2); }
.nf-plays i { font-style: normal; }
.nf-card.ranked { flex-direction: row; flex-wrap: wrap; }
.nf-card.ranked .nf-cap { display: flex; flex-basis: 100%; padding-left: 40%; }
.nf-card.ranked { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: end; row-gap: 8px; }
.nf-card.ranked .nf-rank { grid-column: 1; grid-row: 1; }
.nf-card.ranked .nf-thumb { grid-column: 2; grid-row: 1; }
.nf-card.ranked .nf-cap { grid-column: 2; grid-row: 2; padding-left: 6px; flex-basis: auto; }

/* ---- v6: vertical (9:16) Peekazoo videos: blurred backdrop + live muted preview ---- */
.vd-thumb { background: #2a1d33; }
.vd-blur { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(16px) saturate(1.2) brightness(.85); }
.vd-thumb video { position: relative; display: block; height: 100%; width: auto; aspect-ratio: 9 / 16; margin: 0 auto; object-fit: cover; }
.vd-thumb video.in { animation: hero-in .6s ease-out both; }
.vd-play { z-index: 2; opacity: .92; }
.vd-sound { position: absolute; left: 10px; bottom: 10px; z-index: 2; font-size: 12px; font-weight: 800; color: #fff; background: rgba(0, 0, 0, .45); padding: 3px 9px; border-radius: 999px; }
.vd-thumb:hover .vd-play { opacity: 1; }
.vd-mini img { aspect-ratio: 16 / 9; object-fit: cover; object-position: center 35%; }
.vd-modal-card { width: auto; max-width: 100%; padding: 10px 10px 4px !important; display: flex; flex-direction: column; align-items: center; }
.vd-frame { aspect-ratio: 9 / 16; height: min(82vh, 860px); max-width: calc(100vw - 52px); background: #000; }
.vd-frame video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.vd-mtitle { margin: 8px 6px 6px; font-weight: 800; font-size: 18px; color: #4a3a55; text-align: center; max-width: min(46vh, 90vw); }
@media (max-width: 760px) { .vd-sound { display: none; } }
.vd-thumb video { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center 45%; }
.vd-blur { display: none; }
.vd-play { width: 46px; height: 46px; font-size: 19px; opacity: .85; }
.vd-thumb video { transform-origin: center; }

/* ---- real app icons in "Say hello!" (app-style rounded tiles) ---- */
.ct-ic { border-radius: 28%; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12), 0 3px 6px rgba(0, 0, 0, .15); }
.ct-ic svg { width: 58%; height: 58%; display: block; }
.ct-ic.app-gmail { background: #fff; }
.ct-ic.app-whatsapp { background: #25d366; }
.ct-ic.app-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.ct-ic.app-youtube { background: #fff; }
.ct-ic.app-youtube svg { width: 66%; height: 66%; }
.ct-ic.app-web { background: linear-gradient(160deg, #4fb3ff, #2f6fd8); }
.nf-side .ct-link { background: transparent; background-image: none; box-shadow: none; outline: none; padding: 3px; }
.nf-side .ct-link:hover { transform: translateY(-3px) scale(1.06); }
.nf-side .ct-ic { width: clamp(36px, 2.9vw, 46px); height: clamp(36px, 2.9vw, 46px); }
.nf-plays.start { color: #fff; background: #4cc657; box-shadow: 0 2px 0 #1a7a35; }
