.bdtf {
	--bdtf-border: rgba(206, 212, 223, 0.92);
	--bdtf-shadow: 0 18px 38px rgba(17, 13, 28, 0.1);
	--bdtf-gold-top: #ffd35c;
	--bdtf-gold-bottom: #e1ac2e;
	--bdtf-text: #1f2433;
	--bdtf-muted: #5e6679;
	color: var(--bdtf-text);
}

.bdtf--single {
	max-width: 980px;
}

.bdtf__hero {
	margin-bottom: 18px;
	padding: 20px 22px;
	border: 1px solid var(--bdtf-border);
	border-radius: 16px;
	background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
	box-shadow: var(--bdtf-shadow);
}

.bdtf__eyebrow,
.bdtf-panel__kicker,
.bdtf-card__eyebrow,
.bdtf-field__label {
	margin: 0 0 6px;
	color: #8a5d1d;
	font-family: "Arial Narrow", "Roboto Condensed", "Franklin Gothic Medium", sans-serif;
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
}

.bdtf__title,
.bdtf-panel__title,
.bdtf-card__title {
	margin: 0;
	color: #1a2031;
	font-family: "Arial Narrow", "Roboto Condensed", "Franklin Gothic Medium", sans-serif;
	font-weight: 900;
	text-transform: uppercase;
}

.bdtf__title {
	font-size: 34px;
	line-height: 0.98;
}

.bdtf__subtitle {
	margin: 12px 0 0;
	color: var(--bdtf-muted);
	font-size: 15px;
	line-height: 1.6;
	max-width: 860px;
}

.bdtf__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	align-items: start;
}

.bdtf-panel {
	padding: 18px;
	border: 1px solid var(--bdtf-border);
	border-radius: 16px;
	background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
	box-shadow: var(--bdtf-shadow);
}

.bdtf-panel__head {
	margin-bottom: 14px;
}

.bdtf-panel__title {
	font-size: 28px;
	line-height: 1;
}

.bdtf-form {
	display: grid;
	gap: 12px;
	margin-bottom: 16px;
}

.bdtf-player-fields {
	display: grid;
	gap: 10px;
}

.bdtf-player-field {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
	align-items: center;
}

.bdtf-form--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bdtf-field {
	display: block;
	min-width: 0;
}

.bdtf-field__input {
	width: 100%;
	height: 42px;
	padding: 0 14px;
	border: 1px solid #dbe0ea;
	border-radius: 10px;
	background: #fff;
	color: #1f2433;
	font-size: 15px;
	box-sizing: border-box;
	box-shadow: 0 4px 12px rgba(16, 14, 25, 0.05);
}

.bdtf-field__textarea {
	height: auto;
	padding: 12px 14px;
	resize: vertical;
}

.bdtf-field__hint {
	display: block;
	margin-top: 6px;
	color: var(--bdtf-muted);
	font-size: 12px;
	line-height: 1.5;
}

.bdtf-form__actions {
	grid-column: 1 / -1;
	display: flex;
	justify-content: flex-end;
}

.bdtf-form__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 12px;
}

.bdtf-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 168px;
	height: 42px;
	padding: 0 18px;
	border: 2px solid #261d11;
	border-radius: 22px;
	background: linear-gradient(180deg, var(--bdtf-gold-top) 0%, var(--bdtf-gold-bottom) 100%);
	box-shadow: 0 4px 0 #171717, 0 8px 16px rgba(16, 14, 25, 0.2);
	color: #2a1700;
	font-family: "Arial Narrow", "Roboto Condensed", "Franklin Gothic Medium", sans-serif;
	font-size: 14px;
	font-weight: 900;
	text-transform: uppercase;
	cursor: pointer;
}

.bdtf-button--ghost {
	min-width: 0;
	height: 38px;
	padding: 0 14px;
	border-radius: 18px;
	background: #fff7e0;
	box-shadow: none;
}

.bdtf-button:hover,
.bdtf-button:focus {
	filter: brightness(1.03);
	transform: translateY(1px);
	box-shadow: 0 3px 0 #171717, 0 6px 12px rgba(16, 14, 25, 0.18);
}

.bdtf-player-field__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid #d8b86b;
	border-radius: 10px;
	background: #fff8e9;
	color: #8a5d1d;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.bdtf-player-field__remove:hover,
.bdtf-player-field__remove:focus {
	background: #fff0c5;
}

.bdtf-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 16px;
}

.bdtf-cards--guilds {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bdtf-card {
	padding: 14px;
	border: 1px solid rgba(222, 227, 236, 0.92);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 8px 18px rgba(16, 14, 25, 0.06);
}

.bdtf-card__title {
	font-size: 24px;
	line-height: 0.98;
}

.bdtf-card__line,
.bdtf__empty,
.bdtf__error {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.55;
}

.bdtf-card__subblock {
	margin-top: 12px;
	font-size: 14px;
}

.bdtf-list {
	margin: 8px 0 0;
	padding-left: 18px;
}

.bdtf-muted {
	color: var(--bdtf-muted);
}

.bdtf__empty {
	color: var(--bdtf-muted);
}

.bdtf__error {
	color: #a12a35;
}

.bdtf-table-wrap {
	overflow-x: auto;
}

.bdtf-table {
	width: 100%;
	min-width: 620px;
	border-collapse: collapse;
}

.bdtf-table th,
.bdtf-table td {
	padding: 11px 12px;
	border-top: 1px solid rgba(222, 227, 236, 0.92);
	text-align: left;
	vertical-align: top;
}

.bdtf-table thead th {
	border-top: 0;
	background: linear-gradient(180deg, #223a66 0%, #152846 100%);
	color: #f7fbff;
	font-family: "Arial Narrow", "Roboto Condensed", "Franklin Gothic Medium", sans-serif;
	font-size: 14px;
	font-weight: 900;
}

.bdtf-table tbody tr:nth-child(odd) td,
.bdtf-table tbody tr:nth-child(odd) th {
	background: rgba(255, 255, 255, 0.95);
}

.bdtf-table tbody tr:nth-child(even) td,
.bdtf-table tbody tr:nth-child(even) th {
	background: rgba(233, 241, 251, 0.94);
}

.bdtf-indicator {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	margin-right: 6px;
	font-weight: 900;
	line-height: 1;
}

.bdtf-indicator::before {
	display: block;
}

.bdtf-indicator.is-best {
	color: #1f8a48;
}

.bdtf-indicator.is-best::before {
	content: "\2191";
}

.bdtf-indicator.is-worse {
	color: #b53a34;
}

.bdtf-indicator.is-worse::before {
	content: "\2193";
}

.bdtf-indicator.is-equal {
	color: #c49117;
}

.bdtf-indicator.is-equal::before {
	content: "\25CF";
}

.bdtf-indicator.is-neutral {
	color: #c49117;
}

.bdtf-indicator.is-neutral::before {
	content: "\2022";
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 1024px) {
	.bdtf__grid,
	.bdtf-form--two,
	.bdtf-cards,
	.bdtf-cards--guilds {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.bdtf__title {
		font-size: 28px;
	}

	.bdtf-panel {
		padding: 14px;
	}

	.bdtf-button {
		width: 100%;
	}

	.bdtf-form__toolbar {
		align-items: stretch;
	}

	.bdtf-player-field {
		grid-template-columns: 1fr;
	}

	.bdtf-player-field__remove {
		width: 100%;
	}
}
