/* My Christmas Tree — points shop, unlock sheet, like board. */
.pts-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 11px; border-radius: 999px; cursor: pointer;
  font-size: .76rem; font-weight: 700; letter-spacing: .02em;
  color: var(--gold-bright);
  background: rgba(219, 185, 121, .12);
  border: 1px solid rgba(219, 185, 121, .34);
  transition: background .18s, border-color .18s;
}
.pts-pill:hover { background: rgba(219, 185, 121, .2); border-color: var(--gold); }

/* lock badge on an asset tile */
.asset-tile { position: relative; }
.asset-tile.is-locked canvas { filter: saturate(.55) brightness(.72); }
.asset-tile.is-locked::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(6, 22, 17, .1), rgba(6, 22, 17, .55));
  pointer-events: none;
}
.shop-badge {
  position: absolute; top: 5px; right: 5px; z-index: 2;
  padding: 2px 6px; border-radius: 999px;
  font-size: .6rem; font-weight: 700; line-height: 1.5;
  color: var(--gold-bright); background: rgba(8, 26, 20, .82);
  border: 1px solid rgba(219, 185, 121, .45);
  pointer-events: none; white-space: nowrap;
}
.shop-badge.is-owned {
  color: #9fe0bd; border-color: rgba(120, 200, 160, .5);
  background: rgba(8, 26, 20, .78);
}

/* ---- unlock sheet ---- */
.shop-overlay { z-index: 150; }
.shop-card {
  position: relative; width: min(380px, 100%);
  padding: 28px 24px calc(22px + var(--safe-b));
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background: linear-gradient(160deg, #14382c, #081f19);
  box-shadow: var(--shadow); text-align: center;
  animation: mct-auth-in .22s cubic-bezier(.2,.8,.2,1) both;
}
.shop-x {
  position: absolute; top: 12px; right: 14px; width: 30px; height: 30px;
  border-radius: 50%; font-size: 20px; line-height: 1; color: var(--ivory-dim);
  background: var(--glass); border: 1px solid var(--line-soft);
}
.shop-eyebrow { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.shop-card h3 { font-family: var(--serif); font-size: 1.35rem; margin: 8px 0 14px; color: var(--ivory); }
.shop-art {
  width: 110px; height: 110px; margin: 0 auto 10px;
  display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 40% 32%, rgba(219,185,121,.14), rgba(3,16,12,.5) 70%);
  border: 1px solid var(--line-soft);
}
.shop-art.is-tree {
  width: 140px; height: 172px; border-radius: var(--r-md);
  background: radial-gradient(circle at 50% 38%, rgba(219,185,121,.12), rgba(3,16,12,.55) 72%);
}
.shop-name { font-family: var(--serif); font-size: 1.05rem; color: var(--gold-bright); margin-bottom: 8px; }
.shop-body { font-size: .84rem; line-height: 1.6; color: var(--ivory-dim); margin: 0 0 18px; }
.shop-actions { display: flex; flex-direction: column; gap: 8px; }
.shop-actions .btn { width: 100%; }

/* ---- point packs ---- */
.shop-packs { width: min(400px, 100%); }
.pack-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.pack {
  position: relative; display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: 14px; text-align: left;
  background: rgba(3,16,12,.45); border: 1px solid var(--line-soft);
  transition: border-color .18s, background .18s, transform .18s;
}
.pack:hover { border-color: var(--gold); background: rgba(219,185,121,.10); transform: translateY(-1px); }
.pack-pts { font-size: 1.05rem; font-weight: 700; color: var(--gold-bright); }
.pack-price { margin-left: auto; font-size: .95rem; font-weight: 600; color: var(--ivory); }
.pack-go { color: var(--ivory-faint); font-size: .9rem; }
.pack-best {
  position: absolute; top: -7px; right: 12px;
  padding: 1px 8px; border-radius: 999px; font-size: .58rem; font-weight: 700;
  color: #14261c; background: linear-gradient(135deg, #f4d68b, #c9a15a);
}
.shop-secure { font-size: .68rem; color: var(--ivory-faint); text-align: center; }

/* ---- like board ---- */
.lb-points {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; margin-bottom: 12px; border-radius: 999px;
  font-size: .78rem; color: var(--gold-bright);
  background: rgba(219,185,121,.10); border: 1px solid rgba(219,185,121,.3);
}
.lb-points b { font-size: .95rem; }
.lb-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(3,16,12,.48); border: 1px solid var(--line-soft); margin-bottom: 14px; }
.lb-tab { flex: 1; min-height: 36px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--ivory-dim); background: transparent; }
.lb-tab.is-active { background: rgba(219,185,121,.18); color: var(--gold-bright); }
.lb-list { display: flex; flex-direction: column; gap: 2px; }
.lb-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 10px; border-radius: var(--r-sm);
  border-bottom: 1px solid var(--line-soft);
}
.lb-row:last-child { border-bottom: 0; }
.lb-rank {
  flex: 0 0 26px; height: 26px; display: grid; place-items: center;
  border-radius: 50%; font-size: .74rem; font-weight: 800;
  color: var(--ivory-dim); background: rgba(255,252,244,.06);
  border: 1px solid var(--line-soft);
}
.lb-rank.r1 { color: #241a08; background: linear-gradient(135deg, #f4d68b, #c9a15a); border-color: #f4d68b; }
.lb-rank.r2 { color: #12211c; background: linear-gradient(135deg, #dfe6e3, #a9b6b2); border-color: #dfe6e3; }
.lb-rank.r3 { color: #23150d; background: linear-gradient(135deg, #d9a877, #a87548); border-color: #d9a877; }
.lb-main { flex: 1; min-width: 0; }
.lb-name { font-size: .9rem; color: var(--ivory); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-sub { font-size: .7rem; color: var(--ivory-faint); margin-top: 2px; }
.lb-count { font-size: .8rem; font-weight: 700; color: #e88a92; white-space: nowrap; }
.lb-share {
  flex: 0 0 30px; height: 30px; border-radius: 50%;
  color: var(--gold-bright); background: rgba(219,185,121,.1);
  border: 1px solid var(--line-soft); font-size: .82rem;
}
.lb-share:hover { background: rgba(219,185,121,.2); }

@media (prefers-reduced-motion: reduce) { .shop-card { animation: none; } }
