/* Brewed Awakenings — Isolated Floating Studio Switcher & Square Notes Drawer */
.ba-studio-wrap {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 9500;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  color: #f5f5f7;
}

.ba-studio-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(18, 18, 22, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #f5f5f7;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  transition: transform 0.16s ease, background 0.16s ease;
}

.ba-studio-pill:hover {
  transform: translateY(-1px);
  background: rgba(28, 28, 34, 0.96);
}

.ba-studio-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.ba-studio-dot.is-closed {
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.22);
}

.ba-studio-panel {
  display: none;
  width: min(360px, calc(100vw - 28px));
  max-height: 78vh;
  overflow-y: auto;
  margin-bottom: 10px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(18, 18, 22, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.44);
  font-size: 13px;
  line-height: 1.45;
}

.ba-studio-wrap.is-open .ba-studio-panel {
  display: block;
}

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

.ba-studio-title {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ba-studio-sub {
  font-size: 11.5px;
  color: #a1a1a6;
}

.ba-studio-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.ba-studio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #f5f5f7;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.ba-studio-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.ba-studio-btn.is-primary {
  background: #f5f5f7;
  color: #111;
  border-color: #f5f5f7;
}

.ba-studio-btn.is-open-btn {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.45);
  color: #86efac;
}

.ba-studio-btn.is-closed-btn {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.45);
  color: #fcd34d;
}

.ba-studio-card {
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 10px;
}

.ba-studio-card h4 {
  margin: 0 0 4px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #d8a872;
}

.ba-studio-card p {
  margin: 0;
  font-size: 12px;
  color: #d1d1d6;
}

.ba-studio-pills {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  margin-top: 8px;
}
.ba-studio-group-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #98a2b3;
  margin-top: 10px;
}

.ba-studio-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #d1d1d6;
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 700;
}

.ba-studio-num.is-current {
  background: #d8a872;
  color: #111;
}

@media (max-width: 600px) {
  .ba-studio-wrap {
    left: 10px;
    bottom: 10px;
  }
}
