* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-base: #070707;
  --bg-elevated: #121212;
  --bg-card: #181818;
  --bg-hover: #242424;
  --bg-soft: #1f1f1f;
  --line: #2f2f2f;
  --text-base: #ffffff;
  --text-subdued: #a7a7a7;
  --spotify-green: #1db954;
  --spotify-green-hover: #1ed760;
  --danger: #ff4d4f;
  --fx-red: #f03355;
}

body {
  font-family: Circular, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg-base);
  color: var(--text-base);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.login-view {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, #1d4f38 0%, #0f1f17 34%, #070707 70%);
}

.login-noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 0);
  background-size: 4px 4px;
  opacity: 0.08;
  pointer-events: none;
}

.login-orb {
  position: absolute;
  filter: blur(40px);
  border-radius: 999px;
  pointer-events: none;
}

.orb-a {
  width: 340px;
  height: 340px;
  background: rgba(29, 185, 84, 0.3);
  top: -60px;
  left: -80px;
}

.orb-b {
  width: 320px;
  height: 320px;
  background: rgba(240, 51, 85, 0.25);
  right: -100px;
  bottom: -90px;
}

.login-shell {
  position: relative;
  z-index: 2;
  width: min(1100px, 92vw);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.login-hero,
.login-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(160deg, rgba(18, 18, 18, 0.94), rgba(8, 8, 8, 0.9));
  backdrop-filter: blur(8px);
}

.login-hero {
  padding: 42px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-kicker {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--spotify-green);
  font-weight: 700;
}

.login-hero h1 {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -1px;
}

.login-hero p {
  color: var(--text-subdued);
  font-size: 16px;
  max-width: 560px;
}

.login-points {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.login-points li {
  color: #d0d0d0;
  font-size: 14px;
  padding-left: 20px;
  position: relative;
}

.login-points li::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--spotify-green);
  left: 0;
  top: 7px;
}

.login-card {
  display: grid;
  align-content: center;
  gap: 14px;
  text-align: center;
  padding: 40px;
}

.brand-large {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 900;
  color: var(--spotify-green);
  letter-spacing: -2px;
}

.login-card p {
  color: var(--text-subdued);
  font-size: 15px;
}

.app-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  grid-template-rows: 1fr 96px;
  gap: 8px;
  padding: 8px;
  height: 100vh;
}

.card-bg {
  background: var(--bg-elevated);
  border-radius: 10px;
}

.sidebar {
  grid-row: 1 / 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

.brand-container {
  padding: 20px 22px;
}

.brand-container h2 {
  font-size: 30px;
  letter-spacing: -1px;
}

.brand-sub {
  color: var(--text-subdued);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 4px;
}

.nav-section,
.library-section,
.playlist-section {
  padding: 10px;
}

.section-heading {
  color: var(--text-subdued);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-weight: 700;
  padding: 8px 10px;
}

.nav-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text-subdued);
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.nav-item svg {
  width: 18px;
  height: 18px;
}

.nav-item:hover,
.nav-item.active {
  color: var(--text-base);
  background: var(--bg-hover);
}

.search-box {
  margin: 8px 8px 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--bg-soft);
}

.search-box:focus-within {
  border-color: #4c4c4c;
  background: #262626;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text-base);
}

.library-section {
  border-top: 1px solid var(--line);
}

.playlist-section {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-top: 1px solid var(--line);
  flex: 1;
}

.playlist-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 6px;
}

.mini-btn {
  border: 1px solid #3a3a3a;
  background: #1f1f1f;
  color: #f1f1f1;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
}

.mini-btn:hover {
  border-color: #575757;
  background: #2a2a2a;
}

.playlist-list {
  display: grid;
  gap: 6px;
  overflow-y: auto;
  padding: 4px 4px 6px;
}

.playlist-empty {
  color: var(--text-subdued);
  font-size: 12px;
  border: 1px dashed #323232;
  border-radius: 8px;
  padding: 14px;
}

.playlist-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
}

.playlist-item {
  border: 0;
  background: #1c1c1c;
  color: #f0f0f0;
  border-radius: 8px;
  padding: 10px;
  text-align: left;
  cursor: pointer;
}

.playlist-item.active,
.playlist-item:hover {
  background: #2a2a2a;
}

.playlist-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playlist-meta {
  display: block;
  margin-top: 3px;
  color: var(--text-subdued);
  font-size: 11px;
}

.playlist-trash {
  border: 0;
  background: #1b1b1b;
  color: #9a9a9a;
  width: 34px;
  border-radius: 8px;
  cursor: pointer;
}

.playlist-trash:hover {
  color: #ffd6d6;
  background: #3a2121;
}

.playlist-trash svg {
  width: 15px;
  height: 15px;
}

.sidebar-footer {
  padding: 14px;
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.user-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--text-subdued);
  font-size: 12px;
}

.main-content {
  position: relative;
  grid-row: 1 / 2;
  overflow-y: auto;
  background: linear-gradient(175deg, rgba(29, 185, 84, 0.34), rgba(18, 18, 18, 0.96) 280px, #101010);
}

.content-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.08), transparent 34%);
}

.content-header {
  position: relative;
  z-index: 1;
  padding: 48px 24px 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.view-sub {
  color: #d4d4d4;
  font-size: 13px;
  margin-bottom: 10px;
}

.view-title {
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -2px;
  line-height: 0.95;
}

.big-play-btn {
  border: 0;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--spotify-green);
  color: #000;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.42);
}

.big-play-btn:hover {
  transform: scale(1.04);
  background: var(--spotify-green-hover);
}

.quick-chips {
  display: flex;
  gap: 8px;
  padding: 0 24px 14px;
}

.chip {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #e9e9e9;
  background: #2a2a2a;
}

.chip.active {
  background: #ffffff;
  color: #000;
}

.table-header,
.row {
  display: grid;
  grid-template-columns: 48px minmax(220px, 4fr) minmax(130px, 2fr) 88px minmax(170px, 2fr);
  align-items: center;
  margin: 0 24px;
  padding: 0 14px;
}

.table-header {
  height: 36px;
  color: #b7b7b7;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.th-duration,
.duration-text {
  text-align: right;
}

.th-actions {
  text-align: center;
}

.content-body {
  padding: 10px 0 28px;
}

.row {
  min-height: 58px;
  border-radius: 8px;
}

.row:hover {
  background: rgba(255, 255, 255, 0.08);
}

.row-num {
  font-size: 14px;
  color: var(--text-subdued);
  text-align: center;
}

.row:hover .row-num span,
.track-active .row-num span {
  display: none;
}

.row:hover .row-num::before,
.track-active .row-num::before {
  content: "\25B6";
  font-size: 11px;
}

.track-active .row-num::before,
.track-active .track-name {
  color: var(--spotify-green);
}

.track-name {
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-meta {
  color: var(--text-subdued);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.actions-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.duration-text {
  color: var(--text-subdued);
  font-size: 12px;
}

.icon-btn {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-subdued);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-btn svg {
  width: 15px;
  height: 15px;
}

.icon-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
}

.icon-btn.liked,
.icon-btn.in-queue,
.icon-btn.playlist-btn {
  color: var(--spotify-green);
}

.delete-btn {
  color: #ff7d7f;
}

.delete-btn:hover {
  background: rgba(255, 77, 79, 0.18);
  color: #ffd4d4;
}

.player {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 16px;
  background: #080808;
  border-radius: 10px;
}

.now-playing,
.player-right {
  width: 30%;
}

.track-title {
  font-size: 14px;
  font-weight: 700;
}

.track-artist {
  margin-top: 3px;
  color: var(--text-subdued);
  font-size: 11px;
}

.player-controls {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.control-btn {
  border: 0;
  background: transparent;
  color: var(--text-subdued);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.control-btn svg {
  width: 17px;
  height: 17px;
}

.control-btn:hover,
.control-btn.active {
  color: #fff;
}

.control-btn.mode-one {
  color: var(--spotify-green);
}

.play-pause {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fff;
  color: #000;
}

.progress-container {
  width: 100%;
  max-width: 560px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.time-text {
  font-size: 11px;
  color: var(--text-subdued);
  min-width: 34px;
  text-align: center;
}

.player-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.volume-bar {
  width: 120px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-subdued);
}

.fx-modal,
.playlist-picker {
  width: min(980px, 95vw);
  border-radius: 14px;
  border: 1px solid #333;
  background: #111;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.7);
}

.fx-modal {
  padding: 14px 18px 24px;
  background: linear-gradient(180deg, #16171a 0%, #0d0d0f 36%, #101013 100%);
  border-color: #2a2a30;
}

.fx-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 2px 12px;
  border-bottom: 1px solid #26262b;
}

.fx-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -1px;
}

.fx-device-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fx-preset-col {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.fx-select {
  border: 1px solid #26272d;
  background: #090a0d;
  color: #fff;
  border-radius: 10px;
  height: 54px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
}

.fx-select:focus {
  outline: none;
  border-color: #414148;
}

.fx-device-select {
  width: 100%;
}

.fx-save-btn {
  border: 1px solid #353740;
  background: #181a1f;
  color: #f0f0f3;
  border-radius: 10px;
  height: 54px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.fx-save-btn:hover {
  border-color: #4c4f5a;
  background: #22252d;
}

.fx-layout {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 188px 1fr;
  gap: 14px;
}

.fx-left-panel,
.fx-right-panel {
  background: #0b0c0f;
  border-radius: 9px;
  border: 1px solid #17181d;
}

.fx-left-panel {
  padding: 12px 14px;
  display: grid;
  gap: 10px;
}

.fx-effect label {
  display: block;
  font-size: 12px;
  color: #d2d2d8;
  margin-bottom: 6px;
  font-weight: 500;
}

.fx-right-panel {
  min-height: 260px;
  padding: 10px 8px 12px;
}

.eq-graph-shell {
  position: relative;
}

.eq-curve-svg {
  position: absolute;
  left: 10px;
  top: 24px;
  width: calc(100% - 20px);
  height: 176px;
  pointer-events: none;
  z-index: 1;
}

.eq-line-path {
  stroke: #f03355;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eq-bands {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(9, minmax(44px, 1fr));
  gap: 0;
  padding: 0 10px;
}

.eq-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.eq-val {
  min-height: 24px;
  line-height: 24px;
  font-size: 11px;
  color: var(--fx-red);
  font-weight: 700;
}

.eq-track-zone {
  position: relative;
  width: 100%;
  height: 176px;
}

.eq-vline {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  border-left: 1px dashed rgba(240, 51, 85, 0.32);
}

.eq-dot {
  position: absolute;
  left: 50%;
  top: var(--gain-pct);
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #08080a;
  border: 3px solid #f03355;
  box-shadow: 0 0 0 3px rgba(240, 51, 85, 0.18);
  pointer-events: none;
}

.eq-range {
  width: 176px;
  height: 44px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center;
  position: absolute;
  opacity: 0.001;
  z-index: 5;
  cursor: ns-resize;
}

.eq-hz {
  margin-top: 8px;
  font-size: 12px;
  color: #c6c7ce;
  letter-spacing: 0.2px;
}

.eq-knob {
  margin-top: 8px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #252730;
  background: conic-gradient(#f03355 calc(var(--knob-pct, 0) * 1%), #2b0f19 0);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.eq-knob span {
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  background: #09090c;
  border: 1px solid #25262b;
}

.eq-knob::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #f03355;
  transform: rotate(calc((var(--knob-pct, 0) * 2.4deg) - 120deg)) translateY(-13px);
  transform-origin: center;
  box-shadow: 0 0 0 2px rgba(240, 51, 85, 0.2);
}

.fx-footer {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fx-circle-btn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid #212127;
  background: #090a0d;
  color: #b6b6be;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.fx-circle-btn svg {
  width: 19px;
  height: 19px;
}

.fx-circle-btn:hover {
  color: #fff;
  border-color: #34353d;
}

.fx-main-power {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  border: 10px solid #050507;
  background: radial-gradient(circle at 35% 28%, #ff6c89 0%, #f03355 60%, #da2147 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.2s ease, color 0.2s ease;
  box-shadow: 0 0 0 8px rgba(5, 5, 7, 0.6), 0 14px 28px rgba(0, 0, 0, 0.55);
}

.fx-main-power:hover {
  transform: scale(1.02);
}

.fx-main-power.on {
  box-shadow: 0 0 0 8px rgba(5, 5, 7, 0.6), 0 14px 28px rgba(0, 0, 0, 0.55), 0 0 20px rgba(240, 51, 85, 0.35);
}

.fx-power-icon {
  display: grid;
  place-items: center;
}

.fx-power-icon svg {
  width: 34px;
  height: 34px;
}

.fx-power-state {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.fx-main-power.off {
  background: #1d1e22;
  color: #7a7d87;
  box-shadow: 0 0 0 8px rgba(5, 5, 7, 0.45);
}

.fx-main-power.off .fx-power-icon svg {
  opacity: 0.7;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.78);
  padding: 16px;
}

.playlist-picker {
  width: min(460px, 92vw);
  padding: 20px;
}

.picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.picker-head h3 {
  font-size: 20px;
}

.playlist-picker-list {
  display: grid;
  gap: 8px;
  max-height: 320px;
  overflow-y: auto;
}

.picker-playlist-btn {
  border: 1px solid #2f2f2f;
  background: #191919;
  color: #fff;
  text-align: left;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
}

.picker-playlist-btn:hover {
  background: #242424;
  border-color: #424242;
}

.picker-playlist-btn small {
  display: block;
  color: var(--text-subdued);
  margin-top: 2px;
}

.playlist-picker-empty {
  color: var(--text-subdued);
  border: 1px dashed #343434;
  border-radius: 8px;
  padding: 14px;
}

.fx-close {
  border: 0;
  background: transparent;
  color: #f03355;
  font-size: 30px;
  cursor: pointer;
  line-height: 1;
}

.fx-close:hover {
  color: #ff6685;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}

input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: #43444a;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -4px;
  border-radius: 999px;
  background: #fff;
}

input[type="range"]:hover::-webkit-slider-runnable-track {
  background: #5d5f66;
}

input.eq-range:hover::-webkit-slider-runnable-track {
  background: transparent !important;
}

.fx-effect input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(240, 51, 85, 0.92) 0%, rgba(240, 51, 85, 0.5) 65%, rgba(240, 51, 85, 0.2) 100%);
}

.fx-effect input[type="range"]::-webkit-slider-thumb {
  width: 15px;
  height: 15px;
  border: 2px solid #f03355;
  background: #09090c;
  margin-top: -6px;
  box-shadow: 0 0 0 3px rgba(240, 51, 85, 0.18);
}

.fx-effect input[type="range"]:hover::-webkit-slider-runnable-track {
  background: linear-gradient(90deg, rgba(255, 88, 121, 1) 0%, rgba(255, 88, 121, 0.52) 65%, rgba(255, 88, 121, 0.24) 100%);
}

input[type="range"]:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn {
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: #2a2a2a;
}

.btn.primary {
  background: var(--spotify-green);
  color: #000;
}

.btn.large {
  padding: 13px 18px;
  font-size: 14px;
}

.btn.ghost {
  background: #1f1f1f;
  border: 1px solid #363636;
}

.btn-sm {
  padding: 8px 12px;
  font-size: 12px;
}

.btn.text-only {
  background: transparent;
  color: var(--text-subdued);
  padding: 0;
}

.btn.text-only:hover {
  color: #fff;
}

.upload-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hidden {
  display: none !important;
}

.empty-view {
  margin: 24px;
  padding: 24px;
  border: 1px dashed #333;
  border-radius: 12px;
  color: var(--text-subdued);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 110px;
  transform: translateX(-50%);
  background: var(--spotify-green);
  color: #000;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
  z-index: 2000;
}

@media (max-width: 1100px) {
  .app-layout {
    grid-template-columns: 280px 1fr;
  }

  .table-header,
  .row {
    grid-template-columns: 42px minmax(160px, 3fr) minmax(120px, 2fr) 76px minmax(160px, 2fr);
  }
}

@media (max-width: 920px) {
  body {
    overflow: auto;
  }

  .login-shell {
    grid-template-columns: 1fr;
  }

  .app-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr 96px;
    height: auto;
    min-height: 100vh;
  }

  .sidebar {
    grid-row: 1;
    max-height: 320px;
  }

  .main-content {
    grid-row: 2;
    min-height: 0;
  }

  .player {
    grid-row: 3;
  }

  .fx-layout {
    grid-template-columns: 1fr;
  }

  .fx-device-row {
    grid-template-columns: 1fr;
  }

  .fx-preset-col {
    grid-template-columns: 1fr;
  }

  .fx-right-panel {
    overflow-x: auto;
  }

  .eq-graph-shell {
    min-width: 620px;
  }

  .fx-main-power {
    width: 104px;
    height: 104px;
  }
}

@media (max-width: 760px) {
  .content-header {
    padding: 36px 16px 10px;
  }

  .quick-chips {
    padding: 0 16px 12px;
  }

  .table-header,
  .row {
    margin: 0 12px;
    padding: 0 8px;
    grid-template-columns: 36px minmax(120px, 3fr) minmax(80px, 1.4fr) 60px minmax(140px, 2fr);
  }

  .player {
    padding: 0 10px;
  }

  .now-playing,
  .player-right {
    width: 28%;
  }

  .player-controls {
    width: 44%;
  }

  .fx-brand {
    font-size: 28px;
  }

  .fx-main-power {
    width: 92px;
    height: 92px;
    border-width: 8px;
  }

  .fx-power-icon svg {
    width: 32px;
    height: 32px;
  }
}













