:root {
  --blue: #1e90ff; /* ciel */
  --orange: #ff8c00;
  --green: #2ecc71;
  --bg: #0b0f1a;
  --card: #12182a;
  --text: #e6f0ff;
  --muted: #9bb3d6;
}
* { box-sizing: border-box; }
body { margin:0; font-family: system-ui,Segoe UI,Roboto,Arial; background: var(--bg); color: var(--text); }
a { color: var(--orange); text-decoration: none; }
.topbar { display:flex; justify-content:space-between; align-items:center; padding:10px 16px; background: #0f1526; position: sticky; top:0; }
.brand { font-weight:700; color: var(--blue); }
.container { max-width: 1100px; margin: 20px auto; padding: 0 12px; }
.card { background: var(--card); border-radius: 16px; padding: 16px; margin-bottom: 16px; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.card h2 { margin-top:0; }
.item { padding:8px 0; border-bottom: 1px solid #1d2744; }
label { display:block; margin-top:8px; color: var(--muted); }
input, select, button { width: 100%; padding: 10px; border-radius: 10px; border:1px solid #22305a; background:#0e1426; color: var(--text); }
button.primary { background: linear-gradient(90deg, var(--blue), var(--orange)); border: none; font-weight: 600; }
.auth { display:grid; place-items:center; min-height: 100vh; }
.alert { background:#3b1f1f; color:#ffb3b3; padding:8px; border-radius:8px; margin-bottom:10px; }
.lang-switch { text-align:center; margin-top:10px; color: var(--muted); }

/* Operator / Public */
.scoreboard { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { background: #0f1526; border-radius: 14px; padding: 12px; }
.team { font-size: 22px; font-weight:700; }
.score { font-size: 48px; font-weight: 900; }
.timer { font-size: 36px; font-weight: 800; }
.controls { display:flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.controls button { flex: 1 1 120px; }
.table { width:100%; border-collapse: collapse; margin-top:8px; }
.table th, .table td { border-bottom:1px solid #1d2744; padding: 6px; text-align: left; }
kbd { background:#111a32; padding: 2px 6px; border-radius:6px; border:1px solid #22305a; }
.fullscreen-btn { position: fixed; right: 12px; bottom: 12px; background: var(--green); }
