/* ============================================================
 * 女楼商城（shops 模块）样式 · nvlou-shop- 前缀
 * 依赖主题 bootstrap / iconfont；浅色默认，暗黑走 html.io-black-mode 覆盖
 * ============================================================ */

/* 主题色变量（商城页面局部，与论坛 --forum-* 同口径；换色 / 暗黑只改这里）
   primary       主色（实心态背景、focus 边框）
   primary-hover 主色 hover
   primary-text  浅底上的主色文字（暗黑要用亮色）
   primary-light 主色浅底
   secondary     次级底（筛选标签默认背景）
   muted         次级文字 */
:root{
	--nvlou-shop-primary:#ff4713;
	--nvlou-shop-primary-hover:#e03c0d;
	--nvlou-shop-primary-text:#ff4713;
	--nvlou-shop-primary-light:#fff2ec;
	--nvlou-shop-secondary:#f7f8fa;
	--nvlou-shop-muted:#8590a6;
}
html.io-black-mode{
	--nvlou-shop-primary:#ff4713;
	--nvlou-shop-primary-hover:#e03c0d;
	--nvlou-shop-primary-text:#ff7a4d;
	--nvlou-shop-primary-light:#3a2419;
	--nvlou-shop-secondary:#2c2e32;
	--nvlou-shop-muted:#999;
}

/* 面包屑 */
.nvlou-shop-crumb{font-size:13px;color:#999;margin-bottom:12px}
.nvlou-shop-crumb a{color:#666;text-decoration:none}
.nvlou-shop-crumb a:hover{color:#ff4713}
.nvlou-shop-crumb span{color:#333}

/* 顶栏：搜索 + 我的订单 */
/* 列表页工具行：排序 + 搜索 */
.nvlou-shop-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 16px;margin-bottom:14px}
.nvlou-shop-sorts{display:flex;gap:6px}
.nvlou-shop-sortbtn{display:inline-block;padding:4px 10px;border-radius:6px;font-size:12px;color:var(--nvlou-shop-muted);background:var(--nvlou-shop-secondary);border:1px solid transparent;text-decoration:none;transition:all .15s;white-space:nowrap}
.nvlou-shop-sortbtn:hover{color:var(--nvlou-shop-primary-text);background:var(--nvlou-shop-primary-light);text-decoration:none}
.nvlou-shop-sortbtn.nvlou-active{color:#fff;background:var(--nvlou-shop-primary);font-weight:500}
.nvlou-shop-sortbtn.nvlou-active:hover{color:#fff;background:var(--nvlou-shop-primary-hover)}
.nvlou-shop-search{display:flex;align-items:center;border:1px solid #e5e5e5;border-radius:18px;overflow:hidden;background:#fafafa}
.nvlou-shop-search input{border:none;outline:none;background:transparent;padding:7px 14px;font-size:13px;width:200px}
.nvlou-shop-search button{border:none;background:transparent;cursor:pointer;padding:7px 12px;color:#999}
.nvlou-shop-search button:hover{color:#ff4713}
.nvlou-shop-myorders{font-size:13px;color:#555;text-decoration:none;white-space:nowrap}
.nvlou-shop-myorders:hover{color:#ff4713}

/* 商品网格 */
.nvlou-shop-gridwrap{padding:16px}
.nvlou-shop-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.nvlou-shop-item{display:block;background:#fff;border:1px solid #f0f0f0;border-radius:10px;overflow:hidden;text-decoration:none;transition:box-shadow .2s,transform .2s}
.nvlou-shop-item:hover{box-shadow:0 6px 18px rgba(0,0,0,.08);transform:translateY(-2px);text-decoration:none}
.nvlou-shop-itemimg{aspect-ratio:1/1;background:#f7f7f8;overflow:hidden}
.nvlou-shop-itemimg img{width:100%;height:100%;object-fit:cover;display:block}
.nvlou-shop-itembody{padding:10px 12px 12px}
.nvlou-shop-itemtitle{font-size:14px;color:#333;line-height:1.45;height:2.9em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.nvlou-shop-itemprice{font-size:16px;font-weight:600;color:#ff4713;margin-top:6px}
.nvlou-shop-itemmeta{font-size:12px;color:#aaa;margin-top:4px}
.nvlou-shop-pages{margin-top:16px;text-align:center}
/* 翻页「跳转到 N 页」：全端隐藏（PC + 手机；框架 page.class.php 的 .jumpbox） */
.jumpbox{display:none !important}
.nvlou-shop-emptybig{text-align:center;color:#aaa;padding:60px 0;font-size:14px}

/* 分类导航 / 右栏筛选标签（与论坛侧栏标签 .forum-sidebar-tag 同款） */
.nvlou-shop-cats{display:flex;flex-wrap:wrap;gap:6px;padding:4px 0 12px}
/* 右栏筛选卡内：标签行 + chips 组 */
.nvlou-shop-filterlabel{font-size:13px;font-weight:600;color:#333;margin:2px 0 0}
.nvlou-shop-filterlabel + .nvlou-shop-cats{padding-bottom:10px}
.nvlou-shop-filtercard .nvlou-shop-cats:last-child{padding-bottom:2px}
.nvlou-shop-cat{display:inline-block;padding:4px 10px;border-radius:6px;font-size:12px;color:var(--nvlou-shop-muted);background:var(--nvlou-shop-secondary);border:1px solid transparent;text-decoration:none;transition:all .15s;white-space:nowrap}
.nvlou-shop-cat:hover{color:var(--nvlou-shop-primary-text);background:var(--nvlou-shop-primary-light);text-decoration:none}
.nvlou-shop-cat.nvlou-active{color:#fff;background:var(--nvlou-shop-primary);font-weight:500}
.nvlou-shop-cat.nvlou-active:hover{color:#fff;background:var(--nvlou-shop-primary-hover)}
.nvlou-shop-itemcat{display:inline-block;background:#fff2ec;color:#ff4713;border-radius:3px;padding:0 5px;margin-right:5px;font-size:11px;line-height:16px}

/* ============ 详情页 ============ */
.nvlou-shop-main{padding:20px;margin-bottom:14px}
/* 第一屏：左图集 + 右购买信息（淘宝式排版） */
.nvlou-shop-top{display:flex;gap:28px;align-items:flex-start}
.nvlou-shop-info{flex:1;min-width:0}
/* 图集：主图在上、缩略图横排在下；图集列与右侧信息区五五开 */
.nvlou-shop-gallery{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.nvlou-shop-gmain{flex:1;min-width:0;max-width:440px;aspect-ratio:1/1;border-radius:12px;overflow:hidden;background:#f7f7f8;position:relative}
.nvlou-shop-gmain img{width:100%;height:100%;object-fit:cover;display:block}
/* 大图左右切换箭头：桌面 hover 显示，触屏常显 */
.nvlou-shop-gnav{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border:none;border-radius:50%;background:rgba(0,0,0,.35);color:#fff;font-size:24px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .2s;padding:0 0 2px 0;z-index:2}
.nvlou-shop-gmain:hover .nvlou-shop-gnav{opacity:1}
.nvlou-shop-gnav:hover{background:rgba(0,0,0,.6)}
.nvlou-shop-gnav-prev{left:10px}
.nvlou-shop-gnav-next{right:10px}
.nvlou-shop-gthumbwrap{position:relative;max-width:440px;width:100%;min-width:0}
.nvlou-shop-gthumbs{display:flex;flex-direction:row;flex-wrap:nowrap;gap:8px;width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
.nvlou-shop-gthumbs::-webkit-scrollbar{display:none}
.nvlou-shop-gthumbs img{width:72px;height:72px;object-fit:cover;border-radius:8px;border:2px solid transparent;cursor:pointer;background:#f7f7f8;flex-shrink:0}
.nvlou-shop-gthumbs img:hover,.nvlou-shop-gthumbs img.nvlou-active{border-color:#ff4713}
/* 缩略图溢出提示：右侧白色渐变 + 「+N」，滑到最右自动隐藏 */
.nvlou-shop-gmore{position:absolute;top:0;right:0;height:100%;min-height:72px;width:46px;display:none;align-items:center;justify-content:center;border-radius:0 8px 8px 0;background:linear-gradient(to right,rgba(255,255,255,0) 0%,rgba(255,255,255,.92) 65%);color:#666;font-size:12px;font-weight:600;pointer-events:none;z-index:1}
/* 缩略图行左右小箭头：溢出且未到头时显示，每点一次滑一张 */
.nvlou-shop-gtbtn{position:absolute;top:50%;transform:translateY(-50%);width:26px;height:26px;border:none;border-radius:50%;background:rgba(0,0,0,.35);color:#fff;font-size:17px;line-height:1;cursor:pointer;display:none;align-items:center;justify-content:center;padding:0 0 1px;z-index:2}
.nvlou-shop-gtbtn:hover{background:rgba(0,0,0,.6)}
.nvlou-shop-gtbtn-prev{left:0}
.nvlou-shop-gtbtn-next{right:0}

.nvlou-shop-title{font-size:20px;font-weight:600;color:#222;line-height:1.4;margin:0 0 8px}
.nvlou-shop-sub{font-size:12px;color:#aaa;margin-bottom:14px}
/* 虚拟商品提示（卡密 / 网盘）：自动发货、无物流 */
.nvlou-shop-vtagline{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:-6px 0 12px}
.nvlou-shop-vtag{flex-shrink:0;padding:1px 7px;border-radius:9px;background:#fff1ec;color:#ff4713;font-size:11px;font-weight:700;line-height:18px}
.nvlou-shop-vtagtext{font-size:12px;color:#8a8f99}
.nvlou-shop-pricebox{background:#fbf8f4;border-radius:10px;padding:14px;margin-bottom:14px}
.nvlou-shop-pricelabel{font-size:12px;color:#999;margin-bottom:8px}
.nvlou-shop-payopts{display:flex;gap:10px;flex-wrap:wrap}
.nvlou-shop-payopt{flex:1;min-width:112px;border:1.5px solid #eee;border-radius:8px;padding:10px 12px;cursor:pointer;background:#fff;transition:border-color .15s}
.nvlou-shop-payopt:hover{border-color:#ff4713}
.nvlou-shop-payopt.active{border-color:#ff4713;background:#fff4ef}
.nvlou-shop-payname{display:block;font-size:12px;color:#888;margin-bottom:4px}
.nvlou-shop-payval{display:block;font-size:16px;font-weight:600;color:#ff4713}
.nvlou-shop-myassets{font-size:12px;color:#999;margin-top:10px}
.nvlou-shop-myassets b{color:#ff4713;font-weight:600}

/* 规格小图区（右侧、购买数量上面，JS 渲染） */
.nvlou-shop-skuimgs{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 14px}
.nvlou-shop-skuimgs img{width:52px;height:52px;object-fit:cover;border-radius:8px;border:2px solid transparent;cursor:pointer;background:#f7f7f8;transition:border-color .15s}
.nvlou-shop-skuimgs img:hover,.nvlou-shop-skuimgs img.nvlou-active{border-color:#ff4713}

/* 规格组（JS 渲染） */
.nvlou-shop-specgroup{margin-bottom:12px}
.nvlou-shop-speckey{font-size:12px;color:#999;margin-bottom:6px}
.nvlou-shop-specbtn{display:inline-block;border:1.5px solid #e5e5e5;border-radius:6px;padding:5px 14px;font-size:13px;color:#444;margin:0 8px 8px 0;cursor:pointer;background:#fff;transition:all .15s;user-select:none}
.nvlou-shop-specbtn:hover{border-color:#ff4713;color:#ff4713}
.nvlou-shop-specbtn.active{border-color:#ff4713;color:#ff4713;background:#fff4ef;font-weight:600}
.nvlou-shop-specbtn.disabled{color:#ccc;background:#f7f7f7;border-color:#f0f0f0;cursor:not-allowed;text-decoration:line-through}
.nvlou-shop-specnone{font-size:13px;color:#666;margin-bottom:12px}

/* 数量 + 小计 */
.nvlou-shop-numrow{display:flex;align-items:center;gap:0;margin:6px 0 12px}
.nvlou-shop-numlabel{font-size:13px;color:#666;margin-right:12px}
.nvlou-shop-numbtn{width:30px;height:30px;border:1px solid #e0e0e0;background:#fafafa;cursor:pointer;font-size:16px;color:#555;line-height:1}
.nvlou-shop-numbtn:hover{border-color:#ff4713;color:#ff4713}
.nvlou-shop-numinput{width:52px;height:30px;text-align:center;border:none;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;background:#fff;font-size:14px;outline:none}
.nvlou-shop-stock{font-size:12px;color:#aaa;margin-left:10px}
.nvlou-shop-stock.nvlou-out{color:#ff4713}
.nvlou-shop-total{font-size:13px;color:#666;margin-bottom:16px}
.nvlou-shop-total b{font-size:22px;color:#ff4713;font-weight:600}
.nvlou-shop-totalpoint{color:#ff4713;font-weight:600;font-size:15px;margin-left:4px}
.nvlou-shop-actions{display:flex;gap:12px}
.nvlou-shop-buybtn{flex:1;max-width:260px;border:none;border-radius:22px;background:#ff4713;color:#fff;font-size:15px;font-weight:600;padding:11px 0;cursor:pointer;transition:background .2s}
.nvlou-shop-buybtn:hover{background:#e03c0d}
.nvlou-shop-buybtn:disabled{background:#ccc;cursor:not-allowed}
.nvlou-shop-msg{font-size:12px;color:#ff4713;margin-top:10px;min-height:16px}

/* 详情富文本 */
.nvlou-shop-detail{padding:0;margin-bottom:14px}
.nvlou-shop-detail-h{padding:14px 20px;font-size:15px;font-weight:600;color:#333;border-bottom:1px solid #f2f2f2}
.nvlou-shop-detail-h .io,.nvlou-shop-detail-h .iconfont{color:#ff4713;margin-right:6px}
.nvlou-shop-content{padding:20px;font-size:14px;line-height:1.8;color:#444;word-break:break-word}
.nvlou-shop-content img{max-width:100%;height:auto}

/* ============ 我的订单 ============ */
.nvlou-shop-orders{padding:16px}
.nvlou-order{border:1px solid #f0f0f0;border-radius:10px;margin-bottom:14px;overflow:hidden}
.nvlou-order-head{display:flex;align-items:center;gap:14px;padding:10px 14px;background:#fafafa;font-size:12px;color:#888;border-bottom:1px solid #f2f2f2}
.nvlou-order-sn{color:#555}
.nvlou-order-status{margin-left:auto;font-weight:600}
.nvlou-order-st0{color:#ff4713}
.nvlou-order-st1{color:#1a7cf7}
.nvlou-order-st2{color:#4caf7d}
.nvlou-order-st3{color:#aaa}
.nvlou-order-item{display:flex;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid #f7f7f7}
.nvlou-order-item img{width:56px;height:56px;object-fit:cover;border-radius:8px;background:#f7f7f8}
.nvlou-order-itemtitle{font-size:14px;color:#333}
.nvlou-order-itemspec{font-size:12px;color:#999;margin-top:4px}
.nvlou-order-foot{display:flex;align-items:center;justify-content:flex-end;gap:14px;padding:10px 14px}
.nvlou-order-pay{font-size:13px;color:#666}
.nvlou-order-pay b{color:#ff4713;font-size:15px}
.nvlou-order-point{font-size:13px !important}
.nvlou-order-cancelbtn{border:1px solid #e0e0e0;background:#fff;border-radius:16px;padding:5px 16px;font-size:12px;color:#666;cursor:pointer}
/* 支付方式标签 / 积分价提示（v26：三档支付） */
.nvlou-order-paytag{display:inline-block;margin-left:8px;padding:0 6px;font-style:normal;font-size:12px;line-height:18px;color:#ff4713;background:#fff2ec;border-radius:3px}
.nvlou-cart-point-tag{display:inline-block;margin-left:6px;font-size:12px;color:#ff4713}
.nvlou-order-cancelbtn:hover{border-color:#ff4713;color:#ff4713}

/* 暗黑模式 */
html.io-black-mode .nvlou-shop-crumb span,
html.io-black-mode .nvlou-shop-itemtitle,
html.io-black-mode .nvlou-shop-title,
html.io-black-mode .nvlou-shop-detail-h,
html.io-black-mode .nvlou-order-itemtitle{color:#ddd}
html.io-black-mode .nvlou-shop-crumb a,
html.io-black-mode .nvlou-shop-itemmeta,
html.io-black-mode .nvlou-shop-sub,
html.io-black-mode .nvlou-order-head,
html.io-black-mode .nvlou-order-itemspec,
html.io-black-mode .nvlou-shop-itemprice ~ .nvlou-shop-itemmeta{color:#888}
html.io-black-mode .nvlou-shop-item,
html.io-black-mode .nvlou-order{background:#25262a;border-color:#333}
html.io-black-mode .nvlou-shop-itemimg,
html.io-black-mode .nvlou-shop-gmain,
html.io-black-mode .nvlou-shop-gthumbs img,
html.io-black-mode .nvlou-shop-skuimgs img,
html.io-black-mode .nvlou-order-item img{background:#2c2e32}
html.io-black-mode .nvlou-shop-gmore{background:linear-gradient(to right,rgba(37,38,42,0) 0%,rgba(37,38,42,.92) 65%);color:#aaa}
html.io-black-mode .nvlou-shop-pricebox{background:#2a2b30}
html.io-black-mode .nvlou-shop-payopt{background:#25262a;border-color:#3a3b40}
html.io-black-mode .nvlou-shop-payopt.active{background:#3a2419;border-color:#ff4713}
html.io-black-mode .nvlou-shop-payval,
html.io-black-mode .nvlou-shop-itemprice{color:#ff7a4d}
html.io-black-mode .nvlou-shop-search{background:#2c2e32;border-color:#3a3b40}
html.io-black-mode .nvlou-shop-search input{color:#ddd}
html.io-black-mode .nvlou-shop-specbtn{background:#25262a;border-color:#3a3b40;color:#ccc}
html.io-black-mode .nvlou-shop-specbtn.active{background:#3a2419;border-color:#ff4713;color:#ff7a4d}
html.io-black-mode .nvlou-shop-numbtn,html.io-black-mode .nvlou-shop-numinput{background:#2c2e32;border-color:#3a3b40;color:#ddd}
html.io-black-mode .nvlou-order-head{background:#2a2b30;border-color:#333}
html.io-black-mode .nvlou-order-item{border-color:#333}
html.io-black-mode .nvlou-order-cancelbtn{background:#25262a;border-color:#3a3b40;color:#ccc}
html.io-black-mode .nvlou-shop-filterlabel{color:#ddd}
html.io-black-mode .nvlou-shop-itemcat{background:#3a2419;color:#ff7a4d}

/* 移动端 */
@media (max-width: 991px){
	.nvlou-shop-grid{grid-template-columns:repeat(2,1fr)}
	.nvlou-shop-toolbar{align-items:stretch}
	.nvlou-shop-search{flex:1}
	.nvlou-shop-search input{width:100%}
	/* 移动端恢复：购买信息在上图集在下时堆叠（top 区），主图铺满、缩略图横排 */
	.nvlou-shop-top{flex-direction:column}
	.nvlou-shop-gallery{flex-direction:column;gap:10px}
	.nvlou-shop-gmain{max-width:none}
	.nvlou-shop-gnav{opacity:1;width:32px;height:32px;font-size:20px}
	.nvlou-shop-gnav-prev{left:8px}
	.nvlou-shop-gnav-next{right:8px}
	.nvlou-shop-gthumbs{flex-direction:row;width:auto;max-height:none;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;order:0}
	.nvlou-shop-buybtn{max-width:none}
}

/* ============================================================
 * v21 详情页三栏 + 会员中心
 * ============================================================ */

/* 中栏（左侧为站内导航侧栏，右侧为 .sidebar.sidebar-tools 统一滑动侧栏，均由主题提供） */
.nvlou-shop-mid{min-width:0}
.nvlou-shop-card{background:#fff;border:1px solid #f0f0f0;border-radius:12px;padding:20px;margin-bottom:14px}

/* 右栏卡片：外层用主题 .card.io-sidebar-widget（圆角/阴影/主题色/暗黑全由主题负责），
   这里只排卡片内部元素。⚠️ 两卡之间不得插 <style>/<script>/<div>，否则相邻间距失效 */
.nvlou-shop-userrow{display:flex;align-items:center;gap:12px}
.nvlou-shop-useravatar{width:52px;height:52px;border-radius:50%;object-fit:cover;background:#f7f7f8}
.nvlou-shop-username{font-size:15px;font-weight:600;color:#333}
.nvlou-shop-userassets{font-size:12px;color:#999;margin-top:4px}
.nvlou-shop-userassets b{color:#ff4713;font-weight:600}
.nvlou-shop-userlinks{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}
.nvlou-shop-userlinks a{position:relative;flex:1;text-align:center;border:1px solid #eee;border-radius:8px;padding:7px 0;font-size:12px;color:#555;text-decoration:none;transition:all .15s;white-space:nowrap}
.nvlou-shop-userlinks a:hover{border-color:#ff4713;color:#ff4713;text-decoration:none}
.nvlou-shop-userlinks a em{position:absolute;top:-7px;right:-5px;background:#ff4713;color:#fff;border-radius:9px;font-size:10px;font-style:normal;line-height:16px;padding:0 5px}
/* 未上线的入口占位样式已删除（优惠券 v30 已上线，模板不再有 ucsoon 类） */
.nvlou-shop-loginhint{font-size:12px;color:#888;line-height:1.7;margin-bottom:4px}
.nvlou-shop-loginbtn{background:#ff4713 !important;border-color:#ff4713 !important;color:#fff !important;font-weight:600}
.nvlou-shop-loginbtn:hover{background:#e03c0d !important;border-color:#e03c0d !important;color:#fff !important}

/* 右栏：推荐商品 */
.nvlou-shop-reccard{display:flex;gap:10px;padding:8px 0;border-bottom:1px dashed #f2f2f2;text-decoration:none}
.nvlou-shop-reccard:last-child{border-bottom:none}
.nvlou-shop-reccard:hover{text-decoration:none}
.nvlou-shop-reccard img{width:56px;height:56px;border-radius:8px;object-fit:cover;background:#f7f7f8;flex-shrink:0}
.nvlou-shop-recinfo{min-width:0}
/* 标题不写死两行高：单行标题时按内容收紧，避免名字与价格之间空出一整行（最多 2 行截断） */
.nvlou-shop-rectitle{font-size:13px;color:#444;line-height:1.4;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.nvlou-shop-reccard:hover .nvlou-shop-rectitle{color:#ff4713}
.nvlou-shop-recprice{font-size:13px;font-weight:600;color:#ff4713;margin-top:3px}
.nvlou-shop-recempty{font-size:12px;color:#aaa;padding:16px 0;text-align:center}

/* 规格图卡（第一个参数的值有规格图时） */
.nvlou-shop-specbtn.nvlou-specimgbtn{width:76px;padding:6px;text-align:center;border-radius:8px}
.nvlou-specimgbtn img{width:64px;height:64px;object-fit:cover;border-radius:6px;background:#f7f7f8;display:block;margin:0 auto 5px}
.nvlou-specimgbtn em{font-style:normal;font-size:12px;display:block;line-height:1.2}
.nvlou-specimgbtn.active{background:#fff4ef}

/* 收藏按钮 + 加购按钮 */
.nvlou-shop-titlerow{display:flex;align-items:flex-start;gap:12px}
.nvlou-shop-titlerow .nvlou-shop-title{flex:1}
.nvlou-shop-favbtn{flex-shrink:0;font-size:13px;color:#999;text-decoration:none;border:1px solid #eee;border-radius:16px;padding:5px 14px;white-space:nowrap;transition:all .15s}
.nvlou-shop-favbtn:hover{color:#ff4713;border-color:#ff4713;text-decoration:none}
.nvlou-shop-favbtn.nvlou-favon{color:#ff4713;border-color:#ffd0bd;background:#fff4ef}
.nvlou-shop-cartbtn{border:1.5px solid #ff4713;border-radius:22px;background:#fff;color:#ff4713;font-size:14px;font-weight:600;padding:10px 22px;cursor:pointer;transition:all .15s;white-space:nowrap}
.nvlou-shop-cartbtn:hover{background:#fff4ef}
.nvlou-shop-backbtn{font-size:13px;color:#999;text-decoration:none;white-space:nowrap;line-height:42px}
.nvlou-shop-backbtn:hover{color:#ff4713;text-decoration:none}

/* 订单：收货信息 + 运单号 */
.nvlou-order-addr,.nvlou-order-ship{padding:8px 14px;font-size:12px;color:#888;border-bottom:1px solid #f7f7f7}
.nvlou-order-addr b,.nvlou-order-ship b{color:#555}
/* 订单卡里的买家留言（下单时购物车填的，给商家看的备注） */
.nvlou-order-note{padding:8px 14px;font-size:12px;color:#a2410f;background:#fff8f4;border-bottom:1px solid #f7f7f7;line-height:1.7;word-break:break-word}
.nvlou-order-track{color:#1a7cf7;text-decoration:none;margin-left:8px}
.nvlou-order-track:hover{text-decoration:underline}
/* 我的订单：套会员中心卡片布局后，与「我的购物车」同款的卡头 / 商品行 / 底栏 */
.nvlou-ordcardh{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;font-weight:400;color:#888;margin-bottom:10px}
.nvlou-ordcardh .nvlou-order-status{margin-left:auto;font-size:13px}
.nvlou-ordlist{margin-bottom:0}
.nvlou-ordlist .nvlou-cart-item:last-child{border-bottom:none}
.nvlou-ordline-num{width:56px;text-align:center;font-size:13px;color:#666;flex-shrink:0}
.nvlou-ordline-sum{font-size:14px}
.nvlou-ordcard .nvlou-order-addr,
.nvlou-ordcard .nvlou-order-ship{padding:8px 0 0;margin-top:8px;border-top:1px solid #f5f5f5;border-bottom:none}
.nvlou-ordcard .nvlou-order-note{padding:6px 10px;margin-top:8px;border:none;border-radius:6px}
.nvlou-ordcard-foot{display:flex;align-items:center;gap:14px}
.nvlou-ordcard-foot .nvlou-order-cancelbtn{margin-left:auto}
.nvlou-shop-cartbadge{background:#ff4713;color:#fff;border-radius:9px;font-size:10px;font-style:normal;line-height:16px;padding:0 5px;margin-left:4px}

/* ============ 商城会员中心 ============ */
.nvlou-uc-layout{display:flex;align-items:flex-start;gap:14px}
.nvlou-uc-side{width:220px;flex-shrink:0}
.nvlou-uc-main{flex:1;min-width:0}
.nvlou-uc-user{background:#fff;border:1px solid #f0f0f0;border-radius:12px;padding:14px;margin-bottom:12px}
/* 用户卡横排（2026-10-17 定稿，与商城右栏会员卡同款）：头像左、昵称+资产右 */
.nvlou-uc-userrow{display:flex;align-items:center;gap:12px}
.nvlou-uc-userinfo{flex:1;min-width:0}
.nvlou-uc-useravatar img{width:56px;height:56px;border-radius:50%;object-fit:cover;background:#f7f7f8;display:block}
/* 用户卡内其余小图（VIP）有自己的尺寸规则，勿用宽泛 img 选择器一刀切（会把 VIP 拉成头像大小） */
.nvlou-uc-username img{width:auto}
.nvlou-uc-username{font-size:15px;font-weight:600;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nvlou-uc-userassets{font-size:12px;color:#999;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nvlou-uc-userassets b{color:#ff4713;font-weight:600}
.nvlou-uc-nav{background:#fff;border:1px solid #f0f0f0;border-radius:12px;padding:8px;overflow:hidden}
.nvlou-uc-nav a{display:flex;align-items:center;padding:10px 12px;border-radius:8px;font-size:13px;color:#555;text-decoration:none;margin-bottom:2px;transition:all .15s}
.nvlou-uc-nav a:last-child{margin-bottom:0}
.nvlou-uc-nav a:hover{background:#fff4ef;color:#ff4713;text-decoration:none}
.nvlou-uc-nav a.nvlou-active{background:#ff4713;color:#fff;font-weight:600}
.nvlou-uc-nav a .io{margin-right:8px;font-size:14px}
.nvlou-uc-nav a em{margin-left:auto;background:rgba(255,71,19,.1);color:#ff4713;border-radius:9px;font-size:11px;font-style:normal;line-height:18px;padding:0 7px}
.nvlou-uc-nav a.nvlou-active em{background:rgba(255,255,255,.25);color:#fff}
.nvlou-uc-back{padding:10px 4px;font-size:12px}
.nvlou-uc-back a{color:#999;text-decoration:none}
.nvlou-uc-back a:hover{color:#ff4713}
.nvlou-uc-card{background:#fff;border:1px solid #f0f0f0;border-radius:12px;padding:18px;margin-bottom:14px}
.nvlou-uc-cardh{font-size:15px;font-weight:600;color:#333;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid #f2f2f2}
.nvlou-uc-more{float:right;font-size:12px;font-weight:400;color:#999;text-decoration:none}
.nvlou-uc-more:hover{color:#ff4713;text-decoration:none}
.nvlou-uc-stats{display:flex;gap:10px;flex-wrap:wrap}
.nvlou-uc-stat{flex:1;min-width:100px;background:#fbf8f4;border-radius:10px;padding:14px;text-align:center}
.nvlou-uc-stat b{display:block;font-size:20px;color:#ff4713;font-weight:600}
.nvlou-uc-stat span{display:block;font-size:12px;color:#999;margin-top:4px}
.nvlou-uc-stats a.nvlou-uc-stat{text-decoration:none;color:inherit}
.nvlou-uc-stats a.nvlou-uc-stat:hover{background:#f6efe6}
.nvlou-uc-addrline{font-size:13px;color:#555;line-height:1.7}
.nvlou-uc-addrtext{color:#888}
.nvlou-uc-deftag{display:inline-block;background:#fff2ec;color:#ff4713;border-radius:3px;padding:0 6px;font-size:11px;line-height:18px;margin-left:6px}
.nvlou-uc-emptyline{font-size:13px;color:#999;line-height:1.8}
.nvlou-uc-emptyline a{color:#ff4713;text-decoration:none}
.nvlou-uc-emptyline a:hover{text-decoration:underline}
.nvlou-uc-orderline{display:flex;align-items:center;gap:12px;padding:9px 0;border-bottom:1px dashed #f2f2f2;font-size:12px}
.nvlou-uc-orderline:last-child{border-bottom:none}
.nvlou-uc-ordersn{color:#555;word-break:break-all}
.nvlou-uc-ordertime{color:#aaa}
.nvlou-uc-orderst{margin-left:auto;font-weight:600}
.nvlou-uc-orderpay{color:#ff4713;font-weight:600}

/* 购物车 */
.nvlou-cart-list{margin-bottom:14px}
.nvlou-cart-item{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid #f5f5f5}
.nvlou-cart-item.nvlou-cart-invalid{color:#aaa;font-size:13px}
.nvlou-cart-img{width:72px;height:72px;border-radius:8px;object-fit:cover;background:#f7f7f8;flex-shrink:0}
.nvlou-cart-info{flex:1;min-width:0}
.nvlou-cart-title{font-size:14px;color:#333;text-decoration:none;display:block}
a.nvlou-cart-title:hover{color:#ff4713;text-decoration:none}
.nvlou-cart-spec{font-size:12px;color:#999;margin-top:4px}
.nvlou-cart-price{font-size:14px;font-weight:600;color:#ff4713;margin-top:6px}
.nvlou-cart-stockout{font-size:12px;color:#ff4713;font-weight:400;margin-left:6px}
.nvlou-cart-num{display:flex;align-items:center;flex-shrink:0}
.nvlou-cart-num button{width:28px;height:28px;border:1px solid #e0e0e0;background:#fafafa;cursor:pointer;font-size:15px;color:#555;line-height:1}
.nvlou-cart-num button:hover{border-color:#ff4713;color:#ff4713}
.nvlou-cart-num input{width:44px;height:28px;text-align:center;border:none;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;background:#fff;font-size:13px;outline:none}
.nvlou-cart-sum{width:90px;text-align:right;font-size:15px;font-weight:600;color:#ff4713;flex-shrink:0}
.nvlou-cart-del{font-size:12px;color:#999;text-decoration:none;flex-shrink:0}
.nvlou-cart-del:hover{color:#ff4713;text-decoration:underline}
.nvlou-cart-foot{border-top:1px solid #f0f0f0;padding-top:14px}
.nvlou-cart-addr{font-size:12px;color:#888;margin-bottom:12px;line-height:1.7}
.nvlou-cart-addr b{color:#555}
.nvlou-cart-addr a{color:#1a7cf7;text-decoration:none}
.nvlou-cart-addrwarn{color:#ff4713}
.nvlou-cart-payrow{display:flex;gap:10px;margin-bottom:12px;max-width:420px}
.nvlou-cart-payrow .nvlou-shop-payopt{padding:8px 14px;min-width:0}
.nvlou-cart-total{font-size:13px;color:#666;margin-bottom:14px}
.nvlou-cart-total b{font-size:22px;color:#ff4713;font-weight:600}
/* 优惠券手选行（合计下方，下拉列出我的未用券，不可用的置灰） */
/* 购物车优惠券：卡片勾选（可叠加多选，独占单选） */
.nvlou-cart-couponbox{margin:-4px 0 14px;padding:10px 12px;background:#fbf8f4;border-radius:10px}
.nvlou-cart-couponhd{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#666;margin-bottom:8px}
.nvlou-cart-couponlabel{font-weight:600;color:#444}
.nvlou-cart-couponsave{color:#12a15c;font-weight:600;font-size:13px}
.nvlou-cart-couponlist{display:flex;gap:8px;flex-wrap:wrap;max-height:140px;overflow-y:auto}
.nvlou-cp-pick{position:relative;display:flex;align-items:center;min-width:170px;flex:1 1 170px;max-width:250px;padding:8px 10px;border:1px solid #f0d9c8;border-radius:8px;background:#fff;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.nvlou-cp-pick input{position:absolute;opacity:0;width:0;height:0}
.nvlou-cp-pickbody{display:flex;align-items:center;gap:6px;flex-wrap:wrap;line-height:1.3;width:100%}
.nvlou-cp-pickamt{color:#ff4713;font-size:16px;font-weight:700}
.nvlou-cp-pickname{font-size:12px;color:#666}
.nvlou-cp-picktag{font-size:11px;font-style:normal;color:#8a8f99;border:1px solid #e2e2e2;border-radius:3px;padding:0 4px;line-height:15px}
.nvlou-cp-picktagsta{color:#12a15c;border-color:#bfe3cd;background:#f2fbf6}
.nvlou-cp-picktime{font-size:11px;color:#aaa;width:100%}
.nvlou-cp-pickon{border-color:#ff4713;box-shadow:0 0 0 1px #ff4713 inset;background:#fff8f4}
.nvlou-cp-pickon:after{content:"✓";position:absolute;right:8px;top:5px;color:#ff4713;font-size:12px;font-weight:700}
.nvlou-cp-pickoff{opacity:.55;cursor:not-allowed;background:#fafafa}
.nvlou-cp-pickwhy{font-size:11px;color:#c98b3a;width:100%}
.nvlou-cart-couponfoot{font-size:11px;color:#999;margin-top:6px}
.nvlou-cart-couponfoot:empty{display:none}
/* 买家留言（合计/优惠券下方，随订单写入 usernote，订单详情与后台订单列表可见） */
.nvlou-cart-note{margin-bottom:14px}
.nvlou-cart-notehd{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:6px}
.nvlou-cart-notelabel{font-size:13px;font-weight:600;color:#444}
.nvlou-cart-notetip{font-size:11px;color:#aaa}
.nvlou-cart-noteinput{display:block;width:100%;box-sizing:border-box;padding:9px 11px;border:1px solid #e6e6e6;border-radius:8px;background:#fbf8f4;font-size:13px;line-height:1.7;color:#333;resize:vertical;min-height:56px;transition:border-color .15s,background .15s}
.nvlou-cart-noteinput:focus{outline:none;border-color:#ff4713;background:#fff}
.nvlou-cart-noteinput::placeholder{color:#b9b9b9}
/* 购物车 · 兑换码兑换（独立 0 元订单） */
.nvlou-redeem{padding:2px 2px 4px}
.nvlou-redeem-tip{font-size:12px;color:#999;line-height:1.7;margin-bottom:10px}
.nvlou-redeem-row{display:flex;gap:8px}
.nvlou-redeem-input{flex:1;min-width:0;box-sizing:border-box;height:38px;padding:0 12px;border:1px solid #e6e6e6;border-radius:8px;background:#fbf8f4;font-size:13px;color:#333;transition:border-color .15s,background .15s}
.nvlou-redeem-input:focus{outline:none;border-color:#ff4713;background:#fff}
.nvlou-redeem-input::placeholder{color:#b9b9b9}
.nvlou-redeem-btn{flex:0 0 auto;height:38px;padding:0 18px;border:0;border-radius:8px;background:#ff4713;color:#fff;font-size:13px;cursor:pointer;transition:background .15s}
.nvlou-redeem-btn:hover{background:#e03c0d}
.nvlou-redeem-btn[data-busy]{opacity:.7;cursor:default}
.nvlou-redeem-msg{font-size:12px;line-height:1.7;margin-top:8px;color:#666}
.nvlou-redeem-msg:empty{display:none}
.nvlou-redeem-msg.is-ok{color:#12a15c}
.nvlou-redeem-msg.is-err{color:#e03c0d}
.nvlou-cart-notefoot{display:flex;align-items:center;justify-content:space-between;margin-top:5px;font-size:11px;color:#aaa}
.nvlou-cart-notefoot em{font-style:normal;color:#c9c9c9}
.nvlou-cart-notefoot em b{font-weight:400;color:#999}
@media (max-width:640px){
	.nvlou-cp-pick{min-width:100%;flex:1 1 100%;max-width:none}
	.nvlou-cart-couponlist{max-height:none}
}
/* 结算按钮（独立类：nvlou-shop-buybtn 是详情页 flex 行内按钮，flex:1 + 左右 0 内边距，购物车页复用会塌成圆块） */
.nvlou-cart-checkoutbtn{border:none;border-radius:22px;background:#ff4713;color:#fff;font-size:15px;font-weight:600;padding:11px 46px;cursor:pointer;transition:background .2s}
.nvlou-cart-checkoutbtn:hover{background:#e03c0d}
.nvlou-cart-checkoutbtn:disabled{background:#ccc;cursor:not-allowed}
.nvlou-cart-nosum{color:#bbb;font-size:12px}
.nvlou-cart-split{font-size:12px;color:#e6a23c;margin-bottom:12px}

/* 收货地址管理 */
.nvlou-addr-list{margin-bottom:14px}
.nvlou-addr-item{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid #f0f0f0;border-radius:10px;margin-bottom:10px;transition:border-color .15s}
.nvlou-addr-item.nvlou-addr-def{border-color:#ffd0bd;background:#fff9f6}
.nvlou-addr-main{flex:1;font-size:13px;color:#555;line-height:1.7}
.nvlou-addr-main b{color:#333}
.nvlou-addr-text{color:#888}
.nvlou-addr-ops{flex-shrink:0;font-size:12px;white-space:nowrap}
.nvlou-addr-ops a{color:#666;text-decoration:none;margin-left:10px}
.nvlou-addr-ops a:hover{color:#ff4713;text-decoration:underline}
.nvlou-addr-form .nvlou-addr-row{display:flex;align-items:flex-start;margin-bottom:12px}
.nvlou-addr-form label:first-child{width:70px;text-align:right;padding-right:12px;font-size:13px;color:#666;line-height:34px}
.nvlou-addr-form input[type=text],.nvlou-addr-form textarea{flex:1;border:1px solid #e0e0e0;border-radius:6px;padding:7px 10px;font-size:13px;outline:none;max-width:420px}
.nvlou-addr-form input:focus,.nvlou-addr-form textarea:focus{border-color:#ff4713}
.nvlou-addr-deftoggle{font-size:13px;color:#666;line-height:34px !important;display:flex !important;align-items:center;gap:6px}
.nvlou-addr-deftoggle input{width:auto !important;max-width:none !important}

/* 收藏 / 足迹网格 */
.nvlou-fp-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.nvlou-fp-item{position:relative;background:#fff;border:1px solid #f0f0f0;border-radius:10px;overflow:hidden;transition:box-shadow .2s}
.nvlou-fp-item:hover{box-shadow:0 6px 16px rgba(0,0,0,.08)}
.nvlou-fp-item a{text-decoration:none;display:block}
.nvlou-fp-item img{width:100%;aspect-ratio:1/1;object-fit:cover;background:#f7f7f8;display:block}
.nvlou-fp-title{font-size:13px;color:#333;padding:8px 10px 0;line-height:1.4;height:2.8em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.nvlou-fp-item:hover .nvlou-fp-title{color:#ff4713}
.nvlou-fp-price{font-size:13px;font-weight:600;color:#ff4713;padding:4px 10px 12px}
.nvlou-fp-time{font-size:11px;color:#aaa;font-weight:400;margin-left:4px}
.nvlou-fp-del{position:absolute;top:8px;right:8px;background:rgba(255,255,255,.92);border-radius:12px;font-size:11px;color:#ff4713;padding:3px 9px;text-decoration:none;opacity:0;transition:opacity .15s}
.nvlou-fp-item:hover .nvlou-fp-del{opacity:1}
.nvlou-fp-off{opacity:.45}
.nvlou-fp-off::after{content:'已下架';position:absolute;top:40%;left:0;right:0;text-align:center;color:#ff4713;font-size:14px;font-weight:600}

/* v21 暗黑模式 */
html.io-black-mode .nvlou-shop-card,
html.io-black-mode .nvlou-uc-user,
html.io-black-mode .nvlou-uc-nav,
html.io-black-mode .nvlou-uc-card,
html.io-black-mode .nvlou-fp-item{background:#25262a;border-color:#333}
html.io-black-mode .nvlou-shop-username,
html.io-black-mode .nvlou-uc-cardh,
html.io-black-mode .nvlou-cart-title,
html.io-black-mode .nvlou-fp-title,
html.io-black-mode .nvlou-uc-addrline b,
html.io-black-mode .nvlou-addr-main b{color:#ddd}
html.io-black-mode .nvlou-shop-userassets,
html.io-black-mode .nvlou-uc-addrline,
html.io-black-mode .nvlou-uc-addrtext,
html.io-black-mode .nvlou-addr-main,
html.io-black-mode .nvlou-addr-text,
html.io-black-mode .nvlou-cart-spec,
html.io-black-mode .nvlou-uc-emptyline,
html.io-black-mode .nvlou-shop-rectitle{color:#999}
html.io-black-mode .nvlou-shop-stat,
html.io-black-mode .nvlou-uc-stat{background:#2a2b30}
html.io-black-mode .nvlou-shop-userlinks a{background:#25262a;border-color:#3a3b40;color:#ccc}
html.io-black-mode .nvlou-shop-userlinks a:hover{border-color:#ff4713;color:#ff7a4d}
html.io-black-mode .nvlou-shop-reccard{border-color:#333}
html.io-black-mode .nvlou-shop-reccard img,
html.io-black-mode .nvlou-cart-img,
html.io-black-mode .nvlou-fp-item img,
html.io-black-mode .nvlou-specimgbtn img{background:#2c2e32}
html.io-black-mode .nvlou-shop-favbtn{background:#25262a;border-color:#3a3b40;color:#ccc}
html.io-black-mode .nvlou-shop-favbtn.nvlou-favon{background:#3a2419;border-color:#ff4713;color:#ff7a4d}
html.io-black-mode .nvlou-shop-cartbtn{background:#25262a;color:#ff7a4d;border-color:#ff4713}
html.io-black-mode .nvlou-shop-specbtn.nvlou-specimgbtn{background:#25262a}
html.io-black-mode .nvlou-shop-specbtn.nvlou-specimgbtn.active{background:#3a2419}
html.io-black-mode .nvlou-cart-item,
html.io-black-mode .nvlou-uc-orderline{border-color:#333}
html.io-black-mode .nvlou-cart-num button,
html.io-black-mode .nvlou-cart-num input{background:#2c2e32;border-color:#3a3b40;color:#ddd}
html.io-black-mode .nvlou-addr-item{background:#25262a;border-color:#3a3b40}
html.io-black-mode .nvlou-addr-item.nvlou-addr-def{background:#3a2419;border-color:#ff4713}
html.io-black-mode .nvlou-addr-form input[type=text],
html.io-black-mode .nvlou-addr-form textarea{background:#2c2e32;border-color:#3a3b40;color:#ddd}
html.io-black-mode .nvlou-fp-del{background:rgba(37,38,42,.92)}
html.io-black-mode .nvlou-order-paytag{background:#3a2419;color:#ff7a4d}
html.io-black-mode .nvlou-cart-point-tag{color:#ff7a4d}
html.io-black-mode .nvlou-cart-nosum{color:#6b6c72}
html.io-black-mode .nvlou-cart-split{color:#d0a35a}
html.io-black-mode .nvlou-cart-couponbox{background:#25262a}
html.io-black-mode .nvlou-cart-couponlabel{color:#ddd}
html.io-black-mode .nvlou-cart-couponsave{color:#4fc98a}
html.io-black-mode .nvlou-cp-pick{background:#2c2d32;border-color:#3a3b40}
html.io-black-mode .nvlou-cp-pickon{border-color:#ff6a3d;box-shadow:0 0 0 1px #ff6a3d inset;background:#332720}
html.io-black-mode .nvlou-cp-pickoff{background:#25262a}
html.io-black-mode .nvlou-cp-pickname{color:#a9aaae}
html.io-black-mode .nvlou-cp-picktime{color:#7b7c81}
html.io-black-mode .nvlou-cart-couponfoot{color:#7b7c81}
html.io-black-mode .nvlou-cart-notelabel{color:#ddd}
html.io-black-mode .nvlou-cart-notetip{color:#7b7c81}
html.io-black-mode .nvlou-cart-noteinput{background:#25262a;border-color:#3a3b40;color:#ddd}
html.io-black-mode .nvlou-cart-noteinput:focus{background:#2c2d32;border-color:#ff6a3d}
html.io-black-mode .nvlou-cart-noteinput::placeholder{color:#6b6c72}
html.io-black-mode .nvlou-redeem-tip{color:#7b7c81}
html.io-black-mode .nvlou-redeem-input{background:#25262a;border-color:#3a3b40;color:#ddd}
html.io-black-mode .nvlou-redeem-input:focus{background:#2c2d32;border-color:#ff6a3d}
html.io-black-mode .nvlou-redeem-input::placeholder{color:#6b6c72}
html.io-black-mode .nvlou-redeem-msg{color:#9a9b9f}
html.io-black-mode .nvlou-redeem-msg.is-ok{color:#4fc98a}
html.io-black-mode .nvlou-redeem-msg.is-err{color:#ff7a4d}
html.io-black-mode .nvlou-cart-notefoot{color:#7b7c81}
html.io-black-mode .nvlou-ordcard .nvlou-order-addr,
html.io-black-mode .nvlou-ordcard .nvlou-order-ship{border-color:#333}
html.io-black-mode .nvlou-order-note{background:#33271f;color:#e2a377;border-color:#333}
html.io-black-mode .nvlou-ordcardh{color:#888}
html.io-black-mode .nvlou-ordline-num{color:#999}

/* v21 移动端 */
@media (max-width: 991px){
	.nvlou-uc-layout{flex-direction:column;align-items:stretch}
	.nvlou-uc-side{width:100%}
	.nvlou-uc-main{width:100%}
	.nvlou-fp-grid{grid-template-columns:repeat(2,1fr)}
	.nvlou-cart-item{flex-wrap:wrap}
	.nvlou-cart-sum{width:auto;text-align:left}
}

/* ============================================================
 * v22 小屏手机（≤767px）：卡片内距收紧 / 会员中心侧栏改横向滑动 /
 * 详情页按钮竖排铺满 / 网格与字号收紧 / 触屏无 hover 的兜底
 * ============================================================ */
@media (max-width: 767px){
	/* 卡片与容器内距（20px 太占，手机上收到 14px / 12px） */
	.nvlou-shop-main,
	.nvlou-shop-card,
	.nvlou-uc-card{padding:14px}
	.nvlou-shop-gridwrap{padding:12px}
	.nvlou-shop-toolbar{padding:10px 12px;gap:10px;margin-bottom:10px}
	.nvlou-shop-crumb{font-size:12px;margin-bottom:10px}
	.nvlou-shop-detail-h{padding:12px 14px;font-size:14px}
	.nvlou-shop-content{padding:14px;font-size:13px;line-height:1.75}

	/* 商品网格：2 列在 360~390 下收紧间距与字号，标题不被挤成竖排 */
	.nvlou-shop-grid{gap:10px}
	.nvlou-shop-itembody{padding:8px 10px 10px}
	.nvlou-shop-itemtitle{font-size:13px;line-height:1.4}
	.nvlou-shop-itemprice{font-size:15px;margin-top:4px}
	.nvlou-shop-itemmeta{font-size:11px}
	.nvlou-shop-pages{margin-top:12px}

	/* 详情页第一屏 */
	.nvlou-shop-gallery{gap:8px}
	.nvlou-shop-gthumbs{gap:6px}
	.nvlou-shop-gthumbs img{width:56px;height:56px;border-radius:6px}
	.nvlou-shop-gmain{border-radius:10px}
	.nvlou-shop-title{font-size:17px}
	.nvlou-shop-pricebox{padding:12px}
	.nvlou-shop-payopt{flex:1 1 46%;min-width:0;padding:8px 10px}
	.nvlou-shop-payval{font-size:15px}
	.nvlou-shop-specimgbtn{width:66px}
	.nvlou-specimgbtn img{width:56px;height:56px}
	/* 加购 / 立即购买：手机上竖排铺满，避免两个按钮互相挤 */
	.nvlou-shop-actions{flex-direction:column;gap:10px}
	.nvlou-shop-buybtn{max-width:none;width:100%}
	.nvlou-shop-cartbtn{width:100%;padding:11px 0}
	.nvlou-shop-total b{font-size:20px}

	/* 会员中心侧栏：导航由竖排改横向滑动，不再占满手机首屏 */
	.nvlou-uc-user{padding:14px;margin-bottom:10px}
	.nvlou-uc-useravatar img{width:52px;height:52px}
	.nvlou-uc-nav{display:flex;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:6px;gap:6px}
	.nvlou-uc-nav a{flex:0 0 auto;padding:8px 12px;margin-bottom:0;white-space:nowrap}
	.nvlou-uc-nav a .io{margin-right:6px}
	.nvlou-uc-nav a em{margin-left:6px}
	.nvlou-uc-back{padding:8px 2px;text-align:center}
	.nvlou-uc-stats{gap:8px}
	.nvlou-uc-stat{min-width:calc(50% - 4px);padding:12px}

	/* 购物车 */
	.nvlou-cart-item{gap:10px;padding:12px 0}
	.nvlou-cart-img{width:64px;height:64px}
	.nvlou-cart-num button{width:26px;height:26px;font-size:14px}
	.nvlou-cart-num input{width:38px}
	.nvlou-cart-payrow{max-width:none}
	.nvlou-cart-total b{font-size:20px}
	.nvlou-cart-checkoutbtn{width:100%;padding:11px 0}

	/* 订单 */
	.nvlou-ordline-num{width:44px}
	.nvlou-ordcard-foot{flex-wrap:wrap;gap:8px}
	.nvlou-order-item img{width:52px;height:52px}

	/* 收藏 / 足迹：触屏无 hover，删除按钮改常显 */
	.nvlou-fp-grid{gap:10px}
	.nvlou-fp-title{font-size:12px;padding:6px 8px 0;height:2.6em}
	.nvlou-fp-price{padding:3px 8px 10px}
	.nvlou-fp-del{opacity:1}

	/* 收货地址 */
	.nvlou-addr-item{padding:12px;gap:8px}
	.nvlou-addr-ops a{margin-left:8px}
	.nvlou-addr-form label:first-child{width:58px;padding-right:8px;font-size:12px}
	.nvlou-addr-form input[type=text],
	.nvlou-addr-form textarea{max-width:none}
}


/* ============================================================
 * v23 列表页筛选卡：价格区间双滑块（参考通用双 range 叠加写法）
 * ============================================================ */
.nvlou-price-rangehead{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.nvlou-price-rangeval{font-size:12px;font-weight:600;color:var(--nvlou-shop-primary-text)}
.nvlou-dualrange{position:relative;height:26px;margin:0 2px 4px}
.nvlou-dualrange::before{content:'';position:absolute;top:50%;left:0;right:0;height:4px;transform:translateY(-50%);background:var(--nvlou-shop-secondary);border-radius:2px}
.nvlou-dualrange-fill{position:absolute;top:50%;height:4px;transform:translateY(-50%);background:var(--nvlou-shop-primary);border-radius:2px;pointer-events:none}
.nvlou-dualrange input[type=range]{position:absolute;top:50%;left:0;width:100%;height:26px;margin:0;transform:translateY(-50%);-webkit-appearance:none;appearance:none;background:none;pointer-events:none;outline:none}
.nvlou-dualrange input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;pointer-events:auto;width:16px;height:16px;border-radius:50%;background:#fff;border:2px solid var(--nvlou-shop-primary);box-shadow:0 1px 4px rgba(0,0,0,.18);cursor:pointer}
.nvlou-dualrange input[type=range]::-moz-range-thumb{pointer-events:auto;width:12px;height:12px;border-radius:50%;background:#fff;border:2px solid var(--nvlou-shop-primary);box-shadow:0 1px 4px rgba(0,0,0,.18);cursor:pointer}
.nvlou-shop-filtercard .nvlou-shop-filterlabel{margin-top:12px}
.nvlou-shop-filtercard .nvlou-shop-filterlabel:first-child{margin-top:0}
html.io-black-mode .nvlou-dualrange input[type=range]::-webkit-slider-thumb{background:#2c2e32;border-color:#ff7a4d}
html.io-black-mode .nvlou-dualrange input[type=range]::-moz-range-thumb{background:#2c2e32;border-color:#ff7a4d}
html.io-black-mode .nvlou-price-rangeval{color:#ff7a4d}


/* ============================================================
 * v24 商品评论：详情卡 tab（商品详情 / 用户评价）+ 评论区
 * ============================================================ */
.nvlou-shop-detailtabs{display:flex;gap:6px;padding:14px 20px 0;border-bottom:1px solid #f2f2f2}
.nvlou-dtab{display:inline-block;padding:10px 16px 12px;font-size:15px;font-weight:600;color:#888;text-decoration:none;border-bottom:2px solid transparent;margin-bottom:-1px;transition:color .15s}
.nvlou-dtab .io,.nvlou-dtab .iconfont{margin-right:5px;font-size:15px}
.nvlou-dtab:hover{color:#ff4713;text-decoration:none}
.nvlou-dtab.nvlou-active{color:#ff4713;border-bottom-color:#ff4713}
.nvlou-dpanel{display:none;padding:0 20px 20px}
.nvlou-dpanel.nvlou-active{display:block}
.nvlou-dpanel-detail{padding-top:0}

/* 评论发表框 */
.nvlou-cmt-editor{margin:16px 0 6px;border:1px solid #eee;border-radius:10px;overflow:hidden}
.nvlou-cmt-editor .ai-editor{min-height:120px}
.nvlou-cmt-editorfoot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;background:#fafafa;border-top:1px solid #f0f0f0}
.nvlou-cmt-tip{font-size:12px;color:#aaa}
.nvlou-cmt-submit{border:none;border-radius:18px;background:#ff4713;color:#fff;font-size:13px;font-weight:600;padding:8px 22px;cursor:pointer;transition:background .2s}
.nvlou-cmt-submit:hover{background:#e03c0d}
.nvlou-cmt-submit:disabled{background:#ccc;cursor:not-allowed}
.nvlou-cmt-login{font-size:13px;color:#999;padding:16px 0 4px}
.nvlou-cmt-login a{color:#ff4713;text-decoration:none}

/* 评论列表 */
.nvlou-cmt-list{margin-top:8px}
.nvlou-cmt-item{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid #f5f5f5}
.nvlou-cmt-item:last-child{border-bottom:none}
.nvlou-cmt-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;background:#f7f7f8;flex-shrink:0}
.nvlou-cmt-main{flex:1;min-width:0}
.nvlou-cmt-head{display:flex;align-items:center;gap:10px;margin-bottom:5px}
.nvlou-cmt-name{font-size:13px;font-weight:600;color:#333}
.nvlou-cmt-time{font-size:12px;color:#aaa}
.nvlou-cmt-content{font-size:14px;line-height:1.75;color:#444;word-break:break-word}
.nvlou-cmt-content img{max-width:100%;height:auto;border-radius:6px}
.nvlou-cmt-content p{margin:0 0 4px}
.nvlou-cmt-empty{font-size:13px;color:#aaa;text-align:center;padding:24px 0}
.nvlou-cmt-morewrap{text-align:center;padding-top:12px}
.nvlou-cmt-more{border:1px solid #e5e5e5;border-radius:18px;background:#fff;color:#666;font-size:13px;padding:7px 24px;cursor:pointer;transition:all .15s}
.nvlou-cmt-more:hover{border-color:#ff4713;color:#ff4713}

/* 评论暗黑 */
html.io-black-mode .nvlou-shop-detailtabs{border-bottom-color:#333}
html.io-black-mode .nvlou-dtab{color:#999}
html.io-black-mode .nvlou-dtab.nvlou-active{color:#ff7a4d;border-bottom-color:#ff7a4d}
html.io-black-mode .nvlou-cmt-editor{border-color:#3a3b40}
html.io-black-mode .nvlou-cmt-editorfoot{background:#2a2b30;border-top-color:#3a3b40}
html.io-black-mode .nvlou-cmt-submit{background:#ff4713}
html.io-black-mode .nvlou-cmt-item{border-bottom-color:#333}
html.io-black-mode .nvlou-cmt-name{color:#ddd}
html.io-black-mode .nvlou-cmt-content{color:#bbb}
html.io-black-mode .nvlou-cmt-more{background:#25262a;border-color:#3a3b40;color:#ccc}

/* ==================== v25 评分（星级 / 总评分 / 占比条 / 星级选择）2026-10-16 ==================== */
/* 星级条：双层 ★，下层灰底、上层金色按宽度裁切（支持平均分小数） */
.nvlou-starline{position:relative;display:inline-block;color:#e0e0e0;font-size:14px;line-height:1;letter-spacing:2px;white-space:nowrap;vertical-align:middle;font-family:Arial,sans-serif}
.nvlou-starline-fill{position:absolute;left:0;top:0;overflow:hidden;color:#ffb400;white-space:nowrap}
.nvlou-starline-sm{font-size:12px;letter-spacing:1px}
.nvlou-starline-lg{font-size:18px;letter-spacing:3px}

/* 商品信息区「总评分」一行（点击切到评价 tab） */
.nvlou-shop-score{display:inline-flex;align-items:center;gap:8px;margin:6px 0 2px;padding:3px 10px 3px 8px;border-radius:14px;background:#fff7f4;text-decoration:none;transition:background .15s}
.nvlou-shop-score:hover{background:#ffeee8}
.nvlou-shop-scorenum{font-size:14px;font-weight:700;color:#ff4713;line-height:1}
.nvlou-shop-scorecount{font-size:12px;color:#999;line-height:1}
.nvlou-score-empty .nvlou-shop-scorenum{color:#bbb;font-weight:600}

/* 评价面板顶部总评分汇总 */
.nvlou-cmt-summary{display:flex;align-items:center;gap:28px;padding:16px 18px;margin:4px 0 16px;border-radius:10px;background:#fafafa;border:1px solid #f2f2f2}
.nvlou-cmt-scorbox{text-align:center;flex-shrink:0;min-width:104px}
.nvlou-cmt-scornum{font-size:34px;font-weight:700;color:#ff4713;line-height:1.05;font-family:Arial,sans-serif}
.nvlou-cmt-scorcount{font-size:12px;color:#999;margin-top:5px}
.nvlou-cmt-dist{flex:1;min-width:0}
.nvlou-cmt-distrow{display:flex;align-items:center;gap:10px;margin:5px 0}
.nvlou-cmt-diststar{width:34px;font-size:12px;color:#999;text-align:right;flex-shrink:0}
.nvlou-cmt-distbar{flex:1;height:7px;border-radius:4px;background:#ececec;overflow:hidden}
.nvlou-cmt-distbar i{display:block;height:100%;width:0;border-radius:4px;background:#ffb400;transition:width .3s}
.nvlou-cmt-distnum{width:32px;font-size:12px;color:#999;flex-shrink:0}
.nvlou-summary-empty .nvlou-cmt-scornum{color:#ccc}
.nvlou-summary-empty .nvlou-cmt-distbar i{background:#e0e0e0}

/* 星级选择（编辑器上方，1~5 星） */
.nvlou-cmt-rate{display:flex;align-items:center;gap:10px;padding:10px 12px 2px}
.nvlou-cmt-ratelabel{font-size:13px;color:#666}
.nvlou-cmt-starpick{display:inline-flex;align-items:center;line-height:1}
.nvlou-cmt-star{font-style:normal;font-size:24px;line-height:1;color:#dcdcdc;cursor:pointer;padding:0 2px;transition:color .12s,transform .12s;font-family:Arial,sans-serif}
.nvlou-cmt-star.on{color:#ffb400}
.nvlou-cmt-star:hover{transform:scale(1.08)}
.nvlou-cmt-ratetext{font-size:13px;color:#ff4713;font-weight:600}

/* 评价条目内的星级 */
.nvlou-cmt-stars{display:flex;align-items:center;gap:8px;margin:2px 0 5px}

/* 评分暗黑 */
html.io-black-mode .nvlou-starline{color:#3a3b40}
html.io-black-mode .nvlou-starline-fill{color:#ffb400}
html.io-black-mode .nvlou-shop-score{background:#2a211c}
html.io-black-mode .nvlou-shop-score:hover{background:#332619}
html.io-black-mode .nvlou-shop-scorenum{color:#ff7a4d}
html.io-black-mode .nvlou-cmt-summary{background:#25262a;border-color:#33343a}
html.io-black-mode .nvlou-cmt-scornum{color:#ff7a4d}
html.io-black-mode .nvlou-cmt-scorcount,
html.io-black-mode .nvlou-cmt-diststar,
html.io-black-mode .nvlou-cmt-distnum{color:#888}
html.io-black-mode .nvlou-cmt-distbar{background:#3a3b40}
html.io-black-mode .nvlou-cmt-rate{border-bottom-color:#333}
html.io-black-mode .nvlou-cmt-ratelabel{color:#bbb}
html.io-black-mode .nvlou-cmt-star{color:#4a4b50}
html.io-black-mode .nvlou-cmt-star.on{color:#ffb400}
html.io-black-mode .nvlou-cmt-ratetext{color:#ff7a4d}

/* 小屏：汇总卡竖排，评分选择换行 */
@media (max-width:767px){
    .nvlou-cmt-summary{flex-direction:column;align-items:flex-start;gap:12px;padding:14px}
    .nvlou-cmt-scorbox{display:flex;align-items:center;gap:10px;min-width:0;text-align:left}
    .nvlou-cmt-scornum{font-size:26px}
    .nvlou-cmt-scorcount{margin-top:0}
    .nvlou-cmt-dist{width:100%}
    .nvlou-cmt-rate{gap:8px;padding:10px 12px 0}
    .nvlou-cmt-star{font-size:22px}
}

/* ==================== v26 纯文本评论 + 配图（2026-10-16，替代富文本编辑器） ==================== */
/* 评论文本框 */
.nvlou-cmt-textarea{display:block;width:100%;box-sizing:border-box;margin:8px 0 0;padding:10px 12px;border:1px solid #e5e5e5;border-radius:8px;font-size:14px;line-height:1.6;color:#333;background:#fff;resize:vertical;min-height:76px;font-family:inherit;transition:border-color .15s}
.nvlou-cmt-textarea:focus{outline:none;border-color:#ff4713}
.nvlou-cmt-textarea::placeholder{color:#bbb}

/* 已上传图片缩略图（发表框内） */
.nvlou-cmt-imgs{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.nvlou-cmt-imgcell{position:relative;width:72px;height:72px;border-radius:6px;overflow:hidden;border:1px solid #eee;background:#fafafa}
.nvlou-cmt-imgcell img{width:100%;height:100%;object-fit:cover;display:block}
.nvlou-cmt-imgdel{position:absolute;top:0;right:0;width:18px;height:18px;line-height:16px;text-align:center;font-style:normal;font-size:14px;color:#fff;background:rgba(0,0,0,.55);border-radius:0 0 0 6px;cursor:pointer}
.nvlou-cmt-imgdel:hover{background:rgba(0,0,0,.8)}

/* 「＋ 图片」上传按钮 */
.nvlou-cmt-upbtn{display:inline-block;margin-right:4px;padding:4px 12px;border:1px dashed #d0d0d0;border-radius:6px;background:#fafafa;font-size:13px;color:#666;cursor:pointer;transition:all .15s}
.nvlou-cmt-upbtn:hover{border-color:#ff4713;color:#ff4713;background:#fff7f4}
.nvlou-cmt-upbtn:disabled{opacity:.5;cursor:not-allowed}

/* 评价条目里的图片九宫格（3 列） */
.nvlou-cmt-imggrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:8px;max-width:420px}
.nvlou-cmt-img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:8px;cursor:zoom-in;background:#f5f5f5;display:block}

/* 灯箱（点图放大） */
.nvlou-cmt-lightbox{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.82);display:flex;align-items:center;justify-content:center;cursor:zoom-out;padding:24px}
.nvlou-cmt-lightbox img{max-width:100%;max-height:100%;border-radius:6px;box-shadow:0 8px 40px rgba(0,0,0,.5)}

/* 评分暗黑 */
html.io-black-mode .nvlou-cmt-textarea{background:#25262a;border-color:#3a3b40;color:#e8e8e8}
html.io-black-mode .nvlou-cmt-textarea::placeholder{color:#777}
html.io-black-mode .nvlou-cmt-textarea:focus{border-color:#ff7a4d}
html.io-black-mode .nvlou-cmt-imgcell{border-color:#3a3b40;background:#2a2b30}
html.io-black-mode .nvlou-cmt-upbtn{background:#2a2b30;border-color:#4a4b50;color:#bbb}
html.io-black-mode .nvlou-cmt-upbtn:hover{border-color:#ff7a4d;color:#ff7a4d;background:#2f221b}
html.io-black-mode .nvlou-cmt-img{background:#2a2b30}

/* 小屏 */
@media (max-width:767px){
    .nvlou-cmt-imggrid{gap:6px;max-width:100%}
    .nvlou-cmt-imgcell{width:60px;height:60px}
}

/* ==================== v27 会员中心概览改版（头部横幅 / 订单宫格 / 状态 tab，样式参考小米会员中心） 2026-10-17 ==================== */

/* 侧栏用户卡：昵称旁 VIP 图 + 积分兑换入口（等级徽章 / 勋章行 2026-10-17 已移除，样式同步删除） */
.nvlou-uc-uservip{height:18px;display:inline-block;margin-left:4px;vertical-align:-3px}
.nvlou-uc-upointbtn{display:flex;align-items:center;justify-content:center;gap:5px;margin-top:10px;background:#fff4ef;color:#ff4713;border-radius:16px;padding:7px 0;font-size:13px;font-weight:600;text-decoration:none;transition:background .2s}
.nvlou-uc-upointbtn:hover{background:#ffe4d8;color:#ff4713;text-decoration:none}
.nvlou-uc-upointbtn .iconfont{font-size:16px}

/* 订单状态宫格 */
.nvlou-uc-ordergrid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.nvlou-uc-ordergrid a{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 4px 12px;border-radius:10px;text-decoration:none;transition:background .15s}
.nvlou-uc-ordergrid a:hover{background:#fff6f2}
.nvlou-uc-ordergrid .iconfont{font-size:24px;color:#555;line-height:1}
.nvlou-uc-ordergrid a:hover .iconfont{color:#ff4713}
.nvlou-uc-ordergrid span{font-size:12px;color:#666}
.nvlou-uc-ordergrid em{position:absolute;top:6px;right:calc(50% - 22px);min-width:16px;height:16px;line-height:16px;border-radius:8px;background:#ff4713;color:#fff;font-size:10px;font-style:normal;text-align:center;padding:0 4px}
.nvlou-uc-ordergrid em.nvlou-em-plain{background:#3d3b4f}

/* 订单页状态 tab */
.nvlou-ordtabs{display:flex;gap:6px;flex-wrap:wrap}
.nvlou-ordtabs a{font-size:13px;color:#666;text-decoration:none;padding:7px 16px;border-radius:16px;background:#f6f7f9;transition:all .15s}
.nvlou-ordtabs a:hover{color:#ff4713;background:#fff0ea}
.nvlou-ordtabs a.nvlou-active{color:#fff;background:#ff4713;font-weight:500}

/* 暗黑模式 */
html.io-black-mode .nvlou-uc-upointbtn{background:#2c2420;color:#ff7a4d}
html.io-black-mode .nvlou-uc-ordergrid a:hover{background:#2a2b30}
html.io-black-mode .nvlou-uc-ordergrid .iconfont{color:#bbb}
html.io-black-mode .nvlou-uc-ordergrid a:hover .iconfont{color:#ff7a4d}
html.io-black-mode .nvlou-uc-ordergrid span{color:#999}
html.io-black-mode .nvlou-uc-ordergrid em.nvlou-em-plain{background:#4a4d55}
html.io-black-mode .nvlou-ordtabs a{background:#2a2b30;color:#aaa}
html.io-black-mode .nvlou-ordtabs a:hover{color:#ff7a4d;background:#2f221b}
html.io-black-mode .nvlou-ordtabs a.nvlou-active{color:#fff;background:#e03c0d}

/* 小屏 */
@media (max-width:767px){
	.nvlou-uc-ordergrid{grid-template-columns:repeat(5,1fr);gap:2px}
	.nvlou-uc-ordergrid .iconfont{font-size:20px}
	.nvlou-uc-ordergrid span{font-size:11px}
	.nvlou-uc-ordergrid em{top:2px;right:calc(50% - 20px)}
	.nvlou-ordtabs a{padding:6px 12px;font-size:12px}
}
/* ==================== v28 VIP 会员价（双价展示 / VIP 徽标） 2026-10-17 ==================== */
.nvlou-vip-badge{display:inline-block;background:linear-gradient(135deg,#ff7a4d,#e03c0d);color:#fff;font-size:10px;font-weight:700;font-style:normal;line-height:14px;padding:0 5px;border-radius:7px;vertical-align:1px;letter-spacing:.5px}
.nvlou-shop-vipprice{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:13px;color:#8a5a1f;background:linear-gradient(135deg,#fff6ee,#ffefd8);border:1px dashed #ffcfa8;border-radius:8px;padding:7px 12px}
.nvlou-shop-vipprice b{color:#e03c0d;font-size:15px}
.nvlou-shop-itemvip{font-size:12px;color:#e03c0d;margin-top:2px}
html.io-black-mode .nvlou-shop-vipprice{background:#33281d;border-color:#5a4023;color:#d8b071}
html.io-black-mode .nvlou-shop-vipprice b{color:#ff7a4d}
html.io-black-mode .nvlou-shop-itemvip{color:#ff7a4d}
.nvlou-vip-normal{color:#999;font-size:12px;font-weight:400;text-decoration:line-through}
html.io-black-mode .nvlou-vip-normal{color:#777}
.nvlou-shop-uservip{height:22px;display:inline-block;margin-left:4px;}

/* ==================== v29 抽奖中心（转盘 / 转圈高亮 / 中奖弹窗 / 中奖记录） 2026-10-17 ==================== */

/* 主卡 + 头部横幅 */
.nvlou-lucky-card{overflow:hidden}
.nvlou-lucky-hero{margin:-18px -18px 16px;background:linear-gradient(120deg,#c81e0f 0%,#e8451f 55%,#ff7a30 100%);color:#fff;text-align:center;padding:22px 16px 20px;border-radius:11px 11px 0 0}
.nvlou-lucky-herotitle{font-size:24px;font-weight:800;letter-spacing:3px;text-shadow:0 2px 8px rgba(120,20,0,.35)}
.nvlou-lucky-heronote{font-size:12px;opacity:.92;margin-top:6px;line-height:1.6}
.nvlou-lucky-herotime{display:inline-block;margin-top:9px;padding:5px 13px;font-size:12px;line-height:1.4;color:#fff;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.3);border-radius:14px;letter-spacing:.2px}

/* 九宫格：DOM 顺序 = c0 c1 c2 / c3 [按钮] c4 / c5 c6 c7 */
.nvlou-lucky-wrap{max-width:460px;margin:0 auto}
.nvlou-lucky-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.nvlou-lucky-cell{position:relative;background:linear-gradient(180deg,#fffdfb,#fff4ec);border:1px solid #ffd9c0;border-radius:12px;padding:12px 6px 10px;text-align:center;min-height:96px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;box-shadow:0 1px 4px rgba(232,80,30,.08);transition:box-shadow .15s,transform .15s}
.nvlou-lucky-cell:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(232,80,30,.18)}
.nvlou-lucky-cell img{width:48px;height:48px;object-fit:contain;border-radius:8px}
.nvlou-lucky-cellname{font-size:12px;font-weight:600;color:#333;line-height:1.3;word-break:break-all}
.nvlou-lucky-cellsub{font-size:11px;color:#ff8a5c}
.nvlou-lucky-cell.nvlou-lucky-on{box-shadow:0 0 0 3px #ff4713 inset;transform:scale(1.04);background:#fff1e8}
.nvlou-lucky-cell.nvlou-lucky-empty{opacity:.55}
.nvlou-lucky-draw{grid-row:2;grid-column:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:radial-gradient(circle at 50% 34%,#ff9a55,#ff4713 68%);border:2px solid #ffd44d;box-shadow:0 4px 12px rgba(232,60,10,.35),inset 0 1px 0 rgba(255,255,255,.45);color:#fff;font-size:17px;font-weight:800;border-radius:14px;cursor:pointer;letter-spacing:1px;text-shadow:0 1px 3px rgba(140,30,0,.4);transition:opacity .15s,transform .15s;user-select:none}
.nvlou-lucky-draw:hover{opacity:.94;transform:scale(1.03)}
.nvlou-lucky-draw.nvlou-lucky-busy{opacity:.6;pointer-events:none}
.nvlou-lucky-draw.nvlou-lucky-off{background:linear-gradient(135deg,#c9cdd4,#a8adb8);pointer-events:none}

/* 元信息行：胶囊 */
.nvlou-lucky-meta{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:16px;font-size:13px;color:#666}
.nvlou-lucky-meta > span{background:#fff3ea;border:1px solid #ffe0cd;border-radius:16px;padding:5px 14px}
.nvlou-lucky-meta b{color:#ff4713}
.nvlou-lucky-closed{font-style:normal;color:#e03c0d;font-size:12px;background:#fde8e0;border:1px solid #f8c8b6;border-radius:16px;padding:5px 14px}

/* 中奖弹窗（挂 body 的弹层，变量块带 .nvlou-lucky-mask） */
.nvlou-lucky-mask{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;padding:24px}
.nvlou-lucky-modal{width:320px;max-width:92vw;background:linear-gradient(180deg,#fff7f0,#fff);border-radius:16px;padding:26px 22px 20px;text-align:center;box-shadow:0 12px 48px rgba(0,0,0,.25)}
.nvlou-lucky-modaltitle{font-size:20px;font-weight:700;color:#ff4713}
.nvlou-lucky-modalbody{margin:14px 0 4px}
.nvlou-lucky-modalbody img{width:72px;height:72px;object-fit:contain;border-radius:10px;margin-bottom:8px}
.nvlou-lucky-mname{font-size:16px;font-weight:600;color:#333}
.nvlou-lucky-mnote{font-size:13px;color:#888;margin-top:6px;word-break:break-all}
.nvlou-lucky-modalbtns{display:flex;gap:10px;margin-top:16px}
.nvlou-lucky-mbtn{flex:1;display:block;background:linear-gradient(135deg,#ff7a4d,#ff4713);color:#fff;font-size:14px;font-weight:600;text-decoration:none;border:none;border-radius:20px;padding:10px 0;cursor:pointer}
.nvlou-lucky-mbtn:hover{opacity:.9;color:#fff;text-decoration:none}
.nvlou-lucky-mbtn2{background:#fff2ec;color:#ff4713}

/* 我的中奖记录 */
.nvlou-lucky-recs{display:flex;flex-direction:column;gap:10px}
.nvlou-order-luckytag{display:inline-block;background:#ff4713;color:#fff;font-size:10px;font-style:normal;line-height:14px;padding:0 5px;border-radius:7px;margin-left:6px;vertical-align:1px}
.nvlou-lucky-rec{display:flex;align-items:center;gap:12px;background:#fff8f3;border:1px solid #ffe8da;border-left:3px solid #ff7a4d;border-radius:10px;padding:10px 12px}
.nvlou-lucky-rec img{width:44px;height:44px;object-fit:contain;border-radius:8px;flex-shrink:0}
.nvlou-lucky-recinfo{flex:1;min-width:0}
.nvlou-lucky-recname{font-size:13px;font-weight:600;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nvlou-lucky-rectime{font-size:12px;color:#999;margin-top:2px}
.nvlou-lucky-recst{font-size:12px;color:#ff8a5c;flex-shrink:0}
.nvlou-lucky-recst a{color:#ff4713;text-decoration:none}

/* 暗黑 */
html.io-black-mode .nvlou-lucky-hero{background:linear-gradient(120deg,#3a140c 0%,#5a2410 55%,#6e3212 100%)}
html.io-black-mode .nvlou-lucky-cell{background:linear-gradient(180deg,#2a2b30,#25262b);border-color:#4a3327;box-shadow:0 1px 4px rgba(0,0,0,.3)}
html.io-black-mode .nvlou-lucky-cell:hover{box-shadow:0 4px 12px rgba(0,0,0,.4)}
html.io-black-mode .nvlou-lucky-cellname{color:#e8e8e8}
html.io-black-mode .nvlou-lucky-cellsub{color:#ff8a5c}
html.io-black-mode .nvlou-lucky-cell.nvlou-lucky-on{background:#33281d;box-shadow:0 0 0 3px #ff7a4d inset}
html.io-black-mode .nvlou-lucky-draw{background:linear-gradient(135deg,#e05a2d,#e03c0d)}
html.io-black-mode .nvlou-lucky-draw.nvlou-lucky-off{background:linear-gradient(135deg,#3a3b40,#2a2b30);color:#888}
html.io-black-mode .nvlou-lucky-meta{color:#aaa}
html.io-black-mode .nvlou-lucky-meta > span{background:#2a2b30;border-color:#3a3b40}
html.io-black-mode .nvlou-lucky-meta b{color:#ff7a4d}
html.io-black-mode .nvlou-lucky-closed{background:#3a221a;border-color:#5a3020;color:#ff8a5c}
html.io-black-mode .nvlou-lucky-rec{background:#2a2b30;border-color:#3a3b40;border-left-color:#e05a2d}
html.io-black-mode .nvlou-lucky-recname{color:#e8e8e8}
html.io-black-mode .nvlou-lucky-recst{color:#ff8a5c}
html.io-black-mode .nvlou-lucky-recst a{color:#ff7a4d}
html.io-black-mode .nvlou-lucky-mbtn2{background:#2c2420;color:#ff7a4d}
html.io-black-mode .nvlou-order-luckytag{background:#ff4713;color:#fff}

/* 小屏 */
@media (max-width:767px){
	.nvlou-lucky-wrap{max-width:340px}
	.nvlou-lucky-cell{min-height:84px;padding:8px 4px}
	.nvlou-lucky-cell img{width:40px;height:40px}
	.nvlou-lucky-cellname{font-size:11px}
	.nvlou-lucky-draw{font-size:14px}
	.nvlou-lucky-herotitle{font-size:19px;letter-spacing:2px}
	.nvlou-lucky-herotime{font-size:11px;padding:4px 10px}
}

/* ==================== v30 优惠券（票根卡片 / 领取按钮 / 我的券 tab / 详情页券条） 2026-10-17 ==================== */
.nvlou-cp-list{display:flex;flex-direction:column;gap:12px}
.nvlou-cp-card{display:flex;align-items:center;background:#fff;border:1px solid #ffe0cd;border-radius:12px;overflow:hidden;position:relative}
.nvlou-cp-left{width:104px;flex-shrink:0;align-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:linear-gradient(135deg,#ff7a4d,#ff4713);color:#fff;padding:12px 6px}
.nvlou-cp-amt{font-size:26px;font-weight:800;line-height:1.1;letter-spacing:-.5px;white-space:nowrap}
/* 折扣券券面「8.5折」比金额字串长，缩一档字号避免撑出左块 */
.nvlou-cp-amt.nvlou-cp-zhe{font-size:22px}
.nvlou-cp-amt em{font-size:14px;font-style:normal;font-weight:600;margin-right:1px}
.nvlou-cp-min{font-size:11px;opacity:.92;text-align:center}
.nvlou-cp-card::after{content:'';position:absolute;left:104px;top:6px;bottom:6px;border-left:1px dashed #ffd2bb}
.nvlou-cp-mid{flex:1;min-width:0;padding:12px 14px}
.nvlou-cp-name{font-size:14px;font-weight:600;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nvlou-cp-time{font-size:12px;color:#999;margin-top:4px}
.nvlou-cp-leftnum{font-size:11px;color:#ff8a5c;margin-top:3px}
.nvlou-cp-src{font-style:normal;color:#c2185b;background:#fdeef4;border-radius:3px;padding:0 4px}
.nvlou-cp-right{padding-right:14px;flex-shrink:0}
.nvlou-cp-btn{display:inline-block;border:none;background:linear-gradient(135deg,#ff7a4d,#ff4713);color:#fff;font-size:13px;font-weight:600;border-radius:16px;padding:7px 16px;cursor:pointer;text-decoration:none;white-space:nowrap}
.nvlou-cp-btn:hover{opacity:.9;color:#fff;text-decoration:none}
.nvlou-cp-btn.nvlou-cp-btnoff{background:#f2f2f4;color:#aaa;cursor:default}
.nvlou-cp-taken .nvlou-cp-left,.nvlou-cp-used .nvlou-cp-left,.nvlou-cp-expired .nvlou-cp-left{background:linear-gradient(135deg,#c9cdd4,#b3b8c0)}
.nvlou-cp-used .nvlou-cp-name,.nvlou-cp-expired .nvlou-cp-name{color:#999}
.nvlou-cp-tabs{display:flex;gap:8px;margin-bottom:14px;border-bottom:1px solid #f0f0f0}
.nvlou-cp-tabs a{position:relative;padding:8px 2px;margin-right:16px;font-size:13px;color:#666;text-decoration:none}
.nvlou-cp-tabs a em{font-style:normal;color:#bbb;font-size:12px}
.nvlou-cp-tabs a.nvlou-active{color:#ff4713;font-weight:600}
.nvlou-cp-tabs a.nvlou-active::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#ff4713;border-radius:2px}
/* 详情页券条 */
.nvlou-shop-couponbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0 2px;padding:8px 10px;background:#fff6f0;border:1px dashed #ffc9a9;border-radius:8px;font-size:12px;color:#c0390c}
.nvlou-shop-couponbar b{color:#ff4713}
.nvlou-shop-couponbar label{margin-left:auto;color:#999;cursor:pointer;white-space:nowrap;font-weight:400}
.nvlou-shop-couponbar input{vertical-align:-2px;margin-right:2px}
/* 订单页券行 */
.nvlou-order-coupon{color:#ff4713;font-size:12px;margin-left:6px}
/* 暗黑 */
html.io-black-mode .nvlou-cp-card{background:#25262a;border-color:#3a3b40}
html.io-black-mode .nvlou-cp-card::after{border-left-color:#3a3b40}
html.io-black-mode .nvlou-cp-name{color:#e8e8e8}
html.io-black-mode .nvlou-cp-time{color:#888}
html.io-black-mode .nvlou-cp-leftnum{color:#ff8a5c}
html.io-black-mode .nvlou-cp-src{color:#ff8fb8;background:#3a2530}
html.io-black-mode .nvlou-cp-btn.nvlou-cp-btnoff{background:#2f3035;color:#777}
html.io-black-mode .nvlou-cp-tabs{border-bottom-color:#2f3035}
html.io-black-mode .nvlou-cp-tabs a{color:#aaa}
html.io-black-mode .nvlou-shop-couponbar{background:#2a2018;border-color:#5a3a22;color:#ff9f70}
html.io-black-mode .nvlou-shop-couponbar label{color:#999}
/* 小屏 */
@media (max-width:767px){
	.nvlou-cp-left{width:86px}
	.nvlou-cp-card::after{left:86px}
	.nvlou-cp-amt{font-size:22px}
	.nvlou-cp-mid{padding:10px}
	.nvlou-cp-btn{padding:6px 12px;font-size:12px}
	.nvlou-cp-right{padding-right:10px}
}

/* ============================================================
 * 订单详情（v14，模板 view/shops/shops_order_detail.html）
 * 状态头 / 进度轴 / 金额明细 / 收货物流 / 备注
 * ============================================================ */
/* --- 状态头：左侧 4px 状态色条，四态各一色 --- */
.nvlou-od-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;border-left:4px solid #f5a623;background:linear-gradient(90deg,#fffaf3,#fff)}
.nvlou-od-headmain{flex:1;min-width:0}
.nvlou-od-st1{border-left-color:#1a7cf7;background:linear-gradient(90deg,#f4f9ff,#fff)}
.nvlou-od-st2{border-left-color:#12a15c;background:linear-gradient(90deg,#f4fbf7,#fff)}
.nvlou-od-st3{border-left-color:#c9c9c9;background:linear-gradient(90deg,#fafafa,#fff)}
.nvlou-od-statustext{font-size:19px;font-weight:600;color:#333;letter-spacing:1px}
.nvlou-od-statustip{font-size:12px;color:#999;margin-top:6px;line-height:1.6}
.nvlou-od-headops{display:flex;align-items:center;gap:10px;flex-shrink:0}
.nvlou-od-btn{display:inline-block;border:1px solid #e0e0e0;border-radius:16px;padding:6px 16px;font-size:12px;color:#666;text-decoration:none;background:#fff;line-height:1.4;cursor:pointer}
.nvlou-od-btn:hover{border-color:#ff4713;color:#ff4713}
.nvlou-od-btnn{border:1px solid #ff4713;background:#ff4713;color:#fff;border-radius:16px;padding:6px 18px;font-size:12px;cursor:pointer;line-height:1.4}
.nvlou-od-btnn:hover{background:#f03d0a;border-color:#f03d0a}
.nvlou-od-cardh{display:flex;align-items:center;justify-content:space-between;gap:10px}
.nvlou-od-sn{font-size:12px;color:#aaa;font-weight:400}
/* --- 进度轴：伪元素画连线，dot 压在线上 --- */
.nvlou-od-steps{display:flex;align-items:flex-start;padding:8px 0 2px}
.nvlou-od-step{position:relative;flex:1;text-align:center;padding-top:24px}
.nvlou-od-step::before{content:"";position:absolute;top:6px;left:-50%;width:100%;height:2px;background:#eee;z-index:0}
.nvlou-od-step:first-child::before{display:none}
.nvlou-od-dot{position:absolute;top:0;left:50%;margin-left:-7px;width:14px;height:14px;border-radius:50%;background:#e6e6e6;box-shadow:0 0 0 1px #e6e6e6;z-index:1}
.nvlou-od-steptext{display:block;font-size:13px;color:#999}
.nvlou-od-steptime{display:block;font-size:11px;color:#bbb;margin-top:4px}
.nvlou-od-stepdone .nvlou-od-dot{background:#12a15c;box-shadow:0 0 0 1px #12a15c}
.nvlou-od-stepdone .nvlou-od-steptext{color:#555}
.nvlou-od-stepdone::before{background:#c9e9d6}
.nvlou-od-stepcur .nvlou-od-dot{background:#ff4713;box-shadow:0 0 0 4px rgba(255,71,19,.14)}
.nvlou-od-stepcur .nvlou-od-steptext{color:#ff4713;font-weight:600}
/* 取消单：走过的两步用灰点，别用「成功绿」误导 */
.nvlou-od-st3 .nvlou-od-stepdone .nvlou-od-dot{background:#bbb;box-shadow:0 0 0 1px #bbb}
.nvlou-od-st3 .nvlou-od-stepdone .nvlou-od-steptext{color:#888}
.nvlou-od-st3 .nvlou-od-stepcur .nvlou-od-dot{background:#999;box-shadow:0 0 0 4px rgba(153,153,153,.14)}
.nvlou-od-st3 .nvlou-od-stepcur .nvlou-od-steptext{color:#777}
/* --- 商品行单价 + 金额明细 --- */
.nvlou-od-unit{font-size:11px;color:#bbb;margin-top:3px}
.nvlou-od-money{margin:6px 14px 0;padding:10px 0 2px;border-top:1px dashed #eee}
.nvlou-od-mrow{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:#666;padding:5px 0}
.nvlou-od-mcoupon{color:#ff4713}
.nvlou-od-cpname{font-style:normal;margin-left:6px;padding:0 6px;font-size:11px;line-height:17px;color:#ff4713;background:#fff2ec;border-radius:3px}
.nvlou-od-mpay{border-top:1px solid #f5f5f5;margin-top:6px;padding-top:10px}
.nvlou-od-mpay b{font-size:20px;color:#ff4713;font-weight:600}
/* --- 收货 / 物流两栏 --- */
.nvlou-od-twocol{display:flex;align-items:stretch;gap:14px}
.nvlou-od-twocol .nvlou-od-side{flex:1;min-width:0}
.nvlou-od-kv{padding:0 0 6px}
.nvlou-od-kvrow{display:flex;gap:10px;padding:4px 0;font-size:13px;line-height:1.75}
.nvlou-od-kvrow i{flex-shrink:0;width:70px;font-style:normal;color:#999}
.nvlou-od-kvrow span{color:#444;word-break:break-all}
.nvlou-od-kvwide .nvlou-od-kvrow i{width:82px}
.nvlou-od-shipno{font-family:Consolas,Menlo,monospace;letter-spacing:.4px}
.nvlou-od-empty{font-size:12px;color:#bbb;padding:4px 0 8px}
/* 发货内容（卡密 / 网盘） */
.nvlou-vd-list{padding:2px 0 6px}
.nvlou-vd-item{padding:10px 0;border-bottom:1px dashed #f0f0f0}
.nvlou-vd-item:last-child{border-bottom:none;padding-bottom:2px}
.nvlou-vd-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.nvlou-vd-head b{font-size:14px;color:#333;font-weight:600}
.nvlou-vd-tag{font-style:normal;padding:0 6px;border-radius:8px;background:#ff4713;color:#fff;font-size:11px;line-height:17px}
.nvlou-vd-spec{font-size:12px;color:#9aa0a6}
.nvlou-vd-lines{display:flex;flex-direction:column;gap:6px}
.nvlou-vd-line{display:flex;align-items:center;gap:10px;background:#fafafa;border:1px solid #f0f0f0;border-radius:6px;padding:7px 10px}
.nvlou-vd-line code{flex:1;min-width:0;font-family:Consolas,Menlo,monospace;font-size:13px;color:#333;word-break:break-all}
.nvlou-vd-copy{flex-shrink:0;font-size:12px;color:#ff4713;border:1px solid #ffd4c4;border-radius:10px;padding:1px 10px;line-height:18px}
.nvlou-vd-copy:hover{background:#fff4ef}
.nvlou-vd-copy.nvlou-vd-copied{color:#12a15c;border-color:#c9ecd8}
.nvlou-od-track a{font-size:12px;color:#1a7cf7;text-decoration:none}
.nvlou-od-track a:hover{text-decoration:underline}
/* --- 备注 --- */
.nvlou-od-notebtn{font-size:12px;color:#1a7cf7;text-decoration:none}
.nvlou-od-notebtn:hover{text-decoration:underline}
.nvlou-od-notetext{font-size:13px;color:#444;line-height:1.85;white-space:pre-wrap;word-break:break-word}
.nvlou-od-noteform textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #e6e6e6;border-radius:8px;padding:10px 12px;font-size:13px;color:#444;line-height:1.75;outline:none;resize:vertical;background:#fff;font-family:inherit}
.nvlou-od-noteform textarea:focus{border-color:#ff8a5c}
.nvlou-od-notefoot{display:flex;align-items:center;gap:10px;margin-top:10px}
.nvlou-od-notehint{font-size:11px;color:#bbb;margin-right:auto;line-height:1.6}
.nvlou-od-adminnote{margin-top:10px;padding:9px 12px;background:#fbf7ef;border-radius:8px;font-size:12px;color:#8a6d3b;line-height:1.8}
.nvlou-od-adminnote i{font-style:normal;color:#c8a06a;margin-right:8px}
/* --- 列表页：订单号可点 + 底部「订单详情」按钮靠右 --- */
.nvlou-order-sn a{color:inherit;text-decoration:none}
.nvlou-order-sn a:hover{color:#ff4713}
.nvlou-ordcard-foot .nvlou-order-pay{margin-right:auto}
.nvlou-ordcard-foot .nvlou-order-cancelbtn{margin-left:0}

/* 暗黑 */
html.io-black-mode .nvlou-od-head{background:#26272b;border-color:#f5a623}
html.io-black-mode .nvlou-od-st1{border-left-color:#1a7cf7}
html.io-black-mode .nvlou-od-st2{border-left-color:#12a15c}
html.io-black-mode .nvlou-od-st3{border-left-color:#555}
html.io-black-mode .nvlou-od-statustext{color:#eaeaea}
html.io-black-mode .nvlou-od-statustip{color:#8a8b90}
html.io-black-mode .nvlou-od-btn{background:#25262a;border-color:#3a3b40;color:#c9cacd}
html.io-black-mode .nvlou-od-btn:hover{border-color:#ff4713;color:#ff6a3d}
html.io-black-mode .nvlou-od-step::before{background:#333}
html.io-black-mode .nvlou-od-dot{background:#3a3b40;box-shadow:0 0 0 1px #3a3b40}
html.io-black-mode .nvlou-od-steptext{color:#888}
html.io-black-mode .nvlou-od-steptime{color:#6b6c72}
html.io-black-mode .nvlou-od-stepdone::before{background:#2f5a45}
html.io-black-mode .nvlou-od-money{border-top-color:#333}
html.io-black-mode .nvlou-od-mrow{color:#aaa}
html.io-black-mode .nvlou-od-mpay{border-top-color:#333}
html.io-black-mode .nvlou-od-cpname{background:#3a2419;color:#ff7a4d}
html.io-black-mode .nvlou-od-kvrow i{color:#7b7c82}
html.io-black-mode .nvlou-od-kvrow span{color:#c9cacd}
html.io-black-mode .nvlou-od-empty{color:#6b6c72}
html.io-black-mode .nvlou-od-notetext{color:#c9cacd}
html.io-black-mode .nvlou-od-noteform textarea{background:#25262a;border-color:#3a3b40;color:#c9cacd}
html.io-black-mode .nvlou-od-adminnote{background:#2c2619;color:#d8b184}
html.io-black-mode .nvlou-od-notebtn{color:#5aa6ff}
html.io-black-mode .nvlou-od-sn{color:#7b7c82}
html.io-black-mode .nvlou-vd-item{border-bottom-color:#333}
html.io-black-mode .nvlou-vd-head b{color:#c9cacd}
html.io-black-mode .nvlou-vd-line{background:#25262a;border-color:#333}
html.io-black-mode .nvlou-vd-line code{color:#c9cacd}
html.io-black-mode .nvlou-vd-copy{border-color:#5a3428;color:#ff7a4d}
html.io-black-mode .nvlou-vd-copy:hover{background:#3a2419}
html.io-black-mode .nvlou-shop-vtag{background:#3a2419;color:#ff7a4d}

/* 小屏 */
@media (max-width:767px){
	.nvlou-od-head{flex-direction:column;align-items:flex-start;gap:12px;padding:16px}
	.nvlou-od-headops{width:100%;justify-content:flex-end}
	.nvlou-od-steps{flex-wrap:nowrap}
	.nvlou-od-steptext{font-size:12px}
	.nvlou-od-steptime{font-size:10px;line-height:1.5}
	.nvlou-od-twocol{flex-direction:column;gap:0}
	.nvlou-od-kvrow i{width:62px}
	.nvlou-od-mpay b{font-size:18px}
}

/* ==================== 抽奖 2.0：四玩法 + 6 套主题色（2026-10-18） ==================== */
/* 主题变量：--nv-lk-d 深色 / --nv-lk 主色 / --nv-lk2 亮色 / --nv-lk-soft 浅底 / --nv-lk-line 浅描边 */
.nvlou-lucky-card,.nvlou-lucky-mask{--nv-lk-d:#c81e0f;--nv-lk:#e8451f;--nv-lk2:#ff7a30;--nv-lk-soft:#fff4ec;--nv-lk-line:#ffd9c0}
.nvlk-theme-2{--nv-lk-d:#a86400;--nv-lk:#d98200;--nv-lk2:#ffb020;--nv-lk-soft:#fff8e6;--nv-lk-line:#ffe1a8}
.nvlk-theme-3{--nv-lk-d:#0a6f63;--nv-lk:#0f9d8a;--nv-lk2:#39c7ae;--nv-lk-soft:#eafaf6;--nv-lk-line:#b9ecdf}
.nvlk-theme-4{--nv-lk-d:#4a32a8;--nv-lk:#6b4fd8;--nv-lk2:#9b7bf0;--nv-lk-soft:#f2eeff;--nv-lk-line:#d9cffa}
.nvlk-theme-5{--nv-lk-d:#a8305f;--nv-lk:#d84a8a;--nv-lk2:#ff7bb0;--nv-lk-soft:#fff0f6;--nv-lk-line:#fbd0e2}
.nvlk-theme-6{--nv-lk-d:#1e3f9e;--nv-lk:#2f5fe0;--nv-lk2:#5b8cff;--nv-lk-soft:#eef3ff;--nv-lk-line:#c9d8fb}

/* 主题接管原有硬编码色（九宫格也跟着换色） */
.nvlou-lucky-card .nvlou-lucky-hero{background:linear-gradient(120deg,var(--nv-lk-d) 0%,var(--nv-lk) 55%,var(--nv-lk2) 100%)}
.nvlou-lucky-card .nvlou-lucky-cell{background:linear-gradient(180deg,#fffdfb,var(--nv-lk-soft));border-color:var(--nv-lk-line)}
.nvlou-lucky-card .nvlou-lucky-cell.nvlou-lucky-on{background:var(--nv-lk-soft);box-shadow:0 0 0 3px var(--nv-lk) inset}
.nvlou-lucky-card .nvlou-lucky-cellsub{color:var(--nv-lk2)}
.nvlou-lucky-card .nvlou-lucky-draw{background:radial-gradient(circle at 50% 32%,var(--nv-lk2),var(--nv-lk))}
.nvlou-lucky-card .nvlou-lucky-draw.nvlou-lucky-off{background:linear-gradient(135deg,#c9cdd4,#a8adb8)}
.nvlou-lucky-card .nvlou-lucky-meta b{color:var(--nv-lk)}
.nvlou-lucky-card .nvlou-lucky-rec{border-left-color:var(--nv-lk2)}
.nvlou-lucky-card .nvlou-lucky-recst a{color:var(--nv-lk)}

/* ---------- 大转盘 ---------- */
.nvlou-lucky-wheelbox{position:relative;width:min(340px,84vw);margin:10px auto 0}
.nvlou-lucky-wheel{position:relative;width:100%;padding-top:100%;border-radius:50%;background:linear-gradient(180deg,#fff,#fff6ef);
  border:6px solid #fff;box-shadow:0 0 0 3px var(--nv-lk-line),0 10px 26px rgba(0,0,0,.12)}
.nvlou-lucky-wring{position:absolute;inset:0;border-radius:50%;transform:rotate(0deg);
  background:repeating-conic-gradient(from -22.5deg,#ffffff 0 45deg,#ffeadb 45deg 90deg);
  transition:transform 4.2s cubic-bezier(.17,.67,.2,1);will-change:transform}
.nvlou-lucky-wslice{position:absolute;inset:0;border-radius:50%;transform:rotate(calc(var(--i) * 45deg))}
/* 标签反向旋转：无论扇区转到哪个角度，文字始终水平可读 */
.nvlou-lucky-wslice span{position:absolute;left:50%;top:11%;width:76px;margin-left:-38px;text-align:center;
  font-size:11px;font-weight:600;line-height:1.3;color:#5a3b2c;word-break:break-all;
  transform:rotate(calc(var(--i) * -45deg))}
.nvlou-lucky-whub{position:absolute;left:50%;top:50%;width:86px;height:86px;margin:-43px 0 0 -43px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;text-align:center;padding:0 8px;z-index:3;cursor:pointer;
  background:radial-gradient(circle at 50% 32%,var(--nv-lk2),var(--nv-lk));color:#fff;
  font-size:13px;font-weight:700;line-height:1.15;border:3px solid rgba(255,255,255,.8);
  box-shadow:0 4px 14px rgba(0,0,0,.22);user-select:none;transition:transform .15s}
.nvlou-lucky-whub:hover{transform:scale(1.04)}
.nvlou-lucky-whub.nvlou-lucky-busy{opacity:.65;pointer-events:none}
.nvlou-lucky-whub.nvlou-lucky-off{background:linear-gradient(135deg,#c9cdd4,#a8adb8);cursor:default}
.nvlou-lucky-wptr{position:absolute;left:50%;top:-6px;width:20px;height:32px;margin-left:-10px;z-index:4;
  background:var(--nv-lk-d);clip-path:polygon(50% 100%,0 0,100% 0);border-radius:3px 3px 0 0}

/* ---------- 刮刮卡 ---------- */
.nvlou-lucky-swrap{max-width:380px}
.nvlou-lucky-scard{position:relative;width:100%;height:180px;border-radius:14px;overflow:hidden;
  display:flex;align-items:center;justify-content:center;text-align:center;
  background:linear-gradient(180deg,#fffdfb,var(--nv-lk-soft));border:1px solid var(--nv-lk-line)}
.nvlou-lucky-sres{display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px;max-width:100%}
.nvlou-lucky-sres img{width:54px;height:54px;object-fit:contain;border-radius:8px}
.nvlou-lucky-sname{font-size:17px;font-weight:700;color:var(--nv-lk-d);line-height:1.3;word-break:break-all}
.nvlou-lucky-ssub{font-size:13px;color:#8a8f99;line-height:1.5;word-break:break-all;max-height:44px;overflow:hidden}
.nvlou-lucky-scanvas{position:absolute;left:0;top:0;width:100%;height:100%;cursor:crosshair;touch-action:none}
.nvlou-lucky-scanvas.nvlou-lucky-revealed{display:none}
.nvlou-lucky-sbtns{display:flex;gap:10px;justify-content:center;margin-top:16px;flex-wrap:wrap}

/* ---------- 盲盒 ---------- */
.nvlou-lucky-bwrap{display:flex;flex-direction:column;align-items:center;gap:22px;padding-top:6px}
.nvlou-lucky-box{position:relative;width:210px;height:190px;perspective:700px}
.nvlou-lucky-bglow{position:absolute;left:50%;top:46%;width:190px;height:190px;margin:-95px 0 0 -95px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,190,90,.55),rgba(255,190,90,0) 70%);opacity:0;transition:opacity .5s}
.nvlou-lucky-box.open .nvlou-lucky-bglow{opacity:1}
.nvlou-lucky-bprize{position:absolute;left:50%;bottom:46px;width:150px;margin-left:-75px;text-align:center;z-index:1;
  opacity:0;transform:translateY(26px) scale(.7);transition:all .55s cubic-bezier(.2,.9,.3,1.3)}
.nvlou-lucky-box.open .nvlou-lucky-bprize{opacity:1;transform:translateY(-26px) scale(1)}
.nvlou-lucky-bprize img{width:58px;height:58px;object-fit:contain;border-radius:8px}
.nvlou-lucky-bname{font-size:14px;font-weight:700;color:var(--nv-lk-d);line-height:1.3;word-break:break-all}
.nvlou-lucky-bsub{font-size:12px;color:#8a8f99;margin-top:3px;word-break:break-all}
.nvlou-lucky-bbody{position:absolute;left:50%;bottom:0;width:180px;height:112px;margin-left:-90px;z-index:2;
  border-radius:10px 10px 14px 14px;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(180deg,var(--nv-lk),var(--nv-lk-d));color:rgba(255,255,255,.85);font-size:34px;font-weight:800}
.nvlou-lucky-blid{position:absolute;left:50%;bottom:108px;width:192px;height:40px;margin-left:-96px;z-index:3;
  border-radius:8px;background:linear-gradient(180deg,var(--nv-lk2),var(--nv-lk));
  transform-origin:50% 100%;transition:transform .6s cubic-bezier(.2,.8,.3,1.2)}
.nvlou-lucky-box.open .nvlou-lucky-blid{transform:rotateX(-115deg) translateY(-18px) translateZ(10px)}
.nvlou-lucky-bribbon{position:absolute;left:50%;bottom:0;width:20px;height:148px;margin-left:-10px;z-index:4;
  background:rgba(255,255,255,.35);pointer-events:none;transition:opacity .3s}
.nvlou-lucky-box.open .nvlou-lucky-bribbon{opacity:0}

/* ---------- 通用按钮（刮刮卡 / 盲盒） ---------- */
.nvlou-lucky-btn{display:inline-block;min-width:150px;padding:12px 26px;border:0;border-radius:26px;cursor:pointer;
  background:linear-gradient(135deg,var(--nv-lk2),var(--nv-lk));color:#fff;font-size:15px;font-weight:700;
  box-shadow:0 6px 18px rgba(0,0,0,.16);transition:transform .15s,opacity .15s}
.nvlou-lucky-btn:hover{transform:translateY(-1px)}
.nvlou-lucky-btn.nvlou-lucky-off{background:linear-gradient(135deg,#c9cdd4,#a8adb8);cursor:default;box-shadow:none}
.nvlou-lucky-btn.nvlou-lucky-busy{opacity:.6;pointer-events:none}
.nvlou-lucky-btn2{padding:12px 18px;border-radius:26px;border:1px solid var(--nv-lk-line);background:#fff;
  color:var(--nv-lk);font-size:14px;cursor:pointer}

/* ---------- 奖池一览 / 最近中奖 ---------- */
.nvlou-lucky-pool{margin-top:22px;padding-top:18px;border-top:1px dashed var(--nv-lk-line)}
.nvlou-lucky-pooltitle{font-size:13px;color:#8a8f99;margin-bottom:10px;text-align:center}
.nvlou-lucky-poolgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.nvlou-lucky-pcell{min-height:62px;padding:8px 4px;border-radius:10px;text-align:center;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  background:var(--nv-lk-soft);border:1px solid var(--nv-lk-line)}
.nvlou-lucky-pcell img{width:30px;height:30px;object-fit:contain;border-radius:5px}
.nvlou-lucky-pname{font-size:11px;color:#5a3b2c;line-height:1.25;word-break:break-all}
.nvlou-lucky-pcell.nvlou-lucky-empty{opacity:.5}
.nvlou-lucky-pub{margin-top:16px;padding-top:14px;border-top:1px dashed var(--nv-lk-line)}
.nvlou-lucky-pubtitle{font-size:13px;color:#8a8f99;margin-bottom:8px;text-align:center}
.nvlou-lucky-publist{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.nvlou-lucky-pubitem{font-size:12px;color:#7a7f88;border-radius:14px;padding:4px 10px;
  background:var(--nv-lk-soft);border:1px solid var(--nv-lk-line)}
.nvlou-lucky-pubitem b{color:var(--nv-lk-d);font-weight:600}
.nvlou-lucky-pubitem em{font-style:normal;color:#333;font-weight:600}
.nvlou-lucky-pubitem i{font-style:normal;color:#a8adb8;margin-left:5px;font-size:11px}

/* ---------- 抽奖 2.0 暗黑 ---------- */
html.io-black-mode .nvlou-lucky-wheel{background:linear-gradient(180deg,#2f3036,#26272c);border-color:#2f3036;
  box-shadow:0 0 0 3px #3a3b40,0 10px 26px rgba(0,0,0,.4)}
html.io-black-mode .nvlou-lucky-wring{background:repeating-conic-gradient(from -22.5deg,#33261f 0 45deg,#2a2019 45deg 90deg)}
html.io-black-mode .nvlou-lucky-wslice span{color:#e2cfc4}
html.io-black-mode .nvlou-lucky-scard{background:linear-gradient(180deg,#2a2b30,#25262b);border-color:#3a3b40}
html.io-black-mode .nvlou-lucky-sname{color:#ffb08a}
html.io-black-mode .nvlou-lucky-btn2{background:#2a2b30;border-color:#4a3327}
html.io-black-mode .nvlou-lucky-pcell,html.io-black-mode .nvlou-lucky-pubitem{background:#2a2b30;border-color:#3a3b40}
html.io-black-mode .nvlou-lucky-pname,html.io-black-mode .nvlou-lucky-pubitem em{color:#dcdde0}
html.io-black-mode .nvlou-lucky-bname{color:#ffb08a}
html.io-black-mode .nvlou-lucky-pool,html.io-black-mode .nvlou-lucky-pub{border-top-color:#3a3b40}

@media (max-width:767px){
	.nvlou-lucky-wheelbox{width:min(300px,80vw)}
	.nvlou-lucky-wslice span{top:10%;width:66px;margin-left:-33px;font-size:10px}
	.nvlou-lucky-whub{width:74px;height:74px;margin:-37px 0 0 -37px;font-size:12px}
	.nvlou-lucky-scard{height:160px}
	.nvlou-lucky-box{width:186px;height:176px}
	.nvlou-lucky-bbody{width:164px;height:100px;margin-left:-82px}
	.nvlou-lucky-blid{width:176px;height:36px;margin-left:-88px;bottom:96px}
	.nvlou-lucky-bprize{width:136px;margin-left:-68px;bottom:42px}
	.nvlou-lucky-bribbon{height:132px}
	.nvlou-lucky-btn{min-width:132px;padding:11px 20px;font-size:14px}
	.nvlou-lucky-poolgrid{grid-template-columns:repeat(4,1fr);gap:6px}
	.nvlou-lucky-pname{font-size:10px}
}

/* ==================== 抽奖广场（暖色活动页，2026-10-18） ==================== */
.nvlk-plaza{
	--nvlk-bg:#fff8f1;--nvlk-ink:#3a2a1e;--nvlk-sub:#8b7565;
	--nvlk-line:#f1e2d2;--nvlk-warm:#fdf1e4;
	background:var(--nvlk-bg);border-radius:16px;padding:14px;color:var(--nvlk-ink)
}

/* ---------- hero ---------- */
.nvlk-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;
	overflow:hidden;border-radius:14px;padding:30px 34px;min-height:228px;
	background:linear-gradient(120deg,#fff5e8 0%,#ffead4 55%,#ffe2c6 100%)}
.nvlk-hero::after{content:"";position:absolute;right:-60px;bottom:-90px;width:280px;height:280px;border-radius:50%;
	background:radial-gradient(circle,rgba(255,183,94,.38),transparent 70%)}
.nvlk-hero-copy{position:relative;z-index:2;max-width:56%}
.nvlk-kicker{font-size:12px;letter-spacing:2px;color:#b08356;font-weight:700}
.nvlk-kicker em{font-style:normal;margin:0 6px;color:#d8b08a}
.nvlk-title{margin:12px 0 10px;font-size:31px;line-height:1.32;font-weight:800;color:#3a2415;letter-spacing:.5px}
.nvlk-sub{margin:0 0 18px;font-size:13.5px;color:#8a7259;line-height:1.75;max-width:430px}
.nvlk-cta{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 26px;border-radius:999px;
	background:linear-gradient(135deg,#f4701f,#e8541a);color:#fff;font-size:15px;font-weight:700;
	box-shadow:0 8px 20px rgba(232,84,26,.28);text-decoration:none;transition:transform .18s,box-shadow .18s}
.nvlk-cta:hover{color:#fff;transform:translateY(-1px);box-shadow:0 10px 24px rgba(232,84,26,.36)}
.nvlk-cta i{font-style:normal;font-size:17px}

/* hero 装饰：CSS 画的转盘 + 礼盒 + 金币 + 星点，全部无图片依赖 */
.nvlk-art{position:relative;flex:0 0 300px;height:210px}
.nvlk-art-glow{position:absolute;left:52%;top:50%;width:236px;height:236px;margin:-118px 0 0 -118px;border-radius:50%;
	background:radial-gradient(circle,rgba(255,199,120,.55),rgba(255,199,120,0) 70%)}
.nvlk-art-wheel{position:absolute;right:4px;top:6px;width:180px;height:180px;border-radius:50%;
	background:conic-gradient(#f7b955 0 45deg,#fff3dd 45deg 90deg,#f7b955 90deg 135deg,#fff3dd 135deg 180deg,
		#f7b955 180deg 225deg,#fff3dd 225deg 270deg,#f7b955 270deg 315deg,#fff3dd 315deg 360deg);
	border:7px solid #fff;box-shadow:0 0 0 4px #f9c97b,0 14px 30px rgba(180,110,30,.28);transform:rotate(-8deg)}
.nvlk-art-wheel::after{content:"";position:absolute;inset:12px;border-radius:50%;border:2px dashed rgba(255,255,255,.85)}
.nvlk-art-hub{position:absolute;left:50%;top:50%;width:52px;height:52px;margin:-26px 0 0 -26px;border-radius:50%;
	display:flex;align-items:center;justify-content:center;font-size:20px;color:#fff;
	background:radial-gradient(circle at 40% 32%,#ffd88a,#e79a2a);
	box-shadow:0 4px 12px rgba(160,90,10,.35),inset 0 -2px 6px rgba(150,80,0,.25)}
.nvlk-art-gift{position:absolute;border-radius:8px;box-shadow:0 10px 22px rgba(170,100,30,.25)}
.nvlk-g1{left:2px;bottom:6px;width:78px;height:64px;background:linear-gradient(180deg,#ef5b4c,#cf3f33)}
.nvlk-g1::before{content:"";position:absolute;left:50%;top:0;bottom:0;width:14px;margin-left:-7px;background:#ffe6a6}
.nvlk-g1::after{content:"";position:absolute;left:-6px;top:-12px;width:90px;height:16px;border-radius:4px;background:#f2705f}
.nvlk-g2{left:62px;bottom:2px;width:60px;height:50px;background:linear-gradient(180deg,#54a86a,#3c8652)}
.nvlk-g2::before{content:"";position:absolute;left:50%;top:0;bottom:0;width:12px;margin-left:-6px;background:#ffe6a6}
.nvlk-g2::after{content:"";position:absolute;left:-5px;top:-10px;width:70px;height:14px;border-radius:4px;background:#63b97a}
.nvlk-art-coin{position:absolute;width:16px;height:16px;border-radius:50%;
	background:radial-gradient(circle at 35% 32%,#ffe7a8,#e2a52f);box-shadow:0 2px 5px rgba(160,100,20,.35)}
.nvlk-c1{left:148px;bottom:32px}
.nvlk-c2{left:172px;bottom:16px;width:12px;height:12px}
.nvlk-c3{right:2px;top:150px;width:13px;height:13px}
.nvlk-art-sp{position:absolute;color:#f6b64a;opacity:.9}
.nvlk-s1{left:148px;top:24px;font-size:18px}
.nvlk-s2{right:24px;bottom:56px;font-size:13px}
.nvlk-s3{left:118px;bottom:4px;font-size:11px}

/* ---------- 数据条 ---------- */
.nvlk-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:14px 0 4px}
.nvlk-stat{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--nvlk-line);
	border-radius:12px;padding:14px 16px;transition:box-shadow .18s,transform .18s}
.nvlk-stat:hover{box-shadow:0 8px 18px rgba(190,140,90,.14);transform:translateY(-1px)}
.nvlk-stat-ico{width:36px;height:36px;flex:0 0 36px;display:flex;align-items:center;justify-content:center;
	border-radius:10px;background:var(--nvlk-warm);font-size:19px;line-height:1}
.nvlk-stat-txt{display:flex;flex-direction:column;line-height:1.2;min-width:0}
.nvlk-stat-txt b{font-size:20px;font-weight:800;color:#3a2a1e}
.nvlk-stat-txt i{font-style:normal;font-size:12px;color:var(--nvlk-sub);margin-top:3px;white-space:nowrap}
.nvlk-stat-ar{margin-left:auto;font-style:normal;color:#c9b39c;font-size:18px}

/* ---------- 区块标题 ---------- */
.nvlk-sechead{display:flex;align-items:baseline;gap:10px;margin:20px 2px 10px}
.nvlk-sechead h2{position:relative;margin:0;font-size:18px;font-weight:800;color:#3a2a1e;padding-left:12px}
.nvlk-sechead h2::before{content:"";position:absolute;left:0;top:50%;width:4px;height:17px;margin-top:-9px;
	border-radius:2px;background:linear-gradient(180deg,#f7902f,#e8541a)}
.nvlk-sechead span{font-size:12px;color:var(--nvlk-sub)}

/* ---------- 活动卡 ---------- */
.nvlk-acts{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.nvlk-act{display:flex;flex-direction:column;background:#fff;border:1px solid var(--nvlk-line);border-radius:14px;
	overflow:hidden;text-decoration:none;color:inherit;transition:transform .2s,box-shadow .2s}
.nvlk-act:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(190,140,90,.18);color:inherit}
.nvlk-act-cover{position:relative;height:116px;display:flex;align-items:center;justify-content:center;
	background:linear-gradient(135deg,#fff1dc,#ffe0bd)}
.nvlk-act-badge{position:absolute;left:8px;top:8px;padding:2px 8px;border-radius:999px;background:rgba(255,255,255,.92);
	color:#e2601c;font-size:11px;font-weight:700;box-shadow:0 2px 6px rgba(160,100,30,.15)}
.nvlk-act-badge.nvlk-badge-off{color:#9b8a7a}
.nvlk-act-body{padding:12px 14px 13px;display:flex;flex-direction:column;gap:6px;flex:1}
.nvlk-act-name{font-size:14.5px;font-weight:800;color:#3a2a1e;line-height:1.35;
	overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nvlk-act-time{font-size:11.5px;color:#a8917b;line-height:1.5;
	overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nvlk-act-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px}
.nvlk-act-cost{font-size:12px;font-weight:700;color:#d4961f}
.nvlk-act-btn{height:28px;padding:0 12px;border-radius:999px;display:inline-flex;align-items:center;
	background:linear-gradient(135deg,#f4701f,#e8541a);color:#fff;font-size:12px;font-weight:700}
.nvlk-act-ghost{align-items:center;justify-content:center;border-style:dashed;background:rgba(255,255,255,.55);
	color:#b7a48f;font-size:13px;text-align:center;line-height:1.7;min-height:196px}
/* 活动卡封面缩略图（四种玩法各一版） */
.nvlk-mini-grid{display:grid;grid-template-columns:repeat(3,20px);grid-auto-rows:20px;gap:4px}
.nvlk-mini-grid i{border-radius:4px;background:#fff;box-shadow:inset 0 0 0 1px #f0d8bb}
.nvlk-mini-grid i.on{background:linear-gradient(135deg,#f7902f,#e8541a);box-shadow:none}
.nvlk-mini-wheel{position:relative;width:74px;height:74px;border-radius:50%;border:4px solid #fff;
	background:conic-gradient(#f7b955 0 45deg,#fff3dd 45deg 90deg,#f7b955 90deg 135deg,#fff3dd 135deg 180deg,
		#f7b955 180deg 225deg,#fff3dd 225deg 270deg,#f7b955 270deg 315deg,#fff3dd 315deg 360deg);
	box-shadow:0 6px 16px rgba(180,110,30,.25)}
.nvlk-mini-wheel b{position:absolute;left:50%;top:50%;width:20px;height:20px;margin:-10px 0 0 -10px;
	border-radius:50%;background:#fff;box-shadow:0 0 0 3px #f2a63c}
.nvlk-mini-scratch{width:96px;height:64px;border-radius:8px;display:flex;align-items:center;justify-content:center;
	background:linear-gradient(120deg,#e9e3d9,#cfc7ba);box-shadow:0 6px 14px rgba(120,100,70,.2)}
.nvlk-mini-scratch b{color:#fff;font-size:22px}
.nvlk-mini-box{position:relative;width:66px;height:56px;border-radius:6px;display:flex;align-items:center;justify-content:center;
	background:linear-gradient(180deg,#f0a24a,#dd7a24);box-shadow:0 8px 18px rgba(170,100,30,.28)}
.nvlk-mini-box b{position:relative;z-index:2;color:#fff;font-size:26px;font-weight:800}
.nvlk-mini-box::after{content:"";position:absolute;left:-4px;top:-12px;width:74px;height:14px;border-radius:4px;background:#f7b667}

/* ---------- 抽奖区外壳 ---------- */
.nvlk-drawcard{margin-top:16px;background:#fff;border:1px solid var(--nvlk-line);border-radius:14px;padding:18px 18px 16px}
.nvlk-drawhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.nvlk-drawhead h3{margin:0;font-size:15px;font-weight:800;color:#3a2a1e}
.nvlk-drawhead h3 em{font-style:normal;margin-left:6px;font-size:12px;font-weight:700;color:var(--nv-lk);
	background:var(--nv-lk-soft);border:1px solid var(--nv-lk-line);border-radius:999px;padding:2px 8px}
.nvlk-drawhead span{font-size:12px;color:var(--nvlk-sub)}
.nvlk-plaza .nvlou-lucky-meta{margin-top:14px;padding:10px 12px;background:var(--nvlk-warm);
	border:1px solid var(--nvlk-line);border-radius:10px}

/* ---------- 中奖记录 / 精选奖品 ---------- */
.nvlk-two{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}
.nvlk-panel{background:#fff;border:1px solid var(--nvlk-line);border-radius:14px;padding:16px 18px;min-height:212px}
.nvlk-panelhead{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.nvlk-panelhead h3{position:relative;margin:0;font-size:15px;font-weight:800;color:#3a2a1e;padding-left:11px}
.nvlk-panelhead h3::before{content:"";position:absolute;left:0;top:50%;width:3px;height:15px;margin-top:-7.5px;
	border-radius:2px;background:#f7902f}
.nvlk-panelhead span{font-size:12px;color:var(--nvlk-sub)}
.nvlk-panelhead a{margin-left:auto;font-size:12px;color:#c08a52;text-decoration:none}
.nvlk-panelhead a:hover{color:#e2601c}
.nvlk-winners{display:flex;flex-direction:column;max-height:224px;overflow:auto}
.nvlk-win{display:flex;align-items:center;gap:8px;padding:8px 2px;border-bottom:1px dashed #f4e7d8;font-size:12.5px}
.nvlk-win:last-child{border-bottom:none}
.nvlk-win-dot{width:6px;height:6px;border-radius:50%;background:#f5a545;flex:0 0 6px}
.nvlk-win b{color:#4a3524;font-weight:700;white-space:nowrap}
.nvlk-win em{font-style:normal;color:#e2601c;font-weight:600;flex:1;min-width:0;
	overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nvlk-win i{font-style:normal;color:#b09a86;font-size:11.5px;white-space:nowrap}
.nvlk-feats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.nvlk-feat{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 8px;border-radius:10px;
	background:#fffaf3;border:1px solid #f6eada;text-align:center}
.nvlk-feat img{width:54px;height:54px;object-fit:cover;border-radius:8px;background:#fff}
.nvlk-feat-ph{width:54px;height:54px;border-radius:8px;background:#fff;font-size:28px;line-height:54px;display:block}
.nvlk-feat-name{font-size:12.5px;font-weight:700;color:#4a3524;line-height:1.35}
.nvlk-feat-sub{font-size:11px;color:#a8917b}
.nvlk-empty{display:flex;align-items:center;justify-content:center;min-height:150px;color:#b7a48f;font-size:13px}

/* ---------- 暗黑 ---------- */
html.io-black-mode .nvlk-plaza{--nvlk-bg:#1e1a16;--nvlk-ink:#f1e6da;--nvlk-sub:#a99889;--nvlk-line:#3a322a;--nvlk-warm:#2b241d}
html.io-black-mode .nvlk-hero{background:linear-gradient(120deg,#2a211a,#33261b)}
html.io-black-mode .nvlk-title{color:#f8eee2}
html.io-black-mode .nvlk-kicker{color:#c39b72}
html.io-black-mode .nvlk-sub{color:#b39c85}
html.io-black-mode .nvlk-stat,html.io-black-mode .nvlk-act,html.io-black-mode .nvlk-drawcard,
html.io-black-mode .nvlk-panel{background:#26211c;border-color:#3a322a}
html.io-black-mode .nvlk-stat-txt b,html.io-black-mode .nvlk-sechead h2,html.io-black-mode .nvlk-drawhead h3,
html.io-black-mode .nvlk-panelhead h3,html.io-black-mode .nvlk-act-name{color:#f1e6da}
html.io-black-mode .nvlk-act-cover{background:linear-gradient(135deg,#33281d,#3d2d1d)}
html.io-black-mode .nvlk-act-ghost{background:rgba(38,33,28,.6);color:#8d7c6b}
html.io-black-mode .nvlk-feat{background:#2b241d;border-color:#3a322a}
html.io-black-mode .nvlk-feat-name,html.io-black-mode .nvlk-win b{color:#f1e6da}
html.io-black-mode .nvlk-win{border-bottom-color:#3a322a}
html.io-black-mode .nvlk-stat-ico{background:#332a22}

/* ---------- 响应式 ---------- */
@media (max-width:1000px){
	.nvlk-plaza{padding:10px}
	.nvlk-hero{padding:22px 24px;min-height:200px}
	.nvlk-hero-copy{max-width:64%}
	.nvlk-title{font-size:26px}
	.nvlk-art{flex:0 0 240px;transform:scale(.86);transform-origin:right center}
	.nvlk-stats{grid-template-columns:repeat(2,1fr);gap:10px}
	.nvlk-acts{grid-template-columns:repeat(2,1fr)}
	.nvlk-two{grid-template-columns:1fr}
}
@media (max-width:640px){
	.nvlk-hero{padding:20px;min-height:auto;padding-bottom:150px}
	.nvlk-hero-copy{max-width:100%}
	.nvlk-title{font-size:22px}
	.nvlk-sub{font-size:12.5px;margin-bottom:14px}
	.nvlk-cta{height:40px;padding:0 22px;font-size:14px}
	.nvlk-art{left:auto;right:-16px;bottom:-24px;top:auto;height:150px;width:220px;transform:scale(.78);transform-origin:right bottom;opacity:.95}
	.nvlk-acts{grid-template-columns:1fr}
	.nvlk-act-ghost{min-height:110px}
	.nvlk-stat{padding:11px 12px}
	.nvlk-stat-txt b{font-size:17px}
	.nvlk-sechead h2{font-size:16px}
	.nvlk-panel{padding:14px}
	.nvlk-feats{grid-template-columns:repeat(2,1fr)}
}



/* ---------- 多活动版补充（2026-10-18 下午）：规则 / 三栏 / 达人榜 / 奖品介绍弹窗 / 活动卡副标题 ---------- */
.nvlk-herotime{display:inline-block;margin-top:14px;padding:7px 14px;border-radius:999px;
	background:rgba(255,255,255,.65);border:1px solid rgba(199,124,63,.25);
	font-size:13px;font-weight:600;color:#8a5a30}
.nvlk-act-sub{font-size:12px;color:var(--nvlk-sub);margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nvlk-act-meta{margin-top:6px;font-size:12px;color:var(--nvlk-sub)}
.nvlk-acts-row{grid-template-columns:repeat(3,1fr)}
.nvlk-three{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;margin-top:16px}
.nvlk-rules{font-size:13px;line-height:2;color:#6b4f38;background:#fffaf3;
	border:1px dashed #e8c9a4;border-radius:10px;padding:12px 16px}
.nvlk-win.is-win{background:#fff8ee;border-radius:8px}
.nvlk-rankno{font-style:normal;font-weight:800;font-size:12px;width:22px;height:22px;line-height:22px;
	text-align:center;border-radius:50%;background:#f1e3d2;color:#8a5a30;flex:none}
.nvlk-rank-1{background:#f7902f;color:#fff}
.nvlk-rank-2{background:#c08a52;color:#fff}
.nvlk-rank-3{background:#dfa878;color:#fff}
.nvlk-win .nvlk-rankno + b{margin-left:2px}
/* 达人榜的 em 是名次徽章：覆盖 .nvlk-win em 的 flex:1（徽章被拉成横条）与橙色字（橙底橙字） */
.nvlk-win .nvlk-rankno{flex:0 0 22px;width:22px;color:#8a5a30}
.nvlk-win .nvlk-rank-1,.nvlk-win .nvlk-rank-2,.nvlk-win .nvlk-rank-3{color:#fff}
/* 奖品卡改成 button 后重置样式 */
.nvlk-feat-btn{appearance:none;border:1px solid var(--nvlk-line);background:#fff;cursor:pointer;
	font:inherit;text-align:center;padding:12px 10px;transition:transform .15s ease,box-shadow .15s ease}
.nvlk-feat-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(199,124,63,.16)}
/* 奖品介绍弹窗 */
.nvlk-prizemodal{max-width:480px}
.nvlk-prizemeta{margin-top:6px;font-size:12px;color:var(--nvlk-sub)}
.nvlk-prizeintro{margin-top:12px;padding-top:12px;border-top:1px dashed var(--nvlk-line);
	font-size:13px;line-height:1.9;color:#5a4632;text-align:left;word-break:break-all}
html.io-black-mode .nvlk-herotime{background:rgba(255,255,255,.06);border-color:var(--nvlk-line);color:var(--nvlk-sub)}
html.io-black-mode .nvlk-rules{background:var(--nvlk-warm);border-color:var(--nvlk-line);color:var(--nvlk-sub)}
html.io-black-mode .nvlk-win.is-win{background:rgba(255,255,255,.04)}
html.io-black-mode .nvlk-prizeintro{color:var(--nvlk-sub)}
@media (max-width:768px){
	.nvlk-three{grid-template-columns:1fr}
	.nvlk-acts-row{grid-template-columns:1fr}
	.nvlk-prizemodal{max-width:92vw}
}

/* 我的奖品 · 兑换码 / 发放内容（2026-10-18 P2 兑换码奖品） */
.nvlk-mycode{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:-4px 0 8px;padding:7px 10px;border:1px dashed #ffd9c7;border-radius:8px;background:#fff8f4;font-size:12px}
/* 有兑换码的记录：名字行与码框属于同一条，去掉中间那条虚线（不支持 :has 的老浏览器只是多一条分隔线，不影响结构） */
.nvlk-win:has(+ .nvlk-mycode){border-bottom:0;padding-bottom:2px}
.nvlk-win + .nvlk-mycode{margin-top:-2px}
.nvlk-mycode-label{color:#e2601c;font-weight:600}
.nvlk-mycode code{font-family:Consolas,Menlo,monospace;background:#fff;border:1px solid #f0e2d8;border-radius:4px;padding:1px 6px;color:#333;word-break:break-all}
.nvlk-mycode-copy{margin-left:auto;border:0;background:#ff4713;color:#fff;border-radius:12px;padding:2px 10px;font-size:12px;line-height:18px;cursor:pointer}
.nvlk-mycode-copy:hover{background:#e03c0d}
.nvlk-mycode i{font-style:normal;color:#c2410c}
html.io-black-mode .nvlk-mycode{background:rgba(255,71,19,.08);border-color:rgba(255,71,19,.35)}
html.io-black-mode .nvlk-mycode code{background:rgba(0,0,0,.25);border-color:rgba(255,255,255,.12);color:#eee}
