.shop-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.shop-fieldset:disabled {
  opacity: 0.75;
}
.shop-fieldset legend {
  margin-bottom: 12px;
  font-weight: 600;
}
.shop-inline {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 14px;
}
.shop-inline > label {
  flex: 1;
  min-width: 160px;
}
.shop-inline .account__button {
  min-height: 44px;
}
.account__button {
  cursor: pointer;
}
.account__button:disabled {
  opacity: 0.5;
  cursor: default;
}
.shop-copy {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
}
.shop-note {
  color: #776f86;
  font-size: 13px;
  line-height: 1.65;
}
.shop-email {
  overflow-wrap: anywhere;
}
.auth-card {
  width: min(100% - 40px, 480px);
  margin: 20px auto 80px;
  position: relative;
  z-index: 1;
}
.auth-card h1 {
  text-align: left;
  font-size: 32px;
  margin: 16px 0;
}
.login-page .auth-card {
  z-index: 2;
}
.auth-social {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #b9a0cc66;
}
.auth-social > p {
  margin: 0 0 14px;
  color: #71617f;
  font-size: 14px;
}
.auth-social__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.auth-social__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 100px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #b9a0cc80;
  border-radius: 8px;
  background: #f6eff5;
  color: #583fa1;
  font: 500 14px/1.4 var(--font-body);
  cursor: pointer;
}
.auth-social__icon {
  display: block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  object-fit: contain;
}
.auth-social__button:hover:not(:disabled) {
  background: #e8ddf3;
}
.auth-social__button:disabled {
  opacity: 0.5;
  cursor: default;
}
.auth-card > p {
  line-height: 1.65;
}
.auth-card form {
  margin-top: 24px;
}
.shop-release-list {
  display: grid;
  gap: 16px;
}
.shop-release-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 20px;
  border: 1px solid #e9e7ee;
  border-radius: 12px;
  transition: background 0.2s;
}
.shop-release-row:hover {
  background: #f6f4fb;
}
.shop-release-row__cover img {
  width: 90px;
  height: 130px;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 4px 6px 14px #35275224;
}
.shop-release-row h3 {
  margin: 8px 0;
  font-size: 21px;
}
.shop-release-row p {
  margin: 8px 0;
  color: #716a7f;
  font-size: 13px;
}
.shop-release-row__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  max-width: 230px;
}
.release-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: 20px;
}
.release-editor > form {
  min-width: 0;
}
.release-editor .admin-panel {
  margin-top: 0;
}
.release-editor__actions {
  align-items: center;
  gap: 10px;
}
.release-editor__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #ded9ec;
  border-radius: 8px;
  background: #f6f4fb;
  color: #6248d6;
  font: 500 14px/1.4 var(--font-body);
  white-space: nowrap;
}
.release-editor__back:hover {
  background: #eee8f7;
  border-color: #c6b8df;
}
.release-editor__back svg {
  flex-shrink: 0;
}
.release-editor__save {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e4e2ea;
}
.release-editor__save p {
  flex: 1 1 180px;
  margin: 0;
  color: #615e6b;
  font-size: 14px;
}
.release-editor__save .account__button {
  min-width: 180px;
  max-width: 100%;
  margin-left: auto;
  border: 0;
  font: 600 14px/1.4 var(--font-body);
}
@media (max-width: 760px) {
  .release-editor__save .account__button {
    width: 100%;
  }
}
.release-preview {
  position: relative;
  padding: var(--admin-panel-padding);
  overflow: hidden;
}
.release-preview > h2 {
  font-size: 24px;
  overflow-wrap: anywhere;
}
.release-preview > p {
  font-size: 13px;
  line-height: 1.6;
}
.release-preview > strong {
  color: #6248d6;
  font-size: 22px;
}
.release-preview__scene {
  position: relative;
  display: grid;
  place-items: center;
  height: 290px;
  margin: 20px -20px;
  overflow: hidden;
  background: radial-gradient(ellipse at 40% 70%, #dad1f8, #f7f5ff);
}
.release-preview__cover {
  width: 130px;
  height: 195px;
  object-fit: cover;
  transform: rotate(-6deg);
  box-shadow: 10px 18px 22px #30204944;
  z-index: 1;
}
.release-preview__figure {
  position: absolute;
  width: 90%;
  height: 100%;
  right: -10%;
  object-fit: contain;
  opacity: 0.65;
}
.release-preview__title {
  position: absolute;
  bottom: 10px;
  width: 90%;
  max-height: 75px;
  object-fit: contain;
  z-index: 2;
}
.shop-gallery {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.shop-gallery img {
  width: min(100%, 200px);
  max-height: 280px;
  object-fit: contain;
  border-radius: 8px;
}
.shop-merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.shop-merch-card {
  padding: 16px;
  border: 1px solid #e9e7ee;
  border-radius: 10px;
}
.shop-merch-card > img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #f6f4fb;
  border-radius: 6px;
}
.shop-merch-card h3 {
  margin: 16px 0 8px;
}
.shop-merch-card p {
  font-size: 13px;
  color: #716a7f;
}
.shop-category {
  padding: 20px 0;
  margin: 20px 0;
  border-top: 1px solid #e9e7ee;
  border-bottom: 1px solid #e9e7ee;
}
.shop-category summary,
.shop-order-card summary,
.admin-table summary {
  cursor: pointer;
  color: #6248d6;
  padding: 12px 0;
}
.shop-dialog {
  width: min(640px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 28px;
  border: 1px solid #e4e2ea;
  border-radius: 16px;
  background: #fff;
  color: #25232b;
  box-shadow: 0 30px 100px #231a4755;
}
.shop-dialog::backdrop {
  background: #21183870;
  backdrop-filter: blur(4px);
}
html.admin-merch-modal-open {
  overflow: hidden;
}
.shop-dialog.merch-editor-dialog {
  width: min(800px, calc(100% - 32px));
  overscroll-behavior: contain;
}
.merch-editor-dialog form {
  margin-top: 24px;
}
.merch-editor-dialog .shop-inline {
  margin-top: 24px;
}
@media (max-width: 600px) {
  .shop-dialog.merch-editor-dialog {
    padding: 20px;
  }
}
.shop-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.shop-dialog__head h2 {
  margin: 0;
  font-size: 24px;
}
.shop-dialog__head button {
  width: 36px;
  height: 36px;
  border: 1px solid #ded9ec;
  border-radius: 50%;
  background: #f6f4fb;
  color: #6248d6;
  cursor: pointer;
  font-size: 22px;
}
.shop-dialog > p {
  line-height: 1.65;
  font-size: 14px;
}
.shop-dialog .shop-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e9e7ee;
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
}
.shop-dialog .shop-choice input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  flex-shrink: 0;
  accent-color: #6248d6;
}
.shop-choice > span {
  flex: 1;
}
.shop-dialog .shop-choice strong {
  color: #6248d6;
}
.shop-dialog .shop-fieldset > .shop-fieldset {
  margin-top: 12px;
}
.shop-deliveries {
  scroll-margin-top: 30px;
}
.shop-deliveries h2 {
  font-size: 23px;
  margin: 0;
}
.shop-delivery-list {
  display: grid;
  gap: 12px;
}
.shop-delivery-card {
  border: 1px solid #e4e2ea;
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 12px;
  background: #fdfcff;
}
.shop-delivery-card h3 {
  margin: 0 0 12px;
}
.shop-delivery-card p {
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.shop-order-card {
  padding: 26px;
  margin-bottom: 24px;
}
.shop-order-items {
  list-style: none;
  padding: 0;
  margin: 22px 0;
}
.shop-order-items > li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid #e9e7ee;
}
.shop-order-items p {
  color: #776f86;
  font-size: 13px;
  line-height: 1.6;
}
.shop-order-items > li > span {
  white-space: nowrap;
  font-size: 14px;
}
.shop-order-details {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
  padding: 20px;
  background: #f6f4fb;
  border-radius: 10px;
}
.shop-order-details dt {
  color: #776f86;
  font-size: 12px;
  margin-bottom: 6px;
}
.shop-order-details dd {
  margin: 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.shop-order-card details form {
  margin: 16px 0;
}
.shop-order-card > .admin-table__action {
  margin-top: 15px;
}
.shop-order-card > form {
  margin-top: 18px;
}
.shop-order-card > p[role='status']:empty {
  display: none;
}
.shop-checkout-merch {
  margin: 30px 0;
}
.shop-checkout-merch__item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #e4e2ea;
}
.shop-checkout-merch__item img {
  width: 90px;
  height: 110px;
  object-fit: contain;
}
.shop-checkout-merch__item h3 {
  margin: 0;
}
.shop-checkout-merch__item p {
  font-size: 14px;
  line-height: 1.6;
}
.shop-checkout-merch__item label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.cart-items > .shop-deliveries {
  margin-top: 35px;
}
.cart-order-form .shop-fieldset {
  display: grid;
  gap: 20px;
}
.cart-order-form label.cart-check {
  display: flex;
  align-items: start;
  gap: 10px;
  line-height: 1.6;
}
.cart-order-form label.cart-check input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: #6248d6;
}
.admin-table p {
  font-size: 12px;
  line-height: 1.65;
  margin: 8px 0;
}
.admin-table details form {
  min-width: 210px;
  margin-bottom: 15px;
}
.shop-public-section {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #dcd8e8;
}
@media (max-width: 1350px) {
  .release-editor {
    grid-template-columns: 1fr;
  }
  .release-preview {
    position: static;
  }
  .release-preview__scene {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 1100px) {
  .shop-release-row {
    grid-template-columns: 90px minmax(0, 1fr);
  }
  .shop-release-row__actions {
    grid-column: 2;
    max-width: none;
  }
}
@media (max-width: 760px) {
  .shop-release-row {
    grid-template-columns: 65px minmax(0, 1fr);
    padding: 15px;
    gap: 15px;
  }
  .shop-release-row__cover img {
    width: 65px;
    height: 95px;
  }
  .shop-release-row__actions {
    grid-column: 1 / -1;
    max-width: none;
  }
  .shop-release-row h3 {
    font-size: 18px;
  }
  .shop-order-card {
    padding: 18px;
  }
  .shop-order-details {
    grid-template-columns: 1fr;
  }
  .shop-dialog {
    padding: 20px;
  }
  .shop-inline > .account__button {
    width: 100%;
  }
  .shop-order-items > li {
    flex-direction: column;
    gap: 2px;
  }
}
