:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#182b3a;background:#f3f6f7;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0}header{background:#182b3a;color:#fff;padding:32px 0 36px}.wrap{width:min(1080px,calc(100% - 32px));margin:0 auto}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px}.eyebrow{font-size:.72rem;letter-spacing:.16em;font-weight:800;color:#8ed8c5}h1{font-size:clamp(2rem,5vw,3rem);margin:7px 0 3px;letter-spacing:-.04em}.subtitle{color:#d2e1e8;margin:0}.live{white-space:nowrap;border:1px solid #47616e;border-radius:999px;padding:9px 12px;color:#d9f6ed;font-size:.85rem}.live i{display:inline-block;width:8px;height:8px;background:#70d7ad;border-radius:50%;margin-right:7px}.layout{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:26px;margin-bottom:34px}.panel{background:#fff;border:1px solid #e0e7e9;border-radius:18px;padding:24px;box-shadow:0 8px 30px #182b3a08;min-width:0}.section-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:20px}h2{font-size:1.3rem;margin:0 0 7px;letter-spacing:-.025em}.section-head p,.muted,.footnote{color:#71818b;font-size:.9rem;line-height:1.5;margin:0}.count{white-space:nowrap;background:#e9f6f2;color:#246d5c;padding:7px 10px;border-radius:9px;font-size:.8rem;font-weight:700}.rank-list,.results-list{list-style:none;margin:0 0 20px;padding:0;display:grid;gap:10px}.rank-item,.result-item{display:flex;align-items:center;gap:13px;border:1px solid #e1e8ea;border-radius:12px;padding:12px;background:#fff;min-width:0}.rank-item{cursor:grab}.rank-item:active{cursor:grabbing}.rank-number{width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:#edf2f4;display:grid;place-items:center;font-weight:800;color:#344c58}.rank-input{width:48px;height:36px;flex:0 0 48px;margin:0;padding:4px 2px;text-align:center;font:inherit;font-weight:800;color:#344c58;background:#edf2f4;border:1px solid #dce5e8;border-radius:9px;font-variant-numeric:tabular-nums}.rank-input:focus{outline:2px solid #398675;outline-offset:1px}.item-copy{flex:1;min-width:0}.item-copy strong,.item-copy span{display:block;overflow-wrap:anywhere}.item-copy span{font-size:.82rem;color:#71818b;margin-top:3px;line-height:1.4}.move-buttons{display:flex;flex-direction:column;gap:3px}.move-buttons button{width:30px;height:26px;border:1px solid #dbe4e6;border-radius:6px;background:#f8fafb;font-size:1rem;cursor:pointer}.move-buttons button:disabled{opacity:.3;cursor:default}button{font:inherit;cursor:pointer}.primary,.secondary,.danger{border:0;border-radius:9px;padding:11px 15px;font-weight:750}.primary{background:#237b68;color:white;width:100%}.primary:hover{background:#1b6656}.primary:disabled{opacity:.6;cursor:wait}.secondary{background:#edf2f4;color:#344c58}.save-ranking{display:block;width:100%;margin:8px 0 12px;border:0;border-radius:9px;padding:11px 15px;background:#505050;color:#fff;font:inherit;font-weight:750;cursor:pointer}.save-ranking:hover{background:#414141}.danger{background:#fff0ef;color:#a3312c}.message{font-size:.88rem;line-height:1.5;color:#71818b;margin:12px 0 0}.success{color:#237b68}.error{color:#b42318}.result-item{align-items:flex-start}.result-body{flex:1;min-width:0}.result-top{display:flex;justify-content:space-between;gap:10px;margin:1px 0 8px}.result-top strong{overflow-wrap:anywhere}.score{white-space:nowrap;color:#237b68;font-size:.85rem;font-weight:800}.bar{height:7px;background:#edf2f4;border-radius:999px;overflow:hidden;margin-bottom:6px}.bar-fill{height:100%;background:#398675;border-radius:999px;transition:width .25s}.result-body small{color:#71818b;font-size:.76rem}.footnote{font-size:.78rem;margin-top:18px}.count{font-variant-numeric:tabular-nums}footer{display:flex;justify-content:space-between;color:#71818b;font-size:.85rem;padding:0 0 28px}a{color:#237b68}.narrow{max-width:720px;margin-top:28px;margin-bottom:40px}.narrow .panel{margin-bottom:18px}form{display:grid;gap:10px}label{font-size:.9rem;font-weight:700}input,textarea{font:inherit;padding:11px 12px;border:1px solid #cfdadd;border-radius:9px;width:100%;margin-bottom:6px}textarea{resize:vertical}.admin-list{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:10px}.admin-list>li{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid #edf1f2}.admin-list>li:last-child{border:0}.admin-list p{margin:5px 0 0;color:#71818b;font-size:.86rem}.status{display:inline-block;font-size:.72rem;margin-left:9px;padding:3px 7px;border-radius:5px;background:#e9f6f2;color:#237b68}.admin-actions{display:flex;gap:7px;flex-wrap:wrap}.admin-actions button{font-size:.8rem;padding:8px 10px}.narrow>p{margin:16px 0}@media(max-width:760px){.layout{grid-template-columns:1fr}.panel{padding:18px}.topbar{align-items:flex-start}.live{font-size:.75rem;padding:7px 9px}.admin-list>li{align-items:flex-start;flex-direction:column}.admin-actions{width:100%}}
.inline-form{display:inline-flex}.text-button{border:0;background:transparent;color:#237b68;text-decoration:underline;padding:0;font:inherit;cursor:pointer}input[type=email],input[name=code]{margin-bottom:8px}
.primary-link{display:block;text-align:center;text-decoration:none}

.test-code{margin:14px 0;padding:14px;border:2px solid #b7791f;border-radius:10px;background:#fff8e7;color:#704b10;line-height:1.5}.test-code code{display:inline-block;padding:4px 8px;border-radius:6px;background:#fff;font-size:1.2rem;letter-spacing:.12em}.test-code p{margin:6px 0 0;font-size:.88rem}

.warning{color:#9a6700}
