.participants-page {
    padding-block: 60px 80px;
}

.participants-page h1 {
    font-family: Impact, 'Arial Narrow', sans-serif;
    letter-spacing: .5px;
    margin: 10px 0 20px;
}

.participants-intro {
    max-width: 640px;
}

.group-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 40px;
}

.group-links a {
    padding: 9px 23px;
    border: 1px solid var(--line);
    border-radius: 30px;
    font-size: 13px;
}

.group-links a:hover {
    border-color: var(--green);
    color: var(--green);
}

.participant-group {
    margin-top: 45px;
}

.group-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 24px;
    padding-bottom: 16px;
}

.group-heading h2 {
    margin: 0;
    font-size: 30px;
}

.group-heading h2 span {
    color: var(--green);
}

.participant-group:nth-of-type(even) .group-heading h2 span {
    color: var(--pink);
}

.group-heading p {
    margin: 0;
    font-size: 12px;
}

.participant-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
    padding: 0;
}

.participant-card {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(130deg, #13291e, #0b0f0d);
}

.participant-card img {
    width: 58px;
    height: 66px;
    object-fit: contain;
    flex: 0 0 auto;
}

.participant-initial {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    height: 58px;
    background: #203f30;
    color: var(--green);
    border-radius: 12px;
    font: 27px Impact, sans-serif;
}

.participant-card h3 {
    margin: 0;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.participant-card p {
    font-size: 10px;
    margin: 4px 0 0;
}

@media (max-width: 1000px) {
    .participant-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .participant-list {
        grid-template-columns: 1fr;
    }

    .participants-page {
        padding-top: 35px;
    }
}

/* Tarjetas con retratos amplios; los originales permanecen intactos. */
.participant-card {
    display: block;
    padding: 0;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}

.participant-card:hover {
    border-color: #548368;
    box-shadow: 0 8px 25px #0003;
}

.participant-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: radial-gradient(ellipse at bottom, #275c3e, #12231a 75%);
}

.participant-group:nth-of-type(even) .participant-photo {
    background: radial-gradient(ellipse at bottom, #592449, #23121f 75%);
}

.participant-card .participant-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.participant-details {
    display: grid;
    gap: 14px;
    padding: 18px 20px 20px;
    border-top: 1px solid #ffffff0d;
}

.participant-card h3 {
    font-size: 17px;
    line-height: 1.35;
    min-height: 2.7em;
    display: flex;
    align-items: center;
}

.participant-channel {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 60px;
    padding: 9px 11px;
    border: 1px solid #b992ff70;
    border-radius: 14px;
    background: linear-gradient(135deg, #55309a, #9147ff 68%, #a76dff);
    color: #fff;
    box-shadow: 0 9px 22px #5f28b12b, inset 0 1px #ffffff24;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.participant-channel:hover {
    transform: translateY(-2px);
    border-color: #c8aaff;
    box-shadow: 0 12px 28px #6732bd55, inset 0 1px #ffffff38;
}

.participant-channel.channel-youtube {
    border-color: #ff6b6b78;
    background: linear-gradient(135deg, #8f0d13, #e62117 68%, #ff3d35);
    box-shadow: 0 9px 22px #d10d162e, inset 0 1px #ffffff2e;
}

.participant-channel.channel-youtube:hover {
    border-color: #ffaaa6;
    box-shadow: 0 12px 28px #d10d1650, inset 0 1px #ffffff42;
}

.channel-youtube .channel-icon {
    background: #5e060a70;
}

.channel-youtube .channel-kicker {
    color: #ffe2e0;
}

.channel-youtube .channel-icon img {
    width: 24px;
    height: 18px;
}

.participant-channel:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.channel-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #160c2d5c;
    box-shadow: inset 0 1px #ffffff26;
}

.participant-card .channel-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.channel-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
    line-height: 1.1;
}

.channel-kicker {
    color: #e5d8ff;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.25px;
    text-transform: uppercase;
}

.channel-copy strong {
    overflow-wrap: anywhere;
    font-size: 12px;
    font-weight: 700;
}

.channel-arrow {
    font-size: 21px;
    line-height: 1;
    transition: transform .2s ease;
}

.participant-channel:hover .channel-arrow {
    transform: translate(2px, -2px);
}

.channel-pending {
    border-color: #ffffff14;
    background: linear-gradient(135deg, #171b19, #111412);
    color: #a8b0ab;
    box-shadow: inset 0 1px #ffffff09;
    cursor: default;
}

.channel-pending:hover {
    transform: none;
    border-color: #ffffff14;
    box-shadow: inset 0 1px #ffffff09;
}

.channel-pending .channel-icon {
    background: #9147ff20;
    opacity: .65;
}

.channel-pending .channel-kicker {
    color: #8f9692;
}

.channel-note {
    padding: 4px 6px;
    border: 1px solid #ffffff1c;
    border-radius: 6px;
    color: #8f9692;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.participant-photo .participant-initial {
    position: absolute;
    inset: 25%;
    height: auto;
    background: #ffffff08;
    color: #a7b6ac;
    font-size: 60px;
    border: 1px dashed #ffffff24;
}

.photo-pending {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--muted);
    font-size: 10px;
}

/* Acercamiento individual para quitar márgenes transparentes sin recortar archivos. */
#arzo19art .participant-photo img {
    width: 250%;
    max-width: none;
    height: auto;
    margin-left: -75%;
}

#artist-frida .participant-photo img {
    width: 329%;
    max-width: none;
    height: auto;
    margin-left: -114.25%;
    transform: translateY(-24.47%);
}

#somouto .participant-photo img {
    width: 198.14%;
    max-width: none;
    height: auto;
    margin-left: -53.15%;
    transform: translateY(-2.87%);
}

#poppy-comunist .participant-photo img {
    width: 170.48%;
    max-width: none;
    height: auto;
    margin-left: -27.98%;
    transform: translateY(-3.02%);
}

#moccachiamai .participant-photo img {
    width: 100%;
    height: auto;
    transform: translateY(-20.31%);
}

@media (max-width: 480px) {
    .participant-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .participant-details {
        padding: 12px;
    }

    .participant-card h3 {
        font-size: 13px;
    }

    .participant-channel {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 8px;
        min-height: 52px;
        padding: 8px;
        border-radius: 11px;
    }

    .channel-icon {
        width: 30px;
        height: 30px;
        border-radius: 8px;
    }

    .participant-card .channel-icon img {
        width: 18px;
        height: 18px;
    }

    .channel-kicker {
        font-size: 7px;
        letter-spacing: .85px;
    }

    .channel-copy strong {
        font-size: 10px;
    }

    .channel-arrow,
    .channel-note {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .participant-card {
        transition: none;
    }
}
