/* Modplex's navy studio, from zlexo/modplex apps/studio/DESIGN.md (2026-10-25), the look
   Strum wears too. Calm navy with one bright voice: navy steps split by hairline blue, Live
   Teal only for what you can act on, suit colours naming the apps, Unbounded for the title
   and names, Instrument Sans for sentences, Silkscreen for short labels, mono for addresses.
   Only cards cast shadows. Dark only. Fonts are self-hosted copies of @fontsource 5.3.0
   (SIL Open Font License 1.1). Every page loads this file first; the start page's own layout is
   start.css, an app page's page.css. */
@font-face { font-family: 'Unbounded'; font-weight: 700; font-display: swap; src: url('fonts/unbounded-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Unbounded'; font-weight: 900; font-display: swap; src: url('fonts/unbounded-latin-900-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 400; font-display: swap; src: url('fonts/instrument-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 400; font-style: italic; font-display: swap; src: url('fonts/instrument-sans-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Silkscreen'; font-weight: 400; font-display: swap; src: url('fonts/silkscreen-latin-400-normal.woff2') format('woff2'); }

:root {
  --navy: #0a101f;
  --surface: #0e1627;
  --raised: #131d33;
  --lift: #182440;
  --line: rgba(148, 180, 255, 0.10);
  --line-strong: rgba(148, 180, 255, 0.20);
  --line-hover: rgba(148, 180, 255, 0.32);
  --ink: #e8eef9;
  --muted: #8fa0ba;
  --faint: #7f8eab;
  --teal: #2dd4bf;
  --teal-hover: #4fe0cf;
  --teal-ink: #04231f;
  --aqua: #22d3ee;

  --sky: #9ad1ff;
  --rose: #ffa8b6;
  --leaf: #b9e58e;
  --gold: #f7d774;
  --orchid: #f2a7e4;

  --display: 'Unbounded', sans-serif;
  --body: 'Instrument Sans', system-ui, sans-serif;
  --label: 'Silkscreen', monospace;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;

  --sleeve-shadow: 0 18px 30px -16px rgba(0, 0, 0, 0.9);
  --sleeve-shadow-up: 0 26px 40px -16px rgba(0, 0, 0, 0.95);

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--lift) var(--navy);
}

body {
  background: var(--navy);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--teal);
}

::selection { background: var(--teal); color: var(--teal-ink); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; }

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

.label {
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.account { display: flex; align-items: center; gap: 12px; min-width: 0; }
.account-name { color: var(--muted); overflow-wrap: anywhere; }
.account-link {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--raised);
  transition: background 0.12s, border-color 0.12s;
}
.account-link:hover { background: var(--lift); border-color: var(--line-hover); }

.suit-sky { --suit: var(--sky); }
.suit-rose { --suit: var(--rose); }
.suit-leaf { --suit: var(--leaf); }
.suit-gold { --suit: var(--gold); }
.suit-orchid { --suit: var(--orchid); }

.name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(21px, 2.4vw, 25px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  min-width: 0;
}
