/* Private presence: distinct controls, existing Nightwall burgundy identity. */
.nwpres-panel, .nwpres-dialog { --nwpres-panel: #1d1720; --nwpres-soft: #291c26; --nwpres-text: #faf5f7; --nwpres-muted: #c5b3c0; --nwpres-line: #674053; --nwpres-focus: #f3c2d3; color: var(--nwpres-text); color-scheme: dark; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
.nwpres-panel *, .nwpres-dialog *, .nwpres-panel *::before, .nwpres-dialog *::before { box-sizing: border-box; }
.nwpres-panel [hidden], .nwpres-dialog[hidden], .nwpres-dialog [hidden], [data-nwp-revoke][hidden], [data-nwp-presence-retry][hidden] { display: none !important; }
.nwpres-panel { margin: 18px 0; padding: clamp(18px, 3vw, 30px); border: 1px solid var(--nwpres-line); border-radius: 22px; background: var(--nwpres-panel); }
.nwpres-panel p, .nwpres-dialog p, .nwpres-panel h2, .nwpres-dialog h2 { margin: 0; }
.nwpres-panel-heading, .nwpres-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.nwpres-panel-heading { justify-content: flex-start; }
.nwpres-symbol { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 15px; background: #800020; color: #fff; font-size: 30px; line-height: 1; }
.nwpres-kicker { color: #eab7cb; font-size: 10px; font-weight: 750; letter-spacing: .09em; }
.nwpres-panel h2, .nwpres-dialog h2 { color: var(--nwpres-text); font-size: clamp(24px, 4vw, 30px); font-weight: 750; letter-spacing: -.035em; line-height: 1.25; margin-top: 5px; }
.nwpres-intro, .nwpres-login p { color: var(--nwpres-muted); font-size: 14px; line-height: 1.7; max-width: 65ch; }
.nwpres-own-status { margin-top: 16px !important; padding: 12px 14px; border: 1px solid var(--nwpres-line); border-radius: 13px; background: var(--nwpres-soft); color: var(--nwpres-text); font-size: 13px; overflow-wrap: anywhere; }
.nwpres-own-status[data-active="true"] { border-color: #ae5a76; box-shadow: inset 3px 0 #9b2847; }
.nwpres-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 15px; }
.nwpres-primary, .nwpres-secondary, .nwpres-close, .nwpres-map-trigger, .nwpres-card-trigger { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 15px; border: 1px solid #9b2847; border-radius: 12px; font: inherit; font-size: 13px; line-height: 1.45; font-weight: 650; cursor: pointer; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.nwpres-primary { background: #800020; color: #fff !important; }
.nwpres-primary:hover { background: #9b2847; border-color: #bf6b88; }
.nwpres-secondary { background: var(--nwpres-soft); color: var(--nwpres-text); border-color: var(--nwpres-line); }
.nwpres-secondary:hover { background: #472334; border-color: #b86b87; }
.nwpres-panel :is(button, a, input, select):focus-visible, .nwpres-dialog :is(button, a, input, select):focus-visible, .nwpres-map-trigger:focus-visible, .nwpres-card-trigger:focus-visible { outline: 3px solid var(--nwpres-focus, #f3c2d3); outline-offset: 3px; }
.nwpres-panel button:disabled, .nwpres-dialog button:disabled, .nwpres-dialog select:disabled { opacity: .55; cursor: not-allowed; }
.nwpres-boundary { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--nwpres-line); }
.nwpres-boundary strong { display: block; font-size: 13px; }
.nwpres-boundary p { margin-top: 6px; color: var(--nwpres-muted); font-size: 12px; line-height: 1.7; }
.nwpres-dialog { position: fixed; inset: 0; z-index: 1400; width: min(100% - 32px, 540px); max-width: 540px; max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid var(--nwpres-line); border-radius: 24px; background: var(--nwpres-panel); box-shadow: 0 22px 90px #0009; }
.nwpres-dialog::backdrop { background: #09060cce; backdrop-filter: blur(7px); }
.nwpres-dialog-card { padding: clamp(20px, 5vw, 30px); }
.nwpres-dialog-head { align-items: flex-start; }
.nwpres-close { flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border-radius: 50%; background: var(--nwpres-soft); color: var(--nwpres-text); border-color: var(--nwpres-line); font-size: 26px; }
.nwpres-close:hover { background: #472334; }
.nwpres-form { display: grid; gap: 15px; margin-top: 20px; }
.nwpres-field { display: grid; gap: 7px; min-width: 0; }
.nwpres-field > span { color: var(--nwpres-text); font-size: 12px; font-weight: 650; }
.nwpres-field select { min-height: 48px; width: 100%; min-width: 0; max-width: 100%; padding: 10px 12px; border: 1px solid var(--nwpres-line); border-radius: 11px; background: var(--nwpres-soft); color: var(--nwpres-text); font: inherit; font-size: 16px; line-height: 1.5; }
.nwpres-field-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px; }
.nwpres-help { color: var(--nwpres-muted); font-size: 12px; line-height: 1.65; }
.nwpres-consent { display: flex; align-items: flex-start; gap: 11px; padding: 13px; border-radius: 12px; background: var(--nwpres-soft); color: var(--nwpres-text); font-size: 13px; line-height: 1.65; cursor: pointer; }
.nwpres-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin: 2px 0 0; accent-color: #9b2847; }
.nwpres-feedback { margin-top: 12px !important; color: #f0c2d1; font-size: 13px; overflow-wrap: anywhere; }
.nwpres-feedback:empty { display: none; }
.nwpres-feedback[data-error="true"] { padding: 11px 13px; border: 1px solid #b16b7d; border-radius: 11px; background: #492332; color: #ffe1e9; }
.nwpres-login { margin-top: 18px; }
.nwpres-login a { margin-top: 13px; }
.nwpres-dialog-actions:empty { display: none; }
.nwpres-map-trigger { position: absolute; z-index: 6; left: 16px; top: 12px; max-width: 118px; gap: 6px; padding: 10px 12px; border-color: #725064; border-radius: 24px; background: #19131eea; color: #fff5f9; box-shadow: 0 3px 13px #0003; backdrop-filter: blur(12px); font-size: 11px; pointer-events: auto; }
.nwpres-map-trigger:hover { background: #382031; border-color: #b86b87; }
.nwpres-map-trigger svg { width: 17px; height: 17px; flex: 0 0 17px; }
.nwpres-map-trigger[data-nwp-active="true"] { background: #800020; border-color: #ce8aa2; }
.nwm-floating-top > .nwpres-map-trigger { position: relative; grid-column: 1; grid-row: 1; justify-self: start; left: auto; top: auto; }
.nwpres-card-trigger { min-height: 44px; margin: 4px 6px 0 0; padding: 8px 11px; border-color: #855168; background: #241a25; color: #edccdb; font-size: 11px; }
.nwpres-card-trigger:hover { background: #472334; border-color: #bc7390; }
.nwm .nwpres-map-trigger, .nwm .nwpres-card-trigger { font-size: 11px; line-height: 1.45; font-weight: 650; color: #fff5f9; }
.nwe-v3[data-theme="day"] .nwpres-panel, .nwpres-dialog[data-theme="day"] { --nwpres-panel: #fffafc; --nwpres-soft: #f5e7ef; --nwpres-text: #37212e; --nwpres-muted: #755165; --nwpres-line: #c6a0b3; --nwpres-focus: #800020; color-scheme: light; }
.nwe-v3[data-theme="day"] .nwpres-kicker, .nwpres-dialog[data-theme="day"] .nwpres-kicker { color: #800020; }
.nwe-v3[data-theme="day"] .nwpres-secondary:hover, .nwpres-dialog[data-theme="day"] .nwpres-secondary:hover, .nwpres-dialog[data-theme="day"] .nwpres-close:hover { background: #ebd0dd; color: #59243e; }
.nwpres-dialog[data-theme="day"] .nwpres-feedback { color: #800020; }
.nwpres-dialog[data-theme="day"] .nwpres-feedback[data-error="true"] { background: #f8e0e8; color: #70203b; }
.nwe-v3[data-theme="day"] .nwpres-map-trigger { background: #fffafcf2; color: #54263c; border-color: #bc8ca3; }
.nwe-v3[data-theme="day"] .nwpres-map-trigger[data-nwp-active="true"] { background: #800020; color: #fff; }
.nwe-v3[data-theme="day"] .nwpres-card-trigger { background: #f3e0e9; color: #800020; border-color: #b7748f; }
.nwp-concept-preview { margin-top: 24px; padding: 14px 16px; border: 1px solid #674053; border-radius: 15px; background: #20161f; }
.nwp-concept-preview > summary { min-height: 44px; cursor: pointer; color: #d8b5c7; font-size: 13px; line-height: 1.6; padding-block: 10px; }
.nwp-concept-preview > summary:focus-visible { outline: 3px solid #f3c2d3; outline-offset: 3px; }
.nwe-v3[data-theme="day"] .nwp-concept-preview { background: #f8edf2; border-color: #c6a0b3; }
.nwe-v3[data-theme="day"] .nwp-concept-preview > summary { color: #71405a; }
@media (max-width: 560px) { .nwpres-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 20px; } .nwpres-dialog-card { padding: 20px 17px max(20px, env(safe-area-inset-bottom)); } .nwpres-map-trigger { width: 44px; min-width: 44px; max-width: 44px; height: 44px; padding: 0; } .nwpres-map-trigger > span { display: none; } }
@media (max-width: 380px) { .nwpres-field-grid { grid-template-columns: minmax(0, 1fr); } .nwpres-dialog-card { padding-inline: 14px; } }
@media (prefers-reduced-motion: reduce) { .nwpres-dialog *, .nwpres-panel * { scroll-behavior: auto !important; } }
