/* =====================================================================
   Pixels & Purpose: "immersive showcase" layer (homepage pilot)
   Loaded after styles.css + theme-light.css. Once Bryan approves the
   pilot, the font + icon blocks move into theme-light.css and this file
   is linked from the other pages.
   ===================================================================== */

/* ---------- 1. Type: Clash Display (headings) + Satoshi (body) ---------- */
/* Self-hosted from Fontshare (ITF Free Font License) */
@font-face { font-family: 'Clash Display'; src: url('../assets/fonts/clash-display-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url('../assets/fonts/clash-display-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url('../assets/fonts/clash-display-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../assets/fonts/satoshi-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../assets/fonts/satoshi-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../assets/fonts/satoshi-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/* Sci-fi accent face for the hero name and HUD labels. Self-hosted from Google Fonts (SIL OFL), latin, variable 400-900 */
@font-face { font-family: 'Orbitron'; src: url('../assets/fonts/orbitron-var.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }

:root {
  --pp-font-hud: 'Orbitron', 'Clash Display', system-ui, sans-serif;
  --pp-font-display: 'Clash Display', 'Satoshi', system-ui, sans-serif;
  --pp-font-body: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body,
.btn,
.admin-tab,
.quiz-option,
.quiz-field input,
.quiz-field select,
.ws-link-url,
button, input, select, textarea {
  font-family: var(--pp-font-body);
}

h1, h2, h3, h4, h5, h6,
.section-title,
.admin-stat-num, .book-actions-title, .book-cal-head h3, .book-day-num,
.book-pop-card h4, .book-pop-time, .brand-portfolio-card h4, .btn-book,
.es-step-num, .hero-stat-num, .hero-trust-item strong, .instagram-header h2,
.nav-brand-text, .nav-wordmark strong, .programme-card-body h4,
.resource-modal-header h3, .scrub-text h2, .stat-number, .state-heading h3,
.sv-num, .tr-pick-body strong, .world-popout-country, .world-popout-flag,
.world-title, .ws-app-preview-text strong, .ws-app-steps li::before,
.ws-for-list strong, .ws-link-preview-body strong, .ws-meta-chip strong,
.ws-module-number, .ws-module-time, .ws-outcome-number, .ws-partner-host strong,
.ws-partner-logo-fallback, .ws-partner-name strong, .ws-sample-body h4,
.ws-tier-head strong, .ws-tier-vs, .ws-timeline-time, .ws-video-meta h4,
.ws-video-subhead h3,
.hero-id-line, .typed-name {
  font-family: var(--pp-font-display);
}

h1, h2, .section-title, .world-title, .scrub-text h2 {
  font-weight: 600;
  letter-spacing: -0.012em;
}
h3, h4 { font-weight: 600; letter-spacing: 0; }

.btn { font-weight: 700; letter-spacing: 0.01em; }

/* Wide, letter-spaced wordmark echoing the logo's "PIXELS & PURPOSE" */
.nav-wordmark strong {
  font-family: var(--pp-font-display);
  font-weight: 600;
  font-size: 1.04rem;
  letter-spacing: 0.17em;
}
.nav-wordmark small { font-family: var(--pp-font-body); letter-spacing: 0.24em; }

/* ---------- 2. Icon sprite ---------- */
.pp-icon {
  width: 1.25em;
  height: 1.25em;
  display: inline-block;
  vertical-align: -0.22em;
  flex-shrink: 0;
  color: var(--pp-ink);
  --pp-icon-accent: #7c4dff;
  --pp-icon-accent-opacity: .28;
  overflow: visible;
}
.pp-icon--lg { width: 1.75em; height: 1.75em; }
.hero .pp-icon,
.page-header .pp-icon,
.cta-banner .pp-icon,
.footer .pp-icon,
.ep-dark .pp-icon,
.clients-section .pp-icon,
.world-section .pp-icon,
.scrub-section .pp-icon,
.ws-hero .pp-icon,
.ws-outcomes .pp-icon,
.show-band .pp-icon {
  color: #fff;
  --pp-icon-accent: #9d7bff;
  --pp-icon-accent-opacity: .45;
}
.section-label .pp-icon { width: 1.3em; height: 1.3em; margin-right: .15em; vertical-align: -0.3em; }
.programme-badge .pp-icon,
.art-band .pp-icon,
.art-card .pp-icon { color: #fff; --pp-icon-accent: #9d7bff; --pp-icon-accent-opacity: .5; }
.hero-id-points-icon .pp-icon { width: 1.15em; height: 1.15em; vertical-align: -0.18em; }
.brand-bullet-icon .pp-icon { color: #15803d; --pp-icon-accent: #22c55e; }
.skill-chip .pp-icon { width: 1.1em; height: 1.1em; }

/* ---------- 3. Big confident headlines ---------- */
.section-title {
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  line-height: 1.02;
}
.section-subtitle { font-size: clamp(1.02rem, 1.3vw, 1.18rem); }

.hero-step-headline h1 {
  font-size: clamp(2.7rem, 5.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero-step-headline .hero-tagline { font-size: clamp(1.05rem, 1.4vw, 1.3rem); }
.hero-id-line { letter-spacing: -0.01em; }

/* ---------- 4. 3D cuboid carousel ---------- */
.cube-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  perspective: 1300px;
  perspective-origin: 66% 46%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease, visibility 0s linear .7s;
}
.hero-stage-sticky:has(#step-headline.active) .cube-scene.is-ready {
  opacity: 1;
  visibility: visible;
  transition: opacity .7s ease .15s, visibility 0s;
}
/* The docked portrait dial makes room for the cubes while the headline shows */
body:has(#step-headline.active) .anime-intro.docked .anime-intro-svg {
  opacity: 0 !important;
  transform: translateX(120%) scale(0.92) !important;
}

.cube {
  position: absolute;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  pointer-events: none;
  will-change: transform;
}
.cube-body {
  position: absolute;
  left: 0;
  top: 0;
  transform-style: preserve-3d;
  pointer-events: auto;
  touch-action: pan-y;
  cursor: grab;
}
.cube-body:active { cursor: grabbing; }

.cube-face {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: #12141b;
  border: 1px solid rgba(184, 162, 255, 0.55);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 26px rgba(124, 77, 255, 0.38);
  color: #fff;
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
}
.cube-face > img,
.cube-face > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
/* glassy edge highlight */
.cube-face::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 38%, rgba(124, 77, 255, 0) 70%, rgba(124, 77, 255, 0.22) 100%);
  pointer-events: none;
}
.cube-edge {
  background:
    linear-gradient(160deg, #3a2a7a 0%, #1f1a3d 45%, #14161f 100%);
  border-color: rgba(184, 162, 255, 0.45);
}
.cube-face--thin { border-radius: 8px; }
.cube--back .cube-face { filter: blur(var(--cube-blur, 1px)) saturate(0.9); opacity: 0.88; }

.cube-face:focus-visible {
  outline: 3px solid #b8a2ff;
  outline-offset: -4px;
}
.cube-face:hover { border-color: rgba(214, 200, 255, 0.95); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 38px rgba(157, 123, 255, 0.75); }
.cube-face:hover .cube-chip { background: #7c4dff; border-color: rgba(255, 255, 255, 0.55); }
/* The label chip carries a small arrow so every face reads as a link */
.cube-chip::after { content: '\2197'; display: inline-block; margin-left: 0.35em; opacity: 0.75; font-weight: 700; }
/* Cubes can be dragged to spin; each face is still a link (the chip turns purple on hover) */
.cube-body, .cube-face { cursor: grab; }
.cube.is-dragging .cube-body, .cube.is-dragging .cube-face { cursor: grabbing; }

/* Each face is a size container so the label scales with the face */
.cube-face { container-type: size; }

.cube-chip {
  position: absolute;
  left: 50%;
  bottom: 7%;
  transform: translateX(-50%);
  z-index: 2;
  width: max-content;
  max-width: 88%;
  padding: 0.35em 0.8em 0.35em 0.7em;
  border-radius: 999px;
  background: rgba(18, 20, 27, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font: 700 clamp(9px, 9cqi, 14px)/1.2 var(--pp-font-body);
  letter-spacing: 0.02em;
  color: #fff;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.cube-chip::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9d7bff;
  margin-right: 6px;
  vertical-align: 1px;
  box-shadow: 0 0 8px #9d7bff;
}

/* Brand face: the real PNG logo, never redrawn */
.cube-brand {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(80% 80% at 50% 40%, #3b2a86 0%, #1b1f2a 70%);
}
.cube-brand img { width: 58%; height: auto; filter: drop-shadow(0 6px 18px rgba(124, 77, 255, 0.55)); }

/* Live mini-game: bingo */
.mini-bingo {
  position: absolute;
  inset: 0;
  padding: 12% 12% 22%;
  background: radial-gradient(90% 90% at 50% 20%, #2a1f5c 0%, #14161f 75%);
}
.mini-bingo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6%;
  width: 100%;
  height: 100%;
}
.mini-bingo-grid i {
  border-radius: 22%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: pp-bingo-tile 7.2s infinite;
  animation-delay: calc(var(--o, var(--i)) * 0.2s);
}
@keyframes pp-bingo-tile {
  0%, 3%   { background: rgba(255, 255, 255, 0.08); box-shadow: none; }
  6%, 74%  { background: #7c4dff; box-shadow: 0 0 10px rgba(157, 123, 255, 0.9); border-color: #c8b6ff; }
  80%, 100% { background: rgba(255, 255, 255, 0.08); box-shadow: none; }
}
.mini-bingo-call {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%) rotate(-8deg) scale(0.6);
  font: 700 clamp(18px, 2.2vw, 30px)/1 var(--pp-font-display);
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 0 14px #7c4dff, 0 0 30px #7c4dff;
  opacity: 0;
  animation: pp-bingo-call 7.2s infinite 3.4s;
}
@keyframes pp-bingo-call {
  0%, 52% { opacity: 0; transform: translate(-50%, -50%) rotate(-8deg) scale(0.6); }
  58%     { opacity: 1; transform: translate(-50%, -50%) rotate(-8deg) scale(1.15); }
  64%, 80% { opacity: 1; transform: translate(-50%, -50%) rotate(-8deg) scale(1); }
  88%, 100% { opacity: 0; transform: translate(-50%, -50%) rotate(-8deg) scale(1); }
}

/* Live mini-game: scoreboard */
.mini-score {
  position: absolute;
  inset: 0;
  padding: 11% 10% 22%;
  background: linear-gradient(170deg, #241b4d 0%, #14161f 80%);
  display: flex;
  flex-direction: column;
  gap: 8%;
  font-family: var(--pp-font-body);
}
.mini-score-head { display: flex; justify-content: space-between; align-items: center; }
.mini-score-head span {
  font: 700 10px/1 var(--pp-font-body);
  letter-spacing: 0.12em;
  color: #fecaca;
  background: rgba(239, 68, 68, 0.25);
  border: 1px solid rgba(239, 68, 68, 0.6);
  border-radius: 999px;
  padding: 3px 7px;
}
.mini-score-head b { font: 600 15px/1 var(--pp-font-display); color: #fff; }
.mini-score-head b i { font-style: normal; animation: pp-blink 1s steps(2) infinite; }
@keyframes pp-blink { 50% { opacity: 0.25; } }
.mini-score ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10%; flex: 1; justify-content: center; }
.mini-score li { display: grid; grid-template-columns: 34% 1fr; align-items: center; gap: 6px; }
.mini-score li span { font: 700 10.5px/1 var(--pp-font-body); color: #d9d2f5; }
.mini-score li em {
  display: block;
  height: 9px;
  border-radius: 99px;
  background: linear-gradient(90deg, #7c4dff, #c084fc);
  box-shadow: 0 0 10px rgba(157, 123, 255, 0.7);
  transform-origin: left center;
  animation: pp-score-bar calc(2.6s + var(--k) * 0.55s) ease-in-out infinite alternate;
}
.mini-score li:first-child em { background: linear-gradient(90deg, #22c55e, #86efac); box-shadow: 0 0 10px rgba(34, 197, 94, 0.7); }
@keyframes pp-score-bar { from { transform: scaleX(0.25); } to { transform: scaleX(0.95); } }

/* Mobile: three small cubes in a band under the headline */
@media (max-width: 768px) {
  .cube-scene { perspective: 900px; perspective-origin: 50% 80%; }
  #step-headline { justify-content: flex-start; padding-top: clamp(5rem, 13vh, 7rem); }
  .hero-step-headline h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  body:has(#step-headline.active) .anime-intro.docked { opacity: 0; }
  .cube-chip { font-size: clamp(8px, 10cqi, 11px); bottom: 6%; padding: 3px 7px; }
  .cube-chip::before { width: 5px; height: 5px; margin-right: 4px; }
  .mini-bingo-call { font-size: 16px; }
  .mini-score-head b { font-size: 11px; }
  .mini-score li span { font-size: 8.5px; }
  .mini-score li em { height: 6px; }
}

/* ---------- 5. Showcase sections ---------- */

/* Sticky section heads: the header pins while its cards scroll past */
.show-section {
  position: relative;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}
.show-head {
  max-width: 1240px;
  margin: 0 auto 2.4rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.show-head .section-label { margin-bottom: 0.9rem; }
.show-head .section-title { text-align: left; margin: 0; max-width: 14ch; }
.show-head .section-subtitle { text-align: left; margin: 1rem 0 0; max-width: 46ch; }
.show-head-actions { display: flex; gap: 0.6rem; align-items: center; }

.show-mobile-cta { display: none; text-align: center; margin-top: 0.5rem; }
.services-bg { background: var(--pp-bg); }

/* Horizontal snap carousel */
.snap-rail {
  --card-w: clamp(280px, 30vw, 420px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--card-w);
  gap: clamp(1rem, 1.6vw, 1.5rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: clamp(1.25rem, calc((100vw - 1240px) / 2 + 3rem), 50vw);
  padding: 0.5rem clamp(1.25rem, calc((100vw - 1240px) / 2 + 3rem), 50vw) 1.75rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.snap-rail::-webkit-scrollbar { display: none; }
.snap-rail > * { scroll-snap-align: start; }

.rail-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--pp-line);
  background: #fff;
  color: var(--pp-ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  box-shadow: 0 6px 18px rgba(27, 31, 42, 0.08);
}
.rail-btn:hover { background: var(--pp-ink); color: #fff; border-color: var(--pp-ink); }
.rail-btn:disabled { opacity: 0.35; cursor: default; background: #fff; color: var(--pp-ink); }
.rail-btn svg { width: 20px; height: 20px; }
.show-band .rail-btn { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); color: #fff; box-shadow: none; }
.show-band .rail-btn:hover { background: #fff; color: var(--pp-ink); }

/* Art card: full-bleed artwork with the copy over a gradient */
.art-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: #1b1f2a;
  isolation: isolate;
  box-shadow: 0 24px 60px rgba(27, 31, 42, 0.18);
  transform: translateZ(0);
}
.art-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.art-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18, 20, 27, 0) 30%, rgba(18, 20, 27, 0.55) 55%, rgba(18, 20, 27, 0.94) 100%);
}
.art-card:hover > img { transform: scale(1.06); }
.art-card-body { padding: clamp(1.25rem, 2vw, 1.75rem); }
.art-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font: 700 0.74rem/1 var(--pp-font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d4c6ff;
  margin-bottom: 0.7rem;
}
.art-card h3 {
  font-size: clamp(1.5rem, 2.2vw, 2.05rem);
  line-height: 1.05;
  color: #fff;
  margin: 0 0 0.6rem;
}
.art-card p { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; line-height: 1.5; margin: 0 0 1rem; }
.art-card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
}
.art-card-more::after { content: '\2192'; transition: transform .25s; }
.art-card:hover .art-card-more::after { transform: translateX(4px); }
.art-card:focus-visible { outline: 3px solid var(--pp-purple); outline-offset: 4px; }

/* Demo cards are shorter and come with a tag */
.art-card--demo { aspect-ratio: 3 / 4; }
.art-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(18, 20, 27, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font: 700 0.72rem/1 var(--pp-font-body);
  letter-spacing: 0.04em;
  color: #fff;
}
.art-card-tag .pp-icon { width: 1.05em; height: 1.05em; color: #fff; --pp-icon-accent: #9d7bff; --pp-icon-accent-opacity: .5; }

/* Dark band variant */
.show-band {
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(124, 77, 255, 0.35), transparent 60%),
    linear-gradient(180deg, #12141b 0%, #1b1f2a 100%);
  color: #f4f2fb;
  --text: #f4f2fb;
  --text-muted: #b9b4cc;
}
.show-band .section-title { color: #fff; }
.show-band .section-subtitle { color: #b9b4cc; }
.show-band .section-label { color: #c3b2ff; }

/* Full-bleed artwork band with parallax image */
.art-band {
  position: relative;
  min-height: clamp(460px, 78vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.art-band-img {
  position: absolute;
  inset: -12% 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  z-index: -2;
  will-change: transform;
}
.art-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 20, 27, 0.92) 0%, rgba(18, 20, 27, 0.6) 45%, rgba(18, 20, 27, 0.1) 100%),
    linear-gradient(0deg, rgba(18, 20, 27, 0.7) 0%, rgba(18, 20, 27, 0) 40%);
}
.art-band-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 4vw, 3rem);
}
.art-band .section-label { color: #c3b2ff; }
.art-band h2 {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.98;
  color: #fff;
  max-width: 12ch;
  margin: 0.8rem 0 1.2rem;
}
.art-band p { color: rgba(255, 255, 255, 0.82); font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 46ch; margin: 0 0 1.8rem; }
.art-band-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.art-band .btn-outline,
.show-band .btn-outline { color: #fff; background: transparent; border-color: rgba(255, 255, 255, 0.55); }
.art-band .btn-outline:hover,
.show-band .btn-outline:hover { background: #fff; color: var(--pp-ink); border-color: #fff; }
.art-band-stats { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 2.4rem; flex-wrap: wrap; }
.art-band-stats div { display: flex; flex-direction: column; }
.art-band-stats b { font: 600 clamp(2rem, 3.4vw, 3rem)/1 var(--pp-font-display); color: #fff; }
.art-band-stats span { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: #c9c2e3; margin-top: 0.35rem; }

/* Inset variant: sits inside a content column (rounded, shorter) */
.art-band--inset {
  min-height: clamp(380px, 58vh, 540px);
  border-radius: 28px;
  margin: 0 0 3.5rem;
  box-shadow: 0 30px 70px -40px rgba(27, 31, 42, 0.6);
}
.art-band--inset .art-band-inner { padding: clamp(2rem, 5vw, 3.5rem); }
.art-band--inset h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); }

/* Flow steps (How it works) as artwork panels */
.flow-rail { --card-w: clamp(280px, calc((min(100vw, 1240px) - 2 * clamp(1.25rem, 4vw, 3rem) - 2 * clamp(1rem, 1.6vw, 1.5rem)) / 3), 400px); }
.flow-card { aspect-ratio: 4 / 5; }
.flow-card .flow-num {
  position: absolute;
  top: 16px;
  right: 18px;
  font: 600 clamp(3rem, 5vw, 4.4rem)/1 var(--pp-font-display);
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

/* Sticky section head + stacking cards (Pixels & Purpose brand section) */
@media (min-width: 1024px) {
  #brand .brand-grid { align-items: start; transform: none !important; }
  #brand .brand-text { position: sticky; top: 112px; }
  #brand .brand-text h2 { font-size: clamp(2.6rem, 4.4vw, 4.2rem); line-height: 1; }
  #brand .brand-portfolio { display: block; padding-bottom: 6vh; }
  #brand .brand-portfolio-card {
    position: sticky;
    min-height: 230px;
    margin-bottom: 22vh;
    padding: 2rem 2rem 2.2rem;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--pp-line);
    box-shadow: 0 24px 60px rgba(27, 31, 42, 0.12);
  }
  #brand .brand-portfolio-card:nth-child(1) { top: 112px; }
  #brand .brand-portfolio-card:nth-child(2) { top: 140px; }
  #brand .brand-portfolio-card:nth-child(3) { top: 168px; }
  #brand .brand-portfolio-card:nth-child(4) { top: 196px; margin-bottom: 0; }
  #brand .brand-portfolio-card:hover { transform: none; }
  #brand .brand-portfolio-card h4 { font-size: 1.7rem; margin-bottom: 0.4rem; }
  #brand .brand-portfolio-card p { font-size: 1.02rem; }
  #brand .brand-portfolio-icon { font-size: 2.4rem; margin-bottom: 1rem; }
  #brand .brand-portfolio-icon .pp-icon { width: 2.6rem; height: 2.6rem; }
}

/* ---------- 6. Scroll reveals (anime.js drives these; CSS is the fallback) ---------- */
.ix-ready [data-ix] { opacity: 0; transform: translateY(36px); }
.ix-ready [data-ix].ix-in { opacity: 1; transform: none; transition: opacity .8s ease, transform .9s cubic-bezier(0.2, 0.8, 0.2, 1); }

/* ---------- 7. Phones ---------- */
@media (max-width: 768px) {
  .show-head { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .show-head-actions { display: none; }
  .snap-rail { --card-w: 78vw; scroll-padding-inline: 1.25rem; padding-inline: 1.25rem; }
  .flow-rail { --card-w: 78vw; }
  .art-band { min-height: 560px; }
  .art-band::before {
    background: linear-gradient(0deg, rgba(18, 20, 27, 0.95) 0%, rgba(18, 20, 27, 0.65) 55%, rgba(18, 20, 27, 0.25) 100%);
  }
  .show-mobile-cta { display: block; }
}

/* ---------- 8. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .mini-bingo-grid i,
  .mini-bingo-call,
  .mini-score li em,
  .mini-score-head b i { animation: none !important; }
  .mini-bingo-grid i:nth-child(3n) { background: #7c4dff; }
  .mini-score li em { transform: scaleX(calc(0.9 - var(--k) * 0.15)); }
  .art-card > img, .art-card-more::after { transition: none; }
  .art-band-img { transform: none !important; inset: 0; height: 100%; }
  .ix-ready [data-ix] { opacity: 1; transform: none; }
  .snap-rail { scroll-behavior: auto; }
}

/* =====================================================================
   9. Inner pages (rollout, 2026-11-12)
   ===================================================================== */

/* Tall, full-bleed artwork page headers with big left-aligned headlines */
.page-header[data-art] {
  min-height: clamp(520px, 74vh, 780px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  padding: 8rem max(1.5rem, calc((100vw - 1240px) / 2 + 3rem)) clamp(3rem, 7vh, 5rem);
}
.page-header[data-art]::before {
  background:
    linear-gradient(90deg, rgba(18, 20, 27, 0.94) 0%, rgba(18, 20, 27, 0.72) 42%, rgba(18, 20, 27, 0.18) 100%),
    linear-gradient(0deg, rgba(18, 20, 27, 0.75) 0%, rgba(18, 20, 27, 0) 45%);
}
.page-header[data-art] > * { position: relative; z-index: 1; margin-left: 0; margin-right: 0; }
.page-header h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  max-width: 13ch;
  margin: 0.6rem 0 1.1rem;
}
.page-header p { font-size: clamp(1.02rem, 1.4vw, 1.22rem); max-width: 52ch; }
.page-header .ep-header-actions,
.page-header .hero-buttons { justify-content: flex-start; }
@media (max-width: 700px) {
  .page-header[data-art] { min-height: 560px; padding: 7rem 1.25rem 2.75rem; }
  .page-header[data-art] { background-position: 68% center; }
  .page-header[data-art]::before { background: linear-gradient(180deg, rgba(18, 20, 27, 0.05) 0%, rgba(18, 20, 27, 0.55) 38%, rgba(18, 20, 27, 0.94) 72%); }
}

/* Workshop / About hero: bigger headline */
.ws-hero h1 { font-size: clamp(3rem, 7.4vw, 6.6rem); line-height: 0.96; letter-spacing: -0.025em; }

/* Section heads on inner pages */
.sv-group-head h2,
.dl-block h2,
.es-section-title { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.02; }

/* Horizontal snap carousels: Services groups, workshop/about video rows */
.experiences-grid,
.ws-video-grid {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 31%, 380px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(124, 77, 255, 0.45) transparent;
  padding: 0.5rem 0.25rem 1.5rem;
  margin: 0 -0.25rem;
}
.experiences-grid > *,
.ws-video-grid > * { scroll-snap-align: start; }
.experiences-grid::-webkit-scrollbar,
.ws-video-grid::-webkit-scrollbar { height: 6px; }
.experiences-grid::-webkit-scrollbar-thumb,
.ws-video-grid::-webkit-scrollbar-thumb { background: rgba(124, 77, 255, 0.45); border-radius: 99px; }
@media (max-width: 768px) {
  .experiences-grid,
  .ws-video-grid { grid-auto-columns: 82%; }
}

/* CTA banners become artwork bands */
.cta-banner[data-band-art] {
  background:
    linear-gradient(90deg, rgba(18, 20, 27, 0.94) 0%, rgba(18, 20, 27, 0.75) 50%, rgba(18, 20, 27, 0.35) 100%),
    var(--band-art) center / cover no-repeat;
  min-height: clamp(340px, 46vh, 460px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta-banner[data-band-art] h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1; }
@media (max-width: 700px) {
  .cta-banner[data-band-art] {
    background:
      linear-gradient(180deg, rgba(18, 20, 27, 0.35) 0%, rgba(18, 20, 27, 0.9) 70%),
      var(--band-art) center / cover no-repeat;
  }
}

/* Live status dot (replaces the green-circle emoji) */
.pp-live-dot {
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22);
  margin-right: 0.35em;
  vertical-align: 0.05em;
  animation: pp-live 1.8s ease-in-out infinite;
}
@keyframes pp-live { 50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.08); } }

/* Icons sitting in the old emoji slots */
.es-module-icon .pp-icon,
.experience-icon .pp-icon,
.dm-tag .pp-icon,
.tr-badge .pp-icon { width: 1.4em; height: 1.4em; }
.es-module-icon,
.experience-icon { line-height: 1; }
.dl-icon .dl-badge { width: 2rem; height: 2rem; --pp-icon-accent-opacity: .32; }
.page-header .pp-icon, .cta-banner .pp-icon { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .pp-live-dot { animation: none; }
}

/* About stats row: Clash Display numerals are wider, keep three across on phones */
@media (max-width: 480px) {
  .about-stats { gap: 1rem; justify-content: space-between; }
  .about-stats .stat-number { font-size: 1.7rem; }
}

/* ---------- 10. Ambient background behind the cube hero ---------- */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #12141b url('../assets/video/hero-bg.jpg') center / cover no-repeat;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-bg-video.is-playing { opacity: 1; }
/* Keep the white headline high-contrast: darkest on the left, a floor fade at the bottom */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 20, 27, 0.88) 0%, rgba(18, 20, 27, 0.66) 34%, rgba(18, 20, 27, 0.28) 62%, rgba(18, 20, 27, 0.18) 100%),
    linear-gradient(180deg, rgba(18, 20, 27, 0.55) 0%, rgba(18, 20, 27, 0) 22%, rgba(18, 20, 27, 0) 72%, rgba(18, 20, 27, 0.75) 100%);
}
@media (max-width: 768px) {
  .hero-bg { background-image: url('../assets/video/hero-bg-mobile.jpg'), url('../assets/video/hero-bg.jpg'); }
  .hero-bg-video { display: none; }
  .hero-bg::after {
    background: linear-gradient(180deg, rgba(18, 20, 27, 0.55) 0%, rgba(18, 20, 27, 0.8) 45%, rgba(18, 20, 27, 0.6) 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-video { display: none; }
}

/* The docked dial slides off to the right while the headline shows; clip it so it can't widen the page */
.anime-intro { overflow: hidden; }
/* Random hero particles could land past the right edge on phones (clip keeps the sticky stage working) */
.hero.hero-stepped { overflow-x: clip; }
.hero-particles { overflow: hidden; }

/* ---------- 11. One continuous 3D journey: hero office -> globe -> world map (js/journey.js) ----------
   A single fixed canvas sits behind the hero and the world section. Everything here is scoped to
   .journey-on, which journey.js only adds once WebGL is running: without it the old hero background
   and the flat dot map show exactly as before. */
.journey { display: none; }
.journey-on .journey {
  display: block;
  position: fixed;
  inset: 0;
  z-index: -1; /* under every in-flow band; the hero and world section turn transparent over it */
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 68% 46%, #2c2650 0%, rgba(44, 38, 80, 0) 70%),
    linear-gradient(180deg, #1c1f2d 0%, #1a1d2b 55%, #141621 100%); /* lighter pass 2026-11-15; matches FOG in js/journey.js */
}
.journey.is-covered { visibility: hidden; }
.journey-canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: var(--office-opacity, 1);
  transition: opacity .35s linear;
  /* Keep the hero's left text column readable; --jm fades this out as the camera rises */
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,calc(1 - .72 * var(--jm, 1))) 0%, rgba(0,0,0,calc(1 - .45 * var(--jm, 1))) 28%, #000 52%);
          mask-image: linear-gradient(90deg, rgba(0,0,0,calc(1 - .72 * var(--jm, 1))) 0%, rgba(0,0,0,calc(1 - .45 * var(--jm, 1))) 28%, #000 52%);
}
.journey-canvas.no-mask { -webkit-mask-image: none; mask-image: none; }
.journey-canvas.is-booting { opacity: 0; transition: opacity 1.4s ease; }
@media (max-width: 768px) {
  .journey-canvas {
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,calc(1 - .65 * var(--jm, 1))) 0%, rgba(0,0,0,calc(1 - .45 * var(--jm, 1))) 40%, #000 70%);
            mask-image: linear-gradient(180deg, rgba(0,0,0,calc(1 - .65 * var(--jm, 1))) 0%, rgba(0,0,0,calc(1 - .45 * var(--jm, 1))) 40%, #000 70%);
  }
}
/* The office has its own floor and lights: the ambient loop is not needed under it */
.office-ready .hero-bg-video { display: none; }

/* Hero + world section become windows onto the canvas (the hero keeps its legibility gradient) */
.journey-on .hero,
.journey-on .world-section { background: transparent; }
.journey-on .hero::before,
.journey-on .hero::after { display: none; } /* banner image + the old full-hero darkening (it ended in a hard seam) */
.journey-on .hero-bg {
  background: none;
  /* The legibility gradient fades out before the hero's bottom edge, so no seam shows over the globe */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
}
.journey-on .world-section::before { opacity: .55; }

/* Dial: the globe takes its place, so it never docks back in */
.journey-on .anime-intro.docked .anime-intro-svg {
  opacity: 0 !important;
  transform: translateX(120%) scale(.92) !important;
}
.journey-on .anime-intro.world-entering .anime-intro-svg { animation: none; }

/* World map: header + pop-out card on the left, the globe in a big box on the right */
.journey-on .world-sticky {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  grid-template-rows: minmax(0, 1fr) auto auto minmax(0, 1fr) auto;
  grid-template-areas:
    ".    globe"
    "head globe"
    "card globe"
    ".    globe"
    "prog prog";
  column-gap: clamp(1.5rem, 4vw, 4rem);
  row-gap: clamp(.9rem, 2.4vh, 1.6rem);
  padding-top: clamp(4.5rem, 10vh, 6rem);
}
.journey-on .world-layout { display: contents; }
.journey-on .world-header {
  grid-area: head;
  text-align: left;
  padding-right: 0;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .9), 0 2px 16px rgba(12, 13, 20, .9);
}
.journey-on .world-sub { margin: 0; }
.journey-on .world-layout > .world-popout {
  grid-area: card;
  width: 100%;
  max-width: 460px;
  background: linear-gradient(160deg, rgba(27, 31, 42, .82) 0%, rgba(18, 20, 27, .72) 100%);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.journey-on .world-layout > .world-canvas {
  grid-area: globe;
  align-self: center;
  justify-self: center;
  height: 100%;
  width: auto;
  max-width: 100%;
  max-height: none;
  aspect-ratio: 1;
  margin: 0;
  overflow: visible;
  border-radius: 0;
}
.journey-on .world-grid,
.journey-on .world-pins { display: none; }
.journey-on .world-progress { grid-area: prog; }

@media (max-width: 768px) {
  .journey-on .world-sticky {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    grid-template-areas: "head" "globe" "card" "prog";
    row-gap: .6rem;
    padding: clamp(4.25rem, 10vh, 5rem) 1rem .75rem;
  }
  .journey-on .world-header { text-align: center; }
  .journey-on .world-sub { margin: 0 auto; }
  .journey-on .world-layout > .world-popout { justify-self: center; max-width: min(420px, 100%); }
  .journey-on .world-layout > .world-canvas { min-height: 0; }
}

/* Step 1 copy: short and light */
.hero-step-portrait .hero-id-lede {
  margin: .9rem 0 0;
  max-width: 30ch;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.45;
  color: rgba(255,255,255,.82);
  text-shadow: 0 1px 3px rgba(0,0,0,.9), 0 3px 18px rgba(0,0,0,.85);
}
.hero-step-portrait .hero-id-lede strong { color: #fff; font-weight: 700; }
/* Step 1: jump straight to the train ride on the About page */
.hero-train-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1.4rem;
  padding: .8rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: clamp(.92rem, 1.1vw, 1.02rem);
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #7C4DFF, #5B2FE0);
  border: 1px solid rgba(214, 199, 255, .45);
  box-shadow: 0 8px 26px rgba(124, 77, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-train-btn .pp-icon { width: 1.15em; height: 1.15em; }
.hero-train-btn:hover, .hero-train-btn:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(124, 77, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .25); }
.hero-train-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hero-id-chips {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.hero-id-chips li {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: #e7e0ff;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: rgba(124, 77, 255, .16);
  border: 1px solid rgba(185, 162, 255, .3);
  backdrop-filter: blur(6px);
}
@media (max-width: 768px) {
  /* Phones: copy at the top, the office fills the lower half */
  .office-ready #step-portrait { justify-content: flex-start; padding-top: clamp(5.5rem, 13vh, 7rem); }
  .hero-step-portrait .hero-id-lede { margin-left: auto; margin-right: auto; }
  .hero-id-chips { justify-content: center; }
}

/* Opening shot (html.hero-intro, set by journey.js when it animates): the banner fills the screen,
   the step copy waits until the zoom-out into the monitor is nearly done */
.hero-intro .hero-stage { height: 400vh; }
.hero-stage.in-intro .hero-step {
  opacity: 0 !important;
  transform: translateY(28px) scale(.985) !important;
  pointer-events: none !important;
}
.journey-on .hero-bg,
.journey-on .hero-particles { opacity: calc(1 - var(--hero-intro, 0)); }
.hero-stage.in-intro .hero-stage-hint { color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }

/* ---------- 12. Meet your host: a dark sci-fi HUD band that carries on from the journey ---------- */
/* The trainers band settles into graphite, the host band picks it up, then dissolves into the light page */
#for-trainers .art-band-inner { padding-bottom: calc(clamp(3rem, 7vw, 6rem) + 40px); }
#for-trainers::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: clamp(110px, 18vh, 170px);
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 20, 27, 0) 0%, rgba(18, 20, 27, .75) 55%, #12141b 100%);
}
.host-band {
  --text: #f4f2fb;
  --text-muted: #b9b4cc;
  --dissolve: clamp(150px, 24vh, 240px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #f4f2fb;
  padding-bottom: var(--dissolve);
  margin-top: -1px;
  background:
    radial-gradient(60% 55% at 22% 40%, rgba(124, 77, 255, .2), rgba(124, 77, 255, 0) 70%),
    radial-gradient(45% 50% at 85% 30%, rgba(94, 231, 255, .07), rgba(94, 231, 255, 0) 70%),
    #12141b;
}
/* Faint drifting HUD grid */
.host-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(185, 162, 255, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 162, 255, .09) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 65% at 50% 42%, #000 20%, transparent 100%);
          mask-image: radial-gradient(70% 65% at 50% 42%, #000 20%, transparent 100%);
  animation: host-grid 24s linear infinite;
}
@keyframes host-grid { to { background-position: 56px 56px, 56px 56px; } }
/* Purple dissolve into the light "company" section below */
.host-band::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: var(--dissolve);
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(36, 25, 74, 0) 0%,
    rgba(52, 36, 112, .45) 28%,
    rgba(185, 170, 240, .78) 60%,
    rgba(236, 233, 250, .96) 82%,
    var(--pp-bg, #f6f5fb) 100%);
}
.host-band + .brand-bg { border-top: 0; }
.host-band #about { position: relative; padding-bottom: 2.5rem; }

/* Copy */
.host-band .section-label {
  font-family: var(--pp-font-hud);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .32em;
  color: #5ee7ff;
}
.host-band .about-text h2 {
  font-family: var(--pp-font-hud);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  color: #fff;
  text-shadow: 0 0 18px rgba(124, 77, 255, .65);
}
.host-band .pp-icon { color: #e7e0ff; --pp-icon-accent: #9d7bff; --pp-icon-accent-opacity: .55; }
.host-band .section-label .pp-icon { color: #5ee7ff; }
.host-band .about-text .role { color: #b9a2ff; }
.host-band .about-text p { color: rgba(244, 242, 251, .74); }
.host-band .about-text p strong { color: #fff; }
.host-band .btn-outline { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .5); }
.host-band .btn-outline:hover { background: #fff; color: var(--pp-ink, #1b1f2a); border-color: #fff; }

/* Photo inside HUD brackets: rotating light edge, slow push-in, hologram scan, gentle float */
.host-frame { position: relative; justify-self: center; }
.host-frame::before {
  content: '';
  position: absolute;
  inset: -14px;
  pointer-events: none;
  --c: #b9a2ff; --l: 26px; --t: 2px;
  background:
    linear-gradient(var(--c), var(--c)) left top / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) left top / var(--t) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right top / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) right top / var(--t) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / var(--t) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / var(--t) var(--l) no-repeat;
  filter: drop-shadow(0 0 6px rgba(124, 77, 255, .9));
  animation: host-brackets 3.6s ease-in-out infinite;
}
@keyframes host-brackets {
  0%, 100% { inset: -14px; opacity: .95; }
  50% { inset: -20px; opacity: .6; }
}
@property --about-spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
#about .about-photo {
  border: 2px solid transparent;
  background:
    linear-gradient(#12141b, #12141b) padding-box,
    conic-gradient(from var(--about-spin), #7c4dff, #5ee7ff, rgba(124, 77, 255, .1), #b9a2ff, #7c4dff) border-box;
  box-shadow: 0 0 40px -6px rgba(124, 77, 255, .55), 0 30px 60px -28px rgba(0, 0, 0, .8);
  animation: about-spin 6s linear infinite, about-float 7s ease-in-out infinite;
}
@keyframes about-spin { to { --about-spin: 360deg; } }
@keyframes about-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
#about .about-photo img {
  border-radius: 22px;
  transform-origin: 60% 40%;
  animation: about-push 16s ease-in-out infinite alternate;
}
@keyframes about-push { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, 1%); } }
/* Scanlines over the photo, plus a light bar sweeping down */
#about .about-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: 22px;
  background: repeating-linear-gradient(180deg, rgba(94, 231, 255, .07) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
}
#about .about-photo::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 22%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(94, 231, 255, 0), rgba(94, 231, 255, .22) 70%, rgba(185, 162, 255, .55) 100%);
  mix-blend-mode: screen;
  animation: about-scan 4.8s cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes about-scan {
  0%   { transform: translateY(-110%); opacity: 0; }
  12%  { opacity: 1; }
  70%  { transform: translateY(480%); opacity: 1; }
  80%, 100% { transform: translateY(480%); opacity: 0; }
}
/* HUD readouts on the photo */
.host-hud {
  position: absolute;
  z-index: 2;
  font-family: var(--pp-font-hud);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #e7e0ff;
  padding: .3rem .55rem;
  border-radius: 6px;
  background: rgba(18, 20, 27, .62);
  border: 1px solid rgba(185, 162, 255, .35);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  white-space: nowrap;
}
.host-hud-tl { top: 12px; left: 12px; display: inline-flex; align-items: center; gap: .4rem; }
.host-hud-tl i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: host-live 1.4s ease-in-out infinite; }
@keyframes host-live { 50% { opacity: .25; } }
.host-hud-br { right: 12px; bottom: 12px; color: #5ee7ff; }

/* Waving hand, and the skill chips light up one after another */
#about .section-label .pp-icon { transform-origin: 70% 80%; animation: about-wave 3.2s ease-in-out infinite; }
@keyframes about-wave {
  0%, 60%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(16deg); }
  20%, 40% { transform: rotate(-8deg); }
}
.host-band .skill-chip {
  color: #e7e0ff;
  background: rgba(255, 255, 255, .04);
  border-color: rgba(185, 162, 255, .26);
  transition: none;
  animation: about-chip 7.5s ease-in-out infinite;
}
.host-band .skill-chip:nth-child(2) { animation-delay: 1.5s; }
.host-band .skill-chip:nth-child(3) { animation-delay: 3s; }
.host-band .skill-chip:nth-child(4) { animation-delay: 4.5s; }
.host-band .skill-chip:nth-child(5) { animation-delay: 6s; }
@keyframes about-chip {
  0%, 22%, 100% { background: rgba(255, 255, 255, .04); border-color: rgba(185, 162, 255, .26); color: #e7e0ff; transform: none; box-shadow: none; }
  8%, 14% { background: rgba(124, 77, 255, .3); border-color: #9d7bff; color: #fff; transform: translateY(-3px); box-shadow: 0 0 18px -2px rgba(124, 77, 255, .75); }
}
/* Entrance: the framed photo and the copy arrive from either side */
#about .about-grid.reveal { transform: none; }
#about .about-grid.reveal .host-frame { opacity: 0; transform: translateX(-40px) scale(.94); transition: opacity .9s ease, transform 1s cubic-bezier(.22, 1, .36, 1); }
#about .about-grid.reveal .about-text { opacity: 0; transform: translateX(40px); transition: opacity .9s ease .15s, transform 1s cubic-bezier(.22, 1, .36, 1) .15s; }
#about .about-grid.reveal.visible .host-frame,
#about .about-grid.reveal.visible .about-text { opacity: 1; transform: none; }
@media (max-width: 768px) {
  .host-band .about-text h2 { letter-spacing: .05em; }
  .host-frame::before { --l: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .host-band::before,
  .host-frame::before,
  #about .about-photo,
  #about .about-photo img,
  #about .section-label .pp-icon,
  .host-hud-tl i,
  .host-band .skill-chip { animation: none; }
  #about .about-photo::after { display: none; }
  #about .about-grid.reveal .host-frame,
  #about .about-grid.reveal .about-text { opacity: 1; transform: none; transition: none; }
}

/* ---------- 13. Hero name in the sci-fi face ---------- */
.hero .hero-step-portrait .hero-id-line {
  font-family: var(--pp-font-hud);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: clamp(1.15rem, 2.25vw, 1.9rem);
  line-height: 1.15;
  color: #fff;
  -webkit-text-fill-color: #fff;
  text-shadow: 0 0 10px rgba(124, 77, 255, .85), 0 0 26px rgba(124, 77, 255, .4), 0 2px 4px rgba(0, 0, 0, .9);
  animation: hero-name-flicker 6s steps(1, end) infinite;
}
.hero .hero-step-portrait .typed-name {
  font-family: var(--pp-font-hud);
  color: #b9a2ff;
  -webkit-text-fill-color: #b9a2ff;
}
.hero .hero-step-portrait .typed-name::after {
  content: '';
  width: .5em;
  height: .9em;
  margin-left: .2em;
  vertical-align: -.08em;
  background: #5ee7ff;
  box-shadow: 0 0 10px rgba(94, 231, 255, .9);
  text-shadow: none;
}
/* An occasional holo-flicker, like the screen behind */
@keyframes hero-name-flicker {
  0%, 91%, 93%, 96%, 100% { opacity: 1; }
  92%, 95% { opacity: .55; }
}
@media (max-width: 768px) {
  .hero .hero-step-portrait .hero-id-line { font-size: clamp(1.05rem, 5.4vw, 1.5rem); letter-spacing: .06em; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .hero-step-portrait .hero-id-line { animation: none; }
}

/* ---------- 14. Office stations: hologram labels that link to each business path (js/journey.js) ---------- */
.office-stations { position: absolute; inset: 0; z-index: 3; pointer-events: none; visibility: hidden; }
.office-stations.is-on { visibility: visible; }
.station-tag {
  --c: #7c4dff;
  position: absolute;
  left: 0; top: 0;
  display: grid;
  grid-template-columns: auto auto;
  column-gap: .5rem;
  align-items: baseline;
  padding: .45rem .7rem .5rem;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(160deg, rgba(27, 31, 42, .9), rgba(18, 20, 27, .8));
  border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), 0 0 18px -4px color-mix(in srgb, var(--c) 70%, transparent);
  /* No backdrop-filter: these tags move every frame over the live 3D scene, and re-blurring it
     each frame helped cause tiles to drop out. Slightly more solid fill instead. */
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity .45s ease, visibility 0s linear .45s, border-color .25s ease, box-shadow .25s ease, background .25s ease;
  will-change: transform;
}
.station-tag.is-on { pointer-events: auto; visibility: visible; opacity: 1; transition: opacity .45s ease, visibility 0s, border-color .25s ease, box-shadow .25s ease, background .25s ease; }
/* Leader line down to the hologram */
.station-tag::after {
  content: '';
  position: absolute;
  left: 50%; top: 100%;
  width: 1px; height: 30px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 90%, #fff), transparent);
}
.station-tag b {
  grid-row: span 2;
  font: 600 .62rem/1 var(--pp-font-hud);
  letter-spacing: .1em;
  color: color-mix(in srgb, var(--c) 70%, #fff);
}
.station-tag span { font: 600 .74rem/1.15 var(--pp-font-hud); letter-spacing: .08em; text-transform: uppercase; }
.station-tag small { font-size: .7rem; line-height: 1.2; color: rgba(231, 224, 255, .66); }
.station-tag.is-hot,
.station-tag:hover,
.station-tag:focus-visible {
  border-color: var(--c);
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 35%, #1b1f2a), rgba(18, 20, 27, .8));
  box-shadow: 0 0 0 1px var(--c), 0 0 30px -2px var(--c);
  outline: none;
}
.station-tag.is-hot small::after,
.station-tag:hover small::after,
.station-tag:focus-visible small::after { content: '  \2192'; color: #fff; }
@media (max-width: 768px) {
  .station-tag { padding: .3rem .45rem; border-radius: 8px; column-gap: .3rem; }
  .station-tag span { font-size: .56rem; letter-spacing: .04em; }
  .station-tag b { font-size: .5rem; }
  .station-tag small { display: none; }
  .station-tag::after { height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .station-tag, .station-tag.is-on { transition: none; }
}

/* ---------- 15. Event Systems: live mini-screens on each module card (js/es-samples.js) ---------- */
/* Each card opens with a small product screen. Everything is sized in container units (cqw/cqh) so the
   whole screen scales with the card. Base styles are the "hero frame" (also the reduced-motion frame);
   keyframes only add the motion around it. */
.es-sample {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: -0.35rem -0.35rem 1rem;
  border-radius: 12px;
  overflow: hidden;
  container-type: size;
  background:
    radial-gradient(85% 75% at 12% 0%, rgba(124, 77, 255, .4), transparent 62%),
    radial-gradient(70% 70% at 100% 100%, rgba(94, 231, 255, .1), transparent 60%),
    linear-gradient(160deg, #1c1740 0%, #12141c 68%);
  border: 1px solid rgba(124, 77, 255, .3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03), 0 14px 30px -18px rgba(27, 31, 42, .75);
  color: #e9e5ff;
}
.ess-in { position: absolute; inset: 0; font: 500 2.4cqw/1.2 var(--pp-font-body); }
.ess-in::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .07) .12cqw, transparent .16cqw);
  background-size: 3cqw 3cqw;
  -webkit-mask-image: radial-gradient(90% 80% at 50% 40%, #000, transparent);
          mask-image: radial-gradient(90% 80% at 50% 40%, #000, transparent);
}
:where(.ess-in) :where(ul, ol) { list-style: none; margin: 0; padding: 0; }
:where(.ess-in) b { font-weight: 700; }
:where(.ess-in) small { font-size: inherit; }
:where(.ess-in) i { font-style: normal; }
.es-sample .pp-icon { width: 1em; height: 1em; color: currentColor; --pp-icon-accent: currentColor; --pp-icon-accent-opacity: .35; vertical-align: -.14em; }
.ess-svg { width: 1em; height: 1em; display: inline-block; flex: none; }
.es-sample:not(.is-playing) *, .es-sample:not(.is-playing) *::before, .es-sample:not(.is-playing) *::after { animation-play-state: paused !important; }

/* ===== Shared chrome ===== */
.ess-logo {
  position: relative; display: inline-grid; place-items: center; flex: none;
  width: 1.5em; height: 1.5em; border-radius: .42em;
  background: linear-gradient(135deg, #8f66ff, #4b2fb3 55%, #1b1f2a);
  box-shadow: 0 0 .7em rgba(124, 77, 255, .55), inset 0 0 0 1px rgba(255, 255, 255, .22);
}
.ess-logo i { width: 56%; height: 30%; margin-top: -8%; border: .13em solid #fff; border-bottom: 0; border-radius: 1em 1em 0 0; }
.ess-logo::after { content: ''; position: absolute; left: 18%; right: 18%; top: 58%; height: .12em; border-radius: 1px; background: #5ee7ff; }
.ess-top {
  position: absolute; left: 0; right: 0; top: 0; height: 12cqh; padding: 0 3.4cqw;
  display: flex; align-items: center; gap: 1.6cqw;
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .02));
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: 2.6cqw; z-index: 2;
}
.ess-top > b { min-width: 0; font: 600 3cqw/1 var(--pp-font-display); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ess-top-r { margin-left: auto; display: flex; align-items: center; gap: 1.3cqw; flex: none; }
.ess-live {
  display: inline-flex; align-items: center; gap: .5em; padding: .4em .7em; border-radius: 99px;
  font: 700 1.7cqw/1 var(--pp-font-hud); letter-spacing: .14em; text-transform: uppercase;
  color: #fecaca; background: rgba(239, 68, 68, .16); border: 1px solid rgba(239, 68, 68, .5);
}
.ess-live i { width: .6em; height: .6em; border-radius: 50%; background: #ef4444; box-shadow: 0 0 .6em #ef4444; animation: pp-blink 1.2s steps(2) infinite; }
.ess-chip {
  display: inline-flex; align-items: center; gap: .45em; padding: .45em .8em; border-radius: 99px;
  font-size: 1.9cqw; font-weight: 600; line-height: 1.2; white-space: nowrap;
  color: #ddd3ff; background: rgba(124, 77, 255, .18); border: 1px solid rgba(124, 77, 255, .42);
}
.ess-chip--ai { color: #f5d0fe; background: rgba(217, 70, 239, .15); border-color: rgba(217, 70, 239, .45); }
.ess-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  padding: .55em .9em; border-radius: .7em; white-space: nowrap;
  font-size: 2cqw; font-weight: 700; line-height: 1.1;
  color: #e9e5ff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
}
.ess-btn--p {
  color: #fff; background: linear-gradient(180deg, #9470ff, #6a3df0); border-color: rgba(255, 255, 255, .22);
  box-shadow: 0 .6cqw 1.6cqw -.4cqw rgba(124, 77, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.ess-av {
  display: inline-grid; place-items: center; flex: none;
  width: 2.2em; height: 2.2em; border-radius: 50%;
  font: 700 1.9cqw/1 var(--pp-font-body); letter-spacing: .02em; color: #fff;
  background: radial-gradient(circle at 32% 28%, color-mix(in srgb, var(--c) 55%, #fff), var(--c) 62%, color-mix(in srgb, var(--c) 70%, #000));
  box-shadow: 0 0 0 .14em rgba(16, 18, 26, .9), 0 0 .9em color-mix(in srgb, var(--c) 55%, transparent);
  text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
}
.ess-panel {
  position: absolute; padding: 2.2cqw; border-radius: 2cqw; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .035));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 2cqw 5cqw -2cqw rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ess-ph-h { display: flex; align-items: center; justify-content: space-between; gap: 1cqw; font-size: 2.1cqw; color: #cfc6f5; }
.ess-ph-h b { display: inline-flex; align-items: center; gap: .45em; min-width: 0; color: #fff; white-space: nowrap; }
.ess-ph-h small { color: #9d97b8; white-space: nowrap; }
.ess-ok { color: #4ade80 !important; }
.ess-meter { height: 1cqw; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.ess-meter em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7c4dff, #5ee7ff); transform-origin: left; }
/* Rolling number: stacked values moved by a keyframe */
.ess-roll { display: inline-block; height: 1.2em; line-height: 1.2em; overflow: hidden; vertical-align: bottom; }
.ess-roll > span, .ess-roll > span > span { display: block; }
.ess-roll > span > span { height: 1.2em; }
@keyframes ess-roll-all { from { transform: none; } to { transform: translateY(-100%); } }
.ess-toast {
  position: absolute; z-index: 6; display: flex; align-items: center; gap: 1.2cqw;
  padding: 1.2cqw 1.8cqw; border-radius: 1.8cqw; white-space: nowrap;
  font-size: 2cqw; color: #fff;
  background: rgba(18, 20, 28, .92); border: 1px solid rgba(74, 222, 128, .45);
  box-shadow: 0 2cqw 4cqw -1cqw rgba(0, 0, 0, .75), 0 0 3cqw rgba(74, 222, 128, .18);
}
.ess-toast > .ess-svg { color: #4ade80; font-size: 1.15em; }
.ess-tap { position: absolute; z-index: 5; width: 4.4cqw; height: 4.4cqw; margin: -2.2cqw 0 0 -2.2cqw; border-radius: 50%; background: rgba(255, 255, 255, .3); border: 2px solid #fff; opacity: 0; pointer-events: none; }
.ess-cursor { position: absolute; z-index: 7; width: 2.6cqw; height: auto; filter: drop-shadow(0 .4cqw .5cqw rgba(0, 0, 0, .55)); }

/* Phone frame: tall, rising out of the bottom edge like a product shot */
.ess-ph {
  position: absolute; width: 29cqw; aspect-ratio: 9 / 18.5; padding: .85cqw; border-radius: 4.4cqw; z-index: 1;
  background: linear-gradient(145deg, #444a60, #15171f 38%, #2a2e3c);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 3cqw 6cqw -1cqw rgba(0, 0, 0, .75), 0 0 8cqw rgba(124, 77, 255, .28);
}
.ess-ph-scr { position: relative; height: 100%; border-radius: 3.6cqw; overflow: hidden; display: flex; flex-direction: column; background: linear-gradient(180deg, #1d1942, #101219 55%); }
.ess-ph-scr::before { content: ''; position: absolute; z-index: 4; top: 1cqw; left: 50%; width: 8cqw; height: 2.1cqw; margin-left: -4cqw; border-radius: 99px; background: #05060a; }
.ess-sb { flex: none; display: flex; justify-content: space-between; align-items: center; padding: 1.15cqw 2.6cqw .5cqw 3cqw; font-size: 1.7cqw; color: #fff; }
.ess-sb > span { display: flex; align-items: center; gap: .5cqw; }
.ess-sig { width: 2cqw; height: 1.2cqw; background: linear-gradient(90deg, #fff 0 20%, transparent 20% 27%, #fff 27% 47%, transparent 47% 54%, #fff 54% 74%, transparent 74% 81%, #fff 81%); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.ess-wifi { width: 1.7cqw; height: 1.2cqw; background: radial-gradient(circle at 50% 100%, #fff 0 18%, transparent 19% 38%, #fff 39% 58%, transparent 59% 78%, #fff 79% 98%, transparent 99%); clip-path: polygon(50% 100%, 0 12%, 100% 12%); }
.ess-bat { position: relative; width: 2.6cqw; height: 1.25cqw; padding: 1px; border-radius: .35cqw; border: 1px solid rgba(255, 255, 255, .7); background: linear-gradient(90deg, #fff 72%, transparent 72%) content-box; }
.ess-apph { flex: none; display: flex; align-items: center; gap: 1.1cqw; padding: .9cqw 2.4cqw 1.3cqw; font-size: 2.1cqw; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.ess-apph b { min-width: 0; font: 600 2.2cqw/1.1 var(--pp-font-display); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* QR code */
.ess-qr { display: grid; grid-template-columns: repeat(var(--n), 1fr); aspect-ratio: 1; padding: 6%; border-radius: 6%; background: #fff; }
.ess-qr i.on { background: #12141c; border-radius: 12%; }

/* ===== 1. QR check-in ===== */
.essq-phone { left: 5.5cqw; top: 8cqh; }
.essq-cam {
  position: relative; flex: none; margin: 1.8cqw 2.4cqw 0; aspect-ratio: 1 / .94; border-radius: 2.2cqw; overflow: hidden;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, #463e78, #15131f 72%);
}
.essq-cam .ess-qr { width: 54%; margin-top: -8%; transform: perspective(30cqw) rotateX(12deg) rotateZ(-4deg); box-shadow: 0 1cqw 2cqw rgba(0, 0, 0, .55); }
.essq-fr {
  position: absolute; inset: 9% 16% 22%;
  background:
    linear-gradient(#5ee7ff, #5ee7ff) 0 0 / 24% .4cqw, linear-gradient(#5ee7ff, #5ee7ff) 0 0 / .4cqw 24%,
    linear-gradient(#5ee7ff, #5ee7ff) 100% 0 / 24% .4cqw, linear-gradient(#5ee7ff, #5ee7ff) 100% 0 / .4cqw 24%,
    linear-gradient(#5ee7ff, #5ee7ff) 0 100% / 24% .4cqw, linear-gradient(#5ee7ff, #5ee7ff) 0 100% / .4cqw 24%,
    linear-gradient(#5ee7ff, #5ee7ff) 100% 100% / 24% .4cqw, linear-gradient(#5ee7ff, #5ee7ff) 100% 100% / .4cqw 24%;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 .6cqw rgba(94, 231, 255, .8));
}
.ess-scan { position: absolute; left: 16%; right: 16%; top: 12%; height: .35cqw; background: #5ee7ff; box-shadow: 0 0 1.2cqw .3cqw rgba(94, 231, 255, .7); animation: essq-scan 8s ease-in-out infinite; }
@keyframes essq-scan { 0% { top: 12%; opacity: 1; } 12% { top: 74%; } 24% { top: 12%; } 36% { top: 74%; opacity: 1; } 40%, 100% { top: 74%; opacity: 0; } }
.essq-cam small { position: absolute; left: 0; right: 0; bottom: 6%; text-align: center; font-size: 1.6cqw; color: #d9d2f5; }
.essq-alt { display: block; margin-top: 1.6cqw; text-align: center; font-size: 1.6cqw; color: #8e88ab; }
.essq-code { display: flex; justify-content: center; gap: .6cqw; margin-top: 1cqw; }
.essq-code i { display: grid; place-items: center; width: 3cqw; height: 3.6cqw; border-radius: .7cqw; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font: 700 1.8cqw/1 var(--pp-font-hud); color: #fff; }
.essq-ok {
  position: absolute; left: 0; right: 0; bottom: 0; top: 9.6cqw; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 1.1cqw; padding: 4cqw 2.4cqw 0; text-align: center;
  background: linear-gradient(180deg, #1c2a3a, #101219 60%);
  animation: essq-ok 8s infinite;
}
@keyframes essq-ok { 0%, 39% { opacity: 0; transform: translateY(2cqw); } 41% { opacity: 1; filter: brightness(1.6); } 43% { filter: none; } 45%, 93% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
.essq-avw { position: relative; }
.essq-av { font-size: 2.6cqw; }
.essq-tick { position: absolute; right: -.6cqw; bottom: -.4cqw; display: grid; place-items: center; width: 2.6cqw; height: 2.6cqw; border-radius: 50%; font-size: 1.6cqw; color: #fff; background: #22c55e; box-shadow: 0 0 0 .3cqw #12141c, 0 0 1.2cqw rgba(34, 197, 94, .8); }
.essq-ok b { font: 600 2.6cqw/1.15 var(--pp-font-display); color: #fff; }
.essq-ok small { font-size: 1.65cqw; color: #4ade80; }
.essq-ok .ess-btn { margin-top: .8cqw; width: 100%; font-size: 1.8cqw; }
.essq-host { left: 40cqw; right: 4cqw; top: 8cqh; bottom: 8cqh; display: flex; flex-direction: column; gap: 1.3cqw; }
.essq-host .ess-ph-h .pp-icon { color: #5ee7ff; }
.essq-count { display: flex; align-items: baseline; gap: 1.2cqw; }
.essq-count b { font: 700 5.6cqw/1 var(--pp-font-display); color: #fff; }
.essq-count b small { font-size: .45em; font-weight: 600; color: #8e88ab; }
.essq-count > span { font-size: 2cqw; color: #cfc6f5; }
.essq-roll > span { transform: translateY(-50%); animation: essq-roll 8s infinite; }
@keyframes essq-roll { 0%, 41% { transform: none; } 45%, 100% { transform: translateY(-50%); } }
.essq-meter { transform: scaleX(.875); animation: essq-meter 8s infinite; }
@keyframes essq-meter { 0%, 41% { transform: scaleX(.854); } 47%, 100% { transform: scaleX(.875); } }
.essq-feedwrap { flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent); mask-image: linear-gradient(180deg, #000 75%, transparent); }
.essq-feed { animation: essq-feed 8s cubic-bezier(.3, .7, .2, 1) infinite; }
@keyframes essq-feed { 0%, 41% { transform: translateY(-6.4cqw); } 47%, 100% { transform: none; } }
.essq-feed li { display: flex; align-items: center; gap: 1.3cqw; height: 6.4cqw; padding: 0 1cqw; border-radius: 1.2cqw; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.essq-feed li .ess-av { font-size: 1.7cqw; }
.essq-feed li > span:not(.ess-av) { flex: 1; min-width: 0; display: grid; gap: .3cqw; }
.essq-feed li b { font-size: 2.1cqw; color: #fff; white-space: nowrap; }
.essq-feed li small { font-size: 1.6cqw; color: #9d97b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.essq-feed time { font: 600 1.6cqw/1 var(--pp-font-hud); color: #8e88ab; }
.essq-new { background: rgba(74, 222, 128, .1); animation: essq-new 8s infinite; }
@keyframes essq-new { 0%, 41% { opacity: 0; background: rgba(74, 222, 128, .35); } 47% { opacity: 1; background: rgba(74, 222, 128, .3); } 80%, 100% { background: rgba(74, 222, 128, .1); } }

/* ===== 2. Projector scoreboard ===== */
.esss-timer { display: inline-flex; align-items: center; gap: .4em; padding: .38em .6em; border-radius: .5em; font: 700 2.2cqw/1.2 var(--pp-font-hud); letter-spacing: .04em; color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.esss-timer .pp-icon { color: #fde68a; margin-right: .1em; }
.esss-sec > span { animation: ess-roll-all 10s steps(10) infinite; }
.esss-cols { position: absolute; left: 4cqw; right: 4cqw; top: 15.5cqh; display: grid; grid-template-columns: 6cqw 1fr 24cqw 10cqw; gap: 2cqw; font: 600 1.5cqw/1 var(--pp-font-hud); letter-spacing: .16em; text-transform: uppercase; color: #8e88ab; }
.esss-cols span:first-child { text-align: center; }
.esss-cols span:last-child { text-align: right; padding-right: 1.6cqw; }
.esss-rank { position: absolute; left: 4cqw; width: 6cqw; top: 22cqh; display: grid; grid-auto-rows: 14cqh; }
.esss-rank li { display: grid; place-items: center; height: 12.5cqh; font: 700 2.4cqw/1 var(--pp-font-hud); color: #8e88ab; }
.esss-rank li:nth-child(-n+3)::before { content: ''; position: absolute; left: 50%; top: 50%; width: 4.4cqw; height: 4.4cqw; margin: -2.2cqw; border-radius: 50%; z-index: -1; }
.esss-rank li { position: relative; z-index: 0; }
.esss-rank li:nth-child(1) { color: #1b1f2a; } .esss-rank li:nth-child(1)::before { background: linear-gradient(135deg, #fde68a, #f59e0b); box-shadow: 0 0 1.6cqw rgba(251, 191, 36, .6); }
.esss-rank li:nth-child(2) { color: #1b1f2a; } .esss-rank li:nth-child(2)::before { background: linear-gradient(135deg, #f1f5f9, #94a3b8); }
.esss-rank li:nth-child(3) { color: #1b1f2a; } .esss-rank li:nth-child(3)::before { background: linear-gradient(135deg, #fed7aa, #c2410c); }
.esss-board { position: absolute; left: 12cqw; right: 4cqw; top: 22cqh; height: 54.5cqh; animation: esss-dip 9s infinite; }
@keyframes esss-dip { 0% { opacity: 0; } 4%, 96% { opacity: 1; } 100% { opacity: 0; } }
.esss-row {
  position: absolute; left: 0; right: 0; top: calc(var(--r) * 14cqh); height: 12.5cqh;
  display: grid; grid-template-columns: auto 1fr 24cqw 10cqw; gap: 2cqw; align-items: center; padding: 0 1.6cqw 0 1.2cqw;
  border-radius: 1.6cqw; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .07);
}
.esss-row .ess-av { font-size: 1.75cqw; }
.esss-name { min-width: 0; display: grid; gap: .3cqw; }
.esss-name b { font-size: 2.3cqw; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.esss-name small { font-size: 1.6cqw; color: #9d97b8; white-space: nowrap; }
.esss-bar { height: 1.1cqw; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.esss-bar em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 45%, #7c4dff), var(--c)); box-shadow: 0 0 1cqw var(--c); transform-origin: left; transform: scaleX(var(--w)); }
.esss-p { font: 700 2.8cqw/1 var(--pp-font-display); color: #fff; text-align: right; }
.esss-up { z-index: 1; background: linear-gradient(90deg, rgba(59, 130, 246, .2), rgba(255, 255, 255, .045)); border-color: rgba(96, 165, 250, .45); animation: esss-up 9s cubic-bezier(.5, 0, .2, 1) infinite; }
@keyframes esss-up { 0%, 44% { top: 14cqh; box-shadow: none; } 40% { box-shadow: 0 0 2.4cqw rgba(96, 165, 250, .7); } 52%, 100% { top: 0; } 60% { box-shadow: 0 0 2cqw rgba(96, 165, 250, .5); } 80% { box-shadow: none; } }
.esss-down { animation: esss-down 9s cubic-bezier(.5, 0, .2, 1) infinite; }
@keyframes esss-down { 0%, 44% { top: 0; } 52%, 100% { top: 14cqh; } }
.esss-up .esss-bar em { animation: esss-bar 9s infinite; }
@keyframes esss-bar { 0%, 38% { transform: scaleX(.86); } 44%, 100% { transform: scaleX(var(--w)); } }
.esss-pts > span { transform: translateY(-50%); animation: esss-pts 9s infinite; }
@keyframes esss-pts { 0%, 38% { transform: none; } 42%, 100% { transform: translateY(-50%); } }
.esss-plus { position: absolute; right: 9cqw; top: 15cqh; z-index: 2; padding: .3em .55em; border-radius: .5em; font: 700 2.2cqw/1 var(--pp-font-hud); color: #052e16; background: #4ade80; box-shadow: 0 0 1.6cqw rgba(74, 222, 128, .8); opacity: 0; animation: esss-plus 9s infinite; }
@keyframes esss-plus { 0%, 32% { opacity: 0; transform: translateY(2cqw) scale(.6); } 36% { opacity: 1; transform: none; } 46% { opacity: 1; transform: translateY(-3cqw); } 54%, 100% { opacity: 0; transform: translateY(-6cqw); } }
.esss-foot { position: absolute; left: 4cqw; right: 4cqw; bottom: 4cqh; display: flex; justify-content: space-between; gap: 2cqw; font-size: 1.7cqw; color: #9d97b8; white-space: nowrap; }
.esss-foot .pp-icon { color: #a78bfa; }

/* ===== 3. Marshal approval ===== */
.essj-phone { left: 5.5cqw; top: 6cqh; }
.essj-q { margin-left: auto; padding: .3em .6em; border-radius: 99px; font-size: 1.5cqw; font-weight: 700; white-space: nowrap; color: #fde68a; background: rgba(251, 191, 36, .16); }
.essj-card { position: relative; margin: 1.5cqw 1.7cqw 0; padding: 1.1cqw; border-radius: 2cqw; display: grid; gap: 1.1cqw; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .09); }
.essj-photo { position: relative; aspect-ratio: 4 / 3.3; border-radius: 1.3cqw; overflow: hidden; background: linear-gradient(180deg, #5b8def, #a78bfa 52%, #f9a8d4); }
.essj-sun { position: absolute; width: 20%; aspect-ratio: 1; right: 14%; top: 12%; border-radius: 50%; background: #fde68a; box-shadow: 0 0 2cqw #fde68a; }
.essj-hill { position: absolute; left: -25%; right: 25%; bottom: -38%; height: 70%; border-radius: 50%; background: #3f327a; }
.essj-hill--b { left: 35%; right: -25%; bottom: -46%; background: #2a2356; }
.essj-ppl i { position: absolute; bottom: 14%; width: 9%; height: 18%; border-radius: 40% 40% 12% 12%; background: #1b1f2a; }
.essj-ppl i::before { content: ''; position: absolute; left: 50%; top: -58%; width: 70%; aspect-ratio: 1; margin-left: -35%; border-radius: 50%; background: #1b1f2a; }
.essj-ppl i:nth-child(1) { left: 26%; } .essj-ppl i:nth-child(2) { left: 37%; } .essj-ppl i:nth-child(3) { left: 48%; }
.essj-ppl i:nth-child(4) { left: 31.5%; bottom: 38%; } .essj-ppl i:nth-child(5) { left: 42.5%; bottom: 38%; }
.essj-flag { position: absolute; left: 66%; bottom: 14%; width: .35cqw; height: 46%; background: #1b1f2a; }
.essj-flag::after { content: ''; position: absolute; left: 100%; top: 0; width: 4cqw; height: 2.6cqw; background: #ef4444; clip-path: polygon(0 0, 100% 30%, 0 70%); }
.essj-vid { position: absolute; left: 4%; top: 5%; display: inline-flex; align-items: center; gap: .3em; padding: .3em .5em; border-radius: .5em; font: 700 1.4cqw/1 var(--pp-font-hud); color: #fff; background: rgba(10, 12, 18, .6); }
.essj-stamp { position: absolute; left: 50%; top: 44%; padding: .35em .6em; border: .35cqw solid #4ade80; border-radius: .5em; font: 700 2.2cqw/1 var(--pp-font-hud); letter-spacing: .08em; text-transform: uppercase; color: #4ade80; background: rgba(10, 12, 18, .72); transform: translate(-50%, -50%) rotate(-12deg); animation: essj-stamp 7s infinite; }
@keyframes essj-stamp { 0%, 37% { opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(1.8); } 41% { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(.92); } 44%, 92% { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(1); } 98%, 100% { opacity: 0; } }
.essj-meta { display: flex; align-items: center; gap: 1cqw; min-width: 0; }
.essj-meta .ess-av { font-size: 1.5cqw; }
.essj-meta > span { min-width: 0; display: grid; gap: .2cqw; }
.essj-meta b { font-size: 1.9cqw; color: #fff; white-space: nowrap; }
.essj-meta small { font-size: 1.45cqw; color: #9d97b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.essj-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 1cqw; }
.essj-btns span { display: flex; align-items: center; justify-content: center; gap: .3em; padding: .6em 0; border-radius: 1cqw; font-size: 1.6cqw; font-weight: 700; }
.essj-no { color: #fca5a5; background: rgba(239, 68, 68, .12); border: 1px solid rgba(239, 68, 68, .4); }
.essj-yes { color: #fff; background: #22c55e; border: 1px solid #4ade80; box-shadow: 0 0 2cqw rgba(34, 197, 94, .5); animation: essj-yes 7s infinite; }
@keyframes essj-yes { 0%, 34% { color: #86efac; background: rgba(34, 197, 94, .14); box-shadow: none; } 36% { transform: scale(.94); } 39%, 92% { color: #fff; background: #22c55e; box-shadow: 0 0 2cqw rgba(34, 197, 94, .5); transform: none; } 100% { color: #86efac; background: rgba(34, 197, 94, .14); box-shadow: none; } }
.essj-tap { right: 18%; bottom: 3.6cqw; animation: essj-tap 7s infinite; }
@keyframes essj-tap { 0%, 22% { opacity: 0; transform: translate(-6cqw, 5cqw); } 31% { opacity: 1; transform: none; } 35% { transform: scale(.7); } 44%, 100% { opacity: 0; transform: scale(1.6); } }
.essj-calc { left: 40cqw; right: 4cqw; top: 8cqh; display: grid; gap: 1.2cqw; }
.essj-calc ul { display: grid; }
.essj-calc li { display: flex; justify-content: space-between; align-items: baseline; gap: 1cqw; padding: .9cqw 0; border-bottom: 1px dashed rgba(255, 255, 255, .12); font-size: 2cqw; color: #cfc6f5; animation: essj-li 7s calc(var(--d) * .35s) infinite both; }
.essj-calc li b { font: 700 2.1cqw/1 var(--pp-font-hud); color: #4ade80; }
@keyframes essj-li { 0%, 42% { opacity: 0; transform: translateX(2cqw); } 47%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.essj-total { display: flex; justify-content: space-between; align-items: center; padding: 1.1cqw 1.5cqw; border-radius: 1.2cqw; font-size: 2.1cqw; font-weight: 600; color: #fff; background: linear-gradient(90deg, rgba(34, 197, 94, .24), rgba(34, 197, 94, .06)); border: 1px solid rgba(74, 222, 128, .4); animation: essj-total 7s infinite; }
.essj-total b { font: 700 3.2cqw/1 var(--pp-font-display); color: #4ade80; text-shadow: 0 0 1.4cqw rgba(74, 222, 128, .6); }
@keyframes essj-total { 0%, 58% { opacity: 0; transform: scale(.9); } 62% { opacity: 1; transform: scale(1.04); } 65%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.essj-wait { position: absolute; left: 0; right: 0; top: 50%; display: flex; justify-content: center; align-items: center; gap: .5cqw; font-size: 1.8cqw; color: #9d97b8; opacity: 0; animation: essj-wait 7s infinite; }
.essj-wait i { width: .9cqw; height: .9cqw; border-radius: 50%; background: #a78bfa; animation: pp-blink .9s steps(2) infinite; }
.essj-wait i:nth-child(2) { animation-delay: .3s; } .essj-wait i:nth-child(3) { animation-delay: .6s; margin-right: .6cqw; }
@keyframes essj-wait { 0%, 34% { opacity: 1; } 38%, 100% { opacity: 0; } }
.essj-toast { left: 40cqw; bottom: 8cqh; animation: essj-toast 7s infinite; }
@keyframes essj-toast { 0%, 64% { opacity: 0; transform: translateY(3cqw); } 68%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ===== 4. Crew pass ===== */
.essc-phone { left: 5.5cqw; top: 6cqh; }
.essc-hi { flex: none; display: grid; gap: .5cqw; padding: 1.8cqw 0 1.1cqw; text-align: center; }
.essc-hi small { font-size: 1.5cqw; color: #9d97b8; }
.essc-hi b { font: 600 2.3cqw/1.1 var(--pp-font-display); color: #fff; }
.essc-pin { flex: none; display: flex; justify-content: center; gap: 1.1cqw; padding-bottom: 1.6cqw; }
.essc-pin i { position: relative; width: 3.4cqw; height: 4cqw; border-radius: .9cqw; border: 1px solid rgba(185, 162, 255, .4); background: rgba(255, 255, 255, .05); }
.essc-pin i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 1.2cqw; height: 1.2cqw; margin: -.6cqw; border-radius: 50%; background: #fff; box-shadow: 0 0 1cqw #b9a2ff; animation: essc-dot 8s calc(var(--d) * .55s) infinite both; }
@keyframes essc-dot { 0%, 8% { opacity: 0; transform: scale(.3); } 10%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
.essc-pad { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8cqw; padding: 0 2.6cqw; }
.essc-pad span { display: grid; place-items: center; height: 4.4cqw; border-radius: 1cqw; font: 600 2.1cqw/1 var(--pp-font-body); color: #fff; background: rgba(255, 255, 255, .065); }
.essc-pad span:nth-child(10), .essc-pad span:nth-child(12) { background: none; color: #cfc6f5; }
.essc-k { animation: essc-key 8s calc(var(--d) * .55s) infinite both; }
@keyframes essc-key { 0%, 6% { background: rgba(255, 255, 255, .065); } 8% { background: #7c4dff; box-shadow: 0 0 1.4cqw #7c4dff; transform: scale(.92); } 13%, 100% { background: rgba(255, 255, 255, .065); box-shadow: none; transform: none; } }
.essc-ok {
  position: absolute; left: 0; right: 0; bottom: 0; top: 9.4cqw; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 1cqw; padding: 5cqw 2.4cqw 0; text-align: center;
  background: linear-gradient(180deg, #172c26, #101219 60%);
  animation: essc-ok 8s infinite;
}
@keyframes essc-ok { 0%, 38% { opacity: 0; transform: scale(.96); } 42%, 93% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
.essc-shield { display: grid; place-items: center; width: 6.4cqw; height: 6.4cqw; border-radius: 50%; font-size: 3.4cqw; color: #4ade80; background: rgba(34, 197, 94, .14); box-shadow: 0 0 0 .5cqw rgba(34, 197, 94, .08), 0 0 3cqw rgba(34, 197, 94, .45); }
.essc-ok b { font: 600 2.6cqw/1.1 var(--pp-font-display); color: #fff; }
.essc-ok small { font-size: 1.7cqw; color: #4ade80; }
.essc-ok .ess-btn { margin-top: 1cqw; width: 100%; font-size: 1.7cqw; }
.essc-link { left: 40cqw; right: 4cqw; top: 8cqh; display: grid; gap: 1.2cqw; }
.essc-link .ess-ph-h .pp-icon { color: #5ee7ff; }
.essc-copied { display: inline-flex; align-items: center; gap: .3em; font-size: 1.6cqw; font-weight: 700; color: #4ade80; animation: essc-copied 8s infinite; }
@keyframes essc-copied { 0%, 4% { opacity: 0; } 8%, 30% { opacity: 1; } 36%, 100% { opacity: .55; } }
.essc-url { padding: 1.1cqw 1.4cqw; border-radius: 1cqw; font: 500 2cqw/1.2 ui-monospace, 'Cascadia Mono', Consolas, monospace; color: #b8b1d6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: rgba(5, 6, 10, .5); border: 1px solid rgba(124, 77, 255, .35); }
.essc-url b { color: #fff; }
.essc-meta { display: flex; flex-wrap: wrap; gap: .6cqw 2cqw; font-size: 1.7cqw; color: #9d97b8; }
.essc-meta .pp-icon { color: #a78bfa; }
.essc-team { left: 40cqw; right: 4cqw; top: 46cqh; display: grid; gap: 1.2cqw; }
.essc-team .ess-ph-h .pp-icon { color: #a78bfa; }
.essc-n { font-size: 1.8cqw; color: #4ade80; font-weight: 700; }
.essc-roll > span { transform: translateY(-50%); animation: essc-roll 8s infinite; }
@keyframes essc-roll { 0%, 44% { transform: none; } 48%, 100% { transform: translateY(-50%); } }
.essc-avs { display: flex; align-items: center; padding-left: 1cqw; }
.essc-avs .ess-av, .essc-more { margin-left: -.55cqw; font-size: 1.75cqw; }
.essc-more { display: inline-grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%; font-weight: 700; color: #cfc6f5; background: #2a2d3e; box-shadow: 0 0 0 .14em rgba(16, 18, 26, .9); }
.essc-new { animation: essc-new 8s infinite; }
@keyframes essc-new { 0%, 44% { opacity: 0; transform: scale(.2); } 48% { opacity: 1; transform: scale(1.2); } 52%, 100% { opacity: 1; transform: none; } }
.essc-note { font-size: 1.6cqw; color: #9d97b8; }
.essc-toast { left: 40cqw; bottom: 6cqh; border-color: rgba(124, 77, 255, .5); box-shadow: 0 2cqw 4cqw -1cqw rgba(0, 0, 0, .75), 0 0 3cqw rgba(124, 77, 255, .25); animation: essc-toast 8s infinite; }
.essc-toast .ess-av { font-size: 1.5cqw; }
@keyframes essc-toast { 0%, 46% { opacity: 0; transform: translateY(3cqw); } 50%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }

/* ===== 5. Games library ===== */
.essg-tabs { position: absolute; left: 4cqw; right: 0; top: 15.5cqh; display: flex; gap: 1cqw; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 84%, transparent); mask-image: linear-gradient(90deg, #000 84%, transparent); }
.essg-tabs span { flex: none; padding: .5em .9em; border-radius: 99px; font-size: 1.8cqw; font-weight: 600; color: #b8b1d6; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.essg-tabs .on { color: #fff; background: #7c4dff; border-color: #a78bfa; box-shadow: 0 0 1.6cqw rgba(124, 77, 255, .6); }
.essg-board { position: absolute; left: 4cqw; top: 28cqh; bottom: 5cqh; width: 40cqw; padding: 1.4cqw 1.6cqw; border-radius: 2cqw; background: linear-gradient(180deg, rgba(124, 77, 255, .16), rgba(255, 255, 255, .03)); border: 1px solid rgba(124, 77, 255, .3); box-shadow: 0 2cqw 5cqw -2cqw rgba(0, 0, 0, .65); }
.essg-bh { display: flex; justify-content: space-between; align-items: center; gap: 1cqw; font-size: 1.7cqw; }
.essg-bh b { font: 600 2.2cqw/1 var(--pp-font-display); color: #fff; }
.essg-bh > span { display: inline-flex; align-items: center; gap: .4em; color: #cfc6f5; white-space: nowrap; }
.essg-bh .ess-av { font-size: 1.3cqw; }
.essg-grid { position: relative; width: 27cqw; aspect-ratio: 1; margin: 1.2cqw auto 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: .6cqw; }
.essg-grid i { position: relative; border-radius: .8cqw; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.essg-grid i::before { content: ''; position: absolute; left: 28%; right: 28%; top: 50%; height: .35cqw; margin-top: -.18cqw; border-radius: 1px; background: rgba(255, 255, 255, .18); }
.essg-grid i.m::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; background: linear-gradient(135deg, #9470ff, #6a3df0); border: 1px solid #b9a2ff; box-shadow: 0 0 1cqw rgba(124, 77, 255, .65); animation: essg-mark 9s calc(var(--d, 0) * .28s) infinite both; }
.essg-grid i.m::before { z-index: 1; left: 50%; right: auto; top: 46%; width: 32%; height: 16%; margin: 0; border: solid #fff; border-width: 0 0 .4cqw .4cqw; border-radius: 0; background: none; transform: translate(-50%, -50%) rotate(-45deg); animation: essg-tick 9s calc(var(--d, 0) * .28s) infinite both; }
.essg-grid i.m:not([style])::before, .essg-grid i.m:not([style])::after { animation: none; }
@keyframes essg-mark { 0%, 4% { opacity: 0; transform: scale(.4); } 7% { opacity: 1; transform: scale(1.14); } 9%, 92% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes essg-tick { 0%, 6% { opacity: 0; } 9%, 92% { opacity: 1; } 96%, 100% { opacity: 0; } }
.essg-line { position: absolute; left: -4%; right: -4%; top: 50%; height: .6cqw; margin-top: -.3cqw; border-radius: 99px; background: #fde68a; box-shadow: 0 0 1.4cqw #fbbf24; transform-origin: left; animation: essg-line 9s infinite; }
@keyframes essg-line { 0%, 38% { transform: scaleX(0); opacity: 1; } 44%, 90% { transform: none; opacity: 1; } 95%, 100% { opacity: 0; } }
.essg-call { position: absolute; left: 50%; top: 50%; font: 700 5cqw/1 var(--pp-font-display); letter-spacing: .02em; color: #fff; text-shadow: 0 0 1.4cqw #7c4dff, 0 0 3cqw #7c4dff; transform: translate(-50%, -50%) rotate(-8deg); animation: essg-call 9s infinite; }
@keyframes essg-call { 0%, 43% { opacity: 0; transform: translate(-50%, -50%) rotate(-8deg) scale(.5); } 47% { opacity: 1; transform: translate(-50%, -50%) rotate(-8deg) scale(1.15); } 50%, 88% { opacity: 1; transform: translate(-50%, -50%) rotate(-8deg) scale(1); } 94%, 100% { opacity: 0; } }
.essg-side { position: absolute; left: 47cqw; right: 4cqw; top: 28cqh; bottom: 5cqh; display: grid; grid-template-rows: auto auto 1fr; gap: 1.2cqw; }
.essg-tile { display: flex; align-items: center; gap: 1.3cqw; min-width: 0; padding: 1.1cqw 1.3cqw; border-radius: 1.6cqw; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .035)); border: 1px solid rgba(255, 255, 255, .1); }
.essg-tile > .pp-icon { box-sizing: content-box; flex: none; padding: .4em; border-radius: .45em; font-size: 2.4cqw; color: #c4b5fd; background: rgba(124, 77, 255, .2); }
.essg-tile > span { min-width: 0; display: grid; gap: .3cqw; }
.essg-tile b { font-size: 1.95cqw; color: #fff; }
.essg-tile small { font-size: 1.55cqw; color: #9d97b8; }
.essg-ai { align-items: flex-start; border-color: rgba(217, 70, 239, .45); background: linear-gradient(135deg, rgba(217, 70, 239, .16), rgba(124, 77, 255, .08)); box-shadow: 0 0 3cqw -1cqw rgba(217, 70, 239, .5); }
.essg-ai > .pp-icon { color: #f5d0fe; background: rgba(217, 70, 239, .25); }
.essg-type { font-size: 1.75cqw !important; line-height: 1.4; color: #f3e8ff !important; }
.essg-type span { animation: essg-word 9s calc(var(--d) * .14s + 1s) infinite both; }
@keyframes essg-word { 0% { opacity: 0; } 2%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }

/* ===== 6. DISC room map ===== */
.essd-resp { display: inline-flex; align-items: center; gap: .35em; font-size: 1.8cqw; color: #cfc6f5; white-space: nowrap; }
.essd-resp .pp-icon { color: #a78bfa; margin-right: .1em; }
.essd-resp .ess-roll { color: #fff; font-weight: 700; }
.essd-roll > span { transform: translateY(-83.333%); animation: ess-roll-all 9s steps(6) infinite; }
.essd-chart { position: absolute; left: 4cqw; top: 16cqh; bottom: 5cqh; width: 52cqw; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: .5cqw; }
.essd-q { display: flex; align-items: flex-start; gap: .5em; padding: 1cqw 1.2cqw; border-radius: 1.4cqw; font-size: 1.45cqw; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.essd-q b { font: 700 2.6cqw/1 var(--pp-font-display); color: #fff; margin-top: -.2em; }
.essd-q--c, .essd-q--s { align-items: flex-end; }
.essd-q--i, .essd-q--s { flex-direction: row-reverse; text-align: right; }
.essd-q--d { background: rgba(239, 68, 68, .14); border: 1px solid rgba(239, 68, 68, .3); }
.essd-q--i { background: rgba(234, 179, 8, .13); border: 1px solid rgba(234, 179, 8, .3); }
.essd-q--c { background: rgba(59, 130, 246, .14); border: 1px solid rgba(59, 130, 246, .3); }
.essd-q--s { background: rgba(34, 197, 94, .13); border: 1px solid rgba(34, 197, 94, .3); }
.essd-ax { position: absolute; background: rgba(255, 255, 255, .22); }
.essd-ax--x { left: 0; right: 0; top: 50%; height: 1px; }
.essd-ax--y { top: 0; bottom: 0; left: 50%; width: 1px; }
.essd-p {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); z-index: 1;
  display: grid; place-items: center; width: 3.4cqw; height: 3.4cqw; margin: -1.7cqw;
  border-radius: 50%; font: 700 1.25cqw/1 var(--pp-font-body); color: #fff;
  background: radial-gradient(circle at 32% 28%, color-mix(in srgb, var(--c) 50%, #fff), var(--c) 65%);
  box-shadow: 0 0 0 .25cqw rgba(16, 18, 26, .85), 0 0 1.4cqw var(--c);
  animation: essd-fly 10s calc(var(--d) * .2s) cubic-bezier(.3, .7, .2, 1) infinite both;
}
@keyframes essd-fly {
  0% { left: 50%; top: 50%; transform: scale(0); opacity: 0; }
  5% { left: 50%; top: 50%; transform: scale(1); opacity: 1; }
  16%, 88% { left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); transform: none; opacity: 1; }
  95%, 100% { left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); transform: scale(.3); opacity: 0; }
}
.essd-leg { position: absolute; left: 60cqw; right: 4cqw; top: 17cqh; display: grid; gap: 1.3cqw; }
.essd-leg li { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "b s i" "e e e"; align-items: center; column-gap: 1cqw; row-gap: .6cqw; }
.essd-leg b { grid-area: b; display: grid; place-items: center; width: 2.7cqw; height: 2.7cqw; border-radius: .7cqw; font: 700 1.6cqw/1 var(--pp-font-display); color: #fff; background: var(--c); box-shadow: 0 0 1.2cqw color-mix(in srgb, var(--c) 60%, transparent); }
.essd-leg span { grid-area: s; font-size: 1.8cqw; color: #cfc6f5; }
.essd-leg i { grid-area: i; font: 700 1.9cqw/1 var(--pp-font-hud); color: #fff; }
.essd-leg em { grid-area: e; height: .9cqw; border-radius: 99px; background: var(--c); transform-origin: left; transform: scaleX(calc(var(--w) * 3)); opacity: .85; animation: essd-bar 10s infinite; }
@keyframes essd-bar { 0%, 8% { transform: scaleX(.05); } 30%, 100% { transform: scaleX(calc(var(--w) * 3)); } }
.essd-btn { position: absolute; right: 4cqw; bottom: 6cqh; font-size: 1.8cqw; }
.essd-btn .pp-icon { color: #f0abfc; }

/* ===== 7. Voting + word cloud ===== */
.essp-votes { display: inline-flex; align-items: center; gap: .35em; font-size: 1.8cqw; color: #cfc6f5; white-space: nowrap; }
.essp-votes .pp-icon { color: #a78bfa; margin-right: .1em; }
.essp-votes .ess-roll { color: #fff; font-weight: 700; }
.essp-roll > span { transform: translateY(-80%); animation: ess-roll-all 7.5s steps(5) infinite; }
.essp-list { position: absolute; left: 4cqw; top: 16cqh; width: 53cqw; display: grid; gap: 1.2cqw; }
.essp-row { display: grid; grid-template-columns: 8.4cqw 1fr auto; align-items: center; gap: 1.6cqw; padding: 1cqw 1.6cqw 1cqw 1cqw; border-radius: 1.6cqw; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .07); }
.essp-lead { border-color: rgba(251, 191, 36, .45); background: linear-gradient(90deg, rgba(251, 191, 36, .13), rgba(255, 255, 255, .03)); box-shadow: 0 0 3cqw -1cqw rgba(251, 191, 36, .45); }
.essp-th { position: relative; aspect-ratio: 4 / 3; border-radius: 1cqw; overflow: hidden; }
.essp-th i { position: absolute; left: 14%; right: 14%; bottom: -12%; height: 42%; border-radius: 45% 45% 0 0; background: rgba(27, 31, 42, .92); }
.essp-th--a { background: radial-gradient(circle at 32% 58%, #1b1f2a 0 9%, transparent 10%), radial-gradient(circle at 50% 52%, #1b1f2a 0 9%, transparent 10%), radial-gradient(circle at 68% 58%, #1b1f2a 0 9%, transparent 10%), linear-gradient(180deg, #f9a8d4, #f472b6 60%, #be185d); }
.essp-th--b { background: radial-gradient(circle at 36% 56%, #1b1f2a 0 9%, transparent 10%), radial-gradient(circle at 62% 54%, #1b1f2a 0 9%, transparent 10%), radial-gradient(circle at 80% 30%, #fde68a 0 8%, transparent 9%), linear-gradient(180deg, #93c5fd, #3b82f6 70%); }
.essp-th--c { background: radial-gradient(circle at 30% 56%, #1b1f2a 0 9%, transparent 10%), radial-gradient(circle at 48% 50%, #1b1f2a 0 9%, transparent 10%), radial-gradient(circle at 66% 56%, #1b1f2a 0 9%, transparent 10%), linear-gradient(180deg, #86efac, #16a34a 75%); }
.essp-l { min-width: 0; display: grid; gap: .8cqw; }
.essp-l b { display: flex; align-items: center; gap: .35em; font-size: 2cqw; color: #fff; white-space: nowrap; }
.essp-l b .pp-icon { color: #fde68a; filter: drop-shadow(0 0 .6cqw rgba(251, 191, 36, .7)); }
.essp-bar { display: block; height: 1cqw; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.essp-bar em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7c4dff, var(--c)); transform-origin: left; transform: scaleX(calc(var(--w) * 2)); animation: essp-bar 7.5s calc(var(--d) * .2s) infinite both; }
@keyframes essp-bar { 0% { transform: scaleX(.04); } 30% { transform: scaleX(calc(var(--w) * 2 - .06)); } 60%, 100% { transform: scaleX(calc(var(--w) * 2)); } }
.essp-pc { font: 700 2.7cqw/1 var(--pp-font-display); color: #fff; }
.essp-cloud { left: 61cqw; right: 4cqw; top: 16cqh; bottom: 5cqh; display: flex; flex-direction: column; gap: 1cqw; padding: 1.8cqw; }
.essp-cloud > small { font-size: 1.7cqw; color: #9d97b8; }
.essp-words { flex: 1; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; align-items: center; gap: .2em .8em; }
.essp-words b { font: 600 calc(var(--s) * .95cqw)/1.05 var(--pp-font-display); text-shadow: 0 0 1.4cqw currentColor; animation: essp-word 7.5s calc(var(--d) * .35s) infinite both; }
.essp-words b:nth-child(5) { font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', var(--pp-font-body); }
@keyframes essp-word { 0% { opacity: 0; transform: scale(.4); } 4%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
.essp-scan { position: absolute; left: 4cqw; bottom: 5cqh; display: flex; align-items: center; gap: 1.4cqw; }
.essp-scan .ess-qr { width: 7cqw; padding: .5cqw; border-radius: .7cqw; box-shadow: 0 0 2cqw rgba(124, 77, 255, .45); }
.essp-scan > span { display: grid; gap: .3cqw; }
.essp-scan b { font-size: 1.9cqw; color: #fff; }
.essp-scan small { font-size: 1.55cqw; color: #9d97b8; }

/* ===== 8. Gala lucky draw ===== */
.essl-eq { display: inline-flex; align-items: flex-end; gap: .3cqw; height: 2.4cqw; font-size: 2.4cqw; color: #fde68a; }
.essl-eq .pp-icon { margin-right: .3cqw; align-self: center; }
.essl-eq i { width: .45cqw; height: 100%; border-radius: 1px; background: #fde68a; transform-origin: bottom; transform: scaleY(.6); animation: essl-eq .8s ease-in-out infinite alternate; }
.essl-eq i:nth-child(3) { animation-delay: -.3s; } .essl-eq i:nth-child(4) { animation-delay: -.6s; } .essl-eq i:nth-child(5) { animation-delay: -.15s; }
@keyframes essl-eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
.essl-stage {
  position: absolute; left: 4cqw; top: 16cqh; bottom: 5cqh; width: 58cqw; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6cqw;
  border-radius: 2cqw; border: .5cqw solid #05060a;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 3px),
    radial-gradient(90% 80% at 50% 30%, #3e2b8c, #120d2c 80%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 0 4cqw rgba(124, 77, 255, .5), inset 0 0 3cqw rgba(0, 0, 0, .6);
}
.essl-bulbs { position: absolute; top: 1.2cqw; left: 0; right: 0; height: 1cqw; background: radial-gradient(circle, #fde68a 0 32%, transparent 68%) 0 50% / 3.2cqw 100% repeat-x; filter: drop-shadow(0 0 .5cqw rgba(253, 230, 138, .8)); animation: ld-bulbs 1.2s steps(2) infinite; }
.essl-prize { display: flex; align-items: center; gap: 1.2cqw; margin-top: 1.4cqw; }
.essl-prize > .pp-icon { font-size: 3.6cqw; color: #fde68a; filter: drop-shadow(0 0 1cqw rgba(251, 191, 36, .8)); }
.essl-prize > span { display: grid; gap: .4cqw; }
.essl-prize small { font: 700 1.4cqw/1 var(--pp-font-hud); letter-spacing: .2em; text-transform: uppercase; color: #fde68a; }
.essl-prize b { font: 600 2.5cqw/1 var(--pp-font-display); color: #fff; white-space: nowrap; }
.essl-reel {
  position: relative; width: 84%; height: 7.2cqw; overflow: hidden; border-radius: 1.2cqw;
  background: rgba(5, 6, 10, .6); border: 1px solid rgba(253, 230, 138, .55);
  box-shadow: inset 0 0 2cqw rgba(0, 0, 0, .8), 0 0 2.4cqw rgba(251, 191, 36, .25);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 24%, #000 76%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 24%, #000 76%, transparent);
}
.essl-names { display: flex; flex-direction: column; transform: translateY(calc((var(--n) - 1) * -7.2cqw)); animation: essl-spin 8s cubic-bezier(.12, .7, .18, 1) infinite; }
.essl-names span { flex: 0 0 7.2cqw; height: 7.2cqw; display: grid; place-items: center; font: 600 3cqw/1 var(--pp-font-display); color: #fff; white-space: nowrap; }
@keyframes essl-spin {
  0% { transform: translateY(0); filter: blur(0); }
  6% { filter: blur(1.5px); }
  44% { filter: blur(.4px); }
  50%, 94% { transform: translateY(calc((var(--n) - 1) * -7.2cqw)); filter: none; opacity: 1; }
  100% { transform: translateY(calc((var(--n) - 1) * -7.2cqw)); filter: none; opacity: 0; }
}
.essl-ticket { font: 600 1.6cqw/1 var(--pp-font-hud); letter-spacing: .14em; color: rgba(231, 224, 255, .8); animation: essl-in 8s infinite; }
@keyframes essl-in { 0%, 50% { opacity: 0; } 56%, 94% { opacity: 1; } 100% { opacity: 0; } }
.essl-win {
  position: relative; z-index: 2; margin-top: -3.4cqw;
  display: inline-flex; align-items: center; gap: .5em; padding: .5em 1.1em; border-radius: 99px;
  font: 700 1.6cqw/1 var(--pp-font-hud); letter-spacing: .22em; text-transform: uppercase; color: #1b1f2a;
  background: linear-gradient(135deg, #fde68a, #f59e0b); box-shadow: 0 0 3cqw rgba(251, 191, 36, .85);
  animation: essl-pop 8s infinite;
}
@keyframes essl-pop { 0%, 50% { opacity: 0; transform: scale(.4); } 55% { opacity: 1; transform: scale(1.15); } 58%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
.essl-conf i { position: absolute; top: -3cqw; left: calc(var(--x) * 1%); width: .9cqw; height: 1.5cqw; border-radius: 1px; background: #7c4dff; opacity: 0; animation: essl-fall 8s calc(var(--d) * 1s) infinite; }
.essl-conf i:nth-child(4n) { background: #fde68a; }
.essl-conf i:nth-child(4n+1) { background: #5ee7ff; }
.essl-conf i:nth-child(4n+2) { background: #f0abfc; width: .8cqw; height: .8cqw; border-radius: 50%; }
@keyframes essl-fall { 0%, 51% { opacity: 0; transform: translateY(0) rotate(0); } 53% { opacity: 1; } 84% { opacity: 1; transform: translateY(40cqw) rotate(calc(var(--r) * 2)); } 90%, 100% { opacity: 0; transform: translateY(46cqw) rotate(calc(var(--r) * 2)); } }
.essl-rules { left: 65cqw; right: 4cqw; top: 16cqh; bottom: 5cqh; display: flex; flex-direction: column; gap: 1.2cqw; padding: 1.8cqw; }
.essl-stat { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: .9cqw; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.essl-stat small { font-size: 1.7cqw; color: #9d97b8; }
.essl-stat b { font: 700 3.2cqw/1 var(--pp-font-display); color: #fff; }
.essl-stat b i { font-size: .5em; font-weight: 600; color: #8e88ab; }
.essl-roll > span { transform: translateY(-50%); animation: essl-roll 8s infinite; }
@keyframes essl-roll { 0%, 51% { transform: none; } 55%, 100% { transform: translateY(-50%); } }
.essl-rule { display: flex; align-items: center; gap: .5em; font-size: 1.6cqw; color: #cfc6f5; white-space: nowrap; }
.essl-rule .pp-icon { color: #4ade80; }
.essl-redraw { margin-top: auto; font-size: 1.7cqw; }
.essl-q { display: grid; gap: .5cqw; margin-top: .4cqw; padding-top: 1cqw; border-top: 1px solid rgba(255, 255, 255, .08); }
.essl-q li { display: flex; align-items: center; gap: .5em; font-size: 1.5cqw; color: #8e88ab; white-space: nowrap; }
.essl-q li .ess-svg { color: #4ade80; }
.essl-q li.on { color: #fde68a; font-weight: 700; }
.essl-q li.on::before { content: ''; width: .8cqw; height: .8cqw; margin: 0 .25cqw; border-radius: 50%; background: #fbbf24; box-shadow: 0 0 1cqw #fbbf24; animation: pp-blink 1s steps(2) infinite; }

/* ===== 9. Presenter view + generated slides ===== */
.esssl-clock { display: inline-flex; align-items: center; gap: .35em; font: 600 1.8cqw/1.2 var(--pp-font-hud); color: #fff; letter-spacing: .04em; white-space: nowrap; }
.esssl-clock .pp-icon { color: #a78bfa; margin-right: .15em; }
.esssl-s4 > span { animation: ess-roll-all 4s steps(4) infinite; }
.esssl-n > span { transform: translateY(-66.666%); animation: esssl-n 12s infinite; }
@keyframes esssl-n { 0%, 30% { transform: none; } 33%, 63% { transform: translateY(-33.333%); } 66%, 96% { transform: translateY(-66.666%); } 99%, 100% { transform: none; } }
.esssl-main { position: absolute; left: 4cqw; top: 16cqh; width: 59cqw; aspect-ratio: 16 / 9; overflow: hidden; container-type: size; border-radius: 1.4cqw; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 2cqw 5cqw -1cqw rgba(0, 0, 0, .75); }
.esssl-track { display: flex; width: 400%; height: 100%; transform: translateX(-50%); animation: esssl-go 12s cubic-bezier(.7, 0, .2, 1) infinite; }
.esssl-track--next { animation-delay: -4s; transform: translateX(-75%); }
@keyframes esssl-go { 0%, 28% { transform: none; } 33%, 61% { transform: translateX(-25%); } 66%, 94% { transform: translateX(-50%); } 99%, 100% { transform: translateX(-75%); } }
.esssl-s { position: relative; flex: 1; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2.4cqh; padding: 0 8cqw; color: #fff; }
.esssl-s small { position: relative; font: 700 3.2cqw/1 var(--pp-font-hud); letter-spacing: .2em; text-transform: uppercase; color: #a78bfa; }
.esssl-s > b { position: relative; font: 700 8cqw/1.02 var(--pp-font-display); }
.esssl-sub { position: relative; font-size: 3.8cqw; color: #cfc6f5; }
.esssl-s--open { background: radial-gradient(80% 100% at 90% 100%, rgba(124, 77, 255, .65), transparent 60%), linear-gradient(135deg, #1b1f2a, #261c52); }
.esssl-s--open .ess-logo { font-size: 6cqw; margin-bottom: 1cqh; }
.esssl-arc { position: absolute; right: -24cqw; bottom: -70cqh; width: 70cqw; aspect-ratio: 1; border-radius: 50%; border: 1cqw solid rgba(94, 231, 255, .55); box-shadow: 0 0 5cqw rgba(94, 231, 255, .45), inset 0 0 5cqw rgba(94, 231, 255, .3); }
.esssl-s--how { background: linear-gradient(180deg, #f7f5ff, #ece8fb); color: #1b1f2a; }
.esssl-s--how small { color: #7c4dff; }
.esssl-s--how > b { font-size: 7cqw; color: #1b1f2a; }
.esssl-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqw; width: 100%; margin-top: 1cqh; }
.esssl-steps span { position: relative; display: grid; justify-items: start; gap: 2cqh; padding: 3cqw; border-radius: 2.4cqw; font: 600 3.4cqw/1.15 var(--pp-font-body); color: #1b1f2a; background: #fff; box-shadow: 0 1cqw 3cqw rgba(27, 31, 42, .14); }
.esssl-steps .pp-icon { font-size: 6cqw; color: #7c4dff; }
.esssl-steps i { position: absolute; right: 2.4cqw; top: 2.2cqw; font: 700 3cqw/1 var(--pp-font-hud); color: #c4b5fd; }
.esssl-s--award { align-items: center; text-align: center; gap: 1.6cqh; background: radial-gradient(70% 80% at 50% 42%, #4b3598, #1b1f2a 75%); }
.esssl-s--award small { color: #fde68a; }
.esssl-rays { position: absolute; left: 50%; top: 42%; width: 160cqw; aspect-ratio: 1; margin: -80cqw 0 0 -80cqw; background: repeating-conic-gradient(rgba(253, 230, 138, .1) 0 5deg, transparent 5deg 15deg); animation: esssl-rays 24s linear infinite; }
@keyframes esssl-rays { to { transform: rotate(1turn); } }
.esssl-cup { position: relative; font-size: 13cqw; line-height: 1; color: #fde68a; filter: drop-shadow(0 0 3cqw rgba(251, 191, 36, .8)); }
.esssl-foot { position: absolute; left: 4cqw; width: 59cqw; top: 82cqh; display: flex; align-items: center; gap: 2cqw; }
.esssl-foot .ess-chip { font-size: 1.6cqw; }
.esssl-prog { flex: 1; height: .8cqw; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.esssl-prog em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7c4dff, #5ee7ff); transform-origin: left; transform: scaleX(.167); animation: esssl-prog 12s infinite; }
@keyframes esssl-prog { 0%, 30% { transform: scaleX(.056); } 33%, 63% { transform: scaleX(.111); } 66%, 96% { transform: scaleX(.167); } 99%, 100% { transform: scaleX(.056); } }
.esssl-side { position: absolute; left: 66.5cqw; right: 4cqw; top: 16cqh; bottom: 5cqh; display: flex; flex-direction: column; gap: .9cqw; }
.esssl-lbl { font: 600 1.4cqw/1 var(--pp-font-hud); letter-spacing: .16em; text-transform: uppercase; color: #8e88ab; }
.esssl-next { position: relative; flex: none; aspect-ratio: 16 / 9; overflow: hidden; container-type: size; border-radius: 1cqw; outline: .3cqw solid rgba(124, 77, 255, .65); outline-offset: .2cqw; }
.esssl-notes { font-size: 1.7cqw; line-height: 1.35; color: #cfc6f5; }
.esssl-remote { display: flex; align-items: center; gap: .8cqw; margin-top: auto; padding: .9cqw 1.1cqw; border-radius: 1.2cqw; font-size: 1.5cqw; color: #9d97b8; white-space: nowrap; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.esssl-remote i { flex: none; width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: #2a2d3e; border: 1px solid rgba(255, 255, 255, .2); }
.esssl-remote .esssl-btn { background: #7c4dff; box-shadow: 0 0 1.2cqw rgba(124, 77, 255, .8); animation: esssl-click 4s infinite; }
@keyframes esssl-click { 0%, 76% { transform: none; box-shadow: 0 0 1.2cqw rgba(124, 77, 255, .8); } 80% { transform: scale(.78); box-shadow: 0 0 2.4cqw #a78bfa; } 86%, 100% { transform: none; } }

/* ===== 10. AI studio ===== */
.essv-prompt { left: 4cqw; top: 16cqh; bottom: 5cqh; width: 33cqw; display: flex; flex-direction: column; gap: 1.1cqw; padding: 1.8cqw; }
.essv-prompt > small { font: 600 1.4cqw/1 var(--pp-font-hud); letter-spacing: .16em; text-transform: uppercase; color: #8e88ab; }
.essv-text { font-size: 1.9cqw; line-height: 1.42; color: #fff; }
.essv-text span { animation: essv-word 10s calc(var(--d) * .12s) infinite both; }
@keyframes essv-word { 0% { opacity: 0; } 1%, 94% { opacity: 1; } 98%, 100% { opacity: 0; } }
.essv-caret { display: inline-block; width: .12em; height: 1em; margin-left: .1em; vertical-align: -.15em; background: #a78bfa; animation: pp-blink 1s steps(2) infinite; }
.essv-kinds { display: flex; flex-wrap: wrap; gap: .6cqw; }
.essv-kinds span { padding: .4em .7em; border-radius: 99px; font-size: 1.5cqw; font-weight: 600; color: #b8b1d6; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.essv-kinds .on { color: #fff; background: rgba(124, 77, 255, .35); border-color: #a78bfa; }
.essv-opts { display: grid; gap: .5cqw; padding-top: .9cqw; border-top: 1px solid rgba(255, 255, 255, .08); }
.essv-opts span { display: flex; justify-content: space-between; font-size: 1.5cqw; color: #9d97b8; }
.essv-opts b { color: #fff; }
.essv-go { margin-top: auto; font-size: 1.8cqw; animation: essv-go 10s infinite; }
@keyframes essv-go { 0%, 15% { transform: none; } 17% { transform: scale(.94); filter: brightness(1.3); } 20%, 100% { transform: none; filter: none; } }
.essv-canvas { position: absolute; left: 40cqw; right: 4cqw; top: 16cqh; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 1.6cqw; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 2cqw 5cqw -1cqw rgba(0, 0, 0, .75), 0 0 4cqw rgba(192, 56, 155, .25); }
.essv-art { position: absolute; inset: 0; background: linear-gradient(180deg, #110935 0%, #3b1f7a 42%, #c0389b 70%, #ff8a5c 100%); animation: essv-sharp 10s infinite; }
@keyframes essv-sharp { 0%, 18% { filter: blur(2cqw) saturate(.25) brightness(.7); } 58%, 94% { filter: none; } 100% { filter: blur(2cqw) saturate(.25) brightness(.7); } }
.essv-stars { position: absolute; inset: 0 0 45%; background-image: radial-gradient(.25cqw .25cqw at 12% 22%, #fff, transparent), radial-gradient(.2cqw .2cqw at 28% 12%, #fff, transparent), radial-gradient(.25cqw .25cqw at 44% 30%, #fff, transparent), radial-gradient(.2cqw .2cqw at 68% 16%, #fff, transparent), radial-gradient(.3cqw .3cqw at 84% 34%, #fff, transparent), radial-gradient(.2cqw .2cqw at 92% 10%, #fff, transparent), radial-gradient(.2cqw .2cqw at 56% 8%, #fff, transparent); }
.essv-moon { position: absolute; left: 50%; top: 30%; width: 24%; aspect-ratio: 1; margin-left: -12%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff7d6, #fbbf24 55%, #f97316); box-shadow: 0 0 4cqw rgba(251, 191, 36, .75); }
.essv-mtn { position: absolute; bottom: 22%; width: 62%; height: 46%; }
.essv-mtn--a { left: -8%; background: linear-gradient(180deg, #6a2fa0, #1e1245); clip-path: polygon(0 100%, 32% 18%, 52% 52%, 72% 8%, 100% 100%); }
.essv-mtn--b { right: -10%; height: 38%; background: linear-gradient(180deg, #8b5cf6, #2a1660); clip-path: polygon(0 100%, 30% 30%, 50% 60%, 80% 0, 100% 100%); }
.essv-sea { position: absolute; left: 0; right: 0; bottom: 0; height: 24%; background: repeating-linear-gradient(180deg, rgba(94, 231, 255, .45) 0 1px, transparent 1px 4px), linear-gradient(180deg, #2b2a8a, #0b0a2a); }
.essv-title { position: absolute; left: 6%; top: 9%; font: 700 3cqw/1 var(--pp-font-display); letter-spacing: .03em; text-transform: uppercase; color: #fff; text-shadow: 0 0 1.6cqw rgba(94, 231, 255, .85); }
.essv-title small { display: block; margin-top: .6cqw; font: 600 1.5cqw/1 var(--pp-font-hud); letter-spacing: .45em; color: #5ee7ff; }
.essv-noise { position: absolute; inset: 0; opacity: 0; mix-blend-mode: overlay; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: essv-noise 10s infinite; }
@keyframes essv-noise { 0%, 18% { opacity: 1; } 58%, 94% { opacity: 0; } 100% { opacity: 1; } }
.essv-pct { position: absolute; right: 2cqw; bottom: 2cqw; display: grid; padding: .45em .8em; border-radius: 99px; font-size: 1.6cqw; font-weight: 700; color: #fff; background: rgba(10, 12, 18, .72); border: 1px solid rgba(255, 255, 255, .15); }
.essv-pct > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: .35em; white-space: nowrap; }
.essv-pct-a { opacity: 0; animation: essv-a 10s infinite; }
.essv-pct-b { color: #4ade80; animation: essv-b 10s infinite; }
@keyframes essv-a { 0%, 56% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes essv-b { 0%, 57% { opacity: 0; } 60%, 96% { opacity: 1; } 100% { opacity: 0; } }
.essv-time { position: absolute; left: 40cqw; right: 4cqw; top: 76cqh; bottom: 5cqh; display: flex; align-items: center; gap: 1.4cqw; padding: .9cqw 1.3cqw; border-radius: 1.4cqw; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .035)); border: 1px solid rgba(255, 255, 255, .1); }
.essv-film { flex: none; display: grid; grid-template-columns: auto auto; column-gap: .5em; row-gap: .3cqw; align-items: center; font-size: 1.5cqw; }
.essv-film .ess-svg { grid-row: span 2; font-size: 2.6cqw; color: #5ee7ff; }
.essv-film b { color: #fff; white-space: nowrap; }
.essv-film small { color: #9d97b8; }
.essv-frames { position: relative; flex: 1; align-self: stretch; display: flex; gap: .4cqw; }
.essv-frames i { flex: 1; border-radius: .6cqw; background: linear-gradient(180deg, #3b1f7a, #c0389b 70%, #ff8a5c); }
.essv-frames i:nth-child(2) { background: linear-gradient(180deg, #110935, #3b1f7a 60%, #8b5cf6); }
.essv-frames i:nth-child(3) { background: radial-gradient(circle at 50% 60%, #fbbf24 0 20%, transparent 22%), linear-gradient(180deg, #3b1f7a, #c0389b); }
.essv-frames i:nth-child(4) { background: linear-gradient(180deg, #2b2a8a, #0b0a2a); }
.essv-frames i:nth-child(5) { background: radial-gradient(circle at 50% 50%, #5ee7ff 0 12%, transparent 14%), linear-gradient(180deg, #1b1f2a, #3b1f7a); }
.essv-head { position: absolute; top: -.6cqw; bottom: -.6cqw; left: 72%; width: .3cqw; border-radius: 1px; background: #fff; box-shadow: 0 0 1cqw #5ee7ff; animation: essv-head 10s linear infinite; }
@keyframes essv-head { 0%, 58% { left: 0; } 100% { left: 100%; } }

/* ===== 11. Hybrid + multilingual ===== */
.essh-map { position: absolute; left: 3.5cqw; top: 6cqh; bottom: 6cqh; width: 57cqw; }
.essh-hud { display: inline-flex; align-items: center; gap: .6em; font: 600 1.6cqw/1.2 var(--pp-font-hud); letter-spacing: .12em; text-transform: uppercase; color: #c9c2e3; white-space: nowrap; }
.essh-hud > i { width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: #ef4444; box-shadow: 0 0 1.2cqw #ef4444; animation: pp-blink 1.2s steps(2) infinite; }
.essh-hud .ess-roll { color: #fff; font-size: 1.25em; }
.essh-roll > span { transform: translateY(-75%); animation: ess-roll-all 9s steps(4) infinite; }
.essh-world { position: absolute; left: 0; right: 0; top: 9cqh; aspect-ratio: 80 / 38; }
.essh-svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: rgba(185, 162, 255, .42); }
.essh-pin { position: absolute; width: 0; height: 0; }
.essh-pin .ess-av { position: absolute; left: -1.5cqw; top: -1.5cqw; width: 3cqw; height: 3cqw; font-size: 1.2cqw; animation: essh-pin 9s calc(var(--d) * .7s) infinite both; }
.essh-pin .ess-av::after { content: ''; position: absolute; inset: -40%; border-radius: 50%; border: 2px solid var(--c); opacity: 0; animation: essh-ring 1.8s calc(var(--d) * .3s) ease-out infinite; }
@keyframes essh-pin { 0% { transform: scale(0); } 4% { transform: scale(1.3); } 7%, 92% { transform: none; } 98%, 100% { transform: scale(0); } }
@keyframes essh-ring { 0% { opacity: .9; transform: scale(.5); } 100% { opacity: 0; transform: scale(1.4); } }
.essh-react { position: absolute; left: 76%; top: 38%; font-size: 2.4cqw; color: #f0abfc; opacity: 0; animation: essh-react 4.5s 1s infinite; }
@keyframes essh-react { 0% { opacity: 0; transform: translateY(0) scale(.6); } 8% { opacity: 1; transform: translateY(-2cqw) scale(1.1); } 30% { opacity: 0; transform: translateY(-8cqw) scale(1); } 100% { opacity: 0; } }
.essh-tiles { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1cqw; }
.essh-tile { position: relative; display: grid; place-items: center; height: 9cqw; border-radius: 1.2cqw; overflow: hidden; background: radial-gradient(80% 90% at 50% 30%, color-mix(in srgb, var(--c) 40%, #1b1f2a), #12141c 85%); border: 1px solid rgba(255, 255, 255, .1); }
.essh-tile .ess-av { font-size: 1.4cqw; margin-top: -1.2cqw; }
.essh-tile small { position: absolute; left: .8cqw; bottom: .7cqw; font-size: 1.2cqw; font-weight: 600; color: #fff; white-space: nowrap; }
.essh-tile .pp-icon { position: absolute; right: .7cqw; bottom: .7cqw; font-size: 1.3cqw; color: #9d97b8; }
.essh-talk { border-color: #4ade80; box-shadow: inset 0 0 0 1px #4ade80, 0 0 1.6cqw rgba(74, 222, 128, .4); animation: essh-talk 1.6s ease-in-out infinite alternate; }
.essh-talk .pp-icon { color: #4ade80; }
@keyframes essh-talk { from { box-shadow: inset 0 0 0 1px #4ade80, 0 0 .6cqw rgba(74, 222, 128, .2); } to { box-shadow: inset 0 0 0 1px #4ade80, 0 0 2cqw rgba(74, 222, 128, .55); } }
.essh-phone { right: 5cqw; left: auto; top: 6cqh; width: 29cqw; }
.essh-seg { position: relative; flex: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 1.5cqw 2cqw 0; padding: .4cqw; border-radius: 99px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.essh-seg span { position: relative; z-index: 1; padding: .5em 0; text-align: center; font-size: 1.6cqw; font-weight: 700; color: #cfc6f5; }
.essh-seg span:nth-child(3) { font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', var(--pp-font-body); }
.essh-knob { position: absolute; top: .4cqw; bottom: .4cqw; left: .4cqw; width: calc((100% - .8cqw) / 3); border-radius: 99px; background: #7c4dff; box-shadow: 0 0 1.4cqw rgba(124, 77, 255, .7); animation: essh-knob 9s cubic-bezier(.5, 0, .2, 1) infinite; }
@keyframes essh-knob { 0%, 30% { transform: none; } 33%, 63% { transform: translateX(100%); } 66%, 96% { transform: translateX(200%); } 100% { transform: none; } }
.essh-msgs { flex: none; display: grid; margin: 1.6cqw 2cqw 0; }
.essh-msg { grid-area: 1 / 1; display: grid; justify-items: start; gap: 1cqw; padding: 1.5cqw; border-radius: 1.6cqw; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); opacity: 0; animation: essh-msg 9s calc(var(--d) * 3s) infinite both; }
.essh-msg:first-child { opacity: 1; }
@keyframes essh-msg { 0% { opacity: 0; transform: translateY(1cqw); } 3%, 30% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; } }
.essh-msg small { display: inline-flex; align-items: center; gap: .4em; font: 700 1.4cqw/1 var(--pp-font-hud); letter-spacing: .1em; text-transform: uppercase; color: #fca5a5; }
.essh-t { font-size: 1.9cqw; line-height: 1.38; color: #fff; }
.essh-zh, .essh-zh .ess-btn { font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', var(--pp-font-body); }
.essh-zh small { font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', var(--pp-font-body); letter-spacing: .04em; }
.essh-msg .ess-btn { width: 100%; font-size: 1.65cqw; }

/* ===== 12. Reports & exports ===== */
.essr-csv, .essr-pdf { padding: .5em .8em; font-size: 1.7cqw; }
.essr-csv .pp-icon { color: #4ade80; }
.essr-pdf { animation: essr-press 9s infinite; }
@keyframes essr-press { 0%, 37% { transform: none; } 39% { transform: scale(.9); filter: brightness(1.3); } 42%, 100% { transform: none; filter: none; } }
.essr-kpis { position: absolute; left: 4cqw; right: 4cqw; top: 16cqh; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3cqw; }
.essr-k { display: grid; gap: .5cqw; min-width: 0; padding: 1.2cqw 1.4cqw; border-radius: 1.4cqw; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .035)); border: 1px solid rgba(255, 255, 255, .1); }
.essr-k small { font-size: 1.45cqw; color: #9d97b8; white-space: nowrap; }
.essr-k b { font: 700 3.2cqw/1.2 var(--pp-font-display); color: #fff; white-space: nowrap; }
.essr-k b > span:not(.ess-roll) { font-size: .5em; color: #8e88ab; }
.essr-k i { display: flex; align-items: center; gap: .3em; font-size: 1.35cqw; color: #9d97b8; white-space: nowrap; }
.essr-stars { gap: .1em !important; color: #fbbf24 !important; }
.essr-roll > span { transform: translateY(-66.666%); animation: essr-roll 9s infinite; }
@keyframes essr-roll { 0%, 8% { transform: none; } 12%, 18% { transform: translateY(-33.333%); } 22%, 100% { transform: translateY(-66.666%); } }
.essr-line { left: 4cqw; top: 41cqh; bottom: 5cqh; width: 56cqw; display: flex; flex-direction: column; gap: .8cqw; padding: 1.5cqw 1.8cqw; }
.essr-svg { flex: 1; min-height: 0; width: 100%; overflow: visible; }
.essr-grid { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: .6; }
.essr-area { fill: rgba(94, 231, 255, .14); animation: essr-area 9s infinite; }
@keyframes essr-area { 0%, 6% { opacity: 0; } 30%, 100% { opacity: 1; } }
.essr-ln { fill: none; stroke: #5ee7ff; stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; filter: drop-shadow(0 0 1.5px #5ee7ff); animation: essr-draw 9s infinite; }
@keyframes essr-draw { 0% { stroke-dashoffset: 100; } 30%, 100% { stroke-dashoffset: 0; } }
.essr-x { display: flex; justify-content: space-between; font-size: 1.3cqw; color: #8e88ab; }
.essr-top { left: 63cqw; right: 4cqw; top: 41cqh; bottom: 5cqh; display: flex; flex-direction: column; justify-content: space-between; gap: .8cqw; padding: 1.5cqw 1.8cqw; }
.essr-t { display: flex; align-items: center; gap: 1cqw; }
.essr-t .ess-av { font-size: 1.35cqw; }
.essr-t > span:not(.ess-av) { flex: 1; height: 1.1cqw; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.essr-t em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7c4dff, var(--c)); transform-origin: left; transform: scaleX(var(--h)); animation: essr-bar 9s calc(var(--d) * .2s) infinite both; }
@keyframes essr-bar { 0% { transform: scaleX(.05); } 25%, 100% { transform: scaleX(var(--h)); } }
.essr-cur { left: 87cqw; top: 8cqh; opacity: 0; animation: essr-cur 9s cubic-bezier(.4, 0, .2, 1) infinite; }
@keyframes essr-cur { 0%, 14% { left: 48cqw; top: 70cqh; opacity: 0; } 20% { opacity: 1; } 36% { left: 87cqw; top: 8cqh; transform: none; } 39% { transform: scale(.8); } 42% { transform: none; opacity: 1; } 52%, 100% { left: 87cqw; top: 8cqh; opacity: 0; } }
.essr-toast { right: 4cqw; bottom: 7cqh; width: 37cqw; gap: 1cqw; padding: 1cqw 1.3cqw; border-color: rgba(124, 77, 255, .5); box-shadow: 0 2cqw 4cqw -1cqw rgba(0, 0, 0, .75), 0 0 3cqw rgba(124, 77, 255, .25); animation: essr-toast 9s infinite; }
@keyframes essr-toast { 0%, 40% { opacity: 0; transform: translateY(3cqw); } 44%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.essr-file { flex: none; display: grid; place-items: center; width: 3.6cqw; height: 4.2cqw; border-radius: .7cqw; font-size: 2.2cqw; color: #fff; background: linear-gradient(180deg, #f87171, #dc2626); }
.essr-ft { flex: 1; min-width: 0; display: grid; gap: .35cqw; }
.essr-ft b { font-size: 1.6cqw; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.essr-ft small { font-size: 1.3cqw; color: #9d97b8; }
.essr-prog { display: block; height: .6cqw; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.essr-prog em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7c4dff, #4ade80); transform-origin: left; animation: essr-prog 9s infinite; }
@keyframes essr-prog { 0%, 42% { transform: scaleX(0); } 64%, 100% { transform: none; } }
.essr-done { flex: none; display: grid; place-items: center; width: 3cqw; height: 3cqw; border-radius: 50%; font-size: 1.7cqw; color: #fff; background: #22c55e; box-shadow: 0 0 1.4cqw rgba(34, 197, 94, .7); animation: essr-done 9s infinite; }
@keyframes essr-done { 0%, 64% { opacity: 0; transform: scale(.3); } 68% { opacity: 1; transform: scale(1.2); } 71%, 100% { opacity: 1; transform: none; } }

/* Reduced motion: no animation; the base styles above are the designed still frame */
@media (prefers-reduced-motion: reduce) {
  .es-sample *, .es-sample *::before, .es-sample *::after { animation: none !important; transition: none !important; }
}

/* ---------- 16. Live card: robot swiping through the training programmes (immersive.js initLiveCards) ---------- */
.live-carousel {
  --cw: 150px;            /* card width */
  --step: calc(var(--cw) + 12px);
  --dur: 16s;
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(70% 50% at 50% 28%, rgba(124, 77, 255, .35), rgba(124, 77, 255, 0) 70%),
    linear-gradient(rgba(185, 162, 255, .07) 1px, transparent 1px) 0 0 / 100% 28px,
    linear-gradient(90deg, rgba(185, 162, 255, .07) 1px, transparent 1px) 0 0 / 28px 100%,
    #161927;
  font-family: var(--pp-font-body);
}
.lc-hud {
  position: absolute; left: 7%; top: 6%;
  display: inline-flex; align-items: center; gap: .45rem;
  font: 600 .58rem/1 var(--pp-font-hud); letter-spacing: .2em; text-transform: uppercase; color: #5ee7ff;
}
.lc-hud i { font-style: normal; color: #fff; background: rgba(124, 77, 255, .5); border-radius: 99px; padding: .2rem .45rem; letter-spacing: .05em; }
.lc-stage {
  position: absolute; left: 0; right: 0; top: 13%; height: 34%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.lc-track {
  display: flex; gap: 12px; height: 100%;
  padding-left: calc(50% - var(--cw) / 2);
  animation: lc-swipe var(--dur) cubic-bezier(.65, 0, .35, 1) infinite;
}
@keyframes lc-swipe {
  0%, 9.375%     { transform: translateX(0); }
  12.5%, 21.875% { transform: translateX(calc(var(--step) * -1)); }
  25%, 34.375%   { transform: translateX(calc(var(--step) * -2)); }
  37.5%, 46.875% { transform: translateX(calc(var(--step) * -3)); }
  50%, 59.375%   { transform: translateX(calc(var(--step) * -4)); }
  62.5%, 71.875% { transform: translateX(calc(var(--step) * -5)); }
  75%, 84.375%   { transform: translateX(calc(var(--step) * -6)); }
  87.5%, 96.875% { transform: translateX(calc(var(--step) * -7)); }
  100%           { transform: translateX(calc(var(--step) * -8)); }
}
.lc-card {
  flex: 0 0 var(--cw);
  display: flex; flex-direction: column; justify-content: center; gap: .3rem;
  padding: .7rem .75rem;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  border: 1px solid rgba(185, 162, 255, .3);
  color: #fff;
}
.lc-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, #7c4dff, #5ee7ff); }
.lc-ico .pp-icon { width: 17px; height: 17px; color: #fff; --pp-icon-accent: #fff; --pp-icon-accent-opacity: .4; }
.lc-card b { font: 600 .8rem/1.15 var(--pp-font-display); }
.lc-card small { font-size: .64rem; color: rgba(231, 224, 255, .7); }
/* HUD frame on the card in focus */
.lc-focus {
  position: absolute; top: calc(13% - 6px); height: calc(34% + 12px);
  left: calc(50% - var(--cw) / 2 - 6px); width: calc(var(--cw) + 12px);
  border-radius: 18px; pointer-events: none;
  --c: #5ee7ff; --l: 16px;
  background:
    linear-gradient(var(--c), var(--c)) left top / var(--l) 2px no-repeat,
    linear-gradient(var(--c), var(--c)) left top / 2px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right top / var(--l) 2px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 2px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / var(--l) 2px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 2px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / var(--l) 2px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 2px var(--l) no-repeat;
  filter: drop-shadow(0 0 5px rgba(94, 231, 255, .8));
  animation: lc-focus calc(var(--dur) / 8) ease-in-out infinite;
}
@keyframes lc-focus { 0%, 70% { opacity: 1; } 80%, 95% { opacity: .35; } 100% { opacity: 1; } }
/* Fingertip: presses on the right of the card and drags left in step with the track */
.lc-finger {
  position: absolute; top: 34%; left: 64%;
  width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 30%, rgba(94, 231, 255, .8) 45%, rgba(94, 231, 255, 0) 72%);
  opacity: 0;
  animation: lc-finger calc(var(--dur) / 8) cubic-bezier(.65, 0, .35, 1) infinite;
}
@keyframes lc-finger {
  0%, 55% { opacity: 0; transform: translateX(0) scale(1.3); }
  70%     { opacity: 1; transform: translateX(0) scale(1); }
  75%     { opacity: 1; transform: translateX(0) scale(.75); }
  98%     { opacity: .9; transform: translateX(-120px) scale(.75); }
  100%    { opacity: 0; transform: translateX(-130px) scale(1); }
}
/* The robot */
.lc-bot { position: absolute; right: 9%; top: 41%; width: 54px; height: 70px; }
.lc-ant { position: absolute; left: 50%; top: 0; width: 2px; height: 9px; margin-left: -1px; background: #8f95b2; }
.lc-ant::after { content: ''; position: absolute; left: -3px; top: -6px; width: 8px; height: 8px; border-radius: 50%; background: #5ee7ff; box-shadow: 0 0 8px #5ee7ff; animation: pp-blink 1.6s steps(2) infinite; }
.lc-head {
  position: absolute; left: 5px; right: 5px; top: 8px; height: 28px; border-radius: 10px;
  background: linear-gradient(180deg, #4a5378, #3d4566);
  display: flex; justify-content: center; align-items: center; gap: 8px;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25);
}
.lc-head i { width: 8px; height: 8px; border-radius: 50%; background: #5ee7ff; box-shadow: 0 0 6px #5ee7ff; animation: lc-blink 4s infinite; }
@keyframes lc-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.15); } }
.lc-body { position: absolute; left: 11px; right: 11px; top: 38px; height: 28px; border-radius: 9px 9px 12px 12px; background: linear-gradient(180deg, #3d4566, #2b3150); }
.lc-body::after { content: ''; position: absolute; left: 50%; top: 9px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #7c4dff; box-shadow: 0 0 8px #7c4dff; }
.lc-arm {
  position: absolute; left: -16px; top: 40px; width: 28px; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, #8f95b2, #4a5378);
  transform-origin: right center;
  animation: lc-arm calc(var(--dur) / 8) cubic-bezier(.65, 0, .35, 1) infinite;
}
@keyframes lc-arm { 0%, 60% { transform: rotate(-12deg); } 75% { transform: rotate(-38deg); } 98% { transform: rotate(-58deg) scaleX(1.25); } 100% { transform: rotate(-12deg); } }
/* Smaller version on the training page picker */
.tr-pick .live-carousel { --cw: 118px; z-index: 0; }
.tr-pick .live-carousel .lc-stage { top: 15%; height: 40%; }
.tr-pick .live-carousel .lc-focus { top: calc(15% - 6px); height: calc(40% + 12px); }
.tr-pick .live-carousel .lc-finger { top: 38%; }
.tr-pick .live-carousel .lc-bot { top: 46%; transform: scale(.8); transform-origin: right top; }
.tr-pick .live-carousel .lc-card small { display: none; }
.art-card > .live-carousel { transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.art-card:hover > .live-carousel { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  .live-carousel *, .live-carousel *::after { animation: none !important; }
  .lc-finger { display: none; }
}

/* ---------- 17. Book Me: WhatsApp + Email action cards ---------- */
.book-actions .btn-book {
  --accent: #9d7bff;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto auto;
  column-gap: .9rem;
  align-items: center;
  padding: .85rem 1rem .85rem .85rem;
  border-radius: 18px;
  color: #fff;
  text-align: left;
  font-family: var(--pp-font-body);
  background: linear-gradient(160deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .025));
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: 0 16px 36px -20px rgba(0, 0, 0, .7);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.book-actions .btn-book-wa { --accent: #25D366; }
.book-actions .btn-book::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent); opacity: .55; transition: opacity .2s ease;
}
.book-actions .btn-book::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .12), transparent);
  transform: skewX(-18deg); pointer-events: none;
}
.book-actions .btn-book .book-btn-icon {
  grid-row: 1 / -1;
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
}
.book-actions .btn-book .book-btn-icon svg { width: 26px; height: 26px; }
.book-actions .btn-book-wa .book-btn-icon { background: linear-gradient(135deg, #25D366, #128C7E); box-shadow: 0 8px 20px -6px rgba(37, 211, 102, .7); }
.book-actions .btn-book-email .book-btn-icon { background: linear-gradient(135deg, #7c4dff, #a64dff); box-shadow: 0 8px 20px -6px rgba(124, 77, 255, .8); }
.book-actions .btn-book .book-btn-label { grid-column: 2; font: 600 1.02rem/1.2 var(--pp-font-display); color: #fff; }
.book-actions .btn-book .book-btn-sub { grid-column: 2; font-size: .78rem; font-weight: 500; color: rgba(231, 224, 255, .7); opacity: 1; margin: 0; }
.book-btn-chip {
  display: none; grid-column: 2; justify-self: start; margin-top: .35rem;
  font: 700 .62rem/1 var(--pp-font-body); letter-spacing: .12em; text-transform: uppercase;
  padding: .28rem .55rem; border-radius: 99px;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
}
.book-actions.has-dates .book-btn-chip { display: inline-block; }
.book-btn-go {
  grid-column: 3; grid-row: 1 / -1;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .2); color: #fff;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.book-btn-go svg { width: 16px; height: 16px; }
.book-actions .btn-book:hover,
.book-actions .btn-book:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 70%, transparent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 16%, rgba(255, 255, 255, .06)), rgba(255, 255, 255, .03));
  box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--accent) 60%, #000);
  outline: none;
}
.book-actions .btn-book:hover::before { opacity: 1; }
.book-actions .btn-book:hover::after { animation: book-shine .8s ease; }
@keyframes book-shine { to { left: 130%; } }
.book-actions .btn-book:hover .book-btn-go { transform: translateX(3px); background: var(--accent); border-color: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .book-actions .btn-book, .book-btn-go { transition: none; }
  .book-actions .btn-book:hover { transform: none; }
  .book-actions .btn-book:hover::after { animation: none; }
}

/* ---------- 18. Live scenes: Gala Lucky Draw + Presence Wall (immersive.js initLiveScenes) ---------- */
.live-scene {
  position: absolute; inset: 0; z-index: -2; overflow: hidden;
  container-type: size;
  font-family: var(--pp-font-body); color: #fff;
}
.dm-thumb .live-scene { z-index: 0; }
.live-scene .pp-icon { width: 1em; height: 1em; color: currentColor; --pp-icon-accent: currentColor; --pp-icon-accent-opacity: .45; vertical-align: -.12em; }

/* ===== Lucky draw: ballroom stage, LED screen, spinning names, winner, confetti ===== */
.live-scene--draw {
  --dur: 7s;
  background:
    radial-gradient(60% 40% at 50% 100%, rgba(251, 191, 36, .16), transparent 70%),
    radial-gradient(80% 60% at 50% 0%, rgba(124, 77, 255, .45), transparent 70%),
    linear-gradient(180deg, #0b0a1a 0%, #1a1240 55%, #0b0a1a 100%);
}
/* Lighting truss with bulbs along the top */
.live-scene--draw::before {
  content: ''; position: absolute; left: 0; right: 0; top: 3cqh; height: 1.6cqh;
  background:
    radial-gradient(circle, #fde68a 0 35%, rgba(253, 230, 138, 0) 70%) 0 50% / 6cqw 100% repeat-x,
    linear-gradient(#2a2d3e, #2a2d3e) 0 50% / 100% 30% no-repeat;
  filter: drop-shadow(0 0 4px rgba(253, 230, 138, .8));
  animation: ld-bulbs 1.2s steps(2) infinite;
}
@keyframes ld-bulbs { 50% { opacity: .65; } }
.ld-beam {
  position: absolute; top: 4cqh; width: 26cqw; height: 120cqh; transform-origin: 50% 0;
  background: linear-gradient(180deg, rgba(196, 181, 253, .55), rgba(196, 181, 253, 0) 75%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  mix-blend-mode: screen; opacity: .55;
}
.ld-beam--l { left: 6cqw; animation: ld-sweep-l 5s ease-in-out infinite alternate; }
.ld-beam--r { right: 6cqw; background: linear-gradient(180deg, rgba(253, 230, 138, .5), rgba(253, 230, 138, 0) 75%); animation: ld-sweep-r 5.6s ease-in-out infinite alternate; }
@keyframes ld-sweep-l { from { transform: rotate(-28deg); } to { transform: rotate(8deg); } }
@keyframes ld-sweep-r { from { transform: rotate(26deg); } to { transform: rotate(-10deg); } }
/* The LED screen */
.ld-screen {
  position: absolute; left: 8cqw; right: 8cqw; top: 9cqh; height: 40cqh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.2cqh;
  border-radius: 1.6cqw;
  border: .9cqw solid #05060a;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px),
    radial-gradient(90% 80% at 50% 40%, #3b2a86, #120d2c 80%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 0 6cqw rgba(124, 77, 255, .55), inset 0 0 4cqw rgba(0, 0, 0, .6);
  animation: ld-flash var(--dur) infinite;
}
@keyframes ld-flash { 0%, 52% { filter: none; } 55% { filter: brightness(1.7); } 60%, 100% { filter: none; } }
.ld-kicker {
  font: 700 3.2cqw/1 var(--pp-font-hud); letter-spacing: .22em; text-transform: uppercase; color: #fde68a;
  text-shadow: 0 0 2cqw rgba(251, 191, 36, .8);
  display: inline-flex; gap: 1.6cqw; align-items: center;
}
.ld-reel {
  position: relative; width: 78%; height: 10cqh; overflow: hidden;
  border-radius: 1.4cqw;
  background: rgba(5, 6, 10, .55);
  border: 1px solid rgba(253, 230, 138, .55);
  box-shadow: inset 0 0 3cqw rgba(0, 0, 0, .8), 0 0 3cqw rgba(251, 191, 36, .25);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}
.ld-names { display: flex; flex-direction: column; animation: ld-spin var(--dur) cubic-bezier(.12, .7, .18, 1) infinite; }
.ld-names span { flex: 0 0 10cqh; height: 10cqh; display: grid; place-items: center; font: 600 5.4cqw/1 var(--pp-font-display); letter-spacing: .02em; white-space: nowrap; }
@keyframes ld-spin {
  0% { transform: translateY(0); filter: blur(0); }
  8% { filter: blur(1.5px); }
  48% { filter: blur(.6px); }
  54%, 94% { transform: translateY(-110cqh); filter: blur(0); }
  100% { transform: translateY(-110cqh); filter: blur(0); opacity: 0; }
}
.ld-ticket { font: 600 2.6cqw/1 var(--pp-font-hud); letter-spacing: .14em; color: rgba(231, 224, 255, .75); opacity: 0; animation: ld-in var(--dur) infinite; }
.ld-winner {
  position: absolute; top: -3cqh; left: 50%;
  display: inline-flex; gap: 1.4cqw; align-items: center;
  padding: 1.2cqh 3cqw; border-radius: 99px;
  font: 700 3cqw/1 var(--pp-font-hud); letter-spacing: .24em; text-transform: uppercase; color: #1b1f2a;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  box-shadow: 0 0 4cqw rgba(251, 191, 36, .8);
  transform: translateX(-50%) scale(.4); opacity: 0;
  animation: ld-pop var(--dur) infinite;
}
@keyframes ld-in { 0%, 54% { opacity: 0; } 60%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ld-pop { 0%, 54% { opacity: 0; transform: translateX(-50%) scale(.4); } 60% { opacity: 1; transform: translateX(-50%) scale(1.15); } 64%, 92% { opacity: 1; transform: translateX(-50%) scale(1); } 100% { opacity: 0; transform: translateX(-50%) scale(1); } }
/* Confetti burst over the whole stage */
.ld-confetti i {
  position: absolute; top: -4cqh; left: calc(var(--x) * 1%);
  width: 1.6cqw; height: 2.6cqw; border-radius: 1px;
  background: #7c4dff; opacity: 0;
  animation: ld-fall var(--dur) calc(var(--d) * 1s) infinite;
}
.ld-confetti i:nth-child(4n) { background: #fde68a; }
.ld-confetti i:nth-child(4n+1) { background: #5ee7ff; }
.ld-confetti i:nth-child(4n+2) { background: #f0abfc; width: 1.2cqw; height: 1.2cqw; border-radius: 50%; }
@keyframes ld-fall {
  0%, 55% { opacity: 0; transform: translateY(0) rotate(0); }
  57% { opacity: 1; }
  85% { opacity: 1; transform: translateY(70cqh) rotate(calc(var(--r) * 2)); }
  92%, 100% { opacity: 0; transform: translateY(80cqh) rotate(calc(var(--r) * 2)); }
}
/* Stage floor with footlights */
.ld-stage {
  position: absolute; left: -5%; right: -5%; top: 54cqh; height: 12cqh;
  background:
    radial-gradient(circle, #fde68a 0 30%, transparent 60%) 0 0 / 8cqw 2cqh repeat-x,
    linear-gradient(180deg, #2a1f5c, #0b0a1a);
  border-top: 1px solid rgba(253, 230, 138, .35);
  transform: perspective(40cqw) rotateX(35deg);
  transform-origin: top;
}
/* Wide thumbnail on the Demos page: the screen takes most of the frame */
.dm-thumb .ld-screen { left: 14cqw; right: 14cqw; top: 12cqh; height: 62cqh; gap: 3cqh; }
.dm-thumb .ld-kicker { font-size: 2.2cqw; }
.dm-thumb .ld-reel, .dm-thumb .ld-names span { height: 14cqh; flex-basis: 14cqh; }
.dm-thumb .ld-names span { font-size: 3.6cqw; }
.dm-thumb .ld-ticket { font-size: 1.7cqw; }
.dm-thumb .ld-winner { font-size: 1.9cqw; top: -4cqh; }
.dm-thumb .ld-stage { top: 80cqh; }
.dm-thumb .ld-confetti i { width: 1cqw; height: 1.6cqw; }
@keyframes ld-spin-wide { 0% { transform: translateY(0); } 54%, 94% { transform: translateY(-154cqh); } 100% { transform: translateY(-154cqh); opacity: 0; } }
.dm-thumb .ld-names { animation-name: ld-spin-wide; }

/* ===== Presence wall: live world map of remote guests ===== */
.live-scene--wall {
  --dur: 12s;
  background:
    radial-gradient(70% 60% at 50% 45%, rgba(124, 77, 255, .22), transparent 70%),
    linear-gradient(180deg, #0c0e18, #121528 60%, #0c0e18);
}
.pw-hud {
  position: absolute; left: 5cqw; top: 4.5cqh;
  display: inline-flex; align-items: center; gap: 1.6cqw;
  font: 600 2.4cqw/1 var(--pp-font-hud); letter-spacing: .16em; text-transform: uppercase; color: #c9c2e3;
}
.pw-hud > i { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: #ef4444; box-shadow: 0 0 2cqw #ef4444; animation: pp-blink 1.2s steps(2) infinite; }
.pw-count { position: relative; display: inline-block; height: 1.25em; overflow: hidden; color: #fff; font-size: 1.3em; vertical-align: middle; }
.pw-count span { display: block; height: 1.25em; line-height: 1.25em; animation: pw-count var(--dur) steps(1) infinite; }
@keyframes pw-count {
  0% { transform: translateY(0); } 16.6% { transform: translateY(-100%); } 33.3% { transform: translateY(-200%); }
  50% { transform: translateY(-300%); } 66.6% { transform: translateY(-400%); } 83.3%, 100% { transform: translateY(-500%); }
}
.pw-map { position: absolute; left: 3cqw; right: 3cqw; top: 12cqh; aspect-ratio: 80 / 32; }
.dm-thumb .pw-map { top: 16cqh; }
.pw-svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: rgba(185, 162, 255, .42); }
.pw-pin { position: absolute; width: 0; height: 0; }
.pw-dot { position: absolute; left: -1.1cqw; top: -1.1cqw; width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: #5ee7ff; box-shadow: 0 0 2cqw #5ee7ff; transform: scale(0); animation: pw-dot var(--dur) calc(var(--d) * 1.6s) infinite; }
.pw-dot::after { content: ''; position: absolute; inset: -60%; border-radius: 50%; border: 2px solid #5ee7ff; opacity: 0; animation: pw-ring 1.8s calc(var(--d) * .3s) ease-out infinite; }
@keyframes pw-dot { 0% { transform: scale(0); } 3% { transform: scale(1.6); } 5%, 92% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes pw-ring { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.8); } }
.pw-card {
  position: absolute; left: 2.6cqw; top: 0; transform: translateY(-50%) scale(.85);
  display: grid; gap: .5cqh; padding: 1.4cqw 2cqw; border-radius: 1.6cqw; white-space: nowrap;
  background: rgba(18, 20, 27, .82); border: 1px solid rgba(94, 231, 255, .45);
  box-shadow: 0 0 3cqw rgba(94, 231, 255, .25);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0;
  animation: pw-card var(--dur) calc(var(--d) * 1.6s + .3s) infinite;
}
.pw-pin--left .pw-card { left: auto; right: 2.6cqw; }
.pw-card b { font: 600 2.3cqw/1 var(--pp-font-hud); letter-spacing: .1em; text-transform: uppercase; color: #5ee7ff; }
.pw-card small { font-size: 2.6cqw; color: #fff; }
@keyframes pw-card { 0% { opacity: 0; transform: translateY(-50%) scale(.85); } 3%, 19% { opacity: 1; transform: translateY(-50%) scale(1); } 23%, 100% { opacity: 0; transform: translateY(-50%) scale(.95); } }
.pw-react { position: absolute; left: -1.4cqw; top: -2cqw; font-size: 3cqw; color: #f0abfc; opacity: 0; animation: pw-react var(--dur) calc(var(--d) * 1.6s + .9s) infinite; }
@keyframes pw-react { 0% { opacity: 0; transform: translateY(0) scale(.6); } 3% { opacity: 1; transform: translateY(-3cqh) scale(1.1); } 12% { opacity: 0; transform: translateY(-12cqh) scale(1); } 100% { opacity: 0; } }
.dm-thumb .pw-hud { font-size: 1.6cqw; }
.dm-thumb .pw-card b { font-size: 1.5cqw; }
.dm-thumb .pw-card small { font-size: 1.8cqw; }
.dm-thumb .pw-dot { width: 1.5cqw; height: 1.5cqw; left: -.75cqw; top: -.75cqw; }

@media (prefers-reduced-motion: reduce) {
  .live-scene *, .live-scene::before { animation: none !important; }
  .ld-winner, .ld-ticket, .pw-dot, .pw-card { opacity: 1; transform: none; }
  .ld-winner { transform: translateX(-50%); }
  .pw-card { transform: translateY(-50%); }
  .ld-names { transform: translateY(-110cqh); }
  .ld-confetti, .pw-react { display: none; }
}
.art-card .pw-hud { left: auto; right: 5cqw; }
.art-card .ld-screen { top: 14cqh; }
.art-card .ld-stage { top: 59cqh; }

/* ===== 19. Byte Size Media reel cards (about + workshop video rows) ===== */
/* Real 9:16 IG covers (assets/img/bsm, IG already burns in a play icon), so the cards are portrait and narrower. */
.ws-video-grid--reels { grid-auto-columns: clamp(190px, 21%, 250px); }
.ws-reel-cover { aspect-ratio: 9 / 16; background: #231f20; }
.ws-reel-cover::after { background: linear-gradient(180deg, transparent 75%, rgba(0, 0, 0, 0.25) 100%); }
.ws-video-card--reel .ws-video-meta { padding: 0.9rem 1rem 1.1rem; }
.ws-video-card--reel .ws-video-meta h4 { font-size: 1rem; }
.ws-video-card--reel .ws-video-meta p { font-size: 0.85rem; }
.ws-reel-follow {
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.78rem;
  white-space: nowrap;
  background: #231f20;
  color: #c6ff3d;
  border-color: #231f20;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ws-reel-follow:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(35, 31, 32, 0.3); }
.ws-reel-follow .pp-icon { color: currentColor; --pp-icon-accent: currentColor; --pp-icon-accent-opacity: .25; }
@media (max-width: 768px) {
  .ws-video-grid--reels { grid-auto-columns: 58%; }
  .ws-video-subhead:has(.ws-reel-follow) { flex-wrap: wrap; }
  .ws-video-subhead:has(.ws-reel-follow) .ws-video-subhead-text { flex: 1 1 calc(100% - 5rem); min-width: 0; }
  .ws-reel-follow { order: 3; }
}
