/* Amigo Secreto — Identidade Visual Angelical, Doce e Delicada (Mobile-First) */

:root {
  --bg-ivory: #fffdf9;
  --bg-blush: #fff2f7;
  --bg-lilac: #f5efff;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-soft: #fff7fa;
  --border-soft: rgba(226, 179, 203, 0.52);
  --border-strong: rgba(213, 146, 181, 0.72);
  --ink: #472e44;
  --ink-muted: #7a6078;
  --ink-light: #9b8298;
  --rose: #d96b98;
  --rose-deep: #be4f7f;
  --rose-soft: #fde8f1;
  --lilac: #b388d9;
  --lilac-soft: #f2e8ff;
  --gold: #cfa053;
  --gold-soft: #fdf4e3;
  --mint: #2b7b59;
  --mint-soft: #e9f8f1;
  --amber: #9c5f12;
  --amber-soft: #fff4e2;
  --danger: #b53d60;
  --danger-soft: #ffedf2;
  --shadow-card: 0 18px 44px -24px rgba(132, 72, 108, 0.24),
    0 6px 18px -10px rgba(179, 136, 217, 0.16);
  --shadow-btn: 0 10px 24px -12px rgba(217, 107, 152, 0.55);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Quicksand", "Nunito", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(252, 212, 229, 0.52) 0%, transparent 42%),
    radial-gradient(circle at 88% 14%, rgba(226, 207, 252, 0.48) 0%, transparent 44%),
    radial-gradient(circle at 50% 96%, rgba(253, 232, 198, 0.42) 0%, transparent 48%),
    linear-gradient(180deg, var(--bg-ivory) 0%, var(--bg-blush) 52%, var(--bg-lilac) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

body.no-select {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.hidden {
  display: none !important;
}

/* Layout principal */
.app-shell {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 20px 16px 56px;
  position: relative;
}

.reveal-shell {
  max-width: 500px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 16px 40px;
}

/* Cabeçalho angelical */
.angel-header {
  text-align: center;
  margin-bottom: 18px;
}

.angel-emblem {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff9fc 0%, #fde6f1 55%, #f0e4ff 100%);
  border: 1.5px solid rgba(217, 107, 152, 0.32);
  box-shadow: 0 10px 26px -12px rgba(217, 107, 152, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose);
}

.angel-emblem svg {
  width: 34px;
  height: 34px;
}

.brand-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255, 250, 240, 0.9);
  border: 1px solid rgba(207, 160, 83, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.brand-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 2.55rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.brand-subtitle {
  margin: 6px auto 0;
  max-width: 440px;
  font-size: 0.94rem;
  color: var(--ink-muted);
}

/* Cartões */
.card {
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 22px 18px;
  margin-bottom: 16px;
}

.card-soft {
  background: var(--surface-soft);
  border: 1px solid rgba(226, 179, 203, 0.42);
  border-radius: var(--radius-lg);
  padding: 14px;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
}

.section-desc {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* Barra superior do dashboard */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.topbar-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f3a6c5 0%, #c9a2ea 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.topbar-meta {
  min-width: 0;
}

.topbar-name {
  font-weight: 700;
  font-size: 0.96rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-role {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* Navegação por abas */
.nav-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  padding: 5px;
  margin-bottom: 16px;
}

.nav-tab {
  border: none;
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 10px 8px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-tab.active {
  background: linear-gradient(135deg, #e582ab 0%, #c497e8 100%);
  color: #ffffff;
  box-shadow: var(--shadow-btn);
}

/* Resumo em pílulas */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 12px 10px;
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--rose-deep);
}

.stat-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* Formulários e campos */
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 520px) {
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
}

.field-hint {
  font-size: 0.76rem;
  color: var(--ink-muted);
}

input[type="text"],
input[type="password"],
textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  background: #ffffff;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(217, 107, 152, 0.16);
}

textarea {
  resize: vertical;
  min-height: 76px;
}

.input-inline {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.input-inline input {
  flex: 1;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.14s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.btn:active:not(:disabled) {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.56;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, #e57fa9 0%, #c795e8 100%);
  color: #ffffff;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover:not(:disabled) {
  filter: brightness(1.03);
}

.btn-soft {
  background: var(--rose-soft);
  color: var(--rose-deep);
  border-color: rgba(217, 107, 152, 0.26);
}

.btn-soft:hover:not(:disabled) {
  background: #fbd9e8;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  border-color: var(--border-soft);
}

.btn-ghost:hover:not(:disabled) {
  border-color: var(--border-strong);
  background: #fff9fc;
}

.btn-danger {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: rgba(181, 61, 96, 0.28);
}

.btn-danger:hover:not(:disabled) {
  background: #ffdde6;
}

.btn-sm {
  min-height: 36px;
  padding: 6px 13px;
  font-size: 0.82rem;
}

.btn-block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* Badges e alertas */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.badge-mint {
  background: var(--mint-soft);
  color: var(--mint);
}

.badge-amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.badge-rose {
  background: var(--rose-soft);
  color: var(--rose-deep);
}

.badge-lilac {
  background: var(--lilac-soft);
  color: #6b4394;
}

.badge-danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.alert {
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 0.86rem;
  line-height: 1.45;
  border: 1px solid transparent;
}

.alert-warning {
  background: var(--amber-soft);
  color: var(--amber);
  border-color: rgba(207, 160, 83, 0.42);
}

.alert-error {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: rgba(181, 61, 96, 0.32);
}

.alert-success {
  background: var(--mint-soft);
  color: var(--mint);
  border-color: rgba(43, 123, 89, 0.28);
}

.alert-info {
  background: var(--lilac-soft);
  color: #5b3a7e;
  border-color: rgba(179, 136, 217, 0.4);
}

/* Lista de amigas e links */
.list-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.person-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.person-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(229, 127, 169, 0.45);
  background: linear-gradient(135deg, #fde8f1 0%, #f1e6ff 100%);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-deep);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
}

.person-info {
  flex: 1;
  min-width: 0;
}

.person-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  word-break: break-word;
}

.person-meta {
  font-size: 0.82rem;
  color: var(--ink-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.person-notes {
  font-size: 0.82rem;
  color: var(--ink-muted);
  background: var(--surface-soft);
  border-radius: 10px;
  padding: 8px 10px;
}

.photo-upload-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.file-input-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.link-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff8fb;
  border: 1px dashed rgba(217, 107, 152, 0.45);
  border-radius: 12px;
  padding: 8px 10px;
}

.link-url-text {
  flex: 1;
  font-size: 0.78rem;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.progress-track {
  width: 100%;
  height: 9px;
  background: rgba(217, 107, 152, 0.14);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin: 10px 0 4px;
}

.progress-fill {
  height: 100%;
  width: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #e786ae 0%, #c495e8 100%);
  transition: width 0.3s ease;
}

.empty-state {
  text-align: center;
  padding: 26px 14px;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

/* Modal delicado */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(58, 34, 54, 0.44);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  z-index: 50;
}

@media (min-width: 560px) {
  .modal-backdrop {
    align-items: center;
  }
}

.modal-card {
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface-strong);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: 0 28px 60px -24px rgba(58, 34, 54, 0.4);
  padding: 22px 18px;
}

/* Toast flutuante */
.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(16px);
  background: #472e44;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 14px 32px -12px rgba(45, 22, 42, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 80;
  max-width: calc(100vw - 32px);
  text-align: center;
}

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

/* ==================== TELA DE SORTEIO / REVELAÇÃO ==================== */

.reveal-card {
  text-align: center;
  padding: 26px 20px;
}

.envelope-illustration {
  width: 112px;
  height: 112px;
  margin: 4px auto 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #fde6f1 62%, #efe3ff 100%);
  border: 2px solid rgba(217, 107, 152, 0.34);
  box-shadow: 0 16px 36px -18px rgba(217, 107, 152, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-deep);
}

.envelope-illustration svg {
  width: 54px;
  height: 54px;
}

.reveal-stage {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 16px auto;
  border-radius: 26px;
  overflow: hidden;
  border: 1.5px solid rgba(217, 107, 152, 0.38);
  background: linear-gradient(160deg, #fffafd 0%, #fdecf4 52%, #f3ebff 100%);
  box-shadow: 0 20px 44px -22px rgba(132, 72, 108, 0.32);
  aspect-ratio: 3 / 4;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.reveal-stage.is-peeking {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(217, 107, 152, 0.22), 0 22px 46px -20px rgba(71, 46, 68, 0.45);
}

/* Grade limpa de cards numerados em tempo real */
.draw-cards-board {
  margin: 18px 0 14px;
  padding: 18px 14px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.94) 0%, rgba(253, 236, 245, 0.72) 60%, rgba(242, 232, 255, 0.74) 100%);
  border: 1.5px solid rgba(217, 107, 152, 0.28);
  box-shadow: inset 0 8px 22px -14px rgba(132, 72, 108, 0.22);
}

.draw-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 12px;
  align-items: center;
  justify-items: center;
  padding: 4px 2px;
}

.draw-number-card {
  position: relative;
  width: 100%;
  max-width: 106px;
  height: 82px;
  border-radius: 16px;
  border: 1.5px solid rgba(217, 107, 152, 0.34);
  background: linear-gradient(155deg, #ffffff 0%, #fff4f8 58%, #fbe4ef 100%);
  box-shadow: 0 10px 20px -14px rgba(114, 58, 94, 0.42), 0 2px 6px rgba(179, 136, 217, 0.14);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  overflow: hidden;
  font-family: var(--font-display);
  color: var(--ink);
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease, border-color 0.2s ease;
}

.draw-number-card.card-tone-1 {
  background: linear-gradient(155deg, #ffffff 0%, #f7f1ff 58%, #ecdefd 100%);
  border-color: rgba(179, 136, 217, 0.4);
}

.draw-number-card.card-tone-2 {
  background: linear-gradient(155deg, #ffffff 0%, #fffaf0 58%, #f8ead0 100%);
  border-color: rgba(207, 160, 83, 0.4);
}

.draw-number-card:hover:not(:disabled),
.draw-number-card:focus-visible:not(:disabled) {
  transform: translateY(-4px) scale(1.04);
  border-color: var(--rose);
  box-shadow: 0 16px 28px -14px rgba(217, 107, 152, 0.56);
  outline: none;
}

.draw-number-card:active:not(:disabled) {
  transform: translateY(-1px) scale(0.97);
}

.draw-number-value {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.draw-number-card.is-dimmed {
  opacity: 0.34;
  transform: scale(0.93);
  pointer-events: none;
}

.draw-number-card.is-picking {
  z-index: 5;
  border-color: var(--rose-deep);
  box-shadow: 0 18px 34px -12px rgba(217, 107, 152, 0.72);
  animation: drawCardPick 0.48s ease forwards;
}

.draw-number-card.is-removing {
  pointer-events: none;
  animation: drawCardLeave 0.24s ease forwards;
}

@keyframes drawCardPick {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.1);
  }
  100% {
    transform: translateY(-12px) scale(1.14);
    opacity: 0.96;
  }
}

@keyframes drawCardLeave {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.74);
    opacity: 0;
  }
}

.reveal-canvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}

.reveal-veil {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.92) 0%, rgba(253, 236, 245, 0.96) 65%, rgba(243, 234, 255, 0.97) 100%);
  transition: opacity 0.14s ease;
}

.reveal-veil.is-open {
  opacity: 0;
  pointer-events: none;
}

.reveal-veil-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid rgba(217, 107, 152, 0.32);
  color: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 10px 22px -12px rgba(217, 107, 152, 0.45);
}

.reveal-veil-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}

.reveal-veil-text {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: 0;
  max-width: 240px;
}

.hold-btn {
  width: 100%;
  max-width: 360px;
  min-height: 54px;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.hold-btn.holding {
  background: linear-gradient(135deg, #be4f7f 0%, #9b6bc7 100%);
  box-shadow: 0 0 0 6px rgba(217, 107, 152, 0.22);
}

.shield-note {
  margin: 14px auto 0;
  max-width: 340px;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* Cortina preta anti-print / anti-blur / anti-DevTools */
.privacy-blackout {
  position: fixed;
  inset: 0;
  background: #000000;
  color: #f8e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
  z-index: 9999;
}

.privacy-blackout-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 0 0 8px;
  color: #ffffff;
}

.privacy-blackout-msg {
  font-size: 0.9rem;
  color: #d8c2d2;
  max-width: 340px;
  margin: 0 0 18px;
}

.footer-credit {
  text-align: center;
  font-size: 0.76rem;
  color: var(--ink-light);
  margin-top: 22px;
}

/* Barra discreta de retorno ao Bunker (exibida exclusivamente em /milly-preview) */
.bunker-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--border-soft);
}

.bunker-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--rose-deep);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  transition: background 0.18s ease, color 0.18s ease;
}

.bunker-back-link:hover {
  background: var(--rose-soft);
  color: var(--ink);
}

.bunker-preview-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-muted);
  background: var(--lilac-soft);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

/* Bloqueio total de impressão na tela de revelação */
@media print {
  body.reveal-protected * {
    display: none !important;
    visibility: hidden !important;
  }
  body.reveal-protected::after {
    content: "Conteúdo sigiloso protegido.";
    display: block;
    color: #000;
    font-size: 16pt;
    padding: 40px;
    text-align: center;
  }
}
