/* ================================================================
   会员 / 权限提示弹窗  ·  PC + 手机端共用
   ----------------------------------------------------------------
   结构（由 jz_vip_modal.js 动态生成）：
     .jz-vip-overlay > .jz-vip-box
                       ├ .jz-vip-close  （右上角关闭叉号）
                       ├ .jz-vip-msg    （提示文案）
                       └ .jz-vip-btn    （操作按钮，橙色）
   明暗模式：PC 用 body.dark-mode，手机端用 html.night-mode
   ⚠️ 手机端 night-mode.js 的 NIGHT_CSS 有 `html.night-mode p{color:#c6c6c6!important}`
      与 `html.night-mode a{color:#9ec2f7!important}`，会污染文案与按钮文字，
      所以暗色块一律用 !important 顶回；按钮统一用 <button> 而非 <a>。
   ================================================================ */

.jz-vip-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	background: rgba(0, 0, 0, .55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 16px;
	box-sizing: border-box;
}

.jz-vip-box {
	position: relative;
	width: 100%;
	max-width: 420px;
	background: #fff;
	border-radius: 14px;
	padding: 34px 26px 26px;
	text-align: center;
	box-sizing: border-box;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
	animation: jzVipIn .18s ease-out;
}

@keyframes jzVipIn {
	from { opacity: 0; transform: translateY(10px) scale(.97); }
	to   { opacity: 1; transform: none; }
}

/* 右上角关闭叉号 */
.jz-vip-close {
	position: absolute;
	right: 12px;
	top: 8px;
	width: 30px;
	height: 30px;
	line-height: 1;
	font-size: 24px;
	color: #aaa;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	border-radius: 50%;
	font-family: inherit;
	transition: color .15s, background .15s;
}

.jz-vip-close:hover { color: #333; background: #f2f2f2; }

.jz-vip-msg {
	font-size: 15px;
	color: #444;
	line-height: 1.8;
	margin: 4px 0 20px;
	word-break: break-word;
}

.jz-vip-btn {
	display: inline-block;
	border: none;
	cursor: pointer;
	font-family: inherit;
	background: linear-gradient(135deg, #ff9a44, #ff6f06);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	border-radius: 22px;
	padding: 10px 34px;
	line-height: 1.4;
	text-decoration: none;
	transition: opacity .15s, transform .15s;
}

.jz-vip-btn:hover { opacity: .9; }
.jz-vip-btn:active { opacity: .85; transform: scale(.98); }

/* ---------- 手机端尺寸微调 ---------- */
@media (max-width: 480px) {
	.jz-vip-box { padding: 30px 20px 22px; max-width: 100%; }
	.jz-vip-msg { font-size: 14px; }
	.jz-vip-btn { font-size: 14px; padding: 9px 30px; }
}

/* ---------- 暗色：PC 端 ---------- */
body.dark-mode .jz-vip-overlay { background: rgba(0, 0, 0, .62); }
body.dark-mode .jz-vip-box { background: #2b2b33; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); }
body.dark-mode .jz-vip-msg { color: #d0d0d4; }
body.dark-mode .jz-vip-close { color: #8a8a92; }
body.dark-mode .jz-vip-close:hover { color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- 暗色：手机端（黑夜模式） ---------- */
html.night-mode .jz-vip-overlay { background: rgba(0, 0, 0, .62) !important; }
html.night-mode .jz-vip-box { background: #2b2b33 !important; box-shadow: 0 12px 40px rgba(0, 0, 0, .5) !important; }
html.night-mode .jz-vip-msg { color: #d0d0d4 !important; font-size: 14px; }
html.night-mode .jz-vip-close { color: #8a8a92 !important; background: none !important; }
html.night-mode .jz-vip-btn {
	background: linear-gradient(135deg, #ff9a44, #ff6f06) !important;
	color: #fff !important;
}
