:root{color-scheme:dark;--bg:#17191d;--surface:#22252a;--field:#2b3036;--line:#353a42;--text:#eceff2;--muted:#abb2bc;--accent:#9cff45;--danger:#ff9a9a;font-family:"Segoe UI","Microsoft YaHei UI",sans-serif;background:var(--bg);color:var(--text);font-size:15px}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}a{color:inherit}button,a,input,select,textarea{touch-action:manipulation}::selection{background:var(--accent);color:var(--bg)}:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button{min-height:42px;border:1px solid transparent;border-radius:12px;padding:10px 19px;font-weight:600;white-space:nowrap;cursor:pointer;background:var(--accent);color:var(--bg);transition:background .15s,transform .15s}button:hover{background:#b5ff78}button:active{transform:translateY(1px)}button:disabled{opacity:.45;cursor:not-allowed}.secondary{background:var(--field);color:var(--text);border-color:var(--line)}.secondary:hover{background:#363c44}.danger{color:var(--danger)}header{max-width:1512px;margin:auto;padding:22px 36px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;min-width:0}.brand img{object-fit:contain;flex:none}.brand strong{font-size:23px;letter-spacing:.3px}.local-badge{font-size:12px;color:var(--muted);border:1px solid var(--line);border-radius:24px;padding:8px 13px}.local-badge::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--accent);margin-right:8px;vertical-align:middle}main{max-width:1440px;margin:18px auto 0;padding:0 28px}h1,h2,p{margin-top:0}h1{font-size:28px;font-weight:650;line-height:1.3;margin-bottom:8px}h2{font-size:18px;font-weight:600;margin-bottom:22px}.heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.heading h1,.heading h2{margin:0}.heading>div:last-child{display:flex;gap:8px}.card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:25px;margin-bottom:22px}.stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-bottom:1px solid var(--line);padding:6px 0 26px;margin:0 0 24px;gap:20px}.stats article{display:flex;flex-direction:column;gap:9px;padding:0 16px;border-right:1px solid var(--line)}.stats article:first-child{padding-left:0}.stats article:last-child{border:0}.stats span{color:var(--muted);font-size:13px}.stats b{font-size:29px;font-weight:600;font-variant-numeric:tabular-nums}.stats article:nth-child(2) b{color:var(--accent)}form{display:grid;gap:18px}label{display:flex;flex-direction:column;gap:9px;color:var(--muted);font-size:13px}input,select,textarea{background:var(--field);color:var(--text);border:1px solid var(--line);border-radius:10px;min-height:44px;padding:11px 13px;min-width:0;width:100%}input::placeholder{color:var(--muted)}input:focus,select:focus,textarea:focus{border-color:var(--accent)}select{cursor:pointer}textarea{resize:vertical;line-height:1.6}.fields{grid-template-columns:minmax(180px,2fr) minmax(85px,.7fr) minmax(170px,1.3fr) auto;align-items:end}.fields:has(#seasonDays:not([hidden])){grid-template-columns:minmax(180px,2fr) minmax(85px,.6fr) minmax(170px,1.3fr) minmax(100px,.7fr) auto}.hint{font-size:12px;line-height:1.8;color:var(--muted);margin:15px 0 0}#message{font-size:14px;line-height:1.6;color:#ffd18a;border-radius:12px}#message:not(:empty){padding:12px 16px;border:1px solid #66543c;background:#2d2923}#message:empty{display:none}#login{width:min(100%,440px);margin:56px auto 80px;padding:32px;border-radius:20px;background:var(--surface);border:1px solid var(--line)}#login h1{font-size:25px}.login-intro{color:var(--muted);margin-bottom:30px;font-size:14px}#loginForm{gap:20px}#loginForm button{margin-top:4px;min-height:48px}#login .hint{margin-top:22px}#passwordPanel{max-width:620px}#passwordMessage,#renewMessage{color:var(--danger);font-size:13px;margin:0}#passwordMessage:empty,#renewMessage:empty{display:none}#issued{margin-top:20px;padding-top:20px;border-top:1px solid var(--line)}#issued textarea{margin-bottom:12px;font-family:Consolas,monospace;font-size:13px}.tablewrap{overflow:auto;scrollbar-color:#505964 var(--surface);scrollbar-width:thin;border-radius:8px}table{width:100%;min-width:1060px;border-collapse:collapse;text-align:left;font-size:13px}td,th{padding:17px 12px;border-bottom:1px solid var(--line);vertical-align:middle}th{color:var(--muted);font-size:12px;font-weight:500;white-space:nowrap;background:var(--surface)}td:first-child,th:first-child{padding-left:0}td:last-child,th:last-child{padding-right:0}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#272b30}td small{display:block;color:var(--muted);font-size:11px;margin-top:6px;line-height:1.5}td button{min-height:32px;font-size:12px;padding:6px 10px;margin:3px 3px 3px 0;border-radius:8px}.card-key{width:255px;min-height:34px;padding:8px 10px;font:11px Consolas,monospace;margin:0 0 4px}.empty-cell{text-align:center!important;color:var(--muted);padding:32px!important}#audit{font-size:13px;line-height:1.8;color:var(--muted);max-height:240px;overflow:auto;overflow-wrap:anywhere}#audit>div{padding:9px 0;border-bottom:1px solid var(--line)}#audit>div:last-child{border:0}footer{text-align:center;font-size:12px;color:var(--muted);padding:16px 24px 28px}dialog{width:min(440px,calc(100vw - 32px));background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:18px;padding:28px;box-shadow:0 20px 64px #0008}dialog::backdrop{background:#080a0dc9}dialog form{gap:18px}#renewTarget{color:var(--muted);font-size:13px;margin:0}dialog h2{margin:0}[hidden]{display:none!important}.skip{position:absolute;top:-80px;left:24px;padding:12px;background:var(--accent);color:var(--bg);z-index:10;border-radius:10px}.skip:focus{top:12px}@media(max-width:1000px){.fields,.fields:has(#seasonDays:not([hidden])){grid-template-columns:1fr 1fr}.fields>button{justify-self:start;min-width:130px}}@media(max-width:600px){header{padding:18px 18px;gap:8px}.brand{gap:7px}.brand img{width:48px;height:34px}.brand strong{font-size:19px}.local-badge{font-size:11px;padding:6px 8px}.local-badge::before{display:none}main{padding:0 16px;margin-top:14px}#login{margin:24px auto 40px;padding:25px 22px}.heading{align-items:flex-start;gap:14px;flex-wrap:wrap}h1{font-size:25px}.heading>div:last-child{flex-wrap:wrap}.stats{gap:18px 8px;grid-template-columns:repeat(3,minmax(0,1fr));padding-bottom:22px}.stats article{padding:0 8px}.stats article:first-child{padding-left:8px}.stats article:nth-child(3){border:0}.stats b{font-size:26px}.card{padding:20px 16px}.fields,.fields:has(#seasonDays:not([hidden])){grid-template-columns:1fr}.fields>button{width:100%;justify-self:stretch}.hint{line-height:1.8}.card .heading{margin-bottom:15px}dialog{padding:24px}#issued button{margin-bottom:8px}footer{padding-top:12px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.release-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}#releaseForm{max-width:850px}#releaseForm label{margin-bottom:16px}#releaseForm textarea{resize:vertical;min-height:145px}#releaseForm progress{width:100%;accent-color:var(--accent)}.release-list{margin-top:28px}.release-list article{padding:22px 0;border-top:1px solid var(--line)}.release-notes{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;color:var(--muted)}@media(max-width:600px){.release-grid{grid-template-columns:1fr;gap:0}#publishRelease{width:100%}}
