/* TokensMore — Model Square (/models) 桌面表格 + 移动卡片 */
.msq{padding:40px 0 24px}
.msq-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:26px}
.msq-hero h1{margin:0;font-size:44px;line-height:1.08;font-weight:800;letter-spacing:-.03em}
.msq-sub{margin:10px 0 0;color:var(--muted);font-size:16px}
.msq-tagline{margin:6px 0 0;color:#9aabbe;font-size:12.5px;line-height:1.7;text-align:left;font-weight:600;flex-shrink:0;padding-top:10px}

/* 工具栏 */
.msq-toolbar{display:flex;gap:12px;margin-bottom:16px}
.msq-search{flex:1;display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:0 18px;min-height:48px;color:var(--muted)}
.msq-search:focus-within{border-color:var(--green);box-shadow:0 0 0 3px rgba(31,184,132,.12)}
.msq-search svg{width:18px;height:18px;flex-shrink:0}
.msq-search input{flex:1;border:0;outline:0;background:transparent;font-size:14px;color:var(--ink)}
.msq-select{appearance:none;border:1px solid var(--line);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23596b82' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center/11px;border-radius:999px;padding:0 40px 0 18px;min-height:48px;font-size:13.5px;font-weight:700;color:var(--ink);cursor:pointer;white-space:nowrap;max-width:230px}
.msq-select:focus{outline:0;border-color:var(--green)}

/* 分类 Tab + 可用性切换 */
.msq-filters{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;flex-wrap:wrap}
.msq-tabs{display:flex;gap:8px;flex-wrap:wrap}
.msq-tab{border:1px solid transparent;background:transparent;border-radius:999px;padding:9px 18px;font-size:13.5px;font-weight:700;color:var(--muted);cursor:pointer;transition:.15s}
.msq-tab span{opacity:.65;font-weight:600;margin-left:2px}
.msq-tab:hover{color:var(--ink)}
.msq-tab.is-active{background:#d9f4e8;color:#0b6b4d;border-color:#b6e8d4}
.msq-seg{display:flex;border:1px solid var(--line);border-radius:999px;padding:3px;background:#fff}
.msq-seg-btn{border:0;background:transparent;border-radius:999px;padding:8px 22px;font-size:13px;font-weight:700;color:var(--muted);cursor:pointer;transition:.15s}
.msq-seg-btn.is-active{background:#d9f4e8;color:#0b6b4d}

/* 表格卡片 */
.msq-card{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}
.msq-thead{display:grid;grid-template-columns:1.55fr 1fr 1.2fr .85fr 1fr .7fr;gap:8px;padding:14px 22px;border-bottom:1px solid var(--line);font-size:11px;font-weight:800;letter-spacing:.08em;color:#8a9bb0}
.msq-item+.msq-item .msq-tr{border-top:1px solid #edf2f4}
.msq-tr{display:grid;grid-template-columns:1.55fr 1fr 1.2fr .85fr 1fr .7fr;gap:8px;align-items:center;padding:16px 22px;transition:.15s}
.msq-tr:hover{background:#f7fbf9}

.msq-model{display:flex;align-items:center;gap:12px;min-width:0}
.msq-model b{display:block;font-size:14.5px;font-weight:800;letter-spacing:-.01em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.msq-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;color:#fff;font-weight:800;font-size:15px;flex-shrink:0}

.msq-chip{display:inline-block;border-radius:7px;padding:4px 10px;font-size:11px;font-weight:800;line-height:1.3;text-align:center;max-width:150px}
.msq-chip-text{background:#e5f6ee;color:#0b6b4d}
.msq-chip-image{background:#e3edff;color:#2456c8}
.msq-chip-video{background:#f1e9ff;color:#6d3fc4}
.msq-chip-audio{background:#ffe9f2;color:#c02c6c}

.msq-price-line{display:flex;align-items:baseline;gap:5px;line-height:1.55}
.msq-price-line span{color:var(--muted);font-size:11.5px;min-width:38px}
.msq-price-line b{font-size:14px;font-weight:800}
.msq-price-line i{font-style:normal;color:var(--muted);font-size:11.5px;white-space:nowrap}
.msq-noprice{color:#b6c3cf}

.msq-badge{display:inline-block;border-radius:999px;padding:5px 12px;font-size:12px;font-weight:800;background:#d9f4e8;color:#0b6b4d;white-space:nowrap}
.msq-badge-solid{background:var(--green-dark);color:#fff}
.msq-badge-inline{margin-left:8px}
.msq-strike{display:block;color:#9aabbe;font-size:11.5px;margin-top:5px;text-decoration:line-through}

.msq-pill{display:inline-block;border-radius:999px;padding:5px 13px;font-size:12px;font-weight:700;border:1px solid}
.msq-pill-ok{background:#eafaf2;color:#0b6b4d;border-color:#bfe9d6}
.msq-pill-soon{background:#fff6e8;color:#b45309;border-color:#f5d9a8}

.msq-details{font-size:13px;font-weight:700;color:var(--ink);white-space:nowrap}
.msq-details:hover{color:var(--green-dark)}
.msq-try{display:inline-flex;align-items:center;margin-left:14px;padding:5px 14px;border:1.5px solid var(--green-dark);color:var(--green-dark);border-radius:999px;font-size:12.5px;font-weight:800;white-space:nowrap;transition:background .15s,color .15s}
.msq-try:hover{background:var(--green-dark);color:#fff}
.msq-go{text-align:right}
.msq-go{display:flex;align-items:center;justify-content:flex-end;gap:0}

/* 空态 */
.msq-state{padding:44px 22px;text-align:center;color:var(--muted);font-size:14px}

/* 底部 */
.msq-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px;color:var(--muted);font-size:13px}
.msq-pager{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.msq-page{min-width:36px;height:36px;border:1px solid var(--line);background:#fff;border-radius:10px;font-size:13px;font-weight:700;color:var(--muted);cursor:pointer;transition:.15s}
.msq-page:hover{border-color:var(--green);color:var(--green-dark)}
.msq-page.is-active{background:var(--green-dark);border-color:var(--green-dark);color:#fff}
.msq-page.is-disabled{opacity:.4;pointer-events:none}
.msq-page-dots{color:#9aabbe;padding:0 2px}

/* 移动端卡片（默认隐藏） */
.msq-mobile{display:none}

/* ---------- 首页嵌入板块（enterprise_ai） ---------- */
.msq-embed{padding:24px 0 12px}
.msq-embed-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:18px}
.msq-embed-head h2{margin:0;font-size:30px;font-weight:800;letter-spacing:-.02em}
.msq-embed-head .eyebrow{margin-bottom:8px}
.msq-embed-copy{margin:8px 0 0;color:var(--muted);font-size:14px;max-width:520px}
.msq-embed-search{min-width:280px;max-width:340px;min-height:44px}
.msq-embed-tabs{margin-bottom:16px}
.msq-ecards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.msq-ecard{display:flex;flex-direction:column;gap:10px;border:1px solid var(--line);border-radius:16px;background:#fff;padding:18px;transition:.15s}
.msq-ecard:hover{border-color:var(--green);box-shadow:0 10px 28px rgba(8,123,90,.08);transform:translateY(-2px)}
.msq-ecard-top{display:flex;align-items:center;gap:10px;min-width:0}
.msq-ecard-name{flex:1;min-width:0}
.msq-ecard-name b{display:block;font-size:14px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.msq-ecard-price .msq-price-line b{font-size:15px}
.msq-ecard-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:26px;margin-top:2px}
.msq-ecard-save s{color:#9aabbe;font-size:11px;text-decoration:line-through;margin-right:6px}
.msq-embed-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;color:var(--muted);font-size:13px}
.msq-embed-more{font-weight:800;color:var(--green-dark);white-space:nowrap}
.msq-embed-more:hover{text-decoration:underline}

@media (max-width: 899px){
  .msq-embed-head{flex-direction:column;align-items:stretch}
  .msq-embed-search{max-width:none;min-width:0}
  .msq-ecards{grid-template-columns:1fr}
  .msq-embed-foot{flex-direction:column-reverse;align-items:center;gap:8px}
}
@media (min-width: 900px) and (max-width: 1099px){
  .msq-ecards{grid-template-columns:repeat(2,1fr)}
}

@media (max-width: 899px){
  .msq{padding:24px 0 12px}
  .msq-hero{flex-direction:column;gap:8px;margin-bottom:18px}
  .msq-hero h1{font-size:34px}
  .msq-sub{font-size:14px;margin-top:6px}
  .msq-tagline{display:none}
  .msq-toolbar{flex-direction:column}
  .msq-select{max-width:none;width:100%}
  .msq-filters{flex-direction:column;align-items:stretch}
  .msq-seg{width:100%}
  .msq-seg-btn{flex:1}

  .msq-thead,.msq-tr{display:none}
  .msq-card{border:0;background:transparent;overflow:visible}
  .msq-item{margin-bottom:14px}
  .msq-mobile{display:block;border:1px solid var(--line);border-radius:16px;background:#fff;padding:18px}
  /* 模型名不换行（单行省略），放不下的类型/可用性标签整体落到第二行 */
  .msq-mobile-top{display:flex;flex-wrap:wrap;align-items:center;gap:10px;row-gap:8px}
  .msq-mobile-name{flex:1 1 auto;min-width:0}
  .msq-mobile-name b{display:block;font-size:15px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}
  .msq-mobile-top .msq-chip{flex-shrink:0}
  .msq-mobile-top .msq-pill{flex-shrink:0}
  .msq-mobile-price{margin:16px 0 2px}
  .msq-mobile-price .msq-price-line span{min-width:44px}
  .msq-mobile-price .msq-price-line b{font-size:22px}
  .msq-mobile-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:12px;min-height:44px}
  .msq-mobile-save s{color:#9aabbe;font-size:12.5px;text-decoration:line-through}
  .msq-btn{display:inline-flex;align-items:center;justify-content:center;background:var(--green-dark);color:#fff;border-radius:12px;padding:12px 20px;font-size:13.5px;font-weight:800;flex-shrink:0}
  .msq-btn-try{background:transparent;color:var(--green-dark);border:1.5px solid var(--green-dark);padding:10px 16px}
  .msq-btn-try:hover{background:var(--green-dark);color:#fff}
  .msq-mobile-actions{display:inline-flex;align-items:center;gap:8px;flex-shrink:0}
  .msq-foot{flex-direction:column-reverse;align-items:center;gap:10px}
}
