dialog.sale-consent {
  position: fixed; inset: 0; margin: auto auto 0; box-sizing: border-box;
  width: min(100vw, 440px); max-width: 100vw; max-height: 92dvh; padding: 0;
  overflow: auto; overscroll-behavior: contain; color-scheme: dark;
  border: 0; border-radius: 24px 24px 0 0; outline: none;
  color: white; background: #171732; box-shadow: 0 40px 100px -30px #000000f2;
  font: 400 16px/1.5 'Proxima Nova',system-ui,sans-serif;
  text-align: left; letter-spacing: normal;
}
.sale-consent[open] { animation: sc-sheet-in .28s cubic-bezier(.22,1,.36,1) backwards; }
.sale-consent.sc-leaving { animation: sc-sheet-out .18s cubic-bezier(.4,0,1,1) forwards; }
.sale-consent::backdrop { background: rgba(8,8,20,.72); backdrop-filter: blur(8px); }
.sale-consent *, .sale-consent *::before, .sale-consent *::after { box-sizing: border-box; }
.sale-consent .sc-body { position: relative; padding: 24px; }
.sale-consent .sc-title {
  margin: 0; padding: 0 40px 0 0; color: white;
  font: 800 26px/1.12 'Proxima Nova',system-ui,sans-serif;
  letter-spacing: -.015em; text-transform: none;
}
.sale-consent .sc-close {
  position: absolute; inset: 16px 16px auto auto; display: grid; place-items: center;
  width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
  color: #adadc9; background: rgba(8,8,20,.3); cursor: pointer;
}
.sc-close::before, .sc-close::after {
  content: ''; grid-area: 1/1; width: 15px; height: 2px; border-radius: 2px;
  background: currentColor; transform: rotate(45deg);
}
.sc-close::after { transform: rotate(-45deg); }
.sale-consent .sc-offers {
  list-style: none; display: grid; gap: 4px; max-height: 300px; overflow-y: auto;
  margin: 20px 0 0; padding: 0; scrollbar-width: thin;
}
.sc-row { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 12px; background: rgba(8,8,20,.25); }
.sc-photo-frame { display: flex; flex: 0 0 32px; height: 44px; justify-content: center; }
.sc-photo-frame .sc-photo { height: 100%; width: auto; max-width: 100%; object-fit: contain; border-radius: 4px; }
.sc-name, .sc-price { font-size: 14px; font-weight: 700; line-height: 20px; }
.sc-name { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sc-price { flex-shrink: 0; color: #aaaac6; font-variant-numeric: tabular-nums; }
.sc-total {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.06);
  color: #aaaac6; font-size: 14px; font-weight: 700;
}
.sc-total strong { color: white; font-size: 22px; font-weight: 800; line-height: 1.5; font-variant-numeric: tabular-nums; }
.sale-consent .sc-form, .sale-consent .sc-form .controls {
  display: block; min-width: 0; margin: 0; padding: 0; border: 0; background: transparent;
}
.sale-consent .sc-form .field.check {
  display: flex; gap: 12px; width: fit-content; min-height: 24px; align-items: center; margin: 16px 0 0; padding: 0;
  color: white; cursor: pointer; font: 700 13px/1.5 'Proxima Nova',system-ui,sans-serif;
}
.sale-consent .check input[type=checkbox] {
  appearance: none; position: relative; flex: none; width: 40px; height: 24px; margin: 0;
  border: 0; border-radius: 20px; background: rgba(8,8,20,.45); cursor: pointer; transition: background-color .09s;
}
.sale-consent .check input::before {
  content: ''; position: absolute; inset: 4px auto auto 4px; width: 16px; height: 16px;
  border-radius: 50%; background: rgba(255,255,255,.7); transition: transform .15s;
}
.sale-consent .check input:checked { background: #714df7; }
.sale-consent .check input:checked::before { transform: translateX(16px); background: white; }
.sale-consent .sc-form .actions { display: block; margin: 20px 0 0; }
.sale-consent .sc-form button[type=submit] {
  display: block; width: 100%; height: 48px; min-height: 48px; margin: 0; padding: 0; border: 2px solid transparent;
  border-radius: 12px; color: white; background: linear-gradient(#2f10ba,#6443f5) padding-box,linear-gradient(#4424d1,#7b5dff) border-box;
  font: 900 15px/1.5 'Proxima Nova',system-ui,sans-serif; cursor: pointer;
}
.sale-consent .sc-form fieldset:disabled button, .sale-consent .sc-form button:disabled { opacity: .65; }
.sale-consent .sc-form .form-status:empty { display: none; }
.sale-consent .sc-disclaimer { margin: 16px 0 0; color: rgba(255,255,255,.55); font: 500 12px/18px 'Proxima Nova',system-ui,sans-serif; text-align: center; }
.sale-consent .sc-disclaimer .sc-terms-link {
  appearance: none; display: inline; margin: 0; padding: 0; border: 0; background: transparent;
  white-space: nowrap; cursor: pointer; color: rgba(255,255,255,.85); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.sale-consent :is(button,input,a):focus-visible { outline: 2px solid #b4a4ff; outline-offset: 2px; }
@keyframes sc-sheet-in { from { transform: translateY(28px); opacity: 0; } }
@keyframes sc-sheet-out { to { transform: translateY(28px); opacity: 0; } }
@keyframes sc-panel-in { from { transform: translateY(8px) scale(.98); opacity: 0; } }
@keyframes sc-panel-out { to { transform: scale(.98); opacity: 0; } }
@media (min-width: 640px) {
  dialog.sale-consent { margin: auto; width: min(calc(100vw - 48px),440px); border-radius: 24px; }
  .sale-consent .sc-body { padding: 28px; }
  .sale-consent[open] { animation-name: sc-panel-in; animation-duration: .24s; }
  .sale-consent.sc-leaving { animation-name: sc-panel-out; animation-duration: .14s; }
}
@media (prefers-reduced-motion: reduce) {
  .sale-consent[open], .sale-consent.sc-leaving { animation: none; }
  .sale-consent .check input, .sale-consent .check input::before { transition: none; }
}

dialog.sc-terms-dialog {
  position: fixed; inset: 0; margin: auto; padding: 0; width: min(94vw,960px); max-width: 100vw;
  height: min(82dvh,820px); max-height: 92dvh; overflow: hidden;
  border: 0; border-radius: 22px; color: white; background: #141318;
}
.sc-terms-dialog::backdrop { background: #04030ab8; backdrop-filter: blur(8px); }
.sc-terms-document { display: block; width: 100%; height: calc(100% - 60px); margin-top: 60px; border: 0; }
