#copyButton {
	width: 100%;
}

.fancy-result {
	overflow-wrap: anywhere;
	font-size: clamp(2rem, 7vw, 3.5rem);
	line-height: 1.25;
}

.symbol-panel {
	height: 169px;
	box-shadow: none;
	justify-content: normal;
	margin-top: 16px;
	padding: 16px;
	overflow-y: auto;
	overflow-x: hidden;
}

.fancy-height0 {
	height: 0%;
	padding: 0;
}

.fancy-height50 {
	height: 50%;
}

.symbol-grid {
	display: grid;
	grid-template-columns: repeat(10, minmax(0, 1fr));
	gap: 4px;
	width: 100%;
	flex-shrink: 0;
}

.cell {
	display: flex;
	aspect-ratio: 1 / 1;
	min-width: 0;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	cursor: pointer;
	background: var(--surface-light);
	border: 1px solid var(--border);
	border-radius: 12px;
	transition: background 0.2s ease;
}

	.cell span {
		display: block;
		font-size: min(2.5rem, 80cqw, 80cqh);
		line-height: 1;
		transform: translateY(-2px);
	}

	.cell.selected {
		background: var(--pink);
	}


@media (max-width: 500px) {
	.symbol-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}
