/* V8.59.0 在线看厂（Online Factory Tour）样式：暖白画布、红色主按钮、手机端满铺 */
.ft-page, .ft-home {
  --ft-red: #c8102e;
  --ft-red-dark: #9e0c24;
  --ft-ink: #171412;
  --ft-ink2: #4b443d;
  --ft-muted: #7a7168;
  --ft-gold: #b8893a;
  --ft-line: #e7ded1;
  --ft-canvas: #f7f4ed;
  --ft-card: #fffdf9;
  color: var(--ft-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.ft-page { background: var(--ft-canvas); overflow-x: clip; }
.ft-shell { width: min(1240px, 100%); margin: 0 auto; padding: 0 28px; box-sizing: border-box; }
.ft-h1 { font-size: clamp(34px, 5vw, 68px); line-height: 1.05; letter-spacing: -.03em; margin: 14px 0 20px; font-weight: 900; }
.ft-h2 { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.02em; margin: 10px 0 12px; font-weight: 900; }
.ft-h3 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; margin: 8px 0 10px; font-weight: 900; }
.ft-lead, .ft-sub { color: var(--ft-ink2); line-height: 1.75; font-size: 16px; margin: 0 0 18px; }
.ft-sub { font-size: 14.5px; color: var(--ft-muted); }
.ft-eyebrow, .ft-kicker { color: var(--ft-red); font-size: 12px; letter-spacing: .16em; font-weight: 800; text-transform: uppercase; }
.ft-kicker { display: inline-flex; align-items: center; gap: 8px; }
.ft-kicker:before { content: ""; width: 26px; height: 2px; background: var(--ft-red); }
.ft-eyebrow:before { content: "— "; color: var(--ft-gold); }
.ft-note { color: var(--ft-muted); font-size: 12.5px; line-height: 1.7; }
.ft-err { color: #b91c1c; font-size: 13px; margin: 8px 0 0; }

.ft-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 800; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ft-btn:hover { transform: translateY(-2px); }
.ft-btn-red { background: var(--ft-red); color: #fff; box-shadow: 0 10px 26px rgba(200, 16, 46, .22); }
.ft-btn-red:hover { background: var(--ft-red-dark); }
.ft-btn-dark { background: var(--ft-ink); color: #fff; }
.ft-btn-line { background: transparent; color: var(--ft-ink); border-color: #cfc5b6; }
.ft-btn-line:hover { background: #fff; }
.ft-btn:disabled { opacity: .55; cursor: default; transform: none; }

/* 首页版块 */
.ft-home { padding: 52px 0 8px; }
.ft-home-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 34px; align-items: center; background: var(--ft-card); border: 1px solid var(--ft-line); border-radius: 26px; padding: 22px; box-shadow: 0 18px 48px rgba(36, 27, 18, .07); }
.ft-home-media { position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: auto; background: #eee7dc; }
.ft-home-media img { width: 100%; height: auto; object-fit: contain; display: block; }
.ft-home-badge { position: absolute; right: 14px; top: 14px; left: auto; background: rgba(23,20,18,.86); color: #fff; font-size: 10.5px; letter-spacing: .12em; font-weight: 800; padding: 7px 11px; border-radius: 999px; backdrop-filter: blur(8px); }
.ft-home-copy { min-width: 0; padding: 8px 10px 8px 0; }
.ft-home-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ft-home-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.ft-home-mini .ft-vcard { background: #fff; border: 1px solid var(--ft-line); border-radius: 12px; padding: 6px; }
.ft-home-mini .ft-vmeta b { font-size: 11.5px; line-height: 1.35; }
.ft-home-mini .ft-vmeta small { font-size: 9.5px; }

.ft-vcard { display: block; width: 100%; min-width: 0; text-align: left; background: transparent; border: 0; padding: 0; cursor: pointer; color: inherit; font: inherit; }
.ft-vcover { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: #ece4d8; }
.ft-vcover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.ft-vcover-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 3px; padding: 16px 18px; box-sizing: border-box; text-align: left; color: #7a2a12; background: radial-gradient(circle at 78% 18%, rgba(200,16,46,.16), transparent 42%), linear-gradient(145deg, #fff8ec, #eadfce); }
.ft-vcover-empty b { font-size: 12px; letter-spacing: .12em; }
.ft-vcover-empty small { font-size: 10px; color: #8a6a52; line-height: 1.45; }
.ft-vcard:hover .ft-vcover img { transform: scale(1.04); }
.ft-play { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; background: rgba(200,16,46,.92); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 20px; box-shadow: 0 10px 26px rgba(0,0,0,.25); }
.ft-vmeta { display: block; padding: 10px 2px 0; }
.ft-vmeta small { display: block; color: var(--ft-red); font-size: 10px; letter-spacing: .12em; font-weight: 800; margin-bottom: 4px; }
.ft-vmeta b { display: block; font-size: 14px; line-height: 1.45; color: var(--ft-ink); }

/* 独立页 */
.ft-hero { padding: 54px 0 46px; background: radial-gradient(1000px 520px at 76% 8%, rgba(184,137,58,.13), transparent 62%), var(--ft-canvas); }
.ft-hero-grid { display: grid; grid-template-columns: 1fr .92fr; gap: 42px; align-items: center; }
.ft-hero-copy { min-width: 0; }
.ft-hero-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; color: var(--ft-ink2); font-size: 13px; }
.ft-hero-points span:before { content: "✓"; color: var(--ft-red); font-weight: 900; margin-right: 6px; }
.ft-hero-media { position: relative; margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: auto; box-shadow: 0 24px 60px rgba(36,27,18,.14); background: #e9e1d5; }
.ft-hero-media img { width: 100%; height: auto; object-fit: contain; display: block; }
.ft-live-pill { position: absolute; right: 16px; top: 16px; left: auto; background: var(--ft-red); color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .12em; padding: 7px 12px; border-radius: 999px; animation: ftPulse 2.4s infinite; }
@keyframes ftPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(200,16,46,.45); } 50% { box-shadow: 0 0 0 9px rgba(200,16,46,0); } }

.ft-sec { padding: 58px 0; border-top: 1px solid rgba(120,100,74,.12); scroll-margin-top: 92px; }
.ft-sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; }
.ft-link { color: var(--ft-red); font-weight: 800; font-size: 13.5px; text-decoration: none; white-space: nowrap; }
.ft-vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
/* V8.59.40 视频区改为竖版卡片，封面完整显示，空余区域用同图模糊铺底 */
.ft-vgrid .ft-vcover { aspect-ratio: 9 / 16; background: #0c0a09; }
.ft-vgrid .ft-vcover img { object-fit: contain; background: transparent; }
.ft-vgrid .ft-vcover .ft-vcover-main { position: relative; z-index: 1; }
.ft-vgrid .ft-vcover .ft-vcover-blur { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(22px) saturate(.9); opacity: .5; transform: scale(1.02); pointer-events: none; }
.ft-vgrid .ft-vcard:hover .ft-vcover img { transform: none; }
.ft-empty { grid-column: 1 / -1; padding: 30px; border: 1px dashed #cfc5b6; border-radius: 14px; color: var(--ft-muted); text-align: center; }

.ft-book-sec { background: #fffdf9; }
.ft-book-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 40px; align-items: start; }
.ft-steps { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; }
.ft-steps li { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.ft-steps b { width: 34px; height: 34px; border-radius: 50%; background: #f2ece2; color: var(--ft-red); display: grid; place-items: center; font-size: 12px; flex: none; }
.ft-form { background: #fff; border: 1px solid var(--ft-line); border-radius: 18px; padding: 22px; box-shadow: 0 12px 34px rgba(36,27,18,.06); min-width: 0; }
.ft-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ft-form label { display: block; min-width: 0; margin-bottom: 12px; font-size: 12.5px; font-weight: 700; color: var(--ft-ink2); }
.ft-form label em { color: var(--ft-red); font-style: normal; margin-left: 2px; }
.ft-form input, .ft-form select, .ft-inline input {
  display: block; width: 100%; box-sizing: border-box; height: 44px; margin-top: 6px; padding: 0 12px;
  border: 1px solid #ddd3c5; border-radius: 10px; background: #fffdf9; color: var(--ft-ink); font-size: 14px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.ft-form input:focus, .ft-form select:focus, .ft-inline input:focus { border-color: var(--ft-red); box-shadow: 0 0 0 3px rgba(200,16,46,.1); }
.ft-mode-label { margin-bottom: 12px; }
.ft-modes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ft-modes input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ft-modes label { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 10px 16px; border: 1px solid #ddd3c5; border-radius: 999px; background: #fffdf9; cursor: pointer; font-size: 13px; }
.ft-modes input:checked + label { background: #fff0f2; border-color: var(--ft-red); color: var(--ft-red); font-weight: 800; }
.ft-submit { width: 100%; margin-top: 4px; }
.ft-form-msg { margin-top: 12px; font-size: 13px; line-height: 1.6; min-height: 20px; }
.ft-form-msg.err { color: #b91c1c; }
.ft-form-msg.ok { color: #15803d; }
.ft-workhint { margin: -4px 0 12px; padding-right: 78px; }
.ft-success { text-align: left; padding: 8px 4px; }
.ft-success-icon { width: 46px; height: 46px; border-radius: 50%; background: #e8f5ec; color: #15803d; display: grid; place-items: center; font-size: 24px; font-weight: 900; margin-bottom: 12px; }
.ft-success h3 { font-size: 24px; margin: 0 0 10px; }
.ft-success p { margin: 0 0 10px; color: var(--ft-ink2); line-height: 1.7; }

.ft-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.ft-panel { background: #fff; border: 1px solid var(--ft-line); border-radius: 18px; padding: 24px; min-width: 0; }
.ft-panel-dark { background: #1c1815; color: #fff; border-color: #1c1815; }
.ft-panel-dark .ft-eyebrow { color: #f3b4bf; }
.ft-panel-dark .ft-sub { color: rgba(255,255,255,.72); }
.ft-panel-dark .ft-inline input {
  flex: 0 0 auto; width: 100%; height: 46px; padding: 0 15px; border-radius: 12px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07); color: #fff; font-size: 14px;
}
.ft-panel-dark .ft-inline input:focus { border-color: #f3b4bf; box-shadow: 0 0 0 3px rgba(243,180,191,.16); }
.ft-panel-dark .ft-inline input::placeholder { color: rgba(255,255,255,.66); }
.ft-panel-dark .ft-inline { flex-direction: column; align-items: stretch; gap: 10px; }
.ft-panel-dark .ft-inline .ft-btn { width: 100%; min-height: 46px; border-radius: 12px; }
.ft-panel-dark .ft-btn-line { color: #fff; border-color: rgba(255,255,255,.4); background: transparent; }
.ft-panel-dark .ft-btn-line:hover { background: rgba(255,255,255,.1); }
.ft-panel-dark .ft-note { color: rgba(255,255,255,.58); }
.ft-inline { display: flex; gap: 8px; align-items: center; }
.ft-inline input { margin-top: 0; flex: 1; min-width: 0; }
.ft-inline .ft-btn { flex: none; min-height: 44px; padding: 0 18px; }
.ft-result { margin-top: 14px; }
.ft-booking { border: 1px solid var(--ft-line); border-radius: 12px; padding: 12px 14px; margin-top: 10px; background: #fffdf9; }
.ft-booking p { margin: 4px 0; font-size: 13px; color: var(--ft-ink2); }
.ft-booking-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.ft-booking-top b { font-size: 15px; }
.ft-pill { font-size: 11px; padding: 4px 9px; border-radius: 999px; color: var(--pc); border: 1px solid color-mix(in srgb, var(--pc) 40%, white); background: color-mix(in srgb, var(--pc) 9%, white); font-weight: 800; white-space: nowrap; }
.ft-enter { margin-top: 8px; min-height: 40px; font-size: 13px; }

/* 播放器弹层 */
.ft-player-mask { position: fixed; inset: 0; z-index: 100000; background: rgba(10,8,6,.94); display: flex; align-items: center; justify-content: center; padding: 18px; }
.ft-player { position: relative; width: min(1080px, 100%); background: #000; border-radius: 12px; overflow: hidden; }
.ft-player video { width: 100%; max-height: 82vh; display: block; background: #000; }
.ft-player-title { color: #fff; font-size: 13px; padding: 10px 14px; background: rgba(255,255,255,.06); }
.ft-player-x { position: absolute; right: 8px; top: 8px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0,0,0,.62); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }

@media (max-width: 900px) {
  .ft-home-grid, .ft-hero-grid, .ft-book-grid, .ft-two { grid-template-columns: 1fr; gap: 20px; }
  .ft-vgrid { grid-template-columns: 1fr 1fr; }
  .ft-sec-head { align-items: start; flex-direction: column; }
  .ft-home-copy { padding: 0 4px 4px; }
}
@media (max-width: 640px) {
  .ft-shell { padding: 0 16px; }
  .ft-hero { padding: 34px 0 30px; }
  .ft-sec { padding: 38px 0; }
  .ft-home { padding: 30px 0 4px; }
  .ft-home-grid { padding: 12px; border-radius: 18px; gap: 16px; }
  .ft-home-media { border-radius: 14px; }
  .ft-h1 { font-size: 32px; margin: 10px 0 14px; }
  .ft-h2 { font-size: 25px; }
  .ft-lead { font-size: 14.5px; }
  .ft-home-actions { display: grid; grid-template-columns: 1fr; }
  .ft-home-actions .ft-btn { width: 100%; }
  .ft-home-mini { grid-template-columns: 1fr 1fr; }
  .ft-home-mini .ft-vcard:last-child { display: none; }
  .ft-vgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ft-form { padding: 16px; border-radius: 14px; }
  .ft-grid2 { grid-template-columns: 1fr; gap: 0; }
  .ft-workhint { padding-right: 0; }
  .ft-modes label { flex: 1; justify-content: center; }
  .ft-inline { flex-direction: column; align-items: stretch; }
  .ft-inline .ft-btn { width: 100%; }
  .ft-panel { padding: 18px; border-radius: 14px; }
  .ft-player { border-radius: 0; }
  .ft-player video { max-height: 70vh; }
  .ft-player-mask { padding: 0; }
}

/* V8.59.18 视频号入口与二维码弹窗 */
.ft-channel-badge { position: absolute; right: 9px; bottom: 9px; z-index: 2; background: rgba(20,16,12,.78); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .04em; padding: 4px 8px; border-radius: 999px; }
.ft-home-mini-empty { grid-column: 1 / -1; padding: 14px; border: 1px dashed var(--ft-line); border-radius: 12px; color: #8a8178; font-size: 12px; background: #fff; }
.ft-channel-profile { margin-top: 10px; }
.ft-qr-mask { position: fixed; inset: 0; z-index: 100001; background: rgba(12,9,7,.9); display: flex; align-items: center; justify-content: center; padding: 18px; }
.ft-qr-box { position: relative; width: min(420px, 100%); max-height: 92vh; overflow: auto; background: #fff; border-radius: 16px; padding: 24px 22px 20px; text-align: center; box-shadow: 0 24px 80px rgba(0,0,0,.3); }
.ft-qr-x { position: absolute; right: 8px; top: 8px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f3f0ec; color: #2b2520; font-size: 24px; line-height: 1; cursor: pointer; }
.ft-qr-eyebrow { color: var(--ft-red); font-size: 10.5px; font-weight: 900; letter-spacing: .18em; }
.ft-qr-title { margin: 8px 0 6px; font-size: 20px; line-height: 1.35; color: #1d1814; }
.ft-qr-desc { margin: 0 0 14px; color: #6f665d; font-size: 13px; line-height: 1.65; }
.ft-qr-img { display: block; width: 230px; max-width: 72vw; height: auto; margin: 0 auto 14px; padding: 6px; border: 1px solid #eee8e0; border-radius: 10px; background: #fff; cursor: zoom-in; }
.ft-qr-empty { margin: 6px auto 14px; width: 230px; max-width: 72vw; min-height: 150px; display: flex; align-items: center; justify-content: center; padding: 18px; border: 1px dashed #ddd3c7; border-radius: 10px; color: #8a8178; font-size: 12px; line-height: 1.7; }
.ft-qr-box .ft-btn { display: inline-flex; margin: 0 0 12px; }
.ft-qr-tip { margin: 0; color: #9a9188; font-size: 11.5px; line-height: 1.65; }
@media (max-width: 640px) {
  .ft-qr-mask { padding: 12px; }
  .ft-qr-box { padding: 22px 16px 18px; border-radius: 14px; }
  .ft-qr-title { font-size: 18px; }
}

/* V8.59.23 在线看厂视频站内直play弹窗 */
.ft-video-mask { position: fixed; inset: 0; z-index: 100001; background: rgba(6,5,4,.94); display: flex; align-items: center; justify-content: center; padding: 22px; }
.ft-video-box { position: relative; width: min(920px, 100%); max-height: 94vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ft-video-stage { width: 100%; display: flex; align-items: center; justify-content: center; min-height: 0; }
.ft-video-stage video { display: block; width: auto; max-width: 100%; max-height: 78vh; height: auto; background: #000; border-radius: 12px; box-shadow: 0 22px 70px rgba(0,0,0,.45); object-fit: contain; }
.ft-video-x { position: absolute; right: 0; top: -8px; z-index: 3; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: #1d1814; font-size: 25px; line-height: 1; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.22); }
.ft-video-copy { width: 100%; max-width: 760px; padding: 12px 10px 0; text-align: center; color: #fff; }
.ft-video-title { margin: 0 0 4px; font-size: 18px; line-height: 1.45; color: #fff; }
.ft-video-desc { margin: 0; color: rgba(255,255,255,.75); font-size: 12.5px; line-height: 1.65; }
.ft-video-qr { display: inline-block; margin-top: 9px; border: 1px solid rgba(255,255,255,.38); border-radius: 999px; background: transparent; color: #fff; font-size: 12px; padding: 7px 14px; cursor: pointer; text-decoration: none; }
.ft-video-qr:hover { background: rgba(255,255,255,.12); }
.ft-video-share { display: inline-block; margin: 9px 0 0 8px; border: 0; border-radius: 999px; background: #c8102e; color: #fff; font-size: 12px; font-weight: 800; padding: 8px 15px; cursor: pointer; font-family: inherit; }
.ft-video-share:hover { background: #9e0c24; }
.ft-qr-share { margin-top: 10px; width: 100%; }
.ft-qr-box .ft-qr-share { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin: 0 0 12px; border: 0; border-radius: 10px; background: #c8102e; color: #fff; font-size: 13px; font-weight: 800; cursor: pointer; font-family: inherit; }
.ft-qr-box .ft-qr-share:hover { background: #9e0c24; }
@media (max-width: 640px) {
  .ft-video-mask { padding: 0; }
  .ft-video-box { width: 100%; max-height: 100vh; }
  .ft-video-stage video { max-height: 74vh; border-radius: 0; }
  .ft-video-x { top: 8px; right: 8px; }
  .ft-video-copy { padding: 10px 16px 14px; }
  .ft-video-title { font-size: 16px; }
}


/* V8.59.31 开播状态横幅 */
.ft-live-banner { background: #1f1712; color: #fff; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.ft-live-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 13px 0; }
.ft-live-inner b { display: inline-flex; align-items: center; gap: 7px; color: #ff5a4e; font-size: 13px; letter-spacing: .03em; }
.ft-live-inner span { color: rgba(255,255,255,.82); font-size: 12.5px; line-height: 1.7; margin-left: 10px; }
.ft-live-inner .ft-btn { flex: 0 0 auto; }
@media (max-width: 640px) { .ft-live-inner { padding: 12px 0; } .ft-live-inner span { display: block; margin: 4px 0 0; } }
