/* =====================================================================
 * 米宝AI智能体 · 用户端（PC + H5 自适应）
 * 单份样式，两套布局：
 *   - 宽度 < 900px  → 移动布局（底部 tabbar）
 *   - 宽度 ≥ 900px  → 桌面布局（左侧导航 + 内容区）
 * ===================================================================== */

:root {
  --primary: #ff6b35;
  --primary-dark: #e85520;
  --primary-soft: #fff1eb;
  --text: #1c1c1e;
  --text-2: #6b7280;
  --text-3: #9ca3af;
  --line: #ecedf1;
  --bg: #f5f6f8;
  --card: #ffffff;
  --ok: #16a34a;
  --danger: #dc2626;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(16, 24, 40, 0.06), 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, 0.12);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; font-size: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
[hidden] { display: none !important; }

/* ---------------- 启动页 ---------------- */
.boot {
  position: fixed; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  background: var(--bg); color: var(--text-2); font-size: 14px; z-index: 300;
}
.boot-logo {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, #ff8b5e, var(--primary));
  color: #fff; font-weight: 800; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.35);
}

/* ---------------- 布局骨架 ---------------- */
.m-shell { min-height: 100vh; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
.m-main { padding: 12px 14px 20px; }

.pc-shell { min-height: 100vh; display: grid; grid-template-columns: 232px 1fr; }

.pc-side {
  position: sticky; top: 0; height: 100vh;
  background: var(--card); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 20px 14px;
}
.pc-brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 20px; }
.pc-brand .logo {
  width: 36px; height: 36px; border-radius: 11px;
  background: linear-gradient(135deg, #ff8b5e, var(--primary));
  color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.pc-brand .name { font-weight: 700; font-size: 16px; letter-spacing: .2px; }

.pc-nav { display: flex; flex-direction: column; gap: 4px; }
.pc-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  color: var(--text-2); font-weight: 500; transition: .15s;
}
.pc-nav a:hover { background: #f7f8fa; color: var(--text); }
.pc-nav a.on { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.pc-nav .ico { width: 20px; text-align: center; font-size: 16px; }

.pc-side-foot { margin-top: auto; padding: 12px; border-radius: 12px; background: #fafbfc; font-size: 12px; color: var(--text-3); }

.pc-main { min-width: 0; }
.pc-top {
  position: sticky; top: 0; z-index: 40;
  height: 62px; display: flex; align-items: center; gap: 16px;
  padding: 0 28px; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.pc-top h1 { font-size: 17px; margin: 0; font-weight: 700; }
.pc-top .spacer { flex: 1; }
.pc-body { max-width: 1080px; margin: 0 auto; padding: 22px 28px 60px; }
.pc-body.wide { max-width: 1240px; }

/* 移动端顶栏 */
.m-top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; height: 52px; padding: 0 14px;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.m-top .back { width: 32px; padding-left: 2px; font-size: 20px; color: var(--text); }
.m-top h1 { flex: 1; margin: 0; font-size: 16px; font-weight: 600; text-align: center; }
.m-top .right { min-width: 32px; text-align: right; }

/* ---------------- 底部 tabbar（移动） ---------------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; height: 56px; color: var(--text-3); font-size: 11px;
}
.tabbar a.on { color: var(--primary); }
.tabbar .ico { font-size: 20px; line-height: 1; }

/* ---------------- 通用卡片 / 标题 ---------------- */
.card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.card + .card { margin-top: 12px; }
.card-pad { padding: 16px; }

.sec-title {
  display: flex; align-items: center; justify-content: space-between;
  margin: 18px 2px 10px; font-size: 15px; font-weight: 700;
}
.sec-title .more { font-size: 12px; color: var(--text-3); font-weight: 400; }
.sec-title:first-child { margin-top: 0; }

.muted { color: var(--text-2); }
.small { font-size: 12px; }
.center { text-align: center; }

/* ---------------- 装修组件 ---------------- */
.cv-banner { position: relative; overflow: hidden; border-radius: 12px; }
.cv-banner img { width: 100%; object-fit: cover; }
.cv-banner-multi { display: flex; gap: 4px; }
.cv-banner-multi img { flex: 1; min-width: 0; }
.cv-banner a { display: block; }

.cv-notice {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px; padding: 10px 14px;
  background: #fffbeb; color: #92400e; border-radius: 12px;
  font-size: 13px; line-height: 1.5;
}

.cv-title { font-size: 15px; font-weight: 700; margin: 18px 2px 10px; }

.cv-grid-items { display: grid; gap: 8px; }
.cv-grid-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 4px; border-radius: 12px; background: var(--card);
  box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s;
  text-align: center; border: 1px solid transparent;
}
.cv-grid-item:active { transform: scale(.96); }
.cv-grid-item:hover { border-color: #ffd9c9; box-shadow: 0 6px 16px rgba(255,107,53,.1); }
.cv-grid-item .gi {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; background: var(--primary-soft);
}
.cv-grid-item .gn { font-size: 12px; font-weight: 500; line-height: 1.3; }
.cv-grid-item .gc { font-size: 10px; color: var(--primary); }

.cv-tpl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cv-tpl-item { border-radius: 12px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.cv-tpl-item .ph { aspect-ratio: 9/12; background: #eef0f3 center/cover no-repeat; }
.cv-tpl-item .tt { padding: 6px 8px; font-size: 11px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.cv-rich { padding: 4px 2px; font-size: 14px; color: #374151; }
.cv-rich img { border-radius: 10px; margin: 8px 0; }

/* 桌面端把这些组件排得更宽 */
@media (min-width: 900px) {
  .cv-grid-item { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 14px 16px; text-align: left; }
  .cv-grid-item .gn { font-size: 14px; font-weight: 600; }
  .cv-grid-item .gc { margin-left: auto; font-size: 12px; }
  .cv-tpl { grid-template-columns: repeat(6, 1fr); }
  .cv-notice { margin-top: 16px; }
}

/* ---------------- 功能页表单 ---------------- */
.form-item { margin-bottom: 16px; }
@media (min-width: 900px) {
  /* 桌面端双列表单，长字段整行铺开 */
  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .form-grid .form-item.full { grid-column: 1 / -1; }
  .form-grid > p { grid-column: 1 / -1; }
}
.form-item label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-item label .req { color: var(--danger); margin-left: 2px; }
.form-item .hint { font-size: 11px; color: var(--text-3); margin-top: 4px; }

.input, .textarea, .select {
  width: 100%; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fafbfc; color: var(--text); outline: none; transition: .15s;
}
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, .12);
}
.textarea { min-height: 96px; resize: vertical; line-height: 1.6; }

.upload-box {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 22px; border: 1.5px dashed #d8dbe2; border-radius: 12px;
  color: var(--text-3); font-size: 12px; background: #fafbfc; cursor: pointer;
}
.upload-box:active { background: #f2f3f6; }
.upload-box .ico { font-size: 22px; }
.upload-preview { position: relative; border-radius: 12px; overflow: hidden; }
.upload-preview img { width: 100%; max-height: 240px; object-fit: contain; background: #f2f3f6; }
.upload-preview .del {
  position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px;
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 42px; padding: 0 20px; border-radius: 11px;
  background: var(--primary); color: #fff; font-weight: 600; font-size: 15px;
  transition: .15s; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn:hover { background: var(--primary-dark); }
.btn:disabled { opacity: .5; pointer-events: none; }
.btn.block { display: flex; width: 100%; }
.btn.ghost { background: #fff; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { background: #f7f8fa; }
.btn.sm { height: 34px; padding: 0 14px; font-size: 13px; border-radius: 9px; }
.btn.line { background: var(--primary-soft); color: var(--primary); }
.btn.line:hover { background: #ffe6dc; }

/* ---------------- 列表 / 表格 ---------------- */
.list { }
.list-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.list-row:last-child { border-bottom: 0; }
.list-row .grow { flex: 1; min-width: 0; }
.list-row .t1 { font-size: 14px; font-weight: 600; }
.list-row .t2 { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.list-row .arrow { color: #c8ccd4; font-size: 16px; }

.thumb {
  width: 56px; height: 56px; border-radius: 10px; object-fit: cover;
  background: #eef0f3; flex: none;
}

/* ---------------- 任务状态 ---------------- */
.badge {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  border-radius: 6px; font-size: 11px; font-weight: 600;
}
.badge.pending { background: #f1f5f9; color: #475569; }
.badge.running { background: #eff6ff; color: #2563eb; }
.badge.success { background: #ecfdf5; color: #059669; }
.badge.failed { background: #fef2f2; color: #dc2626; }

.progress { height: 5px; border-radius: 3px; background: #eef0f3; overflow: hidden; margin-top: 8px; }
.progress i { display: block; height: 100%; background: var(--primary); transition: width .4s; }

.result-media { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 220px)); gap: 10px; }
.result-media img, .result-media video { width: 100%; border-radius: 10px; background: #000; }
.result-text {
  white-space: pre-wrap; word-break: break-word; font-size: 14px; line-height: 1.75;
  background: #fafbfc; border: 1px solid var(--line); border-radius: 10px; padding: 14px;
}

/* ---------------- 空态 ---------------- */
.empty { padding: 48px 20px; text-align: center; color: var(--text-3); }
.empty .ico { font-size: 36px; margin-bottom: 8px; opacity: .6; }
.empty p { margin: 0 0 14px; font-size: 13px; }

/* ---------------- 我的 ---------------- */
.profile-hero {
  display: flex; align-items: center; gap: 14px; padding: 20px;
  background: linear-gradient(135deg, #ff8b5e, var(--primary));
  color: #fff;
}
.profile-hero .avatar {
  width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center; font-size: 22px; overflow: hidden; flex: none;
}
.profile-hero .avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-hero .nick { font-size: 17px; font-weight: 700; }
.profile-hero .sub { font-size: 12px; opacity: .9; margin-top: 2px; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--card); }
.stat-row .st { padding: 14px 8px; text-align: center; }
.stat-row .st .n { font-size: 19px; font-weight: 700; color: var(--text); }
.stat-row .st .l { font-size: 11px; color: var(--text-3); margin-top: 2px; }

/* ---------------- 套餐 ---------------- */
.pkg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .pkg-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.pkg {
  position: relative; padding: 16px 14px; border-radius: 14px;
  background: var(--card); border: 1.5px solid var(--line); text-align: center;
  transition: .15s; cursor: pointer;
}
.pkg:hover { border-color: #ffc7ae; }
.pkg.on { border-color: var(--primary); background: var(--primary-soft); }
.pkg .tag {
  position: absolute; top: 6px; right: 6px; z-index: 1;
  max-width: calc(100% - 12px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 1px 6px; line-height: 1.5;
  background: var(--primary); color: #fff; font-size: 10px; font-weight: 700;
  border-radius: 6px;
}
/* 有角标时把价格往下推，避免「实体店专享」这类长标签压住价格 */
.pkg .tag + .price { margin-top: 16px; }
.pkg .price { font-size: 22px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.pkg .price small { font-size: 12px; font-weight: 500; }
.pkg .name { font-size: 13px; font-weight: 600; margin-top: 4px; }
.pkg .desc { font-size: 11px; color: var(--text-3); margin-top: 4px; }

/* ---------------- 弹层 ---------------- */
.mask {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15, 18, 25, .45); backdrop-filter: blur(2px);
  display: flex; align-items: flex-end; justify-content: center;
}
@media (min-width: 900px) { .mask { align-items: center; } }

.dialog {
  width: 100%; max-width: 420px; background: #fff;
  border-radius: 18px 18px 0 0; padding: 22px 20px calc(22px + env(safe-area-inset-bottom));
  box-shadow: var(--shadow-lg); animation: slideUp .22s ease;
}
@media (min-width: 900px) { .dialog { border-radius: 18px; padding-bottom: 22px; } }
.dialog.small { max-width: 360px; }
@keyframes slideUp { from { transform: translateY(28px); opacity: .6; } to { transform: none; opacity: 1; } }

.dialog h3 { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.dialog .sub { margin: 0 0 18px; font-size: 13px; color: var(--text-2); }

.tabs { display: flex; gap: 20px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tabs button { padding: 0 0 10px; font-size: 14px; color: var(--text-3); font-weight: 500; position: relative; }
.tabs button.on { color: var(--text); font-weight: 700; }
.tabs button.on::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--primary); border-radius: 2px;
}

.code-row { display: flex; gap: 8px; }
.code-row .input { flex: 1; }
.code-row .btn { flex: none; width: 108px; padding: 0; }

.qr-wrap { text-align: center; padding: 8px 0 4px; }
.qr-wrap iframe { width: 240px; height: 240px; border: 0; border-radius: 12px; background: #fafbfc; }
.qr-tip { font-size: 12px; color: var(--text-3); margin-top: 10px; }

/* ---------------- 登录 / 注册弹层 ---------------- */
.lg-head { text-align: center; margin-bottom: 16px; }
.lg-logo {
  width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 13px;
  background: linear-gradient(135deg, var(--primary), #7c5cff);
  color: #fff; font-size: 17px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(99, 91, 255, .28);
}
.lg-head h3 { font-size: 19px; margin: 0 0 6px; }
.lg-head .sub { margin: 0; font-size: 13px; color: var(--text-2); }
.lg-gift {
  display: inline-block; margin-left: 6px; padding: 1px 8px;
  font-size: 11px; font-weight: 700; color: #b45309;
  background: #fef3c7; border-radius: 20px; vertical-align: 1px;
}

/* 微信一键登录（微信内才显示） */
.wx-btn {
  background: #07c160; border-color: #07c160; color: #fff;
  font-weight: 600; height: 46px; font-size: 15px;
}
.wx-btn:active { background: #06ad56; }
.wx-btn::before { content: '💬'; margin-right: 6px; }

.lg-or { display: flex; align-items: center; gap: 10px; margin: 16px 0 4px; }
.lg-or::before, .lg-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.lg-or span { font-size: 11px; color: var(--text-3); white-space: nowrap; }

.lg-hint { font-size: 12px; color: var(--text-3); text-align: center; margin: 10px 0 0; line-height: 1.6; }

.lg-other { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.lg-other-btn {
  width: 100%; height: 44px; border-radius: 12px; font-size: 14px;
  color: #07a04f; background: #f0fbf3; border: 1px solid #cceedd;
  display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600;
}
.lg-other-btn:active { background: #e3f7ea; }
.lg-other-btn .ico { font-size: 15px; }

/* 协议勾选 */
.agree {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 14px 0 2px; font-size: 12px; color: var(--text-3); line-height: 1.65;
  cursor: pointer; border-radius: 8px; padding: 4px 2px;
}
.agree input {
  width: 16px; height: 16px; margin: 1px 0 0; flex: none;
  accent-color: var(--primary); cursor: pointer;
}
.agree a { color: var(--primary); text-decoration: none; }
.agree.warn { background: #fff1f0; animation: shake .28s; }
.agree.warn span { color: #d4380d; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* 协议正文弹层 */
.terms-body {
  max-height: 54vh; overflow: auto; margin: 12px 0 0;
  font-size: 13px; line-height: 1.9; color: var(--text-2);
  white-space: pre-wrap; word-break: break-word;
}

/* ---------------- Toast ---------------- */
.toast {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%);
  max-width: 78vw; padding: 11px 18px; border-radius: 10px;
  background: rgba(24, 26, 32, .9); color: #fff; font-size: 14px;
  z-index: 400; text-align: center; animation: fadeIn .18s;
  backdrop-filter: blur(6px);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------------- 桌面端细节 ---------------- */
@media (min-width: 900px) {
  .m-shell, .m-top, .tabbar { display: none !important; }
  .card-pad { padding: 22px; }
  .list-row { padding: 16px 22px; }
  .list-row .t1 { font-size: 15px; }
  .sec-title { font-size: 16px; }
  .cv-title { font-size: 16px; margin: 22px 2px 12px; }
}
@media (max-width: 899px) {
  .pc-shell { display: none !important; }
}

/* ============================================================
 * 功能详情页（仿主流 AI 工具的填表体验）
 * 竖条标题 / 选项按钮 / 示例 / AI 润色 / 吸底提交条
 * ============================================================ */
.feat-page { max-width: 860px; margin: 0 auto; padding-bottom: 84px; }
.feat-head .feat-ico {
  width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft);
  display: flex; align-items: center; justify-content: center; font-size: 22px; flex: none;
}
.feat-tips {
  margin-top: 12px; padding: 10px 12px; border-radius: 10px;
  background: linear-gradient(135deg, #fff7f2, #fffdf9); border: 1px solid #ffe4d6;
  font-size: 13px; line-height: 1.65; color: #7a4a2c;
}
.warn-tip {
  margin-bottom: 12px; padding: 8px 10px; border-radius: 8px;
  background: #fff7e6; color: #8a5a00; border: 1px solid #ffe0a3; font-size: 12px;
}
.form-item label { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.form-item label .lbl-bar {
  width: 3px; height: 13px; border-radius: 2px; background: var(--primary); display: inline-block;
}

/* 选项按钮组 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .chip {
  min-width: 76px; height: 38px; padding: 0 14px; border-radius: 10px;
  background: #fff; border: 1px solid var(--line); color: var(--text);
  font-size: 14px; display: inline-flex; flex-direction: column; align-items: center;
  justify-content: center; line-height: 1.15; transition: .15s;
}
.chips .chip em { font-style: normal; font-size: 10px; color: var(--text-3); }
.chips .chip.on {
  background: var(--primary); border-color: var(--primary); color: #fff;
}
.chips .chip.on em { color: rgba(255,255,255,.85); }

/* 字段工具条：AI 润色 + 示例 */
.field-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; align-items: center; }
.field-tools .mini-sep { font-size: 11px; color: var(--text-3); }
.mini-btn {
  height: 28px; padding: 0 10px; border-radius: 8px; font-size: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--text-2);
  max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mini-btn.ai { background: var(--primary-soft); border-color: #ffd9c9; color: var(--primary); font-weight: 600; }
.mini-btn.example { background: #f7f8fa; }
.mini-btn:disabled { opacity: .6; }

/* 参考示例图 */
.showcase { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.showcase figure { margin: 0; background: #f7f8fa; border-radius: 10px; overflow: hidden; }
.showcase img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.showcase figcaption { font-size: 11px; color: var(--text-3); text-align: center; padding: 6px 4px; }

/* 未开通 */
.lock-card { text-align: center; padding: 34px 22px; }
.lock-ico { font-size: 40px; }
.lock-title { font-weight: 700; font-size: 16px; margin-top: 10px; }
.lock-desc { font-size: 13px; color: var(--text-2); margin-top: 8px; line-height: 1.7; }
.lock-actions { display: flex; gap: 10px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }

/* 吸底提交条 */
.submit-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.submit-bar .sb-left { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.submit-bar .sb-work {
  display: inline-flex; align-items: center; gap: 4px; font-size: 12px;
  color: var(--text-2); border: 1px solid var(--line); border-radius: 8px;
  padding: 3px 8px; width: fit-content;
}
.submit-bar .sb-btn { flex: none; min-width: 170px; height: 44px; border-radius: 12px; font-size: 15px; }
@media (min-width: 900px) {
  .submit-bar { left: 0; right: 0; padding-left: 24px; padding-right: 24px; }
  .submit-bar .sb-btn { min-width: 220px; }
}

/* ---------------- 品牌 logo（图片版） ---------------- */
.pc-brand .logo, .lg-logo, .boot-logo {
  background: #fff !important;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .05);
}
.pc-brand .logo img, .lg-logo img, .boot-logo img {
  width: 100%; height: 100%; object-fit: contain;
}

/* 未开通的功能格子：右上角小锁 + 价格位改成「N算力开通」 */
.cv-grid-item { position: relative; }
.cv-grid-item .gi { position: relative; display: inline-block; }
.gi-lock {
  position: absolute; right: -8px; top: -8px;
  font-size: 11px; font-style: normal; line-height: 1;
  background: #fff; border-radius: 50%; padding: 3px;
  border: 1px solid #ffe0cc;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
}
.cv-grid-item.locked .gc { color: var(--primary); font-weight: 600; }

/* 未配置任何登录方式时的提示 */
.lg-none { background: #fff8ee; border: 1px solid #ffe2c2; border-radius: 12px; padding: 14px; text-align: center; }
.lg-none-t { font-size: 13px; font-weight: 700; color: #b45309; }
.lg-none-d { font-size: 12px; color: #8a5a00; line-height: 1.7; margin-top: 6px; }

/* 登录弹窗：短信未开通的提示（不能整块藏掉，否则用户以为网站坏了） */
.lg-warn {
  color: #b45309 !important;
  background: #fff8ee;
  border: 1px solid #ffe2c2;
  border-radius: 8px;
  padding: 8px 10px;
  line-height: 1.7;
  margin-top: 8px;
}
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* 「可提现」可点 */
.st-link { cursor: pointer; }
.st-link:active { opacity: .7; }
