/* 首页旗舰三卡（配合 home-flagship.js）。默认隐藏；#catalog 带 .fc-on 时显示，并隐藏原轮播与卡片墙。 */
.fc, .fc-all { display: none; }
#catalog.fc-on .fc { display: grid; }
#catalog.fc-on .fc-all { display: block; }
#catalog.fc-on .mc, #catalog.fc-on .mq, #catalog.fc-on .mr { display: none !important; }

.fc { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.fc-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e3e8f1; border-radius: 18px; background: #fff;
  box-shadow: 0 1px 2px rgba(24, 39, 68, .03); transition: box-shadow .3s, transform .3s, border-color .3s; }
.fc-card:hover { transform: translateY(-3px); border-color: #d6ddea; box-shadow: 0 1px 2px rgba(24, 39, 68, .04), 0 24px 48px -28px rgba(24, 39, 68, .35); }
.fc-card[hidden] { display: none; }

/* 顶部纹理图：品牌色渐变 + 大理石纹 + 颗粒；悬停时纹理缓慢放大 */
.fc-art { position: relative; display: flex; align-items: center; justify-content: center; height: 168px; margin: 10px 10px 0; overflow: hidden; border-radius: 12px;
  color: #fff; text-decoration: none; isolation: isolate; }
.fc-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: center / cover no-repeat; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.fc-art-anthropic::before { background-image: url("/assets/home-v2/flagship/fc-anthropic.svg"); }
.fc-art-openai::before { background-image: url("/assets/home-v2/flagship/fc-openai.svg"); }
.fc-art-google::before { background-image: url("/assets/home-v2/flagship/fc-google.svg"); }
.fc-card:hover .fc-art::before { transform: scale(1.06); }
.fc-art:focus-visible { outline: 2px solid #4d6bfe; outline-offset: 3px; }
.fc-name { font: 500 28px/1.2 "Fragment Mono", ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.01em; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.fc-logo { position: absolute; left: 16px; top: 14px; display: flex; }
body:has(.hero-wrap) .fc-logo .brand-icon { width: 22px; height: 22px; filter: brightness(0) invert(1); opacity: .92; }
.fc-off { position: absolute; right: 14px; top: 13px; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; line-height: 1.6; color: #fff;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fc-off b { font-weight: 700; }

.fc-desc { margin: 0; padding: 18px 22px 20px; min-height: calc(3 * 1.75em); font-size: 14px; line-height: 1.75; color: #5d677c; }
.fc-prices { margin: auto 0 0; padding: 14px 22px 18px; border-top: 1px solid #edf0f5; }
.fc-prices > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 0; }
.fc-prices dt { font-size: 14px; color: #33405c; }
.fc-prices dd { margin: 0; display: flex; align-items: baseline; gap: 8px; font: 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fc-prices s { font-size: 12.5px; color: #a3acbd; text-decoration-thickness: 1px; }
.fc-prices b { font-weight: 600; color: #101b33; }
.fc-prices small { font-size: 12px; color: #8c97ab; }
.fc-note { margin: -6px 22px 16px; font-size: 12px; line-height: 1.6; color: #8c97ab; }

.fc-all { margin: 28px 0 0; text-align: center; }
.fc-all a { display: inline-flex; align-items: center; gap: 6px; padding: 11px 20px; border: 1px solid #d9dfeb; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: #182744;
  text-decoration: none; background: #fff; transition: border-color .2s, color .2s; }
.fc-all a:hover { border-color: #4d6bfe; color: #3b5bfd; }

@media (max-width: 1023px) {
  .fc { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-left: auto; margin-right: auto; gap: 18px; margin-top: 40px; }
  .fc-desc { min-height: 0; }
}
@media (max-width: 520px) {
  .fc-art { height: 136px; }
  .fc-name { font-size: 23px; }
  .fc-prices dd { gap: 6px; font-size: 13px; }
  .fc-prices small { display: none; }
}
.fc-note{margin:-12px 22px 16px}
/* 旗舰卡改为直角 */ .fc-card,.fc-art{border-radius:0}
/* 模型区标题栏：标题 + 一句话说明在左，“浏览全部模型”按钮在右（底部对齐） */
body:has(.hero-wrap) .models-show .ms-head.ms-head-v2{display:flex;align-items:flex-end;justify-content:space-between;gap:20px 48px}
body:has(.hero-wrap) .models-show .ms-head-v2 .ms-title{min-width:0}
body:has(.hero-wrap) .models-show .ms-head-v2 .ms-sub{margin:14px 0 0;font-size:16px;line-height:1.7;color:#52617b}
body:has(.hero-wrap) .models-show .ms-head-v2 .ms-btn{flex:none;margin-top:0;border-radius:8px}
@media (max-width:767px){body:has(.hero-wrap) .models-show .ms-head.ms-head-v2{flex-direction:column;align-items:flex-start}body:has(.hero-wrap) .models-show .ms-head-v2 .ms-sub{font-size:15px;margin-top:10px}}
