/* ================================================================
   THE WHALE PROJECT — Global Site Styles
   Immersive dark, Futura Condensed display, minimal structure
   ================================================================ */

@font-face {
  font-family: 'FuturaCondensed';
  src: url('/assets/personal/fonts/futuracondensed/FuturaBT-MediumCondensed.woff2') format('woff2'),
       url('/assets/personal/fonts/futuracondensed/FuturaBT-MediumCondensed.woff') format('woff'),
       url('/assets/personal/fonts/futuracondensed/FuturaBT-MediumCondensed.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---- CSS Variables ---- */
:root {
  --bg: #07080b;
  --fg: #e8e4de;
  --dim: rgba(232, 228, 222, 0.45);
  --accent: #c9b99a;
  --display: 'FuturaCondensed', 'Futura', 'Century Gothic', 'Arial Narrow', sans-serif;
  --body: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nav-height: 94px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Prevent outline jump when navigating between works and information */
  scrollbar-gutter: stable;
  overflow-y: scroll;
  scrollbar-color: rgba(232, 228, 222, 0.18) transparent;
  scrollbar-width: thin;
}

body {
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Minimalist dark scrollbar */
::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(232, 228, 222, 0.18);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(232, 228, 222, 0.38);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ================================================================
   PAGE ROUTE CROSSFADE (Content Only — Nav Remains Static)
   ================================================================ */

/* Universal Page Route Entry Transition: pure in-place fade */
.twp-page-enter {
  animation: twp-page-fade-in 0.48s ease-out both;
}

@keyframes twp-page-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ================================================================
   NAV
   ================================================================ */

.twp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: var(--nav-height);
  /* subtle gradient to ensure readability */
  background: linear-gradient(to bottom, rgba(7,8,11,0.88) 0%, transparent 100%);
  pointer-events: none;
}

/* Desktop: pause menu links when YouTube volume control is hovered */
@media (min-width: 769px) {
  body.twp-menu-paused .twp-nav-links,
  body.twp-menu-paused .twp-nav-links a {
    pointer-events: none !important;
  }
}

.twp-vol-trigger-zone {
  position: absolute;
  top: 0;
  right: 75px;
  width: 110px;
  height: 280px;
  z-index: 10005;
  pointer-events: auto;
  background: transparent;
}

@media (max-width: 768px) {
  .twp-vol-trigger-zone {
    display: none;
  }
}

.twp-nav-logo,
.twp-nav-links a,
.twp-nav-socials a {
  pointer-events: auto;
}

.twp-nav-logo {
  display: flex;
  align-items: center;
  margin-top: 12px;
}

.twp-nav-logo img {
  height: 56px;
  width: auto;
  opacity: 0.68;
  transition: opacity 0.25s ease;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}
.twp-nav-logo img:hover {
  opacity: 1;
}

.twp-nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
}

.twp-nav-links a {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(232, 228, 222, 0.55);
  padding: 4px 0 2px;
  text-decoration: none !important;
  border: none !important;
  border-bottom: none !important;
  outline: none !important;
  box-shadow: none !important;
  transition: color 0.2s;
}

.twp-nav-links a:hover {
  color: var(--fg);
}

.twp-nav-links a:focus,
.twp-nav-links a:focus-visible {
  outline: none !important;
  border: none !important;
  text-decoration: none !important;
}

.twp-nav-links a.active {
  color: #ffffff !important;
  font-weight: 500;
  border: none !important;
  border-bottom: none !important;
  outline: none !important;
  text-decoration: none !important;
}

.twp-nav-socials {
  display: flex;
  gap: 22px;
  align-items: center;
}

.twp-nav-socials a {
  font-family: var(--display);
  font-size: 12.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color 0.15s;
}

.twp-nav-socials a:hover { color: var(--fg); }

/* ================================================================
   LANDING — IMMERSIVE PROJECT LIST
   ================================================================ */

.twp-landing {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--nav-height) + 16px);
  padding-bottom: clamp(36px, 6vh, 64px);
  box-sizing: border-box;
}

@media (max-height: 750px) and (min-width: 769px) {
  .twp-landing {
    padding-top: calc(var(--nav-height) + 12px);
    padding-bottom: 32px;
  }
  .twp-landing-tagline {
    margin-bottom: auto;
  }
  .twp-project-item {
    padding: 14px 0;
  }
}

@media (max-height: 620px) and (min-width: 769px) {
  .twp-landing {
    padding-top: calc(var(--nav-height) + 8px);
    padding-bottom: 24px;
  }
  .twp-landing-tagline {
    font-size: 18px;
    margin-bottom: auto;
  }
  .twp-project-item {
    padding: 10px 0;
  }
  .twp-project-title {
    font-size: clamp(22px, 3.5vw, 36px);
  }
}

.twp-landing-projects {
  padding: 0 48px;
  max-width: 680px;
  margin-top: auto;
}

.twp-landing-tagline {
  font-family: var(--display);
  font-size: 21px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 0 48px;
  margin-bottom: auto;
}

.twp-project-item {
  display: block;
  padding: 20px 0;
  border-top: 1px solid rgba(232, 228, 222, 0.1);
  cursor: pointer;
  transition: border-color 0.5s ease;
}

.twp-project-item:last-child {
  border-bottom: 1px solid rgba(232, 228, 222, 0.1);
}

.twp-project-item:hover {
  border-color: rgba(232, 228, 222, 0.3);
}

.twp-project-item-inner {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.twp-project-title {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(232, 228, 222, 0.55);
  transition: color 0.5s ease;
  line-height: 1.1;
}

.twp-project-item:hover .twp-project-title,
.twp-project-item.active .twp-project-title {
  color: var(--fg);
}

.twp-project-type {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.5s ease;
}

.twp-project-item:hover .twp-project-type,
.twp-project-item.active .twp-project-type {
  color: var(--accent);
}

.twp-scroll-hint {
  position: absolute;
  bottom: 28px;
  right: 48px;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  animation: twp-fade-up 1.5s ease 3s both;
}

@keyframes twp-fade-up {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ================================================================
   WORKS PAGE
   ================================================================ */

.twp-works-page {
  position: relative;
  z-index: 10;
  padding-top: calc(var(--nav-height) + 48px);
  min-height: 100vh;
}

.twp-works-header {
  padding: 0 48px 24px;
}

/* Filter buttons */
.twp-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 0;
}

.twp-filter-btn {
  background: none;
  border: none !important;
  border-bottom: none !important;
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  cursor: pointer;
  padding: 4px 0;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color 0.15s ease;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.twp-filter-btn:hover {
  color: var(--fg);
}

.twp-filter-btn:focus,
.twp-filter-btn:focus-visible,
.twp-filter-btn:active {
  outline: none !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.twp-filter-btn.active {
  color: #ffffff !important;
  font-weight: 500;
  border: none !important;
  border-bottom: none !important;
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.twp-filter-sep {
  color: rgba(232, 228, 222, 0.2);
  font-size: 11px;
  user-select: none;
}

.twp-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2px;
  padding: 0 0 120px 0;
  transition: opacity 0.18s ease;
}

.twp-grid-fade-in {
  opacity: 1;
}

.twp-grid-fade-out {
  opacity: 0;
  pointer-events: none;
}

.twp-work-card {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
  background: #111215;
}

.twp-work-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.35s ease;
  opacity: 0.62;
}

.twp-work-card:hover .twp-work-card-bg {
  opacity: 0.85;
}

.twp-work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: background 0.3s ease;
}

.twp-work-card:hover .twp-work-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.25) 65%, transparent 100%);
}

.twp-work-card-type {
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.twp-work-card-title {
  font-family: var(--display);
  font-size: clamp(15px, 1.8vw, 22px);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1.15;
  transition: color 0.25s ease;
}

.twp-work-card:hover .twp-work-card-title {
  color: #ffffff;
}

.twp-work-card-desc {
  font-size: 12px;
  color: rgba(232, 228, 222, 0.60);
  margin-top: 6px;
  line-height: 1.4;
}

.twp-work-card-action {
  display: none;
}

/* Fullscreen preview modal */
.twp-fullscreen-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.98);
  display: flex;
  flex-direction: column;
  animation: twp-modal-in 0.35s ease both;
}

@keyframes twp-modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.twp-fullscreen-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0 -48px -26px;
  padding: calc(var(--nav-height) - 8px) 48px 6px;
  background: linear-gradient(to bottom, rgba(7, 8, 11, 0.98) 65%, transparent 100%);
  pointer-events: none;
}

.twp-fullscreen-back {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 0;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}
.twp-fullscreen-back:hover { color: var(--fg); }

.twp-fullscreen-content {
  display: grid;
  grid-template-columns: 1.618fr 1fr;
  height: 100vh;
  overflow: hidden;
}

.twp-fullscreen-media {
  position: relative;
  background: #000;
  overflow: hidden;
}

.twp-fullscreen-media iframe,
.twp-fullscreen-media img,
.twp-fullscreen-yt,
.twp-fullscreen-yt iframe,
.twp-fullscreen-yt-iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  border: none !important;
}

.twp-unmute-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 10006;
  background: rgba(7, 8, 11, 0.82);
  border: 1px solid rgba(232, 228, 222, 0.22);
  color: var(--fg);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: opacity 0.2s, background 0.2s, border-color 0.2s;
  pointer-events: auto;
}
.twp-unmute-badge:hover {
  background: rgba(232, 228, 222, 0.15);
  border-color: rgba(232, 228, 222, 0.45);
}

.twp-fullscreen-info {
  padding: 0 48px 80px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.twp-fullscreen-info-type {
  position: relative;
  z-index: 31;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0;
  margin-bottom: 6px;
  width: fit-content;
}

.twp-fullscreen-info-title {
  font-family: var(--display);
  font-size: clamp(22px, 3.2vw, 38px);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 20px;
}

.twp-fullscreen-info-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(232, 228, 222, 0.75);
  margin-bottom: 24px;
}

.twp-fullscreen-info-meta {
  font-size: 12px;
  color: var(--dim);
  line-height: 1.6;
}

.twp-fullscreen-info-link {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  border-bottom: 1px solid rgba(232, 228, 222, 0.2);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.twp-fullscreen-info-link:hover { color: var(--fg); border-color: var(--fg); }

/* Provisional tag */
.twp-provisional {
  font-style: italic;
  opacity: 0.5;
}

/* ================================================================
   INFORMATION PAGE
   ================================================================ */

.twp-info-page {
  position: relative;
  z-index: 10;
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 120px;
  min-height: 100vh;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 48px;
  padding-right: 48px;
}

.twp-info-headline {
  font-family: var(--display);
  font-size: clamp(22px, 3.2vw, 38px);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 40px;
}

.twp-info-body {
  font-size: 16.5px;
  line-height: 1.85;
  color: rgba(232, 228, 222, 0.88);
  margin-bottom: 32px;
}

.twp-info-section-label {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 64px 0 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(232, 228, 222, 0.12);
}

.twp-info-masterclass-note {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(232, 228, 222, 0.65);
}

.twp-info-masterclass-note a {
  color: inherit;
  border-bottom: none !important;
  text-decoration: underline;
  text-decoration-color: rgba(232, 228, 222, 0.12);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease, filter 0.18s ease;
  cursor: pointer;
}
.twp-info-masterclass-note a:hover {
  color: inherit;
  filter: brightness(1.10);
  text-decoration-color: rgba(232, 228, 222, 0.28);
}

/* Participants */
.twp-participants-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.twp-participant {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: baseline;
}

.twp-participant-name {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
}

.twp-participant-name a {
  color: var(--fg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.twp-participant-name a:hover { border-color: rgba(232,228,222,0.5); }

.twp-participant-role {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.6;
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */

.twp-contact-page {
  position: relative;
  z-index: 10;
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 120px;
  min-height: 100vh;
  max-width: 600px;
  margin: 0 auto;
  padding-left: 48px;
  padding-right: 48px;
}

.twp-contact-socials {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 64px;
}

.twp-contact-socials a {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(232,228,222,0.5);
  transition: color 0.2s;
  line-height: 1.1;
}
.twp-contact-socials a:hover { color: var(--fg); }

/* ================================================================
   SHARED UTILITIES
   ================================================================ */

.twp-page-label {
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 32px;
}

/* Linkified styles */
.twp-person-link {
  color: inherit;
  border-bottom: 1px solid rgba(232, 228, 222, 0.10);
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease, filter 0.25s ease;
}
.twp-person-link:hover {
  color: inherit;
  filter: brightness(1.10);
  border-bottom-color: rgba(232, 228, 222, 0.25);
}

/* Subtle inline hover in description & performance credits */
.twp-fullscreen-info-desc .twp-person-link,
.twp-perf-credits .twp-person-link {
  color: inherit;
  border-bottom-color: rgba(232, 228, 222, 0.09);
}
.twp-fullscreen-info-desc .twp-person-link:hover,
.twp-perf-credits .twp-person-link:hover {
  color: inherit;
  filter: brightness(1.10);
  border-bottom-color: rgba(232, 228, 222, 0.23);
}

.twp-inline-link {
  color: var(--fg);
  border-bottom: 1px solid rgba(232, 228, 222, 0.35);
  transition: border-color 0.2s, opacity 0.2s;
  word-break: break-all;
}
.twp-inline-link:hover {
  border-bottom-color: var(--fg);
  opacity: 0.85;
}

/* Modal performances per date */
.twp-perf-section {
  margin-top: 28px;
  border-top: 1px solid rgba(232, 228, 222, 0.1);
  padding-top: 20px;
}
.twp-perf-label {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.twp-perf-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(232, 228, 222, 0.08);
}
.twp-perf-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.twp-perf-date {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--fg);
}
.twp-perf-play-btn {
  background: rgba(232, 228, 222, 0.08);
  border: 1px solid rgba(232, 228, 222, 0.2);
  color: var(--fg);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 12px;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
}
.twp-perf-play-btn:hover, .twp-perf-play-btn.active {
  background: var(--accent);
  color: #07080b;
  border-color: var(--accent);
}
.twp-perf-place {
  font-size: 12px;
  color: var(--dim);
}
.twp-perf-credits {
  font-size: 12px;
  color: rgba(232, 228, 222, 0.55);
  margin-top: 4px;
  line-height: 1.55;
}

/* Modal Participants List */
.twp-modal-participants {
  margin-top: 28px;
  border-top: 1px solid rgba(232, 228, 222, 0.1);
  padding-top: 20px;
}
.twp-modal-part-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 6px 0;
  align-items: baseline;
}
.twp-modal-part-name {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
}
.twp-modal-part-role {
  font-size: 12px;
  color: var(--dim);
  line-height: 1.5;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  :root {
    --nav-height: 58px;
  }
  .twp-nav {
    height: 58px;
    padding: 0 20px;
    align-items: center;
  }
  .twp-nav-logo {
    margin-top: 0;
  }
  .twp-nav-logo img {
    height: 44px;
  }
  .twp-nav-socials { display: none; }
  
  /* Mobile: Elements jump up */
  .twp-landing {
    justify-content: flex-start !important;
    padding-top: calc(var(--nav-height) + 24px) !important;
    padding-bottom: 40px !important;
  }
  
  .twp-landing-projects {
    margin-top: 0 !important;
    padding: 0 20px;
  }
  .twp-landing-tagline {
    padding: 0 20px;
    font-size: 15px;
    margin-bottom: 24px;
  }
  .twp-works-grid { grid-template-columns: 1fr; }
  /* Mobile: hide all scrollbars */
  html, body, * {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
  }
  html {
    scrollbar-gutter: auto !important;
    overflow-y: auto !important;
  }
  html::-webkit-scrollbar, body::-webkit-scrollbar, *::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .twp-fullscreen-overlay {
    width: 100vw;
    max-width: 100vw;
  }

  .twp-fullscreen-content {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    max-width: 100vw;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .twp-fullscreen-content::-webkit-scrollbar {
    display: none;
  }

  .twp-fullscreen-media {
    margin-top: 58px;
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 100% !important;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
    height: auto;
    min-height: 0;
    position: relative;
    overflow: hidden;
  }

  .twp-fullscreen-info {
    flex: 1 0 auto;
    width: 100%;
    overflow-y: visible;
    padding: 0 20px 24px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .twp-fullscreen-info::-webkit-scrollbar {
    display: none;
  }

  .twp-fullscreen-topbar {
    position: sticky;
    top: 58px;
    z-index: 30;
    margin: 0 -20px -24px;
    padding: 22px 20px 6px;
    background: linear-gradient(to bottom, rgba(7, 8, 11, 0.98) 70%, transparent 100%);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    pointer-events: none;
  }

  .twp-info-page, .twp-contact-page {
    padding-left: 20px;
    padding-right: 20px;
  }
  .twp-participant {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .twp-modal-part-item {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .twp-scroll-hint { display: none; }
}
