/* As telas do OddNow recriadas em HTML, dentro de uma janela de navegador. Cores, raio e tipos de
   apps/react/src/globals.css (tema escuro) e dos componentes das páginas reais. Tudo em pixels
   lógicos (1200 de largura; 420 no celular), escalado pelo app.js. Toda regra começa com .app
   para nada vazar para o site. */

.app {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: 0 0;
  background: hsl(0 0% 7%);
  color: hsl(0 0% 90%);
  font-family: Geist, Inter, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  --bg: hsl(0 0% 7%);
  --card: hsl(0 0% 12%);
  --muted: hsl(0 0% 15%);
  --mf: hsl(0 0% 60%);
  --bd: hsl(0 0% 20%);
  --pr: hsl(264 70% 66%);
  --up: hsl(122 39% 49%);
  --dn: hsl(4 82% 63%);
  --sb: hsl(45 90% 65%);
  --vb: hsl(187 75% 50%);
  --ex: cubic-bezier(0.16, 1, 0.3, 1);
}
.app * {
  box-sizing: border-box;
}
.app h1,
.app h2,
.app h3,
.app p {
  margin: 0;
  font-family: inherit;
  letter-spacing: normal;
  line-height: 1.25;
}
.app svg {
  flex: none;
}
.app b {
  font-weight: 600;
}

/* Barra do navegador */
.app .chrome {
  flex: none;
  display: grid;
  grid-template-columns: 1fr minmax(0, 520px) 1fr;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  background: hsl(0 0% 11%);
  border-bottom: 1px solid hsl(0 0% 16%);
}
.app .dots {
  display: flex;
  gap: 7px;
}
.app .dots i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: hsl(0 0% 24%);
}
.app .url {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 26px;
  padding: 0 12px;
  border-radius: 7px;
  background: hsl(0 0% 7%);
  color: hsl(0 0% 70%);
  font-size: 13px;
}
.app .url svg {
  color: hsl(0 0% 50%);
}
.app .url-path {
  color: hsl(0 0% 50%);
}

.app .body {
  position: relative;
  flex: 1;
  display: flex;
  min-height: 0;
}

/* Sidebar */
.app .side {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 210px;
  padding: 18px 10px;
  border-right: 1px solid var(--bd);
  background: var(--bg);
}
.app .side-logo {
  width: 128px;
  height: auto;
  margin: 0 0 18px 10px;
}
.app .sh {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 4px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--mf);
}
.app .si {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 14.5px;
  color: hsl(0 0% 78%);
  transition:
    background 300ms ease,
    color 300ms ease;
}
.app .si svg {
  color: hsl(0 0% 70%);
}
.app .si.on {
  background: hsl(264 20% 18%);
  color: var(--pr);
}
.app .si.on svg {
  color: var(--pr);
}
.app .si.on::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 2px;
  background: var(--pr);
}

.app .main {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.app .topbar {
  flex: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 52px;
  padding: 0 22px;
}
.app .top-logo {
  display: none;
  width: 96px;
  height: auto;
}
.app .tb-end {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.app .bell {
  position: relative;
  display: grid;
  place-items: center;
  color: hsl(0 0% 80%);
}
.app .bell-dot {
  position: absolute;
  right: -1px;
  top: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dn);
  box-shadow: 0 0 0 2px var(--bg);
  transform: scale(0);
  transition: transform 400ms cubic-bezier(0.34, 1.6, 0.64, 1);
}
.app .bell-dot.on {
  transform: none;
}
.app .avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: hsl(264 20% 18%);
  color: var(--pr);
}

.app .pages {
  position: relative;
  flex: 1;
  min-height: 0;
}
.app .pg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  visibility: hidden;
}
.app .pg.on {
  visibility: visible;
  z-index: 2;
}
.app .pg.leaving {
  visibility: visible;
  z-index: 1;
}
.app .pg-in {
  padding: 6px 24px 40px;
}

/* Cabeçalho das páginas */
.app .ph {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}
.app .ph h1 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
}
.app .ph h1.red svg {
  color: var(--dn);
}
.app .ph p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--mf);
}
.app .ago {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--muted);
  font-size: 11px;
  font-weight: 500;
  color: var(--mf);
}
.app .mtabs,
.app .sbtabs {
  display: inline-flex;
  gap: 2px;
  margin-bottom: 12px;
  padding: 4px;
  border-radius: 9px;
  background: var(--muted);
}
.app .mtabs span,
.app .sbtabs span {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--mf);
}
.app .mtabs .on,
.app .sbtabs .on {
  background: var(--bg);
  color: hsl(0 0% 92%);
}
.app .sortrow {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.app .sortrow .lbl {
  margin-right: 4px;
  font-size: 12px;
  color: var(--mf);
}
.app .sbtn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 11px;
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px var(--bd);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background 300ms ease,
    box-shadow 300ms ease;
}
.app .sbtn.on {
  background: var(--pr);
  box-shadow: none;
  color: #fff;
}
.app .minp {
  margin-left: auto;
  font-size: 12px;
  color: var(--mf);
}
.app .minp span {
  display: inline-block;
  min-width: 44px;
  padding: 4px 8px;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--bd);
  color: hsl(0 0% 90%);
}

/* Célula de odd (odds-cell.tsx): melhor em verde, seta de tendência e o flash. */
.app .oc {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 58px;
  height: 34px;
  border-radius: 8px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  transition:
    box-shadow 300ms ease,
    color 300ms ease,
    background 300ms ease;
}
.app .oc.best {
  box-shadow: inset 0 0 0 1px var(--up);
  background: hsl(122 39% 49% / 0.08);
  color: var(--up);
  font-weight: 700;
}
.app .oc.flash {
  animation: oc-flash 1.5s ease-out;
}
@keyframes oc-flash {
  0% {
    background-color: hsl(122 39% 49% / 0.25);
  }
}
.app .oc .tr {
  display: inline-flex;
}
.app .oc .tr:empty {
  display: none;
}
.app .oc .tr.u {
  color: var(--up);
}
.app .oc .tr.d {
  color: var(--dn);
}

/* Tabela de comparação */
.app .tbl-wrap {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--bd);
  background: var(--card);
}
.app .ctable {
  border-collapse: collapse;
  width: max-content;
  min-width: 100%;
}
.app .ctable thead tr {
  background: var(--muted);
}
.app .ctable th {
  height: 54px;
  padding: 0 3px;
  font-weight: 500;
}
.app .ctable .gcol {
  width: 180px;
  min-width: 180px;
  padding: 0 14px;
  border-right: 1px solid var(--bd);
  text-align: left;
  font-size: 12px;
  color: var(--mf);
}
.app .ctable td.gcol b {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: hsl(0 0% 90%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app .ctable td.gcol small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--mf);
}
.app .bn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
  color: var(--mf);
}
.app .blogo {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 3px;
  background: hsl(0 0% 24%);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  color: hsl(0 0% 85%);
}
.app .sels {
  display: flex;
  gap: 3px;
  justify-content: center;
  margin-top: 4px;
}
.app .sels i {
  width: 58px;
  padding: 2px 0;
  border-radius: 4px;
  background: var(--bg);
  font-size: 10px;
  font-style: normal;
  text-align: center;
  color: var(--mf);
}
.app .ctable tbody tr {
  height: 60px;
  border-top: 1px solid hsl(0 0% 17%);
  background: var(--card);
}
.app .ctable tbody tr:nth-child(even) {
  background: var(--muted);
}
.app .ctable td.bk {
  padding: 0 3px;
}
.app .cells {
  display: flex;
  gap: 3px;
  justify-content: center;
}

/* Detalhe do jogo */
.app .banner {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  height: 128px;
  margin: 0 -24px;
  overflow: hidden;
  background: linear-gradient(135deg, #052e16, #14532d 55%, #052e16);
}
.app .banner .mid {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.app .banner .ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 110px;
  height: 110px;
  margin: -55px 0 0 -55px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.app .team {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 140px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}
.app .crest {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}
.app .crest.sm {
  width: 24px;
  height: 24px;
  background: var(--muted);
  font-size: 8px;
  color: var(--mf);
}
.app .vs {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  font-weight: 700;
  color: #fff;
}
.app .evmeta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  height: 36px;
  margin: 0 -24px 10px;
  border-bottom: 1px solid var(--bd);
  font-size: 12.5px;
  color: var(--mf);
}
.app .evmeta .lg {
  color: var(--pr);
}
.app .evmeta .sep {
  width: 1px;
  height: 14px;
  background: var(--bd);
}
.app .evmeta .st {
  padding: 2px 9px;
  border-radius: 999px;
  background: hsl(122 39% 49% / 0.14);
  color: var(--up);
}
.app .bests {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.app .bx {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 9px 0 8px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px hsl(122 39% 49% / 0.6);
  background: hsl(122 39% 49% / 0.05);
}
.app .bx.flash {
  animation: oc-flash 1.5s ease-out;
}
.app .bx small {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--mf);
}
.app .bx .bv {
  margin-top: 2px;
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.app .bx .bp,
.app .bx .bb {
  font-size: 11.5px;
  color: var(--mf);
}
.app .etabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 12px 0 10px;
  padding: 4px;
  border-radius: 9px;
  background: var(--muted);
}
.app .et {
  position: relative;
  z-index: 1;
  padding: 6px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--mf);
  transition: color 300ms ease;
}
.app .et.on {
  color: hsl(0 0% 92%);
}
.app .et-slider {
  position: absolute;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  border-radius: 6px;
  background: var(--bg);
  transition:
    transform 420ms cubic-bezier(0.34, 1.2, 0.64, 1),
    width 420ms cubic-bezier(0.34, 1.2, 0.64, 1);
}
.app .etab {
  display: none;
}
.app .etab.on {
  display: block;
}
.app .etab h3 {
  margin: 4px 0 6px;
  font-size: 14px;
  font-weight: 600;
}
.app .orow {
  display: grid;
  grid-template-columns: 1fr 70px 70px 70px 1fr;
  align-items: center;
  height: 38px;
  border-top: 1px solid hsl(0 0% 16%);
  font-size: 13px;
}
.app .orow .oc {
  justify-self: center;
  height: 30px;
}
.app .ohead {
  height: 28px;
  border-top: 0;
  font-size: 11.5px;
  color: var(--mf);
}
.app .ohead span:nth-child(n + 2) {
  text-align: center;
}
.app .obk {
  color: hsl(0 0% 85%);
}
.app .chart {
  position: relative;
  height: 200px;
  margin: 6px 0 0 40px;
}
.app .hsvg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.app .hsvg .gl {
  stroke: hsl(0 0% 18%);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.app .hsvg .hl {
  fill: none;
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.app .yaxis {
  position: absolute;
  left: -40px;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 0 0;
  font-family: "Geist Mono", monospace;
  font-size: 10.5px;
  color: var(--mf);
}
.app .legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 14px;
  font-size: 12.5px;
  color: hsl(0 0% 80%);
}
.app .legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.app .legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.app .legend b {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--mf);
}

/* Surebets */
.app .sb {
  margin-bottom: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: hsl(0 0% 9%);
  box-shadow: inset 0 0 0 1px var(--bd);
}
.app .sb-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--mf);
}
.app .chip {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--muted);
  color: hsl(0 0% 85%);
}
.app .sbtag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: hsl(45 90% 65% / 0.14);
  font-size: 11px;
  font-weight: 700;
  color: var(--sb);
}
.app .sbtag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sb);
}
.app .sb-teams {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 10px 0;
  font-size: 14px;
  font-weight: 500;
}
.app .sb-teams span {
  display: flex;
  align-items: center;
  gap: 9px;
}
.app .sb-teams .crest {
  width: 24px;
  height: 24px;
  font-size: 8px;
  background: var(--muted);
  color: var(--mf);
}
.app .sb-legs {
  display: grid;
  gap: 8px;
}
.app .sb-legs.n3 {
  grid-template-columns: repeat(3, 1fr);
}
.app .sb-legs.n2 {
  grid-template-columns: repeat(2, 1fr);
}
.app .sb-legs .leg {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7px 0;
  border-radius: 9px;
  background: var(--card);
}
.app .sb-legs .leg.flash {
  animation: leg-flash 1.6s ease-out;
}
@keyframes leg-flash {
  0% {
    background-color: hsl(4 82% 63% / 0.3);
  }
}
.app .sb-legs small {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--mf);
}
.app .sb-legs .lo {
  font-size: 19px;
  font-weight: 700;
  color: var(--sb);
  font-variant-numeric: tabular-nums;
}
.app .sb-legs span {
  font-size: 11.5px;
  color: var(--mf);
}
.app .sb-ret {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid hsl(0 0% 17%);
}
.app .rl {
  font-size: 12px;
  font-weight: 600;
  color: var(--mf);
}
.app .rv {
  font-size: 16px;
  font-weight: 700;
  color: var(--sb);
}
.app .rm {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--mf);
}
.app .sb-acts {
  display: flex;
  gap: 8px;
}
.app .b-copy,
.app .b-calc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}
.app .b-copy {
  box-shadow: inset 0 0 0 1px var(--bd);
}
.app .b-calc {
  background: var(--sb);
  color: #111;
}
.app .sb-calc {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 520ms var(--ex);
}
.app .sb.open .sb-calc {
  grid-template-rows: 1fr;
}
.app .sb-calc-in {
  min-height: 0;
  overflow: hidden;
}
.app .inv {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid hsl(0 0% 17%);
  font-size: 13px;
  color: var(--mf);
}
.app .inp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 150px;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--bd);
  color: var(--mf);
}
.app .sb.typing .inp,
.app .typing .finput {
  box-shadow:
    inset 0 0 0 1.5px var(--pr),
    0 0 0 3px hsl(264 70% 66% / 0.2);
}
.app .inp b {
  font-weight: 500;
  color: hsl(0 0% 92%);
}
.app .caret {
  display: none;
  width: 1.5px;
  height: 16px;
  margin-left: -6px;
  background: hsl(0 0% 92%);
  animation: blink 1s steps(1) infinite;
}
.app .typing .caret {
  display: block;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.app .srow {
  display: grid;
  grid-template-columns: 64px 44px 1fr auto;
  align-items: center;
  gap: 6px;
  height: 26px;
  font-size: 13px;
}
.app .srow .sl {
  color: var(--mf);
}
.app .srow .so {
  font-variant-numeric: tabular-nums;
}
.app .srow .sbk {
  color: var(--pr);
}
.app .srow .sv {
  font-family: "Geist Mono", monospace;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

/* Odds em Queda */
.app .dlist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app .dc {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--bd);
}
.app .dc.flash {
  animation: leg-flash 1.8s ease-out 200ms;
}
.app .dc-l {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.app .dc-t {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.app .dc-t b {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app .dc-b {
  font-size: 12.5px;
  color: var(--mf);
}
.app .dc-o {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--mf);
}
.app .dc-o b {
  color: var(--dn);
}
.app .dc-o em {
  padding: 2px 7px;
  border-radius: 6px;
  background: hsl(4 82% 63% / 0.12);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  color: var(--dn);
}
.app .dc-r {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 12px;
  color: var(--mf);
}
.app .dc-r b {
  font-weight: 500;
}
.app .dc-r small {
  margin-top: 2px;
  font-size: 11px;
  color: hsl(0 0% 46%);
}

/* Alertas */
.app .aw {
  max-width: 760px;
  margin: 0 auto;
}
.app .aw.narrowform {
  max-width: 600px;
}
.app .ah {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 0 18px;
}
.app .ah h2 {
  font-size: 26px;
  font-weight: 700;
}
.app .ah p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--mf);
}
.app .ah-r {
  display: flex;
  align-items: center;
  gap: 14px;
}
.app .vol {
  color: hsl(0 0% 80%);
}
.app .b-new,
.app .b-create {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--pr);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}
.app .alist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app .ac {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--bd);
}
.app .ac-ic.y,
.app .ty .y {
  color: #facc15;
}
.app .ac-ic.r,
.app .ty .r {
  color: #f87171;
}
.app .ty .bl {
  color: #60a5fa;
}
.app .ac-tx {
  flex: 1;
  min-width: 0;
}
.app .ac-tx b {
  display: block;
  font-size: 14px;
}
.app .ac-tx small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--mf);
}
.app .ac-st {
  padding: 2px 9px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.1);
  font-size: 12px;
  font-weight: 500;
  color: #22c55e;
}
.app .sw {
  position: relative;
  width: 36px;
  height: 20px;
  border-radius: 10px;
  background: var(--pr);
}
.app .ac.off .ac-st {
  box-shadow: inset 0 0 0 1px rgba(234, 179, 8, 0.5);
  background: rgba(234, 179, 8, 0.1);
  color: #eab308;
}
.app .sw:not(.on) {
  background: hsl(0 0% 26%);
}
.app .sw:not(.on) i {
  left: 2px;
}
.app .sw i {
  position: absolute;
  top: 2px;
  left: 18px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
}
.app .ac-del {
  display: grid;
  place-items: center;
  color: hsl(0 72% 60%);
}
.app .flabel {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
}
.app .types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.app .ty {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 14px;
  border-radius: 12px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--bd);
  transition:
    box-shadow 300ms ease,
    background 300ms ease;
}
.app .ty svg {
  transition: transform 300ms var(--ex);
}
.app .ty b {
  margin-top: 10px;
  font-size: 14px;
}
.app .ty small {
  margin-top: 3px;
  font-size: 12px;
  color: var(--mf);
}
.app .ty.on {
  background: hsl(264 70% 66% / 0.05);
  box-shadow: inset 0 0 0 2px #f87171;
}
.app .ty.on svg {
  transform: scale(1.1);
}
.app .dfield {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 520ms var(--ex);
}
.app .show-field .dfield {
  grid-template-rows: 1fr;
}
.app .dfield-in {
  min-height: 0;
  overflow: hidden;
  padding-top: 18px;
}
.app .finput {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--bd);
  font-size: 14px;
}
.app .finput .fv:empty + .caret + .ph-t {
  display: block;
}
.app .ph-t {
  display: none;
  position: absolute;
  left: 12px;
  color: hsl(0 0% 46%);
}
.app .typing .ph-t {
  left: 16px;
}
.app .finput .caret {
  margin-left: 0;
}
.app .b-create {
  width: 100%;
  margin-top: 20px;
}

/* Push do navegador */
.app .toast {
  position: absolute;
  right: 16px;
  top: 52px;
  z-index: 40;
  display: flex;
  gap: 12px;
  width: 340px;
  padding: 12px 14px;
  border-radius: 14px;
  background: hsl(0 0% 17% / 0.96);
  box-shadow:
    inset 0 0 0 1px hsl(0 0% 100% / 0.08),
    0 18px 40px -10px rgba(0, 0, 0, 0.8);
  transform: translateX(380px);
  transition: transform 640ms cubic-bezier(0.34, 1.15, 0.64, 1);
}
.app .toast.on {
  transform: none;
}
.app .toast-icon img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.app .toast-tx {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 13px;
}
.app .toast-tx small {
  font-size: 11px;
  color: var(--mf);
}
.app .toast-tx b {
  margin-top: 2px;
  font-size: 14px;
}
.app .toast-tx span {
  color: hsl(0 0% 80%);
}

/* Cursor que clica */
.app .cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 60;
  width: 24px;
  height: 24px;
  margin: -3px 0 0 -5px;
  transform-origin: 5px 3px;
  pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5));
}
.app .ripple {
  position: absolute;
  z-index: 59;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  background: hsl(264 70% 66% / 0.5);
  opacity: 0;
  pointer-events: none;
}

/* ---------- Celular: sem sidebar, logo no topo ---------- */

.app.narrow .chrome {
  grid-template-columns: 1fr;
  height: 36px;
  padding: 0 10px;
}
.app.narrow .dots,
.app.narrow .chrome-end {
  display: none;
}
.app.narrow .side {
  display: none;
}
.app.narrow .topbar {
  height: 48px;
  padding: 0 14px;
}
.app.narrow .top-logo {
  display: block;
}
.app.narrow .pg-in {
  padding: 4px 14px 40px;
}
.app.narrow .ph h1 {
  font-size: 19px;
}
.app.narrow .ctable .gcol {
  width: 112px;
  min-width: 112px;
  padding: 0 10px;
}
.app.narrow .ctable .b2,
.app.narrow .ctable .b3 {
  display: none;
}
.app.narrow .oc {
  width: 44px;
  font-size: 12px;
}
.app.narrow .oc .tr svg {
  width: 10px;
  height: 10px;
}
.app.narrow .sels i {
  width: 44px;
  font-size: 9px;
}
.app.narrow .ctable tbody tr {
  height: 56px;
}
.app.narrow .banner {
  gap: 18px;
  height: 104px;
  margin: 0 -14px;
}
.app.narrow .team {
  width: 110px;
  font-size: 13px;
}
.app.narrow .crest {
  width: 44px;
  height: 44px;
}
.app.narrow .evmeta {
  margin: 0 -14px 10px;
  font-size: 11px;
  gap: 6px;
}
.app.narrow .bests {
  gap: 6px;
}
.app.narrow .bx .bv {
  font-size: 18px;
}
.app.narrow .orow {
  grid-template-columns: 1fr 64px 64px 64px;
}
.app.narrow .chart {
  height: 170px;
  margin-left: 34px;
}
.app.narrow .yaxis {
  left: -34px;
}
.app.narrow .sb {
  padding: 12px;
}
.app.narrow .sb-ret {
  flex-direction: column;
  align-items: flex-start;
}
.app.narrow .sb-legs .lo {
  font-size: 16px;
}
.app.narrow .minp {
  display: none;
}
.app.narrow .types {
  grid-template-columns: 1fr;
  gap: 8px;
}
.app.narrow .ty {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  padding: 10px 12px;
}
.app.narrow .ty svg {
  grid-row: 1 / 3;
  align-self: center;
  width: 26px;
  height: 26px;
}
.app.narrow .ty b {
  margin-top: 0;
}
.app.narrow .ah {
  padding: 10px 0 14px;
}
.app.narrow .ah h2 {
  font-size: 22px;
}
.app.narrow .ac {
  gap: 10px;
  padding: 12px;
}
.app.narrow .ac-st {
  display: none;
}
.app.narrow .toast {
  left: 10px;
  right: 10px;
  top: 44px;
  width: auto;
  transform: translateY(-160px);
}
.app.narrow .toast.on {
  transform: none;
}
.app.narrow .dc {
  padding: 12px;
}
.app.narrow .dc-t {
  font-size: 13px;
}
.app.narrow .dc-t .crest.sm:last-child {
  display: none;
}
