/* 光影重塑平台 公共样式 */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; background: #f5f7fa; font-family: "Microsoft YaHei", "PingFang SC", sans-serif; }
[v-cloak] { display: none; }

/* ---- 布局 ---- */
.rl-shell { display: flex; height: 100vh; overflow: hidden; }
.rl-aside { width: 200px; background: #1f2d3d; display: flex; flex-direction: column; flex-shrink: 0; transition: width .2s; }
.rl-aside.collapsed { width: 64px; }
.rl-logo { height: 60px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 17px; font-weight: 600; letter-spacing: 1px; white-space: nowrap; overflow: hidden; }
.rl-logo .dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, #f7b733, #fc4a1a); margin-right: 8px; }
.rl-aside.collapsed .rl-logo span { display: none; }
.rl-menu { border-right: none; flex: 1; }
.rl-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.rl-topbar { height: 60px; background: #fff; border-bottom: 1px solid #e8ecef; display: flex; align-items: center; padding: 0 20px; flex-shrink: 0; }
.rl-topbar .title { font-size: 16px; font-weight: 600; color: #303133; flex: 1; }
.rl-body { flex: 1; overflow-y: auto; padding: 20px; }

/* ---- 通用 ---- */
.card { background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.04); margin-bottom: 16px; }
.card-title { font-size: 15px; font-weight: 600; color: #303133; margin: 0 0 14px; }
.muted { color: #909399; font-size: 13px; }

/* 已保存密钥的掩码展示 */
.key-saved { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.key-mask { font-family: Consolas, Monaco, monospace; font-size: 13px; color: #303133;
            background: #f5f7fa; border: 1px solid #e4e7ed; border-radius: 4px;
            padding: 6px 12px; letter-spacing: .5px; }
.danger-text { color: #f56c6c; }
.stat-num { font-size: 28px; font-weight: 700; color: #303133; }

/* ---- 风格卡片 ---- */
.style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.style-card { border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: #fff; transition: all .15s; position: relative; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.style-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.style-card.active { border-color: #fc4a1a; }
.style-card.active::after { content: "✓"; position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: #fc4a1a; color: #fff; text-align: center; line-height: 22px; font-size: 13px; z-index: 2; }
.style-cover { height: 120px; background: linear-gradient(135deg, #2c3e50, #4a6274); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); font-size: 30px; font-weight: 700; overflow: hidden; }
.style-cover img { width: 100%; height: 100%; object-fit: cover; }
.style-info { padding: 10px 12px; }
.style-info .name { font-size: 14px; font-weight: 600; color: #303133; }
.style-info .desc { font-size: 12px; color: #909399; margin-top: 4px; min-height: 32px; line-height: 1.4; }

/* ---- 前后对比滑块 ---- */
.rl-compare { position: relative; overflow: hidden; border-radius: 8px; cursor: ew-resize; user-select: none; background: #000; }
.rl-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.rl-compare .after-clip { clip-path: inset(0 0 0 var(--x, 50%)); }
.rl-compare .divider { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: #fff; pointer-events: none; }
.rl-compare .divider::after { content: "◂ ▸"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; color: #333; border-radius: 50%; width: 36px; height: 36px; line-height: 36px; text-align: center; font-size: 12px; box-shadow: 0 1px 6px rgba(0,0,0,.3); }
.rl-compare .badge { position: absolute; top: 10px; padding: 2px 10px; font-size: 12px; background: rgba(0,0,0,.55); color: #fff; border-radius: 4px; pointer-events: none; z-index: 2; }
.rl-compare .badge.l { left: 10px; }
.rl-compare .badge.r { right: 10px; }

/* ---- 状态标签色 ---- */
.stage-tag { font-size: 12px; }
.video-box video { width: 100%; border-radius: 8px; background: #000; display: block; }

/* ---- 登录/注册页（光影大片风） ---- */
.login-wrap { height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
  background: radial-gradient(1200px 800px at 82% -10%, #2e1b45 0%, transparent 55%),
              radial-gradient(1000px 720px at -8% 110%, #57240e 0%, transparent 55%),
              linear-gradient(135deg, #0c1017 0%, #18202e 55%, #0e131b 100%); }
.login-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.login-glow.g1 { width: 440px; height: 440px; left: -130px; top: -130px; background: #fc4a1a; opacity: .38; animation: lg-float1 9s ease-in-out infinite alternate; }
.login-glow.g2 { width: 380px; height: 380px; right: -110px; bottom: -110px; background: #f7b733; opacity: .32; animation: lg-float2 11s ease-in-out infinite alternate; }
.login-glow.g3 { width: 280px; height: 280px; right: 16%; top: 6%; background: #7a4dff; opacity: .22; animation: lg-float1 14s ease-in-out infinite alternate-reverse; }
@keyframes lg-float1 { to { transform: translate(46px, 34px) scale(1.1); } }
@keyframes lg-float2 { to { transform: translate(-52px, -34px) scale(1.12); } }
.login-card { width: 400px; border-radius: 18px; padding: 42px 38px 30px; position: relative; z-index: 2;
  background: rgba(255,255,255,.06); backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px);
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 80px rgba(0,0,0,.5); }
.login-card .logo { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 10px; }
.login-card .logo .dot { width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, #f7b733, #fc4a1a);
  box-shadow: 0 0 18px rgba(252,74,26,.7); }
.login-card h1 { font-size: 22px; text-align: center; margin: 0; color: #fff; letter-spacing: 2px; font-weight: 600; }
.login-card h1 .grad { background: linear-gradient(120deg, #f7b733, #fc4a1a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.login-card .sub { text-align: center; color: rgba(255,255,255,.5); font-size: 13px; margin: 8px 0 14px; letter-spacing: 1px; }
.login-card .feats { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.login-card .feats span { font-size: 11px; color: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px; padding: 3px 11px; letter-spacing: 1px; }
.login-card .el-input__inner { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  color: #fff; border-radius: 9px; height: 44px; line-height: 44px; }
.login-card .el-input__inner::placeholder { color: rgba(255,255,255,.32); }
.login-card .el-input__inner:focus { border-color: rgba(252,74,26,.65); background: rgba(255,255,255,.11); }
.login-card .el-input__icon { color: rgba(255,255,255,.45); line-height: 44px; }
.login-card .el-input__inner:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #222a38 inset; -webkit-text-fill-color: #fff; caret-color: #fff; }
.login-card .el-form-item { margin-bottom: 18px; }
.login-card .el-button--primary { width: 100%; height: 44px; border: none; border-radius: 9px; font-size: 15px; font-weight: 600;
  letter-spacing: 6px; background: linear-gradient(135deg, #f7b733, #fc4a1a);
  box-shadow: 0 8px 24px rgba(252,74,26,.35); transition: all .2s; }
.login-card .el-button--primary:hover { box-shadow: 0 10px 32px rgba(252,74,26,.55); transform: translateY(-1px); }
.login-card .foot { text-align: center; margin-top: 20px; font-size: 12px; color: rgba(255,255,255,.4); }
.login-card .foot a { color: rgba(255,255,255,.7); text-decoration: none; }
.login-card .foot a:hover { color: #f7b733; }

/* ================= 商家端：左侧边栏布局 ================= */
.m-shell { min-height: 100vh; display: flex; align-items: stretch; }
.m-side { width: 200px; flex-shrink: 0; background: #1f2d3d; display: flex; flex-direction: column;
          padding: 20px 14px 16px; position: sticky; top: 0; height: 100vh; box-sizing: border-box; }
.m-brand { color: #fff; font-size: 16px; font-weight: 600; letter-spacing: .5px;
           display: flex; align-items: center; white-space: nowrap; padding: 0 10px 18px; }
.m-brand .dot { width: 10px; height: 10px; border-radius: 3px; margin-right: 8px;
                background: linear-gradient(135deg, #f7b733, #fc4a1a); display: inline-block; }
.m-brand .m-tag { margin-left: 8px; font-size: 11px; font-weight: 400; color: #1f2d3d;
                  background: #ffb457; border-radius: 3px; padding: 1px 6px; }
.m-nav { display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.m-nav a { color: #aeb9c5; font-size: 14px; padding: 10px 14px; border-radius: 8px;
           cursor: pointer; white-space: nowrap; transition: all .15s; }
.m-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.m-nav a.active { color: #fff; background: #fc4a1a; font-weight: 600; }
.m-side-user { margin-top: auto; padding: 12px 10px 0; border-top: 1px solid rgba(255,255,255,.08); }
.m-user { color: #d6dde4; font-size: 13px; cursor: pointer; white-space: nowrap; cursor: pointer; }
.m-user:hover { color: #fff; }
.m-points { color: #ffc069; font-size: 13px; cursor: pointer; white-space: nowrap; padding: 0 14px; }
.m-points:hover { color: #fff; }
.m-points { color: #ffd04b; font-size: 13px; cursor: pointer; white-space: nowrap; margin-right: 16px; }
.m-points:hover { color: #ffe58f; }
.m-right { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.m-body { flex: 1; padding: 22px 24px 34px; }
.m-page { max-width: 1180px; margin: 0 auto; }
.m-foot { padding: 14px 24px 20px; text-align: center; }
.m-foot a { color: #909399; font-size: 12px; text-decoration: none; }
.m-foot a:hover { color: #fc4a1a; }
.m-foot .sep { color: #c0c4cc; font-size: 12px; margin: 0 8px; }
.m-title { font-size: 18px; font-weight: 600; color: #303133; margin: 0 0 16px; }

/* 商家端引导条 */
.m-hero { background: linear-gradient(120deg, #ff9966, #ff5e62); color: #fff;
          border-radius: 8px; padding: 20px 22px; margin-bottom: 16px; display: flex;
          align-items: center; gap: 18px; flex-wrap: wrap; }
.m-hero .h-t { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.m-hero .h-s { font-size: 13px; opacity: .92; }
.m-hero .h-act { margin-left: auto; }

/* 待确认提醒 */
.m-notice { background: #fff8f0; border: 1px solid #ffd8b0; border-radius: 8px;
            padding: 14px 18px; margin-bottom: 16px; display: flex; align-items: center;
            gap: 12px; flex-wrap: wrap; color: #a86321; font-size: 14px; }
.m-notice .m-act { margin-left: auto; }

/* ================= 积分充值档位 ================= */
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.tier { border: 2px solid #ebeef5; border-radius: 10px; padding: 20px 14px; text-align: center;
        cursor: pointer; transition: all .15s; background: #fff; position: relative; }
.tier:hover { border-color: #ffc069; transform: translateY(-2px); }
.tier.on { border-color: #fc4a1a; background: #fff7f3;
           box-shadow: 0 6px 18px rgba(252,74,26,.12); }
.tier.on::after { content: '✓'; position: absolute; top: 0; right: 0; width: 22px; height: 22px;
                  line-height: 22px; font-size: 12px; color: #fff; background: #fc4a1a;
                  border-radius: 0 8px 0 10px; }
.tier .t-yuan { font-size: 26px; font-weight: 700; color: #303133; line-height: 1.2; }
.tier .t-pts { font-size: 14px; color: #e6a23c; font-weight: 600; margin-top: 6px; }
.tier .t-gift { font-size: 12px; color: #67c23a; margin-top: 4px; }
.tier .t-gift.none { color: #c0c4cc; }

@media (max-width: 768px) {
  .m-shell { flex-direction: column; }
  .m-side { width: 100%; height: auto; position: static; flex-direction: row;
            flex-wrap: wrap; align-items: center; padding: 10px 14px; gap: 10px; }
  .m-brand { padding: 0; font-size: 15px; }
  .m-nav { flex-direction: row; flex-basis: 100%; overflow-x: auto; padding-bottom: 4px; }
  .m-nav a { padding: 7px 13px; border-radius: 16px; }
  .m-side-user { margin: 0 0 0 auto; padding: 0; border-top: none; }
  .m-body { padding: 14px; }
  .m-hero .h-act, .m-notice .m-act { margin-left: 0; width: 100%; }
  .m-hero .h-act .el-button, .m-notice .m-act .el-button { width: 100%; }
}

@media (max-width: 768px) {
  .rl-aside { position: fixed; z-index: 100; height: 100vh; left: 0; }
  .rl-aside.collapsed { width: 0; overflow: hidden; }
}

/* ---- 登录/注册弹窗（光影大片风） ---- */
.auth-dialog { border-radius: 16px; overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,.38); max-width: 92vw; }
.auth-dialog .el-dialog__header { display: none; }
.auth-dialog .el-dialog__body { padding: 0; }
.auth-hero { position: relative; padding: 26px 28px 16px; overflow: hidden;
  background: linear-gradient(135deg, #141824 0%, #251a2c 55%, #3d2214 100%); }
.auth-hero .glow { position: absolute; border-radius: 50%; filter: blur(46px); pointer-events: none; }
.auth-hero .glow.g1 { width: 190px; height: 190px; top: -80px; right: -50px; background: #f7b733; opacity: .42; }
.auth-hero .glow.g2 { width: 170px; height: 170px; bottom: -90px; left: -60px; background: #fc4a1a; opacity: .3; }
.auth-hero .a-title { position: relative; font-size: 21px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px; }
.auth-hero .a-title .dot { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, #f7b733, #fc4a1a); box-shadow: 0 0 12px rgba(252,74,26,.8); }
.auth-hero .a-title .grad { background: linear-gradient(90deg, #f7b733, #fc4a1a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-hero .a-sub { position: relative; color: rgba(255,255,255,.55); font-size: 12px; margin-top: 5px; letter-spacing: 1px; }
.auth-dialog .el-tabs { padding: 6px 28px 0; }
.auth-dialog .el-tabs__item { font-weight: 600; color: #909399; }
.auth-dialog .el-tabs__item.is-active { color: #fc4a1a; }
.auth-dialog .el-tabs__active-bar { background: linear-gradient(90deg, #f7b733, #fc4a1a); height: 3px; border-radius: 2px; }
.auth-dialog .el-input__inner { border-radius: 8px; }
.auth-dialog .el-form-item { margin-bottom: 16px; }
.auth-dialog .el-dialog__footer { padding: 4px 28px 24px; }
.auth-btn { width: 100%; border: none; color: #fff; font-weight: 600; letter-spacing: 3px;
  background: linear-gradient(90deg, #f7b733, #fc4a1a); border-radius: 8px;
  box-shadow: 0 6px 18px rgba(252,74,26,.35); transition: transform .15s, box-shadow .15s; }
.auth-btn:hover, .auth-btn:focus { color: #fff; transform: translateY(-1px); box-shadow: 0 9px 22px rgba(252,74,26,.45); }

/* ---- 游客落地页 ---- */
.land-hero { text-align: center; padding: 34px 10px 26px; }
.land-hero h1 { font-size: 32px; margin: 0 0 12px; color: #303133; letter-spacing: 1px; }
.land-hero h1 .grad { background: linear-gradient(90deg, #f7b733, #fc4a1a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.land-hero p { color: #606266; font-size: 15px; margin: 0 auto 20px; max-width: 560px; line-height: 1.7; }
.land-cta { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.land-btn { width: 350px; font-size: 15px; padding: 13px 20px; }
.land-tip { color: #909399; font-size: 12px; }
.land-compare { max-width: 760px; margin: 0 auto 18px; }
.land-cap { text-align: center; font-weight: 600; color: #303133; margin-bottom: 12px; }
.land-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; max-width: 860px; margin: 0 auto 18px; }
.land-step { text-align: center; margin: 0 !important; padding: 20px 14px; }
.land-step .num { width: 34px; height: 34px; line-height: 34px; border-radius: 50%; margin: 0 auto 10px;
  color: #fff; font-weight: 700; background: linear-gradient(135deg, #f7b733, #fc4a1a); }
.land-step b { display: block; font-size: 15px; color: #303133; margin-bottom: 6px; }
.land-step span { color: #909399; font-size: 13px; line-height: 1.6; display: block; }
.land-price { max-width: 860px; margin: 0 auto 30px; text-align: center; padding: 18px; }
.land-price > b { display: block; margin-bottom: 8px; color: #303133; }
.land-price .p-line { color: #606266; font-size: 14px; }
.land-price .gn { color: #fc4a1a; font-weight: 700; font-size: 17px; }

/* ---- 详情页：AI 实际收到的完整描述（自查用，可折叠） ---- */
.ai-prompt { margin-top: 8px; padding: 10px 12px; border-radius: 4px; background: #f5f7fa;
  color: #606266; font-size: 12px; line-height: 1.9; white-space: pre-wrap; word-break: break-all; }
