:root {
  --wine: #250a10;
  --cream: #fdf3e2;
  --gold: #e8b451;
  --ink: #3d2116;
  --muted: #8c765e;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  display: flex;
  justify-content: center;
  background:
    radial-gradient(circle at 12% 4%, rgba(174, 34, 58, 0.4), transparent 33%),
    radial-gradient(circle at 88% 10%, rgba(255, 192, 70, 0.18), transparent 30%),
    linear-gradient(160deg, #22060c, #3a0a15 56%, #180408);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.service-shell {
  width: 100%;
  max-width: 460px;
  min-height: 100vh;
  padding-bottom: 30px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 231, 174, 0.24), transparent 31%),
    linear-gradient(180deg, #fdf4e4, #f7e7d2 55%, #fdf3e5);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.44);
}
.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: max(15px, env(safe-area-inset-top)) 17px 10px;
}
.service-brand { display: flex; align-items: center; gap: 8px; color: #4c1a10; }
.service-brand > span {
  width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(160deg, #ffe7a0, #dca22e); color: #5a1a10;
  font-size: 15px; font-weight: 900; box-shadow: 0 4px 12px rgba(130, 71, 10, 0.26);
}
.service-brand b { display: block; font-size: 15px; font-weight: 900; letter-spacing: 1px; }
.service-brand small { display: block; margin-top: 1px; color: #9c7e56; font-size: 8.5px; }
.service-badge {
  flex: none; padding: 4px 8px; border: 1px solid #d9b97c; border-radius: 9px;
  background: #fff8e7; color: #96661e; font-size: 8.5px; font-weight: 800;
}
.service-hero { padding: 18px 22px 15px; text-align: center; }
.service-kicker { margin: 0 0 7px; color: #b98a3b; font-size: 8px; font-weight: 800; letter-spacing: 2.8px; }
.service-hero h1 { margin: 0; color: #5b1e10; font-family: "Songti SC", "STSong", "Noto Serif SC", serif; font-size: 28px; font-weight: 900; line-height: 1.35; letter-spacing: 0.5px; }
.service-hero > p:not(.service-kicker) { margin: 9px auto 0; max-width: 340px; color: #93785c; font-size: 10.5px; line-height: 1.75; }
.service-points { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; color: #9e7a43; font-size: 9px; }
.service-points i { width: 22px; height: 1px; background: #ddc49b; }
.service-card {
  margin: 0 15px; padding: 18px 16px; border: 1px solid #d9b46e; border-radius: 18px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 238, 197, 0.56), transparent 47%), linear-gradient(180deg, #fffdf7, #fff8ec);
  box-shadow: 0 16px 34px rgba(65, 13, 21, 0.14), inset 0 0 0 4px rgba(255, 255, 255, 0.45);
}
.service-steps { position: relative; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; padding-bottom: 18px; }
.service-steps > span { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #e0c58c; border-radius: 50%; background: #fff8e9; color: #b58a3e; font-size: 9px; font-weight: 900; }
.service-steps > span.active { border-color: #d7a244; background: linear-gradient(180deg, #ffe7a2, #efb844); color: #641b0f; box-shadow: 0 0 0 4px rgba(231, 180, 83, 0.15); }
.service-steps > span.done { border-color: #d7a244; background: #fff1c5; color: #a56a18; }
.service-steps > i { width: 48px; height: 1px; background: #e5d2b2; }
.service-steps > div { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 25px; }
.service-steps > div b { width: 64px; color: #a68c6b; font-size: 8.5px; text-align: center; }
.service-label { display: block; margin-bottom: 7px; color: #69472e; font-size: 11px; font-weight: 800; }
.service-input-row { display: flex; gap: 8px; }
.service-input-row input {
  flex: 1; min-width: 0; height: 44px; padding: 0 11px; border: 1px solid #ddc59e;
  border-radius: 9px; background: #fffefb; color: #3d2116; font-size: 13px; outline: none;
  text-transform: uppercase;
}
.service-input-row input:focus { border-color: #c99640; box-shadow: 0 0 0 3px rgba(201, 150, 64, 0.13); }
.service-input-row button {
  flex: none; min-width: 95px; height: 44px; padding: 0 12px; border: 1px solid #d8a248;
  border-radius: 9px; background: linear-gradient(180deg, #fff2bd, #ffd96c 38%, #f2b33b 72%, #db9625);
  color: #64190e; font-size: 12px; font-weight: 900; cursor: pointer;
}
.service-hint { margin: 9px 0 0; color: #a18868; font-size: 9px; line-height: 1.65; }
.service-hint code { padding: 1px 4px; border-radius: 3px; background: #f5ead5; color: #805625; font-size: 9px; }
.service-error { margin: 10px 0 0; padding: 9px 10px; border: 1px solid #ecc9c0; border-radius: 8px; background: #fff3ef; color: #b34036; font-size: 10px; line-height: 1.6; }
.service-order-tip { margin-bottom: 12px; padding: 9px 10px; border: 1px solid #e6d3ae; border-radius: 8px; background: #fff8e9; color: #8b642c; font-size: 10px; }
.service-field { display: block; margin-bottom: 10px; }
.service-field > span { display: block; margin-bottom: 5px; color: #64432a; font-size: 10.5px; font-weight: 800; }
.service-field input[type="text"] { width: 100%; height: 42px; padding: 0 11px; border: 1px solid #e3cfae; border-radius: 9px; background: #fffefb; color: #3d2116; font-size: 12px; outline: none; }
.service-field input[type="text"]:focus { border-color: #c89643; box-shadow: 0 0 0 3px rgba(200, 150, 67, 0.13); }
.service-field small { display: block; margin-top: 5px; color: #a48d70; font-size: 8.5px; line-height: 1.55; }
.service-upload { display: block; cursor: pointer; }
.service-upload > div { min-height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; overflow: hidden; border: 1.5px dashed #d8bb84; border-radius: 11px; background: radial-gradient(ellipse at 50% 30%, rgba(255, 237, 195, 0.65), transparent 65%), #fffaf1; color: #a07a42; }
.service-upload > div img { width: 100%; height: 145px; object-fit: cover; display: block; }
.service-upload > div span { font-size: 23px; }
.service-upload > div b { font-size: 10.5px; font-weight: 700; }
.service-missing { margin: 4px 0 8px; padding: 9px 10px; border: 1px solid #ecc8be; border-radius: 8px; background: #fff4f0; color: #b33d34; font-size: 10px; line-height: 1.6; }
.service-submit { width: 100%; height: 47px; margin-top: 3px; border: 1px solid #d8a248; border-radius: 11px; background: linear-gradient(180deg, #fff2bd 0%, #ffd96c 38%, #f2b33b 72%, #db9625 100%); color: #64190e; font-size: 15px; font-weight: 900; letter-spacing: 1px; box-shadow: 0 8px 18px rgba(144, 83, 11, 0.24), inset 0 2px 0 rgba(255, 255, 255, 0.72); cursor: pointer; }
.service-submit:disabled { opacity: 0.65; cursor: wait; }
.service-success { text-align: center; padding: 12px 2px 3px; }
.service-success-icon { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto 11px; border-radius: 50%; background: linear-gradient(180deg, #ffe9a9, #eda92e); color: #69200f; font-size: 25px; font-weight: 900; box-shadow: 0 0 0 7px rgba(231, 180, 83, 0.15); }
.service-success h2 { margin: 0; color: #522010; font-size: 21px; font-weight: 900; }
.service-success p { margin: 7px 0 15px; color: #93785d; font-size: 10.5px; }
.service-success-no { margin-bottom: 16px; padding: 10px 12px; border: 1px dashed #dcbf86; border-radius: 9px; background: #fff9ed; color: #9a7a4e; font-size: 10px; }
.service-success-no b { color: #6b3518; font-family: ui-monospace, Consolas, monospace; }
.service-note { margin: 18px 16px 0; padding: 14px 16px; border: 1px solid rgba(198, 157, 91, 0.38); border-radius: 12px; background: rgba(255, 250, 240, 0.76); }
.service-note h2 { margin: 0 0 7px; color: #633b20; font-size: 14px; font-weight: 900; }
.service-note p { margin: 4px 0; color: #91775a; font-size: 9.5px; line-height: 1.65; }
.service-footer { padding: 18px 18px 0; text-align: center; color: #a58c6b; font-size: 8.5px; line-height: 1.7; }
@media (min-width: 640px) { body { padding: 24px 0; } .service-shell { min-height: calc(100vh - 48px); border-radius: 24px; overflow: hidden; } }
