:root {
    --bg: #0a0a0f;
    --text: #e6ecf3;
    --muted: rgba(230, 236, 243, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-strong: rgba(255, 255, 255, 0.15);
    --accent: #5e5c6a;
    --ok: #4ade80;
    --ko: #f87171;
    /* Group indicator */
    --hl: #7dd3fc;
    --hl-border: rgba(125, 211, 252, 0.4);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

@font-face {
  font-family: "Merkur";
  src: url("../assets/fonts/Merkur-j147-extended.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Merkur"; /* "Buis" "FontsBombJigsaw" "Glitex" "Merkur" "Quasoid" */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.board {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: fit-content;
}

/* Anchor container: the countdown is absolutely positioned above the inputs
   so its appearance never shifts the field grid. */
.code-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}

.code {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

/* Visual block for one part of the code, unrelated to the server-side logical
   groups (those live on .cell[data-group]). */
.part {
    display: flex;
    align-items: center;
    gap: 8px;
}
