@font-face {
  font-family: Onest;
  src: url("./assets/onest-cyr.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Onest;
  src: url("./assets/onest-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  color-scheme: dark;
  --bg: #141313;
  --rail: #181717;
  --surface: #1b1a1a;
  --hover: #242222;
  --edge: #2f2c2b;
  --edge-strong: #3b3634;
  --text: #f3efeb;
  --secondary: #ccc2bc;
  --muted: #a69b96;
  --accent: #ff6b50;
  --accent-hover: #ff826c;
  --accent-ink: #1c100e;
  --ease: 160ms ease;
  --rail-width: 224px;
  --header-height: 72px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.5 Onest, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
button, a { transition: color var(--ease), background-color var(--ease), border-color var(--ease); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
input:focus-visible, textarea:focus-visible { outline-offset: 1px; }
.icon-bank { position: absolute; width: 0; height: 0; pointer-events: none; }
svg { inline-size: 20px; block-size: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
p, h1, h2, h3 { margin: 0; }
strong, b { font-weight: 600; }
small { font-size: .8125rem; }
.shell { min-height: 100vh; display: grid; grid-template-columns: var(--rail-width) minmax(0, 1fr); }

.sidebar {
  height: 100dvh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  padding: 21px 16px 16px;
  background: var(--rail);
  border-inline-end: 1px solid var(--edge);
}
.brand {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  line-height: 1;
  letter-spacing: -.068em;
  font-size: 2.02rem;
  font-weight: 650;
}
.sidebar .brand { margin: 0 8px; }
.brand-mark {
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  height: 35px;
  width: 35px;
  border-radius: 9px;
}
.brand-mark svg { width: 25px; height: 25px; stroke-width: 2.25; }
.brand-period { color: var(--accent); }
.side-nav { display: grid; gap: 4px; margin-block-start: 52px; }
.side-nav button, .mobile-nav button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--secondary);
  text-align: left;
  font-size: .925rem;
}
.side-nav button:hover, .mobile-nav button:hover { color: var(--text); background: var(--hover); }
.side-nav button[aria-current="page"] { color: var(--text); background: #282222; border-color: #3e302d; font-weight: 550; }
.side-nav button[aria-current="page"] svg { color: var(--accent); }
.side-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--edge); }
.my-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 10px;
  padding: 8px 6px;
}
.my-profile:hover { background: var(--hover); }
.my-profile > svg { width: 15px; color: var(--muted); margin-inline-start: auto; }
.my-profile-text { min-width: 0; display: grid; gap: 1px; }
.my-profile-text strong, .my-profile-text small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.my-profile-text strong { font-size: .86rem; }
.my-profile-text small { color: var(--muted); font-size: .75rem; }

.workspace { min-width: 0; }
.topbar {
  position: sticky;
  z-index: 4;
  inset-block-start: 0;
  min-height: var(--header-height);
  padding: 0 max(36px, calc((100% - 1224px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--bg);
  border-block-end: 1px solid var(--edge);
}
.brand-mobile, .mobile-search, .mobile-nav { display: none !important; }
.search-wrap { position: relative; width: min(100%, 404px); }
.search-box {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 11px 0 12px;
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--edge);
  border-radius: 8px;
}
.search-box:focus-within { border-color: var(--accent); }
.search-box svg { width: 18px; height: 18px; }
.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  padding: 4px 0;
  font-size: .875rem;
}
.search-box input::placeholder { color: var(--muted); opacity: 1; }
.search-box input::-webkit-search-cancel-button { opacity: .8; }
.search-box kbd {
  display: grid;
  place-items: center;
  width: 20px;
  height: 21px;
  border: 1px solid var(--edge-strong);
  border-radius: 4px;
  font: .78rem/1 ui-monospace, monospace;
}
.top-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn, .top-avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  inline-size: 36px;
  block-size: 36px;
  border: 0;
  border-radius: 8px;
  background: none;
  padding: 0;
  color: var(--secondary);
}
.icon-btn:hover { background: var(--hover); color: var(--text); }
.top-avatar { width: 36px; border-radius: 50%; }
.avatar {
  --x: 0%;
  --y: 0%;
  display: inline-block;
  flex: none;
  width: 40px;
  height: 40px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: #3b2927 url("./assets/contact.webp") var(--x) var(--y) / 300% 300% no-repeat;
  vertical-align: middle;
}
.av-dasha { --x: 0%; --y: 0%; }
.av-ilya { --x: 50%; --y: 0%; }
.av-self { --x: 100%; --y: 0%; }
.av-nika { --x: 0%; --y: 50%; }
.av-vova { --x: 50%; --y: 50%; }
.av-mila { --x: 100%; --y: 50%; }
.top-avatar .avatar { width: 34px; height: 34px; }
.my-profile .avatar { width: 36px; height: 36px; }

.content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(278px, 26.4vw, 318px);
  align-items: start;
  gap: 28px;
  max-width: 1296px;
  padding: 34px 36px 56px;
  margin: 0 auto;
}
.main-column, .right-column { min-width: 0; }
.feed-heading, .secondary-header {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.feed-heading h1, #secondaryView h1 {
  font-size: clamp(2.4rem, 3.75vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -.068em;
  font-weight: 600;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
}
.button svg { width: 18px; height: 18px; }
.button:hover { background: var(--hover); }
.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.button-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.feed-tabs {
  display: flex;
  gap: 27px;
  border-block-end: 1px solid var(--edge);
  margin: 12px 0 18px;
}
.feed-tabs button {
  color: var(--muted);
  border: 0;
  background: none;
  min-height: 44px;
  padding: 0 2px;
  position: relative;
  font-size: .94rem;
  font-weight: 500;
}
.feed-tabs button:hover, .feed-tabs button[aria-pressed="true"], .feed-tabs button[aria-selected="true"] { color: var(--text); }
.feed-tabs button[aria-pressed="true"]::after, .feed-tabs button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  height: 2px;
  inset-inline: 0;
  inset-block-end: -1px;
  background: var(--accent);
}
.feed-posts { display: grid; gap: 16px; }
.post-card, .side-panel, .connect-panel, .dynamic-card, .dynamic-track, .dynamic-person {
  min-width: 0;
  border: 1px solid var(--edge);
  border-radius: 13px;
  background: var(--surface);
}
.post-card { padding: 16px 16px 0; }
.post-header { display: flex; align-items: center; gap: 11px; }
.post-byline { min-width: 0; }
.byline-top { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 6px; line-height: 1.35; }
.byline-top > span { color: var(--muted); font-size: .875rem; }
.person-name, .text-btn {
  display: inline;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  text-decoration: none;
}
.person-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 100%; font-size: .95rem; font-weight: 600; }
.text-btn:hover { color: var(--accent); }
.post-byline time { color: var(--muted); font-size: .8rem; }
.post-caption { margin: 13px 0 14px; color: var(--secondary); font-size: .95rem; }
.featured-track {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 268px;
  aspect-ratio: 2.65;
  border-radius: 9px;
  background: #281918;
}
.featured-photo, .featured-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.featured-photo { object-fit: cover; object-position: center 50%; z-index: -2; }
.featured-shade { z-index: -1; background: linear-gradient(90deg, rgba(17,11,10,.66), transparent 68%); }
.feature-copy { display: grid; justify-items: start; padding: 20px 26px; }
.feature-artist { color: #f0cac1; font-size: .9rem; font-weight: 500; }
.feature-copy h2 {
  margin: 6px 0 17px;
  color: #fff3ef;
  font-size: clamp(2.42rem, 4vw, 3.65rem);
  font-weight: 650;
  line-height: .96;
  letter-spacing: -.066em;
}
.feature-play {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff3ef;
  font-size: .87rem;
  font-weight: 550;
}
.feature-play span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff3ef;
  color: #231715;
}
.feature-play span svg { margin-inline-start: 1px; }
.feature-play:hover { color: #ffd1c2; }
.feature-play:hover span { background: #ffd1c2; }
.post-actions { min-height: 51px; display: flex; align-items: center; gap: 16px; }
.reaction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 26px;
  min-height: 34px;
  border: 0;
  padding: 0;
  background: none;
  color: var(--muted);
  white-space: nowrap;
  font-size: .82rem;
}
.reaction svg { height: 18px; width: 18px; }
.reaction:hover { color: var(--text); }
.reaction[aria-pressed="true"], .reaction[aria-expanded="true"] { color: var(--accent); }
.reaction[aria-pressed="true"] svg { fill: currentColor; }
.actions-spacer { flex: 1; min-width: 0; }
.icon-reaction { min-width: 23px; }
.compact-track {
  margin-top: 13px;
  padding: 9px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--edge);
  border-radius: 9px;
  background: var(--bg);
}
.compact-track h2 { font-size: 1rem; font-weight: 600; }
.compact-track p { color: var(--muted); font-size: .85rem; }
.compact-track p span { padding: 0 2px; }
.cover {
  display: inline-block;
  flex: none;
  width: 41px;
  height: 41px;
  border: 0;
  padding: 0;
  border-radius: 5px;
  background: #3b2927 url("./assets/contact.webp") var(--x, 0%) 100% / 300% 300% no-repeat;
}
.cover-building { --x: 0%; }
.cover-flower { --x: 50%; }
.cover-power { --x: 100%; }
.cover-night { background: #3b2927 url("./assets/night.webp") 72% 50% / cover no-repeat; }
.compact-track .cover { width: 47px; height: 47px; }

.right-column { display: grid; gap: 14px; padding-top: 4px; }
.side-panel { padding: 16px; }
.panel-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.panel-heading h2, .connect-panel h2 { font-size: 1.04rem; font-weight: 600; letter-spacing: -.018em; }
.panel-link, .connect-link { color: var(--accent); font-size: .83rem; flex: none; font-weight: 550; }
.panel-link:hover, .connect-link:hover { color: var(--accent-hover); }
.people-list { display: grid; }
.person-row { display: flex; gap: 10px; align-items: center; min-width: 0; padding: 10px 0; }
.person-row + .person-row { border-top: 1px solid var(--edge); }
.person-row:last-child { padding-bottom: 1px; }
.person-row:first-child { padding-top: 3px; }
.person-row .avatar { width: 40px; height: 40px; }
.person-meta, .chart-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.4; }
.person-meta small, .chart-meta small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person-meta .person-name { font-size: .89rem; }
.follow-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--edge-strong);
  border-radius: 8px;
  color: var(--secondary);
  background: transparent;
}
.follow-btn svg { width: 17px; height: 17px; }
.follow-btn:hover { color: var(--text); background: var(--hover); }
.follow-btn[aria-pressed="true"] { color: var(--accent); border-color: #694037; }
.chart-list { margin: 0; padding: 0; display: grid; list-style: none; }
.chart-track { display: flex; align-items: center; min-width: 0; gap: 9px; padding: 9px 0; }
.chart-track + .chart-track { border-top: 1px solid var(--edge); }
.chart-track:first-child { padding-top: 1px; }
.chart-track:last-child { padding-bottom: 1px; }
.chart-rank, .chart-count { color: var(--muted); font-size: .77rem; font-variant-numeric: tabular-nums; }
.chart-rank { min-width: 20px; flex: none; }
.chart-meta strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .86rem; }
.chart-meta small { font-size: .78rem; }
.chart-count { white-space: nowrap; }
.chart-note { color: var(--muted); font-size: .84rem; }
.chart-track .icon-btn { width: 30px; height: 30px; }
.chart-sign-in { margin-top: 7px; }
.chart-refresh { margin-bottom: 10px; }
.chart-directory .artist-library-search { margin-block: 0; }
.chart-directory .chart-search-results { position: static; margin-top: 8px; }
#main[data-view="charts"] #chartPanel { display: none; }
.connect-panel {
  display: grid;
  grid-template-columns: 35px 1fr;
  align-items: start;
  column-gap: 10px;
  row-gap: 9px;
  padding: 15px 16px;
  background: #211a19;
  border-color: #392825;
}
.connect-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 8px; background: #3e2824; color: var(--accent); }
.connect-icon svg { width: 18px; height: 18px; }
.connect-panel h2 { font-size: .91rem; }
.connect-panel p { color: var(--muted); font-size: .79rem; }
.connect-link { grid-column: 2; justify-self: start; }

.comment-panel { padding: 1px 0 15px; border-top: 1px solid var(--edge); }
.comment-list { display: grid; gap: 9px; margin: 12px 0; }
.comment-list p { display: flex; flex-direction: column; color: var(--secondary); font-size: .875rem; }
.comment-list strong { color: var(--text); font-size: .82rem; }
.comment-panel form { display: flex; gap: 8px; }
.comment-panel input, .compose-form input, .compose-form textarea, .stream-player-alternatives input {
  width: 100%;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--edge-strong);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: .9rem;
}

#secondaryView { min-height: 350px; }
#secondaryView > h1 { margin-bottom: 24px; }
.secondary-header { margin-bottom: 24px; }
.secondary-header p { color: var(--muted); }
#secondaryView .side-panel { margin-bottom: 14px; }
.dynamic-list { display: grid; gap: 10px; list-style: none; padding: 0; margin: 16px 0; }
.dynamic-card, .dynamic-track, .dynamic-person { padding: 12px; }
.dynamic-card h2, .dynamic-track h2 { font-size: 1.08rem; }
.dynamic-card p, .dynamic-track p, .dynamic-person p { color: var(--secondary); }
.dynamic-button { cursor: pointer; }
.dynamic-button svg { width: 17px; height: 17px; }
.search-results {
  position: absolute;
  z-index: 6;
  inset: calc(100% + 8px) 0 auto;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--edge-strong);
  border-radius: 10px;
  box-shadow: 0 10px 32px #0006;
}
.search-result {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 9px;
  color: var(--text);
  border: 0;
  border-radius: 6px;
  padding: 9px;
  background: transparent;
  text-align: left;
}
.search-result:hover { background: var(--hover); }
.search-result small, .search-results p { color: var(--muted); }
.search-results p { margin: 8px; font-size: .875rem; }
dialog {
  width: min(460px, calc(100% - 28px));
  padding: 24px;
  color: var(--text);
  border: 1px solid var(--edge-strong);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 12px 64px #0008;
}
dialog::backdrop { background: #000a; }
dialog h2 { font-size: 1.45rem; line-height: 1.2; margin-bottom: 9px; padding-right: 22px; }
dialog p { color: var(--secondary); margin-bottom: 12px; }
.dialog-close { position: absolute; inset: 10px 10px auto auto; }
.compose-form { display: grid; gap: 9px; margin-top: 15px; }
.compose-form label { display: grid; gap: 5px; font-size: .89rem; color: var(--secondary); }
.compose-form textarea { resize: vertical; min-height: 72px; }
.dialog-actions { display: flex; gap: 8px; justify-content: end; margin-top: 10px; }
.toast {
  z-index: 15;
  position: fixed;
  inset: auto 24px 24px auto;
  max-width: min(400px, calc(100vw - 48px));
  border: 1px solid var(--edge-strong);
  border-radius: 10px;
  padding: 11px 14px;
  background: #2d2523;
  color: var(--text);
  box-shadow: 0 10px 30px #0007;
  font-size: .88rem;
}
.mini-player {
  z-index: 5;
  position: fixed;
  inset: auto 24px 24px auto;
  max-width: min(430px, calc(100vw - 48px));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--edge-strong);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 10px 30px #0008;
}
.mini-player img { border-radius: 6px; object-fit: cover; }
.player-details { min-width: 112px; display: flex; flex-direction: column; line-height: 1.35; }
.player-details strong { font-size: .84rem; }
.player-details small { color: var(--muted); font-size: .76rem; }
.player-play { color: var(--accent); }
.stream-player {
  display: grid;
  width: 374px;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.stream-player-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 4px;
  padding: 4px 6px 4px 12px;
}
.stream-player-header strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .86rem;
}
.stream-player-frame {
  position: relative;
  height: 180px;
}
.stream-player[data-service="youtube"] .stream-player-frame {
  height: auto;
  min-height: 200px;
  aspect-ratio: 16 / 9;
  background: #000;
}
.stream-player[data-service="spotify"] .stream-player-frame { height: 152px; }
.stream-player[data-service="audius"] .stream-player-frame { height: auto; padding-inline: 12px; }
.stream-player-frame audio { display: block; width: 100%; }
.stream-audius-links { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.stream-player-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.stream-player-alternatives {
  display: grid;
  gap: 8px;
  padding: 8px 12px 10px;
  font-size: .82rem;
}
.stream-player-alternatives a { color: var(--secondary); }
.stream-player-alternatives a:hover { color: var(--accent); }
.stream-player-alternatives summary { cursor: pointer; color: var(--secondary); }
.stream-player-alternatives form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; margin-top: 6px; }
.stream-player-alternatives input { width: 100%; min-width: 0; }
.stream-player-alternatives [role="status"] { grid-column: 1 / -1; color: var(--accent); }
.stream-player-queue {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  padding: 8px;
  gap: 5px;
  text-align: center;
  color: var(--secondary);
  font-size: .79rem;
}
.stream-player-queue .button { min-height: 32px; }
.stream-player-queue .button:disabled { opacity: .45; cursor: default; }

@media (max-width: 1140px) {
  :root { --rail-width: 186px; }
  .sidebar { padding-inline: 12px; }
  .content { gap: 18px; padding-inline: 24px; grid-template-columns: minmax(0, 1fr) 272px; }
  .topbar { padding-inline: 24px; }
}
@media (max-width: 970px) {
  :root { --rail-width: 76px; }
  .sidebar { align-items: center; padding-inline: 10px; }
  .sidebar .brand { margin: 0 auto; align-self: center; }
  .sidebar .brand > span:last-child, .side-nav button, .my-profile-text, .my-profile > svg { font-size: 0; }
  .sidebar .brand > span:last-child, .my-profile-text, .my-profile > svg { display: none; }
  .side-nav { width: 100%; }
  .side-nav button { justify-content: center; gap: 0; }
  .side-foot { width: 100%; }
  .my-profile { justify-content: center; padding-inline: 0; }
}
@media (max-width: 740px) {
  .content { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .right-column { display: none; }
  .featured-track { min-height: 240px; }
}
@media (max-width: 570px) {
  :root { --header-height: 56px; }
  .shell { display: block; }
  .sidebar { display: none; }
  .topbar { padding-inline: 16px; gap: 12px; }
  .top-actions { gap: 4px; }
  .brand-mobile { display: inline-flex !important; align-self: center; gap: 8px; font-size: 1.65rem; }
  .brand-mark { width: 30px; height: 30px; border-radius: 8px; }
  .brand-mark svg { width: 20px; height: 20px; }
  .mobile-search { display: inline-grid !important; }
  .topbar .search-wrap { display: none; position: absolute; inset: calc(100% + 6px) 12px auto; width: auto; z-index: 9; }
  .topbar:has(.search-wrap:focus-within) .search-wrap, .topbar .search-wrap.is-open, .topbar.search-open .search-wrap { display: block; }
  .search-box kbd { display: none; }
  .content { padding: 19px 12px 92px; }
  .feed-heading { min-height: 46px; }
  .feed-heading h1, #secondaryView h1 { font-size: 2.5rem; }
  .feed-heading .button { min-height: 37px; padding-inline: 9px; gap: 4px; font-size: .78rem; }
  .feed-heading .button svg { width: 16px; height: 16px; }
  .feed-tabs { margin: 8px 0 12px; gap: 21px; }
  .feed-tabs button { min-height: 40px; }
  .feed-posts { gap: 12px; }
  .post-card { padding: 12px 12px 0; border-radius: 12px; }
  .post-header .avatar { width: 36px; height: 36px; }
  .post-caption { margin: 10px 0 11px; }
  .featured-track { min-height: 205px; aspect-ratio: 1.63; }
  .featured-photo { object-position: 64% 50%; }
  .feature-copy { padding: 15px; }
  .feature-copy h2 { font-size: 2.55rem; margin-bottom: 12px; }
  .post-actions { gap: 11px; min-height: 46px; }
  .mobile-nav {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    z-index: 6;
    position: fixed;
    inset: auto 0 0;
    padding: 3px 4px max(5px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--edge);
    background: var(--rail);
  }
  .mobile-nav button { flex-direction: column; justify-content: center; gap: 2px; min-height: 48px; padding: 0 1px; font-size: .66rem; text-align: center; }
  .mobile-nav button[aria-current="page"] { color: var(--accent); }
  .mobile-nav svg { width: 19px; height: 19px; }
  .toast, .mini-player { inset-block-end: 65px; inset-inline-end: 12px; max-width: calc(100vw - 24px); }
  .stream-player { inset-block-end: calc(60px + max(5px, env(safe-area-inset-bottom))); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0ms !important; }
}


.secondary-header { display: grid; justify-content: start; gap: 7px; }
.empty-state { margin: 0 0 14px; color: var(--secondary); }
.dynamic-track, .dynamic-person, .dynamic-post-header { display: flex; align-items: center; gap: 11px; }
.dynamic-track > div { flex: 1; min-width: 0; }
.dynamic-track > div small { display: block; color: var(--muted); }
.dynamic-track img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.dynamic-person { align-items: flex-start; }
.dynamic-person h2 { padding: 0; margin-bottom: 4px; }
.dynamic-person p { margin: 0; }
.dynamic-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--edge-strong);
  border-radius: 8px;
  color: var(--secondary);
  font-size: .86rem;
}
.dynamic-button:hover { color: var(--text); background: var(--hover); }
.dynamic-button[aria-pressed='true'] { color: var(--accent); }
.dynamic-button.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.dynamic-button.primary:hover { background: var(--accent-hover); }
.dynamic-post-header { margin-bottom: 10px; }
.dynamic-post-header small { color: var(--muted); }
.dynamic-avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #3e2824; color: var(--accent); }
.recommendation > p { margin-bottom: 10px; }
.recommendation .dynamic-track { background: var(--bg); }
.dynamic-post-actions { display: flex; gap: 8px; padding: 9px 0 0; }
.recommendation form { display: flex; gap: 8px; }
.recommendation input, #dialogContent > input { min-width: 0; width: 100%; padding: 8px; border: 1px solid var(--edge-strong); border-radius: 8px; background: var(--bg); color: var(--text); }
.search-results > button { display: flex; justify-content: start; padding: 0; border: 0; width: 100%; }
.search-result:has(small) { align-items: start; gap: 1px; flex-direction: column; }
@media (max-width: 570px) { body.search-open .topbar .search-wrap { display: block; } }

/* Listening history and music recommendations */
.scrobble-view { display: grid; gap: 14px; }
.scrobble-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 0 0 6px; }
.scrobble-header p { color: var(--muted); font-size: .9rem; margin-top: 9px; }
.stats-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.stats-tools > .text-btn { color: var(--accent); font-size: .85rem; }
.stats-mobile-charts { display: none; }
.scrobble-period { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--edge); border-radius: 9px; background: var(--surface); }
.scrobble-period-button { padding: 5px 10px; min-height: 34px; border: 1px solid transparent; border-radius: 6px; background: none; color: var(--muted); font-size: .82rem; }
.scrobble-period-button:hover { color: var(--text); }
.scrobble-period-button[aria-pressed='true'] { background: #312523; border-color: #4a312a; color: var(--text); }
.scrobble-metrics, .scrobble-columns { display: grid; gap: 10px; }
.scrobble-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scrobble-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.scrobble-panel, .scrobble-metric { border: 1px solid var(--edge); border-radius: 12px; background: var(--surface); padding: 15px 16px; }
.scrobble-metric { display: grid; gap: 2px; min-width: 0; }
.scrobble-metric strong { font-size: 1.8rem; font-variant-numeric: tabular-nums; line-height: 1.25; }
.scrobble-metric span { color: var(--muted); font-size: .85rem; }
.scrobble-panel h2 { font-size: 1.03rem; font-weight: 600; }
.scrobble-empty { display: grid; justify-items: start; gap: 9px; min-height: 155px; align-content: center; }
.scrobble-empty p { color: var(--secondary); font-size: .92rem; max-width: 42ch; }
.scrobble-empty .button { margin-top: 4px; }
.scrobble-chart { display: grid; grid-template-columns: repeat(var(--scrobble-days), minmax(0,1fr)); align-items: end; gap: 4px; height: 110px; margin: 12px 0 5px; padding: 0; border-bottom: 1px solid var(--edge-strong); list-style: none; }
.scrobble-bar { position: relative; display: flex; align-items: end; justify-content: center; height: 100%; }
.scrobble-bar-fill { display: block; width: min(28px, 100%); min-height: 2px; height: var(--scrobble-height); border-radius: 3px 3px 0 0; background: var(--accent); }
.scrobble-bar-fill[style$=' 0%'] { background: var(--edge-strong); }
.scrobble-chart-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: .78rem; }
.scrobble-list, .scrobble-source-list { list-style: none; margin: 9px 0 0; padding: 0; }
.scrobble-list li, .scrobble-source-list li { display: flex; align-items: center; justify-content: space-between; min-width: 0; gap: 10px; padding: 9px 0; font-size: .88rem; }
.scrobble-list li + li, .scrobble-source-list li + li { border-top: 1px solid var(--edge); }
.scrobble-list li:last-child { padding-bottom: 0; }
.scrobble-list small, .scrobble-source-list small { display: block; color: var(--muted); }
.scrobble-list li > span, .scrobble-history time { color: var(--muted); font-size: .77rem; text-align: right; white-space: nowrap; }
.scrobble-source-list li { align-items: flex-start; }
.scrobble-source-list li > span { color: var(--muted); font-size: .74rem; margin-top: 1px; white-space: nowrap; }
.scrobble-source-list li:first-child > span { color: var(--accent); }
.scrobble-setup .dialog-actions { flex-wrap: wrap; margin-top: 14px; }
.scrobble-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

#music-link-help, .share-help { color: var(--muted); line-height: 1.45; }
.music-link-error { color: #ff9a89; }
.share-track { display: flex; align-items: center; gap: 10px; padding: 10px; margin: 13px 0; border: 1px solid var(--edge); border-radius: 9px; background: var(--bg); }
.share-track-icon { display: grid; place-items: center; width: 35px; height: 35px; flex: none; border-radius: 7px; color: var(--accent); background: #3e2824; }
.share-track strong, .share-track small { display: block; overflow-wrap: anywhere; }
.share-track small { color: var(--muted); }
.share-label { display: inline-block; font-size: .88rem; color: var(--secondary); margin-bottom: 5px; }
#shareText { display: block; width: 100%; min-height: 85px; resize: vertical; padding: 9px; border: 1px solid var(--edge-strong); border-radius: 8px; background: var(--bg); color: var(--text); font-size: .83rem; }
.share-help { margin-top: 8px; font-size: .81rem; }
.share-actions { flex-wrap: wrap; justify-content: space-between; }
.share-actions .button-primary { margin-inline-start: auto; }
.stream-link { color: var(--text); text-decoration: none; min-height: 36px; border-color: var(--edge-strong); }
.stream-link:hover { color: var(--accent); }
.stream-link svg { width: 15px; height: 15px; }
.recommendation .dynamic-track { flex-wrap: wrap; }
.recommendation .dynamic-track > div { min-width: 110px; overflow-wrap: anywhere; }
@media (max-width: 570px) {
  .scrobble-header { align-items: start; }
  .scrobble-metric { padding: 10px; }
  .scrobble-metric span { font-size: .74rem; }
  .scrobble-metric strong { font-size: 1.55rem; }
  .scrobble-columns { grid-template-columns: minmax(0, 1fr); }
  .stats-mobile-charts { display: inline; }
}

.scrobble-history-actions { display: flex; align-items: center; gap: 6px; }
.scrobble-history-actions .icon-btn { width: 32px; height: 32px; }
.scrobble-history-actions svg { width: 16px; height: 16px; }
.scrobble-history li > div:first-child { min-width: 0; overflow-wrap: anywhere; }
.scrobble-scope { justify-self: start; }
.scrobble-beta-controls { display: grid; gap: 9px; }
.scrobble-beta-controls h3 { margin: 0; font-size: 1rem; }
.scrobble-beta-controls p { margin: 0; }
.scrobble-beta-steps { margin: 0 0 6px; padding-left: 1.25rem; color: var(--secondary); font-size: .9rem; }
.scrobble-beta-steps li + li { margin-top: 6px; }
.scrobble-beta-controls label { display: block; color: var(--secondary); font-size: .84rem; }
.scrobble-beta-controls input { min-width: 0; width: 100%; padding: 8px; border: 1px solid var(--edge-strong); border-radius: 8px; background: var(--bg); color: var(--text); font-size: .86rem; }
.scrobble-beta-login { display: grid; gap: 6px; }
.scrobble-copy-row { display: grid; grid-template-columns: minmax(0, 1fr) max-content; gap: 7px; }
.scrobble-beta-status, .scrobble-beta-note { font-size: .82rem; color: var(--muted); }
.scrobble-beta-status:empty { display: none; }
.scrobble-beta-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.scrobble-beta-android { padding: 7px 0; border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); font-size: .86rem; }
.scrobble-beta-android summary { cursor: pointer; }
.scrobble-beta-android p { margin: 7px 0; }
.scrobble-beta-controls > .text-btn { justify-self: start; }
.scrobble-beta-controls :disabled, .stats-tools :disabled { opacity: .6; cursor: wait; }

/* Music profile */
.avatar.av-self { background: #312725 url("./assets/anywaywelcome-avatar.png") center / cover no-repeat; }
.avatar.av-self-initial { display: grid; place-items: center; background: #352624; color: var(--accent); font-weight: 650; }
.av-self-initial svg { width: 18px; height: 18px; }
.content:is([data-view="profile"], [data-view="artist"]) { display: block; }
.content:is([data-view="profile"], [data-view="artist"]) > .right-column { display: none; }
@media (min-width: 741px) {
  .content[data-view="profile"] { margin-inline: 0; }
}
@media (min-width: 1141px) {
  .content[data-view="profile"] { padding-inline: 32px; }
}
.profile-view { display: grid; gap: 20px; }
.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 22px;
  padding: clamp(18px, 2.4vw, 32px);
  border: 1px solid #3c302e;
  border-radius: 14px;
  background: #201918;
}
.profile-account-hero, .artist-hero { grid-template-columns: minmax(0, 1fr); }
.profile-account-hero {
  gap: 12px;
  padding: clamp(12px, 1.6vw, 20px);
}
.profile-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}
.profile-identity, .profile-actions { display: flex; align-items: center; }
.profile-identity { min-width: 0; align-self: stretch; }
.profile-actions { justify-content: flex-end; flex-wrap: wrap; }
.profile-topline .profile-identity { flex: 1 1 auto; gap: 12px; }
.profile-topline .profile-actions { min-width: 0; max-width: 100%; justify-content: flex-start; gap: 8px; }
.profile-avatar {
  flex: none;
  width: 56px;
  height: 56px;
  border: 1px solid #51423d;
  border-radius: 12px;
  object-fit: cover;
}
.profile-avatar-fallback { display: grid; place-items: center; color: var(--accent); background: #352624; font-size: 2rem; }
.profile-head { min-width: 0; }
#secondaryView .profile-head h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.1rem, 3.8vw, 3.6rem);
  line-height: 1;
  letter-spacing: -.075em;
  overflow-wrap: anywhere;
}
#secondaryView .profile-account-hero .profile-head h1 {
  font-size: clamp(1.6rem, 2.7vw, 2.5rem);
  letter-spacing: -.05em;
  line-height: 1.06;
}
.profile-handle, .profile-meta { color: var(--muted); font-size: .86rem; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; }
.profile-account-hero .profile-meta { margin-top: 4px; }
.profile-bio { margin-top: 4px; color: var(--secondary); font-size: .84rem; }
.profile-account-hero .profile-actions .button { min-height: 32px; padding: 4px 10px; gap: 6px; font-size: .8rem; line-height: 1.25; }
.profile-account-hero .profile-actions .button svg { flex: none; width: 14px; height: 14px; }
.profile-actions .button { background: #231d1c; }
.profile-actions .button:hover { background: #352725; }
.profile-actions .button-primary { background: var(--accent); }
.profile-actions .button-primary:hover { background: var(--accent-hover); }
.profile-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  gap: 8px;
}
.profile-metric {
  display: grid;
  gap: 2px;
  padding: 6px 10px;
  border: 1px solid #392e2c;
  border-radius: 8px;
  background: #1b1716;
}
.profile-metric dt { grid-row: 2; color: var(--muted); font-size: .76rem; line-height: 1.3; overflow-wrap: anywhere; }
.profile-metric dd { grid-row: 1; margin: 0; color: var(--text); font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.2; font-variant-numeric: tabular-nums; font-weight: 600; }
.profile-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 9px 14px; border-bottom: 1px solid var(--edge); }
.profile-tabs, .profile-periods { display: flex; gap: 8px; flex-wrap: wrap; }
.profile-tabs { min-width: 0; }
.profile-periods { margin-bottom: 4px; padding: 2px; border: 1px solid var(--edge); border-radius: 8px; background: var(--surface); }
.profile-control { min-height: 43px; padding: 0 9px; border: 0; border-radius: 0; position: relative; background: transparent; color: var(--muted); font-size: .86rem; white-space: nowrap; }
.profile-control:hover { color: var(--text); }
.profile-control[aria-pressed="true"] { color: var(--text); }
.profile-tabs .profile-control[aria-pressed="true"]::after { content: ""; height: 2px; background: var(--accent); position: absolute; inset: auto 5px -1px; }
.profile-periods .profile-control { min-height: 30px; border-radius: 5px; font-size: .77rem; }
.profile-periods .profile-control[aria-pressed="true"] { background: #372825; }
.profile-grid { align-items: start; grid-template-columns: minmax(0, 1fr) clamp(248px, 25vw, 320px); }
.profile-main, .profile-rail { min-width: 0; display: grid; gap: 16px; }
.profile-card { min-width: 0; padding: 15px 16px; border: 1px solid var(--edge); border-radius: 12px; background: var(--surface); }
.profile-card-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 10px; margin-bottom: 8px; }
.profile-card-heading h2 { flex: 1; font-size: 1.07rem; font-weight: 600; letter-spacing: -.021em; }
.profile-card-link { color: var(--accent); font-size: .82rem; }
.profile-card-source { color: var(--muted); font-size: .76rem; }
.profile-table { list-style: none; margin: 0; padding: 0; }
.profile-table > li { position: relative; min-width: 0; border-top: 1px solid var(--edge); }
.profile-table > li:first-child { border-top: 0; }
.profile-history-row {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) auto auto 29px;
  align-items: center;
  gap: 8px 10px;
  min-height: 55px;
  padding: 8px 0;
}
.profile-list-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 6px; background: #322725; color: var(--accent); }
.profile-list-icon svg { width: 15px; height: 15px; }
.profile-track-meta { display: flex; flex-direction: column; min-width: 0; }
.profile-track-meta strong, .profile-track-meta small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.profile-track-meta strong { font-size: .9rem; }
.profile-track-meta small, .profile-list-source, .profile-history-row time { color: var(--muted); font-size: .75rem; }
.profile-history-row time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.profile-history-row .icon-btn { width: 29px; height: 29px; }
.profile-history-row .icon-btn svg { width: 16px; height: 16px; }
.profile-ranking > li {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding: 6px 0;
}
.profile-ranking > .profile-artist-row { align-items: start; padding: 11px 0; }
.profile-artist-details { min-width: 0; overflow-wrap: anywhere; }
.profile-artist-details p, .profile-listening-track p { margin: 3px 0; color: var(--secondary); font-size: .84rem; }
.profile-artist-details a { margin-inline-end: 10px; color: var(--accent); font-size: .77rem; }
.profile-artist-link { color: inherit; text-decoration: underline; text-decoration-color: var(--edge-strong); text-underline-offset: .18em; }
.profile-artist-link:hover { color: var(--accent); text-decoration-color: currentColor; }
.profile-artist-details strong a { margin: 0; color: var(--text); font-size: inherit; }
.profile-artist-details strong a:hover { color: var(--accent); }
.profile-artist-tags { display: flex; flex-wrap: wrap; gap: 5px; list-style: none; margin: 5px 0; padding: 0; }
.profile-artist-tags li { padding: 2px 7px; border: 1px solid var(--edge-strong); border-radius: 6px; color: var(--secondary); font-size: .75rem; }
.artist-sources { display: flex; flex-wrap: wrap; gap: 7px 12px; margin-top: 6px; }
.artist-sources > a:not(.button) { color: var(--accent); font-size: .8rem; }
.artist-biography-copy { display: grid; gap: .75rem; max-width: 72ch; color: var(--secondary); line-height: 1.65; overflow-wrap: anywhere; }
.artist-biography-sources { margin-top: 12px; }
.artist-biography-sources summary { width: fit-content; color: var(--muted); font-size: .8rem; cursor: pointer; }
.artist-release-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 0; overflow-wrap: anywhere; }
.artist-release-row time, .artist-release-row small { display: block; color: var(--muted); font-size: .79rem; }
.artist-library-search { display: grid; gap: 4px; max-width: 24rem; margin-block: 12px 8px; color: var(--secondary); font-size: .84rem; }
.artist-library-search input { width: 100%; padding: 8px 11px; border: 1px solid var(--edge-strong); border-radius: 7px; background: var(--bg); color: var(--text); }
.profile-listening-grid { display: grid; gap: 15px; }
.profile-listening .profile-ranking > li { grid-template-columns: auto minmax(0, 1fr) auto; }
.profile-listening .profile-list-icon { grid-row: auto; }
.profile-listening-track { min-width: 0; overflow-wrap: anywhere; }
.profile-listening-track small { display: block; color: var(--muted); font-size: .79rem; }
.profile-listening-track p { white-space: pre-wrap; }
.personal-recommendation-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.personal-recommendations > h2 { font-size: 1.07rem; }
.personal-recommendations .profile-ranking > li { grid-template-columns: auto minmax(0, 1fr) auto; padding-block: 9px; }
.personal-recommendations .profile-list-icon { grid-row: auto; }
.personal-recommendations .profile-listening-track p { white-space: normal; }
.personal-recommendations .stream-link { padding-inline: 9px; }
.profile-rank, .profile-list-count { color: var(--muted); font-size: .79rem; font-variant-numeric: tabular-nums; }
.profile-list-count { padding-inline-start: 4px; }
.profile-empty { color: var(--muted); font-size: .88rem; padding: 8px 0; }
.profile-note, .profile-snapshot-note { color: var(--muted); font-size: .82rem; }
.profile-pagination, .profile-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 16px; }
.profile-pagination { justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--edge); color: var(--muted); font-size: .79rem; }
.profile-pagination button:disabled { opacity: .48; cursor: default; }
.profile-footer { padding: 0 4px 8px; }
.profile-footer .text-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--secondary); font-size: .83rem; }
.profile-footer .text-btn:hover { color: var(--accent); }
.profile-footer svg { width: 16px; height: 16px; }
@media (max-width: 1050px) {
  .profile-toolbar { flex-wrap: wrap; }
  .profile-tabs .profile-control[aria-pressed="true"]::after { inset-block-end: 0; }
  .profile-grid { grid-template-columns: minmax(0, 1fr) 236px; }
}
@media (max-width: 760px) {
  .profile-view { gap: 14px; }
  .profile-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .profile-main, .profile-rail { gap: 12px; }
  .profile-avatar { width: 48px; height: 48px; border-radius: 10px; }
  .artist-hero { gap: 14px; }
}
@media (max-width: 570px) {
  .artist-hero { padding: 15px; }
  .profile-topline { display: grid; grid-template-columns: minmax(0, 1fr); }
  .profile-topline .profile-actions { flex-wrap: nowrap; align-items: stretch; }
  .profile-account-hero .profile-actions .button { min-width: 0; white-space: normal; text-align: center; }
  .profile-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .profile-metric { padding-inline: 8px; }
  .profile-tabs { gap: 2px; }
  .profile-tabs .profile-control { min-height: 37px; padding-inline: 5px; font-size: .8rem; }
  .profile-card { padding: 12px; }
  .profile-history-row { grid-template-columns: 27px minmax(0, 1fr) 28px; gap: 2px 8px; }
  .profile-list-icon { grid-column: 1; grid-row: 1 / 3; width: 27px; height: 27px; }
  .profile-history-row .profile-track-meta { grid-column: 2; grid-row: 1; }
  .profile-history-row .icon-btn { grid-column: 3; grid-row: 1 / 3; }
  .profile-history-row .profile-list-source { display: none; }
  .profile-history-row time { grid-column: 2; grid-row: 2; }
}

.profile-archive-note {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: .81rem;
  line-height: 1.4;
}
.profile-social {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
.profile-connection-count, .profile-loved-total { display: inline-flex; align-items: baseline; gap: 6px; color: var(--muted); font-size: .8rem; }
.profile-connection-count { min-height: 30px; align-items: center; padding: 0 8px; border: 1px solid var(--edge); border-radius: 7px; background: #251e1d; }
.profile-connection-count:hover, .profile-connection-count:focus-visible { color: var(--text); border-color: var(--accent); }
.profile-connection-count strong, .profile-loved-total strong { color: var(--text); font-size: .85rem; font-variant-numeric: tabular-nums; }
.profile-actions .profile-subscribe { border-color: var(--accent); }
.profile-actions .profile-subscribe:disabled { opacity: .7; cursor: wait; }
.profile-people-list { list-style: none; margin: 0; padding: 0; }
.profile-people-list li + li { border-top: 1px solid var(--edge); }
.profile-people-list a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; color: var(--text); text-decoration: none; }
.profile-people-list a:hover strong { color: var(--accent); }
.profile-people-list a strong { overflow-wrap: anywhere; }
.profile-people-list a svg { width: 17px; height: 17px; color: var(--muted); }
.profile-person-initial { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #352624; color: var(--accent); font-weight: 650; }
.profile-beta-people { margin-bottom: 16px; }
.profile-beta-people li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.profile-beta-people li a { grid-template-columns: auto minmax(0, 1fr); }
.beta-person-follow { min-height: 34px; padding: 5px 10px; font-size: .79rem; }
.beta-person-follow[data-following="true"] { color: var(--secondary); }
.profile-recommendations .profile-ranking > li { grid-template-columns: minmax(0, 1fr) auto; }
.profile-recommendations .profile-ranking > li > :last-child { justify-self: end; }
.my-profile > svg { display: none; }
@media (max-width: 570px) {
  .profile-tabs { gap: 1px; }
  .profile-tabs .profile-control { padding-inline: 3px; }
}
@media (max-width: 420px) {
  #secondaryView .profile-account-hero .profile-head h1 { font-size: clamp(1.6rem, 8vw, 2.1rem); }
}
