.mesi-scroll-container {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--artiglio-yellow) #212529;
        border-radius: 0.375rem;
        padding: 0.25rem;
        background-color: var(--artiglio-gray);
    }

    .mesi-scroll-container::-webkit-scrollbar {
        height: 6px;
    }

    .mesi-scroll-container::-webkit-scrollbar-track {
        background: #212529;
        border-radius: 3px;
    }

    .mesi-scroll-container::-webkit-scrollbar-thumb {
        background: var(--artiglio-yellow);
        border-radius: 3px;
    }

    .btn-outline-warning {
        color: var(--artiglio-yellow);
        border-color: var(--artiglio-yellow);
        background-color: var(--artiglio-gray);
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .btn-outline-warning:hover {
        background-color: var(--artiglio-yellow);
        color: #000 !important;
        transform: translateY(-2px);
        border-color: var(--artiglio-yellow);
    }

    .btn-outline-warning.active,
    .btn-check:checked + .btn-outline-warning {
        background-color: var(--artiglio-yellow) !important;
        color: #000 !important;
        border-color: var(--artiglio-yellow) !important;
        font-weight: bold;
    }

    .classifica-hidden {
        display: none;
    }

    .btn-outline-artiglio {
        color: var(--artiglio-yellow);
        border-color: var(--artiglio-yellow);
        background-color: transparent;
    }

    .btn-outline-artiglio:hover {
        background-color: var(--artiglio-yellow);
        color: black;
        border-color: var(--artiglio-yellow);
    }

/* --- Estratto da presenze.html --- */
.presence-indicator-warning {
    background: #ffc107 !important;
    background-color: #ffc107 !important;
    color: #000 !important;
}

.storico-container {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .storico-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 10px 12px;
        background: linear-gradient(135deg, rgba(30, 30, 35, 0.95) 0%, rgba(20, 20, 25, 0.98) 100%);
        border-radius: 10px;
        border-left: 3px solid #6c757d;
        transition: all 0.2s ease;
    }

    .storico-item:hover {
        transform: translateX(4px);
        background: linear-gradient(135deg, rgba(40, 40, 45, 0.95) 0%, rgba(30, 30, 35, 0.98) 100%);
    }

    .storico-training {
        border-left-color: #17a2b8;
    }

    .storico-match {
        border-left-color: #ffc107;
    }

    .storico-cancelled {
        opacity: 0.6;
        border-left-color: #6c757d;
    }

    .storico-icon {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        font-size: 14px;
        flex-shrink: 0;
    }

    .storico-training .storico-icon {
        background: rgba(23, 162, 184, 0.2);
        color: #17a2b8;
    }

    .storico-match .storico-icon {
        background: rgba(255, 193, 7, 0.2);
        color: #ffc107;
    }

    .storico-content {
        flex: 1;
        min-width: 0;
    }

    .storico-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .storico-title {
        color: #fff;
        font-weight: 500;
        font-size: 0.9rem;
    }

    .storico-badges {
        display: flex;
        gap: 4px;
        flex-wrap: wrap;
    }

    .storico-badges .badge {
        font-size: 0.7rem;
        padding: 2px 6px;
    }

    .storico-date {
        color: #6c757d;
        font-size: 0.75rem;
    }

    .storico-notes {
        margin-top: 6px;
        padding: 6px 8px;
        background: rgba(23, 162, 184, 0.1);
        border-radius: 6px;
        color: #17a2b8;
        font-size: 0.75rem;
    }

    .storico-month-card {
        background: rgba(22, 24, 30, 0.75);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px;
        overflow: hidden;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .storico-month-card:hover {
        border-color: rgba(255, 255, 255, 0.16);
    }

    .storico-month-header {
        cursor: pointer;
        user-select: none;
        background: rgba(255, 255, 255, 0.02);
        transition: background-color 0.2s ease;
    }

    .storico-month-header:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }

    .storico-month-icon {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: rgba(13, 202, 240, 0.12);
        color: #0dcaf0;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .storico-month-header .storico-chevron-rotate {
        transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        font-size: 0.9rem;
    }

    .storico-month-header:not(.collapsed) .storico-chevron-rotate,
    .storico-month-header[aria-expanded="true"] .storico-chevron-rotate {
        transform: rotate(180deg);
    }

    .storico-week-group {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .storico-week-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 0.73rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        color: #adb5bd;
        padding: 3px 8px;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .storico-item .storico-item-chevron {
        transition: transform 0.2s ease;
    }

    .storico-item[aria-expanded="true"] .storico-item-chevron {
        transform: rotate(180deg);
    }

    [data-theme="light"] .storico-month-card,
    [data-bs-theme="light"] .storico-month-card {
        background: #ffffff;
        border-color: rgba(0, 0, 0, 0.1);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    [data-theme="light"] .storico-month-header,
    [data-bs-theme="light"] .storico-month-header {
        background: rgba(0, 0, 0, 0.02);
    }

    [data-theme="light"] .storico-month-header:hover,
    [data-bs-theme="light"] .storico-month-header:hover {
        background: rgba(0, 0, 0, 0.04);
    }

    [data-theme="light"] .storico-month-header .text-white,
    [data-bs-theme="light"] .storico-month-header .text-white {
        color: #1c1e21 !important;
    }

    [data-theme="light"] .storico-week-badge,
    [data-bs-theme="light"] .storico-week-badge {
        color: #495057;
        background: rgba(0, 0, 0, 0.04);
        border-color: rgba(0, 0, 0, 0.08);
    }

/* --- Estratto da rosa.html --- */
@keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px) scale(0.95);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .player-sticker {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%) !important;
        border: 1px solid rgba(255, 193, 7, 0.1) !important;
        transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
        overflow: hidden;
    }

    .player-sticker:hover {
        border-color: rgba(255, 193, 7, 0.5) !important;
        background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 193, 7, 0.1) !important;
    }

    .sticker-avatar-container {
        width: 55px;
        height: 55px;
        margin: 0 auto;
        position: relative;
        background: var(--gradient-artiglio);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .player-sticker:hover .sticker-avatar-container {
        transform: scale(1.1);
    }

    .sticker-number {
        font-size: 1.6rem;
        font-weight: 800;
        color: var(--artiglio-black);
        line-height: 1;
    }

    .sticker-shine {
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.15), transparent);
        transition: none;
        pointer-events: none;
        z-index: 5;
    }

    .player-sticker:hover .sticker-shine {
        left: 200%;
        transition: left 0.8s ease-in-out;
    }

    .player-card h6 {
        font-size: 0.95rem;
        letter-spacing: 0.02em;
    }

    /* Override per i badge nella card figurina */
    .player-sticker .badge {
        font-size: 0.6rem !important;
        padding: 0.3em 0.6em !important;
    }

/* --- Estratto da aggiornamenti.html --- */
/* Timeline Styles */
    .timeline {
        position: relative;
    }

    .timeline-item {
        position: relative;
        margin-bottom: 16px;
    }

    /* Assicura che le patchnotes e la timeline non siano mai nascoste dallo scroll fade-in */
    .timeline .card,
    .timeline-item .card,
    .no-fade-scroll {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Patchnotes Collapsible */
    .patchnote-header {
        transition: background-color 0.2s ease;
        border-radius: var(--bs-card-inner-border-radius, 1rem);
    }

    .patchnote-header:hover {
        background-color: rgba(255, 255, 255, 0.04) !important;
    }

    .patchnote-header .patchnote-chevron {
        transition: transform 0.25s ease, color 0.25s ease;
        display: inline-block;
    }

    .patchnote-header:not(.collapsed) .patchnote-chevron,
    .patchnote-header[aria-expanded="true"] .patchnote-chevron {
        transform: rotate(180deg);
        color: var(--artiglio-yellow, #ffc107);
    }

    .patchnote-header.collapsed .patchnote-chevron,
    .patchnote-header[aria-expanded="false"] .patchnote-chevron {
        transform: rotate(0deg);
    }

    .patchnote-collapse {
        transition: height 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .patchnote-notes {
        color: rgba(255, 255, 255, 0.92);
    }

    [data-theme="light"] .patchnote-notes,
    [data-bs-theme="light"] .patchnote-notes {
        color: var(--text-primary, #1c1e21) !important;
    }

    [data-theme="light"] .patchnote-header:hover,
    [data-bs-theme="light"] .patchnote-header:hover {
        background-color: rgba(0, 0, 0, 0.04) !important;
    }

    [data-theme="light"] .patchnote-chevron-wrapper,
    [data-bs-theme="light"] .patchnote-chevron-wrapper {
        background-color: rgba(0, 0, 0, 0.06) !important;
        color: var(--text-primary) !important;
    }

    /* Feedback Tabs */
    .feedback-tabs .nav-link {
        color: var(--text-muted);
        border: none;
        background: transparent;
        padding: 12px 20px;
        border-radius: 12px 12px 0 0;
    }

    .feedback-tabs .nav-link.active {
        color: var(--artiglio-yellow);
        background: var(--bg-card);
        border-bottom: 2px solid var(--artiglio-yellow);
    }

    .feedback-tabs .nav-link i {
        font-size: 1.2rem;
    }

    /* Status badges */
    .status-pending {
        background: #6c757d;
    }

    .status-in_progress {
        background: #0d6efd;
    }

    .status-resolved {
        background: #198754;
    }

    .status-rejected {
        background: #dc3545;
    }

    /* File upload area */
    .file-upload-area {
        border: 2px dashed var(--border-color);
        border-radius: 12px;
        padding: 24px;
        text-align: center;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .file-upload-area:hover,
    .file-upload-area.dragover {
        border-color: var(--artiglio-yellow);
        background: rgba(255, 193, 7, 0.05);
    }

    .file-upload-area i {
        font-size: 2rem;
        color: var(--text-muted);
    }

    .file-preview {
        max-width: 100%;
        max-height: 150px;
        border-radius: 8px;
        margin-top: 10px;
    }

/* --- Residual style from templates/multe.html --- */
/* === VOTING POLL CARD === */
    .voting-card {
        background: linear-gradient(145deg, rgba(30, 30, 30, 1) 0%, rgba(20, 20, 20, 1) 100%);
        border: 1px solid rgba(13, 202, 240, 0.3);
        border-radius: 16px;
        transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    }

    .voting-card:hover {
        border-color: rgba(13, 202, 240, 0.6);
        transform: translateY(-2px);
    }

    .quorum-track {
        height: 8px;
        background: #333;
        border-radius: 4px;
        overflow: hidden;
        margin-top: 5px;
    }

    .quorum-bar {
        height: 100%;
        background: linear-gradient(90deg, #ffc107, #ff9800);
        width: 0%;
        transition: width 1s ease-in-out;
    }

    /* Supporto Tema Chiaro per Card Votazioni in corso */
    [data-bs-theme="light"] .voting-card,
    [data-theme="light"] .voting-card {
        background: #ffffff !important;
        border: 1px solid #dee2e6 !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05) !important;
    }

    [data-bs-theme="light"] .voting-card:hover,
    [data-theme="light"] .voting-card:hover {
        border-color: rgba(13, 202, 240, 0.7) !important;
        box-shadow: 0 4px 16px rgba(13, 202, 240, 0.12) !important;
    }

    [data-bs-theme="light"] .quorum-track,
    [data-theme="light"] .quorum-track {
        background: #e9ecef !important;
    }

    [data-bs-theme="light"] .voting-card .border-secondary,
    [data-theme="light"] .voting-card .border-secondary {
        border-color: #dee2e6 !important;
    }

    [data-bs-theme="light"] .voting-card .border-start,
    [data-theme="light"] .voting-card .border-start {
        border-color: #ced4da !important;
    }

    [data-bs-theme="light"] .voting-card .text-white-50,
    [data-theme="light"] .voting-card .text-white-50 {
        color: #6c757d !important;
    }

    [data-bs-theme="light"] .voting-card .badge.bg-dark,
    [data-theme="light"] .voting-card .badge.bg-dark {
        background-color: #f8f9fa !important;
        color: #0dcaf0 !important;
    }

/* === NOTIFICATION SETTINGS MODAL === */
.notif-filter-list::-webkit-scrollbar {
    width: 5px;
}
.notif-filter-list::-webkit-scrollbar-track {
    background: #111;
    border-radius: 4px;
}
.notif-filter-list::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}
.notif-filter-list::-webkit-scrollbar-thumb:hover {
    background: #ffc107;
}

.notif-accordion-toggle {
    cursor: pointer;
    user-select: none;
}
.notif-accordion-toggle .chevron-icon {
    display: inline-block;
    transition: transform 0.2s ease-in-out;
    font-size: 0.75rem;
    color: #ffc107;
}
.notif-accordion-toggle[aria-expanded="true"] .chevron-icon {
    transform: rotate(90deg);
}
.notif-subfilter-item {
    background-color: #141414 !important;
    border-left: 3px solid #ffc107 !important;
    font-size: 0.82rem;
}
.notif-subfilter-item:hover {
    background-color: #1a1a1a !important;
}
.notif-subfilter-container {
    border-bottom: 1px solid #333;
}

/* === FLOATING RELEASE BANNER (NON-INVASIVE) === */
.release-floating-banner {
    position: fixed;
    bottom: calc(var(--bottom-nav-height, 75px) + env(safe-area-inset-bottom, 0px) + 16px);
    left: 50%;
    transform: translateX(-50%);
    width: min(92vw, 440px);
    z-index: 1045; /* Sopra la navbar, sotto i modali Bootstrap (1055) */
    background: rgba(22, 22, 22, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), 0 0 25px rgba(255, 193, 7, 0.12);
    animation: slideUpReleaseBanner 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

[data-theme="light"] .release-floating-banner,
[data-bs-theme="light"] .release-floating-banner {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 193, 7, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 20px rgba(255, 193, 7, 0.2);
}

.release-floating-banner.hide-banner {
    opacity: 0 !important;
    transform: translate(-50%, 20px) !important;
    pointer-events: none !important;
}

@keyframes slideUpReleaseBanner {
    from {
        opacity: 0;
        transform: translate(-50%, 40px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* === PULSE DOT FOR NOTIFICATIONS / RELEASES === */
.pulse-dot {
    width: 9px;
    height: 9px;
    background-color: var(--artiglio-yellow, #ffc107);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    animation: pulseGlow 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
    pointer-events: none;
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }
    70% {
        transform: scale(1.15);
        box-shadow: 0 0 0 7px rgba(255, 193, 7, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}



