<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>F1 Overlay</title>
<link href="https://fonts.googleapis.com/css2?family=Titillium+Web:wght@600;700;900&display=swap" rel="stylesheet">
<style>
    html, body { margin: 0; background: transparent; overflow: hidden;
        font-family: "Titillium Web", "Segoe UI", sans-serif; color: #fff;
        -webkit-font-smoothing: antialiased; }
    .wrap { padding: 10px; display: inline-block; }
    .hud {
        display: flex; gap: 0; background: rgba(10,10,18,0.82);
        border: 1px solid rgba(255,255,255,0.08); border-radius: 10px;
        border-left: 4px solid #e10600; overflow: hidden;
        backdrop-filter: blur(3px);
    }
    .hud .c { padding: 8px 14px; text-align: center; border-right: 1px solid rgba(255,255,255,0.07); }
    .hud .c:last-child { border-right: none; }
    .hud .k { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #9a9ab2; }
    .hud .v { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
    .hud .v small { font-size: 12px; color: #9a9ab2; }
    .drs-on { color: #2ecc71; } .drs-ready { color: #ffd400; } .drs-off { color: #555; }
    .rain-soon { color: #8fd0ff; }
    .tyre { display:inline-flex; align-items:center; justify-content:center;
        width: 30px; height: 30px; border-radius: 50%; border: 3px solid #888;
        font-weight: 900; font-size: 13px; }
    .wear { display:flex; gap:3px; justify-content:center; margin-top:4px; }
    .wear span { width: 16px; height: 5px; border-radius: 2px; }

    .tower { margin-top: 8px; background: rgba(10,10,18,0.82);
        border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; overflow: hidden;
        backdrop-filter: blur(3px); width: 320px; }
    .trow { display: flex; align-items: center; height: 30px; font-size: 13px;
        border-bottom: 1px solid rgba(255,255,255,0.05); }
    .trow:last-child { border-bottom: none; }
    .trow.me { background: rgba(225,6,0,0.22); }
    .trow .bar { width: 4px; height: 30px; }
    .trow .pos { width: 26px; text-align: center; font-weight: 800; }
    .trow .nm { flex: 1; font-weight: 700; text-transform: uppercase; overflow: hidden;
        white-space: nowrap; text-overflow: ellipsis; }
    .trow .ty { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #888;
        margin: 0 6px; font-size: 9px; display:flex; align-items:center; justify-content:center; font-weight:900; }
    .trow .gp { width: 64px; text-align: right; padding-right: 10px;
        font-variant-numeric: tabular-nums; color: #cfcfe0; }
    .offline { background: rgba(10,10,18,0.82); border-radius: 10px; padding: 10px 16px;
        color: #9a9ab2; font-size: 13px; border-left: 4px solid #e10600; }
    .ev-flash { margin-top: 8px; width: 320px; background: rgba(10,10,18,0.88);
        border: 1px solid rgba(255,255,255,0.08); border-left: 4px solid #e10600;
        border-radius: 8px; padding: 7px 12px; font-size: 13px; display: flex;
        align-items: center; gap: 8px; }
    .ev-flash.warning { border-left-color: #ffd400; }
    .ev-flash.retire { border-left-color: #9a9ab2; }
    .ev-flash.info { border-left-color: #2ecc71; }
    .ev-flash .ev-car { font-weight: 800; text-transform: uppercase; }
    .ev-flash .ev-msg { color: #cfcfe0; }
</style>
</head>
<body>
<div class="wrap">
    <div id="hud" class="hud"></div>
    <div id="ev-flash"></div>
    <div id="tower" class="tower"></div>
</div>
<script src="/static/overlay.js"></script>
</body>
</html>
