:root {
  --perf-hot: oklch(0.74 0.15 152);
  --perf-good: oklch(0.80 0.15 135);
  --perf-mid: oklch(0.80 0.10 95);
  --perf-low: oklch(0.72 0.10 48);
  --error: oklch(0.60 0.20 25);
  --error-soft: oklch(0.62 0.20 25 / 0.13);
  --success: oklch(0.66 0.15 152);
  --success-soft: oklch(0.70 0.15 152 / 0.14);
}

.theme-dark {
  --bg: oklch(0.17 0.008 160);
  --card: oklch(0.205 0.008 160);
  --card2: oklch(0.24 0.009 160);
  --ink: oklch(0.96 0.004 160);
  --muted: oklch(0.62 0.008 160);
  --line: oklch(1 0 0 / 0.07);
  --brand: oklch(0.76 0.16 152);
  --brand-ink: oklch(0.17 0.03 160);
  --tabbg: oklch(0.22 0.008 160);
}

.theme-light {
  --bg: oklch(0.985 0.003 160);
  --card: oklch(1 0 0);
  --card2: oklch(0.975 0.004 160);
  --ink: oklch(0.19 0.012 160);
  --muted: oklch(0.45 0.008 160);
  --line: oklch(0.19 0.012 160 / 0.09);
  --brand: oklch(0.60 0.15 152);
  --brand-ink: oklch(1 0 0);
  --tabbg: oklch(1 0 0);
}

body, .scr {
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.scr-body {
  padding: 0 22px;
}

.b-rule {
  border: none;
  height: 1px;
  background: var(--line);
  margin: 16px 0 8px;
}

.mono {
  font-family: "JetBrains Mono", monospace;
}

.sec-title {
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 11px 16px 13px;
  cursor: text;
  transition: border-color 0.15s ease;
}
.auth-field:focus-within {
  border-color: color-mix(in oklch, var(--brand) 55%, transparent);
}
.auth-field.is-error {
  border-color: var(--error);
}

.auth-flabel {
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.auth-field input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.auth-field input::placeholder {
  color: var(--muted);
  font-weight: 500;
}

.auth-field-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.auth-field-row input {
  flex: 1;
  min-width: 0;
}

.auth-eye {
  flex: none;
  width: 38px;
  height: 38px;
  margin: -8px -8px -8px 0;
  border: none;
  background: transparent;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 9px;
  transition: color 0.15s ease;
}
.auth-eye:hover {
  color: var(--ink);
}
.auth-eye svg {
  width: 20px;
  height: 20px;
}

.auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 56px;
  margin-top: 2px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  background: var(--brand);
  color: var(--brand-ink);
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.auth-submit svg {
  width: 19px;
  height: 19px;
}
.auth-submit:disabled, .auth-submit.is-loading {
  opacity: 0.55;
  cursor: not-allowed;
}

.auth-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 54px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.auth-secondary svg {
  width: 19px;
  height: 19px;
  color: var(--muted);
}

.auth-back {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease;
}
.auth-back:hover {
  background: var(--card);
}
.auth-back svg {
  width: 19px;
  height: 19px;
}

.auth-register,
.auth-textlink {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--brand);
  text-decoration: none;
}
.auth-register:hover,
.auth-textlink:hover {
  text-decoration: underline;
}

.auth-forgot {
  align-self: flex-end;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 2px;
  margin-top: -4px;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--brand);
  text-decoration: none;
}
.auth-forgot:hover {
  text-decoration: underline;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.auth-scr {
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: "Archivo", sans-serif;
}

.auth-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 24px 0;
  height: 52px;
}
.auth-topbar.split {
  justify-content: space-between;
}

.auth-topnote {
  font-weight: 500;
  font-size: 13px;
  color: var(--muted);
}

.auth-toptitle {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

.auth-topspacer {
  flex: none;
  width: 44px;
}

.auth-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 0 26px 36px;
}
.auth-body.topalign {
  justify-content: flex-start;
  padding-top: 14px;
  gap: 20px;
  overflow-y: auto;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.auth-logo {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand);
  color: var(--brand-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-logo svg {
  width: 25px;
  height: 25px;
}

.auth-wordmark {
  font-weight: 800;
  font-size: 18px;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.auth-head {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.auth-title {
  margin: 0;
  font-weight: 800;
  font-size: 30px;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.auth-sub {
  margin: 0;
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--muted);
  max-width: 30ch;
}

.auth-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-errmsg {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--error-soft);
  font-weight: 600;
  font-size: 13px;
  color: var(--error);
}

.auth-iconbubble {
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: color-mix(in oklch, var(--brand) 14%, var(--card2));
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-iconbubble svg {
  width: 28px;
  height: 28px;
}
.auth-iconbubble.success {
  background: var(--success-soft);
  color: var(--success);
}
.auth-iconbubble.empty {
  background: var(--card2);
  color: var(--muted);
}
.empty-block .auth-iconbubble {
  width: 64px;
  height: 64px;
  border-radius: 20px;
}
.empty-block .auth-iconbubble svg {
  width: 30px;
  height: 30px;
}

.empty-ghost {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 2px;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--brand);
  text-decoration: none;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
}
.auth-divider::before, .auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.auth-divider span {
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.auth-fine {
  margin: 0;
  font-weight: 500;
  font-size: 11.5px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--muted);
  text-align: center;
}

.auth-link {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}
.auth-link:hover {
  text-decoration: underline;
}

.auth-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.4px solid color-mix(in oklch, var(--brand-ink) 35%, transparent);
  border-top-color: var(--brand-ink);
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#teams .topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 14px 22px 0;
}
#teams .addbtn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--brand);
  color: var(--brand-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
#teams .addbtn svg {
  width: 22px;
  height: 22px;
}
#teams .head {
  padding: 24px 24px 2px;
}
#teams .bubble {
  margin-bottom: 16px;
}
#teams .greet {
  font-weight: 700;
  font-size: 15px;
  color: var(--brand);
}
#teams .title {
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-top: 6px;
}
#teams .meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 11px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
#teams .meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
}
#teams .list {
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
#teams .card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s ease, border-color 0.15s ease;
}
#teams .card:active {
  background: color-mix(in oklch, var(--brand) 8%, var(--card));
  border-color: color-mix(in oklch, var(--brand) 45%, transparent);
}
#teams .crest {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--card2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
#teams .info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
#teams .name {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#teams .sub {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
#teams .sub .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
}
#teams .chevron {
  flex: none;
  color: var(--muted);
}

.atc-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.atc-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.atc-card:active {
  background: color-mix(in oklch, var(--brand) 8%, var(--card));
  border-color: color-mix(in oklch, var(--brand) 45%, transparent);
}

.atc-icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: color-mix(in oklch, var(--brand) 14%, var(--card2));
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.atc-icon svg {
  width: 23px;
  height: 23px;
}

.atc-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.atc-t {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.atc-d {
  font-weight: 500;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.atc-chev {
  flex: none;
  color: var(--muted);
}

.ct-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.ct-field {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.ct-field:last-child {
  border-bottom: none;
}
.ct-field.err {
  background: var(--error-soft);
}
.ct-field.err .ct-input {
  color: var(--error);
}

.ct-lbl {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.ct-lbl .req {
  font-weight: 700;
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: var(--brand);
  border: 1px solid color-mix(in oklch, var(--brand) 40%, transparent);
  border-radius: 5px;
  padding: 1px 6px;
  line-height: 1.5;
}

.ct-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.ct-input::placeholder {
  color: var(--muted);
  font-weight: 500;
}

.ct-errmsg {
  display: block;
  margin-top: 8px;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: -0.01em;
  color: var(--error);
}

.join-block {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.join-code {
  display: flex;
  gap: 9px;
}

.join-box {
  flex: 1;
  min-width: 0;
  height: 62px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  text-align: center;
  outline: none;
  text-transform: uppercase;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.join-box:focus {
  border-color: color-mix(in oklch, var(--brand) 55%, transparent);
}
.join-box.filled {
  border-color: color-mix(in oklch, var(--brand) 35%, transparent);
  background: color-mix(in oklch, var(--brand) 5%, var(--card));
}
.join-box.err {
  border-color: var(--error);
  background: var(--error-soft);
  color: var(--error);
}

.join-msg {
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: -0.01em;
  color: var(--muted);
}
.join-msg.err {
  color: var(--error);
  font-weight: 600;
}

.state-codecard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card2);
}

.state-codelbl {
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.state-codeval {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.22em;
  color: var(--ink);
  white-space: nowrap;
  padding-left: 0.22em;
}

.state-codehint {
  font-weight: 500;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--muted);
  text-align: center;
}

.empty-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px 48px;
}

.empty-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 24px 14px;
}

.empty-title {
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.empty-body {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--muted);
  max-width: 30ch;
}

.empty-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 52px;
  padding: 0 26px;
  margin-top: 6px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

/*# sourceMappingURL=auth.css.map */
