  :root {
    --bg: #0d1524;
    --bg2: #13203a;
    --card: #182945;
    --line: #2a4166;
    --text: #e9eff8;
    --muted: #9fb2cf;
    --gold: #ffcf5a;
    --gold2: #f0a830;
    --sky: #6cc4ff;
    --ok: #5ad48a;
    --bad: #ff6b6b;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
  }
  a { color: var(--sky); }
  .wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

  header.top {
    position: sticky; top: 0; z-index: 10;
    background: rgba(13, 21, 36, .92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
  }
  header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 58px; gap: 12px; }
  .logo { font-weight: 800; font-size: 20px; letter-spacing: .5px; color: var(--gold); text-decoration: none; white-space: nowrap; }
  .logo span { color: var(--text); font-weight: 600; }
  nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
  nav a:hover { color: var(--text); }

  .hero {
    background:
      radial-gradient(1200px 400px at 70% -10%, rgba(108,196,255,.25), transparent 60%),
      radial-gradient(800px 380px at 10% 10%, rgba(255,207,90,.15), transparent 60%),
      linear-gradient(180deg, var(--bg2), var(--bg));
    padding: 72px 0 64px;
    border-bottom: 1px solid var(--line);
  }
  .hero h1 { font-size: clamp(32px, 6vw, 54px); line-height: 1.1; margin: 0 0 14px; }
  .hero h1 em { font-style: normal; color: var(--gold); }
  .hero p { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 0 28px; }
  .btns { display: flex; flex-wrap: wrap; gap: 12px; }
  .btn {
    display: inline-block; padding: 13px 22px; border-radius: 10px; font-weight: 700;
    text-decoration: none; border: 1px solid transparent; cursor: pointer; font-size: 16px;
  }
  .btn.gold { background: linear-gradient(180deg, var(--gold), var(--gold2)); color: #2a1a00; }
  .btn.ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.03); }
  .btn:hover { filter: brightness(1.08); }

  .status { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
  .pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
  .dot { width: 9px; height: 9px; border-radius: 50%; background: #6b7a93; }
  .dot.on { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
  .dot.off { background: var(--bad); }

  section { padding: 56px 0; border-bottom: 1px solid var(--line); }
  section h2 { font-size: 28px; margin: 0 0 8px; }
  section .lead { color: var(--muted); margin: 0 0 28px; }

  .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
  .card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
  .card h3 { margin: 0 0 6px; font-size: 17px; color: var(--gold); }
  .card p { margin: 0; color: var(--muted); font-size: 15px; }

  .two { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
  @media (max-width: 820px) { .two { grid-template-columns: 1fr; } nav a.hide-sm { display: none; } }

  form.reg { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
  label { display: block; font-size: 14px; color: var(--muted); margin: 14px 0 6px; }
  label:first-child { margin-top: 0; }
  input {
    width: 100%; padding: 12px 13px; border-radius: 9px; border: 1px solid var(--line);
    background: #0f1a2e; color: var(--text); font-size: 16px; outline: none;
  }
  input:focus { border-color: var(--sky); }
  .hint { font-size: 12.5px; color: #7f93b3; margin-top: 5px; }
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 14px; color: var(--muted); }
  .check input { width: auto; margin-top: 3px; }
  form.reg .btn { width: 100%; margin-top: 18px; }
  .msg { margin-top: 14px; padding: 12px 14px; border-radius: 9px; display: none; font-size: 15px; }
  .msg.ok { display: block; background: rgba(90,212,138,.12); border: 1px solid rgba(90,212,138,.5); color: #bff3d4; }
  .msg.err { display: block; background: rgba(255,107,107,.12); border: 1px solid rgba(255,107,107,.5); color: #ffd0d0; }

  ol.steps { margin: 0; padding-left: 20px; color: var(--muted); }
  ol.steps li { margin: 0 0 10px; }
  ol.steps b { color: var(--text); }
  code { background: rgba(255,255,255,.07); padding: 1px 6px; border-radius: 5px; font-size: 14px; }

  footer { padding: 28px 0 40px; color: #7083a3; font-size: 13.5px; text-align: center; }

  .rates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 22px; }
  .rate { background: linear-gradient(180deg, rgba(255,207,90,.14), rgba(255,207,90,.04)); border: 1px solid rgba(255,207,90,.35); border-radius: 14px; padding: 18px; text-align: center; }
  .rate .rv { display: block; font-size: 34px; font-weight: 800; color: var(--gold); line-height: 1.1; }
  .rate .rl { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
  @media (max-width: 520px) { .rates { gap: 8px; } .rate { padding: 12px 6px; } .rate .rv { font-size: 24px; } }


  .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
  table.rank { width: 100%; border-collapse: collapse; font-size: 15px; }
  table.rank th, table.rank td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
  table.rank th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .4px; }
  table.rank tr:last-child td { border-bottom: 0; }
  table.rank td:first-child { color: var(--gold); font-weight: 800; width: 40px; }
  .jobicon { width: 24px; height: 24px; image-rendering: pixelated; vertical-align: -6px; margin-right: 10px; border-radius: 4px; }
  .on-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 6px var(--ok); margin-left: 8px; vertical-align: 1px; }
  .muted { color: var(--muted); }
  .team-card { display: flex; gap: 14px; align-items: center; }
  .team-card .jobicon { width: 56px; height: 56px; margin: 0; flex: none; }
  .team-card p { margin: 2px 0 0; }
  .team-card .online { color: var(--ok); font-size: 13px; }
  .team-card .offline { color: #7f93b3; font-size: 13px; }
  @media (max-width: 600px) { .hide-sm { display: none; } table.rank th, table.rank td { padding: 9px 10px; } }

  .page { padding: 48px 0 64px; min-height: calc(100vh - 160px); }
  .page h1 { font-size: 30px; margin: 0 0 6px; }
  .hidden { display: none !important; }
  .small { font-size: 13.5px; }
  nav a.active { color: var(--gold); }
  .nav-acc a { color: var(--text); }
  .btn.small { padding: 8px 14px; font-size: 14px; }
  .stats { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 16px; }
  .stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: flex; align-items: center; gap: 14px; }
  .stat b { display: block; font-size: 16px; }
  .stat span:not(.dot) { color: var(--muted); font-size: 14px; }
  .stat .dot { width: 14px; height: 14px; flex: none; }
  .stat.big { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
  .stat .sv { font-size: 34px; font-weight: 800; color: var(--gold); line-height: 1.1; }
  @media (max-width: 720px) { .stats { grid-template-columns: 1fr; } nav a { margin-left: 12px; font-size: 14px; } header.top .wrap { height: auto; min-height: 58px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; } }

/* admin notice (right side): accounts waiting for the download approval */
.admin-notice { position: fixed; right: 18px; top: 90px; z-index: 50; max-width: 260px; display: block; padding: 14px 16px; border-radius: 12px; background: #2b2410; border: 1px solid var(--gold); color: var(--text); text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.admin-notice b { display: block; color: var(--gold); margin-bottom: 4px; }
.admin-notice span { font-size: 14px; color: var(--muted); }
.admin-notice:hover { border-color: #fff3; filter: brightness(1.1); }
@media (max-width: 700px) { .admin-notice { top: auto; bottom: 14px; right: 14px; left: 14px; max-width: none; } }

/* patch notes on the start page */
.notes { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.note { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.note-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.note-head b { font-size: 16px; }
.note-date { margin-left: auto; color: var(--muted); font-size: 13px; white-space: nowrap; }
.note p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.note-cat { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; border: 1px solid; }
.note-cat.new { color: #6fd38a; border-color: #6fd38a66; }
.note-cat.chg { color: #ffcf5a; border-color: #ffcf5a66; }
.note-cat.fix { color: #7fb6ff; border-color: #7fb6ff66; }
.note-cat.team { color: #ff8a7a; border-color: #ff8a7a66; }	/* nur fuer das Team sichtbar */
.notes-bar { display: flex; justify-content: flex-end; }
.notes-bar label { color: var(--muted); font-size: 14px; }
.notes-day { margin-left: 6px; background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 14px; max-width: 100%; }
.notes-list { display: grid; gap: 10px; max-height: 460px; overflow-y: auto; padding-right: 4px; }
