@charset "utf-8";
/**
 * 全局日夜模式：依赖 html.theme-day / html.theme-night（由模板首行脚本切换）
 * 配色与大厅 style.css 中 #060b1f / #060817 保持一致
 */

/* ========== 夜间：统一深色外壳（大厅 / 个人中心等） ========== */
html.theme-night body {
	background-color: #060b1f !important;
	color: #c8d0e0;
}
html.theme-night a {
	color: #b8c4d8;
}
html.theme-night a:active {
	color: #d0dae8;
}

html.theme-night .container.bg_black,
html.theme-night .container.bg_user {
	background-color: #060b1f !important;
	/* 与日间同一平铺素材，压暗后作底纹 */
	background-image: linear-gradient(0deg, rgba(6, 11, 31, 0.94), rgba(6, 11, 31, 0.94)),
		url(/static/ui/image/home-bg-pattern-tile.png) !important;
	background-repeat: repeat, repeat !important;
	background-size: auto, 200px auto !important;
}

/* 大厅顶部公告条、用户余额区 */
html.theme-night .home_notice {
	background: linear-gradient(180deg, #0c1228 0%, #080d1c 100%) !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 0;
}
html.theme-night .home_notice_box .li {
	color: #9babcc !important;
}
html.theme-night .home_center_main .name {
	color: #9babcc !important;
}
html.theme-night .home_center_main .price {
	color: #ffffff !important;
}
html.theme-night .home_center_main .price span {
	color: #61daf3 !important;
}
html.theme-night .home_center_box .li_name {
	color: #a7aed1 !important;
}
/* 日夜开关文案 */
html.theme-night .home-theme-toggle-wrap .theme-toggle-txt {
	color: #9babcc;
}
html.theme-day .home-theme-toggle-wrap .theme-toggle-txt {
	color: #5a6578;
}

/* 大厅主体：与容器底纹一致 */
html.theme-night .home_main {
	background: transparent !important;
}

html.theme-night .footer .footer_nav {
	background-color: #060817 !important;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}
html.theme-night .footer_nav .li_tit {
	color: #a4d3e3 !important;
}

/* 个人中心：退出按钮改为描边式，避免大块亮青色 */
html.theme-night .user_footer .btn {
	background: rgba(9, 222, 214, 0.12) !important;
	color: #b8eef5 !important;
	border: 1px solid rgba(9, 222, 214, 0.45);
	box-shadow: none;
}
html.theme-night .daohang.mui-bar-tab,
html.theme-night .mui-bar.mui-bar-tab.daohang {
	background-color: #060817 !important;
	border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
	box-shadow: none !important;
}

/* mui 内页（投注记录等） */
html.theme-night .mui-bar-nav {
	background-color: #0d1426 !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
	box-shadow: none !important;
}
html.theme-night .mui-title {
	color: #e8ecf4 !important;
}
html.theme-night .mui-icon,
html.theme-night .mui-icon-left-nav:before {
	color: #e8ecf4 !important;
}
html.theme-night .mui-content {
	background-color: #060b1f !important;
	color: #c8d0e0 !important;
}

/* mui 表单、表格（投注记录等） */
html.theme-night .mui-btn,
html.theme-night select.mui-btn {
	background-color: #121a2e !important;
	color: #d8deea !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
}
html.theme-night .mui-btn-primary {
	background-color: #0d5c6e !important;
	color: #fff !important;
}
html.theme-night .mytable {
	border-color: #3a4556 !important;
}
html.theme-night .mytable td,
html.theme-night .mytable th {
	border-color: #3a4556 !important;
	color: #c8d0e0 !important;
	background-color: #0a1020 !important;
}
html.theme-night .bets-table .mui-row {
	border-color: #3a4556 !important;
}
html.theme-night .bets-header {
	background: #121a2e !important;
	color: #e8ecf4 !important;
}

/* ========== 日间：补全侧栏与主区域，避免「上下浅、中间深」断层 ========== */
html.theme-day .home_main {
	background: transparent !important;
	min-height: calc(100% - 12.8rem);
}
html.theme-day .home_box {
	box-shadow: inset 10px 0 16px -10px rgba(0, 0, 0, 0.06);
	padding-left: 0.36rem !important;
}
/* 首页左栏与列表区：圆角+影柔化竖向硬边（恢复青蓝选中条，非金色 TIMI 块） */
html.theme-day .home_menu {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 247, 250, 0.98)) !important;
	border-radius: 0 14px 14px 0;
	box-shadow: 6px 0 22px rgba(15, 23, 42, 0.07);
}
html.theme-day .home_menu .li {
	color: #5a6578 !important;
}
html.theme-day .home_menu .li.active {
	color: #ffffff !important;
	box-shadow: 0 2px 8px rgba(4, 171, 223, 0.35);
}
html.theme-night .home_box {
	box-shadow: inset 10px 0 18px -10px rgba(0, 0, 0, 0.35);
}
html.theme-night .home_menu {
	border-radius: 0 12px 12px 0;
	box-shadow: 8px 0 26px rgba(0, 0, 0, 0.4);
}
html.theme-day .home_list .li_tit {
	color: #1a3a52 !important;
}
html.theme-day .home_list .li_text {
	color: #4a6078 !important;
}

/* 日间：大厅顶栏、公告、容器与 PG 电子区（由原 index 内联迁入）
 * 底纹参考 TIMI / home-new 类浅色水印感（见 /static/ui/image/home-timi-pattern.svg）
 */
html.theme-day .container.bg_black {
	background-color: #fafcfd !important;
	background-image: url(/static/ui/image/home-bg-pattern-tile.png) !important;
	background-repeat: repeat !important;
	background-size: 200px auto !important;
}
html.theme-day .home_center .name,
html.theme-day .home_center .price {
	color: #1a1a1a !important;
}
html.theme-day .home_center .price span {
	color: #0d47a1 !important;
}
html.theme-day .home_notice {
	background: #fff !important;
	border-bottom: 1px solid #dde3ec;
}
/* 中性冷灰，避免 #f4f6fb 在部分屏上发紫 */
html.theme-day .xh_game_wrap,
html.theme-day .pg-lobby {
	background: #eceff4 !important;
}
html.theme-day .game-search-row input {
	background: #fff;
	color: #222;
	border-color: #c5cdd9;
}
html.theme-day .pg-cat-tabs span {
	background: #fff;
	color: #555;
	border-color: #c5cdd9;
}
html.theme-day .pg-cat-tabs span.active {
	color: #1a1200;
}
/* 日间：大厅左侧分类条 — 与主区用阴影柔化交界，不要硬直缝 */
html.theme-day .game-lobby-layout {
	gap: 0 !important;
}
html.theme-day .game-cat-sidebar {
	background: #fff !important;
	border-color: #e2e6ed !important;
	border-radius: 12px !important;
	margin-right: 10px;
	box-shadow: 4px 0 20px rgba(15, 23, 42, 0.07);
}
html.theme-day .game-lobby-main {
	border-radius: 0 12px 12px 0;
	box-shadow: inset 8px 0 14px -8px rgba(0, 0, 0, 0.05);
}
html.theme-day .game-cat-sidebar .pg-cat-tabs span {
	color: #666;
}
html.theme-day .game-cat-sidebar .pg-cat-tabs span.active {
	color: #1a1200;
	border-color: #d4af37;
}
html.theme-night .game-cat-sidebar {
	background: #12121a;
	border-color: #2a2a32;
}
html.theme-night .game-cat-sidebar .pg-cat-tabs span {
	color: #aaa;
}
/* 日间：电子大厅非方格卡 — 浅青蓝（非紫） */
html.theme-day .game-lobby-wrap .pg-card:not(.pg-tile-card),
html.theme-day .game-lobby-wrap .fs-card:not(.pg-tile-card) {
	border-color: rgba(0, 0, 0, 0.08);
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.1);
	background: linear-gradient(118deg, #dfeaf8 0%, #d4e6fc 42%, #e8f0fc 100%);
}
html.theme-day .game-lobby-wrap .pg-card:not(.pg-tile-card) .pg-card-foot,
html.theme-day .game-lobby-wrap .fs-card:not(.pg-tile-card) .pg-card-foot {
	background: transparent;
	color: #1a2233;
}
html.theme-day .game-lobby-wrap .pg-card:not(.pg-tile-card) .pg-title,
html.theme-day .game-lobby-wrap .fs-card:not(.pg-tile-card) .pg-title {
	color: #1a2233;
	text-shadow: none;
}
/* PG 方格卡：白底 + 标题色（与参考图一致） */
html.theme-day .pg-tile-card {
	background: #fff !important;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
	border: none !important;
}
html.theme-day .pg-tile-card .pg-title {
	color: #222;
}
html.theme-day .pg-tile-card .pg-card-img-wrap {
	background: #f0f2f5;
}
html.theme-night .pg-tile-card {
	background: #1e2228 !important;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35) !important;
	border: none !important;
}
html.theme-night .pg-tile-card .pg-title {
	color: #e8eaed;
}
html.theme-night .pg-tile-card .pg-card-img-wrap {
	background: #2a3038;
}
html.theme-night .pg-tile-card .pg-card-fallback {
	color: #bdc1c8;
	background: linear-gradient(160deg, #2f3540, #23282e) !important;
}
/* 真人横向条：日间浅青蓝 */
html.theme-day .live-card {
	border-color: rgba(0, 0, 0, 0.08);
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.1);
	background: linear-gradient(118deg, #dfeaf8 0%, #d4e6fc 42%, #e8f0fc 100%);
}
html.theme-day .live-card .live-strip-name {
	color: #1a2233;
	text-shadow: none;
}
html.theme-day .live-card .live-strip-code {
	color: rgba(26, 34, 51, 0.72);
}
html.theme-day .live-card .live-strip-fallback-big {
	color: #2a3550;
	text-shadow: none;
}

/* 日间：首页彩票横条 — 恢复青绿系（不要紫条）；羽化仅套在 iframe 容器，底图不透紫 */
html.theme-day .home-game-card {
	border-color: rgba(0, 100, 120, 0.12);
	box-shadow: 0 2px 12px rgba(0, 60, 72, 0.1);
	background: linear-gradient(118deg, #d8f0f5 0%, #c8e8ef 42%, #d2eef5 100%);
}
html.theme-day .home-game-strip-name {
	color: #1a2233;
	text-shadow: none;
}
/* 仅 zoom 层羽化：poster 不再叠同一 mask，否则左侧透明会露出底色的紫/青 */
html.theme-day .home_list.home_list-games .home-game-stream-zoom,
html.theme-day .home_list.home_list-games .home-game-strip-cover {
	-webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.12) 8%, rgba(0, 0, 0, 0.55) 22%, rgba(0, 0, 0, 0.94) 36%, #000 48%, #000 100%);
	mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 8%, rgba(0, 0, 0, 0.55) 22%, rgba(0, 0, 0, 0.94) 36%, #000 48%, #000 100%);
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
}
/* 日间：真人区与其它 fs 横条（保持原逻辑） */
html.theme-day .live-stream-zoom,
html.theme-day .live-strip-stream-poster,
html.theme-day a.live-strip-right--poster .live-strip-cover,
html.theme-day .game-lobby-wrap .pg-card:not(.pg-tile-card) .pg-card-img-wrap img,
html.theme-day .game-lobby-wrap .fs-card:not(.pg-tile-card) .pg-card-img-wrap img {
	-webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.08) 7%, rgba(0, 0, 0, 0.42) 18%, rgba(0, 0, 0, 0.92) 30%, #000 40%, #000 100%);
	mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 7%, rgba(0, 0, 0, 0.42) 18%, rgba(0, 0, 0, 0.92) 30%, #000 40%, #000 100%);
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
}
html.theme-day .game-lobby-wrap .pg-card:not(.pg-tile-card) .pg-card-img-wrap,
html.theme-day .game-lobby-wrap .fs-card:not(.pg-tile-card) .pg-card-img-wrap {
	background: linear-gradient(90deg, rgba(200, 218, 242, 0.35) 0%, rgba(240, 244, 250, 0.75) 45%, rgba(235, 240, 248, 0.95) 100%);
}
html.theme-day .home_list.home_list-games .home-game-strip-right--stream {
	background: linear-gradient(90deg, #121218 0%, #0a0a10 38%, #060608 100%);
}
/* 文案与视频区交界：浅色侧柔化叠层，衔接图三式渐变而非竖线 */
html.theme-day .home_list.home_list-games .home-game-strip-left::after {
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(216, 240, 245, 0.45) 35%,
		rgba(140, 160, 175, 0.25) 62%,
		rgba(18, 18, 24, 0.55) 88%,
		rgba(10, 10, 14, 0.75) 100%
	);
}
html.theme-day .live-strip-right--stream {
	background: linear-gradient(90deg, rgba(200, 218, 242, 0.35) 0%, rgba(236, 242, 252, 0.7) 36%, rgba(248, 250, 255, 0.98) 100%);
}
/* 日间：底部导航与顶栏保持浅色体系 */
html.theme-day .footer .footer_nav {
	background: #fff !important;
	border-top: 1px solid #dde3ec;
}
html.theme-day .footer .li_tit {
	color: #333 !important;
}

/* ========== 个人中心 me.html（图一风格：渐变顶栏 + 白卡片列表） ========== */
body.me-body {
	overflow-y: auto !important;
	overflow-x: hidden !important;
	height: auto !important;
	min-height: 100%;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
	-webkit-text-size-adjust: 100%;
}
.container.me-root {
	background: #eef1f5;
	min-height: 100vh;
	min-height: 100dvh;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding-left: env(safe-area-inset-left);
	padding-right: env(safe-area-inset-right);
}
html.theme-night .container.me-root {
	background: #060b1f !important;
}
.me-page {
	padding-bottom: 0.32rem;
}
.me-header {
	position: relative;
	padding: 0.28rem max(0.36rem, env(safe-area-inset-right)) 0.4rem max(0.36rem, env(safe-area-inset-left));
	padding-top: max(0.28rem, env(safe-area-inset-top));
	background: linear-gradient(145deg, #159d92 0%, #1fb8a0 42%, #35c27a 100%);
	overflow: hidden;
	color: #fff;
}
.me-header-wave {
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.22;
	background-image:
		radial-gradient(circle at 20% 120%, rgba(255, 255, 255, 0.45) 0%, transparent 42%),
		repeating-linear-gradient(
			-8deg,
			transparent,
			transparent 12px,
			rgba(255, 255, 255, 0.06) 12px,
			rgba(255, 255, 255, 0.06) 14px
		);
}
.me-topbar {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.28rem;
}
.me-topbar-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 0.72rem;
	height: 0.72rem;
	border-radius: 50%;
	color: #fff;
	font-size: 0.56rem;
	line-height: 1;
	font-weight: 700;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.22);
}
.me-topbar-right {
	display: flex;
	align-items: center;
	gap: 0.2rem;
}
.me-ic-kefu {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}
.me-ic-kefu-emoji {
	font-size: 0.38rem;
	line-height: 1;
	display: block;
	transform: translateY(1px);
}
.me-profile {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	gap: 0.28rem;
	margin-bottom: 0.36rem;
}
.me-avatar {
	position: relative;
	flex: 0 0 1.76rem;
	width: 1.76rem;
	height: 1.76rem;
	border-radius: 0.28rem;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
	border: 2px solid rgba(255, 255, 255, 0.35);
}
.me-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.me-avatar-edit {
	position: absolute;
	right: 0.06rem;
	bottom: 0.06rem;
	width: 0.44rem;
	height: 0.44rem;
	border-radius: 50%;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23228b7a'%3E%3Cpath d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a1 1 0 0 0 0-1.41l-2.34-2.34a1 1 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z'/%3E%3C/svg%3E") center/62% no-repeat;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.me-profile-center {
	flex: 1;
	min-width: 0;
	padding-top: 0.04rem;
}
.me-line {
	display: flex;
	align-items: center;
	gap: 0.12rem;
	color: #fff;
	font-size: 0.36rem;
	font-weight: 700;
	line-height: 1.25;
}
.me-line-id {
	font-weight: 500;
	font-size: 0.3rem;
	opacity: 0.92;
	margin-top: 0.08rem;
}
.me-nickname {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: min(4.6rem, 72vw);
}
.me-copy.ico-copy {
	flex: 0 0 auto;
	width: 0.44rem;
	height: 0.44rem;
	padding: 0;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z'/%3E%3C/svg%3E") center/68% no-repeat;
	cursor: pointer;
}
.me-stats-line {
	margin-top: 0.14rem;
	font-size: 0.24rem;
	color: rgba(255, 255, 255, 0.82);
	line-height: 1.35;
}
.me-stats-gap {
	display: inline-block;
	width: 0.24rem;
}
.me-balance-wrap {
	flex: 0 1 auto;
	text-align: right;
	max-width: min(3rem, 38vw);
	min-width: 0;
}
.me-balance-row {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.08rem;
}
.me-currency {
	font-size: 0.34rem;
	font-weight: 700;
	opacity: 0.95;
	padding-top: 0.12rem;
}
.me-balance-val {
	font-size: 0.52rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1;
}
.me-refresh {
	width: 0.52rem;
	height: 0.52rem;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.65 6.35A7.958 7.958 0 0 0 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08A5.99 5.99 0 0 1 12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z'/%3E%3C/svg%3E") center/68% no-repeat;
	cursor: pointer;
	flex-shrink: 0;
}
.me-quick {
	position: relative;
	z-index: 1;
	display: flex;
	border-radius: 0.2rem;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
}
.me-quick-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.12rem;
	padding: 0.28rem 0.12rem;
	color: #fff !important;
	font-size: 0.26rem;
	position: relative;
}
.me-quick-item:first-child::after {
	content: "";
	position: absolute;
	top: 18%;
	right: 0;
	width: 1px;
	height: 64%;
	background: rgba(255, 255, 255, 0.28);
}
.me-quick-ic {
	width: 0.72rem;
	height: 0.72rem;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}
/* 内嵌 SVG：避免缺失 withdraw2.png / recharge2.png 时顶栏与列表无图标 */
.me-ic-withdraw {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill='white' d='M12 15c-1.66 0-3-1.34-3-3V8h6v4c0 1.66-1.34 3-3 3zm-5-7V6c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2v2H7zm5 9c2.76 0 5-2.24 5-5h-2c0 1.66-1.34 3-3 3s-3-1.34-3-3H7c0 2.76 2.24 5 5 5z'/%3E%3Cpath stroke='white' stroke-width='1.2' stroke-linecap='round' d='M12 17v3M9.5 20.5h5'/%3E%3C/svg%3E");
}
.me-ic-deposit {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H5V8h14v10zM7 10h4v2H7v-2z'/%3E%3C/svg%3E");
}
/* 个人中心 — 提现管理（原 withdraw2.png 常缺失） */
.me-row-ic-withdraw-record {
	background: linear-gradient(145deg, #26a69a, #00695c);
	border-radius: 0.16rem;
	position: relative;
}
.me-row-ic-withdraw-record::after {
	content: "";
	position: absolute;
	inset: 16%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M4 7h16v10H4zM8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cpath stroke='white' stroke-width='1.4' d='M12 11v4m-1.5-1.5h3'/%3E%3C/svg%3E") center/contain no-repeat;
}
.me-sheet {
	padding: 0.28rem max(0.36rem, env(safe-area-inset-left)) 0 max(0.36rem, env(safe-area-inset-right));
}
.me-row {
	display: flex;
	align-items: center;
	gap: 0.24rem;
	padding: 0.3rem 0.28rem;
	margin-bottom: 0.22rem;
	background: #fff;
	border-radius: 0.24rem;
	box-shadow: 0 2px 10px rgba(20, 40, 60, 0.06);
	color: #1a2233 !important;
	border: 1px solid rgba(0, 0, 0, 0.04);
}
.me-row:active {
	opacity: 0.92;
}
.me-row-ic {
	flex: 0 0 0.72rem;
	width: 0.72rem;
	height: 0.72rem;
	display: flex;
	align-items: center;
	justify-content: center;
}
.me-row-ic img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}
.me-row-ic-lang {
	background: linear-gradient(145deg, #5c9ded, #7ab8ff);
	border-radius: 0.16rem;
	position: relative;
}
.me-row-ic-lang::after {
	content: "A";
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.34rem;
	font-weight: 800;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.me-row-txt {
	flex: 1;
	min-width: 0;
}
.me-row-title {
	font-size: 0.32rem;
	font-weight: 600;
	color: #1a2233;
	line-height: 1.3;
}
.me-row-sub {
	margin-top: 0.06rem;
	font-size: 0.24rem;
	color: #8a94a6;
	line-height: 1.25;
}
.me-row-arrow {
	flex: 0 0 0.2rem;
	width: 0.2rem;
	height: 0.36rem;
	background: url(/static/ui/image/ic_next.png) center/contain no-repeat;
	opacity: 0.35;
}
.me-logout-wrap {
	padding: 0.36rem max(0.4rem, env(safe-area-inset-left)) 0.2rem max(0.4rem, env(safe-area-inset-right));
}
.me-logout-btn {
	text-align: center;
	font-weight: 700;
	font-size: 0.34rem;
	padding: 0.36rem 0.2rem;
	border-radius: 0.24rem;
	background: linear-gradient(180deg, #f5f7fa 0%, #e8ecf2 100%);
	color: #c0392b !important;
	border: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	cursor: pointer;
}
.me-lang-list {
	padding: 0.16rem 0.24rem 0.32rem;
	display: flex;
	flex-direction: column;
	gap: 0;
}
.me-lang-list a {
	display: block;
	padding: 0.28rem 0.12rem;
	font-size: 0.34rem;
	color: #333 !important;
	border-bottom: 1px solid #eee;
	text-align: center;
}
.me-lang-list a:last-child {
	border-bottom: none;
}
html.theme-night .me-row {
	background: #121a2e !important;
	border-color: rgba(255, 255, 255, 0.08) !important;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35) !important;
}
html.theme-night .me-row-title {
	color: #e8ecf4 !important;
}
html.theme-night .me-row-sub {
	color: #8a96b0 !important;
}
html.theme-night .me-header {
	background: linear-gradient(145deg, #0f4f52 0%, #126b62 45%, #1a6b4a 100%) !important;
}
html.theme-night .me-logout-btn {
	background: rgba(9, 222, 214, 0.12) !important;
	color: #b8eef5 !important;
	border: 1px solid rgba(9, 222, 214, 0.45) !important;
	box-shadow: none !important;
}
html.theme-night .me-lang-list a {
	color: #c8d0e0 !important;
	border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
html.theme-night .container.me-root {
	background: #060b1f !important;
}

/* 个人中心：窄屏与刘海屏自适应 */
@media screen and (max-width: 400px) {
	.me-profile {
		flex-wrap: wrap;
		row-gap: 0.24rem;
	}
	.me-balance-wrap {
		flex: 1 1 100%;
		max-width: none;
		text-align: left;
		padding-left: calc(1.76rem + 0.28rem);
		margin-top: -0.08rem;
	}
	.me-balance-row {
		justify-content: flex-start;
	}
	.me-nickname {
		max-width: 100%;
	}
}
@media screen and (max-width: 360px) {
	.me-header {
		padding-left: max(0.28rem, env(safe-area-inset-left));
		padding-right: max(0.28rem, env(safe-area-inset-right));
	}
	.me-row {
		padding: 0.26rem 0.22rem;
		gap: 0.18rem;
	}
	.me-row-title {
		font-size: 0.3rem;
	}
}

/* ========== 全站内页跟随首页 Day / Night ========== */
html.theme-night {
	--bg: #060b1f;
	--card: #121a2e;
	--text: #e8ecf4;
	--sub: #8a96b0;
	--border: rgba(255, 255, 255, 0.12);
}
html.theme-day {
	--bg: #f3f6fb;
	--card: #ffffff;
	--text: #111827;
	--sub: #6b7280;
	--border: #e5e7eb;
}
html.theme-day body {
	background-color: #f3f6fb !important;
	color: #1f2937 !important;
}
html.theme-night .mui-table-view,
html.theme-night .mui-table-view-cell,
html.theme-night .mui-table-view-cell > a,
html.theme-night .mui-input-group,
html.theme-night .mui-input-row {
	background-color: #0e1730 !important;
	color: #d7e2f5 !important;
	border-color: rgba(255, 255, 255, 0.08) !important;
}
html.theme-night .mui-input-row label,
html.theme-night .mui-media-body,
html.theme-night .mui-navigate-right,
html.theme-night input,
html.theme-night select,
html.theme-night textarea {
	color: #e8ecf4 !important;
}
html.theme-night input,
html.theme-night select,
html.theme-night textarea,
html.theme-night .mui-input-row input {
	background-color: #121a2e !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
}
html.theme-night .chat-bet,
html.theme-night .kefuBox,
html.theme-night #app {
	background: #121a2e !important;
	background-color: #121a2e !important;
	color: #e8ecf4 !important;
}
html.theme-night .kefulist li {
	color: #e8ecf4 !important;
}
html.theme-night .pay-card,
html.theme-night .w-card,
html.theme-night .dopay-card,
html.theme-night .card {
	background: #121a2e !important;
	color: #e8ecf4 !important;
	border-color: rgba(255, 255, 255, 0.1) !important;
	box-shadow: none !important;
}
html.theme-night .pay-card .title,
html.theme-night .sec-label,
html.theme-night .m-name,
html.theme-night .ch-item,
html.theme-night .chip,
html.theme-night .w-card-title,
html.theme-night .w-val,
html.theme-night .dopay-method,
html.theme-night .dopay-address-box {
	color: #e8ecf4 !important;
}
html.theme-night .m-item,
html.theme-night .ch-item,
html.theme-night .chip,
html.theme-night .amt-in,
html.theme-night .w-input,
html.theme-night .w-select,
html.theme-night .w-badge,
html.theme-night .w-file-btn,
html.theme-night .dopay-address-box,
html.theme-night .dopay-qr-wrap {
	background: #0e1730 !important;
	color: #e8ecf4 !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
}
html.theme-night .m-item.on,
html.theme-night .ch-item.on,
html.theme-night .chip.on {
	background: #123528 !important;
	border-color: #22c55e !important;
}
html.theme-night .dopay-wrap {
	background: #060b1f !important;
}
html.theme-night .card-inner,
html.theme-night .lobby-frame,
html.theme-night .thumb {
	background: #0e1730 !important;
	color: #d7e2f5 !important;
}
html.theme-day .pay-page,
html.theme-day .withdraw-wrap,
html.theme-day .dopay-wrap {
	background: transparent !important;
}
html.theme-day .dopay-hero,
html.theme-day .mui-bar .mui-title,
html.theme-day .mui-bar .mui-icon-left-nav {
	color: #1f2937 !important;
}
html.theme-day .dopay-wrap {
	background: #f3f6fb !important;
}
html.theme-day .dopay-hero {
	color: #1f2937 !important;
}
html.theme-day .card-inner,
html.theme-day .lobby-frame,
html.theme-day .thumb,
html.theme-day .lobby-wrap .topbar {
	background: #ffffff !important;
	color: #1f2937 !important;
	border-color: #e5e7eb !important;
}
