/* ============================================================ * banner-core.css — Sovereign Plugin / AlbertLane.net * Shared styles: top banner, watermarks, side panel, NKA modal. * Load this in before any page-specific CSS. * * CSS custom properties pages may override in :root: * --watermark-text Bottom + sub-banner watermark string * * Albert Lane · AlbertLane.net · SEC No. 17684-273-411-436 * ============================================================ */ :root { --bn-navy: #1a2e45; --bn-navy-light: #2a4a6b; --bn-gold: #b8621a; --bn-gold-light: #d4873a; --bn-cream: #faf8f4; --bn-ink: #1c1a18; --bn-ink-soft: #3a3630; --bn-ink-muted: #6b6560; --bn-rule: #d8d0c4; --bn-display: 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif; --bn-body: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', Arial, system-ui, sans-serif; --bn-mono: 'Cascadia Code', 'Fira Mono', 'Consolas', 'Courier New', monospace; --banner-h: 3.2rem; --header-clearance: 6.5rem; /* Override per page to change both bottom and sub-banner watermarks */ --watermark-text: "Albert Lane · Gemini · Anthropic's Claude · Digital Fraud Audit Series · SEC No. 17684-273-411-436 · AlbertLane.net"; } /* ── Top banner ──────────────────────────────────────────── */ .pub-banner { background: var(--bn-navy); color: rgba(255,255,255,0.9); font-family: var(--bn-body); font-size: clamp(0.62rem, 2vw, 0.82rem); line-height: 1.45; position: fixed; top: 0; left: 0; right: 0; z-index: 1000; } .pub-banner-inner { display: flex; align-items: stretch; } .pub-banner-main { flex: 1; text-align: center; padding: 0.45em 0.75em; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.1em; min-width: 0; } .banner-line-1 { font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.92); } .banner-line-1 em { font-style: italic; color: #f0c88a; } .banner-line-2 { font-family: var(--bn-mono); font-size: 0.56rem; color: rgba(255,255,255,0.5); letter-spacing: 0.12em; } .banner-line-3 { font-size: 0.62rem; color: rgba(255,255,255,0.7); } .banner-line-3 strong { color: #f0a84a; } .pub-banner a { color: #8bbfe8; text-decoration: none; } .pub-banner a:hover { color: #f0a84a; text-decoration: underline; } /* Plugin grid (right side of top banner) */ .pub-banner-plugin { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.22em; padding: 0.45em 0.75em; border-left: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.07); position: relative; z-index: 1001; } .pub-banner-plugin-label { font-family: var(--bn-mono); font-size: 0.44rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(150,130,200,0.7); white-space: nowrap; } .plugin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.22em 0.3em; } .pub-banner-plugin-link { display: block; font-family: var(--bn-body); font-size: 0.6rem; font-weight: 600; color: #fff !important; text-decoration: none !important; border: 1px solid rgba(150,130,200,0.3); border-radius: 2px; padding: 0.18em 0.45em; white-space: nowrap; cursor: pointer; transition: background 0.15s, border-color 0.15s; text-align: center; } .pub-banner-plugin-link:hover { background: rgba(150,130,200,0.18); border-color: rgba(150,130,200,0.6); } .pub-banner-plugin-link.placeholder { color: rgba(255,255,255,0.3) !important; border-color: rgba(255,255,255,0.1); cursor: default; font-style: italic; } /* Chapter nav bar (optional inside .pub-banner-main) */ .chapter-nav { font-family: var(--bn-body); font-size: clamp(0.6rem, 1.8vw, 0.72rem); color: rgba(255,255,255,0.7); margin-top: 0.28em; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.12em 0.45em; line-height: 1.4; } .chapter-nav a { color: #8bbfe8; text-decoration: none; border-bottom: 1px solid transparent; white-space: nowrap; transition: color 0.15s, border-color 0.15s; } .chapter-nav a:hover { color: #f0a84a; border-bottom-color: #f0a84a; } .chapter-nav .nav-current { color: #fff; font-weight: 600; } .chapter-nav .nav-sep { color: rgba(255,255,255,0.22); } /* ── Sub-banner watermark (positioned by banner-loader.js) ── */ #subWatermark { position: fixed; left: 0; right: 0; height: 1.4rem; display: flex; align-items: center; justify-content: center; font-family: var(--bn-body); font-size: 0.46rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(184,98,26,0.28); background: transparent; border-bottom: 1px solid rgba(184,98,26,0.1); pointer-events: none; z-index: 50; user-select: none; white-space: nowrap; overflow: hidden; } /* ── Bottom watermark ────────────────────────────────────── */ body::before { content: var(--watermark-text); position: fixed; bottom: 0; left: 0; right: 0; height: 1.4rem; display: flex; align-items: center; justify-content: center; font-family: var(--bn-body); font-size: 0.46rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(184,98,26,0.38); background: transparent; border-top: 1px solid rgba(184,98,26,0.15); pointer-events: none; z-index: 50; user-select: none; white-space: nowrap; overflow: hidden; } /* ── Left-edge nav tab ───────────────────────────────────── */ .nav-tab { position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 980; background: var(--bn-navy); color: rgba(255,255,255,0.8); border: none; border-top: 1px solid rgba(255,255,255,0.1); border-right: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.1); border-left: 3px solid var(--bn-gold); border-radius: 0 6px 6px 0; padding: 1.2rem 0.5rem; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 0.55em; box-shadow: 3px 2px 12px rgba(0,0,0,0.22); transition: background 0.2s, box-shadow 0.2s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; } .nav-tab:hover { background: var(--bn-navy-light); box-shadow: 3px 2px 18px rgba(0,0,0,0.32); } .nav-tab-icon { font-size: 1rem; line-height: 1; } .nav-tab-label { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--bn-body); font-size: 0.5rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.5); } /* ── Overlay (backdrop when sidebar open) ─────────────────── */ .nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.48); z-index: 950; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; } .nav-overlay.open { opacity: 1; pointer-events: all; } /* ── Sidebar ─────────────────────────────────────────────── */ .sidebar { position: fixed; top: 0; left: 0; width: 50%; min-width: 270px; max-width: 440px; height: 100%; height: 100dvh; background: var(--bn-navy); z-index: 960; transform: translateX(-100%); transition: transform 0.32s cubic-bezier(0.4,0,0.2,1); display: flex; flex-direction: column; overflow: hidden; border-right: 2px solid rgba(184,98,26,0.4); box-shadow: 6px 0 32px rgba(0,0,0,0.35); } .sidebar.open { transform: translateX(0); } .sidebar-header { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.14); } .sidebar-brand { display: flex; flex-direction: column; gap: 0.12em; } .sidebar-brand-role { font-family: var(--bn-mono); font-size: 0.5rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bn-gold-light); } .sidebar-brand-name { font-family: var(--bn-display); font-size: 0.95rem; font-weight: 700; color: #fff; line-height: 1.2; } .sidebar-brand-sub { font-family: var(--bn-body); font-size: 0.5rem; color: rgba(150,130,200,0.7); letter-spacing: 0.16em; text-transform: uppercase; } .sidebar-close { background: none; border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.65); font-size: 1.15rem; line-height: 1; padding: 0.28rem 0.55rem; cursor: pointer; border-radius: 3px; -webkit-tap-highlight-color: transparent; touch-action: manipulation; } .sidebar-close:hover { background: rgba(255,255,255,0.1); color: #fff; } /* ── Sidebar tools panel (secondary accordion) ───────────── */ .sidebar-tools { flex-shrink: 0; border-bottom: 1px solid rgba(255,255,255,0.06); } .sidebar-tools-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 0.5em; padding: 0.55rem 1rem; background: rgba(150,130,200,0.06); border: none; cursor: pointer; text-align: left; transition: background 0.15s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; } .sidebar-tools-toggle:hover { background: rgba(150,130,200,0.12); } .sidebar-tools-label { font-family: var(--bn-mono); font-size: 0.52rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(150,130,200,0.8); } .sidebar-tools-chevron { color: rgba(150,130,200,0.5); font-size: 0.6rem; flex-shrink: 0; transition: transform 0.22s ease; } .sidebar-tools.open .sidebar-tools-chevron { transform: rotate(90deg); } .sidebar-tools-links { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; background: rgba(0,0,0,0.1); } /* JS sets max-height via scrollHeight when .open */ .sidebar-tool-link { display: block; font-family: var(--bn-body); font-size: 0.68rem; color: rgba(255,255,255,0.5); text-decoration: none; padding: 0.35rem 1rem 0.35rem 1.2rem; border-left: 2px solid transparent; transition: color 0.15s, border-color 0.15s, background 0.15s; } .sidebar-tool-link:hover { color: rgba(150,130,200,0.9); border-left-color: rgba(150,130,200,0.5); background: rgba(255,255,255,0.03); } .sidebar-tool-link.placeholder { color: rgba(255,255,255,0.2); font-style: italic; cursor: default; } .sidebar-tool-link.placeholder:hover { color: rgba(255,255,255,0.2); border-left-color: transparent; background: none; } .sidebar-tool-link:last-child { padding-bottom: 0.5rem; } /* ── Sidebar body (scrollable series list) ────────────────── */ .sidebar-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: rgba(150,130,200,0.3) transparent; } /* ── Series accordion ────────────────────────────────────── */ .series-accordion { border-bottom: 1px solid rgba(255,255,255,0.06); } .series-toggle { width: 100%; display: flex; align-items: center; gap: 0.5em; padding: 0.8rem 1rem 0.65rem; background: none; border: none; cursor: pointer; text-align: left; transition: background 0.15s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; } .series-toggle:hover { background: rgba(255,255,255,0.04); } .series-accordion.open .series-toggle { background: rgba(255,255,255,0.03); } .series-toggle-info { flex: 1; min-width: 0; } .series-toggle-cat { font-family: var(--bn-body); font-size: 0.5rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.25); display: block; margin-bottom: 0.18em; } .series-toggle-title { font-family: var(--bn-display); font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.75); line-height: 1.25; display: block; } .series-accordion.open .series-toggle-title { color: #fff; } .series-chevron { color: rgba(255,255,255,0.28); font-size: 0.65rem; flex-shrink: 0; transition: transform 0.25s ease, color 0.15s; } .series-accordion.open .series-chevron { transform: rotate(90deg); color: var(--bn-gold-light); } .series-links { max-height: 0; overflow: hidden; /* JS drives max-height via scrollHeight for smooth open/close */ transition: max-height 0.32s ease; background: rgba(0,0,0,0.12); } .series-link { display: block; font-family: var(--bn-body); font-size: 0.7rem; color: rgba(255,255,255,0.52); text-decoration: none; padding: 0.4rem 1rem 0.4rem 1.35rem; border-left: 2px solid transparent; line-height: 1.35; transition: color 0.15s, border-color 0.15s, background 0.15s; } .series-link:hover { color: #fff; border-left-color: var(--bn-gold); background: rgba(255,255,255,0.04); } .series-link.current { color: #fff; border-left-color: var(--bn-gold); background: rgba(184,98,26,0.1); font-weight: 600; } .series-link-tag { display: block; font-family: var(--bn-mono); font-size: 0.52rem; color: var(--bn-gold); letter-spacing: 0.08em; margin-bottom: 0.04em; } .series-link-note { display: block; font-family: var(--bn-body); font-size: 0.58rem; color: rgba(255,255,255,0.28); font-style: italic; margin-top: 0.04em; } .series-link:last-child { padding-bottom: 0.6rem; } .series-placeholder-note { font-family: var(--bn-body); font-size: 0.62rem; font-style: italic; color: rgba(255,255,255,0.22); padding: 0.6rem 1rem 0.7rem 1.35rem; } /* ── Sidebar footer ──────────────────────────────────────── */ .sidebar-footer { flex-shrink: 0; padding: 0.8rem 1rem; border-top: 1px solid rgba(255,255,255,0.07); } .sidebar-footer-sec { font-family: var(--bn-mono); font-size: 0.5rem; color: rgba(255,255,255,0.18); line-height: 1.55; margin-bottom: 0.45rem; } .sidebar-footer-links { display: flex; flex-direction: column; gap: 0.08rem; } .sidebar-footer-links a { font-family: var(--bn-body); font-size: 0.62rem; color: #8bbfe8; text-decoration: none; padding: 0.1rem 0; } .sidebar-footer-links a:hover { color: var(--bn-gold-light); } .sidebar-wm { font-family: var(--bn-mono); font-size: 0.44rem; color: rgba(255,255,255,0.12); letter-spacing: 0.04em; margin-top: 0.5rem; line-height: 1.45; } .nka-btn { background: none; border: none; color: rgba(139,191,232,0.7); font-family: var(--bn-mono); font-size: inherit; letter-spacing: inherit; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 2px; -webkit-tap-highlight-color: transparent; } .nka-btn:hover { color: var(--bn-gold-light); } /* ── NKA modal ───────────────────────────────────────────── */ .nka-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.72); z-index: 9500; align-items: center; justify-content: center; padding: 1rem; } .nka-modal.open { display: flex; } .nka-modal-inner { background: var(--bn-cream); border-radius: 6px; padding: 1.8rem 1.5rem 1.5rem; width: min(75vw, 520px); max-height: 80vh; overflow-y: auto; position: relative; box-shadow: 0 8px 40px rgba(0,0,0,0.45); } .nka-modal-close { position: absolute; top: 0.75rem; right: 0.75rem; background: none; border: 1px solid var(--bn-rule); font-size: 1.1rem; line-height: 1; cursor: pointer; padding: 0.22rem 0.5rem; border-radius: 3px; color: var(--bn-ink-muted); -webkit-tap-highlight-color: transparent; } .nka-modal-close:hover { color: var(--bn-ink); } .nka-modal-content { font-family: var(--bn-body); font-size: 0.92rem; color: var(--bn-ink); line-height: 1.7; } /* ── Responsive ──────────────────────────────────────────── */ @media (max-width: 600px) { .sidebar { width: 82%; max-width: none; } .pub-banner-plugin { padding: 0.35em 0.5em; } .pub-banner-plugin-link { font-size: 0.5rem; } .pub-banner-plugin-label { font-size: 0.38rem; } .banner-line-1 { font-size: 0.62rem; } .nka-modal-inner { width: 92vw; padding: 1.4rem 1.1rem 1.1rem; } } @media (max-width: 480px) { .pub-banner-plugin { display: none; } } /* ── Print ───────────────────────────────────────────────── */ @media print { body::before { display: none; } .pub-banner, .nav-tab, .sidebar, .nav-overlay { display: none; } #subWatermark { display: none; } }