/* Fuente manuscrita (Intro Script) para el logo y algunos menús */
@font-face { font-family: "Intro Script"; src: url("/assets/fonts/IntroScript-v2.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ============ ALIENIC · estilos base compartidos ============ */
:root {
  /* Paleta de tu Obsidian (tema Rosé Pine + tu violeta) */
  --bg: #191724;          /* fondo */
  --bg-2: #1f1d2e;        /* fondo secundario */
  --ink: #e0def4;         /* texto */
  --ink-dim: #908caa;     /* texto suave */
  --muted: #6e6a86;
  --purple: #cba9fe;      /* tu violeta de "súper fácil" */
  --purple-deep: #c4a7e7;
  --accent: #eb6f92;      /* rosa de títulos y links */
  --accent-deep: #c9577a;
  --gold: #f6c177;        /* dorado de las negritas */
  --foam: #9ccfd8;        /* celeste del hover */
  --rose: #ebbcba;
  --pine: #31748f;
  --card: rgba(31, 29, 46, 0.62);
  --card-border: #26233a;
  --radius: 22px;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-script: "Intro Script", "Pacifico", cursive;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  /* Cursor propio (flecha y manito) — /assets/cursor/ */
  --cursor-default: url("/assets/cursor/flecha.svg") 5 4, default;
  --cursor-pointer: url("/assets/cursor/mano.svg") 13 4, pointer;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
/* Tamaño general de toda la web (1 = normal · 1.05 = 5% más grande). El overlay de OBS no lo usa. */
html { zoom: 1.05; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
::selection { background: var(--accent); color: var(--bg); }

/* ---------- Fondo espacial ---------- */
#stars {
  position: fixed; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  display: block;
}
.nebula {
  position: fixed; z-index: -3; border-radius: 50%;
  filter: blur(90px); opacity: 0.45; pointer-events: none;
  animation: drift 28s ease-in-out infinite alternate;
}
.nebula.n1 { width: 55vw; height: 55vw; left: -15vw; top: -10vw; background: radial-gradient(circle, #4b3a7a 0%, transparent 70%); }
.nebula.n2 { width: 45vw; height: 45vw; right: -12vw; top: 30vh; background: radial-gradient(circle, #31748f 0%, transparent 70%); animation-duration: 34s; }
.nebula.n3 { width: 40vw; height: 40vw; left: 20vw; bottom: -20vw; background: radial-gradient(circle, #8a3a5a 0%, transparent 70%); animation-duration: 40s; opacity: 0.3; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(6vw, 4vh) scale(1.15); }
}

/* ---------- Tarjetas ---------- */
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
}
/* brillo que sigue al mouse (usa --mx/--my seteados por JS) */
.card::before {
  content: "";
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(235, 111, 146, 0.13), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.card:hover::before { opacity: 1; }

/* ---------- Botones ---------- */
.btn {
  --c: var(--accent);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font-family: var(--font-display); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; text-decoration: none; cursor: var(--cursor-pointer, pointer);
  color: var(--bg); background: var(--c); border: 0;
  box-shadow: 0 0 0 0 var(--c);
  transition: transform .2s, box-shadow .3s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 28px -4px var(--c); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--card-border); }
.btn.ghost:hover { border-color: var(--foam); color: var(--foam); box-shadow: 0 0 24px -8px var(--foam); }
.btn.purple { --c: var(--purple); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Revelado al scrollear ---------- */
.reveal { opacity: 0; transform: translateY(40px) scale(.98); filter: blur(6px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1), filter .9s; }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- Partículas del cursor ---------- */
.spark {
  position: fixed; width: 6px; height: 6px; border-radius: 50%;
  pointer-events: none; z-index: 9999;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
  animation: spark .8s ease-out forwards;
}
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; } }

/* ---------- Accesibilidad ---------- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* ---------- Letra manuscrita ---------- */
.script { font-family: var(--font-script) !important; text-transform: lowercase !important; letter-spacing: 0 !important; font-weight: 500; }
/* Logo "alienic" (lila con sombra, como el original) */
.logo-script { font-family: var(--font-script); text-transform: lowercase; letter-spacing: 0; font-weight: 500; color: #e9b6fa; text-shadow: 3px 3px 0 rgba(110,106,134,.85); text-decoration: none; line-height: 1; }

/* =========================================================
   Barra de navegación compartida (la arma /assets/nav.js)
   ========================================================= */
.site-nav {
  position: sticky; top: 0; z-index: 200; /* arriba de los buscadores y menús de Datos (z-index 100), abajo de sus ventanas (500+) */
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(25,23,36,.92), rgba(25,23,36,.55) 70%, rgba(25,23,36,0));
  backdrop-filter: blur(8px);
}
.site-nav .logo { font-size: 38px; transition: transform .3s, text-shadow .3s; }
.site-nav .logo:hover { transform: rotate(-3deg) scale(1.05); text-shadow: 3px 3px 0 rgba(110,106,134,.85), 0 0 24px rgba(233,182,250,.6); }
.menu { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; align-items: center; }
.menu li { position: relative; }
/* estrellita entre las palabras del menú (solo en compu; en el menú del celular no va) */
.menu > li + li::before { content: ""; position: absolute; left: -11px; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3CradialGradient id='g'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.45' stop-color='%23e6d6ff'/%3E%3Cstop offset='1' stop-color='%23b9a2f0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M12 0C12.9 7.6 16.4 11.1 24 12C16.4 12.9 12.9 16.4 12 24C11.1 16.4 7.6 12.9 0 12C7.6 11.1 11.1 7.6 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 0 3px rgba(203,169,254,.85)) drop-shadow(0 0 7px rgba(203,169,254,.45));
  animation: menuStar 3.2s ease-in-out infinite; }
.menu > li:nth-child(odd)::before { animation-delay: -1.6s; }
@keyframes menuStar { 0%, 100% { opacity: .55; transform: scale(.85) rotate(0deg); } 50% { opacity: 1; transform: scale(1.1) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) { .menu > li + li::before { animation: none; opacity: .8; } }
.menu .top { display: flex; align-items: center; gap: 4px; background: none; border: 0; cursor: var(--cursor-pointer, pointer); color: var(--ink-dim); text-decoration: none; padding: 6px 11px; border-radius: 999px; font-size: 21px; line-height: 1.2; transition: color .2s, background .2s, transform .2s; }
.menu .top .car { font-family: var(--font-body); font-size: 10px; opacity: .6; transition: transform .25s; }
.menu .top:hover, .menu li.open > .top, .menu .top.here { color: var(--ink); background: rgba(203,169,254,.1); }
.menu li.open > .top .car { transform: rotate(180deg); }
/* "notificaciones" con una nota que todavía no viste: el mismo gradiente que el anuncio de arriba */
.menu .top.has-new, .menu .top.has-new:hover { color: #191724; background: linear-gradient(90deg, var(--purple), var(--accent), var(--gold), var(--purple)); background-size: 200% 100%;
  animation: notifFlow 8s linear infinite; box-shadow: 0 8px 26px -10px rgba(235,111,146,.7); }
.burger.has-new { position: relative; }
.burger.has-new::after { content: ""; position: absolute; top: 5px; right: 5px; width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(90deg, var(--purple), var(--accent), var(--gold), var(--purple)); background-size: 200% 100%; animation: notifFlow 8s linear infinite; box-shadow: 0 0 8px rgba(235,111,146,.8); }
@keyframes notifFlow { to { background-position: 200% 0; } }
/* listas desplegables */
.nav-sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, -6px); min-width: 210px;
  background: #1f1d2e; border: 1px solid var(--card-border); border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.85);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; backdrop-filter: blur(14px); z-index: 2; }
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.menu li.open > .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-sub a, .nav-sub button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; background: none; border: 0; cursor: var(--cursor-pointer, pointer);
  font: inherit; font-size: 15px; color: var(--ink-dim); text-decoration: none; padding: 9px 12px; border-radius: 10px; transition: background .15s, color .15s, padding .15s; }
.nav-sub a:hover, .nav-sub button:hover, .nav-sub li.open > button { background: rgba(235,111,146,.1); color: var(--ink); padding-left: 16px; }
.nav-sub .nav-sub { top: -8px; left: calc(100% + 8px); transform: translate(-6px, 0); }
.nav-sub .nav-sub::before { top: 0; bottom: 0; left: -10px; width: 10px; height: auto; right: auto; }
.nav-sub li.open > .nav-sub { transform: translate(0, 0); }
.site-nav .right { display: flex; align-items: center; gap: 8px; }
.icon-link { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--card-border); color: var(--ink-dim); transition: .2s; }
.icon-link svg { width: 19px; height: 19px; fill: currentColor; }
.icon-link:hover { color: #fff; background: #5865F2; border-color: #5865F2; box-shadow: 0 0 20px -4px #5865F2; }
.admin-link { font-size: 13px; color: var(--ink-dim); text-decoration: none; border: 1px solid var(--card-border); padding: 8px 14px; border-radius: 999px; display: inline-flex; gap: 8px; align-items: center; transition: border-color .2s, color .2s; white-space: nowrap; }
.admin-link:hover { color: var(--accent); border-color: var(--accent); }
.burger { display: none; background: none; border: 1px solid var(--card-border); color: var(--ink); width: 40px; height: 40px; border-radius: 12px; font-size: 20px; cursor: var(--cursor-pointer, pointer); }
@media (max-width: 1120px) {
  .burger { display: block; }
  .menu { display: none; position: absolute; top: 100%; left: 16px; right: 16px; flex-direction: column; align-items: stretch; padding: 10px; border-radius: 20px;
    background: #1f1d2e; border: 1px solid var(--card-border); max-height: calc(100vh - 90px); overflow: auto; }
  body.menu-open .notif, body.menu-open .sched, body.menu-open .vid { opacity: 0 !important; pointer-events: none; }
  .site-nav.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-nav.menu-open .menu { display: flex; }
  .menu .top { width: 100%; justify-content: space-between; }
  .menu { gap: 2px; }
  .menu > li + li::before { display: none; }
  .nav-sub, .nav-sub .nav-sub { position: static; transform: none !important; opacity: 1; visibility: visible; display: none; box-shadow: none; margin: 4px 0 6px 12px; min-width: 0; background: rgba(25,23,36,.6); }
  .menu li.open > .nav-sub { display: block; }
}
.nav-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 120px); background: var(--accent); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-weight: 700; transition: transform .4s cubic-bezier(.3,1.5,.5,1); z-index: 210; }
.nav-toast:not(.show) { visibility: hidden; }
.nav-toast.show { transform: translate(-50%, 0); }

/* ---------- Paneles desplegables (notificaciones, sorteo, etc.) ---------- */
.drop { position: fixed; top: 74px; left: 50%; transform: translate(-50%, -12px); width: min(860px, calc(100vw - 32px)); max-height: calc(100vh - 100px); overflow: auto; z-index: 199;
  background: rgba(25,23,36,.96); border: 1px solid var(--card-border); border-radius: 22px; padding: 24px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8);
  opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; backdrop-filter: blur(14px); }
.drop.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop-close { position: sticky; top: 0; float: right; background: none; border: 1px solid var(--card-border); color: var(--ink-dim); width: 34px; height: 34px; border-radius: 50%; cursor: var(--cursor-pointer, pointer); font-size: 18px; }
.drop-close:hover { color: var(--accent); border-color: var(--accent); }
.drop h3.script { font-size: 38px; color: var(--purple); margin: 0 0 14px; }

/* ---------- Reproductor chiquito del stream (lo arma /assets/stream-mini.js, solo en vivo) ---------- */
/* Twitch pide que se vea y mida al menos 400×300 para que arranque solo */
.stream-mini { position: fixed; right: 18px; bottom: 18px; z-index: 190; width: 424px; padding: 10px 12px 12px; border-radius: 20px;
  background: rgba(31,29,46,.92); border: 1px solid rgba(255,59,107,.35); backdrop-filter: blur(12px); box-shadow: 0 20px 50px -20px rgba(0,0,0,.9), 0 0 30px -14px rgba(255,59,107,.6);
  opacity: 0; transform: translateY(20px); transition: opacity .35s, transform .35s cubic-bezier(.3,1.4,.5,1); }
.stream-mini.show { opacity: 1; transform: none; }
.stream-mini iframe { display: block; width: 400px; height: 300px; border: 0; border-radius: 12px; background: #0e0e10; margin-top: 8px; }
.stream-mini.min { width: 260px; }
.stream-mini.min iframe { display: none; }
.sm-h { display: flex; align-items: center; gap: 8px; cursor: var(--cursor-pointer, pointer); }
.sm-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #ff3b6b; box-shadow: 0 0 0 0 rgba(255,59,107,.7); animation: smPulse 1.6s infinite; }
@keyframes smPulse { 70% { box-shadow: 0 0 0 9px rgba(255,59,107,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,107,0); } }
.sm-live { flex: none; font-family: var(--font-script); font-weight: 500; font-size: 22px; line-height: 1; color: var(--purple); }
.sm-t { flex: 1; min-width: 0; font-size: 13px; color: var(--ink-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-btn { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--card-border); background: transparent; color: var(--ink-dim); font-size: 13px; cursor: var(--cursor-pointer, pointer); transition: color .2s, border-color .2s, transform .3s; }
.sm-btn:hover { color: var(--accent); border-color: var(--accent); }
.stream-mini.min .sm-car { transform: rotate(180deg); }
body.menu-open .stream-mini { opacity: 0 !important; pointer-events: none; }

/* Notas (noticias, eventos, notificaciones) */
.posts { display: grid; gap: 14px; }
.post { background: rgba(31,29,46,.7); border: 1px solid var(--card-border); border-radius: 16px; padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; gap: 16px; }
.post:not(:has(img)) { grid-template-columns: 1fr; }
.post img { width: 120px; height: 80px; object-fit: cover; border-radius: 12px; }
.post h4 { margin: 0 0 4px; color: var(--gold); }
.post time { font-size: 12px; color: var(--foam); letter-spacing: .06em; }
.post p { margin: 6px 0 0; color: var(--ink-dim); white-space: pre-line; font-size: 15px; }
.post a { color: var(--accent); font-size: 14px; }

.nav-sub a.all { color: var(--purple); font-size: 13px; border-bottom: 1px solid var(--card-border); border-radius: 10px 10px 0 0; margin-bottom: 4px; }

/* =====================================================================
   Barras de desplazamiento y flechitas de números con la estética de la web
   ===================================================================== */
:root { color-scheme: dark; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--purple), var(--accent)); border-radius: 99px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { border-width: 2px; }
::-webkit-scrollbar-button, ::-webkit-scrollbar-corner { display: none; background: transparent; }
/* Firefox no entiende lo de arriba: usa estos colores */
@supports not selector(::-webkit-scrollbar) {
  * { scrollbar-width: thin; scrollbar-color: rgba(203,169,254,.55) transparent; }
}

/* números: se esconden las flechitas del navegador y se usan las de la web */
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.num-wrap { position: relative; display: inline-block; vertical-align: middle; }
.field > .num-wrap, .nums .num-wrap, .num-wrap.block { display: block; }
.field > .num-wrap > input, .nums .num-wrap > input, .num-wrap.block > input { width: 100%; }
.num-wrap > input { padding-right: 40px !important; }
.num-step { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 3px; }
.num-step button { width: 26px; height: 15px; display: grid; place-items: center; padding: 0; border: 1px solid var(--card-border); border-radius: 6px; background: rgba(25,23,36,.85); color: var(--ink-dim); cursor: var(--cursor-pointer, pointer); transition: color .15s, border-color .15s, background .15s; }
.num-step button svg { width: 10px; height: 10px; fill: currentColor; }
.num-step button:hover { color: #191724; border-color: transparent; background: linear-gradient(135deg, var(--purple), var(--accent)); }
.num-step button:active { transform: scale(.92); }
input[type=number]:disabled + .num-step { opacity: .4; pointer-events: none; }

/* ---------- Cursor propio ---------- */
html { cursor: var(--cursor-default); }
a, button, select, summary, label[for], [role="button"], [onclick], [data-sub],
input[type=checkbox], input[type=radio], input[type=range], input[type=color], input[type=file], input[type=submit], input[type=button] { cursor: var(--cursor-pointer); }
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=submit]):not([type=button]), textarea, [contenteditable="true"] { cursor: text; }
:disabled { cursor: not-allowed; }

/* ---------- Ventanas (avisar / confirmar / preguntar de /assets/dialogos.js) ----------
   La <dialog> ocupa toda la pantalla (transparente) y centra la tarjeta con flex:
   así queda siempre en el medio, sin importar el scroll ni otros estilos de la página. */
.ui-dlg { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 16px; border: 0; background: transparent; color: var(--ink); overflow: auto; font-family: var(--font-body); }
.ui-dlg[open] { display: flex; align-items: center; justify-content: center; }
.ui-dlg::backdrop { background: rgba(10,8,20,.72); backdrop-filter: blur(6px); animation: uiDlgFade .2s; }
.ui-dlg.out .ui-dlg-in { animation: uiDlgOut .16s forwards; }
.ui-dlg.out::backdrop { animation: uiDlgFade .16s reverse forwards; }
.ui-dlg-in { position: relative; width: min(440px, 100%); margin: auto; padding: 26px 26px 22px; text-align: center; border: 1px solid var(--card-border); border-radius: 22px; background: rgba(31,29,46,.96); overflow: hidden; box-shadow: 0 30px 90px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(203,169,254,.08), inset 0 1px 0 rgba(255,255,255,.05); animation: uiDlgIn .28s cubic-bezier(.2,1.3,.4,1); }
.ui-dlg-in::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--foam), var(--purple), var(--accent)); }
.ui-dlg.danger .ui-dlg-in::before { background: linear-gradient(90deg, var(--gold), var(--accent), #ff5c7a); }
.ui-dlg-icon { font-size: 40px; line-height: 1; margin-bottom: 10px; animation: uiDlgBob 3s ease-in-out infinite; }
.ui-dlg-title { margin: 0 0 6px; font-family: var(--font-display); color: var(--gold); font-size: 18px; letter-spacing: .04em; }
.ui-dlg-msg { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.ui-dlg-input { width: 100%; margin-top: 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--card-border); background: rgba(25,23,36,.8); color: var(--ink); font: inherit; font-size: 15px; }
.ui-dlg-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(235,111,146,.15); }
.ui-dlg-btns { display: flex; justify-content: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.ui-dlg-btn { min-width: 120px; padding: 11px 20px; border-radius: 999px; border: 0; background: var(--accent); color: var(--bg); font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; cursor: var(--cursor-pointer); transition: transform .2s, box-shadow .25s; }
.ui-dlg-btn:hover, .ui-dlg-btn:focus-visible { transform: translateY(-2px); box-shadow: 0 0 26px -4px var(--accent); outline: none; }
.ui-dlg-btn.ghost { background: transparent; color: var(--ink-dim); border: 1px solid var(--card-border); }
.ui-dlg-btn.ghost:hover, .ui-dlg-btn.ghost:focus-visible { color: var(--ink); border-color: var(--purple); box-shadow: none; }
.ui-dlg.danger .ui-dlg-btn:not(.ghost) { background: #ff5c7a; color: #fff; }
@keyframes uiDlgIn { from { opacity: 0; transform: translateY(16px) scale(.94); } }
@keyframes uiDlgOut { to { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes uiDlgFade { from { opacity: 0; } }
@keyframes uiDlgBob { 50% { transform: translateY(-5px) rotate(-4deg); } }
