/* thumbs.party – Grundwerte der neuen Übersicht (Design System „thumbs.party“, tokens.json).
   Gilt für Fernseher und Handy. Bewusst ohne neuere CSS-Technik (Fernseher ab Chromium 68). */

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --night: #0d0911;
  --plum: #1d1624;
  --line: #3a3144;
  --white: #f7f3fa;
  --lilac: #b9aec4;
  --thumb-orange: #ff9147;
  --ink-on-orange: #2b1206;
  --glass: rgba(255, 255, 255, 0.09);
  --hairline: rgba(255, 255, 255, 0.08);
  --scrim: rgba(13, 9, 17, 0.66);
  --qr-ground: #ffffff;

  --sans: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --tv-edge: 96px;

  --radius-tile: 10px;
  --radius-control: 12px;
  --radius-button: 14px;
  --radius-button-tv: 16px;
  --radius-sheet: 24px;
  --radius-round: 999px;

  --focus-tv: 0 0 0 5px #0d0911, 0 0 0 10px #f7f3fa;
  --focus-tile: 0 0 0 5px #f7f3fa;
  --sheet-edge: 0 -1px 0 rgba(255, 255, 255, 0.1);

  --ambient-top: 0.85;
  --ambient-band: 0.08;
  --tile-glow: 0.3;
  --disabled: 0.4;
  --needs-tv: 0.35;

  --duration-quick: 150ms;
  --duration-fast: 250ms;
  --duration-slow: 400ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: ease-in-out;
}

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

html {
  background: var(--night);
  color: var(--white);
  font-family: var(--sans);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img {
  display: block;
}

button {
  font: inherit;
  color: inherit;
}

a {
  color: var(--white);
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Logo: Zeichen + „thumbs.party“, Punkt in Orange */
.logo {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  color: var(--white);
  text-decoration: none;
}
.logo svg {
  -webkit-flex: none;
  flex: none;
}
.logo-text {
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.logo-dot {
  color: var(--thumb-orange);
}

/* QR-Code immer auf reinem Weiß */
.qr {
  background: var(--qr-ground);
}
.qr svg {
  display: block;
  width: 100%;
  height: 100%;
}
