
:root{
  --bg:#24160f;
  --bg-2:#3e2317;
  --card:#f3e2c3;
  --card-2:#ead0a2;
  --line:#c79a59;
  --text:#40261a;
  --muted:#7b5f46;
  --gold:#d6a333;
  --gold-2:#f0c865;
  --green:#2f5b37;
  --green-2:#1f4a29;
  --ivory:#fff1cd;
  --white:#fffaf1;
  --shadow:0 16px 40px rgba(0,0,0,.18);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(214,163,51,.10), transparent 24%),
    radial-gradient(circle at 85% 25%, rgba(47,91,55,.10), transparent 20%),
    linear-gradient(180deg, #351f15 0%, #24160f 100%);
  color:var(--ivory);
  min-height:100dvh;
}
.hidden{display:none!important}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit}
button{cursor:pointer}

/* splash */
.splash-art-screen{
  position:fixed; inset:0; z-index:9999;
  display:flex; align-items:center; justify-content:center;
  background:radial-gradient(circle at center,#6d4121 0%,#2a160e 62%,#130a07 100%);
}
.splash-art-frame{
  position:relative;
  width:min(100vw, calc(100dvh * .5628));
  aspect-ratio:941/1672;
  max-height:100dvh;
  max-width:100vw;
  overflow:hidden;
  box-shadow:0 0 80px rgba(0,0,0,.40);
}
.splash-art-image{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:fill;
  user-select:none; pointer-events:none;
}
.splash-hotspot{
  position:absolute;
  z-index:3;
  border:0; background:transparent;
  border-radius:12px;
}
.splash-hotspot:hover,.splash-hotspot:focus-visible{
  box-shadow:0 0 0 2px rgba(255,216,120,.55) inset;
  background:rgba(255,255,255,.04);
}
.splash-enter{left:20.2%; top:62.5%; width:29.4%; height:7.2%}
.splash-create{left:51.8%; top:62.5%; width:29.1%; height:7.2%}

/* app */
.topbar{
  position:sticky; top:0; z-index:50;
  display:flex; align-items:center; justify-content:center;
  gap:12px;
  padding:14px 18px;
  background:linear-gradient(180deg,#532d1d,#3a2218);
  border-bottom:1px solid rgba(240,200,101,.22);
  box-shadow:0 8px 24px rgba(0,0,0,.18);
}
.brand{
  display:flex; align-items:center; justify-content:center;
  gap:12px;
  text-align:left;
}
.brand img{
  width:48px;height:48px;border-radius:12px;
  box-shadow:0 10px 20px rgba(0,0,0,.25);
}
.brand strong{
  display:block;
  color:#f3d07b;
  font-size:1.45rem;
  line-height:1.05;
}
.brand small{
  display:block;
  color:#f8e8bd;
  font-size:.88rem;
}
.version-badge{
  position:absolute; right:16px; top:16px;
  padding:8px 12px;
  border-radius:999px;
  background:linear-gradient(135deg,#ff9e58,#ef7050);
  color:white;
  font-weight:800;
  font-size:.9rem;
}

.container{
  width:min(100%, 920px);
  margin:0 auto;
  padding:18px 16px 96px;
}

.view{display:none}
.view.active{display:block}

.hero{
  border:1px solid rgba(240,200,101,.32);
  border-radius:28px;
  padding:28px 22px;
  background:
    radial-gradient(circle at 12% 12%, rgba(214,163,51,.16), transparent 22%),
    radial-gradient(circle at 88% 88%, rgba(47,91,55,.16), transparent 24%),
    linear-gradient(135deg,#5b311d 0%, #3a2016 56%, #294127 100%);
  box-shadow:var(--shadow);
}
.eyebrow, .pageTitle span{
  display:inline-block;
  letter-spacing:.16em;
  font-weight:800;
  color:#efb53a;
  font-size:.78rem;
}
.hero h2{
  margin:10px 0 10px;
  font-size:clamp(2rem,6vw,3rem);
  line-height:1.02;
  color:var(--ivory);
}
.hero p{
  margin:0;
  color:#ecdab5;
  font-size:1rem;
  line-height:1.6;
}

.filter-strip{
  margin:14px 0 10px;
  display:grid;
  grid-template-columns:1fr 1fr auto;
  gap:10px;
}
.search,
.filters select,
.filter-strip select,
.form input,
.form select,
.form textarea{
  width:100%;
  border:1px solid var(--line);
  background:var(--card);
  color:var(--text);
  border-radius:18px;
  padding:14px 16px;
  outline:none;
}
.search::placeholder, textarea::placeholder{color:#90745d}
.chip-btn, .btn, .link-btn{
  border:0;
  border-radius:18px;
  padding:14px 18px;
  font-weight:800;
}
.chip-btn, .btn.primary{
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  color:#40261a;
  box-shadow:0 12px 24px rgba(214,163,51,.20);
}
.link-btn{
  background:transparent;
  color:#efb53a;
  padding:4px 0;
}

.quick{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin:14px 0 12px;
}
.quick button,
.feature-like{
  border:1px solid var(--line);
  border-radius:20px;
  padding:16px 12px;
  background:var(--card);
  color:var(--text);
  box-shadow:0 8px 18px rgba(0,0,0,.06);
}
.quick button span{display:block;font-size:1.4rem;margin-bottom:4px}
.quick button b{display:block;font-size:1rem}

.title, .pageTitle{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:12px;
}
.title{margin:12px 0 8px}
.title h3, .pageTitle h2{
  margin:0;
  color:var(--ivory);
  font-size:clamp(1.6rem,4vw,2rem);
}
.pageTitle{
  margin-bottom:14px;
  display:block;
}
.pageTitle h2{margin-top:6px}

.cards{
  display:grid;
  gap:14px;
}
.card, .terreiro, .community, .form{
  border:1px solid var(--line);
  background:var(--card);
  border-radius:26px;
  box-shadow:0 10px 24px rgba(0,0,0,.10);
  color:var(--text);
}
.card{
  overflow:hidden;
  display:grid;
  grid-template-columns:156px 1fr;
}
.thumb{
  min-height:180px;
  background:
    radial-gradient(circle at top right,rgba(255,255,255,.12),transparent 20%),
    linear-gradient(160deg,#72321c,#b05526 45%,#d8a333 100%);
  background-size:cover;
  background-position:center;
}
.card .body{
  padding:16px 18px;
}
.pill{
  display:inline-flex;
  padding:7px 12px;
  border-radius:999px;
  background:#ebcd83;
  color:#6b4219;
  border:1px solid #c8a15a;
  font-weight:800;
  font-size:.84rem;
}
.card h4, .terreiro h4{
  margin:12px 0 10px;
  font-size:1.55rem;
  line-height:1.1;
  color:var(--text);
}
.meta{
  color:var(--muted);
  line-height:1.6;
}
.cardActions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}
.cardActions button, .cardActions a{
  text-decoration:none;
  border:1px solid var(--line);
  background:#f8ecd2;
  color:var(--green);
  border-radius:999px;
  padding:11px 16px;
  font-weight:800;
}

.filters{
  display:grid;
  gap:10px;
  margin-bottom:14px;
}
.multi-filters{
  grid-template-columns:2fr 1fr 1fr 1fr;
}

.form{
  padding:18px;
}
.form label{
  display:block;
  font-weight:700;
  color:var(--text);
  margin-bottom:12px;
}
.form h3{margin-top:0; color:var(--text)}
.form .grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.form textarea{resize:vertical}
.preview{
  margin-top:8px;
  min-height:130px;
  border:1px dashed var(--line);
  border-radius:20px;
  display:grid;
  place-items:center;
  background:#f9ecd1;
  color:var(--muted);
  overflow:hidden;
}
.preview img{width:100%;height:100%;object-fit:cover}

.terreiroGrid{
  display:grid;
  gap:14px;
}
.terreiro{
  padding:18px;
}
.terreiro p{color:var(--muted)}
.community{
  padding:18px;
  margin-bottom:14px;
}
.community h3{margin-top:0; color:var(--text)}
.community p{color:var(--muted)}
.stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-top:12px;
}
.stats div{
  border:1px solid var(--line);
  background:#f9edcf;
  border-radius:18px;
  padding:14px;
  text-align:center;
}
.stats b{
  display:block;
  color:var(--text);
  font-size:2rem;
}
.stats small{color:var(--muted)}

.bottom-nav{
  position:fixed;
  left:0; right:0; bottom:0;
  z-index:40;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:0;
  padding:8px 10px calc(8px + env(safe-area-inset-bottom));
  background:#f1deba;
  border-top:1px solid var(--line);
}
.bottom-nav button{
  border:0;
  background:transparent;
  color:#7a6656;
  padding:8px 2px;
  font-size:1.65rem;
  display:grid;
  place-items:center;
  gap:2px;
}
.bottom-nav button small{font-size:.86rem;font-weight:700}
.bottom-nav button.active{color:var(--green)}
.bottom-nav button.plus{
  color:white;
}
.bottom-nav button.plus::before{
  content:"";
  position:absolute;
}
.bottom-nav button.plus{
  position:relative;
}
.bottom-nav button.plus span{}
.bottom-nav button.plus,
.bottom-nav button.plus small{
  z-index:1;
}
.bottom-nav button.plus{
  width:72px;height:72px;margin:-28px auto 0;
  border-radius:999px;
  background:linear-gradient(135deg,#9f4f25,#24582f);
  box-shadow:0 16px 28px rgba(0,0,0,.24);
  align-content:center;
}

dialog{
  width:min(720px,calc(100% - 24px));
  border:0;
  border-radius:28px;
  padding:0;
  overflow:hidden;
  background:var(--card);
  color:var(--text);
  box-shadow:0 30px 80px rgba(0,0,0,.35);
}
dialog::backdrop{background:rgba(0,0,0,.55)}
.close-x{
  position:absolute;
  right:12px; top:12px;
  width:42px;height:42px;
  border-radius:999px;border:0;
  background:rgba(0,0,0,.06);
  color:var(--text);
  font-size:1.5rem;
}
.detailHero{
  min-height:220px;
  background:
    radial-gradient(circle at top right,rgba(255,255,255,.12),transparent 20%),
    linear-gradient(160deg,#72321c,#b05526 45%,#d8a333 100%);
  background-size:cover;
  background-position:center;
}
.detailContent{padding:22px}
.detailContent h2{margin:12px 0 8px;color:var(--text);font-size:2rem}
.actions{
  display:flex; flex-wrap:wrap; gap:10px; margin-top:16px;
}
.actions button, .actions a{
  text-decoration:none;
  border:1px solid var(--line);
  background:#f8ecd2;
  color:var(--green);
  border-radius:999px;
  padding:12px 16px;
  font-weight:800;
}
#toast{
  position:fixed;
  left:50%; bottom:104px;
  transform:translateX(-50%) translateY(20px);
  background:#2f2017;
  color:#fff0cd;
  border:1px solid rgba(240,200,101,.22);
  padding:12px 16px;
  border-radius:999px;
  opacity:0;
  pointer-events:none;
  transition:.25s ease;
}
#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

@media (max-width:860px){
  .multi-filters{grid-template-columns:1fr 1fr}
  .card{grid-template-columns:1fr}
  .thumb{min-height:140px}
}

@media (max-width:680px){
  .brand strong{font-size:1.15rem}
  .brand small{font-size:.76rem}
  .version-badge{top:14px; right:12px; padding:7px 11px}
  .container{padding:14px 12px 98px}
  .hero{padding:22px 16px; border-radius:24px}
  .hero h2{font-size:2.2rem}
  .filter-strip{grid-template-columns:1fr; gap:8px}
  .quick{grid-template-columns:1fr 1fr}
  .quick button{padding:14px 10px}
  .title h3, .pageTitle h2{font-size:1.5rem}
  .form .grid{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr 1fr 1fr}
}

@media (max-width:460px){
  .topbar{padding:12px 10px}
  .brand{gap:10px}
  .brand img{width:42px;height:42px}
  .brand strong{font-size:1.02rem}
  .brand small{font-size:.72rem}
  .bottom-nav button{font-size:1.45rem}
  .bottom-nav button.plus{width:68px;height:68px}
  .quick{grid-template-columns:1fr 1fr}
  .search, .filters select, .filter-strip select, .form input, .form select, .form textarea{padding:13px 14px}
  .card h4, .terreiro h4{font-size:1.3rem}
}


/* ================= V25 — CURRENT EVENT APP STYLE ================= */
:root{
  --v25-bg:#0b0c10;
  --v25-surface:#12141b;
  --v25-surface2:#181b24;
  --v25-line:#292d39;
  --v25-text:#f8f5ee;
  --v25-muted:#9ca3b3;
  --v25-gold:#f0b63f;
  --v25-orange:#ff6b2c;
  --v25-magenta:#dc3d87;
  --v25-green:#37c978;
  --v25-purple:#8547e8;
}

/* overall */
body{
  background:
    radial-gradient(circle at 88% 5%, rgba(133,71,232,.12), transparent 22%),
    radial-gradient(circle at 10% 18%, rgba(255,107,44,.10), transparent 18%),
    linear-gradient(180deg,#0b0c10,#0d0f14 48%,#0a0b0f)!important;
  color:var(--v25-text)!important;
}
.container{
  width:min(100%,960px)!important;
  padding-top:22px!important;
}

/* header */
.topbar{
  background:rgba(10,11,15,.92)!important;
  border-bottom:1px solid rgba(255,255,255,.06)!important;
  backdrop-filter:blur(18px);
}
.brand strong{
  color:#f4cf70!important;
}
.brand small{
  color:#b9a98f!important;
}
.version-badge{
  background:linear-gradient(135deg,var(--v25-orange),var(--v25-magenta))!important;
}

/* home header like modern event apps */
.home-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}
.home-head h1{
  margin:6px 0 6px;
  font-size:clamp(2rem,7vw,3.3rem);
  line-height:.98;
  letter-spacing:-.04em;
  color:#fff;
}
.home-head h1 span{
  color:var(--v25-gold);
  border-bottom:3px solid var(--v25-gold);
}
.home-head p{
  margin:0;
  color:var(--v25-muted);
  font-size:1rem;
}
.eyebrow{
  color:#d3a845!important;
}

.view-toggle{
  flex:0 0 auto;
  display:flex;
  padding:5px;
  border-radius:999px;
  background:#151821;
  border:1px solid var(--v25-line);
}
.view-toggle button{
  width:44px;height:44px;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#858c9d;
  font-size:1.25rem;
}
.view-toggle button.active{
  color:white;
  background:linear-gradient(135deg,var(--v25-purple),var(--v25-magenta));
  box-shadow:0 8px 18px rgba(220,61,135,.26);
}

.home-search-row{
  display:grid;
  grid-template-columns:1fr 62px;
  gap:10px;
  align-items:center;
}
.search-box{
  min-height:60px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 18px;
  border-radius:20px;
  background:#15171d;
  border:1px solid #2a2d35;
}
.search-box span{
  color:#8b93a2;
  font-size:1.8rem;
  line-height:1;
}
.search-box input{
  width:100%;
  border:0!important;
  outline:0;
  background:transparent!important;
  color:#fff!important;
  padding:0!important;
  font-size:1.05rem;
}
.search-box input::placeholder{color:#737a88!important}
.icon-square{
  height:60px;
  border-radius:20px;
  border:1px solid #2a2d35;
  background:#15171d;
  color:#e0e4ea;
  font-size:1.5rem;
}

.home-actions-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:14px 0;
}
.nearby-pill{
  border:1px solid #313642;
  background:#14161c;
  color:#f2f3f5;
  border-radius:999px;
  padding:11px 16px;
  font-weight:800;
}
.nearby-pill:hover{
  border-color:#74603e;
  color:#ffd980;
}
.result-count{
  color:#a1a8b5;
  font-size:.96rem;
}

.modern-filter{
  grid-template-columns:1fr 1fr auto!important;
  margin:0 0 20px!important;
}
.modern-filter select{
  background:#14161c!important;
  border:1px solid #2c3039!important;
  color:#eef0f4!important;
}
.modern-filter select option{color:#111}
.filter-apply{
  border:0;
  border-radius:18px;
  padding:0 20px;
  background:linear-gradient(135deg,var(--v25-gold),#f5cb62);
  color:#211a0d;
  font-weight:900;
}

.featured-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:6px 0 10px;
}
.featured-title-row h3{
  margin:0;
  font-size:1.35rem;
  color:#f7f8fb;
}
.link-btn{
  color:#f2b84c!important;
}

/* event cards */
.event-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px!important;
}
.event-grid.list-mode{
  grid-template-columns:1fr;
}
.event-grid .card{
  display:block!important;
  overflow:hidden;
  background:#15171d!important;
  border:1px solid #252934!important;
  border-radius:26px!important;
  box-shadow:0 18px 34px rgba(0,0,0,.22)!important;
  color:#fff!important;
  transition:transform .22s ease,border-color .22s ease;
}
.event-grid .card:hover{
  transform:translateY(-2px);
  border-color:#3a4050!important;
}
.event-grid .thumb{
  min-height:260px!important;
  width:100%;
  background:
    radial-gradient(circle at top right,rgba(255,255,255,.14),transparent 20%),
    linear-gradient(160deg,#5c2630,#a34235 38%,#d59a2d 72%,#335c35 100%)!important;
}
.event-grid .body{
  padding:16px 18px 18px!important;
}
.event-grid .pill{
  background:linear-gradient(135deg,var(--v25-purple),var(--v25-magenta))!important;
  border:0!important;
  color:white!important;
  font-size:.78rem!important;
  padding:7px 10px!important;
}
.event-grid h4{
  margin:11px 0 8px!important;
  color:#fff!important;
  font-size:1.35rem!important;
  line-height:1.16!important;
}
.event-grid .meta{
  color:#aeb5c1!important;
  line-height:1.55!important;
}
.event-grid .cardActions{
  margin-top:13px!important;
}
.event-grid .cardActions button,
.event-grid .cardActions a{
  background:#20232c!important;
  color:#f0d079!important;
  border:1px solid #303440!important;
  padding:10px 13px!important;
}
.event-grid.list-mode .card{
  display:grid!important;
  grid-template-columns:190px 1fr!important;
}
.event-grid.list-mode .thumb{
  min-height:190px!important;
}

/* quick cards */
.modern-quick{
  grid-template-columns:repeat(4,1fr)!important;
  margin-top:22px!important;
}
.modern-quick button{
  background:
    linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02))!important;
  border:1px solid #262a35!important;
  color:#f5f5f6!important;
  min-height:120px;
}
.modern-quick button:nth-child(1){background:linear-gradient(160deg,#173b2d,#10241c)!important}
.modern-quick button:nth-child(2){background:linear-gradient(160deg,#4a3312,#251d10)!important}
.modern-quick button:nth-child(3){background:linear-gradient(160deg,#3d1d43,#211126)!important}
.modern-quick button:nth-child(4){background:linear-gradient(160deg,#1d2740,#111725)!important}
.modern-quick b{font-size:1.02rem!important}
.modern-quick small{
  display:block;
  margin-top:4px;
  color:#abb0bc;
  font-size:.78rem;
}

/* other views also become current/dark */
.pageTitle h2,.title h3{
  color:#fff!important;
}
.form,.community,.terreiro,.card{
  background:#15171d!important;
  color:#fff!important;
  border-color:#282c37!important;
}
.form label,.form h3,.community h3,.terreiro h4{
  color:#f7f7f8!important;
}
.form input,.form select,.form textarea,.filters input,.filters select,.full-search{
  background:#111319!important;
  color:#f6f7f9!important;
  border-color:#30343f!important;
}
.form input::placeholder,.form textarea::placeholder,.search::placeholder{
  color:#777f8d!important;
}
.community p,.terreiro p,.meta{
  color:#aeb5c1!important;
}
.stats div{
  background:#20232c!important;
  border-color:#303440!important;
}
.stats b{color:#f4cc68!important}
.stats small{color:#aeb5c1!important}

/* nav */
.bottom-nav{
  background:rgba(11,12,16,.96)!important;
  border-top:1px solid rgba(255,255,255,.06)!important;
  backdrop-filter:blur(18px);
}
.bottom-nav button{
  color:#888f9d!important;
}
.bottom-nav button.active{
  color:#f1b844!important;
}
.bottom-nav button.plus{
  background:linear-gradient(135deg,var(--v25-orange),var(--v25-magenta))!important;
}

/* detail modal */
dialog{
  background:#15171d!important;
  color:#fff!important;
}
.detailContent h2{color:#fff!important}
.actions button,.actions a{
  background:#20232c!important;
  color:#f0d079!important;
  border-color:#303440!important;
}

/* responsive */
@media(max-width:760px){
  .container{padding:18px 14px 98px!important}
  .home-head{
    align-items:center;
  }
  .home-head h1{font-size:2.35rem}
  .home-head p{font-size:.92rem}
  .view-toggle button{width:39px;height:39px}
  .home-search-row{
    grid-template-columns:1fr 56px;
  }
  .search-box,.icon-square{min-height:56px;height:56px}
  .modern-filter{
    grid-template-columns:1fr 1fr!important;
  }
  .modern-filter .filter-apply{
    grid-column:1/-1;
    min-height:48px;
  }
  .event-grid{
    grid-template-columns:1fr!important;
  }
  .event-grid .thumb{
    min-height:230px!important;
  }
  .event-grid.list-mode .card{
    grid-template-columns:110px 1fr!important;
  }
  .event-grid.list-mode .thumb{
    min-height:150px!important;
  }
  .modern-quick{
    grid-template-columns:1fr 1fr!important;
  }
  .modern-quick button{
    min-height:105px;
  }
}

@media(max-width:460px){
  .home-head h1{font-size:2rem}
  .home-actions-row{
    align-items:flex-start;
    flex-direction:column;
  }
  .event-grid .thumb{min-height:210px!important}
}


/* ================= V26 — VISUAL MODERNO COM PALETA CONEXÃO TERREIROS ================= */
:root{
  --ct-terra:#3E2723;
  --ct-terracotta:#B5522E;
  --ct-ochre:#D4A017;
  --ct-ivory:#F5E6D3;
  --ct-green:#1B5E3F;
  --ct-night:#120c09;
  --ct-night2:#1a100d;
  --ct-line:#52372b;
}

body{
  background:
    radial-gradient(circle at 85% 7%, rgba(212,160,23,.12), transparent 22%),
    radial-gradient(circle at 8% 20%, rgba(181,82,46,.14), transparent 19%),
    radial-gradient(circle at 72% 65%, rgba(27,94,63,.10), transparent 20%),
    linear-gradient(180deg,var(--ct-night),#0e0907 52%,var(--ct-night2))!important;
  color:var(--ct-ivory)!important;
}

.topbar{
  background:rgba(34,20,15,.94)!important;
  border-bottom:1px solid rgba(212,160,23,.15)!important;
}
.brand strong{color:#EFC66D!important}
.brand small{color:#BDAE9E!important}
.version-badge{
  background:linear-gradient(135deg,var(--ct-terracotta),#D66E3B)!important;
}

.home-head h1{color:#FFF8EC!important}
.home-head h1 span{
  color:#E8B747!important;
  border-bottom-color:#E8B747!important;
}
.home-head p,.result-count{color:#AFA397!important}
.eyebrow{color:#D9A52B!important}

.view-toggle{
  background:#201511!important;
  border-color:#4A3027!important;
}
.view-toggle button{color:#9F9186!important}
.view-toggle button.active{
  background:linear-gradient(135deg,var(--ct-terracotta),var(--ct-ochre))!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(181,82,46,.24)!important;
}

.search-box,.icon-square,.nearby-pill{
  background:#1E1411!important;
  border-color:#493128!important;
}
.search-box input{color:#FFF7EA!important}
.search-box input::placeholder{color:#8F8177!important}
.search-box span,.icon-square{color:#C9B9AA!important}
.nearby-pill{color:#F5E6D3!important}
.nearby-pill:hover{border-color:#A67B2C!important;color:#F0C861!important}

.modern-filter select{
  background:#211612!important;
  border-color:#4F342A!important;
  color:#F4E8D7!important;
}
.filter-apply{
  background:linear-gradient(135deg,var(--ct-ochre),#E9BC58)!important;
  color:#332015!important;
}

.featured-title-row h3,.pageTitle h2,.title h3{color:#FFF4DF!important}
.link-btn,.link{color:#E2AD34!important}

.event-grid .card{
  background:linear-gradient(180deg,#231713,#1B120F)!important;
  border-color:#453027!important;
  box-shadow:0 18px 34px rgba(0,0,0,.28)!important;
}
.event-grid .card:hover{border-color:#755039!important}
.event-grid .thumb{
  background:
    radial-gradient(circle at 86% 14%,rgba(212,160,23,.26),transparent 22%),
    linear-gradient(155deg,#4B241A 0%,#8A3F27 38%,#B5522E 58%,#1B5E3F 100%)!important;
}
.event-grid .pill{
  background:linear-gradient(135deg,var(--ct-terracotta),#C96B35)!important;
  color:#FFF7EC!important;
}
.event-grid h4{color:#FFF4E2!important}
.event-grid .meta{color:#C7B9AC!important}
.event-grid .cardActions button,.event-grid .cardActions a{
  background:#2C1E19!important;
  color:#E8BD5B!important;
  border-color:#533A2F!important;
}

.modern-quick button{
  border-color:#433029!important;
  color:#FFF1DC!important;
}
.modern-quick button:nth-child(1){background:linear-gradient(160deg,#173D2C,#10271D)!important}
.modern-quick button:nth-child(2){background:linear-gradient(160deg,#4B2B19,#27160F)!important}
.modern-quick button:nth-child(3){background:linear-gradient(160deg,#6B2F20,#351810)!important}
.modern-quick button:nth-child(4){background:linear-gradient(160deg,#5D4716,#2D230E)!important}
.modern-quick small{color:#BFAF9F!important}

.form,.community,.terreiro,.card{
  background:#201511!important;
  border-color:#493128!important;
  color:#F7EAD8!important;
}
.form label,.form h3,.community h3,.terreiro h4{color:#FFF3DF!important}
.form input,.form select,.form textarea,.filters input,.filters select,.full-search{
  background:#150E0C!important;
  color:#FFF2DD!important;
  border-color:#50352B!important;
}
.form input::placeholder,.form textarea::placeholder,.search::placeholder{color:#8B7B70!important}
.community p,.terreiro p,.meta{color:#C0B1A4!important}
.stats div{background:#2B1D18!important;border-color:#52382E!important}
.stats b{color:#E6B748!important}
.stats small{color:#B6A89C!important}

.bottom-nav{
  background:rgba(24,15,12,.97)!important;
  border-top-color:#3E2A23!important;
}
.bottom-nav button{color:#8D8076!important}
.bottom-nav button.active{color:#E2AD34!important}
.bottom-nav button.plus{
  background:linear-gradient(135deg,var(--ct-terracotta),var(--ct-green))!important;
}

dialog{background:#211612!important;color:#F8ECD9!important}
.detailContent h2{color:#FFF4E2!important}
.actions button,.actions a{
  background:#2B1D18!important;
  color:#E7BB57!important;
  border-color:#533A2F!important;
}

/* publish reliability UI */
.field-status{
  display:block;
  margin-top:7px;
  color:#B7A99C;
  font-size:.78rem;
  font-weight:500;
}
.manual-city{margin-top:8px!important}
.publish-feedback{
  margin-top:12px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid #5A4234;
  background:#2C1E18;
  color:#EFD391;
  font-weight:700;
}
.publish-feedback.success{
  border-color:#2D7449;
  background:#173223;
  color:#BFE5C9;
}
.publish-feedback.error{
  border-color:#8B402D;
  background:#3A1B14;
  color:#FFC7B1;
}
#publishEventBtn:disabled{opacity:.65;cursor:wait}


/* ================= V27 — SITE PRIMEIRO + BANCO ONLINE ================= */
.header-status{
  position:absolute;
  right:16px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  gap:8px;
}
.version-badge{position:static!important}
.cloud-status{
  display:inline-flex;
  align-items:center;
  padding:8px 11px;
  border-radius:999px;
  font-size:.78rem;
  font-weight:800;
  background:#281a15;
  color:#d8c5b1;
  border:1px solid #52372b;
}
.cloud-status.online{
  background:#153323;
  color:#bde4c9;
  border-color:#2e6c49;
}
.cloud-status.error{
  background:#3a1c15;
  color:#ffc6b2;
  border-color:#82432f;
}
.cloud-note{
  display:block;
  margin-top:10px;
  color:#a9988b;
  line-height:1.45;
}

/* prioriza o site/desktop nesta fase */
.container{
  width:min(1180px, calc(100% - 40px))!important;
  padding:28px 0 110px!important;
}
.event-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.event-grid .thumb{
  min-height:220px!important;
}
.event-grid h4{
  font-size:1.15rem!important;
}
.modern-quick{
  grid-template-columns:repeat(4,1fr)!important;
}
.form{
  max-width:920px;
  margin-inline:auto;
}
.multi-filters{
  grid-template-columns:2fr 1fr 1fr 1fr!important;
}
.pageTitle{
  max-width:920px;
  margin-left:auto;
  margin-right:auto;
}
@media(max-width:980px){
  .event-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .container{width:min(100% - 28px, 960px)!important}
}
@media(max-width:700px){
  .event-grid{grid-template-columns:1fr!important}
  .modern-quick{grid-template-columns:1fr 1fr!important}
  .multi-filters{grid-template-columns:1fr 1fr!important}
  .header-status .cloud-status{display:none}
}


/* ================= V28 — FILTROS PESQUISÁVEIS SEM COBRIR O SITE ================= */
.compact-search-filters{position:relative;overflow:visible!important}
.native-filter-select{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.smart-select{position:relative;min-width:0;z-index:12}
.smart-select.is-open{z-index:120}
.smart-select-button{width:100%;min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px;border:1px solid #4F342A;border-radius:18px;background:#211612;color:#F4E8D7;font-weight:700;text-align:left;box-shadow:none}
.smart-select-button:hover,.smart-select-button:focus-visible{border-color:#8B6336;outline:none}
.smart-select-button .smart-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.smart-select-button .smart-arrow{flex:0 0 auto;color:#D9A52B;font-size:.82rem;transition:transform .18s ease}
.smart-select.is-open .smart-arrow{transform:rotate(180deg)}
.smart-select-panel{position:absolute;top:calc(100% + 8px);left:0;width:min(420px,max(100%,320px));max-width:min(92vw,420px);border:1px solid #5B3D31;border-radius:18px;background:#F8EBD3;box-shadow:0 18px 42px rgba(0,0,0,.34);overflow:hidden}
.smart-select-panel.align-right{left:auto;right:0}
.smart-select-search-wrap{position:sticky;top:0;z-index:2;padding:10px;background:#F8EBD3;border-bottom:1px solid #D5B784}
.smart-select-search{width:100%;min-height:44px;border:1px solid #C8A46A!important;border-radius:13px!important;background:#FFF7E9!important;color:#3E2723!important;padding:0 12px!important;outline:none}
.smart-select-search::placeholder{color:#8A725E!important}
.smart-select-options{max-height:260px;overflow:auto;overscroll-behavior:contain;padding:6px;scrollbar-width:thin}
.smart-option{width:100%;display:flex;align-items:center;min-height:42px;border:0;border-radius:11px;background:transparent;color:#3E2723;padding:8px 11px;text-align:left;font-weight:650}
.smart-option:hover,.smart-option:focus-visible{background:#ECD8B4;outline:none}
.smart-option.selected{background:linear-gradient(135deg,#D4A017,#E7BF59);color:#382417}
.smart-empty{padding:18px 12px;color:#725C4B;text-align:center}
.smart-select-backdrop{position:fixed;inset:0;z-index:110;background:transparent}
#events .multi-filters{align-items:start}
@media(max-width:980px){.smart-select-panel{width:min(360px,max(100%,280px))}}
@media(max-width:700px){
.smart-select-panel,.smart-select-panel.align-right{position:fixed;left:14px;right:14px;top:auto;bottom:86px;width:auto;max-width:none;max-height:52dvh;border-radius:22px}
.smart-select-options{max-height:calc(52dvh - 72px)}
}


/* ================= V29 — FLYER REAL DOS EVENTOS ================= */
.thumb{
  position:relative;
  overflow:hidden;
}

.thumb.has-flyer{
  background:#120c09!important;
}

.event-flyer{
  display:block;
  width:100%;
  height:100%;
  min-height:inherit;
  object-fit:cover;
  object-position:center;
  position:absolute;
  inset:0;
  z-index:2;
  background:#120c09;
}

.event-flyer-placeholder{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    radial-gradient(circle at 86% 14%,rgba(212,160,23,.24),transparent 22%),
    linear-gradient(155deg,#4B241A 0%,#8A3F27 38%,#B5522E 58%,#1B5E3F 100%);
}

/* Destaques com proporção de flyer/poster */
.event-grid .thumb{
  min-height:0!important;
  aspect-ratio:4 / 5;
}

.event-grid .event-flyer{
  min-height:0;
}

/* Na visualização em lista mantém formato mais horizontal */
.event-grid.list-mode .thumb{
  aspect-ratio:auto;
  min-height:190px!important;
}

@media(max-width:760px){
  .event-grid .thumb{
    aspect-ratio:4 / 5;
    min-height:0!important;
  }
  .event-grid.list-mode .thumb{
    aspect-ratio:auto;
    min-height:150px!important;
  }
}

/* ================= V30 — HEADLINE MAIS ATRATIVA ================= */
.home-head h1{
  max-width:760px;
  line-height:1.02!important;
}
.home-head h1 span{
  display:inline;
}
@media(max-width:760px){
  .home-head h1{
    font-size:2.15rem!important;
    max-width:100%;
  }
}


/* ================= V31 — LAYOUT RITUAL PREMIUM ================= */
:root{
  --v31-black:#080705;
  --v31-panel:#120d09;
  --v31-panel2:#1a110b;
  --v31-gold:#f2b12e;
  --v31-gold2:#d88916;
  --v31-cream:#fff0cf;
  --v31-muted:#b9afa2;
  --v31-line:#5f3f1e;
  --v31-green:#17723e;
  --v31-red:#9e241f;
  --v31-purple:#512061;
}

body{
  background:
    radial-gradient(circle at 50% 0%, rgba(121,65,20,.18), transparent 30%),
    linear-gradient(180deg,#090705 0%,#0b0806 54%,#060504 100%)!important;
  color:#fff!important;
  overflow-x:hidden;
}

#app{
  min-height:100dvh;
  position:relative;
  isolation:isolate;
}

/* Decorative side imagery derived from the user's reference */
.ritual-decor{
  position:fixed;
  top:78px;
  bottom:72px;
  width:280px;
  background-repeat:no-repeat;
  background-position:center;
  background-size:cover;
  pointer-events:none;
  z-index:-1;
  opacity:.88;
}
.ritual-left{
  left:0;
  background-image:url('assets/ritual-left.png');
}
.ritual-right{
  right:0;
  background-image:url('assets/ritual-right.png');
}

.v31-topbar{
  position:sticky!important;
  top:0;
  z-index:80;
  min-height:82px;
  display:grid!important;
  grid-template-columns:minmax(290px,1fr) auto minmax(290px,1fr);
  align-items:center;
  gap:24px;
  padding:10px max(24px,calc((100vw - 1180px)/2))!important;
  background:rgba(7,6,4,.94)!important;
  border-bottom:1px solid rgba(242,177,46,.22)!important;
  backdrop-filter:blur(18px);
  box-shadow:0 12px 28px rgba(0,0,0,.3);
}

.v31-topbar .brand{
  justify-content:flex-start!important;
  margin:0!important;
  text-align:left!important;
}
.v31-topbar .brand img{
  width:54px!important;
  height:54px!important;
  border-radius:50%!important;
  box-shadow:0 0 0 2px rgba(242,177,46,.35),0 0 22px rgba(216,137,22,.22);
}
.v31-topbar .brand strong{
  color:#f6d784!important;
  font-size:1.32rem!important;
}
.v31-topbar .brand small{
  color:#ddd0be!important;
  font-size:.78rem!important;
}

.desktop-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.desktop-nav button{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  border:1px solid transparent;
  border-radius:14px;
  padding:0 15px;
  background:transparent;
  color:#a8a39c;
  font-weight:800;
}
.desktop-nav button span{font-size:1.05rem}
.desktop-nav button:hover{
  color:#f2d496;
  background:#15100b;
}
.desktop-nav button.active{
  color:#ffd467;
  background:linear-gradient(180deg,#211507,#171006);
  border-color:#b57815;
  box-shadow:0 0 22px rgba(242,177,46,.10);
}

.header-actions{
  justify-self:end;
  display:flex;
  align-items:center;
  gap:12px;
  position:relative;
}
.create-event-top{
  min-height:46px;
  border:0;
  border-radius:14px;
  padding:0 18px;
  background:linear-gradient(135deg,#f0a817,#ffc34b);
  color:#1f1407;
  font-weight:900;
  box-shadow:0 10px 24px rgba(240,168,23,.18);
}
.profile-round{
  width:46px;height:46px;
  border-radius:50%;
  border:1px solid #3e342b;
  background:#181512;
  color:#dfd8ce;
  font-size:1.35rem;
}
.compact-cloud{
  position:absolute;
  right:46px;
  bottom:-15px;
  padding:2px 7px!important;
  font-size:.58rem!important;
  opacity:.72;
}
.version-badge{display:none!important}

.container{
  width:min(1260px,calc(100% - 80px))!important;
  padding:0 0 110px!important;
  position:relative;
  z-index:2;
}

.hero-agenda{
  text-align:center;
  padding:32px 24px 22px;
  margin:0 auto;
  background:
    radial-gradient(circle at 50% 0%,rgba(147,70,19,.18),transparent 34%),
    linear-gradient(180deg,rgba(17,12,8,.86),rgba(10,8,6,.78));
  border-bottom:1px solid rgba(242,177,46,.13);
}
.hero-agenda .eyebrow{
  color:#f2b12e!important;
  letter-spacing:.28em!important;
  font-size:.78rem!important;
}
.hero-agenda h1{
  margin:10px auto 8px;
  max-width:930px;
  color:#fff7e8!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:clamp(2.8rem,5vw,4.55rem)!important;
  line-height:.98!important;
  letter-spacing:-.045em!important;
}
.hero-agenda h1 span{
  color:#f0ad25!important;
  border-bottom:0!important;
}
.hero-agenda p{
  margin:0 auto 22px;
  color:#e3dbcf!important;
  font-size:1.02rem;
}

.hero-search-line{
  max-width:1000px;
  margin:0 auto 18px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:14px;
  align-items:center;
}
.v31-search-box{
  min-height:56px!important;
  border-radius:18px!important;
  border:1px solid #a86d17!important;
  background:rgba(11,9,7,.86)!important;
  box-shadow:0 10px 32px rgba(0,0,0,.2);
}
.v31-search-box input{
  color:#f7ede0!important;
}
.v31-search-box input::placeholder{
  color:#b9afa2!important;
}
.view-toggle{
  padding:4px!important;
  background:#17120e!important;
  border-color:#392c21!important;
}
.view-toggle button.active{
  background:linear-gradient(135deg,#bb7911,#f0a91c)!important;
  color:#1e1204!important;
}

.hero-filter-row{
  max-width:1040px;
  margin:0 auto;
  display:grid;
  grid-template-columns:160px minmax(180px,1fr) minmax(210px,1fr) minmax(210px,1fr) 135px;
  gap:14px;
  align-items:center;
}
.hero-filter-row .nearby-pill,
.hero-filter-row select,
.hero-filter-row .smart-select-button{
  min-height:50px!important;
  border-radius:14px!important;
  border:1px solid #6c481f!important;
  background:#15100c!important;
  color:#f1e9dc!important;
  font-weight:800!important;
}
.hero-filter-row .nearby-pill{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.event-type-filter{
  width:100%;
  padding:0 14px;
}
.v31-search-btn{
  min-height:50px!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,#f1aa1a,#ffc44c)!important;
  color:#1c1207!important;
  font-weight:900!important;
  border:0!important;
}

.agenda-section-head{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:14px;
  margin:20px 0 14px;
  padding:0 2px;
}
.agenda-heading-icon{
  width:52px;height:52px;
  display:grid;place-items:center;
  border-radius:15px;
  background:#17110b;
  border:1px solid #6c481f;
  color:#f1ae25;
  font-size:1.4rem;
}
.agenda-heading-copy h3{
  margin:0;
  color:#fff5e3!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:1.9rem!important;
  line-height:1.08;
}
.agenda-heading-copy h3 span{
  color:#f2ad25;
}
.agenda-heading-copy p{
  margin:4px 0 0;
  color:#bdb2a6;
  font-size:.9rem;
}
.agenda-see-all{
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid #4b3823;
  background:#17110c;
  color:#e9e0d4;
  border-radius:14px;
  padding:12px 16px;
  font-weight:800;
}
.agenda-see-all span{
  color:#f2ad25;
  font-size:1.35rem;
}

.ritual-event-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:14px!important;
}
.ritual-event-card{
  display:block!important;
  min-width:0;
  overflow:hidden;
  background:linear-gradient(180deg,#14100c,#0e0b08)!important;
  border:1px solid #4b3724!important;
  border-radius:18px!important;
  box-shadow:0 14px 30px rgba(0,0,0,.28)!important;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.ritual-event-card:hover{
  transform:translateY(-3px);
  border-color:#8a6025!important;
  box-shadow:0 18px 36px rgba(0,0,0,.36)!important;
}
.ritual-event-card .thumb{
  aspect-ratio:1.18/1!important;
  min-height:0!important;
  position:relative;
}
.ritual-event-card .event-flyer{
  object-fit:cover!important;
}
.event-date-badge{
  position:absolute;
  top:12px;
  left:12px;
  z-index:5;
  min-width:52px;
  padding:7px 8px 6px;
  border-radius:12px;
  background:rgba(12,10,8,.88);
  border:1px solid #9b6b24;
  text-align:center;
  box-shadow:0 8px 18px rgba(0,0,0,.3);
}
.event-date-badge strong{
  display:block;
  color:#ffc03c;
  font-size:1.48rem;
  line-height:1;
}
.event-date-badge span{
  display:block;
  color:#f5e7d1;
  font-size:.7rem;
  margin-top:3px;
  font-weight:800;
}
.ritual-event-card .body{
  position:relative;
  padding:13px 14px 14px!important;
}
.ritual-tags{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-bottom:9px;
}
.ritual-tags .pill{
  padding:5px 9px!important;
  border-radius:999px!important;
  font-size:.68rem!important;
  border:0!important;
  background:#1b6a3b!important;
  color:#eafff0!important;
}
.ritual-tags .ritual-tag-secondary{
  background:#503414!important;
  color:#ffe4ad!important;
}
.ritual-event-card h4{
  margin:0 28px 4px 0!important;
  color:#fff4e1!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:1.08rem!important;
  line-height:1.13!important;
}
.ritual-terreiro{
  color:#ddd0bf;
  font-size:.78rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ritual-location{
  display:flex;
  align-items:center;
  gap:6px;
  margin-top:8px;
  color:#c6b9a8;
  font-size:.76rem;
}
.ritual-location span{color:#f1b22c}
.ritual-heart{
  position:absolute;
  right:13px;
  bottom:12px;
  color:#eee;
  font-size:1.35rem;
}

/* other pages inherit the same black/gold brand */
.pageTitle h2,.title h3{color:#fff1d5!important}
.form,.community,.terreiro,.card{
  background:#15100c!important;
  border-color:#4d3925!important;
}
.form input,.form select,.form textarea,.filters input,.filters select{
  background:#0d0a08!important;
  border-color:#4c3927!important;
  color:#f5ead9!important;
}
.bottom-nav.v31-bottom-nav{
  background:rgba(7,6,4,.96)!important;
  border-top:1px solid rgba(242,177,46,.22)!important;
  grid-template-columns:1fr 1fr 110px 1fr 1fr!important;
  padding:9px max(20px,calc((100vw - 1180px)/2)) calc(9px + env(safe-area-inset-bottom))!important;
}
.v31-bottom-nav button{
  color:#8f8a83!important;
}
.v31-bottom-nav button.active{
  color:#f3b32d!important;
}
.v31-bottom-nav .brand-center{
  width:78px!important;
  height:78px!important;
  margin:-36px auto 0!important;
  border-radius:50%!important;
  background:radial-gradient(circle,#7f3c1b 0%,#32170d 70%)!important;
  border:2px solid #a75e22!important;
  box-shadow:0 0 26px rgba(238,145,30,.3)!important;
}
.v31-bottom-nav .brand-center img{
  width:58px;
  height:58px;
  border-radius:50%;
  margin:auto;
}

/* Keep searchable dropdowns visually consistent */
.smart-select-button{
  background:#15100c!important;
  border-color:#6c481f!important;
  color:#f2e7d8!important;
}
.smart-select-panel{
  background:#17110c!important;
  border-color:#6b4b29!important;
}
.smart-select-search-wrap{
  background:#17110c!important;
  border-bottom-color:#4d3925!important;
}
.smart-select-search{
  background:#0d0a08!important;
  border-color:#5a4027!important;
  color:#f5ead9!important;
}
.smart-select-search::placeholder{color:#8f8174!important}
.smart-option{
  color:#eee0ce!important;
}
.smart-option:hover,.smart-option:focus-visible{
  background:#2a1d11!important;
}
.smart-option.selected{
  background:linear-gradient(135deg,#b97412,#e6a624)!important;
  color:#170e04!important;
}

/* Responsive site */
@media(max-width:1180px){
  .v31-topbar{
    grid-template-columns:1fr auto;
  }
  .desktop-nav{
    display:none;
  }
  .hero-filter-row{
    grid-template-columns:1fr 1fr 1fr;
  }
  .v31-search-btn{
    grid-column:auto;
  }
  .ritual-event-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .ritual-decor{opacity:.5;width:190px}
}

@media(max-width:760px){
  .ritual-decor{display:none}
  .v31-topbar{
    grid-template-columns:1fr auto;
    min-height:68px;
    padding:8px 12px!important;
  }
  .v31-topbar .brand img{
    width:44px!important;height:44px!important;
  }
  .v31-topbar .brand strong{font-size:1rem!important}
  .v31-topbar .brand small{font-size:.66rem!important}
  .create-event-top{
    width:46px;
    padding:0;
    font-size:0;
  }
  .create-event-top span{font-size:1.25rem}
  .profile-round,.compact-cloud{display:none}
  .container{
    width:calc(100% - 24px)!important;
  }
  .hero-agenda{
    padding:24px 4px 18px;
  }
  .hero-agenda h1{
    font-size:2.25rem!important;
  }
  .hero-search-line{
    grid-template-columns:1fr auto;
  }
  .hero-filter-row{
    grid-template-columns:1fr 1fr;
  }
  .hero-filter-row .nearby-pill,
  .v31-search-btn{
    grid-column:1/-1;
  }
  .agenda-section-head{
    grid-template-columns:auto 1fr;
  }
  .agenda-see-all{
    grid-column:1/-1;
    justify-self:end;
  }
  .agenda-heading-copy h3{
    font-size:1.35rem!important;
  }
  .ritual-event-grid{
    grid-template-columns:1fr!important;
  }
  .ritual-event-card .thumb{
    aspect-ratio:1.55/1!important;
  }
  .v31-bottom-nav{
    grid-template-columns:1fr 1fr 82px 1fr 1fr!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  .v31-bottom-nav .brand-center{
    width:66px!important;height:66px!important;
    margin-top:-28px!important;
  }
  .v31-bottom-nav .brand-center img{
    width:50px;height:50px;
  }
}


/* ================= V32 — FILTROS ESTADO/CIDADE FUNCIONAIS ================= */

/* Remove a camada transparente que bloqueava toda a interface */
.smart-select-backdrop{
  display:none!important;
  pointer-events:none!important;
}

/* O dropdown fica acima do conteúdo, mas continua dentro do próprio app */
.smart-select{
  position:relative!important;
  z-index:20!important;
}
.smart-select.is-open{
  z-index:9990!important;
}
.smart-select-panel{
  z-index:9999!important;
  pointer-events:auto!important;
  overflow:hidden!important;
}

/* Rolagem real da lista */
.smart-select-options{
  max-height:310px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:pan-y!important;
  scrollbar-width:auto!important;
  scrollbar-color:#b77a22 #24170f!important;
}

/* Scrollbar visível no Chrome/Edge/Safari */
.smart-select-options::-webkit-scrollbar{
  width:10px;
}
.smart-select-options::-webkit-scrollbar-track{
  background:#24170f;
  border-radius:999px;
}
.smart-select-options::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,#e4aa2c,#9a5c16);
  border:2px solid #24170f;
  border-radius:999px;
}

/* Cada opção recebe uma área grande de clique */
.smart-option{
  position:relative!important;
  z-index:1!important;
  cursor:pointer!important;
  pointer-events:auto!important;
  user-select:none!important;
  min-height:44px!important;
}

/* Campo de pesquisa permanece clicável */
.smart-select-search,
.smart-select-search-wrap{
  position:relative!important;
  z-index:3!important;
  pointer-events:auto!important;
}

/* Não deixa o hero cortar o dropdown */
.hero-agenda,
.hero-filter-row,
.compact-search-filters{
  overflow:visible!important;
}

/* No desktop, limita a altura para nunca ocupar a página toda */
@media(min-width:701px){
  .smart-select-panel{
    max-height:390px!important;
  }
  .smart-select-options{
    max-height:300px!important;
  }
}

/* No celular continua como painel inferior, mas agora rolável e selecionável */
@media(max-width:700px){
  .smart-select-panel,
  .smart-select-panel.align-right{
    z-index:99999!important;
    max-height:58dvh!important;
  }
  .smart-select-options{
    max-height:calc(58dvh - 74px)!important;
  }
}


/* ================= V33 — X DE FECHAR SEMPRE VISÍVEL ================= */

/* Todo modal fica como referência para o botão fechar */
dialog{
  position:relative!important;
  overflow:visible!important;
}

/* X universal: grande, contrastado e sempre acima do conteúdo */
.close-x,
.universal-dialog-close,
dialog [data-dialog-close]{
  position:sticky!important;
  float:right;
  top:12px!important;
  right:12px!important;
  z-index:99999!important;

  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  min-height:48px!important;

  display:grid!important;
  place-items:center!important;

  margin:12px 12px -60px auto!important;
  padding:0!important;

  border:2px solid rgba(255,225,155,.92)!important;
  border-radius:50%!important;

  background:linear-gradient(145deg,#b84a2c,#7e281c)!important;
  color:#fff8e9!important;

  font-family:Arial,Helvetica,sans-serif!important;
  font-size:32px!important;
  font-weight:800!important;
  line-height:1!important;

  text-shadow:0 1px 2px rgba(0,0,0,.45)!important;
  box-shadow:
    0 0 0 4px rgba(20,10,5,.55),
    0 8px 24px rgba(0,0,0,.45),
    0 0 18px rgba(242,177,46,.18)!important;

  cursor:pointer!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;

  transition:transform .16s ease, filter .16s ease, box-shadow .16s ease!important;
}

.close-x:hover,
.universal-dialog-close:hover,
dialog [data-dialog-close]:hover{
  transform:scale(1.07)!important;
  filter:brightness(1.12)!important;
  box-shadow:
    0 0 0 4px rgba(20,10,5,.55),
    0 10px 28px rgba(0,0,0,.50),
    0 0 24px rgba(242,177,46,.35)!important;
}

.close-x:active,
.universal-dialog-close:active,
dialog [data-dialog-close]:active{
  transform:scale(.96)!important;
}

.close-x:focus-visible,
.universal-dialog-close:focus-visible,
dialog [data-dialog-close]:focus-visible{
  outline:3px solid #ffc548!important;
  outline-offset:3px!important;
}

/* Evita que imagem/título do modal cubra o X */
.detailHero,
.detailContent,
#detailBody{
  position:relative;
  z-index:1;
}

/* Em telas pequenas o X fica ainda mais fácil de tocar */
@media(max-width:700px){
  .close-x,
  .universal-dialog-close,
  dialog [data-dialog-close]{
    width:52px!important;
    height:52px!important;
    min-width:52px!important;
    min-height:52px!important;
    font-size:34px!important;
    top:8px!important;
    right:8px!important;
    margin:8px 8px -60px auto!important;
  }
}


/* ================= V34 — NOVA TELA DE INÍCIO BASEADA NA ARTE ENVIADA ================= */

.splash-v34-screen{
  width:100vw;
  height:100vh;
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  isolation:isolate;
  background:#100906;
}

.splash-v34-bg{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(180deg, rgba(10,5,3,.18), rgba(10,5,3,.42)),
    url("assets/splash-v35-bg-landscape.jpg");
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  filter:saturate(1.07) contrast(1.06);
}

.splash-v34-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,198,86,.10), transparent 30%),
    linear-gradient(180deg, rgba(10,6,4,.08), rgba(10,6,4,.28) 36%, rgba(10,6,4,.50) 100%);
}

.splash-v34-card{
  position:relative;
  z-index:2;
  width:min(92vw, 470px);
  min-height:min(70vh, 610px);
  padding:30px 28px 32px;
  border-radius:34px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:linear-gradient(180deg, rgba(98,69,36,.20), rgba(47,30,18,.18));
  border:1px solid rgba(255,223,150,.55);
  box-shadow:
    0 30px 80px rgba(0,0,0,.45),
    inset 0 0 0 1px rgba(255,255,255,.08),
    0 0 28px rgba(255,184,72,.18);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.splash-v34-card::before{
  content:"";
  position:absolute;
  inset:10px;
  border-radius:28px;
  border:1px solid rgba(255,222,146,.12);
  pointer-events:none;
}

.splash-v34-badge{
  margin-bottom:16px;
  color:#f3bf47;
  font-size:13px;
  font-weight:800;
  letter-spacing:.22em;
  text-transform:uppercase;
}

.splash-v34-logo{
  width:120px;
  height:120px;
  object-fit:cover;
  border-radius:28px;
  margin-bottom:22px;
  box-shadow:
    0 12px 32px rgba(0,0,0,.42),
    0 0 0 3px rgba(244,190,72,.14);
}

.splash-v34-title{
  margin:0;
  line-height:.92;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
}

.splash-v34-title .line1{
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(44px, 6vw, 76px);
  font-weight:700;
  color:#fffaf0;
  text-shadow:0 3px 24px rgba(0,0,0,.34);
}

.splash-v34-title .line2{
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(50px, 6.5vw, 82px);
  font-weight:700;
  color:#f2c45c;
  text-shadow:0 3px 24px rgba(0,0,0,.34);
}

.splash-v34-subtitle{
  margin:18px 0 18px;
  color:#fff6e8;
  font-size:clamp(19px, 2vw, 22px);
  line-height:1.35;
}

.splash-v34-divider{
  width:130px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg, transparent, #c99630 20%, #f1c04e 50%, #c99630 80%, transparent);
  box-shadow:0 0 18px rgba(241,192,78,.28);
  margin-bottom:22px;
}

.splash-v34-actions{
  width:100%;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:8px;
}

.splash-v34-btn{
  min-height:66px;
  padding:0 18px;
  border-radius:22px;
  border:1px solid rgba(247,212,133,.65);
  font-size:clamp(18px, 2vw, 20px);
  font-weight:800;
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
  box-shadow:0 10px 30px rgba(0,0,0,.20);
}

.splash-v34-btn:hover,
.splash-v34-btn:focus-visible{
  transform:translateY(-2px);
  filter:brightness(1.05);
}

.splash-v34-btn-primary{
  background:linear-gradient(180deg, #ffde72 0%, #f4c546 100%);
  color:#241408;
  box-shadow:0 12px 28px rgba(253,204,75,.25);
}

.splash-v34-btn-secondary{
  background:rgba(81,55,33,.58);
  color:#fff9ec;
  border-color:rgba(255,218,138,.72);
}

@media (max-width: 980px){
  .splash-v34-card{
    width:min(92vw, 450px);
    min-height:min(68vh, 590px);
    padding:28px 24px 28px;
  }
}

@media (max-width: 700px){
  .splash-v34-bg{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(180deg, rgba(10,5,3,.18), rgba(10,5,3,.42)),
    url("assets/splash-v35-bg-landscape.jpg");
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  filter:saturate(1.07) contrast(1.06);
}

  .splash-v34-card{
    width:min(92vw, 410px);
    min-height:auto;
    padding:22px 18px 22px;
    border-radius:28px;
  }

  .splash-v34-card::before{
    inset:8px;
    border-radius:22px;
  }

  .splash-v34-badge{
    font-size:10.5px;
    letter-spacing:.20em;
    margin-bottom:12px;
  }

  .splash-v34-logo{
    width:92px;
    height:92px;
    border-radius:22px;
    margin-bottom:16px;
  }

  .splash-v34-subtitle{
    margin:14px 0 14px;
    font-size:17px;
  }

  .splash-v34-divider{
    width:92px;
    margin-bottom:16px;
  }

  .splash-v34-actions{
    grid-template-columns:1fr;
    gap:12px;
  }

  .splash-v34-btn{
    min-height:58px;
    font-size:18px;
    border-radius:18px;
  }
}

@media (max-height: 740px){
  .splash-v34-card{
    transform:scale(.96);
  }
}

/* ================= V36 — SPLASH HERO TELA CHEIA COM ANIMAÇÃO ================= */
.splash-v34-screen{
  background:#110906;
}

.splash-v34-bg{
  background-image:
    linear-gradient(180deg, rgba(8,4,2,.18), rgba(8,4,2,.55)),
    url("assets/splash-v36-hero.png");
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  animation:splashBgZoom 12s ease-in-out infinite alternate;
  transform-origin:center;
}

.splash-v34-overlay{
  background:
    radial-gradient(circle at 50% 42%, rgba(255,193,61,.18), transparent 24%),
    linear-gradient(180deg, rgba(10,5,3,.16) 0%, rgba(10,5,3,.36) 55%, rgba(10,5,3,.58) 100%);
}

.splash-v34-card{
  width:min(94vw, 860px);
  min-height:auto;
  padding:24px 24px 32px;
  background:transparent;
  border:none;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  gap:0;
}

.splash-v34-card::before{display:none}

.splash-v34-badge{
  margin-bottom:18px;
  font-size:14px;
  letter-spacing:.28em;
  color:#f5c455;
  text-shadow:0 2px 12px rgba(0,0,0,.55);
  opacity:0;
  animation:splashSlideDown .7s ease .1s forwards;
}

.splash-v34-logo{
  width:132px;
  height:132px;
  object-fit:cover;
  border-radius:32px;
  margin-bottom:24px;
  box-shadow:0 22px 50px rgba(0,0,0,.45), 0 0 0 2px rgba(247,205,105,.15), 0 0 36px rgba(255,194,72,.22);
  opacity:0;
  transform:scale(.84) translateY(16px);
  animation:splashLogoIn .9s cubic-bezier(.2,.8,.2,1) .18s forwards;
}

.splash-v34-title{
  gap:2px;
  opacity:0;
  transform:translateY(18px);
  animation:splashRise .8s ease .35s forwards;
}

.splash-v34-title .line1{
  font-size:clamp(62px, 8vw, 104px);
  text-shadow:0 3px 26px rgba(0,0,0,.52);
}

.splash-v34-title .line2{
  font-size:clamp(72px, 9vw, 118px);
  text-shadow:0 3px 26px rgba(0,0,0,.52);
}

.splash-v34-subtitle{
  margin:18px 0 14px;
  font-size:clamp(23px, 2.2vw, 30px);
  text-shadow:0 2px 18px rgba(0,0,0,.55);
  opacity:0;
  transform:translateY(16px);
  animation:splashRise .8s ease .48s forwards;
}

.splash-v34-divider{
  width:180px;
  margin-bottom:30px;
  opacity:0;
  animation:splashFade .9s ease .55s forwards;
}

.splash-v34-actions{
  width:min(100%, 520px);
  grid-template-columns:1fr 1fr;
  gap:18px;
  opacity:0;
  transform:translateY(20px);
  animation:splashRise .85s ease .65s forwards;
}

.splash-v34-btn{
  min-height:72px;
  border-radius:22px;
  font-size:clamp(20px, 2vw, 24px);
  box-shadow:0 18px 40px rgba(0,0,0,.28);
}

.splash-v34-btn-primary{
  box-shadow:0 18px 45px rgba(253,204,75,.28);
}

#splash.hidden{
  opacity:0;
  pointer-events:none;
  transition:opacity .35s ease;
}

@keyframes splashBgZoom{
  from{transform:scale(1)}
  to{transform:scale(1.04)}
}
@keyframes splashLogoIn{
  0%{opacity:0; transform:scale(.84) translateY(16px)}
  65%{opacity:1; transform:scale(1.04) translateY(0)}
  100%{opacity:1; transform:scale(1) translateY(0)}
}
@keyframes splashRise{
  from{opacity:0; transform:translateY(18px)}
  to{opacity:1; transform:translateY(0)}
}
@keyframes splashSlideDown{
  from{opacity:0; transform:translateY(-16px)}
  to{opacity:1; transform:translateY(0)}
}
@keyframes splashFade{
  from{opacity:0}
  to{opacity:1}
}

@media (max-width:900px){
  .splash-v34-card{
    width:min(92vw, 640px);
    padding:20px 16px 28px;
  }
  .splash-v34-logo{width:112px;height:112px;border-radius:28px}
  .splash-v34-title .line1{font-size:clamp(48px, 9.2vw, 74px)}
  .splash-v34-title .line2{font-size:clamp(58px, 10vw, 84px)}
  .splash-v34-subtitle{font-size:clamp(20px, 4.2vw, 25px)}
}

@media (max-width:640px){
  .splash-v34-bg{background-position:46% center}
  .splash-v34-badge{font-size:11px; letter-spacing:.20em; margin-bottom:14px}
  .splash-v34-logo{width:100px;height:100px;border-radius:24px;margin-bottom:18px}
  .splash-v34-subtitle{margin:14px 0 12px; font-size:18px}
  .splash-v34-divider{width:120px; margin-bottom:18px}
  .splash-v34-actions{
    width:min(100%, 360px);
    grid-template-columns:1fr;
    gap:12px;
  }
  .splash-v34-btn{min-height:60px; font-size:19px; border-radius:18px}
}
#splash.closing{opacity:0;transition:opacity .28s ease}


/* ================= V37 — ANIMAÇÃO CINEMATOGRÁFICA REFINADA ================= */
.splash-v34-screen{
  perspective:1200px;
}

.splash-v34-bg{
  animation:splashBgCinema 18s cubic-bezier(.45,.05,.2,1) infinite alternate!important;
  will-change:transform,filter;
}

.splash-v34-overlay{
  opacity:0;
  animation:splashOverlayIn 1.15s ease-out .05s forwards;
}

.splash-v34-screen::before,
.splash-v34-screen::after{
  content:"";
  position:absolute;
  z-index:1;
  pointer-events:none;
  border-radius:50%;
  filter:blur(18px);
  opacity:0;
}
.splash-v34-screen::before{
  width:min(46vw,680px);
  height:min(46vw,680px);
  left:50%;
  top:48%;
  transform:translate(-50%,-50%);
  background:radial-gradient(circle,rgba(243,181,58,.16) 0%,rgba(151,78,21,.07) 38%,transparent 72%);
  animation:splashAuraIn 1.4s ease-out .15s forwards, splashAuraPulse 5.5s ease-in-out 1.6s infinite;
}
.splash-v34-screen::after{
  width:420px;
  height:420px;
  right:-120px;
  top:8%;
  background:radial-gradient(circle,rgba(255,143,34,.09),transparent 70%);
  animation:splashAuraInSimple 1.6s ease-out .4s forwards, splashDrift 9s ease-in-out 2s infinite alternate;
}

.splash-v34-card{
  transform-style:preserve-3d;
  opacity:0;
  transform:translateY(12px) scale(.985);
  animation:splashCardIn .9s cubic-bezier(.22,.78,.24,1) .08s forwards;
}

.splash-v34-badge{
  opacity:0!important;
  transform:translateY(-18px);
  filter:blur(5px);
  animation:splashBadgeIn .72s cubic-bezier(.22,.78,.24,1) .26s forwards!important;
}

.splash-v34-logo{
  opacity:0!important;
  transform:translateY(14px) scale(.78) rotate(-2deg);
  filter:blur(7px) brightness(.9);
  animation:
    splashLogoRefined 1.08s cubic-bezier(.16,.86,.24,1.18) .32s forwards,
    splashLogoFloat 4.8s ease-in-out 1.65s infinite!important;
}

.splash-v34-title{
  opacity:1!important;
  transform:none!important;
  animation:none!important;
  overflow:visible;
}

.splash-v34-title .line1,
.splash-v34-title .line2{
  display:block;
  opacity:0;
  filter:blur(8px);
  will-change:transform,opacity,filter;
}
.splash-v34-title .line1{
  transform:translateX(-28px) translateY(7px);
  animation:splashTitleLeft .82s cubic-bezier(.22,.76,.22,1) .62s forwards;
}
.splash-v34-title .line2{
  transform:translateX(34px) translateY(7px);
  animation:splashTitleRight .86s cubic-bezier(.22,.76,.22,1) .74s forwards;
}

.splash-v34-subtitle{
  opacity:0!important;
  transform:translateY(16px);
  filter:blur(5px);
  animation:splashSoftRise .75s ease-out .96s forwards!important;
}

.splash-v34-divider{
  width:0!important;
  opacity:0!important;
  transform-origin:center;
  animation:splashDividerDraw .75s cubic-bezier(.2,.8,.2,1) 1.08s forwards!important;
}

.splash-v34-actions{
  opacity:1!important;
  transform:none!important;
  animation:none!important;
}
.splash-v34-btn{
  opacity:0;
  transform:translateY(20px) scale(.97);
  filter:blur(3px);
}
.splash-v34-btn-primary{
  animation:splashButtonIn .68s cubic-bezier(.22,.78,.22,1) 1.18s forwards, splashPrimaryGlow 4.8s ease-in-out 2.1s infinite!important;
}
.splash-v34-btn-secondary{
  animation:splashButtonIn .68s cubic-bezier(.22,.78,.22,1) 1.30s forwards!important;
}

.splash-v34-btn:hover,
.splash-v34-btn:focus-visible{
  transform:translateY(-3px) scale(1.015)!important;
}

#splash.closing{
  opacity:1!important;
  transition:none!important;
  animation:splashExit .42s cubic-bezier(.4,0,.2,1) forwards;
}
#splash.closing .splash-v34-card{
  animation:splashCardExit .42s cubic-bezier(.4,0,.2,1) forwards!important;
}
#splash.closing .splash-v34-bg{
  animation:splashBgExit .42s cubic-bezier(.4,0,.2,1) forwards!important;
}

@keyframes splashBgCinema{
  0%{transform:scale(1.025) translate3d(0,0,0);filter:saturate(1.04) contrast(1.05) brightness(.96)}
  100%{transform:scale(1.065) translate3d(-.45%,.3%,0);filter:saturate(1.10) contrast(1.07) brightness(1.00)}
}
@keyframes splashOverlayIn{from{opacity:0}to{opacity:1}}
@keyframes splashAuraIn{from{opacity:0;transform:translate(-50%,-50%) scale(.82)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@keyframes splashAuraInSimple{from{opacity:0;transform:scale(.82)}to{opacity:1;transform:scale(1)}}
@keyframes splashAuraPulse{0%,100%{filter:blur(18px);opacity:.9}50%{filter:blur(24px);opacity:1}}
@keyframes splashDrift{from{transform:translate3d(0,0,0) scale(.95)}to{transform:translate3d(-32px,24px,0) scale(1.08)}}
@keyframes splashCardIn{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes splashBadgeIn{from{opacity:0;transform:translateY(-18px);filter:blur(5px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
@keyframes splashLogoRefined{
  0%{opacity:0;transform:translateY(14px) scale(.78) rotate(-2deg);filter:blur(7px) brightness(.9)}
  58%{opacity:1;transform:translateY(-2px) scale(1.055) rotate(.6deg);filter:blur(0) brightness(1.08)}
  100%{opacity:1;transform:translateY(0) scale(1) rotate(0);filter:blur(0) brightness(1)}
}
@keyframes splashLogoFloat{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-6px) scale(1.018)}}
@keyframes splashTitleLeft{from{opacity:0;transform:translateX(-28px) translateY(7px);filter:blur(8px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes splashTitleRight{from{opacity:0;transform:translateX(34px) translateY(7px);filter:blur(8px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes splashSoftRise{from{opacity:0;transform:translateY(16px);filter:blur(5px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
@keyframes splashDividerDraw{0%{width:0;opacity:0}100%{width:180px;opacity:1}}
@keyframes splashButtonIn{from{opacity:0;transform:translateY(20px) scale(.97);filter:blur(3px)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}
@keyframes splashPrimaryGlow{0%,100%{box-shadow:0 18px 45px rgba(253,204,75,.22)}50%{box-shadow:0 18px 50px rgba(253,204,75,.36),0 0 28px rgba(244,180,51,.16)}}
@keyframes splashExit{0%{opacity:1}100%{opacity:0}}
@keyframes splashCardExit{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.97) translateY(-8px);filter:blur(4px)}}
@keyframes splashBgExit{0%{transform:scale(1.04);filter:brightness(1)}100%{transform:scale(1.085);filter:brightness(.78)}}

@media(max-width:640px){
  .splash-v34-divider{animation-name:splashDividerDrawMobile!important}
  @keyframes splashDividerDrawMobile{0%{width:0;opacity:0}100%{width:120px;opacity:1}}
}

@media(prefers-reduced-motion:reduce){
  .splash-v34-bg,
  .splash-v34-overlay,
  .splash-v34-card,
  .splash-v34-badge,
  .splash-v34-logo,
  .splash-v34-title .line1,
  .splash-v34-title .line2,
  .splash-v34-subtitle,
  .splash-v34-divider,
  .splash-v34-btn,
  .splash-v34-screen::before,
  .splash-v34-screen::after{
    animation:none!important;
    opacity:1!important;
    transform:none!important;
    filter:none!important;
  }
  .splash-v34-divider{width:180px!important}
}


/* V39 splash estática em tela cheia */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.splash-art-screen.splash-art-landscape{
  position:fixed; inset:0; z-index:9999;
  display:block;
  background:#120906;
}
.splash-art-landscape .splash-art-frame{
  position:relative;
  width:100vw;
  height:100dvh;
  max-width:none;
  max-height:none;
  aspect-ratio:auto;
  overflow:hidden;
  box-shadow:none;
}
.splash-art-landscape .splash-art-image{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}
.splash-art-actions{
  position:absolute;
  left:50%;
  bottom:12.8%;
  transform:translateX(-50%);
  width:min(530px, 36vw);
  display:flex;
  justify-content:space-between;
  gap:min(18px,1.3vw);
}
.splash-art-btn{
  flex:1 1 0;
  height:clamp(56px, 7.2vh, 78px);
  border-radius:22px;
  border:0;
  background:transparent;
  color:transparent;
  font-size:0;
  box-shadow:none;
}
.splash-art-btn:hover,.splash-art-btn:focus-visible{
  outline:2px solid rgba(255,210,90,.55);
  outline-offset:2px;
  background:rgba(255,255,255,.03);
}
#splash.closing{opacity:0;transition:opacity .28s ease}
@media (max-width: 1100px){
  .splash-art-actions{
    width:min(460px, 54vw);
    bottom:12.2%;
    gap:14px;
  }
}
@media (max-width: 820px){
  .splash-art-landscape .splash-art-image{object-position:center center}
  .splash-art-actions{
    width:min(390px, 72vw);
    bottom:14%;
    gap:12px;
  }
  .splash-art-btn{height:clamp(50px, 6.6vh, 68px); border-radius:18px}
}
@media (max-width: 560px){
  .splash-art-actions{
    width:min(320px, 78vw);
    bottom:15%;
    gap:10px;
  }
  .splash-art-btn{height:clamp(46px, 6.2vh, 62px); border-radius:16px}
}


/* ================= V40 — PROMO OFICIAL COMPACTA ================= */

#home{
  padding-top:16px;
}

.promo-compact{
  position:relative;
  display:grid;
  grid-template-columns:1fr 1px 1fr;
  gap:18px;
  align-items:stretch;
  margin:0 0 18px;
  padding:14px 16px;
  min-height:220px;
  border:1px solid rgba(209,151,45,.28);
  border-radius:22px;
  overflow:hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(197,111,23,.15), transparent 26%),
    radial-gradient(circle at 86% 20%, rgba(212,160,23,.12), transparent 28%),
    linear-gradient(180deg, rgba(15,10,7,.98), rgba(10,7,5,.99));
  box-shadow:0 16px 38px rgba(0,0,0,.22);
}

.promo-compact::before,
.promo-compact::after{
  content:"";
  position:absolute;
  width:120px;
  height:120px;
  border-radius:50%;
  border:1px solid rgba(226,173,52,.10);
  pointer-events:none;
}
.promo-compact::before{left:-46px;top:-52px}
.promo-compact::after{right:-46px;bottom:-58px}

.promo-card{
  display:grid;
  grid-template-columns:minmax(210px,.92fr) minmax(220px,1.08fr);
  gap:16px;
  align-items:center;
  min-width:0;
  padding:4px;
}

.promo-copy{
  min-width:0;
  text-align:left;
}

.promo-kicker{
  display:block;
  margin-bottom:3px;
  color:#d9a832;
  font-size:.66rem;
  font-weight:900;
  letter-spacing:.22em;
}

.promo-copy h2{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.7rem,2.4vw,2.65rem);
  line-height:1;
  color:#fff1d7;
  text-transform:uppercase;
  letter-spacing:.01em;
}

.promo-copy strong{
  display:block;
  margin-top:5px;
  color:#efb63f;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.05rem;
  line-height:1.15;
}

.promo-copy p{
  margin:6px 0 12px;
  color:#bcae9f;
  font-size:.82rem;
  line-height:1.35;
}

.promo-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:38px;
  padding:0 15px;
  border:1px solid #93621f;
  border-radius:999px;
  color:#f1c968;
  background:#130f0a;
  text-decoration:none;
  font-weight:900;
  font-size:.78rem;
  box-shadow:0 0 16px rgba(213,157,45,.08);
}
.promo-cta:hover{
  color:#fff1c7;
  border-color:#d59f35;
  background:#1c140c;
}

.promo-preview-link{
  position:relative;
  display:block;
  width:100%;
  height:178px;
  min-width:0;
  overflow:hidden;
  border-radius:15px;
  border:1px solid rgba(220,166,62,.40);
  background:#0a0705;
  box-shadow:0 10px 26px rgba(0,0,0,.30);
}

.promo-preview-link::after{
  content:"Abrir";
  position:absolute;
  right:8px;
  bottom:8px;
  z-index:2;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(7,5,3,.82);
  border:1px solid rgba(232,182,73,.45);
  color:#f0c863;
  font-size:.65rem;
  font-weight:900;
  backdrop-filter:blur(8px);
}

.promo-preview-link img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transition:transform .20s ease,filter .20s ease;
}
.promo-preview-link:hover img{
  transform:scale(1.025);
  filter:brightness(1.05);
}

.promo-divider{
  width:1px;
  height:76%;
  align-self:center;
  background:linear-gradient(180deg,transparent,#8c622a 18%,#dfa93e 50%,#8c622a 82%,transparent);
  opacity:.75;
}

.home-search-zone{
  margin-bottom:18px;
  padding:14px;
  border:1px solid rgba(116,80,37,.32);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(13,10,8,.86),rgba(8,7,6,.90));
}

.home-search-zone .hero-search-line{
  margin-bottom:12px;
}

.home-search-zone .hero-filter-row{
  margin-bottom:0;
}

/* Desktop mais largo: deixa a propaganda realmente fina */
@media(min-width:1180px){
  .promo-compact{
    min-height:208px;
    max-height:220px;
  }
  .promo-preview-link{
    height:164px;
  }
}

/* Tablet */
@media(max-width:980px){
  .promo-compact{
    grid-template-columns:1fr;
    gap:10px;
    min-height:0;
    padding:12px;
  }
  .promo-divider{
    display:none;
  }
  .promo-card{
    grid-template-columns:minmax(170px,.85fr) minmax(220px,1.15fr);
    min-height:168px;
    padding:9px;
    border:1px solid rgba(116,80,37,.26);
    border-radius:16px;
    background:rgba(18,12,8,.64);
  }
  .promo-preview-link{
    height:146px;
  }
}

/* Mobile: cards horizontais compactos e roláveis para não empurrar os eventos */
@media(max-width:700px){
  #home{padding-top:10px}

  .promo-compact{
    display:flex;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    gap:10px;
    padding:10px;
    border-radius:18px;
    scrollbar-width:none;
  }
  .promo-compact::-webkit-scrollbar{display:none}

  .promo-card{
    flex:0 0 88%;
    scroll-snap-align:start;
    grid-template-columns:1fr 132px;
    gap:10px;
    min-height:150px;
    padding:10px;
  }

  .promo-kicker{
    font-size:.55rem;
    letter-spacing:.15em;
  }

  .promo-copy h2{
    font-size:1.45rem;
  }

  .promo-copy strong{
    font-size:.90rem;
  }

  .promo-copy p{
    display:none;
  }

  .promo-cta{
    min-height:34px;
    padding:0 11px;
    font-size:.70rem;
  }

  .promo-preview-link{
    height:126px;
    border-radius:13px;
  }

  .home-search-zone{
    padding:10px;
    border-radius:16px;
  }
}


/* ================= V41 — FAIXA OFICIAL ANIMADA ================= */
.official-carousel-band{
  position:relative;
  margin:0 0 18px;
  border:1px solid rgba(209,151,45,.28);
  border-radius:22px;
  overflow:hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(193,108,29,.16), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(209,151,45,.10), transparent 24%),
    linear-gradient(180deg, rgba(13,10,8,.98), rgba(8,6,5,.99));
  box-shadow:0 16px 38px rgba(0,0,0,.24);
}
.official-carousel-track{
  display:flex;
  width:200%;
  animation:officialPromoSlides 12s ease-in-out infinite;
}
.official-carousel-band:hover .official-carousel-track{
  animation-play-state:paused;
}
@keyframes officialPromoSlides{
  0%,44%{transform:translateX(0)}
  50%,94%{transform:translateX(-50%)}
  100%{transform:translateX(0)}
}
.official-slide{
  width:50%;
  display:grid;
  grid-template-columns:minmax(260px,.9fr) minmax(280px,1.1fr);
  gap:18px;
  align-items:center;
  padding:16px;
  min-height:220px;
}
.official-slide-copy{min-width:0}
.official-kicker{
  display:block;
  margin-bottom:4px;
  color:#d8a22d;
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.24em;
}
.official-slide-copy h2{
  margin:0;
  color:#fff0d2;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.7rem,2.3vw,2.7rem);
  line-height:1;
}
.official-slide-copy strong{
  display:block;
  margin-top:6px;
  color:#f0bc49;
  font-size:1.08rem;
  font-family:Georgia,"Times New Roman",serif;
}
.official-slide-copy p{
  margin:8px 0 14px;
  color:#c3b39e;
  font-size:.84rem;
  line-height:1.45;
}
.official-cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:40px;
  padding:0 16px;
  border-radius:999px;
  text-decoration:none;
  font-weight:900;
  font-size:.79rem;
  border:1px solid #a77428;
  color:#f3ca69;
  background:#120f0a;
  box-shadow:0 0 18px rgba(213,157,45,.10);
}
.official-cta:hover{background:#1c140c;border-color:#dbac4d;color:#fff2c9}
.official-preview{
  position:relative;
  display:block;
  height:178px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(220,166,62,.42);
  background:#090604;
  box-shadow:0 10px 24px rgba(0,0,0,.30);
}
.official-preview::after{
  content:"Prévia oficial";
  position:absolute;
  right:8px;
  bottom:8px;
  z-index:2;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(7,5,3,.82);
  border:1px solid rgba(232,182,73,.42);
  color:#f0c863;
  font-size:.63rem;
  font-weight:900;
}
.official-preview img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .22s ease}
.official-preview:hover img{transform:scale(1.03)}
.official-carousel-dots{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 0 12px;
}
.official-carousel-dots span{
  width:8px;height:8px;border-radius:999px;
  background:rgba(244,201,103,.26);
  box-shadow:0 0 0 1px rgba(240,190,73,.18);
  animation:officialPromoDots 12s ease-in-out infinite;
}
.official-carousel-dots span:nth-child(2){animation-delay:6s}
@keyframes officialPromoDots{
  0%,44%{transform:scale(1.1);background:#f3c45f;box-shadow:0 0 14px rgba(243,196,95,.55)}
  50%,100%{transform:scale(.95);background:rgba(244,201,103,.26);box-shadow:0 0 0 1px rgba(240,190,73,.18)}
}
.official-carousel-dots span:nth-child(2){
  animation-name:officialPromoDots2;
}
@keyframes officialPromoDots2{
  0%,44%{transform:scale(.95);background:rgba(244,201,103,.26);box-shadow:0 0 0 1px rgba(240,190,73,.18)}
  50%,94%{transform:scale(1.1);background:#f3c45f;box-shadow:0 0 14px rgba(243,196,95,.55)}
  100%{transform:scale(.95);background:rgba(244,201,103,.26);box-shadow:0 0 0 1px rgba(240,190,73,.18)}
}
@media (max-width:980px){
  .official-slide{grid-template-columns:1fr 1fr;gap:14px;min-height:195px;padding:14px}
  .official-preview{height:154px}
}
@media (max-width:700px){
  .official-slide{
    width:50%;
    grid-template-columns:1fr;
    gap:10px;
    min-height:0;
    padding:12px;
  }
  .official-slide-copy p{display:none}
  .official-slide-copy h2{font-size:1.45rem}
  .official-slide-copy strong{font-size:.92rem}
  .official-cta{min-height:35px;padding:0 12px;font-size:.71rem}
  .official-preview{height:132px}
}


/* ================= V42 — PREVIA OFICIAL AO VIVO + TRANSICAO SUAVE ================= */
.official-carousel-band{display:none!important}
.official-live-band{
  position:relative;
  margin:0 0 18px;
  border:1px solid rgba(209,151,45,.28);
  border-radius:22px;
  overflow:hidden;
  background:
    radial-gradient(circle at 16% 0%, rgba(193,108,29,.14), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(209,151,45,.09), transparent 24%),
    linear-gradient(180deg,rgba(13,10,8,.985),rgba(8,6,5,.995));
  box-shadow:0 16px 38px rgba(0,0,0,.22);
}
.official-live-stage{
  position:relative;
  min-height:216px;
}
.official-live-slide{
  position:absolute;
  inset:0;
  display:grid;
  grid-template-columns:minmax(250px,.82fr) minmax(330px,1.18fr);
  gap:18px;
  align-items:center;
  padding:15px 16px 12px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(7px) scale(.994);
  filter:blur(2px);
  transition:
    opacity .95s cubic-bezier(.22,.72,.22,1),
    transform .95s cubic-bezier(.22,.72,.22,1),
    filter .72s ease,
    visibility 0s linear .95s;
}
.official-live-slide.is-active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0) scale(1);
  filter:blur(0);
  transition-delay:0s;
}
.official-live-copy{min-width:0;padding:2px 4px}
.official-live-kicker{
  display:block;
  margin-bottom:4px;
  color:#d8a22d;
  font-size:.65rem;
  font-weight:900;
  letter-spacing:.24em;
}
.official-live-copy h2{
  margin:0;
  color:#fff0d2;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.55rem,2.2vw,2.5rem);
  line-height:1.02;
}
.official-live-copy strong{
  display:block;
  margin-top:6px;
  color:#efbd4b;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.02rem;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.official-live-copy p{
  margin:8px 0 13px;
  color:#c2b29f;
  font-size:.82rem;
  line-height:1.4;
}
.official-live-cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:38px;
  padding:0 15px;
  border-radius:999px;
  border:1px solid #a77428;
  background:#120f0a;
  color:#f3ca69;
  text-decoration:none;
  font-size:.77rem;
  font-weight:900;
  transition:transform .18s ease,background .18s ease,border-color .18s ease;
}
.official-live-cta:hover{transform:translateY(-1px);background:#1b140c;border-color:#daa840}
.official-live-preview{
  position:relative;
  height:178px;
  overflow:hidden;
  border:1px solid rgba(220,166,62,.42);
  border-radius:16px;
  background:#0a0705;
  box-shadow:0 10px 25px rgba(0,0,0,.28);
  isolation:isolate;
}
.official-live-preview::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:linear-gradient(135deg,rgba(94,49,14,.30),rgba(9,7,5,.85));
}
.official-live-preview iframe{
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  border:0;
  background:#fff;
  opacity:.96;
}
.official-live-badge{
  position:absolute;
  left:8px;
  top:8px;
  z-index:3;
  padding:5px 8px;
  border-radius:999px;
  background:rgba(8,6,4,.86);
  border:1px solid rgba(232,182,73,.43);
  color:#f0c863;
  font-size:.57rem;
  font-weight:900;
  letter-spacing:.08em;
  pointer-events:none;
  backdrop-filter:blur(8px);
}
.official-live-open{
  position:absolute;
  right:8px;
  bottom:8px;
  z-index:4;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(232,182,73,.46);
  background:rgba(8,6,4,.90);
  color:#f1c866;
  text-decoration:none;
  font-size:.62rem;
  font-weight:900;
  backdrop-filter:blur(8px);
}
.official-live-controls{
  position:relative;
  z-index:10;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:7px;
  height:25px;
  padding-bottom:8px;
}
.official-live-dot{
  appearance:none;
  width:8px;
  height:8px;
  padding:0;
  border:0;
  border-radius:999px;
  background:rgba(244,201,103,.27);
  box-shadow:0 0 0 1px rgba(240,190,73,.17);
  cursor:pointer;
  transition:width .35s ease,background .35s ease,box-shadow .35s ease;
}
.official-live-dot.is-active{
  width:26px;
  background:linear-gradient(90deg,#d79a2a,#f1c967);
  box-shadow:0 0 14px rgba(241,201,103,.28);
}
@media(max-width:980px){
  .official-live-stage{min-height:200px}
  .official-live-slide{grid-template-columns:minmax(210px,.78fr) minmax(260px,1.22fr);gap:14px;padding:13px}
  .official-live-preview{height:160px}
}
@media(max-width:700px){
  .official-live-stage{min-height:292px}
  .official-live-slide{
    grid-template-columns:1fr;
    gap:9px;
    padding:11px 11px 8px;
    align-content:start;
  }
  .official-live-copy p{display:none}
  .official-live-copy h2{font-size:1.38rem}
  .official-live-copy strong{font-size:.88rem}
  .official-live-cta{min-height:34px;padding:0 11px;font-size:.69rem}
  .official-live-preview{height:158px}
  .official-live-controls{height:22px;padding-bottom:7px}
}
@media(prefers-reduced-motion:reduce){
  .official-live-slide{transition:none!important;transform:none!important;filter:none!important}
}

/* ===== V43: faixa fina oficial no lugar do bloco grande ===== */
.official-ticker-band{
  margin:0 0 16px;
  padding:10px 14px;
  border-radius:20px;
  border:1px solid rgba(224,164,43,.28);
  background:linear-gradient(135deg,rgba(33,15,8,.92),rgba(12,6,4,.88));
  box-shadow:0 18px 44px rgba(0,0,0,.24), inset 0 0 0 1px rgba(255,216,126,.05);
  display:flex;
  align-items:center;
  gap:12px;
  overflow:hidden;
}
.official-ticker-marquee{
  flex:1 1 auto;
  min-width:0;
  overflow:hidden;
  border-radius:999px;
  border:1px solid rgba(224,164,43,.22);
  background:linear-gradient(90deg,rgba(73,35,15,.30),rgba(9,7,6,.12),rgba(73,35,15,.30));
  box-shadow:inset 0 0 0 1px rgba(255,214,133,.04);
}
.official-ticker-track{
  display:flex;
  width:max-content;
  min-width:100%;
  animation:officialTickerFlow 30s linear infinite;
  will-change:transform;
}
.official-ticker-band:hover .official-ticker-track,
.official-ticker-band:focus-within .official-ticker-track{
  animation-play-state:paused;
}
.official-ticker-sequence{
  display:flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
  padding:11px 14px;
  white-space:nowrap;
}
.official-ticker-item{
  color:#f7ead0;
  font-size:.88rem;
  letter-spacing:.01em;
}
.official-ticker-item strong{
  color:#f1c35a;
  font-weight:900;
}
.official-ticker-item span{
  color:#fff1c5;
  font-weight:800;
}
.official-ticker-divider{
  color:rgba(243,193,85,.92);
  font-size:1rem;
  font-weight:900;
}
.official-ticker-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
}
.official-ticker-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(224,164,43,.42);
  background:rgba(22,12,8,.92);
  color:#f3c65e;
  text-decoration:none;
  font-weight:900;
  font-size:.76rem;
  transition:transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.official-ticker-btn:hover{
  transform:translateY(-1px);
  background:#22140b;
  border-color:rgba(245,199,94,.64);
  color:#fff1cb;
}
@keyframes officialTickerFlow{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}
@media(max-width:900px){
  .official-ticker-band{padding:10px 11px;gap:10px;flex-wrap:wrap;align-items:stretch}
  .official-ticker-actions{width:100%;justify-content:flex-end}
}
@media(max-width:640px){
  .official-ticker-band{margin-bottom:14px;padding:9px 10px;border-radius:18px}
  .official-ticker-sequence{padding:10px 12px;gap:10px}
  .official-ticker-item{font-size:.78rem}
  .official-ticker-btn{min-height:32px;padding:0 10px;font-size:.68rem}
}
@media(prefers-reduced-motion:reduce){
  .official-ticker-track{animation:none}
}


/* ================= V44 — CONTAS, PERFIL E ADM ================= */
.account-gate{
  margin:0 0 16px;
  padding:15px 16px;
  border:1px solid rgba(230,178,71,.34);
  border-radius:18px;
  background:linear-gradient(135deg,rgba(81,43,16,.35),rgba(13,9,7,.92));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.account-gate strong{display:block;color:#ffe3a2;font-size:1rem}
.account-gate span{display:block;color:#c7b7a2;font-size:.82rem;margin-top:3px}
.account-shell{
  border:1px solid rgba(217,163,55,.26);
  border-radius:22px;
  padding:18px;
  background:
    radial-gradient(circle at 10% 0%,rgba(176,89,28,.12),transparent 25%),
    linear-gradient(180deg,#120d09,#0b0806);
}
.account-intro,.profile-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:8px 4px 18px;
}
.account-intro h3,.profile-hero h3,.my-posts-head h3{margin:4px 0 6px;color:#fff1d4;font-size:1.55rem}
.account-intro p{margin:0;color:#bcae9c;max-width:780px;line-height:1.5}
.account-eyebrow{color:#e9b441;font-size:.67rem;font-weight:900;letter-spacing:.19em}
.account-badge,.profile-avatar{
  width:64px;height:64px;border-radius:18px;display:grid;place-items:center;
  background:linear-gradient(135deg,#4b2813,#1a110b);
  border:1px solid #8c5d26;color:#f4c65e;font-size:1.7rem;
}
.auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.account-form{margin:0!important}
.account-feedback{margin-top:10px;padding:10px 12px;border-radius:12px;font-size:.8rem}
.account-feedback.success{background:rgba(25,112,66,.17);border:1px solid rgba(67,188,116,.38);color:#baf2cc}
.account-feedback.error{background:rgba(143,39,28,.18);border:1px solid rgba(220,82,64,.38);color:#ffc2ba}
.role-badge{
  display:inline-flex;padding:5px 9px;border-radius:999px;
  background:#664111;color:#ffd87a;font-size:.66rem;font-weight:900;letter-spacing:.12em;
}
.role-badge.admin{background:#7f2118;color:#ffd3cb;border:1px solid #b84736}
.profile-hero{border-bottom:1px solid rgba(211,158,55,.18);margin-bottom:16px}
.profile-main{flex:1}
.profile-main p{margin:0}
.profile-edit-form{margin:0 0 18px!important}
.my-posts-section{
  border-top:1px solid rgba(211,158,55,.18);
  padding-top:18px;
}
.my-posts-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;
}
.my-posts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.owner-post-card{
  border:1px solid #49341f;border-radius:16px;background:#100c09;overflow:hidden;position:relative;
}
.owner-post-card .owner-thumb{aspect-ratio:16/9;background:#21140c center/cover no-repeat}
.owner-post-card .owner-body{padding:12px}
.owner-post-card h4{margin:0 0 6px;color:#fff1d9;font-size:.98rem}
.owner-post-card .meta{font-size:.72rem}
.owner-post-actions{display:flex;gap:8px;margin-top:10px}
.owner-post-actions button{
  min-height:34px;padding:0 11px;border-radius:10px;border:1px solid #74412c;
  background:#23100c;color:#ffb7aa;font-weight:800;cursor:pointer;
}
.owner-post-actions button:hover{background:#3a1710}
.detail-delete-btn{
  border:1px solid #8b3c2f!important;background:#2a100c!important;color:#ffc4ba!important;
}
.admin-summary{
  margin:0 0 14px;padding:12px 14px;border-radius:14px;
  background:rgba(116,35,25,.16);border:1px solid rgba(197,67,48,.28);color:#ffd8d2;
}
@media(max-width:900px){
  .auth-grid{grid-template-columns:1fr}
  .my-posts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .account-shell{padding:12px;border-radius:18px}
  .account-intro,.profile-hero,.my-posts-head,.account-gate{align-items:flex-start;flex-direction:column}
  .profile-actions{width:100%}
  .profile-actions .btn{width:100%}
  .my-posts-grid{grid-template-columns:1fr}
}


/* ================= V45 — MEU PERFIL NO TOPO + ADM ================= */
.profile-nav-tab{
  white-space:nowrap;
}
.profile-entry-top{
  width:auto!important;
  min-width:118px;
  padding:0 14px!important;
  gap:8px;
  border-radius:14px!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
}
.profile-entry-top b{
  font-size:.76rem;
  font-weight:900;
  white-space:nowrap;
}
.profile-entry-top span{
  font-size:1.05rem;
}
.admin-tools-box{
  margin:0 0 18px;
  padding:15px 16px;
  border-radius:17px;
  border:1px solid rgba(194,65,47,.38);
  background:linear-gradient(135deg,rgba(109,31,23,.22),rgba(18,10,8,.90));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.admin-tools-box strong{
  display:block;
  margin:4px 0;
  color:#ffd7cf;
  font-size:1rem;
}
.admin-tools-box p{
  margin:0;
  color:#c9aba5;
  font-size:.80rem;
  line-height:1.45;
}
.admin-tools-icon{
  width:48px;height:48px;border-radius:15px;
  display:grid;place-items:center;
  flex:0 0 auto;
  background:#38150f;
  color:#ffb6a8;
  border:1px solid #713128;
  font-size:1.3rem;
}
@media(max-width:1150px){
  .desktop-nav .profile-nav-tab{display:none}
}
@media(max-width:760px){
  .profile-entry-top{
    min-width:44px!important;
    width:44px!important;
    padding:0!important;
  }
  .profile-entry-top b{display:none}
}


/* ================= V46 — CONTA LOGO NO INÍCIO + ARQUIVO AUTOMÁTICO ================= */
.home-account-invite{
  margin:0 0 16px;
  padding:15px 16px;
  border-radius:20px;
  border:1px solid rgba(229,177,67,.34);
  background:
    radial-gradient(circle at 12% 10%,rgba(191,100,29,.18),transparent 25%),
    linear-gradient(135deg,rgba(45,24,13,.96),rgba(12,8,6,.96));
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:14px;
  box-shadow:0 14px 34px rgba(0,0,0,.22);
}
.home-account-icon{
  width:54px;height:54px;border-radius:16px;display:grid;place-items:center;
  color:#f4c862;background:#28180e;border:1px solid #7a5225;font-size:1.4rem;
}
.home-account-copy{min-width:0}
.home-account-kicker{
  display:block;color:#e7b548;font-size:.62rem;font-weight:900;letter-spacing:.18em;margin-bottom:3px;
}
.home-account-copy strong{display:block;color:#fff0d2;font-size:1rem}
.home-account-copy p{margin:4px 0 0;color:#baa996;font-size:.78rem;line-height:1.4}
.home-account-actions{display:flex;gap:8px;flex-wrap:wrap}
.home-account-actions .btn{min-height:38px;padding:0 13px;font-size:.74rem}
.home-account-invite.logged-in{
  grid-template-columns:auto 1fr auto;
  background:linear-gradient(135deg,rgba(31,57,32,.42),rgba(12,8,6,.96));
  border-color:rgba(74,159,91,.34);
}
.home-account-invite.logged-in .home-account-kicker{color:#91d49a}

.account-post-tabs{
  display:flex;gap:8px;margin:0 0 14px;
}
.account-post-tab{
  min-height:36px;padding:0 14px;border-radius:999px;
  border:1px solid #604321;background:#120d09;color:#c9b79f;
  font-weight:900;cursor:pointer;
}
.account-post-tab.active{
  color:#251706;background:#e7b548;border-color:#e7b548;
}
.archive-badge{
  display:inline-flex;padding:4px 8px;border-radius:999px;
  background:#2b2621;color:#c9bfb4;font-size:.62rem;font-weight:900;margin-bottom:7px;
}
.owner-post-card.archived{
  opacity:.82;
  border-color:#3a342d;
}
.owner-post-card.archived .owner-thumb{
  filter:grayscale(.35) brightness(.72);
}

@media(max-width:820px){
  .home-account-invite{grid-template-columns:auto 1fr}
  .home-account-actions{grid-column:1/-1;width:100%}
  .home-account-actions .btn{flex:1}
}
@media(max-width:560px){
  .home-account-invite{padding:12px;border-radius:17px}
  .home-account-copy strong{font-size:.92rem}
  .home-account-copy p{font-size:.72rem}
}


/* ================= V47 — APENAS UM "MEU PERFIL" NO TOPO ================= */
.desktop-nav .profile-nav-tab{
  display:inline-flex!important;
}

/* botão duplicado do lado direito removido na V47 */
.profile-entry-top{
  display:none!important;
}

@media(max-width:1150px){
  .desktop-nav .profile-nav-tab{
    display:inline-flex!important;
  }
}

@media(max-width:820px){
  .desktop-nav{
    overflow-x:auto;
    scrollbar-width:none;
  }
  .desktop-nav::-webkit-scrollbar{display:none}
  .desktop-nav .profile-nav-tab{
    flex:0 0 auto;
  }
}


/* ================= V48 — LOGIN / CRIAR CONTA PREMIUM ================= */
.premium-auth-screen{
  position:fixed;
  inset:0;
  z-index:99999;
  min-height:100dvh;
  overflow:auto;
  background:#090604;
  color:#fff2d9;
}
.premium-auth-bg{
  position:fixed;
  inset:0;
  background:
    url("assets/site-bg-v52.jpg") center center / cover no-repeat;
  transform:scale(1.01);
}
.premium-auth-shade{
  position:fixed;
  inset:0;
  background:
    radial-gradient(circle at 36% 44%, rgba(242,174,44,.08), transparent 28%),
    linear-gradient(90deg, rgba(5,3,2,.20) 0%, rgba(5,3,2,.36) 44%, rgba(5,3,2,.72) 100%),
    linear-gradient(180deg, rgba(4,2,1,.22), rgba(4,2,1,.42));
}
.premium-auth-shell{
  position:relative;
  z-index:2;
  width:min(1420px, 94vw);
  min-height:100dvh;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(420px,.92fr) minmax(500px,1.08fr);
  gap:clamp(28px,4vw,70px);
  align-items:center;
  padding:42px 20px;
}
.premium-auth-brand{
  max-width:590px;
  text-align:center;
  justify-self:center;
  padding:20px;
  text-shadow:0 4px 24px rgba(0,0,0,.55);
}
.premium-auth-logo{
  width:clamp(120px,10vw,165px);
  height:clamp(120px,10vw,165px);
  object-fit:cover;
  margin:0 auto 16px;
  border-radius:34px;
  box-shadow:0 18px 45px rgba(0,0,0,.40), 0 0 0 2px rgba(230,175,62,.16);
}
.premium-auth-kicker{
  display:block;
  margin-bottom:10px;
  color:#f0bc48;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.22em;
}
.premium-auth-brand h1{
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  line-height:.88;
  font-family:Georgia,"Times New Roman",serif;
}
.premium-auth-brand h1 span{
  color:#fff8ea;
  font-size:clamp(3.7rem,6.3vw,6.4rem);
}
.premium-auth-brand h1 strong{
  color:#efc45f;
  font-size:clamp(4.4rem,7vw,7.2rem);
}
.premium-auth-tagline{
  margin:20px 0 10px;
  color:#fff5e5;
  font-size:clamp(1.15rem,1.8vw,1.6rem);
}
.premium-auth-description{
  max-width:500px;
  margin:0 auto;
  color:#e4d5c3;
  font-size:1rem;
  line-height:1.55;
}
.premium-auth-features{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  max-width:500px;
  margin:28px auto 0;
}
.premium-auth-features div{
  display:grid;
  justify-items:center;
  gap:8px;
  color:#fff1d3;
  font-size:.78rem;
  line-height:1.35;
}
.premium-auth-features b{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#f1c158;
  border:1px solid rgba(238,190,79,.72);
  background:rgba(17,10,6,.66);
  box-shadow:0 10px 30px rgba(0,0,0,.28);
  font-size:1.2rem;
}

.premium-auth-card{
  width:min(100%,620px);
  justify-self:end;
  padding:26px;
  border:1px solid rgba(231,181,72,.62);
  border-radius:28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(159,88,19,.12), transparent 30%),
    linear-gradient(180deg, rgba(18,12,8,.94), rgba(8,6,4,.96));
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  box-shadow:0 30px 90px rgba(0,0,0,.54), inset 0 0 0 1px rgba(255,220,145,.05);
}
.premium-auth-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  margin-bottom:26px;
  padding:4px;
  border:1px solid rgba(124,86,40,.52);
  border-radius:20px;
  background:#0d0906;
}
.premium-auth-tab{
  min-height:58px;
  border:0;
  border-radius:16px;
  background:transparent;
  color:#eee2d2;
  font-weight:900;
  font-size:1rem;
  transition:.18s ease;
}
.premium-auth-tab.active{
  color:#261805;
  background:linear-gradient(180deg,#ffe079,#efb637);
  box-shadow:0 9px 28px rgba(225,165,47,.20);
}
.premium-auth-card-head{
  text-align:center;
  margin-bottom:20px;
}
.premium-auth-card-head h2{
  margin:0;
  color:#fff5e5;
  font-size:clamp(1.7rem,2.5vw,2.25rem);
}
.premium-auth-card-head p{
  margin:8px 0 0;
  color:#c6b7a4;
  font-size:.88rem;
}
.premium-auth-form{
  display:grid;
  gap:14px;
}
.premium-auth-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.premium-auth-form label{
  display:grid;
  gap:7px;
}
.premium-auth-form label > span{
  color:#f4e5cf;
  font-size:.78rem;
  font-weight:900;
}
.premium-auth-form input{
  width:100%;
  min-height:54px;
  padding:0 15px;
  border:1px solid rgba(116,79,37,.72);
  border-radius:14px;
  outline:none;
  background:rgba(8,6,4,.80);
  color:#fff3dc;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.015);
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.premium-auth-form input::placeholder{color:#736b62}
.premium-auth-form input:focus{
  border-color:#dfae44;
  background:#0d0906;
  box-shadow:0 0 0 3px rgba(223,174,68,.11);
}
.premium-auth-submit{
  min-height:58px;
  margin-top:4px;
  border:0;
  border-radius:16px;
  color:#261805;
  background:linear-gradient(180deg,#ffdf73,#eeb131);
  font-weight:950;
  font-size:1rem;
  box-shadow:0 15px 34px rgba(218,156,42,.20);
}
.premium-auth-submit:hover{filter:brightness(1.05);transform:translateY(-1px)}
.premium-auth-submit:disabled{opacity:.58;cursor:wait;transform:none}
.premium-auth-switch{
  margin:18px 0 0;
  text-align:center;
  color:#c5b5a1;
  font-size:.83rem;
}
.premium-auth-switch button{
  border:0;
  background:transparent;
  color:#f1c45e;
  font-weight:900;
  text-decoration:underline;
}
.premium-auth-feedback{
  margin-top:3px;
  padding:10px 12px;
  border-radius:12px;
  font-size:.78rem;
  line-height:1.4;
}
.premium-auth-feedback.success{
  color:#bce9c5;
  border:1px solid rgba(83,181,104,.38);
  background:rgba(41,111,56,.17);
}
.premium-auth-feedback.error{
  color:#ffc5ba;
  border:1px solid rgba(208,73,53,.42);
  background:rgba(125,38,27,.20);
}
#splash.closing{
  opacity:0;
  transition:opacity .28s ease;
  pointer-events:none;
}

@media(max-width:1000px){
  .premium-auth-shell{
    grid-template-columns:1fr;
    width:min(760px,94vw);
    gap:24px;
    padding:28px 16px 36px;
  }
  .premium-auth-brand{
    padding:10px 15px 0;
  }
  .premium-auth-brand h1 span{font-size:clamp(3.2rem,10vw,5rem)}
  .premium-auth-brand h1 strong{font-size:clamp(3.7rem,11.5vw,5.8rem)}
  .premium-auth-logo{width:100px;height:100px;border-radius:24px}
  .premium-auth-description{display:none}
  .premium-auth-features{margin-top:18px}
  .premium-auth-card{justify-self:center;width:min(100%,650px)}
}
@media(max-width:620px){
  .premium-auth-shell{padding:18px 10px 28px}
  .premium-auth-brand{padding:4px 8px}
  .premium-auth-logo{width:78px;height:78px;margin-bottom:10px;border-radius:20px}
  .premium-auth-kicker{font-size:.53rem;letter-spacing:.16em;margin-bottom:7px}
  .premium-auth-brand h1 span{font-size:2.7rem}
  .premium-auth-brand h1 strong{font-size:3.15rem}
  .premium-auth-tagline{font-size:.95rem;margin:12px 0 0}
  .premium-auth-features{display:none}
  .premium-auth-card{padding:14px;border-radius:22px}
  .premium-auth-tabs{margin-bottom:18px}
  .premium-auth-tab{min-height:50px;font-size:.88rem}
  .premium-auth-card-head h2{font-size:1.45rem}
  .premium-auth-card-head p{font-size:.75rem}
  .premium-auth-form-grid{grid-template-columns:1fr}
  .premium-auth-form input{min-height:50px}
  .premium-auth-submit{min-height:54px}
}


/* ================= V50 — RECUPERAÇÃO DE SENHA ================= */
.premium-auth-forgot,
.account-forgot-link{
  appearance:none;
  border:0;
  background:transparent;
  color:#f0c15b;
  font-weight:900;
  cursor:pointer;
  text-decoration:underline;
  text-underline-offset:3px;
}
.premium-auth-forgot{
  justify-self:center;
  margin-top:-3px;
  padding:6px 10px;
  font-size:.78rem;
}
.premium-auth-forgot:hover,
.account-forgot-link:hover{ color:#ffe09a; }
.account-forgot-link{
  width:max-content;
  margin:0 auto;
  padding:3px 6px;
  font-size:.75rem;
}
.premium-auth-reset-icon{
  width:52px;
  height:52px;
  margin:0 auto 12px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:linear-gradient(135deg,#39200f,#17100b);
  border:1px solid rgba(227,173,62,.52);
  color:#f2c35a;
  box-shadow:0 10px 30px rgba(0,0,0,.28);
  font-size:1.3rem;
}
.premium-auth-feedback.info{
  color:#f7dfaa;
  border:1px solid rgba(221,168,60,.36);
  background:rgba(107,73,22,.17);
}


/* ================= V52 — NOVO FUNDO DO SITE ================= */
body{
  position:relative;
  background:#080503!important;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-3;
  background:
    linear-gradient(rgba(5,3,2,.78), rgba(5,3,2,.84)),
    url("assets/site-bg-v52.jpg") center center / cover no-repeat;
  background-attachment:fixed;
  pointer-events:none;
}
body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  background:
    radial-gradient(circle at 50% 14%, rgba(220,149,34,.12), transparent 32%),
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.28));
  pointer-events:none;
}
#app{
  background:transparent!important;
}
.premium-auth-bg{
  background:
    url("assets/site-bg-v52.jpg") center center / cover no-repeat!important;
  transform:none!important;
}
.premium-auth-shade{
  background:
    linear-gradient(90deg, rgba(4,2,1,.28) 0%, rgba(4,2,1,.42) 47%, rgba(4,2,1,.72) 100%),
    linear-gradient(180deg, rgba(4,2,1,.12), rgba(4,2,1,.36))!important;
}

/* melhora leitura sobre o novo fundo */
main,
.v31-main,
.content-shell{
  position:relative;
}
@media(max-width:820px){
  body::before{
    background-attachment:scroll;
    background-position:center top;
  }
  .premium-auth-bg{
    background-position:center top!important;
  }
}


/* ================= V52 FINAL — NOVA LOGO + NOVA TELA INICIAL ================= */
.premium-auth-screen{
  background:#070402!important;
}
.premium-auth-shell{
  width:min(1540px,96vw)!important;
  grid-template-columns:minmax(440px,1fr) minmax(520px,.88fr)!important;
  gap:clamp(34px,4.5vw,84px)!important;
}
.premium-auth-brand{
  max-width:640px!important;
  padding:28px!important;
  border-radius:32px;
  background:linear-gradient(180deg,rgba(8,5,3,.16),rgba(8,5,3,.32));
  backdrop-filter:blur(2px);
}
.premium-auth-logo{
  width:clamp(125px,10.5vw,178px)!important;
  height:clamp(125px,10.5vw,178px)!important;
  border-radius:34px!important;
  object-fit:cover!important;
  box-shadow:0 0 0 2px rgba(246,191,74,.72),0 0 32px rgba(231,154,27,.32),0 22px 54px rgba(0,0,0,.50)!important;
}
.premium-auth-brand h1 span{font-family:Georgia,'Times New Roman',serif;color:#fff7e8!important}
.premium-auth-brand h1 strong{font-family:Georgia,'Times New Roman',serif;color:#f0c45d!important;text-shadow:0 8px 32px rgba(214,149,27,.18)}
.premium-auth-card{
  border-color:rgba(239,183,64,.68)!important;
  background:linear-gradient(180deg,rgba(20,12,7,.93),rgba(8,5,3,.96))!important;
  box-shadow:0 34px 90px rgba(0,0,0,.58), inset 0 0 0 1px rgba(255,218,135,.06)!important;
}
.premium-auth-bg{
  filter:saturate(1.05) contrast(1.03);
}
@media(max-width:1000px){
  .premium-auth-shell{grid-template-columns:1fr!important;width:min(760px,94vw)!important}
  .premium-auth-brand{background:linear-gradient(180deg,rgba(7,4,2,.18),rgba(7,4,2,.40));padding:16px!important}
  .premium-auth-bg{background-position:center top!important}
}
@media(max-width:620px){
  .premium-auth-shell{padding:14px 10px 24px!important;gap:16px!important}
  .premium-auth-brand{padding:8px!important}
  .premium-auth-logo{width:82px!important;height:82px!important;border-radius:21px!important}
  .premium-auth-brand h1 span{font-size:2.55rem!important}
  .premium-auth-brand h1 strong{font-size:3.05rem!important}
  .premium-auth-card{border-radius:22px!important}
}


/* ================= V54 — LAYOUT MAIS MODERNO PREMIUM ================= */
body{background:#050403!important;}
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  background:
    linear-gradient(90deg,rgba(5,4,3,.88) 0%,rgba(5,4,3,.56) 16%,rgba(5,4,3,.38) 38%,rgba(5,4,3,.60) 72%,rgba(5,4,3,.88) 100%),
    url('assets/site-bg-v52.jpg') center/cover no-repeat;
}
body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(circle at 16% 20%,rgba(249,188,67,.18),transparent 24%),
    radial-gradient(circle at 82% 22%,rgba(255,146,24,.10),transparent 16%),
    linear-gradient(180deg,rgba(0,0,0,.16),rgba(0,0,0,.34));
}
#app{position:relative;isolation:isolate;}
.ritual-decor{opacity:.28!important;filter:saturate(.9) brightness(.95);}

.v31-topbar{
  position:sticky!important;
  top:8px;
  width:min(1420px,calc(100% - 34px));
  margin:14px auto 18px;
  padding:10px 16px!important;
  min-height:86px;
  grid-template-columns:minmax(260px,1fr) auto auto;
  gap:16px;
  border:1px solid rgba(240,181,62,.34)!important;
  border-radius:28px;
  background:linear-gradient(180deg,rgba(10,8,6,.95),rgba(8,7,5,.92))!important;
  box-shadow:0 20px 48px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,220,120,.04);
}
.v31-topbar .brand{gap:14px!important;}
.v31-topbar .brand img{width:62px!important;height:62px!important;border-radius:50%!important;box-shadow:0 0 0 2px rgba(245,189,77,.38),0 0 32px rgba(242,163,36,.18)!important;}
.v31-topbar .brand strong{font-size:1.72rem!important;letter-spacing:-.03em;color:#f4d075!important;}
.v31-topbar .brand small{font-size:.84rem!important;color:#eee0c7!important;}

.desktop-nav{gap:10px;justify-content:center;}
.desktop-nav button{
  min-height:52px;
  padding:0 16px;
  border-radius:18px;
  border:1px solid transparent;
  color:#ddd5ca;
  font-size:1rem;
  font-weight:800;
  background:transparent;
  transition:all .18s ease;
}
.desktop-nav button:hover{background:rgba(255,255,255,.04);color:#fff1cc;border-color:rgba(246,190,82,.18);}
.desktop-nav button.active{
  color:#ffd873;
  background:linear-gradient(180deg,rgba(66,36,10,.90),rgba(24,16,8,.96));
  border-color:rgba(241,185,70,.58);
  box-shadow:0 0 0 1px rgba(255,220,120,.05),0 0 32px rgba(239,167,33,.18);
}
.desktop-nav button span{font-size:1rem;}

.header-actions{gap:12px;position:relative;}
.create-event-top{
  min-height:56px;
  padding:0 24px;
  border-radius:18px;
  background:linear-gradient(180deg,#f0bf4f,#eaa91c);
  color:#1f1308;
  font-size:1.02rem;
  font-weight:900;
  box-shadow:0 16px 34px rgba(231,165,30,.24);
}
.create-event-top:hover{transform:translateY(-1px);}
.compact-cloud{
  position:static!important;
  right:auto!important;bottom:auto!important;
  display:inline-flex!important;align-items:center;gap:9px;
  min-height:46px;padding:0 18px!important;
  border-radius:999px;border:1px solid rgba(54,171,107,.30);
  background:linear-gradient(180deg,rgba(8,37,23,.82),rgba(8,27,18,.88));
  color:#baf7cc!important;font-size:.94rem!important;font-weight:800;opacity:1!important;
}
.compact-cloud::before{content:"";width:10px;height:10px;border-radius:999px;background:#18dd73;box-shadow:0 0 16px rgba(24,221,115,.72);}
.cloud-status.error{border-color:rgba(207,86,66,.36);background:linear-gradient(180deg,rgba(49,16,14,.84),rgba(27,10,9,.90));color:#ffd0c5!important;}
.cloud-status.error::before{background:#ff6b57;box-shadow:0 0 14px rgba(255,107,87,.65);}
.header-avatar{
  width:54px;height:54px;display:grid;place-items:center;
  border-radius:18px;border:1px solid rgba(240,181,62,.34);
  background:linear-gradient(180deg,rgba(30,18,11,.96),rgba(15,10,7,.96));
  box-shadow:0 10px 24px rgba(0,0,0,.22);
}
.header-avatar img{width:40px;height:40px;border-radius:50%;object-fit:cover;}

.container{width:min(1280px,calc(100% - 34px))!important;padding:0 0 118px!important;}
#home{padding-bottom:30px;}

.home-account-invite{
  margin:0 0 16px;
  padding:18px 20px;
  border-radius:26px;
  border:1px solid rgba(239,179,61,.30);
  background:linear-gradient(135deg,rgba(8,51,32,.54),rgba(9,17,12,.80));
  backdrop-filter:blur(12px);
  box-shadow:0 18px 42px rgba(0,0,0,.24);
}
.home-account-icon{width:66px;height:66px;border-radius:20px;background:linear-gradient(180deg,rgba(62,43,11,.92),rgba(22,17,10,.96));border:1px solid rgba(240,181,62,.44);font-size:1.8rem;color:#ffd05a;box-shadow:0 0 22px rgba(240,181,62,.16);}
.home-account-kicker{font-size:.86rem;letter-spacing:.28em;color:#57e1a6!important;margin-bottom:6px;}
.home-account-copy strong{font-size:1.9rem;color:#fff6e8;line-height:1.05;}
.home-account-copy p{font-size:1rem;color:#ebe2d1;max-width:860px;margin-top:6px;}
.home-account-actions .btn.primary{min-height:56px;padding:0 26px;border-radius:18px;background:linear-gradient(180deg,#f0bf4f,#eaa91c);color:#1f1308;border:0;font-weight:900;box-shadow:0 14px 28px rgba(234,169,28,.20);}
.home-account-actions .btn.secondary{background:rgba(255,255,255,.02);border:1px solid rgba(240,181,62,.25);color:#fff0ca;}
.home-account-invite.logged-in{border-color:rgba(112,204,146,.26);background:linear-gradient(135deg,rgba(9,58,39,.58),rgba(8,16,12,.82));}
.home-account-invite.logged-in .home-account-copy strong{font-size:1.7rem;}

.official-ticker-band{
  padding:12px 14px;
  border-radius:22px;
  background:linear-gradient(135deg,rgba(26,15,8,.94),rgba(11,7,5,.92));
  border:1px solid rgba(235,176,56,.28);
  box-shadow:0 12px 28px rgba(0,0,0,.24);
}
.official-ticker-marquee{background:linear-gradient(90deg,rgba(61,30,12,.24),rgba(9,7,6,.10),rgba(61,30,12,.24));}
.official-ticker-item{font-size:.96rem;}
.official-ticker-btn{min-height:40px;padding:0 14px;border-radius:14px;background:rgba(16,11,8,.95);font-size:.82rem;}

.home-search-zone{
  margin-bottom:18px;
  padding:18px;
  border-radius:30px;
  border:1px solid rgba(238,178,61,.28);
  background:linear-gradient(180deg,rgba(11,10,8,.88),rgba(9,7,6,.90));
  box-shadow:0 24px 60px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,220,140,.03);
}
.home-search-zone .hero-search-line{grid-template-columns:1fr auto;gap:16px;}
.v31-search-box{min-height:72px!important;border-radius:24px!important;border:1px solid rgba(241,183,64,.42)!important;background:linear-gradient(180deg,rgba(12,14,16,.94),rgba(6,8,10,.92))!important;box-shadow:0 0 34px rgba(239,169,31,.08)!important;}
.v31-search-box span{font-size:1.8rem;color:#ffd05a;padding-left:10px;}
.v31-search-box input{font-size:1.2rem!important;color:#faf3e4!important;}
.view-toggle{padding:7px!important;border-radius:24px!important;background:linear-gradient(180deg,rgba(24,16,10,.96),rgba(11,8,6,.96))!important;border:1px solid rgba(238,178,61,.22)!important;}
.view-toggle button{width:56px;height:56px;border-radius:18px!important;font-size:1.4rem!important;}
.hero-filter-row{grid-template-columns:1.05fr 1.1fr 1.1fr 1.1fr auto;gap:14px;}
.hero-filter-row .nearby-pill,.hero-filter-row select,.hero-filter-row .smart-select-button{min-height:56px!important;border-radius:18px!important;background:linear-gradient(180deg,rgba(18,14,11,.96),rgba(10,8,6,.96))!important;border:1px solid rgba(235,176,56,.28)!important;box-shadow:inset 0 0 0 1px rgba(255,223,147,.02);}
.hero-filter-row .nearby-pill{justify-content:flex-start;padding:0 18px;font-size:1rem;}
.v31-search-btn{min-width:210px;min-height:56px!important;border-radius:18px!important;font-size:1.05rem!important;box-shadow:0 16px 34px rgba(234,169,28,.20)!important;}

.agenda-section-head{margin:18px 0 18px;grid-template-columns:auto 1fr auto;gap:18px;}
.agenda-heading-icon{width:66px;height:66px;border-radius:22px;background:linear-gradient(180deg,rgba(29,17,11,.96),rgba(10,8,6,.96));border:1px solid rgba(238,178,61,.28);font-size:1.7rem;box-shadow:0 0 24px rgba(239,169,31,.08);}
.agenda-heading-copy h3{font-size:4rem!important;letter-spacing:-.06em;line-height:.96;color:#fff7eb!important;}
.agenda-heading-copy h3 span{color:#f1b43a!important;}
.agenda-heading-copy p{font-size:1.2rem;color:#e1d6c4;max-width:900px;}
.agenda-see-all{min-height:54px;padding:0 22px;border-radius:18px;background:linear-gradient(180deg,rgba(24,16,10,.96),rgba(11,8,6,.96));border:1px solid rgba(238,178,61,.28);font-size:1rem;color:#fff2d6;}

.ritual-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;}
.ritual-event-card{position:relative;border-radius:28px!important;border:1px solid rgba(238,178,61,.28)!important;background:linear-gradient(180deg,rgba(22,15,11,.96),rgba(9,7,5,.98))!important;box-shadow:0 22px 54px rgba(0,0,0,.30)!important;overflow:hidden;}
.ritual-event-card:hover{transform:translateY(-4px);border-color:rgba(244,191,85,.48)!important;box-shadow:0 28px 66px rgba(0,0,0,.36)!important;}
.ritual-event-card .thumb{aspect-ratio:1.5/1!important;border-bottom:1px solid rgba(238,178,61,.12);overflow:hidden;}
.ritual-event-card .thumb::after{content:"";position:absolute;inset:auto 0 0 0;height:50%;background:linear-gradient(180deg,transparent,rgba(9,7,5,.78));z-index:1;}
.ritual-event-card .event-flyer,.ritual-event-card .event-flyer-placeholder{width:100%;height:100%;display:block;object-fit:cover;}
.ritual-event-card .event-flyer-placeholder{background:linear-gradient(135deg,#2b1b12,#0e0907);}
.event-date-badge{top:18px;left:18px;min-width:74px;padding:10px 10px 9px;border-radius:18px;border:1px solid rgba(244,191,85,.48);background:rgba(11,9,8,.84);backdrop-filter:blur(10px);z-index:4;}
.event-date-badge strong{font-size:2.1rem;}
.event-date-badge span{font-size:.9rem;letter-spacing:.06em;text-transform:lowercase;}
.ritual-heart{top:18px;right:18px;bottom:auto!important;width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:rgba(12,9,8,.80);border:1px solid rgba(255,255,255,.22);font-size:1.55rem;color:#f3eee5;z-index:4;box-shadow:0 10px 22px rgba(0,0,0,.24);}
.ritual-event-card .body{padding:18px 20px 20px!important;}
.ritual-tags{margin-bottom:12px;gap:8px;}
.ritual-tags .pill{padding:7px 12px!important;font-size:.82rem!important;border-radius:999px!important;}
.ritual-event-card h4{margin:0 72px 12px 0!important;font-size:2.1rem!important;line-height:.98!important;color:#fff7eb!important;}
.ritual-meta-line{display:flex;align-items:center;gap:8px;color:#efe3cd;font-size:1.08rem;margin-top:8px;}
.ritual-meta-line span{color:#f1b43a;font-size:1.1rem;}
.ritual-location{display:none!important;}
.ritual-terreiro{display:none!important;}
.ritual-open{position:absolute;right:20px;bottom:18px;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(180deg,#f0bf4f,#eaa91c);color:#1f1308;font-size:1.6rem;font-weight:900;box-shadow:0 16px 30px rgba(234,169,28,.24);}

@media(max-width:1280px){
  .agenda-heading-copy h3{font-size:3.2rem!important;}
  .ritual-event-card h4{font-size:1.7rem!important;}
}
@media(max-width:1100px){
  .v31-topbar{grid-template-columns:1fr;gap:12px;}
  .desktop-nav{justify-content:flex-start;overflow:auto;scrollbar-width:none;padding-bottom:2px;}
  .desktop-nav::-webkit-scrollbar{display:none;}
  .header-actions{justify-self:start;flex-wrap:wrap;}
  .home-account-copy strong{font-size:1.45rem;}
  .agenda-heading-copy h3{font-size:2.75rem!important;}
}
@media(max-width:860px){
  .container{width:min(100% - 22px,1280px)!important;}
  .home-search-zone .hero-search-line,.hero-filter-row{grid-template-columns:1fr!important;}
  .v31-search-btn{width:100%;min-width:0;}
  .ritual-event-grid{grid-template-columns:1fr!important;}
  .agenda-section-head{grid-template-columns:1fr;align-items:flex-start;}
  .agenda-see-all{justify-content:center;width:100%;}
}
@media(max-width:640px){
  .v31-topbar{width:min(100% - 14px,1420px);margin:8px auto 12px;padding:10px 12px!important;border-radius:22px;}
  .v31-topbar .brand img{width:52px!important;height:52px!important;}
  .v31-topbar .brand strong{font-size:1.24rem!important;}
  .create-event-top{min-height:48px;padding:0 18px;font-size:.92rem;}
  .compact-cloud{min-height:40px;padding:0 14px!important;font-size:.82rem!important;}
  .header-avatar{width:46px;height:46px;border-radius:14px;}
  .header-avatar img{width:34px;height:34px;}
  .home-account-invite{grid-template-columns:1fr;gap:12px;padding:16px;border-radius:22px;}
  .home-account-icon{width:58px;height:58px;font-size:1.6rem;}
  .home-account-kicker{font-size:.72rem;}
  .home-account-copy strong{font-size:1.18rem;}
  .home-account-copy p{font-size:.88rem;}
  .official-ticker-band{padding:10px;border-radius:18px;}
  .home-search-zone{padding:12px;border-radius:22px;}
  .v31-search-box{min-height:60px!important;border-radius:20px!important;}
  .v31-search-box span{font-size:1.5rem;}
  .v31-search-box input{font-size:1rem!important;}
  .view-toggle button{width:48px;height:48px;border-radius:16px!important;}
  .hero-filter-row .nearby-pill,.hero-filter-row select,.hero-filter-row .smart-select-button,.v31-search-btn{min-height:50px!important;border-radius:16px!important;}
  .agenda-heading-icon{width:58px;height:58px;border-radius:18px;}
  .agenda-heading-copy h3{font-size:2.08rem!important;line-height:.98!important;}
  .agenda-heading-copy p{font-size:.96rem;}
  .ritual-event-card{border-radius:24px!important;}
  .ritual-event-card .thumb{aspect-ratio:1.38/1!important;}
  .ritual-event-card h4{font-size:1.55rem!important;margin-right:64px!important;}
  .ritual-meta-line{font-size:.96rem;}
  .ritual-open{width:52px;height:52px;font-size:1.35rem;right:16px;bottom:16px;}
}


/* ================= V55 — CARDS MENORES E FLYERS INTEIROS ================= */
.ritual-event-grid{
  grid-template-columns:repeat(2,minmax(320px,520px))!important;
  justify-content:center!important;
  max-width:1100px;
  margin:0 auto!important;
  gap:18px!important;
}
.ritual-event-card{
  max-width:520px;
  margin-inline:auto;
}
.ritual-event-card .thumb{
  aspect-ratio:1.2/1!important;
  background:linear-gradient(180deg,rgba(17,12,9,.96),rgba(8,6,5,.98));
  display:flex;align-items:center;justify-content:center;
}
.ritual-event-card .thumb::after{height:26%!important;}
.ritual-event-card .event-flyer{
  object-fit:contain!important;
  object-position:center center!important;
  background:linear-gradient(180deg,rgba(19,14,10,.98),rgba(10,7,5,.98));
}
.ritual-event-card .event-flyer-placeholder{background:linear-gradient(135deg,#2b1b12,#0e0907)!important;}
.ritual-event-card .body{padding:16px 18px 18px!important;}
.ritual-event-card h4{font-size:1.85rem!important;margin-right:68px!important;}
.ritual-meta-line{font-size:1rem!important;}
.ritual-open{width:54px;height:54px;font-size:1.45rem;right:18px;bottom:18px;}
.ritual-tags .pill{padding:6px 11px!important;font-size:.78rem!important;}

@media(max-width:1280px){
  .ritual-event-grid{max-width:1020px;grid-template-columns:repeat(2,minmax(300px,1fr))!important;}
}
@media(max-width:860px){
  .ritual-event-grid{grid-template-columns:1fr!important;max-width:560px;}
  .ritual-event-card{max-width:100%;}
}
@media(max-width:640px){
  .ritual-event-card .thumb{aspect-ratio:1.1/1!important;}
  .ritual-event-card h4{font-size:1.45rem!important;}
}


/* ================= V56 — 4 CARDS POR LINHA + PREMIUM ================= */
.ritual-event-grid{
  grid-template-columns:repeat(4,minmax(250px,1fr))!important;
  justify-content:center!important;
  max-width:1480px!important;
  margin:0 auto!important;
  gap:20px!important;
  align-items:stretch!important;
}
.ritual-event-card{
  max-width:100%!important;
  border-radius:30px!important;
  border:1px solid rgba(255,204,94,.28)!important;
  background:
    linear-gradient(180deg,rgba(30,18,11,.97),rgba(12,8,6,.985)) padding-box,
    linear-gradient(135deg,rgba(255,220,136,.55),rgba(110,68,16,.08) 42%,rgba(255,196,72,.35)) border-box!important;
  box-shadow:
    0 16px 30px rgba(0,0,0,.28),
    0 28px 70px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,236,181,.10),
    inset 0 0 0 1px rgba(255,201,93,.06)!important;
  overflow:hidden!important;
}
.ritual-event-card:hover{
  transform:translateY(-5px)!important;
  box-shadow:
    0 20px 38px rgba(0,0,0,.34),
    0 34px 86px rgba(0,0,0,.46),
    0 0 0 1px rgba(255,212,115,.12),
    inset 0 1px 0 rgba(255,240,195,.16)!important;
  border-color:rgba(255,213,116,.48)!important;
}
.ritual-event-card .thumb{
  aspect-ratio:1/1!important;
  border-bottom:1px solid rgba(255,195,74,.14)!important;
  background:radial-gradient(circle at top,rgba(112,68,14,.18),rgba(12,8,6,0) 60%),linear-gradient(180deg,rgba(18,12,8,.96),rgba(9,6,5,.98));
}
.ritual-event-card .thumb::after{height:20%!important;background:linear-gradient(180deg,transparent,rgba(10,7,5,.52))!important;}
.ritual-event-card .event-flyer{
  object-fit:contain!important;
  object-position:center center!important;
  padding:8px!important;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.22));
}
.ritual-event-card .body{padding:16px 16px 18px!important;}
.ritual-tags{gap:8px!important;margin-bottom:12px!important;}
.ritual-tags .pill{padding:6px 10px!important;font-size:.74rem!important;border:1px solid rgba(255,235,200,.05)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.07);}
.ritual-event-card h4{font-size:1.55rem!important;line-height:1.02!important;margin:0 60px 10px 0!important;text-wrap:balance;}
.ritual-meta-line{font-size:.98rem!important;opacity:.95;}
.ritual-open{width:52px!important;height:52px!important;right:14px!important;bottom:14px!important;box-shadow:0 10px 22px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,249,231,.28)!important;}

@media(max-width:1450px){
  .ritual-event-grid{grid-template-columns:repeat(4,minmax(220px,1fr))!important;max-width:1320px!important;}
  .ritual-event-card h4{font-size:1.42rem!important;}
}
@media(max-width:1180px){
  .ritual-event-grid{grid-template-columns:repeat(3,minmax(240px,1fr))!important;max-width:1060px!important;}
}
@media(max-width:900px){
  .ritual-event-grid{grid-template-columns:repeat(2,minmax(260px,1fr))!important;max-width:760px!important;}
}
@media(max-width:640px){
  .ritual-event-grid{grid-template-columns:1fr!important;max-width:560px!important;}
  .ritual-event-card .thumb{aspect-ratio:1.06/1!important;}
  .ritual-event-card h4{font-size:1.45rem!important;}
}


/* ================= V57 — GRID PREMIUM HORIZONTAL ================= */
#featured.ritual-event-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:22px!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  width:100%!important;
  max-width:1380px!important;
  margin:0 auto!important;
}
#featured.ritual-event-grid > .ritual-event-card{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  border-radius:28px!important;
  border:1px solid rgba(255,205,100,.24)!important;
  background:linear-gradient(180deg,rgba(26,17,11,.98),rgba(13,8,6,.99))!important;
  box-shadow:0 14px 30px rgba(0,0,0,.24),0 28px 80px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,244,208,.08)!important;
  overflow:hidden!important;
  backdrop-filter:blur(8px);
}
#featured.ritual-event-grid > .ritual-event-card:hover{
  transform:translateY(-6px)!important;
  border-color:rgba(255,214,118,.5)!important;
  box-shadow:0 22px 42px rgba(0,0,0,.30),0 34px 96px rgba(0,0,0,.42),0 0 0 1px rgba(255,214,118,.10),inset 0 1px 0 rgba(255,248,227,.12)!important;
}
#featured.ritual-event-grid > .ritual-event-card .thumb{
  position:relative!important;
  aspect-ratio:1/1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:8px!important;
  background:radial-gradient(circle at top,rgba(120,77,21,.15),rgba(12,8,6,0) 60%),linear-gradient(180deg,rgba(22,15,11,.96),rgba(9,6,5,.99))!important;
  border-bottom:1px solid rgba(255,200,90,.12)!important;
}
#featured.ritual-event-grid > .ritual-event-card .thumb::after{
  content:'';position:absolute;inset:auto 0 0 0;height:24%;
  background:linear-gradient(180deg,transparent,rgba(8,6,5,.42))!important;
}
#featured.ritual-event-grid > .ritual-event-card .event-flyer{
  width:100%!important;height:100%!important;
  object-fit:contain!important;object-position:center center!important;
  border-radius:20px!important;
  filter:drop-shadow(0 8px 16px rgba(0,0,0,.20));
}
#featured.ritual-event-grid > .ritual-event-card .body{
  flex:1 1 auto!important;
  padding:16px 16px 18px!important;
}
#featured.ritual-event-grid > .ritual-event-card h4{
  margin:0 58px 10px 0!important;
  font-size:1.62rem!important;
  line-height:1.02!important;
  color:#fff6e8!important;
  text-wrap:balance;
}
#featured.ritual-event-grid > .ritual-event-card .ritual-tags{gap:8px!important;margin-bottom:12px!important;}
#featured.ritual-event-grid > .ritual-event-card .ritual-tags .pill{
  padding:6px 10px!important;
  font-size:.76rem!important;
  border-radius:999px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
}
#featured.ritual-event-grid > .ritual-event-card .ritual-meta-line{
  font-size:1rem!important;
  color:#efe3cd!important;
  margin-top:8px!important;
}
#featured.ritual-event-grid > .ritual-event-card .ritual-open{
  width:50px!important;height:50px!important;right:14px!important;bottom:14px!important;
  box-shadow:0 12px 24px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,248,227,.2)!important;
}
#featured.ritual-event-grid > .ritual-event-card .event-date-badge{
  top:14px!important;left:14px!important;min-width:62px!important;padding:8px 8px 7px!important;
}
#featured.ritual-event-grid > .ritual-event-card .event-date-badge strong{font-size:1.8rem!important;}
#featured.ritual-event-grid > .ritual-event-card .event-date-badge span{font-size:.82rem!important;}
#featured.ritual-event-grid > .ritual-event-card .ritual-heart{top:14px!important;right:14px!important;width:42px!important;height:42px!important;font-size:1.35rem!important;}

@media (max-width: 1320px){
  #featured.ritual-event-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;max-width:1240px!important;}
  #featured.ritual-event-grid > .ritual-event-card h4{font-size:1.42rem!important;}
}
@media (max-width: 1120px){
  #featured.ritual-event-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;max-width:980px!important;}
}
@media (max-width: 860px){
  #featured.ritual-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:720px!important;}
}
@media (max-width: 620px){
  #featured.ritual-event-grid{grid-template-columns:1fr!important;max-width:520px!important;}
}


/* ================= V58 — EVENTOS PREMIUM ORGANIZADOS ================= */
#eventList.ritual-event-grid-events{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:24px!important;
  align-items:start!important;
  justify-content:stretch!important;
  width:100%!important;
  max-width:1380px!important;
  margin:18px auto 0!important;
}
#eventList.ritual-event-grid-events > .ritual-event-card{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  border-radius:30px!important;
  overflow:hidden!important;
  border:1px solid rgba(249,203,109,.24)!important;
  background:linear-gradient(180deg,rgba(24,16,12,.98),rgba(10,7,6,.99))!important;
  box-shadow:0 16px 34px rgba(0,0,0,.30),0 34px 92px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,248,227,.08)!important;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease!important;
  position:relative!important;
}
#eventList.ritual-event-grid-events > .ritual-event-card:hover{
  transform:translateY(-7px)!important;
  border-color:rgba(255,216,126,.58)!important;
  box-shadow:0 22px 44px rgba(0,0,0,.34),0 42px 110px rgba(0,0,0,.48),0 0 0 1px rgba(255,214,118,.12), inset 0 1px 0 rgba(255,249,232,.10)!important;
}
#eventList.ritual-event-grid-events > .ritual-event-card .thumb{
  position:relative!important;
  aspect-ratio:1/1!important;
  min-height:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:10px!important;
  background:radial-gradient(circle at top,rgba(131,91,29,.18),rgba(12,8,6,0) 60%),linear-gradient(180deg,rgba(22,15,11,.97),rgba(9,6,5,.99))!important;
  border-bottom:1px solid rgba(255,204,96,.12)!important;
}
#eventList.ritual-event-grid-events > .ritual-event-card .thumb::after{
  content:'';position:absolute;left:0;right:0;bottom:0;height:28%;
  background:linear-gradient(180deg,transparent,rgba(6,4,3,.38));pointer-events:none;
}
#eventList.ritual-event-grid-events > .ritual-event-card .event-flyer{
  width:100%!important;height:100%!important;
  object-fit:contain!important;object-position:center center!important;
  border-radius:22px!important;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.20));
}
#eventList.ritual-event-grid-events > .ritual-event-card .body{
  flex:1 1 auto!important;
  display:flex!important;
  flex-direction:column!important;
  padding:18px 18px 20px!important;
}
#eventList.ritual-event-grid-events > .ritual-event-card .ritual-tags{
  display:flex!important; gap:8px!important; flex-wrap:wrap!important; margin-bottom:14px!important;
}
#eventList.ritual-event-grid-events > .ritual-event-card .ritual-tags .pill{
  padding:6px 10px!important; border-radius:999px!important; font-size:.76rem!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
}
#eventList.ritual-event-grid-events > .ritual-event-card h4{
  margin:0 58px 10px 0!important;
  font-size:1.65rem!important; line-height:1.02!important; color:#fff5e7!important; text-wrap:balance;
}
#eventList.ritual-event-grid-events > .ritual-event-card .ritual-meta-line{
  margin-top:6px!important; font-size:1rem!important; color:#efe3cd!important;
}
#eventList.ritual-event-grid-events > .ritual-event-card .ritual-open{
  margin-top:auto!important; position:absolute!important; right:16px!important; bottom:16px!important;
  width:52px!important; height:52px!important;
  box-shadow:0 12px 24px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,248,227,.2)!important;
}
#eventList.ritual-event-grid-events > .ritual-event-card .event-date-badge{
  top:14px!important; left:14px!important; min-width:64px!important; padding:9px 9px 8px!important;
}
#eventList.ritual-event-grid-events > .ritual-event-card .event-date-badge strong{font-size:1.9rem!important;}
#eventList.ritual-event-grid-events > .ritual-event-card .event-date-badge span{font-size:.83rem!important;}
#eventList.ritual-event-grid-events > .ritual-event-card .ritual-heart{
  top:14px!important; right:14px!important; width:42px!important; height:42px!important; font-size:1.35rem!important;
}
#events .pageTitle + .filters{max-width:1380px!important; margin-left:auto!important; margin-right:auto!important;}

@media (max-width: 1320px){
  #eventList.ritual-event-grid-events{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;max-width:1240px!important;}
  #eventList.ritual-event-grid-events > .ritual-event-card h4{font-size:1.44rem!important;}
}
@media (max-width: 1120px){
  #eventList.ritual-event-grid-events{grid-template-columns:repeat(3,minmax(0,1fr))!important;max-width:980px!important;}
}
@media (max-width: 860px){
  #eventList.ritual-event-grid-events{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:720px!important;}
}
@media (max-width: 620px){
  #eventList.ritual-event-grid-events{grid-template-columns:1fr!important;max-width:520px!important;}
}


/* ================= V59 — MOBILE PREMIUM HEADER ================= */
@media (max-width: 760px){
  .v31-topbar{
    position:sticky!important;
    top:8px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:'brand actions'!important;
    align-items:center!important;
    gap:10px!important;
    width:calc(100% - 14px)!important;
    margin:8px auto 12px!important;
    padding:10px 12px!important;
    min-height:auto!important;
    border-radius:24px!important;
    background:linear-gradient(180deg,rgba(9,7,6,.98),rgba(7,5,4,.96))!important;
    box-shadow:0 18px 44px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,229,161,.08)!important;
    backdrop-filter:blur(12px)!important;
  }
  .v31-topbar .brand{
    grid-area:brand!important;
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
  }
  .v31-topbar .brand img{
    width:50px!important;height:50px!important;flex:0 0 50px!important;
    border-radius:18px!important;
    box-shadow:0 0 0 2px rgba(245,189,77,.34),0 0 24px rgba(242,163,36,.18)!important;
  }
  .v31-topbar .brand > div{min-width:0!important;}
  .v31-topbar .brand strong{
    display:block!important;
    font-size:1.08rem!important;
    line-height:1.05!important;
    letter-spacing:-.03em!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .v31-topbar .brand small{
    display:block!important;
    font-size:.72rem!important;
    line-height:1.1!important;
    color:#dfd3c0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .desktop-nav{display:none!important;}
  .header-actions{
    grid-area:actions!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    flex-wrap:nowrap!important;
    gap:8px!important;
    min-width:0!important;
  }
  .create-event-top{
    min-height:42px!important;
    padding:0 12px!important;
    border-radius:14px!important;
    font-size:.82rem!important;
    font-weight:900!important;
    white-space:nowrap!important;
    box-shadow:0 10px 22px rgba(231,165,30,.22)!important;
  }
  .create-event-top span{font-size:1rem!important;line-height:1!important;}
  .compact-cloud{
    min-height:38px!important;
    padding:0 12px!important;
    font-size:.75rem!important;
    border-radius:999px!important;
    white-space:nowrap!important;
  }
  .compact-cloud::before{width:8px!important;height:8px!important;}
  .header-avatar{
    width:40px!important;height:40px!important;
    border-radius:14px!important;
    flex:0 0 40px!important;
  }
  .header-avatar img{width:30px!important;height:30px!important;}

  #home{padding-top:4px!important;}
  .home-account-invite{padding:14px!important;border-radius:20px!important;}
  .official-ticker-band{padding:10px!important;border-radius:18px!important;}
  .official-ticker-actions{display:none!important;}
  .home-search-zone{padding:12px!important;border-radius:22px!important;}
  .hero-search-line{gap:10px!important;}
  .v31-search-box{min-height:58px!important;border-radius:18px!important;}
  .v31-search-box span{font-size:1.35rem!important;padding-left:4px!important;}
  .v31-search-box input{font-size:.98rem!important;}
  .view-toggle{padding:6px!important;border-radius:18px!important;justify-self:start!important;}
  .view-toggle button{width:44px!important;height:44px!important;border-radius:14px!important;font-size:1.2rem!important;}
  .hero-filter-row{gap:10px!important;}
  .hero-filter-row .nearby-pill, .hero-filter-row select, .hero-filter-row .smart-select-button, .v31-search-btn{
    min-height:48px!important;
    border-radius:15px!important;
    font-size:.94rem!important;
  }

  .agenda-section-head{margin:14px 0 14px!important;gap:12px!important;}
  .agenda-heading-icon{width:54px!important;height:54px!important;border-radius:18px!important;font-size:1.4rem!important;}
  .agenda-heading-copy h3{font-size:2rem!important;line-height:.98!important;letter-spacing:-.04em!important;}
  .agenda-heading-copy p{font-size:.94rem!important;line-height:1.35!important;}
  .agenda-see-all{width:100%!important;min-height:50px!important;border-radius:16px!important;justify-content:center!important;}

  #featured.ritual-event-grid, #eventList.ritual-event-grid-events, .ritual-event-grid{
    grid-template-columns:1fr!important;
    gap:16px!important;
    max-width:100%!important;
  }
  .ritual-event-card,
  #featured.ritual-event-grid > .ritual-event-card,
  #eventList.ritual-event-grid-events > .ritual-event-card{
    border-radius:24px!important;
    box-shadow:0 16px 34px rgba(0,0,0,.32), 0 24px 60px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,236,181,.08)!important;
  }
  .ritual-event-card .thumb,
  #featured.ritual-event-grid > .ritual-event-card .thumb,
  #eventList.ritual-event-grid-events > .ritual-event-card .thumb{
    aspect-ratio:1.03/1!important;
    padding:8px!important;
  }
  .ritual-event-card h4,
  #featured.ritual-event-grid > .ritual-event-card h4,
  #eventList.ritual-event-grid-events > .ritual-event-card h4{
    font-size:1.42rem!important;
    margin-right:56px!important;
  }
  .ritual-meta-line{font-size:.94rem!important;}
  .ritual-open{width:50px!important;height:50px!important;right:14px!important;bottom:14px!important;font-size:1.28rem!important;}
  .event-date-badge{top:14px!important;left:14px!important;min-width:64px!important;padding:9px 8px 8px!important;}
  .event-date-badge strong{font-size:1.7rem!important;}
  .event-date-badge span{font-size:.8rem!important;}
  .ritual-heart{top:14px!important;right:14px!important;width:42px!important;height:42px!important;font-size:1.25rem!important;}
}

@media (max-width: 430px){
  .v31-topbar{padding:9px 10px!important;gap:8px!important;}
  .v31-topbar .brand{gap:10px!important;}
  .v31-topbar .brand img{width:46px!important;height:46px!important;flex-basis:46px!important;border-radius:16px!important;}
  .v31-topbar .brand strong{font-size:.98rem!important;}
  .v31-topbar .brand small{font-size:.68rem!important;}
  .create-event-top{min-height:40px!important;padding:0 10px!important;font-size:.78rem!important;}
  .compact-cloud{min-height:36px!important;padding:0 10px!important;font-size:.72rem!important;}
  .header-avatar{width:38px!important;height:38px!important;}
  .header-avatar img{width:28px!important;height:28px!important;}
  .home-search-zone{padding:10px!important;}
  .agenda-heading-copy h3{font-size:1.78rem!important;}
}


/* ================= V60 — MOBILE BOTTOM NAV PREMIUM ================= */
@media (max-width: 760px){
  .bottom-nav.v31-bottom-nav{
    position:fixed!important;
    left:0!important;right:0!important;bottom:0!important;
    display:grid!important;
    grid-template-columns:1fr 1fr 88px 1fr 1fr!important;
    align-items:end!important;
    gap:0!important;
    padding:10px 10px calc(10px + env(safe-area-inset-bottom))!important;
    background:linear-gradient(180deg,rgba(8,7,5,.94),rgba(6,5,4,.98))!important;
    border-top:1px solid rgba(245,184,75,.22)!important;
    box-shadow:0 -14px 36px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,236,184,.04)!important;
    z-index:120!important;
  }
  .v31-bottom-nav button{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    min-height:58px!important;
    color:#968a7e!important;
    background:transparent!important;
    border:none!important;
    border-radius:18px!important;
    font-size:1.22rem!important;
    font-weight:800!important;
    padding:6px 2px!important;
  }
  .v31-bottom-nav button small{
    display:block!important;
    font-size:.78rem!important;
    line-height:1!important;
    font-weight:800!important;
    letter-spacing:-.02em!important;
  }
  .v31-bottom-nav button.active{
    color:#f5bf4e!important;
    text-shadow:0 0 18px rgba(241,179,45,.18)!important;
  }
  .v31-bottom-nav .brand-center,
  .v31-bottom-nav .brand-center.create-center{
    position:relative!important;
    width:74px!important;
    height:74px!important;
    margin:-34px auto 0!important;
    border-radius:50%!important;
    background:radial-gradient(circle at 50% 34%, #8d491f 0%, #4f2411 38%, #1b0d08 100%)!important;
    border:2px solid rgba(240,176,51,.62)!important;
    box-shadow:0 16px 30px rgba(0,0,0,.42), 0 0 0 4px rgba(255,193,71,.08), 0 0 24px rgba(240,165,46,.24)!important;
    overflow:visible!important;
    transform:none!important;
  }
  .v31-bottom-nav .brand-center::before{
    content:'';
    position:absolute;
    inset:-8px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(244,186,69,.18) 0%, rgba(244,186,69,0) 70%);
    z-index:-1;
  }
  .v31-bottom-nav .brand-center.create-center .plus-mark{
    position:absolute!important;
    top:-6px!important;
    right:-2px!important;
    width:24px!important;
    height:24px!important;
    border-radius:999px!important;
    display:grid!important;
    place-items:center!important;
    background:linear-gradient(180deg,#f9d36d,#e5ab2a)!important;
    color:#211104!important;
    font-size:16px!important;
    font-weight:900!important;
    box-shadow:0 8px 16px rgba(0,0,0,.26)!important;
  }
  .v31-bottom-nav .brand-center img{
    width:54px!important;
    height:54px!important;
    border-radius:50%!important;
    margin:auto!important;
    box-shadow:0 0 0 1px rgba(255,211,122,.2)!important;
  }
  .v31-bottom-nav .brand-center small{display:none!important;}
  body{padding-bottom:104px!important;}
}

@media (max-width: 430px){
  .bottom-nav.v31-bottom-nav{
    grid-template-columns:1fr 1fr 84px 1fr 1fr!important;
    padding-left:6px!important;
    padding-right:6px!important;
  }
  .v31-bottom-nav button{min-height:56px!important;font-size:1.16rem!important;}
  .v31-bottom-nav button small{font-size:.74rem!important;}
  .v31-bottom-nav .brand-center,.v31-bottom-nav .brand-center.create-center{
    width:70px!important;height:70px!important;margin-top:-32px!important;
  }
  .v31-bottom-nav .brand-center img{width:50px!important;height:50px!important;}
}
\n\n/* ================= V61 — BOTTOM NAV REFERÊNCIA PREMIUM ================= */\n@media (max-width: 760px){\n  .bottom-nav.v31-bottom-nav.premium-bottom-nav{\n    position:fixed!important;\n    left:10px!important;\n    right:10px!important;\n    bottom:calc(10px + env(safe-area-inset-bottom))!important;\n    width:auto!important;\n    height:92px!important;\n    display:grid!important;\n    grid-template-columns:1fr 1fr 104px 1fr 1fr!important;\n    align-items:center!important;\n    gap:0!important;\n    padding:8px 14px 7px!important;\n    border:1.5px solid rgba(245,182,66,.62)!important;\n    border-radius:30px!important;\n    background:\n      radial-gradient(circle at 4% 100%,rgba(183,105,18,.16),transparent 22%),\n      radial-gradient(circle at 96% 100%,rgba(183,105,18,.16),transparent 22%),\n      linear-gradient(180deg,rgba(19,13,8,.97),rgba(8,6,4,.985))!important;\n    box-shadow:\n      0 18px 42px rgba(0,0,0,.48),\n      0 0 0 1px rgba(255,214,116,.04) inset,\n      0 0 24px rgba(236,164,43,.08)!important;\n    overflow:visible!important;\n    z-index:200!important;\n    backdrop-filter:blur(16px)!important;\n  }\n\n  .bottom-nav.v31-bottom-nav.premium-bottom-nav::before{\n    content:""!important;\n    position:absolute!important;\n    left:50%!important;\n    top:-46px!important;\n    width:112px!important;\n    height:112px!important;\n    transform:translateX(-50%)!important;\n    border-radius:50%!important;\n    border:1.5px solid rgba(245,182,66,.62)!important;\n    background:radial-gradient(circle at 50% 30%,rgba(117,58,21,.98),rgba(38,20,10,.98) 54%,rgba(14,9,5,.99) 100%)!important;\n    box-shadow:0 -10px 30px rgba(236,145,30,.14),0 18px 34px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,223,151,.12)!important;\n    z-index:0!important;\n  }\n\n  .bottom-nav.v31-bottom-nav.premium-bottom-nav::after{\n    content:""!important;\n    position:absolute!important;\n    inset:10px 12px auto 12px!important;\n    height:1px!important;\n    background:linear-gradient(90deg,transparent,rgba(248,196,86,.32),transparent)!important;\n    pointer-events:none!important;\n  }\n\n  .premium-bottom-nav .premium-nav-item{\n    position:relative!important;\n    z-index:2!important;\n    display:flex!important;\n    flex-direction:column!important;\n    align-items:center!important;\n    justify-content:center!important;\n    gap:5px!important;\n    min-width:0!important;\n    min-height:68px!important;\n    padding:8px 2px 7px!important;\n    border:0!important;\n    border-radius:18px!important;\n    background:transparent!important;\n    color:#8f8578!important;\n    transition:transform .18s ease,color .18s ease,background .18s ease!important;\n  }\n\n  .premium-bottom-nav .premium-nav-item svg{\n    width:28px!important;\n    height:28px!important;\n    fill:none!important;\n    stroke:currentColor!important;\n    stroke-width:1.9!important;\n    stroke-linecap:round!important;\n    stroke-linejoin:round!important;\n    filter:drop-shadow(0 4px 8px rgba(0,0,0,.28));\n  }\n\n  .premium-bottom-nav .premium-nav-item small{\n    display:block!important;\n    max-width:100%!important;\n    font-size:.78rem!important;\n    line-height:1!important;\n    font-weight:800!important;\n    letter-spacing:-.02em!important;\n    white-space:nowrap!important;\n    overflow:hidden!important;\n    text-overflow:ellipsis!important;\n    color:inherit!important;\n  }\n\n  .premium-bottom-nav .premium-nav-item.active{\n    color:#f6be4d!important;\n    background:radial-gradient(circle at 50% 35%,rgba(232,162,49,.11),transparent 68%)!important;\n    text-shadow:0 0 16px rgba(239,169,41,.18)!important;\n    transform:translateY(-1px)!important;\n  }\n\n  .premium-bottom-nav .premium-nav-item.active svg{\n    filter:drop-shadow(0 0 8px rgba(244,181,66,.32));\n  }\n\n  .premium-bottom-nav .active-underline{\n    position:absolute!important;\n    left:50%!important;\n    bottom:0!important;\n    width:38px!important;\n    height:4px!important;\n    transform:translateX(-50%)!important;\n    border-radius:999px!important;\n    background:linear-gradient(90deg,#f1a924,#ffd86a)!important;\n    box-shadow:0 0 12px rgba(246,183,69,.55)!important;\n  }\n\n  .premium-bottom-nav .premium-create-fab{\n    position:relative!important;\n    z-index:3!important;\n    width:96px!important;\n    height:116px!important;\n    min-height:0!important;\n    margin:-45px auto 0!important;\n    padding:0!important;\n    display:flex!important;\n    flex-direction:column!important;\n    align-items:center!important;\n    justify-content:flex-start!important;\n    gap:2px!important;\n    border:0!important;\n    background:transparent!important;\n    box-shadow:none!important;\n    transform:none!important;\n    overflow:visible!important;\n  }\n\n  .premium-bottom-nav .premium-create-fab .plus-mark{\n    position:static!important;\n    width:auto!important;\n    height:52px!important;\n    display:flex!important;\n    align-items:center!important;\n    justify-content:center!important;\n    background:transparent!important;\n    color:#ffd06a!important;\n    border:0!important;\n    font-size:3.05rem!important;\n    font-weight:300!important;\n    line-height:1!important;\n    text-shadow:0 0 15px rgba(255,186,65,.34)!important;\n    box-shadow:none!important;\n  }\n\n  .premium-bottom-nav .fab-logo-wrap{\n    width:66px!important;\n    height:66px!important;\n    margin-top:-2px!important;\n    display:grid!important;\n    place-items:center!important;\n    border-radius:50%!important;\n    border:2px solid rgba(226,150,39,.62)!important;\n    background:radial-gradient(circle at 50% 35%,#4b2410,#1a0d07 70%)!important;\n    box-shadow:0 10px 22px rgba(0,0,0,.40),0 0 0 5px rgba(249,182,59,.06),inset 0 1px 0 rgba(255,225,154,.14)!important;\n  }\n\n  .premium-bottom-nav .fab-logo-wrap img{\n    width:54px!important;\n    height:54px!important;\n    border-radius:50%!important;\n    object-fit:cover!important;\n    margin:0!important;\n    box-shadow:none!important;\n  }\n\n  .premium-bottom-nav .premium-create-fab:active{\n    transform:translateY(2px) scale(.98)!important;\n  }\n\n  body{padding-bottom:122px!important;}\n}\n\n@media (max-width: 430px){\n  .bottom-nav.v31-bottom-nav.premium-bottom-nav{\n    left:7px!important;\n    right:7px!important;\n    height:88px!important;\n    padding-left:8px!important;\n    padding-right:8px!important;\n    grid-template-columns:1fr 1fr 96px 1fr 1fr!important;\n    border-radius:26px!important;\n  }\n  .bottom-nav.v31-bottom-nav.premium-bottom-nav::before{\n    width:104px!important;\n    height:104px!important;\n    top:-42px!important;\n  }\n  .premium-bottom-nav .premium-nav-item svg{width:25px!important;height:25px!important;}\n  .premium-bottom-nav .premium-nav-item small{font-size:.72rem!important;}\n  .premium-bottom-nav .premium-create-fab{width:90px!important;height:110px!important;margin-top:-42px!important;}\n  .premium-bottom-nav .premium-create-fab .plus-mark{height:48px!important;font-size:2.8rem!important;}\n  .premium-bottom-nav .fab-logo-wrap{width:62px!important;height:62px!important;}\n  .premium-bottom-nav .fab-logo-wrap img{width:50px!important;height:50px!important;}\n}\n

/* ================= V62 — NAVEGAÇÃO PREMIUM RESPONSIVA ================= */
/* Recriada em CSS para manter todos os botões clicáveis e sem fundo gigante. */
.bottom-nav.v31-bottom-nav.premium-bottom-nav{
  position:fixed!important;
  left:50%!important;
  right:auto!important;
  bottom:16px!important;
  transform:translateX(-50%)!important;
  width:min(1240px,calc(100% - 48px))!important;
  height:86px!important;
  display:grid!important;
  grid-template-columns:1fr 1fr 126px 1fr 1fr!important;
  align-items:center!important;
  gap:0!important;
  padding:10px 24px 9px!important;
  border:1.5px solid rgba(244,183,67,.72)!important;
  border-radius:34px!important;
  background:
    radial-gradient(circle at 2% 110%,rgba(176,99,17,.18),transparent 24%),
    radial-gradient(circle at 98% 110%,rgba(176,99,17,.18),transparent 24%),
    linear-gradient(180deg,rgba(20,13,8,.975),rgba(8,6,4,.992))!important;
  box-shadow:
    0 20px 54px rgba(0,0,0,.48),
    0 0 0 1px rgba(255,225,151,.035) inset,
    0 0 28px rgba(238,164,37,.10)!important;
  overflow:visible!important;
  isolation:isolate!important;
  backdrop-filter:blur(18px) saturate(1.08)!important;
  z-index:220!important;
}
.bottom-nav.v31-bottom-nav.premium-bottom-nav::before{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:-49px!important;
  width:126px!important;
  height:126px!important;
  transform:translateX(-50%)!important;
  border-radius:50%!important;
  border:1.5px solid rgba(244,183,67,.72)!important;
  background:
    radial-gradient(circle at 50% 22%,rgba(149,74,24,.98),rgba(72,34,14,.99) 48%,rgba(16,9,5,.995) 100%)!important;
  box-shadow:
    0 -12px 34px rgba(239,145,28,.16),
    0 18px 42px rgba(0,0,0,.36),
    inset 0 1px 0 rgba(255,232,171,.14)!important;
  z-index:-1!important;
}
.bottom-nav.v31-bottom-nav.premium-bottom-nav::after{
  content:""!important;
  position:absolute!important;
  left:34px!important;
  right:34px!important;
  top:8px!important;
  height:1px!important;
  background:linear-gradient(90deg,transparent,rgba(255,206,103,.28) 15%,rgba(255,214,119,.40) 50%,rgba(255,206,103,.28) 85%,transparent)!important;
  pointer-events:none!important;
}

.premium-bottom-nav .premium-nav-item{
  position:relative!important;
  z-index:2!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  min-width:0!important;
  height:66px!important;
  padding:6px 8px 5px!important;
  border:0!important;
  border-radius:20px!important;
  background:transparent!important;
  color:#9b9085!important;
  transition:transform .2s ease,color .2s ease,background .2s ease,filter .2s ease!important;
}
.premium-bottom-nav .premium-nav-item:hover{
  color:#d6c6b0!important;
  background:radial-gradient(circle at 50% 44%,rgba(255,255,255,.035),transparent 72%)!important;
  transform:translateY(-1px)!important;
}
.premium-bottom-nav .premium-nav-item svg{
  width:30px!important;
  height:30px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.75!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  filter:drop-shadow(0 6px 12px rgba(0,0,0,.34));
}
.premium-bottom-nav .premium-nav-item small{
  display:block!important;
  font-size:.83rem!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:-.015em!important;
  color:inherit!important;
  white-space:nowrap!important;
}
.premium-bottom-nav .premium-nav-item.active{
  color:#ffc649!important;
  background:radial-gradient(circle at 50% 40%,rgba(245,173,43,.14),transparent 68%)!important;
  text-shadow:0 0 16px rgba(239,169,41,.20)!important;
}
.premium-bottom-nav .premium-nav-item.active svg{
  filter:drop-shadow(0 0 9px rgba(244,181,66,.38)) drop-shadow(0 6px 10px rgba(0,0,0,.28));
}
.premium-bottom-nav .premium-nav-item.active::before{
  content:"";
  position:absolute;
  width:54px;
  height:54px;
  top:2px;
  left:50%;
  transform:translateX(-50%);
  border-radius:50%;
  border:1px solid rgba(245,184,67,.30);
  box-shadow:0 0 20px rgba(242,168,39,.13), inset 0 0 16px rgba(242,168,39,.05);
  pointer-events:none;
}
.premium-bottom-nav .active-underline{
  position:absolute!important;
  left:50%!important;
  bottom:0!important;
  width:40px!important;
  height:4px!important;
  transform:translateX(-50%)!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,#e9a323,#ffd86f)!important;
  box-shadow:0 0 12px rgba(246,183,69,.54)!important;
}

.premium-bottom-nav .premium-create-fab{
  position:relative!important;
  z-index:4!important;
  width:112px!important;
  height:124px!important;
  min-height:0!important;
  margin:-48px auto 0!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
  overflow:visible!important;
}
.premium-bottom-nav .premium-create-fab .plus-mark{
  position:static!important;
  width:100%!important;
  height:55px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:transparent!important;
  color:#ffd267!important;
  border:0!important;
  font-size:3.35rem!important;
  font-weight:200!important;
  line-height:1!important;
  text-shadow:0 0 18px rgba(255,185,62,.40)!important;
  box-shadow:none!important;
}
.premium-bottom-nav .fab-logo-wrap{
  position:relative!important;
  width:68px!important;
  height:68px!important;
  margin-top:-5px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  border:1.5px solid rgba(242,170,55,.68)!important;
  background:radial-gradient(circle at 50% 36%,#5a2a11,#201008 72%)!important;
  box-shadow:
    0 12px 24px rgba(0,0,0,.42),
    0 0 0 5px rgba(249,182,59,.055),
    inset 0 1px 0 rgba(255,229,161,.15)!important;
}
.premium-bottom-nav .fab-logo-wrap::after{
  content:"";
  position:absolute;
  inset:-8px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(245,179,59,.12),transparent 70%);
  z-index:-1;
}
.premium-bottom-nav .fab-logo-wrap img{
  width:55px!important;
  height:55px!important;
  border-radius:50%!important;
  object-fit:cover!important;
  margin:0!important;
  box-shadow:none!important;
}
.premium-bottom-nav .premium-create-fab:hover{
  transform:translateY(-2px)!important;
}
.premium-bottom-nav .premium-create-fab:active{
  transform:translateY(1px) scale(.985)!important;
}

/* Espaço só o necessário para a barra fixa — remove a faixa preta gigante. */
body{padding-bottom:124px!important;}

/* Desktop intermediário */
@media (max-width: 1180px){
  .bottom-nav.v31-bottom-nav.premium-bottom-nav{
    width:calc(100% - 32px)!important;
    grid-template-columns:1fr 1fr 116px 1fr 1fr!important;
    padding-left:18px!important;
    padding-right:18px!important;
  }
}

/* Tablet */
@media (max-width: 820px){
  .bottom-nav.v31-bottom-nav.premium-bottom-nav{
    bottom:10px!important;
    width:calc(100% - 20px)!important;
    height:84px!important;
    grid-template-columns:1fr 1fr 104px 1fr 1fr!important;
    padding:8px 10px 7px!important;
    border-radius:30px!important;
  }
  .bottom-nav.v31-bottom-nav.premium-bottom-nav::before{
    width:112px!important;
    height:112px!important;
    top:-43px!important;
  }
  .premium-bottom-nav .premium-nav-item{
    height:62px!important;
    gap:5px!important;
    padding-left:3px!important;
    padding-right:3px!important;
  }
  .premium-bottom-nav .premium-nav-item svg{width:27px!important;height:27px!important;}
  .premium-bottom-nav .premium-nav-item small{font-size:.76rem!important;}
  .premium-bottom-nav .premium-nav-item.active::before{width:50px;height:50px;top:1px;}
  .premium-bottom-nav .premium-create-fab{width:98px!important;height:114px!important;margin-top:-43px!important;}
  .premium-bottom-nav .premium-create-fab .plus-mark{height:50px!important;font-size:2.95rem!important;}
  .premium-bottom-nav .fab-logo-wrap{width:63px!important;height:63px!important;}
  .premium-bottom-nav .fab-logo-wrap img{width:51px!important;height:51px!important;}
  body{padding-bottom:114px!important;}
}

/* Mobile */
@media (max-width: 520px){
  .bottom-nav.v31-bottom-nav.premium-bottom-nav{
    left:50%!important;
    right:auto!important;
    bottom:calc(8px + env(safe-area-inset-bottom))!important;
    width:calc(100% - 12px)!important;
    height:78px!important;
    grid-template-columns:1fr 1fr 88px 1fr 1fr!important;
    padding:7px 5px 6px!important;
    border-radius:26px!important;
  }
  .bottom-nav.v31-bottom-nav.premium-bottom-nav::before{
    width:98px!important;
    height:98px!important;
    top:-38px!important;
  }
  .bottom-nav.v31-bottom-nav.premium-bottom-nav::after{left:16px!important;right:16px!important;}
  .premium-bottom-nav .premium-nav-item{
    height:58px!important;
    gap:4px!important;
    border-radius:16px!important;
  }
  .premium-bottom-nav .premium-nav-item svg{width:23px!important;height:23px!important;}
  .premium-bottom-nav .premium-nav-item small{font-size:.66rem!important;}
  .premium-bottom-nav .premium-nav-item.active::before{width:43px;height:43px;top:2px;}
  .premium-bottom-nav .active-underline{width:32px!important;height:3px!important;bottom:1px!important;}
  .premium-bottom-nav .premium-create-fab{width:82px!important;height:100px!important;margin-top:-36px!important;}
  .premium-bottom-nav .premium-create-fab .plus-mark{height:42px!important;font-size:2.55rem!important;}
  .premium-bottom-nav .fab-logo-wrap{width:56px!important;height:56px!important;}
  .premium-bottom-nav .fab-logo-wrap img{width:45px!important;height:45px!important;}
  body{padding-bottom:105px!important;}
}

@media (max-width: 360px){
  .premium-bottom-nav .premium-nav-item small{font-size:.61rem!important;}
  .premium-bottom-nav .premium-nav-item svg{width:21px!important;height:21px!important;}
  .bottom-nav.v31-bottom-nav.premium-bottom-nav{grid-template-columns:1fr 1fr 82px 1fr 1fr!important;}
}


/* ================= V64 — DESKTOP SEM BARRA / MOBILE PREMIUM FLUTUANTE ================= */
/* No site/desktop a navegação inferior deixa de existir completamente. */
@media (min-width: 761px){
  .bottom-nav.v31-bottom-nav.premium-bottom-nav{
    display:none!important;
  }
  body{
    padding-bottom:0!important;
  }
  #app,
  main.container{
    padding-bottom:24px!important;
  }
}

/* Mobile: barra flutuante premium, sem tarja preta ocupando toda a largura. */
@media (max-width: 760px){
  html,body{
    background-color:#090603!important;
  }
  body{
    padding-bottom:118px!important;
  }
  .bottom-nav.v31-bottom-nav.premium-bottom-nav{
    position:fixed!important;
    left:10px!important;
    right:10px!important;
    bottom:calc(10px + env(safe-area-inset-bottom))!important;
    width:auto!important;
    height:86px!important;
    display:grid!important;
    grid-template-columns:1fr 1fr 96px 1fr 1fr!important;
    align-items:center!important;
    gap:0!important;
    margin:0!important;
    padding:8px 10px 7px!important;
    border:1.5px solid rgba(247,184,63,.76)!important;
    border-radius:30px!important;
    background:
      radial-gradient(circle at 5% 105%,rgba(163,83,15,.22),transparent 24%),
      radial-gradient(circle at 95% 105%,rgba(163,83,15,.22),transparent 24%),
      linear-gradient(180deg,rgba(20,13,8,.985),rgba(8,6,4,.99))!important;
    box-shadow:
      0 18px 38px rgba(0,0,0,.38),
      0 0 0 1px rgba(255,225,151,.04) inset,
      0 0 24px rgba(237,163,35,.10)!important;
    backdrop-filter:blur(18px) saturate(1.08)!important;
    overflow:visible!important;
    z-index:300!important;
    isolation:isolate!important;
  }

  /* Recorte elevado central inspirado na referência. */
  .bottom-nav.v31-bottom-nav.premium-bottom-nav::before{
    content:""!important;
    position:absolute!important;
    left:50%!important;
    top:-39px!important;
    width:102px!important;
    height:102px!important;
    transform:translateX(-50%)!important;
    border-radius:50%!important;
    border:1.5px solid rgba(247,184,63,.78)!important;
    background:radial-gradient(circle at 50% 20%,rgba(145,71,23,.99),rgba(69,31,12,.99) 50%,rgba(15,9,5,.995) 100%)!important;
    box-shadow:0 -10px 26px rgba(239,145,28,.14),0 18px 32px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,232,171,.14)!important;
    z-index:-1!important;
  }
  .bottom-nav.v31-bottom-nav.premium-bottom-nav::after{
    content:""!important;
    position:absolute!important;
    left:18px!important;
    right:18px!important;
    top:8px!important;
    height:1px!important;
    background:linear-gradient(90deg,transparent,rgba(255,206,103,.26),transparent)!important;
    pointer-events:none!important;
  }

  .premium-bottom-nav .premium-nav-item{
    position:relative!important;
    z-index:2!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    min-width:0!important;
    height:62px!important;
    padding:6px 2px 5px!important;
    border:0!important;
    border-radius:18px!important;
    background:transparent!important;
    color:#d7cabc!important;
    opacity:1!important;
    transition:transform .18s ease,color .18s ease,filter .18s ease!important;
  }
  .premium-bottom-nav .premium-nav-item svg{
    width:27px!important;
    height:27px!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:2!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
    filter:drop-shadow(0 4px 8px rgba(0,0,0,.28))!important;
  }
  .premium-bottom-nav .premium-nav-item small{
    display:block!important;
    max-width:100%!important;
    font-size:.76rem!important;
    line-height:1!important;
    font-weight:800!important;
    letter-spacing:-.02em!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
    color:inherit!important;
  }
  .premium-bottom-nav .premium-nav-item.active{
    color:#ffc94f!important;
    background:radial-gradient(circle at 50% 38%,rgba(235,157,31,.14),transparent 66%)!important;
    text-shadow:0 0 16px rgba(239,169,41,.22)!important;
    transform:translateY(-1px)!important;
  }
  .premium-bottom-nav .premium-nav-item.active svg{
    filter:drop-shadow(0 0 9px rgba(244,181,66,.42)) drop-shadow(0 4px 8px rgba(0,0,0,.28))!important;
  }
  .premium-bottom-nav .premium-nav-item.active::before{
    content:""!important;
    position:absolute!important;
    width:48px!important;
    height:48px!important;
    top:3px!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    border-radius:50%!important;
    border:1px solid rgba(245,184,67,.32)!important;
    box-shadow:0 0 18px rgba(242,168,39,.14),inset 0 0 14px rgba(242,168,39,.05)!important;
    pointer-events:none!important;
  }
  .premium-bottom-nav .active-underline{
    position:absolute!important;
    left:50%!important;
    bottom:0!important;
    width:34px!important;
    height:3px!important;
    transform:translateX(-50%)!important;
    border-radius:999px!important;
    background:linear-gradient(90deg,#e9a323,#ffd86f)!important;
    box-shadow:0 0 12px rgba(246,183,69,.60)!important;
  }

  /* Botão central: logo completa + somente um + acima. */
  .premium-bottom-nav .premium-create-fab{
    position:relative!important;
    z-index:4!important;
    width:88px!important;
    height:104px!important;
    min-height:0!important;
    margin:-37px auto 0!important;
    padding:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  .premium-bottom-nav .premium-create-fab .plus-mark{
    position:static!important;
    width:100%!important;
    height:43px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:transparent!important;
    color:#ffd06a!important;
    border:0!important;
    font-size:2.55rem!important;
    font-weight:300!important;
    line-height:1!important;
    text-shadow:0 0 15px rgba(255,186,65,.36)!important;
    box-shadow:none!important;
  }
  .premium-bottom-nav .fab-logo-wrap{
    position:relative!important;
    width:60px!important;
    height:60px!important;
    margin-top:-2px!important;
    display:grid!important;
    place-items:center!important;
    border-radius:50%!important;
    border:1.5px solid rgba(242,170,55,.72)!important;
    background:radial-gradient(circle at 50% 35%,#59290f,#1d0e07 72%)!important;
    box-shadow:0 10px 20px rgba(0,0,0,.40),0 0 0 5px rgba(249,182,59,.055),inset 0 1px 0 rgba(255,229,161,.15)!important;
  }
  .premium-bottom-nav .fab-logo-wrap img{
    width:52px!important;
    height:52px!important;
    border-radius:50%!important;
    object-fit:cover!important;
    margin:0!important;
    box-shadow:none!important;
  }

  /* Impede qualquer barra preta antiga por baixo da navegação. */
  .bottom-nav.v31-bottom-nav.premium-bottom-nav + *{
    margin-bottom:0!important;
  }
}

@media (max-width: 390px){
  .bottom-nav.v31-bottom-nav.premium-bottom-nav{
    left:7px!important;
    right:7px!important;
    height:82px!important;
    grid-template-columns:1fr 1fr 86px 1fr 1fr!important;
    padding-left:5px!important;
    padding-right:5px!important;
    border-radius:27px!important;
  }
  .bottom-nav.v31-bottom-nav.premium-bottom-nav::before{
    width:96px!important;
    height:96px!important;
    top:-36px!important;
  }
  .premium-bottom-nav .premium-nav-item{
    height:58px!important;
    gap:4px!important;
  }
  .premium-bottom-nav .premium-nav-item svg{width:24px!important;height:24px!important;}
  .premium-bottom-nav .premium-nav-item small{font-size:.68rem!important;}
  .premium-bottom-nav .premium-nav-item.active::before{width:44px!important;height:44px!important;top:3px!important;}
  .premium-bottom-nav .premium-create-fab{width:80px!important;height:98px!important;margin-top:-34px!important;}
  .premium-bottom-nav .premium-create-fab .plus-mark{height:40px!important;font-size:2.35rem!important;}
  .premium-bottom-nav .fab-logo-wrap{width:56px!important;height:56px!important;}
  .premium-bottom-nav .fab-logo-wrap img{width:48px!important;height:48px!important;}
}


/* ================= V65 — SOMENTE MOBILE: FAB CENTRAL LIMPO ================= */
/* Desktop permanece exatamente igual à V64. */
@media (max-width: 760px){
  /* Remove o grande aro/bolha que deixava o botão central pesado. */
  .bottom-nav.v31-bottom-nav.premium-bottom-nav::before{
    content:none!important;
    display:none!important;
  }

  /* Mantém a barra premium, mas com centro mais limpo. */
  .bottom-nav.v31-bottom-nav.premium-bottom-nav{
    grid-template-columns:1fr 1fr 84px 1fr 1fr!important;
    height:84px!important;
    padding:8px 10px 7px!important;
    overflow:visible!important;
  }

  /* Botão central: somente a logo + pequeno sinal de mais no canto. */
  .premium-bottom-nav .premium-create-fab{
    position:relative!important;
    z-index:8!important;
    width:78px!important;
    height:78px!important;
    min-height:78px!important;
    margin:-25px auto 0!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
  }

  .premium-bottom-nav .fab-logo-wrap{
    position:relative!important;
    width:70px!important;
    height:70px!important;
    margin:0!important;
    display:grid!important;
    place-items:center!important;
    border-radius:50%!important;
    border:1.5px solid rgba(245,181,64,.82)!important;
    background:radial-gradient(circle at 50% 35%,rgba(71,33,13,.98),rgba(24,12,7,.995) 72%)!important;
    box-shadow:
      0 14px 28px rgba(0,0,0,.44),
      0 0 0 4px rgba(244,174,47,.08),
      0 0 22px rgba(239,164,38,.18),
      inset 0 1px 0 rgba(255,229,160,.14)!important;
  }

  .premium-bottom-nav .fab-logo-wrap img{
    width:62px!important;
    height:62px!important;
    border-radius:50%!important;
    object-fit:cover!important;
    margin:0!important;
    box-shadow:none!important;
  }

  /* Pequeno + premium, igual à referência enviada. */
  .premium-bottom-nav .premium-create-fab .plus-mark{
    position:absolute!important;
    top:-5px!important;
    right:-1px!important;
    width:23px!important;
    height:23px!important;
    min-width:23px!important;
    display:grid!important;
    place-items:center!important;
    border-radius:999px!important;
    border:1.5px solid rgba(103,58,10,.62)!important;
    background:linear-gradient(180deg,#ffd56c,#e7aa28)!important;
    color:#3a2107!important;
    font-size:17px!important;
    font-weight:900!important;
    line-height:1!important;
    text-shadow:none!important;
    box-shadow:0 7px 14px rgba(0,0,0,.34),0 0 12px rgba(246,184,68,.24)!important;
    z-index:4!important;
  }

  .premium-bottom-nav .premium-create-fab:active{
    transform:translateY(1px) scale(.98)!important;
  }
}

@media (max-width: 390px){
  .bottom-nav.v31-bottom-nav.premium-bottom-nav{
    grid-template-columns:1fr 1fr 78px 1fr 1fr!important;
    height:80px!important;
  }
  .premium-bottom-nav .premium-create-fab{
    width:72px!important;
    height:72px!important;
    min-height:72px!important;
    margin-top:-22px!important;
  }
  .premium-bottom-nav .fab-logo-wrap{
    width:64px!important;
    height:64px!important;
  }
  .premium-bottom-nav .fab-logo-wrap img{
    width:56px!important;
    height:56px!important;
  }
  .premium-bottom-nav .premium-create-fab .plus-mark{
    width:21px!important;
    height:21px!important;
    min-width:21px!important;
    font-size:15px!important;
    top:-4px!important;
    right:-1px!important;
  }
}


/* ================= V66 — MOBILE CLEAN: SOMENTE "PERTO DE MIM" ================= */
@media (max-width: 760px){
  /* No mobile, remove os filtros de estado/cidade/tipo e o botão aplicar.
     Desktop permanece intocado. */
  #homeState,
  #homeCity,
  #homeType,
  #applyHomeLocation,
  .smart-select[data-smart-id="homeState"],
  .smart-select[data-smart-id="homeCity"]{
    display:none!important;
  }

  .hero-filter-row.compact-search-filters{
    display:block!important;
    margin-top:10px!important;
    gap:0!important;
  }

  #nearMeBtn.nearby-pill{
    width:100%!important;
    min-height:52px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:10px!important;
    padding:0 18px!important;
    border-radius:17px!important;
    border:1px solid rgba(237,178,61,.34)!important;
    background:linear-gradient(180deg,rgba(20,15,11,.98),rgba(10,8,6,.98))!important;
    color:#f7ead4!important;
    font-size:1rem!important;
    font-weight:850!important;
    box-shadow:inset 0 1px 0 rgba(255,234,181,.05), 0 10px 24px rgba(0,0,0,.16)!important;
  }

  #nearMeBtn.nearby-pill span{
    color:#f1b53c!important;
    font-size:1.15rem!important;
  }

  #nearMeBtn.nearby-pill:active{
    transform:scale(.99);
  }

  .home-search-zone{
    padding-bottom:12px!important;
    margin-bottom:10px!important;
  }

  .agenda-section-head{
    margin-top:10px!important;
  }
}


/* ================= V67 — MOBILE CLEAN + PERFIL NO TOPO ================= */
.mobile-profile-photo-editor{display:none;}

@media (max-width:760px){
  /* Remove somente no mobile o grande cartão de administrador/perfil da home. */
  #homeAccountInvite{display:none!important;}

  /* O antigo ícone do canto superior vira o acesso principal ao perfil. */
  .header-avatar{
    display:grid!important;
    place-items:center!important;
    width:46px!important;
    height:46px!important;
    flex:0 0 46px!important;
    padding:3px!important;
    border-radius:50%!important;
    border:1px solid rgba(244,188,70,.72)!important;
    background:linear-gradient(180deg,rgba(48,30,14,.98),rgba(12,8,6,.98))!important;
    box-shadow:0 0 0 3px rgba(238,176,55,.08),0 8px 20px rgba(0,0,0,.28)!important;
    overflow:hidden!important;
  }
  .header-avatar img{
    width:100%!important;
    height:100%!important;
    border-radius:50%!important;
    object-fit:cover!important;
    object-position:center!important;
    display:block!important;
  }

  /* Editor da foto aparece apenas no perfil mobile. */
  .mobile-profile-photo-editor{
    display:flex!important;
    align-items:center!important;
    gap:14px!important;
    margin:0 0 18px!important;
    padding:14px!important;
    border:1px solid rgba(237,178,61,.24)!important;
    border-radius:18px!important;
    background:linear-gradient(180deg,rgba(22,15,10,.92),rgba(11,8,6,.95))!important;
  }
  .mobile-profile-photo-preview{
    width:72px!important;
    height:72px!important;
    flex:0 0 72px!important;
    border-radius:50%!important;
    padding:3px!important;
    border:1px solid rgba(244,188,70,.64)!important;
    background:#100b07!important;
    box-shadow:0 8px 24px rgba(0,0,0,.28)!important;
  }
  .mobile-profile-photo-preview img{
    width:100%!important;height:100%!important;
    border-radius:50%!important;object-fit:cover!important;display:block!important;
  }
  .mobile-profile-photo-label{
    flex:1!important;
    display:flex!important;
    flex-direction:column!important;
    gap:7px!important;
    color:#f5ead8!important;
    font-weight:800!important;
    font-size:.92rem!important;
  }
  .mobile-profile-photo-label input{display:none!important;}
  .mobile-profile-photo-label span{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    min-height:40px!important;padding:0 14px!important;width:max-content!important;max-width:100%!important;
    border-radius:13px!important;
    background:linear-gradient(180deg,#efc34f,#e7a91f)!important;
    color:#241507!important;
    font-size:.84rem!important;font-weight:900!important;
  }

  /* Como o cartão saiu, aproxima o conteúdo principal do topo. */
  #home .official-ticker-band{margin-top:4px!important;}
}


/* ================= V68 — MOBILE: 2 EVENTOS LADO A LADO ================= */
@media (max-width:760px){
  /* Somente mobile: home e aba Eventos em duas colunas compactas. */
  #featured.ritual-event-grid,
  #eventList.ritual-event-grid-events{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    align-items:stretch!important;
  }

  #featured.ritual-event-grid > .ritual-event-card,
  #eventList.ritual-event-grid-events > .ritual-event-card{
    min-width:0!important;
    width:100%!important;
    max-width:none!important;
    border-radius:19px!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    box-shadow:0 12px 28px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,238,189,.06)!important;
  }

  #featured.ritual-event-grid > .ritual-event-card .thumb,
  #eventList.ritual-event-grid-events > .ritual-event-card .thumb{
    aspect-ratio:.86/1!important;
    min-height:0!important;
    padding:5px!important;
    border-radius:0!important;
    background:linear-gradient(180deg,rgba(18,12,8,.98),rgba(9,6,5,.99))!important;
  }

  #featured.ritual-event-grid > .ritual-event-card .event-flyer,
  #eventList.ritual-event-grid-events > .ritual-event-card .event-flyer{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
    border-radius:14px!important;
    padding:0!important;
  }

  #featured.ritual-event-grid > .ritual-event-card .body,
  #eventList.ritual-event-grid-events > .ritual-event-card .body{
    padding:11px 11px 13px!important;
    min-height:146px!important;
    flex:1 1 auto!important;
    position:relative!important;
  }

  #featured.ritual-event-grid > .ritual-event-card .ritual-tags,
  #eventList.ritual-event-grid-events > .ritual-event-card .ritual-tags{
    gap:5px!important;
    margin-bottom:8px!important;
    flex-wrap:wrap!important;
  }

  #featured.ritual-event-grid > .ritual-event-card .ritual-tags .pill,
  #eventList.ritual-event-grid-events > .ritual-event-card .ritual-tags .pill{
    padding:4px 7px!important;
    font-size:.61rem!important;
    line-height:1!important;
  }

  #featured.ritual-event-grid > .ritual-event-card h4,
  #eventList.ritual-event-grid-events > .ritual-event-card h4{
    font-size:1.02rem!important;
    line-height:1.08!important;
    margin:0 40px 8px 0!important;
    min-height:2.15em!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }

  #featured.ritual-event-grid > .ritual-event-card .ritual-meta-line,
  #eventList.ritual-event-grid-events > .ritual-event-card .ritual-meta-line{
    font-size:.72rem!important;
    line-height:1.2!important;
    margin-top:5px!important;
    gap:5px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    padding-right:32px!important;
  }

  #featured.ritual-event-grid > .ritual-event-card .event-date-badge,
  #eventList.ritual-event-grid-events > .ritual-event-card .event-date-badge{
    top:9px!important;
    left:9px!important;
    min-width:47px!important;
    padding:6px 6px 5px!important;
    border-radius:13px!important;
  }
  #featured.ritual-event-grid > .ritual-event-card .event-date-badge strong,
  #eventList.ritual-event-grid-events > .ritual-event-card .event-date-badge strong{
    font-size:1.27rem!important;
    line-height:1!important;
  }
  #featured.ritual-event-grid > .ritual-event-card .event-date-badge span,
  #eventList.ritual-event-grid-events > .ritual-event-card .event-date-badge span{
    font-size:.62rem!important;
  }

  #featured.ritual-event-grid > .ritual-event-card .ritual-heart,
  #eventList.ritual-event-grid-events > .ritual-event-card .ritual-heart{
    top:9px!important;
    right:9px!important;
    width:34px!important;
    height:34px!important;
    font-size:1rem!important;
  }

  #featured.ritual-event-grid > .ritual-event-card .ritual-open,
  #eventList.ritual-event-grid-events > .ritual-event-card .ritual-open{
    width:38px!important;
    height:38px!important;
    right:9px!important;
    bottom:9px!important;
    font-size:1rem!important;
  }

  /* Aproxima a grade do título para o usuário enxergar eventos mais cedo. */
  .agenda-section-head{margin-bottom:10px!important;}
}

@media (max-width:360px){
  #featured.ritual-event-grid,
  #eventList.ritual-event-grid-events{gap:8px!important;}
  #featured.ritual-event-grid > .ritual-event-card .body,
  #eventList.ritual-event-grid-events > .ritual-event-card .body{padding:9px!important;}
  #featured.ritual-event-grid > .ritual-event-card h4,
  #eventList.ritual-event-grid-events > .ritual-event-card h4{font-size:.92rem!important;}
  #featured.ritual-event-grid > .ritual-event-card .ritual-meta-line,
  #eventList.ritual-event-grid-events > .ritual-event-card .ritual-meta-line{font-size:.66rem!important;}
}


/* ================= V69 — MOBILE: TOPO FIXO ================= */
@media (max-width:760px){
  /* Mantém o cabeçalho visível enquanto o usuário rola pelos eventos. */
  .v31-topbar{
    position:fixed!important;
    top:max(8px, env(safe-area-inset-top))!important;
    left:7px!important;
    right:7px!important;
    width:auto!important;
    margin:0!important;
    z-index:1000!important;
    isolation:isolate!important;
    box-shadow:
      0 16px 38px rgba(0,0,0,.46),
      0 0 0 1px rgba(245,183,69,.08) inset!important;
    backdrop-filter:blur(18px) saturate(1.08)!important;
    -webkit-backdrop-filter:blur(18px) saturate(1.08)!important;
  }

  /* Reserva o espaço do cabeçalho fixo para não cobrir o conteúdo. */
  #app > main.container{
    padding-top:92px!important;
  }

  /* Evita que modais/dropdowns fiquem atrás do cabeçalho ao abrir. */
  .smart-select-panel{z-index:1100!important;}
}

@media (max-width:430px){
  #app > main.container{padding-top:88px!important;}
}


/* ================= V70 — MOBILE: TOPO VOLTA A ROLAR ================= */
@media (max-width:760px){
  /* Corrige a V69: o cabeçalho volta a fazer parte do fluxo normal da página. */
  .v31-topbar{
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    width:calc(100% - 14px)!important;
    margin:8px auto 12px!important;
    z-index:70!important;
  }

  /* Remove o espaço artificial que existia apenas por causa do topo fixo. */
  #app > main.container{
    padding-top:0!important;
  }
}

@media (max-width:430px){
  #app > main.container{padding-top:0!important;}
}
