/* palpita. — a partir das referências do João (Axivor, Eurostavka, app amarelo, DeliFin):
   fundo cinza-claro, painéis brancos bem arredondados, pílulas, Sim verde-água / Não vermelho com
   contorno duplo, marca amarelo + preto, números grandes com centavos apagados, teclado numérico. */
:root {
  --canvas: #EEF0F3; --panel: #FFFFFF; --pill: #F1F2F4; --pill-h: #E6E8EC; --line: #E7E9ED;
  --ink: #111316; --ink2: #5E6470; --ink3: #9AA0AA;
  --yes: #35B39F; --yes-d: #23907E; --yes-bg: #E7F6F3; --no: #F0473B; --no-d: #C9352A; --no-bg: #FDECEA;
  --money: #23A08C; --brand: #FFE81A; --brand-d: #F2D900; --live: #F0473B;
  --r-xl: 22px; --r-lg: 16px; --r-md: 12px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--canvas); color: var(--ink); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; } button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px 40px; }
.loading { padding: 80px 0; text-align: center; color: var(--ink2); }
.num { font-variant-numeric: tabular-nums; }
.cents { color: var(--ink3); }
.money { color: var(--money); font-weight: 700; }

/* topo */
.top { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 22px; letter-spacing: -.8px; }
.logo i { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; font-style: normal; font-size: 18px; box-shadow: inset 0 0 0 2px var(--ink); }
.search { flex: 1; max-width: 340px; display: flex; align-items: center; gap: 8px; background: var(--panel); border-radius: 999px; padding: 11px 16px; color: var(--ink3); }
.search input { border: 0; outline: 0; background: none; font: inherit; color: var(--ink); width: 100%; }
.nav { display: flex; gap: 8px; margin-left: auto; }
.nav a { padding: 10px 16px; border-radius: 999px; background: var(--pill); color: var(--ink2); font-weight: 600; font-size: 14px; transition: background .15s; }
.nav a.on { background: var(--panel); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav a:hover { background: var(--pill-h); }
.me { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav + .me { margin-left: 0; }
.me .bal { font-weight: 700; font-size: 18px; color: var(--money); }
.me .av { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--brand); display: grid; place-items: center; font-weight: 800; }
.btn-in { padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; }

/* painel base */
.board { background: var(--pill); border-radius: 28px; padding: 14px; display: grid; gap: 14px; }
.panel { background: var(--panel); border-radius: var(--r-xl); padding: 20px; }
.ph { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ph h2 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.3px; }
.ph .ics { display: flex; gap: 8px; }
.ics span { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--ink2); }
.ics span.on { background: #EEE9FF; border-color: #CFC4FF; color: #6D4DFF; }

/* categorias */
.cats { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.cats::-webkit-scrollbar { display: none; }
.live { color: var(--live); font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 6px; margin-right: 8px; white-space: nowrap; }
.live::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.cat { padding: 10px 18px; border-radius: 999px; background: var(--panel); color: var(--ink); font-weight: 500; white-space: nowrap; transition: background .15s, color .15s; }
.cat.on { background: var(--ink); color: #fff; }
.cat small { color: var(--ink3); margin-left: 4px; } .cat.on small { color: #9aa0aa; }

/* em alta + ao vivo */
.duo { display: grid; grid-template-columns: 1.45fr 1fr; gap: 14px; }
.rank { display: grid; gap: 4px; }
.ri { display: grid; grid-template-columns: 22px 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 6px; border-radius: 14px; transition: background .15s; }
.ri:hover { background: var(--pill); }
.ri .n { color: var(--ink2); font-weight: 600; }
.ri .q { font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ri .v { font-weight: 600; font-size: 17px; color: var(--money); white-space: nowrap; }
.pic { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: var(--pill); display: grid; place-items: center; font-weight: 800; }
.pic.sm { width: 38px; height: 38px; }
.lv { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 6px; border-radius: 14px; }
.lv:hover { background: var(--pill); }
.lv b { font-weight: 700; } .lv small { display: block; color: var(--ink2); font-size: 12px; }
.lv .p { text-align: right; font-weight: 700; font-size: 17px; } .lv .p small { font-weight: 600; }
.lv .p .t { color: var(--live); }

/* filtros da grade */
.filt { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.filt::-webkit-scrollbar { display: none; }
.filt .top-b { display: flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; background: var(--panel); font-weight: 600; white-space: nowrap; }
.filt .sep { width: 1.5px; height: 26px; background: #D5D8DE; margin: 0 4px; flex: none; }
.chip { padding: 10px 16px; border-radius: 999px; background: var(--panel); color: var(--ink2); white-space: nowrap; transition: background .15s, color .15s; }
.chip.on { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.filt .sort { margin-left: auto; display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--panel); border-radius: 12px; font-weight: 600; white-space: nowrap; }

/* grade de mercados */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.card { background: var(--panel); border-radius: var(--r-xl); padding: 18px; display: grid; grid-template-rows: auto 1fr auto; gap: 14px; transition: transform .18s var(--ease), box-shadow .18s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(17, 19, 22, .07); }
.ch { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; }
.ch a { font-weight: 600; font-size: 16px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ch a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mid { display: grid; gap: 10px; align-content: end; }
.chance { display: flex; align-items: baseline; justify-content: space-between; }
.chance b { font-size: 26px; font-weight: 800; letter-spacing: -.5px; } .chance span { color: var(--ink2); font-size: 13px; }
.meter { height: 6px; border-radius: 99px; background: var(--no-bg); overflow: hidden; } .meter i { display: block; height: 100%; background: var(--yes); border-radius: 99px; transition: width .5s var(--ease); }
.big { font-size: 30px; font-weight: 800; letter-spacing: -1px; line-height: 1; }
.big.up { color: var(--yes-d); } .big.dn { color: var(--no-d); }
.lineinfo { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink2); }
.lineinfo b { color: var(--ink); }
.spark svg { width: 100%; height: 46px; display: block; }
.tmr { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--live); font-size: 13px; }
/* botões Sim/Não com contorno duplo (como na referência) */
.bs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.buy { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 12px 14px; border-radius: 14px; font-weight: 700; font-size: 15px; color: #fff; border: 2px solid rgba(255,255,255,.7); transition: transform .12s, filter .15s; }
.buy.y { background: var(--yes); box-shadow: 0 0 0 1.5px var(--yes); }
.buy.n { background: var(--no); box-shadow: 0 0 0 1.5px var(--no); }
.buy:hover:not(:disabled) { filter: brightness(1.05); } .buy:active:not(:disabled) { transform: scale(.97); }
.buy:disabled { opacity: .35; cursor: default; }
.buy em { font-style: normal; font-size: 13px; opacity: .9; display: flex; align-items: center; gap: 4px; }
.buy b { font-size: 17px; }
.buy.flash-up { animation: fu .8s; } .buy.flash-dn { animation: fd .8s; }
@keyframes fu { 30% { transform: translateY(-2px); filter: brightness(1.15); } } @keyframes fd { 30% { transform: translateY(2px); filter: brightness(.9); } }
.cf { display: flex; justify-content: space-between; align-items: center; color: var(--ink2); font-size: 13px; }
.plus { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ink3); display: grid; place-items: center; color: var(--ink2); }

/* painel de aposta: tela amarela com teclado */
.sheet-bg { position: fixed; inset: 0; background: rgba(17, 19, 22, 0); z-index: 30; display: flex; align-items: flex-end; justify-content: center; transition: background .25s; }
.sheet-bg.open { background: rgba(17, 19, 22, .5); }
.sheet-bg[hidden] { display: none; }
.pay { width: 100%; max-width: 430px; background: var(--brand); border-radius: 32px 32px 0 0; padding: 22px 22px calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 14px; transform: translateY(105%); transition: transform .32s var(--ease); max-height: 96vh; overflow-y: auto; }
.sheet-bg.open .pay { transform: none; }
@media (min-width: 760px) { .sheet-bg { align-items: center; } .pay { border-radius: 32px; transform: translateY(20px) scale(.97); opacity: 0; transition: transform .25s var(--ease), opacity .2s; } .sheet-bg.open .pay { transform: none; opacity: 1; } }
.pay-h { display: flex; align-items: center; justify-content: space-between; }
.pay-h b { font-size: 20px; font-weight: 700; } .pay-h .x { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--brand); display: grid; place-items: center; font-size: 18px; }
.pay-m { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; background: rgba(255,255,255,.5); border-radius: 999px; padding: 6px 14px 6px 6px; font-weight: 600; font-size: 14px; line-height: 1.25; }
.pay-m img, .pay-m .pic { width: 40px; height: 40px; }
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.side { padding: 12px; border-radius: 999px; font-weight: 700; display: flex; justify-content: center; gap: 8px; background: rgba(255,255,255,.55); }
.side.on.y { background: var(--yes); color: #fff; } .side.on.n { background: var(--no); color: #fff; }
.side:disabled { opacity: .4; }
.amt { text-align: center; font-size: 60px; font-weight: 700; letter-spacing: -2px; line-height: 1; padding-top: 6px; }
.amt .rs { color: rgba(17,19,22,.45); font-size: 40px; margin-right: 4px; } .amt .cents { color: rgba(17,19,22,.38); }
.avail { text-align: center; font-size: 13px; color: rgba(17,19,22,.6); }
.ret { display: flex; justify-content: center; } .ret span { background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.ret span b { color: var(--brand); }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.keys button { font-family: 'DM Mono', monospace; font-size: 26px; padding: 12px 0; border-radius: 16px; transition: background .1s; }
.keys button:active { background: rgba(17,19,22,.08); }
.pay-b { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pill { padding: 16px; border-radius: 999px; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; position: relative; overflow: hidden; }
.pill.dark { background: var(--ink); color: #fff; } .pill.ghost { background: rgba(255,255,255,.55); }
.pill:disabled { opacity: .5; }
.pill.busy::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 0; background: rgba(255, 232, 26, .3); animation: fill var(--wait, 1.5s) linear forwards; } .pill span { position: relative; }
@keyframes fill { to { width: 100%; } }
.note { text-align: center; font-size: 12px; color: rgba(17,19,22,.6); }
.ok { text-align: center; display: grid; gap: 10px; justify-items: center; padding: 10px 0; }
.ok .ck { width: 76px; height: 76px; border-radius: 50%; background: var(--ink); color: var(--brand); display: grid; place-items: center; font-size: 36px; animation: pop .4s var(--ease); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.ok h3 { margin: 0; font-size: 24px; } .ok p { margin: 0; color: rgba(17,19,22,.7); }
.ok .amt { font-size: 48px; }

/* aviso */
.toast { position: fixed; left: 50%; bottom: 100px; transform: translate(-50%, 10px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; opacity: 0; transition: opacity .2s, transform .2s; z-index: 40; pointer-events: none; max-width: 90vw; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* barra de baixo (celular) */
.dock { display: none; }
@media (max-width: 900px) {
  .duo { grid-template-columns: 1fr; } .nav, .search { display: none; }
  .top { padding: 14px 16px; } .wrap { padding: 0 10px 110px; } .board { border-radius: 24px; padding: 10px; gap: 10px; }
  .panel { padding: 16px; } .ri .q { font-size: 14px; } .ri .v { font-size: 14px; }
  .dock { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); background: var(--panel); border-radius: 26px; padding: 8px 14px; justify-content: space-between; align-items: center; z-index: 20; box-shadow: 0 10px 30px rgba(17,19,22,.12); }
  .dock a { width: 48px; height: 48px; display: grid; place-items: center; color: var(--ink3); border-radius: 16px; }
  .dock a.on { color: var(--ink); background: var(--brand); }
  .dock .mid-b { width: 60px; height: 60px; border-radius: 50%; background: var(--ink); color: var(--brand); margin-top: -26px; box-shadow: 0 6px 16px rgba(17,19,22,.25); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- páginas do app ---------- */
.muted { color: var(--ink2); } .small { font-size: 13px; } .d-block { display: block; margin-top: 2px; } .neg { color: var(--no-d) !important; }
.lnk { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.btn-in.ghost { background: var(--panel); color: var(--ink); }
.me .bal { text-decoration: none; }
.ics span.yel { background: #FFF6B8; border-color: var(--brand-d); color: var(--ink); }
.ri.res { grid-template-columns: 44px minmax(0, 1fr) auto; }
.ri .out { font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--pill); color: var(--ink2); white-space: nowrap; }
.ri .out.y { background: var(--yes-bg); color: var(--yes-d); } .ri .out.n { background: var(--no-bg); color: var(--no-d); }
.ri .q small { font-weight: 500; white-space: normal; }
.lv { color: inherit; }
/* mercado */
.mk { display: grid; gap: 14px; }
.back { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--ink2); padding: 6px 0; }
.mk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 14px; align-items: start; }
.mk-main, .mk-side { display: grid; gap: 14px; } .mk-side { position: sticky; top: 16px; }
.mk-head { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; }
.mk-head h1 { margin: 4px 0 0; font-size: 26px; line-height: 1.2; letter-spacing: -.6px; }
.pic.lg { width: 72px; height: 72px; } .pic.sm { width: 34px; height: 34px; }
.mk-px { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.big.xl { font-size: 46px; letter-spacing: -1.5px; }
.mk-stats { display: flex; gap: 22px; } .mk-stats span { display: block; color: var(--ink2); font-size: 12px; } .mk-stats b { font-size: 17px; }
.spark.lg svg { height: 160px; }
.verdict { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--pill); }
.verdict b { font-size: 20px; } .verdict.y { background: var(--yes-bg); color: var(--yes-d); } .verdict.n { background: var(--no-bg); color: var(--no-d); }
.rules { margin: 0 0 8px; line-height: 1.55; color: #2A2E35; }
.row-b { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 6px; border-top: 1px solid var(--line); }
.row-b:first-child { border-top: 0; }
.sp { display: inline-flex; padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; white-space: nowrap; }
.sp.y { background: var(--yes-bg); color: var(--yes-d); } .sp.n { background: var(--no-bg); color: var(--no-d); }
.bets { display: grid; gap: 10px; }
.bet { border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 14px; display: grid; gap: 10px; }
.mk-side .bet { border: 0; padding: 0 0 12px; border-bottom: 1px solid var(--line); border-radius: 0; } .mk-side .bet:last-child { border-bottom: 0; padding-bottom: 0; }
.bet-q { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; font-weight: 600; }
.bet-r { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.bet-r .money { font-size: 18px; }
.cash { justify-self: start; padding: 10px 16px; border-radius: 999px; background: var(--pill); font-weight: 700; font-size: 14px; transition: background .15s; }
.cash:hover { background: var(--pill-h); } .cash.armed { background: var(--ink); color: var(--brand); }
/* card amarelo (minhas apostas, carteira) */
.hero-y { background: var(--brand); border-radius: 28px; padding: 22px 24px; display: grid; gap: 6px; }
.hero-y > span { font-weight: 600; color: rgba(17,19,22,.65); }
.hero-y .amt { text-align: left; font-size: 52px; font-weight: 800; letter-spacing: -2px; line-height: 1.05; }
.hero-y .amt .cents { color: rgba(17,19,22,.4); }
.hero-y p { margin: 0; color: rgba(17,19,22,.75); }
.hy-stats { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.hy-stats div { background: rgba(255,255,255,.55); border-radius: 18px; padding: 10px 16px; display: grid; } .hy-stats b { font-size: 20px; } .hy-stats span { font-size: 12px; color: rgba(17,19,22,.65); }
.acts { display: flex; gap: 22px; margin-top: 12px; }
.acts button { display: grid; justify-items: center; gap: 6px; font-weight: 600; font-size: 13px; }
.acts i { width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-style: normal; transition: transform .12s; }
.acts button:active i { transform: scale(.94); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile { text-align: left; border-radius: 22px; padding: 18px; display: grid; gap: 4px; min-height: 130px; align-content: end; color: var(--ink); transition: transform .15s var(--ease); }
.tile:hover { transform: translateY(-2px); }
.tile i { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.7); display: grid; place-items: center; font-style: normal; margin-bottom: auto; }
.tile b { font-size: 16px; } .tile small { color: rgba(17,19,22,.6); }
.tile.lav { background: #C9C4F2; } .tile.peach { background: #F7D9B8; } .tile.mint { background: #CDEBDD; } .tile.sky { background: #C3E8F2; }
.stm { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 10px 4px; border-top: 1px solid var(--line); }
.stm:first-child { border-top: 0; }
.stm i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-style: normal; } .stm i.in { background: var(--yes-bg); color: var(--yes-d); } .stm i.out { background: var(--pill); color: var(--ink2); }
.stm small { font-size: 12px; }
.out-b { justify-self: center; display: inline-flex; align-items: center; gap: 8px; color: var(--ink2); font-weight: 600; padding: 12px; }
.x-sm { width: 32px; height: 32px; border-radius: 50%; background: var(--pill); display: grid; place-items: center; }
/* formulários */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.form input { font: inherit; border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 14px; background: var(--pill); outline: none; transition: border-color .15s, background .15s; }
.form input:focus { border-color: var(--ink); background: var(--panel); }
.form .chk { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; } .form .chk input { width: 20px; height: 20px; accent-color: var(--ink); padding: 0; }
.auth { max-width: 440px; margin: 20px auto; } .auth .panel { display: grid; gap: 14px; padding: 28px; }
.auth h1 { margin: 0; font-size: 28px; letter-spacing: -.8px; }
.logo.big { font-size: 24px; }
.err { margin: 0; background: var(--no-bg); color: var(--no-d); padding: 10px 14px; border-radius: 12px; font-weight: 600; }
@media (max-width: 900px) {
  .me { margin-left: auto !important; }
  /* no celular: cabeçalho, gráfico, botões de aposta, depois as regras */
  .mk-grid { display: flex; flex-direction: column; } .mk-main { display: contents; }
  .o1 { order: 1; } .o2 { order: 2; } .o3 { order: 3; } .mk-side { order: 4; } .o5 { order: 5; } .o6 { order: 6; }
  .mk-grid { grid-template-columns: 1fr; } .mk-side { position: static; } .mk-head h1 { font-size: 21px; } .big.xl { font-size: 36px; }
  .tiles { grid-template-columns: 1fr 1fr; } .hero-y .amt { font-size: 42px; } .me .btn-in.ghost { display: none; }
}

/* ---------- sem amarelão: cards escuros (estilo DeliFin) e tela de aposta branca ---------- */
.hero-y { background: var(--ink); color: #fff; }
.hero-y > span, .hero-y p { color: rgba(255,255,255,.7); }
.hero-y p b { color: #fff; }
.hero-y .amt .cents { color: rgba(255,255,255,.35); }
.hy-stats div { background: rgba(255,255,255,.08); } .hy-stats span { color: rgba(255,255,255,.6); }
.hy-stats .neg { color: #FF8A80 !important; }
.acts i { background: #fff; color: var(--ink); }
.acts button { color: #fff; }
.pay { background: var(--panel); }
.pay-h .x { background: var(--pill); color: var(--ink); }
.pay-m { background: var(--pill); }
.side { background: var(--pill); }
.amt .rs { color: var(--ink3); } .amt .cents { color: var(--ink3); }
.avail, .note { color: var(--ink2); }
.ret span b { color: #7CE0CF; }
.keys button { background: var(--pill); }
.keys button:active { background: var(--pill-h); }
.pill.ghost { background: var(--pill); }
.ok .ck { background: var(--yes); color: #fff; }
.ok p { color: var(--ink2); }
.dock a.on { background: var(--pill); }
.dock .mid-b { color: #fff; }
.logo i { background: var(--ink); color: #FFE81A; box-shadow: none; }

/* ---------- responsivo ---------- */
@media (max-width: 1100px) { .duo { grid-template-columns: 1fr 1fr; } .mk-grid { grid-template-columns: minmax(0,1fr) 320px; } .nav a { padding: 9px 12px; } .search { max-width: 220px; } }
@media (max-width: 900px) {
  .duo { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; } .tile { min-height: 112px; padding: 14px; }
  .hero-y { padding: 18px; border-radius: 22px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 8px 104px; } .board { padding: 8px; border-radius: 20px; gap: 8px; }
  .panel { padding: 14px; border-radius: 18px; } .card { padding: 14px; border-radius: 18px; gap: 12px; }
  .grid { grid-template-columns: 1fr; }
  .ri { grid-template-columns: 18px 38px minmax(0,1fr) auto; gap: 10px; } .ri .pic, .lv .pic { width: 38px; height: 38px; }
  .lv { grid-template-columns: 38px minmax(0,1fr) auto; gap: 10px; } .lv .p { font-size: 15px; }
  .filt .sort { display: none; } .ph h2 { font-size: 17px; } .ics span { width: 34px; height: 34px; }
  .big { font-size: 26px; } .big.xl { font-size: 32px; }
  .mk-head { grid-template-columns: 56px 1fr; gap: 12px; } .pic.lg { width: 56px; height: 56px; } .mk-head h1 { font-size: 19px; }
  .mk-stats { gap: 14px; flex-wrap: wrap; } .mk-stats b { font-size: 15px; }
  .hero-y .amt { font-size: 38px; } .acts { gap: 16px; } .acts i { width: 48px; height: 48px; }
  .bet-r { gap: 6px; } .bet-r .money { font-size: 16px; }
  .top { padding: 12px; gap: 8px; } .logo { font-size: 20px; } .me .bal { font-size: 16px; } .me .av { width: 36px; height: 36px; }
  .pay { padding: 16px 16px calc(14px + env(safe-area-inset-bottom)); gap: 10px; border-radius: 26px 26px 0 0; }
  .amt { font-size: 48px; } .amt .rs { font-size: 30px; } .keys button { font-size: 22px; padding: 9px 0; }
  .pill { padding: 14px; }
  .auth { margin: 8px auto; } .auth .panel { padding: 20px; }
}
@media (max-width: 370px) { .tile b { font-size: 14px; } .tile { min-height: 100px; padding: 12px; } .bs { gap: 6px; } .buy { padding: 10px; } .buy b { font-size: 15px; } }
@media (max-height: 700px) and (max-width: 560px) { .keys button { padding: 6px 0; } .amt { font-size: 40px; } .pay-m { display: none; } }
@media (min-width: 561px) and (max-width: 900px) { .dock { left: 50%; right: auto; width: 480px; transform: translateX(-50%); } .duo { grid-template-columns: 1fr 1fr; } .ri .q { font-size: 13px; } }
body:has(.sheet-bg.open) .toast { bottom: auto; top: 16px; }
/* texto completo, sem reticências */
.ri .q, .lv span, .fi .fq { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.3; }
.ri .q { font-size: 15px; } .ri, .lv { align-items: center; }
.ch a { -webkit-line-clamp: unset; display: block; overflow: visible; }

.reflink { display: flex; gap: 8px; } .reflink input { flex: 1; min-width: 0; font: inherit; border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 16px; background: var(--pill); }
.acts button:disabled { opacity: .4; }
.tile b.num { font-size: 22px; }
/* marca KilaMarket */
.logo { gap: 9px; font-weight: 800; letter-spacing: -.9px; color: var(--ink); }
.logo .mk { width: 36px; height: 36px; flex: none; display: block; }
.logo span { font-weight: 500; }
.logo.aff-logo .mk, .logo.big .mk { width: 40px; height: 40px; }
@media (max-width: 560px) { .logo .mk { width: 32px; height: 32px; } }
.logo .wm { font-weight: 800; } .logo .wm span { font-weight: 500; }

.qr { width: 220px; height: 220px; justify-self: center; border-radius: 16px; background: #fff; padding: 8px; box-shadow: 0 0 0 1px var(--line); }
.cp { display: flex; gap: 8px; } .cp input { flex: 1; min-width: 0; font: inherit; font-size: 13px; border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 14px; background: var(--pill); }
.pay .form label { color: var(--ink); } .pay .form small { font-weight: 500; font-size: 12px; }
.spin { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--ink); animation: sp .8s linear infinite; vertical-align: -1px; margin-right: 4px; } @keyframes sp { to { transform: rotate(360deg); } }

.pay .amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pay .amounts button { padding: 11px 0; border-radius: 999px; background: var(--pill); font-weight: 700; }
.pay .amounts button.on { background: var(--ink); color: #fff; }

.pic.ic { background: none; padding: 0; overflow: hidden; } .pic.ic svg { width: 100%; height: 100%; display: block; }
