* { box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #0f1115;
    color: #e6e6e6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 36px 16px;
    margin: 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 480px;
    text-decoration: none;
    color: inherit;
}
.brand svg { width: 52px; height: 52px; flex: none; filter: drop-shadow(0 4px 14px rgba(59, 130, 246, 0.35)); }
.brand-name { font-size: 1.55rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.brand-name span { color: #6ea8ff; }
.brand-tag { color: #9aa0ab; font-size: 0.9rem; margin-top: 3px; }
.card {
    background: #171a21;
    border: 1px solid #2a2e38;
    border-radius: 10px;
    padding: 28px;
    width: 100%;
    max-width: 480px;
}
h1 { font-size: 1.3rem; margin-top: 0; }
p.hint { color: #9aa0ab; font-size: 0.9rem; }
textarea {
    width: 100%;
    min-height: 120px;
    background: #0f1115;
    color: #e6e6e6;
    border: 1px solid #2a2e38;
    border-radius: 6px;
    padding: 10px;
    font-family: inherit;
    resize: vertical;
}
input[type="text"] {
    width: 100%;
    background: #0f1115;
    color: #e6e6e6;
    border: 1px solid #2a2e38;
    border-radius: 6px;
    padding: 10px;
    font-family: monospace;
    margin-bottom: 8px;
}
textarea:focus-visible, input:focus-visible, button:focus-visible, .brand:focus-visible {
    outline: 2px solid #6ea8ff;
    outline-offset: 2px;
}
button {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 0.95rem;
    cursor: pointer;
    margin-top: 12px;
}
button:hover { background: #2563eb; }
button:disabled { opacity: 0.55; cursor: default; }
button:disabled:hover { background: #3b82f6; }
button.secondary { background: #2a2e38; }
button.secondary:hover { background: #333846; }
.hidden { display: none; }
.secret-box {
    background: #0f1115;
    border: 1px solid #2a2e38;
    border-radius: 6px;
    padding: 14px;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: monospace;
    margin-top: 12px;
}
.error { color: #f87171; }
.status { color: #9aa0ab; font-size: 0.85rem; margin: 10px 0 0; min-height: 1.2em; }
ol.hint { padding-left: 20px; }
ol.hint li { margin-bottom: 10px; }
code {
    background: #0f1115;
    border: 1px solid #2a2e38;
    border-radius: 4px;
    padding: 1px 5px;
    font-size: 0.85em;
    word-break: break-all;
}
