    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: 'Segoe UI', Arial, sans-serif;
      background: #626365;
      color: #222;
    }

    header {
      background: linear-gradient(135deg, #2a6567, #043457);
      color: white;
      padding: 24px 32px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    header h1 {
      font-size: 28px;
      font-weight: 800;
      letter-spacing: 1px;
    }

    header nav a {
      color: rgba(255,255,255,0.85);
      text-decoration: none;
      font-weight: 600;
      font-size: 15px;
      padding: 8px 16px;
      border: 1px solid rgba(255,255,255,0.4);
      border-radius: 8px;
      transition: 0.2s;
    }

    header nav a:hover { background: rgba(255,255,255,0.15); }

    main {
      max-width: 1300px;
      margin: 0 auto;
      padding: 36px 20px;
    }

    main > h2 {
      font-size: 26px;
      font-weight: 800;
      margin-bottom: 8px;
      color: #003366;
    }

    .subtitulo {
      color: #fffefe;
      font-size: 15px;
      margin-bottom: 28px;
    }

    /* ---- GRUPOS ---- */
    .grupos-container {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 20px;
      margin-bottom: 48px;
    }

    .grupo-box {
      background: white;
      border-radius: 14px;
      box-shadow: 0 3px 12px rgba(0,0,0,0.08);
      overflow: hidden;
    }

    .grupo-header {
      background: linear-gradient(135deg, #2a6567, #043457);
      color: white;
      padding: 12px 18px;
      font-weight: 800;
      font-size: 16px;
      letter-spacing: 0.5px;
    }

    .team-card {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 18px;
      border-bottom: 1px solid #f0f0f0;
      transition: background 0.15s;
    }

    .team-card:last-child { border-bottom: none; }
    .team-card:hover { background: #f7f9ff; }

    .team-card img {
      width: 40px;
      height: 27px;
      object-fit: cover;
      border-radius: 4px;
      border: 1px solid #ddd;
      flex-shrink: 0;
    }

    .team-info {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .team-info h3 {
      font-size: 15px;
      font-weight: 600;
      color: #1a1a1a;
    }

    .btn-prob {
      padding: 5px 12px;
      border-radius: 8px;
      background: #2a6567;
      color: white;
      text-decoration: none;
      font-weight: 700;
      font-size: 12px;
      white-space: nowrap;
      cursor: pointer;
      border: none;
      transition: background 0.2s;
    }

    .btn-prob:hover { background: #2a6567; }
    .btn-prob.ativo { background: #e63946; }
    .btn-prob.ativo:hover { background: #c1121f; }

    /* ---- PAINÉIS DE PROBABILIDADE ---- */
    .painel-prob {
      display: none;
      margin-top: 0;
      background-color: rgb(145, 139, 139);
      border-radius: 14px;
      box-shadow: 0 6px 24px rgba(0,0,0,0.1);
      padding: 28px;
      animation: fadeIn 0.3s ease;
      border-top: 5px solid #2a6567;
    }

    .painel-prob.aberto { display: block; }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-8px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .painel-titulo {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 22px;
    }

    .painel-titulo img {
      width: 52px;
      height: 36px;
      object-fit: cover;
      border-radius: 6px;
      border: 1px solid #ddd;
    }

    .painel-titulo h2 {
      font-size: 22px;
      color: #feffff;
      font-weight: 800;
      
    }

    .fases-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 16px;
    }

    .fase {
      padding: 18px;
      background: #dadadd;
      border-radius: 12px;
      border-left: 5px solid #2a6567;
    }

    .fase h3 {
      font-size: 15px;
      font-weight: 800;
      color: #2a6567;
      margin-bottom: 4px;
    }

    .fase .prob-pct {
      font-size: 28px;
      font-weight: 900;
      color: #2a6567;
      margin-bottom: 10px;
    }

    .fase p {
      font-size: 13px;
      color: #666;
      margin-bottom: 8px;
    }

    .ranking-time {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 6px 0;
      font-size: 13px;
      color: #333;
      font-weight: 500;
    }

    .ranking-time img {
      width: 26px;
      height: 18px;
      object-fit: cover;
      border-radius: 3px;
      border: 1px solid #ddd;
    }

    /* Barra de probabilidade */
    .barra-container {
      background: #e8eef5;
      border-radius: 6px;
      height: 8px;
      margin-top: 6px;
      overflow: hidden;
    }

    .barra {
      height: 100%;
      border-radius: 6px;
      background: linear-gradient(135deg, #2a6567, #043457);
      transition: width 0.6s ease;
    }

    footer {
      text-align: center;
      padding: 24px;
      color: #888;
      font-size: 14px;
      border-top: 1px solid #ddd;
      margin-top: 40px;
    }

    /* Painel flutuante com link âncora */
    .anchor-spacer {
      height: 0;
    }