.g-search-input,
.g-serp-search-wrap,
.g-results-column,
.g-search-card__body {
  min-width: 0;
}

#service-preview { margin: 8px 0 24px; max-width: 700px; }
#service-preview[hidden] { display: none; }
.g-map-place-actions { flex-wrap: wrap; }
.g-map-sidebar { max-width: 100%; }
.g-map-place-card { border-radius: 8px; }
.g-map-canvas-wrap { border-radius: 8px; }
#leaflet-map-canvas { position: absolute; inset: 0; }
@media (max-width: 960px) {
  .g-map-canvas-wrap { position: relative; top: auto; flex: none; width: 100%; height: 320px; }
}

.g-serp-search-wrap.g-search-box-wrap {
  margin: 0;
}

.g-icon-btn svg.lucide { fill: none; }
.busca-has-results .g-top-bar { display: none; }
.g-account-popover { position: fixed; top: calc(62px + env(safe-area-inset-top, 0px)); }

.g-all-results {
  list-style: none;
  margin: 0;
  padding: 0;
}

.g-all-results .g-search-card {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 16px 0;
  margin: 0;
}

.g-all-results .g-search-card__title,
.g-all-results .g-search-card__snippet {
  overflow-wrap: anywhere;
}

.g-all-results mark {
  background: var(--highlight);
  color: inherit;
}

.g-list-play,
.g-pagination button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--btn-bg);
  color: var(--text);
  cursor: pointer;
}

.g-list-play svg { width: 16px; height: 16px; }
.g-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
  color: var(--text-subtle);
  font-size: 14px;
}
.g-pagination button:disabled { opacity: .45; cursor: default; }

/* Home's quick launcher, scoped so the search shell keeps its own theme. */
.g-launcher-dialog {
  --primary-rgb: 249, 115, 22;
  --secondary: #1b255f;
  position: fixed;
  inset: calc(env(safe-area-inset-top, 0px) + 10px) 10px auto auto;
  margin: 0;
  padding: 14px;
  width: min(356px, calc(100% - 20px));
  max-width: none;
  max-height: calc(100vh - 20px);
  max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 20px);
  border-radius: 28px;
  border: 1px solid rgba(27, 37, 95, .16);
  background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(243, 246, 255, .94));
  box-shadow: 0 28px 80px rgba(27, 37, 95, .24), inset 0 1px 0 rgba(255, 255, 255, .9);
  backdrop-filter: blur(22px);
  color: #111827;
  font-family: system-ui, sans-serif;
  overflow: auto;
  overscroll-behavior: contain;
}
.g-launcher-dialog::backdrop { background: rgba(15, 23, 42, .22); }
.g-launcher-dialog[open] { animation: g-launcher-in .22s ease-out; }
@keyframes g-launcher-in {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.g-launcher-dialog .quick-launcher-panel__head,
.g-launcher-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 4px 12px;
}
.g-launcher-status { flex-wrap: wrap; }
.g-launcher-dialog .quick-launcher-panel__eyebrow {
  font-size: .56rem;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
  color: rgba(27, 37, 95, .54);
}
.g-launcher-dialog .quick-launcher-panel__title {
  margin-top: 5px;
  font-size: 1.02rem;
  line-height: 1.1;
  font-weight: 950;
}
.g-launcher-dialog .quick-launcher-close {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(27, 37, 95, .13);
  background: rgba(27, 37, 95, .07);
  color: #111827;
  cursor: pointer;
}
.g-launcher-dialog .quick-launcher-close svg { width: 16px; height: 16px; }
.g-launcher-dialog .quick-launcher-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.g-launcher-dialog .quick-launcher-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 88px;
  min-width: 0;
  padding: 6px;
  border-radius: 22px;
  border: 1px solid rgba(27, 37, 95, .12);
  background: rgba(255, 255, 255, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  text-align: center;
  text-decoration: none;
  color: #111827;
  order: 20;
}
.g-launcher-dialog .quick-launcher-tile:hover {
  text-decoration: none;
  border-color: rgba(var(--quick-accent-rgb, var(--primary-rgb)), .48);
  background: rgba(var(--quick-accent-rgb, var(--primary-rgb)), .16);
}
.g-launcher-dialog .quick-launcher-tile__icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 16px;
  background: rgba(var(--quick-accent-rgb, var(--primary-rgb)), .16);
  color: rgb(var(--quick-accent-rgb, var(--primary-rgb)));
}
.g-launcher-dialog .quick-launcher-tile__icon svg { width: 20px; height: 20px; stroke-width: 2.35; }
.g-launcher-dialog .quick-launcher-tile__label { font-size: .64rem; line-height: 1.1; font-weight: 900; overflow-wrap: anywhere; }
.g-launcher-dialog .quick-launcher-brand-img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.g-launcher-dialog .quick-launcher-tile--sos { order: 1; --quick-accent-rgb: 231, 76, 60; }
.g-launcher-dialog .quick-launcher-tile--buscar { order: 2; }
.g-launcher-dialog .quick-launcher-tile--conta { order: 3; }
.g-launcher-dialog .quick-launcher-tile--comunidade { order: 4; }
.g-launcher-dialog .quick-launcher-tile--portal { order: 5; }
.g-launcher-dialog .quick-launcher-tile--radar { order: 6; }
.g-launcher-dialog .quick-launcher-tile--esporte { order: 7; --quick-accent-rgb: 40, 205, 65; }
.g-launcher-dialog .quick-launcher-tile--plural { order: 8; --quick-accent-rgb: 139, 92, 246; }
.g-launcher-dialog .quick-launcher-tile--play { order: 9; }
.g-launcher-dialog .quick-launcher-tile--agenda { order: 10; --quick-accent-rgb: 251, 191, 36; }
.g-launcher-dialog .quick-launcher-tile--guia { order: 11; --quick-accent-rgb: 6, 182, 212; }
.g-launcher-dialog .quick-launcher-tile--mapa { order: 12; --quick-accent-rgb: 14, 165, 233; }
.g-launcher-dialog .quick-launcher-tile--radio { order: 13; --quick-accent-rgb: 0, 196, 179; }
.g-launcher-dialog .quick-launcher-tile--astral { order: 14; --quick-accent-rgb: 236, 72, 153; }
.g-launcher-dialog .quick-launcher-tile--games { order: 15; --quick-accent-rgb: 99, 102, 241; }
.g-launcher-dialog :is(.quick-launcher-tile--esporte, .quick-launcher-tile--plural) .quick-launcher-tile__icon { background: rgba(255, 255, 255, .08); }
.g-launcher-dialog .quick-launcher-tile--play .quick-launcher-tile__icon { border-radius: 50%; background: #e50914; }
.g-launcher-dialog .quick-launcher-brand-img--onevplay { border-radius: 0; padding: 7px; filter: brightness(0) invert(1); }

.g-mural {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
  padding: 8px 0 24px;
}
.g-mural .pinterest-card {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: var(--card-bg);
  text-align: left;
  color: var(--text);
  cursor: pointer;
}
.g-mural .pinterest-card:hover { border-color: var(--link); }
.g-mural-thumb {
  display: block;
  position: relative;
  background: var(--surface);
  aspect-ratio: 4 / 5;
}
.g-mural-thumb--video { aspect-ratio: 16 / 9; }
.g-mural-thumb.is-unavailable { display: none; }
.g-mural-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-mural-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #b91c1c;
  color: #fff;
}
.g-mural-play svg { width: 18px; height: 18px; fill: currentColor; }
.g-mural .pinterest-card__content { display: grid; gap: 4px; padding: 10px; }
.g-mural .pinterest-card__tag { color: var(--accent); font-size: 11px; font-weight: 700; overflow-wrap: anywhere; }
.g-mural .pinterest-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}

.g-media-preview {
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  background: #0d111b;
  color: #fff;
}
.g-media-preview[open] { display: flex; flex-direction: column; }
.g-preview-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 14px 8px;
  background: #141824;
}
.g-preview-heading { flex: 1; min-width: 0; }
.g-preview-heading span { color: #fb923c; font-weight: 700; font-size: 12px; }
.g-preview-heading h2 {
  margin: 0;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.g-preview-count { color: #c9cdd6; font-size: 13px; }
.g-preview-body { display: flex; flex: 1; min-height: 0; }
.g-preview-stage {
  position: relative;
  display: grid;
  place-items: center;
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #05070a;
}
.g-preview-stage > img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.g-preview-stage iframe { width: 100%; height: 100%; border: 0; }
.g-preview-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid #4c515d;
  border-radius: 50%;
  color: #fff;
  background: #252a36;
  cursor: pointer;
}
.g-preview-icon svg, .g-preview-source svg { width: 18px; height: 18px; }
.g-preview-prev, .g-preview-next { position: absolute; top: 50%; transform: translateY(-50%); }
.g-preview-prev { left: 10px; }
.g-preview-next { right: 10px; }
.g-preview-details {
  width: min(320px, 36%);
  padding: 16px;
  overflow: auto;
  border-left: 1px solid #303541;
}
.g-preview-details p { color: #d4d7de; margin: 0 0 14px; overflow-wrap: anywhere; }
.g-preview-details h3 { margin: 20px 0 8px; font-size: 14px; }
.g-preview-source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fb923c;
  color: #111827;
  font-weight: 700;
}
.g-preview-related { display: grid; gap: 6px; }
.g-preview-related button {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 6px;
  border: 1px solid #303541;
  border-radius: 8px;
  background: #151a26;
  color: #fff;
  cursor: pointer;
}
.g-preview-related img { width: 48px; height: 48px; object-fit: cover; border-radius: 5px; }
.g-preview-related span { min-width: 0; overflow-wrap: anywhere; font-size: 13px; }

@media (min-width: 640px) {
  .g-mural { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (min-width: 1024px) {
  .g-mural { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 640px) {
  .g-serp-header { padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
  .g-serp-header-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .g-serp-actions-end { grid-column: 2; grid-row: 1; gap: 8px; }
  .g-serp-brand-logo { max-width: 100%; }
  .g-serp-search-wrap.g-search-box-wrap { grid-column: 1 / -1; max-width: none; }
  .g-search-input { font-size: 16px; }
  .g-preview-body { flex-direction: column; overflow: auto; }
  .g-preview-stage { flex: none; height: 46vh; height: 46dvh; }
  .g-preview-details { width: 100%; overflow: visible; border-left: 0; border-top: 1px solid #303541; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 960px) {
  .g-knowledge-column { order: 1; }
}
@media (max-width: 420px) {
  .g-serp-actions-end .g-ai-pill-btn span { display: none; }
}
@media (max-width: 370px) {
  #home-ai-btn span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .g-launcher-dialog[open] { animation: none; }
}
