/* SM SideTab – Frontend Styles | SottMedia | https://sott-media.de */
:root {
	--smst-bg:        #1d6ff2;
	--smst-color:     #ffffff;
	--smst-font-size: 13px;
	--smst-z:         9999;
}

#smst-wrapper {
	position: fixed;
	z-index: var(--smst-z);
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	writing-mode: vertical-lr;
	margin: 0;
	padding: 0;
	line-height: 0;
	font-size: 0;
}

#smst-button {
	display: inline-flex;
	align-items: center;
	gap: 0.46em;
	padding: 1.1em 0.8em;
	margin: 0;
	background: var(--smst-bg);
	color: var(--smst-color);
	text-decoration: none;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: var(--smst-font-size);
	font-weight: 600;
	letter-spacing: 0.03em;
	line-height: 1.3;
	border-radius: 8px 0 0 8px;
	box-shadow: -3px 0 12px rgba(0, 0, 0, 0.25);
	transition: filter 0.18s ease, box-shadow 0.18s ease;
	cursor: pointer;
	white-space: nowrap;
	position: relative;
	right: 0;
}

#smst-button:hover,
#smst-button:focus-visible {
	filter: brightness(1.12);
	box-shadow: -4px 0 18px rgba(0, 0, 0, 0.35);
	text-decoration: none;
	color: var(--smst-color);
}

#smst-button:focus-visible {
	outline: 3px solid var(--smst-color);
	outline-offset: 2px;
}

.smst-icon {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	writing-mode: horizontal-tb;
	width: 1.15em;
	height: 1.15em;
}

.smst-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

@media (max-width: 768px) {
	#smst-wrapper {
		right: 0;
		left: 0;
		bottom: 0;
		top: auto;
		transform: none;
		writing-mode: horizontal-tb;
		line-height: normal;
		font-size: normal;
	}
	#smst-button {
		display: flex;
		justify-content: center;
		width: 100%;
		padding: 0.9em 1.4em;
		border-radius: 0;
		box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
		position: static;
	}
}
