/* generated by _src/build.mjs from _src/parts/login.css */
/* ------------------------------------------------------------ the two sign-in pages (li-)
 * /login/       .lg-dash  : the dashboard. Warm and light, the form beside a dark goal panel.
 * /admin/login/ .lg-admin : the admin console. A dark control room, one glass card in front.
 * Both are bare pages (no sidebar, top bar or footer), so the frame is set here. */

body.bare:has(.lg-dash), body.bare:has(.lg-admin) { min-height: 100vh; min-height: 100svh; }
body.bare:has(.lg-dash) .bare-main, body.bare:has(.lg-admin) .bare-main { display: block; min-height: 100vh; min-height: 100svh; padding: 0; margin: 0; }

/* shared form parts */
.lg-dash .li-field, .lg-admin .li-field { display: grid; gap: 8px; min-width: 0; }
.lg-dash .li-label-row, .lg-admin .li-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lg-dash .li-pass, .lg-admin .li-pass { position: relative; }
.lg-dash .li-in, .lg-admin .li-in { width: 100%; min-width: 0; margin: 0; border: 0; outline: 0; font: 400 16px/1.2 var(--font); -webkit-appearance: none; appearance: none; }
.lg-dash .li-pass .li-in, .lg-admin .li-pass .li-in { padding-right: 64px; }
.lg-dash .li-err, .lg-admin .li-err { min-height: 0; font-size: 13px; line-height: 1.35; }
.lg-dash .li-err:empty, .lg-admin .li-err:empty { display: none; }
.lg-dash a svg, .lg-dash button svg, .lg-admin a svg, .lg-admin button svg, .li-card-ic svg {
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.lg-dash .is-going [type="submit"], .lg-admin .is-going [type="submit"] { pointer-events: none; }

/* ================================================================== the dashboard sign-in */
body.bare:has(.lg-dash) { background: #F6F5F2; }
:root[data-theme="dark"] body.bare:has(.lg-dash) { background: var(--canvas); }

.lg-dash {
  --li-bg: #F6F5F2;
  --li-field: #FFFFFF;
  --li-edge: #DEDBD5;
  --li-edge-hover: #BDB8B0;
  --li-soft: #5F5B56;
  --li-err: #B42318;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "head art" "form art" "foot art";
  column-gap: 12px;
  min-height: 100vh; min-height: 100svh;
  padding: 12px;
  background: var(--li-bg);
  color: var(--ink);
}
:root[data-theme="dark"] .lg-dash {
  --li-bg: var(--canvas);
  --li-field: #1C1B1A;
  --li-edge: #36332F;
  --li-edge-hover: #55514B;
  --li-soft: #B3AEA6;
  --li-err: #FF8A75;
}

/* head */
.li-d-head { grid-area: head; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px 0; min-width: 0; }
.li-d-logo { display: block; flex: none; border-radius: 8px; }
.li-d-logo img { width: 128px; height: auto; }
.li-d-tools { display: flex; align-items: center; gap: 4px; }
.li-d-home { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 10px; border-radius: 999px; font-size: 14px; color: var(--li-soft); transition: background-color .2s ease, color .2s ease; }
.li-d-home svg { width: 17px; height: 17px; transition: transform .43s var(--spring-fast); }
.li-d-home:hover { color: var(--ink); background: rgba(28, 27, 26, .05); }
.li-d-home:hover svg { transform: translateX(-3px); }
.li-d-theme { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--li-soft); transition: background-color .2s ease, color .2s ease; }
.li-d-theme:hover { color: var(--ink); background: rgba(28, 27, 26, .05); }
.li-d-theme svg { width: 18px; height: 18px; }
.li-d-theme .li-sun { display: none; }
:root[data-theme="dark"] .li-d-theme .li-sun { display: block; }
:root[data-theme="dark"] .li-d-theme .li-moon { display: none; }
:root[data-theme="dark"] .li-d-home:hover, :root[data-theme="dark"] .li-d-theme:hover { background: rgba(255, 255, 255, .07); }

/* the form */
.li-d-form { grid-area: form; display: grid; align-content: center; justify-items: center; padding: 40px 18px; min-width: 0; }
.li-d-form-in { width: 100%; max-width: 404px; display: grid; min-width: 0; animation: li-up .9s var(--out) both; }
.li-d-kick { display: inline-flex; align-items: center; gap: 9px; color: var(--li-soft); }
.li-d-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: ping 2.2s ease-out infinite; }
.li-d-h { margin-top: 18px; font-size: clamp(42px, 4.6vw, 64px); font-weight: 600; line-height: .98; letter-spacing: -.05em; padding-bottom: .04em; }
.li-d-h span { color: var(--li-soft); }
.li-d-lede { margin-top: 14px; font-size: 16px; line-height: 1.5; color: var(--li-soft); max-width: 36ch; }

.li-d-fields { display: grid; gap: 18px; margin-top: 32px; }
.lg-dash .li-field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.lg-dash .li-in {
  height: 52px; padding: 0 16px; border-radius: 14px;
  background: var(--li-field); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--li-edge), 0 1px 2px rgba(28, 27, 26, .04);
  transition: box-shadow .2s ease, background-color .3s ease;
}
.lg-dash .li-in::placeholder { color: #8C877F; opacity: 1; }
:root[data-theme="dark"] .lg-dash .li-in::placeholder { color: #8A857E; }
.lg-dash .li-in:hover { box-shadow: inset 0 0 0 1px var(--li-edge-hover), 0 1px 2px rgba(28, 27, 26, .04); }
.lg-dash .li-in:focus-visible, .lg-dash .li-in:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 4px rgba(235, 74, 30, .18); }
.lg-dash .li-in[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--li-err); }
.lg-dash .li-in[aria-invalid="true"]:focus { box-shadow: inset 0 0 0 2px var(--li-err), 0 0 0 4px rgba(180, 35, 24, .16); }
.lg-dash .li-err { color: var(--li-err); font-weight: 500; }
.lg-dash .li-forgot { font-size: 13px; color: var(--li-soft); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: color .2s ease, text-decoration-color .2s ease; }
.lg-dash .li-forgot:hover { color: var(--ink); text-decoration-color: currentColor; }
.lg-dash .li-eye { position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--li-soft); transition: background-color .2s ease, color .2s ease; }
.lg-dash .li-eye:hover { color: var(--ink); background: rgba(28, 27, 26, .05); }
:root[data-theme="dark"] .lg-dash .li-eye:hover { background: rgba(255, 255, 255, .07); }
.lg-dash .li-eye svg { width: 19px; height: 19px; }
.lg-dash .li-eye .li-eye-off { display: none; }
.lg-dash .li-eye[aria-pressed="true"] .li-eye-on { display: none; }
.lg-dash .li-eye[aria-pressed="true"] .li-eye-off { display: block; }

.li-d-go {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; margin-top: 6px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 16px; font-weight: 500;
  box-shadow: 0 14px 30px -14px rgba(11, 11, 11, .55);
  transition: transform .43s var(--spring-fast), background-color .2s ease, box-shadow .3s ease;
}
.li-d-go svg { width: 18px; height: 18px; transition: transform .43s var(--spring-fast); }
.li-d-go:hover { background: var(--accent-hover); box-shadow: 0 18px 36px -14px rgba(11, 11, 11, .6); }
.li-d-go:hover svg { transform: translateX(3px); }
.li-d-go:active { transform: scale(.98); }
.li-d-go:focus-visible { outline: 2px solid var(--live); outline-offset: 3px; border-radius: 999px; }
:root[data-theme="dark"] .li-d-go { box-shadow: none; }
.is-going .li-d-go svg { animation: li-nudge .8s ease-in-out infinite; }
.li-d-note { font-size: 13px; color: var(--li-soft); text-align: center; }
.li-d-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.li-d-new {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 30px; padding: 12px 12px 12px 18px; border-radius: 18px;
  background: var(--li-field); box-shadow: inset 0 0 0 1px var(--li-edge);
}
.li-d-new > span { font-size: 15px; color: var(--li-soft); }
.li-d-new a {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--live-text); background: var(--live-soft);
  transition: transform .43s var(--spring-fast), background-color .2s ease;
}
.li-d-new a svg { width: 16px; height: 16px; transition: transform .43s var(--spring-fast); }
.li-d-new a:hover svg { transform: translateX(3px); }
.li-d-new a:active { transform: scale(.97); }
.li-d-new a:focus-visible { border-radius: 999px; }
.li-d-staff { justify-self: center; margin-top: 18px; padding: 6px 8px; border-radius: 8px; font-size: 13px; color: var(--li-soft); text-align: center; }
.li-d-staff b { font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--li-edge-hover); text-underline-offset: 3px; transition: text-decoration-color .2s ease; }
.li-d-staff:hover b { text-decoration-color: currentColor; }

.li-d-foot { grid-area: foot; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 0 18px 8px; font-size: 13px; color: var(--li-soft); }
.li-d-foot nav { display: flex; gap: 4px; }
.li-d-foot a { padding: 4px 8px; border-radius: 8px; transition: color .2s ease; }
.li-d-foot a:hover { color: var(--ink); }

/* the dark goal panel */
.li-d-art {
  grid-area: art; position: relative; overflow: hidden; isolation: isolate;
  container-type: inline-size;
  display: grid; grid-template-rows: auto 1fr auto; gap: 16px;
  min-height: calc(100svh - 24px);
  padding: 26px 28px 30px; border-radius: 28px;
  background: #09090A; color: var(--paper);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .6);
  animation: li-fade 1.1s ease both;
}
:root[data-theme="dark"] .li-d-art { background: #070707; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
.li-d-art .grid-lines i { border-right-color: rgba(246, 245, 242, .05); }
.li-d-art-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.li-d-art-top .mono { color: rgba(246, 245, 242, .55); }
.li-d-live { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 500; color: rgba(246, 245, 242, .86); background: rgba(246, 245, 242, .08); box-shadow: inset 0 0 0 1px rgba(246, 245, 242, .08); }
.li-d-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: ping 2.2s ease-out infinite; }

.li-d-stage { display: grid; place-items: center; min-height: 0; }
.li-d-ringbox { position: relative; width: min(56cqi, 440px); aspect-ratio: 1; }
.li-d-ring { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .5)); }
.li-d-ring circle { vector-effect: none; }
.li-d-ring .t { fill: none; stroke: rgba(246, 245, 242, .1); stroke-width: 11; }
.li-d-ring .a { fill: none; stroke: var(--paper); stroke-width: 11; stroke-linecap: round; stroke-dasharray: 198.17 400; stroke-dashoffset: calc(198.17 * (1 - var(--p, .72))); transition: stroke-dashoffset 1.8s var(--out); }
.li-d-ring .d { fill: var(--live); transform-origin: 50px 50px; transform: rotate(calc(var(--p, .72) * 360deg)); transition: transform 1.8s var(--out); }
.li-hold .li-d-ring .a, .li-hold .li-d-ring .d, .li-hold .li-bar i { transition: none; }
.li-d-num { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; grid-template-columns: auto auto; column-gap: 2px; align-items: baseline; font-variant-numeric: tabular-nums; }
.li-d-num b { font-size: clamp(44px, 11cqi, 92px); font-weight: 600; letter-spacing: -.06em; line-height: 1; }
.li-d-num i { font-style: normal; font-size: clamp(20px, 4.4cqi, 36px); font-weight: 500; color: rgba(246, 245, 242, .6); }
.li-d-num small { grid-column: 1 / -1; margin-top: 6px; font-size: 13px; color: rgba(246, 245, 242, .6); }

.li-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  width: max-content; max-width: min(250px, 50cqi);
  padding: 12px 16px 12px 12px; border-radius: 18px;
  background: rgba(246, 245, 242, .96); color: #0B0B0B;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .5) inset;
}
.li-card small { display: block; font-size: 12px; color: #5F5B56; }
.li-card b { font-weight: 600; }
.li-card em { display: block; font-style: normal; font-size: 12px; color: #5F5B56; }
.li-card-gift { left: -26%; top: 4%; animation: li-in-l 1s var(--spring) .5s both, li-bob 7s ease-in-out 1.6s infinite; }
.li-card-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #EB4A1E; color: #fff; }
.li-card-ic svg { width: 20px; height: 20px; }
.li-card-tx { display: grid; min-width: 0; transition: opacity .35s ease, transform .35s var(--out), filter .35s ease; }
.li-card-tx b { font-size: 22px; letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.li-card-gift.is-swap .li-card-tx { opacity: 0; transform: translateY(6px); filter: blur(4px); }
.li-card-goal { right: -24%; bottom: 2%; display: grid; gap: 8px; width: min(250px, 48cqi); padding: 14px 16px; animation: li-in-r 1s var(--spring) .75s both, li-bob 8s ease-in-out 2s infinite reverse; }
.li-card-goal small { font-size: 13px; color: #0B0B0B; font-weight: 500; }
.li-card-goal small b { font-variant-numeric: tabular-nums; }
.li-bar { display: block; height: 6px; border-radius: 99px; background: #E6E3DE; overflow: hidden; }
.li-bar i { display: block; height: 100%; border-radius: inherit; background: #0B0B0B; transform-origin: left; transform: scaleX(.72); transition: transform 1.8s var(--out); }
.li-card-goal em { font-variant-numeric: tabular-nums; }

.li-d-line { font-size: clamp(40px, 8.4cqi, 92px); font-weight: 600; line-height: .96; letter-spacing: -.05em; padding-bottom: .05em; }
.li-d-line span { color: rgba(246, 245, 242, .42); }

/* the bottom of the panel: the line, and the live team board beside it */
.li-d-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; min-width: 0; }
.li-d-teams {
  flex: none; width: min(300px, 40cqi); padding: 14px 16px 12px; border-radius: 20px;
  background: rgba(246, 245, 242, .06); box-shadow: inset 0 0 0 1px rgba(246, 245, 242, .1);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: li-in-r 1s var(--spring) 1s both;
}
.li-d-teams-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.li-d-teams-top .mono { font-size: 11px; color: rgba(246, 245, 242, .55); }
.li-d-teams-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: rgba(246, 245, 242, .7); }
.li-d-teams-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.li-d-rows { position: relative; height: 138px; margin: 0; padding: 0; list-style: none; }
/* The markup carries the rows in rank order, so the board is laid out before any
   script runs (and stays laid out with no JS at all); board() overrides these
   inline the moment it reorders. */
.li-d-rows li:nth-child(2) { transform: translateY(100%); }
.li-d-rows li:nth-child(3) { transform: translateY(200%); }
.li-d-rows li:nth-child(2) .li-tb i { transform: scaleX(.982); }
.li-d-rows li:nth-child(3) .li-tb i { transform: scaleX(.921); }
.li-d-rows li {
  position: absolute; left: 0; right: 0; top: 0; height: 46px;
  display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; grid-template-rows: auto 4px; column-gap: 10px; row-gap: 7px; align-content: center;
  transition: transform .8s var(--spring);
}
.li-rk { grid-row: 1 / 3; align-self: center; font-family: var(--font); font-variant-numeric: tabular-nums; font-size: 12px; color: rgba(246, 245, 242, .45); }
.li-tn { font-size: 14px; color: rgba(246, 245, 242, .86); min-width: 0; overflow-wrap: anywhere; }
.li-d-rows b { font-size: 14px; font-weight: 600; color: #F6F5F2; font-variant-numeric: tabular-nums; }
.li-tb { grid-column: 2 / 4; height: 4px; border-radius: 2px; background: rgba(246, 245, 242, .1); overflow: hidden; }
.li-tb i { display: block; height: 100%; border-radius: inherit; background: rgba(246, 245, 242, .55); transform-origin: left; transition: transform .9s var(--out), background-color .4s ease; }
.li-d-rows li.is-top .li-tb i { background: #F6F5F2; }
.li-d-rows li.is-top .li-rk { color: var(--live); }
.li-d-rows li.is-hit b { animation: li-hit .9s var(--out); }
@keyframes li-hit { 0% { color: var(--live); transform: translateY(-2px); } 100% { color: #F6F5F2; transform: none; } }
.li-d-rows b { display: inline-block; }

@keyframes li-up { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
@keyframes li-fade { from { opacity: 0; } }
@keyframes li-in-l { from { opacity: 0; transform: translate(-24px, 10px) scale(.96); } }
@keyframes li-in-r { from { opacity: 0; transform: translate(24px, 10px) scale(.96); } }
@keyframes li-bob { 50% { translate: 0 -10px; } }
@keyframes li-nudge { 50% { transform: translateX(4px); } }

/* tablets: the panel narrows */
@media (max-width: 1100px) {
  .lg-dash { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
  .li-d-ringbox { width: min(60cqi, 400px); }
  .li-card-gift { left: -18%; }
  .li-card-goal { right: -16%; }
  .li-d-teams { display: none; }
}

/* phones: the panel becomes a small band between the logo and the form */
@media (max-width: 860px) {
  .lg-dash {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas: "head" "art" "form" "foot";
    row-gap: 10px; padding: 10px;
  }
  .li-d-head { padding: 4px 6px 0 10px; }
  .li-d-logo img { width: 112px; }
  .li-d-art {
    min-height: 0; grid-template-rows: none; grid-template-columns: auto minmax(0, 1fr); align-items: center;
    gap: 18px; padding: 18px 20px; border-radius: 22px;
  }
  .li-d-art-top, .li-card { display: none; }
  .li-d-ringbox { width: 92px; }
  .li-d-ring .t, .li-d-ring .a { stroke-width: 12; }
  .li-d-num b { font-size: 26px; letter-spacing: -.04em; }
  .li-d-num i { font-size: 14px; }
  .li-d-num small { display: none; }
  .li-d-line { font-size: clamp(26px, 7.6vw, 40px); }
  .li-d-form { align-content: start; padding: 26px 8px 34px; }
  .li-d-h { margin-top: 14px; font-size: clamp(38px, 11vw, 52px); }
  .li-d-fields { margin-top: 26px; }
  .li-d-foot { padding: 0 8px 6px; }
}
@media (max-width: 380px) {
  .li-d-home span { display: none; }
  .li-d-home { padding: 0 10px; }
  .li-d-art { gap: 14px; padding: 16px; }
  .li-d-ringbox { width: 76px; }
  .li-d-num b { font-size: 22px; }
  .li-d-new { padding-left: 14px; }
}

/* ================================================================== the admin sign-in */
html:has(.lg-admin) { color-scheme: dark; }
body.bare:has(.lg-admin) { background: #070708; color: #ECEBE8; }

.lg-admin {
  --la-ink: #ECEBE8;
  --la-soft: #A29E97;
  --la-dim: #86827B;
  --la-edge: rgba(255, 255, 255, .1);
  --la-accent: #FF5A2E;
  --la-ok: #5FD38D;
  --la-err: #FF8A75;
  --la-mono: var(--font);
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto auto;
  min-height: 100vh; min-height: 100svh;
  background: #070708; color: var(--la-ink);
}
.lg-admin .mono { font-family: var(--font); font-variant-numeric: tabular-nums; color: var(--la-soft); }
.lg-admin :focus-visible { outline: 2px solid var(--la-accent); outline-offset: 2px; border-radius: 3px; }

/* the room: a fine grid that fades out at the edges, and a slow scan */
.li-a-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(255, 90, 46, .07), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px) 0 0 / 160px 160px,
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px) 0 0 / 160px 160px,
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 50% 45%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 85% at 50% 45%, #000 40%, transparent 100%);
}
.li-a-scan { position: absolute; left: 0; right: 0; top: -30%; height: 30%; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .035) 85%, rgba(255, 90, 46, .12) 100%); animation: li-scan 9s linear infinite; }

/* the status strip */
.li-a-strip {
  position: relative; z-index: 3;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  min-height: 52px; padding: 8px 22px;
  border-bottom: 1px solid var(--la-edge);
  background: rgba(7, 7, 8, .72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.li-a-strip::after { content: ""; position: absolute; left: 22px; bottom: -1px; width: 64px; height: 1px; background: var(--la-accent); }
.li-a-brand { display: block; flex: none; }
.li-a-brand img { width: 104px; height: auto; }
.li-a-tag { padding-left: 18px; border-left: 1px solid var(--la-edge); }
.li-a-ok { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--la-ink) !important; }
.li-a-ok i { width: 7px; height: 7px; border-radius: 50%; background: var(--la-ok); box-shadow: 0 0 0 3px rgba(95, 211, 141, .16), 0 0 12px rgba(95, 211, 141, .6); animation: li-blink 2.4s ease-in-out infinite; }
.li-a-clock { display: inline-flex; align-items: baseline; gap: 6px; padding-left: 18px; border-left: 1px solid var(--la-edge); }
.li-a-clock time { color: var(--la-ink); font-variant-numeric: tabular-nums; letter-spacing: .04em; min-width: 8ch; }
.li-a-clock em { font-style: normal; color: var(--la-dim); }

/* the stage: the tiles fill it, the card sits in front */
.li-a-stage { position: relative; display: grid; padding: 24px; min-width: 0; }
.li-a-stage > * { grid-area: 1 / 1; }
.li-a-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(150px, 1fr); gap: 12px; min-width: 0; }
.li-tile {
  position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; overflow: hidden;
  padding: 16px 18px; border-radius: 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
  opacity: .62;
  animation: li-tile-in .8s var(--out) both; animation-delay: calc(.15s + var(--d, 0) * 60ms);
}
.li-tile p { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--font); font-variant-numeric: tabular-nums; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--la-soft); }
.li-tile p span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li-tile b { font-size: clamp(26px, 2.4vw, 36px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--la-ink); }
.li-tile b em { font-style: normal; font-size: .5em; font-weight: 500; color: var(--la-dim); letter-spacing: 0; margin-left: 2px; }
.li-tile small { font-size: 12px; color: var(--la-dim); }
.li-tdot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--la-accent); box-shadow: 0 0 10px rgba(255, 90, 46, .7); }
.li-tdot.ok { background: var(--la-ok); box-shadow: 0 0 10px rgba(95, 211, 141, .6); }
.li-bars { margin-top: auto; display: flex; align-items: flex-end; gap: 4px; height: 34px; }
.li-bars i { flex: 1; height: calc(var(--h, .5) * 100%); min-height: 3px; background: rgba(255, 255, 255, .22); border-radius: 1px; transition: height .6s var(--out); }
.li-bars i:last-child { background: var(--la-accent); }
.li-spark { margin-top: auto; width: 100%; height: 32px; overflow: visible; }
.li-spark path { fill: none; stroke: var(--la-accent); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: li-draw 2s var(--out) .6s forwards; }
.li-meter { margin-top: auto; display: block; height: 4px; background: rgba(255, 255, 255, .08); border-radius: 1px; overflow: hidden; }
.li-meter i { display: block; height: 100%; width: calc(var(--w, .5) * 100%); background: var(--la-ink); }
.li-dots { margin-top: auto; display: flex; gap: 5px; flex-wrap: wrap; }
.li-dots i { width: 9px; height: 9px; border-radius: 2px; background: rgba(255, 255, 255, .1); }
.li-dots i.on { background: var(--la-ok); opacity: .85; }

/* the card */
.li-a-card {
  position: relative; z-index: 2; place-self: center;
  width: min(100%, 448px);
  padding: 30px 32px 26px;
  border-radius: 6px;
  background: rgba(13, 13, 15, .78);
  -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .11), 0 40px 120px -30px rgba(0, 0, 0, .9), 0 0 0 12px rgba(7, 7, 8, .35);
  animation: li-card-in .9s var(--out) .1s both;
}
.li-a-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--la-accent), rgba(255, 90, 46, .25) 55%, transparent); }
.li-a-corner { position: absolute; inset: -7px; pointer-events: none; }
.li-a-corner::before, .li-a-corner::after { content: ""; position: absolute; width: 12px; height: 12px; border: 0 solid rgba(255, 255, 255, .45); }
.li-a-corner::before { left: 0; bottom: 0; border-width: 0 0 1px 1px; }
.li-a-corner::after { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.li-a-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px dashed rgba(255, 255, 255, .12); }
.li-a-staff { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: 3px; color: var(--la-ink) !important; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.li-a-staff svg { width: 13px; height: 13px; color: var(--la-ok); }
.li-a-h { margin-top: 24px; font-size: clamp(30px, 3vw, 38px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; }
.li-a-sub { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--la-soft); }

.li-a-form { display: grid; gap: 18px; margin-top: 26px; }
.lg-admin .li-field label { font-family: var(--font); font-variant-numeric: tabular-nums; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--la-soft); }
.lg-admin .li-in {
  height: 48px; padding: 0 14px; border-radius: 4px;
  background: rgba(255, 255, 255, .04); color: var(--la-ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  transition: box-shadow .2s ease, background-color .2s ease;
  caret-color: var(--la-accent);
}
.lg-admin .li-in::placeholder { color: #7D7973; opacity: 1; font-family: var(--font); font-variant-numeric: tabular-nums; font-size: 14px; }
.lg-admin .li-in:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26); }
.lg-admin .li-in:focus, .lg-admin .li-in:focus-visible { outline: 0; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--la-accent), 0 0 0 3px rgba(255, 90, 46, .22); }
.lg-admin .li-in[aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--la-err), 0 0 0 3px rgba(255, 138, 117, .14); }
.lg-admin .li-err { color: var(--la-err); font-family: var(--font); font-variant-numeric: tabular-nums; font-size: 12px; }
.lg-admin .li-in:-webkit-autofill { -webkit-text-fill-color: var(--la-ink); -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 0 0 40px #17171A; }
.lg-admin .li-forgot { font-size: 13px; color: var(--la-soft); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .25); text-underline-offset: 3px; transition: color .2s ease, text-decoration-color .2s ease; }
.lg-admin .li-forgot:hover { color: var(--la-ink); text-decoration-color: currentColor; }
.lg-admin .li-eye { position: absolute; top: 6px; right: 6px; height: 36px; min-width: 52px; padding: 0 10px; border-radius: 3px; font-size: 11px; color: var(--la-soft) !important; background: rgba(255, 255, 255, .05); transition: color .2s ease, background-color .2s ease; }
.lg-admin .li-eye:hover { color: var(--la-ink) !important; background: rgba(255, 255, 255, .1); }
.lg-admin .li-eye[aria-pressed="true"] { color: var(--la-accent) !important; }

.li-a-go {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 52px; margin-top: 4px; padding: 0 18px 0 20px; border-radius: 4px;
  background: #F6F5F2; color: #0B0B0B;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  transition: background-color .2s ease, transform .3s var(--spring-fast);
}
.li-a-go::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--la-accent); transition: width .4s var(--out); }
.li-a-go:hover { background: #fff; }
.li-a-go:hover::before { width: 6px; }
.li-a-go:active { transform: scale(.985); }
.li-a-go svg { width: 18px; height: 18px; transition: transform .43s var(--spring-fast); }
.li-a-go:hover svg { transform: translateX(3px); }
.li-a-go:focus-visible { outline-offset: 3px; }
.is-going .li-a-go svg { animation: li-nudge .8s ease-in-out infinite; }
.li-a-note { font-size: 12px; color: var(--la-dim); text-align: center; font-family: var(--font); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.li-a-note a { color: var(--la-ink); text-decoration: underline; text-underline-offset: 3px; }

.li-a-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed rgba(255, 255, 255, .12); }
.li-a-links a { display: grid; gap: 3px; padding: 10px 12px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: background-color .2s ease, box-shadow .2s ease; min-width: 0; }
.li-a-links a:hover { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.li-a-links .mono { font-size: 10px; color: var(--la-dim); }
.li-a-links b { font-size: 14px; font-weight: 500; color: var(--la-ink); }

/* the live log: one quiet line of what the room is doing */
.li-a-tape { position: relative; z-index: 3; display: flex; align-items: center; min-width: 0; height: 40px; border-top: 1px solid var(--la-edge); background: rgba(7, 7, 8, .6); }
.li-a-tape-k { flex: none; display: flex; align-items: center; gap: 8px; height: 100%; padding: 0 16px 0 22px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; border-right: 1px solid var(--la-edge); color: var(--la-ink) !important; }
.li-a-tape-k::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--la-accent); animation: li-blink 1.6s ease-in-out infinite; }
.li-a-ticker { position: relative; flex: 1; min-width: 0; height: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.li-a-run { display: flex; width: max-content; height: 100%; align-items: center; animation: li-run 70s linear infinite; will-change: transform; }
.li-a-tape:hover .li-a-run, .li-a-tape.is-rest .li-a-run { animation-play-state: paused; }
.li-ev { display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; font: 12px/1 var(--la-mono); color: var(--la-dim); white-space: nowrap; border-right: 1px solid rgba(255, 255, 255, .06); }
.li-ev b { font-weight: 500; color: var(--la-ink); }
.li-ev i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.li-ev i.ok { background: var(--la-ok); }
.li-ev i.live { background: var(--la-accent); }
@keyframes li-run { to { transform: translate3d(-50%, 0, 0); } }

.li-a-foot { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 22px; border-top: 1px solid var(--la-edge); background: rgba(7, 7, 8, .72); }
.li-a-foot, .li-a-foot a { color: var(--la-dim) !important; }
.li-a-foot nav { display: flex; gap: 4px; }
.li-a-foot a { padding: 4px 8px; border-radius: 3px; transition: color .2s ease; }
.li-a-foot a:hover { color: var(--la-ink) !important; }

@keyframes li-scan { to { top: 100%; } }
@keyframes li-blink { 50% { opacity: .45; } }
@keyframes li-tile-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes li-card-in { from { opacity: 0; transform: translateY(14px) scale(.985); } }
@keyframes li-draw { to { stroke-dashoffset: 0; } }

/* tablets: three columns of tiles */
@media (max-width: 1100px) {
  .li-a-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .li-tile:nth-child(n+10) { display: none; }
}

/* phones: the card first, a few tiles under it */
@media (max-width: 720px) {
  .li-a-strip { gap: 10px 14px; padding: 8px 14px; }
  .li-a-strip::after { left: 14px; }
  .li-a-brand img { width: 92px; }
  .li-a-tag { display: none; }
  .li-a-clock { padding-left: 12px; }
  .li-a-stage { display: flex; flex-direction: column; gap: 12px; padding: 16px 12px 20px; }
  .li-a-card { order: -1; width: 100%; padding: 24px 20px 20px; place-self: auto; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .11), 0 30px 80px -30px rgba(0, 0, 0, .9); }
  .li-a-corner { inset: -5px; }
  .li-a-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 8px; }
  .li-tile { opacity: .8; padding: 14px; min-height: 118px; }
  .li-tile:nth-child(n+5) { display: none; }
  .li-tile b { font-size: 26px; }
  .li-a-foot { padding: 12px 14px; }
  .li-a-tape-k { padding: 0 12px 0 14px; }
  .li-ev { padding: 0 16px; }
}
@media (max-width: 380px) {
  .li-a-ok { font-size: 10px; letter-spacing: .03em; }
  .li-a-clock em { display: none; }
  .li-a-links { grid-template-columns: 1fr; }
  .li-a-card { padding: 22px 16px 18px; }
}

/* calm: everything lands in place, nothing drifts */
@media (prefers-reduced-motion: reduce) {
  .li-d-form-in, .li-d-art, .li-card, .li-d-teams, .li-d-rows b, .li-tile, .li-a-card, .li-a-scan, .li-d-live i, .li-d-dot, .li-a-ok i, .li-d-art .mesh i, .li-d-art .grain, .li-a-run, .li-a-tape-k::before { animation: none !important; }
  .li-a-scan { display: none; }
  .li-spark path { animation: none !important; stroke-dashoffset: 0; }
}

/* the language row under each sign-in */
.li-langs { display: flex; flex-wrap: wrap; gap: 2px; }
.li-langs a[aria-current] { color: var(--ink); font-weight: 600; }
.lg-admin .li-langs a[aria-current] { color: var(--la-ink) !important; }

/* Continue with Google: hands off to the dashboard / admin sign-in, which starts
   the real Google sign-in (?auth=google) */
.li-g { display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 500; text-decoration: none; transition: background-color .2s ease, box-shadow .2s ease, transform .3s var(--spring-fast); }
.li-g:active { transform: scale(.985); }
.li-g-ic { width: 18px; height: 18px; flex: none; display: block; }
/* The page's line-icon rule (.lg-dash a svg { stroke: currentColor }) must not
   reach the Google mark: it draws a black outline around the four colours. */
.lg-dash a.li-g svg.li-g-ic, .lg-admin a.li-g svg.li-g-ic,
.lg-dash a.li-g svg.li-g-ic path, .lg-admin a.li-g svg.li-g-ic path { stroke: none; stroke-width: 0; }
.li-or { display: flex; align-items: center; gap: 14px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.li-or::before, .li-or::after { content: ""; flex: 1; height: 1px; }
.li-d-g { height: 54px; margin-top: 32px; border-radius: 999px; background: var(--li-field); color: var(--ink); font-size: 16px; box-shadow: inset 0 0 0 1px var(--li-edge), 0 1px 2px rgba(28, 27, 26, .04); }
.li-d-g:hover { box-shadow: inset 0 0 0 1px var(--li-edge-hover), 0 1px 2px rgba(28, 27, 26, .04); }
.li-d-g:focus-visible { outline: 2px solid var(--live); outline-offset: 3px; }
.li-d-or { margin-top: 22px; color: var(--li-soft); }
.li-d-or::before, .li-d-or::after { background: var(--li-edge); }
.li-d-or + .li-d-fields { margin-top: 18px; }
.li-a-g { height: 52px; margin-top: 26px; border-radius: 4px; background: rgba(255, 255, 255, .04); color: var(--la-ink); font-size: 15px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.li-a-g:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26); }
.li-a-g .li-g-ic { padding: 3px; box-sizing: content-box; border-radius: 3px; background: #fff; }
.li-a-or { margin-top: 20px; color: var(--la-dim); }
.li-a-or::before, .li-a-or::after { background: var(--la-edge); }
.li-a-or + .li-a-form { margin-top: 18px; }
