/* Gemeinsamer Look für Spieler-Ansicht und Regie, angelehnt an die Vyro-Events-Banner. */
:root {
  --bg: #06050a;
  --panel: rgba(20, 16, 32, .78);
  --panel-solid: #14111f;
  --field: #0e0b17;
  --line: rgba(255, 255, 255, .13);
  --line-solid: #2b2540;
  --text: #eef0f5;
  --dim: #9197a8;
  --violet: #7b4fc9;
  --violet-hi: #b08cff;
  --good: #5fd39a;
  --bad: #ff7a8a;
  --display: "Michroma", "Eurostile", "Arial Black", sans-serif;
  --body: "Montserrat", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--body); color: var(--text); background: var(--bg);
  font-size: 16px; line-height: 1.45; -webkit-text-size-adjust: 100%;
}
.bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 78% 12%, rgba(116, 62, 204, .42), transparent 72%),
    radial-gradient(ellipse 70% 40% at 12% 96%, rgba(74, 44, 140, .30), transparent 70%),
    linear-gradient(118deg, transparent 38%, rgba(190, 196, 230, .05) 46%, transparent 55%),
    linear-gradient(180deg, #08070d 0%, #06050a 60%, #0a0812 100%);
}
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; }
.chrome {
  background: linear-gradient(180deg, #ffffff 0%, #e6e9f0 36%, #9399a8 52%, #f6f7fb 68%, #c3c8d4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .6));
}
.eyebrow { font-family: var(--display); font-size: 12px; letter-spacing: .34em; text-transform: uppercase; color: #cfd3de; }
.flare {
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.85) 30%, #fff 50%, rgba(255,255,255,.85) 70%, transparent);
  box-shadow: 0 0 14px 1px rgba(150, 100, 255, .6), 0 0 40px 4px rgba(123, 79, 201, .3);
}
.dim { color: var(--dim); }

button, input, textarea { font: inherit; color: inherit; }
button {
  cursor: pointer; border: 1px solid var(--line-solid); background: #1b1729; border-radius: 12px;
  padding: 10px 16px; font-weight: 700; transition: background .15s, border-color .15s, transform .05s, opacity .2s;
}
button:hover:not(:disabled) { border-color: var(--violet-hi); background: #241e37; }
button:active:not(:disabled) { transform: translateY(1px); }
button:disabled { cursor: default; opacity: .5; }
button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--violet-hi); outline-offset: 2px; }
button.primary { background: var(--violet); border-color: var(--violet-hi); color: #fff; }
button.primary:hover:not(:disabled) { background: #8c60da; }
button.ghost { background: transparent; }
button.on { border-color: var(--violet-hi); background: rgba(123, 79, 201, .35); }
button.small { padding: 6px 10px; font-size: 13px; border-radius: 10px; }
button.danger:hover:not(:disabled) { border-color: var(--bad); color: var(--bad); }
input[type=text], input[type=number], textarea {
  width: 100%; background: var(--field); border: 1px solid var(--line-solid); border-radius: 12px; padding: 12px 14px;
}
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.rowx { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.msg { font-size: 14px; margin-top: 10px; color: var(--dim); min-height: 1.4em; }
.msg.err { color: var(--bad); } .msg.ok { color: var(--good); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
