* {
	margin: 0;
	padding: 0;
	list-style: none;
	font-style: normal;
	font-size: 14px;
	color: #333;
	box-sizing: border-box;
	text-decoration: none;
}

body {
	font-family: "微软雅黑", -apple-system, BlinkMacSystemFont, sans-serif;
	width: 100%;
	max-width: 480px;
	margin: 0 auto;
	background: #FFF5EB;
}

.page {
	min-height: 100vh;
	padding-bottom: 20px;
	background: #FFF5EB;
	position: relative;
}

.page::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 435px;
	background: linear-gradient(to bottom, #F77E04 0%, #FDD8B4 100%);
	z-index: -1;
}

/* ===== Header ===== */
.head {
	height: 52px;
	padding: 8px 16px;
	background: #F77E04;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.head-logo {
	display: flex;
	align-items: center;
	gap: 6px;
}

.head-logo-icon {
	width: 22px;
	height: 22px;
}

.head-logo-text {
	font-size: 20px;
	font-weight: 700;
	font-style: italic;
	color: #fff;
	letter-spacing: -0.5px;
}

.head-actions {
	display: flex;
	align-items: center;
	gap: 5px;
}

.head-service {
	width: 26px;
	height: 26px;
	background: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.head-service svg {
	width: 18px;
	height: 18px;
}

.head-download {
	display: flex;
	align-items: center;
	gap: 4px;
	height: 26px;
	padding: 0 6px;
	background: #fff;
	border-radius: 16px;
	font-size: 14px;
	font-weight: 500;
	color: #F77E04;
}

.head-download svg {
	width: 14px;
	height: 14px;
}

/* ===== Card ===== */
.card {
	margin: 12px 14px;
	padding: 16px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0px 2px 10px 0px #F77E0433;
	border: 1px solid#F77E044D;
}

.section-title {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	font-weight: 700;
	color: #333;
}

.icon-star, .icon-bolt {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	display: block;
}

/* ===== Domain Section ===== */
.domain-grid {
	display: flex;
	gap: 10px;
	margin-top: 14px;
}

.domain-card {
	flex: 1;
	position: relative;
	background: #fff;
	border: 1px solid #F77E041A;
	border-radius: 12px;
	padding: 20px 8px 12px;
	text-align: center;
	box-shadow: 0px 2px 10px 0px #F77E0433;
}

.domain-card.is-copied {
	border: 1px solid #FFFFFF;
	box-shadow: 0px 2px 10px 0px #F77E0433;
	background: #F77E0433;

}

.domain-badge {
	position: absolute;
	top: 5px;
	left: 5px;
	background: linear-gradient(135deg, #FFAA5F, #FE4E0A);
	color: #fff;
	font-size: 10px;
	padding: 2px 8px;
	border-radius: 12px;
	font-weight: 500;
}

.domain-icon {
	width: 32px;
	height: 32px;
	margin: 0 auto;
	object-fit: contain;
}

.domain-name {
	font-size: 13px;
	font-weight: 500;
	color: #222;
	word-break: break-all;
	line-height: 16px;
	height: 30px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.domain-copy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 72px;
	height: 20px;
	border: 1.5px solid #F77E04;
	border-radius: 14px;
	background: #fff;
	color: #F77E04;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
}

.domain-copy svg,
.domain-copy .domain-copy-icon {
	width: 12px;
	height: 12px;
}

.domain-copy.copied {
	background: #F77E04;
	color: #fff;
	box-shadow: 0px 2px 10px 0px #F77E0433;
}

.domain-tip {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 14px;
	font-size: 10px;
	color: #212225;
}

.domain-tip span {
	color: #212225;
	font-size: 10px;
}

.domain-tip svg,
.domain-tip .domain-tip-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.domain-email {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 12px;
	padding: 10px 12px;
	border: 1px solid #FF9933;
	border-radius: 10px;
	font-size: 12px;
	color: #666;
}

.domain-email span {
	color: #666666;
}

.domain-email svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	color: #666;
}

.domain-email em {
	color: #E53935;
	font-style: normal;
	font-weight: 500;
}

/* ===== Speed Section ===== */
.speed-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}

.speed-tip {
	font-size: 11px;
	color: #E53935;
	margin-top: 6px;
	/* padding-left: 24px; */
}

.btn-refresh {
	display: flex;
	align-items: center;
	gap: 4px;
	height: 26px;
	padding: 0 6px;
	border: none;
	border-radius: 16px;
	color: #F77E04;
	background: #F77E041A;
	border: 1px solid #F77E044D;
	font-size: 13px;
	cursor: pointer;
	flex-shrink: 0;
}

.btn-refresh svg,
.btn-refresh .btn-refresh-icon {
	width: 12px;
	height: 12px;
	font-weight: 500;
}

/* Best Route */
.best-route {
	margin-top: 14px;
	background: linear-gradient(135deg, #3D2B1F 0%, #1A1208 100%);
	border-radius: 14px;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	transition: transform 0.15s;
}

.best-route:active {
	transform: scale(0.98);
}

.best-route-rocket {
	width: 56px;
	height: 56px;
	flex-shrink: 0;
	object-fit: contain;
}

.best-route-info {
	flex: 1;
	min-width: 0;
}

.best-route-label {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 10px;
	color: #FDE278;
	margin-bottom: 2px;
}

.best-route-label svg,
.best-route-label .best-route-crown {
	width: 16px;
	height: 16px;
}

.best-route-name {
	font-size: 13px;
	color: #fff;
	margin-bottom: 4px;
}

.best-route-speed {
	display: flex;
	align-items: center;
	gap: 8px;
}

.best-route-speed .speed-value {
	font-size: 28px;
	color: #F7AF53;
	line-height: 1;
}

.best-route-speed .speed-unit {
	color: #F7AF53;
}

.speed-tag-fast {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 0px 4px;
	background: linear-gradient(134.77deg, #FFAA5F -1.78%, #FE4E0A 100%);
	font-size: 11px;
	color: #fff;
	border-radius: 2px;
}

.speed-tag-fast .speed-tag-icon {
	width: 6px;
	height: 10px;
	display: block;
}

.best-route-enter {
	flex-shrink: 0;
	height: 32px;
	padding: 0 16px;
	background: linear-gradient(to right, #F8BC3C, #FC4B1D);
	border-radius: 18px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	white-space: nowrap;
}

/* Other Routes */
.other-routes-divider {
	display: flex;
	align-items: center;
	margin: 16px 0 12px;
	color: #EFEFEF;
	font-size: 12px;
}

.other-routes-divider::before,
.other-routes-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #E8E0D8;
}

.other-routes-divider span {
	padding: 0 12px;
	color: #888888;
}

.route-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.route-item {
	display: flex;
	align-items: center;
	padding: 14px;
	background: #fff;
	border: 1px solid #EFEFEF;
	border-radius: 12px;
	cursor: pointer;
	transition: background 0.15s;
}

.route-item:active {
	background: #FFF3E0;
}

.route-speed {
	width: 60px;
	flex-shrink: 0;
	text-align: center;
	padding-right: 8px;
	margin-right: 12px;
	border-right: 1px solid #EFE7E0;
}

.route-speed .speed-value-row {
	display: inline-flex;
	align-items: baseline;
	justify-content: center;
	gap: 4px;
}

.route-speed .speed-num {
	font-size: 16px;
	color: #333;
	line-height: 1;
}

.route-speed .speed-unit {
	font-size: 14px;
	color: #999;
}

.route-speed-bar {
	width: 50px;
	height: 3px;
	border-radius: 2px;
	margin: 6px auto 0;
	background: #E0E0E0;
	overflow: hidden;
}

.route-speed-bar .bar-fill {
	height: 100%;
	border-radius: 2px;
	transition: width 0.3s;
}

.bar-green { background: #18B357; }
.bar-yellow { background: #F5A000; }
.bar-red { background: #E53935; }

.speed-tone-green .speed-num { color: #18B357; }
.speed-tone-yellow .speed-num { color: #F5A000; }
.speed-tone-red .speed-num { color: #E53935; }

.route-info {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.route-tag {
	display: inline-block;
	padding: 6px 8px;
	border-radius: 4px;
	font-size: 11px;
	white-space: nowrap;
}

.tag-stable { background: #EDE7F6; color: #7E57C2; }
.tag-new { background: #E3F2FD; color: #42A5F5; }
.tag-old { background: #FFF3E0; color: #FF9800; }
.tag-overseas { background: #E8F5E9; color: #66BB6A; }

.route-name {
	font-size: 14px;
	font-weight: 500;
	color: #333;
}

.route-status {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px;
	background: #E8F5E9;
	border-radius: 12px;
	font-size: 11px;
	color: #43A047;
	font-weight: 500;
}

.route-status svg {
	width: 14px;
	height: 14px;
}

.route-status.loading {
	background: #F5F5F5;
	color: #999;
}

.route-status.blocked {
	background: #FFEBEE;
	color: #E53935;
}

/* ===== Footer ===== */
.footer-wrap {
	display: flex;
	justify-content: center;
	margin: 16px 14px 8px;
}

.footer-service {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 2px 12px;
	background: #F77E041A;
	border-radius: 28px;
	border: 1px solid rgba(247, 126, 4, 0.2);
	cursor: pointer;
}

.footer-service span {
	font-size: 14px;
	color: #F77E04;
}

.footer-mascot {
	width: 32px;
	height: 32px;
	font-weight: 500;
}

.copyright {
	text-align: center;
	font-size: 11px;
	color: #bbb;
	padding: 8px 0 16px;
}

/* ===== Copy Toast ===== */
.copy-toast {
	position: fixed;
	bottom: 80px;
	left: 50%;
	transform: translateX(-50%) translateY(10px);
	background: rgba(0, 0, 0, 0.72);
	color: #fff;
	font-size: 13px;
	padding: 8px 20px;
	border-radius: 20px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s, transform 0.2s;
	white-space: nowrap;
	z-index: 9999;
}

.copy-toast.show {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}
