@font-face { font-family: 'Bricolage'; src: url('/assets/fonts/bricolage.woff2') format('woff2'); font-weight: 500 800; font-display: swap; }

:root {
  --bg: #000; --ink: #fff; --soft: rgba(255,255,255,.66); --faint: rgba(255,255,255,.42); --line: rgba(255,255,255,.12);
  --lime: #c6ff3d; --pink: #ff3b6b; --violet: #8b6cff; --panel: #141416; --panel2: #1d1d21;
  --ui: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --display: 'Bricolage', var(--ui);
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); font-family: var(--ui); overscroll-behavior: none; }
body { overflow: hidden; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
a { color: inherit; }

/* ---------- the frame: full screen on a phone, a phone on a computer ---------- */
.wrap { height: 100dvh; display: flex; align-items: center; justify-content: center; gap: 72px; }
.side { display: none; }
.stage { position: relative; width: 100vw; height: 100dvh; overflow: hidden; background: #000; isolation: isolate; }
@media (min-width: 720px) {
  .stage { --h: min(calc(100dvh - 40px), 900px); height: var(--h); width: calc(var(--h) * 9 / 16); border-radius: 30px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px rgba(0,0,0,.6); }
  body { background: #0b0b0d; }
}
@media (min-width: 1040px) {
  body.at-home .side { display: block; width: 470px; }
  body.at-home .pitch { display: none; }
  body.at-home .hometop .mark { visibility: hidden; }
}
.side .mark { font-size: 34px; }
.side h1 { font-family: var(--display); font-weight: 800; font-size: 58px; line-height: .98; letter-spacing: -.035em; margin: 28px 0 18px; }
.side .lede { color: var(--soft); font-size: 18px; line-height: 1.45; margin: 0 0 28px; max-width: 380px; }
.side .fine { margin-top: 14px; }

.mark { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -.04em; text-decoration: none; display: inline-flex; align-items: baseline; gap: 2px; }
.mark i { width: .26em; height: .26em; border-radius: 2px; background: var(--lime); display: inline-block; transform: translateY(-.05em) rotate(45deg); }

.view { position: absolute; inset: 0; display: flex; flex-direction: column; }

/* ---------- buttons ---------- */
.btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 999px; background: var(--lime); color: #000; font-weight: 700; font-size: 16px; letter-spacing: -.01em; transition: transform .12s ease, opacity .2s; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; }
.btn.big { height: 56px; font-size: 17px; padding: 0 30px; }
.btn.block { width: 100%; }
.btn.light { background: #fff; color: #111; }
.btn.dark { background: var(--panel2); color: #fff; }
.btn .g { width: 20px; height: 20px; }
.pill { height: 34px; padding: 0 14px; border-radius: 999px; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.pill.ghost { background: rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.link { color: var(--soft); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; padding: 8px; }
.fine { color: var(--faint); font-size: 13px; margin: 10px 0 0; }
.soft { color: var(--soft); }
.ico { width: 24px; height: 24px; display: block; }

/* ---------- the landing ---------- */
.feed { position: absolute; inset: 0; overflow: hidden; }
.hometop { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: calc(var(--safe-t) + 12px) 16px 0; }
.pitch { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 80px 20px calc(var(--safe-b) + 22px); background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.78) 55%, rgba(0,0,0,0)); text-align: left; }
.pitch h1 { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 11vw, 48px); line-height: .98; letter-spacing: -.035em; margin: 0 0 10px; }
.pitch p { color: var(--soft); font-size: 15px; line-height: 1.4; margin: 0 0 16px; max-width: 340px; }
.pitch .btn { width: 100%; }
.pitch .fine { text-align: center; }
#v-home .post .meta { bottom: calc(var(--pitch-h, 250px) + 6px); }
#v-home .post .rail { bottom: calc(var(--pitch-h, 250px) + 10px); }
#v-home .post .floaters { bottom: calc(var(--pitch-h, 250px) + 104px); }
#v-home .post .floaters .fl:nth-last-child(n+3) { display: none; }
#v-home .post .top { display: none; }
#v-home .post .rail .me-av, #v-home .post .rail .disc { display: none; }
@media (min-width: 1040px) { body.at-home #v-home .post .meta { bottom: 18px; } body.at-home #v-home .post .rail { bottom: 24px; } body.at-home #v-home .post .floaters { bottom: 116px; } }

/* ---------- a post, as the feed shows it ---------- */
.post { position: absolute; inset: 0; overflow: hidden; background: #000; transition: transform .55s cubic-bezier(.7,0,.2,1); }
.post .media { position: absolute; inset: 0; }
.post .media .blur { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(30px) brightness(.55); }
.post .media img, .post .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post .media.contain img, .post .media.contain video { object-fit: contain; }
.post .media img.kb { animation: kb 16s ease-in-out infinite alternate; transform-origin: 50% 40%; }
@keyframes kb { from { transform: scale(1.02); } to { transform: scale(1.12) translateY(-1.5%); } }
.post .shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 16%, rgba(0,0,0,0) 55%, rgba(0,0,0,.6) 100%); }

.post .top { position: absolute; top: 0; left: 0; right: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; padding: calc(var(--safe-t) + 10px) 10px 0; gap: 8px; }
.iconbtn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; position: relative; }
.iconbtn.glass { background: rgba(0,0,0,.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.badge { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--pink); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 5px; border: 2px solid #000; }
.views { height: 36px; padding: 0 14px 0 10px; border-radius: 999px; background: rgba(0,0,0,.4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.views .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(255,59,107,.6); animation: ping 1.6s infinite; }
.views.done .dot { background: var(--lime); animation: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255,59,107,.6); } 70% { box-shadow: 0 0 0 9px rgba(255,59,107,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,107,0); } }
.views small { font-weight: 600; color: var(--soft); font-size: 12px; }

.rail { position: absolute; right: 8px; bottom: calc(var(--safe-b) + 92px); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.rail > button, .rail > div { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 52px; }
.rail .ico { width: 34px; height: 34px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.45)); }
.rail b { font-size: 12.5px; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,.6); font-variant-numeric: tabular-nums; }
.rail .me-av { position: relative; margin-bottom: 6px; }
.rail .me-av .av { border: 2px solid #fff; }
.rail .me-av .plus { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 20px; height: 20px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; font-size: 15px; font-weight: 800; line-height: 1; }
.rail .liked .ico { color: var(--pink); }
.rail .pop { animation: pop .35s ease; }
@keyframes pop { 40% { transform: scale(1.25); } }
.disc { width: 44px; height: 44px; border-radius: 50%; background: conic-gradient(#222, #444, #222, #444, #222); border: 8px solid #111; animation: spin 5s linear infinite; position: relative; }
.disc::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: var(--c, var(--lime)); }
@keyframes spin { to { transform: rotate(360deg); } }

.post .meta { position: absolute; left: 12px; right: 76px; bottom: calc(var(--safe-b) + 18px); z-index: 4; text-shadow: 0 1px 2px rgba(0,0,0,.55); }
.post .meta .who { font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 6px; }
.post .meta .cap { margin: 5px 0 8px; font-size: 14.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post .meta .cap .tag { font-weight: 700; }
.post .meta .snd { display: flex; align-items: center; gap: 6px; font-size: 13.5px; white-space: nowrap; }
.post .meta .snd .ico { width: 16px; height: 16px; flex: none; }
.post .meta .snd .mq { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(to right, #000 80%, transparent); mask-image: linear-gradient(to right, #000 80%, transparent); }
.post .meta .snd .mq span { display: inline-block; animation: marq 10s linear infinite; white-space: nowrap; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.post .meta .trend { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; padding: 5px 10px; border-radius: 6px; background: rgba(0,0,0,.42); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 12.5px; font-weight: 700; text-shadow: none; animation: rise .4s ease; }
.post .meta .trend b { color: var(--lime); }

/* the comments that float up over the post while it's live */
.floaters { position: absolute; left: 10px; right: 78px; bottom: calc(var(--safe-b) + 128px); z-index: 4; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; pointer-events: none; }
.fl { align-self: flex-start; max-width: 100%; display: flex; gap: 8px; align-items: flex-start; padding: 7px 12px 7px 7px; border-radius: 18px; background: rgba(0,0,0,.38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: flin .35s cubic-bezier(.2,.9,.3,1.2); transition: opacity .5s, transform .5s; pointer-events: auto; }
.fl.out { opacity: 0; transform: translateY(-8px) scale(.96); }
.fl .t { font-size: 13.5px; line-height: 1.3; }
.fl .t b { display: block; font-size: 12px; color: var(--soft); font-weight: 600; }
.fl.big { background: rgba(139,108,255,.42); }
@keyframes flin { from { opacity: 0; transform: translateY(14px) scale(.9); } }

.av { width: var(--s); height: var(--s); min-width: var(--s); border-radius: 50%; display: inline-grid; place-items: center; font-weight: 800; font-size: calc(var(--s) * .42); color: #fff; text-shadow: none; }
.vf { display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: #20d5ec; color: #000; font-size: 9px; font-weight: 900; vertical-align: -1px; }

/* posting: the bar over the top while it goes up */
.posting { position: absolute; top: calc(var(--safe-t) + 60px); left: 50%; transform: translateX(-50%); z-index: 6; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 14px; background: rgba(20,20,22,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 14px; font-weight: 600; white-space: nowrap; transition: opacity .4s, transform .4s; }
.posting img { width: 34px; height: 46px; object-fit: cover; border-radius: 6px; }
.posting .bar { width: 120px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.15); overflow: hidden; margin-top: 6px; }
.posting .bar i { display: block; height: 100%; width: 0; background: var(--lime); transition: width .4s ease; }
.posting.out { opacity: 0; transform: translate(-50%, -10px); }

/* ---------- toasts: the notifications that land on top ---------- */
.toasts { position: absolute; top: calc(var(--safe-t) + 58px); left: 8px; right: 8px; z-index: 30; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px; background: rgba(32,32,36,.9); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 8px 30px rgba(0,0,0,.4); animation: tin .45s cubic-bezier(.2,.9,.3,1.15); transition: opacity .35s, transform .35s; }
.toast.out { opacity: 0; transform: translateY(-14px) scale(.97); }
.toast .app { width: 34px; height: 34px; border-radius: 9px; background: var(--lime); color: #000; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 19px; flex: none; }
.toast .tx { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.3; }
.toast .tx b { display: flex; justify-content: space-between; font-size: 13px; }
.toast .tx b small { color: var(--faint); font-weight: 500; }
.toast .tx span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255,255,255,.88); }
@keyframes tin { from { opacity: 0; transform: translateY(-24px) scale(.96); } }
.confetti { position: absolute; inset: 0; z-index: 40; pointer-events: none; width: 100%; height: 100%; }

/* ---------- sheets ---------- */
.scrim { position: absolute; inset: 0; z-index: 20; background: rgba(0,0,0,.45); animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 21; max-height: 78%; display: flex; flex-direction: column; background: var(--panel); border-radius: 18px 18px 0 0; padding-bottom: var(--safe-b); animation: up .32s cubic-bezier(.2,.9,.3,1); }
.sheet.tall { height: 72%; }
@keyframes up { from { transform: translateY(100%); } }
.sheet .grab { width: 38px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); margin: 8px auto 0; flex: none; }
.sheet .sh-head { flex: none; display: flex; align-items: center; justify-content: center; position: relative; padding: 10px 44px 10px; font-weight: 700; font-size: 14px; border-bottom: 1px solid var(--line); }
.sheet .sh-head .x { position: absolute; right: 6px; top: 2px; }
.sheet .sh-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.sheet .pad { padding: 18px 20px 20px; }
.sheet h2 { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -.03em; line-height: 1.05; margin: 4px 0 8px; }
.sheet p { margin: 0 0 14px; line-height: 1.4; }

/* comments */
.cm { display: flex; gap: 10px; padding: 10px 14px 6px; }
.cm.new { animation: newc 1.2s ease; }
@keyframes newc { from { background: rgba(198,255,61,.12); } to { background: transparent; } }
.cm .bd { flex: 1; min-width: 0; }
.cm .nm { font-size: 12.5px; color: var(--soft); font-weight: 600; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.cm .nm .chip { font-size: 10.5px; padding: 1px 6px; border-radius: 4px; background: rgba(139,108,255,.25); color: #cfc2ff; font-weight: 700; }
.cm .nm .chip.me { background: rgba(255,59,107,.2); color: #ff9db4; }
.cm .tx { font-size: 14.5px; line-height: 1.35; margin: 2px 0 4px; word-wrap: break-word; }
.cm .ft { display: flex; gap: 14px; font-size: 12.5px; color: var(--faint); align-items: center; }
.cm .ft button { color: var(--faint); font-weight: 600; }
.cm .ft .hearted { color: var(--pink); font-weight: 600; }
.cm .lk { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11.5px; color: var(--faint); min-width: 34px; padding-top: 4px; }
.cm .lk .ico { width: 18px; height: 18px; }
.cm .lk.on { color: var(--pink); }
.cm .more { color: var(--faint); font-size: 12.5px; font-weight: 600; padding: 6px 0 2px; display: flex; align-items: center; gap: 6px; }
.cm .more::before { content: ''; width: 24px; height: 1px; background: var(--faint); }
.cm .reps .cm { padding: 8px 0 2px; }
.typing { display: inline-flex; gap: 3px; padding: 4px 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: tp 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tp { 30% { transform: translateY(-4px); opacity: .5; } }
.compose { flex: none; display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-top: 1px solid var(--line); background: var(--panel); }
.compose .to { position: absolute; transform: translateY(-34px); font-size: 12px; color: var(--soft); background: var(--panel2); padding: 4px 10px; border-radius: 8px; }
.compose input { flex: 1; min-width: 0; height: 40px; border-radius: 20px; border: 0; background: var(--panel2); padding: 0 14px; outline: none; font-size: 16px; }
.compose .send { width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: #000; display: grid; place-items: center; flex: none; }
.compose .send:disabled { opacity: .4; }

.field { width: 100%; height: 52px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel2); padding: 0 16px; font-size: 16px; outline: none; margin-bottom: 10px; }
.field:focus { border-color: rgba(198,255,61,.6); }
.field.code { letter-spacing: .4em; text-align: center; font-size: 22px; font-weight: 700; }
.err { color: #ff8a8a; font-size: 13.5px; margin: 0 0 8px; min-height: 0; }
.err:empty { display: none; }
.or { display: flex; align-items: center; gap: 10px; color: var(--faint); font-size: 13px; margin: 12px 0; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.signin .btn { margin-bottom: 4px; }

/* stats sheet */
.statgrid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin: 6px 0 16px; }
.statgrid div { background: var(--panel2); border-radius: 12px; padding: 12px 10px; }
.statgrid b { display: block; font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.statgrid span { font-size: 12px; color: var(--soft); }
.statgrid .hot b { color: var(--lime); }
.coach { display: grid; gap: 8px; }
.coach div { background: var(--panel2); border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.4; }
.coach div b { display: block; font-size: 11.5px; letter-spacing: .02em; color: var(--lime); margin-bottom: 3px; }
.score { display: flex; align-items: center; gap: 14px; margin: 2px 0 14px; }
.score .ring { --p: 0; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--lime) calc(var(--p) * 1%), rgba(255,255,255,.1) 0); display: grid; place-items: center; flex: none; }
.score .ring b { width: 52px; height: 52px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; font-size: 20px; font-weight: 800; }
.score p { margin: 0; font-size: 14px; color: var(--soft); }
.score p b { color: #fff; display: block; font-size: 16px; }

/* ---------- making a post ---------- */
#v-create { background: #000; }
.cr-top { flex: none; position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: calc(var(--safe-t) + 8px) 8px 6px; }
.cr-top h2 { font-size: 16px; font-weight: 700; margin: 0; }
.cr-pick { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px 26px; text-align: center; }
.cr-pick .bigplus { width: 112px; height: 112px; border-radius: 32px; background: var(--lime); color: #000; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(198,255,61,.12), 0 0 0 22px rgba(198,255,61,.05); margin-bottom: 18px; animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 14px rgba(198,255,61,.14), 0 0 0 30px rgba(198,255,61,.04); } }
.cr-pick .bigplus .ico { width: 52px; height: 52px; }
.cr-pick h3 { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -.03em; line-height: 1.05; margin: 0; }
.cr-pick p { color: var(--soft); margin: 0 0 10px; font-size: 15px; line-height: 1.4; }
.cr-pick .row { display: flex; gap: 10px; width: 100%; max-width: 330px; }
.cr-pick .row .btn { flex: 1; }
.cr-prev { position: absolute; inset: 0; z-index: 1; }
.cr-prev .media { position: absolute; inset: 0; }
.cr-prev img, .cr-prev video { width: 100%; height: 100%; object-fit: cover; }
.cr-prev.contain img, .cr-prev.contain video { object-fit: contain; }
.cr-prev .blur { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(30px) brightness(.5); }
.cr-form { position: relative; z-index: 3; margin-top: auto; padding: 60px 14px calc(var(--safe-b) + 14px); background: linear-gradient(to top, rgba(0,0,0,.94) 0%, rgba(0,0,0,.85) 60%, rgba(0,0,0,0)); display: flex; flex-direction: column; gap: 10px; }
.cr-form textarea { width: 100%; border: 0; outline: none; resize: none; background: rgba(255,255,255,.1); border-radius: 14px; padding: 12px 14px; font-size: 16px; line-height: 1.35; height: 70px; }
.sounds { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 0 14px; }
.sounds::-webkit-scrollbar { display: none; }
.sounds button { flex: none; height: 34px; padding: 0 12px; border-radius: 17px; background: rgba(255,255,255,.1); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.sounds button.on { background: #fff; color: #000; }
.as { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--soft); }
.as b { color: #fff; }
.as input { background: rgba(255,255,255,.1); border: 0; border-radius: 10px; height: 34px; padding: 0 10px; outline: none; font-size: 16px; width: 170px; }

/* ---------- profile ---------- */
#v-me, #v-inbox, #v-dm { background: #000; }
.bar { flex: none; display: flex; align-items: center; justify-content: space-between; padding: calc(var(--safe-t) + 8px) 8px 4px; }
.bar h2 { font-size: 16px; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 6px; }
.prof { flex: none; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4px 16px 10px; }
.prof .lvl { margin-top: 8px; font-size: 12px; font-weight: 800; color: #000; background: var(--lime); border-radius: 6px; padding: 3px 8px; letter-spacing: .02em; }
.prof .nums { display: flex; gap: 28px; margin: 12px 0 10px; }
.prof .nums div { display: flex; flex-direction: column; align-items: center; }
.prof .nums b { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.prof .nums span { font-size: 12.5px; color: var(--soft); }
.prog { width: 100%; max-width: 330px; }
.prog .track { height: 6px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
.prog .track i { display: block; height: 100%; background: var(--lime); border-radius: 3px; transition: width 1s ease; }
.prog p { font-size: 12.5px; color: var(--soft); margin: 6px 0 0; }
.prof .save { margin-top: 12px; width: 100%; max-width: 330px; }
.grid { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2px; align-content: start; border-top: 1px solid var(--line); padding-top: 2px; }
.grid a { position: relative; aspect-ratio: 9/14; background: #111 center/cover no-repeat; display: block; }
.grid a span { position: absolute; left: 6px; bottom: 5px; font-size: 12.5px; font-weight: 700; display: flex; align-items: center; gap: 3px; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.grid a span .ico { width: 14px; height: 14px; }
.grid .empty { grid-column: 1 / -1; color: var(--soft); text-align: center; padding: 30px 20px; font-size: 14px; }
.nav { flex: none; display: flex; align-items: center; justify-content: space-around; padding: 6px 10px calc(var(--safe-b) + 6px); border-top: 1px solid var(--line); background: #000; }
.nav a, .nav button { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--soft); text-decoration: none; min-width: 64px; position: relative; }
.nav a.on { color: #fff; }
.nav .plusbtn { width: 50px; height: 34px; border-radius: 10px; background: var(--lime); color: #000; display: grid; place-items: center; }
.nav .badge { top: -4px; right: 14px; }

/* ---------- inbox and DMs ---------- */
.list { flex: 1; min-height: 0; overflow-y: auto; }
.chat { display: flex; gap: 12px; align-items: center; padding: 12px 16px; text-decoration: none; }
.chat .bd { flex: 1; min-width: 0; }
.chat .bd b { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.chat .bd span { display: block; color: var(--soft); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.chat .kind { font-size: 10.5px; font-weight: 800; padding: 2px 6px; border-radius: 4px; background: rgba(198,255,61,.16); color: var(--lime); }
.chat .kind.fan, .chat .kind.creator { background: rgba(139,108,255,.22); color: #cfc2ff; }
.chat time { color: var(--faint); font-size: 12px; }
.list .empty { color: var(--soft); text-align: center; padding: 50px 30px; font-size: 14.5px; line-height: 1.45; }
.msgs { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 6px; }
.msg { max-width: 78%; padding: 9px 13px; border-radius: 18px; font-size: 15px; line-height: 1.35; background: var(--panel2); align-self: flex-start; animation: flin .3s ease; word-wrap: break-word; }
.msg.me { align-self: flex-end; background: var(--lime); color: #000; }
.dmhead { display: flex; align-items: center; gap: 10px; }
.dmhead b { font-size: 15px; display: block; }
.dmhead small { color: var(--faint); font-size: 12px; }
.note { align-self: center; color: var(--faint); font-size: 12px; text-align: center; margin: 4px 0 10px; max-width: 260px; }

@keyframes rise { from { opacity: 0; transform: scale(.96); } }
@media (max-height: 640px) {
  .pitch { padding-top: 50px; }
  .pitch h1 { font-size: 34px; }
  .pitch p { display: none; }
  .rail { gap: 10px; }
  .rail .ico { width: 30px; height: 30px; }
  .disc { display: none; }
  .prof .nums { margin: 8px 0 6px; }
}

/* ---------- waves ---------- */
.wave { position: absolute; top: calc(var(--safe-t) + 56px); left: 50%; transform: translateX(-50%); z-index: 5; max-width: calc(100% - 24px); display: block; padding: 7px 14px 9px; border-radius: 12px; background: rgba(0,0,0,.42); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.wave span { position: relative; z-index: 1; }
.wave i { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--lime); transition: width .6s linear; }
.wave.testing i { background: #ffb800; } .wave.waiting { color: var(--lime); } .wave.stalled { color: #ffb4b4; } .wave.stalled i { background: #ff6b6b; }
.toasts { top: calc(var(--safe-t) + 96px); }
.waves { display: grid; gap: 6px; margin: 4px 0 14px; }
.wv { display: grid; grid-template-columns: 92px minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--panel2); font-size: 13.5px; }
.wv b { font-weight: 800; } .wv span { color: var(--soft); } .wv em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--faint); }
.wv.passed em { color: var(--lime); } .wv.stopped em { color: #ff9a9a; } .wv.running { box-shadow: inset 0 0 0 1.5px rgba(255,184,0,.6); } .wv.running em { color: #ffcf5a; }
.wv.next { background: transparent; border: 1px dashed var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.chips span { font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 8px; background: var(--panel2); color: var(--soft); }
.chips span.ok { color: var(--lime); background: rgba(198,255,61,.1); }
.cm .nm .chip.reg { background: rgba(255,184,0,.18); color: #ffd36b; text-transform: capitalize; }

/* compose: the strategy bits */
.today { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.today button { flex: none; height: 30px; padding: 0 10px; border-radius: 8px; background: rgba(198,255,61,.14); color: var(--lime); font-weight: 700; font-size: 12.5px; }
.today button.on { background: var(--lime); color: #000; }
.today span { color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sounds button .st { font-size: 10.5px; font-weight: 800; padding: 1px 5px; border-radius: 4px; background: rgba(255,255,255,.14); }
.sounds button .st.rising { background: #ff3b6b; color: #fff; } .sounds button .st.peak { background: #ffb800; color: #000; } .sounds button .st.fading { background: rgba(255,255,255,.18); color: var(--soft); }
.sounds button.on .st { filter: none; }
.when { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--soft); }
.when b.good { color: var(--lime); } .when b.meh { color: #ffcf5a; }
.boost { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 8px; background: rgba(255,255,255,.1); font-weight: 700; font-size: 12.5px; color: #fff; }
.boost.on { background: var(--violet); }
.boost:disabled { opacity: .4; }

/* profile: streak, quests, regulars */
.meta3 { display: flex; gap: 8px; justify-content: center; margin-top: 8px; flex-wrap: wrap; }
.meta3 span { font-size: 12.5px; font-weight: 700; padding: 4px 9px; border-radius: 8px; background: var(--panel2); }
.tabs { flex: none; display: flex; border-bottom: 1px solid var(--line); }
.tabs button { flex: 1; padding: 10px 0; font-size: 13.5px; font-weight: 700; color: var(--faint); border-bottom: 2px solid transparent; }
.tabs button.on { color: #fff; border-color: #fff; }
.pane { flex: 1; min-height: 0; overflow-y: auto; }
.quest { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.quest i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--faint); flex: none; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 900; }
.quest.done i { background: var(--lime); border-color: var(--lime); color: #000; }
.quest.done span { color: var(--faint); text-decoration: line-through; }
.reg { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.reg .bd { flex: 1; min-width: 0; }
.reg .bd b { font-size: 14.5px; display: block; } .reg .bd span { font-size: 12.5px; color: var(--soft); } .reg .bd .role { font-style: normal; text-transform: capitalize; }
.reg .bar2 { width: 90px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; } .reg .bar2 i { display: block; height: 100%; background: var(--lime); }
.reg.hater .bar2 i { background: #ff6b6b; }
.panehint { color: var(--soft); font-size: 13.5px; text-align: center; padding: 18px 24px; line-height: 1.45; }
.grid a .ph { position: absolute; top: 6px; left: 6px; font-size: 10.5px; font-weight: 800; padding: 2px 6px; border-radius: 4px; background: rgba(0,0,0,.6); }
.grid a .ph.live { background: #ff3b6b; }
.away .row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.away .row b { font-variant-numeric: tabular-nums; } .away .row b.up { color: var(--lime); } .away .row b.down { color: #ff9a9a; }

/* ---------- Pro ---------- */
#v-pro { background: radial-gradient(120% 70% at 50% 0%, #1d2a06 0%, #000 60%); }
.pro-top { flex: none; display: flex; justify-content: space-between; align-items: center; padding: calc(var(--safe-t) + 8px) 8px 0; }
.pro-top .link { font-size: 14px; text-decoration: none; color: var(--soft); padding: 10px 12px; }
.pro { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 22px calc(var(--safe-b) + 18px); gap: 16px; }
.pro .mark { font-size: 30px; }
.pro h2 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 9.5vw, 40px); line-height: 1; letter-spacing: -.035em; margin: 0; }
.pro ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pro li { display: flex; gap: 12px; align-items: center; font-size: 15.5px; line-height: 1.3; }
.pro li i { width: 32px; height: 32px; border-radius: 10px; background: rgba(198,255,61,.14); display: grid; place-items: center; font-style: normal; font-size: 16px; flex: none; }
.pro li b { display: block; } .pro li span { color: var(--soft); font-size: 13.5px; }
.plan { border: 2px solid var(--lime); border-radius: 16px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; background: rgba(198,255,61,.06); }
.plan b { font-size: 17px; display: block; } .plan span { font-size: 13px; color: var(--soft); }
.plan strong { font-size: 22px; font-weight: 800; letter-spacing: -.02em; text-align: right; } .plan strong small { display: block; font-size: 12px; font-weight: 600; color: var(--soft); }
.pro .fine { text-align: center; margin: 0; line-height: 1.45; } .pro .fine a { color: var(--soft); }
.pro .free { text-align: center; color: var(--soft); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; padding: 4px; }
.coach .locked { background: linear-gradient(135deg, rgba(139,108,255,.25), rgba(198,255,61,.12)); } .coach .locked a { color: var(--lime); font-weight: 700; }
.vfp { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--lime); color: #000; font-size: 10px; font-weight: 900; margin-left: 4px; vertical-align: 2px; }
@media (max-height: 680px) { .pro { gap: 10px; } .pro li span { display: none; } .pro h2 { font-size: 30px; } }
