:root { color-scheme: dark; --fondo: #121214; --tarjeta: #1e1e22; --texto: #eeeeee; --gris: #9a9aa0; --vino: #a23b5a; }
@media (prefers-color-scheme: light) { :root { color-scheme: light; --fondo: #f4f4f6; --tarjeta: #ffffff; --texto: #1a1a1c; --gris: #66666c; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--fondo); color: var(--texto); font: 16px/1.45 -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
main { max-width: 520px; margin: 0 auto; padding: calc(env(safe-area-inset-top) + 32px) 20px calc(env(safe-area-inset-bottom) + 24px); }
.corona { width: 48px; height: 48px; border-radius: 12px; background: #2a2a2e; padding: 6px; }
@media (prefers-color-scheme: light) { .corona { background: #1a1a1c; } }
h1 { font-size: 1.6rem; margin: 10px 0 2px; }
.sub { color: var(--gris); margin: 0 0 22px; }
.app { display: flex; align-items: center; gap: 14px; background: var(--tarjeta); border-radius: 16px; padding: 14px; margin-bottom: 12px; text-decoration: none; color: inherit; }
.app img { width: 54px; height: 54px; border-radius: 12px; flex: none; }
.app .n { font-weight: 600; }
.app .d { color: var(--gris); font-size: .85rem; }
.boton { margin-left: auto; background: var(--vino); color: #fff; border: 0; border-radius: 20px; padding: 9px 16px; font-weight: 600; font-size: .9rem; font-family: inherit; flex: none; cursor: pointer; }
.nota { background: var(--tarjeta); border-radius: 14px; padding: 14px; font-size: .88rem; color: var(--gris); margin-top: 18px; }
.nota b { color: var(--texto); }
.paso { display: flex; gap: 10px; margin-top: 8px; }
.num { background: var(--vino); color: #fff; border-radius: 50%; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: .75rem; flex: none; }
.cuenta { display: flex; align-items: center; gap: 10px; color: var(--gris); font-size: .85rem; margin-top: 26px; }
.cuenta img { width: 28px; height: 28px; border-radius: 50%; }
.cuenta button { margin-left: auto; background: none; border: 1px solid #555; color: var(--texto); border-radius: 16px; padding: 6px 12px; font: inherit; }
.error { color: #e05a5a; margin-top: 12px; }
.trabajando { display: flex; align-items: center; gap: 10px; color: var(--gris); }
.giro { width: 18px; height: 18px; border: 2px solid #555; border-top-color: var(--vino); border-radius: 50%; animation: g .8s linear infinite; }
@keyframes g { to { transform: rotate(360deg); } }
.app.otra { opacity: .9; }
.boton.gris { background: #444; }
.boton:disabled { opacity: .6; }
