/* Palette sampled from the supplied Dear Lottery result sheet: indigo, yellow, red, cyan and green. */
:root{--saffron:#ed1b24;--saffron-dark:#b91420;--forest:#21117d;--ink:#191b32;--muted:#767889;--line:#e2e4ef;--paper:#fff;--ivory:#f7f8fc}
body{background:var(--ivory);color:var(--ink)}
header{background:#21117d;border-bottom:1px solid #21117d;box-shadow:0 2px 12px #21117d0a}
body .logo{color:var(--forest)}
.menu-button{background:#fff;color:var(--forest);border:1px solid #5446a3;border-radius:8px}
.menu-button:hover{background:#342391}
body h1{color:#21117d;letter-spacing:-.6px}
h2{color:var(--ink)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline-color:#00a4df}
body .slot-tabs{gap:8px;padding:4px;background:#edecf6;border-radius:8px}
body .slot-tabs a{background:transparent;border:1px solid transparent;color:#69627e;border-radius:6px;padding:7px 9px;font-size:16px}
body .slot-tabs a.active{background:var(--forest);border:1px solid var(--forest);padding:7px 9px;color:#fff;box-shadow:0 2px 5px #21117d20}
body .slot-tabs a:hover{border-color:#c4bfdf;color:var(--forest)}
body .slot-tabs a.active:hover{color:#fff;border-color:var(--forest)}
body .date-line input{background:#fff;border-color:var(--line);color:#4f496b;border-radius:6px}
body .date-line label,body .text-button{color:#746d87}
body .text-button:hover{color:var(--saffron-dark)}
body .result-card{box-shadow:0 3px 14px #21117d08;border-radius:8px;overflow:hidden}
body .result-card:not(.evening):not(.night){--accent:#21117d;--tint:#f0f6ef;background:var(--tint);border-color:#d4e5d6}
body .result-card.evening{--accent:#0788bd;--tint:#edf8fd;border-color:#c9e9f5}
body .result-card.night{--accent:#d81927;--tint:#fff1f2;border-color:#f3cdd2}
body .result-card:not(.evening):not(.night) .slot-flag{background:#21117d;color:#fff}
body .result-card .slot-flag{border-radius:0}
body .result-card:not(.evening):not(.night) .prize-heading{background:transparent;color:#21117d}
body .result-card .prize-value{color:var(--accent);background:#fff;border-color:var(--line)}
body .actions .action{background:#fff;border:1px solid var(--line);border-radius:6px;color:#494369}
body .actions #pdf{background:#fffde0;border-color:#ece48c;color:var(--saffron-dark)}
body .actions .action:hover{border-color:#b7b0d6;background:#f2f0fa}
body .actions #pdf:hover{background:#fff8a5;border-color:#d9cb46}
body .telegram-card{background:#eef9ff;border:1px solid #c9e9f7;border-radius:10px;color:var(--forest);padding:22px 20px}
body .telegram-card .telegram-label{color:#4785a6;font-size:9px;letter-spacing:1.7px}
body .telegram-card h2{color:var(--forest);font-size:22px}
body .telegram-card p{color:#638299}
body .telegram-card>a{background:var(--forest);border:1px solid var(--forest);color:#fff;border-radius:6px}
body .telegram-card>a:hover{background:#342391}
body .telegram-demo{color:#6e879e}
body .history-section,.monthly-chart{border:1px solid var(--line);background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 3px 14px #21117d06}
body .history-section>.section-top,.monthly-chart h2{background:#21117d;color:var(--saffron-dark);border-bottom:1px solid #21117d}
body .history-section>.section-top h2{color:var(--saffron-dark)}
body .history-section .small-tag{color:#cbc4ee}
.chart-labels,.monthly-chart thead th{background:#fff200;color:#21117d;border-color:#e1d756}
body .history-date-group{border-color:var(--line)}
body .history-date-group:nth-child(even),.monthly-chart tbody tr:nth-child(even){background:#f8f8fd}
body .history-date-group h3,.monthly-chart tbody th{color:#77728c;background:transparent}
body .history-slot{border-left-color:#e9e7f1}
body .history-slot strong,.monthly-chart td a{color:#21117d}
body .history-slot:hover{background:#fffde5}
.monthly-chart th,.monthly-chart td{border-color:#e9e7f1}
.monthly-chart caption{color:#7f7993}
.history-size,.month-picker{color:#7f7993}
.history-size select,.month-picker select{background:#fff;color:#21117d;border-color:var(--line);border-radius:5px}
.history-pagination button{background:#f6f5fb;color:#21117d;border-color:#ded9ed;border-radius:5px}
.history-pagination button:hover:not(:disabled){background:#eeebf9;border-color:#bdb5da}
body .prizes,.ticket-check{border:1px solid var(--line);border-radius:8px;background:#fff}
.prizes>.section-top{border-color:var(--line);background:#f8f7fd}
.prize-row{border-color:#e9e7f1}
.prize-label{color:#30264f}
.amount{color:#8c4261}
.numbers span{background:#f8f8fc;border-color:#e7e5f1;color:#40365a;border-radius:3px}
.input-row input{background:#fff;border-color:var(--line);border-radius:5px}
.input-row button{background:var(--saffron);color:#fff;border-radius:5px}
.input-row button:hover{background:var(--saffron-dark)}
body .schedule{background:#f6f6fc;border:1px solid #e3dfef;border-radius:8px}
.schedule-grid>div{border-color:#e1dced}
.schedule-grid strong{color:#21117d}
.green{background:#21117d}.blue{background:#0788bd}.red{background:#d81927}
.about p,.about ol{color:#747087}
.about details{border-color:var(--line)}
summary{color:#41365d}
.page-links a{background:#fff;border-color:var(--line);color:#21117d;border-radius:5px}
.page-links a:hover{background:#f2effb;border-color:#c5bbdf}
.breadcrumbs,.breadcrumbs a{color:#817792}
footer{background:#18105a;color:#ece9ff;border-top:3px solid #fff200}
.footer-logo{color:#fff200}
footer p,.footer-bottom{color:#b0a8cf}
.footer-bottom{border-top-color:#ffffff17}
.footer-bottom a{color:#e7e0ff}
.drawer-head{background:#21117d;color:#fff200}
.drawer-head button{color:#fff200}
.drawer-icon{background:#eeecfa;color:#21117d}
.drawer-sub .drawer-icon{background:#fff8c4;color:#b91420}
nav.drawer .drawer-sub{border-left-color:#fff200}
nav.drawer .drawer-link:hover,nav.drawer .drawer-link[aria-current=page]{background:#fffde5}
nav.drawer .drawer-link{color:#362b55;border-bottom-color:#f0edf6}
nav.drawer .drawer-dates a{border-color:var(--line);color:#46395f;box-shadow:none;border-radius:6px}
.drawer-dates svg{color:#21117d}
nav.drawer .drawer-dates a:hover{background:#fffde5;border-color:#e1d344}
nav.drawer .drawer-guides a{color:#7d728d}
#image-viewer{background:#f4f3fa}
#image-viewer .viewer-toolbar{background:#21117d;color:#fff200}
#image-viewer .viewer-toolbar h2{color:#fff200}
#image-viewer .viewer-toolbar button{color:#fff200;border-color:#ffffff35;background:#ffffff10}
#image-viewer .viewer-bottom .action{background:#fffde0;color:#b91420;border-color:#ece48c}
#image-viewer .viewer-bottom>a:last-child{color:#21117d}
.verification-note,.hint{color:#8a8199}
body .status.error{color:#b91420;background:#fff1f2;border-color:#f0cbd0}


/* Sheet-inspired blue and yellow hierarchy. */
body .logo{color:#fff200}
.menu-button{background:#21117d;color:#fff200;border-color:#fff200}
.menu-button:hover{background:#35218e}
body .slot-tabs a.active{color:#fff200}
body .slot-tabs a.active:hover{color:#fff200}
body .history-section>.section-top,body .history-section>.section-top h2,.monthly-chart h2{color:#fff200}
body .telegram-card h2{color:#21117d}
body .telegram-card>a{background:#079cd5;border-color:#079cd5;color:#fff}
body .telegram-card>a:hover{background:#067eaf}
body .actions #pdf{color:#21117d;background:#fff9b9;border-color:#e8dc71}
body .result-card:not(.evening):not(.night){--accent:#086b3a;--tint:#edf7ef;border-color:#cbe4d2}
body .result-card:not(.evening):not(.night) .slot-flag{background:#086b3a;color:#fff}
body .result-card:not(.evening):not(.night) .prize-heading{color:#086b3a}
body .result-card.evening{--accent:#0788bd;--tint:#edf8fd}
body .result-card.night{--accent:#d81927;--tint:#fff1f2}
.green{background:#086b3a}.blue{background:#0788bd}.red{background:#d81927}
.input-row button{background:#ed1b24;color:#fff}
.input-row button:hover{background:#c4111c}
