/* THE ONE NAV (2026-10-19): one bar for zala.ai, Learn and the Desk, and the host row under it.
   Black is the frame (the bar only); the host row sits on MOON with the monogram; FIELD #13bbe2 marks where you are; PINK #ed1e79 only for on air.
   Selectors start with nav.nav.one-nav so they win over the older .nav rules in one.html at every width. */
.one-nav,.one-top,.one-host,.one-gates,#desk{--k:#0a0a0a;--t:#fff;--field:#13bbe2;--pink:#ed1e79;--moon:#cecece}
nav.nav.one-nav{position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:30px;height:56px;margin:0;padding:0 24px;box-sizing:border-box;background:var(--k);color:var(--t);border-bottom:1px solid rgba(255,255,255,.08);font-family:Montserrat,"Helvetica Neue",Arial,sans-serif;overflow:visible;backdrop-filter:none;grid-template-columns:none}
nav.nav.one-nav *{box-sizing:border-box}
nav.nav.one-nav .mark{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:var(--t);text-decoration:none;font-size:13px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;flex:none}
nav.nav.one-nav .mark::before{content:'';width:28px;height:18px;background:var(--t);-webkit-mask:url('/desk-assets/monogram.svg') 50% 50%/contain no-repeat;mask:url('/desk-assets/monogram.svg') 50% 50%/contain no-repeat}
nav.nav.one-nav .links{display:flex;align-items:center;gap:24px;min-width:0;overflow:visible}
nav.nav.one-nav .links a{display:inline-flex;align-items:center;gap:7px;min-height:44px;min-width:0;padding:0;border:0;border-bottom:2px solid transparent;color:rgba(255,255,255,.8);text-decoration:none;font-size:11.5px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;white-space:nowrap;flex:none}
nav.nav.one-nav .links a:hover,nav.nav.one-nav .links a:focus-visible{color:var(--t)}
nav.nav.one-nav .links a.on,nav.nav.one-nav .links a[aria-current=page]{color:var(--t);box-shadow:inset 0 -2px 0 var(--t)}
nav.nav.one-nav .links a.live.is::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--pink);animation:oneBr 1.6s ease-out infinite}
@keyframes oneBr{0%{box-shadow:0 0 0 0 rgba(237,30,121,.6)}100%{box-shadow:0 0 0 8px rgba(237,30,121,0)}}
nav.nav.one-nav .sp{flex:1}
nav.nav.one-nav .right{display:flex;align-items:center;gap:10px;flex:none}
nav.nav.one-nav .me{display:flex;align-items:center;gap:8px;font-size:11.5px;color:rgba(255,255,255,.62);white-space:nowrap}nav.nav.one-nav .me b{color:var(--t)}
nav.nav.one-nav .seat{display:inline-flex;align-items:center;justify-content:center;height:36px;min-height:36px;padding:0 16px;border:1px solid rgba(255,255,255,.34);border-radius:999px;background:transparent;color:var(--t);text-decoration:none;font:800 11px/1 Montserrat,"Helvetica Neue",Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;cursor:pointer}
nav.nav.one-nav .seat:hover{border-color:var(--t)}
nav.nav.one-nav #seat{border-color:var(--field);color:var(--field)}
nav.nav.one-nav #seat.on{background:var(--field);color:var(--k)}
nav.nav.one-nav .seat.quiet{border-color:rgba(255,255,255,.18);color:rgba(255,255,255,.7);letter-spacing:.06em}
nav.nav.one-nav [hidden]{display:none!important}
nav.nav.one-nav .clk{display:grid;justify-items:end;line-height:1.15;margin-right:6px}nav.nav.one-nav .clk em{font-style:normal;font-size:8.5px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:rgba(255,255,255,.6)}nav.nav.one-nav .clk b{font-size:13px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:.04em}
nav.nav.one-nav #signin{border-color:var(--t)}
nav.nav.one-nav .one-me{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--t);color:var(--k);font:800 12px/1 Montserrat,"Helvetica Neue",Arial,sans-serif;letter-spacing:.04em;text-decoration:none;flex:none} /* signed in: the member's initials, as Learn */
html:not(.in-place):not(.desk) nav.nav.one-nav.on-site .clk{display:none} /* zala.ai's home carries its own ZALA time under the bar */
@media(max-width:1100px){nav.nav.one-nav{gap:18px;padding:0 18px}nav.nav.one-nav .links{gap:16px}nav.nav.one-nav .me,nav.nav.one-nav .clk{display:none}}
/* phone: the mark and Host / Sign in on the first row, the eight places on the second, all in view */
@media(max-width:760px){
 nav.nav.one-nav{display:flex;flex-wrap:wrap;height:auto;gap:0;padding:6px 16px 0}
 nav.nav.one-nav .mark{order:1;min-height:44px;font-size:12px}
 nav.nav.one-nav .sp{order:2}
 nav.nav.one-nav .right{order:3;gap:6px;margin-left:auto}
 nav.nav.one-nav .links{order:4;flex-basis:100%;justify-content:space-between;gap:12px;overflow-x:auto;scrollbar-width:none;border-top:1px solid rgba(255,255,255,.08)}nav.nav.one-nav .links::-webkit-scrollbar{display:none}
 nav.nav.one-nav .links a{font-size:10px;letter-spacing:.06em;min-height:42px}
 nav.nav.one-nav .seat{height:34px;min-height:34px;padding:0 12px;font-size:10px;letter-spacing:.1em}
 nav.nav.one-nav .seat.quiet{font-size:9.5px;padding:0 9px;letter-spacing:0}
}

/* THE HOST ROW: the Desk's rooms, on MOON. On a room page it sits under the bar; in the seat the same row is drawn in #desk .sub. */
.one-top{position:relative;z-index:50} /* on a room page the bar scrolls away with the page: the room's own sticky toolbar keeps its place */
.one-top nav.nav.one-nav{position:relative}
html.has-one-nav [data-one-brand]{display:none!important} /* the room's old brand strip; its working controls stay */
html.has-one-nav .sh{top:var(--onetop,102px)} /* the HQ shell is a fixed frame: it starts under the bar */
.one-host{display:flex;align-items:center;gap:4px;height:46px;padding:0 18px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;background:linear-gradient(rgba(206,206,206,.86),rgba(206,206,206,.86)),url('/desk-assets/pattern-white.png') 0 0/800px 800px var(--moon);border-bottom:1px solid rgba(10,10,10,.16);font-family:Montserrat,"Helvetica Neue",Arial,sans-serif}
.one-host::-webkit-scrollbar{display:none}
.one-host a,.one-host button{flex:none;display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 13px;border:0;border-radius:999px;background:transparent;color:#1d1d1d;text-decoration:none;font:750 10.5px/1 Montserrat,"Helvetica Neue",Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;cursor:pointer}
.one-host a:hover,.one-host button:hover{background:rgba(10,10,10,.07)}
.one-host a.on,.one-host button.on,.one-host a[aria-current=page]{background:var(--k);color:var(--t)}
.one-host .onair::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--pink)}
@media(max-width:760px){.one-host{padding:0 10px;height:44px}.one-host a,.one-host button{padding:0 10px;font-size:10px;letter-spacing:.08em}}
/* THE SIX GATES under the bar (2026-10-19): Learn's strip, cell for cell (learn-design public/one.css .one-gates); the host row sits below it */
.one-gates{--bone:#f3f3f1;--ink:#0e0e0e;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));margin:0;background:var(--moon,#cecece);border-bottom:2px solid var(--k,#0a0a0a);color:var(--ink);position:relative;z-index:5;font-family:Montserrat,"Helvetica Neue",Arial,sans-serif}
.one-gates a{display:block;padding:9px 12px;border-left:1px solid rgba(0,0,0,.16);font:700 12px/1.25 Montserrat,"Helvetica Neue",Arial,sans-serif;letter-spacing:0;text-transform:none;white-space:nowrap;color:inherit;text-decoration:none;overflow:hidden;text-overflow:ellipsis;background:none}
.one-gates a:first-child{border-left:0}
.one-gates small{display:block;font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;opacity:.6}
.one-gates .done{opacity:.62}
.one-gates .now{background:var(--bone);box-shadow:inset 0 3px 0 var(--k,#0a0a0a)}.one-gates .now small{opacity:1}
.one-gates .now.air{box-shadow:inset 0 3px 0 var(--pink,#ed1e79)}.one-gates .now.air small{color:var(--pink,#ed1e79)}
.one-gates .air-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--pink,#ed1e79);margin-right:6px;vertical-align:1px;animation:oneGp 1.6s infinite}
@keyframes oneGp{50%{opacity:.35}}
@media(max-width:760px){.one-gates{display:flex;overflow-x:auto;scrollbar-width:none}.one-gates::-webkit-scrollbar{display:none}.one-gates a{flex:none;padding:8px 12px}}
@media(prefers-reduced-motion:reduce){.one-gates .air-dot{animation:none}}
/* on air the program picture owns the screen: the bar steps away; the Studio's own controls never move */
html.air .one-top,html:has(:fullscreen) .one-top{display:none}
/* rooms that fill the window start under the bar */
html.has-one-nav .mt{top:var(--onetop,56px)}
html.has-one-nav .hall{height:calc(100vh - 61px - var(--onetop,56px))}
/* the Hall's door starts under the bar (2026-10-19): the bar and the six gates sat over the top of the fixed door and hid its heading; on a phone the
   door was the last thing on the page, under the stage, the chat and the schedule, so a viewer with the invitation scrolled past all of it to join */
html.has-one-nav #gate.gate{top:var(--onetop,56px)}
@media(max-width:800px){html.has-one-nav #gate.gate{position:fixed;inset:var(--onetop,56px) 0 0 0;margin:0;max-height:none;overflow-y:auto}}
@media(max-width:900px){html.has-one-nav .hall{height:auto}}
