/* Locais — guia da cidade. Mesma casa do app (preto, branco, verde-limão na ação, vermelho no ao vivo),
   com cara de revista: nome da cidade grande em serifada, capas coloridas por tom (--h), números em mono.
   Hierarquia: cidade e tempo → busca → jogos → categorias de verdade → vitrine de anúncios → em breve. */

.lx { --lx-r: 20px; --lx-open: var(--win); display: block; min-width: 0; }
.lx-body, .lx-sec, .lx-hero { min-width: 0; }

/* ---------- topo ---------- */
.lx-hero { position: relative; overflow: hidden; margin: 0 0 14px; padding: 16px 16px 14px; border-radius: 26px; border: 1px solid var(--line);
  background:
    radial-gradient(130% 90% at 100% 0%, rgb(var(--accent-rgb) / .16), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgb(79 140 255 / .14), transparent 60%),
    var(--s1); }
.lx-hero::after { content: ''; position: absolute; right: -60px; top: -40px; width: 240px; height: 240px; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 14px, rgb(var(--ov) / .045) 14px 15px); }
.lx-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lx-savedbtn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--sink); border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 600; }
.lx-savedbtn svg { width: 16px; height: 16px; color: var(--accent-text); }
.lx-savedbtn b { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 11px; }
/* ---------- busca, quando, categorias ---------- */
.lx-search { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 999px; background: var(--s1); border: 1px solid var(--line-2); transition: border-color .15s; }
.lx-search:focus-within { border-color: var(--accent); }
.lx-search svg { width: 19px; height: 19px; color: var(--muted); flex: none; }
.lx-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font-size: 15px; }
.lx-search input::placeholder { color: var(--muted); }
.lx-search.big { height: 54px; margin: 16px 0 6px; }
/* ---------- seções ---------- */
.lx-sec { margin-top: 26px; }
.lx-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.lx-sechead h2 { margin: 0; font: 400 28px/1.05 'Instrument Serif', Georgia, serif; letter-spacing: -.01em; }
.lx-sechead p { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
.lx-sechead .more { flex: none; }
.lx-subhead { margin: 20px 0 10px; font: 500 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lx-chips { display: flex; gap: 6px; overflow-x: auto; margin: 0 -16px 12px; padding: 0 16px 2px; scrollbar-width: none; }
.lx-chips::-webkit-scrollbar { display: none; }
.lx-chips.wrap { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
.lx-chips .pill-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; }
.lx-empty { display: grid; justify-items: center; gap: 8px; padding: 26px 18px; border-radius: 20px; border: 1px dashed var(--line-2); text-align: center; color: var(--muted); }
.lx-empty b { color: var(--text); font-size: 14.5px; font-weight: 600; max-width: 34ch; }
.lx-emptyi { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--s2); color: var(--accent-text); }
/* cidade */
.lx-citysheet h2 { margin: 2px 0 0; font: 400 36px/1.05 'Instrument Serif', Georgia, serif; }
.lx-cities { display: grid; gap: 4px; }
.lx-cityrow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 8px; border-radius: 14px; text-align: left; }
.lx-cityrow:hover { background: var(--s1); }
.lx-cityrow > span:last-child { display: grid; }
.lx-cityrow b { font-size: 15px; }
.lx-cityrow small { font-size: 12px; color: var(--muted); }
.lx-cityi { width: 36px; height: 36px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--s2); color: var(--accent-text); }
.lx-cityi svg { width: 18px; height: 18px; }
.lx-cityrow.loc .lx-cityi { background: var(--accent); color: var(--accent-ink); }
/* tempo: agora + próximos 6 dias */
.lx-note { position: relative; z-index: 1; display: flex; gap: 6px; align-items: flex-start; margin: 12px 2px 0; font-size: 11.5px; line-height: 1.4; color: var(--muted); }
.lx-note svg { width: 14px; height: 14px; flex: none; margin-top: 1px; }

/* ---------- busca, jogos, categorias ---------- */
.lx-searchrow { display: flex; gap: 8px; align-items: center; margin-bottom: 4px; }
.lx-searchrow .lx-search { flex: 1; min-width: 0; }
.lx-searchrow .pill { flex: none; height: 50px; }
.lx-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 720px) { .lx-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lx-tile { display: grid; grid-template-rows: auto 1fr auto; justify-items: center; align-items: center; gap: 6px; min-width: 0; padding: 14px 6px 12px; border-radius: 18px; text-align: center; transition: transform .15s; }
.lx-tile:hover { border-color: hsl(var(--h) 60% 60% / .55); transform: translateY(-2px); }
.lx-tilei { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; color: hsl(var(--h) 85% 72%);
  background: radial-gradient(circle at 30% 20%, hsl(var(--h) 70% 50% / .32), hsl(var(--h) 50% 30% / .18)); border: 1px solid hsl(var(--h) 60% 60% / .22); }
.lx-tilei svg { width: 23px; height: 23px; }
.lx-tile b { font-size: 12.5px; line-height: 1.2; font-weight: 600; text-wrap: balance; }
.lx-tile small { font: 500 9.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lx-tile.soon { border-style: dashed; }
.lx-tile.soon small { color: var(--orange); }

/* ---------- avisos e chamadas ---------- */
.lx-biz { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 26px; padding: 18px; border-radius: 22px; text-align: left; }
.lx-biz > span { flex: 1; display: grid; gap: 3px; }
.lx-biz .eyebrow { color: var(--accent-text); }
.lx-biz b { font: 400 23px/1.1 'Instrument Serif', Georgia, serif; }
.lx-biz small { font-size: 12.5px; color: var(--muted); }
.lx-biz > svg { width: 20px; height: 20px; flex: none; color: var(--accent-text); }
.lx-empty button { margin-top: 4px; }
.lx-sec .ax { margin: 0; }

/* ---------- gaveta de resultados ---------- */
.lx-rtitle { margin: 2px 0 0; font: 400 34px/1.05 'Instrument Serif', Georgia, serif; text-wrap: balance; overflow-wrap: anywhere; }
.lx-plist { display: grid; gap: 10px; margin-top: 12px; }
.lx-place { position: relative; display: grid; gap: 4px; padding: 14px 54px 14px 14px; border-radius: 18px; background: var(--s1); border: 1px solid var(--line); min-width: 0; }
.lx-place > b { font-size: 15.5px; line-height: 1.25; overflow-wrap: anywhere; }
.lx-pmeta { display: flex; align-items: flex-start; gap: 6px; margin: 0; font-size: 13px; color: #cfcfd8; overflow-wrap: anywhere; }
.lx-pmeta.dim { font-size: 12.5px; color: var(--muted); }
.lx-pmeta svg { width: 14px; height: 14px; flex: none; margin-top: 2px; color: var(--accent-text); }
.lx-pacts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.lx-pacts .pill { min-height: 36px; padding: 0 12px; font-size: 12.5px; }
.lx-heart { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--s2); color: var(--text); }
.lx-heart svg { width: 19px; height: 19px; }
.lx-heart[aria-pressed='true'] { color: var(--live); }
.lx-spon { display: grid; gap: 4px; justify-items: start; width: 100%; margin-top: 12px; padding: 14px; border-radius: 18px; text-align: left; border: 1px dashed #ff7a45;
  background: linear-gradient(120deg, rgb(255 122 69 / .14), transparent 70%), var(--s1); }
.lx-spon b { font-size: 15px; }
.lx-spon small { font-size: 12.5px; color: var(--muted); }
.lx-spon .ax-tag { position: static; }
.lx-plist + .pill { margin: 12px auto 0; display: flex; }

@media (prefers-reduced-motion: reduce) {
  .lx-tile { transition: none; }
}

/* =====================================================================================================
   Repaginada de vidro (12/11, protótipo aprovado): cartões .glass (css/vidro.css), títulos em Poppins (--title),
   ícones 3D (.ic3d) nos tipos de lugar. Só o visual mudou; as funções da aba são as mesmas.
   ===================================================================================================== */

/* ---------- cabeçalho ---------- */
.lx-hero { display: flex; flex-direction: column; gap: 14px; margin: 0 0 14px; padding: 4px 0 0; border: 0; border-radius: 0; background: none; overflow: visible; }
.lx-hero::after { display: none; }
.lx-top h1 { font: 600 28px/1.1 var(--title); letter-spacing: -.01em; }
.lx-when { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.lx-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: lx-pulse 1.8s ease-in-out infinite; }
@keyframes lx-pulse { 50% { opacity: .35; } }
.lx-savedbtn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 999px; font: 600 13.5px var(--ui); color: var(--text); }
.lx-savedbtn b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.lx-savedbtn b.z { background: var(--chip); color: var(--muted); }

/* ---------- cidade + tempo ---------- */
.wx { display: flex; flex-direction: column; gap: 14px; padding: 18px 14px 14px; border-radius: 30px; overflow: hidden; }
.wx-rain { position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none; background-size: 62px 62px; animation: wx-rain .9s linear infinite;
  background-image: repeating-linear-gradient(105deg, transparent 0 14px, rgb(140 170 255 / .35) 14px 15px, transparent 15px 31px);
  -webkit-mask: radial-gradient(70% 60% at 80% 10%, #000, transparent 70%); mask: radial-gradient(70% 60% at 80% 10%, #000, transparent 70%); }
@keyframes wx-rain { to { background-position: -17px 62px; } }
.wx-pin { position: absolute; right: 12px; top: 8px; width: 92px; height: 92px; animation: wx-float 4s ease-in-out infinite; }
@keyframes wx-float { 50% { transform: translateY(-6px) rotate(3deg); } }
.wx-top { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding-right: 100px; }
.wx-lb { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.wx-top h2 { margin: 0; font: 600 28px/1.08 var(--title); letter-spacing: -.01em; overflow-wrap: anywhere; }
.wx-city { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; color: var(--muted); text-align: left; }
.wx-city b { color: var(--accent-text); font-weight: 600; margin-left: 4px; }
.wx-now { display: flex; align-items: center; gap: 12px; margin-top: -8px; }
.wx-now > b { font: 800 56px/.9 var(--display); letter-spacing: -.03em; }
.wx-now > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wx-now em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-weight: 600; font-size: 15px; }
.wx-now em svg { width: 18px; height: 18px; color: var(--amber); }
.wx-now small { font-size: 12.5px; color: var(--muted); }
.wx-now.ghost { margin-top: 0; color: var(--muted); }
.wx-days { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.wx-d { display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 44px; padding: 8px 2px; border-radius: 16px; background: var(--chip); border: 1px solid var(--chip-line); color: var(--text); transition: transform .15s; }
.wx-d:active { transform: scale(.94); }
.wx-d small { font-size: 10.5px; font-weight: 700; color: var(--muted); text-transform: capitalize; }
.wx-d.we small { color: var(--accent-text); }
.wx-d .ic svg { width: 20px; height: 20px; color: var(--amber); display: block; }
.wx-d.wet .ic svg { color: #7cc4ff; }
.wx-d b { font: 700 16px var(--display); font-variant-numeric: tabular-nums; }
.wx-d .mn { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.wx-d .rb { width: 70%; height: 4px; margin-top: 2px; border-radius: 2px; background: rgb(118 118 128 / .22); overflow: hidden; }
.wx-d .rb i { display: block; height: 100%; background: #4c8dff; border-radius: 2px; }
.wx-d .rp { font-size: 10.5px; font-weight: 600; color: #4c8dff; font-variant-numeric: tabular-nums; }
.wx-hint { margin-top: -6px; text-align: center; font-size: 11.5px; color: var(--faint); }

/* ---------- sugestão do momento ---------- */
.now { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 22px; text-align: left; color: var(--text); }
.now-ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; }
.now-ic .ic3d { width: 100%; height: 100%; }
.now > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.now b { font-size: 15px; font-weight: 600; }
.now small { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.now i { font-style: normal; font-size: 22px; color: var(--faint); }

/* ---------- busca ---------- */
.lx-searchbox { display: grid; gap: 10px; margin-bottom: 4px; }
.l-search { display: flex; align-items: center; gap: 10px; margin: 0; padding: 4px 4px 4px 16px; border-radius: 999px; color: var(--muted); }
.l-search > svg { width: 19px; height: 19px; flex: none; }
.l-search input { flex: 1; min-width: 0; height: 44px; border: 0; background: none; outline: none; font: inherit; font-size: 15px; color: var(--text); }
.l-search input::placeholder { color: var(--faint); }
.lx-go { min-height: 44px; }
.lx-quick { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.lx-quick::-webkit-scrollbar { display: none; }
.lx-qchip { flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--chip); border: 1px solid var(--chip-line); font: 600 13px var(--ui); color: var(--text); }

/* ---------- seções, tipos de lugar, em breve, donos ---------- */
.lx-sechead h2 { font: 600 20px/1.2 var(--title); letter-spacing: -.005em; }
.lx-tiles { gap: 10px; }
.lx-tile { padding: 14px 6px 12px; border-radius: 20px; gap: 8px; color: var(--text); }
.lx-tile:hover { transform: none; }
.lx-tile:active { transform: scale(.95); }
.lx-tilei { width: 48px; height: 48px; border-radius: 15px; color: inherit; display: grid; place-items: center;
  background: radial-gradient(120% 100% at 30% 15%, hsl(var(--h) 90% 75% / .38), hsl(var(--h) 70% 50% / .14));
  border: 0; box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), inset 0 0 0 1px hsl(var(--h) 70% 60% / .22); }
.lx-tilei .ic3d { width: 112%; height: 112%; max-width: none; }
.lx-tile small { font: 600 10.5px var(--ui); letter-spacing: 0; text-transform: none; color: var(--muted); }
.lx-soons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lx-soon { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 20px; text-align: center; background: transparent; border: 1.5px dashed var(--g-line); color: var(--muted); }
.lx-soon-i svg { width: 22px; height: 22px; color: hsl(var(--h) 85% 62%); }
.lx-soon b { font-size: 12px; font-weight: 600; }
.lx-soon small { font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.lx-biz { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; width: auto; margin-top: 26px; padding: 18px; border-radius: 26px; text-align: left;
  background-image: radial-gradient(120% 90% at 100% 0%, rgb(var(--accent-rgb) / .16), transparent 60%); }
.lx-biz b { font: 600 19px/1.2 var(--title); }
.lx-biz small { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.lx-bizrow { margin-top: 6px; }

/* ---------- lista da categoria (gaveta) ---------- */
.lx-place { background-color: var(--g); border: 1px solid var(--g-line); border-radius: 22px; }
.lx-phead { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lx-phead > b { font-size: 15.5px; line-height: 1.25; overflow-wrap: anywhere; }
.lx-pci { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  background: radial-gradient(120% 100% at 30% 15%, hsl(var(--h) 90% 75% / .38), hsl(var(--h) 70% 50% / .14)); box-shadow: inset 0 0 0 1px hsl(var(--h) 70% 60% / .22); }
.lx-pci .ic3d { width: 112%; height: 112%; max-width: none; }
.lx-pmeta { color: var(--muted); }

/* ---------- Planejar (janela de baixo) ---------- */
.lxp .sheet-scrim { background: var(--scrim); }
.lxp .sheet-panel { background: var(--sheet-tint); border-color: var(--g-line); }
.lxp-head h3 { margin: 0; font: 600 20px/1.2 var(--title); }
.lxp-head small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.lxp-body { padding: 4px 16px calc(24px + var(--safe-b)); display: grid; gap: 14px; align-content: start; }
.lxp-plan { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 20px; }
.lxp-plan > b { font: 800 40px/1 var(--display); }
.lxp-plan span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lxp-plan em { font-style: normal; font-weight: 600; }
.lxp-plan small { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.lxp-lb { margin: 0; font: 700 12px var(--ui); letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
.lxp-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lxp-cat { display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 44px; padding: 10px 4px; border-radius: 16px; background: var(--chip); border: 1px solid var(--chip-line); color: var(--text); font-size: 12px; font-weight: 600; }
.lxp-cat:active { transform: scale(.95); }
.lxp-cat .ci { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: radial-gradient(120% 100% at 30% 15%, hsl(var(--h) 90% 75% / .38), hsl(var(--h) 70% 50% / .14)); box-shadow: inset 0 0 0 1px hsl(var(--h) 70% 60% / .22); }
.lxp-cat .ic3d { width: 112%; height: 112%; max-width: none; }
.lxp-note { display: flex; gap: 6px; margin: 0; font-size: 11.5px; line-height: 1.4; color: var(--muted); }
.lxp-note svg { width: 14px; height: 14px; flex: none; margin-top: 1px; }

@media (prefers-reduced-motion: reduce) { .lx-dot, .wx-pin, .wx-rain { animation: none; } }

/* letras no mínimo de 11 px (régua 13/11) */
.wx-d small, .wx-d .rp, .lx-tile small, .lx-soon small { font-size: 11px; }
