:root { color-scheme: dark; font-family: Inter, system-ui, sans-serif; background: #0d1020; color: #eef1ff; }
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at 10% 0, #28224b, transparent 35%), #0d1020; min-height: 100vh; }
header, main { width: min(1180px, calc(100% - 32px)); margin: auto; }
header { padding: 56px 0 24px; }
header .portal-brand { color: #ffc44d; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
header .portal-brand:hover, header .portal-brand:focus-visible { text-decoration: underline; text-underline-offset: .22em; }
h1 { font: 700 clamp(2.6rem, 7vw, 5.6rem)/.9 Georgia, serif; margin: 8px 0 20px; }
.module-brand { color: inherit; text-decoration: none; }
.module-brand:hover, .module-brand:focus-visible { color: #ffc44d; }
.card { background: #15192bde; border: 1px solid #303758; border-radius: 18px; padding: 24px; margin-bottom: 20px; box-shadow: 0 18px 60px #05071466; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
label { display: grid; gap: 7px; margin-bottom: 14px; color: #abb3d4; }
input, select, button { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid #3a4268; background: #0f1323; color: inherit; }
button { cursor: pointer; background: #f2ad31; border-color: #f2ad31; color: #17110a; font-weight: 750; }
.campaign { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0; text-align: left; background: #202641; color: #eef1ff; border-color: #343d66; }
.campaign span { color: #aeb7dc; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.toolbar button { width: auto; }
.secret { padding: 18px; margin: 16px 0; border: 1px solid #f2ad31; border-radius: 12px; color: #ffd98c; overflow-wrap: anywhere; }
#message { position: sticky; bottom: 20px; padding: 12px; color: #80e7af; }
#message.error { color: #ff8e96; }
@media (max-width: 800px) { .grid, .compact { grid-template-columns: 1fr; } .campaign { flex-direction: column; } }
