.sticker-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 18px;
}

.sticker-card {
  position: relative;
  min-height: 188px;
  padding: 12px;
  border: 1px solid rgba(255, 122, 54, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 74% 8%, rgba(255, 118, 38, 0.16), transparent 38%),
    linear-gradient(145deg, rgba(31, 7, 6, 0.92), rgba(8, 1, 1, 0.96));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 215, 190, 0.04);
  overflow: hidden;
}

.sticker-card::after {
  content: "";
  position: absolute;
  inset: auto -34px -44px auto;
  width: 92px;
  height: 92px;
  border-radius: 999px;
  background: rgba(255, 65, 25, 0.18);
  filter: blur(18px);
  pointer-events: none;
}

.sticker-preview {
  display: grid;
  place-items: center;
  height: 96px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 122, 54, 0.18);
  border-radius: 20px;
  background: rgba(7, 1, 1, 0.54);
  color: #fff0e7;
  font-size: 38px;
  overflow: hidden;
}

.sticker-preview img,
.sticker-preview video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.sticker-loading,
.sticker-fallback {
  display: grid;
  place-items: center;
  gap: 4px;
  width: 100%;
  height: 100%;
  padding: 10px;
  text-align: center;
}

.sticker-loading {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sticker-fallback span {
  font-size: 28px;
  line-height: 1;
  opacity: 0.9;
}

.sticker-fallback small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sticker-info {
  position: relative;
  z-index: 1;
}

.sticker-info strong {
  display: block;
  margin-bottom: 4px;
  color: #fff7f0;
  font-size: 14px;
  line-height: 1.25;
}

.sticker-info small {
  display: block;
  min-height: 34px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.sticker-send-button {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  border: 1px solid rgba(255, 146, 74, 0.52);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 116, 52, 0.95), rgba(196, 34, 18, 0.95));
  color: #fff8f3;
  font-weight: 900;
  box-shadow: 0 0 26px rgba(255, 67, 25, 0.2);
}

.sticker-send-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.sticker-tabs {
  margin-bottom: 14px;
}

.sticker-tabs button {
  white-space: nowrap;
}

.sticker-load-line {
  margin: 10px 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 370px) {
  .sticker-gallery {
    grid-template-columns: 1fr;
  }
}
