@font-face {
    font-family: "FiraCode Nerd Font";
    src: url("/static/fonts/FiraCodeNerdFont-subset.woff2") format("woff2");
    font-display: swap;
}

:root {
    --bg: #0a0e0a;
    --phosphor: #00ff9c;
    --magenta: #ff3aa3;
    --amber: #ffaa00;
    --cyan: #7fdbff;
    --dim: #5a805a;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--phosphor);
    font-family: "FiraCode Nerd Font", "Fira Code", "Menlo", "Consolas", monospace;
    font-size: 14px;
    line-height: 1.4;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 255, 156, 0.03) 0px,
        rgba(0, 255, 156, 0.03) 1px,
        transparent 1px,
        transparent 3px
    );
    pointer-events: none;
    z-index: 1;
}

.card {
    display: flex;
    gap: 2rem;
    padding: 5rem 2rem 2rem;
    max-width: 960px;
    margin: 0 auto;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.logo {
    color: var(--magenta);
    margin: 0;
    white-space: pre;
    text-shadow: 0 0 8px rgba(255, 58, 163, 0.4);
    font-size: 0.70rem;
    line-height: 1.05;
    flex-shrink: 0;
    overflow-x: auto;
}

.info {
    flex: 1;
    min-width: 0;
    align-self: center;
}

.meta {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.25rem 1.5rem;
    margin: 0;
}

.meta dt {
    color: var(--amber);
}

.meta dt::after {
    content: ":";
    margin-left: 0.25rem;
}

.meta dd {
    margin: 0;
    color: var(--phosphor);
}

.channel {
    color: var(--magenta);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85em;
}

.hint {
    color: var(--dim);
    margin: 1.5rem 0 0;
    padding: 1rem 0;
    border-top: 1px dashed var(--dim);
    border-bottom: 1px dashed var(--dim);
}

.hint code {
    color: var(--phosphor);
    font-family: inherit;
    text-shadow: 0 0 6px rgba(0, 255, 156, 0.4);
}

/* Starship-style prompt pinned to the bottom-left. Line 1: context segments
   (host on <ssh icon> ssh:22 via <key icon> ed25519). Line 2: chevron prompt
   with a blinking block cursor. */
.prompt {
    position: fixed;
    left: 1.25rem;
    bottom: 1rem;
    z-index: 3;
    font-size: 0.85rem;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.prompt-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4em;
}

.prompt-host  { color: var(--amber); }
.prompt-conn  { color: var(--dim); }
.prompt-net   { color: var(--magenta); }
.prompt-auth  { color: var(--cyan); }
.prompt-icon  { margin-right: 0.15em; }

.prompt-cursor {
    display: flex;
    align-items: center;
    gap: 0.35em;
    color: var(--phosphor);
}

.prompt-chevron {
    font-size: 1rem;
    text-shadow: 0 0 6px rgba(0, 255, 156, 0.55);
}

.prompt-block {
    font-size: 1rem;
    text-shadow: 0 0 6px rgba(0, 255, 156, 0.7);
    animation: blink 1.05s steps(2) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}
