/* Compact draw window shared by home and dedicated draw center. */
html .premium .draw4540 .draw-panel{padding:14px}
html .premium .draw4540 .window-row{padding:0 0 10px;border-bottom:1px solid var(--line)}
html .premium .draw4540 .window-row h3{margin:0 0 5px}
html .premium .draw4540 .window-status{white-space:nowrap}
html .premium .draw4540-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(78px,23%);gap:10px;align-items:center;padding-top:8px}
html .premium .draw4540-main{min-width:0}
html .premium .draw4540 .number-stage{min-height:0;padding:12px 0 8px}
html .premium .draw4540 .premium-balls.mark-six{display:grid;grid-template-columns:repeat(6,minmax(0,1fr)) 9px minmax(0,1fr);gap:5px;align-items:start}
html .premium .draw4540 .mark-six .number-unit{width:100%;max-width:65px;margin:auto}
html .premium .draw4540 .number-orbit b{font-size:clamp(13px,2.5vw,25px)}
html .premium .draw4540 .window-meta{gap:4px;flex-wrap:wrap}
html .premium .draw4540 .next-draw{margin-top:8px;padding:9px;min-height:0;gap:5px}
html .premium .draw4540-tools{display:grid;gap:8px;padding-left:9px;border-left:1px solid var(--line);min-width:0}
html .premium .draw4540-tools :is(a,button){display:flex;align-items:center;justify-content:center;gap:5px;text-align:center;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:9px;font-weight:650;font-size:13px;padding:9px 5px;min-height:40px;white-space:nowrap;text-decoration:none}
html .premium .draw4540-tools :is(a,button):hover{color:var(--accent);border-color:var(--accent)}
html .premium .draw4540-tools button:disabled{opacity:.6;cursor:default}
html .premium .draw4540-tools .ui-icon{width:17px;height:17px;flex:none}
html .premium .draw4540-lines{margin-top:11px;padding:9px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}
html .premium .draw4540-lines summary{cursor:pointer;font-weight:650}
html .premium .draw4540-lines summary .ui-icon{width:16px;height:16px;vertical-align:middle}
html .premium .draw4540-lines .draw-actions{margin:9px 0 0}
html .premium .draw4540-ready .draw4540-primary{display:none}
html .premium .draw4540-ready .mobile-live:has(.ml-body[hidden]){margin:0;border:0;padding:0}
html .premium .draw4540-ready .mobile-live .ml-toggle{display:none}
html .premium .draw4540 .mobile-live:has(.ml-body:not([hidden])){margin-top:12px}
html .premium .draw4540-source{margin:0 0 10px;font-size:12px}
@media(max-width:600px){
 html .premium .draw4540 .draw-panel{padding:11px 9px}
 html .premium .draw4540-grid{grid-template-columns:minmax(0,1fr) 76px;gap:7px}
 html .premium .draw4540-tools{padding-left:5px;gap:6px}
 html .premium .draw4540-tools :is(a,button){gap:3px;font-size:10px;padding:6px 3px;min-height:36px}
 html .premium .draw4540-tools .ui-icon{width:12px;height:12px}
 html .premium .draw4540 .premium-balls.mark-six{grid-template-columns:repeat(6,minmax(0,1fr)) 6px minmax(0,1fr);gap:2px}
 html .premium .draw4540 .number-orbit b{font-size:clamp(10px,3vw,17px)}
 html .premium .draw4540 .number-unit small{font-size:9px;white-space:normal;line-height:1.15}
 html .premium .draw4540 .number-unit.special .number-orbit{outline-offset:1px}
 html .premium .draw4540 .next-draw{padding:7px 5px;display:flex;flex-wrap:wrap}
 html .premium .draw4540 .next-icon{display:none}
 html .premium .draw4540 .next-draw small{font-size:9px}
 html .premium .draw4540 .next-draw b{font-size:10px}
 html .premium .draw4540 .next-clock strong{font-size:16px}
 html .premium .draw4540 .window-meta{font-size:10px}
}

/* Desktop inline live player, same proven controls and layout. */

@media(min-width:871px){
 .premium .draw4541 .mobile-live{display:block!important;margin:14px 0 0;border:1px solid var(--line);border-radius:13px;overflow:hidden;background:var(--panel,var(--window));}
 .premium .draw4541 .mobile-live [hidden]{display:none!important}
 .premium .draw4541 .mobile-live .ml-body{position:relative}
 .premium .draw4541 .mobile-live .ml-idle{overflow:hidden;position:relative;padding:16px 12px 12px;min-height:134px;text-align:center;color:#e9f2ff;background:radial-gradient(ellipse at 84% 5%,#194c5f 0%,transparent 67%),linear-gradient(122deg,#0d1d30,#16384a 100%)}
 .premium .draw4541 .ml-status-head{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:8px;font-size:10px;letter-spacing:.06em;color:#b2c5d4}
 .premium .draw4541 .ml-tag{display:inline-flex;align-items:center;gap:6px;font-weight:650;color:#83dccc}
 .premium .draw4541 .ml-tag i{width:7px;height:7px;border-radius:50%;background:#52b9b0;box-shadow:0 0 0 4px #52b9b023}
 .premium .draw4541 .ml-idle h4{font-size:17px;line-height:1.3;margin:15px 0 7px;color:#fff}
 .premium .draw4541 .ml-schedule{font-size:11px;line-height:1.55;color:#b8d1dd}
 .premium .draw4541 .ml-schedule b{display:inline-block;color:#eef8ff;font-weight:700;font-variant-numeric:tabular-nums}
 .premium .draw4541 .ml-drawtime{font-size:11px;color:#b8d1dd;line-height:1.6;margin-top:3px}.premium .draw4541 .ml-drawtime b{color:#eef8ff;font-weight:650}
 .premium .draw4541 .ml-message{margin:6px 0 10px;font-size:11px;color:#aac0ce;line-height:1.4}
 .premium .draw4541 .ml-ad:empty{display:none}
 .premium .draw4541 .ml-ad>.v30-ad-area{margin:9px 0 1px;max-width:100%;gap:5px}
 .premium .draw4541 .ml-ad .ad-item{padding:0;border:0;overflow:hidden;border-radius:8px;color:#e9f2ff;background:#102c3b}
 .premium .draw4541 .ml-ad .ad-item img{width:100%;height:auto;max-height:150px;object-fit:cover;display:block}
 .premium .draw4541 .ml-ad .ad-item:not(:has(img)){padding:8px 6px;font-size:12px}
 .premium .draw4541 .ml-ad .ad-device-mobile{display:none!important}
 .premium .draw4541 .ml-playing{background:#08121c}
 .premium .draw4541 .ml-stage{width:100%;aspect-ratio:16/9;background:#060d16;display:grid;place-items:center}
 .premium .draw4541 .ml-stage video,.premium .draw4541 .ml-stage iframe{display:block;width:100%;height:100%;border:0;object-fit:contain;background:#060d16}
 .premium .draw4541 .ml-tools{padding:9px 11px;display:flex;justify-content:space-between;align-items:center;gap:7px;color:#b2c5d4;font-size:11px}
 .premium .draw4541 .ml-tools a{color:#81e0c7;flex:none}
 .premium .draw4541 .ml-toggle{display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:42px;width:100%;border:0;border-top:1px solid var(--line);background:var(--window);color:var(--ink);padding:8px 12px;font-size:12px;border-radius:0;text-align:left}
 .premium .draw4541 .ml-toggle>span:first-child{display:flex;gap:6px;align-items:center;font-weight:650}
 .premium .draw4541 .ml-toggle .ui-icon{width:16px;height:16px;color:var(--accent)}
 .premium .draw4541 .ml-toggle small{color:var(--muted);font-size:10px;margin-left:auto}
 .premium .draw4541 .ml-chevron{width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);flex:none}
 .premium .draw4541 .ml-toggle[aria-expanded=true] .ml-chevron{transform:rotate(225deg)}
 .premium .draw4541 .ml-retry{display:block;margin:8px auto;padding:7px 14px;font-size:12px;color:var(--accent);border:1px solid var(--line);border-radius:8px;background:var(--window)}
}
@media(min-width:871px){
 .premium .draw4541 .ml-idle-links{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap}
 .premium .draw4541 .ml-idle-links a,.premium .draw4541 .ml-skip{color:#9ce9db;border:1px solid #72bfb34d;padding:6px 8px;border-radius:6px;background:#122b3b;font-size:11px;white-space:nowrap}
 .premium .draw4541 .ml-tools{flex-wrap:wrap}.premium .draw4541 .ml-tools [data-ml-status]{flex:1 1 120px}
}
@media(min-width:871px){
 .premium .draw4541 .ml-inline-ad{padding:0 9px}.premium .draw4541 .ml-inline-ad:has(>.v30-ad-area) {padding-top:4px}
 .premium .draw4541 .ml-inline-ad:empty{display:none}
 .premium .draw4541 .ml-ad .ml-ad-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .premium .draw4541 .ml-ad .ml-ad-grid .ad-item{min-width:0;margin:0;background:var(--panel2);border:1px solid color-mix(in srgb,var(--accent) 48%,var(--line));border-radius:8px;color:var(--ink)}
 .premium .draw4541 .ml-ad .ml-ad-grid .ad-item:nth-child(3n+2){border-color:#4588db;background:color-mix(in srgb,#4588db 14%,var(--panel))}
 .premium .draw4541 .ml-ad .ml-ad-grid .ad-item:nth-child(3n+3){border-color:#c58a3a;background:color-mix(in srgb,#c58a3a 14%,var(--panel))}
 .premium .draw4541 .ml-ad .ml-ad-grid .ad-item:not(:has(img)){padding:0;font-weight:700;font-size:13px}
 .premium .draw4541 .ml-ad .ml-ad-grid .ad-item>a:not(:has(img)){display:grid;place-items:center;min-height:40px;padding:7px;overflow-wrap:anywhere;color:var(--ink)}
 .premium .draw4541 .ml-ad .ml-ad-grid .ad-item:not(:has(a,img)){padding:10px 6px;overflow-wrap:anywhere}
 .premium .draw4541 .ml-ad .ml-ad-grid img{width:100%;max-height:140px;object-fit:contain}
}

html .premium .draw4541 .draw-switcher{padding:10px 12px 6px}
html .premium .draw4541 .draw4540-ready .mobile-live:has(.ml-body[hidden]){display:none!important}
html .premium .draw4541 .draw4540-ready .mobile-live:has(.ml-body:not([hidden])){display:block!important;margin:10px 0 0}
html .premium .draw4541 .draw4540-ready .mobile-live .ml-toggle{display:none!important}
html .premium .draw4541 .draw-panel[hidden]{display:none!important}
html .premium .draw4541 .draw4540-ready .draw4540-primary{display:none!important}
