:root{color-scheme:dark;font-family:system-ui,-apple-system,Segoe UI,sans-serif;background:#08121e;color:#e6eef5;font-size:15px}*{box-sizing:border-box}body{margin:0}main{max-width:1080px;margin:auto;padding:20px}header,.row,.connection{display:flex;justify-content:space-between;align-items:center;gap:12px}header{margin:5px 0 24px}header small{color:#73a2b7;font-size:10px;letter-spacing:.12em}h1{font-size:27px;margin:5px 0}h2{font-size:18px;margin:0 0 12px}.card{background:#102031;border:1px solid #263b50;border-radius:16px;padding:20px;margin:16px 0}.badge{display:inline-block;border-radius:7px;background:#173c41;color:#84e6c4;padding:7px 10px;font-size:10px;letter-spacing:.06em;white-space:nowrap}.connection{font-size:12px;color:#91b5cb;padding:0 3px}.connection .offline,.error{color:#ffadad}.hint,footer{color:#92aabd;font-size:12px;line-height:1.6}.clock{display:flex;align-items:baseline;gap:14px;margin:20px 0 12px}.clock strong{font-size:38px;font-variant-numeric:tabular-nums}.clock span{color:#55dcad}progress{width:100%;height:11px;accent-color:#23c58e}#raceDetails,#marketVolume{color:#a3bfce;font-size:13px}.wallet{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.wallet>div{padding:18px;background:#102031;border:1px solid #263b50;border-radius:12px}.wallet small{display:block;color:#8eadc1;font-size:11px;margin-bottom:9px}.wallet strong{font-size:20px;font-variant-numeric:tabular-nums}.switches{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}button,input,select{font:inherit;border-radius:9px;padding:11px 13px}button{border:1px solid transparent;background:#19bd8b;color:#06261c;font-weight:650;cursor:pointer;min-height:44px}button:disabled{opacity:.42;cursor:default}.switch{font-size:12px;background:#172c40;color:#c4d3de;border-color:#324c65}.switch.on{background:#184a3c;color:#8df0c7;border-color:#288166}.wide{width:100%;margin-bottom:16px}.wide.running{background:#d4a447;color:#2e2109}.fields{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#b0c7d7}input,select{min-width:0;width:100%;border:1px solid #3a5068;background:#0b1726;color:#eef5fa;min-height:44px}input:focus,select:focus{outline:2px solid #21bb8d}form .row{margin:16px 0}#commandNote{font-size:13px;min-height:22px;color:#8af0c6;overflow-wrap:anywhere}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;color:#8aabbe;font-weight:500;padding:10px 8px;white-space:nowrap}td{padding:12px 8px;border-top:1px solid #22364a;white-space:pre-line;vertical-align:top;line-height:1.5}td:nth-last-child(-n+2){font-variant-numeric:tabular-nums}.schedule{display:flex;gap:10px;flex-wrap:wrap}.schedule span{padding:12px;background:#162c40;border-radius:9px;font-size:13px}footer{padding:12px 3px 30px}.race .row h2{margin:0}#loginBox{max-width:480px;margin:50px auto}#loginBox form{display:grid;gap:16px}#loginBox p{color:#9bb5c7;font-size:13px;line-height:1.6}@media(max-width:650px){main{padding:14px}.card{padding:16px}h1{font-size:23px}.wallet{grid-template-columns:repeat(2,1fr)}.wallet>div{padding:14px}.wallet strong{font-size:19px}.fields{grid-template-columns:repeat(2,1fr);gap:12px}.switches{display:grid;grid-template-columns:1fr;width:100%}.switch{text-align:left}.badge{font-size:9px}header>.badge{max-width:90px;text-align:center;white-space:normal}#updated{font-size:10px}.clock strong{font-size:34px}}

/* Acompanhamento em destaque, acima dos controlos do robo. */
.robot-summary {display:grid;gap:10px;padding:16px;margin:0 0 24px;border:1px solid #3f7186;border-radius:14px;background:#0b1c2a;font-family:system-ui,sans-serif;min-width:0}
.robot-summary>div {margin:0;padding:14px 16px;border-radius:9px;border-left:4px solid #5bc8f4;font-size:19px;line-height:1.5;font-weight:600;overflow-wrap:anywhere;min-width:0}
.robot-summary>div:empty {display:none}
.robot-summary #robotLast,.robot-summary #previousRace {background:#30281c;border-color:#edbd61;color:#ffe1a6;font-size:18px}
.robot-summary #robotCandidates {background:#142e46;color:#f1f8ff;font-size:22px;font-weight:700}
.robot-summary .robot-odd {color:var(--amber,#f59e0b);white-space:nowrap}
.robot-summary #robotLive {background:#172a3b;color:#d9ecff;font-size:20px;font-variant-numeric:tabular-nums}
.robot-summary #robotLive[data-active="true"] {background:#103b31;border-color:#43e3ad;color:#9dffd5}
@media(max-width:650px){.robot-summary{padding:10px;gap:8px}.robot-summary>div{padding:12px}.robot-summary #robotCandidates{font-size:20px}.robot-summary #robotLive{font-size:18px}.robot-summary #robotLast,.robot-summary #previousRace{font-size:17px}}
