found another problem on mobile..

events.php
so we have "<main class="container my-4 page-shell">" and inside it we have "<div class="events-premium-grid">", on desktop looks nicely aligned inside, check image 1 

but on mobile, the events-premium-grid is way too much tot he right outside the <main class="container my-4 page-shell">, check other images. Right side is perfectly inside the container but the left side looks like it has too much width..

in event_detail.php have different names.. not sure why we did not used the same or which is better to use

so for event_detail.php we have
<main class="container my-4 page-shell event-detail-shell"> and <div class="ed-grid">

where e grid have <section class="ed-hero mb-4"> as left side and <aside class="sidebar-sticky event-detail-sidebar ed-side"> as sidebar..

i don't mind keeping them like this, let's just fix both of these..

/* START navbar + dropdown match dark STRC theme */

/* 0) page background */
body.events-dark{
  background:#050505 !important;
}

/* 1) navbar base */
body.events-dark .navbar.navbar-light.bg-light{
  background: rgba(2,6,23,0.78) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,0.55) !important;
}

/* logo area spacing stays same; just improve contrast */
body.events-dark .navbar .navbar-brand img{
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.55));
}

/* 2) “outline” buttons in navbar */
body.events-dark .navbar .btn.btn-outline-secondary,
body.events-dark .navbar .btn.btn-outline-info,
body.events-dark .navbar .btn.btn-outline-dark{
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.14) !important;
  color: rgba(255,255,255,0.88) !important;
}
body.events-dark .navbar .btn.btn-outline-secondary:hover,
body.events-dark .navbar .btn.btn-outline-info:hover,
body.events-dark .navbar .btn.btn-outline-dark:hover{
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(255,255,255,0.20) !important;
  color:#fff !important;
}

/* 3) dropdown menus (Tools, OG, GO, user dropdown) */
body.events-dark .dropdown-menu{
  background: rgba(2,6,23,0.96) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,0.60) !important;
}
body.events-dark .dropdown-item{
  color: rgba(255,255,255,0.88) !important;
}
body.events-dark .dropdown-item:hover,
body.events-dark .dropdown-item:focus{
  background: rgba(255,255,255,0.06) !important;
  color:#fff !important;
}
body.events-dark .dropdown-divider{
  border-top-color: rgba(255,255,255,0.08) !important;
}
body.events-dark .dropdown-header{
  color: rgba(255,255,255,0.55) !important;
}

/* keep your colored section headers readable */
body.events-dark .dropdown-header.stepn-og{ color:#22c55e !important; }
body.events-dark .dropdown-header.stepn-go{ color:#a855f7 !important; }
body.events-dark .dropdown-header.general{  color:#22d3ee !important; }

/* 4) server-time block in user dropdown */
body.events-dark .dropdown-item.server-time{
  background: rgba(255,255,255,0.04) !important;
  color: rgba(255,255,255,0.70) !important;
}
body.events-dark .dropdown-item.server-time .text-info{ color:#22d3ee !important; }
body.events-dark .dropdown-item.server-time .text-warning{ color:#fbbf24 !important; }

/* 5) fix navbar toggler visibility on dark */
body.events-dark .navbar-light .navbar-toggler{
  border-color: rgba(255,255,255,0.20) !important;
}
body.events-dark .navbar-light .navbar-toggler-icon{
  filter: invert(1) brightness(1.2);
}

/* 6) keep the red-dot halo visible on dark */
body.events-dark .red-dot-indicator{
  box-shadow: 0 0 0 2px rgba(2,6,23,0.92) !important;
}

/* 7) optional: beta button sits better on dark */
body.events-dark .btn.btn-danger{
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
}
/* events.php only: make navbar username white */
body.events-dark .navbar #userDropdown > span{
  color: rgba(255,255,255,0.92) !important;
}

/* ===== events.php polish: separators + depth ===== */

/* 1) navbar bottom hairline + slight gradient */
body.events-dark .navbar{
  position: relative;
}
body.events-dark .navbar:after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-1px;
  height:1px;
  background: rgba(255,255,255,0.10);
}

/* 2) banner: add bottom hairline separator */
body.events-dark .strc-hero{ /* if your banner header has a class; otherwise use your banner wrapper selector */
  position: relative;
}

body.events-dark .strc-hero:after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  background: rgba(255,255,255,0.10);
}

/* If you don't have .strc-hero class, target the banner element you use (example: header.strc-hero) */
body.events-dark header.strc-hero:after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  background: rgba(255,255,255,0.10);
}

/* 3) make banner blend nicer into the page (subtle vignette) */
body.events-dark header.strc-hero:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(900px 360px at 50% 40%, rgba(0,0,0,0.20), rgba(0,0,0,0.55) 70%),
    linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.28));
}

/* ensure banner text stays above overlay */
body.events-dark header.strc-hero > *{
  position: relative;
  z-index: 1;
}

/* END navbar + dropdown match dark STRC theme */

/* STRC Hero Banner (quick test) */
.strc-hero{
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;

  background-image: url("https://stepntracker.com/uploads/STRC_Events_Hero.png");
  background-repeat: no-repeat;
  background-position: center;
  background-color: #050505;

  background-size: cover;
  min-height: 260px;
}

/* STRC Hero Banner (quick test) */
.strc-hero-events{
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;

  background-image: url("https://stepntracker.com/uploads/STRC_Banner_V2.png");
  background-repeat: no-repeat;
  background-position: center;
  background-color: #050505;

  background-size: cover;
  min-height: 260px;
}

/* event_detail.php hero: text scrim for readability */
.strc-hero-events .strc-hero-events__text{
  display: inline-block;
  max-width: 680px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.strc-hero-events .strc-hero-events__text h1{
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);
}

.strc-hero-events .strc-hero-events__text p{
  color: rgba(255,255,255,0.82);
  margin-top: 4px;
  font-size: 1.05rem; /* optional */
}

@media (max-width: 576px){
  .strc-hero-events .strc-hero-events__text{
    max-width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
  }
}

/* mobile: still cover, but shift focus so logo stays visible */
@media (max-width: 768px){
  .strc-hero{
    min-height: 180px;
    background-size: cover;            /* keep hero feel */
    background-position: 52% center;   /* move focal point (tweak 50–80%) */
  }
}

/* Dark overlay for readability */
/* ===== FIX: restore STRC banner colors (remove heavy overlays) ===== */

/* 1) disable the heavy overlay layer */
.strc-hero__overlay{
  background: transparent !important;
}

/* 2) disable the extra vignette overlay added by events-dark polish */
body.events-dark header.strc-hero:before{
  content: none !important;
}

/* optional: keep the bottom separator line if you want */
body.events-dark header.strc-hero:after{
  background: rgba(255,255,255,0.10) !important;
}

/* 3) keep shine subtle (or disable if you want pure image) */
.strc-hero__shine{
  opacity: .35;
}

/* Subtle glossy diagonal highlight */
.strc-hero__shine {
  position: absolute;
  top: -40%;
  left: -30%;
  width: 70%;
  height: 160%;
  transform: rotate(18deg);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.12), rgba(255,255,255,0) 60%);
  pointer-events: none;
}

/* Make sure content stays above overlay layers */
.strc-hero .container {
  z-index: 2;
}

/* Optional: nicer typography */
.strc-hero h1 {
  font-weight: 800;
  letter-spacing: 0.2px;
  text-shadow: 0 10px 25px rgba(0,0,0,0.45);
}
.strc-hero p {
  opacity: 0.92;
  text-shadow: 0 8px 18px rgba(0,0,0,0.35);
}

/* END /*

/* ===== START: Premium layout helpers (DARK STRC THEME, scoped to this <main>) ===== */
.page-shell{
  border-radius:16px;
  padding:0;

  /* subtle dark surface */
  background:
    radial-gradient(1200px 500px at 10% 0%, rgba(34, 211, 238, .08), transparent 55%),
    radial-gradient(900px 420px at 90% 10%, rgba(168, 85, 247, .08), transparent 55%),
    linear-gradient(180deg, rgba(2,6,23,.85), rgba(2,6,23,.92));
}

/* grid stays the same */
.events-premium-grid{display:grid;grid-template-columns:1fr;gap:1rem;}
@media (min-width: 992px){
  .events-premium-grid{grid-template-columns:1.85fr 0.75fr;gap:1.25rem;align-items:start;}
}

/* HERO: keep your gradient but make it darker + more “STRC” */
.events-hero-premium{
  border-radius:18px;
  padding:1.35rem 1.35rem;
  color:#fff;
  position:relative;
  overflow:hidden;

  background:
    /* dark overlay to match STRC banners */
    radial-gradient(900px 240px at 10% 0%, rgba(255,255,255,0.12), transparent 60%),
    radial-gradient(900px 240px at 90% 20%, rgba(255,255,255,0.08), transparent 55%),
    linear-gradient(135deg, rgba(2,6,23,.92) 0%, rgba(2,6,23,.78) 45%, rgba(2,6,23,.92) 100%),
    linear-gradient(135deg, #22d3ee 0%, #22c55e 35%, #a855f7 100%);
  box-shadow: 0 20px 55px rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.10);
}

.events-hero-premium:before{
  content:"";
  position:absolute;inset:0;
  background:
    radial-gradient(700px 260px at 15% 0%, rgba(34,211,238,.18), transparent 60%),
    radial-gradient(600px 260px at 90% 10%, rgba(168,85,247,.18), transparent 60%);
  pointer-events:none;
  mix-blend-mode: screen;
  opacity:.9;
}

.events-hero-premium .hero-grid{display:grid;grid-template-columns:1fr;gap:1rem;align-items:start;position:relative;z-index:1;}
@media (min-width: 992px){
  .events-hero-premium .hero-grid{grid-template-columns:1fr 360px;gap:1.25rem;}
}
.events-hero-premium .hero-left{min-width:0;}
.events-hero-premium .hero-title{margin:0;line-height:1.15;font-weight:900;text-shadow:0 12px 28px rgba(0,0,0,.55);}
.events-hero-premium .hero-chip-row{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.65rem;}
.events-hero-premium .hero-chip{
  display:inline-flex;align-items:center;gap:.45rem;
  background: rgba(2,6,23,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: .35rem .65rem;
  font-size: 12px;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}
.events-hero-premium .hero-sub{margin-top:.7rem;opacity:.95;font-weight:600;text-shadow:0 10px 22px rgba(0,0,0,.45);}

/* RIGHT */
.events-hero-premium .hero-right{display:flex;flex-direction:column;align-items:flex-end;gap:.75rem;}
@media (max-width: 991.98px){.events-hero-premium .hero-right{align-items:flex-start;}}

.events-hero-premium .strc-hero-logo{
  width:150px;height:auto;max-width:60vw;object-fit:contain;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.65));
}

.events-hero-premium .hero-metrics{
  width:100%;
  max-width:360px;
  background: rgba(2,6,23,0.55);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius:14px;
  padding:.85rem .95rem;
  backdrop-filter: blur(8px);
}

.events-hero-premium .countdown{font-weight:900;font-size:1.05rem;letter-spacing:.2px;}
.strc-pill-logo{height:19px;width:auto;object-fit:contain;vertical-align:middle;filter:drop-shadow(0 6px 14px rgba(0,0,0,.55));}

/* PREMIUM CARD base (dark) */
.premium-card{
  border-radius:16px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 12px 34px rgba(0,0,0,0.45);
  overflow:hidden;
  background: rgba(2,6,23,0.78);
  color: rgba(255,255,255,0.92);
}

.premium-card .card-header{
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.00));
  border-bottom: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.95);
}

.premium-card .card-body{background: transparent;}

/* “muted” text tuning inside dark cards */
.premium-card .text-muted,
.premium-card .small.text-muted{
  color: rgba(255,255,255,0.62) !important;
}

/* HOW */
.how-grid{display:grid;grid-template-columns:1fr;gap:.75rem;}
@media (min-width: 768px){.how-grid{grid-template-columns:1fr 1fr 1fr;}}
.how-step{
  border-radius:14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  padding:.85rem .9rem;
}
.how-step .num{
  width:28px;height:28px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  font-weight:900;font-size:13px;
  color: rgba(255,255,255,0.92);
  background: rgba(34,211,238,0.12);
  border:1px solid rgba(34,211,238,0.18);
  margin-right:.5rem;
}
.how-step .t{font-weight:800;margin-bottom:.25rem;}

/* CURRENT ROUND */
.events-row-title{display:flex;align-items:center;justify-content:space-between;gap:1rem;color:rgba(255,255,255,0.92);}

/* EVENT CARD */
.event-card-premium{
  border-radius:18px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 12px 34px rgba(0,0,0,0.45);
  overflow:hidden;
  background: rgba(2,6,23,0.82);
  position:relative;
  color: rgba(255,255,255,0.90);
}

.event-card-premium .text-muted{color:rgba(255,255,255,0.62) !important;}

.event-accent{height:5px;width:100%;}
.accent-walker{background:linear-gradient(90deg,#22c55e,#22d3ee);}
.accent-jogger{background:linear-gradient(90deg,#22d3ee,#3b82f6);}
.accent-runner{background:linear-gradient(90deg,#f97316,#ef4444);}
.accent-open{background:linear-gradient(90deg,#a855f7,#22d3ee);}

.finale-card{
  border: 2px solid rgba(168,85,247,0.55);
  box-shadow: 0 14px 34px rgba(168,85,247,0.22);
}

/* LIVE badge (dark-friendly) */
.badge-live{
  background: rgba(34,197,94,0.16);
  color: #86efac;
  border: 1px solid rgba(34,197,94,0.22);
  font-weight:900;
  letter-spacing:.4px;
  padding:.25rem .55rem;
  border-radius:999px;
  font-size:11px;
  text-transform:uppercase;
}

/* KV lines */
.kv{display:grid;grid-template-columns:1fr;gap:.55rem;margin-top:.35rem;}
.kv .line{
  display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;
  border-radius:12px;
  padding:.55rem .7rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-size:13px;
}
.kv .label{
  color: rgba(255,255,255,0.68);
  font-weight:700;
  max-width:45%;
  flex:1 1 45%;
  line-height:1.25;
}
.kv .value{
  font-weight:900;
  color: rgba(255,255,255,0.92);
  max-width:55%;
  text-align:right;
  word-break:break-word;
  line-height:1.25;
}

/* TOP3 box */
.top3-box{
  border-radius:14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  padding:.75rem .8rem;
  margin-top:.85rem;
}
.top3-box .title{display:flex;align-items:center;gap:.5rem;font-weight:900;font-size:13px;margin-bottom:.35rem;}

/* SPECIAL EVENTS */
/* ===== FIX: SPECIAL EVENTS alignment (dark theme) ===== */
.special-events-list{
  display:grid;
  gap:.75rem;
}

.special-event-row{
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(2,6,23,0.82);
  box-shadow: 0 12px 30px rgba(0,0,0,0.42);
  padding:.75rem .85rem;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.9rem;
}

/* restore missing flex layout pieces */
.special-event-main{
  display:flex;
  align-items:center;
  gap:.7rem;
  min-width:0;
  flex: 1 1 280px;
}

.special-event-icon{
  width:22px;
  height:22px;
  object-fit:contain;
  flex:0 0 22px;
}

.special-event-title{
  font-weight:900;
  color: rgba(255,255,255,0.92);
  line-height:1.2;
}

.special-event-meta{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  flex: 1 1 360px;
}

.special-kv-pill{
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  padding:.28rem .58rem;
  font-size:12px;
  display:inline-flex;
  align-items:center;
  gap:.35rem;
}

.special-kv-pill .k{ color: rgba(255,255,255,0.65); font-weight:800; }
.special-kv-pill .v{ color: rgba(255,255,255,0.92); font-weight:900; }

.special-event-actions{
  flex: 0 0 auto;
}

.special-event-row .text-muted{
  color: rgba(255,255,255,0.62) !important;
}

/* Mobile gutters fix (events.php) */
@media (max-width: 575.98px){
  main.page-shell.container{
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
}
@media (min-width: 576px) and (max-width: 768px){
  main.page-shell.container{
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

@media (max-width: 767.98px){
  .special-event-row{ flex-direction:column; align-items:stretch; }
  .special-event-actions .btn{ width:100%; }
}

/* SIDEBAR */
.sidebar-sticky{position:sticky;top:18px;}
.mini-stat{
  display:flex;align-items:center;justify-content:space-between;
  padding:.55rem .65rem;
  border-radius:12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  font-size:13px;
  margin-bottom:.55rem;
  color: rgba(255,255,255,0.88);
}
.mini-stat b{font-weight:900;}

.sidebar-links a{
  display:flex;align-items:center;justify-content:space-between;gap:.75rem;
  padding:.6rem .65rem;
  border-radius:12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  text-decoration:none;
  color: rgba(255,255,255,0.90);
  font-weight:800;
  margin-bottom:.55rem;
}
.sidebar-links a small{color:rgba(255,255,255,0.62);font-weight:700;}

/* Notifications */
.premium-card.notifications-card,
.ed-card.notifications-card{overflow:visible !important;}
.notifications-shell{position:relative;gap:.75rem;}
.notifications-identity{min-width:0;flex:1 1 auto;}
.notifications-widget{position:relative;flex:0 0 auto;}
.notifications-trigger{
  position:relative;
  width:40px;height:40px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.06);
  color:rgba(255,255,255,0.92);
  display:inline-flex;align-items:center;justify-content:center;
  box-shadow:0 10px 24px rgba(0,0,0,0.22);
}
.notifications-trigger:hover{background:rgba(34,211,238,0.12);color:#fff;}
.notifications-badge{
  position:absolute;top:-6px;right:-6px;
  min-width:18px;height:18px;padding:0 5px;
  border-radius:999px;
  background:linear-gradient(135deg,#ef4444,#f97316);
  color:#fff;font-size:11px;font-weight:900;line-height:18px;text-align:center;
  box-shadow:0 8px 18px rgba(239,68,68,0.35);
}
.notifications-panel{
  position:absolute;right:0;top:calc(100% + .55rem);
  width:min(340px, calc(100vw - 48px));
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(2,6,23,0.97);
  box-shadow:0 22px 60px rgba(0,0,0,0.55);
  z-index:1080;
  overflow:hidden;
}
.notifications-panel-head{
  display:flex;align-items:center;justify-content:space-between;gap:.75rem;
  padding:.8rem .9rem;
  background:linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border-bottom:1px solid rgba(255,255,255,0.10);
  color:rgba(255,255,255,0.94);
}
.notifications-panel-head .btn-link{color:#a5f3fc;font-weight:800;text-decoration:none;}
.notifications-panel-head .btn-link:hover{color:#fff;text-decoration:none;}
.notifications-list{max-height:360px;overflow:auto;padding:.35rem;}
.notifications-empty{padding:.85rem .7rem;color:rgba(255,255,255,0.64);font-size:13px;}
.notifications-item{
  display:flex;align-items:flex-start;justify-content:space-between;gap:.65rem;
  border-radius:14px;
  padding:.65rem .7rem;
  margin-bottom:.35rem;
  border:1px solid rgba(255,255,255,0.08);
  border-left:4px solid rgba(165,243,252,0.24);
  background:rgba(255,255,255,0.03);
}
.notifications-item.is-unread{background:rgba(34,211,238,0.08);border-color:rgba(34,211,238,0.18);}
.notifications-item-body{display:block;flex:1 1 auto;min-width:0;color:inherit;text-decoration:none;}
.notifications-item-body:hover{text-decoration:none;color:#fff;}
.notifications-item-title{font-weight:900;color:rgba(255,255,255,0.97);line-height:1.2;}
.notifications-item-message{margin-top:.18rem;font-size:12px;color:rgba(255,255,255,0.76);line-height:1.35;}
.notifications-item-time{margin-top:.3rem;font-size:11px;color:rgba(255,255,255,0.52);}
.notifications-item-controls{flex:0 0 auto;}
.notifications-mark-read{
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.04);
  color:rgba(255,255,255,0.84);
  border-radius:10px;
  padding:.28rem .55rem;
  font-size:11px;
  font-weight:800;
}
.notifications-mark-read:hover{background:rgba(255,255,255,0.10);color:#fff;}
.notifications-item[data-type="REVIEW_APPROVED"],
.notifications-toast[data-type="REVIEW_APPROVED"]{border-left-color:#22c55e;}
.notifications-item[data-type="REVIEW_REJECTED"],
.notifications-toast[data-type="REVIEW_REJECTED"]{border-left-color:#ef4444;}
.notifications-item[data-type="REVIEW_NEEDS_MORE_PROOF"],
.notifications-toast[data-type="REVIEW_NEEDS_MORE_PROOF"]{border-left-color:#f59e0b;}
.notifications-item[data-type^="ROUND_"],
.notifications-toast[data-type^="ROUND_"]{border-left-color:#38bdf8;}
.notifications-item[data-type="FINALE_ELIGIBLE"],
.notifications-toast[data-type="FINALE_ELIGIBLE"]{border-left-color:#a855f7;}
.notifications-item[data-type="REVIEW_APPROVED"] .notifications-item-title,
.notifications-toast[data-type="REVIEW_APPROVED"] .toast-header strong{color:#86efac;}
.notifications-item[data-type="REVIEW_REJECTED"] .notifications-item-title,
.notifications-toast[data-type="REVIEW_REJECTED"] .toast-header strong{color:#fca5a5;}
.notifications-item[data-type="REVIEW_NEEDS_MORE_PROOF"] .notifications-item-title,
.notifications-toast[data-type="REVIEW_NEEDS_MORE_PROOF"] .toast-header strong{color:#fcd34d;}
.notifications-item[data-type="FINALE_ELIGIBLE"] .notifications-item-title,
.notifications-toast[data-type="FINALE_ELIGIBLE"] .toast-header strong{color:#d8b4fe;}
.notifications-toast-stack{
  position:fixed;right:18px;bottom:18px;top:auto;z-index:1090;
  display:flex;flex-direction:column;align-items:flex-end;gap:.7rem;
  width:auto;max-width:min(360px, calc(100vw - 24px));
}
.notifications-toast{
  opacity:1 !important;
  flex:0 0 auto !important;
  align-self:flex-end !important;

  width:auto !important;
  max-width:min(360px, calc(100vw - 24px)) !important;

  height:auto !important;
  min-height:0 !important;
  max-height:none !important;

  border-radius:16px;
  border:1px solid rgba(255,255,255,0.12);
  border-left:4px solid rgba(165,243,252,0.24);
  background:rgba(2,6,23,0.96);
  color:rgba(255,255,255,0.92);
  box-shadow:0 20px 50px rgba(0,0,0,0.45);
  overflow:hidden;
}
.notifications-toast .toast-header{
  background:rgba(255,255,255,0.08);
  border-bottom:1px solid rgba(255,255,255,0.10);
  color:rgba(255,255,255,0.95);
  padding:.65rem .8rem;
}
.notifications-toast .toast-header .close{color:#fff;text-shadow:none;opacity:.9;}
.notifications-toast .toast-body{
  display:block;

  height:auto !important;
  min-height:0 !important;
  max-height:none !important;

  padding:.72rem .8rem;
  color:rgba(255,255,255,0.86);
  text-decoration:none;

  white-space:normal;
  word-break:break-word;
  overflow-wrap:anywhere;
  line-height:1.35;
}
.notifications-toast .toast-body:hover{
  text-decoration:none;
  color:#fff;
}
@media (max-width: 575.98px){
  .notifications-panel{right:-8px;width:min(320px, calc(100vw - 24px));}
  .notifications-toast-stack{right:12px;left:12px;bottom:12px;align-items:stretch;max-width:none;}
  .notifications-toast{max-width:none;width:100%;}
}

/* Buttons: make outlines and primaries look premium on dark */
.btn-premium{border-radius:12px;font-weight:900;padding:.55rem .85rem;}

.btn.btn-primary{
  background: linear-gradient(135deg, #22d3ee, #22c55e 45%, #a855f7);
  border: none;
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
  padding: .55rem .85rem;
}
.btn.btn-primary:hover{filter: brightness(1.06);}

.btn.btn-outline-primary{
  color: #a5f3fc;
  border-color: rgba(165,243,252,0.45);
  background: rgba(2,6,23,0.35);
}
.btn.btn-outline-primary:hover{
  background: rgba(34,211,238,0.14);
  border-color: rgba(34,211,238,0.55);
  color:#ffffff;
}

/* Light badges inside dark (your “Each type has its own bracket” pill) */
.badge.badge-light{
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.12) !important;
  color: rgba(255,255,255,0.86) !important;
}

/* Alerts: make them dark-friendly */
.alert.alert-light{
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.12) !important;
  color: rgba(255,255,255,0.86) !important;
}
.alert.alert-secondary{
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.12) !important;
  color: rgba(255,255,255,0.86) !important;
}

/* ===== END: Premium layout helpers (DARK) ===== */

/* ===== STRC Dark Modals (GLOBAL) ===== */
.modal-content{
  background: rgba(2,6,23,0.92) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 16px !important;
  box-shadow: 0 22px 60px rgba(0,0,0,0.65) !important;
  color: rgba(255,255,255,0.92) !important;
}

/* STRC: lighter modal header only */
.modal-header{
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.12) 0%,
    rgba(255,255,255,0.05) 100%
  ) !important;
  border-bottom-color: rgba(255,255,255,0.14) !important;
}

/* optional: make title pop a bit more */
.modal-title{
  color: rgba(255,255,255,0.96) !important;
}

.modal-title{ font-weight: 900; letter-spacing: .2px; }

.modal-body{ color: rgba(255,255,255,0.90) !important; }

.modal-footer{
  border-top: 1px solid rgba(255,255,255,0.10) !important;
}

.modal-backdrop.show{ opacity: .78; }

.modal-header .close{
  color: rgba(255,255,255,0.85) !important;
  text-shadow: none !important;
  opacity: 1 !important;
}
.modal-header .close:hover{ color:#fff !important; }

/* Forms */
.modal-content .form-control{
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: rgba(255,255,255,0.92) !important;
  border-radius: 12px !important;
}
.modal-content .form-control:focus{
  border-color: rgba(34,211,238,0.55) !important;
  box-shadow: 0 0 0 .2rem rgba(34,211,238,0.14) !important;
}

.modal-content label{ color: rgba(255,255,255,0.82) !important; font-weight: 800; }
.modal-content .form-text,
.modal-content .text-muted{ color: rgba(255,255,255,0.62) !important; }
#myEventSubmissionsModal .text-muted,
#myEventSubmissionsModal .small.text-muted{
  color: rgba(255,255,255,1) !important;
}

/* Tables (My Event Submissions) */
#myEventSubmissionsModal .table{ color: rgba(255,255,255,1) !important; }
#myEventSubmissionsModal .table-bordered,
#myEventSubmissionsModal .table-bordered th,
#myEventSubmissionsModal .table-bordered td{ border-color: rgba(255,255,255,0.10) !important; }

#myEventSubmissionsModal thead th{
  background: rgba(255,255,255,0.06) !important;
  color: rgba(255,255,255,1) !important;
  border-bottom: 1px solid rgba(255,255,255,0.10) !important;
}

#myEventSubmissionsModal tbody td,
#myEventSubmissionsModal tbody th{
  color: rgba(255,255,255,1) !important;
}

#myEventSubmissionsModal tbody tr:hover{ background: rgba(255,255,255,0.03) !important; }

/* Alerts */
.modal-content .alert{ border-radius: 12px !important; border-color: rgba(255,255,255,0.12) !important; }
.modal-content .alert-info{ background: rgba(34,211,238,0.10) !important; color: rgba(255,255,255,0.92) !important; }
.modal-content .alert-danger{ background: rgba(239,68,68,0.12) !important; color: rgba(255,255,255,0.92) !important; }

/* Tables (My Submissions) */
#mySubmissionsModal .table{ color: rgba(255,255,255,0.90) !important; }
#mySubmissionsModal .table-bordered,
#mySubmissionsModal .table-bordered th,
#mySubmissionsModal .table-bordered td{ border-color: rgba(255,255,255,0.10) !important; }

#mySubmissionsModal thead.thead-light th{
  background: rgba(255,255,255,0.06) !important;
  color: rgba(255,255,255,0.90) !important;
  border-bottom: 1px solid rgba(255,255,255,0.10) !important;
}
#mySubmissionsModal tbody tr:hover{ background: rgba(255,255,255,0.03) !important; }

/* Badges */
#mySubmissionsModal .badge{ font-weight: 900; letter-spacing: .35px; }
#mySubmissionsModal .badge-success{ background: rgba(34,197,94,0.16) !important; color:#86efac !important; border:1px solid rgba(34,197,94,0.22) !important; }
#mySubmissionsModal .badge-danger{ background: rgba(239,68,68,0.16) !important; color:#fecaca !important; border:1px solid rgba(239,68,68,0.22) !important; }
#mySubmissionsModal .badge-warning{ background: rgba(245,158,11,0.16) !important; color:#fde68a !important; border:1px solid rgba(245,158,11,0.22) !important; }

/* Optional: outline-secondary button polish inside modals */
.modal-content .btn.btn-outline-secondary{
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.14) !important;
  color: rgba(255,255,255,0.85) !important;
}
.modal-content .btn.btn-outline-secondary:hover{
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(255,255,255,0.20) !important;
  color: #fff !important;
}

/* ===== cadenceCapExplainerModal: dark styling (scoped) ===== */
body.events-dark #cadenceCapExplainerModal .card{
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 14px;
}
body.events-dark #cadenceCapExplainerModal .card-header{
  background: rgba(255,255,255,0.06) !important;
  border-bottom: 1px solid rgba(255,255,255,0.10) !important;
  color: rgba(255,255,255,0.92) !important;
}
body.events-dark #cadenceCapExplainerModal .border{
  border-color: rgba(255,255,255,0.12) !important;
}
body.events-dark #cadenceCapExplainerModal .cadence-code{
  display:inline-block;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  padding: .15rem .35rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
}
body.events-dark #cadenceCapExplainerModal .cadence-hr{
  border-top: 1px solid rgba(255,255,255,0.10) !important;
}

/* ===== events.php ONLY: dark footer to match STRC theme ===== */
body.events-dark footer{
  background: rgba(2,6,23,0.92) !important;
  color: rgba(255,255,255,0.78) !important;
  border-top: 1px solid rgba(255,255,255,0.10) !important;
  box-shadow: 0 -14px 40px rgba(0,0,0,0.35);
}

body.events-dark footer a{
  color: rgba(255,255,255,0.82) !important;
  text-decoration: none;
  font-weight: 600;
}
body.events-dark footer a:hover{
  color: #22d3ee !important; /* neon-cyan accent */
}

/* section titles */
body.events-dark footer .footer-col h6{
  color: rgba(255,255,255,0.92) !important;
}

/* policy list icons */
body.events-dark footer ul.policy-list i{
  color: rgba(255,255,255,0.55) !important;
}

/* logo pills */
body.events-dark footer .logo-pill{
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
}
body.events-dark footer .logo-pill:hover{
  background: rgba(255,255,255,0.10) !important;
  box-shadow: 0 0 10px rgba(0,0,0,0.35) !important;
}

/* images */
body.events-dark footer img.logo-img{
  filter: brightness(1.15) contrast(1.05);
}

/* coingecko logo: keep visible on dark */
body.events-dark footer .coingecko-logo{
  filter: brightness(1.25) contrast(1.05);
}

.alert {
margin-bottom: 0rem;
}

/* ===== START: event_detail.php premium dark additions ===== */

/* ===== event_detail.php DARK PREMIUM (console test) ===== */

/* page surface */
body.events-dark{ background:#050505 !important; }

main.container {
border-radius: 16px;
}

/* grid layout like events.php */
main.page-shell.event-detail-shell .ed-grid{display:grid;grid-template-columns:1fr;gap:1rem;}
@media (min-width: 992px){
  main.page-shell.event-detail-shell .ed-grid{grid-template-columns:1.55fr .75fr;gap:1.25rem;align-items:start;}
}

/* premium card base */
main.page-shell.event-detail-shell .ed-card{
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 12px 34px rgba(0,0,0,.45);
  overflow:hidden;
  background:rgba(2,6,23,.78);
  color:rgba(255,255,255,.92);
}
main.page-shell.event-detail-shell .ed-card-h{
  padding:.85rem 1rem;
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0));
  border-bottom:1px solid rgba(255,255,255,.10);
  display:flex;align-items:center;justify-content:space-between;gap:.75rem;
}
main.page-shell.event-detail-shell .ed-card-b{ padding:1rem; }
main.page-shell.event-detail-shell .ed-muted{ color:rgba(255,255,255,.62) !important; }

/* HERO */
main.page-shell.event-detail-shell .ed-hero{
  border-radius:18px;
  padding:1.15rem 1.15rem;
  color:#fff;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(900px 240px at 10% 0%, rgba(255,255,255,0.10), transparent 60%),
    radial-gradient(900px 240px at 90% 20%, rgba(255,255,255,0.07), transparent 55%),
    linear-gradient(135deg, rgba(2,6,23,.90) 0%, rgba(2,6,23,.72) 45%, rgba(2,6,23,.92) 100%),
    linear-gradient(135deg, #22d3ee 0%, #22c55e 35%, #a855f7 100%);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 20px 55px rgba(0,0,0,.55);
}
main.page-shell.event-detail-shell .ed-hero:before{
  content:"";
  position:absolute;inset:0;
  background:
    radial-gradient(700px 260px at 15% 0%, rgba(34,211,238,.18), transparent 60%),
    radial-gradient(600px 260px at 90% 10%, rgba(168,85,247,.18), transparent 60%);
  pointer-events:none;
  mix-blend-mode:screen;
  opacity:.9;
}
main.page-shell.event-detail-shell .ed-hero > *{ position:relative; z-index:1; }

main.page-shell.event-detail-shell .ed-hero-top{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:1rem;}
main.page-shell.event-detail-shell .ed-title{margin:0;font-weight:900;line-height:1.1;text-shadow:0 12px 28px rgba(0,0,0,.55);color:rgba(255,255,255,.95);}
main.page-shell.event-detail-shell .ed-badges{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.6rem;}
main.page-shell.event-detail-shell .ed-pill{
  display:inline-flex;align-items:center;gap:.45rem;
  background:rgba(2,6,23,.55);
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  padding:.35rem .65rem;
  font-size:12px;
  white-space:nowrap;
  backdrop-filter:blur(6px);
  color:rgba(255,255,255,.95);
}
main.page-shell.event-detail-shell .ed-pill i{color:inherit;}
main.page-shell.event-detail-shell .ed-actions{display:flex;flex-direction:column;align-items:flex-end;gap:.5rem;}
@media (max-width: 991.98px){ main.page-shell.event-detail-shell .ed-actions{align-items:flex-start;width:100%;} }
main.page-shell.event-detail-shell .ed-actions .btn{ border-radius:12px; font-weight:900; }
main.page-shell.event-detail-shell .ed-actions .btn.btn-light{
  background:rgba(255,255,255,.10) !important;
  border:1px solid rgba(255,255,255,.18) !important;
  color:rgba(255,255,255,.92) !important;
}
main.page-shell.event-detail-shell .ed-actions .btn.btn-warning{
  box-shadow:0 10px 22px rgba(0,0,0,.35);
}

/* KV grid */
main.page-shell.event-detail-shell .ed-kv{display:grid;grid-template-columns:1fr;gap:.55rem;margin-top:.9rem;}
main.page-shell.event-detail-shell .ed-kv .line{
  display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;
  border-radius:12px;
  padding:.55rem .7rem;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  font-size:13px;
}
main.page-shell.event-detail-shell .ed-kv .label{color:rgba(255,255,255,.68);font-weight:700;max-width:45%;flex:1 1 45%;line-height:1.25;}
main.page-shell.event-detail-shell .ed-kv .value{font-weight:900;color:rgba(255,255,255,.92);max-width:55%;text-align:right;word-break:break-word;line-height:1.25;}

/* Raffle list pills */
main.page-shell.event-detail-shell .raffle-list{display:grid;gap:.6rem;margin:0;padding:0;list-style:none;}
main.page-shell.event-detail-shell .raffle-item{
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  padding:.65rem .75rem;
  display:flex;align-items:center;justify-content:space-between;gap:.75rem;
}
main.page-shell.event-detail-shell .raffle-item .name{font-weight:900;}
main.page-shell.event-detail-shell .raffle-item .meta{font-size:12px;color:rgba(255,255,255,.62);}

/* Tables on dark */
main.page-shell.event-detail-shell .ed-table{ color:rgba(255,255,255,.90); }
main.page-shell.event-detail-shell .ed-table thead th{
  background:rgba(255,255,255,.06) !important;
  color:rgba(255,255,255,.90) !important;
  border-color:rgba(255,255,255,.10) !important;
}
main.page-shell.event-detail-shell .ed-table td,
main.page-shell.event-detail-shell .ed-table th{
  border-color:rgba(255,255,255,.10) !important;
}
main.page-shell.event-detail-shell .ed-table tbody tr:hover{ background:rgba(255,255,255,.03); }

/* Sidebar */
main.page-shell.event-detail-shell .ed-side{position:sticky;top:18px;}
main.page-shell.event-detail-shell .ed-side .btn{border-radius:12px;font-weight:900;}
main.page-shell.event-detail-shell .ed-mini{
  display:flex;align-items:center;justify-content:space-between;
  padding:.55rem .65rem;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  font-size:13px;
  margin-bottom:.55rem;
}

/* FAQ modal section */
#eventRulesModal .accordion .card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
}
#eventRulesModal .accordion .card-header{
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
#eventRulesModal .btn-link{
  color: rgba(165,243,252,0.92);
  font-weight: 800;
}
#eventRulesModal .btn-link:hover{
  color: #fff;
  text-decoration: none;
}

/* Mobile gutters (keep your working fix) */
@media (max-width: 768px){
  main.page-shell.event-detail-shell.container{
    padding-left:5px !important;
    padding-right:5px !important;
  }
}

/* ===== END: event_detail.php premium dark additions ===== */

/* ===== START: submitProofModal wizard dark scoped overrides ===== */
body.events-dark #submitProofModal .wizard-shell{
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  background:
    radial-gradient(500px 180px at 10% 0%, rgba(34,211,238,0.10), transparent 65%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  padding: .9rem;
}

body.events-dark #submitProofModal .wizard-steps{
  gap: .6rem;
}

body.events-dark #submitProofModal .wizard-pill{
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.86);
  font-weight: 800;
}
body.events-dark #submitProofModal .wizard-pill.is-active{
  border-color: rgba(34,211,238,0.55);
  background: rgba(34,211,238,0.18);
  color: #cffafe;
}
body.events-dark #submitProofModal .wizard-pill.is-done{
  border-color: rgba(34,197,94,0.42);
  background: rgba(34,197,94,0.14);
  color: #bbf7d0;
}
body.events-dark #submitProofModal .wizard-pill.is-locked{
  opacity: .72;
}

body.events-dark #submitProofModal .wizard-panel{
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  background: rgba(2,6,23,0.55);
  padding: .95rem;
}

body.events-dark #submitProofModal .wizard-meta{
  color: rgba(255,255,255,0.68);
}

body.events-dark #submitProofModal #proofCodeBox{
  border-color: rgba(255,255,255,0.16) !important;
  background: rgba(255,255,255,0.04) !important;
  color: rgba(255,255,255,0.94) !important;
}

body.events-dark #submitProofModal #tweetTextBox[readonly]{
  background: rgba(255,255,255,0.03) !important;
  color: rgba(255,255,255,0.88) !important;
}

body.events-dark #submitProofModal .form-control,
body.events-dark #submitProofModal .custom-select{
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.14) !important;
  color: rgba(255,255,255,0.92) !important;
}

body.events-dark #submitProofModal .form-control:focus,
body.events-dark #submitProofModal .custom-select:focus{
  border-color: rgba(34,211,238,0.55) !important;
  box-shadow: 0 0 0 .2rem rgba(34,211,238,0.14) !important;
}

body.events-dark #submitProofModal .form-control-file{
  color: rgba(255,255,255,0.82);
}

body.events-dark #submitProofModal .alert-light{
  background: rgba(255,255,255,0.05) !important;
  border-color: rgba(255,255,255,0.12) !important;
  color: rgba(255,255,255,0.88) !important;
}

@media (max-width: 576px){
  body.events-dark #submitProofModal .wizard-shell{
    padding: .8rem;
  }
  body.events-dark #submitProofModal .wizard-panel{
    padding: .8rem;
  }
}
/* ===== END: submitProofModal wizard dark scoped overrides ===== */

/* ===== STRC Podium (drop-in demo CSS) ===== */
.podium-grid{
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:18px;
  padding:18px 8px 6px;
}

/* base card */
.podium-slot{
  position:relative;
  width:min(260px, 32vw);
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  overflow: visible; /* was hidden; allow badge to float outside */
  transform: translateZ(0);
}

/* NEW: inner clip layer */
.podium-clip{
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none; /* so it never blocks clicks */
}

/* move shine + big number onto the clip layer */
.podium-clip:before{
  content:"";
  position:absolute;
  inset:-40% -30%;
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,0) 55%);
  transform: rotate(10deg);
}

.podium-clip:after{
  content: attr(data-rank);
  position:absolute;
  right:14px;
  bottom:-10px;
  font-weight:900;
  font-size:96px;
  letter-spacing:-4px;
  color: rgba(255,255,255,.06);
}

/* podium “block” heights */
.podium-slot.is-1{ min-height: 210px; }
.podium-slot.is-2{ min-height: 185px; }
.podium-slot.is-3{ min-height: 175px; }

/* crown / medal bubble */
.podium-badge{
  position:absolute;
  top:-22px; /* was -14px */
  left:50%;
  transform:translateX(-50%);
  width:52px; height:52px; /* was 46px */
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(10,12,20,.75);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 14px 24px rgba(0,0,0,.45); /* stronger pop */
}

.podium-badge i{ font-size:18px; }

/* rank pill */
.podium-rank{
  position:absolute;
  top:14px;
  left:14px;
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  color: rgba(255,255,255,.9);
}

/* content */
.podium-body{
  position:relative;
  padding:56px 16px 16px; /* was 46px; give space under badge */
  text-align:center;
}

.podium-user{
  font-size:18px;
  font-weight:800;
  color: rgba(255,255,255,.95);
  margin-bottom:6px;
  word-break: break-word;
}

.podium-meta{
  font-size:13px;
  color: rgba(255,255,255,.75);
  margin-bottom:10px;
}

.podium-prize{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:8px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.9);
  font-size:13px;
}

/* special styling per rank */
.podium-slot.is-1{
  order:2;
  transform: translateY(-10px);
  border-color: rgba(255, 215, 0, .22);
  background: linear-gradient(145deg, rgba(255, 215, 0, .12), rgba(255,255,255,.02));
}
.podium-slot.is-1 .podium-badge i{ color: rgba(255,215,0,.95); }

.podium-slot.is-2{
  order:1;
  border-color: rgba(192, 192, 192, .18);
  background: linear-gradient(145deg, rgba(192,192,192,.10), rgba(255,255,255,.02));
}
.podium-slot.is-2 .podium-badge i{ color: rgba(220,220,220,.95); }

.podium-slot.is-3{
  order:3;
  border-color: rgba(205, 127, 50, .20);
  background: linear-gradient(145deg, rgba(205,127,50,.10), rgba(255,255,255,.02));
}
.podium-slot.is-3 .podium-badge i{ color: rgba(205,127,50,.95); }

/* responsive */
@media (max-width: 768px){
  .podium-grid{ gap:12px; padding:14px 0 4px; }
  .podium-slot{ width:min(220px, 31vw); border-radius:14px; }
  .podium-slot.is-1{ min-height: 195px; transform: translateY(-6px); }
  .podium-slot.is-2{ min-height: 175px; }
  .podium-slot.is-3{ min-height: 165px; }
  .podium-slot:after{ font-size:80px; }

  .podium-badge{ top:-20px; width:48px; height:48px; } /* scale down slightly */
  .podium-body{ padding-top: 52px; } /* keep spacing proportional */
}

@media (max-width: 520px){
  .podium-grid{ flex-direction:column; align-items:stretch; }
  .podium-slot{ width:100%; }
  .podium-slot.is-1, .podium-slot.is-2, .podium-slot.is-3{ min-height:unset; transform:none; }
  .podium-slot:after{ font-size:86px; }
}

@media (min-width: 992px){
  main.page-shell.event-detail-shell .ed-grid{
    display:grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(340px, 0.75fr);
    gap: 1.25rem;
    align-items: start;
  }
}

