body {
	text-align: center;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

ul {
	list-style-position: inside;
	padding: 0;
}

li {
	color: #95a1ac; /* Secondary Text color */
	list-style-position: inside;
}

h1 {
	font-size: 1.8em;
}

button {
	margin-bottom: 15px;
}

footer {
	margin-top: auto;
}

.info-square img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

summary {
	cursor: pointer;
	font-weight: bold;
	font-size: 1.17em;
	display: block;
}

details > summary {
	margin-inline: auto;
    text-align: center;
}

#platforms > div {
	display: none;
}

#platforms a {
	color: inherit;
	text-decoration: none;
}

#pageContent {
	text-align: left;
	margin-left: 10%;
	margin-right: 10%
}

.button-grid {
	display: grid;
	gap: 4px;
}

.button-grid button {
	width: 100%;
}

.pictochat-window {
	width: min(100%, 560px);
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 15px;
}

.info {
	margin-bottom: 10px;
	height: auto;
	align-items: center;
}

.info-container {
	height: auto;
}

.info-text {
	height: auto;
}

.info-square {
	overflow: hidden;
}

.brand-stroke {
	text-shadow: 
		-1px -1px 0 rgba(238, 238, 238, 0.5), 
		 1px -1px 0 rgba(238, 238, 238, 0.5), 
		-1px  1px 0 rgba(238, 238, 238, 0.5), 
		 1px  1px 0 rgba(238, 238, 238, 0.5);
}
.brand-stroke a:hover {
	filter: brightness(1.5);
}

/* Keep each radio control and its label aligned within the selector grid. */
.radio-button {
	width: 100%;
	height: 62px;
}

.radio-button > input[type="radio"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border-radius: 0;
}

.radio-button > label {
	left: 0;
	box-sizing: border-box;
	justify-content: center;
	pointer-events: none;
}

/* Keep each window's content aligned to its inner edges. */
.pictochat-window > .info,
.pictochat-window > .pictochat-message,
.pictochat-window > .pictochat-status,
.pictochat-window > fieldset.button-grid {
	width: calc(100% - 8px);
}

.info-container {
	width: auto;
	min-width: 0;
	flex: 1;
}

.info-label {
	height: auto;
	white-space: normal;
	overflow-wrap: anywhere;
}

.info-text {
	overflow-wrap: anywhere;
}

/* Mobile layout */
@media (max-width: 600px) {
	h1 {
		font-size: 1.25em;
	}

	#pageContent {
		margin-inline: 15px;
	}

	.pictochat-window {
		width: 100%;
		max-width: 100%;
		margin-inline: auto;
	}

	.pictochat-message,
	.pictochat-status {
		width: 100%;
		min-width: 0;
		overflow-wrap: anywhere;
	}

	.info {
		width: 100%;
		padding-left: 4px;
	}

	.info-square {
		width: 72px;
		height: 72px;
		flex: 0 0 72px;
	}

	.info-container {
		width: auto;
		min-width: 0;
		flex: 1;
	}

	.info-label {
		height: auto;
		min-height: 26px;
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.info-text {
		overflow-wrap: anywhere;
	}

	.button-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.radio-button {
		width: 100%;
	}
}
