/* IRA Fanclub — style frontu (B/W, dark default + override .light w app.css respektowany przez kolory neutralne). */

.ira-fan-optin { margin: 1rem 0; padding: 0.75rem 1rem; border: 1px solid currentColor; opacity: 0.95; }
.ira-fan-optin label { display: flex; align-items: flex-start; gap: 0.5rem; cursor: pointer; }
.ira-fan-optin input[type="checkbox"] { margin-top: 0.25rem; }

.ira-fan-cta { padding: 2rem; border: 1px solid currentColor; }
.ira-fan-cta h2 { margin: 0 0 0.75rem; font-size: 1.5rem; letter-spacing: 0.05em; text-transform: uppercase; }
.ira-fan-cta p { margin: 0 0 1rem; line-height: 1.6; }

.ira-fan-btn { display: inline-block; padding: 0.85rem 1.5rem; background: #fff; color: #000; text-decoration: none; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; border: 1px solid #fff; cursor: pointer; transition: background 0.15s, color 0.15s; }
.ira-fan-btn:hover, .ira-fan-btn:focus-visible { background: transparent; color: #fff; }
html.light .ira-fan-btn { background: #000; color: #fff; border-color: #000; }
html.light .ira-fan-btn:hover, html.light .ira-fan-btn:focus-visible { background: transparent; color: #000; }

.ira-fan-btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.ira-fan-btn--ghost:hover, .ira-fan-btn--ghost:focus-visible { background: currentColor; color: #000; }

.ira-fan-panel { padding: 1.5rem; border: 1px solid currentColor; margin-bottom: 2rem; }
.ira-fan-panel__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.ira-fan-panel h2 { margin: 0; font-size: 1.5rem; letter-spacing: 0.05em; text-transform: uppercase; }
.ira-fan-panel h3 { margin: 1.5rem 0 0.75rem; font-size: 1rem; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.85; }

.ira-fan-badge { display: inline-block; padding: 0.3rem 0.75rem; border: 1px solid currentColor; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; }

.ira-fan-stats { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1rem; margin: 0; }
.ira-fan-stats dt { opacity: 0.7; }
.ira-fan-stats dd { margin: 0; font-weight: 700; }

.ira-fan-form label { display: block; margin-bottom: 0.75rem; }
.ira-fan-form input[type="text"] { display: block; width: 100%; max-width: 320px; padding: 0.65rem 0.85rem; margin-top: 0.35rem; background: transparent; color: inherit; border: 1px solid currentColor; font: inherit; }

.ira-fan-leave { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid currentColor; }
.ira-fan-leave summary { cursor: pointer; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.7; }
.ira-fan-leave summary:hover { opacity: 1; }
.ira-fan-leave[open] summary { opacity: 1; margin-bottom: 1rem; }

.ira-fan-tile { padding: 1.25rem; border: 1px solid currentColor; margin: 1.5rem 0; }
.ira-fan-tile h3 { margin: 0 0 0.5rem; font-size: 1.1rem; letter-spacing: 0.05em; text-transform: uppercase; }
.ira-fan-tile p { margin: 0 0 1rem; }

/* Odznaka rangi w komentarzach (front). */
.ira-fan-comment-badge { display: inline-block; margin-left: 0.4rem; padding: 0.1rem 0.5rem; border: 1px solid currentColor; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; vertical-align: middle; }

/* === VIP gate (bramka blur + CTA dla niefanów) === */
.ira-fan-gate { position: relative; margin: 2rem 0; padding: 0; }
.ira-fan-gate__inner { padding: 3rem 2rem; text-align: center; border: 1px solid currentColor; background: rgba(0,0,0,0.04); }
html.light .ira-fan-gate__inner { background: rgba(255,255,255,0.04); }
.ira-fan-gate__badge { display: inline-block; padding: 0.3rem 0.85rem; border: 1px solid currentColor; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; margin-bottom: 1.5rem; opacity: 0.85; }
.ira-fan-gate__title { margin: 0 0 1rem; font-size: 1.5rem; letter-spacing: 0.02em; line-height: 1.3; }
.ira-fan-gate__desc { margin: 0 0 1.75rem; opacity: 0.8; line-height: 1.6; max-width: 32em; margin-left: auto; margin-right: auto; }
.ira-fan-gate__cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin: 0; }

/* === Lightbox skanów (CSS-only, ~1.5 kB) ===
 * Markup: <label for="lb-1"><img class="ira-lb-thumb" src="..."></label>
 *         <input type="checkbox" id="lb-1" class="ira-lb-toggle">
 *         <div class="ira-lb-overlay"><img class="ira-lb-img" src="..."></div>
 */
.ira-lb-toggle { position: absolute; opacity: 0; pointer-events: none; }
.ira-lb-thumb { cursor: zoom-in; transition: transform 0.2s, opacity 0.2s; }
.ira-lb-thumb:hover { transform: scale(1.02); opacity: 0.9; }
.ira-lb-overlay { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.92); align-items: center; justify-content: center; padding: 2rem; cursor: zoom-out; }
.ira-lb-toggle:checked + .ira-lb-overlay { display: flex; }
.ira-lb-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ira-lb-close { position: absolute; top: 1.5rem; right: 1.5rem; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; opacity: 0.8; }
.ira-lb-close:hover { opacity: 1; }

/* === Pre-sale badge & notice (Faza 5) === */
.ira-fan-presale-badge {
	display: inline-block;
	padding: 0.25rem 0.65rem;
	margin-left: 0.5rem;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border: 1px solid currentColor;
	border-radius: 4px;
	vertical-align: middle;
	line-height: 1.4;
	white-space: nowrap;
}
.ira-fan-presale-badge--fan    { color: #16a34a; }
.ira-fan-presale-badge--gated  { color: #dc2626; }

.ira-fan-presale-notice {
	margin: 1rem 0 1.5rem;
	padding: 1rem 1.25rem;
	border-left-width: 4px;
	border-left-style: solid;
	border-radius: 8px;
	background: rgba(255,255,255,0.04);
	font-size: 0.95rem;
	line-height: 1.5;
}
.ira-fan-presale-notice.is-fan   { border-left-color: #16a34a; }
.ira-fan-presale-notice.is-gated { border-left-color: #dc2626; }
.ira-fan-presale-notice strong { color: inherit; }

.ira-fan-presale-button {
	display: inline-block;
	padding: 0.7rem 1.25rem;
	background: #dc2626;
	color: #fff !important;
	border: 1px solid #dc2626;
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none !important;
	border-radius: 6px;
	transition: background 0.15s, color 0.15s;
}
.ira-fan-presale-button:hover {
	background: transparent;
	color: #dc2626 !important;
}

/* =========================================================================
 * IRA FANCLUB ZONE — strefa fan w My Account (FanclubZone.tsx pixel-perfect)
 * ====================================================================== */

/* Tytuł strefy */
.ira-fc-zone { color: #f4f4f5; }
.ira-fc-zone__title { text-align: center; margin: 0 auto 3rem; max-width: 720px; }
.ira-fc-zone__eyebrow {
	display: inline-flex; align-items: center; gap: 0.4rem;
	color: #ef4444;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}
.ira-fc-zone__title h1 {
	margin: 0 0 1rem;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 2.5rem;
	font-weight: 900;
	color: #fff;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	line-height: 1.1;
}
.ira-fc-zone__title h1 span {
	background: linear-gradient(90deg, #dc2626 0%, #f87171 100%);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
}
.ira-fc-zone__divider {
	width: 96px; height: 3px; margin: 1rem auto 0;
	background: linear-gradient(90deg, #dc2626, #f87171); border-radius: 2px;
}

/* Karta użytkownika */
.ira-fc-user {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1.25rem;
	padding: 1.5rem;
	margin-bottom: 2rem;
	background: linear-gradient(180deg, #18181b 0%, #09090b 100%);
	border: 1px solid rgba(220, 38, 38, 0.3);
	border-radius: 16px;
}
@media (max-width: 720px), (orientation: landscape) and (max-height: 540px) { .ira-fc-user { grid-template-columns: auto 1fr; } .ira-fc-user__status { grid-column: 1/-1; justify-self: start; } }

.ira-fc-user__avatar {
	width: 56px; height: 56px;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #dc2626, #b91c1c);
	color: #fff;
	font-size: 1.1rem;
	font-weight: 900;
	letter-spacing: 0.05em;
	border-radius: 12px;
	border: 1px solid rgba(255,255,255,0.1);
}
.ira-fc-user__name {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.01em;
	line-height: 1.2;
	display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem;
}
.ira-fc-user__name strong { color: #fff; font-weight: 700; }
.ira-fc-user__vip {
	display: inline-block;
	padding: 0.2rem 0.55rem;
	background: rgba(220, 38, 38, 0.15);
	border: 1px solid rgba(220, 38, 38, 0.5);
	color: #f87171;
	font-family: system-ui, sans-serif;
	font-size: 0.6rem;
	font-weight: 800;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	border-radius: 4px;
}
.ira-fc-user__sub { margin-top: 0.4rem; color: #a1a1aa; font-size: 0.8rem; }
.ira-fc-user__sub strong { color: #f4f4f5; }

.ira-fc-user__status {
	display: flex; align-items: center; gap: 0.65rem;
	padding: 0.5rem 0.85rem;
	background: rgba(34, 197, 94, 0.08);
	border: 1px solid rgba(34, 197, 94, 0.3);
	border-radius: 10px;
}
.ira-fc-user__dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
	animation: ira-fc-ping 1.5s ease-in-out infinite;
}
@keyframes ira-fc-ping {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.4; }
}
.ira-fc-user__status-eyebrow { color: #4ade80; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.ira-fc-user__status-text { color: #a1a1aa; font-size: 0.75rem; margin-top: 0.15rem; }

/* Nawigacja tabów */
.ira-fc-tabs {
	display: flex;
	gap: 0.25rem;
	margin-bottom: 2rem;
	border-bottom: 1px solid rgba(255,255,255,0.08);
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.ira-fc-tabs::-webkit-scrollbar { display: none; width: 0; height: 0; }
.ira-fc-tab {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 1rem 1.25rem;
	background: transparent;
	color: #71717a;
	border: 0;
	border-bottom: 2px solid transparent;
	font: inherit;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	margin-bottom: -1px;
	white-space: nowrap;
	transition: color 0.2s, border-color 0.2s;
}
.ira-fc-tab:hover { color: #f4f4f5; }
.ira-fc-tab[aria-selected="true"] {
	color: #fff;
	border-bottom-color: #dc2626;
}
.ira-fc-tab svg { opacity: 0.8; }

/* Panele */
.ira-fc-panel { display: none; }
.ira-fc-zone[data-active="video"] .ira-fc-panel[data-panel="video"],
.ira-fc-zone[data-active="audio"] .ira-fc-panel[data-panel="audio"],
.ira-fc-zone[data-active="skarbiec"] .ira-fc-panel[data-panel="skarbiec"],
.ira-fc-zone[data-active="sklep"] .ira-fc-panel[data-panel="sklep"],
.ira-fc-zone[data-active="kupony"] .ira-fc-panel[data-panel="kupony"],
.ira-fc-zone[data-active="tablica"] .ira-fc-panel[data-panel="tablica"] { display: block; }

/* Section head wewnątrz tabu */
.ira-fc-section-head {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
	gap: 1rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ira-fc-section-head h2 {
	margin: 0;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	line-height: 1.2;
}
.ira-fc-section-head p { margin: 0.4rem 0 0; color: #a1a1aa; font-size: 0.85rem; }
.ira-fc-count {
	flex-shrink: 0;
	padding: 0.35rem 0.85rem;
	background: rgba(220, 38, 38, 0.1);
	border: 1px solid rgba(220, 38, 38, 0.3);
	color: #f87171;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border-radius: 999px;
}

/* Grid kart */
.ira-fc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.25rem;
}
.ira-fc-card {
	display: block;
	background: #18181b;
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none !important;
	color: inherit;
	transition: border-color 0.2s, transform 0.2s;
}
.ira-fc-card:hover { border-color: rgba(220, 38, 38, 0.4); transform: translateY(-2px); }
.ira-fc-card__thumb {
	position: relative;
	aspect-ratio: 16/10;
	background: #09090b;
	overflow: hidden;
}
.ira-fc-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ira-fc-card:hover .ira-fc-card__thumb img { transform: scale(1.05); }
.ira-fc-card__play,
.ira-fc-card__zoom {
	position: absolute; top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 56px; height: 56px;
	display: flex; align-items: center; justify-content: center;
	background: rgba(220, 38, 38, 0.9);
	color: #fff;
	border-radius: 50%;
	box-shadow: 0 8px 24px rgba(0,0,0,0.4);
	transition: background 0.2s, transform 0.2s;
}
.ira-fc-card:hover .ira-fc-card__play,
.ira-fc-card:hover .ira-fc-card__zoom { background: #dc2626; transform: translate(-50%, -50%) scale(1.1); }
.ira-fc-card__dur {
	position: absolute; bottom: 0.5rem; right: 0.5rem;
	padding: 0.2rem 0.5rem;
	background: rgba(0,0,0,0.8);
	color: #fff; font-size: 0.7rem; font-weight: 700;
	border-radius: 4px;
}
.ira-fc-card__body { padding: 1rem 1.25rem 1.25rem; }
.ira-fc-card__tag {
	display: inline-block;
	color: #ef4444;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	margin-bottom: 0.5rem;
}
.ira-fc-card h3 {
	margin: 0 0 0.5rem;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
}
.ira-fc-card p { margin: 0; color: #a1a1aa; font-size: 0.8rem; line-height: 1.5; }
.ira-fc-card__meta { margin-top: 0.75rem; font-size: 0.7rem; color: #71717a; text-transform: uppercase; letter-spacing: 0.05em; }

/* Audio list */
.ira-fc-audio-list { display: flex; flex-direction: column; gap: 0.5rem; }
.ira-fc-audio-item {
	display: grid;
	grid-template-columns: auto 1fr auto auto;
	gap: 1rem;
	align-items: center;
	padding: 0.85rem 1.25rem;
	background: #18181b;
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: 12px;
	transition: border-color 0.2s;
}
.ira-fc-audio-item:hover { border-color: rgba(220, 38, 38, 0.4); }
.ira-fc-audio-play {
	width: 40px; height: 40px;
	display: flex; align-items: center; justify-content: center;
	background: rgba(220, 38, 38, 0.15);
	color: #ef4444;
	border: 1px solid rgba(220, 38, 38, 0.4);
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.2s;
}
.ira-fc-audio-play:hover { background: #dc2626; color: #fff; }
.ira-fc-audio-title { color: #fff; font-weight: 600; font-size: 0.9rem; }
.ira-fc-audio-sub { color: #71717a; font-size: 0.75rem; margin-top: 0.15rem; }
.ira-fc-audio-len { color: #a1a1aa; font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.ira-fc-audio-vip {
	padding: 0.2rem 0.5rem;
	background: rgba(220, 38, 38, 0.15);
	border: 1px solid rgba(220, 38, 38, 0.4);
	color: #f87171;
	font-size: 0.6rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	border-radius: 4px;
}

/* Empty state */
.ira-fc-empty {
	padding: 3rem 2rem;
	text-align: center;
	background: rgba(255,255,255,0.02);
	border: 1px dashed rgba(255,255,255,0.1);
	border-radius: 16px;
	color: #a1a1aa;
	font-size: 0.9rem;
	line-height: 1.6;
}
.ira-fc-empty--coming { padding-top: 4rem; padding-bottom: 4rem; }
.ira-fc-empty__badge {
	display: inline-block;
	padding: 0.35rem 1rem;
	background: rgba(220, 38, 38, 0.15);
	border: 1px solid rgba(220, 38, 38, 0.4);
	color: #f87171;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	border-radius: 999px;
	margin-bottom: 1rem;
}

/* CTA (przyciski strefy) */
.ira-fc-cta {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.85rem 1.5rem;
	background: linear-gradient(90deg, #dc2626 0%, #b91c1c 100%);
	color: #fff !important;
	border: 0;
	border-radius: 10px;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none !important;
	cursor: pointer;
	box-shadow: 0 8px 20px -8px rgba(220,38,38,0.4);
	transition: background 0.2s, transform 0.05s;
}
.ira-fc-cta:hover { background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%); }
.ira-fc-cta:active { transform: translateY(1px); }
.ira-fc-cta--small { padding: 0.6rem 1rem; font-size: 0.7rem; }
.ira-fc-cta--ghost {
	background: transparent !important;
	color: #71717a !important;
	border: 1px solid rgba(255,255,255,0.15) !important;
	box-shadow: none;
}
.ira-fc-cta--ghost:hover { background: rgba(220,38,38,0.1) !important; color: #f87171 !important; border-color: rgba(220,38,38,0.4) !important; }

/* Join panel (dla niefana po wejściu na /fanclub/) */
.ira-fc-join {
	padding: 3rem 1rem;
}
.ira-fc-join__inner {
	max-width: 540px; margin: 0 auto;
	padding: 3rem 2rem;
	text-align: center;
	background: linear-gradient(180deg, #18181b 0%, #09090b 100%);
	border: 1px solid rgba(220, 38, 38, 0.3);
	border-radius: 20px;
}
.ira-fc-join__badge {
	display: inline-block;
	padding: 0.35rem 0.85rem;
	background: rgba(220, 38, 38, 0.15);
	border: 1px solid rgba(220, 38, 38, 0.4);
	color: #f87171;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	border-radius: 999px;
	margin-bottom: 1.5rem;
}
.ira-fc-join__inner h2 {
	margin: 0 0 1rem;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 2rem;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
	line-height: 1.2;
}
.ira-fc-join__inner p { margin: 0 0 1.5rem; color: #a1a1aa; line-height: 1.6; }

/* Ustawienia profilu (collapsed) */
.ira-fc-settings {
	margin-top: 3rem;
	padding: 1.25rem 1.5rem;
	background: rgba(255,255,255,0.02);
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: 12px;
}
.ira-fc-settings > summary {
	cursor: pointer;
	color: #a1a1aa;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.ira-fc-settings[open] > summary { color: #fff; margin-bottom: 1.5rem; }
.ira-fc-settings__inner h3 { margin: 1rem 0 0.5rem; font-size: 0.95rem; color: #f4f4f5; }
.ira-fc-settings__inner hr { margin: 1.5rem 0; border: 0; border-top: 1px solid rgba(255,255,255,0.06); }
.ira-fc-form { margin: 0.5rem 0; }
.ira-fc-form label { display: block; color: #a1a1aa; font-size: 0.8rem; margin-bottom: 0.5rem; }
.ira-fc-form input[type="text"] {
	display: block; width: 100%; max-width: 320px;
	margin-top: 0.4rem;
	padding: 0.7rem 1rem;
	background: #18181b; color: #fff;
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 8px;
	font: inherit; font-size: 0.85rem;
}
.ira-fc-form input[type="text"]:focus { outline: none; border-color: #dc2626; }
.ira-fc-form__hint { color: #71717a; font-size: 0.8rem; margin: 0 0 0.75rem; }

/* =========================================================================
 * FAZA 4: TABLICA — forum-lite (klasy .ira-fc-board-*)
 * ====================================================================== */

/* Form dodania posta */
.ira-fc-board-form {
	margin: 1.5rem 0;
	padding: 1.25rem;
	background: linear-gradient(180deg, #18181b 0%, #09090b 100%);
	border: 1px solid rgba(220, 38, 38, 0.2);
	border-radius: 14px;
}
.ira-fc-board-form__row {
	display: grid;
	grid-template-columns: 1fr 200px;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}
@media (max-width: 600px) { .ira-fc-board-form__row { grid-template-columns: 1fr; } }
.ira-fc-board-form input[type="text"],
.ira-fc-board-form select,
.ira-fc-board-form textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	background: rgba(255,255,255,0.04);
	color: #f4f4f5;
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 10px;
	font: inherit;
	font-size: 0.9rem;
}
.ira-fc-board-form textarea { font-size: 0.9rem; line-height: 1.5; resize: vertical; min-height: 80px; }
.ira-fc-board-form input:focus,
.ira-fc-board-form select:focus,
.ira-fc-board-form textarea:focus { outline: none; border-color: #dc2626; background: rgba(255,255,255,0.06); }
.ira-fc-board-form__footer {
	display: flex; justify-content: space-between; align-items: center; gap: 1rem;
	margin-top: 0.75rem;
}
.ira-fc-board-form__footer small { color: #71717a; font-size: 0.75rem; line-height: 1.4; }

/* Filtry */
.ira-fc-board-filters {
	display: flex; justify-content: space-between; gap: 1rem;
	margin: 1.5rem 0 1rem;
	padding: 0.75rem 0;
	border-top: 1px solid rgba(255,255,255,0.06);
	border-bottom: 1px solid rgba(255,255,255,0.06);
	flex-wrap: wrap;
}
.ira-fc-board-filters__cats,
.ira-fc-board-filters__sort {
	display: flex; gap: 0.4rem; flex-wrap: wrap;
}
.ira-fc-board-filters a {
	padding: 0.4rem 0.85rem;
	color: #a1a1aa;
	text-decoration: none !important;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border: 1px solid transparent;
	border-radius: 999px;
	transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.ira-fc-board-filters a:hover { color: #fff; background: rgba(255,255,255,0.04); }
.ira-fc-board-filters a.is-active {
	background: rgba(220, 38, 38, 0.15);
	border-color: rgba(220, 38, 38, 0.4);
	color: #f87171;
}

/* Listing */
.ira-fc-board-list { display: flex; flex-direction: column; gap: 1rem; }

.ira-fc-board-card {
	padding: 1.25rem 1.5rem;
	background: #18181b;
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: 14px;
	transition: border-color 0.2s;
}
.ira-fc-board-card:hover { border-color: rgba(220, 38, 38, 0.3); }

.ira-fc-board-card__head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.85rem; }
.ira-fc-board-card__avatar {
	width: 44px; height: 44px;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #dc2626, #b91c1c);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 900;
	letter-spacing: 0.05em;
	border-radius: 50%;
	flex-shrink: 0;
}
.ira-fc-board-card__nick { color: #fff; font-weight: 700; font-size: 0.95rem; display: flex; align-items: center; gap: 0.6rem; }
.ira-fc-board-card__rank {
	display: inline-block;
	padding: 0.1rem 0.45rem;
	font-size: 0.6rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	border-radius: 4px;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.15);
	color: #d4d4d8;
}
.ira-fc-board-card__rank--legenda  { background: rgba(220,38,38,0.15); border-color: rgba(220,38,38,0.4); color: #f87171; }
.ira-fc-board-card__rank--backstage{ background: rgba(180,83,9,0.15);  border-color: rgba(180,83,9,0.4);  color: #fbbf24; }
.ira-fc-board-card__rank--headliner{ background: rgba(124,58,237,0.15);border-color: rgba(124,58,237,0.4);color: #c4b5fd; }
.ira-fc-board-card__rank--suport   { background: rgba(37,99,235,0.15); border-color: rgba(37,99,235,0.4); color: #93c5fd; }
.ira-fc-board-card__meta { color: #71717a; font-size: 0.72rem; margin-top: 0.2rem; display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; }
.ira-fc-board-card__cat { color: #ef4444; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

.ira-fc-board-card__title {
	margin: 0 0 0.5rem;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 1.15rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
}
.ira-fc-board-card__body {
	color: #d4d4d8;
	font-size: 0.9rem;
	line-height: 1.55;
}
.ira-fc-board-card__body p { margin: 0 0 0.5rem; }
.ira-fc-board-card__body p:last-child { margin: 0; }

/* Reakcje */
.ira-fc-board-card__reactions {
	display: flex; gap: 0.5rem;
	margin-top: 1rem;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(255,255,255,0.06);
}
.ira-fc-react {
	display: inline-flex; align-items: center; gap: 0.4rem;
	padding: 0.45rem 0.75rem;
	background: rgba(255,255,255,0.03);
	color: #a1a1aa;
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 999px;
	font: inherit;
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.05s;
}
.ira-fc-react:hover { background: rgba(220, 38, 38, 0.1); color: #f87171; border-color: rgba(220, 38, 38, 0.3); }
.ira-fc-react:active { transform: scale(0.96); }
.ira-fc-react.is-my { background: rgba(220, 38, 38, 0.15); color: #f87171; border-color: rgba(220, 38, 38, 0.5); }
.ira-fc-react__count { font-variant-numeric: tabular-nums; }
.ira-fc-react[disabled] { opacity: 0.5; cursor: wait; }

/* Pager */
.ira-fc-board-pager {
	display: flex; justify-content: center; gap: 0.4rem;
	margin-top: 1.5rem;
}
.ira-fc-board-pager a {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 36px; height: 36px;
	padding: 0 0.6rem;
	color: #a1a1aa;
	text-decoration: none !important;
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 8px;
	font-size: 0.85rem;
}
.ira-fc-board-pager a:hover { color: #fff; border-color: rgba(220,38,38,0.4); }
.ira-fc-board-pager a.is-active { background: #dc2626; color: #fff; border-color: #dc2626; }

/* === Fix natywnego dropdown <option> (Tablica, Woo selects) === */
.ira-fc-board-form select,
.ira-fc-zone select,
.woocommerce select {
	color-scheme: dark;
}
.ira-fc-board-form option,
.ira-fc-zone option,
.woocommerce option {
	background-color: #18181b;
	color: #f4f4f5;
}
/* Light mode override — przywróć jasny color-scheme */
html.light .ira-fc-board-form select,
html.light .ira-fc-zone select,
html.light .woocommerce select { color-scheme: light; }
html.light .ira-fc-board-form option,
html.light .ira-fc-zone option,
html.light .woocommerce option { background-color: #fff; color: #0a0a0a; }

/* =========================================================================
 * FAZA 6: profil publiczny /fan/{nick}/  + link autora w karcie Tablicy
 * ====================================================================== */

.ira-fc-profile-wrap {
	max-width: 880px;
	margin: 3rem auto 5rem;
	padding: 0 1.5rem;
	color: #f4f4f5;
}

.ira-fc-profile-404 { text-align: center; padding: 4rem 1rem; }
.ira-fc-profile-404 h1 { font-family: Georgia, serif; color: #fff; }

.ira-fc-profile-hero {
	display: flex; align-items: center; gap: 1.5rem;
	padding: 2rem;
	background: linear-gradient(180deg, #18181b 0%, #09090b 100%);
	border: 1px solid rgba(220, 38, 38, 0.25);
	border-radius: 16px;
	margin-bottom: 1.5rem;
}
@media (max-width: 600px) { .ira-fc-profile-hero { flex-direction: column; text-align: center; } }

.ira-fc-profile-avatar {
	width: 90px; height: 90px;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #dc2626, #b91c1c);
	color: #fff;
	font-size: 1.75rem;
	font-weight: 900;
	letter-spacing: 0.05em;
	border-radius: 50%;
	flex-shrink: 0;
	border: 2px solid rgba(255,255,255,0.15);
}
.ira-fc-profile-meta { flex: 1; }
.ira-fc-profile-eyebrow {
	color: #ef4444;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	margin-bottom: 0.4rem;
}
.ira-fc-profile-nick {
	margin: 0 0 0.4rem;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 2rem;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.02em;
	line-height: 1.15;
	display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
}
@media (max-width: 600px) { .ira-fc-profile-nick { justify-content: center; } }
.ira-fc-profile-rank {
	display: inline-block;
	padding: 0.2rem 0.65rem;
	font-family: system-ui, sans-serif;
	font-size: 0.6rem;
	font-weight: 800;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	border: 1px solid currentColor;
	border-radius: 4px;
}
.ira-fc-profile-rank--demo      { color: #a1a1aa; }
.ira-fc-profile-rank--suport    { color: #93c5fd; }
.ira-fc-profile-rank--headliner { color: #c4b5fd; }
.ira-fc-profile-rank--backstage { color: #fbbf24; }
.ira-fc-profile-rank--legenda   { color: #f87171; }
.ira-fc-profile-sub { color: #a1a1aa; font-size: 0.9rem; }
.ira-fc-profile-sub strong { color: #f4f4f5; }

.ira-fc-profile-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}
.ira-fc-profile-stat {
	padding: 1rem 1.25rem;
	background: #18181b;
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: 12px;
	text-align: center;
}
.ira-fc-profile-stat__val {
	font-family: Georgia, serif;
	font-size: 1.6rem;
	font-weight: 700;
	color: #fff;
	line-height: 1;
}
.ira-fc-profile-stat__lbl {
	margin-top: 0.4rem;
	color: #71717a;
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 700;
}

.ira-fc-profile-posts {
	padding: 1.5rem;
	background: #18181b;
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: 12px;
}
.ira-fc-profile-posts h2 {
	margin: 0 0 1rem;
	font-family: Georgia, serif;
	font-size: 1.25rem;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.ira-fc-profile-posts ul { list-style: none; margin: 0; padding: 0; }
.ira-fc-profile-posts li {
	display: flex; justify-content: space-between; gap: 1rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid rgba(255,255,255,0.06);
	color: #d4d4d8;
	font-size: 0.9rem;
}
.ira-fc-profile-posts li:last-child { border-bottom: 0; }
.ira-fc-profile-post__date { color: #71717a; font-size: 0.78rem; flex-shrink: 0; }

/* Link autora w karcie Tablicy */
.ira-fc-board-card__nick-link {
	color: inherit;
	text-decoration: none !important;
	transition: color 0.15s;
}
.ira-fc-board-card__nick-link:hover { color: #f87171; }

/* =========================================================================
 * FAN-ONLY: badge + sklep fana
 * ====================================================================== */

.ira-fan-only-badge {
	display: inline-block;
	padding: 0.2rem 0.55rem;
	margin-left: 0.5rem;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border: 1px solid currentColor;
	border-radius: 4px;
	vertical-align: middle;
	white-space: nowrap;
	line-height: 1.4;
}
.ira-fan-only-badge--fan   { color: #16a34a; }
.ira-fan-only-badge--gated { color: #dc2626; }

.ira-fan-only-button {
	display: inline-block;
	padding: 0.7rem 1.25rem;
	background: #dc2626;
	color: #fff !important;
	border: 1px solid #dc2626;
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none !important;
	border-radius: 6px;
	transition: background 0.15s, color 0.15s;
}
.ira-fan-only-button:hover {
	background: transparent;
	color: #dc2626 !important;
}

.ira-fan-only-notice {
	margin: 1rem 0 1.5rem;
	padding: 1rem 1.25rem;
	border-left: 4px solid #dc2626;
	border-radius: 6px;
	background: rgba(255,255,255,0.04);
	font-size: 0.95rem;
	line-height: 1.5;
}
.ira-fan-only-notice.is-fan { border-left-color: #16a34a; }

/* === Sklep Fana — [ira_fan_shop] === */
.ira-fan-shop { padding: 2rem 0; }
.ira-fan-shop__head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.ira-fan-shop__eyebrow {
	color: #ef4444;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
}
.ira-fan-shop__head h2 {
	margin: 0 0 1rem;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 2rem;
	color: #fff;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	line-height: 1.2;
}
.ira-fan-shop__head p { color: #a1a1aa; line-height: 1.6; margin: 0; }
.ira-fan-shop__gate { margin-top: 1.5rem; }

.ira-fan-shop__grid {
	display: grid;
	gap: 1.5rem;
}
@media (max-width: 860px) { .ira-fan-shop__grid { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 480px) { .ira-fan-shop__grid { grid-template-columns: 1fr !important; } }

.ira-fan-shop__card {
	display: block;
	background: #18181b;
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: 14px;
	overflow: hidden;
	color: inherit;
	text-decoration: none !important;
	transition: border-color 0.2s, transform 0.2s;
}
.ira-fan-shop__card:hover { border-color: rgba(220,38,38,0.4); transform: translateY(-3px); }
.ira-fan-shop__card.is-gated .ira-fan-shop__thumb img { filter: blur(8px) grayscale(0.5); opacity: 0.6; }

.ira-fan-shop__thumb {
	position: relative;
	aspect-ratio: 1/1;
	background: #09090b;
	overflow: hidden;
}
.ira-fan-shop__thumb img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}
.ira-fan-shop__card:hover .ira-fan-shop__thumb img { transform: scale(1.05); }

.ira-fan-shop__lock {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%,-50%);
	display: flex; align-items: center; justify-content: center;
	width: 56px; height: 56px;
	background: rgba(220,38,38,0.9);
	color: #fff;
	border-radius: 50%;
	box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.ira-fan-shop__body { padding: 1rem 1.25rem 1.25rem; }
.ira-fan-shop__tag {
	display: inline-block;
	color: #ef4444;
	font-size: 0.6rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin-bottom: 0.5rem;
}
.ira-fan-shop__card h3 {
	margin: 0 0 0.5rem;
	font-family: Georgia, serif;
	font-size: 1.05rem;
	color: #fff;
	line-height: 1.3;
}
.ira-fan-shop__price {
	color: #f4f4f5;
	font-size: 1rem;
	font-weight: 700;
}
.ira-fan-shop__price .amount { color: #fff; }
.ira-fan-shop__price del { color: #71717a; opacity: 0.7; margin-right: 0.4rem; }

/* === Tab KUPONY VIP === */
.ira-fc-coupons {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

.ira-fc-coupon {
	display: grid;
	grid-template-columns: 120px 1fr auto;
	gap: 1.5rem;
	align-items: center;
	padding: 1.25rem 1.5rem;
	background: linear-gradient(135deg, #18181b 0%, #0f0f12 100%);
	border: 1px solid rgba(220, 38, 38, 0.2);
	border-radius: 14px;
	position: relative;
	overflow: hidden;
	transition: border-color 0.2s, transform 0.2s;
}
.ira-fc-coupon::before {
	content: '';
	position: absolute;
	top: 0;
	left: 100px;
	bottom: 0;
	width: 1px;
	border-left: 2px dashed rgba(220, 38, 38, 0.25);
}
.ira-fc-coupon:hover { border-color: rgba(220, 38, 38, 0.5); transform: translateY(-2px); }

@media (max-width: 640px) {
	.ira-fc-coupon { grid-template-columns: 1fr; gap: 1rem; text-align: center; }
	.ira-fc-coupon::before { display: none; }
}

.ira-fc-coupon__amount {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 2rem;
	font-weight: 900;
	color: #ef4444;
	text-align: center;
	letter-spacing: -0.02em;
	line-height: 1;
}
.ira-fc-coupon__amount .amount { color: #ef4444 !important; font-size: inherit; }

.ira-fc-coupon__body { min-width: 0; }
.ira-fc-coupon__title {
	color: #fff;
	font-family: Georgia, serif;
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	margin-bottom: 0.25rem;
}
.ira-fc-coupon__desc {
	color: #a1a1aa;
	font-size: 0.85rem;
	line-height: 1.5;
	margin-bottom: 0.5rem;
}
.ira-fc-coupon__meta {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	color: #71717a;
	font-size: 0.75rem;
}
.ira-fc-coupon__meta strong { color: #f4f4f5; font-weight: 600; }
.ira-fc-coupon__perm { color: #16a34a; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

.ira-fc-coupon__code {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
}
.ira-fc-coupon__code code {
	display: inline-block;
	padding: 0.65rem 1rem;
	background: #000;
	color: #ef4444;
	font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Courier New', monospace;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	border: 1px dashed rgba(220, 38, 38, 0.5);
	border-radius: 6px;
}
.ira-fc-coupon__copy {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.6rem 0.85rem;
	background: rgba(220, 38, 38, 0.1);
	color: #f87171;
	border: 1px solid rgba(220, 38, 38, 0.4);
	border-radius: 6px;
	font: inherit;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ira-fc-coupon__copy:hover { background: #dc2626; color: #fff; border-color: #dc2626; }
.ira-fc-coupon__copy.is-copied { background: #16a34a; color: #fff; border-color: #16a34a; }

/* === KOMENTARZE pod postami Tablicy === */
.ira-fc-comments {
	margin-top: 0.75rem;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(255,255,255,0.06);
}
.ira-fc-comments__toggle {
	display: inline-flex; align-items: center; gap: 0.45rem;
	padding: 0.45rem 0.85rem;
	background: rgba(255,255,255,0.03);
	color: #a1a1aa;
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 999px;
	font: inherit;
	font-size: 0.78rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ira-fc-comments__toggle:hover {
	background: rgba(220,38,38,0.1);
	color: #f87171;
	border-color: rgba(220,38,38,0.3);
}
.ira-fc-comments__body { margin-top: 1rem; }
.ira-fc-comments__list { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.ira-fc-comment {
	display: grid;
	grid-template-columns: 36px 1fr;
	gap: 0.75rem;
	padding: 0.75rem 0.9rem;
	background: rgba(255,255,255,0.025);
	border: 1px solid rgba(255,255,255,0.05);
	border-radius: 10px;
}
.ira-fc-comment__avatar {
	width: 36px; height: 36px;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #52525b, #27272a);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	border-radius: 50%;
	flex-shrink: 0;
}
.ira-fc-comment__body { min-width: 0; }
.ira-fc-comment__head {
	display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
	font-size: 0.78rem;
	color: #d4d4d8;
	margin-bottom: 0.25rem;
}
.ira-fc-comment__head strong { color: #fff; font-weight: 700; }
.ira-fc-comment__date { color: #71717a; font-size: 0.7rem; margin-left: auto; }
.ira-fc-comment__text { color: #d4d4d8; font-size: 0.85rem; line-height: 1.55; }
.ira-fc-comment__text p { margin: 0 0 0.4rem; }
.ira-fc-comment__text p:last-child { margin: 0; }

.ira-fc-comment-form {
	display: flex; flex-direction: column; gap: 0.5rem;
	padding: 0.9rem;
	background: rgba(220,38,38,0.04);
	border: 1px solid rgba(220,38,38,0.15);
	border-radius: 10px;
}
.ira-fc-comment-form textarea {
	width: 100%;
	padding: 0.65rem 0.85rem;
	background: rgba(255,255,255,0.04);
	color: #f4f4f5;
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 8px;
	font: inherit;
	font-size: 0.85rem;
	line-height: 1.5;
	resize: vertical;
	min-height: 50px;
}
.ira-fc-comment-form textarea:focus { outline: none; border-color: #dc2626; background: rgba(255,255,255,0.06); }
.ira-fc-comment-form__footer {
	display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; flex-wrap: wrap;
}
.ira-fc-comment-form__footer small { color: #71717a; font-size: 0.75rem; }
.ira-fc-comment-form__footer strong { color: #f4f4f5; font-weight: 600; }

.ira-fc-comments__hint { color: #71717a; font-size: 0.85rem; margin: 0; padding: 0.75rem; text-align: center; border: 1px dashed rgba(255,255,255,0.08); border-radius: 8px; }

/* Sklep tab (panel) */
.ira-fc-sklep { padding-top: 0.5rem; }

/* === Logo w nagłówku strefy fanclub (zamiast "EKOSYSTEM FANÓW IRA") === */
.ira-fc-zone__title--logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	text-align: center;
	margin: 0 auto 3rem;
	max-width: 480px;
}
.ira-fc-zone__logo {
	display: inline-block;
	max-width: 240px;
	line-height: 0;
}
.ira-fc-zone__logo img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 120px;
	object-fit: contain;
}
.ira-fc-zone__logo-fallback {
	display: inline-block;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 3rem;
	font-weight: 900;
	letter-spacing: 0.2em;
	color: #dc2626;
}
.ira-fc-zone__title-label {
	display: inline-block;
	margin-top: 0.25rem;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* =========================================================================
 * LIGHT MODE — wszystkie komponenty strefy po zalogowaniu
 * Aktywne gdy html.light (theme toggle = light w rail menu)
 * ====================================================================== */

/* === Tytuł sekcji (logo + Fanclub) === */
html.light .ira-fc-zone__title-label { color: #18181b; }
html.light .ira-fc-zone__logo-fallback { color: #dc2626; }

/* === Karta użytkownika === */
html.light .ira-fc-user {
	background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
	border-color: rgba(220, 38, 38, 0.3);
}
html.light .ira-fc-user__avatar { border-color: rgba(0,0,0,0.06); }
html.light .ira-fc-user__name,
html.light .ira-fc-user__name strong { color: #18181b; }
html.light .ira-fc-user__sub { color: #52525b; }
html.light .ira-fc-user__sub strong { color: #18181b; }
html.light .ira-fc-user__status { background: rgba(34, 197, 94, 0.08); border-color: rgba(34, 197, 94, 0.35); }
html.light .ira-fc-user__status-text { color: #52525b; }

/* === Taby === */
html.light .ira-fc-tabs { border-bottom-color: rgba(0,0,0,0.1); }
html.light .ira-fc-tab { color: #71717a; }
html.light .ira-fc-tab:hover { color: #18181b; }
html.light .ira-fc-tab[aria-selected="true"] { color: #18181b; border-bottom-color: #dc2626; }

/* === Section head === */
html.light .ira-fc-section-head { border-bottom-color: rgba(0,0,0,0.08); }
html.light .ira-fc-section-head h2 { color: #18181b; }
html.light .ira-fc-section-head p { color: #52525b; }

/* === Karty contentu (video, audio, skarbiec) === */
html.light .ira-fc-card { background: #fff; border-color: #e4e4e7; }
html.light .ira-fc-card:hover { border-color: rgba(220, 38, 38, 0.5); }
html.light .ira-fc-card__thumb { background: #f4f4f5; }
html.light .ira-fc-card h3 { color: #18181b; }
html.light .ira-fc-card p { color: #52525b; }
html.light .ira-fc-card__meta { color: #71717a; }

/* === Audio list === */
html.light .ira-fc-audio-item { background: #fff; border-color: #e4e4e7; }
html.light .ira-fc-audio-item:hover { border-color: rgba(220, 38, 38, 0.4); }
html.light .ira-fc-audio-title { color: #18181b; }
html.light .ira-fc-audio-sub { color: #71717a; }
html.light .ira-fc-audio-len { color: #52525b; }

/* === Empty state === */
html.light .ira-fc-empty {
	background: rgba(0,0,0,0.02);
	border-color: rgba(0,0,0,0.15);
	color: #52525b;
}

/* === Kupony === */
html.light .ira-fc-coupon { background: linear-gradient(135deg, #fff 0%, #fafafa 100%); border-color: rgba(220, 38, 38, 0.3); }
html.light .ira-fc-coupon::before { border-left-color: rgba(220, 38, 38, 0.3); }
html.light .ira-fc-coupon__title { color: #18181b; }
html.light .ira-fc-coupon__desc { color: #52525b; }
html.light .ira-fc-coupon__meta { color: #71717a; }
html.light .ira-fc-coupon__meta strong { color: #18181b; }
html.light .ira-fc-coupon__code code { background: #18181b; color: #f87171; border-color: rgba(220, 38, 38, 0.5); }

/* === Tablica forum === */
html.light .ira-fc-board-form {
	background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
	border-color: rgba(220, 38, 38, 0.25);
}
html.light .ira-fc-board-form input[type="text"],
html.light .ira-fc-board-form select,
html.light .ira-fc-board-form textarea {
	background: #fff;
	color: #18181b;
	border-color: rgba(0,0,0,0.12);
}
html.light .ira-fc-board-form input:focus,
html.light .ira-fc-board-form select:focus,
html.light .ira-fc-board-form textarea:focus {
	border-color: #dc2626;
	background: #fff;
}
html.light .ira-fc-board-form__footer small { color: #71717a; }

html.light .ira-fc-board-filters { border-top-color: rgba(0,0,0,0.08); border-bottom-color: rgba(0,0,0,0.08); }
html.light .ira-fc-board-filters a { color: #52525b; }
html.light .ira-fc-board-filters a:hover { color: #18181b; background: rgba(0,0,0,0.04); }
html.light .ira-fc-board-filters a.is-active { background: rgba(220, 38, 38, 0.1); border-color: rgba(220, 38, 38, 0.4); color: #b91c1c; }

html.light .ira-fc-board-card { background: #fff; border-color: #e4e4e7; }
html.light .ira-fc-board-card:hover { border-color: rgba(220, 38, 38, 0.4); }
html.light .ira-fc-board-card__nick { color: #18181b; }
html.light .ira-fc-board-card__rank { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.12); color: #52525b; }
html.light .ira-fc-board-card__meta { color: #71717a; }
html.light .ira-fc-board-card__title { color: #18181b; }
html.light .ira-fc-board-card__body { color: #3f3f46; }

/* === Reakcje === */
html.light .ira-fc-board-card__reactions { border-top-color: rgba(0,0,0,0.08); }
html.light .ira-fc-react { background: #fafafa; color: #71717a; border-color: rgba(0,0,0,0.1); }
html.light .ira-fc-react:hover { background: rgba(220, 38, 38, 0.08); color: #b91c1c; border-color: rgba(220, 38, 38, 0.35); }
html.light .ira-fc-react.is-my { background: rgba(220, 38, 38, 0.12); color: #b91c1c; border-color: rgba(220, 38, 38, 0.5); }

/* === Pager === */
html.light .ira-fc-board-pager a { color: #52525b; border-color: rgba(0,0,0,0.1); }
html.light .ira-fc-board-pager a:hover { color: #18181b; border-color: rgba(220, 38, 38, 0.4); }

/* === Komentarze === */
html.light .ira-fc-comments { border-top-color: rgba(0,0,0,0.08); }
html.light .ira-fc-comments__toggle { background: rgba(0,0,0,0.03); color: #52525b; border-color: rgba(0,0,0,0.1); }
html.light .ira-fc-comments__toggle:hover { background: rgba(220, 38, 38, 0.08); color: #b91c1c; border-color: rgba(220, 38, 38, 0.3); }
html.light .ira-fc-comment { background: #fafafa; border-color: #e4e4e7; }
html.light .ira-fc-comment__head { color: #52525b; }
html.light .ira-fc-comment__head strong { color: #18181b; }
html.light .ira-fc-comment__date { color: #71717a; }
html.light .ira-fc-comment__text { color: #3f3f46; }
html.light .ira-fc-comment-form { background: rgba(220, 38, 38, 0.05); border-color: rgba(220, 38, 38, 0.2); }
html.light .ira-fc-comment-form textarea { background: #fff; color: #18181b; border-color: rgba(0,0,0,0.12); }
html.light .ira-fc-comment-form textarea:focus { background: #fff; border-color: #dc2626; }
html.light .ira-fc-comment-form__footer small { color: #71717a; }
html.light .ira-fc-comment-form__footer strong { color: #18181b; }
html.light .ira-fc-comments__hint { color: #71717a; border-color: rgba(0,0,0,0.12); }

/* === Sklep Fana (shortcode) === */
html.light .ira-fan-shop__head h2 { color: #18181b; }
html.light .ira-fan-shop__head p { color: #52525b; }
html.light .ira-fan-shop__card { background: #fff; border-color: #e4e4e7; }
html.light .ira-fan-shop__card:hover { border-color: rgba(220, 38, 38, 0.5); }
html.light .ira-fan-shop__thumb { background: #f4f4f5; }
html.light .ira-fan-shop__card h3 { color: #18181b; }
html.light .ira-fan-shop__price { color: #18181b; }
html.light .ira-fan-shop__price del { color: #a1a1aa; }

/* === Settings (collapsed) === */
html.light .ira-fc-settings { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.08); }
html.light .ira-fc-settings > summary { color: #52525b; }
html.light .ira-fc-settings[open] > summary { color: #18181b; }
html.light .ira-fc-settings__inner h3 { color: #18181b; }
html.light .ira-fc-settings__inner hr { border-top-color: rgba(0,0,0,0.08); }
html.light .ira-fc-form label { color: #52525b; }
html.light .ira-fc-form input[type="text"] { background: #fff; color: #18181b; border-color: rgba(0,0,0,0.12); }
html.light .ira-fc-form input[type="text"]:focus { border-color: #dc2626; }
html.light .ira-fc-form__hint { color: #71717a; }

/* === Join panel (dla niefana po wejściu na /fanclub/) === */
html.light .ira-fc-join__inner { background: linear-gradient(180deg, #fafafa 0%, #fff 100%); border-color: rgba(220, 38, 38, 0.3); }
html.light .ira-fc-join__inner h2 { color: #18181b; }
html.light .ira-fc-join__inner p { color: #52525b; }

/* === Profil publiczny fana === */
html.light .ira-fc-profile-wrap { color: #18181b; }
html.light .ira-fc-profile-hero { background: linear-gradient(180deg, #fafafa 0%, #fff 100%); border-color: rgba(220, 38, 38, 0.3); }
html.light .ira-fc-profile-nick { color: #18181b; }
html.light .ira-fc-profile-sub { color: #52525b; }
html.light .ira-fc-profile-stat { background: #fafafa; border-color: rgba(0,0,0,0.08); }
html.light .ira-fc-profile-stat__val { color: #18181b; }
html.light .ira-fc-profile-stat__lbl { color: #71717a; }
html.light .ira-fc-profile-posts { background: #fafafa; border-color: rgba(0,0,0,0.08); }
html.light .ira-fc-profile-posts h2 { color: #18181b; }
html.light .ira-fc-profile-posts li { border-bottom-color: rgba(0,0,0,0.06); color: #3f3f46; }
html.light .ira-fc-profile-post__date { color: #71717a; }

/* === Pre-sale + fan-only badges === */
html.light .ira-fan-presale-notice,
html.light .ira-fan-only-notice { background: rgba(0,0,0,0.03); }

/* =========================================================================
 * IRA FANCLUB — wymuszone style przyciskow CTA (bije .woocommerce a.button).
 * Czerwone tlo + bialy napis w stanie bazowym, niezaleznie od dark/light.
 * Specyficznosc: 0,3,0 + !important (Woo zwykle uzywa specyficznosci 0,2,1).
 * ====================================================================== */
a.ira-fan-presale-button,
a.ira-fan-only-button,
.woocommerce a.ira-fan-presale-button,
.woocommerce a.ira-fan-only-button,
.woocommerce-page a.ira-fan-presale-button,
.woocommerce-page a.ira-fan-only-button,
.ira-fan-shop a.ira-fan-only-button {
	display: inline-block !important;
	padding: 0.85rem 1.6rem !important;
	background: #dc2626 !important;
	color: #ffffff !important;
	border: 1px solid #dc2626 !important;
	border-radius: 6px !important;
	font-weight: 700 !important;
	font-size: 0.85rem !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	line-height: 1.4 !important;
	transition: background 0.15s, color 0.15s, border-color 0.15s !important;
	cursor: pointer;
}
a.ira-fan-presale-button:hover,
a.ira-fan-only-button:hover,
.woocommerce a.ira-fan-presale-button:hover,
.woocommerce a.ira-fan-only-button:hover,
.woocommerce-page a.ira-fan-presale-button:hover,
.woocommerce-page a.ira-fan-only-button:hover,
.ira-fan-shop a.ira-fan-only-button:hover {
	background: transparent !important;
	color: #ffffff !important;
	border-color: #ffffff !important;
}
html.light a.ira-fan-presale-button:hover,
html.light a.ira-fan-only-button:hover,
html.light .woocommerce a.ira-fan-presale-button:hover,
html.light .woocommerce a.ira-fan-only-button:hover,
html.light .woocommerce-page a.ira-fan-presale-button:hover,
html.light .woocommerce-page a.ira-fan-only-button:hover {
	color: #dc2626 !important;
	border-color: #dc2626 !important;
}

/* Notice container — w trybie ciemnym tlo lekko ciemniejsze, w light jasniejsze */
.ira-fan-presale-notice,
.ira-fan-only-notice {
	color: inherit;
}

/* === Sklep fana — tagi typu produktu (VIP / PRE-SALE) === */
.ira-fan-shop__tag--vip     { color: #dc2626; }
.ira-fan-shop__tag--presale { color: #f59e0b; }
.ira-fan-shop__presale-until {
	margin-top: 0.4rem;
	font-size: 0.78rem;
	color: #a1a1aa;
	letter-spacing: 0.02em;
}
.ira-fan-shop__presale-until strong { color: #f59e0b; }
html.light .ira-fan-shop__presale-until { color: #52525b; }
html.light .ira-fan-shop__presale-until strong { color: #b45309; }

/* =====================================================================
 * PAYWALL (tryb partial) + przycisk punktów za doczytanie
 * Dark domyślnie, html.light = jasny, black/white-safe (currentColor).
 * ===================================================================== */
.ira-paywall-teaser { position: relative; }
.ira-paywall-teaser::after {
	content: "";
	display: block;
	position: relative;
	height: 3.5rem;
	margin-top: -3.5rem;
	pointer-events: none;
	background: linear-gradient( to bottom, transparent, rgba( 0, 0, 0, 0.65 ) );
}
html.light .ira-paywall-teaser::after {
	background: linear-gradient( to bottom, transparent, rgba( 255, 255, 255, 0.75 ) );
}
/* W trybie black/white wygaszamy gradient — czystszy kontrast. */
@media ( forced-colors: active ) {
	.ira-paywall-teaser::after { display: none; }
}
.ira-paywall-gated { margin-top: 1.5rem; }

.ira-read-reward {
	display: inline-block;
	margin: 1.75rem 0;
	padding: 0.85rem 1.5rem;
	background: #fff;
	color: #000;
	border: 1px solid #fff;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}
.ira-read-reward:hover,
.ira-read-reward:focus-visible { background: transparent; color: #fff; }
.ira-read-reward[disabled] { cursor: default; }
.ira-read-reward.is-done {
	background: transparent;
	color: currentColor;
	border-color: currentColor;
	cursor: default;
	opacity: 0.7;
}
html.light .ira-read-reward { background: #000; color: #fff; border-color: #000; }
html.light .ira-read-reward:hover,
html.light .ira-read-reward:focus-visible { background: transparent; color: #000; }

/* =====================================================================
 * Przyciski bramki + odbiór punktów — CZERWONE z białym tekstem.
 * Wymuszone (!important), bo motyw nadpisuje kolor tekstu przycisków
 * (biały tekst na białym tle = niewidoczny). Te same kolory w dark i light.
 * ===================================================================== */
.ira-fan-gate .ira-fan-btn,
.ira-fan-gate .ira-fan-btn--ghost,
html.light .ira-fan-gate .ira-fan-btn,
html.light .ira-fan-gate .ira-fan-btn--ghost,
.ira-read-reward,
html.light .ira-read-reward {
	background: #dc2626 !important;
	color: #fff !important;
	border: 1px solid #dc2626 !important;
}
.ira-fan-gate .ira-fan-btn:hover,
.ira-fan-gate .ira-fan-btn:focus-visible,
.ira-fan-gate .ira-fan-btn--ghost:hover,
.ira-fan-gate .ira-fan-btn--ghost:focus-visible,
html.light .ira-fan-gate .ira-fan-btn:hover,
html.light .ira-fan-gate .ira-fan-btn:focus-visible,
html.light .ira-fan-gate .ira-fan-btn--ghost:hover,
html.light .ira-fan-gate .ira-fan-btn--ghost:focus-visible,
.ira-read-reward:hover,
.ira-read-reward:focus-visible,
html.light .ira-read-reward:hover,
html.light .ira-read-reward:focus-visible {
	background: #b91c1c !important;
	color: #fff !important;
	border-color: #b91c1c !important;
}
.ira-read-reward.is-done,
html.light .ira-read-reward.is-done {
	background: transparent !important;
	color: currentColor !important;
	border-color: currentColor !important;
	opacity: 0.7;
}

/* =====================================================================
 * Mobilne rozwijane menu sekcji (Backstage Video / Audio Vault / ...)
 * Na desktopie bez zmian (poziome taby). Na mobile: trigger + dropdown.
 * ===================================================================== */
.ira-fc-tabs-toggle { display: none; }

@media (max-width: 720px), (orientation: landscape) and (max-height: 540px) {
	.ira-fc-tabs-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.75rem;
		width: 100%;
		padding: 0.9rem 1.1rem;
		margin-bottom: 0.75rem;
		background: rgba(255, 255, 255, 0.04);
		border: 1px solid rgba(255, 255, 255, 0.12);
		border-radius: 0.6rem;
		color: #fff;
		font: inherit;
		font-size: 0.78rem;
		font-weight: 700;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		cursor: pointer;
		transition: border-color 0.2s;
	}
	.ira-fc-tabs-toggle__label { display: inline-flex; align-items: center; gap: 0.6rem; text-align: left; }
	.ira-fc-tabs-toggle__label svg { opacity: 0.8; flex: 0 0 auto; }
	.ira-fc-tabs-toggle__chev { flex: 0 0 auto; opacity: 0.8; transition: transform 0.25s ease; }
	.ira-fc-zone[data-tabs-open="1"] .ira-fc-tabs-toggle { border-color: rgba(220, 38, 38, 0.6); }
	.ira-fc-zone[data-tabs-open="1"] .ira-fc-tabs-toggle__chev { transform: rotate(180deg); }

	/* Lista jako rozwijane menu */
	.ira-fc-tabs {
		display: none;
		flex-direction: column;
		gap: 0;
		margin-bottom: 1.5rem;
		border: 1px solid rgba(255, 255, 255, 0.12);
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
		border-radius: 0.6rem;
		overflow: hidden;
		background: #0c0c0e;
	}
	.ira-fc-zone[data-tabs-open="1"] .ira-fc-tabs { display: flex; }

	.ira-fc-tab {
		width: 100%;
		justify-content: flex-start;
		padding: 0.95rem 1.1rem;
		border-bottom: 1px solid rgba(255, 255, 255, 0.06);
		border-left: 3px solid transparent;
		margin-bottom: 0;
	}
	.ira-fc-tab:last-child { border-bottom: 0; }
	.ira-fc-tab[aria-selected="true"] {
		color: #fff;
		border-bottom-color: rgba(255, 255, 255, 0.06);
		border-left-color: #dc2626;
		background: rgba(220, 38, 38, 0.08);
	}
}

/* Light mode triggera / dropdownu */
html.light .ira-fc-tabs-toggle { background: rgba(0, 0, 0, 0.03); border-color: rgba(0, 0, 0, 0.12); color: #18181b; }
html.light .ira-fc-tabs-toggle__label,
html.light .ira-fc-tabs-toggle__chev { color: #18181b; }
@media (max-width: 720px), (orientation: landscape) and (max-height: 540px) {
	html.light .ira-fc-tabs { background: #fff; border-color: rgba(0, 0, 0, 0.1); }
	html.light .ira-fc-tab { border-bottom-color: rgba(0, 0, 0, 0.06); }
	html.light .ira-fc-tab[aria-selected="true"] { color: #18181b; background: rgba(220, 38, 38, 0.06); border-left-color: #dc2626; }
}

/* =====================================================================
 * Nagłówek sekcji na mobile: licznik (np. "0 FILMÓW") pod tytułem,
 * zamiast uciekać poza prawą krawędź ekranu.
 * ===================================================================== */
.ira-fc-section-head > div { min-width: 0; }
.ira-fc-section-head h2 { overflow-wrap: break-word; }

@media (max-width: 600px), (orientation: landscape) and (max-height: 540px) {
	.ira-fc-section-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.6rem;
	}
	.ira-fc-count { align-self: flex-start; }
}

/* =====================================================================
 * Karta użytkownika na mobile: długi nick / linia rangi nie rozpychają
 * karty poza ekran (meta-kolumna może się kurczyć, nick się łamie).
 * ===================================================================== */
.ira-fc-user__meta { min-width: 0; }
.ira-fc-user__name { overflow-wrap: anywhere; }
.ira-fc-user__sub { overflow-wrap: break-word; }

@media (max-width: 600px), (orientation: landscape) and (max-height: 540px) {
	.ira-fc-user { gap: 1rem; padding: 1.25rem; }
	.ira-fc-user__avatar { width: 48px; height: 48px; font-size: 1rem; }
	.ira-fc-user__name { font-size: 1.15rem; }
}

/* Dashboard konta: wyśrodkowany przycisk przejścia do strefy Fanclubu (fan). */
.ira-fan-dash-cta { text-align: center; margin: 1.5rem 0; }

/* Dashboardowy przycisk Fanclubu: czerwony, zaokrąglony, czarny tekst
   (czytelny w dark i light — niezależnie od globalnego .ira-fan-btn). */
.ira-fan-dash-cta .ira-fan-btn,
html.light .ira-fan-dash-cta .ira-fan-btn {
	background: #dc2626;
	color: #fff;
	border-color: #dc2626;
	border-radius: 999px;
	padding: 0.85rem 1.9rem;
	text-decoration: none;
}
.ira-fan-dash-cta .ira-fan-btn:hover,
.ira-fan-dash-cta .ira-fan-btn:focus-visible,
html.light .ira-fan-dash-cta .ira-fan-btn:hover,
html.light .ira-fan-dash-cta .ira-fan-btn:focus-visible {
	background: #b91c1c;
	border-color: #b91c1c;
	color: #fff;
	text-decoration: none;
}
