@charset "UTF-8";
/*
 * Ark base layer: the Blazor twin of the ARKSOFT platform's `@layer base`/`@layer components` blocks. Since the padel-tournament port (see Token.scss), colours and type come from Token.scss rather than mirroring that upstream sheet, though the structural rules (focus rings, scrollbars, card elevation, sign-in) are unchanged.
 * What lives here: global treatments a page gets for free (face, focus rings, scrollbars, selection, heading rhythm) plus a small set of utility classes (.card-shell, .meta, .code-chip, .brand-mark, .skeleton, .surface-*). Anything targeting a MudBlazor class belongs in ark-mud.css instead, which loads after this one.
 * Load order (App.razor / index.html): tokens → base → surfaces → components → mud → dialog - tokens first since everything reads them, mud last since it must outrank MudBlazor.min.css.
 * Compiled to ark-base.css by AspNetCore.SassCompiler.
 */
/* ─────────────────────────────────────────────────────────────────────────
   THE FACE
   ─────────────────────────────────────────────────────────────────────── */
/* The three faces ship with the app, licences beside them in fonts/ (SIL OFL): a phone with no signal, or a network that blocks Google, still gets the real type. Each is Google's latin and latin-ext subset; latin-ext only downloads when a name needs it. Inter Tight and JetBrains Mono are variable, one file for every weight. */
@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/bebas-neue-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/bebas-neue-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-tight-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-tight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
html {
  font-family: var(--font-sans);
  font-feature-settings: var(--font-feature-default);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  background-color: var(--background);
  color: var(--foreground);
}

/* Atmospheric canvas - one soft glow in the brand colour, upper-left; --workspace-mesh in ark-tokens.css already holds this exact gradient, so this reads the token rather than restating the stops. */
body {
  background-image: var(--workspace-mesh);
}

/* ─────────────────────────────────────────────────────────────────────────
   TYPE
   ─────────────────────────────────────────────────────────────────────── */
/* Headings wear --font-display - Bebas Neue, distinct from the --font-sans body face (the old Public Sans port used the same family for both). Weight stays 400 always: Bebas ships as one 400 face, so 600 got a browser-synthesised bold that smears on a condensed caps face rather than reading as strong - size and open tracking do the emphasis instead. Tracking is positive for the same reason: a caps-only condensed face needs air between letters, unlike --tracking-tight for the body face. */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: var(--tracking-display);
  /* A no-op while Bebas Neue loads (it has only capitals); keeps the look if the face ever fails to load. */
  text-transform: uppercase;
}

table,
code,
kbd,
samp,
pre {
  font-variant-numeric: tabular-nums;
  font-feature-settings: var(--font-feature-tabular);
}

/* ─────────────────────────────────────────────────────────────────────────
   AFFORDANCES
   ─────────────────────────────────────────────────────────────────────── */
button:not(:disabled):not([aria-disabled=true]),
[role=button]:not([aria-disabled=true]),
[role=link]:not([aria-disabled=true]),
[role=menuitem]:not([aria-disabled=true]),
[role=option]:not([aria-disabled=true]),
[role=tab]:not([aria-disabled=true]),
[role=switch]:not([aria-disabled=true]),
[role=checkbox]:not([aria-disabled=true]),
[role=radio]:not([aria-disabled=true]),
a[href],
summary,
label[for]:not([data-disabled]),
select:not(:disabled),
input[type=submit]:not(:disabled),
input[type=reset]:not(:disabled),
input[type=button]:not(:disabled),
input[type=checkbox]:not(:disabled),
input[type=radio]:not(:disabled),
input[type=file]:not(:disabled) {
  cursor: pointer;
}

button:disabled,
button[aria-disabled=true],
[role=button][aria-disabled=true],
[role=switch][aria-disabled=true],
[role=checkbox][aria-disabled=true],
select:disabled,
input:disabled,
fieldset:disabled,
fieldset:disabled * {
  cursor: not-allowed;
}

input::-ms-reveal,
input::-ms-clear {
  display: none;
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

::selection {
  background-color: oklch(from var(--primary) l c h/0.3);
  color: var(--foreground);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background-color: oklch(from var(--border-strong) l c h/0.6);
  border-radius: 9999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: var(--muted-foreground);
}

/* ─────────────────────────────────────────────────────────────────────────
   SMALL TYPE UTILITIES
   ─────────────────────────────────────────────────────────────────────── */
/* The mono crumb AppShell puts at the foot of the web rail - the only utility class left in this sheet; the surface, card and display-type ones that used to sit around it came over with the catalog port and nothing ever wore them. */
.meta {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: var(--tracking-meta);
  text-transform: uppercase;
  line-height: 1;
  color: var(--muted-foreground);
}

/* ─────────────────────────────────────────────────────────────────────────
   REDUCED MOTION
   ─────────────────────────────────────────────────────────────────────── */
/* The skeleton and pulse-dot rules this block used to quiet went with the rest of the catalog utilities; the page glow is what is left to turn off. */
@media (prefers-reduced-motion: reduce) {
  body {
    background-image: none;
  }
}
/* SIGN-IN: one card, centred, on a canvas tinted with the brand. Shared, not host-local, so both ArkPadel.Web and ArkPadel.Mobile get the same sign-in screen; every colour and shadow here comes from a token. */
.ark-login {
  display: grid;
  place-items: center;
  min-block-size: 100vh;
  min-block-size: 100dvh;
  padding: 1.5rem;
  /* The phone draws under its status bar and home indicator; the insets are 0 everywhere else. */
  padding-block: max(1.5rem, env(safe-area-inset-top, 0px)) max(1.5rem, env(safe-area-inset-bottom, 0px));
  background: var(--surface-bg);
  background-image: radial-gradient(60rem 32rem at 50% -12%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 70%);
}

.ark-login-card {
  inline-size: 100%;
  max-inline-size: 24rem;
  padding: 2.25rem 2rem 1.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  background: var(--card);
  /* The token stack, not the pre-port literals: those were the light theme's 0.04/0.18 alphas, which on this near-black canvas draw nothing at all and left the one card on the page sitting flat. */
  box-shadow: var(--shadow-md);
}

.ark-login-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.1875rem;
  color: var(--text-color);
  line-height: 1;
}

.ark-login-the {
  align-self: flex-start;
  font-size: 0.75rem;
  font-style: italic;
  font-weight: 700;
}

.ark-login-mark {
  font-size: 1.375rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.ark-login-brand::after {
  content: "";
  align-self: center;
  inline-size: 1.5rem;
  block-size: 3px;
  margin-inline-start: 0.625rem;
  border-radius: 2px;
  background: var(--saffron);
}

/* An h1, so it already wears the display face from the heading rule above; weight and tracking are left to that rule on purpose - Bebas has no bold to ask for. */
.ark-login-title {
  margin: 1.5rem 0 0.375rem;
  color: var(--text-color);
  font-size: 1.75rem;
  line-height: 1.1;
}

.ark-login-lede {
  margin: 0 0 1.75rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.45;
}

.ark-login-field {
  display: block;
  margin-block-end: 1.125rem;
}

.ark-login-label {
  display: block;
  margin-block-end: 0.375rem;
  color: var(--text-color);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
}

.ark-login-input {
  display: block;
  inline-size: 100%;
  padding: 0.6875rem 0.875rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--surface-bg);
  color: var(--text-color);
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1.4;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.ark-login-input::placeholder {
  color: var(--text-muted);
}

.ark-login-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent);
  outline: none;
}

.ark-login-input.invalid {
  border-color: var(--destructive);
}

.ark-login-invalid {
  display: block;
  margin-block-start: 0.375rem;
  color: var(--destructive);
  font-size: 0.8125rem;
}

.ark-login-error {
  margin: 0 0 1.125rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid color-mix(in srgb, var(--destructive) 40%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--destructive) 10%, transparent);
  color: var(--destructive);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.ark-login-submit {
  inline-size: 100%;
  padding: 0.6875rem 1rem;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: var(--primary-foreground);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 120ms ease;
}

/* The same look on an <a>: the "Back to sign in" and "Go to the dashboard" links, which inline-size alone cannot stretch. */
a.ark-login-submit {
  display: block;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
}

.ark-login-submit:hover {
  background: color-mix(in srgb, var(--primary) 88%, black);
}

.ark-login-submit:disabled {
  opacity: 0.6;
  cursor: progress;
}

.ark-login-reference code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  overflow-wrap: anywhere;
}

.ark-login-submit:active {
  background: color-mix(in srgb, var(--primary) 78%, black);
}

.ark-login-submit:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* The quieter sibling to .ark-login-submit - same width and centring, but no fill and no border, so it reads as a link. Used as a <button> on the phone (no cookie to post) and an <a> on the portal (a plain navigation, kept off the static form on purpose); the reset here covers whichever tag carries it. */
.ark-login-link {
  display: block;
  inline-size: 100%;
  margin-block-start: 0.875rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color 120ms ease;
}

.ark-login-link:hover {
  color: color-mix(in srgb, var(--primary) 88%, black);
}

/* The rule between the real sign-in and the development-only demo button: a label sitting on the line rather than above it, so the two routes read as alternatives rather than one section following another. */
.ark-login-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-block: 1.25rem 1rem;
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ark-login-divider::before,
.ark-login-divider::after {
  content: "";
  flex: 1 1 0;
  block-size: 1px;
  background: var(--border-color);
}

/* Deliberately quieter than .ark-login-submit: an outline, not a fill, since the primary action here is signing in as yourself and a second filled button would compete with it. Development only - see the note in Login.razor. */
.ark-login-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  inline-size: 100%;
  padding: 0.625rem 1rem;
  border: 1px dashed var(--border-strong, var(--border-color));
  border-radius: 8px;
  background: none;
  color: var(--text-color);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 120ms ease, background-color 120ms ease, color 120ms ease;
}

.ark-login-demo svg {
  inline-size: 0.9375rem;
  block-size: 0.9375rem;
  flex-shrink: 0;
  color: var(--primary);
}

.ark-login-demo:hover {
  border-color: var(--primary);
  background: var(--primary-soft, transparent);
  color: var(--primary);
}

.ark-login-demo:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.ark-login-demo-note {
  margin: 0.625rem 0 0;
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: center;
}

.ark-login-note {
  margin: 1.25rem 0 0;
  padding-block-start: 1.25rem;
  border-block-start: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

@media (prefers-reduced-motion: reduce) {
  .ark-login-input,
  .ark-login-submit,
  .ark-login-link,
  .ark-login-demo {
    transition: none;
  }
}

/*# sourceMappingURL=ark-base.css.map */
