:root{font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;color:#17324c;background:#dfe8f2;font-size:14px}*{box-sizing:border-box}body{margin:0;display:flex;justify-content:center;align-items:flex-start;gap:70px;min-height:100vh;padding:38px 24px}aside{width:275px;padding-top:85px}aside h1{font-size:46px;line-height:1.25;margin:0 0 25px;color:#1558a0;letter-spacing:2px}aside p{line-height:1.8;color:#536981;font-size:15px}.aside-rule{border-left:4px solid #ea762b;padding:10px 20px;margin-top:35px;line-height:2}.phone{width:414px;background:#eff3f7;box-shadow:0 18px 70px #23476925;border:1px solid #c7d5e4;border-radius:24px;overflow:hidden;position:relative}header{height:61px;background:#fff;padding:0 16px;display:flex;align-items:center;justify-content:space-between;font-size:15px;gap:10px}.capsule{font-size:12px;border:1px solid #d7e1eb;border-radius:16px;padding:5px 9px}main{min-height:690px;padding:18px 16px 30px}nav{display:flex;position:sticky;bottom:0;background:#fff;border-top:1px solid #d7e1eb;padding-bottom:10px}nav button{flex:1;border:0;background:#fff;padding:17px 0 12px;color:#63758a;border-radius:0}nav button.active{color:#1558a0;font-weight:700;border-top:3px solid #1558a0;padding-top:14px}button,input,textarea,select{font:inherit;max-width:100%}button{cursor:pointer;border:1px solid #d7e1eb;border-radius:8px;background:#fff;color:#17324c;padding:12px 15px}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ea762b;outline-offset:2px}button:disabled{opacity:.5;cursor:not-allowed}.title{font-size:25px;font-weight:700;margin:5px 0 18px}.section-title{font-size:18px;font-weight:600;margin:22px 0 12px}.muted{color:#63758a;font-size:12px;line-height:1.7}.mode{background:#fff4e9;color:#925017;padding:10px 12px;border-left:3px solid #ea762b;margin-bottom:14px;font-size:12px}.panel{padding:16px;background:#fff;border-radius:12px;margin-bottom:14px}.hero{padding:23px 20px;background:#1558a0;color:#fff;border-radius:12px;position:relative;overflow:hidden}.hero h2{font-size:35px;line-height:1.25;letter-spacing:2px;margin:16px 0}.hero p{font-size:12px;margin:0;color:#dfedfb;position:relative;z-index:2}.court-art{position:absolute;width:148px;height:176px;right:-18px;bottom:-25px;border:2px solid #75a6d8;transform:rotate(-15deg);opacity:.6}.court-art:before{content:"";position:absolute;inset:12px;border:1px solid #75a6d8}.court-art:after{content:"";position:absolute;top:50%;width:100%;border-top:3px solid #fff}.court-art i{height:100%;border-left:1px solid #75a6d8;position:absolute;left:50%}.timeline{display:flex;justify-content:space-between;padding:17px 13px;background:#fff;border-radius:0 0 10px 10px;margin-top:-5px}.timeline div{display:flex;flex-direction:column;gap:4px}.timeline strong{font-size:14px}.progress-head{display:flex;justify-content:space-between;margin-top:20px;font-size:13px}.progress{height:6px;background:#d5e0ec;border-radius:4px;overflow:hidden;margin-top:9px}.progress div{background:#2c8267;height:100%}.court-row{display:flex;gap:12px;padding:16px 12px;background:#fff;border-bottom:1px solid #e1e8ef;align-items:center;cursor:pointer}.court-number{font-size:27px;color:#1558a0;font-weight:700;min-width:35px;text-align:center}.court-number small{display:block;font-size:11px;font-weight:400}.court-info{flex:1;min-width:0;font-size:14px;line-height:1.6}.status{font-size:11px;padding:4px 7px;background:#eff3f7;border-radius:4px;color:#63758a;white-space:nowrap}.status.live{background:#fff0df;color:#a85514}.status.finished{background:#e7f4ed;color:#22654f}.search{width:100%;padding:14px 12px;border:1px solid #d7e1eb;border-radius:8px;background:#fff}.chips{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}.chip{padding:8px 13px;font-size:13px;border-radius:24px}.chip.active{background:#1558a0;color:#fff;border-color:#1558a0}.match{padding:15px 14px;background:#fff;border-radius:8px;margin:12px 0;border-left:3px solid #b9c8d8;cursor:pointer}.match.live{border-left-color:#ea762b}.match.finished{border-left-color:#2c8267}.match-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;font-size:12px;gap:8px}.players{display:flex;gap:12px;align-items:center}.player{flex:1;font-size:15px;font-weight:600;overflow-wrap:anywhere}.player.right{text-align:right}.score{font-size:19px;font-weight:700;color:#1558a0;min-width:67px;text-align:center;font-variant-numeric:tabular-nums}.match-bottom{display:flex;justify-content:space-between;margin-top:13px;font-size:11px;color:#63758a}.hint{font-size:12px;color:#925017;margin-top:10px}.row{display:flex;justify-content:space-between;align-items:center;gap:10px}.field-label{font-size:14px;font-weight:600;margin:16px 0 8px}.input{width:100%;border:1px solid #d7e1eb;border-radius:7px;padding:12px;background:#f8fafc;min-height:42px}textarea.input{height:80px}.actions{display:flex;gap:10px;margin-top:15px}.actions button{flex:1}.primary{background:#1558a0;color:#fff;border:0}.danger{color:#ad3030}.error{background:#fff0f0;color:#ad3030;padding:12px;margin:12px 0;font-size:13px;line-height:1.6}.empty{text-align:center;padding:35px 15px;color:#63758a}.rank{border-radius:50%;width:34px;height:34px;display:inline-flex;justify-content:center;align-items:center;background:#eff3f7;margin-right:16px;color:#63758a;font-weight:700}.rank1{background:#fff0d2;color:#92620c}.rank2{background:#e7eef6;color:#50647a}.rank3{background:#fae7da;color:#9f5e33}.medal-row{padding:11px 0;border-bottom:1px solid #e1e8ef;font-weight:600}.versus{text-align:center}.side-label{font-size:12px;color:#63758a}.side-name{font-size:23px;font-weight:700;line-height:1.5;margin:8px 0}.big-score{font-size:42px;color:#1558a0;font-weight:700;margin:20px 0}.score-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.score-input{text-align:center;font-size:31px;font-weight:700;width:100%;height:66px;border:1px solid #c2d4e7;border-radius:8px}.rules p{line-height:1.8;font-size:13px;border-bottom:1px solid #e1e8ef;padding:10px 0;margin:0}.rules p:last-child{border:0}.identity{word-break:break-all}.audit{border-top:1px solid #e1e8ef;padding:12px 0;font-size:12px}.link{background:transparent;border:0;color:#1558a0;padding:0;font-weight:600}.preview-toast{position:fixed;bottom:110px;left:50%;transform:translateX(-50%);background:#17324cee;color:#fff;padding:13px 20px;border-radius:8px;z-index:10}.sync{text-align:center;margin-top:16px}@media(max-width:760px){body{padding:0;display:block;background:#eff3f7}aside{display:none}.phone{width:100%;max-width:460px;margin:auto;border:0;border-radius:0;box-shadow:none}main{min-height:calc(100vh - 125px)}header{position:sticky;top:0;z-index:3}nav{position:fixed;bottom:0;width:100%;max-width:460px}main{padding-bottom:90px}}
:root{--preview-height:calc(100dvh - 76px)}
.phone{height:var(--preview-height);display:flex;flex-direction:column}
.phone>header,.phone>nav{flex-shrink:0}
.phone>main{min-height:0;flex:1;overflow-y:auto;padding-bottom:30px}
.phone>nav{position:static}
@media(max-width:760px){.phone{height:100dvh}.phone>main{min-height:0}.phone>nav{position:static}}

body{display:block;padding:0;background:#eff3f7}.shell{max-width:680px;margin:auto;min-height:100dvh;background:#eff3f7}header{position:sticky;top:0;z-index:3;border-bottom:1px solid #d7e1eb}main{min-height:calc(100dvh - 165px);padding:18px 16px 105px}nav{position:fixed;bottom:0;width:100%;max-width:680px;z-index:3;padding-bottom:env(safe-area-inset-bottom,8px)}#connection{padding:9px 16px;background:#e7f4ed;font-size:12px;color:#22654f}#connection.offline{background:#fff4e9;color:#925017}.notice{white-space:pre-wrap;margin:18px 0;line-height:1.8;font-size:13px}.hero h2{font-size:32px;max-width:75%;letter-spacing:0}.field-label{display:block}.admin-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:18px}.admin-tabs button{flex:1;white-space:nowrap;padding:10px}.schedule-line{display:flex;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #d7e1eb}.schedule-line input{width:20px;height:20px}.schedule-line>span{flex:1}.diff{overflow:auto;font-size:13px}.diff table{width:100%;border-collapse:collapse}.diff td,.diff th{text-align:left;padding:10px;border-bottom:1px solid #d7e1eb}.identity{overflow-wrap:anywhere}.panel pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.actions{flex-wrap:wrap}.actions button{min-height:44px}.title{margin-bottom:14px}.rules p{white-space:pre-wrap}.preview-toast{bottom:100px;max-width:90%}@media(min-width:800px){.shell{border-left:1px solid #d7e1eb;border-right:1px solid #d7e1eb}.hero{padding:30px}.court-row{padding:18px}}