:root {
	--ascee-accent: #2563eb;
	--ascee-bg: #ffffff;
	--ascee-fg: #1a1a1a;
	--ascee-muted: #6b7280;
	--ascee-border: #e5e7eb;
	--ascee-radius: 999px;
}

@media (prefers-color-scheme: dark) {
	:root {
		--ascee-bg: #0f1115;
		--ascee-fg: #f5f5f5;
		--ascee-muted: #9ca3af;
		--ascee-border: #2a2d34;
	}
}

.ascee-homepage {
	min-height: 70vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ascee-bg);
	color: var(--ascee-fg);
	padding: 40px 16px;
}

.ascee-homepage-inner {
	width: 100%;
	max-width: 620px;
	text-align: center;
}

.ascee-logo {
	font-size: clamp(28px, 6vw, 44px);
	margin: 0 0 8px;
	font-weight: 700;
}

.ascee-tagline {
	color: var(--ascee-muted);
	margin: 0 0 28px;
	font-size: 15px;
}

.ascee-search-wrap {
	width: 100%;
	position: relative;
}

.ascee-search-box {
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1px solid var(--ascee-border);
	border-radius: var(--ascee-radius);
	padding: 10px 18px;
	box-shadow: 0 1px 6px rgba(0,0,0,0.06);
	background: var(--ascee-bg);
	transition: box-shadow 0.15s ease;
}

.ascee-search-box:focus-within {
	box-shadow: 0 2px 12px rgba(37,99,235,0.25);
	border-color: var(--ascee-accent);
}

.ascee-icon-search {
	color: var(--ascee-muted);
	flex-shrink: 0;
}

.ascee-search-input {
	flex: 1;
	border: none;
	outline: none;
	background: transparent;
	color: var(--ascee-fg);
	font-size: 16px;
	padding: 6px 0;
}

.ascee-search-submit {
	background: var(--ascee-accent);
	color: #fff;
	border: none;
	border-radius: var(--ascee-radius);
	padding: 8px 20px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}

.ascee-search-submit:hover {
	opacity: 0.9;
}

.ascee-autocomplete {
	list-style: none;
	margin: 6px 0 0;
	padding: 6px;
	text-align: left;
	background: var(--ascee-bg);
	border: 1px solid var(--ascee-border);
	border-radius: 14px;
	position: absolute;
	width: 100%;
	z-index: 20;
	box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.ascee-autocomplete li a {
	display: block;
	padding: 8px 12px;
	border-radius: 8px;
	color: var(--ascee-fg);
	text-decoration: none;
	font-size: 14px;
}

.ascee-autocomplete li a:hover {
	background: rgba(37,99,235,0.08);
}

.ascee-trending {
	margin-top: 22px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: center;
	font-size: 13px;
}

.ascee-trending-label {
	color: var(--ascee-muted);
}

.ascee-trending-pill {
	border: 1px solid var(--ascee-border);
	background: transparent;
	color: var(--ascee-fg);
	border-radius: var(--ascee-radius);
	padding: 5px 14px;
	font-size: 13px;
	cursor: pointer;
}

.ascee-trending-pill:hover {
	border-color: var(--ascee-accent);
	color: var(--ascee-accent);
}

.ascee-status {
	margin-top: 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	color: var(--ascee-muted);
	font-size: 14px;
}

.ascee-spinner {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 3px solid var(--ascee-border);
	border-top-color: var(--ascee-accent);
	animation: ascee-spin 0.8s linear infinite;
}

@keyframes ascee-spin {
	to { transform: rotate(360deg); }
}

@media (max-width: 480px) {
	.ascee-search-box { padding: 8px 14px; }
	.ascee-search-submit { padding: 8px 14px; }
}
