:root {
  color-scheme: light;
  --brand: #ffcb64; --ink: #242424; --muted: #777; --line: #f0efeb;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink); background: #ececec; -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 56px; }
body { min-width: 320px; margin: 0; font-size: 14px; line-height: 1.6; }
h1, h2, p { margin: 0; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; object-fit: contain; }
[hidden] { display: none !important; }
a:focus-visible, summary:focus-visible { outline: 2px solid #825a15; outline-offset: 3px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 30; padding: 8px 12px; background: #302a22; color: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
/* Match the mall's 500px canvas, golden upper surface and compact white cards. */
.service-app { width: min(100%, 500px); min-height: 100vh; min-height: 100dvh; margin: 0 auto; background: #f5f5f5 linear-gradient(180deg, #ffcb64, #ffdc8d 150px, #fff0cb 260px, #f5f5f5 360px) top center / 100% 360px no-repeat; }
.mall-nav { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; height: calc(44px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 4px 0; background: var(--brand); }
.mall-nav h1 { height: 44px; min-width: 0; padding: 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; font-size: 16px; font-weight: 600; line-height: 44px; }
.nav-action { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; border-radius: 8px; }
.nav-action:active { background: rgba(75,50,17,.08); }
.nav-action:focus-visible { outline-offset: -4px; }
.nav-icon { width: 24px; height: 24px; background: currentColor; -webkit-mask: var(--nav-icon) center/contain no-repeat; mask: var(--nav-icon) center/contain no-repeat; }
.back-icon { --nav-icon: url("./assets/mall/back.png"); }
.support-icon { --nav-icon: url("./assets/mall/support.png"); }
.welcome { padding: 24px 20px 24px; }
.welcome h2 { font-size: 22px; font-weight: 600; line-height: 1.4; }
.welcome p { margin-top: 8px; color: #796039; font-size: 12px; }
.page-content { display: grid; gap: 12px; padding-inline: 10px; }
.entry-notice { padding: 12px 14px; border: 1px solid #e9c67f; border-radius: 12px; background: #fff6e0; color: #80551e; font-size: 12px; }
.service-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 16px 8px; border-radius: 12px; background: white; }
.service-shortcuts a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 68px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.service-shortcuts a:hover { background: #fffaf0; }
.service-shortcuts img { width: 40px; height: 40px; }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; border: 1px solid #efdfc8; border-radius: 12px; background: #fffdf8; scroll-margin-top: 56px; }
.contact-copy h2 { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
.contact-copy h2 img { width: 20px; height: 20px; }
.contact-copy p { margin-top: 8px; color: #8a775a; font-size: 12px; line-height: 1.7; }
.contact-button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 10px; min-height: 40px; min-width: 92px; padding: 8px 16px; border-radius: 20px; background: var(--brand); color: #503916; font-size: 14px; font-weight: 500; }
.contact-button:hover { background: #ffc04d; }
.contact-button > span:last-child { font-size: 20px; line-height: 1; }
.faq-card { overflow: hidden; border: 1px solid #eee8dd; border-radius: 12px; background: white; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 12px 16px; background: #fff2d8; }
.card-heading h2 { font-size: 16px; font-weight: 600; }
.card-heading > span { color: #927c59; font-size: 11px; }
.faq-list { padding-inline: 16px; }
.faq-list details { scroll-margin-top: 56px; }
.faq-list details + details { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding-block: 12px; list-style: none; cursor: pointer; font-size: 14px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { flex-shrink: 0; font-size: 22px; line-height: 1; color: #a29b90; }
.faq-list details[open] summary { color: #98501d; }
.faq-list details[open] summary > span { transform: rotate(90deg); }
.faq-list details > p { padding: 0 12px 16px 0; color: #777; font-size: 13px; line-height: 1.85; }
.site-footer { padding: 24px 16px calc(24px + env(safe-area-inset-bottom)); text-align: center; font-size: 11px; color: #a09a90; }
@media (max-width: 360px) {
  .welcome { padding-inline: 18px; }
  .welcome h2 { font-size: 21px; }
  .contact-card { padding-inline: 16px; gap: 12px; }
  .faq-list summary { font-size: 13px; }
}
