/* ============================================
   safesound.cc — dark, brutal, musical
   ============================================ */
:root {
  --bg:         #0a0a0b;
  --bg-soft:    #111114;
  --bg-card:    #16161a;
  --bg-card-hover: #1c1c22;
  --line:       #232328;
  --line-soft:  #1a1a1f;
  --ink:        #e8e8ea;
  --ink-soft:   #b8b8be;
  --mute:       #6a6a72;
  --mute-2:     #45454c;
  --acid:       #c2ff3d;
  --acid-soft:  #9ccc2e;
  --warn:       #ff5a4a;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --mono:  "Space Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg); color: var(--ink);
  font-family: var(--mono); font-size: 14px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body {
  min-height: 100vh;
  background:
    radial-gradient(900px 500px at 80% -10%, #c2ff3d12, transparent 60%),
    radial-gradient(700px 400px at 0% 100%, #1a1a2210, transparent 60%),
    var(--bg);
}
.grain {
  position: fixed; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .5; z-index: 1; mix-blend-mode: screen;
}
main, header, footer, section, aside, nav { position: relative; z-index: 2; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; }

/* ===== TOPBAR ===== */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px 24px; border-bottom: 1px solid var(--line);
  background: rgba(10,10,11,.7); backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 50;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark {
  width: 28px; height: 28px; display: grid; place-items: center;
  background: var(--acid); color: #0a0a0b; border-radius: 6px; font-size: 11px;
  transition: transform .25s var(--ease);
}
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.05); }
.logo__text { font-family: var(--serif); font-size: 22px; font-style: italic; letter-spacing: -.01em; }
.logo__dot { color: var(--acid); }
.logo__ext { color: var(--mute); }
.logo__beta {
  margin-left: 6px; font-family: var(--mono); font-size: 10px; color: var(--acid);
  border: 1px solid var(--acid); padding: 2px 6px; border-radius: 4px;
  letter-spacing: .1em; text-transform: uppercase;
}

.topnav { display: flex; gap: 28px; }
.topnav__link {
  font-family: var(--mono); font-size: 13px; color: var(--mute);
  border-bottom: 1px solid transparent; padding: 4px 0;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.topnav__link:hover { color: var(--ink); }
.topnav__link.is-active { color: var(--ink); border-bottom-color: var(--acid); }

.topbar__right { display: flex; gap: 10px; align-items: center; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em;
  border: 1px solid var(--line); border-radius: 6px;
  background: var(--bg-card); color: var(--ink); cursor: pointer;
  transition: all .25s var(--ease); text-transform: lowercase;
}
.btn:hover { border-color: var(--ink-soft); transform: translateY(-1px); }
.btn--primary { background: var(--acid); color: #0a0a0b; border-color: var(--acid); font-weight: 700; }
.btn--primary:hover { background: var(--acid-soft); border-color: var(--acid-soft); box-shadow: 0 6px 20px -8px var(--acid); }
.btn--ghost { background: transparent; }
.btn--full { width: 100%; justify-content: center; padding: 14px 20px; font-size: 13px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* user pill */
.userpill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--line); border-radius: 999px;
  cursor: pointer; transition: border-color .2s;
}
.userpill:hover { border-color: var(--ink-soft); }
.userpill__ava {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--acid), #6affb0);
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 700; font-size: 11px; color: #0a0a0b;
}
.userpill__name { font-family: var(--mono); font-size: 12px; color: var(--ink); }

/* dropdown (выход и т.д.) */
.dropdown {
  position: relative;
}
.dropdown__menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 180px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 8px;
  padding: 6px; box-shadow: 0 8px 24px -8px rgba(0,0,0,.6);
  display: none; flex-direction: column; gap: 2px;
  z-index: 80;
}
.dropdown.is-open .dropdown__menu { display: flex; }
.dropdown__item {
  padding: 9px 12px; border-radius: 4px;
  font-family: var(--mono); font-size: 12px; color: var(--ink);
  cursor: pointer; transition: background .15s;
  text-align: left;
}
.dropdown__item:hover { background: var(--bg-card-hover); }
.dropdown__sep { height: 1px; background: var(--line); margin: 4px 0; }

/* ===== SHELL ===== */
.shell { max-width: 1280px; margin: 0 auto; padding: 32px 24px 80px; }
.shell--feed { display: grid; grid-template-columns: 260px 1fr; gap: 36px; }
.shell--form { max-width: 460px; }

/* ===== SIDEBAR ===== */
.sidebar { position: sticky; top: 88px; align-self: start; }
.sidebar__title {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.cats { list-style: none; display: flex; flex-direction: column; gap: 2px; margin-bottom: 28px; }
.cats__item {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 10px 12px; border-radius: 6px; cursor: pointer;
  transition: background .2s; gap: 8px;
}
.cats__item:hover { background: var(--bg-card); }
.cats__item.is-active { background: var(--bg-card); border-left: 2px solid var(--acid); padding-left: 10px; }
.cats__name { font-family: var(--mono); font-size: 13px; color: var(--ink); }
.cats__count { font-family: var(--mono); font-size: 10px; color: var(--mute); }
.cats__loading { font-family: var(--mono); font-size: 12px; color: var(--mute); padding: 12px; }
.sidebar__note {
  border-top: 1px solid var(--line); padding-top: 18px;
  font-family: var(--mono); font-size: 12px; color: var(--ink-soft); line-height: 1.6;
}
.sidebar__note p { margin-bottom: 10px; }
.sidebar__note em { font-family: var(--serif); font-style: italic; color: var(--acid); font-size: 14px; }

/* ===== FEED ===== */
.feed__head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 28px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
  gap: 16px; flex-wrap: wrap;
}
.feed__title { font-family: var(--serif); font-size: 48px; font-style: italic; letter-spacing: -.02em; }
.feed__filters { display: flex; gap: 8px; }
.chip {
  font-family: var(--mono); font-size: 11px; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--mute); background: transparent; cursor: pointer;
  text-transform: lowercase; letter-spacing: .04em; transition: all .2s;
}
.chip:hover { color: var(--ink); border-color: var(--ink-soft); }
.chip.is-active { color: #0a0a0b; background: var(--acid); border-color: var(--acid); font-weight: 700; }

.posts { display: flex; flex-direction: column; gap: 12px; }
.post {
  border: 1px solid var(--line); background: var(--bg-card);
  padding: 18px 20px; border-radius: 8px; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.post:hover { border-color: var(--ink-soft); background: var(--bg-card-hover); }
.post__meta {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; color: var(--mute); margin-bottom: 8px;
}
.post__cat { color: var(--acid); text-transform: lowercase; }
.post__title {
  font-family: var(--serif); font-size: 22px; color: var(--ink);
  margin-bottom: 6px; letter-spacing: -.01em;
}
.post__body {
  color: var(--ink-soft); font-size: 13px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post__audio-badge {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; padding: 4px 10px;
  background: var(--bg); border: 1px solid var(--acid); border-radius: 999px;
  color: var(--acid); font-size: 10px; text-transform: uppercase; letter-spacing: .1em;
}

.empty {
  border: 1px dashed var(--line); padding: 56px 32px; text-align: center;
  border-radius: 8px; margin-top: 8px;
}
.empty__title {
  font-family: var(--serif); font-size: 28px; font-style: italic;
  color: var(--ink-soft); margin-bottom: 8px;
}
.empty__text { font-family: var(--mono); font-size: 12px; color: var(--mute); margin-bottom: 6px; }
.empty__sub { font-family: var(--mono); font-size: 12px; color: var(--mute-2); margin-top: 14px; }

/* ===== FORMS ===== */
.form {
  border: 1px solid var(--line); background: var(--bg-card);
  border-radius: 10px; padding: 36px 32px;
}
.form__h1 {
  font-family: var(--serif); font-size: 40px; font-style: italic;
  letter-spacing: -.02em; margin-bottom: 8px;
}
.form__sub {
  font-family: var(--mono); font-size: 12px; color: var(--mute); margin-bottom: 28px;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field__label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--mute);
}
.field__input {
  font-family: var(--mono); font-size: 14px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
  padding: 12px 14px; outline: none; transition: border-color .15s;
}
.field__input:focus { border-color: var(--acid); }
.field__input::placeholder { color: var(--mute-2); }
.field__hint { font-family: var(--mono); font-size: 11px; color: var(--mute); }
.field__error {
  font-family: var(--mono); font-size: 11px; color: var(--warn);
  margin-top: 6px;
}

.form__alt {
  margin-top: 22px; text-align: center;
  font-family: var(--mono); font-size: 12px; color: var(--mute);
}
.form__alt a { color: var(--acid); border-bottom: 1px solid transparent; }
.form__alt a:hover { border-bottom-color: var(--acid); }

.form__err {
  margin-bottom: 18px; padding: 10px 14px;
  border: 1px solid var(--warn); background: #2a0e0e;
  border-radius: 6px;
  font-family: var(--mono); font-size: 12px; color: var(--warn);
}

/* ===== INVITES PAGE ===== */
.inv-head { margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.inv-head h1 {
  font-family: var(--serif); font-size: 40px; font-style: italic;
  letter-spacing: -.02em; margin-bottom: 6px;
}
.inv-head p { font-family: var(--mono); font-size: 12px; color: var(--mute); }

.inv-list { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.inv {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  padding: 14px 18px;
  border: 1px solid var(--line); background: var(--bg-card); border-radius: 8px;
}
.inv__code {
  font-family: var(--mono); font-size: 18px; font-weight: 700;
  color: var(--acid); letter-spacing: .02em;
  user-select: all;
}
.inv__meta {
  font-family: var(--mono); font-size: 11px; color: var(--mute);
}
.inv--used .inv__code { color: var(--mute-2); text-decoration: line-through; }
.inv__copy { font-family: var(--mono); font-size: 11px; padding: 6px 12px; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--line); padding: 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; font-family: var(--mono); font-size: 11px; color: var(--mute);
  flex-wrap: wrap;
}
.footer__brand { font-family: var(--serif); font-size: 18px; font-style: italic; color: var(--ink); }
.footer__mute { color: var(--mute-2); margin-top: 2px; }
.footer__col--right { display: flex; gap: 18px; }
.footer__col--right a { transition: color .2s; }
.footer__col--right a:hover { color: var(--acid); }

/* hide soon-links visually */
[data-todo] { opacity: .55; cursor: not-allowed; }
[data-todo]:hover { opacity: .8; }
.hidden { display: none !important; }

/* toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--bg-card); border: 1px solid var(--acid);
  color: var(--ink); padding: 12px 20px; border-radius: 8px;
  font-family: var(--mono); font-size: 12px; z-index: 100;
  animation: toastIn .3s var(--ease);
}
@keyframes toastIn { from { opacity:0; transform: translate(-50%, 10px); } to { opacity:1; transform: translate(-50%, 0); } }

/* ===== RESPONSIVE ===== */
@media (max-width: 780px) {
  .shell { padding: 20px 16px 60px; }
  .shell--feed { grid-template-columns: 1fr; gap: 24px; }
  .sidebar { position: static; }
  .topbar { padding: 12px 16px; gap: 8px; flex-wrap: wrap; }
  .topnav { display: none; }
  .feed__title { font-size: 36px; }
  .feed__head { margin-bottom: 18px; }
  .logo__beta { display: none; }
  .form { padding: 24px 20px; }
  .form__h1 { font-size: 32px; }
  .inv-head h1 { font-size: 32px; }
}

/* ============================================
   STAGE 3 STYLES
   ============================================ */

/* ===== страница поста ===== */
.post-page { max-width: 760px; }
.post-page__back {
  display: inline-block;
  font-family: var(--mono); font-size: 12px; color: var(--mute);
  margin-bottom: 18px; transition: color .15s;
}
.post-page__back:hover { color: var(--acid); }
.post-page__meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; color: var(--mute);
  margin-bottom: 14px;
}
.post-page__meta a { color: var(--ink-soft); }
.post-page__meta a:hover { color: var(--acid); }
.post-page__cat {
  color: var(--acid); text-transform: lowercase;
  border: 1px solid var(--acid); padding: 2px 8px; border-radius: 999px; font-size: 10px;
}
.post-page__title {
  font-family: var(--serif); font-size: 44px; font-style: italic;
  letter-spacing: -.02em; line-height: 1.05; margin-bottom: 18px;
}
.post-page__body {
  font-family: var(--mono); font-size: 14px; color: var(--ink-soft);
  white-space: pre-wrap; line-height: 1.7; margin-bottom: 24px;
}
.post-page__delete {
  background: transparent; border: 1px solid var(--warn); color: var(--warn);
  padding: 6px 12px; font-family: var(--mono); font-size: 11px; border-radius: 4px;
  cursor: pointer; margin-left: auto;
}
.post-page__delete:hover { background: var(--warn); color: #0a0a0b; }

/* ===== плеер ===== */
.player {
  border: 1px solid var(--line); background: var(--bg-card); border-radius: 10px;
  padding: 18px 20px; margin-bottom: 28px;
  display: grid; gap: 14px;
}
.player__row {
  display: flex; align-items: center; gap: 14px;
}
.player__btn {
  width: 44px; height: 44px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--acid); color: #0a0a0b;
  border: 0; border-radius: 50%; cursor: pointer;
  font-size: 18px;
  transition: transform .15s;
}
.player__btn:hover { transform: scale(1.05); }
.player__btn:active { transform: scale(.95); }
.player__wave { flex: 1; min-width: 0; height: 60px; cursor: pointer; }
.player__times {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; color: var(--mute);
}

/* ===== комменты ===== */
.comments { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.comments__title {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 16px;
}
.comment-form {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 24px;
}
.comment-form__area {
  font-family: var(--mono); font-size: 13px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
  padding: 12px 14px; min-height: 80px; resize: vertical;
  outline: none; transition: border-color .15s;
}
.comment-form__area:focus { border-color: var(--acid); }
.comment-form__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.comment-form__hint { font-family: var(--mono); font-size: 11px; color: var(--mute); }

.comment {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.comment:last-child { border-bottom: 0; }
.comment__head {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--mono); font-size: 12px; margin-bottom: 6px;
}
.comment__author { color: var(--acid); }
.comment__time { color: var(--mute); font-size: 11px; }
.comment__body {
  font-family: var(--mono); font-size: 13px; color: var(--ink-soft);
  white-space: pre-wrap; line-height: 1.55;
}
.comment__del {
  background: none; border: 0; color: var(--mute); font-size: 11px;
  cursor: pointer; margin-left: auto;
}
.comment__del:hover { color: var(--warn); }

/* ===== форма создания поста ===== */
.new-form { max-width: 720px; }
.new-form .form__h1 { font-size: 36px; }

.field__select {
  font-family: var(--mono); font-size: 14px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
  padding: 12px 14px; outline: none; cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%236a6a72' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.field__select:focus { border-color: var(--acid); }
.field__textarea {
  font-family: var(--mono); font-size: 14px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
  padding: 12px 14px; outline: none; min-height: 140px; resize: vertical;
  transition: border-color .15s;
}
.field__textarea:focus { border-color: var(--acid); }

/* upload */
.upload {
  border: 1.5px dashed var(--line); background: var(--bg);
  border-radius: 8px; padding: 28px 24px; text-align: center;
  cursor: pointer; transition: all .2s;
  position: relative;
}
.upload:hover { border-color: var(--acid); background: #0e0f0a; }
.upload.is-drag { border-color: var(--acid); background: #1a2210; border-style: solid; }
.upload__title { font-family: var(--mono); font-size: 13px; color: var(--ink); margin-bottom: 4px; }
.upload__hint  { font-family: var(--mono); font-size: 11px; color: var(--mute); }
.upload__file  {
  font-family: var(--mono); font-size: 13px; color: var(--acid);
}
.upload__clear {
  position: absolute; top: 10px; right: 12px;
  background: transparent; border: 0; color: var(--mute);
  font-size: 14px; cursor: pointer; padding: 6px;
}
.upload__clear:hover { color: var(--warn); }
.upload input[type=file] { display: none; }

.field__counter {
  font-family: var(--mono); font-size: 11px; color: var(--mute);
  text-align: right; margin-top: 4px;
}

/* пост в ленте с количеством комментов и временем */
.post__stats {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--mono); font-size: 11px;
  color: var(--mute);
}
.post__stat-sep { color: var(--mute-2); }

/* ============================================
   STAGE 4 — PROFILES & SETTINGS
   ============================================ */

/* профиль */
.profile-head {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.profile-ava {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--acid), #6affb0);
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: 44px;
  color: #0a0a0b;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--line);
}
.profile-ava img { width: 100%; height: 100%; object-fit: cover; }

.profile-info { flex: 1; min-width: 0; }
.profile-name {
  font-family: var(--serif); font-size: 32px; font-style: italic;
  letter-spacing: -.01em; line-height: 1.1; margin-bottom: 2px;
}
.profile-handle {
  font-family: var(--mono); font-size: 13px;
  color: var(--mute); margin-bottom: 14px;
}
.profile-role {
  display: inline-block; margin-left: 8px;
  font-family: var(--mono); font-size: 9px; text-transform: uppercase;
  letter-spacing: .12em; padding: 2px 6px;
  border: 1px solid var(--acid); border-radius: 4px; color: var(--acid);
  vertical-align: middle;
}

.profile-bio {
  font-family: var(--mono); font-size: 13px;
  color: var(--ink-soft); line-height: 1.6;
  white-space: pre-wrap;
  margin-bottom: 12px;
  max-width: 540px;
}
.profile-links {
  display: flex; gap: 12px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px;
  margin-bottom: 14px;
}
.profile-links a {
  color: var(--acid); border-bottom: 1px dashed transparent; transition: border-color .15s;
  word-break: break-all;
}
.profile-links a:hover { border-bottom-color: var(--acid); }

.profile-stats {
  display: flex; gap: 18px;
  font-family: var(--mono); font-size: 12px; color: var(--mute);
}
.profile-stats strong { color: var(--ink); font-weight: 700; }

.profile-edit-btn {
  margin-left: auto;
  align-self: flex-start;
}

.profile-empty {
  border: 1px dashed var(--line);
  padding: 40px; text-align: center; border-radius: 8px;
  font-family: var(--mono); font-size: 13px; color: var(--mute);
}

/* settings */
.settings__section {
  border: 1px solid var(--line); background: var(--bg-card);
  padding: 28px; border-radius: 10px; margin-bottom: 18px;
}
.settings__title {
  font-family: var(--serif); font-size: 24px; font-style: italic;
  margin-bottom: 18px;
}

.ava-row {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 12px;
}
.ava-row .profile-ava { width: 72px; height: 72px; font-size: 32px; }
.ava-row__actions { display: flex; flex-direction: column; gap: 8px; }
.ava-row__hint { font-family: var(--mono); font-size: 11px; color: var(--mute); }

/* link to author */
.author-link { color: inherit; transition: color .15s; }
.author-link:hover { color: var(--acid); }

/* мини-аватарка в посте/комменте */
.miniava {
  display: inline-grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, var(--acid), #6affb0);
  color: #0a0a0b; font-weight: 700; font-size: 10px;
  margin-right: 4px; overflow: hidden;
  vertical-align: middle;
}
.miniava img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 600px) {
  .profile-head { flex-direction: column; gap: 14px; }
  .profile-edit-btn { margin-left: 0; }
  .profile-ava { width: 80px; height: 80px; font-size: 36px; }
  .profile-name { font-size: 26px; }
}
