/* ============================================================
     设计令牌 (Design Tokens) — 遵循 KaitekiTV 品牌规范
     ============================================================ */
  :root {
    /* 品牌色 (Brand) */
    --color-navy:        #272343;
    --color-yellow:      #ffd803;
    --color-white:       #fffffe;
    --color-pink:        #f03d61;
    --color-pink-light:  #fe7c8a;
    --color-light-yellow:#fff6e4;

    /* 灰阶 (Grayscale) */
    --gray-05: #fafafa;
    --gray-1:  #f0f0f0;
    --gray-2:  #f3f3f5;
    --gray-3:  #e1e1e1;
    --gray-4:  #454547;

    /* 圆角 (Radius) */
    --radius-btn:   100px;  /* 药丸形（与支持网站一致） */
    --radius-card:  12px;
    --radius-input: 8px;

    /* 阴影 (Shadow) */
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-btn:  0 4px 12px rgba(39, 35, 67, 0.12);

    /* 字体 (使用系统字体，无需加载Web字体) */
    --font-system:
      -apple-system, BlinkMacSystemFont, "Hiragino Sans",
      "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic",
      Meiryo, sans-serif;
  }

  *, *::before, *::after { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    font-family: var(--font-system);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-navy);
    background: var(--gray-05);
    -webkit-font-smoothing: antialiased;
  }
  a { color: var(--color-pink); text-decoration: underline; }
  a:hover { color: var(--color-pink-light); }

  /* 页面头部（已删除返回按钮，仅居中显示标题） */
  .page-header {
    background: var(--color-navy);
    color: var(--color-white);
    padding: 16px 24px;
    text-align: center;
  }
  .page-header h1 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.02em;
  }
  .container {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 16px 80px;
  }
  @media (min-width: 768px) {
    .page-header { padding: 20px 32px; }
    .page-header h1 { font-size: 22px; }
    .container { padding: 56px 24px 96px; }
  }

  /* 表单卡片 */
  .form-card {
    background: var(--color-white);
    border: 1px solid var(--gray-3);
    border-radius: var(--radius-card);
    padding: 28px 20px;
    box-shadow: var(--shadow-card);
  }
  @media (min-width: 640px) { .form-card { padding: 40px 32px; } }
  .form-intro {
    font-size: 14px;
    color: var(--gray-4);
    margin: 0 0 24px;
  }

  /* 表单字段 */
  .field { margin-bottom: 20px; }
  .field:last-of-type { margin-bottom: 0; }
  .field-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
  }
  @media (min-width: 640px) {
    .field-row { grid-template-columns: 1fr 1fr; gap: 20px; }
    .field-row .field { margin-bottom: 0; }
  }
  .label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 6px;
  }
  .badge-required {
    display: inline-block;
    background: var(--color-pink);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 2px 8px;
    border-radius: 4px;
    line-height: 1.5;
  }
  .input, .select {
    width: 100%;
    height: 44px;
    padding: 10px 14px;
    font-size: 15px;
    font-family: inherit;
    color: var(--color-navy);
    background: var(--color-white);
    border: 1px solid var(--gray-3);
    border-radius: var(--radius-input);
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    transition: border-color .15s, box-shadow .15s;
  }
  .input::placeholder { color: #a0a0a8; }
  .input:focus, .select:focus {
    border-color: #3898EC;
    box-shadow: 0 0 0 3px rgba(56, 152, 236, 0.2);
    outline: 0;
  }
  .select-wrap { position: relative; }
  .select-wrap::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 8px; height: 8px;
    border-right: 2px solid var(--gray-4);
    border-bottom: 2px solid var(--gray-4);
    transform: translateY(-75%) rotate(45deg);
    pointer-events: none;
  }
  .select-wrap .input { padding-right: 36px; cursor: pointer; }

  /* 提示框 (Alert) */
  .alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #fff1f4;
    border: 1px solid rgba(240, 61, 97, 0.25);
    border-radius: 8px;
    padding: 10px 14px;
    margin: 12px 0 0;
    font-size: 13px;
    color: var(--color-pink);
    font-weight: 600;
  }
  .alert::before {
    content: "!";
    flex: 0 0 18px;
    width: 18px; height: 18px;
    background: var(--color-pink);
    color: var(--color-white);
    border-radius: 50%;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
  }

  /* 用户协议同意框 */
  .agreement {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 28px 0 24px;
    font-size: 14px;
    color: var(--color-navy);
  }
  .agreement input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: var(--color-navy);
    cursor: pointer;
  }

  /* CTA按钮（海军蓝 / 药丸形 / 悬停反转色） */
  .btn-primary {
    display: block;
    width: 100%;
    background: var(--color-navy);
    color: var(--color-white);
    border: 2px solid var(--color-navy);    /* 悬停反转时作为边框 */
    border-radius: var(--radius-btn);       /* 药丸形 */
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    transition: background .2s ease, color .2s ease,
                border-color .2s ease, box-shadow .2s ease, transform .1s;
  }
  /* 悬停时反转: 白底 + 海军蓝字 + 海军蓝边框 */
  .btn-primary:hover {
    background: var(--color-white);
    color: var(--color-navy);
    border-color: var(--color-navy);
    box-shadow: 0 6px 16px rgba(39, 35, 67, 0.18);
  }
  .btn-primary:active { transform: translateY(1px); }
  .btn-primary:disabled {
    background: var(--gray-3);
    color: var(--gray-4);
    border-color: var(--gray-3);
    cursor: not-allowed;
    box-shadow: none;
  }

  .hint { font-size: 12px; color: var(--gray-4); margin-top: 6px; }

  /* 原有样式保持 */
  .zhezhao {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  .point {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    visibility: hidden;
  }
  .pop-tishi {
    background: var(--color-white);
    border-radius: var(--radius-card);
    padding: 24px;
    box-shadow: var(--shadow-card);
    text-align: center;
  }
  .pop-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 16px;
  }
  .pop-msg {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-4);
    margin-bottom: 24px;
  }
  .pop-btn {
    display: flex;
    justify-content: center;
  }
  .pop-btn > div {
    background: var(--color-navy);
    color: var(--color-white);
    border: 2px solid var(--color-navy);
    border-radius: var(--radius-btn);
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
  }
  .pop-btn > div:hover {
    background: var(--color-white);
    color: var(--color-navy);
  }
  .address {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-white);
    border-radius: var(--radius-card);
    padding: 24px;
    box-shadow: var(--shadow-card);
    z-index: 1000;
    width: 90%;
    max-width: 400px;
  }
  .address-title {
    text-align: center;
  }
  .title-center {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 16px;
  }
  .title-right {
    position: absolute;
    top: 16px;
    right: 16px;
    cursor: pointer;
  }
  .city-select {
    margin-top: 16px;
  }
  .city-select div {
    padding: 12px;
    border-bottom: 1px solid var(--gray-3);
    cursor: pointer;
    transition: background .15s;
  }
  .city-select div:hover {
    background: var(--gray-1);
  }
  .jiazai {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(39, 35, 67, 0.9);
    color: var(--color-white);
    border-radius: var(--radius-card);
    padding: 24px;
    box-shadow: var(--shadow-card);
    z-index: 1000;
    text-align: center;
  }
  .jiazai img {
    margin-bottom: 12px;
  }
  .none {
    display: none;
  }
