/* KEF lottery: graphite surfaces, lime selections and a separate ticket preview. */
body.lottery-mode{background:#0e1214}
.lottery-mode .layout{display:block;max-width:1240px;margin-inline:auto;padding:0 24px 36px}
.lottery-mode :is(#side,#side-cards,#dock,.site-search,.slip-bar){display:none!important}
.lottery-mode .page{gap:0}.lottery-mode .main{min-width:0}
.lottery-page{--text:#edf2ec;--muted:#a2afa7;--line:#333e3d;--line-strong:#485744;--panel:#192124;--panel-raised:#242e30;--field:#11191c;--brand:#c8f031;--on-brand:#182005;--brand-hover:#dafb6b;--accent:#c8f031;--accent-soft:#29371f;--accent-line:#6a843f;--control:#596b51;--cell:#263134;--cell-hover:#34412f;color:var(--text);font-size:calc(14px * var(--fs));color-scheme:dark;padding:26px 0 0;min-width:0}
.lottery-page *{box-sizing:border-box}.lottery-page [hidden]{display:none!important}
.lottery-page :is(h1,h2,h3){color:var(--text);margin:0;font-family:var(--font-head)}
.lottery-page h1{font-size:calc(32px * var(--fs));line-height:1.15;letter-spacing:-1px}.lottery-page h2{font-size:calc(20px * var(--fs));line-height:1.3;letter-spacing:-.4px}.lottery-page h3{font-size:calc(16px * var(--fs));line-height:1.4}
.lottery-page .lr-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}
.lottery-page .lr-eyebrow{margin:0 0 9px;color:#b0ce7c;font-size:calc(10px * var(--fs));font-weight:750;letter-spacing:1.5px}
.lottery-page .lr-intro{margin:10px 0 0;color:var(--muted);font-size:calc(13px * var(--fs));line-height:1.65}
.lottery-page .lr-virtual{display:flex;align-items:center;gap:9px;flex-shrink:0;border:1px solid #374630;border-radius:6px;padding:9px 12px;background:#1b251c;color:#bfcea9;font-size:calc(11px * var(--fs))}.lottery-page .lr-virtual>span{color:var(--brand);font-size:8px}
.lottery-page .lr-button{appearance:none;font:inherit;line-height:1.3;cursor:pointer;border:1px solid var(--line-strong);border-radius:8px;min-height:42px;padding:10px 14px;background:var(--panel-raised);color:var(--text);transition:background .15s,border-color .15s}
.lottery-page .lr-button:hover:not(:disabled){background:var(--cell-hover);border-color:#91ac55}.lottery-page .lr-button:disabled{cursor:default;opacity:.45}
.lottery-page :is(button,input,select,a):focus-visible{outline:3px solid var(--brand);outline-offset:3px}
.lottery-page .lr-tabs{display:flex;gap:5px;border:1px solid var(--line);border-bottom:2px solid #708c37;border-radius:10px;background:#181e20;padding:5px;margin-bottom:22px;overflow-x:auto}
.lottery-page .lr-tab{display:flex;gap:8px;align-items:center;justify-content:center;padding:10px 24px;white-space:nowrap;background:none;border-color:transparent;color:var(--muted);font-size:calc(12px * var(--fs));font-weight:700;min-height:38px;border-radius:6px}
.lottery-page .lr-tab.active,.lottery-page .lr-tab.active:hover{background:var(--brand);border-color:var(--brand);color:var(--on-brand)}
.lottery-page .lr-tab-count{border-radius:4px;padding:2px 5px;font-size:10px;background:#354322;color:#e5f6c4}.lottery-page .lr-tab.active .lr-tab-count{background:#182005;color:#c8f031}
.lottery-page .lr-notice{padding:14px 16px;margin:0 0 20px;border:1px solid var(--accent-line);border-radius:9px;background:var(--accent-soft);font-size:calc(12px * var(--fs));line-height:1.7;color:#d4edb3}.lottery-page .lr-notice.error{background:#342623;border-color:#754b40;color:#ffb7a6}
.lottery-page .lr-formats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:20px}
.lottery-page .lr-format{display:flex;align-items:center;gap:18px;min-height:106px;text-align:left;padding:18px 22px;border-radius:12px;border-color:var(--line);background:var(--panel)}
.lottery-page .lr-format.selected{background:linear-gradient(110deg,#283521,#1b2420);border-color:#829d4c;box-shadow:inset 3px 0 var(--brand)}
.lottery-page .lr-format-symbol{display:flex;align-items:baseline;justify-content:center;gap:2px;min-width:76px;padding:12px 8px;border:1px solid #42503c;border-radius:12px;background:#121a1b;font-variant-numeric:tabular-nums}
.lottery-page .lr-format-symbol b{font-size:31px;line-height:1;letter-spacing:-1px;color:#c6d6b4}.lottery-page .selected .lr-format-symbol b{color:var(--brand)}.lottery-page .lr-format-symbol>span{color:var(--muted);font-size:14px}
.lottery-page .lr-format-copy{display:grid;gap:9px;min-width:0}.lottery-page .lr-format-copy strong{font-size:calc(17px * var(--fs));font-weight:750}.lottery-page .lr-format-copy small{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;font-size:calc(11px * var(--fs));line-height:1.5;color:var(--muted)}.lottery-page .lr-format-cost{color:#d1dfbf;font-weight:700}
.lottery-page .lr-format-check{margin-left:auto;display:grid;place-items:center;width:22px;height:22px;font-size:15px;flex:none;color:#76836f}.lottery-page .selected .lr-format-check{background:var(--brand);color:var(--on-brand);border-radius:50%}
.lottery-page .lr-workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}.lottery-page .lr-play-column{min-width:0;display:grid;gap:20px}
.lottery-page .lr-card{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:24px;min-width:0}.lottery-page .lr-chooser{background:radial-gradient(ellipse at 45% 0,#26302677,transparent 65%),#151d20}
.lottery-page .lr-card-heading,.lottery-page .lr-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}
.lottery-page .lr-help{color:var(--muted);font-size:calc(12px * var(--fs));line-height:1.7;margin:9px 0 0}
.lottery-page .lr-selection-count{border:1px solid #4c5d40;border-radius:7px;padding:8px 11px;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;color:#c4d5b0;background:#253021;white-space:nowrap}.lottery-page .lr-selection-count.complete{background:var(--brand);border-color:var(--brand);color:var(--on-brand)}
.lottery-page .lr-tools{display:flex;align-items:center;gap:8px;margin:22px 0 18px}.lottery-page .lr-tools .lr-button{font-size:calc(12px * var(--fs));min-height:38px;font-weight:600}.lottery-page .lr-tools .lr-button:first-child{color:#d5e8bc;background:#2c3926;border-color:#526a39}
.lottery-page .lr-quiet{background:none;border-color:transparent;color:var(--muted)}.lottery-page .lr-quiet:hover:not(:disabled){background:var(--panel-raised);border-color:transparent;color:var(--text)}
.lottery-page .lr-number-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:8px}.lottery-page .lr-number-grid.compact{grid-template-columns:repeat(5,minmax(0,1fr));max-width:480px}
.lottery-page .lr-number{position:relative;min-width:0;min-height:52px;padding:12px 4px;background:linear-gradient(#2b3638,#242e31);border-color:#3c4847;font-size:calc(17px * var(--fs));font-weight:700;font-variant-numeric:tabular-nums;box-shadow:0 2px 0 #0b1112}
.lottery-page .lr-number[aria-pressed=true]{background:var(--brand);color:var(--on-brand);border-color:var(--brand);box-shadow:0 2px 0 #769523;opacity:1}.lottery-page .lr-number[aria-pressed=true]::after{content:'✓';position:absolute;right:4px;top:3px;font-size:9px;line-height:1}.lottery-page .lr-number[aria-pressed=true]:hover:not(:disabled){background:var(--brand-hover);border-color:var(--brand-hover)}
.lottery-page .lr-grid-note{display:flex;align-items:flex-start;gap:9px;font-size:calc(10px * var(--fs));line-height:1.7;color:var(--muted);margin-top:22px}.lottery-page .lr-selected-dot{height:9px;width:9px;border-radius:3px;background:var(--brand);flex:none;margin-top:4px}
.lottery-page .lr-preview{border-color:#4e6040;border-top:3px solid var(--brand);padding:24px;position:sticky;top:80px;background:linear-gradient(145deg,#242e27,#1b2326 45%)}
.lottery-page .lr-preview-numbers{margin:24px 0 12px}.lottery-page .lr-balls{display:flex;gap:8px;flex-wrap:wrap}
.lottery-page .lr-ball{display:grid;place-items:center;flex:none;min-width:36px;height:36px;padding:0 5px;border-radius:50%;border:1px solid #526245;background:#2b3828;color:#e0edcc;font-weight:700;font-size:14px;font-variant-numeric:tabular-nums;position:relative}
.lottery-page .lr-preview .lr-ball{width:44px;height:44px;border-color:var(--brand);background:var(--brand);color:var(--on-brand);font-size:17px;box-shadow:inset 0 -3px #a4c526}
.lottery-page .lr-ball.empty{border:1px dashed #67775a;background:#151e1d;color:#91a083;font-weight:400;box-shadow:none}.lottery-page .lr-ball.hit{background:var(--brand);border-color:var(--brand);color:var(--on-brand)}
.lottery-page .lr-ball.hit::after{content:'✓';position:absolute;right:-2px;top:-3px;border-radius:50%;height:14px;width:14px;background:#eef4e8;color:#182005;font-size:9px;display:grid;place-items:center}.lottery-page .lr-ball.muted{background:#131b1d;border-color:#405048;color:#acb9aa}
.lottery-page .lr-preview-hint{font-size:11px;color:var(--muted);margin:0 0 22px;line-height:1.5}
.lottery-page .lr-details{margin:0;padding:20px 0;border-top:1px dashed #4c5c48;border-bottom:1px dashed #4c5c48;display:grid;gap:14px;font-size:calc(12px * var(--fs))}.lottery-page .lr-details>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.lottery-page .lr-details dt{color:var(--muted)}.lottery-page .lr-details dd{margin:0;text-align:right;color:var(--text)}.lottery-page .lr-details .lr-countdown{font-variant-numeric:tabular-nums;font-size:22px;line-height:1.1;font-weight:750;color:var(--brand);letter-spacing:.5px}
.lottery-page .lr-total{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0;font-size:12px;color:var(--muted)}.lottery-page .lr-total strong{font-size:24px;letter-spacing:-.5px;color:var(--text);white-space:nowrap}
.lottery-page .lr-primary,.lottery-page .lr-signin .button.primary{background:var(--brand);border-color:var(--brand);color:var(--on-brand);font-weight:800}.lottery-page .lr-primary:hover:not(:disabled){background:var(--brand-hover);border-color:var(--brand-hover)}.lottery-page .lr-primary:disabled{background:#37422b;border-color:#465439;color:#a2b28f;opacity:1}
.lottery-page .lr-submit{width:100%;min-height:48px;font-size:14px}.lottery-page .lr-preview-note{color:var(--muted);font-size:10px;line-height:1.7;text-align:center;margin:13px 0 0}
.lottery-page .lr-prizes h2{font-size:calc(17px * var(--fs))}.lottery-page .lr-subtle-tag{border:1px solid #42523a;background:#24301f;padding:6px 9px;border-radius:6px;font-size:11px;color:#c0d3a8;white-space:nowrap}
.lottery-page .lr-table-scroll{overflow-x:auto;margin-top:20px}.lottery-page table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.lottery-page th{color:var(--muted);font-size:11px;font-weight:500;padding:0 16px 12px 0;border-bottom:1px solid var(--line)}.lottery-page td{padding:14px 16px 14px 0;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}.lottery-page tr:last-child td{border-bottom:0;padding-bottom:0}.lottery-page td:last-child,.lottery-page th:last-child{text-align:right;padding-right:0}.lottery-page td:nth-child(2){font-weight:700;color:#d3e7b6}.lottery-page tr:last-child td:nth-child(2){color:var(--brand)}
.lottery-page .lr-section-heading{margin:4px 0 22px}.lottery-page .lr-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;background:var(--panel);border:1px solid var(--line);padding:18px;border-radius:10px;margin-bottom:18px}.lottery-page .lr-filter{display:grid;gap:8px;min-width:155px;font-size:11px;color:var(--muted);flex:1}.lottery-page .lr-filter select,.lottery-page .lr-filter input{font:inherit;font-size:13px;color:var(--text);background:var(--field);border:1px solid #52604e;border-radius:7px;min-height:44px;padding:10px 12px;width:100%;min-width:0;color-scheme:dark}.lottery-page .lr-filters>.lr-button{font-size:12px}
.lottery-page .lr-record-list{display:grid;gap:12px}.lottery-page .lr-record{padding:22px 24px}.lottery-page .lr-record-heading{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.lottery-page .lr-status{display:inline-flex;padding:7px 10px;border-radius:6px;background:var(--panel-raised);border:1px solid var(--line-strong);font-size:11px;white-space:nowrap;color:var(--muted)}.lottery-page .lr-status.pending{color:#d7e4c6;border-color:#566a3d;background:#2b3523}.lottery-page .lr-status.won{background:var(--brand);border-color:var(--brand);color:var(--on-brand);font-weight:700}
.lottery-page .lr-number-comparison{display:flex;flex-wrap:wrap;gap:22px 40px;margin:21px 0}.lottery-page .lr-record-label{display:block;color:var(--muted);font-size:10px;margin-bottom:10px}.lottery-page .lr-record-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:15px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}
.lottery-page .lr-result{display:grid;grid-template-columns:minmax(170px,.8fr) minmax(210px,1fr) auto;gap:20px;align-items:center}.lottery-page .lr-result-note{color:#b4c59f;font-size:11px}
.lottery-page .lr-empty{text-align:center;padding:58px 20px;border:1px dashed #43533e;border-radius:12px;background:radial-gradient(ellipse at 50% 0,#273321,transparent 65%),var(--panel)}.lottery-page .lr-empty>span{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 20px;border:1px solid #58733a;border-radius:16px;background:#26341e;color:var(--brand);font-size:34px}.lottery-page .lr-empty p{color:var(--muted);font-size:12px;line-height:1.7;max-width:420px;margin:10px auto 0}
.lottery-page .lr-signin .state{background:none;border:0}.lottery-page .lr-signin .state-title{color:var(--text)}
@media(max-width:1080px){.lottery-page .lr-workspace{grid-template-columns:minmax(0,1fr) 310px;gap:16px}.lottery-page .lr-card{padding:20px}.lottery-page .lr-number-grid{gap:6px}.lottery-page .lr-number{min-height:46px}.lottery-page .lr-preview .lr-ball{width:42px;height:42px}.lottery-page .lr-balls{gap:7px}}
@media(max-width:900px){.lottery-mode .layout{padding-inline:18px}.lottery-page .lr-workspace{grid-template-columns:minmax(0,1fr) 280px}.lottery-page .lr-number-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.lottery-page .lr-card{padding:18px}.lottery-page .lr-preview .lr-ball{width:37px;height:37px}.lottery-page .lr-format{padding:16px;gap:12px}.lottery-page .lr-format-symbol{min-width:64px}.lottery-page .lr-result{grid-template-columns:minmax(160px,1fr) minmax(210px,1fr)}.lottery-page .lr-result-note{grid-column:1/-1}.lottery-page .lr-prizes .lr-subtle-tag{display:none}}
@media(max-width:740px){.lottery-page .lr-workspace{display:flex;flex-direction:column;gap:16px}.lottery-page .lr-play-column{display:contents}.lottery-page .lr-chooser,.lottery-page .lr-preview,.lottery-page .lr-prizes{width:100%}.lottery-page .lr-preview{position:static;order:1}.lottery-page .lr-prizes{order:2}.lottery-page .lr-number-grid{grid-template-columns:repeat(9,minmax(0,1fr));gap:7px}.lottery-page .lr-preview .lr-ball{width:44px;height:44px}.lottery-page .lr-heading{align-items:flex-start}.lottery-page .lr-virtual{font-size:10px}.lottery-page .lr-intro{max-width:330px}.lottery-page .lr-format-copy strong{font-size:15px}.lottery-page .lr-format-copy small{display:grid;gap:3px}}
@media(max-width:600px){.lottery-mode .layout{padding:0 12px 28px}.lottery-page{padding-top:20px}.lottery-page .lr-heading{display:grid;gap:14px;margin-bottom:20px}.lottery-page h1{font-size:28px}.lottery-page .lr-intro{font-size:12px;max-width:none}.lottery-page .lr-virtual{justify-self:start;padding:7px 10px}.lottery-page .lr-tabs{gap:3px;margin-bottom:16px}.lottery-page .lr-tab{padding:10px 8px;font-size:12px;flex:1;min-width:0}.lottery-page .lr-formats{gap:10px;margin-bottom:16px}.lottery-page .lr-format{padding:14px;flex-wrap:wrap;gap:12px;position:relative;align-content:start;min-height:152px}.lottery-page .lr-format-symbol{min-width:64px;padding:9px 7px;border-radius:9px}.lottery-page .lr-format-symbol b{font-size:26px}.lottery-page .lr-format-check{position:absolute;right:12px;top:15px;width:20px;height:20px}.lottery-page .lr-format-copy{width:100%;gap:7px}.lottery-page .lr-format-copy strong{font-size:14px}.lottery-page .lr-format-copy small{font-size:10px}.lottery-page .lr-card{padding:20px 16px}.lottery-page h2{font-size:19px}.lottery-page .lr-number-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.lottery-page .lr-number{min-height:46px;font-size:15px}.lottery-page .lr-tools{gap:4px;justify-content:space-between}.lottery-page .lr-tools .lr-button{font-size:11px;padding:10px}.lottery-page .lr-help{font-size:11px}.lottery-page .lr-filter{min-width:calc(50% - 12px)}.lottery-page .lr-filters{padding:14px;gap:12px}.lottery-page .lr-filters>.lr-button{flex:1}.lottery-page .lr-record-heading{flex-wrap:wrap}.lottery-page .lr-result{grid-template-columns:minmax(0,1fr);gap:16px}.lottery-page .lr-record-footer{font-size:10px}.lottery-page .lr-number-comparison{gap:20px}.lottery-page .lr-section-heading{align-items:flex-start}.lottery-page .lr-preview-numbers .lr-balls{gap:10px}.lottery-page .lr-details{font-size:12px}.lottery-page .lr-prizes .lr-card-heading{align-items:flex-start}.lottery-page .lr-table-scroll{margin-top:18px}}
@media(max-width:370px){.lottery-page .lr-number-grid{gap:5px}.lottery-page .lr-number{min-height:40px}.lottery-page .lr-tab{padding:10px 4px;font-size:11px}.lottery-page .lr-prizes table{font-size:12px}.lottery-page .lr-preview-numbers .lr-balls{gap:7px}.lottery-page .lr-format{padding:12px}.lottery-page .lr-tools .lr-button{font-size:10px;padding-inline:8px}}
@media(prefers-reduced-motion:reduce){.lottery-page *{transition:none!important;scroll-behavior:auto!important}}
