/* Shared support button + modal styles (from bitania.css) */
.nav-link-btn { background: none; border: none; padding: 0; margin: 0; font: inherit; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.01em; cursor: pointer; transition: color 0.15s ease; }
.nav-link-btn:hover, .nav-link-btn:focus-visible { color: var(--white); }
.legal-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); align-items: center; justify-content: center; padding: 24px; z-index: 100; }
.legal-overlay.open { display: flex; }
.legal-modal { width: 100%; max-width: 480px; max-height: 80vh; display: flex; flex-direction: column; background: var(--panel-solid); border: 1px solid var(--line-strong); border-radius: var(--radius); backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3); box-shadow: 0 24px 60px -20px var(--shadow-2), inset 0 1px 0 var(--inset-highlight); }
.legal-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.legal-modal-head h2 { font-family: var(--font-display); font-size: 15px; font-weight: 600; margin: 0; }
.legal-close { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; flex-shrink: 0; }
.legal-close:hover, .legal-close:focus-visible { border-color: var(--white); color: var(--white); outline: none; }
.legal-close svg { width: 12px; height: 12px; }
.legal-modal-body { padding: 16px 18px 20px; overflow-y: auto; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.legal-modal-body h3 { font-family: var(--font-body); font-size: 12.5px; font-weight: 700; color: var(--white); margin: 16px 0 6px; }
.legal-modal-body h3:first-child { margin-top: 0; }
.legal-modal-body p { margin: 0 0 10px; }
.legal-modal-body ul { margin: 0 0 10px; padding-left: 18px; }
.legal-modal-body li { margin-bottom: 4px; }
.support-modal { width: 100%; max-width: 340px; background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius); backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4); box-shadow: 0 24px 60px -20px var(--shadow-2), inset 0 1px 0 var(--inset-highlight); }
.support-modal .legal-modal-head { border-bottom: 1px solid var(--line); }
.support-options { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; }
.support-option { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--hover-1); text-decoration: none; transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease; }
.support-option:hover, .support-option:focus-visible { border-color: var(--line-strong); background: var(--hover-2); transform: translateY(-1px); outline: none; }
button.support-option { width: 100%; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.support-option-icon { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; }
.support-option-icon svg { width: 17px; height: 17px; color: var(--white); }
.support-option-text { min-width: 0; }
.support-option-text .name { display: block; font-size: 13px; font-weight: 600; color: var(--white); }
.support-option-text .detail { display: block; font-size: 11px; color: var(--muted); font-family: var(--font-mono); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }


/* Small screens: the header wraps (designer layout 2026-09-12); the nav sits under the logo. */
@media (max-width: 720px) {
  header .header-right { flex-wrap: wrap; gap: 12px 18px; width: 100%; }
  header .social-links { padding-left: 0; border-left: none; }
}

/* Visually hidden, read by screen readers and search engines (the page's h1). */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.legal-page h1 { font-family: var(--font-display); font-size: 26px; margin: 0 0 18px; }

/* Site notice banner under the header (text from admin Settings; empty = no banner). */
.site-notice { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 16px; font-size: 12.5px; line-height: 1.4; text-align: center; color: var(--white, #f3f2ee); background: rgba(255, 176, 32, 0.14); border-bottom: 1px solid rgba(255, 176, 32, 0.45); }
.site-notice-icon { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 176, 32, 0.9); color: #1a1200; font-size: 12px; font-weight: 700; flex-shrink: 0; }

/* Without JavaScript the site cannot quote or track swaps: show a wall instead of a half-working page. */
.noscript-wall { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--black, #04070c); color: var(--white, #f3f2ee); font-family: var(--font-body, -apple-system, 'Helvetica Neue', Arial, sans-serif); }
.noscript-card { max-width: 440px; padding: 28px 30px; border: 1px solid var(--line-strong, rgba(243, 242, 238, 0.32)); border-radius: 14px; background: var(--panel-solid, rgba(5, 9, 14, 0.9)); text-align: center; }
.noscript-card h1 { margin: 0 0 10px; font-size: 20px; }
.noscript-card p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted, rgba(243, 242, 238, 0.7)); }
