/* Sign-up / login / account dialogs (homepage). Dialog base styles come from styles.css. */
dialog.authd{max-width:460px;padding:34px 30px}
dialog.authd h2{margin:6px 0 4px}
.authd [hidden]{display:none!important}   /* flex/block rules below must not defeat the hidden attribute */
.auth-sub{margin:0 0 6px;font-size:16px;line-height:1.5;color:#5b4bb0;font-weight:600}
.auth-tabs{display:flex;justify-content:center;gap:8px;margin:14px 0 18px}
.auth-tabs button{font:inherit;font-size:17px;font-weight:700;color:#321094;background:#efebff;border:2px solid #cfc3ff;border-radius:14px;padding:8px 22px}
.auth-tabs button[aria-selected="true"]{background:var(--purple);border-color:var(--purple);color:#fff}
.gbtn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;font:inherit;font-size:18px;font-weight:700;color:#321094;background:#fff;border:2px solid #cfc3ff;border-radius:16px;padding:12px 16px}
.gwrap{display:flex;justify-content:center;min-height:44px;color-scheme:light}
.gbtn svg{width:22px;height:22px;flex:none}
.gbtn:disabled,.authd .go:disabled{opacity:.6;cursor:wait}
.auth-or{display:flex;align-items:center;gap:12px;margin:16px 0 4px;color:#7a6fb0;font-size:15px;font-weight:600}
.auth-or::before,.auth-or::after{content:"";flex:1;height:2px;background:#e6e3f1}
.authd form{display:flex;flex-direction:column;gap:6px;text-align:right}
.authd label{font-size:16px;font-weight:600;margin-top:8px}
.authd input[type=email],.authd input[type=password],.authd input[type=text]{font:inherit;font-size:18px;color:#321094;background:#efebff;border:2px solid #cfc3ff;border-radius:14px;padding:11px 14px;width:100%;text-align:left}
.authd input:focus-visible{outline:3px solid var(--mint);outline-offset:2px}
.authd .hint{margin:0;font-size:14px;font-weight:500;color:#7a6fb0;line-height:1.4}
.authd label.terms{display:flex;align-items:flex-start;gap:10px;font-size:15px;font-weight:500;line-height:1.5;margin-top:12px}
.authd label.terms input{width:20px;height:20px;margin-top:2px;flex:none;accent-color:var(--purple)}
.authd .go{align-self:center;width:100%;max-width:260px;margin:16px 0 0;font-size:20px;cursor:pointer}
.linkbtn{align-self:center;background:none;border:0;color:#3011a5;font-size:15px;font-weight:600;text-decoration:underline;padding:8px}
.authd .msg{margin:14px 0 0;font-size:16px;line-height:1.6}
.authd .msg.err{color:#c0392b}
.acct-line{margin:8px 0;font-size:18px;line-height:1.6;word-break:break-word}
.acct-line b{display:block;direction:ltr;font-size:17px}
.acct-status{font-weight:700;color:#3011a5}
@media(max-width:700px){dialog.authd{padding:30px 20px}}
.entries{margin-inline-start:auto;display:flex;gap:10px;align-items:center}
.entries .entry{margin-inline-start:0;text-decoration:none;display:inline-block;color:#fff}
.entry.fill{background:var(--yellow);border-color:var(--yellow);color:#281080!important}
.choice{display:flex;align-items:center;gap:14px;width:100%;border:2px solid #cfc3ff;background:#efebff;border-radius:18px;padding:14px 18px;text-align:right;margin-top:10px;font:inherit;color:inherit;cursor:pointer}
.choice b{display:block;font-size:19px}
.choice small{font-size:13px;color:#7a6fb0;font-weight:500}
.choice .em{font-size:28px}
.authd a.go{display:inline-flex;align-items:center;justify-content:center;margin-top:16px;text-decoration:none}

/* links inside the consent lines */
.authd label.terms a,.authd .auth-sub a{color:#5529ef;text-decoration:underline;font-weight:700}
.auth-gift{margin:8px 0 10px;padding:10px 14px;border-radius:14px;background:#fffbea;border:2px solid #ffd23f;color:#281080;font-size:16px;line-height:1.45;font-weight:700}   /* free taste note on the sign-up form (Dan 2026-11-17) */
