/* Treino Bravos (24/11/2026): visual de jogo com a identidade da marca (static/brand.css).
   Celular primeiro: uma coluna de até 520px; no computador a coluna fica no meio, como um app. */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body { min-height: 100dvh; background:
  radial-gradient(900px 420px at 50% -120px, rgba(212,166,44,.10), transparent 70%), var(--bg); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
b { font-weight: 600; }
svg { display: block; }

.tr-app { max-width: 520px; margin: 0 auto; min-height: 100dvh; position: relative; }
@media (min-width: 700px) {
  .tr-app { border-left: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); background: rgba(11,13,16,.6); }
}
.tr-scr { min-height: 100dvh; display: flex; flex-direction: column; }
.tr-kick { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0; }

/* chips de XP e dias seguidos */
.tr-chips { display: flex; gap: 8px; }
.tr-chip { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 11px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line); font-family: var(--mono); font-size: 13px; }
.tr-chip svg { width: 15px; height: 15px; }
.tr-chip small { font-size: 10px; color: var(--muted); letter-spacing: .06em; }
.tr-chip-xp svg { fill: var(--gold); }
.tr-chip-xp b { color: #F1D27A; }
.tr-chip-st svg { fill: #E0913C; }
.tr-chip-st.off svg { fill: var(--muted-2); }
.tr-chip.pop { animation: trPop .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes trPop { 40% { transform: scale(1.16); } }

/* ---------- trilha ---------- */
.tr-top { display: flex; align-items: center; justify-content: space-between; padding: calc(14px + env(safe-area-inset-top)) 18px 6px; }
.tr-brand { display: flex; align-items: center; gap: 10px; }
.tr-brand img { border-radius: 9px; }
.tr-brand small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tr-brand b { font-family: var(--display); font-size: 20px; font-weight: 500; }
.tr-sec { margin: 14px 18px 4px; padding: 18px 18px 16px; border-radius: 16px; border: 1px solid var(--gold-line);
  background: linear-gradient(160deg, rgba(212,166,44,.13), rgba(212,166,44,.03) 60%), var(--panel); }
.tr-sec h1 { font-family: var(--display); font-weight: 500; font-size: 28px; margin: 6px 0 6px; letter-spacing: -.01em; }
.tr-sec h1 em, .tr-fim h1 em, .tr-breve h1 em { color: var(--gold); font-style: italic; }
.tr-sec-d { margin: 0 0 14px; color: #C9C6BC; font-size: 14px; line-height: 1.5; }
.tr-sec-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; }
.tr-sec-bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.tr-sec-n { display: block; margin-top: 7px; font-family: var(--mono); font-size: 11px; color: var(--muted); }

.tr-path { list-style: none; margin: 0; padding: 26px 0 10px; display: flex; flex-direction: column; align-items: center; gap: 22px; flex: 1; }
.tr-step { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 180px; }
.tr-z0 { transform: translateX(0); } .tr-z1 { transform: translateX(62px); } .tr-z2 { transform: translateX(0); } .tr-z3 { transform: translateX(-62px); }
.tr-node { position: relative; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center;
  background: var(--panel-2); border: 1px solid var(--line); box-shadow: 0 5px 0 #07080A; transition: transform .12s; }
.tr-node:active { transform: translateY(3px); box-shadow: 0 2px 0 #07080A; }
.tr-node svg { width: 26px; height: 26px; fill: none; stroke: var(--muted-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; position: absolute; }
.tr-node .ic-play, .tr-node .ic-ok, .tr-node .ic-tr { display: none; }
.tr-node-tr .ic-lock { display: none; } .tr-node-tr .ic-tr { display: block; }
.tr-ring { position: absolute; inset: -7px; border-radius: 50%; border: 2px solid transparent; }
.tr-step.cur .tr-node { background: radial-gradient(circle at 35% 30%, #F0CB64, var(--gold) 55%, var(--gold-deep)); border-color: #F0CB64; box-shadow: 0 5px 0 #6E5212, 0 0 34px rgba(212,166,44,.35); }
.tr-step.cur .ic-lock { display: none; } .tr-step.cur .ic-play { display: block; fill: #1A1405; stroke: none; }
.tr-step.cur .tr-ring { border-color: rgba(212,166,44,.55); animation: trRing 1.8s ease-out infinite; }
@keyframes trRing { 0% { transform: scale(.92); opacity: 1; } 100% { transform: scale(1.28); opacity: 0; } }
.tr-step.done .tr-node { background: linear-gradient(160deg, #2E7D52, #1F5C3B); border-color: #3FA66B; box-shadow: 0 5px 0 #123522; }
.tr-step.done .ic-lock { display: none; } .tr-step.done .ic-ok { display: block; stroke: #E8F6EC; stroke-width: 2.6; }
.tr-step.done .ic-tr { display: none; }
.tr-step-t { font-size: 13px; font-weight: 500; text-align: center; color: var(--text); line-height: 1.3; }
.tr-step-t em { display: block; font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-top: 2px; }
.tr-step:not(.cur):not(.done) .tr-step-t { color: var(--muted); }

.tr-fine { margin: 8px 24px 16px; text-align: center; font-size: 11.5px; line-height: 1.5; color: var(--muted-2); }
.tr-nav { position: sticky; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(14,16,19,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line-soft); }
.tr-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; border-radius: 10px; text-decoration: none; font-size: 11.5px; color: var(--muted); }
.tr-nav a svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tr-nav a.on { color: var(--gold); background: var(--gold-wash); }
.tr-nav a em { font-style: normal; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- lição ---------- */
.tr-licao { height: 100dvh; min-height: 0; overflow: hidden; position: relative; }
.tr-lhead { display: flex; align-items: center; gap: 12px; padding: calc(10px + env(safe-area-inset-top)) 16px 8px; }
.tr-x { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.tr-x:hover { background: var(--panel); color: var(--text); }
.tr-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.tr-prog { flex: 1; height: 12px; border-radius: 6px; background: rgba(255,255,255,.07); overflow: hidden; }
.tr-prog i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--gold-deep), #F0CB64);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.18), inset 0 2px 0 rgba(255,255,255,.25); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.tr-body { flex: 1; min-height: 0; overflow-y: auto; padding: 6px 18px 18px; display: flex; flex-direction: column; gap: 12px; }
.tr-body.in > * { animation: trIn .38s cubic-bezier(.2,.8,.2,1) both; }
.tr-body.in > *:nth-child(2) { animation-delay: .04s; } .tr-body.in > *:nth-child(3) { animation-delay: .08s; } .tr-body.in > *:nth-child(4) { animation-delay: .12s; }
@keyframes trIn { from { opacity: 0; transform: translateY(10px); } }
.tr-qk { display: flex; align-items: center; gap: 8px; }
.tr-qk .tr-rev { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #E0913C; border: 1px solid rgba(224,145,60,.4); border-radius: 999px; padding: 2px 8px; }
.tr-qt { margin: 0; font-size: 19px; line-height: 1.4; font-weight: 500; letter-spacing: -.005em; }
.tr-qt b { color: #F1D27A; font-weight: 600; }
.tr-ttl { margin: 0; font-family: var(--display); font-weight: 500; font-size: 25px; line-height: 1.2; }
.tr-txt { margin: 0; font-size: 15.5px; line-height: 1.6; color: #D6D3C9; }
.tr-txt b { color: var(--text); }
.tr-meta { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: -4px; }
.tr-meta b { color: var(--text); font-weight: 500; }
.tr-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }
.tr-hint { margin: 0; font-size: 13px; color: var(--muted); display: flex; gap: 7px; align-items: center; }
.tr-hint svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* gráfico */
.tr-chart { position: relative; height: clamp(210px, 34vh, 330px); flex: none; border-radius: 14px; background: #101317; border: 1px solid var(--line-soft); overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.tr-chart.big { height: clamp(240px, 40vh, 380px); }
.tr-chart.act { touch-action: none; cursor: crosshair; }
.tr-chart.act::after { content: ""; position: absolute; inset: 0; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(212,166,44,.35); pointer-events: none; animation: trGlow 2.2s ease-in-out infinite; }
@keyframes trGlow { 50% { box-shadow: inset 0 0 0 1px rgba(212,166,44,.12); } }
.tr-svg, .tr-svgd { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tr-svgd { pointer-events: none; }
.tr-dt { transition: transform .75s cubic-bezier(.2,.8,.2,1); }
.tr-dt.na { transition: none; }
.tr-dt .up line { stroke: #2FBF71; } .tr-dt .up rect { fill: #2FBF71; }
.tr-dt .dn line { stroke: #E5534B; } .tr-dt .dn rect { fill: #E5534B; }
.tr-dt .nw { animation: trNw .32s ease-out both; }
@keyframes trNw { from { opacity: 0; } }
.tr-dt .band { fill: rgba(212,166,44,.06); animation: trNw .45s ease-out both; }
.tr-ov { position: absolute; inset: 0; pointer-events: none; }
.tr-ov > * { position: absolute; transition: top .75s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.tr-ov .ax { right: 6px; transform: translateY(-50%); font-family: var(--mono); font-size: 10px; color: var(--chart-ticks); }
.tr-ov .gl { left: 0; right: 50px; height: 1px; background: rgba(255,255,255,.035); }
.tr-ov .lvl { height: 0; margin-top: -1px; border-top: 1.5px dashed var(--gold); animation: trNw .45s ease-out both; }
.tr-ov .lvl.piso { border-color: #6FA8DC; }
.tr-ov .lvl.alvo { border-top: 2px dotted #2FBF71; }
.tr-ov .lvl.stop { border-top: 2px solid #E5534B; }
.tr-ov .lvl.tgt { border-top: 2px solid #F0CB64; box-shadow: 0 0 10px rgba(240,203,100,.5); }
.tr-ov .lb { transform: translateY(-50%); padding: 2px 7px; border-radius: 5px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; animation: trNw .45s ease-out both; }
.tr-ov .lb.teto { background: rgba(212,166,44,.16); color: #F1D27A; }
.tr-ov .lb.piso { background: rgba(111,168,220,.16); color: #A9CDEE; }
.tr-ov .lb.meio { background: rgba(255,255,255,.06); color: var(--muted); }
.tr-ov .lb.alvo { background: rgba(47,191,113,.16); color: #7FE0A9; }
.tr-ov .dot { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; border: 2px solid #101317; animation: trDot .45s cubic-bezier(.3,1.6,.5,1) both; }
.tr-ov .dot.teto { background: var(--gold); box-shadow: 0 0 0 3px rgba(212,166,44,.25); }
.tr-ov .dot.piso { background: #6FA8DC; box-shadow: 0 0 0 3px rgba(111,168,220,.25); }
@keyframes trDot { from { transform: scale(0); } }
.tr-ov .hl { left: 0; right: 0; height: 0; border-top: 1.5px solid; }
.tr-ov .hl span { position: absolute; right: 4px; top: 0; transform: translateY(-50%); padding: 2px 7px; border-radius: 5px; font-family: var(--mono); font-size: 10.5px; white-space: nowrap; }
.tr-ov .hl.ent { border-top-style: dashed; border-color: rgba(243,241,234,.55); }
.tr-ov .hl.ent span { background: #2A2E35; color: var(--text); }
.tr-ov .hl.stop { border-color: #E5534B; transition: opacity .3s; }
.tr-ov .hl.stop span { background: #E5534B; color: #fff; font-weight: 500; }
.tr-ov .hl.tap { border-color: #F0CB64; transition: opacity .3s; }
.tr-ov .hl.tap span { background: #F0CB64; color: #1A1405; font-weight: 500; }
.tr-ov .hl.stop::before, .tr-ov .hl.tap::before { content: ""; position: absolute; left: 50%; top: -9px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: inherit; }
.tr-ov .hl.stop::before { background: #E5534B; box-shadow: 0 0 0 5px rgba(229,83,75,.22); }
.tr-ov .hl.tap::before { background: #F0CB64; box-shadow: 0 0 0 5px rgba(240,203,100,.22); }
.tr-ov .sep { top: 0 !important; bottom: 0; width: 0; border-left: 1px dashed rgba(243,241,234,.28); animation: trNw .4s both; }
.tr-ov .sep span { position: absolute; top: 8px; left: 6px; white-space: nowrap; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--muted); }
.tr-ov .hd { width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; pointer-events: auto; touch-action: none; cursor: grab;
  display: grid; place-items: center; transition: none; }
.tr-ov .hd::after { content: ""; width: 18px; height: 18px; border-radius: 50%; background: #F0CB64; border: 3px solid #101317; box-shadow: 0 0 0 4px rgba(240,203,100,.3); }
.tr-ov .hd.drag::after { transform: scale(1.2); }
.tr-svgd .ul { stroke: #F0CB64; stroke-width: 2.2; stroke-linecap: round; }
.tr-svgd .ul.ok { stroke: #2FBF71; } .tr-svgd .ul.no { stroke: #E5534B; stroke-dasharray: 5 4; }

/* alternativas */
.tr-opts { display: flex; flex-direction: column; gap: 9px; }
.tr-op { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; border-radius: 12px; text-align: left;
  background: var(--panel); border: 1.5px solid var(--line); box-shadow: 0 3px 0 #08090B; font-size: 15px; line-height: 1.35;
  transition: border-color .15s, background .15s, transform .1s, box-shadow .1s, opacity .25s; }
.tr-op:active { transform: translateY(2px); box-shadow: 0 1px 0 #08090B; }
.tr-op-k { flex: none; width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: var(--muted); border: 1px solid var(--line); }
.tr-op.sel { border-color: var(--gold); background: linear-gradient(0deg, var(--gold-wash), var(--gold-wash)), var(--panel); }
.tr-op.sel .tr-op-k { border-color: var(--gold); color: var(--gold); }
.tr-op.ok { border-color: #2FBF71; background: rgba(47,191,113,.1); }
.tr-op.ok .tr-op-k { border-color: #2FBF71; color: #2FBF71; }
.tr-op.no { border-color: #E5534B; background: rgba(229,83,75,.09); }
.tr-op.no .tr-op-k { border-color: #E5534B; color: #E5534B; }
.tr-op.meia { border-color: #E0913C; background: rgba(224,145,60,.09); }
.tr-op.dim { opacity: .42; }
.tr-opts.lock .tr-op { pointer-events: none; }
.tr-opts.vf, .tr-opts.dec { flex-direction: row; }
.tr-opts.vf .tr-op, .tr-opts.dec .tr-op { flex: 1; flex-direction: column; justify-content: center; text-align: center; gap: 6px; min-height: 64px; font-weight: 500; }
.tr-opts.vf .tr-op-k { display: none; }
.tr-opts.dec .tr-op { min-height: 84px; }
.tr-opts.dec .tr-op svg { width: 26px; height: 26px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tr-opts.dec .buy svg { stroke: #2FBF71; } .tr-opts.dec .sell svg { stroke: #E5534B; } .tr-opts.dec .wait svg { stroke: var(--muted); }

/* resumo */
.tr-cards { display: grid; gap: 10px; }
.tr-card { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.tr-card-ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line); }
.tr-card-ic svg { width: 22px; height: 22px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tr-card-ic.teto svg { stroke: var(--gold); } .tr-card-ic.piso svg { stroke: #6FA8DC; } .tr-card-ic.meio svg { stroke: var(--muted); } .tr-card-ic.stop svg { stroke: #E5534B; }
.tr-card b { display: block; font-size: 15px; margin-bottom: 2px; }
.tr-card p { margin: 0; font-size: 14px; line-height: 1.5; color: #C9C6BC; }
.tr-card p b { display: inline; font-size: inherit; color: var(--text); margin: 0; }

/* botão principal */
.tr-foot { padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-soft); background: var(--bg); }
.tr-cta { width: 100%; height: 54px; border-radius: 14px; font-weight: 600; font-size: 16px; letter-spacing: .01em; color: #1A1405;
  background: linear-gradient(180deg, #F0CB64, var(--gold)); box-shadow: 0 4px 0 #8A6716; transition: transform .1s, box-shadow .1s, filter .2s, opacity .2s; }
.tr-cta:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 #8A6716; }
.tr-cta:disabled { background: #22262C; color: #5E6168; box-shadow: 0 4px 0 #15181C; cursor: default; }

/* resposta (sobe de baixo) */
.tr-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 18px 18px calc(14px + env(safe-area-inset-bottom));
  border-top-left-radius: 20px; border-top-right-radius: 20px; transform: translateY(105%); transition: transform .42s cubic-bezier(.2,.9,.25,1);
  background: #15211A; border-top: 1px solid #2B5A3E; box-shadow: 0 -18px 40px rgba(0,0,0,.45); }
.tr-sheet.on { transform: none; }
.tr-sheet.meia { background: #241C12; border-color: #6A4A20; }
.tr-sheet.no { background: #261616; border-color: #6B2A27; }
.tr-sh-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.tr-sh-h b { font-size: 19px; font-weight: 600; color: #7FE0A9; }
.tr-sheet.meia .tr-sh-h b { color: #F0B36A; } .tr-sheet.no .tr-sh-h b { color: #F2908A; }
.tr-sh-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #2FBF71; }
.tr-sheet.meia .tr-sh-ic { background: #E0913C; } .tr-sheet.no .tr-sh-ic { background: #E5534B; }
.tr-sh-ic svg { width: 18px; height: 18px; fill: none; stroke: #0B0D10; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tr-sh-xp { margin-left: auto; font-family: var(--mono); font-size: 13px; color: #F1D27A; background: rgba(212,166,44,.14); border-radius: 999px; padding: 4px 10px; }
.tr-sh-xp:empty { display: none; }
.tr-sh-p { margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: #E3E8E4; max-height: 34vh; overflow-y: auto; }
.tr-sheet.meia .tr-sh-p { color: #EDE3D6; } .tr-sheet.no .tr-sh-p { color: #EDDCDB; }
.tr-sh-p b { color: #fff; }
.tr-sh-p .dep { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.1); }
.tr-sheet .tr-cta { background: linear-gradient(180deg, #43D186, #2FBF71); box-shadow: 0 4px 0 #1C7445; color: #062313; }
.tr-sheet.meia .tr-cta { background: linear-gradient(180deg, #F0AE5E, #E0913C); box-shadow: 0 4px 0 #8C5418; color: #2A1704; }
.tr-sheet.no .tr-cta { background: linear-gradient(180deg, #F0746D, #E5534B); box-shadow: 0 4px 0 #8C2C27; color: #2B0806; }

/* fim da lição */
.tr-fim { justify-content: center; }
.tr-fim-in { padding: calc(28px + env(safe-area-inset-top)) 22px calc(22px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.tr-trofeu { position: relative; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 40% 35%, rgba(240,203,100,.35), rgba(212,166,44,.08) 65%); border: 1px solid var(--gold-line); animation: trPop .7s cubic-bezier(.3,1.6,.5,1) both; }
.tr-trofeu svg { width: 62px; height: 62px; fill: none; stroke: #F0CB64; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tr-trofeu i { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); opacity: 0; animation: trBurst 1s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes trBurst { 0% { opacity: 1; transform: translate(-50%,-50%) rotate(0); } 100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(220deg); } }
.tr-fim h1 { font-family: var(--display); font-weight: 500; font-size: 32px; margin: 0; }
.tr-tiles { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.tr-tile { padding: 14px 10px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); animation: trIn .45s cubic-bezier(.2,.8,.2,1) both; }
.tr-tile:nth-child(2) { animation-delay: .08s; } .tr-tile:nth-child(3) { animation-delay: .16s; } .tr-tile:nth-child(4) { animation-delay: .24s; }
.tr-tile small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.tr-tile b { font-family: var(--mono); font-size: 24px; font-weight: 500; color: var(--text); }
.tr-tile:first-child b { color: #F1D27A; }
.tr-mentor { width: 100%; display: flex; gap: 12px; text-align: left; padding: 14px; border-radius: 14px; background: rgba(91,146,201,.08); border: 1px solid rgba(91,146,201,.28); animation: trIn .45s .32s cubic-bezier(.2,.8,.2,1) both; }
.tr-mentor-ic { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(91,146,201,.18); }
.tr-mentor-ic svg { width: 20px; height: 20px; fill: none; stroke: #A9CDEE; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tr-mentor small { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #A9CDEE; }
.tr-mentor p { margin: 3px 0 0; font-size: 14px; line-height: 1.5; color: #D6DDE5; }
.tr-mentor p b { color: #fff; }
.tr-fim .tr-cta { margin-top: 6px; }

/* janela de início / confirmação */
.tr-pop { position: fixed; inset: 0; z-index: 20; display: flex; align-items: flex-end; justify-content: center; background: rgba(5,6,8,.62); animation: trFade .2s both; }
@keyframes trFade { from { opacity: 0; } }
.tr-pop-in { width: 100%; max-width: 520px; padding: 22px 20px calc(18px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; background: var(--panel); border: 1px solid var(--gold-line); border-bottom: 0; animation: trUp .35s cubic-bezier(.2,.9,.25,1) both; }
@keyframes trUp { from { transform: translateY(100%); } }
.tr-pop h2 { font-family: var(--display); font-weight: 500; font-size: 24px; margin: 6px 0 6px; }
.tr-pop-d { margin: 0 0 16px; color: #C9C6BC; font-size: 14.5px; line-height: 1.5; }
.tr-pop-d b { color: var(--text); }
.tr-pop-row { display: flex; gap: 10px; }
.tr-pop-row .tr-cta { flex: 1; }
.tr-ghost { flex: 1; height: 54px; border-radius: 14px; border: 1.5px solid var(--line); color: var(--text); font-weight: 500; }

.tr-toast { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 30; max-width: 90vw;
  padding: 10px 16px; border-radius: 12px; background: #23272E; border: 1px solid var(--line); font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.4); animation: trIn .3s both; }

/* em breve (quem não é o admin) */
.tr-breve { min-height: 100dvh; max-width: 460px; margin: 0 auto; padding: 32px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; }
.tr-breve img { border-radius: 14px; }
.tr-breve h1 { font-family: var(--display); font-weight: 500; font-size: 30px; margin: 0; line-height: 1.2; }
.tr-breve p { margin: 0; color: #C9C6BC; line-height: 1.6; }
.tr-breve-tag { margin-top: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-line); border-radius: 999px; padding: 6px 14px; }
.tr-breve-link { margin-top: 18px; font-size: 13px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
