:root{font-family:Pretendard,-apple-system,BlinkMacSystemFont,"Noto Sans KR",sans-serif;color:#202a3d;background:#eef1f6;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}#app{min-height:100vh;max-width:540px;margin:auto;background:#f8f9fc;box-shadow:0 0 35px #25355a0a}header{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 23px;background:#f8f9fc}.brand{font-size:19px;font-weight:850;letter-spacing:-1px}.brand-icon{display:inline-grid;place-items:center;background:#365feb;color:white;width:30px;height:30px;border-radius:10px;margin-right:8px}.brand-accent{color:#4266ed}.header-pill{font-size:11px;color:#77849a;background:#edf0f7;padding:7px 10px;border-radius:20px;font-weight:700}main{padding:10px 20px calc(112px + env(safe-area-inset-bottom));min-height:calc(100vh - 72px)}h1,h2,h3,p{margin:0}h1{font-size:26px;line-height:1.35;letter-spacing:-1.2px}h2{font-size:18px;letter-spacing:-.6px}h3{font-size:15px}.muted{color:#8c97aa;font-size:13px;line-height:1.6}.intro{margin:8px 0 23px}.intro p{margin-top:7px}.hero{background:linear-gradient(125deg,#4067ed,#6988f6);border-radius:23px;padding:23px;color:white;position:relative;overflow:hidden;box-shadow:0 13px 28px #4169ed30}.hero:after{content:'✳';position:absolute;right:-8px;top:4px;font-size:124px;line-height:1;color:#ffffff15}.hero .eyebrow{font-size:12px;color:#dbe3ff;font-weight:700}.hero h2{font-size:22px;line-height:1.45;margin:10px 0}.hero p{font-size:12px;color:#e0e7ff;line-height:1.6}.hero button{margin-top:18px;background:white;color:#4568e6;border:0;border-radius:11px;padding:11px 15px;font-size:12px;font-weight:800}.section{margin-top:27px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.section-head span{font-size:12px;color:#9aa5b5}.card{background:#fff;border:1px solid #eef1f6;border-radius:19px;padding:20px;box-shadow:0 5px 18px #1f325a08}.latest-top{display:flex;justify-content:space-between;align-items:center}.tag{font-size:11px;font-weight:700;color:#4c6eea;background:#edf1ff;border-radius:8px;padding:6px 8px}.empty{text-align:center;padding:26px 10px;color:#8792a5;font-size:13px;line-height:1.8}.empty-icon{font-size:28px;display:block;margin-bottom:8px}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick{border:1px solid #edf0f6;background:#fff;border-radius:17px;text-align:left;padding:17px;color:#27344c}.quick .icon{display:grid;place-items:center;background:#eff3ff;width:36px;height:36px;border-radius:12px;font-size:18px;margin-bottom:13px}.quick strong{display:block;font-size:14px}.quick small{display:block;font-size:11px;color:#98a2b2;margin-top:5px}.disclaimer{margin:22px 3px;color:#9ba5b5;font-size:11px;line-height:1.7}.primary,.secondary,.danger{border:0;border-radius:12px;padding:14px 16px;font-weight:750}.primary{background:#4167ed;color:white}.secondary{background:#edf1ff;color:#4167ed}.danger{background:#fff2f1;color:#d96560}.full{width:100%}.row{display:flex;gap:8px;align-items:center}.row>*{flex:1}.controls{display:flex;align-items:center;justify-content:space-between;gap:12px}.controls select,select,input{border:1px solid #e3e8f1;border-radius:10px;background:white;padding:11px;color:#35415a;min-width:0}label{font-size:13px;font-weight:700}.ball-row{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap}.ball{display:inline-grid;place-items:center;width:37px;height:37px;border-radius:50%;color:white;font-size:13px;font-weight:800;box-shadow:inset 0 -3px #00000012}.yellow{background:#edb83e}.blue{background:#5a9ae6}.red{background:#ed7473}.gray{background:#929eac}.green{background:#70b886}.plus{color:#adb7c5;font-weight:700}.ticket{padding:17px 0;border-bottom:1px solid #f0f2f6}.ticket:last-child{border-bottom:0}.ticket-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px;font-size:12px;color:#8792a5}.mini{padding:7px 10px;font-size:11px;border-radius:8px;border:0;background:#eff3ff;color:#4968db;font-weight:700}.mini.delete{background:#fff1f0;color:#d96c66}.stack{display:grid;gap:12px}.number-grid{display:grid;grid-template-columns:repeat(9,1fr);gap:6px;margin:16px 0}.number-grid button{aspect-ratio:1;border:0;border-radius:50%;background:#f1f3f8;color:#65728b;font-size:12px;font-weight:700;padding:0}.number-grid button.selected{background:#4167ed;color:#fff}.result{margin-top:13px;border-radius:12px;background:#f1f4ff;padding:14px;font-size:13px;color:#425cc3;line-height:1.6}.bar-row{display:grid;grid-template-columns:30px 1fr 35px;gap:10px;align-items:center;font-size:12px;margin:8px 0}.bar{height:8px;background:#edf0f6;border-radius:10px;overflow:hidden}.bar i{display:block;background:#6987f4;height:100%;border-radius:10px}nav{position:fixed;bottom:0;width:min(100%,540px);display:grid;grid-template-columns:repeat(5,1fr);background:#ffffffed;backdrop-filter:blur(16px);border-top:1px solid #edf0f5;padding:9px 8px calc(9px + env(safe-area-inset-bottom));z-index:5}nav button{border:0;background:none;color:#a1aab9;font-size:10px;font-weight:700;padding:3px 0}nav button span{display:block;font-size:21px;line-height:1.3;margin-bottom:3px}nav button.active{color:#4167ed}#toast{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);background:#24314b;color:white;padding:11px 17px;border-radius:12px;font-size:12px;opacity:0;transition:opacity .2s;pointer-events:none;z-index:10;white-space:nowrap}#toast.show{opacity:1}@media(max-width:350px){.ball{width:31px;height:31px;font-size:11px}.number-grid{gap:4px}main{padding-left:15px;padding-right:15px}}
/* Home and generator */
.home-top{display:flex;justify-content:space-between;align-items:flex-start;padding:13px 2px 24px}.overline,.section-kicker{display:block;color:#7181a1;font-size:10px;font-weight:850;letter-spacing:1.35px;margin-bottom:9px}.home-top h1,.generator-intro h1{font-size:27px;line-height:1.35;letter-spacing:-1.5px}.home-top h1 em,.generator-intro em{font-style:normal;color:#4266ed}.home-top p,.generator-intro p{color:#8994a7;font-size:12px;line-height:1.6;margin-top:11px}.sparkle{color:#f2bc54;font-size:27px;padding-top:17px}.home-feature{position:relative;overflow:hidden;border-radius:24px;background:#263c86;color:#fff;min-height:225px;padding:25px 23px;box-shadow:0 15px 30px #263c8627}.home-feature:before{content:'';position:absolute;right:-85px;top:-95px;width:270px;height:270px;border-radius:50%;background:#516ce9}.feature-copy{position:relative;z-index:2}.feature-label{font-size:9px;letter-spacing:1.1px;color:#bcc9ff;font-weight:800}.feature-copy h2{font-size:22px;line-height:1.45;margin-top:13px;letter-spacing:-1px}.feature-copy p{font-size:11px;color:#c4d0f7;margin-top:8px}.feature-copy button{margin-top:20px;border:0;border-radius:11px;background:#fff;color:#2d478f;padding:12px 14px;font-weight:800;font-size:12px}.feature-copy button span{margin-left:14px;font-size:16px}.feature-art{position:absolute;right:10px;top:29px;width:145px;height:160px;transform:rotate(-12deg)}.feature-art span{position:absolute;display:grid;place-items:center;border-radius:50%;font-weight:850;box-shadow:inset -5px -7px 0 #0000000d,0 8px 15px #192b6f35}.feature-art span:nth-child(1){background:#f5c45b;width:61px;height:61px;right:49px;top:6px;color:#74520b;font-size:24px}.feature-art span:nth-child(2){background:#ff857d;width:53px;height:53px;right:0;top:55px;color:#9f3f42;font-size:19px}.feature-art span:nth-child(3){background:#b9d8ff;width:65px;height:65px;right:42px;top:90px;color:#395a9d;font-size:23px}.feature-art i{position:absolute;right:9px;top:6px;font-size:23px;color:#f9e09d}.draw-strip{display:flex;align-items:center;gap:11px;border-radius:14px;background:#edf1ff;padding:14px 15px;margin-top:12px;color:#607198;font-size:11px}.draw-strip b{color:#4167ed;font-size:16px}.draw-strip strong{font-size:12px;color:#314b94}.strip-note{margin-left:auto;color:#9aa5bb}.section-kicker{font-size:9px;color:#95a1b5;margin-bottom:5px}.text-link{border:0;background:transparent;color:#5875d8;font-size:11px;font-weight:800;padding:8px 0}.text-link:disabled{color:#a7b0bd}.latest-top strong{font-size:18px;color:#304c9f}.latest-top strong small{font-size:13px;color:#28364d}.latest-card .ball{width:39px;height:39px}.bonus-caption{font-size:10px;color:#a2abb9;text-align:center;margin-top:9px;padding-left:20px}.bonus-caption span{margin-left:18px}.quick{position:relative}.quick-arrow{position:absolute;right:15px;top:16px;color:#bac4d5;font-size:16px}.generator-intro{padding:9px 2px 20px}.generator-intro h1 span{color:#f2bc54}.generator-card{padding:21px}.step-title{display:flex;align-items:center;gap:10px}.step-title>span{display:grid;place-items:center;background:#edf1ff;color:#4b6ce6;font-size:11px;font-weight:850;width:30px;height:30px;border-radius:10px;flex:none}.step-title h3{font-size:14px}.step-title h3 small{font-size:10px;color:#a4aebb;font-weight:600}.step-title p{font-size:11px;color:#a0aaba;margin-top:4px}.filter-toggle{margin-left:auto;border:0;color:#4b6ce6;background:#eef2ff;font-size:11px;font-weight:800;padding:9px 11px;border-radius:9px;white-space:nowrap}.count-options{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-top:17px}.count-options button{border:1px solid #e9edf5;background:#f8f9fc;color:#8994a6;border-radius:11px;padding:11px 2px;font-weight:850;font-size:15px}.count-options button small{font-size:10px;font-weight:600;margin-left:2px}.count-options button.active{background:#4167ed;border-color:#4167ed;color:#fff;box-shadow:0 5px 12px #4167ed26}.divider{height:1px;background:#eef1f6;margin:20px 0}.filter-summary{display:flex;align-items:center;gap:7px;margin:15px 0 0}.filter-summary span{padding:6px 9px;background:#f4f6fa;color:#7a879c;font-size:11px;border-radius:8px}.filter-summary b{color:#4567df}.filter-summary button{margin-left:auto;border:0;background:none;color:#99a4b5;font-size:11px;text-decoration:underline}.filter-panel{margin-top:15px;border-top:1px solid #eef1f6;padding-top:15px}.filter-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px}.filter-tabs button{border:1px solid #edf0f6;background:#f7f8fb;color:#8c97a9;border-radius:10px;padding:10px;font-size:12px;font-weight:800}.filter-tabs button b{margin-left:4px}.filter-tabs button.active{background:#edf1ff;border-color:#cdd8ff;color:#4167ed}.filter-tabs button.active.excluded{background:#fff1f0;border-color:#ffd8d4;color:#e36d64}.filter-help{font-size:11px;color:#939eb0;margin:13px 0 0}.filter-grid{margin:13px 0 9px}.number-grid button.fixed{background:#4167ed;color:white}.number-grid button.excluded{background:#f48c82;color:white}.filter-legend{display:flex;gap:9px;flex-wrap:wrap;font-size:10px;color:#a3acb9}.filter-legend span:first-child{color:#4167ed}.filter-legend span:nth-child(2){color:#e67f76}.generate-button{position:relative;margin-top:20px;padding:16px 18px;box-shadow:0 8px 18px #4167ed29}.generate-button span{position:absolute;right:18px}.generator-footnote{text-align:center;color:#a3adbb;font-size:10px;margin-top:10px}.generated-section{margin-top:30px}.result-count{color:#5272eb;font-size:14px}.generated-list{display:grid;gap:10px}.combo-card{background:white;border:1px solid #edf0f6;border-radius:18px;padding:16px 15px 14px;box-shadow:0 5px 18px #1f325a08}.combo-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.game-label{font-size:10px;font-weight:850;letter-spacing:1px;color:#7e8daa}.mini.is-saved{background:#f1f5f2;color:#6fa17f}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:3px;background:#f7f9fc;border-radius:11px;margin-top:16px;padding:11px 4px}.stats-grid div{text-align:center;border-right:1px solid #e8edf5}.stats-grid div:last-child{border:0}.stats-grid span,.stats-grid strong{display:block}.stats-grid span{font-size:10px;color:#9ba6b7}.stats-grid strong{font-size:13px;color:#53637b;margin-top:5px}.stats-note{font-size:10px;color:#9ba5b5;line-height:1.7;margin:12px 3px}button:disabled{cursor:default;opacity:.68}button:focus-visible{outline:3px solid #90a8ff;outline-offset:2px}@media(max-width:350px){.home-top h1,.generator-intro h1{font-size:24px}.feature-art{right:-19px;opacity:.8}.latest-card .ball{width:32px;height:32px}.generator-card{padding:16px}.count-options{gap:4px}.count-options button{font-size:13px}.filter-legend{gap:5px}}
/* Personal number archive */
.saved-intro{padding:9px 2px 20px}.saved-intro h1{font-size:27px;line-height:1.35;letter-spacing:-1.5px}.saved-intro h1 em{font-style:normal;color:#4266ed}.saved-intro h1 span{color:#f2bc54}.saved-intro p{color:#8994a7;font-size:12px;line-height:1.6;margin-top:11px}.archive-summary{background:linear-gradient(120deg,#283f8d,#526fe0);border-radius:20px;padding:21px 22px;color:#fff;display:flex;align-items:center;justify-content:space-between;box-shadow:0 12px 24px #344ea529}.archive-summary span{font-size:9px;letter-spacing:1.3px;color:#c4d1ff;font-weight:800}.archive-summary strong{display:block;font-size:28px;margin-top:7px}.archive-summary strong small{font-size:12px;margin-left:4px;font-weight:600}.archive-summary p{font-size:11px;color:#cbd7ff;margin-top:5px}.archive-summary .archive-spark{font-size:44px;color:#f5ce78;margin-right:10px}.manual-card{margin-top:4px}.round-field{display:block;color:#52617a;font-size:12px;margin-top:18px}.round-field span{font-size:10px;color:#a3adbd}.round-field input{display:block;width:100%;margin-top:8px}.field-help{font-size:10px;color:#99a4b6;margin-top:7px;line-height:1.5}.archive-groups{display:grid;gap:15px}.round-group{background:#fff;border:1px solid #eaf0f8;border-radius:20px;overflow:hidden;box-shadow:0 5px 18px #1f325a08}.round-heading{display:flex;align-items:center;justify-content:space-between;padding:18px}.round-heading>div{display:flex;align-items:center;gap:10px}.round-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:#edf1ff;color:#5271e7;font-size:18px}.round-heading strong,.round-heading small{display:block}.round-heading strong{font-size:15px;color:#273a61}.round-heading small{font-size:10px;color:#98a4b7;margin-top:4px}.round-status{border-radius:8px;padding:7px 9px;font-size:10px;font-weight:800;background:#f1f3f7;color:#8c98a9}.round-status.ready{background:#edf1ff;color:#4c6eea}.round-status.pending{background:#fff6e8;color:#bf883d}.winning-line{background:#f7f9fd;padding:11px 15px;display:flex;align-items:center;gap:10px}.winning-line>span{font-size:10px;color:#8b98ab;white-space:nowrap;font-weight:700}.winning-line .ball-row{gap:4px;justify-content:flex-start}.winning-line .ball{width:25px;height:25px;font-size:10px}.round-entries{padding:0 16px}.archive-entry{padding:16px 0;border-top:1px solid #eff2f7}.archive-entry:first-child{border-top:0}.archive-entry-head{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#9ba6b6;margin-bottom:14px}.entry-result{color:#929eaf;font-weight:700}.prize-label{color:#e18347;font-weight:850}.archive-actions{display:flex;gap:7px;margin-top:15px}.archive-actions button{border:0;background:#f4f6fa;color:#70809a;font-weight:750;font-size:11px;border-radius:9px;padding:9px 10px}.archive-actions button:nth-child(2){color:#4e6bca;background:#f0f3ff}.archive-actions .archive-delete{margin-left:auto;background:#fff2f1;color:#cf7770}.round-editor{margin-top:12px;padding:13px;background:#f5f7fc;border-radius:12px}.round-editor label{font-size:11px;color:#5a6a85}.round-editor>div{display:flex;gap:6px;margin-top:7px}.round-editor input{flex:1;width:1px;padding:9px;font-size:12px}.round-editor button{border:0;background:#4167ed;color:#fff;border-radius:9px;padding:0 12px;font-size:11px;font-weight:800}.round-editor button:last-child{background:#e9edf5;color:#748199}.round-editor p{font-size:10px;color:#96a2b3;margin-top:7px}.history-panel{margin-top:13px;border:1px solid #e6ebf6;border-radius:13px;background:#f8faff;padding:14px}.history-title{display:flex;justify-content:space-between;align-items:center}.history-title strong,.history-title span{display:block}.history-title strong{font-size:13px;color:#364c79}.history-title span{font-size:9px;letter-spacing:1px;color:#a0adbf;margin-bottom:4px}.history-title button{border:0;background:none;font-size:10px;color:#8f9caf}.history-panel>p{font-size:10px;line-height:1.6;color:#929fb2;margin-top:8px}.history-counts{display:grid;grid-template-columns:repeat(5,1fr);gap:3px;margin-top:12px}.history-counts span{text-align:center;background:#fff;border-radius:8px;color:#8996aa;padding:8px 0;font-size:10px}.history-counts b{display:block;color:#4464ce;font-size:14px;margin-top:4px}.history-list{max-height:340px;overflow:auto;margin-top:10px}.history-item{display:grid;grid-template-columns:48px 1fr 33px;align-items:center;gap:5px;border-bottom:1px solid #e9eef8;padding:10px 0}.history-item strong,.history-item small{display:block}.history-item strong{font-size:11px;color:#556785}.history-item small{font-size:8px;color:#a2adbe;margin-top:3px}.history-item>span{font-size:10px;color:#df8a4e;text-align:right;font-weight:800}.history-balls{gap:3px;flex-wrap:nowrap}.history-balls span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:9px;font-weight:800;flex:none}.history-balls .matched{background:#5578e6;color:white}.history-balls .bonus-match{border:2px solid #df9b59;color:#b77531;background:#fff}.history-balls .unmatched{background:#e9edf4;color:#a5afbf}.history-panel .history-key{font-size:9px;margin-top:9px}.history-empty{text-align:center;font-size:11px;color:#98a5b7;padding:20px 0 8px}@media(max-width:350px){.saved-intro h1{font-size:24px}.round-entries{padding:0 12px}.archive-actions button{padding:8px;font-size:10px}.history-panel{padding:10px}.history-item{grid-template-columns:42px 1fr 29px;gap:2px}.history-balls{gap:2px}.history-balls span{width:21px;height:21px;font-size:9px}.winning-line .ball{width:22px;height:22px;font-size:9px}}
/* Analysis center */
.insight-intro{padding:9px 2px 20px}.insight-intro h1{font-size:27px;line-height:1.35;letter-spacing:-1.5px}.insight-intro h1 em{font-style:normal;color:#4266ed}.insight-intro h1 span{color:#f2bc54}.insight-intro p{color:#8994a7;font-size:12px;line-height:1.6;margin-top:11px}.insight-overview{position:relative;overflow:hidden;background:linear-gradient(125deg,#263c86,#536fe0);border-radius:22px;min-height:157px;color:#fff;padding:23px;box-shadow:0 12px 25px #304c9f28}.insight-overview>div:first-child{position:relative;z-index:1}.insight-overview>div>span{color:#c0ceff;font-size:9px;font-weight:850;letter-spacing:1.1px}.insight-overview h2{font-size:20px;line-height:1.4;margin-top:10px}.insight-overview p{font-size:11px;color:#cfdaff;margin-top:9px}.insight-orbit{position:absolute;right:17px;top:10px;width:140px;height:140px;border:1px solid #c2d3ff60;border-radius:50%;transform:rotate(-25deg)}.insight-orbit:before{content:'';position:absolute;inset:19px;border:1px solid #c2d3ff45;border-radius:50%}.insight-orbit b,.insight-orbit span,.insight-orbit i{position:absolute;display:grid;place-items:center;border-radius:50%;font-style:normal;transform:rotate(25deg)}.insight-orbit b{right:21px;top:32px;background:#f5c45b;width:53px;height:53px;color:#806012;font-size:19px}.insight-orbit span{left:12px;bottom:15px;background:#bcd7ff;width:36px;height:36px;color:#4668a4!important;font-size:15px!important;letter-spacing:0!important}.insight-orbit i{right:8px;bottom:10px;color:#e5d69c;font-size:20px}.insight-period{margin-top:26px}.period-scroll{display:flex;gap:7px;overflow-x:auto;padding:2px 1px 5px;scrollbar-width:none}.period-scroll::-webkit-scrollbar{display:none}.period-scroll button{flex:none;border:1px solid #e8ecf4;background:white;color:#8390a3;border-radius:11px;padding:10px 13px;font-size:11px;font-weight:800}.period-scroll button.active{background:#4167ed;border-color:#4167ed;color:#fff;box-shadow:0 4px 10px #4167ed20}.insight-meta{font-size:10px;color:#9aa5b6;margin:10px 2px 0;line-height:1.6}.insight-card{padding:19px}.insight-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.insight-card-head h3{font-size:13px;color:#34425b}.insight-card-head p{font-size:10px;color:#9ba7b8;margin-top:6px;line-height:1.5}.insight-tag{background:#eef2ff;color:#5470d8;font-size:10px;font-weight:800;padding:7px 8px;border-radius:8px;white-space:nowrap}.frequency-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:5px;margin-top:17px}.frequency-cell{aspect-ratio:.86;min-width:0;background:#f4f6fb;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.frequency-cell span{color:#8795aa;font-size:10px;font-weight:750}.frequency-cell strong{color:#556884;font-size:12px}.frequency-cell strong small{font-size:8px;font-weight:600}.frequency-cell.top{background:#e7edff}.frequency-cell.top span,.frequency-cell.top strong{color:#4167df}.frequency-cell.zero{background:#fafbfc}.frequency-cell.zero span,.frequency-cell.zero strong{color:#c0c7d1}.frequency-caption{display:flex;justify-content:space-between;gap:7px;color:#a4aebe;font-size:9px;margin:11px 0}.frequency-caption i{display:inline-block;width:7px;height:7px;background:#6884ee;border-radius:50%;margin-right:4px}.top-numbers{border-top:1px solid #eff2f7;padding-top:13px;display:flex;justify-content:space-between;align-items:center;gap:8px}.top-numbers span{font-size:10px;color:#9ba6b5;white-space:nowrap}.top-numbers strong{font-size:11px;color:#4966ce;text-align:right;line-height:1.6}.top-numbers small{font-size:10px;color:#9aa7bb}.missing-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:12px;background:#fff3e6;color:#e7aa62;font-size:23px}.missing-list{display:flex;gap:7px;flex-wrap:wrap;margin-top:17px}.missing-list span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fff3e6;color:#b78440;font-size:12px;font-weight:800}.missing-empty{text-align:center;padding:24px 5px 7px}.missing-empty span{display:grid;place-items:center;width:35px;height:35px;margin:0 auto 10px;border-radius:50%;background:#edf7f2;color:#6eb28b;font-weight:800}.missing-empty strong,.missing-empty small{display:block}.missing-empty strong{font-size:12px;color:#5a6b83}.missing-empty small{font-size:10px;color:#a1acba;margin-top:6px}.range-stack{display:flex;height:12px;border-radius:20px;overflow:hidden;background:#f2f4f8;margin:20px 0 14px}.range-0{background:#efbe55}.range-1{background:#6699e8}.range-2{background:#e98483}.range-3{background:#9ca9b9}.range-4{background:#79bc91}.range-list{display:grid;gap:11px}.range-row{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#6d7b91}.range-row span{display:flex;align-items:center;gap:7px}.range-row i{width:9px;height:9px;border-radius:3px}.range-row strong{color:#52627b;font-size:11px}.range-row small{display:inline-block;width:48px;text-align:right;color:#9ca8b8;font-size:10px}.range-note{border-top:1px solid #f0f2f6;margin-top:15px;padding-top:12px;color:#a0abba;font-size:10px;line-height:1.5}.odd-card{position:relative;display:flex;gap:26px;align-items:center}.odd-card div span,.odd-card div strong{display:block}.odd-card div span{font-size:11px;color:#99a5b7}.odd-card div strong{font-size:21px;color:#455c8f;margin-top:6px}.odd-card div strong small{font-size:11px;color:#99a5b7;margin-left:2px}.odd-card .odd-divider{width:1px;height:38px;background:#edf0f5}.odd-symbol{margin-left:auto;color:#cfdbff;font-size:36px}.insight-empty{margin-top:25px}@media(max-width:350px){.insight-intro h1{font-size:24px}.insight-orbit{right:-10px;opacity:.8}.insight-card{padding:14px}.frequency-grid{gap:3px}.frequency-cell span{font-size:9px}.frequency-cell strong{font-size:10px}.period-scroll button{padding:9px 11px}}
/* QR ticket checker */
.qr-entry{position:relative;display:flex;align-items:center;justify-content:space-between;overflow:hidden;background:linear-gradient(125deg,#273d87,#536fe3);border-radius:22px;padding:22px;color:white;box-shadow:0 12px 25px #304c9f28}.qr-entry>div:first-child{position:relative;z-index:1}.qr-entry span{font-size:9px;color:#cad5ff;font-weight:800;letter-spacing:1.1px}.qr-entry h2{font-size:20px;line-height:1.4;margin-top:10px}.qr-entry p{font-size:11px;color:#d2ddff;margin-top:7px}.qr-entry button{background:#fff;color:#3d5bc1;border:0;border-radius:10px;font-size:11px;font-weight:800;padding:11px 13px;margin-top:16px}.qr-entry button b{margin-left:12px}.qr-entry-icon{display:grid;place-items:center;width:95px;height:95px;border-radius:30px;background:#ffffff1c;color:#fff;font-size:65px;transform:rotate(9deg);margin-right:4px}.qr-overlay{position:fixed;inset:0;z-index:30;background:#14203b9c;display:flex;justify-content:center;align-items:flex-end}.qr-sheet{position:relative;background:#f8f9fc;width:min(100%,540px);max-height:min(94dvh,950px);overflow:auto;border-radius:24px 24px 0 0;padding:21px 20px calc(20px + env(safe-area-inset-bottom));box-shadow:0 -10px 45px #14203b2d}.qr-top{display:flex;align-items:center;justify-content:space-between}.qr-top h2{font-size:21px;letter-spacing:-1px}.qr-close{border:0;background:#ebeff7;color:#70809a;font-size:24px;line-height:1;width:37px;height:37px;border-radius:12px}.qr-sub{font-size:12px;color:#8997aa;margin:9px 0 17px}.qr-frame{position:relative;overflow:hidden;aspect-ratio:4/3;max-height:330px;background:#263759;border-radius:18px}.qr-frame video{width:100%;height:100%;object-fit:cover;display:none}.qr-camera-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff}.qr-camera-empty span{display:grid;place-items:center;background:#ffffff19;border:1px solid #ffffff25;width:76px;height:76px;border-radius:24px;color:#dfe7ff;font-size:51px;margin-bottom:15px}.qr-camera-empty strong{font-size:13px}.qr-camera-empty small{font-size:10px;color:#bac7df;margin-top:7px}.qr-overlay-guide{position:absolute;inset:0;display:none;align-items:center;justify-content:center;pointer-events:none}.qr-overlay-guide i{width:min(58%,220px);aspect-ratio:1;border:3px solid #fff;border-radius:18px;box-shadow:0 0 0 999px #101c3970}.qr-overlay-guide span{position:absolute;bottom:15px;color:white;font-size:11px;font-weight:700}.qr-frame.camera-on video,.qr-frame.camera-on .qr-overlay-guide{display:flex}.qr-frame.camera-on .qr-camera-empty{display:none}.qr-camera-actions{margin-top:12px}.qr-camera-actions [hidden],.qr-paste[hidden]{display:none}.qr-status{font-size:11px;line-height:1.6;color:#687d9e;margin-top:10px;min-height:16px}.qr-alt{margin-top:9px;border:1px solid #e9edf4;border-radius:13px;background:white}.qr-link{width:100%;text-align:left;border:0;background:none;padding:14px;color:#8b97a9;font-size:11px}.qr-link b{color:#5671cc}.qr-paste{padding:0 13px 13px}.qr-paste label{font-size:11px;color:#596b86}.qr-paste textarea{display:block;resize:vertical;width:100%;min-height:74px;margin:8px 0;border:1px solid #e2e8f2;border-radius:10px;padding:10px;font:inherit;font-size:12px;color:#34415a}.qr-result{margin-top:20px;background:#fff;border:1px solid #eaf0f8;border-radius:18px;overflow:hidden}.qr-result-head{display:flex;justify-content:space-between;align-items:center;padding:17px}.qr-result-head h3{font-size:18px;color:#304b91}.qr-result-head h3 small{font-size:11px;color:#a0adbe;font-weight:600}.qr-win{display:flex;gap:8px;align-items:center;background:#f6f8fc;padding:12px 14px}.qr-win>span{font-size:10px;color:#8997ab;white-space:nowrap}.qr-win .ball-row{gap:4px;justify-content:flex-start}.qr-win .ball{width:26px;height:26px;font-size:10px}.qr-games{padding:0 16px}.qr-game{padding:15px 0;border-bottom:1px solid #eff2f7}.qr-game-head{display:flex;justify-content:space-between;font-size:11px;color:#8e9caf;margin-bottom:13px}.qr-game-head strong{color:#70809d;letter-spacing:.6px}.qr-game-head b{color:#4a6bd7}.qr-check-note{font-size:10px;color:#929fb0;line-height:1.6;margin:14px 16px}.qr-result>button{width:calc(100% - 32px);margin:0 16px 16px}.qr-disclaimer{color:#99a5b7;font-size:10px;line-height:1.7;margin:16px 2px 0}@media(max-width:350px){.qr-sheet{padding-left:15px;padding-right:15px}.qr-win .ball{width:22px;height:22px;font-size:9px}.qr-entry-icon{width:75px;height:75px;font-size:50px}}
/* Winning store directory */
.store-intro{padding:9px 2px 20px}.store-intro h1{font-size:27px;line-height:1.35;letter-spacing:-1.5px}.store-intro h1 em{font-style:normal;color:#4266ed}.store-intro h1 span{color:#f2bc54}.store-intro p{color:#8994a7;font-size:12px;line-height:1.6;margin-top:11px}.store-hero{display:flex;align-items:center;justify-content:space-between;overflow:hidden;border-radius:22px;background:linear-gradient(125deg,#283f8b,#526ee0);padding:23px;color:white;box-shadow:0 12px 25px #304c9f28}.store-hero>div:first-child{position:relative;z-index:1}.store-hero span{font-size:9px;letter-spacing:1.1px;color:#c6d2ff;font-weight:850}.store-hero h2{font-size:20px;line-height:1.4;margin-top:11px}.store-hero p{font-size:10px;color:#d0dcff;margin-top:9px}.store-hero-icon{display:grid;place-items:center;width:86px;height:86px;border:1px solid #ffffff38;background:#ffffff15;border-radius:29px;color:#f5d17a;font-size:58px;transform:rotate(10deg)}.store-controls{display:grid;grid-template-columns:45px minmax(0,1fr) 45px;gap:8px}.store-controls button{background:white;border:1px solid #e7ecf5;color:#536ed2;border-radius:12px;font-size:23px;line-height:1}.store-controls button:disabled{color:#ccd3df}.store-controls select{width:100%;font-size:13px;font-weight:750;padding:13px;border-radius:12px}.store-current{font-size:10px;color:#9da8b7;margin:10px 3px 0}.store-list-head{display:flex;justify-content:space-between;color:#99a5b5;font-size:11px;margin:0 3px 11px}.store-list-head b{color:#4c6eea}.store-list{display:grid;gap:9px}.store-card{background:#fff;border:1px solid #edf0f6;border-radius:17px;padding:16px 18px;box-shadow:0 5px 18px #1f325a08}.store-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.store-number{font-size:10px;font-weight:850;letter-spacing:.7px;color:#a5b1c2}.store-method{background:#eef2ff;color:#5470d8;padding:6px 9px;border-radius:8px;font-size:10px;font-weight:800}.store-card h3{font-size:15px;color:#34435d;line-height:1.4;overflow-wrap:anywhere}.store-card p{font-size:11px;line-height:1.7;color:#8c99ac;margin-top:8px;overflow-wrap:anywhere}.store-card p span{color:#6781e2}.store-region{display:inline-block;font-size:10px;font-weight:700;color:#98a5b7;margin-top:10px}.store-notice{background:#fff8ec;color:#aa7b3d;border-radius:11px;font-size:11px;line-height:1.6;padding:11px 12px;margin-bottom:10px}.store-notice button{border:0;background:none;color:#a7712d;font-size:11px;font-weight:800;text-decoration:underline}.quick[data-go="stores"]{grid-column:1 / -1}.quick[data-go="stores"] .icon{display:inline-grid;margin:0 12px 0 0;vertical-align:middle}.quick[data-go="stores"] strong,.quick[data-go="stores"] small{display:inline-block;vertical-align:middle}.quick[data-go="stores"] small{margin:0 0 0 10px}@media(max-width:350px){.store-intro h1{font-size:24px}.store-hero-icon{width:68px;height:68px;font-size:48px}.quick[data-go="stores"] small{display:block;margin:7px 0 0 48px}}
/* Winning store location */
.store-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}.store-card-bottom .store-region{margin:0}.store-map-button{border:0;border-radius:10px;padding:9px 11px;background:#edf1ff;color:#4a68d1;font-size:11px;font-weight:800;white-space:nowrap}.store-map-button span{margin-left:5px}.map-page{padding-top:4px}.map-back{display:inline-flex;align-items:center;gap:8px;border:0;background:none;padding:5px 0;color:#71819a;font-size:23px;line-height:1}.map-back span{font-size:11px;font-weight:750}.map-intro{margin:19px 2px 18px}.map-intro h1{font-size:26px;letter-spacing:-1px}.map-intro p{font-size:12px;color:#93a0b2;line-height:1.6;margin-top:7px}.map-store-card{background:linear-gradient(125deg,#283f8b,#526ee0);border-radius:22px;padding:21px;color:#fff;box-shadow:0 12px 25px #304c9f28}.map-store-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.map-pin-icon{display:grid;place-items:center;background:#ffffff20;color:#ffe4a4;border-radius:12px;width:37px;height:37px;font-size:24px}.map-store-card .store-method{background:#ffffff25;color:#f4f6ff}.map-store-card h2{font-size:19px;line-height:1.4;overflow-wrap:anywhere}.map-store-card p{font-size:12px;color:#dce5ff;line-height:1.7;margin-top:7px;overflow-wrap:anywhere}.map-store-card p span{color:#f5d17a}.map-store-card small{display:block;font-size:10px;color:#c5d2ff;margin-top:13px}.map-frame{position:relative;overflow:hidden;border:1px solid #e5ebf4;border-radius:18px;background:#eef2f7;min-height:280px}.map-frame iframe{display:block;width:100%;height:320px;border:0}.map-credit{position:absolute;right:5px;bottom:5px;z-index:1;background:#ffffffeb;border-radius:4px;padding:4px 6px;color:#6b7890;font-size:9px}.map-credit a{color:#4b68be;text-decoration:none}.map-help{font-size:10px;line-height:1.7;color:#97a3b4;margin:10px 3px 0}.map-external{display:flex;justify-content:center;align-items:center;gap:12px;text-decoration:none;background:#edf1ff;color:#4969d6;border-radius:12px;padding:14px;margin-top:13px;font-size:12px;font-weight:800}.map-external span{font-size:16px}.map-unavailable{text-align:center;background:#fff;border:1px solid #edf0f6;border-radius:18px;padding:28px 15px}.map-unavailable span{display:grid;place-items:center;width:45px;height:45px;margin:0 auto 13px;background:#eef2ff;border-radius:15px;color:#7189d9;font-size:26px}.map-unavailable strong{display:block;font-size:13px;color:#52627c}.map-unavailable p{font-size:11px;color:#9aa6b5;line-height:1.6;margin-top:8px}@media(max-width:350px){.map-frame iframe{height:280px}.map-store-card{padding:18px}}
.map-credit{position:static;background:#fff;border-radius:0;padding:6px 10px;text-align:right}
.near-intro{padding:10px 2px 18px}.near-intro h1 span{color:#f2bc54}.near-intro p{font-size:12px;color:#8c98aa;margin-top:8px}.near-panel{background:#fff;border:1px solid #edf0f6;border-radius:20px;padding:15px;box-shadow:0 5px 18px #1f325a08}.near-title,.near-list-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.near-title strong,.near-title small{display:block}.near-title strong{font-size:14px}.near-title small{font-size:11px;color:#9aa6b8;margin-top:5px}.near-locate{border:0;border-radius:10px;padding:10px 11px;background:#4167ed;color:white;font-size:11px;font-weight:800;white-space:nowrap}#near-map{height:380px;margin-top:14px;border-radius:14px;overflow:hidden;background:#eaf0f3;z-index:0}.near-map-loading{padding:20px;color:#8190a2;font-size:12px}.near-legend{display:flex;gap:12px;flex-wrap:wrap;padding-top:13px;color:#6f7d92;font-size:10px;font-weight:700}.flag{font-style:normal;font-size:15px}.flag-win{color:#f3aa36}.flag-near{color:#5074ed}.flag-me{color:#43a995}.near-privacy{font-size:10px;line-height:1.6;color:#99a5b5;margin-top:10px}.near-list-head{margin-bottom:12px}.near-status{color:#8491a4;font-size:11px;line-height:1.6;margin-bottom:10px}.near-list{display:grid;gap:8px}.near-item{width:100%;display:flex;align-items:center;gap:10px;text-align:left;background:white;border:1px solid #edf0f6;border-radius:14px;padding:13px;color:#26344a}.near-item-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#fff3dd;color:#e99d22;font-size:19px;flex:none}.near-item-icon.near{background:#edf1ff;color:#4167ed}.near-item>span:nth-child(2){flex:1;min-width:0}.near-item strong,.near-item small{display:block}.near-item strong{font-size:13px}.near-item small{font-size:11px;color:#9aa5b5;line-height:1.5;margin-top:4px}.near-item b{font-size:11px;color:#6c80b4;white-space:nowrap}.near-map-icon{background:none;border:0}.map-flag{display:grid;place-items:center;width:30px;height:30px;border:2px solid white;border-radius:50% 50% 50% 5px;transform:rotate(-45deg);background:#edae3e;color:white;font-size:16px;box-shadow:0 2px 6px #0004}.map-flag.near{background:#4d72ec}.map-flag.me{background:#40a692}.leaflet-popup-content p{margin:6px 0 0;font-size:11px;color:#7e8b9d}
.near-detail[hidden]{display:none}.near-detail{margin-top:13px;padding:17px;border:1px solid #e8edf8;border-radius:16px;background:#f8faff}.near-detail-top{display:flex;align-items:center;justify-content:space-between}.near-detail-label{color:#7790c9;font-size:9px;letter-spacing:1px;font-weight:850}.near-detail-close{border:0;background:transparent;color:#94a1b5;font-size:22px;line-height:1;padding:0 3px}.near-detail-heading{display:flex;align-items:center;gap:11px;margin-top:10px}.near-detail-symbol{display:grid;place-items:center;flex:none;width:42px;height:42px;background:#e9efff;border-radius:14px;color:#4f70e3;font-size:23px}.near-detail-heading h3{font-size:15px;color:#273651;line-height:1.4;overflow-wrap:anywhere}.near-detail-heading p{margin-top:4px;color:#8190a6;font-size:11px}.near-detail-address{margin-top:14px;border-top:1px solid #e7ecf5;padding-top:13px;display:flex;gap:12px;font-size:11px;line-height:1.6}.near-detail-address span{color:#9ba7b8;flex:none}.near-detail-address strong{color:#52627b;overflow-wrap:anywhere}.near-detail-note,.near-route-help{display:block;color:#99a5b5;font-size:10px;line-height:1.6;margin-top:10px}.near-directions{display:flex;justify-content:center;align-items:center;gap:10px;background:#4167ed;color:white;text-decoration:none;border-radius:11px;padding:13px;margin-top:14px;font-size:12px;font-weight:800}.near-directions span{font-size:15px}.near-route-help{text-align:center;margin-top:7px}

/* Keep a selected store's map and details together in a single mobile sheet. */
.near-detail:not([hidden]){position:fixed;inset:0;z-index:1100;display:flex;align-items:flex-end;justify-content:center;margin:0;padding:env(safe-area-inset-top) 0 0;border:0;border-radius:0;background:#14203b99}
.near-detail-sheet{display:flex;flex-direction:column;width:min(100%,520px);max-height:min(92dvh,760px);border-radius:24px 24px 0 0;background:#fff;box-shadow:0 -12px 40px #13234230;overflow:hidden}
.near-detail-top{flex:none;padding:16px 20px 12px}.near-detail-top strong{display:block;margin-top:3px;color:#26344a;font-size:15px}.near-detail-close{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#f2f5fa;font-size:24px}
.near-detail-scroll{overflow:auto;overscroll-behavior:contain;padding:0 16px calc(16px + env(safe-area-inset-bottom))}.near-detail-map{height:clamp(145px,25dvh,220px);border-radius:15px;overflow:hidden;background:#eaf0f3;z-index:0}.near-detail-info{padding:4px 3px 0}.near-detail-heading{margin-top:12px}.near-detail-address{margin-top:10px;padding-top:10px}.near-detail-note{margin-top:8px}.near-directions{margin-top:10px}.near-detail-map .leaflet-control-attribution{font-size:9px}button.near-directions{width:100%;border:0;cursor:pointer}button.near-directions:disabled{opacity:.6;cursor:wait}

