/* FACENEST-GAST 2026-12-04: Hinweis-Fenster und Hinweis-Seite „Nur für Mitglieder“ fuer Gaeste (assets/includes/fn_guest_access.php).
 * Eigenstaendig: haengt weder von style.css noch von Bootstrap ab, weil die Gast-Startseiten nur welcome.css laden.
 * Hell/Dunkel ueber die Klasse .fn-guest-night (Cookie mode=night, wie container.phtml fuer dark.css). */
.fn-guest-root, .fn-guest-page { --fn-g-bg: #ffffff; --fn-g-ink: #1c1e21; --fn-g-muted: #4b5563; --fn-g-accent: #c64d53; --fn-g-on-accent: #ffffff; --fn-g-ring: #1a73e8; --fn-g-shade: rgba(15, 23, 42, .55); }
.fn-guest-night.fn-guest-root, .fn-guest-page.fn-guest-night { --fn-g-bg: #1f2937; --fn-g-ink: #f3f4f6; --fn-g-muted: #d1d5db; --fn-g-accent: #e0676d; --fn-g-on-accent: #111827; --fn-g-ring: #8ab4f8; --fn-g-shade: rgba(0, 0, 0, .7); }

.fn-guest-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.fn-guest-lock { display: inline-flex; align-items: center; margin-left: 4px; vertical-align: middle; opacity: .7; }
.fn-guest-lock svg { width: 14px; height: 14px; }

.fn-guest-root { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; padding: 16px; background: var(--fn-g-shade); font-family: inherit; }
.fn-guest-root.fn-guest-open { display: flex; }
.fn-guest-dialog { position: relative; width: 100%; max-width: 420px; max-height: calc(100vh - 32px); overflow: auto; }

.fn-guest-card { box-sizing: border-box; background: var(--fn-g-bg); color: var(--fn-g-ink); border-radius: 16px; padding: 28px 24px 22px; text-align: center; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); }
.fn-guest-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 12px; border-radius: 50%; background: var(--fn-g-accent); color: var(--fn-g-on-accent); }
.fn-guest-title { margin: 0 0 10px; font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--fn-g-ink); }
.fn-guest-msg { margin: 0 0 20px; font-size: 16px; line-height: 1.55; color: var(--fn-g-muted); }
.fn-guest-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.fn-guest-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 10px; background: var(--fn-g-accent); color: var(--fn-g-on-accent) !important; font-size: 16px; font-weight: 600; text-decoration: none !important; }
.fn-guest-btn:hover { filter: brightness(1.06); }
.fn-guest-link { color: var(--fn-g-accent) !important; font-size: 15px; font-weight: 600; text-decoration: underline; }
.fn-guest-btn:focus-visible, .fn-guest-link:focus-visible, .fn-guest-close:focus-visible { outline: 3px solid var(--fn-g-ring); outline-offset: 2px; }
.fn-guest-close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--fn-g-muted); font-size: 26px; line-height: 1; cursor: pointer; }
.fn-guest-close:hover { background: rgba(127, 127, 127, .15); }
.fn-guest-backline { margin: 18px 0 0; font-size: 14px; }

.fn-guest-page { display: flex; justify-content: center; padding: 40px 16px 60px; }
.fn-guest-page .fn-guest-card { width: 100%; max-width: 480px; }

@media (max-width: 480px) {
  .fn-guest-card { padding: 24px 16px 18px; }
  .fn-guest-title { font-size: 20px; }
  .fn-guest-btn { width: 100%; }
}
