:root {
  --gray: #565e62;
  --gray2: #6e777c;
  --primary: #6868ac;
  --primary-soft: #8a8ac4;
  --lemon: #f6e948;
  --ink: #1a1a1a;
  --page: #f4f6f7;
  --white: #ffffff;
  --line: #d9dee1;
  --ft: #1a1a1a;
  --base-nav: #4a5154;
  --shadow: 0 18px 40px rgba(26, 26, 26, 0.08);
  --radius: 1.25rem;
  --font: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Heiti TC", sans-serif;
}

html.dark {
  --primary: #f6e948;
  --primary-soft: #fff38a;
  --lemon: #6868ac;
  --ink: #f4f6f7;
  --page: #151515;
  --white: #222222;
  --line: #3a3a3a;
  --ft: #0e0e0e;
  --base-nav: #2b2b2b;
  --gray: #c8c8c8;
  --gray2: #a3a3a3;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

html.fs-s { font-size: 14.5px; }
html.fs-m { font-size: 16px; }
html.fs-l { font-size: 18px; }

html, body { overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  color: var(--ink);
  background: var(--page);
  line-height: 1.7;
  letter-spacing: 0.02em;
}

img { max-width: 100%; border: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
button, input, select, textarea { font-family: inherit; font-weight: 300; }
button { cursor: pointer; }
p, h1, h2, h3, h4, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
}

.visually-hidden,
.sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 10000;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
}
html.dark .skip { color: #1a1a1a; }
.skip:focus { top: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.08em;
}
html.dark .btn { color: #1a1a1a; }
.btn:hover { filter: brightness(0.96); color: #fff; }
html.dark .btn:hover { color: #1a1a1a; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { color: var(--primary); border-color: var(--primary); }

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field span {
  color: var(--gray);
  font-size: 0.95rem;
}
.field input {
  height: 48px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 1.05rem;
  outline: none;
  border-radius: 0;
}
.field input:focus { border-bottom-color: var(--primary); }

.note { color: var(--gray); font-size: 0.95rem; }

.odo {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.odo-digit {
  display: inline-block;
  width: 0.68em;
  height: 1em;
  overflow: hidden;
  position: relative;
  background: transparent;
}
.odo-reel {
  display: flex;
  flex-direction: column;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.odo-reel span {
  height: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}
.odo-sep {
  width: 0.38em;
  text-align: center;
  font-weight: 500;
  transform: translateY(-0.08em);
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--gray);
  font-size: 0.92rem;
  padding: 18px 0 8px;
}
.crumb a:hover { color: var(--primary); }

.page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 0 22px;
}
.page-head h1 {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.25;
}
.page-head p { color: var(--gray); max-width: 36em; }

#mobile-gate { display: none; }

@media (hover: none) and (pointer: coarse) {
  html:not(.is-crawler):not(.is-desktop) body { background: #4a5154; }
  html:not(.is-crawler):not(.is-desktop) #app { display: none !important; }
  html:not(.is-crawler):not(.is-desktop) #mobile-gate {
    display: flex !important;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 28px;
  }
}

html.is-mobile body,
body.is-mobile { background: #4a5154; }
html.is-mobile #app,
body.is-mobile #app { display: none !important; }
html.is-mobile #mobile-gate,
body.is-mobile #mobile-gate {
  display: flex !important;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

html.is-desktop #mobile-gate { display: none !important; }
html.is-crawler #app { display: block !important; }
html.is-crawler #mobile-gate { display: none !important; }
