/* Original public-site CSS observed in the Mac Codex browser, 2026-10-15. No restyling. */
:root {
      --main: #4a230f;
      --accent: #b5353c;
      --bg: #faf7f2;
      --card: #ffffff;
      --border: #e8dfd3;
      --text: #111827;
      --muted: #6b7280;
    }
    * { box-sizing: border-box; }
    body {
      margin: 0;
      font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
      color: var(--text);
      background: var(--bg);
    }
    .group-landing-body {
      min-height: 100svh;
      display: flex;
      flex-direction: column;
    }
    .group-landing-body .site-header {
      flex: 0 0 auto;
    }
    .group-landing-body .site-header-inner.is-company-home {
      max-width: 1280px;
      padding-left: clamp(22px, 4vw, 48px) !important;
      padding-right: clamp(22px, 4vw, 48px) !important;
    }
    .group-container {
      width: min(100%, 1280px);
      margin: 0 auto;
      padding: clamp(34px, 5vw, 64px) clamp(22px, 4vw, 48px) clamp(48px, 6vw, 80px);
      flex: 1 0 auto;
      display: flex;
      align-items: center;
    }
    .hero-shell {
      width: 100%;
      min-width: 0;
    }
    .hero-layout {
      display: grid;
      gap: clamp(22px, 2.6vw, 34px);
    }
    .hero-section-heading {
      margin: 0;
      color: var(--main);
      font-size: clamp(24px, 2.4vw, 34px);
      line-height: 1.2;
      font-weight: 800;
      letter-spacing: 0.02em;
      text-align: center;
    }
    .hero-stage {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: clamp(16px, 2vw, 24px);
      align-items: stretch;
      min-width: 0;
    }
    .hero-entry-card {
      min-width: 0;
      overflow: hidden;
      display: grid;
      grid-template-rows: auto 1fr;
      color: inherit;
      text-decoration: none;
      border: 1px solid var(--border);
      border-radius: 20px;
      background: #fffdfa;
      box-shadow: 0 12px 30px rgba(74, 35, 15, 0.06);
      transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    }
    .hero-entry-card:focus-visible {
      outline: 3px solid rgba(181, 53, 60, 0.34);
      outline-offset: 4px;
    }
    .hero-entry-media {
      display: block;
      width: 100%;
      aspect-ratio: 4 / 3;
      overflow: hidden;
      background: #f4ece1;
    }
    .hero-entry-media img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .hero-entry-media.is-logo-fallback,
    .hero-entry-media.is-contained-brand {
      background: #f4e8dc;
    }
    .hero-entry-media.is-logo-fallback img,
    .hero-entry-media.is-contained-brand img {
      object-fit: contain;
      padding: clamp(28px, 4vw, 54px);
    }
    .hero-entry-copy {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 7px;
      min-width: 0;
      padding: clamp(18px, 2.2vw, 26px);
    }
    .hero-entry-index,
    .hero-entry-kicker,
    .hero-entry-copy h2,
    .hero-entry-copy p {
      margin: 0;
    }
    .hero-entry-index {
      color: #9ca3af;
      font-size: 11px;
      line-height: 1;
      font-weight: 800;
      letter-spacing: 0.08em;
    }
    .hero-entry-kicker {
      color: #8a6a54;
      font-size: 12px;
      line-height: 1.3;
      font-weight: 800;
      letter-spacing: 0.08em;
    }
    .hero-entry-copy h2 {
      color: var(--text);
      font-size: clamp(19px, 1.65vw, 23px);
      line-height: 1.3;
      font-weight: 800;
    }
    .hero-entry-summary {
      color: var(--main);
      font-size: 14px;
      line-height: 1.55;
      font-weight: 800;
    }
    .hero-entry-description {
      color: var(--muted);
      font-size: 14px;
      line-height: 1.65;
    }
    .hero-entry-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      margin: 5px 0 0;
      padding: 0;
      list-style: none;
    }
    .hero-entry-tags li {
      min-height: 28px;
      padding: 5px 10px;
      border-radius: 999px;
      background: #f5eee7;
      color: #76533d;
      font-size: 11.5px;
      line-height: 1.5;
      font-weight: 700;
    }
    .hero-entry-cta {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 44px;
      margin-top: auto;
      padding-top: 12px;
      color: var(--accent);
      font-size: 14px;
      line-height: 1.3;
      font-weight: 800;
    }
    .hero-entry-cta span {
      font-size: 18px;
      transition: transform 180ms ease;
    }
    .group-landing-body .site-footer {
      margin-top: auto !important;
      flex: 0 0 auto;
    }
    .group-landing-body .footer-inner {
      padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    }
    @media (hover: hover) and (pointer: fine) {
      .hero-entry-card:hover {
        transform: translateY(-4px);
        border-color: #d6bea4;
        box-shadow: 0 20px 42px rgba(74, 35, 15, 0.1);
      }
      .hero-entry-card:hover .hero-entry-cta span {
        transform: translateX(3px);
      }
    }
    @media (min-width: 720px) and (max-width: 1099px) {
      .group-container {
        padding-top: 42px;
      }
      .hero-stage {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .hero-entry-media {
        aspect-ratio: 16 / 9;
      }
      .hero-stage.has-3-entry-cards .hero-entry-card:last-child {
        grid-column: 1 / -1;
        grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
        grid-template-rows: 1fr;
      }
      .hero-stage.has-3-entry-cards .hero-entry-card:last-child .hero-entry-media {
        height: 100%;
        aspect-ratio: auto;
      }
      .hero-stage.has-3-entry-cards .hero-entry-card:last-child .hero-entry-copy {
        padding: clamp(24px, 4vw, 40px);
      }
    }
    @media (min-width: 720px) and (max-height: 900px) {
      .group-container {
        padding-top: 18px;
        padding-bottom: 18px;
      }
      .hero-layout {
        gap: 16px;
      }
      .hero-entry-media {
        aspect-ratio: 2 / 1;
      }
      .hero-entry-copy,
      .hero-stage.has-3-entry-cards .hero-entry-card:last-child .hero-entry-copy {
        gap: 4px;
        padding: 13px 15px;
      }
      .hero-entry-cta {
        min-height: 34px;
        padding-top: 3px;
      }
      .group-landing-body .footer-inner {
        padding-top: 8px !important;
        padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
      }
    }
    @media (min-width: 720px) and (max-width: 1099px) and (max-height: 900px) {
      .hero-entry-tags {
        display: none;
      }
    }
    @media (max-width: 719px) {
      .group-landing-body .site-header {
        --tk-shared-header-height: 64px;
      }
      .group-landing-body .site-header-inner.is-company-home {
        padding-left: 18px !important;
        padding-right: 18px !important;
      }
      .group-container {
        padding: 28px 18px 40px;
      }
      .hero-layout {
        gap: 22px;
      }
      .hero-section-heading {
        font-size: clamp(22px, 7vw, 28px);
        text-align: left;
      }
      .hero-stage {
        grid-template-columns: 1fr;
        gap: 12px;
      }
      .hero-entry-card {
        grid-template-columns: clamp(88px, 28vw, 116px) minmax(0, 1fr);
        grid-template-rows: 1fr;
        min-height: 132px;
        border-radius: 16px;
      }
      .hero-entry-media {
        height: 100%;
        aspect-ratio: auto;
      }
      .hero-entry-media.is-logo-fallback img,
      .hero-entry-media.is-contained-brand img {
        padding: clamp(16px, 4vw, 22px);
      }
      .hero-entry-copy {
        gap: 3px;
        padding: 13px 14px;
      }
      .hero-entry-index {
        display: none;
      }
      .hero-entry-kicker {
        font-size: 10.5px;
      }
      .hero-entry-copy h2 {
        font-size: clamp(15px, 4.4vw, 18px);
        line-height: 1.28;
      }
      .hero-entry-summary {
        font-size: 11px;
        line-height: 1.4;
      }
      .hero-entry-description {
        display: none;
      }
      .hero-entry-tags {
        display: none;
      }
      .hero-entry-cta {
        min-height: 32px;
        padding-top: 4px;
        font-size: 12px;
      }
      .hero-entry-cta span {
        font-size: 16px;
      }
    }
    @media (max-width: 359px) {
      .group-container {
        padding-left: 16px;
        padding-right: 16px;
      }
      .hero-entry-card {
        grid-template-columns: 88px minmax(0, 1fr);
      }
      .hero-entry-copy {
        padding-left: 12px;
        padding-right: 12px;
      }
      .hero-entry-summary {
        font-size: 10.5px;
      }
      .hero-entry-cta {
        font-size: 11.5px;
      }
    }
    @media (max-width: 719px) and (max-height: 700px) {
      .group-container {
        padding: 14px 16px 8px;
      }
      .hero-layout {
        gap: 20px;
      }
      .hero-stage {
        gap: 8px;
      }
      .hero-entry-card {
        grid-template-columns: 82px minmax(0, 1fr);
        min-height: 104px;
      }
      .hero-entry-copy {
        padding: 8px 10px;
      }
      .hero-entry-cta {
        min-height: 28px;
        padding-top: 0;
      }
      .group-landing-body .footer-inner {
        padding-top: 6px !important;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
        gap: 8px !important;
      }
      .group-landing-body .footer-legal-card {
        padding-top: 0 !important;
      }
      .group-landing-body .footer-primary-row {
        gap: 8px !important;
      }
      .group-landing-body .footer-legal-links {
        row-gap: 4px !important;
      }
    }


  :root {
    --tk-font-ui: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    --tk-bg: #faf7f2;
    --tk-surface: #ffffff;
    --tk-text: #111827;
    --tk-text-muted: #6b7280;
    --tk-border: #e8dfd3;
    --tk-main: #4a230f;
    --tk-accent: #b5353c;
    --tk-space-2: 8px;
    --tk-space-3: 12px;
    --tk-space-4: 16px;
    --tk-space-5: 20px;
    --tk-space-6: 24px;
    --tk-radius-2: 10px;
    --tk-radius-3: 12px;
    --tk-radius-4: 16px;
    --tk-control-h: 40px;
    --tk-fs-label: 14px;
    --tk-fs-caption: 13px;
    --tk-fs-menu-title: 11px;
    --tk-panel-min-w: 320px;
    --tk-panel-max-w: 380px;
  }
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  html,
  body {
    margin: 0;
    padding: 0;
    font-family: var(--tk-font-ui);
    color: var(--tk-text);
    background: var(--tk-bg);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3, h4, h5, h6, p {
    margin: 0;
  }
  img {
    display: block;
    max-width: 100%;
  }
  button,
  input,
  select,
  textarea {
    font: inherit;
    color: inherit;
  }


  .site-header {
    --tk-shared-header-height: 56px;
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--tk-border);
    backdrop-filter: blur(10px);
  }
  .site-header.is-company-home-header {
    --tk-shared-header-height: 72px;
  }
  .site-header.is-brand-context-header {
    --tk-shared-header-height: 64px;
  }
  .site-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: var(--tk-shared-header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--tk-space-3);
    flex-wrap: nowrap;
    padding: 0 var(--tk-space-6) !important;
  }
  .site-header-inner.is-brand-hidden {
    justify-content: flex-end;
  }
  .brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #111827;
    min-width: 0;
    flex: 1 1 auto;
  }
  .brand-link img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex: 0 0 auto;
  }
  .brand-link[data-brand-id="kaoyibei"] img {
    width: 34px;
    height: 34px;
  }
  .site-header-inner.is-company-home {
    max-width: 1280px;
  }
  .site-header-inner.is-company-home .brand-link img {
    width: 42px;
    height: 42px;
  }
  .site-header-inner.is-brand-context .brand-link img {
    width: 38px;
    height: 38px;
  }
  .site-header-inner.is-brand-context .brand-link[data-brand-id="kaoyibei"] img {
    width: 44px;
    height: 44px;
  }
  .header-right {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--tk-space-2);
    flex: 0 0 auto;
  }
  .header-brand-switches {
    display: none;
    align-items: center;
    gap: 8px;
  }
  .header-brand-switches.is-visible {
    display: inline-flex;
  }
  .header-brand-switches.is-measuring {
    display: inline-flex !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .header-brand-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid #d7dadd;
    background: #fff;
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
  }
  .header-brand-switch.is-active {
    border-color: rgba(74, 35, 15, 0.22);
    background: #fff6ee;
    color: #4a230f;
    font-weight: 700;
    pointer-events: none;
    cursor: default;
  }
  .header-brand-switch:hover {
    background: #f8fafc;
    color: #111827;
  }
  .header-brand-switch.is-active:hover {
    background: #fff6ee;
    color: #4a230f;
  }
  .header-cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--tk-control-h);
    height: var(--tk-control-h);
    padding: 0 12px;
    border-radius: var(--tk-radius-3);
    border: 1px solid #d7dadd;
    background: #fff;
    color: #4b5563;
    text-decoration: none;
    font-size: var(--tk-fs-label);
    line-height: 1.2;
    font-weight: 500;
    white-space: nowrap;
  }
  .header-cart-link:hover {
    background: #f8fafc;
    color: #111827;
  }
  .header-primary-link {
    background: #b5353c;
    border-color: #b5353c;
    color: #fff;
  }
  .header-primary-link:hover {
    background: #b5353c;
    border-color: #b5353c;
    color: #fff;
  }
  .menu-shell {
    position: relative;
    width: auto;
  }
  .menu-trigger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: var(--tk-space-2) !important;
    min-height: var(--tk-control-h) !important;
    height: var(--tk-control-h) !important;
    padding: 0 4px !important;
    border-radius: 0 !important;
    border: 0 !important;
    background: transparent !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    color: #4b5563 !important;
    font-size: var(--tk-fs-label) !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    cursor: pointer;
    box-shadow: none !important;
  }
  .menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: min(var(--tk-panel-max-w), calc(100vw - 24px));
    min-width: var(--tk-panel-min-w);
    max-width: var(--tk-panel-max-w);
    background: #fff;
    border: 1px solid var(--tk-border);
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.12);
    border-radius: var(--tk-radius-4) !important;
    padding: 10px !important;
    display: none !important;
    z-index: 62;
  }
  .menu-panel.is-open { display: grid !important; gap: 4px; }
  .menu-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 6px 6px;
  }
  .menu-panel-title {
    margin: 0;
    color: #4a230f;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
  }
  .menu-close {
    border: 0;
    background: transparent;
    color: #6b7280;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
  }
  .menu-close:hover {
    background: #f3f4f6;
    color: #111827;
  }
  .menu-backdrop {
    position: fixed !important;
    inset: 0 !important;
    border: 0 !important;
    background: rgba(17, 24, 39, 0.18) !important;
    display: none !important;
    z-index: 58 !important;
    cursor: default !important;
  }
  .menu-backdrop.is-open {
    display: block !important;
  }
  .brand-link .brand-meta {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    gap: 0;
    line-height: 1.2;
  }
  .brand-link .brand-company {
    color: #111827 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-link .brand-secondary {
    color: #7c6f66;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .site-header-inner.is-company-home .brand-link .brand-meta {
    display: grid;
    align-items: center;
    gap: 2px;
  }
  .site-header-inner.is-company-home .brand-link .brand-company {
    color: #4a230f !important;
    font-size: 19px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
  }
  .site-header-inner.is-company-home .brand-link .brand-secondary {
    font-size: 11.5px;
  }
  .site-header-inner.is-brand-context .brand-link .brand-company {
    font-size: 18px !important;
    font-weight: 700 !important;
  }
  .brand-link .brand-page {
    color: #6b7280 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-link .brand-divider {
    color: #9ca3af;
    margin: 0 6px;
    font-size: 13px;
    line-height: 1;
    flex: 0 0 auto;
  }
  @media (max-width: 720px) {
    .site-header {
      transition: transform 220ms ease, box-shadow 220ms ease;
      will-change: transform;
    }
    .site-header.tk-scroll-hidden {
      transform: translateY(calc(-100% - 2px));
    }
    body.tk-menu-open .site-header {
      transform: translateY(0);
    }
    .site-header.is-company-home-header {
      --tk-shared-header-height: 64px;
    }
    .site-header.is-brand-context-header {
      --tk-shared-header-height: 60px;
    }
    .site-header-inner.is-company-home .brand-link img {
      width: 36px;
      height: 36px;
    }
    .site-header-inner.is-company-home .brand-link .brand-company {
      font-size: 16px !important;
    }
    .site-header-inner.is-company-home .brand-link .brand-secondary {
      font-size: 10px;
    }
    .site-header-inner.is-brand-context .brand-link img {
      width: 34px;
      height: 34px;
    }
    .site-header-inner.is-brand-context .brand-link[data-brand-id="kaoyibei"] img {
      width: 38px;
      height: 38px;
    }
    .site-header-inner.is-brand-context .brand-link .brand-company {
      font-size: 16px !important;
    }
    .brand-link .brand-divider-company,
    .brand-link .brand-page {
      display: none;
    }
    .brand-link .brand-company {
      color: #111827 !important;
      font-size: 16px !important;
      font-weight: 600 !important;
    }
  }
  @media (max-width: 720px) and (prefers-reduced-motion: reduce) {
    .site-header {
      transition: none;
    }
  }
  .menu-section-title {
    color: #9ca3af !important;
    letter-spacing: 0.5px !important;
    font-weight: 600 !important;
    margin: 2px 6px 0 !important;
    font-size: var(--tk-fs-menu-title) !important;
  }
  .menu-current-card {
    margin: 4px 6px 2px !important;
    padding: 14px !important;
    border: 1px solid #e7dacb !important;
    border-radius: 16px !important;
    background: #fffaf5 !important;
  }
  .menu-current-page {
    margin: 0 !important;
    color: #4a230f !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
  }
  .menu-panel .menu-status {
    margin: 2px 12px 0 !important;
    color: #6b7280;
    font-size: var(--tk-fs-caption) !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
  }
  .menu-panel .menu-member-card {
    margin: 4px 6px 2px !important;
    padding: 14px 14px 12px !important;
    border-top: 1px solid #e6dccf !important;
    display: grid !important;
    gap: 10px !important;
  }
  .menu-panel .menu-member-card-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }
  .menu-panel .menu-member-card-title {
    margin: 0 !important;
    color: #4b5563 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
  }
  .menu-panel .menu-member-card-body {
    min-width: 0 !important;
    display: grid !important;
    gap: 4px !important;
  }
  .menu-panel .menu-member-card .menu-status {
    margin: 0 !important;
    color: #4b5563 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
  }
  .menu-panel .menu-member-id,
  .menu-panel .menu-member-note {
    margin: 0 !important;
    color: #6b7280 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
  }
  .menu-panel .menu-member-note.is-error {
    color: #b5353c !important;
  }
  .menu-panel .menu-member-refresh {
    flex: 0 0 auto !important;
    width: 36px !important;
    height: 36px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #8b95a7 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    cursor: pointer !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  }
  .menu-panel .menu-member-refresh:hover {
    background: #f8fafc !important;
    border-color: #d1d5db !important;
    color: #6b7280 !important;
  }
  .menu-panel .menu-member-refresh[disabled] {
    opacity: 0.55 !important;
    cursor: wait !important;
  }
  .menu-panel .menu-member-refresh-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    line-height: 1 !important;
  }
  .menu-panel .menu-member-refresh.is-syncing .menu-member-refresh-icon {
    animation: tk-menu-member-spin 0.8s linear infinite;
  }
  .menu-panel .menu-mode-toggle-link {
    min-height: 44px !important;
    padding: 8px 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    border: 1px solid #decdb9 !important;
    border-radius: 12px !important;
    background: #fff9f2 !important;
    color: #4a230f !important;
  }
  .menu-panel .menu-mode-toggle-copy {
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
  }
  .menu-panel .menu-mode-toggle-title {
    color: #4a230f !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
  }
  .menu-panel .menu-mode-toggle-subtitle {
    color: #7a5c40 !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .menu-panel .menu-mode-toggle-switch {
    position: relative !important;
    flex: 0 0 auto !important;
    width: 30px !important;
    height: 18px !important;
    border-radius: 999px !important;
    background: #cbd5e1 !important;
  }
  .menu-panel .menu-mode-toggle-thumb {
    position: absolute !important;
    top: 2px !important;
    left: 2px !important;
    width: 14px !important;
    height: 14px !important;
    border-radius: 999px !important;
    background: #f8fafc !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.18) !important;
  }
  .menu-panel a {
    min-height: var(--tk-control-h) !important;
    padding: 10px 14px !important;
    border-radius: var(--tk-radius-3) !important;
    font-size: var(--tk-fs-label) !important;
    line-height: 1.25 !important;
  }
  .menu-panel a {
    color: #4b5563 !important;
    border: 1px solid transparent;
  }
  .is-hidden {
    display: none !important;
  }
  #tk-menu-panel a.is-hidden,
  #tk-menu-panel .menu-section-title.is-hidden,
  #tk-menu-panel .menu-section-divider.is-hidden,
  .menu-panel a.is-hidden,
  .menu-panel .menu-section-title.is-hidden,
  .menu-panel .menu-section-divider.is-hidden {
    display: none !important;
  }
  /* Force unified menu look/behavior across all render pages. */
  #tk-menu-trigger {
    min-height: 46px !important;
    height: 46px !important;
    padding: 0 14px !important;
    border: 1px solid #c9ced6 !important;
    border-radius: 20px !important;
    background: #f4f5f7 !important;
    color: #4b5563 !important;
    font-size: var(--tk-fs-label) !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03) !important;
  }
  #tk-menu-trigger::before {
    content: none !important;
  }
  #tk-menu-panel {
    width: min(var(--tk-panel-max-w), calc(100vw - 24px)) !important;
    min-width: var(--tk-panel-min-w) !important;
    max-width: var(--tk-panel-max-w) !important;
    border-radius: var(--tk-radius-4) !important;
    padding: 10px !important;
    display: none !important;
    max-height: min(72dvh, calc(100dvh - 84px)) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
  }
  #tk-menu-panel.is-open {
    display: grid !important;
    gap: 4px !important;
  }
  #tk-menu-panel .menu-section-title {
    color: #9ca3af !important;
    letter-spacing: 0.5px !important;
    font-weight: 600 !important;
    margin: 2px 6px 0 !important;
    font-size: var(--tk-fs-menu-title) !important;
  }
  #tk-menu-panel .menu-section-divider {
    margin: 6px 4px !important;
    height: 1px !important;
    background: #ece6dc !important;
    border-radius: 999px !important;
  }
  #tk-menu-panel .menu-status {
    margin: 2px 12px 0 !important;
    color: #6b7280 !important;
    font-size: var(--tk-fs-caption) !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
  }
  #tk-menu-panel .menu-member-card {
    margin: 4px 6px 2px !important;
    padding: 14px 14px 12px !important;
    border-top: 1px solid #e6dccf !important;
    display: grid !important;
    gap: 10px !important;
  }
  #tk-menu-panel .menu-member-card-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }
  #tk-menu-panel .menu-member-card-title {
    margin: 0 !important;
    color: #4b5563 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
  }
  #tk-menu-panel .menu-member-card-body {
    min-width: 0 !important;
    display: grid !important;
    gap: 4px !important;
  }
  #tk-menu-panel .menu-member-card .menu-status {
    margin: 0 !important;
    color: #4b5563 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
  }
  #tk-menu-panel .menu-member-id,
  #tk-menu-panel .menu-member-note {
    margin: 0 !important;
    color: #6b7280 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
  }
  #tk-menu-panel .menu-member-note.is-error {
    color: #b5353c !important;
  }
  #tk-menu-panel .menu-member-refresh {
    flex: 0 0 auto !important;
    width: 36px !important;
    height: 36px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #8b95a7 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    cursor: pointer !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  }
  #tk-menu-panel .menu-member-refresh:hover {
    background: #f8fafc !important;
    border-color: #d1d5db !important;
    color: #6b7280 !important;
  }
  #tk-menu-panel .menu-member-refresh[disabled] {
    opacity: 0.55 !important;
    cursor: wait !important;
  }
  #tk-menu-panel .menu-member-refresh-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    line-height: 1 !important;
  }
  #tk-menu-panel .menu-member-refresh.is-syncing .menu-member-refresh-icon {
    animation: tk-menu-member-spin 0.8s linear infinite;
  }
  @keyframes tk-menu-member-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  #tk-menu-panel a {
    min-height: 42px !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    color: #4b5563 !important;
    border: 1px solid transparent !important;
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
  }
  #tk-menu-panel a::before {
    content: none !important;
    display: none !important;
  }
  #tk-menu-panel a.is-active {
    color: #4a230f !important;
    background: #fff6ee !important;
    border-color: rgba(74, 35, 15, 0.22) !important;
    font-weight: 700 !important;
    pointer-events: none !important;
    cursor: default !important;
  }
  #tk-menu-panel a.is-active::after {
    content: '已在此頁' !important;
    margin-left: auto !important;
    padding: 2px 8px !important;
    border-radius: 999px !important;
    background: rgba(74, 35, 15, 0.1) !important;
    color: #7c2d12 !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
  }
  #tk-menu-panel a.menu-item-disabled,
  #tk-menu-panel a.menu-item-disabled:hover {
    color: #9ca3af !important;
    border-color: #e5e7eb !important;
    background: #f5f4f3 !important;
    cursor: default !important;
    user-select: none !important;
  }
  #tk-menu-panel a:not(.menu-item-disabled):hover {
    background: #f7f7f7 !important;
    color: #111827 !important;
  }
  #tk-menu-backdrop {
    position: fixed !important;
    inset: 0 !important;
    border: 0 !important;
    background: rgba(17, 24, 39, 0.18) !important;
    display: none !important;
    z-index: 58 !important;
    cursor: default !important;
  }
  #tk-menu-backdrop.is-open {
    display: block !important;
  }
  .menu-panel a.is-active {
    color: #4a230f !important;
    background: #fff6ee !important;
    border-color: rgba(74, 35, 15, 0.22) !important;
    font-weight: 700 !important;
    pointer-events: none !important;
    cursor: default !important;
  }
  .menu-panel a.is-active::after {
    content: '已在此頁' !important;
    margin-left: auto !important;
    padding: 2px 8px !important;
    border-radius: 999px !important;
    background: rgba(74, 35, 15, 0.1) !important;
    color: #7c2d12 !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
  }
  .menu-panel a.menu-item-disabled,
  .menu-panel a.menu-item-disabled:hover {
    color: #9ca3af !important;
    border-color: #e5e7eb !important;
    background: #f5f4f3 !important;
    cursor: default !important;
    user-select: none;
  }
  .menu-panel a:not(.menu-item-disabled):hover {
    background: #f7f7f7 !important;
    color: #111827 !important;
  }
  body.tk-header-brand-switches-active #tk-menu-panel a.menu-primary-link,
  body.tk-header-brand-switches-active .menu-primary-link {
    display: none !important;
  }
  @media (max-width: 720px) {
    body.tk-menu-open {
      overflow: hidden !important;
      touch-action: none !important;
    }
    .site-header-inner {
      padding-left: var(--tk-space-3) !important;
      padding-right: var(--tk-space-3) !important;
    }
    .menu-trigger {
      width: auto !important;
    }
    #tk-menu-panel,
    .menu-panel {
      position: fixed !important;
      inset: var(--tk-shared-header-height) 0 0 0 !important;
      width: 100vw !important;
      min-width: 100vw !important;
      max-width: 100vw !important;
      height: calc(100dvh - var(--tk-shared-header-height)) !important;
      max-height: calc(100dvh - var(--tk-shared-header-height)) !important;
      overflow-y: auto !important;
      overflow-x: hidden !important;
      -webkit-overflow-scrolling: touch !important;
      overscroll-behavior: contain !important;
      border: 0 !important;
      border-top: 1px solid #efe3d3 !important;
      border-radius: 0 !important;
      background: #fffdf9 !important;
      box-shadow: none !important;
      padding: 12px 12px calc(28px + env(safe-area-inset-bottom, 0px)) !important;
      z-index: 80 !important;
    }
    #tk-menu-backdrop,
    .menu-backdrop {
      inset: var(--tk-shared-header-height) 0 0 0 !important;
      background: rgba(17, 24, 39, 0.28) !important;
      z-index: 79 !important;
    }
    #tk-menu-panel a,
    .menu-panel a {
      min-height: 48px !important;
      padding: 12px 14px !important;
      border-radius: 14px !important;
      font-size: 15px !important;
    }
    #tk-menu-panel .menu-member-card,
    .menu-panel .menu-member-card {
      margin: 6px 4px 2px !important;
      padding: 16px 14px 14px !important;
      border: 1px solid #ece6dc !important;
      border-radius: 16px !important;
      background: #fff !important;
    }
  }

  /* Visual convergence: keep SSR close to Flutter SPA baseline. */
  .site-header {
    backdrop-filter: blur(10px) !important;
  }
  .site-header-inner {
    height: var(--tk-shared-header-height) !important;
    padding: 0 24px !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }
  .brand-link {
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
  .header-right {
    width: auto !important;
    flex: 0 0 auto !important;
  }
  .header-brand-switches {
    flex: 0 0 auto !important;
  }
  .header-cart-link {
    min-height: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    padding: 0 12px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }
  .menu-shell {
    width: auto !important;
    flex: 0 0 auto !important;
  }
  .menu-trigger {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 4px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    border-radius: 0 !important;
  }
  .menu-panel {
    min-width: 320px !important;
    max-width: 380px !important;
    border-radius: 16px !important;
    padding: 10px !important;
  }
  .menu-panel a {
    min-height: 42px !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
  }
  .menu-panel .menu-status {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
  .content-shell {
    padding: 32px 24px !important;
  }
  .top-row {
    margin-bottom: 12px !important;
  }
  .btn,
  .switch-pill,
  .top-admin-action,
  .hero-btn,
  .hint-action {
    min-height: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
  }
  .hero-btn {
    padding: 0 16px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }
  .hint-action {
    padding: 0 14px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }
  @media (max-width: 720px) {
    .site-header-inner {
      padding-left: 12px !important;
      padding-right: 12px !important;
    }
    .header-cart-link {
      padding: 0 10px !important;
    }
    .menu-shell {
      width: auto !important;
      flex: 0 0 auto !important;
    }
    .menu-trigger {
      width: auto !important;
    }
    #tk-menu-panel,
    .menu-panel {
      inset: var(--tk-shared-header-height) 0 0 0 !important;
      max-height: calc(100dvh - var(--tk-shared-header-height)) !important;
    }
    #tk-menu-backdrop,
    .menu-backdrop {
      inset: var(--tk-shared-header-height) 0 0 0 !important;
    }
    .content-shell {
      padding: 24px 16px 28px !important;
    }
  }
  @media (max-height: 760px) and (min-width: 721px) {
    #tk-menu-panel {
      max-height: calc(100dvh - 68px) !important;
    }
  }
  @media (max-height: 760px) and (max-width: 720px) {
    #tk-menu-panel {
      top: var(--tk-shared-header-height) !important;
      bottom: 0 !important;
      max-height: none !important;
    }
  }
  @media (max-width: 320px) {
    .content-shell {
      padding-left: 8px !important;
      padding-right: 8px !important;
    }
  }
  .tk-floating-dock {
    position: fixed;
    right: 12px;
    bottom: 12px;
    transform: translateY(6px);
    z-index: 42;
    display: inline-flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .tk-floating-dock.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .tk-floating-top {
    min-height: var(--tk-control-h);
    height: var(--tk-control-h);
    border-radius: var(--tk-radius-3);
    border: 1px solid #d7dadd;
    background: #fff;
    color: #4a230f;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
  }
  .tk-floating-top {
    width: var(--tk-control-h);
    padding: 0;
    cursor: pointer;
  }
  .tk-floating-top:hover {
    background: #f8fafc;
  }
  @media (max-width: 640px) {
    .tk-floating-dock {
      left: auto;
      right: 12px;
      bottom: calc(env(safe-area-inset-bottom, 0px) + 8px);
    }
    .tk-floating-dock.is-visible {
      transform: translateY(0);
    }
  }


  .site-footer {
    margin-top: 32px;
    background: transparent;
  }
  .footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 12px 12px 104px;
    display: grid;
    gap: 18px;
  }
  .footer-legal-card {
    padding: 8px 34px 0;
  }
  .footer-primary-row {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .footer-legal-links {
    display: flex;
    gap: 28px;
    row-gap: 8px;
    flex-wrap: wrap;
    align-items: center;
  }
  .footer-company-home-link {
    white-space: nowrap;
  }
  .footer-more-card {
    display: contents;
  }
  .footer-more-summary {
    display: none;
  }
  .footer-more-links {
    display: flex;
    gap: 28px;
    row-gap: 8px;
    flex-wrap: wrap;
    align-items: center;
  }
  .footer-legal-links a,
  .footer-friend-links a {
    color: #4a230f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    padding: 2px 0;
  }
  .footer-tech-credit {
    width: min(100%, 460px);
    margin-left: auto;
    display: block;
    text-align: right;
    color: #8b8178;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
  }
  .footer-friend-card {
    position: relative;
    display: inline-block;
    max-width: 100%;
  }
  .footer-friend-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    gap: 7px;
    align-items: center;
    min-height: 30px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #f6eee7;
  }
  .footer-friend-summary::-webkit-details-marker {
    display: none;
  }
  .footer-friend-title {
    color: #4a230f;
    font-size: 14px;
    font-weight: 600;
  }
  .footer-friend-toggle {
    position: relative;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #fff;
    flex: 0 0 auto;
  }
  .footer-friend-toggle::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 2px solid #b5353c;
    border-bottom: 2px solid #b5353c;
    transform: translate(-50%, -62%) rotate(45deg);
    transition: transform 160ms ease;
  }
  .footer-friend-card[open] .footer-friend-toggle::before {
    transform: translate(-50%, -35%) rotate(225deg);
  }
  .footer-friend-links {
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    z-index: 40;
    width: min(620px, calc(100vw - 48px));
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 16px;
    border: 1px solid #e7dacb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(55, 35, 24, 0.16);
  }
  .footer-friend-links-header {
    grid-column: 1 / -1;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #4a230f;
    font-size: 14px;
    font-weight: 700;
  }
  .footer-friend-close {
    min-height: 30px;
    padding: 4px 10px;
    border: 1px solid #e7dacb;
    border-radius: 999px;
    background: #fff;
    color: #4a230f;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
  }
  .footer-friend-close:hover,
  .footer-friend-close:focus-visible {
    background: #f3e7dd;
    outline: none;
  }
  .footer-friend-links a {
    padding: 10px 12px;
    border-radius: 10px;
    background: #faf6f2;
  }
  .footer-friend-links a:hover,
  .footer-friend-links a:focus-visible {
    background: #f3e7dd;
    outline: none;
  }
  @media (max-width: 720px) {
    .footer-inner {
      padding-left: 12px;
      padding-right: 12px;
      padding-bottom: 92px;
      gap: 16px;
    }
    .footer-legal-card {
      padding: 4px 18px 0;
    }
    .footer-primary-row {
      align-items: flex-start;
    }
    .footer-legal-links {
      width: 100%;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: nowrap;
    }
    .footer-more-card {
      position: relative;
      display: inline-block;
      flex: 0 0 auto;
    }
    .footer-more-summary {
      min-height: 36px;
      padding: 5px 11px;
      border: 1px solid #e7dacb;
      border-radius: 999px;
      background: #fff;
      color: #4a230f;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      list-style: none;
      font-size: 14px;
      line-height: 1.2;
      font-weight: 700;
      white-space: nowrap;
    }
    .footer-more-summary::-webkit-details-marker {
      display: none;
    }
    .footer-more-dots {
      font-size: 18px;
      line-height: 1;
      transform: translateY(-1px);
    }
    .footer-more-links {
      position: absolute;
      right: 0;
      bottom: calc(100% + 10px);
      z-index: 42;
      width: min(320px, calc(100vw - 48px));
      display: grid;
      grid-template-columns: 1fr;
      gap: 6px;
      padding: 12px;
      border: 1px solid #e7dacb;
      border-radius: 16px;
      background: #fff;
      box-shadow: 0 18px 44px rgba(55, 35, 24, 0.16);
    }
    .footer-more-card:not([open]) > .footer-more-links {
      display: none;
    }
    .footer-more-links > a {
      min-height: 42px;
      display: flex;
      align-items: center;
      padding: 9px 11px;
      border-radius: 10px;
      background: #faf6f2;
    }
    .footer-more-links .footer-friend-card,
    .footer-more-links .footer-friend-summary {
      width: 100%;
    }
    .footer-friend-summary {
      min-height: 30px;
      padding: 3px 8px;
    }
    .footer-friend-links {
      position: fixed;
      right: 16px;
      bottom: 76px;
      left: 16px;
      width: auto;
      grid-template-columns: 1fr;
      max-height: min(60vh, 420px);
      overflow-y: auto;
      padding: 14px;
    }
    .footer-tech-credit {
      width: 100%;
      max-width: none;
      margin: 0 auto;
      text-align: center;
    }
  }


  .footer-admin-link[data-mode="logout"] {
    color: #4a230f;
  }
