@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ============================================================
   STRASKO GUEST APP — v14 BRIGHT
   - Tamnija plava (#0050D6) za jasniji kontrast
   - Popravljena venue card struktura (slika ispod, nije float)
   - Mobile bottom nav
   - Inter font, Apple/Valamar stil
   ============================================================ */

#sga-app {
  /* Pozadina */
  --bg:        #FFFFFF;
  --bg2:       #F5F7FA;
  --bg3:       #EBEEF2;

  /* Linije */
  --border:    #E5E8EC;
  --border2:   #D1D6DC;

  /* Tekst */
  --text:      #0A0E14;
  --text2:     #1A2030;
  --muted:     #6B7280;
  --soft:      #9CA3AF;

  /* Akcent - TAMNIJA plava */
  --accent:    #0050D6;            /* duboko plava (umjesto #007AFF) */
  --accent-hi: #2D74E8;
  --accent-lo: #003BA3;
  --accent-bg: #E5EFFE;

  /* Status */
  --open:      #16A34A;
  --closed:    #DC2626;
  --warn:      #EA580C;

  /* Surfaces */
  --card:      #FFFFFF;
  --card-h:    #F8FAFC;
  --shadow:    rgba(10,14,20,0.05);
  --shadow-h:  rgba(10,14,20,0.10);
  --shadow-lg: rgba(10,14,20,0.14);
  --shadow-blue: rgba(0,80,214,0.20);

  /* Nav */
  --nav-bg:    rgba(255,255,255,0.95);
}

/* ── BASE ─────────────────────────────────────────────────── */
#sga-app {
  border-radius: 0 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif !important;
  background: var(--bg) !important;
  color: var(--text) !important;
  max-width: 460px !important;
  margin: 0 auto !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  box-sizing: border-box !important;
  padding-bottom: 80px !important;          /* prostor za bottom nav */
}
#sga-app *, #sga-app *::before, #sga-app *::after { box-sizing: border-box !important; }
#sga-app * { color: inherit; }
#sga-app h1, #sga-app h2, #sga-app h3, #sga-app h4 { margin: 0 !important; padding: 0 !important; line-height: 1.1 !important; }
#sga-app a { color: inherit !important; text-decoration: none !important; background: none !important; }
#sga-app a:hover { color: inherit !important; text-decoration: none !important; opacity: 1 !important; }
#sga-app p { margin: 0 !important; padding: 0 !important; color: inherit !important; }
#sga-app button { font-family: inherit !important; cursor: pointer !important; border: 0; background: none; }
#sga-app img { opacity: 1 !important; display: block; }

/* ── HERO — velika slika + logo overlay ───────────────────── */
#sga-app .sga-hero {
  position: relative !important;
  z-index: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  height: 60vh !important;
  min-height: 380px !important;
  max-height: 560px !important;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-lo) 100%) !important;
  border-bottom: 0 !important;
  overflow: hidden !important;
}
/* Content continues seamlessly from the hero's faded bottom (Hubertus style) */
#sga-app .sga-scroll-over {
  position: relative !important;
  z-index: 1 !important;
  background: var(--bg) !important;
  margin-top: -1px !important;
  border-radius: 0 !important;
  padding-top: 8px !important;
  overflow-x: clip !important;
}
#sga-app .sga-scroll-over::before {
  content: none !important;
  display: none !important;
}
/* Hero background image (full bleed) with slow Ken-Burns zoom */
#sga-app .sga-hero-bg {
  display: block !important;
  position: absolute !important;
  inset: -2% !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  z-index: 1 !important;
  transform: scale(1.04) !important;
  animation: sgaHeroZoom 22s ease-in-out infinite alternate !important;
  will-change: transform !important;
}
@keyframes sgaHeroZoom { from { transform: scale(1.04); } to { transform: scale(1.13); } }
@media (prefers-reduced-motion: reduce) { #sga-app .sga-hero-bg { animation: none !important; } }
#sga-app .sga-hero-overlay {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    linear-gradient(180deg,
      rgba(8,12,20,0.48) 0%,
      rgba(8,12,20,0.18) 18%,
      rgba(8,12,20,0.03) 38%,
      rgba(255,255,255,0) 55%,
      var(--bg) 99%) !important;
  z-index: 2 !important;
}
#sga-app .sga-hero-noise,
#sga-app .sga-hero-grid { display: none !important; }
#sga-app .sga-hero-content {
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  gap: 14px !important;
  padding: calc(env(safe-area-inset-top) + 22px) 22px 96px !important;
}
#sga-app .sga-hero-logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
#sga-app .sga-logo-img {
  height: 210px !important;
  width: auto !important;
  filter:
    drop-shadow(0 4px 16px rgba(0,0,0,0.45))
    drop-shadow(0 0 1px rgba(255,255,255,0.4)) !important;
}
#sga-app .sga-logo-text {
  font-family: 'Inter', sans-serif !important;
  font-size: 44px !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  line-height: 1.05 !important;
  text-shadow: 0 3px 18px rgba(0,0,0,0.55) !important;
}
#sga-app .sga-hero-welcome { text-align: center !important; margin-top: 26px !important; }
#sga-app .sga-hero-heading {
  font-family: 'Inter', sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  line-height: 1.02 !important;
  text-shadow: 0 3px 18px rgba(0,0,0,0.55) !important;
}
#sga-app .sga-hero-sub {
  font-size: 11px !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,0.92) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.92) !important;
  line-height: 1.4 !important;
  margin-top: 8px !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5) !important;
}
/* (overlap sheet handled by .sga-scroll-over above) */

/* ── TOP NAV — SAKRIVENO (zamijenjen bottom nav-om) ──────── */
#sga-app .sga-nav {
  display: none !important;
}

/* ── SECTION ─────────────────────────────────────────────── */
#sga-app .sga-section {
  padding: 28px 20px 16px !important;
  position: relative !important;
}
#sga-app .sga-sec-header { margin-bottom: 18px !important; }
#sga-app .sga-sec-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 32px !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
  line-height: 1.05 !important;
  display: block !important;
}

/* ── ACCORDION (klikabilna sekcija) — full-bleed, bez ugniježđenih okvira ── */
#sga-app .sga-section.sga-accordion {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--border) !important;
  border-radius: 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
}
#sga-app .sga-acc-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 20px 18px 12px !important;
  cursor: pointer !important;
  background: var(--bg) !important;
  border: 0 !important;
  text-align: left !important;
  transition: background 0.2s !important;
  font-family: 'Inter', sans-serif !important;
}
#sga-app .sga-acc-header:hover { background: var(--bg) !important; }
#sga-app .sga-acc-header:active { background: var(--bg2) !important; }
#sga-app .sga-acc-header .sga-sec-title {
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
  line-height: 1.2 !important;
  flex: 1 !important;
}
#sga-app .sga-acc-arrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  background: var(--bg2) !important;
  border-radius: 50% !important;
  font-size: 14px !important;
  color: var(--muted) !important;
  -webkit-text-fill-color: var(--muted) !important;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), background 0.2s !important;
  flex-shrink: 0 !important;
}
#sga-app .sga-acc-open .sga-acc-arrow {
  transform: rotate(180deg) !important;
  background: var(--accent-bg) !important;
  color: var(--accent) !important;
  -webkit-text-fill-color: var(--accent) !important;
}
#sga-app .sga-acc-body {
  padding: 4px 18px 18px !important;
  font-size: 14px !important;
  color: var(--text2) !important;
  -webkit-text-fill-color: var(--text2) !important;
  line-height: 1.6 !important;
}

/* venue sekcije: banneri idu od ruba do ruba ekrana */
#sga-app .sga-section.sga-venues .sga-acc-body { padding: 0 !important; }

/* ── FEATURE GRID (highlights) ───────────────────────────── */
#sga-app #sga-featured {
  margin-top: -46px !important;     /* podigni preko spoja hero/content */
  padding-top: 4px !important;
  position: relative !important;
  z-index: 5 !important;
  background: transparent !important;
}
#sga-app .sga-featured-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 14px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  scroll-snap-type: x mandatory !important;
  margin: 0 -20px !important;          /* bleed to screen edges */
  padding: 2px 20px 8px !important;    /* first/last card inset */
  scrollbar-width: none !important;
}
#sga-app .sga-featured-grid::-webkit-scrollbar { display: none !important; }
#sga-app .sga-feat-card {
  position: relative !important;
  display: block !important;
  flex: 0 0 57% !important;            /* veca kartica da CTA gumb stane */
  max-width: 200px !important;
  scroll-snap-align: start !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  box-shadow: 0 1px 3px var(--shadow) !important;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s !important;
  -webkit-tap-highlight-color: transparent !important;
}
#sga-app .sga-feat-card:hover { transform: translateY(-3px) !important; box-shadow: 0 12px 28px var(--shadow-h) !important; }
#sga-app .sga-feat-card:active { transform: scale(0.985) !important; }
#sga-app .sga-feat-media {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  display: flex !important;
  align-items: flex-end !important;
  overflow: hidden !important;
  background: var(--bg2) !important;
}
#sga-app .sga-feat-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s cubic-bezier(0.2,0,0.2,1) !important;
}
#sga-app .sga-feat-card:hover .sga-feat-img { transform: scale(1.05) !important; }
#sga-app .sga-feat-card-img .sga-feat-media::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(10,14,20,0) 18%, rgba(10,14,20,0.40) 52%, rgba(10,14,20,0.86) 100%) !important;
  z-index: 1 !important;
}
#sga-app .sga-feat-card-icon .sga-feat-media {
  background: linear-gradient(150deg, var(--accent-hi) 0%, var(--accent-lo) 100%) !important;
}
#sga-app .sga-feat-card-icon.c-green  .sga-feat-media { background: linear-gradient(150deg,#34D399,#059669) !important; }
#sga-app .sga-feat-card-icon.c-orange .sga-feat-media { background: linear-gradient(150deg,#FBBF24,#EA580C) !important; }
#sga-app .sga-feat-card-icon.c-purple .sga-feat-media { background: linear-gradient(150deg,#A78BFA,#6D28D9) !important; }
#sga-app .sga-feat-card-icon.c-teal   .sga-feat-media { background: linear-gradient(150deg,#2DD4BF,#0D9488) !important; }
#sga-app .sga-feat-card-icon.c-red    .sga-feat-media { background: linear-gradient(150deg,#FB7185,#E11D48) !important; }
#sga-app .sga-feat-card-icon.c-yellow .sga-feat-media { background: linear-gradient(150deg,#FCD34D,#D97706) !important; }
#sga-app .sga-feat-card-icon.c-pink   .sga-feat-media { background: linear-gradient(150deg,#F9A8D4,#DB2777) !important; }
#sga-app .sga-feat-card-icon .sga-feat-media::after {
  content: "" !important; position: absolute !important; inset: 0 !important;
  background: linear-gradient(180deg, rgba(10,14,20,0) 45%, rgba(10,14,20,0.45) 100%) !important; z-index: 1 !important;
}
#sga-app .sga-feat-icon {
  position: absolute !important;
  top: 16px !important; left: 16px !important;
  width: 54px !important; height: 54px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  background: rgba(255,255,255,0.18) !important;
  -webkit-backdrop-filter: blur(6px) !important; backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(255,255,255,0.35) !important;
  border-radius: 16px !important; z-index: 2 !important;
}
#sga-app .sga-feat-icon svg { width: 30px !important; height: 30px !important; stroke: #fff !important; fill: none !important; }
#sga-app .sga-feat-emoji { font-size: 30px !important; line-height: 1 !important; }

/* Icon cards: icon pinned top, text pinned bottom (balanced, no overlap) */
#sga-app .sga-feat-card-icon .sga-feat-media {
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  padding: 16px !important;
}
#sga-app .sga-feat-card-icon .sga-feat-media::after { display: none !important; }
#sga-app .sga-feat-card-icon .sga-feat-icon {
  position: relative !important;
  top: auto !important; left: auto !important;
  margin-bottom: 0 !important;
  flex: 0 0 auto !important;
}
#sga-app .sga-feat-card-icon .sga-feat-overlay { padding: 0 !important; }
#sga-app .sga-feat-card-icon .sga-feat-title { text-shadow: none !important; }
#sga-app .sga-feat-card-icon .sga-feat-sub { text-shadow: none !important; }
#sga-app .sga-feat-overlay {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  padding: 14px 16px 16px !important;
  width: 100% !important;
}
#sga-app .sga-feat-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important; font-weight: 700 !important;
  color: #fff !important; -webkit-text-fill-color: #fff !important;
  line-height: 1.2 !important; letter-spacing: -0.02em !important;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5) !important;
  display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important;
}
#sga-app .sga-feat-sub {
  font-size: 12px !important; font-weight: 500 !important;
  color: rgba(255,255,255,0.9) !important; -webkit-text-fill-color: rgba(255,255,255,0.9) !important;
  line-height: 1.3 !important; margin-top: 2px !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5) !important;
  display: -webkit-box !important; -webkit-line-clamp: 1 !important; -webkit-box-orient: vertical !important; overflow: hidden !important;
}
#sga-app .sga-feat-badge {
  position: absolute !important;
  top: 14px !important; right: 14px !important; z-index: 3 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 10px !important; font-weight: 700 !important;
  padding: 5px 11px !important; border-radius: 999px !important;
  background: rgba(255,255,255,0.95) !important; color: var(--accent) !important; -webkit-text-fill-color: var(--accent) !important;
  letter-spacing: 0.04em !important; text-transform: uppercase !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18) !important;
}
#sga-app .sga-feat-cta {
  display: inline-flex !important; align-items: center !important; gap: 4px !important;
  margin-top: 12px !important;
  font-size: 12.5px !important; font-weight: 700 !important;
  color: #fff !important; -webkit-text-fill-color: #fff !important;
  background: rgba(255,255,255,0.18) !important;
  -webkit-backdrop-filter: blur(6px) !important; backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(255,255,255,0.32) !important;
  padding: 8px 12px !important; border-radius: 999px !important;
}
#sga-app .sga-feat-cta svg { width: 14px !important; height: 14px !important; }

/* ── GENERIC CARDS ───────────────────────────────────────── */
#sga-app .sga-card {
  display: block !important;
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px !important;
  padding: 18px !important;
  box-shadow: 0 1px 3px var(--shadow) !important;
  margin-bottom: 12px !important;
  transition: all 0.2s !important;
  cursor: pointer !important;
  overflow: hidden !important;
}
#sga-app .sga-card:hover {
  border-color: var(--border2) !important;
  box-shadow: 0 4px 12px var(--shadow-h) !important;
}

/* ── VENUE CARD — banner slika + body ─────────────────────── */
#sga-app .sga-venue-card {
  padding: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  background: var(--card) !important;
}
#sga-app .sga-venue-card:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}
/* tanka svijetla traka kao razdjelnik izmedu full-bleed venue blokova */
#sga-app .sga-venue-card + .sga-venue-card {
  border-top: 8px solid var(--bg2) !important;
}

/* Banner slika - na vrhu, full width, UNIFORMNA visina na svim karticama */
#sga-app .sga-venue-banner {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 180px !important;
  min-height: 180px !important;
  max-height: 180px !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-lo) 100%) !important;
  flex-shrink: 0 !important;
}
#sga-app .sga-venue-banner img {
  display: block !important;
  width: 100% !important;
  height: 180px !important;
  min-height: 180px !important;
  max-height: 180px !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform 0.35s ease !important;
}
#sga-app .sga-venue-card:hover .sga-venue-banner img {
  transform: scale(1.03) !important;
}

/* Bez slike - veliki emoji centriran */
#sga-app .sga-venue-banner-noimg {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
#sga-app .sga-venue-banner-icon {
  font-size: 64px !important;
  line-height: 1 !important;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2)) !important;
}
#sga-app .sga-venue-banner-icon svg { width: 46px !important; height: 46px !important; stroke: #fff !important; fill: none !important; }

/* Coming soon */
#sga-app .sga-soon-badge {
  position: absolute !important;
  top: 12px !important; left: 12px !important; z-index: 2 !important;
  font-size: 11px !important; font-weight: 700 !important;
  padding: 5px 11px !important; border-radius: 999px !important;
  background: rgba(245,158,11,0.96) !important; color: #fff !important; -webkit-text-fill-color: #fff !important;
  letter-spacing: 0.03em !important; text-transform: uppercase !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}
#sga-app .sga-venue-soon .sga-venue-banner img { filter: grayscale(30%) !important; opacity: 0.9 !important; }
#sga-app .sga-venue-soon .sga-venue-banner-noimg { opacity: 0.85 !important; }

/* Paid/Free badge u kutu banner-a */
#sga-app .sga-venue-badge {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  z-index: 2 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
}
#sga-app .sga-venue-badge.sga-tag-paid {
  background: rgba(234,88,12,0.92) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
#sga-app .sga-venue-badge.sga-tag-free {
  background: rgba(22,163,74,0.92) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Body ispod slike */
#sga-app .sga-venue-body {
  padding: 16px 18px 12px !important;
}

/* Card-icon i card-top više se ne koriste za venue (sakrij ako se pojave) */
#sga-app .sga-venue-card .sga-card-icon,
#sga-app .sga-venue-card .sga-card-top {
  display: none !important;
}

/* Naslov */
#sga-app .sga-card-name {
  font-family: 'Inter', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
  line-height: 1.25 !important;
  margin-bottom: 6px !important;
  letter-spacing: -0.02em !important;
}
#sga-app .sga-card-desc {
  font-size: 14px !important;
  color: var(--text2) !important;
  -webkit-text-fill-color: var(--text2) !important;
  line-height: 1.5 !important;
  margin-bottom: 10px !important;
  font-weight: 400 !important;
}
#sga-app .sga-card-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 4px !important;
  margin-bottom: 10px !important;
  flex-wrap: wrap !important;
}

/* Card footer (buttoni) - padding sa strana */
#sga-app .sga-venue-card .sga-card-footer {
  display: flex !important;
  align-items: stretch !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 12px 18px 16px !important;
  border-top: 1px solid var(--border) !important;
}

/* SLIKA U KARTICI - SAKRIVENA: prikazuje se samo u modalu */
#sga-app .sga-card .sga-card-image,
#sga-app .sga-card .sga-venue-img {
  display: none !important;
}

#sga-app .sga-venue-data {
  display: none !important;
}

/* DETAIL U KARTICI - SAKRIVENO: prikazuje se samo u modalu */
#sga-app .sga-card .sga-detail {
  display: none !important;
}

/* card-footer = action buttons */
#sga-app .sga-card-footer {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 14px !important;
  padding-top: 14px !important;
  border-top: 1px solid var(--border) !important;
}
#sga-app .sga-card-footer .sga-action { flex: 1 !important; }

/* ── STATUS ──────────────────────────────────────────────── */
#sga-app .sga-status {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
#sga-app .sga-status-dot {
  width: 8px !important; height: 8px !important;
  border-radius: 50% !important;
  background: var(--open) !important;
  flex-shrink: 0;
}
#sga-app .sga-status.is-closed .sga-status-dot { background: var(--closed) !important; }
#sga-app .sga-status.is-soon .sga-status-dot { background: #F59E0B !important; }
#sga-app .sga-status.is-open  { color: var(--open) !important; -webkit-text-fill-color: var(--open) !important; }
#sga-app .sga-status.is-closed { color: var(--closed) !important; -webkit-text-fill-color: var(--closed) !important; }
#sga-app .sga-status.is-soon  { color: #B45309 !important; -webkit-text-fill-color: #B45309 !important; }
#sga-app .sga-pulse { position: relative; }
#sga-app .sga-pulse::after {
  content: ''; position: absolute; inset: -3px;
  border-radius: 50%; background: var(--open);
  opacity: 0.5; animation: sga-pulse 1.8s ease-out infinite;
}
@keyframes sga-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(2.5); opacity: 0; }
}
#sga-app .sga-hours {
  font-size: 13px !important;
  color: var(--muted) !important;
  -webkit-text-fill-color: var(--muted) !important;
  font-weight: 500 !important;
}

/* ── TAGS ────────────────────────────────────────────────── */
#sga-app .sga-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}
#sga-app .sga-tag {
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: var(--bg2) !important;
  color: var(--text2) !important;
  -webkit-text-fill-color: var(--text2) !important;
}
#sga-app .sga-tag-accent {
  background: var(--accent-bg) !important;
  color: var(--accent) !important;
  -webkit-text-fill-color: var(--accent) !important;
}
#sga-app .sga-tag-free {
  background: rgba(22,163,74,0.12) !important;
  color: var(--open) !important;
  -webkit-text-fill-color: var(--open) !important;
}
#sga-app .sga-tag-paid {
  background: rgba(234,88,12,0.12) !important;
  color: var(--warn) !important;
  -webkit-text-fill-color: var(--warn) !important;
}

/* ── TILES ───────────────────────────────────────────────── */
#sga-app .sga-tiles {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 10px !important;
}
#sga-app .sga-tile {
  padding: 18px 14px !important;
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px !important;
  text-align: center !important;
  box-shadow: 0 1px 3px var(--shadow) !important;
}
#sga-app .sga-tile-icon {
  width: 44px !important;
  height: 44px !important;
  margin: 0 auto 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--accent-bg) !important;
  border-radius: 12px !important;
  color: var(--accent) !important;
  font-size: 20px !important;
}
#sga-app .sga-tile-icon svg {
  width: 22px !important;
  height: 22px !important;
  stroke: var(--accent) !important;
  fill: none !important;
  stroke-width: 2 !important;
}
#sga-app .sga-tile-label {
  font-size: 12px !important;
  color: var(--muted) !important;
  -webkit-text-fill-color: var(--muted) !important;
  font-weight: 500 !important;
  margin-bottom: 4px !important;
}
#sga-app .sga-tile-val {
  font-family: 'Inter', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
}

/* ── EVENTS ──────────────────────────────────────────────── */
#sga-app .sga-day-block { margin-bottom: 22px !important; }
#sga-app .sga-day-label {
  font-family: 'Inter', sans-serif !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
  margin-bottom: 12px !important;
  letter-spacing: -0.02em !important;
}

/* Event row - media (slika) lijevo, body (tekst) desno */
#sga-app .sga-event-row {
  display: flex !important;
  gap: 0 !important;
  padding: 0 !important;
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  margin-bottom: 10px !important;
  box-shadow: 0 1px 2px var(--shadow) !important;
  align-items: stretch !important;
  overflow: hidden !important;
  cursor: pointer !important;
}

/* Lijevi container - slika + vrijeme overlay */
#sga-app .sga-event-media {
  position: relative !important;
  flex-shrink: 0 !important;
  width: 84px !important;
  min-width: 84px !important;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-lo) 100%) !important;
  overflow: hidden !important;
}
#sga-app .sga-event-media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}
#sga-app .sga-event-media-noimg {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 80px !important;
}
#sga-app .sga-event-media-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 44px !important;
  line-height: 1 !important;
  color: rgba(255,255,255,0.95) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.95) !important;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25)) !important;
}
#sga-app .sga-event-media-icon svg {
  width: 36px !important;
  height: 36px !important;
  stroke: rgba(255,255,255,0.95) !important;
  fill: none !important;
  stroke-width: 1.8 !important;
}
#sga-app .sga-event-media-emoji { font-size: 44px !important; }

/* Event location pin SVG inline */
#sga-app .sga-event-loc {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}
#sga-app .sga-event-loc svg {
  width: 13px !important;
  height: 13px !important;
  stroke: var(--muted) !important;
  fill: none !important;
  stroke-width: 2 !important;
  flex-shrink: 0 !important;
}

/* Vrijeme - overlay na vrhu slike */
#sga-app .sga-event-time-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 2 !important;
  padding: 6px 8px 9px !important;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.4) 70%,
    rgba(0,0,0,0) 100%) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1 !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5) !important;
  text-align: left !important;
}

/* Body - tekst desno */
#sga-app .sga-event-body {
  flex: 1 !important;
  min-width: 0 !important;
  padding: 11px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
#sga-app .sga-event-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
  line-height: 1.3 !important;
  margin-bottom: 4px !important;
  letter-spacing: -0.01em !important;
}
#sga-app .sga-event-loc,
#sga-app .sga-event-desc {
  font-size: 13px !important;
  color: var(--muted) !important;
  -webkit-text-fill-color: var(--muted) !important;
  line-height: 1.45 !important;
  margin-bottom: 2px !important;
}
#sga-app .sga-event-tags { margin-top: 6px !important; }
#sga-app .sga-event-chev { display:flex !important; align-items:center !important; padding:0 12px 0 4px !important; flex-shrink:0 !important; }
#sga-app .sga-event-chev svg { width:18px !important; height:18px !important; stroke:var(--soft) !important; fill:none !important; }

/* ── CAMP INFO trigger card ── */
#sga-app .sga-camp-info-sec { border-top:1px solid var(--border) !important; padding:16px 18px !important; }
#sga-app .sga-info-card { display:flex !important; align-items:center !important; gap:14px !important; width:100% !important; padding:16px !important; background:var(--card) !important; border:1px solid var(--border) !important; border-radius:16px !important; box-shadow:0 1px 3px var(--shadow) !important; cursor:pointer !important; text-align:left !important; }
#sga-app .sga-info-card-icon { width:44px !important; height:44px !important; border-radius:12px !important; background:var(--accent-bg) !important; display:flex !important; align-items:center !important; justify-content:center !important; flex-shrink:0 !important; }
#sga-app .sga-info-card-icon svg { width:22px !important; height:22px !important; stroke:var(--accent) !important; fill:none !important; }
#sga-app .sga-info-card-text { flex:1 !important; min-width:0 !important; }
#sga-app .sga-info-card-title { display:block !important; font-size:17px !important; font-weight:700 !important; color:var(--text) !important; -webkit-text-fill-color:var(--text) !important; letter-spacing:-0.02em !important; }
#sga-app .sga-info-card-sub { display:block !important; font-size:13px !important; color:var(--muted) !important; -webkit-text-fill-color:var(--muted) !important; margin-top:2px !important; }
#sga-app .sga-info-card-arrow { flex-shrink:0 !important; display:flex !important; align-items:center !important; }
#sga-app .sga-info-card-arrow svg { width:20px !important; height:20px !important; stroke:var(--soft) !important; fill:none !important; }
#sga-app .hidden { display: none !important; }
#sga-app .sga-events-empty {
  text-align: center !important;
  padding: 36px 20px !important;
  font-size: 14px !important;
  color: var(--muted) !important;
  -webkit-text-fill-color: var(--muted) !important;
  font-weight: 500 !important;
}

/* Old sga-event-time i sga-event-icon (nepotrebni sad - sakrij ako su) */
#sga-app .sga-event-time,
#sga-app .sga-event-icon { display: none !important; }

/* ── TABS ────────────────────────────────────────────────── */
#sga-app .sga-type-tabs, #sga-app .sga-prog-tabs {
  display: flex !important;
  gap: 8px !important;
  margin-bottom: 16px !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
}
#sga-app .sga-type-tabs::-webkit-scrollbar, #sga-app .sga-prog-tabs::-webkit-scrollbar { display: none !important; }
#sga-app .sga-type-tab, #sga-app .sga-prog-tab {
  flex: 0 0 auto !important;
  padding: 9px 16px !important;
  background: var(--bg2) !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--text2) !important;
  -webkit-text-fill-color: var(--text2) !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  white-space: nowrap !important;
}
#sga-app .sga-type-tab:hover, #sga-app .sga-prog-tab:hover { background: var(--bg3) !important; }
#sga-app .sga-type-tab.active, #sga-app .sga-prog-tab.active {
  background: var(--accent) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* ── WIFI BLOCK ──────────────────────────────────────────── */
#sga-app .sga-wifi-block {
  background: var(--accent) !important;
  border: 0 !important;
  border-radius: 14px !important;
  padding: 24px !important;
  text-align: center !important;
  position: relative !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: none !important;
}
#sga-app .sga-wifi-icon {
  width: 44px !important; height: 44px !important;
  margin: 0 auto 12px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  background: rgba(255,255,255,0.2) !important;
  border-radius: 12px !important;
  color: #fff !important;
  font-size: 22px !important;
}
#sga-app .sga-wifi-icon svg {
  width: 24px !important;
  height: 24px !important;
  stroke: #fff !important;
  fill: none !important;
  stroke-width: 2 !important;
}
#sga-app .sga-wifi-net {
  font-family: 'Inter', sans-serif !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  margin-bottom: 8px !important;
  letter-spacing: -0.02em !important;
}
#sga-app .sga-wifi-pass {
  font-family: 'SF Mono', Menlo, monospace !important;
  font-size: 15px !important;
  letter-spacing: 0.1em !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  padding: 10px 16px !important;
  background: rgba(255,255,255,0.18) !important;
  border-radius: 10px !important;
  display: inline-block !important;
  margin: 8px 0 12px !important;
  cursor: pointer !important;
  font-weight: 600 !important;
}
#sga-app .sga-wifi-copy {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 13px !important;
  color: rgba(255,255,255,0.9) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.9) !important;
  cursor: pointer !important;
  font-weight: 600 !important;
}

/* ── FOOTER (camp info, centered) ────────────────────────── */
#sga-app .sga-footer {
  text-align: center !important;
  padding: 40px 24px 36px !important;
  margin-top: 8px !important;
  border-top: 1px solid var(--border) !important;
}
#sga-app .sga-footer-mark {
  height: 56px !important;
  width: auto !important;
  margin: 0 auto 14px !important;
  display: block !important;
  opacity: 0.95 !important;
}
#sga-app .sga-footer-name {
  font-family: 'Inter', sans-serif !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
}
#sga-app .sga-footer-divider {
  width: 36px !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: var(--accent) !important;
  margin: 14px auto 18px !important;
}
#sga-app .sga-footer-info {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px !important;
}
#sga-app .sga-footer-line {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: var(--muted) !important;
  -webkit-text-fill-color: var(--muted) !important;
  text-decoration: none !important;
  max-width: 90% !important;
}
#sga-app .sga-footer-line svg {
  width: 15px !important; height: 15px !important;
  stroke: var(--accent) !important; fill: none !important; flex: 0 0 15px !important;
}
#sga-app .sga-footer-link { transition: color 0.15s !important; }
#sga-app .sga-footer-link:active,
#sga-app .sga-footer-link:hover {
  color: var(--accent) !important;
  -webkit-text-fill-color: var(--accent) !important;
}
#sga-app .sga-footer-copy {
  margin-top: 22px !important;
  font-size: 11.5px !important;
  color: var(--muted2, #9AA1AB) !important;
  -webkit-text-fill-color: var(--muted2, #9AA1AB) !important;
  letter-spacing: 0.02em !important;
}


/* ── VENUE IMAGE (na samostalnom mjestu) ─────────────────── */
#sga-app .sga-venue-img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  margin: 0 0 14px 0 !important;
  display: block !important;
}

/* ── LANG SWITCHER ───────────────────────────────────────── */
#sga-app .sga-lang-switcher { position: relative !important; display: inline-block !important; }
#sga-app .sga-lang-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 9px 14px !important;
  background: var(--bg2) !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
}
#sga-app .sga-lang-btn:hover { background: var(--bg3) !important; }
#sga-app .sga-lang-btn-open { background: var(--accent) !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }
#sga-app .sga-lang-flag { width: 20px !important; height: 14px !important; border-radius: 3px !important; object-fit: cover !important; }
#sga-app .sga-lang-caret { width: 12px !important; height: 12px !important; }
#sga-app .sga-lang-menu {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  right: 0 !important;
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  min-width: 160px !important;
  box-shadow: 0 8px 24px var(--shadow-lg) !important;
  z-index: 100 !important;
  overflow: hidden !important;
  padding: 6px !important;
}
#sga-app .sga-lang-menu button {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 10px 12px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 10px !important;
  text-align: left !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
  cursor: pointer !important;
  transition: background 0.15s !important;
}
#sga-app .sga-lang-menu button:hover { background: var(--bg2) !important; }
#sga-app .sga-lang-active {
  background: var(--accent-bg) !important;
  color: var(--accent) !important;
  -webkit-text-fill-color: var(--accent) !important;
}

/* ── PUSH BUTTON ─────────────────────────────────────────── */
#sga-app .sga-push-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 12px 22px !important;
  background: var(--accent) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: 0 !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background 0.15s !important;
  box-shadow: none !important;
}
#sga-app .sga-push-btn:hover { background: var(--accent-lo) !important; }
#sga-app .sga-push-on { background: var(--open) !important; }

/* ── iOS TIP ─────────────────────────────────────────────── */
#sga-app .sga-ios-tip {
  background: var(--text) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  padding: 18px 20px !important;
  border-radius: 14px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}
#sga-app .sga-ios-tip strong { color: var(--accent-hi) !important; -webkit-text-fill-color: var(--accent-hi) !important; font-weight: 700 !important; }
#sga-app .sga-ios-tip-arrow { color: var(--accent-hi) !important; }
#sga-app .sga-ios-share { display: inline-block !important; vertical-align: middle !important; }
#sga-app .sga-ios-tip-inner { font-size: 14px !important; font-weight: 500 !important; }

/* ── ACTIONS (Get Directions, Book Now, More Info) ──────── */
/* FLAT style + jednaka veličina: padding fiksan, flex 1 u footeru,
   visina 38px, tekst se skraćuje ako predugačak */
#sga-app .sga-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 38px !important;
  padding: 0 14px !important;
  background: var(--accent) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: 0 !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background 0.15s !important;
  letter-spacing: -0.01em !important;
  text-decoration: none !important;
  box-shadow: none !important;
  text-transform: none !important;
  font-family: 'Inter', sans-serif !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1 !important;
}
#sga-app .sga-action:hover { background: var(--accent-lo) !important; }
#sga-app .sga-action:active { background: var(--accent-lo) !important; transform: scale(0.98) !important; }
/* Sekundarni - outlined */
#sga-app .sga-action-dir {
  background: transparent !important;
  color: var(--accent) !important;
  -webkit-text-fill-color: var(--accent) !important;
  border: 1.5px solid var(--accent) !important;
}
#sga-app .sga-action-dir:hover {
  background: var(--accent-bg) !important;
  color: var(--accent) !important;
  -webkit-text-fill-color: var(--accent) !important;
}
#sga-app .sga-action-info {
  background: var(--accent) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
#sga-app .sga-action-book {
  background: var(--accent) !important;
}
/* Menu link - tercijarni stil (sivkasti) */
#sga-app .sga-action-menu {
  background: var(--bg2) !important;
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
  border: 0 !important;
}
#sga-app .sga-action-menu:hover {
  background: var(--bg3) !important;
}

/* Card footer - svi buttoni jednake širine */
#sga-app .sga-card-footer {
  display: flex !important;
  align-items: stretch !important;
  gap: 8px !important;
  margin-top: 14px !important;
  padding-top: 14px !important;
  border-top: 1px solid var(--border) !important;
}
#sga-app .sga-card-footer .sga-action {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  padding: 0 10px !important;
  font-size: 12.5px !important;
}

/* ── BOTTOM NAV (mobilni) ────────────────────────────────── */
#sga-bottom-nav {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 95 !important;
  background: rgba(255,255,255,0.96) !important;
  -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
  backdrop-filter: saturate(180%) blur(20px) !important;
  border-top: 1px solid var(--border) !important;
  padding: 8px 8px calc(env(safe-area-inset-bottom, 0) + 8px) !important;
  display: flex !important;
  justify-content: space-around !important;
  align-items: center !important;
  max-width: 460px !important;
  margin: 0 auto !important;
  box-shadow: none !important;
  font-family: 'Inter', sans-serif !important;
  box-sizing: border-box !important;
}
#sga-bottom-nav * { box-sizing: border-box !important; }
.sga-bn-btn {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  padding: 8px 4px !important;
  background: transparent !important;
  border: 0 !important;
  cursor: pointer !important;
  color: var(--muted) !important;
  -webkit-text-fill-color: var(--muted) !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
  font-family: 'Inter', sans-serif !important;
  border-radius: 10px !important;
  min-height: 56px !important;
  min-width: 0 !important;
}
.sga-bn-btn:hover { color: var(--text2) !important; -webkit-text-fill-color: var(--text2) !important; }
.sga-bn-btn.active { color: var(--accent) !important; -webkit-text-fill-color: var(--accent) !important; }
.sga-bn-icon {
  font-size: 22px !important;
  line-height: 1 !important;
  display: block !important;
}
.sga-bn-icon svg {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
}
.sga-bn-label {
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* ── HELPERS ─────────────────────────────────────────────── */
#sga-app .sga-up { text-transform: uppercase; letter-spacing: 0.04em; }
#sga-app .sga-no-icons .sga-feat-icon,
#sga-app .sga-no-icons .sga-card-icon { display: none !important; }

/* ── USEFUL SERVICES LIST ────────────────────────────────── */
.sga-acc-intro {
  font-size: 13px !important;
  color: var(--muted) !important;
  margin: 0 0 14px 0 !important;
  line-height: 1.5 !important;
}
.sga-services-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}
.sga-service-item {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 12px !important;
  background: var(--bg2) !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  transition: background 0.15s !important;
  cursor: pointer !important;
}
.sga-service-item:hover { background: var(--bg3) !important; }
.sga-service-item:active { background: var(--bg3) !important; transform: scale(0.99) !important; }
.sga-service-icon {
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--card) !important;
  border-radius: 10px !important;
  flex-shrink: 0 !important;
  font-size: 22px !important;
  line-height: 1 !important;
}
.sga-service-body { flex: 1 !important; min-width: 0 !important; }
.sga-service-name {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
  letter-spacing: -0.01em !important;
  line-height: 1.3 !important;
  margin-bottom: 3px !important;
}
.sga-service-meta {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12px !important;
  color: var(--accent) !important;
  -webkit-text-fill-color: var(--accent) !important;
  font-weight: 600 !important;
  margin-bottom: 2px !important;
}
.sga-service-cat { color: var(--accent) !important; -webkit-text-fill-color: var(--accent) !important; }
.sga-service-dot { color: var(--muted) !important; -webkit-text-fill-color: var(--muted) !important; }
.sga-service-dist { color: var(--muted) !important; -webkit-text-fill-color: var(--muted) !important; font-weight: 500 !important; }
.sga-service-addr {
  font-size: 12px !important;
  color: var(--muted) !important;
  -webkit-text-fill-color: var(--muted) !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
}
.sga-service-arrow {
  width: 22px !important;
  height: 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--muted) !important;
  flex-shrink: 0 !important;
}
.sga-service-arrow svg { width: 18px !important; height: 18px !important; }

/* ── VENUE DETAIL MODAL (fullscreen) ─────────────────────── */
.sga-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 200 !important;
  pointer-events: none !important;
  opacity: 0 !important;
  transition: opacity 0.25s ease !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
.sga-modal.is-open {
  pointer-events: auto !important;
  opacity: 1 !important;
}
.sga-modal * { box-sizing: border-box !important; }
.sga-modal-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(10,14,20,0.55) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  backdrop-filter: blur(4px) !important;
}
.sga-modal-panel {
  position: absolute !important;
  inset: 0 !important;
  background: #FFFFFF !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  max-width: 100% !important;
  width: 100% !important;
  transform: translateY(100%) !important;
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1) !important;
}
.sga-modal.is-open .sga-modal-panel {
  transform: translateY(0) !important;
}
@media (min-width: 600px) {
  .sga-modal-panel {
    max-width: 520px !important;
    margin: 0 auto !important;
    border-radius: 18px 18px 0 0 !important;
    top: 32px !important;
  }
}
.sga-modal-close {
  position: fixed !important;
  top: 16px !important;
  right: 16px !important;
  z-index: 210 !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.95) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
  border: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #0A0E14 !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(10,14,20,0.15) !important;
  transition: background 0.15s !important;
}
.sga-modal-close:hover { background: #FFFFFF !important; }
.sga-modal-close svg { width: 18px !important; height: 18px !important; }
.sga-modal-content { padding: 0 !important; }
.sga-modal-hero {
  position: relative !important;
  width: 100% !important;
  height: 280px !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #0050D6 0%, #003BA3 100%) !important;
}
.sga-modal-hero img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.sga-modal-hero-fade {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.75) 100%) !important;
}
.sga-modal-hero-title {
  position: absolute !important;
  left: 20px !important;
  right: 70px !important;
  bottom: 18px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  letter-spacing: -0.03em !important;
  line-height: 1.15 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4) !important;
}
.sga-modal-hero-noimg {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  height: 200px !important;
  padding: 0 20px !important;
  background: linear-gradient(135deg, var(--accent, #0050D6) 0%, var(--accent-lo, #003BA3) 100%) !important;
}
.sga-modal-hero-icon {
  font-size: 60px !important;
  line-height: 1 !important;
  margin-bottom: 12px !important;
}
.sga-modal-hero-icon svg { width: 56px !important; height: 56px !important; stroke: #fff !important; fill: none !important; }
.sga-modal-hero-title-light {
  position: static !important;
  text-align: center !important;
  text-shadow: none !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  left: auto !important; right: auto !important; bottom: auto !important;
}
.sga-modal-body {
  padding: 22px 20px 40px !important;
  color: #1A2030 !important;
  -webkit-text-fill-color: #1A2030 !important;
}
.sga-modal-desc {
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: #1A2030 !important;
  -webkit-text-fill-color: #1A2030 !important;
  margin: 0 0 14px 0 !important;
  font-weight: 400 !important;
}
.sga-modal-status-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin-bottom: 12px !important;
  font-size: 13px !important;
  color: #6B7280 !important;
  -webkit-text-fill-color: #6B7280 !important;
  font-weight: 500 !important;
}
.sga-modal-status-row .sga-hours { font-size: 13px !important; color: #6B7280 !important; -webkit-text-fill-color: #6B7280 !important; }
.sga-modal-tags { margin-bottom: 22px !important; }
.sga-modal-tags .sga-tag {
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  background: #F5F7FA !important;
  color: #1A2030 !important;
  -webkit-text-fill-color: #1A2030 !important;
}
.sga-modal-tags .sga-tag-paid {
  background: rgba(234,88,12,0.12) !important;
  color: #EA580C !important;
  -webkit-text-fill-color: #EA580C !important;
}
.sga-modal-tags .sga-tag-free {
  background: rgba(22,163,74,0.12) !important;
  color: #16A34A !important;
  -webkit-text-fill-color: #16A34A !important;
}
.sga-modal-details {
  border-top: 1px solid #E5E8EC !important;
  margin-bottom: 22px !important;
}
.sga-modal-row {
  padding: 14px 0 !important;
  border-bottom: 1px solid #E5E8EC !important;
}
.sga-modal-row-label {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #6B7280 !important;
  -webkit-text-fill-color: #6B7280 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  margin-bottom: 4px !important;
}
.sga-modal-row-value {
  font-size: 15px !important;
  color: #0A0E14 !important;
  -webkit-text-fill-color: #0A0E14 !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
}
.sga-modal-row-value a {
  color: #0050D6 !important;
  -webkit-text-fill-color: #0050D6 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
.sga-modal-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.sga-modal-actions .sga-action {
  flex: 1 !important;
  height: 48px !important;
  padding: 0 18px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #0050D6 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: 0 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background 0.15s !important;
  box-shadow: none !important;
  font-family: 'Inter', sans-serif !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.sga-modal-actions .sga-action:hover { background: #003BA3 !important; }
.sga-modal-actions .sga-action { gap: 9px !important; }
.sga-modal-actions .sga-action svg { width: 19px !important; height: 19px !important; flex: 0 0 19px !important; }
.sga-modal-actions .sga-action span { overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
.sga-modal-actions .sga-action-dir {
  background: transparent !important;
  color: #0050D6 !important;
  -webkit-text-fill-color: #0050D6 !important;
  border: 1.5px solid #0050D6 !important;
}
.sga-modal-actions .sga-action-dir:hover {
  background: #E5EFFE !important;
  color: #0050D6 !important;
  -webkit-text-fill-color: #0050D6 !important;
}
/* Call & Website: light secondary */
.sga-modal-actions .sga-action-call,
.sga-modal-actions .sga-action-web {
  background: var(--bg2, #F5F7FA) !important;
  color: var(--text, #0A0E14) !important;
  -webkit-text-fill-color: var(--text, #0A0E14) !important;
  border: 1px solid var(--border, #E5E8EC) !important;
}
.sga-modal-actions .sga-action-call:hover,
.sga-modal-actions .sga-action-web:hover { background: var(--bg3, #EBEEF2) !important; }
.sga-modal-actions .sga-action-menu {
  background: var(--accent, #0050D6) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: 0 !important;
  gap: 9px !important;
}
.sga-modal-actions .sga-action-menu:hover { background: var(--accent-lo, #003BA3) !important; }
.sga-modal-actions .sga-action-menu svg { width: 19px !important; height: 19px !important; flex: 0 0 19px !important; }
.sga-modal-actions .sga-action-menu span { overflow: hidden !important; text-overflow: ellipsis !important; }

/* Drag handle (grip) for the bottom-sheet modal */
.sga-modal-grip {
  position: absolute !important;
  top: 8px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 120px !important;
  height: 22px !important;
  z-index: 215 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: grab !important;
  touch-action: none !important;
}
.sga-modal-grip::before {
  content: "" !important;
  width: 44px !important;
  height: 5px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.9) !important;
  box-shadow: 0 1px 3px rgba(10,14,20,0.25) !important;
}
/* When the hero has no image the grip sits on a light bg → darken it */
.sga-modal-hero-noimg ~ * .sga-modal-grip::before,
.sga-modal-panel:has(.sga-modal-hero-noimg) .sga-modal-grip::before {
  background: rgba(10,14,20,0.2) !important;
}

/* Safe-area: keep modal content clear of the iPhone home indicator */
.sga-modal-body { padding-bottom: calc(28px + env(safe-area-inset-bottom)) !important; }

/* Bottom-nav active state: subtle accent pill + icon lift */
.sga-bn-btn { position: relative !important; transition: color .2s, transform .15s !important; }
.sga-bn-btn .sga-bn-icon { transition: transform .18s cubic-bezier(.34,1.56,.64,1) !important; }
.sga-bn-btn.active .sga-bn-icon { transform: translateY(-1px) scale(1.08) !important; }
.sga-bn-btn.active::before {
  content: "" !important;
  position: absolute !important;
  top: 6px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 34px !important;
  height: 30px !important;
  border-radius: 10px !important;
  background: var(--accent-bg, #E5EFFE) !important;
}
.sga-bn-btn:active { transform: scale(0.94) !important; }

/* ── FOOD ORDER MODAL ────────────────────────────────────── */
#sga-food-modal .sga-food-head {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: calc(env(safe-area-inset-top) + 30px) 22px 20px !important;
  background: linear-gradient(135deg, var(--accent, #0050D6) 0%, var(--accent-lo, #003BA3) 100%) !important;
}
#sga-food-modal .sga-food-head-icon {
  width: 52px !important; height: 52px !important; flex: 0 0 52px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  background: rgba(255,255,255,0.16) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  border-radius: 15px !important;
}
#sga-food-modal .sga-food-head-icon svg { width: 28px !important; height: 28px !important; stroke: #fff !important; fill: none !important; }
#sga-food-modal .sga-food-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 22px !important; font-weight: 800 !important; letter-spacing: -0.02em !important;
  color: #fff !important; -webkit-text-fill-color: #fff !important;
  line-height: 1.2 !important;
  display: flex !important; align-items: center !important; flex-wrap: wrap !important; gap: 8px !important;
}
#sga-food-modal .sga-food-badge {
  display: inline-block !important;
  font-size: 11px !important; font-weight: 700 !important;
  padding: 4px 10px !important; border-radius: 999px !important;
  background: rgba(255,255,255,0.95) !important; color: var(--accent, #0050D6) !important; -webkit-text-fill-color: var(--accent, #0050D6) !important;
  letter-spacing: 0.03em !important; text-transform: uppercase !important;
}
#sga-food-modal .sga-food-intro {
  font-size: 14px !important; line-height: 1.55 !important;
  color: var(--muted, #6B7280) !important; -webkit-text-fill-color: var(--muted, #6B7280) !important;
  margin-bottom: 18px !important;
}
#sga-food-modal .sga-food-intro p { margin: 0 0 8px !important; }
#sga-food-modal .sga-food-form { font-size: 15px !important; }
/* Make common form controls inside the shortcode look at home on mobile */
#sga-food-modal .sga-food-form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
#sga-food-modal .sga-food-form select,
#sga-food-modal .sga-food-form textarea {
  width: 100% !important; box-sizing: border-box !important;
  font-size: 16px !important; /* prevents iOS zoom on focus */
  padding: 12px 14px !important; border-radius: 12px !important;
  border: 1px solid var(--border, #ECEEF1) !important; background: #fff !important;
  margin-bottom: 12px !important;
}
#sga-food-modal .sga-food-form button,
#sga-food-modal .sga-food-form input[type=submit] {
  cursor: pointer !important;
}
/* Style the (third-party shortcode) order button consistently — theme may render it
   unstyled or dark-on-dark, and it can appear dynamically after picking the pitch.
   Scoped to button-like elements only, so the select / labels / Terms text stay dark. */
#sga-food-modal .sga-food-body button:not(.sga-modal-grip):not([type=checkbox]):not([type=radio]),
#sga-food-modal .sga-food-body button:not(.sga-modal-grip) *,
#sga-food-modal .sga-food-body input[type=submit],
#sga-food-modal .sga-food-body input[type=button],
#sga-food-modal .sga-food-body a.button,
#sga-food-modal .sga-food-body a.btn,
#sga-food-modal .sga-food-body a[class*="order"],
#sga-food-modal .sga-food-body a[class*="submit"],
#sga-food-modal .sga-food-body a[class*="checkout"],
#sga-food-modal .sga-food-body .button,
#sga-food-modal .sga-food-body .button *,
#sga-food-modal .sga-food-body .btn,
#sga-food-modal .sga-food-body .btn *,
#sga-food-modal .sga-food-body [class*="btn"],
#sga-food-modal .sga-food-body [class*="btn"] *,
#sga-food-modal .sga-food-body [class*="button"],
#sga-food-modal .sga-food-body [class*="button"] *,
#sga-food-modal .sga-food-body [role=button] {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
/* Give those buttons a visible accent background so white text always has contrast */
#sga-food-modal .sga-food-body button:not(.sga-modal-grip):not([type=checkbox]):not([type=radio]),
#sga-food-modal .sga-food-body input[type=submit],
#sga-food-modal .sga-food-body input[type=button],
#sga-food-modal .sga-food-body a.button,
#sga-food-modal .sga-food-body a.btn,
#sga-food-modal .sga-food-body a[class*="order"],
#sga-food-modal .sga-food-body a[class*="submit"],
#sga-food-modal .sga-food-body a[class*="checkout"],
#sga-food-modal .sga-food-body .button,
#sga-food-modal .sga-food-body .btn,
#sga-food-modal .sga-food-body [class*="btn"],
#sga-food-modal .sga-food-body [class*="button"],
#sga-food-modal .sga-food-body [role=button] {
  background: var(--accent, #0050D6) !important;
  background-image: none !important;
  border: 0 !important; border-radius: 12px !important;
  padding: 13px 18px !important; font-weight: 700 !important;
  box-shadow: none !important; text-decoration: none !important;
}

/* ── MENU MODAL (iframe) ─────────────────────────────────── */
.sga-menu-modal .sga-modal-panel {
  top: 0 !important;
  height: 100% !important;
  max-height: none !important;
  border-radius: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  background: #fff !important;
}
.sga-menu-bar {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex: 0 0 auto !important;
  height: calc(54px + env(safe-area-inset-top)) !important;
  padding: env(safe-area-inset-top) 8px 0 !important;
  border-bottom: 1px solid var(--border, #E5E8EC) !important;
  background: #fff !important;
}
.sga-menu-back, .sga-menu-close {
  width: 48px !important; height: 48px !important; flex: 0 0 48px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  border: none !important; border-radius: 13px !important; cursor: pointer !important;
  background: var(--bg2, #F5F7FA) !important; color: var(--text, #0A0E14) !important;
}
.sga-menu-back svg, .sga-menu-close svg { width: 24px !important; height: 24px !important; }
.sga-menu-title {
  flex: 1 1 auto !important; text-align: center !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important; font-size: 16px !important;
  color: var(--text, #0A0E14) !important;
  white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important;
}
.sga-menu-frame {
  flex: 1 1 auto !important;
  width: 100% !important;
  border: 0 !important;
  background: #fff !important;
  display: block !important;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 360px) {
  #sga-app .sga-section { padding: 24px 16px !important; }
  #sga-app .sga-featured-grid { gap: 10px !important; }
  #sga-app .sga-feat-title { font-size: 15px !important; }
  #sga-app .sga-feat-icon { width: 46px !important; height: 46px !important; }
  #sga-app .sga-sec-title { font-size: 28px !important; }
  #sga-app .sga-logo-text { font-size: 30px !important; }
  #sga-app .sga-card-image img, #sga-app .sga-venue-img { height: 160px !important; }
}

/* ── PRINT ───────────────────────────────────────────────── */
@media print {
  #sga-app { background: white !important; max-width: none !important; padding-bottom: 0 !important; }
  #sga-app .sga-hero, #sga-app .sga-nav, #sga-bottom-nav { display: none !important; }
}

/* ════════════════════════ AI CHAT (concierge) ════════════════════════ */
#sga-ai-fab {
  position: fixed !important;
  right: 16px !important;
  bottom: calc(74px + env(safe-area-inset-bottom)) !important; /* iznad bottom nav-a */
  z-index: 190 !important;
  width: 56px !important; height: 56px !important;
  border: none !important; border-radius: 50% !important;
  background: var(--accent, #0050D6) !important; color: #fff !important;
  box-shadow: 0 6px 20px rgba(0,80,214,0.45) !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  cursor: pointer !important; padding: 0 !important;
}
#sga-ai-fab svg { width: 26px !important; height: 26px !important; stroke: #fff !important; fill: none !important; }
#sga-ai-fab:active { transform: scale(0.94) !important; }

#sga-ai-modal .sga-ai-panel {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  background: var(--bg2, #F5F7FA) !important;
}
.sga-ai-head {
  flex: 0 0 auto !important;
  display: flex !important; align-items: center !important; gap: 10px !important;
  padding: calc(14px + env(safe-area-inset-top)) 14px 14px !important;
  background: var(--accent, #0050D6) !important; color: #fff !important;
}
.sga-ai-head-icon { display: flex !important; }
.sga-ai-head-icon svg { width: 24px !important; height: 24px !important; stroke: #fff !important; fill: none !important; }
.sga-ai-head-title {
  flex: 1 1 auto !important; font-weight: 700 !important; font-size: 17px !important;
  color: #fff !important; -webkit-text-fill-color: #fff !important;
}
.sga-ai-close {
  width: 36px !important; height: 36px !important; flex: 0 0 36px !important;
  border: none !important; border-radius: 50% !important; cursor: pointer !important;
  background: rgba(255,255,255,0.18) !important; color: #fff !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
}
.sga-ai-close svg { width: 18px !important; height: 18px !important; stroke: #fff !important; }

.sga-ai-msgs {
  flex: 1 1 auto !important;
  overflow-y: auto !important; -webkit-overflow-scrolling: touch !important;
  padding: 16px 14px !important;
  display: flex !important; flex-direction: column !important; gap: 10px !important;
}
.sga-ai-row { display: flex !important; }
.sga-ai-row.sga-ai-user { justify-content: flex-end !important; }
.sga-ai-row.sga-ai-assistant { justify-content: flex-start !important; }
.sga-ai-bubble {
  max-width: 82% !important;
  padding: 10px 14px !important;
  border-radius: 16px !important;
  font-size: 15px !important; line-height: 1.45 !important;
  word-wrap: break-word !important; white-space: normal !important;
}
.sga-ai-user .sga-ai-bubble {
  background: var(--accent, #0050D6) !important; color: #fff !important;
  -webkit-text-fill-color: #fff !important; border-bottom-right-radius: 5px !important;
}
.sga-ai-assistant .sga-ai-bubble {
  background: #fff !important; color: var(--text, #0A0E14) !important;
  border: 1px solid var(--border, #ECEEF1) !important; border-bottom-left-radius: 5px !important;
}
.sga-ai-bubble strong { font-weight: 700 !important; }
.sga-ai-bubble-error { background: #FDECEC !important; color: #B42318 !important; border-color: #F5C6C2 !important; }

.sga-ai-typing { display: flex !important; gap: 4px !important; align-items: center !important; }
.sga-ai-typing span {
  width: 7px !important; height: 7px !important; border-radius: 50% !important;
  background: #B9C0CC !important; display: inline-block !important;
  animation: sgaAiBlink 1.2s infinite ease-in-out both !important;
}
.sga-ai-typing span:nth-child(2) { animation-delay: 0.2s !important; }
.sga-ai-typing span:nth-child(3) { animation-delay: 0.4s !important; }
@keyframes sgaAiBlink { 0%,80%,100% { opacity: 0.3; } 40% { opacity: 1; } }

.sga-ai-inputbar {
  flex: 0 0 auto !important;
  display: flex !important; align-items: flex-end !important; gap: 8px !important;
  padding: 10px 12px !important;
  background: #fff !important; border-top: 1px solid var(--border, #ECEEF1) !important;
}
.sga-ai-inputbar textarea {
  flex: 1 1 auto !important; resize: none !important;
  border: 1px solid var(--border, #ECEEF1) !important; border-radius: 18px !important;
  padding: 10px 14px !important; font-size: 16px !important; line-height: 1.4 !important;
  font-family: inherit !important; max-height: 120px !important; background: var(--bg2, #F5F7FA) !important;
  color: var(--text, #0A0E14) !important;
}
#sga-ai-send {
  flex: 0 0 44px !important; width: 44px !important; height: 44px !important;
  border: none !important; border-radius: 50% !important; cursor: pointer !important;
  background: var(--accent, #0050D6) !important; color: #fff !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
}
#sga-ai-send:disabled { opacity: 0.5 !important; }
#sga-ai-send svg { width: 20px !important; height: 20px !important; stroke: #fff !important; fill: none !important; }
.sga-ai-disclaimer {
  flex: 0 0 auto !important; background: #fff !important;
  padding: 0 14px calc(10px + env(safe-area-inset-bottom)) !important;
  font-size: 11px !important; color: var(--muted, #9AA1AB) !important; text-align: center !important;
}

/* AI chat — quick suggestion chips */
.sga-ai-chips {
  display: flex !important; flex-wrap: wrap !important; gap: 8px !important;
  margin-top: 2px !important; padding-bottom: 2px !important;
}
.sga-ai-chip {
  border: 1px solid var(--accent, #0050D6) !important;
  background: #fff !important; color: var(--accent, #0050D6) !important;
  -webkit-text-fill-color: var(--accent, #0050D6) !important;
  border-radius: 999px !important; padding: 7px 13px !important;
  font-size: 13px !important; font-family: inherit !important;
  line-height: 1.2 !important; cursor: pointer !important;
  white-space: normal !important; text-align: left !important;
}
.sga-ai-chip:active { background: var(--accent, #0050D6) !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }

/* ════════════════════════ GUEST NOTIFICATIONS ════════════════════════ */
#sga-notif-modal .sga-notif-panel { display: flex !important; flex-direction: column !important; overflow: hidden !important; background: var(--bg2, #F5F7FA) !important; }
.sga-notif-head {
  flex: 0 0 auto !important; display: flex !important; align-items: center !important;
  padding: calc(14px + env(safe-area-inset-top)) 14px 14px !important;
  background: var(--accent, #0050D6) !important; color: #fff !important;
}
.sga-notif-head-title { flex: 1 1 auto !important; font-weight: 700 !important; font-size: 17px !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }
.sga-notif-close {
  width: 36px !important; height: 36px !important; flex: 0 0 36px !important; border: none !important;
  border-radius: 50% !important; cursor: pointer !important; background: rgba(255,255,255,0.18) !important;
  color: #fff !important; display: flex !important; align-items: center !important; justify-content: center !important;
}
.sga-notif-close svg { width: 18px !important; height: 18px !important; stroke: #fff !important; }

.sga-notif-stay { flex: 0 0 auto !important; background: #fff !important; padding: 14px !important; border-bottom: 1px solid var(--border, #ECEEF1) !important; }
.sga-notif-stay-title { font-weight: 700 !important; font-size: 15px !important; color: var(--text, #0A0E14) !important; }
.sga-notif-stay-sub { margin: 3px 0 10px !important; font-size: 12.5px !important; color: var(--muted, #9AA1AB) !important; }
.sga-notif-stay-row { display: flex !important; gap: 10px !important; }
.sga-notif-stay-row label { flex: 1 1 0 !important; display: flex !important; flex-direction: column !important; font-size: 12px !important; color: var(--muted, #9AA1AB) !important; gap: 4px !important; }
.sga-notif-stay-row input { border: 1px solid var(--border, #ECEEF1) !important; border-radius: 10px !important; padding: 9px 10px !important; font-size: 15px !important; font-family: inherit !important; background: var(--bg2, #F5F7FA) !important; color: var(--text, #0A0E14) !important; }
.sga-notif-stay-actions { display: flex !important; align-items: center !important; gap: 10px !important; margin-top: 10px !important; }
.sga-notif-btn { border: none !important; border-radius: 10px !important; padding: 9px 16px !important; background: var(--accent, #0050D6) !important; color: #fff !important; font-size: 14px !important; font-weight: 600 !important; cursor: pointer !important; font-family: inherit !important; }
.sga-notif-btn-ghost { border: none !important; background: transparent !important; color: var(--muted, #9AA1AB) !important; font-size: 13px !important; cursor: pointer !important; font-family: inherit !important; }
.sga-notif-stay-label { margin-top: 10px !important; font-size: 13px !important; font-weight: 600 !important; color: var(--accent, #0050D6) !important; }

.sga-notif-feed { flex: 1 1 auto !important; overflow-y: auto !important; -webkit-overflow-scrolling: touch !important; padding: 12px 14px !important; display: flex !important; flex-direction: column !important; gap: 10px !important; }
.sga-notif-empty { text-align: center !important; color: var(--muted, #9AA1AB) !important; font-size: 14px !important; padding: 30px 16px !important; }
.sga-notif-item { display: flex !important; gap: 12px !important; background: #fff !important; border: 1px solid var(--border, #ECEEF1) !important; border-radius: 14px !important; padding: 12px 14px !important; }
.sga-notif-item.sga-notif-important { border-left: 4px solid #E5484D !important; }
.sga-notif-item-icon { flex: 0 0 36px !important; width: 36px !important; height: 36px !important; border-radius: 50% !important; background: var(--bg2, #F5F7FA) !important; display: flex !important; align-items: center !important; justify-content: center !important; }
.sga-notif-item-icon svg { width: 19px !important; height: 19px !important; stroke: var(--accent, #0050D6) !important; fill: none !important; }
.sga-notif-important .sga-notif-item-icon svg { stroke: #E5484D !important; }
.sga-notif-item-body { flex: 1 1 auto !important; min-width: 0 !important; }
.sga-notif-item-title { font-weight: 700 !important; font-size: 15px !important; color: var(--text, #0A0E14) !important; }
.sga-notif-item-meta { font-size: 12px !important; color: var(--accent, #0050D6) !important; font-weight: 600 !important; margin-top: 2px !important; }
.sga-notif-item-msg { font-size: 13.5px !important; color: var(--muted, #6B7280) !important; margin-top: 4px !important; line-height: 1.45 !important; }
.sga-notif-item-link { display: inline-block !important; margin-top: 6px !important; font-size: 13px !important; font-weight: 600 !important; color: var(--accent, #0050D6) !important; text-decoration: none !important; }

#sga-app .sga-notif-btn.sga-push-on-btn,
.sga-notif-btn.sga-push-on-btn { background: var(--open, #1a7f37) !important; }

/* ───────── Bottom-nav: AI / Alerts / Profile ───────── */
#sga-ai-fab { display: none !important; }
#sga-bottom-nav .sga-bn-btn { overflow: visible !important; position: relative !important; }
#sga-bottom-nav .sga-bn-icon { position: relative !important; overflow: visible !important; }
#sga-bottom-nav .sga-notif-badge {
  position: absolute !important; top: -8px !important; right: -12px !important;
  min-width: 18px !important; height: 18px !important; padding: 0 5px !important;
  border-radius: 9px !important; background: #E5484D !important;
  color: #fff !important; -webkit-text-fill-color: #fff !important;
  font-size: 11px !important; font-weight: 700 !important; line-height: 18px !important;
  text-align: center !important; box-shadow: 0 0 0 2px #fff !important;
  font-family: 'Inter', sans-serif !important; pointer-events: none !important; z-index: 2 !important;
}
.sga-news-row { display: flex !important; gap: 8px !important; }
.sga-news-row input {
  flex: 1 1 auto !important; min-width: 0 !important; border: 1px solid var(--border, #ECEEF1) !important;
  border-radius: 10px !important; padding: 9px 10px !important; font-size: 15px !important;
  font-family: inherit !important; background: var(--bg2, #F5F7FA) !important; color: var(--text, #0A0E14) !important;
}
.sga-news-row .sga-notif-btn { flex: 0 0 auto !important; }

/* ═══════════════════ ONBOARDING (first-open pop-up) ═══════════════════ */
.sga-onboard {
  position: fixed !important; inset: 0 !important; z-index: 999 !important;
  display: none !important; align-items: center !important; justify-content: center !important;
  padding: 20px !important; background: rgba(10,14,20,0.55) !important;
  -webkit-backdrop-filter: blur(4px) !important; backdrop-filter: blur(4px) !important;
}
.sga-onboard.is-open { display: flex !important; }
.sga-onboard-panel {
  position: relative !important; width: 100% !important; max-width: 380px !important;
  background: #fff !important; border-radius: 22px !important;
  box-shadow: 0 20px 60px rgba(10,14,20,0.35) !important; padding: 28px 22px 20px !important;
  font-family: 'Inter', sans-serif !important; max-height: 92vh !important; overflow-y: auto !important;
}
.sga-onboard-x {
  position: absolute !important; top: 12px !important; right: 12px !important;
  width: 34px !important; height: 34px !important; border: none !important; border-radius: 50% !important;
  background: var(--bg2, #F5F7FA) !important; color: var(--muted, #9AA1AB) !important;
  display: flex !important; align-items: center !important; justify-content: center !important; cursor: pointer !important;
}
.sga-onboard-x svg { width: 18px !important; height: 18px !important; }
.sga-onboard-body { text-align: center !important; }
.sga-onboard-icon {
  width: 64px !important; height: 64px !important; margin: 2px auto 14px !important; border-radius: 18px !important;
  background: var(--accent-lo, #eaf0ff) !important; color: var(--accent, #0050D6) !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
}
.sga-onboard-icon svg { width: 32px !important; height: 32px !important; }
.sga-onboard-title { font-size: 21px !important; font-weight: 800 !important; color: var(--text, #0A0E14) !important; margin: 0 0 6px !important; letter-spacing: -0.02em !important; }
.sga-onboard-sub { font-size: 14px !important; color: var(--muted, #6B7280) !important; margin: 0 0 18px !important; line-height: 1.45 !important; }
.sga-onboard-dates { display: flex !important; gap: 10px !important; margin-bottom: 14px !important; }
.sga-onboard-dates label { flex: 1 1 0 !important; min-width: 0 !important; display: flex !important; flex-direction: column !important; gap: 4px !important; font-size: 12px !important; color: var(--muted, #9AA1AB) !important; text-align: left !important; }
.sga-onboard-dates input { border: 1px solid var(--border, #ECEEF1) !important; border-radius: 12px !important; padding: 11px 12px !important; font-size: 15px !important; font-family: inherit !important; background: var(--bg2, #F5F7FA) !important; color: var(--text, #0A0E14) !important; }
.sga-onboard-check { display: flex !important; gap: 10px !important; align-items: flex-start !important; text-align: left !important; font-size: 13.5px !important; color: var(--text2, #374151) !important; background: var(--bg2, #F5F7FA) !important; border-radius: 12px !important; padding: 12px 14px !important; cursor: pointer !important; margin-bottom: 14px !important; line-height: 1.4 !important; }
.sga-onboard-check input { margin: 2px 0 0 !important; width: 18px !important; height: 18px !important; flex: 0 0 auto !important; accent-color: var(--accent, #0050D6) !important; }
.sga-onboard-status { font-size: 13px !important; color: var(--accent, #0050D6) !important; margin-bottom: 12px !important; font-weight: 600 !important; }
.sga-onboard-primary { width: 100% !important; border: none !important; border-radius: 12px !important; background: var(--accent, #0050D6) !important; color: #fff !important; -webkit-text-fill-color: #fff !important; font-size: 16px !important; font-weight: 700 !important; padding: 14px !important; cursor: pointer !important; font-family: inherit !important; }
.sga-onboard-skip { display: block !important; width: 100% !important; border: none !important; background: transparent !important; color: var(--muted, #9AA1AB) !important; font-size: 14px !important; padding: 12px !important; margin-top: 2px !important; cursor: pointer !important; font-family: inherit !important; }

.sga-onboard-logo { margin: 2px auto 16px !important; display: flex !important; justify-content: center !important; }
.sga-onboard-logo img { max-height: 76px !important; max-width: 80% !important; width: auto !important; height: auto !important; object-fit: contain !important; }

/* Camp-info modal: kontakt blok (premješteno iz footera) */
.sga-modal-contact { margin-top: 18px !important; padding-top: 16px !important; border-top: 1px solid var(--border, #ECEEF1) !important; text-align: center !important; }
.sga-contact-line { display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; padding: 7px 0 !important; font-size: 15px !important; color: var(--text2, #374151) !important; text-decoration: none !important; }
.sga-contact-line svg { stroke: var(--accent, #0050D6) !important; flex: 0 0 auto !important; }
.sga-contact-link { -webkit-text-fill-color: var(--text2, #374151) !important; }
.sga-contact-copy { margin-top: 12px !important; font-size: 13px !important; color: var(--muted, #9AA1AB) !important; }

/* ───────── Profile accordion ───────── */
.sga-profile-acc { flex: 1 1 auto !important; overflow-y: auto !important; -webkit-overflow-scrolling: touch !important; background: var(--bg2, #F5F7FA) !important; }
.sga-acc { background: #fff !important; border-bottom: 1px solid var(--border, #ECEEF1) !important; }
.sga-acc-head { list-style: none !important; cursor: pointer !important; display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 10px !important; padding: 16px !important; font-weight: 700 !important; font-size: 15.5px !important; color: var(--text, #0A0E14) !important; -webkit-tap-highlight-color: transparent !important; }
.sga-acc-head::-webkit-details-marker { display: none !important; }
.sga-acc-chev { width: 18px !important; height: 18px !important; flex: 0 0 auto !important; color: var(--muted, #9AA1AB) !important; stroke: var(--muted, #9AA1AB) !important; transition: transform 0.2s ease !important; }
.sga-acc[open] .sga-acc-chev { transform: rotate(180deg) !important; }
.sga-acc-body { padding: 0 16px 16px !important; }
.sga-acc-sub { margin: 0 0 12px !important; font-size: 12.5px !important; color: var(--muted, #9AA1AB) !important; line-height: 1.45 !important; }

/* Veći gumb za jelovnik unutar modala objekta (restoran / beach bar) */
#sga-app .sga-modal-actions .sga-action-menu {
  height: 52px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border-radius: 13px !important;
  gap: 10px !important;
}
#sga-app .sga-modal-actions .sga-action-menu svg { width: 22px !important; height: 22px !important; flex: 0 0 auto !important; }

/* === Language switcher (Profile) === */
.sga-lang-list { display: flex; flex-direction: column; }
.sga-lang-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 16px 2px; text-align: left; cursor: pointer;
  background: none; border: 0; border-bottom: 1px solid var(--border, #E5E9F0);
  color: var(--text, #0A0E14); font-family: 'Inter', sans-serif; font-size: 16px;
}
.sga-lang-row:last-child { border-bottom: 0; }
.sga-lang-name { flex: 1 1 auto; }
.sga-lang-check {
  display: none; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%;
  align-items: center; justify-content: center;
  background: var(--accent, #0050D6); color: #fff;
}
.sga-lang-check svg { width: 15px; height: 15px; }
.sga-lang-row.sga-lang-active .sga-lang-name { font-weight: 700; color: var(--accent, #0050D6); }
.sga-lang-row.sga-lang-active .sga-lang-check { display: flex; }
.sga-lang-row.sga-lang-active { background: rgba(0, 80, 214, 0.06); border-radius: 10px; }

/* === Notifications toggle switch (Profile) === */
.sga-toggle-row {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 6px 2px; background: none; border: 0; cursor: pointer; text-align: left;
}
.sga-toggle-icon { flex: 0 0 auto; display: flex; color: var(--text, #0A0E14); }
.sga-toggle-icon svg { width: 26px; height: 26px; }
.sga-toggle-label { flex: 1 1 auto; font-family: 'Inter', sans-serif; font-size: 17px; color: var(--text, #0A0E14); }
.sga-switch { position: relative; flex: 0 0 auto; width: 52px; height: 32px; }
.sga-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sga-switch-track { position: absolute; inset: 0; background: #C7CDD6; border-radius: 999px; transition: background .2s ease; pointer-events: none; }
.sga-switch-thumb { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s ease; }
.sga-switch input:checked + .sga-switch-track { background: var(--accent, #0050D6); }
.sga-switch input:checked + .sga-switch-track .sga-switch-thumb { transform: translateX(20px); }
.sga-switch input:disabled + .sga-switch-track { opacity: .5; }

/* === Camp map button === */
#sga-map-cta { padding-top: 6px; padding-bottom: 2px; }
.sga-map-btn {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 15px 16px; cursor: pointer; text-align: left;
  background: var(--card, #fff); color: var(--text, #0A0E14);
  border: 1px solid var(--border, #E5E9F0); border-radius: 16px;
  font-family: 'Inter', sans-serif;
}
.sga-map-btn-icon {
  flex: 0 0 44px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 12px; background: rgba(0,80,214,0.10); color: var(--accent, #0050D6);
}
.sga-map-btn-icon svg { width: 24px; height: 24px; }
.sga-map-btn-text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sga-map-btn-title { font-size: 16px; font-weight: 700; }
.sga-map-btn-sub { font-size: 13px; color: var(--muted, #6B7280); }
.sga-map-btn-arrow { flex: 0 0 auto; display: flex; color: var(--muted, #9AA1AB); }
.sga-map-btn-arrow svg { width: 20px; height: 20px; }

/* === Camp rules (Camp Info modal) === */
.sga-rules-wrap { margin-top: 20px; }
.sga-rules-title { font-size: 16px; font-weight: 800; margin: 0 0 10px; color: var(--text, #0A0E14); }
.sga-rules-intro { font-size: 14px; color: var(--muted, #6B7280); margin: 0 0 12px; line-height: 1.55; }
.sga-rule-group { border: 1px solid var(--border, #E5E9F0); border-radius: 12px; margin-bottom: 8px; overflow: hidden; background: var(--card, #fff); }
.sga-rule-group > summary {
  list-style: none; cursor: pointer; padding: 13px 14px;
  font-weight: 700; font-size: 15px; color: var(--text, #0A0E14);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.sga-rule-group > summary::-webkit-details-marker { display: none; }
.sga-rule-group > summary::after { content: '+'; font-size: 20px; font-weight: 400; color: var(--muted, #9AA1AB); line-height: 1; }
.sga-rule-group[open] > summary::after { content: '\2013'; }
.sga-rule-group ul { margin: 0; padding: 0 16px 12px 30px; }
.sga-rule-group li { margin: 7px 0; font-size: 14px; line-height: 1.55; color: var(--text, #0A0E14); }
.sga-rules-sub { padding: 2px 14px 0; margin: 6px 0 0; font-size: 14px; color: var(--text, #0A0E14); }
.sga-rules-note { font-size: 13px; color: var(--muted, #6B7280); margin-top: 14px; line-height: 1.55; }
.sga-rules a { color: var(--accent, #0050D6); }

/* === Eco Hero game === */
.sga-game-stage { position: relative; flex: 1 1 auto; width: 100%; min-height: 0; overflow: hidden; background: #7fd0f0; touch-action: none; }
#sga-game-canvas { display: block; width: 100%; height: 100%; }
.sga-game-hud { position: absolute; top: 10px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; font-size: 19px; font-weight: 800; color: #073a63; text-shadow: 0 1px 2px rgba(255,255,255,.6); pointer-events: none; }
.sga-game-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(10,30,50,.30); }
.sga-game-overlay[hidden] { display: none; }
.sga-game-card { background: #fff; border-radius: 20px; padding: 26px 22px; width: 100%; max-width: 340px; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.sga-game-emoji { font-size: 44px; line-height: 1; margin-bottom: 6px; }
.sga-game-h { font-family: 'Inter', sans-serif; font-size: 24px; font-weight: 800; margin: 4px 0 8px; color: #0A0E14; }
.sga-game-p { font-size: 15px; line-height: 1.5; color: #4b5563; margin: 0 0 18px; }
.sga-game-btn { display: inline-block; border: 0; border-radius: 999px; padding: 13px 36px; font-size: 16px; font-weight: 700; color: #fff; background: var(--accent, #0050D6); cursor: pointer; font-family: 'Inter', sans-serif; }
.sga-game-btn:active { transform: scale(0.96); }
.sga-game-best { margin-top: 14px; font-size: 14px; color: #6B7280; }
.sga-game-mascots { display: flex; justify-content: center; align-items: flex-end; gap: 10px; margin-bottom: 12px; }
.sga-game-mascot { height: 96px; width: auto; max-width: 44%; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.15)); }
.sga-game-choose { font-size: 14px; font-weight: 600; color: #6B7280; margin: 2px 0 12px; }
.sga-game-heroes { display: flex; justify-content: center; gap: 14px; margin-bottom: 8px; }
.sga-game-hero { flex: 1 1 0; max-width: 140px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px 10px; border: 2px solid var(--border, #E5E8EC); border-radius: 16px; background: #fff; cursor: pointer; transition: border-color .12s, background .12s, transform .08s; }
.sga-game-hero:active { transform: scale(0.97); }
.sga-game-hero:hover { border-color: var(--accent, #0050D6); background: #f5f8ff; }
.sga-game-hero .sga-game-mascot { height: 92px; max-width: 100%; margin: 0; }
.sga-game-hero-name { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700; color: #0A0E14; }
/* Eco Hero — legend / save / leaderboard */
.sga-game-legend { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 16px; }
.sga-game-legend-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; font-size: 13px; font-weight: 600; }
.sga-game-legend-good { background: #e7f6ec; color: #11703a; }
.sga-game-legend-bad { background: #fdeaea; color: #9a2828; }
.sga-game-legend-emojis { font-size: 18px; letter-spacing: 2px; flex: 0 0 auto; }
.sga-game-legend-lbl { text-align: left; }
.sga-game-save { display: flex; gap: 8px; margin: 4px 0 10px; }
.sga-game-input { flex: 1 1 auto; min-width: 0; border: 2px solid var(--border, #E5E8EC); border-radius: 12px; padding: 11px 14px; font-size: 15px; font-family: 'Inter', sans-serif; color: #0A0E14; }
.sga-game-input:focus { outline: none; border-color: var(--accent, #0050D6); }
.sga-game-btn-sm { padding: 11px 20px; font-size: 15px; }
.sga-game-saved { font-size: 14px; font-weight: 700; color: var(--accent, #0050D6); margin: 4px 0 10px; }
.sga-game-board { text-align: left; margin: 6px 0 14px; }
.sga-game-board-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #6B7280; margin-bottom: 6px; }
.sga-game-board-list { list-style: none; margin: 0; padding: 0; max-height: 200px; overflow-y: auto; }
.sga-game-board-item { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; font-size: 14px; }
.sga-game-board-item:nth-child(odd) { background: #f6f7f9; }
.sga-game-board-item.is-me { background: #e6efff; font-weight: 700; }
.sga-game-board-rank { flex: 0 0 22px; text-align: center; color: #6B7280; font-weight: 700; }
.sga-game-board-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #0A0E14; }
.sga-game-board-score { flex: 0 0 auto; font-weight: 800; color: var(--accent, #0050D6); }
.sga-game-board-empty { padding: 10px; text-align: center; color: #9CA3AF; font-size: 14px; }
/* === Quiz === */
.sga-quiz-stage { position: relative; flex: 1 1 auto; min-height: 0; width: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; background: #f6f7f9; padding: 20px 18px calc(24px + env(safe-area-inset-bottom)); }
.sga-quiz-overlay { display: flex; align-items: center; justify-content: center; min-height: 100%; }
.sga-quiz-overlay[hidden] { display: none; }
.sga-quiz-card { background: #fff; border-radius: 20px; padding: 28px 22px; width: 100%; max-width: 360px; text-align: center; box-shadow: 0 14px 40px rgba(0,0,0,.10); }
.sga-quiz-emoji { font-size: 46px; line-height: 1; margin-bottom: 8px; }
.sga-quiz-h { font-family: 'Inter', sans-serif; font-size: 24px; font-weight: 800; margin: 4px 0 8px; color: #0A0E14; }
.sga-quiz-p { font-size: 15px; line-height: 1.5; color: #4b5563; margin: 0 0 18px; }
.sga-quiz-btn { display: inline-block; border: 0; border-radius: 999px; padding: 13px 36px; font-size: 16px; font-weight: 700; color: #fff; background: var(--accent, #0050D6); cursor: pointer; font-family: 'Inter', sans-serif; }
.sga-quiz-btn:active { transform: scale(0.97); }
.sga-quiz-best { margin-top: 14px; font-size: 14px; color: #6B7280; }
.sga-quiz-score { font-size: 34px; font-weight: 800; color: var(--accent, #0050D6); margin: 6px 0; }
.sga-quiz-msg { font-size: 15px; font-weight: 600; color: #11703a; margin: 2px 0 8px; }
.sga-quiz-play[hidden] { display: none; }
.sga-quiz-play { max-width: 520px; margin: 0 auto; }
.sga-quiz-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sga-quiz-progress { font-size: 13px; font-weight: 700; color: #6B7280; flex: 0 0 auto; }
.sga-quiz-bar { flex: 1 1 auto; height: 8px; border-radius: 999px; background: #e5e8ec; overflow: hidden; }
.sga-quiz-bar-fill { height: 100%; width: 0; background: var(--accent, #0050D6); border-radius: 999px; transition: width .25s ease; }
.sga-quiz-question { font-family: 'Inter', sans-serif; font-size: 19px; font-weight: 700; line-height: 1.35; color: #0A0E14; margin: 6px 0 18px; }
.sga-quiz-options { display: flex; flex-direction: column; gap: 10px; }
.sga-quiz-opt { display: block; width: 100%; text-align: left; border: 2px solid var(--border, #E5E8EC); border-radius: 14px; background: #fff; padding: 14px 16px; font-size: 15px; font-weight: 600; color: #0A0E14; cursor: pointer; font-family: 'Inter', sans-serif; transition: border-color .12s, background .12s; }
.sga-quiz-opt:hover:not(:disabled) { border-color: var(--accent, #0050D6); }
.sga-quiz-opt:disabled { cursor: default; }
.sga-quiz-opt.is-correct { border-color: #16a34a; background: #e7f6ec; color: #11703a; }
.sga-quiz-opt.is-wrong { border-color: #dc2626; background: #fdeaea; color: #9a2828; }
.sga-quiz-next { display: block; width: 100%; margin-top: 18px; }
.sga-quiz-next[hidden] { display: none; }
/* === Full-bleed top: hero must touch the very top of the screen === */
html, body { margin: 0 !important; }
#sga-app { margin-top: 0 !important; padding-top: 0 !important; }
#sga-app .sga-hero { margin-top: 0 !important; }
