/* PERLA · ESPACIOS (2026-11-17): «Mías · Públicas · Todo el equipo», agrupado por autor y los
   botones «Hacer pública» y «Copiar para editar». Va aparte para no tocar la hoja del editor. */
.a8e-espacios{ display:flex; flex-wrap:wrap; gap:6px; margin:0 0 18px; padding:4px; width:max-content; max-width:100%; border-radius:99px;
  background:rgba(13,23,32,.62); border:1px solid rgba(234,223,206,.24); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }
.a8e-espacios button{ display:inline-flex; align-items:center; gap:7px; height:2.1rem; padding:0 16px; border-radius:99px; border:0; cursor:pointer;
  background:transparent; color:rgba(234,223,206,.78); font:400 13px/1 var(--c-sans, 'Figtree', sans-serif); letter-spacing:.02em; transition:background .25s, color .25s; }
.a8e-espacios button .material-icons-outlined{ font-size:17px; }
.a8e-espacios button[aria-pressed="true"]{ background:#EADFCE; color:#0D1720; }
.a8e-espacios button:not([aria-pressed="true"]):hover{ color:#EADFCE; }
.a8e-espacios b{ font-weight:400; opacity:.6; font-size:11px; }

.a8e-grupo{ grid-column:1 / -1; display:flex; align-items:baseline; gap:12px; margin:14px 0 -4px; padding-bottom:8px; border-bottom:1px solid rgba(234,223,206,.18); }
.a8e-grupo:first-child{ margin-top:0; }
.a8e-grupo h3{ margin:0; font:400 1.15rem/1.2 'Marcellus', serif; color:#EADFCE; }
.a8e-grupo span{ font:400 11px/1 var(--c-sans, 'Figtree', sans-serif); letter-spacing:.18em; text-transform:uppercase; color:rgba(234,223,206,.6); }

.a8e-pill{ position:absolute; top:12px; right:12px; z-index:3; display:inline-flex; align-items:center; gap:5px; padding:4px 10px; border-radius:99px;
  background:rgba(0,85,101,.88); color:#EADFCE; font:400 10.5px/1 var(--c-sans, 'Figtree', sans-serif); letter-spacing:.12em; text-transform:uppercase; }
.a8e-pill .material-icons-outlined{ font-size:13px; }
.a8e-pill--boton{ border:0; cursor:pointer; transition:background .25s, color .25s; }
.a8e-pill--off{ background:rgba(13,23,32,.72); color:rgba(234,223,206,.85); border:1px solid rgba(234,223,206,.28); }
.a8e-pill--boton:hover{ background:#005565; color:#EADFCE; }
.a8e-autor{ opacity:.8; }

html[data-tema="claro"] .a8e-espacios{ background:rgba(255,255,255,.78); border-color:rgba(13,23,32,.12); }
html[data-tema="claro"] .a8e-espacios button{ color:rgba(13,23,32,.7); }
html[data-tema="claro"] .a8e-espacios button:not([aria-pressed="true"]):hover{ color:#0D1720; }
html[data-tema="claro"] .a8e-espacios button[aria-pressed="true"]{ background:#005565; color:#fff; }
html[data-tema="claro"] .a8e-grupo{ border-bottom-color:rgba(13,23,32,.14); }
html[data-tema="claro"] .a8e-grupo h3{ color:#0D1720; }
html[data-tema="claro"] .a8e-grupo span{ color:rgba(13,23,32,.55); }

@media (max-width:480px){
  .a8e-espacios{ width:100%; }
  .a8e-espacios button{ flex:1 1 auto; justify-content:center; padding:0 10px; font-size:12px; white-space:nowrap; }
  .a8e-espacios button .material-icons-outlined{ display:none; }
}
