/* ===== โทน "ขาว + ชมพูคอรัล" (ผู้ใช้เลือก) — คมชัด อ่านง่าย =====
   โหลดหลัง ember.css และ bubbles.css · ธีมอื่นที่เก็บไว้: frost.css (ฟ้าหม่น), noir.css (ดำ) */

:root {
  --bg: #fbf6f5;
  --card: #ffffff;
  --text: #2a1e1e;
  --text-2: #5a4646;
  --muted: #8f7b7a;
  --line: #efe3e1;

  --glass-bg: linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.9));
  --glass-line: #f2e6e4;
  --glass-shadow: 0 10px 28px rgba(120, 60, 55, 0.08), 0 1px 2px rgba(120, 60, 55, 0.06);

  --lime: #f0706a;
  --lime-strong: #e85a55;
  --lime-soft: #fde8e6;
  --lime-ink: #ffffff;
  --primary: #e2554f;
  --primary-dark: #c4413c;
  --primary-soft: #fdecea;
  --ember-glow: rgba(240, 112, 106, 0.25);

  --wave: 240, 112, 106;
  --chip-bg: rgba(120, 60, 55, 0.06);
  --bub-core: rgba(253, 220, 214, 0.65);
  --bub-vignette: rgba(120, 60, 55, 0.08);
}

html,
body {
  background-color: #fbf6f5 !important;
}
body {
  background: #fbf6f5 !important;
  color: var(--text);
}
body::before {
  background:
    radial-gradient(50% 36% at 0% 0%, rgba(253, 214, 208, 0.55), transparent 72%),
    radial-gradient(44% 32% at 100% 6%, rgba(255, 228, 214, 0.55), transparent 72%),
    radial-gradient(48% 36% at 100% 100%, rgba(252, 220, 226, 0.45), transparent 72%),
    radial-gradient(44% 32% at 0% 88%, rgba(255, 236, 228, 0.55), transparent 72%) !important;
}

/* การ์ด: ทึบขึ้น ขอบชัดขึ้น ให้ตัดกับพื้น */
.card {
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-line) !important;
  box-shadow: var(--glass-shadow) !important;
}
.muted {
  color: var(--muted);
}

/* แถบบน + เฟด */
.topbar,
.topbar.scrolled {
  background: #fbf6f5 !important;
}
.topbar::after {
  background: linear-gradient(
    to bottom,
    rgba(251, 246, 245, 1) 0%,
    rgba(251, 246, 245, 0.94) 10%,
    rgba(251, 246, 245, 0.82) 22%,
    rgba(251, 246, 245, 0.66) 34%,
    rgba(251, 246, 245, 0.48) 47%,
    rgba(251, 246, 245, 0.31) 60%,
    rgba(251, 246, 245, 0.17) 73%,
    rgba(251, 246, 245, 0.07) 86%,
    rgba(251, 246, 245, 0) 100%
  ) !important;
}

/* เมนู */
.tabs button.active {
  background: linear-gradient(135deg, #f58a83, #f0706a) !important;
  color: #fff !important;
}
.tabs button.active .tab-ico {
  color: var(--primary) !important;
}
@media (max-width: 720px) {
  .tabs button {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: #f2e6e4 !important;
  }
  .tabs button.active {
    background-color: #f0706a !important;
    background-image: linear-gradient(135deg, rgba(255, 170, 160, 0.6), rgba(240, 112, 106, 0)) !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(232, 90, 85, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  }
  .tabs button.active .tab-ico {
    box-shadow: 0 2px 8px rgba(160, 50, 45, 0.18) !important;
  }
}

/* ปุ่มควบคุม */
.ctl {
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(120, 60, 55, 0.1) !important;
}
.ctl.side {
  color: #a08c8b !important;
}
.ctl.on,
.ctl.big {
  background: var(--lime) !important;
  color: #fff !important;
}
.ctl.on {
  box-shadow: 0 4px 12px rgba(232, 90, 85, 0.3) !important;
}
.ctl.big {
  box-shadow: 0 8px 22px rgba(232, 90, 85, 0.38) !important;
}
.ctl-badge {
  background: var(--primary-dark) !important;
  color: #fff !important;
}
.btn.primary {
  color: #fff !important;
}
.now-stats {
  background: var(--lime-soft) !important;
  color: #b53a35 !important;
}
.stage {
  background: radial-gradient(circle at 50% 45%, #ffffff, #f7e9e7) !important;
}
.stage-ring {
  box-shadow: 0 0 34px rgba(var(--amb), 0.22) !important;
}
.stage-ring::before {
  background: conic-gradient(from 0deg, transparent 0 55%, #ffd3cf 68%, #f0706a 80%, #ffffff 86%, transparent 92%) !important;
}
.aurora {
  opacity: 0.4 !important;
}
.is-playing .aurora {
  opacity: 0.6 !important;
}
.aurora i:nth-child(1) {
  background: #ffc4bd !important;
}
.aurora i:nth-child(2) {
  background: #ffdccb !important;
}
.aurora i:nth-child(3) {
  background: #fbc6d2 !important;
}
#seek,
#fs-seek {
  background: linear-gradient(90deg, #ffc4bd, #f0706a) 0 0 / var(--p, 0%) 100% no-repeat, rgba(120, 60, 55, 0.1) !important;
}
#seek::-webkit-slider-thumb,
#fs-seek::-webkit-slider-thumb {
  border-color: #f0706a !important;
}

/* แสงจากปกเพลง: นุ่มๆ */
#ambient img {
  filter: blur(72px) saturate(1) !important;
}
#ambient img.show {
  opacity: 0.24 !important;
}

/* ปุ่มลูกเล่น */
.fx-btn {
  background: #fff !important;
  border-color: #f2e6e4 !important;
  box-shadow: 0 4px 14px rgba(120, 60, 55, 0.07) !important;
}
.fx-ico {
  background: var(--lime-soft) !important;
  color: var(--primary) !important;
}
.fx-btn.on {
  background: linear-gradient(150deg, #fff1ef, #ffd6d1) !important;
  box-shadow: 0 6px 18px rgba(232, 90, 85, 0.2) !important;
}
.fx-btn.on small {
  color: #b53a35 !important;
}
.wave-switch button.on {
  color: #fff !important;
}

/* ปุ่มหมุน */
.vol-knob {
  stroke: var(--primary) !important;
}
.vol-fill {
  stroke: var(--lime) !important;
}
.vs-knob {
  background: var(--lime) !important;
}
.vol:not(.mode-song) .vs-vol,
.mode-song .vs-song {
  color: #fff !important;
}
.vol-dial,
.vol-handle,
.vol-switch {
  box-shadow: -8px 10px 34px rgba(120, 60, 55, 0.16) !important;
}

/* โหมดเต็มจอ */
.fs {
  background: #fbf3f2 !important;
}
.fs-bg img {
  opacity: 0.4 !important;
  filter: blur(48px) saturate(1) !important;
}
.fs-bg::after {
  background: linear-gradient(180deg, rgba(251, 243, 242, 0.4), rgba(251, 243, 242, 0.8) 60%, rgba(251, 243, 242, 0.95)) !important;
}
.fs-bg i:nth-of-type(1) {
  background: #ffc4bd !important;
}
.fs-bg i:nth-of-type(2) {
  background: #ffdccb !important;
}
.fs-video::before {
  background: radial-gradient(closest-side, rgba(240, 112, 106, 0.4), transparent) !important;
}
.fs-round.on {
  color: #fff !important;
}
.vinyl-label {
  background: radial-gradient(circle at 35% 30%, #ffd9d4, #f0706a) !important;
}
.vinyl-hole {
  background: #fbf3f2 !important;
}

/* เสียงบรรยากาศ */
.amb-tile {
  background: #fdf8f7 !important;
  border-color: #f2e6e4 !important;
}
.amb-tile.on {
  background: linear-gradient(160deg, #fff0ee, #ffd3cd) !important;
  border-color: #fbc9c3 !important;
  box-shadow: 0 10px 24px rgba(232, 90, 85, 0.18) !important;
}
.amb-tile.on .amb-toggle small {
  color: #b53a35 !important;
}
.art.rain i {
  background: #d98c88 !important;
}
.art.waves path {
  fill: rgba(240, 112, 106, 0.3) !important;
}
.art.waves path + path {
  fill: rgba(240, 112, 106, 0.55) !important;
}
.art.wind i {
  background: linear-gradient(90deg, transparent, #e0a09c, transparent) !important;
}

/* ไอคอนสถิติ */
.st-ico {
  background: linear-gradient(150deg, #fff0ee, #ffd3cd) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 4px 10px rgba(232, 90, 85, 0.16) !important;
}
.st-ico .b1 {
  fill: #ffa59e !important;
}
.st-ico .b2 {
  fill: #f5837c !important;
}
.st-ico .b3 {
  fill: #e2554f !important;
}

/* จักรวาลเพลง / แผ่นเพลง */
.bub-ph,
.bub-ph.yt {
  background: radial-gradient(circle at 35% 30%, #ffe1dd, #f0706a) !important;
}
.bub-ph.radio {
  background: radial-gradient(circle at 35% 30%, #ffe8dc, #e8896a) !important;
}
.bub-ico i {
  background: radial-gradient(circle at 35% 30%, #ffffff, #f0706a) !important;
}
.bub-stage {
  background: radial-gradient(circle at 50% 50%, var(--bub-core), transparent 62%), #fff !important;
  border-color: #f2e6e4 !important;
}
.chip.on,
.chip.hot {
  color: #fff !important;
}
.qw-disc::after,
.ds-disc::after {
  background: #fff !important;
}
