/* Chat a canción. Paleta: marino #0f1b3d, blanco, rosa #ff3d8b solo en lo que se pulsa.
   Profundidad por escalones de superficie y líneas finas, sin sombras, grano, cristal ni degradados. */
:root {
  --bg: #0f1b3d; --s1: #16264f; --s2: #1e3162; --s3: #2a407a;
  --hair: rgba(255, 255, 255, .1);
  --text: #ffffff; --text2: #c0c8de; --muted: #8e99b8;
  --accent: #ff3d8b; --on-accent: #0f1b3d; --err: #ff8f9d;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  --serif: ui-serif, "New York", Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; overscroll-behavior: none; background: var(--bg); }
body { margin: 0; color: var(--text); background: var(--bg); font: 400 16px/24px var(--sans); -webkit-font-smoothing: antialiased; }
#app { height: 100dvh; display: flex; flex-direction: column; max-width: 560px; margin: 0 auto; position: relative; overflow: hidden; }
h1, h2, h3, p { margin: 0; }
button, .btn { font: inherit; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }

/* Barra superior */
.bar { flex: none; position: relative; display: flex; align-items: center; justify-content: center; min-height: calc(52px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) 8px 0; }
.bar[hidden] { display: none; }
.hbtn { position: absolute; bottom: 4px; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--text); border-radius: 50%; }
.hbtn.l { left: 8px; } .hbtn.r { right: 12px; }
.hbtn svg { width: 24px; height: 24px; }
.hbtn:active { background: var(--s2); }
.prog { display: flex; gap: 8px; width: 148px; }
.prog i { flex: 1; height: 4px; border-radius: 2px; background: var(--s3); transition: background-color 300ms var(--ease); }
.prog i.on { background: var(--text); }

/* Contenido y transiciones */
.view { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 8px 24px 40px; }
.screen { animation: in-fade 300ms var(--ease); }
.screen.still { animation: none; }
.screen.fwd { animation: in-fwd 360ms var(--ease); }
.screen.bwd { animation: in-bwd 360ms var(--ease); }
.screen.up { animation: in-up 440ms var(--ease); }
.screen.down { animation: in-down 360ms var(--ease); }
@keyframes in-fade { from { opacity: 0; transform: translateY(8px); } }
@keyframes in-fwd { from { opacity: 0; transform: translateX(28px); } }
@keyframes in-bwd { from { opacity: 0; transform: translateX(-28px); } }
@keyframes in-up { from { opacity: 0; transform: translateY(40px); } }
@keyframes in-down { from { opacity: 0; transform: translateY(-16px); } }
.rise > * { animation: in-fade 480ms var(--ease) both; }
.rise > *:nth-child(2) { animation-delay: 60ms; } .rise > *:nth-child(3) { animation-delay: 120ms; }
.rise > *:nth-child(4) { animation-delay: 180ms; } .rise > *:nth-child(5) { animation-delay: 240ms; }

/* Cabecera de página y título de sección: idénticos en todas las pantallas */
.ph { padding-top: 4px; margin-bottom: 8px; }
.ph .eb { font-size: 13px; line-height: 16px; font-weight: 600; color: var(--muted); }
.ph h1 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -.03em; margin-top: 8px; }
.ph p { margin-top: 8px; font-size: 16px; line-height: 24px; color: var(--text2); }
.ph h1 .w { display: inline-block; margin-right: .26em; animation: wup 600ms var(--ease) both; animation-delay: calc(var(--i) * 70ms + 80ms); }
.ph h1 .w:last-child { margin-right: 0; }
.screen.still .w { animation: none; }
@keyframes wup { from { opacity: 0; transform: translateY(16px); } }
.sh { display: flex; justify-content: space-between; align-items: baseline; margin: 40px 0 16px; }
.sh h3 { font-size: 20px; line-height: 24px; font-weight: 600; letter-spacing: -.01em; }
.sh .more { background: none; border: 0; padding: 4px 0; color: var(--text2); font-size: 14px; font-weight: 500; }
.sec .sh { margin-top: 40px; }
p { color: var(--text2); }
.stat { font-size: 13px; line-height: 16px; color: var(--muted); margin-top: 12px; }
.gap { margin-top: 24px; }

/* Botones: el rosa marca lo que se pulsa; texto marino (contraste 5,1:1) */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 56px; font-size: 18px; font-weight: 600; color: var(--on-accent); background: var(--accent); border: 0; border-radius: 28px; text-decoration: none; transition: transform 120ms var(--ease), opacity 120ms; }
.btn svg { width: 20px; height: 20px; }
.btn:active, .opt:active, .row-item:active, .drop:active, .setrow:active, .song:active, .tile:active, .tilea:active, .pill:active { transform: scale(.97); }
.btn:disabled { opacity: .4; }
.btn.ghost { background: var(--s2); color: var(--text); font-weight: 500; }
.btn.danger { background: var(--s2); color: var(--err); font-weight: 500; }
.btn.icon { width: 56px; flex: none; }
.link { display: block; margin: 24px auto 0; background: none; border: 0; color: var(--text2); font-size: 16px; padding: 8px 12px; text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 4px; }

/* Dock de acción */
.dock { flex: none; padding: 16px 24px calc(12px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to top, var(--bg) 70%, rgba(15, 27, 61, 0)); }
.dock[hidden] { display: none; }
.dock .note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: 12px; line-height: 16px; color: var(--muted); }
.dock .note svg { width: 16px; height: 16px; }
.dock .pair { display: flex; gap: 8px; }
.note-line { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: 12px; line-height: 16px; color: var(--muted); }
.note-line svg { width: 16px; height: 16px; }

/* Barra de pestañas: sólida, con línea fina e indicador deslizante */
.tabbar { flex: none; padding: 0 24px calc(12px + env(safe-area-inset-bottom, 0px)); }
.tabbar[hidden] { display: none; }
.tabbar-in { position: relative; display: grid; grid-template-columns: 1fr 72px 1fr; align-items: center; height: 64px; padding: 0 8px; border-radius: 32px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--hair); }
.tpill { position: absolute; left: 8px; top: 8px; bottom: 8px; width: calc((100% - 16px - 72px) / 2); border-radius: 24px; background: var(--s3); transition: transform 420ms var(--ease); }
.tpill.right { transform: translateX(calc(100% + 72px)); }
.tab { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 48px; font-size: 11px; line-height: 12px; font-weight: 500; color: var(--muted); background: none; border: 0; border-radius: 24px; transition: color 160ms; }
.tab .ti { display: grid; place-items: center; }
.tab svg { width: 24px; height: 24px; }
.tab.on { color: var(--text); }
.tab.mid { width: 48px; height: 48px; margin: 0 auto; border-radius: 50%; color: var(--on-accent); background: var(--accent); transition: transform 120ms var(--ease); }
.tab.mid svg { width: 28px; height: 28px; }
.tab.mid:active { transform: scale(.93); }

/* Superficies: un escalón más claro y una línea fina */
.card { background: var(--s1); border-radius: 24px; box-shadow: inset 0 0 0 1px var(--hair); }
.hero-card { margin-top: 24px; padding: 24px 20px 20px; text-align: center; }
.cover { width: 88px; height: 88px; flex: none; border-radius: 16px; display: block; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.tag { font-family: var(--mono); font-size: 11px; line-height: 16px; color: var(--muted); }
mark { color: var(--text); background: linear-gradient(transparent 56%, rgba(255, 255, 255, .24) 56% 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 2px; margin: 0 -2px; }
.legend { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; line-height: 16px; color: var(--muted); }
.legend span { display: inline-block; width: 24px; height: 8px; border-radius: 2px; background: rgba(255, 255, 255, .24); }

/* Carruseles y tarjetas de arte */
.hscroll { position: relative; display: flex; align-items: flex-start; gap: 16px; overflow-x: auto; margin: 0 -24px; padding: 8px 24px; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding: 0 24px; overscroll-behavior-x: contain; }
.hscroll::-webkit-scrollbar { display: none; }
.tilea { flex: none; display: flex; flex-direction: column; width: 104px; padding: 0; text-align: left; background: none; border: 0; color: var(--text); scroll-snap-align: start; transition: transform 120ms var(--ease); }
.tilea .art { width: 104px; height: 104px; border-radius: 24px; display: block; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); transition: box-shadow 180ms var(--ease); }
.tilea .cap { display: block; min-height: 40px; margin-top: 12px; font-size: 14px; line-height: 20px; font-weight: 500; text-align: center; color: var(--text2); transition: color 160ms; }
.tilea.sel.on .art { box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px #fff; }
.tilea.sel.on .cap { color: #fff; font-weight: 600; }
.pill { flex: none; height: 44px; padding: 0 20px; border-radius: 22px; font-size: 16px; font-weight: 500; color: var(--text2); background: var(--s1); border: 0; box-shadow: inset 0 0 0 1px var(--hair); transition: background-color 160ms var(--ease), color 160ms, transform 120ms var(--ease); }
.pill.on { background: #fff; color: var(--bg); font-weight: 600; box-shadow: none; }

/* Cómo funciona */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.how-i { background: var(--s1); border-radius: 24px; padding: 20px 8px; text-align: center; box-shadow: inset 0 0 0 1px var(--hair); }
.how-ic { width: 48px; height: 48px; border-radius: 16px; background: var(--s3); display: grid; place-items: center; margin: 0 auto 12px; }
.how-ic svg { width: 24px; height: 24px; }
.how-i b { display: block; font-size: 14px; line-height: 20px; font-weight: 600; }
.how-i span { display: none; }

/* Subida y formularios */
.drop { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; width: 100%; margin-top: 24px; padding: 32px 20px; color: var(--text); background: var(--s1); border: 0; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--hair); transition: transform 120ms var(--ease); }
.drop .ic { width: 56px; height: 56px; border-radius: 16px; background: var(--s3); display: grid; place-items: center; margin-bottom: 12px; }
.drop .ic svg { width: 28px; height: 28px; }
.drop b { font-weight: 600; font-size: 16px; }
.drop span { color: var(--text2); font-size: 14px; line-height: 20px; }
.drop.ok .ic { background: var(--accent); color: var(--on-accent); }
.or { text-align: center; color: var(--muted); font-size: 13px; line-height: 16px; margin: 24px 0 8px; }
textarea { width: 100%; height: 168px; resize: none; font: inherit; font-size: 16px; line-height: 24px; color: var(--text); background: var(--bg); border: 0; outline: none; -webkit-appearance: none; border-radius: 16px; padding: 16px; box-shadow: inset 0 0 0 1px var(--hair); }
textarea::placeholder { color: var(--muted); }
textarea:focus-visible { box-shadow: inset 0 0 0 2px var(--text); }
.err { color: var(--err); font-size: 14px; line-height: 20px; margin-top: 16px; }

/* Selector segmentado con indicador deslizante */
.seg { position: relative; display: flex; background: var(--s1); border-radius: 16px; padding: 4px; box-shadow: inset 0 0 0 1px var(--hair); }
.seg .thumb { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 12px; background: var(--s3); transition: transform 320ms var(--ease), width 320ms var(--ease); }
.opt { position: relative; z-index: 1; flex: 1; height: 40px; padding: 0 8px; font-size: 14px; font-weight: 500; color: var(--text2); background: none; border: 0; border-radius: 12px; white-space: nowrap; transition: color 160ms; }
.opt.on { color: #fff; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 16px; color: var(--text); background: var(--s1); border: 0; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--hair); transition: transform 120ms var(--ease), box-shadow 160ms; }
.tile .tile-ic { width: 24px; height: 24px; margin-bottom: 12px; }
.tile b { display: block; font-weight: 600; font-size: 16px; line-height: 24px; }
.tile span { display: block; color: var(--text2); font-size: 13px; line-height: 16px; margin-top: 4px; }
.tile.on { box-shadow: inset 0 0 0 2px var(--text); background: var(--s2); }
.list { background: var(--s1); border-radius: 24px; box-shadow: inset 0 0 0 1px var(--hair); overflow: hidden; }
.row-item { display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 16px; text-align: left; color: var(--text); background: none; border: 0; border-top: 1px solid var(--hair); transition: background-color 120ms, transform 120ms var(--ease); }
.row-item:first-child { border-top: 0; }
.row-item .ck { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 2px var(--muted); color: transparent; transition: background-color 160ms; }
.row-item .ck svg { width: 16px; height: 16px; }
.row-item.on .ck { background: var(--accent); box-shadow: none; color: var(--on-accent); }
.row-item:not(.on) .tx { opacity: .45; }
.row-item .who { display: block; font-size: 12px; line-height: 16px; color: var(--muted); margin-bottom: 4px; }

/* Generando */
.center-w { text-align: center; padding-top: 18dvh; }
.rings { position: relative; height: 120px; display: grid; place-items: center; }
.rings i { position: absolute; width: 120px; height: 120px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); animation: ring 2.6s var(--ease) infinite; opacity: 0; }
.rings i:nth-child(2) { animation-delay: .85s; } .rings i:nth-child(3) { animation-delay: 1.7s; }
@keyframes ring { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.bars { display: flex; gap: 4px; align-items: center; justify-content: center; height: 56px; }
.bars i { width: 4px; height: 100%; border-radius: 2px; background: var(--text); transform-origin: center; animation: eq 1.1s ease-in-out infinite; }
@keyframes eq { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }
.msg { margin-top: 32px; font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -.02em; min-height: 64px; }
.center-w p { margin-top: 8px; }

/* Resultado */
.stage { position: relative; width: 300px; height: 200px; margin: 8px auto 0; }
.stage .big-cover { position: absolute; left: 0; top: 0; width: 200px; height: 200px; border-radius: 24px; z-index: 2; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.disc { position: absolute; left: 100px; top: 0; width: 200px; height: 200px; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle at center, #fff 0 21px, #0a1330 21px 24px, transparent 24px), repeating-radial-gradient(circle at center, #08102a 0 2px, #101c3f 2px 3px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.disc.spin { animation: turn 3.2s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.res-title { text-align: center; margin-top: 24px; }
.res-title h2 { margin-top: 4px; font-size: 28px; line-height: 32px; font-weight: 600; letter-spacing: -.02em; }
.player { display: flex; gap: 16px; align-items: center; margin-top: 24px; padding: 12px 16px 12px 12px; border-radius: 24px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--hair); }
.play { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 0; color: var(--on-accent); display: grid; place-items: center; background: var(--accent); transition: transform 120ms var(--ease); }
.play:active { transform: scale(.94); }
.play svg { width: 24px; height: 24px; }
.wave { flex: 1; display: flex; gap: 2px; align-items: center; height: 40px; cursor: pointer; touch-action: none; }
.wave i { flex: 1; min-width: 2px; border-radius: 1px; background: var(--s3); transition: background-color 120ms; }
.wave i.p { background: var(--text); }
.time { font-family: var(--mono); font-size: 12px; line-height: 16px; font-variant-numeric: tabular-nums; color: var(--text2); min-width: 40px; text-align: right; }
.sheet-paper { margin-top: 16px; padding: 24px 20px; border-radius: 24px; background: var(--s2); box-shadow: inset 0 0 0 1px var(--hair); }
.sheet-paper .line { font-family: var(--serif); font-size: 20px; line-height: 28px; color: var(--text); white-space: pre-wrap; transition: color 300ms var(--ease); }
.sheet-paper .head { font-family: var(--mono); font-size: 11px; line-height: 16px; color: var(--muted); margin: 24px 0 4px; }
.sheet-paper .head:first-child { margin-top: 0; }
.sheet-paper.live .line { color: var(--muted); }
.sheet-paper.live .line.past { color: var(--text2); }
.sheet-paper.live .line.now { color: #fff; }

/* Biblioteca */
.song { display: flex; gap: 16px; align-items: center; width: 100%; padding: 12px; margin-top: 12px; text-align: left; color: var(--text); border: 0; border-radius: 24px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--hair); transition: transform 120ms var(--ease); }
.song .cover { width: 64px; height: 64px; border-radius: 12px; }
.song .t { font-family: var(--serif); font-size: 18px; line-height: 24px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.song .m { min-width: 0; flex: 1; }
.chev { width: 20px; height: 20px; color: var(--muted); flex: none; }
.empty { text-align: center; padding: 48px 8px 0; }
.empty h2 { font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -.02em; }
.empty p { margin-top: 8px; }
.empty .ghostcover { width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 28px; display: grid; place-items: center; background: var(--s1); box-shadow: inset 0 0 0 1px var(--hair); color: var(--muted); }
.empty .ghostcover svg { width: 40px; height: 40px; }
.empty .btn { margin-top: 24px; }

/* Ajustes */
.setrow { display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px; text-align: left; color: var(--text); background: none; border: 0; border-top: 1px solid var(--hair); transition: transform 120ms var(--ease); }
.setrow:first-child { border-top: 0; }
.setrow .ic { width: 32px; height: 32px; flex: none; border-radius: 8px; display: grid; place-items: center; background: var(--s3); color: var(--text); }
.setrow .ic svg { width: 20px; height: 20px; }
.setrow .l { flex: 1; }
.setrow.warn .l { color: var(--err); }
.ver { text-align: center; color: var(--muted); font-size: 12px; line-height: 16px; margin-top: 32px; font-family: var(--mono); }

/* Onboarding */
.ob { position: absolute; inset: 0; display: flex; flex-direction: column; z-index: 5; background: var(--bg); }
.ob .skip { position: absolute; right: 12px; top: calc(8px + env(safe-area-inset-top, 0px)); background: none; border: 0; color: var(--text2); font-size: 16px; padding: 12px; z-index: 2; }
.slides { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: none; width: 100%; scroll-snap-align: center; padding: calc(64px + env(safe-area-inset-top, 0px)) 32px 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.slide .art { height: 300px; width: 100%; display: grid; place-items: center; position: relative; }
.slide h1 { margin-top: 32px; font-size: 32px; line-height: 36px; font-weight: 600; letter-spacing: -.03em; }
.slide p { max-width: 320px; margin-top: 12px; font-size: 16px; line-height: 24px; }
.dots { display: flex; gap: 8px; justify-content: center; margin: 24px 0 16px; }
.dots i { width: 8px; height: 8px; border-radius: 4px; background: var(--s3); transition: width 300ms var(--ease), background-color 300ms; }
.dots i.on { width: 24px; background: var(--text); }
.ob .dock { background: none; }
.art .b { position: absolute; padding: 12px 16px; border-radius: 20px; font-size: 16px; line-height: 24px; }
.art .b.you { background: #fff; color: var(--bg); border-bottom-right-radius: 4px; }
.art .b.other { background: var(--s2); color: var(--text); border-bottom-left-radius: 4px; }

/* Hoja inferior */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(5, 10, 28, .7); animation: fadein 220ms ease both; }
.panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; max-width: 560px; margin: 0 auto; padding: 8px 24px calc(24px + env(safe-area-inset-bottom, 0px)); border-radius: 28px 28px 0 0; background: var(--s1); box-shadow: inset 0 1px 0 var(--hair); animation: up 340ms var(--ease) both; max-height: 86dvh; overflow-y: auto; }
.panel .grab { width: 36px; height: 4px; border-radius: 2px; background: var(--s3); margin: 4px auto 24px; }
.panel h2 { font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -.02em; }
.panel p, .panel li { color: var(--text2); }
.panel ul { margin: 12px 0 0; padding-left: 20px; }
.panel li { margin-top: 8px; }
.panel .btn { margin-top: 24px; }
.scrim.out { animation: fadeout 200ms ease both; } .panel.out { animation: down 240ms var(--ease) both; }
@keyframes fadein { from { opacity: 0; } } @keyframes fadeout { to { opacity: 0; } }
@keyframes up { from { transform: translateY(100%); } } @keyframes down { to { transform: translateY(100%); } }

@media (prefers-reduced-motion: reduce) {
  .screen, .rise > *, .panel, .scrim, .ph h1 .w { animation: none !important; }
  .bars i { animation: none; transform: scaleY(.6); } .disc.spin { animation: none; }
  .rings i { animation: none; opacity: .3; } .seg .thumb, .tpill { transition: none; }
}
@media (prefers-contrast: more) { :root { --hair: rgba(255, 255, 255, .4); --muted: #c0c8de; } }
@media (hover: hover) and (pointer: fine) {
  .btn:not(:disabled):hover { filter: brightness(1.08); }
  .opt:hover:not(.on), .row-item:hover, .setrow:hover { background: rgba(255, 255, 255, .04); }
  .link:hover, .tab:not(.on):hover { color: var(--text); }
}
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
textarea:focus-visible { outline: 0; }

/* Generando: gotas que se funden (metaballs) */
.goo { position: relative; width: 160px; height: 160px; margin: 0 auto; filter: url(#goo); }
.goo i { position: absolute; left: 50%; top: 50%; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); }
.goo i:nth-child(1) { width: 56px; height: 56px; animation: pulse 2.4s ease-in-out infinite; }
.goo i:nth-child(2) { width: 32px; height: 32px; --r: 48px; animation: orbit 3.2s linear infinite; }
.goo i:nth-child(3) { width: 24px; height: 24px; --r: 56px; animation: orbit 4.4s linear infinite reverse; }
.goo i:nth-child(4) { width: 20px; height: 20px; --r: 40px; animation: orbit 2.6s linear infinite; animation-delay: -1s; }
.goo i:nth-child(5) { width: 16px; height: 16px; --r: 62px; animation: orbit 5.6s linear infinite reverse; animation-delay: -2s; }
@keyframes orbit { from { transform: translate(-50%, -50%) rotate(0deg) translateX(var(--r)); } to { transform: translate(-50%, -50%) rotate(360deg) translateX(var(--r)); } }
@keyframes pulse { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.25); } }
.center-w { padding-top: 16dvh; }
.center-w .msg { margin-top: 24px; }
.demo-note { text-align: center; margin-top: 16px; }
@media (prefers-reduced-motion: reduce) { .goo i { animation: none; } .goo i:nth-child(n+2) { transform: translate(-50%, -50%) translateX(var(--r)); } }

/* Paywall */
.pw { text-align: center; padding-top: 8px; }
.pw-cover { width: 112px; height: 112px; border-radius: 28px; display: block; margin: 0 auto; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.pw h1 { margin-top: 24px; font-size: 32px; line-height: 36px; font-weight: 600; letter-spacing: -.03em; }
.pw p { margin-top: 8px; }
.pw-b { list-style: none; margin: 24px 0 0; padding: 16px; display: grid; gap: 12px; text-align: left; background: var(--s1); border-radius: 24px; box-shadow: inset 0 0 0 1px var(--hair); }
.pw-b li { display: flex; gap: 12px; align-items: center; font-size: 16px; line-height: 24px; color: var(--text); }
.pw-b svg { width: 20px; height: 20px; flex: none; color: var(--text); }
.plans { display: grid; gap: 12px; margin-top: 24px; }
.plan { position: relative; display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px; text-align: left; color: var(--text); background: var(--s1); border: 0; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--hair); transition: box-shadow 160ms, background-color 160ms, transform 120ms var(--ease); }
.plan:active { transform: scale(.98); }
.plan.on { background: var(--s2); box-shadow: inset 0 0 0 2px var(--text); }
.plan .radio { width: 24px; height: 24px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--muted); transition: box-shadow 160ms, background-color 160ms; }

.plan.on .radio { box-shadow: inset 0 0 0 5px var(--s2); background: var(--text); }
.plan .pt { flex: 1; min-width: 0; }
.plan .pt b { display: block; font-size: 16px; line-height: 24px; font-weight: 600; }
.plan .pt span { display: block; font-size: 13px; line-height: 16px; color: var(--text2); }
.plan .price { font-size: 18px; line-height: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.plan .badge { position: absolute; top: -10px; right: 16px; padding: 0 8px; height: 20px; line-height: 20px; border-radius: 10px; background: var(--text); color: var(--bg); font-size: 11px; font-weight: 600; }
.pw-test { margin-top: 16px; text-align: center; color: var(--text2); }
.dock .terms { margin: 8px 0 0; font-size: 11px; line-height: 16px; color: var(--muted); text-align: center; }
.link.later { margin: 0 auto; padding: 8px 12px; }

/* Ajustes: idioma */
.setrow .val { color: var(--muted); font-size: 14px; }
.langs { display: grid; margin-top: 16px; background: var(--s2); border-radius: 24px; overflow: hidden; }
.lang { display: flex; align-items: center; justify-content: space-between; padding: 16px; color: var(--text); background: none; border: 0; border-top: 1px solid var(--hair); font-size: 16px; text-align: left; }
.lang:first-child { border-top: 0; }
.lang.on { font-weight: 600; }
.lang svg { width: 20px; height: 20px; }
.ob .dock .note { margin-top: 12px; }
