/* Pulse v2: плоский редакционный дизайн: чернила, бумага, сигнальный жёлтый */
:root {
  --bg: #0d0d0e;
  --bg-2: #141415;
  --card: #171718;
  --card-2: #1e1e20;
  --line: #28282b;
  --line-soft: #1e1e20;
  --text: #f3f0e6;
  --sub: #c7c3b4;
  --muted: #8d8a7d;
  --acc: #ffce2e;
  --acc-ink: #181300;
  --danger: #ff6b5e;
  --radius: 10px;
  --radius-l: 14px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: "Consolas", "SF Mono", Menlo, monospace;
  --sidebar-w: 252px;
  --player-h: 96px;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--acc); color: var(--acc-ink); }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 6px; }
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--acc); color: var(--acc-ink); padding: 10px 16px;
  border-radius: 8px; transition: top .15s; text-decoration: none; font-weight: 800;
}
.skip-link:focus { top: 12px; }
.app { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; }

/* Сайдбар */
.sidebar {
  position: sticky; top: 0; height: 100vh;
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  padding: 20px 14px calc(var(--player-h) + 18px);
  display: flex; flex-direction: column; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 2px 6px; }
.brand-mark {
  width: 34px; height: 34px; background: var(--acc); color: var(--acc-ink);
  display: grid; place-items: center; font-weight: 900; font-size: 19px; border-radius: 7px;
}
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.brand-name small { display: block; font-size: 10px; color: var(--muted); font-weight: 700; letter-spacing: .14em; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-link {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 10px; border-radius: 8px; text-decoration: none;
  color: var(--sub); font-weight: 600; font-size: 14.5px;
  border-left: 3px solid transparent;
}
.nav-link svg { width: 19px; height: 19px; flex: none; }
.nav-link:hover { background: var(--card-2); color: var(--text); }
.nav-link[aria-current="page"] { background: var(--card-2); color: var(--text); border-left-color: var(--acc); }
.side-title { font-size: 11px; letter-spacing: .12em; color: var(--muted); margin: 6px 8px 2px; font-weight: 800; font-family: var(--mono); }
.side-playlists { display: flex; flex-direction: column; gap: 1px; overflow: auto; max-height: 30vh; }
.side-pl { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 8px; text-decoration: none; color: var(--sub); font-size: 13.5px; }
.side-pl:hover { background: var(--card-2); color: #fff; }
.mini-cover { width: 34px; height: 34px; border-radius: 6px; flex: none; object-fit: cover; display: block; background: var(--card-2); }
.side-profile {
  margin-top: auto; display: flex; align-items: center; gap: 10px;
  padding: 10px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); text-decoration: none;
}
.side-profile:hover { border-color: var(--acc); }
.side-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; background: var(--card-2); }
.side-profile b { display: block; font-size: 14px; }
.side-profile span { font-size: 12px; color: var(--muted); }
.side-foot { color: var(--muted); font-size: 11.5px; padding: 0 6px; font-family: var(--mono); }

.btn {
  appearance: none; border: 1px solid var(--line); background: var(--card-2); color: var(--text);
  padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; justify-content: center; text-decoration: none;
}
.btn:hover { border-color: var(--acc); }
.btn-primary { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; }
.btn-danger { border-color: var(--danger); color: var(--danger); background: transparent; }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn-block { width: 100%; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 8px; display: inline-grid; place-items: center;
  background: transparent; border: 1px solid transparent; cursor: pointer; color: var(--sub);
}
.icon-btn:hover { background: var(--card-2); color: #fff; }
.icon-btn[aria-pressed="true"] { color: var(--acc); }
.btn svg { width: 15px; height: 15px; flex: none; }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn.play { width: 46px; height: 46px; border-radius: 50%; background: var(--acc); color: var(--acc-ink); }
.icon-btn.play:hover { filter: brightness(1.08); }
.icon-btn.play svg { width: 21px; height: 21px; }

/* Колонка */
.main-col { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 26px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.search-wrap { position: relative; flex: 1; max-width: 540px; }
.search-wrap svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.search-input {
  width: 100%; padding: 10px 14px 10px 36px; border-radius: 8px;
  background: var(--card); border: 1px solid var(--line); color: var(--text); font-size: 14px;
}
.search-input::placeholder { color: var(--muted); }
.search-input:focus { border-color: var(--acc); }
.top-hint { margin-left: auto; color: var(--muted); font-size: 12px; font-family: var(--mono); white-space: nowrap; }
.top-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }
.top-brand .brand-mark { width: 28px; height: 28px; font-size: 15px; border-radius: 6px; }
.profile-btn { display: flex; align-items: center; gap: 9px; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 4px; cursor: pointer; font-weight: 700; font-size: 13px; }
.profile-btn:hover { border-color: var(--acc); }
.profile-btn img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--card-2); }

.content { padding: 26px; padding-bottom: calc(var(--player-h) + 110px); max-width: 1220px; width: 100%; margin: 0 auto; }
.content h1 { font-size: clamp(26px, 4vw, 40px); letter-spacing: -.02em; margin: 0 0 6px; }
.kv { color: var(--muted); font-size: 13px; }

/* Хиро: плоский, с жёлтой линейкой */
.hero { border: 1px solid var(--line); border-radius: var(--radius-l); padding: 30px; margin-bottom: 26px; background: var(--bg-2); position: relative; }
.hero::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 5px; background: var(--acc); border-radius: 0 4px 4px 0; }
.hero-tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; color: var(--acc); margin: 0 0 10px; }
.hero h1 { font-size: clamp(30px, 5vw, 54px); line-height: 1.02; letter-spacing: -.025em; margin: 0 0 10px; }
.hero p { margin: 0 0 18px; color: var(--sub); max-width: 62ch; font-size: 15px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 26px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-stats b { font-size: 20px; display: block; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 12px; color: var(--muted); font-family: var(--mono); letter-spacing: .06em; }

.section { margin: 30px 0; }
.section-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.section-head h2 { font-size: 19px; margin: 0; letter-spacing: -.01em; }
.section-head h2::before { content: ""; display: inline-block; width: 9px; height: 9px; background: var(--acc); margin-right: 9px; }
.section-head p { margin: 0; color: var(--muted); font-size: 13px; font-family: var(--mono); }
.section-head .spacer { flex: 1; }
.link-more { color: var(--sub); font-size: 13.5px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); }
.link-more:hover { color: var(--acc); border-color: var(--acc); }
.text-link { color: var(--sub); font-size: 13.5px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 5px; }
.text-link:hover { color: var(--acc); text-decoration-color: var(--acc); }
.text-link svg { width: 13px; height: 13px; }

.grid { display: grid; gap: 14px; }
.grid.cards { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.grid.artists { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px; text-decoration: none; display: flex; flex-direction: column; gap: 8px;
  opacity: 0; transform: translateY(8px);
}
.card.visible { opacity: 1; transform: none; transition: opacity .25s, transform .25s, border-color .15s; }
.card:hover { border-color: var(--acc); transform: translateY(-2px); }
.cover-wrap { position: relative; }
.cover { width: 100%; aspect-ratio: 1; border-radius: 7px; object-fit: cover; display: block; background: var(--card-2); }
.cover.round { border-radius: 50%; }
.cover-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; overflow: hidden; padding: 0; }
.cover-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 0; }
.entity-cover.cover-mosaic { width: 216px; height: 216px; border-radius: 12px; aspect-ratio: auto; }
@media (max-width: 860px) { .entity-cover.cover-mosaic { width: 132px; height: 132px; } }
.cover-wrap .play-fab {
  position: absolute; right: 8px; bottom: 8px; width: 42px; height: 42px; border-radius: 50%;
  background: var(--acc); color: var(--acc-ink); display: grid; place-items: center;
  opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s; border: none; cursor: pointer;
}
.card:hover .play-fab, .play-fab:focus-visible { opacity: 1; transform: none; }
.card-title { font-weight: 750; font-size: 14.5px; line-height: 1.3; }
.card-sub { color: var(--muted); font-size: 12.5px; }
.card-meta { color: var(--muted); font-size: 11.5px; font-family: var(--mono); }
.chart-row { display: flex; gap: 12px; align-items: center; }
.chart-num { font-family: var(--mono); font-size: 22px; color: var(--muted); min-width: 34px; }
.chart-row.playing .chart-num { color: var(--acc); }

/* Треки */
.track-list { display: flex; flex-direction: column; }
.track-row {
  display: grid; grid-template-columns: 40px 50px 1fr auto; gap: 12px; align-items: center;
  padding: 7px 10px; border-radius: 8px; border-left: 3px solid transparent;
}
.track-row:hover { background: var(--card); }
.track-row.active { background: var(--card-2); }
.track-row.playing { border-left-color: var(--acc); }
.track-num { color: var(--muted); font-size: 13px; text-align: center; font-family: var(--mono); }
.track-row.playing .track-num { display: none; color: var(--acc); }
.eq { display: none; gap: 2px; align-items: end; height: 15px; justify-content: center; }
.track-row.playing .eq { display: inline-flex; }
.eq span { width: 3px; background: var(--acc); border-radius: 1px; animation: eq 1s ease-in-out infinite; }
.eq span:nth-child(2) { animation-delay: .2s; } .eq span:nth-child(3) { animation-delay: .4s; }
@keyframes eq { 0%,100% { height: 5px; } 50% { height: 13px; } }
.track-cover { width: 50px; height: 50px; border-radius: 6px; object-fit: cover; display: block; background: var(--card-2); }
.track-cover-wrap { position: relative; width: 50px; height: 50px; flex: none; }
.track-cover-wrap .track-cover { width: 100%; height: 100%; }
.track-play {
  position: absolute; inset: 0; border: none; border-radius: 6px; cursor: pointer;
  background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center;
  opacity: 0; transition: opacity .15s;
}
.track-play svg { width: 20px; height: 20px; }
.track-row:hover .track-play, .track-play:focus-visible { opacity: 1; }
@media (hover: none) { .track-play { opacity: 1; background: rgba(0,0,0,.35); } }
.track-main { min-width: 0; }
.track-title-btn { display: block; width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 0; font-weight: 700; font-size: 14.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-title { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.track-artist { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.track-artist a { color: inherit; text-decoration: none; }
.track-artist a:hover { color: var(--acc); text-decoration: underline; }
.artist-btn { background: none; border: none; padding: 0; cursor: pointer; color: inherit; font-size: inherit; text-align: left; }
.artist-btn:hover { color: var(--acc); text-decoration: underline; }
span.add-item { cursor: default; }
.track-side { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12.5px; font-family: var(--mono); }

/* Сущности */
.entity-head { display: grid; grid-template-columns: 216px 1fr; gap: 24px; align-items: end; margin-bottom: 20px; }
.entity-cover { width: 216px; height: 216px; border-radius: 12px; object-fit: cover; display: block; background: var(--card-2); border: 1px solid var(--line); }
.entity-cover.round { border-radius: 50%; }
.entity-kicker { color: var(--acc); font-size: 11.5px; font-family: var(--mono); letter-spacing: .12em; margin: 0 0 8px; font-weight: 700; }
.entity-title { font-size: clamp(28px, 5vw, 50px); margin: 0; letter-spacing: -.02em; line-height: 1.03; }
.entity-sub { color: var(--sub); margin: 8px 0; font-size: 14.5px; }
.entity-sub a { color: var(--text); font-weight: 700; text-decoration: underline; text-decoration-color: var(--acc); text-underline-offset: 3px; }
.entity-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

/* Состояния */
.skeleton { border-radius: 8px; background: var(--card-2); position: relative; overflow: hidden; }
.skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent); animation: sh 1.1s infinite; }
@keyframes sh { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.empty, .error-box {
  border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 34px 22px; text-align: center; background: var(--bg-2);
}
.empty h3, .error-box h3 { margin: 12px 0 6px; font-size: 18px; }
.empty p, .error-box p { color: var(--muted); margin: 0 0 16px; font-size: 14px; }
.empty-art { width: 120px; height: 120px; border-radius: 12px; object-fit: cover; margin: 0 auto; display: block; border: 1px solid var(--line); }

/* Плеер */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: #101011;
  border-top: 2px solid var(--acc);
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
}
.full-btn { text-decoration: none; display: inline-flex; align-items: center; }
.player-inner { max-width: 1380px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; }
.player-track { display: flex; align-items: center; gap: 11px; min-width: 0; }
.player-cover { width: 52px; height: 52px; border-radius: 7px; flex: none; object-fit: cover; background: var(--card-2); }
.player-names { min-width: 0; }
.player-names b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-names span { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.player-artist-btn { background: none; border: none; padding: 0; cursor: pointer; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; max-width: 100%; text-align: left; }
.player-artist-btn:hover { color: var(--acc); text-decoration: underline; }
.player-badge { font-family: var(--mono); font-size: 10.5px; color: var(--acc); border: 1px solid var(--acc); border-radius: 4px; padding: 1px 6px; white-space: nowrap; }
.player-center { display: flex; flex-direction: column; align-items: center; gap: 5px; width: min(540px, 44vw); }
.player-controls { display: flex; align-items: center; gap: 4px; }
.progress-wrap { display: flex; align-items: center; gap: 10px; width: 100%; }
.time { font-size: 12px; color: var(--muted); font-family: var(--mono); min-width: 40px; text-align: center; }
input[type="range"] { accent-color: var(--acc); cursor: pointer; }
.progress { flex: 1; width: 100%; }
.player-right { display: flex; align-items: center; gap: 4px; justify-content: end; }
.vol-wrap { display: flex; align-items: center; gap: 6px; }
.volume { width: 104px; }
.queue-count { font-size: 11px; font-family: var(--mono); background: var(--card-2); border-radius: 999px; padding: 1px 7px; margin-left: -4px; }

/* Очередь */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); z-index: 90;
  background: var(--bg-2); border-left: 1px solid var(--line);
  transform: translateX(105%); transition: transform .2s;
  display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; gap: 10px; padding: 15px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 16px; margin: 0; }
.drawer-body { overflow: auto; padding: 10px; display: flex; flex-direction: column; }
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 85; }
.scrim.show { opacity: 1; pointer-events: auto; }

/* Модалки и тосты */
.modal-root:empty { display: none; }
.modal-card {
  position: fixed; z-index: 100; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: min(440px, 92vw); background: var(--bg-2); border: 1px solid var(--line);
  border-top: 4px solid var(--acc);
  border-radius: 12px; padding: 22px;
}
.modal-card h2 { margin: 0 0 6px; font-size: 18px; }
.modal-card p { color: var(--muted); font-size: 13.5px; margin: 0 0 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12.5px; font-weight: 700; color: var(--sub); }
.text-input {
  background: var(--card); border: 1px solid var(--line); color: var(--text);
  border-radius: 8px; padding: 10px 12px; width: 100%; font-size: 14px;
}
.text-input:focus { border-color: var(--acc); }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }
.add-list { display: flex; flex-direction: column; gap: 6px; max-height: 40vh; overflow: auto; margin-bottom: 14px; }
.add-item { display: flex; align-items: center; gap: 10px; padding: 7px; border-radius: 8px; border: 1px solid var(--line); background: transparent; cursor: pointer; text-align: left; width: 100%; font-size: 13.5px; }
.add-item:hover:not(:disabled) { border-color: var(--acc); }
.add-item:disabled { opacity: .55; cursor: default; }
.toasts { position: fixed; bottom: calc(var(--player-h) + 16px); left: 50%; transform: translateX(-50%); z-index: 120; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { background: var(--acc); color: var(--acc-ink); border-radius: 8px; padding: 9px 16px; font-size: 13.5px; font-weight: 700; }

/* Чипы, статистика, профиль */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: transparent; color: var(--sub); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; cursor: pointer; }
.chip:hover { border-color: var(--acc); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.lib-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.divider { height: 1px; background: var(--line); margin: 18px 0; }
.stat-row { display: grid; grid-template-columns: 34px 52px 1fr auto; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 8px; text-decoration: none; }
.stat-row:hover { background: var(--card); }
.stat-num { font-family: var(--mono); font-size: 18px; color: var(--muted); }
.stat-row:first-child .stat-num { color: var(--acc); }
.stat-bar { height: 6px; background: var(--card-2); border-radius: 3px; margin-top: 6px; overflow: hidden; }
.stat-bar i { display: block; height: 100%; background: var(--acc); border-radius: 3px; }
.stat-time { font-family: var(--mono); font-size: 12.5px; color: var(--sub); white-space: nowrap; }
.month-nav { display: flex; align-items: center; gap: 10px; margin: 10px 0 4px; }
.month-nav b { font-family: var(--mono); font-size: 14px; }
.profile-card { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 20px; background: var(--bg-2); margin-bottom: 20px; }
.profile-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 2px solid var(--acc); background: var(--card-2); }
.variant-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 10px 0 16px; }
.variant-pick { border: 2px solid var(--line); border-radius: 12px; padding: 0; background: none; cursor: pointer; overflow: hidden; aspect-ratio: 1; }
.variant-pick img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; display: block; border-radius: 9px; }
.variant-pick.sel { border-color: var(--acc); }
.pill { display: inline-block; font-family: var(--mono); font-size: 11px; background: var(--card-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--sub); }
.img-empty { background: var(--card-2); display: block; }
.watermark {
  position: fixed; right: 10px; bottom: calc(var(--player-h) + 10px); z-index: 70;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--muted);
  background: rgba(20,20,22,.78); border: 1px solid var(--line); border-radius: 6px;
  padding: 3px 8px; pointer-events: none; user-select: none;
}
@media (max-width: 560px) { .top-brand-name { display: none; } }
#ytHolder { position: fixed; left: 0; bottom: 0; width: 4px; height: 4px; opacity: 0; pointer-events: none; z-index: -1; }
.full-btn {
  border: 1px solid var(--acc); color: var(--acc); background: transparent;
  border-radius: 6px; font-family: var(--mono); font-size: 10.5px; font-weight: 700;
  padding: 3px 7px; cursor: pointer; white-space: nowrap;
}
.full-btn:hover { background: var(--acc); color: var(--acc-ink); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mobile-nav { display: none; }

@media (max-width: 1080px) {
  .player-inner { grid-template-columns: 1fr auto; }
  .vol-wrap { display: none; }
  .player-center { width: 46vw; }
  .top-hint { display: none; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .content { padding: 18px 14px calc(var(--player-h) + 130px); }
  .mobile-nav {
    display: flex; position: fixed; left: 0; right: 0; bottom: var(--player-h); z-index: 75;
    background: #101011; border-top: 1px solid var(--line);
    padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
  }
  .mobile-nav a {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 7px 2px; border-radius: 8px; text-decoration: none; color: var(--muted); font-size: 10.5px; font-weight: 700;
  }
  .mobile-nav a[aria-current="page"] { color: var(--acc); }
  .mobile-nav svg { width: 21px; height: 21px; }
  .entity-head { grid-template-columns: 132px 1fr; gap: 14px; }
  .entity-cover { width: 132px; height: 132px; }
  .track-row { grid-template-columns: 32px 46px 1fr auto; gap: 9px; }
  .hero { padding: 20px; }
  :root { --player-h: 150px; }
  .player-inner { grid-template-columns: 1fr; gap: 6px; }
  .player-right { justify-content: space-between; }
  .player-center { width: 100%; order: -1; }
  .hide-mobile { display: none !important; }
  .profile-card { grid-template-columns: 84px 1fr; }
  .profile-card img { width: 84px; height: 84px; }
  .variant-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1600px) {
  .content { max-width: 1480px; }
  .grid.cards { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
}
