/* SonicCity – custom UI layer (built on Jadoo/Bootstrap theme.css) */

:root{
  --ag-ink:#0b163f;
  --ag-muted:#5e6282;
  --ag-line:rgba(24, 30, 75, .12);
  --ag-soft:#f6f8ff;
  --ag-blue:#4b7bec;
  --ag-blue-2:#3b82f6;
  --ag-shadow:0 18px 60px rgba(24,30,75,.14);
}

body{
  /* Jadoo uses fixed-top navbar; keep content visible */
  padding-top: 92px;
  background:
    radial-gradient(1300px 650px at 0% -10%, rgba(75,123,236,.08) 0%, rgba(75,123,236,0) 62%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 42%);
  color:var(--ag-ink);
}

.card{
  border:0 !important;
  background:rgba(255,255,255,.92);
  box-shadow:0 18px 50px rgba(24,30,75,.08);
  border-radius:30px !important;
  overflow:hidden;
}

@media (max-width: 991.98px){
  body{padding-top: 84px;}
}

/* Brand (text logo) */
.ag-brand{
  font-weight:800;
  letter-spacing:.2px;
  color:#fff !important;
}
.navbar.navbar-light{
  backdrop-filter: blur(10px);
  border-bottom:0;
  background:linear-gradient(180deg, rgba(9,47,130,.96) 0%, rgba(10,52,142,.94) 100%) !important;
  box-shadow:0 12px 40px rgba(6,18,52,.26);
}
.navbar .nav-link{
  color:rgba(255,255,255,.94) !important;
  border-radius:999px;
  padding:7px 12px !important;
  transition:background .2s ease, color .2s ease;
}
.navbar .nav-link:hover{
  background:rgba(255,255,255,.14);
  color:#fff !important;
}
.navbar-light .navbar-toggler{
  border-color:rgba(255,255,255,.38);
}
.navbar-light .navbar-toggler-icon{
  filter:invert(1) brightness(2);
}

/* Europe dropdown */
.ag-eu-menu{
  width:min(860px, calc(100vw - 32px));
  max-height:min(70vh, 520px);
  overflow:auto;
}
@media (min-width: 992px){
  /* Center the mega dropdown under the toggle */
  #europeNav .ag-eu-menu{
    left:50%;
    right:auto;
    transform:translateX(-50%);
  }
}
.ag-eu-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:10px 12px;
}
@media (max-width: 991.98px){
  .ag-eu-grid{grid-template-columns:repeat(2, minmax(0, 1fr));}
}
.ag-eu-link{
  display:flex;
  gap:10px;
  align-items:center;
  text-decoration:none;
  color:var(--ag-ink);
  padding:8px 10px;
  border-radius:12px;
  border:1px solid transparent;
}
.ag-eu-link:hover{
  background:rgba(75,123,236,.08);
  border-color:rgba(75,123,236,.22);
}

/* Flags */
.Flag{
  width:20px;
  height:14px;
  border-radius:3px;
  box-shadow:0 6px 18px rgba(24,30,75,.12);
  object-fit:cover;
  flex:0 0 auto;
}

/* Header search */
.ag-search-wrap{
  min-width:min(420px, 52vw);
  position:relative;
}
@media (max-width: 991.98px){
  .ag-search-wrap{min-width:100%;}
}
.ag-search-input{
  border-radius:999px;
  padding-left:16px;
  padding-right:16px;
  box-shadow:0 10px 30px rgba(6,18,52,.26);
  border-color:rgba(255,255,255,.26);
  background:rgba(255,255,255,.96);
}
@media (max-width: 991.98px){
  .ag-search-input{min-height:44px;}
}
.ag-search-dd{
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + 10px);
  z-index:12000;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 20px 70px rgba(24,30,75,.18);
  border:1px solid rgba(24,30,75,.10);
}

@media (max-width: 991.98px){
  .navbar-collapse{
    background:rgba(8,43,122,.98);
    border-radius:16px;
    padding:10px 10px 14px;
    border-top:0 !important;
  }
  .navbar-collapse .ag-search-input{
    box-shadow:none;
  }
}
.ag-search-item{
  display:flex;
  gap:10px;
  align-items:center;
  padding:10px 12px;
  cursor:pointer;
}
.ag-search-item:hover{background:rgba(75,123,236,.08);}
.ag-pill{
  font-size:11px;
  font-weight:800;
  padding:2px 8px;
  border-radius:999px;
  border:1px solid rgba(24,30,75,.12);
  background:rgba(246,248,255,.9);
  color:var(--ag-ink);
}
.ag-search-meta{
  color:var(--ag-muted);
  font-size:12px;
  line-height:1.2;
}

/* Voice toggle */
.ag-voiceToggle{
  display:inline-flex;
  gap:6px;
  align-items:center;
  flex-wrap:wrap;
  vertical-align:middle;
}
.ag-voiceBtn{
  border:1px solid rgba(24,30,75,.14);
  background:rgba(246,248,255,.9);
  color:var(--ag-ink);
  border-radius:999px;
  padding:2px 10px;
  font-size:11px;
  font-weight:900;
  line-height:1.7;
  box-shadow:0 10px 26px rgba(24,30,75,.10);
}
.ag-voiceBtn[aria-pressed="true"]{
  background:linear-gradient(180deg, rgba(75,123,236,1) 0%, rgba(59,130,246,1) 100%);
  border-color:rgba(75,123,236,.55);
  color:#fff;
}
.ag-voiceBtn:focus-visible{
  outline:3px solid rgba(59,130,246,.35);
  outline-offset:2px;
}

/* Hero placeholders (no template images) */
.ag-ph{
  width:100%;
  aspect-ratio: 4/3;
  border-radius:24px;
  border:1px solid rgba(24,30,75,.14);
  background:
    radial-gradient(900px 420px at 20% 10%, rgba(75,123,236,.18) 0%, rgba(75,123,236,0) 60%),
    radial-gradient(800px 420px at 80% 30%, rgba(59,130,246,.18) 0%, rgba(59,130,246,0) 60%),
    linear-gradient(180deg, rgba(246,248,255,1) 0%, rgba(255,255,255,1) 100%);
  box-shadow: var(--ag-shadow);
}

/* Landing hero */
.ag-superHero{
  position:relative;
}
.ag-superHero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(1100px 520px at 10% 0%, rgba(75,123,236,.16) 0%, rgba(75,123,236,0) 66%),
    radial-gradient(900px 460px at 92% 16%, rgba(59,130,246,.18) 0%, rgba(59,130,246,0) 62%),
    linear-gradient(180deg, rgba(247,250,255,1) 0%, rgba(255,255,255,1) 100%);
}
.ag-langHintBanner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  border:1px solid rgba(24,30,75,.12);
  border-radius:16px;
  background:rgba(255,255,255,.9);
  box-shadow:0 14px 34px rgba(24,30,75,.12);
  padding:10px 12px;
  color:var(--ag-ink);
  font-weight:700;
}
.ag-langHintBanner a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  border-radius:999px;
  text-decoration:none;
  color:#fff;
  font-weight:800;
  padding:0 14px;
  background:linear-gradient(180deg, rgba(75,123,236,1) 0%, rgba(59,130,246,1) 100%);
}
.ag-superHeroGrid{
  display:grid;
  grid-template-columns:minmax(0, 1.08fr) minmax(0, .92fr);
  gap:22px;
  align-items:stretch;
}
.ag-superHeroText{
  border:0;
  border-radius:28px;
  background:rgba(255,255,255,.9);
  box-shadow:0 18px 50px rgba(24,30,75,.09);
  padding:22px;
}
.ag-superKicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border-radius:999px;
  border:1px solid rgba(24,30,75,.12);
  background:rgba(246,248,255,.92);
  color:var(--ag-ink);
  padding:4px 12px;
  font-size:11px;
  letter-spacing:.24px;
  text-transform:uppercase;
  font-weight:900;
}
.ag-superHeroMedia{
  border:0;
  border-radius:28px;
  background:rgba(255,255,255,.92);
  box-shadow:0 18px 50px rgba(24,30,75,.10);
  padding:14px;
}
.ag-heroMosaic{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  grid-template-rows:repeat(2, minmax(0, 188px));
  gap:12px;
}
.ag-heroTile{
  position:relative;
  display:block;
  overflow:hidden;
  border-radius:20px;
  border:0;
  text-decoration:none;
  box-shadow:0 14px 30px rgba(24,30,75,.12);
}
.ag-heroTile img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform:scale(1.03);
  transition:transform .35s ease;
}
.ag-heroTile:hover img{
  transform:scale(1.08);
}
.ag-heroTile span{
  position:absolute;
  left:10px;
  right:10px;
  bottom:10px;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(11,22,63,.72);
  color:#fff;
  font-size:12px;
  font-weight:800;
  text-align:center;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ag-heroMetrics{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
}
.ag-heroMetric{
  border-radius:14px;
  border:0;
  background:rgba(246,248,255,.84);
  padding:10px;
}
.ag-heroMetric strong{
  display:block;
  color:var(--ag-ink);
  font-size:20px;
  line-height:1.05;
}
.ag-heroMetric span{
  display:block;
  margin-top:3px;
  color:var(--ag-muted);
  font-size:11px;
  font-weight:700;
}
@media (max-width: 991.98px){
  .ag-superHeroGrid{
    grid-template-columns:1fr;
  }
  .ag-superHeroText{
    padding:16px;
  }
  .ag-heroMosaic{
    grid-template-rows:repeat(2, minmax(0, 150px));
  }
  .ag-heroMetrics{
    grid-template-columns:1fr;
  }
}

/* Page hero (country/city/place) */
.ag-pageHero{
  padding-top: 18px;
  padding-bottom: 8px;
}
.ag-heroGrid{
  display:grid;
  grid-template-columns: 1.25fr .85fr;
  gap:18px;
  align-items:center;
  padding:18px;
  border-radius:28px;
  border:0;
  background:
    radial-gradient(900px 380px at 10% 10%, rgba(75,123,236,.18) 0%, rgba(75,123,236,0) 62%),
    radial-gradient(900px 380px at 90% 35%, rgba(59,130,246,.16) 0%, rgba(59,130,246,0) 64%),
    linear-gradient(180deg, rgba(246,248,255,1) 0%, rgba(255,255,255,1) 100%);
  box-shadow:0 18px 52px rgba(24,30,75,.09);
  position:relative;
  overflow:hidden;
}
.ag-heroGrid::after{
  content:"";
  position:absolute;
  right:-120px;
  top:-120px;
  width:380px;
  height:380px;
  border-radius:999px;
  background:radial-gradient(circle at 40% 35%, rgba(255,255,255,.9) 0%, rgba(59,130,246,.16) 38%, rgba(59,130,246,0) 72%);
  pointer-events:none;
}
@media (max-width: 991.98px){
  .ag-heroGrid{grid-template-columns: 1fr; padding:16px;}
}
.ag-heroKicker{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--ag-muted);
  font-weight:800;
  letter-spacing:.2px;
  text-transform:uppercase;
  font-size:12px;
}
.ag-heroKickerText{
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(24,30,75,.12);
  background:rgba(255,255,255,.8);
}
.ag-heroTitle{
  margin:10px 0 6px;
  font-family:Volkhov,serif;
  font-weight:700;
  color:var(--ag-ink);
  line-height:1.1;
}
.ag-heroSub{
  margin:0;
  color:var(--ag-muted);
  font-weight:600;
}
.ag-heroFacts{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
}
.ag-heroFact{
  border:0;
  background:rgba(255,255,255,.72);
  border-radius:14px;
  padding:8px 10px;
}
.ag-heroFact strong{
  display:block;
  color:var(--ag-ink);
  font-size:15px;
  font-weight:900;
  line-height:1.18;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ag-heroFact span{
  display:block;
  margin-top:2px;
  font-size:11px;
  font-weight:700;
  color:var(--ag-muted);
}
@media (max-width: 991.98px){
  .ag-heroFacts{
    grid-template-columns:1fr;
  }
}
.ag-heroLink{
  color:inherit;
  text-decoration:none;
  border-bottom:1px solid rgba(24,30,75,.22);
}
.ag-heroMedia{
  border-radius:24px;
  overflow:hidden;
  border:0;
  background:
    radial-gradient(700px 320px at 30% 20%, rgba(75,123,236,.22) 0%, rgba(75,123,236,0) 62%),
    radial-gradient(700px 320px at 80% 35%, rgba(59,130,246,.18) 0%, rgba(59,130,246,0) 64%),
    linear-gradient(180deg, rgba(246,248,255,1) 0%, rgba(255,255,255,1) 100%);
  aspect-ratio: 16/10;
  position:relative;
}
.ag-heroMedia img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform:scale(1.02);
}
.ag-heroMedia::after{
  content:"";
  position:absolute;
  inset:auto -8% -22% -8%;
  height:42%;
  border-radius:50%;
  background:rgba(255,255,255,.36);
  filter:blur(18px);
  pointer-events:none;
}
.ag-heroFloat{
  position:absolute;
  display:grid;
  gap:1px;
  padding:9px 12px;
  border-radius:18px;
  background:rgba(255,255,255,.88);
  box-shadow:0 18px 46px rgba(24,30,75,.20);
  backdrop-filter:blur(8px);
}
.ag-heroFloat strong{
  color:var(--ag-ink);
  font-size:14px;
  font-weight:900;
  line-height:1.1;
}
.ag-heroFloat span{
  color:var(--ag-muted);
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.3px;
  font-weight:800;
}
.ag-heroFloat--top{
  left:12px;
  top:12px;
}
.ag-heroFloat--bottom{
  right:12px;
  bottom:12px;
}

.ag-pageHero--country .ag-heroGrid{
  background:
    radial-gradient(840px 340px at 12% 16%, rgba(55,118,222,.20) 0%, rgba(55,118,222,0) 64%),
    radial-gradient(760px 300px at 88% 38%, rgba(20,184,166,.16) 0%, rgba(20,184,166,0) 64%),
    linear-gradient(180deg, rgba(243,248,255,1) 0%, rgba(255,255,255,1) 100%);
}
.ag-pageHero--city .ag-heroGrid{
  background:
    radial-gradient(900px 360px at 10% 8%, rgba(59,130,246,.20) 0%, rgba(59,130,246,0) 64%),
    radial-gradient(760px 300px at 88% 40%, rgba(99,102,241,.16) 0%, rgba(99,102,241,0) 64%),
    linear-gradient(180deg, rgba(241,247,255,1) 0%, rgba(255,255,255,1) 100%);
}
.ag-pageHero--place .ag-heroGrid{
  background:
    radial-gradient(940px 380px at 10% 10%, rgba(14,165,233,.18) 0%, rgba(14,165,233,0) 66%),
    radial-gradient(760px 320px at 88% 40%, rgba(16,185,129,.14) 0%, rgba(16,185,129,0) 64%),
    linear-gradient(180deg, rgba(239,249,255,1) 0%, rgba(255,255,255,1) 100%);
}

/* Super features */
.ag-superGrid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
}
.ag-cityLink{
  background:linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(248,251,255,.88) 100%);
  box-shadow:0 16px 34px rgba(24,30,75,.08);
  transition:transform .22s ease, box-shadow .22s ease;
}
.ag-cityLink:hover{
  transform:translateY(-2px);
  box-shadow:0 22px 44px rgba(24,30,75,.14);
}
.ag-superCard{
  border:0;
  border-radius:30px;
  background:rgba(255,255,255,.94);
  box-shadow:0 18px 42px rgba(24,30,75,.09);
  padding:16px;
}
.ag-superCard h5{
  margin:0;
  color:var(--ag-ink);
  font-weight:900;
  font-size:18px;
}
.ag-superCard p{
  margin:8px 0 0;
  color:var(--ag-muted);
  font-weight:600;
}
.ag-superFlow{
  max-width:1180px;
  margin:0 auto;
  display:grid;
  gap:2px;
}
.ag-superRow{
  display:grid;
  grid-template-columns:54px minmax(0, 1fr);
  gap:14px;
  align-items:flex-start;
  padding:14px 2px;
  border-bottom:1px dashed rgba(24,30,75,.20);
}
.ag-superN{
  width:40px;
  height:40px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg, rgba(75,123,236,.16) 0%, rgba(59,130,246,.12) 100%);
  color:var(--ag-ink);
  font-weight:900;
  font-size:12px;
  letter-spacing:.2px;
}
.ag-superRow h5{
  margin:0;
  color:var(--ag-ink);
  font-weight:900;
  font-size:22px;
  line-height:1.1;
  font-family:Volkhov,serif;
}
.ag-superRow p{
  margin:4px 0 0;
  color:var(--ag-muted);
  font-weight:600;
  font-size:16px;
}
.ag-faqFlow{
  max-width:1180px;
  margin:0 auto;
  display:grid;
  gap:0;
}
.ag-faqRow{
  position:relative;
  padding:16px 0 18px 26px;
  border-bottom:1px solid rgba(24,30,75,.14);
}
.ag-faqRow::before{
  content:"";
  position:absolute;
  left:0;
  top:26px;
  width:10px;
  height:10px;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(75,123,236,1) 0%, rgba(59,130,246,1) 100%);
  box-shadow:0 0 0 5px rgba(59,130,246,.12);
}
.ag-faqRow h5{
  margin:0;
  color:var(--ag-ink);
  font-weight:900;
  font-size:22px;
  line-height:1.08;
  font-family:Volkhov,serif;
}
.ag-faqRow p{
  margin:6px 0 0;
  color:var(--ag-muted);
  font-weight:600;
  font-size:16px;
  line-height:1.45;
}
@media (max-width: 991.98px){
  .ag-superGrid{
    grid-template-columns:1fr;
  }
  .ag-superRow h5{
    font-size:20px;
  }
  .ag-superRow p{
    font-size:15px;
  }
  .ag-faqRow{
    padding-left:20px;
  }
  .ag-faqRow h5{
    font-size:20px;
  }
  .ag-faqRow p{
    font-size:15px;
  }
}

/* Mobile quick dock */
.ag-mobileDock{
  position:fixed;
  left:12px;
  right:12px;
  bottom:10px;
  z-index:17000;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  padding-bottom:env(safe-area-inset-bottom, 0px);
}
.ag-mobileDockBtn{
  min-height:46px;
  border-radius:14px;
  border:1px solid rgba(24,30,75,.16);
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(10px);
  box-shadow:0 16px 38px rgba(24,30,75,.18);
  color:var(--ag-ink);
  font-weight:900;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 14px;
}
.ag-mobileDockBtnPrimary{
  color:#fff;
  border-color:rgba(75,123,236,.6);
  background:linear-gradient(180deg, rgba(75,123,236,1) 0%, rgba(59,130,246,1) 100%);
}
@media (min-width: 992px){
  .ag-mobileDock{display:none;}
}

/* Map block */
.ag-map-shell{
  position:relative;
  width:100%;
  height:min(760px, 84vh);
  background:var(--ag-soft);
  border-radius:26px;
  overflow:hidden;
}
.ag-map-shell--live{
  border-radius:0;
  box-shadow:0 24px 80px rgba(24,30,75,.18);
}
.ag-map-shell--livePane{
  border-radius:34px;
  height:min(860px, 86vh);
  min-height:620px;
}
.ag-map{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

.ag-liveSplit{
  display:grid;
  grid-template-columns:minmax(340px, 34%) minmax(0, 1fr);
  gap:14px;
  max-width:1820px;
  margin:0 auto;
  padding:0 14px;
}
.ag-liveRail{
  display:flex;
  flex-direction:column;
  gap:12px;
  max-height:min(860px, 86vh);
  padding:10px;
  border-radius:34px;
  background:linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(246,249,255,.92) 100%);
  box-shadow:0 22px 60px rgba(24,30,75,.12);
}
.ag-liveControls{flex:0 0 auto;}
.ag-liveCities{
  flex:1 1 44%;
  overflow:auto;
}
.ag-liveStory{
  flex:1 1 56%;
  overflow:auto;
}
.ag-liveMapPane{
  min-width:0;
}
.ag-liveRail .ag-card{
  border-radius:22px;
  box-shadow:none;
  border:1px solid rgba(24,30,75,.08);
  background:rgba(244,247,255,.88);
}
.ag-liveCities .btn.btn-light{
  background:rgba(255,255,255,.8) !important;
  border:1px solid rgba(24,30,75,.10) !important;
}

.ag-overlay{
  position:absolute;
  z-index:700;
  top:18px;
  display:flex;
  flex-direction:column;
  gap:12px;
  max-height:calc(100% - 36px);
}
.ag-overlay-left{left:18px; width:min(420px, calc(100% - 36px));}
.ag-overlay-right{right:18px; width:min(560px, calc(100% - 36px));}
@media (max-width: 991.98px){
  .ag-overlay-left{left:14px; right:14px; width:auto;}
  .ag-overlay-right{
    left:14px;
    right:14px;
    width:auto;
    top:auto;
    bottom:14px;
    max-height:44%;
  }
}

/* Landing: keep map tappable on mobile (no overlays covering it) */
@media (max-width: 991.98px){
  .PageLanding .ag-liveSplit{
    grid-template-columns:1fr;
    gap:10px;
    padding:0 10px;
  }
  .PageLanding .ag-liveMapPane{
    order:1;
  }
  .PageLanding .ag-liveRail{
    order:2;
    max-height:none;
    padding:8px;
    border-radius:24px;
  }
  .PageLanding .ag-map-shell--livePane{
    height:60vh;
    min-height:380px;
    border-radius:22px;
  }
  .PageLanding .ag-liveCities,
  .PageLanding .ag-liveStory{
    max-height:none;
  }
}
.ag-card{
  background:rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border:0;
  border-radius:30px;
  box-shadow:0 18px 48px rgba(24,30,75,.10);
  padding:12px;
  overflow:auto;
}
.ag-card .btn{
  min-height:42px;
  border-radius:12px;
}

.ag-status{
  margin-top:8px;
  color:var(--ag-muted);
  font-weight:600;
}

/* Outline list */
.ag-outline{display:flex;flex-direction:column;gap:10px;margin-top:10px;}
.ag-sec{
  border:0;
  border-radius:24px;
  padding:12px;
  background:#fff;
  box-shadow:0 12px 30px rgba(24,30,75,.08);
}

/* Leaflet place tooltips (image preview on hover) */
.leaflet-tooltip.ag-placeTooltip{
  border:0;
  background:transparent;
  box-shadow:none;
  padding:0;
}
.ag-placeTip{
  display:flex;
  gap:10px;
  align-items:center;
  padding:10px;
  border-radius:16px;
  border:1px solid rgba(24,30,75,.12);
  background:rgba(255,255,255,.96);
  box-shadow:0 18px 60px rgba(24,30,75,.14);
  backdrop-filter: blur(10px);
}
.ag-placeTipImg{
  width:84px;
  height:62px;
  border-radius:12px;
  object-fit:cover;
  flex:0 0 auto;
  border:1px solid rgba(24,30,75,.10);
}
.ag-placeTipTxt{
  display:flex;
  flex-direction:column;
  min-width:160px;
  max-width:240px;
}
.ag-placeTipName{
  font-weight:800;
  color:var(--ag-ink);
  line-height:1.15;
}
.ag-placeTipMeta{
  margin-top:2px;
  font-size:12px;
  font-weight:700;
  color:var(--ag-muted);
}

/* Prefooter countries cloud */
.ag-prefooter{
  padding:46px 0 22px;
  border-top:1px solid rgba(24,30,75,.10);
  background:
    radial-gradient(900px 380px at 10% 0%, rgba(75,123,236,.10) 0%, rgba(75,123,236,0) 60%),
    linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
}
.ag-prefooterCard{
  border-radius:34px;
  border:0;
  background:rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  box-shadow:0 18px 48px rgba(24,30,75,.10);
  padding:18px;
}
.ag-countryCloud{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  max-height:280px;
  overflow:auto;
  padding-right:6px;
}
.ag-chip{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 10px;
  border-radius:999px;
  border:0;
  text-decoration:none;
  color:var(--ag-ink);
  background:#fff;
  box-shadow:0 10px 24px rgba(24,30,75,.08);
  font-weight:700;
  font-size:13px;
}
.ag-chip:hover{
  background:rgba(75,123,236,.08);
  border-color:rgba(75,123,236,.28);
}

/* Footer */
.ag-footer{
  padding:44px 0 120px; /* leave room for sticky player */
  background: #061234;
  color:#fff;
}
.ag-footerBrand{
  font-weight:900;
  letter-spacing:.2px;
  font-size:20px;
}
.ag-footerHead{
  font-weight:900;
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:.22px;
  opacity:.9;
  margin-bottom:10px;
}
.ag-footerLink{
  color:rgba(255,255,255,.86);
  text-decoration:none;
  font-weight:700;
}
.ag-footerLink:hover{color:#fff;text-decoration:underline;}

.ag-langChip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  text-decoration:none;
  font-weight:800;
  font-size:12px;
  background:rgba(255,255,255,.06);
}
.ag-langChip:hover{background:rgba(255,255,255,.12);}

.ag-countryChip{
  color:rgba(255,255,255,.82);
  text-decoration:none;
  font-weight:700;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
}
.ag-countryChip:hover{background:rgba(255,255,255,.12); color:#fff;}

.ag-footerBottom{
  border-top:1px solid rgba(255,255,255,.14);
  margin-top:26px;
  padding-top:16px;
}
.ag-secTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  cursor:pointer;
}
.ag-secTop.isPlaying{outline:2px solid rgba(75,123,236,.35); outline-offset:4px;}
.ag-secTop.isSelected{outline:2px solid rgba(24,30,75,.18); outline-offset:4px;}
.ag-secTitle{font-weight:800;color:var(--ag-ink);}
.ag-secMeta{font-size:12px;color:var(--ag-muted);margin-top:2px;}
.ag-secBtns{display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.ag-iconBtn{
  width:42px;height:40px;border-radius:999px;
  border:0;
  background:#fff;
  box-shadow:0 10px 24px rgba(24,30,75,.10);
  display:inline-flex;align-items:center;justify-content:center;
  font-weight:800;
  color:var(--ag-ink);
  touch-action:manipulation;
  padding:0;
  line-height:0;
}
.ag-iconBtn:hover{background:rgba(246,248,255,.9);}
.ag-iconBtnPrimary{
  background:linear-gradient(180deg, rgba(75,123,236,1) 0%, rgba(59,130,246,1) 100%);
  border-color:rgba(75,123,236,.55);
  color:#fff;
}

.ag-ico{
  width:20px;
  height:20px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:2.4;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.ag-badge{
  display:none;
  align-items:center;
  justify-content:center;
  line-height:1;
  font-size:11px;
  font-weight:800;
  padding:2px 8px;
  border-radius:999px;
  border:1px solid rgba(24,30,75,.14);
  background:rgba(246,248,255,.9);
  color:var(--ag-ink);
}

/* Sticky player */
.BodyHasPlayer{padding-bottom:calc(118px + env(safe-area-inset-bottom, 0px));}
.ag-player{
  position:fixed;
  left:0; right:0; bottom:0;
  z-index:16000;
  background:rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-top:0;
  box-shadow:0 -18px 70px rgba(24,30,75,.18);
  padding-bottom:env(safe-area-inset-bottom, 0px);
  border-top-left-radius:28px;
  border-top-right-radius:28px;
}
.ag-player-inner{
  max-width:1200px;
  margin:0 auto;
  padding:12px 14px 12px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.ag-player-top{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto minmax(0, 1fr);
  align-items:center;
  gap:12px;
}
.ag-player-now{
  justify-self:start;
  min-width:0;
  max-width:min(760px, 92vw);
}
.ag-player-ctrls{justify-self:center;}
.ag-player-stats{justify-self:end;}
.ag-player-title{
  font-weight:900;
  color:var(--ag-ink);
  line-height:1.1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ag-player-meta{
  margin-top:2px;
  color:var(--ag-muted);
  font-weight:600;
  font-size:12px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ag-player-ctrls{display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.ag-player-btn{
  width:46px;
  height:42px;
  border-radius:999px;
  border:0;
  background:#fff;
  box-shadow:0 10px 24px rgba(24,30,75,.10);
  font-weight:900;
  color:var(--ag-ink);
  touch-action:manipulation;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  line-height:0;
}
.ag-player-btn#plSpeed{
  width:56px;
  font-size:14px;
  line-height:1;
  letter-spacing:.2px;
}
.ag-player-btn:disabled{opacity:.55; cursor:not-allowed;}
.ag-player-btnPrimary{
  background:linear-gradient(180deg, rgba(75,123,236,1) 0%, rgba(59,130,246,1) 100%);
  border-color:rgba(75,123,236,.55);
  color:#fff;
}
.ag-player-stats{display:flex;gap:10px;align-items:center;font-weight:800;color:var(--ag-ink);}
.ag-player-stats small{color:var(--ag-muted);font-weight:700;}

@media (max-width: 720px){
  .ag-player-top{
    grid-template-columns:1fr;
    grid-template-areas:
      "now"
      "ctrls"
      "stats";
    justify-items:center;
  }
  .ag-player-now{
    grid-area:now;
    justify-self:stretch;
    text-align:center;
  }
  .ag-player-title,
  .ag-player-meta{
    white-space:normal;
  }
  .ag-player-ctrls{
    grid-area:ctrls;
    justify-self:center;
  }
  .ag-player-stats{
    grid-area:stats;
    justify-self:center;
  }
}

.ag-bar{
  position:relative;
  height:9px;
  border-radius:999px;
  background:rgba(24,30,75,.10);
  overflow:hidden;
}
.ag-barFill{
  height:100%;
  width:0%;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(59,130,246,1) 0%, rgba(75,123,236,1) 50%, rgba(37,99,235,1) 100%);
  transition: width .16s ease;
}
.ag-knob{
  position:absolute;
  top:50%;
  transform:translate(-50%,-50%);
  width:12px;
  height:12px;
  border-radius:999px;
  background:rgba(59,130,246,1);
  border:2px solid rgba(255,255,255,.95);
  box-shadow:0 10px 24px rgba(24,30,75,.16);
  pointer-events:none;
  transition:left .16s ease;
}
.ag-knobLabel{
  position:absolute;
  top:-26px;
  transform:translateX(-50%);
  padding:2px 8px;
  border-radius:999px;
  background:rgba(11,22,63,.86);
  color:#fff;
  font-size:11px;
  font-weight:900;
  letter-spacing:.2px;
  white-space:nowrap;
  box-shadow:0 18px 60px rgba(24,30,75,.18);
  pointer-events:none;
  transition:left .16s ease;
}

.ag-playerLoading{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;
  margin-top:2px;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(24,30,75,.14);
  background:rgba(246,248,255,.94);
  color:var(--ag-muted);
  font-weight:800;
  font-size:12px;
}
.ag-playerLoading::before{
  content:"";
  width:12px;
  height:12px;
  border-radius:999px;
  border:2px solid rgba(75,123,236,.28);
  border-top-color:rgba(59,130,246,1);
  animation:agSpin 1s linear infinite;
}

/* ======================= Neo modern refresh ======================= */
.ag-reveal{
  opacity:1;
  transform:none;
}
body.ag-motion .ag-reveal{
  opacity:0;
  transform:translateY(22px) scale(.985);
  transition:opacity .55s ease, transform .55s ease;
}
body.ag-motion .ag-reveal.is-visible{
  opacity:1;
  transform:translateY(0) scale(1);
}

.ag-neoHero{
  position:relative;
}
.ag-neoHeroShell{
  position:relative;
  border-radius:34px;
  overflow:hidden;
  border:0;
  box-shadow:0 26px 80px rgba(24,30,75,.18);
  min-height:min(640px, 78vh);
}
.ag-neoHeroShell::before{
  content:"";
  position:absolute;
  inset:-120px;
  background:
    conic-gradient(from 40deg, rgba(59,130,246,.22), rgba(16,185,129,.10), rgba(75,123,236,.22), rgba(59,130,246,.22));
  filter:blur(54px);
  opacity:.52;
  animation:agHueSpin 18s linear infinite;
  pointer-events:none;
}
.ag-neoHeroOrbs{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:1;
}
.ag-neoOrb{
  position:absolute;
  border-radius:999px;
  filter:blur(1px);
  opacity:.7;
  animation:agFloatOrb 9s ease-in-out infinite;
}
.ag-neoOrb--a{
  width:140px;height:140px;
  left:3%;top:10%;
  background:radial-gradient(circle at 30% 35%, rgba(255,255,255,.9) 0%, rgba(125,211,252,.35) 35%, rgba(56,189,248,.10) 75%, transparent 100%);
}
.ag-neoOrb--b{
  width:188px;height:188px;
  right:7%;top:18%;
  animation-delay:-2s;
  background:radial-gradient(circle at 40% 38%, rgba(255,255,255,.8) 0%, rgba(110,231,183,.30) 33%, rgba(16,185,129,.10) 75%, transparent 100%);
}
.ag-neoOrb--c{
  width:160px;height:160px;
  right:28%;bottom:10%;
  animation-delay:-4s;
  background:radial-gradient(circle at 35% 35%, rgba(255,255,255,.85) 0%, rgba(165,180,252,.32) 36%, rgba(99,102,241,.12) 78%, transparent 100%);
}
.ag-neoHeroBackdrop{
  position:absolute;
  inset:0;
  z-index:2;
}
.ag-neoHeroBackdrop img,
.ag-neoHeroBackdrop .ag-ph{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  animation:agHeroZoom 15s ease-in-out infinite alternate;
}
.ag-neoHeroBackdrop::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(115deg, rgba(6,18,52,.84) 0%, rgba(6,18,52,.66) 34%, rgba(6,18,52,.38) 58%, rgba(6,18,52,.18) 100%);
}
.ag-neoHeroGlow{
  position:absolute;
  border-radius:999px;
  pointer-events:none;
  filter:blur(14px);
  opacity:.7;
}
.ag-neoHeroGlow--a{
  width:320px;
  height:320px;
  left:-80px;
  top:-80px;
  background:radial-gradient(circle at center, rgba(79,172,254,.56) 0%, rgba(79,172,254,0) 66%);
  animation:agFloatA 7.8s ease-in-out infinite;
}
.ag-neoHeroGlow--b{
  width:380px;
  height:380px;
  right:-130px;
  bottom:-120px;
  background:radial-gradient(circle at center, rgba(0,242,254,.44) 0%, rgba(0,242,254,0) 68%);
  animation:agFloatB 9s ease-in-out infinite;
}
.ag-neoHeroPanel{
  position:relative;
  z-index:3;
  width:min(520px, calc(100% - 20px));
  margin:26px;
  padding:24px;
  border-radius:24px;
  border:0;
  background:linear-gradient(150deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.72) 100%);
  box-shadow:0 30px 76px rgba(24,30,75,.22);
  backdrop-filter:blur(16px);
}
.ag-heroMiniNav{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:10px;
}
.ag-heroMiniNav span{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(255,255,255,.76);
  color:var(--ag-ink);
  font-size:11px;
  font-weight:800;
  border:1px solid rgba(24,30,75,.10);
}
.ag-neoHeroActions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:14px;
}
.ag-heroPulse{
  margin-top:12px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  border-radius:999px;
  padding:4px 10px;
  background:rgba(255,255,255,.7);
  box-shadow:0 10px 24px rgba(24,30,75,.10);
  color:var(--ag-ink);
  font-weight:700;
  font-size:12px;
}
.ag-heroPulseDot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:#10b981;
  box-shadow:0 0 0 0 rgba(16,185,129,.55);
  animation:agPulse 1.8s ease-out infinite;
}
.ag-heroMetrics--4{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}
.ag-neoHeroList{
  margin-top:12px;
  display:grid;
  gap:8px;
}
.ag-neoHeroList > div{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:700;
  color:var(--ag-ink);
}
.ag-neoHeroList > div::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(75,123,236,1) 0%, rgba(59,130,246,1) 100%);
  box-shadow:0 0 0 5px rgba(59,130,246,.16);
}
.ag-heroRoute{
  margin-top:14px;
  display:flex;
  align-items:center;
  gap:10px;
}
.ag-heroRoute span{
  height:8px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(59,130,246,.95) 0%, rgba(16,185,129,.9) 100%);
  box-shadow:0 8px 18px rgba(24,30,75,.16);
  animation:agRoutePulse 3.6s ease-in-out infinite;
}
.ag-heroRoute span:nth-child(1){width:18%;}
.ag-heroRoute span:nth-child(2){width:26%;animation-delay:-.55s;}
.ag-heroRoute span:nth-child(3){width:22%;animation-delay:-1.1s;}
.ag-heroRoute span:nth-child(4){width:34%;animation-delay:-1.6s;}
.ag-heroPicker{
  display:grid;
  gap:8px;
  margin-top:14px;
  text-decoration:none;
}
.ag-heroPickerRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:42px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(255,255,255,.96);
  color:var(--ag-ink);
  box-shadow:0 12px 30px rgba(24,30,75,.12);
}
.ag-heroPickerRow b{
  font-size:13px;
  font-weight:800;
}
.ag-heroPickerRow span{
  font-size:15px;
  font-weight:900;
  color:#2c5ec8;
}

.ag-roadLayout{
  display:grid;
  grid-template-columns:minmax(0, .94fr) minmax(0, 1.06fr);
  gap:18px;
  align-items:stretch;
}
.ag-roadList{
  border:0;
  border-radius:28px;
  background:rgba(255,255,255,.94);
  box-shadow:0 18px 56px rgba(24,30,75,.12);
  padding:22px;
}
.ag-numberList{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}
.ag-numberList li{
  display:grid;
  gap:4px;
  border:0;
  border-radius:16px;
  background:rgba(246,248,255,.72);
  padding:10px 12px;
}
.ag-numberList li b{
  color:var(--ag-ink);
  font-size:14px;
}
.ag-numberList li span{
  color:var(--ag-muted);
  font-size:12px;
  font-weight:700;
}
.ag-roadVisual{
  position:relative;
  min-height:420px;
  border-radius:28px;
  border:0;
  background:
    radial-gradient(900px 360px at 10% 10%, rgba(75,123,236,.20) 0%, rgba(75,123,236,0) 66%),
    radial-gradient(740px 320px at 92% 35%, rgba(0,200,255,.16) 0%, rgba(0,200,255,0) 66%),
    linear-gradient(180deg, rgba(244,249,255,1) 0%, rgba(255,255,255,1) 100%);
  box-shadow:0 18px 56px rgba(24,30,75,.12);
  overflow:hidden;
}
.ag-phoneMock{
  position:absolute;
  border-radius:28px;
  border:0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(248,251,255,.98) 100%);
  box-shadow:0 22px 48px rgba(24,30,75,.18);
  width:220px;
  height:420px;
  right:44px;
  top:12px;
  animation:agFloatA 7.2s ease-in-out infinite;
}
.ag-phoneMock::before{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  top:18px;
  bottom:16px;
  border-radius:18px;
  border:0;
  background:
    linear-gradient(180deg, rgba(75,123,236,.22) 0%, rgba(75,123,236,.02) 32%, rgba(255,255,255,.9) 100%);
}
.ag-phoneMock--mid{
  width:200px;
  height:390px;
  right:190px;
  top:30px;
  opacity:.95;
  animation:agFloatB 8.4s ease-in-out infinite;
}
.ag-phoneMock--small{
  width:176px;
  height:350px;
  right:332px;
  top:58px;
  opacity:.9;
  animation:agFloatA 9.2s ease-in-out infinite;
}
.ag-roadBadge{
  position:absolute;
  left:18px;
  bottom:18px;
  max-width:320px;
  border-radius:18px;
  border:0;
  background:rgba(255,255,255,.92);
  box-shadow:0 14px 30px rgba(24,30,75,.16);
  padding:12px;
  display:grid;
  gap:4px;
}
.ag-roadBadge strong{
  color:var(--ag-ink);
  font-size:15px;
}
.ag-roadBadge span{
  color:var(--ag-muted);
  font-size:12px;
  font-weight:700;
}

.ag-placeCard{
  animation:agFadeUp .65s ease both;
  animation-delay:calc(var(--i, 0) * 36ms);
}

@media (max-width: 1200px){
  .ag-phoneMock--small{display:none;}
}
@media (max-width: 991.98px){
  .ag-neoHeroShell{min-height:0;}
  .ag-neoHeroPanel{
    margin:14px;
    padding:16px;
    width:calc(100% - 28px);
  }
  .ag-heroMetrics--4{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
  .ag-roadLayout{
    grid-template-columns:1fr;
  }
  .ag-roadVisual{
    min-height:340px;
  }
  .ag-phoneMock{
    width:172px;
    height:320px;
    right:18px;
    top:12px;
    border-radius:20px;
  }
  .ag-phoneMock--mid{
    width:156px;
    height:290px;
    right:156px;
    top:24px;
    border-radius:18px;
  }
  .ag-roadBadge{
    left:12px;
    right:12px;
    max-width:none;
  }
}
@media (max-width: 640px){
  .ag-heroMetrics--4{
    grid-template-columns:1fr;
  }
  .ag-phoneMock--mid{display:none;}
}

@keyframes agSpin{
  to{transform:rotate(360deg);}
}
@keyframes agFadeUp{
  from{opacity:0; transform:translateY(18px);}
  to{opacity:1; transform:translateY(0);}
}
@keyframes agFloatA{
  0%,100%{transform:translate3d(0,0,0);}
  50%{transform:translate3d(0,-10px,0);}
}
@keyframes agFloatB{
  0%,100%{transform:translate3d(0,0,0);}
  50%{transform:translate3d(0,-14px,0);}
}
@keyframes agPulse{
  0%{box-shadow:0 0 0 0 rgba(16,185,129,.52);}
  70%{box-shadow:0 0 0 10px rgba(16,185,129,0);}
  100%{box-shadow:0 0 0 0 rgba(16,185,129,0);}
}
@keyframes agHeroZoom{
  0%{transform:scale(1);}
  100%{transform:scale(1.06);}
}
@keyframes agHueSpin{
  from{transform:rotate(0deg);}
  to{transform:rotate(360deg);}
}
@keyframes agFloatOrb{
  0%,100%{transform:translateY(0) translateX(0);}
  40%{transform:translateY(-14px) translateX(6px);}
  70%{transform:translateY(9px) translateX(-4px);}
}
@keyframes agRoutePulse{
  0%,100%{transform:translateY(0); opacity:.86;}
  50%{transform:translateY(-2px); opacity:1;}
}

/* ======================= Space Dynamic adaptation ======================= */
.ag-spaceHeroWrap{
  position:relative;
}
.ag-spaceHero{
  position:relative;
  border-radius:40px;
  padding:22px;
  overflow:hidden;
  background:
    radial-gradient(980px 480px at 8% 6%, rgba(3,164,237,.22) 0%, rgba(3,164,237,0) 64%),
    radial-gradient(860px 420px at 94% 18%, rgba(254,63,64,.18) 0%, rgba(254,63,64,0) 64%),
    linear-gradient(180deg, #f6faff 0%, #ffffff 100%);
  box-shadow:0 26px 80px rgba(24,30,75,.14);
}
.ag-spaceDec{
  position:absolute;
  pointer-events:none;
  width:320px;
  height:320px;
  border-radius:999px;
  filter:blur(2px);
}
.ag-spaceDec--left{
  left:-140px;
  top:-150px;
  background:radial-gradient(circle at 55% 55%, rgba(3,164,237,.32) 0%, rgba(3,164,237,0) 72%);
}
.ag-spaceDec--right{
  right:-140px;
  bottom:-170px;
  background:radial-gradient(circle at 40% 40%, rgba(254,63,64,.30) 0%, rgba(254,63,64,0) 72%);
}
.ag-spaceHeroGrid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0, .98fr) minmax(0, 1.02fr);
  gap:18px;
  align-items:stretch;
}
.ag-spaceHeroLeft{
  border-radius:30px;
  padding:24px;
  background:rgba(255,255,255,.84);
  box-shadow:0 20px 56px rgba(24,30,75,.12);
  backdrop-filter:blur(10px);
}
.ag-spaceHeroRight{
  display:grid;
  gap:12px;
  min-width:0;
}
.ag-spaceHeroMedia{
  position:relative;
  min-height:430px;
  border-radius:30px;
  overflow:hidden;
  box-shadow:0 24px 62px rgba(24,30,75,.16);
  border:1px solid rgba(255,255,255,.55);
}
.ag-spaceHeroMedia::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(130deg, rgba(6,18,52,.40) 0%, rgba(6,18,52,.16) 48%, rgba(6,18,52,.04) 100%);
  pointer-events:none;
}
.ag-spaceHeroMedia img,
.ag-spaceHeroMedia .ag-ph{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.ag-spaceHeroBadge{
  position:absolute;
  left:14px;
  right:14px;
  bottom:14px;
  z-index:2;
  display:grid;
  gap:4px;
  border-radius:18px;
  padding:10px 12px;
  background:rgba(255,255,255,.88);
  box-shadow:0 16px 40px rgba(24,30,75,.20);
}
.ag-spaceHeroBadge strong{
  color:var(--ag-ink);
  font-weight:900;
  font-size:14px;
}
.ag-spaceHeroBadge span{
  color:var(--ag-muted);
  font-size:12px;
  font-weight:700;
  line-height:1.35;
}
.ag-spaceHeroStrip{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
}
.ag-spaceHeroChip{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  text-decoration:none;
  border-radius:999px;
  padding:8px;
  background:rgba(255,255,255,.94);
  box-shadow:0 12px 30px rgba(24,30,75,.12);
}
.ag-spaceHeroChip img{
  width:34px;
  height:34px;
  border-radius:999px;
  object-fit:cover;
  flex:0 0 auto;
}
.ag-spaceHeroChip span{
  min-width:0;
  color:var(--ag-ink);
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ag-spaceTicker{
  margin-top:12px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.ag-spaceTicker span{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(3,164,237,.10);
  color:#04557a;
  font-size:12px;
  font-weight:800;
}

.ag-spaceSection{
  position:relative;
}
.ag-spaceSection::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:1px;
  background:linear-gradient(90deg, rgba(24,30,75,0) 0%, rgba(24,30,75,.12) 16%, rgba(24,30,75,.12) 84%, rgba(24,30,75,0) 100%);
  pointer-events:none;
}
.ag-spaceHeading h5{
  color:#fe3f40 !important;
  font-weight:800;
  letter-spacing:.28px;
  text-transform:uppercase;
  margin-bottom:6px;
}
.ag-spaceHeading h3{
  color:var(--ag-ink);
}

.ag-spaceSection--live .ag-liveSplit{
  border-radius:38px;
  padding:12px;
  background:linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(244,248,255,.88) 100%);
  box-shadow:0 24px 70px rgba(24,30,75,.12);
}
.ag-spaceSection--live .ag-liveRail{
  border-radius:30px;
  padding:10px;
  background:rgba(247,250,255,.9);
  border:1px solid rgba(24,30,75,.10);
  box-shadow:none;
}
.ag-spaceSection--live .ag-liveMapPane .ag-map-shell--livePane{
  border-radius:30px;
  border:1px solid rgba(24,30,75,.10);
  box-shadow:none;
}
.ag-spaceSection--live .ag-liveRail .ag-card{
  border-radius:20px;
}

.ag-spaceSection--about .ag-roadList{
  position:relative;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  padding:10px 8px 0;
}
.ag-spaceSection--about .ag-roadList::before{
  content:"";
  position:absolute;
  left:-8px;
  top:20px;
  bottom:12px;
  width:3px;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(3,164,237,.55) 0%, rgba(254,63,64,.55) 100%);
}
.ag-spaceSection--about .ag-numberList li{
  border-radius:20px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(24,30,75,.10);
  box-shadow:0 14px 34px rgba(24,30,75,.08);
}
.ag-spaceSection--about .ag-roadVisual{
  border-radius:42px 42px 20px 20px;
  border:1px solid rgba(24,30,75,.08);
  box-shadow:0 20px 58px rgba(24,30,75,.11);
}

.ag-spaceSection--gallery .ag-placeGallery{
  padding-top:8px;
}
.ag-spaceSection--gallery .ag-placeCard{
  border-radius:24px;
  overflow:hidden;
}
.ag-spaceSection--features .ag-superRow,
.ag-spaceSection--super .ag-superRow{
  border-bottom:1px dashed rgba(24,30,75,.15);
}
.ag-spaceSection--faq .ag-faqRow{
  border-bottom:1px solid rgba(24,30,75,.12);
}

@media (max-width: 991.98px){
  .ag-spaceHero{
    border-radius:24px;
    padding:12px;
  }
  .ag-spaceHeroGrid{
    grid-template-columns:1fr;
  }
  .ag-spaceHeroLeft{
    border-radius:20px;
    padding:16px;
  }
  .ag-spaceHeroMedia{
    min-height:320px;
    border-radius:20px;
  }
  .ag-spaceHeroStrip{
    grid-template-columns:1fr;
  }
  .ag-spaceSection--live .ag-liveSplit{
    border-radius:24px;
    padding:8px;
  }
}
