body[data-home-workspace="true"] .portal-shell main{max-width:1280px;padding-top:25px}.home-current{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.home-current-name{display:flex;align-items:center;gap:12px;min-width:0}.home-current-name img{flex-shrink:0}.home-current h1{font-size:28px;line-height:1.25;margin:4px 0 0;font-weight:750}.home-kicker{font-size:11px;color:#8a7d83;letter-spacing:.6px}.home-switch{min-height:46px;gap:8px;flex-shrink:0}.home-switch svg{width:19px;height:19px}.home-switch b{font-size:17px;font-weight:400}.home-draw.draw-panel{padding:22px 25px;gap:28px;border-radius:16px;background:#fff}.home-draw .draw-main{min-width:0}.home-draw .section-head{margin-bottom:12px}.home-draw h2{font-size:15px;margin:0}.home-draw .draw-issue{font-size:12px}.home-draw #draw-time{margin:10px 0 5px;font-size:11px}.home-data-status{margin:0;font-size:12px;color:#467768}.home-data-status[data-state="stale"],.home-data-status[data-state="no_data"]{color:#9e642e}.home-data-status[data-state="closed"]{color:#7b7d85}.home-draw .countdown{min-width:155px;width:auto;padding-left:25px}.home-draw .countdown strong{font-size:34px;font-variant-numeric:tabular-nums;color:#bf1932}.home-draw .countdown>span,.home-draw .countdown small{font-size:11px;color:#8b8187}.home-plan.panel{padding:24px;border-radius:16px}.home-plan-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.home-plan-heading h2{margin:3px 0 0;font-size:23px}.home-plan-heading>a{font-size:12px;color:#a51830}.home-plan-choice{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #eeeaed;border-radius:12px;background:#fafafb;margin-bottom:16px}.home-plan-choice label{color:#7b7d85;font-size:12px;flex-shrink:0}.home-plan-choice select{flex:1;min-width:0;max-width:600px;min-height:44px;border:1px solid #e6dfe3;border-radius:9px;background:white;padding:8px 12px;font-size:15px;color:#24262d}.home-plan-choice .button{min-height:44px;margin-left:auto}.home-publication{display:flex;gap:8px;align-items:center;padding:11px 14px;border-radius:10px;background:#edf7f2;color:#347258;font-size:12px;margin-bottom:16px;line-height:1.6}.home-publication.is-paused{background:#fff5e9;color:#946128}.home-status-dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}.home-publication strong{font-weight:500}.home-active-plan{padding:20px 22px;background:linear-gradient(110deg,#fff4f6,#fffafb);border:1px solid #f2d8df;border-radius:13px;margin-bottom:23px}.home-active-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.home-active-title h3{font-size:19px;margin:0}.home-target{font-size:12px;color:#8b767f;margin:15px 0 12px}.home-target strong{color:#9f142b;font-size:15px;font-weight:650;margin-left:7px;overflow-wrap:anywhere}.home-prediction{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 15px}.home-prediction span{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:7px 12px;border:1px solid #eac1cb;border-radius:10px;background:white;font-size:22px;font-weight:750;color:#a51830}.home-active-plan>.muted{font-size:11px;margin:0;line-height:1.9}.home-plan-note{font-size:12px;color:#9a6d40;margin:10px 0 0}.home-plan-empty{padding:24px 0 10px}.home-plan-empty strong{font-size:16px;font-weight:600}.home-plan-empty p{font-size:12px;color:#8b7b83;margin:8px 0 0}.home-record-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:20px 0 12px}.home-record-heading h3{margin:0;font-size:15px}.home-record-heading>span{font-size:11px;color:#8b7b83}.home-plan-records td small{display:block;color:#8e8a91;font-size:10px}.home-plan-records td{font-size:12px}.home-history{border-radius:16px}.home-guides{margin-top:28px}.home-guides .article-grid h3{font-size:16px;margin:10px 0 8px}.home-guides .article-grid p{line-height:1.8}.home-notice{margin-top:15px;color:#8b7b83;font-size:12px}.home-notice summary{min-height:44px;cursor:pointer;padding:12px}.home-notice p{padding:0 12px}#home-workspace,#home-plan{scroll-margin-top:15px}
.home-lottery-dialog{width:min(760px,calc(100vw - 28px));max-height:calc(100dvh - 40px);padding:24px;border:1px solid #eee5e9;border-radius:24px;background:white;color:#24262d;box-shadow:0 28px 100px #24262d38}.home-lottery-dialog[open]{display:flex;flex-direction:column;gap:16px}.home-lottery-dialog::backdrop{background:#24262d55;backdrop-filter:blur(4px)}body.home-picker-open{overflow:hidden}.home-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.home-dialog-heading h2{margin:4px 0 0;font-size:23px}.home-dialog-heading button{width:44px;height:44px;border:0;border-radius:12px;background:#f7f8fa;color:#87818a;font-size:27px;cursor:pointer}.home-picker-search{display:flex;align-items:center;border:1px solid #e8e1e5;border-radius:12px;background:#fafafb;padding:0 12px;flex-shrink:0}.home-picker-search input{min-width:0;flex:1;height:46px;border:0;background:none;font-size:16px;outline-offset:0}.home-picker-search button{height:44px;min-width:36px;border:0;background:none;font-size:23px;color:#89828b}.home-chooser-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;overflow:auto;min-height:0;padding:2px;scrollbar-width:thin}.home-game-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:96px;padding:10px 5px;border:1px solid #ece9ee;border-radius:13px;background:white;position:relative;transition:background .18s,border-color .18s}.home-game-tile span{font-size:12px;line-height:1.5;text-align:center}.home-game-tile img{width:44px;height:44px;object-fit:contain}.home-game-tile[aria-current],.home-game-tile:hover{background:#fff3f6;border-color:#e5a8b7;color:#a51830}.home-game-tile b{position:absolute;top:3px;right:6px;font-size:12px;color:#bf1932}.home-game-tile[hidden],.home-picker-empty[hidden],.home-picker-search button[hidden]{display:none}.home-picker-tip{font-size:11px;color:#8b7d84;margin:0;flex-shrink:0}.home-picker-empty{font-size:13px;text-align:center;color:#8b7d84;padding:20px}.home-chooser-grid:empty{display:none}
@media(max-width:800px){body[data-home-workspace="true"] .portal-shell main{padding-top:15px}.home-current{gap:9px;margin-bottom:14px}.home-current-name{gap:9px}.home-current-name img{width:39px;height:39px}.home-current h1{font-size:22px}.home-current .home-kicker{font-size:10px;letter-spacing:0}.home-switch{padding:8px 11px;font-size:12px;min-height:44px;gap:6px}.home-switch svg{width:17px;height:17px}.home-switch b{display:none}.home-draw.draw-panel{padding:15px;margin-bottom:14px}.home-draw .draw-main .section-head{margin-bottom:12px}.home-draw .countdown{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:10px;border-left:0;border-top:1px solid #f1e8ec;width:100%;min-width:0;margin:12px 0 0;padding:10px 0 0}.home-draw .countdown strong{font-size:24px}.home-draw .countdown small{font-size:10px}.home-plan.panel{padding:15px;margin-bottom:14px}.home-plan-heading{margin-bottom:13px}.home-plan-heading h2{font-size:21px}.home-plan-choice{padding:9px;gap:7px;flex-wrap:wrap}.home-plan-choice label{width:100%;font-size:11px}.home-plan-choice select{font-size:16px;padding:7px 9px}.home-plan-choice .button{padding:8px 12px;font-size:12px}.home-publication{padding:9px 11px;font-size:11px;margin-bottom:12px}.home-active-plan{padding:15px;margin-bottom:18px}.home-active-title h3{font-size:17px}.home-target strong{display:block;margin:5px 0 0;font-size:14px}.home-prediction{gap:6px}.home-prediction span{font-size:20px;min-width:39px;min-height:40px;padding:6px 9px}.home-record-heading>span{font-size:10px}.home-plan-records td{font-size:11px;padding:11px 9px}.home-plan-records th{font-size:11px}.home-history{padding:15px}.home-guides{margin-top:22px}.home-lottery-dialog{padding:17px;border-radius:20px;gap:13px}.home-lottery-dialog[open]{gap:13px}.home-dialog-heading h2{font-size:21px}.home-chooser-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.home-game-tile{min-height:90px;gap:6px}.home-game-tile img{width:40px;height:40px}#home-workspace,#home-plan{scroll-margin-top:calc(var(--app-header-size,59px) + env(safe-area-inset-top,0px) + 10px)}}
@media(max-width:360px){.home-chooser-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-current h1{font-size:20px}.home-switch{font-size:11px;padding:8px}.home-current-name img{width:34px;height:34px}}
@media(prefers-reduced-motion:no-preference){.home-lottery-dialog[open]{animation:home-dialog-enter .18s ease-out}}@keyframes home-dialog-enter{from{opacity:0;transform:translateY(10px) scale(.99)}to{opacity:1;transform:none}}
@media(max-width:800px){.home-plan-heading .home-kicker{display:none}.home-plan-heading h2{margin-top:0}.home-plan-choice{position:relative;flex-wrap:nowrap}.home-plan-choice label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.home-plan-choice select{flex:1}.home-draw #draw-time{display:inline-block;margin:9px 8px 0 0}.home-draw .home-data-status{display:inline-block;margin:7px 0 0;font-size:11px}.home-draw .countdown strong{padding:3px 8px;line-height:1.3}}
/* Keep the page width stable when the native chooser locks background scrolling. */
html:has(body[data-home-workspace="true"]){scrollbar-gutter:stable}
/* One shared content edge for the brand header and every home module. */
body[data-home-workspace="true"] .header-inner{max-width:1280px;margin-inline:auto;padding-inline:24px}
body[data-home-workspace="true"] .portal-shell{max-width:1280px}
body[data-home-workspace="true"] .portal-shell main{max-width:none;padding:20px 24px 28px}
.home-workspace>.panel,.home-workspace>.draw-panel{margin-bottom:16px}
.home-plan.panel,.home-history.panel{padding:20px}
.home-plan-heading{margin-bottom:12px}.home-plan-heading .home-kicker{display:none}.home-plan-heading h2{margin:0;font-size:21px}
.home-plan-choice{margin-bottom:12px;padding:10px 12px}.home-plan-choice select{max-width:none}
.home-publication{margin-bottom:12px}.home-active-plan{padding:16px 18px;margin-bottom:16px}
.home-record-heading{margin-top:16px}.home-plan-records td,.home-history td{padding-block:11px}
.home-load-row{display:flex;align-items:center;justify-content:center;gap:12px;padding:14px 0 0}
.home-load-row .button{min-height:44px;min-width:170px;border-radius:10px}.home-load-row>span{font-size:11px;color:#85818a}
.home-load-row button:disabled{opacity:.6;cursor:wait}
.home-history .history-filter{gap:10px;margin-bottom:12px}
.home-guides{margin-top:22px}.home-guides .panel{padding:18px;margin-bottom:0}
@media(max-width:800px){
 body[data-home-workspace="true"] .portal-shell main{padding:12px 12px calc(var(--app-tab-size,64px) + env(safe-area-inset-bottom,0px) + 16px)}
 .home-current{margin-bottom:12px}.home-workspace>.panel,.home-workspace>.draw-panel{margin-bottom:12px}
 .home-plan.panel,.home-history.panel{padding:13px}.home-draw.draw-panel{padding:13px;gap:0}
 .home-active-plan{padding:13px;margin-bottom:14px}.home-plan-choice{padding:8px}.home-plan-heading h2{font-size:18px}
 .home-record-heading{align-items:flex-start}.home-record-heading>span{text-align:right;line-height:1.6}
 .home-load-row{gap:8px;flex-wrap:wrap;padding-top:12px}.home-load-row>span{font-size:10px}
 .home-history .history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:8px}.home-history .history-filter label{min-width:0}
 .home-history .history-filter input,.home-history .history-filter select{min-height:44px;max-width:100%;font-size:16px}
 .home-history .table-wrap{margin-inline:0}.home-guides .article-grid{gap:10px}.home-guides .panel{padding:14px}
}
/* Put the two recent lists beside each other, below the current plan. */
.home-record-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
.home-record-grid>.panel{min-width:0;margin:0;padding:20px;border-radius:16px}
.home-record-grid .section-head{min-height:26px;margin:0 0 12px;gap:8px;align-items:center}
.home-record-grid .section-head h2{margin:0;font-size:16px;white-space:nowrap}
.home-record-grid .section-head>span{font-size:11px;color:#85818a;text-align:right}
.home-record-grid .home-record-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:66px;margin:0 0 12px;padding:0;font-size:12px;color:#85818a}
.home-record-toolbar small{font-size:11px}.home-record-grid .history-filter{justify-content:flex-start;align-items:end;padding-bottom:4px}
.home-record-grid .history-filter label{font-size:11px;min-width:0;gap:4px}
.home-record-grid .history-filter input,.home-record-grid .history-filter select{min-height:40px;padding:7px 8px;font-size:12px;width:auto;max-width:100%}
.home-record-grid .history-filter button{min-height:40px;padding:7px 12px}
.home-record-grid .table-wrap{max-width:100%}.home-record-grid tbody tr{height:49px}
.home-record-grid td{padding:8px 10px;font-size:12px}.home-record-grid th{padding:11px 10px;font-size:11px}
.home-record-grid .home-plan-note{font-size:11px;line-height:1.7;margin:10px 0 0}
.home-record-grid .home-load-row{padding-top:12px}.home-record-grid .inline-nums{gap:4px}
.home-record-grid .inline-nums b{width:24px;height:25px;font-size:11px}
@media(max-width:1023px){.home-record-grid{grid-template-columns:minmax(0,1fr);gap:12px}.home-record-grid .home-record-toolbar{min-height:44px}}
@media(max-width:800px){.home-record-grid>.panel{padding:13px}.home-record-grid .section-head{flex-wrap:wrap}.home-record-grid .section-head h2{font-size:15px}.home-record-grid .section-head>span{font-size:10px}.home-record-grid .home-record-toolbar{margin-bottom:10px}.home-record-grid .history-filter input,.home-record-grid .history-filter select{min-height:44px;font-size:16px}.home-record-grid .history-filter button{min-height:44px}.home-record-grid td{font-size:11px;padding:8px}.home-record-grid .home-load-row{gap:8px}}
.home-plan #home-plan-live>.home-active-plan{margin-bottom:0}
.home-record-grid>.panel{grid-column:auto;grid-row:auto;order:0}
@media(min-width:1024px){.home-record-grid>#history-results{scroll-margin-top:15px}}
.home-draw #countdown[data-phase="opening"],.home-draw #countdown[data-phase="closed"],.home-draw #countdown[data-phase="waiting"],.home-draw #countdown[data-phase="error"],.home-draw #countdown[data-phase="license"]{font-size:27px;letter-spacing:2px}
.home-draw .countdown small{line-height:1.6;text-align:center}
@media(max-width:800px){.home-draw #countdown[data-phase]{font-size:20px}.home-draw .countdown small{max-width:130px;text-align:right;font-size:10px}}
/* A single clear lottery heading and plans visitors can select directly. */
.home-current-name{gap:10px;align-items:center}.home-current-name img{display:block;object-fit:contain;width:44px;height:44px;flex:0 0 44px}.home-current-name h1{margin:0;font-size:26px;line-height:1.25}
.home-switch{display:inline-flex;align-items:center;justify-content:center;line-height:1;gap:8px;min-height:44px}.home-switch svg{display:block;flex-shrink:0}.home-switch svg.home-switch-chevron{width:12px;height:12px;margin-left:1px}
.home-draw .home-data-status[data-state="ready"],.home-draw [hidden]{display:none}
.home-plan-picker{margin:0 0 16px}.home-plan-options{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.home-plan-options a{display:flex;align-items:center;justify-content:center;min-height:42px;padding:9px 7px;border:1px solid #e8e8ed;border-radius:9px;background:#f8f9fb;color:#555965;text-align:center;font-size:12px;line-height:1.5;transition:background .15s,border-color .15s,color .15s}
.home-plan-options a:hover{border-color:#e2a5af;background:#fff4f6;color:#bf1932}.home-plan-options a[aria-current]{background:#bf1932;color:#fff;border-color:#bf1932;font-weight:650;box-shadow:0 3px 9px #bf193215}
.home-plan-options[data-expanded="false"] a:nth-child(n+13):not([aria-current]){display:none}
.home-plan-expand{display:block;margin:9px auto 0;min-height:36px;padding:5px 16px;border:0;background:none;color:#8b7b83;font-size:11px;cursor:pointer}.home-plan-expand span{margin-left:6px}.home-plan-expand[hidden]{display:none}
.home-plan-picker[aria-busy="true"]{opacity:.65}.home-plan-feedback{font-size:12px;color:#9e642e;margin:8px 0 0}
.home-publication:not(.is-paused){padding:0;background:none;margin:0 0 10px;font-size:11px;color:#7a8680}.home-publication.is-paused{font-size:12px}
.home-active-plan{padding:16px 18px}.home-active-title h3{font-size:17px}.home-target{margin:11px 0 8px}.home-prediction{margin:9px 0 11px}
@media(max-width:1023px){.home-plan-options{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:800px){.home-current-name img{width:36px;height:36px;flex-basis:36px}.home-current-name h1{font-size:22px}.home-current-name{gap:8px}.home-switch{gap:6px;padding:9px 10px}.home-switch svg.home-switch-chevron{width:10px;height:10px}.home-plan-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.home-plan-options a{min-height:44px;padding:8px 4px;font-size:12px}.home-plan-options[data-expanded="false"] a:nth-child(n+7):not([aria-current]){display:none}.home-plan-picker{margin-bottom:12px}.home-active-plan{padding:13px}.home-active-title h3{font-size:16px}}
@media(max-width:360px){.home-current-name h1{font-size:20px}.home-plan-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.home-plan-options a{transition:none}}
.home-publication:not(.is-paused){display:none}
/* Equal row metrics prevent the two recent lists drifting apart down the page. */
.home-record-grid thead tr{height:40px}
.home-record-grid tbody tr{height:52px}
.home-record-grid th,.home-record-grid td{box-sizing:border-box;vertical-align:middle;white-space:nowrap;line-height:16px}
.home-record-grid th{padding:10px}.home-record-grid td{padding:6px 10px}
.home-record-grid .home-plan-records td small{line-height:14px;margin:0}
.home-record-note{min-height:var(--record-note-height,0px);display:flex;align-items:center}
.home-record-grid .home-record-note .home-plan-note{margin:0;line-height:16px}
@media(min-width:1024px){.home-record-grid:has(.home-record-note p){--record-note-height:42px}}
@media(max-width:1023px){.home-record-note:empty{display:none}.home-record-note:has(p){padding-top:10px}}
@media(max-width:800px){.home-record-grid td{padding:6px 8px}}
