/* ---------- Prode F1 ---------- */
.prode { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.prode .block { margin-bottom: 20px; }
.pr-box { border: 1px solid var(--line); border-top: 0; background: #0c0c0c; border-radius: 0 0 var(--radius) var(--radius); padding: 16px; }
.pr-account .pr-tabs { display: flex; margin: -16px -16px 16px; border-bottom: 1px solid var(--line); }
.pr-tabs button {
  flex: 1; background: var(--panel); border: 0; padding: 11px; font-size: 12px; font-weight: 900; letter-spacing: .08em;
  color: var(--muted); cursor: pointer;
}
.pr-tabs button.is-active { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); background: var(--panel-2); }
.pr-auth, .pr-form { display: grid; gap: 12px; }
.prode label { display: grid; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.prode input, .prode select {
  font: inherit; font-size: 15px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--text);
  background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 10px 12px; width: 100%;
}
.prode input:focus, .prode select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.prode select:disabled { opacity: .5; }
.prode .btn { border: 0; cursor: pointer; justify-self: start; }
.pr-msg { margin: 0; font-size: 13px; font-weight: 700; }
.pr-msg.ok { color: #4ade80; }
.pr-msg.err { color: #ff6b6b; }
.pr-hint { margin: 0; font-size: 12.5px; color: var(--dim); }
.pr-hello { font-size: 15px; margin-bottom: 8px; }
.pr-link { background: none; border: 0; color: var(--accent); font-weight: 800; font-size: 12px; letter-spacing: .06em; cursor: pointer; padding: 0; text-transform: uppercase; }
.pr-race { margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pr-race h3 { font-size: 22px; font-weight: 900; text-transform: uppercase; margin: 6px 0 4px; }
.pr-race p { margin: 0; color: var(--muted); font-size: 13.5px; }
.pr-race .pr-close { margin-top: 8px; color: var(--text); }
.pr-race .pr-close strong { color: var(--accent); }
.pr-form { grid-template-columns: 1fr 1fr; }
.pr-form label:first-child, .pr-form .arg, .pr-form .pr-actions { grid-column: 1 / -1; }
.pr-form .p1 { grid-column: 1 / -1; }
.pr-form .podium { padding-left: 10px; border-left: 3px solid #555; }
.pr-form .p1 { border-left-color: #f5c400; }
.pr-form .p2 { border-left-color: #c0c0c0; }
.pr-form .p3 { border-left-color: #cd7f32; }
.pr-form .arg { padding-left: 10px; border-left: 3px solid var(--argentina); }
.pr-actions { display: grid; gap: 10px; }
.pr-rules { margin: 0; padding: 0; list-style: none; font-size: 13.5px; }
.pr-rules li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #191919; }
.pr-rules li:last-child { border-bottom: 0; }
.pr-rules b { color: var(--accent); white-space: nowrap; }
.pr-scroll { overflow-x: auto; }
.pr-table td small { display: block; color: var(--dim); font-size: 11px; font-weight: 600; }
.pr-table td em { font-style: normal; font-size: 11px; font-weight: 900; color: var(--accent); margin-left: 4px; }
.pr-table td.hit { color: #4ade80; font-weight: 800; }
.pr-table td.half { color: #facc15; font-weight: 700; }
.pr-table .muted, .prode .muted { color: var(--dim); }
.standings tr.is-me { background: color-mix(in srgb, var(--accent) 10%, #0c0c0c); }
.standings tr.is-me td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.prode.is-loading .pr-box { opacity: .6; }
@media (max-width: 1000px) { .prode { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .pr-form { grid-template-columns: 1fr; } }
