/* Uses the original Dimension typography, buttons, fields and article layout. */
.question-site #wrapper {
	justify-content: center;
	min-height: 100vh;
	min-height: 100dvh;
	padding: 3.5rem 1rem;
}

.question-site #wrapper:before {
	display: none;
}

.question-site #header {
	width: 50rem;
	max-width: 100%;
	padding: 0;
}

.question-site #header > * {
	margin-top: 2rem;
}

.question-site #header > :first-child {
	margin-top: 0;
}

.question-site #header > *:before {
	top: calc(-2rem - 1px);
	height: calc(2rem + 1px);
}

.question-site #header .content {
	width: 100%;
}

.question-site #header .content .inner {
	padding: 2rem 0.5rem;
}

.question-site .wave-text {
	margin: 0 0 1.5rem;
	font-size: clamp(1.6rem, 6vw, 2.25rem);
	letter-spacing: 0.25rem;
}

.question-site .wave-text span {
	font-size: inherit;
}

.question-site #header nav {
	width: 32rem;
	max-width: 100%;
}

.question-site #header nav ul,
.question-site #header nav ul li {
	width: 100%;
	min-width: 0;
}

.question-site #header nav ul li a.ask-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-width: 0;
	min-height: 4.25rem;
	height: auto;
	padding: 1rem 1.25rem;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.12rem;
	line-height: 1.6;
	white-space: normal;
	text-align: center;
	background-color: rgba(255, 255, 255, 0.06);
}

.question-site #header nav ul li a.ask-button:hover {
	background-color: rgba(255, 255, 255, 0.15);
}

.ask-button:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 6px;
}

.question-site #main {
	flex-grow: 0;
	width: 100%;
}

.question-site #footer {
	position: absolute;
	bottom: 1.25rem;
	left: 1rem;
	right: 1rem;
	width: auto;
	margin: 0;
}

#ask form {
	margin-bottom: 0;
}

.bitcoin-details {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	text-align: center;
	margin-bottom: 1rem;
}

.bitcoin-details img {
	display: block;
	width: 18rem;
	max-width: 100%;
	height: auto;
	padding: 0.75rem;
	background: #ffffff;
	border-radius: 4px;
	image-rendering: pixelated;
}

.bitcoin-details code {
	max-width: 100%;
	overflow-wrap: anywhere;
	font-size: 0.85rem;
}

.bitcoin-details .button {
	max-width: 100%;
	height: auto;
	white-space: normal;
	line-height: 1.5;
	padding: 0.9rem 1.25rem;
}

#question {
	resize: vertical;
	min-height: 10rem;
	/* Prevent iOS from zooming the form when the field receives focus. */
	font-size: max(1rem, 16px);
}

.question-count {
	margin: 0.5rem 0 1.5rem;
	text-align: right;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.65);
}

.question-trap {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

#question-captcha:not(:empty) {
	margin-bottom: 1.5rem;
	min-height: 78px;
}

#question-status:empty {
	display: none;
}

#question-status[data-kind="error"] {
	color: #ffc5cc;
}

#question-status[data-kind="success"] {
	color: #c9efd6;
}

#ask .actions {
	margin-bottom: 1rem;
}

@media screen and (max-width: 480px) {
	.question-site #header > * {
		margin-top: 1.5rem;
	}

	.question-site #header > :first-child {
		margin-top: 0;
	}

	.question-site #header > *:before {
		top: calc(-1.5rem - 1px);
		height: calc(1.5rem + 1px);
	}

	.question-site #header .content .inner {
		padding: 1.5rem 0.5rem;
	}

	#ask .actions,
	#ask .actions li,
	#question-submit {
		width: 100%;
	}

	#question-submit {
		min-height: 3.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wave-text span {
		animation: none !important;
	}
}

#snowCanvas {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 2;
}

#snow-toggle {
	position: fixed;
	right: max(1rem, env(safe-area-inset-right));
	bottom: max(1rem, env(safe-area-inset-bottom));
	z-index: 10;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	min-width: 44px;
	height: 3rem;
	min-height: 44px;
	padding: 0;
	border-radius: 50%;
	background-color: rgba(27, 31, 34, 0.9);
	color: rgba(255, 255, 255, 0.55);
	touch-action: manipulation;
}

#snow-toggle[hidden] {
	display: none;
}

#snow-toggle[aria-pressed="true"] {
	color: #ffffff;
}

#snow-toggle:hover {
	background-color: #34323e;
}

#snow-toggle:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 4px;
}

#snow-toggle svg {
	width: 1.4rem;
	height: 1.4rem;
}
