/* UI28: category colors, black closed cards, key-panel heading highlights, plain Agent sidebar toggle. */
html[data-exlot-theme] .member-workspace .lottery-card[data-lottery-category] {--lc-bg:#782737;--lc-fg:#fff4f5;--lc-line:#b66574}
html[data-exlot-theme] .member-workspace .lottery-card[data-lottery-category='หวยไทย'] {--lc-bg:#244a70;--lc-fg:#f6f9fc;--lc-line:#7096b9}
html[data-exlot-theme] .member-workspace .lottery-card[data-lottery-category='หวยรายวัน'] {--lc-bg:#68615d;--lc-fg:#fff9f4;--lc-line:#a79b90}
html[data-exlot-theme] .member-workspace .lottery-card[data-lottery-category='หวยหุ้น'] {--lc-bg:#eeeae2;--lc-fg:#253442;--lc-line:#a9a9a4}
html[data-exlot-theme='dark'] .member-workspace .lottery-card[data-lottery-category='หวยหุ้น'] {--lc-bg:#d9d8d2}
html[data-exlot-theme] .member-workspace .lottery-card[data-lottery-category='หวยหุ้น VIP'] {--lc-bg:#d8bb75;--lc-fg:#30260e;--lc-line:#9d7c32}
html[data-exlot-theme] .member-workspace .lottery-grid .lottery-card[data-lottery-category][data-card-state][data-lottery-id] {
  background:var(--lc-bg)!important;color:var(--lc-fg)!important;border-color:var(--lc-line)!important;
  background-image:none!important;box-shadow:none!important;text-shadow:none!important;filter:none!important;opacity:1!important;
}
html[data-exlot-theme] .member-workspace .lottery-grid .lottery-card[data-lottery-category][data-card-state='unknown'] {--lc-bg:#414c58;--lc-fg:#f1f5f9;--lc-line:#8392a3}
html[data-exlot-theme] .member-workspace .lottery-grid .lottery-card[data-lottery-category][data-card-state='closed'] {--lc-bg:#000000;--lc-fg:#d6dee8;--lc-line:#363f49}
html[data-exlot-theme] .member-workspace .lottery-grid .lottery-card[data-lottery-category] :is(h3,.lottery-card-top>div>span,.countdown,.close-badge,.ex23-half-label) {color:var(--lc-fg)!important;text-shadow:none!important;opacity:1!important}
html[data-exlot-theme] .member-workspace .lottery-grid .lottery-card[data-lottery-category] .close-badge {background:transparent!important;border-color:currentColor!important}
html[data-exlot-theme] .member-workspace .lottery-grid .lottery-card[data-lottery-category][data-has-half=true]:not([data-card-state='closed']) {border-color:#ba954b!important}
html[data-exlot-theme] .member-workspace .lottery-grid .lottery-card[data-lottery-category] .ex23-half-label {text-decoration:underline;text-decoration-color:currentColor;text-underline-offset:3px}
html[data-exlot-theme='light'] :is(.member-workspace,.agent-workspace) .key-bet-page {--kh-rate:#e3edf6;--kh-rate-ink:#233e57;--kh-rule:#f3e4e7;--kh-rule-ink:#6d2733;--kh-recent:#f2ead8;--kh-recent-ink:#5a451c;--kh-stat:#e7e9ec;--kh-stat-ink:#344354;--kh-select:#ffffff}
html[data-exlot-theme='dark'] :is(.member-workspace,.agent-workspace) .key-bet-page {--kh-rate:#22384b;--kh-rate-ink:#e6f1fb;--kh-rule:#462a33;--kh-rule-ink:#ffe4e9;--kh-recent:#403723;--kh-recent-ink:#ffeec5;--kh-stat:#2d3642;--kh-stat-ink:#eef2f7;--kh-select:#1b2733}
html[data-exlot-theme] :is(.member-workspace,.agent-workspace) .key-bet-page .key-rate-panel>.key-side-heading {--kh-bg:var(--kh-rate);--kh-ink:var(--kh-rate-ink)}
html[data-exlot-theme] :is(.member-workspace,.agent-workspace) .key-bet-page .key-rule-panel>.key-closed-title {--kh-bg:var(--kh-rule);--kh-ink:var(--kh-rule-ink)}
html[data-exlot-theme] :is(.member-workspace,.agent-workspace) .key-bet-page .key-recent-bills>.key-recent-title {--kh-bg:var(--kh-recent);--kh-ink:var(--kh-recent-ink)}
html[data-exlot-theme] :is(.member-workspace,.agent-workspace) .key-bet-page .key-statistics>.key-closed-title {--kh-bg:var(--kh-stat);--kh-ink:var(--kh-stat-ink)}
html[data-exlot-theme] :is(.member-workspace,.agent-workspace) .key-bet-page :is(.key-rate-panel>.key-side-heading,.key-rule-panel>.key-closed-title,.key-recent-bills>.key-recent-title,.key-statistics>.key-closed-title) {background:var(--kh-bg)!important;color:var(--kh-ink)!important;background-image:none!important;box-shadow:none!important;text-shadow:none!important}
html[data-exlot-theme] :is(.member-workspace,.agent-workspace) .key-bet-page :is(.key-rate-panel>.key-side-heading,.key-rule-panel>.key-closed-title,.key-recent-bills>.key-recent-title,.key-statistics>.key-closed-title) :is(b,strong,span,small,label) {color:var(--kh-ink)!important;opacity:1!important}
html[data-exlot-theme] :is(.member-workspace,.agent-workspace) .key-bet-page .key-rate-panel>.key-side-heading select {background:var(--kh-select)!important;color:var(--kh-ink)!important;border-color:currentColor!important}
html[data-exlot-theme]:has(.agent-workspace) .topbar [data-slot='sidebar-trigger'] {background:transparent!important;border:0!important;box-shadow:none!important;opacity:1!important}
html[data-exlot-theme='light']:has(.agent-workspace) .topbar [data-slot='sidebar-trigger'] {color:#17212c!important}
html[data-exlot-theme='dark']:has(.agent-workspace) .topbar [data-slot='sidebar-trigger'] {color:#f1f5f9!important}
html[data-exlot-theme='light']:has(.agent-workspace) .topbar [data-slot='sidebar-trigger']:hover {background:#e8edf2!important}
html[data-exlot-theme='dark']:has(.agent-workspace) .topbar [data-slot='sidebar-trigger']:hover {background:#2d3742!important}
