/* ==========================================================================
   skin.css — H5 前台皮肤覆盖层
   只覆盖视觉，不改任何业务样式与布局结构。加载顺序置于所有样式之后。
   ========================================================================== */

:root {
	--sk-primary: #ff3b5c;
	--sk-primary-2: #ff6b9d;
	--sk-grad: linear-gradient(135deg, #ff8fb1, #ff4f7d);
	--sk-bg: #f6f7fb;
	--sk-card: #ffffff;
	--sk-text: #1a1a1a;
	--sk-sub: #8a8f9c;
	--sk-line: #eef0f5;
}

/* ---------- 全局底色 ---------- */
uni-page-body,
.page,
.box {
	background: var(--sk-bg) !important;
}

.box-bg {
	display: none !important;
}

/* ---------- 顶部搜索区 ---------- */
.header {
	padding: 14px 14px 10px !important;
	background: transparent !important;
}

.search-bar {
	background: #fff !important;
	border: 0 !important;
	border-radius: 999px !important;
	box-shadow: 0 4px 14px rgba(31, 45, 61, .06) !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}

.search-bar .search-input {
	font-size: 14px !important;
	color: var(--sk-text) !important;
}

.service-btn {
	background: #fff !important;
	border: 1px solid var(--sk-line) !important;
	box-shadow: 0 4px 14px rgba(31, 45, 61, .06) !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}

/* ---------- 轮播 / 公告 ---------- */
.swiper-view uni-swiper {
	border-radius: 14px !important;
	overflow: hidden !important;
	box-shadow: 0 6px 18px rgba(31, 45, 61, .08) !important;
}

.single-banner {
	border-radius: 14px !important;
	overflow: hidden !important;
	box-shadow: 0 6px 18px rgba(31, 45, 61, .08) !important;
}

.notice-bar {
	background: #fff !important;
	border-radius: 12px !important;
	box-shadow: 0 4px 14px rgba(31, 45, 61, .05) !important;
	overflow: hidden !important;
}

/* ---------- 分类标签 ---------- */
.goods_classify_box {
	margin-top: 8px !important;
}

.goods_classify_box .classify_item {
	height: 34px !important;
	min-width: auto !important;
	padding: 0 18px !important;
	background: #fff !important;
	color: var(--sk-sub) !important;
	border: 1px solid var(--sk-line) !important;
	border-radius: 999px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	box-shadow: 0 2px 8px rgba(31, 45, 61, .04) !important;
	filter: none !important;
	transform: none !important;
}

.goods_classify_box .select {
	background: var(--sk-grad) !important;
	color: #fff !important;
	border-color: transparent !important;
	font-weight: 700 !important;
	box-shadow: 0 6px 16px rgba(255, 79, 125, .32) !important;
}

.goods_classify_box .classify_text {
	font-size: 13px !important;
	line-height: 1 !important;
}

.goods_classify_box .classify_shadow {
	display: none !important;
}

/* 筛选按钮 */
.classify_fixed_button {
	background: #fff !important;
	border: 1px solid var(--sk-line) !important;
	border-radius: 10px !important;
	color: var(--sk-sub) !important;
	width: 32px !important;
	justify-content: center !important;
	box-shadow: 0 2px 8px rgba(31, 45, 61, .04) !important;
}

.sort-btn.sort-btn-active,
.dropdown-actions .action-btn.confirm {
	background: var(--sk-grad) !important;
}

.sort-btn.sort-btn-active {
	color: #fff !important;
}

/* ---------- 商品卡片 ---------- */
.waterfall .waterfall-item {
	background: var(--sk-card) !important;
	border-radius: 14px !important;
	box-shadow: 0 6px 18px rgba(31, 45, 61, .08) !important;
	margin-top: 10px !important;
}

.waterfall-item__image uni-image {
	border-radius: 14px 14px 0 0 !important;
	overflow: hidden !important;
}

.waterfall .waterfall-item__ft {
	position: relative !important;
	background: #fff !important;
	padding: 10px 10px 46px !important;
}

.waterfall-item__ft__title .line {
	width: 4px !important;
	height: 15px !important;
	background: linear-gradient(180deg, #ff6b9d, #ff3b5c) !important;
	border-radius: 4px !important;
	margin-top: 2px !important;
}

.waterfall-item__ft__title .value {
	font-size: 14px !important;
	font-weight: 700 !important;
	color: var(--sk-text) !important;
	line-height: 1.35 !important;
}

.waterfall-item__ft__desc .value {
	font-size: 12px !important;
	color: var(--sk-sub) !important;
	line-height: 1.45 !important;
}

.waterfall-item__ft__price {
	margin-top: 8px !important;
}

.waterfall-item__ft__price .start {
	font-size: 12px !important;
	color: var(--sk-primary) !important;
}

.waterfall-item__ft__price .value {
	font-size: 19px !important;
	color: var(--sk-primary) !important;
	font-weight: 800 !important;
}

.waterfall-item__ft__price .list_price {
	color: #c2c6d0 !important;
	font-size: 11px !important;
}

.waterfall-item__ft__price .sale {
	display: none !important;
}

/* 卡片右下角购买胶囊 */
.waterfall .waterfall-item__ft__price::after {
	content: "立即购买";
	position: absolute;
	right: 10px;
	bottom: 10px;
	padding: 7px 16px;
	border-radius: 999px;
	background: var(--sk-grad);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	box-shadow: 0 6px 14px rgba(255, 79, 125, .32);
}

/* ---------- 底部导航：悬浮胶囊 → 贴底白条 ---------- */
.tabbar-wrap {
	bottom: 0 !important;
	padding: 0 !important;
	padding-bottom: constant(safe-area-inset-bottom);
	padding-bottom: env(safe-area-inset-bottom);
	background: #fff;
}

.tabbar-glass {
	height: 56px !important;
	background: #fff !important;
	border: 0 !important;
	border-top: 1px solid var(--sk-line) !important;
	border-radius: 0 !important;
	box-shadow: 0 -4px 16px rgba(31, 45, 61, .05) !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}

.tabbar-icon {
	width: 22px !important;
	height: 22px !important;
	margin-bottom: 3px !important;
}

.tabbar-text {
	font-size: 11px !important;
}

.tabbar-text.nor {
	color: #9aa0ad !important;
}

.tabbar-text.sel {
	color: var(--sk-primary) !important;
	font-weight: 700 !important;
}

/* ==========================================================================
   「我的」页 — 深空紫头部 + 白色上浮面板
   ========================================================================== */

/* ---------- 顶部深空 ---------- */
.top-section {
	position: relative;
	overflow: hidden;
	min-height: 262px;
	padding-bottom: 64px !important;
	background:
		radial-gradient(120px 120px at 16% 32%, rgba(196, 120, 255, .45), transparent 70%),
		radial-gradient(180px 160px at 84% 6%, rgba(116, 74, 232, .55), transparent 72%),
		radial-gradient(220px 200px at 50% 112%, rgba(255, 92, 168, .20), transparent 70%),
		linear-gradient(180deg, #1a1033 0%, #261345 58%, #170e2b 100%) !important;
}

.top-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px),
		radial-gradient(circle 1.5px at 24px 18px, rgba(255, 138, 214, .95) 1.5px, transparent 2px),
		radial-gradient(circle 1.5px at 96px 64px, rgba(150, 130, 255, .95) 1.5px, transparent 2px),
		radial-gradient(circle 1px at 150px 30px, rgba(255, 255, 255, .75) 1px, transparent 1.6px);
	background-size: 42px 42px, 42px 42px, 130px 110px, 170px 140px, 90px 80px;
	background-position: 0 0, 0 0, 0 0, 40px 20px, 10px 40px;
	pointer-events: none;
}

.top-bg {
	display: none !important;
}

.top-content {
	position: relative;
	z-index: 1;
	padding-top: 52px !important;
}

.profile-top-row {
	position: absolute !important;
	top: 14px !important;
	right: 16px !important;
	padding: 0 !important;
}

.setting-btn {
	width: 38px !important;
	height: 38px !important;
	border-radius: 50% !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, .10) !important;
	border: 1px solid rgba(255, 255, 255, .28) !important;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .18) !important;
	backdrop-filter: blur(10px) !important;
	-webkit-backdrop-filter: blur(10px) !important;
}

.setting-btn .u-icon__icon {
	color: #fff !important;
}

/* ---------- 头像与资料 ---------- */
.avatar-wrap {
	width: 74px !important;
	height: 74px !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, .10) !important;
	border: 2px solid rgba(255, 255, 255, .55) !important;
	box-shadow:
		0 0 0 7px rgba(255, 255, 255, .07),
		0 0 26px rgba(186, 122, 255, .65) !important;
}

.avatar {
	border-radius: 50% !important;
}

.profile-left {
	display: grid !important;
	grid-template-columns: 74px 1fr;
	grid-template-rows: auto auto;
	align-items: center;
	column-gap: 16px;
	row-gap: 8px;
	gap: 8px 16px !important;
}

.avatar-wrap {
	grid-row: 1 / span 2;
}

.name-row {
	grid-column: 2;
	grid-row: 1;
}

.uid {
	grid-column: 2;
	grid-row: 2;
	align-self: start;
}

.username {
	color: #fff !important;
	font-size: 22px !important;
	font-weight: 800 !important;
}

.uid {
	color: rgba(255, 255, 255, .62) !important;
	font-size: 11px !important;
}

.level-num-bg {
	background: linear-gradient(135deg, #3a2a12, #6b4f18) !important;
	border-color: #e0b448 !important;
}

.level-num-text {
	color: #ffd76a !important;
}

.profile-right {
	margin-top: 0 !important;
	align-self: center;
}

.boss-btn {
	width: auto !important;
	height: 34px !important;
	padding: 0 14px !important;
	border-radius: 999px !important;
	background: rgba(255, 255, 255, .12) !important;
	border: 1px solid rgba(255, 255, 255, .28) !important;
	box-shadow: none !important;
	backdrop-filter: blur(10px) !important;
	-webkit-backdrop-filter: blur(10px) !important;
}

.boss-text {
	color: #fff !important;
	font-size: 12px !important;
}

.switch-icon {
	filter: brightness(0) invert(1);
}

.uid-line {
	display: none !important;
}

/* ---------- 白色上浮面板 ---------- */
.orders-section {
	width: 100% !important;
	margin: -50px 0 0 !important;
	padding: 28px 16px 6px !important;
	border-radius: 22px 22px 0 0 !important;
	border: 0 !important;
	background: #fff !important;
	box-shadow: 0 -12px 28px rgba(16, 8, 32, .22) !important;
	position: relative;
	z-index: 2;
}

.orders-section::before {
	content: "";
	position: absolute;
	top: 9px;
	left: 50%;
	margin-left: -21px;
	width: 42px;
	height: 4px;
	border-radius: 999px;
	background: #e6e3ee;
}

.orders-section::after {
	content: "";
	position: absolute;
	top: 18px;
	left: 50%;
	margin-left: -5px;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid #cfcadb;
}

.section-head {
	margin: 2px 0 16px !important;
	padding-top: 0 !important;
	align-items: center;
}

.orders-tag-card {
	position: static !important;
	margin: 0 !important;
	min-height: 0 !important;
}

.orders-tag {
	position: relative !important;
	left: 0 !important;
	top: 0 !important;
	height: auto !important;
	min-width: 0 !important;
	padding: 0 0 0 10px !important;
	background: transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.orders-tag::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 15px;
	border-radius: 2px;
	background: linear-gradient(180deg, #b06bff, #7b3cf0);
}

.orders-tag-text {
	color: #16121f !important;
	font-size: 16px !important;
	font-weight: 800 !important;
}

.orders-tag-tail {
	display: none !important;
}

.section-link {
	color: #a8a3b6 !important;
	font-size: 12px !important;
}

/* ---------- 订单图标 ---------- */
.order-icons {
	padding: 0 !important;
}

.order-item {
	flex: 1;
	gap: 7px !important;
}

.order-icon-wrap {
	width: 54px !important;
	height: 54px !important;
	border-radius: 17px !important;
	position: relative;
	box-shadow: 0 8px 18px rgba(180, 160, 220, .16), inset 0 1px 0 #fff !important;
}

.order-icon-img {
	width: 30px !important;
	height: 30px !important;
}

.order-label {
	font-size: 12px !important;
	color: #34303f !important;
}

.order-item:nth-child(1) .order-icon-wrap {
	background: linear-gradient(180deg, #ffe8f1, #ffcfe0) !important;
}

.order-item:nth-child(2) .order-icon-wrap {
	background: linear-gradient(180deg, #ffeef4, #ffd9e7) !important;
}

.order-item:nth-child(3) .order-icon-wrap {
	background: linear-gradient(180deg, #e9f1ff, #cfe0ff) !important;
}

.order-item:nth-child(4) .order-icon-wrap {
	background: linear-gradient(180deg, #fff1e3, #ffe0c4) !important;
}

.order-item:nth-child(5) .order-icon-wrap {
	background: linear-gradient(180deg, #f0eaff, #ddd0ff) !important;
}

/* ---------- 余额 / 客服 ---------- */
.cards-row {
	margin: 0 !important;
	padding: 14px 16px 8px !important;
	background: #fff !important;
	gap: 12px !important;
}

.card-diamond {
	height: 76px !important;
	border-radius: 18px !important;
	padding: 12px 16px !important;
	background: linear-gradient(135deg, #a06bff 0%, #6c3bf0 62%, #5b2bd8 100%) !important;
	box-shadow: 0 10px 22px rgba(108, 59, 240, .28) !important;
}

.card-diamond-title {
	color: rgba(255, 255, 255, .72) !important;
	font-size: 11px !important;
}

.card-diamond-arrow {
	filter: brightness(0) invert(1);
	opacity: .7;
}

.card-diamond-num {
	color: #fff !important;
	font-size: 23px !important;
	font-weight: 800 !important;
}

.card-service {
	height: 76px !important;
	border-radius: 18px !important;
	padding: 12px 16px !important;
	background: linear-gradient(135deg, #fff1f7, #ffe4ef) !important;
	box-shadow: none !important;
	border: 1px solid #ffe0ee !important;
}

.card-service-online {
	color: #b09bb0 !important;
	font-size: 11px !important;
}

.card-service-cta {
	color: #e8508c !important;
	font-size: 16px !important;
	font-weight: 800 !important;
}

/* ---------- 更多功能 ---------- */
.more-section {
	margin: 0 !important;
	padding: 30px 16px 26px !important;
	border-radius: 0 !important;
	background: #fff !important;
	box-shadow: none !important;
	position: relative;
}

.more-section::before {
	content: "";
	position: absolute;
	left: 16px;
	right: 16px;
	top: 14px;
	height: 1px;
	background:
		linear-gradient(#ece9f5, #ece9f5) left top / calc(50% - 30px) 1px no-repeat,
		linear-gradient(#ece9f5, #ece9f5) right top / calc(50% - 30px) 1px no-repeat;
}

.more-section::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 10px;
	width: 21px;
	height: 9px;
	margin-left: -10.5px;
	background:
		radial-gradient(circle 3px at 4px 4px, #d9c9ff 3px, transparent 3px) no-repeat,
		radial-gradient(circle 3px at 10px 4px, #d9c9ff 3px, transparent 3px) no-repeat,
		radial-gradient(circle 3px at 16px 4px, #d9c9ff 3px, transparent 3px) no-repeat;
}

.more-title {
	display: block !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	color: #16121f !important;
	margin: 0 0 18px !important;
	padding-left: 10px;
	position: relative;
}

.more-title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 15px;
	border-radius: 2px;
	background: linear-gradient(180deg, #b06bff, #7b3cf0);
}

.more-grid {
	gap: 20px 0 !important;
	justify-content: flex-start !important;
}

.more-item {
	width: 25% !important;
	gap: 9px !important;
	padding: 0 !important;
}

.more-icon-wrap {
	width: 46px !important;
	height: 46px !important;
	border-radius: 15px !important;
	background: linear-gradient(180deg, #fbf8ff, #ece2ff) !important;
	box-shadow: 0 8px 16px rgba(150, 120, 220, .22), inset 0 1px 0 #fff !important;
	position: relative;
}

.more-icon-wrap .uv-icon__icon {
	font-size: 22px !important;
	line-height: 22px !important;
}

.more-label {
	font-size: 11.5px !important;
	color: #3d3849 !important;
}

.more-item:nth-child(4n+1) .uv-icon__icon {
	color: #ff6fa3 !important;
}

.more-item:nth-child(4n+2) .uv-icon__icon {
	color: #7b9dff !important;
}

.more-item:nth-child(4n+3) .uv-icon__icon {
	color: #ffb257 !important;
}

.more-item:nth-child(4n) .uv-icon__icon {
	color: #9b7bff !important;
}

/* ---------- 品牌页脚 ---------- */
.brand-footer {
	margin: 0 !important;
	padding: 4px 16px 64px !important;
	background: #fff !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.brand-logo {
	font-size: 14px !important;
	font-weight: 700 !important;
	color: #c7c2d6 !important;
	letter-spacing: 2px !important;
	margin-bottom: 8px !important;
}

.brand-support {
	font-size: 11px !important;
	color: #b9b3c9 !important;
}

.brand-cta {
	border: 0 !important;
	font-size: 11px !important;
	color: #cfc9dd !important;
	padding: 0 !important;
	margin-bottom: 12px !important;
}

/* ---------- 底部导航 ---------- */
.tabbar-glass {
	background: #fff !important;
	border-top: 1px solid #f1eef7 !important;
	box-shadow: 0 -8px 24px rgba(60, 30, 110, .06) !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}

.tabbar-text.sel {
	color: #6c3bf0 !important;
}

.tabbar-text.nor {
	color: #9a94a8 !important;
}
