/* Hubb Connect design tokens — extracted from hubbconnectweb/lib/theme/themdata.dart (light). */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Roboto:wght@400;500;700&display=swap');

:root {
  --hubb-primary: #000000;
  --hubb-primary-dark: #2196F3;
  --hubb-scheme-primary: #2196F3;
  --hubb-icon: #1E88E5;
  --hubb-secondary: #2563EB;
  --hubb-accent: #2563EB;
  --hubb-accent-soft: #DBEAFE;
  --hubb-background: #FFFFFF;
  --hubb-canvas: #FAFAFA;
  --hubb-surface: #FFFFFF;
  --hubb-text: #000000;
  --hubb-muted: #9E9E9E;
  --hubb-divider: #9E9E9E;
  --hubb-success: #4CAF50;
  --hubb-whatsapp: #25D366;
  --hubb-warning: #FFC107;
  --hubb-error: #F44336;
  --hubb-radius: 12px;
  --hubb-shadow: 0 8px 24px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Roboto, system-ui, sans-serif;
  background: var(--hubb-background);
  color: var(--hubb-text);
  line-height: 1.45;
}
a { color: var(--hubb-icon); text-decoration: none; }
img { max-width: 100%; display: block; }
video { display: block; }

.hubb-card-media { position: relative; aspect-ratio: 4 / 5; background: #111; overflow: hidden; }
.hubb-card-media img, .hubb-card-media video { width: 100%; height: 100%; object-fit: cover; }
.hubb-card-video .hubb-card-media .play {
  position: absolute;
  opacity: .85; font-size: 28px; width: 48px; height: 48px; inset: auto; left: 12px; bottom: 12px;
  display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.45);
  text-shadow: none; color: #fff;
}
.hubb-card-media.is-playing .play { opacity: 0; }
.hubb-media-fallback { width: 100%; height: 100%; background: #eceff1; }

.hubb-hero-photo { width: 100%; border-radius: var(--hubb-radius); object-fit: cover; max-height: 70vh; }

.hubb-player { width: 100%; position: relative; z-index: 45; }
.hubb-player-stage {
  position: relative;
  background: #000;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  width: 100%;
  aspect-ratio: var(--hubb-video-ratio, 16 / 9);
  max-height: 70vh;
}
.hubb-player-stage video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  object-fit: contain;
  pointer-events: auto;
}
.hubb-player[data-crop="4-3"] .hubb-player-stage { aspect-ratio: 4 / 3; }
.hubb-player[data-crop="1-1"] .hubb-player-stage { aspect-ratio: 1 / 1; }
.hubb-player[data-crop="4-3"] video,
.hubb-player[data-crop="1-1"] video { object-fit: cover; }
.hubb-player-toolbar {
  position: relative;
  z-index: 46;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: #111;
  border-radius: 0 0 16px 16px;
  pointer-events: auto;
}
.hubb-player-ratio {
  color: rgba(255,255,255,.72);
  font-size: 13px;
  margin-right: auto;
}
.hubb-player-toolbar .hubb-btn {
  pointer-events: auto !important;
  touch-action: manipulation;
  cursor: pointer;
}
.hubb-player-toolbar .hubb-btn.ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.hubb-player-toolbar .hubb-btn.active {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.hubb-video-wrap { width: 100%; }
.hubb-video-stage {
  position: relative;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: min(70vh, calc(100dvh - 168px));
  width: 100%;
}
.hubb-video-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.hubb-video-error { margin-top: 8px; }
.hubb-lang {
  appearance: none;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 6px 28px 6px 8px;
  font: inherit;
  font-size: 13px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%239E9E9E' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E") no-repeat right 8px center;
  color: var(--hubb-text);
  cursor: pointer;
}
html[dir="rtl"] .hubb-lang { background-position: left 8px center; padding: 6px 8px 6px 28px; }
html[dir="rtl"] body { text-align: right; }

.hubb-video { position: relative; background: #000; border-radius: var(--hubb-radius); overflow: hidden; }
.hubb-video video { width: 100%; max-height: 70vh; object-fit: cover; }
.hubb-video .controls { position: absolute; right: 10px; top: 10px; display: flex; gap: 8px; }

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

.hubb-header {
  background: var(--hubb-surface);
  border-bottom: 1px solid #eee;
  position: sticky; top: 0; z-index: 40;
}
.hubb-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.hubb-brand {
  font-family: Pacifico, cursive;
  font-size: 17px;
  letter-spacing: 1.5px;
  color: var(--hubb-primary);
  font-weight: 400;
}
.hubb-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.hubb-links a { color: var(--hubb-primary); font-size: 14px; font-weight: 500; }
.hubb-links a.active { color: var(--hubb-icon); }
#auth-status { font-size: 12px; color: var(--hubb-muted); }

.hubb-hero {
  padding: 36px 0 28px;
  background: var(--hubb-canvas);
}
.hubb-hero h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 8px; }
.hubb-hero p { margin: 0 0 18px; color: #424242; max-width: 36rem; }

.hubb-search {
  background: var(--hubb-surface);
  border-radius: var(--hubb-radius);
  box-shadow: var(--hubb-shadow);
  padding: 16px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr) auto;
  gap: 10px;
}
.hubb-field label { display:block; margin:10px 0; font-size:14px; }
.hubb-search input, .hubb-search select, .hubb-field input, .hubb-field select, .hubb-field textarea {
  width: 100%;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}
.hubb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--hubb-scheme-primary); color: #fff;
  border: 0; border-radius: 8px; padding: 10px 16px;
  font-weight: 700; cursor: pointer;
}
.hubb-btn.secondary { background: var(--hubb-secondary); color: #fff; }
.hubb-btn.ghost { background: transparent; color: var(--hubb-icon); border: 1px solid var(--hubb-icon); }
.hubb-btn.black { background: var(--hubb-primary); color: #fff; }
.hubb-btn.wa { background: var(--hubb-whatsapp); }

.hubb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hubb-chip {
  display: inline-block; padding: 6px 10px; border-radius: 20px;
  background: #E3F2FD; color: var(--hubb-icon); font-size: 12px; font-weight: 500;
}

.hubb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.hubb-card {
  background: var(--hubb-surface);
  border-radius: var(--hubb-radius);
  box-shadow: var(--hubb-shadow);
  overflow: hidden;
  color: inherit;
}
.hubb-card:hover { transform: translateY(-2px); transition: transform .15s ease; }
.hubb-card-media::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 42%;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  pointer-events: none;
}
.hubb-card-body { padding: 12px 14px 16px; }
.hubb-price { font-weight: 700; font-size: 16px; }
.hubb-meta { color: #616161; font-size: 13px; }
.hubb-trust { color: var(--hubb-accent); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

.hubb-split { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 57px); }
.hubb-split-list { overflow: auto; padding: 16px; border-right: 1px solid #eee; }
#hubb-map { min-height: 420px; background: #E3F2FD; }

.hubb-empty, .hubb-note {
  background: #E3F2FD; border: 1px solid #BBDEFB; border-radius: 10px; padding: 16px;
}
.hubb-muted { color: var(--hubb-muted); }
main.hubb-main { padding: 24px 0 80px; }
.hubb-footer { border-top: 1px solid #eee; padding: 20px 0; font-size: 12px; color: var(--hubb-muted); }

.hubb-bottom {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0;
  background: #fff; border-top: 1px solid #eee;
  justify-content: space-around; flex-wrap: wrap;
  padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
  z-index: 30;
}
.hubb-bottom a { color: #757575; font-size: 11px; text-align: center; flex: 1 1 30%; min-width: 72px; padding: 6px 4px; }
.hubb-bottom a.active { color: var(--hubb-icon); }

.hubb-main.hubb-flush { padding: 0; }
.hubb-detail { display: grid; grid-template-columns: 1.4fr .8fr; gap: 24px; }
.hubb-badge { display:inline-block; background:#E8F5E9; color:#2E7D32; border-radius:12px; padding:2px 8px; font-size:11px; font-weight:700; }
.hubb-badge.amber { background:#FFF8E1; color:#F57F17; }
.hubb-actions { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0; }
.hubb-skel { background:linear-gradient(90deg,#eee,#f5f5f5,#eee); background-size:200% 100%; animation:hubbSkel 1.2s infinite; min-height:180px; border-radius:12px; }
@keyframes hubbSkel { 0%{background-position:100% 0} 100%{background-position:-100% 0} }
.leaflet-container { height:100%; min-height:420px; }

.hubb-chat { display: flex; flex-direction: column; gap: 12px; }
.hubb-chat-thread {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: min(62vh, 640px);
  overflow-y: auto;
  padding: 8px 0 16px;
}
.hubb-bubble {
  max-width: 80%;
  padding: 10px 12px;
  border-radius: 16px;
  background: #f1f3f4;
}
.hubb-bubble p { margin: 0; }
.hubb-bubble .hubb-meta { display: block; margin-top: 4px; font-size: 11px; }
.hubb-bubble.me {
  margin-left: auto;
  background: #2196F3;
  color: #fff;
}
.hubb-bubble.me .hubb-meta { color: rgba(255,255,255,.8); }
.hubb-composer {
  display: flex;
  gap: 8px;
  position: sticky;
  bottom: 0;
  background: #fff;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}
.hubb-composer input {
  flex: 1;
  border: 1px solid #E0E0E0;
  border-radius: 24px;
  padding: 10px 14px;
  font: inherit;
}
.hubb-conv-link { color: inherit; }

.hubb-signal {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--hubb-icon);
}
.hubb-grid-services { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.hubb-service-card .hubb-card-body { min-height: 148px; }
.hubb-service-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 6px 0 4px;
}
.hubb-service-card .hubb-meta {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hubb-stories { margin: 22px 0 8px; }
.hubb-stories-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.hubb-stories-head h2 { font-size: 16px; margin: 0; flex: 1; }
.hubb-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22C55E; flex-shrink: 0;
}
.hubb-stories-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.hubb-story {
  flex: 0 0 92px;
  width: 92px;
  text-align: center;
  color: inherit;
}
.hubb-story img, .hubb-story-fallback {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid #22C55E;
}
.hubb-story-fallback { background: #E3F2FD; color: var(--hubb-icon); font-weight: 700; }
.hubb-story strong {
  display: block;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hubb-story span { font-size: 11px; color: #16A34A; }
.hubb-story-earn .hubb-story-fallback { border-color: #4DA3FF; }

@media (max-width: 900px) {
  .hubb-search { grid-template-columns: 1fr 1fr; }
  .hubb-split { grid-template-columns: 1fr; }
  .hubb-detail { grid-template-columns: 1fr; }
  .hubb-links a:not(#auth-status) { display: none; }
  .hubb-links { display: flex; }
  .hubb-bottom { display: flex; }
  main.hubb-main { padding-bottom: 88px; }
  main.hubb-main.hubb-explore-page { padding-bottom: 0; }
  .hubb-explore { height: calc(100dvh - 57px - 56px); }
}

.hubb-explore-page { padding: 0 !important; }
.hubb-explore {
  position: relative;
  height: calc(100dvh - 57px);
  min-height: 520px;
  background: #E3F2FD;
  overflow: hidden;
}
.hubb-explore #hubb-map {
  position: absolute;
  inset: 0;
  min-height: 0;
}
.hubb-explore-top {
  position: absolute; top: 12px; left: 12px; right: 12px;
  z-index: 4; display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.hubb-explore-top > * { pointer-events: auto; }
.hubb-explore-title {
  background: rgba(255,255,255,.94);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: var(--hubb-shadow);
}
.hubb-explore-title strong { display: block; font-size: 16px; }
.hubb-explore-title span { font-size: 12px; color: var(--hubb-muted); }
.hubb-explore-search { display: flex; gap: 8px; }
.hubb-explore-search input {
  flex: 1; border: 0; border-radius: 12px; padding: 10px 12px;
  box-shadow: var(--hubb-shadow); font: inherit;
}
.hubb-explore-chips { display: flex; gap: 8px; overflow-x: auto; }
.hubb-explore-chips .hubb-chip,
.hubb-explore-prices .hubb-chip {
  border: 0; background: #fff; border-radius: 999px;
  padding: 6px 12px; font: inherit; font-size: 13px;
  box-shadow: var(--hubb-shadow); white-space: nowrap; cursor: pointer;
}
.hubb-explore-chips .hubb-chip.is-on,
.hubb-explore-prices .hubb-chip.is-on { background: #2563EB; color: #fff; }
.hubb-view-house {
  display: inline-flex; align-items: center; margin-top: 6px;
  height: 32px; padding: 0 12px; font-size: 13px;
}
.hubb-explore-fabs {
  position: absolute; right: 12px; bottom: 280px; z-index: 4;
  display: flex; flex-direction: column; gap: 8px;
}
.hubb-fab {
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: #fff; box-shadow: var(--hubb-shadow); cursor: pointer; font-size: 16px;
}
.hubb-explore-dock {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  background: #fff; border-radius: 22px 22px 0 0;
  box-shadow: 0 -8px 24px rgba(0,0,0,.12);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}
.hubb-explore-status { font-weight: 700; margin: 0 0 8px; }
.hubb-map-peek {
  display: flex; gap: 12px; align-items: center;
  border: 1px solid #eee; border-radius: 16px; overflow: hidden; color: inherit;
}
.hubb-map-peek img, .hubb-map-peek-fallback {
  width: 92px; height: 78px; object-fit: cover; background: #E5E7EB; flex: 0 0 92px;
}
.hubb-map-peek div { display: flex; flex-direction: column; min-width: 0; padding-right: 8px; }
.hubb-map-peek span { font-size: 13px; color: var(--hubb-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hubb-explore-prices { display: flex; gap: 8px; overflow-x: auto; margin: 8px 0; }
.hubb-explore-radius { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.hubb-explore-radius input { flex: 1; }
.hubb-explore-actions { display: flex; gap: 10px; margin-top: 8px; }
.hubb-explore-actions .hubb-btn { flex: 1; }
.hubb-explore-watches { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.hubb-social { display: grid; gap: 10px; margin-bottom: 16px; }
.hubb-btn-google, .hubb-btn-apple {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; border-radius: 8px; padding: 12px 16px;
  font: inherit; font-weight: 700; cursor: pointer;
}
.hubb-btn-google { background: #fff; color: #111; border: 1px solid #E0E0E0; }
.hubb-btn-apple { background: #111; color: #fff; border: 0; }
.hubb-or { text-align: center; margin: 4px 0 0; font-size: 13px; }
.hubb-map-pin {
  position: absolute; transform: translate(-50%, -100%);
  background: #111827; color: #fff; border: 0; border-radius: 22px;
  padding: 8px 12px 10px; font: 700 12px/1 Roboto, system-ui, sans-serif;
  box-shadow: 0 4px 12px rgba(0,0,0,.28); cursor: pointer; white-space: nowrap;
}
.hubb-map-pin::after {
  content: ''; position: absolute; left: 50%; bottom: -6px;
  transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: #111827; border-bottom: 0;
}
.hubb-map-pin.is-selected { background: #0B6E4F; }
.hubb-map-pin.is-selected::after { border-top-color: #0B6E4F; }
.hubb-filter-sheet {
  position: absolute; inset: 0; z-index: 8;
  background: rgba(15,23,42,.35);
  display: flex; align-items: flex-end; justify-content: center;
}
.hubb-filter-card {
  background: #fff; width: min(520px, 100%);
  border-radius: 22px 22px 0 0; padding: 16px;
  display: grid; gap: 10px;
}
.hubb-filter-card label { display: grid; gap: 4px; font-size: 13px; }
.hubb-filter-card select, .hubb-filter-card input {
  border: 1px solid #E0E0E0; border-radius: 10px; padding: 8px 10px; font: inherit;
}

/* ── Wave 1: region + provider cards ─────────────────────────────────────── */

.hubb-region-banner {
  background: #EEF3FF;
  border-bottom: 1px solid #D7E2FF;
}
.hubb-region-banner__inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 10px 16px; font-size: 14px; color: #1E3A8A;
}
.hubb-region-banner button {
  border: 0; border-radius: 999px; padding: 6px 14px;
  font: 600 13px/1 inherit; cursor: pointer;
}
.hubb-region-banner [data-region-accept] { background: #2F5BFF; color: #fff; }
.hubb-region-banner [data-region-dismiss] { background: transparent; color: #475569; }

/* Price renders the seller's currency first and the reader's underneath, so a
   Kenyan visitor can size up a Tanzanian quote without doing the maths. */
.hubb-price { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.hubb-price__value { font-weight: 800; font-variant-numeric: tabular-nums; color: #0F172A; }
.hubb-price__approx { font-size: 12px; color: #64748B; font-variant-numeric: tabular-nums; }
.hubb-price--none { font-size: 13px; font-weight: 600; color: #64748B; }

.hubb-provider-grid {
  display: grid; gap: 12px; margin-top: 16px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.hubb-provider-card {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: start;
  padding: 14px; border: 1px solid #E2E8F0; border-radius: 14px;
  background: #fff; color: inherit; text-decoration: none;
  transition: border-color .14s ease, box-shadow .14s ease, transform .14s ease;
}
.hubb-provider-card:hover {
  border-color: #C7D6FF;
  box-shadow: 0 6px 18px rgba(15,23,42,.07);
  transform: translateY(-1px);
}
.hubb-provider-card__photo {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  background: #EEF3FF;
}
.hubb-provider-card__photo--empty {
  display: grid; place-items: center;
  font: 800 20px/1 inherit; color: #2F5BFF;
}
.hubb-provider-card__body { min-width: 0; }
.hubb-provider-card__name {
  margin: 0 0 2px; font-size: 16px; font-weight: 700;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hubb-provider-card__verified { color: #10B981; font-size: 14px; }
.hubb-provider-card__rating { margin: 2px 0; font-size: 13px; font-weight: 600; color: #B45309; }
.hubb-provider-card__price { text-align: right; display: grid; gap: 2px; justify-items: end; }
.hubb-provider-card__price .hubb-muted { font-size: 11px; }

.hubb-provider-price { margin: 12px 0 4px; }
.hubb-provider-price .hubb-price { align-items: flex-start; font-size: 20px; }

.hubb-listing-form { max-width: 720px; }
.hubb-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hubb-pin-map { height: 280px; border-radius: var(--hubb-radius); background: #e8eef6; margin: 12px 0 20px; }
.hubb-media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 20px; }
.hubb-media-tile, .hubb-media-add {
  position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: 10px;
  overflow: hidden; background: #111; color: #fff; cursor: pointer;
}
.hubb-media-tile img, .hubb-media-tile video { width: 100%; height: 100%; object-fit: cover; }
.hubb-media-add { display: grid; place-items: center; border: 1.4px dashed #90caf9; background: #f5f9ff; color: #1565c0; font-weight: 600; }
.hubb-media-cover, .hubb-media-progress, .hubb-media-play {
  position: absolute; background: rgba(0,0,0,.55); color: #fff; font-size: 11px;
  padding: 3px 6px; border-radius: 6px;
}
.hubb-media-cover { top: 6px; left: 6px; }
.hubb-media-progress { inset: auto 6px 6px auto; }
.hubb-media-play { inset: auto 6px 6px auto; border-radius: 50%; width: 22px; height: 22px; display: grid; place-items: center; padding: 0; }
.hubb-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 20px; }
.hubb-chip-check { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid #e0e0e0; border-radius: 999px; font-size: 13px; }
.hubb-notice { background: #fff8e1; border: 1px solid #ffe082; border-radius: 12px; padding: 12px 14px; margin: 8px 0 16px; }
.hubb-stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0 24px; }
.hubb-stat { background: #f5f7fb; border-radius: 12px; padding: 12px; }
.hubb-stat strong { display: block; font-size: 22px; }
.hubb-stat span { font-size: 12px; color: var(--hubb-muted); }
.hubb-manage-card { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eee; }
.hubb-manage-card img, .hubb-manage-card .hubb-media-fallback { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; background: #eceff1; }
.hubb-insights-hero { display: grid; grid-template-columns: 140px 1fr; gap: 16px; margin-bottom: 16px; }
.hubb-insights-hero img { width: 140px; height: 140px; object-fit: cover; border-radius: 14px; }
.hubb-funnel { display: grid; gap: 8px; margin: 8px 0 20px; }
.hubb-funnel div { background: #f5f7fb; padding: 10px 12px; border-radius: 10px; }
.hubb-funnel span { font-weight: 700; margin-right: 6px; }
.hubb-day-list { padding: 0; list-style: none; }
.hubb-day-list li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #f0f0f0; }
@media (max-width: 640px) {
  .hubb-two, .hubb-stat-row, .hubb-insights-hero, .hubb-manage-card { grid-template-columns: 1fr; }
}

@media (prefers-color-scheme: dark) {
  .hubb-provider-card { background: #111A2E; border-color: #243050; }
  .hubb-price__value { color: #F1F5F9; }
}

.hubb-progress-overlay {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(15, 23, 42, 0.45);
  display: grid; place-items: center;
}
.hubb-progress-card {
  background: #fff; border-radius: 16px; padding: 22px 24px;
  width: min(360px, 92vw);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
}
.hubb-progress-card h3 { margin: 0 0 10px; font-size: 17px; color: #111; }
.hubb-progress-card p { margin: 0 0 14px; color: #546e7a; font-size: 14px; }
.hubb-progress-bar {
  height: 6px; background: #e3e8ef; border-radius: 99px; overflow: hidden;
}
.hubb-progress-bar > span {
  display: block; height: 100%; width: 40%; background: #2196F3;
  animation: hubb-progress-indeterminate 1.1s ease-in-out infinite;
}
@keyframes hubb-progress-indeterminate {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}

.hubb-watch-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
.hubb-icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  border: 1px solid #e0e0e0;
  background: linear-gradient(90deg, #6C5CE7, #A66EFA);
  color: #fff;
}
.hubb-icon-btn svg { width: 18px; height: 18px; }
.hubb-chip-check { cursor: pointer; }
.hubb-chip-check:has(input:checked) {
  background: #6C5CE7;
  border-color: #6C5CE7;
  color: #fff;
}

body.hubb-watch-page .hubb-header,
body.hubb-watch-page .hubb-bottom,
body.hubb-watch-page .hubb-footer,
body.hubb-watch-page .hubb-region-banner { display: none !important; }
body.hubb-watch-page .hubb-main { padding: 0; }
.hubb-watch {
  height: 100dvh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  background: #000;
}
.hubb-watch-slide {
  position: relative;
  height: 100dvh;
  scroll-snap-align: start;
  background: #000;
}
.hubb-watch-slide video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.hubb-watch-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 18px 28px;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  color: #fff;
}
.hubb-watch-meta h2 { margin: 4px 0 6px; font-size: 20px; }
.hubb-watch-meta .hubb-meta,
.hubb-watch-meta .hubb-price { color: #fff; }
.hubb-watch-close {
  position: absolute;
  top: 16px;
  left: 16px;
  color: #fff;
  z-index: 2;
  text-decoration: none;
  background: rgba(0,0,0,.45);
  padding: 8px 12px;
  border-radius: 999px;
}
.hubb-watch-slide .hubb-watch-close { position: absolute; top: 16px; left: 16px; }
