/* ownership: product */
/* BeefFi — identidade dark fintech/RWA verde + dourado. Mobile primeiro. Sem CDN: fontes servidas pelo proprio app. */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin-700-normal.woff2') format('woff2');
}

:root {
  --bg: #070a12;
  --bg-2: #0b101b;
  --card: #111827;
  --card-2: #151d2e;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f2f5fa;
  --soft: #8d98ab;
  --green: #22c55e;
  --green-2: #4ade80;
  --green-deep: #15803d;
  --gold: #f5c542;
  --gold-2: #ffd76a;
  --gold-deep: #a8760c;
  --red: #f87171;
  --blue: #38bdf8;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.75), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --nav-h: 74px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg); color-scheme: dark; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
  background:
    radial-gradient(520px 380px at 12% -6%, rgba(34, 197, 94, 0.2), transparent 70%),
    radial-gradient(460px 360px at 104% 12%, rgba(245, 197, 66, 0.13), transparent 70%),
    radial-gradient(600px 500px at 50% 112%, rgba(34, 197, 94, 0.1), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--green-2); outline-offset: 2px; border-radius: 10px; }

.app { max-width: 480px; margin: 0 auto; min-height: 100dvh; position: relative; }

/* ── Icones ─────────────────────────────────────────────────────────────── */
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ── Faixa de prototipo ─────────────────────────────────────────────────── */
.sim-banner {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: calc(6px + env(safe-area-inset-top)) 10px 6px;
  font-size: clamp(8px, 2.45vw, 10.5px); font-weight: 700; letter-spacing: 0.04em; color: var(--gold-2); white-space: nowrap; overflow: hidden;
  background: linear-gradient(90deg, rgba(245, 197, 66, 0.04), rgba(245, 197, 66, 0.14), rgba(245, 197, 66, 0.04));
  border-bottom: 1px solid rgba(245, 197, 66, 0.18);
}
.sim-banner i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 1.8s infinite; }

/* ── Topo ───────────────────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: rgba(7, 10, 18, 0.72);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.brandmark { display: flex; align-items: center; gap: 9px; }
.brand { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--green-2); }
.brand em { font-style: normal; color: var(--gold); }
.brand.xl { font-size: 40px; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: var(--text);
  transition: transform 0.15s var(--ease), background 0.2s;
}
.icon-btn:active { transform: scale(0.9); }
.icon-btn[aria-pressed='true'] { color: var(--soft); }
.avatar {
  width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center;
  font-weight: 800; font-size: 13px; color: #06210f;
  background: linear-gradient(135deg, var(--green-2), var(--gold));
  box-shadow: 0 6px 16px -6px rgba(34, 197, 94, 0.7);
}
.avatar.big { width: 52px; height: 52px; border-radius: 18px; font-size: 17px; flex: none; }
.xp-pill {
  display: inline-flex; align-items: center; gap: 4px; padding: 7px 11px; border-radius: 999px;
  font: 700 12px var(--mono); color: var(--gold-2);
  background: rgba(245, 197, 66, 0.12); border: 1px solid rgba(245, 197, 66, 0.3); white-space: nowrap;
}
.xp-pill .ico { width: 14px; height: 14px; fill: var(--gold); stroke: none; }
.who { font-size: 12px; color: var(--green-2); font-weight: 700; }

/* ── Conteudo e transicao entre telas ───────────────────────────────────── */
main.view { display: flex; flex-direction: column; gap: 14px; padding: 16px 16px calc(var(--nav-h) + 40px + env(safe-area-inset-bottom)); }
main.view > * { animation: rise 0.5s var(--ease) both; }
main.view > *:nth-child(2) { animation-delay: 0.05s; }
main.view > *:nth-child(3) { animation-delay: 0.1s; }
main.view > *:nth-child(4) { animation-delay: 0.15s; }
main.view > *:nth-child(5) { animation-delay: 0.2s; }
main.view > *:nth-child(n + 6) { animation-delay: 0.25s; }
main.view.still > * { animation: none; }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(0.985); } to { opacity: 1; transform: none; } }

.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.title { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.subtitle { color: var(--soft); font-size: 13.5px; margin-top: 3px; }
.section { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); margin: 8px 2px -4px; }
.section-row { margin: 8px 0 -4px; }
.section-row .section { margin: 0 2px; }
.link { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; color: var(--green-2); }
.link .ico { width: 15px; height: 15px; }
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--soft); font-weight: 700; font-size: 14px; width: fit-content; padding: 4px 8px 4px 0; }

/* ── Cartoes ────────────────────────────────────────────────────────────── */
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 16px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--card-2), var(--card) 60%);
  border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
}
.card.flat { box-shadow: none; background: rgba(255, 255, 255, 0.04); }
.card.glass { background: rgba(13, 18, 30, 0.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-color: var(--line-2); }
.card.gold { border-color: rgba(245, 197, 66, 0.3); background: linear-gradient(160deg, rgba(245, 197, 66, 0.1), var(--card) 55%); }
.card.hero { border-color: rgba(74, 222, 128, 0.26); background: linear-gradient(150deg, #123322 0%, #10202a 46%, #131a2a 100%); padding: 18px; }
.hero-glow { position: absolute; inset: -40% -30% auto auto; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 197, 66, 0.3), transparent 65%); pointer-events: none; animation: float 7s ease-in-out infinite; }
.card > *:not(.hero-glow) { position: relative; }
.tap { transition: transform 0.18s var(--ease), border-color 0.2s; }
.tap:active { transform: scale(0.975); border-color: rgba(74, 222, 128, 0.45); }
@keyframes float { 50% { transform: translate(-18px, 14px) scale(1.08); } }

.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.row.tight { justify-content: flex-start; gap: 8px; }
.row.end { align-items: flex-end; }
.grow { flex: 1; min-width: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kv { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.label { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); }
.hello { display: block; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.num { font-family: var(--mono); font-weight: 700; font-size: 14.5px; letter-spacing: -0.02em; }
.big { font-family: var(--mono); font-weight: 700; font-size: 31px; letter-spacing: -0.04em; line-height: 1.1; }
.soft { color: var(--soft); font-size: 12.5px; }
.soft b { color: var(--text); }
.soft .ico { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.tiny { font-size: 11.5px; }
.center { text-align: center; }
.green-text { color: var(--green-2); }
.gold-text { color: var(--gold-2); }
.red-text { color: var(--red); }
.mono-small { font: 500 10.5px var(--mono); color: var(--soft); word-break: break-all; }
.empty { text-align: center; color: var(--soft); padding: 28px 16px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.empty a { color: var(--green-2); font-weight: 700; }
.list { display: flex; flex-direction: column; }
.list > .row { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.list > .row:last-child { border-bottom: 0; padding-bottom: 0; }
.list > .row:first-child { padding-top: 0; }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; background: rgba(255, 255, 255, 0.08); color: var(--soft); border: 1px solid var(--line); }
.badge .ico { width: 13px; height: 13px; }
.badge.green { background: rgba(34, 197, 94, 0.14); color: var(--green-2); border-color: rgba(34, 197, 94, 0.32); }
.badge.gold { background: rgba(245, 197, 66, 0.14); color: var(--gold-2); border-color: rgba(245, 197, 66, 0.34); }
.badge.red { background: rgba(248, 113, 113, 0.14); color: var(--red); border-color: rgba(248, 113, 113, 0.34); }
.delta { font: 700 12px var(--mono); padding: 5px 9px; border-radius: 10px; white-space: nowrap; }
.delta.up { color: var(--green-2); background: rgba(34, 197, 94, 0.14); }
.delta.down { color: var(--red); background: rgba(248, 113, 113, 0.14); }

/* ── Barras, aneis e graficos ───────────────────────────────────────────── */
.bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--p, 0%); border-radius: 99px; background: linear-gradient(90deg, var(--green-deep), var(--green-2)); transform-origin: left; animation: grow 0.9s var(--ease) both 0.15s; box-shadow: 0 0 12px rgba(74, 222, 128, 0.5); }
.bar.gold i { background: linear-gradient(90deg, var(--gold-deep), var(--gold-2)); box-shadow: 0 0 12px rgba(245, 197, 66, 0.5); }
@keyframes grow { from { transform: scaleX(0); } }
.ring-track { stroke: rgba(255, 255, 255, 0.09); }
.ring-value { stroke: var(--green-2); stroke-linecap: round; animation: ringIn 1s var(--ease) both; }
.ring.tone-gold .ring-value { stroke: var(--gold); }
@keyframes ringIn { from { stroke-dasharray: 0 100; } }
.level-ring { position: relative; display: grid; place-items: center; flex: none; }
.level-ring b { position: absolute; font: 700 17px var(--mono); color: var(--gold-2); }
.level-ring b.tiny { font-size: 12px; color: var(--text); }
.level-name { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; display: block; }

.chart-wrap { height: 120px; margin: 0 -16px; }
.chart-wrap.small { height: 90px; }
.chart { width: 100%; height: 100%; display: block; overflow: visible; }
.chart-line { stroke: var(--green-2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease) forwards 0.2s; }
.chart-area { opacity: 0; animation: fade 0.9s ease forwards 0.9s; }
.chart-stop-a { stop-color: var(--green-2); stop-opacity: 0.34; }
.chart-stop-b { stop-color: var(--green-2); stop-opacity: 0; }
.chart-dot { fill: var(--green-2); opacity: 0; animation: fade 0.3s ease forwards 1.5s; }
.chart-dot-halo { fill: var(--green-2); opacity: 0; transform-box: fill-box; transform-origin: center; animation: halo 2s ease-out infinite 1.5s; }
.tone-gold .chart-line { stroke: var(--gold); }
.tone-gold .chart-stop-a, .tone-gold .chart-stop-b { stop-color: var(--gold); }
.tone-gold .chart-dot, .tone-gold .chart-dot-halo { fill: var(--gold); }
.tone-red .chart-line { stroke: var(--red); }
.tone-red .chart-stop-a, .tone-red .chart-stop-b { stop-color: var(--red); }
.tone-red .chart-dot, .tone-red .chart-dot-halo { fill: var(--red); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes halo { 0% { opacity: 0.5; transform: scale(0.6); } 100% { opacity: 0; transform: scale(2.4); } }

/* ── Moeda BFI (gira em 3D por CSS) ─────────────────────────────────────── */
.coin { display: inline-block; perspective: 400px; flex: none; }
.coin.sm { width: 26px; height: 26px; }
.coin.md { width: 46px; height: 46px; }
.coin.lg { width: 128px; height: 128px; filter: drop-shadow(0 18px 30px rgba(245, 197, 66, 0.35)); }
.coin-spin { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; animation: spin 6s linear infinite; }
.coin.sm .coin-spin { animation: none; }
.coin.md .coin-spin { animation: wobble 5s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { transform: rotateY(-28deg); } 50% { transform: rotateY(28deg); } }
.coin img { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 50%; }
.coin img.back { transform: rotateY(180deg); }
@keyframes spin { to { transform: rotateY(360deg); } }
.cow-avatar { flex: none; border-radius: 50%; }

/* ── Botoes, abas, chips e campos ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 20px; border-radius: 17px; width: 100%;
  font-weight: 800; font-size: 15.5px; color: #052012;
  background: linear-gradient(180deg, var(--green-2), var(--green));
  box-shadow: 0 5px 0 var(--green-deep), 0 16px 28px -12px rgba(34, 197, 94, 0.75);
  transition: transform 0.12s var(--ease), box-shadow 0.12s var(--ease), filter 0.2s;
}
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--green-deep), 0 8px 16px -10px rgba(34, 197, 94, 0.7); }
.btn[disabled] { filter: grayscale(0.8) brightness(0.6); pointer-events: none; }
.btn.gold { color: #2b1d02; background: linear-gradient(180deg, var(--gold-2), var(--gold)); box-shadow: 0 5px 0 var(--gold-deep), 0 16px 28px -12px rgba(245, 197, 66, 0.7); }
.btn.gold:active { box-shadow: 0 1px 0 var(--gold-deep); }
.btn.ghost { color: var(--text); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); box-shadow: 0 4px 0 rgba(255, 255, 255, 0.06); }
.btn.ghost:active { box-shadow: 0 0 0 transparent; }
.btn.small { min-height: 44px; font-size: 13.5px; border-radius: 14px; padding: 0 14px; }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-link { align-self: center; color: var(--soft); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; padding: 10px; min-height: 44px; }

.tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }
.tabs button { min-height: 42px; border-radius: 12px; font-weight: 800; font-size: 14px; color: var(--soft); transition: all 0.25s var(--ease); }
.tabs button.on { color: #052012; background: linear-gradient(180deg, var(--green-2), var(--green)); box-shadow: 0 8px 18px -10px rgba(34, 197, 94, 0.9); }

.chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chips.nowrap { flex-wrap: nowrap; }
.chips.fit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.chips.fit .chip { justify-content: center; padding: 0 4px; font-size: 12px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px; scrollbar-width: none; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 13px; border-radius: 999px; font-size: 12.5px; font-weight: 800; white-space: nowrap; color: var(--soft); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); transition: all 0.2s var(--ease); }
.chip:active { transform: scale(0.94); }
.chip.on { color: var(--green-2); background: rgba(34, 197, 94, 0.16); border-color: rgba(34, 197, 94, 0.5); }
.chip.solid { color: var(--text); background: rgba(7, 10, 18, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.gold { background: var(--gold); box-shadow: 0 0 8px var(--gold); }

.field { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--soft); }
.field input, .field select {
  min-height: 50px; padding: 0 14px; border-radius: var(--radius-sm); width: 100%;
  background: rgba(0, 0, 0, 0.28); border: 1px solid var(--line-2); color: var(--text); font-size: 16px; font-weight: 600;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus { outline: 0; border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.16); }
.field input.money, input.money { font-family: var(--mono); font-weight: 700; font-size: 20px; }
.field.range { gap: 2px; }
.field.range .row b { color: var(--text); }
input[type='range'] { -webkit-appearance: none; appearance: none; height: 34px; padding: 0; background: transparent; border: 0; min-height: 0; }
input[type='range']:focus { box-shadow: none; }
input[type='range']::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--green-deep), var(--green-2)); }
input[type='range']::-moz-range-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--green-deep), var(--green-2)); }
input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--gold-2), var(--gold) 60%, var(--gold-deep)); border: 2px solid #fff3; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); }
input[type='range']::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--gold-2), var(--gold) 60%, var(--gold-deep)); border: 2px solid #fff3; }

/* ── Inicio ─────────────────────────────────────────────────────────────── */
.alloc { display: flex; gap: 3px; height: 10px; border-radius: 99px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.alloc i { width: var(--w); border-radius: 99px; transform-origin: left; animation: grow 0.9s var(--ease) both 0.2s; }
.c-brl { background: var(--green-2); }
.c-bfi { background: var(--gold); }
.c-cow { background: var(--blue); }
.alloc-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--soft); }
.alloc-legend span { display: inline-flex; align-items: center; gap: 5px; }
.alloc-legend i { width: 8px; height: 8px; border-radius: 50%; }
.alloc-legend b { color: var(--text); font-family: var(--mono); }

.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.quick a { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--soft); }
.quick span { width: 56px; height: 56px; border-radius: 20px; display: grid; place-items: center; color: var(--green-2); background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1px solid var(--line-2); box-shadow: 0 4px 0 rgba(0, 0, 0, 0.35), var(--shadow); transition: transform 0.15s var(--ease); }
.quick span .ico { width: 23px; height: 23px; }
.quick span.hot { color: #052012; background: linear-gradient(180deg, var(--green-2), var(--green)); border-color: transparent; box-shadow: 0 4px 0 var(--green-deep), 0 14px 22px -10px rgba(34, 197, 94, 0.8); }
.quick a:active span { transform: translateY(3px) scale(0.96); }

.journey { gap: 12px; }
.next-mission { display: flex; align-items: center; gap: 12px; padding: 13px; border-radius: 18px; color: #052012; background: linear-gradient(120deg, var(--green-2), #86efac 55%, var(--gold-2)); box-shadow: 0 5px 0 var(--green-deep), 0 16px 26px -12px rgba(34, 197, 94, 0.8); animation: nudge 2.4s ease-in-out infinite; }
.next-mission small { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.next-mission b { font-size: 16px; font-weight: 800; }
.next-ico { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(5, 32, 18, 0.16); flex: none; }
.next-go { display: inline-flex; align-items: center; gap: 2px; font: 700 12px var(--mono); white-space: nowrap; }
.next-go .ico { width: 16px; height: 16px; }
@keyframes nudge { 50% { transform: translateY(-3px); } }

.path { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 4px 0 0; }
.path::before { content: ''; position: absolute; left: 22px; top: 22px; bottom: 22px; width: 3px; border-radius: 3px; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 12px); }
.node { position: relative; display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.node.right { padding-left: 22px; }
.node-dot { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--soft); background: #1a2233; border: 2px solid var(--line-2); box-shadow: 0 4px 0 rgba(0, 0, 0, 0.45); transition: transform 0.15s var(--ease); }
.node:active .node-dot { transform: translateY(3px); }
.node.done .node-dot { color: #052012; background: linear-gradient(180deg, var(--green-2), var(--green)); border-color: transparent; box-shadow: 0 4px 0 var(--green-deep); }
.node.next .node-dot { color: #2b1d02; background: linear-gradient(180deg, var(--gold-2), var(--gold)); border-color: transparent; box-shadow: 0 4px 0 var(--gold-deep), 0 0 0 6px rgba(245, 197, 66, 0.16); animation: beat 1.8s ease-in-out infinite; }
.node.locked { opacity: 0.62; }
.node-text { flex: 1; min-width: 0; }
.node-text b { display: block; font-size: 14.5px; }
.node-text small { color: var(--soft); font-size: 12px; }
.node.done .node-text b { color: var(--soft); text-decoration: line-through; text-decoration-color: rgba(141, 152, 171, 0.5); }
.node-xp { font: 700 11.5px var(--mono); color: var(--gold-2); white-space: nowrap; }
.node.done .node-xp { color: var(--green-2); }
@keyframes beat { 50% { transform: scale(1.08); } }

.carousel { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 10px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.mini-card { flex: 0 0 172px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; padding: 13px; border-radius: 20px; background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.mini-card .row { justify-content: flex-start; }

.price-card .big { font-size: 28px; }

/* ── Trocar (swap) ──────────────────────────────────────────────────────── */
.live-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 800; color: var(--green-2); background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.3); white-space: nowrap; }
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--green-2); animation: pulse 1.6s infinite; }
.live-pill.beat { animation: pop 0.45s var(--ease); }
.live-pill.off { color: var(--soft); border-color: var(--line); background: rgba(255, 255, 255, 0.05); }
.live-pill.off i { background: var(--soft); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); } 80%, 100% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } }
@keyframes pop { 40% { transform: scale(1.1); } }
.flash { animation: flash 0.9s ease; }
@keyframes flash { 30% { color: var(--gold-2); } }

.swap { display: flex; flex-direction: column; gap: 6px; position: relative; }
.swap-box { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 24px; background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1px solid var(--line); box-shadow: var(--shadow); transition: border-color 0.2s; }
.swap-box:focus-within { border-color: rgba(74, 222, 128, 0.5); }
.swap-box.to { background: linear-gradient(160deg, rgba(245, 197, 66, 0.1), var(--card) 60%); border-color: rgba(245, 197, 66, 0.22); }
.swap-input, .swap-output { flex: 1; min-width: 0; width: 100%; background: none; border: 0; outline: 0; padding: 0; font: 700 34px var(--mono); letter-spacing: -0.04em; color: var(--text); }
.swap-input::placeholder { color: rgba(255, 255, 255, 0.22); }
.swap-output { color: var(--gold-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.token { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 7px 8px; border-radius: 999px; font-weight: 800; font-size: 15px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-2); flex: none; }
.token-brl { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 10px var(--mono); font-style: normal; color: #052012; background: linear-gradient(180deg, var(--green-2), var(--green)); flex: none; }
.swap-flip { align-self: center; width: 46px; height: 46px; margin: -18px 0; z-index: 2; border-radius: 16px; display: grid; place-items: center; color: var(--green-2); background: var(--bg-2); border: 4px solid var(--bg); box-shadow: 0 0 0 1px var(--line-2), 0 10px 20px -8px rgba(0, 0, 0, 0.8); transition: transform 0.35s var(--ease), color 0.2s; }
.swap-flip:active { transform: rotate(180deg) scale(0.92); color: var(--gold-2); }
.swap-details { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; margin-top: 8px; border-radius: 20px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); font-size: 13.5px; }
.swap-details > .row > span:first-child { display: inline-flex; align-items: center; gap: 7px; color: var(--soft); }
.swap-details .ico { width: 16px; height: 16px; }
.swap-details .list > .row span:first-child { color: var(--soft); }
.swap-details .chips .chip { min-height: 30px; padding: 0 10px; }

/* Arraste para trocar */
.slide { --slide: 0; --slide-px: 0px; position: relative; height: 68px; margin-top: 10px; border-radius: 34px; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; background: linear-gradient(180deg, #0d1f17, #0a1711); border: 1px solid rgba(74, 222, 128, 0.4); box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.08), 0 18px 30px -16px rgba(34, 197, 94, 0.7), inset 0 2px 10px rgba(0, 0, 0, 0.6); }
.slide-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--slide-px) + 64px); border-radius: 34px; background: linear-gradient(90deg, var(--green-deep), var(--green-2) 60%, var(--gold-2)); opacity: calc(0.25 + var(--slide) * 0.75); }
.slide-label { position: absolute; inset: 0; display: grid; place-items: center; padding-left: 52px; font-weight: 800; font-size: 16px; letter-spacing: 0.01em; color: var(--green-2); opacity: calc(1 - var(--slide) * 1.6); pointer-events: none; background: linear-gradient(100deg, var(--green-2) 30%, #fff 50%, var(--green-2) 70%) 0 0 / 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 2.6s linear infinite; }
.slide-arrows { position: absolute; right: 18px; top: 50%; display: flex; transform: translateY(-50%); color: var(--green-2); opacity: calc(0.8 - var(--slide) * 2); pointer-events: none; }
.slide-arrows .ico { width: 18px; height: 18px; margin-left: -8px; animation: arrows 1.3s ease-in-out infinite; }
.slide-arrows .ico:nth-child(2) { animation-delay: 0.15s; }
.slide-arrows .ico:nth-child(3) { animation-delay: 0.3s; }
.slide-thumb { position: absolute; top: 4px; left: 4px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; transform: translateX(var(--slide-px)); background: radial-gradient(circle at 35% 28%, #fff, #d9ffe6 40%, var(--green-2)); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.55), 0 0 0 3px rgba(255, 255, 255, 0.2) inset; transition: transform 0.4s var(--ease); cursor: grab; }
.slide-thumb .coin.sm { width: 38px; height: 38px; }
.slide.dragging .slide-thumb { transition: none; cursor: grabbing; scale: 1.06; }
.slide.busy .slide-thumb, .slide[data-status='confirmed'] .slide-thumb { background: radial-gradient(circle at 35% 28%, #fff, var(--gold-2) 45%, var(--gold)); }
.slide.busy .slide-thumb .coin-spin { animation: spin 0.7s linear infinite; }
.slide.busy .slide-label { opacity: 1; padding-left: 0; padding-right: 52px; -webkit-text-fill-color: #052012; }
.slide[aria-disabled='true'] { border-color: var(--line-2); box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.6); background: rgba(255, 255, 255, 0.04); }
.slide[aria-disabled='true'] .slide-label { animation: none; background: none; -webkit-text-fill-color: var(--soft); color: var(--soft); font-size: 14px; }
.slide[aria-disabled='true'] .slide-thumb { filter: grayscale(1) brightness(0.7); }
.slide[aria-disabled='true'] .slide-arrows, .slide[aria-disabled='true'] .slide-fill { display: none; }
@keyframes shimmer { to { background-position: -220% 0; } }
@keyframes arrows { 0%, 100% { opacity: 0.25; transform: translateX(0); } 50% { opacity: 1; transform: translateX(4px); } }

/* ── Mercado e boi ──────────────────────────────────────────────────────── */
.stats-strip { padding: 14px 16px; }
.animal-card .row:first-child { justify-content: flex-start; }
.tag { font-size: 16.5px; font-weight: 800; letter-spacing: -0.01em; }
.animal-hero .title { font-size: 28px; }
.cycle { display: flex; flex-direction: column; gap: 8px; }
.invest .price { font-size: 24px; }
.stepper { display: grid; grid-template-columns: 54px 1fr 54px; gap: 8px; align-items: center; }
.stepper input { min-height: 54px; text-align: center; border-radius: var(--radius-sm); background: rgba(0, 0, 0, 0.28); border: 1px solid var(--line-2); font-size: 24px; width: 100%; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.step-btn { height: 54px; border-radius: 17px; display: grid; place-items: center; color: var(--green-2); background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.35); box-shadow: 0 4px 0 rgba(21, 128, 61, 0.5); transition: transform 0.12s var(--ease); }
.step-btn:active { transform: translateY(3px); box-shadow: none; }
.invest form { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.row.total { padding: 12px 14px; border-radius: 14px; background: rgba(245, 197, 66, 0.1); font-weight: 700; }
.row.total .num { font-size: 19px; }
.timeline { display: flex; flex-direction: column; }
.timeline .row { position: relative; align-items: flex-start; padding: 0 0 16px 22px; justify-content: flex-start; font-size: 13.5px; }
.timeline .row:last-child { padding-bottom: 0; }
.timeline .row::before { content: ''; position: absolute; left: 5px; top: 12px; bottom: -4px; width: 2px; background: var(--line-2); }
.timeline .row:last-child::before { display: none; }
.tl-dot { position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.16); }
.timeline .num { margin-left: auto; padding-left: 10px; white-space: nowrap; }

/* ── Meu Curral 3D ──────────────────────────────────────────────────────── */
.curral-card { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid rgba(245, 197, 66, 0.3); box-shadow: 0 30px 50px -26px rgba(0, 0, 0, 0.9), 0 0 0 5px rgba(245, 197, 66, 0.06); margin: 0 -6px; }
.curral-stage { position: relative; height: min(50dvh, 420px); min-height: 320px; background: linear-gradient(180deg, #060a13, #0d2a22 55%, #c99a4a 130%); }
.curral-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; opacity: 0; transition: opacity 0.6s ease; }
.curral-stage.ready .curral-canvas { opacity: 1; }
.curral-stage.ready .curral-loading { display: none; }
.curral-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--soft); font-weight: 700; font-size: 13px; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.14); border-top-color: var(--gold); animation: rotate 0.9s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }
.curral-hud { position: absolute; display: flex; gap: 7px; pointer-events: none; }
.curral-hud > * { pointer-events: auto; }
.curral-hud.top { top: 12px; left: 12px; right: 60px; flex-wrap: wrap; }
.curral-hud.side { top: 12px; right: 12px; flex-direction: column; }
.curral-hud .icon-btn { background: rgba(7, 10, 18, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.curral-hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #fff; background: rgba(7, 10, 18, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap; pointer-events: none; animation: hint 4s ease forwards 3s; }
@keyframes hint { to { opacity: 0.0; } }
.cow-sheet { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: linear-gradient(180deg, #151c2c, #0e1422); border-top: 1px solid rgba(245, 197, 66, 0.34); animation: sheetUp 0.4s var(--ease); }
.cow-sheet .icon-btn { width: 34px; height: 34px; }

/* ── Carteira, ranking, simulador, painel ───────────────────────────────── */
.asset-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.asset { display: flex; flex-direction: column; gap: 4px; padding: 13px; border-radius: 18px; background: rgba(0, 0, 0, 0.26); border: 1px solid var(--line); min-width: 0; }
.asset .big { font-size: clamp(15px, 4.7vw, 21px); white-space: nowrap; }
.entry-ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex: none; color: var(--soft); background: rgba(255, 255, 255, 0.06); }
.entry-ico .ico { width: 17px; height: 17px; }
.entry-ico.in { color: var(--green-2); background: rgba(34, 197, 94, 0.14); }
.entry-ico.out { color: var(--gold-2); background: rgba(245, 197, 66, 0.12); }
.entry .num { text-align: right; white-space: nowrap; font-size: 13px; }

.rank .rank-pos { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font: 700 15px var(--mono); background: rgba(255, 255, 255, 0.07); color: var(--soft); flex: none; }
.rank.gold .rank-pos { color: #2b1d02; background: linear-gradient(180deg, var(--gold-2), var(--gold)); box-shadow: 0 4px 0 var(--gold-deep); }
.rank.silver .rank-pos { color: #1b222c; background: linear-gradient(180deg, #f1f5f9, #b6c0cc); box-shadow: 0 4px 0 #7b8794; }
.rank.bronze .rank-pos { color: #2a1505; background: linear-gradient(180deg, #f0b27a, #c57b3c); box-shadow: 0 4px 0 #8a4f1d; }
.you { border-color: rgba(245, 197, 66, 0.3); }

.versus { display: grid; gap: 12px; }
.versus > div { display: grid; gap: 5px; }
.versus .bar { height: 12px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { display: flex; flex-direction: column; gap: 6px; padding: 13px; border-radius: 18px; background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1px solid var(--line); }
.tile .num { font-size: 22px; }
.tile .label { font-size: 9.5px; }

/* ── Entrada (login) ────────────────────────────────────────────────────── */
.auth { min-height: calc(100dvh - 30px); display: flex; flex-direction: column; justify-content: flex-end; position: relative; isolation: isolate; }
.auth::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url('/img/hero-feedlot.webp') center top / cover no-repeat, linear-gradient(180deg, #0a1a14, #1c2a1c 45%, #6b4a1e 78%, #0b0f19); }
.auth::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 10, 18, 0.5) 0%, rgba(7, 10, 18, 0.12) 30%, rgba(7, 10, 18, 0.3) 52%, rgba(7, 10, 18, 0.86) 78%, var(--bg) 100%); }
.auth .card.glass { background: rgba(9, 13, 22, 0.62); }
.auth .tabs { background: rgba(9, 13, 22, 0.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line-2); }
.auth .soft.tiny { color: #c3cad6; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8); }
.auth-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 28px 24px 22px; margin-bottom: auto; animation: rise 0.7s var(--ease) both; }
.auth-tagline { font-size: 16px; color: #dfe6ef; max-width: 320px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7); }
.auth-tagline b { color: var(--gold-2); }
.auth-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 4px; }
.auth-points span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(7, 10, 18, 0.6); border: 1px solid var(--line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.auth-points .ico { width: 15px; height: 15px; color: var(--green-2); }
.auth-panel { display: flex; flex-direction: column; gap: 12px; padding: 0 16px calc(24px + env(safe-area-inset-bottom)); animation: rise 0.7s var(--ease) both 0.12s; }

/* ── Navegacao inferior ─────────────────────────────────────────────────── */
.nav {
  position: fixed; left: 50%; bottom: calc(10px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 30;
  width: min(calc(100% - 20px), 460px); height: var(--nav-h);
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  padding: 0 6px; border-radius: 26px;
  background: rgba(14, 19, 31, 0.82); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid var(--line-2); box-shadow: 0 24px 44px -14px rgba(0, 0, 0, 0.9);
}
.nav.n4 { grid-template-columns: repeat(4, 1fr); }
.nav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 700; color: var(--soft); padding: 8px 0; transition: color 0.25s; }
.nav-ico { width: 44px; height: 30px; border-radius: 12px; display: grid; place-items: center; transition: all 0.3s var(--ease); }
.nav-ico .ico { width: 22px; height: 22px; }
.nav a.on { color: var(--green-2); }
.nav a.on .nav-ico { background: rgba(34, 197, 94, 0.16); transform: translateY(-1px); }
.nav a:active .nav-ico { transform: scale(0.88); }
.nav a.fab { color: var(--text); }
.nav a.fab .nav-ico { width: 58px; height: 58px; margin-top: -34px; border-radius: 22px; color: #052012; background: linear-gradient(180deg, var(--green-2), var(--green)); border: 4px solid var(--bg); box-shadow: 0 5px 0 var(--green-deep), 0 18px 26px -10px rgba(34, 197, 94, 0.95); }
.nav a.fab .nav-ico .ico { width: 26px; height: 26px; stroke-width: 2.3; }
.nav a.fab.on .nav-ico { background: linear-gradient(180deg, var(--gold-2), var(--gold)); box-shadow: 0 5px 0 var(--gold-deep), 0 18px 26px -10px rgba(245, 197, 66, 0.9); transform: none; }
.nav a.fab:active .nav-ico { transform: translateY(4px); box-shadow: 0 1px 0 var(--green-deep); }

/* ── Folhas (bottom sheet), recibo e avisos ─────────────────────────────── */
.sheet-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(3, 5, 10, 0.66); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade 0.25s ease both; }
.sheet { position: fixed; left: 50%; bottom: 0; z-index: 41; width: min(100%, 480px); transform: translateX(-50%); display: flex; flex-direction: column; gap: 14px; padding: 22px 18px calc(24px + env(safe-area-inset-bottom)); border-radius: 30px 30px 0 0; background: linear-gradient(180deg, #172033, #0e1422); border: 1px solid var(--line-2); border-bottom: 0; box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.7); animation: sheetIn 0.45s var(--ease) both; }
.sheet::before { content: ''; align-self: center; width: 44px; height: 5px; border-radius: 5px; background: var(--line-2); margin-top: -8px; }
.sheet h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; text-align: center; }
.receipt { align-items: stretch; text-align: center; }
.receipt .big { font-size: 30px; }
.receipt .list { text-align: left; padding: 14px; border-radius: 18px; background: rgba(0, 0, 0, 0.28); }
.receipt-check { align-self: center; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; color: #052012; background: linear-gradient(180deg, var(--green-2), var(--green)); box-shadow: 0 0 0 10px rgba(34, 197, 94, 0.14), 0 0 0 20px rgba(34, 197, 94, 0.07); animation: stamp 0.6s var(--ease) both 0.15s; }
.receipt-check .ico { width: 34px; height: 34px; stroke-width: 3; }
@keyframes sheetIn { from { transform: translate(-50%, 105%); } }
@keyframes sheetUp { from { transform: translateY(30px); opacity: 0; } }
@keyframes stamp { from { transform: scale(0); } 70% { transform: scale(1.15); } }

.toast { position: fixed; left: 50%; top: calc(54px + env(safe-area-inset-top)); z-index: 60; transform: translateX(-50%); width: max-content; max-width: min(calc(100% - 28px), 440px); padding: 13px 18px; border-radius: 18px; font-weight: 700; font-size: 14px; text-align: center; color: #052012; background: linear-gradient(180deg, var(--green-2), var(--green)); box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.8); animation: toastIn 0.4s var(--ease); }
.toast.error { color: #fff; background: linear-gradient(180deg, #ef4444, #b91c1c); }
.toast.xp { color: #2b1d02; background: linear-gradient(180deg, var(--gold-2), var(--gold)); }
@keyframes toastIn { from { transform: translate(-50%, -24px) scale(0.92); opacity: 0; } }

.fx-layer { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 70; pointer-events: none; }
.fx-coin { position: fixed; left: 0; top: 0; width: 28px; height: 28px; z-index: 71; pointer-events: none; border-radius: 50%; }

/* ── Esqueleto de carregamento ──────────────────────────────────────────── */
.skeleton { border-radius: var(--radius); background: linear-gradient(100deg, rgba(255, 255, 255, 0.05) 30%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.05) 70%) 0 0 / 220% 100%; animation: shimmer 1.3s linear infinite !important; }
.skeleton.hero-skel { height: 190px; }
.skeleton.line { height: 18px; width: 42%; border-radius: 9px; }
.skeleton.block { height: 108px; }
.skeleton.block.short { height: 64px; width: 70%; }

/* ── Tela larga: mantem a coluna de celular ─────────────────────────────── */
@media (min-width: 520px) {
  .app { border-inline: 1px solid var(--line); background: rgba(7, 10, 18, 0.5); }
}
@media (max-width: 350px) {
  .big { font-size: 26px; }
  .swap-input, .swap-output { font-size: 28px; }
  .grid3 { grid-template-columns: 1fr 1fr; }
}

/* ── Acessibilidade: menos movimento ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .chart-line { stroke-dashoffset: 0; }
  .chart-area, .chart-dot { opacity: 1; }
  .coin-spin { animation: none; }
}

.cow-sheet .grid2 { gap: 8px 12px; }
.cow-sheet .kv .soft { font-size: 11.5px; }
.cow-sheet .btn.small { min-height: 42px; }

.clip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nowrap { white-space: nowrap; }
.badge.fit { width: fit-content; }
a.tag { display: inline-block; }
form[data-form='animal-op'] { display: flex; flex-direction: column; gap: 10px; }
