﻿* {
      box-sizing: border-box;
    }

    html {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      min-height: 100%;
      background: #e0e0e0;
    }

    html {
      scroll-behavior: smooth;
    }
    body {
      margin: 0;
      width: 100%;
      min-height: 100vh;
      background: #f6f8f3;
      color: #151915;
      font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Segoe UI, Arial, Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
      -webkit-font-smoothing: antialiased;
      -webkit-tap-highlight-color: transparent;
      overflow-x: hidden;
      position: relative;
      box-shadow: 0 0 40px rgba(0, 0, 0, .18), 0 0 0 1px rgba(0, 0, 0, .06);
    }

    *:focus {
      outline: none;
    }
    *:focus-visible {
      outline: 2px solid rgba(42, 105, 49, 0.35);
      outline-offset: 2px;
      border-radius: 2px;
    }

    button, a, input, select, textarea {
      -webkit-tap-highlight-color: transparent;
      transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    input,
    select,
    textarea {
      font-size: 16px !important;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      display: block;
      max-width: 100%;
    }

    .mobile-shell {
      width: 100%;
      min-height: 100vh;
      margin: 0 auto;
      background: linear-gradient(180deg, #ffffff 0%, #fbfcf8 56%, #f5f7f1 100%);
      padding-bottom: calc(88px + env(safe-area-inset-bottom));
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .page-content {
      padding-bottom: 16px;
      flex: 1;
      overflow-y: auto;
    }
.mobile-shell { max-width: 480px !important; margin: 0 auto !important; box-shadow: 0 0 20px rgba(0,0,0,0.1); position: relative; }
body { background: #e0e0e0 !important; }

    .site-modal {
      position: fixed;
      inset: 0;
      z-index: 999;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.24s ease, visibility 0.24s ease;
    }

    .site-modal[aria-hidden="false"] {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    .site-modal-mask {
      position: absolute;
      inset: 0;
      background: rgba(16, 34, 18, 0.38);
      backdrop-filter: blur(8px);
    }

    .site-modal-panel {
      position: relative;
      width: calc(100% - 36px);
      max-width: 340px;
      padding: 22px 22px 20px;
      border-radius: 24px;
      background:
        radial-gradient(circle at top right, rgba(118, 200, 135, 0.26), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f8fbf4 100%);
      box-shadow: 0 24px 50px rgba(25, 49, 28, 0.22);
      overflow: hidden;
      transform: translateY(16px) scale(0.96);
      transition: transform 0.24s ease;
    }

    .site-modal[aria-hidden="false"] .site-modal-panel {
      transform: translateY(0) scale(1);
    }

    .site-modal-glow {
      position: absolute;
      top: -40px;
      right: -24px;
      width: 140px;
      height: 140px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(113, 198, 113, 0.22), transparent 68%);
    }
    .site-modal-title {
      position: relative;
      font-size: 17px;
      font-weight: 800;
      color: #152017;
      margin-bottom: 8px;
    }

    .map-header,
    .ck-header,
    .cart-header,
    .od-header,
    .fv-header,
    .hs-header,
    .faq-header,
    .pl-header,
    .cp-header {
      min-height: 56px !important;
      padding: 12px 18px 14px !important;
      background: rgba(255, 255, 255, 0.96) !important;
      border-bottom: 1px solid #edf0ea !important;
    }

    .map-header h1,
    .ck-header h1,
    .cart-header h1,
    .od-header h1,
    .fv-header h1,
    .hs-header h1,
    .faq-header h1,
    .pl-header h1,
    .cp-header h1 {
      margin: 0 !important;
      font-size: 16px !important;
      font-weight: 800 !important;
      letter-spacing: 0 !important;
      color: #152017 !important;
    }

    .map-header-back,
    .ck-header-back,
    .cart-header-back,
    .od-header-back,
    .fv-header-back,
    .hs-header-back,
    .faq-header-back,
    .pl-header-back,
    .cp-header-back {
      width: 34px !important;
      height: 34px !important;
      border-radius: 50% !important;
      background: transparent !important;
      color: #182219 !important;
    }

    .map-header-back svg,
    .ck-header-back svg,
    .cart-header-back svg,
    .od-header-back svg,
    .fv-header-back svg,
    .hs-header-back svg,
    .faq-header-back svg,
    .pl-header-back svg,
    .cp-header-back svg {
      width: 20px !important;
      height: 20px !important;
    }

    .map-header-back svg path,
    .ck-header-back svg path,
    .cart-header-back svg path,
    .od-header-back svg path,
    .fv-header-back svg path,
    .hs-header-back svg path,
    .faq-header-back svg path,
    .pl-header-back svg path,
    .cp-header-back svg path {
      stroke: currentColor !important;
      stroke-width: 1.4 !important;
    }

    .site-modal-message {
      position: relative;
      font-size: 14px;
      line-height: 1.7;
      color: #5f695f;
      margin-bottom: 18px;
    }

    .site-modal-actions {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
    }

    .site-modal.has-cancel .site-modal-actions {
      grid-template-columns: 1fr 1fr;
    }

    .site-modal-btn {
      height: 42px;
      border: none;
      border-radius: 999px;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
    }

    .site-modal-btn.ghost {
      display: none;
      background: #f2f4ee;
      color: #5d655d;
    }

    .site-modal.has-cancel .site-modal-btn.ghost {
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .site-modal-btn.solid {
      background: linear-gradient(135deg, #2a6931 0%, #4b8b4f 100%);
      color: #fff;
      box-shadow: 0 12px 24px rgba(42, 105, 49, 0.22);
    }



