:root { --bg: #07050d; --s1: #100b1d; --s2: #18112b; --s3: #221838; --line: rgba(214,200,255,.11); --text: #f2eeff; --muted: rgba(226,218,255,.56); --accent: #c9b8ff; --hot: #9b7bff; --on-accent: #13092b; --up: #45e0a0; --down: #ff7096; --font: "Instrument Sans", Inter, Arial, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace }
* { box-sizing: border-box; margin: 0; padding: 0 } [hidden] { display: none !important }
html { background: var(--bg); color-scheme: dark } body { background: radial-gradient(ellipse 80% 50% at 70% -10%, rgba(155,123,255,.18), transparent 60%), var(--bg); color: var(--text); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; min-height: 100vh }
a { color: inherit; text-decoration: none; cursor: pointer } button, input { font: inherit; color: inherit } button { cursor: pointer; border: 0; background: none } em { font-style: normal }
.muted { color: var(--muted) } .up { color: var(--up) } .down { color: var(--down) }
* { scrollbar-width: thin; scrollbar-color: rgba(201,184,255,.22) transparent } ::-webkit-scrollbar { width: 8px } ::-webkit-scrollbar-thumb { background: rgba(201,184,255,.22); border-radius: 999px }
.btn { height: 40px; padding: 0 18px; border-radius: 10px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; background: var(--s2); border: 1px solid var(--line); transition: opacity .15s, background .15s } .btn:hover { background: var(--s3) }
.btn.lil { background: var(--accent); color: var(--on-accent); border-color: transparent } .btn.lil:hover { opacity: .9 } .btn[disabled] { opacity: .4; cursor: not-allowed } .btn.sm { height: 32px; padding: 0 14px; font-size: 13px }

.top { position: sticky; top: 0; z-index: 10; height: 66px; display: flex; align-items: center; gap: 30px; padding: 0 max(24px, calc((100vw - 1200px) / 2)); background: rgba(7,5,13,.8); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line) }
.logo { display: flex; align-items: center; gap: 10px; font: 600 21px var(--font); letter-spacing: -.02em } .logo img { width: 28px; height: 28px }
.top nav { display: flex; gap: 2px } .top nav a { height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 9px; color: var(--muted); font-weight: 500 } .top nav a.on { color: var(--text); background: var(--s2) } .top nav a:hover { color: var(--text) }
.top .right { margin-left: auto; display: flex; gap: 8px; align-items: center }
.net { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px; border-radius: 10px; background: var(--s1); color: var(--muted); font-size: 13px } .net img { width: 16px; height: 16px }
.seg.u { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--s1) } .seg.u a { height: 32px; min-width: 50px; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; color: var(--muted); font-size: 13px; font-weight: 600 } .seg.u a.on { background: var(--s3); color: var(--text) }

.card { background: var(--s1); border: 1px solid var(--line); border-radius: 20px; padding: 28px }
.new { max-width: 1200px; margin: 0 auto; padding: 40px 24px 80px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start }
.build h1, .plans h1 { font: 600 32px var(--font); letter-spacing: -.035em; margin-bottom: 18px }
.f { display: block; margin-top: 16px; position: relative } .f > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px }
.in { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg) } .in:focus-within { border-color: rgba(201,184,255,.55) } .in input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font: 500 22px var(--mono) } .in b { color: var(--muted); font-size: 13px }
.pick { width: 100%; display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); text-align: left } .pick:hover { border-color: rgba(201,184,255,.4) }
.pick img { width: 36px; height: 36px; border-radius: 50%; background: var(--s2) } .pick b { display: block; font-size: 17px; font-weight: 600 } .pick small { display: block; color: var(--muted); font-size: 12px } .pick em { margin-left: auto; font: 13px var(--mono) } .pick i { font-style: normal; color: var(--muted) }
.menu { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; background: var(--s2); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: 0 24px 60px rgba(0,0,0,.55) }
.menu input { width: 100%; height: 42px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg); outline: none; margin-bottom: 6px }
#mlist { max-height: 320px; overflow-y: auto } .mi { display: grid; grid-template-columns: 30px 1fr auto auto; gap: 10px; align-items: center; padding: 8px; border-radius: 9px; cursor: pointer } .mi:hover { background: var(--s3) }
.mi img { width: 28px; height: 28px; border-radius: 50%; background: var(--s1) } .mi b { font-weight: 600 } .mi small { display: block; color: var(--muted); font-size: 11px } .mi span { font: 12px var(--mono); text-align: right } .mi .ch { min-width: 56px }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line) } .seg a { flex: 1; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 9px; color: var(--muted); font-size: 14px; font-weight: 500 } .seg a.on { background: rgba(201,184,255,.15); color: var(--text); box-shadow: inset 0 0 0 1px rgba(201,184,255,.35) }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px } .chips a { height: 28px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 7px; background: var(--s2); color: var(--muted); font-size: 12px } .chips a:hover { color: var(--text) }
.go { width: 100%; height: 54px; margin-top: 22px; font-size: 16px; border-radius: 12px }
.note { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.5 }

.sched { position: sticky; top: 90px }
.sh { display: flex; justify-content: space-between; gap: 16px } .sh span { display: block; font-size: 13px } .sh b { display: block; font: 500 34px/1.1 var(--mono); letter-spacing: -.03em; margin-top: 4px } .sh .r { text-align: right } .sh .r b { font-size: 22px; margin-top: 10px }
.beat { display: flex; gap: 3px; align-items: flex-end; height: 60px; margin-top: 22px } .beat i { flex: 1; max-width: 14px; border-radius: 3px; background: linear-gradient(180deg, var(--accent), var(--hot)); opacity: .9 } .beat i.f { opacity: .3 }
ol.tl { list-style: none; margin-top: 22px; border-top: 1px solid var(--line) } ol.tl li { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px } ol.tl li span:first-child { font: 12px var(--mono); color: var(--accent); padding-top: 2px } ol.tl li span:last-child { font-family: var(--mono) } ol.tl li.more { color: var(--muted); grid-template-columns: 1fr }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 9px 16px; margin-top: 18px; font-size: 13px } .kv span { color: var(--muted) } .kv b { font: 500 13px var(--mono); text-align: right }

.plans { max-width: 1200px; margin: 0 auto; padding: 40px 24px 80px } .plans > p { margin: -10px 0 24px }
#plist { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 14px }
.pl { padding: 22px; border-radius: 18px } .pl .hd { display: flex; align-items: center; gap: 12px } .pl .hd img { width: 34px; height: 34px; border-radius: 50%; background: var(--s2) } .pl .hd b { font-size: 17px } .pl .hd small { display: block; color: var(--muted); font-size: 12px } .pl .hd .tag { margin-left: auto }
.tag { padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; background: rgba(201,184,255,.14); color: var(--accent) } .tag.done { background: rgba(69,224,160,.12); color: var(--up) } .tag.off { background: rgba(242,238,255,.08); color: var(--muted) }
.pl .prog { display: flex; gap: 3px; margin-top: 18px; height: 26px; align-items: flex-end } .pl .prog i { flex: 1; border-radius: 2px; background: var(--s3); height: 100% } .pl .prog i.on { background: linear-gradient(180deg, var(--accent), var(--hot)) }
.pl .kv { margin-top: 16px }
.pl .act { display: flex; gap: 8px; margin-top: 16px } .pl .act .btn { flex: 1 }
.empty { padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 18px; grid-column: 1 / -1 }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--s2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; z-index: 40; transition: .25s; pointer-events: none; max-width: 92vw } .toast.on { opacity: 1; transform: translate(-50%, 0) } .toast.bad { border-color: rgba(255,112,150,.6) }
@media (max-width: 940px) { .new { grid-template-columns: 1fr } .sched { position: static } .top nav, .net { display: none } .top { gap: 12px } }
@media (max-width: 520px) { .seg a { font-size: 12px } .card { padding: 20px } #unit { display: none } }
