body.new-site[data-page="home"] .new-home-draw-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:28px}
.new-home-history-link{display:flex;align-items:center;gap:4px;color:#172554;font-size:12px;font-weight:700;white-space:nowrap;text-decoration:none}
.new-home-history-link b{font-size:21px;line-height:1}
.new-home-scratch-toolbar{box-sizing:border-box;position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;justify-items:center;gap:0;min-height:32px;margin-top:5px;padding:3px 0;border-radius:5px;background:#f3f4f7}
.new-home-scratch-clock{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;margin:0;padding:0;border:0;background:none;color:#60646c;font:700 14px/1.2 Arial,"Microsoft YaHei",sans-serif;white-space:nowrap;cursor:pointer}
.new-home-scratch-clock svg{display:block;width:18px;height:18px;flex:0 0 18px}
.new-home-scratch-clock strong{color:#ff292c;font-size:14px;font-variant-numeric:tabular-nums;font-weight:700}
.new-home-scratch-clock.is-enabled svg{color:#ff292c}
.new-home-scratch-clock em{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.new-home-scratch-toggle{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;padding:0;border:0;background:none;color:#131923;font:700 14px/1.2 Arial,"Microsoft YaHei",sans-serif;white-space:nowrap;cursor:pointer}
.new-home-scratch-toggle>img{display:block;width:19px;height:19px;object-fit:contain}
.new-home-scratch-switch{box-sizing:border-box;position:relative;display:block;width:35px;height:20px;flex:0 0 35px;border-radius:12px;background:#ff2a3b}
.new-home-scratch-switch:after{content:"";position:absolute;top:2px;right:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 0 1px #0003}
.new-home-scratch-toggle[aria-checked="false"] .new-home-scratch-switch{background:#bcc2ce}
.new-home-scratch-toggle[aria-checked="false"] .new-home-scratch-switch:after{right:auto;left:2px}
body.new-site[data-page="home"] [data-home-draw]:not(.is-special-revealed) [data-home-balls] .new-ball-wrap:last-child>.new-ball,
body.new-site[data-page="home"] [data-home-draw]:not(.is-special-revealed) [data-home-balls] .new-ball-wrap:last-child>small,
[data-home-special]>[hidden],.new-home-special-cover[hidden]{display:none!important}
.new-home-special-cover{box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;width:43px;max-width:100%;height:65px;padding:3px 2px;border:0;border-radius:4px;background:#d2d5da url("/assets/new-design/scratch-cover-v1.png") center/cover;color:#172554;font:800 26px/1 Arial,"Microsoft YaHei",sans-serif;cursor:pointer;touch-action:manipulation}
.new-home-special-cover img{display:none}
.new-home-special-cover span{display:block;width:100%;text-align:center;white-space:nowrap}
.new-home-scratch-toggle:focus-visible,.new-home-special-cover:focus-visible,.new-home-scratch-clock:focus-visible{outline:2px solid #8090c4;outline-offset:3px}
body.new-site[data-page="home"] .new-home-draw-card [data-home-balls]>.new-balls{display:grid;grid-template-columns:repeat(6,minmax(0,1fr)) min-content minmax(0,1fr);align-items:start;gap:2px;padding-left:0;padding-right:0}
body.new-site[data-page="home"] .new-home-draw-card [data-home-balls] .new-ball-wrap{box-sizing:border-box;min-width:0;width:100%}
body.new-site[data-page="home"] .new-home-draw-card [data-home-balls] .new-ball{box-sizing:border-box;width:min(43px,100%);height:auto;aspect-ratio:1;display:grid;place-items:center;line-height:1}
.new-special-scratch-dialog{box-sizing:border-box;position:fixed;inset:0;width:calc(100% - 40px);max-width:330px;height:max-content;max-height:92vh;max-height:92dvh;margin:auto;padding:16px;border:0;border-radius:12px;background:#fff;color:#172554;box-shadow:0 12px 45px #0003;text-align:center;overflow:auto;font:14px/1.5 Arial,"Microsoft YaHei",sans-serif}
.new-special-scratch-dialog:not([open]){display:none}
.new-special-scratch-dialog::backdrop{background:#0c142799}
.new-special-scratch-close{position:absolute;top:7px;right:7px;display:grid;place-items:center;width:25px;height:25px;padding:0;border:0;border-radius:50%;background:#e9eaed;color:#60656c;font:25px/1 Arial,sans-serif;cursor:pointer}
.new-special-scratch-period{margin:0;color:#000;font-size:16px;font-weight:600}
.new-special-scratch-title{margin:0 0 2px;font-size:19px;font-weight:800;color:#172554}
.new-special-scratch-instruction{margin:0 0 10px;color:#737a91;font-size:14px;font-weight:600}
.new-special-scratch-stage{position:relative;width:100%;aspect-ratio:433/367;border:1px solid #bfc3c9;border-radius:13px;overflow:hidden;background:#fff;touch-action:none;user-select:none;-webkit-touch-callout:none}
.new-special-scratch-result{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px}
.new-special-scratch-ball{--scratch-color:#f3171e;display:grid;place-items:center;box-sizing:border-box;width:92px;height:92px;padding:11px;border-radius:50%;background:radial-gradient(circle at 32% 22%,#fff9 0,transparent 30%),radial-gradient(circle at 45% 35%,#fff3 0,transparent 55%),var(--scratch-color);box-shadow:inset 0 2px 3px #fff9,inset 0 -6px 5px #0005,0 2px 2px #0002}
.new-special-scratch-ball[data-color="blue"]{--scratch-color:#1285ef}
.new-special-scratch-ball[data-color="green"]{--scratch-color:#00bc46}
.new-special-scratch-ball[data-color="black"]{--scratch-color:#666d79}
.new-special-scratch-ball>strong{display:grid;place-items:center;box-sizing:border-box;width:100%;height:100%;border:2px solid #fff;border-radius:50%;background:radial-gradient(circle at 40% 30%,#fff,#ececec);color:#152237;font:800 39px/1 Arial,sans-serif;box-shadow:0 0 0 2px #fff7}
.new-special-scratch-attributes{color:#172554;font-size:25px;font-weight:800}
.new-special-scratch-canvas{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:none;user-select:none;cursor:crosshair}
.new-special-scratch-stage.is-loading .new-special-scratch-canvas,.new-special-scratch-stage.is-revealed .new-special-scratch-canvas{pointer-events:none}
.new-special-scratch-stage.is-loading:after{content:"";position:absolute;inset:0;background:#c7cbd0 url("/assets/new-design/scratch-cover-v1.png") center/cover;pointer-events:none}
.new-special-scratch-hand{position:absolute;left:50%;top:50%;width:93px;height:65px;object-fit:contain;transform:translate(-50%,-50%);pointer-events:none;animation:scratch-hand-hint 1.4s ease-in-out infinite}
.new-special-scratch-hand[hidden]{display:none!important}
.new-special-scratch-hint{margin:8px 0 10px;color:#8b90a1;font-size:12px}
.new-special-scratch-reveal{display:block;width:100%;margin-top:10px;min-height:36px;border:1px solid #ff3640;border-radius:6px;background:#fff;color:#ff3038;font:700 15px/1.2 Arial,"Microsoft YaHei",sans-serif;cursor:pointer}
@keyframes scratch-hand-hint{0%,100%{transform:translate(calc(-50% - 5px),-50%)}50%{transform:translate(calc(-50% + 5px),-50%)}}
@media(prefers-reduced-motion:reduce){.new-special-scratch-hand{animation:none}}
@media(max-width:370px){
 
 .new-home-scratch-clock,.new-home-scratch-clock strong{font-size:14px}
 .new-home-scratch-clock{gap:3px}
 .new-home-scratch-clock svg{width:15px;height:15px;flex-basis:15px}
 .new-home-scratch-toggle{gap:4px;font-size:14px}
 .new-home-scratch-toggle>img{width:17px;height:17px}
 .new-home-scratch-switch{width:30px;height:18px;flex-basis:30px}
 .new-home-scratch-switch:after{width:14px;height:14px}
 .new-home-special-cover{width:39px;height:60px}
}
@media(max-width:340px){body.new-site[data-page="home"] .new-home-draw-card [data-home-balls] .new-ball-wrap small{font-size:12px}}

body.new-site[data-page="home"] .new-home-draw-summary>.new-home-history-link{font-size:18px;font-weight:600;line-height:1.2;letter-spacing:-.2px;flex-shrink:0}
body.new-site[data-page="home"] .new-home-draw-links>p{flex-wrap:wrap;row-gap:0;white-space:normal}

.new-home-scratch-toolbar:before{content:"";position:absolute;left:50%;top:50%;width:1px;height:20px;background:#d9dce3;transform:translate(-50%,-50%);pointer-events:none}
@media(max-width:385px){.new-home-scratch-clock{display:grid;grid-template-columns:auto auto;column-gap:3px;row-gap:1px}.new-home-scratch-clock svg{grid-row:1/3}.new-home-scratch-clock strong{grid-column:2;justify-self:start}}

.new-home-scratch-clock>span{color:#000}

body.new-site[data-page="home"] .new-home-draw-links{justify-content:center}
body.new-site[data-page="home"] .new-home-draw-links>p{justify-content:center;text-align:center;font-size:16px}
@media(max-width:370px){body.new-site[data-page="home"] .new-home-draw-links>p{font-size:14px}}
