.shop-recipient-slot { display: none; }
.recipient-input:has(input:not(:placeholder-shown)) + .shop-recipient-slot,
.shop-recipient-slot:has(.hint:not(:empty), .person:not([hidden])) {
  display: grid; align-content: center; min-height: 58px;
}
.person.shop-recipient {
  display: flex; align-items: center; gap: 11px;
  min-width: 0; min-height: 58px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  color: var(--ink); font-size: 15px; line-height: 1.3;
}
.shop-recipient[hidden], .shop-recipient [hidden], .shop-pay-options[hidden] { display: none; }
.shop-recipient-avatar {
  position: relative; display: grid; flex: 0 0 38px; height: 38px; place-items: center;
  overflow: hidden; border-radius: 50%; background: var(--selected); color: var(--accent);
  font-size: 16px; font-weight: 600;
}
.shop-recipient-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--surface); }
.shop-recipient-copy { display: grid; min-width: 0; flex: 1; gap: 2px; text-align: start; }
.shop-recipient-copy bdi { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
#mini-person-name { font-weight: 550; }
#mini-person-username { color: var(--muted); font-size: 13px; }
.shop-verified-mark { flex: none; width: 16px; height: 16px; fill: none; stroke: #258659; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.shop-pay-options {
  display: grid; grid-template-columns: repeat(2,minmax(min-content,1fr)); gap: 8px;
  --choice-blue: #176cd0;
}
.shop-pay-choice {
  position: relative; display: grid; grid-template-columns: 20px minmax(max-content,1fr) 16px; align-items: center;
  min-width: min-content; min-height: 49px; column-gap: 7px; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  color: var(--ink); font-size: clamp(12px,3.5vw,14px); line-height: 1.25; font-weight: 500;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.shop-pay-choice:only-child { grid-column: 1 / -1; }
.shop-pay-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; width: 100%; height: 100%; cursor: inherit; }
.shop-pay-choice svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.shop-pay-choice span { white-space: nowrap; }
.shop-pay-mark { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--muted); display: grid; place-items: center; }
.shop-pay-choice:has(input:checked) { border-color: var(--choice-blue); box-shadow: inset 0 0 0 1px var(--choice-blue); }
.shop-pay-choice input:checked ~ .shop-pay-mark { background: var(--choice-blue); border-color: var(--choice-blue); }
.shop-pay-choice input:checked ~ .shop-pay-mark::after { content: ""; width: 4px; height: 7px; border: solid white; border-width: 0 1.5px 1.5px 0; transform: translateY(-1px) rotate(40deg); }
.shop-pay-choice:focus-within { outline: 2px solid var(--choice-blue); outline-offset: 2px; }
.shop-pay-choice:has(input:focus:not(:focus-visible)) { outline: none; }
.shop-pay-choice:has(input:disabled) { cursor: default; opacity: .7; }
@media (max-width: 420px) {
  .shop-pay-choice { column-gap: 5px; padding-inline: 8px; grid-template-columns: 17px minmax(max-content,1fr) 14px; }
  .shop-pay-choice svg { width: 17px; }
  .shop-pay-mark { width: 14px; height: 14px; }
}
@media (max-width: 300px) { .shop-pay-options { grid-template-columns: 1fr; } }
:root[data-shop-theme="dark"] .shop-pay-options { --choice-blue: #70afff; }
:root[data-shop-theme="dark"] .shop-verified-mark { stroke: #73d5a5; }
@media (prefers-color-scheme: dark) {
  :root:not([data-shop-theme="light"]) .shop-pay-options { --choice-blue: #70afff; }
  :root:not([data-shop-theme="light"]) .shop-verified-mark { stroke: #73d5a5; }
}
.smmese-rouble-value { display: inline-flex; align-items: baseline; white-space: nowrap; }
.smmese-rouble-glyph { display: inline-block; flex: none; overflow: visible; vertical-align: -.2em; }
