/* ==========================================================================
   WAW POKÉMON CALENDAR - STYLES (v1.3.0)
   Kolorystyka z akcentem #008bff
   2 kolumny na górze (Rocznice + Dziś), 2 kolumny na dole (Trwające + Nadchodzące)
   Poprawiony widok tabeli (minmax(0, 1fr)) oraz widok tygodnia (obrazek na górze)
   ========================================================================== */

:root {
    --waw-cal-brand: #008bff;
    --waw-cal-brand-dark: #006ecb;
    --waw-cal-brand-light: #e6f3ff;
    --waw-cal-gold: #d4af37;
    --waw-cal-gold-dark: #aa8c2c;
    --waw-cal-gold-bg: #fffbf0;
    --waw-cal-green: #2a9d8f;
    --waw-cal-green-bg: #f0fdf4;
    --waw-cal-green-border: #86efac;
    --waw-cal-green-accent: #16a34a;
    --waw-cal-purple: #7b2cbf;
    --waw-cal-orange: #f77f00;
    --waw-cal-teal: #00b4d8;
    --waw-cal-pogo-red: #e3350d;
    --waw-cal-gray-bg: #f8f9fa;
    --waw-cal-border: #e2e8f0;
    --waw-cal-text: #2d3748;
    --waw-cal-text-muted: #718096;
    --waw-cal-radius: 12px;
    --waw-cal-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    --waw-cal-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.waw-calendar-root {
    font-family: inherit;
    max-width: 1200px;
    margin: 15px auto;
    color: var(--waw-cal-text);
    box-sizing: border-box;
    width: 100%;
}

.waw-calendar-root *,
.waw-calendar-root *::before,
.waw-calendar-root *::after {
    box-sizing: border-box;
}

/* 1. Sekcja Wyróżnień (Dzisiaj & W tym tygodniu) */
.waw-cal-highlights-section {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 30px;
    box-shadow: none;
}

.waw-cal-tabs-nav {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid #edf2f7;
    padding-bottom: 14px;
    margin-bottom: 22px;
}
.waw-cal-tabs-nav.waw-cal-tabs-nav-secondary {
    border-top: 1px solid #edf2f7;
    border-bottom: none;
    padding-top: 20px;
    padding-bottom: 0;
    margin-top: 24px;
    margin-bottom: 16px;
}
.waw-cal-tab-btn {
    background: #edf2f7;
    border: none;
    outline: none;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    color: #4a5568;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.waw-cal-tab-btn:hover {
    background: #e2e8f0;
    color: #1a202c;
}
.waw-cal-tab-btn.active {
    background: var(--waw-cal-brand);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 139, 255, 0.3);
}

.waw-cal-tab-content {
    display: none;
}
.waw-cal-tab-content.active {
    display: block;
}

/* 1.1 RZĄD GÓRNY: Rocznice NAD wydarzeniami na dziś (układ pionowy, pełna szerokość) */
.waw-cal-top-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    align-items: stretch !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Kolumna rocznic (na górze, ukrywana jeśli brak rocznic) */
.waw-top-col-anniv {
    background: linear-gradient(180deg, #fffdf2 0%, #ffffff 100%);
    border: 2px solid #f6e05e;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.waw-cal-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #fef08a;
}
.waw-badge-gold {
    background: linear-gradient(135deg, #d4af37 0%, #f59e0b 100%);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 6px 14px;
    border-radius: 8px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(212, 175, 55, 0.35);
}
.waw-badge-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 6px 14px;
    border-radius: 8px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35);
}
.waw-col-count {
    background: #fff;
    border: 1px solid #cbd5e0;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 2px 8px;
    border-radius: 14px;
    color: #4a5568;
}

/* ========================================================
   GÓRNE WYRÓŻNIONE BOKSY: SIATKA ROCZNIC ORAZ WYDARZEŃ NA DZIŚ
   ======================================================== */
#waw-list-anniv-today,
#waw-list-anniv-week {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 320px)) !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#waw-list-today-only,
#waw-list-week-today {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#waw-list-anniv-today .waw-cal-empty-msg,
#waw-list-anniv-week .waw-cal-empty-msg,
#waw-list-today-only .waw-cal-empty-msg,
#waw-list-week-today .waw-cal-empty-msg,
#waw-list-anniv-today .waw-cal-loading-placeholder,
#waw-list-anniv-week .waw-cal-loading-placeholder,
#waw-list-today-only .waw-cal-loading-placeholder,
#waw-list-week-today .waw-cal-loading-placeholder {
    grid-column: 1 / -1 !important;
}

@media (max-width: 600px) {
    #waw-list-anniv-today,
    #waw-list-anniv-week {
        grid-template-columns: 1fr !important;
    }
    #waw-list-today-only,
    #waw-list-week-today {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
        gap: 8px !important;
    }
}
@media (max-width: 340px) {
    #waw-list-today-only,
    #waw-list-week-today {
        grid-template-columns: 1fr !important;
    }
}

/* Karta rocznicy - zgrabny, kompaktowy boks ze złotą koroną */
.waw-card-anniv {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: center !important;
    background: #ffffff;
    border: 2px solid #f59e0b;
    border-radius: 10px;
    padding: 10px 10px !important;
    min-height: 128px !important;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 0 !important;
}
.waw-card-anniv::before {
    content: "👑";
    position: absolute;
    top: 5px;
    right: 7px;
    font-size: 13px;
}
.waw-card-anniv:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(212, 175, 55, 0.25);
}
.waw-card-anniv-thumb,
.waw-card-anniv-img-wrap {
    width: 48px !important;
    height: 48px !important;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #fde68a;
    padding: 4px;
    margin: 0 auto 6px !important;
    overflow: hidden;
}
.waw-card-anniv-thumb img,
.waw-card-anniv-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.waw-card-anniv-body,
.waw-card-anniv-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.waw-card-anniv-title {
    font-size: 0.86rem !important;
    font-weight: 800;
    color: #92400e;
    margin: 0 0 5px;
    line-height: 1.25;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal !important;
}
.waw-card-anniv-footer,
.waw-card-anniv-meta {
    font-size: 0.74rem;
    font-weight: 600;
    color: #78350f;
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.waw-card-anniv-badge {
    background: #fef3c7;
    color: #92400e;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}
.waw-card-anniv-date {
    font-size: 0.74rem;
    color: #92400e;
    font-weight: 600;
}

/* Karta wyróżnionego wydarzenia na dziś - mniejszy, zgrabny boks */
.waw-card-today-hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: center !important;
    background: #ffffff;
    border-radius: 10px;
    padding: 10px 8px !important;
    min-height: 128px !important;
    border: 1.5px solid #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 0 !important;
}
.waw-card-today-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.08);
}
.waw-card-hero-thumb {
    width: 44px !important;
    height: 44px !important;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 3px;
    overflow: hidden;
    margin: 0 auto 6px !important;
}
.waw-card-hero-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.waw-card-hero-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.waw-card-hero-title {
    font-size: 0.82rem !important;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 5px;
    line-height: 1.25;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal !important;
}
.waw-card-hero-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 100%;
}
.waw-card-hero-date,
.waw-card-hero-meta {
    font-size: 0.74rem !important;
    color: #64748b;
    font-weight: 600;
}
.waw-card-hero-footer .waw-category-pill {
    font-size: 0.68rem !important;
    padding: 2px 7px !important;
    border-radius: 4px;
}

/* Dedykowany boks: Ostatnie i nadchodzące rocznice (2 kolumny pod boksem) */
.waw-anniv-history-section {
    margin-top: 18px !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.waw-anniv-history-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
@media (max-width: 820px) {
    .waw-anniv-history-grid {
        grid-template-columns: 1fr !important;
    }
}
.waw-history-col {
    background: #ffffff;
    border-radius: 10px;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #94a3b8;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.waw-history-col.past,
.waw-history-col.upcoming {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #94a3b8 !important;
}
.waw-history-col-header {
    font-size: 0.85rem;
    font-weight: 800;
    color: #475569 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #edf2f7 !important;
    display: flex;
    align-items: center;
    gap: 6px;
}
.waw-history-col.past .waw-history-col-header,
.waw-history-col.upcoming .waw-history-col-header {
    color: #475569 !important;
    border-bottom-color: #edf2f7 !important;
}

.waw-pills-container {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.waw-mini-anniv-pill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 0.83rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.18s ease;
    gap: 10px;
}
.waw-mini-anniv-pill:hover {
    border-color: #008bff;
    background: #f8fafc;
    transform: translateX(2px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.waw-mini-anniv-pill .pill-badge-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.waw-mini-anniv-pill .pill-date {
    font-weight: 800;
    color: #b45309;
    font-size: 0.78rem;
    background: #fef3c7;
    padding: 3px 7px;
    border-radius: 4px;
    white-space: nowrap;
}
.waw-mini-anniv-pill .pill-relative {
    font-weight: 700;
    font-size: 0.74rem;
    padding: 3px 7px;
    border-radius: 4px;
    white-space: nowrap;
}
.waw-mini-anniv-pill .pill-relative.is-past {
    background: #f1f5f9;
    color: #475569;
}
.waw-mini-anniv-pill .pill-relative.is-upcoming {
    background: #ecfdf5;
    color: #047857;
    font-weight: 800;
}
.waw-mini-anniv-pill .pill-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: right;
    flex-grow: 1;
}
.waw-pill-loading, .waw-pill-empty {
    font-size: 0.8rem;
    color: #a1a1aa;
    font-style: italic;
    padding: 4px 0;
}

/* Kolumna wydarzeń na dziś (pod rocznicami) */
.waw-top-col-today {
    background: var(--waw-cal-green-bg);
    border: 1.5px solid var(--waw-cal-green-border);
    border-left: 5px solid var(--waw-cal-green-accent);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.waw-subgroup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #edf2f7;
    gap: 8px;
}
.waw-subgroup-title {
    font-size: 1rem;
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.waw-subgroup-count {
    background: #ffffff;
    border: 1px solid #cbd5e0;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 12px;
    color: #475569;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 26px !important;
    box-sizing: border-box !important;
}

/* 1.2 RZĄD DOLNY: 2 KOLUMNY (Trwające po lewej + Rozpoczynające się po prawej) */
.waw-bottom-two-cols {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 20px !important;
    align-items: start !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
@media (max-width: 820px) {
    .waw-bottom-two-cols {
        grid-template-columns: 1fr !important;
    }
}

.waw-events-subgroup {
    border-radius: 10px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.waw-cal-cards-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.waw-cal-cards-list.waw-cards-two-cols {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
}
@media (max-width: 820px) {
    .waw-cal-cards-list.waw-cards-two-cols {
        grid-template-columns: 1fr !important;
    }
}

/* Karty zwykłych wydarzeń */
.waw-card-event-mini {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    transition: all 0.2s ease;
    cursor: pointer;
}
.waw-card-event-mini:hover {
    border-color: #cbd5e0;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.waw-card-event-img {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #edf2f7;
    overflow: hidden;
}
.waw-card-event-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.waw-card-event-info {
    flex-grow: 1;
    overflow: hidden;
}
.waw-card-event-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 3px;
    line-height: 1.3;
}
.waw-card-event-meta {
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.waw-remaining-days {
    color: #0284c7;
    font-weight: 600;
}

.waw-cal-empty-msg {
    text-align: center;
    color: #94a3b8;
    padding: 16px 10px;
    font-size: 0.92rem;
}

/* 2. Panel Sterowania Kalendarzem */
.waw-cal-board-wrapper {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin-bottom: 30px;
    width: 100%;
    overflow: hidden;
}

.waw-cal-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf2f7;
    margin-bottom: 16px;
}

.waw-cal-nav-group {
    display: flex;
    align-items: center;
    gap: 8px;
}
.waw-btn-nav, .waw-btn-today {
    background: #edf2f7;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    padding: 7px 15px;
    font-weight: 700;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap !important;
}
.waw-btn-nav:hover, .waw-btn-today:hover {
    background: #e2e8f0;
    color: #1a202c;
}
.waw-cal-current-label {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a202c;
    margin: 0 0 0 10px;
    min-width: 180px;
}

.waw-cal-jump-group {
    display: flex;
    gap: 8px;
}
.waw-cal-select {
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    background: #fff;
    color: #2d3748;
    outline: none;
    cursor: pointer;
}

.waw-cal-views-switch {
    display: flex;
    background: #edf2f7;
    padding: 3px;
    border-radius: 8px;
}
.waw-view-btn {
    border: none;
    background: transparent;
    padding: 7px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #4a5568;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.waw-view-btn.active {
    background: #ffffff;
    color: var(--waw-cal-brand);
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

/* Filtry (Pills) */
.waw-cal-filters-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #edf2f7;
}
.waw-filters-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #4a5568;
    margin-right: 6px;
}
.waw-filters-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.waw-pill-filter {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.waw-pill-filter:hover {
    border-color: #cbd5e0;
    background: #f8fafc;
}
.waw-pill-filter.active {
    background: #1e293b;
    color: #ffffff;
    border-color: #1e293b;
}

.waw-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}
.dot-anniv { background: var(--waw-cal-gold); }
.dot-game { background: var(--waw-cal-green); }
.dot-post { background: var(--waw-cal-brand); }
.dot-pocket { background: var(--waw-cal-purple); }
.dot-pocket-event, .dot-pocket_event { background: #db2777; }
.dot-code { background: var(--waw-cal-orange); }
.dot-tcg { background: var(--waw-cal-teal); }
.dot-tcgja { background: #e056fd; }
.dot-pogo { background: var(--waw-cal-pogo-red); }
.dot-masters { background: #6366f1; }
.dot-custom { background: #4a5568; }

/* 3. SIATKA KALENDARZA (WIDOK MIESIĄCA) - 100% DOPASOWANIE DO BOKSU */
.waw-cal-main-viewport {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.waw-month-grid {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    border: 1px solid var(--waw-cal-border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box !important;
}

.waw-month-day-name {
    background: #f1f5f9;
    padding: 10px 2px;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #475569;
    border-bottom: 1px solid var(--waw-cal-border);
    border-right: 1px solid var(--waw-cal-border);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.waw-month-day-name:last-child {
    border-right: none;
}

.waw-month-cell {
    min-height: 140px;
    border-bottom: 1px solid var(--waw-cal-border);
    border-right: 1px solid var(--waw-cal-border);
    padding: 4px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: background 0.15s ease;
    overflow: hidden !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.waw-month-cell:nth-child(7n) {
    border-right: none;
}
.waw-month-cell:hover {
    background: #f8fafc;
}
.waw-month-cell.other-month {
    background: #f8fafc;
    opacity: 0.45;
}

/* Wyraźne zaznaczenie dzisiejszego dnia w miesiącu */
.waw-month-cell.is-today {
    background: #f0f7ff !important;
    border: 2px solid var(--waw-cal-brand) !important;
    z-index: 2;
}
.waw-month-cell.is-today .waw-cell-date-num {
    background: var(--waw-cal-brand);
    color: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    box-shadow: 0 2px 6px rgba(0, 139, 255, 0.4);
}

.waw-cell-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    min-width: 0;
}
.waw-cell-date-num {
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
    padding: 2px 4px;
}
.waw-cell-anniv-star {
    font-size: 0.85rem;
    color: #d4af37;
}

.waw-cell-events-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
    flex-grow: 1;
    min-width: 0;
    width: 100%;
}

/* Belka pojedynczego wydarzenia - obcinanie tekstu bez zawijania */
.waw-event-bar {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 5px;
    border-radius: 4px;
    color: #ffffff;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.15s ease;
    line-height: 1.35;
    box-sizing: border-box !important;
}
.waw-event-bar:hover {
    filter: brightness(1.15);
}
.waw-bar-anniversary {
    background: linear-gradient(90deg, #d4af37, #f39c12) !important;
    color: #fff !important;
    font-weight: 800;
    box-shadow: 0 1px 3px rgba(212, 175, 55, 0.4);
}
.waw-bar-game { background: var(--waw-cal-green) !important; color: #fff !important; }
.waw-bar-dlc { background: #16a085 !important; color: #fff !important; }
.waw-bar-post { background: var(--waw-cal-brand) !important; color: #fff !important; }
.waw-bar-pocket,
.waw-bar-pocket_event { background: var(--waw-cal-purple) !important; color: #fff !important; }
.waw-bar-code { background: var(--waw-cal-orange) !important; color: #fff !important; }
.waw-bar-tcg,
.waw-bar-tcg_en { background: var(--waw-cal-teal) !important; color: #fff !important; }
.waw-bar-tcg_ja { background: #e056fd !important; color: #fff !important; }
.waw-bar-masters,
.waw-bar-masters_event { background: #6366f1 !important; color: #fff !important; }
.waw-bar-pogo { background: var(--waw-cal-pogo-red) !important; color: #fff !important; }
.waw-bar-custom { background: #4a5568 !important; color: #fff !important; }

.waw-more-events-link {
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    text-align: center;
    margin-top: 2px;
    cursor: pointer;
}
.waw-more-events-link:hover {
    color: var(--waw-cal-brand);
}

/* 4. WIDOK TYGODNIA - MINIATURA NA GÓRZE, TEKST POD SPODEM */
.waw-week-grid {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    width: 100% !important;
    border: 1px solid var(--waw-cal-border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box !important;
}
@media (max-width: 900px) {
    .waw-week-grid {
        grid-template-columns: 1fr !important;
    }
}
.waw-week-column {
    border-right: 1px solid var(--waw-cal-border);
    display: flex;
    flex-direction: column;
    min-width: 0 !important;
    background: #ffffff;
    box-sizing: border-box !important;
}
.waw-week-column:last-child {
    border-right: none;
}
.waw-week-col-header {
    background: #f1f5f9;
    padding: 10px 4px;
    text-align: center;
    border-bottom: 1px solid var(--waw-cal-border);
}
.waw-week-col-day {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}
.waw-week-col-date {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
}

/* Wyraźne zaznaczenie dzisiejszego dnia w tygodniu */
.waw-week-column.is-today {
    background: #f0f7ff;
    border-left: 2px solid var(--waw-cal-brand);
    border-right: 2px solid var(--waw-cal-brand);
}
.waw-week-column.is-today .waw-week-col-header {
    background: var(--waw-cal-brand);
    color: #ffffff;
}
.waw-week-column.is-today .waw-week-col-day,
.waw-week-column.is-today .waw-week-col-date {
    color: #ffffff !important;
}

.waw-week-events-list {
    padding: 8px 5px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 250px;
    min-width: 0;
}

/* Karta w widoku tygodnia: Obrazek na górze, tekst pod spodem */
.waw-week-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
    width: 100%;
}
.waw-week-card:hover {
    border-color: #cbd5e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.waw-week-card.is-anniv-card {
    border: 1.5px solid #f6e05e;
    background: #fffdf5;
}
.waw-week-card-img-wrap {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 6px;
    margin-bottom: 6px;
    overflow: hidden;
}
.waw-week-card-img-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.waw-week-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 3px;
    line-height: 1.25;
    word-break: break-word;
    width: 100%;
}
.waw-week-card-tag {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
    width: 100%;
}

/* 5. Widok Roku */
.waw-year-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
@media (max-width: 992px) {
    .waw-year-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .waw-year-grid {
        grid-template-columns: 1fr;
    }
}
.waw-year-month-card {
    background: #ffffff;
    border: 1px solid var(--waw-cal-border);
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.waw-year-month-card:hover {
    transform: translateY(-2px);
    border-color: var(--waw-cal-brand);
}
.waw-year-month-title {
    font-size: 1rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 8px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.waw-year-month-count {
    background: #e2e8f0;
    color: #475569;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 10px;
}
.waw-year-mini-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}
.waw-year-mini-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
    color: #64748b;
    border-radius: 3px;
    background: #f8fafc;
}
.waw-year-mini-day.has-events {
    background: #bae6fd;
    color: #0369a1;
    font-weight: 800;
}
.waw-year-mini-day.has-anniv {
    background: #fef08a;
    color: #854d0e;
    font-weight: 900;
}
.waw-year-mini-day.is-today {
    border: 1.5px solid var(--waw-cal-brand);
    font-weight: 900;
    color: var(--waw-cal-brand);
}

/* 6. WYSZUKIWARKA NAD HARMONOGRAMEM */
.waw-cal-search-standalone {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 25px;
    box-shadow: none;
}
.waw-cal-search-wrap-full {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.waw-search-label {
    font-weight: 800;
    font-size: 1rem;
    color: #1e293b;
}
.waw-search-input-wrap {
    position: relative;
    width: 100%;
}
.waw-search-input-wrap input {
    width: 100%;
    padding: 10px 36px 10px 14px;
    border: 1.5px solid #cbd5e0;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.waw-search-input-wrap input:focus {
    border-color: var(--waw-cal-brand);
    box-shadow: 0 0 0 3px rgba(0, 139, 255, 0.15);
}
#waw-cal-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #a0aec0;
    cursor: pointer;
}

/* 7. Harmonogram (Oś Czasu) */
.waw-cal-agenda-section {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 30px;
    box-shadow: none;
}
.waw-cal-agenda-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #edf2f7;
    padding-bottom: 12px;
}
.waw-agenda-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a202c;
    margin: 0 0 4px;
}
.waw-agenda-desc {
    font-size: 0.92rem;
    color: var(--waw-cal-text-muted);
    margin: 0;
}
.waw-agenda-range-badge {
    background: #edf2f7;
    color: #4a5568;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 6px;
}

.waw-cal-agenda-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.waw-agenda-day-block {
    display: flex;
    gap: 22px;
    position: relative;
    padding-bottom: 6px;
}
.waw-agenda-day-block::before {
    content: "";
    position: absolute;
    left: 85px;
    top: 14px;
    bottom: -16px;
    width: 3px;
    background: #cbd5e1;
    border-radius: 2px;
}
.waw-agenda-day-block:last-child::before {
    display: none;
}
.waw-agenda-day-block::after {
    content: "";
    position: absolute;
    left: 81px;
    top: 14px;
    width: 11px;
    height: 11px;
    background: #94a3b8;
    border: 2px solid #ffffff;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 1px #cbd5e1;
}
.waw-agenda-day-block.is-today-block::after {
    background: #008bff;
    left: 80px;
    top: 13px;
    width: 13px;
    height: 13px;
    box-shadow: 0 0 0 4px rgba(0, 139, 255, 0.28);
}
.waw-agenda-day-block.is-today-block .waw-agenda-date-col .waw-agenda-day-num {
    color: #008bff;
    font-size: 1.35rem;
}
.waw-agenda-day-block.is-past-block {
    opacity: 0.72;
    transition: opacity 0.2s ease;
}
.waw-agenda-day-block.is-past-block:hover {
    opacity: 1;
}
.waw-agenda-day-block.is-past-block .waw-agenda-day-num {
    color: #94a3b8;
}
.waw-agenda-day-block.is-past-block .waw-agenda-card {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

.waw-agenda-date-col {
    width: 85px;
    flex-shrink: 0;
    text-align: right;
    padding-top: 4px;
    padding-right: 14px;
    box-sizing: border-box;
}
.waw-agenda-day-num {
    font-size: 1.25rem;
    font-weight: 900;
    color: #2d3748;
    line-height: 1;
}
.waw-agenda-day-month {
    font-size: 0.78rem;
    font-weight: 700;
    color: #718096;
    text-transform: uppercase;
}
.waw-agenda-items-col {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.waw-agenda-card {
    display: flex;
    gap: 12px;
    align-items: center;
    background: var(--waw-cal-gray-bg);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}
.waw-agenda-card:hover {
    background: #fff;
    border-color: #cbd5e0;
    transform: translateX(3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}
.waw-agenda-card.is-anniv-item {
    background: linear-gradient(90deg, #fffcf0 0%, #ffffff 100%) !important;
    border-left: 4px solid #d4af37 !important;
}
.waw-agenda-card-thumb {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.waw-agenda-card-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.waw-agenda-card-left {
    min-width: 0;
    overflow: hidden;
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}
.waw-agenda-card-body {
    flex-grow: 1;
    min-width: 0;
    overflow: hidden;
}
.waw-agenda-card-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.waw-agenda-card-meta {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}
.waw-agenda-card-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: #718096;
}

/* Paginacja wyszukiwarki w Harmonogramie */
.waw-agenda-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.waw-btn-page {
    background: #008bff;
    color: #ffffff !important;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}
.waw-btn-page:hover:not(.disabled) {
    background: #0073d6;
    transform: translateY(-1px);
}
.waw-btn-page.disabled {
    background: #e2e8f0 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    transform: none !important;
}
.waw-page-info {
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
}

/* 8. Modal */
.waw-cal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.waw-cal-modal-card {
    background: #ffffff;
    border-radius: 14px;
    max-width: 650px;
    width: 95%;
    max-height: 88vh;
    padding: 24px;
    position: relative;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
    animation: wawModalFadeIn 0.2s ease;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    transition: max-width 0.2s ease;
}
.waw-cal-modal-card.is-day-list {
    max-width: 860px !important;
    width: 94% !important;
}
.waw-modal-content {
    overflow-y: auto;
    max-height: calc(88vh - 60px);
    padding-right: 4px;
}
.waw-day-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
    max-height: 65vh;
    overflow-y: auto;
    padding-right: 6px;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .waw-day-modal-grid {
        grid-template-columns: 1fr;
    }
}
.waw-day-modal-grid .waw-card-anniv.is-single-anniv {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    min-height: auto !important;
    padding: 12px 18px !important;
    gap: 16px !important;
}
.waw-day-modal-grid .waw-card-anniv.is-single-anniv .waw-card-anniv-thumb {
    width: 60px !important;
    height: 60px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}
.waw-day-modal-grid .waw-card-anniv.is-single-anniv .waw-card-anniv-body {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: left !important;
    width: 100% !important;
    gap: 16px !important;
}
.waw-day-modal-grid .waw-card-anniv.is-single-anniv .waw-card-anniv-title {
    text-align: left !important;
    margin: 0 !important;
    font-size: 1.05rem !important;
    color: #92400e !important;
}
.waw-day-modal-grid .waw-card-anniv.is-single-anniv .waw-card-anniv-footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
    width: auto !important;
    flex-shrink: 0 !important;
    gap: 4px !important;
}
@media (max-width: 600px) {
    .waw-day-modal-grid .waw-card-anniv.is-single-anniv {
        flex-direction: column !important;
        text-align: center !important;
    }
    .waw-day-modal-grid .waw-card-anniv.is-single-anniv .waw-card-anniv-body {
        flex-direction: column !important;
        text-align: center !important;
    }
    .waw-day-modal-grid .waw-card-anniv.is-single-anniv .waw-card-anniv-footer {
        align-items: center !important;
    }
}
.waw-day-modal-grid .waw-card-event-mini {
    padding: 10px 12px !important;
}
.waw-day-modal-grid .waw-card-event-mini .waw-card-event-title {
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    word-break: break-word !important;
    line-height: 1.3 !important;
    font-size: 0.92rem !important;
}
@keyframes wawModalFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}
.waw-cal-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #a0aec0;
    cursor: pointer;
    line-height: 1;
}
.waw-cal-modal-close:hover {
    color: #2d3748;
}
.waw-modal-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.waw-modal-title {
    font-size: 1.35rem;
    font-weight: 900;
    color: #1a202c;
    margin: 0 0 6px;
    line-height: 1.3;
}
.waw-modal-date {
    font-size: 0.9rem;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 16px;
}
.waw-cal-modal-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}
.waw-modal-media {
    text-align: center;
    background: #f8fafc;
    border-radius: 8px;
    padding: 10px;
}
.waw-modal-media img {
    max-height: 220px;
    max-width: 100%;
    object-fit: contain;
}
.waw-modal-text {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #4a5568;
}
.waw-modal-link-btn {
    display: block;
    text-align: center;
    background: var(--waw-cal-brand);
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 8px;
    transition: background 0.2s ease;
}
.waw-modal-link-btn:hover {
    background: var(--waw-cal-brand-dark);
}

/* ========================================================
   WYRÓŻNIENIA: ODSTĘP POD ROCZNICAMI W TABELI I TYGODNIU
   ======================================================== */
.waw-event-bar.waw-bar-anniv-last {
    margin-bottom: 8px !important;
}

.waw-week-card.waw-week-anniv-last {
    margin-bottom: 14px !important;
}

/* ========================================================
   PASTELOWE KOLOROWANIE KART WYDARZEŃ WG KATEGORII
   (Wydarzenia na dziś, trwające, tygodniowe i Harmonogram)
   ======================================================== */
.waw-card-event-mini.waw-item-type-game,
.waw-card-today-hero.waw-item-type-game,
.waw-agenda-card.waw-item-type-game {
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    border-left: 4px solid #22c55e !important;
}
.waw-card-event-mini.waw-item-type-dlc,
.waw-card-today-hero.waw-item-type-dlc,
.waw-agenda-card.waw-item-type-dlc {
    background: #f0fdfa !important;
    border: 1px solid #99f6e4 !important;
    border-left: 4px solid #14b8a6 !important;
}
.waw-card-event-mini.waw-item-type-post,
.waw-card-today-hero.waw-item-type-post,
.waw-agenda-card.waw-item-type-post {
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    border-left: 4px solid #008bff !important;
}
.waw-card-event-mini.waw-item-type-pocket,
.waw-card-today-hero.waw-item-type-pocket,
.waw-agenda-card.waw-item-type-pocket {
    background: #faf5ff !important;
    border: 1px solid #e9d5ff !important;
    border-left: 4px solid #a855f7 !important;
}
.waw-card-event-mini.waw-item-type-pocket_event,
.waw-card-today-hero.waw-item-type-pocket_event,
.waw-agenda-card.waw-item-type-pocket_event {
    background: #f5f3ff !important;
    border: 1px solid #ddd6fe !important;
    border-left: 4px solid #8b5cf6 !important;
}
.waw-card-event-mini.waw-item-type-masters,
.waw-card-today-hero.waw-item-type-masters,
.waw-agenda-card.waw-item-type-masters,
.waw-card-event-mini.waw-item-type-masters_event,
.waw-card-today-hero.waw-item-type-masters_event,
.waw-agenda-card.waw-item-type-masters_event {
    background: #eef2ff !important;
    border: 1px solid #c7d2fe !important;
    border-left: 4px solid #6366f1 !important;
}
.waw-card-event-mini.waw-item-type-code,
.waw-card-today-hero.waw-item-type-code,
.waw-agenda-card.waw-item-type-code {
    background: #fff7ed !important;
    border: 1px solid #fed7aa !important;
    border-left: 4px solid #f97316 !important;
}
.waw-card-event-mini.waw-item-type-tcg_en,
.waw-card-today-hero.waw-item-type-tcg_en,
.waw-agenda-card.waw-item-type-tcg_en {
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    border-left: 4px solid #0284c7 !important;
}
.waw-card-event-mini.waw-item-type-tcg_ja,
.waw-card-today-hero.waw-item-type-tcg_ja,
.waw-agenda-card.waw-item-type-tcg_ja {
    background: #fdf2f8 !important;
    border: 1px solid #fbcfe8 !important;
    border-left: 4px solid #ec4899 !important;
}
.waw-card-event-mini.waw-item-type-pogo,
.waw-card-today-hero.waw-item-type-pogo,
.waw-agenda-card.waw-item-type-pogo {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    border-left: 4px solid #ef4444 !important;
}
.waw-card-event-mini.waw-item-type-custom,
.waw-card-today-hero.waw-item-type-custom,
.waw-agenda-card.waw-item-type-custom {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #64748b !important;
}
.waw-card-event-mini.waw-item-type-anniversary,
.waw-card-today-hero.waw-item-type-anniversary,
.waw-agenda-card.waw-item-type-anniversary {
    background: #fffbeb !important;
    border: 1px solid #fde68a !important;
    border-left: 4px solid #f59e0b !important;
}

/* Kolorowanie kart w widoku tygodniowym */
.waw-week-card.waw-item-type-game {
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    border-top: 3px solid #22c55e !important;
}
.waw-week-card.waw-item-type-dlc {
    background: #f0fdfa !important;
    border: 1px solid #99f6e4 !important;
    border-top: 3px solid #14b8a6 !important;
}
.waw-week-card.waw-item-type-post {
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    border-top: 3px solid #008bff !important;
}
.waw-week-card.waw-item-type-pocket {
    background: #faf5ff !important;
    border: 1px solid #e9d5ff !important;
    border-top: 3px solid #a855f7 !important;
}
.waw-week-card.waw-item-type-pocket_event {
    background: #f5f3ff !important;
    border: 1px solid #ddd6fe !important;
    border-top: 3px solid #8b5cf6 !important;
}
.waw-week-card.waw-item-type-code {
    background: #fff7ed !important;
    border: 1px solid #fed7aa !important;
    border-top: 3px solid #f97316 !important;
}
.waw-week-card.waw-item-type-tcg,
.waw-week-card.waw-item-type-tcg_en {
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    border-top: 3px solid #0284c7 !important;
}
.waw-week-card.waw-item-type-tcg_ja {
    background: #fdf2f8 !important;
    border: 1px solid #fbcfe8 !important;
    border-top: 3px solid #ec4899 !important;
}
.waw-week-card.waw-item-type-masters,
.waw-week-card.waw-item-type-masters_event {
    background: #eef2ff !important;
    border: 1px solid #c7d2fe !important;
    border-top: 3px solid #6366f1 !important;
}
.waw-week-card.waw-item-type-pogo {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    border-top: 3px solid #ef4444 !important;
}
.waw-week-card.waw-item-type-custom {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-top: 3px solid #64748b !important;
}
.waw-week-card.waw-item-type-anniversary {
    background: #fffbeb !important;
    border: 1px solid #fde68a !important;
    border-top: 3px solid #f59e0b !important;
}

/* Kolorowanie etykiet (tagów) wewnątrz kart tygodnia */
.waw-week-card.waw-item-type-pogo .waw-week-card-tag { color: #dc2626 !important; font-weight: 700; }
.waw-week-card.waw-item-type-pocket .waw-week-card-tag,
.waw-week-card.waw-item-type-pocket_event .waw-week-card-tag { color: #7c3aed !important; font-weight: 700; }
.waw-week-card.waw-item-type-masters .waw-week-card-tag,
.waw-week-card.waw-item-type-masters_event .waw-week-card-tag { color: #4f46e5 !important; font-weight: 700; }
.waw-week-card.waw-item-type-game .waw-week-card-tag { color: #16a34a !important; font-weight: 700; }
.waw-week-card.waw-item-type-dlc .waw-week-card-tag { color: #0d9488 !important; font-weight: 700; }
.waw-week-card.waw-item-type-code .waw-week-card-tag { color: #ea580c !important; font-weight: 700; }
.waw-week-card.waw-item-type-tcg_en .waw-week-card-tag,
.waw-week-card.waw-item-type-tcg_ja .waw-week-card-tag,
.waw-week-card.waw-item-type-tcg .waw-week-card-tag { color: #0284c7 !important; font-weight: 700; }
.waw-week-card.waw-item-type-post .waw-week-card-tag { color: #0284c7 !important; font-weight: 700; }
.waw-week-card.waw-item-type-anniversary .waw-week-card-tag { color: #b45309 !important; font-weight: 800; }

.waw-card-event-mini.waw-item-type-game .waw-card-event-img,
.waw-card-event-mini.waw-item-type-dlc .waw-card-event-img,
.waw-card-event-mini.waw-item-type-post .waw-card-event-img,
.waw-card-event-mini.waw-item-type-pocket .waw-card-event-img,
.waw-card-event-mini.waw-item-type-pocket_event .waw-card-event-img,
.waw-card-event-mini.waw-item-type-code .waw-card-event-img,
.waw-card-event-mini.waw-item-type-tcg_en .waw-card-event-img,
.waw-card-event-mini.waw-item-type-tcg_ja .waw-card-event-img,
.waw-card-event-mini.waw-item-type-pogo .waw-card-event-img,
.waw-card-event-mini.waw-item-type-custom .waw-card-event-img,
.waw-card-event-mini.waw-item-type-anniversary .waw-card-event-img,
.waw-card-hero-thumb,
.waw-agenda-card-thumb {
    background: #ffffff !important;
}

.waw-card-event-mini:hover,
.waw-card-today-hero:hover,
.waw-agenda-card:hover {
    filter: brightness(0.97);
}

/* ========================================================
   UKŁAD KART: LEWA STRONA (GRAFIKA + TYTUŁ + DATA)
   ORAZ PRAWA STRONA (PASTYLKA KATEGORII)
   ======================================================== */
.waw-card-event-mini,
.waw-agenda-card {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 10px 14px !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.waw-card-event-left,
.waw-agenda-card-left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 1 1 0% !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.waw-card-event-info,
.waw-agenda-card-body {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.waw-card-event-title,
.waw-agenda-card-title {
    display: block !important;
    width: 100% !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 0 3px !important;
    line-height: 1.3 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.waw-card-event-meta,
.waw-agenda-card-meta {
    font-size: 0.8rem !important;
    color: #64748b !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.waw-card-pill-wrap {
    flex-shrink: 0 !important;
    min-width: max-content !important;
    margin-left: 10px !important;
}

.waw-category-pill {
    display: inline-block !important;
    padding: 3px 9px !important;
    border-radius: 6px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    white-space: nowrap !important;
}

.waw-category-pill.pill-pogo {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    border: 1px solid #fca5a5 !important;
}
.waw-category-pill.pill-game {
    background: #dcfce7 !important;
    color: #15803d !important;
    border: 1px solid #86efac !important;
}
.waw-category-pill.pill-dlc {
    background: #ccfbf1 !important;
    color: #0f766e !important;
    border: 1px solid #5eead4 !important;
}
.waw-category-pill.pill-post {
    background: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #7dd3fc !important;
}
.waw-category-pill.pill-pocket {
    background: #f3e8ff !important;
    color: #7e22ce !important;
    border: 1px solid #d8b4fe !important;
}
.waw-category-pill.pill-pocket_event {
    background: #ede9fe !important;
    color: #6d28d9 !important;
    border: 1px solid #c4b5fd !important;
}
.waw-category-pill.pill-code {
    background: #ffedd5 !important;
    color: #c2410c !important;
    border: 1px solid #fdba74 !important;
}
.waw-category-pill.pill-tcg_en {
    background: #e0f2fe !important;
    color: #0284c7 !important;
    border: 1px solid #38bdf8 !important;
}
.waw-category-pill.pill-tcg_ja {
    background: #fce7f3 !important;
    color: #be185d !important;
    border: 1px solid #f472b6 !important;
}
.waw-category-pill.pill-custom {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
}
.waw-category-pill.pill-masters,
.waw-category-pill.pill-masters_event {
    background: #e0e7ff !important;
    color: #4338ca !important;
    border: 1px solid #a5b4fc !important;
}
.waw-category-pill.pill-anniversary {
    background: #fef3c7 !important;
    color: #b45309 !important;
    border: 1px solid #fde047 !important;
}

/* ========================================================
   BOKS: W TYM DNIU W HISTORII POKÉMON
   ======================================================== */
.waw-on-this-day-section {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 5px solid #008bff !important;
    border-radius: 12px !important;
    padding: 18px 20px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.waw-otd-header {
    margin-bottom: 14px;
}

.waw-otd-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.waw-otd-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.waw-otd-title {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
}

.waw-otd-badge {
    background: #e0f2fe !important;
    color: #0369a1 !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    padding: 2px 10px !important;
    border-radius: 12px !important;
}

.waw-otd-desc {
    font-size: 0.86rem;
    color: #64748b;
    margin-top: 2px;
}

.waw-otd-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.waw-otd-card {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    cursor: pointer !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
}

.waw-otd-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07) !important;
    border-color: #008bff !important;
}

.waw-otd-card-thumb {
    width: 52px !important;
    height: 52px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.waw-otd-card-thumb img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.waw-otd-card-fallback-icon {
    font-size: 1.6rem !important;
    line-height: 1 !important;
}

.waw-otd-card-body {
    flex-grow: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.waw-otd-card-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
}

.waw-otd-badge-years {
    background: #fef3c7 !important;
    color: #92400e !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    padding: 1px 6px !important;
    border-radius: 4px !important;
    white-space: nowrap !important;
}

.waw-otd-card-date {
    font-size: 0.75rem !important;
    color: #64748b !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.waw-otd-card-title {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.waw-otd-card-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

/* ========================================================
   HARMONOGRAM: PRZYCISKI WCZEŚNIEJSZE / NASTĘPNE WYDARZENIA
   ======================================================== */
.waw-agenda-more-bar {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.waw-agenda-more-bar.top {
    margin: 12px 0 20px 0 !important;
}

.waw-agenda-more-bar.bottom {
    margin: 20px 0 12px 0 !important;
}

.waw-btn-agenda-more {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #ffffff !important;
    color: #008bff !important;
    border: 1.5px solid #008bff !important;
    border-radius: 20px !important;
    padding: 9px 24px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(0, 139, 255, 0.1) !important;
    transition: all 0.2s ease !important;
}

.waw-btn-agenda-more:hover {
    background: #008bff !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 139, 255, 0.28) !important;
    transform: translateY(-1px) !important;
}

/* ========================================================
   GRUPY TRWAJĄCYCH WYDARZEŃ (WG RODZAJU) W ZAKŁADCE DZISIAJ
   ======================================================== */
.waw-ongoing-groups-wrapper {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 24px !important;
}
.waw-ongoing-group-block {
    width: 100% !important;
    display: block !important;
    margin-bottom: 0 !important;
}
.waw-ongoing-group-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-left: 2px;
}
.waw-ongoing-group-count {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 12px;
}

/* ========================================================
   PAGINACJA DLA TRWAJĄCYCH WYDARZEŃ W WIDOKU 7 DNI
   ======================================================== */
#waw-pagination-week-ongoing {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-top: 15px !important;
    padding-top: 12px !important;
    border-top: 1px dashed #e2e8f0 !important;
    width: 100% !important;
}
#waw-pagination-week-ongoing .waw-page-btn {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    padding: 6px 14px !important;
    border-radius: 6px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
#waw-pagination-week-ongoing .waw-page-btn:hover:not(:disabled) {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}
#waw-pagination-week-ongoing .waw-page-btn:disabled,
#waw-pagination-week-ongoing .waw-page-btn.disabled {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
}
#waw-pagination-week-ongoing .waw-page-info {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
}

/* ========================================================
   KOMPLETNA RESPONSYWNOŚĆ MOBILNA DLA WĄSKICH TELEFONÓW
   ======================================================== */
@media (max-width: 650px) {
    /* 1. PASEK STEROWANIA I PRZYCISK DZISIAJ */
    .waw-cal-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding-bottom: 12px !important;
    }
    .waw-cal-nav-group {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 6px !important;
    }
    .waw-btn-nav {
        padding: 7px 14px !important;
        font-size: 1rem !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
    .waw-btn-today {
        padding: 7px 14px !important;
        font-size: 0.85rem !important;
        font-weight: 700 !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important; /* Gwarantuje, że napis "Dzisiaj" nigdy się nie złamie pionowo! */
    }
    .waw-cal-current-label {
        font-size: 1.15rem !important;
        font-weight: 800 !important;
        min-width: 0 !important;
        margin: 0 !important;
        text-align: right !important;
        flex-grow: 1 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .waw-cal-jump-group {
        width: 100% !important;
        display: flex !important;
        gap: 8px !important;
    }
    .waw-cal-select {
        flex: 1 !important;
        width: 50% !important;
        font-size: 0.85rem !important;
        padding: 8px 10px !important;
    }
    .waw-cal-views-switch {
        width: 100% !important;
        display: flex !important;
    }
    .waw-view-btn {
        flex: 1 !important;
        text-align: center !important;
        padding: 8px 10px !important;
        font-size: 0.85rem !important;
    }
    .waw-cal-filters-bar {
        padding: 10px 12px !important;
        gap: 6px !important;
        margin-bottom: 15px !important;
    }
    .waw-filters-title {
        width: 100% !important;
        margin-bottom: 4px !important;
    }
    .waw-pill-filter {
        padding: 4px 10px !important;
        font-size: 0.74rem !important;
    }

    /* 2. OŚ CZASU (HARMONOGRAM / TIMELINE) - ROZWIĄZANIE PROBLEMU ŚCIŚNIĘTEJ DATY */
    .waw-agenda-day-block {
        gap: 8px !important;
        margin-bottom: 8px !important;
    }
    .waw-agenda-date-col {
        width: 42px !important;
        padding-right: 6px !important;
        padding-top: 2px !important;
        flex-shrink: 0 !important;
        text-align: right !important;
    }
    .waw-agenda-day-num {
        font-size: 1.15rem !important;
        line-height: 1 !important;
        font-weight: 900 !important;
    }
    .waw-agenda-day-month {
        font-size: 0.6rem !important;
        line-height: 1.1 !important;
        letter-spacing: -0.3px !important;
        word-break: break-word !important;
    }
    .waw-agenda-day-block::before {
        left: 42px !important;
        width: 2px !important;
    }
    .waw-agenda-day-block::after {
        left: 38px !important;
        width: 10px !important;
        height: 10px !important;
    }
    .waw-agenda-day-block.is-today-block::after {
        left: 37px !important;
        width: 12px !important;
        height: 12px !important;
    }

    /* 3. KARTY WYDARZEŃ W HARMONOGRAMIE I TRWAJĄCYCH - PEŁNA CZYTELNOŚĆ TYTUŁU BEZ OBCINANIA */
    .waw-agenda-card,
    .waw-card-event-mini {
        display: flex !important;
        flex-direction: column !important; /* UKŁAD PIONOWY: tytuł na górze na pełną szerokość, pastylka na dole */
        align-items: stretch !important;
        justify-content: flex-start !important;
        padding: 9px 12px !important;
        gap: 5px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .waw-agenda-card-left,
    .waw-card-event-left {
        display: flex !important;
        align-items: flex-start !important;
        gap: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .waw-agenda-card-thumb,
    .waw-card-event-img {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        flex-shrink: 0 !important;
        border-radius: 6px !important;
        margin-top: 2px !important;
    }
    .waw-agenda-card-body,
    .waw-card-event-info {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: calc(100% - 48px) !important;
    }
    .waw-agenda-card-title,
    .waw-card-event-title {
        font-size: 0.88rem !important;
        font-weight: 700 !important;
        color: #1e293b !important;
        line-height: 1.25 !important;
        margin: 0 0 3px !important;
        white-space: normal !important; /* PEŁNE ZAWIJANIE TYTUŁU DO 3 LINII - ŻADNYCH OBCIĘTYCH SŁÓW! */
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        word-break: break-word !important;
    }
    .waw-agenda-card-meta,
    .waw-card-event-meta {
        font-size: 0.73rem !important;
        color: #64748b !important;
        font-weight: 600 !important;
        white-space: normal !important;
        line-height: 1.25 !important;
    }
    .waw-card-pill-wrap {
        margin: 2px 0 0 48px !important; /* Wyrównane pod tekstem obok miniaturki */
        width: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }
    .waw-category-pill {
        font-size: 0.65rem !important;
        padding: 2px 7px !important;
        border-radius: 4px !important;
        font-weight: 700 !important;
    }

    /* Zabezpieczenie licznika trwających wydarzeń (36) przed pionowym łamaniem cyfr */
    .waw-subgroup-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
    }
    .waw-subgroup-title {
        font-size: 0.88rem !important;
        line-height: 1.25 !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }
    .waw-subgroup-count {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 28px !important;
        height: 22px !important;
        padding: 0 6px !important;
        border-radius: 12px !important;
        font-size: 0.78rem !important;
        font-weight: 800 !important;
        box-sizing: border-box !important;
    }

    /* 4. SIATKA MIESIĘCZNA (KOMÓRKI DNI) - KONIEC ZE ŚCIANĄ 3-LITEROWYCH PASKÓW */
    .waw-month-cell {
        min-height: 56px !important;
        max-height: 80px !important;
        padding: 3px 2px !important;
        overflow: hidden !important;
    }
    .waw-month-day-name {
        padding: 6px 1px !important;
        font-size: 0.74rem !important;
    }
    .waw-cell-header {
        margin-bottom: 2px !important;
        justify-content: center !important;
        position: relative !important;
    }
    .waw-cell-date-num {
        font-size: 0.8rem !important;
        padding: 1px 3px !important;
    }
    .waw-cell-anniv-star {
        font-size: 0.72rem !important;
        position: absolute !important;
        top: 0 !important;
        right: 1px !important;
    }
    .waw-month-cell.is-today .waw-cell-date-num {
        width: 20px !important;
        height: 20px !important;
        font-size: 0.75rem !important;
    }
    .waw-cell-events-list {
        gap: 1.5px !important;
    }
    .waw-event-bar {
        font-size: 0.62rem !important;
        padding: 1px 3px !important;
        line-height: 1.15 !important;
        border-radius: 2px !important;
    }
    /* Pokazuj do 2 najważniejszych wydarzeń w komórce, resztę ukryj na rzecz czytelnego przycisku "+więcej" */
    .waw-cell-events-list .waw-event-bar:nth-child(n+3) {
        display: none !important;
    }
    .waw-more-events-link {
        font-size: 0.62rem !important;
        padding: 1px 3px !important;
        text-align: center !important;
        background: #e2e8f0 !important;
        color: #334155 !important;
        border-radius: 3px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        margin-top: 1px !important;
        white-space: nowrap !important;
        cursor: pointer !important;
    }
}
