/* No Funnel — visitor room (/talk/, /call/<id>) and Anas's console (/hq/nofunnel/). 1Club dark + cyan glow. */
:root { --bg: #05070a; --bg-2: #0a0e12; --tile: #0b1116; --ink: #f2f5f7; --ink-2: rgba(242,245,247,.72); --mute: rgba(242,245,247,.48);
  --line: rgba(242,245,247,.12); --accent: #39d5ff; --ice: #bff7ff; --red: #ff5a5f; --ok: #4ade9b;
  --display: "Inter Tight", "Helvetica Neue", Arial, sans-serif; --body: "Geist", "Inter", system-ui, sans-serif; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
.nf-i { display: inline-flex; width: 20px; height: 20px; line-height: 1; }
.nf-i svg { width: 100%; height: 100%; }
.nf-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 4px; }
[hidden] { display: none !important; }

/* buttons: glow, never slide (1Club rule) */
.nf-btn { appearance: none; border: 1px solid rgba(191,247,255,.35); background: var(--ice); color: #041015; font: 600 15px/1 var(--display);
  padding: 14px 22px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: box-shadow .3s, background .3s; }
.nf-btn:hover { box-shadow: 0 0 0 1px rgba(191,247,255,.5), 0 0 18px rgba(57,213,255,.55), 0 0 46px rgba(57,213,255,.25); }
.nf-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.nf-btn--red { background: var(--red); color: #fff; border-color: transparent; }
.nf-round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: #141b21; color: var(--ink); cursor: pointer;
  display: inline-grid; place-items: center; transition: box-shadow .3s, background .3s; }
.nf-round:hover { box-shadow: 0 0 14px rgba(57,213,255,.45); }
.nf-round.off { background: var(--red); border-color: transparent; }
.nf-round.on { background: var(--accent); color: #041015; }

/* top bar */
.nf-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.nf-top img { height: 26px; }
.nf-pill { font: 500 12px/1 var(--display); padding: 7px 11px; border-radius: 999px; background: #141b21; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; }
.nf-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

/* centred screens (connecting, away, ended) */
.nf-screen { min-height: calc(100% - 56px); display: grid; place-items: center; padding: 28px 18px; }
.nf-card { width: min(880px, 100%); text-align: center; }
.nf-photo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(191,247,255,.5);
  box-shadow: 0 0 30px rgba(57,213,255,.35); background: var(--tile); }
.nf-photo.pulse { animation: nfPulse 1.6s ease-in-out infinite; }
@keyframes nfPulse { 50% { box-shadow: 0 0 0 14px rgba(57,213,255,.08), 0 0 50px rgba(57,213,255,.55); } }
.nf-h { font: 600 clamp(26px, 4vw, 40px)/1.15 var(--display); letter-spacing: -.02em; margin: 18px 0 8px; }
.nf-sub { color: var(--ink-2); margin: 0 auto 22px; max-width: 560px; }
.nf-cal { width: 100%; height: 680px; border: 0; border-radius: 18px; background: #fff; }
.nf-faq { text-align: left; max-width: 640px; margin: 30px auto 0; }
.nf-faq details { border-top: 1px solid var(--line); padding: 14px 4px; }
.nf-faq summary { cursor: pointer; font: 500 16px/1.3 var(--display); }
.nf-faq p { color: var(--ink-2); margin: 8px 0 0; }

/* the call */
.nf-call { display: grid; grid-template-columns: 1fr 300px; gap: 14px; height: calc(100% - 56px); padding: 14px; }
.nf-stage { position: relative; background: var(--tile); border: 1px solid var(--line); border-radius: 22px; overflow: auto; display: grid; place-items: center; min-height: 0; }
.nf-stage[data-view="book"] { place-items: stretch; padding: 10px; }
.nf-side { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.nf-tiles { display: grid; gap: 10px; }
.nf-tile { position: relative; aspect-ratio: 4/3; background: #11181e; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.nf-tile video { width: 100%; height: 100%; object-fit: cover; }
.nf-av { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #1287a8, #39d5ff); color: #041015; font: 600 28px var(--display); }
.nf-lbl { position: absolute; left: 10px; bottom: 8px; font: 500 12px var(--display); background: rgba(0,0,0,.55); padding: 4px 8px; border-radius: 8px; }
.nf-mute { position: absolute; right: 8px; top: 8px; background: var(--red); border-radius: 50%; width: 28px; height: 28px; display: grid; place-items: center; }
.nf-mute .nf-i { width: 16px; height: 16px; }
.nf-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.nf-chat { flex: 1; min-height: 160px; display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.nf-chat__list { list-style: none; margin: 0; padding: 10px; flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 8px; }
.nf-chat__list li { background: #141b21; border-radius: 12px; padding: 8px 10px; max-width: 92%; word-break: break-word; }
.nf-chat__list li.me { align-self: flex-end; background: #0f3340; }
.nf-chat__list small { color: var(--mute); font-size: 11px; }
.nf-chat__list p { margin: 2px 0 0; font-size: 14px; }
.nf-chat form { display: flex; border-top: 1px solid var(--line); }
.nf-chat input { flex: 1; background: transparent; border: 0; color: var(--ink); padding: 12px; font: 14px var(--body); outline: none; }
.nf-chat button { background: transparent; border: 0; color: var(--accent); padding: 0 12px; cursor: pointer; }

/* stage views */
.nf-slide { width: 100%; height: 100%; object-fit: contain; }
.nf-blank img { width: 120px; opacity: .8; }
.nf-wait { text-align: center; color: var(--ink-2); }
.nf-big { font: 600 34px var(--display); color: var(--ok); margin: 0; }
.nf-spin { display: inline-block; width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: nfSpin 1s linear infinite; }
@keyframes nfSpin { to { transform: rotate(360deg); } }
.nf-score { width: min(560px, 92%); padding: 24px 0; }
.nf-k { font: 500 12px var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin: 14px 0 8px; }
.nf-score__ring { --p: 50; width: 150px; height: 150px; border-radius: 50%; margin: 6px auto 16px; display: grid; place-items: center; align-content: center;
  background: radial-gradient(closest-side, var(--tile) 82%, transparent 83%), conic-gradient(var(--accent) calc(var(--p) * 1%), #1c252c 0); }
.nf-score__ring b { font: 600 44px var(--display); line-height: 1; }
.nf-score__ring span { color: var(--mute); font-size: 13px; }
.nf-score__bars > div { display: grid; grid-template-columns: 90px 1fr 34px; gap: 10px; align-items: center; margin: 6px 0; font-size: 14px; }
.nf-score__bars i { height: 8px; border-radius: 9px; background: linear-gradient(90deg, var(--accent) var(--w), #1c252c var(--w)); }
.nf-score__why { color: var(--ink-2); }
.nf-score ol { padding-left: 20px; color: var(--ink-2); }

/* tap-to-hear overlay (browsers that block sound) */
.nf-tap { position: fixed; inset: auto 0 22px; margin: auto; width: max-content; z-index: 20; }

@media (max-width: 820px) {
  .nf-call { grid-template-columns: 1fr; grid-template-rows: 46vh auto; height: auto; }
  .nf-tiles { grid-template-columns: 1fr 1fr; }
  .nf-chat { min-height: 220px; }
  .nf-cal { height: 760px; }
}

/* ---------- console (/hq/nofunnel/) ---------- */
.nfc { display: grid; grid-template-columns: 1fr 340px; gap: 14px; padding: 14px; min-height: calc(100% - 56px); }
.nfc-panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.nfc-panel h3 { font: 600 14px var(--display); margin: 0 0 10px; color: var(--ink-2); letter-spacing: .04em; text-transform: uppercase; }
.nfc-switch { display: flex; align-items: center; gap: 14px; }
.nfc-switch button { width: 76px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: #1c252c; position: relative; cursor: pointer; }
.nfc-switch button::after { content: ""; position: absolute; top: 4px; left: 4px; width: 30px; height: 30px; border-radius: 50%; background: var(--mute); transition: left .25s, background .25s; }
.nfc-switch button[aria-pressed="true"] { background: rgba(74,222,155,.25); box-shadow: 0 0 16px rgba(74,222,155,.35); }
.nfc-switch button[aria-pressed="true"]::after { left: 40px; background: var(--ok); }
.nfc-ring { border-color: var(--accent); box-shadow: 0 0 30px rgba(57,213,255,.35); animation: nfPulse 1.2s ease-in-out infinite; }
.nfc-stagebtns { display: flex; gap: 8px; flex-wrap: wrap; }
.nfc-stagebtns .nf-btn { padding: 10px 14px; font-size: 13px; }
.nfc-stagebtns .nf-btn[aria-current="true"] { box-shadow: 0 0 0 2px var(--accent), 0 0 18px rgba(57,213,255,.5); }
.nfc textarea, .nfc input { width: 100%; background: #0f151a; border: 1px solid var(--line); color: var(--ink); border-radius: 12px; padding: 12px; font: 14px var(--body); }
.nfc textarea { min-height: 220px; resize: vertical; }
.nfc input + input, .nfc input + textarea { margin-top: 8px; }
.nfc-calls { width: 100%; border-collapse: collapse; font-size: 13px; }
.nfc-calls td, .nfc-calls th { text-align: left; padding: 8px 6px; border-top: 1px solid var(--line); }
.nfc-calls th { color: var(--mute); font-weight: 500; }
.nfc-note { color: var(--ink-2); font-size: 13px; }
@media (max-width: 980px) { .nfc { grid-template-columns: 1fr; } }
