/* Digital shop + pixel cards + maker pad — mobile first */

.bank-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  margin-bottom: 16px;
}

.bank-tab {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
}

.bank-ai-credits {
  margin: 8px 0 0;
  font-size: 14px;
}

.shop-subtabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 20px;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.shop-subtab {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border, #d5dbe5);
  background: #fff;
  color: var(--navy, #1a2744);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
}

.shop-subtab--active {
  background: var(--navy, #1a2744);
  color: #fff;
  border-color: var(--navy, #1a2744);
}

.shop-block {
  margin-bottom: 28px;
}

.shop-block-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--navy, #1a2744);
}

.shop-block-lead {
  margin: 0 0 14px;
  font-size: 14px;
}

.shop-consent-note {
  color: #9a3412;
  font-size: 14px;
}

.shop-filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.shop-filter-form select {
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border, #d5dbe5);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

@media (min-width: 720px) {
  .shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .shop-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1400px) {
  .shop-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* My collection — wider horizontal cards (not tall/narrow) */
.shop-grid--collection {
  grid-template-columns: 1fr;
  gap: 14px;
}

.px-edit-form,
.px-delete-form {
  margin-top: 10px;
}

.px-delete-form .btn-danger {
  width: 100%;
  background: #b91c1c;
  border-color: #b91c1c;
  color: #fff;
}

.px-delete-form .btn-danger:hover {
  background: #991b1b;
  border-color: #991b1b;
}

.creator-pad-panel .shop-subtabs {
  margin-bottom: 18px;
}

@media (min-width: 720px) {
  .shop-grid--collection {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.px-card--collection {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 14px;
}

.px-card--collection .px-card-art {
  width: 104px;
  height: 104px;
  max-height: 104px;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #0b1220;
}

.px-card--collection .px-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.px-card--collection .px-card-art:not(.px-card-art--cover) img {
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.px-card-art--cover img {
  object-fit: cover;
  image-rendering: auto;
}

.px-card-collection-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.px-card--collection .px-card-title {
  min-height: 0;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.px-card--collection .px-list-form {
  margin-top: 8px;
}

.mkt-filter-count {
  margin-left: 4px;
  font-size: 11px;
  opacity: 0.8;
}

/* Equal-height pack cards (AI + mystery) — fixed size, scroll long copy */
.shop-grid--packs {
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 560px) {
  .shop-grid--packs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.shop-grid--packs .px-card--pack {
  height: 300px;
  max-height: 300px;
  min-height: 300px;
  overflow: hidden;
}

@media (max-width: 559px) {
  .shop-grid--packs .px-card--pack {
    height: 280px;
    max-height: 280px;
    min-height: 280px;
  }
}

.shop-grid--packs .px-card-art {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  max-height: 72px;
  aspect-ratio: 1;
  margin: 0 auto 8px;
}

.shop-grid--packs .px-card-title {
  flex: 0 0 auto;
  min-height: 2.4em;
  margin: 0 0 4px;
  font-size: 1rem;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-grid--packs .px-card-meta {
  flex: 0 0 auto;
  min-height: 1.3em;
  margin: 0 0 6px;
}

.shop-grid--packs .px-card-desc {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 10px;
  line-height: 1.35;
  font-size: 13px;
}

.shop-grid--packs .px-card form,
.shop-grid--packs .px-card .rw-card-btn {
  margin-top: auto;
  flex: 0 0 auto;
  width: 100%;
}

.shop-grid--chips {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 720px) {
  .shop-grid--chips {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Marketplace: equal card size, scroll long blurbs */
.shop-grid--market {
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 560px) {
  .shop-grid--market {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .shop-grid--market {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .shop-grid--market {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1500px) {
  .shop-grid--market {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.shop-grid--market .px-card--market {
  height: 360px;
  max-height: 360px;
  min-height: 360px;
  overflow: hidden;
}

@media (max-width: 559px) {
  .shop-grid--market .px-card--market {
    height: 340px;
    max-height: 340px;
    min-height: 340px;
  }
}

.shop-grid--market .px-card-art {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  margin: 0 auto 8px;
}

.shop-grid--market .px-card-title {
  flex: 0 0 auto;
  min-height: 2.4em;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.2;
}

.shop-grid--market .px-card-meta {
  flex: 0 0 auto;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-grid--market .px-card-desc {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.35;
  color: #47566d;
}

.shop-grid--market .px-card-desc p {
  margin: 0 0 6px;
}

.shop-grid--market .px-card form,
.shop-grid--market .px-card .rw-card-btn {
  margin-top: auto;
  flex: 0 0 auto;
  width: 100%;
}

.px-card--encourager {
  border-color: rgba(16, 172, 132, 0.45);
  background: linear-gradient(165deg, #fff 0%, #eefaf5 100%);
}

.creator-mode-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}

.creator-mode-tab {
  cursor: pointer;
}

.creator-mode-tab.is-active {
  background: var(--navy, #1a2744);
  color: #fff;
  border-color: var(--navy, #1a2744);
}

.shop-verse {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(26, 39, 68, 0.06), rgba(16, 172, 132, 0.08));
  border: 1px solid var(--border, #d5dbe5);
}

.shop-verse-text {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--navy, #1a2744);
  font-style: italic;
}

.shop-verse-text--soft {
  margin-top: 10px;
}

.shop-verse-ref {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #47566d;
}

.shop-verse-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #334155;
}

.pixel-publish-form textarea,
.pixel-publish-form select {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border, #d5dbe5);
  font: inherit;
}

.pixel-publish-form textarea {
  min-height: 88px;
  resize: vertical;
}

.px-card {
  border: 1px solid var(--border, #d5dbe5);
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(165deg, #fff 0%, #f4f7fb 100%);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-sizing: border-box;
}

.px-card--owned {
  border-color: #10ac84;
  box-shadow: 0 0 0 1px rgba(16, 172, 132, 0.25);
}

.px-card--disabled {
  opacity: 0.72;
}

.px-card-chip {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #47566d;
  margin-bottom: 6px;
}

.px-card-art {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

.px-card-art img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.px-card-art--emoji {
  font-size: 2.4rem;
  background: linear-gradient(145deg, #1e293b, #0f172a);
}

.px-card-title {
  margin: 0 0 4px;
  font-size: 0.95rem;
  color: var(--navy, #1a2744);
  line-height: 1.25;
}

.px-card-meta,
.px-card-desc,
.px-card-owned-label {
  margin: 0 0 8px;
  font-size: 12px;
  color: #47566d;
}

.px-card .rw-card-btn,
.px-card .btn {
  width: 100%;
  min-height: 44px;
  margin-top: auto;
}

.nameplate-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nameplate-chip button {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border, #d5dbe5);
  background: #fff;
  font-weight: 600;
  cursor: pointer;
}

.nameplate-chip--on button {
  background: var(--navy, #1a2744);
  color: #fff;
}

.nameplate-chip--locked button {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Pixel studio */
.pixel-studio {
  border: 1px solid var(--border, #d5dbe5);
  border-radius: 16px;
  padding: 14px;
  background: #fff;
}

.pixel-studio-canvas-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  touch-action: none;
}

#pixel-canvas {
  width: min(100%, 320px);
  height: auto;
  aspect-ratio: 1;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  background: #111827;
  border-radius: 8px;
  border: 2px solid #1f2937;
  cursor: crosshair;
  touch-action: none;
}

.pixel-studio-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.pixel-tool,
.pixel-upload-btn {
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border, #d5dbe5);
  background: #f8fafc;
  font-weight: 600;
  cursor: pointer;
}

.pixel-tool.is-active {
  background: var(--navy, #1a2744);
  color: #fff;
}

.pixel-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.pixel-swatch {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
}

.pixel-swatch.is-active {
  border-color: var(--navy, #1a2744);
  outline: 2px solid rgba(26, 39, 68, 0.25);
}

.pixel-publish-form {
  display: grid;
  gap: 12px;
}

.pixel-publish-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
}

.pixel-publish-form input[type="text"],
.pixel-publish-form input[type="number"] {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border, #d5dbe5);
  font: inherit;
}

.pixel-list-toggle {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.mystery-reveal {
  position: relative;
  margin: 16px 0 8px;
  padding: 18px 14px 16px;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(16, 172, 132, 0.14), rgba(46, 134, 222, 0.1));
  border: 1px dashed #10ac84;
  overflow: hidden;
}

.mystery-reveal h3 {
  margin: 0 0 12px;
  text-align: center;
  color: var(--navy, #1a2744);
}

.mystery-reveal-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.mystery-reveal-card {
  width: 104px;
  text-align: center;
  animation: mystery-pop 0.55s ease-out both;
}

.mystery-reveal-card:nth-child(2) { animation-delay: 0.08s; }
.mystery-reveal-card:nth-child(3) { animation-delay: 0.16s; }

.mystery-reveal-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  background: #0b1220;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

.mystery-reveal-card strong {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--navy, #1a2744);
  line-height: 1.25;
}

.mystery-reveal-card .dup {
  display: block;
  font-size: 11px;
  color: #b45309;
  font-weight: 600;
}

.mystery-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.mystery-confetti span,
.mystery-confetti-bit {
  position: absolute;
  bottom: 12px;
  font-size: 18px;
  animation: mystery-float 1.25s ease-out forwards;
  opacity: 0.95;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mystery-confetti-bit img {
  width: 22px;
  height: 22px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  border-radius: 4px;
  background: #0b1220;
}

.mystery-reveal-new {
  color: #047857 !important;
}

@keyframes mystery-pop {
  0% { transform: translateY(18px) scale(0.7); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes mystery-float {
  0% { transform: translateY(40px) rotate(0deg); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(-50px) rotate(25deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .mystery-reveal-card,
  .mystery-confetti span,
  .mystery-confetti-bit {
    animation: none !important;
  }
}

.shop-howto {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(26, 39, 68, 0.05);
  border: 1px solid var(--border, #d5dbe5);
  font-size: 13px;
  line-height: 1.45;
  color: #334155;
}

.shop-howto strong {
  color: var(--navy, #1a2744);
}

.shop-howto a {
  font-weight: 600;
}

.shop-howto p {
  margin: 0 0 10px;
}

.shop-howto p:last-child {
  margin-bottom: 0;
}

.shop-howto-list {
  margin: 0 0 12px;
  padding-left: 1.2em;
  display: grid;
  gap: 6px;
}

.shop-howto-list li {
  line-height: 1.45;
}

.px-list-form {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

.px-list-form .pixel-list-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy, #1a2744);
  min-height: 44px;
}

.px-list-form .pixel-list-toggle input {
  width: 18px;
  height: 18px;
}

.px-list-price {
  display: grid;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #47566d;
}

.px-list-price input {
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border, #d5dbe5);
  width: 100%;
}

.pp-maker-pad-label {
  text-align: center;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy, #1a2744);
}

.pp-maker-pad-hint {
  text-align: center;
  margin: 0 0 14px;
  font-size: 12px;
  color: #64748b;
}

/* Maker pad */
.maker-pad-editor {
  margin-bottom: 18px;
}

.maker-pad-stage {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 1;
  margin: 0 auto 14px;
  background:
    radial-gradient(circle at 50% 55%, rgba(255, 255, 255, 0.7), transparent 55%),
    linear-gradient(160deg, #e8eef7, #d7e3f4 55%, #c5d4e8);
  border-radius: 20px;
  border: 1px solid var(--border, #d5dbe5);
}

.maker-pad-slot {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px dashed rgba(26, 39, 68, 0.25);
  background: rgba(255, 255, 255, 0.55);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.maker-pad-slot--tl { top: 10px; left: 10px; }
.maker-pad-slot--tc { top: 10px; left: 50%; transform: translateX(-50%); }
.maker-pad-slot--tr { top: 10px; right: 10px; }
.maker-pad-slot--ml { top: 50%; left: 10px; transform: translateY(-50%); }
.maker-pad-slot--mr { top: 50%; right: 10px; transform: translateY(-50%); }
.maker-pad-slot--bl { bottom: 10px; left: 10px; }
.maker-pad-slot--bc { bottom: 10px; left: 50%; transform: translateX(-50%); }
.maker-pad-slot--br { bottom: 10px; right: 10px; }

.maker-pad-slot.is-selected {
  border-style: solid;
  border-color: var(--navy, #1a2744);
  box-shadow: 0 0 0 2px rgba(26, 39, 68, 0.15);
}

.maker-pad-avatar-hole {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  overflow: hidden;
  padding: 0;
}

.maker-pad-avatar-hole .user-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.maker-pad-place-form {
  display: grid;
  gap: 10px;
  max-width: 320px;
  margin: 0 auto;
}

.maker-pad-place-form select {
  min-height: 44px;
  width: 100%;
}

/* Glow rings + nameplates on portfolio */
.user-avatar--glow-featured,
.pp-cv-avatar.glow-featured .user-avatar,
.pf-cv-avatar.glow-featured .user-avatar,
.ps-chat-avatar.glow-featured {
  box-shadow: 0 0 0 3px #f5d76e, 0 0 12px rgba(245, 215, 110, 0.55);
}

.user-avatar--glow-showcase,
.pp-cv-avatar.glow-showcase .user-avatar,
.pf-cv-avatar.glow-showcase .user-avatar,
.ps-chat-avatar.glow-showcase {
  box-shadow: 0 0 0 3px #a78bfa, 0 0 14px rgba(167, 139, 250, 0.55);
}

.user-avatar--glow-creator,
.pp-cv-avatar.glow-creator .user-avatar,
.pf-cv-avatar.glow-creator .user-avatar,
.ps-chat-avatar.glow-creator {
  box-shadow: 0 0 0 3px #34d399, 0 0 12px rgba(52, 211, 153, 0.45);
}

.pp-nameplate,
.ps-chat-nameplate {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(26, 39, 68, 0.08);
  color: var(--navy, #1a2744);
  vertical-align: middle;
}

.pp-maker-pad {
  position: relative;
  width: min(100%, 280px);
  aspect-ratio: 1;
  margin: 0 auto 16px;
  background: linear-gradient(160deg, #eef3f9, #dce7f4);
  border-radius: 18px;
}

.pp-maker-pad .maker-pad-slot {
  pointer-events: none;
  border-style: dashed;
  border-color: rgba(26, 39, 68, 0.12);
  background: rgba(255, 255, 255, 0.35);
  color: transparent;
}

.pp-maker-pad .maker-pad-slot.is-filled {
  border-style: solid;
  border-color: rgba(26, 39, 68, 0.08);
  background: rgba(255, 255, 255, 0.7);
  color: inherit;
  font-size: 1.45rem;
}

.rw-gate-banner {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(202, 138, 4, 0.35);
  font-size: 14px;
  line-height: 1.45;
}

.rw-gate-banner--open {
  background: rgba(16, 172, 132, 0.12);
  border-color: rgba(16, 172, 132, 0.35);
}

.rw-public-state {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
}

.rw-public-state--pending { color: #b45309; }
.rw-public-state--redeemed { color: #047857; }

.rw-card--pending { outline: 2px dashed rgba(180, 83, 9, 0.45); }
.rw-card--redeemed { outline: 2px solid rgba(4, 120, 87, 0.35); }

/* Chat stickers */
.ps-sticker-img {
  width: 72px;
  height: 72px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  display: block;
}

.ps-sticker-tray {
  display: none;
  flex: 0 0 auto;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 10px;
  max-height: 180px;
  overflow-y: auto;
  border-top: 1px solid var(--border, #d5dbe5);
  background: #f8fafc;
}

.ps-sticker-tray.is-open {
  display: grid;
}

.ps-sticker-pick {
  border: 1px solid var(--border, #d5dbe5);
  border-radius: 10px;
  background: #fff;
  min-height: 56px;
  padding: 4px;
  cursor: pointer;
}

.ps-sticker-pick img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  image-rendering: pixelated;
}

.ps-chat-sticker-btn {
  min-width: 44px;
  min-height: 44px;
  border: none;
  background: transparent;
  font-size: 1.25rem;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .bank-coin-float,
  .ps-confetti-bit {
    animation: none !important;
  }
}

.ps-confetti-bit {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  font-size: 18px;
  animation: ps-confetti-fall 900ms ease-out forwards;
}

@keyframes ps-confetti-fall {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(-80px) scale(0.6); opacity: 0; }
}
