@font-face {
  font-family: "DM Sans"; src: url("/static/fonts/dmsans-latin.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
}
:root {
  --bg: #f6f2ec; --panel: #fffdf9; --soft: #efe9e0; --line: #e2dbd0; --text: #262938; --muted: #6e6b66;
  --accent: #c4552f; --accent-dark: #a9441f; --gold: #e8ad4f; --mustard: #dba966; --ink: #262938;
  --ok: #2f7a4f; --warn: #9a6400; --bad: #b23a1c; --r: 16px;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.55; min-height: 100vh;
  display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
main { flex: 1; width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px 64px; }

/* ---------- header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 28px;
  border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(246,242,236,.94);
  backdrop-filter: blur(10px); z-index: 5; }
.logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-weight: 800;
  letter-spacing: .08em; font-size: 26px; color: var(--ink); }
.logo .mark { width: 46px; height: 46px; border-radius: 12px; background: var(--gold); display: grid; place-items: center; flex: none; }
.logo .mark svg { width: 26px; height: 26px; }
.logo .dot { color: var(--gold); margin-left: -12px; }
nav { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; font-size: 16px; font-weight: 500; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover, nav a.on { color: var(--text); }
nav a.btn { color: #fff; }
.foot { color: var(--muted); font-size: 14px; text-align: center; padding: 24px; border-top: 1px solid var(--line); }

/* ---------- type */
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.02; margin: 44px 0 14px; letter-spacing: -.035em; font-weight: 700; }
h2 { font-size: clamp(26px, 3vw, 34px); margin: 56px 0 18px; letter-spacing: -.025em; font-weight: 700; }
h2[id] { scroll-margin-top: 110px; }
h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.01em; }
.lead { color: var(--muted); font-size: 19px; line-height: 1.7; max-width: 660px; margin: 0 0 28px; }
.muted { color: var(--muted); }
.pad { padding: 24px 0; }
.small { font-size: 14px; }
.accent { color: var(--accent); }
.eyebrow { display: flex; align-items: center; gap: 22px; color: var(--accent); font-weight: 700; font-size: 14px;
  letter-spacing: .2em; text-transform: uppercase; margin: 0; }
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--accent); border-radius: 2px; }

/* ---------- home hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 64px 0 24px; }
.hero h1 { font-size: clamp(56px, 8.4vw, 112px); line-height: .96; letter-spacing: -.055em; font-weight: 600; margin: 34px 0 30px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: clamp(18px, 1.6vw, 21px); }
.cta { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; margin-top: 8px; }
.cta .btn { font-size: 19px; padding: 20px 30px; }
.textlink { font-weight: 700; font-size: 19px; text-decoration: none; display: inline-flex; align-items: center; gap: 14px; }
.textlink:hover { color: var(--accent); }
.textlink svg, .cta .btn svg { width: 22px; height: 22px; flex: none; }
.textlink, .cta .btn { white-space: nowrap; }
.trust { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 16px; border-top: 1px solid var(--line);
  margin-top: 44px; padding-top: 26px; }
.trust .shield { width: 56px; height: 56px; border-radius: 50%; background: #e3e9e2; display: grid; place-items: center; flex: none; }
.art { border-radius: 18px; overflow: hidden; aspect-ratio: 1 / 1.02; box-shadow: 0 30px 60px -30px rgba(80, 50, 10, .35); }
.art svg { width: 100%; height: 100%; display: block; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 8px 0; }
.steps div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; font-size: 15px; color: var(--muted); }
.steps b { display: block; color: var(--text); margin-bottom: 4px; font-size: 17px; }
.steps i { font-style: normal; color: var(--accent); font-weight: 800; display: block; font-size: 13px; letter-spacing: .14em; margin-bottom: 10px; }

.search { display: flex; gap: 10px; margin: 8px 0 22px; }
.search input { flex: 1; }

/* ---------- cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
a.card { text-decoration: none; display: block; transition: border-color .15s, transform .15s, box-shadow .15s; }
a.card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(60, 40, 20, .35); }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--gold) center/cover no-repeat;
  display: grid; place-items: center; font-weight: 800; font-size: 19px; color: var(--ink); flex: none; }
.avatar.big { width: 104px; height: 104px; font-size: 36px; }
.row { display: flex; gap: 14px; align-items: center; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
.tag { font-size: 13px; background: var(--soft); border-radius: 99px; padding: 2px 11px; color: var(--muted); }
.price { font-weight: 700; }

.services { display: grid; gap: 10px; margin: 10px 0 20px; }
.svc { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px;
  border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--panel); }
.svc input { accent-color: var(--accent); }
.svc:has(input:checked) { border-color: var(--accent); background: #fff8f3; }
.svc .left { display: flex; gap: 12px; align-items: center; }

/* ---------- forms */
form.stack, .stack { display: grid; gap: 14px; max-width: 580px; }
label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); font-weight: 500; }
label.inline { display: flex; gap: 8px; align-items: center; color: var(--text); }
input, textarea, select { font: inherit; color: var(--text); background: #fff; border: 1.5px solid var(--line);
  border-radius: 10px; padding: 11px 13px; width: 100%; }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--accent); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(196, 85, 47, .15); }
textarea { min-height: 120px; resize: vertical; }
button, .btn { font: inherit; font-weight: 700; border: 0; border-radius: 10px; padding: 12px 20px; cursor: pointer;
  background: var(--accent); color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 14px;
  transition: background .15s; }
button:hover, .btn:hover { background: var(--accent-dark); }
.btn.dark, button.dark { background: var(--ink); }
.btn.dark:hover, button.dark:hover { background: #121420; }
.btn svg, button svg { width: 20px; height: 20px; flex: none; }
button.ghost, .btn.ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
button.ghost:hover, .btn.ghost:hover { border-color: var(--text); background: transparent; }
button.danger { background: transparent; color: var(--bad); border: 1.5px solid #e6b9ab; }
button.danger:hover { background: #fbeee9; }
button:disabled { opacity: .5; cursor: wait; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- tables */
table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--panel); border-radius: var(--r); overflow: hidden;
  box-shadow: 0 0 0 1px var(--line); }
th, td { text-align: left; padding: 12px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { color: var(--muted); font-weight: 600; font-size: 13px; background: #faf6f0; }
tr.link { cursor: pointer; }
tr.link:hover td { background: #f8f2ea; }

/* ---------- status and feedback */
.status { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; white-space: nowrap;
  background: var(--soft); color: var(--muted); }
.status.paid, .status.accepted { background: #fbeccc; color: var(--warn); }
.status.delivered { background: #dfeee3; color: var(--ok); }
.status.declined, .status.refund_requested { background: #f8e0d8; color: var(--bad); }
.quote { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; margin: 12px 0; white-space: pre-wrap; }
.stamp { display: inline-block; border: 2px solid var(--accent); color: var(--accent); font-weight: 800;
  letter-spacing: .14em; padding: 3px 10px; border-radius: 6px; transform: rotate(-3deg); font-size: 12px; }
.rating { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.rating small { font-size: 14px; color: var(--muted); font-weight: 500; }
.notice { border: 1px solid #ecd3a0; background: #fbf1dc; color: #6b4a10; border-radius: 12px;
  padding: 13px 16px; font-size: 15px; margin: 14px 0; }
.err { color: var(--bad); font-size: 14px; min-height: 1em; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; font-size: 15px; }
dt { color: var(--muted); }
dd { margin: 0; word-break: break-word; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.tabs { display: flex; gap: 8px; margin: 18px 0; flex-wrap: wrap; }
.tabs button { background: transparent; color: var(--muted); border: 1.5px solid var(--line); }
.tabs button:hover { background: transparent; color: var(--text); }
.tabs button.on { color: var(--accent); border-color: var(--accent); }
audio { width: 100%; margin-top: 10px; }
hr { border: 0; border-top: 1px solid var(--line); }

#toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #f6f2ec;
  padding: 11px 18px; border-radius: 10px; opacity: 0; transition: opacity .2s; pointer-events: none; font-size: 15px; z-index: 20; }
#toast.show { opacity: 1; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .top { padding: 12px 14px; gap: 8px; }
  .logo { font-size: 17px; gap: 8px; letter-spacing: .06em; }
  .logo .dot { margin-left: -8px; }
  .logo .mark { width: 34px; height: 34px; border-radius: 9px; }
  .logo .mark svg { width: 20px; height: 20px; }
  nav { gap: 12px; font-size: 13px; flex-wrap: nowrap; }
  nav a { white-space: nowrap; }
  nav a.btn { padding: 9px 11px; gap: 6px; font-size: 13px; }
  nav a.btn svg { width: 15px; height: 15px; }
  main { padding: 0 18px 48px; }
  .cta { gap: 22px; }
  .cta .btn { font-size: 17px; padding: 17px 24px; }
  th.hide-sm, td.hide-sm { display: none; }
}
@media (max-width: 440px) {
  nav .hide-xs { display: none; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(46px, 14.6vw, 72px); }
}

/* ---------- verified badge */
.vbadge { display: inline-flex; width: 18px; height: 18px; margin-left: 6px; vertical-align: -3px; flex: none; }
.vbadge svg { width: 100%; height: 100%; }
.vbadge.big { width: 30px; height: 30px; margin-left: 10px; vertical-align: 2px; }
h1 .vbadge.big { vertical-align: middle; }
.vname { display: inline-flex; align-items: center; flex-wrap: wrap; }
.vnote { font-size: 13px; color: #2f6fc4; font-weight: 600; margin: 2px 0 4px; }
.avatar { position: relative; overflow: hidden; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
a.card .price { white-space: nowrap; }
a.card .row.between > .small { flex: 1; min-width: 0; }

/* ---------- paid DMs */
.chat { margin-top: 28px; padding: 0; overflow: hidden; }
.chat-head { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.chat-list { padding: 18px 20px; max-height: 480px; min-height: 140px; overflow-y: auto; display: flex; flex-direction: column;
  gap: 12px; background: #fbf8f3; }
.chat-empty { margin: auto; text-align: center; max-width: 360px; }
.msg { max-width: min(78%, 560px); align-self: flex-start; background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px 16px 16px 4px; padding: 10px 14px; }
.msg.mine { align-self: flex-end; background: #fbe9df; border-color: #f0cdbb; border-radius: 16px 16px 4px 16px; }
.msg-meta { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.msg-body { white-space: pre-wrap; word-break: break-word; }
.msg-audio { margin-top: 6px; }
.msg-audio .small { font-weight: 600; word-break: break-all; }
.msg-audio audio { min-width: 240px; margin-top: 4px; }
#chatFoot { padding: 14px 20px 18px; border-top: 1px solid var(--line); }
#chatFoot .notice { margin: 0; }
.composer { display: grid; gap: 10px; }
.composer textarea { min-height: 80px; }
.composer-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.composer-row .grow { flex: 1; }
.attach { display: inline-flex; cursor: pointer; color: var(--text); font-weight: 600; border: 1.5px dashed var(--line);
  border-radius: 10px; padding: 9px 14px; font-size: 14px; }
.attach:hover { border-color: var(--accent); color: var(--accent); }
.unread { display: inline-block; margin-left: 6px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800;
  border-radius: 99px; padding: 1px 7px; vertical-align: 1px; white-space: nowrap; }

/* ---------- forgot / reset password */
.auth-box { max-width: 460px; margin: 48px auto 0; }
.auth-title { font-size: 34px; }

/* ---------- profiles */
.avatar.mini { width: 26px; height: 26px; font-size: 11px; }
.avatar.sm { width: 42px; height: 42px; font-size: 15px; }
.avatar.xl { width: 132px; height: 132px; font-size: 44px; border: 5px solid var(--bg); box-shadow: 0 10px 30px -12px rgba(38,41,56,.35); }
.navme { display: inline-flex; align-items: center; gap: 8px; }

.pcover { height: 240px; border-radius: 22px; background-color: var(--mustard); background-size: cover; background-position: center;
  position: relative; overflow: hidden; }
.pcover:not(.has) { background-image: repeating-linear-gradient(128deg, rgba(255,255,255,.18) 0 2px, transparent 2px 46px),
  radial-gradient(circle at 78% 120%, #2f3142 0 34%, transparent 34.2%), radial-gradient(circle at 78% 120%, #d98b3c 0 42%, transparent 42.2%); }
.phero { margin-top: 26px; }
.phead { display: flex; gap: 26px; align-items: flex-start; padding: 0 28px; position: relative; flex-wrap: wrap; }
.phead > .avatar.xl { margin-top: -70px; }
.pinfo { flex: 1; min-width: 240px; padding-bottom: 4px; }
.pinfo h1 { margin: 18px 0 4px; font-size: clamp(32px, 4.4vw, 50px); }
.ptag { font-size: 19px; margin: 0 0 8px; color: var(--text); }
.pmeta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.pmeta .vnote { margin: 0; }
.pactions { padding-top: 26px; }
.plinks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.plink { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-size: 14px; font-weight: 600;
  background: var(--panel); border: 1.5px solid var(--line); border-radius: 99px; padding: 6px 13px 6px 10px; transition: all .15s; }
.plink svg { width: 18px; height: 18px; }
.plink:hover { border-color: var(--text); transform: translateY(-1px); }
.plinks.compact { gap: 6px; margin-top: 8px; }
.plinks.compact .plink { padding: 6px; border-radius: 50%; }
.plinks.compact .plink svg { width: 16px; height: 16px; }
.pl-spotify:hover { color: #1db954; border-color: #1db954; } .pl-youtube:hover { color: #e62117; border-color: #e62117; }
.pl-instagram:hover { color: #c13584; border-color: #c13584; } .pl-soundcloud:hover { color: #ff5500; border-color: #ff5500; }
.pl-audiomack:hover { color: #f9a51b; border-color: #f9a51b; } .pl-apple_music:hover { color: #fa2d48; border-color: #fa2d48; }
.pl-facebook:hover { color: #1877f2; border-color: #1877f2; }

.pstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 30px 0 8px; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pstats div { padding: 18px 22px; border-right: 1px solid var(--line); }
.pstats div:last-child { border-right: 0; }
.pstats b { display: block; font-size: 28px; letter-spacing: -.02em; }
.pstats span { color: var(--muted); font-size: 14px; }
.pabout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; margin-top: 26px; }
.pabout.one { grid-template-columns: 1fr; max-width: 760px; }
.h2s { font-size: 24px; margin: 6px 0 10px; }
.pbio { font-size: 17px; line-height: 1.75; white-space: pre-wrap; margin: 0; }
.featured iframe { width: 100%; border: 0; border-radius: 12px; display: block; margin-top: 10px; background: var(--soft); }
.small-eyebrow { font-size: 12px; }

.lcard { padding: 0; overflow: hidden; }
.lcover { height: 92px; background-color: var(--mustard); background-size: cover; background-position: center; }
.lcover:not(.has) { background-image: repeating-linear-gradient(128deg, rgba(255,255,255,.2) 0 2px, transparent 2px 30px); }
.lbody { padding: 0 18px 18px; }
.avatar.lav { width: 68px; height: 68px; font-size: 24px; margin-top: -34px; border: 4px solid var(--panel); }
.lcard h3 { margin-top: 10px; }
.ltag { min-height: 21px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lfoot { margin-top: 14px; }
.lcard .plink { pointer-events: none; }

.wwho { display: flex; gap: 12px; align-items: center; margin: 14px 0 6px; }
.person { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pmini { min-width: 0; }

/* editor */
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-top: 36px; }
.m0t { margin: 0 0 6px; font-size: 38px; }
.meter { margin: 20px 0; }
.bar { height: 10px; background: var(--soft); border-radius: 99px; overflow: hidden; margin: 10px 0 4px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--accent)); border-radius: 99px; transition: width .4s; }
.todo { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; columns: 2; }
.edit-photos { padding: 0; overflow: hidden; margin-bottom: 18px; }
.pcover.edit { border-radius: 0; height: 200px; }
.cover-actions { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px; }
.btn.light, button.light { background: rgba(255,253,249,.92); color: var(--text); border: 0; }
.btn.light:hover, button.light:hover { background: #fff; }
.photo-row { display: flex; gap: 22px; align-items: flex-start; padding: 0 22px 22px; flex-wrap: wrap; }
.photo-row > .avatar.xl { margin-top: -60px; }
.photo-row > div:last-child { padding-top: 16px; }
.photo-row > div:last-child { flex: 1; min-width: 220px; }
label.btn { cursor: pointer; }
label.btn.busy { opacity: .6; pointer-events: none; }
.pform { display: grid; gap: 18px; }
.pform .card { display: grid; gap: 14px; }
.pform h3 { margin: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lf-label { display: inline-flex; align-items: center; gap: 7px; color: var(--text); font-weight: 600; }
.lf-label svg { width: 17px; height: 17px; }
.cnt { float: right; font-size: 12px; color: var(--muted); font-weight: 400; }
.savebar { position: sticky; bottom: 0; background: rgba(246,242,236,.95); backdrop-filter: blur(8px); padding: 14px 0;
  display: flex; justify-content: flex-end; align-items: center; gap: 16px; border-top: 1px solid var(--line); }
.savebar .err { flex: 1; }

@media (max-width: 760px) {
  .pcover { height: 170px; border-radius: 16px; }
  .phead { padding: 0 6px; gap: 6px 14px; }
  .phead > .avatar.xl { margin-top: -56px; }
  .pactions { padding-top: 4px; }
  .avatar.xl { width: 104px; height: 104px; font-size: 34px; }
  .pinfo h1 { margin-top: 6px; }
  .pinfo { flex-basis: 100%; }
  .pabout, .grid2 { grid-template-columns: 1fr; }
  .pstats div { border-right: 0; border-bottom: 1px solid var(--line); }
  .todo { columns: 1; }
}

/* ---------- installable app */
.foot { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot-app { font-weight: 700; color: var(--text); text-decoration: none; }
.foot-app:hover { color: var(--accent); }
.appicon { border-radius: 14px; flex: none; }
.install-banner { position: fixed; left: 50%; transform: translateX(-50%); bottom: max(16px, env(safe-area-inset-bottom));
  width: min(560px, calc(100vw - 24px)); display: flex; align-items: center; gap: 14px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 18px; padding: 12px 12px 12px 14px; z-index: 15;
  box-shadow: 0 24px 50px -20px rgba(38,41,56,.45); animation: ib-in .35s ease-out; }
.install-banner > div { flex: 1; min-width: 0; }
.install-banner .appicon { width: 48px; height: 48px; border-radius: 12px; }
.install-banner .ib-x { padding: 8px 11px; border: 0; color: var(--muted); }
@keyframes ib-in { from { transform: translate(-50%, 30px); opacity: 0; } }
.app-hero { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: center; padding: 56px 0 28px; }
.app-big { width: 220px; height: 220px; border-radius: 50px; box-shadow: 0 30px 60px -25px rgba(120,70,10,.55); }
.install-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 10px 0 30px; }
.install-steps .card.mine { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(196,85,47,.12); }
.install-steps ol { margin: 8px 0 0; padding-left: 20px; color: var(--muted); line-height: 1.7; }
.install-steps b { color: var(--text); }
.kbd { display: inline-block; min-width: 22px; text-align: center; border: 1px solid var(--line); border-radius: 6px;
  background: #fff; font-size: 13px; padding: 0 5px; color: var(--text); }
.app-perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.app-perks div { border-top: 3px solid var(--gold); padding-top: 12px; }
.app-perks b { display: block; font-size: 17px; }
.app-perks span { color: var(--muted); font-size: 15px; }
.offline { max-width: 460px; margin: 18vh auto 0; text-align: center; padding: 0 24px; }
.offline img { border-radius: 20px; }
.offline h1 { margin: 22px 0 8px; }
@media (display-mode: standalone) {
  .top { padding-top: max(18px, env(safe-area-inset-top)); }
  .foot { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
}
@media (max-width: 760px) {
  .app-hero { grid-template-columns: 1fr; gap: 24px; padding-top: 36px; }
  .app-big { width: 128px; height: 128px; border-radius: 30px; }
}

[hidden] { display: none !important; }

/* ---------- grind: nav, tab bar, player */
details.acct { position: relative; }
details.acct summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--muted); font-weight: 500; }
details.acct summary::-webkit-details-marker { display: none; }
.acct-menu { position: absolute; right: 0; top: calc(100% + 12px); min-width: 210px; padding: 8px; display: grid; z-index: 20;
  box-shadow: 0 20px 40px -18px rgba(38,41,56,.35); }
.acct-menu a { padding: 9px 12px; border-radius: 8px; color: var(--text); }
.acct-menu a:hover { background: var(--soft); }
.tabbar { display: none; }
#player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 14; background: rgba(255,253,249,.97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(38,41,56,.35); }
.pl-in { max-width: 1160px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 14px; }
.pl-info { min-width: 0; width: 200px; }
.pl-title { font-weight: 700; text-decoration: none; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-btn { width: 44px; height: 44px; border-radius: 50%; padding: 0; justify-content: center; flex: none; }
.pl-btn svg { width: 22px; height: 22px; }
.pl-seek { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.pl-seek input { padding: 0; accent-color: var(--accent); height: 4px; }
.pl-x { padding: 8px 11px; border: 0; color: var(--muted); }
body.has-player main { padding-bottom: 110px; }

/* ---------- tracks */
.ptype { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: 6px;
  padding: 2px 7px; margin-left: 6px; vertical-align: 2px; background: var(--soft); color: var(--muted); }
.pt-producer { background: #e5ecf7; color: #2f5d9a; } .pt-exec { background: #efe5f6; color: #6b3d8f; } .pt-artiste { background: #fbebe3; color: var(--accent-dark); }
.ptypebar .ptype { margin: 10px 0 0 28px; }
.tcover { width: 64px; height: 64px; border-radius: 12px; background: linear-gradient(135deg, var(--gold), var(--accent)); display: grid;
  place-items: center; color: #fff; font-weight: 800; overflow: hidden; flex: none; }
.tcover img { width: 100%; height: 100%; object-fit: cover; }
.tcover.sm { width: 46px; height: 46px; border-radius: 9px; font-size: 13px; }
.tcover.xl { width: 260px; height: 260px; border-radius: 22px; font-size: 64px; box-shadow: 0 30px 60px -28px rgba(120,60,20,.55); }
.tlist { display: grid; gap: 10px; }
.tcard { display: flex; align-items: center; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px 10px 10px; }
.tcard .rank { font-weight: 800; font-size: 18px; width: 26px; text-align: center; color: var(--muted); flex: none; }
.tplay { position: relative; padding: 0; background: none; border-radius: 12px; flex: none; }
.tplay:hover { background: none; }
.tplay .pbtn { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(38,41,56,.35); color: #fff; opacity: 0;
  border-radius: 12px; transition: opacity .15s; }
.tplay .pbtn svg { width: 26px; height: 26px; }
.tplay:hover .pbtn, .tplay.playing .pbtn { opacity: 1; }
.tmeta { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ttitle { font-weight: 700; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.byline { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; flex-wrap: wrap; }
.byline a { text-decoration: none; font-weight: 600; }
.tstats { display: flex; gap: 12px; flex-wrap: wrap; }
.metric { font-weight: 700; color: var(--accent); }
.votes { display: inline-flex; gap: 6px; flex: none; }
.vote { background: var(--soft); color: var(--text); padding: 7px 11px; border-radius: 99px; font-size: 14px; gap: 6px; }
.vote:hover { background: #e9e1d5; }
.vote.on { background: #dff0e5; color: var(--ok); box-shadow: inset 0 0 0 1.5px var(--ok); }
.vote.down.on { background: #f8e0d8; color: var(--bad); box-shadow: inset 0 0 0 1.5px var(--bad); }
.vote:disabled { opacity: .5; cursor: default; }
.empty { text-align: center; padding: 34px; }
.search.sm { margin: 0; }
.search.sm input { min-width: 240px; }

/* ---------- home grind strip */
.grind { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 36px 0 10px; }
.gcard { text-decoration: none; border-radius: var(--r); padding: 20px; display: grid; gap: 6px; color: var(--text); border: 1px solid var(--line);
  transition: transform .15s, box-shadow .15s; }
.gcard:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(60,40,20,.4); }
.gcard b { font-size: 19px; } .gcard span { color: var(--muted); font-size: 15px; }
.g-blind { background: #262938; border-color: #262938; } .g-blind b { color: #f6f2ec; } .g-blind span { color: #c9c4bb; }
.g-disc { background: #fbebe3; } .g-chart { background: #fbf1dc; } .g-up { background: #e5ecf7; }

/* ---------- blind round */
.blind-stage, .blind-intro { text-align: center; max-width: 620px; margin: 30px auto 0; display: grid; justify-items: center; gap: 10px; }
.blind-stage .eyebrow, .blind-intro .eyebrow { justify-content: center; }
.vinyl { width: 260px; height: 260px; border-radius: 50%; margin: 16px 0; position: relative; display: grid; place-items: center;
  background: radial-gradient(circle, #d98b3c 0 17%, #3a3c4d 17.5% 23%, transparent 23.5%),
    repeating-radial-gradient(circle, #2f3142 0 3px, #262938 3px 6px); box-shadow: 0 30px 60px -25px rgba(38,41,56,.6); }
.vinyl.spin { animation: spin 2.4s linear infinite; }
.vinyl.still { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }
.vplay { width: 64px; height: 64px; border-radius: 50%; padding: 0; justify-content: center; background: var(--gold); color: var(--ink); }
.vinyl.spin .vplay { animation: spin 2.4s linear infinite reverse; }
.vplay:hover { background: #f0bd65; }
.vplay svg { width: 28px; height: 28px; }
.blind-bar { width: 100%; max-width: 360px; height: 6px; background: var(--soft); border-radius: 99px; overflow: hidden; }
.blind-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--accent)); transition: width .3s; }
.actions.center { justify-content: center; }
.big-vote { flex-direction: column; gap: 2px; font-size: 34px; padding: 14px 26px; border-radius: 18px; background: #dff0e5; color: var(--ok); }
.big-vote span { font-size: 14px; }
.big-vote.down { background: #f8e0d8; color: var(--bad); }
.big-vote:hover { filter: brightness(.97); }
.big-vote:disabled { opacity: .45; }
.reveal .tcover.xl { margin: 10px 0; }
.reveal-by { display: flex; justify-content: center; }
.tpage .reveal-by { justify-content: flex-start; }

/* ---------- charts and track page */
.charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 18px; }
.chart h3 { font-size: 20px; }
.tlist.compact .tcard { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0; background: none; }
.tlist.compact .tcard:last-child { border-bottom: 0; }
.prow { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.prow:last-child { border-bottom: 0; }
.prow .rank { font-weight: 800; width: 26px; text-align: center; color: var(--muted); }
.prow .pname { flex: 1; min-width: 0; }
.tpage { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: center; margin-top: 36px; }
.bigplay { padding: 14px 24px; font-size: 17px; }
.bigplay svg { width: 20px; height: 20px; }

/* ---------- social, résumé, collabs */
.social { padding: 6px 28px 0; display: grid; gap: 10px; }
.soc-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.soc-stats { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 15px; }
.soc-stats b { color: var(--text); }
.scouted { color: #6b3d8f; font-weight: 600; }
.resume { margin-top: 26px; }
.rfacts { display: flex; gap: 30px; flex-wrap: wrap; margin-bottom: 8px; }
.rfacts b { display: block; font-size: 22px; } .rfacts span { color: var(--muted); font-size: 13px; }
.achv { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 4px; }
.credits { list-style: none; padding: 0; margin: 14px 0 0; border-left: 2px solid var(--line); }
.credits li { display: flex; gap: 14px; padding: 8px 0 8px 16px; position: relative; }
.credits li::before { content: ""; position: absolute; left: -6px; top: 15px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.cyear { font-weight: 800; color: var(--muted); width: 44px; flex: none; }
.credit-row { display: grid; grid-template-columns: 2fr 1.4fr 1.2fr 70px 1.4fr auto; gap: 8px; margin-bottom: 8px; }
.cr-x { padding: 8px 12px; }
.clist { display: grid; gap: 10px; }
.crow { display: flex; gap: 14px; align-items: center; text-decoration: none; }
.cmain { flex: 1; min-width: 0; }
.csnip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); margin-top: 3px; }
.auth-box.wide { max-width: 640px; }
.menu-list { display: grid; padding: 6px; margin-top: 14px; }
.menu-list a { padding: 14px 12px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.menu-list a:last-child { border-bottom: 0; }
.modal-bg { position: fixed; inset: 0; background: rgba(38,41,56,.45); display: grid; place-items: center; z-index: 30; padding: 16px; }
.modal { width: min(520px, 100%); max-height: 90vh; overflow: auto; }

@media (max-width: 760px) {
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
    background: rgba(255,253,249,.97); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
    padding: 6px 4px max(6px, env(safe-area-inset-bottom)); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 4px 0; position: relative; }
  .tabbar a svg { width: 23px; height: 23px; }
  .tabbar a.on { color: var(--accent); }
  .tabbar .unread { position: absolute; top: 0; left: 55%; margin: 0; }
  body { padding-bottom: 70px; }
  #player { bottom: calc(62px + env(safe-area-inset-bottom)); }
  .pl-in { padding: 8px 12px; gap: 10px; flex-wrap: wrap; }
  .pl-info { flex: 1; width: auto; }
  .pl-seek { order: 5; flex-basis: 100%; }
  #player .votes { display: none; }
  body.has-player main { padding-bottom: 130px; }
  .install-banner { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .tcard { flex-wrap: wrap; }
  .tcard .votes { margin-left: auto; }
  .charts { grid-template-columns: 1fr; }
  .tpage { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .tpage .actions, .tpage .tstats, .tpage .reveal-by { justify-content: center; }
  .tcover.xl { width: 200px; height: 200px; }
  .credit-row { grid-template-columns: 1fr 1fr; }
  .social { padding: 6px 6px 0; }
  .ptypebar .ptype { margin-left: 6px; }
  .search.sm input { min-width: 0; }
  .foot { padding-bottom: 90px; }
}
@media (max-width: 760px) {
  nav .hide-sm { display: none; }
  html { scroll-padding-bottom: 96px; scroll-padding-top: 80px; }
}
.tcard .byline { flex-wrap: nowrap; min-width: 0; max-width: 100%; }
.tcard .byline a, .tcard .byline > span:not(.ptype):not(.vbadge) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
@media (max-width: 760px) {
  .tcard .tmeta { flex: 1 1 calc(100% - 92px); }
  .tcard .votes { margin-left: 78px; }
  .tcard .byline .ptype { display: none; }
  .tcard .rank + .tplay + .tmeta { flex-basis: calc(100% - 126px); }
}
