/** Fase 03D: visor frontal básico de listas publicadas. */
.cc-lista-misa {
    width: min(100%, 880px);
    margin: 32px auto;
    color: #1d2327;
}

.cc-lista-cabecera {
    margin-bottom: 26px;
    padding: 28px;
    border: 1px solid #dcdcde;
    border-top: 5px solid #16845b;
    border-radius: 10px;
    background: #fff;
    text-align: center;
}

.cc-lista-marca {
    margin: 0 0 7px;
    color: #16845b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cc-lista-cabecera h1 {
    margin: 0;
    font-size: clamp(28px, 5vw, 44px);
    line-height: 1.15;
}

.cc-lista-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin-top: 14px;
    color: #50575e;
    font-weight: 600;
}

.cc-lista-meta span + span::before {
    content: "•";
    margin-right: 18px;
    color: #16845b;
}

.cc-lista-identidad {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e2e4e7;
}

.cc-lista-identidad p {
    margin: 3px 0;
}

.cc-lista-parroquia,
.cc-lista-coro {
    font-weight: 700;
}

.cc-lista-director {
    color: #50575e;
}

.cc-lista-repertorio {
    display: grid;
    gap: 18px;
}

.cc-lista-momento {
    padding: 20px;
    border: 1px solid #dcdcde;
    border-radius: 9px;
    background: #fff;
}

.cc-lista-momento h2 {
    margin: 0 0 12px;
    color: #16845b;
    font-size: 21px;
}

.cc-lista-cantos {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cc-lista-cantos li + li {
    border-top: 1px solid #f0f0f1;
}

.cc-lista-cantos a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 4px;
    color: #1d2327;
    text-decoration: none;
}

.cc-lista-cantos a:hover,
.cc-lista-cantos a:focus-visible {
    color: #116b49;
    text-decoration: underline;
}

.cc-lista-canto-titulo {
    font-size: 18px;
    font-weight: 650;
}

.cc-lista-posicion {
    flex: 0 0 auto;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eaf6f0;
    color: #116b49;
    font-size: 12px;
    font-weight: 700;
}

.cc-lista-message {
    width: min(100%, 700px);
    margin: 28px auto;
    padding: 20px;
    border-left: 4px solid #16845b;
    background: #f6f7f7;
}

.cc-lista-button {
    display: inline-block;
    padding: 9px 15px;
    border-radius: 5px;
    background: #16845b;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 600px) {
    .cc-lista-misa {
        margin: 18px auto;
    }

    .cc-lista-cabecera,
    .cc-lista-momento {
        padding: 18px;
    }

    .cc-lista-meta {
        display: grid;
        gap: 5px;
    }

    .cc-lista-meta span + span::before {
        content: none;
    }

    .cc-lista-cantos a {
        align-items: flex-start;
    }
}

/* Fase 03F: acciones para compartir el repertorio. */
.cc-lista-compartir {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px 24px;
    margin-bottom: 22px;
    padding: 18px 20px;
    border: 1px solid #c8ded4;
    border-radius: 9px;
    background: #f4fbf7;
}

.cc-lista-compartir-texto h2 {
    margin: 0 0 4px;
    color: #116b49;
    font-size: 19px;
}

.cc-lista-compartir-texto p,
.cc-share-status {
    margin: 0;
    color: #50575e;
}

.cc-lista-compartir-acciones {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.cc-share-button {
    box-sizing: border-box;
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border: 1px solid #16845b;
    border-radius: 6px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.cc-share-button-primary,
.cc-share-button-whatsapp {
    background: #16845b;
    color: #fff;
}

.cc-share-button-secondary {
    background: #fff;
    color: #116b49;
}

.cc-share-button:hover,
.cc-share-button:focus-visible {
    border-color: #0e583c;
    background: #0e583c;
    color: #fff;
    text-decoration: none;
}

.cc-share-status {
    grid-column: 1 / -1;
    min-height: 1.4em;
    font-size: 13px;
    font-weight: 600;
}

.cc-share-status.is-error {
    color: #b32d2e;
}

@media (max-width: 760px) {
    .cc-lista-compartir {
        grid-template-columns: 1fr;
    }

    .cc-lista-compartir-acciones {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .cc-lista-compartir-acciones {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cc-share-button {
        width: 100%;
    }
}
