.comp-participants-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.comp-participants-table th,
.comp-participants-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}

.comp-participants-table th {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
    background: #f9fafb;
}

.comp-participant-category-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    margin: 0 6px 6px 0;
    border-radius: 999px;
    background: rgba(31, 67, 119, 0.1);
    color: rgb(31, 67, 119);
    font-size: 0.78rem;
    font-weight: 600;
}

.comp-participant-photo-ratio {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    font-weight: 600;
    color: #374151;
}

.comp-photo-ratio-legend {
    display: block;
    margin-top: 4px;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: #9ca3af;
    line-height: 1.3;
}

.comp-winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.comp-winner-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.comp-winner-card:hover {
    border-color: rgba(31, 67, 119, 0.35);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.1);
}

.comp-winner-photo-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.comp-profile-link {
    color: rgb(31, 67, 119);
    font-weight: 600;
    text-decoration: none;
}

.comp-profile-link:hover {
    text-decoration: underline;
}

.comp-gallery-item a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.comp-winner-photo-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #10213f;
}

.comp-winner-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.comp-winner-position-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgb(31, 67, 119);
    color: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
}

.comp-winner-body {
    padding: 14px;
}

.comp-winner-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}

.comp-winner-meta,
.comp-winner-title {
    font-size: 0.82rem;
    color: #6b7280;
}

.comp-winner-prize {
    margin-top: 8px;
    font-weight: 700;
    color: rgb(31, 67, 119);
}

.comp-winner-sponsor {
    margin-top: 4px;
    font-size: 0.78rem;
    color: #6b7280;
}

.comp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.comp-gallery-item {
    margin: 0;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.comp-gallery-item.is-winner {
    border-color: rgb(31, 67, 119);
    box-shadow: 0 0 0 2px rgba(31, 67, 119, 0.12);
}

.comp-gallery-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.comp-gallery-item figcaption {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.78rem;
    color: #4b5563;
}

.comp-gallery-author {
    font-weight: 600;
    color: #111827;
}

.comp-gallery-winner-tag {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(31, 67, 119, 0.12);
    color: rgb(31, 67, 119);
    font-weight: 700;
}
