/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: 0.25rem;
    --container-xl: 36rem;
    --radius-2xl: 1rem;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .relative {
    position: relative;
  }
  .mx-auto {
    margin-inline: auto;
  }
  .flex {
    display: flex;
  }
  .min-h-svh {
    min-height: 100svh;
  }
  .w-full {
    width: 100%;
  }
  .max-w-xl {
    max-width: var(--container-xl);
  }
  .shrink-0 {
    flex-shrink: 0;
  }
  .snap-start {
    scroll-snap-align: start;
  }
  .flex-col {
    flex-direction: column;
  }
  .items-center {
    align-items: center;
  }
  .items-end {
    align-items: flex-end;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  .overflow-hidden {
    overflow: hidden;
  }
  .rounded-2xl {
    border-radius: var(--radius-2xl);
  }
  .px-5 {
    padding-inline: calc(var(--spacing) * 5);
  }
  .py-5 {
    padding-block: calc(var(--spacing) * 5);
  }
  .pb-6 {
    padding-bottom: calc(var(--spacing) * 6);
  }
  .pb-8 {
    padding-bottom: calc(var(--spacing) * 8);
  }
  .text-center {
    text-align: center;
  }
  .antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}
:root {
  color-scheme: dark;
  --gold: #e7c58b;
  --muted: #b5afa4;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #090a0a;
  font-family: "Noto Sans TC","Microsoft JhengHei",sans-serif;
}
.site-shell {
  background: radial-gradient(ellipse at 85% 0%,#42301a55,transparent 42%),#101110;
  border-inline: 1px solid #d4aa6318;
}
header {
  border-bottom: 1px solid #d4aa6329;
}
.brand-seal {
  border: 1px solid #b79051;
  color: var(--gold);
  font-family: serif;
  font-size: 28px;
  line-height: 40px;
  width: 38px;
  text-align: center;
  border-radius: 3px;
}
.brand-name {
  font-size: 18px;
  letter-spacing: .16em;
  color: #f0dfbf;
  font-family: serif;
}
.brand-name>span {
  display: block;
  font-size: 12px;
  letter-spacing: .15em;
}
.trust-badge {
  padding: 6px 7px;
  border: 1px solid #c3a47433;
  border-radius: 8px;
  text-align: center;
  line-height: 1.4;
  white-space: nowrap;
}
.badge-label {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  color: #f2ede1;
  font-size: 12px;
  font-weight: 600;
}
.badge-value {
  display: block;
  font-size: 12px;
  color: var(--gold);
}
.badge-label svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: #79c594;
  stroke-width: 1.8;
}
.line-badge .badge-value {
  color: #a3d3af;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: .24em;
  color: #cba871;
  font-weight: 500;
}
h1 {
  margin: 10px 0 0;
  font-size: clamp(30px,8vw,43px);
  font-family: "Noto Serif TC","PMingLiU",serif;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .025em;
}
h1 em {
  font-style: normal;
  color: var(--gold);
}
.video-frame {
  aspect-ratio: 4/5;
  border: 1px solid #b18c4b66;
  box-shadow: 0 18px 50px #0008;
  background: #181817;
}
.video-pending {
  height: 100%;
  position: relative;
}
.video-pending>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  opacity: .85;
}
.video-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 64px 22px 22px;
  background: linear-gradient(transparent,#080908);
}
.video-caption h2 {
  font-family: serif;
  color: #f3deb9;
  font-size: 25px;
  margin-top: 8px;
}
.video-caption p:last-child {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}
.video-error {
  position: absolute;
  bottom: 48px;
  left: 12px;
  right: 12px;
  background: #17120fed;
  padding: 12px;
  font-size: 14px;
}
.hero-hint {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 21px 0 28px;
}
.categories h2 {
  font-size: 18px;
  color: #ece2d3;
  font-weight: 500;
}
.swipe-hint {
  font-size: 12px;
  color: #a49781;
}
.swipe-hint span {
  margin-left: 3px;
  color: var(--gold);
}
.cards {
  scroll-padding-inline: 20px;
  scrollbar-width: thin;
  scrollbar-color: #84673e #1b1b18;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
}
.category-card {
  position: relative;
  width: 142px;
  min-height: 172px;
  text-align: left;
  padding: 18px 16px;
  background: linear-gradient(145deg,#28251e,#181a18);
  border: 1px solid #97784c66;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .2s,border-color .2s,background .2s;
}
.category-card:hover {
  border-color: #e2bd7e;
  background: linear-gradient(145deg,#373022,#1d201c);
  transform: translateY(-3px);
}
.category-card:active {
  transform: scale(.96);
}
.card-number {
  position: absolute;
  right: 14px;
  top: 15px;
  color: #887756;
  font-family: serif;
  font-size: 12px;
}
.category-card svg {
  width: 30px;
  height: 30px;
  stroke: var(--gold);
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 20px;
}
.category-card strong {
  font-size: 18px;
  font-weight: 500;
  display: block;
}
.card-action {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #afa08a;
  margin-top: 10px;
}
.privacy-note {
  font-size: 13px;
  color: #9b9387;
  margin-top: 6px;
}
footer {
  font-size: 12px;
  color: #8a8277;
}
button,a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,button:focus-visible {
  outline: 2px solid #f1d49c;
  outline-offset: 4px;
}
.modal-open {
  overflow: hidden;
}
dialog {
  background: linear-gradient(145deg,#2b251c,#141716 70%);
  color: #f4ede1;
  padding: 0;
  border: 1px solid #ad8a4d88;
  border-radius: 25px 25px 0 0;
  max-width: 520px;
  width: 100%;
  max-height: 90svh;
  overflow: auto;
  margin: auto auto 0;
  box-shadow: 0 -12px 80px #0008;
}
dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(12px);
  animation: fade-in .2s ease-out;
}
dialog[open] {
  animation: slide-up .3s cubic-bezier(.2,.8,.2,1);
}
.modal-inner {
  padding: 36px 25px calc(30px + env(safe-area-inset-bottom));
  text-align: center;
}
.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  color: #c9bdab;
  font-size: 30px;
  cursor: pointer;
  border-radius: 50%;
}
.modal-icon {
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  width: 60px;
  height: 60px;
  border: 1px solid #af8b4b66;
  border-radius: 18px;
  background: #bc934512;
}
.modal-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#modal-title {
  font-family: serif;
  font-size: clamp(24px,6.8vw,32px);
  line-height: 1.5;
  color: #efd6aa;
  margin: 12px 0;
}
#modal-description {
  font-size: 16px;
  line-height: 1.9;
  color: #c4bbae;
  max-width: 340px;
  margin: 0 auto 28px;
}
.line-cta {
  min-height: 64px;
  padding: 16px;
  background: linear-gradient(110deg,#eed3a1,#cba05c);
  border: 1px solid #f9e2b7;
  border-radius: 12px;
  color: #251b0e;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 32px #d9ad5025;
  transition: filter .2s,transform .2s;
}
.line-cta:active {
  transform: scale(.98);
}
.line-cta:hover {
  filter: brightness(1.08);
}
.send-note {
  font-size: 12px;
  color: #a79d8c;
  margin-top: 15px;
}
dialog.closing {
  animation: fade-out .2s forwards;
}
dialog.closing::backdrop {
  animation: fade-out .2s forwards;
}
[hidden] {
  display: none !important;
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fade-out {
  to {
    opacity: 0;
  }
}
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width:600px) {
  .site-shell {
    margin-block: 24px;
    border-radius: 24px;
    overflow: hidden;
  }
  dialog {
    margin: auto;
    border-radius: 24px;
  }
  .small-break {
    display: none;
  }
}
@media (max-width:350px) {
  header {
    padding-inline: 12px !important;
    gap: 6px !important;
  }
  .trust-row {
    gap: 4px;
  }
  .trust-badge {
    padding: 5px;
  }
  .brand-name {
    font-size: 16px;
  }
  .categories h2 {
    font-size: 16px;
  }
  .swipe-hint {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.center-header {
  justify-content: center;
  gap: 14px;
}
.center-header .brand-seal {
  width: 44px;
  line-height: 46px;
  font-size: 32px;
}
.center-header .brand-name {
  font-size: 22px;
}
.trust-row {
  justify-content: center;
}
.trust-badge {
  min-width: 125px;
  padding: 7px 14px;
}
.hero {
  padding-top: 16px;
}
.video-frame {
  aspect-ratio: 9/16;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}
.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.carousel-wrap {
  position: relative;
  overflow: hidden;
}
.cards {
  display: block;
  position: relative;
  height: 212px;
  overflow: hidden;
  touch-action: pan-y;
  padding: 0;
  scrollbar-width: none;
}
.category-card {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 160px;
  min-height: 178px;
  text-align: center;
  transform: translateX(calc(-50% + var(--offset)*70px)) scale(calc(1 - var(--distance)*.14));
  opacity: calc(1 - var(--distance)*.28);
  transition: transform .3s ease,opacity .3s ease,border-color .2s;
  box-shadow: 0 8px 25px #0005;
}
.category-card:hover {
  transform: translateX(calc(-50% + var(--offset)*70px)) scale(calc(1 - var(--distance)*.14));
}
.category-card:active {
  filter: brightness(1.2);
}
.category-card.is-center {
  border-color: #e7c58b;
  background: linear-gradient(145deg,#443623,#20221d);
}
.category-card svg {
  margin: 0 auto 18px;
}
.card-action {
  justify-content: center;
  gap: 10px;
}
.carousel-arrow {
  position: absolute;
  top: 80px;
  z-index: 10;
  background: #141512df;
  color: #e7c58b;
  border: 1px solid #aa854855;
  border-radius: 50%;
  width: 40px;
  height: 44px;
  font-size: 30px;
  cursor: pointer;
}
.carousel-arrow.previous {
  left: 7px;
}
.carousel-arrow.next {
  right: 7px;
}
.carousel-position {
  text-align: center;
  color: #c5ae87;
  font-size: 13px;
  margin: 0 0 12px;
}
:root {
  color-scheme: light;
  --gold: #987027;
  --muted: #566776;
}
body {
  color: #324859;
  background: #eff7fb url('./page-background.png') center top/cover fixed no-repeat;
}
.site-shell {
  background: #ffffffe0;
  border-color: #d2dee5;
  box-shadow: 0 12px 65px #334f6419;
}
header {
  background: #ffffffb8;
  border-bottom-color: #ceb98266;
}
.brand-seal {
  color: #976820;
  border-color: #ac853f;
  background: #fffdf6;
}
.brand-name {
  color: #6f5025;
}
.trust-badge {
  background: #ffffffdd;
  border-color: #d8c799;
}
.badge-label {
  color: #42535e;
}
.badge-value {
  color: #986918;
}
.line-badge .badge-value {
  color: #25794b;
}
.badge-label svg {
  stroke: #267647;
}
.video-frame {
  border-color: #d2bd85;
  background: #e8f1f6;
  box-shadow: 0 10px 30px #36556c20;
}
.hero-hint {
  color: #536675;
}
.categories h2 {
  color: #304c60;
}
.swipe-hint {
  color: #5b6f7b;
}
.category-card,.category-card:hover,.category-card.is-center {
  background: #fcfcf5 url('./card-background.png') center/cover no-repeat;
  color: #304958;
  border-color: #ccb477;
  box-shadow: 0 8px 20px #34506222;
}
.category-card.is-center {
  border-color: #a97a2e;
  box-shadow: 0 10px 26px #735a392c;
}
.card-number {
  color: #857044;
}
.card-action {
  color: #5e6770;
}
.carousel-arrow {
  background: #fffffff2;
  color: #9a702b;
  border-color: #d6c18e;
  box-shadow: 0 3px 14px #57718518;
}
.carousel-position {
  color: #796031;
}
.privacy-note,footer {
  color: #5e6d77;
}
.cards {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.cards.dragging {
  cursor: grabbing;
}
.cards.dragging .category-card {
  transition: none;
  pointer-events: none;
}
.category-card {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.category-card svg {
  pointer-events: none;
}
dialog {
  background: linear-gradient(145deg,#fffdf7,#f3f8fb);
  color: #334a59;
  border-color: #cbb787;
  box-shadow: 0 -10px 70px #223c5944;
}
dialog::backdrop {
  background: #18324380;
}
.close-button {
  color: #647480;
}
.modal-icon {
  background: #fffdf6;
  border-color: #d4bd83;
}
#modal-title {
  color: #806127;
}
#modal-description {
  color: #526674;
}
.eyebrow {
  color: #8b6b32;
}
.line-cta {
  background: linear-gradient(115deg,#ead6a9,#d8b76d);
  color: #493513;
  border-color: #c4a15b;
  box-shadow: 0 5px 24px #b5954930;
}
.send-note {
  color: #63747f;
}
a:focus-visible,button:focus-visible {
  outline-color: #8d691e;
}
.site-shell {
  background: linear-gradient(#ffffff78,#ffffff99),url("./page-background.png") center bottom/cover no-repeat;
}
@media (max-width:599px) {
  :root {
    --mobile-menu-height: min(180px,25dvh);
  }
  .site-shell {
    padding-bottom: calc(var(--mobile-menu-height) + 16px);
  }
  .categories {
    position: fixed;
    z-index: 30;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--mobile-menu-height);
    max-height: 25dvh;
    display: grid;
    grid-template-rows: 22px minmax(0,1fr) 18px;
    gap: 0;
    padding: 7px 0 max(4px,env(safe-area-inset-bottom));
    background: #f9fcfff5;
    border-top: 1px solid #cbb782;
    box-shadow: 0 -5px 24px #34506220;
    backdrop-filter: blur(12px);
  }
  .categories>div:first-child {
    align-items: center;
    padding-inline: 16px;
  }
  .categories h2 {
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
  }
  .categories .swipe-hint {
    font-size: 12px;
  }
  .categories .carousel-wrap,.categories .cards {
    height: 100%;
    min-height: 0;
  }
  .categories .category-card {
    top: 5px;
    width: 190px;
    height: calc(100% - 10px);
    min-height: 0;
    padding: 6px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
  }
  .categories .category-card svg,.categories .card-number,.categories .privacy-note {
    display: none;
  }
  .categories .category-card strong {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    color: #283f50;
  }
  .categories .card-action {
    margin-top: 2px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
  }
  .categories .carousel-arrow {
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 36px;
    line-height: 32px;
  }
  .categories .carousel-position {
    font-size: 12px;
    line-height: 18px;
    margin: 0;
  }
}
@media (max-width:599px) and (max-height:600px) {
  .categories {
    grid-template-rows: minmax(0,1fr);
    padding-top: 3px;
    padding-bottom: min(6px,env(safe-area-inset-bottom));
  }
  .categories>div:first-child,.categories .carousel-position {
    display: none;
  }
  .categories .category-card strong {
    font-size: 20px;
  }
  .categories .card-action {
    display: none;
  }
}
.cards,.category-card {
  touch-action: pan-y;
}
.cards.dragging .category-card {
  pointer-events: auto;
}

/* Brand assets and header actions */
.brand-logo{width:52px;height:52px;object-fit:contain;flex-shrink:0}
.trust-row{width:100%;gap:12px}
.trust-badge.image-badge{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;min-width:0;max-width:200px;padding:10px;gap:6px;cursor:pointer;text-decoration:none;font:inherit;color:#6f5025}
.image-badge img{display:block;width:100%;max-width:160px;height:56px;object-fit:contain}
.image-badge span{font-size:12px;font-weight:700}
.header-status{font-size:12px;color:#6f5025;text-align:center;max-width:360px}
.header-status:empty{display:none}
.image-badge:focus-visible,.category-card:focus-visible,.line-cta:focus-visible{outline:3px solid #267647;outline-offset:4px}

/* Compact image-only mobile header */
.center-header{padding:16px 20px 12px;gap:12px}
.center-header .brand{display:flex;justify-content:center;width:100%}
.center-header .brand-logo{width:min(200px,65vw);height:auto;max-height:64px;object-fit:contain}
.center-header .trust-row{gap:16px;width:100%;max-width:330px}
.center-header .trust-badge.image-badge{border:0;border-radius:0;background:transparent;box-shadow:none;padding:0;min-height:44px;flex:1;max-width:157px}
.center-header .image-badge img{width:100%;height:auto;max-width:157px;object-fit:contain}
.hero{padding-top:8px}
:root{color-scheme:light;--gold:#d7a745;--muted:#745e55;--red:#5b0c0b;--red-deep:#310706;--red-soft:#941b17;--cream:#fff9ed;--ink:#2d1a17}
body{color:var(--ink);background:radial-gradient(circle at 50% 0,rgba(255,228,157,.55),transparent 32rem),#f8f0e2;font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;overflow-x:hidden}
.site-shell{background:rgba(255,249,237,.96);border-color:rgba(115,61,34,.16);box-shadow:0 18px 50px rgba(72,18,11,.16)}
.center-header{padding:12px 14px 10px;gap:8px;justify-content:center;background:rgba(255,249,237,.94);border-bottom:1px solid rgba(115,61,34,.16)}
.center-header .brand{display:flex;justify-content:center;width:100%;line-height:0}
.brand-logo{display:block;width:min(174px,48vw);height:auto;max-height:48px;object-fit:contain}
.trust-row{display:flex;justify-content:center;align-items:center;gap:9px;width:100%}
.image-badge{display:block;flex:0 1 82px;width:82px;height:43px;padding:0;background:transparent;border:0;line-height:0;cursor:pointer}
.image-badge img{display:block;width:100%;height:100%;object-fit:contain}
#header-status{font-size:12px;color:#704d2a;text-align:center;margin:0}
#header-status:empty{display:none}
.hero{padding-top:12px}
.distance-promise{max-width:380px;margin:0 auto 12px;text-align:center;color:var(--red);font-family:"Noto Serif TC","PMingLiU",serif;font-size:clamp(24px,7vw,34px);font-weight:800;letter-spacing:.07em;line-height:1.35}
.distance-promise span{color:#a47724}
.video-frame{border:1px solid rgba(166,109,41,.45);background:#eadbbd;box-shadow:0 14px 36px rgba(72,18,11,.2)}
.hero-hint{color:#745e55;margin:13px 0 18px}
.categories h2{color:var(--red);font-weight:800;font-family:"Noto Serif TC","PMingLiU",serif}
.swipe-hint{color:#745e55}.swipe-hint span{color:#a47724}
.carousel-wrap{position:relative;overflow:hidden}
.cards{display:block;position:relative;height:218px;overflow:hidden;padding:0;touch-action:pan-y;scrollbar-width:none;cursor:grab}
.cards.dragging{cursor:grabbing}.cards.dragging .category-card{transition:none;pointer-events:none}
.category-card,.category-card:hover,.category-card.is-center{position:absolute;width:160px;min-height:182px;padding:18px 14px 14px;border:1px solid rgba(149,105,58,.25);border-radius:16px;color:var(--ink);background:linear-gradient(155deg,#fffdf7,#f1e3ca);box-shadow:0 8px 22px rgba(72,18,11,.13);text-align:left;transition:transform .2s,border-color .2s,box-shadow .2s}
.category-card:hover{border-color:#d7a745}.category-card.is-center{border:2px solid #d7a745;background:linear-gradient(155deg,#fffef9,#f8ebce);box-shadow:0 12px 28px rgba(91,12,11,.2)}
.card-number{top:12px;right:13px;color:#a47724}.category-card svg{width:27px;height:27px;margin-bottom:12px;stroke:#a47724;stroke-width:1.7;fill:none}
.category-card strong{display:block;max-width:130px;color:var(--red);font-size:15px;line-height:1.4;font-weight:800;overflow-wrap:anywhere}
.card-action{margin-top:10px;color:#745e55;font-size:12px}.carousel-arrow{background:#fffaf0;color:var(--red);border-color:#d7bd87;box-shadow:0 3px 14px rgba(72,18,11,.12)}
.carousel-position{color:#704d2a}.privacy-note,footer{color:#745e55}
dialog{color:var(--ink);background:linear-gradient(150deg,#fffdf8,#f4e7d0);border:1px solid #d4b877;box-shadow:0 -10px 70px rgba(49,7,6,.28)}
dialog::backdrop{background:rgba(49,7,6,.68);backdrop-filter:blur(8px)}
.modal-inner{padding:32px 22px calc(24px + env(safe-area-inset-bottom))}.close-button{color:#704d2a}
.modal-icon{border-color:rgba(149,105,58,.28);background:#d7a74518}.modal-icon svg{stroke:#a47724}
#modal-title{color:var(--red);font-weight:800;font-size:clamp(21px,6vw,29px);line-height:1.4;overflow-wrap:anywhere}#modal-description{color:#59433d;margin-bottom:20px}
.line-cta{min-height:52px;padding:12px;border-radius:12px;color:#fff;background:linear-gradient(135deg,#0b9b43,#06c755);border:1px solid #b8e8c7;font-size:17px;box-shadow:0 8px 22px rgba(0,135,46,.18)}
.send-note{color:#745e55}
a:focus-visible,button:focus-visible{outline:3px solid #a47724;outline-offset:3px}
@media(min-width:600px){.site-shell{margin-block:20px}}
@media(max-width:350px){.center-header{padding:10px 12px 8px;gap:7px}.brand-logo{width:148px;max-height:42px}.image-badge{flex-basis:72px;width:72px;height:38px}.categories h2{font-size:15px}.category-card,.category-card:hover,.category-card.is-center{width:148px;padding-inline:12px}.category-card strong{font-size:14px}}

.category-card .card-subtitle{display:block;margin-top:3px;color:#59433d;font-size:14px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}.category-card .card-action{margin-top:8px}
@media(max-width:350px){.category-card .card-subtitle{font-size:13px}}

/* ch5 compact cards and consistent icons */
.category-card svg{display:block;width:24px;height:24px;flex:0 0 24px;margin:0 auto 5px;stroke:#a47724;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.category-card .card-subtitle{margin-top:2px;font-size:14px;line-height:1.25}
.category-card .card-action{margin-top:5px;font-size:11px;line-height:1.2}
@media(max-width:599px){
 :root{--mobile-menu-height:min(154px,20dvh)}
 .categories{padding-top:4px;padding-bottom:max(3px,env(safe-area-inset-bottom));grid-template-rows:20px minmax(0,1fr) 16px}
 .categories .category-card{padding:5px 9px;gap:0}
 .categories .category-card svg,.categories .category-card strong,.categories .category-card .card-subtitle{display:block;flex-shrink:0}
 .categories .category-card svg{width:20px;height:20px;flex-basis:20px;margin:0 auto 3px}
 .categories .category-card strong{font-size:19px;line-height:1.2}
 .categories .category-card .card-subtitle{margin-top:2px;font-size:13px;line-height:1.2}
 .categories .category-card .card-action{margin-top:4px;font-size:10px;line-height:1.1}
 .categories .carousel-position{font-size:11px;line-height:15px}
 .site-shell{padding-bottom:calc(var(--mobile-menu-height) + 8px)}
}
@media(max-width:350px){.categories .category-card strong{font-size:17px}.categories .category-card .card-subtitle{font-size:12px}}

/* Mobile: retain CH0's layered carousel while keeping CH5's own card content. */
@media(max-width:599px){
 :root{--mobile-menu-height:min(120px,20dvh)}
 .site-shell{padding-bottom:calc(var(--mobile-menu-height) + 6px)}
 .categories{height:var(--mobile-menu-height);max-height:20dvh;grid-template-rows:18px minmax(66px,1fr) 15px;gap:0;padding:4px 0 max(3px,env(safe-area-inset-bottom))}
 .categories>div:first-child{padding-inline:12px}
 .categories h2{font-size:13px;line-height:18px}
 .categories .swipe-hint{font-size:11px}
 .categories .cards{height:100%;min-height:0}
 .categories .category-card,.categories .category-card:hover,.categories .category-card.is-center{top:50%;width:min(190px,calc(100vw - 112px));height:68px;min-height:0;padding:3px 6px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:0;border-radius:12px;text-align:center;transform:translateX(calc(-50% + var(--offset)*70px)) translateY(-50%) scale(calc(1 - var(--distance)*.14))}
 .categories .category-card .card-number{display:none}
 .categories .category-card svg{display:block;width:15px;height:15px;flex:0 0 15px;margin:0 0 1px}
 .categories .category-card strong{max-width:none;font-size:16px;line-height:17px;text-align:center;white-space:nowrap}
 .categories .category-card .card-subtitle{margin:0;font-size:12px;line-height:14px;text-align:center;white-space:nowrap}
 .categories .category-card .card-action{display:flex;align-items:center;justify-content:center;margin:1px 0 0;font-size:10px;line-height:11px}
 .categories .carousel-arrow{top:50%;width:44px;height:44px;min-width:44px;min-height:44px;transform:translateY(-50%);z-index:20}
 .categories .carousel-arrow.previous{left:4px}.categories .carousel-arrow.next{right:4px}
 .categories .carousel-position{font-size:11px;line-height:15px;margin:0}
}
@media(max-width:350px){
 .categories .category-card,.categories .category-card:hover,.categories .category-card.is-center{width:min(180px,calc(100vw - 104px));padding-inline:4px}
 .categories .category-card strong{font-size:15px}
 .categories .category-card .card-subtitle{font-size:11px}
}
@media(max-width:599px) and (max-height:600px){
 .categories{grid-template-rows:minmax(66px,1fr);padding-top:3px;padding-bottom:max(4px,env(safe-area-inset-bottom))}
 .categories>div:first-child,.categories .carousel-position{display:none}
 .categories .category-card .card-action{display:none}
}

/* CH5 background and mobile card tap cue */
body{background:#f4e8d5 url('./page-background.png') center top/cover fixed no-repeat}
.site-shell{background:rgba(255,249,237,.86) url('./page-background.png') center/cover no-repeat}
.category-card strong{font-size:18px;font-weight:900}
@media(max-width:599px){
 .categories .category-card,.categories .category-card:hover,.categories .category-card.is-center{height:76px}
 .categories .category-card strong{font-size:19px;font-weight:900;line-height:1.12}
 .categories .category-card .card-action{display:inline-flex;align-items:center;justify-content:center;gap:3px;margin-top:2px;padding:1px 8px;border-radius:999px;background:#f0d28a;color:#4c330f;font-size:10px;font-weight:800;line-height:13px;white-space:nowrap}
 .categories .category-card.is-center .card-action{animation:ch5-tap-pulse 1.25s ease-in-out infinite}
}
@keyframes ch5-tap-pulse{0%,100%{background-color:#f0d28a}50%{background-color:#d9ad4e}}
@media(prefers-reduced-motion:reduce){.categories .category-card.is-center .card-action{animation:none;background:#e3bd68}}
