/* AntojoStudio · app
   Estudio de IA: negro de cine, paneles de vidrio y una sola brasa (naranja de parrilla)
   para lo que crea. En el celular, pestañas abajo; en computador, menú a la izquierda. */
:root {
  --bg: #000;
  --panel: #0E0E0E;
  --panel-2: #161616;
  --vidrio: rgba(22, 22, 22, 0.78);
  --linea: rgba(255, 255, 255, 0.10);
  --linea-2: rgba(255, 255, 255, 0.18);
  --ink: #F7F7F5;
  --muted: #A3A3A0;
  --brasa: #FF6A1F;
  --brasa-2: #FFB23F;
  --ok: #3DD68C;
  --danger: #FF7A6B;
  --f: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
  --tabbar: 64px;
  color-scheme: dark;
  accent-color: var(--brasa);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--f); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
.app {
  max-width: 640px; margin: 0 auto;
  padding: 0 max(16px, env(safe-area-inset-right, 0px)) calc(var(--tabbar) + 28px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}

/* ---------- Encabezado y navegación ---------- */
.top { display: flex; align-items: center; padding: calc(12px + env(safe-area-inset-top, 0px)) 0 8px; }
.logo { display: inline-flex; align-items: center; gap: 9px; background: none; border: 0; color: var(--ink); font: 600 17px var(--f); letter-spacing: -0.02em; padding: 4px 0; cursor: pointer; }
.logo-punto { width: 20px; height: 20px; filter: drop-shadow(0 0 10px rgba(255, 106, 31, 0.5)); }
.nav {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; height: calc(var(--tabbar) + env(safe-area-inset-bottom, 0px));
  padding: 6px 8px env(safe-area-inset-bottom, 0px); display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(8, 8, 8, 0.88); border-top: 1px solid var(--linea); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.nav-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: none; border: 0; color: var(--muted); font: 500 11px var(--f); cursor: pointer; border-radius: 12px; min-width: 0; }
.nav-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.nav-btn b { font-weight: 600; color: var(--ink); }
.nav-btn[aria-current="page"] { color: var(--ink); }
.nav-btn[aria-current="page"] svg { stroke: var(--brasa-2); }
.nav-btn.bajo b { color: var(--danger); }
body[data-vista="vAcceso"] .nav { display: none; }

/* ---------- Texto ---------- */
h1 { font-weight: 600; font-size: 34px; line-height: 1.05; letter-spacing: -0.04em; margin: 20px 0 8px; text-wrap: balance; }
h2 { font-weight: 600; font-size: 20px; letter-spacing: -0.02em; margin: 28px 0 10px; }
.sub { color: var(--muted); margin: 0 0 20px; }
.eyebrow { color: var(--brasa-2); font-size: 13px; font-weight: 500; margin: 14px 0 0; }
.label { color: var(--muted); font-size: 13px; font-weight: 500; margin: 0; }
.hint { color: var(--muted); font-size: 13px; margin: 0; }
.err { color: var(--danger); font-size: 14px; margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a { color: var(--brasa-2); }

/* ---------- Formularios ---------- */
.stack { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
label, legend { font-weight: 500; font-size: 14px; color: #DADAD6; }
input[type=text], input[type=tel], input[type=password], input[type=email], textarea, select {
  width: 100%; background: var(--panel-2); color: var(--ink); border: 1px solid var(--linea); border-radius: 12px;
  font: 16px var(--f); padding: 12px 13px;
}
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #6F6F6C; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: none; border-color: rgba(255, 178, 63, 0.6); }
button:focus-visible, a:focus-visible, summary:focus-visible, label:focus-within { outline: 2px solid var(--brasa-2); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.row2 > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; color: var(--ink); }
.check input { width: 20px; height: 20px; flex: none; }
.dur { border: 1px solid var(--linea); border-radius: var(--r); padding: 8px 14px; display: flex; gap: 18px; flex-wrap: wrap; }
.dur label { display: flex; align-items: center; gap: 8px; min-height: 40px; }

/* ---------- Botones ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 999px; border: 0;
  background: var(--ink); color: #000; font: 600 16px var(--f); cursor: pointer; text-decoration: none; padding: 0 20px;
}
.btn:hover:not(:disabled) { background: #fff; }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--linea-2); }
.btn.ghost:hover:not(:disabled) { background: var(--panel-2); }
.back { background: none; border: 0; color: var(--muted); font: 500 14px var(--f); padding: 10px 0 0; cursor: pointer; min-height: 44px; }
.back::before { content: "←"; margin-right: 6px; }
.back:hover { color: var(--ink); }
.mini { background: var(--panel-2); color: var(--ink); border: 1px solid var(--linea); border-radius: 999px; height: 34px; padding: 0 12px; font: 500 13px var(--f); cursor: pointer; }
.mini-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; cursor: pointer; background: var(--ink); color: #000; font: 600 14px var(--f); border: 0; }
.mini-btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--linea-2); }
.mini-btn:focus-within, .mini-btn:focus-visible { outline: 2px solid var(--brasa-2); outline-offset: 2px; }
.link-btn { background: none; border: 1px solid var(--linea-2); color: var(--ink); border-radius: 999px; height: 38px; padding: 0 14px; font: 500 14px var(--f); cursor: pointer; }

/* ---------- Crear (inicio) ---------- */
.inicio-cab { padding-top: 8px; }
.composer {
  background: var(--vidrio); border: 1px solid var(--linea-2); border-radius: 22px; padding: 12px 12px 10px;
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex; flex-direction: column; gap: 6px;
}
.composer:focus-within { border-color: rgba(255, 178, 63, 0.5); }
.composer textarea { border: 0; background: transparent; padding: 6px 6px 4px; resize: none; min-height: 54px; max-height: 180px; font-size: 16px; }
.composer textarea:focus-visible { border: 0; }
.composer-fila { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.adj-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,0.07); border: 1px solid var(--linea); color: #DADAD6; font-size: 13px; font-weight: 500; cursor: pointer; }
.adj-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.send-btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer; font: 600 15px var(--f); color: #1A0A00;
  background: linear-gradient(135deg, var(--brasa-2), var(--brasa)); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15), 0 6px 24px rgba(255, 106, 31, 0.4); }
.send-btn svg { width: 15px; height: 15px; fill: currentColor; }
.send-btn:disabled { opacity: 0.5; }
.adj-lista { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 2px 4px; }
.adj-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 106, 31, 0.14); border: 1px solid rgba(255, 106, 31, 0.35); color: #FFD9B8; border-radius: 999px; padding: 3px 3px 3px 11px; font-size: 13px; max-width: 100%; }
.adj-x { width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,0.4); color: var(--ink); cursor: pointer; }
.sugerencias { display: flex; gap: 8px; margin: 12px -16px 0; padding: 0 16px 4px; overflow-x: auto; scrollbar-width: none; }
.sugerencias::-webkit-scrollbar { display: none; }
.sug { flex: none; background: transparent; color: #DADAD6; border: 1px solid var(--linea); border-radius: 999px; height: 36px; padding: 0 14px; font: 500 13px var(--f); cursor: pointer; white-space: nowrap; }
.sug:hover { border-color: var(--linea-2); color: var(--ink); background: var(--panel-2); }

/* Con conversación: los mensajes arriba y el compositor fijo sobre las pestañas */
.chat { display: flex; flex-direction: column; gap: 12px; margin: 6px 0 14px; }
.con-chat .inicio-cab h1 { font-size: 22px; margin-top: 12px; }
.con-chat .inicio-cab .sub { display: none; }
.con-chat .composer { position: sticky; bottom: calc(var(--tabbar) + 10px + env(safe-area-inset-bottom, 0px)); }
.burbuja { max-width: 88%; padding: 10px 14px; border-radius: 18px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.burbuja.yo { align-self: flex-end; background: var(--panel-2); border: 1px solid var(--linea); border-bottom-right-radius: 6px; }
.burbuja.ia { align-self: flex-start; background: transparent; padding-left: 30px; position: relative; color: #E8E8E4; }
.burbuja.ia::before { content: ""; position: absolute; left: 4px; top: 13px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--brasa-2), var(--brasa) 65%); box-shadow: 0 0 10px rgba(255, 106, 31, 0.5); }
.burbuja.pensando { color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .burbuja.pensando::before { animation: latir 1.1s ease-in-out infinite; }
  @keyframes latir { 50% { transform: scale(0.7); opacity: 0.6; } }
}
.adj-nota { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Explorar */
.explorar { margin-top: 34px; }
.explorar-cab { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.explorar h2 { margin: 0; }
.galeria { columns: 2; column-gap: 10px; }
.g { position: relative; margin: 0 0 10px; break-inside: avoid; border-radius: var(--r); overflow: hidden; background: var(--panel); }
.g video { display: block; width: 100%; aspect-ratio: 9 / 13; object-fit: cover; }
.g.alto video { aspect-ratio: 9 / 16; }
.g figcaption { position: absolute; inset: auto 0 0 0; padding: 36px 10px 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.88)); }
.g-titulo { font-size: 13px; font-weight: 500; line-height: 1.3; }
.g-usar { height: 30px; padding: 0 11px; border-radius: 999px; border: 0; background: rgba(255,255,255,0.92); color: #000; font: 600 12px var(--f); cursor: pointer; }
.g-usar:disabled { opacity: 0.6; }

/* ---------- Herramientas y expertos ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.exp { position: relative; text-align: left; background: var(--panel); border: 1px solid var(--linea); border-radius: 18px; overflow: hidden; color: var(--ink); cursor: pointer; padding: 0; display: flex; flex-direction: column; font: inherit; min-height: 240px; justify-content: flex-end; }
.exp .tono { position: absolute; inset: 0; background-size: cover; background-position: center 35%; }
.exp .tono::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 25%, rgba(0, 0, 0, 0.92) 85%); }
.exp:hover:not(:disabled) { border-color: var(--linea-2); }
.exp:disabled { cursor: default; opacity: 0.5; }
.exp:disabled .tono { filter: grayscale(1); }
.exp .tag { position: absolute; z-index: 1; top: 10px; left: 10px; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink); font-size: 11px; font-weight: 500; padding: 4px 9px; border-radius: 999px; }
.exp .info { position: relative; z-index: 1; padding: 12px; display: flex; flex-direction: column; gap: 3px; }
.exp b { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.exp span.d { font-size: 12.5px; color: #C9C9C5; line-height: 1.35; }

.ref-card, .continuar {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer;
  background: var(--panel); color: var(--ink); border: 1px solid var(--linea); border-radius: 18px;
  padding: 10px 14px 10px 10px; margin-bottom: 10px; font: inherit;
}
.ref-card:hover, .continuar:hover { border-color: var(--linea-2); background: var(--panel-2); }
.continuar { flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px; border-color: rgba(255, 106, 31, 0.45); background: rgba(255, 106, 31, 0.08); }
.continuar span, .ref-txt span { color: var(--muted); font-size: 13px; }
.ref-ico { width: 52px; height: 72px; flex: none; border-radius: 10px; background: var(--panel-2); color: var(--brasa-2); display: flex; align-items: center; justify-content: center; }
.ref-foto { width: 52px; height: 72px; flex: none; object-fit: cover; border-radius: 10px; }
.ref-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ref-txt b { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.opc { color: var(--muted); font-weight: 400; }

/* ---------- Cajas de trabajo ---------- */
.foto-box { background: var(--panel); border: 1px dashed var(--linea-2); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.foto-box img { width: 140px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; max-width: 100%; }
#refPrev { width: 140px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; background: #111; max-width: 100%; }
.card { background: var(--panel); border: 1px solid var(--linea); border-radius: 18px; padding: 16px; margin-top: 12px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.gancho { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin: 6px 0 0; line-height: 1.2; }
.pre { white-space: pre-wrap; margin: 8px 0 0; overflow-wrap: anywhere; }
.pre.small { font-size: 13px; color: var(--muted); }
details.card summary { cursor: pointer; font-weight: 500; }
details.card textarea { margin-top: 10px; font-size: 14px; }

.escenas { display: flex; flex-direction: column; margin-top: 12px; border: 1px solid var(--linea); border-radius: 18px; overflow: hidden; }
.escena { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 10px; background: var(--panel); padding: 12px 14px; }
.escena + .escena { border-top: 1px solid var(--linea); }
.escena .t { color: var(--brasa-2); font-weight: 500; font-size: 13px; font-variant-numeric: tabular-nums; }
.escena p { margin: 0; font-size: 14px; }
.escena .voz { color: var(--muted); margin-top: 4px; }
.escena .txt { margin-top: 6px; display: inline-block; background: var(--panel-2); border: 1px solid var(--linea); border-radius: 8px; padding: 2px 8px; font-weight: 600; }

.analisis { margin: 10px 0 0; display: grid; gap: 4px; }
.analisis dt { color: var(--brasa-2); font-size: 13px; font-weight: 500; margin-top: 8px; }
.analisis dd { margin: 0; font-size: 14px; }
.progreso-tomas { font-weight: 500; margin: 16px 0 0; font-variant-numeric: tabular-nums; }

.tomas { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.toma { background: var(--panel); border: 1px solid var(--linea); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.toma.lista { border-color: rgba(61, 214, 140, 0.5); }
.toma-head { display: flex; justify-content: space-between; align-items: center; }
.toma-head b { font-size: 16px; font-weight: 600; }
.dur-chip { font-size: 12px; font-weight: 500; background: var(--panel-2); border: 1px solid var(--linea); padding: 3px 9px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.toma .que { margin: 0; font-weight: 500; }
.toma .meta, .toma .voz { margin: 0; color: var(--muted); font-size: 13px; }
.chip { align-self: flex-start; background: rgba(255, 106, 31, 0.14); color: #FFD9B8; border-radius: 8px; padding: 3px 9px; font-weight: 600; font-size: 13px; }
.toma video { width: 120px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; background: #111; max-width: 100%; }
.estado-toma { margin: 0; font-size: 13px; color: var(--brasa-2); font-weight: 500; }
.acciones { display: flex; gap: 8px; flex-wrap: wrap; }
.check.small { font-size: 14px; min-height: 36px; }
.check.small input { width: 18px; height: 18px; }

/* Generando: un brillo de brasa en vez de una ruedita */
.progreso { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--linea); border-radius: 18px; padding: 28px 22px; display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; margin-top: 12px; }
.spin { width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--brasa-2), var(--brasa) 60%, #7A2402); box-shadow: 0 0 30px rgba(255, 106, 31, 0.55); }
@media (prefers-reduced-motion: no-preference) {
  .spin { animation: latir 1.4s ease-in-out infinite; }
  .progreso::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 178, 63, 0.08) 50%, transparent 70%); background-size: 250% 100%; animation: barrido 2.2s linear infinite; }
  @keyframes barrido { from { background-position: 150% 0; } to { background-position: -100% 0; } }
}
#vidOut { width: 100%; max-width: 380px; aspect-ratio: 9 / 16; background: #111; border-radius: 20px; display: block; margin: 12px auto 0; border: 1px solid var(--linea); }

.historial ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; border: 1px solid var(--linea); border-radius: 18px; overflow: hidden; }
.historial li { background: var(--panel); padding: 12px 14px; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.historial li + li { border-top: 1px solid var(--linea); }
.historial li div { min-width: 0; }
.historial li b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.historial li small { color: var(--muted); }
.historial a { font-weight: 500; white-space: nowrap; }

/* ---------- Edítalo como este ---------- */
.paleta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.swatch { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--linea-2); }
.rev-lista { display: flex; flex-direction: column; margin-top: 10px; border: 1px solid var(--linea); border-radius: 18px; overflow: hidden; }
.rev-fila { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 8px; align-items: center; background: var(--panel); padding: 10px 12px; }
.rev-fila + .rev-fila { border-top: 1px solid var(--linea); }
.rev-fila .rev-t { color: var(--brasa-2); font-weight: 500; font-size: 12px; font-variant-numeric: tabular-nums; grid-row: span 2; }
.rev-fila input[type=text] { grid-column: 2 / 4; padding: 10px 12px; font-weight: 600; text-transform: uppercase; }
.rev-fila select { grid-column: 2; height: 40px; padding: 0 8px; font: 14px var(--f); min-width: 0; }
.rev-fila .mini { grid-column: 3; height: 40px; }
#nLogoPrev { width: 120px; aspect-ratio: auto; max-height: 90px; object-fit: contain; background: var(--panel-2); border-radius: 12px; padding: 8px; }

.toast {
  position: fixed; z-index: 40; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabbar) + 18px + env(safe-area-inset-bottom, 0px));
  background: rgba(30, 30, 30, 0.95); border: 1px solid var(--linea-2); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-size: 14px; margin: 0; max-width: calc(100vw - 32px); text-align: center;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}

/* ---------- Cuenta y créditos ---------- */
.segmento { display: grid; grid-template-columns: 1fr 1fr; background: var(--panel); border: 1px solid var(--linea); border-radius: 999px; padding: 4px; margin-bottom: 16px; }
.segmento button { background: none; border: 0; color: var(--muted); border-radius: 999px; min-height: 40px; font: 500 14px var(--f); cursor: pointer; }
.segmento button[aria-pressed="true"] { background: var(--ink); color: #000; }
.acc-links { display: flex; justify-content: space-between; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.acc-links .link-btn { border: 0; color: var(--muted); padding: 0; height: 32px; }
.acc-links .link-btn:hover { color: var(--ink); }
#vAcceso { min-height: 80svh; display: flex; flex-direction: column; justify-content: center; max-width: 420px; margin: 0 auto; }
#vAcceso[hidden] { display: none !important; }
.saldo-box { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--linea); border-radius: 22px; padding: 26px 20px; margin: 12px 0 22px; }
.saldo-box::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 106, 31, 0.35), transparent 65%); }
.saldo-num { position: relative; display: block; font-weight: 600; font-size: 56px; line-height: 1; letter-spacing: -0.04em; }
.saldo-txt { position: relative; color: var(--muted); font-size: 14px; }
.paquetes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 16px; }
.paquete { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; background: var(--panel); border: 1px solid var(--linea); border-radius: 18px; padding: 16px 14px; color: var(--ink); cursor: pointer; font-family: var(--f); min-width: 0; }
.paquete:hover:not(:disabled) { border-color: var(--linea-2); background: var(--panel-2); }
.paquete.destacado { border-color: rgba(255, 106, 31, 0.6); background: linear-gradient(160deg, rgba(255, 106, 31, 0.16), rgba(255, 106, 31, 0.02) 60%); }
.paquete:disabled { opacity: .6; }
.paq-nombre { font-size: 14px; font-weight: 500; color: var(--muted); }
.paquete.destacado .paq-nombre { color: var(--brasa-2); }
.paq-precio { order: 1; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; margin-top: 10px; }
.paq-creditos { order: 2; font-size: 14px; }
.paq-para { order: 3; color: var(--muted); font-size: 12px; margin-top: 4px; }
.costos { background: var(--panel); border: 1px solid var(--linea); border-radius: 16px; padding: 12px 14px; margin-bottom: 20px; }
.costos summary { cursor: pointer; font-weight: 500; }
.costos ul, .movs { list-style: none; padding: 0; margin: 10px 0 0; }
.costos li, .movs li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--linea); font-size: 14px; }
.costos li span { color: var(--muted); }
.movs { margin-bottom: 20px; }
.movs li > span { display: flex; flex-direction: column; min-width: 0; }
.mov-fecha { color: var(--muted); font-size: 12px; }
.movs .menos { color: var(--muted); font-weight: 500; }
.movs .mas { color: var(--ok); font-weight: 500; }

/* ---------- Computador: menú a la izquierda ---------- */
@media (min-width: 960px) {
  :root { --tabbar: 0px; }
  .app { max-width: 760px; padding-bottom: 48px; }
  .top { position: fixed; z-index: 30; inset: 0 auto 0 0; width: 220px; flex-direction: column; align-items: stretch; gap: 22px; padding: 22px 14px; border-right: 1px solid var(--linea); background: #050505; }
  .logo { padding: 0 8px; }
  .nav { position: static; height: auto; padding: 0; display: flex; flex-direction: column; gap: 2px; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-btn { flex-direction: row; justify-content: flex-start; gap: 12px; height: 42px; padding: 0 10px; font-size: 14px; }
  .nav-btn svg { width: 19px; height: 19px; }
  .nav-btn:hover { background: var(--panel-2); color: var(--ink); }
  .nav-btn[aria-current="page"] { background: var(--panel-2); }
  body:not([data-vista="vAcceso"]) .app { padding-left: 260px; max-width: none; }
  body:not([data-vista="vAcceso"]) .vista { max-width: 760px; margin: 0 auto; }
  body[data-vista="vAcceso"] .top { display: none; }
  h1 { font-size: 44px; margin-top: 44px; }
  .sugerencias { margin: 12px 0 0; padding: 0; flex-wrap: wrap; overflow: visible; }
  .galeria { columns: 3; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .con-chat .composer { bottom: 16px; }
  .toast { bottom: 24px; }
}
