/* =========================================================================
   NOWOCZESNY UKŁAD (DASHBOARD) - PEŁNA SZEROKOŚĆ DLA MECZÓW
========================================================================= */
:root {
    --bg: #f4f7fa;
    --box-bg: #ffffff;
    --border: #e2e8f0;
    --text-main: #2d3748;
    --text-light: #718096;
    --accent: #3182ce;
}

html, body { 
    background: var(--bg); margin: 0; padding: 0; color: var(--text-main); 
    overflow-x: hidden; width: 100%; 
}

/* KONTENER DLA GÓRNEJ CZĘŚCI (2 KOLUMNY) */
.dashboard-wrapper {
    max-width: 1680px;
    margin: 20px auto 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(360px, 1fr);
    gap: 25px;
    align-items: start;
}

/* KONTENER DLA DOLNEJ CZĘŚCI (PEŁNA SZEROKOŚĆ) */
.full-width-container {
   max-width: 1680px;
    margin: 0 auto;
    padding: 0 15px;
}

@media (max-width: 992px) {
    .dashboard-wrapper { grid-template-columns: 1fr; } 
}

/* Moduły (Pudełka) */
.module-box {
    background: var(--box-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 11px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    width: 100%;
    box-sizing: border-box;
}
.module-title { font-size: 1.15em; font-weight: 800; margin: 0 0 15px 0; padding-bottom: 10px; border-bottom: 2px solid #f1f5f9; display: flex; align-items: center; gap: 8px; }

.alert-box { border-radius: 10px; padding: 15px; margin-bottom: 20px; font-size: 0.9em; line-height: 1.4; box-sizing: border-box; }
.alert-warning { background: #fffaf0; border: 1px solid #feebc8; color: #c05621; }
.alert-info { background: #ebf8ff; border: 1px solid #bee3f8; color: #2b6cb0; }

/* SIATKA KART MECZOWYCH (PEŁNA SZEROKOŚĆ - ELASTYCZNA) */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); 
    gap: 20px;
    margin-bottom: 30px;
}

.round-header { font-size: 1.1em; font-weight: bold; margin: 20px 0 15px 0; display: flex; align-items: center; gap: 10px; }

/*.match-card {
    background: var(--box-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}*/
.match-card { 
    background: var(--box-bg); 
    border: 1px solid var(--border); 
    border-radius: 12px; /* Zwiększone zaokrąglenie z 8 na 12px */
    padding: 18px 15px; /* Delikatnie więcej "oddechu" w pionie */
    position: relative; 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Płynniejsza animacja */
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
}
.match-card:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 8px 24px rgba(0,0,0,0.06); /* Miękki, "applowy" cień rozproszony */
    border-color: #cbd5e0; /* Lekkie zaakcentowanie krawędzi po najechaniu */
}
.match-card:hover .team-logo {
    transform: scale(1.1); /* Herby minimalnie rosną gdy najedziesz na mecz */
}
.hit-badge { 
    background: linear-gradient(135deg, #fef08a, #fbd38d); 
    color: #975a16; 
    border: 1px solid #f6e05e; 
    box-shadow: 0 2px 5px rgba(251, 211, 141, 0.3);
}

.match-card-header { background: #f8fafc; padding: 15px; border-bottom: 1px solid var(--border); }
.match-datetime { font-size: 0.8em; color: var(--text-light); font-weight: 700; margin-bottom: 8px; display: flex; justify-content: space-between;}
.match-teams-area { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.team-name { font-weight: 300; font-size: 0.9em; color: var(--text-main); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
/*.team-logo { width: 24px; height: 24px; object-fit: contain; flex-shrink: 0; }*/
.team-logo { 
    width: 45px; 
    height: 45px; 
    object-fit: contain; 
    transition: transform 0.3s ease; 
    filter: drop-shadow(0 3px 4px rgba(0,0,0,0.12)); /* Wyciąga PNG "do przodu" */
}
/*.match-score { background: var(--text-main); color: #fff; padding: 4px 10px; border-radius: 6px; font-weight: 900; letter-spacing: 1px; flex-shrink: 0;}*/
.match-score-vs { 
    font-size: 1.4em; 
    font-weight: 800; 
    color: var(--text-main); 
    min-width: 65px; 
    text-align: center;
    background: #f1f5f9; /* Subtelne tło, które łączy herby */
    padding: 4px 12px;
    border-radius: 10px; /* Kształt pigułki */
    letter-spacing: 0.5px;
}

.h2h-mini-bar { display: flex; height: 6px; width: 100%; border-radius: 3px; overflow: hidden; margin-top: 10px; opacity: 0.8; }
.h2h-1 { background: #38a169; } .h2h-x { background: #a0aec0; } .h2h-2 { background: #e53e3e; }

/* Sekcja Typów */
.match-picks-area { padding: 0 15px 15px 15px; flex-grow: 1; }
.pick-list-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #f1f5f9; font-size: 0.85em; }
.match-picks-area .pick-list-item.is-extra-pick { display: none; }
.match-picks-area .pick-list-item.is-extra-pick[hidden] { display: none !important; }
.match-picks-area.picks-expanded .pick-list-item.is-extra-pick:not([hidden]) { display: flex; }
.pick-list-item:last-child { border-bottom: none; }
.pick-user { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text-main); text-decoration: none; }
.pick-avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; background: #cbd5e0; display: flex; align-items: center; justify-content: center; font-size: 0.8em; overflow: hidden; flex-shrink: 0;}
.pick-data { display: flex; align-items: center; gap: 6px; }
.pick-val { background: #edf2f7; padding: 2px 6px; border-radius: 4px; font-weight: 800; color: var(--accent); }
.pick-score { font-weight: 700; color: var(--text-light); }
.pick-time { font-size: 0.8em; color: #a0aec0; }
.picks-toggle-btn {
    width: 100%;
    margin-top: 9px;
    padding: 8px 10px;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: #f8fbff;
    color: var(--accent);
    font-weight: 800;
    font-size: 0.82em;
    cursor: pointer;
    position: relative;
    z-index: 2;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.picks-toggle-btn:hover {
    background: #eef6ff;
    border-color: #bfdbfe;
}

/* Kafelki Typów Sezonowych */
.pred-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 15px; padding: 15px; }
.pred-card { border: 1px solid var(--border); border-radius: 10px; padding: 15px; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
.pred-header { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 1.05em; border-bottom: 1px solid #f1f5f9; padding-bottom: 10px; margin-bottom: 10px; }
.pred-row { display: flex; justify-content: space-between; font-size: 0.85em; padding: 5px 0; border-bottom: 1px dashed #f1f5f9; }
.pred-row:last-child { border-bottom: none; }
.pred-label { color: var(--text-light); }
.pred-val { font-weight: 600; color: var(--text-main); text-align: right; }

/* Sidebar: Ostatnie wyniki */
.res-side-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    margin: 4px 0;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.85em;
    text-decoration: none;
    color: inherit;
    background: #fff;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.res-side-item::after {
    content: "›";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #ebf8ff;
    border: 1px solid #bee3f8;
    color: #2b6cb0;
    font-size: 1.25em;
    font-weight: 900;
    line-height: 1;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.res-side-item:last-child { border-bottom: 1px solid transparent; }
.res-side-item:hover,
.res-side-item:focus-visible {
    background: #f8fbff;
    border-color: #bee3f8;
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.10);
    transform: translateY(-1px);
    outline: none;
}
.res-side-item:hover::after,
.res-side-item:focus-visible::after {
    background: #3182ce;
    border-color: #3182ce;
    color: #fff;
    transform: translateX(2px);
}
.res-side-team {
    min-width: 0;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-main);
}
.res-side-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #edf2f7;
    border: 1px solid #e2e8f0;
    padding: 4px 9px;
    border-radius: 999px;
    font-weight: 900;
    color: var(--text-main);
    white-space: nowrap;
}
.res-side-item:hover .res-side-score,
.res-side-item:focus-visible .res-side-score {
    background: #fff;
    border-color: #90cdf4;
    color: #2b6cb0;
}
@media (max-width: 520px) {
    .res-side-item {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) 22px;
        gap: 6px;
        padding: 9px 8px;
    }
    .res-side-item::after {
        width: 22px;
        height: 22px;
        font-size: 1.15em;
    }
    .res-side-score {
        padding: 3px 7px;
    }
}
/* Klasyfikacja */
.rank-list {
    display: grid;
    gap: 6px;
}
.rank-row {
    display: grid;
    grid-template-columns: 34px 18px minmax(0, 1fr) auto 24px;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.9em;
    text-decoration: none;
    color: inherit;
    background: #fff;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.rank-row::after {
    content: "›";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #ebf8ff;
    border: 1px solid #bee3f8;
    color: #2b6cb0;
    font-size: 1.25em;
    font-weight: 900;
    line-height: 1;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.rank-row:hover,
.rank-row:focus-visible {
    background: #f8fbff;
    border-color: #bee3f8;
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.10);
    transform: translateY(-1px);
    outline: none;
}
.rank-row:hover::after,
.rank-row:focus-visible::after {
    background: #3182ce;
    border-color: #3182ce;
    color: #fff;
    transform: translateX(2px);
}
.rank-pos {
    width: 30px;
    font-weight: 900;
    color: var(--text-light);
    text-align: center;
}
.rank-trend {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 0.72em;
    font-weight: 900;
    line-height: 1;
    text-decoration: none !important;
}
.rank-trend-up {
    background: #f0fff4;
    color: #2f855a;
}
.rank-trend-down {
    background: #fff5f5;
    color: #c53030;
}
.rank-trend-same {
    background: #f8fafc;
    color: #a0aec0;
}
.rank-trend-none {
    visibility: hidden;
}
.rank-user {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--text-main);
}
.rank-row:hover .rank-user,
.rank-row:focus-visible .rank-user {
    text-decoration: none;
}
.rank-user .pick-avatar {
    flex: 0 0 auto;
}
.rank-pts {
    font-weight: 900;
    color: var(--accent);
    background: #ebf8ff;
    border: 1px solid #bee3f8;
    padding: 3px 9px;
    border-radius: 999px;
    white-space: nowrap;
}
.rank-row:hover .rank-pts,
.rank-row:focus-visible .rank-pts {
    background: #fff;
    border-color: #90cdf4;
    color: #2b6cb0;
}
@media (max-width: 520px) {
    .rank-row {
        grid-template-columns: 30px 16px minmax(0, 1fr) auto 22px;
        gap: 6px;
        padding: 9px 8px;
    }
    .rank-row::after {
        width: 22px;
        height: 22px;
        font-size: 1.15em;
    }
    .rank-trend {
        width: 16px;
        height: 16px;
        font-size: 0.68em;
    }    .rank-pts {
        padding: 3px 7px;
    }
}

.rank-list a.rank-row,
.rank-list a.rank-row:link,
.rank-list a.rank-row:visited,
.rank-list a.rank-row:hover,
.rank-list a.rank-row:focus,
.rank-list a.rank-row:focus-visible,
.rank-list a.rank-row .rank-user,
.rank-list a.rank-row:hover .rank-user,
.rank-list a.rank-row:focus-visible .rank-user {
    text-decoration: none !important;
}
.rank-list a.rank-row,
.rank-list a.rank-row:link,
.rank-list a.rank-row:visited,
.rank-list a.rank-row:hover,
.rank-list a.rank-row:focus,
.rank-list a.rank-row:active,
.rank-list a.rank-row:focus-visible,
.rank-list a.rank-row *,
.rank-list a.rank-row *:hover,
.rank-list a.rank-row *:focus {
    text-decoration: none !important;
    text-decoration-line: none !important;
    border-bottom: 0 !important;
}
/* Linki pod modułami bocznymi */
.module-more {
    text-align: center;
    margin-top: 15px;
}
.module-more-link,
.module-more-link:link,
.module-more-link:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 30px;
    padding: 6px 12px;
    border: 1px solid #bee3f8;
    border-radius: 999px;
    background: #ebf8ff;
    color: var(--accent);
    font-size: 0.85em;
    font-weight: 800;
    text-decoration: none !important;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.module-more-link:hover,
.module-more-link:focus-visible {
    background: #3182ce;
    border-color: #3182ce;
    color: #fff;
    text-decoration: none !important;
    box-shadow: 0 4px 10px rgba(49, 130, 206, 0.18);
    transform: translateY(-1px);
    outline: none;
}
/* Absolutny badge notatek */
.btn-notes { position:relative; display:inline-flex; align-items:center; justify-content:center; gap:5px; background:none; border:none; color:#718096; cursor:pointer; padding:0; }
.btn-notes-icon { position:relative; display:inline-flex; align-items:center; justify-content:center; font-size:1.1rem; line-height:1; }
.btn-notes-label { color:#718096; font-size:0.68rem; font-weight:600; line-height:1.15; white-space:nowrap; }
.match-card .btn-notes:hover { transform:none; }
.btn-notes:hover .btn-notes-label { color:#2b6cb0; }
.badge-notes { position: absolute; top: -6px; right: -10px; background: #e53e3e; color: white; font-size: 0.65em; font-weight: bold; border-radius: 50%; padding: 2px 5px; min-width: 14px; text-align: center; line-height: 1; border: 2px solid #f8fafc; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }

/* Lifting kart meczowych na stronie głównej */
.matches-grid {
    grid-template-columns: repeat(auto-fit, minmax(390px, 520px));
    gap: 18px;
    justify-content: center;
    align-items: stretch;
}

.rounds-panels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 20px;
    align-items: start;
    margin-bottom: 30px;
}

.rounds-panels-grid.rounds-count-1 {
    grid-template-columns: 1fr;
}

.round-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.round-panel .round-header {
    margin: 0 0 14px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf2f7;
}

.round-panel .matches-grid {
    margin-bottom: 0;
    gap: 14px;
}

.rounds-panels-grid:not(.rounds-count-1) .matches-grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
}

.rounds-panels-grid.rounds-count-1 .matches-grid {
    max-width: 1058px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(auto-fit, minmax(390px, 520px));
    justify-content: center;
}
.match-card {
    overflow: hidden;
}

.match-card-header {
    padding-bottom: 6px;
}

/* Mocniejsze wyeksponowanie daty meczu */
.match-datetime {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.match-date-actions {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.match-group-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef6ff;
    border: 1px solid #cfe4ff;
    color: #2563eb;
    font-size: 0.72em;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.3px;
}

.match-info-box {
    margin: -4px 12px 10px;
    padding: 7px 10px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 0.82em;
    line-height: 1.35;
    font-style: italic;
    text-align: center;
}

@media (max-width: 600px) {
    .match-datetime {
        align-items: flex-start;
    }

    .match-info-box {
        margin: -2px 8px 10px;
        font-size: 0.78em;
    }
}

.match-datetime > span:first-child::before {
    content: "📅 ";
}

.match-datetime .btn-notes {
    margin-left: auto;
}

/* Więcej miejsca i lepsze łamanie nazw drużyn */
.match-teams-area {
    gap: 10px;
    align-items: center;
}

.team-name {
    min-width: 0;
    line-height: 1.18;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    font-size: 0.95em;
}

.team-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex: 0 0 30px;
}

/* Minimalnie mocniejszy środek VS / wynik */
.match-teams-area > span {
    flex: 0 0 auto;
    padding: 2px 6px;
    border-radius: 8px;
    background: #f8fafc;
}

@media (max-width: 900px) {
    .rounds-panels-grid {
        grid-template-columns: 1fr;
    }

    .rounds-panels-grid .matches-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        justify-content: stretch;
    }
}

@media (max-width: 600px) {
    .round-panel {
        padding: 10px;
        min-width: 0;
    }

    .rounds-panels-grid .matches-grid {
        grid-template-columns: 1fr;
    }

    .rounds-panels-grid.rounds-count-1,
    .rounds-panels-grid.rounds-count-1 .matches-grid {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .rounds-panels-grid.rounds-count-1 .matches-grid {
        grid-template-columns: minmax(0, 1fr);
        justify-content: stretch;
        margin-left: 0;
        margin-right: 0;
    }

    .rounds-panels-grid.rounds-count-1 .match-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
}
/* Desktop szeroki — karty mogą być jeszcze wygodniejsze */
@media (min-width: 1200px) {
    .matches-grid {
        grid-template-columns: repeat(auto-fit, minmax(430px, 520px));
        justify-content: center;
    }

    .team-name {
        font-size: 1em;
    }
}

/* Tablet i mały ekran — bez rozpychania */
@media (max-width: 900px) {
    .matches-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        justify-content: stretch;
    }
}

/* Telefon — jedna kolumna */
@media (max-width: 600px) {
    .matches-grid {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

    .match-datetime {
        font-size: 0.86em;
        padding: 8px 10px;
    }

    .team-logo {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
    }

    .team-name {
        font-size: 0.9em;
    }
}








/* Animowane oznaczenia terminu typowania */
.deadline-alarm-icon,
.deadline-hourglass-icon {
    display: inline-block;
    width: 1.2em;
    text-align: center;
    will-change: transform;
}

.deadline-alarm-icon {
    transform-origin: 50% 72%;
    animation: deadlineAlarmRing 1.8s ease-in-out infinite;
}

.deadline-hourglass-icon {
    animation: deadlineHourglassTurn 2.8s ease-in-out infinite;
}

@keyframes deadlineAlarmRing {
    0%, 58%, 100% { transform: rotate(0deg); }
    64% { transform: rotate(-12deg); }
    70% { transform: rotate(11deg); }
    76% { transform: rotate(-9deg); }
    82% { transform: rotate(7deg); }
    88% { transform: rotate(-4deg); }
    94% { transform: rotate(0deg); }
}

@keyframes deadlineHourglassTurn {
    0%, 30% { transform: rotate(0deg); }
    48%, 78% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .deadline-alarm-icon,
    .deadline-hourglass-icon {
        animation: none;
    }
}

/* Odliczanie i oznaczenie swiezych wynikow */
.deadline-countdown {
    color: #c53030;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.round-deadline-closed {
    color: #c53030;
    font-weight: 400;
}

.recent-result-mark {
    display: inline-block;
    margin-right: 3px;
    color: #2f855a;
    font-size: 0.9em;
    line-height: 1;
    vertical-align: 0.05em;
    animation: recentResultAppear 0.35s ease-out both;
}

.index-live-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #c53030;
    font-size: 0.72em;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
}

.index-live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    background: #e53e3e;
    border-radius: 50%;
    animation: indexLivePulse 1.25s ease-out infinite;
}

@keyframes indexLivePulse {
    0% { box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.65); opacity: 1; }
    70% { box-shadow: 0 0 0 5px rgba(229, 62, 62, 0); opacity: 0.8; }
    100% { box-shadow: 0 0 0 0 rgba(229, 62, 62, 0); opacity: 1; }
}

@keyframes recentResultAppear {
    from { opacity: 0; transform: translateY(-2px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .recent-result-mark,
    .index-live-dot { animation: none; }
}

/* Priorytetowa kolejność sekcji strony głównej na urządzeniach mobilnych */
.index-mobile-priority {
    display: none;
}

@media (max-width: 992px) {
    .index-mobile-priority {
        display: block;
        width: 100%;
        max-width: 1680px;
        margin: 20px auto 0;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .index-mobile-priority:empty {
        display: none;
    }

    .index-mobile-priority > * {
        width: 100%;
        box-sizing: border-box;
    }

    .index-mobile-priority .index-upcoming-section {
        margin-bottom: 11px;
    }

    .index-mobile-priority .index-upcoming-section > .index-section-title {
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    .index-mobile-priority {
        padding: 0 10px;
    }
}
