/* Cuenta: entrar, revisar correo y "Mis invitaciones". Usa la base de gallery.css. */
.top { justify-content: space-between; gap: 12px; }
.acct-nav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.acct-nav a, .linkish { color: var(--tinta); text-decoration: none; }
.acct-nav a:hover, .linkish:hover { text-decoration: underline; text-underline-offset: 3px; }
.acct-nav form { margin: 0; }
.linkish { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; color: var(--tinta-suave); }

.narrow { max-width: 460px; margin: 0 auto; padding: 56px max(18px, env(safe-area-inset-right, 0px)) 64px max(18px, env(safe-area-inset-left, 0px)); }
.narrow h1 { font-size: clamp(30px, 7vw, 40px); }
.card { background: var(--hoja); border: 1px solid var(--linea); border-radius: 4px; }
.form { display: flex; flex-direction: column; gap: 10px; padding: 22px; margin: 6px 0 18px; }
.form label { font-weight: 600; font-size: 14px; }
.form input { width: 100%; border: 1px solid #D6CCC4; border-radius: 4px; padding: 12px 14px; font: inherit; font-size: 16px; background: #fff; }
.form input:focus { outline: none; border-color: var(--tinta); box-shadow: 0 0 0 3px rgba(42,34,38,.08); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: 4px; border: 1px solid #D6CCC4; background: var(--hoja);
  color: var(--tinta); text-decoration: none; cursor: pointer; font: inherit; font-weight: 500; font-size: 14px; white-space: nowrap; }
.btn:hover { border-color: var(--tinta-suave); }
.btn.primary { background: var(--vino); border-color: var(--vino); color: #fff; }
.form .btn { padding: 13px 18px; font-size: 15px; margin-top: 4px; }
.btn.big { padding: 14px 28px; font-size: 16px; }
.small { font-size: 13.5px; color: var(--tinta-suave); }
.small a, .lead a { color: var(--vino); }
.msg { border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; }
.msg.err { background: #F5E6E3; color: #A33A1F; }
.msg.ok { background: #E6EBE1; color: #4F5D48; }
/* Pestañas Entrar / Crear cuenta */
.tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 22px 0 16px; border-bottom: 1px solid var(--linea); }
.tabs a { text-align: center; padding: 10px 12px; color: var(--tinta-suave); text-decoration: none; font-weight: 600; font-size: 16px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current="page"] { color: var(--vino); border-bottom-color: var(--vino); }
/* Contraseña con botón Ver/Ocultar */
.pw { position: relative; }
.pw input { padding-right: 84px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; padding: 8px 10px; font: inherit; font-size: 13px; font-weight: 600; color: var(--tinta-suave); cursor: pointer; }
.hint-small { margin: -4px 0 0; font-size: 13px; color: var(--tinta-suave); }
.forgot { align-self: center; margin-top: 6px; font-size: 14px; color: var(--vino); }
.dev { padding: 16px 18px; margin-top: 18px; border-style: dashed; font-size: 13.5px; word-break: break-all; }
.dev p { margin: 4px 0 8px; color: var(--tinta-suave); }
.dev a { color: var(--vino); }

.mine-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.mine-head h1 { margin-bottom: 0; }
.events { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.ev { padding: 20px 22px; display: flex; flex-direction: column; gap: 2px; }
.ev-head { display: flex; justify-content: space-between; align-items: center; }
.ev h2 { margin: 6px 0 0; font-family: "Newsreader", Georgia, serif; font-weight: 400; font-size: 26px; line-height: 1.15; }
.ev-date { margin: 2px 0 0; }
.ev-plan { margin: 0; font-size: 13px; color: var(--tinta-suave); }
.ev-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; align-items: center; }
.ev-del { margin: 0 0 0 auto; }
.link-del { border: 0; background: none; padding: 8px 4px; font: inherit; font-size: 14px; color: var(--tinta-suave); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-del:hover { color: #9B2C2C; }
dialog.confirm { max-width: 420px; width: calc(100% - 32px); border: 1px solid var(--linea, #ddd); border-radius: 6px; padding: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
dialog.confirm::backdrop { background: rgba(30, 20, 24, .45); }
dialog.confirm h2 { margin: 0 0 8px; }
dialog.confirm p { margin: 0 0 20px; line-height: 1.5; }
.confirm-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.btn.danger { background: #9B2C2C; border-color: #9B2C2C; color: #fff; }
.chip { font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; }
.chip.draft { background: #F1EEE9; color: var(--tinta-suave); }
.chip.pub { background: #E6EBE1; color: #4F5D48; }
.empty { padding: 32px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.empty h2 { margin: 0; font-family: "Newsreader", Georgia, serif; font-weight: 400; font-size: 26px; }
.empty p { margin: 0 0 14px; color: var(--tinta-suave); }
/* Página para subir la canción desde el celular */
.tips { margin-top: 22px; padding: 14px 16px; border: 1px solid var(--linea); border-radius: 4px; background: var(--hoja); font-size: 15px; }
.tips p { margin: 0 0 10px; }
.tips p:last-child { margin-bottom: 0; }
.pick { display: flex; flex-wrap: wrap; gap: 10px; }
