/**
 * Top-Erotik Kundenmenü – Rot/Weiß.
 */

body.te-has-account .toperotik-page > .eib-dir-title {
	display: none;
}

.te-acc-notice {
	padding: 10px 14px;
	border-radius: 4px;
	margin: 0 0 16px;
}
.te-acc-notice.ok {
	background: #e8f6ee;
	border: 1px solid #8dcf9f;
	color: #146c2e;
}
.te-acc-notice.err {
	background: #fdeaea;
	border: 1px solid #e3a0a0;
	color: #8a1f1f;
}

.te-acc {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 28px;
	margin: 4px 0 32px;
	align-items: start;
}
.te-acc__nav {
	background: #fff;
	border: 1px solid #ead0d0;
	border-radius: 6px;
	padding: 14px 0 8px;
	position: sticky;
	top: 16px;
}
.te-acc__who {
	margin: 0 16px 4px;
	font-weight: 700;
	color: #c81e1e;
}
.te-acc__pts {
	margin: 0 16px 12px;
	font-size: 13px;
	color: #666;
}
.te-acc__pts strong {
	color: #c81e1e;
	font-size: 18px;
}
.te-acc__link {
	display: block;
	padding: 10px 16px;
	color: #c81e1e;
	text-decoration: none;
	border-left: 3px solid transparent;
}
.te-acc__link:hover {
	background: #fdeaea;
	color: #9a1616;
}
.te-acc__link.is-active,
.te-acc__link.is-active:hover {
	background: #c81e1e;
	color: #fff;
	border-left-color: #9a1616;
	font-weight: 700;
}
.te-acc__link--out {
	margin-top: 8px;
	border-top: 1px solid #ead0d0;
	color: #666;
	font-size: 13px;
}

.te-acc__main h2 {
	margin: 0 0 12px;
	font-size: 26px;
	color: #c81e1e;
}
.te-acc__main h3 {
	font-size: 18px;
	margin: 22px 0 10px;
	color: #9a1616;
}
.te-acc-help,
.te-acc-guest p {
	color: #555;
	margin: 0 0 16px;
}
.te-acc-empty {
	background: #fdeaea;
	border: 1px solid #ead0d0;
	border-radius: 6px;
	padding: 12px 14px;
	margin: 0 0 16px;
	color: #6a1b1b;
}

.te-acc-kpis {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 16px 0;
}
.te-acc-kpi {
	display: block;
	background: #faf4f4;
	border: 1px solid #ead0d0;
	border-radius: 6px;
	padding: 14px;
	text-align: center;
	color: #222;
	text-decoration: none;
}
.te-acc-kpi strong {
	display: block;
	font-size: 22px;
	color: #c81e1e;
	margin-bottom: 4px;
}
.te-acc-kpi span {
	font-size: 13px;
	color: #666;
}

.te-acc-quick {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 8px 0 18px;
}
.te-acc-steps {
	padding-left: 20px;
}
.te-acc-steps li,
.te-acc-earn li {
	margin: 6px 0;
}
.te-acc-balance {
	font-size: 20px;
}

.te-acc-btn {
	display: inline-block;
	background: #fff;
	color: #c81e1e;
	border: 1px solid #c81e1e;
	border-radius: 4px;
	padding: 8px 14px;
	cursor: pointer;
	font: inherit;
	text-decoration: none;
	line-height: 1.3;
}
.te-acc-btn:hover {
	background: #fdeaea;
	color: #9a1616;
}
.te-acc-btn--primary {
	background: #c81e1e;
	color: #fff;
	border-color: #c81e1e;
}
.te-acc-btn--primary:hover {
	background: #9a1616;
	color: #fff;
}
.te-acc-btn--ghost {
	border-color: #999;
	color: #444;
}
.te-acc-btn--small {
	padding: 5px 9px;
	font-size: 13px;
}

.te-acc-form label {
	display: block;
	font-weight: 700;
	margin: 12px 0 4px;
}
.te-acc-form input[type="text"],
.te-acc-form input[type="email"],
.te-acc-form input[type="password"],
.te-acc-form input[type="number"],
.te-acc-form input[type="url"],
.te-acc-form select,
.te-acc-form textarea {
	width: 100%;
	max-width: 640px;
	padding: 8px 10px;
	border: 1px solid #c9c9c9;
	border-radius: 4px;
	font: inherit;
	box-sizing: border-box;
}
.te-acc-form--grid {
	max-width: 960px;
}
.te-acc-block {
	border: 1px solid #ead0d0;
	border-radius: 6px;
	margin: 18px 0;
	padding: 12px 14px 16px;
	max-width: 960px;
}
.te-acc-block legend {
	font-weight: 700;
	color: #c81e1e;
	padding: 0 6px;
}
.te-acc-checks {
	margin: 10px 0 14px;
}
.te-acc-checks > strong {
	display: block;
	margin: 0 0 6px;
}
.te-acc-checks > div {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 2px 12px;
}
.te-acc-price-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	max-width: 640px;
}
.te-acc-price-row select,
.te-acc-price-row input {
	flex: 1 1 180px;
	max-width: none;
}
.te-acc-extras fieldset {
	border: 1px solid #ead0d0;
	border-radius: 6px;
	margin: 0 0 16px;
	padding: 12px 14px;
}
.te-acc-extras legend {
	font-weight: 700;
	color: #c81e1e;
	padding: 0 6px;
}
.te-acc-radio,
.te-acc-check {
	display: block;
	font-weight: 400;
	margin: 8px 0;
}
.te-acc-check span,
.te-acc-radio span {
	display: block;
	color: #666;
	font-size: 13px;
	margin: 2px 0 0 22px;
}
.te-acc-total {
	font-size: 18px;
	margin: 12px 0;
}

.te-acc-table-wrap {
	overflow-x: auto;
}
.te-acc-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.te-acc-table th,
.te-acc-table td {
	border-bottom: 1px solid #ead0d0;
	padding: 10px 8px;
	text-align: left;
	vertical-align: top;
}
.te-acc-ad-cell {
	display: flex;
	gap: 10px;
	align-items: center;
}
.te-acc-ad-cell img {
	width: 52px;
	height: 70px;
	object-fit: cover;
	border-radius: 3px;
}
.te-acc-ad-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.te-acc-inline {
	display: inline;
	margin: 0;
}
.te-acc-pill {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 10px;
	background: #faf4f4;
	font-size: 12px;
}
.te-acc-pill.on {
	background: #e8f6ee;
	color: #146c2e;
}
.te-acc-pill.off {
	background: #f3f3f3;
	color: #666;
}
.te-acc-ads-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}
.te-acc-ads-head h2 {
	margin: 0;
}
.te-acc-guest {
	max-width: 480px;
	padding: 8px 0 28px;
}

.dsmf-cell.te-has-border .dsmf-card,
article.dsmf-cell.te-has-border .dsmf-card {
	box-shadow: 0 0 0 4px #c81e1e, 0 8px 18px rgba(200, 30, 30, 0.22);
}
.dsmf-cell.te-is-first .dsmf-card {
	position: relative;
}
.dsmf-cell.te-is-first .dsmf-card::after {
	content: "FIRST";
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 5;
	background: #c81e1e;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 3px 7px;
	border-radius: 3px;
}
.dsmf-cell.te-is-bold .dsmf-card-desc p:first-child,
.dsmf-cell.te-is-bold .dsmf-card-title {
	font-weight: 800;
}
.dsmf-cell.te-has-bg .dsmf-card {
	background: #fdeaea;
}
.dsmf-cell.te-is-special .dsmf-card-img {
	outline: 3px solid #c81e1e;
	outline-offset: -3px;
}

@media (max-width: 820px) {
	.te-acc {
		grid-template-columns: 1fr;
	}
	.te-acc__nav {
		position: static;
		display: flex;
		flex-wrap: wrap;
		padding-bottom: 6px;
	}
	.te-acc__who,
	.te-acc__pts {
		flex: 1 1 100%;
	}
	.te-acc__link {
		flex: 1 1 46%;
		text-align: center;
		border-left: 0;
		border-radius: 4px;
		margin: 2px;
	}
	.te-acc__link--out {
		flex: 1 1 100%;
		border-top: 0;
		margin-top: 4px;
	}
	.te-acc-kpis {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
