:root { color-scheme: dark; font: 14px/1.5 "Segoe UI", sans-serif; color: #f6f2fa; background: #0e0d12; }
* { box-sizing: border-box; }
body { margin: 0; }
header { display: flex; gap: 16px; align-items: center; padding: 12px 5%; background: #09080d; border-bottom: 1px solid #2d2639; color: #b5acbe; }
header strong { color: white; font-size: 20px; letter-spacing: -.04em; }
header strong span { color: #ad98ff; }
main { width: min(1150px, 94vw); margin: 28px auto 70px; }
h1 { font-size: 30px; margin: 0 0 18px; }
h2 { font-size: 18px; margin: 0 0 14px; }
.login-page { max-width: 460px; margin-top: 8vh; }
.login-link { color: #c8b8ff; }
.owner-actions:has(button:not([hidden])) { margin-bottom: 14px; }
#passkey-status { margin: 6px 0; }
.layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.panel { background: #17141d; border: 1px solid #383045; border-radius: 20px; padding: 20px; }
form, label { display: flex; flex-direction: column; gap: 7px; }
form { gap: 12px; }
label { color: #d4cadc; }
.side { display: grid; gap: 16px; }
.checkbox { flex-direction: row; align-items: center; }
.checkbox input { width: auto; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.release-actions { justify-content: flex-end; }
[hidden] { display: none !important; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input, textarea { width: 100%; background: #100e15; border: 1px solid #40374d; padding: 9px 10px; border-radius: 10px; }
input, textarea, button { color: inherit; font: inherit; }
textarea { resize: vertical; }
button { border: 1px solid #8056de; border-radius: 10px; background: #653abf; cursor: pointer; padding: 8px 12px; }
button:hover:not(:disabled) { filter: brightness(1.18); }
button:disabled { opacity: .6; cursor: default; }
form button { align-self: start; }
.quiet { background: #282036; border-color: #46375e; white-space: nowrap; }
#releases { list-style: none; padding: 0; margin: 0; }
#releases li { display: flex; justify-content: space-between; gap: 12px; align-items: center; border-top: 1px solid #322b3c; padding: 10px 0; }
#releases span { display: block; color: #afa5bb; }
#releases .published { color: #87dfad; }
.preview { max-width: 460px; border: 1px solid #383045; border-radius: 18px; overflow: hidden; background: #100e15; }
.preview-cover { position: relative; aspect-ratio: 16 / 7; background: linear-gradient(135deg, #231634, #13111a); }
.preview-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.preview-cover span { position: absolute; inset: 10px auto auto 10px; border-radius: 10px; padding: 3px 9px; background: #100e15dc; color: #d9ccff; }
.preview-body { padding: 12px 14px; overflow-wrap: anywhere; }
.preview-body h3, .preview-body p { margin: 0 0 4px; }
.preview-body p { color: #afa5bb; white-space: pre-wrap; }
#empty { color: #afa5bb; }
#status { position: fixed; right: 18px; bottom: 18px; max-width: min(380px, 90vw); margin: 0; padding: 12px 16px; border-radius: 12px; background: #2d2242; box-shadow: 0 6px 20px #0008; }
#status.error { background: #421a29; }
:focus-visible { outline: 2px solid #ad98ff; outline-offset: 2px; }
@media(max-width: 780px) { .layout { grid-template-columns: 1fr; } }
@media(max-width: 420px) { .fields { grid-template-columns: 1fr; } #releases li { align-items: start; flex-direction: column; } }
