.vs-tracking {
  --ink: #202337;
  --muted: #56596a;
  --line: #dfdde1;
  --red: #bc1326;
  width: min(100%, 870px);
  margin: 0 auto;
  color: var(--ink);
}
.vs-tracking *, .vs-tracking *::before, .vs-tracking *::after { box-sizing: border-box; }
.vs-crumb { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; color: var(--muted); font-size: .85rem; }
.vs-crumb a { color: inherit; }
.vs-lookup, .vs-tracking .tracking-detail-lookup, .vs-tracking .tracking-result {
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.vs-lookup { overflow: hidden; box-shadow: 0 10px 30px #4c22220c; }
.vs-lookup-head {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px clamp(20px, 4vw, 40px); border-bottom: 1px solid #eddfcd;
  background: linear-gradient(108deg, #fffaf2 18%, #fbedd6);
}
.vs-lookup-head h1 { color: var(--ink); font-size: clamp(1.65rem, 3vw, 2.65rem); line-height: 1.18; margin: 0; letter-spacing: -.025em; }
.vs-lookup-head p { max-width: 54ch; margin: 8px 0 0; color: var(--muted); }
#main .vs-tracking svg.vs-parcel { width: 82px; height: 82px; fill: none; flex: none; color: #a34e28; transform: rotate(5deg); }
.vs-form { padding: 24px clamp(20px, 4vw, 40px) 32px; margin: 0; }
.vs-form fieldset { padding: 0; margin: 0 0 18px; border: 0; min-width: 0; }
.vs-form legend, .vs-form label { font-size: .95rem; font-weight: 600; color: var(--ink); }
.vs-form legend { margin-bottom: 7px; padding: 0; }
.vs-choice { display: inline-flex; max-width: 100%; gap: 4px; padding: 4px; background: #f2f1f3; border-radius: 12px; }
.vs-choice label { position: relative; cursor: pointer; flex: 1 0 auto; }
.vs-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vs-choice span { display: grid; place-items: center; padding: 5px 16px; min-height: 40px; color: var(--muted); border: 1px solid transparent; border-radius: 9px; }
.vs-choice input:checked + span { background: #fff; border-color: #dca4a8; box-shadow: 0 1px 4px #34111b14; color: var(--red); }
.vs-choice input:focus-visible + span, .vs-tracking :is(a,input,button,summary):focus-visible { outline: 3px solid #b55c21; outline-offset: 2px; }
.vs-input-row, .vs-detail-form { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 14px; }
.vs-detail-form { grid-template-columns: repeat(2,minmax(0,1fr)) auto; }
.vs-input-row label, .vs-detail-form label { display: grid; gap: 6px; min-width: 0; }
.vs-input-row input, .vs-detail-form input:not([type="hidden"]) { width: 100%; height: 48px; border-radius: 9px; border: 1px solid #a9a8b2; padding: 0 14px; background: white; color: var(--ink); font: inherit; font-size: 16px; font-weight: 400; }
.vs-tracking .vs-submit { height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 0 23px; border: 0; border-radius: 9px; background: var(--red); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
#main .vs-submit svg { width: 19px; height: 19px; fill: none; }
.vs-tracking .vs-submit:hover { background: #981123; }
.vs-tracking .tracking-detail-lookup { margin: 16px 0 0; }
.tracking-detail-lookup summary { position: relative; padding: 18px 50px 18px 22px; cursor: pointer; list-style: none; font-weight: 650; }
.tracking-detail-lookup summary::-webkit-details-marker { display: none; }
.tracking-detail-lookup summary::after { content: ''; position: absolute; top: 50%; right: 24px; width: 8px; height: 8px; border: solid var(--red); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); }
.tracking-detail-lookup[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.vs-detail-hint { margin: 0 22px; color: var(--muted); }
.tracking-detail-lookup .vs-form { padding: 18px 22px 22px; }
.vs-tracking .tracking-result { margin: 18px 0 0; }
.vs-tracking .tracking-result h2 { color: var(--ink); }
.vs-tracking .tracking-result .order-status { border-radius: 20px; }
.vs-tracking .shipment-card { border-radius: 12px; }
.vs-tracking .shop-error { margin: 14px 0; border-radius: 10px; }
@media (max-width: 600px) {
  #main .vs-tracking svg.vs-parcel { width: 50px; height: 50px; }
  .vs-lookup-head { gap: 10px; padding: 20px 16px; }
  .vs-lookup-head p { font-size: .93rem; }
  .vs-form { padding: 18px 16px 20px; }
  .vs-choice { display: flex; }
  .vs-choice span { padding-inline: 7px; }
  .vs-input-row, .vs-detail-form { grid-template-columns: minmax(0,1fr); }
  .vs-tracking .vs-submit { width: 100%; }
}
