/* WATCHER members' sign-in (watcher.borsa321.com), in the BORSA Desk family: the same type, a broadcast wall behind. */
:root {
  color-scheme: dark;
  --bg: #050506;
  --line: #2a1a1c;
  --line-2: #3a2427;
  --red: #ff3b3b;
  --red-glow: rgba(255, 59, 59, .35);
  --lime: #d1fe17;
  --green: #00ff66;
  --down: #ff5a5a;
  --ink: #fff4f2;
  --dim: #c9b1ae;
  --mute: #86706d;
  --wide: "Unbounded", "Space Grotesk", system-ui, sans-serif;
  --sans: "Space Grotesk", -apple-system, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--lime); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

/* the broadcast wall behind everything: a bank of monitors in perspective, flickering, under scan lines */
.stage { position: fixed; inset: 0; overflow: hidden; background: radial-gradient(85% 70% at 50% 52%, #2a0b0d 0%, #110506 50%, var(--bg) 100%); }
.wall { position: absolute; left: 50%; top: 58%; width: min(1500px, 140vw); aspect-ratio: 16 / 7; transform: translate(-50%, -50%) perspective(900px) rotateX(18deg);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; filter: blur(2px) saturate(1.3); opacity: .8; }
.wall i { border-radius: 10px; border: 1px solid rgba(255, 120, 110, .18);
  background: linear-gradient(160deg, #3b1216, #12070a 60%), #12070a; box-shadow: 0 0 40px rgba(255, 59, 59, .08) inset;
  animation: flicker 6s ease-in-out infinite; position: relative; overflow: hidden; }
.wall i::after { content: ""; position: absolute; left: 8%; right: 30%; bottom: 12%; height: 14%; border-radius: 3px;
  background: linear-gradient(90deg, rgba(255, 59, 59, .55), rgba(255, 255, 255, .12)); }
.wall i:nth-child(3n)::after { right: 12%; background: linear-gradient(90deg, rgba(209, 254, 23, .35), rgba(255, 255, 255, .08)); }
.wall i:nth-child(4n+1) { background: linear-gradient(200deg, #2b2030, #0c0709 65%); }
.wall i:nth-child(5n+2) { background: linear-gradient(140deg, #18233a, #0a0709 60%); }
.wall i:nth-child(2) { animation-delay: -1s; } .wall i:nth-child(3) { animation-delay: -2.4s; } .wall i:nth-child(4) { animation-delay: -3.1s; }
.wall i:nth-child(5) { animation-delay: -.6s; } .wall i:nth-child(6) { animation-delay: -4.2s; } .wall i:nth-child(7) { animation-delay: -1.8s; }
.wall i:nth-child(8) { animation-delay: -5s; } .wall i:nth-child(9) { animation-delay: -2.9s; } .wall i:nth-child(10) { animation-delay: -3.7s; }
.wall i:nth-child(11) { animation-delay: -.2s; } .wall i:nth-child(12) { animation-delay: -4.6s; }
@keyframes flicker { 0%, 100% { filter: brightness(.8); } 40% { filter: brightness(1.25); } 55% { filter: brightness(.95); } }
.scan { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 2px, transparent 2px 4px); mix-blend-mode: multiply; }
.stage::before, .stage::after { content: ""; position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; }
.stage::before { top: 0; height: 260px; background: linear-gradient(180deg, rgba(5, 5, 6, .97) 30%, rgba(5, 5, 6, 0)); }
.stage::after { bottom: 0; height: 220px; background: linear-gradient(0deg, rgba(5, 5, 6, .97) 45%, rgba(5, 5, 6, 0)); }

/* layout: nav, the headline, the ticket in the middle with a panel each side, the tape at the bottom */
.page { position: relative; z-index: 2; max-width: 1360px; margin: 0 auto; min-height: 100svh;
  padding: max(18px, env(safe-area-inset-top)) clamp(16px, 2.5vw, 30px) 74px;
  display: grid; gap: 18px 28px; align-content: start;
  grid-template-columns: 230px minmax(0, 1fr) 260px;
  grid-template-areas: "nav nav nav" "hero hero hero" "left ticket right" "checks checks checks" "fine fine fine"; }
.nav { grid-area: nav; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.hero { grid-area: hero; text-align: center; margin: clamp(6px, 3vh, 30px) 0 clamp(4px, 2vh, 20px); }
.side.left { grid-area: left; align-self: start; }
.side.right { grid-area: right; align-self: start; }
.ticket { grid-area: ticket; align-self: center; }
.checks { grid-area: checks; }
.fine { grid-area: fine; }

.brand { display: flex; align-items: center; gap: 11px; font: 800 18px/1 var(--wide); letter-spacing: .02em; white-space: nowrap; }
.brand small { font: 500 11px/1 var(--mono); letter-spacing: .08em; color: var(--mute); text-transform: uppercase; padding-left: 11px; border-left: 1px solid var(--line-2); }
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 22px; padding: 6px; box-sizing: content-box; border-radius: 9px; background: var(--red); box-shadow: 0 0 22px var(--red-glow); }
.eq i { width: 3.5px; background: #fff; border-radius: 2px; transform-origin: bottom; animation: eq 1.2s ease-in-out infinite; }
.eq i:nth-child(1) { height: 11px; } .eq i:nth-child(2) { height: 22px; animation-delay: .15s; }
.eq i:nth-child(3) { height: 15px; animation-delay: .3s; } .eq i:nth-child(4) { height: 8px; animation-delay: .45s; }
@keyframes eq { 50% { transform: scaleY(.4); } }
.live { display: flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(10, 4, 5, .72); backdrop-filter: blur(6px); font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap; max-width: 62vw; overflow: hidden; }
.live u { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 59, .6); } 100% { box-shadow: 0 0 0 10px rgba(255, 59, 59, 0); } }
.live .sep { color: var(--mute); }
#air-program { overflow: hidden; text-overflow: ellipsis; }

h1 { margin: 0; font: 800 clamp(32px, 5.4vw, 76px)/1 var(--wide); letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; }
.box { display: inline-block; padding: 0 .16em .05em; border-radius: .14em; background: var(--red); color: #fff; box-shadow: 0 0 40px var(--red-glow);
  transform: rotate(-1.5deg); }
.hero p { max-width: 720px; margin: 18px auto 0; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.5; color: var(--dim); }
.hero b { color: var(--ink); font-weight: 600; }

/* the side panels */
.side h2 { margin: 0 0 10px; font: 600 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.inside, .feed { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.inside li, .feed li { padding: 10px 12px 11px; border-radius: 11px; border: 1px solid var(--line); background: rgba(12, 5, 6, .74); backdrop-filter: blur(6px); }
.inside li { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 10px 12px; overflow: hidden; transition: border-color .2s, transform .2s, background .2s; }
.inside li::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 2px; border-radius: 2px; background: var(--red);
  opacity: 0; transition: opacity .2s; }
.inside li:hover { border-color: var(--line-2); background: rgba(24, 9, 10, .82); transform: translateX(3px); }
.inside li:hover::before { opacity: 1; }
.ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--red);
  background: rgba(255, 59, 59, .1); border: 1px solid rgba(255, 59, 59, .28); }
.ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.inside li:nth-child(even) .ico { color: var(--lime); background: rgba(209, 254, 23, .08); border-color: rgba(209, 254, 23, .25); }
.txt b { display: block; font: 600 14px/1.2 var(--sans); }
.txt span { display: block; margin-top: 3px; font-size: 12px; color: var(--mute); line-height: 1.35; }
.inside em { align-self: start; font: 500 10px/1 var(--mono); font-style: normal; color: #5c4846; letter-spacing: .06em; }
.feed li { border-left: 2px solid var(--red); font: 400 12.5px/1.4 var(--sans); color: #f0dfdc; animation: in .5s ease both; }
.feed li b { display: block; margin-bottom: 5px; font: 600 9.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.feed li.wait { color: var(--mute); border-left-color: var(--line-2); }
.feed li.wait b { color: var(--mute); }
@keyframes in { from { opacity: 0; transform: translateY(6px); } }

/* the ticket: a lime stub, then the form */
.ticket { display: grid; grid-template-columns: auto minmax(0, 1fr); border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(209, 254, 23, .35); background: rgba(10, 6, 6, .88); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 30px 90px rgba(0, 0, 0, .6), 0 0 70px rgba(209, 254, 23, .1); }
.stub { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 22px 22px; background: var(--lime); color: #0b0f00; }
.stub b { font: 800 clamp(24px, 2.6vw, 36px)/1 var(--wide); letter-spacing: -.01em; }
.stub small { font: 600 10px/1.35 var(--mono); letter-spacing: .1em; }
.ask, .done { padding: 22px 24px; }
label { display: block; margin-bottom: 14px; font-size: 16px; line-height: 1.45; color: var(--ink); }
label b { color: var(--lime); font-weight: 600; }
.row { display: flex; gap: 10px; }
input { flex: 1; min-width: 0; height: 54px; padding: 0 16px; border-radius: 12px; border: 1px solid #3b3330; background: #070505;
  color: var(--ink); font: 500 17px var(--sans); transition: border-color .15s, box-shadow .15s; }
input::placeholder { color: #6d5d5a; }
input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(209, 254, 23, .14); }
button { flex: none; height: 54px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--lime); color: #0b0f00;
  font: 700 16px var(--sans); cursor: pointer; box-shadow: 0 0 30px rgba(209, 254, 23, .28); transition: transform .12s, box-shadow .12s; }
button:hover { box-shadow: 0 0 44px rgba(209, 254, 23, .45); }
button:active { transform: translateY(1px); }
.alt { margin: 14px 0 0; font-size: 13px; color: var(--mute); }
.message { margin: -4px 0 12px; padding: 10px 12px; border-radius: 10px; font-size: 14px; color: #ffd6d0;
  background: rgba(255, 59, 59, .1); border: 1px solid rgba(255, 59, 59, .35); }
.message b { color: #fff; }
.done { display: none; }
.page.sent .ask { display: none; }
.page.sent .done { display: block; }
.done .big { margin: 0 0 8px; font: 800 clamp(22px, 2.6vw, 30px)/1.1 var(--wide); text-transform: uppercase; color: var(--lime); }
.done p { margin: 0; color: var(--dim); line-height: 1.5; }
.done b { color: var(--ink); overflow-wrap: anywhere; }

.checks { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px;
  font: 500 13px/1.3 var(--sans); color: var(--dim); }
.checks li::before { content: "✓"; margin-right: 8px; color: var(--lime); font-weight: 700; }
.fine { margin: 0; text-align: center; font-size: 12px; color: var(--mute); }

/* the tape: stocks CNBC and Bloomberg discussed today, with the price */
.tape { position: fixed; left: 0; right: 0; bottom: 0; z-index: 3; overflow: hidden; height: calc(40px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--line-2); background: rgba(6, 3, 4, .92); backdrop-filter: blur(6px); }
.tape:has(.tape-run:empty) { display: none; }
.tape-run { display: inline-flex; align-items: center; height: 40px; white-space: nowrap; animation: run 70s linear infinite; }
.tape-run > span { display: inline-flex; gap: 8px; align-items: baseline; padding: 0 22px; font: 500 13px/1 var(--mono); color: var(--dim);
  border-right: 1px solid var(--line); }
.tape-run b { color: var(--ink); font-weight: 600; }
.tape-run .up { color: var(--green); } .tape-run .down { color: var(--down); }
@keyframes run { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* the emailed link's page */
.page.single { grid-template-columns: minmax(0, 560px); grid-template-areas: "nav" "ticket"; justify-content: center; align-content: center; gap: 40px; }
.single .ticket { grid-template-columns: 1fr; }
.single .done { display: block; text-align: center; }
.spinner { display: inline-block; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 50%;
  border: 3px solid #3b3330; border-top-color: var(--lime); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.single form { display: flex; justify-content: center; margin-top: 16px; }

@media (max-width: 1100px) {
  .page { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "nav nav" "hero hero" "ticket ticket" "right left" "checks checks" "fine fine"; }
}
@media (max-width: 720px) {
  .page { grid-template-columns: minmax(0, 1fr); grid-template-areas: "nav" "hero" "ticket" "right" "left" "checks" "fine"; gap: 18px; }
  .brand small { display: none; }
  .live { font-size: 10.5px; padding: 7px 10px; }
  .ticket { grid-template-columns: 1fr; }
  .stub { flex-direction: row; align-items: center; gap: 12px; padding: 14px 18px; }
  .ask, .done { padding: 18px; }
  .row { flex-direction: column; }
  .row input { flex: none; }
  #air-program, #air-program + .sep, .live .sep:first-of-type { display: none; }
  button { width: 100%; }
  .checks { justify-content: flex-start; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
  .fine { text-align: left; }
  .wall { width: 260vw; top: 40%; }
}
@media (prefers-reduced-motion: reduce) {
  .eq i, .live u, .wall i, .tape-run, .spinner, .feed li { animation: none; }
}

/* the one-time statement each member confirms before the room opens (members_ack.html) */
.veil { position: fixed; inset: 0; z-index: 1; background: rgba(3, 2, 2, .55); backdrop-filter: blur(3px); }
.modal-wrap { position: relative; z-index: 2; min-height: 100svh; display: grid; place-items: center;
  padding: max(18px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom)); }
.modal { width: min(640px, 100%); padding: clamp(22px, 4vw, 36px); border-radius: 20px; border: 1px solid rgba(209, 254, 23, .3);
  background: rgba(12, 7, 7, .94); backdrop-filter: blur(12px); animation: rise .35s ease both;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .7), 0 0 80px rgba(209, 254, 23, .08); }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.tag { font: 600 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #0b0f00; background: var(--lime);
  padding: 6px 9px; border-radius: 6px; }
.modal h1 { font-size: clamp(26px, 4vw, 38px); text-align: left; }
.lead { margin: 10px 0 18px; color: var(--dim); font-size: 15px; }
.terms { margin: 0 0 20px; padding: 0; list-style: none; counter-reset: term; display: grid; gap: 10px; }
.terms li { counter-increment: term; position: relative; padding: 12px 14px 12px 50px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(20, 9, 10, .7); color: var(--dim); font-size: 14px; line-height: 1.5; }
.terms li::before { content: counter(term, decimal-leading-zero); position: absolute; left: 14px; top: 13px;
  font: 600 11px/1 var(--mono); color: var(--red); letter-spacing: .06em; }
.terms b { color: var(--ink); font-weight: 600; }
.agree { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 16px; padding: 14px; border-radius: 12px; cursor: pointer;
  border: 1px solid rgba(209, 254, 23, .3); background: rgba(209, 254, 23, .05); font-size: 15px; line-height: 1.45; }
.agree input { flex: none; width: 22px; height: 22px; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; accent-color: var(--lime); cursor: pointer; }
.modal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.modal-actions button { flex: 1 1 260px; }
.leave { color: var(--mute); font-size: 14px; }
.modal form:has(input[type="checkbox"]:not(:checked)) button { opacity: .55; }
@media (prefers-reduced-motion: reduce) { .modal { animation: none; } }
