:root {
	--bg: #0f1114;
	--bg-2: #101317;
	--panel: #13161b;
	--panel-2: #15181e;
	--text: #eef1f4;
	--muted: #9ea6b1;
	--line: rgba(255, 255, 255, 0.06);
	--ring: rgba(200, 210, 220, 0.35);
	--radius: 14px;
	--tile-radius: 16px;
}
* {
	box-sizing: border-box;
}
html,
body {
	height: 100%;
}
body {
	margin: 0;
	color: var(--text);
	font:
		15px/1.55 Inter,
		ui-sans-serif,
		system-ui,
		-apple-system,
		Segoe UI,
		Roboto,
		Helvetica,
		Arial;
	background: radial-gradient(
			1100px 420px at 80% -10%,
			rgba(255, 255, 255, 0.06),
			transparent 60%
		),
		radial-gradient(
			900px 380px at 10% -10%,
			rgba(255, 255, 255, 0.04),
			transparent 55%
		),
		linear-gradient(180deg, var(--bg), var(--bg) 35%, #0e1013);
}
.dots::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	opacity: 0.35;
	background-image: radial-gradient(
			rgba(255, 255, 255, 0.05) 1px,
			transparent 1px
		),
		radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size:
		26px 26px,
		26px 26px;
	background-position:
		0 0,
		13px 13px;
}
.topbar {
	position: sticky;
	top: 0;
	z-index: 10;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 18px 0 20px;
	background: linear-gradient(
		180deg,
		rgba(20, 23, 28, 0.75),
		rgba(20, 23, 28, 0.55)
	);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 800;
	letter-spacing: 0.2px;
}
.brand-logo {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	display: block;
	object-fit: cover;
	background: #2b2f36;
	box-shadow:
		0 6px 18px rgba(0, 0, 0, 0.35),
		inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.brand-name {
	font-size: 18px;
}
.badge {
	margin-left: 8px;
	padding: 3px 8px;
	font-size: 11px;
	color: #a8afb9;
	background: #0f1216;
	border: 1px solid var(--line);
	border-radius: 8px;
}
.wrap {
	max-width: 1100px;
	margin: 0 auto;
	padding: 48px 20px 56px;
}
.center {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 18px;
	margin-top: min(14vh, 120px);
}
.logo-word {
	font-weight: 900;
	font-size: 46px;
	letter-spacing: 0.3px;
}
.center-logo {
	width: 56px;
	height: 56px;
	border-radius: 12px;
	display: block;
	object-fit: cover;
	box-shadow:
		0 8px 28px rgba(0, 0, 0, 0.35),
		inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.search-shell {
	width: min(880px, 94vw);
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 999px;
	background: linear-gradient(180deg, #161a20, #14181e);
	border: 1px solid var(--line);
	box-shadow:
		0 10px 26px rgba(0, 0, 0, 0.35),
		inset 0 0 0 1px rgba(255, 255, 255, 0.02);
	transition:
		box-shadow 0.2s ease,
		transform 0.15s ease,
		border-color 0.2s ease;
}
.search-shell:focus-within {
	outline: 2px solid var(--ring);
	box-shadow:
		0 0 0 6px rgba(200, 210, 220, 0.1),
		0 16px 40px rgba(0, 0, 0, 0.45);
	transform: translateY(-1px);
	border-color: rgba(255, 255, 255, 0.1);
}
.g {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #fff;
	flex: 0 0 auto;
}
.g svg {
	width: 19px;
	height: 19px;
	display: block;
}
#sj-form {
	display: contents;
}
#sj-address {
	all: unset;
	flex: 1;
	color: #eef1f4;
	font-size: 16px;
	min-width: 0;
}
#sj-address::placeholder {
	color: #9ca3ad;
}
.shortcuts {
	display: flex;
	gap: 26px;
	margin-top: 26px;
	flex-wrap: wrap;
	justify-content: center;
}
.s {
	width: 78px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
	text-decoration: none;
	color: #b9c0c9;
	position: relative;
	transform: translateZ(0);
	transition:
		transform 0.18s ease,
		filter 0.2s ease;
}
.s .icon {
	width: 58px;
	height: 58px;
	border-radius: var(--tile-radius);
	background: linear-gradient(180deg, #1a1e24, #181c22);
	border: 1px solid var(--line);
	display: grid;
	place-items: center;
	box-shadow:
		0 12px 32px rgba(0, 0, 0, 0.45),
		inset 0 0 18px rgba(255, 255, 255, 0.02);
	position: relative;
	overflow: hidden;
	transition:
		transform 0.18s ease,
		box-shadow 0.22s ease,
		border-color 0.22s ease,
		background 0.22s ease;
}
.s span {
	font-size: 12px;
	color: #bfc6cf;
}
.s:hover .icon {
	transform: translateY(-3px);
	box-shadow:
		0 18px 40px rgba(0, 0, 0, 0.55),
		inset 0 0 20px rgba(255, 255, 255, 0.03);
	background: linear-gradient(180deg, #1c2027, #1a1e25);
	border-color: rgba(255, 255, 255, 0.1);
}
.s:active .icon {
	transform: translateY(-1px);
}
.muted {
	opacity: 0.65;
}
.desc {
	max-width: 1100px;
	margin: 22px auto 0;
	padding: 0 18px;
	color: var(--muted);
}
#sj-error {
	background: var(--panel-2);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 10px 12px;
	white-space: pre-wrap;
}
#sj-error-code {
	border-radius: 12px;
	background: #0d1014;
	border: 1px dashed var(--line);
	padding: 10px 12px;
	overflow: auto;
	color: #cbd2db;
}
#sj-frame {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	display: none;
	border: 0;
	background: #000;
	z-index: 1000;
}
.modal-backdrop {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 20;
	background: rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(6px);
}
.modal {
	width: min(560px, 92vw);
	background: linear-gradient(180deg, #171b21, #151a21);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 18px;
	box-shadow: 0 28px 90px rgba(0, 0, 0, 0.6);
}
.modal h3 {
	margin: 0 0 10px;
	font-size: 18px;
	letter-spacing: 0.3px;
}
.modal .field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 12px;
}
.modal label {
	font-size: 12px;
	color: #aeb5bf;
}
.modal input {
	appearance: none;
	border: none;
	outline: none;
	padding: 12px 14px;
	border-radius: 10px;
	color: #eef1f4;
	background: linear-gradient(180deg, #1a1f26, #181d23);
	border: 1px solid var(--line);
}
.modal .row {
	display: flex;
	gap: 10px;
}
.modal .row .field {
	flex: 1;
}
.modal .actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 16px;
}
.btn {
	padding: 10px 14px;
	border-radius: 10px;
	border: 1px solid var(--line);
	background: #14181e;
	color: #e8ecf1;
	cursor: pointer;
	transition:
		transform 0.15s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}
.btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
	border-color: rgba(255, 255, 255, 0.1);
}
.btn.primary {
	background: linear-gradient(180deg, #1b2026, #191e24);
}
.btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
.hint {
	font-size: 12px;
	color: #9ea6b1;
	margin-top: 6px;
}
.err {
	color: #ff9d9d;
	font-size: 12px;
	margin-top: 6px;
	min-height: 16px;
}
.ctx {
	position: fixed;
	z-index: 30;
	display: none;
	min-width: 180px;
	background: linear-gradient(180deg, #191d23, #171b21);
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
	padding: 6px;
}
.ctx button {
	width: 100%;
	text-align: left;
	background: transparent;
	border: 0;
	color: #e8ecf1;
	padding: 10px 12px;
	border-radius: 8px;
	cursor: pointer;
}
.ctx button:hover {
	background: #1b2027;
}
.ctx hr {
	border: 0;
	height: 1px;
	background: var(--line);
	margin: 6px 0;
}
.s .icon img {
	width: 60%;
	height: 60%;
	display: block;
}