@font-face{font-family:Pretendard;src:url("assets/PretendardVariable.woff2") format("woff2");font-weight:100 900;font-display:swap}
:root{font-family:Pretendard,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;color:#272331;background:#f7f7fb;--violet:#714ce4;--ink:#272331;--muted:#6e6a7c;--line:#e6e4ed;--soft:#f0ecff;font-synthesis:none}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:20px}
body{margin:0;line-height:1.5;word-break:keep-all}
button,input,select{font:inherit}
button,a,select,label{touch-action:manipulation}
button,select{cursor:pointer}
button{color:inherit}
button:disabled{cursor:default}
a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible+span{outline:3px solid #987aff;outline-offset:3px}
[hidden]{display:none!important}
.symbols{width:0;height:0;position:absolute;overflow:hidden}
.icon{width:1.25rem;height:1.25rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;display:block}
.skip{position:absolute;left:1rem;top:-8rem;background:white;padding:10px;z-index:5}.skip:focus{top:8px}
.wrap{width:min(1136px,calc(100% - 72px));margin-inline:auto}
.site-header{background:#fff;border-bottom:1px solid var(--line)}
.header-inner{height:76px;display:flex;align-items:center;gap:52px}
.brand{display:inline-flex;align-items:center;gap:9px;font-size:1.71rem;line-height:1;letter-spacing:-1.8px;font-weight:850;color:#272138;white-space:nowrap}
.brand-mark{height:37px;width:37px;border-radius:12px;background:linear-gradient(145deg,#9068ff,#6941df);display:grid;place-items:center;box-shadow:inset 0 1px 2px #fff4}
.brand-mark .icon{height:27px;width:27px;color:#fff;transform:rotate(3deg)}
.hero{isolation:isolate;position:relative;overflow:hidden;margin:28px 0 24px;border-radius:23px;min-height:218px;display:flex;align-items:center;background:radial-gradient(ellipse at 79% 57%,#7949e8 0,transparent 47%),linear-gradient(105deg,#352070 0%,#50309f 43%,#6841c5 100%);color:white}
.hero::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:radial-gradient(#e1d2ff29 .8px,transparent .8px);background-size:12px 12px;mask-image:linear-gradient(90deg,transparent 41%,#000 78%);opacity:.7}
.hero-copy{position:relative;z-index:2;padding:27px 38px}
.hero-kicker{display:flex;align-items:center;gap:8px;color:#e1d5ff;font-weight:740;font-size:.78rem;letter-spacing:2.2px}
.tiny-line{width:17px;height:2px;background:#bda3ff;border-radius:100%}
h1,h2,p{margin:0}
h1{font-size:clamp(2.05rem,3.4vw,2.62rem);font-weight:780;letter-spacing:-2px;line-height:1.25;margin:7px 0 5px}
.hero-copy>p{font-weight:450;font-size:1rem;color:#eee6ff;letter-spacing:-.25px}
.next-draw{display:inline-flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:17px;font-size:.855rem;color:#e0d5fa}
.next-draw .icon{height:15px;width:15px}.next-draw strong{font-weight:620;color:#fff}.next-draw b{border:1px solid #bea2ff6b;color:#f4eaff;background:#b69aff25;line-height:1.2;padding:3px 7px;border-radius:6px;font-size:.75rem;letter-spacing:.2px}
.hero-art{position:absolute;z-index:0;width:48%;max-width:560px;height:100%;right:0;top:0;pointer-events:none}
.orbit{position:absolute;left:11%;top:21%;width:88%;height:72%;border:1px solid #e6d8ff3e;transform:rotate(-16deg);border-radius:50%}
.orbit-two{width:68%;height:116%;left:22%;top:-7%;transform:rotate(-38deg);border-color:#e6d8ff22}
.orbit-three{width:101%;height:61%;left:1%;top:28%;transform:rotate(-17deg);border-style:dashed;border-color:#efe1ff22}
.sphere{position:absolute;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;container-type:inline-size;box-shadow:inset -2px -4px 7px #23064633,8px 15px 18px -5px #1b06484d}
.sphere::before{content:"";position:absolute;inset:0;border-radius:50%;background:radial-gradient(ellipse 22% 12% at 27% 16%,#fff9,transparent 98%);filter:blur(2px);transform:rotate(-23deg)}
.sphere span{position:relative;width:62%;height:62%;display:grid;place-items:center;border-radius:50%;background:radial-gradient(ellipse at 30% 20%,#fffef8,#fffcf1 52%,#e0dccb);font-family:Pretendard,Arial,sans-serif;font-size:39cqw;line-height:1;font-weight:830;letter-spacing:-.075em;padding-right:.08em;box-shadow:inset 0 1px 3px #fff9,0 1px 1px #5434901a}
.sphere-gold{left:32%;top:23%;width:clamp(108px,11vw,152px);transform:rotate(-16deg);background:radial-gradient(circle at 32% 22%,#fff79c 0%,#ffe45f 25%,#ffc126 58%,#e69511 78%,#f1ad2a 92%,#ffd14e);color:#342b46}
.sphere-gold span{transform:translate(-3%,-4%) scaleX(.94)}
.sphere-lilac{left:61%;top:-13%;width:clamp(92px,10.3vw,142px);transform:rotate(17deg);color:#443667;background:radial-gradient(circle at 29% 23%,#e5d7ff 1%,#c4abff 33%,#a279eb 62%,#7a56bf 83%,#a786df)}
.sphere-lilac span{background:radial-gradient(ellipse at 30% 20%,#faf5ff,#ece4ff 55%,#d9c8f0);transform:translate(-8%,6%) scaleX(.93);font-size:34cqw}
.sphere-mint{left:65%;top:64%;width:clamp(88px,8.7vw,123px);transform:rotate(16deg);color:#224b50;background:radial-gradient(circle at 29% 24%,#d5ffe6 0%,#86e5bd 32%,#46c79d 61%,#2b9d8c 81%,#5bbbae)}
.sphere-mint span{background:radial-gradient(ellipse at 30% 20%,#f3fff5,#e2f8e9 60%,#c5e5d0);font-size:34cqw;transform:translate(-7%,-2%) scaleX(.94)}
.bead{position:absolute;border-radius:50%}.bead-one{width:19px;height:19px;left:20%;top:20%;background:radial-gradient(circle at 30% 20%,#f8dfff,#bda0ef 46%,#8456c8 82%);box-shadow:4px 4px 6px #34166b4d}
.bead-two{width:10px;height:10px;right:8%;top:52%;background:radial-gradient(circle at 30% 20%,#fff3a3,#e1af31 65%,#bc7618)}
.glint{position:absolute;display:block;width:17px;height:17px;background:#f2dfff;clip-path:polygon(50% 0,60% 37%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%)}
.g1{left:18%;top:63%;width:23px;height:23px}.g2{left:58%;top:15%;width:11px;height:11px}.g3{right:10%;top:21%}.g4{left:50%;bottom:5%;width:8px;height:8px}
.yellow{--ball:#ffcf4f;--ball-ink:#574000}.blue{--ball:#74bcfa;--ball-ink:#153f61}.red{--ball:#ff959a;--ball-ink:#6b202d}.gray{--ball:#b2b6c3;--ball-ink:#353948}.green{--ball:#79d1a4;--ball-ink:#154d39}
.notice{position:fixed;bottom:24px;left:50%;transform:translate(-50%,8px);background:#322844;color:#fff;border-radius:11px;box-shadow:0 5px 20px #2215392b;font-size:.94rem;padding:10px 18px;opacity:0;pointer-events:none;z-index:5;transition:opacity .15s,transform .15s;max-width:calc(100% - 24px);width:max-content}
.notice.show{opacity:1;transform:translate(-50%,0)}

.wrap{width:min(960px,calc(100% - 48px))}.header-inner{height:66px}.brand{font-size:1.55rem}.brand-mark{width:33px;height:33px}
main.wrap{padding-bottom:36px}.hero{min-height:194px;margin:22px 0 18px;border-radius:20px}.hero-copy{width:62%;padding:23px 32px}.hero-art{width:42%}.sphere-gold{width:116px}.sphere-lilac{width:103px}.sphere-mint{width:91px}
.round-line,.round-select,.draw-meta,.draw-meta a,.win-balls,.primary,.exports,.exports button,.title-line,.records-head,.saved-row,.row-balls,#more{display:flex;align-items:center}
.round-line{gap:12px;margin:5px 0 10px}h1{margin:0;font-size:1.7rem;letter-spacing:-1px}.round-select{position:relative}.round-select select{color:#fff;appearance:none;border:1px solid #ffffff55;background:#ffffff14;border-radius:8px;padding:5px 26px 5px 9px;font-size:.89rem;font-weight:600}.round-select select option,.round-select select optgroup{color:#312742;background:white}.round-select .icon{position:absolute;right:8px;width:12px;pointer-events:none}
.win-balls{gap:7px}.ball{display:grid;place-items:center;border-radius:50%;background:var(--ball);color:var(--ball-ink);font-weight:740;line-height:1;flex:none;aspect-ratio:1;font-variant-numeric:tabular-nums}.win-balls .ball{width:36px;font-size:1rem}.plus{color:#e6d9ff}.bonus-caption{font-size:.78rem;color:#eadfff}
.draw-meta{gap:12px;color:#e8def8;font-size:.82rem;margin-top:11px;flex-wrap:wrap}.draw-meta a{gap:3px;text-decoration:underline;text-underline-offset:3px}.draw-meta .icon{width:12px;height:12px}.pending{color:white;font-size:.94rem;min-height:36px;display:flex;align-items:center;gap:7px}.retry{color:#fff;border:1px solid #c9b7ed;border-radius:6px;background:transparent;font-size:.82rem;padding:2px 6px}
.card{background:white;border:1px solid #e4e1ec;border-radius:18px;padding:24px 28px}.card h2{margin:0;letter-spacing:-.85px;font-size:1.4rem;font-weight:760;line-height:1.3}.hint{font-size:.91rem;color:#6c6479;margin-top:4px}
.primary{background:#6f48de;color:white;justify-content:center;min-height:47px;min-width:203px;font-weight:700;gap:9px;border:0;border-radius:10px;padding:9px 20px;font-size:1.04rem}.primary:hover{background:#603bd0}.primary:active{transform:translateY(1px)}
.records-head{justify-content:space-between;gap:12px}.title-line{gap:9px}#history-total{border-radius:7px;color:#6942cf;background:#f0ebff;padding:2px 8px;font-size:.85rem;font-weight:680}
.exports{gap:7px}.exports button,#more{background:white;border:1px solid #dfdbe7;border-radius:8px;font-size:.88rem;font-weight:620;padding:9px 12px;gap:6px}.exports button:first-child .icon{color:#28795b}.exports button:disabled{color:#88818e;background:#fbfafc}.exports .icon{width:16px;height:16px}.exports button:enabled:hover,#more:hover{background:#f5f1ff}
#history-empty{border:1px dashed #dcd3ee;background:#faf8fe;border-radius:12px;text-align:center;margin-top:18px;padding:23px 6px;color:#736982;font-size:.91rem}.empty-balls{display:flex;justify-content:center;gap:9px;margin-bottom:10px}.empty-balls i{display:grid;place-items:center;width:39px;aspect-ratio:1;border:1px solid #dfd7eb;background:white;border-radius:50%;font-style:normal;color:#ada3bd;font-weight:650}
#saved-rows{margin:18px 0 0;padding:0;list-style:none}#saved-rows:empty{display:none}.saved-row{border-top:1px solid #ece9f2;gap:24px;padding:13px 5px}.row-no{color:#83768f;font-size:.85rem;font-variant-numeric:tabular-nums;width:25px}.row-balls{gap:11px}.row-balls .ball{width:43px;font-size:1.14rem}#more{margin:6px auto 0;padding:8px 22px;color:#655779}#more .icon{width:14px}
@media(max-width:700px){.wrap{width:calc(100% - 28px)}.card{padding:20px}.hero-copy{width:75%;padding:20px}.hero-art{width:28%;right:-4%}.sphere-gold{width:84px;left:0}.sphere-lilac{width:68px;left:37%}.sphere-mint{width:62px;left:43%}.saved-row{gap:11px}.row-balls{gap:7px}}
@media(max-width:520px){.header-inner{height:55px}.brand{font-size:1.35rem}.brand-mark{height:29px;width:29px}.brand-mark .icon{width:22px;height:22px}.hero{min-height:166px;margin:13px 0 12px;border-radius:15px}.hero-copy{width:100%;padding:16px}.hero-art{width:81px;height:83px;right:0;top:-6px}.hero-art .sphere-gold{width:48px;top:22%;left:22%}.hero-art .sphere-mint,.hero-art .sphere-lilac,.hero-art .bead,.hero-art .orbit,.hero-art .glint{display:none}.hero-kicker{font-size:.73rem}.win-balls{gap:4px}.win-balls .ball{width:clamp(25px,7.5vw,34px)}.bonus-caption{font-size:.73rem}.card{padding:17px;border-radius:14px}.primary{min-height:46px}.records-head{flex-wrap:wrap}.exports button{padding:6px 9px}.row-no{width:17px;font-size:.75rem}.saved-row{gap:6px;flex-wrap:wrap;padding:12px 0}.row-balls{gap:4px}.row-balls .ball{width:clamp(27px,7.4vw,36px);font-size:.96rem}.hint{font-size:.85rem}.empty-balls{gap:6px}.empty-balls i{width:33px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

#prize summary{cursor:pointer}#prize[open]{flex-basis:100%}#prize-value{font-weight:620;color:white}
.picker-head h2{font-size:clamp(1.5rem,3vw,1.9rem)}
.pick-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px 12px;margin:0 0 25px}
.quantity-control{display:flex;align-items:center;gap:12px}
.pick-form label{font-weight:650}
.stepper{display:flex;align-items:center;padding:4px;border:1px solid #ddd8e9;border-radius:12px;background:#faf9fc}
.stepper button{width:40px;height:40px;border:0;background:white;border-radius:8px;color:#594097;font-size:1.4rem}
.stepper button:disabled{color:#b9b3c5;background:transparent}
.stepper input{width:3.4rem;background:transparent;border:0;text-align:center;font-size:1.2rem;font-weight:700;appearance:textfield}
.stepper input::-webkit-inner-spin-button,.stepper input::-webkit-outer-spin-button{-webkit-appearance:none}
.pick-form .primary{grid-column:1/-1;width:100%;min-width:0;min-height:52px;font-size:1.12rem}
.results-panel{border-top:1px solid #e6e1ed;padding-top:22px}

.results-panel .row-balls .ball{width:48px;font-size:1.24rem}
@media(max-width:660px){.records-head{flex-wrap:wrap}}
@media(max-width:520px){
  .pick-form{gap:14px 8px;margin-bottom:18px}
  .picker-head h2{font-size:clamp(1.18rem,5vw,1.5rem)}
  .quantity-control label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .stepper{padding:3px}.stepper button{width:35px;height:40px}.stepper input{width:2.25rem}
  .results-panel{padding-top:17px}.results-panel .row-balls .ball{width:clamp(26px,7.5vw,37px);font-size:1rem}
}
