/* =========================================================
   media.css - stylesheet for a group of related pages (loads after main.css)
   Built from: gallery.css + videos.css
   ========================================================= */

/* #########################################################
   GALLERY - Photo gallery (/gallery, /gallery/{album})
   ######################################################### */

/* =========================================================
   Nepal Trip Holiday – Gallery page (/gallery, /gallery/{album})
   Uses the design tokens from main.css (--navy, --red, --yellow …)
   Hero photo wall · album "stories" · sticky filters · mosaic / masonry grid · lightbox
   ========================================================= */
.page-gallery { --gl-sticky: 88px; background: var(--bg); }

/* ---------- hero: moving photo wall ---------- */
.gl-hero { position: relative; overflow: hidden; color: #fff; min-height: 620px; display: flex; align-items: center; background: var(--navy-deep); isolation: isolate; }
.gl-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; z-index: -3; }
.gl-wall {
  position: absolute; top: -30%; bottom: -30%; right: -4%; width: 62%; z-index: -2;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; transform: rotate(-9deg);
}
.gl-wall-col { display: flex; flex-direction: column; gap: 16px; animation: glWallUp var(--d, 40s) linear infinite; will-change: transform; }
.gl-wall-col.is-down { animation-name: glWallDown; }
.gl-wall-col img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.gl-wall-col:nth-child(odd) img:nth-child(3n) { aspect-ratio: 1; }
.gl-wall-col:nth-child(even) img:nth-child(2n) { aspect-ratio: 4 / 5; }
@keyframes glWallUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes glWallDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.gl-hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--navy-deep) 0%, rgba(6, 25, 58, .94) 34%, rgba(6, 25, 58, .55) 62%, rgba(6, 25, 58, .15) 100%),
    linear-gradient(0deg, var(--navy-deep) 0%, transparent 28%),
    radial-gradient(circle at 12% 20%, rgba(220, 20, 32, .28), transparent 42%);
}
.gl-hero-content { position: relative; padding-top: 70px; padding-bottom: 110px; }
.gl-hero-content > * { max-width: 620px; }
.gl-crumb { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; margin-bottom: 20px; flex-wrap: wrap; }
.gl-crumb a:hover { color: var(--yellow); }
.gl-crumb i { font-size: 11px; opacity: .8; }
.gl-kicker {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--yellow); background: rgba(255, 210, 28, .12); border: 1px solid rgba(255, 210, 28, .35); padding: 7px 14px; border-radius: 40px;
}
.gl-title { font-size: 62px; font-weight: 900; line-height: 1.05; margin: 18px 0 14px; text-shadow: 0 4px 22px rgba(0, 0, 0, .35); }
.gl-title > span:first-child { display: block; }
.gl-script { font-family: var(--script); font-weight: 400; color: var(--yellow); font-size: 72px; display: inline-block; transform: rotate(-3deg); margin-top: 4px; }
.gl-sub { font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.gl-stats { display: flex; gap: 12px; list-style: none; margin: 30px 0 34px; padding: 0; flex-wrap: wrap; }
.gl-stats li {
  min-width: 108px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.gl-stats b { display: block; font-size: 30px; font-weight: 900; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.gl-stats span { display: block; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-top: 6px; }
.gl-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.gl-hero-actions .btn-red i { transition: transform .35s var(--ease); }
.gl-hero-actions .btn-red:hover i { transform: translateY(3px); }
.gl-btn-glass {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 50px; font-weight: 700; font-size: 16px; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.gl-btn-glass:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
.gl-scroll { position: absolute; left: 50%; bottom: 26px; width: 28px; height: 44px; margin-left: -14px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 20px; }
.gl-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--yellow); animation: glScroll 1.8s ease-in-out infinite; }
@keyframes glScroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- album stories ---------- */
.gl-browse { position: relative; padding: 70px 0 80px; }
.gl-head { text-align: center; margin-bottom: 26px; }
.gl-head h2 { font-size: 40px; font-weight: 900; color: var(--navy); line-height: 1.15; }
.gl-head h2 span { color: var(--red); }
.gl-head p { color: var(--muted); font-size: 17px; margin-top: 8px; }
.gl-stories {
  display: flex; gap: 26px; justify-content: center; overflow-x: auto; padding: 10px 6px 18px; scroll-snap-type: x proximity;
  scrollbar-width: thin; scrollbar-color: #cfd6e0 transparent;
}
.gl-story { flex: 0 0 auto; width: 118px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; scroll-snap-align: center; }
.gl-story-ring {
  position: relative; width: 108px; height: 108px; border-radius: 50%; padding: 4px; margin-bottom: 8px;
  background: conic-gradient(from 210deg, #cfd6e0, #e6ebf2, #cfd6e0); transition: transform .4s var(--ease);
}
.gl-story.is-active .gl-story-ring, .gl-story:hover .gl-story-ring {
  background: conic-gradient(from var(--gl-spin, 0deg), var(--yellow), var(--red), #7a1fd1, var(--navy), var(--yellow));
}
.gl-story.is-active .gl-story-ring { animation: glSpin 4s linear infinite; }
.gl-story:hover .gl-story-ring { transform: translateY(-4px) scale(1.04); }
@property --gl-spin { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes glSpin { to { --gl-spin: 360deg; } }
.gl-story-img { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 4px solid #fff; background: #e9eef6; }
.gl-story-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gl-story:hover .gl-story-img img { transform: scale(1.12); }
.gl-story-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; }
.gl-story-collage img { min-height: 0; }
.gl-story-icon {
  position: absolute; right: 0; bottom: 2px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; color: #fff; background: var(--red); border: 3px solid #fff; box-shadow: 0 6px 14px rgba(220, 20, 32, .35);
}
.gl-story b { font-size: 14.5px; font-weight: 700; color: var(--navy); line-height: 1.25; }
.gl-story small { font-size: 12.5px; color: var(--muted); }
.gl-story.is-active b { color: var(--red); }

/* ---------- sticky filter bar ---------- */
.gl-bar { position: sticky; top: var(--gl-sticky); z-index: 50; margin: 16px 0 26px; padding: 12px 0; transition: background .3s, box-shadow .3s; }
.gl-bar.is-stuck { background: rgba(243, 246, 251, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 10px 26px rgba(11, 42, 92, .08); }
.gl-bar-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.gl-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.gl-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 30px; border: 1.5px solid #dfe4ee;
  background: #fff; color: var(--navy); font-weight: 600; font-size: 14.5px; cursor: pointer; transition: all .25s var(--ease);
}
.gl-pill em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--bg); border-radius: 20px; padding: 2px 8px; transition: inherit; }
.gl-pill:hover { border-color: var(--navy); }
.gl-pill.is-active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 8px 18px rgba(11, 42, 92, .25); }
.gl-pill.is-active em { background: rgba(255, 255, 255, .16); color: #fff; }
.gl-search { position: relative; flex: 1 1 220px; max-width: 360px; margin-left: auto; }
.gl-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #9aa3b7; font-size: 14px; pointer-events: none; }
.gl-search input {
  width: 100%; height: 42px; padding: 0 16px 0 42px; border: 1.5px solid #dfe4ee; border-radius: 30px; background: #fff;
  font: inherit; font-size: 14.5px; color: var(--navy-dark); outline: none; transition: border-color .2s, box-shadow .2s;
}
.gl-search input:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(220, 20, 32, .1); }
.gl-views { display: inline-flex; padding: 4px; border-radius: 30px; background: #fff; border: 1.5px solid #dfe4ee; }
.gl-views button { width: 38px; height: 32px; border: 0; border-radius: 20px; background: none; color: var(--muted); cursor: pointer; transition: all .25s; }
.gl-views button.is-active { background: var(--red); color: #fff; }

/* ---------- album intro ---------- */
.gl-intro {
  display: flex; align-items: center; gap: 20px; padding: 22px 26px; margin-bottom: 22px; border-radius: 20px; color: #fff;
  background: linear-gradient(120deg, var(--navy) 0%, #183f86 60%, #7a1fd1 140%); box-shadow: var(--shadow-md);
  animation: glIntro .6s var(--ease) both;
}
@keyframes glIntro { from { opacity: 0; transform: translateY(14px); } }
.gl-intro-icon { flex-shrink: 0; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 24px; background: rgba(255, 255, 255, .12); color: var(--yellow); }
.gl-intro h2 { font-size: 24px; line-height: 1.2; }
.gl-intro p { color: rgba(255, 255, 255, .82); font-size: 15px; line-height: 1.55; margin-top: 4px; }
.gl-intro .gl-intro-tag { font-family: var(--script); color: var(--yellow); font-size: 19px; margin-top: 2px; }
.gl-intro-all { margin-left: auto; flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 30px; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .12); transition: background .25s; }
.gl-intro-all:hover { background: rgba(255, 255, 255, .24); }
.gl-count { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.gl-count b { color: var(--navy); }

/* ---------- grid: mosaic (bento) ---------- */
.gl-grid { --gap: 16px; }
.gl-grid.is-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; grid-auto-flow: dense; gap: var(--gap); }
.gl-grid.is-mosaic .t-wide { grid-column: span 2; }
.gl-grid.is-mosaic .t-tall { grid-row: span 2; }
.gl-grid.is-mosaic .t-big { grid-column: span 2; grid-row: span 2; }
/* masonry: natural photo proportions in columns */
.gl-grid.is-masonry { columns: 4 260px; column-gap: var(--gap); }
.gl-grid.is-masonry .gl-tile { break-inside: avoid; margin-bottom: var(--gap); }
.gl-grid.is-masonry .gl-link { height: auto; }
.gl-grid.is-masonry .gl-link img { height: auto; }

.gl-tile { position: relative; margin: 0; perspective: 900px; }
.gl-tile.is-later { display: none; }
.gl-tile.is-in { animation: glTileIn .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes glTileIn { from { opacity: 0; transform: translateY(26px) scale(.97); } }
.gl-link {
  position: relative; display: block; height: 100%; border-radius: 18px; overflow: hidden; background: #dde3ee; color: #fff;
  box-shadow: var(--shadow-sm); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d;
  transition: transform .5s var(--ease), box-shadow .4s var(--ease);
}
.gl-link:hover, .gl-link:focus-visible { box-shadow: var(--shadow-lg); }
.gl-link:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.gl-link img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.gl-link:hover img { transform: scale(1.1); }
.gl-link::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(6, 25, 58, .88) 0%, rgba(6, 25, 58, .25) 42%, transparent 62%); opacity: .75; transition: opacity .45s;
}
.gl-link:hover::after { opacity: 1; }
/* light sweep following the pointer */
.gl-tile-shine {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .28), transparent 45%);
}
.gl-link:hover .gl-tile-shine { opacity: 1; }
.gl-tile-badges { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; gap: 6px; }
.gl-badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 20px; font-style: normal; font-size: 12px; font-weight: 700; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.gl-badge-star { width: 28px; padding: 0; justify-content: center; background: var(--yellow); color: var(--navy); box-shadow: 0 6px 14px rgba(255, 210, 28, .45); }
.gl-badge-video { background: rgba(220, 20, 32, .92); color: #fff; }
.gl-tile-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; transform: translateY(8px); transition: transform .5s var(--ease); }
.gl-link:hover .gl-tile-info { transform: translateY(0); }
.gl-tile-album { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.gl-tile-info b { font-size: 18px; font-weight: 700; line-height: 1.25; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.t-big .gl-tile-info b { font-size: 24px; }
.gl-tile-loc { font-size: 13px; color: rgba(255, 255, 255, .85); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .5s; }
.gl-tile-loc i { color: var(--red); margin-right: 3px; }
.gl-link:hover .gl-tile-loc, .gl-link:focus-visible .gl-tile-loc { max-height: 24px; opacity: 1; }
.gl-tile-zoom {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--navy); font-size: 14px; transform: scale(.4) rotate(-90deg); opacity: 0; transition: all .45s var(--ease);
}
.gl-link:hover .gl-tile-zoom { transform: scale(1) rotate(0); opacity: 1; }
.gl-play {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px; color: #fff; background: var(--red); box-shadow: 0 0 0 0 rgba(220, 20, 32, .6);
  animation: glPulse 2.2s infinite;
}
.gl-play i { margin-left: 4px; }
@keyframes glPulse { 70% { box-shadow: 0 0 0 22px rgba(220, 20, 32, 0); } 100% { box-shadow: 0 0 0 0 rgba(220, 20, 32, 0); } }

/* ---------- empty / load more ---------- */
.gl-empty { text-align: center; padding: 60px 20px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-sm); }
.gl-empty-icon { display: inline-grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: rgba(220, 20, 32, .08); color: var(--red); font-size: 32px; margin-bottom: 16px; }
.gl-empty h3 { font-size: 22px; color: var(--navy); }
.gl-empty p { color: var(--muted); margin: 6px 0 20px; }
.gl-more { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 40px; }
.gl-more-track { width: 220px; height: 4px; border-radius: 4px; background: #dde3ee; overflow: hidden; }
.gl-more-track span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--yellow)); border-radius: 4px; transition: width .6s var(--ease); }
.gl-more-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 34px; border-radius: 50px; border: 2px solid var(--navy); background: #fff;
  color: var(--navy); font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; transition: all .3s var(--ease);
}
.gl-more-btn:hover { background: var(--navy); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- CTA with polaroids ---------- */
.gl-cta { position: relative; overflow: hidden; color: #fff; padding: 90px 0; isolation: isolate; }
.gl-cta-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; background-attachment: fixed; }
.gl-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6, 25, 58, .95) 0%, rgba(6, 25, 58, .8) 45%, rgba(220, 20, 32, .45) 100%); }
.gl-cta-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 50px; align-items: center; }
.gl-cta-text h2 { font-size: 46px; font-weight: 900; line-height: 1.1; margin: 16px 0 14px; }
.gl-cta-text h2 span { font-family: var(--script); font-weight: 400; color: var(--yellow); }
.gl-cta-text p { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .86); max-width: 540px; }
.gl-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.gl-btn-wa:hover { background: #25d366; border-color: #25d366; color: #fff; }
.gl-polaroids { position: relative; height: 360px; }
.gl-polaroid {
  position: absolute; width: 230px; margin: 0; padding: 12px 12px 44px; background: #fff; border-radius: 6px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .4); transition: transform .6s var(--ease);
}
.gl-polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.gl-polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-family: var(--script); font-size: 18px; color: var(--navy); }
.gl-polaroid-1 { left: 4%; top: 30px; transform: rotate(-9deg); }
.gl-polaroid-2 { left: 34%; top: 0; transform: rotate(4deg); z-index: 2; }
.gl-polaroid-3 { left: 62%; top: 60px; transform: rotate(11deg); }
.gl-polaroids:hover .gl-polaroid-1 { transform: rotate(-14deg) translate(-16px, -6px); }
.gl-polaroids:hover .gl-polaroid-2 { transform: rotate(0) translateY(-14px) scale(1.04); }
.gl-polaroids:hover .gl-polaroid-3 { transform: rotate(16deg) translate(16px, -4px); }

/* ---------- lightbox ---------- */
.gl-lb {
  position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-rows: auto 3px minmax(0, 1fr) auto auto; color: #fff;
  background: #04101f; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.gl-lb.is-open { opacity: 1; visibility: visible; }
.gl-lb-bg { position: absolute; inset: -60px; z-index: -1; background-size: cover; background-position: center; filter: blur(50px) saturate(1.4) brightness(.45); transform: scale(1.1); transition: background-image .6s; }
.gl-lb-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(4, 16, 31, .35), rgba(4, 16, 31, .82) 75%); }
.gl-lb-top { display: flex; align-items: center; gap: 16px; padding: 14px 20px; }
.gl-lb-counter { font-size: 15px; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.gl-lb-counter b { color: #fff; font-size: 18px; }
.gl-lb-album { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); padding: 5px 12px; border-radius: 20px; background: rgba(255, 210, 28, .12); }
.gl-lb-album:empty { display: none; }
.gl-lb-tools { margin-left: auto; display: flex; gap: 8px; }
.gl-lb-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; font-size: 16px; color: #fff; cursor: pointer;
  background: rgba(255, 255, 255, .1); transition: background .25s, transform .25s;
}
.gl-lb-btn:hover { background: rgba(255, 255, 255, .22); transform: scale(1.06); }
.gl-lb-btn.is-on { background: var(--red); }
.gl-lb-close:hover { background: var(--red); }
.gl-lb-progress { background: rgba(255, 255, 255, .08); }
.gl-lb-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--yellow)); }
.gl-lb-progress span.is-running { width: 100%; transition: width var(--slide, 5s) linear; }
.gl-lb-stage { position: relative; display: grid; place-items: center; padding: 16px 90px; min-height: 0; touch-action: pan-y; }
.gl-lb-stage img {
  max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  transition: opacity .35s, transform .45s var(--ease); user-select: none; -webkit-user-drag: none;
}
.gl-lb-stage.is-loading img { opacity: 0; transform: scale(.97); }
.gl-lb-stage img.from-right { animation: glFromRight .5s var(--ease); }
.gl-lb-stage img.from-left { animation: glFromLeft .5s var(--ease); }
@keyframes glFromRight { from { opacity: 0; transform: translateX(60px) scale(.98); } }
@keyframes glFromLeft { from { opacity: 0; transform: translateX(-60px) scale(.98); } }
.gl-lb-loader { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .15); border-top-color: var(--yellow); animation: glRotate .8s linear infinite; opacity: 0; transition: opacity .2s; }
.gl-lb-stage.is-loading .gl-lb-loader { opacity: 1; }
@keyframes glRotate { to { transform: rotate(360deg); } }
.gl-lb-video { width: min(100%, 1100px); aspect-ratio: 16 / 9; max-height: 100%; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); background: #000; }
.gl-lb-video iframe { width: 100%; height: 100%; border: 0; }
.gl-lb-nav {
  position: absolute; top: 50%; z-index: 3; width: 58px; height: 58px; margin-top: -29px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .1); color: #fff; font-size: 20px; transition: background .25s, transform .25s;
}
.gl-lb-nav:hover { background: var(--red); }
.gl-lb-prev { left: 20px; }
.gl-lb-next { right: 20px; }
.gl-lb-prev:hover { transform: translateX(-3px); }
.gl-lb-next:hover { transform: translateX(3px); }
.gl-lb-info { text-align: center; padding: 6px 20px 10px; min-height: 58px; }
.gl-lb-info h3 { font-size: 20px; font-weight: 700; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.gl-lb-loc { font-size: 14px; color: rgba(255, 255, 255, .75); margin-top: 4px; }
.gl-lb-loc i { color: var(--red); }
.gl-lb-desc { font-size: 14.5px; color: rgba(255, 255, 255, .7); max-width: 720px; margin: 6px auto 0; line-height: 1.55; }
.gl-lb-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 8px 20px 18px; scroll-behavior: smooth; scrollbar-width: none; }
.gl-lb-thumbs::-webkit-scrollbar { display: none; }
.gl-lb-thumb { flex: 0 0 auto; width: 74px; height: 52px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; opacity: .45; background: #111; transition: opacity .25s, border-color .25s, transform .25s; }
.gl-lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gl-lb-thumb:hover { opacity: .85; }
.gl-lb-thumb.is-active { opacity: 1; border-color: var(--yellow); transform: translateY(-3px); }
.gl-lb-toast {
  position: absolute; left: 50%; bottom: 110px; transform: translate(-50%, 20px); padding: 10px 18px; border-radius: 30px; font-size: 14px; font-weight: 600;
  background: #fff; color: var(--navy); opacity: 0; pointer-events: none; transition: all .35s var(--ease);
}
.gl-lb-toast.is-show { opacity: 1; transform: translate(-50%, 0); }
body.gl-lb-open { overflow: hidden; }
body.gl-lb-open .float-contact { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .gl-grid.is-mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .gl-title { font-size: 54px; }
  .gl-script { font-size: 62px; }
}
@media (max-width: 1100px) {
  .page-gallery { --gl-sticky: 90px; }
  .gl-wall { width: 80%; right: -22%; opacity: .7; }
  .gl-cta-inner { grid-template-columns: 1fr; }
  .gl-polaroids { height: 320px; max-width: 560px; width: 100%; margin: 0 auto; }
  .gl-cta-bg { background-attachment: scroll; }
}
@media (max-width: 767px) {
  .page-gallery { --gl-sticky: 76px; }
  .gl-hero { min-height: 560px; }
  .gl-wall { width: 130%; right: -40%; opacity: .45; }
  .gl-hero-shade { background: linear-gradient(0deg, var(--navy-deep) 5%, rgba(6, 25, 58, .78) 55%, rgba(6, 25, 58, .6) 100%); }
  .gl-hero-content { padding-top: 40px; padding-bottom: 90px; }
  .gl-title { font-size: 38px; }
  .gl-script { font-size: 46px; }
  .gl-sub { font-size: 16px; }
  .gl-stats { gap: 8px; margin: 22px 0 26px; }
  .gl-stats li { min-width: 0; flex: 1 1 calc(50% - 8px); padding: 12px 14px; }
  .gl-stats b { font-size: 24px; }
  .gl-scroll { display: none; }
  .gl-browse { padding: 50px 0 60px; }
  .gl-head h2 { font-size: 30px; }
  .gl-stories { justify-content: flex-start; gap: 16px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .gl-story { width: 92px; }
  .gl-story-ring { width: 84px; height: 84px; }
  .gl-story b { font-size: 13px; }
  /* two rows of filters would cover too much of a phone screen – scroll with the page instead */
  .gl-bar { position: relative; top: auto; margin: 8px 0 18px; padding: 0; }
  .gl-bar.is-stuck { background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .gl-bar-inner { gap: 10px; }
  .gl-pills { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
  .gl-pill { flex-shrink: 0; height: 38px; padding: 0 14px; font-size: 14px; }
  .gl-search { max-width: none; margin-left: 0; }
  .gl-search input, .gl-views { height: 40px; }
  .gl-intro { flex-wrap: wrap; padding: 18px; gap: 14px; }
  .gl-intro-icon { width: 48px; height: 48px; font-size: 20px; }
  .gl-intro-all { margin-left: 0; }
  .gl-grid { --gap: 10px; }
  .gl-grid.is-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  .gl-grid.is-masonry { columns: 2; }
  .gl-link { border-radius: 14px; }
  .gl-tile-info { padding: 12px 12px; }
  .gl-tile-info b { font-size: 14px; }
  .t-big .gl-tile-info b { font-size: 18px; }
  .gl-tile-album, .gl-tile-zoom { display: none; }
  .gl-play { width: 52px; height: 52px; margin: -26px 0 0 -26px; font-size: 17px; }
  .gl-cta { padding: 64px 0; }
  .gl-cta-text h2 { font-size: 34px; }
  .gl-polaroids { height: 250px; }
  .gl-polaroid { width: 150px; padding: 8px 8px 32px; }
  .gl-polaroid figcaption { font-size: 14px; bottom: 7px; }
  .gl-lb-stage { padding: 10px 0; }
  .gl-lb-stage img { border-radius: 0; }
  .gl-lb-nav { width: 44px; height: 44px; margin-top: -22px; font-size: 16px; background: rgba(0, 0, 0, .35); }
  .gl-lb-prev { left: 8px; }
  .gl-lb-next { right: 8px; }
  .gl-lb-top { padding: 10px 12px; gap: 10px; }
  .gl-lb-album { display: none; }
  .gl-lb-btn { width: 40px; height: 40px; }
  .gl-lb-hide-sm { display: none; }
  .gl-lb-info h3 { font-size: 17px; }
  .gl-lb-desc { display: none; }
  .gl-lb-thumb { width: 58px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .gl-wall-col, .gl-story.is-active .gl-story-ring, .gl-play, .gl-scroll span { animation: none; }
  .gl-tile.is-in, .gl-intro { animation: none; }
  .gl-link { transform: none; }
  .gl-cta-bg { background-attachment: scroll; }
}

/* #########################################################
   VIDEOS - Video gallery (/videos, /videos/{category})
   ######################################################### */

/* =========================================================
   Nepal Trip Holiday – Video gallery (/videos, /videos/{category})
   A "cinema" page in the brand navy on the site's tokens (--red, --yellow, --script …)
   Now-showing theater · shorts reel · channel library with sticky filters · ticket CTA · player
   ========================================================= */
.page-videos {
  --vd-sticky: 88px;
  --vd-ink: #061a3d;
  --vd-ink-2: #09234f;
  --vd-ink-3: #123168;
  --vd-line: rgba(255, 255, 255, .12);
  --vd-text: #d6e0f2;
  --vd-dim: #9fb0cf;
  background: var(--vd-ink);
}
.page-videos [hidden] { display: none !important; }

/* ---------- shared bits ---------- */
.vd-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 20px; font-style: normal;
  font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #fff; background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap;
}
.vd-chip i { font-size: 11px; color: var(--yellow); }
.vd-chip-short { background: rgba(220, 20, 32, .85); border-color: transparent; }
.vd-chip-short i { color: #fff; }
.vd-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 10px;
}
.vd-ghost {
  display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 18px; border-radius: 40px; font: 600 14px var(--font);
  color: #fff; background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(255, 255, 255, .22); cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.vd-ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .45); transform: translateY(-1px); }
.vd-ghost-lg { height: 54px; padding: 0 28px; font-size: 16px; font-weight: 700; }
.vd-trip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 8px 18px; border-radius: 40px; font-size: 14px;
  color: #fff; background: linear-gradient(120deg, rgba(220, 20, 32, .9), rgba(220, 20, 32, .6)); box-shadow: 0 10px 26px rgba(220, 20, 32, .3);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.vd-trip b { font-weight: 700; }
.vd-trip i:last-child { transition: transform .3s var(--ease); }
.vd-trip:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(220, 20, 32, .42); }
.vd-trip:hover i:last-child { transform: translateX(4px); }
.vd-head { text-align: center; margin-bottom: 30px; }
.vd-head h2 { font-size: 40px; font-weight: 900; line-height: 1.15; color: #fff; }
.vd-head h2 span { color: var(--yellow); font-family: var(--script); font-weight: 400; }
.vd-head p { color: var(--vd-dim); font-size: 17px; margin-top: 8px; }
.vd-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; text-align: left; }

/* ---------- hero ---------- */
.vd-hero { position: relative; overflow: hidden; color: #fff; padding: 64px 0 84px; background: var(--vd-ink); isolation: isolate; }
.vd-ambient { position: absolute; inset: -12%; z-index: -3; }
.vd-ambient img { width: 100%; height: 100%; object-fit: cover; filter: blur(70px) saturate(1.5) brightness(.55); transform: scale(1.1); transition: opacity .9s var(--ease); }
.vd-ambient img.is-fading { opacity: 0; }
.vd-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at 70% 60%, transparent 0%, rgba(6, 26, 61, .55) 55%, var(--vd-ink) 100%),
    linear-gradient(180deg, rgba(6, 26, 61, .75) 0%, transparent 30%, transparent 70%, var(--vd-ink) 100%);
}
.vd-grain {
  position: absolute; inset: 0; z-index: -1; opacity: .07; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: vdGrain 1s steps(4) infinite;
}
@keyframes vdGrain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }
/* film-strip perforations along the top and bottom edge */
.vd-perf {
  position: absolute; left: 0; right: 0; height: 22px; z-index: 1; opacity: .5; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .16) 0 14px, transparent 14px 34px);
  -webkit-mask: linear-gradient(180deg, transparent 0 5px, #000 5px 17px, transparent 17px); mask: linear-gradient(180deg, transparent 0 5px, #000 5px 17px, transparent 17px);
  animation: vdFilm 14s linear infinite;
}
.vd-perf-top { top: 0; }
.vd-perf-bottom { bottom: 0; animation-direction: reverse; }
@keyframes vdFilm { to { background-position: 340px 0; } }

.vd-hero-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.vd-hero-text { max-width: 660px; }
.vd-crumb { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; margin-bottom: 18px; flex-wrap: wrap; color: rgba(255, 255, 255, .8); }
.vd-crumb a:hover { color: var(--yellow); }
.vd-crumb i { font-size: 11px; opacity: .7; }
.vd-kicker {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  padding: 7px 14px 7px 12px; border-radius: 40px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
}
.vd-rec { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(220, 20, 32, .7); animation: vdRec 1.6s infinite; }
@keyframes vdRec { 0% { box-shadow: 0 0 0 0 rgba(220, 20, 32, .7); } 70% { box-shadow: 0 0 0 10px rgba(220, 20, 32, 0); } 100% { box-shadow: 0 0 0 0 rgba(220, 20, 32, 0); } }
.vd-title { font-size: 60px; font-weight: 900; line-height: 1.04; margin: 18px 0 14px; text-shadow: 0 6px 30px rgba(0, 0, 0, .45); }
.vd-title > span:first-child { display: block; }
.vd-script { font-family: var(--script); font-weight: 400; font-size: 70px; display: inline-block; transform: rotate(-3deg); color: var(--yellow); }
.vd-sub { font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .8); }
.vd-stats { display: grid; grid-template-columns: repeat(2, minmax(118px, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; flex-shrink: 0; }
.vd-stats li {
  position: relative; padding: 14px 16px 13px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--vd-line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: hidden;
}
.vd-stats li i { position: absolute; right: 12px; top: 12px; font-size: 14px; color: rgba(255, 210, 28, .75); }
.vd-stats b { display: block; font-size: 30px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.vd-stat-label { display: block; margin-top: 6px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--vd-dim); }

/* ---------- theater ---------- */
.vd-theater { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; }
/* the queue scrolls sideways on small screens – without min-width: 0 its full width would stretch the column */
.vd-theater > * { min-width: 0; }
.vd-screen { position: relative; }
.vd-screen-glow {
  position: absolute; inset: 6% 4% -4%; z-index: 0; border-radius: 30px; opacity: .75; filter: blur(46px) saturate(1.6);
  background: var(--vd-glow, none) center / cover; transition: opacity .6s;
}
.vd-screen-inner {
  position: relative; z-index: 1; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08) inset;
}
.vd-screen-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: vdKen 22s ease-in-out infinite alternate; transition: opacity .5s var(--ease), transform .5s; }
.vd-screen-poster.is-fading { opacity: 0; }
@keyframes vdKen { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -1.5%); } }
.vd-screen-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .3) 38%, transparent 60%), linear-gradient(90deg, rgba(0, 0, 0, .35), transparent 50%); pointer-events: none; }
.vd-screen-play {
  position: absolute; left: 50%; top: 46%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; border: 0; cursor: pointer; z-index: 2;
  display: grid; place-items: center; font-size: 30px; color: #fff; background: var(--red); box-shadow: 0 16px 40px rgba(220, 20, 32, .55);
  transition: transform .35s var(--ease), background .25s;
}
.vd-screen-play i { margin-left: 5px; position: relative; z-index: 1; }
.vd-screen-play:hover { transform: scale(1.1); }
.vd-screen-play:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.vd-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .6); animation: vdRing 2.4s ease-out infinite; }
.vd-ring-2 { animation-delay: 1.2s; }
@keyframes vdRing { from { transform: scale(1); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }
.vd-screen-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 30px; z-index: 1; transition: opacity .4s, transform .4s var(--ease); }
.vd-screen-info.is-fading { opacity: 0; transform: translateY(10px); }
.vd-screen-info h2 { font-size: 32px; font-weight: 900; line-height: 1.15; margin: 10px 0 8px; max-width: 720px; text-shadow: 0 3px 16px rgba(0, 0, 0, .5); }
.vd-screen-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; color: rgba(255, 255, 255, .82); }
.vd-screen-meta em { font-style: normal; }
.vd-screen-meta i { color: var(--yellow); margin-right: 3px; font-size: 13px; }
.vd-screen-frame { position: absolute; inset: 0; z-index: 3; background: #000; }
.vd-screen-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vd-screen.is-playing .vd-screen-play, .vd-screen.is-playing .vd-screen-info { visibility: hidden; }
.vd-screen-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; flex-wrap: wrap; position: relative; z-index: 1; }
.vd-screen-bar .vd-ghost { margin-left: auto; }

.vd-queue {
  border-radius: 22px; padding: 18px 14px 14px; background: rgba(9, 35, 79, .6); border: 1px solid var(--vd-line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.vd-queue h3 { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 0 6px 12px; color: rgba(255, 255, 255, .85); }
.vd-queue h3 small { margin-left: auto; font-size: 12.5px; letter-spacing: 0; color: var(--vd-dim); font-variant-numeric: tabular-nums; }
.vd-queue h3 small b { color: #fff; }
.vd-live { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 12px #22c55e; }
.vd-queue ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.vd-q-item {
  position: relative; width: 100%; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border: 0; border-radius: 14px;
  background: transparent; color: inherit; text-align: left; cursor: pointer; overflow: hidden; transition: background .25s;
}
.vd-q-item:hover { background: rgba(255, 255, 255, .06); }
.vd-q-item.is-active { background: rgba(255, 255, 255, .1); }
.vd-q-item:focus-visible { outline: 2px solid var(--yellow); outline-offset: -2px; }
.vd-q-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #111; }
.vd-q-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.vd-q-item:hover .vd-q-thumb img { transform: scale(1.08); }
.vd-q-thumb em { position: absolute; right: 5px; bottom: 5px; padding: 1px 5px; border-radius: 4px; font: 700 10.5px/1.5 ui-monospace, 'SFMono-Regular', Consolas, monospace; font-style: normal; background: rgba(0, 0, 0, .78); }
.vd-q-item.is-active .vd-q-thumb::after { content: "\f04b"; font: 900 14px 'Font Awesome 6 Free'; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(220, 20, 32, .45); }
.vd-q-text b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.3; color: #fff; }
.vd-q-text small { display: block; margin-top: 4px; font-size: 12px; color: var(--vd-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vd-q-progress { position: absolute; left: 8px; right: 8px; bottom: 2px; height: 2px; border-radius: 2px; overflow: hidden; background: transparent; }
.vd-q-progress span { display: block; height: 100%; width: 0; background: var(--yellow); }
.vd-q-item.is-timing .vd-q-progress { background: rgba(255, 255, 255, .1); }
.vd-q-item.is-timing .vd-q-progress span { animation: vdTimer var(--vd-rotate, 8s) linear forwards; }
.vd-theater.is-paused .vd-q-progress span { animation-play-state: paused; }
@keyframes vdTimer { to { width: 100%; } }

/* ---------- shorts reel ---------- */
.vd-reels { position: relative; padding: 70px 0 30px; color: #fff; overflow: hidden; }
.vd-reels .vd-head h2 { font-size: 36px; }
.vd-arrows { display: flex; gap: 8px; flex-shrink: 0; }
.vd-arrows button {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05);
  color: #fff; cursor: pointer; transition: all .25s var(--ease);
}
.vd-arrows button:hover:not(:disabled) { background: var(--red); border-color: var(--red); }
.vd-arrows button:disabled { opacity: .35; cursor: default; }
.vd-reel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 216px; gap: 18px; overflow-x: auto; padding: 16px 4px 26px;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, #000 88%, transparent); mask: linear-gradient(90deg, #000 88%, transparent);
}
.vd-reel-track::-webkit-scrollbar { display: none; }
.vd-reel {
  position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; scroll-snap-align: start; background: #111; isolation: isolate;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08) inset;
  transition: transform .45s var(--ease), box-shadow .45s;
}
.vd-reel:nth-child(odd) { transform: translateY(10px); }
.vd-reel:hover, .vd-reel:focus-visible { transform: translateY(-8px) scale(1.02); box-shadow: 0 28px 60px rgba(0, 0, 0, .6), 0 0 0 2px var(--yellow) inset; }
.vd-reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.2s var(--ease); }
.vd-reel:hover img { transform: scale(1.1); }
.vd-reel-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .1) 45%, rgba(0, 0, 0, .35) 100%); }
.vd-reel-top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; }
.vd-reel-top em { font: 700 12px var(--font); font-style: normal; padding: 5px 10px; border-radius: 20px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); }
.vd-reel-top em i { color: var(--yellow); margin-right: 3px; }
.vd-reel-play {
  position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center;
  font-size: 19px; background: rgba(255, 255, 255, .18); border: 1.5px solid rgba(255, 255, 255, .6); backdrop-filter: blur(6px);
  transform: scale(.85); opacity: .9; transition: all .35s var(--ease);
}
.vd-reel-play i { margin-left: 3px; }
.vd-reel:hover .vd-reel-play { transform: scale(1); background: var(--red); border-color: var(--red); opacity: 1; }
.vd-reel-info { position: absolute; left: 16px; right: 16px; bottom: 16px; }
.vd-reel-info b { display: block; font-size: 16px; line-height: 1.3; }
.vd-reel-info small { display: block; margin-top: 6px; font-size: 12.5px; color: rgba(255, 255, 255, .75); }
.vd-reel-info small i { color: var(--yellow); }

/* ---------- library ---------- */
.vd-library { position: relative; padding: 70px 0 90px; color: var(--vd-text); background: linear-gradient(180deg, var(--vd-ink) 0%, var(--vd-ink-2) 18%, var(--vd-ink-2) 100%); }
.vd-channels { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.vd-channel {
  display: inline-flex; align-items: center; gap: 12px; padding: 7px 18px 7px 7px; border-radius: 60px; background: var(--vd-ink-3); border: 1.5px solid var(--vd-line);
  color: #fff; transition: transform .3s var(--ease), border-color .3s, background .3s, box-shadow .3s;
}
.vd-channel:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .25); }
.vd-channel.is-active { background: linear-gradient(120deg, var(--red), #8e0d15); border-color: transparent; box-shadow: 0 12px 30px rgba(220, 20, 32, .35); }
.vd-channel-icon { position: relative; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #1a3f80; flex-shrink: 0; }
.vd-channel-icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .3s, transform .6s var(--ease); }
.vd-channel-icon i { position: relative; font-size: 16px; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.vd-channel:hover .vd-channel-icon img { transform: scale(1.15); opacity: .7; }
.vd-channel.is-active .vd-channel-icon i { color: var(--yellow); }
.vd-channel-text b { display: block; font-size: 14.5px; line-height: 1.2; }
.vd-channel-text small { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); margin-top: 2px; }

.vd-bar { position: sticky; top: var(--vd-sticky); z-index: 50; margin: 28px 0 24px; padding: 12px 0; transition: background .3s, box-shadow .3s; }
.vd-bar.is-stuck { background: rgba(9, 35, 79, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.vd-bar-inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.vd-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.vd-pill, .vd-seg button {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 30px; border: 1.5px solid var(--vd-line);
  background: var(--vd-ink-3); color: #fff; font: 600 14px var(--font); cursor: pointer; transition: all .25s var(--ease); white-space: nowrap;
}
.vd-pill em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 1px 7px; border-radius: 20px; background: rgba(255, 255, 255, .08); color: var(--vd-dim); }
.vd-pill:hover, .vd-seg button:hover { border-color: rgba(255, 255, 255, .3); }
.vd-pill.is-active { background: #fff; color: var(--navy-deep); border-color: #fff; }
.vd-pill.is-active em { background: var(--bg); color: var(--navy); }
.vd-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 30px; background: var(--vd-ink-3); border: 1.5px solid var(--vd-line); }
.vd-seg button { height: 32px; padding: 0 12px; border: 0; background: none; font-size: 13px; color: var(--vd-dim); }
.vd-seg button i { font-size: 11.5px; }
.vd-seg button.is-active { background: var(--red); color: #fff; }
.vd-search { position: relative; flex: 1 1 200px; max-width: 320px; margin-left: auto; }
.vd-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--vd-dim); font-size: 14px; pointer-events: none; }
.vd-search input {
  width: 100%; height: 42px; padding: 0 16px 0 42px; border-radius: 30px; border: 1.5px solid var(--vd-line); background: var(--vd-ink-3);
  font: inherit; font-size: 14.5px; color: #fff; outline: none; transition: border-color .2s, box-shadow .2s;
}
.vd-search input::placeholder { color: var(--vd-dim); }
.vd-search input:focus { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 210, 28, .12); }

.vd-intro {
  display: flex; align-items: center; gap: 20px; padding: 22px 26px; margin-bottom: 22px; border-radius: 20px; color: #fff;
  background: linear-gradient(120deg, #164088 0%, #0e3169 55%, #0a2656 100%); border: 1px solid var(--vd-line); border-left: 4px solid var(--red); animation: vdIn .6s var(--ease) both;
}
.vd-intro-icon { flex-shrink: 0; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 23px; background: rgba(255, 255, 255, .1); color: var(--yellow); }
.vd-intro h2 { font-size: 23px; line-height: 1.2; }
.vd-intro p { color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.55; margin-top: 4px; }
.vd-intro .vd-intro-tag { font-family: var(--script); color: var(--yellow); font-size: 19px; margin-top: 2px; }
.vd-intro-all { margin-left: auto; flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 30px; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .1); transition: background .25s; }
.vd-intro-all:hover { background: rgba(255, 255, 255, .2); }
.vd-count { font-size: 14px; color: var(--vd-dim); margin: 0 0 14px; }
.vd-count b { color: #fff; }

/* grid: 16:10 poster cards, "our picks" take a 2 × 2 slot (.is-big, set by videos.js while there are small cards to sit beside it). Rows get a fixed height from the column width
   (container units) – auto rows would collapse to 0 when a row holds nothing but a spanning pick */
.vd-library .container { container-type: inline-size; }
.vd-grid {
  --cols: 3; --gap: 20px;
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-auto-flow: dense; gap: var(--gap);
  grid-auto-rows: calc((100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols) * .625);
}
.vd-card { position: relative; min-width: 0; }
.vd-card.is-big { grid-column: span 2; grid-row: span 2; }
/* every other pick sits on the right, so the big cards zig-zag down the page (set by videos.js) */
.vd-card.is-big.is-flip { grid-column: 2 / span 2; }
@supports not (width: 1cqw) {
  .vd-grid { grid-auto-rows: auto; }
  .vd-card, .vd-card.is-big { aspect-ratio: 16 / 10; grid-row: auto; }
}
.vd-card.is-later { display: none; }
.vd-card.is-in { animation: vdIn .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes vdIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.vd-card-link {
  position: absolute; inset: 0; display: block; border-radius: 18px; overflow: hidden; color: #fff; background: var(--vd-ink-2); isolation: isolate;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .4), 0 0 0 1px rgba(255, 255, 255, .06) inset; transition: transform .45s var(--ease), box-shadow .45s;
}
.vd-card-link:hover, .vd-card-link:focus-visible { transform: translateY(-5px); box-shadow: 0 26px 50px rgba(0, 0, 0, .55), 0 0 0 1.5px rgba(255, 210, 28, .55) inset; }
.vd-card-link:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.vd-card-link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease), filter .5s; }
.vd-card-link:hover img { transform: scale(1.09); filter: saturate(1.15); }
.vd-card-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4, 20, 48, .92) 0%, rgba(4, 20, 48, .35) 42%, rgba(4, 20, 48, .1) 65%, rgba(4, 20, 48, .45) 100%); }
.vd-card-glare {
  position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .4s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .22), transparent 45%);
}
.vd-card-link:hover .vd-card-glare { opacity: 1; }
.vd-card-top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; gap: 6px; align-items: center; }
.vd-star { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--yellow); color: var(--navy-deep); box-shadow: 0 6px 16px rgba(255, 210, 28, .4); }
.vd-card-play {
  position: absolute; left: 50%; top: 44%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; display: grid; place-items: center; font-size: 19px;
  background: rgba(255, 255, 255, .16); border: 1.5px solid rgba(255, 255, 255, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transform: scale(.8); opacity: 0; transition: all .4s var(--ease);
}
.vd-card-play i { margin-left: 3px; }
.vd-card-link:hover .vd-card-play, .vd-card-link:focus-visible .vd-card-play { transform: scale(1); opacity: 1; background: var(--red); border-color: var(--red); }
.vd-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px 18px; }
.vd-card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 17px; font-weight: 700; line-height: 1.3; padding-right: 58px; }
.vd-card-meta { display: flex; flex-wrap: wrap; gap: 3px 12px; margin-top: 6px; padding-right: 58px; font-size: 12.5px; color: rgba(255, 255, 255, .72); }
.vd-card-meta i { color: var(--yellow); font-size: 11px; }
.vd-card-credit { opacity: .85; }
.vd-card-dur {
  position: absolute; right: 14px; bottom: 18px; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, .72);
  font: 700 12px/1.4 ui-monospace, 'SFMono-Regular', Consolas, monospace; letter-spacing: .02em;
}
.vd-card-scrub { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--red), var(--yellow)); transition: width 1.6s var(--ease); }
.vd-card-link:hover .vd-card-scrub { width: 100%; }
.vd-card.is-big .vd-card-body { padding: 26px 28px 28px; }
.vd-card.is-big .vd-card-title { font-size: 28px; font-weight: 900; padding-right: 80px; }
.vd-card.is-big .vd-card-meta { font-size: 14px; }
.vd-card.is-big .vd-card-play { width: 84px; height: 84px; margin: -42px 0 0 -42px; font-size: 26px; opacity: 1; transform: scale(1); background: rgba(220, 20, 32, .92); border-color: transparent; }
.vd-card.is-big .vd-card-dur { right: 24px; bottom: 30px; font-size: 13px; }

.vd-empty { text-align: center; padding: 60px 20px; color: var(--vd-dim); }
.vd-empty-icon { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font-size: 30px; background: var(--vd-ink-3); color: var(--yellow); }
.vd-empty h3 { color: #fff; font-size: 22px; margin-bottom: 6px; }
.vd-empty p { margin-bottom: 22px; }
.vd-more { max-width: 360px; margin: 40px auto 0; text-align: center; }
.vd-more-track { height: 4px; border-radius: 4px; background: var(--vd-ink-3); overflow: hidden; margin-bottom: 18px; }
.vd-more-track span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--red), var(--yellow)); transition: width .5s var(--ease); }
.vd-more-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 30px; border-radius: 40px; border: 1.5px solid rgba(255, 255, 255, .25);
  background: transparent; color: #fff; font: 700 15px var(--font); cursor: pointer; transition: all .3s var(--ease);
}
.vd-more-btn:hover { background: #fff; color: var(--navy-deep); transform: translateY(-2px); }

/* ---------- CTA: the ticket ---------- */
.vd-cta { position: relative; padding: 96px 0; overflow: hidden; color: #fff; isolation: isolate; }
.vd-cta-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; background-attachment: fixed; filter: saturate(1.1); }
.vd-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 26, 61, .96) 0%, rgba(6, 26, 61, .82) 50%, rgba(6, 26, 61, .5) 100%), linear-gradient(180deg, var(--vd-ink-2), transparent 25%); }
.vd-cta-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 50px; align-items: center; }
.vd-cta-text h2 { font-size: 46px; font-weight: 900; line-height: 1.12; }
.vd-cta-text h2 span { display: block; color: var(--yellow); font-family: var(--script); font-weight: 400; font-size: 1.1em; }
.vd-cta-text p { font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .82); margin: 16px 0 30px; max-width: 560px; }
.vd-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.vd-ticket {
  justify-self: center; display: grid; grid-template-columns: 1fr 96px; width: 100%; max-width: 470px; transform: rotate(-4deg);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55)); transition: transform .6s var(--ease);
}
.vd-ticket:hover { transform: rotate(0deg) scale(1.02); }
.vd-ticket-main, .vd-ticket-stub { position: relative; padding: 26px 26px 24px; }
.vd-ticket-main {
  border-radius: 18px 0 0 18px; color: var(--navy-deep);
  background: linear-gradient(135deg, #fff9e3 0%, #ffe9a3 100%);
  -webkit-mask: radial-gradient(circle at 100% 0, transparent 12px, #000 13px) top / 100% 51% no-repeat, radial-gradient(circle at 100% 100%, transparent 12px, #000 13px) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle at 100% 0, transparent 12px, #000 13px) top / 100% 51% no-repeat, radial-gradient(circle at 100% 100%, transparent 12px, #000 13px) bottom / 100% 51% no-repeat;
}
.vd-ticket-stub {
  border-radius: 0 18px 18px 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; color: #fff;
  background: linear-gradient(160deg, var(--red), #8e0d15);
  border-left: 2px dashed rgba(255, 255, 255, .5);
  -webkit-mask: radial-gradient(circle at 0 0, transparent 12px, #000 13px) top / 100% 51% no-repeat, radial-gradient(circle at 0 100%, transparent 12px, #000 13px) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle at 0 0, transparent 12px, #000 13px) top / 100% 51% no-repeat, radial-gradient(circle at 0 100%, transparent 12px, #000 13px) bottom / 100% 51% no-repeat;
}
.vd-ticket-stub span { writing-mode: vertical-rl; transform: rotate(180deg); font: 700 12px ui-monospace, Consolas, monospace; letter-spacing: .2em; opacity: .9; }
.vd-ticket-stub i { font-size: 24px; color: var(--yellow); }
.vd-ticket-brand { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; opacity: .65; }
.vd-ticket-admit { display: block; font-family: var(--brush, var(--font)); font-size: 50px; letter-spacing: .04em; line-height: 1; margin: 8px 0 18px; color: var(--red); text-transform: uppercase; }
.vd-ticket dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; border-top: 2px dashed rgba(6, 25, 58, .2); padding-top: 16px; }
.vd-ticket dt { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .55; }
.vd-ticket dd { font-size: 16px; font-weight: 800; margin-top: 2px; }

/* ---------- player ---------- */
body.vd-player-open { overflow: hidden; }
body.vd-player-open .float-contact { display: none; }
.vd-player { position: fixed; inset: 0; z-index: 2000; display: flex; flex-direction: column; color: #fff; background: #041634; visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility 0s .35s; }
.vd-player.is-open { visibility: visible; opacity: 1; transition: opacity .35s var(--ease); }
.vd-player-bg { position: absolute; inset: -10%; background-size: cover; background-position: center; filter: blur(60px) saturate(1.4) brightness(.35); transform: scale(1.1); transition: background-image .6s; }
.vd-player-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 16px; padding: 14px 20px; }
.vd-player-counter { font-size: 14px; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.vd-player-counter b { color: #fff; }
.vd-player-tools { margin-left: auto; display: flex; gap: 8px; }
.vd-player-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 16px; cursor: pointer; transition: background .2s; }
.vd-player-btn:hover { background: rgba(255, 255, 255, .22); }
.vd-player-close:hover { background: var(--red); }
.vd-player-nav {
  position: absolute; top: 50%; z-index: 3; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .1); color: #fff; font-size: 18px; transition: background .2s, transform .2s;
}
.vd-player-nav:hover { background: var(--red); transform: scale(1.06); }
.vd-player-prev { left: 18px; }
.vd-player-next { right: 18px; }
.vd-player-body { position: relative; z-index: 1; flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; padding: 0 90px 28px; align-items: center; }
.vd-player-stage { min-width: 0; display: flex; align-items: center; justify-content: center; height: 100%; }
.vd-player-frame {
  width: 100%; max-height: 100%; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); animation: vdPop .45s var(--ease);
}
.vd-player-stage.is-short .vd-player-frame { width: auto; height: min(100%, 82vh); aspect-ratio: 9 / 16; }
@keyframes vdPop { from { opacity: 0; transform: scale(.96); } }
.vd-player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vd-player-info { max-height: 100%; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.vd-player-info h3 { font-size: 26px; font-weight: 900; line-height: 1.2; margin: 12px 0 10px; }
.vd-player-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.vd-player-meta em { font-style: normal; }
.vd-player-meta i { color: var(--yellow); margin-right: 3px; }
.vd-player-desc { margin-top: 14px; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .82); }
.vd-player-credit { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.vd-player-credit b { color: #fff; }
.vd-player-credit a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.vd-player-credit i { margin-right: 4px; }
.vd-trip-lg { margin-top: 20px; }
.vd-player-next-wrap { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--vd-line, rgba(255, 255, 255, .1)); }
.vd-player-next-wrap h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 10px; }
.vd-player-upnext { display: flex; flex-direction: column; gap: 6px; }
.vd-player-upnext button { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; padding: 6px; border: 0; border-radius: 12px; background: none; color: #fff; text-align: left; cursor: pointer; transition: background .2s; }
.vd-player-upnext button:hover { background: rgba(255, 255, 255, .08); }
.vd-player-upnext span:first-child { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #111; }
.vd-player-upnext img { width: 100%; height: 100%; object-fit: cover; }
.vd-player-upnext em { position: absolute; right: 4px; bottom: 4px; padding: 0 4px; border-radius: 3px; font: 700 10px/1.5 ui-monospace, Consolas, monospace; font-style: normal; background: rgba(0, 0, 0, .8); }
.vd-player-upnext b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; line-height: 1.3; }
.vd-player-toast {
  position: absolute; left: 50%; bottom: 26px; z-index: 5; padding: 11px 20px; border-radius: 30px; background: #fff; color: var(--navy-deep); font-weight: 600; font-size: 14px;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: all .3s var(--ease); max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.vd-player-toast.is-show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .vd-title { font-size: 52px; }
  .vd-script { font-size: 60px; }
  .vd-theater { grid-template-columns: minmax(0, 1fr) 300px; }
  .vd-q-item { grid-template-columns: 96px minmax(0, 1fr); }
  .vd-player-body { grid-template-columns: minmax(0, 1fr) 320px; padding: 0 80px 24px; }
}
@media (max-width: 1100px) {
  .page-videos { --vd-sticky: 90px; }
  .vd-hero-head { flex-direction: column; align-items: flex-start; }
  .vd-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .vd-theater { grid-template-columns: minmax(0, 1fr); }
  .vd-queue ol { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .vd-queue li { flex: 0 0 280px; scroll-snap-align: start; }
  .vd-grid { --cols: 2; }
  .vd-card.is-big.is-flip { grid-column: span 2; }
  .vd-cta-inner { grid-template-columns: 1fr; }
  .vd-cta-bg { background-attachment: scroll; }
  .vd-player-body { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); padding: 0 16px 16px; gap: 18px; align-items: start; }
  .vd-player-stage { height: auto; }
  .vd-player-stage.is-short .vd-player-frame { height: min(62vh, 640px); }
  .vd-player-nav { top: auto; bottom: 18px; margin: 0; }
}
@media (max-width: 767px) {
  .page-videos { --vd-sticky: 76px; }
  .vd-hero { padding: 40px 0 60px; }
  .vd-title { font-size: 38px; }
  .vd-script { font-size: 46px; }
  .vd-sub { font-size: 16px; }
  .vd-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vd-stats b { font-size: 24px; }
  .vd-screen-inner { border-radius: 16px; }
  .vd-screen-play { width: 66px; height: 66px; margin: -33px 0 0 -33px; font-size: 22px; top: 40%; }
  .vd-screen-info { padding: 16px; }
  .vd-screen-info .vd-chip { display: none; }
  .vd-screen-info h2 { font-size: 18px; margin: 0 0 6px; }
  .vd-screen-meta { font-size: 12.5px; gap: 4px 12px; }
  .vd-screen-meta span:last-child { display: none; }
  .vd-screen-bar .vd-ghost { display: none; }
  .vd-queue li { flex-basis: 250px; }
  .vd-head h2, .vd-reels .vd-head h2 { font-size: 30px; }
  .vd-arrows { display: none; }
  .vd-reel-track { grid-auto-columns: 168px; gap: 12px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .vd-reel { border-radius: 18px; }
  .vd-reel:nth-child(odd) { transform: none; }
  .vd-channels { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -16px; padding: 4px 16px 10px; scrollbar-width: none; }
  .vd-channel { flex-shrink: 0; }
  /* the filters would cover too much of a phone screen – scroll with the page instead */
  .vd-bar { position: relative; top: auto; margin: 16px 0 18px; padding: 0; }
  .vd-bar.is-stuck { background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .vd-pills, .vd-seg { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
  .vd-pill { flex-shrink: 0; }
  .vd-seg button { flex-shrink: 0; }
  .vd-search { max-width: none; margin-left: 0; }
  .vd-intro { flex-wrap: wrap; padding: 18px; gap: 14px; }
  .vd-intro-all { margin-left: 0; }
  .vd-grid { --cols: 1; --gap: 14px; }
  .vd-card.is-big, .vd-card.is-big.is-flip { grid-column: auto; grid-row: auto; }
  .vd-card.is-big .vd-card-title { font-size: 19px; padding-right: 58px; }
  .vd-card.is-big .vd-card-body { padding: 16px 18px 18px; }
  .vd-card.is-big .vd-card-play { width: 60px; height: 60px; margin: -30px 0 0 -30px; font-size: 19px; }
  .vd-card.is-big .vd-card-dur { right: 14px; bottom: 18px; }
  .vd-card-play { opacity: 1; transform: scale(.9); }
  .vd-cta { padding: 64px 0; }
  .vd-cta-text h2 { font-size: 34px; }
  .vd-ticket { grid-template-columns: 1fr 70px; transform: rotate(-2deg); }
  .vd-ticket-main { padding: 20px; }
  .vd-ticket-admit { font-size: 38px; }
  .vd-ticket dd { font-size: 14px; }
  .vd-player-top { padding: 10px 12px; }
  .vd-player-info h3 { font-size: 20px; }
  .vd-player-frame { border-radius: 0; margin: 0 -16px; width: calc(100% + 32px); }
  .vd-player-stage.is-short .vd-player-frame { margin: 0 auto; border-radius: 14px; }
  .vd-player-nav { width: 44px; height: 44px; font-size: 15px; bottom: 12px; }
  .vd-player-prev { left: 10px; }
  .vd-player-next { right: 10px; }
  .vd-player-info { padding-bottom: 60px; }
}
@media (hover: none) {
  .vd-card-play { opacity: 1; transform: scale(.9); }
}
@media (prefers-reduced-motion: reduce) {
  .vd-grain, .vd-perf, .vd-rec, .vd-ring, .vd-screen-poster { animation: none; }
  .vd-card.is-in, .vd-intro, .vd-player-frame { animation: none; }
  .vd-card-link, .vd-reel, .vd-ticket { transform: none !important; }
  .vd-cta-bg { background-attachment: scroll; }
}
