.ftn-modal-backdrop[hidden],
.ftn-copy-fallback {
	display: none !important;
}

.ftn-modal-backdrop.ftn-show {
	display: flex;
}

.ftn-account-container ~ .ftn-modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 100000;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	overflow: auto;
	background: rgba(15, 23, 42, .58);
}

.ftn-account-container ~ .ftn-modal-backdrop > .ftn-modal {
	position: relative;
	display: block;
	width: min(720px, 100%);
	max-height: calc(100vh - 3rem);
	margin: auto;
	padding: 1.5rem;
	overflow: auto;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
}

.ftn-account-container ~ .ftn-modal-backdrop .ftn-close {
	position: absolute;
	top: .75rem;
	right: .75rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #f1f5f9;
	color: #0f172a;
	font-size: 1.65rem;
	line-height: 1;
	cursor: pointer;
}

.ftn-modal-title {
	margin-top: 0;
}

.ftn-delete-request-actions {
	display: flex;
	gap: .5rem;
	margin-top: 1rem;
}

.ftn-delete-request-submit {
	flex: 1;
}

.ftn-share-embed-rating {
	color: #e5e7eb;
	font-size: 13px;
}

.ftn-customer-account-identity,
.ftn-customer-account-actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.ftn-customer-account-identity {
	margin-bottom: 1.5rem;
}

.ftn-customer-account-identity img {
	border-radius: 50%;
}

.ftn-customer-account-actions {
	margin-bottom: 2rem;
}

.ftn-account-container { display:grid; grid-template-columns:minmax(210px,260px) minmax(0,1fr); gap:2rem; align-items:start; }
.ftn-account-sidebar { position:sticky; top:1rem; display:grid; gap:.75rem; padding:1rem; border:1px solid #e2e8f0; border-radius:14px; background:#fff; box-shadow:0 8px 24px rgba(15,23,42,.05); }
.ftn-account-navigation { display:grid; gap:.25rem; }
.ftn-account-navigation a { display:block; padding:.75rem .85rem; border-radius:9px; color:#334155; font-weight:700; text-decoration:none; }
.ftn-account-navigation a:hover,.ftn-account-navigation a[aria-current=page] { color:#075e4d; background:#eafaf5; }
.ftn-account-main { min-width:0; }
.ftn-preferences-modal-backdrop .ftn-notification-preferences { max-height:65vh; overflow:auto; }
@media(max-width:760px){.ftn-account-container{grid-template-columns:1fr;gap:1rem}.ftn-account-sidebar{position:static}.ftn-account-navigation{grid-template-columns:repeat(2,minmax(0,1fr))}.ftn-account-navigation a{text-align:center;font-size:.9rem}.ftn-account-container~.ftn-modal-backdrop{align-items:flex-start;padding:.75rem}.ftn-account-container~.ftn-modal-backdrop>.ftn-modal{max-height:calc(100vh - 1.5rem);padding:1.25rem}.ftn-customer-account-identity,.ftn-customer-account-actions{justify-content:center;text-align:center}}
