*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, system-ui, sans-serif;
    background: #0a0b0d;
    color: #e7eaee;
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { color: #8ab4ff; text-decoration: none; }
a:hover { text-decoration: underline; }

.center { display: grid; place-items: center; min-height: 100vh; padding: 24px; }

.card {
    background: #14171c;
    border: 1px solid #1f242c;
    border-radius: 14px;
    padding: 32px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    text-align: center;
}
.card h1 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.card .subtle { color: #8b94a3; font-size: 14px; margin: 0 0 20px; }
.card form { display: grid; gap: 12px; margin-top: 12px; }

input[type=password] {
    background: #0a0b0d;
    border: 1px solid #2a313b;
    border-radius: 10px;
    padding: 12px 14px;
    color: #e7eaee;
    font-size: 15px;
    width: 100%;
    transition: border-color 0.15s;
}
input[type=password]:focus {
    outline: none;
    border-color: #4a7dff;
}

button {
    background: #2563eb;
    color: white;
    border: 0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
    font-family: inherit;
}
button:hover { background: #1d4ed8; }
button.ghost {
    background: transparent;
    color: #8b94a3;
    padding: 6px 12px;
    font-size: 13px;
}
button.ghost:hover { color: #e7eaee; background: #1f242c; }

.error { color: #ff7a7a; font-size: 13px; margin: 4px 0 0; }

.bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    border-bottom: 1px solid #1f242c;
    background: #0e1014;
    position: sticky;
    top: 0;
    z-index: 1;
}
.brand {
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #e7eaee;
}

.stack {
    max-width: 800px;
    margin: 32px auto;
    padding: 0 16px;
    display: grid;
    gap: 32px;
}
figure { margin: 0; }
figcaption {
    font-size: 13px;
    color: #8b94a3;
    margin-bottom: 8px;
    font-family: "SF Mono", "Monaco", "Cascadia Code", "Roboto Mono", Consolas, monospace;
    word-break: break-all;
}
video, img {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
    border-radius: 10px;
    border: 1px solid #1f242c;
}
