@font-face{font-family:"Noto Sans KR";src:url("/fonts/NotoSansKR.woff2") format("woff2");font-weight:100 900;font-display:swap}
:root{--paper:#e8e9f5;--ink:#192449;--muted:#586081;--blue:#466cf1;--rule:#cfd3e6;--scale:1;color-scheme:light;font-family:"Noto Sans KR",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button,select{-webkit-tap-highlight-color:transparent}button:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--blue);outline-offset:5px}::selection{background:#bacaff;color:#152251}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-thumb{background:#a9afd0;border-radius:8px}::-webkit-scrollbar-track{background:var(--paper)}[hidden]{display:none!important}.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.room{position:relative;min-height:680px;height:100svh;overflow:hidden;background:var(--paper);isolation:isolate}.header{position:absolute;inset:0 0 auto;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:24px 34px;padding-top:max(24px,env(safe-area-inset-top))}.wordmark{font-size:29px;font-weight:900;line-height:1;margin:0;letter-spacing:-.04em}.header nav{display:flex;align-items:center;gap:24px}.select-wrap{display:flex;align-items:center;position:relative}.select-wrap select{appearance:none;border:1px solid #c9cde3;background:#eef0fa99;padding:12px 43px 12px 21px;border-radius:30px;font-size:14px;min-width:164px;cursor:pointer}.select-wrap svg{position:absolute;right:17px;width:16px;height:16px;pointer-events:none;fill:none;stroke:currentColor;stroke-width:1.3}.text-button{border:0;background:none;font-size:14px;padding:12px 0}.text-button:hover{text-decoration:underline;text-underline-offset:5px}
.stage{position:absolute;inset:0 0 19%;overflow:hidden;z-index:-1}.optical-stage{width:100%;height:100%;object-fit:fill;user-select:none;pointer-events:none}.sculpture{position:absolute;inset:0;will-change:transform}.orb-anchor{position:absolute;transform:translate(-50%,-50%);width:calc(var(--diameter)*var(--scale));height:calc(var(--diameter)*var(--scale));z-index:var(--depth);pointer-events:none}.orb{width:100%;height:100%;position:relative;will-change:transform;transform-origin:50% 50%}.orb img{width:100%;height:100%;object-fit:contain;user-select:none}.orb-number{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:calc(var(--diameter)*var(--scale)*.29);font-weight:850;line-height:1;letter-spacing:-.04em;font-variant-numeric:tabular-nums;transform:rotate(var(--tilt));transition:opacity .18s;user-select:none;color:#13234e;text-shadow:0 1px 1px #ffffff1a}.coral{left:17.8%;top:25.5%;--diameter:302px;--depth:5;--tilt:13deg}.clear-left{left:27.4%;top:44.1%;--diameter:199px;--depth:4;--tilt:8deg}.lavender-left{left:35.6%;top:50.5%;--diameter:203px;--depth:3;--tilt:-7deg}.cobalt{left:55.0%;top:49%;--diameter:473px;--depth:8;--tilt:9deg}.cobalt .orb-number{font-weight:900;font-size:calc(132px*var(--scale))}.clear-right{left:80.0%;top:48.2%;--diameter:240px;--depth:5;--tilt:-12deg}.lavender-right{left:91.7%;top:43.3%;--diameter:195px;--depth:3;--tilt:-15deg}.extra{left:70%;top:25%;--diameter:156px;--depth:2;--tilt:10deg}.special-orb .orb-number:after{content:"";position:absolute;bottom:29%;width:14%;height:2px;background:currentColor;opacity:.5}
.playback{position:absolute;top:66.7%;left:0;right:0;text-align:center;z-index:12}.actions{display:flex;align-items:center;justify-content:center;gap:57px;padding:0 24px}.draw-button{min-width:calc(320px*var(--scale));min-height:calc(90px*var(--scale));border:0;border-radius:60px;padding:18px 35px;background:#1e2b50;color:#f7f7ff;display:inline-flex;align-items:center;justify-content:center;gap:15px;font-size:clamp(16px,calc(24px*var(--scale)),24px);font-weight:650;box-shadow:0 12px 30px #00000014;transition:background .2s,transform .2s}.draw-button:hover{background:#31436f;transform:translateY(-2px)}.draw-button:active{transform:translateY(0)}.draw-button svg{width:25px;height:25px;fill:currentColor}.skip-button{background:none;border:0;display:flex;align-items:center;gap:13px;font-size:clamp(13px,calc(19px*var(--scale)),19px);padding:15px 0;white-space:nowrap}.skip-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;transition:transform .2s}.skip-button:hover svg{transform:translateX(4px)}.phase{margin:0 0 16px;font-size:13px;font-weight:500;min-height:20px;position:absolute;left:0;right:0;bottom:100%;color:#36446b}.phase:empty{visibility:hidden}.error{font-size:13px;margin:14px 24px 0;color:#80364e}
.result{position:absolute;left:4.5%;right:4.5%;top:81%;bottom:0;border-top:1px solid var(--rule);padding:27px 24px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center}.result-main{display:flex;align-items:center;gap:28px}.result h2{font-size:clamp(17px,calc(27px*var(--scale)),27px);line-height:1.3;letter-spacing:-.03em;margin:0;padding-right:29px;border-right:1px solid #bfc6df;white-space:nowrap;font-weight:750}.numbers{display:flex;list-style:none;gap:16px;margin:0;padding:0}.numbers li{width:calc(73px*var(--scale));height:calc(73px*var(--scale));min-width:42px;min-height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:clamp(19px,calc(29px*var(--scale)),29px);font-weight:750;letter-spacing:-.03em;background:#dce0ed;color:#243156;font-variant-numeric:tabular-nums;transition:background .3s,color .3s,transform .3s,opacity .3s}.numbers li:nth-child(1){background:#efb3a4}.numbers li:nth-child(3),.numbers li:nth-child(6),.numbers li:nth-child(7){background:#d2d1ef}.numbers li:nth-child(4){background:#526eec;color:white}.numbers li.pending{opacity:.35;transform:scale(.85)}.numbers li.special{outline:1px solid #a6abd0;outline-offset:3px}.copy-button{border:0;background:none;padding:10px;color:#58688d}.copy-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.4}.copy-button:hover{color:var(--blue)}.result-detail{display:flex;align-items:center;justify-content:center;gap:25px;min-height:26px;margin-top:13px}.result-detail>p{font-size:12px;color:var(--muted);margin:0}.set-navigation{display:flex;align-items:center;gap:10px;font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted)}.set-navigation button{width:30px;height:30px;background:none;border:0;padding:6px}.set-navigation svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.4}.skip-link{position:fixed;top:12px;left:20px;z-index:100;transform:translateY(-200%);background:var(--ink);color:white;padding:12px 20px;border-radius:30px}.skip-link:focus{transform:none}
 dialog{max-width:560px;width:calc(100% - 40px);max-height:80svh;border:0;border-radius:20px;background:#f4f4fd;color:var(--ink);padding:30px;box-shadow:0 25px 85px #1c244137;overflow:auto}dialog::backdrop{background:#18234355;backdrop-filter:blur(8px)}.history-heading{display:flex;align-items:center;justify-content:space-between}.history-heading h2{margin:0;font-size:26px;letter-spacing:-.03em}.icon-button{width:40px;height:40px;display:grid;place-items:center;border:0;background:none}.icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.4}#history-date{font-size:14px;color:var(--muted);margin:22px 0 14px}.history-numbers{display:flex;gap:8px;flex-wrap:wrap}.history-numbers span{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#dde2f6;font-weight:700}.history-numbers .bonus{background:#edc6b9}.history-data{color:var(--muted);font-size:13px;line-height:1.8;margin:18px 0 28px}dialog h3{font-size:17px;margin:0 0 10px}.saved-draws{list-style:none;padding:0;margin:0 0 20px}.saved-draws li{padding:12px 0;border-bottom:1px solid var(--rule);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;font-size:15px;font-weight:600}.saved-draws small{font-weight:400;font-size:11px;color:var(--muted)}.saved-draws .empty{font-size:13px;font-weight:400;color:var(--muted);border:0}.update-data{border:1px solid #b9c3e1;border-radius:30px;background:none;padding:11px 17px;font-size:13px}#update-status{font-size:12px;line-height:1.7;color:var(--muted)}.noscript{position:fixed;bottom:0;background:white;padding:12px;width:100%;margin:0;text-align:center}
@media(min-height:1000px){.result{padding-top:35px}.result-detail{margin-top:16px}}
@media(max-width:760px){.room{min-height:650px}.header{padding:22px}.wordmark{font-size:25px}.header nav{gap:17px}.select-wrap select{font-size:12px;min-width:133px;padding:9px 34px 9px 15px}.select-wrap svg{right:12px}.text-button{font-size:12px}.stage{bottom:27%}.optical-stage{width:150%;margin-left:-25%;object-fit:fill}.coral{left:21%;top:29%;--diameter:220px}.clear-left{left:18%;top:58%;--diameter:139px}.lavender-left{left:74%;top:27%;--diameter:138px}.cobalt{left:53%;top:52%;--diameter:335px}.cobalt .orb-number{font-size:calc(92px*var(--scale))}.clear-right{left:82%;top:58%;--diameter:144px}.lavender-right{left:71%;top:76%;--diameter:129px}.extra{left:30%;top:77%;--diameter:103px}.playback{top:68%}.actions{gap:22px;padding:0 20px}.draw-button{min-height:54px;min-width:168px;padding:14px 20px;gap:11px;font-size:16px}.draw-button svg{width:21px;height:21px}.skip-button{font-size:12px;gap:7px}.skip-button svg{width:16px;height:16px}.phase{font-size:12px;margin-bottom:13px}.result{top:79%;left:22px;right:22px;padding:18px 0 14px;justify-content:center}.result-main{flex-wrap:wrap;justify-content:center;gap:14px;width:100%;position:relative}.result h2{width:100%;border:0;padding:0;text-align:center;font-size:15px}.numbers{gap:10px}.numbers li{width:43px;height:43px;min-width:0;min-height:0;font-size:18px}.copy-button{position:absolute;right:0;top:-5px}.result-detail{margin-top:12px;gap:12px}.result-detail>p{font-size:10px}.set-navigation{gap:2px;font-size:10px}.set-navigation button{width:26px;height:26px}.room.euro .numbers{gap:7px}.room.euro .numbers li{width:38px;height:38px;font-size:17px}.room.euro .result-detail{flex-direction:column;gap:1px}.room.euro .result{top:77%}dialog{padding:23px}}
@media(max-width:359px){.header{padding:18px}.header nav{gap:12px}.numbers{gap:7px}.numbers li{width:38px;height:38px}.actions{gap:15px}.draw-button{min-width:155px}.room.euro .numbers li{width:33px;height:33px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}.orb,.sculpture{will-change:auto}}
/* Mobile composition keeps every live numeral outside the dominant sphere. */
@media(max-width:760px){.coral{left:22%;top:28%;--diameter:198px}.cobalt{top:48%;--diameter:285px}.cobalt .orb-number{font-size:calc(85px*var(--scale))}.clear-left{left:18%;top:72%;--diameter:120px}.clear-right{left:82%;top:71%;--diameter:126px}.lavender-right{left:59%;top:85%;--diameter:106px}.extra{left:34%;top:85%;--diameter:96px}.result-detail>p{font-size:11px}.set-navigation{font-size:11px}.set-navigation button{width:32px;height:32px}.copy-button{min-width:40px;min-height:40px}.draw-button{box-shadow:0 12px 30px #00000014}}
.draw-button{box-shadow:0 12px 30px #00000014}
@media(min-width:761px){.result-main{position:absolute;left:0;right:0;top:calc(28px*var(--scale));height:calc(73px*var(--scale));display:block}.result h2{position:absolute;left:19.1%;top:50%;transform:translateY(-50%);padding-right:0;border:0}.result h2:after{content:"";position:absolute;right:calc(-32px*var(--scale));top:-6px;height:calc(48px*var(--scale));width:1px;background:#bfc6df}.numbers{position:absolute;left:33.8%;top:0}.copy-button{position:absolute;left:calc(33.8% + 438px*var(--scale) + 100px);top:50%;transform:translateY(-50%)}.result-detail{position:absolute;top:calc(100px*var(--scale));margin:0}.room.euro .result h2{left:13%}.room.euro .numbers{left:28%}.room.euro .copy-button{left:auto;right:6%}}
/* Each game retains the optical room while revealing its own number pools. */
.game-format{font-size:12px;font-weight:450;color:var(--muted);margin:10px 0 0;line-height:1.5}
.numbers li{position:relative;overflow:visible}
.numbers li.special{margin-left:13px;outline:none;background:#b74954;color:#fff}
.numbers li.special + li.special{margin-left:0}
.number-kind{position:absolute;top:calc(100% + 7px);left:50%;transform:translateX(-50%);font-size:11px;font-weight:550;letter-spacing:0;color:var(--muted);white-space:nowrap;line-height:1.4}
.room[data-game="megamillions"] .numbers li.special{background:#edbe56;color:#453410}
.room[data-game="euromillions"] .numbers li.special{background:#d9cbf4;color:#3f2e6b}
.room[data-game="megamillions"] .special-orb img{filter:hue-rotate(22deg) saturate(1.15)}
.room[data-game="euromillions"] .special-orb img{filter:hue-rotate(230deg) saturate(.65)}
.room[data-game="powerball"] .special-orb img{filter:hue-rotate(-12deg) saturate(1.2)}
.room[data-game="powerball"] .special-orb .orb-number,.room[data-game="megamillions"] .special-orb .orb-number,.room[data-game="euromillions"] .special-orb .orb-number{font-weight:900}
@media(min-width:761px){.result-detail{top:calc(120px*var(--scale));min-height:32px}.room[data-game="powerball"] .copy-button,.room[data-game="megamillions"] .copy-button{margin-left:13px}.room.euro .copy-button{right:8%}.room.euro .result h2{left:17%}.room.euro .numbers{left:31%}}
@media(max-width:760px){.game-format{font-size:11px;margin-top:9px;max-width:245px;white-space:nowrap}.game-heading{min-width:0}.room.long-title .wordmark{font-size:21px}.header{align-items:flex-start}.header nav{margin-top:1px}.game-format{position:absolute;left:22px;top:57px}.result{top:79%;padding:20px 0 25px;justify-content:flex-start}.result-detail{margin-top:24px;min-height:32px}.numbers li.special{margin-left:7px}.number-kind{font-size:11px;top:calc(100% + 6px)}.room.euro .result{top:79%}.room.euro .numbers{gap:7px}.room.euro .copy-button{right:0}.room.euro .result-detail{flex-direction:row;gap:12px}.set-navigation button{width:36px;height:36px}.room.euro .numbers li{width:37px;height:37px}.room.euro .numbers li.special{margin-left:5px}}
@media(max-width:359px){.room.long-title .wordmark{font-size:18px}.game-format{left:18px;font-size:11px}.room.euro .numbers{gap:5px}.room.euro .numbers li{width:31px;height:31px}.room.euro .result-detail{gap:5px}.result-detail>p{max-width:175px}}
@media(min-width:761px){.room.euro .copy-button{left:calc(31% + 511px*var(--scale) + 122px);right:auto}}
.room[data-game="euromillions"] .extra img{filter:none}
.room[data-game="powerball"] .numbers li:nth-child(1),.room[data-game="megamillions"] .numbers li:nth-child(1),.room[data-game="euromillions"] .numbers li:nth-child(1){background:#dce0ed;color:#243156}
.room[data-game="powerball"] .numbers li:nth-child(2),.room[data-game="megamillions"] .numbers li:nth-child(2),.room[data-game="euromillions"] .numbers li:nth-child(2),.room[data-game="powerball"] .numbers li:nth-child(5),.room[data-game="megamillions"] .numbers li:nth-child(5),.room[data-game="euromillions"] .numbers li:nth-child(5){background:#d2d1ef;color:#243156}
.room[data-game="powerball"] .numbers li:nth-child(3),.room[data-game="megamillions"] .numbers li:nth-child(3),.room[data-game="euromillions"] .numbers li:nth-child(3){background:#526eec;color:white}
.room[data-game="powerball"] .numbers li:nth-child(4),.room[data-game="megamillions"] .numbers li:nth-child(4),.room[data-game="euromillions"] .numbers li:nth-child(4){background:#dce0ed;color:#243156}
