/* Biesiada — front. Motyw „loft + święta”: ciemny loft z cegłą, girlanda żarówek Edisona,
   kremowe „naklejki” z karmelowym obrysem jak w logo. Mobile-first. Kolory: zmienne --bsd-* z ustawień. */

@font-face { font-family: 'Fraunces Soft'; font-style: normal; font-weight: 600 900; font-display: swap; src: url(../fonts/fraunces-soft-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces Soft'; font-style: normal; font-weight: 600 900; font-display: swap; src: url(../fonts/fraunces-soft-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/nunito-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/nunito-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--bsd-caramel: #A9724B;
	--bsd-caramel-deep: #875B3C;
	--bsd-cream: #FEF7EF;
	--bsd-brick: #9E3B2A;
	--bsd-pine: #2F5A45;
	--bsd-gold: #F2B54A;
	--bsd-ink: #211915;
	--bsd-on-caramel: var(--bsd-cream);
	--bsd-on-brick: var(--bsd-cream);
	--bsd-on-pine: var(--bsd-cream);
	--bsd-on-gold: var(--bsd-ink);

	--bsd-text-dark: #3A2A20;          /* tekst na kremie */
	--bsd-muted-dark: #6B5446;         /* przygaszony tekst na kremie (6,5:1) */
	--bsd-muted-light: #DCCBBC;        /* przygaszony tekst na ciemnym loftcie (10:1) */

	--bsd-font-head: 'Fraunces Soft', 'Fraunces', 'Cooper Black', Georgia, serif;
	--bsd-font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

	--bsd-radius: 26px;
	--bsd-line: 4px;
	/* Podwójny obrys „naklejki” jak w logo: karmel → krem → karmel */
	--bsd-sticker: 0 0 0 5px var(--bsd-cream), 0 0 0 9px var(--bsd-caramel);
	--bsd-lift: 0 18px 30px -16px rgba(0, 0, 0, .7);
	--bsd-ease: cubic-bezier(.2, .8, .2, 1);
	--bsd-bounce: cubic-bezier(.34, 1.56, .64, 1);

	--bsd-sprig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 70'%3E%3Cpath d='M8 62 Q60 40 112 10' fill='none' stroke='%235B3A22' stroke-width='3' stroke-linecap='round'/%3E%3Cg stroke-width='2.6' stroke-linecap='round' fill='none'%3E%3Cpath d='M14.9 59.0 l12.0 6.4' stroke='%232F5A45'/%3E%3Cpath d='M14.9 59.0 l3.5 -13.1' stroke='%233F7359'/%3E%3Cpath d='M21.9 56.0 l11.7 6.1' stroke='%232F5A45'/%3E%3Cpath d='M21.9 56.0 l3.3 -12.8' stroke='%233F7359'/%3E%3Cpath d='M28.8 52.9 l11.4 5.8' stroke='%232F5A45'/%3E%3Cpath d='M28.8 52.9 l3.1 -12.4' stroke='%233F7359'/%3E%3Cpath d='M35.7 49.7 l11.1 5.6' stroke='%232F5A45'/%3E%3Cpath d='M35.7 49.7 l2.9 -12.1' stroke='%233F7359'/%3E%3Cpath d='M42.7 46.4 l10.8 5.3' stroke='%232F5A45'/%3E%3Cpath d='M42.7 46.4 l2.7 -11.7' stroke='%233F7359'/%3E%3Cpath d='M49.6 43.1 l10.5 5.0' stroke='%232F5A45'/%3E%3Cpath d='M49.6 43.1 l2.5 -11.3' stroke='%233F7359'/%3E%3Cpath d='M56.5 39.7 l10.1 4.8' stroke='%232F5A45'/%3E%3Cpath d='M56.5 39.7 l2.3 -11.0' stroke='%233F7359'/%3E%3Cpath d='M63.5 36.3 l9.8 4.5' stroke='%232F5A45'/%3E%3Cpath d='M63.5 36.3 l2.2 -10.6' stroke='%233F7359'/%3E%3Cpath d='M70.4 32.7 l9.5 4.3' stroke='%232F5A45'/%3E%3Cpath d='M70.4 32.7 l2.0 -10.2' stroke='%233F7359'/%3E%3Cpath d='M77.3 29.1 l9.1 4.0' stroke='%232F5A45'/%3E%3Cpath d='M77.3 29.1 l1.9 -9.8' stroke='%233F7359'/%3E%3Cpath d='M84.3 25.4 l8.8 3.8' stroke='%232F5A45'/%3E%3Cpath d='M84.3 25.4 l1.7 -9.4' stroke='%233F7359'/%3E%3Cpath d='M91.2 21.7 l8.5 3.6' stroke='%232F5A45'/%3E%3Cpath d='M91.2 21.7 l1.6 -9.1' stroke='%233F7359'/%3E%3Cpath d='M98.1 17.9 l8.1 3.4' stroke='%232F5A45'/%3E%3Cpath d='M98.1 17.9 l1.4 -8.7' stroke='%233F7359'/%3E%3Cpath d='M105.1 14.0 l7.8 3.2' stroke='%232F5A45'/%3E%3Cpath d='M105.1 14.0 l1.3 -8.3' stroke='%233F7359'/%3E%3C/g%3E%3Cg fill='%239E3B2A' stroke='%23FEF7EF' stroke-width='1.5'%3E%3Ccircle cx='30' cy='50' r='5.5'/%3E%3Ccircle cx='40' cy='56' r='4.5'/%3E%3Ccircle cx='38' cy='45' r='4'/%3E%3C/g%3E%3C/svg%3E");
	--bsd-bricks: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='64' viewBox='0 0 128 64'%3E%3Cg fill='%23A9724B'%3E%3Crect x='2' y='2' width='60' height='28' rx='3' fill-opacity='0.09'/%3E%3Crect x='66' y='2' width='60' height='28' rx='3' fill-opacity='0.07'/%3E%3Crect x='-30' y='34' width='60' height='28' rx='3' fill-opacity='0.06'/%3E%3Crect x='34' y='34' width='60' height='28' rx='3' fill-opacity='0.05'/%3E%3Crect x='98' y='34' width='60' height='28' rx='3' fill-opacity='0.05'/%3E%3C/g%3E%3C/svg%3E");

	--accent: var(--bsd-caramel-deep);
	--on-accent: var(--bsd-on-caramel);
}

/* Kolor przewodni zakładki */
.bsd-tab-home { --accent: var(--bsd-caramel-deep); --on-accent: var(--bsd-on-caramel); }
.bsd-tab-santa { --accent: var(--bsd-brick); --on-accent: var(--bsd-on-brick); }
.bsd-tab-awards { --accent: var(--bsd-pine); --on-accent: var(--bsd-on-pine); }

/* Bloki w kolorach motywu (tekst zawsze z kontrastem AA) */
.bsd-block--caramel { background: var(--bsd-caramel-deep); color: var(--bsd-on-caramel); }
.bsd-block--brick { background: var(--bsd-brick); color: var(--bsd-on-brick); }
.bsd-block--pine { background: var(--bsd-pine); color: var(--bsd-on-pine); }
.bsd-block--gold { background: var(--bsd-gold); color: var(--bsd-on-gold); }
.bsd-block--cream { background: var(--bsd-cream); color: var(--bsd-text-dark); }
.bsd-block--ink { background: var(--bsd-ink); color: var(--bsd-cream); }

/* ------------------------------------------------------------------ baza: ciemny loft z cegłą */

/* Ciemne tło także pod stroną (np. przy przeciąganiu w przeglądarce Messengera/Instagrama — inaczej biały pas). */
html:has(body.bsd) { background-color: var(--bsd-ink); }
/* Tło na stałej warstwie: iOS ignoruje background-attachment: fixed. */
body.bsd::before {
	content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
	background-color: var(--bsd-ink);
	background-image:
		radial-gradient(70rem 26rem at 50% -6rem, rgba(242, 181, 74, .22), transparent 70%),
		radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .55)),
		var(--bsd-bricks);
	background-size: auto, auto, 128px 64px;
}
body.bsd {
	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
	background: transparent;
	color: var(--bsd-cream);
	font-family: var(--bsd-font-body);
	font-size: 17px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
	text-rendering: optimizeLegibility;
}
.bsd *, .bsd *::before, .bsd *::after { box-sizing: border-box; }
.bsd :where(h1, h2, h3) { font-family: var(--bsd-font-head); font-weight: 900; line-height: 1.08; margin: 0; letter-spacing: .005em; }
.bsd :where(p) { margin: 0; }
.bsd img, .bsd svg, .bsd video, .bsd iframe { display: block; max-width: 100%; }
.bsd :where(button) { font: inherit; }
.bsd :focus-visible { outline: 3px solid var(--bsd-gold); outline-offset: 3px; border-radius: 12px; }

.bsd-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--bsd-cream); color: var(--bsd-ink); padding: 10px 16px; border-radius: 10px; }
.bsd-skip:focus { left: 8px; }
.bsd-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.bsd-snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

/* ------------------------------------------------------------------ nagłówek */

.bsd-header {
	position: sticky; top: 0; z-index: 20;
	display: flex; align-items: center; gap: 12px;
	padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top));
	/* Bez backdrop-filter na telefonie — tworzyłby blok zawierający dla fixed nawigacji. */
	background: rgba(26, 19, 16, .96);
	border-bottom: 3px solid var(--bsd-caramel);
}
.bsd-header__brand { display: flex; align-items: center; color: var(--bsd-cream); text-decoration: none; margin-right: auto; }
.bsd-header__logo { width: auto; height: 40px; }
svg.bsd-header__logo { width: 132px; }

.bsd-user { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--bsd-cream); }
.bsd-user__name { max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bsd-user__logout {
	min-height: 40px; padding: 0 14px; border-radius: 999px; cursor: pointer;
	background: transparent; color: var(--bsd-cream); border: 2px solid rgba(254, 247, 239, .35); font-weight: 800; font-size: 14px;
}
.bsd-user__logout:hover { border-color: var(--bsd-cream); }

@media (min-width: 601px) { .admin-bar .bsd-header { top: 46px; } }
@media (min-width: 783px) { .admin-bar .bsd-header { top: 32px; } }

/* Girlanda żarówek Edisona */
.bsd-lights { position: relative; z-index: 2; height: 70px; margin-bottom: -44px; pointer-events: none; }
.bsd-lights__wire { position: absolute; left: 0; top: 0; width: 100%; height: 60px; overflow: visible; }
.bsd-lights__wire path { fill: none; stroke: #120D0B; stroke-width: 2.5; }
.bsd-bulb { position: absolute; width: 16px; height: 28px; transform: translate(-50%, -2px); }
.bsd-bulb svg { position: relative; z-index: 1; width: 100%; height: 100%; overflow: visible; }
.bsd-bulb__socket { fill: #3B3029; stroke: #120D0B; stroke-width: 1; }
.bsd-bulb__glass { fill: var(--bulb); stroke: rgba(0, 0, 0, .25); stroke-width: .8; }
.bsd-bulb__shine { fill: none; stroke: rgba(255, 255, 255, .75); stroke-width: 1.4; stroke-linecap: round; }
.bsd-bulb::after {
	content: ''; position: absolute; left: 50%; top: 62%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
	background: radial-gradient(circle, var(--bulb) 0%, color-mix(in srgb, var(--bulb) 40%, transparent) 30%, transparent 68%);
	opacity: .55; animation: bsd-glow 6s ease-in-out var(--delay, 0s) infinite;
}
.bsd-bulb--gold { --bulb: #FFC867; }
.bsd-bulb--cream { --bulb: #FFF1D6; }
.bsd-bulb--brick { --bulb: #E2563E; }
.bsd-bulb--pine { --bulb: #58B27F; }
@keyframes bsd-glow { 50% { opacity: .8; } }
@media (max-width: 599px) { .bsd-bulb--minor { display: none; } }

/* ------------------------------------------------------------------ nawigacja (mobile: dolny pasek) */

.bsd-nav {
	position: fixed; z-index: 30; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
	padding: 6px; border-radius: 26px;
	background: #1A1310; border: 3px solid var(--bsd-caramel);
	box-shadow: 0 0 0 3px var(--bsd-ink), 0 18px 34px -12px rgba(0, 0, 0, .8);
}
.bsd-nav__item {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	min-height: 58px; padding: 6px 4px; border-radius: 20px;
	color: var(--bsd-cream); text-decoration: none; font-weight: 800; font-size: 12.5px; line-height: 1.15; text-align: center;
	transition: background-color .25s var(--bsd-ease), color .25s, transform .25s var(--bsd-bounce);
}
.bsd-nav__item svg { width: 24px; height: 24px; }
.bsd-nav__item:active { transform: scale(.94); }
.bsd-nav__item[aria-current="page"].bsd-nav__item--home { background: var(--bsd-caramel-deep); color: var(--bsd-on-caramel); }
.bsd-nav__item[aria-current="page"].bsd-nav__item--santa { background: var(--bsd-brick); color: var(--bsd-on-brick); }
.bsd-nav__item[aria-current="page"].bsd-nav__item--awards { background: var(--bsd-pine); color: var(--bsd-on-pine); }

.bsd-main { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 24px 16px 136px; }
.bsd-footer { position: relative; z-index: 1; text-align: center; color: var(--bsd-muted-light); font-size: 14px; font-weight: 700; padding: 0 16px 124px; }

@media (min-width: 820px) {
	.bsd-header { padding: 12px 28px; background: rgba(26, 19, 16, .86); -webkit-backdrop-filter: saturate(1.3) blur(12px); backdrop-filter: saturate(1.3) blur(12px); }
	.bsd-header__logo { height: 46px; }
	.bsd-nav { position: static; display: flex; gap: 6px; padding: 5px; box-shadow: none; margin-right: 12px; }
	.bsd-nav__item { flex-direction: row; gap: 8px; min-height: 44px; padding: 0 14px; font-size: 15px; white-space: nowrap; }
	.bsd-nav__item svg { width: 20px; height: 20px; }
	.bsd-main { padding-bottom: 64px; }
	.bsd-footer { padding-bottom: 32px; }
}

/* ------------------------------------------------------------------ animacje wejścia */

@keyframes bsd-drop {
	0% { opacity: 0; transform: translateY(-30px) scale(.94) rotate(-2deg); }
	60% { opacity: 1; transform: translateY(5px) scale(1.01) rotate(.4deg); }
	100% { opacity: 1; transform: none; }
}
.bsd-drop { animation: bsd-drop .75s var(--bsd-ease) both; animation-delay: calc(var(--d, 0) * 85ms + 60ms); }

@keyframes bsd-sway { 50% { transform: rotate(-1.2deg) translateY(-4px); } }

/* ------------------------------------------------------------------ elementy wspólne */

.bsd-page__title {
	font-size: clamp(36px, 10vw, 56px); text-align: center; color: var(--bsd-cream);
	text-shadow: 3px 3px 0 var(--bsd-caramel), 6px 6px 0 rgba(0, 0, 0, .35);
}
.bsd-page__title::after {
	content: ''; display: block; width: 120px; height: 34px; margin: 10px auto 0;
	background: var(--bsd-sprig) center / contain no-repeat;
}
.bsd-page__lead { text-align: center; color: var(--bsd-muted-light); font-weight: 600; margin: 12px auto 34px; max-width: 32em; }

.bsd-card {
	position: relative;
	background: var(--bsd-cream); color: var(--bsd-text-dark);
	border: var(--bsd-line) solid var(--bsd-caramel);
	border-radius: var(--bsd-radius);
	box-shadow: var(--bsd-lift);
	padding: 22px 20px;
}

.bsd-btn {
	--btn-bg: var(--bsd-cream); --btn-fg: var(--bsd-text-dark); --btn-line: var(--bsd-caramel);
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 54px; padding: 0 26px;
	font-family: var(--bsd-font-head); font-weight: 900; font-size: 21px; line-height: 1;
	color: var(--btn-fg); background: var(--btn-bg);
	border: 3px solid var(--btn-line); border-radius: 999px;
	box-shadow: 0 5px 0 var(--btn-line), 0 14px 22px -12px rgba(0, 0, 0, .7);
	cursor: pointer; text-decoration: none; user-select: none;
	transition: transform .15s var(--bsd-ease), box-shadow .15s var(--bsd-ease), opacity .2s;
}
.bsd-btn:hover { transform: translateY(-1px); }
.bsd-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--btn-line), 0 6px 12px -8px rgba(0, 0, 0, .7); }
.bsd-btn:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.bsd-btn--accent { --btn-bg: var(--accent); --btn-fg: var(--on-accent); --btn-line: var(--bsd-cream); box-shadow: 0 0 0 3px var(--bsd-caramel), 0 7px 0 var(--bsd-caramel), 0 16px 24px -12px rgba(0, 0, 0, .8); }
.bsd-btn--accent:active { box-shadow: 0 0 0 3px var(--bsd-caramel), 0 2px 0 var(--bsd-caramel); }
.bsd-btn--ghost { font-size: 17px; min-height: 48px; padding: 0 18px; box-shadow: 0 3px 0 var(--btn-line); }
.bsd-btn--wide { width: 100%; }
.bsd-btn--xl { min-height: 68px; font-size: 28px; padding: 0 46px; }

.bsd-field { display: grid; gap: 8px; margin-bottom: 18px; }
.bsd-field label { font-weight: 800; font-size: 16px; }
.bsd-field select, .bsd-field input {
	width: 100%; min-height: 58px; padding: 0 16px;
	font: 700 18px/1.2 var(--bsd-font-body); color: var(--bsd-text-dark);
	background: #fff; border: 2px solid rgba(58, 42, 32, .3); border-radius: 16px;
	appearance: none; -webkit-appearance: none;
}
.bsd-field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A2A20' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 16px center; background-size: 20px; padding-right: 48px;
}
.bsd-field input#bsd-code { font-size: 30px; letter-spacing: .6em; text-align: center; padding-left: calc(16px + .3em); }
.bsd-field select:focus, .bsd-field input:focus { outline: none; border-color: var(--bsd-caramel-deep); box-shadow: 0 0 0 4px rgba(242, 181, 74, .5); }

.bsd-form-error { color: #9E2A1A; font-weight: 800; min-height: 1.5em; margin: 0 0 10px; text-align: center; }
.bsd-form-error:empty { min-height: 0; margin: 0; }
.bsd-santa > .bsd-form-error { color: #FFB4A3; }

@keyframes bsd-shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.bsd-shake { animation: bsd-shake .4s ease both; }

.bsd-empty { text-align: center; padding: 34px 22px; max-width: 520px; margin: 8px auto 0; }
.bsd-empty__icon { font-size: 52px; line-height: 1; margin-bottom: 12px; }
.bsd-empty h2 { font-size: 28px; margin-bottom: 8px; color: var(--bsd-caramel-deep); }
.bsd-empty p { color: var(--bsd-muted-dark); font-weight: 600; }

/* Gałązka sosny w rogu „naklejek” */
.bsd-sprig::before, .bsd-login__form::before, .bsd-flip::before, .bsd-confirm__inner::before, .bsd-cta__btn::before {
	content: ''; position: absolute; z-index: 3; width: 96px; height: 56px; top: -24px; right: -14px;
	background: var(--bsd-sprig) center / contain no-repeat; transform: rotate(8deg); pointer-events: none;
}

/* ------------------------------------------------------------------ strona główna */

/* Tło: porozrzucane logo (w oryginalnych kolorach, półprzezroczyste) dryfujące powoli po stronie */
.bsd-floaters { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bsd-floater {
	position: absolute; left: var(--x); top: var(--y); width: calc(var(--s) * 1.8); max-width: 380px; min-width: 70px;
	opacity: .09;
	transform: rotate(var(--r)); will-change: transform;
	animation: bsd-drift var(--t) ease-in-out var(--delay) infinite;
}
.bsd-floater__logo { display: block; width: 100%; height: auto; }
/* Mniej i delikatniej; na telefonie wcale — tam tło z logo tylko zaśmiecało treść. */
.bsd-floater:nth-child(n+7) { display: none; }
@media (max-width: 819px) { .bsd-floaters { display: none; } }
@keyframes bsd-drift {
	0%, 100% { transform: translate(0, 0) rotate(var(--r)); }
	25% { transform: translate(calc(var(--dx) * .6 * var(--k, 1)), calc(var(--dy) * -.4 * var(--k, 1))) rotate(calc(var(--r) + 8deg * var(--k, 1))); }
	50% { transform: translate(calc(var(--dx) * var(--k, 1)), calc(var(--dy) * var(--k, 1))) rotate(calc(var(--r) - 6deg * var(--k, 1))); }
	75% { transform: translate(calc(var(--dx) * -.3 * var(--k, 1)), calc(var(--dy) * .7 * var(--k, 1))) rotate(calc(var(--r) + 4deg * var(--k, 1))); }
}

.bsd-home { position: relative; z-index: 1; text-align: center; padding-top: 34px; }
.bsd-home__logo { width: min(92vw, 620px); margin: 0 auto; }
.bsd-home__logo .bsd-logo { width: 100%; height: auto; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .55)); animation: bsd-sway 7s ease-in-out 1s infinite; transform-origin: 50% 0; }

/* Neon jak w loftcie — spokojna poświata, bez migania */
.bsd-neon {
	font-family: var(--bsd-font-head); font-weight: 700; font-size: clamp(24px, 7vw, 34px); color: #FFF3DD;
	text-shadow: 0 0 4px #FFD68A, 0 0 12px rgba(242, 181, 74, .85), 0 0 28px rgba(242, 181, 74, .55);
}
.bsd-home__subtitle { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 18px; }
.bsd-home__date {
	display: inline-block; padding: 7px 16px 8px; border-radius: 14px; transform: rotate(-2deg);
	background: var(--bsd-cream); color: var(--bsd-text-dark); border: 3px solid var(--bsd-caramel);
	box-shadow: 0 0 0 3px var(--bsd-cream), 0 0 0 6px var(--bsd-caramel), var(--bsd-lift);
	font-family: var(--bsd-font-head); font-weight: 900; font-size: 22px;
}
.bsd-home__place { color: var(--bsd-muted-light); font-weight: 700; margin-top: 14px; }
.bsd-home__hello { margin-top: 28px; font-weight: 700; color: var(--bsd-muted-light); }

.bsd-countdown { display: flex; justify-content: center; margin: 34px auto 8px; padding-left: 12px; }
.bsd-countdown__block {
	position: relative; width: 25%; max-width: 104px; aspect-ratio: 1 / 1.05;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	margin-left: -12px; border: 3px solid var(--bsd-cream); border-radius: 22px;
	box-shadow: 0 0 0 3px var(--bsd-caramel), var(--bsd-lift);
}
.bsd-countdown__block:nth-child(1) { transform: rotate(-4deg) translateY(4px); z-index: 1; }
.bsd-countdown__block:nth-child(2) { transform: rotate(2deg) translateY(-6px); z-index: 2; }
.bsd-countdown__block:nth-child(3) { transform: rotate(-2deg) translateY(5px); z-index: 3; }
.bsd-countdown__block:nth-child(4) { transform: rotate(3deg) translateY(-3px); z-index: 4; }
.bsd-countdown__num { font-family: var(--bsd-font-head); font-weight: 900; font-size: clamp(30px, 9vw, 44px); line-height: 1; font-variant-numeric: tabular-nums; }
.bsd-countdown__label { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
@keyframes bsd-tick { 0% { transform: translateY(-30%); opacity: 0; } 100% { transform: none; opacity: 1; } }
.bsd-countdown__num.is-tick { animation: bsd-tick .35s var(--bsd-bounce); }
.bsd-countdown.is-done { opacity: .5; }
.bsd-countdown-done { font-family: var(--bsd-font-head); font-weight: 900; font-size: 26px; color: var(--bsd-gold); margin-top: 8px; }

.bsd-cta { display: grid; gap: 0; margin: 40px auto 0; max-width: 480px; }
.bsd-cta__btn {
	position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
	padding: 22px 24px 24px; text-align: left; text-decoration: none;
	border: 3px solid var(--bsd-cream); border-radius: 30px; box-shadow: 0 0 0 4px var(--bsd-caramel), var(--bsd-lift);
	transition: transform .2s var(--bsd-bounce), box-shadow .2s;
}
.bsd-cta__btn:nth-child(1) { transform: rotate(-1.5deg); z-index: 2; margin-right: 18px; }
.bsd-cta__btn:nth-child(2) { transform: rotate(1.2deg); margin-top: -8px; margin-left: 18px; z-index: 1; }
.bsd-cta__btn:nth-child(2)::before { right: auto; left: -18px; top: auto; bottom: -22px; transform: rotate(-172deg) scaleY(-1); }
.bsd-cta__btn:hover { transform: rotate(0) translateY(-3px); z-index: 3; }
.bsd-cta__btn:active { transform: scale(.98); }
.bsd-cta__btn::after { content: '→'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-family: var(--bsd-font-head); font-weight: 900; font-size: 34px; }
.bsd-cta__title { font-family: var(--bsd-font-head); font-weight: 900; font-size: 28px; line-height: 1.05; padding-right: 40px; }
.bsd-cta__hint { font-weight: 800; font-size: 16px; padding-right: 40px; }

/* ------------------------------------------------------------------ logowanie */

.bsd-login__form { max-width: 440px; margin: 0 auto; box-shadow: var(--bsd-sticker), var(--bsd-lift); }
.bsd-login__help { text-align: center; color: var(--bsd-muted-dark); font-size: 15px; font-weight: 600; margin-top: 22px; }
.bsd-login__form.is-success { transform: scale(.98); opacity: .7; transition: .3s; }

/* ------------------------------------------------------------------ losowanie */

.bsd-santa { text-align: center; }
.bsd-flip { position: relative; width: min(100%, 340px); aspect-ratio: 1 / .95; margin: 14px auto 34px; perspective: 1200px; }
.bsd-flip::before { z-index: 5; }
.bsd-flip__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--bsd-bounce); }
.bsd-flip.is-flipped .bsd-flip__inner { transform: rotateY(180deg); }
/* iOS nie zawsze respektuje backface-visibility — chowamy stronę odwróconą tyłem w połowie obrotu. */
.bsd-flip__front, .bsd-flip__back { transition: visibility 0s linear .38s; }
.bsd-flip__back { visibility: hidden; }
.bsd-flip.is-flipped .bsd-flip__front { visibility: hidden; }
.bsd-flip.is-flipped .bsd-flip__back { visibility: visible; }
.bsd-flip__face {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
	padding: 24px; border: 4px solid var(--bsd-caramel); border-radius: 34px; box-shadow: var(--bsd-sticker), var(--bsd-lift);
	-webkit-backface-visibility: hidden; backface-visibility: hidden; overflow: hidden;
}
.bsd-flip__back { transform: rotateY(180deg); border-color: var(--bsd-cream); box-shadow: 0 0 0 5px var(--bsd-caramel), var(--bsd-lift); }
/* Wektorowa bombka w tle karty */
.bsd-flip__front::after, .bsd-flip__back::after {
	content: ''; position: absolute; width: 120px; height: 140px; right: -28px; bottom: -34px; opacity: .14;
	background: radial-gradient(circle at 50% 62%, currentColor 0 48%, transparent 49%), linear-gradient(currentColor, currentColor) 50% 12% / 26px 16px no-repeat;
	border-radius: 8px;
}
.bsd-reel { position: relative; z-index: 1; width: 100%; height: 1.3em; overflow: hidden; font-family: var(--bsd-font-head); font-weight: 900; font-size: clamp(24px, 7.4vw, 34px); line-height: 1.3; color: var(--bsd-caramel-deep); }
.bsd-reel__name { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bsd-flip:not(.is-spinning):not(.is-flipped) .bsd-reel__name { font-size: 2.6em; line-height: 1.15; overflow: visible; }
.bsd-flip:not(.is-spinning):not(.is-flipped) .bsd-reel { height: auto; overflow: visible; }
@keyframes bsd-roll { from { transform: translateY(-80%); opacity: .2; } to { transform: none; opacity: 1; } }
.bsd-reel__name.is-roll { animation: bsd-roll .09s linear; }
.bsd-flip__hint { position: relative; z-index: 1; font-weight: 800; font-size: 17px; color: var(--bsd-muted-dark); }
@keyframes bsd-wobble { 25% { transform: rotate(-2deg) scale(1.01); } 75% { transform: rotate(2deg) scale(1.01); } }
.bsd-flip.is-spinning .bsd-flip__inner { animation: bsd-wobble .35s ease-in-out infinite; }
.bsd-flip__label { position: relative; z-index: 1; font-weight: 800; font-size: 17px; text-transform: uppercase; letter-spacing: .08em; }
.bsd-flip__name { position: relative; z-index: 1; font-family: var(--bsd-font-head); font-weight: 900; font-size: clamp(36px, 11vw, 50px); line-height: 1.05; overflow-wrap: anywhere; }
.bsd-flip__stars { position: relative; z-index: 1; letter-spacing: .5em; font-size: 18px; color: var(--bsd-gold); }
.bsd-btn.is-gone { opacity: 0; transform: scale(.8); pointer-events: none; }

/* Podpowiedź o prezencie */
.bsd-tip {
	display: flex; gap: 12px; align-items: flex-start; max-width: 440px; margin: 30px auto 0; padding: 14px 18px; text-align: left;
	border-radius: 20px; border: 2px dashed rgba(242, 181, 74, .6); background: rgba(242, 181, 74, .08); color: var(--bsd-cream);
}
.bsd-tip__icon { flex: 0 0 auto; font-size: 26px; line-height: 1.2; }
.bsd-tip strong { color: var(--bsd-gold); }
.bsd-countdown__when { margin-top: 14px; color: var(--bsd-muted-light); font-weight: 700; }
.bsd-proposals__tips { margin: 0 0 22px; padding: 14px 16px 14px 34px; border-radius: 16px; background: rgba(169, 114, 75, .1); color: var(--bsd-text-dark); font-weight: 600; font-size: 15px; }
.bsd-proposals__tips li + li { margin-top: 6px; }
.bsd-proposals__coverage { font-size: 14px; font-weight: 700; color: var(--bsd-muted-dark); margin: -4px 0 10px; }

/* ------------------------------------------------------------------ Biesiada Awards */

.bsd-steps { list-style: none; display: flex; justify-content: center; gap: 6px; margin: 0 0 24px; padding: 0; }
.bsd-steps__dot {
	position: relative; width: 48px; height: 48px; border-radius: 16px; border: 3px solid var(--bsd-cream); cursor: pointer;
	font-family: var(--bsd-font-head); font-weight: 900; font-size: 20px; box-shadow: 0 0 0 3px var(--bsd-caramel), var(--bsd-lift);
	transition: transform .25s var(--bsd-bounce);
}
.bsd-steps li:nth-child(odd) .bsd-steps__dot { transform: rotate(-4deg); }
.bsd-steps li:nth-child(even) .bsd-steps__dot { transform: rotate(4deg); }
.bsd-steps__dot[aria-current="step"] { transform: scale(1.15) rotate(0); box-shadow: 0 0 0 3px var(--bsd-caramel), 0 0 0 7px var(--bsd-gold), var(--bsd-lift); z-index: 1; }
.bsd-steps__dot.is-done::after {
	content: '✓'; position: absolute; right: -9px; top: -9px; width: 22px; height: 22px; border-radius: 50%;
	background: var(--bsd-gold); color: var(--bsd-ink); font: 900 13px/22px var(--bsd-font-body); border: 2px solid var(--bsd-ink);
}

@keyframes bsd-enter { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.bsd-cat.bsd-enter { animation: bsd-enter .45s var(--bsd-ease); }

.bsd-cat__head { position: relative; padding: 20px 22px 22px; border: 3px solid var(--bsd-cream); border-radius: 28px; box-shadow: 0 0 0 4px var(--bsd-caramel), var(--bsd-lift); transform: rotate(-1deg); z-index: 1; }
.bsd-cat__count { font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.bsd-cat__name { font-size: clamp(30px, 8vw, 40px); margin-top: 4px; }
.bsd-cat__desc { font-weight: 700; margin-top: 8px; }
.bsd-cat__voted {
	display: inline-flex; gap: 6px; align-items: center; margin: 20px 0 0; padding: 8px 16px; border-radius: 999px;
	background: var(--bsd-gold); color: var(--bsd-ink); font-weight: 700;
}
.bsd-cat__voted[hidden] { display: none; }

.bsd-noms { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 22px; }
@media (min-width: 640px) { .bsd-noms { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .bsd-awards .bsd-noms:has(> li:nth-child(5)) { grid-template-columns: repeat(3, 1fr); } .bsd-main:has(.bsd-noms > li:nth-child(5)) { max-width: 1080px; } }

.bsd-nom {
	position: relative; display: flex; flex-direction: column;
	border: 3px solid var(--bsd-cream); border-radius: 28px; box-shadow: 0 0 0 4px var(--bsd-caramel), var(--bsd-lift); overflow: hidden;
	transition: transform .3s var(--bsd-bounce), box-shadow .3s;
}
.bsd-nom--caramel { background: var(--bsd-caramel-deep); color: var(--bsd-on-caramel); }
.bsd-nom--brick { background: var(--bsd-brick); color: var(--bsd-on-brick); }
.bsd-nom--pine { background: var(--bsd-pine); color: var(--bsd-on-pine); }
.bsd-nom--gold { background: var(--bsd-gold); color: var(--bsd-on-gold); }
.bsd-nom__body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 16px; }
.bsd-nom__name { font-size: 25px; }
.bsd-nom__pick { flex-shrink: 0; min-height: 50px; font-size: 19px; padding: 0 20px; }
.bsd-nom.is-chosen { box-shadow: 0 0 0 4px var(--bsd-caramel), 0 0 0 9px var(--bsd-gold), var(--bsd-lift); }
.bsd-nom.is-chosen .bsd-nom__pick { opacity: 1; --btn-bg: var(--bsd-gold); --btn-fg: var(--bsd-ink); --btn-line: var(--bsd-ink); }
.bsd-cat[data-voted]:not([data-voted="0"]) .bsd-nom:not(.is-chosen) { filter: saturate(.5) brightness(.8); }
@keyframes bsd-stamp { 0% { transform: scale(1); } 35% { transform: scale(1.04) rotate(-1.5deg); } 65% { transform: scale(.99) rotate(.5deg); } 100% { transform: none; } }
.bsd-nom.bsd-stamp { animation: bsd-stamp .6s var(--bsd-bounce); }

.bsd-video { position: relative; aspect-ratio: 16 / 9; background: #120D0B; border-bottom: 3px solid var(--bsd-cream); }
.bsd-video video, .bsd-video iframe, .bsd-video__yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bsd-video video { background: #000; object-fit: contain; }
.bsd-video__yt { padding: 0; cursor: pointer; background: #000; }
.bsd-video__yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.bsd-video__play {
	position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%;
	background: var(--bsd-cream); border: 3px solid var(--bsd-caramel); box-shadow: 0 10px 24px rgba(0, 0, 0, .45); transition: transform .2s var(--bsd-bounce);
}
.bsd-video__play::after { content: ''; position: absolute; left: 25px; top: 18px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent var(--bsd-brick); }
.bsd-video__yt:hover .bsd-video__play { transform: scale(1.08) rotate(-4deg); }
.bsd-video--empty { display: grid; place-items: center; color: rgba(254, 247, 239, .7); font-family: var(--bsd-font-head); font-weight: 900; font-size: 64px; background: #1A1310 var(--bsd-bricks) 0 0 / 96px 48px; }

.bsd-cat__nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; }

.bsd-done { margin-top: 0; }
.bsd-done__blocks { display: flex; justify-content: center; margin-bottom: 18px; }
.bsd-done__blocks span { width: 54px; height: 54px; border-radius: 18px; border: 3px solid var(--bsd-cream); margin-left: -10px; box-shadow: 0 0 0 3px var(--bsd-caramel); animation: bsd-drop .7s var(--bsd-ease) both; }
.bsd-done__blocks span:nth-child(1) { transform: rotate(-8deg); animation-delay: .05s; }
.bsd-done__blocks span:nth-child(2) { animation-delay: .15s; margin-top: -14px; }
.bsd-done__blocks span:nth-child(3) { animation-delay: .25s; }
.bsd-done .bsd-btn { margin-top: 18px; }

/* Okno potwierdzenia */
.bsd-confirm {
	width: min(92vw, 440px); padding: 0; border: 4px solid var(--bsd-caramel); border-radius: 30px; overflow: visible;
	background: var(--bsd-cream); color: var(--bsd-text-dark); box-shadow: 0 0 0 5px var(--bsd-cream), 0 0 0 9px var(--bsd-caramel), 0 30px 70px -20px rgba(0, 0, 0, .8);
}
.bsd-confirm[open] { animation: bsd-drop .5s var(--bsd-ease); }
.bsd-confirm::backdrop { background: rgba(18, 13, 11, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.bsd-confirm__inner { position: relative; padding: 26px 22px 22px; text-align: center; }
.bsd-confirm__title { font-size: 28px; color: var(--bsd-caramel-deep); }
.bsd-confirm__cat { color: var(--bsd-muted-dark); font-weight: 800; margin-top: 6px; }
.bsd-confirm__choice {
	margin: 18px auto; padding: 18px; border: 3px solid var(--bsd-cream); border-radius: 24px; transform: rotate(-1.5deg);
	box-shadow: 0 0 0 4px var(--bsd-caramel); font-family: var(--bsd-font-head); font-weight: 900; font-size: 32px; line-height: 1.1;
}
.bsd-confirm__warn { font-weight: 800; margin-bottom: 16px; }
.bsd-confirm__actions { display: grid; gap: 14px; }

/* Wyniki (po publikacji) */
.bsd-results { display: grid; gap: 26px; }
.bsd-result__cat { font-size: 26px; margin-bottom: 12px; color: var(--bsd-caramel-deep); }
.bsd-result__winner {
	display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 3px solid var(--bsd-cream); border-radius: 20px;
	font-family: var(--bsd-font-head); font-weight: 900; font-size: clamp(22px, 6.4vw, 28px); line-height: 1.1; box-shadow: 0 0 0 4px var(--bsd-caramel); transform: rotate(-1deg);
}
.bsd-result__winner small { font-family: var(--bsd-font-body); font-weight: 800; font-size: 14px; }
.bsd-result__crown { flex: 0 0 auto; font-size: 24px; color: var(--bsd-gold); }
.bsd-result__winner.bsd-block--gold .bsd-result__crown { color: var(--bsd-ink); }
.bsd-bars { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.bsd-bars__row { display: grid; grid-template-columns: minmax(0, 9em) 1fr 3.2em; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.bsd-bars__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bsd-bars__track { height: 14px; border-radius: 8px; background: rgba(58, 42, 32, .12); overflow: hidden; }
.bsd-bars__fill { display: block; height: 100%; width: var(--p); border-radius: 8px; background: var(--bsd-caramel); animation: bsd-grow 1s var(--bsd-ease) .3s both; transform-origin: left; }
.bsd-bars__row.is-winner .bsd-bars__fill { background: var(--bsd-brick); }
.bsd-bars__pct { text-align: right; font-variant-numeric: tabular-nums; }
@keyframes bsd-grow { from { transform: scaleX(0); } }

/* ------------------------------------------------------------------ propozycje nominacji */

.bsd-proposals { margin: 40px auto 0; max-width: 560px; box-shadow: var(--bsd-sticker), var(--bsd-lift); }
.bsd-proposals::before {
	content: ''; position: absolute; z-index: 3; width: 96px; height: 56px; top: -24px; right: -14px;
	background: var(--bsd-sprig) center / contain no-repeat; transform: rotate(8deg); pointer-events: none;
}
.bsd-proposals__title { font-size: 28px; color: var(--bsd-caramel-deep); }
.bsd-proposals__lead { color: var(--bsd-muted-dark); font-weight: 600; margin: 8px 0 20px; }
.bsd-proposals__subtitle { font-size: 20px; color: var(--bsd-caramel-deep); margin: 36px 0 10px; }
.bsd-field textarea, .bsd-input {
	width: 100%; padding: 12px 16px; font: 600 17px/1.4 var(--bsd-font-body); color: var(--bsd-text-dark);
	background: #fff; border: 2px solid rgba(58, 42, 32, .3); border-radius: 16px; resize: vertical;
}
.bsd-input { min-height: 54px; }
.bsd-field textarea:focus, .bsd-input:focus { outline: none; border-color: var(--bsd-caramel-deep); box-shadow: 0 0 0 4px rgba(242, 181, 74, .5); }
.bsd-field__count { float: right; font-weight: 700; font-size: 13px; color: var(--bsd-muted-dark); }
.bsd-seg { border: 0; padding: 0; margin: 0 0 18px; }
.bsd-seg legend { font-weight: 800; font-size: 16px; margin-bottom: 8px; padding: 0; }
.bsd-seg__opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.bsd-seg__opts label { position: relative; }
.bsd-seg__opts input { position: absolute; opacity: 0; inset: 0; }
.bsd-seg__opts span {
	display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 6px 8px; text-align: center;
	border-radius: 14px; border: 2px solid rgba(58, 42, 32, .25); font-weight: 800; font-size: 14px; line-height: 1.15; cursor: pointer; background: #fff;
}
.bsd-seg__opts input:checked + span { background: var(--accent); color: var(--on-accent); border-color: var(--bsd-caramel); }
.bsd-seg__opts input:focus-visible + span { outline: 3px solid var(--bsd-gold); outline-offset: 2px; }
.bsd-file { width: 100%; font: 600 13px var(--bsd-font-body); padding: 12px; border: 2px dashed rgba(58, 42, 32, .35); border-radius: 16px; background: #fff; }
.bsd-file::file-selector-button { font: 800 15px var(--bsd-font-body); margin-right: 12px; padding: 10px 14px; border-radius: 999px; border: 2px solid var(--bsd-caramel); background: var(--bsd-cream); color: var(--bsd-text-dark); cursor: pointer; }
.bsd-hint { font-size: 14px; color: var(--bsd-muted-dark); font-weight: 600; margin-top: 8px; }
.bsd-progress { position: relative; height: 30px; border-radius: 999px; background: rgba(58, 42, 32, .12); overflow: hidden; margin-bottom: 12px; }
.bsd-progress__bar { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--bsd-pine); transition: width .2s; }
.bsd-progress__label { position: relative; display: block; text-align: center; font-weight: 800; line-height: 30px; color: var(--bsd-text-dark); mix-blend-mode: normal; }
.bsd-form-ok { color: var(--bsd-pine); font-weight: 800; text-align: center; margin-bottom: 10px; }
.bsd-form-ok:empty { display: none; }
.bsd-mine { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bsd-mine__item { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 2px solid rgba(58, 42, 32, .15); }
.bsd-mine__main { display: grid; gap: 2px; min-width: 0; }
.bsd-mine__cat { font-size: 14px; font-weight: 700; color: var(--bsd-muted-dark); }
.bsd-mine__note { font-size: 14px; color: var(--bsd-muted-dark); }
.bsd-mine__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.bsd-mine__del { background: none; border: 0; color: #9E2A1A; font-weight: 800; font-size: 14px; cursor: pointer; padding: 4px; text-decoration: underline; }
.bsd-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(58, 42, 32, .1); color: var(--bsd-text-dark); font-weight: 800; font-size: 13px; white-space: nowrap; }
.bsd-badge--ok { background: var(--bsd-pine); color: var(--bsd-on-pine); }

/* ------------------------------------------------------------------ głosowanie na żywo (telefon) */

.bsd-live { min-height: 40vh; }
.bsd-live__hint { text-align: center; color: var(--bsd-muted-light); font-weight: 700; margin: 22px 0 16px; }
.bsd-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bsd-tile {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	min-height: 120px; padding: 16px 12px; text-align: center; cursor: pointer;
	border: 3px solid var(--bsd-cream); border-radius: 26px; box-shadow: 0 0 0 4px var(--bsd-caramel), var(--bsd-lift);
	transition: transform .15s var(--bsd-ease);
}
.bsd-tiles .bsd-tile:nth-child(odd) { transform: rotate(-1deg); }
.bsd-tiles .bsd-tile:nth-child(even) { transform: rotate(1deg); }
.bsd-tile:active { transform: scale(.96); }
.bsd-tile__name { font-family: var(--bsd-font-head); font-weight: 900; font-size: 22px; line-height: 1.1; overflow-wrap: anywhere; }
.bsd-tile__note { font-size: 13px; font-weight: 700; opacity: .9; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bsd-live__done .bsd-empty__icon { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--bsd-pine); color: var(--bsd-cream); font-size: 40px; }
.bsd-live .bsd-empty, .bsd-live__winner { margin-top: 26px; }
.bsd-live .bsd-empty p + p { margin-top: 8px; }
.bsd-live__winner { text-align: center; }
.bsd-live__kicker { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--bsd-gold); margin-bottom: 14px; }
.bsd-live__winner-name {
	display: inline-flex; align-items: center; gap: 10px; margin: 6px auto; padding: 18px 26px; border-radius: 26px; transform: rotate(-1.5deg);
	border: 3px solid var(--bsd-cream); box-shadow: 0 0 0 4px var(--bsd-caramel), var(--bsd-lift);
	font-family: var(--bsd-font-head); font-weight: 900; font-size: clamp(30px, 9vw, 44px); line-height: 1.05;
}
.bsd-live__hit { margin-top: 20px; font-family: var(--bsd-font-head); font-weight: 900; font-size: 26px; color: var(--bsd-gold); }
.bsd-live__miss { margin-top: 18px; color: var(--bsd-muted-light); font-weight: 700; }
.bsd-live__next { margin-top: 18px; color: var(--bsd-muted-light); font-weight: 700; }

/* Iskry przy odkryciu / głosie */
.bsd-spark {
	position: fixed; z-index: 1000; pointer-events: none; font-size: 18px; line-height: 1;
	text-shadow: 0 0 6px rgba(242, 181, 74, .8);
	animation: bsd-spark 1.1s var(--bsd-ease) forwards;
}
@keyframes bsd-spark {
	0% { transform: translate(-50%, -50%) scale(.4); opacity: 1; }
	100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--r)) scale(1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.bsd *, .bsd *::before, .bsd *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	/* Tło z logo zostaje, ale dryfuje o połowę mniej i wolniej (bardzo łagodny ruch). */
	.bsd .bsd-floaters .bsd-floater { --k: .5; animation-duration: calc(var(--t) * 1.5) !important; animation-iteration-count: infinite !important; }
	.bsd .bsd-flip__front, .bsd .bsd-flip__back { transition-delay: 0s !important; }
}
