/* Base */

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: #101010;
  color: #f5f5f5;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

/* Auth */

.auth-box {
  width: min(480px, calc(100vw - 32px));
  margin: 80px auto;
  padding: 28px;
  border-radius: 18px;
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.auth-box h1 {
  margin-bottom: 12px;
  font-size: 32px;
}

.auth-box h2 {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.86);
}

.auth-section {
  margin-top: 20px;
}

.auth-section h3 {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
}

.auth-box input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  outline: 0;
  background: #202020;
  color: #fff;
}

.auth-box button,
#sendCodeBtn,
#verifyCodeBtn {
  min-height: 44px;
  margin-top: 12px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #dc5b42, #8372e8);
  color: #fff;
  font-weight: 700;
}

#authMessage {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

/* Старый userBox оставляем только для auth.js, визуально скрываем */

#userBox {
  display: none !important;
}

/* App shell */

#appBox.app-shell {
  display: grid;
}

#appBox[hidden],
#authBox[hidden],
#userBox[hidden] {
  display: none !important;
}

.app-shell {
  grid-template-columns: 290px minmax(0, 1fr);
  min-height: 100vh;
  background: #101010;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 18px;
  background: #181818;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 44px;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.sidebar__logo {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: linear-gradient(135deg, #df6048, #8775ff);
}

.sidebar__nav {
  display: grid;
  gap: 8px;
}

.sidebar__link {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  font-size: 18px;
  font-weight: 500;
  text-align: left;
}

.sidebar__link.active,
.sidebar__link:hover {
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
}

.sidebar__footer {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 28px;
  display: grid;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar__balance {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.55);
}

.sidebar__balance strong {
  color: #fff;
}

.sidebar__logout {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  text-align: left;
  font-size: 15px;
}

.sidebar__logout:hover {
  color: #fff;
}

.app-main {
  width: 100%;
  min-width: 0;
  padding: 42px 48px;
}

.page-header h1 {
  margin: 0 0 30px;
  color: #fff;
  font-size: 34px;
  line-height: 1.1;
}

.page-subtitle {
  margin-top: -18px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.48);
}

/* Create */

.create-layout {
  display: grid;
  grid-template-columns: minmax(360px, 500px) minmax(320px, 520px);
  gap: 34px;
  align-items: start;
}

.create-card,
.result-card,
.settings-box,
.balance-card {
  border-radius: 18px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.create-card {
  padding: 28px;
}

.create-card label,
.settings-box label {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 15px;
  font-weight: 500;
}

.create-card input[type="file"],
.create-card textarea,
.create-card select,
.settings-box input {
  width: 100%;
  margin-top: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  outline: 0;
  background: #222;
  color: #fff;
}

.create-card input[type="file"] {
  padding: 13px;
}

.create-card textarea {
  min-height: 110px;
  resize: vertical;
  padding: 14px 16px;
}

.create-card select {
  height: 44px;
  padding: 0 12px;
}

.prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 22px;
}

.prompt-chips button {
  margin: 0;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #202020;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.prompt-chips button:hover {
  background: #2a2a2a;
  color: #fff;
}

.cost-box {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 16px;
  border-radius: 12px;
  background: #202020;
}

.cost-box div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.cost-box span {
  color: rgba(255, 255, 255, 0.58);
}

.cost-box strong {
  color: #fff;
}

.create-button {
  width: 100%;
  height: 54px;
  margin: 0;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #dc5b42, #8372e8);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
}

.result-card {
  min-height: 528px;
  padding: 18px;
}

.status {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

#result img {
  display: block;
  width: 100%;
  margin-top: 16px;
  border-radius: 14px;
}

/* Gallery */

.gallery {
  padding: 24px;
  border-radius: 24px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.gallery__title {
  margin: 0 0 6px;
  font-size: 26px;
}

.gallery__storage {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.52);
}

.gallery__upload {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
}

.gallery__upload input {
  display: none;
}

.gallery__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.gallery__tab {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
}

.gallery__tab.active,
.gallery__tab:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.gallery__empty {
  padding: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.48);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.gallery-card {
  overflow: hidden;
  border-radius: 18px;
  background: #202020;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-card__image-link,
.gallery-card__image-button {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  cursor: zoom-in;
}

.gallery-card__image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}

.gallery-card__body {
  padding: 10px;
}

.gallery-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.52);
}

.gallery-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gallery-card__button {
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
}

.gallery-card__button:hover {
  background: rgba(255, 255, 255, 0.18);
}

.gallery-card__button--danger {
  background: rgba(255, 80, 80, 0.16);
}

/* Gallery modal */

.gallery-modal-open {
  overflow: hidden;
}

.gallery-modal[hidden] {
  display: none !important;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 28px;
}

.gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.gallery-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1200px, calc(100vw - 56px));
  max-height: calc(100vh - 56px);
  overflow: hidden;
  border-radius: 24px;
  background: #111;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.gallery-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.gallery-modal__image-wrap {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #111;
}

.gallery-modal__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 190px);
  object-fit: contain;
}

.gallery-modal__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  background: #f2f2f2;
  color: #111;
}

.gallery-modal__details {
  min-width: 0;
}

.gallery-modal__info,
.gallery-modal__engine {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.25;
}

.gallery-modal__engine {
  font-weight: 700;
}

.gallery-modal__prompt {
  display: -webkit-box;
  max-width: 720px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.35;
  opacity: 0.85;
  overflow-wrap: anywhere;
}

.gallery-modal__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.gallery-modal__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-width: 118px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  color: #111;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.gallery-modal__action:hover {
  background: rgba(0, 0, 0, 0.14);
}

.gallery-modal__action--danger {
  background: rgba(255, 80, 80, 0.22);
}

/* History */

.page--history {
  max-width: 880px;
}

.history-list {
  display: grid;
  gap: 10px;
}

.history-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 92px 120px 130px;
  align-items: center;
  gap: 16px;
  min-height: 78px;
  padding: 14px 18px;
  border-radius: 10px;
  background: #1b1b1b;
  border: 1px solid rgba(255, 255, 255, 0.075);
  cursor: pointer;
}

.history-item:hover {
  background: #222;
}

.history-item__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(147, 112, 219, 0.12);
  color: #fff;
  font-size: 16px;
}

.history-item--success .history-item__icon {
  background: rgba(0, 255, 120, 0.12);
  color: #21e878;
}

.history-item--failed .history-item__icon,
.history-item--filtered .history-item__icon {
  background: rgba(255, 40, 40, 0.14);
  color: #ff4e4e;
}

.history-item--processing .history-item__icon,
.history-item--pending .history-item__icon {
  background: rgba(255, 204, 80, 0.13);
  color: #ffd166;
}

.history-item__main {
  min-width: 0;
}

.history-item__title {
  margin-bottom: 4px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
}

.history-item__description {
  color: rgba(255, 255, 255, 0.42);
  font-size: 15px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-item__date {
  color: rgba(255, 255, 255, 0.42);
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
}

.history-item__status {
  display: flex;
  justify-content: center;
}

.history-item__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 255, 120, 0.12);
  color: #21e878;
  font-size: 14px;
  font-weight: 700;
}

.history-item--failed .history-item__badge,
.history-item--filtered .history-item__badge {
  background: rgba(255, 40, 40, 0.14);
  color: #ff4e4e;
}

.history-item--processing .history-item__badge,
.history-item--pending .history-item__badge {
  background: rgba(255, 204, 80, 0.13);
  color: #ffd166;
}

.history-item__credits {
  color: rgba(255, 255, 255, 0.52);
  font-size: 15px;
  text-align: right;
  white-space: nowrap;
}

.history-empty {
  padding: 24px;
  border-radius: 14px;
  background: #1b1b1b;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.history-load-more {
  display: block;
  margin: 22px auto 0;
  min-width: 174px;
  height: 56px;
  padding: 0 28px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.history-load-more:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* History modal */

.history-modal[hidden] {
  display: none !important;
}

.history-modal-open {
  overflow: hidden;
}

.history-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.history-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(2px);
}

.history-modal__panel {
  position: relative;
  z-index: 1;
  width: min(600px, calc(100vw - 32px));
  min-height: 620px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: #1b1b1b;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.48);
}

.history-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.history-modal__image-wrap {
  flex: 1 1 auto;
  min-height: 390px;
  display: grid;
  place-items: center;
  background: #1b1b1b;
}

.history-modal__image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 430px;
  object-fit: contain;
}

.history-modal__no-image {
  color: rgba(255, 255, 255, 0.35);
  font-size: 15px;
}

.history-modal__content {
  padding: 22px 26px;
}

.history-modal__meta {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 15px;
}

.history-modal__model {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

.history-modal__prompt {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.4;
}

.history-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.history-modal__action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.history-modal__action:hover {
  background: rgba(255, 255, 255, 0.06);
}

.history-modal__action--danger {
  border-color: rgba(255, 170, 0, 0.7);
  color: #ffb02e;
}

.history-modal__action--danger:hover {
  background: rgba(255, 170, 0, 0.08);
}

/* Balance / Settings */

.balance-card,
.settings-box {
  max-width: 520px;
  padding: 24px;
}

.balance-card {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
}

.settings-box h2 {
  margin-bottom: 20px;
}

.settings-box input {
  height: 44px;
  padding: 0 14px;
}

.settings-box button {
  min-height: 44px;
  margin-top: 8px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: #282828;
  color: #fff;
  font-weight: 700;
}

#linkEmailMessage {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive */

@media (max-width: 1000px) {
  .create-layout {
    grid-template-columns: 1fr;
  }

  .result-card {
    min-height: 280px;
  }
}

@media (max-width: 900px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  #appBox.app-shell:not([style*="display: none"]) {
    display: block !important;
  }

  .sidebar {
    position: static;
    height: auto;
    padding: 18px;
  }

  .sidebar__brand {
    margin-bottom: 20px;
  }

  .sidebar__nav {
    display: flex;
    flex-wrap: wrap;
  }

  .sidebar__link {
    width: auto;
  }

  .sidebar__footer {
    position: static;
    margin-top: 18px;
  }

  .app-main {
    padding: 28px 18px;
  }

  .history-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }

  .history-item__date,
  .history-item__status,
  .history-item__credits {
    grid-column: 2;
    text-align: left;
    justify-content: flex-start;
  }

  .gallery-modal__footer {
    grid-template-columns: 1fr;
  }

  .gallery-modal__actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .page-header h1 {
    font-size: 30px;
  }

  .create-card {
    padding: 20px;
  }

  .history-modal {
    padding: 12px;
  }

  .history-modal__panel {
    min-height: auto;
    max-height: calc(100vh - 24px);
  }

  .history-modal__image-wrap {
    min-height: 260px;
  }

  .history-modal__content {
    padding: 18px;
  }
}

/* Gallery modal navigation */

.gallery-modal__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 54px;
  height: 54px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.gallery-modal__nav:hover {
  background: rgba(0, 0, 0, 0.78);
}

.gallery-modal__nav--prev {
  left: 18px;
}

.gallery-modal__nav--next {
  right: 18px;
}

.gallery-modal__nav[hidden] {
  display: none;
}

/* Gallery toast */

.gallery-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2000;
  max-width: min(360px, calc(100vw - 48px));
  padding: 14px 18px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.gallery-toast--visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-toast--danger {
  background: #3a1111;
}

@media (max-width: 700px) {
  .gallery-modal__nav {
    width: 44px;
    height: 44px;
    font-size: 38px;
  }

  .gallery-modal__nav--prev {
    left: 8px;
  }

  .gallery-modal__nav--next {
    right: 8px;
  }

  .gallery-toast {
    right: 14px;
    bottom: 14px;
    max-width: calc(100vw - 28px);
  }
}

.create-upload {
  margin-bottom: 22px;
}

.create-upload__label {
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 700;
}

.create-upload__input {
  display: none;
}

.create-upload__preview-list {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.create-upload__preview,
.create-upload__add {
  width: 112px;
  height: 72px;
  border-radius: 16px;
  overflow: hidden;
  background: #242424;
  border: 1px solid #333;
}

.create-upload__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.create-upload__add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-style: dashed;
  cursor: pointer;
  color: #b8b8b8;
  font-weight: 700;
}

.create-upload__add span {
  font-size: 24px;
  line-height: 1;
}

.create-upload__add small {
  margin-top: 5px;
  font-size: 12px;
}

.create-upload__preview {
  position: relative;
}

.create-upload__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  cursor: pointer;
  font-weight: 700;
}

.create-button {
  transition: transform 0.12s ease, opacity 0.12s ease, filter 0.12s ease;
}

.create-button:active {
  transform: translateY(2px) scale(0.99);
}

.create-button:disabled,
.create-button.is-loading {
  opacity: 0.65;
  cursor: wait;
  pointer-events: none;
  filter: saturate(0.75);
}

.gallery__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.gallery-card--selection-mode {
  outline: 1px solid rgba(255, 255, 255, 0.18);
}

.gallery-card--selected {
  outline: 3px solid #8b72ff;
  outline-offset: 2px;
}

.gallery-card__select-button[hidden] {
  display: none;
}

.gallery-card--selected .gallery-card__image-button {
  opacity: 0.72;
}

.gallery-card__button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}