:root{--ink:#17211f;--muted:#6d7774;--line:#e3e9e6;--paper:#f4f7f5;--teal:#0c9a83;--yellow:#efa000;--blue:#0873c9;--red:#dc3856;--gray:#737b8b;--green:#2da44e;font-family:"Pretendard","Noto Sans KR","Malgun Gothic",sans-serif}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper)}a{color:inherit;text-decoration:none}button,input{font:inherit}.eyebrow{margin:0 0 9px;color:#12a98f;font-size:11px;font-weight:900;letter-spacing:.14em}.muted{color:var(--muted)}
.brand-mark{display:grid;width:48px;height:48px;place-items:center;border-radius:15px;color:#fff;background:var(--teal);font-size:23px;font-weight:900;box-shadow:0 14px 34px #0c9a8333}.brand-mark.small{width:34px;height:34px;border-radius:11px;font-size:16px}
.login-page{min-height:100vh;background:radial-gradient(circle at 85% 90%,#153a4918,transparent 30%),#eef4f1}.login-shell{min-height:100vh;display:grid;grid-template-columns:1.15fr .85fr}.login-brand{position:relative;overflow:hidden;padding:clamp(50px,8vw,110px);color:#fff;background:radial-gradient(circle at 85% 75%,#32b79c55,transparent 30%),linear-gradient(145deg,#102e39,#134d51 58%,#0a8d77)}.login-brand .eyebrow{margin-top:70px;color:#8ee1d1}.login-brand h1{margin:0;font-size:clamp(48px,6vw,86px);line-height:1.04;letter-spacing:-.055em}.login-brand>p:last-of-type{max-width:500px;color:#c7dcda;line-height:1.8}.orbit{position:absolute;right:7%;bottom:8%;width:330px;height:170px;border:1px solid #ffffff26;border-radius:50%;transform:rotate(-9deg)}.orbit .ball{position:absolute;box-shadow:0 15px 28px #0004}.orbit .ball:nth-child(1){left:0;top:58px}.orbit .ball:nth-child(2){left:85px;top:5px}.orbit .ball:nth-child(3){right:80px;bottom:2px}.orbit .ball:nth-child(4){right:0;top:43px}
.workshop-symbol{position:absolute;right:8%;bottom:10%;display:grid;width:270px;height:170px;padding:28px;align-content:center;border:1px solid #ffffff2e;border-radius:28px;background:#ffffff0c;transform:rotate(-4deg);box-shadow:0 28px 60px #062d2b38}.workshop-symbol span{font-family:Consolas,monospace;font-size:52px;font-weight:900}.workshop-symbol i{width:100%;height:1px;margin:15px 0;background:#ffffff30}.workshop-symbol b{color:#9de5d7;font-size:11px;letter-spacing:.14em}
.login-card{align-self:center;width:min(440px,calc(100% - 60px));margin:auto;padding:46px;border:1px solid #ffffffbf;border-radius:30px;background:#ffffffd9;box-shadow:0 30px 80px #2441391f}.login-card h2{margin:0;font-size:34px;letter-spacing:-.04em}.login-card form{display:grid;gap:20px;margin-top:30px}.login-card label{display:grid;gap:9px;font-size:13px;font-weight:800}.login-card input{padding:16px;border:1px solid #d7e0dc;border-radius:13px;outline:none}.login-card input:focus{border-color:var(--teal);box-shadow:0 0 0 4px #0c9a831a}.primary{border:0;border-radius:13px;padding:16px 22px;color:#fff;background:linear-gradient(135deg,var(--teal),#087360);font-weight:900;cursor:pointer;box-shadow:0 12px 25px #0c9a8333}.preview-link{display:block;margin-top:24px;text-align:center;color:#087360;font-size:13px;font-weight:900}.alert{padding:12px;border-radius:10px;color:#8b4b00;background:#fff3dd;font-size:13px}
.topbar{position:sticky;top:0;z-index:5;height:72px;display:flex;align-items:center;gap:42px;padding:0 max(28px,calc((100vw - 1260px)/2));border-bottom:1px solid #e1e7e4cc;background:#ffffffe8;backdrop-filter:blur(18px)}.logo{display:flex;align-items:center;gap:11px;font-size:17px;font-weight:900}.topbar nav{display:flex;gap:28px;margin-right:auto}.topbar nav a{position:relative;color:var(--muted);font-size:14px;font-weight:800}.topbar nav .active{color:var(--ink)}.topbar nav .active:after{content:"";position:absolute;left:0;right:0;bottom:-26px;height:3px;background:var(--teal)}.account{padding:9px 13px;border-radius:99px;background:var(--paper);font-size:13px;font-weight:800}.account i{display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:var(--teal)}
.logout-form{margin:0}.logout-button{border:0;padding:8px;color:var(--muted);background:transparent;font-size:12px;font-weight:800;cursor:pointer}.logout-button:hover{color:var(--ink)}
.dashboard{width:min(1260px,calc(100% - 48px));margin:38px auto 70px}.hero{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;min-height:350px;padding:55px 64px;border-radius:28px;color:#fff;background:radial-gradient(circle at 82% 18%,#41cfb540,transparent 30%),linear-gradient(125deg,#112f3b,#125c5d 70%,#0c8d76);box-shadow:0 24px 65px #153a492e}.hero h1{margin:0;font-size:clamp(42px,5vw,66px);line-height:1.08;letter-spacing:-.055em}.hero h1 em{color:#78dfca;font-style:normal}.hero>div>p:last-child{max-width:540px;color:#c5dad7;line-height:1.8}.latest{padding:28px;border:1px solid #ffffff26;border-radius:22px;background:#ffffff17}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.latest .heading span{padding:7px 10px;border-radius:99px;color:#d7f9f1;background:#ffffff1f;font-size:12px}.draw{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:32px 0 20px}.latest small{color:#c5dad7}
.preview-notice{margin-bottom:18px;padding:14px 18px;border:1px solid #f0d6a7;border-radius:14px;color:#7b5000;background:#fff8e9;font-size:13px;font-weight:700}.empty-state{display:grid;min-height:180px;margin-top:24px;place-items:center;border:1px dashed var(--line);border-radius:14px;color:var(--muted);background:var(--paper);font-size:13px;text-align:center}.pairs .empty-state{min-height:110px}
.workshop-hero{display:flex;align-items:center;justify-content:space-between;min-height:240px;padding:42px 50px;border-radius:26px;color:#fff;background:radial-gradient(circle at 82% 20%,#42d0b54f,transparent 27%),linear-gradient(125deg,#112f3b,#125c5d 70%,#0c8d76);box-shadow:0 24px 65px #153a492e}.workshop-hero h1{margin:0;font-size:clamp(36px,5vw,56px);letter-spacing:-.055em}.workshop-hero>div>p:last-child{color:#c5dad7}.workshop-code{font-family:Consolas,monospace;font-size:70px;font-weight:900;color:#8be3d2}.workshop-list{display:grid;margin-top:24px}.workshop-list>div{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:13px;padding:16px 0;border-top:1px solid var(--line)}.workshop-list i{display:grid;width:34px;height:34px;place-items:center;border-radius:10px;color:var(--teal);background:#e8f7f4;font-style:normal;font-size:11px;font-weight:900}.workshop-list span{display:grid;gap:4px}.workshop-list small{color:var(--muted)}.workshop-list em{padding:6px 9px;border-radius:99px;color:#087360;background:#e4f7f2;font-style:normal;font-size:11px;font-weight:900}.workshop-list em.waiting{color:#6d7774;background:var(--paper)}.environment-list{display:grid;gap:12px;margin-top:24px}.environment-list span{display:flex;justify-content:space-between;padding:15px;border-radius:12px;color:var(--muted);background:var(--paper);font-size:13px}.environment-list b{color:var(--ink)}
.workshop-list .project-link{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:13px;padding:16px 0;border-top:1px solid var(--line);transition:transform .2s ease}.workshop-list .project-link:hover{transform:translateX(5px)}.lotto-hero{display:grid;grid-template-columns:1.3fr .7fr;gap:30px;align-items:center;min-height:280px;padding:46px 52px;border-radius:28px;color:#fff;background:radial-gradient(circle at 88% 16%,#f6c45345,transparent 25%),linear-gradient(125deg,#173248,#195b63 70%,#0c8d76);box-shadow:0 24px 65px #153a492e}.lotto-hero h1{margin:0;font-size:clamp(38px,5vw,60px);letter-spacing:-.055em}.lotto-hero>div>p:last-child{max-width:650px;color:#c7dcda;line-height:1.7}.lotto-hero-status{display:grid;gap:7px;padding:25px;border:1px solid #ffffff2b;border-radius:20px;background:#ffffff12}.lotto-hero-status span,.lotto-hero-status small{color:#c7dcda}.lotto-hero-status strong{font-size:22px}.lotto-hero-status .latest-draw-date{color:#8fe2d2}.latest-update-button{margin-top:8px;border:1px solid #ffffff35;border-radius:11px;padding:11px 14px;color:#fff;background:#ffffff14;font-size:12px;font-weight:900;cursor:pointer}.latest-update-button:hover{background:#ffffff22}.latest-update-button:disabled{cursor:wait;opacity:.65}.latest-update-status{min-height:17px;color:#9de6d7;font-size:11px;font-style:normal}.data-badge{padding:8px 11px;border-radius:99px;color:#087360;background:#e4f7f2;font-size:11px;font-weight:900}.draw-cards{display:grid;margin-top:25px}.draw-cards>article{display:grid;grid-template-columns:180px 1fr;align-items:center;gap:25px;padding:20px 8px;border-top:1px solid var(--line)}.draw-meta{display:grid;gap:5px}.draw-meta strong{font-size:20px}.draw-meta time{color:var(--muted);font-size:12px}.draw-numbers{display:flex;flex-wrap:wrap;align-items:center;gap:9px}.draw-numbers .plus{color:#a1aaa7;font-size:20px;font-weight:900}.draw-numbers .bonus{box-shadow:0 0 0 4px #e7ecea}.next-step{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-top:22px;padding:32px 36px;border-radius:20px;color:#fff;background:#173b48}.next-step h2{margin:0}.next-step p:last-child{color:#b9cecf}.next-step>span{padding:11px 15px;border-radius:12px;background:#ffffff14;font-size:12px;font-weight:800}
.summary-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin:22px 0}.summary-cards article{display:grid;gap:7px;padding:27px 30px;border:1px solid var(--line);border-radius:20px;background:#fff}.summary-cards span{color:var(--muted);font-size:12px;font-weight:800}.summary-cards strong{font-size:28px}.summary-cards small{color:#98a19e}.statistics-filter{display:flex;align-items:center;gap:24px;margin:22px 0;padding:21px 24px;border:1px solid var(--line);border-radius:20px;background:#fff}.filter-group{display:flex;align-items:center;gap:12px;min-height:44px}.filter-group>strong{flex:none;white-space:nowrap;font-size:13px}.period-filter{gap:18px}.statistics-filter fieldset{display:flex;gap:6px;margin:0;padding:0;border:0}.statistics-filter fieldset label{display:grid;min-width:48px;height:42px;padding:0 10px;place-items:center;border:1px solid var(--line);border-radius:99px;color:var(--muted);font-size:12px;cursor:pointer}.statistics-filter fieldset input{display:none}.statistics-filter fieldset label:has(input:checked){color:#fff;background:#559d89;border-color:#559d89}.range-fields{margin-left:auto}.range-fields input{width:92px;height:42px;padding:0 10px;border:1px solid var(--line);border-radius:8px}.range-fields button{height:42px;border:0;padding:0 13px;border-radius:8px;color:#087360;background:#e4f7f2;font-size:12px;font-weight:800;cursor:pointer}.bonus-option{cursor:pointer}.check-control{position:relative;display:inline-block;width:24px;height:24px}.check-control input{position:absolute;opacity:0}.check-control i{display:grid;width:24px;height:24px;place-items:center;border:1px solid #dbe3df;border-radius:50%;background:#fff}.check-control input:checked+i{border-color:#559d89;background:#559d89}.check-control input:checked+i:after{content:"✓";color:#fff;font-size:14px;font-style:normal;font-weight:900}.filter-submit{height:42px;padding:0 20px;box-shadow:none}.frequency-highlights{display:grid;grid-template-columns:1fr 1fr;gap:22px}.highlight-balls{display:flex;flex-wrap:wrap;gap:18px;margin-top:25px}.highlight-balls span{display:grid;gap:7px;justify-items:center}.highlight-balls b{font-size:11px}.number-statistics,.pair-statistics{margin-top:22px}.number-stat-actions,.sort-options{display:flex;align-items:center;gap:16px}.sort-options label{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:800;cursor:pointer}.sort-options input{width:19px;height:19px;margin:0;accent-color:#559d89}.sort-options noscript button{border:0;padding:7px 10px;border-radius:8px;color:#087360;background:#e4f7f2}.number-grid{display:grid;grid-template-columns:repeat(10,1fr);gap:0;margin-top:25px}.number-grid>div{display:grid;gap:8px;justify-items:center;padding:17px 4px;border-top:1px solid var(--line)}.number-grid strong{font-size:11px}.pair-stat-table{margin-top:24px}.pair-stat-table>div{display:grid;grid-template-columns:1.3fr .7fr .8fr 1fr;align-items:center;min-height:66px;padding:0 14px;border-top:1px solid var(--line);font-size:13px}.pair-stat-table .pair-stat-head{min-height:42px;border:0;border-radius:10px;color:var(--muted);background:var(--paper);font-size:11px;font-weight:800}.pair-stat-table .ball{width:34px;height:34px;margin-right:5px;font-size:12px}
.ball{display:inline-grid;width:40px;height:40px;place-items:center;border-radius:50%;color:#fff;font-style:normal;font-size:14px;font-weight:900}.yellow{background:var(--yellow)}.blue{background:var(--blue)}.red{background:var(--red)}.gray{background:var(--gray)}.green{background:var(--green)}
#statistics-workspace{transition:opacity .16s ease}#statistics-workspace.is-loading{opacity:.55;pointer-events:none}
.recommendation-panel{margin-top:22px;padding:34px 36px;border-radius:20px;color:#fff;background:radial-gradient(circle at 90% 10%,#2eb69b42,transparent 28%),#173b48}.recommendation-intro{display:flex;align-items:center;justify-content:space-between;gap:28px}.recommendation-intro h2{margin:0;font-size:25px}.recommendation-intro p:last-child{color:#c2d5d5}.recommendation-actions{display:flex;flex:none;gap:9px}.recommendation-intro .primary{flex:none;min-width:150px}.recommendation-intro .primary:disabled{cursor:wait;opacity:.65}.algorithm-button{border:1px solid #ffffff3b;border-radius:13px;padding:0 18px;color:#d8e8e6;background:#ffffff0b;font-size:13px;font-weight:900;cursor:pointer}.algorithm-button:hover,.algorithm-button[aria-expanded=true]{color:#fff;background:#ffffff1b}.recommendation-notice{padding:12px 15px;border:1px solid #ffffff1f;border-radius:11px;color:#bcd0d0;background:#ffffff0b;font-size:12px;line-height:1.6}.algorithm-description{margin:18px 0;padding:24px;border:1px solid #ffffff24;border-radius:16px;background:#0f303b99}.algorithm-description[hidden]{display:none}.algorithm-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.algorithm-heading h3{margin:0;font-size:19px}.algorithm-heading>span{padding:7px 10px;border-radius:99px;color:#9ce7d8;background:#ffffff12;font-size:11px;font-weight:900}.algorithm-flow{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin:20px 0;padding:0;list-style:none}.algorithm-flow li{display:flex;gap:10px;padding:14px;border-radius:12px;background:#ffffff0b}.algorithm-flow li>b{color:#65d0ba;font-size:11px}.algorithm-flow span{display:grid;align-content:start;gap:6px}.algorithm-flow strong{font-size:12px}.algorithm-flow small{color:#bdd0d0;font-size:11px;line-height:1.55}.algorithm-flow code{color:#91ddce}.algorithm-score{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.algorithm-score span{position:relative;overflow:hidden;padding:10px;border-radius:9px;background:#ffffff0d}.algorithm-score i{position:absolute;inset:0 auto 0 0;width:var(--score-width);background:#16a88e2e}.algorithm-score b{position:relative;font-size:11px}.algorithm-caution{margin:16px 0 0;color:#adc4c4;font-size:11px;line-height:1.6}.recommendation-results{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:18px}.recommendation-results article{display:grid;gap:13px;padding:18px 14px;border:1px solid #ffffff1d;border-radius:14px;background:#ffffff0e}.recommendation-results article>strong{color:#8be3d2;font-size:12px}.recommendation-balls{display:flex;flex-wrap:wrap;gap:6px}.recommendation-balls .ball{width:34px;height:34px;font-size:12px}.recommendation-results small{color:#c2d5d5;line-height:1.55}.recommendation-empty{grid-column:1/-1;padding:22px;border:1px dashed #ffffff31;border-radius:13px;color:#c2d5d5;text-align:center}
.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:22px 0}.metrics article,.panel{border:1px solid var(--line);border-radius:20px;background:#fff}.metrics article{display:grid;gap:5px;padding:23px 25px}.metrics span{color:var(--muted);font-size:12px;font-weight:800}.metrics strong{font-size:27px;letter-spacing:-.04em}.metrics small{color:#98a19e}.grid{display:grid;grid-template-columns:1.4fr .8fr;gap:22px}.panel{padding:30px}.panel h2,.generator h2{margin:0;font-size:23px;letter-spacing:-.035em}
.tabs{display:flex;padding:4px;border-radius:10px;background:var(--paper)}.tabs button{border:0;padding:7px 11px;color:var(--muted);background:transparent;font-size:12px}.tabs .selected{border-radius:7px;color:#fff;background:var(--teal)}.frequency-list{display:grid;gap:18px;margin-top:28px}.frequency-list>div{display:grid;grid-template-columns:28px 40px 1fr 45px;align-items:center;gap:12px}.frequency-list>div>span{color:#a3aaa8;font-size:11px;font-weight:800}.frequency-list>div>b{height:7px;overflow:hidden;border-radius:99px;background:#edf1ef}.frequency-list u{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#55cdb5,var(--teal));text-decoration:none}.frequency-list strong{text-align:right;font-size:13px}
.donut{display:grid;width:170px;height:170px;margin:28px auto;place-items:center;border-radius:50%;background:conic-gradient(var(--teal) 0 34%,#337ca0 34% 71%,#685ac7 71%)}.donut:before{content:"";position:absolute;width:116px;height:116px;border-radius:50%;background:#fff}.donut span{z-index:1;font-size:27px;font-weight:900}.donut small{display:block;color:var(--muted);font-size:11px;text-align:center}.balance ul{display:grid;gap:13px;margin:0;padding:0;list-style:none;color:var(--muted);font-size:13px}.balance li{display:flex;align-items:center}.balance li>b{margin-left:auto;color:var(--ink)}.balance li>i{width:8px;height:8px;margin-right:9px;border-radius:50%}.teal{background:var(--teal)}.cyan{background:#337ca0}.purple{background:#685ac7}
.pairs{margin-top:22px}.pairs .heading>a{color:var(--teal);font-size:13px;font-weight:900}.pair-table{margin-top:24px}.pair-table>div{display:grid;grid-template-columns:1.5fr .8fr .8fr 1fr;align-items:center;min-height:67px;padding:0 12px;border-top:1px solid var(--line);font-size:13px}.pair-table .table-head{min-height:42px;color:var(--muted);background:var(--paper);border:0;border-radius:10px;font-size:11px;font-weight:800}.pair-table .ball{width:34px;height:34px;margin-right:6px;font-size:12px}.generator{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-top:22px;padding:32px 36px;border-radius:20px;color:#fff;background:#173b48}.generator small{color:#b9cecf}.generator .primary{min-width:170px}footer{padding:28px;color:#8e9895;text-align:center;font-size:12px}
@media(max-width:1100px){.statistics-filter{flex-wrap:wrap}.range-fields{margin-left:0}.filter-submit{margin-left:auto}.recommendation-results{grid-template-columns:repeat(3,1fr)}.algorithm-flow{grid-template-columns:repeat(3,1fr)}}@media(max-width:900px){.login-shell{grid-template-columns:1fr}.login-brand{min-height:420px}.login-brand .eyebrow{margin-top:35px}.login-card{margin:40px auto}.topbar nav{display:none}.account{margin-left:auto}.hero,.grid{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(2,1fr)}.number-grid{grid-template-columns:repeat(6,1fr)}.recommendation-results{grid-template-columns:repeat(2,1fr)}.algorithm-score{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.login-brand{min-height:350px;padding:36px 28px}.login-brand h1{font-size:44px}.orbit{right:-90px}.login-card{width:calc(100% - 32px);padding:30px 24px}.topbar{padding:0 18px}.dashboard{width:calc(100% - 28px);margin-top:18px}.hero{padding:38px 25px;border-radius:20px}.hero h1{font-size:40px}.metrics{gap:10px}.metrics article{padding:18px}.panel{padding:22px 18px}.tabs{display:none}.pair-table>div{grid-template-columns:1.2fr .7fr .7fr}.pair-table>div span:last-child{display:none}.generator{align-items:stretch;flex-direction:column}.period-filter,.range-fields{align-items:flex-start;flex-direction:column}.statistics-filter fieldset{flex-wrap:wrap}.number-statistics .heading{align-items:flex-start;flex-direction:column}.number-stat-actions{width:100%;justify-content:space-between}.number-grid{grid-template-columns:repeat(5,1fr)}.recommendation-panel{padding:26px 20px}.recommendation-intro{align-items:stretch;flex-direction:column}.recommendation-actions{display:grid;grid-template-columns:1fr 1fr}.algorithm-button{min-height:48px}.recommendation-results,.algorithm-flow,.algorithm-score{grid-template-columns:1fr}.algorithm-heading{align-items:flex-start;flex-direction:column}}
