/* 1CARD shared tokens, fonts and base styles (application page + admin). */

@font-face { font-family: 'Dela Gothic One'; src: url('/fonts/dela-gothic-one-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Sedgwick Ave Display'; src: url('/fonts/sedgwick-ave-display-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/fonts/archivo-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; 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: 'Archivo'; src: url('/fonts/archivo-latin-ext-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; 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: 'Archivo'; src: url('/fonts/archivo-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; 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: 'Archivo'; src: url('/fonts/archivo-latin-ext-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; 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: 'Archivo'; src: url('/fonts/archivo-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; 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: 'Archivo'; src: url('/fonts/archivo-latin-ext-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; 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; }

:root {
  --black: #000;
  --graphite: #15130e;
  --graphite-deep: #0a0907;
  --field: #070605;
  --paper: #f5efe2;
  --muted: #a39a87;
  --faint: #6d6658;
  --gold: #e8b04a;
  --gold-light: #f7dc95;
  --gold-deep: #a8741e;
  --gold-metal: linear-gradient(135deg, #f7dc95 0%, #d9a440 38%, #f8e3a6 58%, #b98328 100%);
  --danger: #ff8a73;
  --line: rgba(245, 239, 226, 0.12);
  --line-strong: rgba(245, 239, 226, 0.24);
  --gold-line: rgba(232, 176, 74, 0.32);

  --font-display: 'Dela Gothic One', 'Arial Black', sans-serif;
  --font-body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-tag: 'Sedgwick Ave Display', 'Comic Sans MS', cursive;

  --r-card: 28px;
  --r-control: 12px;
  --r-pill: 999px;
  --focus: 0 0 0 3px rgba(232, 176, 74, 0.55);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font: 400 16px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--gold-light); }
:focus-visible { outline: none; box-shadow: var(--focus); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---- wordmark: gold "1", white CARD, graffiti Europe ---- */
.wordmark { display: inline-flex; align-items: flex-end; gap: 6px; text-decoration: none; color: var(--paper); border-radius: 6px; }
.wordmark-name { font-family: var(--font-display); font-size: 24px; line-height: 1; letter-spacing: -0.01em; }
.wordmark-one { background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wordmark-tag { font-family: var(--font-tag); font-size: 17px; line-height: 1; color: var(--gold); transform: rotate(-4deg) translateY(4px); }

/* ---- buttons ---- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-pill);
  font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform 120ms ease, filter 120ms ease, background-color 120ms ease;
}
.button:active { transform: translateY(1px); }
.button-gold { background: var(--gold-metal); color: #1a1205; border-color: rgba(255, 236, 190, 0.5); }
.button-gold:hover { filter: brightness(1.06); }
.button-gold[disabled] { filter: saturate(0.4) brightness(0.7); cursor: progress; }
.button-ghost { background: transparent; color: var(--paper); border-color: var(--line-strong); }
.button-ghost:hover { border-color: var(--paper); }
.link-button { background: none; border: 0; padding: 0; color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 600; }

.chip { width: 40px; height: auto; flex: none; }
.defs { position: absolute; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}
