.fm-home {
  --ink: #251f1a; --muted: #68574c; --accent: #963b23; --paper: #faf6ef;
  box-sizing: border-box; width: 100%; max-width: 744px; margin: 0 auto;
  padding: 0 14px 22px; color: var(--ink); background: var(--paper);
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.45;
}
.fm-home *, .fm-home *::before, .fm-home *::after { box-sizing: border-box; }
.fm-home a:focus-visible, .fm-home button:focus-visible, .fm-track:focus-visible {
  outline: 2px solid #963b23; outline-offset: 3px;
}
.fm-home [hidden] { display: none !important; }
.fm-home h1, .fm-home h2, .fm-home p { margin: 0; }
.fm-top { margin-inline: -14px; padding: 12px 14px 9px; background: linear-gradient(154deg,#f5e2d5,#faf6ef 68%); }
.fm-brand { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin: 2px 0 13px; }
.fm-brand p { color: var(--accent); font-weight: 650; font-size: 11px; letter-spacing: .12em; }
.fm-brand h1 { font-size: 25px; font-weight: 800; line-height: 1.15; margin-top: 4px; letter-spacing: -.035em; }
.fm-brand > a { flex: none; color: var(--accent); background: rgba(255,255,255,.75); font-size: 13px; font-weight: 700; padding: 9px 12px; border: 1px solid #e5c7b9; border-radius: 999px; }
.fm-brand > a span { margin-left: 3px; }
.fm-carousel { position: relative; }
.fm-track {
  display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain; border-radius: 18px; isolation: isolate;
  background: #513930;
}
.fm-track::-webkit-scrollbar { display: none; }
.fm-home .fm-slide {
  flex: 0 0 100%; position: relative; display: block; color: white; scroll-snap-align: start;
  aspect-ratio: 1.47; max-height: 365px; overflow: hidden;
}
.fm-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.fm-slide::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(5deg,rgba(26,19,14,.93),rgba(26,19,14,.66) 27%,rgba(26,19,14,.13) 60%,transparent 77%);
}
.fm-slide-copy { position: absolute; z-index: 1; left: 16px; right: 12px; bottom: 15px; display: grid; justify-items: start; text-shadow: 0 1px 7px rgba(0,0,0,.28); }
.fm-kicker { font-size: 11px; font-weight: 650; letter-spacing: .09em; }
.fm-slide-copy strong { font-size: clamp(23px,6.4vw,36px); font-weight: 800; margin: 2px 0 0; line-height: 1.16; }
.fm-slide-copy small { margin-top: 3px; font-size: 12px; color: #fff4e7; }
.fm-slide-cta { display: inline-flex; gap: 8px; margin-top: 8px; padding: 4px 10px; border-radius: 999px; background: #fff3e5; color: #512a1c; font-size: 12px; font-weight: 750; text-shadow: none; }
.fm-controls { display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.fm-controls button { appearance: none; border: 0; background: transparent; color: var(--muted); line-height: 1; cursor: pointer; height: 36px; }
.fm-controls [data-slide] { padding: 0; width: 26px; display: grid; place-items: center; }
.fm-controls [data-slide]::before { content: ""; height: 4px; width: 7px; border-radius: 9px; background: #bda79b; }
.fm-controls [data-slide][aria-pressed=true]::before { width: 20px; background: var(--accent); }
.fm-controls .fm-pause { margin-left: 4px; padding: 0 8px; font-size: 11px; }
.fm-section { margin: 0 0 17px; }
.fm-category-block { background: #fffdf9; padding: 12px 6px 10px; border-radius: 16px; box-shadow: 0 2px 12px #54362009; }
.fm-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.fm-category-block .fm-heading { margin-inline: 6px; }
.fm-heading h2 { font-size: 18px; font-weight: 800; letter-spacing: -.025em; }
.fm-heading a { flex: none; color: var(--accent); font-size: 12px; font-weight: 650; }
.fm-categories { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 3px; text-align: center; }
.fm-categories a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-bottom: 4px; color: var(--ink); font-weight: 650; font-size: clamp(10px,2.85vw,13px); }
.fm-categories img { display: block; width: min(100%,53px); height: auto; aspect-ratio: 1; object-fit: cover; object-position: 78% center; border-radius: 50%; border: 1px solid #ead9cc; background: #eee2d8; }
.fm-scene-heading p { font-size: 11px; color: var(--accent); font-weight: 700; letter-spacing: .08em; margin-bottom: 2px; }
.fm-scene-heading h2 { font-size: 20px; }
.fm-scenes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.fm-scenes a { display: block; overflow: hidden; color: var(--ink); background: #fffdf9; border-radius: 13px; border: 1px solid #efdfd3; }
.fm-scenes img { display: block; width: 100%; height: auto; aspect-ratio: 368/220; object-fit: cover; background: #eee2d8; }
.fm-card-title { min-height: 49px; display: flex; justify-content: space-between; align-items: center; gap: 4px; padding: 6px 9px 7px; }
.fm-card-title strong, .fm-card-title small { display: block; }
.fm-card-title small { color: var(--muted); font-size: 11px; }
.fm-card-title strong { font-size: 14px; }
.fm-card-arrow { display: grid; place-items: center; flex: 0 0 24px; height: 24px; border-radius: 50%; color: var(--accent); background: #f5e8dc; }
.fm-custom { display: flex; align-items: center; gap: 8px; justify-content: space-between; padding: 15px 12px;
  border-radius: 14px; color: #fff7ee; background: #652d20; }
.fm-custom strong { font-size: 16px; }
.fm-custom p { font-size: 11px; margin-top: 3px; }
.fm-custom a { flex: none; color: #652d20; background: #fff3e6; border-radius: 999px; padding: 8px 11px; font-size: 12px; font-weight: 700; }
.fm-existing { overflow: hidden; border-radius: 14px; background: white; }
.fm-existing .ui-head { background: white; }
.fm-existing .ui-head i { background: #963b23; }
.fm-service { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.fm-service a { text-align: center; padding: 10px 0; white-space: nowrap; color: var(--muted); font-size: 12px; background: #f2e9df; border-radius: 9px; }
.fm-search .head-bar { background-color: #fffaf5; }
@media (min-width: 550px) {
  .fm-top { padding-inline: 20px; }
  .fm-slide-copy { left: 24px; bottom: 23px; }
  .fm-scenes { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
