h1 { text-align: center; margin-bottom: 1.5rem; }
#deeplink-input { width: 100%; padding: 0.75rem; font-size: 1.1rem; border-radius: 6px; border: none; margin-bottom: 1.5rem; background: #181c20; color: #f3f3f3; box-shadow: 0 1px 4px #0004; }


body {
	font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
	background: #181c20;
	color: #f3f3f3;
	margin: 0;
	min-height: 100vh;
}

.container {
	max-width: 430px;
	width: 98vw;
	margin: 1.5rem auto;
	background: #23272b;
	border-radius: 16px;
	box-shadow: 0 2px 16px #0008;
	padding: 2rem 1.2rem 1.2rem 1.2rem;
	box-sizing: border-box;
}

h1 {
	text-align: center;
	margin-bottom: 1.5rem;
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}

/* Home page tool links section */
.tools-list {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.2rem;
}
.tools-list li {
	width: 100%;
	max-width: 320px;
}
.tool-card {
	background: #1a1e22;
	border-radius: 10px;
	box-shadow: 0 1px 6px #0003;
	padding: 1.1rem 1.2rem;
	text-align: center;
	transition: box-shadow 0.2s;
}
.tool-card:hover {
	box-shadow: 0 2px 12px #00e0ff44;
}
.tools-list a, .back-link {
	color: #00e0ff;
	text-decoration: none;
	font-weight: 600;
	font-size: 1.15rem;
	display: block;
}
.tools-list a:hover, .back-link:hover {
	text-decoration: underline;
}

/* Quicklinks tool page */
#deeplink-input {
	width: 100%;
	padding: 1.1rem 1rem;
	font-size: 1.2rem;
	border-radius: 8px;
	border: none;
	margin-bottom: 1.5rem;
	background: #181c20;
	color: #f3f3f3;
	box-shadow: 0 1px 4px #0004;
	box-sizing: border-box;
	outline: none;
	transition: box-shadow 0.2s;
}
#deeplink-input:focus {
	box-shadow: 0 0 0 2px #00e0ff55, 0 1px 4px #0004;
}
#deeplink-input.error {
	box-shadow: 0 0 0 2px #ff0033cc, 0 1px 4px #0004;
}

.links-grid {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	width: 100%;
}

.link-row {
	background: #1a1e22;
	border-radius: 8px;
	padding: 1.1rem 1rem;
	display: block;
	box-shadow: 0 1px 4px #0002;
	width: 100%;
	word-break: break-all;
	font-size: 1.13rem;
}
.link-row a {
	color: #00e0ff;
	word-break: break-all;
	font-size: 1.13rem;
	display: block;
}

.back-link {
	margin-top: 2.2rem;
	text-align: center;
	font-size: 1.1rem;
}

@media (max-width: 600px) {
	.container {
		padding: 1.1rem 0.3rem 0.7rem 0.3rem;
		max-width: 100vw;
		border-radius: 0;
		margin: 0;
		min-height: 100vh;
	}
	h1 {
		font-size: 1.25rem;
		margin-bottom: 1.1rem;
	}
	#deeplink-input {
		font-size: 1.05rem;
		padding: 0.9rem 0.7rem;
		margin-bottom: 1.1rem;
	}
	.link-row {
		padding: 0.9rem 0.7rem;
		font-size: 1.01rem;
	}
	.tools-list a, .back-link {
		font-size: 1.01rem;
	}
}
