.bbnews-poll,
.bbnews-chat {
	margin-bottom: 24px;
	padding: 24px;
	border-radius: 24px;
	background: var(--bb-paper, #fff);
	border: 1px solid rgba(215, 223, 239, 0.95);
	box-shadow: var(--bb-shadow, 0 18px 50px rgba(10, 22, 48, 0.09));
}

.bbnews-poll__head,
.bbnews-chat__head {
	margin-bottom: 18px;
}

.bbnews-poll__kicker,
.bbnews-chat__kicker {
	margin: 0 0 6px;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bb-blue, #295dff);
}

.bbnews-poll__question,
.bbnews-chat__head h2 {
	margin: 0;
	font-family: "Secular One", "Rubik", sans-serif;
	font-size: clamp(1.45rem, 2vw, 2rem);
	line-height: 1.05;
}

.bbnews-poll__intro,
.bbnews-chat__head p {
	margin: 10px 0 0;
	color: var(--bb-muted, #61708e);
	line-height: 1.8;
}

.bbnews-poll__body {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 18px;
	align-items: start;
}

.bbnews-poll__form,
.bbnews-poll__results,
.bbnews-chat__panel,
.bbnews-chat__aside {
	padding: 18px;
	border-radius: 20px;
	background: var(--bb-paper-soft, #f7f9fd);
	border: 1px solid rgba(215, 223, 239, 0.92);
}

.bbnews-poll__options {
	display: grid;
	gap: 10px;
}

.bbnews-poll__option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid rgba(215, 223, 239, 0.95);
	cursor: pointer;
}

.bbnews-poll__option input {
	margin: 0;
}

.bbnews-poll__submit {
	margin-top: 14px;
}

.bbnews-poll__feedback {
	min-height: 1.4em;
	margin: 12px 0 0;
	color: var(--bb-blue, #295dff);
	font-size: 0.95rem;
}

.bbnews-poll__feedback.is-error {
	color: #c92254;
}

.bbnews-poll__summary {
	display: flex;
	align-items: end;
	gap: 10px;
	margin-bottom: 16px;
}

.bbnews-poll__summary strong {
	font-family: "Secular One", "Rubik", sans-serif;
	font-size: 2rem;
	line-height: 1;
}

.bbnews-poll__bars {
	display: grid;
	gap: 12px;
}

.bbnews-poll__bar {
	padding: 12px 14px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid rgba(215, 223, 239, 0.95);
}

.bbnews-poll__bar.is-selected {
	border-color: rgba(41, 93, 255, 0.45);
	box-shadow: inset 0 0 0 1px rgba(41, 93, 255, 0.08);
}

.bbnews-poll__bar-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-weight: 700;
}

.bbnews-poll__meter {
	margin-top: 10px;
	height: 10px;
	border-radius: 999px;
	background: #e7edf9;
	overflow: hidden;
}

.bbnews-poll__meter span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--bb-blue, #295dff), var(--bb-pink, #ff3f98));
}

.bbnews-poll__count {
	margin-top: 8px;
	color: var(--bb-muted, #61708e);
	font-size: 0.88rem;
}

.bbnews-chat__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
	gap: 18px;
}

.bbnews-chat__messages {
	display: grid;
	gap: 12px;
	max-height: 560px;
	overflow-y: auto;
	padding-left: 4px;
}

.bbnews-chat__message,
.bbnews-chat__empty {
	padding: 14px 16px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid rgba(215, 223, 239, 0.92);
}

.bbnews-chat__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
	font-size: 0.84rem;
	color: var(--bb-muted, #61708e);
}

.bbnews-chat__meta strong {
	color: var(--bb-ink, #0d1730);
	font-size: 0.98rem;
}

.bbnews-chat__message p {
	margin: 0;
	line-height: 1.85;
}

.bbnews-chat__status {
	margin-top: 12px;
	color: var(--bb-muted, #61708e);
	font-size: 0.92rem;
}

.bbnews-chat__rules {
	margin-bottom: 16px;
}

.bbnews-chat__rules h3 {
	margin: 0 0 10px;
	font-family: "Secular One", "Rubik", sans-serif;
	font-size: 1.1rem;
}

.bbnews-chat__rules ul {
	margin: 0;
	padding-right: 18px;
	color: var(--bb-muted, #61708e);
	line-height: 1.8;
}

.bbnews-chat__form {
	display: grid;
	gap: 12px;
}

.bbnews-chat__form label {
	display: grid;
	gap: 6px;
}

.bbnews-chat__form span {
	font-size: 0.9rem;
	font-weight: 700;
}

.bbnews-chat__form input,
.bbnews-chat__form textarea {
	width: 100%;
	padding: 12px 14px;
	border-radius: 16px;
	border: 1px solid rgba(203, 214, 235, 0.96);
	background: #fff;
	font: inherit;
	color: var(--bb-ink, #0d1730);
}

.bbnews-chat__form textarea {
	resize: vertical;
	min-height: 120px;
}

.bbnews-image-credit {
	margin-top: 10px;
	color: var(--bb-muted, #61708e);
	font-size: 0.88rem;
}

@media (max-width: 920px) {
	.bbnews-poll__body,
	.bbnews-chat__layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.bbnews-poll,
	.bbnews-chat {
		padding: 18px;
	}

	.bbnews-poll__form,
	.bbnews-poll__results,
	.bbnews-chat__panel,
	.bbnews-chat__aside {
		padding: 16px;
	}
}
