#dw_donations,
.dw-page-shell {
	--dw-bg: rgba(12, 20, 31, .94);
	--dw-panel: rgba(17, 28, 42, .92);
	--dw-line: rgba(87, 164, 213, .25);
	--dw-cyan: #59d7e6;
	--dw-blue: #6baeff;
	--dw-text: #edf6ff;
	--dw-muted: #91a8bd;
	--dw-gold: #ffd76a;
}

.dw-page-shell {
	width: 100%;
}

.dw-hero,
#dw_common_description,
.dw-donation-card,
.dw-supporters,
.dw-raising-switch,
.dw-closed-card {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(87, 164, 213, .28) !important;
	background:
		radial-gradient(circle at 50% -30%, rgba(87, 174, 231, .24), transparent 55%),
		linear-gradient(135deg, rgba(17, 29, 44, .97), rgba(10, 16, 27, .97)) !important;
	box-shadow: 0 10px 32px rgba(0, 0, 0, .25), 0 0 18px rgba(45, 194, 220, .09);
	border-radius: 7px;
}

.dw-hero {
	margin-bottom: 18px;
	padding: 30px 34px;
	text-align: center;
}

.dw-hero::after,
.dw-donation-card::after,
.dw-supporters::after {
	content: "";
	position: absolute;
	top: 0;
	left: 12%;
	right: 12%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(102, 219, 241, .9), transparent);
	box-shadow: 0 0 15px rgba(65, 199, 232, .55);
	pointer-events: none;
}

.dw-hero__eyebrow {
	margin-bottom: 8px;
	color: var(--dw-cyan);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
}

.dw-hero h1 {
	margin: 0 0 8px;
	color: var(--dw-text);
	font-size: 28px;
	font-weight: 900;
	letter-spacing: .04em;
}

.dw-hero p {
	margin: 0;
	color: var(--dw-muted);
	font-size: 15px;
}

.dw-loading {
	padding: 26px;
	color: var(--dw-muted);
	text-align: center;
}

.dw-loading span {
	display: inline-block;
	width: 9px;
	height: 9px;
	margin-right: 8px;
	border-radius: 50%;
	background: var(--dw-cyan);
	box-shadow: 0 0 12px var(--dw-cyan);
	animation: dwPulse 1.1s infinite alternate;
}

@keyframes dwPulse {
	to { opacity: .3; transform: scale(.75); }
}

#dw_common_description {
	margin: 0 0 18px !important;
	padding: 0 28px 24px;
}

#dw_common_description .block_head,
.dw-closed-card .block_head {
	margin: 0 -28px 22px;
	padding: 18px 28px;
	border-bottom: 1px solid var(--dw-line);
	background: radial-gradient(ellipse at center, rgba(80, 161, 214, .28), transparent 72%);
	color: var(--dw-text);
	text-align: center;
	font-weight: 800;
	text-transform: uppercase;
}

#dw_common_description .dw_text {
	color: #c9d8e7;
	font-size: 15px;
	line-height: 1.65;
}

.dw-raising-switch {
	margin: 0 auto 18px;
	padding: 20px 24px;
}

.dw-raising-switch__title {
	margin-bottom: 11px;
	color: var(--dw-text);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .07em;
	text-align: center;
}

.dw-raising-switch select {
	height: 48px !important;
	border: 1px solid rgba(91, 174, 225, .42) !important;
	background: rgba(7, 14, 24, .82) !important;
	color: var(--dw-text) !important;
}

.dw-donation-card {
	margin-bottom: 20px !important;
	padding: 0 !important;
	color: var(--dw-text);
}

.dw-donation-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 26px 30px 19px;
}

.dw-donation-card__label {
	display: block;
	margin-bottom: 6px;
	color: var(--dw-cyan);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .15em;
}

.dw-donation-card__head h2 {
	margin: 0;
	color: var(--dw-text);
	font-size: 23px;
	font-weight: 850;
	line-height: 1.25;
}

.dw-donation-card__percent {
	flex: 0 0 auto;
	color: var(--dw-gold);
	font-size: 27px;
	font-weight: 900;
	text-shadow: 0 0 18px rgba(255, 208, 91, .25);
}

.dw-progress {
	height: 9px;
	margin: 0 30px;
	overflow: hidden;
	border: 1px solid rgba(93, 164, 210, .18);
	border-radius: 20px;
	background: rgba(5, 11, 20, .78);
}

.dw-progress span {
	display: block;
	height: 100%;
	min-width: 2px;
	border-radius: inherit;
	background: linear-gradient(90deg, #36b9ce, #75c7ff, #ffd46a);
	box-shadow: 0 0 14px rgba(66, 196, 226, .46);
}

.dw-summary {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 20px;
	border-top: 1px solid rgba(80, 150, 198, .17);
	border-bottom: 1px solid rgba(80, 150, 198, .17);
	background: rgba(4, 10, 18, .26);
}

.dw-summary > div {
	padding: 16px 22px;
	text-align: center;
}

.dw-summary > div + div {
	border-left: 1px solid rgba(80, 150, 198, .17);
}

.dw-summary small {
	display: block;
	margin-bottom: 4px;
	color: var(--dw-muted);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .12em;
}

.dw-summary strong {
	color: var(--dw-text);
	font-size: 17px;
}

/* Денежные значения отделены от подписей и даты двумя спокойными акцентами. */
.dw-summary > div:nth-child(1) strong {
	color: #69e1e8;
	text-shadow: 0 0 12px rgba(73, 211, 224, .18);
}

.dw-summary > div:nth-child(2) strong {
	color: #ffd56f;
	text-shadow: 0 0 12px rgba(255, 204, 92, .14);
}

.dw-donation-card__body {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.dw-action,
.dw-description {
	padding: 26px 30px 30px;
}

.dw-description {
	border-left: 1px solid rgba(80, 150, 198, .2);
	background: linear-gradient(135deg, rgba(37, 68, 94, .16), transparent 60%);
}

.dw-action h3,
.dw-description h3 {
	margin: 0 0 11px;
	color: var(--dw-text);
	font-size: 16px;
	font-weight: 800;
}

.dw-action > p,
.dw-description .dw_text {
	color: #b7c9da;
	font-size: 13px;
	line-height: 1.6;
}

.dw-description .dw_text {
	font-size: 15px;
	line-height: 1.7;
}

.dw-donate-form {
	display: grid;
	grid-template-columns: 125px minmax(0, 1fr);
	gap: 10px;
	margin-top: 18px;
}

.dw-input {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.dw-input span {
	color: var(--dw-muted);
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
}

.dw-input input {
	width: 100%;
	height: 44px;
	padding: 0 13px;
	border: 1px solid rgba(93, 174, 222, .32);
	border-radius: 5px;
	outline: none;
	background: rgba(5, 12, 22, .84);
	color: var(--dw-text);
	transition: border-color .2s, box-shadow .2s;
}

.dw-input input:focus {
	border-color: var(--dw-cyan);
	box-shadow: 0 0 0 3px rgba(78, 203, 224, .1);
}

.dw-donate-button {
	grid-column: 1 / -1;
	height: 46px;
	margin-top: 5px;
	border: 1px solid rgba(112, 221, 236, .65);
	border-radius: 5px;
	background: linear-gradient(110deg, rgba(25, 125, 147, .9), rgba(37, 161, 175, .9));
	box-shadow: 0 8px 20px rgba(17, 138, 158, .2);
	color: #f5fdff;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .08em;
	cursor: pointer;
	transition: transform .2s, filter .2s;
}

.dw-donate-button:hover {
	filter: brightness(1.12);
	transform: translateY(-1px);
}

.dw-donate-button.disabled {
	opacity: .55;
	pointer-events: none;
}

.dw-result {
	min-height: 20px;
	margin-top: 10px;
}

.dw-completed-message {
	margin-top: 18px;
	padding: 13px 15px;
	border: 1px solid rgba(91, 211, 192, .3);
	border-radius: 5px;
	background: rgba(31, 137, 123, .12);
	color: #8ee9d9;
}

.dw-recent {
	padding: 0 30px 28px;
}

.dw-donators-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 14px 16px;
	border: 1px solid rgba(89, 215, 230, .28);
	border-radius: 6px;
	background: linear-gradient(135deg, rgba(24, 49, 68, .82), rgba(12, 27, 42, .9));
	box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
	color: var(--dw-text);
	font-size: 15px;
	line-height: 1.35;
	font-weight: 800;
	letter-spacing: .02em;
	text-align: left;
	cursor: pointer;
	transition: border-color .2s, background .2s, color .2s;
}

@media (max-width: 575.98px) {
	.dw-donators-toggle {
		font-size: 14px;
	}
}

.dw-donators-toggle:hover,
.dw-donators-toggle.is-open {
	border-color: rgba(89, 215, 230, .58);
	background: linear-gradient(135deg, rgba(29, 68, 88, .92), rgba(15, 36, 53, .96));
	color: #fff;
}

.dw-donators-toggle i {
	margin-left: 12px;
	color: var(--dw-cyan);
	transition: transform .2s;
}

.dw-donators-toggle.is-open i {
	transform: rotate(180deg);
}

.dw-donators-panel {
	display: none;
	padding-top: 18px;
}

.dw-section-heading {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
	color: var(--dw-muted);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .12em;
}

.dw-section-heading::after {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, var(--dw-line), transparent);
}

.dw-donation-history {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.dw-donation-history__item {
	display: flex !important;
	align-items: center;
	min-width: 0;
	padding: 10px 12px !important;
	border: 1px solid rgba(80, 150, 198, .18) !important;
	border-radius: 6px;
	background: rgba(8, 16, 27, .56);
	text-decoration: none !important;
	transition: border-color .2s, background .2s;
}

.dw-donation-history__item:hover {
	border-color: rgba(88, 205, 226, .5) !important;
	background: rgba(17, 34, 49, .78);
}

.dw-donation-history__item.is-hidden {
	display: none !important;
}

.dw-donation-history__item > img {
	flex: 0 0 40px;
	width: 40px !important;
	height: 40px !important;
	margin: 0 11px 0 0 !important;
	border: 1px solid rgba(105, 196, 224, .36);
	border-radius: 50%;
	object-fit: cover;
}

.dw-donation-history__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	min-width: 0;
}

.dw-donation-history__head strong {
	overflow: hidden;
	font-size: 13px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dw-donation-history__head b {
	flex: 0 0 auto;
	color: var(--dw-gold);
	font-size: 11px;
	white-space: nowrap;
}

.dw-donation-history__comment {
	display: block;
	margin-top: 5px;
	color: #9fb2c5;
	font-size: 10px;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.dw-donation-history__comment i {
	margin-right: 4px;
}

.dw-donations-more {
	display: block;
	width: 100%;
	margin-top: 10px;
	padding: 10px 14px;
	border: 1px solid rgba(89, 215, 230, .28);
	border-radius: 6px;
	background: rgba(16, 35, 51, .78);
	color: #cce9f4;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

.dw-donations-more:hover {
	border-color: rgba(89, 215, 230, .55);
	background: rgba(24, 53, 72, .9);
	color: #fff;
}

.dw-donator-grid,
.dw-supporters__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.dw-person-card,
.dw-supporter-card {
	display: flex !important;
	align-items: center;
	min-width: 0;
	padding: 11px !important;
	border: 1px solid rgba(80, 150, 198, .18) !important;
	border-radius: 6px;
	background: rgba(8, 16, 27, .56);
	text-decoration: none !important;
	transition: transform .2s, border-color .2s, background .2s;
}

.dw-person-card__position {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 25px;
	min-width: 25px;
	max-width: 25px;
	width: 25px;
	height: 25px;
	padding: 0 !important;
	margin-right: 9px;
	border: 1px solid rgba(255, 215, 106, .34);
	border-radius: 50%;
	background: rgba(255, 215, 106, .08);
	color: var(--dw-gold);
	font-size: 10px;
	font-weight: 900;
}

.dw-person-card:hover,
.dw-supporter-card:hover {
	border-color: rgba(88, 205, 226, .5) !important;
	background: rgba(17, 34, 49, .78);
	transform: translateY(-2px);
}

.dw-person-card img,
.dw-supporter-card img {
	flex: 0 0 44px;
	min-width: 44px;
	max-width: 44px;
	width: 44px !important;
	min-height: 44px;
	max-height: 44px;
	height: 44px !important;
	margin: 0 11px 0 0 !important;
	border: 1px solid rgba(105, 196, 224, .36);
	border-radius: 50%;
	object-fit: cover;
}

.dw-person-card__body,
.dw-supporter-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.dw-person-card strong,
.dw-supporter-card strong {
	overflow: hidden;
	font-size: 13px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dw-person-card__group {
	align-self: flex-start;
	margin-top: 3px;
	padding: 2px 7px;
	border: 1px solid color-mix(in srgb, var(--group-color) 45%, transparent);
	border-radius: 20px;
	color: var(--group-color);
	font-size: 9px;
	font-style: normal;
	line-height: 1.3;
}

.dw-person-card__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 5px;
	color: var(--dw-muted);
	font-size: 10px;
}

.dw-person-card {
	align-items: flex-start;
}

.dw-person-card__history {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 7px;
	padding-top: 6px;
	border-top: 1px solid rgba(80, 150, 198, .14);
}

.dw-person-card__history-item {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 7px;
	align-items: baseline;
	min-width: 0;
	color: var(--dw-muted);
	font-size: 9px;
	line-height: 1.35;
}

.dw-person-card__history-item b {
	color: var(--dw-gold);
	font-size: 9px;
	white-space: nowrap;
}

.dw-person-card__history-item em {
	min-width: 0;
	overflow-wrap: anywhere;
	color: #9fb2c5;
	font-style: normal;
}

.dw-person-card__history-item i {
	margin-right: 2px;
}

.dw-supporter-card__amount {
	margin-top: 5px;
	color: var(--dw-gold);
	font-size: 10px;
	font-weight: 800;
}

.dw-supporter-card__amount i {
	margin-right: 3px;
}

.dw-person-card__meta em {
	overflow: hidden;
	font-style: normal;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dw-supporters {
	margin-top: 20px;
	padding: 26px 30px 30px;
}

.dw-supporters__intro {
	margin: 0 0 18px;
	color: #b7c9da;
	font-size: 13px;
	line-height: 1.55;
	text-align: center;
}

.dw-supporters .dw-section-heading {
	justify-content: center;
	color: var(--dw-text);
	font-size: 13px;
}

.dw-supporters .dw-section-heading::before {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--dw-line));
}

.dw-closed-card {
	padding: 0 28px 30px !important;
}

@supports not (color: color-mix(in srgb, white 50%, transparent)) {
	.dw-person-card__group {
		border-color: rgba(100, 180, 220, .35);
	}
}

@media (max-width: 991px) {
	.dw-donation-card__body {
		grid-template-columns: 1fr;
	}

	.dw-description {
		border-top: 1px solid rgba(80, 150, 198, .2);
		border-left: 0;
	}

	.dw-donator-grid,
	.dw-supporters__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 575px) {
	.dw-hero {
		padding: 25px 18px;
	}

	.dw-hero h1 {
		font-size: 22px;
	}

	.dw-donation-card__head {
		padding: 22px 18px 16px;
	}

	.dw-donation-card__head h2 {
		font-size: 19px;
	}

	.dw-progress {
		margin: 0 18px;
	}

	.dw-summary {
		grid-template-columns: 1fr 1fr;
	}

	.dw-summary > div {
		padding: 13px 8px;
	}

	.dw-summary > div:nth-child(3) {
		grid-column: 1 / -1;
		border-top: 1px solid rgba(80, 150, 198, .17);
		border-left: 0;
	}

	.dw-action,
	.dw-description,
	.dw-supporters {
		padding: 22px 18px;
	}

	.dw-donate-form {
		grid-template-columns: 1fr;
	}

	.dw-donate-button {
		grid-column: auto;
	}

	.dw-donator-grid,
	.dw-supporters__grid {
		grid-template-columns: 1fr;
	}

	.dw-recent {
		padding: 0 18px 22px;
	}
}

