.soundroom {
  --room-paper: #f5eee3;
  --room-quiet: #a9a8b3;
  --room-rule: #ffffff18;
  --room-tint: #f0c294;
  color: var(--room-paper);
  padding-top: clamp(14px, 1.8vw, 28px);
}
.room-hero {
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  min-height: clamp(255px, 23vw, 360px);
  background-color: #262126;
  background-image: linear-gradient(90deg,#221b1cee 0%,#211c1ccc 28%,#1a171c55 49%,transparent 76%),
    url("./media/listening-room.webp"), url("./media/cover-stage.webp");
  background-size: cover;
  background-position: center, center 54%, center;
  border: 1px solid #ffffff19;
  border-radius: 13px;
  overflow: hidden;
}
.room-hero-copy { padding: clamp(26px,3.3vw,52px) clamp(23px,4.1vw,65px); }
.room-kicker { display: flex; gap: 10px; align-items: center; margin: 0; color: #f4c18e; font-size: 12px; font-weight: 680; letter-spacing: .16em; }
.room-kicker-line { width: 24px; height: 2px; background: currentColor; }
.room-hero h1 { margin: 9px 0 13px; color: #fff4e4; font: 720 clamp(47px,5.2vw,78px)/1.12 var(--serif); letter-spacing: .075em; }
.room-hero-info { margin: 0; color: #e2d5cc; font-size: 14px; }
.room-hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 24px; }
.room-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:9px 17px; min-height:40px; border-radius:24px; font:650 13px/1.35 var(--sans, sans-serif); }
.room-button .ui-icon { width:15px;height:15px; }
.room-primary { background:var(--room-tint); border:1px solid var(--room-tint); color:#2b211e; }
.room-primary .ui-icon { width:13px; fill:currentColor; stroke-width:1; }
.room-primary:hover { background:#ffdbb5; }
.room-primary:disabled { opacity:.5;cursor:default; }
.room-secondary { background:#2b252977; color:#f7ebdc; border:1px solid #f5ded064; }
.room-secondary:hover { background:#4c403b; border-color:#e1cfb7; }
.room-body { display:grid; align-items:start; grid-template-columns:minmax(0,1fr) minmax(180px,22%); gap:clamp(24px,2.3vw,43px); margin-top:clamp(25px,2.8vw,42px); }
.room-body:not(:has(.room-sidebar)) { grid-template-columns:minmax(0,1fr); }
.room-library { min-width:0; scroll-margin-top:90px; }
.room-library-head { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.room-library-head h2, .room-sidebar h2 { margin:0; color:var(--room-paper); font:680 clamp(24px,2.1vw,34px)/1.25 var(--serif); }
.room-import { display:flex; gap:7px; align-items:center; padding:7px 10px; border:1px solid #46434b; border-radius:6px; color:#d7cec4; font-size:12px; text-decoration:none; white-space:nowrap; }
.room-import:hover, .room-file:hover { color:var(--room-tint,var(--gold)); border-color:currentColor; }
.room-import .ui-icon { width:16px;height:16px; }
.room-tabs { display:flex; gap:clamp(10px,1.65vw,26px); align-items:stretch; margin:14px 0; border-bottom:1px solid var(--room-rule); overflow-x:auto; scrollbar-width:thin; }
.room-tab { display:inline-flex; flex-shrink:0; align-items:center; color:var(--room-quiet); font-size:13px; padding:7px 0 10px; text-decoration:none; border-bottom:2px solid transparent; }
.room-tab[aria-current] { color:var(--room-tint); font-weight:700; border-color:currentColor; }
.room-tab:hover { color:var(--room-paper); }
.room-toolbar { display:grid; grid-template-columns:minmax(92px,1fr) minmax(144px,205px) auto; align-items:start; gap:9px; }
.room-result-label { display:flex; align-items:baseline; gap:7px; padding-top:5px; font-size:13px; }
.room-result-label strong { font-weight:600; }
.room-result-label span { color:var(--room-quiet); font-size:11px; white-space:nowrap; }
.room-search { display:flex; align-items:center; gap:6px; border:1px solid var(--room-rule); border-radius:5px; padding:0 4px 0 9px; height:32px; color:var(--room-quiet); background:#1d1f29; }
.room-search:focus-within { border-color:var(--room-tint); }
.room-search>.ui-icon, .room-find .ui-icon { width:14px; height:14px; }
.room-search input { min-width:0; width:100%; border:0; outline:none; box-shadow:none; background:transparent; color:var(--room-paper); font:inherit; font-size:12px; }
.room-search input:focus-visible { outline:none; }
.room-find { display:grid; place-items:center; width:24px; height:24px; color:var(--room-quiet); border:0; background:transparent; }
.room-filter-toggle { display:flex; align-items:center; gap:5px; cursor:pointer; font-size:12px; padding:4px 9px; min-height:32px; border:1px solid var(--room-rule); border-radius:5px; background:transparent; color:#d6ceca; }
.room-filter-toggle .ui-icon { width:14px;height:14px; }
.room-filter-toggle[aria-expanded="true"] { border-color:#aa8566; color:var(--room-tint); }
.room-filter-fields[hidden] { display:none; }
.room-filter-fields { grid-column:1 / -1; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; padding:10px 0 2px; }
.room-filter-fields .facet { min-width:0; width:100%; }
.room-filter-fields .facet>span { display:none; }
.room-filter-fields .facet select { width:100%; min-width:0; height:33px; font-size:12px; }
.room-applied { display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-top:10px; }
.room-applied>span { padding:2px 8px; background:#282a36; color:#d1c7be; border-radius:3px; font-size:11px; }
.room-clear { font-size:12px;color:var(--room-tint); }
.room-table { width:100%; border-collapse:collapse; table-layout:fixed; margin-top:12px; }
.room-table th { color:var(--room-quiet); font-size:11px; font-weight:500; text-align:left; padding:6px 5px; border-bottom:1px solid var(--room-rule); }
.room-table td { box-sizing:border-box; border-bottom:1px solid #ffffff0c; padding:7px 5px; }
.room-table tbody tr:hover, .room-table tbody tr:focus-within { background:#ffffff06; }
.room-table tbody tr.room-playing { background:#ecb47f0b; }
.room-table .room-index-cell { width:40px;text-align:center;padding-inline:2px; }
.room-index { font:500 12px/1.1 var(--sans, sans-serif); color:#aaa6b1; font-variant-numeric:tabular-nums; }
.room-row-start { display:inline-grid;place-items:center;width:29px;height:32px;padding:0;border:0;border-radius:5px;background:transparent;color:var(--room-tint); }
.room-row-start .ui-icon { display:none; width:14px;height:14px;fill:currentColor;stroke-width:1; }
.room-table tr:hover .room-row-start .room-index, .room-row-start:focus-visible .room-index { display:none; }
.room-table tr:hover .room-row-start .ui-icon, .room-row-start:focus-visible .ui-icon { display:block; }
.room-playing .room-row-start::after { content:""; width:11px;height:14px;background:linear-gradient(90deg,currentColor 0 36%,transparent 36% 64%,currentColor 64%); }
.room-playing .room-row-start .room-index,.room-table tbody tr.room-playing .room-row-start .ui-icon { display:none; }
.room-name-wrap { display:flex;gap:11px;align-items:center;min-width:0; }
.room-cover-link { flex:0 0 40px;width:40px; }
.room-cover-link .card-art { border-radius:5px; }
.room-titles { display:grid; min-width:0;gap:3px; }
.room-track-name,.room-subtitle,.room-mobile-artist,.room-artist-link { display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.room-track-name { font-size:14px;line-height:1.45;font-weight:600;color:#f0ebe5; }
.room-track-name:hover,.room-artist-link:hover,.room-playing .room-track-name { color:var(--room-tint); }
.room-subtitle,.room-mobile-artist { font-size:11px;color:var(--room-quiet);line-height:1.35; }
.room-mobile-artist { display:none; }
.room-table .room-artist-cell { width:20%; }
.room-artist-link { color:#c7c0c5;font-size:12px; }
.room-table .room-time-cell { width:48px;color:var(--room-quiet);font-size:12px;text-align:right;font-variant-numeric:tabular-nums; }
.room-table .room-control-cell { width:72px; }
.room-row-actions { display:flex;align-items:center;justify-content:flex-end;gap:2px; }
.room-icon-btn,.room-row-actions .compact-heart { display:inline-grid;place-items:center;position:static;box-sizing:border-box;width:30px;height:32px;min-width:0;min-height:0;padding:0;border:0;border-radius:4px;background:transparent;color:#b8b3bd; }
.room-icon-btn .ui-icon,.room-row-actions .compact-heart .ui-icon { width:16px;height:16px; }
.room-row-actions .compact-heart[aria-pressed=true],.room-icon-btn:hover,.room-row-actions .compact-heart:hover { color:var(--room-tint); }
.room-icon-btn:hover,.room-row-actions .compact-heart:hover { background:#ffffff0d; }
.room-empty { padding:40px 12px;display:grid;justify-items:center;gap:8px;color:var(--room-quiet); }
.room-sidebar { border-left:1px solid var(--room-rule);padding:4px 0 0 clamp(16px,1.8vw,31px); }
.room-sidebar h2 { font-size:clamp(17px,1.35vw,22px);margin-bottom:14px; }
.room-artist-feature { min-width:0;display:grid;grid-template-columns:42px minmax(0,1fr) 15px;gap:11px;align-items:center;padding:12px 0;border-bottom:1px solid var(--room-rule); }
.room-artist-feature>.card-art { width:42px;height:42px; border-radius:50%; }
.room-artist-feature .room-artist-data { min-width:0;display:grid;gap:3px; }
.room-artist-data b { font-size:14px;color:#eee6de; }
.room-artist-data small { white-space:nowrap;color:var(--room-quiet);font-size:11px; }
.room-artist-feature>.ui-icon { width:14px;color:var(--room-quiet); }
.room-artist-feature:hover b,.room-artist-feature:hover>.ui-icon { color:var(--room-tint); }
.room-file { display:inline-flex;align-items:center;gap:5px;color:var(--subtle);font-size:12px;border:1px solid var(--line);border-radius:5px;padding:4px 8px; }
.room-file .ui-icon { width:15px;height:15px; }
@media (max-width:1080px) {
  .room-body { grid-template-columns:minmax(0,1fr); }
  .room-sidebar { display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;padding:18px 0 0;border-left:0;border-top:1px solid var(--room-rule); }
  .room-sidebar h2 { margin:0;font-size:18px; }
  .room-artist-feature { flex:1;min-width:140px;max-width:235px;padding:0;border:0; }
}
@media (hover:none) {
  .room-row-start .room-index { display:none; }
  .room-row-start .ui-icon { display:block; }
}
@media (max-width:760px) {
  .room-hero { min-height:221px;background-position:center,68% center,68% center; }
  .room-hero-copy { padding:24px 20px; }
  .room-hero h1 { font-size:46px; }
  .room-hero-actions { margin-top:20px; }
  .room-library { scroll-margin-top:110px; }
  .room-body { margin-top:26px; }
  .room-library-head h2 { font-size:26px; }
  .room-tabs { margin:12px 0; }
  .room-sidebar { padding-top:16px; }
}
@media (max-width:560px) {
  .room-hero { min-height:212px;background-image:linear-gradient(90deg,#211b1eed,#211b1ecc 37%,#19151e14 89%),url("./media/listening-room.webp"),url("./media/cover-stage.webp"); }
  .room-kicker { font-size:11px; }
  .room-hero-info { font-size:13px; }
  .room-hero-actions { gap:7px; }
  .room-button { min-height:35px;padding:8px 12px;font-size:12px; }
  .room-tabs { gap:16px; }
  .room-tab { font-size:12px; }
  .room-toolbar { grid-template-columns:minmax(60px,1fr) minmax(95px,140px) auto;gap:5px; }
  .room-result-label { font-size:12px;gap:4px; }
  .room-search { gap:4px;padding-left:6px; }
  .room-filter-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .room-table { margin-top:9px; }
  .room-table .room-artist-cell { display:none; }
  .room-table .room-index-cell { width:24px; }
  .room-row-start { width:23px; }
  .room-table .room-time-cell { width:34px;padding-inline:1px;font-size:11px; }
  .room-table .room-control-cell { width:55px;padding-right:0; }
  .room-icon-btn,.room-row-actions .compact-heart { width:25px;height:34px; }
  .room-icon-btn .ui-icon,.room-row-actions .compact-heart .ui-icon { width:15px;height:15px; }
  .room-table td { padding:6px 3px; }
  .room-name-wrap { gap:7px; }
  .room-cover-link { flex-basis:34px;width:34px; }
  .room-track-name { font-size:13px; }
  .room-subtitle { display:none; }.room-mobile-artist { display:block; }
  .room-sidebar h2 { width:100%; }.room-artist-feature { gap:7px;grid-template-columns:34px minmax(0,1fr) 12px;min-width:120px; }
  .room-artist-feature>.card-art { width:34px;height:34px; }
}
.home-music-actions { display:flex; flex-wrap:wrap; gap:18px; align-items:center; margin-top:19px; }
.hero .home-music-actions .primary-button { margin:0; font:inherit; cursor:pointer; }
.home-room-link { color:#f2e9df; font-weight:600; text-decoration:underline; text-underline-offset:5px; }
