/* 首頁視覺。淺色是預設，避免載入時先閃深色；深色只在 html[data-theme="dark"]。只作用在 .page-home。 */
.page-home{
  --red:#e61e2b;
  --red-d:#cc1824;
  --accent:#c41622;
  --ink:#14171c;
  --ink-soft:#3d4654;
  --mute:#5c6774;
  --faint:#6b7582;
  --line:#e2e5ea;
  --bg:#f3f4f6;
  --bg-deep:#e8eaee;
  --card:#ffffff;
  --card-2:#f7f8fa;
  --input:#f3f4f6;
  --search-bg:#ffffff;
  --green:#087a34;
  --green-bg:#e5f6ec;
  --amber:#8a4b00;
  --amber-bg:#fff3df;
  --photo:#e7eaee;
  --photo-card:#eceff3;
  --header:rgba(255,255,255,.94);
  --hover:#eceff3;
  --ghost-border:#d0d5de;
  --hero-mat:#e4e7ec;
  --hero-scrim:linear-gradient(to bottom, rgba(243,244,246,0) 0%, rgba(243,244,246,0) 58%, rgba(243,244,246,.82) 76%, #f3f4f6 100%);
  --hero-scrim-wide:linear-gradient(to right, rgba(243,244,246,.97) 0%, rgba(243,244,246,.9) 24%, rgba(243,244,246,.5) 40%, rgba(243,244,246,0) 54%);
  --stat-bg:rgba(20,23,28,.06);
  --stat-line:rgba(20,23,28,.14);
  --finder:rgba(255,255,255,.97);
  --finder-shadow:0 16px 32px -14px rgba(20,23,28,.22), inset 0 1px 0 #fff;
  --placeholder:#6b7582;
  --fallback:#e7eaee;
  --fallback-ink:#9a4038;
  color-scheme:light;
  background:var(--bg);
  color:var(--ink);
  font-family:"Inter",-apple-system,BlinkMacSystemFont,"PingFang TC","Noto Sans TC","Microsoft JhengHei",sans-serif;
}
html[data-theme="dark"] .page-home{
  --red:#e61e2b;
  --red-d:#cc1824;
  --accent:#ffb3ad;
  --ink:#f8fafc;
  --ink-soft:#cbd5e1;
  --mute:#9ba3af;
  --faint:#64748b;
  --line:#2a303c;
  --bg:#0f1115;
  --bg-deep:#0c0e12;
  --card:#181b20;
  --card-2:#22262e;
  --input:#333539;
  --search-bg:#1a1c20;
  --green:#4ade80;
  --green-bg:rgba(10,143,60,.18);
  --amber:#fbbf24;
  --amber-bg:rgba(180,110,0,.2);
  --photo:#e7eaee;
  --photo-card:#eceff3;
  --header:rgba(12,14,18,.92);
  --hover:#2d323c;
  --ghost-border:#3b4252;
  --hero-mat:#12151a;
  --hero-scrim:linear-gradient(to bottom, rgba(12,14,18,0) 0%, rgba(12,14,18,0) 62%, rgba(12,14,18,.35) 74%, #0f1115 100%);
  --hero-scrim-wide:linear-gradient(to right, rgba(8,10,14,.92) 0%, rgba(8,10,14,.78) 18%, rgba(8,10,14,.35) 32%, rgba(8,10,14,0) 40%);
  --stat-bg:rgba(255,255,255,.08);
  --stat-line:rgba(255,255,255,.16);
  --finder:rgba(24,27,32,.94);
  --finder-shadow:0 16px 32px -8px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.08);
  --placeholder:#94a3b8;
  --fallback:#14171c;
  --fallback-ink:#e7bdb9;
  color-scheme:dark;
  background:var(--bg);
  color:var(--ink);
}
.page-home .wrap{max-width:1440px;padding:0 16px}
@media(min-width:1025px){.page-home .wrap{padding:0 48px}}

.page-home .site-header{
  background:var(--header);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  z-index:40;
}
.page-home .head-top{display:flex;align-items:center;gap:16px;min-height:64px;padding-top:10px;padding-bottom:8px}
.page-home .logo{flex:0 1 auto;min-width:0;max-width:none}
.page-home .logo-mark{background:var(--red);border-radius:8px;letter-spacing:.04em}
.page-home .logo-text{color:var(--ink);font-weight:700}
.page-home .head-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;flex-wrap:nowrap}
.page-home .ruten-menu summary{height:36px;border-radius:12px;background:transparent;border-color:var(--line);color:var(--ink)}
.page-home .ruten-pop{background:var(--card);border-color:var(--line)}
.page-home .ruten-pop a:hover{background:var(--hover)}
.page-home .head-line{white-space:nowrap}
.page-home .theme-toggle{width:36px;height:36px;border-radius:12px;background:transparent;border-color:var(--line);color:var(--ink)}
.page-home .theme-toggle:hover{border-color:var(--red);color:var(--red);background:transparent}
.page-home .head-line{
  display:inline-flex;align-items:center;gap:6px;flex-shrink:0;
  background:var(--line-green,#06873a);color:#fff;font-weight:700;font-size:14px;
  padding:8px 14px;border-radius:12px;line-height:1;
}
.page-home .head-line:hover{background:#057a35}

.page-home .search{
  flex:0 1 640px;width:min(640px,100%);margin-left:auto;margin-right:auto;display:flex;align-items:center;gap:0;
  background:var(--search-bg);border:1px solid var(--line);border-radius:12px;padding:0 4px 0 12px;
  box-shadow:none;min-width:0;
}
.page-home .search-ico{flex:0 0 auto;color:var(--mute)}
.page-home .search input{
  flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);
  font-size:16px;padding:10px 8px;border-radius:0;
}
.page-home .search input::placeholder{color:var(--faint)}
.page-home .search button{
  flex:0 0 auto;border:0;background:var(--red);color:#fff;font-weight:700;font-size:14px;
  padding:8px 14px;border-radius:8px;cursor:pointer;margin:4px 0;
}
.page-home .search button:hover{background:var(--red-d)}

.page-home .head-nav{
  display:flex;gap:4px;overflow-x:auto;padding-top:0;padding-bottom:10px;
  scrollbar-width:none;-webkit-overflow-scrolling:touch;
}
.page-home .head-nav::-webkit-scrollbar{display:none}
.page-home .head-nav a{
  flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;
  color:var(--ink-soft);font-size:13px;font-weight:600;letter-spacing:.04em;
  padding:6px 12px;border-radius:8px;white-space:nowrap;
}
.page-home .head-nav a svg{width:16px;height:16px;flex:0 0 auto;display:block}
.page-home .head-nav a:hover{color:var(--ink);background:var(--hover)}

@media(max-width:720px){
  .page-home .head-top{flex-wrap:wrap;gap:8px}
  .page-home .logo{flex:1 1 0;min-width:0;max-width:none}
  .page-home .search{order:3;flex:1 1 100%;width:100%;margin:0}
  .page-home .head-line{padding:8px 10px}
}

.page-home .hero{
  position:relative;overflow:hidden;margin:0;border-radius:0;
  background:var(--bg-deep);color:var(--ink);padding:0;
}
/* Hero photo: Marek Boura, Unsplash.
   https://unsplash.com/photos/a-motorcycle-parked-on-the-side-of-a-road-XKvwbKtjgjc
   Unsplash License (free commercial use, attribution not required): https://unsplash.com/license
   Local files assets/hero-moto.webp and assets/hero-moto-wide.webp are the full frame.
   contain, not cover, so both wheels and the cases stay in frame. See assets/hero-moto.txt */
.page-home .hero-bg{
  position:absolute;inset:0;
  background-color:var(--hero-mat);
  background-image:url("../hero-moto.webp");
  background-repeat:no-repeat;
  /* 手機：照片區 5:4，放大裁切到車身（含前後輪與三箱），跟平板一樣車子是主角 */
  background-size:auto 80vw;
  background-position:56% top;
}
.page-home .hero-scrim{
  position:absolute;inset:0;
  /* Photo occupies the top ~2/3 of the width; keep that band clear. */
  background:var(--hero-scrim);
}
.page-home .hero-inner{
  position:relative;
  padding:12px 16px 20px;
  /* 3:2 photo shown at full width sits above the copy. */
  padding-top:calc(80vw + 20px);
  min-height:0;
  display:flex;flex-direction:column;justify-content:flex-start;
}
.page-home .hero h1{
  margin:0 0 10px;font-size:36px;line-height:1.12;letter-spacing:-.02em;font-weight:700;
}
.page-home .hero h1 span{color:var(--red)}
.page-home .hero-sub{margin:0 0 20px;max-width:36rem;color:var(--ink-soft);font-size:16px;line-height:1.6}
.page-home .hero-cta{display:flex;flex-wrap:wrap;gap:10px}
.page-home .hero-stats{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.page-home .hero-stats a{
  background:var(--stat-bg);border:1px solid var(--stat-line);
  color:var(--ink);padding:6px 12px;border-radius:999px;font-size:13px;
}
.page-home .hero-stats b{color:var(--green);font-weight:700}
@media(min-width:900px){
  .page-home .hero-inner{padding:96px 48px 80px;min-height:560px;justify-content:center}
  .page-home .hero h1{font-size:56px;line-height:1.08}
  .page-home .hero-sub{font-size:17px}
  .page-home .hero-bg{
    background-image:url("../hero-moto-wide.webp");
    background-size:contain;
    background-position:right center;
  }
  .page-home .hero-scrim{
    background:var(--hero-scrim-wide);
  }
}

.page-home .btn-red,.page-home .btn-ghost,.page-home .btn-line{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:48px;padding:0 18px;border-radius:12px;font-weight:700;font-size:15px;
  border:1px solid transparent;cursor:pointer;text-align:center;line-height:1.2;
}
.page-home .btn-red{background:var(--red);color:#fff}
html[data-theme="dark"] .page-home .btn-red{box-shadow:0 0 18px rgba(230,30,43,.35)}
.page-home .btn-red:hover{background:var(--red-d)}
.page-home .btn-ghost{background:var(--card-2);color:var(--ink);border-color:var(--ghost-border)}
.page-home .btn-ghost:hover{background:var(--hover);border-color:var(--mute)}
.page-home .btn-line{background:var(--line-green,#06873a);color:#fff}
.page-home .btn-line:hover{background:#057a35}

/* Below 900px the card must not pull up over the quick-link pills. Wide hero keeps the original tuck. */
.page-home .finder{position:relative;z-index:2;margin-top:16px}
@media(min-width:900px){
  .page-home .finder{margin-top:-36px}
}
.page-home .finder-card{
  background:var(--finder);
  border:1px solid var(--line);border-radius:24px;
  padding:18px 16px 8px;
  box-shadow:var(--finder-shadow);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
}
.page-home .finder-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.page-home .finder-head h2{margin:0;font-size:22px;letter-spacing:-.01em}
.page-home .fit-lead{margin:4px 0 0;color:var(--ink-soft);font-size:14px;line-height:1.55}
.page-home .text-link{color:var(--red);font-weight:700;font-size:14px;white-space:nowrap;padding-top:4px}
.page-home .fit-form{display:grid;gap:12px}
.page-home .fit-field{display:flex;flex-direction:column;gap:6px;min-width:0;color:var(--mute);font-size:12px;font-weight:700;letter-spacing:.06em}
.page-home .fit-field em{font-style:normal;font-weight:600;letter-spacing:0;color:var(--ink-soft);margin-left:6px}
.page-home .fit-field input,.page-home .fit-field select{
  width:100%;height:48px;border-radius:12px;border:1px solid var(--line);
  background:var(--input);color:var(--ink);font-size:15px;font-weight:500;letter-spacing:0;
  padding:0 14px;font-family:inherit;
}
.page-home .fit-field input::placeholder{color:var(--placeholder);font-weight:400}
.page-home .fit-field input:focus,.page-home .fit-field select:focus{outline:2px solid var(--red);outline-offset:1px;border-color:var(--red)}
.page-home .fit-field input:disabled,.page-home .fit-field select:disabled{opacity:.55}
.page-home .sel{position:relative;display:block}
.page-home .sel select{appearance:none;-webkit-appearance:none;padding-right:36px}
.page-home .sel svg{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:var(--mute);pointer-events:none}
.page-home .sel.has-combo > svg{display:none}
.page-home .fit-field .combo-input{font-size:16px;padding-right:42px}
.page-home .combo.is-disabled{opacity:1}
.page-home .combo.is-disabled .combo-input,.page-home .combo.is-disabled .combo-toggle{opacity:.55}
.page-home .fit-form .btn-red{width:100%}
.page-home .fit-note{margin:10px 0 0;color:var(--mute);font-size:13px}
.page-home .brand-pending{margin:4px 0 8px;color:var(--mute);font-size:13px;line-height:1.5}
.page-home .brand-pending .retry-btn{margin-left:6px;min-height:36px;padding:0 12px;font-size:13px}
.page-home .pop-kicker{margin:2px 0 8px;font-size:12px;font-weight:700;letter-spacing:.06em;color:var(--mute)}
.page-home .pop-models{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.page-home .pop-models a{
  display:inline-flex;align-items:center;min-height:36px;padding:6px 12px;border-radius:999px;
  border:1px solid var(--line);background:var(--card-2);color:var(--ink);
  font-size:13px;font-weight:700;line-height:1.2;
}
.page-home .pop-models a:hover{border-color:var(--red);color:var(--red)}
.page-home .pop-models a.is-on,.page-home .pop-models a[aria-current="true"]{background:var(--red);color:#fff;border-color:var(--red)}
.page-home .status-card .text-link{font-size:14px}
@media(min-width:860px){
  .page-home .finder-card{padding:22px 22px 10px}
  .page-home .fit-form{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) auto;align-items:start;gap:14px}
  .page-home .fit-form .btn-red{width:auto;min-width:140px;align-self:end}
}

.page-home .make-strip{margin-top:6px}
.page-home .make-strip .bs-track{gap:8px}
.page-home .make-strip .bs-item{
  flex-direction:row;align-items:center;justify-content:center;gap:6px;
  min-width:0;min-height:36px;padding:6px 12px;
  border:1px solid var(--line);border-radius:999px;background:var(--card-2);
}
.page-home .make-strip .bs-name{font-size:13px;font-weight:700;line-height:1.2}
.page-home .make-strip .bs-n{font-size:12px}
@media(hover:hover){
  .page-home .make-strip .bs-item:hover{border-color:var(--red);color:var(--red)}
  .page-home .make-strip .bs-item:hover .bs-name{color:var(--red)}
}
.page-home .hs-track{margin:0;padding:8px 0 4px;scroll-padding:0}
.page-home .hs-viewport:before,.page-home .hs-viewport:after{width:28px}
.page-home .hs-viewport:before{left:0;background:linear-gradient(90deg,#fff 10%,rgba(255,255,255,0))}
.page-home .hs-viewport:after{right:0;background:linear-gradient(270deg,#fff 10%,rgba(255,255,255,0))}
html[data-theme="dark"] .page-home .hs-viewport:before{background:linear-gradient(90deg,#181b20 10%,rgba(24,27,32,0))}
html[data-theme="dark"] .page-home .hs-viewport:after{background:linear-gradient(270deg,#181b20 10%,rgba(24,27,32,0))}
.page-home .bs-name{color:var(--ink)}
.page-home .bs-n{color:var(--mute)}
.page-home .bs-logo{background:#fff}
.page-home .bs-item:focus-visible{outline:2px solid var(--red);outline-offset:2px}
@media(hover:hover) and (min-width:768px){
  .page-home .hs-viewport{padding:0 40px}
  .page-home .hs-track{margin:0;padding:8px 4px 4px}
  .page-home .hs-viewport:before{left:40px}
  .page-home .hs-viewport:after{right:40px}
  .page-home .hs-arrow{
    background:var(--card-2);color:var(--ink);border-color:var(--ghost-border);box-shadow:none;
  }
  .page-home .hs-arrow:hover{background:var(--red);color:#fff;border-color:var(--red)}
  .page-home .hs-arrow:disabled{background:var(--card-2);color:var(--faint);border-color:var(--line)}
}

.page-home .block{margin:36px auto 0}
.page-home .block-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:14px}
.page-home .block h2,.page-home .how-band h2{margin:0;font-size:26px;letter-spacing:-.02em;font-weight:700}
.page-home .block-head a{color:var(--accent);font-size:14px;font-weight:700}
@media(max-width:700px){
  .page-home .block h2,.page-home .how-band h2{font-size:22px}
}

.page-home .cat-grid{display:block}
.page-home .cat-hero{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}
.page-home .cat{
  background:var(--card);border:1px solid var(--line);border-radius:20px;overflow:hidden;
  display:flex;flex-direction:column;min-width:0;color:var(--ink);
  transition:border-color .2s;
}
.page-home .cat.feat-wide{grid-column:1 / -1}
.page-home .cat:hover,.page-home .cat-mini:hover{border-color:var(--red)}
.page-home .cat .ci{
  position:relative;margin:8px 8px 0;border-radius:14px;overflow:hidden;
  aspect-ratio:16/10;background:#fff;
}
.page-home .cat.feat-wide .ci{aspect-ratio:16/9;max-height:320px}
.page-home .cat .ci img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;
  background:#fff;border:0;border-radius:0;box-shadow:none;padding:4px;box-sizing:border-box;
  transition:transform .45s ease;
}
.page-home .cat:hover .ci img{transform:scale(1.03)}
.page-home .ci-fallback{
  display:none;position:absolute;inset:0;align-items:center;justify-content:center;
  background:var(--fallback);color:var(--fallback-ink);
}
.page-home .ci-fallback svg{width:42px;height:42px}
.page-home .ci.no-img,.page-home .cm-photo.no-img{background:var(--fallback)}
.page-home .ci.no-img .ci-fallback,.page-home .cm-photo.no-img .ci-fallback{display:flex}
.page-home .cat .cn{padding:12px 14px 14px;font-weight:600}
.page-home .cat .ce{
  display:block;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--mute);margin-bottom:2px;
}
.page-home .cat .cn b{display:block;font-size:16px;line-height:1.35;font-weight:700}
.page-home .cat-ico{display:inline-flex;vertical-align:-4px;margin-right:6px;color:var(--red)}
.page-home .cat-ico svg{width:18px;height:18px;display:block}
.page-home .cm-name .cat-ico svg{width:16px;height:16px}
.page-home .cat .cn small{display:block;margin-top:2px;color:var(--mute);font-size:13px;font-weight:500}
.page-home .cat-rest{display:grid;grid-template-columns:1fr;gap:8px;margin-top:12px}
.page-home .cat-mini{
  display:flex;align-items:center;gap:10px;min-width:0;
  background:var(--card);border:1px solid var(--line);border-radius:14px;
  padding:8px 12px 8px 8px;color:var(--ink);
}
.page-home .cm-photo{
  position:relative;flex:0 0 56px;width:56px;height:48px;border-radius:10px;overflow:hidden;background:#fff;
}
.page-home .cm-photo img{width:100%;height:100%;object-fit:contain;background:#fff;display:block;padding:2px;box-sizing:border-box}
.page-home .cm-photo .ci-fallback svg{width:22px;height:22px}
.page-home .cm-name{min-width:0;flex:1}
.page-home .cm-name b{display:block;font-size:14px;line-height:1.3;font-weight:700}
.page-home .cm-name small{display:block;color:var(--mute);font-size:12px;font-weight:500}
@media(min-width:560px){
  .page-home .cat-rest{grid-template-columns:1fr 1fr}
}
@media(min-width:900px){
  .page-home .cat-hero{grid-template-columns:repeat(6,1fr);gap:18px}
  .page-home .cat{border-radius:24px}
  .page-home .cat.feat{grid-column:span 2}
  .page-home .cat.feat-wide{grid-column:span 4}
  .page-home .cat .cn{padding:14px 16px 16px}
  .page-home .cat.feat .cn b{font-size:20px}
  .page-home .cat-rest{grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}
}
@media(prefers-reduced-motion:reduce){
  .page-home .cat .ci img{transition:none}
}

.page-home .hscroll{
  grid-auto-columns:minmax(210px,72%);
  gap:12px;padding-bottom:8px;
}
.page-home .card{
  background:var(--card);border:1px solid var(--line);border-radius:18px;color:var(--ink);
  box-shadow:none;
}
.page-home .card:hover{border-color:var(--red)}
.page-home .card .pi{position:relative;aspect-ratio:1;max-height:168px;background:var(--photo-card);padding:0;border-bottom:0;overflow:hidden}
.page-home .card .pi img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;
  border:0;border-radius:0;background:transparent;box-shadow:none;padding:8px;box-sizing:border-box;
}
.page-home .card .pi .ph{
  position:absolute;inset:0;width:auto;height:auto;border:0;border-radius:0;box-shadow:none;
  background:var(--photo-card);color:#1c2836;
}
.page-home .card .pb{padding:10px 12px 12px}
.page-home .card .pc{color:var(--mute);letter-spacing:.04em}
.page-home .card .pn{color:var(--ink)}
.page-home .price{color:var(--accent)}
@media(min-width:800px){.page-home .hscroll{grid-auto-columns:230px}}

.page-home .badge{border-radius:999px;padding:2px 8px}
.page-home .badge.in{background:var(--green-bg);color:var(--green)}
.page-home .badge.pre{background:var(--amber-bg);color:var(--amber)}
.page-home .badge.ask{background:var(--hover);color:var(--mute)}
.page-home .badge.disc{background:var(--hover);color:var(--ink-soft)}

.page-home .how-band{background:var(--bg-deep);margin-top:40px;padding:40px 0}
.page-home .steps{
  list-style:none;margin:16px 0 0;padding:0;display:grid;gap:12px;counter-reset:none;
}
.page-home .steps li{
  background:var(--card);border:1px solid var(--line);border-radius:20px;
  padding:18px 18px 16px;display:flex;flex-direction:column;gap:6px;position:static;
}
.page-home .steps li:before{content:none}
.page-home .steps .num{font-size:32px;line-height:1;font-weight:700;color:var(--accent);letter-spacing:-.02em}
.page-home .steps b{font-size:18px}
.page-home .steps span{color:var(--ink-soft);font-size:14px;line-height:1.55}
@media(min-width:800px){.page-home .steps{grid-template-columns:repeat(3,1fr);gap:18px}}

.page-home .contact-bar{
  margin-top:16px;background:var(--card-2);border:1px solid var(--line);border-radius:20px;
  padding:16px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;
}
.page-home .contact-id{min-width:0}
.page-home .contact-id b{display:block;font-size:16px}
.page-home .contact-id span{color:var(--accent);font-weight:700;letter-spacing:.04em}
.page-home .contact-actions{display:flex;flex-wrap:wrap;gap:8px}
.page-home .contact-actions .btn-ghost,.page-home .contact-actions .btn-line{min-height:44px;font-size:14px}

.page-home .status-grid{display:grid;gap:12px}
.page-home .status-card{
  background:var(--card);border:1px solid var(--line);border-radius:20px;padding:18px;
  display:flex;flex-direction:column;align-items:flex-start;gap:10px;
}
.page-home .status-card p{margin:0;font-size:16px;line-height:1.55;font-weight:600}
@media(min-width:800px){.page-home .status-grid{grid-template-columns:repeat(3,1fr);gap:18px}}

.page-home .site-footer{background:var(--bg-deep);color:var(--ink-soft);border-top:1px solid var(--line);margin-top:36px}
.page-home .foot-name{color:var(--ink)}
.page-home .foot-meta{color:var(--mute)}
.page-home .loading{color:var(--mute)}
.page-home #by-bike,.page-home #how{scroll-margin-top:132px}

.page-home a:focus-visible,.page-home button:focus-visible,.page-home select:focus-visible,.page-home input:focus-visible{
  outline:2px solid var(--red);outline-offset:2px;
}
@media(max-width:380px){
  .page-home .hero h1{font-size:32px}
  .page-home .search button{padding:8px 10px}
}

/* 手機／小平板：比照平板，標題、說明、按鈕疊在照片上；照片鋪滿整個主視覺，下方漸層確保字看得清楚 */
@media(max-width:899px){
  .page-home .hero-bg{background-size:auto 92vw;background-position:56% top}
  .page-home .hero-scrim{background:var(--hero-scrim-phone)}
  .page-home .hero-inner{padding-top:calc(92vw - 120px);padding-bottom:22px;min-height:0;justify-content:flex-end}
  .page-home .hero h1{text-shadow:var(--hero-text-glow)}
  .page-home .hero-sub{color:var(--ink);font-weight:500;text-shadow:var(--hero-text-glow)}
}
.page-home{
  --hero-scrim-phone:linear-gradient(to bottom, rgba(243,244,246,0) 0, rgba(243,244,246,0) calc(92vw - 190px), rgba(243,244,246,.72) calc(92vw - 100px), rgba(243,244,246,.95) calc(92vw - 10px), #f3f4f6 100%);
  --hero-text-glow:0 0 12px rgba(243,244,246,.9);
}
html[data-theme="dark"] .page-home{
  --hero-scrim-phone:linear-gradient(to bottom, rgba(12,14,18,0) 0, rgba(12,14,18,0) calc(92vw - 190px), rgba(12,14,18,.72) calc(92vw - 100px), rgba(12,14,18,.95) calc(92vw - 10px), #0f1115 100%);
  --hero-text-glow:0 0 12px rgba(12,14,18,.9);
}

/* ===== 手機測試版（2026-10-09）===== */
/* 3) 熱門車款：單行橫向滑動，沿用品牌列（.hs-viewport / .hs-track）的做法與配色 */
.page-home .pop-strip{margin:0 0 14px}
.page-home .pop-models.hs-track{display:flex;flex-wrap:nowrap;gap:8px;margin:0;padding:2px 0 4px;scroll-snap-type:x proximity}
.page-home .pop-models.hs-track a{flex:0 0 auto;white-space:nowrap;scroll-snap-align:start}
/* 沒有超出寬度時（桌機）不顯示左右箭頭 */
.page-home .pop-strip .hs-viewport:not(.can-l):not(.can-r){padding:0}
.page-home .pop-strip .hs-viewport:not(.can-l):not(.can-r) .hs-arrow{display:none}
/* 4) 首頁搜尋框高度至少 48px */
@media(max-width:768px){
  .page-home .search{padding:0 0 0 12px}
  .page-home .search input{min-height:48px}
  .page-home .search button{min-height:48px;margin:0;border-radius:0 11px 11px 0}
}

/* ===== 視覺精修（方向 A：精緻極簡）20261014a ===== */
.page-home{font-family:"Inter",-apple-system,BlinkMacSystemFont,"PingFang TC","Noto Sans TC","Microsoft JhengHei",sans-serif;
  --line:#e7e5e4;--bg:#fafaf9;--ink:#18181b;--ink-soft:#44403c;--mute:#57534e;--card-2:#fff;--ghost-border:#d6d3d1;
  --finder-shadow:0 1px 2px rgba(0,0,0,.04);--stat-bg:transparent;--stat-line:#d6d3d1}
html[data-theme="dark"] .page-home{--bg:#0c0c0d;--card:#151517;--card-2:#151517;--line:#26262a;--ghost-border:#3a3a40;
  --finder:#151517;--finder-shadow:none;--stat-bg:transparent;--stat-line:#3a3a40}
.page-home .hero h1{font-weight:800;letter-spacing:-.03em}
html[data-theme="dark"] .page-home .btn-red{box-shadow:none}
.page-home .finder-card{border-radius:20px;backdrop-filter:none;-webkit-backdrop-filter:none}
.page-home .finder-head h2{font-size:24px;font-weight:700}
.page-home .pop-kicker{letter-spacing:.08em}
html[data-theme="dark"] .page-home .text-link{color:#ff7a80}
.page-home .text-link{display:inline-flex;align-items:center;min-height:44px;padding-top:0}
.page-home .ruten-menu summary{height:44px}
.page-home .head-line{min-height:44px}
@media(hover:hover){.page-home .btn-red:hover,.page-home .btn-line:hover{opacity:.92}}
.page-home .theme-toggle{width:44px;height:44px}
.page-home .block-head a{display:inline-flex;align-items:center;min-height:44px}
