/* The guest's hint (family-guest-hint.js): a card in the middle of the screen (Andrew: every pop-up is centred; audit P4-02). */
.guest-hint{position:fixed;z-index:55;inset:0;margin:auto;height:fit-content;width:min(340px,calc(100vw - 32px));padding:16px 16px 14px;border:1px solid #d9ddd3;border-radius:16px;background:#fffefa;color:#253d33;box-shadow:0 14px 40px #1f332933;font-size:14px;line-height:1.45;animation:guest-hint-in .3s ease-out}
.guest-hint-text{margin:0 0 6px;font-weight:600}
/* v2 (23.10): one thing a guest misses, «Войти» and «В следующий раз». */
.guest-hint-item{margin:0 0 12px;padding:8px 12px;border-radius:10px;background:#eef3e9;color:#1f3a2c;font-weight:600;font-size:15px;line-height:1.4}
.guest-hint-buttons{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.guest-hint-later{min-height:40px;padding:8px 14px;border:1px solid #cfd8c8;border-radius:999px;background:transparent;color:#365c48;font:inherit;font-weight:600;cursor:pointer}
.guest-hint-later:focus-visible{outline:3px solid #b68c50;outline-offset:2px}
.guest-hint-note{margin:10px 0 0;font-size:12.5px;color:#596657}
.guest-hint-resend{margin-top:6px;padding:4px 0;min-height:32px;border:0;background:none;color:#365c48;font:inherit;font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.guest-hint-login{min-height:40px;padding:8px 20px;border:0;border-radius:999px;background:#365c48;color:#fff;font:inherit;font-weight:600;cursor:pointer}
.guest-hint-login:focus-visible,.guest-hint-close:focus-visible{outline:3px solid #b68c50;outline-offset:2px}
.guest-hint-close{position:absolute;top:8px;inset-inline-end:8px;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:#596657;font-size:22px;line-height:1;cursor:pointer}
@keyframes guest-hint-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.guest-hint{animation:none}}
/* «Прислать приглашение ещё раз» (public/family-resend.js), the full site's window and /m/'s screen. */
.resend-trap{position:absolute!important;inset-inline-start:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.resend-title{margin:0 0 8px}
.resend-intro{margin:0 0 14px;color:#596657}
.resend-form{display:grid;gap:12px;max-width:520px}
.resend-form label{display:grid;gap:5px;font-weight:600;font-size:14px;color:#253d33}
.resend-form input{min-height:44px;padding:8px 12px;border:1px solid #cfd6c8;border-radius:10px;font:inherit;font-weight:400;background:#fffefa;color:#1f2a23}
.resend-send{justify-self:start;min-height:44px;padding:0 24px;border:0;border-radius:999px;background:#365c48;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.resend-send:disabled{opacity:.6;cursor:default}
.resend-error{margin:0;color:#8a3b2e}
.resend-answer{margin:0;padding:14px 16px;border-radius:12px;background:#eef3e9;color:#1f3a2c;font-size:16px;line-height:1.5}
.m-resend{padding:16px 16px 28px}.m-resend .resend-title{font-size:1.375rem;line-height:1.25}
