:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#e9edfa;background:#0b1020;color-scheme:dark}*{box-sizing:border-box}body{margin:0;padding-bottom:80px}header{max-width:1160px;margin:auto;padding:22px 18px;display:flex;justify-content:space-between;gap:14px;align-items:center}.brand{font-weight:900;letter-spacing:.14em;font-size:14px}.brand span{color:#c6a1ff}.muted,small{color:#9ba9c6}main{max-width:1160px;margin:auto;padding:12px 18px 36px}h1{font-size:clamp(27px,4vw,43px);line-height:1.13;margin:6px 0 14px}h2{font-size:21px;margin:0 0 12px}h3{font-size:16px;margin:0 0 12px}p{line-height:1.55}.card{background:#192338;border:1px solid #303e59;border-radius:19px;padding:20px;margin:0 0 15px;overflow-wrap:anywhere}.hero{padding:30px 24px;background:linear-gradient(135deg,#262647,#162439)}.center{text-align:center}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:13px}.grid>.card{margin:0}.row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:11px}.field{display:flex;flex-direction:column;gap:6px;font-size:14px;color:#c6d0e4}.field input,.field textarea,.field select,textarea,input,select{width:100%;background:#0c1527;color:#f2f4fa;border:1px solid #43516d;border-radius:12px;padding:13px;font:inherit;min-height:46px}.field textarea{min-height:95px;resize:vertical}button,.btn{border:0;background:#a783e6;color:#151024;border-radius:12px;padding:13px 17px;min-height:44px;font-weight:750;cursor:pointer;font-size:14px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px}button:disabled{opacity:.48;cursor:not-allowed}.secondary{background:#303c56;color:#f1f3ff}.danger{background:#753b52;color:#fff}.ghost{background:transparent;color:#c9b6fa;border:1px solid #475270}.tabs{display:flex;gap:7px;overflow-x:auto;padding-bottom:10px;margin:12px 0}.tabs button{white-space:nowrap}.tabs .active{background:#a783e6;color:#18112a}.pill{background:#32405a;border-radius:99px;padding:5px 10px;color:#ded6f7;font-size:12px}.ok{color:#83e6b7}.warn{color:#f8cf7e}.error{color:#ff9d9d}.bottom{position:fixed;bottom:0;left:0;right:0;background:#131b2e;border-top:1px solid #35415c;padding:8px;display:flex;justify-content:space-around;z-index:4}.bottom button{padding:8px 5px;flex:1;font-size:12px;border-radius:10px;min-height:50px}.hidden{display:none!important}#flash{position:sticky;top:0;z-index:9;text-align:center;background:#273657;color:#fff;min-height:0}#flash:not(:empty){padding:10px}a{color:#d6baff}pre{white-space:pre-wrap;overflow-wrap:anywhere}summary{cursor:pointer;padding:10px}details{border:1px solid #354361;border-radius:12px;margin:10px 0;padding:5px 10px}.admin-layout{display:grid;grid-template-columns:225px minmax(0,1fr);gap:18px}.side{position:sticky;top:8px;align-self:start}.side button{width:100%;justify-content:flex-start;margin:3px 0;background:transparent;color:#cbd4e8}.side button.active{background:#3b355f;color:#fff}.admin-content{min-width:0}.item{border-bottom:1px solid #34415a;padding:13px 0}.item:last-child{border:0}.score{font-size:31px;font-weight:900;color:#c8a5ff}.progress{height:9px;border-radius:10px;background:#35415c;overflow:hidden}.progress>div{background:#a783e6;height:100%}.thumb{max-width:100%;max-height:330px;border-radius:10px}.dialog{position:fixed;inset:0;background:#030711dc;display:grid;place-items:center;padding:18px;z-index:20}.dialog>.card{width:min(680px,100%);max-height:88vh;overflow-y:auto}.hide-desktop{display:none}.columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.actions{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.tiny{font-size:12px}.pre{white-space:pre-wrap}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}td,th{padding:10px;text-align:left;border-bottom:1px solid #34415a}input[type=checkbox]{width:auto;min-height:0;accent-color:#b498ee}label.check{display:flex;align-items:flex-start;gap:9px;line-height:1.4}label.check input{margin-top:4px}.grow{flex:1}@media(max-width:750px){header{padding:14px}.admin-layout{display:block}.side{position:static;display:none}.side.open{display:block}.side button{padding:14px}.hide-desktop{display:inline-flex}.columns{grid-template-columns:1fr}.card{padding:15px}.hero{padding:23px 17px}main{padding:8px 12px 28px}.grid{grid-template-columns:1fr}.bottom button{font-size:11px}}
