:root{font-family:Inter,"Microsoft YaHei",system-ui,sans-serif;color:#131f35;background:#f7f9fc;--muted:#596880;--line:#e4eaf2;--blue:#2150d7}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;background:radial-gradient(#dce4ef 1px,transparent 1px) 0 0/19px 19px}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
button,a,input,select{outline-offset:4px}
button{cursor:pointer}
.shell{width:min(1120px,calc(100% - 48px));margin-inline:auto}
.top{position:sticky;top:0;z-index:3;background:#fff;border-bottom:1px solid var(--line)}
.top-inner{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{display:flex;align-items:center;gap:11px;font-size:19px;font-weight:850;white-space:nowrap}
.mark{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:linear-gradient(145deg,#e42c46,#293dbe);color:#ffdf7b;font-size:27px;box-shadow:0 4px 10px #502bb031}
small{display:block;font-size:11px;letter-spacing:.09em}
.brand small{color:var(--muted)}
nav{display:flex;gap:4px;color:#4c5b72;white-space:nowrap}
nav a,.admin-link{padding:9px 13px;border-radius:24px;font-size:14px;font-weight:700}
nav a:hover{background:#eff3fa}
nav .selected,nav .selected:hover{background:#152135;color:#fff}
.admin-link{color:#2547a1;background:#eef2ff;white-space:nowrap}
main{padding-block:32px}
section,article{scroll-margin-top:115px}
.hero{position:relative;overflow:hidden;isolation:isolate;min-height:223px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:34px 38px;border-radius:24px;color:white;background:linear-gradient(104deg,#be203c,#d33849 37%,#283fc0 91%);box-shadow:0 12px 24px #57185525}
.hero-copy,.hero-date{z-index:1}
.hero-label{font-size:12px;font-weight:850;letter-spacing:.11em;color:#ffeb9a}
.hero-label span{margin-left:8px;padding:4px 8px;border-radius:6px;background:#fff2;color:white;letter-spacing:0}
h1,h2,h3,p{margin:0}
.hero h1{font-size:clamp(28px,4.5vw,46px);margin:13px 0 16px;overflow-wrap:anywhere}
.hero h1 span{color:#ffdd83;margin-left:.25em}
.date-chip{display:inline-block;background:#31042d33;padding:7px 13px;border-radius:18px;font-size:14px}
.hero-date{text-align:center;white-space:nowrap;transform:rotate(3deg)}
.hero-date span{display:block;background:#fff;color:#a8234c;border-radius:11px;padding:11px 16px;font-weight:850}
.hero-date small{margin-top:8px;color:#fff}
.orbit{position:absolute;right:-37px;bottom:-163px;width:425px;height:425px;border:1px solid #fff4;border-radius:50%;display:grid;place-items:center;font-size:240px;color:#fff2;box-shadow:0 0 0 35px #fff1,0 0 0 75px #fff1;pointer-events:none}
.overview,.strategy-grid,.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.overview,.section{margin-top:24px}
.card{background:white;border:1px solid var(--line);border-radius:17px;overflow:hidden;box-shadow:0 5px 18px #182c4a09}
.card-head{color:white;padding:16px 20px;display:flex;align-items:center;gap:12px}
.teal{background:linear-gradient(100deg,#08785d,#087a83)}
.purple{background:linear-gradient(100deg,#6932c4,#8741cd)}
.card-head>span{border:1px solid #fff6;background:#fff2;border-radius:8px;width:37px;height:37px;display:grid;place-items:center;font-size:20px}
h2{font-size:20px}
h3{font-size:16px}
.card-head small{margin-top:3px;letter-spacing:0;color:#fff}
.card-body,.section{padding:22px}
.picks{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:39px}
.picks:empty{display:none}
.ball{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:100%;color:#fff;font-weight:800;font-variant-numeric:tabular-nums;font-size:14px;background:radial-gradient(circle at 30% 20%,#ef626a,#c31c37 65%,#960c26);box-shadow:0 2px 5px #a11a3033}
.ball.star{background:radial-gradient(circle at 30% 20%,#7097fa,#2453cf 65%,#13389d);box-shadow:0 2px 5px #1748c833}
.plus{color:#64748b;margin-inline:2px}
.notice{font-size:14px;line-height:1.6;color:var(--muted);background:#f4f7fc;border-radius:9px;padding:11px 13px}
.demo-notice{background:#fff4d8;color:#6d4814;margin-bottom:12px}
.picks:not(:empty)+.notice,.strategy-grid:not([hidden])+.notice{margin-top:15px}
.section-head,.admin-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px}
.section-head p,.admin-title p,.form p{color:var(--muted);font-size:14px;line-height:1.6;margin-top:4px}
label{display:grid;gap:6px;font-size:14px;font-weight:700}
.search{display:flex;align-items:center;gap:9px;color:var(--muted)}
input,select,button{color:inherit;border:1px solid #ccd6e5;background:#fff;border-radius:8px;padding:8px 11px}
input,select{min-width:0}
.table-wrap{overflow:auto}
table{border-collapse:collapse;width:100%;text-align:left;font-size:14px}
th,td{padding:12px 10px;border-bottom:1px solid var(--line)}
th{background:#f3f6fb;color:#4a5972}
td:first-child{font-weight:700;overflow-wrap:anywhere}
td:last-child{white-space:nowrap}
td .ball{width:29px;height:29px;font-size:12px}
.pagination{display:flex;justify-content:flex-end;align-items:center;gap:11px;margin-top:16px;font-size:14px}
button:disabled{opacity:.5;cursor:default}
button:hover:not(:disabled){filter:brightness(.94)}
.ranking{list-style:none;padding:0;margin:10px 0 0}
.ranking li{display:grid;grid-template-columns:36px minmax(50px,1fr) 60px;align-items:center;gap:10px;margin:8px 0}
.ranking output{text-align:right;font-variant-numeric:tabular-nums}
meter{width:100%;height:18px;accent-color:var(--blue)}
#pick-weights{margin-top:18px}
.weight-list{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:10px 0 0}
.weight-list li{background:#fdf1f3;color:#8e1530;padding:7px 9px;border-radius:7px;font-size:13px}
.weight-list .star-weight{background:#edf2ff;color:#1b439d}
.footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;padding-block:20px;color:var(--muted);font-size:13px}
.admin{max-width:850px}
.admin-title h1{font-size:34px}
.form{display:grid;gap:14px}
.form button{justify-self:start}
.primary{background:var(--blue);color:white;font-weight:700;border-color:var(--blue)}
.form code{background:#f4f7fc;border-radius:8px;padding:11px;overflow-wrap:anywhere}
.status:empty{display:none}
.form .status[data-error=true],#site-error{color:#a71d3b}
#site-error{margin-top:14px}
@media(max-width:720px){
  .shell{width:calc(100% - 28px)}
  .top-inner{flex-wrap:wrap;gap:8px;padding-block:8px;min-height:0}
  nav{order:3;width:100%;overflow:auto}
  nav a,.admin-link{padding:7px 10px;font-size:13px}
  main{padding-top:18px}
  .hero{padding:22px 17px;min-height:178px}
  .hero-date span{padding:8px;font-size:12px}
  .overview,.strategy-grid,.fields{grid-template-columns:1fr}
  .card-body,.section{padding:15px}
  .section-head{align-items:flex-start;flex-direction:column}
}
