.st-wrap { max-width: 1200px; margin: 32px auto; padding: 0 16px 48px; }
.st-page .st-wrap { padding-top: 24px; }
.st-bar { display:flex; gap:8px; margin-bottom:20px; }
.st-tabs { margin: 0 0 20px; }
.st-total { font-size:18px; margin:16px 0; }
.st-qr { text-align:center; margin:16px 0; min-height:200px; }
.st-qr img { width:220px; height:220px; background:#fff; padding:8px; border:1px solid #eee; border-radius:8px; }
.st-key { font-family: Consolas, "Courier New", monospace; word-break: break-all; }
.st-pay { text-align:center; }
.st-pay-actions { display:flex; gap:10px; justify-content:center; margin-top:16px; flex-wrap:wrap; }

.lp-theme-market.st-page { min-height: 100vh; background: #f6f4fb; }
.st-chk {
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px 20px 80px;
}
.st-chk h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #16161a;
  margin: 4px 0 24px;
}
.st-chk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 840px) {
  .st-chk-grid { grid-template-columns: 1fr; }
  .st-chk-side { position: static; }
}
.st-chk-empty {
  background: #fff;
  border: 1.5px solid #eceaf3;
  border-radius: 22px;
  padding: 48px 24px;
  text-align: center;
}
.st-chk-empty p {
  color: #8b8b96;
  font-size: 16px;
  margin-bottom: 20px;
}
.st-chk-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1.5px solid #eceaf3;
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.st-chk-line.is-blocked { opacity: 0.55; }
.st-chk-cover {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  background: #efeaff;
}
.st-chk-cover--blank {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #6d5cff;
}
.st-chk-meta h2 {
  font-size: 16px;
  font-weight: 700;
  color: #16161a;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}
.st-chk-meta p {
  font-size: 13px;
  color: #8b8b96;
  margin: 0 0 6px;
  line-height: 1.4;
}
.st-chk-unit {
  font-size: 18px;
  font-weight: 800;
  color: #16161a;
}
.st-chk-unit span { font-size: 12px; font-weight: 500; color: #8b8b96; }
.st-chk-warn {
  display: inline-block;
  font-size: 12px;
  color: #e11d48;
  margin-bottom: 4px;
}
.st-chk-ops {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.st-qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #eceaf3;
  border-radius: 999px;
  overflow: hidden;
  background: #f6f4fb;
}
.st-qty-btn {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #16161a;
  font-size: 16px;
  cursor: pointer;
}
.st-qty-btn:hover { color: #6d5cff; }
.st-line-qty {
  width: 40px;
  height: 32px;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #16161a;
  -moz-appearance: textfield;
}
.st-line-qty::-webkit-outer-spin-button,
.st-line-qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.st-chk-line-amt { font-size: 16px; font-weight: 800; color: #16161a; }
.st-chk-del {
  border: 0;
  background: none;
  color: #8b8b96;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
}
.st-chk-del:hover { color: #e11d48; }
.st-chk-side {
  background: #fff;
  border: 1.5px solid #eceaf3;
  border-radius: 22px;
  padding: 24px 22px 20px;
  position: sticky;
  top: 88px;
}
.st-chk-sum {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}
.st-chk-sum span { color: #8b8b96; font-size: 14px; }
.st-chk-sum strong {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #16161a;
}
.st-chk-count { font-size: 13px; color: #8b8b96; margin: 0 0 20px; }
.st-chk-field { display: block; margin-bottom: 16px; }
.st-chk-field > span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #3a3a44;
  margin-bottom: 8px;
}
.st-chk-field input[type="email"],
.st-chk-field input[type="text"] {
  width: 100%;
  height: 42px;
  border: 1.5px solid #eceaf3;
  border-radius: 12px;
  padding: 0 12px;
  font-size: 14px;
  background: #faf9fd;
  color: #16161a;
}
.st-chk-field input[type="email"]:focus,
.st-chk-field input[type="text"]:focus {
  outline: none;
  border-color: #6d5cff;
  box-shadow: 0 0 0 4px rgba(109, 92, 255, 0.16);
}
.st-chk-note {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
  color: #8b8b96;
}
.st-chk-err {
  display: none;
  margin-top: 8px;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.45;
  color: #c2410c;
}
.st-chk-err.is-on { display: block; }
.st-chk-field input.is-invalid {
  border-color: #f97316;
  background: #fff7ed;
}
.st-pickup-form { margin: 16px 0 8px; text-align: left; }
.st-pay-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.st-pay-pill {
  cursor: pointer;
  margin: 0;
}
.st-pay-pill input { position: absolute; opacity: 0; pointer-events: none; }
.st-pay-pill span {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid #eceaf3;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #3a3a44;
  transition: border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.st-pay-pill.is-selected span,
.st-pay-pill:has(input:checked) span {
  border-color: #6d5cff;
  color: #6d5cff;
  box-shadow: 0 0 0 4px rgba(109, 92, 255, 0.16);
}
.st-chk-go {
  width: 100%;
  margin-top: 8px;
  padding: 12px 16px;
  font-size: 15px;
  justify-content: center;
}
.st-chk-refund {
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #16a34a;
  text-align: center;
}
.st-pay-card {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border: 1.5px solid #eceaf3;
  border-radius: 22px;
  padding: 36px 28px 28px;
}
.st-pay-card h1 { margin-bottom: 8px; }
.st-pay-no { color: #8b8b96; font-size: 13px; margin-bottom: 8px; }
.st-pay-no code { font-size: 13px; color: #16161a; }
.st-pay-amt {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #16161a;
  margin: 8px 0;
  min-height: 1.2em;
}
.st-pay-hint { color: #8b8b96; font-size: 13px; line-height: 1.5; margin: 0 0 8px; }
.lp-theme-market .st-qr img {
  border: 1.5px solid #eceaf3;
  border-radius: 16px;
  padding: 12px;
  box-shadow: none;
}
.st-key-alert {
  text-align: left;
  background: #fff7ed;
  border: 1.5px solid #fdba74;
  border-radius: 16px;
  padding: 14px 16px;
  margin: 16px 0 8px;
}
.st-key-alert strong {
  display: block;
  font-size: 15px;
  color: #c2410c;
  margin-bottom: 4px;
}
.st-key-alert p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #9a3412;
}
.st-key-list {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  text-align: left;
}
.st-key-list li {
  background: #faf9fd;
  border: 1.5px solid #eceaf3;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 8px;
}
.st-key-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.st-key-list li span {
  display: block;
  font-size: 13px;
  color: #8b8b96;
  margin: 0;
}
.st-key {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #16161a;
  user-select: all;
  line-height: 1.45;
}
.st-copy-btn {
  flex-shrink: 0;
  border: 1.5px solid #6d5cff;
  background: #efeaff;
  color: #6d5cff;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.st-copy-btn:hover { background: #6d5cff; color: #fff; }
.st-copy-btn.is-copied {
  border-color: #16a34a;
  background: #ecfdf3;
  color: #15803d;
}
.lp-btn.st-copy-all.is-copied,
.lp-btn.st-copy-all.is-copied:hover {
  border-color: #16a34a !important;
  background: #ecfdf3 !important;
  color: #15803d !important;
  box-shadow: none !important;
}
.st-copy-all {
  width: 100%;
  justify-content: center;
  margin: 4px 0 12px;
  padding: 12px 16px;
}
.st-result-card .lp-btn-outline { margin-top: 4px; }
@media (max-width: 640px) {
  .st-chk-line {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .st-chk-cover { width: 56px; height: 56px; }
  .st-chk-ops {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .st-chk h1 { font-size: 26px; }
}
