:root {
  --navy-950: #061b2f;
  --navy-900: #092a49;
  --navy-800: #0c3b64;
  --blue-600: #0878d1;
  --blue-500: #1595ea;
  --gold-500: #f5b83b;
  --gold-300: #ffd978;
  --ink: #152536;
  --muted: #66778a;
  --line: #dce5ed;
  --soft: #f1f6fa;
  --white: #ffffff;
  --danger: #c64034;
  --success: #14765b;
  --shadow: 0 18px 55px rgba(6, 27, 47, .14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Noto Sans TC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; border-radius: 8px; color: #fff; background: var(--navy-950); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: var(--white);
  background: rgba(6, 27, 47, .94);
  backdrop-filter: blur(18px);
}
.header-inner, .section-shell, .footer-inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: var(--navy-950); background: linear-gradient(145deg, var(--gold-300), var(--gold-500)); font-size: 34px; line-height: 1; font-weight: 900; box-shadow: 0 8px 24px rgba(245,184,59,.24); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.12rem; letter-spacing: .02em; }
.brand small { margin-top: -3px; color: #b9ccdb; font-size: .75rem; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: #dbe8f3; text-decoration: none; font-weight: 650; font-size: .94rem; }
.site-nav a:hover { color: var(--gold-300); }
.nav-text-button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(77, 190, 255, .82); border-radius: 12px; padding: 0 17px; color: #c9edff; background: rgba(21, 149, 234, .12); font-weight: 800; font-size: .94rem; cursor: pointer; transition: transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease; }
.nav-text-button:hover { transform: translateY(-2px); border-color: #9cddff; color: #fff; background: rgba(21, 149, 234, .24); }
.menu-button { display: none; border: 1px solid rgba(255,255,255,.3); border-radius: 9px; padding: 7px 12px; color: #fff; background: transparent; }
.borrow-ticker { min-height: 44px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px; padding: 0 max(20px, calc((100vw - 1180px) / 2)); border-top: 1px solid rgba(255,255,255,.1); color: #fff; background: linear-gradient(90deg, #0879cf, #1595ea); overflow: hidden; }
.borrow-ticker > strong { white-space: nowrap; color: #fff1b8; font-size: .9rem; }
.borrow-ticker-window { min-width: 0; overflow: hidden; }
.borrow-ticker-track { width: max-content; display: flex; align-items: center; gap: 0; white-space: nowrap; animation: borrow-ticker-scroll var(--ticker-duration, 28s) linear infinite; will-change: transform; }
.borrow-ticker-group { flex: none; display: flex; align-items: center; gap: 52px; padding-right: 52px; }
.borrow-ticker-track span { font-weight: 750; font-size: .94rem; }
.borrow-ticker-track span::before { content: "●"; margin-right: 10px; color: #ffe18a; font-size: .62rem; vertical-align: .16em; }
.borrow-ticker-track.is-static { width: 100%; animation: none; }
.borrow-ticker:hover .borrow-ticker-track { animation-play-state: paused; }
@keyframes borrow-ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.button { border: 0; border-radius: 12px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(21,149,234,.35); outline-offset: 3px; }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); box-shadow: 0 10px 28px rgba(8,120,209,.24); }
.button-gold { color: var(--navy-950); background: var(--gold-500); }
.button-ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); }
.button-small { min-height: 40px; padding: 0 17px; font-size: .9rem; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 520px);
  align-items: center;
  gap: 78px;
  padding: 82px max(40px, calc((100vw - 1180px) / 2)) 92px;
  color: #fff;
  background: radial-gradient(circle at 18% 16%, rgba(21,149,234,.24), transparent 36%), linear-gradient(125deg, #061b2f 0%, #092f52 62%, #074779 100%);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to right, #000, transparent 70%); }
.hero-glow { position: absolute; z-index: -1; width: 420px; height: 420px; top: -180px; right: 7%; border-radius: 50%; background: rgba(245,184,59,.2); filter: blur(12px); }
.eyebrow { margin: 0 0 12px; color: var(--gold-300); font-weight: 900; letter-spacing: .18em; font-size: .78rem; }
.eyebrow.dark { color: var(--blue-600); }
.hero h1 { max-width: 650px; margin: 0; font-size: clamp(2.65rem, 5vw, 4.9rem); line-height: 1.08; letter-spacing: -.045em; }
.hero h1 span { color: var(--gold-300); }
.hero-lead { max-width: 600px; margin: 24px 0 26px; color: #d4e4f0; font-size: 1.12rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 24px; color: #eef7ff; font-size: .92rem; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.finder { padding: 28px; border: 1px solid rgba(255,255,255,.38); border-radius: var(--radius-lg); color: var(--ink); background: rgba(255,255,255,.96); box-shadow: 0 25px 80px rgba(0,0,0,.24); }
.finder-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.finder-heading p { margin: 0; color: var(--blue-600); font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.finder-heading h2 { margin: 2px 0 0; font-size: 1.45rem; line-height: 1.3; }
.demo-badge { flex: none; padding: 5px 9px; border-radius: 999px; color: #74500a; background: #fff0c7; font-size: .76rem; font-weight: 800; }
.finder-fields { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 20px; }
.finder-fields label { display: block; color: #435466; font-size: .88rem; font-weight: 750; }
.finder select, .form-dialog input, .form-dialog select, .search-box input { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 11px; padding: 0 14px; color: var(--ink); background: #fff; }
.finder select { margin-top: 7px; }
.finder select:disabled, .form-dialog select:disabled { color: #8794a2; background: #edf2f5; cursor: not-allowed; }
.location-stack { display: grid; gap: 13px; }
.finder .button { width: 100%; }
.finder-note { margin: 12px 0 0; text-align: center; color: #748397; font-size: .78rem; }

.notice-bar { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 17px 24px; color: #62430b; background: #fff3d2; border-bottom: 1px solid #f5df9d; }
.notice-bar strong { padding: 3px 8px; border-radius: 6px; color: #fff; background: #b65c18; font-size: .82rem; }
.notice-bar p { margin: 0; font-size: .9rem; }
.notice-bar a { font-weight: 800; }

.directory { padding-top: 86px; padding-bottom: 94px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-heading h2, .safety-copy h2, .platform-card h2 { margin: 0; font-size: clamp(2rem, 3vw, 3.1rem); line-height: 1.15; letter-spacing: -.035em; }
.section-heading p:not(.eyebrow) { margin: 12px 0 0; color: var(--muted); }
.search-box { width: min(360px, 100%); }
.search-box input { padding-left: 45px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2366778a' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") no-repeat 15px center; }
.region-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.region-tabs button, .region-tabs a { width: 100%; border: 1px solid var(--line); border-radius: 999px; min-height: 56px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; color: #425467; background: #fff; font-size: 1.08rem; font-weight: 800; text-decoration: none; cursor: pointer; }
.region-tabs button.active, .region-tabs a.active { border-color: var(--navy-900); color: #fff; background: var(--navy-900); }
.city-tabs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.city-tabs[hidden] { display: none; }
.city-tabs button, .city-tabs a { min-height: 42px; border: 1px solid #cbd9e4; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; color: #4d6073; background: #f7fafc; font-weight: 780; text-decoration: none; cursor: pointer; }
.city-tabs button.active, .city-tabs a.active { border-color: var(--blue-600); color: #fff; background: var(--blue-600); }
.listing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.listing-card { position: relative; overflow: hidden; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: 0 8px 30px rgba(9,42,73,.06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.listing-card:hover { transform: translateY(-4px); border-color: #a7cbe4; box-shadow: var(--shadow); }
.card-topline { display: flex; gap: 10px; align-items: center; margin-bottom: 17px; color: #8290a0; font-size: .76rem; font-weight: 750; }
.card-topline span + span::before { content: "・"; margin-right: 10px; }
.listing-card h3 { margin: 0; font-size: 1.28rem; }
.listing-card h3 a { text-decoration: none; }
.listing-card h3 a:hover { color: var(--blue-600); }
.locked-provider { display: flex; align-items: center; gap: 13px; margin: 18px 0; padding: 16px; border: 1px solid #dce8f1; border-radius: 12px; color: #435466; background: #f4f9fc; }
.locked-provider > span { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #e4f1fa; font-size: 1rem; }
.locked-provider strong, .locked-provider small { display: block; }
.locked-provider strong { color: var(--ink); font-size: .94rem; }
.locked-provider small { margin-top: 2px; color: var(--muted); font-size: .78rem; }
.provider-fields { margin: 18px 0; border-top: 1px solid #edf1f4; }
.provider-field { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid #edf1f4; font-size: .9rem; }
.provider-field span { color: var(--muted); font-weight: 750; }
.provider-field strong { text-align: right; font-weight: 800; overflow-wrap: anywhere; }
.card-action { width: 100%; min-height: 45px; border: 1px solid #bcd8eb; border-radius: 10px; color: var(--blue-600); background: #f5fbff; font-weight: 800; cursor: pointer; }
.card-action:hover { color: #fff; background: var(--blue-600); }
.empty-state { padding: 50px 20px; border: 1px dashed #afbdc9; border-radius: var(--radius-md); text-align: center; color: var(--muted); background: #fff; }
.empty-state strong { color: var(--ink); font-size: 1.15rem; }
.empty-state p { margin: 5px 0 16px; }
.empty-state button { border: 0; color: var(--blue-600); background: transparent; font-weight: 800; cursor: pointer; }

.safety-section { padding: 92px 0; color: #fff; background: var(--navy-950); }
.safety-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
.safety-copy > p:not(.eyebrow) { margin: 20px 0; color: #b9cada; }
.text-link { color: var(--gold-300); font-weight: 850; text-decoration: none; }
.safety-list { list-style: none; margin: 0; padding: 0; }
.safety-list li { display: grid; grid-template-columns: 62px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.safety-list li:first-child { border-top: 1px solid rgba(255,255,255,.13); }
.safety-list li > span { color: var(--gold-300); font-size: 1.35rem; font-weight: 900; }
.safety-list strong { font-size: 1.08rem; }
.safety-list p { margin: 4px 0 0; color: #b9cada; font-size: .9rem; }

.platform-section { padding-top: 90px; padding-bottom: 90px; }
.platform-card { display: grid; grid-template-columns: 1.2fr .8fr auto; align-items: center; gap: 44px; padding: 42px; border: 1px solid #cbdce8; border-radius: var(--radius-lg); background: linear-gradient(135deg, #eaf6fe, #fff8e4); box-shadow: var(--shadow); }
.platform-card p:not(.eyebrow) { margin: 14px 0 0; color: var(--muted); }
.publish-points { display: grid; gap: 9px; color: #3f5468; font-size: .9rem; font-weight: 750; }

.site-footer { padding: 58px 0 30px; color: #c1d0dd; background: #041524; }
.footer-inner { display: grid; grid-template-columns: .8fr 1.4fr .8fr; gap: 40px; align-items: start; }
.footer-brand strong { color: #fff; }
.footer-inner > p { margin: 0; font-size: .86rem; }
.footer-links { display: grid; justify-items: start; gap: 7px; }
.footer-links a, .footer-links button { padding: 0; border: 0; color: #d9e6ef; background: transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.footer-inner > small { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: #8297a8; }

.dialog-card { width: min(520px, calc(100% - 30px)); border: 0; border-radius: 22px; padding: 31px; color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.dialog-card::backdrop { background: rgba(4,21,36,.72); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; color: #435466; background: var(--soft); font-size: 1.4rem; cursor: pointer; }
.dialog-kicker { color: var(--blue-600); font-size: .75rem; font-weight: 900; letter-spacing: .12em; }
.dialog-card h2 { margin: 6px 40px 8px 0; line-height: 1.2; }
.dialog-card > p { color: var(--muted); }
.dialog-provider-fields { margin: 24px 0; }
.dialog-done { width: 100%; }
.form-dialog label { display: grid; gap: 5px; margin: 14px 0; color: #435466; font-size: .86rem; font-weight: 750; }
.check-label { grid-template-columns: auto 1fr !important; align-items: start; }
.check-label input { width: 18px !important; min-height: 18px !important; margin-top: 3px; }
.form-dialog .button { width: 100%; margin-top: 6px; }
.account-dialog { width: min(670px, calc(100% - 30px)); }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-notice { display: grid; gap: 3px; margin: 18px 0; padding: 13px 15px; border-radius: 10px; color: #4b5966; background: #eef7fc; font-size: .82rem; }
.form-notice strong { color: var(--blue-600); }
.form-error { margin: 8px 0; color: var(--danger); font-size: .85rem; font-weight: 750; }
.form-switch { margin: 15px 0 0; text-align: center; color: var(--muted); font-size: .86rem; }
.form-switch button { border: 0; padding: 0; color: var(--blue-600); background: transparent; font-weight: 800; cursor: pointer; }
.success-state { text-align: center; padding: 18px 0 0; }
.success-state > span { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 50%; color: #fff; background: var(--success); font-size: 1.7rem; font-weight: 900; }
.success-state h3 { margin: 0; font-size: 1.35rem; }
.success-state p { color: var(--muted); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 42px; padding-top: 66px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .trust-row { justify-content: center; }
  .finder { width: min(620px, 100%); margin: 0 auto; }
  .safety-grid { grid-template-columns: 1fr; gap: 45px; }
  .platform-card { grid-template-columns: 1fr; gap: 24px; }
  .platform-card .button { width: 100%; }
}

@media (max-width: 760px) {
  .header-inner, .section-shell, .footer-inner { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 68px; }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 110px; left: 14px; right: 14px; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 10px; border: 1px solid #27455d; border-radius: 14px; background: var(--navy-950); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
  .site-nav .nav-text-button { min-height: 46px; justify-content: center; margin-top: 8px; padding: 0 14px; text-align: center; }
  .site-nav .button { margin-top: 8px; }
  .borrow-ticker { min-height: 42px; grid-template-columns: 1fr; gap: 0; padding: 5px 14px 7px; }
  .borrow-ticker > strong { font-size: .76rem; }
  .borrow-ticker-group { gap: 36px; padding-right: 36px; }
  .borrow-ticker-track span { font-size: .86rem; }
  .hero { min-height: auto; padding: 52px 14px 62px; }
  .hero h1 { font-size: clamp(2.55rem, 12vw, 3.8rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { justify-content: center; }
  .finder { padding: 22px 18px; border-radius: 22px; }
  .notice-bar { align-items: flex-start; flex-wrap: wrap; gap: 7px 10px; justify-content: flex-start; }
  .notice-bar p { flex-basis: calc(100% - 80px); }
  .notice-bar a { margin-left: 0; }
  .directory { padding-top: 64px; padding-bottom: 70px; }
  .section-heading { align-items: stretch; flex-direction: column; }
  .search-box { width: 100%; }
  .region-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .region-tabs button, .region-tabs a { min-height: 50px; font-size: 1rem; }
  .city-tabs { padding: 11px; }
  .city-tabs button, .city-tabs a { flex: 1 1 calc(33.333% - 9px); min-width: 88px; padding: 0 11px; }
  .listing-grid { grid-template-columns: 1fr; }
  .safety-section { padding: 70px 0; }
  .platform-section { padding-top: 64px; padding-bottom: 64px; }
  .platform-card { padding: 27px 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 25px; }
  .footer-inner > small { grid-column: auto; }
}

@media (max-width: 420px) {
  .brand small { display: none; }
  .trust-row { display: grid; gap: 7px; }
  .provider-field { display: grid; gap: 4px; }
  .provider-field strong { text-align: left; }
  .dialog-card { padding: 26px 20px; }
  .field-pair { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
