/*
 * FC Liga Ziomków - Frontend Dashboard styles
 * Mobile-first, CSS Grid + Flexbox
 */

.fclz-dashboard {
    max-width: 960px;
    margin: 2rem auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--fcom-primary-text, #1d2327);
    line-height: 1.5;
}

.fclz-empty {
    text-align: center;
    padding: 3rem 1rem;
    background: var(--fcom-secondary-content-bg, #f6f7f7);
    border-radius: 12px;
}

.fclz-banner-preview {
    background: #fff4e5;
    border: 1px solid #ffb84d;
    color: #7a4a00;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Header - minimalist white card, typography-driven (bez left-border AI cliché) */
.fclz-dashboard__header {
    background: var(--fcom-primary-bg, #fff);
    color: var(--fcom-primary-text, #0f172a);
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    margin-bottom: 1.25rem;
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.fclz-dashboard__title {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    min-width: 0;
}

.fclz-dashboard__icon {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
}

.fclz-dashboard__title h2 {
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--fcom-primary-text, #0f172a);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.fclz-dashboard__meta {
    margin: 0.2rem 0 0;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 0.82rem;
    color: var(--fcom-secondary-text, #64748b);
    font-weight: 500;
}

.fclz-dashboard__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .fclz-dashboard__grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Stats cards - minimalist, all-white, typography-driven */
.fclz-card {
    background: var(--fcom-primary-bg, #fff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 14px;
    padding: 1.35rem 1.5rem;
    box-shadow: none;
    transition: border-color 0.18s ease;
}

.fclz-card:hover {
    border-color: var(--fcom-primary-border, #cbd5e1);
}

.fclz-card__title {
    margin: 0 0 1rem;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--fcom-secondary-text, #94a3b8);
}

.fclz-card__meta {
    margin: 0.5rem 0 0;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 0.82rem;
    color: var(--fcom-secondary-text, #64748b);
    font-weight: 500;
}

.fclz-card__meta--muted {
    color: var(--fcom-secondary-text, #94a3b8);
}

/* Usunięty kremowy gradient - Streak card jest teraz white jak reszta */
.fclz-card--streak {
    background: var(--fcom-primary-bg, #fff);
    border-color: var(--fcom-primary-border, #e5e7eb);
}

.fclz-card--join, .fclz-card--guest {
    background: var(--fcom-primary-bg, #fafbfc);
}

.fclz-stat {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
}

.fclz-stat__value {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--fcom-primary-text, #0f172a);
    letter-spacing: -0.035em;
    line-height: 1;
}

.fclz-stat__suffix {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 0.88rem;
    color: var(--fcom-secondary-text, #94a3b8);
    font-weight: 500;
}

.fclz-stat--points .fclz-stat__value {
    font-size: 1.75rem;
    color: #f58220;
}

.fclz-btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: #f58220;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

.fclz-btn:hover {
    background: #d16b0e;
    color: #fff;
}

/* Sections - minimalist (white z 1px border, no shadow) */
.fclz-section {
    background: var(--fcom-primary-bg, #fff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 14px;
    padding: 1.35rem 1.5rem;
    margin-bottom: 1rem;
}

.fclz-section__title {
    margin: 0 0 1rem;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--fcom-primary-text, #0f172a);
    letter-spacing: -0.015em;
}

.fclz-section__head {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.fclz-section__head .fclz-section__title {
    margin: 0;
}

.fclz-section__subtitle {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 0.78rem;
    color: var(--fcom-secondary-text, #94a3b8);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.fclz-section__hint {
    margin: 0.75rem 0 0;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 0.75rem;
    color: var(--fcom-secondary-text, #94a3b8);
    font-weight: 500;
}

.fclz-empty-state {
    padding: 1rem;
    color: var(--fcom-secondary-text, #646970);
    text-align: center;
    font-style: italic;
}

/* ========================================================================
   Ranking - Card-based modern layout (inspired: Glessa/IELTS dashboards)
   Typography: Plus Jakarta Sans (names) + JetBrains Mono (numbers)
   ======================================================================== */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Ranking section - bez szarego tła, minimalist */
.fclz-ranking-section {
    background: transparent;
    border: 0;
    padding: 0;
    margin-top: 1.5rem;
}

.fclz-ranking-section .fclz-section__title {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.15rem;
}

.fclz-rank-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

/* Card row - minimalist (border zamiast box-shadow) */
.fclz-rank-row {
    display: grid;
    grid-template-columns: 40px 56px 1fr auto auto;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem 1.15rem;
    background: var(--fcom-primary-bg, #fff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 14px;
    box-shadow: none;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.fclz-rank-row:hover {
    border-color: var(--fcom-primary-border, #cbd5e1);
    background: var(--fcom-primary-bg, #fafbfc);
}

.fclz-rank-row--me {
    background: #fff6ec;
    border-color: #f58220;
}

.fclz-rank-row--me:hover {
    background: #ffe9cc;
    border-color: #d16b0e;
}

/* Position badge - colored circle */
.fclz-rank-row__pos-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    background: var(--fcom-secondary-content-bg, #f1f2f4);
    color: var(--fcom-secondary-text, #5a5f66);
    flex-shrink: 0;
    letter-spacing: -0.01em;
}

/* Top 3 gradients */
.fclz-rank-row--gold .fclz-rank-row__pos-badge {
    background: linear-gradient(135deg, #fbd56c 0%, #d98e1a 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(217, 142, 26, 0.3);
}

.fclz-rank-row--silver .fclz-rank-row__pos-badge {
    background: linear-gradient(135deg, var(--fcom-secondary-content-bg, #dce1e8) 0%, #8e99a6 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(142, 153, 166, 0.3);
}

.fclz-rank-row--bronze .fclz-rank-row__pos-badge {
    background: linear-gradient(135deg, #dd9f66 0%, #a86a2e 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(168, 106, 46, 0.3);
}

.fclz-rank-row--me .fclz-rank-row__pos-badge {
    background: linear-gradient(135deg, #ffa766 0%, #f58220 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(245, 130, 32, 0.3);
}

/* Avatar - larger 48px, with status dot */
.fclz-rank-row__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: visible;
    background: var(--fcom-secondary-content-bg, #e8e8e8);
    flex-shrink: 0;
    position: relative;
}

.fclz-rank-row__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.fclz-rank-row__status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.fclz-rank-row__status-dot--active {
    background: #22c55e;
}

.fclz-rank-row--me .fclz-rank-row__status-dot {
    border-color: #fff6ec;
}

/* Info (name + meta) */
.fclz-rank-row__info {
    min-width: 0;
    overflow: hidden;
}

.fclz-rank-row__name {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-weight: 700;
    color: var(--fcom-primary-text, #0f172a);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.015em;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fclz-rank-row__me-tag {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 0.6rem;
    font-weight: 800;
    background: #f58220;
    color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    letter-spacing: 0.1em;
    line-height: 1.2;
    flex-shrink: 0;
}

.fclz-rank-row__meta {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 0.82rem;
    color: var(--fcom-secondary-text, #64748b);
    margin-top: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.fclz-rank-row__handle {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.76rem;
    color: var(--fcom-secondary-text, #94a3b8);
    font-weight: 500;
}

.fclz-rank-row__dot {
    margin: 0 0.45rem;
    opacity: 0.4;
}

/* Streak as pill chip */
.fclz-rank-row__streak {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #fff4e5;
    border: 1px solid #ffd9a3;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #a86f1a;
    white-space: nowrap;
    min-width: 66px;
    justify-content: center;
}

.fclz-rank-row__streak--empty {
    background: transparent;
    border: 1px dashed var(--fcom-primary-border, #e2e8f0);
    min-width: 66px;
    min-height: 28px;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
}

.fclz-rank-row__streak-icon {
    font-size: 0.9rem;
    filter: saturate(1.2);
}

.fclz-rank-row__streak-value {
    font-variant-numeric: tabular-nums;
    font-size: 0.88rem;
}

.fclz-rank-row__streak-unit {
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.75;
}

/* Points - hero number */
.fclz-rank-row__points {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-variant-numeric: tabular-nums;
    text-align: right;
    min-width: 92px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.1;
}

.fclz-rank-row__points-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: #f58220;
    letter-spacing: -0.03em;
}

.fclz-rank-row--me .fclz-rank-row__points-value {
    color: #d16b0e;
}

.fclz-rank-row__points-label {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 0.68rem;
    color: var(--fcom-secondary-text, #94a3b8);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 0.1rem;
}

/* Tablet */
@media (max-width: 800px) {
    .fclz-rank-row {
        grid-template-columns: 36px 48px 1fr auto;
        gap: 0.75rem;
        padding: 0.75rem 0.95rem;
    }
    .fclz-rank-row__streak {
        display: none;
    }
    .fclz-rank-row__avatar {
        width: 44px;
        height: 44px;
    }
    .fclz-rank-row__pos-badge {
        width: 32px;
        height: 32px;
        font-size: 0.88rem;
    }
}

/* Mobile */
@media (max-width: 520px) {
    .fclz-ranking-section {
        padding: 1rem 0.75rem;
    }
    .fclz-rank-row {
        grid-template-columns: 32px 40px 1fr auto;
        gap: 0.6rem;
        padding: 0.7rem 0.8rem;
    }
    .fclz-rank-row__avatar {
        width: 40px;
        height: 40px;
    }
    .fclz-rank-row__pos-badge {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    .fclz-rank-row__name {
        font-size: 0.9rem;
    }
    .fclz-rank-row__meta {
        font-size: 0.72rem;
    }
    .fclz-rank-row__points-value {
        font-size: 1.1rem;
    }
    .fclz-rank-row__points-label {
        font-size: 0.6rem;
    }
}

/* Heatmap - minimalist dots, no labels */
.fclz-heatmap {
    display: grid;
    grid-template-columns: repeat(30, 1fr);
    gap: 5px;
    max-width: 720px;
}

@media (max-width: 520px) {
    .fclz-heatmap {
        grid-template-columns: repeat(15, 1fr);
    }
}

.fclz-heatmap__day {
    aspect-ratio: 1;
    background: var(--fcom-secondary-content-bg, #f1f5f9);
    border-radius: 4px;
    transition: transform 0.15s ease;
}

.fclz-heatmap__day:hover {
    transform: scale(1.15);
}

.fclz-heatmap__day--active {
    background: #f58220;
    box-shadow: 0 1px 3px rgba(245, 130, 32, 0.25);
}

.fclz-gate {
    padding: 2rem 1rem;
    text-align: center;
    background: var(--fcom-secondary-content-bg, #f6f7f7);
    border-radius: 12px;
    color: var(--fcom-secondary-text, #646970);
}

/* Modal */
.fclz-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.fclz-modal[hidden] {
    display: none;
}

.fclz-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(29, 35, 39, 0.7);
    backdrop-filter: blur(2px);
}

.fclz-modal__dialog {
    position: relative;
    background: var(--fcom-primary-bg, #fff);
    border-radius: 12px;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.fclz-modal__header,
.fclz-modal__footer {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-shrink: 0;
}

.fclz-modal__header {
    border-bottom: 1px solid var(--fcom-primary-border, #f0f0f1);
}

.fclz-modal__footer {
    border-top: 1px solid var(--fcom-primary-border, #f0f0f1);
    background: var(--fcom-secondary-content-bg, #f6f7f7);
    justify-content: flex-end;
}

.fclz-modal__header h3 {
    margin: 0;
    font-size: 1.15rem;
}

.fclz-modal__close {
    background: none;
    border: 0;
    font-size: 1.875rem;
    cursor: pointer;
    color: var(--fcom-secondary-text, #646970);
    padding: 8px;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    transition: background 0.12s ease, color 0.12s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fclz-modal__close:hover {
    color: var(--fcom-primary-text, #1d2327);
    background: rgba(0,0,0,0.05);
}

.fclz-modal__body {
    padding: 1.25rem 1.5rem;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* v0.65.0 - Aktualizacja biznesowa: wiekszy, przestronniejszy modal (mniej zniechecajacy) */
.fclz-modal__dialog--business-update {
    max-width: 760px;
    width: 94vw;
    max-height: 92vh;
}
.fclz-modal__body--business-update {
    padding: 1.5rem 2rem 1.75rem;
    gap: 1.4rem;
}
.fclz-modal__body--business-update .fclz-field__hint {
    font-size: 14px;
    line-height: 1.55;
}
.fclz-modal__body--business-update .fclz-field__label {
    font-size: 0.97rem;
    margin-bottom: 2px;
}
.fclz-modal__body--business-update .fclz-field__input {
    padding: 0.7rem 0.9rem;
    font-size: 1rem;
}
.fclz-modal__body--business-update textarea.fclz-field__input {
    min-height: 96px;
    line-height: 1.55;
}

.fclz-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.fclz-field__label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--fcom-primary-text, #1d2327);
}

.fclz-field__input {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--fcom-primary-border, #c3c4c7);
    border-radius: 6px;
    font-size: 0.95rem;
}

.fclz-field__input:focus {
    outline: 0;
    border-color: #f58220;
    box-shadow: 0 0 0 2px rgba(245, 130, 32, 0.2);
}

.fclz-field__hint {
    font-size: 0.75rem;
    color: var(--fcom-secondary-text, #646970);
}

.fclz-types {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

@media (min-width: 480px) {
    .fclz-types {
        grid-template-columns: 1fr 1fr;
    }
}

.fclz-type-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--fcom-primary-border, #e0e0e0);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.fclz-type-option:has(input:checked) {
    border-color: #f58220;
    background: #fff4e5;
}

.fclz-type-option__label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    gap: 0.5rem;
}

.fclz-type-option__points {
    color: #f58220;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
}

.fclz-btn--secondary {
    background: var(--fcom-primary-bg, #fff);
    color: var(--fcom-primary-text, #1d2327);
    border: 1px solid var(--fcom-primary-border, #c3c4c7);
}

.fclz-btn--secondary:hover { background: var(--fcom-secondary-content-bg, #f0f0f1); color: var(--fcom-primary-text, #1d2327); }

.fclz-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.fclz-modal__message {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.fclz-modal__message--success {
    background: #d4f4e2;
    color: #1a7f3e;
    border: 1px solid #7ac896;
}

.fclz-modal__message--error {
    background: #fae3e3;
    color: #a10e0e;
    border: 1px solid #e4a4a4;
}

/* Business update section (faza 9) */
.fclz-business-update-section {
    margin-top: 2rem;
}

.fclz-business-update-section .fclz-section__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.fclz-bu-card {
    background: var(--fcom-primary-bg, #fff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 10px;
    padding: 1.25rem;
}

.fclz-bu-card__hint {
    margin: 0 0 0.5rem;
    color: var(--fcom-secondary-text, #4b5563);
    line-height: 1.5;
}

.fclz-bu-card__meta {
    margin: 0.25rem 0;
    color: var(--fcom-secondary-text, #6b7280);
    font-size: 0.875rem;
}

.fclz-bu-card__success {
    margin: 0.5rem 0;
    color: #1a7f3e;
    font-weight: 600;
}

.fclz-bu-card__paywall {
    margin: 0.75rem 0 0;
    padding: 0.75rem;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 6px;
    color: #7c2d12;
    font-size: 0.9rem;
}

.fclz-bu-card__paywall a {
    color: #c2410c;
    font-weight: 600;
    text-decoration: underline;
}

.fclz-bu-status--on_track {
    color: #15803d;
    font-weight: 600;
}

.fclz-bu-status--warning {
    color: #b45309;
    font-weight: 600;
}

.fclz-bu-status--overdue {
    color: #b91c1c;
    font-weight: 600;
}

/* Business update modal options (faza 10) */
.fclz-bu-options {
    border: 0;
    padding: 0;
    margin: 0.5rem 0 0;
}

.fclz-bu-option {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0;
    cursor: pointer;
}

.fclz-bu-option input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.fclz-bu-option > span {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.fclz-bu-option small {
    color: var(--fcom-secondary-text, #6b7280);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Feed update'ów społeczności (faza 10) */
.fclz-bu-feed-section {
    margin-top: 2rem;
}

.fclz-bu-feed {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fclz-bu-feed__item {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--fcom-primary-bg, #fff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 10px;
}

.fclz-bu-feed__avatar img {
    border-radius: 50%;
    display: block;
}

.fclz-bu-feed__body {
    flex: 1;
    min-width: 0;
}

.fclz-bu-feed__head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.fclz-bu-feed__time {
    color: var(--fcom-secondary-text, #6b7280);
    font-size: 0.8rem;
}

.fclz-bu-feed__badge {
    background: var(--fcom-secondary-content-bg, #f3f4f6);
    border-radius: 4px;
    padding: 0.1rem 0.4rem;
    font-size: 0.75rem;
}

.fclz-bu-feed__badge--public {
    background: #fef3c7;
}

.fclz-bu-feed__row {
    margin: 0.25rem 0;
    line-height: 1.5;
    color: var(--fcom-secondary-text, #374151);
}

.fclz-bu-feed__row strong {
    margin-right: 0.4rem;
}

.fclz-bu-feed__locked {
    margin: 0.5rem 0 0;
    padding: 0.5rem 0.75rem;
    background: var(--fcom-secondary-content-bg, #f9fafb);
    border-radius: 6px;
    color: var(--fcom-secondary-text, #6b7280);
    font-size: 0.875rem;
    font-style: italic;
}

.fclz-bu-feed__cta {
    margin-top: 1.5rem;
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 10px;
}

.fclz-bu-feed__cta small {
    display: block;
    margin-top: 0.5rem;
    color: #78350f;
}

/* ========== v0.11.0 - sub-routes UI ========== */

/* Profile header (my-profile, user-updates) */
.fclz-profile__header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 0 1rem;
    border-bottom: 1px solid var(--line, #e5e7eb);
    flex-wrap: wrap;
}
.fclz-profile__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f58220;
}
.fclz-profile__header h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; margin: 0; }

/* Entries list (my-profile) */
.fclz-entries-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--fcom-primary-border, #e5e7eb); border-radius: 10px; overflow: hidden; }
.fclz-entries-list__item {
    display: grid;
    grid-template-columns: 110px 1fr 90px 80px;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--fcom-primary-border, #e5e7eb);
    font-size: 0.85rem;
}
.fclz-entries-list__item:last-child { border-bottom: 0; }
.fclz-entries-list__type {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    background: var(--fcom-secondary-content-bg, #f9fafb);
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--fcom-secondary-text, #6b7280);
    text-align: center;
    text-transform: uppercase;
}
.fclz-entries-list__url { color: var(--fcom-primary-text, #1f2937); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fclz-entries-list__url:hover { color: #f58220; }
.fclz-entries-list__date { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; color: var(--fcom-secondary-text, #6b7280); }
.fclz-entries-list__pts { font-family: 'JetBrains Mono', monospace; font-weight: 700; color: #f58220; text-align: right; }

/* Seasons archive list */
.fclz-seasons-list { list-style: none; padding: 0; margin: 0; }
.fclz-seasons-list__item {
    background: var(--fcom-primary-bg, #fff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 0.75rem;
}
.fclz-seasons-list__head { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.fclz-seasons-list__head strong { font-size: 1.05rem; letter-spacing: -0.015em; }
.fclz-seasons-list__status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    padding: 3px 9px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
    background: var(--fcom-secondary-content-bg, #f9fafb);
    color: var(--fcom-secondary-text, #6b7280);
}
.fclz-seasons-list__status--active { background: rgba(34, 197, 94, 0.12); color: #15803d; }
.fclz-seasons-list__status--recruiting { background: rgba(245, 130, 32, 0.15); color: #c2410c; }
.fclz-seasons-list__status--closed { background: var(--fcom-secondary-content-bg, #f3f4f6); color: var(--fcom-secondary-text, #6b7280); }
.fclz-seasons-list__meta { font-size: 0.85rem; color: var(--fcom-secondary-text, #6b7280); margin: 0; font-family: 'JetBrains Mono', monospace; }
.fclz-seasons-list__podium { list-style: none; padding: 0.75rem 0 0; margin: 0.6rem 0 0; border-top: 1px solid var(--fcom-primary-border, #f3f4f6); display: flex; gap: 1.25rem; flex-wrap: wrap; }
.fclz-seasons-list__podium li { display: flex; gap: 0.4rem; align-items: center; font-size: 0.9rem; }
.fclz-seasons-list__pts { color: var(--fcom-secondary-text, #6b7280); font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; }

/* Klikalne avatary - hover */
a.fclz-rank-row__avatar { transition: transform 150ms ease; }
a.fclz-rank-row__avatar:hover { transform: scale(1.05); }
a.fclz-rank-row__name:hover { color: #f58220 !important; }
a.fclz-bu-feed__avatar { transition: transform 150ms ease; display: inline-block; }
a.fclz-bu-feed__avatar:hover { transform: scale(1.05); }

/* Improved error state portal */
.fclz-portal-error { padding: 2rem; text-align: center; background: #fff7ed; border: 1px dashed #fed7aa; border-radius: 10px; color: #7c2d12; }
.fclz-portal-error p { margin: 0.4rem 0; }
.fclz-portal-error a { color: #c2410c; }

/* ============================================================================
 * v0.13.0 - Minimal redesign (Karol feedback: "modern, mniej kolorów, inherit font z FC")
 *
 * Zmiany vs v0.12.x:
 * - Brak własnego font-family (inherit z FC: --fcom-font-family lub system)
 * - FC CSS variables zamiast naszych: --fcom-primary, --fcom-primary-text, --fcom-primary-border, --fcom-secondary-text
 * - 1 accent color (orange), 1 text color, 1 muted text, 1 border, 1 hover-bg
 * - Bez gradientów, bez shadow box, jednolity styling
 * - Wszystkie pills mają ten sam styl (light bg + ink text)
 * - Section heads: clean, bez pills po prawej (eyebrows w wraperze)
 * ============================================================================ */

/* Inherit font z FC - kasujemy nasze deklaracje */
.fclz-dashboard,
.fclz-portal-wrapper,
.fclz-portal-wrapper * {
    font-family: inherit;
}

/* === Base typography === */
.fclz-dashboard {
    color: var(--fcom-primary-text, #111827);
    line-height: 1.5;
}

/* === Header sezonu === */
.fclz-dashboard__header {
    margin-bottom: 32px;
    padding: 24px;
    display: block;
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 12px;
    background: var(--fcom-primary-bg, #fff);
}

.fclz-dashboard__icon { display: none !important; }

.fclz-dashboard__title { display: block; }

.fclz-dashboard__header h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--fcom-primary-text, #111827);
    margin: 0 0 8px;
}

.fclz-dashboard__meta {
    font-size: 14px;
    color: var(--fcom-secondary-text, #6b7280);
    font-weight: 400;
    display: flex;
    flex-wrap: wrap;
    gap: 0 16px;
    align-items: center;
    margin: 0;
}

.fclz-eyebrow {
    font-size: 11px;
    font-weight: 600;
    color: var(--fcom-secondary-text, #6b7280);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 8px;
    display: block;
}

.fclz-meta-item {
    display: inline-flex;
    color: var(--fcom-secondary-text, #6b7280);
}

.fclz-meta-item + .fclz-meta-item::before {
    content: '·';
    margin: 0 10px;
    color: var(--fcom-primary-border, #d1d5db);
}

/* === Pills - jednolite (no kolorystyki, tylko subtle) === */
.fclz-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: var(--fcom-primary-border, #f3f4f6);
    color: var(--fcom-primary-text, #111827);
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    line-height: 1.4;
}

.fclz-status-pill--active {
    background: transparent;
    color: var(--fcom-primary-text, #111827);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
}

.fclz-status-pill--active::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
}

.fclz-quota-pill {
    font-size: 13px;
    font-weight: 600;
    background: transparent;
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    color: var(--fcom-primary-text, #111827);
    padding: 6px 12px;
    border-radius: 6px;
    line-height: 1.2;
    text-align: center;
    flex-shrink: 0;
}

.fclz-quota-pill small {
    display: block;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--fcom-secondary-text, #6b7280);
    margin-top: 2px;
}

/* === Cards - jednolite, subtle === */
.fclz-card,
.fclz-bu-card,
.view-mock,
.engage-card {
    background: var(--fcom-secondary-content-bg, #ffffff) !important;
    border: 1px solid var(--fcom-primary-border, #e5e7eb) !important;
    border-radius: 8px !important;
    padding: 20px 22px !important;
    box-shadow: none !important;
    transition: border-color 120ms ease;
}

.fclz-card:hover,
.fclz-bu-card:hover {
    border-color: var(--fcom-primary-text, #d1d5db) !important;
}

.fclz-card__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--fcom-secondary-text, #6b7280);
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 12px;
}

.fclz-stat__value {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--fcom-primary-text, #111827);
    font-variant-numeric: tabular-nums;
}

.fclz-stat__suffix {
    font-size: 14px;
    font-weight: 500;
    color: var(--fcom-secondary-text, #6b7280);
}

.fclz-stat--points .fclz-stat__value {
    font-size: 28px;
}

.fclz-card__meta {
    font-size: 13px;
    color: var(--fcom-secondary-text, #6b7280);
    font-weight: 400;
    margin-top: 8px;
}

.fclz-dashboard__grid { gap: 12px; margin-bottom: 24px; }

/* === Buttons - jednolite, FC-aligned === */
.fclz-btn {
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    transition: background 120ms ease;
}

.fclz-btn:not(.fclz-btn--secondary) {
    background: var(--fcom-primary, #f58220);
    color: #ffffff;
    border: none;
}

.fclz-btn:not(.fclz-btn--secondary):hover {
    background: var(--fcom-primary-hover, #e0741b);
    transform: none;
}

.fclz-btn--secondary {
    background: transparent;
    color: var(--fcom-primary-text, #111827);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
}

.fclz-btn--secondary:hover {
    background: var(--fcom-light-bg, #f9fafb);
}

/* === CTA Update biznesowy - bez gradientu === */
.fclz-business-update-section .fclz-bu-card {
    background: var(--fcom-secondary-content-bg, #ffffff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
}

/* === Section titles === */
.fclz-section__title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--fcom-primary-text, #111827);
    margin: 0 0 16px;
}

.fclz-section__head .fclz-section__title { margin: 0; }

.fclz-section__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.fclz-section__subtitle {
    font-size: 13px;
    color: var(--fcom-secondary-text, #6b7280);
    font-weight: 400;
}

/* === Heatmapa - simpler, less colors === */
.fclz-heatmap__day {
    border-radius: 3px !important;
    background: var(--fcom-light-bg, #f3f4f6) !important;
}

.fclz-heatmap__day--active {
    background: var(--fcom-primary, #f58220) !important;
}

/* === Feed update'ów === */
.fclz-bu-feed__item {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 0;
    padding: 16px 0;
}

.fclz-bu-feed__item:last-child {
    border-bottom: none;
}

.fclz-bu-feed__avatar img {
    border-radius: 50%;
}

.fclz-bu-feed__head {
    margin-bottom: 6px;
    gap: 8px;
}

.fclz-bu-feed__time {
    color: var(--fcom-secondary-text, #6b7280);
    font-size: 13px;
}

.fclz-bu-feed__label {
    display: inline-block;
    width: 72px;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    background: transparent;
    color: var(--fcom-secondary-text, #6b7280);
    padding: 0 10px 0 0;
    margin-right: 10px;
    border-right: 1px solid var(--fcom-primary-border, #d1d5db);
    text-align: left;
}

.fclz-bu-feed__row {
    margin: 6px 0;
    line-height: 1.55;
    color: var(--fcom-primary-text, #111827);
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.fclz-bu-feed__link {
    color: var(--fcom-primary, #f58220);
    text-decoration: none;
    font-size: 14px;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.fclz-bu-feed__link:hover {
    text-decoration: underline;
}
.fclz-bu-feed__links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

/* v0.58.0 - natywne komentarze pod aktualizacjami */
/* v0.59.1 - pelna szerokosc POD wpisem (item to flex row, wiec wymuszamy zawijanie) */
.fclz-bu-feed__item { flex-wrap: wrap; }
.fclz-bu-comments {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--fcom-primary-border, #e5e7eb);
}
.fclz-bu-comments__list {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.fclz-bu-comment {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.fclz-bu-comment__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
/* v0.71.0 - komentarz jako chmurka; reakcja NAD bubble (pod aktualizacja) */
.fclz-bu-comment__col {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}
.fclz-bu-comment__badge {
    display: inline-flex;
    align-items: center;
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 999px;
    white-space: nowrap;
}
.fclz-bu-comment__badge--good { background: #dcfce7; color: #166534; }
.fclz-bu-comment__badge--improve { background: #fef3c7; color: #92400e; }
.fclz-bu-comment__bubble {
    align-self: stretch;
    background: var(--fcom-light-bg, #f3f4f6);
    border: 1px solid var(--fcom-primary-border, #eef0f3);
    border-radius: 16px;
    border-top-left-radius: 4px;
    padding: 9px 14px;
    max-width: 100%;
}
.fclz-bu-comment__head {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 3px;
}
.fclz-bu-comment__author { font-weight: 700; font-size: 13px; color: var(--fcom-primary-text, #111827); }
.fclz-bu-comment__time { font-size: 11px; color: var(--fcom-secondary-text, #9ca3af); }
.fclz-bu-comment__msg {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--fcom-primary-text, #111827);
    word-break: break-word;
    overflow-wrap: anywhere;
}

.fclz-bu-comments__react {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.fclz-bu-comments__react-label { font-size: 12px; color: var(--fcom-secondary-text, #6b7280); }
.fclz-bu-react-btn {
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid var(--fcom-primary-border, #d1d5db);
    background: var(--fcom-primary-bg, #fff);
    color: var(--fcom-primary-text, #374151);
    transition: all .12s ease;
}
.fclz-bu-react-btn:hover { border-color: var(--fcom-primary, #f58220); }
.fclz-bu-react-btn.is-active {
    border-color: var(--fcom-primary, #f58220);
    background: var(--fcom-primary, #f58220);
    color: #fff;
}
.fclz-bu-react-btn--good.is-active { background: #16a34a; border-color: #16a34a; }
.fclz-bu-react-btn--improve.is-active { background: #d97706; border-color: #d97706; }
.fclz-bu-comments__form { margin-top: 10px; }
.fclz-bu-comments__textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid var(--fcom-primary-border, #d1d5db);
    border-radius: 8px;
    font: inherit;
    font-size: 14px;
    resize: vertical;
    background: var(--fcom-primary-bg, #fff);
    color: var(--fcom-primary-text, #111827);
}
.fclz-bu-comments__textarea:focus {
    outline: none;
    border-color: var(--fcom-primary, #f58220);
}
.fclz-bu-comments__formfoot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
}
.fclz-bu-comments__counter { font-size: 12px; color: var(--fcom-secondary-text, #9ca3af); }
.fclz-bu-comments__counter.is-ok { color: #166534; font-weight: 600; }
.fclz-bu-comments__actions { display: inline-flex; align-items: center; gap: 8px; }
.fclz-bu-comments__cancel {
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px 8px;
    font: inherit;
    font-size: 13px;
    color: var(--fcom-secondary-text, #6b7280);
    text-decoration: underline;
}
.fclz-bu-comments__cancel:hover { color: var(--fcom-primary-text, #374151); }
.fclz-btn--sm { padding: 6px 14px; font-size: 13px; }
.fclz-bu-comments__error { margin: 8px 0 0; font-size: 13px; color: #b91c1c; }

/* v0.61.0 - user-updates: sekcje (Update tygodnia / SM) + minimalistyczne wyroznienie */
.fclz-uu-section {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--fcom-primary-text, #374151);
    margin: 1.4rem 0 .55rem;
}
.fclz-uu-section .fclz-icon { color: var(--fcom-primary, #f58220); }
.fclz-uu-section--muted {
    color: var(--fcom-secondary-text, #9ca3af);
    font-weight: 600;
    border-top: 1px solid var(--fcom-primary-border, #eef0f3);
    padding-top: 1rem;
}
.fclz-week-update {
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 12px;
    padding: 2px 18px;
    background: var(--fcom-primary-bg, #fff);
    box-shadow: 0 2px 10px rgba(17, 24, 39, .06);
}
/* v0.66.1 - lista wewnatrz ramki Update tygodnia bez wlasnej ramki (byla podwojna) */
.fclz-week-update .fclz-bu-feed {
    border: none;
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin: 0;
}
.fclz-week-update .fclz-bu-feed__item {
    border-bottom: none !important;
    padding: 12px 0 8px !important;
}
.fclz-empty-state--sm {
    font-size: 13px;
    padding: 12px 0;
    color: var(--fcom-secondary-text, #9ca3af);
}

/* v0.72.0 - zgody przy dolaczaniu */
.fclz-join-consent { display: flex; flex-direction: column; gap: 10px; }
.fclz-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--fcom-secondary-text, #4b5563);
    cursor: pointer;
}
.fclz-consent input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; width: 16px; height: 16px; cursor: pointer; }
.fclz-consent a { color: var(--fcom-primary, #f58220); }

/* v0.72.0 - strona regulaminu */
.fclz-regulamin { max-width: 760px; margin-top: 1rem; }
.fclz-regulamin__item {
    padding: 16px 0;
    border-bottom: 1px solid var(--fcom-primary-border, #eef0f3);
}
.fclz-regulamin__item:last-of-type { border-bottom: none; }
.fclz-regulamin__item h3 {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--fcom-primary-text, #111827);
}
.fclz-regulamin__item p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.6; color: var(--fcom-secondary-text, #4b5563); }
.fclz-regulamin__item p:last-child { margin-bottom: 0; }
.fclz-regulamin__item ul { margin: 0; padding-left: 20px; }
.fclz-regulamin__item li { font-size: 14.5px; line-height: 1.6; color: var(--fcom-secondary-text, #4b5563); margin-bottom: 6px; }
.fclz-regulamin__item--accent {
    background: rgba(245, 130, 32, .04);
    border: 1px solid rgba(245, 130, 32, .25);
    border-radius: 12px;
    padding: 16px 18px;
    margin: 4px 0;
}
.fclz-regulamin__item--accent h3 { color: var(--fcom-primary, #f58220); }
.fclz-regulamin__foot { margin-top: 1.25rem; font-size: 13px; color: var(--fcom-secondary-text, #9ca3af); }

/* v0.60.0 - Dziennik: przelacznik Wydarzenia / Maile (CSS-only, dziala w SPA bez JS) */
.fclz-dz-radio { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.fclz-dziennik-tabs {
    display: flex;
    gap: 6px;
    margin: 1rem 0 .5rem;
    border-bottom: 1px solid var(--fcom-primary-border, #e5e7eb);
}
.fclz-dz-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--fcom-secondary-text, #6b7280);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    user-select: none;
}
.fclz-dz-tab:hover { color: var(--fcom-primary-text, #374151); }
.fclz-dz-count {
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--fcom-primary-border, #e5e7eb);
    color: var(--fcom-secondary-text, #6b7280);
}
/* Aktywna zakladka + widoczny panel zaleznie od zaznaczonego radio */
#fclz-dz-events:checked ~ .fclz-dziennik-tabs .fclz-dz-tab--events,
#fclz-dz-mails:checked ~ .fclz-dziennik-tabs .fclz-dz-tab--mails {
    color: var(--fcom-primary, #f58220);
    border-bottom-color: var(--fcom-primary, #f58220);
}
#fclz-dz-events:checked ~ .fclz-dziennik-tabs .fclz-dz-tab--events .fclz-dz-count,
#fclz-dz-mails:checked ~ .fclz-dziennik-tabs .fclz-dz-tab--mails .fclz-dz-count {
    background: var(--fcom-primary, #f58220);
    color: #fff;
}
.fclz-dz-panel { display: none; }
#fclz-dz-events:checked ~ .fclz-dz-panel--events { display: block; }
#fclz-dz-mails:checked ~ .fclz-dz-panel--mails { display: block; }

.fclz-mail-status {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 999px;
    white-space: nowrap;
}
.fclz-mail-status--sent { background: #dcfce7; color: #166534; }
.fclz-mail-status--skipped { background: var(--fcom-secondary-content-bg, #f1f5f9); color: var(--fcom-secondary-text, #64748b); }
.fclz-mail-status--failed { background: #fee2e2; color: #b91c1c; }
.fclz-activity__item--mail .fclz-activity__icon { background: #0ea5e9; }

/* v0.59.0 - Dziennik Ligi (strumien wydarzen) */
.fclz-activity {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.fclz-activity__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    transition: background .12s ease;
}
.fclz-activity__item:hover { background: var(--fcom-active-bg, #f9fafb); }
.fclz-activity__icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: var(--fcom-secondary-text, #9ca3af);
}
.fclz-activity__item--bu .fclz-activity__icon { background: #2563eb; }
.fclz-activity__item--sm .fclz-activity__icon { background: #f58220; }
.fclz-activity__item--comment .fclz-activity__icon { background: #16a34a; }
.fclz-activity__item--join .fclz-activity__icon { background: #8b5cf6; }
.fclz-activity__avatar {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}
.fclz-activity__body { flex: 1; min-width: 0; }
.fclz-activity__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: var(--fcom-primary-text, #111827);
}
.fclz-activity__text strong { font-weight: 600; }
.fclz-activity__time {
    font-size: 12px;
    color: var(--fcom-secondary-text, #9ca3af);
}
.fclz-activity__cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--fcom-primary, #f58220);
    text-decoration: none;
    white-space: nowrap;
}
.fclz-activity__cta:hover { text-decoration: underline; }
@media (max-width: 640px) {
    .fclz-activity__cta span,
    .fclz-activity__time { font-size: 11px; }
    .fclz-activity__item { gap: 8px; padding: 8px 6px; }
}

.fclz-bu-feed__locked {
    background: transparent;
    border: none;
    border-left: 2px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 0;
    padding: 8px 12px;
    color: var(--fcom-secondary-text, #6b7280);
    font-size: 13px;
    font-style: normal;
    margin-top: 4px;
}

/* Badges (public/cross-post) - text zamiast emoji */
/* v0.67.0 - rozwijany "nad czym pracuje w Lidze" w feedzie (CSS-only details) */
.fclz-bu-context {
    margin: 6px 0 10px;
}
.fclz-bu-context__summary {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    list-style: none;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--fcom-secondary-text, #9ca3af);
    user-select: none;
}
.fclz-bu-context__summary::-webkit-details-marker { display: none; }
.fclz-bu-context__summary:hover { color: var(--fcom-primary, #f58220); }
.fclz-bu-context[open] .fclz-bu-context__summary { color: var(--fcom-primary-text, #374151); margin-bottom: 4px; }
.fclz-bu-context__body {
    margin: 0;
    padding: 8px 12px;
    background: var(--fcom-secondary-content-bg, #f8f9fa);
    border-radius: 8px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--fcom-primary-text, #374151);
}

/* v0.67.0 - delikatne, dyskretne etykiety widocznosci (bialo-szare, pelny tekst) */
.fclz-bu-feed__badge {
    background: var(--fcom-secondary-content-bg, #f8f9fa);
    color: var(--fcom-secondary-text, #9ca3af);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    padding: 1px 8px;
    border-radius: 5px;
    border: 1px solid var(--fcom-primary-border, #eef0f3);
}

.fclz-bu-feed__badge--public,
.fclz-bu-feed__badge--paid {
    background: var(--fcom-secondary-content-bg, #f8f9fa);
    color: var(--fcom-secondary-text, #9ca3af);
    border-color: var(--fcom-primary-border, #eef0f3);
}

/* === Ranking rows === */
.fclz-rank-row {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid var(--fcom-primary-border, #e5e7eb) !important;
    transition: background 120ms ease;
    margin: 0 !important;
}

.fclz-rank-row:hover {
    background: var(--fcom-light-bg, #f9fafb) !important;
}

.fclz-rank-row:last-child {
    border-bottom: none !important;
}

.fclz-rank-row--gold,
.fclz-rank-row--silver,
.fclz-rank-row--bronze {
    background: transparent !important;
}

.fclz-rank-row--me {
    background: var(--fcom-light-bg, #f9fafb) !important;
}

.fclz-rank-row__pos-badge {
    background: transparent !important;
    color: var(--fcom-secondary-text, #6b7280) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    width: 28px !important;
    height: auto !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.fclz-rank-row--gold .fclz-rank-row__pos-badge { color: var(--fcom-primary, #f58220) !important; font-weight: 700 !important; }

.fclz-rank-row__streak {
    color: var(--fcom-secondary-text, #6b7280);
    font-size: 13px;
    font-weight: 500;
}

.fclz-rank-row__streak::before { content: ''; display: none; }

.fclz-rank-row__streak-value {
    font-size: 14px;
    color: var(--fcom-primary-text, #111827);
}

.fclz-rank-row__streak-unit {
    font-size: 12px;
    color: var(--fcom-secondary-text, #6b7280);
}

.fclz-rank-row__points-value {
    font-weight: 600;
    color: var(--fcom-primary-text, #111827);
}

.fclz-rank-row__points-label {
    color: var(--fcom-secondary-text, #6b7280);
    font-size: 12px;
}

.fclz-rank-row__name { font-weight: 600; }

.fclz-rank-row__handle,
.fclz-rank-row__meta {
    color: var(--fcom-secondary-text, #6b7280);
    font-size: 13px;
}

.fclz-rank-row__me-tag {
    background: var(--fcom-primary, #f58220);
    color: #ffffff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
    margin-left: 6px;
}

/* === Podium positions w archiwum === */
.fclz-podium-pos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    background: transparent;
    color: var(--fcom-secondary-text, #6b7280);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
}

.fclz-podium-pos--gold { color: var(--fcom-primary, #f58220); border-color: var(--fcom-primary, #f58220); }

/* === Spacing sekcji === */
.fclz-portal-wrapper .fclz-section,
.fclz-portal-wrapper .fclz-business-update-section,
.fclz-portal-wrapper .fclz-bu-feed-section,
.fclz-portal-wrapper .fclz-ranking-section,
.fclz-portal-wrapper .fclz-activity-section {
    margin-top: 32px;
}

/* === Mobile === */
@media (max-width: 720px) {
    .fclz-dashboard__header h2 { font-size: 22px; }
    .fclz-stat__value { font-size: 30px; }
    .fclz-stat--points .fclz-stat__value { font-size: 22px; }
    .fclz-dashboard__grid { grid-template-columns: 1fr; }
}

/* ============================================================================
 * v0.13.1 - Lucide-style icons (zamiast emoji)
 * ============================================================================ */

.fclz-icon {
    display: inline-block;
    vertical-align: -3px;
    flex-shrink: 0;
    color: var(--fcom-primary, #f58220);
}

/* Ikony w eyebrows + section heads = pomarańczowe */
.fclz-eyebrow .fclz-icon,
.fclz-section__title .fclz-icon,
.fclz-card__title .fclz-icon,
.fclz-bu-feed__label .fclz-icon,
.fclz-quota-pill .fclz-icon,
.fclz-bu-card__success .fclz-icon {
    color: var(--fcom-primary, #f58220);
    margin-right: 6px;
}

/* Ikony w rank-row (gold/silver/bronze) */
.fclz-rank-row__pos-badge .fclz-icon { vertical-align: middle; }

/* Locked content - secondary color */
.fclz-bu-feed__locked .fclz-icon {
    color: var(--fcom-secondary-text, #9ca3af);
    margin-right: 6px;
}

/* Badges - white na akcent bg */
.fclz-bu-feed__badge .fclz-icon { color: currentColor; vertical-align: -2px; }

/* Header sezonu - bigger icon w eyebrow */
.fclz-dashboard__header .fclz-eyebrow .fclz-icon { vertical-align: -4px; }

/* Variant: muted icon */
.fclz-icon--muted { color: var(--fcom-secondary-text, #9ca3af) !important; }

/* Variant: white (na primary buttons) */
.fclz-icon--white { color: #ffffff !important; }

/* ============================================================================
 * v0.14.0 - Profile stats: 3 (lub 4) karty obok siebie
 * Auto-fit minmax pattern - 3 karty = 3 kolumny, 4 karty = 4, mobile 1
 * ============================================================================ */

.fclz-profile__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
    margin-top: 24px;
}

.fclz-profile__stats .fclz-card {
    margin: 0;
    padding: 22px 24px !important;
}

/* Profil header - więcej oddechu */
.fclz-profile__header {
    margin-bottom: 8px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--fcom-primary-border, #e5e7eb);
    gap: 20px;
    align-items: center;
}

.fclz-profile__header h2 {
    font-size: 24px !important;
    margin: 0 0 4px !important;
}

.fclz-profile__header .fclz-dashboard__meta {
    margin-top: 4px;
}

.fclz-profile__avatar {
    width: 64px !important;
    height: 64px !important;
    border-width: 2px !important;
}

/* Sekcje pod stats - lepsze odległości */
.fclz-portal-wrapper .fclz-section + .fclz-section,
.fclz-dashboard .fclz-section + .fclz-section {
    margin-top: 32px;
}

/* Wpisy contentu - odległości w listach */
.fclz-entries-list {
    margin-top: 16px;
}

.fclz-entries-list__item {
    padding: 14px 16px !important;
    gap: 16px !important;
}

/* BU feed w profilu - bez nadmiernego paddingu */
.fclz-profile__stats + .fclz-section .fclz-bu-feed__item:first-child {
    padding-top: 8px;
}

@media (max-width: 720px) {
    .fclz-profile__stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .fclz-profile__avatar {
        width: 56px !important;
        height: 56px !important;
    }
}

/* ============================================================================
 * v0.15.0 - Padding fix dla feed (Karol: "tu jest problem z paddingami")
 * Feed w container, items separated z border-bottom
 * ============================================================================ */

.fclz-bu-feed {
    background: var(--fcom-secondary-content-bg, #ffffff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 8px;
    padding: 4px 24px;
    list-style: none;
    margin: 0;
}

.fclz-bu-feed__item {
    padding: 18px 0 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--fcom-primary-border, #f1f5f9) !important;
    border-radius: 0 !important;
    margin: 0 !important;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.fclz-bu-feed__item:last-child {
    border-bottom: none !important;
}

.fclz-bu-feed__avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.fclz-bu-feed__avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.fclz-bu-feed__body {
    flex: 1;
    min-width: 0;
}

.fclz-bu-feed__head {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.fclz-bu-feed__head strong,
.fclz-bu-feed__head > a {
    font-weight: 600;
    color: var(--fcom-primary-text, #111827);
    font-size: 14px;
}

.fclz-bu-feed__cta {
    margin-top: 24px;
    padding: 20px;
    background: var(--fcom-light-bg, #f9fafb);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 8px;
    text-align: center;
}

.fclz-bu-feed__cta a.fclz-btn {
    margin-bottom: 8px;
}

.fclz-bu-feed__cta small {
    display: block;
    color: var(--fcom-secondary-text, #6b7280);
    font-size: 13px;
    margin-top: 8px;
}

/* /updaty page - call to action "Napisz update" gdy write window */
.fclz-write-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: var(--fcom-light-bg, #f9fafb);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 0 0 20px;
    flex-wrap: wrap;
}

.fclz-write-cta__text {
    flex: 1;
    min-width: 200px;
}

.fclz-write-cta__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--fcom-primary-text, #111827);
    margin: 0 0 2px;
}

.fclz-write-cta__sub {
    font-size: 12px;
    color: var(--fcom-secondary-text, #6b7280);
    margin: 0;
}

/* ============================================================================
 * v0.15.0 - Progress bars (huashu-design)
 * .fclz-progress (linear, season) + .fclz-quota (segmented, business update)
 * ============================================================================ */

/* === A. SEASON PROGRESS BAR === */
.fclz-progress {
    --pct: 0;
    position: relative;
    height: 6px;
    width: 100%;
    background: var(--fcom-light-bg, #f1f5f9);
    border-radius: 999px;
    overflow: visible;
    margin-top: 16px;
}

.fclz-progress__fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: calc(var(--pct) * 1%);
    background: var(--fcom-primary, #f58220);
    border-radius: 999px;
    transition: width 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.fclz-progress__fill::after {
    content: '';
    position: absolute;
    top: 50%; right: -4px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--fcom-primary, #f58220);
    transform: translateY(-50%);
    animation: fclzPulse 2.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes fclzPulse {
    0%   { box-shadow: 0 0 0 0 rgba(245,130,32,0.32); }
    60%  { box-shadow: 0 0 0 8px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

.fclz-progress__ticks {
    position: absolute; inset: 0;
    display: flex; justify-content: space-between; align-items: center;
    pointer-events: none;
}

.fclz-progress__tick {
    width: 2px; height: 6px;
    background: var(--fcom-secondary-content-bg, #fff);
    position: relative;
    z-index: 2;
}

.fclz-progress__tick:first-child,
.fclz-progress__tick:last-child { visibility: hidden; }

.fclz-progress__caption {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 12px;
    color: var(--fcom-secondary-text, #6b7280);
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}

.fclz-progress__caption strong {
    color: var(--fcom-primary-text, #111827);
    font-weight: 600;
}

/* === B. QUOTA SEGMENTED PROGRESS === */
.fclz-quota {
    background: var(--fcom-secondary-content-bg, #ffffff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 8px;
    padding: 18px 22px 16px;
    transition: border-color 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.fclz-quota__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.fclz-quota__count {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.fclz-quota__count .num {
    font-size: 24px;
    font-weight: 700;
    color: var(--fcom-primary-text, #111827);
    line-height: 1;
}

.fclz-quota__count .sep {
    font-size: 20px;
    color: var(--fcom-secondary-text, #6b7280);
    font-weight: 500;
    margin: 0 2px;
}

.fclz-quota__count .req {
    font-size: 16px;
    color: var(--fcom-secondary-text, #6b7280);
    font-weight: 600;
}

.fclz-quota__label {
    font-size: 12px;
    color: var(--fcom-secondary-text, #6b7280);
    font-weight: 500;
    text-align: right;
    flex-shrink: 0;
}

.fclz-quota__bar {
    display: grid;
    gap: 6px;
    height: 6px;
    margin-bottom: 10px;
}

.fclz-quota__bar.cols-3 { grid-template-columns: repeat(3, 1fr); }
.fclz-quota__bar.cols-4 { grid-template-columns: repeat(4, 1fr); }
.fclz-quota__bar.cols-5 { grid-template-columns: repeat(5, 1fr); }

.fclz-quota__seg {
    background: var(--fcom-light-bg, #f1f5f9);
    border-radius: 999px;
    transition: background 240ms ease;
}

.fclz-quota__seg.is-done {
    background: var(--fcom-primary, #f58220);
}

.fclz-quota__foot {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--fcom-secondary-text, #6b7280);
    line-height: 1.4;
}

.fclz-quota.is-warning {
    border-color: rgba(180,83,9,0.3);
}

.fclz-quota.is-warning .fclz-quota__foot {
    color: #b45309;
    font-weight: 600;
}

.fclz-quota.is-done {
    border-color: rgba(245,130,32,0.35);
}

.fclz-quota.is-done .fclz-quota__foot {
    color: var(--fcom-primary, #f58220);
    font-weight: 600;
}

.fclz-quota.is-done .fclz-quota__count .num,
.fclz-quota.is-done .fclz-quota__count .req {
    color: var(--fcom-primary, #f58220);
}

/* ============================================================================
 * v0.15.0 - Zasady ligi page (huashu-design)
 * ============================================================================ */

.fclz-zasady { max-width: 880px; margin: 0 auto; padding: 8px 0 32px; }

.fclz-page-header {
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--fcom-primary-border, #e5e7eb);
}

.fclz-zasady-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--fcom-primary, #f58220);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.fclz-page-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--fcom-primary-text, #111827);
    margin: 0 0 12px;
}

.fclz-page-lede {
    font-size: 15px;
    line-height: 1.6;
    color: var(--fcom-secondary-text, #6b7280);
    max-width: 640px;
    margin: 0;
}

.fclz-zasady .fclz-section { margin-bottom: 40px; }

.fclz-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.fclz-section-num {
    font-size: 11px;
    font-weight: 700;
    color: var(--fcom-secondary-text, #6b7280);
    letter-spacing: 0.1em;
    font-variant-numeric: tabular-nums;
}

.fclz-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--fcom-primary-text, #111827);
    letter-spacing: -0.01em;
    margin: 0;
}

/* Week Timeline */
.fclz-week-timeline {
    background: var(--fcom-secondary-content-bg, #ffffff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 12px;
    padding: 22px 24px;
}

.fclz-week-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.fclz-day {
    background: var(--fcom-light-bg, #f9fafb);
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 14px 10px;
    text-align: center;
    transition: all 200ms ease;
    cursor: default;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.fclz-day--write {
    background: rgba(245,130,32,0.08);
    border-color: rgba(245,130,32,0.25);
}

.fclz-day--vote {
    background: var(--fcom-secondary-content-bg, #ffffff);
    border: 1px dashed var(--fcom-primary-border, #d1d5db);
}

.fclz-day-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--fcom-primary-text, #111827);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.fclz-day-mode {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.fclz-day--write .fclz-day-mode { color: var(--fcom-primary, #f58220); }
.fclz-day--vote .fclz-day-mode { color: var(--fcom-secondary-text, #6b7280); }

.fclz-day-desc {
    font-size: 11px;
    color: var(--fcom-secondary-text, #6b7280);
    line-height: 1.4;
}

.fclz-week-legend {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid var(--fcom-primary-border, #f1f5f9);
    font-size: 12px;
    color: var(--fcom-secondary-text, #6b7280);
}

.fclz-legend-item { display: flex; align-items: center; gap: 8px; }

.fclz-legend-swatch {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    flex-shrink: 0;
}

.fclz-legend-swatch--write { background: rgba(245,130,32,0.15); border: 1px solid rgba(245,130,32,0.3); }
.fclz-legend-swatch--vote { background: var(--fcom-secondary-content-bg, #ffffff); border: 1px dashed var(--fcom-primary-border, #d1d5db); }

/* Rule grid (3 cards) */
.fclz-rule-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.fclz-rule-card {
    background: var(--fcom-secondary-content-bg, #ffffff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 10px;
    padding: 22px 22px 18px;
    transition: border-color 200ms ease;
    position: relative;
}

.fclz-rule-card:hover { border-color: var(--fcom-primary-text, #d1d5db); }

.fclz-rule-card-icon {
    width: 36px;
    height: 36px;
    background: rgba(245,130,32,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.fclz-rule-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--fcom-primary-text, #111827);
    margin: 0 0 4px;
    letter-spacing: -0.01em;
}

.fclz-rule-card-when {
    font-size: 11px;
    font-weight: 600;
    color: var(--fcom-secondary-text, #6b7280);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.fclz-rule-card-desc {
    font-size: 13px;
    color: var(--fcom-secondary-text, #6b7280);
    line-height: 1.55;
    margin: 0 0 14px;
}

.fclz-rule-card-pill {
    display: inline-block;
    background: rgba(245,130,32,0.1);
    color: var(--fcom-primary, #f58220);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0;
}

/* Points table */
.fclz-points-table {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--fcom-secondary-content-bg, #ffffff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 10px;
    overflow: hidden;
}

.fclz-points-row {
    display: grid;
    grid-template-columns: 24px 1fr auto auto;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--fcom-primary-border, #f1f5f9);
}

.fclz-points-row:last-child { border-bottom: none; }

.fclz-points-row--highlight {
    background: rgba(245,130,32,0.05);
    border-bottom-color: rgba(245,130,32,0.2);
}

.fclz-points-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--fcom-primary-text, #111827);
}

.fclz-points-meta {
    font-size: 12px;
    color: var(--fcom-secondary-text, #6b7280);
    text-align: right;
}

.fclz-points-value {
    font-family: ui-monospace, monospace;
    font-size: 16px;
    font-weight: 700;
    color: var(--fcom-primary-text, #111827);
    text-align: right;
    min-width: 70px;
}

.fclz-points-row--highlight .fclz-points-value { color: var(--fcom-primary, #f58220); }

.fclz-points-unit {
    font-size: 12px;
    font-weight: 500;
    color: var(--fcom-secondary-text, #6b7280);
}

/* Quota rules layout */
.fclz-quota-rules {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
}

.fclz-quota-main {
    background: var(--fcom-secondary-content-bg, #ffffff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 10px;
    padding: 24px;
}

.fclz-quota-headline {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
}

.fclz-quota-num {
    font-size: 44px;
    font-weight: 700;
    color: var(--fcom-primary, #f58220);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
}

.fclz-quota-num-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--fcom-secondary-text, #6b7280);
}

.fclz-quota-desc {
    font-size: 13px;
    color: var(--fcom-secondary-text, #6b7280);
    line-height: 1.55;
    margin: 0 0 14px;
}

.fclz-quota-bonus {
    display: inline-block;
    background: rgba(22,163,74,0.1);
    color: #15803d;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
}

.fclz-quota-bonus code {
    background: transparent;
    padding: 0;
    font-family: ui-monospace, monospace;
    font-weight: 700;
}

.fclz-quota-modes {
    background: var(--fcom-secondary-content-bg, #ffffff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 10px;
    padding: 20px 22px;
}

.fclz-quota-modes-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--fcom-primary-text, #111827);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 14px;
}

.fclz-mode-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 12px;
}

.fclz-mode-row:last-child { margin-bottom: 0; }

.fclz-mode-tag {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    min-width: 60px;
    text-align: center;
}

.fclz-mode-tag--soft { background: rgba(34,197,94,0.1); color: #15803d; }
.fclz-mode-tag--medium { background: rgba(245,130,32,0.1); color: var(--fcom-primary, #f58220); }
.fclz-mode-tag--hard { background: rgba(239,68,68,0.1); color: #b91c1c; }

.fclz-mode-desc {
    color: var(--fcom-secondary-text, #6b7280);
    line-height: 1.5;
}

/* Podium */
.fclz-podium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.fclz-podium-card {
    background: var(--fcom-secondary-content-bg, #ffffff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 10px;
    padding: 22px 24px;
}

.fclz-podium-card-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--fcom-primary-text, #111827);
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.fclz-podium-list,
.fclz-podium-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fclz-podium-rank {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--fcom-primary-border, #f1f5f9);
}

.fclz-podium-rank:last-child { border-bottom: none; }

.fclz-podium-medal {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    background: var(--fcom-light-bg, #f3f4f6);
    color: var(--fcom-secondary-text, #6b7280);
}

.fclz-podium-rank--gold .fclz-podium-medal { background: rgba(245,130,32,0.15); color: var(--fcom-primary, #f58220); }
.fclz-podium-rank--silver .fclz-podium-medal { background: rgba(148,163,184,0.2); color: var(--fcom-secondary-text, #475569); }
.fclz-podium-rank--bronze .fclz-podium-medal { background: rgba(180,83,9,0.15); color: #92400e; }

.fclz-podium-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--fcom-primary-text, #111827);
}

.fclz-podium-tag {
    font-family: ui-monospace, monospace;
    font-size: 11px;
    background: var(--fcom-light-bg, #f3f4f6);
    color: var(--fcom-secondary-text, #6b7280);
    padding: 4px 8px;
    border-radius: 4px;
}

.fclz-podium-features li {
    padding: 8px 0 8px 22px;
    font-size: 13px;
    color: var(--fcom-primary-text, #111827);
    line-height: 1.5;
    position: relative;
}

.fclz-podium-features li::before {
    content: '';
    position: absolute;
    left: 4px; top: 14px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--fcom-primary, #f58220);
}

.fclz-zasady-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--fcom-primary-border, #e5e7eb);
    text-align: center;
}

@media (max-width: 720px) {
    .fclz-rule-grid,
    .fclz-quota-rules,
    .fclz-podium { grid-template-columns: 1fr; }
    .fclz-week-grid { grid-template-columns: repeat(7, 1fr); gap: 4px; }
    .fclz-day { padding: 8px 4px; min-height: 80px; }
    .fclz-day-desc { display: none; }
    .fclz-page-title { font-size: 24px; }
}

/* ============================================================================
 * v0.16.0 - Ranking section redesign (huashu)
 * White card container + nowy header (icon + title+subtitle + count pill)
 * ============================================================================ */

.fclz-ranking-section {
    background: var(--fcom-secondary-content-bg, #ffffff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 12px;
    padding: 24px 8px;
    margin: 0 0 28px;
}

.fclz-ranking-section .fclz-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 0 16px 14px;
    border-bottom: 1px solid var(--fcom-light-bg, #f3f4f6);
}

.fclz-section__head-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fclz-section__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(245,130,32,0.1);
    border-radius: 8px;
    flex-shrink: 0;
    color: var(--fcom-primary, #f58220);
}

.fclz-section__icon .fclz-icon { color: var(--fcom-primary, #f58220); margin-right: 0; }

.fclz-section__count-pill {
    background: var(--fcom-light-bg, #f9fafb);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    color: var(--fcom-secondary-text, #6b7280);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    flex-shrink: 0;
}

.fclz-ranking-section .fclz-rank-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fclz-ranking-section .fclz-rank-row {
    display: grid !important;
    grid-template-columns: 32px 48px 1fr auto auto !important;
    align-items: center;
    gap: 16px;
    padding: 14px 16px !important;
    border: none !important;
    border-bottom: 1px solid var(--fcom-light-bg, #f3f4f6) !important;
    background: transparent !important;
    border-radius: 8px !important;
    transition: background 120ms ease;
}

.fclz-ranking-section .fclz-rank-row:last-child {
    border-bottom: none !important;
}

.fclz-ranking-section .fclz-rank-row:hover {
    background: var(--fcom-light-bg, #f9fafb) !important;
}

.fclz-ranking-section .fclz-rank-row--me {
    background: rgba(245,130,32,0.04) !important;
}

.fclz-ranking-section .fclz-rank-row__pos-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--fcom-light-bg, #f3f4f6);
    color: var(--fcom-secondary-text, #6b7280);
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.fclz-ranking-section .fclz-rank-row--gold .fclz-rank-row__pos-badge {
    background: var(--fcom-primary, #f58220);
    color: #ffffff;
}

.fclz-ranking-section .fclz-rank-row--silver .fclz-rank-row__pos-badge {
    background: #94a3b8;
    color: #ffffff;
}

.fclz-ranking-section .fclz-rank-row--bronze .fclz-rank-row__pos-badge {
    background: #b45309;
    color: #ffffff;
}

.fclz-ranking-section .fclz-rank-row__avatar {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    position: relative;
}

.fclz-ranking-section .fclz-rank-row__avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    object-fit: cover;
    display: block;
}

.fclz-ranking-section .fclz-rank-row__info {
    min-width: 0;
}

.fclz-ranking-section .fclz-rank-row__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--fcom-primary-text, #111827);
    text-decoration: none;
    line-height: 1.3;
}

.fclz-ranking-section .fclz-rank-row__meta {
    font-size: 12px;
    color: var(--fcom-secondary-text, #6b7280);
    margin-top: 2px;
}

.fclz-ranking-section .fclz-rank-row__streak {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--fcom-secondary-text, #6b7280);
    font-weight: 600;
}

.fclz-ranking-section .fclz-rank-row__streak--empty {
    visibility: hidden;
}

.fclz-ranking-section .fclz-rank-row__streak-value {
    font-variant-numeric: tabular-nums;
    color: var(--fcom-primary-text, #111827);
}

.fclz-ranking-section .fclz-rank-row__points {
    text-align: right;
    min-width: 72px;
}

.fclz-ranking-section .fclz-rank-row__points-value {
    font-family: ui-monospace, monospace;
    font-size: 17px;
    font-weight: 700;
    color: var(--fcom-primary-text, #111827);
    font-variant-numeric: tabular-nums;
    display: block;
}

.fclz-ranking-section .fclz-rank-row--gold .fclz-rank-row__points-value,
.fclz-ranking-section .fclz-rank-row--me .fclz-rank-row__points-value {
    color: var(--fcom-primary, #f58220);
}

.fclz-ranking-section .fclz-rank-row__points-label {
    font-size: 11px;
    color: var(--fcom-secondary-text, #6b7280);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fclz-rank-row__me-tag {
    background: var(--fcom-primary, #f58220);
    color: #ffffff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 700;
    margin-left: 6px;
    letter-spacing: 0.04em;
}

@media (max-width: 720px) {
    .fclz-ranking-section { padding: 18px 16px; }
    .fclz-ranking-section .fclz-rank-row {
        grid-template-columns: 28px 36px 1fr auto !important;
    }
    .fclz-ranking-section .fclz-rank-row__streak { display: none; }
    .fclz-ranking-section .fclz-rank-row__avatar img { width: 36px; height: 36px; }
}

/* ============================================================
   Modal user-updates (klik w wiersz rankingu -> peek BU ziomka)
   - Reuse'uje base .fclz-modal* classes (animate, backdrop, dialog).
   - Override'y dla szerszego dialog (600px) + custom header/footer.
   ============================================================ */

/* Cursor + hover hint dla klikalnego wiersza (podpowiedź interakcji). */
.fclz-rank-row[data-fclz-user-modal] {
    cursor: pointer;
    user-select: none;
}

.fclz-rank-row[data-fclz-user-modal]:focus-visible {
    outline: 2px solid var(--fcom-primary, #f58220);
    outline-offset: 2px;
}

/* Animacja open (200ms ease, jak w specyfikacji Karola). */
.fclz-modal--user-updates {
    animation: fclzUserModalFade 200ms ease;
}

.fclz-modal--user-updates .fclz-modal__dialog--user-updates {
    max-width: 880px;
    width: 94vw;
    max-height: 90vh;
    animation: fclzUserModalRise 220ms cubic-bezier(.2,.8,.2,1);
}

@keyframes fclzUserModalFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes fclzUserModalRise {
    from { opacity: 0; transform: translateY(8px) scale(.98); }
    to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

/* Header: białe tło, separator dolny. Bez gradientu. */
.fclz-modal__header--user-updates {
    background: var(--fcom-primary-bg, #fff);
    align-items: center;
    border-bottom: 1px solid var(--fcom-primary-border, #e5e7eb);
    padding: 0.85rem 1.15rem;
}

.fclz-modal__header--user-updates .fclz-modal__user-name {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--fcom-primary-text, #1d2327);
}

/* Body modalu: białe, bez bg, item-cards same w sobie wystarczą. */
.fclz-modal__body--user-updates {
    background: var(--fcom-primary-bg, #fff);
    padding: 0.5rem 1.15rem 1rem;
}

/* Wewnątrz body siedzi user-updates.php - reset paddingów. */
.fclz-modal__body--user-updates .fclz-dashboard {
    margin: 0;
    padding: 0;
}

/* "Wróć do rankingu" w body - ukryć (modal sam ma X / Esc). */
.fclz-modal__body--user-updates .fclz-profile__header .fclz-btn--secondary {
    display: none;
}

/* Header sekcji "Update biznesowe X" - schowaj, modal title to mówi. */
.fclz-modal__body--user-updates h3.fclz-section__title {
    display: none;
}

/* Profile header w body: inline, bez border ani radius - tylko separator. */
.fclz-modal__body--user-updates .fclz-profile__header {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 0;
    padding: 0.65rem 0;
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.fclz-modal__body--user-updates .fclz-profile__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.fclz-modal__body--user-updates .fclz-profile__header h2 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
}

.fclz-modal__body--user-updates .fclz-dashboard__meta {
    font-size: 0.74rem;
    color: var(--fcom-secondary-text, #646970);
    margin: 1px 0 0;
}

/* Footer: tylko link, bez hint, bez wyróżnienia. */
.fclz-modal__footer--user-updates {
    border-top: 1px solid var(--fcom-primary-border, #e5e7eb);
    background: var(--fcom-primary-bg, #fff);
    padding: 0.55rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.fclz-modal__footer-hint { display: none; }

.fclz-modal__footer-link {
    color: var(--fcom-secondary-text, #646970);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.78rem;
}

.fclz-modal__footer-link:hover {
    color: var(--fcom-primary, #f58220);
}

/* Loader (spinner) wewnątrz body. */
.fclz-modal__loader {
    padding: 2.5rem 1rem;
    text-align: center;
    color: var(--fcom-secondary-text, #646970);
    font-size: 0.85rem;
}

.fclz-modal__loader p { margin: 0.75rem 0 0; }

.fclz-modal__spinner {
    width: 32px;
    height: 32px;
    margin: 0 auto;
    border-radius: 50%;
    border: 3px solid var(--fcom-primary-border, #e5e7eb);
    border-top-color: var(--fcom-primary, #f58220);
    animation: fclzSpin 0.8s linear infinite;
}

@keyframes fclzSpin {
    to { transform: rotate(360deg); }
}

/* Error state w body. */
.fclz-modal__error {
    padding: 1.5rem 1rem;
    text-align: center;
    background: #fae3e3;
    border: 1px solid #e4a4a4;
    border-radius: 8px;
    color: #a10e0e;
    font-size: 0.88rem;
}

.fclz-modal__error p { margin: 0; }

@media (max-width: 720px) {
    .fclz-modal--user-updates .fclz-modal__dialog--user-updates {
        max-width: 100%;
        max-height: 92vh;
    }
}

/* ============================================================
 * Phase 18 - Hub update'ów na /updaty (2 karty CTA + SM feed)
 * ============================================================ */
.fclz-updates-hub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 720px) {
    .fclz-updates-hub { grid-template-columns: 1fr; }
}

.fclz-update-card {
    background: var(--fcom-primary-bg, #fff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.fclz-update-card:hover {
    border-color: var(--fcom-primary, #f58220);
}

.fclz-update-card__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.fclz-update-card__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--fcom-light-bg, #fff7ed);
    color: var(--fcom-primary, #f58220);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fclz-update-card__title {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--fcom-primary-text, #111827);
    letter-spacing: -0.01em;
}

.fclz-update-card__sub {
    margin: 0;
    font-size: 12px;
    color: var(--fcom-secondary-text, #6b7280);
    font-weight: 500;
}

.fclz-update-card__desc {
    margin: 0;
    font-size: 13px;
    color: var(--fcom-secondary-text, #6b7280);
    line-height: 1.5;
    flex: 1;
}

.fclz-update-card__cta {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

.fclz-update-card__note {
    margin: 4px 0 0;
    font-size: 11px;
    color: var(--fcom-secondary-text, #6b7280);
    text-align: center;
}

/* SM personal feed (Twoje ostatnie SM) */
.fclz-sm-feed {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fclz-sm-feed__item {
    background: var(--fcom-secondary-content-bg, #fafafa);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.fclz-sm-feed__platform {
    flex-shrink: 0;
    display: inline-block;
    padding: 2px 8px;
    background: var(--fcom-light-bg, #fff7ed);
    color: var(--fcom-primary, #f58220);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.4;
}

.fclz-sm-feed__msg {
    margin: 0;
    flex: 1;
    min-width: 200px;
    font-size: 13px;
    color: var(--fcom-primary-text, #111827);
    line-height: 1.5;
}

.fclz-sm-feed__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--fcom-secondary-text, #6b7280);
    margin-left: auto;
}

.fclz-sm-feed__link {
    color: var(--fcom-primary, #f58220);
    text-decoration: none;
}

.fclz-sm-feed__link:hover { text-decoration: underline; }

.fclz-sm-feed__time { white-space: nowrap; }

/* ============================================================
 * Phase 19 - Maintenance notice
 * ============================================================ */
.fclz-maintenance-notice {
    background: var(--fcom-primary-bg, #fff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 12px;
    padding: 64px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.fclz-maintenance-notice__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--fcom-light-bg, #fff7ed);
    color: var(--fcom-primary, #f58220);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fclz-maintenance-notice__title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--fcom-primary-text, #111827);
    letter-spacing: -0.01em;
    line-height: 1.4;
    max-width: 480px;
}

@media (max-width: 720px) {
    .fclz-maintenance-notice { padding: 40px 20px; }
    .fclz-maintenance-notice__title { font-size: 17px; }
}

/* ============================================================
 * Phase 21 - Sekcja "Co teraz?" - 3 akcje + subtelne stats inline
 * Zastąpiła: karty "Twoja pozycja", "Streak", "Update biznesowy"
 * ============================================================ */
.fclz-actions-section {
    margin-bottom: 24px;
}

.fclz-actions-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

@media (max-width: 720px) {
    .fclz-actions-row { grid-template-columns: 1fr; }
}

.fclz-action-btn {
    appearance: none;
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    background: var(--fcom-primary-bg, #fff);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.05s ease;
    color: var(--fcom-primary-text, #111827);
    font-family: inherit;
}

.fclz-action-btn:hover:not(:disabled) {
    border-color: var(--fcom-primary, #f58220);
    background: var(--fcom-light-bg, #fff7ed);
}

.fclz-action-btn:active:not(:disabled) {
    transform: translateY(1px);
}

.fclz-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.fclz-action-btn__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--fcom-light-bg, #fff7ed);
    color: var(--fcom-primary, #f58220);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fclz-action-btn:disabled .fclz-action-btn__icon {
    background: var(--fcom-secondary-content-bg, #f3f4f6);
    color: var(--fcom-secondary-text, #9ca3af);
}

.fclz-action-btn__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.fclz-action-btn__label {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.fclz-action-btn__hint {
    font-size: 11px;
    color: var(--fcom-secondary-text, #6b7280);
    line-height: 1.3;
}

.fclz-actions-stats {
    margin: 0;
    padding: 10px 14px;
    background: var(--fcom-secondary-content-bg, #fafafa);
    border-radius: 8px;
    font-size: 12px;
    color: var(--fcom-secondary-text, #6b7280);
    line-height: 1.6;
}

.fclz-actions-stats__points {
    font-size: 14px;
    color: var(--fcom-primary, #f58220);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.fclz-actions-stats__streak {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.fclz-actions-stats__streak .fclz-icon { vertical-align: -2px; }

.fclz-actions-stats__streak small {
    color: var(--fcom-secondary-text, #9ca3af);
    font-size: 11px;
    margin-left: 2px;
}

.fclz-actions-stats__quota {
    display: inline-block;
}

@media (max-width: 720px) {
    .fclz-actions-stats {
        font-size: 11px;
        line-height: 1.7;
    }
}

/* ============================================================
 * Phase 25 - Pending points (doliczają o północy)
 * ============================================================ */
.fclz-actions-stats__pending {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--fcom-primary, #f58220);
}

.fclz-actions-stats__pending .fclz-icon {
    vertical-align: -2px;
    opacity: 0.85;
}

.fclz-actions-stats__pending strong {
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* ============================================================================
 * Faza 23 - zakładka /liga/powiadomienia (preferencje e-mail)
 * ============================================================================ */
.fclz-notifications-page {
    max-width: 720px;
    margin: 0 auto;
}

.fclz-notif-card {
    background: var(--fcom-primary-bg, #fff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 12px;
    padding: 24px 8px;
}

.fclz-notif-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fclz-notif-item {
    border-bottom: 1px solid var(--fcom-primary-border, #e5e7eb);
}

.fclz-notif-item:last-child {
    border-bottom: 0;
}

.fclz-notif-label {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 120ms ease;
}

.fclz-notif-label:hover {
    background: var(--fcom-secondary-content-bg, #fafafa);
}

.fclz-notif-checkbox {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--fcom-primary, #f58220);
    cursor: pointer;
    flex-shrink: 0;
}

.fclz-notif-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.fclz-notif-title {
    font-size: 14px;
    font-weight: 600;
    color: inherit;
    line-height: 1.4;
}

.fclz-notif-desc {
    font-size: 13px;
    color: var(--fcom-secondary-text, #6b7280);
    line-height: 1.5;
}

.fclz-notif-meta {
    font-size: 11px;
    color: var(--fcom-secondary-text, #9ca3af);
    margin-top: 2px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.fclz-notif-toolbar {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 16px;
    padding: 12px 16px 0;
    border-top: 1px solid var(--fcom-primary-border, #e5e7eb);
}

.fclz-notif-status {
    margin-left: auto;
    font-size: 12px;
    color: var(--fcom-secondary-text, #6b7280);
    min-width: 110px;
    text-align: right;
}

.fclz-notif-status[data-mode="saved"] {
    color: #10B981;
    font-weight: 600;
}

.fclz-notif-status[data-mode="error"] {
    color: #DC2626;
}

.fclz-notif-footer {
    margin: 12px 16px 0;
    font-size: 12px;
    color: var(--fcom-secondary-text, #6b7280);
    text-align: center;
}

@media (max-width: 480px) {
    .fclz-notif-toolbar {
        flex-wrap: wrap;
    }
    .fclz-notif-status {
        width: 100%;
        text-align: left;
        margin-left: 0;
    }
}

/* ============================================================
 * Faza 27b - Status banner "Czas na aktualizację / Feedback"
 * Inspirowany Liga Twórców Easy. Renderowany top of dashboard + /aktualizacje.
 * ============================================================ */
.fclz-phase-banner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #0f172a;
    color: #fff;
    padding: 20px 22px;
    border-radius: 14px;
    margin-bottom: 24px;
}

.fclz-phase-banner--write {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.fclz-phase-banner--vote {
    background: linear-gradient(135deg, #1f1814 0%, #2a1d11 100%);
}

.fclz-phase-banner--closed {
    background: #2a2f3a;
    opacity: 0.85;
}

.fclz-phase-banner__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(245, 130, 32, 0.18);
    color: var(--fcom-primary, #f58220);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fclz-phase-banner__body {
    min-width: 0;
    flex: 1;
}

.fclz-phase-banner__headline {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.fclz-phase-banner__meta {
    margin: 0 0 8px;
    font-size: 12px;
    color: var(--fcom-secondary-text, #94a3b8);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.fclz-phase-banner__desc {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--fcom-secondary-text, #cbd5e1);
    line-height: 1.5;
}

.fclz-phase-banner__deadline {
    margin: 2px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #e2e8f0;
}

/* v0.75.0 - nota wyjatku startowego w banerze */
.fclz-phase-banner__exception {
    margin: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.45;
    color: #ffd9b0;
    background: rgba(245, 130, 32, 0.14);
    border: 1px solid rgba(245, 130, 32, 0.35);
    border-radius: 10px;
    padding: 8px 12px;
}
.fclz-phase-banner__exception .fclz-icon { color: var(--fcom-primary, #f58220); flex-shrink: 0; margin-top: 1px; }

.fclz-phase-banner__deadline .fclz-icon {
    color: var(--fcom-primary, #f58220);
    opacity: 0.85;
    flex-shrink: 0;
}

.fclz-phase-banner__deadline strong {
    color: var(--fcom-secondary-text, #94a3b8);
    font-weight: 500;
    margin-right: 4px;
}

.fclz-phase-banner__deadline span {
    color: #fff;
    font-weight: 600;
}

@media (max-width: 640px) {
    .fclz-phase-banner { flex-direction: column; }
    .fclz-phase-banner__deadline { flex-wrap: wrap; }
}

/* CTA w banerze faz (v0.82.2) - przycisk na ciemnym tle */
.fclz-phase-banner__cta {
    margin-top: 14px !important;
    box-shadow: 0 4px 14px rgba(245, 130, 32, 0.35);
}

/* Żywy licznik do deadline'u write window (v0.77.0) - na kolorowym tle banera faz. */
.fclz-countdown {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-top: 12px;
    padding: 11px 15px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 10px;
}
.fclz-countdown__cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
}
.fclz-countdown__cta .fclz-icon { flex: 0 0 auto; }
.fclz-countdown__timer {
    margin-left: auto;
    padding: 4px 13px;
    border-radius: 100px;
    background: var(--fcom-primary-bg, #fff);
    color: #c2410c;
    font-weight: 800;
    font-size: 15px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.fclz-countdown.is-urgent .fclz-countdown__timer {
    background: #fff0f0;
    color: #dc2626;
    animation: fclz-cd-pulse 1.2s ease-in-out infinite;
}
@keyframes fclz-cd-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.55; } }
.fclz-countdown.is-ended .fclz-countdown__timer { background: rgba(255,255,255,0.5); color: var(--fcom-secondary-text, #555); }
@media (max-width: 640px) {
    .fclz-countdown__timer { margin-left: 0; }
}

/* ============================================================
 * Faza 29b - Modal BU rozszerzony: poprzednie plany + przychód + linki dowodowe
 * ============================================================ */
.fclz-bu-previous {
    margin: 0 0 14px;
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 8px;
    background: var(--fcom-secondary-content-bg, #fafafa);
}

.fclz-bu-previous__summary {
    cursor: pointer;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--fcom-secondary-text, #6b7280);
    display: flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

.fclz-bu-previous__summary:hover {
    color: var(--fcom-primary-text, #111827);
}

.fclz-bu-previous__summary::-webkit-details-marker { display: none; }
.fclz-bu-previous__summary::marker { display: none; }

.fclz-bu-previous[open] .fclz-bu-previous__summary {
    border-bottom: 1px solid var(--fcom-primary-border, #e5e7eb);
}

.fclz-bu-previous__body {
    padding: 12px 14px;
    font-size: 13px;
    color: var(--fcom-primary-text, #111827);
    line-height: 1.55;
    white-space: pre-wrap;
}

.fclz-bu-proof-links {
    margin: 14px 0;
}

.fclz-bu-proof-links__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 8px 0;
}

.fclz-bu-proof-links__input {
    width: 100%;
}

.fclz-bu-proof-links__add {
    margin-top: 4px;
    font-size: 12px;
    padding: 6px 12px;
}

/* ============================================================
 * Faza 29c - profil ligowy + onboarding
 * (formularz edycji, profile-card w modal/user-updates, onboarding banner)
 * ============================================================ */

/* ----- Strona edycji (sub-route /spolecznosc/liga/profil/edytuj) ----- */
.fclz-profile-edit-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 0;
}

.fclz-profile-edit {
    background: var(--fcom-primary-bg, #fff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 16px;
}

.fclz-profile-edit__msg {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.fclz-profile-edit__msg--saving {
    background: var(--fcom-secondary-content-bg, #f1f5f9);
    color: var(--fcom-secondary-text, #475569);
}

.fclz-profile-edit__msg--success {
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}

.fclz-profile-edit__msg--error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.fclz-profile-edit__identity {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--fcom-primary-border, #f1f5f9);
}

.fclz-profile-edit__avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}

.fclz-profile-edit__identity-body {
    min-width: 0;
    flex: 1;
}

.fclz-profile-edit__identity-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--fcom-primary-text, #0f172a);
    margin: 0 0 2px;
}

.fclz-profile-edit__identity-meta {
    font-size: 13px;
    color: var(--fcom-secondary-text, #64748b);
}

.fclz-profile-edit__identity-hint {
    font-size: 12px;
    color: var(--fcom-secondary-text, #94a3b8);
    margin: 6px 0 0;
    line-height: 1.4;
}

.fclz-profile-edit__row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fclz-profile-edit__row-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.fclz-profile-edit__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--fcom-primary-text, #1d2327);
}

.fclz-profile-edit__label-required {
    color: #f58220;
    margin-left: 2px;
}

.fclz-profile-edit__label-optional {
    margin-left: 4px;
    font-size: 12px;
    color: var(--fcom-secondary-text, #94a3b8);
    font-weight: 400;
}

.fclz-profile-edit__input,
.fclz-profile-edit__textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--fcom-primary-border, #d1d5db);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: var(--fcom-primary-text, #0f172a);
    background: var(--fcom-primary-bg, #fff);
    line-height: 1.4;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

.fclz-profile-edit__textarea {
    resize: vertical;
    min-height: 80px;
}

.fclz-profile-edit__input:focus,
.fclz-profile-edit__textarea:focus {
    outline: none;
    border-color: var(--fcom-primary, #f58220);
    box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.15);
}

.fclz-profile-edit__hint {
    font-size: 12px;
    color: var(--fcom-secondary-text, #6b7280);
    line-height: 1.4;
}

.fclz-profile-edit__char-counter {
    font-size: 12px;
    color: var(--fcom-secondary-text, #94a3b8);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.fclz-profile-edit__char-counter--warn {
    color: #f58220;
    font-weight: 600;
}

.fclz-profile-edit__group {
    border: 0;
    padding: 0;
    margin: 0;
}

.fclz-profile-edit__group-legend {
    font-size: 13px;
    font-weight: 600;
    color: var(--fcom-primary-text, #1d2327);
    margin-bottom: 10px;
    padding: 0;
}

.fclz-profile-edit__social-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.fclz-profile-edit__social-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: center;
    gap: 12px;
}

.fclz-profile-edit__social-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--fcom-secondary-text, #475569);
}

.fclz-profile-edit__social-icon {
    display: inline-flex;
    color: var(--fcom-secondary-text, #64748b);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.fclz-profile-edit__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid var(--fcom-primary-border, #f1f5f9);
}

.fclz-profile-edit__actions .fclz-btn {
    margin-top: 0;
}

.fclz-btn--secondary {
    background: var(--fcom-secondary-content-bg, #f1f5f9);
    color: var(--fcom-primary-text, #1d2327);
}

.fclz-btn--secondary:hover {
    background: var(--fcom-secondary-content-bg, #e2e8f0);
    color: var(--fcom-primary-text, #0f172a);
}

@media (max-width: 640px) {
    .fclz-profile-edit { padding: 16px; }
    .fclz-profile-edit__identity { flex-direction: column; align-items: flex-start; }
    .fclz-profile-edit__avatar { width: 72px; height: 72px; }
    .fclz-profile-edit__social-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ----- Profile card (modal-user-updates body + user-updates.php) ----- */
.fclz-profile-card {
    background: var(--fcom-primary-bg, #f8fafc);
    border: 1px solid var(--fcom-primary-border, #e2e8f0);
    border-radius: 12px;
    padding: 14px 16px;
    margin: 0 0 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.fclz-profile-card__avatar {
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}

.fclz-profile-card__body {
    min-width: 0;
    flex: 1;
}

.fclz-profile-card__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--fcom-primary-text, #0f172a);
    margin: 0 0 4px;
}

.fclz-profile-card__bio {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--fcom-secondary-text, #334155);
    white-space: pre-wrap;
    word-wrap: break-word;
}

.fclz-profile-card__social {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin: 4px 0 0;
}

.fclz-profile-card__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--fcom-primary-bg, #fff);
    color: var(--fcom-secondary-text, #475569);
    border: 1px solid var(--fcom-primary-border, #e2e8f0);
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
    text-decoration: none;
}

.fclz-profile-card__social-link:hover,
.fclz-profile-card__social-link:focus-visible {
    color: var(--fcom-primary, #f58220);
    border-color: var(--fcom-primary, #f58220);
    background: #fff7ed;
}

.fclz-profile-card__contact {
    margin: 10px 0 0;
    font-size: 12px;
    color: var(--fcom-secondary-text, #475569);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: baseline;
}

.fclz-profile-card__contact-label {
    color: var(--fcom-secondary-text, #94a3b8);
    font-weight: 500;
}

.fclz-profile-card__contact a {
    color: var(--fcom-primary, #f58220);
    text-decoration: none;
    word-break: break-all;
}

.fclz-profile-card__contact a:hover {
    text-decoration: underline;
}

.fclz-profile-card__contact-locked {
    margin: 10px 0 0;
    font-size: 12px;
    color: var(--fcom-secondary-text, #94a3b8);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.fclz-profile-card--empty {
    background: var(--fcom-primary-bg, #fafafa);
    border-color: var(--fcom-primary-border, #e5e7eb);
}

.fclz-profile-card__empty-text {
    margin: 0;
    font-size: 12px;
    color: var(--fcom-secondary-text, #94a3b8);
    line-height: 1.5;
}

.fclz-profile-card__empty-cta {
    color: var(--fcom-primary, #f58220);
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
}

.fclz-profile-card__empty-cta:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .fclz-profile-card { flex-direction: column; gap: 8px; }
}

/* ----- Onboarding banner (dashboard "Co teraz?" section) ----- */
.fclz-profile-onboarding-banner {
    margin-top: 14px;
    padding: 10px 14px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #7c2d12;
    line-height: 1.4;
}

.fclz-profile-onboarding-banner__icon {
    display: inline-flex;
    color: var(--fcom-primary, #f58220);
    flex-shrink: 0;
}

.fclz-profile-onboarding-banner__text {
    flex: 1;
    min-width: 0;
}

.fclz-profile-onboarding-banner__text strong {
    color: #7c2d12;
    font-weight: 700;
}

.fclz-profile-onboarding-banner__cta {
    color: var(--fcom-primary, #f58220);
    font-weight: 600;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}

.fclz-profile-onboarding-banner__cta:hover {
    text-decoration: underline;
}

.fclz-profile-onboarding-banner__dismiss {
    background: transparent;
    border: 0;
    color: #c2410c;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.15s ease;
}

.fclz-profile-onboarding-banner__dismiss:hover {
    opacity: 1;
}

@media (max-width: 480px) {
    .fclz-profile-onboarding-banner { flex-wrap: wrap; }
    .fclz-profile-onboarding-banner__text { width: 100%; }
}

/* ============================================================
 * Faza 29d - Changelog dla userów + tooltip "Nowa wersja"
 * ============================================================ */
.fclz-new-version-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--fcom-light-bg, #fff7ed);
    border: 1px solid var(--fcom-primary, #f58220);
    color: var(--fcom-primary-text, #111827);
    padding: 8px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 16px;
    transition: background 0.15s ease;
}

.fclz-new-version-banner:hover {
    background: #ffe9cc;
    color: var(--fcom-primary-text, #111827);
}

.fclz-new-version-banner__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fcom-primary, #f58220);
    animation: fclz-pulse-dot 2s ease-in-out infinite;
}

@keyframes fclz-pulse-dot {
    0%, 100% { opacity: 0.9; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.fclz-new-version-banner__sep {
    color: var(--fcom-secondary-text, #6b7280);
}

.fclz-new-version-banner strong {
    font-weight: 700;
    color: var(--fcom-primary, #f58220);
}

.fclz-new-version-banner .fclz-icon {
    opacity: 0.6;
}

/* Changelog page */
.fclz-changelog-page .fclz-page-header {
    margin-bottom: 24px;
}

.fclz-changelog-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fclz-changelog-item {
    background: var(--fcom-primary-bg, #fff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 12px;
    padding: 20px 24px;
    transition: border-color 0.15s ease;
}

.fclz-changelog-item:hover {
    border-color: var(--fcom-primary-border, #cbd5e1);
}

.fclz-changelog-item--latest {
    border-color: var(--fcom-primary, #f58220);
    background: #fffaf3;
}

.fclz-changelog-item__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.fclz-changelog-item__version {
    font-family: 'JetBrains Mono', monospace;
    font-size: 18px;
    font-weight: 700;
    color: var(--fcom-primary, #f58220);
    letter-spacing: -0.01em;
}

.fclz-changelog-item__date {
    font-size: 12px;
    color: var(--fcom-secondary-text, #6b7280);
    font-family: 'JetBrains Mono', monospace;
}

.fclz-changelog-item__badge {
    margin-left: auto;
    background: var(--fcom-primary, #f58220);
    color: #fff;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.fclz-changelog-item__body {
    font-size: 14px;
    line-height: 1.6;
    color: var(--fcom-primary-text, #111827);
}

.fclz-changelog-item__body h4 {
    margin: 16px 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--fcom-primary-text, #111827);
}

.fclz-changelog-item__body h4:first-child { margin-top: 0; }

.fclz-changelog-item__body p {
    margin: 0 0 10px;
}

.fclz-changelog-item__body ul {
    margin: 8px 0;
    padding-left: 20px;
}

.fclz-changelog-item__body li {
    margin: 4px 0;
}

.fclz-changelog-item__body code {
    background: var(--fcom-secondary-content-bg, #f3f4f6);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--fcom-primary-text, #1f2937);
}

.fclz-changelog-item__body strong {
    font-weight: 700;
    color: var(--fcom-primary-text, #111827);
}

/* ============================================================
 * Faza 30b - Sticky tab prawej krawędzi (środek pionowo)
 * Zamiana FAB → tab z rotated text. Nie koliduje z Messengerem.
 * ============================================================ */
.fclz-feedback-tab {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--fcom-primary, #f58220);
    color: #fff;
    border: none;
    padding: 14px 8px;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    cursor: pointer;
    font-family: inherit;
    box-shadow: -2px 4px 12px rgba(15, 23, 42, 0.18), -1px 2px 4px rgba(15, 23, 42, 0.10);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.15s ease;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.fclz-feedback-tab[hidden] {
    display: none !important;
}

.fclz-feedback-tab:hover {
    background: #d96e0e;
    transform: translateY(-50%) translateX(-4px);
    box-shadow: -4px 6px 16px rgba(15, 23, 42, 0.22), -1px 2px 4px rgba(15, 23, 42, 0.12);
}

.fclz-feedback-tab:active {
    transform: translateY(-50%) translateX(0);
}

.fclz-feedback-tab__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    writing-mode: horizontal-tb;
    margin-bottom: 4px;
}

.fclz-feedback-tab__icon .fclz-icon {
    color: #fff;
}

.fclz-feedback-tab__label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
    user-select: none;
}

/* Mobile: węższy tab, mniejszy label */
@media (max-width: 640px) {
    .fclz-feedback-tab {
        padding: 12px 6px;
    }
    .fclz-feedback-tab__label {
        font-size: 11px;
    }
}

/* Modal feedback dialog max-width większy żeby textarea miała przestrzeń */
.fclz-modal__dialog--feedback {
    max-width: 560px;
}

.fclz-feedback-types {
    border: 0;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fclz-feedback-type {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease;
}

.fclz-feedback-type:hover {
    border-color: var(--fcom-primary, #f58220);
    background: var(--fcom-light-bg, #fff7ed);
}

.fclz-feedback-type input[type="radio"] {
    accent-color: var(--fcom-primary, #f58220);
    margin: 0;
}

.fclz-feedback-type__label {
    font-size: 14px;
    font-weight: 500;
    color: var(--fcom-primary-text, #111827);
}

/* Gdy modal otwarty - tab ukryty (żeby nie nakładał się na backdrop) */
body.fclz-modal-open .fclz-feedback-tab {
    opacity: 0;
    pointer-events: none;
}

/* ============================================================
 * Faza 31 - Zasady ligi redesign (explainer 30s)
 * Hero + 3 kroki + week timeline + 3 typy + podium
 * ============================================================ */

/* HERO --------------------------------------------------- */
.fclz-zasady-hero {
    text-align: center;
    padding: 40px 20px 32px;
    margin-bottom: 32px;
}

.fclz-zasady-hero__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--fcom-primary, #f58220);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.fclz-zasady-hero__title {
    margin: 0 0 12px;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--fcom-primary-text, #111827);
}

.fclz-zasady-hero__lead {
    max-width: 640px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.55;
    color: var(--fcom-secondary-text, #6b7280);
}

@media (max-width: 640px) {
    .fclz-zasady-hero__title { font-size: 24px; }
    .fclz-zasady-hero__lead  { font-size: 14px; }
}

/* HOW IT WORKS - 3 kroki ----------------------------------- */
.fclz-zasady-how {
    margin: 0 0 40px;
}

.fclz-zasady-how__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 720px) {
    .fclz-zasady-how__list { grid-template-columns: 1fr; }
}

.fclz-zasady-how__step {
    background: var(--fcom-primary-bg, #fff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 14px;
    padding: 24px 20px;
    position: relative;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.fclz-zasady-how__step:hover {
    border-color: var(--fcom-primary, #f58220);
    transform: translateY(-2px);
}

.fclz-zasady-how__num {
    position: absolute;
    top: -12px;
    left: 20px;
    width: 28px;
    height: 28px;
    background: var(--fcom-primary, #f58220);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(245, 130, 32, 0.25);
}

.fclz-zasady-how__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--fcom-light-bg, #fff7ed);
    color: var(--fcom-primary, #f58220);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 4px 0 12px;
}

.fclz-zasady-how__title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--fcom-primary-text, #111827);
    letter-spacing: -0.01em;
}

.fclz-zasady-how__desc {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--fcom-primary, #f58220);
    font-weight: 600;
}

.fclz-zasady-how__detail {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--fcom-secondary-text, #6b7280);
}

/* WEEK TIMELINE - visual schemat ---------------------------- */
.fclz-zasady-week {
    margin: 0 0 40px;
}

.fclz-zasady-week__header {
    margin-bottom: 16px;
}

.fclz-zasady-week__title {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    color: var(--fcom-primary-text, #111827);
    letter-spacing: -0.01em;
}

.fclz-zasady-week__sub {
    margin: 0;
    font-size: 13px;
    color: var(--fcom-secondary-text, #6b7280);
}

.fclz-zasady-week__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

@media (max-width: 640px) {
    .fclz-zasady-week__grid { grid-template-columns: repeat(7, 1fr); gap: 4px; }
}

.fclz-zasady-week__day {
    padding: 14px 8px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    background: var(--fcom-primary-bg, #fff);
    transition: transform 0.15s ease;
}

.fclz-zasady-week__day--write {
    background: linear-gradient(180deg, #fff7ed 0%, #ffe9cc 100%);
    border-color: var(--fcom-primary, #f58220);
}

.fclz-zasady-week__day--vote {
    background: #f0f4ff;
    border-color: #4338ca;
}

.fclz-zasady-week__day--off {
    opacity: 0.55;
}

.fclz-zasady-week__day-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--fcom-primary-text, #111827);
    margin-bottom: 6px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fclz-zasady-week__day-mode {
    font-size: 11px;
    line-height: 1.3;
    color: var(--fcom-secondary-text, #6b7280);
    font-weight: 500;
}

.fclz-zasady-week__day--write .fclz-zasady-week__day-mode { color: var(--fcom-primary, #f58220); font-weight: 700; }
.fclz-zasady-week__day--vote .fclz-zasady-week__day-mode  { color: #4338ca; font-weight: 700; }

@media (max-width: 640px) {
    .fclz-zasady-week__day { padding: 10px 4px; }
    .fclz-zasady-week__day-mode { font-size: 9px; }
}

.fclz-zasady-week__note {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 18px 0 0;
    padding: 14px 18px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--fcom-primary-text, #111827);
}

.fclz-zasady-week__note .fclz-icon {
    flex: 0 0 auto;
    color: var(--fcom-primary, #f58220);
}

/* 3 TYPY AKTYWNOŚCI --------------------------------------- */
.fclz-zasady-types {
    margin: 0 0 40px;
}

.fclz-zasady-types__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 16px 0 14px;
}

@media (max-width: 720px) {
    .fclz-zasady-types__grid { grid-template-columns: 1fr; }
}

.fclz-zasady-type {
    background: var(--fcom-primary-bg, #fff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 12px;
    padding: 20px;
    transition: border-color 0.15s ease;
}

.fclz-zasady-type:hover {
    border-color: var(--fcom-primary, #f58220);
}

.fclz-zasady-type__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--fcom-light-bg, #fff7ed);
    color: var(--fcom-primary, #f58220);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.fclz-zasady-type__name {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: var(--fcom-primary-text, #111827);
    letter-spacing: -0.01em;
}

.fclz-zasady-type__weight {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--fcom-primary, #f58220);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.fclz-zasady-type__desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--fcom-secondary-text, #6b7280);
}

.fclz-zasady-types__hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--fcom-secondary-text, #6b7280);
    margin: 8px 0 0;
    padding: 8px 0;
    font-style: italic;
}

.fclz-zasady-types__hint .fclz-icon {
    opacity: 0.7;
}

/* KONIEC SEZONU - podium visual --------------------------- */
.fclz-zasady-season {
    margin: 0 0 40px;
}

.fclz-zasady-season__podium {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    margin: 24px 0 16px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.fclz-zasady-season__step {
    flex: 1;
    background: var(--fcom-primary-bg, #fff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 12px 12px 0 0;
    padding: 16px 12px;
    text-align: center;
    border-bottom: 0;
}

.fclz-zasady-season__step--gold {
    background: linear-gradient(180deg, #fff7ed 0%, #ffe9cc 100%);
    border-color: #f58220;
    padding: 28px 12px 16px;
}

.fclz-zasady-season__step--silver {
    background: linear-gradient(180deg, var(--fcom-secondary-content-bg, #f4f5f7) 0%, var(--fcom-secondary-content-bg, #e5e7eb) 100%);
    border-color: #94a3b8;
    padding: 20px 12px 16px;
}

.fclz-zasady-season__step--bronze {
    background: linear-gradient(180deg, #fbeee0 0%, #f0d9b8 100%);
    border-color: #b45309;
    padding: 16px 12px;
}

.fclz-zasady-season__medal {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--fcom-primary-bg, #fff);
    color: var(--fcom-primary-text, #111827);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    margin: 0 auto 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.fclz-zasady-season__step--gold .fclz-zasady-season__medal { color: #f58220; }
.fclz-zasady-season__step--silver .fclz-zasady-season__medal { color: var(--fcom-secondary-text, #475569); }
.fclz-zasady-season__step--bronze .fclz-zasady-season__medal { color: #b45309; }

.fclz-zasady-season__label {
    font-size: 13px;
    font-weight: 700;
    color: var(--fcom-primary-text, #111827);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* v0.83.3 - nagroda pod miejscem na podium (Zasady) */
.fclz-zasady-season__prize {
    margin-top: 7px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    color: #c2410c;
    text-align: center;
}
.fclz-zasady-season__step--gold .fclz-zasady-season__prize { color: #b45309; }

.fclz-zasady-season__note {
    text-align: center;
    margin: 16px auto 0;
    max-width: 560px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--fcom-secondary-text, #6b7280);
}

/* FOOTER CTA --------------------------------------------- */
.fclz-zasady-footer {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 32px 0 16px;
}

/* ============================================================
 * Faza 32 - Profil + Edytuj jako 1 entry (button na karcie)
 * ============================================================ */
.fclz-profile__header {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.fclz-profile__header-info {
    flex: 1;
    min-width: 200px;
}

.fclz-profile__edit-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

@media (max-width: 640px) {
    .fclz-profile__edit-cta {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
}

.fclz-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--fcom-secondary-text, #6b7280);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.12s ease, color 0.12s ease;
}

.fclz-back-link:hover {
    background: var(--fcom-secondary-content-bg, #fafafa);
    color: var(--fcom-primary-text, #111827);
}

/* ============================================================
 * Faza 33a - Hero CTA "Dołącz do Sezonu" dla non-member
 * Mocny baner na top zamiast małej karty głęboko w dół.
 * ============================================================ */
.fclz-hero-join {
    background: linear-gradient(135deg, #fff7ed 0%, #ffe9cc 100%);
    border: 1px solid var(--fcom-primary, #f58220);
    border-radius: 16px;
    padding: 36px 32px;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(245, 130, 32, 0.08);
}

.fclz-hero-join__inner {
    max-width: 560px;
    margin: 0 auto;
}

.fclz-hero-join__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--fcom-primary, #f58220);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.fclz-hero-join__title {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--fcom-primary-text, #111827);
    letter-spacing: -0.02em;
}

.fclz-hero-join__lead {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--fcom-secondary-text, #6b7280);
}

.fclz-hero-join__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    background: var(--fcom-primary, #f58220);
    color: #fff !important;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(245, 130, 32, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.fclz-hero-join__btn:hover {
    background: #d96e0e;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 130, 32, 0.35);
}

.fclz-hero-join__btn:active {
    transform: translateY(0);
}

.fclz-hero-join__meta {
    margin: 12px 0 0;
    font-size: 12px;
    color: var(--fcom-secondary-text, #6b7280);
}

.fclz-hero-join__blocked {
    padding: 14px;
    background: var(--fcom-primary-bg, #fff);
    border-radius: 8px;
    color: var(--fcom-secondary-text, #6b7280);
    font-size: 14px;
}

@media (max-width: 640px) {
    .fclz-hero-join { padding: 28px 20px; }
    .fclz-hero-join__title { font-size: 22px; }
    .fclz-hero-join__btn { width: 100%; padding: 14px; }
}

/* ============================================================
 * Faza 33b - Promo banner Ligi w right sidebar FC
 * Wstrzykiwany jako pierwszy widget w .fcom_sidebar_wrap
 * Edytowalny w Liga → Ustawienia → "Banner promo Ligi"
 * ============================================================ */
.fclz-promo-banner {
    position: relative;
    background: linear-gradient(135deg, #fff7ed 0%, #ffe9cc 100%);
    border: 1px solid var(--fcom-primary, #f58220);
    border-radius: 12px;
    padding: 20px 18px;
    margin-bottom: 16px;
    box-shadow: 0 2px 6px rgba(245, 130, 32, 0.10);
}

.fclz-promo-banner__dismiss {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--fcom-secondary-text, #6b7280);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.12s ease, color 0.12s ease;
}

.fclz-promo-banner__dismiss:hover {
    background: rgba(0,0,0,0.05);
    color: var(--fcom-primary-text, #111827);
}

.fclz-promo-banner__content {
    color: var(--fcom-primary-text, #111827);
    font-size: 13px;
    line-height: 1.5;
}

.fclz-promo-banner__content h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--fcom-primary, #f58220);
    letter-spacing: -0.01em;
    padding-right: 24px;
}

.fclz-promo-banner__content p {
    margin: 0 0 12px;
}

.fclz-promo-banner__content p:last-child {
    margin-bottom: 0;
}

.fclz-promo-banner__content ul {
    margin: 8px 0;
    padding-left: 18px;
}

.fclz-promo-banner__content a {
    color: var(--fcom-primary, #f58220);
    text-decoration: underline;
}

.fclz-promo-banner__content .fclz-promo-banner__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--fcom-primary, #f58220);
    color: #fff !important;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    margin-top: 8px;
    transition: background 0.15s ease, transform 0.15s ease;
}

.fclz-promo-banner__content .fclz-promo-banner__cta:hover {
    background: #d96e0e;
    transform: translateY(-1px);
}

/* ============================================================
   Faza 35 v0.35.0 - Modal "Dołącz do Sezonu" (profile-gated join)
   ============================================================ */

.fclz-modal__head {
    padding: 24px 28px 12px;
    border-bottom: 1px solid var(--fcom-primary-border, #f3f4f6);
}
.fclz-modal__lead {
    margin: 8px 0 0;
    color: var(--fcom-secondary-text, #6b7280);
    font-size: 14px;
    line-height: 1.5;
}
.fclz-modal__form {
    padding: 20px 28px 24px;
}
.fclz-modal__actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
    flex-wrap: wrap;
}
.fclz-modal__footnote {
    margin: 16px 0 0;
    font-size: 12px;
    color: var(--fcom-secondary-text, #9ca3af);
    text-align: center;
}
.fclz-modal__message--info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 12px;
}
.fclz-field__required {
    color: #dc2626;
    margin-left: 2px;
}

#fclz-modal-join-season .fclz-modal__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--fcom-primary-text, #111827);
}
#fclz-modal-join-season .fclz-modal__dialog {
    max-width: 520px;
}
#fclz-join-bio {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    min-height: 96px;
    transition: border-color 0.15s ease;
}
#fclz-join-bio:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

/* Uwaga: spojna szerokosc podstron Ligi w portalu jest ustawiana inline w
 * portal-styles.php (.fclz-portal-wrapper .fclz-dashboard/.fclz-zasady/...),
 * bo musi wygrac z resetami portalu. Tu nic nie duplikujemy. */

/* ============================================================================
 * POZIOME MENU LIGI (v0.49.4) - czyste taby z podkresleniem (styl jak top-nav FC).
 * Bez pudelek-pigulek. Jeden rzad, na waskich ekranach scroll poziomy (nie zawija).
 * ========================================================================== */
.fclz-liga-nav {
    margin: 0 0 24px;
    padding: 0;
    background: transparent;
    border-bottom: 1px solid var(--fcom-primary-border, #e5e7eb);
}

.fclz-liga-nav__scroll {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.fclz-liga-nav__scroll::-webkit-scrollbar { display: none; }

/* !important - FC styluje linki .route_url w tresci (niebieski + underline);
   bez tego menu spadalo do golych podkreslonych linkow ("popelina"). */
.fclz-liga-nav__item,
.fclz-liga-nav a.fclz-liga-nav__item,
.fclz-portal-content .fclz-liga-nav__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 11px 15px;
    margin-bottom: -1px;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--fcom-secondary-text, #6b7280) !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: none !important;
    white-space: nowrap;
    transition: color 0.15s ease, border-color 0.15s ease;
}

/* Ikona zawsze dziedziczy kolor tekstu pozycji (fix: na hoverze znikala) */
.fclz-liga-nav__item .fclz-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: inherit;
    opacity: 0.9;
}

.fclz-liga-nav__item:hover,
.fclz-portal-content .fclz-liga-nav__item:hover {
    color: var(--fcom-primary, #f58220) !important;
    text-decoration: none !important;
}

.fclz-liga-nav__item:hover .fclz-icon {
    color: var(--fcom-primary, #f58220);
}

.fclz-liga-nav__item.is-active,
.fclz-liga-nav__item.is-active:hover,
.fclz-portal-content .fclz-liga-nav__item.is-active {
    color: var(--fcom-primary, #f58220) !important;
    border-bottom-color: var(--fcom-primary, #f58220);
}

.fclz-liga-nav__item.is-active .fclz-icon {
    color: var(--fcom-primary, #f58220);
    opacity: 1;
}

/* ============================================================================
 * SERIA OGNIA (v0.50.0) - Duolingo-style chip przy nazwisku.
 * ========================================================================== */
.fclz-streak {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 8px;
    padding: 5px 12px 5px 9px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1;
}
/* v0.70.0 - dynamiczna mikrokopia pod chipem serii */
.fclz-streak-hint {
    margin: 7px 0 0;
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--fcom-secondary-text, #6b7280);
    font-weight: 500;
}

.fclz-streak--lit {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
}

.fclz-streak--cold {
    background: var(--fcom-active-bg, #f3f4f6);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    color: var(--fcom-secondary-text, #6b7280);
}

.fclz-streak__flame {
    display: inline-flex;
    flex: 0 0 auto;
}

.fclz-streak--lit .fclz-streak__flame .fclz-icon {
    color: #f58220;
    fill: #fdba74;
}

.fclz-streak--cold .fclz-streak__flame .fclz-icon {
    color: var(--fcom-secondary-text, #9ca3af);
}

.fclz-streak__days strong {
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -0.02em;
}

.fclz-streak__freezes {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 4px;
    padding-left: 9px;
    border-left: 1px solid #fed7aa;
}

.fclz-streak__freeze {
    display: inline-flex;
    color: #38bdf8;
}

.fclz-streak__freeze.is-used {
    color: var(--fcom-secondary-text, #cbd5e1);
}

/* ============================================================================
 * PASEK NABORU (v0.50.1) - przed startem sezonu: kropka w strefie naboru +
 * zaznaczony punkt START na osi.
 * ========================================================================== */
.fclz-progress--prestart {
    margin-top: 30px; /* miejsce na etykiete "Start" nad markerem */
}

.fclz-progress__startmark {
    position: absolute;
    top: 50%;
    left: var(--startmark, 24%);
    transform: translate(-50%, -50%);
    width: 3px;
    height: 16px;
    border-radius: 2px;
    background: var(--fcom-primary, #f58220);
    z-index: 4;
}

.fclz-progress__startmark::after {
    content: attr(data-label);
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--fcom-primary, #f58220);
    white-space: nowrap;
}

/* ============================================================================
 * LANDING LIGI (v0.53.0 redesign) - shortcode [fclz_liga_landing] na /ligaziomkow.
 * Renderowany w motywie WP (poza portalem FC), wlasna paleta (bez --fcom-* vars).
 * ========================================================================== */
.fclz-landing {
    --l-ink:var(--fcom-primary-text, #16202b); --l-soft:var(--fcom-secondary-text, #5b6775); --l-primary:#f58220; --l-primary-d:#d96e12;
    --l-tint:#fff7ed; --l-tint2:#ffedd9; --l-border:var(--fcom-primary-border, #e8eaed); --l-card:var(--fcom-primary-bg, #fff);
    max-width: 1080px;
    margin: 0 auto;
    color: var(--l-ink);
    line-height: 1.55;
}
.fclz-landing h1, .fclz-landing h2, .fclz-landing h3, .fclz-landing h4 { color: var(--l-ink); }

/* HERO */
.fclz-landing__hero { text-align: center; padding: 56px 0 44px; }
.fclz-landing__eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--l-primary); font-weight: 800; font-size: 13px;
    letter-spacing: 0.12em; text-transform: uppercase;
}
.fclz-landing__eyebrow .fclz-icon { width: 16px; height: 16px; color: var(--l-primary); }
.fclz-landing__title {
    font-size: 50px; line-height: 1.06; letter-spacing: -0.025em;
    font-weight: 850; margin: 18px auto 16px; max-width: 16ch;
}
.fclz-landing__lead {
    font-size: 18px; color: var(--l-soft); max-width: 60ch; margin: 0 auto 24px;
}
.fclz-landing__season {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--fcom-primary-bg, #fff); border: 1px solid var(--l-border); border-radius: 999px;
    padding: 9px 16px; font-size: 14px; font-weight: 600;
    box-shadow: 0 1px 2px rgba(16,32,43,.04);
}
.fclz-landing__season b { color: var(--l-primary); }
.fclz-landing__season-dot {
    width: 9px; height: 9px; border-radius: 50%; background: #16a34a;
    box-shadow: 0 0 0 4px rgba(22,163,74,.15);
}
.fclz-landing__cta-row { margin-top: 28px; display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }
.fclz-landing__btn-primary {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--l-primary); color: #fff; border: none; cursor: pointer;
    font-weight: 750; font-size: 16px; border-radius: 12px; padding: 14px 26px;
    text-decoration: none; box-shadow: 0 6px 18px rgba(245,130,32,.28);
    transition: background .18s ease, transform .18s ease;
}
.fclz-landing__btn-primary:hover { background: var(--l-primary-d); transform: translateY(-1px); color: #fff; }
.fclz-landing__btn-ghost {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--fcom-primary-bg, #fff); color: var(--l-ink); border: 1px solid var(--l-border);
    font-weight: 700; font-size: 16px; border-radius: 12px; padding: 14px 26px;
    text-decoration: none; transition: border-color .18s ease, color .18s ease;
}
.fclz-landing__btn-ghost:hover { border-color: var(--l-primary); color: var(--l-primary); }

/* SEKCJE */
.fclz-landing__block { padding: 44px 0; }
.fclz-landing__sec-head { text-align: center; max-width: 62ch; margin: 0 auto 34px; }
.fclz-landing__kicker { color: var(--l-primary); font-weight: 800; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.fclz-landing__sec-head h2 { font-size: 33px; line-height: 1.12; letter-spacing: -0.02em; font-weight: 820; margin: 10px 0; }
.fclz-landing__sec-head p { color: var(--l-soft); font-size: 16px; }

/* KROKI */
.fclz-landing__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fclz-landing__step { position: relative; background: var(--l-card); border: 1px solid var(--l-border); border-radius: 18px; padding: 30px 26px 28px; }
.fclz-landing__step-num { position: absolute; top: 22px; right: 24px; font-size: 40px; font-weight: 850; color: #eef0f3; line-height: 1; letter-spacing: -0.03em; }
.fclz-landing__step-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--l-tint); color: var(--l-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.fclz-landing__step-icon .fclz-icon { width: 26px; height: 26px; color: var(--l-primary); }
.fclz-landing__step h3 { font-size: 19px; font-weight: 780; margin-bottom: 8px; }
.fclz-landing__step-accent { color: var(--l-primary); font-weight: 700; font-size: 14px; display: block; margin-bottom: 8px; }
.fclz-landing__step p { color: var(--l-soft); font-size: 14.5px; margin: 0; }

/* CO NAPEDZA - band */
.fclz-landing__band { background: linear-gradient(180deg, var(--fcom-primary-bg, #fff) 0%, var(--l-tint) 100%); border: 1px solid var(--l-tint2); border-radius: 24px; padding: 44px 36px; }
.fclz-landing__feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fclz-landing__feat { text-align: center; padding: 14px 10px; }
.fclz-landing__feat-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--fcom-primary-bg, #fff); border: 1px solid var(--l-tint2); color: var(--l-primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.fclz-landing__feat-icon .fclz-icon { width: 24px; height: 24px; color: var(--l-primary); }
.fclz-landing__feat h4 { font-size: 16px; font-weight: 760; margin-bottom: 5px; }
.fclz-landing__feat p { font-size: 13.5px; color: var(--l-soft); margin: 0; }

/* TYDZIEN */
.fclz-landing__week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.fclz-landing__day { background: var(--l-card); border: 1px solid var(--l-border); border-radius: 14px; padding: 16px 10px; text-align: center; }
.fclz-landing__day b { display: block; font-size: 13px; letter-spacing: 0.04em; margin-bottom: 8px; }
.fclz-landing__day span { font-size: 12.5px; color: var(--l-soft); line-height: 1.35; display: block; }
.fclz-landing__day--hot { background: var(--l-tint); border-color: var(--l-tint2); }
.fclz-landing__day--hot span { color: var(--l-primary-d); font-weight: 600; }
.fclz-landing__day--feed { background: #f1f6ff; border-color: #dbe7fb; }
.fclz-landing__day--feed span { color: #2563eb; font-weight: 600; }
.fclz-landing__week-note { margin: 16px 0 0; text-align: center; font-size: 13.5px; color: var(--l-soft); }

/* DOLACZ - formularz na dole */
.fclz-landing__join { background: var(--l-card); border: 1px solid var(--l-border); border-radius: 24px; padding: 48px 40px; text-align: center; box-shadow: 0 10px 40px rgba(16,32,43,.06); }
.fclz-landing__join h2 { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 31px; font-weight: 830; letter-spacing: -0.02em; margin-bottom: 10px; }
.fclz-landing__join h2 .fclz-icon { color: var(--l-primary); }
.fclz-landing__join-lead { color: var(--l-soft); font-size: 16px; max-width: 52ch; margin: 0 auto 26px; }
.fclz-landing__form { max-width: 460px; margin: 0 auto; text-align: left; }
.fclz-landing__notice { max-width: 560px; margin: 0 auto; padding: 14px 16px; border: 1px dashed var(--l-primary); border-radius: 12px; background: var(--l-tint); color: #9a3412; font-size: 13.5px; }
.fclz-landing__login { margin: 20px 0 0; font-size: 14px; color: var(--l-soft); }
.fclz-landing__login a { color: var(--l-primary); font-weight: 700; text-decoration: none; }

@media (max-width: 860px) {
    .fclz-landing__title { font-size: 36px; }
    .fclz-landing__steps { grid-template-columns: 1fr; }
    .fclz-landing__feats { grid-template-columns: repeat(2, 1fr); }
    .fclz-landing__week { grid-template-columns: repeat(2, 1fr); }
    .fclz-landing__sec-head h2 { font-size: 26px; }
    .fclz-landing__join { padding: 36px 22px; }
}

/* Przycisk join jako osobny shortcode [fclz_join_button] (v0.52.1) - do bloku Kadence. */
.fclz-join-block { text-align: center; }

.fclz-join-block__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    padding: 12px 26px;
}

.fclz-join-block__note {
    margin: 10px 0 0;
    font-size: 13.5px;
    color: var(--fcom-secondary-text, #6b7280);
}

/* ============================================================================
 * BLOKADA PRZED STARTEM (v0.54.0) - nabor: dodawanie aktualizacji zablokowane.
 * ========================================================================== */
.fclz-prestart-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 13px 16px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--fcom-primary-text, #111827);
}

.fclz-prestart-notice .fclz-icon {
    flex: 0 0 auto;
    color: var(--fcom-primary, #f58220);
}

.fclz-updates-hub--locked .fclz-update-card {
    opacity: 0.62;
}

.fclz-actions-section .fclz-action-btn[disabled] {
    opacity: 0.6;
}
 * v0.53.1 - FIX: motyw WP nadpisywal naglowki landingu (text-align:left + marginesy)
 * przez wyzsza specyficznosc/wlasne reguly h1-h4. Wymuszamy wyrownanie i marginesy.
 * ========================================================================== */
.fclz-landing__hero,
.fclz-landing__sec-head { text-align: center !important; }

.fclz-landing__title {
    text-align: center !important;
    margin: 18px auto 16px !important;
    max-width: 22ch;
    text-wrap: balance;
    float: none !important;
}

.fclz-landing__sec-head h2 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.fclz-landing__join h2 { text-align: center !important; }

/* motyw czesto wrzuca duze margin-top na naglowki - zerujemy w obrebie landingu */
.fclz-landing h1,
.fclz-landing h2,
.fclz-landing h3,
.fclz-landing h4 { margin-top: 0; }

/* Link do pelnego profilu w spolecznosci (FC) na karcie profilu (v0.55.0) */
.fclz-profile-card__fc-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--fcom-primary, #f58220) !important;
    text-decoration: none !important;
}
.fclz-profile-card__fc-link:hover { opacity: 0.8; }
.fclz-profile-card__fc-link .fclz-icon { width: 13px; height: 13px; }

/* ============================================================================
 * EXPLAINER DLA NOWYCH (v0.56.0) - "Jak dziala Liga" na ekranie przed dolaczeniem.
 * ========================================================================== */
.fclz-explainer {
    margin: 20px 0 0;
    padding: 28px 24px;
    background: var(--fcom-primary-bg, #fff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 16px;
}

.fclz-explainer__head { text-align: center; margin-bottom: 22px; }

.fclz-explainer__title {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--fcom-primary-text, #111827);
}

.fclz-explainer__sub {
    margin: 0;
    font-size: 14px;
    color: var(--fcom-secondary-text, #6b7280);
}

.fclz-explainer__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 640px) {
    .fclz-explainer__steps { grid-template-columns: 1fr; }
}

.fclz-explainer__step {
    padding: 18px 16px;
    background: var(--fcom-active-bg, #f9fafb);
    border-radius: 12px;
    text-align: center;
}

.fclz-explainer__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #fff7ed;
    color: var(--fcom-primary, #f58220);
}

.fclz-explainer__step-title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--fcom-primary-text, #111827);
}

.fclz-explainer__step-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--fcom-secondary-text, #6b7280);
}

.fclz-explainer__foot {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 20px 0 0;
    font-size: 13.5px;
    color: var(--fcom-secondary-text, #6b7280);
}

.fclz-explainer__foot .fclz-icon { color: var(--fcom-primary, #f58220); }

.fclz-explainer__rules-link {
    font-weight: 700;
    color: var(--fcom-primary, #f58220) !important;
    text-decoration: none !important;
}

/* "Opis" z profilu spolecznosci (FC) na karcie profilu (v0.57.0) */
.fclz-profile-card__fc-bio {
    margin: 10px 0 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--fcom-secondary-text, #6b7280);
}
.fclz-profile-card__fc-bio-label {
    display: block;
    margin-bottom: 2px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fcom-secondary-text, #9ca3af);
    opacity: 0.75;
}

/* Sekcja "Linki" na karcie profilu (v0.57.1) - podpisana, strona jako tekst */
.fclz-profile-card__links {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.fclz-profile-card__links-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fcom-secondary-text, #9ca3af);
    opacity: 0.75;
}
.fclz-profile-card__website {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    color: var(--fcom-primary, #f58220) !important;
}
.fclz-profile-card__website .fclz-icon { flex: 0 0 auto; }
.fclz-profile-card__website:hover span { text-decoration: underline; }

/* Podpisane pola na karcie profilu (v0.57.2): "Nad czym pracuje" + "Bio ze spolecznosci" */
.fclz-profile-card__field {
    margin-top: 14px;
}
.fclz-profile-card__field:first-of-type {
    margin-top: 0;
}
.fclz-profile-card__field-label {
    display: block;
    margin-bottom: 3px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fcom-secondary-text, #9ca3af);
    opacity: 0.8;
}
.fclz-profile-card__field .fclz-profile-card__bio {
    margin: 0;
}

/* ============================================================================
 * PANEL DOLACZ DO SPOLECZNOSCI (v0.76.0) - shortcode [fclz_community_join]
 * na stronie /dolacz-do-spolecznosci. Wlasna paleta (poza portalem FC).
 * Scoped styling formularza Fluent Forms - tylko w obrebie .fclz-cjoin.
 * ========================================================================== */
.fclz-cjoin {
    --c-ink:var(--fcom-primary-text, #16202b); --c-soft:var(--fcom-secondary-text, #5b6775); --c-primary:#f58220; --c-primary-d:#d96e12;
    --c-tint:#fff7ed; --c-tint2:#ffedd9; --c-border:var(--fcom-primary-border, #e8eaed); --c-card:var(--fcom-primary-bg, #fff);
    max-width: 900px;
    margin: 0 auto;
    color: var(--c-ink);
    line-height: 1.55;
}
.fclz-cjoin h1, .fclz-cjoin h2, .fclz-cjoin h3 { color: var(--c-ink); }

/* HERO */
.fclz-cjoin__hero { text-align: center !important; margin-bottom: 32px; }
.fclz-cjoin__eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--c-primary); font-weight: 800; font-size: 13px;
    letter-spacing: 0.12em; text-transform: uppercase;
}
.fclz-cjoin__eyebrow .fclz-icon { width: 16px; height: 16px; color: var(--c-primary); }
.fclz-cjoin__title {
    text-align: center !important;
    font-size: 38px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 840;
    margin: 14px auto 12px !important; max-width: 20ch;
}
.fclz-cjoin__lead { font-size: 17px; color: var(--c-soft); max-width: 56ch; margin: 0 auto; }

/* KORZYSCI */
.fclz-cjoin__perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 32px; }
.fclz-cjoin__perk { display: flex; gap: 14px; align-items: flex-start; background: var(--c-card); border: 1px solid var(--c-border); border-radius: 16px; padding: 18px 20px; }
.fclz-cjoin__perk-icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--c-tint); color: var(--c-primary); display: flex; align-items: center; justify-content: center; }
.fclz-cjoin__perk-icon .fclz-icon { width: 22px; height: 22px; color: var(--c-primary); }
.fclz-cjoin__perk h3 { font-size: 16px; font-weight: 760; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.fclz-cjoin__perk p { font-size: 13.5px; color: var(--c-soft); margin: 0; }
.fclz-cjoin__badge { font-size: 10px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; background: var(--c-primary); border-radius: 5px; padding: 2px 6px; }

/* KARTA FORMULARZA */
.fclz-cjoin__card { background: var(--c-card); border: 1px solid var(--c-border); border-radius: 22px; padding: 38px 34px; box-shadow: 0 10px 40px rgba(16,32,43,.06); }
.fclz-cjoin__card-head { text-align: center; margin-bottom: 22px; }
.fclz-cjoin__card-head h2 { text-align: center !important; font-size: 25px; font-weight: 820; margin: 0 0 6px; }
.fclz-cjoin__card-sub { font-size: 14.5px; color: var(--c-soft); margin: 0; }
.fclz-cjoin__form { max-width: 480px; margin: 0 auto; }
.fclz-cjoin__notice { padding: 14px 16px; border: 1px dashed var(--c-primary); border-radius: 12px; background: var(--c-tint); color: #9a3412; font-size: 13.5px; text-align: center; }

/* SCOPED Fluent Forms - tylko w obrebie panelu (inne FF na serwisie bez zmian) */
.fclz-cjoin .fluentform .ff-el-group { margin-bottom: 14px; }
.fclz-cjoin .fluentform input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.fclz-cjoin .fluentform textarea,
.fclz-cjoin .fluentform select,
.fclz-cjoin__login-box input:not([type=checkbox]):not([type=submit]) {
    width: 100%;
    border: 1px solid var(--c-border) !important;
    border-radius: 11px !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
    background: var(--fcom-primary-bg, #fcfcfd) !important;
    box-shadow: none !important;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.fclz-cjoin .fluentform input:focus,
.fclz-cjoin .fluentform textarea:focus,
.fclz-cjoin__login-box input:focus {
    border-color: var(--c-primary) !important;
    box-shadow: 0 0 0 3px rgba(245,130,32,.15) !important;
    background: var(--fcom-primary-bg, #fff) !important;
    outline: none !important;
}
.fclz-cjoin .fluentform .ff-btn-submit,
.fclz-cjoin__login-box .ff-btn-submit,
.fclz-cjoin__login-box button[type=submit] {
    width: 100%;
    background: var(--c-primary) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 760 !important;
    font-size: 16px !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    box-shadow: 0 6px 18px rgba(245,130,32,.28) !important;
    transition: background .18s ease;
}
.fclz-cjoin .fluentform .ff-btn-submit:hover,
.fclz-cjoin__login-box .ff-btn-submit:hover { background: var(--c-primary-d) !important; }
.fclz-cjoin .fluentform label { font-size: 13px !important; font-weight: 650 !important; color: var(--c-ink) !important; }

/* login accordion */
.fclz-cjoin__login { max-width: 480px; margin: 18px auto 0; }
.fclz-cjoin__login details { border-top: 1px solid var(--c-border); padding-top: 16px; }
.fclz-cjoin__login summary { cursor: pointer; list-style: none; font-size: 14px; color: var(--c-soft); text-align: center; }
.fclz-cjoin__login summary::-webkit-details-marker { display: none; }
.fclz-cjoin__login summary b { color: var(--c-primary); font-weight: 700; }
.fclz-cjoin__login-box { margin-top: 16px; background: var(--fcom-primary-bg, #fafbfc); border: 1px solid var(--c-border); border-radius: 14px; padding: 22px; }

@media (max-width: 720px) {
    .fclz-cjoin__title { font-size: 29px; }
    .fclz-cjoin__perks { grid-template-columns: 1fr; }
    .fclz-cjoin__card { padding: 28px 18px; }
}

/* ============================================================
 * v0.81.2 - Feed "Wszystkie aktualizacje": karty wariant B (mockup
 * zaakceptowany przez Karola): jedna plaszczyzna, etykiety sekcji
 * jako chipy nad trescia, komentarze za przerywana kreska.
 * ============================================================ */
/* !important: portal FC aplikuje wlasna kopie starych regul poza normalna
   kaskada (adopted stylesheet) - zwykla specyficznosc przegrywala mimo
   poprawnego selektora. Zdiagnozowane na zywo w Chrome (2026-06-11). */
.fclz-bu-feed--cards {
    gap: 18px !important;
}
/* v0.82.3 - kontener listy BU bez wlasnego tla/ramki (bazowa .fclz-bu-feed
   z linii ~2095 dawala biale "tlo z tylu" pod kartami - feedback Karola). */
.fclz-bu-feed--cards {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}
/* Karta = taka sama ramka jak kontener sekcji SM (1px, crisp, radius 8). */
.fclz-bu-feed--cards > .fclz-bu-feed__item,
.fclz-bu-feed--cards > .fclz-bu-feed__item:last-child {
    background: var(--fcom-secondary-content-bg, #fff) !important;
    border: 1px solid var(--fcom-primary-border, #e5e7eb) !important;
    border-radius: 8px !important;
    padding: 22px 26px !important;
    box-shadow: none !important;
    flex-wrap: wrap;
    transition: border-color .2s ease;
}
.fclz-bu-feed--cards > .fclz-bu-feed__item:hover {
    border-color: rgba(245, 130, 32, 0.4) !important;
}
/* Badge'e bez ramek - sam delikatny pill */
.fclz-bu-feed--cards .fclz-bu-feed__badge {
    border: none !important;
    background: var(--fcom-secondary-content-bg, #f4f5f7) !important;
    border-radius: 100px !important;
    padding: 2px 10px !important;
}
/* Babelki komentarzy bez ramek */
.fclz-bu-feed--cards .fclz-bu-comment__bubble {
    border: none !important;
    background: var(--fcom-secondary-content-bg, #f4f5f7) !important;
}
.fclz-bu-feed--cards .fclz-bu-feed__avatar img {
    width: 44px;
    height: 44px;
}
.fclz-bu-feed--cards .fclz-bu-feed__head {
    margin-bottom: 12px;
}
/* Sekcja feedu BEZ wlasnej ramki - karty leza bezposrednio na tle portalu
   (mockup wariant B). Naprawia "ramka w ramce". */
.fclz-section--flat {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}
.fclz-section--flat > .fclz-section__head {
    margin-bottom: 14px;
    padding: 0 4px;
}
/* Etykiety sekcji: minimalistyczne - sam maly naglowek, zero tla i kresek */
.fclz-bu-feed--cards .fclz-bu-feed__row {
    display: block;
    margin: 0 0 14px;
    border: none;
    padding: 0;
}
.fclz-bu-feed--cards .fclz-bu-feed__row:last-child {
    margin-bottom: 0;
}
.fclz-bu-feed--cards .fclz-bu-feed__label {
    display: block;
    width: auto;
    background: transparent;
    border: none;
    border-right: none;
    border-radius: 0;
    padding: 0;
    margin: 0 0 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--fcom-secondary-text, #9aa1ab);
    text-align: left;
}
/* Komentarze: wciete pod tresc (jak mockup), za bardzo delikatna kreska */
.fclz-bu-feed--cards .fclz-bu-comments {
    flex-basis: 100% !important;
    box-sizing: border-box !important;
    /* v0.84.1 - wciecie jako PADDING (nie margin) - margin + basis:100% wystawal 56px poza karte */
    margin: 18px 0 0 !important;
    padding: 16px 0 0 56px !important;
    border-top: 1px dashed rgba(15, 23, 42, 0.08) !important;
}
.fclz-bu-feed--cards .fclz-bu-comment__col {
    max-width: 640px;
}
/* Pole pisania zawezone do szerokosci babelkow (nie pelna szerokosc karty) */
.fclz-bu-feed--cards .fclz-bu-comments__compose {
    max-width: 660px !important;
}
@media (max-width: 680px) {
    .fclz-bu-feed--cards > .fclz-bu-feed__item,
    .fclz-bu-feed--cards > .fclz-bu-feed__item:last-child {
        padding: 16px !important;
    }
    .fclz-bu-feed--cards .fclz-bu-comments {
        padding-left: 0 !important;
    }
}

/* Separator dnia w sekcji SM */
.fclz-sm-day {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 10px;
}
.fclz-sm-day:first-of-type { margin-top: 6px; }
.fclz-sm-day__label {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--fcom-secondary-text, #8a929b);
    white-space: nowrap;
}
.fclz-sm-day__line {
    flex: 1;
    height: 1px;
    background: var(--fcom-primary-border, #e5e7eb);
}
.fclz-sm-day__count {
    font-size: 11px;
    font-weight: 700;
    color: var(--fcom-secondary-text, #8a929b);
    background: var(--fcom-active-bg, #f3f4f6);
    border-radius: 100px;
    padding: 2px 9px;
}
/* Kompaktowe wpisy SM w obrebie dnia */
.fclz-sm-feed--compact { gap: 0; }
.fclz-sm-feed--compact .fclz-bu-feed__item { padding: 10px 0; }

/* ============================================================
 * v0.83.2 - Accordion tygodnia w feedzie BU (stare tygodnie zwiniete,
 * zeby nie spychac social media w dol). Naglowek w borderze.
 * !important bo FC nadpisuje details/kontenery poza kaskada.
 * ============================================================ */
.fclz-week-accordion {
    margin-top: 14px !important;
    border: 1px solid var(--fcom-primary-border, #e5e7eb) !important;
    border-radius: 12px !important;
    background: var(--fcom-secondary-content-bg, #fff) !important;
    overflow: hidden !important;
}
.fclz-week-accordion__head {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 13px 18px !important;
    cursor: pointer;
    list-style: none;
    user-select: none;
    font-weight: 700;
    color: var(--fcom-primary-text, #1d2433);
}
.fclz-week-accordion__head::-webkit-details-marker { display: none; }
.fclz-week-accordion__head:hover { background: var(--fcom-active-bg, #f9fafb); }
.fclz-week-accordion__chev {
    display: inline-flex;
    color: var(--fcom-secondary-text, #8a929b);
    transition: transform .2s ease;
}
.fclz-week-accordion[open] .fclz-week-accordion__chev { transform: rotate(90deg); }
.fclz-week-accordion__title { font-size: 14.5px; letter-spacing: -0.01em; }
.fclz-week-accordion__count {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    color: var(--fcom-secondary-text, #8a929b);
    background: var(--fcom-light-bg, #f3f4f6);
    border-radius: 100px;
    padding: 2px 11px;
}
/* Karty wewnatrz accordionu: kontener juz ma ramke -> karty plaskie, oddzielane kreska */
.fclz-week-accordion .fclz-bu-feed--cards {
    padding: 6px 16px 16px !important;
    gap: 0 !important;
    background: transparent !important;
}
.fclz-week-accordion .fclz-bu-feed--cards > .fclz-bu-feed__item,
.fclz-week-accordion .fclz-bu-feed--cards > .fclz-bu-feed__item:last-child {
    border: none !important;
    border-top: 1px solid var(--fcom-primary-border, #eef0f2) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 18px 4px !important;
}
.fclz-week-accordion .fclz-bu-feed--cards > .fclz-bu-feed__item:first-child {
    border-top: none !important;
}

/* v0.84.2 - link skoku do social media + akcent biezacego tygodnia */
.fclz-jump-sm {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin: -6px 0 16px;
    padding: 9px 16px;
    background: #fff7ed;
    border: 1px solid #f3d9b8;
    border-radius: 100px;
    color: #c2410c !important;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .15s ease, border-color .15s ease;
}
.fclz-jump-sm:hover { background: #ffedd5; border-color: #f58220; }
.fclz-jump-sm__arrow { font-weight: 800; animation: fclz-jump-bounce 1.6s ease-in-out infinite; }
@keyframes fclz-jump-bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(2px); } }
/* Biezacy tydzien: subtelny pomaranczowy akcent + pill "biezacy" */
.fclz-week-accordion--current {
    border-color: #f3d9b8 !important;
}
.fclz-week-accordion__now {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #fff;
    background: #f58220;
    border-radius: 100px;
    padding: 2px 9px;
}

/* v0.86.0 - plakietka organizatora w rankingu (gra poza nagrodami) */
.fclz-rank-row__org-tag {
    display: inline-block;
    margin-left: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--fcom-secondary-text, #6b7280);
    background: var(--fcom-secondary-content-bg, #eef0f2);
    border-radius: 100px;
    padding: 2px 9px;
    vertical-align: middle;
    white-space: nowrap;
}

/* ============================================================
 * v0.86.1 - Minimalistyczne labele w rankingu (feedback Karola:
 * "toporne i nienowoczesne"). Lzej, sentence-case, bez krzykliwych pill.
 * ============================================================ */
/* "TY" - delikatny pill zamiast solidnego pomaranczu na 800 */
.fclz-rank-row__me-tag,
.fclz-rank-row__me-tag {
    background: rgba(245, 130, 32, 0.12) !important;
    color: #c2410c !important;
    font-weight: 700 !important;
    font-size: 10px !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    padding: 1px 8px !important;
    border-radius: 100px !important;
}
/* Organizator - zwykly muted napis, bez tla, sentence-case */
.fclz-rank-row__org-tag {
    background: transparent !important;
    border: none !important;
    color: var(--fcom-secondary-text, #9aa1ab) !important;
    font-weight: 500 !important;
    font-size: 11px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    padding: 0 !important;
    margin-left: 8px !important;
    white-space: normal !important;
}
/* Liczba wpisow w wierszu - lzejsza */
.fclz-rank-row__meta {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--fcom-secondary-text, #9aa1ab) !important;
}
/* Pill licznika w naglowku sekcji (np. "16 uczestnikow", "22 update'ow") - plaski, lekki */
.fclz-section__count-pill,
.fclz-section__count {
    background: transparent !important;
    color: var(--fcom-secondary-text, #9aa1ab) !important;
    font-weight: 600 !important;
    font-size: 12.5px !important;
    padding: 0 !important;
    border: none !important;
}
.fclz-section__subtitle {
    color: var(--fcom-secondary-text, #9aa1ab) !important;
    font-weight: 500 !important;
}

/* v0.87.0 - moderacja wpisu (notka "nie liczone" + przycisk admina) */
.fclz-mod { margin-top: 8px; }
/* v0.87.1 - notka neutralna i lagodna (nie czerwona) - feedback Karola */
.fclz-mod__voided {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--fcom-secondary-text, #6b7280);
    background: var(--fcom-secondary-content-bg, #f4f5f7);
    border: 1px solid var(--fcom-primary-border, #e9ebee);
    border-radius: 8px;
    padding: 4px 11px;
    line-height: 1.45;
}
.fclz-mod__btn {
    background: transparent;
    border: 1px dashed var(--fcom-primary-border, #d1d5db);
    border-radius: 8px;
    padding: 3px 10px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--fcom-secondary-text, #9aa1ab);
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease;
}
.fclz-mod__btn:hover { border-color: #b42318; color: #b42318; }
.fclz-mod__btn:disabled { opacity: .6; cursor: default; }

/* ===== v0.89.0 - ranking: ulubione medium + biznes/social + ogien inline ===== */
.fclz-rank-row__meta--rich{
  display:flex;align-items:center;gap:7px;flex-wrap:wrap;
  font-size:13px;line-height:1.35;color:#8a94a6;
}
.fclz-rank-row__medium{display:inline-flex;align-items:center;}
.fclz-rank-row__medium-lbl{margin-right:5px;color:#9aa3b0;font-weight:600;}
.fclz-rank-row__brand{display:inline-flex;align-items:center;margin-right:5px;}
.fclz-rank-row__brand svg{display:block;border-radius:4px;}
.fclz-rank-row__medium-name{color:var(--fcom-secondary-text, #46506b);font-weight:700;}
.fclz-rank-row__counts{color:var(--fcom-secondary-text, #7b8694);font-weight:600;white-space:nowrap;}
.fclz-rank-row__counts strong{color:var(--fcom-primary-text, #3a4456);font-weight:800;}
.fclz-rank-row__fire{color:#ff7a18 !important;font-weight:800;white-space:nowrap;}
.fclz-rank-row__sep{color:var(--fcom-primary-border, #cdd3dc);}
.fclz-rank-row--cold .fclz-rank-row__avatar img{opacity:.82;filter:grayscale(.2);}
/* stare elementy nie renderowane - schowaj ewentualne resztki z cache */
.fclz-rank-row__status-dot,.fclz-rank-row__streak{display:none !important;}

/* v0.90.0 - przycisk "Usun moj wpis" (autor, do pierwszego komentarza) - subtelny, neutralny */
.fclz-self-del{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px}
.fclz-self-del__btn{background:none;border:1px dashed var(--fcom-primary-border, #d9d3c6);color:var(--fcom-secondary-text, #9aa3b0);font-size:12.5px;font-weight:600;
  padding:6px 13px;border-radius:9px;cursor:pointer;transition:all .15s ease;line-height:1.2}
.fclz-self-del__btn:hover{border-color:#e6a888;color:#c2603a;background:#fff7f2}
.fclz-self-del__btn:disabled{opacity:.6;cursor:default}
.fclz-self-del__hint{font-size:11.5px;color:#aab2bf}

/* v0.90.1 - ranking mobile: czytelna meta (ulubione medium na wlasnej linii,
   bez dyndajacych kropek; liczby + ogien razem nizej). Wczesniej zawijalo sie brzydko. */
@media (max-width: 600px) {
  .fclz-rank-row__meta--rich { gap: 2px 8px !important; align-items: flex-start !important; }
  .fclz-rank-row__meta--rich .fclz-rank-row__sep { display: none !important; }
  .fclz-rank-row__meta--rich .fclz-rank-row__medium { flex: 1 1 100% !important; min-width: 0; }
  .fclz-rank-row__meta--rich .fclz-rank-row__medium-name { white-space: nowrap; }
  .fclz-rank-row__meta--rich .fclz-rank-row__counts,
  .fclz-rank-row__meta--rich .fclz-rank-row__fire { display: inline-flex; align-items: center; }
}

/* v0.91.0 - odpowiedzi pod komentarzami (watek wciety, lekki, bez reakcji/punktow) */
.fclz-bu-replies{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.fclz-bu-reply{display:flex;gap:10px;padding-left:10px;border-left:2px solid var(--fcom-primary-border, #eef1f5)}
.fclz-bu-reply__avatar{width:30px;height:30px;border-radius:50%;object-fit:cover;flex:none}
.fclz-bu-reply__col{min-width:0}
.fclz-bu-reply__head{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.fclz-bu-reply__author{font-weight:700;font-size:13px;color:var(--fcom-primary-text, #1e2733)}
.fclz-bu-reply__time{font-size:11.5px;color:#9aa3b0}
.fclz-bu-reply__msg{margin:2px 0 0;font-size:13.5px;line-height:1.45;color:var(--fcom-primary-text, #46506b);white-space:pre-wrap;word-break:break-word}
.fclz-bu-reply-wrap{margin-top:8px;align-self:stretch;width:100%}
.fclz-bu-reply-toggle{display:inline-flex;align-items:center;background:var(--fcom-secondary-content-bg, #f4f6f9);border:none;border-radius:999px;padding:6px 16px;font-size:12.5px;font-weight:600;color:var(--fcom-secondary-text, #5b6577);cursor:pointer;transition:background .14s ease,color .14s ease;line-height:1.2}
.fclz-bu-reply-toggle:hover{background:#fff2e3;color:#f58220}
.fclz-bu-reply-toggle:active{transform:translateY(1px)}
.fclz-bu-reply-form{margin-top:10px;display:flex;flex-direction:column;gap:10px;width:100%}
.fclz-bu-reply-form[hidden]{display:none}
.fclz-bu-reply-textarea{width:100%;box-sizing:border-box;padding:11px 14px;border:1px solid var(--fcom-primary-border,#d8dce2);border-radius:12px;font:inherit;font-size:14px;line-height:1.5;min-height:48px;resize:vertical;background:var(--fcom-primary-bg,#fff);color:var(--fcom-primary-text,#111827);transition:border-color .12s ease,box-shadow .12s ease}
.fclz-bu-reply-textarea::placeholder{color:var(--fcom-secondary-text,#9aa3b0)}
.fclz-bu-reply-textarea:focus{outline:none;border-color:var(--fcom-primary,#f58220);box-shadow:0 0 0 3px rgba(245,130,32,.12)}
.fclz-bu-reply-foot{display:flex;align-items:center;justify-content:flex-end;gap:16px}
.fclz-bu-reply-foot .fclz-btn{border-radius:999px;padding:9px 22px;font-size:13.5px;font-weight:700;box-shadow:0 10px 22px -12px rgba(245,130,32,.75)}
.fclz-bu-reply-cancel{background:none;border:none;padding:6px 2px;font:inherit;font-size:13px;font-weight:600;color:var(--fcom-secondary-text,#9aa3b0);cursor:pointer}
.fclz-bu-reply-cancel:hover{color:var(--fcom-primary-text,#46506b)}
.fclz-bu-reply-error{margin:2px 0 0;font-size:13px;color:#c2603a}

/* v0.91.8 - maly druczek przy feedbacku: minimum 120 znakow (nie max) */
.fclz-bu-comments__minhint{margin:7px 0 0;font-size:12px;line-height:1.4;color:#9aa3b0}

/* ============================================================================
 * TRYB CIEMNY (html.dark) - poprawki kontekstowe
 * Wieksze powierzchnie/tekst/obramowania adaptuja sie automatycznie przez
 * zmienne FC (--fcom-primary-bg, --fcom-primary-text, --fcom-primary-border,
 * --fcom-secondary-content-bg). Ponizej tylko przypadki, ktorych zmienne nie
 * pokrywaja: pomaranczowe paski-notki maja jasne tlo + (teraz jasny) tekst,
 * wiec w ciemnym trybie nadajemy im ciemne tlo, by tekst byl czytelny.
 * Fluent Community ustawia klase .dark na <html>.
 * ========================================================================== */
html.dark .fclz-new-version-banner { background: #2a1d11; }
html.dark .fclz-new-version-banner:hover { background: #3a2615; }
html.dark .fclz-zasady-week__note,
html.dark .fclz-prestart-notice {
    background: #2a1d11;
    border-color: #5a3a1a;
}

/* v0.92.0 - hero-join (ekran "Dolacz") i promo banner maja zaszyty jasny gradient,
 * a tekst w srodku idzie ze zmiennych FC (jasny w dark) -> ciemne tlo jak wyzej. */
html.dark .fclz-hero-join,
html.dark .fclz-promo-banner {
    background: #2a1d11;
    border-color: #5a3a1a;
    box-shadow: none;
}

html.dark .fclz-promo-banner__dismiss:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* v0.91.13 - edycja wlasnego wpisu (inline) + znacznik edytowano */
.fclz-self-edit{margin-top:10px}
.fclz-self-edit__btn{background:var(--fcom-secondary-content-bg,#f4f6f9);border:none;border-radius:999px;padding:6px 16px;font-size:12.5px;font-weight:600;color:var(--fcom-secondary-text,#5b6577);cursor:pointer;transition:background .14s ease,color .14s ease}
.fclz-self-edit__btn:hover{background:#fff2e3;color:#f58220}
.fclz-self-edit__form{margin-top:10px;display:flex;flex-direction:column;gap:6px;max-width:560px}
.fclz-self-edit__form[hidden]{display:none}
.fclz-self-edit__lbl{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--fcom-secondary-text,#9aa3b0);margin-top:4px}
.fclz-self-edit__ta,.fclz-self-edit__inp{width:100%;box-sizing:border-box;padding:9px 12px;border:1px solid var(--fcom-primary-border,#d8dce2);border-radius:10px;font:inherit;font-size:14px;line-height:1.5;resize:vertical;background:var(--fcom-primary-bg,#fff);color:var(--fcom-primary-text,#111827)}
.fclz-self-edit__ta:focus,.fclz-self-edit__inp:focus{outline:none;border-color:var(--fcom-primary,#f58220);box-shadow:0 0 0 3px rgba(245,130,32,.12)}
.fclz-self-edit__foot{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin-top:4px}
.fclz-self-edit__foot .fclz-btn{border-radius:999px;padding:8px 20px;font-size:13px;font-weight:700}
.fclz-self-edit__cancel{background:none;border:none;font:inherit;font-size:13px;font-weight:600;color:var(--fcom-secondary-text,#9aa3b0);cursor:pointer}
.fclz-self-edit__cancel:hover{color:var(--fcom-primary-text,#46506b)}
.fclz-self-edit__err{margin:2px 0 0;font-size:13px;color:#c2603a}
.fclz-edited-mark{display:inline-block;margin-top:6px;font-size:12px;color:var(--fcom-secondary-text,#9aa3b0);font-style:italic}

/* ============================================================
 * v0.92.0 - Widget "Liga Ziomków" (ostatnie aktualizacje)
 * w right sidebar FC - wstrzykiwany przez fclz-sidebar-widget.js
 * ============================================================ */
.fclz-sidebar-widget {
    margin-bottom: 16px;
}

.fclz-sw {
    background: var(--fcom-primary-bg, #fff);
    border: 1px solid var(--fcom-primary-border, #e5e7eb);
    border-radius: 12px;
    padding: 16px;
}

.fclz-sw__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.fclz-sw__title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--fcom-primary-text, #111827);
    letter-spacing: -0.01em;
}

.fclz-sw__recruit {
    margin-left: auto;
    padding: 2px 7px;
    border-radius: 5px;
    background: #f58220;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.6;
}

.fclz-sw__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.fclz-sw__list li + li {
    border-top: 1px solid var(--fcom-primary-border, #f1f5f9);
}

.fclz-sw__item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 0;
    text-decoration: none;
    color: inherit;
}

.fclz-sw__item:hover .fclz-sw__name {
    color: var(--fcom-primary, #f58220);
}

.fclz-sw__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.fclz-sw__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.fclz-sw__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.fclz-sw__name {
    font-size: 13px;
    font-weight: 700;
    color: var(--fcom-primary-text, #111827);
    transition: color .12s ease;
    /* Nazwa bywa local-partem emaila (dlugi ciag bez spacji) - ellipsis jak w .fclz-rank-row__name. */
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fclz-sw__badge {
    padding: 1px 6px;
    border-radius: 4px;
    background: var(--fcom-secondary-content-bg, #f3f4f6);
    color: var(--fcom-secondary-text, #6b7280);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.fclz-sw__time {
    font-size: 11px;
    color: var(--fcom-secondary-text, #9ca3af);
}

.fclz-sw__text {
    font-size: 12px;
    line-height: 1.45;
    color: var(--fcom-secondary-text, #4b5563);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.fclz-sw__text--locked {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-style: italic;
}

.fclz-sw__empty {
    margin: 0 0 4px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--fcom-secondary-text, #6b7280);
}

.fclz-sw__cta {
    display: block;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--fcom-primary-border, #f1f5f9);
    font-size: 13px;
    font-weight: 700;
    color: var(--fcom-primary, #f58220);
    text-decoration: none;
}

.fclz-sw__cta:hover {
    text-decoration: underline;
}

/* v0.92.0 - drugi link pod przyciskiem na ekranie "Dołącz" (profil ziomka dla nie-uczestnika) */
.fclz-hero-join__secondary {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--fcom-primary, #f58220);
    text-decoration: none;
}

.fclz-hero-join__secondary:hover {
    text-decoration: underline;
}
