/* ownership: product */
/* BeefFi v2 "ousada" — home viva, curral 3D nivel 2, swap nivel 2, cartas, onboarding, PWA e gestos.
   Complementa styles.css (mesmas variaveis). Tudo que se move respeita prefers-reduced-motion (regra geral no fim de styles.css). */

/* ── Utilitarios novos ──────────────────────────────────────────────────── */
.delta.sm { font-size: 10.5px; padding: 3px 6px; border-radius: 8px; }
.bar.blue i { background: linear-gradient(90deg, #0e7490, var(--blue)); box-shadow: 0 0 12px rgba(56, 189, 248, 0.5); }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--green-2); animation: pulse 1.6s infinite; vertical-align: 1px; }
.icon-btn.sm { width: 30px; height: 30px; border-radius: 10px; flex: none; }
.icon-btn.sm .ico { width: 15px; height: 15px; }
.label .ico { width: 14px; height: 14px; vertical-align: -2.5px; margin-right: 5px; color: var(--gold-2); }
.cow-nick { font-size: 0.68em; font-weight: 700; color: var(--gold-2); letter-spacing: 0; margin-left: 4px; }
.entry-ico.gold { color: var(--gold-2); background: rgba(245, 197, 66, 0.14); }
.entry-ico.green { color: var(--green-2); background: rgba(34, 197, 94, 0.14); }
body.locked { overflow: hidden; }

/* ── Tela de abertura (some quando o app monta) ─────────────────────────── */
.splash { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: radial-gradient(420px 320px at 50% 38%, rgba(34, 197, 94, 0.22), transparent 70%), var(--bg); }
.splash { transition: opacity 0.4s ease, visibility 0.4s; }
.splash.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.splash img { width: 112px; height: 112px; border-radius: 50%; animation: splashCoin 1.6s var(--ease) infinite; filter: drop-shadow(0 18px 30px rgba(245, 197, 66, 0.4)); }
.splash b { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; color: var(--green-2); }
.splash b em { font-style: normal; color: var(--gold); }
.splash small { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
@keyframes splashCoin { 0%, 100% { transform: translateY(0) rotateY(0); } 50% { transform: translateY(-10px) rotateY(180deg); } }

/* ── Transicao entre telas (View Transitions) ───────────────────────────── */
@supports (view-transition-name: none) {
  main.view { view-transition-name: screen; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  ::view-transition-old(screen) { animation: vtOut 0.2s var(--ease) both; }
  ::view-transition-new(screen) { animation: vtIn 0.3s var(--ease) both; }
  html[data-dir='back']::view-transition-old(screen) { animation-name: vtOutBack; }
  html[data-dir='back']::view-transition-new(screen) { animation-name: vtInBack; }
}
@keyframes vtOut { to { opacity: 0; transform: translateX(-26px); } }
@keyframes vtIn { from { opacity: 0; transform: translateX(32px); } }
@keyframes vtOutBack { to { opacity: 0; transform: translateX(26px); } }
@keyframes vtInBack { from { opacity: 0; transform: translateX(-32px); } }

/* ── Topo: sequencia e avisos ───────────────────────────────────────────── */
.xp-pill.fire { color: #ffb86b; background: rgba(251, 146, 60, 0.12); border-color: rgba(251, 146, 60, 0.34); padding: 7px 9px; }
.xp-pill.fire .ico { fill: #fb923c; stroke: none; }
.xp-pill.fire.due { animation: beat 1.6s ease-in-out infinite; }
.icon-btn.bell { position: relative; }
.bell-count { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; display: grid; place-items: center; font: 700 10px var(--mono); font-style: normal; color: #2b1d02; background: var(--gold); border: 2px solid var(--bg); animation: pop 0.5s var(--ease); }
.offline-bar { display: none; align-items: center; justify-content: center; gap: 6px; padding: 7px 12px; font-size: 12px; font-weight: 700; color: #fff; background: #b45309; }
.offline-bar .ico { width: 15px; height: 15px; }
body.offline .offline-bar { display: flex; }
@media (max-width: 380px) { .top-actions { gap: 5px; } .top-actions .icon-btn, .top-actions .avatar { width: 34px; height: 34px; } .xp-pill { padding: 6px 8px; } }

/* ── Letreiro de mercado ────────────────────────────────────────────────── */
.ticker { display: flex; align-items: stretch; margin: -6px -16px 0; border-block: 1px solid var(--line); background: rgba(7, 10, 18, 0.55); overflow: hidden; }
.ticker-tag { flex: none; display: flex; flex-direction: column; justify-content: center; padding: 6px 10px 6px 16px; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-2); background: rgba(245, 197, 66, 0.1); border-right: 1px solid rgba(245, 197, 66, 0.22); z-index: 1; }
.ticker-tag .ico { width: 13px; height: 13px; margin-bottom: 1px; }
.ticker-tag small { font-size: 8.5px; color: var(--soft); letter-spacing: 0.04em; }
.ticker-mask { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 26px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 26px), transparent); }
.ticker-run { display: flex; align-items: center; gap: 14px; width: max-content; padding: 9px 0; animation: ticker 28s linear infinite; will-change: transform; }
.ticker:active .ticker-run { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.tick { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.tick small { font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--soft); }
.tick b { font: 700 13px var(--mono); }
.tick-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); flex: none; }

/* ── Saldo com mini-grafico ─────────────────────────────────────────────── */
.balance-row { gap: 8px; }
.balance-spark { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; flex: none; }
.balance-spark small { font-size: 9px; font-weight: 700; color: var(--soft); letter-spacing: 0.03em; }
.spark { width: 132px; height: 44px; display: block; overflow: visible; }
.spark .chart-line { stroke-width: 2.2; }

/* ── Sequencia diaria ───────────────────────────────────────────────────── */
.card.streak { border-color: rgba(251, 146, 60, 0.3); background: linear-gradient(150deg, rgba(251, 146, 60, 0.16), var(--card) 58%); }
.streak-fire { position: relative; width: 58px; height: 58px; flex: none; border-radius: 20px; display: grid; place-items: center; color: var(--soft); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); }
.streak-fire .ico { position: absolute; width: 46px; height: 46px; fill: currentColor; stroke: none; opacity: 0.32; }
.streak-fire b { position: relative; font: 700 20px var(--mono); color: var(--text); padding-top: 9px; }
.streak-fire.lit { color: #fb923c; background: radial-gradient(circle at 50% 70%, rgba(251, 146, 60, 0.36), rgba(251, 146, 60, 0.08) 70%); border-color: rgba(251, 146, 60, 0.5); box-shadow: 0 0 26px -6px rgba(251, 146, 60, 0.8); }
.streak-fire.lit .ico { opacity: 0.95; animation: flame 1.3s ease-in-out infinite; transform-origin: 50% 90%; }
.streak-fire.lit b { color: #2b1203; }
@keyframes flame { 0%, 100% { transform: scale(1) rotate(-2deg); } 50% { transform: scale(1.09, 1.14) rotate(2deg); } }
.streak-title { display: block; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.streak-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.sd { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sd i { width: 100%; aspect-ratio: 1; max-width: 40px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.05); border: 1px dashed var(--line-2); }
.sd i .ico { width: 17px; height: 17px; fill: #2b1203; stroke: none; }
.sd small { font-size: 10px; font-weight: 800; color: var(--soft); }
.sd.done i { border: 0; background: linear-gradient(180deg, #fdba74, #fb923c); box-shadow: 0 3px 0 #9a4a0c; animation: pop 0.5s var(--ease) both; }
.sd.today i { outline: 2px solid var(--gold); outline-offset: 2px; }
.sd.today small { color: var(--gold-2); }
.streak.open .sd.today:not(.done) i { animation: beat 1.5s ease-in-out infinite; }
.streak-done { display: flex; align-items: center; gap: 8px; padding: 11px 13px; border-radius: 14px; font-size: 13px; font-weight: 700; color: var(--green-2); background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.26); }
.streak-done .ico { width: 17px; height: 17px; }

/* ── Cartas colecionaveis ───────────────────────────────────────────────── */
.tc { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; --holo: 0.35; --c1: #94a3b8; --c2: #475569; position: relative; display: block; width: 100%; aspect-ratio: 5 / 7; perspective: 900px; color: #f6f8fb; text-align: left; -webkit-user-select: none; user-select: none; }
.tc-inner { position: absolute; inset: 0; display: block; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 0.5s var(--ease); }
.tc.tilting .tc-inner { transition: transform 0.06s linear; }
.tc.flipped .tc-inner { transform: rotateY(calc(180deg + var(--ry))) rotateX(var(--rx)); }
.tc-face { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 5%; padding: 5.5%; border-radius: 7% / 5%; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; background: linear-gradient(160deg, #1b2438, #0d1320); border: 2px solid var(--c1); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5) inset, 0 14px 28px -14px rgba(0, 0, 0, 0.9), 0 0 22px -8px var(--c1); }
.tc-back { transform: rotateY(180deg); align-items: center; justify-content: center; text-align: center; background: radial-gradient(circle at 50% 30%, rgba(245, 197, 66, 0.22), transparent 60%), linear-gradient(160deg, #123322, #0d1320); }
.tc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.tc-name { font-size: 13px; font-weight: 800; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-no { font: 700 9.5px var(--mono); color: var(--c1); flex: none; }
.tc-art { position: relative; display: block; flex: 1; min-height: 0; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.16); }
.card-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tc-rarity { position: absolute; left: 5px; bottom: 5px; padding: 2px 7px; border-radius: 99px; font-size: 8.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #0b0f19; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.tc-tagline { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; font-size: 10px; }
.tc-tagline b { font: 700 11px var(--mono); }
.tc-tagline span { color: rgba(255, 255, 255, 0.66); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 5px 4px; border-radius: 8px; background: rgba(0, 0, 0, 0.34); }
.tc-stats span { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.tc-stats small, .tc-back-list small { font-size: 7.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.tc-stats b { font: 700 10px var(--mono); white-space: nowrap; }
.tc-foot { display: flex; align-items: center; justify-content: space-between; gap: 4px; font-size: 9.5px; font-weight: 800; }
.tc-stars { color: var(--c1); letter-spacing: 1px; }
.tc-stars i { font-style: normal; opacity: 0.22; }
.tc-own { color: var(--gold-2); white-space: nowrap; }
.tc.locked .tc-own { color: rgba(255, 255, 255, 0.5); }
.tc.locked .tc-front { filter: grayscale(0.85) brightness(0.72); }
.tc.locked .tc-holo { display: none; }
/* Brilho holografico: faixas que deslizam com a inclinacao (ou sozinhas, quando ninguem mexe). */
.tc-holo { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; mix-blend-mode: color-dodge; opacity: calc(var(--holo) * 0.75); background: repeating-linear-gradient(115deg, rgba(255, 0, 132, 0.5) 0%, rgba(255, 213, 0, 0.5) 12%, rgba(0, 255, 170, 0.5) 24%, rgba(0, 174, 255, 0.5) 36%, rgba(180, 80, 255, 0.5) 48%, rgba(255, 0, 132, 0.5) 60%); background-size: 240% 240%; background-position: var(--mx) var(--my); animation: holo 6s linear infinite; }
.tc.tilting .tc-holo { animation: none; }
.tc-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; mix-blend-mode: soft-light; background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.85), transparent 46%); opacity: 0.55; }
@keyframes holo { 0% { background-position: 0% 0%; } 100% { background-position: 240% 240%; } }
.r-comum { --c1: #a8b3c4; --c2: #64748b; }
.r-incomum { --c1: #4ade80; --c2: #15803d; }
.r-raro { --c1: #38bdf8; --c2: #1d4ed8; }
.r-epico { --c1: #c084fc; --c2: #7e22ce; }
.r-lendario { --c1: #ffd76a; --c2: #f97316; }
.tc.r-comum .tc-holo { opacity: calc(var(--holo) * 0.18); }
.tc.r-incomum .tc-holo { opacity: calc(var(--holo) * 0.4); }
.tc.r-lendario .tc-face { animation: legend 2.6s ease-in-out infinite; }
@keyframes legend { 50% { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5) inset, 0 14px 28px -14px rgba(0, 0, 0, 0.9), 0 0 34px -2px var(--c1); } }
.tc.lg { width: min(74vw, 300px, 46dvh); margin: 0 auto; cursor: pointer; touch-action: none; }
.tc.lg .tc-name { font-size: 22px; }
.tc.lg .tc-no { font-size: 13px; }
.tc.lg .tc-rarity { font-size: 11px; padding: 4px 11px; left: 9px; bottom: 9px; }
.tc.lg .tc-tagline { font-size: 14px; }
.tc.lg .tc-tagline b { font-size: 15px; }
.tc.lg .tc-stats { padding: 9px 6px; border-radius: 12px; }
.tc.lg .tc-stats small, .tc.lg .tc-back-list small { font-size: 9.5px; }
.tc.lg .tc-stats b { font-size: 14px; }
.tc.lg .tc-foot { font-size: 13px; }
.tc.lg .tc-art { border-radius: 14px; }
.tc-back b { font-size: 26px; font-weight: 800; color: var(--green-2); }
.tc-back > small { color: var(--gold-2); font-weight: 800; font-size: 12px; }
.tc-back-coin { width: 38%; aspect-ratio: 1; }
.tc-back-coin img { width: 100%; height: 100%; border-radius: 50%; }
.tc-back-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; padding: 10px; border-radius: 12px; background: rgba(0, 0, 0, 0.34); text-align: left; }
.tc-back-list span { display: flex; flex-direction: column; min-width: 0; }
.tc-back-list b { font-size: 12.5px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-note { font-size: 9.5px !important; color: rgba(255, 255, 255, 0.55) !important; font-weight: 600 !important; }

/* Boi do dia */
.card.cod { flex-direction: row; align-items: center; gap: 14px; border-color: color-mix(in srgb, var(--c1) 45%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--c2) 26%, transparent), var(--card) 62%); }
.cod-card { flex: 0 0 122px; }
.cod-info { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.cod-name { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.cod-name small { font: 700 11px var(--mono); color: var(--soft); }
.cod-stats { display: flex; gap: 16px; margin: 2px 0 4px; }
.cod-stats span { display: flex; flex-direction: column; }
.cod-stats small { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); }
.cod-stats b { font: 700 13.5px var(--mono); }

/* Colecao */
.tc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tc-slot { display: block; padding: 0; border-radius: 12px; animation: rise 0.5s var(--ease) both; animation-delay: calc(var(--i) * 60ms); transition: transform 0.2s var(--ease); }
.tc-slot:active { transform: scale(0.96); }
.rar-strip { flex-direction: row; justify-content: space-between; gap: 6px; padding: 12px; }
.rar { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 1; min-width: 0; }
.rar i { width: 22px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--c1), var(--c2)); box-shadow: 0 0 10px var(--c1); }
.rar b { font: 700 13px var(--mono); }
.rar small { font-size: 9.5px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--soft); }
.sheet-backdrop.dark { background: rgba(3, 5, 10, 0.88); }
.card-stage { position: fixed; inset: 0; z-index: 42; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: calc(20px + env(safe-area-inset-top)) 22px calc(22px + env(safe-area-inset-bottom)); max-width: 480px; margin: 0 auto; animation: cardIn 0.5s var(--ease) both; pointer-events: none; }
.card-stage > * { pointer-events: auto; }
.card-stage .btn-row { width: 100%; }
.card-x { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 16px; }
.card-kicker { padding: 6px 14px; border-radius: 99px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #0b0f19; background: linear-gradient(90deg, var(--c1), var(--c2)); box-shadow: 0 0 24px -4px var(--c1); }
@keyframes cardIn { from { opacity: 0; transform: translateY(40px) scale(0.86) rotate(-4deg); } }

/* ── Conquistas ─────────────────────────────────────────────────────────── */
.medal-row { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 4px 16px 6px; scrollbar-width: none; scroll-snap-type: x proximity; }
.medal-row::-webkit-scrollbar { display: none; }
.medal { flex: 0 0 78px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; scroll-snap-align: start; animation: rise 0.5s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }
.medal-disc { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #2b1d02; background: radial-gradient(circle at 34% 28%, #fff6cf, var(--m1) 46%, var(--m2)); box-shadow: 0 4px 0 var(--m2), 0 10px 18px -8px var(--m1), inset 0 0 0 3px rgba(255, 255, 255, 0.25); overflow: hidden; }
.medal-disc .ico { width: 24px; height: 24px; stroke-width: 2.2; }
.medal.done .medal-disc::after { content: ''; position: absolute; inset: -40% auto -40% -60%; width: 40%; transform: rotate(20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent); animation: shine 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * 0.35s); }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 140%; } }
.medal b { font-size: 11px; font-weight: 800; line-height: 1.15; }
.medal small { font: 700 9.5px var(--mono); color: var(--soft); }
.medal.bronze { --m1: #e3a36a; --m2: #8c5a2b; }
.medal.silver { --m1: #dbe4ee; --m2: #7b8a9c; }
.medal.gold { --m1: #ffd76a; --m2: #a8760c; }
.medal.locked .medal-disc { color: var(--soft); background: #1a2233; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.45), inset 0 0 0 2px var(--line-2); }
.medal.locked b { color: var(--soft); }
.medal.done small { color: var(--green-2); }

/* ── Temporada e podio ──────────────────────────────────────────────────── */
.podium { display: grid; grid-template-columns: 1fr 1.12fr 1fr; align-items: end; gap: 8px; padding-top: 6px; }
.pod { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; }
.pod b { font-size: 12px; font-weight: 800; max-width: 100%; }
.pod small { font: 700 10.5px var(--mono); color: var(--soft); }
.pod-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #0b0f19; background: var(--pc); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1), 0 0 20px -4px var(--pc); }
.pod-block { width: 100%; margin-top: 5px; border-radius: 12px 12px 0 0; display: grid; place-items: start center; padding-top: 7px; background: linear-gradient(180deg, color-mix(in srgb, var(--pc) 55%, transparent), color-mix(in srgb, var(--pc) 8%, transparent)); border: 1px solid color-mix(in srgb, var(--pc) 50%, transparent); border-bottom: 0; height: var(--ph); transform-origin: bottom; animation: podium 0.8s var(--ease) both; }
.pod-block i { font: 700 15px var(--mono); font-style: normal; color: #fff; }
.pod.p1 { --pc: #ffd76a; --ph: 76px; }
.pod.p2 { --pc: #cbd5e1; --ph: 54px; }
.pod.p3 { --pc: #e3a36a; --ph: 40px; }
.pod.p1 .pod-avatar { width: 50px; height: 50px; }
.pod.p2 .pod-block { animation-delay: 0.12s; }
.pod.p3 .pod-block { animation-delay: 0.24s; }
.pod.you .pod-avatar { outline: 2px solid var(--green-2); outline-offset: 2px; }
.pod.you b { color: var(--green-2); }
@keyframes podium { from { transform: scaleY(0); } }
.season-you { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 16px; background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.28); }
.season-you small { display: block; color: var(--soft); font-size: 12px; }
.board-row.you { color: var(--green-2); }
.board-row .rank-pos { min-width: 30px; }

/* ── Feed e avisos ──────────────────────────────────────────────────────── */
.feed-list { display: flex; flex-direction: column; }
.feed-item { justify-content: flex-start; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; animation: rise 0.5s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
.feed-item:last-child { border-bottom: 0; }
.feed-item .entry-ico { width: 32px; height: 32px; border-radius: 11px; }
.sheet[data-sheet]::before { display: none; }
.sheet-grip { align-self: center; width: 100%; height: 22px; margin: -14px 0 -8px; display: grid; place-items: center; touch-action: none; cursor: grab; }
.sheet-grip::after { content: ''; width: 44px; height: 5px; border-radius: 5px; background: var(--line-2); }
.sheet-title { display: flex; align-items: center; gap: 8px; text-align: left !important; font-size: 19px !important; }
.sheet-title .ico { color: var(--gold-2); }
.notice-list { display: flex; flex-direction: column; gap: 8px; max-height: 58dvh; overflow-y: auto; }
.notice { justify-content: flex-start; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.notice.unread { background: rgba(245, 197, 66, 0.08); border-color: rgba(245, 197, 66, 0.26); }
.notice b { display: block; font-size: 14px; }
.notice small { display: block; font-size: 12.5px; color: var(--soft); }
.notice-dot { flex: none; width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.sheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sheet-tile { display: flex; align-items: center; gap: 9px; min-height: 50px; padding: 0 13px; border-radius: 15px; font-size: 13px; font-weight: 700; text-align: left; color: var(--text); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); }
.sheet-tile .ico { color: var(--green-2); }
.sheet-tile.hot { border-color: rgba(245, 197, 66, 0.5); background: rgba(245, 197, 66, 0.1); }
.sheet-tile.hot .ico { color: var(--gold-2); }
.sheet-tile:active { transform: scale(0.97); }

/* ── Estados vazios ilustrados ──────────────────────────────────────────── */
.empty-art { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 18px; text-align: center; color: var(--soft); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.empty-art svg { width: 132px; height: 99px; animation: nudge 3.4s ease-in-out infinite; }
.empty-art p { font-size: 13.5px; font-weight: 600; max-width: 30ch; }
.card .empty-art, .notice-list .empty-art { border: 0; padding: 14px 8px; }

/* ── Jornada recolhida ──────────────────────────────────────────────────── */
.path-more summary { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 40px; font-size: 12.5px; font-weight: 800; color: var(--soft); cursor: pointer; list-style: none; }
.path-more summary::-webkit-details-marker { display: none; }
.path-more summary .ico { width: 15px; height: 15px; transition: transform 0.25s var(--ease); transform: rotate(90deg); }
.path-more[open] summary .ico { transform: rotate(-90deg); }

/* ── Trocar: rota, mira, alvo e historico ───────────────────────────────── */
.route { display: flex; align-items: flex-start; justify-content: space-between; gap: 4px; padding: 12px 12px 10px; border-radius: 20px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); }
.rt-node { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 0 0 76px; min-width: 0; }
.rt-disc { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #1a2233; border: 2px solid var(--line-2); transition: border-color 0.3s, box-shadow 0.3s; }
.rt-disc .token-brl { width: 28px; height: 28px; }
.rt-at { font: 700 20px var(--mono); color: var(--gold-2); }
.rt-node small { font-size: 9.5px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--soft); }
.rt-node b { font: 700 11.5px var(--mono); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.rt-link { position: relative; flex: 1; height: 2px; margin-top: 22px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 5px, transparent 5px 10px); }
.rt-link i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); opacity: 0; }
.route.flow .rt-link i { animation: flowDot 1.5s linear infinite; }
.route.flow .rt-link i:nth-child(2) { animation-delay: 0.5s; }
.route.flow .rt-link i:nth-child(3) { animation-delay: 1s; }
.route.flow .rt-disc { border-color: rgba(245, 197, 66, 0.55); box-shadow: 0 0 18px -6px var(--gold); }
.route.flow .rt-node:last-child .rt-disc { border-color: var(--green-2); box-shadow: 0 0 20px -4px var(--green-2); animation: beat 1.5s ease-in-out infinite; }
@keyframes flowDot { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
.xchart { position: relative; touch-action: pan-y; cursor: crosshair; }
.xh-line { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, 0.5); pointer-events: none; }
.xh-dot { position: absolute; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); box-shadow: 0 0 14px var(--gold); pointer-events: none; }
.xh-tip { position: absolute; top: 2px; transform: translateX(-50%); padding: 5px 9px; border-radius: 10px; font: 700 11px var(--mono); white-space: nowrap; color: #0b0f19; background: var(--gold-2); box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.8); pointer-events: none; }
.card.target { border-color: rgba(56, 189, 248, 0.26); }
.card.target .big { font-size: 24px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card.target input[type='range']::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--red), rgba(255, 255, 255, 0.2) 50%, var(--green-2)); }
.card.target input[type='range']::-moz-range-track { background: linear-gradient(90deg, var(--red), rgba(255, 255, 255, 0.2) 50%, var(--green-2)); }
.alert-list { padding-top: 4px; border-top: 1px solid var(--line); }
.alert-row { justify-content: flex-start; }
.alert-row b { display: block; font-size: 13.5px; }
.alert-row small { display: block; }
.alert-row.triggered { animation: flash 1.2s ease 2; }
.hist-amt { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
.hist-amt small { font: 500 11px var(--mono); }

/* ── Curral 3D nivel 2 ──────────────────────────────────────────────────── */
.curral-stage { height: min(56dvh, 470px); min-height: 340px; }
.curral-hud .chip.clock { font-family: var(--mono); font-size: 11.5px; color: var(--gold-2); }
.cam-bar { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 18px; background: rgba(7, 10, 18, 0.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line-2); }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 3px; border-radius: 14px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); flex: 1; max-width: 268px; }
.seg-btn { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 38px; padding: 0 4px; border-radius: 13px; font-size: 11.5px; font-weight: 800; color: var(--soft); transition: background 0.25s, color 0.25s, transform 0.15s var(--ease); white-space: nowrap; }
.seg .seg-btn { min-height: 34px; border-radius: 11px; font-size: 11.5px; }
.seg-btn .ico { width: 16px; height: 16px; }
.seg-btn.on { color: #052012; background: linear-gradient(180deg, var(--green-2), var(--green)); box-shadow: 0 3px 0 var(--green-deep); }
.cam-bar .seg-btn.on { color: #2b1d02; background: linear-gradient(180deg, var(--gold-2), var(--gold)); box-shadow: 0 3px 0 var(--gold-deep); }
.seg-btn:active { transform: scale(0.95); }
.curral-hint { bottom: 66px; }
.curral-toast { position: absolute; left: 50%; top: 100px; z-index: 3; transform: translateX(-50%); max-width: calc(100% - 100px); padding: 7px 13px; border-radius: 999px; font-size: 11.5px; font-weight: 800; text-align: center; color: #2b1d02; background: linear-gradient(180deg, var(--gold-2), var(--gold)); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.9); animation: toastIn 0.4s var(--ease); pointer-events: none; }
.curral-card[data-kind='2d'] .cam-bar, .curral-card[data-kind='2d'] ~ .env { display: none; }
.card.env { gap: 9px; padding: 13px 14px; }
.card.env .label { flex: none; }
/* Sobreposicao do drone */
.cam-drone, .cam-live { position: absolute; inset: 0 0 auto 0; height: min(56dvh, 470px); min-height: 340px; pointer-events: none; opacity: 0; transition: opacity 0.35s ease; z-index: 2; }
.curral-card[data-cam='drone'] .cam-drone, .curral-card[data-cam='live'] .cam-live { opacity: 1; }
.curral-card[data-cam='drone'] .curral-hud.top, .curral-card[data-cam='live'] .curral-hud.top { opacity: 0; }
.corner { position: absolute; width: 26px; height: 26px; border: 2px solid rgba(255, 255, 255, 0.85); }
.corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.corner.tr { top: 14px; right: 60px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: 74px; left: 14px; border-right: 0; border-top: 0; }
.corner.br { bottom: 74px; right: 14px; border-left: 0; border-top: 0; }
.reticle { position: absolute; left: 50%; top: 46%; width: 46px; height: 46px; margin: -23px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.7); }
.reticle::before, .reticle::after { content: ''; position: absolute; background: rgba(255, 255, 255, 0.7); }
.reticle::before { left: 50%; top: -10px; bottom: -10px; width: 1px; }
.reticle::after { top: 50%; left: -10px; right: -10px; height: 1px; }
.cam-tag { position: absolute; top: 18px; left: 46px; display: flex; align-items: center; gap: 5px; font: 700 10.5px var(--mono); letter-spacing: 0.06em; color: #fff; text-shadow: 0 1px 3px #000; }
.cam-tag .ico { width: 15px; height: 15px; }
.telemetry { position: absolute; left: 14px; bottom: 108px; display: grid; grid-template-columns: repeat(2, auto); gap: 4px 14px; padding: 8px 10px; border-radius: 12px; background: rgba(7, 10, 18, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.telemetry span { display: flex; align-items: baseline; gap: 6px; }
.telemetry small { font: 700 9px var(--mono); color: rgba(255, 255, 255, 0.6); letter-spacing: 0.08em; }
.telemetry b { font: 700 12px var(--mono); color: var(--green-2); }
/* Sobreposicao da "camera do curral": visual de transmissao, rotulado como simulacao */
.cam-live { box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.75); }
.scanlines { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; }
.rec { position: absolute; top: 16px; left: 16px; display: flex; align-items: center; gap: 6px; font: 700 12px var(--mono); color: #fff; text-shadow: 0 1px 3px #000; }
.rec i { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 10px #ef4444; animation: blink 1.2s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }
.onair { position: absolute; top: 13px; left: 76px; padding: 3px 8px; border-radius: 6px; font: 700 10.5px var(--mono); letter-spacing: 0.08em; color: #fff; background: #dc2626; }
.cam-name, .cam-time, .cam-quote, .cam-note { position: absolute; font: 700 10.5px var(--mono); color: #fff; text-shadow: 0 1px 3px #000, 0 0 8px rgba(0, 0, 0, 0.8); letter-spacing: 0.03em; }
.cam-name { top: 40px; left: 16px; }
.cam-time { top: 16px; right: 60px; }
.cam-quote { left: 16px; bottom: 94px; padding: 4px 8px; border-radius: 7px; color: var(--gold-2); background: rgba(7, 10, 18, 0.6); }
.cam-note { left: 16px; bottom: 76px; font-size: 9.5px; color: rgba(255, 255, 255, 0.8); }
/* Tela cheia do curral */
.curral-card.immersive { position: fixed; inset: 0; z-index: 35; margin: 0; border-radius: 0; border: 0; background: #060a13; display: flex; flex-direction: column; max-width: 480px; margin-inline: auto; }
.curral-card.immersive .curral-stage, .curral-card.immersive .cam-drone, .curral-card.immersive .cam-live { height: 100dvh; min-height: 0; }
.curral-card.immersive .curral-stage { flex: 1; }
.curral-card.immersive .curral-hud.top, .curral-card.immersive .curral-hud.side, .curral-card.immersive .cam-tag, .curral-card.immersive .rec, .curral-card.immersive .onair, .curral-card.immersive .cam-name, .curral-card.immersive .cam-time { margin-top: env(safe-area-inset-top); }
.curral-card.immersive .cam-bar { bottom: calc(14px + env(safe-area-inset-bottom)); }
.curral-card.immersive .cow-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; border-radius: 24px 24px 0 0; max-height: 72dvh; overflow-y: auto; padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
/* Painel do lote */
.gauges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gauge { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.gauge-ico { color: var(--green-2); line-height: 0; }
.gauge-ico .ico { width: 18px; height: 18px; }
.gauge b { font: 700 20px var(--mono); line-height: 1.1; }
.gauge small { font-size: 10px; font-weight: 700; color: var(--soft); text-align: center; }
.meter { display: grid; grid-template-columns: 124px 1fr 44px; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; color: var(--soft); }
.meter span { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.meter .ico { width: 15px; height: 15px; }
.meter b { font: 700 13px var(--mono); color: var(--text); text-align: right; }
.meter .bar i { animation: none; transition: width 0.6s var(--ease); }
/* Ficha do boi no curral */
.weigh-wrap { padding: 10px 10px 8px; border-radius: 16px; background: rgba(0, 0, 0, 0.28); border: 1px solid var(--line); }
.weigh { width: 100%; height: auto; display: block; overflow: visible; }
.weigh-line { fill: none; stroke: var(--green-2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.weigh-proj { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 5 5; stroke-linecap: round; opacity: 0.85; }
.weigh-dot { fill: var(--green-2); stroke: #0e1422; stroke-width: 2; }
.weigh-goal { fill: #0e1422; stroke: var(--gold); stroke-width: 2.4; }
.weigh-val { font: 700 10px var(--mono); fill: var(--text); text-anchor: middle; }
.weigh-val.goal { fill: var(--gold-2); }
.quick-buy { display: flex; flex-direction: column; gap: 8px; }
.chips.fit:has(.chip.buy) { grid-template-columns: repeat(3, 1fr); }
.chip.buy { flex-direction: column; gap: 0; min-height: 50px; color: #052012; background: linear-gradient(180deg, var(--green-2), var(--green)); border-color: transparent; box-shadow: 0 4px 0 var(--green-deep); font-size: 15px; }
.chip.buy small { font: 700 10px var(--mono); opacity: 0.75; }
.chip.buy:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--green-deep); }

/* ── Boas-vindas ────────────────────────────────────────────────────────── */
.ob { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; max-width: 480px; margin: 0 auto; background: radial-gradient(520px 380px at 50% 22%, rgba(34, 197, 94, 0.26), transparent 70%), radial-gradient(420px 320px at 90% 60%, rgba(245, 197, 66, 0.14), transparent 70%), var(--bg); animation: fade 0.3s ease both; }
.ob-top { display: flex; align-items: center; justify-content: space-between; padding: calc(12px + env(safe-area-inset-top)) 18px 0; }
.ob-art { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 10px 22px; animation: rise 0.6s var(--ease) both; }
.ob-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px calc(22px + env(safe-area-inset-bottom)); border-radius: 30px 30px 0 0; background: linear-gradient(180deg, #172033, #0e1422); border-top: 1px solid var(--line-2); animation: sheetUp 0.5s var(--ease) both; }
.ob-body h2 { font-size: 25px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.ob-body > p:not(.soft) { font-size: 15px; color: #c6cedb; }
.ob-body > p b { color: var(--gold-2); }
.ob-body .btn-row:has(.btn:only-child) { grid-template-columns: 1fr; }
.ob-dots { display: flex; gap: 6px; }
.ob-dots i { width: 8px; height: 8px; border-radius: 8px; background: var(--line-2); transition: width 0.35s var(--ease), background 0.3s; }
.ob-dots i.on { width: 26px; background: var(--gold); }
.ob-dots i.past { background: var(--green-2); }
.ob-flow { display: flex; align-items: center; gap: 6px; }
.ob-chip { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 74px; padding: 12px 8px; border-radius: 18px; font-size: 12px; font-weight: 800; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); animation: rise 0.6s var(--ease) both; }
.ob-chip.at { animation-delay: 0.18s; }
.ob-chip.bfi { animation-delay: 0.36s; border-color: rgba(245, 197, 66, 0.5); }
.ob-chip.at b { font: 700 22px var(--mono); color: var(--gold-2); line-height: 26px; }
.ob-arrow { color: var(--gold-2); line-height: 0; animation: arrows 1.4s ease-in-out infinite; }
.ob-coin .coin.lg { width: min(34vw, 150px); height: min(34vw, 150px); }
.ob-cow { position: relative; display: grid; place-items: center; width: min(74vw, 290px); }
.ob-fractions { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; width: 100%; }
.ob-fractions i { aspect-ratio: 1; border-radius: 7px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); animation: rise 0.4s var(--ease) both; animation-delay: calc(var(--i) * 18ms); }
.ob-fractions i.on { background: linear-gradient(180deg, var(--gold-2), var(--gold)); border-color: transparent; box-shadow: 0 0 12px -2px var(--gold); animation: fracOn 0.5s var(--ease) both; animation-delay: calc(0.5s + var(--i) * 60ms); }
@keyframes fracOn { from { transform: scale(0.2); opacity: 0; } }
.ob-cow-ico { position: absolute; width: 96px; height: 96px; border-radius: 32px; display: grid; place-items: center; color: #052012; background: linear-gradient(180deg, var(--green-2), var(--green)); box-shadow: 0 6px 0 var(--green-deep), 0 22px 40px -12px rgba(34, 197, 94, 0.9); animation: nudge 2.4s ease-in-out infinite; }
.ob-cow-ico .ico { width: 54px; height: 54px; }
.ob-pill { position: absolute; bottom: -16px; display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; font-size: 12px; font-weight: 800; color: var(--gold-2); background: #0e1422; border: 1px solid rgba(245, 197, 66, 0.4); }
.ob-pen { position: relative; width: min(78vw, 310px); aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, #1b2a5c 0%, #b5587a 46%, #f7b25a 62%, #6f5237 62%, #8a6844 100%); border: 1px solid rgba(245, 197, 66, 0.4); box-shadow: 0 30px 50px -26px #000; }
.ob-sun { position: absolute; left: 62%; top: 34%; width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle, #fff3c4, #f5c542 60%, transparent 72%); animation: float 6s ease-in-out infinite; }
.ob-fence { position: absolute; left: 0; right: 0; top: 54%; height: 18%; background: repeating-linear-gradient(90deg, #3d2c1c 0 6px, transparent 6px 38px), linear-gradient(180deg, transparent 30%, #5a4330 30% 42%, transparent 42% 64%, #5a4330 64% 76%, transparent 76%); }
.ob-walker { position: absolute; bottom: 12%; width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; color: #2b1d02; background: #e9e4d8; box-shadow: 0 6px 0 rgba(0, 0, 0, 0.3); animation: walker 5s ease-in-out infinite alternate; }
.ob-walker .ico { width: 28px; height: 28px; }
.ob-walker.a { left: 10%; }
.ob-walker.b { left: 42%; bottom: 22%; background: #2b2420; color: #e9e4d8; animation-duration: 6.5s; animation-direction: alternate-reverse; }
.ob-walker.c { left: 70%; background: #a4532c; color: #fff; animation-duration: 4.2s; }
@keyframes walker { from { transform: translateX(-14px); } to { transform: translateX(18px); } }
.ob-rec { position: absolute; top: 12px; left: 12px; display: flex; align-items: center; gap: 6px; font: 700 11px var(--mono); color: #fff; }
.ob-rec i { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; animation: blink 1.2s steps(2, jump-none) infinite; }

/* ── Puxar para atualizar ───────────────────────────────────────────────── */
.ptr { --pull: 0px; --turn: 0deg; position: fixed; left: 50%; top: calc(6px + env(safe-area-inset-top)); z-index: 65; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; display: grid; place-items: center; background: #172033; border: 1px solid var(--line-2); box-shadow: 0 12px 24px -10px #000; transform: translateY(calc(var(--pull) - 60px)); opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.ptr.show { opacity: 1; }
.ptr:not(.show) { transition: transform 0.3s var(--ease), opacity 0.2s; }
.ptr-coin { width: 28px; height: 28px; transform: rotate(var(--turn)); }
.ptr-coin img { width: 100%; height: 100%; border-radius: 50%; display: block; }
.ptr.armed { border-color: var(--gold); box-shadow: 0 0 18px -2px var(--gold); }
.ptr.busy { transition: transform 0.25s var(--ease); }
.ptr.busy .ptr-coin { animation: rotate 0.7s linear infinite; }

/* ── Ajustes apos conferencia visual ────────────────────────────────────── */
.cod-card { flex: 0 0 128px; }
.showcase .tc .tc-tagline, .showcase .tc .tc-stats { display: none; }
.showcase .tc.locked .tc-front { filter: none; }
.showcase .tc.locked .tc-holo { display: block; }
.showcase .tc .tc-foot { justify-content: center; }
.showcase .tc .tc-own { display: none; }
.showcase .tc .tc-stars { font-size: 12px; }
.medal { flex-basis: 82px; }
.medal b { font-size: 10.5px; max-width: 82px; }
.medal.locked .medal-disc { overflow: visible; }
.medal.locked .medal-disc > .ico { opacity: 0.5; }
.medal-lock { position: absolute; right: -4px; bottom: -4px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: var(--soft); background: #0e1422; border: 1px solid var(--line-2); }
.medal-lock .ico { width: 11px; height: 11px; stroke-width: 2.4; }
body.immersive .topbar, body.immersive .nav, body.immersive .sim-banner, body.immersive .offline-bar { display: none; }
.sim-chip { font-size: 10.5px !important; min-height: 26px !important; color: var(--gold-2) !important; letter-spacing: 0.04em; }
.curral-card.immersive .curral-hud.top { top: calc(12px + env(safe-area-inset-top)); }
.weigh-val.goal { text-anchor: end; }
.card-stage .btn { white-space: nowrap; font-size: 14.5px; padding-inline: 10px; }
