/* Session entry: no permanent mobile header or duplicate lottery switch. */
.mobile-brand-splash{display:none}
@media(max-width:800px){
 :root{--app-header-size:0px}
 .mobile-app-header{display:none!important}
 body[data-home-workspace] #main{padding-top:calc(12px + env(safe-area-inset-top,0px))}
 .home-current .home-switch{display:none}
 .mobile-app-tabs a[data-tab="lotteries"] b{white-space:nowrap;font-size:11px}
 .mobile-brand-splash{position:fixed;inset:0;z-index:10000;overflow:hidden;isolation:isolate;background:linear-gradient(155deg,#fff 0%,#fcfafb 58%,#f8eff2 100%);align-items:center;justify-content:center;pointer-events:none}
 .mobile-entry-active .mobile-brand-splash{display:flex;animation:splash-exit 1.5s ease forwards}
 .splash-halo{position:absolute;width:110vw;height:110vw;max-width:640px;max-height:640px;top:50%;left:50%;border-radius:50%;transform:translate(-50%,-53%);background:radial-gradient(ellipse,#fff 25%,#f2dde560 48%,#fff0 70%);z-index:-1;animation:splash-halo 1.5s ease-out both}
 .splash-orbit{position:absolute;left:50%;top:47%;border:1px solid #a7193720;border-radius:50%;width:112vw;height:112vw;max-width:650px;max-height:650px;transform:translate(-50%,-50%) rotate(-26deg) scaleY(.82);z-index:-1;mask-image:linear-gradient(110deg,transparent 6%,#000 38%,transparent 73%)}
 .splash-orbit-two{width:132vw;height:132vw;max-width:760px;max-height:760px;border-color:#be9a691b;transform:translate(-50%,-50%) rotate(18deg) scaleY(.82)}
 .splash-brand{width:min(84vw,360px);text-align:center;transform:translateY(-18px);animation:splash-arrive .75s cubic-bezier(.16,1,.3,1) both}
 .splash-eyebrow{display:block;font-family:Arial,sans-serif;font-size:10px;font-weight:500;letter-spacing:5px;color:#a78691;margin-bottom:28px;padding-left:5px}
 .splash-wordmark{position:relative;padding:8px 0;overflow:hidden}
 .splash-wordmark:after{content:"";position:absolute;inset:-20% -70%;background:linear-gradient(110deg,transparent 44%,#ffffff80 49%,transparent 54%);transform:translateX(-32%);animation:splash-light 1.25s .1s ease-out both;pointer-events:none}
 .splash-brand img{display:block;width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 12px 18px #6b162b14)}
 .splash-signature{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:26px;color:#725d66;font-size:12px;letter-spacing:3px}
 .splash-signature i{height:1px;width:24px;background:linear-gradient(90deg,transparent,#bc8e9b)}
 .splash-signature i:last-child{transform:rotate(180deg)}
 .splash-bottom{position:absolute;bottom:calc(42px + env(safe-area-inset-bottom,0px));left:0;right:0;display:flex;align-items:center;flex-direction:column;gap:20px;color:#ac98a1;font-size:9px;letter-spacing:2px}
 .splash-bottom i{display:block;width:28px;height:2px;background:#b61935;border-radius:2px;animation:splash-line 1.1s ease both}
 @keyframes splash-arrive{from{opacity:0;transform:translateY(-8px) scale(.95);filter:blur(3px)}to{opacity:1;transform:translateY(-18px) scale(1);filter:blur(0)}}
 @keyframes splash-light{from{transform:translateX(-32%)}to{transform:translateX(32%)}}
 @keyframes splash-halo{from{opacity:0;scale:.9}to{opacity:1;scale:1}}
 @keyframes splash-line{from{transform:scaleX(.2);opacity:.2}to{transform:scaleX(1);opacity:1}}
 @keyframes splash-exit{0%,76%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
}
@media(prefers-reduced-motion:reduce){.mobile-entry-active .mobile-brand-splash{display:none}}

/* A compact mobile home identity, flowing with the page. */
.home-mobile-signature{display:none}
@media(max-width:800px){
 body[data-home-workspace="true"] #main{padding-top:env(safe-area-inset-top,0px)}
 .home-workspace .home-current{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:70px;margin:0 0 12px;padding:10px 2px;box-sizing:border-box}
 .home-current:before{content:"";position:absolute;z-index:-1;inset:0 -12px -12px;background:radial-gradient(ellipse at 82% 0%,#f4dfe6a0,transparent 68%),linear-gradient(180deg,#fff9fb90,transparent);pointer-events:none}
 .home-current .home-current-name{display:flex;align-items:center;gap:9px;min-width:0;flex:1}
 .home-current .home-current-name>img{width:38px;height:38px;flex:0 0 38px;filter:drop-shadow(0 3px 4px #69233212)}
 .home-current .home-current-name>div{min-width:0}
 .home-current .home-current-name h1{font-size:21px;line-height:28px;letter-spacing:-.3px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .home-mobile-signature{display:flex;flex:0 0 auto;flex-direction:column;align-items:flex-end;justify-content:center;gap:7px;padding:0 2px 0 10px}
 .home-mobile-signature span{font-size:11px;line-height:16px;font-weight:600;letter-spacing:1px;color:#9b5368;white-space:nowrap}
 .home-mobile-signature i{display:block;width:21px;height:2px;border-radius:2px;background:linear-gradient(90deg,#d9abb8,#b51c3c)}
}
@media(max-width:360px){.home-current .home-current-name h1{font-size:19px}.home-current .home-current-name>img{width:34px;height:34px;flex-basis:34px}.home-mobile-signature span{font-size:10px;letter-spacing:.5px}.home-mobile-signature{padding-left:2px}}

/* Mobile lottery identity is part of the draw card. */
.home-current-in-card{display:none!important}
@media(max-width:800px){
 body[data-home-workspace="true"] #main{padding-top:calc(12px + env(safe-area-inset-top,0px))}
 .home-workspace .home-current-exterior{display:none}
 .home-draw .home-current-in-card{display:flex!important;grid-column:1 / -1;grid-row:1;min-height:46px;margin:0 0 2px;padding:0 0 10px;border-bottom:1px solid #f2e9ed;gap:10px}
 .home-draw .home-current-in-card:before{display:none}
 .home-current-in-card .home-current-name>img{width:34px;height:34px;flex-basis:34px}
 .home-current-in-card .home-current-name h2{font-size:20px;line-height:27px;letter-spacing:-.3px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .home-draw .draw-main{grid-row:2}
 .home-draw .home-next-info,.home-draw .countdown.home-countdown{grid-row:3}
 .home-draw .home-streaks{grid-row:4}
}
@media(max-width:360px){.home-current-in-card .home-current-name h2{font-size:18px}.home-current-in-card .home-current-name{gap:7px}}

@media(max-width:800px){
 .home-current-in-card .home-mobile-signature{display:none}
 .home-draw.draw-panel{gap:8px 10px;padding:12px;grid-template-columns:minmax(0,1fr) 66px}
 .home-draw .home-current-in-card{min-height:39px;padding-bottom:7px;margin:0}
 .home-current-in-card .home-current-name>img{width:30px;height:30px;flex-basis:30px}
 .home-current-in-card .home-current-name h2{font-size:18px;line-height:24px}
 .home-draw .draw-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 8px}
 .home-draw .draw-main .section-head{grid-column:1 / -1;margin:0}
 .home-draw #numbers{grid-column:1 / -1;margin:0;padding:3px 0;min-height:0}
 .home-draw #draw-time{grid-column:1;font-size:9px;line-height:16px;align-self:center;margin:0}
 .home-draw .home-draw-actions{grid-column:2;margin:0}
 .home-draw .draw-context-button{min-height:32px;padding:4px 7px;font-size:10px;gap:4px;border:0;background:transparent}
 .home-draw .draw-context-button svg{width:14px;height:14px}
 .home-draw #draw-status{grid-column:1 / -1;margin:0;font-size:10px}
 .home-draw .home-next-info{flex-direction:row;align-items:baseline;gap:9px;align-self:center}
 .home-draw .home-next-info>span{font-size:9px;white-space:nowrap}
 .home-draw .home-next-info>strong{font-size:17px;line-height:24px}
 .home-draw .draw-clock-dial{width:64px;height:64px}
 .home-draw .draw-clock-face{inset:7px;gap:1px}
 .home-draw .draw-clock-face>span{font-size:6px;line-height:9px}
 .home-draw .home-countdown #countdown{font-size:13px}
 .home-draw .home-countdown #countdown:not([data-phase="countdown"]){font-size:11px}
 .home-draw .home-streaks{padding-top:6px}
 .home-draw .home-streak-heading{margin-bottom:3px}
 .home-draw .home-streak-heading>a{min-height:26px}
 .home-draw .home-streak-item{padding:7px 8px;min-height:32px;font-size:10px;flex-basis:136px}
 .home-draw .home-streak-empty{padding:4px 0;font-size:10px}
 .analysis-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:0 0 12px;padding:0;border:0;white-space:normal;overflow:visible}
 .analysis-tabs a{display:flex;align-items:center;justify-content:center;min-height:36px;padding:4px 2px;border:1px solid #e8e5eb;border-radius:8px;background:#fff;font-size:10px;line-height:14px;text-align:center;box-sizing:border-box}
 .analysis-tabs a.active{color:#b81937;background:#fbeef2;border-color:#edc7d2;font-weight:600}
 .page-heading{gap:8px;margin-bottom:12px}
 .page-heading .eyebrow{display:none}
 .page-heading h1{font-size:18px;line-height:26px}
 .page-heading p{font-size:10px;line-height:16px;margin-top:4px}
 .page-heading>.button{min-height:36px;padding:6px 10px;font-size:11px;white-space:nowrap}
}

.notice-ticker{display:flex;align-items:center;gap:10px;min-height:34px;margin:0 0 12px;padding:0 10px;background:#fff6f8;border:1px solid #f1dce3;border-radius:9px;color:#986471;font-size:11px;overflow:hidden}
.notice-ticker>b{flex-shrink:0;color:#b51d39;font-size:10px}
.notice-ticker-window{overflow:hidden;min-width:0;flex:1}.notice-ticker-track{display:flex;width:max-content;animation:notice-travel 28s linear infinite}.notice-ticker-track>span{white-space:nowrap;padding-right:60px}.notice-ticker:hover .notice-ticker-track,.notice-ticker:focus-within .notice-ticker-track{animation-play-state:paused}
@keyframes notice-travel{to{transform:translateX(-50%)}}
.side-back-top{position:fixed;right:max(12px,calc((100vw - 1280px)/2 + 12px));bottom:calc(86px + env(safe-area-inset-bottom,0px));z-index:70;display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:9px;border:1px solid #e9d2db;border-radius:13px;background:#fffffff2;box-shadow:0 4px 15px #57203512;color:#b51d39;cursor:pointer;backdrop-filter:blur(8px)}
.side-back-top[hidden]{display:none}.side-back-top svg{width:21px;height:21px}.side-back-top:active{transform:scale(.92)}
footer .back-top{display:none!important}
@media(max-width:800px){
 .home-record-grid .home-load-row{gap:8px;padding-top:10px;justify-content:space-between;flex-wrap:nowrap}
 .home-record-grid .home-load-row .button{min-width:0;min-height:38px;padding:7px 10px;font-size:11px;border-radius:8px}
 .home-load-row>span{font-size:9px;white-space:nowrap}
 .home-record-grid .history-filter{display:grid;grid-template-columns:minmax(0,1fr) 72px 50px;gap:7px;align-items:end}
 .home-record-grid .history-filter label{width:auto;font-size:10px;min-width:0}
 .home-record-grid .history-filter input,.home-record-grid .history-filter select{width:100%;height:38px;min-height:38px;box-sizing:border-box;padding:6px;font-size:12px;min-width:0;border-radius:8px}
 .home-record-grid .history-filter button{height:38px;min-height:38px;padding:6px;font-size:11px;border-radius:8px}
 .home-record-grid .history-filter>a{grid-column:1 / -1;font-size:10px}
 .home-history .table-wrap{overflow:visible;max-width:100%}
 .home-history .table-wrap:before{display:none}
 .home-history table{width:100%;min-width:0!important;table-layout:fixed}
 .home-history thead{display:none}
 .home-history tbody tr{display:block;padding:7px 0;border-bottom:1px solid #edeef2;min-height:52px;box-sizing:border-box}
 .home-history tbody td{display:block;padding:0!important;border:0!important;width:auto!important;min-width:0!important;height:auto!important}
 .home-history tbody td:first-child{font-size:10px;line-height:15px;color:#85828c;margin-bottom:4px}
 .home-history .inline-nums{display:grid!important;grid-template-columns:repeat(10,minmax(0,1fr));gap:3px!important;min-width:0;width:100%}
 .home-history .inline-nums>b{display:flex;align-items:center;justify-content:center;width:100%!important;min-width:0!important;max-width:27px;height:auto!important;aspect-ratio:1;font-size:clamp(10px,3vw,12px)!important;line-height:1!important;border-radius:6px!important;padding:0!important;box-sizing:border-box}
 .home-history.kind-hk6 .inline-nums{grid-template-columns:repeat(7,minmax(0,1fr))}
 .home-history.kind-ssc .inline-nums{grid-template-columns:repeat(5,minmax(0,27px))}
 .home-history.kind-k3 .inline-nums{grid-template-columns:repeat(3,minmax(0,27px))}
 .notice-ticker{min-height:32px;margin-bottom:10px}
 footer{border:0!important;padding-top:0!important;margin-top:0!important}
}
@media(prefers-reduced-motion:reduce){.notice-ticker-track{animation:none;width:auto}.notice-ticker-track>span{white-space:normal;padding:5px 0}.notice-ticker-track>span[aria-hidden]{display:none}.side-back-top{transition:none}}

.home-picker-categories{display:flex;flex-wrap:wrap;gap:6px;flex-shrink:0}
.home-picker-categories button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:38px;padding:7px 11px;border:1px solid #ece5ea;border-radius:9px;background:#faf9fb;color:#756873;font:inherit;font-size:11px;cursor:pointer;transition:background .18s,color .18s,border-color .18s}
.home-picker-categories button[aria-pressed="true"]{background:#b51b38;border-color:#b51b38;color:#fff}
.home-picker-categories small{font-size:9px;opacity:.65;font-variant-numeric:tabular-nums}
.home-chooser-grid .home-game-tile[hidden]{display:none!important}
@media(max-width:800px){.home-picker-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.home-picker-categories button{min-height:38px;padding:5px 2px;font-size:10px;gap:3px;white-space:nowrap}.home-picker-categories small{font-size:8px}.home-lottery-dialog{max-height:calc(100dvh - 24px);gap:10px}.home-picker-tip{margin:0;font-size:10px}}

/* Mobile result header: lottery left, clock right, forecast above numbers. */
@media(max-width:800px){
 .home-draw.draw-panel{position:relative;grid-template-columns:minmax(0,1fr) 68px;gap:8px 10px}
 .home-draw .home-current-in-card{grid-column:1 / -1;grid-row:1;min-height:70px;padding-right:76px;padding-bottom:9px;align-items:center}
 .home-draw .countdown.home-countdown{position:absolute;top:14px;right:12px;width:64px!important;height:64px;min-width:0;margin:0!important;padding:0!important;border:0;gap:0}
 .home-draw .draw-clock-dial{width:62px;height:62px}
 .home-draw .home-next-info{position:absolute;top:92px;right:12px;display:flex;align-items:baseline;justify-content:flex-end;gap:4px;max-width:52%;margin:0;padding:0;border:0;line-height:16px}
 .home-draw .home-next-info>span{font-size:8px}
 .home-draw .home-next-info>strong{font-size:11px;line-height:16px;white-space:nowrap;letter-spacing:0}
 .home-draw .draw-main{grid-row:2;grid-column:1 / -1}
 .home-draw .draw-main .section-head{min-height:18px;padding-right:52%;box-sizing:border-box}
 .home-draw .home-streaks{grid-row:3}
}
@media(max-width:360px){.home-draw .home-next-info>span{font-size:7px}.home-draw .home-next-info>strong{font-size:10px}.home-current-in-card .home-current-name h2{font-size:17px}}

@media(max-width:800px){.home-draw .countdown.home-countdown,.home-draw .home-next-info{grid-area:auto!important}}

/* Mobile identity with issue below the name and a rectangular digital clock. */
@media(max-width:800px){
 .home-draw .home-current-in-card{height:76px;min-height:76px;padding-right:98px;padding-bottom:12px}
 .home-current-in-card .home-current-name{gap:9px;align-items:center;padding-bottom:12px}
 .home-current-in-card .home-current-name>img{width:46px;height:46px;flex-basis:46px;transform:translateY(5px)}
 .home-current-in-card .home-current-name h2{font-size:19px;line-height:26px;letter-spacing:-.5px}
 .home-draw .draw-main .section-head{position:absolute;top:49px;left:67px;right:112px;min-height:14px;padding:0;margin:0;display:block}
 .home-draw .draw-issue{display:block;font-size:9px;line-height:14px;white-space:nowrap;letter-spacing:0}
 .home-draw .countdown.home-countdown{top:19px;right:12px;width:92px!important;height:51px}
 .home-draw .draw-clock-dial{width:92px;height:51px;border:1px solid #efd5de;border-radius:10px;background:linear-gradient(135deg,#fff8fa,#f9eef2);box-shadow:none;box-sizing:border-box}
 .home-draw .draw-clock-dial>svg{display:none}
 .home-draw .draw-clock-face{inset:5px 4px;gap:3px;display:flex;flex-direction:column;justify-content:center;align-items:center}
 .home-draw .draw-clock-face>span{font-size:8px;line-height:11px;color:#a27787}
 .home-draw .home-countdown #countdown{font-family:Arial,sans-serif;font-size:21px;line-height:23px;letter-spacing:1px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
 .home-draw .home-countdown #countdown:not([data-phase="countdown"]){font-family:inherit;font-size:15px;letter-spacing:1px}
 .home-draw .home-next-info{top:74px;right:13px;gap:3px;max-width:98px;line-height:12px}
 .home-draw .home-next-info>span{font-size:7px;line-height:12px}.home-draw .home-next-info>strong{font-size:9px;line-height:12px}
 .home-draw .draw-main{gap:6px 8px}
 .home-draw #numbers{padding-top:3px}
}
@media(max-width:360px){
 .home-current-in-card .home-current-name>img{width:42px;height:42px;flex-basis:42px}
 .home-current-in-card .home-current-name h2{font-size:16px}
 .home-draw .draw-main .section-head{left:63px;right:108px}
 .home-draw .draw-issue{font-size:8px}
 .home-draw .home-current-in-card{padding-right:92px}
 .home-draw .countdown.home-countdown,.home-draw .draw-clock-dial{width:86px!important}
}

@media(max-width:800px){.home-draw .draw-main .section-head{left:55px;top:53px}}
@media(max-width:360px){.home-draw .draw-main .section-head{left:51px}}
