/* ============================================================
   麦灵官网 · Bento 能力面板 + 桌宠画廊 v3
   建：2026-09-19 Sky ｜ 定案：劭珩 2026-09-19 20:14
   ============================================================ */

/* ============================================================
   Bento 能力面板
   ============================================================ */
.bento-box {
  position: relative; margin-top: 26px; border-radius: 26px; overflow: hidden;
  background: linear-gradient(165deg, #11132a, #0a0c1a 68%);
  border: 1px solid rgba(124, 140, 255, .18);
  box-shadow: 0 34px 90px -44px rgba(0, 0, 0, .95);
}
.bento-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(124, 140, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 140, 255, .055) 1px, transparent 1px);
  background-size: 46px 46px;
}
/* 手电筒光斑已移除（2026.9.19 劭珩：特效够多了，上线会卡） */
.bento-box::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 78% at 50% -12%, rgba(124, 140, 255, .13), transparent 62%);
}

.bento-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 150px; gap: 16px; padding: 16px;
}

.bento-cell { border-radius: 18px; }

/* 显式定位：保证某格展开（脱离文档流）时，其他格子绝不挪位 */
.bento-card[data-panel="download"] { grid-area: 2 / 1 / 4 / 3; }
.bento-card[data-panel="core"]     { grid-area: 1 / 2 / 2 / 3; }
.bento-card[data-panel="channels"] { grid-area: 1 / 3 / 2 / 4; }
.bento-card[data-panel="plans"]    { grid-area: 1 / 4 / 2 / 5; }
.bento-card[data-panel="models"]   { grid-area: 2 / 3 / 3 / 4; }
.bento-card[data-panel="platform"] { grid-area: 2 / 4 / 3 / 5; }
.bento-card[data-panel="pricing"]  { grid-area: 3 / 3 / 4 / 4; }
.bento-card[data-panel="skills"]   { grid-area: 3 / 4 / 4 / 5; }

.bento-head { grid-area: 1 / 1 / 2 / 2; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 18px; }
.bento-head-tag { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: #b9c2ff; text-transform: uppercase; }
.bento-head h2 { margin: 0; font-size: 20px; font-weight: 900; color: #fff; line-height: 1.28; }
.bento-head p { margin: 0; font-size: 12.5px; line-height: 1.55; color: rgba(230, 233, 255, .58); }

.bento-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  gap: 6px; padding: 18px; text-align: left; cursor: pointer; font: inherit; color: #eef0ff;
  background: linear-gradient(160deg, rgba(124, 140, 255, .13), rgba(124, 140, 255, .03));
  border: 1px solid rgba(124, 140, 255, .2);
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease, opacity .35s ease, filter .35s ease;
  overflow: hidden;
}
.bento-card:hover, .bento-card:focus-visible { border-color: rgba(124, 140, 255, .55); box-shadow: 0 16px 40px -20px rgba(96, 110, 255, .6); }
.bento-card:focus-visible { outline: 2px solid rgba(124, 140, 255, .7); outline-offset: 2px; }
.bento-card.is-main {
  grid-area: 2 / 1 / 4 / 3;
  background: linear-gradient(155deg, rgba(47, 191, 113, .17), rgba(124, 140, 255, .05));
  border-color: rgba(47, 191, 113, .34);
}
.bento-card.is-main:hover { border-color: rgba(47, 191, 113, .68); box-shadow: 0 16px 40px -20px rgba(47, 191, 113, .55); }

.bento-face { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.bento-ico { font-size: 26px; line-height: 1; }
.bento-name { font-size: 15.5px; font-weight: 800; letter-spacing: .01em; }
.bento-sub { font-size: 12.5px; line-height: 1.55; color: rgba(230, 233, 255, .58); }
.bento-card.is-main .bento-ico { font-size: 34px; }
.bento-card.is-main .bento-name { font-size: 19px; }
.bento-card.is-main .bento-sub { color: rgba(226, 255, 240, .74); font-size: 13px; }

.bento-card.is-dim { opacity: .16; filter: blur(4px) saturate(.55); pointer-events: none; }

.bento-card .bento-panel { display: none; }
.bento-card.is-open {
  position: fixed; z-index: 9100; display: block; padding: 0; cursor: default;
  transition: height .3s cubic-bezier(.22,1.08,.36,1), top .3s cubic-bezier(.22,1.08,.36,1);
  background: linear-gradient(165deg, #171a38, #0e1024 72%);
  border-color: rgba(124, 140, 255, .5);
  box-shadow: 0 44px 100px -32px rgba(0, 0, 0, .92);
}
.bento-card.is-open .bento-face { display: none; }
.bento-card.is-open .bento-panel { display: block; max-height: 100%; overflow-y: auto; padding: 22px 24px 26px; }

/* 展开时把网格提到遮罩之上，否则整个网格（含展开卡片）会被毛玻璃盖住 → 全屏模糊 */
.bento-box.has-open .bento-grid { z-index: 55; }

/* 全屏遮罩（展开时压住页面，点它关闭） */
.bento-shade {
  position: fixed; inset: 0; z-index: 9000; background: rgba(6, 7, 20, .74);
  opacity: 0; transition: opacity .26s ease;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.bento-shade.is-on { opacity: 1; }

/* 卡片内的关闭按钮 */
.bento-x {
  display: none; position: absolute; top: 14px; right: 14px; z-index: 62;
  width: 38px; height: 38px; place-items: center; border-radius: 12px; font-size: 15px; cursor: pointer;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #dfe3ff;
}
.bento-card.is-open .bento-x { display: grid; }
.bento-x:hover { background: rgba(255, 90, 90, .18); border-color: rgba(255, 90, 90, .45); color: #ff9b9b; }

/* ---------- 面板内部：把原来的大板块适配到卡片里 ---------- */
.bento-panel .sec-head { text-align: left; margin: 0 0 18px; }
.bento-panel .sec-head h2 { font-size: 21px; }
.bento-panel .sec-head p { margin-left: 0; margin-right: 0; max-width: none; font-size: 13.5px; }
.bento-panel .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bento-panel .card { padding: 18px; }
.bento-panel .card h3 { font-size: 16px; }
.bento-panel .card p { font-size: 13.5px; line-height: 1.72; }
.bento-panel .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bento-panel .plans { grid-template-columns: 1fr; gap: 14px; }
.bento-panel .plan-table-wrap { margin-top: 0; }
.bento-panel .plan-table { font-size: 13.5px; }
.bento-panel .skill-block { margin-top: 18px; }
.bento-panel .skill-block:first-of-type { margin-top: 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 138px; }
  .bento-card[data-panel] { grid-area: auto; }
  .bento-head { grid-area: auto; grid-column: 1 / -1; }
  .bento-card.is-main { grid-area: auto; grid-column: 1 / -1; grid-row: span 2; }
}
@media (max-width: 640px) {
  .bento-box { border-radius: 20px; }
  .bento-grid { gap: 10px; padding: 10px; grid-auto-rows: 118px; }
  .bento-card { padding: 13px; border-radius: 14px; gap: 4px; }
  .bento-ico { font-size: 21px; }
  .bento-card.is-main .bento-ico { font-size: 27px; }
  .bento-name { font-size: 13.5px; }
  .bento-card.is-main .bento-name { font-size: 16px; }
  .bento-sub { font-size: 11.5px; line-height: 1.45; }
  .bento-card.is-main .bento-sub { font-size: 12px; }
  .bento-head { padding: 14px; }
  .bento-head h2 { font-size: 17px; }
  .bento-card.is-open .bento-panel { padding: 18px 14px 22px; }
  .bento-panel .grid4, .bento-panel .model-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   桌宠画廊：背景全透明（2026.9.19 劭珩令「只留框」）
   —— 卡片底色、图片区径向渐变、名字条底色、加载遮罩全部去掉，只保留 2px 描边
   ============================================================ */
.pet-card { background: transparent; }
.pet-card-img { background: transparent; }
.pet-card-name { background: transparent; border-top-color: transparent; }
.pet-loader { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.pet-stage { filter: drop-shadow(0 14px 34px rgba(0, 0, 0, .45)); }

/* ============================================================
   2026.9.19 追加（劭珩令）
   ============================================================ */

/* ① 画廊外层大卡片：完全透明，只留角色本身 */
.doc-card--plain { background: transparent; border-color: transparent; box-shadow: none; }

/* ② 技能墙「套娃」：小模块可点 */
button.skill-chip, .bento-panel button.skill-chip {
  font: inherit; cursor: pointer; text-align: left;
  transition: border-color .22s ease, background .22s ease, transform .22s ease, color .22s ease;
}
button.skill-chip:hover, .bento-panel button.skill-chip:hover {
  border-color: rgba(124, 140, 255, .62); background: rgba(124, 140, 255, .18);
  transform: translateY(-1px); color: #eef0ff;
}
button.skill-chip:focus-visible { outline: 2px solid rgba(124, 140, 255, .7); outline-offset: 2px; }

/* ③ 第三层：技能说明浮层 */
.skill-pop {
  position: fixed; inset: 0; z-index: 9200; display: grid; place-items: center; padding: 20px;
  background: rgba(6, 7, 20, .62);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.skill-pop[hidden] { display: none; }
.skill-pop-box {
  width: min(540px, 92vw); max-height: 80vh; overflow-y: auto;
  padding: 26px 26px 24px; border-radius: 20px;
  background: linear-gradient(165deg, #191c3a, #0f1126 72%);
  border: 1px solid rgba(124, 140, 255, .34);
  box-shadow: 0 30px 80px -28px rgba(0, 0, 0, .92);
  animation: skillPop .26s cubic-bezier(.22, 1.06, .36, 1);
}
@keyframes skillPop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.skill-pop-box h4 { margin: 0 0 10px; font-size: 18.5px; font-weight: 800; color: #eef0ff; line-height: 1.42; }
.skill-pop-box p { margin: 0; font-size: 14.5px; line-height: 1.9; color: #a9adcc; }


/* ============================================================
   技能墙三层套娃（2026.9.19 劭珩令：套娃是大标题，不是里边的技能）
   ============================================================ */
.skill-stage-hint { margin: 0 0 16px; font-size: 13.5px; color: #8f95b8; line-height: 1.7; }
.skill-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.skill-cat {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 18px 16px; border-radius: 16px; cursor: pointer; font: inherit; text-align: left;
  background: linear-gradient(160deg, rgba(124, 140, 255, .13), rgba(124, 140, 255, .03));
  border: 1px solid rgba(124, 140, 255, .22); color: #eef0ff;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.skill-cat:hover, .skill-cat:focus-visible {
  transform: translateY(-3px); border-color: rgba(124, 140, 255, .6);
  box-shadow: 0 14px 34px -18px rgba(96, 110, 255, .6);
}
.skill-cat:focus-visible { outline: 2px solid rgba(124, 140, 255, .7); outline-offset: 2px; }
.skill-cat-ico { font-size: 22px; line-height: 1; }
.skill-cat-name { font-size: 14.5px; font-weight: 800; line-height: 1.42; }
.skill-cat-num {
  font-size: 11.5px; font-weight: 700; color: #b9c2ff; padding: 2px 8px; border-radius: 999px;
  background: rgba(124, 140, 255, .16); border: 1px solid rgba(124, 140, 255, .3);
}
.skill-back {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px; padding: 7px 14px;
  border-radius: 10px; cursor: pointer; font: inherit; font-size: 13px; font-weight: 700;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #c9cdea;
  transition: border-color .2s ease, color .2s ease;
}
.skill-back:hover { border-color: rgba(124, 140, 255, .55); color: #eef0ff; }
.skill-stage-title { margin: 0 0 16px; font-size: 19px; font-weight: 900; color: #eef0ff; }

@media (max-width: 900px) { .skill-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .skill-cats { grid-template-columns: 1fr; } }

/* ============================================================
   顶部标签 + 满宽内容区（2026.9.19 劭珩令：上边几个小模块，点哪个下边出哪个）
   ============================================================ */
/* 面板本身变成纵向弹性布局：标签栏固定，内容框吃掉剩余空间
   ⚠️ 必须带 .bento-card.is-open 前缀：否则同特异性下会盖掉「收起时 display:none」，
   导致关闭卡片后面板仍显示、把卡片撑大（2026.9.19 修复） */
.bento-card.is-open .bento-panel.has-tabs { display: flex; flex-direction: column; }
.bt-bar {
  display: flex; flex-wrap: wrap; gap: 8px; flex: none;
  margin: 0 0 16px;
}
/* 内容区：占满标签下方剩余空间（不额外画框，避免和内容自带的框叠成双层） */
.bt-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 2px 2px 2px 0; }
.bt-tab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: 11px; cursor: pointer; font: inherit;
  font-size: 13.5px; font-weight: 700; color: #a9adcc;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
  transition: color .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.bt-tab:hover { color: #eef0ff; border-color: rgba(124, 140, 255, .5); }
.bt-tab.is-active {
  color: #fff;
  background: linear-gradient(160deg, rgba(124, 140, 255, .3), rgba(124, 140, 255, .1));
  border-color: rgba(124, 140, 255, .62);
  box-shadow: 0 8px 22px -12px rgba(96, 110, 255, .8);
}
.bt-tab:focus-visible { outline: 2px solid rgba(124, 140, 255, .7); outline-offset: 2px; }
.bt-ico { font-size: 15px; line-height: 1; }
.bt-name { white-space: nowrap; }

/* 有标签时：内容单列，铺满整个框 */
.bento-panel.has-tabs .grid4,
.bento-panel.has-tabs .plans,
.bento-panel.has-tabs .model-grid { grid-template-columns: 1fr; gap: 0; }
.bento-panel.has-tabs .bt-item { width: 100%; box-sizing: border-box; }
.bento-panel.has-tabs .plan-table-wrap { max-width: none; overflow-x: auto; }
.bento-panel.has-tabs .wx-platforms { margin-top: 14px; }

@media (max-width: 640px) {
  .bt-tab { padding: 8px 12px; font-size: 12.5px; }
  .bt-bar { gap: 6px; margin-bottom: 14px; padding-bottom: 12px; }
}

/* 标题格里的外链入口（2026.9.19：链接到 3D 桌宠工坊） */
.bento-head-link {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 10px; padding: 8px 12px; border-radius: 11px;
  font-size: 12.5px; font-weight: 700; color: #eef0ff; text-decoration: none;
  background: linear-gradient(160deg, rgba(124, 140, 255, .26), rgba(124, 140, 255, .08));
  border: 1px solid rgba(124, 140, 255, .42);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
  align-self: flex-start; max-width: 100%;
}
.bento-head-link:hover, .bento-head-link:focus-visible {
  transform: translateY(-2px); border-color: rgba(124, 140, 255, .8);
  box-shadow: 0 12px 28px -14px rgba(96, 110, 255, .75); color: #fff;
}
.bento-head-link .bh-ico { font-size: 14px; line-height: 1; }
.bento-head-link .bh-txt { white-space: nowrap; }
.bento-head-link .bh-arrow { transition: transform .24s ease; }
.bento-head-link:hover .bh-arrow { transform: translateX(3px); }

@media (max-width: 640px) { .bento-head-link { font-size: 12px; padding: 7px 10px; } }

/* ============================================================
   2026.9.19：标题格 → 工坊卡；主格大字排版
   ============================================================ */
/* 外链卡（3D 桌宠工坊）：与普通格子同尺寸，只是整格跳转 */
.bento-card.is-link { text-decoration: none; }
.bento-card.is-link .bento-face { width: 100%; }

/* 主格：大字居中 + 右下小字 */
.bento-card.is-main .bento-face--phone {
  width: 100%; height: 100%;
  align-items: center; justify-content: center; gap: 2px;
  padding: 6px 4px;
}
.bento-face--phone .phone-big {
  font-size: clamp(24px, 3.1vw, 40px); font-weight: 900;
  letter-spacing: .06em; line-height: 1.15; color: #eef0ff;
  text-shadow: 0 4px 24px rgba(124, 140, 255, .45);
}
/* 同一排：大字 + 空格 + 小字（baseline 对齐） */
.bento-face--phone .phone-line {
  display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; justify-content: center;
}
.bento-face--phone .phone-small {
  font-size: clamp(12px, 1.1vw, 15px); font-weight: 700;
  letter-spacing: .14em; color: rgba(226, 255, 240, .72);
}

/* 技能说明浮层：说明正文 + 「举个例子」块（2026.9.19） */
.skill-pop-box .sp-desc { margin: 0; font-size: 14.5px; line-height: 1.9; color: #c9cdea; }
.skill-pop-box .sp-eg {
  margin-top: 16px; padding: 14px 16px; border-radius: 12px;
  background: rgba(124, 140, 255, .08); border: 1px solid rgba(124, 140, 255, .2);
  font-size: 14px; line-height: 1.85; color: #a9adcc;
}
.skill-pop-box .sp-eg-tag {
  display: inline-block; margin-right: 9px; padding: 2px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  color: #b9c2ff; background: rgba(124, 140, 255, .2); border: 1px solid rgba(124, 140, 255, .34);
  vertical-align: 1px;
}
.skill-pop-box { width: min(620px, 92vw); }

/* 「仅全能版」的技能同样可点开看说明（2026.9.19 补） */
button.skill-chip.locked { cursor: pointer; }
button.skill-chip.locked:hover { border-color: rgba(255, 176, 32, .6); background: rgba(255, 176, 32, .14); }
.skill-pop-box .sp-eg.is-locked { background: rgba(255, 176, 32, .1); border-color: rgba(255, 176, 32, .3); }
.skill-pop-box .sp-eg.is-locked .sp-eg-tag { color: #ffc164; background: rgba(255, 176, 32, .18); border-color: rgba(255, 176, 32, .4); }

/* ============================================================
   子页面（工坊 / 功能 / 文档 / 关于 / 创作者）：自适应列数的 Bento 矩阵
   ============================================================ */
.bento-grid--auto { grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); grid-auto-rows: auto; }
.bento-grid--auto .bento-card { min-height: 158px; }
.bento-grid--auto .bento-card.is-main { grid-area: auto; }

/* 功能页：目录式 4 列规整网格（2026.9.19） */
.bento-grid--page { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 150px; }
.bento-grid--page .bento-card { min-height: 150px; }
@media (max-width: 1100px) { .bento-grid--page { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bento-grid--page { grid-template-columns: 1fr; grid-auto-rows: 122px; } }

/* ============================================================
   模型清单：厂商分组 + 模型卡 + 详情浮层（2026.9.19）
   ============================================================ */
.lm-lead { margin: 0 0 10px; font-size: 13.5px; line-height: 1.7; color: #a9adcc; }
.lm-lead b { color: #eef0ff; }
/* 左右布局：左边厂商名（固定宽），右边模型卡换行排列 —— 一行一组，一屏放得下 */
.lm-vendor {
  display: grid; grid-template-columns: 124px minmax(0, 1fr);
  gap: 10px; align-items: start; margin-bottom: 6px;
}
.lm-vendor-name {
  display: flex; align-items: center; gap: 6px; margin: 0;
  padding: 8px 2px; font-size: 12.8px; font-weight: 800; color: #dfe3ff;
  border: none; line-height: 1.45;
}
.lm-vendor-name .lm-count { display: none; }
.lm-models { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.lm-model {
  display: flex; flex-direction: column; gap: 3px; padding: 7px 11px; border-radius: 11px; min-width: 0;
  cursor: pointer; font: inherit; text-align: left; color: #eef0ff;
  background: linear-gradient(160deg, rgba(124, 140, 255, .12), rgba(124, 140, 255, .03));
  border: 1px solid rgba(124, 140, 255, .22);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.lm-model:hover, .lm-model:focus-visible {
  transform: translateY(-3px); border-color: rgba(124, 140, 255, .62);
  box-shadow: 0 12px 30px -16px rgba(96, 110, 255, .7);
}
.lm-model:focus-visible { outline: 2px solid rgba(124, 140, 255, .7); outline-offset: 2px; }
.lm-model-name { font-size: 12.6px; font-weight: 800; line-height: 1.3; white-space: nowrap; }
.lm-model-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.lm-model-meta i { font-style: normal; font-size: 11.5px; font-weight: 700; color: #b9c2ff; }
.lm-model-meta b { font-weight: 700; font-size: 11.5px; color: #8f95b8; }

.model-pop {
  position: fixed; inset: 0; z-index: 9300; display: grid; place-items: center; padding: 20px;
  background: rgba(6, 7, 20, .68);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.model-pop[hidden] { display: none; }
.model-pop-box {
  width: min(600px, 92vw); max-height: 84vh; overflow-y: auto;
  padding: 26px 26px 24px; border-radius: 20px;
  background: linear-gradient(165deg, #191c3a, #0f1126 72%);
  border: 1px solid rgba(124, 140, 255, .34);
  box-shadow: 0 30px 80px -28px rgba(0, 0, 0, .92);
  animation: skillPop .26s cubic-bezier(.22, 1.06, .36, 1);
}
.model-pop-box h4 { margin: 0 0 8px; font-size: 20px; font-weight: 900; color: #eef0ff; line-height: 1.35; }
.model-pop-box .mp-tag {
  display: inline-block; margin-bottom: 16px; padding: 3px 11px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; color: #b9c2ff;
  background: rgba(124, 140, 255, .18); border: 1px solid rgba(124, 140, 255, .34);
}
.model-pop-box .mp-specs { margin: 0 0 16px; display: grid; gap: 8px; }
.model-pop-box .mp-specs > div {
  display: flex; gap: 12px; align-items: baseline; padding: 10px 14px; border-radius: 11px;
  background: rgba(124, 140, 255, .06); border: 1px solid rgba(124, 140, 255, .14);
}
.model-pop-box dt { flex: none; width: 70px; font-size: 12.5px; font-weight: 700; color: #8f95b8; }
.model-pop-box dd { margin: 0; font-size: 14px; font-weight: 700; color: #dfe3ff; line-height: 1.6; }
.model-pop-box .mp-desc { margin: 0 0 14px; font-size: 14.5px; line-height: 1.9; color: #c9cdea; }
.model-pop-box .mp-fit { margin: 0; padding: 13px 15px; border-radius: 11px; font-size: 13.5px; line-height: 1.8; color: #a9adcc; background: rgba(47, 191, 113, .08); border: 1px solid rgba(47, 191, 113, .24); }
.model-pop-box .mp-fit b { color: #63e2a0; }

/* 云端大脑：「自定义接入」独立板块的强调（2026.9.19） */
.lm-vendor--custom {
  margin-top: 10px; padding: 9px 12px; border-radius: 13px;
  background: linear-gradient(160deg, rgba(124, 140, 255, .1), rgba(124, 140, 255, .02));
  border: 1px dashed rgba(124, 140, 255, .42);
}
.lm-vendor--custom .lm-vendor-name { padding: 10px 2px; }
.lm-custom-note { grid-column: 2 / -1; margin: 4px 0 0; font-size: 12.5px; line-height: 1.7; color: #8f95b8; }


/* 窄屏：厂商名回到上方一行 */
@media (max-width: 720px) {
  .lm-vendor { grid-template-columns: 1fr; gap: 6px; margin-bottom: 14px; }
  .lm-vendor-name { padding: 4px 0; font-size: 13.5px; }
  .lm-custom-note { grid-column: auto; }
}


/* OpenClaw 特点（2026.9.19：详列） */
.oc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.oc-item { padding: 14px 16px; border-radius: 14px; background: rgba(124, 140, 255, .06); border: 1px solid rgba(124, 140, 255, .16); }
.oc-item h4 { margin: 0 0 6px; font-size: 14.5px; font-weight: 800; color: #eef0ff; line-height: 1.4; }
.oc-item p { margin: 0; font-size: 13.5px; line-height: 1.8; color: #a9adcc; }
.oc-eg { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.7; color: #b9c2ff; }
.oc-eg::before { content: "→ "; }
@media (max-width: 720px) { .oc-grid { grid-template-columns: 1fr; } }

/* 能力总览：左图标 + 右内容（2026.9.19 劭珩令） */
.ov-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ov-card {
  display: grid; grid-template-columns: 42px minmax(0, 1fr); grid-template-rows: auto auto;
  gap: 0 13px; align-items: start; padding: 14px 16px; border-radius: 14px;
  background: rgba(124, 140, 255, .06); border: 1px solid rgba(124, 140, 255, .16);
}
.ov-card .icon {
  grid-row: 1 / 3; align-self: center;
  width: 42px; height: 42px; display: grid; place-items: center;
  font-size: 19px; line-height: 1; border-radius: 13px;
  background: linear-gradient(150deg, rgba(124, 140, 255, .3), rgba(124, 140, 255, .07));
  border: 1px solid rgba(124, 140, 255, .32);
}
.ov-card h3 { margin: 0; font-size: 15px; font-weight: 800; color: #eef0ff; align-self: center; }
.ov-card p { margin: 5px 0 0; font-size: 13.5px; line-height: 1.75; color: #a9adcc; }
@media (max-width: 720px) { .ov-grid { grid-template-columns: 1fr; } }

/* 使用方案：压到一屏可读（2026.9.19） */
.bento-panel .plans { gap: 12px; }
.bento-panel .plans .plan { padding: 12px 14px; }
.bento-panel .plans .plan .badge { font-size: 11px; padding: 2px 9px; }
.bento-panel .plans .plan h3 { font-size: 15px; margin: 6px 0 3px; line-height: 1.32; }
.bento-panel .plans .plan .price { font-size: 12.5px; margin: 0 0 8px; line-height: 1.45; }
.bento-panel .plans .plan ul { margin: 0; padding-left: 18px; }
.bento-panel .plans .plan li { margin: 2px 0; font-size: 12.8px; line-height: 1.52; }
.bento-panel .plans .plan .note { margin-top: 8px; font-size: 12px; line-height: 1.5; padding: 7px 9px; }
.bento-panel > .tip-bar { margin-top: 10px; padding: 10px 14px; font-size: 12.8px; line-height: 1.65; }

/* ============================================================
   主页 ·「创造自己的 3D 桌宠」：豆豆出场说话（2026.9.19 劭珩思路）
   ============================================================ */
.diy-stage { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px 0 6px; }
.diy-pet-wrap { position: relative; }
.diy-pet {
  display: block; width: min(232px, 42vw); height: auto;
  /* 不要彩色光晕：会在模糊背景上勾出一圈明显的轮廓 */
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .28));
  animation: diyFloat 3.6s ease-in-out infinite;
}
@keyframes diyFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.diy-say { margin: 16px 0 0; font-size: clamp(17px, 2vw, 21px); font-weight: 900; color: #eef0ff; letter-spacing: .01em; line-height: 1.4; }
.diy-sub { margin: 10px 0 20px; font-size: 14.5px; line-height: 1.85; color: #a9adcc; max-width: 460px; }
.diy-sub b { color: #eef0ff; }
.diy-note { display: inline-block; margin-top: 6px; font-size: 12.5px; color: #8f93b4; }
.diy-stage .btn { font-size: 14.5px; padding: 11px 24px; }
@media (max-width: 640px) { .diy-pet { width: min(180px, 52vw); } .diy-sub { font-size: 13.5px; } }

/* ============================================================
   豆豆出场：不要卡片的框，直接悬浮在模糊背景上（2026.9.19 劭珩令）
   ============================================================ */
.bento-card.is-open.is-petpop {
  background: none; border-width: 0; border-color: transparent; box-shadow: none; padding: 0;
  overflow: visible; cursor: pointer;
}
.bento-card.is-open.is-petpop .diy-pet { filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .22)); }
/* 台词区不要任何底色，纯文字浮在模糊背景上 */
.bento-card.is-open.is-petpop .diy-say,
.bento-card.is-open.is-petpop .diy-sub { background: none; }
.bento-card.is-open.is-petpop .bento-panel { padding: 0; overflow: visible; max-height: none; }
.bento-card.is-open.is-petpop .diy-pet { width: min(300px, 44vw); }
.bento-card.is-open.is-petpop .diy-say { font-size: clamp(19px, 2.3vw, 26px); text-shadow: 0 4px 26px rgba(0, 0, 0, .55); }
.bento-card.is-open.is-petpop .diy-sub { color: #d5d9ef; text-shadow: 0 2px 14px rgba(0, 0, 0, .5); }
.bento-card.is-petpop .diy-pet-wrap { pointer-events: none; }

/* 豆豆出场时背景更虚 */
.bento-shade.is-deep {
  background: rgba(6, 7, 20, .68);
  -webkit-backdrop-filter: blur(16px) saturate(.9);
  backdrop-filter: blur(16px) saturate(.9);
}


/* 未展开时的「创造自己的 3D 桌宠」小卡保持正常矩阵样式（已被 grid-area 控制），
   仅确保出场态无任何底色/边框（2026.9.19 二改） */

/* 主格：图片版「麦灵伴侣 · 手机版」（2026.9.19 劭珩提供图，文字已做进图里） */
.bento-card.is-main { padding: 0; }   /* 图片要铺满，不能有内边距 */
.bento-card.is-main .bento-face--phone { padding: 0; overflow: hidden; border-radius: 18px; width: 100%; height: 100%; display: block; }
/* ⚠️ 展开时必须让 face（含图片）退场，否则图片会盖住面板内容 */
.bento-card.is-open .bento-face--phone { display: none; }
.bento-card.is-open.is-main { padding: 22px 24px; }   /* 展开态恢复内边距，面板才好读 */
.bento-card.is-main .phone-img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  border-radius: 18px;
}

/* ============================================================
   全站统一悬停：上浮 + 扫光
   （2026.9.19 劭珩定案 · 样板间 ⑤+⑦ 组合）
   作用于：矩阵格 / 模型卡 / 分类卡 / 标签页 / 技能标签
   ============================================================ */
.bento-card,
.lm-model,
.skill-cat,
.bt-tab,
.skill-chip {
  position: relative; overflow: hidden;
  transition: transform .3s cubic-bezier(.22, 1.06, .36, 1), border-color .3s ease,
              box-shadow .3s ease, background .3s ease, color .3s ease;
}

/* 扫光条（默认藏在左侧视野外） */
.bento-card::after,
.lm-model::after,
.skill-cat::after,
.bt-tab::after,
.skill-chip::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 58%; left: -70%;
  pointer-events: none; transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
}
.bento-card:hover::after,
.lm-model:hover::after,
.skill-cat:hover::after,
.bt-tab:hover::after,
.skill-chip:hover::after { animation: cardSweep .85s ease; }
@keyframes cardSweep { to { left: 130%; } }

/* 上浮 */
.bento-card:hover,
.lm-model:hover,
.skill-cat:hover {
  transform: translateY(-7px);
  border-color: rgba(124, 140, 255, .68);
  box-shadow: 0 24px 48px -20px rgba(96, 110, 255, .8), 0 0 0 1px rgba(124, 140, 255, .22);
}
.bt-tab:hover { transform: translateY(-2px); border-color: rgba(124, 140, 255, .6); }
.skill-chip:hover, button.skill-chip:hover { transform: translateY(-3px); }

/* 卡片上的小图标跟着蹦一下（2026.9.19 劭珩追加） */
.bento-card:hover .bento-ico,
.skill-cat:hover .skill-cat-ico,
.bt-tab:hover .bt-ico {
  animation: iconBob .55s cubic-bezier(.28, 1.6, .5, 1);
}
@keyframes iconBob {
  0%   { transform: translateY(0) scale(1); }
  32%  { transform: translateY(-7px) scale(1.13); }
  62%  { transform: translateY(2px) scale(.98); }
  100% { transform: translateY(0) scale(1); }
}
/* 图标本身要能独立位移，需要 inline-block */
.bento-ico, .skill-cat-ico, .bt-ico { display: inline-block; }
.bento-card.is-dim:hover .bento-ico { animation: none; }

/* 展开态 / 变暗态不上浮（避免怪动作） */
.bento-card.is-open:hover { transform: none; box-shadow: none; }
.bento-card.is-dim:hover { transform: none; box-shadow: none; }
.bento-card.is-dim:hover::after { animation: none; }

/* 减少动态偏好：关掉扫光 */
@media (prefers-reduced-motion: reduce) {
  .bento-card::after, .lm-model::after, .skill-cat::after, .bt-tab::after, .skill-chip::after { display: none; }
}

/* ============================================================
   使用文档 · FAQ 折叠问答（2026.9.20 补回丢失内容）
   ============================================================ */
.faq-list { display: grid; gap: 9px; }
.faq-row {
  border-radius: 13px; overflow: hidden;
  background: rgba(124, 140, 255, .06);
  border: 1px solid rgba(124, 140, 255, .16);
}
.faq-row > summary {
  cursor: pointer; list-style: none; padding: 12px 16px;
  font-size: 14px; font-weight: 700; color: #e4e8ff; line-height: 1.6;
  display: flex; gap: 9px; align-items: flex-start;
  transition: background .22s ease, color .22s ease;
}
.faq-row > summary::-webkit-details-marker { display: none; }
.faq-row > summary:hover { background: rgba(124, 140, 255, .12); color: #fff; }
.faq-row[open] > summary { background: rgba(124, 140, 255, .13); }
.faq-row .q {
  flex: none; font-size: 11.5px; font-weight: 800; color: #b9c2ff;
  padding: 2px 8px; border-radius: 999px; margin-top: 1px;
  background: rgba(124, 140, 255, .2); border: 1px solid rgba(124, 140, 255, .34);
}
.faq-row > p {
  margin: 0; padding: 0 16px 13px 44px;
  font-size: 13.5px; line-height: 1.85; color: #a9adcc;
}
.faq-row[open] { border-color: rgba(124, 140, 255, .38); }
