

body{
    margin:0;
    background:#080808;
    color:#fff;
    font-family:Inter,sans-serif;
}

.container{
    max-width:500px;
    margin:auto;
    padding:20px;
}

.logo{
    text-align:center;
    font-family:'Bebas Neue';
    font-size:4rem;
    line-height:.9;
    
}

.logo span{
    color:#E8000E;
}

.card{
    margin-top:25px;
    background:#111;
    border-radius:15px;
    padding:20px;
}
 /*.additional-photos-container{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:8px;
    width:100%;
    margin-top:15px;
    margin-bottom:15px;
    box-sizing:border-box;
}

.photo-placeholder.additional{
    width:100%;
    height:auto;
    aspect-ratio:1 / 1;
    min-width:0;
    margin:0;
    border-width:3px;
    border-radius:12px;
    box-sizing:border-box;
    cursor:pointer;
}

.photo-placeholder.additional .photo{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:9px;
}


.photo-placeholder{

    width:140px;
    height:140px;

    margin:auto;

    border-radius:50%;

    border:4px solid #E8000E;

    display:flex;

    align-items:center;

    justify-content:center;

    overflow:hidden;

    background:#1a1a1a;

    color:#777;

    font-family:'Bebas Neue';

    font-size:1.3rem;
}*/

.photo{

    width:100%;
    height:100%;

    object-fit:cover;
}



.username{
    text-align:center;
    margin-top:10px;
    color:#aaa;
}

.back-home-link{
    display:block;
    width:max-content;

    margin:
        12px
        auto
        0;

    color:#aaa;

    font-family:'Inter',sans-serif;
    font-size:16px;
    font-weight:700;
    letter-spacing:1.4px;

    text-transform:uppercase;
    text-decoration:none;

    transition:
        color .2s ease,
        text-shadow .2s ease,
        transform .2s ease;
}

.back-home-link:hover{
    color:#fff;

    text-shadow:
        0 0 9px rgba(232,0,14,.8);
}

.back-home-link:active{
    color:#E8000E;
    transform:scale(.96);
}

input,
textarea{

    width:100%;
    padding:14px;
    margin-top:12px;

    background:#1a1a1a;

    border:1px solid rgba(255,255,255,.1);

    color:white;

    border-radius:8px;

    box-sizing:border-box;
}

textarea{
    height:120px;
    resize:none;
}

button{

    width:100%;
    /* margin-top:20px; */

    border:none;

    background:#E8000E;

    color:white;

    padding:18px;

    font-family:'Bebas Neue';

    font-size:1.4rem;

    cursor:pointer;

    border-radius:8px;
}

#profile{
    display:none;
}

.loading{

    position:fixed;
    inset:0;

    background:#080808;

    display:flex;
    flex-direction:column;

    align-items:center;
    justify-content:center;

    color:white;

    z-index:999999;
}

select{
    width:100%;
    padding:14px;
    margin-top:10px;
    background:#111;
    color:white;
    border:1px solid rgba(255,255,255,.15);
    border-radius:8px;
    font-family:Inter,sans-serif;
    font-size:15px;
}

/* MINIATURE ESPERIENZE SOTTO COMUNITY */

.experience-thumbnails{
    width:100%;
    margin-top:14px;
    display:grid;
    grid-template-columns:repeat(5, minmax(0, 1fr));
    gap:6px;
}

.experience-thumbnail{
    min-width:0;
    height:56px;
    padding:5px 2px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(232,0,14,.6);
    border-radius:12px;
    background:radial-gradient(
        circle at center,
        rgba(125,0,10,.42),
        rgba(8,8,8,.98) 75%
    );
    color:#fff;
    text-decoration:none;
    opacity:.72;
    box-shadow:
        inset 0 0 12px rgba(232,0,14,.14),
        0 0 8px rgba(232,0,14,.25);
    transform:scale(.96);
    transition:
        opacity .25s ease,
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.experience-thumbnail span{
    display:block;
    font-family:'Bebas Neue',sans-serif;
    font-size:11px;
    line-height:1;
    letter-spacing:.4px;
    white-space:nowrap;
}

.thumb-white{
    color:#fff;
}

.thumb-red{
    color:#E8000E;
    margin-top:3px;
}

.experience-thumbnail.active{
    opacity:1;
    transform:scale(1.04);
    border-color:#ff2632;
    box-shadow:
        0 0 0 1px rgba(255,255,255,.18),
        0 0 15px rgba(232,0,14,.95),
        0 0 30px rgba(232,0,14,.42),
        inset 0 0 15px rgba(232,0,14,.25);
}

.experience-thumbnail:active{
    transform:scale(.92);
}

.profile-user-row{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    margin-top:12px;
    flex-wrap:wrap;
}

.profile-user-row .username{
    margin-top:0;
}
.date-join-box{
    margin-top:15px;
    padding:20px;
    background:#111;
    border:1px solid rgba(232,0,14,.45);
    border-radius:15px;
    text-align:center;
}

.date-join-box h2{
    margin:0 0 15px;
    font-family:'Bebas Neue',sans-serif;
    font-size:30px;
    color:#fff;
    letter-spacing:.04em;
}

.date-join-box p{
    color:#aaa;
    line-height:1.6;
    font-size:14px;
}

.date-warning{
    margin:18px 0;
    padding:12px;
    background:rgba(232,0,14,.12);
    border:1px solid rgba(232,0,14,.55);
    border-radius:10px;
    color:#fff;
    font-weight:700;
    line-height:1.4;
}

.photo-order-card{
    margin-top:15px;
    overflow:hidden;
    background:#151515;
    border:1px solid rgba(232,0,14,.4);
    border-radius:14px;
}

.photo-order-image{
    width:100%;
    max-height:450px;
    display:block;
    object-fit:cover;
}

.photo-order-body{
    padding:15px;
}

.photo-order-title{
    font-family:'Bebas Neue',sans-serif;
    font-size:25px;
    color:#fff;
}

.photo-order-info{
    margin-top:6px;
    color:#999;
    font-size:13px;
}

.photo-order-status{
    display:inline-block;
    margin-top:12px;
    padding:5px 10px;
    border-radius:20px;
    background:rgba(72,214,107,.15);
    color:#48d66b;
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
}

.photo-order-button{
    display:block;
    margin-top:15px;
    padding:12px;
    background:#E8000E;
    color:#fff;
    border-radius:9px;
    text-align:center;
    text-decoration:none;
    font-family:'Bebas Neue',sans-serif;
    font-size:19px;
}

.photo-order-empty-image{
    padding:60px 20px;
    color:#777;
    text-align:center;
    font-family:'Bebas Neue',sans-serif;
    font-size:22px;
}
.rgb-coin-box{
    display:flex;
    align-items:center;
    gap:7px;
    padding:7px 12px;
    border:1px solid rgba(232,0,14,.65);
    border-radius:20px;
    background:rgba(232,0,14,.1);
    box-shadow:0 0 12px rgba(232,0,14,.2);
}

.rgb-coin-label{
    color:#E8000E;
    font-family:'Bebas Neue',sans-serif;
    font-size:15px;
    letter-spacing:.06em;
}

#rgbCoinValue{
    color:#fff;
    font-weight:700;
    font-size:15px;
}
.order-card{
    margin-top:5px;
    padding:16px;
    background:#151515;
    border:1px solid rgba(232,0,14,.4);
    border-radius:14px;
}

.order-card-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    font-family:'Bebas Neue',sans-serif;
    font-size:20px;
}

.order-status{
    padding:5px 10px;
    background:#E8000E;
    color:white;
    border-radius:20px;
    font-family:Inter,sans-serif;
    font-size:11px;
    text-transform:uppercase;
}
.product-preparation-status{
    margin-top:5px;
    font-size:11px;
    font-weight:700;
    letter-spacing:.05em;
}

.product-preparation-status.preparing{
    color:#ffb347;
}

.product-preparation-status.ready{
    color:#48d66b;
}

.order-product.product-ready{
    opacity:.75;
}

.order-product.product-ready span{
    text-decoration:line-through;
}

.order-status.ready{
    background:#168f38;
}
.order-information{
    display:flex;
    justify-content:space-between;
    gap:10px;
    margin-top:10px;
    color:#999;
    font-size:13px;
}

.order-products{
    margin-top:14px;
}

.order-product{
    display:flex;
    justify-content:space-between;
    gap:10px;
    padding:2px 0;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.order-total{
    margin-top:15px;
    text-align:right;
    color:#E8000E;
    font-family:'Bebas Neue',sans-serif;
    font-size:24px;
}


.karaoke-request-card{
    margin-bottom:14px;
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.karaoke-queue-position{
    margin:12px 0;
    padding:12px;

    border:1px solid rgba(255,255,255,.1);
    border-radius:12px;

    background:rgba(255,255,255,.04);

    color:#fff;
    font-size:14px;
    font-weight:700;
    text-align:center;
}

.karaoke-status-pending{
    color:#ffcc00;
}

.karaoke-status-called{
    color:#00ff66;
}

.karaoke-status-live{
    color:#00ff66;
}

.karaoke-status-present{
    color:#00ff66;
}

.karaoke-card-present{
    border-color:rgba(0,255,102,.65) !important;

    box-shadow:
        0 0 15px rgba(0,255,102,.25);
}

.karaoke-status-completed{
    color:#aaa;
}

.karaoke-status-cancelled{
    color:#ff3945;
}

.karaoke-called-blink{
    cursor:pointer;
    border-color:#00ff66 !important;

    animation:
        karaokeGreenBlink
        .8s
        infinite
        ease-in-out;
}

.karaoke-called-blink:active{
    transform:scale(.97);
}

.karaoke-card-live{
    border-color:#00ff66 !important;

    box-shadow:
        0 0 18px rgba(0,255,102,.35);
}

@keyframes karaokeGreenBlink{

    0%,
    100%{
        border-color:rgba(0,255,102,.45);

        box-shadow:
            0 0 8px rgba(0,255,102,.18);

        background:
            rgba(0,255,102,.03);
    }

    50%{
        border-color:#00ff66;

        box-shadow:
            0 0 25px rgba(0,255,102,.75),
            inset 0 0 18px rgba(0,255,102,.14);

        background:
            rgba(0,255,102,.12);
    }

}
@media(max-width:420px){

    .container{
        padding-left:12px;
        padding-right:12px;
    }

    .experience-thumbnails{
        gap:4px;
    }

    .experience-thumbnail{
        height:49px;
        padding:4px 1px;
        border-radius:9px;
    }

    .experience-thumbnail span{
        font-size:14px;
        letter-spacing:.15px;
    }
}



/* CONTENUTO DINAMICO DELLE MINIATURE */
.dynamic-content{
    width:100%;
}

.content-view{
    display:none;
}

.content-view.active{
    display:block;
}

.experience-thumbnail{
    width:100%;
    margin:0;
    font-family:inherit;
    cursor:pointer;
}

.embedded-page-card{
    position:relative;
    width:100%;
    height:calc(100vh - 230px);
    min-height:560px;
    margin-top:25px;
    overflow:hidden;
    border-radius:15px;
    background:#111;
    border:1px solid rgba(232,0,14,.35);
}

#contentFrame{
    display:block;
    width:100%;
    height:100%;
    border:0;
    background:#080808;
}

.embedded-loading{
    position:absolute;
    inset:0;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#080808;
    color:#fff;
    font-family:'Bebas Neue',sans-serif;
    font-size:30px;
    letter-spacing:.08em;
}

@media(max-width:420px){
    .embedded-page-card{
        height:calc(100vh - 205px);
        min-height:500px;
        margin-top:16px;
        border-radius:12px;
    }
}
