/* ============ 授权站前台样式 ============ */
:root {
  --c-primary: #165dff;
  --c-primary-d: #0f47c4;
  --c-bg: #f3f5f9;
  --c-card: #fff;
  --c-line: #e7eaf2;
  --c-txt: #1f2430;
  --c-sub: #7a8194;
  --c-ok: #16a34a;
  --c-warn: #f59e0b;
  --c-err: #ef4444;
  --r: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--c-bg); color: var(--c-txt); min-height: 100vh;
  display: flex; flex-direction: column;
}
a { color: var(--c-primary); text-decoration: none; }
.ls-top { background: #fff; border-bottom: 1px solid var(--c-line); position: sticky; top: 0; z-index: 50; }
.ls-top-in { max-width: 1120px; margin: 0 auto; padding: 0 20px; height: 60px; display: flex; align-items: center; gap: 26px; }
.ls-logo { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 800; color: var(--c-txt); }
.ls-logo svg { width: 26px; height: 26px; color: var(--c-primary); }
.ls-nav { display: flex; gap: 4px; flex: 1; }
.ls-nav a { padding: 8px 14px; border-radius: 8px; font-size: 14px; color: var(--c-sub); font-weight: 600; }
.ls-nav a:hover { background: #f1f4fa; color: var(--c-txt); }
.ls-nav a.on { color: var(--c-primary); background: rgba(22,93,255,.08); }
.ls-top-user { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.ls-u-ava { width: 32px; height: 32px; border-radius: 50%; background: var(--c-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.ls-top-logout { color: var(--c-sub); font-size: 13px; }
.ls-top-login { display: flex; gap: 12px; align-items: center; }
.ls-top-login a { font-size: 14px; color: var(--c-sub); font-weight: 600; }
.ls-btn-sm { background: var(--c-primary); color: #fff !important; padding: 7px 16px; border-radius: 8px; }
.ls-body { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 24px 20px 40px; }
.ls-notice { display: flex; align-items: center; gap: 10px; background: #fffbe8; border: 1px solid #ffe38a; color: #8a6d1a; border-radius: 10px; padding: 10px 16px; font-size: 13px; margin-bottom: 20px; }
.ls-notice-ic { color: var(--c-warn); display: inline-flex; }
.ls-notice-ic svg { width: 18px; height: 18px; }
.ls-foot { background: #fff; border-top: 1px solid var(--c-line); }
.ls-foot-in { max-width: 1120px; margin: 0 auto; padding: 18px 20px; display: flex; justify-content: space-between; color: var(--c-sub); font-size: 13px; }
.ls-ph { margin-bottom: 16px; }
.ls-ph h1 { font-size: 19px; font-weight: 800; }
.ls-ph p { color: var(--c-sub); margin-top: 4px; font-size: 12.5px; }
.ls-panel { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r); margin-bottom: 20px; overflow: hidden; }
.ls-panel-h { padding: 14px 20px; font-weight: 700; font-size: 15px; border-bottom: 1px solid var(--c-line); display: flex; align-items: center; justify-content: space-between; }
.ls-panel-b { padding: 20px; }

/* 商品卡片 */
.ls-shop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ls-card { background: var(--c-card); border: 1px solid var(--c-line); border-radius: 8px; padding: 15px 16px; min-width: 0; display: flex; flex-direction: column; gap: 8px; transition: border-color .18s, box-shadow .18s; }
.ls-card:hover { border-color: rgba(22,93,255,.35); box-shadow: 0 4px 14px rgba(31,36,48,.06); }
.ls-card h3 { font-size: 14px; font-weight: 700; line-height: 1.45; }
.ls-card p { color: var(--c-sub); font-size: 12.5px; line-height: 1.55; min-height: 38px; overflow-wrap: anywhere; }
.ls-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.ls-prices { display: inline-flex; align-items: baseline; gap: 8px; min-width: 0; }
.ls-prices del { color: var(--c-sub); font-size: 12px; }
.ls-unavailable { color: var(--c-sub) !important; border-color: var(--c-line) !important; cursor: not-allowed; box-shadow: none !important; }
.ls-price { color: var(--c-err); font-weight: 800; font-size: 16px; }
.ls-price small { font-size: 11px; color: var(--c-sub); font-weight: 400; margin-left: 3px; }
.ls-btn { display: inline-block; background: var(--c-primary); color: #fff; padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 700; border: 0; cursor: pointer; }
.ls-btn:hover { background: var(--c-primary-d); }
.ls-btn.ghost { background: transparent; color: var(--c-primary); border: 1px solid rgba(22,93,255,.4); }

/* 表单 */
.ls-form { max-width: 420px; margin: 0 auto; }
.ls-form .f-row { margin-bottom: 16px; }
.ls-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--c-sub); }
.ls-form input, .ls-form select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--c-line); border-radius: 10px; font-size: 14px; outline: none;
  transition: .15s; background: #fff;
}
.ls-form input:focus, .ls-form select:focus { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(22,93,255,.12); }
.ls-code-row { display: flex; gap: 10px; }
.ls-code-row input { flex: 1; }
.ls-code-btn { width: 128px; border: 1px solid rgba(22,93,255,.4); color: var(--c-primary); background: #fff; border-radius: 10px; font-size: 13px; font-weight: 600; cursor: pointer; }
.ls-code-btn:disabled { color: #b6bdcc; border-color: var(--c-line); cursor: not-allowed; }
.ls-tip { font-size: 12px; color: var(--c-sub); margin-top: 6px; }
.ls-err { background: #fef2f2; border: 1px solid #f5b8b8; color: #c0392b; padding: 10px 14px; border-radius: 10px; font-size: 13px; margin-bottom: 14px; }
.ls-ok { background: #e8faf0; border: 1px solid #b6e6c8; color: #16a34a; padding: 10px 14px; border-radius: 10px; font-size: 13px; margin-bottom: 14px; }
.ls-seg { display: flex; background: #eef1f7; border-radius: 10px; padding: 4px; margin-bottom: 20px; }
.ls-seg a { flex: 1; text-align: center; padding: 9px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--c-sub); }
.ls-seg a.on { background: #fff; color: var(--c-primary); box-shadow: 0 2px 8px rgba(31,36,48,.08); }

/* 现代化登录页：紧凑、无大图、与后台运营面板统一 */
.ls-login { width: min(860px, calc(100% - 32px)); margin: 52px auto; display: grid; grid-template-columns: 250px minmax(0, 1fr); background: #fff; border: 1px solid var(--c-line); border-radius: 12px; box-shadow: 0 12px 32px rgba(31,36,48,.08); overflow: hidden; }
.ls-login__brand { background: #f7f9fd; border-right: 1px solid var(--c-line); padding: 32px 26px; }
.ls-login__logo { width: 34px; height: 34px; display: grid; place-items: center; color: var(--c-primary); margin-bottom: 18px; }
.ls-login__logo svg { width: 30px; height: 30px; }
.ls-login__brand h2 { font-size: 20px; margin-bottom: 8px; }
.ls-login__brand p, .ls-login__brand li, .ls-login__foot { color: var(--c-sub); font-size: 12px; line-height: 1.7; }
.ls-login__brand ul { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.ls-login__brand li { display: flex; gap: 7px; align-items: center; }
.ls-login__brand li svg { width: 15px; height: 15px; color: var(--c-primary); flex: 0 0 auto; }
.ls-login__foot { margin-top: 30px; padding-top: 14px; border-top: 1px solid var(--c-line); }
.ls-login__panel { padding: 32px 42px 26px; }
.ls-login__tabs { max-width: 420px; margin-left: auto; margin-right: auto; }
.ls-login__btn { width: 100%; margin-top: 4px; padding: 11px 18px; }
.ls-login__reg { text-align: center; color: var(--c-sub); font-size: 13px; margin-top: 18px; }
.ls-login__sep { margin: 0 10px; color: var(--c-line); }
@media (max-width: 680px) { .ls-login { grid-template-columns: 1fr; margin: 20px auto; } .ls-login__brand { padding: 22px 24px; border-right: 0; border-bottom: 1px solid var(--c-line); } .ls-login__brand ul, .ls-login__foot { display: none; } .ls-login__panel { padding: 24px 20px 20px; } }

/* 用户中心 */
.ls-grid2 { display: grid; grid-template-columns: 300px 1fr; gap: 20px; }
.ls-side .ls-panel-b { padding: 10px; }
.ls-menu a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 8px; font-size: 14px; color: var(--c-txt); font-weight: 600; }
.ls-menu a svg { width: 18px; height: 18px; color: var(--c-sub); }
.ls-menu a:hover { background: #f1f4fa; }
.ls-menu a.on { background: rgba(22,93,255,.08); color: var(--c-primary); }
.ls-menu a.on svg { color: var(--c-primary); }
.ls-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.ls-stat { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r); padding: 18px 20px; }
.ls-stat b { display: block; font-size: 24px; font-weight: 800; color: var(--c-primary); }
.ls-stat span { font-size: 13px; color: var(--c-sub); }

/* 表格 */
.ls-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ls-table th { text-align: left; padding: 11px 12px; background: #f7f9fd; color: var(--c-sub); font-weight: 600; border-bottom: 1px solid var(--c-line); white-space: nowrap; }
.ls-table td { padding: 11px 12px; border-bottom: 1px solid var(--c-line); }
.ls-table tr:last-child td { border-bottom: 0; }
.ls-badge { display: inline-block; padding: 3px 9px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.ls-badge.ok { background: #e8faf0; color: #16a34a; }
.ls-badge.warn { background: #fff4e0; color: #b45309; }
.ls-badge.err { background: #fef2f2; color: #c0392b; }
.ls-badge.blue { background: rgba(22,93,255,.08); color: var(--c-primary); }
.ls-empty { text-align: center; color: var(--c-sub); padding: 40px 0; font-size: 14px; }
.ls-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ls-link-btn { font-size: 12.5px; color: var(--c-primary); background: rgba(22,93,255,.08); padding: 4px 10px; border-radius: 6px; font-weight: 600; border: 0; cursor: pointer; }
.ls-link-btn.danger { color: #c0392b; background: #fef2f2; }

/* 支付方式 */
.ls-pay-methods { display: flex; flex-direction: column; gap: 8px; }
.ls-pay-method { display: flex; align-items: center; gap: 10px; border: 1px solid var(--c-line); border-radius: 10px; padding: 9px 14px; cursor: pointer; transition: .15s; }
.ls-pay-method:hover { border-color: rgba(22,93,255,.4); }
.ls-pay-method.sel { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(22,93,255,.1); }
.ls-pay-method .pi { width: 26px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.ls-pay-method .pi svg { width: 14px; height: 14px; }
.ls-pay-method b { flex: 1; font-size: 13.5px; }

/* 响应式 */
@media (max-width: 860px) {
  .ls-shop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ls-grid2 { grid-template-columns: 1fr; }
  .ls-stats { grid-template-columns: repeat(3, 1fr); }
  .ls-top-in { gap: 14px; }
}
@media (max-width: 560px) {
  .ls-shop { grid-template-columns: minmax(0, 1fr); }
  .ls-card .foot { align-items: flex-start; flex-wrap: wrap; }
  .ls-card .foot .ls-btn { max-width: 100%; }
  .ls-stats { grid-template-columns: 1fr 1fr; }
  .ls-nav a { padding: 8px 10px; }
}

/* ============ 1.1.0 前台升级：商城首页 + 登录注册分离 + 后台风用户中心 ============ */
.ls-hero { position: relative; border-radius: 16px; overflow: hidden; color: #fff; padding: 26px 28px; margin-bottom: 18px; background: linear-gradient(135deg,#0f2557 0%,#165dff 55%,#40a9ff 110%); }
.ls-hero__bg { position: absolute; inset: 0; background: radial-gradient(90% 130% at 85% -10%, rgba(255,255,255,.18), transparent 55%), radial-gradient(70% 110% at 8% 110%, rgba(64,169,255,.35), transparent 60%); }
.ls-hero__in { position: relative; z-index: 1; max-width: 640px; }
.ls-hero__badge { display: inline-block; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 3px 11px; font-size: 11px; margin-bottom: 10px; backdrop-filter: blur(4px); }
.ls-hero h1 { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.ls-hero p { font-size: 13px; opacity: .88; line-height: 1.6; max-width: 520px; }
.ls-hero__actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.ls-btn--lg { padding: 9px 20px; font-size: 13px; border-radius: 10px; }
.ls-btn--ghost-lg { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); color: #fff !important; padding: 9px 20px; font-size: 13px; border-radius: 10px; }
.ls-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.ls-feat { background: var(--c-card); border: 1px solid var(--c-line); border-radius: 12px; padding: 12px 14px; display: flex; gap: 11px; align-items: center; }
.ls-feat__ic { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ls-feat__ic svg { width: 18px; height: 18px; }
.ls-feat b { display: block; font-size: 13px; }
.ls-feat small { color: var(--c-sub); font-size: 11.5px; }
.ls-auth { max-width: 420px; margin: 30px auto 0; }
.ls-auth__card { background: var(--c-card); border: 1px solid var(--c-line); border-radius: 18px; padding: 30px 28px 24px; box-shadow: 0 12px 40px rgba(31,36,48,.08); }
.ls-auth__brand { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 18px; font-weight: 800; margin-bottom: 20px; }
.ls-auth__logo { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg,#165dff,#40a9ff); color: #fff; display: flex; align-items: center; justify-content: center; }
.ls-auth__logo svg { width: 20px; height: 20px; }
.ls-auth__tabs { margin-bottom: 22px; }
.ls-auth__foot { text-align: center; font-size: 13px; color: var(--c-sub); margin-top: 18px; }
/* 用户中心（1.9.1 现代化菜单栏式：白色卡片侧栏 + 分组菜单 + 内容卡片） */
.ls-uc { display: grid; grid-template-columns: 236px 1fr; gap: 18px; align-items: start; }
.ls-uc__side { background: var(--c-card); border: 1px solid var(--c-line); border-radius: 14px; box-shadow: 0 2px 10px rgba(30,40,70,.05); padding: 14px 10px; position: sticky; top: 78px; }
.ls-uc__user { display: flex; gap: 10px; align-items: center; padding: 10px 10px 14px; border-bottom: 1px solid var(--c-line); margin-bottom: 10px; }
.ls-uc__ava { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; color: #fff; flex-shrink: 0; }
.ls-uc__name { font-size: 14px; font-weight: 700; color: var(--c-txt); }
.ls-uc__meta { font-size: 11px; color: var(--c-sub); margin-top: 2px; }
.ls-uc__menu { display: flex; flex-direction: column; gap: 2px; }
.ls-uc__group { font-size: 11px; color: #b0b7c4; font-weight: 700; padding: 10px 12px 4px; letter-spacing: .04em; }
.ls-uc__menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: 13px; color: #4e5969; font-weight: 600; transition: all .15s; }
.ls-uc__menu a svg { width: 16px; height: 16px; opacity: .85; color: #7a8194; }
.ls-uc__menu a:hover { background: #f4f7fd; color: var(--c-primary); }
.ls-uc__menu a.on { background: var(--grad); color: #fff; box-shadow: 0 4px 12px rgba(22,100,255,.32); }
.ls-uc__menu a.on svg { color: #fff; }
.ls-uc__main { min-width: 0; }
@media (max-width: 760px) { .ls-feats { grid-template-columns: 1fr; } .ls-uc { grid-template-columns: 1fr; } .ls-uc__side { position: static; } .ls-uc__menu { flex-direction: row; flex-wrap: wrap; } .ls-uc__group { display: none; } }
/* ============ 1.1.0 UI 全面升级 ============ */
:root { --c-primary: #1664ff; --grad: linear-gradient(135deg,#0b46d6,#1664ff 55%,#4d8bff); }
.ls-top { backdrop-filter: blur(12px); background: rgba(255,255,255,.86); box-shadow: 0 1px 12px rgba(20,30,60,.07); }
.ls-btn { background: var(--grad); box-shadow: 0 4px 12px rgba(22,100,255,.28); transition: all .22s; }
.ls-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(22,100,255,.42); }
.ls-btn:active { transform: translateY(0); }
.ls-card { border: 1px solid rgba(220,224,234,.7); border-radius: 8px; box-shadow: 0 1px 4px rgba(30,40,70,.04); transition: border-color .18s, box-shadow .18s; }
.ls-card:hover { transform: none; box-shadow: 0 4px 14px rgba(30,40,70,.07); }
.ls-panel { border-radius: 14px; overflow: hidden; box-shadow: 0 2px 10px rgba(30,40,70,.05); }
.ls-panel-h { position: relative; padding-left: 18px; }
.ls-panel-h::before { content: ""; position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 4px; height: 16px; border-radius: 4px; background: var(--grad); }
.ls-table thead th { background: linear-gradient(180deg,#f7f9fd,#eef2f9); }
.ls-table tbody tr:hover { background: #f4f8ff; }
.ls-auth__card { border: none; box-shadow: 0 20px 60px rgba(15,37,87,.18); }
.ls-uc__side { box-shadow: 0 16px 44px rgba(15,37,87,.25); }
.ls-code-btn { background: linear-gradient(135deg,#e8f0ff,#dce8ff); color: #1664ff; }
input, select, textarea { border: 1px solid #dce0e8; border-radius: 8px; transition: all .22s; }
input:focus, select:focus, textarea:focus { border-color: #4d8bff; box-shadow: 0 0 0 3px rgba(22,100,255,.14); outline: none; }
/* ============ 1.2.0 登录页全面重写：左右分栏 ============ */
.ls-login { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; min-height: 78vh; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 24px 80px rgba(15,37,87,.16); }
.ls-login__brand { position: relative; background: linear-gradient(150deg,#0b1f47 0%,#0f2c6b 45%,#1664ff 115%); color: #fff; padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.ls-login__brand::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 85% 0%, rgba(77,139,255,.35), transparent 55%), radial-gradient(60% 80% at 0% 100%, rgba(22,100,255,.25), transparent 60%); pointer-events: none; }
.ls-login__logo { width: 52px; height: 52px; border-radius: 15px; background: linear-gradient(135deg,#4d8bff,#1664ff); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(77,139,255,.45); margin-bottom: 22px; position: relative; z-index: 1; }
.ls-login__logo svg { width: 26px; height: 26px; color: #fff; }
.ls-login__brand h2 { font-size: 24px; font-weight: 800; margin-bottom: 6px; position: relative; z-index: 1; }
.ls-login__brand > p { font-size: 13.5px; opacity: .85; margin-bottom: 28px; position: relative; z-index: 1; }
.ls-login__brand ul { list-style: none; display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.ls-login__brand li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; opacity: .95; }
.ls-login__brand li svg { width: 17px; height: 17px; opacity: .9; }
.ls-login__foot { position: relative; z-index: 1; margin-top: 30px; font-size: 12px; opacity: .6; line-height: 1.7; }
.ls-login__panel { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.ls-login__tabs { margin-bottom: 22px; }
.ls-login__btn { width: 100%; padding: 13px; font-size: 15px; margin-top: 4px; }
.ls-login__reg { text-align: center; font-size: 13px; color: var(--c-sub); margin-top: 18px; }
.ls-input { position: relative; margin-bottom: 14px; }
.ls-input > span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #9aa3b5; display: flex; }
.ls-input > span svg { width: 17px; height: 17px; }
.ls-input input { width: 100%; padding: 12px 40px 12px 40px; border: 1px solid #dfe3ea; border-radius: 10px; font-size: 14px; background: #fafbfe; transition: all .22s; }
.ls-input input:focus { background: #fff; border-color: #4d8bff; box-shadow: 0 0 0 3px rgba(22,100,255,.13); }
.ls-input .ls-code-btn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: none; background: linear-gradient(135deg,#e8f0ff,#dce8ff); color: #1664ff; font-size: 12.5px; font-weight: 700; padding: 7px 12px; border-radius: 8px; cursor: pointer; }

/* ============ 公共前台 UI 对齐 ============ */
.ls-top { backdrop-filter: none; background: #fff; box-shadow: none; border-bottom: 1px solid var(--c-line); }
.ls-btn { box-shadow: none; transition: background-color .18s, border-color .18s, color .18s; }
.ls-btn:hover { transform: none; box-shadow: none; }
.ls-auth__card { border: 1px solid var(--c-line); border-radius: 8px; box-shadow: 0 2px 8px rgba(29,33,41,.05); }
.ls-uc__side { box-shadow: 0 2px 8px rgba(29,33,41,.05); }
.ls-login { border-radius: 8px; box-shadow: 0 2px 8px rgba(29,33,41,.05); }
.ls-login__brand { background: #f7f8fa; color: var(--c-txt); padding: 32px 30px; }
.ls-login__brand::after { display: none; }
.ls-login__logo { width: 36px; height: 36px; border-radius: 8px; background: #e8f3ff; box-shadow: none; }
.ls-login__logo svg { width: 20px; height: 20px; color: var(--c-primary); }
.ls-login__brand h2 { font-size: 20px; }
.ls-login__brand > p, .ls-login__brand li { color: var(--c-sub); opacity: 1; }
.ls-login__brand li svg { color: var(--c-primary); }
.ls-login__foot { color: var(--c-sub); opacity: 1; }
.ls-btn:focus-visible, .ls-nav a:focus-visible, .ls-top-login a:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
@media (max-width: 760px) {
  .ls-top-in { gap: 8px 12px; }
  .ls-nav { scrollbar-width: thin; }
  .ls-login__panel { padding: 24px 20px; }
  .ls-login__brand { display: flex; padding: 22px 24px; border-right: 0; border-bottom: 1px solid var(--c-line); }
  .ls-login__brand ul, .ls-login__foot { display: none; }
}
/* ============ 1.3.0 前台升级：商城搜索 / 个人中心 / 剩余天数 / 注册手机号 ============ */
.ls-login__sep { margin: 0 8px; color: #d0d5e0; }
.ls-shop-search { margin-bottom: 18px; }
.ls-shop-search form { display: flex; gap: 10px; max-width: 640px; position: relative; }
.ls-shop-search__ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #9aa3b5; display: flex; }
.ls-shop-search__ic svg { width: 17px; height: 17px; }
.ls-shop-search input { flex: 1; padding: 12px 42px; border: 1px solid #dfe3ea; border-radius: 10px; font-size: 14px; background: #fff; transition: all .22s; }
.ls-shop-search input:focus { border-color: #4d8bff; box-shadow: 0 0 0 3px rgba(22,100,255,.13); outline: none; }
.ls-day { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 6px; background: rgba(22,100,255,.08); color: #1664ff; font-size: 11px; font-weight: 700; }
.ls-grid2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .ls-grid2 { grid-template-columns: 1fr !important; } }
.ls-u-name { font-weight: 600; color: var(--c-txt); }
.ls-foot-contact { display: flex; gap: 14px; }
.ls-foot-contact span { display: inline-flex; align-items: center; gap: 4px; }
.ls-foot-contact svg { width: 13px; height: 13px; opacity: .7; }
.ls-card .meta { display: flex; align-items: center; gap: 8px; color: #b6bdcc; font-size: 11.5px; margin: 6px 0 10px; }
.ls-card .meta svg { width: 12px; height: 12px; }
@media (max-width: 600px) { .ls-foot-in { flex-direction: column; gap: 6px; align-items: flex-start; } }

/* ============ 1.6.0 余额充值 / 通用表单行 ============ */
.f-row { margin-bottom: 14px; }
.f-row label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--c-sub); }
.f-row input, .f-row select, .f-row textarea { width: 100%; padding: 10px 12px; border: 1px solid #dce0e8; border-radius: 10px; font-size: 14px; background: #fff; transition: all .22s; }
.f-row input:focus, .f-row select:focus, .f-row textarea:focus { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(22,93,255,.12); outline: none; }
.ls-grid2 { gap: 16px; align-items: start; }
.ls-pay-method { cursor: pointer; }
.ls-pay-method .pi svg { width: 14px; height: 14px; }
.ls-pay-method input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
@media (max-width: 760px) { .ls-grid2 { grid-template-columns: 1fr !important; } }

/* ============ 1.9.1 订单确认页 / 通用信息行 ============ */
.ls-confirm { display: grid; grid-template-columns: 1fr 280px; gap: 16px; align-items: start; }
.ls-confirm__side { min-width: 0; }
.ls-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px dashed #edf0f6; font-size: 13.5px; }
.ls-row > span:first-child { color: var(--c-sub); }
.ls-row:last-child { border-bottom: 0; }
.ls-row--total { border-top: 1px solid var(--c-line); margin-top: 2px; padding-top: 14px; }
.ls-row code { background: #f4f7fd; padding: 2px 8px; border-radius: 5px; font-size: 12.5px; }
.ls-btn--pay { box-shadow: 0 6px 18px rgba(22,100,255,.34); }
@media (max-width: 900px) { .ls-confirm { grid-template-columns: 1fr; } }

.ls-uc__side { top: 20px; box-shadow: 0 8px 28px rgba(15,37,87,.08); }
.ls-uc__menu a { min-height: 42px; }
.ls-uc__menu a svg, .ls-panel-h svg, .ls-btn svg, .ls-link-btn svg { width: 16px; height: 16px; flex: none; }
.ls-btn, .ls-link-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; line-height: 1.4; }
.ls-link-btn { min-height: 32px; }
.ls-uc__main .ls-panel-h { justify-content: flex-start; gap: 8px; flex-wrap: wrap; line-height: 1.6; }
.ls-uc__main .ls-panel-b { overflow-x: auto; }
.ls-uc__main .ls-table { min-width: 680px; }
.ls-uc__main .a-modal { display: none; position: fixed; inset: 0; z-index: 100; align-items: center; justify-content: center; padding: 14px; }
.ls-uc__main .a-modal.show { display: flex; }
.ls-uc__main .a-modal-mask { position: absolute; inset: 0; background: rgba(12, 23, 46, .55); }
.ls-uc__main .a-modal-card { position: relative; width: 520px; max-width: 100%; max-height: calc(100vh - 28px); overflow-y: auto; background: #fff; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.ls-uc__main .a-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--c-line); }
.ls-uc__main .a-modal-x { border: 0; background: transparent; font-size: 24px; cursor: pointer; color: var(--c-sub); }
.ls-uc__main .a-modal-body { padding: 20px; }
@media (max-width: 760px) {
  .ls-uc__side { padding: 12px; }
  .ls-uc__menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .ls-uc__menu a { min-width: 0; }
  .ls-uc__main .ls-panel-b { padding: 14px; }
  .ls-uc__main .ls-panel-h { padding: 14px 18px; }
  .ls-uc__main .f-row > div[style*="display:flex"] { flex-wrap: wrap; }
  .ls-uc__main .f-row input { min-width: 0; }
}
@media (max-width: 560px) {
  .ls-body { padding: 16px 12px 28px; }
  .ls-uc .ls-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ls-uc .ls-stat { padding: 14px 10px; }
  .ls-uc .ls-stat b { font-size: 20px; }
}

/* 公共页面：紧凑导航与内容区域 */
.ls-top { background: #fff; box-shadow: none; }
.ls-top-in { min-width: 0; }
.ls-logo { flex: 0 0 auto; font-size: 17px; }
.ls-logo svg { width: 20px; height: 20px; }
.ls-nav { min-width: 0; }
.ls-nav a { white-space: nowrap; }
.ls-top-user, .ls-top-login { flex: 0 0 auto; }
.ls-body { min-width: 0; }
.ls-hero { background: #fff; color: var(--c-txt); border: 1px solid var(--c-line); border-left: 3px solid var(--c-primary); border-radius: 6px; padding: 20px 22px; }
.ls-hero__bg { display: none; }
.ls-hero__badge { color: var(--c-primary); background: #eef4ff; border: 0; border-radius: 4px; padding: 3px 8px; }
.ls-hero__badge svg { width: 14px; height: 14px; vertical-align: -3px; }
.ls-hero p { color: var(--c-sub); opacity: 1; }
.ls-hero .ls-btn--ghost-lg { background: #fff; border: 1px solid var(--c-line); color: var(--c-txt) !important; }
.ls-feat, .ls-panel, .ls-uc__side, .ls-stat { border-radius: 6px; box-shadow: none; }
.ls-feat__ic { width: 28px; height: 28px; border-radius: 6px; }
.ls-feat__ic svg { width: 16px; height: 16px; }
.ls-uc__menu a.on { background: #edf3ff; color: var(--c-primary); box-shadow: none; }
.ls-uc__menu a.on svg { color: var(--c-primary); }
.ls-uc__ava { background: var(--c-primary); }
.ls-panel-h { gap: 8px; flex-wrap: wrap; }
.ls-panel-b { min-width: 0; }
.ls-uc__main .ls-panel-b { -webkit-overflow-scrolling: touch; }
.ls-stat b, .ls-row > *, .ls-notice-txt { overflow-wrap: anywhere; }
.ls-body .ls-btn, .ls-body .ls-link-btn { box-shadow: none; }
.ls-body .ls-btn:hover { transform: none; box-shadow: none; }
.ls-foot-in, .ls-foot-contact { flex-wrap: wrap; gap: 8px 14px; }
@media (max-width: 760px) {
  .ls-top-in { height: auto; min-height: 56px; padding: 10px 12px 0; gap: 8px 12px; flex-wrap: wrap; }
  .ls-logo { min-width: 0; max-width: calc(100% - 120px); }
  .ls-logo b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ls-top-user, .ls-top-login { margin-left: auto; }
  .ls-u-name { max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ls-nav { order: 3; flex: 0 0 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ls-nav a { flex: 0 0 auto; }
  .ls-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ls-feat { align-items: flex-start; padding: 10px; gap: 7px; }
  .ls-feat small { overflow-wrap: anywhere; }
}
@media (max-width: 480px) {
  .ls-feats { grid-template-columns: 1fr; gap: 6px; }
  .ls-feat { align-items: center; }
  .ls-hero { padding: 17px; }
  .ls-uc .ls-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ls-row { align-items: flex-start; }
}

/* 授权站前台与 club_source 公共界面密度对齐 */
.ls-panel, .ls-uc__side, .ls-stat, .ls-auth__card { border-radius: 6px; box-shadow: none; }
.ls-panel-h { min-height: 48px; padding: 12px 16px; border-bottom-color: var(--c-line); }
.ls-panel-h::before { display: none; }
.ls-panel-b { padding: 16px; }
.ls-table { font-size: 13px; }
.ls-table th { background: #f7f8fa; color: #86909c; }
.ls-table td { color: #1d2129; }
.ls-table tbody tr:hover { background: #f7f8fa; }
.ls-btn, .ls-link-btn { border-radius: 6px; }
.ls-form input, .ls-form select, .ls-code-btn, .f-row input, .f-row select, .f-row textarea { border-radius: 6px; }
.ls-uc__side { top: 76px; }
.ls-uc__menu a.on { background: #e8f3ff; color: var(--c-primary); box-shadow: none; }
.ls-login { min-height: 0; grid-template-columns: 250px minmax(0, 1fr); margin: 32px auto; border: 1px solid var(--c-line); border-radius: 8px; box-shadow: 0 2px 8px rgba(29,33,41,.05); }
.ls-login__brand { padding: 30px 26px; }
.ls-login__logo { width: 34px; height: 34px; margin-bottom: 18px; }
.ls-login__panel { padding: 32px; }
.ls-login__btn { padding: 11px 16px; font-size: 14px; }
.ls-hero { border-radius: 6px; }
.ls-card, .ls-feat { border-radius: 6px; }
@media (max-width: 760px) {
  .ls-login { grid-template-columns: 1fr; margin: 20px auto; }
  .ls-login__brand { padding: 20px 22px; }
  .ls-login__logo { margin-bottom: 10px; }
  .ls-login__panel { padding: 22px 20px; }
  .ls-uc__side { top: auto; }
}
@media (max-width: 560px) {
  .ls-panel-h { padding: 12px 14px; }
  .ls-panel-b { padding: 14px; }
  .ls-table th, .ls-table td { padding: 9px 10px; }
  .ls-shop { gap: 8px; }
  .ls-card { padding: 13px 14px; }
}

/* 登录与注册：紧凑认证布局 */
.ls-login {
  width: min(760px, 100%);
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1fr);
  margin: clamp(18px, 5vh, 44px) auto;
}
.ls-login__brand { padding: 26px 24px; }
.ls-login__brand h2 { font-size: 18px; line-height: 1.45; overflow-wrap: anywhere; }
.ls-login__brand > p { margin-bottom: 18px; }
.ls-login__brand ul { gap: 8px; margin-top: 16px; }
.ls-login__brand li { font-size: 12.5px; }
.ls-login__logo { width: 32px; height: 32px; margin-bottom: 14px; }
.ls-login__logo svg { width: 18px; height: 18px; }
.ls-login__panel { padding: 26px clamp(20px, 4vw, 34px); }
.ls-login .ls-form { width: 100%; max-width: 360px; }
.ls-login .ls-form .ls-input { margin-bottom: 12px; }
.ls-login .ls-input input { min-width: 0; padding-top: 10px; padding-bottom: 10px; font-size: 14px; }
.ls-login .ls-input .ls-code-btn { max-width: 44%; padding: 7px 9px; white-space: nowrap; }
.ls-login__tabs { width: 100%; max-width: 360px; margin-bottom: 16px; }
.ls-login__btn { min-height: 40px; }
.ls-login__reg { margin-top: 14px; line-height: 1.7; }
.ls-login__reg a { display: inline-block; padding: 2px 0; }
.ls-login :focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
@media (max-width: 680px) {
  .ls-login { width: min(440px, 100%); margin: 12px auto; }
  .ls-login__brand { padding: 16px 18px; }
  .ls-login__brand > p { margin-bottom: 0; }
  .ls-login__panel { padding: 20px 18px; }
  .ls-login__logo { margin-bottom: 8px; }
}
@media (max-width: 360px) {
  .ls-login__panel { padding-right: 14px; padding-left: 14px; }
  .ls-login .ls-input > span { left: 10px; }
  .ls-login .ls-input input { padding-right: 10px; padding-left: 34px; }
  .ls-login .ls-input:has(.ls-code-btn) input { padding-right: 112px; }
}
@media (prefers-reduced-motion: reduce) {
  .ls-login *, .ls-login *::before, .ls-login *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
