.app-footer {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 5px 8px;
    background-color: white;
    border-top: 2px solid #ccc;
    margin-left: 0;
    transform: none;
    box-sizing: border-box;
    z-index: 1000;
}

.app-footer-inner {
    width: min(calc(100% - 20px), 430px);
    display: grid;
    grid-template-columns:
        24px
        4px
        minmax(0,1fr)
        6px
        minmax(0,1fr)
        4px
        16px
        4px
        minmax(0,1fr)
        6px
        minmax(0,1fr)
        4px
        24px;
    column-gap: 0;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.footer-videogiochi-btn {
    grid-column: 1;
}

.footer-btn-clan {
    grid-column: 3;
}

.footer-btn-live {
    grid-column: 5;
}

.footer-speaker-btn {
    grid-column: 7;
}

.footer-btn-menu {
    grid-column: 9;
}

.footer-btn-amici {
    grid-column: 11;
}

.footer-cerca-btn {
    grid-column: 13;
}

.footer-btn { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    font-weight: bold; 
    gap: 5px; 
    width: 100%; 
    min-width: 0; 
    height: 39px; 
    min-height: 39px; 
    background-color: #6C89C6; 
    color: white; 
    border: none; 
    border-radius: 5px; 
    padding: 1px 10px; 
    font-size: 12px; 
    cursor: pointer; 
    box-sizing: border-box; 
}
.footer-btn:hover{
    background-color:#FF9900;
    color:#FFFFFF;
}

@media (max-width: 768px){
    .app-footer {
        width: 100%;
        padding: 5px 6px;
    }
    .app-footer-inner {
    width:min(calc(100% - 2px),370px);
    grid-template-columns:
        18px
        4px
        minmax(0,1fr)
        4px
        minmax(0,1fr)
        4px
        13px
        4px
        minmax(0,1fr)
        4px
        minmax(0,1fr)
        4px
        18px;
    column-gap:0;
    justify-content:center;
}
    .footer-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 3px;
        width: 100%;
        min-width: 0;
        height: 29px;
        min-height: 29px;
        background-color: #6C89C6;
        color: white;
        border: none;
        border-radius: 5px;
        padding: 2px 4px;
        font-size: 10px;
        cursor: pointer;
        box-sizing: border-box;
    }
}

.icon_clan {
    width: 35px;
    height: 35px;
}

.icon_amici {
    width: 25px;
    height: 25px;
}

.footer-icon {
    display:flex;
    align-items:center;
    justify-content:center;
}
.footer-videogiochi-btn,
.footer-speaker-btn,
.footer-cerca-btn{
    position:relative;
    width:24px;
    height:39px;
    min-width:24px;
    padding:0;
    margin:0;
    border:0;
    border-radius:0;
    background:transparent;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    box-sizing:border-box;
}

.footer-speaker-btn{
    width:20px;
    min-width:20px;
    justify-self:center;
}
.footer-videogiochi-btn:hover .icon_videogiochi_css,
.footer-videogiochi-btn:focus .icon_videogiochi_css,
.footer-speaker-btn:hover .icon_speaker_css,
.footer-speaker-btn:focus .icon_speaker_css,
.footer-cerca-btn:hover .icon_cerca_css,
.footer-cerca-btn:focus .icon_cerca_css{
    transform:scale(1.08);
}
.footer-videogiochi-btn:hover .icon_videogiochi_css,
.footer-videogiochi-btn:focus .icon_videogiochi_css,
.footer-cerca-btn:hover .icon_cerca_css,
.footer-cerca-btn:focus .icon_cerca_css{
    color:#FF9900;
}
.footer-speaker-btn:hover .icon_speaker_css::before,
.footer-speaker-btn:focus .icon_speaker_css::before{
    border-color:#FF9900;
    background:#FF9900;
}
.footer-speaker-btn:hover .icon_speaker_css::after,
.footer-speaker-btn:focus .icon_speaker_css::after{
    border-color:#FF9900;
    background-image:linear-gradient(#FF9900,#FF9900);
}
.footer-videogiochi-btn:focus,
.footer-speaker-btn:focus,
.footer-cerca-btn:focus{
    outline:none;
}
.icon_videogiochi_css{
    position:relative;
    width:20px;
    height:26px;
    display:block;
    flex:0 0 20px;
    color:#6C89C6;
    background:
        linear-gradient(currentColor,currentColor)
        center 7px / 3px 12px no-repeat;
    transition:transform 0.12s ease,color 0.12s ease;
    box-sizing:border-box;
}

.icon_videogiochi_css::before{
    content:"";
    position:absolute;
    left:50%;
    top:0;
    width:10px;
    height:10px;
    border-radius:50%;
    background:currentColor;
    transform:translateX(-50%);
}

.icon_videogiochi_css::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:0;
    width:20px;
    height:11px;
    border-radius:6px 6px 8px 8px;
    background:currentColor;
    transform:translateX(-50%);
}
.icon_speaker_css{
    position:relative;
    width:16px;
    height:26px;
    display:block;
    flex:0 0 16px;
    transition:transform 0.12s ease;
}
.icon_cerca_css{
    position:relative;
    width:24px;
    height:24px;
    display:block;
    flex:0 0 24px;
    color:#6C89C6;
    transition:transform 0.12s ease,color 0.12s ease;
}
.icon_cerca_css::before{
    content:"";
    position:absolute;
    left:1px;
    top:1px;
    width:16px;
    height:16px;
    border:0;
    border-radius:50%;
    background:currentColor;
    box-sizing:border-box;
}
.icon_cerca_css::after{
    content:"";
    position:absolute;
    left:15px;
    top:16px;
    width:9px;
    height:3px;
    border-radius:999px;
    background:currentColor;
    transform:rotate(45deg);
    transform-origin:left center;
}
.icon_speaker_css::before{
    content:"";
    position:absolute;
    top:0;
    left:50%;
    width:8px;
    height:16px;
    border:2px solid #6C89C6;
    border-radius:7px;
    background:#6C89C6;
    transform:translateX(-50%);
    box-sizing:border-box;
}

.icon_speaker_css::after{
    content:"";
    position:absolute;
    top:10px;
    left:50%;
    width:16px;
    height:16px;
    border:2px solid #6C89C6;
    border-top:0;
    border-radius:0 0 9px 9px;
    background:
        linear-gradient(#6C89C6,#6C89C6)
        center bottom / 2px 7px no-repeat;
    transform:translateX(-50%);
    box-sizing:border-box;
}
.icon_live_css,
.icon_menu_ristorante_css {
    position: relative;
    width: 25px;
    height: 25px;
    display: block;
    box-sizing: border-box;
    flex: 0 0 25px;
}

/* LIVE: pallino live classico */
.icon_live_css::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 8px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow:
        0 0 0 3px rgba(255,255,255,0.32),
        0 0 0 7px rgba(255,255,255,0.18);
}

.icon_live_css::after {
    content: "";
    position: absolute;
    left: 11px;
    top: 11px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #6C89C6;
}

/* MENU ristorante: libro/menu aperto */
.icon_menu_ristorante_css::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 4px;
    width: 10px;
    height: 17px;
    border: 2px solid #FFFFFF;
    border-right: 1px solid #FFFFFF;
    border-radius: 5px 1px 1px 5px;
    box-sizing: border-box;
    background:
        linear-gradient(#FFFFFF, #FFFFFF) 3px 5px / 5px 2px no-repeat,
        linear-gradient(#FFFFFF, #FFFFFF) 3px 10px / 5px 2px no-repeat;
}

.icon_menu_ristorante_css::after {
    content: "";
    position: absolute;
    right: 2px;
    top: 4px;
    width: 10px;
    height: 17px;
    border: 2px solid #FFFFFF;
    border-left: 1px solid #FFFFFF;
    border-radius: 1px 5px 5px 1px;
    box-sizing: border-box;
    background:
        linear-gradient(#FFFFFF, #FFFFFF) 2px 5px / 5px 2px no-repeat,
        linear-gradient(#FFFFFF, #FFFFFF) 2px 10px / 5px 2px no-repeat;
}

@media (max-width: 768px){
    .icon_clan {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 768px){
        .icon_amici {
        width: 15px;
        height: 15px;
    }
.footer-videogiochi-btn,
.footer-speaker-btn,
.footer-cerca-btn{
    width:18px;
    min-width:18px;
    height:29px;
}

.footer-speaker-btn{
    width:17px;
    min-width:17px;
    justify-self:center;
}
    .icon_videogiochi_css{
    width:15px;
    height:21px;
    flex-basis:15px;
    background:
        linear-gradient(currentColor,currentColor)
        center 5px / 2px 10px no-repeat;
}

.icon_videogiochi_css::before{
    left:50%;
    top:0;
    width:8px;
    height:8px;
    transform:translateX(-50%);
}

.icon_videogiochi_css::after{
    left:50%;
    bottom:0;
    width:15px;
    height:8px;
    border-radius:4px 4px 6px 6px;
    transform:translateX(-50%);
}
   .icon_speaker_css{
    width:13px;
    height:21px;
    flex-basis:13px;
}

.icon_speaker_css::before{
    width:7px;
    height:13px;
    border-width:1.5px;
}

.icon_speaker_css::after{
    top:8px;
    width:13px;
    height:13px;
    border-width:1.5px;
    border-top:0;
    background:
        linear-gradient(#6C89C6,#6C89C6)
        center bottom / 1.5px 5px no-repeat;
}
    .icon_cerca_css{
    width:18px;
    height:18px;
    flex-basis:18px;
    }
    .icon_cerca_css::before{
        left:1px;
        top:1px;
        width:13px;
        height:13px;
    }
    .icon_cerca_css::after{
        left:12px;
        top:12px;
        width:7px;
        height:2px;
    }
    .icon_live_css,
    .icon_menu_ristorante_css {
        width:15px;
        height:15px;
        flex-basis:15px;
    }

    .icon_live_css::before {
        left: 5px;
        top: 5px;
        width: 5px;
        height: 5px;
        box-shadow:
            0 0 0 2px rgba(255,255,255,0.32),
            0 0 0 4px rgba(255,255,255,0.18);
    }

    .icon_live_css::after {
        left: 7px;
        top: 7px;
        width: 1px;
        height: 1px;
    }

    .icon_menu_ristorante_css::before {
        left: 1px;
        top: 3px;
        width: 6px;
        height: 10px;
        border-width: 1px;
        background:
            linear-gradient(#FFFFFF, #FFFFFF) 2px 3px / 3px 1px no-repeat,
            linear-gradient(#FFFFFF, #FFFFFF) 2px 6px / 3px 1px no-repeat;
    }

    .icon_menu_ristorante_css::after {
        right: 1px;
        top: 3px;
        width: 6px;
        height: 10px;
        border-width: 1px;
        background:
            linear-gradient(#FFFFFF, #FFFFFF) 1px 3px / 3px 1px no-repeat,
            linear-gradient(#FFFFFF, #FFFFFF) 1px 6px / 3px 1px no-repeat;
    }
}

.footer-btn {
    position: relative;
    overflow: visible;
}

.chat_footer_notify_dot {
    position: absolute;
    top: -7px;
    right: -7px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #FF9900;
    box-shadow: 0 0 0 2px #FFFFFF;
    z-index: 9999;
    pointer-events: none;
    box-sizing: border-box;
}

.chat_footer_notify_dot_mention {
    width: 17px;
    height: 17px;
    top: -10px;
    right: -10px;
}

.chat_footer_notify_dot_inner {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FFFFFF;
    transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
    .chat_footer_notify_dot {
        top: -6px;
        right: -6px;
        width: 10px;
        height: 10px;
    }

    .chat_footer_notify_dot_mention {
        top: -9px;
        right: -9px;
        width: 16px;
        height: 16px;
    }

    .chat_footer_notify_dot_inner {
        width: 5px;
        height: 5px;
    }
}