* { box-sizing: border-box; }
html { background: #0b1725; }
body { margin: 0; background: #0b1725; color: #f5f8fc; font: 16px/1.35 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; }
.dashboard { width: 100%; max-width: 760px; min-height: 100vh; margin: 0 auto; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.card { background: #14263a; border: 1px solid #28415b; border-radius: 15px; padding: 15px; }
.top { display: flex; justify-content: space-between; align-items: center; min-height: 110px; background: linear-gradient(130deg, #173957, #14263a 70%); }
.clock { font-size: 58px; line-height: 1; font-weight: 700; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.date { margin-top: 8px; color: #c4d3e1; font-size: 17px; }
.weather { width: 54%; text-align: right; color: #c4d3e1; font-size: 13px; }
.temperature { font-size: 38px; font-weight: 700; color: #fff; }
h2 { margin: 0; font-size: 18px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.muted { color: #91a7bd; font-size: 12px; }
.tabs { display: flex; gap: 7px; margin: 0 0 9px; }
.tab { flex: 1; padding: 10px 4px; border: 1px solid #48627b; border-radius: 9px; background: #1d344b; color: #dce8f4; font: bold 14px -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; }
.tab.active { background: #76d9b4; border-color: #76d9b4; color: #10251f; }
.departure-row { display: flex; align-items: center; min-height: 47px; padding: 6px 3px; border-top: 1px solid #2a4055; }
.line-badge { display: inline-block; min-width: 45px; padding: 6px 4px; margin-right: 10px; text-align: center; border-radius: 7px; background: #f2c94c; color: #182436; font-weight: bold; }
.line-badge.tram { background: #76d9b4; } .line-badge.bus { background: #82b8f4; }
.destination { flex: 1; font-size: 15px; }
.platform { display: block; color: #91a7bd; font-size: 11px; }
.when { min-width: 66px; text-align: right; font-size: 20px; font-weight: bold; color: #fff; }
.when small { display: block; font-size: 10px; color: #91a7bd; font-weight: normal; }
.alerts { background: #1c2c3c; }
.alert-item { padding: 7px 0; border-top: 1px solid #34495d; font-size: 13px; }
.alert-item:first-child { border-top: 0; }.alert-item strong { color: #ffd477; }
.empty { color: #9db0c2; padding: 7px 0; font-size: 13px; }#status { padding: 2px 4px 8px; color: #728ba2; text-align: center; font-size: 11px; }
@media (max-width: 430px) { .dashboard { padding: 9px; gap: 8px; }.card { padding: 12px; }.clock { font-size: 48px; }.top { min-height: 100px; }.weather { width: 56%; }.tab { font-size: 12px; } }
@media (orientation: landscape) { .dashboard { max-width: 100%; } }
