html,body {
	margin: 0;
	padding: 0;
	font-family: system-ui, Arial, sans-serif;
	background: #f8f8fa;
	color: #222;
}
body {
	max-width: 100vw;
	width: 100%;
	margin: 0 auto;
	padding: 2.5vw 2vw 2vw 2vw;
	box-sizing: border-box;
}
h1 {
	color: #4a90e2;
	font-size: 2.2em;
	margin-bottom: 0.7em;
	text-align: center;
}
.result {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 8px #0001;
	margin: 1.2em 0;
	padding: 1.2em;
	font-size: 1.15em;
	word-break: break-word;
}
.result h2 {
	margin-top: 0;
	color: #333;
	font-size: 1.15em;
}
.result pre {
	background: #f0f0f0;
	padding: 0.7em;
	border-radius: 4px;
	font-size: 1.05em;
	overflow-x: auto;
}
button {
	background: #4a90e2;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 1.1em 0;
	font-size: 1.2em;
	cursor: pointer;
	width: 100%;
	margin-bottom: 1.2em;
	box-sizing: border-box;
	touch-action: manipulation;
}
button:active {
	background: #357ab8;
}
form {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 8px #0001;
	padding: 1.2em;
	margin-bottom: 1.5em;
}
label {
	display: block;
	margin: 0.7em 0 0.3em;
	font-size: 1.1em;
}
input[type="text"] {
	width: 100%;
	padding: 0.8em;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-size: 1.1em;
	box-sizing: border-box;
}
@media (max-width: 600px) {
	html, body {
		font-size: 17px;
	}
	body {
		max-width: 100vw;
		padding: 3vw 2vw 2vw 2vw;
	}
	h1 {
		font-size: 1.1em;
	}
	.result, form {
		padding: 1em;
		font-size: 1em;
	}
	button {
		font-size: 1em;
		padding: 1em 0;
	}
	input[type="text"] {
		font-size: 1em;
		padding: 0.8em;
	}
	label {
		font-size: 1em;
	}
}