/* gate-sky.css — p157 (2026-11-22). Albert, choosing from the p156 mock: "use sunrise and sky".
   The sign-in / waitlist page (#gate) stands on a colour backdrop: Sky when the app's theme is White, Sunrise when it is
   Dark. The theme switch and its saved choice stay the app's own (theme.js, "patron.theme"), so after sign-in the app is
   Dark or White exactly as before; only this page shows them as Sky and Sunrise. On both the page takes its white look
   (copied from theme-light.css's p102 block, keyed on html[data-gb], which gate.js sets) and the white board. The clouds
   are Blender renders (assets/clouds, gate.js buildSky). Loaded after theme-light.css. */
html[data-gb] .lg{
  color-scheme:light;
  --lt-page:#f7f7f5; --lt-side:#f0f0ed; --lt-card:#ffffff; --lt-hover:#f0f0ed; --lt-press:#e7e7e3;
  --lt-line:#e5e5e1; --lt-line2:#d6d6d1; --lt-field:#dcdcd7;
  --lt-ink:#161616; --lt-text:#2b2b29; --lt-2:#5c5c58; --lt-3:#6b6b67; --lt-ph:#737370;
  --lt-amber:#8a5800; --lt-green:#177a42; --lt-red:#c0362c; --lt-link:#1f5fbf; --lt-blue:#1f6fe0; --lt-focus:#2f6fd6;
  --lt-pop:0 18px 50px rgba(24,24,20,.14),0 2px 6px rgba(24,24,20,.06);
  /* base.css (the old shell) */
}
html[data-gb] .lg{
  background:radial-gradient(ellipse 70% 45% at 50% 82%,rgba(255,255,255,.9),rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 50% 40% at 50% 0%,rgba(255,255,255,.95),rgba(255,255,255,0) 70%),var(--lt-page);
  color:var(--lt-text)}
/* the top bar: the wordmark inverted (as in the app), Sign in a white pill with a hairline */
html[data-gb] .lg-navword{filter:invert(1)}
html[data-gb] .lg-signin{background:rgba(255,255,255,.8);box-shadow:inset 0 0 0 1px rgba(24,24,20,.13),0 1px 2px rgba(24,24,20,.04);color:var(--lt-text)}
html[data-gb] .lg-signin:hover{background:#fff;box-shadow:inset 0 0 0 1px rgba(24,24,20,.24),0 1px 2px rgba(24,24,20,.06);color:var(--lt-ink)}
html[data-gb] :is(.lg-signin,.lg-join-go,.lg-ref,.lg-pill,.lg-join,.lg-send,.lg-link):focus-visible{outline-color:var(--lt-focus)}
html[data-gb] .lg-h1{color:var(--lt-ink)}
html[data-gb] .lg-sub{color:var(--lt-2)}
/* the email pill: white, a hairline and a soft shadow; Request access is the ink key */
html[data-gb] .lg-joinform{background:#fff;box-shadow:inset 0 0 0 1px var(--lt-field),0 24px 60px rgba(24,24,20,.08),0 0 0 6px rgba(24,24,20,.025)}
html[data-gb] .lg-joinform:focus-within{box-shadow:inset 0 0 0 1px #b9b9b3,0 24px 60px rgba(24,24,20,.09),0 0 0 6px rgba(24,24,20,.045)}
html[data-gb] .lg-join-in{color:var(--lt-ink)}
html[data-gb] .lg-join-in::placeholder{color:var(--lt-ph)}
html[data-gb] .lg-join-go{background:var(--lt-ink);color:#fff}
html[data-gb] .lg-join-go:hover:not(:disabled){background:#000}
/* the words of every step */
html[data-gb] .lg-head{color:var(--lt-ink)}
html[data-gb] .lg-text{color:var(--lt-2)}
html[data-gb] .lg-text b{color:var(--lt-ink)}
html[data-gb] .lg-text.bad{color:var(--lt-red)}
html[data-gb] .lg-only,html[data-gb] .lg[data-state="idle"] .lg-only{color:var(--lt-3)}
html[data-gb] .lg-link{color:var(--lt-3);text-decoration-color:rgba(107,107,103,.45)}
html[data-gb] .lg-link:hover{color:var(--lt-ink)}
html[data-gb] .lg-dot{color:#b9b9b3}
/* the code: six white keys with a lip, the one being typed ringed in ink */
html[data-gb] .lg-code-box{background:#fff;border-color:rgba(24,24,20,.13);color:var(--lt-ink);
  box-shadow:inset 0 -1px 0 rgba(24,24,20,.03),0 4px 0 #e0e0db,0 12px 24px -12px rgba(24,24,20,.18)}
html[data-gb] .lg-code-box.full{background:#fff}
html[data-gb] .lg-code-box.on{border-color:rgba(22,22,22,.72);box-shadow:0 0 0 3px rgba(22,22,22,.07),0 4px 0 #e0e0db,0 12px 24px -12px rgba(24,24,20,.18)}
html[data-gb] .lg-code-box.on:empty::after{background:var(--lt-ink)}
/* on the list: the same quiet line, their link and the copy mark */
html[data-gb] .lg-onlist{color:var(--lt-ink)}
html[data-gb] .lg-ref{color:var(--lt-2)}
html[data-gb] .lg-ref:hover{color:var(--lt-ink);background:rgba(24,24,20,.045)}
html[data-gb] .lg-ref.ok{color:var(--lt-ink)}
html[data-gb] .lg-ref.ok .lg-ref-i{color:var(--lt-green)}
/* Sign in's own field, and an invitation's buttons */
html[data-gb] .lg-email{background:#fff;border-color:var(--lt-field);color:var(--lt-ink);caret-color:var(--lt-ink);box-shadow:0 10px 30px -12px rgba(24,24,20,.12)}
html[data-gb] .lg-email::placeholder{color:var(--lt-ph)}
html[data-gb] .lg-email:focus{border-color:#a9a9a3}
html[data-gb] .lg-send{background:var(--lt-ink);color:#fff}
html[data-gb] .lg-send:hover:not(:disabled){background:#000}
html[data-gb] .lg-pill{background:#fff;border-color:var(--lt-line2);color:var(--lt-text)}
html[data-gb] .lg-pill:hover{background:#fff;border-color:#bdbdb7;color:var(--lt-ink)}
html[data-gb] .lg-join{background:var(--lt-ink);border-color:var(--lt-ink);color:#fff}
html[data-gb] .lg-join:hover:not(:disabled){background:#000;border-color:#000}
html[data-gb] .lg-badge{background:rgba(255,255,255,.75);box-shadow:inset 0 0 0 1px rgba(24,24,20,.12);color:#3d3d3a}
/* the five: the tray in light aluminium with a soft shadow, a fainter reflection, the keys' floor glow quieter */
html[data-gb] .lg-deck{-webkit-box-reflect:below 6px linear-gradient(transparent 62%,rgba(255,255,255,.08))}
html[data-gb] .lg-tray{background:linear-gradient(180deg,#ecece9,#dfdfdb);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 0 0 1px rgba(24,24,20,.07),0 30px 60px rgba(24,24,20,.12),0 6px 14px rgba(24,24,20,.05)}
html[data-gb] .lg-key>ellipse{opacity:.6}
html[data-gb] .lg-tip{color:var(--lt-2)}
/* a phone: no reflection ("initial": Chrome drops login.css's "-webkit-box-reflect: none", Safari takes both) */
@media (max-width:800px){html[data-gb] .lg-deck{-webkit-box-reflect:initial}}

/* ---------------- the backdrops: the sky on the page itself, the clouds in #lg-sky over it, the board and words above */
html[data-gb] .lg{color:var(--lt-text);
  background:linear-gradient(180deg,#3D84E6 0%,#5E9AEC 30%,#8DBBF1 62%,#B7D5F6 84%,#CFE3F8 100%)}
html[data-gb]:not([data-theme="light"]) .lg{
  background:radial-gradient(ellipse 34% 26% at 50% 86%,rgba(255,244,226,.95),rgba(255,232,205,.55) 45%,rgba(255,220,190,0) 100%),
    linear-gradient(180deg,#A898E4 0%,#C6A6DF 22%,#E9B2CF 46%,#F9C1B7 66%,#FFD9BF 84%,#FFEBD6 100%)}
.lg-sky{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.lg-sky-set{position:absolute;inset:0;display:none}
.lg-sky img{position:absolute;display:block;user-select:none;-webkit-user-drag:none}
html[data-theme="light"] .lg-sky-day{display:block}
html:not([data-theme="light"]) .lg-sky-sun{display:block}
.lg-sky-sun img{filter:sepia(.32) saturate(1.7) hue-rotate(-18deg) brightness(1.04)}      /* the warm clouds lean peach */
/* the words: deep blue ink on the sky, plum on the sunrise */
html[data-gb] .lg-h1{color:#0A1A33}
html[data-gb]:not([data-theme="light"]) .lg-h1{color:#2A1631}
html[data-gb] .lg-joinform{box-shadow:0 24px 60px rgba(20,40,90,.16),0 0 0 6px rgba(255,255,255,.22)}
html[data-gb] .lg-signin{background:rgba(255,255,255,.55);box-shadow:inset 0 0 0 1px rgba(255,255,255,.7);color:#0A1A33}
html[data-gb] .lg-signin:hover{background:rgba(255,255,255,.8)}
/* the white board on both backdrops (gate.js loads only its pictures); no reflection */
html[data-gb] .lg-deck.lg-board{-webkit-box-reflect:initial;bottom:2vh}
/* the switch (Sky / Sunrise): a frosted pill on the colour */
html[data-gb] .lg .lg-theme{background:rgba(255,255,255,.42);box-shadow:inset 0 0 0 1px rgba(255,255,255,.6);color:rgba(10,26,51,.55)}
html[data-gb] .lg .lg-theme .home-themeknob{background:#fff;box-shadow:0 1px 3px rgba(10,26,51,.18)}
html[data-gb] .lg .lg-theme[data-on="dark"] .home-themedark,html[data-gb] .lg .lg-theme[data-on="light"] .home-themelight{color:#0A1A33}
@media (max-width:800px){
  html[data-gb] .lg-deck.lg-board{bottom:auto}
}

/* the pictures never show their alt text while they load */
.lg-pic{color:transparent;font-size:0}
