* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  --bg1: #0b1026;
  --bg2: #151b3d;
  --card: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.10);
  --text: #eef0ff;
  --text-dim: rgba(238, 240, 255, 0.55);
  --accent: #8b7cf6;
  --accent-soft: rgba(139, 124, 246, 0.22);
  --accent-glow: rgba(139, 124, 246, 0.45);
}

body[data-tab="meditar"] {
  --accent: #4ecdc4;
  --accent-soft: rgba(78, 205, 196, 0.20);
  --accent-glow: rgba(78, 205, 196, 0.42);
}

body[data-tab="focar"] {
  --accent: #f6b23c;
  --accent-soft: rgba(246, 178, 60, 0.20);
  --accent-glow: rgba(246, 178, 60, 0.42);
}

body[data-tab="relaxar"] {
  --accent: #5ec98a;
  --accent-soft: rgba(94, 201, 138, 0.20);
  --accent-glow: rgba(94, 201, 138, 0.42);
}

body[data-tab="binaural"] {
  --accent: #5eb0f7;
  --accent-soft: rgba(94, 176, 247, 0.20);
  --accent-glow: rgba(94, 176, 247, 0.45);
}

html { height: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background: radial-gradient(120% 90% at 50% 0%, var(--bg2) 0%, var(--bg1) 70%);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100%;
  padding-bottom: 170px;
  transition: background 0.6s ease;
  user-select: none;
  -webkit-user-select: none;
}

/* ---------- Header ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(14px + env(safe-area-inset-top)) 20px 6px;
  max-width: 720px;
  margin: 0 auto;
  gap: 8px;
}

.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand h1 { white-space: nowrap; }
.brand-icon-img { width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; filter: drop-shadow(0 0 10px var(--accent-glow)); }

/* barra de topo apertada em telas estreitas para caber o botão Pro */
@media (max-width: 480px) {
  .topbar { padding-left: 12px; padding-right: 12px; gap: 6px; }
  .brand { gap: 7px; flex-shrink: 0; }
  .brand h1 { font-size: 1.15rem; }
  .brand-icon { font-size: 1.3rem; }
  .topbar-actions { gap: 5px; flex-shrink: 0; }
  .icon-btn { padding: 8px 9px; font-size: 0.92rem; }
  .pro-btn { padding: 8px 10px; font-size: 0.76rem; }
}

/* em telas muito estreitas, marca vira só o ícone para caber tudo */
@media (max-width: 340px) {
  .brand h1 { display: none; }
}
.topbar-actions { display: flex; gap: 6px; align-items: center; }

.pro-btn {
  font-size: 0.82rem;
  font-weight: 800;
  padding: 9px 12px;
  background: linear-gradient(135deg, rgba(246,178,60,0.28), rgba(139,124,246,0.28));
  border-color: rgba(246,178,60,0.5);
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 0 14px rgba(246,178,60,0.25);
  animation: proGlow 3s ease-in-out infinite;
}
@keyframes proGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(246,178,60,0.20); }
  50% { box-shadow: 0 0 20px rgba(246,178,60,0.45); }
}
.pro-btn.is-pro { animation: none; background: var(--accent-soft); border-color: var(--accent); }
.brand-icon { font-size: 1.5rem; filter: drop-shadow(0 0 12px var(--accent-glow)); }
.brand h1 { font-size: 1.35rem; font-weight: 700; letter-spacing: 0.02em; }

.icon-btn {
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text);
  border-radius: 14px;
  padding: 9px 13px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.icon-btn:active { transform: scale(0.94); }

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  gap: 6px;
  margin: 12px auto 4px;
  max-width: 720px;
  padding: 5px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 18px;
  width: calc(100% - 32px);
}

.tab {
  flex: 1;
  padding: 11px 2px;
  border: none;
  border-radius: 14px;
  background: transparent;
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}

.tab.active {
  background: var(--accent-soft);
  color: var(--text);
  box-shadow: 0 0 18px var(--accent-glow) inset, 0 2px 10px rgba(0, 0, 0, 0.25);
}

/* ---------- Main ---------- */
main { max-width: 720px; margin: 0 auto; padding: 8px 16px 0; }

.tab-hint {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8rem;
  margin: 8px 4px 12px;
}

/* ---------- Presets ---------- */
.presets {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scrollbar-width: none;
}
.presets::-webkit-scrollbar { display: none; }

.preset-chip {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text);
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.1s;
}
.preset-chip:active { transform: scale(0.95); }
.preset-chip.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}

/* ---------- Pad grid ---------- */
.pad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(102px, 1fr));
  gap: 10px;
  padding-bottom: 8px;
}

.pad {
  position: relative;
  aspect-ratio: 1;
  border-radius: 22px;
  border: 1px solid var(--card-border);
  background: var(--card);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.1s;
  touch-action: manipulation;
}

.pad:active { transform: scale(0.95); }

.pad .pad-emoji { font-size: 1.9rem; line-height: 1; transition: filter 0.3s; }
.pad .pad-label { font-size: 0.72rem; font-weight: 600; color: var(--text-dim); text-align: center; padding: 0 6px; line-height: 1.2; }

.pad .pad-badge {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 0.7rem;
  opacity: 0.7;
}

.pad.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: 0 0 22px var(--accent-glow), 0 0 0 1px var(--accent) inset;
}
.pad.active .pad-emoji { filter: drop-shadow(0 0 10px var(--accent-glow)); }
.pad.active .pad-label { color: var(--text); }

/* equalizer bars on active pads */
.pad .eq {
  position: absolute;
  bottom: 9px;
  display: flex;
  gap: 2px;
  height: 10px;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.3s;
}
.pad.active .eq { opacity: 1; }
.pad .eq span {
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
  animation: eq 1s ease-in-out infinite;
}
.pad .eq span:nth-child(1) { animation-delay: 0s; }
.pad .eq span:nth-child(2) { animation-delay: 0.25s; }
.pad .eq span:nth-child(3) { animation-delay: 0.5s; }

@keyframes eq {
  0%, 100% { height: 3px; }
  50% { height: 10px; }
}

/* ---------- Sessões guiadas (protocolos) ---------- */
.protocols {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 14px;
}

.protocols .protocols-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-dim);
  margin: 2px 4px 0;
}

.protocol-card {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 12px 14px;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.1s;
}
.protocol-card:active { transform: scale(0.98); }
.protocol-card.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: 0 0 18px var(--accent-glow);
}

.pc-emoji { font-size: 1.7rem; flex-shrink: 0; }
.pc-body { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pc-name { font-weight: 700; font-size: 0.95rem; }
.pc-desc { font-size: 0.76rem; color: var(--text-dim); line-height: 1.35; }
.pc-meta { font-size: 0.72rem; color: var(--text-dim); text-align: right; white-space: nowrap; flex-shrink: 0; }

/* ---------- Pilha inferior (barra de sessão + mixer) ---------- */
.bottom-stack {
  position: fixed;
  bottom: calc(84px + env(safe-area-inset-bottom));
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px 10px;
  z-index: 20;
  pointer-events: none;
}
.bottom-stack > * { pointer-events: auto; }

.protocol-bar {
  background: rgba(11, 16, 38, 0.95);
  border: 1px solid var(--accent);
  border-radius: 16px;
  padding: 10px 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 16px var(--accent-glow);
}

.pb-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

#pbStop {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 2px 6px;
}

.pb-info {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin: 4px 0 7px;
}

.pb-progress {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

#pbFill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 1s linear;
}

/* ---------- Mixer ---------- */
.mixer {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.mixer::-webkit-scrollbar { display: none; }

.mix-card {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 16, 38, 0.92);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 8px 10px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* caixa de um som: nome + fechar em cima, volume embaixo */
.mix-card.sound {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 156px;
  max-width: 210px;
  padding: 9px 11px 11px;
}
.mix-head { display: flex; align-items: center; gap: 7px; }
.mix-name {
  flex: 1; min-width: 0;
  font-size: 0.82rem; font-weight: 700; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mix-card .mix-emoji { display: inline-flex; }
.mix-card.sound .mix-slider { width: 100%; }

/* botão de fechar maior e fácil de tocar */
.mix-card .mix-x {
  width: 30px; height: 30px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--card-border);
  color: var(--text);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, transform 0.1s;
}
.mix-card .mix-x:active { transform: scale(0.9); background: rgba(255, 255, 255, 0.18); }

/* ---------- Footer controls ---------- */
.controls {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
  background: rgba(8, 11, 28, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--card-border);
  z-index: 30;
}

.controls > * { max-width: 720px; }

.play-btn {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #0b1026;
  font-size: 1.35rem;
  cursor: pointer;
  box-shadow: 0 0 22px var(--accent-glow);
  transition: transform 0.1s, opacity 0.2s, background 0.3s;
}
.play-btn:disabled { opacity: 0.35; box-shadow: none; cursor: default; }
.play-btn:not(:disabled):active { transform: scale(0.93); }

.volume-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.vol-icon { font-size: 0.95rem; }
.volume-wrap input { flex: 1; min-width: 0; }

/* range inputs */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.18);
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  border: none;
}
input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
}

/* ---------- Timer ---------- */
.timer-wrap { position: relative; flex-shrink: 0; }
.timer-btn { font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
.timer-btn.on { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }

.timer-menu {
  position: absolute;
  bottom: 58px;
  right: 0;
  background: rgba(15, 20, 45, 0.97);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 14px;
  width: 230px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 40;
}

.timer-title { display: block; font-size: 0.8rem; color: var(--text-dim); margin-bottom: 10px; }

.timer-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.timer-chips button {
  border: 1px solid var(--card-border);
  background: var(--card);
  color: var(--text);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.timer-chips button.active { background: var(--accent-soft); border-color: var(--accent); }
.timer-chips .chip-off { color: var(--text-dim); }

/* ---------- Resume toast ---------- */
.resume-toast {
  position: fixed;
  bottom: calc(96px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(15, 20, 45, 0.97);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 6px 8px 6px 6px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5), 0 0 16px var(--accent-glow);
  z-index: 25;
  animation: rise 0.4s ease;
}

@keyframes rise {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.resume-toast button {
  background: none;
  border: none;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  padding: 7px 10px;
}
.resume-toast #resumeClose { color: var(--text-dim); font-size: 0.8rem; }

/* ---------- Dim overlay ---------- */
.dim-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.dim-overlay span {
  color: rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
  animation: fadeSlow 4s ease forwards;
}
@keyframes fadeSlow { from { opacity: 1; } to { opacity: 0; } }

/* ---------- Disclaimer ---------- */
.disclaimer {
  font-size: 0.68rem;
  color: var(--text-dim);
  opacity: 0.75;
  margin: 2px 4px 0;
  line-height: 1.4;
}

/* ---------- Respiração quadrada ---------- */
.breath-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(100% 100% at 50% 30%, #131a40 0%, #070a1c 80%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.breath-close {
  position: absolute;
  top: calc(18px + env(safe-area-inset-top));
  right: 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text-dim);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 1rem;
  cursor: pointer;
}

.breath-square {
  position: relative;
  width: 240px;
  height: 240px;
  border: 2px solid var(--accent);
  border-radius: 28px;
  box-shadow: 0 0 40px var(--accent-glow), 0 0 0 1px var(--accent-soft) inset;
  display: flex;
  align-items: center;
  justify-content: center;
}

.breath-dot {
  position: absolute;
  bottom: -11px;
  left: -11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent-glow), 0 0 6px var(--accent);
  transition: transform 4s linear;
}

.breath-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
#breathPhase { font-size: 1.3rem; font-weight: 700; }
#breathCount { font-size: 2.2rem; font-weight: 300; color: var(--text-dim); min-height: 1em; }

.breath-cycles { color: var(--text-dim); font-size: 0.9rem; }

.breath-actions { display: flex; gap: 10px; }
.breath-actions button {
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text);
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.breath-actions #breathAgain { background: var(--accent-soft); border-color: var(--accent); }

/* ---------- Despertar (alarme tocando) ---------- */
.wake-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, #2b2145 0%, #a3542e 140%);
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  animation: wakePulse 2.5s ease-in-out infinite;
}
.wake-emoji { font-size: 4rem; }
.wake-overlay h2 { font-size: 2rem; }
.wake-overlay p { color: rgba(255,255,255,0.7); }
@keyframes wakePulse { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.25); } }

/* ---------- Modais ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 15, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.modal {
  background: #12173a;
  border: 1px solid var(--card-border);
  border-radius: 26px 26px 0 0;
  width: 100%;
  max-width: 540px;
  max-height: 86vh;
  overflow-y: auto;
  padding: 22px 20px calc(26px + env(safe-area-inset-bottom));
  animation: rise 0.3s ease;
}

@media (min-width: 560px) {
  .modal-backdrop { align-items: center; padding: 20px; }
  .modal { border-radius: 26px; }
}

.modal h2 { font-size: 1.2rem; margin-bottom: 4px; }
.modal .modal-sub { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 16px; line-height: 1.45; }

.modal label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--text-dim); margin: 12px 0 5px; }

.modal input[type="text"],
.modal input[type="email"],
.modal input[type="password"],
.modal input[type="tel"],
.modal input[type="time"],
.modal input[type="number"],
.modal select {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  color: var(--text);
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
}
.modal input:focus, .modal select:focus { outline: none; border-color: var(--accent); }

.btn-primary {
  width: 100%;
  background: var(--accent);
  color: #0b1026;
  border: none;
  border-radius: 14px;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 16px;
  box-shadow: 0 0 18px var(--accent-glow);
}
.btn-ghost {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-dim);
  padding: 12px;
  font-size: 0.85rem;
  cursor: pointer;
  margin-top: 4px;
}
.btn-secondary {
  width: 100%;
  background: var(--accent-soft);
  border: 1.5px solid var(--accent);
  color: var(--text);
  border-radius: 14px;
  padding: 13px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
  font-family: inherit;
}
.modal-link {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: none;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  padding: 10px;
  margin-top: 2px;
}

.modal-close-x {
  float: right;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1rem;
  cursor: pointer;
  padding: 2px 8px;
}

/* planos */
.plans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.plan-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.plan-card.best { border-color: var(--accent); box-shadow: 0 0 16px var(--accent-glow); }
.plan-badge {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0b1026;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-name { font-size: 0.8rem; font-weight: 700; color: var(--text-dim); }
.plan-price { font-size: 1.25rem; font-weight: 800; }
.plan-per { font-size: 0.68rem; color: var(--text-dim); }
.plan-card button, .plan-card a {
  margin-top: 8px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--text);
  border-radius: 10px;
  padding: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

/* estatísticas */
.stat-row { display: flex; gap: 10px; margin: 14px 0; }
.stat-box {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 12px;
  text-align: center;
}
.stat-box .stat-num { font-size: 1.4rem; font-weight: 800; }
.stat-box .stat-lbl { font-size: 0.68rem; color: var(--text-dim); }

.week-bars { display: flex; gap: 6px; align-items: flex-end; height: 90px; margin-top: 10px; }
.week-bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; justify-content: flex-end; height: 100%; }
.week-bar .bar { width: 100%; background: var(--accent); border-radius: 6px 6px 3px 3px; min-height: 3px; opacity: 0.85; }
.week-bar .day { font-size: 0.62rem; color: var(--text-dim); }

/* afiliados */
.ref-link-box {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.ref-link-box input { flex: 1; font-size: 0.8rem !important; }
.ref-link-box button {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--text);
  border-radius: 12px;
  padding: 0 14px;
  cursor: pointer;
  font-size: 0.85rem;
}
.reward-list { list-style: none; margin-top: 8px; }
.reward-list li {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text-dim);
}
.reward-list li b { color: var(--text); }

/* usage meter */
.usage-meter { margin: 10px 0 2px; }
.usage-meter .um-track { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.12); overflow: hidden; }
.usage-meter .um-fill { height: 100%; background: var(--accent); border-radius: 3px; }
.usage-meter .um-lbl { font-size: 0.7rem; color: var(--text-dim); margin-top: 5px; }

/* construtor de sessões */
.phase-row { display: flex; gap: 6px; align-items: center; margin-top: 8px; }
.phase-row input[type="number"] { width: 74px; }
.phase-row select { flex: 1; }
.phase-row .ph-del { background: none; border: none; color: var(--text-dim); cursor: pointer; font-size: 0.9rem; padding: 4px; }
.phase-add {
  margin-top: 10px;
  background: var(--card);
  border: 1px dashed var(--card-border);
  color: var(--text-dim);
  border-radius: 12px;
  padding: 10px;
  width: 100%;
  cursor: pointer;
  font-size: 0.85rem;
}
.pc-del {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.95rem;
  padding: 4px 6px;
  flex-shrink: 0;
}

/* ---------- Efeito neural ---------- */
.neural-row {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  margin: 0 0 12px;
  flex-wrap: wrap;
}
.neural-row .neural-lbl { font-size: 0.72rem; color: var(--text-dim); font-weight: 600; margin-right: 2px; }
.neural-row button {
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text-dim);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.neural-row button.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text);
  box-shadow: 0 0 10px var(--accent-glow);
}

/* ---------- Miniatura do player ---------- */
.player-thumb {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  background: linear-gradient(160deg, #1a2151, #0b1026);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.1s, box-shadow 0.3s;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.4);
}
.player-thumb:active { transform: scale(0.94); }

.thumb-eq {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.thumb-expand {
  position: absolute;
  bottom: 2px;
  right: 3px;
  font-size: 0.62rem;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  line-height: 1;
}

.player-thumb {
  animation: thumbPulse 2.6s ease-in-out infinite;
}
@keyframes thumbPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(0,0,0,0.4); }
  50% { box-shadow: 0 0 18px var(--accent-glow); }
}
.thumb-eq span {
  width: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.85);
  animation: eq 1.1s ease-in-out infinite;
  height: 8px;
}
.thumb-eq span:nth-child(2) { animation-delay: 0.3s; }
.thumb-eq span:nth-child(3) { animation-delay: 0.6s; }

/* ---------- Player em tela cheia ---------- */
.player-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: #05070f;
}

#sceneCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scene-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#sceneImage { animation: kenburns 40s ease-in-out infinite alternate; }
@keyframes kenburns {
  0% { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.16) translate(-1.5%, -2%); }
}

/* escurece foto/vídeo para o texto branco continuar legível */
.scene-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,7,15,0.55) 0%, rgba(5,7,15,0.25) 35%, rgba(5,7,15,0.55) 100%);
  pointer-events: none;
}

#bgPickBtn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  border-radius: 14px;
  font-size: 1.05rem;
  padding: 7px 13px;
  cursor: pointer;
}

/* ---------- Seletor de plano de fundo ---------- */
.bg-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin: 16px 2px 8px;
}
.bg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.bg-tile {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 0;
}
.bg-tile.active { border-color: var(--accent); box-shadow: 0 0 12px var(--accent-glow); }
.bg-tile .bg-tile-name {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  font-size: 0.62rem;
  font-weight: 600;
  padding: 10px 6px 4px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  text-align: left;
}
.bg-tile .bg-tile-badge {
  position: absolute;
  top: 4px; right: 5px;
  font-size: 0.7rem;
}
.bg-tile.bg-add {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--card-border);
  background: var(--card);
  color: var(--text-dim);
  font-size: 0.72rem;
  flex-direction: column;
  gap: 3px;
}
.bg-tile.bg-add span:first-child { font-size: 1.3rem; }
.bg-del {
  position: absolute;
  top: 3px; left: 4px;
  background: rgba(0,0,0,0.55);
  border: none;
  color: #fff;
  border-radius: 7px;
  font-size: 0.6rem;
  padding: 2px 5px;
  cursor: pointer;
}
.bg-hint { font-size: 0.72rem; color: var(--text-dim); margin-top: 12px; line-height: 1.4; }

.player-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(16px + env(safe-area-inset-top)) 22px calc(28px + env(safe-area-inset-bottom));
  max-width: 640px;
  margin: 0 auto;
}

.player-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#playerClose {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  border-radius: 14px;
  font-size: 1.3rem;
  line-height: 1;
  padding: 6px 16px 10px;
  cursor: pointer;
}
#playerSceneName { font-size: 0.75rem; color: rgba(255, 255, 255, 0.45); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

.player-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.player-title { font-size: 1.25rem; font-weight: 700; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6); }
.player-elapsed {
  font-size: 3.2rem;
  font-weight: 200;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7);
}
.player-phase { font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); min-height: 1.2em; }

.player-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.player-timer { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.player-timer button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.player-timer button.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 12px var(--accent-glow);
}

.player-play { width: 68px; height: 68px; font-size: 1.6rem; }

/* toast rápido */
.flash-toast {
  position: fixed;
  bottom: calc(100px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 20, 45, 0.97);
  border: 1px solid var(--accent);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 85;
  box-shadow: 0 0 16px var(--accent-glow);
  animation: rise 0.3s ease;
  max-width: 88vw;
  text-align: center;
}

.hidden { display: none !important; }

/* wider screens: bigger pads, centered footer content */
@media (min-width: 560px) {
  .pad-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
  .pad .pad-emoji { font-size: 2.2rem; }
  .pad .pad-label { font-size: 0.8rem; }
}

/* ============================================================
   Redesign v2: visual profissional, ícones flat, cards
   ============================================================ */

.ic {
  width: 22px; height: 22px;
  stroke: currentColor; fill: none;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  display: inline-block; vertical-align: middle; flex-shrink: 0;
}
.ic-sm { width: 15px; height: 15px; }

/* ---- abas estilo Brain.fm (texto + ícone flat, sublinhado ativo) ---- */
.tabs {
  background: transparent !important;
  padding: 0; gap: 20px; width: auto;
  justify-content: center; margin: 14px auto 8px;
  border-radius: 0;
}
.tab {
  flex: 0 0 auto; display: flex; align-items: center; gap: 6px;
  padding: 6px 1px; border-radius: 0;
  background: transparent !important; box-shadow: none !important;
  color: var(--text-dim); font-size: 0.98rem; font-weight: 600;
  position: relative; transition: color 0.25s;
}
.tab .ic { width: 17px; height: 17px; opacity: 0.9; }
.tab.active { color: var(--text); }
.tab.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -5px;
  height: 2px; border-radius: 2px; background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}
@media (max-width: 400px) {
  .tabs { gap: 13px; }
  .tab { font-size: 0.86rem; gap: 4px; }
  .tab .ic { width: 15px; height: 15px; }
}

/* ---- botões de cabeçalho com ícone ---- */
.icon-btn { display: inline-flex; align-items: center; justify-content: center; }
.icon-btn .ic { width: 20px; height: 20px; }
.pro-btn { display: inline-flex; align-items: center; gap: 5px; }
.pro-btn .ic { width: 15px; height: 15px; }

/* ---- seletor Sons / Músicas / Favoritos ---- */
.seg-control {
  display: flex; gap: 4px; background: rgba(0, 0, 0, 0.25);
  border-radius: 14px; padding: 4px; margin: 2px 0 14px;
}
.seg-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 4px; border: none; border-radius: 11px; background: transparent;
  color: var(--text-dim); font-size: 0.82rem; font-weight: 600;
  font-family: inherit; cursor: pointer; transition: 0.2s;
}
.seg-btn.active { background: var(--accent-soft); color: var(--text); box-shadow: 0 0 12px var(--accent-glow) inset; }
.seg-btn .ic { opacity: 0.9; }

/* ---- catálogo por categorias ---- */
.cat-section { margin-bottom: 20px; }
.cat-title {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-dim); margin: 2px 2px 10px;
}
.cat-title .ic { color: var(--accent); }

.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 520px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.sound-card {
  position: relative; aspect-ratio: 3 / 2; border: none; border-radius: 16px;
  background: var(--grad, #23283f); overflow: hidden; cursor: pointer;
  text-align: left; padding: 12px; display: flex; flex-direction: column;
  justify-content: flex-end; color: #fff; font-family: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.12s, box-shadow 0.25s;
}
.sound-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), transparent 55%);
  pointer-events: none;
}
.sound-card:active { transform: scale(0.97); }
/* foto do tema por cima do gradiente; o escurecimento mantém o texto legível.
   Se a foto não carregar (offline), sobra o gradiente da categoria. */
.sound-card.has-photo {
  background-image: linear-gradient(to top, rgba(6, 8, 20, 0.82) 0%, rgba(6, 8, 20, 0.35) 45%, rgba(6, 8, 20, 0.15) 100%), var(--photo);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.sound-card.has-photo .sc-icon { opacity: 0.85; }
/* ruídos: onda sonora centralizada sobre o gradiente, sem escurecer o card */
.sound-card.has-wave {
  background-image: var(--photo), var(--grad);
  background-size: 92% auto, cover;
  background-position: center 44%, center;
  background-repeat: no-repeat, no-repeat;
}
.sound-card.has-wave .sc-name { text-shadow: 0 1px 6px rgba(0, 0, 0, 0.75); }
.sound-card .sc-icon { position: absolute; top: 9px; left: 10px; opacity: 0.5; }
.sound-card .sc-icon .ic { width: 26px; height: 26px; stroke-width: 1.5; }
.sc-name { font-size: 0.82rem; font-weight: 600; line-height: 1.2; position: relative; z-index: 1; text-shadow: 0 1px 5px rgba(0, 0, 0, 0.45); }
.sc-badge { position: absolute; top: 8px; right: 34px; opacity: 0.85; color: #fff; }
.sc-fav {
  position: absolute; top: 4px; right: 4px; z-index: 3;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.55); cursor: pointer;
  transition: transform 0.12s, color 0.2s;
}
.sc-fav .ic { width: 17px; height: 17px; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4)); }
.sc-fav:active { transform: scale(0.8); }
.sc-fav.on { color: #ffd76a; }
.sc-fav.on .ic { fill: #ffd76a; stroke: #ffd76a; }
.sound-card.active { box-shadow: 0 0 0 2px var(--accent), 0 0 20px var(--accent-glow); }
.sc-eq { position: absolute; bottom: 12px; right: 12px; display: flex; gap: 2px; height: 11px; align-items: flex-end; opacity: 0; transition: opacity 0.3s; }
.sound-card.active .sc-eq { opacity: 1; }
.sc-eq span { width: 3px; border-radius: 2px; background: #fff; animation: eq 1s ease-in-out infinite; }
.sc-eq span:nth-child(2) { animation-delay: 0.25s; }
.sc-eq span:nth-child(3) { animation-delay: 0.5s; }

/* ---- presets como chips com ícone ---- */
.preset-chip .ic { color: var(--accent); }

/* ---- sessões guiadas: ícone flat ---- */
.pc-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 13px;
  background: var(--accent-soft); display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.pc-icon .ic { width: 22px; height: 22px; }
.pc-meta .ic { color: var(--text-dim); }
.pc-del { display: inline-flex; }
.pc-del .ic { color: var(--text-dim); }
.protocols-title { text-transform: uppercase; letter-spacing: 0.06em; }

/* ---- mixer: ações e ícone ---- */
.mix-act { background: none; border: none; color: var(--text-dim); cursor: pointer; padding: 5px 6px; display: inline-flex; }
.mix-act .ic { width: 18px; height: 18px; }
.mix-emoji .ic { color: var(--accent); }

/* ---- favoritos ---- */
.fav-save {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent-soft); border: 1px solid var(--accent); color: var(--text);
  border-radius: 14px; padding: 14px; font-weight: 700; font-size: 0.9rem;
  font-family: inherit; cursor: pointer; margin-bottom: 14px;
}
.fav-save .ic { color: var(--accent); }
.fav-empty { color: var(--text-dim); font-size: 0.85rem; line-height: 1.55; text-align: center; padding: 16px 12px; }
.fav-card {
  display: flex; align-items: center; gap: 12px; background: var(--card);
  border: 1px solid var(--card-border); border-radius: 16px; padding: 10px 12px; margin-bottom: 10px;
}
.fav-play {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; border: none;
  background: var(--accent); color: #0b1026; cursor: pointer; display: flex;
  align-items: center; justify-content: center; box-shadow: 0 0 14px var(--accent-glow);
}
.fav-play .ic { width: 20px; height: 20px; }
.fav-body { flex: 1; min-width: 0; }
.fav-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 5px; }
.fav-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.fav-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 0.68rem; color: var(--text-dim); background: rgba(255, 255, 255, 0.06); border-radius: 999px; padding: 3px 8px; }
.fav-chip .ic { color: var(--accent); }
.fav-del { background: none; border: none; color: var(--text-dim); cursor: pointer; padding: 6px; flex-shrink: 0; display: inline-flex; }
/* capa do favorito: foto de fundo com escurecimento para o texto continuar legível */
.fav-card.has-cover {
  background-image: linear-gradient(to right, rgba(10, 13, 30, 0.92) 0%, rgba(10, 13, 30, 0.62) 60%, rgba(10, 13, 30, 0.45) 100%), var(--cover);
  background-size: cover; background-position: center;
}
.fav-card.has-cover .fav-chip { background: rgba(0, 0, 0, 0.35); }

/* seletor de capa ao salvar uma combinação */
.cover-picker {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr));
  gap: 7px; margin-top: 6px;
}
.cover-opt {
  aspect-ratio: 1 / 1; border-radius: 10px; cursor: pointer;
  border: 2px solid transparent; background-size: cover; background-position: center;
  background-color: rgba(255, 255, 255, 0.07); padding: 0;
  color: var(--text-dim); font-size: 0.9rem; font-family: inherit;
}
.cover-opt.active { border-color: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }
.cover-opt.none { display: flex; align-items: center; justify-content: center; }

.fav-card.active { border-color: var(--accent); box-shadow: 0 0 16px var(--accent-glow); }
.fav-card.active .fav-play { background: var(--accent); }
.fav-mix-title { margin-top: 18px; }

/* ---- botões de play com ícone ---- */
.play-btn .ic { width: 24px; height: 24px; }
.player-play .ic { width: 30px; height: 30px; }
.vol-icon { display: inline-flex; }
.vol-icon .ic { color: var(--text-dim); }
.timer-btn { display: inline-flex; align-items: center; gap: 5px; }
#playerClose { display: inline-flex; align-items: center; justify-content: center; }
#bgPickBtn { display: inline-flex; align-items: center; justify-content: center; }

/* ---- neural row: ícone ---- */
.neural-row .neural-lbl { display: inline-flex; align-items: center; gap: 5px; }
.neural-row .neural-lbl .ic { color: var(--accent); }

/* ---- Enterprise ---- */
.enterprise-card {
  margin-top: 16px; border: 1px solid var(--card-border); border-radius: 16px; padding: 14px;
  background: linear-gradient(135deg, rgba(139, 124, 246, 0.14), rgba(94, 176, 247, 0.08));
}
.ent-head { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin-bottom: 6px; }
.ent-head .ic { color: var(--accent); }
.enterprise-card p { font-size: 0.8rem; color: var(--text-dim); line-height: 1.5; margin-bottom: 10px; }

.modal h2 .ic { color: var(--accent); vertical-align: -3px; }

/* o container do catálogo agora empilha seções (cada uma tem seu próprio grid) */
.pad-grid { display: block; grid-template-columns: none; }
.sc-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- prévia de 5s nos cards ---- */
.sc-preview {
  position: absolute; bottom: 10px; right: 10px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.38); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  color: #fff; border: 1px solid rgba(255, 255, 255, 0.28);
}
.sc-preview .ic { width: 13px; height: 13px; }
.sound-card.active .sc-preview { display: none; }
.sound-card.previewing .sc-preview { background: var(--accent); border-color: var(--accent); }
.sc-prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent); border-radius: 0 3px 0 0; }
.sound-card.previewing .sc-prog { animation: prevbar 5s linear forwards; box-shadow: 0 0 8px var(--accent-glow); }
@keyframes prevbar { from { width: 0; } to { width: 100%; } }

/* ---- Modo Infinito em destaque no player ---- */
.player-timer { flex-wrap: wrap; }
.player-timer .pt-inf {
  flex-basis: 100%; padding: 13px; font-size: 0.92rem; font-weight: 700;
  border-radius: 13px; background: var(--accent-soft); border: 1px solid var(--accent);
  color: #fff; letter-spacing: 0.02em; margin-bottom: 4px;
}
.player-timer .pt-inf.active { box-shadow: 0 0 20px var(--accent-glow); }
.player-timer .pt-durations { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; width: 100%; }

/* ---- abas roláveis (agora com Binaural) ---- */
.tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; padding-left: 4px; padding-right: 4px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex-shrink: 0; }

/* ---- intro do ambiente Binaural ---- */
.binaural-intro {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: 0.8rem; color: var(--text-dim); line-height: 1.5;
  background: var(--accent-soft); border: 1px solid var(--card-border);
  border-radius: 14px; padding: 12px 14px; margin-bottom: 16px;
}
.binaural-intro .ic { color: var(--accent); margin-top: 1px; }

/* ---- abas texto (5 cabem na largura) ---- */
.tabs { gap: 14px; justify-content: center; }
.tab { font-size: 0.92rem; gap: 0; padding: 6px 1px; }
.tab[data-tab="binaural"] { color: var(--text); }
.tab[data-tab="binaural"]::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: #5eb0f7; box-shadow: 0 0 7px #5eb0f7; margin-right: 5px;
}
@media (max-width: 430px) { .tabs { gap: 10px; } .tab { font-size: 0.82rem; } }
@media (max-width: 360px) { .tabs { gap: 8px; } .tab { font-size: 0.76rem; } }

/* nome não corre por baixo do botão de prévia */
.sound-card .sc-name { padding-right: 36px; }

/* ============================================================
   Navegação inferior (modos no rodapé, estilo Brain.fm)
   ============================================================ */
:root { --nav-h: 58px; }

.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; justify-content: space-around; align-items: stretch;
  background: rgba(8, 11, 28, 0.94);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--card-border);
  padding: 7px 4px calc(6px + env(safe-area-inset-bottom));
}
.nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: none; border: none; color: var(--text-dim); cursor: pointer;
  font-size: 0.64rem; font-weight: 600; font-family: inherit; padding: 4px 2px;
  transition: color 0.2s; position: relative;
}
.nav-item .ic { width: 23px; height: 23px; }
.nav-item span { letter-spacing: 0.01em; }
.nav-item.active { color: var(--accent); }
.nav-item.active .ic { filter: drop-shadow(0 0 7px var(--accent-glow)); }
.nav-item:active { transform: scale(0.92); }
/* destaque sutil no Binaural */
.nav-item[data-tab="binaural"] .ic { color: #5eb0f7; }
.nav-item[data-tab="binaural"].active .ic { color: var(--accent); }

/* controles do player: logo acima da nav, aparecem só ao tocar */
.controls {
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding: 11px 16px 12px;
}
body:not(.playing) .controls { display: none; }

/* mixer + barra de sessão acima dos controles */
.bottom-stack { bottom: calc(var(--nav-h) + 80px + env(safe-area-inset-bottom)); }

/* toasts reposicionados */
.resume-toast { bottom: calc(var(--nav-h) + 20px + env(safe-area-inset-bottom)); }
.flash-toast { bottom: calc(var(--nav-h) + 92px + env(safe-area-inset-bottom)); }

/* espaço no corpo para não esconder conteúdo atrás das barras fixas */
body { padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 18px); }
body.playing { padding-bottom: calc(var(--nav-h) + 205px + env(safe-area-inset-bottom)); }

/* topo mais arejado agora que os modos foram para o rodapé */
main { padding-top: 4px; }

/* topo: nome Sinapsia sempre visível (modos foram para o rodapé) + botões compactos */
@media (max-width: 420px) {
  .brand h1 { display: inline !important; font-size: 1.12rem; }
  .brand-icon-img { width: 28px; height: 28px; }
  .topbar-actions { gap: 4px; }
  .icon-btn { padding: 7px 8px; }
  .icon-btn .ic { width: 19px; height: 19px; }
  .pro-btn { padding: 7px 9px; font-size: 0.74rem; }
  .pro-btn .ic { width: 14px; height: 14px; }
}

/* ============================================================
   Tema mais colorido (fundo por área) + tela-herói ambientada
   ============================================================ */

/* fundos por modo: dark com tonalidade sutil, mais vivos que o navy chapado */
body { background: var(--bg-grad, radial-gradient(120% 88% at 50% -5%, #1c2350 0%, #10143a 55%, #0a0c24 100%)); background-attachment: fixed; }
body[data-tab="dormir"]  { --bg-grad: radial-gradient(120% 88% at 50% -5%, #2b2558 0%, #15173c 55%, #0b0d26 100%); }
body[data-tab="relaxar"] { --bg-grad: radial-gradient(120% 88% at 50% -5%, #124452 0%, #0e2338 55%, #0a1526 100%); }
body[data-tab="focar"]   { --bg-grad: radial-gradient(120% 88% at 50% -5%, #402a4c 0%, #241737 55%, #150e24 100%); }
body[data-tab="meditar"] { --bg-grad: radial-gradient(120% 88% at 50% -5%, #124743 0%, #0f2c30 55%, #0a1b1e 100%); }
body[data-tab="binaural"]{ --bg-grad: radial-gradient(120% 88% at 50% -5%, #212d66 0%, #151d46 55%, #0b1030 100%);
  --accent: #6f9cf5; --accent-soft: rgba(111,156,245,0.20); --accent-glow: rgba(111,156,245,0.45); }

/* acentos um pouco mais suaves/pastel */
body[data-tab="focar"]   { --accent: #f4a86a; --accent-soft: rgba(244,168,106,0.20); --accent-glow: rgba(244,168,106,0.42); }
body[data-tab="meditar"] { --accent: #5fd6c4; --accent-soft: rgba(95,214,196,0.20); --accent-glow: rgba(95,214,196,0.42); }

/* ---- tela-herói ---- */
.hero {
  position: relative; border-radius: 22px; overflow: hidden;
  min-height: 172px; margin: 6px 0 16px;
  display: flex; align-items: flex-end;
  background: linear-gradient(150deg, var(--accent-soft), rgba(0,0,0,0.35));
  box-shadow: 0 10px 32px rgba(0,0,0,0.32);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: var(--hero-img); background-size: cover; background-position: center;
  opacity: 0; transition: opacity 0.9s ease; transform: scale(1.02);
}
.hero.has-img::before { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,10,26,0.12) 0%, rgba(8,10,26,0.30) 45%, rgba(8,10,26,0.86) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 18px; width: 100%; }
.hero-greeting { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.82); font-weight: 500; margin-bottom: 4px; text-shadow: 0 1px 6px rgba(0,0,0,0.55); }
.hero-title { display: flex; align-items: center; gap: 8px; font-size: 1.18rem; font-weight: 700; line-height: 1.25; text-shadow: 0 2px 12px rgba(0,0,0,0.65); }
.hero-title .ic { color: #fff; flex-shrink: 0; }

/* no ambiente Binaural o herói pode ficar mais compacto */
body[data-tab="binaural"] .hero { min-height: 150px; }

/* ---- estatísticas: toggle + medidor em arco ---- */
.stats-toggle {
  display: flex; gap: 4px; background: rgba(0,0,0,0.25);
  border-radius: 12px; padding: 4px; margin: 6px 0 4px;
}
.stats-toggle button {
  flex: 1; padding: 9px; border: none; border-radius: 9px; background: transparent;
  color: var(--text-dim); font-size: 0.82rem; font-weight: 700; font-family: inherit; cursor: pointer;
}
.stats-toggle button.active { background: var(--accent-soft); color: var(--text); box-shadow: 0 0 10px var(--accent-glow) inset; }

.gauge-wrap { position: relative; margin: 14px auto 4px; max-width: 300px; }
.gauge { width: 100%; display: block; }
.gauge-center { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; }
.gauge-num { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.gauge-num span { font-size: 0.9rem; font-weight: 600; color: var(--text-dim); margin-left: 4px; }
.gauge-sub { font-size: 0.8rem; color: var(--text-dim); margin-top: 4px; }

.stat-box .stat-num { display: inline-flex; align-items: center; gap: 4px; justify-content: center; }
.stat-box .stat-num .ic { color: var(--accent); }

/* ---- dica da miniatura: caixa sutil persistente (fecha no X) ---- */
.player-hint {
  position: fixed; left: 16px; right: 16px;
  bottom: calc(var(--nav-h) + 150px + env(safe-area-inset-bottom));
  max-width: 420px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px;
  background: rgba(19, 26, 54, 0.97);
  border: 1px solid rgba(111, 156, 245, 0.5);
  border-left: 3px solid #6f9cf5;
  border-radius: 14px;
  padding: 12px 10px 12px 14px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
  z-index: 26;
  animation: rise 0.3s ease;
}
.player-hint .ph-text { flex: 1; font-size: 0.84rem; line-height: 1.35; color: var(--text); font-weight: 500; }
.player-hint #playerHintClose { background: none; border: none; color: var(--text-dim); font-size: 0.85rem; cursor: pointer; padding: 5px 7px; flex-shrink: 0; }

/* ---- dica: trocar papel de parede (aponta para o botão 🖼️) ---- */
.bg-tip {
  position: absolute;
  top: calc(60px + env(safe-area-inset-top));
  right: 18px;
  max-width: 210px;
  background: rgba(19, 26, 54, 0.97);
  border: 1px solid rgba(111, 156, 245, 0.55);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
  z-index: 5;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  animation: rise 0.3s ease;
}
.bg-tip::after {
  content: '';
  position: absolute;
  top: -7px; right: 15px;
  width: 12px; height: 12px;
  background: rgba(19, 26, 54, 0.97);
  border-left: 1px solid rgba(111, 156, 245, 0.55);
  border-top: 1px solid rgba(111, 156, 245, 0.55);
  transform: rotate(45deg);
}
#bgPickBtn.pulse { animation: bgPulse 1.5s ease-in-out infinite; }
@keyframes bgPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(111, 156, 245, 0.55); }
  50% { box-shadow: 0 0 0 9px rgba(111, 156, 245, 0); }
}

/* bg-tip agora tem X (fica fixa até fechar) */
.bg-tip { display: flex; align-items: flex-start; gap: 8px; padding: 9px 8px 9px 12px; }
#bgTipText { cursor: pointer; flex: 1; }
#bgTipClose { background: none; border: none; color: rgba(255,255,255,0.6); font-size: 0.8rem; cursor: pointer; padding: 2px 4px; flex-shrink: 0; line-height: 1.3; }
/* botão de fechar compartilhado dos balões de dica */
.player-hint .ph-close { background: none; border: none; color: var(--text-dim); font-size: 0.85rem; cursor: pointer; padding: 5px 7px; flex-shrink: 0; }

/* ---- painel do dono: gerar + administrar códigos ---- */
.ad-gen {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 12px 12px 14px;
  margin: 6px 0 14px;
}
.ad-gen-row { display: flex; gap: 10px; }
.ad-gen-row > div:first-child { flex: 1; }
.ad-gen-row > div:last-child { width: 84px; }
.ad-gen label { margin-top: 8px; }
.ad-gen .btn-primary { margin-top: 12px; }

.ad-list-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; flex-wrap: wrap;
  font-size: 0.82rem; color: var(--text-dim); margin-bottom: 8px;
}
.ad-list-head b { color: var(--text); }
.ad-tools { display: flex; gap: 6px; }
.ad-tools button {
  background: var(--accent-soft); border: 1px solid var(--accent);
  color: var(--text); border-radius: 999px; padding: 6px 11px;
  font-size: 0.74rem; font-weight: 600; cursor: pointer;
}

.code-list { max-height: 46vh; overflow-y: auto; border-radius: 12px; }
.code-empty { color: var(--text-dim); font-size: 0.85rem; text-align: center; padding: 18px 8px; }

.code-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 4px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.code-row.done { opacity: 0.55; }
.code-row.novo { background: var(--accent-soft); border-radius: 10px; }
.code-main { flex: 1; min-width: 0; }
.code-val {
  display: block; font-family: monospace; font-size: 0.92rem; font-weight: 700;
  color: var(--text); letter-spacing: 0.02em; user-select: all;
}
.code-meta { display: block; font-size: 0.7rem; color: var(--text-dim); margin-top: 2px; }
.code-actions { display: flex; gap: 4px; flex-shrink: 0; }
.code-actions button {
  width: 30px; height: 30px; border-radius: 8px;
  background: rgba(255,255,255,0.07); border: 1px solid var(--card-border);
  color: var(--text); font-size: 0.85rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.code-actions button:active { transform: scale(0.9); }
.code-row.done .code-actions button[data-act="status"] { background: rgba(95,214,196,0.25); border-color: #5fd6c4; }

/* ============================================================
   Página do Administrador (tela cheia, via /?admin)
   ============================================================ */
.admin-page {
  position: fixed; inset: 0; z-index: 92;
  background: radial-gradient(120% 85% at 50% -5%, #2b2558 0%, #15173c 55%, #0a0c24 100%);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
body.admin-open { overflow: hidden; }

.admin-scroll {
  min-height: 100%;
  display: flex; align-items: flex-start; justify-content: center;
  padding: calc(28px + env(safe-area-inset-top)) 16px calc(28px + env(safe-area-inset-bottom));
}
.admin-card { width: 100%; }
.admin-card.login { max-width: 380px; margin-top: 6vh; }
.admin-card.panel { max-width: 640px; }

.admin-logo { width: 62px; height: 62px; border-radius: 16px; display: block; margin: 0 auto 14px; filter: drop-shadow(0 0 14px var(--accent-glow)); }
.admin-title { font-size: 1.5rem; font-weight: 800; text-align: center; letter-spacing: 0.01em; }
.admin-sub { color: var(--text-dim); text-align: center; margin: 6px 0 20px; font-size: 0.86rem; line-height: 1.45; }

/* inputs/labels dentro da página (não herdam do .modal) */
.admin-card label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--text-dim); margin: 12px 0 5px; }
.admin-card input, .admin-card select {
  width: 100%; background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--card-border); border-radius: 12px;
  color: var(--text); padding: 13px 14px; font-size: 1rem; font-family: inherit;
}
.admin-card input:focus, .admin-card select:focus { outline: none; border-color: var(--accent); }
.admin-card .btn-primary { margin-top: 16px; }

/* barra do topo do painel */
.admin-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.admin-bar-title { font-size: 1.2rem; font-weight: 800; }
.admin-bar-actions { display: flex; gap: 6px; }
.admin-bar-actions button {
  background: var(--accent-soft); border: 1px solid var(--accent); color: var(--text);
  border-radius: 999px; padding: 7px 13px; font-size: 0.78rem; font-weight: 700; cursor: pointer;
}
.admin-bar-actions #apLogout { background: none; border-color: var(--card-border); color: var(--text-dim); }

/* no full-page a lista cresce com a rolagem da página */
.admin-page .code-list { max-height: none; }
.admin-page .modal-sub { text-align: left; }

.flash-toast { z-index: 120; }

/* abas do painel de admin (Códigos / Cadastros) */
.admin-tabs { display: flex; gap: 4px; background: rgba(0,0,0,0.25); border-radius: 12px; padding: 4px; margin: 6px 0 14px; }
.admin-tabs button { flex: 1; padding: 9px; border: none; border-radius: 9px; background: transparent; color: var(--text-dim); font-size: 0.85rem; font-weight: 700; font-family: inherit; cursor: pointer; }
.admin-tabs button.active { background: var(--accent-soft); color: var(--text); box-shadow: 0 0 10px var(--accent-glow) inset; }

/* ---- Etiqueta lateral de sugestões ---- */
.fb-tab {
  position: fixed; right: 0; top: 46%; z-index: 60;
  display: flex; align-items: center; gap: 6px;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  background: var(--accent);
  color: #0b1026; border: none;
  border-radius: 0 0 14px 14px;
  padding: 14px 7px; cursor: pointer;
  font-family: inherit; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.02em;
  box-shadow: -3px 0 16px rgba(0, 0, 0, 0.4);
  transition: padding 0.18s;
}
.fb-tab:hover { padding-right: 11px; }
.fb-tab .ic { transform: rotate(90deg); }
/* o player em tela cheia (z-index 70) já cobre a etiqueta naturalmente */
@media (max-width: 420px) {
  .fb-tab { font-size: 0.7rem; padding: 11px 6px; }
}

/* formulário de sugestão */
.fb-tabs { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 8px; }
.fb-tabs button {
  text-align: left; padding: 11px 13px; border-radius: 11px;
  background: rgba(255, 255, 255, 0.05); border: 1.5px solid var(--card-border);
  color: var(--text-dim); font-family: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer;
}
.fb-tabs button.active { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }
.modal textarea {
  width: 100%; background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--card-border); border-radius: 12px;
  color: var(--text); padding: 12px 14px; font-size: 1rem; font-family: inherit; resize: vertical;
}
.modal textarea:focus { outline: none; border-color: var(--accent); }

/* ---- Caixa de consentimento (LGPD) ---- */
.lgpd-banner {
  position: fixed; left: 12px; right: 12px; z-index: 140;
  bottom: calc(var(--nav-h) + 14px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 13px 15px;
  background: linear-gradient(135deg, rgba(30,36,64,0.98), rgba(20,25,48,0.98));
  border: 1px solid var(--card-border); border-radius: 16px;
  box-shadow: 0 12px 34px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transform: translateY(140%); opacity: 0;
  transition: transform 0.32s cubic-bezier(.2,.9,.3,1), opacity 0.32s;
  max-width: 560px; margin: 0 auto;
}
.lgpd-banner.show { transform: translateY(0); opacity: 1; }
.lgpd-banner .lg-text { flex: 1; min-width: 200px; font-size: 0.78rem; color: var(--text-dim); line-height: 1.5; }
.lgpd-banner .lg-ok {
  flex-shrink: 0; background: var(--accent); color: #0b1026; border: none; border-radius: 999px;
  padding: 10px 17px; font-size: 0.82rem; font-weight: 800; font-family: inherit; cursor: pointer;
  box-shadow: 0 0 16px var(--accent-glow);
}
.lg-link {
  background: none; border: none; padding: 0; font: inherit; cursor: pointer;
  color: var(--accent); text-decoration: underline; text-underline-offset: 2px;
}

/* checkbox de aceite no cadastro */
.consent-row {
  display: flex; align-items: flex-start; gap: 9px; margin: 12px 0 4px;
  font-size: 0.78rem; color: var(--text-dim); line-height: 1.45; cursor: pointer;
}
.consent-row input[type="checkbox"] { width: 17px; height: 17px; margin-top: 1px; flex-shrink: 0; accent-color: var(--accent); }

/* código de acesso embutido no cadastro */
.code-inline {
  margin-top: 10px; padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--card-border); border-radius: 12px;
}
.code-inline label { margin-top: 0; }
.code-check-msg { font-size: 0.78rem; margin-top: 7px; min-height: 1.1em; }
.code-check-msg.checking { color: var(--text-dim); }
.code-check-msg.valid { color: #5ec98a; font-weight: 600; }
.code-check-msg.invalid { color: #ff6b6b; font-weight: 600; }

/* texto da política de privacidade */
.legal-text {
  max-height: 46vh; overflow-y: auto; -webkit-overflow-scrolling: touch;
  text-align: left; padding-right: 6px; margin-bottom: 16px;
  border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border);
  padding-top: 12px; padding-bottom: 12px;
}
.legal-text h3 { font-size: 0.88rem; margin: 14px 0 5px; color: var(--text); }
.legal-text h3:first-child { margin-top: 0; }
.legal-text p { font-size: 0.8rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 7px; }
.legal-text strong { color: var(--text); }

/* ---- Banner "Instalar na tela de início" ---- */
.install-banner {
  position: fixed; left: 12px; right: 12px; z-index: 130;
  bottom: calc(var(--nav-h) + 14px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 12px;
  padding: 12px 12px 12px 14px;
  background: linear-gradient(135deg, rgba(30,36,64,0.98), rgba(20,25,48,0.98));
  border: 1px solid var(--card-border); border-radius: 18px;
  box-shadow: 0 12px 34px rgba(0,0,0,0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transform: translateY(140%); opacity: 0; transition: transform 0.32s cubic-bezier(.2,.9,.3,1), opacity 0.32s;
  max-width: 460px; margin: 0 auto;
}
.install-banner.show { transform: translateY(0); opacity: 1; }
.install-banner .ib-icon { width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0; }
.install-banner .ib-text { flex: 1; min-width: 0; line-height: 1.3; }
.install-banner .ib-text strong { display: block; font-size: 0.92rem; }
.install-banner .ib-text span { font-size: 0.76rem; color: var(--text-dim); }
.install-banner .ib-cta {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px;
  background: var(--accent); color: #0b1026; border: none; border-radius: 999px;
  padding: 9px 15px; font-size: 0.82rem; font-weight: 800; font-family: inherit; cursor: pointer;
  box-shadow: 0 0 16px var(--accent-glow);
}
.install-banner .ib-cta .ic { width: 15px; height: 15px; }
.install-banner .ib-close {
  flex-shrink: 0; background: none; border: none; color: var(--text-dim);
  font-size: 1rem; cursor: pointer; padding: 4px 6px; align-self: flex-start;
}
@media (max-width: 380px) {
  .install-banner .ib-text span { display: none; }
}
/* passos de instalação no iOS */
.ios-steps { margin: 4px 0 12px; padding-left: 20px; color: var(--text); font-size: 0.9rem; line-height: 1.7; }
.ios-steps .ic { color: var(--accent); vertical-align: -3px; }
.modal-note { color: var(--text-dim); font-size: 0.8rem; margin-bottom: 14px; }

/* mensagem da sugestão na lista do painel */
.fb-msg {
  display: block; margin: 5px 0 3px; color: var(--text);
  font-size: 0.85rem; line-height: 1.45; white-space: pre-wrap; word-break: break-word;
}
