/* ============================================================
   MAMYAN.info Music — account / dashboard  (velvet theme)
   ============================================================ */
:root {
  --bg: #17131c; --bg-2: #110d15; --surface: #211b28; --surface-2: #2a2230;
  --line: rgba(243,236,230,.10); --line-2: rgba(243,236,230,.16);
  --pom: #e0314f; --pom-deep: #b81d3e; --seed: #ff5d73; --gold: #d9a64a;
  --text: #f3ece6; --muted: #a99fab;
  --radius: 16px; --radius-sm: 11px; --shadow: 0 24px 60px rgba(0,0,0,.5);
  --display: 'Noto Serif Armenian', Georgia, serif;
  --body: 'Noto Sans Armenian', 'Noto Sans', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: var(--body); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

.brand { display: flex; align-items: center; gap: 11px; }
.seed { width: 15px; height: 15px; border-radius: 50% 50% 50% 3px; background: var(--seed); transform: rotate(-20deg); box-shadow: inset -2px -2px 0 rgba(0,0,0,.25), 0 0 16px rgba(255,93,115,.35); }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 20px; }
.brand-name em { font-style: normal; color: var(--pom); }

.boot { position: fixed; inset: 0; display: grid; place-items: center; color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; font-weight: 600; font-size: 14px; transition: all .15s; }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--pom); color: var(--pom); }
.btn--sm { padding: 8px 14px; font-size: 13px; }

/* ============================================================
   SIGN IN
   ============================================================ */
.signin { min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(80% 55% at 50% -5%, rgba(224,49,79,.20), transparent 60%), var(--bg); }
.signin-card { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 36px 32px; text-align: center; box-shadow: var(--shadow); }
.signin-card .brand { justify-content: center; margin-bottom: 22px; }
.signin-h1 { font-family: var(--display); font-weight: 600; font-size: 1.7rem; margin: 0 0 8px; }
.signin-sub { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0 0 26px; }
.gbtn { display: flex; justify-content: center; min-height: 44px; }
.signin-note { color: var(--pom); font-size: 13px; margin: 16px 0 0; background: rgba(224,49,79,.08); border: 1px solid rgba(224,49,79,.25); padding: 9px 12px; border-radius: var(--radius-sm); }
.signin-back { display: inline-block; margin-top: 22px; color: var(--muted); font-size: 13px; }
.signin-back:hover { color: var(--text); }

/* ============================================================
   DASHBOARD
   ============================================================ */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px,4vw,40px); border-bottom: 1px solid var(--line); background: rgba(23,19,28,.72); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 10; }
.top-actions { display: flex; align-items: center; gap: 14px; }
.top-link { color: var(--muted); font-size: 14px; font-weight: 500; }
.top-link:hover { color: var(--text); }

.dash-main { max-width: 860px; margin: 0 auto; padding: clamp(24px,4vw,44px) clamp(16px,4vw,40px) 72px; }

.profile-card { display: flex; align-items: center; gap: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 26px; }
.profile-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 2px solid var(--pom); background: var(--surface-2); flex: none; }
.profile-name { font-family: var(--display); font-weight: 600; font-size: 1.55rem; margin: 0 0 4px; }
.profile-email { color: var(--muted); font-size: 14px; margin: 0 0 6px; }
.profile-since { color: var(--gold); font-size: 12.5px; font-weight: 600; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.panel-head h2 { font-family: var(--display); font-weight: 600; font-size: 1.25rem; margin: 0; }
.panel-empty { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }

@media (max-width: 560px) {
  .profile-card { flex-direction: column; text-align: center; }
  .brand-name { font-size: 17px; white-space: nowrap; }
}
:focus-visible { outline: 2px solid var(--pom); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- my comments ---------- */
.mc-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.mc-item:last-child { border-bottom: 0; padding-bottom: 4px; }
.mc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.mc-song { font-weight: 600; font-size: 14.5px; color: var(--gold); }
.mc-song:hover { text-decoration: underline; }
.mc-status { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.mc-status--pending  { background: rgba(217,166,74,.14); color: var(--gold); }
.mc-status--approved { background: rgba(31,122,77,.18); color: #7fe0a8; }
.mc-status--hidden   { background: rgba(169,159,171,.14); color: var(--muted); }
.mc-body { margin: 0 0 6px; line-height: 1.6; white-space: pre-wrap; word-wrap: break-word; }
.mc-date { color: var(--muted); font-size: 12px; }

/* ---------- dashboard menu cards ---------- */
.acct-menu { display: flex; flex-direction: column; gap: 12px; }
.menu-card {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; cursor: pointer; transition: border-color .15s, transform .15s;
}
.menu-card:hover { border-color: var(--pom); transform: translateY(-1px); }
.menu-ico {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: rgba(224,49,79,.12); color: var(--seed);
  display: grid; place-items: center; font-size: 19px;
}
.menu-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.menu-text strong { font-size: 15.5px; }
.menu-text small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.menu-arrow { color: var(--muted); font-size: 17px; transition: transform .15s, color .15s; }
.menu-card:hover .menu-arrow { color: var(--pom); transform: translateX(3px); }

/* ---------- sub-views ---------- */
.acct-back { margin-bottom: 16px; }
.acct-h2 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; margin: 0 0 16px; }

/* ---------- my playlists management ---------- */
.upl-new { display: flex; gap: 8px; margin-bottom: 6px; }
.upl-new input {
  flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--text); padding: 11px 13px; font: inherit;
}
.upl-new input:focus { outline: none; border-color: var(--pom); box-shadow: 0 0 0 3px rgba(224,49,79,.14); }
.c-btn { cursor: pointer; padding: 10px 20px; border: 0; border-radius: 999px; background: var(--pom); color: #fff; font-weight: 600; font-size: 14px; transition: background .15s; }
.c-btn:hover { background: var(--pom-deep); }
.c-btn--sm { padding: 8px 16px; font-size: 13px; }
.c-msg { font-size: 13px; margin: 10px 0 0; padding: 9px 12px; border-radius: var(--radius-sm); }
.c-msg--ok { color: #7fe0a8; background: rgba(31,122,77,.15); border: 1px solid rgba(31,122,77,.35); }
.c-msg--err { color: #ff9fb0; background: rgba(224,49,79,.10); border: 1px solid rgba(224,49,79,.3); }

.upl-item { border-bottom: 1px solid var(--line); padding: 6px 0; }
.upl-item:last-child { border-bottom: 0; }
.upl-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.upl-name {
  display: flex; align-items: center; gap: 9px; flex: 1; min-width: 0;
  background: transparent; border: 0; cursor: pointer; text-align: left;
  color: var(--text); font-size: 15px; font-weight: 600; padding: 10px 4px;
}
.upl-name:hover { color: var(--seed); }
.upl-caret { color: var(--muted); font-size: 12px; width: 12px; flex: none; }
.my-pl-count {
  flex: none; min-width: 24px; height: 20px; padding: 0 7px;
  display: inline-grid; place-items: center;
  background: rgba(224,49,79,.15); color: var(--seed);
  border-radius: 999px; font-size: 11.5px; font-weight: 700;
}
.upl-actions { display: flex; gap: 6px; flex: none; }
.upl-del:hover { border-color: var(--pom); color: var(--pom); }

.upl-rename { display: flex; gap: 8px; align-items: center; padding: 8px 4px; }
.upl-rename input {
  flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--text); padding: 9px 12px; font: inherit;
}
.upl-rename input:focus { outline: none; border-color: var(--pom); }

.upl-songs { padding: 2px 4px 10px 25px; }
.upl-song { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.upl-song:last-child { border-bottom: 0; }
.upl-song-title { flex: 1; min-width: 0; font-size: 14px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upl-song-title:hover { color: var(--gold); }
.upl-song-remove {
  flex: none; width: 26px; height: 26px; border-radius: 50%; cursor: pointer;
  background: transparent; border: 0; color: var(--muted); font-size: 12px;
  display: grid; place-items: center; transition: color .12s, background .12s;
}
.upl-song-remove:hover { color: #fff; background: var(--pom); }

@media (max-width: 560px) {
  .upl-row { flex-wrap: wrap; }
  .upl-actions { width: 100%; justify-content: flex-end; }
}

/* ---------- logo mark ---------- */
.logo-mark { width: 28px; height: 28px; border-radius: 7px; flex: none; }
