/* =========================================================
   Base / Typography
========================================================= */

html {
  box-sizing: border-box;
  font-size: clamp(14px, 1.1vw + 10px, 18px);
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  font-family: Verdana, Geneva, sans-serif;
  margin: 0;
  line-height: 1.7;
  text-align: center;
  color: #111;
  background: #fff;
  padding-bottom: 64px;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
}

h1, h2 {
  margin: 1rem 0 .5rem;
  line-height: 1.25;
}

h1 { font-size: clamp(22px, 2.2vw + 16px, 32px); }
h2 { font-size: clamp(18px, 1.8vw + 14px, 26px); }

p {
  margin: 0 auto 1rem;
  max-width: 80ch;
  padding: 0 1rem;
}


/* =========================================================
   HERO
========================================================= */

.hero-wrap {
  height: auto;
  max-width: min(1100px, 100%);
  margin: 16px auto;
  overflow: hidden;
  border-radius: 6px;
  animation: heroFade 0.9s ease-out;
}

.hero {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.6s ease;
}

.hero:hover {
  transform: scale(1.01);
}

@keyframes heroFade {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* =========================================================
   Search Bar
   ---------------------------------------------------------
   Live video search field used to filter games instantly.
   No search button required.
========================================================= */

.search-container{
  display:flex;
  justify-content:center;
  margin:10px auto 8px auto;
  max-width:650px;
}

.search-wrapper{
  position:relative;
  width:100%;
}

#searchBar{

  width:100%;
  padding:12px 46px 12px 46px;

  font-size:16px;
  font-weight:500;

  border-radius:999px;
  border:2px solid #e3e6ea;

  background:#ffffff;

  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    transform .15s ease;

}

/* focus animation */

#searchBar:focus{

  outline:none;
  border-color:#0066cc;

  box-shadow:
    0 0 0 4px rgba(0,102,204,0.15);

}

/* subtle hover */

#searchBar:hover{
  border-color:#c9d2db;
}

/* search icon */

.search-icon{

  position:absolute;
  left:16px;
  top:50%;
  transform:translateY(-50%);

  font-size:18px;
  opacity:.55;

}

/* clear search button */

.search-clear{

  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);

  font-size:18px;
  font-weight:700;

  color:#9aa3ad;
  cursor:pointer;

  display:none;

  transition:color .2s ease;
}

.search-clear:hover{
  color:#333;
}

/* hint text */

.search-hint{

  text-align:center;
  font-size:13px;
  color:#6b7280;

  margin-top:4px;
  margin-bottom:26px;

}
/* =========================================================
   Search Results Header
========================================================= */

.search-results-header{
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e5e5e5;
  color: #333;
}

/* =========================================================
   Search Match Highlight
========================================================= */

.search-highlight{
  background: #fff3a0;
  padding: 1px 3px;
  border-radius: 3px;
  font-weight: 600;
}

/* =========================================================
   Pill Filter
========================================================= */

.pill-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 25px 0 35px;
  flex-wrap: wrap;

  position: relative; /* REQUIRED for slider */
}

.pill-slider {
  display: none;
}

.pill {
  border: none;
  padding: 8px 16px;
  border-radius: 999px;

  background: #f1f3f5;
  color: #333;

  font-size: 14px;
  font-weight: 500;

  cursor: pointer;

  transition: all 0.2s ease;
}

/* =========================================================
   Hover Effects (Desktop Only)
   ---------------------------------------------------------
   Prevents mobile browsers from applying hover states
   after taps, which interferes with the pill slider.
========================================================= */

@media (hover: hover) and (pointer: fine) {

  .pill:hover {
  background: #e2e6ea;
}

}

/* Active pill should NOT show the grey hover background */
.pill.active:hover {
  background: transparent;
}

.pill.active {
  background: #1e6fd9;
  color: #fff;

  font-weight: 700;

  box-shadow: 0 6px 16px rgba(30,111,217,0.35);
}


/* =========================================================
   Section Headers
========================================================= */

.section-header {
  font-size: 24px;
  font-weight: bold;
  text-align: left;
  margin: 40px 0 15px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.section-header:hover {
  background: #f5f7fa;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.section-count {
  font-weight: normal;
  font-size: 18px;
  color: #666;
  margin-left: 6px;
}


/* =========================================================
   Collapsible Containers
========================================================= */

.collapsible-content {
  overflow: hidden;
  transition: max-height .4s ease, opacity .3s ease;
}

.collapsed {
  max-height: 0 !important;
  opacity: 0;
  pointer-events: none;
}


/* =========================================================
   Subgroups
========================================================= */

.subgroup {
  margin-bottom: 40px;
}

.subgroup-header {
  font-size: 20px;
  font-weight: 700;
  text-align: left;
  padding: 10px 12px;
  margin-bottom: 15px;
  background: #f1f3f5;
  border-left: 4px solid #333;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s ease;
  user-select: none;
}

.subgroup-header:hover {
  background: #e2e6ea;
}

.toggle-icon {
  display: inline-block;
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.subgroup-header.expanded .toggle-icon {
  transform: rotate(90deg);
}


/* =========================================================
   Video Grid
========================================================= */

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 20px;

  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.3s ease;
  max-height: 5000px;
}

.video-grid.collapsed {
  max-height: 0 !important;
  opacity: 0;
  pointer-events: none;
}


/* =========================================================
   Video Cards
========================================================= */

.video-card-wrapper {
  position: relative;
}

.video-card {
  background: #fafafa;
  border: 1px solid #ddd;
  padding: 14px;
  border-radius: 8px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

/* ================================
   Video Card Typography
================================ */

.video-card h3 {
  font-size: clamp(14px, 1vw + 11px, 16px);
  font-weight: 700;
  line-height: 1.32;
  margin: 8px 0 6px;
  text-wrap: balance;
  max-width: 30ch;
  margin-left: auto;
  margin-right: auto;
}

.video-card .meta {
  font-size: clamp(13px, 0.6vw + 11px, 14px);
  color: #555;
  line-height: 1.35;
}

.video-card .meta div {
  margin-top: 3px;
}

/* Mobile optimization */

@media (max-width: 640px) {

  .video-card h3 {
    max-width: 26ch;
    line-height: 1.3;
  }

  .video-card .meta {
    line-height: 1.32;
  }

}


/* =========================================================
   Thumbnail
========================================================= */

.thumb-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.thumbnail {
  width: 100%;
  display: block;
  transition: transform .35s ease;
}

/* =========================================================
   Thumbnail Overlay
========================================================= */

.thumb-wrapper::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to top,
    rgba(0,0,0,.45) 0%,
    rgba(0,0,0,.15) 35%,
    rgba(0,0,0,0) 70%
  );
  pointer-events:none;
}

/* Thumbnail zoom */

.video-card:hover .thumbnail {
  transform: scale(1.06);
}


/* =========================================================
   Score + Angle Badges
========================================================= */

.score-badge,
.multi-badge {
  position: absolute;
  top: 8px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,0.6);
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
  z-index: 5;
}

.score-badge {
  left: 8px;
  color: #fff;
}

.multi-badge {
  right: 8px;
  background: linear-gradient(135deg,#ffcc00,#ff9900);
  color: #000;
}

/* Result Colors */

.score-win { background: linear-gradient(135deg,#2e7d32,#43a047); }
.score-loss { background: linear-gradient(135deg,#c62828,#e53935); }
.score-draw { background: linear-gradient(135deg,#546e7a,#78909c); }
.score-tbd { background: linear-gradient(135deg,#616161,#9e9e9e); }

/* Score Number Styling */

.team-score {
  font-weight: 900;
}

.opponent-score {
  opacity: 0.55;
  font-weight: 700;
}

/* =========================================================
   Camera Buttons
========================================================= */

.camera-links-desktop {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.camera-links-desktop span {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
}

.camera-links-desktop span:nth-child(1){background:#0066cc;}
.camera-links-desktop span:nth-child(2){background:#2e7d32;}
.camera-links-desktop span:nth-child(3){background:#6a1b9a;}


/* =========================================================
   Tooltip
========================================================= */

.camera-cta{
  position: relative;
}

.camera-cta::before{
  content: attr(data-tooltip);
  position: absolute;
  bottom: 140%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(0,0,0,0.9);
  color: #fff;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
}

@media (hover:hover){
.camera-cta:hover::before{
opacity:1;
transform:translateX(-50%) translateY(0);
}
}

.camera-cta.show-tooltip::before{
opacity:1;
transform:translateX(-50%) translateY(0);
}

/* =========================================================
   Video Modal Player
========================================================= */

.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.video-modal-container {
  position: relative;
  width: min(1100px, 95vw);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.video-modal-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

.video-modal-close:hover {
  transform: scale(1.08);
}

/* =========================================================
   Video Modal Overlay
========================================================= */

#videoModal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

#videoModal iframe{
  width: min(1100px, 95vw);
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

/* =========================================================
   Modal Metadata
========================================================= */

#modalMeta{
  max-width: min(1100px,95vw);
  margin: 14px auto 0;
  text-align: center;
  color: #f2f2f2;
  font-size: 14px;
  line-height: 1.45;
}

/* Top metadata strip (date / score / tournament) */

.modal-meta-strip{
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  background: rgba(0,0,0,0.45);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* Optional notes section */

.modal-notes{
  margin-top: 10px;
  font-size: 13px;
  opacity: .85;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   Modal Visual Upgrade (Animation + Layout Polish)
========================================================= */

#videoModal{
  animation: modalFadeIn .25s ease-out;
}

/* Fade background in */

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

/* Video entrance animation */

#modalContent{
  animation: modalLift .25s ease-out;
}

@keyframes modalLift{
  from{
    transform:translateY(18px) scale(.98);
    opacity:.6;
  }
  to{
    transform:translateY(0) scale(1);
    opacity:1;
  }
}

/* Improve spacing between video and metadata */

#modalFrame{
  border-radius:8px;
  box-shadow:0 20px 60px rgba(0,0,0,.6);
  margin-bottom:12px;
}

/* Slight separation for metadata */

#modalMeta{
  margin-top:6px;
}
/* =========================================================
   Sticky Tournament Fee Bar (Year-Based Team Sites)
   ---------------------------------------------------------
   Purpose:
   - Provides a persistent call-to-action for tournament fee
     payments on year-based youth soccer team sites.

   Notes:
   - Intended ONLY for team-management sites where parents
     are responsible for tournament fee payments.
   - Not used on general highlight/video-only team sites.

   Layout Behavior:
   - Fixed to bottom of viewport
   - High z-index to ensure visibility above content
========================================================= */

.sticky-fee-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #0066cc;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
  gap: 16px;
  z-index: 999;
}

.sticky-fee-button {
  background: #fff;
  color: #0066cc;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.sticky-fee-close {
  position: absolute;
  right: 16px;
  cursor: pointer;
  font-weight: 900;
}
/* =========================================================
   GUEST PAGE LAYOUT
========================================================= */

.guest-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
}

/* =========================================================
   SIDEBAR
========================================================= */

.guest-sidebar {

  width: 300px;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;

  background: transparent;

  display: flex;
  align-items: flex-start;
  justify-content: center;

  padding-top: 20px;

  box-sizing: border-box;

}

.guest-portrait {
  display: block;
  width: calc(100% - 40px);
  height: auto;

  background: transparent;

  margin-left: 20px;
  margin-right: 20px;

  box-sizing: border-box;
}

/* =========================================================
   MAIN CONTENT
========================================================= */

.guest-main {

  width: calc(100% - 300px);
  margin-left: 300px;

  padding: 30px 30px 40px 30px;

  box-sizing: border-box;

}

/* =========================================================
   ATHLETE TITLE
========================================================= */

.guest-title {
  margin-bottom: 20px;
  text-align: center;
}

.guest-title h1 {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.guest-subtitle {
  font-size: 16px;
  color: #666;
  margin-top: 6px;
  text-align: center;
}

/* =========================================================
   MOBILE HEADER
========================================================= */

.guest-mobile-header{
  display:none;
}

.guest-mobile-header img{

  width:100%;
  height:auto;

}

/* =========================================================
   MOBILE LAYOUT
========================================================= */

@media (max-width:900px){

  .guest-layout {
    display: block;
    width: 100%;
  }

  .guest-sidebar {
    display: none;
  }

  .guest-main {
    width: 100%;
    margin: 0;
    padding: 20px 16px 30px 16px;
    box-sizing: border-box;
  }

  .guest-mobile-header {
    display: block;
    margin-bottom: 20px;
  }

  .guest-title {
    display: none;
  }

}
/* =========================================================
   SINGLE GAME MODE
   Compact layout for shareable match pages
========================================================= */

body.mode-single-game #contentContainer{
  display: flex;
  justify-content: center;
}

body.mode-single-game .video-grid{
  width: 560px;
  max-width: 100%;
  margin: 24px auto;
}

body.mode-single-game .video-card-wrapper{
  width: 100%;
}

body.mode-single-game .video-card{
  width: 100%;
  padding: 12px 14px;
  text-align: center;
}

body.mode-single-game .thumb-wrapper{
  display: block;
}

body.mode-single-game .thumbnail{
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Center the game title */

body.mode-single-game .video-card h3{
  display: block;
  width: 100%;
  text-align: center;
  margin: 8px 0 6px;
}

body.mode-single-game .meta{
  font-size: 13px;
  text-align: center;
}

body.mode-single-game .camera-links-desktop{
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

body.mode-single-game .camera-cta{
  padding: 6px 10px;
  font-size: 13px;
}

/* ========================================
   GUEST MODE — SEARCH SECTION
   ======================================== */

.guest-main .search-container {

  width: 100%;
  max-width: 600px;
  margin: 0 auto 14px auto;

  position: relative;

}

/* Search icon */

.guest-main .search-container::before {

  content: "🔎";

  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);

  font-size: 16px;
  line-height: 1;
  opacity: 0.55;

  pointer-events: none;
  z-index: 2;

}

/* Search input */

.guest-main .search-container input {

  width: 100%;
  height: 44px;

  padding: 0 42px 0 46px;

  border-radius: 999px;

  box-sizing: border-box;

}

/* Clear button */

.guest-main #searchClear {

  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);

  background: transparent;
  border: none;

  font-size: 14px;
  color: #888;

  cursor: pointer;

  padding: 0;
  width: auto;
  height: auto;

  line-height: 1;

  display: none;

}

/* Show only when active */

.guest-main #searchClear.active {
  display: block;
}

/* Helper text */

.guest-main .search-help {

  font-size: 12px;
  color: #777;

  margin-top: 10px;

  text-align: center;
  width: 100%;

}

/* ========================================
   GUEST MODE — CATEGORY PILLS
   ======================================== */

.guest-main #categoryPills {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

  gap: 12px;
  margin: 18px 0 22px 0;

  background: transparent !important;
  padding: 0 !important;
}

/* 🔥 Hide any stray/empty elements (THIS FIXES THE GRAY BAR) */

.guest-main #categoryPills > :empty {
  display: none !important;
}

/* 🔥 Also hide any non-button ghost elements */

.guest-main #categoryPills > div:empty {
  display: none !important;
}

/* Base pill */

.guest-main #categoryPills > * {

  padding: 8px 16px !important;
  border-radius: 999px !important;

  background: #f1f3f5 !important;
  color: #333 !important;

  font-size: 14px !important;
  font-weight: 500 !important;

  border: none !important;

  box-shadow: none !important;
  outline: none !important;

  transition: all 0.2s ease;

}

/* Hover */

.guest-main #categoryPills > *:hover {
  background: #e2e6ea !important;
}

/* ACTIVE STATE */

.guest-main #categoryPills > *.active,
.guest-main #categoryPills > *.selected {

  background: #1e6fd9 !important;
  color: #fff !important;

  font-weight: 700 !important;

  /* Add lift + scale */
  transform: scale(1.05) !important;

  /* Add glow */
  box-shadow:
    0 6px 16px rgba(30,111,217,0.35),
    0 0 8px rgba(30,111,217,0.4) !important;

  transition: all 0.2s ease;

}
/* ========================================
   GUEST MODE — TEAM NAME EMPHASIS
   ======================================== */

.guest-main .guest-team-highlight {
  font-weight: 800 !important;
  color: #ff3b30 !important;
}

/* =========================================================
   Shared Contact Button + Modal
========================================================= */

.contact-floating-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9500;

  border: none;
  border-radius: 999px;

  background: #1e6fd9;
  color: #fff;

  padding: 10px 18px;

  font-size: 14px;
  font-weight: 700;

  cursor: pointer;

  box-shadow: 0 8px 20px rgba(30,111,217,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-floating-button:hover {
  background: #1559b3;
  box-shadow: 0 10px 24px rgba(30,111,217,0.45);
}

.contact-floating-button:active {
  transform: scale(0.96);
}

.contact-status {
  position: fixed;
  right: 18px;
  bottom: 74px;
  z-index: 9500;

  display: none;

  max-width: 320px;
  padding: 10px 14px;

  border-radius: 10px;

  background: #ffffff;
  color: #111;

  font-size: 13px;
  font-weight: 600;
  text-align: left;

  border: 1px solid #dfe4ea;
  box-shadow: 0 8px 22px rgba(0,0,0,0.16);
}

.contact-status.show {
  display: block;
}

.contact-status.success {
  border-left: 5px solid #2e7d32;
}

.contact-status.error {
  border-left: 5px solid #c62828;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(0,0,0,0.72);
}

.contact-modal-content {
  position: relative;

  width: min(520px, 95vw);
  max-height: 92vh;
  overflow-y: auto;

  background: #ffffff;
  color: #111;

  border-radius: 14px;
  padding: 24px;

  text-align: left;

  box-shadow: 0 24px 70px rgba(0,0,0,0.42);
  animation: contactModalLift 0.22s ease-out;
}

.contact-modal-content h2 {
  margin: 0 0 16px;
  padding-right: 40px;

  font-size: 22px;
  line-height: 1.25;
  text-align: left;
}

.contact-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;

  width: 34px;
  height: 34px;

  border: none;
  border-radius: 50%;

  background: #f1f3f5;
  color: #222;

  font-size: 16px;
  font-weight: 800;

  cursor: pointer;
}

.contact-modal-close:hover {
  background: #e2e6ea;
}

#contactForm {
  display: grid;
  gap: 10px;
}

#contactForm label {
  font-size: 13px;
  font-weight: 700;
  color: #333;
}

#contactForm input,
#contactForm textarea {
  width: 100%;

  border: 1px solid #ccd3dc;
  border-radius: 8px;

  padding: 10px 12px;

  font-family: inherit;
  font-size: 14px;

  background: #fff;
  color: #111;
}

#contactForm input:focus,
#contactForm textarea:focus {
  outline: none;
  border-color: #1e6fd9;
  box-shadow: 0 0 0 3px rgba(30,111,217,0.16);
}

#contactForm textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit-button {
  margin-top: 8px;

  border: none;
  border-radius: 999px;

  background: #1e6fd9;
  color: #fff;

  padding: 10px 18px;

  font-size: 14px;
  font-weight: 800;

  cursor: pointer;

  box-shadow: 0 8px 18px rgba(30,111,217,0.30);
}

.contact-submit-button:hover {
  background: #1559b3;
}

.contact-submit-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contact-form-message {
  min-height: 18px;

  font-size: 13px;
  font-weight: 600;
  color: #c62828;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@keyframes contactModalLift {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =========================================================
   Shared Contact Mobile Layout
========================================================= */

@media (max-width: 640px) {

  .contact-floating-button {
    right: 14px;
    bottom: 14px;
    padding: 9px 15px;
  }

  .contact-status {
    right: 14px;
    left: 14px;
    bottom: 68px;
    max-width: none;
  }

  .contact-modal {
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
  }

  .contact-modal-content {
    width: 100%;
    max-height: none;
    min-height: 100vh;

    border-radius: 0;
    padding: 22px 18px 28px;
  }

}

/* =========================================================
   Tournament Mode Layout
========================================================= */

body.mode-tournament .pill-filter {
  display: none;
}

body.mode-tournament .tournament-section {
  margin: 34px auto;
}

body.mode-tournament .tournament-section-title {
  text-align: left;
  font-size: clamp(20px, 1.6vw + 14px, 28px);
  font-weight: 800;
  margin: 0 0 18px;
  padding: 10px 14px;
  border-left: 5px solid #1e6fd9;
  background: #f5f7fa;
  border-radius: 8px;
}

body.mode-tournament .tournament-featured-section {
  margin-top: 46px;
}

body.mode-tournament .tournament-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 22px;
  align-items: stretch;
}

body.mode-tournament .tournament-featured-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
  border: 1px solid #dbe3ed;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.12);
}

body.mode-tournament .tournament-featured-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #1e6fd9;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.mode-tournament .tournament-final-card {
  border-color: #f0b429;
  box-shadow: 0 16px 40px rgba(240,180,41,0.22);
}

body.mode-tournament .tournament-final-card .tournament-featured-label {
  background: linear-gradient(135deg, #f0b429, #d99a00);
  color: #111;
}

body.mode-tournament .tournament-featured-card .video-card-wrapper,
body.mode-tournament .tournament-featured-card .video-card {
  height: 100%;
}

body.mode-tournament .tournament-featured-card .video-card {
  border: none;
  background: #ffffff;
}

body.mode-tournament .tournament-featured-card .video-card h3 {
  font-size: clamp(16px, 1.2vw + 12px, 20px);
  max-width: 36ch;
}

body.mode-tournament .tournament-featured-card .score-badge,
body.mode-tournament .tournament-featured-card .multi-badge {
  font-size: 13px;
  padding: 7px 12px;
}

@media (max-width: 760px) {

  body.mode-tournament .tournament-featured-grid {
    grid-template-columns: 1fr;
  }

  body.mode-tournament .tournament-section-title {
    text-align: center;
    border-left: none;
    border-top: 4px solid #1e6fd9;
  }

}