/* /Components/Embarcacion/BoatView.razor.rz.scp.css */
.barco-envoltorio[b-gorvkqn90h] {
    width: 100%;
    max-width: 27rem;
    margin-inline: auto;
}

/* Casco visto desde arriba: proa en punta (arriba), popa más ancha (abajo). La borda es el propio fondo
   rojo; la cubierta es una segunda forma igual, más pequeña, encima. */
.barco[b-gorvkqn90h] {
    --forma: polygon(50% 0, 59.5% .9rem, 68% 1.8rem, 75.5% 2.7rem, 82% 3.6rem, 87.5% 4.5rem, 92% 5.4rem, 95.5% 6.3rem, 98% 7.2rem, 99.5% 8.1rem, 100% 9rem, 100% calc(100% - 3rem), 99% calc(100% - 2rem), 96% calc(100% - 1.1rem), 91% calc(100% - .45rem), 84% calc(100% - .1rem), 78% 100%, 22% 100%, 16% calc(100% - .1rem), 9% calc(100% - .45rem), 4% calc(100% - 1.1rem), 1% calc(100% - 2rem), 0 calc(100% - 3rem), 0 9rem, .5% 8.1rem, 2% 7.2rem, 4.5% 6.3rem, 8% 5.4rem, 12.5% 4.5rem, 18% 3.6rem, 24.5% 2.7rem, 32% 1.8rem, 40.5% .9rem);
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .55rem;
    padding: 3.4rem 1.4rem 3.1rem;
    background: var(--laca);
    clip-path: var(--forma);
}

.barco[b-gorvkqn90h]::before {
    content: "";
    position: absolute;
    inset: .5rem;
    z-index: -1;
    background: var(--cubierta);
    clip-path: var(--forma);
}

.extremo[b-gorvkqn90h] {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--lago);
}

.remeros[b-gorvkqn90h] {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    padding: .2rem 0;
    /* la quilla */
    background: linear-gradient(90deg, transparent 49.3%, color-mix(in srgb, var(--laca) 35%, transparent) 49.3% 50.7%, transparent 50.7%);
}

.cabecera-lados[b-gorvkqn90h] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--lago);
}

.fila[b-gorvkqn90h] {
    display: grid;
    grid-template-columns: 1fr 1.9rem 1fr;
    align-items: center;
    gap: .35rem;
}

.numero-fila[b-gorvkqn90h] {
    justify-self: center;
    width: 1.55rem;
    height: 1.55rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--cubierta);
    color: var(--laca);
    font: 700 .85rem/1 var(--fuente-titulo);
}

.bandejas[b-gorvkqn90h] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
    margin-top: 1rem;
}

.bandeja[b-gorvkqn90h] {
    min-height: 3.5rem;
    padding: .55rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    border: 1.5px dashed var(--linea);
    border-radius: var(--radio-chico);
}

.bandeja.organizable[b-gorvkqn90h] {
    background: var(--superficie);
    border-color: var(--lago);
}

.bandeja-titulo[b-gorvkqn90h] {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--lago);
}

/* Los asientos son un componente hijo: se estilan con ::deep */
.barco[b-gorvkqn90h]  .asiento,
.bandeja[b-gorvkqn90h]  .asiento {
    min-height: 2.75rem;
    padding: .25rem .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    font-weight: 500;
    text-align: center;
    border-radius: var(--radio-chico);
    border: 1.5px solid var(--linea);
    background: var(--superficie);
    color: var(--tinta);
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.barco[b-gorvkqn90h]  .asiento.libre,
.bandeja[b-gorvkqn90h]  .asiento.libre {
    color: var(--linea);
    background: transparent;
    border-style: dashed;
}

.barco[b-gorvkqn90h]  .asiento.ocupado,
.bandeja[b-gorvkqn90h]  .asiento.ocupado {
    border-color: var(--oro);
    background: var(--oro-tenue);
    color: var(--oro-texto);
    font-weight: 600;
}

.barco[b-gorvkqn90h]  .asiento.mio,
.bandeja[b-gorvkqn90h]  .asiento.mio {
    background: var(--jade);
    border-color: var(--jade);
    color: #fff;
    font-weight: 700;
}

.barco[b-gorvkqn90h]  .asiento.seleccionado,
.bandeja[b-gorvkqn90h]  .asiento.seleccionado {
    outline: 3px solid var(--tinta);
    outline-offset: 1px;
}

.barco[b-gorvkqn90h]  .asiento.organizable,
.bandeja[b-gorvkqn90h]  .asiento.organizable {
    cursor: pointer;
}

.barco[b-gorvkqn90h]  .asiento.ocupado.organizable {
    cursor: grab;
}

/* Tambor (proa) y timonel (popa) */
.barco[b-gorvkqn90h]  .asiento.puesto {
    min-width: 7.5rem;
    min-height: 3rem;
    border-radius: 2rem;
    font-weight: 700;
}

.barco[b-gorvkqn90h]  .asiento.puesto.libre {
    color: var(--lago);
    border-color: var(--lago);
}

.barco[b-gorvkqn90h]  .asiento.tambor {
    min-width: 5.5rem;
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
    padding: .4rem;
    border: 0;
    background: var(--laca);
    color: #fff;
    box-shadow: 0 0 0 .22rem var(--oro), 0 0 0 .4rem var(--cubierta);
}

.barco[b-gorvkqn90h]  .asiento.tambor.libre {
    background: transparent;
    color: var(--lago);
    border: 1.5px dashed var(--lago);
    box-shadow: none;
}

.barco[b-gorvkqn90h]  .asiento.tambor.mio {
    background: var(--jade);
}

.barco[b-gorvkqn90h]  .asiento.timonel.ocupado {
    background: var(--tinta);
    border-color: var(--tinta);
    color: var(--superficie);
}

.barco[b-gorvkqn90h]  .asiento.timonel.mio {
    background: var(--jade);
    border-color: var(--jade);
    color: #fff;
}

.bandeja[b-gorvkqn90h]  .asiento.ficha {
    justify-content: flex-start;
}

.barco[b-gorvkqn90h]  .asiento-nombre,
.bandeja[b-gorvkqn90h]  .asiento-nombre {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Foto de perfil de quien ocupa el asiento (no se arrastra por separado: el arrastre es del asiento entero). */
.barco[b-gorvkqn90h]  .asiento-foto,
.bandeja[b-gorvkqn90h]  .asiento-foto {
    flex: none;
    width: 1.75rem;
    height: 1.75rem;
    margin-right: .4rem;
    border-radius: 50%;
    overflow: hidden;
    pointer-events: none;
}

.barco[b-gorvkqn90h]  .asiento-foto img,
.bandeja[b-gorvkqn90h]  .asiento-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-5yoq2ztllu],
.components-reconnect-repeated-attempt-visible[b-5yoq2ztllu],
.components-reconnect-failed-visible[b-5yoq2ztllu],
.components-pause-visible[b-5yoq2ztllu],
.components-resume-failed-visible[b-5yoq2ztllu],
.components-rejoining-animation[b-5yoq2ztllu] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-5yoq2ztllu],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-5yoq2ztllu],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-5yoq2ztllu],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-5yoq2ztllu],
#components-reconnect-modal.components-reconnect-retrying[b-5yoq2ztllu],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-5yoq2ztllu],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-5yoq2ztllu],
#components-reconnect-modal.components-reconnect-failed[b-5yoq2ztllu],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-5yoq2ztllu] {
    display: block;
}


#components-reconnect-modal[b-5yoq2ztllu] {
    background-color: var(--superficie);
    color: var(--tinta);
    width: min(20rem, calc(100vw - 2rem));
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-5yoq2ztllu 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-5yoq2ztllu 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-5yoq2ztllu 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-5yoq2ztllu]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-5yoq2ztllu 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-5yoq2ztllu {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-5yoq2ztllu {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-5yoq2ztllu {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-5yoq2ztllu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-5yoq2ztllu] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-5yoq2ztllu] {
    border: 0;
    background-color: var(--laca);
    color: white;
    min-height: 2.75rem;
    padding: .5rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: .625rem;
}

    #components-reconnect-modal button:hover[b-5yoq2ztllu] {
        background-color: var(--laca-fuerte);
    }

    #components-reconnect-modal button:active[b-5yoq2ztllu] {
        background-color: var(--laca);
    }

.components-rejoining-animation[b-5yoq2ztllu] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-5yoq2ztllu] {
        position: absolute;
        border: 3px solid var(--laca);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-5yoq2ztllu 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-5yoq2ztllu] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-5yoq2ztllu {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
