@font-face {
  font-family: Onest;
  src: url("/fonts/Onest.ttf") format("truetype");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: Unbounded;
  src: url("/fonts/Unbounded.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --bg: #131110;
  --side: #131110;
  --panel: #1b1816;
  --raised: #242019;
  --line: #2f2a24;
  --ink: #f1ece1;
  --muted: #aaa092;
  --soft: #bdb5a6;
  --cream: #e7e0cf;
  --coffee: #1a1714;
  --accent: #ff8a4c;
  --rail: 236px;
  --cover-radius: 14px;
  --display: Unbounded, Onest, sans-serif;
  --mobile-nav: 0px;
  font-family: Onest, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
[data-theme="light"] {
  --bg: #f6f1e7;
  --side: #f1ebdf;
  --panel: #fcf9f2;
  --raised: #e9e1d2;
  --line: #d8cbbb;
  --ink: #241d18;
  --muted: #706052;
  --soft: #67574c;
}
[data-theme="oled"] {
  --bg: #050505;
  --side: #050505;
  --panel: #141414;
  --raised: #202020;
  --line: #303030;
}
::selection { background: var(--accent); color: var(--coffee); }
.sidebar { padding: 6px 12px 20px; bottom: 0; scrollbar-width: thin; }
.brand { padding: 0 8px; gap: 12px; margin: 0 0 36px; }
.brandmark.brandimage { width: 48px; height: 48px; border-radius: 12px; flex: none; }
.brand span { font: 600 20px/1.1 var(--display); letter-spacing: -.05em; }
.brand em { display: block; margin-top: 5px; font: 500 11px/1 Onest,sans-serif; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); }
.sideprimary { display:grid; gap:4px; }
.side-pins { margin-top: 16px; display: grid; gap: 3px; }
.side-pins h2 { margin: 0 8px 4px; color: var(--muted); font-size: 11px; font-weight: 600; }
.side-pin {
  display: flex; align-items: center; gap: 9px; min-height: 52px; padding: 6px 8px; border-radius: 12px;
}
.side-pin:hover, .side-pin[aria-current="page"] { background: var(--raised); }
.side-pin .side-pin-avatar {
  flex: none; width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
}
.side-pin > span:last-child { min-width: 0; }
.side-pin strong, .side-pin small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.side-pin strong { font-size: 13px; color: var(--ink); }
.side-pin small { font-size: 11px; color: var(--muted); }
.navlink { min-height: 42px; padding:10px 12px; border-radius: 12px; color: var(--soft); font-size:14.5px; }
.navlink kbd { margin-left:auto; padding-inline:5px; color:var(--muted); border-radius:6px; }
.navlink.selected { color: var(--ink); }
.navlink.selected svg { color: var(--accent); }
.navbadge { margin-left:auto; min-width:18px; border-radius:20px; padding:1px 5px; text-align:center; background:var(--accent); color:#1a0d05; }
.navlink.selected::after { content: ""; margin-left: auto; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: var(--accent); }
.navmarker { background: var(--raised); border: 0; border-radius: 12px; box-shadow:none; }
.navcap { color: var(--muted); font-size: 11px; }
.sidebottom { margin-top: auto; padding-top: 20px; border-top:0; }
.sideprofile { display:flex; align-items:center; text-align:left; width:100%; gap:10px; padding:9px; margin-top:8px; border:1px solid var(--line); border-radius:16px; background:var(--panel); }
.sideprofile[aria-current="page"] { border-color: var(--accent); }
.sideprofile img, .profileidentity img { width:40px; height:40px; object-fit:cover; border-radius:50%; }
.sideprofile span { min-width:0; }
.sideprofile strong,.sideprofile small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sideprofile small i { display:inline-block; width:6px; height:6px; margin-right:5px; border-radius:50%; background:var(--accent); }
main { padding-inline: clamp(20px,3vw,42px); }
main > header, .content { max-width: 1100px; }
main > header { border-bottom: 0; height: 60px; }
.searchbox { width: min(450px, 76%); border-radius: 14px; background: var(--panel); }
.profile { padding: 7px 11px; }
.profile img { width:25px; height:25px; object-fit:cover; }
h1, .pagehead h1 { font-family: var(--display); font-size: clamp(23px, 2.62vw, 34px); font-weight: 550; letter-spacing: -.045em; line-height: 1.18; }
h2, .sectionhead h2 { font-family: var(--display); font-size: clamp(15px, 1.6vw, 20px); letter-spacing: -.045em; line-height: 1.25; }
.pagehead { gap: 12px; }
.pagehead h1 { overflow-wrap: anywhere; }
.sectionhead { margin-bottom: 13px; }
.homegreeting { margin: 13px 0 21px; }
.homegreeting p { color:var(--muted); font-size:13px; margin-bottom:5px; text-transform:capitalize; }
.homegreeting em { color: var(--accent); font-style: normal; }
[data-theme="light"] .homegreeting em { color: color-mix(in srgb, var(--accent), #291006 60%); }
.reference-feature { display:grid; grid-template-columns:1.1fr 1fr; align-items:center; min-height:302px; padding:30px 36px; gap:20px; border-radius:calc(var(--cover-radius) + 10px); overflow:hidden; background:var(--cream); color:var(--coffee); }
.reference-copy { position:relative; z-index:1; }
.reference-copy h2 { font-size:clamp(34px,4.2vw,55px); line-height:1.04; margin:13px 0; }
.reference-copy p { color:#53483c; font-size:15px; }
.mixlabel { display:inline-flex; align-items:center; gap:7px; padding:5px 10px; border-radius:25px; background:#1a171419; font-size:12px; font-weight:650; }
.reference-feature .heroactions { margin-top:22px; }
.reference-feature .primary { background:var(--coffee); color:var(--cream); min-height:44px; border-radius:999px; padding-inline:22px; }
.reference-feature .heroextra { color:var(--coffee); width:44px; height:44px; border-radius:50%; border-color:#1a171448; }
.coverstack { position:relative; height:238px; width:100%; max-width:380px; margin:auto; }
.coverstack > div { position:absolute; width:55%; aspect-ratio:1; top:6%; border-radius:var(--cover-radius); transform:rotate(var(--angle)); box-shadow:0 18px 38px -13px #21180c99; transition:transform .28s cubic-bezier(.22,1,.36,1); }
.coverstack > div:nth-child(1) { left:2%; --angle:-9deg; }
.coverstack > div:nth-child(2) { left:24%; --angle:4deg; }
.coverstack > div:nth-child(3) { left:47%; --angle:14deg; }
.coverstack > div:hover { transform:translateY(-8px) rotate(var(--angle)); }
.coverstack .art,.coverstack .coverprint { width:100%; height:100%; display:block; object-fit:cover; border-radius:inherit; }
.coverprint { position:relative; display:block; overflow:hidden; background:#21160f; }
.reference-art { display:block; width:100%; height:100%; }
.moodgrid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.moodgrid button { position:relative; min-height:92px; overflow:hidden; text-align:left; isolation:isolate; border:1px solid var(--line); border-radius:var(--cover-radius); background:var(--panel); padding:14px; }
.moodgrid button:enabled:hover { border-color:var(--accent); filter:none; }
.moodgrid .coverprint { position:absolute; width:94px; height:94px; right:-16px; top:-14px; transform:rotate(12deg); opacity:.67; z-index:-2; transition:transform .22s cubic-bezier(.22,1,.36,1); }
.moodgrid button::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,var(--panel) 40%,transparent); }
.moodgrid button:enabled:hover .coverprint { transform:rotate(9deg) scale(1.09); }
.moodgrid small { margin-top:4px; }
.searchbox .ib { height:30px; width:30px; }
/* Search screen - the page owns its own field; the header one stays global. */
.searchhero .pagehead { margin:8px 0 20px; }
.searchhero .pagehead h1 { font-size:clamp(28px,2.6vw,36px); }
.searchfield { position:relative; display:flex; align-items:center; gap:12px; height:56px; padding:0 16px; border:1px solid var(--line); border-radius:16px; background:var(--panel); color:var(--muted); }
.searchfield:focus-within { border-color:var(--accent); box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 32%,transparent); }
.searchfield input { flex:1; min-width:0; height:100%; background:none; border:0; outline:none; color:var(--ink); font-size:16px; }
.searchfield input::placeholder { color:var(--muted); font-size:16px; }
.searchfield .ib { height:32px; width:32px; border-radius:50%; }
.searchfield .ib:hover { background:var(--line); color:var(--ink); filter:none; }
.searchfield:focus-within svg { color:var(--ink); }
.searchhero .tabs { margin:16px 0 8px; }
.searchblock { margin:28px 0; }
.searchblock:first-of-type { margin-top:32px; }
.searchempty { padding:72px 24px; text-align:center; }
.searchempty strong { font:600 20px/1.3 var(--display); letter-spacing:-.02em; }
.searchempty p { margin-top:8px; color:var(--muted); font-size:14px; }
.searchrecent { flex-wrap:wrap; }
/* Placeholder shown while a query is in flight, so the area is never a dead void. */
.searchskeleton { pointer-events:none; }
.skeleton { display:block; border-radius:8px; background:var(--panel); position:relative; overflow:hidden; }
.skeleton::after { content:""; position:absolute; inset:0; transform:translateX(-100%); background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--ink) 7%,transparent),transparent); animation:sksweep 1.3s ease-in-out infinite; }
@keyframes sksweep { 100% { transform:translateX(100%); } }
.sksection { width:150px; height:20px; margin-bottom:18px; }
.skrows { display:grid; gap:4px; }
.skrow { display:flex; align-items:center; gap:12px; padding:8px 0; border-bottom:1px solid var(--line); }
.skart { width:44px; height:44px; border-radius:5px; flex-shrink:0; }
.sktxt { display:grid; gap:7px; flex:1; min-width:0; }
.skline { height:12px; width:min(220px,55%); }
.skline.short { height:10px; width:min(120px,32%); }
.skmeta { width:44px; height:10px; flex-shrink:0; }
@media (prefers-reduced-motion: reduce) { .skeleton::after { animation:none; } }
.searchrecent button { max-width:100%; overflow-wrap:anywhere; }
.genregrid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:14px; }
.genregrid button { position:relative; isolation:isolate; min-height:94px; border-radius:var(--cover-radius); overflow:hidden; display:flex; align-items:end; text-align:left; padding:13px; color:#fff4e4; }
.genregrid .coverprint { position:absolute; inset:0; z-index:-2; }
.genregrid button::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(0deg,#000b,transparent); }
.genregrid strong { font:550 clamp(12px,1.65vw,16px)/1.2 var(--display); }
.tiles .sleeve,.tile .art,.coverstack .art,.fullcover .art,.recordhead .art { border-radius:var(--cover-radius); }
.tile .tileplay { background:var(--accent); color:#1a0d05; }
.album-shelf { gap:16px; }
.rows .row,.rows .orderrow { border-bottom-color:var(--line); min-height:60px; }
.rows .row:hover,.rows .orderrow:hover,.rows .orderrow.current { background:var(--panel); border-radius:10px; }
.rows .art { border-radius:9px; }
.resume-row {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto auto;
  align-items:center;
  gap:clamp(8px,2vw,16px);
  width:100%;
  min-height:76px;
  padding:11px 14px;
  text-align:start;
  color:var(--ink);
  background:color-mix(in srgb, var(--accent) 14%, var(--panel));
  border:1px solid color-mix(in srgb, var(--accent) 34%, var(--line));
  border-radius:12px;
}
.resume-row:hover { background:color-mix(in srgb, var(--accent) 21%, var(--panel)); }
.resume-row:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.resume-row .art { width:48px; height:48px; border-radius:9px; }
.resume-row .fallback { background:var(--panel); color:var(--soft); }
.resume-record { min-width:0; display:grid; gap:3px; }
.resume-record :is(strong,small) { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.resume-record strong { font-size:15px; font-weight:650; }
.resume-record small,.resume-total { color:var(--soft); }
.resume-record small,.resume-position { font-size:12px; }
.resume-position { display:grid; gap:5px; justify-items:end; font-variant-numeric:tabular-nums; white-space:nowrap; }
.resume-position progress { appearance:none; width:clamp(48px,11vw,108px); height:4px; border:0; border-radius:8px; background:var(--line); }
.resume-position progress::-webkit-progress-bar { background:var(--line); border-radius:8px; }
.resume-position progress::-webkit-progress-value { background:var(--accent); border-radius:8px; }
.resume-position progress::-moz-progress-bar { background:var(--accent); border-radius:8px; }
.resume-play { display:grid; place-items:center; width:40px; height:40px; border-radius:50%; background:var(--ink); color:var(--bg); }
.resume-history { margin-top:22px; }
.resume-history h3 { margin:0 0 4px; color:var(--soft); font-size:13px; font-weight:650; }
@media (max-width:420px) {
  .resume-row { min-height:66px; padding:8px; gap:8px; }
  .resume-row .art { width:40px; height:40px; }
  .resume-record strong { font-size:14px; }
  .resume-play { width:34px; height:34px; }
  .resume-position { font-size:11px; }
  .resume-history { margin-top:18px; }
}
[data-compact="true"] .rows .row,[data-compact="true"] .rows .orderrow { min-height:48px; padding-block:3px; }
[data-compact="true"] .rows .art { width:34px; height:34px; }
.tabs { gap:7px; }
.tabs button,.tabs a { padding:7px 13px; border:1px solid var(--line); border-radius:40px; background:var(--panel); white-space:nowrap; }
.tabs .sel,.pill.sel { color:var(--coffee); background:var(--cream); border-color:var(--cream); }
.librarytabs { flex-wrap:nowrap; overflow-x:auto; padding:5px 4px 7px; scrollbar-width:thin; }
.librarytabs a { display:inline-flex; align-items:center; gap:6px; }
.library-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:10px 16px; margin:16px 0 12px; }
.library-toolbar .primary { min-height:40px; padding-inline:18px; border-radius:999px; }
.library-toolbar .sort { margin:0 0 0 auto; padding:0; border:0; }
.library-toolbar .sort select { border-radius:10px; }
@media (max-width:440px) {
  .library-toolbar .sort { margin-left:0; }
}
.uploadtarget { width:100%; min-height:188px; display:grid; place-content:center; justify-items:center; gap:6px; border:2px dashed var(--line); border-radius:calc(var(--cover-radius) + 4px); background:var(--panel); padding:20px; margin:0 0 20px; }
.uploadtarget:is(:hover,.dragging) { border-color:var(--accent); background:var(--raised); }
.uploadtarget svg,.uploadtarget > span { color:var(--accent); }
.uploadtarget strong { font-family:var(--display); font-size:17px; margin-top:4px; }
.uploaddesign { max-width:770px; margin-inline:auto; }
.uploaddesign > .actions { flex-wrap:wrap; margin-bottom:10px; }
.playlist-transfer { margin-top:26px; padding-top:18px; border-top:1px solid var(--line); display:grid; gap:12px; }
.playlist-transfer h2 { display:flex; align-items:center; gap:9px; margin:0; }
.playlist-transfer p { margin:0; }
.transfer-link { text-decoration:underline; text-underline-offset:2px; }
.transfer-file { position:relative; display:flex; align-items:center; gap:10px; width:fit-content;
  min-height:46px; padding:7px 14px; border:1px solid var(--line); border-radius:10px; background:var(--panel); cursor:pointer; }
.transfer-file:hover { background:var(--raised); }
.transfer-file:focus-within { outline:2px solid var(--accent); outline-offset:2px; }
.transfer-file small { display:block; color:var(--soft); font-size:12px; }
.transfer-file input { position:absolute; inset:0; width:100%; opacity:0; cursor:pointer; }
.transfer-paste > summary { cursor:pointer; padding:8px 0; }
.transfer-paste form { display:grid; gap:10px; margin:8px 0; }
.transfer-paste textarea { display:block; width:100%; resize:vertical; margin:5px 0; }
.transfer-result { display:grid; gap:9px; padding:14px; border:1px solid var(--line); border-radius:12px; background:var(--panel); }
.transfer-result h3,.transfer-missing { margin:0; }
.transfer-missing { max-height:190px; overflow:auto; padding:8px 8px 8px 22px; overflow-wrap:anywhere; }
.transfer-result .primary,.transfer-paste form .pill { width:fit-content; }
.profiledesign { max-width:880px; }
.profilebanner { height:clamp(70px,10vw,108px); border-radius:var(--cover-radius); overflow:hidden; }
.profilebanner .coverprint { width:100%; height:100%; }
.profileidentity { display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin:16px 0 23px; }
.profileidentity > div { flex:1 1 160px; min-width:0; overflow-wrap:anywhere; }
.profileidentity img { width:60px; height:60px; }
.profileidentity p { color:var(--muted); margin-top:4px; }
.profilestats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:16px 0; }
.profilestats div,.profilefields { background:var(--panel); border:1px solid var(--line); border-radius:calc(var(--cover-radius) + 3px); padding:16px; }
.profilestats strong { font: 550 clamp(16px,2vw,23px)/1.2 var(--display); margin-bottom:6px; }
.profilefields { display:grid; gap:14px; }
.profilefields fieldset { margin:0; min-width:0; padding:0; border:0; }
.profilefields legend { padding:0; margin-bottom:8px; font-weight:600; }
.bannerchoices,.profilegrid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.bannerchoices { grid-template-columns:repeat(4,minmax(0,1fr)); }
.bannerchoices button { padding:0; border-radius:9px; overflow:hidden; border:2px solid transparent; }
.bannerchoices button[aria-pressed="true"] { border-color:var(--accent); }
.bannerchoices .coverprint { height:45px; }
.profilefields label { display:grid; gap:5px; min-width:0; }
.profilefields label.setting { display:flex; }
.profilefields label input:not([type=checkbox]),.profilefields textarea { width:100%; border:1px solid var(--line); border-radius:10px; background:var(--bg); color:var(--ink); padding:9px; }
.profilefields > .primary { justify-self:start; }
.profiletop p { display:flex; gap:10px; padding:10px 0; border-bottom:1px solid var(--line); }
.profiletop small { margin-left:auto; }
.profiledesign > .actions { flex-wrap:wrap; margin:14px 0; }
footer {
  z-index:5;
  left:calc(var(--rail) + 24px);
  right:24px;
  bottom:16px;
  height:92px;
  border:1px solid color-mix(in srgb,var(--ink) 8%,transparent);
  border-radius:20px;
  background:color-mix(in srgb,var(--raised) 95%,transparent);
  box-shadow:0 20px 56px -16px #0009;
  backdrop-filter:blur(18px);
  padding:10px 16px;
}
@media (min-width:761px) {
  footer {
    grid-template-columns:minmax(0,1fr) clamp(224px,52%,520px) minmax(0,1fr);
    gap:clamp(10px,1.9vw,24px);
  }
  footer .progress input[type="range"] { height:20px; }
  footer .progress input::-webkit-slider-runnable-track { height:4px; }
  footer .progress input::-webkit-slider-thumb {
    width:14px;
    height:14px;
    margin-top:-5px;
    background:var(--cream);
    box-shadow:0 0 0 3px #0004;
  }
  footer .progress input::-moz-range-thumb { width:14px; height:14px; background:var(--cream); }
  footer .playerend input { width:96px; min-width:0; }
}
@media (min-width:761px) and (max-width:1050px) {
  footer { grid-template-columns:minmax(0,1fr) minmax(206px,39%) minmax(0,1fr); gap:8px; }
  footer .playerend input { flex:0 1 58px; }
}
@media (max-width:1340px) {
  footer .footerstation { display:none; }
}
.nowart { padding:0; border-radius:11px; flex-shrink:0; }
.nowart .art { width:54px; height:54px; border-radius:11px; display:grid; }
.mainplay { color:#1a0d05; background:var(--accent); height:42px !important; width:42px; }
footer .mainplay { color:var(--coffee); background:var(--cream); height:44px !important; width:44px; }
.playerend { gap:7px; }
.transport > div { gap:9px; }
.bottomnav { display:none; }
dialog.queuedialog { margin: auto 24px calc(120px + var(--mobile-nav)) auto; max-height:min(72dvh,620px); width:min(430px,calc(100vw - 48px)); background:var(--panel); border-radius:20px; }
.queuedialog .orderrow { grid-template-columns:minmax(0,1fr) repeat(3,auto); gap:4px; }
.queuedialog .orderrow .ib { width:33px; }
.queuedialog .actions { flex-wrap:wrap; margin-bottom:10px; }
dialog.playerdialog {
  width:min(516px,calc(100% - 24px));
  max-height:calc(100dvh - 24px);
  margin:auto;
  border:0;
  border-radius:24px;
  overscroll-behavior:contain;
}
.playerdialog::backdrop { background:#000b; }
.playerdialog .modal { padding:0; }
.playerdialog .modal > .sectionhead { display:none; }
.fullplayer {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:20px clamp(16px,5vw,32px) 38px;
  background:var(--panel);
}
.fullplayer.coverglow::before { content:""; position:absolute; inset:-12%; z-index:-1; background:var(--player-cover,none) center/cover; filter:blur(60px); opacity:.26; pointer-events:none; }
.fulltop,.fullmeta { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.fulltop > span { font-size:13px; font-weight:650; color:var(--soft); }
.fullcover { width:min(100%,320px,40dvh); aspect-ratio:1; margin:12px auto 16px; border-radius:var(--cover-radius); overflow:hidden; box-shadow:0 16px 32px #0005; }
.fullcover .art,.fullcover .coverprint { width:100%; height:100%; object-fit:cover; }
.fullmeta h2 { margin:0; overflow-wrap:anywhere; }
.fullmeta p { color:var(--muted); margin:4px 0 0; overflow-wrap:anywhere; }
.fullmeta > .ib { flex:none; }
.fullprogress .progress,.fulltransport > div { display:flex; align-items:center; justify-content:center; gap:12px; }
.fullprogress .progress { margin:20px 0 7px; }
.fullprogress .progress input[type="range"] { border:0; padding:0; }
.feed-more { margin-top:18px; }
.wave-slider { position:relative; display:block; flex:1 1 auto; min-width:30px; height:20px; }
.seek-wave { position:absolute; inset:0 2px; width:calc(100% - 4px); height:100%; pointer-events:none; }
.progress .wave-slider input[type="range"] {
  position:absolute; inset:0; width:100%; height:100%; margin:0;
  padding:0; background:transparent; color:transparent; opacity:0;
}
.wave-slider:focus-within { outline:2px solid var(--accent); outline-offset:3px; border-radius:4px; }
.fulltransport .mainplay { width:46px; height:46px !important; }
.fullactions { justify-content:center; flex-wrap:wrap; margin:12px 0 0; }
.fullactions .pill { padding:6px 12px; }
.playingeq { display:flex; justify-content:center; align-items:center; gap:3px; height:14px; margin-top:5px; }
.playingeq i { width:3px; height:12px; border-radius:4px; background:var(--accent); animation:coverbeat .8s ease-in-out infinite alternate; }
.playingeq i:nth-child(2n) { animation-delay:-.4s; }
@keyframes coverbeat { from { transform:scaleY(.3); } to { transform:scaleY(.9); } }
@media(max-height: 680px) {
  .fullplayer { padding-block:12px 20px; }
  .fullcover { width:min(100%,300px,36dvh); margin-block:8px 12px; }
  .fullprogress .progress { margin-top:10px; }
}
.downloadmeter { margin:8px 0 16px; padding:12px 15px; background:var(--panel); border:1px solid var(--line); border-radius:var(--cover-radius); display:flex; align-items:center; gap:10px; }
@media(max-width: 980px) {
  .reference-feature { min-height:258px; }
  .coverstack { height:185px; }
  .moodgrid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .now .ib { display:none; }
}
@media(max-width: 760px) {
  :root { --rail:0px; --mobile-nav:calc(60px + env(safe-area-inset-bottom)); }
  .transport .progress-wave { top:1px; inset-inline:8px; }
  .transport .wave-slider { height:13px; }
  main { padding:0 17px calc(110px + var(--mobile-nav)); }
  main > header { height:55px; }
  .sidebar { padding:18px 12px; }
  .homegreeting { margin-top:10px; }
  .reference-feature { grid-template-columns:1fr; min-height:0; padding:22px; }
  .coverstack { display:none; }
  .moodgrid button { min-height:83px; padding:10px; }
  .moodgrid .coverprint { right:-29px; }
  .genregrid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  footer { bottom:var(--mobile-nav); left:8px; right:8px; height:69px; padding:9px; border:1px solid var(--line); border-radius:15px; overflow:hidden; }
  dialog.queuedialog { margin: auto 12px calc(79px + var(--mobile-nav)) auto; width:min(430px,calc(100vw - 24px)); }
  .nowart .art { width:41px;height:41px; }
  .bottomnav { position:fixed; z-index:5; inset:auto 0 0; display:flex; align-items:flex-start; height:var(--mobile-nav); background:var(--side); border-top:1px solid var(--line); }
  .bottomnav button { flex:1 1 0; min-width:0; min-height:56px; display:grid; place-content:center; justify-items:center; gap:3px; color:var(--muted); font-size:11px; }
  .bottomnav button[aria-current="page"] { color:var(--accent); }
  .toast { bottom:calc(79px + var(--mobile-nav)); }
  .fullprogress .progress small { display:inline; }
  .profileidentity .pill { min-height:44px; }
}
@media(max-width: 420px) {
  .profilegrid { grid-template-columns:1fr; }
  .profilestats div { padding:9px; }
  .recordhead { flex-wrap:wrap; }
}
[data-motion="off"] *,[data-motion="off"] *::before,[data-motion="off"] *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
@media(prefers-reduced-motion:reduce) {
  .coverstack > div,.moodgrid .coverprint { transition:none; }
  .playingeq i { animation:none; }
}
/* --- 2026-11-25: значок поддержки сервиса --- */
.supportbadge {
  position:relative;
  display:inline-flex;
  align-items:center;
  vertical-align:-2px;
  margin-left:6px;
  border-radius:50%;
  cursor:default;
}
.supportbadge img { width:18px; height:18px; display:block; }
.supportbadge-tip {
  position:fixed;
  transform:translate(-50%,-100%);
  padding:7px 11px;
  border-radius:10px;
  border:1px solid #ffffff1f;
  background:#241f1b;
  color:#f1ece1;
  font:500 11.5px/1.3 Onest, system-ui, sans-serif;
  white-space:nowrap;
  pointer-events:none;
  box-shadow:0 14px 30px -16px #000e;
  z-index:2147483000;
}
.supportbadge:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.ageinfo {
  display:inline-flex; align-items:center; flex:none; vertical-align:middle;
  margin-inline-start:7px; padding:2px 5px; border-radius:5px;
  border:1px solid var(--line); color:var(--soft);
  font:700 11px/1.2 Onest, system-ui, sans-serif; white-space:nowrap;
}
.ageinfo[data-adult="true"] { color:var(--accent); border-color:color-mix(in srgb,var(--accent) 42%,var(--line)); }
