.sda-slot {
	box-sizing: border-box;
	clear: both;
	max-width: 100%;
}

.sda-slot[hidden] {
	display: none !important;
}

.sda-auto[hidden],
.sda-auto-content[hidden],
.sda-auto-panel[hidden],
.sda-reopen[hidden] {
	display: none !important;
}

.sda-auto {
	box-sizing: border-box;
	font: 13px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #1d2327;
	background: #fff;
	border: 1px solid #dcdcde;
}

.sda-toggle {
	appearance: none;
	box-sizing: border-box;
	display: block;
	border: 1px solid #8c8f94;
	border-radius: 3px;
	background: #f6f7f7;
	color: #1d2327;
	cursor: pointer;
	font: inherit;
	line-height: 1.4;
	min-height: 36px;
	padding: 6px 8px;
	max-width: 100%;
}

.sda-toggle:focus-visible { outline: 3px solid #2271b1; outline-offset: 2px; }
.sda-toggle:hover { background: #e9ecef; }
.sda-auto-content { padding: 6px; }
.sda-top-anchor { position: relative; width: 100%; padding: 6px 12px; border: 0; text-align: center; }
.sda-top-anchor .sda-auto-panel { width: calc(var(--sda-creative-width, 100%) + 14px); max-width: 100%; margin: 0 auto; }
/* Theme image rules and srcset density must not enlarge a configured creative. */
.sda-top-anchor .sda-image { width: var(--sda-creative-width, auto) !important; height: auto !important; max-width: 100% !important; max-height: none; object-fit: contain; }
.sda-top-anchor .sda-creative { display: flex; width: 100%; align-items: center; }
.sda-top-anchor .sda-link, .sda-top-anchor picture { width: 100%; }
.sda-left-rail, .sda-right-rail { position: fixed; width: 160px; max-height: calc(100vh - 56px); z-index: 90; background: transparent; border: 0; }
.sda-left-rail { left: 12px; }
.sda-right-rail { right: 12px; }
.sda-left-rail .sda-image, .sda-right-rail .sda-image { width: auto; max-height: var(--sda-rail-image-height, calc(100vh - 146px)); object-fit: contain; }
.sda-left-rail .sda-creative, .sda-right-rail .sda-creative { align-items: center; }
.sda-auto-panel { transform-origin: center top; }
.sda-auto .sda-auto-content { box-sizing: border-box; background: #fff; padding: 8px 6px 6px; border: 1px solid #d9d9d9; border-top-color: #ef4c78; box-shadow: -5px 3px 0 rgb(0 0 0 / 10%); }
.sda-auto .sda-disclosure { color: #62656a; font-size: 10px; line-height: 1.3; letter-spacing: 0; margin-bottom: 5px; }
.sda-auto .sda-toggle, .sda-auto .sda-reopen {
	appearance: none;
	box-sizing: border-box;
	display: block;
	width: calc(100% - 12px);
	max-width: calc(100% - 12px);
	margin: 4px 6px 0;
	padding: 4px 6px;
	min-height: 28px;
	border: 0;
	border-radius: 0;
	background: #5b6056;
	color: #fff;
	font: 600 14px/20px Arial, sans-serif;
	letter-spacing: 0;
	text-align: center;
	text-transform: uppercase;
	white-space: normal;
	cursor: pointer;
}
.sda-auto .sda-toggle:hover, .sda-auto .sda-reopen:hover { background: #42473e; color: #fff; }
.sda-auto .sda-reopen { min-height: 32px; font-size: 12px; }
.sda-top-anchor .sda-reopen { width: 148px; max-width: 100%; margin: 4px auto 0; }
.sda-auto .sda-toggle:focus-visible, .sda-auto .sda-reopen:focus-visible { outline: 3px solid #2271b1; outline-offset: 3px; }
.sda-is-closing .sda-auto-panel { animation: sda-rail-close 420ms ease-in forwards; pointer-events: none; }
@keyframes sda-rail-close {
	0% { transform: translateY(0); opacity: 1; }
	55% { transform: translateY(-28px); opacity: 1; }
	100% { transform: translateY(-64px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .sda-is-closing .sda-auto-panel { animation: none; } }
@media (max-width: 1023px) { .sda-left-rail, .sda-right-rail { display: none !important; } }

.sda-creative {
	display: inline-flex;
	flex-direction: column;
	max-width: 100%;
}

.sda-disclosure {
	color: #5f6368;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 11px;
	letter-spacing: 0.04em;
	line-height: 1.4;
	margin-bottom: 4px;
	text-transform: uppercase;
}

.sda-link,
.sda-creative picture {
	display: block;
	max-width: 100%;
}

.sda-image {
	display: block;
	height: auto;
	max-width: 100%;
}

.sda-align-left {
	text-align: left;
}

.sda-align-center {
	text-align: center;
}

.sda-align-right {
	text-align: right;
}

.sda-align-wide,
.sda-align-full {
	text-align: center;
	width: 100%;
}

.sda-section-ad { width: 100%; min-width: 0; margin: 28px 0; grid-column: 1 / -1; flex: 0 0 100%; }
.sda-section-ad .sda-creative { width: var(--sda-creative-width, auto); max-width: 100%; align-items: center; }
.sda-section-ad .sda-link, .sda-section-ad picture { width: 100%; }
.sda-section-ad .sda-image { width: var(--sda-creative-width, auto) !important; height: auto !important; max-width: 100% !important; max-height: none; object-fit: contain; }

