/* PostUp — interface. Tokens da identidade aprovada (04_Paleta-e-Tokens). */
@font-face { font-family: "Hobeaux"; font-weight: 900; font-display: swap;
  src: local("Hobeaux Black"), local("Hobeaux-Black"), local("Hobeaux Demo Black"); }
/* Com licença web da Hobeaux: coloque o arquivo em assets/fonts/ e acrescente na linha acima
   , url("../assets/fonts/Hobeaux-Black.woff2") format("woff2")   (veja o README). */

:root {
  color-scheme: dark;
  --lima: #B7F34B; --carvao: #171922; --off: #F7F7F0; --roxo: #8E75ED;
  --bg: #0C0D12; --s1: #171922; --s2: #1F222D; --s3: #2A2E3B;
  --line: rgba(247, 247, 240, .09); --line-2: rgba(247, 247, 240, .16);
  --text: #F7F7F0; --mute: #A7AAB8; --faint: #6F7283;
  --gold: #FFC531; --fire: #FF6A3D; --danger: #FF7B7B;
  --r-s: 12px; --r-m: 18px; --r-l: 26px; --r-xl: 34px;
  --fd: "Hobeaux", "Baloo 2", system-ui, sans-serif;
  --fu: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --spring: cubic-bezier(.2, .9, .25, 1.25); --out: cubic-bezier(.2, .8, .2, 1);
  --tab-h: 66px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--bg); z-index: 50; }
html { height: 100%; scroll-padding-top: env(safe-area-inset-top, 0px); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font: 500 15px/1.45 var(--fu); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image: radial-gradient(900px 500px at 105% -10%, rgba(183, 243, 75, .07), transparent 60%), radial-gradient(700px 500px at -10% 110%, rgba(142, 117, 237, .08), transparent 60%); background-attachment: fixed; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2.5px solid var(--lima); outline-offset: 2px; border-radius: 8px; }
::selection { background: var(--lima); color: var(--carvao); }
.ic { flex: none; }
[hidden] { display: none !important; }

/* ---------- tipografia ---------- */
.d1 { font: 800 clamp(30px, 6vw, 44px)/1 var(--fd); letter-spacing: -.01em; }
.d2 { font: 800 26px/1.05 var(--fd); }
.d3 { font: 800 20px/1.1 var(--fd); }
.h { font-weight: 700; font-size: 16px; }
.mute { color: var(--mute); } .faint { color: var(--faint); } .lima { color: var(--lima); }
.sm { font-size: 13px; } .xs { font-size: 12px; }
.num { font-variant-numeric: tabular-nums; }
.row { display: flex; align-items: center; gap: 10px; } .col { display: flex; flex-direction: column; gap: 10px; }
.grow { flex: 1; min-width: 0; } .wrap { flex-wrap: wrap; } .between { justify-content: space-between; } .center { text-align: center; }
.trunc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gap-s { gap: 6px; } .gap-l { gap: 16px; } .mt { margin-top: 14px; } .mt-l { margin-top: 24px; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .18s var(--spring), background .15s, opacity .15s, box-shadow .2s; user-select: none; }
.btn:active { transform: scale(.96); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-lima { background: var(--lima); color: var(--carvao); box-shadow: 0 6px 0 -1px #7FB81E; }
.btn-lima:hover { background: #C6FA64; } .btn-lima:active { box-shadow: 0 2px 0 -1px #7FB81E; transform: translateY(3px) scale(.99); }
.btn-dark { background: var(--carvao); color: var(--off); } .btn-dark .ic { color: var(--lima); }
.btn-soft { background: var(--s2); color: var(--text); } .btn-soft:hover { background: var(--s3); }
.btn-line { border: 1.5px solid var(--line-2); } .btn-line:hover { border-color: var(--off); }
.btn-roxo { background: var(--roxo); color: #fff; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 13.5px; } .btn-lg { min-height: 56px; font-size: 17px; padding: 0 26px; }
.btn-block { width: 100%; }
.btn-icon { width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--s2); position: relative; transition: transform .18s var(--spring), background .15s; }
.btn-icon:hover { background: var(--s3); } .btn-icon:active { transform: scale(.9); }
.btn-icon.ghost { background: transparent; }
.link { color: var(--lima); font-weight: 700; }
.dot-count { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--roxo); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg); }

/* ---------- blocos ---------- */
.card { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px; }
.sec-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 26px 2px 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--s2); font-weight: 600; font-size: 13.5px; border: 1.5px solid transparent; transition: background .15s, transform .18s var(--spring); }
button.chip:active { transform: scale(.94); }
.chip.on { background: var(--lima); color: var(--carvao); }
.chip.pick.on2 { background: transparent; border-color: var(--roxo); color: #CFC4FF; }
.tag { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 8px; background: var(--s2); font-size: 12px; font-weight: 700; color: var(--mute); }
.tag.lima { background: rgba(183, 243, 75, .14); color: var(--lima); } .tag.roxo { background: rgba(142, 117, 237, .18); color: #C9BDFF; } .tag.gold { background: rgba(255, 197, 49, .15); color: var(--gold); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--s2); border-radius: 16px; }
.seg button { min-height: 42px; border-radius: 12px; font-weight: 700; font-size: 13.5px; color: var(--mute); display: flex; align-items: center; justify-content: center; gap: 6px; padding: 4px 8px; transition: background .2s, color .2s; }
.seg button.on { background: var(--off); color: var(--carvao); }
.field { display: flex; flex-direction: column; gap: 7px; } .field + .field { margin-top: 16px; }
.label { font-weight: 700; font-size: 13.5px; } .hint { font-size: 12.5px; color: var(--faint); }
.input { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 16px; background: var(--s2); border: 1.5px solid transparent; outline: none; transition: border-color .15s, background .15s; }
.input::placeholder { color: var(--faint); } .input:focus { border-color: var(--lima); background: var(--s1); }
textarea.input { resize: vertical; min-height: 84px; line-height: 1.4; }
input[type="date"].input { color-scheme: dark; }
.input-pre { position: relative; } .input-pre > span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--faint); font-weight: 700; } .input-pre .input { padding-left: 34px; }
.err { color: var(--danger); font-size: 13px; font-weight: 600; min-height: 18px; }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--s2); border-radius: 16px; padding: 4px; }
.stepper button { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--s3); font-size: 20px; font-weight: 800; }
.stepper output { min-width: 40px; text-align: center; font: 800 20px var(--fd); }

.avatar { --s: 40px; width: var(--s); height: var(--s); border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden; background: var(--s3); color: var(--carvao); font: 800 calc(var(--s) * .42)/1 var(--fd); position: relative; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.name { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; min-width: 0; } .name > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vbadge { flex: none; }
.crown { width: 22px; height: auto; flex: none; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .4)); }

.empty { text-align: center; padding: 34px 20px; border: 1.5px dashed var(--line-2); border-radius: var(--r-l); color: var(--mute); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty b { color: var(--text); font: 800 19px var(--fd); }
.skel { border-radius: var(--r-l); background: linear-gradient(100deg, var(--s1) 30%, var(--s2) 50%, var(--s1) 70%); background-size: 300% 100%; animation: skel 1.3s linear infinite; min-height: 110px; margin-bottom: 14px; }
@keyframes skel { to { background-position: -150% 0; } }

/* ---------- casca: mobile ---------- */
.shell { min-height: 100vh; min-height: 100dvh; }
.side, .rail { display: none; }
.mid { max-width: 640px; margin: 0 auto; padding: 0 16px calc(var(--tab-h) + 40px + env(safe-area-inset-bottom, 0px)); }
.top { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--bar)); z-index: 20; display: flex; align-items: center; justify-content: space-between; height: 62px; margin: 0 -16px; padding: 0 16px; background: linear-gradient(var(--bg) 60%, transparent); }
.top .logo { display: block; }
.view { animation: viewIn .32s var(--out) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } }
.page-h { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 6px 0 16px; }
.tabbar { position: fixed; z-index: 30; left: 50%; transform: translateX(-50%); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: min(440px, calc(100% - 24px)); height: var(--tab-h); display: grid; grid-template-columns: 1fr 1fr 76px 1fr 1fr; align-items: center; background: rgba(31, 34, 45, .86); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid var(--line-2); border-radius: 26px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7); }
.tab { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; font-weight: 700; color: var(--faint); height: 100%; justify-content: center; transition: color .15s; }
.tab .ic { transition: transform .25s var(--spring); } .tab.on { color: var(--off); } .tab.on .ic { transform: translateY(-2px) scale(1.08); color: var(--lima); }
.fab { justify-self: center; width: 62px; height: 62px; border-radius: 50%; background: var(--lima); display: grid; place-items: center; margin-top: -26px; box-shadow: 0 0 0 6px var(--bg), 0 10px 24px -4px rgba(183, 243, 75, .45); transition: transform .2s var(--spring); }
.fab:active { transform: scale(.9) rotate(-8deg); } .fab svg { transform: translate(1px, -1px); }
.fab.pulse { animation: fabPulse 2.4s ease-in-out infinite; }
@keyframes fabPulse { 50% { box-shadow: 0 0 0 6px var(--bg), 0 0 0 14px rgba(183, 243, 75, .16), 0 10px 24px -4px rgba(183, 243, 75, .45); } }
.d-only { display: none !important; }
.demo-bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; height: var(--bar); display: flex; align-items: center; justify-content: center; padding: 0 14px; background: var(--roxo); color: #fff; font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; }
body { --bar: 0px; } body.demo { --bar: 32px; }
.demo-bar button { text-decoration: underline; font-weight: 800; }

/* ---------- casca: desktop ---------- */
@media (min-width: 1100px) {
  .shell { display: grid; grid-template-columns: 252px minmax(0, 1fr) 376px; max-width: 1400px; margin: 0 auto; align-items: start; }
  .side { display: flex; flex-direction: column; position: sticky; top: var(--bar); height: calc(100vh - var(--bar)); padding: 26px 18px 20px; border-right: 1px solid var(--line); }
  .side .logo { margin: 0 8px 28px; }
  .nav-item { display: flex; align-items: center; gap: 13px; height: 50px; padding: 0 14px; border-radius: 16px; font-weight: 700; color: var(--mute); position: relative; transition: background .15s, color .15s, transform .18s var(--spring); width: 100%; text-align: left; }
  .nav-item:hover { background: var(--s1); color: var(--text); } .nav-item:active { transform: scale(.97); }
  .nav-item.on { color: var(--carvao); background: var(--lima); }
  .nav-item .dot-count { position: static; margin-left: auto; border: 0; }
  .side-cta { margin: 22px 0 0; }
  .side kbd { font: 700 11px var(--fu); padding: 2px 6px; border-radius: 6px; background: rgba(23, 25, 34, .16); margin-left: 2px; }
  .side-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 18px; background: var(--s1); border: 1px solid var(--line); text-align: left; width: 100%; transition: background .15s; }
  .side-user:hover { background: var(--s2); }
  .mid { max-width: 760px; width: 100%; padding: 30px 34px 70px; }
  .rail { display: flex; flex-direction: column; gap: 16px; position: sticky; top: var(--bar); max-height: calc(100vh - var(--bar)); overflow-y: auto; padding: 30px 24px 30px 4px; scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .top, .tabbar, .m-only { display: none !important; }
  .d-only { display: revert !important; } .d-only.row, .d-only.btn, .d-only.sec-h { display: flex !important; }
  .shell.wide { grid-template-columns: 252px minmax(0, 1fr); } .shell.wide .rail { display: none; } .shell.wide .mid { max-width: 1040px; }
}

/* ---------- início ---------- */
.hero { position: relative; overflow: hidden; background: var(--lima); color: var(--carvao); border-radius: var(--r-xl); padding: 24px 22px 22px; display: grid; gap: 18px; isolation: isolate; }
.hero h1 { font: 800 clamp(31px, 8.4vw, 40px)/.98 var(--fd); max-width: 6.4em; }
.hero p { font-weight: 600; max-width: 13em; margin-top: 8px; }
.hero .btn { justify-self: stretch; }
.hero-art { position: absolute; right: 2px; top: 18px; width: 118px; z-index: -1; transform: rotate(8deg); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: rotate(5deg) translateY(-5px); } }
.hero.done { background: var(--s1); color: var(--text); border: 1.5px solid var(--lima); } .hero.done .btn-dark { background: var(--lima); color: var(--carvao); } .hero.done .btn-dark .ic { color: var(--carvao); }
.hero-goal { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13.5px; }
.ring { --p: 0; width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(currentColor calc(var(--p) * 1%), rgba(23, 25, 34, .16) 0); font-size: 11px; font-weight: 800; position: relative; }
.ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--lima); } .ring > * { position: relative; }
.hero.done .ring { background: conic-gradient(var(--lima) calc(var(--p) * 1%), var(--s3) 0); } .hero.done .ring::before { background: var(--s1); }
@media (min-width: 560px) { .hero { padding: 30px; } .hero h1 { max-width: 12em; } .hero p { max-width: 18em; } .hero-art { width: 170px; right: 18px; top: 18px; } .hero .btn { justify-self: start; min-width: 280px; } }

.streak { display: flex; align-items: center; gap: 14px; }
.streak-fire { width: 54px; height: 54px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; flex: none; } .streak-fire img { width: 34px; }
.streak-fire.off img { filter: grayscale(1) opacity(.45); }
.streak-n { font: 800 26px/1 var(--fd); color: var(--lima); } .streak-n.off { color: var(--mute); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 14px; }
.wd { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--faint); }
.wd i { width: 100%; max-width: 34px; aspect-ratio: 1; border-radius: 50%; background: var(--s2); display: grid; place-items: center; color: var(--carvao); }
.wd.done i { background: var(--lima); } .wd.today { color: var(--text); } .wd.today:not(.done) i { box-shadow: inset 0 0 0 2px var(--lima); } .wd.future i { opacity: .45; }

.rank-row { display: grid; grid-template-columns: 30px auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 16px; width: 100%; text-align: left; animation: rowIn .45s var(--out) both; animation-delay: calc(var(--i, 0) * 50ms); transition: background .15s; }
button.rank-row:hover { background: var(--s2); }
@keyframes rowIn { from { opacity: 0; transform: translateX(-12px); } }
.rank-row.me { background: rgba(183, 243, 75, .12); box-shadow: inset 0 0 0 1px rgba(183, 243, 75, .25); }
.pos { font: 800 16px var(--fd); color: var(--mute); text-align: center; } .rank-row.p1 .pos { color: var(--gold); } .rank-row.me .pos { color: var(--lima); }
.pts { font-weight: 800; color: var(--lima); white-space: nowrap; } .pts small { font-weight: 600; opacity: .8; font-size: 12px; }
.rank-sub { font-size: 12px; color: var(--faint); font-weight: 600; display: flex; gap: 6px; align-items: center; }
.goal-ok { color: var(--lima); display: inline-flex; }
.gswitch { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px 10px; padding: 0 18px; } .gswitch::-webkit-scrollbar { display: none; } .gswitch .chip { flex: none; }

.gscroll { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 280px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; } .gscroll::-webkit-scrollbar { display: none; }
.ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.gcard { position: relative; overflow: hidden; border-radius: var(--r-l); aspect-ratio: 16/11; background: var(--s2); display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; text-align: left; scroll-snap-align: start; isolation: isolate; transition: transform .25s var(--spring); width: 100%; }
.gcard:hover { transform: translateY(-4px); } .gcard:active { transform: scale(.98); }
.gcard img.cv, .cover-fb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.gcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 25%, rgba(12, 13, 18, .92)); }
.gcard .tag { align-self: flex-start; margin-bottom: auto; background: rgba(12, 13, 18, .7); backdrop-filter: blur(6px); }
.gcard h3 { font: 800 21px/1.05 var(--fd); margin-bottom: 4px; }
.cover-fb { display: grid; place-items: center; background: var(--s2); } .cover-fb svg { opacity: .9; width: 46%; height: auto; transform: rotate(-8deg); }

/* ---------- postups ---------- */
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pgrid.one { grid-template-columns: 1fr; }
@media (min-width: 700px) { .pgrid.three, .pgrid.four { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pgrid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pcard { background: var(--s1); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; animation: viewIn .4s var(--out) both; animation-delay: calc(var(--i, 0) * 40ms); }
.pshot { position: relative; aspect-ratio: 4/5; background: var(--s2); overflow: hidden; width: 100%; display: block; }
.pgrid.one .pshot { aspect-ratio: 1; }
.pshot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--out); } .pcard:hover .pshot img { transform: scale(1.04); }
.pshot .tag { position: absolute; left: 10px; top: 10px; background: rgba(12, 13, 18, .72); backdrop-filter: blur(6px); color: var(--off); }
.pshot .tag.match { top: auto; bottom: 10px; background: var(--roxo); color: #fff; }
.pmeta { padding: 10px 12px 4px; display: flex; align-items: center; gap: 8px; }
.pact { display: flex; align-items: center; gap: 2px; padding: 2px 6px 8px; }
.act { display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 8px; border-radius: 12px; font-weight: 700; font-size: 13px; color: var(--mute); transition: color .15s, background .15s; }
.act:hover { background: var(--s2); color: var(--text); } .act.on { color: var(--lima); } .act.on .ic { fill: var(--lima); animation: pop .4s var(--spring); }
@keyframes pop { 0% { transform: scale(.5) rotate(-18deg); } 60% { transform: scale(1.35) rotate(8deg); } }
.act.end { margin-left: auto; }

/* ---------- desafio ---------- */
.ghead { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; isolation: isolate; background: var(--s2); }
.ghead img.cv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ghead::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(12, 13, 18, .25), rgba(12, 13, 18, .93)); }
.ghead .back { position: absolute; top: 14px; left: 14px; background: rgba(12, 13, 18, .6); backdrop-filter: blur(8px); } .ghead .more { position: absolute; top: 14px; right: 14px; background: rgba(12, 13, 18, .6); backdrop-filter: blur(8px); }
.rules { display: grid; gap: 12px; } .rule { display: flex; gap: 12px; align-items: flex-start; } .rule .ic { color: var(--lima); margin-top: 1px; } .rule b { display: block; } .rule span { color: var(--mute); font-size: 13.5px; }
.tabs { display: flex; gap: 6px; margin: 18px 0 14px; padding: 4px; background: var(--s1); border-radius: 18px; border: 1px solid var(--line); }
.tabs button { flex: 1; min-height: 42px; border-radius: 14px; font-weight: 700; color: var(--mute); transition: background .2s, color .2s; } .tabs button.on { background: var(--off); color: var(--carvao); }
.invite { background: var(--roxo); color: #fff; border-radius: var(--r-l); padding: 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; position: relative; overflow: hidden; }
.invite .code { display: flex; align-items: center; gap: 8px; background: rgba(23, 25, 34, .28); border-radius: 14px; padding: 6px 6px 6px 14px; font-size: 13px; font-weight: 600; } .invite .code span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.invite .btn-icon { background: var(--off); color: var(--carvao); width: 38px; height: 38px; }
@media (min-width: 1100px) { .gcols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; } .gcols > aside { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; } .ghead { min-height: 250px; padding: 28px; } }

.ghead-wrap { position: relative; }
@media (max-width: 1099px) { .tab-off { display: none !important; } }

/* ---------- camadas: folhas e modais ---------- */
.ov { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; background: rgba(6, 7, 10, .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .22s both; }
.ov.out { animation: fade .2s reverse both; } .ov.out .sheet { animation: sheetOut .2s ease-in both; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: relative; width: 100%; max-width: 560px; max-height: calc(100dvh - 28px - env(safe-area-inset-top, 0px)); background: var(--s1); border: 1px solid var(--line-2); border-bottom: 0; border-radius: 30px 30px 0 0; display: flex; flex-direction: column; animation: sheetIn .38s var(--out) both; overflow: hidden; }
@keyframes sheetIn { from { transform: translateY(60%); opacity: .4; } } @keyframes sheetOut { to { transform: translateY(30%); opacity: 0; } }
.sheet-h { display: flex; align-items: center; gap: 10px; padding: 16px 16px 10px 22px; flex: none; } .sheet-h h2 { flex: 1; font: 800 22px/1.1 var(--fd); }
.sheet-b { padding: 6px 22px 22px; overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.sheet-f { padding: 12px 22px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); flex: none; display: flex; gap: 10px; background: var(--s1); }
.sheet.full { max-height: none; height: 100dvh; border-radius: 0; max-width: none; border: 0; }
.grab { width: 44px; height: 5px; border-radius: 3px; background: var(--s3); margin: 10px auto 0; flex: none; }
@media (min-width: 1100px) {
  .ov { align-items: center; padding: 30px; }
  .sheet, .sheet.full { border-radius: 30px; border-bottom: 1px solid var(--line-2); max-height: min(820px, calc(100vh - 60px)); height: auto; animation-name: modalIn; }
  @keyframes modalIn { from { transform: scale(.94) translateY(14px); opacity: 0; } }
  .sheet.wide { max-width: 940px; } .sheet.full { max-width: 1060px; width: 100%; height: min(760px, calc(100vh - 60px)); border: 1px solid var(--line-2); }
  .grab { display: none; }
}
.drop { position: relative; border: 2px dashed var(--line-2); border-radius: 22px; min-height: 190px; display: grid; place-items: center; text-align: center; padding: 18px; color: var(--mute); cursor: pointer; transition: border-color .15s, background .15s; overflow: hidden; }
.drop:hover, .drop.over { border-color: var(--lima); background: rgba(183, 243, 75, .06); }
.drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .drop.has { border-style: solid; border-color: var(--lima); min-height: 260px; }
.drop .swap { position: absolute; right: 10px; bottom: 10px; z-index: 1; }
.compose .drop img { object-fit: contain; background: #000; } .compose .drop { margin-bottom: 16px; }
.drop.round { width: 104px; height: 104px; min-height: 0; border-radius: 50%; padding: 0; flex: none; }
.drop.cover { min-height: 140px; aspect-ratio: 16/8; }
@media (min-width: 1100px) { .compose { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; } .compose .drop { min-height: 100%; height: 100%; aspect-ratio: 4/5; margin-bottom: 0; } }
.gpick { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--s2); width: 100%; text-align: left; border: 1.5px solid transparent; transition: border-color .15s; }
.gpick + .gpick { margin-top: 8px; } .gpick.on { border-color: var(--lima); } .gpick.off { opacity: .5; }
.gpick .box { width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--line-2); display: grid; place-items: center; color: transparent; flex: none; } .gpick.on .box { background: var(--lima); border-color: var(--lima); color: var(--carvao); }

/* ---------- detalhe do postup ---------- */
.pd { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.pd-media { background: #000; display: grid; place-items: center; flex: none; max-height: 46dvh; overflow: hidden; position: relative; } .pd-media img { max-height: 46dvh; width: 100%; object-fit: contain; }
.pd-side { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.pd-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.pd-list { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 14px; overscroll-behavior: contain; }
.cmt { display: flex; gap: 10px; align-items: flex-start; animation: viewIn .3s var(--out) both; } .cmt p { overflow-wrap: anywhere; } .cmt .who { display: flex; gap: 6px; align-items: center; font-size: 13.5px; }
.pd-foot { border-top: 1px solid var(--line); padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0px)); }
.pd-send { display: flex; gap: 8px; align-items: center; margin-top: 4px; } .pd-send .input { min-height: 44px; border-radius: 22px; }
.pd .close { position: absolute; top: 12px; right: 12px; z-index: 3; background: rgba(12, 13, 18, .6); backdrop-filter: blur(8px); }
@media (min-width: 1100px) { .pd { flex-direction: row; } .pd-media { flex: 1.25; max-height: none; } .pd-media img { max-height: 100%; height: 100%; } .pd-side { flex: 1; max-width: 420px; border-left: 1px solid var(--line); } .pd-foot { padding-bottom: 12px; } .pd .close { right: auto; left: 12px; } }

/* ---------- "Postou. Pontuou. Subiu." ---------- */
.win { position: fixed; inset: 0; z-index: 80; background: var(--lima); color: var(--carvao); display: grid; place-items: center; padding: 28px; text-align: center; animation: winIn .5s var(--out) both; overflow: hidden; }
@keyframes winIn { from { clip-path: circle(0 at 50% 100%); } to { clip-path: circle(150% at 50% 100%); } }
.win.out { animation: winOut .35s ease-in both; } @keyframes winOut { to { transform: translate(40%, -100%) rotate(8deg); opacity: 0; } }
.win-in { display: grid; gap: 20px; justify-items: center; max-width: 420px; width: 100%; }
.win-shot { width: 120px; aspect-ratio: 4/5; border-radius: 20px; overflow: hidden; border: 5px solid var(--carvao); transform: rotate(-6deg); box-shadow: 10px 12px 0 rgba(23, 25, 34, .18); animation: shotIn .7s var(--spring) both; } .win-shot img { width: 100%; height: 100%; object-fit: cover; }
@keyframes shotIn { from { transform: translate(-60px, 120px) rotate(-30deg) scale(.4); opacity: 0; } }
.beats { display: grid; gap: 0; font: 800 clamp(40px, 12vw, 62px)/1.02 var(--fd); }
.beat { opacity: .16; transform: translateY(8px) scale(.94); transition: opacity .25s, transform .45s var(--spring); } .beat.on { opacity: 1; transform: none; } .beat.skip { opacity: .16; }
.win-rows { display: grid; gap: 8px; width: 100%; }
.win-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--carvao); color: var(--off); border-radius: 18px; padding: 12px 16px; font-weight: 700; text-align: left; opacity: 0; transform: translateY(14px); transition: opacity .3s, transform .45s var(--spring); } .win-row.on { opacity: 1; transform: none; }
.win-row .mv { color: var(--lima); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-weight: 800; }
.win .btn { opacity: 0; transition: opacity .3s; } .win .btn.on { opacity: 1; }
.unlock { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(6, 7, 10, .82); backdrop-filter: blur(10px); padding: 28px; text-align: center; animation: fade .3s both; }
.unlock img { width: 150px; animation: medalIn .9s var(--spring) both; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .5)); } @keyframes medalIn { from { transform: scale(0) rotate(-40deg); } 60% { transform: scale(1.2) rotate(8deg); } }
.unlock .halo { position: absolute; width: 340px; height: 340px; border-radius: 50%; background: conic-gradient(from 0deg, transparent, rgba(183, 243, 75, .35), transparent 30%, rgba(142, 117, 237, .35), transparent 60%, rgba(255, 197, 49, .3), transparent 90%); animation: spin 6s linear infinite; filter: blur(14px); z-index: -1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- perfil ---------- */
.prof-top { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding-top: 8px; }
.prof-top .avatar { --s: 104px; box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--line-2); } .prof-top .avatar.pro { box-shadow: 0 0 0 4px var(--bg), 0 0 0 7px var(--lima); }
.prof-top .name { font: 800 27px/1.1 var(--fd); gap: 6px; } .prof-id { align-items: center; gap: 6px; } .featured .tag { align-self: flex-start; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }
.soc { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--s1); border: 1px solid var(--line); font-weight: 600; font-size: 13px; color: var(--mute); }
a.soc { color: var(--text); border-color: rgba(183, 243, 75, .4); transition: transform .18s var(--spring), background .15s; } a.soc:hover { background: var(--lima); color: var(--carvao); transform: translateY(-2px); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; } .stat { background: var(--s1); border: 1px solid var(--line); border-radius: 20px; padding: 14px 8px; text-align: center; } .stat b { display: block; font: 800 24px/1 var(--fd); color: var(--lima); } .stat span { font-size: 12px; color: var(--mute); font-weight: 600; }
.medals { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.medal { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 11px; font-weight: 700; line-height: 1.15; padding: 6px 2px; border-radius: 14px; transition: transform .2s var(--spring), background .15s; }
.medal:hover { background: var(--s2); transform: translateY(-3px); } .medal img { width: 46px; height: 46px; object-fit: contain; } .medal.off img { filter: grayscale(1) brightness(.5) opacity(.7); } .medal.off { color: var(--faint); }
.featured { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px; border-radius: 22px; background: linear-gradient(120deg, rgba(183, 243, 75, .16), rgba(142, 117, 237, .16)); border: 1.5px solid rgba(183, 243, 75, .4); text-align: left; width: 100%; } .featured img { width: 96px; aspect-ratio: 4/5; object-fit: cover; border-radius: 14px; }
@media (min-width: 1100px) { .prof-top { flex-direction: row; text-align: left; align-items: center; gap: 24px; } .prof-id { align-items: flex-start; } .prof-top .socials { justify-content: flex-start; } .prof-top .avatar { --s: 124px; } .stats { max-width: 460px; } }

/* ---------- plano pago ---------- */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.pro-card { position: relative; border-radius: var(--r-l); padding: 2px; background: conic-gradient(from var(--ang), var(--lima), var(--roxo), var(--gold), var(--lima)); animation: ang 5s linear infinite; text-align: left; width: 100%; display: block; }
@keyframes ang { to { --ang: 360deg; } }
.pro-in { background: #12131A; border-radius: 24px; padding: 18px; display: grid; gap: 12px; position: relative; overflow: hidden; }
.pro-in::before { content: ""; position: absolute; width: 60%; height: 220%; top: -60%; left: -80%; background: linear-gradient(90deg, transparent, rgba(247, 247, 240, .09), transparent); transform: rotate(18deg); animation: sweep 4.2s ease-in-out infinite; } @keyframes sweep { 60%, 100% { left: 130%; } }
.pro-badge { animation: badge 2.6s var(--spring) infinite; transform-origin: center; } @keyframes badge { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.12) rotate(10deg); } }
.pro-rot { position: relative; height: 44px; } .pro-rot > div { position: absolute; inset: 0; display: flex; align-items: center; gap: 10px; font-weight: 700; opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .5s var(--spring); } .pro-rot > div.on { opacity: 1; transform: none; } .pro-rot .ic { color: var(--lima); }
.price { font: 800 34px/1 var(--fd); } .price small { font: 600 14px var(--fu); color: var(--mute); }
.benefit { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 20px; background: var(--s1); border: 1px solid var(--line); animation: viewIn .45s var(--out) both; animation-delay: calc(var(--i) * 70ms); } .benefit .bi { width: 44px; height: 44px; border-radius: 14px; background: rgba(183, 243, 75, .14); color: var(--lima); display: grid; place-items: center; flex: none; } .benefit span { color: var(--mute); font-size: 13.5px; display: block; }
.soon { position: relative; border-radius: var(--r-l); border: 2px dashed var(--gold); padding: 20px; display: grid; gap: 12px; background: rgba(255, 197, 49, .06); }
.stamp { justify-self: start; font: 800 26px/1 var(--fd); color: var(--gold); border: 3px solid var(--gold); border-radius: 12px; padding: 8px 14px 5px; transform: rotate(-5deg); letter-spacing: .04em; animation: stamp .6s var(--spring) both .3s; } @keyframes stamp { from { transform: rotate(-20deg) scale(2.4); opacity: 0; } }
.pay-mock { display: grid; gap: 8px; opacity: .45; pointer-events: none; } .pay-mock div { height: 48px; border-radius: 14px; background: var(--s2); display: flex; align-items: center; padding: 0 14px; font-weight: 600; color: var(--mute); gap: 10px; }
.checkout { display: grid; gap: 22px; }
@media (min-width: 900px) { .checkout { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; } .checkout > aside { position: sticky; top: 24px; } }
.offer { text-align: center; display: grid; gap: 16px; justify-items: center; } .offer .big { font: 800 clamp(30px, 8vw, 40px)/1 var(--fd); } .offer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; text-align: left; width: 100%; } .offer li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; } .offer li .ic { color: var(--lima); margin-top: 1px; }

/* ---------- entrar ---------- */
.auth { min-height: 100dvh; display: grid; }
.auth-brand { background: var(--lima); color: var(--carvao); padding: 34px 24px 30px; display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; border-radius: 0 0 34px 34px; }
.auth-brand h1 { font: 800 clamp(38px, 11vw, 76px)/.95 var(--fd); } .auth-brand h1 span { display: block; animation: beatIn .6s var(--spring) both; } .auth-brand h1 span:nth-child(2) { animation-delay: .12s; margin-left: .35em; } .auth-brand h1 span:nth-child(3) { animation-delay: .24s; margin-left: .7em; }
@keyframes beatIn { from { opacity: 0; transform: translate(-24px, 24px); } }
.auth-brand p { font-weight: 600; max-width: 26em; } .auth-brand .logo { align-self: flex-start; }
.auth-form { padding: 26px 22px 40px; width: 100%; max-width: 440px; margin: 0 auto; align-self: start; }
.gbtn { background: var(--off); color: var(--carvao); } .or { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 12.5px; font-weight: 700; margin: 18px 0; } .or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
@media (min-width: 900px) { .auth { grid-template-columns: 1.1fr 1fr; } .auth-brand { border-radius: 0 44px 44px 0; padding: 56px; justify-content: center; } .auth-form { align-self: center; } }

/* ---------- avisos ---------- */
.ntf { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 18px; width: 100%; text-align: left; transition: background .15s; } .ntf:hover { background: var(--s1); } .ntf.unread { background: rgba(142, 117, 237, .13); } .ntf .ni { width: 42px; height: 42px; border-radius: 50%; background: var(--s2); display: grid; place-items: center; flex: none; color: var(--lima); }
#toasts { position: fixed; z-index: 120; left: 50%; transform: translateX(-50%); top: calc(14px + env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { background: var(--off); color: var(--carvao); font-weight: 700; padding: 12px 18px; border-radius: 16px; box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .6); animation: toastIn .4s var(--spring) both; display: flex; align-items: center; gap: 8px; max-width: 100%; } .toast.out { animation: toastOut .25s ease-in both; } .toast.bad { background: var(--danger); }
@keyframes toastIn { from { transform: translateY(-24px) scale(.9); opacity: 0; } } @keyframes toastOut { to { transform: translateY(-12px); opacity: 0; } }
@media (min-width: 1100px) { #toasts { top: auto; bottom: 30px; } }
#fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 100; pointer-events: none; display: none; }
.menu { position: absolute; z-index: 5; right: 14px; top: 62px; background: var(--s2); border: 1px solid var(--line-2); border-radius: 18px; padding: 6px; min-width: 210px; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .7); animation: viewIn .2s both; } .menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border-radius: 12px; font-weight: 600; text-align: left; } .menu button:hover { background: var(--s3); } .menu .bad { color: var(--danger); }
.set-row { display: flex; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); width: 100%; text-align: left; font-weight: 600; } .set-row:last-child { border: 0; } .set-row .ic { color: var(--mute); }
.switch { width: 46px; height: 28px; border-radius: 14px; background: var(--s3); position: relative; transition: background .2s; flex: none; } .switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--off); transition: transform .25s var(--spring); } .switch.on { background: var(--lima); } .switch.on::after { transform: translateX(18px); background: var(--carvao); }

/* ---------- splash ---------- */
#splash { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: grid; place-items: center; overflow: hidden; }
#splash.go { animation: splashOut .5s ease-in forwards 2.25s; } @keyframes splashOut { to { opacity: 0; visibility: hidden; transform: scale(1.08); } }
#splash .burst { position: absolute; width: 40vmax; height: 40vmax; border-radius: 50%; background: var(--lima); transform: scale(0); } #splash.go .burst { animation: burst .9s var(--out) both .1s; } @keyframes burst { 0% { transform: scale(0); opacity: .9; } 100% { transform: scale(4); opacity: 0; } }
#splash svg { width: min(74vw, 420px); height: auto; overflow: visible; position: relative; }
#splash .sp-body { transform-box: fill-box; transform-origin: 50% 60%; transform: scale(0); } #splash.go .sp-body { animation: spP .7s var(--spring) both .15s; } @keyframes spP { from { transform: scale(0) rotate(-25deg); } to { transform: none; } }
#splash .sp-play { transform-box: fill-box; transform-origin: center; opacity: 0; } #splash.go .sp-play { animation: spPlay .6s var(--spring) both .55s; } @keyframes spPlay { from { opacity: 0; transform: translate(-70px, 70px) scale(.3); } to { opacity: 1; transform: none; } }
#splash .sp-word { clip-path: inset(0 100% 0 0); } #splash.go .sp-word { animation: spWord .6s var(--out) both .85s; } @keyframes spWord { to { clip-path: inset(0 0 0 0); } }
#splash .sp-d { transform-box: fill-box; transform-origin: 0% 100%; transform: scale(0); } #splash.go .sp-d { animation: spD .4s var(--spring) both; } #splash.go .sp-d0 { animation-delay: 1.3s; } #splash.go .sp-d1 { animation-delay: 1.38s; } #splash.go .sp-d2 { animation-delay: 1.46s; } @keyframes spD { to { transform: none; } }
#splash p { position: absolute; bottom: calc(18% + env(safe-area-inset-bottom, 0px)); left: 0; right: 0; text-align: center; font: 800 clamp(17px, 4.6vw, 24px) var(--fd); display: flex; gap: .4em; justify-content: center; } #splash p span { opacity: 0; } #splash.go p span { animation: beatIn .45s var(--spring) both; } #splash.go p span:nth-child(1) { animation-delay: 1.45s; } #splash.go p span:nth-child(2) { animation-delay: 1.62s; } #splash.go p span:nth-child(3) { animation-delay: 1.79s; color: var(--lima); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  #splash.go { animation: splashOut .2s forwards .6s; }
}
