:root { color-scheme: dark; font-family: Inter, "Noto Sans SC", system-ui, sans-serif; color: #ecf1ff; background: #0a101d; }
* { box-sizing: border-box; }
body { margin: 0; }
header, section, details { border: 1px solid #29354e; }
header { background: #101829; }
.bar, main { width: min(100% - 32px, 1040px); margin-inline: auto; }
.bar, .account, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.bar { padding: 12px 0; }
.bar form { margin-left: auto; }
main { padding-block: 32px 64px; }
section { padding: clamp(16px, 3vw, 32px); background: #141d30; margin-bottom: 18px; border-radius: 12px; }
h1, h2 { margin: 0 0 14px; }
p { color: #bcc9df; line-height: 1.65; }
.entry { max-width: 440px; margin: 6vh auto; }
label { display: grid; gap: 7px; margin-bottom: 14px; font-size: .9rem; }
input, select, textarea, button { font: inherit; color: inherit; border: 1px solid #485775; border-radius: 6px; padding: 10px; background: #101829; }
input, select, textarea { width: 100%; min-width: 0; }
textarea { min-height: 72px; resize: vertical; }
button, summary { cursor: pointer; }
button:hover, button:focus-visible { border-color: #adbcff; }
.primary { background: #4358ce; border-color: #657cfa; font-weight: 700; }
a { color: #bdc9ff; }
.cover { width: min(100%, 520px); display: block; margin-bottom: 12px; }
details { margin-top: 14px; padding: 12px; border-radius: 6px; }
summary { font-weight: 700; }
.grid { margin-top: 12px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill,minmax(min(220px,100%),1fr)); }
.card { padding: 10px; background: #0e1727; }
.card img { width: 100%; aspect-ratio: 2/1; object-fit: contain; }
.card button { padding: 6px 8px; }
.account { justify-content: space-between; border-top: 1px solid #29354e; margin-top: 12px; padding-top: 12px; overflow-wrap: anywhere; }
.error { color: #ffafad; }
.actions [aria-current="page"] { color: white; font-weight: bold; }
.preview-frame { margin-top: 16px; overflow-x: auto; }
.preview-frame iframe { display: block; width: 1000px; height: 75vh; border: 1px solid #485775; }
.preview-frame iframe.mobile { width: 390px; }
