/* /Components/Konsoll.razor.rz.scp.css */
.konsoll[b-6x1e2w6ygf] {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 8vh 16px 16px;
    background: rgba(5, 5, 7, 0.55);
    backdrop-filter: blur(3px);
    animation: konsoll-in-b-6x1e2w6ygf 0.12s ease;
}
@keyframes konsoll-in-b-6x1e2w6ygf { from { opacity: 0; } to { opacity: 1; } }

.konsoll__win[b-6x1e2w6ygf] {
    width: min(720px, 100%);
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    background: rgba(15, 15, 18, 0.98);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.konsoll__bar[b-6x1e2w6ygf] {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 12.5px;
    color: var(--muted);
}
.konsoll__dot[b-6x1e2w6ygf] {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--orange);
    display: inline-block;
}
.konsoll__title[b-6x1e2w6ygf] { flex: 1; }
.konsoll__x[b-6x1e2w6ygf] {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 13px;
    font-family: inherit;
}
.konsoll__x:hover[b-6x1e2w6ygf] { color: var(--text); }

.konsoll__out[b-6x1e2w6ygf] {
    flex: 1;
    overflow-y: auto;
    padding: 14px 16px;
    font-size: 13.5px;
    line-height: 1.7;
}
.kl[b-6x1e2w6ygf] { white-space: pre-wrap; word-break: break-word; }
.kl .a[b-6x1e2w6ygf] { color: var(--orange); }
.kl .g[b-6x1e2w6ygf] { color: var(--green); }
.kl .p[b-6x1e2w6ygf] { color: var(--indigo); }
.kl.muted[b-6x1e2w6ygf], .kl .muted[b-6x1e2w6ygf] { color: var(--muted); }
.kl.err[b-6x1e2w6ygf] { color: #ff9d92; }
.kl.g[b-6x1e2w6ygf] { color: var(--green); }

.konsoll__in[b-6x1e2w6ygf] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
}
.konsoll__prompt[b-6x1e2w6ygf] { color: var(--indigo); font-size: 13.5px; white-space: nowrap; }
.konsoll__field[b-6x1e2w6ygf] {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    color: var(--text);
    font-family: inherit;
    font-size: 13.5px;
    line-height: 1.5;
    padding: 0;
    caret-color: var(--orange);
}
/* Hindre nettleserens autofyll-/forslags-bakgrunn (den "grå boksen") */
.konsoll__field:-webkit-autofill[b-6x1e2w6ygf],
.konsoll__field:-webkit-autofill:hover[b-6x1e2w6ygf],
.konsoll__field:-webkit-autofill:focus[b-6x1e2w6ygf] {
    -webkit-text-fill-color: var(--text);
    -webkit-box-shadow: 0 0 0 1000px transparent inset;
    transition: background-color 9999s ease-in-out 0s;
    caret-color: var(--orange);
}
/* /Components/Snake.razor.rz.scp.css */
.game[b-e0yl1cmg4z] {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    align-self: start;
    max-width: 340px;
    width: 100%;
}

.game__bar[b-e0yl1cmg4z] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 12.5px;
    color: var(--muted);
}
.game__file[b-e0yl1cmg4z] { display: flex; align-items: center; gap: 8px; }
.game__dot[b-e0yl1cmg4z] {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--green);
    display: inline-block;
}
.game__score[b-e0yl1cmg4z] { color: var(--text); }

.game__stage[b-e0yl1cmg4z] {
    position: relative;
    padding: 16px;
    background:
        radial-gradient(120% 120% at 80% 0%, rgba(67, 217, 173, 0.06), transparent 60%),
        var(--panel-2);
}

.snake-board[b-e0yl1cmg4z] {
    --cell: 17px;
    display: grid;
    grid-template-columns: repeat(15, var(--cell));
    grid-auto-rows: var(--cell);
    gap: 2px;
    justify-content: center;
    outline: none;
}
.snake-board:focus-visible[b-e0yl1cmg4z] {
    box-shadow: 0 0 0 2px rgba(254, 165, 95, 0.5);
    border-radius: 4px;
}

.cell[b-e0yl1cmg4z] {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 3px;
}
.cell--snake[b-e0yl1cmg4z] { background: var(--green); }
.cell--head[b-e0yl1cmg4z]  { background: #6ff0c7; box-shadow: 0 0 6px rgba(67, 217, 173, 0.6); }
.cell--food[b-e0yl1cmg4z]  { background: var(--orange); border-radius: 50%; }

.game__overlay[b-e0yl1cmg4z] {
    position: absolute;
    inset: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(11, 11, 13, 0.82);
    backdrop-filter: blur(2px);
    border-radius: 6px;
    text-align: center;
}
.game__msg[b-e0yl1cmg4z] { font-size: 20px; font-weight: 600; letter-spacing: 0.05em; }
.game__sub[b-e0yl1cmg4z] { font-size: 12.5px; }

.game__btn[b-e0yl1cmg4z] {
    font-family: inherit;
    font-size: 13px;
    color: #01080e;
    background: var(--orange);
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.1s ease;
}
.game__btn:hover[b-e0yl1cmg4z] { filter: brightness(1.08); }
.game__btn:active[b-e0yl1cmg4z] { transform: scale(0.97); }

.game__foot[b-e0yl1cmg4z] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    border-top: 1px solid var(--border);
    font-size: 12px;
}
.game__keys[b-e0yl1cmg4z] { display: flex; gap: 4px; }
.game__keys kbd[b-e0yl1cmg4z] {
    font-family: inherit;
    font-size: 11px;
    color: var(--muted);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1px 6px;
}
/* /Layout/MainLayout.razor.rz.scp.css */
/* Layout-stilene ligger i wwwroot/css/app.css (globalt IDE-skall). */
