







:root { --nao-visto: #fff; }


.ma-janela { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 24px;
  background: rgba(8, 7, 7, .74); backdrop-filter: blur(3px); opacity: 0; transition: opacity 180ms cubic-bezier(.4, 0, 1, 1); }
.ma-janela.on { opacity: 1; transition: opacity 240ms cubic-bezier(.16, 1, .3, 1); }
.ma-corpo { position: relative; width: min(900px, 100%); max-height: calc(100vh - 48px); display: flex; flex-direction: column; overflow: hidden;
  border-radius: 16px; background: linear-gradient(#1c1a19, #151413); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 80px -24px #000;
  transform: translateY(14px) scale(.965); opacity: 0; transition: transform 200ms cubic-bezier(.4, 0, 1, 1), opacity 160ms cubic-bezier(.4, 0, 1, 1); }
.ma-janela.on .ma-corpo { transform: none; opacity: 1; transition: transform 420ms cubic-bezier(.16, 1, .3, 1) 60ms, opacity 220ms cubic-bezier(.16, 1, .3, 1) 60ms; }
.ma-x { flex: none; width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--bg-3); color: var(--txt-2); cursor: pointer; font-size: 13px; }
.ma-botoes { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ma-botoes.fim { justify-content: flex-end; padding: 14px 18px 18px; }
.ma-prim { background: var(--txt) !important; color: var(--bg) !important; border-color: var(--txt) !important; font-weight: 700; }
@keyframes maRevela { from { opacity: 0; transform: translateY(10px); } }


.ma-quente { background: radial-gradient(120% 60% at 50% -10%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 60%), linear-gradient(#1c1a19, #151413);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent), 0 0 46px -12px color-mix(in srgb, var(--accent) 60%, transparent), 0 30px 80px -24px #000; }
.ma-quente::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, transparent, #ff7a4d 20%, var(--accent) 50%, #ff7a4d 80%, transparent);
  box-shadow: 0 0 18px 4px color-mix(in srgb, var(--accent) 70%, transparent); animation: cz-calor 2.4s ease-in-out infinite; }
.ma-brasas { position: absolute; inset: 0 0 auto 0; height: 90px; z-index: 0; pointer-events: none; }
.ma-brasas i { position: absolute; bottom: 0; left: calc(2% + var(--k) * 7%); width: 5px; height: 5px; border-radius: 50%; background: #ffb08a;
  box-shadow: 0 0 10px 3px color-mix(in srgb, var(--accent) 85%, transparent), 0 0 3px 1px #ff7a4d; opacity: 0;
  animation: cz-brasa-sobe calc(2.2s + var(--k) * .13s) linear infinite; animation-delay: calc(var(--k) * -.47s); }
.ma-brasas i:nth-child(3n) { width: 3px; height: 3px; }
.ma-brasas i:nth-child(4n) { width: 7px; height: 7px; background: #ff8f66; }
.ma-topo, .ma-dentro { position: relative; z-index: 1; }
.ma-topo { display: flex; align-items: center; gap: 10px; padding: 14px 18px 0; }
.ma-topo b { flex: 1; font-size: 15px; color: var(--txt-2); font-weight: 700; }
.ma-selo { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 999px; white-space: nowrap;
  background: color-mix(in srgb, var(--accent) 18%, transparent); color: #ff8a73; }
.ma-chama { transform-origin: 50% 90%; animation: cz-chama-treme 1.6s ease-in-out infinite; }
.ma-dentro { padding: 8px 18px 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; overflow: auto; }
.ma-troca { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ma-troca.vai { animation: maTroca 320ms cubic-bezier(.16, 1, .3, 1); }
@keyframes maTroca { from { opacity: 0; transform: translateX(14px); } }
.ma-formula { margin: 0; font-size: 26px; line-height: 1.22; font-weight: 800; letter-spacing: -.015em; color: var(--txt); }
.ma-formula .mv-vaga, .ma-formula .vaga { color: #ff6b57; font-weight: 800; }
.ma-janela.on .ma-formula { animation: maRevela 380ms cubic-bezier(.16, 1, .3, 1) 160ms both; }
.ma-qt { margin: -2px 0 0; display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--txt-2); }
.ma-qt b { color: var(--txt); font-weight: 800; }
.ma-pilha { display: inline-flex; flex: none; }
.ma-pilha img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid #1a1817; margin-left: -10px; }
.ma-pilha img:first-child { margin-left: 0; }
.ma-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ma-janela.on .ma-grade > * { animation: maRevela 380ms cubic-bezier(.16, 1, .3, 1) both; animation-delay: 240ms; }
.ma-janela.on .ma-grade > :nth-child(2) { animation-delay: 330ms; }
.ma-aviso .ma-botoes .btn { height: 42px; padding: 0 20px; font-size: 15px; }


.ma-chegada .ma-corpo { width: min(1040px, 100%); }
.ma-ch-cab { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 14px; padding: 18px 18px 14px; }
.ma-ch-cab small { flex-basis: 100%; order: -1; font-size: 13px; font-weight: 600; color: var(--txt-3); }
.ma-ch-cab b { flex: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.ma-ch-cab b em { font-style: normal; color: var(--info); }
.ma-sep { color: var(--txt-3); font-weight: 400; }
.ma-ch-cab .ma-x { margin-top: -22px; }







.ma-ch-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: max-content; gap: 12px; padding: 0 18px;
  overflow: auto; min-height: 0; flex: 1 1 auto; }
.ma-it { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 10px; padding: 0 0 12px; border-radius: 13px; overflow: hidden;
  border: 1px solid var(--line-2); background: var(--bg-2); color: inherit; text-decoration: none; opacity: 0; transform: translateY(14px) scale(.96); }
.ma-janela.on .ma-it { animation: maIt 380ms cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: calc(300ms + var(--k) * 110ms); }
@keyframes maIt { to { opacity: 1; transform: none; } }
@media (hover: hover) and (pointer: fine) { .ma-it:hover { border-color: var(--txt-3); } }
.ma-capa { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-3); }
.ma-capa img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ma-x2 { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 7px; background: rgba(10, 9, 9, .82); font-weight: 800; font-size: 13px; color: #fff; }
.ma-dur { position: absolute; right: 8px; bottom: 8px; padding: 1px 5px; border-radius: 5px; background: rgba(0, 0, 0, .8); color: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ma-linha { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 0 12px; align-items: start; }
.ma-foto { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--bg-4); color: var(--txt); font-size: 14px; font-weight: 800; font-style: normal; }
.ma-txt { display: grid; gap: 2px; min-width: 0; }
.ma-t { font-size: 14px; font-weight: 700; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ma-c, .ma-m { font-size: 12.5px; color: var(--txt-3); }
.ma-formula-cx { margin: 0 12px; padding: 8px 10px; border-radius: 9px; background: var(--bg-3); font-size: 13px; font-weight: 700; line-height: 1.3; }
.ma-formula-cx i { display: block; margin-bottom: 2px; font-style: normal; font-size: 11px; font-weight: 600; color: var(--txt-3); }
.ma-vazio { display: block; }
.ma-rot { align-self: end; margin: 0 12px; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--info); }


.ma-sino-cx { position: relative; margin-right: 8px; }
.ma-sino { position: relative; }
.ma-badge { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--info); color: #fff;
  font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); }
.ma-sino-cx.toca .ma-badge { animation: maSalta 340ms cubic-bezier(.34, 1.56, .64, 1); }
.ma-sino-cx.toca .ma-sino svg { animation: maBalanca 600ms cubic-bezier(.16, 1, .3, 1) 120ms; transform-origin: 50% 2px; }
@keyframes maSalta { from { transform: scale(.4); opacity: 0; } }
@keyframes maBalanca { 20% { transform: rotate(14deg); } 45% { transform: rotate(-10deg); } 70% { transform: rotate(5deg); } }
.ma-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 120; width: min(420px, calc(100vw - 24px)); max-height: min(70vh, 560px); overflow: auto;
  padding: 10px; border-radius: 14px; background: #1b1918; border: 1px solid var(--line-2); box-shadow: 0 22px 50px -16px #000;
  transform-origin: calc(100% - 18px) 0; transform: scale(.96) translateY(-4px); opacity: 0; pointer-events: none;
  transition: transform 160ms cubic-bezier(.4, 0, 1, 1), opacity 120ms cubic-bezier(.4, 0, 1, 1); }
.ma-sino-cx.aberto .ma-menu { transform: none; opacity: 1; pointer-events: auto; transition: transform 200ms cubic-bezier(.16, 1, .3, 1), opacity 140ms cubic-bezier(.16, 1, .3, 1); }
.ma-menu h4 { margin: 4px 6px 10px; font-size: 13px; font-weight: 700; color: var(--txt-2); }
.ma-menu-g + .ma-menu-g { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.ma-menu-aba { display: block; margin: 4px 8px 2px; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--info); }
.ma-menu-aba i { font-style: normal; color: var(--txt-3); }
.ma-menu a { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border-radius: 10px; color: inherit; text-decoration: none; }
.ma-menu a:hover { background: var(--bg-3); }
.ma-menu img { width: 80px; height: 45px; border-radius: 6px; object-fit: cover; }
.ma-menu .f { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.ma-menu .m { display: block; margin-top: 2px; font-size: 12px; color: var(--txt-3); font-weight: 500; }
.ma-menu .m b { color: var(--txt); }

@media (max-width: 760px) {
  .ma-janela { padding: 0; align-items: stretch; }
  .ma-corpo { border-radius: 0; width: 100%; max-height: 100vh; }
  .ma-topo { flex-wrap: wrap; row-gap: 4px; gap: 8px; padding: 12px 14px 0; }
  .ma-topo b { order: 3; flex-basis: 100%; }
  .ma-topo .ma-x { order: 2; }
  .ma-dentro { padding: 8px 14px 16px; }
  .ma-formula { font-size: 20px; }
  .ma-grade { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; }
  .ma-grade > * { scroll-snap-align: start; }
  .ma-botoes .btn { flex: 1 1 auto; }
  .ma-ch-g { grid-template-columns: minmax(0, 1fr); padding: 0 12px; }
  

  .ma-menu { position: fixed; left: 12px; right: 12px; top: 64px; width: auto; transform-origin: 50% 0; }
  .ma-ch-cab b { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .ma-brasas, .ma-quente::before { display: none; }
  .ma-chama, .ma-sino-cx.toca .ma-badge, .ma-sino-cx.toca .ma-sino svg { animation: none; }
  .ma-it { opacity: 1; transform: none; }
  .ma-janela.on .ma-it, .ma-janela.on .ma-formula, .ma-janela.on .ma-grade > * { animation: none; }
}




.ma-aviso .ma-dentro { position: relative; }
.ma-seta { position: absolute; z-index: 3; top: 52%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: #fff;
  background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .8);
  transition: background .15s, transform .15s; }
.ma-seta:hover { background: var(--bg-3); transform: translateY(-50%) scale(1.06); }
.ma-seta:focus-visible { outline: 2px solid var(--info); outline-offset: 2px; }
.ma-seta svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ma-seta.ant { left: 4px; }
.ma-seta.prox { right: 4px; }
.ma-pontos { display: flex; align-items: center; justify-content: center; gap: 8px; }
.ma-pontos button { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; cursor: pointer;
  background: color-mix(in srgb, var(--txt) 25%, transparent); transition: width .2s, background .2s; }
.ma-pontos button.on { width: 26px; background: #fff; }
.ma-pontos button:focus-visible { outline: 2px solid var(--info); outline-offset: 3px; }
.ma-pontos span { margin-left: 6px; font-size: 13px; font-weight: 600; color: var(--txt-2); }
.ma-botoes { flex-wrap: wrap; align-items: center; }
.ma-fora-cx { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.ma-fora { padding: 7px 12px; border-radius: 9px; border: 1px dashed var(--line-2); background: none; color: var(--txt-2);
  font: inherit; font-size: 13px; cursor: pointer; }
.ma-fora:hover { color: var(--txt); border-style: solid; border-color: var(--txt-3); }
.ma-fora:disabled { opacity: .5; cursor: default; }
@media (max-width: 620px) {
  .ma-seta { width: 40px; height: 40px; top: 40%; }
  .ma-fora-cx { margin-left: 0; width: 100%; }
}
