@font-face { font-family: 'Espacion'; src: url('fonts/Espacion.otf') format('opentype'); size-adjust: 86%; font-display: swap; }
@font-face { font-family: 'Beyonder'; src: url('fonts/Beyonder.otf') format('opentype'); size-adjust: 70%; font-display: swap; }
@font-face { font-family: 'Beyonder Bold'; src: url('fonts/Beyonder-Bold.otf') format('opentype'); font-display: swap; }
:root { --pink:#FF0287; --yellow:#FFCD5D; --mint:#5BFFBF; --blue:#3AB4FF; --orange:#FF8A3D; --purple:#22162A; --white:#FDFFFD;
  --side:#1A1020; --card:#2E2138; --line:#3A2A46; --soft:rgba(253,255,253,.62); }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--purple); color: var(--white); font: 15px/1.5 Inter, system-ui, -apple-system, sans-serif; }
a { color: var(--pink); }
h1, h2, h3, .disp { font-family: 'Beyonder Bold', system-ui, sans-serif; font-weight: 400; letter-spacing: .02em; }
.card .big { font-family: 'Espacion', system-ui, sans-serif; font-weight: 400; }
th, .card .label, header.top .year, .eye { font-family: 'Beyonder Bold', system-ui, sans-serif; font-weight: 400; letter-spacing: .05em; text-transform: uppercase; }
th, .card .label { font-size: 13px; } header.top .year { font-size: 12px; }
h1 { font-size: 26px; margin-bottom: 22px; } h2 { font-size: 17px; }
h1 { font-size: 28px; margin: 0 0 18px; } h2 { font-size: 18px; margin: 28px 0 12px; }
.loading { min-height: 100vh; display: grid; place-items: center; }
.loading img { height: 90px; animation: pulse .9s ease-in-out infinite alternate; }
@keyframes pulse { from { transform: scale(.97) } to { transform: scale(1.04) } }
header.top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px 24px; border-bottom: 1px solid var(--line); background: var(--side); }
header.top .lockup { height: 40px; justify-self: center; }
header.top .year { justify-self: center; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; margin-top: 6px; }
header.top .right { justify-self: end; display: flex; gap: 10px; align-items: center; }
.shell { display: flex; min-height: calc(100vh - 90px); }
aside.side { width: 232px; flex: none; background: var(--side); border-right: 1px solid var(--line); padding: 24px 16px; }
aside.side a { display: block; padding: 10px 14px; border-radius: 12px; color: var(--white); text-decoration: none; font-weight: 600; }
aside.side a.on { background: var(--pink); color: #fff; }
aside.side .sub { margin: 2px 0 10px 14px; } aside.side .sub a { padding: 6px 12px; font-weight: 500; font-size: 14px; color: var(--soft); }
aside.side .sub a.on { background: none; color: var(--white); text-decoration: underline; text-decoration-color: var(--pink); }
main { flex: 1; padding: 28px 32px 60px; min-width: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.card { background: var(--card); border-radius: 18px; padding: 16px 18px; }
.card.pink { background: var(--pink); color: #fff; } .card.blue { background: var(--blue); color: var(--purple); }
.card.mint { background: var(--mint); color: var(--purple); } .card.yellow { background: var(--yellow); color: var(--purple); }
.card .big { font-size: 32px; font-weight: 800; }
.card .label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 14px; overflow: hidden; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: rgba(253,255,253,.85); }
tr:last-child td { border-bottom: 0; } tr.click { cursor: pointer; } tr.click:hover { background: #3a2a48; }
input, select, textarea { background: var(--purple); color: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; font: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--pink); border-color: transparent; }
textarea { width: 100%; min-height: 120px; }
button { font: inherit; font-weight: 700; border: 0; border-radius: 12px; padding: 10px 16px; cursor: pointer; background: var(--pink); color: #fff; }
button.ghost { background: transparent; color: var(--white); border: 1px solid var(--line); }
button.small { padding: 5px 10px; font-size: 13px; border-radius: 9px; }
button:disabled { opacity: .45; cursor: default; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--purple); background: var(--mint); }
.tag.pink { background: var(--pink); color: #fff; } .tag.yellow { background: var(--yellow); } .tag.blue { background: var(--blue); }
.tag.orange { background: var(--orange); } .tag.grey { background: var(--line); color: var(--soft); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; } .soft { color: var(--soft); } .warn { color: var(--yellow); } .ok { color: var(--mint); }
.form { display: grid; grid-template-columns: 180px 1fr; gap: 10px 14px; align-items: center; max-width: 720px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--pink); color: #fff; padding: 12px 20px; border-radius: 14px; font-weight: 700; }
.signin { max-width: 420px; margin: 10vh auto; padding: 24px; }
.signin .lockup { display: block; width: 260px; margin: 0 auto 28px; }
.signin input { width: 100%; font-size: 18px; margin: 10px 0; }
.signin button { width: 100%; }
@media (max-width: 760px) { aside.side { display: none; } main { padding: 20px 16px; } .form { grid-template-columns: 1fr; } }
.form > input, .form > select, .form > textarea { min-width: 0; width: 100%; }
header.top .lockup { height: 52px; }
