:root {
  --bg-dark: #0c1018;
  --glass-bg: rgba(14, 18, 28, 0.58);
  --glass-bg-strong: rgba(14, 18, 28, 0.86);
  --glass-border: rgba(255, 240, 215, 0.14);
  --text-main: #f6f1e7;
  --text-muted: rgba(246, 241, 231, 0.68);
  --accent: #f3b562;
  --accent-soft: rgba(243, 181, 98, 0.18);
  --accent-hover: #f8c780;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
}

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

html,
body {
  height: 100%;
  background: var(--bg-dark);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Full-bleed cross-fading backgrounds */
.bg-layer {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.9s ease, transform 1.2s ease;
  z-index: 0;
}

.bg-layer.active {
  opacity: 1;
  transform: scale(1);
}

/* Fireplace ambient warm glow linked to Fireplace slider */
.fire-glow {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse at 50% 105%, rgba(255, 138, 56, 0.46) 0%, rgba(243, 118, 42, 0.14) 42%, transparent 72%);
  transition: opacity 0.25s ease;
  animation: firePulse 3.4s ease-in-out infinite alternate;
}

@keyframes firePulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.04); }
}

.bg-vignette {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(10, 14, 22, 0.12) 0%, rgba(8, 11, 18, 0.68) 100%),
    linear-gradient(180deg, rgba(8, 11, 18, 0.52) 0%, rgba(8, 11, 18, 0.12) 38%, rgba(8, 11, 18, 0.68) 100%);
  z-index: 1;
  pointer-events: none;
}

#atmosphere-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Main App Layout */
.app-shell {
  position: relative;
  z-index: 3;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: max(16px, env(safe-area-inset-top)) 20px max(16px, env(safe-area-inset-bottom));
  gap: 14px;
  max-width: 1280px;
  margin: 0 auto;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* Zen Mode */
body.zen-mode .top-bar,
body.zen-mode .workspace,
body.zen-mode .player-dock,
body.zen-mode .playlist-popover {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.top-bar,
.workspace,
.player-dock {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.exit-zen-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg-strong);
  color: var(--text-main);
  font-size: 13px;
  cursor: pointer;
  backdrop-filter: blur(14px);
}

/* Top Bar */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(243, 181, 98, 0.85);
}

.brand-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(14, 18, 28, 0.62);
  border: 1px solid var(--glass-border);
  font-size: 12px;
  color: var(--text-main);
}

.stat-btn {
  cursor: pointer;
  transition: all 0.2s ease;
}

.stat-btn:hover {
  border-color: rgba(243, 181, 98, 0.5);
  background: rgba(243, 181, 98, 0.14);
}

.stat-icon {
  color: #6ee7b7;
  font-size: 9px;
}

.streak-tag {
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(243, 181, 98, 0.22);
  color: #ffe3b5;
  font-size: 10px;
  font-weight: 700;
}

.icon-btn {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(14, 18, 28, 0.52);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn:hover,
.icon-btn.active {
  color: var(--text-main);
  border-color: rgba(243, 181, 98, 0.45);
  background: rgba(243, 181, 98, 0.14);
}

.icon-btn.muted-state {
  color: #fca5a5;
  border-color: rgba(252, 165, 165, 0.45);
  background: rgba(252, 165, 165, 0.12);
}

.pro-btn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(243, 181, 98, 0.6);
  background: linear-gradient(135deg, rgba(243, 181, 98, 0.28), rgba(243, 181, 98, 0.1));
  color: #ffe3b5;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pro-btn:hover {
  background: linear-gradient(135deg, rgba(243, 181, 98, 0.42), rgba(243, 181, 98, 0.18));
  transform: translateY(-1px);
}

.pro-btn.unlocked {
  border-color: rgba(110, 231, 183, 0.5);
  background: rgba(110, 231, 183, 0.16);
  color: #a7f3d0;
}

/* Workspace Grid */
.workspace {
  display: grid;
  grid-template-columns: minmax(300px, 440px) minmax(290px, 380px);
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin: auto 0;
}

/* Timer Card */
.timer-card {
  padding: 22px;
}

.mode-tabs {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.26);
  padding: 4px;
  border-radius: 999px;
}

.mode-tab {
  flex: 1;
  padding: 8px 10px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mode-tab.active {
  background: var(--accent-soft);
  color: #ffe3b5;
}

.timer-subbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
  min-height: 28px;
}

.sub-pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.sub-pill:hover,
.sub-pill.active {
  color: #ffe3b5;
  border-color: rgba(243, 181, 98, 0.5);
  background: var(--accent-soft);
}

.phase-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(110, 231, 183, 0.14);
  border: 1px solid rgba(110, 231, 183, 0.35);
  color: #a7f3d0;
  font-size: 11px;
  font-weight: 700;
}

.phase-badge.is-break {
  background: rgba(147, 197, 253, 0.16);
  border-color: rgba(147, 197, 253, 0.4);
  color: #bfdbfe;
}

.custom-min-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.28);
  font-size: 11px;
  color: var(--text-muted);
}

.custom-min-input {
  width: 38px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  outline: none;
}

.timer-display {
  font-size: clamp(48px, 7vw, 68px);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  margin: 10px 0;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.timer-progress-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin-bottom: 16px;
}

.timer-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #ffd89b);
  transition: width 0.4s ease;
}

.timer-controls {
  display: flex;
  gap: 10px;
}

.primary-btn {
  flex: 1;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  border: none;
  background: var(--accent);
  color: #1a1309;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.primary-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.primary-btn.full-width {
  display: block;
  width: 100%;
}

.ghost-btn {
  padding: 11px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.text-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-btn:hover {
  color: var(--text-main);
}

/* Tasks Section */
.tasks-section {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tasks-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.tasks-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
}

.task-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 138px;
  overflow-y: auto;
  margin-bottom: 8px;
}

.task-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.task-checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}

.task-item-text {
  flex: 1;
  font-size: 13px;
  color: var(--text-main);
  word-break: break-word;
}

.task-item-text.done {
  text-decoration: line-through;
  color: var(--text-muted);
}

.task-del-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  padding: 2px 4px;
}

.task-del-btn:hover {
  color: #fca5a5;
}

.task-add-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.task-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 13px;
  outline: none;
}

.task-input::placeholder {
  color: rgba(246, 241, 231, 0.45);
}

.mini-add-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: none;
  background: var(--accent-soft);
  color: #ffe3b5;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

/* 7-Day Focus Stats Panel */
.stats-panel {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.stats-chart-wrap {
  position: relative;
  min-height: 92px;
}

.stats-bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  align-items: end;
  height: 88px;
  padding-top: 14px;
}

.stats-bars.blurred {
  filter: blur(4px);
  opacity: 0.45;
  pointer-events: none;
}

.stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}

.stat-bar-val {
  font-size: 10px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.stat-bar-fill {
  width: 100%;
  max-width: 24px;
  min-height: 4px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #ffd89b, var(--accent));
}

.stat-bar-fill.is-today {
  background: linear-gradient(180deg, #a7f3d0, #34d399);
}

.stat-bar-day {
  font-size: 10px;
  color: var(--text-muted);
}

.stats-lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Side Panels */
.side-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel-card {
  padding: 15px 17px;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.panel-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.panel-meta {
  font-size: 11px;
  color: var(--text-muted);
}

/* Room Cards */
.room-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.room-card {
  position: relative;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  background-size: cover;
  background-position: center;
  text-align: left;
  padding: 7px 9px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.room-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 22, 0.15) 0%, rgba(10, 14, 22, 0.82) 100%);
}

.room-card:hover {
  transform: translateY(-1px);
  border-color: rgba(243, 181, 98, 0.55);
}

.room-card.active {
  border: 2px solid var(--accent);
}

.room-card-name {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.room-lock-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 1;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(14, 18, 28, 0.82);
  border: 1px solid rgba(243, 181, 98, 0.5);
  color: #ffe3b5;
  font-size: 10px;
  font-weight: 700;
}

/* Ambient Mixer */
.ambient-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ambient-row {
  display: grid;
  grid-template-columns: 126px 1fr;
  align-items: center;
  gap: 10px;
}

.ambient-row.locked {
  opacity: 0.62;
  cursor: pointer;
}

.ambient-name {
  font-size: 12px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.mini-pro-tag {
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #ffe3b5;
  font-weight: 700;
}

/* Sliders */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(243, 181, 98, 0.5);
}

/* Playlist Popover */
.playlist-popover {
  position: fixed;
  bottom: 84px;
  left: 20px;
  width: min(380px, calc(100vw - 40px));
  max-height: 320px;
  padding: 14px 16px;
  z-index: 15;
  background: var(--glass-bg-strong);
  display: flex;
  flex-direction: column;
}

.playlist-popover[hidden] {
  display: none;
}

.playlist-items {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.playlist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-main);
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

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

.playlist-row.active {
  background: var(--accent-soft);
  color: #ffe3b5;
  font-weight: 700;
}

.playlist-row.locked {
  opacity: 0.6;
}

/* Bottom Player Dock */
.player-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 16px;
  flex-wrap: wrap;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.circle-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.circle-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.circle-btn.play-btn {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #1a1309;
  border: none;
  font-weight: 700;
}

.track-info {
  flex: 1;
  min-width: 160px;
}

.track-title {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-room {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.player-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.volume-wrap {
  display: flex;
  align-items: center;
  width: 96px;
}

.yt-pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.yt-pill:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(5, 8, 14, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 28px 24px 24px;
  background: var(--glass-bg-strong);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #ffe3b5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.modal-title {
  font-size: 19px;
  margin-top: 10px;
}

.modal-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  margin: 6px 0 14px;
}

.modal-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--text-main);
}

.modal-perks li::before {
  content: "✓ ";
  color: #6ee7b7;
  font-weight: 700;
}

.setup-note {
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

.setup-note code {
  color: #ffe3b5;
}

.unlock-box {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.unlock-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.unlock-row {
  display: flex;
  gap: 8px;
}

.unlock-input {
  flex: 1;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-main);
  font-size: 13px;
  outline: none;
}

.unlock-input:focus {
  border-color: var(--accent);
}

.unlock-feedback {
  margin-top: 8px;
  font-size: 12px;
  min-height: 16px;
}

.unlock-feedback.error {
  color: #fca5a5;
}

.unlock-feedback.ok {
  color: #6ee7b7;
}

.demo-wrap {
  margin-top: 12px;
  text-align: center;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 86px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  z-index: 40;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(14, 18, 28, 0.92);
  border: 1px solid rgba(243, 181, 98, 0.45);
  color: var(--text-main);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.stats-share-row {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 10px;
}

.mobile-panel-toggles {
  display: none;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* Mix Presets Bar */
.preset-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.preset-label {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}

.preset-slots {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.preset-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-size: 11px;
  cursor: pointer;
}

.preset-chip.saved {
  border-color: rgba(243, 181, 98, 0.55);
  background: var(--accent-soft);
  color: #ffe3b5;
}

.preset-chip.locked {
  opacity: 0.55;
}

.preset-save-dot {
  font-size: 10px;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 820px) {
  .workspace {
    grid-template-columns: 1fr;
    margin: 0;
  }

  .mobile-panel-toggles {
    display: flex;
  }

  .mobile-collapsible {
    display: none;
  }

  .mobile-collapsible.mobile-open {
    display: block;
  }

  .player-right {
    width: 100%;
    justify-content: space-between;
  }
}
