body {
    margin: 0;
    padding: 0;
    background: #07111f;
    color: #f5f7fb;
    font-family: Inter, Arial, sans-serif;
}

.embed-wrap {
    padding: 18px;
}

.embed-header {
    margin-bottom: 18px;
}

.embed-eyebrow {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.65;
    margin-bottom: 6px;
}

.embed-header h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1.15;
}

.embed-header p {
    margin: 8px 0 0;
    opacity: 0.7;
}

.embed-card {
    margin-bottom: 18px;
    padding: 22px;
    border-radius: 22px;
    background: rgba(10, 16, 28, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.embed-card h2 {
    margin: 0 0 18px;
    font-size: 22px;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.award-card {
    text-align: center;
    padding: 22px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.award-medal {
    font-size: 42px;
    line-height: 1;
    margin-bottom: 10px;
}

.award-position {
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 8px;
}

.award-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.award-club {
    font-size: 13px;
    opacity: 0.75;
    margin-bottom: 10px;
}

.award-time {
    font-size: 16px;
    font-weight: 700;
}

.embed-footer {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 12px;
    opacity: 0.65;
}

.embed-footer a {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}

.embed-footer a:hover {
    opacity: 1;
}

@media (max-width: 800px) {
    .embed-wrap {
        padding: 12px;
    }

    .awards-grid {
        grid-template-columns: 1fr;
    }

    .embed-header h1 {
        font-size: 22px;
    }
}
.embed-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.embed-table {
    width: 100%;
    border-collapse: collapse;
}

.embed-table th,
.embed-table td {
    padding: 13px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.embed-table th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.65;
}

.embed-table td {
    font-size: 14px;
}

.bib-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .embed-table th,
    .embed-table td {
        padding: 11px 9px;
        font-size: 13px;
    }
}
.embed-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.embed-status-oncourse {
    background: rgba(59, 130, 246, 0.18);
}

.embed-status-finished {
    background: rgba(34, 197, 94, 0.18);
}

.embed-status-dnf {
    background: rgba(239, 68, 68, 0.18);
}

.embed-status-live {
    background: rgba(245, 158, 11, 0.22);
}
.embed-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.embed-form-grid label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
    opacity: 0.8;
}

.embed-form-grid input,
.embed-form-grid select {
    width: 100%;
    height: 46px;
    box-sizing: border-box;
    padding: 0 13px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #f5f7fb;
    font-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.embed-form-grid input:focus,
.embed-form-grid select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.28);
}

.embed-form-grid option {
    color: #111827;
}

.embed-form-actions {
    margin-top: 20px;
}

.embed-form-actions button {
    width: 100%;
    padding: 14px 18px;
    border: 0;
    border-radius: 14px;
    background: #f5f7fb;
    color: #07111f;
    font-weight: 800;
    cursor: pointer;
}

.embed-alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 700;
}

.embed-alert-error {
    background: rgba(239, 68, 68, 0.16);
    border: 1px solid rgba(239, 68, 68, 0.28);
}

@media (max-width: 700px) {
    .embed-form-grid {
        grid-template-columns: 1fr;
    }
}

.embed-form-grid > div {
    display: flex;
    flex-direction: column;
}

.embed-form-grid label {
    min-height: 20px;
}

.embed-checkboxes {
    margin-top: 22px;
}

.embed-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    line-height: 1.5;
    font-size: 14px;
}

.embed-checkbox input {
    margin-top: 3px;
}

.embed-checkbox a {
    color: #93c5fd;
    text-decoration: none;
}

.embed-checkbox a:hover {
    text-decoration: underline;
}