:root{color-scheme:light dark}
.theme-control{position:fixed;right:12px;bottom:12px;z-index:1000;display:flex;align-items:center;gap:7px;padding:7px 9px;border:1px solid #777;border-radius:9px;background:#fff;color:#161616;box-shadow:0 2px 10px rgba(0,0,0,.24);font:600 12px/1.2 Arial,sans-serif}
.theme-control select{min-height:30px;padding:3px 25px 3px 7px;border:1px solid #aaa;border-radius:6px;background:#fff;color:#111;font:inherit}
.site-language-control{position:fixed;left:12px;bottom:12px;z-index:1000;display:flex;align-items:center;gap:7px;padding:7px 9px;border:1px solid #777;border-radius:9px;background:#fff;color:#161616;box-shadow:0 2px 10px rgba(0,0,0,.24);font:600 12px/1.2 Arial,sans-serif}
.site-language-control select{min-height:30px;padding:3px 25px 3px 7px;border:1px solid #aaa;border-radius:6px;background:#fff;color:#111;font:inherit}
html[data-theme="dark"] body{background:#111;color:#eee}
html[data-theme="dark"] a{color:#ffb1b1}
html[data-theme="dark"] .container,html[data-theme="dark"] main,html[data-theme="dark"] footer{color:#eee}
html[data-theme="dark"] .outerbox,html[data-theme="dark"] .card,html[data-theme="dark"] .panel,html[data-theme="dark"] .search-panel,html[data-theme="dark"] .entry-card,html[data-theme="dark"] .content-card,html[data-theme="dark"] .footsec{background:#1d1d1d;color:#eee;border-color:#555}
html[data-theme="dark"] table,html[data-theme="dark"] td,html[data-theme="dark"] th{border-color:#666}
html[data-theme="dark"] .resultbottom,html[data-theme="dark"] .resulttop,html[data-theme="dark"] .resultdrawdate,html[data-theme="dark"] .result5dprizelable,html[data-theme="dark"] .bonuscell{background:#202020!important;color:#f4f4f4!important}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#202020;color:#f4f4f4;border-color:#777}
html[data-theme="dark"] .theme-control{background:#222;color:#f5f5f5;border-color:#888}
html[data-theme="dark"] .theme-control select{background:#171717;color:#fff;border-color:#888}
html[data-theme="dark"] .site-language-control{background:#222;color:#f5f5f5;border-color:#888}
html[data-theme="dark"] .site-language-control select{background:#171717;color:#fff;border-color:#888}
@media(max-width:520px){.theme-control{right:8px;bottom:8px}.site-language-control{left:8px;bottom:8px}.theme-control span,.site-language-control span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}
