/* =====================================================================
   TradeOS 1.0 — Card do dia e Retrospectiva do mês (tradeos-share.js)
   ===================================================================== */
.tros-modal, .tros-recap, .tros-pop, .tros-toast { font-family: var(--font-sans, "Inter", -apple-system, sans-serif); color: #f2f0e9; }
.tros-modal svg, .tros-pop svg, .tros-entry svg, .tros-recap .rc-x svg, .tros-recap .tros-primary svg, .tros-recap .tros-ghost svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* botões */
.tros-primary, .tros-ghost, .tros-chip { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; font: 600 13px/1 var(--font-sans, "Inter"), sans-serif; cursor: pointer; white-space: nowrap; transition: background .14s, border-color .14s, transform .14s, color .14s; }
.tros-primary { background: #d8ff3e; color: #050608; border: 1px solid #d8ff3e; }
.tros-primary:hover { background: #e4ff74; }
.tros-ghost { background: rgba(255,255,255,.04); color: #f2f0e9; border: 1px solid rgba(255,255,255,.16); }
.tros-ghost:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.07); }
.tros-primary:active, .tros-ghost:active, .tros-chip:active { transform: scale(.97); }
.tros-x { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: #f2f0e9; cursor: pointer; }
.tros-x:hover { background: rgba(255,255,255,.1); }
.tros-x.small { width: 30px; height: 30px; }
.tros-primary:focus-visible, .tros-ghost:focus-visible, .tros-chip:focus-visible, .tros-x:focus-visible, .tros-seg button:focus-visible { outline: 2px solid #d8ff3e; outline-offset: 2px; }

/* entradas dentro de Operações */
.tros-entry { display: flex; gap: 8px; align-items: center; margin-left: auto; margin-right: 12px; }
.tros-entry.day { margin: 14px 0 0; }
.tros-chip { height: 34px; padding: 0 14px; font-size: 12px; background: rgba(255,255,255,.04); color: #f2f0e9; border: 1px solid rgba(255,255,255,.14); }
.tros-chip:hover { border-color: rgba(255,255,255,.3); }
.tros-chip.acid { color: #d8ff3e; border-color: rgba(216,255,62,.35); background: rgba(216,255,62,.07); }
.tros-chip.acid:hover { background: rgba(216,255,62,.13); }
.ops2-calendar-top { display: flex; align-items: center; }

/* janela do card do dia */
.tros-modal { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 24px; background: rgba(3,4,6,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .2s; }
.tros-modal.in { opacity: 1; }
.tros-sheet { width: min(1040px, 100%); max-height: calc(100dvh - 48px); display: flex; flex-direction: column; background: #0c1012; border: 1px solid rgba(255,255,255,.09); border-radius: 22px; box-shadow: 0 30px 90px rgba(0,0,0,.55); overflow: hidden; transform: translateY(10px) scale(.985); transition: transform .24s cubic-bezier(.2,.8,.2,1); }
.tros-modal.in .tros-sheet { transform: none; }
.tros-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,.06); }
.tros-head h2 { margin: 2px 0 0; font: 600 20px/1.1 var(--font-display, "Inter Display"), sans-serif; letter-spacing: -.01em; }
.tros-eyebrow { font: 600 10px/1 var(--font-sans, "Inter"), sans-serif; letter-spacing: .18em; color: #d8ff3e; }
.tros-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 0; min-height: 0; overflow: auto; }
.tros-preview { display: grid; place-items: center; padding: 26px; background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.035), transparent 70%), #080a0c; min-height: 0; }
.tros-canvas canvas { display: block; height: min(62dvh, 640px); width: auto; max-width: 100%; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06); }
.tros-preview.is-story .tros-canvas canvas { height: min(66dvh, 700px); }
.tros-side { display: flex; flex-direction: column; gap: 18px; padding: 22px; border-left: 1px solid rgba(255,255,255,.06); }
.tros-daynav { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 8px; padding: 8px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); text-align: center; }
.tros-daynav b { display: block; font: 600 15px/1.2 var(--font-display, "Inter Display"), sans-serif; }
.tros-daynav small { color: #7d858b; font-size: 12px; }
.tros-daynav button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; color: #f2f0e9; cursor: pointer; }
.tros-daynav button:hover:not(:disabled) { background: rgba(255,255,255,.07); }
.tros-daynav button:disabled { opacity: .25; cursor: default; }
.tros-field { display: flex; flex-direction: column; gap: 8px; }
.tros-field > span { font: 600 11px/1 var(--font-sans, "Inter"), sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #7d858b; }
.tros-field select { height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: #13191b; color: #f2f0e9; font: 500 13px var(--font-sans, "Inter"), sans-serif; }
.tros-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.tros-seg button { height: 34px; border: 0; border-radius: 9px; background: transparent; color: #9da3aa; font: 600 12.5px var(--font-sans, "Inter"), sans-serif; cursor: pointer; }
.tros-seg button[aria-pressed="true"] { background: #f2f0e9; color: #050608; }
.tros-check { display: flex; gap: 10px; align-items: center; font-size: 13px; color: #c9ccce; cursor: pointer; }
.tros-check input { width: 16px; height: 16px; accent-color: #d8ff3e; }
.tros-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: auto; }
.tros-note { margin: 0; font-size: 12px; line-height: 1.45; color: #7d858b; }

/* avisos flutuantes */
.tros-pop { position: fixed; right: 22px; bottom: 22px; z-index: 8900; display: flex; align-items: center; gap: 14px; max-width: min(520px, calc(100vw - 44px)); padding: 14px 14px 14px 16px; border-radius: 18px; background: rgba(14,18,20,.96); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 22px 60px rgba(0,0,0,.5); transform: translateY(16px); opacity: 0; transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .2s; }
.tros-pop.in { transform: none; opacity: 1; }
.tros-pop b { display: block; font: 600 14px/1.3 var(--font-display, "Inter Display"), sans-serif; }
.tros-pop small { display: block; margin-top: 3px; font-size: 12.5px; color: #9da3aa; }
.tros-pop small em { font-style: normal; font-weight: 600; }
.tros-pop-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(216,255,62,.1); color: #d8ff3e; flex: none; }
.tros-pop-ico svg { width: 20px; height: 20px; }
.tros-pop-act { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.tros-pop .tros-primary, .tros-pop .tros-ghost { height: 36px; padding: 0 14px; }
.tros-toast { position: fixed; left: 50%; bottom: 28px; z-index: 9600; padding: 11px 18px; border-radius: 999px; background: #f2f0e9; color: #050608; font: 600 13px var(--font-sans, "Inter"), sans-serif; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: transform .24s, opacity .2s; }
.tros-toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- retrospectiva ---------- */
.tros-recap { position: fixed; inset: 0; z-index: 9500; display: grid; place-items: center; background: rgba(2,3,4,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transition: opacity .24s; }
.tros-recap.in { opacity: 1; }
.rc-stage { position: relative; height: min(92dvh, 860px); aspect-ratio: 9 / 16; max-width: calc(100vw - 32px); border-radius: 26px; overflow: hidden; box-shadow: 0 40px 120px rgba(0,0,0,.6); container-type: size; }
.rc-bars { position: absolute; z-index: 5; top: 14px; left: 14px; right: 14px; display: flex; gap: 4px; }
.rc-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.28); overflow: hidden; }
.rc-bars b { display: block; height: 100%; width: 0; background: #fff; }
.rc-top { position: absolute; z-index: 6; top: 28px; left: 18px; right: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rc-top > span { font: 600 10px/1 var(--font-sans, "Inter"), sans-serif; letter-spacing: .18em; color: currentColor; opacity: .75; }
.rc-top > div { display: flex; align-items: center; gap: 6px; }
.rc-top .tros-seg { background: rgba(0,0,0,.25); border-color: rgba(255,255,255,.14); }
.rc-top .tros-seg button { height: 26px; padding: 0 10px; font-size: 11px; color: rgba(255,255,255,.75); }
.rc-top .tros-seg button[aria-pressed="true"] { background: #fff; color: #050608; }
.rc-x, .rc-pause { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(0,0,0,.28); color: #fff; cursor: pointer; font-size: 10px; }
.rc-top { color: #fff; }
.rc-stage.light .rc-bars i { background: rgba(7,9,11,.18); }
.rc-stage.light .rc-bars b { background: #07090b; }
.rc-stage.light .rc-top { color: #07090b; }
.rc-stage.light .rc-x, .rc-stage.light .rc-pause { background: rgba(7,9,11,.12); color: #07090b; }
.rc-stage.light .rc-top .tros-seg { background: rgba(7,9,11,.08); border-color: rgba(7,9,11,.15); }
.rc-stage.light .rc-top .tros-seg button { color: rgba(7,9,11,.7); }
.rc-stage.light .rc-top .tros-seg button[aria-pressed="true"] { background: #07090b; color: #fff; }
.rc-nav { position: absolute; z-index: 3; top: 70px; bottom: 0; border: 0; background: transparent; cursor: pointer; padding: 0; }
.rc-nav.prev { left: 0; width: 30%; }
.rc-nav.next { right: 0; width: 70%; }
.rc-nav:focus-visible { outline: none; }
/* cada tela: foto (quando existe) + sombra + texto em cima, à esquerda */
.rc-slide { position: absolute; inset: 0; color: #f2f0e9; background: #07090b; overflow: hidden; animation: tros-in .6s ease both; }
.rc-slide:has(.sl-final-actions) { z-index: 4; }
.rc-art { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transform: scale(1.06); }
.rc-slide.has-art .rc-art { opacity: 1; transition: opacity 1s ease; animation: tros-drift 9s ease-out forwards; }
.rc-shade { position: absolute; inset: 0; pointer-events: none; }
.rc-slide.has-art .rc-shade { background: linear-gradient(180deg, rgba(7,9,11,.88) 0%, rgba(7,9,11,.62) 38%, rgba(7,9,11,.12) 62%, rgba(7,9,11,.35) 86%, rgba(7,9,11,.8) 100%); }
.rc-copy { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-start; padding: 17cqh 8cqw 8cqh; }
.rc-slide p { margin: 0 0 1.4cqh; font: 500 4.3cqw/1.35 var(--font-sans, "Inter"), sans-serif; }
.rc-slide h1 { margin: 0 0 2cqh; font: 700 15cqw/0.98 var(--font-display, "Inter Display"), sans-serif; letter-spacing: -.035em; }
.rc-slide h1 span { display: block; font-size: .42em; letter-spacing: -.01em; opacity: .6; margin-top: 1.4cqh; }
.rc-slide h1.sl-name { font-size: 12cqw; overflow-wrap: anywhere; }
.rc-slide h1.sl-big { font-size: 12cqw; white-space: nowrap; }
.rc-slide b { font-weight: 700; }
.rc-slide .sl-mid { font-size: 5.6cqw; font-weight: 600; }
.rc-slide .sl-small { font-size: 3.6cqw; opacity: .82; }
.rc-slide .sl-hint { position: absolute; bottom: 7cqh; left: 8cqw; margin: 0; font-size: 3.2cqw; opacity: .6; letter-spacing: .04em; }

/* movimento calmo: o texto só aparece (sem pulos) e a foto se aproxima devagar */
.rc-slide .a { opacity: 0; animation: tros-fade .9s ease forwards; animation-delay: var(--d, 0s); }
@keyframes tros-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes tros-fade { to { opacity: 1; } }
@keyframes tros-drift { from { transform: scale(1.06); } to { transform: scale(1); } }
.tros-recap.paused .rc-slide, .tros-recap.paused .rc-slide * { animation-play-state: paused !important; }

/* fundos de cor (enquanto a foto da tela não existe) */
.rc-slide.sl-intro { background: radial-gradient(120% 70% at 80% 0%, rgba(216,255,62,.18), transparent 60%), #07090b; }
.rc-slide.sl-acid { background: #d8ff3e; color: #07090b; }
.rc-slide.sl-result.pos { background: radial-gradient(110% 60% at 20% 10%, rgba(104,223,132,.26), transparent 65%), #07090b; }
.rc-slide.sl-result.neg { background: radial-gradient(110% 60% at 20% 10%, rgba(255,98,110,.22), transparent 65%), #07090b; }
.rc-slide.sl-bone { background: #f2f0e9; color: #07090b; }
.rc-slide.sl-gold { background: linear-gradient(170deg, #ffd596 0%, #ff9a4d 55%, #c2410c 100%); color: #1a0d03; }
.rc-slide.sl-green { background: #68df84; color: #04140a; }
.rc-slide.sl-deep { background: radial-gradient(120% 80% at 100% 0%, rgba(216,255,62,.2), transparent 55%), #10251f; }
.rc-slide.sl-night { background: linear-gradient(180deg, #0b1220 0%, #1c2440 60%, #3b2a4a 100%); }
.rc-slide.sl-night.sl-manha { background: linear-gradient(180deg, #1a1408 0%, #4a3414 60%, #a8642a 100%); }
.rc-slide.sl-night.sl-tarde { background: linear-gradient(180deg, #1d1a12 0%, #5a4520 60%, #c98a3a 100%); }
.rc-slide.sl-persona { background: radial-gradient(100% 60% at 50% 100%, rgba(255,199,122,.24), transparent 70%), #07090b; }
.rc-slide.sl-persona h1 { color: #ffc77a; }
.rc-slide.sl-final { background: #07090b; }
.rc-slide.sl-final .rc-copy { padding-top: 11cqh; align-items: center; text-align: center; }

/* com foto: sempre texto claro, número em destaque na cor da marca */
.rc-slide.has-art { color: #f2f0e9 !important; background: #07090b !important; }
.rc-slide.has-art h1 { color: #f2f0e9; }
.rc-slide.has-art h1 b, .rc-slide.has-art.sl-acid h1, .rc-slide.has-art.sl-persona h1 { color: #d8ff3e; }
.rc-slide.has-art.sl-result.pos .sl-big { color: #68df84; }
.rc-slide.has-art.sl-result.neg .sl-big { color: #ff626e; }

/* calendário do mês */
.sl-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1.6cqw; margin-top: 3cqh; width: 100%; }
.sl-cal i { aspect-ratio: 1; border-radius: 1.6cqw; background: rgba(7,9,11,.1); }
.sl-cal i.e { visibility: hidden; }
.sl-cal i.g { background: #07090b; }
.sl-cal i.r { background: #ff626e; }
.sl-cal i.z { background: rgba(7,9,11,.4); }
.has-art .sl-cal i { background: rgba(255,255,255,.08); }
.has-art .sl-cal i.g { background: #d8ff3e; }
.has-art .sl-cal i.r { background: #ff626e; }
.has-art .sl-cal i.z { background: rgba(255,255,255,.3); }

/* curva do mês */
.sl-ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 34cqh; z-index: -1; }
.sl-ridge .line { fill: none; stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: tros-draw 2.4s .6s cubic-bezier(.4,0,.2,1) forwards; }
.sl-ridge .fill { opacity: 0; animation: tros-fade 1.4s 1.6s forwards; }
.sl-ridge.up .line { stroke: #68df84; } .sl-ridge.up .fill { fill: rgba(104,223,132,.12); }
.sl-ridge.down .line { stroke: #ff626e; } .sl-ridge.down .fill { fill: rgba(255,98,110,.1); }
@keyframes tros-draw { to { stroke-dashoffset: 0; } }
.sl-chip { display: inline-block; margin-top: 1cqh !important; padding: 1.2cqh 3.6cqw; border-radius: 999px; font-size: 3.4cqw !important; font-weight: 600 !important; }
.sl-chip.up { background: rgba(104,223,132,.16); color: #8ff0a6; }
.sl-chip.down { background: rgba(255,98,110,.16); color: #ff9aa2; }

/* anel de acerto */
.sl-ring { position: relative; width: 52cqw; aspect-ratio: 1; margin: 2cqh 0 3cqh; }
.sl-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.sl-ring circle { fill: none; stroke: rgba(7,9,11,.1); stroke-width: 10; }
.sl-ring circle.v { stroke: #1f9e4a; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: tros-ring 1.8s .5s cubic-bezier(.4,0,.2,1) forwards; }
.has-art .sl-ring circle { stroke: rgba(255,255,255,.12); }
.has-art .sl-ring circle.v { stroke: #d8ff3e; }
@keyframes tros-ring { to { stroke-dashoffset: calc(100 - var(--p)); } }
.sl-ring > b { position: absolute; inset: 0; display: grid; place-items: center; font: 700 12cqw/1 var(--font-display, "Inter Display"), sans-serif; letter-spacing: -.03em; }

/* cartões dentro das telas */
.sl-card { display: grid; gap: .6cqh; margin-top: 3cqh; padding: 2.4cqh 5cqw; border-radius: 4cqw; background: rgba(7,9,11,.82); color: #f2f0e9; }
.sl-card.light { background: #07090b; }
.has-art .sl-card { background: rgba(7,9,11,.62); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sl-card span { font: 600 2.7cqw/1 var(--font-sans, "Inter"), sans-serif; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.sl-card b { font: 700 6cqw/1.1 var(--font-display, "Inter Display"), sans-serif; display: flex; align-items: center; gap: 2cqw; }
.sl-card b em { font: 700 2.6cqw/1 var(--font-sans, "Inter"), sans-serif; letter-spacing: .1em; font-style: normal; padding: .8cqh 2cqw; border-radius: 999px; background: rgba(255,255,255,.12); }
.sl-card small { font-size: 3.3cqw; opacity: .7; }
.sl-card strong { font: 700 6cqw/1 var(--font-display, "Inter Display"), sans-serif; color: #68df84; }

/* barras e listas */
.sl-bars { list-style: none; margin: 3cqh 0 2cqh; padding: 0; display: grid; gap: 1.6cqh; }
.sl-bars li { display: grid; grid-template-columns: 26cqw 1fr auto; align-items: center; gap: 3cqw; font: 600 3.8cqw/1 var(--font-sans, "Inter"), sans-serif; }
.sl-bars li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-bars li i { height: 3.2cqh; border-radius: 1cqh; background: rgba(4,20,10,.85); width: var(--w); }
.has-art .sl-bars li i { background: #d8ff3e; }
.sl-list { list-style: none; margin: 3cqh 0 0; padding: 0; display: grid; gap: 1.2cqh; }
.sl-list li { display: grid; grid-template-columns: 7cqw 1fr auto; align-items: center; gap: 3cqw; padding: 1.6cqh 4cqw; border-radius: 3cqw; background: rgba(255,255,255,.06); font-size: 3.8cqw; }
.has-art .sl-list li { background: rgba(7,9,11,.55); border: 1px solid rgba(255,255,255,.1); }
.sl-list li span { font-weight: 700; color: #d8ff3e; }
.sl-list li b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-list li em { font-style: normal; font-weight: 700; }
.sl-list li em.up { color: #68df84; } .sl-list li em.down { color: #ff626e; }

/* tela final */
.sl-shot { width: 66cqw; margin: 2cqh 0 3cqh; }
.sl-shot canvas { display: block; width: 100%; height: auto; border-radius: 3cqw; box-shadow: 0 18px 50px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); }
.sl-final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; position: relative; z-index: 5; }
.sl-final-actions button { height: 38px; font-size: 12.5px; }

@media (max-width: 860px) {
  .tros-body { grid-template-columns: 1fr; }
  .tros-side { border-left: 0; border-top: 1px solid rgba(255,255,255,.06); }
  .tros-canvas canvas, .tros-preview.is-story .tros-canvas canvas { height: auto; width: min(100%, 420px); }
  .tros-entry { margin-right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .rc-slide, .rc-slide .a, .rc-art, .sl-ridge .line, .sl-ridge .fill, .sl-ring circle.v { animation-duration: .01s !important; animation-delay: 0s !important; }
}

/* "OS" do nome TradeOS na cor acid (em qualquer lugar do app) */
.tros-os { color: #d8ff3e; font: inherit; letter-spacing: inherit; }
html[data-theme="light"] .tros-os { color: #5e7a00; }
.tros-eyebrow { color: #f2f0e9; }
.rc-stage.light .tros-os { color: #4d6400; }

/* =====================================================================
   Movimento 2.0 — fluido, no padrão Apple
   Curvas: expo (desacelera longo) para conteúdo; "iOS sheet" para janelas.
   ===================================================================== */
:root { --tros-expo: cubic-bezier(.16, 1, .3, 1); --tros-ios: cubic-bezier(.32, .72, 0, 1); --tros-spring: cubic-bezier(.34, 1.36, .64, 1); }

/* botões: resposta ao toque com mola curta */
.tros-primary, .tros-ghost, .tros-chip, .tros-x, .rc-x, .rc-pause { transition: transform .45s var(--tros-spring), background .2s ease, border-color .2s ease, color .2s ease, box-shadow .3s ease; }
.tros-primary:hover { box-shadow: 0 8px 28px rgba(216,255,62,.22); }
.tros-primary:active, .tros-ghost:active, .tros-chip:active, .tros-x:active, .rc-x:active, .rc-pause:active { transform: scale(.95); transition-duration: .12s; }

/* controle segmentado: a pílula desliza */
.tros-seg { position: relative; isolation: isolate; }
.tros-seg .tros-pill { position: absolute; z-index: -1; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / var(--n, 2)); border-radius: 9px; background: #f2f0e9; box-shadow: 0 2px 8px rgba(0,0,0,.25); transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .5s var(--tros-ios); }
.tros-seg button, .tros-seg button[aria-pressed="true"] { background: transparent; position: relative; transition: color .35s ease; }
.tros-seg button[aria-pressed="true"] { color: #050608; }
.rc-top .tros-seg .tros-pill { border-radius: 7px; background: #fff; }
.rc-stage.light .rc-top .tros-seg .tros-pill { background: #07090b; }
.rc-top .tros-seg button, .rc-top .tros-seg button[aria-pressed="true"] { background: transparent; }
.rc-top .tros-seg button[aria-pressed="true"] { color: #050608; }
.rc-stage.light .rc-top .tros-seg button[aria-pressed="true"] { color: #fff; }

/* janela do card do dia: sobe como uma folha do iOS */
.tros-modal { opacity: 0; backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); transition: opacity .4s ease, backdrop-filter .6s var(--tros-expo), -webkit-backdrop-filter .6s var(--tros-expo); }
.tros-modal.in { opacity: 1; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.tros-sheet { transform: translateY(36px) scale(.96); transition: transform .62s var(--tros-ios); }
.tros-modal.in .tros-sheet { transform: none; }
.tros-modal .tros-side > * { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .7s var(--tros-expo); }
.tros-modal.in .tros-side > * { opacity: 1; transform: none; }
.tros-modal.in .tros-side > *:nth-child(2) { transition-delay: .04s; } .tros-modal.in .tros-side > *:nth-child(3) { transition-delay: .08s; }
.tros-modal.in .tros-side > *:nth-child(4) { transition-delay: .12s; } .tros-modal.in .tros-side > *:nth-child(5) { transition-delay: .16s; }
.tros-modal.in .tros-side > *:nth-child(6) { transition-delay: .2s; } .tros-modal.in .tros-side > *:nth-child(7) { transition-delay: .24s; }

/* prévia: ao mudar algo, desfoca de leve e volta nítida */
.tros-canvas canvas { transition: opacity .45s ease, filter .45s ease, transform .6s var(--tros-expo), height .6s var(--tros-ios); }
.tros-preview.is-updating .tros-canvas canvas { opacity: .5; filter: blur(10px) saturate(.8); transform: scale(.985); transition-duration: .18s; }
.tros-dayname { overflow: hidden; }
.tros-dayname-in { animation: tros-day .55s var(--tros-expo) both; }
@keyframes tros-day { from { opacity: 0; transform: translateX(calc(var(--dir, 0) * 18px)); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* avisos e toast: entram com mola, saem rápido */
.tros-pop { transform: translateY(24px) scale(.96); filter: blur(6px); opacity: 0; transition: transform .7s var(--tros-ios), opacity .35s ease, filter .5s ease; }
.tros-pop.in { transform: none; filter: none; opacity: 1; }
.tros-pop[data-leaving] { transition-duration: .32s, .25s, .3s; transform: translateY(12px) scale(.97); }
.tros-toast { transform: translate(-50%, 24px) scale(.95); transition: transform .6s var(--tros-ios), opacity .3s ease; }
.tros-toast.show { transform: translate(-50%, 0) scale(1); }

/* retrospectiva: abre crescendo do fundo */
.tros-recap { transition: opacity .45s ease; }
.rc-stage { transform: scale(.9) translateY(24px); opacity: 0; transition: transform .75s var(--tros-ios), opacity .45s ease; }
.tros-recap.in .rc-stage { transform: none; opacity: 1; }
.rc-bars b { will-change: width; }

/* troca de tela: a que entra vem com profundidade, a que sai recua */
.rc-slide { animation: tros-enter .75s var(--tros-expo) both; }
.rc-slide.from-back { animation-name: tros-enter-back; }
@keyframes tros-enter { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes tros-enter-back { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.rc-slide.rc-leaving { z-index: 0; pointer-events: none; animation: tros-leave .6s var(--tros-expo) forwards; }
.rc-slide.rc-leaving.to-back { animation-name: tros-leave-back; }
@keyframes tros-leave { to { opacity: 0; transform: scale(.94); filter: blur(6px); } }
@keyframes tros-leave-back { to { opacity: 0; transform: scale(1.05); filter: blur(6px); } }
.rc-slide.rc-leaving * { animation: none !important; }
.rc-slide.rc-leaving .a { opacity: 1; transform: none; filter: none; }
.rc-slide.rc-leaving .sl-ring circle.v { stroke-dashoffset: calc(100 - var(--p)); }
.rc-slide.rc-leaving .sl-ridge .line { stroke-dashoffset: 0; }
.rc-slide.rc-leaving .sl-ridge .fill { opacity: 1; }

/* foto: aproxima devagar e acompanha o mouse */
.rc-art { translate: calc(var(--px, 0) * -14px) calc(var(--py, 0) * -14px); transition: opacity 1.2s ease, translate 1.2s var(--tros-expo); will-change: transform, translate; }
.rc-slide.has-art .rc-art { opacity: 1; animation: tros-drift 12s cubic-bezier(.25, .1, .25, 1) forwards; }
@keyframes tros-drift { from { transform: scale(1.1); } to { transform: scale(1.0); } }

/* texto: surge do desfoque, subindo um pouco */
.rc-slide .a { opacity: 0; transform: translateY(2.2cqh); filter: blur(12px); animation: tros-reveal 1.1s var(--tros-expo) forwards; animation-delay: var(--d, 0s); }
@keyframes tros-reveal { to { opacity: 1; transform: none; filter: blur(0); } }

/* dados entram em onda */
.sl-cal i { opacity: 0; transform: scale(.6); animation: tros-cell .7s var(--tros-expo) forwards; animation-delay: calc(.9s + var(--k, 0) * 16ms); }
@keyframes tros-cell { to { opacity: 1; transform: none; } }
.sl-bars li i { transform-origin: left; transform: scaleX(0); animation: tros-grow 1.3s var(--tros-expo) forwards; animation-delay: calc(1.05s + var(--k, 0) * 110ms); }
@keyframes tros-grow { to { transform: none; } }
.sl-list li { opacity: 0; transform: translateY(10px); animation: tros-reveal .9s var(--tros-expo) forwards; animation-delay: calc(1s + var(--k, 0) * 110ms); }
.sl-ring circle.v { animation: tros-ring 2s .55s var(--tros-expo) forwards; }
.sl-ridge .line { animation: tros-draw 2.6s .5s var(--tros-expo) forwards; }

@media (prefers-reduced-motion: reduce) {
  .rc-slide, .rc-slide .a, .rc-art, .sl-cal i, .sl-bars li i, .sl-list li, .sl-ridge .line, .sl-ridge .fill, .sl-ring circle.v, .tros-dayname-in { animation-duration: .01s !important; animation-delay: 0s !important; }
  .tros-sheet, .rc-stage, .tros-pop, .tros-seg .tros-pill { transition-duration: .01s !important; }
}
.has-art .sl-cal { width: 64%; gap: 1.2cqw; }
.rc-slide.has-art .rc-shade { background: linear-gradient(180deg, rgba(7,9,11,.9) 0%, rgba(7,9,11,.74) 40%, rgba(7,9,11,.3) 64%, rgba(7,9,11,.35) 86%, rgba(7,9,11,.82) 100%); }
.rc-slide.has-art .rc-copy { text-shadow: 0 1px 14px rgba(0,0,0,.55); }

.rc-slide b.up, .rc-slide strong.up { color: #68df84; }
.rc-slide b.down, .rc-slide strong.down { color: #ff626e; }
.rc-slide b.acid, .rc-slide .sl-acid-num, .rc-slide .sl-acid-num b { color: #d8ff3e; }
.rc-slide:not(.has-art) b.acid { color: inherit; }
.rc-slide h1.sl-date { font-size: 10.5cqw; white-space: nowrap; }

.rc-slide.sl-gold .sl-card { width: fit-content; min-width: 52%; max-width: 66%; }
.rc-slide h1.sl-acid-num, .rc-slide.has-art h1.sl-acid-num { color: #d8ff3e; }

/* ---------- 4.0: composição das telas (rótulo em cima, números ancorados embaixo) ---------- */
.rc-slide.sl-acerto .rc-copy { padding: 14.5cqh 7.5cqw 6.5cqh; }
.rc-slide .sl-eyebrow { margin: 0 0 2.2cqh; font: 600 2.7cqw/1 var(--font-sans, "Inter"), sans-serif; letter-spacing: .22em; text-transform: uppercase; color: #d8ff3e; }
.rc-slide:not(.has-art) .sl-eyebrow { color: inherit; opacity: .7; }
.rc-slide .sl-lead { font-size: 4.8cqw; line-height: 1.3; margin-bottom: 1.6cqh; }
.rc-slide.sl-acerto h1 { margin-bottom: 1.8cqh; }
.rc-slide h1.sl-huge { font-size: 26cqw; line-height: .9; letter-spacing: -.05em; }
.rc-slide .sl-mid small { font: 500 4cqw var(--font-sans, "Inter"), sans-serif; opacity: .75; letter-spacing: 0; }
.rc-copy > .sl-foot { margin-top: auto; }

/* bloco de números: vidro escuro, uma linha por dado */
.sl-stats { display: grid; border-radius: 4cqw; overflow: hidden; background: rgba(7,9,11,.58); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); text-shadow: none; }
.sl-stats > div { display: flex; align-items: baseline; justify-content: space-between; gap: 3cqw; padding: 2.1cqh 4.6cqw; }
.sl-stats > div + div { border-top: 1px solid rgba(255,255,255,.08); }
.sl-stats span { font: 500 3.5cqw/1.2 var(--font-sans, "Inter"), sans-serif; color: rgba(242,240,233,.66); }
.sl-stats > div > b { font: 700 4.4cqw/1.2 var(--font-display, "Inter Display"), sans-serif; color: #f2f0e9; text-align: right; white-space: nowrap; }
.sl-stats small { font: 500 3.2cqw var(--font-sans, "Inter"), sans-serif; opacity: .6; margin-left: 1cqw; }
.rc-slide:not(.has-art) .sl-stats { background: rgba(7,9,11,.85); color: #f2f0e9; }
.rc-copy > .sl-foot .sl-card, .rc-copy > .sl-foot .sl-list { margin-top: 0; }
.rc-slide.sl-gold .sl-foot .sl-card { width: auto; max-width: none; min-width: 0; }
.rc-slide.sl-gold .sl-foot { max-width: 64%; }

/* acerto: barra de proporção (gains | losses) que enche suave */
.sl-ratio { display: flex; gap: .9cqw; height: 2.6cqh; margin: 1.4cqh 0 0; border-radius: 99px; background: rgba(255,255,255,.08); padding: .5cqh; }
.sl-ratio i { width: var(--w); border-radius: 99px; transform-origin: left; transform: scaleX(0); animation: tros-fill 1.6s var(--tros-expo) forwards; }
.sl-ratio i.g { background: linear-gradient(90deg, rgba(216,255,62,.75), #d8ff3e); box-shadow: 0 0 22px rgba(216,255,62,.35); animation-delay: .75s; }
.sl-ratio i.z { background: rgba(242,240,233,.4); animation-delay: 1.15s; }
.sl-ratio i.r { background: #ff626e; box-shadow: 0 0 18px rgba(255,98,110,.3); transform-origin: right; animation-delay: 1.3s; }
.sl-ratio i[style*="--w:0.00%"] { display: none; }
@keyframes tros-fill { to { transform: none; } }
.rc-slide.rc-leaving .sl-ratio i { transform: none; }
@media (prefers-reduced-motion: reduce) { .sl-ratio i { animation-duration: .01s !important; animation-delay: 0s !important; } }
.sl-stats span { white-space: nowrap; flex: none; }
.sl-stats > div > b { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* capa: mês em acid, ano claro */
.rc-slide.sl-intro h1.sl-acid-num span { color: #f2f0e9; }

/* foto parada: sem seguir o mouse, só a aproximação lenta */
.rc-art { translate: none !important; }

/* Publicar na Comunidade: linha inteira embaixo de Salvar e Copiar */
.tros-actions [data-tros-post] { grid-column: 1 / -1; justify-content: center; }
.sl-final-actions [data-recap-post] { white-space: nowrap; }
