/* RedFeed Notes — masonry + capa estilo revista no Explorar */

body.rf-rednote-explore .rf-explore-mode-tabs,

body.rf-rednote-explore .rf-explore-pane--deprecated{

  display:none!important;

}



/* Topbar compacta — pill de lupa (expande ao focar / com texto) */

body.rf-rednote-explore .rf-explore-topbar{

  padding:max(4px,env(safe-area-inset-top)) 0 2px;

  margin:0 0 6px;

  border-bottom:1px solid rgba(255,255,255,.06);

}

body.rf-rednote-explore .rf-search-hero{margin-bottom:0}

body.rf-rednote-explore .rf-container{padding-left:12px;padding-right:12px}



body.rf-rednote-explore .rf-search-bar--rednote{

  gap:8px;align-items:center;

}

body.rf-rednote-explore .rf-search-bar--rednote .rf-search-input-wrap{

  flex:1;display:flex;align-items:center;gap:8px;

  padding:0 12px;min-height:36px;border-radius:999px;

  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);

  transition:min-height .18s ease, border-color .18s ease, background .18s ease;

}

body.rf-rednote-explore .rf-search-bar--rednote:focus-within .rf-search-input-wrap,

body.rf-rednote-explore .rf-search-bar--rednote.is-search-active .rf-search-input-wrap{

  min-height:40px;background:rgba(255,255,255,.09);

  border-color:rgba(255,23,77,.28);

}

body.rf-rednote-explore .rf-search-input-icon{

  color:#ff8ab3;font-size:.82rem;flex-shrink:0;opacity:.95;

}

body.rf-rednote-explore .rf-search-bar--rednote .rf-search-input-wrap input{

  flex:1;border:0;background:transparent;color:#fff;

  padding:8px 0;font-size:.84rem;outline:none;min-width:0;

}

body.rf-rednote-explore .rf-search-bar--rednote:not(.is-search-active):not(:focus-within) .rf-search-input-wrap input{

  cursor:pointer;

}

body.rf-rednote-explore .rf-search-bar--rednote:not(.is-search-active):not(:focus-within) .rf-search-input-wrap input::placeholder{

  color:#b0b0be;font-weight:700;

}



body.rf-rednote-explore .rf-explore-back{

  flex-shrink:0;width:34px;height:34px;display:none;

  place-items:center;border-radius:999px;color:#ececf4;

  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);

  font-size:.78rem;

}

body.rf-rednote-explore .rf-search-bar--rednote.is-search-active .rf-explore-back,

body.rf-rednote-explore .rf-search-bar--rednote:focus-within .rf-explore-back{

  display:grid;

}

@media(min-width:821px){

  body.rf-rednote-explore .rf-explore-back{display:grid}

}



body.rf-rednote-explore .rf-loc-pill{display:none;margin-top:6px;font-size:.75rem;padding:6px 10px}

body.rf-rednote-explore.rf-rednote-tab-near .rf-loc-pill--near{display:inline-flex}

body.rf-rednote-explore .rf-filter-active-hint{margin-top:6px;padding:6px 10px;font-size:.74rem}



body.rf-rednote-explore .rf-rednote-feed-tabs{

  display:flex;gap:5px;margin:6px 0 2px;padding:0;

}

body.rf-rednote-explore .rf-rednote-feed-tab{

  flex:1;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);

  color:#d8d8e4;border-radius:999px;padding:7px 8px;font:inherit;font-weight:800;font-size:.72rem;

  cursor:pointer;-webkit-tap-highlight-color:transparent;

}

body.rf-rednote-explore .rf-rednote-feed-tab i{font-size:.68rem;margin-right:2px;opacity:.85}

body.rf-rednote-explore .rf-rednote-feed-tab.is-active{

  background:linear-gradient(135deg,rgba(255,23,77,.35),rgba(255,46,166,.22));

  border-color:rgba(255,23,77,.45);color:#fff;

}

html[data-rf-theme="light"] body.rf-rednote-explore .rf-rednote-feed-tab{

  background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.08);color:#3a3a48;

}

html[data-rf-theme="light"] body.rf-rednote-explore .rf-rednote-feed-tab.is-active{

  color:#fff;

}

body.rf-explore-page,
body.rf-rednote-explore,
body.rf-explore-page.rf-profile-page,
body.rf-rednote-explore.rf-profile-page,
body.rf-explore-page.rf-audience-mode{
  background:#07070b!important;
}
html.rf-explore-page,
html.rf-rednote-explore{
  background:#07070b!important;
}
body.rf-explore-page.rf-desktop-ui .rf-desktop-rail,
body.rf-explore-page.rf-profile-page .rf-desktop-rail,
body.rf-rednote-explore.rf-desktop-ui .rf-desktop-rail{
  display:flex!important;
}
body.rf-rednote-explore .rf-inspire-topic-rail{
  display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;margin:6px 0 4px;
  padding:2px 4px 8px;scrollbar-width:none;-webkit-overflow-scrolling:touch;
}
body.rf-rednote-explore .rf-inspire-topic-rail::-webkit-scrollbar{display:none}
body.rf-rednote-explore .rf-inspire-topic-chip{
  flex:0 0 auto;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);
  color:#ececf4;border-radius:999px;padding:7px 12px;font-size:.74rem;font-weight:800;
  text-decoration:none;white-space:nowrap;line-height:1.2;
}
body.rf-rednote-explore .rf-inspire-topic-chip.is-on{
  background:linear-gradient(135deg,rgba(255,23,77,.42),rgba(255,46,166,.24));
  border-color:rgba(255,23,77,.55);color:#fff;
}
html[data-rf-theme="light"] body.rf-rednote-explore .rf-inspire-topic-chip{
  background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.08);color:#2a2a36;
}
html[data-rf-theme="light"] body.rf-rednote-explore .rf-inspire-topic-chip.is-on{
  color:#fff;
}

html[data-rf-theme="light"] body.rf-rednote-explore .rf-search-bar--rednote .rf-search-input-wrap{

  background:rgba(0,0,0,.05);border-color:rgba(0,0,0,.08);

}

html[data-rf-theme="light"] body.rf-rednote-explore .rf-search-bar--rednote .rf-search-input-wrap input{

  color:#12121a;

}



body.rf-rednote-explore #rfExploreResultsPosts.rf-results[data-view="cards"].rf-rednote-masonry{

  display:block!important;column-count:2;column-gap:8px;

}

@media(min-width:821px){

  body.rf-rednote-explore #rfExploreResultsPosts.rf-results[data-view="cards"].rf-rednote-masonry{

    column-count:3;

  }

}

@media(min-width:1100px){
  body.rf-rednote-explore:not(.rf-desktop-ui) #rfExploreResultsPosts.rf-results[data-view="cards"].rf-rednote-masonry{
    column-count:5;
  }
}

/*
  Desktop — 5 colunas SEM encolher o card:
  card ~233px = mesma largura que 4 colunas em ~975px (gap 14px).
  Largura total = 5*233 + 4*14 ≈ 1221px (grade mais larga, não tiles menores).
*/
@media (min-width: 1100px) {
  body.rf-desktop-ui.rf-explore-page main.rf-explore,
  body.rf-desktop-ui.rf-rednote-explore main.rf-explore {
    overflow-x: visible !important;
  }
  body.rf-desktop-ui.rf-explore-page main.rf-explore > .rf-container,
  body.rf-desktop-ui.rf-rednote-explore main.rf-explore > .rf-container {
    --rf-explore-grid-w: min(
      calc(5 * var(--rf-explore-card-w, 233px) + 4 * var(--rf-explore-grid-gap, 14px)),
      calc(100vw - var(--rf-rail-w, 72px) - 32px)
    );
    max-width: var(--rf-explore-grid-w) !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow-x: visible !important;
    box-sizing: border-box !important;
  }
  body.rf-desktop-ui.rf-explore-page #rfExplorePostsWrap,
  body.rf-desktop-ui.rf-rednote-explore #rfExplorePostsWrap {
    overflow-x: visible !important;
  }
  body.rf-desktop-ui.rf-explore-page #rfExploreResultsPosts.rf-results:not([data-view="list"]),
  body.rf-desktop-ui.rf-rednote-explore #rfExploreResultsPosts.rf-results:not([data-view="list"]) {
    --rf-explore-card-w: 233px;
    --rf-explore-grid-gap: 14px;
    --rf-explore-grid-w: min(
      calc(5 * var(--rf-explore-card-w) + 4 * var(--rf-explore-grid-gap)),
      calc(100vw - var(--rf-rail-w, 72px) - 32px)
    );
    display: grid !important;
    column-count: unset !important;
    width: var(--rf-explore-grid-w) !important;
    max-width: var(--rf-explore-grid-w) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: var(--rf-explore-grid-gap) !important;
    box-sizing: border-box !important;
  }
}

body.rf-rednote-explore #rfExploreResultsPosts.rf-rednote-masonry .rf-explore-post-card{
  break-inside:avoid;margin:0 0 8px;display:inline-block!important;width:100%;vertical-align:top;
}

@media (min-width: 1100px) {
  body.rf-desktop-ui.rf-rednote-explore #rfExploreResultsPosts.rf-rednote-masonry .rf-explore-post-card {
    display: flex !important;
    flex-direction: column !important;
    width: auto !important;
    margin: 0 !important;
    break-inside: auto;
    overflow: hidden;
  }
  body.rf-desktop-ui.rf-rednote-explore #rfExploreResultsPosts.rf-rednote-masonry .rf-explore-post-card .rf-creator-card-media {
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 3 / 4;
    min-height: 0;
  }
}



body.rf-rednote-explore .rf-explore-post-card.rf-rednote-card .rf-creator-card-body{

  display:none!important;

}

body.rf-rednote-explore .rf-explore-post-card.rf-rednote-card .rf-creator-card-shade{

  display:block!important;

  background:linear-gradient(180deg,rgba(0,0,0,.08) 0%,rgba(0,0,0,.15) 35%,rgba(0,0,0,.72) 100%)!important;

}

body.rf-rednote-explore .rf-rednote-cover-headline{

  position:absolute;left:8px;right:8px;bottom:36px;z-index:3;

  font-family:var(--rf-title,system-ui);font-weight:900;font-size:.92rem;line-height:1.15;

  letter-spacing:-.03em;color:#fff;text-shadow:0 2px 14px rgba(0,0,0,.55);

  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;

}

body.rf-rednote-explore .rf-rednote-cover-meta{

  position:absolute;left:8px;right:8px;bottom:8px;z-index:3;

  display:flex;align-items:center;gap:6px;min-width:0;

}

body.rf-rednote-explore .rf-rednote-cover-meta img{

  width:22px!important;height:22px!important;min-width:22px!important;max-width:22px!important;
  border-radius:50%!important;object-fit:cover!important;border:1px solid rgba(255,255,255,.35);

  flex-shrink:0;position:static!important;transform:none!important;

}

/* Perfil antigo como capa: avatar compacto, nao oval em tela cheia */
body.rf-rednote-explore .rf-explore-creator-avatar .rf-creator-card-media{
  background:radial-gradient(circle at 50% 42%,#2a1520 0%,#121218 62%,#0a0a10 100%)!important;
}
body.rf-rednote-explore .rf-explore-creator-avatar .rf-creator-card-media > img.rf-explore-avatar-thumb,
body.rf-rednote-explore .rf-explore-creator-avatar .rf-creator-card-media > img[data-rf-avatar-cover]{
  width:46%!important;max-width:128px!important;height:auto!important;
  aspect-ratio:1!important;border-radius:50%!important;object-fit:cover!important;
  position:absolute!important;left:50%!important;top:46%!important;
  transform:translate(-50%,-50%)!important;
  border:2px solid rgba(255,255,255,.16)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.45)!important;
}

body.rf-rednote-explore .rf-rednote-cover-meta span{

  font-size:.72rem;font-weight:800;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;

}

body.rf-rednote-explore .rf-rednote-cover-meta,
body.rf-explore-page .rf-rednote-cover-meta,
.rf-explore-post-card .rf-rednote-cover-meta {
  pointer-events: auto !important;
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 8;
  cursor: pointer;
}
.rf-explore-post-card .rf-rednote-cover-meta * {
  pointer-events: auto !important;
  position: relative;
  cursor: pointer;
}

body.rf-rednote-explore .rf-rednote-carousel-pill{

  position:absolute;top:8px;right:8px;z-index:3;

  background:rgba(0,0,0,.55);color:#fff;font-size:.68rem;font-weight:800;

  padding:4px 8px;border-radius:999px;backdrop-filter:blur(6px);

}

body.rf-rednote-explore .rf-rednote-place-pill{
  position:absolute;top:8px;left:8px;z-index:3;
  max-width:68%;background:rgba(0,0,0,.55);color:#fff;font-size:.68rem;font-weight:800;
  padding:4px 8px;border-radius:999px;backdrop-filter:blur(6px);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
body.rf-rednote-explore .rf-rednote-topic-pills{
  position:absolute;left:8px;top:8px;z-index:3;
  display:flex;flex-wrap:wrap;gap:4px;max-width:72%;pointer-events:auto;
}
body.rf-rednote-explore .rf-rednote-topic-pills.is-under-place{top:36px}
body.rf-rednote-explore .rf-rednote-topic-pill{
  background:rgba(255,23,77,.86);color:#fff;font-size:.62rem;font-weight:800;
  padding:3px 7px;border-radius:999px;line-height:1.2;backdrop-filter:blur(6px);
}



body.rf-rednote-explore.rf-rednote-tab-following .rf-section-head .rf-view-switch,

body.rf-rednote-explore.rf-rednote-tab-following #rfExploreRecentSection,

body.rf-rednote-explore.rf-rednote-tab-near #rfExploreRecentSection{

  display:none!important;

}

.rf-explore-near-map-host{
  display:none;margin:0 0 12px;border-radius:18px;overflow:hidden;
  border:1px solid rgba(255,255,255,.1);background:#101018;
  position:relative;
}
/* Carrossel compacto do local (capa + avatar) — centro do mapa */
.rf-near-loc-rail{
  position:absolute;left:50%;bottom:12px;z-index:1100;
  transform:translateX(-50%);
  display:flex;flex-direction:column;gap:4px;
  padding:6px 6px 7px;
  border-radius:12px;
  background:rgba(10,10,16,.78);
  border:1px solid rgba(255,255,255,.12);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  box-shadow:0 8px 22px rgba(0,0,0,.35);
  width:min(calc(100% - 16px),360px);
  max-width:min(calc(100% - 16px),360px);
  pointer-events:auto;
}
/* Reserva espaco da barra de categorias a direita */
.rf-explore-near-map-host.has-near-topics .rf-near-loc-rail{
  width:min(calc(100% - 56px),340px);
  max-width:min(calc(100% - 56px),340px);
  left:calc(50% - 12px);
}
.rf-near-loc-rail[hidden]{display:none!important}
.rf-near-loc-rail-bar{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:0 2px 1px;font-size:.62rem;font-weight:800;color:#ececf4;letter-spacing:.01em;
}
.rf-near-loc-rail-acts{display:inline-flex;align-items:center;gap:4px;flex-shrink:0}
.rf-near-loc-rail-close,
.rf-near-loc-rail-refresh,
.rf-near-loc-rail-go.is-icon{
  width:22px;height:22px;border-radius:50%;border:0;cursor:pointer;
  background:rgba(255,255,255,.1);color:#f2f2f8;
  display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;
  font-size:.7rem;padding:0;
}
.rf-near-loc-rail-go.is-icon{
  background:linear-gradient(135deg,#22c55e,#16a34a);
  color:#fff;
  box-shadow:0 2px 8px rgba(22,163,74,.35);
}
.rf-near-loc-rail-go-cta{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  width:100%;margin:1px 0 0;padding:8px 10px;border:0;border-radius:10px;
  cursor:pointer;font:inherit;font-size:.72rem;font-weight:800;letter-spacing:.01em;
  color:#fff;
  background:linear-gradient(135deg,#22c55e,#0ea5e9);
  box-shadow:0 4px 14px rgba(14,165,233,.28);
}
.rf-near-loc-rail-go-cta:active{transform:scale(.98)}
.rf-near-loc-rail-go-cta i{font-size:.85rem}
.rf-near-loc-rail-refresh.is-spin i{animation:rfNearLocSpin .7s linear infinite}
@keyframes rfNearLocSpin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.rf-near-loc-rail-refresh.is-spin i{animation:none}}
html[data-rf-theme="light"] .rf-near-loc-rail-refresh{background:rgba(0,0,0,.06);color:#1a1a24}
html[data-rf-theme="light"] .rf-near-loc-rail-go.is-icon{
  background:linear-gradient(135deg,#16a34a,#15803d);color:#fff;
}
.rf-near-loc-rail-track{
  display:flex;gap:7px;overflow-x:auto;overflow-y:hidden;
  padding:2px 1px 4px;scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;scrollbar-width:none;
  touch-action:pan-x;
}
.rf-near-loc-rail-track::-webkit-scrollbar{display:none}
.rf-near-loc-slide{
  position:relative;flex:0 0 auto;width:64px;height:88px;
  border:0;padding:0;border-radius:11px;overflow:visible;
  background:transparent;cursor:pointer;scroll-snap-align:start;
  font:inherit;
}
.rf-near-loc-cover{
  display:block;width:64px;height:84px;border-radius:11px;object-fit:cover;
  background:#1a1a24;border:1px solid rgba(255,255,255,.14);
  box-shadow:0 4px 12px rgba(0,0,0,.35);
}
.rf-near-loc-cover.is-empty{background:linear-gradient(160deg,#2a2a36,#14141c)}
.rf-near-loc-avatar{
  position:absolute;left:50%;bottom:-2px;transform:translateX(-50%);
  width:20px;height:20px;border-radius:50%;object-fit:cover;
  border:1.5px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.45);
  background:#222;
}
.rf-near-loc-rail-more{
  font-size:.58rem;font-weight:700;color:rgba(255,255,255,.55);
  text-align:center;padding:0 2px 1px;
}
html[data-rf-theme="light"] .rf-near-loc-rail-more{color:rgba(20,20,28,.5)}
.rf-explore-near-map-host.is-expanded .rf-near-loc-rail{
  left:50%;bottom:16px;transform:translateX(-50%);
  width:min(92%,380px);max-width:min(92%,380px);
}
.rf-explore-near-map-host.is-expanded .rf-near-loc-slide{width:72px;height:98px}
.rf-explore-near-map-host.is-expanded .rf-near-loc-cover{width:72px;height:94px}
.rf-explore-near-map-host.is-expanded .rf-near-loc-avatar{width:22px;height:22px}
html[data-rf-theme="light"] .rf-near-loc-rail{
  background:rgba(255,255,255,.92);border-color:rgba(0,0,0,.1);color:#1a1a24;
}
html[data-rf-theme="light"] .rf-near-loc-rail-bar{color:#1e1e28}
html[data-rf-theme="light"] .rf-near-loc-rail-close{background:rgba(0,0,0,.06);color:#1a1a24}

/* Ampliação central do carrossel (moderada, não fullscreen) + setas laterais / swipe */
.rf-near-loc-peek{
  position:absolute;inset:0;z-index:720;
  display:flex;align-items:center;justify-content:center;
  pointer-events:none;opacity:0;transition:opacity .2s ease;
}
.rf-near-loc-peek.is-open{opacity:1;pointer-events:auto}
.rf-near-loc-peek.is-holding{
  opacity:0!important;pointer-events:none!important;visibility:hidden;
}
.rf-near-loc-peek-backdrop{
  position:absolute;inset:0;border:0;padding:0;cursor:pointer;
  background:rgba(6,6,12,.42);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);
  transition:background .35s ease,backdrop-filter .35s ease;
}
.rf-near-loc-peek.is-showing-pin .rf-near-loc-peek-backdrop{
  background:rgba(6,6,12,.16);backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0);
}
.rf-near-loc-peek-row{
  position:relative;z-index:1;
  display:flex;align-items:center;justify-content:center;gap:10px;
  max-width:100%;padding:0 8px;box-sizing:border-box;
  pointer-events:none;
}
.rf-near-loc-peek-row > *{pointer-events:auto}
.rf-near-loc-peek-nav{
  flex:0 0 auto;
  width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.22);
  background:rgba(12,12,20,.72);color:#fff;
  display:inline-flex;align-items:center;justify-content:center;
  cursor:pointer;padding:0;font-size:1rem;
  box-shadow:0 8px 22px rgba(0,0,0,.35);
  opacity:0;transform:scale(.82);
  transition:opacity .22s ease,transform .22s ease,background .18s ease,border-color .18s ease;
}
.rf-near-loc-peek.is-open.has-nav .rf-near-loc-peek-nav{
  opacity:1;transform:scale(1);
}
.rf-near-loc-peek-nav[hidden]{display:none!important}
.rf-near-loc-peek-nav:hover{
  background:rgba(255,23,77,.55);border-color:rgba(255,23,77,.65);
}
.rf-near-loc-peek-nav:active{transform:scale(.94)}
.rf-near-loc-peek-nav i{pointer-events:none}
.rf-near-loc-peek-stack{
  display:flex;flex-direction:column;align-items:center;gap:8px;
  flex:0 0 auto;max-width:100%;
}
.rf-near-loc-peek-place{
  position:relative;z-index:2;
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  max-width:min(52vw,220px);
  padding:6px 12px 6px 10px;
  border-radius:999px;
  background:rgba(10,10,16,.88);
  border:1px solid rgba(255,255,255,.2);
  color:#fff;
  font-size:.7rem;font-weight:800;letter-spacing:.01em;
  line-height:1.15;text-align:center;
  box-shadow:0 10px 26px rgba(0,0,0,.4);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  pointer-events:none;
  transform:translateY(6px);opacity:0;
  transition:opacity .22s ease,transform .28s cubic-bezier(.22,1,.36,1);
}
.rf-near-loc-peek.is-open .rf-near-loc-peek-place{opacity:1;transform:none}
.rf-near-loc-peek-place[hidden]{display:none!important}
.rf-near-loc-peek-place i{
  flex:0 0 auto;color:#ff2d55;font-size:.68rem;
  filter:drop-shadow(0 0 6px rgba(255,45,85,.45));
}
.rf-near-loc-peek-place span{
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.rf-near-loc-peek-card{
  position:relative;z-index:1;
  width:min(48vw,196px);height:min(64vw,272px);
  max-width:196px;max-height:272px;
  border-radius:16px;
  background:#101018;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 18px 40px rgba(0,0,0,.45);
  transform:scale(.72);opacity:.55;
  transition:transform .28s cubic-bezier(.22,1,.36,1),opacity .22s ease;
  overflow:hidden;
  touch-action:pan-y;
  cursor:pointer;
  flex:0 0 auto;
}
.rf-near-loc-peek.is-open .rf-near-loc-peek-card{transform:scale(1);opacity:1}
.rf-near-loc-peek-card.is-drag{transition:none;cursor:grabbing}
.rf-explore-near-map-host.is-expanded .rf-near-loc-peek-card{
  width:min(42vw,228px);height:min(58vw,316px);
  max-width:228px;max-height:316px;
}
.rf-near-loc-peek-x{
  position:absolute;top:6px;right:6px;z-index:3;
  width:26px;height:26px;border-radius:50%;border:0;cursor:pointer;
  background:rgba(0,0,0,.45);color:#fff;
  display:inline-flex;align-items:center;justify-content:center;font-size:.75rem;padding:0;
}
.rf-near-loc-peek-stage{
  position:absolute;inset:0;
  display:flex;align-items:center;justify-content:center;
}
.rf-near-loc-peek-stage.is-from-right .rf-near-loc-peek-media{animation:rfNearPeekInRight .28s ease}
.rf-near-loc-peek-stage.is-from-left .rf-near-loc-peek-media{animation:rfNearPeekInLeft .28s ease}
@keyframes rfNearPeekInRight{from{transform:translateX(28%);opacity:.35}to{transform:none;opacity:1}}
@keyframes rfNearPeekInLeft{from{transform:translateX(-28%);opacity:.35}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){
  .rf-near-loc-peek,.rf-near-loc-peek-card,.rf-near-loc-peek-nav,.rf-near-loc-peek-backdrop{transition:none}
  .rf-near-loc-peek-stage.is-from-right .rf-near-loc-peek-media,
  .rf-near-loc-peek-stage.is-from-left .rf-near-loc-peek-media{animation:none}
}
@media (max-width:380px){
  .rf-near-loc-peek-row{gap:6px;padding:0 4px}
  .rf-near-loc-peek-nav{width:36px;height:36px;font-size:.9rem}
}
.rf-near-loc-peek-media{position:absolute;inset:0}
.rf-near-loc-peek-img,
.rf-near-loc-peek-video{
  width:100%;height:100%;object-fit:cover;display:block;background:#14141c;
}
.rf-near-loc-peek-empty{
  display:block;width:100%;height:100%;
  background:linear-gradient(160deg,#2a2a36,#14141c);
}
.rf-near-loc-peek-avatar{
  position:absolute;left:50%;bottom:28px;transform:translateX(-50%);
  width:28px;height:28px;border-radius:50%;object-fit:cover;
  border:2px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.4);background:#222;z-index:2;
}
.rf-near-loc-peek-meta{
  position:absolute;left:8px;right:8px;bottom:8px;z-index:2;
  font-size:.62rem;font-weight:800;color:#f4f4fa;text-align:center;
  text-shadow:0 1px 4px rgba(0,0,0,.65);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  pointer-events:none;
}
.rf-near-loc-peek-dots{
  position:absolute;left:0;right:0;bottom:2px;z-index:2;
  display:flex;justify-content:center;gap:4px;pointer-events:none;
  min-height:8px;
}
.rf-near-loc-peek-dots.is-count{
  font-size:.55rem;font-weight:800;color:rgba(255,255,255,.75);
  bottom:22px;text-shadow:0 1px 3px rgba(0,0,0,.6);
}
.rf-near-loc-peek-dot{
  width:5px;height:5px;border-radius:50%;
  background:rgba(255,255,255,.35);
}
.rf-near-loc-peek-dot.is-on{background:#fff}
html[data-rf-theme="light"] .rf-near-loc-peek-backdrop{background:rgba(20,20,28,.28)}
html[data-rf-theme="light"] .rf-near-loc-peek.is-showing-pin .rf-near-loc-peek-backdrop{background:rgba(20,20,28,.1)}
html[data-rf-theme="light"] .rf-near-loc-peek-card{
  background:#fff;border-color:rgba(0,0,0,.1);
  box-shadow:0 16px 36px rgba(0,0,0,.18);
}
html[data-rf-theme="light"] .rf-near-loc-peek-nav{
  background:rgba(255,255,255,.92);color:#1a1a24;border-color:rgba(0,0,0,.12);
}
html[data-rf-theme="light"] .rf-near-loc-peek-meta{color:#1a1a24;text-shadow:none}
html[data-rf-theme="light"] .rf-near-loc-peek-place{
  background:rgba(255,255,255,.94);color:#1a1a24;border-color:rgba(0,0,0,.1);
  box-shadow:0 10px 24px rgba(0,0,0,.14);
}
body.rf-rednote-tab-near .rf-explore-near-map-host:not([hidden]){display:block}
.rf-explore-near-map-bar{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:8px 12px;font-size:.74rem;font-weight:800;color:#ececf4;
  background:rgba(255,255,255,.04);border-bottom:1px solid rgba(255,255,255,.06);
  position:relative;
}
.rf-explore-near-map-bar-actions{
  display:inline-flex;align-items:center;gap:6px;flex-shrink:0;
}
.rf-explore-near-map-help{
  width:30px;height:30px;border-radius:999px;border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);color:#f2f2f8;display:inline-flex;align-items:center;justify-content:center;
  cursor:pointer;font-family:inherit;padding:0;transition:background .18s ease,border-color .18s ease,color .18s ease;
}
.rf-explore-near-map-help:hover{background:rgba(255,23,77,.16);border-color:rgba(255,23,77,.35);color:#fff}
.rf-explore-near-map-help i{font-size:.82rem;opacity:.92;pointer-events:none}
.rf-explore-near-map-expand{
  display:inline-flex;align-items:center;gap:6px;flex-shrink:0;
  padding:6px 11px;border-radius:999px;border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);color:#f2f2f8;font-size:.7rem;font-weight:800;
  cursor:pointer;font-family:inherit;transition:background .18s ease,border-color .18s ease;
}
.rf-explore-near-map-expand:hover{background:rgba(255,23,77,.16);border-color:rgba(255,23,77,.35)}
.rf-explore-near-map-expand i{font-size:.78rem;opacity:.92}
.rf-explore-near-map-host{position:relative}
.rf-near-hot-tour-chip{
  position:absolute;left:50%;top:46px;transform:translateX(-50%) translateY(-6px) scale(.92);
  z-index:20;display:inline-flex;align-items:center;gap:7px;
  padding:7px 12px;border-radius:999px;pointer-events:none;
  background:rgba(12,12,18,.88);border:1px solid rgba(255,140,60,.35);
  color:#fff7ed;font-size:.72rem;font-weight:800;letter-spacing:.01em;
  box-shadow:0 10px 28px rgba(0,0,0,.4);opacity:0;
  transition:opacity .22s ease,transform .28s cubic-bezier(.22,1,.36,1);
}
.rf-near-hot-tour-chip.is-on{opacity:1;transform:translateX(-50%) translateY(0) scale(1)}
.rf-near-hot-tour-chip i{color:#fb923c;font-size:.78rem}
/* Dica do passeio muda de cara conforme a categoria (comida = sanduiche). */
.rf-near-hot-tour-chip[data-topic="comida"]{
  border-color:rgba(251,191,36,.55);
  background:linear-gradient(135deg,rgba(28,18,8,.94),rgba(12,12,18,.9));
}
.rf-near-hot-tour-chip[data-topic="comida"] i{color:#fbbf24}
.rf-near-hot-tour-chip[data-topic="vibenight"]{
  border-color:rgba(167,139,250,.5);
  background:linear-gradient(135deg,rgba(24,16,40,.94),rgba(12,12,18,.9));
}
.rf-near-hot-tour-chip[data-topic="vibenight"] i{color:#c4b5fd}
.rf-near-hot-tour-chip[data-topic="role"] i{color:#67e8f9}
.rf-near-hot-tour-chip[data-topic="pets"] i{color:#fdba74}
.rf-near-hot-tour-chip[data-topic="treino"] i{color:#86efac}
.rf-near-hot-tour-chip[data-topic="viagem"] i{color:#93c5fd}
.rf-near-hot-tour-chip[data-topic="beleza"] i{color:#f9a8d4}
.rf-near-hot-tour-chip[data-topic="compras"] i{color:#fcd34d}
.rf-near-empty-hint{
  position:absolute;left:50%;bottom:10px;transform:translateX(-50%) translateY(6px);
  z-index:18;display:inline-flex;align-items:center;gap:7px;max-width:min(92%,340px);
  padding:7px 12px;border-radius:999px;pointer-events:none;
  background:rgba(12,12,18,.88);border:1px solid rgba(255,255,255,.12);
  color:#d7d8e2;font-size:.7rem;font-weight:750;letter-spacing:.01em;
  box-shadow:0 10px 24px rgba(0,0,0,.38);opacity:0;
  transition:opacity .22s ease,transform .28s cubic-bezier(.22,1,.36,1);
}
.rf-near-empty-hint[hidden]{display:none!important}
.rf-near-empty-hint.is-on{opacity:1;transform:translateX(-50%) translateY(0)}
.rf-near-empty-hint i{color:#9aa0b0;font-size:.78rem;flex:0 0 auto}
.rf-near-empty-hint strong{color:#fff;font-weight:850}
html[data-rf-theme="light"] .rf-near-empty-hint{
  background:rgba(255,255,255,.94);color:#3a3a48;border-color:rgba(0,0,0,.1);
}
html[data-rf-theme="light"] .rf-near-empty-hint strong{color:#1a1a24}
.rf-near-map-help{
  position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:18px;
}
.rf-near-map-help[hidden]{display:none!important}
.rf-near-map-help-backdrop{
  position:absolute;inset:0;border:0;padding:0;margin:0;cursor:pointer;
  background:rgba(4,4,8,.62);backdrop-filter:blur(4px);
}
.rf-near-map-help-card{
  position:relative;z-index:1;width:min(420px,100%);
  border-radius:18px;border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(165deg,#17171f 0%,#0e0e14 100%);
  box-shadow:0 24px 60px rgba(0,0,0,.5);padding:16px 16px 14px;color:#ececf4;
}
.rf-near-map-help-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}
.rf-near-map-help-head h3{margin:0;font-size:1rem;font-weight:900;letter-spacing:-.02em}
.rf-near-map-help-x{
  width:32px;height:32px;border-radius:999px;border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);color:#fff;display:grid;place-items:center;cursor:pointer;flex:0 0 auto;
}
.rf-near-map-help-body{font-size:.84rem;line-height:1.45;color:#c9cad8}
.rf-near-map-help-body p{margin:0 0 10px}
.rf-near-map-help-body ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.rf-near-map-help-body li{display:flex;align-items:flex-start;gap:9px}
.rf-near-map-help-body li > i{width:16px;margin-top:2px;color:#fff;flex:0 0 auto}
.rf-near-map-help-body li > i.fa-fire{color:#ffc23d}
.rf-near-map-help-body li > i.fa-location-dot{color:#ff174d}
.rf-near-map-help-body li > i.fa-location-crosshairs{color:#38bdf8}
.rf-near-map-help-foot{margin-top:12px!important;font-size:.78rem;color:#9aa0b0}
body.rf-near-map-help-open{overflow:hidden}
html[data-rf-theme="light"] .rf-explore-near-map-help{background:#f3f3f8;color:#1e1e28;border-color:rgba(0,0,0,.1)}
html[data-rf-theme="light"] .rf-near-map-help-card{background:#fff;border-color:rgba(0,0,0,.08);color:#1a1a24}
html[data-rf-theme="light"] .rf-near-map-help-body{color:#4a4a58}
html[data-rf-theme="light"] .rf-near-map-help-x{background:#f3f3f8;color:#1a1a24;border-color:rgba(0,0,0,.1)}
html[data-rf-theme="light"] .rf-near-hot-tour-chip{background:rgba(255,255,255,.94);color:#1a1a24;border-color:rgba(234,88,12,.28)}
html[data-rf-theme="light"] .rf-near-hot-tour-chip[data-topic="comida"]{
  background:linear-gradient(135deg,rgba(255,251,235,.98),rgba(255,255,255,.94));
  border-color:rgba(245,158,11,.45);
}
html[data-rf-theme="light"] .rf-near-hot-tour-chip[data-topic="vibenight"]{
  background:linear-gradient(135deg,rgba(245,243,255,.98),rgba(255,255,255,.94));
  border-color:rgba(139,92,246,.35);
}
.rf-explore-near-map-host.is-expanded{
  box-shadow:0 18px 48px rgba(0,0,0,.42);
}
.rf-explore-near-map{height:168px;width:100%;background:#14141c;transition:height .28s ease;touch-action:none;-webkit-user-select:none;user-select:none;position:relative;overflow:hidden}
.rf-explore-near-map-host.is-expanded .rf-explore-near-map{height:min(52vh,440px)}
@media(min-width:761px){
  .rf-explore-near-map{height:210px}
  .rf-explore-near-map-host.is-expanded .rf-explore-near-map{height:min(58vh,520px)}
}
/* Abertura leve do mapa (reel → local): so o mapa ampliado, sem grade/filtros de Dicas */
body.rf-near-map-fly #resultados,
body.rf-near-map-fly #rfExploreResultsPosts,
body.rf-near-map-fly .rf-explore-pane > .rf-section,
body.rf-near-map-fly .rf-explore-filters,
body.rf-near-map-fly .rf-rednote-feed-tabs,
body.rf-near-map-fly .rf-inspire-topic-rail,
body.rf-near-map-fly .rf-explore-search-trigger,
body.rf-near-map-fly .rf-filter-active-hint,
body.rf-near-map-fly .rf-loc-pill,
body.rf-near-map-fly #rfRednoteNearHint,
body.rf-near-map-fly .rf-loc-search-overlay,
body.rf-near-map-fly #rfLocSearchOverlay,
body.rf-near-map-fly [data-rf-loc-search-overlay]{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
body.rf-near-map-fly .rf-explore-near-map-host:not([hidden]){
  display:block!important;
  margin:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  position:relative;
  z-index:6;
}
body.rf-near-map-fly .rf-explore-near-map-expand{display:none!important}
.rf-explore-near-map-close{
  display:none;align-items:center;gap:6px;flex-shrink:0;
  padding:6px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.16);
  background:rgba(255,23,77,.88);color:#fff;font-size:.72rem;font-weight:900;
  cursor:pointer;font-family:inherit;
}
.rf-explore-near-map-close[hidden]{display:none!important}
body.rf-near-map-fly .rf-explore-near-map-close{display:inline-flex!important}
.rf-explore-near-map-close i{font-size:.85rem}
.rf-explore-near-map-close:active{transform:scale(.96)}
body.rf-near-map-fly .rf-explore-near-map-bar{
  position:sticky;top:0;z-index:8;
  background:rgba(10,10,16,.94);backdrop-filter:blur(8px);
}
/* Ja ampliado no 1o paint — nao espera o botao Ampliar */
body.rf-near-map-fly .rf-explore-near-map-host .rf-explore-near-map,
body.rf-near-map-fly .rf-explore-near-map-host.is-expanded .rf-explore-near-map{
  height:calc(100dvh - var(--rf-bottom-nav-h, 58px) - 44px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px))!important;
  max-height:none!important;
  min-height:62vh!important;
  transition:none!important;
}
@media(min-width:761px){
  body.rf-near-map-fly .rf-explore-near-map-host .rf-explore-near-map,
  body.rf-near-map-fly .rf-explore-near-map-host.is-expanded .rf-explore-near-map{
    height:calc(100dvh - 72px)!important;
    min-height:70vh!important;
  }
}
.rf-explore-near-map .leaflet-container{
  height:100%!important;width:100%!important;
  background:#14141c;font:inherit;cursor:grab;touch-action:none;
}
.rf-explore-near-map .leaflet-container.leaflet-drag-target,
.rf-explore-near-map .leaflet-dragging .leaflet-container{cursor:grabbing}
.rf-explore-near-map .leaflet-marker-pane{
  pointer-events:auto!important;z-index:650!important;
}
.rf-explore-near-map .leaflet-marker-icon,
.rf-explore-near-map .rf-explore-near-pin{
  pointer-events:auto!important;cursor:pointer;
}
.rf-explore-near-map .leaflet-popup-pane{pointer-events:auto!important;z-index:700}
.rf-explore-near-map .leaflet-popup,
.rf-explore-near-map .leaflet-popup-content-wrapper,
.rf-explore-near-map .rf-near-pop,
.rf-explore-near-map .rf-near-pop-btn{pointer-events:auto!important}
.rf-explore-near-map .rf-near-pop-btn{cursor:pointer;position:relative;z-index:2}
.rf-explore-near-map .leaflet-overlay-pane,
.rf-explore-near-map .leaflet-shadow-pane{pointer-events:none}
.rf-explore-near-map .leaflet-tile-pane{filter:saturate(.78) brightness(.82)}
.rf-explore-near-map .leaflet-control-attribution{font-size:9px;background:rgba(0,0,0,.45);color:#9aa0b0}
/* Controles: + / - e abaixo globo (todos) + cidade — voo suave no mapa */
.rf-explore-near-map .leaflet-control-zoom a,
.rf-explore-near-map .rf-near-cam-control a,
.rf-explore-near-map .rf-near-locate-control a{
  width:30px;height:30px;line-height:30px;font-size:14px;
  background:rgba(16,16,24,.92);color:#f2f2f8;border-bottom-color:rgba(255,255,255,.1);
  display:flex;align-items:center;justify-content:center;
}
.rf-explore-near-map .leaflet-control-zoom a:hover,
.rf-explore-near-map .rf-near-cam-control a:hover,
.rf-explore-near-map .rf-near-locate-control a:hover{
  background:rgba(255,23,77,.22);color:#fff;
}
.rf-explore-near-map .rf-near-locate-control{
  margin-top:8px;border:0;box-shadow:0 2px 10px rgba(0,0,0,.35);
  border-radius:6px;overflow:hidden;
}
.rf-explore-near-map .rf-near-locate-control a{
  text-decoration:none;border-bottom:0;color:#7dd3fc;
}
.rf-explore-near-map .rf-near-locate-control a.is-on,
.rf-explore-near-map .rf-near-locate-control a:hover{
  background:rgba(56,189,248,.22);color:#e0f2fe;
}
.rf-explore-near-map .rf-near-locate-control a.is-loading{
  opacity:.65;pointer-events:none;
}
.rf-explore-near-map .rf-near-locate-control a.is-loading i{
  animation:rfNearLocateSpin .7s linear infinite;
}
.rf-explore-near-map .rf-near-locate-control i{font-size:.82rem;line-height:1;pointer-events:none}
@keyframes rfNearLocateSpin{to{transform:rotate(360deg)}}
.rf-explore-near-map-host:not(.is-expanded) .rf-near-locate-control a{
  width:28px;height:28px;line-height:28px;
}
.rf-explore-near-map-host:not(.is-expanded) .rf-near-locate-control{margin-top:6px}
html[data-rf-theme="light"] .rf-explore-near-map .rf-near-locate-control a{
  background:rgba(255,255,255,.96);color:#0284c7;border-bottom-color:rgba(0,0,0,.08);
}
html[data-rf-theme="light"] .rf-explore-near-map .rf-near-locate-control a:hover,
html[data-rf-theme="light"] .rf-explore-near-map .rf-near-locate-control a.is-on{
  background:rgba(14,165,233,.14);color:#0369a1;
}
.rf-explore-near-map .rf-near-cam-control{
  margin-top:8px;border:0;box-shadow:0 2px 10px rgba(0,0,0,.35);
  border-radius:6px;overflow:hidden;
}
/* Categorias (sanduiche/lua/sol) — direita do mapa, longe do carrossel */
.rf-explore-near-map-host .rf-near-topic-control{
  position:absolute;right:8px;top:42%;transform:translateY(-50%);
  z-index:640;display:flex;flex-direction:column;gap:0;
  border:0;border-radius:10px;overflow:hidden;
  box-shadow:0 2px 12px rgba(0,0,0,.38);
  max-height:min(38vh,220px);overflow-y:auto;
  pointer-events:auto;
}
.rf-explore-near-map-host .rf-near-topic-control[hidden]{display:none!important}
.rf-explore-near-map-host .rf-near-topic-control .rf-near-topic-btn,
.rf-explore-near-map-host .rf-near-topic-control a{
  width:32px;height:32px;padding:0;margin:0;border:0;
  border-bottom:1px solid rgba(255,255,255,.1);
  background:rgba(16,16,24,.92);color:#f2f2f8;
  display:flex;align-items:center;justify-content:center;
  text-decoration:none;cursor:pointer;appearance:none;-webkit-appearance:none;
}
.rf-explore-near-map-host .rf-near-topic-control .rf-near-topic-btn:last-child,
.rf-explore-near-map-host .rf-near-topic-control a:last-child{border-bottom:0}
.rf-explore-near-map-host .rf-near-topic-control .rf-near-topic-btn[hidden],
.rf-explore-near-map-host .rf-near-topic-control a[hidden]{display:none!important}
.rf-explore-near-map-host .rf-near-topic-control i{font-size:.78rem;line-height:1;pointer-events:none}
.rf-explore-near-map-host .rf-near-topic-control .rf-near-topic-btn:hover,
.rf-explore-near-map-host .rf-near-topic-control a:hover{
  background:rgba(255,23,77,.18);color:#fff;
}
.rf-explore-near-map-host .rf-near-topic-control .rf-near-topic-btn.is-on,
.rf-explore-near-map-host .rf-near-topic-control a.is-on{
  background:rgba(249,115,22,.28);color:#ffe08a;
  box-shadow:inset 0 0 0 1px rgba(255,194,61,.45);
}
.rf-explore-near-map-host .rf-near-topic-control [data-rf-near-topic="comida"]{color:#fbbf24}
.rf-explore-near-map-host .rf-near-topic-control [data-rf-near-topic="vibenight"]{color:#c4b5fd}
.rf-explore-near-map-host .rf-near-topic-control [data-rf-near-topic="role"]{color:#fde68a}
.rf-explore-near-map-host .rf-near-topic-control [data-rf-near-topic="viagem"]{color:#93c5fd}
.rf-explore-near-map-host .rf-near-topic-control [data-rf-near-topic="pets"]{color:#fdba74}
.rf-explore-near-map-host .rf-near-topic-control [data-rf-near-topic="treino"]{color:#86efac}
.rf-explore-near-map-host:not(.is-expanded) .rf-near-topic-control{
  top:38%;max-height:110px;
}
.rf-explore-near-map-host:not(.is-expanded) .rf-near-topic-control .rf-near-topic-btn,
.rf-explore-near-map-host:not(.is-expanded) .rf-near-topic-control a{
  width:28px;height:28px;
}
html[data-rf-theme="light"] .rf-explore-near-map-host .rf-near-topic-control .rf-near-topic-btn,
html[data-rf-theme="light"] .rf-explore-near-map-host .rf-near-topic-control a{
  background:rgba(255,255,255,.96);color:#1a1a24;border-bottom-color:rgba(0,0,0,.08);
}
html[data-rf-theme="light"] .rf-explore-near-map-host .rf-near-topic-control .rf-near-topic-btn.is-on,
html[data-rf-theme="light"] .rf-explore-near-map-host .rf-near-topic-control a.is-on{
  background:rgba(249,115,22,.16);color:#c2410c;
}
.rf-explore-near-map .rf-near-cam-control a{
  border-bottom:1px solid rgba(255,255,255,.1);text-decoration:none;
}
.rf-explore-near-map .rf-near-cam-control a:last-child{border-bottom:0}
.rf-explore-near-map .rf-near-cam-control i{font-size:.78rem;line-height:1;pointer-events:none}
.rf-explore-near-map .rf-near-cam-control a.rf-near-cam-hot[hidden]{display:none!important}
.rf-explore-near-map .rf-near-cam-control a.rf-near-cam-hot{
  color:#fb923c;
  position:relative;
}
.rf-explore-near-map .rf-near-cam-control a.rf-near-cam-hot.is-touring,
.rf-explore-near-map .rf-near-cam-control a.rf-near-cam-hot:hover{
  background:rgba(249,115,22,.22);color:#ffd7a8;
}
/* Pisca sempre que o usuario estiver na cidade (mesmo no passeio). */
.rf-explore-near-map .rf-near-cam-control a.rf-near-cam-hot.is-invite{
  animation:rfNearCamHotBlink 1.15s ease-in-out infinite;
  color:#ffc23d;
}
.rf-explore-near-map .rf-near-cam-control a.rf-near-cam-hot.is-invite i{
  filter:drop-shadow(0 0 6px rgba(255,194,61,.85));
}
.rf-explore-near-map .rf-near-cam-control a.rf-near-cam-hot.is-invite::after{
  content:'';
  position:absolute;inset:-3px;border-radius:inherit;pointer-events:none;
  border:1.5px solid rgba(255,194,61,.55);
  animation:rfNearCamHotRing 1.15s ease-in-out infinite;
}
.rf-explore-near-map .rf-near-cam-control a.rf-near-cam-hot.is-touring{
  /* Continua piscando; so reforca o fundo ativo. */
  background:rgba(249,115,22,.22);
}
@keyframes rfNearCamHotBlink{
  0%,100%{opacity:1;transform:scale(1);background:rgba(16,16,24,.92)}
  45%{opacity:1;transform:scale(1.12);background:rgba(249,115,22,.38);color:#ffe08a}
  70%{opacity:.72;transform:scale(.96)}
}
@keyframes rfNearCamHotRing{
  0%,100%{opacity:.85;transform:scale(1)}
  50%{opacity:.25;transform:scale(1.18)}
}
@media (prefers-reduced-motion:reduce){
  .rf-explore-near-map .rf-near-cam-control a.rf-near-cam-hot.is-invite{animation:none;background:rgba(249,115,22,.22)}
  .rf-explore-near-map .rf-near-cam-control a.rf-near-cam-hot.is-invite::after{animation:none;opacity:.55}
}
html[data-rf-theme="light"] .rf-explore-near-map .rf-near-cam-control a.rf-near-cam-hot.is-invite{
  color:#ea580c;
}
.rf-explore-near-map .rf-explore-near-pin.rf-near-tour-pulse{
  animation:rfNearTourPulse .9s ease-in-out 2;
  filter:drop-shadow(0 0 8px rgba(251,146,60,.85));
}
/* Pinos no mini mapa: cor leve por categoria (comida = sanduiche dourado). */
.rf-explore-near-map .rf-explore-near-pin.is-topic-comida i{color:#fbbf24}
.rf-explore-near-map .rf-explore-near-pin.is-topic-vibenight i{color:#c4b5fd}
.rf-explore-near-map .rf-explore-near-pin.is-topic-role i{color:#67e8f9}
.rf-explore-near-map .rf-explore-near-pin.is-topic-pets i{color:#fdba74}
.rf-explore-near-map .rf-explore-near-pin.is-topic-treino i{color:#86efac}
.rf-explore-near-map .rf-explore-near-pin.is-topic-viagem i{color:#93c5fd}
.rf-explore-near-map .rf-explore-near-pin.is-topic-beleza i{color:#f9a8d4}
.rf-explore-near-map .rf-explore-near-pin.is-topic-compras i{color:#fcd34d}
@keyframes rfNearTourPulse{
  0%,100%{transform:scale(1)}
  45%{transform:scale(1.28)}
}
/* Bandeira do pais (emoji) — logo acima do botao cidade / Open State Map */
.rf-explore-near-map .rf-near-cam-control a.rf-near-cam-flag{
  font-size:1.05rem;line-height:30px;letter-spacing:0;
  cursor:default;user-select:none;-webkit-user-select:none;
}
.rf-explore-near-map .rf-near-cam-control a.rf-near-cam-flag[hidden]{display:none!important}
.rf-explore-near-map .rf-near-cam-control a.rf-near-cam-flag:hover{
  background:rgba(16,16,24,.92);color:inherit;
}
/* Mini mapa compacto: 3 botoes (globo+bandeira+cidade) cabem na altura baixa */
.rf-explore-near-map-host:not(.is-expanded) .rf-near-cam-control a,
.rf-explore-near-map-host:not(.is-expanded) .leaflet-control-zoom a{
  width:28px;height:28px;line-height:28px;
}
.rf-explore-near-map-host:not(.is-expanded) .rf-near-cam-control{
  margin-top:6px;
}
.rf-explore-near-map-host:not(.is-expanded) .rf-near-cam-control a.rf-near-cam-flag{
  font-size:1rem;line-height:28px;
}
html[data-rf-theme="light"] .rf-explore-near-map .rf-near-cam-control a.rf-near-cam-flag:hover{
  background:rgba(255,255,255,.96);color:inherit;
}
html[data-rf-theme="light"] .rf-explore-near-map .leaflet-control-zoom a,
html[data-rf-theme="light"] .rf-explore-near-map .rf-near-cam-control a{
  background:rgba(255,255,255,.96);color:#1a1a24;border-bottom-color:rgba(0,0,0,.08);
}
html[data-rf-theme="light"] .rf-explore-near-map .leaflet-control-zoom a:hover,
html[data-rf-theme="light"] .rf-explore-near-map .rf-near-cam-control a:hover{
  background:rgba(255,23,77,.12);color:#c41040;
}
.rf-explore-near-pin{
  color:#ff174d;font-size:1.35rem;line-height:1;text-shadow:0 2px 8px rgba(0,0,0,.65);
  display:grid;place-items:center;
}
.rf-explore-near-pin.is-new{color:#ffc23d;text-shadow:0 0 10px rgba(255,194,61,.75),0 2px 8px rgba(0,0,0,.65)}
.rf-explore-near-pin.is-new i{position:relative;z-index:1}
.rf-near-pin-pulse{
  position:absolute;left:50%;top:42%;width:30px;height:30px;margin:-15px 0 0 -15px;border-radius:50%;
  border:2px solid rgba(255,194,61,.55);pointer-events:none;
  animation:rfNearPinPulse 2.4s ease-out infinite;
}
.rf-explore-near-pin.is-hot .rf-near-pin-pulse{
  border-color:rgba(255,194,61,.9);box-shadow:0 0 12px rgba(255,194,61,.55);animation-duration:1.5s;
}
.rf-explore-near-pin.has-heat{position:relative}
.rf-near-heat-badge{
  position:absolute;top:-6px;right:-8px;z-index:2;min-width:16px;height:16px;padding:0 4px;
  border-radius:999px;background:#ff174d;color:#fff;font-size:9px;font-weight:900;line-height:16px;
  text-align:center;box-shadow:0 2px 8px rgba(255,23,77,.45);pointer-events:none
}
.rf-near-pop-heat{margin:4px 0 0;font-size:.72rem;font-weight:800;color:#ff8ab3}
.rf-near-pop-heat i{margin-right:4px;color:#ffc23d}
@keyframes rfNearPinPulse{
  0%{transform:scale(.45);opacity:.95}
  100%{transform:scale(1.7);opacity:0}
}
@media (prefers-reduced-motion:reduce){.rf-near-pin-pulse{animation:none;opacity:.6}}
.rf-near-gpin-lbl{position:absolute;bottom:27px;left:50%;transform:translateX(-50%);z-index:1;white-space:nowrap;
  max-width:110px;overflow:hidden;text-overflow:ellipsis;padding:1px 5px;border-radius:999px;
  background:rgba(13,13,20,.88);color:#fff;font-family:inherit;font-size:9px;font-weight:700;line-height:13px;
  text-shadow:none;pointer-events:none}
.rf-near-gpin-lbl.is-flag{
  display:inline-flex;align-items:center;gap:4px;
  padding:2px 5px;max-width:140px;line-height:1;
  background:rgba(13,13,20,.82);backdrop-filter:blur(4px);
}
/* Pais no mini mapa: so bandeira (sem pino) */
.rf-near-gpin-lbl.is-flag-only{
  position:static;bottom:auto;left:auto;transform:none;
  padding:0;gap:3px;max-width:none;
  background:transparent;backdrop-filter:none;box-shadow:none;
}
.rf-explore-near-pin.rf-near-gpin.is-lvl-country.flag-only{
  font-size:0!important;color:transparent!important;text-shadow:none!important;
  width:32px!important;height:24px!important;
  display:flex!important;align-items:center;justify-content:center;
}
.rf-explore-near-pin.rf-near-gpin.is-lvl-country.flag-only .fa-location-dot{display:none!important}
.rf-explore-near-pin.rf-near-gpin.is-lvl-country.flag-only .rf-near-gpin-lbl.is-flag-only .rf-near-flag{
  width:28px;height:20px;border-radius:4px;
  box-shadow:0 1px 4px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.22);
}
.rf-near-gpin-lbl .rf-near-flag{
  display:block;width:22px;height:16px;object-fit:cover;
  border-radius:3px;box-shadow:0 0 0 1px rgba(255,255,255,.18);
  pointer-events:none;
}
.rf-near-gpin-lbl .rf-near-gpin-n{
  font-size:9px;font-weight:800;color:#fff;letter-spacing:.02em;
}
.rf-near-gpin-lbl.is-flag-only .rf-near-gpin-n{
  position:absolute;right:-6px;top:-7px;
  min-width:14px;height:14px;padding:0 3px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  background:#15803d;color:#fff;font-size:8px;line-height:1;
  box-shadow:0 1px 3px rgba(0,0,0,.4);
}
html[data-rf-theme="light"] .rf-near-gpin-lbl{background:rgba(255,255,255,.92);color:#12121a}
html[data-rf-theme="light"] .rf-near-gpin-lbl.is-flag{background:rgba(255,255,255,.92)}
html[data-rf-theme="light"] .rf-near-gpin-lbl.is-flag-only{background:transparent}
html[data-rf-theme="light"] .rf-near-gpin-lbl .rf-near-gpin-n{color:#12121a}
html[data-rf-theme="light"] .rf-near-gpin-lbl.is-flag-only .rf-near-gpin-n{color:#fff}
.rf-explore-near-pin.rf-near-gpin.is-lvl-continent{font-size:1.5rem;color:#6ec8ff}
/* Verde original dos pinos de pais (fallback sem bandeira) */
.rf-explore-near-pin.rf-near-gpin.is-lvl-country{font-size:1.4rem;color:#15803d;text-shadow:0 1px 6px rgba(0,0,0,.55),0 0 10px rgba(21,128,61,.45)}
.rf-explore-near-pin.rf-near-gpin.is-lvl-country.has-flag{color:#15803d}
.rf-explore-near-pin.rf-near-gpin.is-lvl-uf{font-size:1.35rem;color:#ff6b9a}
.rf-explore-near-pin.rf-near-gpin.is-lvl-city{font-size:1.32rem;color:#ffc23d}
.rf-explore-near-pin.rf-near-gpin.is-lvl-zone{font-size:1.28rem;color:#ff174d}
.rf-explore-near-pin.rf-near-gpin.is-lvl-continent .rf-near-gpin-lbl,
.rf-explore-near-pin.rf-near-gpin.is-lvl-country .rf-near-gpin-lbl,
.rf-explore-near-pin.rf-near-gpin.is-lvl-uf .rf-near-gpin-lbl{max-width:120px;font-size:10px;font-weight:800;letter-spacing:.02em}
.rf-explore-near-pin.rf-near-gpin.is-lvl-country .rf-near-gpin-lbl.is-flag{max-width:140px;font-size:inherit;font-weight:600;letter-spacing:0}
.rf-explore-near-pin.rf-near-gpin.is-lvl-country .rf-near-gpin-lbl.is-flag-only{max-width:none;position:relative}.rf-near-new-count{
  display:inline-flex;align-items:center;gap:4px;margin-left:6px;padding:1px 7px;border-radius:999px;
  background:rgba(255,194,61,.14);color:#ffc23d;font-weight:800;white-space:nowrap
}
.rf-near-new-count i{width:6px;height:6px;border-radius:50%;background:#ffc23d;box-shadow:0 0 6px #ffc23d}
html[data-rf-theme="light"] .rf-near-new-count{background:rgba(217,149,0,.12);color:#b77900}
html[data-rf-theme="light"] .rf-near-new-count i{background:#d99500;box-shadow:none}
.rf-explore-near-you{
  width:28px;height:28px;display:grid;place-items:center;
  position:relative;pointer-events:none;background:transparent!important;border:0!important;
}
.rf-explore-near-you-aura{
  position:absolute;left:50%;top:50%;width:16px;height:16px;margin:-8px 0 0 -8px;
  border-radius:50%;
  background:rgba(14,165,233,.32);
  box-shadow:0 0 0 0 rgba(14,165,233,.55);
  animation:rfNearYouPulse 2.2s ease-out infinite;
}
.rf-explore-near-you-dot{
  position:relative;z-index:1;
  width:16px;height:16px;border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #7dd3fc 0%, #0ea5e9 48%, #0284c7 100%);
  border:3px solid #fff;
  box-sizing:border-box;
  box-shadow:
    0 0 0 4px rgba(14,165,233,.2),
    0 2px 8px rgba(2,132,199,.45);
}
@keyframes rfNearYouPulse{
  0%{transform:scale(1);box-shadow:0 0 0 0 rgba(14,165,233,.55);opacity:1}
  70%{transform:scale(2.4);box-shadow:0 0 0 12px rgba(14,165,233,0);opacity:0}
  100%{transform:scale(1);box-shadow:0 0 0 0 rgba(14,165,233,0);opacity:0}
}
@media (prefers-reduced-motion:reduce){
  .rf-explore-near-you-aura{animation:none;opacity:.45}
}
.rf-explore-near-map .leaflet-tooltip.rf-explore-near-tooltip{
  background:transparent;border:0;box-shadow:none;padding:0;margin:0;
  pointer-events:none;
}
.rf-explore-near-map .leaflet-tooltip.rf-explore-near-tooltip::before{display:none}
/* Toque no pino: Ver Local (video da inspiracao) / Ir ao Local (rota) */
.rf-explore-near-map .rf-explore-near-popup .leaflet-popup-content-wrapper{
  background:#0d0d14;color:#f4f4fa;border:1px solid rgba(255,255,255,.14);
  border-radius:14px;box-shadow:0 14px 36px rgba(0,0,0,.6);padding:0;
}
.rf-explore-near-map .rf-explore-near-popup .leaflet-popup-content{margin:0;width:228px!important;font:inherit}
.rf-explore-near-map .rf-explore-near-popup .leaflet-popup-tip{background:#0d0d14;border:1px solid rgba(255,255,255,.14)}
.rf-near-pop{display:grid;grid-template-columns:auto 1fr;gap:8px;padding:8px}
.rf-near-pop-thumb{width:46px;height:46px;border-radius:9px;object-fit:cover;background:#1a1a24;grid-row:1}
.rf-near-pop-info{min-width:0;grid-row:1;align-self:center}
.rf-near-pop-thumb + .rf-near-pop-info{grid-column:2}
.rf-near-pop-info:first-child{grid-column:1/-1}
.rf-near-pop-place{margin:0;font-size:.7rem;font-weight:800;color:#ff5a7e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rf-near-pop-place span{color:#9aa0b0;font-weight:700}
.rf-near-pop-title{margin:2px 0 0;font-size:.72rem;font-weight:700;line-height:1.25;color:#f4f4fa;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rf-near-pop-acts{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:6px}
.rf-near-pop-btn{
  appearance:none;border:0;border-radius:10px;padding:8px 6px;font:inherit;font-size:.72rem;font-weight:900;
  display:inline-flex;align-items:center;justify-content:center;gap:5px;cursor:pointer;white-space:nowrap
}
.rf-near-pop-btn.is-view{background:#ff174d;color:#fff}
.rf-near-pop-btn.is-go{background:rgba(255,255,255,.1);color:#f4f4fa;border:1px solid rgba(255,255,255,.16)}
.rf-near-pop-btn.is-poi{grid-column:1/-1;background:rgba(255,255,255,.06);color:#f4f4fa;border:1px solid rgba(255,255,255,.12)}
/* Pontos do bot (OpenStreetMap): mesmo pino, um pouco menor que o dos posts */
.rf-explore-near-pin.rf-poi-pin{font-size:1.1rem;color:#8eaecb}
.rf-explore-near-pin.rf-near-gpin.rf-poi-pin{font-size:1.35rem}
html[data-rf-theme="light"] .rf-explore-near-pin.rf-poi-pin{color:#7896b3}
.rf-poi-sheet{position:fixed;inset:0;z-index:2147483300;background:rgba(0,0,0,.55);display:flex;align-items:flex-end;
  justify-content:center;animation:rfPoiFade .18s ease}
.rf-poi-card{position:relative;width:min(520px,100%);max-height:88vh;overflow:auto;background:#0d0d14;color:#f4f4fa;
  border-radius:20px 20px 0 0;border:1px solid rgba(255,255,255,.1);box-shadow:0 -12px 40px rgba(0,0,0,.5);
  padding-bottom:max(14px,env(safe-area-inset-bottom));animation:rfPoiUp .22s cubic-bezier(.2,.9,.2,1)}
@media(min-width:761px){.rf-poi-sheet{align-items:center}.rf-poi-card{border-radius:20px}}
.rf-poi-loading,.rf-poi-empty{padding:40px 20px;text-align:center;color:#9aa0b0}
.rf-poi-close{position:absolute;top:10px;right:10px;z-index:2;width:34px;height:34px;border-radius:50%;border:0;
  background:rgba(0,0,0,.55);color:#fff;font-size:1rem;cursor:pointer}
.rf-poi-photo{position:relative;aspect-ratio:16/9;background:#14141c}
.rf-poi-photo img{width:100%;height:100%;object-fit:cover;display:block}
.rf-poi-photo span{position:absolute;right:8px;bottom:6px;font-size:9px;color:rgba(255,255,255,.8);
  background:rgba(0,0,0,.45);padding:1px 6px;border-radius:6px}
.rf-poi-body{padding:16px 16px 4px}
.rf-poi-cat{display:inline-block;font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#ff5a7e}
.rf-poi-body h3{margin:4px 0 10px;font-size:1.2rem;line-height:1.2}
.rf-poi-line{display:flex;gap:8px;align-items:flex-start;margin:0 0 8px;font-size:.82rem;color:#c9cad8}
.rf-poi-line i{margin-top:3px;color:#9aa0b0;width:14px;text-align:center}
.rf-poi-line ul{margin:0;padding:0;list-style:none}
.rf-poi-desc{font-size:.84rem;line-height:1.45;color:#dcdce6;margin:4px 0 10px;white-space:pre-wrap}
.rf-poi-acts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 8px}
.rf-poi-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 8px;border-radius:12px;
  font-size:.8rem;font-weight:800;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#f4f4fa;
  text-decoration:none;cursor:pointer;font-family:inherit}
.rf-poi-btn.is-go{grid-column:1/-1;background:#ff174d;border-color:#ff174d;color:#fff}
.rf-poi-links{display:flex;gap:14px;flex-wrap:wrap;margin:6px 0 4px;font-size:.8rem}
.rf-poi-links a{color:#c9cad8;text-decoration:none}
.rf-poi-post{width:100%;margin:10px 0 4px;padding:10px;border-radius:12px;border:1px dashed rgba(255,255,255,.2);
  background:transparent;color:#f4f4fa;font-weight:800;font-size:.8rem;cursor:pointer;font-family:inherit}
@keyframes rfPoiFade{from{opacity:0}to{opacity:1}}
@keyframes rfPoiUp{from{transform:translateY(24px);opacity:.6}to{transform:none;opacity:1}}
html[data-rf-theme="light"] .rf-poi-card{background:#fff;color:#12121a;border-color:rgba(0,0,0,.08)}
html[data-rf-theme="light"] .rf-poi-line,html[data-rf-theme="light"] .rf-poi-desc,html[data-rf-theme="light"] .rf-poi-links a{color:#4b4b5a}
html[data-rf-theme="light"] .rf-poi-btn{background:#f4f4f8;color:#12121a;border-color:rgba(0,0,0,.1)}
html[data-rf-theme="light"] .rf-poi-btn.is-go{background:#ff174d;color:#fff}
html[data-rf-theme="light"] .rf-poi-post{color:#12121a;border-color:rgba(0,0,0,.2)}
.rf-near-pop-btn:active{transform:scale(.97)}
html[data-rf-theme="light"] .rf-explore-near-map .rf-explore-near-popup .leaflet-popup-content-wrapper,
html[data-rf-theme="light"] .rf-explore-near-map .rf-explore-near-popup .leaflet-popup-tip{background:#fff;color:#14141c;border-color:rgba(0,0,0,.12)}
html[data-rf-theme="light"] .rf-near-pop-title{color:#14141c}
html[data-rf-theme="light"] .rf-near-pop-btn.is-go{background:rgba(0,0,0,.06);color:#14141c;border-color:rgba(0,0,0,.12)}
.rf-explore-near-tip{
  width:118px;border-radius:14px;overflow:hidden;
  background:#0d0d14;border:1px solid rgba(255,255,255,.14);
  box-shadow:0 14px 36px rgba(0,0,0,.55);
}
.rf-explore-near-tip img{
  display:block;width:100%;height:76px;object-fit:cover;background:#1a1a24;
}
.rf-explore-near-tip p{
  margin:0;padding:7px 9px;font-size:.68rem;font-weight:800;color:#f4f4fa;line-height:1.25;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.rf-explore-near-tip--text p{padding:10px 11px}
html[data-rf-theme="light"] .rf-explore-near-tip{background:#fff;border-color:rgba(0,0,0,.1);box-shadow:0 12px 28px rgba(0,0,0,.18)}
html[data-rf-theme="light"] .rf-explore-near-tip p{color:#1a1a24}
.rf-explore-post-card.is-map-focus{
  outline:2px solid #ff174d;outline-offset:2px;border-radius:16px;
}
html[data-rf-theme="light"] .rf-explore-near-map-host{background:#f4f4f8;border-color:rgba(0,0,0,.08)}
html[data-rf-theme="light"] .rf-explore-near-map-bar{color:#2a2a36;background:#fff;border-bottom-color:rgba(0,0,0,.06)}
html[data-rf-theme="light"] .rf-explore-near-map-expand{background:#f3f3f8;color:#1e1e28;border-color:rgba(0,0,0,.1)}



@media(max-width:820px){
  /* Chrome: menos empilhamento — foco nos cards */
  body.rf-rednote-explore .rf-explore-topbar{
    padding:max(2px,env(safe-area-inset-top)) 0 0;
    margin:0 0 2px;
    border-bottom:0;
  }
  body.rf-rednote-explore .rf-container{padding-left:10px;padding-right:10px}
  body.rf-rednote-explore .rf-rednote-feed-tabs{margin:2px 0 0;gap:4px}
  body.rf-rednote-explore .rf-rednote-feed-tab{
    padding:6px 4px;font-size:.7rem;border-radius:12px;
  }
  body.rf-rednote-explore .rf-rednote-feed-tab i{display:none}
  body.rf-rednote-explore .rf-inspire-topic-rail{
    margin:4px 0 0;padding:0 0 6px;gap:6px;
  }
  body.rf-rednote-explore .rf-inspire-topic-chip{
    padding:6px 10px;font-size:.7rem;
  }
  body.rf-rednote-explore .rf-explore-search-trigger{
    margin:4px 0 2px;min-height:34px;padding:0 12px;font-size:.8rem;
  }
  body.rf-rednote-explore .rf-filter-active-hint{
    margin-top:4px;padding:5px 8px;font-size:.7rem;
  }
  body.rf-rednote-explore .rf-loc-pill{margin-top:4px;padding:4px 8px;font-size:.7rem}

  /* Titulo "Inspiracoes" + contador sao redundantes com as abas */
  body.rf-rednote-explore #resultados > .rf-section-head{display:none!important}
  body.rf-rednote-explore #rfExplorePostsWrap .rf-section-head .rf-view-switch,
  body.rf-rednote-explore #rfExploreRecentSection{display:none!important}

  /* Cards: so capa + titulo + autor (+ local se houver). Categorias ja estao no rail. */
  body.rf-rednote-explore .rf-rednote-topic-pills{display:none!important}
  body.rf-rednote-explore .rf-explore-post-badge .is-rank,
  body.rf-rednote-explore .rf-explore-post-badge .is-hot{display:none!important}
  body.rf-rednote-explore .rf-rednote-cover-headline{
    left:7px;right:7px;bottom:28px;
    font-size:.78rem;line-height:1.2;-webkit-line-clamp:2;
  }
  body.rf-rednote-explore .rf-rednote-cover-meta{
    left:7px;right:7px;bottom:6px;gap:5px;
  }
  body.rf-rednote-explore .rf-rednote-cover-meta img{width:18px;height:18px}
  body.rf-rednote-explore .rf-rednote-cover-meta span{font-size:.66rem}
  body.rf-rednote-explore .rf-rednote-place-pill{
    top:6px;left:6px;max-width:74%;
    padding:3px 7px;font-size:.6rem;
  }
  body.rf-rednote-explore .rf-rednote-carousel-pill{
    top:6px;right:6px;padding:3px 6px;font-size:.6rem;
  }
  body.rf-rednote-explore .rf-explore-post-card.rf-rednote-card .rf-creator-card-shade{
    background:linear-gradient(180deg,transparent 42%,rgba(0,0,0,.55) 72%,rgba(0,0,0,.78) 100%)!important;
  }
  body.rf-rednote-explore #rfExploreResultsPosts.rf-results[data-view="cards"].rf-rednote-masonry{
    column-gap:6px;
  }
  body.rf-rednote-explore #rfExploreResultsPosts.rf-rednote-masonry .rf-explore-post-card{
    margin:0 0 6px;
  }
}



.rf-publish-dest-headline{

  width:100%;border:1px solid rgba(255,46,166,.28);background:rgba(255,23,77,.1);

  color:#ffd0e0;border-radius:12px;padding:10px 12px;font-size:.88rem;margin-bottom:6px;

}
.rf-publish-dest-headline::placeholder{color:rgba(255,208,224,.55)}
.rf-publish-dest-headline:focus{
  outline:none;border-color:rgba(255,46,166,.55);box-shadow:0 0 0 3px rgba(255,23,77,.14);
}

.rf-rednote-publish-hint{

  font-size:.72rem;line-height:1.35;color:#a8a8b8;margin:0 0 12px;

}

.rf-note-carousel-pub{margin:10px 0 4px}
.rf-note-carousel-pub-row{display:flex;align-items:flex-start;gap:10px}
.rf-note-carousel-pub-strip{
  flex:1;display:flex;gap:8px;overflow-x:auto;padding:2px 0;min-height:56px;
  scrollbar-width:none;-webkit-overflow-scrolling:touch;
}
.rf-note-carousel-pub-strip::-webkit-scrollbar{display:none}
.rf-note-carousel-pub-thumb{
  position:relative;flex:0 0 52px;width:52px;height:52px;border-radius:10px;overflow:hidden;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);
  -webkit-user-select:none;user-select:none;touch-action:manipulation;
  transition:transform .12s ease,box-shadow .12s ease,outline-color .12s ease;
}
.rf-note-carousel-pub-thumb img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none;-webkit-user-drag:none}
.rf-note-carousel-pub-thumb.is-hold-remove{
  transform:scale(.92);
  outline:2px solid rgba(255,23,77,.85);
  outline-offset:1px;
  box-shadow:0 0 0 4px rgba(255,23,77,.22);
  animation:rfNoteThumbHoldPulse .48s ease both;
}
@keyframes rfNoteThumbHoldPulse{
  0%{transform:scale(1)}
  55%{transform:scale(.9)}
  100%{transform:scale(.92)}
}
@media (prefers-reduced-motion:reduce){
  .rf-note-carousel-pub-thumb.is-hold-remove{animation:none}
}
.rf-note-carousel-pub-ph{display:grid;place-items:center;width:100%;height:100%;color:#888;font-size:1rem}
.rf-note-carousel-pub-rm{
  position:absolute;top:2px;right:2px;width:22px;height:22px;border:0;border-radius:999px;
  background:rgba(0,0,0,.65);color:#fff;font-size:.65rem;cursor:pointer;display:grid;place-items:center;
  z-index:2;
}
.rf-note-carousel-pub-ord{
  position:absolute;left:2px;top:2px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;
  background:rgba(0,0,0,.7);color:#fff;font-size:.58rem;font-weight:800;display:grid;place-items:center;
}
.rf-note-carousel-pub-mv{
  position:absolute;bottom:2px;width:20px;height:20px;border:0;border-radius:999px;
  background:rgba(0,0,0,.65);color:#fff;font-size:.55rem;cursor:pointer;display:grid;place-items:center;
}
.rf-note-carousel-pub-mv[data-dir="-1"]{left:2px}
.rf-note-carousel-pub-mv[data-dir="1"]{right:2px}
.rf-note-carousel-pub-add{flex-shrink:0;align-self:center;border-radius:999px!important}

.rf-note-place-pub{margin:10px 0 8px;position:relative}
.rf-note-place-pub-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:6px 0}
.rf-note-place-event{display:flex;align-items:flex-start;gap:8px;margin:8px 0 2px;padding:8px 10px;border-radius:12px;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);font-size:.76rem;line-height:1.35;color:#c9cad8;cursor:pointer}
.rf-note-place-event[hidden]{display:none}
.rf-note-place-event input{margin-top:2px;width:16px;height:16px;accent-color:#ff174d;flex-shrink:0}
.rf-note-place-event b{color:#fff}
html[data-rf-theme="light"] .rf-note-place-event{background:#f6f6fa;border-color:rgba(0,0,0,.08);color:#4b4b5a}
html[data-rf-theme="light"] .rf-note-place-event b{color:#12121a}
.rf-note-place-search{display:flex;gap:8px;align-items:flex-start}
.rf-note-place-search .rf-publish-dest-headline{flex:1;margin-bottom:0}
.rf-note-place-search .rf-btn{flex-shrink:0;margin-top:2px}
.rf-note-place-map-wrap{position:relative;margin:8px 0 6px}
.rf-note-place-suggest{
  list-style:none;margin:0;padding:6px;max-height:220px;overflow:auto;
  position:absolute;left:8px;right:8px;top:8px;z-index:8;
  background:rgba(16,16,22,.97);border:1px solid rgba(255,255,255,.14);border-radius:14px;
  box-shadow:0 12px 32px rgba(0,0,0,.5);-webkit-overflow-scrolling:touch;
}
.rf-note-place-suggest-head{
  display:flex;align-items:center;gap:8px;padding:6px 10px 8px;margin:0 0 2px;
  font-size:.68rem;font-weight:900;letter-spacing:.04em;text-transform:uppercase;color:#ff8ab3;
}
.rf-note-place-suggest-head i{opacity:.9}
.rf-note-place-map-hint{
  position:absolute;left:10px;bottom:10px;z-index:4;margin:0;
  font-size:.68rem;font-weight:800;color:#111;background:rgba(255,255,255,.86);
  padding:4px 8px;border-radius:999px;pointer-events:none;
}
.rf-note-place-suggest button{
  width:100%;text-align:left;border:0;background:transparent;color:#fff;
  padding:10px 10px;border-radius:10px;cursor:pointer;display:flex;align-items:flex-start;gap:10px;
}
.rf-note-place-suggest button:hover,.rf-note-place-suggest button:focus-visible{background:rgba(255,255,255,.1);outline:none}
.rf-note-place-suggest-ico{
  flex:0 0 auto;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;
  background:rgba(255,23,77,.16);color:#ff5e8a;font-size:.78rem;margin-top:1px;
}
.rf-note-place-suggest-txt{min-width:0;flex:1}
.rf-note-place-suggest strong{display:block;font-size:.84rem;line-height:1.25}
.rf-note-place-suggest span{display:block;font-size:.68rem;color:#9aa0b0;line-height:1.3;margin-top:2px}
html[data-rf-theme="light"] .rf-note-place-suggest{background:rgba(255,255,255,.98);border-color:rgba(0,0,0,.1)}
html[data-rf-theme="light"] .rf-note-place-suggest button{color:#12121a}
html[data-rf-theme="light"] .rf-note-place-suggest span{color:#6b6b7a}
html[data-rf-theme="light"] .rf-note-place-suggest-head{color:#c2185b}
.rf-note-place-map,
.rf-note-place-map.leaflet-container{
  height:240px;margin:0;border-radius:14px;overflow:hidden;
  border:1px solid rgba(255,255,255,.12);background:#1a1a22;z-index:1;
  width:100%;font:inherit;
}
.rf-note-place-map .leaflet-container{height:100%;width:100%;background:#111;font:inherit}
.rf-note-place-map .leaflet-marker-pane{z-index:650!important}
.rf-note-place-map.is-map-error{
  outline:1px solid rgba(239,68,68,.55);box-shadow:inset 0 0 0 1px rgba(239,68,68,.2);
}
.rf-note-place-marker{
  background:transparent!important;border:0!important;
  color:#ff174d;font-size:1.55rem;line-height:1;text-shadow:0 2px 8px rgba(0,0,0,.65);
  cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;
}
.rf-note-place-marker:active,.leaflet-dragging .rf-note-place-marker{cursor:grabbing}
.rf-note-place-marker-pin{display:block;pointer-events:none;transform-origin:center bottom;line-height:0}
.rf-note-place-marker-svg{display:block;filter:drop-shadow(0 2px 6px rgba(0,0,0,.55))}
.rf-note-place-marker i{pointer-events:none;display:block}
/* Animate inner pin only — Leaflet owns transform on the marker wrapper */
.rf-note-place-marker.is-dropping .rf-note-place-marker-pin{
  animation:rfNotePinDrop .55s cubic-bezier(.2,.9,.2,1.2) both;
}
@keyframes rfNotePinDrop{
  0%{transform:translateY(-42px) scale(1.15);opacity:0}
  70%{transform:translateY(3px) scale(.96);opacity:1}
  100%{transform:translateY(0) scale(1);opacity:1}
}
@media (prefers-reduced-motion:reduce){
  .rf-note-place-marker.is-dropping .rf-note-place-marker-pin{animation:none}
}
.rf-note-place-card{
  position:absolute;left:10px;right:auto;max-width:min(78%,280px);bottom:10px;z-index:6;
  display:flex;align-items:center;gap:0;padding:5px 10px;
  border-radius:999px;background:rgba(12,12,18,.82);border:1px solid rgba(255,255,255,.12);
  box-shadow:0 8px 18px rgba(0,0,0,.35);backdrop-filter:blur(8px);
}
.rf-note-place-card.is-compact{padding:5px 10px}
.rf-note-place-card.is-enter{animation:rfNotePlaceCardIn .28s ease both}
.rf-note-place-card[hidden]{display:none!important}
.rf-note-place-card-img{display:none!important}
.rf-note-place-card-body{min-width:0;flex:1}
.rf-note-place-card-body strong{
  display:block;font-size:.72rem;font-weight:800;color:#fff;line-height:1.2;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.rf-note-place-card-body small{display:none!important}
@keyframes rfNotePlaceCardIn{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:translateY(0)}
}
[data-rf-note-place-status]{
  margin:6px 0 0;font-size:.72rem;font-weight:600;line-height:1.25;color:#9aa0b0;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;
}
[data-rf-note-place-status].is-error{color:#fecaca;font-weight:800}
[data-rf-note-place-status].is-ok{color:#aeb4c2;font-weight:600}
[data-rf-note-place-status].is-busy{color:#fde68a}
@media(min-width:761px){
  .rf-note-place-map{height:250px}
}

.rf-note-carousel-mode-hint{margin-top:6px!important}

.rf-rednote-insights{
  margin:10px 0 14px;padding:12px 14px;border-radius:14px;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);
}
.rf-rednote-insights-head{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.rf-rednote-insights-head h3{
  flex:1;margin:0;font-size:.88rem;font-weight:800;display:flex;align-items:center;gap:8px;
}
.rf-rednote-insights-head h3 i{color:#ffb6c7}
.rf-rednote-insights-period{display:flex;gap:4px;margin-right:4px}
.rf-rednote-insights-period-btn{
  border:1px solid rgba(255,255,255,.12);background:transparent;color:#bbb;
  border-radius:999px;padding:4px 8px;font-size:.65rem;font-weight:800;cursor:pointer;
}
.rf-rednote-insights-period-btn.is-active{
  background:rgba(255,23,77,.22);border-color:rgba(255,23,77,.45);color:#fff;
}
.rf-rednote-insights-refresh,.rf-rednote-insights-close{
  width:34px;height:34px;border:0;border-radius:999px;background:rgba(255,255,255,.08);
  color:#ddd;cursor:pointer;display:grid;place-items:center;
}
.rf-rednote-insights-stats{display:flex;flex-wrap:wrap;gap:8px}
.rf-rednote-insights-stat{
  flex:1 1 30%;min-width:88px;padding:8px 10px;border-radius:10px;background:rgba(0,0,0,.25);
  text-align:center;
}
.rf-rednote-insights-stat-n{display:block;font-size:1.05rem;font-weight:800;color:#fff}
.rf-rednote-insights-stat-l{display:block;font-size:.68rem;color:#a8a8b8;margin-top:2px}
.rf-rednote-insights-sub{margin:12px 0 6px;font-size:.75rem;font-weight:700;color:#b8b8c8}
.rf-rednote-insights-list{list-style:none;margin:0;padding:0}
.rf-rednote-insights-post{border-top:1px solid rgba(255,255,255,.06)}
.rf-rednote-insights-post-link{
  display:flex;flex-direction:column;gap:2px;padding:10px 2px;color:inherit;text-decoration:none;
}
.rf-rednote-insights-post-title{font-size:.82rem;font-weight:700;line-height:1.25}
.rf-rednote-insights-post-meta{font-size:.68rem;color:#9a9aaa}
.rf-rednote-insights-foot{margin:10px 0 0;font-size:.68rem;color:#888}
.rf-rednote-insights-empty,.rf-rednote-insights-loading{
  margin:0;font-size:.8rem;color:#a8a8b8;text-align:center;padding:8px 0;
}
.rf-rednote-insights-daily{margin:12px 0 4px}
.rf-rednote-insights-bars{
  display:flex;align-items:flex-end;gap:4px;height:72px;padding:4px 2px 0;
  overflow-x:auto;scrollbar-width:none;
}
.rf-rednote-insights-bars::-webkit-scrollbar{display:none}
.rf-rednote-insights-bar{
  flex:1 0 18px;max-width:28px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;
}
.rf-rednote-insights-bar-fill{
  width:100%;min-height:4px;border-radius:6px 6px 2px 2px;
  background:linear-gradient(180deg,#ff6b9d,#ff174d);
}
.rf-rednote-insights-bar-l{font-size:.58rem;color:#888;line-height:1}
html[data-rf-theme="light"] .rf-rednote-insights{
  background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.08);
}
html[data-rf-theme="light"] .rf-rednote-insights-stat{background:rgba(255,255,255,.85)}



body.rf-rednote-explore .rf-explore-search-trigger{

  display:flex;align-items:center;gap:10px;width:100%;margin:8px 0 4px;

  padding:0 14px;min-height:36px;border-radius:999px;

  border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.06);

  color:#b8b8c8;font:inherit;font-size:.84rem;font-weight:700;

  cursor:pointer;text-align:left;-webkit-tap-highlight-color:transparent;

}

body.rf-rednote-explore .rf-explore-search-trigger i{

  color:#ff8ab3;font-size:.82rem;flex-shrink:0;

}

body.rf-rednote-explore .rf-explore-search-trigger-label{

  flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;

}

html[data-rf-theme="light"] body.rf-rednote-explore .rf-explore-search-trigger{

  background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.08);color:#5a5a6a;

}



.rf-explore-search-sheet{

  position:fixed;inset:0;z-index:125;display:none;align-items:flex-start;justify-content:center;

  pointer-events:none;

}
body.rf-stack-open.rf-stack-messages-open .rf-explore-search-sheet{
  display:none!important;pointer-events:none!important;
}

.rf-explore-search-sheet.is-open{display:flex;pointer-events:auto}

.rf-explore-search-sheet-backdrop{

  position:absolute;inset:0;background:rgba(0,0,0,.55);backdrop-filter:blur(6px);

  opacity:0;transition:opacity .28s ease;

}
.rf-explore-search-sheet.is-open .rf-explore-search-sheet-backdrop{opacity:1}

.rf-explore-search-sheet-panel{

  position:relative;width:100%;max-width:640px;
  padding:calc(12px + env(safe-area-inset-top)) 14px 12px;

  background:#12121c;border-radius:0 0 18px 18px;border:1px solid rgba(255,255,255,.1);
  border-top:0;

  box-shadow:0 18px 48px rgba(0,0,0,.45);

  display:flex;flex-direction:column;gap:10px;
  max-height:min(92vh,720px);overflow:hidden;

  transform:translateY(-18px);opacity:0;
  transition:transform .32s cubic-bezier(.22,.9,.28,1),opacity .28s ease;

}
.rf-explore-search-sheet.is-open .rf-explore-search-sheet-panel{
  transform:translateY(0);opacity:1;
}

html[data-rf-theme="light"] .rf-explore-search-sheet-panel{background:#fff;border-color:rgba(0,0,0,.08)}

.rf-search-bar--sheet{display:flex;gap:8px;align-items:stretch;flex-shrink:0}

.rf-search-bar--sheet .rf-search-input-wrap{flex:1;min-height:44px}

.rf-search-sheet-go{flex-shrink:0;border-radius:999px;padding:0 18px;font-weight:900}

.rf-explore-search-hist{flex-shrink:0}
.rf-explore-search-hist[hidden]{display:none!important}
.rf-explore-search-hist-head{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  margin:0 0 6px;font-size:.68rem;font-weight:800;color:#9a9ab0;letter-spacing:.02em;text-transform:uppercase;
}
.rf-explore-search-hist-list{display:flex;flex-wrap:wrap;gap:6px}
.rf-explore-search-hist-chip{
  display:inline-flex;align-items:center;gap:6px;max-width:100%;
  border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);
  color:#ececf4;border-radius:999px;padding:7px 11px;font:inherit;font-size:.74rem;font-weight:800;
  cursor:pointer;-webkit-tap-highlight-color:transparent;
}
.rf-explore-search-hist-chip i{font-size:.68rem;opacity:.75;flex-shrink:0}
.rf-explore-search-hist-chip span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-rf-theme="light"] .rf-explore-search-hist-head{color:#6a6a78}
html[data-rf-theme="light"] .rf-explore-search-hist-chip{
  background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.08);color:#1e1e28;
}

.rf-explore-search-results{
  flex:1 1 auto;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch;
  margin:0 -2px;padding:2px 2px 4px;display:flex;flex-direction:column;gap:4px;
}
.rf-explore-search-results[hidden]{display:none!important}
.rf-explore-search-res-label{
  margin:8px 2px 2px;font-size:.66rem;font-weight:800;color:#9a9ab0;
  letter-spacing:.02em;text-transform:uppercase;
}
.rf-explore-search-res-label:first-child{margin-top:0}
.rf-explore-search-res-row{
  display:flex;align-items:center;gap:10px;padding:8px 8px;border-radius:12px;
  text-decoration:none;color:#f0f0f6;background:transparent;
}
.rf-explore-search-res-row:active,.rf-explore-search-res-row:hover{background:rgba(255,255,255,.06)}
.rf-explore-search-res-row img{
  width:36px;height:36px;border-radius:50%;object-fit:cover;flex-shrink:0;background:#1a1a24;
}
.rf-explore-search-res-row.is-post img{border-radius:10px}
.rf-explore-search-res-row > i{width:36px;text-align:center;color:#ff8ab3;flex-shrink:0}
.rf-explore-search-res-row span{min-width:0;display:flex;flex-direction:column;gap:1px;font-size:.82rem;font-weight:700;line-height:1.25}
.rf-explore-search-res-row span em{font-style:normal;font-weight:600;font-size:.72rem;color:#9a9ab0}
.rf-explore-search-res-chip{
  display:inline-flex;align-self:flex-start;margin:2px 0;
  border:1px solid rgba(255,23,77,.35);background:rgba(255,23,77,.12);
  color:#fff;border-radius:999px;padding:6px 11px;font-size:.74rem;font-weight:800;text-decoration:none;
}
.rf-explore-search-res-empty,.rf-explore-search-res-loading{
  padding:14px 8px;text-align:center;color:#9a9ab0;font-size:.82rem;font-weight:700;
}
html[data-rf-theme="light"] .rf-explore-search-res-row{color:#1a1a24}
html[data-rf-theme="light"] .rf-explore-search-res-row:active,
html[data-rf-theme="light"] .rf-explore-search-res-row:hover{background:rgba(0,0,0,.04)}
html[data-rf-theme="light"] .rf-explore-search-res-label,
html[data-rf-theme="light"] .rf-explore-search-res-empty,
html[data-rf-theme="light"] .rf-explore-search-res-loading{color:#6a6a78}

.rf-explore-search-sheet-cancel{

  display:block;width:100%;margin-top:2px;border:0;background:transparent;flex-shrink:0;

  color:#9a9ab0;font-weight:800;font-size:.88rem;padding:10px;cursor:pointer;

}

body.rf-explore-search-open{overflow:hidden}

@media (prefers-reduced-motion:reduce){
  .rf-explore-search-sheet-backdrop,
  .rf-explore-search-sheet-panel{transition:none}
}

.rf-rednote-near-hint{
  margin:12px 0 16px;padding:16px 18px;border-radius:16px;
  border:1px solid rgba(255,23,77,.22);
  background:linear-gradient(135deg,rgba(255,23,77,.1),rgba(255,46,166,.06));
  text-align:center;
}
.rf-rednote-near-hint-title{margin:0 0 8px;font-weight:900;font-size:.95rem;color:#fff}
.rf-rednote-near-hint-text{margin:0 0 12px;font-size:.82rem;color:#b8b8c8;line-height:1.45}
body.rf-rednote-tab-near .rf-rednote-near-hint{display:block}

main.rf-profile .rf-grid-tile.rf-rednote-grid-tile .rf-grid-note-badge,
.rf-stack-page-root .rf-grid-tile.rf-rednote-grid-tile .rf-grid-note-badge{
  background:rgba(255,23,77,.85);
}



/* ===== Post Insights (superior ao IG, visual Redfeed) ===== */
body.rf-post-insights-open{overflow:hidden}
.rf-post-insights{position:fixed;inset:0;z-index:2147483600;display:flex;align-items:flex-end;justify-content:center}
.rf-post-insights[hidden]{display:none!important}
.rf-post-insights-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.62)}
.rf-post-insights-sheet{
  position:relative;z-index:1;width:100%;max-width:520px;max-height:min(92dvh,860px);
  background:#0b0b10;border:1px solid rgba(255,255,255,.1);border-radius:22px 22px 0 0;
  box-shadow:0 -18px 50px rgba(0,0,0,.55);display:flex;flex-direction:column;overflow:hidden;
  animation:rfPiIn .28s ease;
}
@keyframes rfPiIn{from{transform:translateY(24px);opacity:.6}to{transform:none;opacity:1}}
.rf-post-insights-handle{width:42px;height:4px;border-radius:99px;background:rgba(255,255,255,.22);margin:10px auto 0}
.rf-post-insights-head{display:flex;align-items:center;gap:10px;padding:12px 14px 8px}
.rf-post-insights-head h2{margin:0;font-size:1.05rem;font-weight:900;color:#fff}
.rf-post-insights-head p{margin:2px 0 0;font-size:.72rem;color:#9aa0b0;max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rf-post-insights-back,.rf-post-insights-x{
  width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.08);color:#fff;display:grid;place-items:center;cursor:pointer
}
.rf-post-insights-head > div{flex:1;min-width:0}
.rf-post-insights-body{overflow:auto;padding:0 14px 28px;-webkit-overflow-scrolling:touch}
.rf-post-insights-hero{display:flex;flex-direction:column;align-items:center;gap:12px;padding:6px 0 10px}
.rf-post-insights-thumb{width:92px;height:122px;border-radius:14px;object-fit:cover;background:#1a1a24;border:1px solid rgba(255,255,255,.12)}
.rf-post-insights-thumb.is-ph{display:grid;place-items:center;color:#fff;font-size:1.2rem}
.rf-post-insights-metrics{display:flex;gap:10px;justify-content:space-between;width:100%;padding:0 4px}
.rf-post-insights-metric{flex:1;text-align:center;color:#fff}
.rf-post-insights-metric i{display:block;margin:0 auto 4px;opacity:.9;font-size:.95rem}
.rf-post-insights-metric b{display:block;font-size:.92rem;font-weight:900}
.rf-post-insights-metric span{display:block;font-size:.62rem;color:#9aa0b0;margin-top:2px}
.rf-post-insights-tabs{display:flex;gap:0;border-bottom:1px solid rgba(255,255,255,.1);margin:4px 0 10px;position:sticky;top:0;background:#0b0b10;z-index:2}
.rf-post-insights-tab{
  flex:1;border:0;background:transparent;color:#9aa0b0;font-weight:800;font-size:.82rem;
  padding:12px 6px;cursor:pointer;border-bottom:2px solid transparent
}
.rf-post-insights-tab.is-on{color:#fff;border-bottom-color:#ff174d}
.rf-post-insights-sec{margin:0 0 18px}
.rf-post-insights-sec h3{margin:0 0 6px;font-size:.95rem;font-weight:900;color:#fff;display:flex;align-items:center;gap:6px}
.rf-post-insights-sec h3 i{font-size:.72rem;color:#9aa0b0}
.rf-post-insights-lead{margin:0 0 10px;font-size:.72rem;color:#9aa0b0;line-height:1.35}
.rf-post-insights-rates{list-style:none;margin:0;padding:0}
.rf-post-insights-rate{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.06)}
.rf-post-insights-rate-ico{
  width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.07);display:grid;place-items:center;color:#fff;flex-shrink:0
}
.rf-post-insights-rate-txt{flex:1;min-width:0}
.rf-post-insights-rate-txt b{display:block;font-size:.86rem;color:#fff}
.rf-post-insights-rate-txt small{display:block;font-size:.68rem;color:#8b8f9e;margin-top:2px}
.rf-post-insights-rate-val{font-weight:900;color:#fff;font-size:.92rem}
.rf-post-insights-rate.is-good .rf-post-insights-rate-val{color:#86efac}
.rf-post-insights-rate.is-bad .rf-post-insights-rate-val{color:#fda4af}
.rf-post-insights-rate.is-low .rf-post-insights-rate-val{color:#cbd5e1}
.rf-post-insights-bars{list-style:none;margin:0;padding:0}
.rf-post-insights-bar-row{display:grid;grid-template-columns:88px 1fr 48px;gap:8px;align-items:center;margin:8px 0}
.rf-post-insights-bar-label{font-size:.78rem;color:#e8e8f0;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rf-post-insights-bar-track{height:8px;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden}
.rf-post-insights-bar-track i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#ff174d,#ff2ea6)}
.rf-post-insights-bar-pct{font-size:.74rem;font-weight:800;color:#fff;text-align:right}
.rf-post-insights-chart{margin:8px 0 4px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:10px}
.rf-post-insights-chart svg{width:100%;height:120px;display:block}
.rf-post-insights-chart-line{fill:none;stroke:#ff174d;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.rf-post-insights-chart-area{fill:rgba(255,23,77,.18);stroke:none}
.rf-post-insights-chart-axis{display:flex;justify-content:space-between;font-size:.62rem;color:#8b8f9e;margin-top:4px}
.rf-post-insights-kv{list-style:none;margin:0;padding:0}
.rf-post-insights-kv li{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.06);color:#e8e8f0;font-size:.88rem}
.rf-post-insights-kv b{color:#fff;font-weight:900}
.rf-post-insights-extra-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.rf-post-insights-extra-grid > div{background:rgba(255,23,77,.08);border:1px solid rgba(255,23,77,.2);border-radius:14px;padding:12px}
.rf-post-insights-extra-grid b{display:block;font-size:1.05rem;color:#fff}
.rf-post-insights-extra-grid span{display:block;font-size:.68rem;color:#b8b8c8;margin-top:4px}
.rf-post-insights-empty,.rf-post-insights-loading{color:#9aa0b0;font-size:.82rem;padding:18px 4px;text-align:center}
.rf-post-insights-loading i{margin-right:6px;color:#ff174d}

/* ===== TESTE Discover / Xperia (fácil de remover: tire rf-explore-discover-test do body) ===== */
body.rf-explore-discover-test #rfExploreResultsPosts.rf-results[data-view="cards"].rf-rednote-masonry{
  column-gap:10px!important;
}
body.rf-explore-discover-test #rfExploreResultsPosts.rf-rednote-masonry .rf-explore-post-card{
  margin:0 0 10px!important;
  border-radius:18px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  overflow:hidden;
}
body.rf-explore-discover-test .rf-explore-post-card .rf-creator-card-media{
  border-radius:16px!important;
  overflow:hidden;
  background:#121218;
}
body.rf-explore-discover-test .rf-explore-post-card.rf-rednote-card .rf-creator-card-shade,
body.rf-explore-discover-test .rf-explore-post-card .rf-rednote-cover-headline,
body.rf-explore-discover-test .rf-explore-post-card .rf-rednote-cover-meta,
body.rf-explore-discover-test .rf-explore-post-card .rf-rednote-topic-pills,
body.rf-explore-discover-test .rf-explore-post-card .rf-rednote-carousel-pill{
  display:none!important;
}
/* Pino de local sempre visivel no card — mesmo no layout discover-test. */
body.rf-explore-discover-test .rf-explore-post-card .rf-rednote-place-pill{
  display:inline-flex!important;
}
body.rf-explore-discover-test .rf-explore-post-card.rf-rednote-card .rf-creator-card-body,
body.rf-explore-discover-test #rfExploreResultsPosts.rf-results[data-view="cards"] .rf-explore-post-card .rf-creator-card-body{
  display:flex!important;
  flex-direction:column!important;
  gap:4px;
  padding:8px 4px 2px!important;
  background:transparent!important;
  position:relative!important;
  min-height:0!important;
}
body.rf-explore-discover-test .rf-explore-post-card .rf-creator-card-name{
  order:2;
  font-size:.72rem!important;
  font-weight:700!important;
  color:#9aa0b0!important;
  margin:0!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  padding-right:28px;
}
body.rf-explore-discover-test .rf-explore-post-card .rf-creator-card-desc{
  order:1;
  display:-webkit-box!important;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  margin:0!important;
  font-size:.84rem!important;
  font-weight:700!important;
  line-height:1.25!important;
  color:#f2f2f8!important;
  letter-spacing:-.02em;
}
body.rf-explore-discover-test .rf-explore-post-card .rf-creator-card-city{
  display:none!important;
}
body.rf-explore-discover-test .rf-explore-post-card .rf-creator-card-body::after{
  content:"\f02e";
  font-family:"Font Awesome 6 Free";
  font-weight:400;
  position:absolute;
  right:2px;
  bottom:4px;
  width:26px;
  height:26px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#a1a1aa;
  font-size:.78rem;
  opacity:.85;
  pointer-events:none;
}
body.rf-explore-discover-test .rf-explore-post-badge{
  top:auto!important;
  right:auto!important;
  left:8px!important;
  bottom:8px!important;
}
body.rf-explore-discover-test .rf-explore-post-badge .is-video{
  background:rgba(0,0,0,.55)!important;
  border:0!important;
  border-radius:8px!important;
  padding:3px 7px!important;
  font-size:.68rem!important;
  gap:4px;
}
/* Masonry “torto”: alturas variadas — só mobile (sem rf-desktop-ui) */
body.rf-explore-discover-test:not(.rf-desktop-ui) #rfExploreResultsPosts.rf-results[data-view="cards"] .rf-explore-post-card:nth-child(3n+1) .rf-creator-card-media{
  aspect-ratio:3/4.35!important;
}
body.rf-explore-discover-test:not(.rf-desktop-ui) #rfExploreResultsPosts.rf-results[data-view="cards"] .rf-explore-post-card:nth-child(3n+2) .rf-creator-card-media{
  aspect-ratio:4/5!important;
}
body.rf-explore-discover-test:not(.rf-desktop-ui) #rfExploreResultsPosts.rf-results[data-view="cards"] .rf-explore-post-card:nth-child(3n) .rf-creator-card-media{
  aspect-ratio:1/1.05!important;
}

/* Desktop: grade lado a lado uniforme (como antes) — cancela o torto do discover-test */
@media(min-width:1100px){
  body.rf-desktop-ui.rf-explore-discover-test #rfExploreResultsPosts.rf-results:not([data-view="list"]){
    --rf-explore-grid-gap:14px!important;
    gap:14px!important;
  }
  body.rf-desktop-ui.rf-explore-discover-test #rfExploreResultsPosts.rf-rednote-masonry .rf-explore-post-card{
    margin:0!important;
    border-radius:16px!important;
    background:rgba(255,255,255,.03)!important;
    border:1px solid rgba(255,255,255,.08)!important;
  }
  body.rf-desktop-ui.rf-explore-discover-test #rfExploreResultsPosts.rf-results[data-view="cards"] .rf-explore-post-card .rf-creator-card-media,
  body.rf-desktop-ui.rf-explore-discover-test #rfExploreResultsPosts.rf-results[data-view="cards"] .rf-explore-post-card:nth-child(n) .rf-creator-card-media{
    aspect-ratio:3/4!important;
  }
  /* Capa revista de novo (titulo na imagem), nao o bloco de texto embaixo do torto */
  body.rf-desktop-ui.rf-explore-discover-test .rf-explore-post-card.rf-rednote-card .rf-creator-card-shade{
    display:block!important;
  }
  body.rf-desktop-ui.rf-explore-discover-test .rf-explore-post-card .rf-rednote-cover-headline,
  body.rf-desktop-ui.rf-explore-discover-test .rf-explore-post-card .rf-rednote-cover-meta,
  body.rf-desktop-ui.rf-explore-discover-test .rf-explore-post-card .rf-rednote-place-pill,
  body.rf-desktop-ui.rf-explore-discover-test .rf-explore-post-card .rf-rednote-topic-pills,
  body.rf-desktop-ui.rf-explore-discover-test .rf-explore-post-card .rf-rednote-carousel-pill{
    display:block!important;
  }
  body.rf-desktop-ui.rf-explore-discover-test .rf-explore-post-card.rf-rednote-card .rf-creator-card-body,
  body.rf-desktop-ui.rf-explore-discover-test #rfExploreResultsPosts.rf-results[data-view="cards"] .rf-explore-post-card .rf-creator-card-body{
    display:none!important;
  }
  body.rf-desktop-ui.rf-explore-discover-test .rf-explore-post-card .rf-creator-card-body::after{
    content:none!important;
    display:none!important;
  }
  body.rf-desktop-ui.rf-explore-discover-test .rf-explore-post-badge{
    top:8px!important;
    right:8px!important;
    left:auto!important;
    bottom:auto!important;
  }
}
