/* ==========================================================================
   Sportlerehrung Wetzlar – 1920x1080 Virtual Broadcast Stage Styles
   Shared identically by Stage Output, Live Monitor, and Preview Monitor.
   ========================================================================== */

.stage-viewport-outer {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-scale-box {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1920px;
  height: 1080px;
  transform-origin: center center;
  transform: translate(-50%, -50%) scale(1);
  overflow: hidden;
  background: #000000;
}

/* Base Stage Canvas (1920 x 1080 logical pixels) */
.stage-canvas-1920 {
  position: relative;
  width: 1920px;
  height: 1080px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  box-sizing: border-box;
}

.stage-canvas-1920 *,
.stage-canvas-1920 *::before,
.stage-canvas-1920 *::after {
  box-sizing: border-box;
}

/* ---------- Themes ---------- */
.stage-canvas-1920.theme-classic-modern {
  background:
    radial-gradient(1200px 700px at 85% 22%, rgba(202, 0, 0, 0.055), transparent 65%),
    radial-gradient(1000px 600px at 12% 82%, rgba(212, 160, 23, 0.05), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F5F6F9 52%, #ECEEF3 100%);
  color: #111827;
}

.stage-canvas-1920.theme-classic-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -28deg,
    rgba(202, 0, 0, 0.022) 0px,
    rgba(202, 0, 0, 0.022) 2px,
    transparent 2px,
    transparent 44px
  );
  pointer-events: none;
  z-index: 0;
}

.stage-canvas-1920.theme-gala-dark {
  background:
    radial-gradient(1100px 720px at 88% 18%, rgba(202, 0, 0, 0.24), transparent 62%),
    radial-gradient(900px 650px at 14% 85%, rgba(212, 160, 23, 0.14), transparent 60%),
    linear-gradient(160deg, #070B14 0%, #0E1526 52%, #131B2E 100%);
  color: #F9FAFB;
}

.stage-canvas-1920.theme-gala-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -28deg,
    rgba(255, 255, 255, 0.018) 0px,
    rgba(255, 255, 255, 0.018) 2px,
    transparent 2px,
    transparent 44px
  );
  pointer-events: none;
  z-index: 0;
}

/* ---------- Gala Highlight Animations ---------- */
.stage-gala-beams {
  position: absolute;
  inset: -40%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
}

.stage-gala-sparkles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.gala-sparkle-dot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 211, 101, 0.95) 0%, rgba(212, 160, 23, 0) 70%);
  animation: galaFloat 6s ease-in-out infinite;
}

@keyframes galaFloat {
  0%, 100% { transform: translateY(0) scale(0.8); opacity: 0.25; }
  50% { transform: translateY(-28px) scale(1.25); opacity: 0.85; }
}

@keyframes galaBeamSpin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.06); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes galaShimmerSweep {
  0% { transform: translateX(-140%) skewX(-20deg); opacity: 0; }
  20% { opacity: 0.8; }
  80% { opacity: 0.8; }
  100% { transform: translateX(220%) skewX(-20deg); opacity: 0; }
}

@keyframes galaRiseIn {
  from { opacity: 0; transform: translateY(26px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes galaSweepIn {
  from { opacity: 0; transform: translateX(-42px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes galaPhotoReveal {
  from { opacity: 0; transform: scale(0.92); filter: brightness(0.75); }
  to { opacity: 1; transform: scale(1); filter: brightness(1); }
}

.anim-spotlight .stage-gala-beams {
  opacity: 0.95;
  background:
    conic-gradient(from 15deg at 50% 45%,
      transparent 0deg,
      rgba(246, 211, 101, 0.14) 24deg,
      transparent 52deg,
      transparent 165deg,
      rgba(202, 0, 0, 0.13) 195deg,
      transparent 230deg,
      transparent 360deg);
  animation: galaBeamSpin 18s linear infinite;
}

.anim-spotlight .stage-photo-frame,
.anim-spotlight .tpl-category-emblem-box {
  animation: galaPhotoReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
  box-shadow: 0 28px 72px rgba(212, 160, 23, 0.28), 0 0 0 3px rgba(246, 211, 101, 0.48) !important;
}

.anim-spotlight .stage-badge,
.anim-spotlight .tpl-category-tag {
  animation: galaRiseIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.anim-spotlight .tpl-honoree-name,
.anim-spotlight .tpl-category-title,
.anim-spotlight .tpl-welcome-title {
  animation: galaRiseIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.anim-spotlight .tpl-honoree-club,
.anim-spotlight .tpl-category-subtitle {
  animation: galaRiseIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.anim-spotlight .tpl-achievement-item {
  animation: galaRiseIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.36s both;
}

.anim-gold-shimmer .stage-gala-beams {
  opacity: 0.7;
  background: radial-gradient(circle at 50% 45%, rgba(246, 211, 101, 0.14), transparent 62%);
}

.anim-gold-shimmer .tpl-achievement-item,
.anim-gold-shimmer .tpl-podium-card.rank-1 {
  position: relative;
  overflow: hidden;
}

.anim-gold-shimmer .tpl-podium-card.rank-1::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: galaShimmerSweep 3.8s ease-in-out infinite;
  pointer-events: none;
}

.anim-gold-shimmer .tpl-welcome-title,
.anim-gold-shimmer .tpl-category-title,
.anim-gold-shimmer .tpl-podium-title {
  animation: galaRiseIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.anim-trophy-reveal .stage-badge {
  animation: galaRiseIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.anim-trophy-reveal .stage-photo-frame {
  animation: galaPhotoReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

.anim-trophy-reveal .tpl-honoree-name,
.anim-trophy-reveal .tpl-team-title {
  animation: galaRiseIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.26s both;
}

.anim-trophy-reveal .tpl-honoree-club {
  animation: galaRiseIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.34s both;
}

.anim-trophy-reveal .tpl-achievement-item:nth-child(1) { animation: galaRiseIn 0.65s ease 0.42s both; }
.anim-trophy-reveal .tpl-achievement-item:nth-child(2) { animation: galaRiseIn 0.65s ease 0.52s both; }
.anim-trophy-reveal .tpl-achievement-item:nth-child(3) { animation: galaRiseIn 0.65s ease 0.62s both; }

.anim-ribbon-sweep .tpl-category-emblem-box,
.anim-ribbon-sweep .stage-photo-frame {
  animation: galaSweepIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.anim-ribbon-sweep .tpl-category-copy,
.anim-ribbon-sweep .tpl-honoree-info {
  animation: galaSweepIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

/* ---------- Header Bar ---------- */
.stage-header {
  position: relative;
  z-index: 2;
  height: 138px;
  flex-shrink: 0;
  background: linear-gradient(105deg, #D60A0A 0%, #C20000 55%, #9B0000 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 58px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.stage-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.08) 0%, transparent 40%, rgba(255,255,255,0.05) 100%);
  pointer-events: none;
}

.stage-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  background: linear-gradient(90deg, #6E0908 0%, #7A0D0C 60%, #D4A017 100%);
}

.stage-header-logo {
  position: relative;
  height: 84px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.22));
}

.stage-header-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1120px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #FFFFFF;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.24);
  white-space: nowrap;
}

/* ---------- Sub-Bar (Category Header) ---------- */
.stage-subbar {
  position: relative;
  z-index: 2;
  height: 68px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 64px;
}

.theme-classic-modern .stage-subbar {
  background: rgba(232, 235, 241, 0.92);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  color: #1E293B;
}

.theme-gala-dark .stage-subbar {
  background: rgba(255, 255, 255, 0.055);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  color: #E2E8F0;
}

.stage-subbar-inner {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 31px;
  font-weight: 700;
  letter-spacing: 0.02em;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stage-subbar-accent {
  width: 8px;
  height: 34px;
  border-radius: 4px;
  background: #CA0000;
  flex-shrink: 0;
}

/* ---------- Main Body Container ---------- */
.stage-body {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  padding: 34px 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---------- Footer Organizer Logos ---------- */
.stage-footer {
  position: relative;
  z-index: 2;
  height: 126px;
  flex-shrink: 0;
  padding: 0 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-footer.is-large {
  height: 176px;
}

.stage-footer.is-pause-large {
  height: 204px;
}

.theme-classic-modern .stage-footer {
  background: rgba(255, 255, 255, 0.88);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.theme-gala-dark .stage-footer {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.stage-footer-tray {
  width: 100%;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 48px;
}

.stage-footer.is-large .stage-footer-tray {
  height: 136px;
}

.stage-footer.is-pause-large .stage-footer-tray {
  height: 164px;
}

.theme-gala-dark .stage-footer-tray {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 18px;
  padding: 12px 48px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.stage-footer-logo-item {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-footer-logo-item img {
  max-height: 82px;
  max-width: 380px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.stage-footer.is-large .stage-footer-logo-item img {
  max-height: 118px;
  max-width: 440px;
}

.stage-footer.is-pause-large .stage-footer-logo-item img {
  max-height: 142px;
  max-width: 470px;
}

/* ---------- Shared Card / Badge Utilities ---------- */
.stage-card {
  border-radius: 26px;
  padding: 36px;
}

.theme-classic-modern .stage-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.09);
}

.theme-gala-dark .stage-card {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}

.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.1;
}

.stage-badge.badge-gold {
  background: #FBF6E6;
  color: #5C4100;
  border: 1px solid #DFC77B;
  border-left: 7px solid #B8860B;
}

.theme-gala-dark .stage-badge.badge-gold {
  background: rgba(184, 134, 11, 0.22);
  color: #F5D77F;
  border: 1px solid rgba(212, 160, 23, 0.45);
  border-left: 7px solid #D4A017;
}

.stage-badge.badge-silver {
  background: #F1F5F9;
  color: #1E293B;
  border: 1px solid #CBD5E1;
  border-left: 7px solid #64748B;
}

.theme-gala-dark .stage-badge.badge-silver {
  background: rgba(148, 163, 184, 0.18);
  color: #E2E8F0;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-left: 7px solid #94A3B8;
}

.stage-badge.badge-bronze {
  background: #FAF0E8;
  color: #6B3410;
  border: 1px solid #DFB99C;
  border-left: 7px solid #A4531F;
}

.theme-gala-dark .stage-badge.badge-bronze {
  background: rgba(164, 83, 31, 0.22);
  color: #F2B88B;
  border: 1px solid rgba(196, 118, 66, 0.42);
  border-left: 7px solid #C9722E;
}

.stage-badge.badge-winner,
.stage-badge.badge-special {
  background: #FDF2F2;
  color: #8B0000;
  border: 1px solid #F3C6C6;
  border-left: 7px solid #CA0000;
}

.theme-gala-dark .stage-badge.badge-winner,
.theme-gala-dark .stage-badge.badge-special {
  background: rgba(202, 0, 0, 0.22);
  color: #FECACA;
  border: 1px solid rgba(202, 0, 0, 0.45);
  border-left: 7px solid #CA0000;
}

.stage-badge.badge-candidate {
  background: #F3F4F6;
  color: #374151;
  border: 1px solid #D1D5DB;
  border-left: 7px solid #4B5563;
}

.theme-gala-dark .stage-badge.badge-candidate {
  background: rgba(255, 255, 255, 0.08);
  color: #E5E7EB;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 7px solid #94A3B8;
}

.stage-vote-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 5px;
  font-size: 22px;
  font-weight: 800;
  background: rgba(202, 0, 0, 0.08);
  color: #991B1B;
  border: 1px solid rgba(202, 0, 0, 0.25);
}

.theme-gala-dark .stage-vote-pill {
  background: rgba(246, 211, 101, 0.14);
  color: #F6D365;
  border-color: rgba(246, 211, 101, 0.35);
}

/* ---------- Photo Frame & Placeholder ---------- */
.stage-photo-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-classic-modern .stage-photo-frame {
  background: #E5E7EB;
  border: 4px solid #FFFFFF;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.16);
}

.theme-gala-dark .stage-photo-frame {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.55);
}

.theme-classic-modern .stage-photo-frame.is-contain {
  background: #FFFFFF;
}

.theme-gala-dark .stage-photo-frame.is-contain {
  background: rgba(10, 15, 28, 0.72);
}

.stage-photo-frame img {
  width: 100%;
  height: 100%;
  display: block;
}

.stage-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px;
  text-align: center;
}

.theme-classic-modern .stage-photo-placeholder {
  background: linear-gradient(145deg, #F1F5F9 0%, #E2E8F0 100%);
  color: #64748B;
}

.theme-gala-dark .stage-photo-placeholder {
  background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  color: #94A3B8;
}

.stage-photo-placeholder svg {
  width: 96px;
  height: 96px;
  opacity: 0.5;
}

.stage-photo-placeholder span {
  font-size: 24px;
  font-weight: 600;
  opacity: 0.75;
}

/* ---------- 1. WELCOME ---------- */
.tpl-welcome {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 60px;
}

.tpl-welcome-eyebrow {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #CA0000;
  margin-bottom: 14px;
}

.theme-gala-dark .tpl-welcome-eyebrow {
  color: #F6D365;
}

.tpl-welcome-title {
  font-size: 86px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 1520px;
  margin: 0;
}

.tpl-welcome-divider {
  width: 180px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #CA0000 0%, #D4A017 100%);
  margin: 34px auto;
}

.tpl-welcome-subtitle {
  font-size: 38px;
  font-weight: 500;
  opacity: 0.75;
  margin: 0;
}

/* ---------- 2. CATEGORY ---------- */
.tpl-category {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 72px;
}

.tpl-category.no-emblem {
  text-align: center;
}

.tpl-category-emblem-box {
  width: 440px;
  height: 440px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  border-radius: 34px;
}

.theme-classic-modern .tpl-category-emblem-box {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.theme-gala-dark .tpl-category-emblem-box {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
}

.tpl-category-emblem-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.tpl-category-copy {
  flex: 1;
  max-width: 1120px;
}

.tpl-category.no-emblem .tpl-category-copy {
  max-width: 1460px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tpl-category-tag {
  display: inline-block;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #CA0000;
  margin-bottom: 18px;
}

.theme-gala-dark .tpl-category-tag {
  color: #F6D365;
}

.tpl-category-title {
  font-size: 78px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

.tpl-category-subtitle {
  margin-top: 24px;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0.78;
}

/* ---------- 3. HONOREE (SINGLE) ---------- */
.tpl-honoree {
  flex: 1;
  display: grid;
  grid-template-columns: 600px 1fr;
  gap: 52px;
  align-items: center;
  min-height: 0;
}

.tpl-honoree.is-wide-photo {
  grid-template-columns: 880px 1fr;
  gap: 48px;
}

.tpl-honoree-photo {
  width: 100%;
  height: 620px;
}

.tpl-honoree.is-wide-photo .tpl-honoree-photo {
  height: 586px;
}

.tpl-honoree-info {
  position: relative;
  height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 0;
  min-width: 0;
  gap: 18px;
}

.tpl-honoree-header-zone {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
}

.tpl-honoree-top-row {
  min-height: 58px;
  height: auto;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.tpl-honoree-badges {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 14px;
}

.tpl-club-logo-box {
  position: static;
  width: 224px;
  height: 152px;
  flex-shrink: 0;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-classic-modern .tpl-club-logo-box {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.theme-gala-dark .tpl-club-logo-box {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.tpl-club-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.tpl-honoree-name {
  font-size: 62px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  margin: 0;
}

.tpl-honoree.is-wide-photo .tpl-honoree-name {
  font-size: 54px;
}

.tpl-honoree-name.is-long-name {
  font-size: 46px;
  line-height: 1.12;
}

.tpl-honoree-name.is-very-long-name {
  font-size: 38px;
  line-height: 1.14;
}

.tpl-honoree-club {
  font-size: 36px;
  font-weight: 600;
  color: #CA0000;
  margin: 0;
}

.theme-gala-dark .tpl-honoree-club {
  color: #F6D365;
}

.tpl-achievements-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.tpl-achievement-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  border-radius: 16px;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.3;
}

.theme-classic-modern .tpl-achievement-item {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-left: 7px solid #CA0000;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.theme-gala-dark .tpl-achievement-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-left: 7px solid #F6D365;
}

.tpl-achievement-bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #CA0000;
  flex-shrink: 0;
}

.theme-gala-dark .tpl-achievement-bullet {
  background: #F6D365;
}

/* ---------- 4. DUO (2 PERSONS) ---------- */
.tpl-duo {
  flex: 1;
  display: grid;
  grid-template-columns: 740px 1fr;
  gap: 54px;
  align-items: center;
  min-height: 0;
}

.tpl-duo-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.tpl-duo-photo-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tpl-duo-photo-card .stage-photo-frame {
  height: 530px;
}

.tpl-duo-caption {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
}

.tpl-duo-names {
  font-size: 58px;
  font-weight: 800;
  line-height: 1.12;
  overflow-wrap: break-word;
  margin: 0;
}

/* ---------- 5. TEAM LIST ---------- */
.tpl-team {
  flex: 1;
  display: grid;
  grid-template-columns: 600px 1fr;
  gap: 52px;
  align-items: stretch;
  min-height: 0;
}

.tpl-team-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 0;
}

.tpl-team-left .stage-photo-frame {
  flex: 1;
  min-height: 380px;
}

.tpl-team-right {
  position: relative;
  height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 0;
  gap: 18px;
  min-width: 0;
}

/* ---------- Suspense / Reveal Teaser & Reveal Animation ---------- */
.tpl-reveal-teaser {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 28px;
  padding: 24px 80px;
}

.teaser-emblem {
  width: 146px;
  height: 146px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 3px solid rgba(202, 0, 0, 0.35);
  background: rgba(202, 0, 0, 0.06);
  color: #CA0000;
  animation: teaserPulse 2.8s ease-in-out infinite;
}

.theme-gala-dark .teaser-emblem {
  border-color: rgba(246, 211, 101, 0.45);
  background: rgba(246, 211, 101, 0.09);
  color: #F6D365;
}

@keyframes teaserPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(202, 0, 0, 0.22); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 24px rgba(202, 0, 0, 0); }
}

.teaser-title {
  font-size: 68px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 1400px;
  margin: 0;
}

.teaser-subtitle {
  font-size: 32px;
  font-weight: 500;
  opacity: 0.72;
  margin: 0;
}

.is-just-revealed .stage-photo-frame {
  animation: galaPhotoReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.is-just-revealed .tpl-honoree-info,
.is-just-revealed .tpl-team-right,
.is-just-revealed .tpl-photo-feature-copy {
  animation: galaRiseIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.tpl-team-title {
  font-size: 58px;
  font-weight: 800;
  line-height: 1.08;
  overflow-wrap: break-word;
  margin: 0;
}

.tpl-team-members-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 26px;
  padding: 24px 28px;
  border-radius: 20px;
}

.theme-classic-modern .tpl-team-members-grid {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.theme-gala-dark .tpl-team-members-grid {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.tpl-team-member {
  font-size: 27px;
  font-weight: 600;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tpl-team-member::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #CA0000;
  flex-shrink: 0;
}

.theme-gala-dark .tpl-team-member::before {
  background: #F6D365;
}

/* ---------- 6. PHOTO FEATURE ---------- */
.tpl-photo-feature {
  flex: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 52px;
  align-items: center;
  min-height: 0;
}

.tpl-photo-feature .stage-photo-frame {
  height: 620px;
}

.tpl-photo-feature-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tpl-photo-feature-title {
  font-size: 62px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

.tpl-photo-feature-subtitle {
  font-size: 34px;
  font-weight: 600;
  color: #CA0000;
  margin: 0;
}

.theme-gala-dark .tpl-photo-feature-subtitle {
  color: #F6D365;
}

.tpl-photo-feature-desc {
  font-size: 30px;
  line-height: 1.45;
  opacity: 0.84;
  margin: 0;
}

/* ---------- 7. VIDEO / MAZ ---------- */
.tpl-video-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 0;
}

.tpl-video-frame {
  width: 100%;
  height: 100%;
  max-height: 640px;
  border-radius: 24px;
  overflow: hidden;
  background: #05070C;
  border: 2px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tpl-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.tpl-video-fullscreen-wrap {
  position: absolute;
  inset: 0;
  background: #000000;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tpl-video-fullscreen-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.tpl-video-placeholder {
  text-align: center;
  padding: 48px;
  color: #F8FAFC;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.tpl-video-placeholder-title {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.tpl-video-placeholder-sub {
  font-size: 30px;
  opacity: 0.72;
}

/* ---------- 8. PODIUM (TOP 3) ---------- */
.tpl-podium {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  min-height: 0;
}

.tpl-podium-title {
  text-align: center;
  font-size: 54px;
  font-weight: 800;
  margin: 0;
}

.tpl-podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  align-items: end;
}

.tpl-podium-card {
  position: relative;
  border-radius: 26px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.55s ease;
}

.theme-classic-modern .tpl-podium-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.1);
}

.theme-gala-dark .tpl-podium-card {
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
}

.tpl-podium-card.rank-1 {
  padding-top: 34px;
  border-top: 8px solid #D4A017;
  transform: translateY(-18px);
}

.tpl-podium-card.rank-2 {
  border-top: 8px solid #94A3B8;
}

.tpl-podium-card.rank-3 {
  border-top: 8px solid #C9722E;
}

.tpl-podium-card.is-hidden {
  opacity: 0.14;
  filter: blur(10px);
  transform: scale(0.95);
}

.tpl-podium-photo {
  width: 240px;
  height: 240px;
  border-radius: 20px;
}

.tpl-podium-card.rank-1 .tpl-podium-photo {
  width: 270px;
  height: 270px;
}

.tpl-podium-name {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
}

.tpl-podium-club {
  font-size: 25px;
  font-weight: 600;
  opacity: 0.78;
}

.tpl-podium-bar-wrap {
  width: 100%;
  margin-top: 6px;
}

.tpl-podium-bar-track {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.25);
  overflow: hidden;
  margin-top: 8px;
}

.tpl-podium-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #CA0000 0%, #D4A017 100%);
}

/* ---------- 9. PAUSE / INFO / COUNTDOWN & SLIDESHOW ---------- */
.tpl-pause {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 22px;
  position: relative;
}

.tpl-pause-title {
  font-size: 70px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

.tpl-pause-subtitle {
  font-size: 34px;
  font-weight: 500;
  opacity: 0.82;
  max-width: 1260px;
  margin: 0;
}

.tpl-pause-timer {
  font-size: 118px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 24px 54px;
  border-radius: 28px;
  margin-top: 8px;
}

.theme-classic-modern .tpl-pause-timer {
  background: #FFFFFF;
  color: #CA0000;
  border: 2px solid rgba(202, 0, 0, 0.16);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.theme-gala-dark .tpl-pause-timer {
  background: rgba(255, 255, 255, 0.07);
  color: #F6D365;
  border: 2px solid rgba(246, 211, 101, 0.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
}

/* Pause Split Slideshow Layout */
.tpl-pause-split {
  flex: 1;
  display: grid;
  grid-template-columns: 660px 1fr;
  gap: 48px;
  align-items: center;
  min-height: 0;
}

.tpl-pause-split-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 20px;
}

.tpl-pause-split-left .tpl-pause-title {
  font-size: 62px;
}

.tpl-pause-split-left .tpl-pause-subtitle {
  font-size: 30px;
}

.tpl-pause-split-left .tpl-pause-timer {
  font-size: 102px;
  padding: 20px 44px;
}

.tpl-slideshow-frame {
  position: relative;
  width: 100%;
  height: 550px;
  border-radius: 26px;
  overflow: hidden;
  perspective: 1400px;
}

.theme-classic-modern .tpl-slideshow-frame {
  background: #0F172A;
  border: 5px solid #FFFFFF;
  box-shadow: 0 26px 64px rgba(15, 23, 42, 0.18);
}

.theme-gala-dark .tpl-slideshow-frame {
  background: #05070C;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.55);
}

/* Pause Backdrop Slideshow Layout */
.tpl-pause-backdrop {
  position: relative;
  flex: 1;
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 34px;
  perspective: 1400px;
}

.tpl-pause-backdrop .tpl-slideshow-layers {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.tpl-pause-backdrop-card {
  position: relative;
  z-index: 5;
  padding: 26px 38px;
  border-radius: 22px;
  background: rgba(10, 15, 28, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.tpl-pause-backdrop-card .tpl-pause-title {
  font-size: 48px;
  text-align: left;
}

.tpl-pause-backdrop-card .tpl-pause-subtitle {
  font-size: 24px;
  text-align: left;
  margin-top: 6px;
}

.tpl-pause-backdrop-card .tpl-pause-timer {
  font-size: 72px;
  padding: 14px 28px;
  margin-top: 0;
  background: rgba(202, 0, 0, 0.9);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
}

.tpl-slideshow-layers {
  position: relative;
  width: 100%;
  height: 100%;
}

.ss-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ss-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ss-layer-prev { z-index: 1; }
.ss-layer-curr { z-index: 2; }

/* 6 Slideshow Transition Animations */
.ss-trans-fade {
  animation: ssFadeIn 0.85s ease forwards;
}

.ss-trans-kenburns {
  animation: ssFadeIn 1.1s ease-in-out forwards;
  will-change: opacity;
}

.ss-trans-kenburns img {
  animation: ssKenBurns var(--ss-kb-dur, 9s) linear forwards;
  will-change: transform;
}

.ss-trans-slide {
  animation: ssSlideIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ss-trans-zoom {
  animation: ssZoomIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ss-trans-flip {
  animation: ssFlipIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  backface-visibility: hidden;
}

.ss-trans-wipe {
  animation: ssWipeIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes ssFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ssKenBurns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.12) translate(-1.5%, -1%); }
}

@keyframes ssSlideIn {
  from { opacity: 0.4; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes ssZoomIn {
  from { opacity: 0; transform: scale(1.1); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes ssFlipIn {
  from { opacity: 0; transform: rotateY(-70deg) scale(0.92); }
  to { opacity: 1; transform: rotateY(0deg) scale(1); }
}

@keyframes ssWipeIn {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

.tpl-fullbleed-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tpl-fullbleed-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(6, 10, 18, 0.42);
}

.tpl-fullbleed-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.65);
}

/* ---------- Transitions & Special Overlays ---------- */
.stage-layer {
  position: absolute;
  inset: 0;
  width: 1920px;
  height: 1080px;
}

.stage-layer.is-entering {
  z-index: 5;
}

.stage-layer.is-exiting {
  z-index: 4;
}

.trans-fade-enter {
  animation: stageFadeIn var(--trans-ms, 450ms) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.trans-slide-enter {
  animation: stageSlideIn var(--trans-ms, 450ms) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.trans-zoom-enter {
  animation: stageZoomIn var(--trans-ms, 450ms) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes stageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes stageSlideIn {
  from { opacity: 0; transform: translateX(70px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes stageZoomIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.stage-blackout-overlay {
  position: absolute;
  inset: 0;
  background: #000000;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.stage-blackout-overlay.active {
  opacity: 1;
}

.stage-standby-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.stage-standby-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.stage-confetti-canvas {
  position: absolute;
  inset: 0;
  width: 1920px;
  height: 1080px;
  z-index: 50;
  pointer-events: none;
}
