:root {
  --bg: #14110f;
  --bg-2: #1c1815;
  --card: #221d19;
  --line: #352d27;
  --text: #f3ece4;
  --muted: #a99c90;
  --accent: #e2583e;
  --accent-2: #f08a5d;
  --accent-soft: rgba(226, 88, 62, .16);
  --blue: #4f8fd8;
  --ok: #7fbf8a;
  --radius: 16px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 6vw, 40px); }
p { margin: 0 0 1em; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
[hidden] { display: none !important; }

.muted { color: var(--muted); }
.small { font-size: 13px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 600; color: var(--accent-2); margin-bottom: .6em; }
.fine { font-size: 13px; color: var(--muted); margin-top: 18px; }
.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.center { text-align: center; }

/* ---------- Top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px max(16px, env(safe-area-inset-left)) 12px max(16px, env(safe-area-inset-right));
  max-width: 1080px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; font: 600 13px/1 var(--sans); letter-spacing: .02em;
}
.brand-name { font-family: var(--serif); font-size: 19px; }
.topnav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.topnav a { color: var(--muted); }
.topnav a:hover { color: var(--text); text-decoration: none; }
.topnav a.is-on { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); padding-bottom: 3px; }
@media (max-width: 460px) {
  .brand-name { display: none; }
  .topnav { gap: 13px; }
}
.me-link { display: flex; }

.main { padding-bottom: 80px; }
.page { max-width: 1080px; margin: 0 auto; padding: 16px; }
.page.narrow, .narrow { max-width: 640px; margin-left: auto; margin-right: auto; }
.page-head { margin: 12px 0 24px; }
.section-title { font-size: 20px; margin: 0; }
.section-title .count { color: var(--muted); font-family: var(--sans); font-size: 14px; font-weight: 500; margin-left: 4px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }

/* ---------- Buttons, chips, fields ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #fff; border: 0; border-radius: 999px;
  padding: 12px 22px; font-weight: 600; cursor: pointer; text-decoration: none;
  transition: background .15s, transform .1s;
}
.btn:hover { background: #ec6a50; text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: default; }
.btn-wide { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--bg-2); }
.linklike { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0; text-decoration: underline; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--text);
  border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; line-height: 1.2;
}
.chip:hover { border-color: #4b4038; }
.chip[aria-pressed="true"], .chip.is-on { background: var(--accent-soft); border-color: var(--accent); color: #ffd9cf; }
.chip-x { padding: 6px 10px; }

.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 500; color: var(--muted); }
.field em { font-style: normal; opacity: .7; }
input[type=text], input[type=email], input[type=password], textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--text);
  border-radius: 12px; padding: 12px 14px; font: inherit; outline: none; transition: border-color .15s;
}
input:focus, textarea:focus { border-color: var(--accent); }
textarea { resize: vertical; }
.stack { display: grid; gap: 16px; }
.alert { background: rgba(226, 88, 62, .12); border: 1px solid rgba(226, 88, 62, .4); padding: 10px 14px; border-radius: 12px; font-size: 14px; }
.okay { background: rgba(127, 191, 138, .12); border: 1px solid rgba(127, 191, 138, .4); padding: 10px 14px; border-radius: 12px; font-size: 14px; }
.devnote { background: #2a2418; border: 1px dashed #8a7442; padding: 12px 14px; border-radius: 12px; font-size: 14px; margin: 16px 0; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }

/* ---------- Auth screens ---------- */
.main-bare { min-height: 100vh; display: grid; }
.auth {
  display: grid; place-items: center; padding: 24px 16px; min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(226, 88, 62, .18), transparent 60%),
    radial-gradient(900px 500px at 110% 110%, rgba(79, 143, 216, .14), transparent 60%);
}
.auth-card { width: 100%; max-width: 400px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 32px 26px; }
.auth-card h1 { font-size: 30px; }
.auth-brand { margin-bottom: 22px; }
.auth-brand .brand-mark { width: 44px; height: 44px; font-size: 15px; }
.g-btn-wrap { display: flex; justify-content: center; min-height: 44px; margin: 8px 0 4px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; margin: 18px 0; text-transform: uppercase; letter-spacing: .12em; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.signout { margin-top: 18px; text-align: center; font-size: 14px; }
.avatar-pick { display: flex; align-items: center; gap: 16px; }

/* ---------- Avatars ---------- */
.avatar {
  --h: 20; display: inline-grid; place-items: center; flex: none; overflow: hidden;
  border-radius: 50%; background: hsl(var(--h) 45% 38%); color: #fff; font-weight: 600;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-xs { width: 22px; height: 22px; font-size: 9px; }
.avatar-sm { width: 30px; height: 30px; font-size: 11px; }
.avatar-md { width: 38px; height: 38px; font-size: 13px; }
.avatar-xl { width: 84px; height: 84px; font-size: 26px; }

/* ---------- Post list ---------- */
.post-list { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: transform .2s, border-color .2s; }
.post-card:hover { text-decoration: none; transform: translateY(-2px); border-color: #4b4038; }
.post-card-media { position: relative; aspect-ratio: 1 / 1; background: var(--bg-2); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.play-badge { position: absolute; right: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 22px; box-shadow: 0 6px 20px rgba(0, 0, 0, .4); }
.post-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.post-card-body h2 { font-size: 22px; margin-bottom: 4px; }
.post-card-body .muted { font-size: 14px; margin-bottom: 12px; }
.post-meta { font-size: 12px; color: var(--muted); letter-spacing: .02em; margin-bottom: 6px; }
.post-card-foot { margin-top: auto; display: flex; align-items: center; gap: 8px; }
.faces { display: flex; }
.faces .avatar { margin-right: -6px; box-shadow: 0 0 0 2px var(--card); }
.faces:not(:empty) { margin-right: 8px; }

/* ---------- People ---------- */
.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.people a { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 12px; color: var(--text); }
.people a:hover { background: var(--bg-2); text-decoration: none; }
.people a > span:last-child { display: grid; }
.member-head { display: flex; align-items: center; gap: 18px; margin: 12px 0 18px; }
.member-head h1 { margin: 0; }
.activity { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.activity a { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); }
.activity a:hover { text-decoration: none; border-color: #4b4038; }

/* ---------- Post page ---------- */
.is-post .topbar { position: absolute; left: 0; right: 0; z-index: 20; max-width: none; background: linear-gradient(rgba(0,0,0,.55), transparent); }
.is-post .topnav a, .is-post .brand { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.post { max-width: 860px; margin: 0 auto; }
.stage { position: relative; aspect-ratio: 1 / 1; max-height: 78vh; width: 100%; overflow: hidden; background: #000; }
@media (min-width: 700px) { .stage { aspect-ratio: 4 / 3; border-radius: 0 0 22px 22px; } }
.slides, .slide { position: absolute; inset: 0; margin: 0; }
.slide { opacity: 0; transition: opacity 1.6s ease; }
.slide.is-on { opacity: 1; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: center; }
.slide .bg { object-fit: cover; filter: blur(28px) brightness(.45) saturate(1.2); transform: scale(1.25); }
.slide .fg { object-fit: contain; }
.slide.is-on .fg { animation: kenburns var(--kb-dur, 16s) ease-out forwards; }
.slide[data-kb="1"].is-on .fg { animation-name: kenburns-1; }
.slide[data-kb="2"].is-on .fg { animation-name: kenburns-2; }
.slide[data-kb="3"].is-on .fg { animation-name: kenburns-3; }
.is-paused .slide .fg { animation-play-state: paused !important; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07) translate(-1%, -.5%); } }
@keyframes kenburns-1 { from { transform: scale(1.07) translate(1%, .5%); } to { transform: scale(1); } }
@keyframes kenburns-2 { from { transform: scale(1.01) translate(-1%, 0); } to { transform: scale(1.08) translate(1%, -1%); } }
@keyframes kenburns-3 { from { transform: scale(1.06) translate(0, -1%); } to { transform: scale(1.01) translate(-.5%, 1%); } }
@media (prefers-reduced-motion: reduce) { .slide.is-on .fg { animation: none !important; } .slide { transition: opacity .3s; } }
.stage-shade { position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(10, 8, 7, .85)); pointer-events: none; }
.stage-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(226, 88, 62, .92); color: #fff; font-size: 40px; display: grid; place-items: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5); transition: opacity .3s, transform .2s;
}
.stage-play:hover { transform: translate(-50%, -50%) scale(1.05); }
.is-playing .stage-play { opacity: 0; pointer-events: none; }
.stage-caption { position: absolute; left: 20px; right: 20px; bottom: 30px; pointer-events: none; }
.stage-caption h2 { font-size: clamp(24px, 5.5vw, 36px); margin: 0 0 4px; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.stage-caption p { margin: 0; color: #e0d4c8; }
.stage-caption .eyebrow { color: #ffc6b6; margin-bottom: 6px; }
.slide-dots { position: absolute; right: 16px; bottom: 12px; display: flex; gap: 6px; }
.slide-dots button { width: 7px; height: 7px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); cursor: pointer; }
.slide-dots button.is-on { background: #fff; }

.player {
  position: sticky; top: 0; z-index: 10;
  background: rgba(20, 17, 15, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 12px 16px 10px; border-bottom: 1px solid var(--line);
}
.overview { height: 22px; cursor: pointer; margin-bottom: 8px; }
.overview canvas { width: 100%; height: 100%; display: block; }
.wave-wrap { position: relative; padding-top: 30px; }
.wave-wrap canvas { width: 100%; height: 76px; display: block; cursor: pointer; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.pins { position: absolute; left: 0; right: 0; top: 0; height: 28px; }
.pin { position: absolute; top: 2px; transform: translateX(-50%); border: 0; padding: 0; background: none; cursor: pointer; }
.pin .avatar { box-shadow: 0 0 0 2px var(--bg); transition: transform .15s; }
.pin:hover .avatar, .pin.is-hot .avatar { transform: scale(1.25); }
.pin.is-hot .avatar { box-shadow: 0 0 0 2px var(--accent); }
.pin-range { position: absolute; top: 25px; height: 3px; border-radius: 2px; background: var(--accent-2); opacity: .7; pointer-events: none; }
.pop {
  position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 6px;
  width: max-content; max-width: 240px; background: #0b0908; border: 1px solid var(--line); border-radius: 10px;
  padding: 7px 10px; font-size: 13px; line-height: 1.35; text-align: left; pointer-events: none; z-index: 5;
}
.times { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; font-variant-numeric: tabular-nums; margin-top: 6px; color: var(--muted); }
.times #tCur { color: var(--text); }
.times #tTrack { text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.controls { display: flex; justify-content: center; align-items: center; gap: 22px; margin: 4px 0 2px; }
.icon-btn { background: none; border: 0; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: var(--text); }
.icon-btn:hover { background: var(--bg-2); }
.icon-btn-lg { width: 54px; height: 54px; font-size: 28px; background: var(--text); color: var(--bg); }
.icon-btn-lg:hover { background: #fff; }
.icon-btn .i-pause, .is-playing .icon-btn .i-play { display: none; }
.is-playing .icon-btn .i-pause { display: block; }
.selbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.sel-range { font-size: 13px; font-variant-numeric: tabular-nums; color: #ffd9cf; font-weight: 600; }
.hint { font-size: 12px; color: var(--muted); text-align: center; margin: 6px 0 0; }

.post-inner { padding: 22px 16px 0; }
.post-head h1 { margin-top: 4px; }
.subtitle { color: var(--muted); font-size: 17px; }
.prose { font-size: 17px; }
.prose p { margin-bottom: .9em; }
.post-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 18px 0 8px; }
.reacts { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.react { display: inline-flex; align-items: center; gap: 5px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 14px; cursor: pointer; line-height: 1.3; }
.react b { font-weight: 600; font-size: 12px; color: var(--muted); }
.react.is-mine { border-color: var(--accent); background: var(--accent-soft); }
.react.is-mine b { color: #ffd9cf; }
.react-add { position: relative; }
.react-add > .react { color: var(--muted); }
.react-menu { position: absolute; z-index: 15; bottom: calc(100% + 6px); left: 0; display: flex; gap: 2px; background: #0b0908; border: 1px solid var(--line); border-radius: 999px; padding: 4px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.react-menu button { background: none; border: 0; font-size: 20px; padding: 4px 6px; cursor: pointer; border-radius: 50%; }
.react-menu button:hover { background: var(--bg-2); transform: scale(1.15); }

.tracks { margin: 30px 0; }
.tracklist { list-style: none; padding: 0; margin: 0; }
.tracklist .side { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; padding: 14px 10px 6px; }
.track { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; cursor: pointer; }
.track:hover { background: var(--bg-2); }
.track.is-current { background: var(--accent-soft); }
.track .n { color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; font-size: 14px; }
.track.is-current .n { color: var(--accent-2); }
.track .t { min-width: 0; }
.track .t strong { display: block; font-weight: 500; }
.track .t span { font-size: 13px; color: var(--muted); }
.track .meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.track .cc { display: inline-flex; gap: 3px; align-items: center; }

.track-editor { display: grid; gap: 8px; }
.te-row { display: grid; grid-template-columns: 80px 1fr 1fr 92px auto auto auto; gap: 6px; align-items: center; }
.te-row input { padding: 8px 10px; font-size: 14px; border-radius: 8px; }
.te-row .chip { padding: 6px 9px; }
@media (max-width: 640px) {
  .te-row { grid-template-columns: 1fr 92px auto auto auto; }
  .te-row .te-section { grid-column: 1 / -1; }
  .te-row .te-credit { grid-column: 1 / -1; order: 5; }
}
.te-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }

.comments { margin: 30px 0 60px; }
.seg { display: inline-flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg-btn { background: none; border: 0; padding: 5px 12px; font-size: 13px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.seg-btn.is-on { background: var(--card); color: var(--text); }
.composer { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px; }
.composer-main { flex: 1; min-width: 0; }
.composer textarea { min-height: 46px; max-height: 240px; resize: none; overflow-y: auto; }
.composer-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.spacer { flex: 1; }
.chip-time { color: #ffd9cf; border-color: rgba(226, 88, 62, .5); }
.chip-time .x { opacity: .6; margin-left: 2px; }
.reply-box { margin: 10px 0 4px; }

.comment-list, .replies { list-style: none; padding: 0; margin: 0; }
.comment { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.comment:target, .comment.is-flash { animation: flash 2s ease; }
@keyframes flash { 0%, 40% { background: var(--accent-soft); } 100% { background: transparent; } }
.comment.is-hot > .c-main > .c-body { color: #fff; }
.comment.is-hot { box-shadow: inset 3px 0 0 var(--accent); padding-left: 10px; }
.c-main { flex: 1; min-width: 0; }
.c-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.c-head a.name { color: var(--text); font-weight: 600; }
.c-head time { color: var(--muted); font-size: 12px; }
.c-stamp { background: none; border: 0; padding: 0; cursor: pointer; color: var(--accent-2); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 4px; }
.c-stamp:hover { text-decoration: underline; }
.c-track { font-size: 12px; color: var(--muted); }
.c-body { margin: 4px 0 6px; white-space: pre-wrap; word-wrap: break-word; }
.c-body .ts { color: var(--accent-2); cursor: pointer; font-weight: 600; }
.c-deleted { color: var(--muted); font-style: italic; }
.c-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; }
.c-actions .react { padding: 2px 8px; font-size: 13px; }
.c-link { background: none; border: 0; padding: 2px 6px; color: var(--muted); cursor: pointer; font-size: 13px; }
.c-link:hover { color: var(--text); }
.replies .comment { border-top: 0; padding: 10px 0 0; }
.replies { margin-top: 4px; }
.empty { color: var(--muted); padding: 18px 0; border-top: 1px solid var(--line); }

.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; z-index: 50; box-shadow: 0 10px 30px rgba(0,0,0,.4); }

.modal-back { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 40; display: grid; place-items: center; padding: 16px; }
.modal { width: 100%; max-width: 760px; max-height: 90vh; overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.modal h2 { font-size: 22px; }

@media (min-width: 700px) {
  .player { padding: 14px 24px 12px; }
  .post-inner { padding: 28px 24px 0; }
  .wave-wrap canvas { height: 90px; }
}

/* Phones: keep the pinned player compact so comments stay readable. */
@media (max-width: 520px) {
  .player { padding: 8px 12px 8px; }
  .overview { height: 18px; margin-bottom: 4px; }
  .wave-wrap { padding-top: 26px; }
  .wave-wrap canvas { height: 58px; }
  .controls { gap: 18px; margin: 0; }
  .icon-btn-lg { width: 46px; height: 46px; font-size: 24px; }
  .selbar { flex-wrap: nowrap; gap: 6px; margin-top: 6px; overflow-x: auto; justify-content: flex-start; }
  .selbar .chip { padding: 5px 10px; font-size: 12px; }
  .sel-range { font-size: 12px; white-space: nowrap; }
}

/* Zoom */
.icon-btn-sm { width: 38px; height: 38px; font-size: 20px; color: var(--muted); }
.icon-btn-sm:hover { color: var(--text); }
.icon-btn:disabled { opacity: .3; cursor: default; background: none; }
.zoom-fit { background: var(--accent-soft); border: 1px solid rgba(226, 88, 62, .5); color: #ffd9cf; border-radius: 999px; padding: 2px 10px; font-size: 12px; cursor: pointer; white-space: nowrap; }
.zoom-fit:hover { border-color: var(--accent); }
.sel-edge { background: none; border: 0; border-bottom: 1px dashed rgba(255, 217, 207, .5); padding: 0; color: inherit; font: inherit; cursor: zoom-in; }
.sel-edge:hover { border-bottom-color: #ffd9cf; }

.crumbs a { color: inherit; }
.post-meta a { color: inherit; text-decoration: underline; text-decoration-color: rgba(169, 156, 144, .4); text-underline-offset: 2px; }

.code-input { font: 600 26px/1.2 Menlo, Consolas, monospace; letter-spacing: 8px; text-align: center; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 28px 0 22px; }
.prose h2 { font-size: 20px; margin: 1.4em 0 .4em; }
.prose-page { padding-top: 32px; }

/* Site-wide player bar: shows on every page except the playing record's own post */
.mini {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; gap: 10px;
  padding: 8px max(12px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-right));
  background: rgba(20, 17, 15, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.mini-link { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; color: var(--text); }
.mini-link:hover { text-decoration: none; }
.mini-cover { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; background: var(--bg-2); flex: none; }
.mini-text { display: grid; min-width: 0; line-height: 1.3; }
.mini-title, .mini-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-title { font-size: 14px; font-weight: 600; }
.mini-sub { font-size: 12px; color: var(--muted); }
.mini-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--text); color: var(--bg); font-size: 20px; cursor: pointer; flex: none; }
.mini-btn svg:last-child, .mini.is-playing .mini-btn svg:first-child { display: none; }
.mini.is-playing .mini-btn svg:last-child { display: block; }
.mini.is-playing .mini-btn { background: var(--accent); color: #fff; }
.mini-x { background: none; border: 0; color: var(--muted); font-size: 22px; width: 32px; height: 44px; cursor: pointer; flex: none; }
.mini-progress { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: transparent; }
.mini-progress span { display: block; height: 100%; width: 0; background: var(--accent); }
body.has-mini { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
body.has-mini .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
/* Stop button while playing */
.is-playing .icon-btn-lg { background: var(--accent); color: #fff; }

.loopstart { display: flex; justify-content: center; margin-top: 8px; }
.chip-loop { padding: 7px 14px; font-weight: 500; }
.chip-loop svg { color: var(--accent-2); }
@media (max-width: 520px) { .loopstart { margin-top: 6px; } }

/* Quick repeated taps (zoom +/−, prev/next, reactions) are taps, never the phone's double-tap page zoom.
   The waveform keeps its own pinch-to-zoom (touch-action: pan-y on the canvas). */
button, a, .chip, .player, .mini, .stage, .tracklist, .comment-list { touch-action: manipulation; }

/* Share panel */
.share-sheet { max-width: 460px; }
.share-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.share-head img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; }
.share-head h2 { margin: 0; font-size: 20px; }
.share-head .eyebrow { margin-bottom: 4px; }
.share-msg { font-size: 15px; resize: none; }
.share-link { font-size: 12px; color: var(--muted); word-break: break-all; margin: 8px 0 14px; }
.share-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.share-opt { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); cursor: pointer; font-size: 13px; font-weight: 500; }
.share-opt:hover { border-color: #4b4038; }
.share-opt.is-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.share-ico { font-size: 20px; line-height: 1; }

/* Loop versions */
.nav-badge { display: inline-flex; align-items: center; gap: 4px; background: var(--accent); color: #fff !important; border-radius: 999px; padding: 3px 10px; font-size: 13px; }
.nav-badge b { font-weight: 700; }
.activity a.is-waiting { border-color: var(--accent); }
.loop-status { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; margin-left: 6px; background: var(--bg-2); color: var(--muted); vertical-align: 1px; }
.loop-pending { background: var(--accent-soft); color: #ffd9cf; }
.loop-accepted { background: rgba(127, 191, 138, .16); color: #b9e3c0; }
.versions { list-style: none; margin: 8px 0 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); display: grid; gap: 10px; }
.versions li { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: start; }
.v-n { font: 600 12px/1.9 var(--sans); color: var(--muted); min-width: 22px; }
.v-main { display: grid; gap: 4px; min-width: 0; }
.v-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; }
.v-line .avatar { margin-right: 2px; }
.v-times { font-variant-numeric: tabular-nums; color: var(--text); font-weight: 600; }
.v-note { font-size: 13px; color: var(--muted); font-style: italic; }
.v-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.v-btns .chip { padding: 4px 10px; font-size: 12px; }
.v-best { background: rgba(127, 191, 138, .16); color: #b9e3c0; }
.c-credit { font-size: 12px; color: var(--muted); }
.editbar { display: grid; gap: 8px; margin-top: 10px; padding: 10px 12px; border: 1px solid var(--accent); border-radius: 12px; background: var(--accent-soft); }
.editbar-title { font-size: 13px; font-weight: 600; color: #ffd9cf; }
.editbar-row { display: flex; gap: 8px; align-items: center; }
.editbar-row input { flex: 1; min-width: 0; padding: 8px 12px; font-size: 14px; border-radius: 999px; }
.c-link.is-attn { color: #ffd9cf; font-weight: 600; }

/* Share buttons on the post photo area and on post cards */
.stage-share {
  position: absolute; top: 66px; right: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  border: 0; cursor: pointer; font-size: 14px; font-weight: 600;
  background: rgba(10, 8, 7, .55); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.stage-share:hover { background: rgba(10, 8, 7, .75); }
.post-card-wrap { position: relative; display: flex; }
.post-card-wrap .post-card { flex: 1; }
.card-share {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer; font-size: 18px;
  background: rgba(10, 8, 7, .6); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.card-share:hover { background: var(--accent); }

/* Photo slideshow arrows (web) */
.slide-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; font-size: 26px; color: #fff;
  background: rgba(10, 8, 7, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .2s, background .2s;
}
.slide-prev { left: 14px; }
.slide-next { right: 14px; }
.stage:hover .slide-nav, .slide-nav:focus-visible { opacity: 1; }
.slide-nav:hover { background: rgba(10, 8, 7, .75); }
/* Touch screens swipe instead; horizontal swipes on the photo belong to the slideshow. */
@media (hover: none) { .slide-nav { display: none; } }
.slides { touch-action: pan-y; }

/* Members waiting for approval */
.people.waiting { margin-bottom: 24px; }
.waiting-row { display: flex; gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--accent); border-radius: 12px; background: var(--accent-soft); flex-wrap: wrap; }
.waiting-row > span:not(.avatar) { display: grid; flex: 1; min-width: 180px; }
.waiting-row form { margin: 0; }
.people li { position: relative; }
.member-remove { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); margin: 0; z-index: 1; }

/* Turntable deck (vinyl posts) */
.deck {
  display: grid; grid-template-columns: auto auto 1fr auto; grid-template-areas: "platter speeds pitch side" "platter status status status" "eq eq eq eq" "perf perf perf perf" "help help help help";
  align-items: center; gap: 6px 14px; margin: 10px auto 2px; padding: 10px 14px; max-width: 640px;
  border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(#24201c, #191512);
}
.platter { grid-area: platter; width: 76px; height: 76px; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; border-radius: 50%; background: radial-gradient(circle, #2b2622 0 60%, #111 61% 100%); display: grid; place-items: center; box-shadow: inset 0 0 0 3px #0c0a09; }
.platter-disc {
  position: relative; width: 70px; height: 70px; border-radius: 50%; overflow: hidden;
  background: repeating-radial-gradient(circle, #151210 0 1.5px, #1d1916 1.5px 3px);
  animation: spin var(--spin, 1.8s) linear infinite; animation-play-state: paused;
}
.platter-disc img { position: absolute; inset: 22px; width: 26px; height: 26px; pointer-events: none; border-radius: 50%; object-fit: cover; }
.platter-mark { position: absolute; left: 50%; top: 4px; width: 2px; height: 10px; margin-left: -1px; background: var(--accent-2); border-radius: 1px; }
.spindle { position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: #ddd; }
.is-playing .platter-disc { animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .platter-disc { animation: none; } }
.deck-speeds { grid-area: speeds; display: inline-flex; gap: 4px; }
.deck-btn { background: #2e2823; color: var(--text); border: 1px solid #45392f; border-radius: 8px; padding: 6px 10px; font: 600 13px/1 var(--sans); cursor: pointer; min-width: 40px; box-shadow: 0 2px 0 #0d0b09; }
.deck-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: inset 0 2px 0 rgba(0,0,0,.25); }
.deck-small { min-width: 0; padding: 5px 8px; font-size: 12px; }
.deck-pitch { grid-area: pitch; display: flex; align-items: center; gap: 8px; min-width: 0; }
.deck-pitch input { flex: 1; min-width: 80px; accent-color: var(--accent-2); }
.deck-label { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.deck-readout { font: 600 12px/1 var(--sans); font-variant-numeric: tabular-nums; color: #ffd9cf; min-width: 48px; text-align: right; }
.deck-side { grid-area: side; display: inline-flex; gap: 4px; }
.deck-eq { grid-area: eq; display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid #2f2822; }
.eq-band { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 90px; font-size: 11px; color: var(--muted); }
.eq-band span { display: flex; justify-content: space-between; }
.eq-band output { font-variant-numeric: tabular-nums; color: #ffd9cf; font-weight: 600; }
.eq-band input { width: 100%; accent-color: var(--accent-2); }
.eq-switches { display: inline-flex; gap: 4px; }
.deck-status { grid-area: status; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.deck-status b { color: var(--text); font-weight: 600; }
@media (max-width: 520px) {
  .deck { grid-template-columns: auto 1fr; grid-template-areas: "platter speeds" "platter side" "pitch pitch" "status status" "eq eq" "perf perf" "help help"; padding: 8px 10px; }
  .platter { width: 52px; height: 52px; } .platter-disc { width: 46px; height: 46px; }
  .platter-disc img { inset: 14px; width: 18px; height: 18px; }
}
.c-rpm { font-size: 11px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; margin-left: 2px; }

/* Deck: filter, performance row, scratching */
.platter.is-scratching { cursor: grabbing; box-shadow: inset 0 0 0 3px #0c0a09, 0 0 0 2px var(--accent-2); }
.platter.is-scratching .platter-disc { animation: none; }
.eq-filter { min-width: 130px; }
.deck-help { grid-area: help; font-size: 13px; color: var(--muted); }
.deck-help summary { cursor: pointer; color: var(--text); font-weight: 600; font-size: 12px; padding: 4px 0; width: max-content; }
.deck-help summary:hover { color: #ffd9cf; }
.deck-help dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 14px; margin: 8px 0 4px; line-height: 1.45; }
.deck-help dt { color: var(--text); font-weight: 600; white-space: nowrap; }
.deck-help dd { margin: 0; }
.deck-help b { color: var(--text); font-weight: 600; }
@media (max-width: 520px) {
  .deck-help dl { grid-template-columns: 1fr; gap: 2px; }
  .deck-help dd { margin-bottom: 8px; }
}
.deck-perf { grid-area: perf; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; border-top: 1px solid #2f2822; }
.deck-perf .deck-btn { touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.deck-btn.is-held { background: #4a3d33; box-shadow: inset 0 2px 0 rgba(0,0,0,.35); }
.deck-rec[aria-pressed="true"], .chip-rec[aria-pressed="true"] { background: #c62828; border-color: #c62828; color: #fff; animation: recblink 1.2s steps(2) infinite; }
@keyframes recblink { 50% { opacity: .7; } }

/* Recording in progress, on every page */
.rec-pill { position: fixed; top: max(10px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); z-index: 60;
  background: #c62828; color: #fff; border: 0; border-radius: 999px; padding: 7px 14px; font: 600 13px/1 var(--sans);
  font-variant-numeric: tabular-nums; box-shadow: 0 6px 20px rgba(0,0,0,.45); cursor: pointer; }
.mix-modal .modal { max-width: 520px; display: grid; gap: 12px; }
.mix-modal audio { width: 100%; }
.mix-label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.mix-title { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit; }
.modal-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.member-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* Pads */
.pads-page { max-width: 760px; }
.pads-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 14px; }
.pad-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pad {
  position: relative; aspect-ratio: 1; border-radius: 14px; border: 1px solid #45392f; overflow: hidden;
  background: linear-gradient(rgba(20,17,15,.55), rgba(20,17,15,.85)), var(--cover, none) center / cover, #2a241f;
  color: var(--text); text-align: left; padding: 10px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
  cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; font: inherit;
  box-shadow: 0 3px 0 #0d0b09; transition: transform .05s, box-shadow .05s, border-color .15s; opacity: .55;
}
.pad.is-ready { opacity: 1; }
.pad.is-broken { opacity: .35; }
.pad:active, .pad.is-hit { transform: translateY(2px); box-shadow: 0 1px 0 #0d0b09; }
.pad.is-on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent), 0 3px 0 #0d0b09; }
.pad.is-loop .pad-sub { color: #ffd9cf; }
.pad.is-picked { border-color: var(--accent-2); box-shadow: 0 0 0 2px var(--accent-2); }
.pad.is-empty { cursor: default; opacity: 1; background: repeating-linear-gradient(45deg, #1d1916 0 8px, #201b18 8px 16px); border-style: dashed; box-shadow: none; }
.pad-key { position: absolute; top: 8px; left: 10px; font: 600 11px/1 var(--sans); color: var(--muted); }
.pad-label { font-weight: 600; font-size: 14px; line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pad-sub { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pad-empty { color: #5d5049; font-size: 12px; }
.pad-copy { position: absolute; top: 6px; right: 6px; font-size: 11px; padding: 3px 7px; border-radius: 999px; background: rgba(0,0,0,.55); color: var(--text); }
.pad-copy:hover { background: var(--accent); }
.pad-grid.is-editing .pad:not(.is-empty) { outline: 1px dashed #6d5d50; outline-offset: -5px; }
.pads-help { margin-top: 16px; }
.pad-panel { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); display: grid; gap: 10px; }
.pad-panel-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pad-panel input, .pad-panel select { padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit; }
kbd { font: 600 11px/1 var(--sans); padding: 2px 5px; border-radius: 4px; border: 1px solid var(--line); background: var(--bg-2); }
@media (max-width: 520px) {
  .pad-grid { gap: 7px; }
  .pad { padding: 7px; border-radius: 11px; }
  .pad-label { font-size: 12px; }
  .pad-copy { font-size: 10px; padding: 2px 5px; }
}

/* Visualizer on the post stage (viz.js, wired in post.js): a switch top-left, opposite Share.
   With photos it flips Photos <-> Visualizer; the arrows pick which visualizer. */
.stage canvas.viz { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.stage.is-viz canvas.viz { display: block; }
.stage.is-viz .slides, .stage.is-viz .slide-dots, .stage.is-viz .slide-nav { display: none; }
.viz-switch {
  position: absolute; left: 16px; top: 66px; z-index: 3; display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border-radius: 999px; background: rgba(10, 8, 7, .55); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.viz-pick { display: none; align-items: center; }
.stage.is-viz .viz-pick { display: inline-flex; }
.viz-toggle {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 10px; border: 0; border-radius: 999px;
  background: none; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.stage.is-viz .viz-toggle { width: 34px; padding: 0; justify-content: center; }
.viz-step { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 20px; }
.viz-toggle svg { font-size: 18px; }
.viz-toggle:hover, .viz-step:hover { background: rgba(255, 255, 255, .14); }
.viz-name {
  width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; /* fixed width: the arrows never move */
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; cursor: pointer; user-select: none; -webkit-user-select: none;
}
@media (max-width: 400px) { .viz-name { width: 128px; letter-spacing: .04em; } }

/* ---------- Projects ---------- */
.projects-intro { max-width: 620px; }
.project-group-head { margin: 34px 0 12px; align-items: baseline; justify-content: flex-start; }
.project-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.project-card, .soon-card { display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 16px 18px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); transition: transform .2s, border-color .2s; }
.project-card:hover { text-decoration: none; transform: translateY(-2px); border-color: #4b4038; }
.soon-card { background: transparent; border-style: dashed; }
.project-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-2); font-size: 24px; }
.project-text { display: grid; gap: 3px; }
.project-text strong { font-size: 16px; }
.project-new, .project-soon, .project-status { display: inline-block; vertical-align: 2px; margin-left: 4px; padding: 1px 7px; border-radius: 999px;
  font: 600 10px/1.6 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.project-new { background: var(--accent); color: #fff; }
.project-soon { background: rgba(79, 143, 216, .18); color: #a9c8f0; border: 1px solid rgba(79, 143, 216, .45); }
.project-status { background: var(--bg-2); color: var(--muted); border: 1px solid var(--line); }
.project-status.status-new { background: var(--accent); color: #fff; border-color: var(--accent); }
.project-status.status-live { color: var(--ok); border-color: rgba(127, 191, 138, .4); }
.soon-for { color: var(--accent-2); }

/* Featured project: a little pixel night sky behind the text */
.proj-feature, .whatsup-feature { position: relative; display: block; overflow: hidden; border-radius: 22px; border: 1px solid #3b2f7a; color: #ece8ff;
  background: linear-gradient(135deg, #0d0828 0%, #1d1146 55%, #3a1450 100%); }
.proj-feature:hover, .whatsup-feature:hover { text-decoration: none; border-color: #6b5cff; }
.proj-feature-sky { position: absolute; inset: 0; pointer-events: none; image-rendering: pixelated; opacity: .9;
  background-image:
    radial-gradient(2px 2px at 12% 22%, #fff 99%, transparent), radial-gradient(2px 2px at 78% 14%, #cfe0ff 99%, transparent),
    radial-gradient(2px 2px at 64% 72%, #fff 99%, transparent), radial-gradient(2px 2px at 30% 84%, #fff2c0 99%, transparent),
    radial-gradient(2px 2px at 90% 58%, #fff 99%, transparent), radial-gradient(3px 3px at 46% 36%, #ffd34e 99%, transparent),
    radial-gradient(2px 2px at 6% 64%, #cfe0ff 99%, transparent), radial-gradient(2px 2px at 54% 10%, #fff 99%, transparent),
    radial-gradient(160px 110px at 88% 85%, rgba(255, 79, 216, .25), transparent 70%),
    radial-gradient(220px 140px at 70% 20%, rgba(85, 240, 255, .14), transparent 70%); }
.proj-feature-body { position: relative; display: grid; gap: 10px; padding: 30px 28px; max-width: 640px; }
.proj-kicker { font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #ffd34e; display: flex; align-items: center; gap: 6px; }
.proj-kicker .project-new { margin-left: 0; }
.proj-feature-title { font: 600 clamp(30px, 6vw, 46px)/1.05 var(--serif); letter-spacing: -.01em; }
.proj-feature-about { color: #cfc8f5; font-size: 16px; }
.proj-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.proj-tag { font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(207, 200, 245, .35); color: #e2dcff; }
.proj-feature-cta { justify-self: start; margin-top: 4px; }

/* Friends home: what's going on */
.whatsup { display: grid; gap: 16px; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); margin: 0 0 34px; }
.whatsup-feature-body { position: relative; display: grid; gap: 8px; padding: 24px 24px 26px; align-content: end; height: 100%; min-height: 220px; }
.whatsup-feature-title { font: 600 34px/1.05 var(--serif); }
.whatsup-feature-line { color: #cfc8f5; max-width: 420px; }
.whatsup-feature .btn { justify-self: start; margin-top: 4px; }
.whatsup-side { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 20px 22px; display: grid; gap: 12px; align-content: start; }
.whatsup-side .eyebrow { margin: 0; }
.whatsup-soon { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.whatsup-soon li { display: flex; gap: 10px; align-items: flex-start; }
.whatsup-soon li > span:first-child { font-size: 20px; line-height: 1.2; }
.whatsup-soon .project-soon { margin-left: 2px; }
.whatsup-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.whatsup-quick .chip { font-size: 13px; text-decoration: none; }
.whatsup-all { font-weight: 600; font-size: 14px; }
.whatsup-posts-title { margin: 0 0 14px; }
@media (max-width: 760px) { .whatsup { grid-template-columns: 1fr; } .whatsup-feature-body { min-height: 180px; } }

/* Sign-in: what's inside (names only, no links) */
.auth-wrap { display: grid; gap: 22px; width: 100%; max-width: 400px; justify-items: center; }
.auth-teaser { width: 100%; padding: 6px 4px; }
.auth-teaser h2 { font-size: 22px; margin-bottom: 14px; }
.teaser-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.teaser-list li { display: flex; gap: 12px; align-items: flex-start; }
.teaser-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); font-size: 18px; }
.teaser-list .project-new { margin-left: 2px; }
.teaser-soon { margin-top: 16px; }
@media (min-width: 880px) {
  .auth-wrap { max-width: 860px; grid-template-columns: 400px minmax(0, 1fr); align-items: center; gap: 44px; justify-items: stretch; }
}
