.ss-stores { display: flex; flex-wrap: wrap; gap: 10px; }
.ss-store {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 20px 0 16px; border-radius: 14px;
  font: 600 16px/1.05 var(--font-sans); letter-spacing: -0.01em; text-align: left;
  cursor: pointer; border: 1px solid transparent;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.ss-store span { display: flex; flex-direction: column; gap: 2px; }
.ss-store small { font-size: 10px; font-weight: 500; letter-spacing: 0.02em; opacity: 0.78; }
.ss-store:active { transform: translateY(1px) scale(0.99); }
.ss-store:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.ss-store--dark { background: var(--n-950); color: #fff; }
.ss-store--dark:hover { background: var(--n-800); }
.ss-store--light { background: #fff; color: var(--ink); border-color: var(--n-300); }
.ss-store--light:hover { border-color: var(--n-700); }
.ss-store--brand { background: var(--brand); color: #fff; }
.ss-store--brand:hover { background: var(--brand-hover); }
.ss-store--glass { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.34); }
.ss-store--glass:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.6); }
.ss-store--glass:focus-visible { outline-color: #fff; }
.ss-store--sm { min-height: 44px; padding: 0 14px 0 12px; border-radius: 12px; font-size: 14px; gap: 8px; }
.ss-store--sm small { font-size: 9px; }


.ss-qr {
  position: relative; width: var(--qr, 112px); height: var(--qr, 112px); flex: none;
  display: grid; place-items: center; align-content: center; gap: 4px;
  border-radius: 14px; background: #fff; color: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line);
  background-image: radial-gradient(circle at 1px 1px, var(--n-200) 1px, transparent 1.2px);
  background-size: 8px 8px;
}
.ss-qr-mark { display: grid; place-items: center; width: 44%; aspect-ratio: 1; border-radius: 10px; background: #fff; box-shadow: 0 0 0 6px #fff; }
.ss-qr-note { font: 600 11px/1.3 var(--font-sans); text-align: center; background: #fff; padding: 2px 6px; border-radius: 6px; }


.ss-phone {
  --pw: 280px;
  position: relative; margin: 0; width: var(--pw); aspect-ratio: 336 / 749; flex: none;
  padding: calc(var(--pw) * 0.034); border-radius: calc(var(--pw) * 0.16);
  background: #16121D;
  box-shadow: var(--shadow-phone), inset 0 0 0 1.5px #2C2535, inset 0 0 0 3px #0C0A10;
}
.ss-phone img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: top;
  border-radius: calc(var(--pw) * 0.128); background: #fff;
}


.ss-dl { width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 40px 100px -30px rgba(27, 15, 61, 0.55); overflow: auto; font-family: var(--font-sans); }
.ss-dl::backdrop { background: rgba(21, 18, 28, 0.56); backdrop-filter: blur(3px); }
.ss-dl[open] { animation: ss-dl-in var(--dur-slow) var(--ease-out); }
@keyframes ss-dl-in { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }
.ss-dl-inner { position: relative; padding: 32px 32px 28px; }
.ss-dl-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; }
.ss-dl-close:hover { background: var(--surface-3); }
.ss-dl h2 { margin: 0 0 8px; font-size: 24px; line-height: 1.3; font-weight: 700; letter-spacing: var(--track-head); padding-right: 40px; }
.ss-dl-lead { margin: 0 0 22px; color: var(--ink-3); font-size: 15px; line-height: 1.6; }
.ss-dl-status { display: none; margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--brand-wash); color: var(--brand-deep); font-size: 14px; line-height: 1.5; }
.ss-dl-status.is-on { display: block; }
.ss-dl-row { display: flex; gap: 18px; align-items: center; }
.ss-dl-row .ss-stores { flex-direction: column; }
.ss-dl hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }


.ss-notify { display: grid; gap: 10px; }
.ss-notify-title { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: var(--track-body); }
.ss-notify label.ss-field-label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.ss-notify-line { display: flex; gap: 8px; }
.ss-notify input[type="tel"] {
  flex: 1; min-width: 0; height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--n-300); background: #fff; color: var(--ink);
  font: 500 17px/1 var(--font-sans); letter-spacing: 0.01em; font-variant-numeric: tabular-nums;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.ss-notify input[type="tel"]::placeholder { color: var(--n-500); }
.ss-notify input[type="tel"]:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus-ring); }
.ss-notify input[aria-invalid="true"] { border-color: #B42318; }
.ss-notify-submit {
  flex: none; height: 52px; padding: 0 20px; border-radius: 12px; border: 0; background: var(--brand); color: #fff;
  font: 700 16px/1 var(--font-sans); cursor: pointer; white-space: nowrap; min-width: 112px;
  transition: background var(--dur-fast), transform var(--dur-fast) var(--ease-out);
}
.ss-notify-submit:hover { background: var(--brand-hover); }
.ss-notify-submit:active { transform: translateY(1px); }
.ss-notify-submit[aria-busy="true"] { cursor: progress; background: var(--p-500); }
.ss-notify-submit:disabled { cursor: not-allowed; }
.ss-notify-help { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.ss-notify-error { margin: 0; font-size: 13px; line-height: 1.5; color: #B42318; font-weight: 600; min-height: 0; }
.ss-notify-error:empty { display: none; }
.ss-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.ss-consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--brand); }
.ss-consent-more { font-size: 12.5px; color: var(--ink-3); }
.ss-consent-more summary { cursor: pointer; width: fit-content; text-decoration: underline; text-underline-offset: 3px; }
.ss-consent-more dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.ss-consent-more dt { font-weight: 600; color: var(--ink-2); }
.ss-consent-more dd { margin: 0; }
.ss-notify-done { display: none; align-items: center; gap: 12px; padding: 16px; border-radius: 14px; background: var(--brand-wash); color: var(--brand-deep); font-size: 15px; line-height: 1.5; font-weight: 600; }
.ss-notify.is-done .ss-notify-done { display: flex; }
.ss-notify.is-done > :not(.ss-notify-done):not(.ss-notify-title) { display: none; }
.ss-notify-done svg { flex: none; }
.ss-notify-done span { flex: 1; }
.ss-notify-reset { flex: none; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--brand-deep); font: 600 13px/1 var(--font-sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ss-consent input[aria-invalid="true"] { outline: 2px solid #B42318; outline-offset: 2px; }
.ss-proto-note { margin: 16px 0 0; font-size: 12px; color: var(--ink-3); }

@media (max-width: 560px) {
  .ss-dl { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .ss-dl-inner { padding: 28px 20px calc(24px + env(safe-area-inset-bottom)); }
  .ss-dl-row { flex-direction: column; align-items: stretch; }
  .ss-dl-row .ss-qr { display: none; }
  .ss-dl-row .ss-stores { flex-direction: row; }
  .ss-dl-row .ss-store { flex: 1; justify-content: center; }
  .ss-notify-line { flex-direction: column; }
  .ss-notify-line input[type="tel"] { flex: none; }
  .ss-notify-submit { width: 100%; }
}
