/* FURIA FEVER — shared tokens and primitives (participant, admin and display). */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --ink: #09070c;
  --ink-2: #130d1b;
  --ink-3: #1d1429;
  --line: #3a2a50;
  --cream: #f4edda;
  --cream-2: #e6dcc0;
  --purple: #7a2bff;
  --purple-deep: #3d1768;
  --acid: #dcff1f;
  --muted: #b8aec6;
  --danger: #ff5c8a;
  --ok: #8dffbf;
  --display: 'Archivo Black', 'Arial Black', Impact, system-ui, sans-serif;
  --text: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --radius: 14px;
  --halftone: radial-gradient(rgba(244, 237, 218, .07) 1px, transparent 1.4px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--cream); font-family: var(--text); line-height: 1.45; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--acid); }
:focus-visible { outline: 3px solid var(--acid); outline-offset: 3px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.logo {
  /* FURIA FEVER lockup (canonical 1705×923): sized only by max-width/max-height, never stretched by flex/grid.
     The transparent margin of the canonical canvas is the brand clear space: it is never cropped. */
  display: block; width: auto; height: auto; max-width: 100%; object-fit: contain; aspect-ratio: 1705 / 923; align-self: center; flex: none;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.1em; border: 0; border-radius: 10px;
  font-weight: 800; letter-spacing: .01em; cursor: pointer; text-decoration: none;
  transition: transform .12s ease, filter .12s ease, background .12s ease;
}
.btn:active:not(:disabled) { transform: translateY(1px) scale(.99); }
.btn:disabled { opacity: .42; cursor: not-allowed; filter: grayscale(.6); }
.btn-acid { background: var(--acid); color: var(--ink); box-shadow: 4px 4px 0 var(--purple); }
.btn-purple { background: var(--purple); color: #fff; box-shadow: 4px 4px 0 var(--acid); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-ghost { background: var(--ink-3); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.btn-danger { background: var(--danger); color: var(--ink); }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { position: relative; color: transparent !important; }
.btn[aria-busy="true"]::after {
  content: ''; position: absolute; width: 1.1em; height: 1.1em; border-radius: 50%;
  border: 3px solid currentColor; border-color: var(--ink) transparent var(--ink) transparent; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.eyebrow { font: 800 .74rem/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--acid); }
.sticker {
  display: inline-block; padding: .25em .6em; background: var(--acid); color: var(--ink);
  font: 900 .78rem/1.2 var(--text); letter-spacing: .08em; text-transform: uppercase; transform: rotate(-2deg);
}
.taped { position: relative; }
.taped::before {
  content: ''; position: absolute; top: -12px; left: 50%; width: 34%; height: 24px; transform: translateX(-50%) rotate(-3deg);
  background: rgba(220, 255, 31, .78); box-shadow: 0 1px 0 rgba(0, 0, 0, .25); mix-blend-mode: normal; pointer-events: none;
}

.notice { margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: #2a1420; color: #ffd0de; box-shadow: inset 0 0 0 1px #6b2944; font-weight: 600; }
.notice.ok { background: #10251a; color: var(--ok); box-shadow: inset 0 0 0 1px #2c6a46; }
.notice.info { background: var(--ink-3); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }

label { display: block; margin: 14px 0 6px; font-weight: 700; font-size: .92rem; }
input[type="text"], input[type="url"], input:not([type]), select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-radius: 10px;
  background: #050407; color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 1rem;
}
input:focus, select:focus, textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--acid); }
textarea { min-height: 110px; resize: vertical; }
::placeholder { color: #7d7389; }
.help { color: var(--muted); font-size: .88rem; margin: 6px 0 0; }

.toast-region { position: fixed; z-index: 200; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: grid; gap: 8px; width: min(520px, calc(100vw - 24px)); pointer-events: none; }
.toast { pointer-events: auto; padding: 14px 16px; border-radius: 12px; background: var(--cream); color: var(--ink); font-weight: 800; box-shadow: 5px 5px 0 var(--purple); animation: toast-in .2s ease-out; }
.toast.error { background: var(--danger); box-shadow: 5px 5px 0 var(--ink-3); }
@keyframes toast-in { from { transform: translateY(12px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; scroll-behavior: auto !important; }
}

/* MANICAS paw (MANICAS.md): drawn, always pink — the emoji comes out blue on some systems. Scales with the font size. */
.mn-paw { display: inline-block; width: 1em; height: 1em; vertical-align: -.12em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%23ff2d95'%3E%3Cellipse cx='50' cy='68' rx='25' ry='21'/%3E%3Cellipse cx='17' cy='44' rx='10.5' ry='14' transform='rotate(-22 17 44)'/%3E%3Cellipse cx='38' cy='23' rx='10.5' ry='15' transform='rotate(-8 38 23)'/%3E%3Cellipse cx='62' cy='23' rx='10.5' ry='15' transform='rotate(8 62 23)'/%3E%3Cellipse cx='83' cy='44' rx='10.5' ry='14' transform='rotate(22 83 44)'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
