/* ═══════════════════════════════════════════════════════════
   COLLECTIONS — Halloween edition, photo studio, admin, reveal
   ═══════════════════════════════════════════════════════════ */

/* ── Variant palettes (also used by reveal wrapper) ── */
.lbc--hw-pumpkin {
  --hw-sky1: #0d0221; --hw-sky2: #2a0845; --hw-sky3: rgba(255,106,0,.6);
  --hw-moon1: #fff6d5; --hw-moon2: #ffb347; --hw-moon-glow: rgba(255,170,60,.55);
  --hw-acc: #ff7a18; --hw-acc2: #ffd166; --hw-acc3: #a855f7; --hw-slime: #ff7a18; --hw-pk-dark: #7c2d12;
  --hw-ink: #07000d; --hw-fog: rgba(255,214,170,.38); --hw-tint: rgba(255,122,24,.22);
}
.lbc--hw-witch {
  --hw-sky1: #020c0a; --hw-sky2: #1d0b3a; --hw-sky3: rgba(124,58,237,.6);
  --hw-moon1: #f4ffe8; --hw-moon2: #a3e635; --hw-moon-glow: rgba(163,230,53,.5);
  --hw-acc: #9dff4f; --hw-acc2: #e9d5ff; --hw-acc3: #7c3aed; --hw-slime: #6dff2e; --hw-pk-dark: #14532d;
  --hw-ink: #030008; --hw-fog: rgba(190,255,170,.3); --hw-tint: rgba(124,58,237,.24);
}
.lbc--hw-blood {
  --hw-sky1: #050000; --hw-sky2: #2a0006; --hw-sky3: rgba(220,20,20,.6);
  --hw-moon1: #ffe1d6; --hw-moon2: #ff3b2f; --hw-moon-glow: rgba(255,40,30,.55);
  --hw-acc: #ff3b3b; --hw-acc2: #ffd6cc; --hw-acc3: #7f1d1d; --hw-slime: #b30000; --hw-pk-dark: #450a0a;
  --hw-ink: #050000; --hw-fog: rgba(255,190,190,.26); --hw-tint: rgba(200,0,0,.22);
}

/* ── Halloween card ── */
.lbc--hw { --foil: .2; --foil-on: .55; }
.lbc--hw .lbc-face {
  box-shadow: 0 2.5cqw 7cqw rgba(0,0,0,.5), 0 0 0 .9cqw #0a0410, 0 0 7cqw -1cqw var(--hw-acc);
}
.lbc--hw.is-active .lbc-face { box-shadow: 0 7cqw 14cqw rgba(0,0,0,.55), 0 0 0 .9cqw #0a0410, 0 0 12cqw 0 var(--hw-acc); }
.lbc--hw .lbc-face::before {
  z-index: 6; padding: 1.7cqw;
  background: conic-gradient(from var(--ang, 0deg), var(--hw-acc), var(--hw-acc2), var(--hw-acc3), var(--hw-acc), var(--hw-acc2), var(--hw-acc3), var(--hw-acc));
  animation: lbc-spin 5s linear infinite;
}
.hw-front > *, .hw-back > * { position: absolute; }
.hw-sky { inset: 0; z-index: 0;
  background: radial-gradient(130% 60% at 50% 100%, var(--hw-sky3) 0%, transparent 60%), linear-gradient(180deg, var(--hw-sky1) 0%, var(--hw-sky2) 62%, #050008 100%); }
.hw-stars { inset: 0 0 40% 0; z-index: 1; opacity: .9; animation: hw-twinkle 4s ease-in-out infinite alternate;
  background-image:
    radial-gradient(.5cqw .5cqw at 8% 14%, #fff, transparent), radial-gradient(.4cqw .4cqw at 22% 32%, #fff, transparent),
    radial-gradient(.6cqw .6cqw at 35% 9%, #fff, transparent), radial-gradient(.35cqw .35cqw at 48% 26%, #fff, transparent),
    radial-gradient(.5cqw .5cqw at 60% 6%, #fff, transparent), radial-gradient(.4cqw .4cqw at 14% 46%, #fff, transparent),
    radial-gradient(.45cqw .45cqw at 42% 50%, #fff, transparent), radial-gradient(.35cqw .35cqw at 28% 62%, #fff, transparent),
    radial-gradient(.5cqw .5cqw at 5% 70%, #fff, transparent), radial-gradient(.4cqw .4cqw at 55% 40%, #fff, transparent); }
@keyframes hw-twinkle { from { opacity: .45; } to { opacity: 1; } }
.hw-moon { z-index: 1; width: 48cqw; aspect-ratio: 1; right: -8cqw; top: 9cqw; border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, var(--hw-moon1) 0%, var(--hw-moon2) 62%, color-mix(in srgb, var(--hw-moon2) 60%, #000) 100%);
  box-shadow: 0 0 6cqw 1cqw var(--hw-moon-glow), 0 0 22cqw 6cqw var(--hw-moon-glow);
  animation: hw-moon 6s ease-in-out infinite alternate; }
.hw-moon i { position: absolute; inset: 0; border-radius: 50%; opacity: .35;
  background: radial-gradient(circle at 62% 30%, rgba(0,0,0,.35) 0 6%, transparent 7%), radial-gradient(circle at 40% 62%, rgba(0,0,0,.3) 0 9%, transparent 10%),
    radial-gradient(circle at 70% 66%, rgba(0,0,0,.25) 0 5%, transparent 6%), radial-gradient(circle at 28% 36%, rgba(0,0,0,.2) 0 4%, transparent 5%); }
@keyframes hw-moon { from { filter: brightness(.95); transform: scale(1); } to { filter: brightness(1.12); transform: scale(1.03); } }
.hw-clouds { inset: 0; z-index: 1; overflow: hidden; }
.hw-clouds i { position: absolute; height: 7cqw; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(5,0,12,.85), transparent 70%); filter: blur(.6cqw); }
.hw-clouds i:nth-child(1) { width: 70cqw; top: 24cqw; left: -70cqw; animation: hw-cloud 18s linear infinite; }
.hw-clouds i:nth-child(2) { width: 50cqw; top: 40cqw; left: -50cqw; animation: hw-cloud 26s linear -9s infinite; }
@keyframes hw-cloud { to { transform: translateX(240cqw); } }
.hw-bat { z-index: 2; display: block; color: var(--hw-ink); }
.hw-bat svg { width: 100%; fill: currentColor; filter: drop-shadow(0 0 .8cqw var(--hw-moon-glow)); animation: hw-flap .32s ease-in-out infinite alternate; transform-origin: 50% 40%; }
@keyframes hw-flap { from { transform: scaleY(1); } to { transform: scaleY(.45); } }
.hw-bat--1 { width: 13cqw; top: 20cqw; left: 8cqw; animation: hw-fly1 9s ease-in-out infinite; }
.hw-bat--2 { width: 8cqw; top: 33cqw; left: 46cqw; animation: hw-fly2 7s ease-in-out -2s infinite; }
.hw-bat--2 svg { animation-duration: .26s; }
.hw-bat--3 { width: 10cqw; top: 12cqw; left: 62cqw; animation: hw-fly1 11s ease-in-out -5s infinite reverse; }
@keyframes hw-fly1 { 0%,100% { transform: translate(0,0) rotate(-6deg); } 25% { transform: translate(14cqw,-5cqw) rotate(8deg); } 50% { transform: translate(24cqw,3cqw) rotate(-4deg); } 75% { transform: translate(8cqw,6cqw) rotate(6deg); } }
@keyframes hw-fly2 { 0%,100% { transform: translate(0,0); } 33% { transform: translate(-12cqw,-6cqw); } 66% { transform: translate(-4cqw,5cqw); } }
.hw-photo { z-index: 3; inset: 0 0 16% 0; filter: saturate(1.08) contrast(1.06);
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 96%); mask-image: linear-gradient(to bottom, #000 58%, transparent 96%); }
.hw-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--hw-tint), transparent 40%, var(--hw-tint)); mix-blend-mode: multiply; }
.hw-avatar { z-index: 3; inset: 18% 0 30% 0; display: grid; place-items: center; }
.hw-avatar span { font-family: var(--font-display); font-weight: 900; font-size: 40cqw; line-height: 1; letter-spacing: -.05em;
  background: linear-gradient(170deg, #fff 5%, var(--hw-acc2) 40%, var(--hw-acc) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 3cqw var(--hw-acc)) drop-shadow(0 2cqw 2cqw rgba(0,0,0,.6)); animation: hw-flicker 5s infinite; }
@keyframes hw-flicker { 0%,19%,21%,62%,64%,100% { opacity: 1; } 20%,63% { opacity: .55; } }
.hw-yard { z-index: 4; left: 0; right: 0; bottom: 24cqw; height: 22cqw; color: var(--hw-ink); }
.hw-yard svg { width: 100%; height: 100%; fill: var(--hw-ink); filter: drop-shadow(0 -0.4cqw .6cqw var(--hw-moon-glow)); }
.hw-fog { z-index: 5; left: 0; right: 0; bottom: 18cqw; height: 30cqw; overflow: hidden; pointer-events: none; }
.hw-fog i { position: absolute; inset: 0 auto 0 0; width: 200%;
  background: radial-gradient(30% 50% at 15% 60%, var(--hw-fog), transparent 70%), radial-gradient(25% 45% at 45% 70%, var(--hw-fog), transparent 70%),
    radial-gradient(30% 50% at 70% 55%, var(--hw-fog), transparent 70%), radial-gradient(25% 45% at 95% 65%, var(--hw-fog), transparent 70%);
  animation: hw-fog 14s linear infinite; filter: blur(1.2cqw); }
.hw-fog i:nth-child(2) { opacity: .7; animation-duration: 22s; animation-direction: reverse; top: 6cqw; }
@keyframes hw-fog { to { transform: translateX(-50%); } }
.hw-web { z-index: 5; top: 0; right: 0; width: 40cqw; color: rgba(255,255,255,.5); pointer-events: none; }
.hw-web svg { width: 100%; display: block; filter: drop-shadow(0 0 .6cqw rgba(255,255,255,.35)); }
.hw-web--back { opacity: .35; }
.hw-spider { z-index: 5; top: 0; right: 27cqw; display: flex; flex-direction: column; align-items: center; transform-origin: 50% 0; animation: hw-swing 3.4s ease-in-out infinite; }
.hw-thread { display: block; width: .25cqw; height: 16cqw; background: linear-gradient(rgba(255,255,255,.2), rgba(255,255,255,.7)); animation: hw-bob 5s ease-in-out infinite; }
.hw-spider span { width: 7cqw; display: block; color: #0b0010; margin-top: -1cqw; filter: drop-shadow(0 0 .8cqw rgba(255,255,255,.35)); }
.hw-spider svg { width: 100%; display: block; }
@keyframes hw-swing { 0%,100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes hw-bob { 0%,100% { height: 16cqw; } 50% { height: 22cqw; } }
.lbc--hw .lbc-top { z-index: 6; top: 5cqw; }
.hw-ovr { position: relative; width: 21cqw; height: 19cqw; display: grid; place-items: center; }
.hw-ovr svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 0 2.6cqw var(--hw-acc)); animation: hw-pk 2.6s ease-in-out infinite alternate; }
@keyframes hw-pk { from { filter: drop-shadow(0 0 1.6cqw var(--hw-acc)); } to { filter: drop-shadow(0 0 3.6cqw var(--hw-acc)); } }
.hw-ovr b { position: relative; margin-top: 3cqw; font-family: var(--font-display); font-weight: 900; font-size: 9cqw; color: #fff; line-height: 1;
  text-shadow: 0 .5cqw 0 var(--hw-pk-dark), 0 0 2cqw rgba(0,0,0,.7); }
.hw-ovr span { position: absolute; bottom: -5.5cqw; font-family: var(--font-display); font-weight: 800; font-size: 3.6cqw; letter-spacing: .14em; color: var(--hw-acc2);
  background: rgba(10,0,20,.7); padding: .5cqw 2cqw; border-radius: 99px; border: .3cqw solid var(--hw-acc); }
.hw-ovr--sm { width: 15cqw; height: 13.5cqw; }
.hw-ovr--sm b { font-size: 6.4cqw; margin-top: 2cqw; }
.hw-brand { z-index: 6; left: 0; right: 0; bottom: 56cqw; text-align: center; line-height: 1; display: flex; justify-content: center; align-items: center; gap: 2cqw; }
.hw-brand span { font-family: var(--font-display); font-weight: 900; font-size: 3.6cqw; letter-spacing: .3em; color: #fff; text-shadow: 0 0 2cqw var(--hw-acc), 0 .3cqw .6cqw #000; }
.hw-brand small { font-size: 2.8cqw; letter-spacing: .26em; font-weight: 800; color: var(--hw-acc2); text-shadow: 0 .3cqw .6cqw #000; }
.hw-brand span::after { content: '✦'; margin-left: 2cqw; color: var(--hw-acc); letter-spacing: 0; }
.hw-title {
  z-index: 6; left: 0; right: 0; bottom: 42cqw; text-align: center; font-family: 'Creepster', var(--font-display); font-weight: 400;
  font-size: 13cqw; line-height: 1; letter-spacing: .05em; color: var(--hw-acc); transform: rotate(-4deg);
  text-shadow: 0 0 1.5cqw var(--hw-acc), 0 0 5cqw var(--hw-acc), 0 .6cqw 0 #000; animation: hw-flicker 6s infinite;
}
.hw-banner { z-index: 6 !important; bottom: 9cqw !important;
  background: linear-gradient(180deg, rgba(10,0,20,.55), rgba(10,0,20,.94)) !important;
  clip-path: polygon(0 20%, 7% 8%, 15% 18%, 24% 4%, 34% 16%, 46% 2%, 58% 15%, 70% 5%, 82% 17%, 92% 7%, 100% 18%, 100% 100%, 0 100%) !important;
  padding-top: 6cqw !important; }
.lbc--hw .lbc-name b { color: var(--hw-acc); text-shadow: 0 0 2cqw color-mix(in srgb, var(--hw-acc) 60%, transparent); }
.hw-serial { z-index: 6; left: 7cqw; right: 7cqw; bottom: 3.2cqw; display: flex; justify-content: space-between; gap: 2cqw;
  font-size: 2.8cqw; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--hw-acc2); white-space: nowrap; }
.hw-serial span { overflow: hidden; text-overflow: ellipsis; } .hw-serial b { color: #fff; }
.hw-drip { z-index: 7; top: 0; left: 0; right: 0; height: 10cqw; pointer-events: none; transform-origin: 50% 0; animation: hw-drip 4s ease-in-out infinite alternate; }
.hw-drip svg { width: 100%; height: 100%; display: block; fill: var(--hw-slime); filter: drop-shadow(0 .6cqw .6cqw rgba(0,0,0,.45)); }
@keyframes hw-drip { from { transform: scaleY(.9); } to { transform: scaleY(1.25); } }
.hw-foil { z-index: 8 !important;
  background-image:
    repeating-linear-gradient(115deg, var(--hw-acc) 0%, var(--hw-acc3) 7%, var(--hw-acc2) 14%, #ffffff 18%, var(--hw-acc) 25%),
    repeating-linear-gradient(35deg, rgba(255,255,255,0) 0 2.5cqw, rgba(255,255,255,.22) 2.7cqw 3cqw, rgba(255,255,255,0) 3.4cqw 6cqw) !important; }
.lbc--hw:not(.is-active) .hw-foil { animation: lbc-shimmer 7s ease-in-out infinite alternate; }
.hw-sparkle { z-index: 8; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: color-dodge; transition: opacity .4s;
  background-image:
    radial-gradient(.5cqw .5cqw at 20% 30%, #fff, transparent), radial-gradient(.4cqw .4cqw at 70% 22%, #fff, transparent),
    radial-gradient(.6cqw .6cqw at 40% 70%, #fff, transparent), radial-gradient(.4cqw .4cqw at 82% 60%, #fff, transparent),
    radial-gradient(.5cqw .5cqw at 12% 82%, #fff, transparent), radial-gradient(.35cqw .35cqw at 58% 46%, #fff, transparent);
  background-size: 40% 40%; background-position: var(--mx) var(--my); }
.lbc--hw.is-active .hw-sparkle { opacity: .9; }
.lbc--hw .lbc-glare { z-index: 9; }
.hw-new { position: absolute; z-index: 30; top: -2.5cqw; right: -2.5cqw; font-family: var(--font-display); font-weight: 900; font-size: 4.4cqw; letter-spacing: .08em;
  padding: 1.2cqw 3cqw; border-radius: 99px; color: #1a0500; background: linear-gradient(135deg, var(--hw-acc2), var(--hw-acc)); box-shadow: 0 0 4cqw var(--hw-acc); animation: hw-newp 1.2s ease-in-out infinite alternate; }
@keyframes hw-newp { from { transform: scale(1) rotate(6deg); } to { transform: scale(1.1) rotate(-4deg); } }

/* back */
.hw-back { color: #fff; padding: 0; }
.hw-back .hw-sky { background: radial-gradient(120% 60% at 50% 110%, var(--hw-sky3), transparent 60%), linear-gradient(170deg, var(--hw-sky2), var(--hw-sky1) 70%); }
.hw-back .hw-web { top: auto; bottom: 0; right: auto; left: 0; transform: rotate(180deg); }
.hwb-head { z-index: 3; top: 6cqw; left: 7cqw; right: 6cqw; display: flex; justify-content: space-between; align-items: center; gap: 2cqw; padding-bottom: 2.4cqw; border-bottom: .4cqw dashed color-mix(in srgb, var(--hw-acc) 50%, transparent); }
.hwb-head b { display: block; font-family: var(--font-display); font-size: 6.2cqw; line-height: 1.1; }
.hwb-head small { font-size: 2.9cqw; color: var(--hw-acc2); text-transform: uppercase; letter-spacing: .08em; }
.hwb-stats { z-index: 3; top: 30cqw; left: 7cqw; right: 7cqw; display: flex; flex-direction: column; gap: 1.8cqw; }
.hwb-row { display: grid; grid-template-columns: 19cqw 1fr 7cqw; gap: 2cqw; align-items: center; }
.hwb-row span { font-size: 2.9cqw; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; opacity: .85; }
.hwb-row i { height: 2.2cqw; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.hwb-row i b { display: block; height: 100%; border-radius: inherit;
  background: repeating-linear-gradient(-45deg, var(--hw-acc) 0 1.6cqw, var(--hw-acc2) 1.6cqw 3.2cqw); box-shadow: 0 0 2cqw var(--hw-acc); }
.hwb-row em { font-style: normal; font-family: var(--font-display); font-weight: 900; font-size: 3.6cqw; text-align: right; color: var(--hw-acc2); }
.hwb-info { z-index: 3; left: 7cqw; right: 7cqw; bottom: 17cqw; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6cqw; }
.hwb-info div { background: rgba(0,0,0,.35); border: .3cqw solid color-mix(in srgb, var(--hw-acc) 35%, transparent); border-radius: 2.4cqw; padding: 1.4cqw 2.2cqw; min-width: 0; }
.hwb-info span { display: block; font-size: 2.4cqw; opacity: .65; text-transform: uppercase; letter-spacing: .06em; }
.hwb-info b { display: block; font-size: 3.3cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hwb-foot { z-index: 3; left: 6cqw; right: 6cqw; bottom: 6cqw; display: flex; align-items: center; justify-content: center; gap: 2cqw; font-size: 2.6cqw; letter-spacing: .14em; text-transform: uppercase; color: var(--hw-acc2); }
.hwb-foot svg { width: 4cqw; }

/* ── Gallery / toolbar / my collection ── */
.lbg-title { flex-wrap: wrap; }
.lbg-admin { margin-left: auto; }
.lbg-admin-btn { padding: 9px 16px; border-radius: 99px; font-weight: 800; font-size: .82rem; color: #1a0500; cursor: pointer; border: none;
  background: linear-gradient(135deg, #ffd166, #ff7a18); box-shadow: 0 6px 18px rgba(255,122,24,.35); transition: transform .25s var(--ease), box-shadow .25s; }
.lbg-admin-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,122,24,.45); }
.lbg-colls:empty { display: none; }
.lbg-coll-chip small { opacity: .7; margin-left: 2px; }
.lbg-coll-chip.active.lbg-coll-chip--pumpkin { background: linear-gradient(135deg, #ff7a18, #c2410c); border-color: #ff7a18; box-shadow: 0 4px 16px rgba(255,122,24,.4); }
.lbg-coll-chip.active.lbg-coll-chip--witch { background: linear-gradient(135deg, #7c3aed, #15803d); border-color: #7c3aed; box-shadow: 0 4px 16px rgba(124,58,237,.4); }
.lbg-coll-chip.active.lbg-coll-chip--blood { background: linear-gradient(135deg, #dc2626, #450a0a); border-color: #dc2626; box-shadow: 0 4px 16px rgba(220,38,38,.4); }
.lbm-coll { grid-column: 1 / -1; margin-top: 30px; }
.lbm-coll-h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.lbm-coll-h b { font-family: var(--font-display); font-size: 1.15rem; } .lbm-coll-h span { color: var(--text-muted); font-size: .85rem; }
.lbm-coll-row { display: flex; gap: 18px; overflow-x: auto; padding: 14px 6px 18px; scroll-snap-type: x mandatory; }
.lbm-coll-item { flex: 0 0 170px; scroll-snap-align: start; transition: transform .35s var(--ease); }
.lbm-coll-item:hover { transform: translateY(-6px); }
.lbv-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ── Reveal (pack opening) ── */
.hwr { display: flex; flex-direction: column; align-items: center; padding: 6px 0 4px; }
.hwr-stage { position: relative; width: min(300px, 72vw); aspect-ratio: 5/7; margin: 16px auto 22px; }
.hwr-card { position: absolute; inset: 0; z-index: 2; }
.hwr-glow { position: absolute; inset: -30%; z-index: 0; border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(circle, var(--hw-acc) 0%, color-mix(in srgb, var(--hw-acc3) 60%, transparent) 35%, transparent 65%); filter: blur(18px); }
.hwr-pack { position: absolute; inset: -3% -5%; z-index: 3; border: none; background: none; padding: 0; cursor: pointer; filter: drop-shadow(0 20px 40px rgba(0,0,0,.45)); }
.hwr-pack-top { position: absolute; left: 0; right: 0; top: 0; height: 18%; display: grid; place-items: center; border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, var(--hw-acc), var(--hw-acc2), var(--hw-acc3), var(--hw-acc));
  clip-path: polygon(0 0, 100% 0, 100% 80%, 95% 100%, 90% 80%, 85% 100%, 80% 80%, 75% 100%, 70% 80%, 65% 100%, 60% 80%, 55% 100%, 50% 80%, 45% 100%, 40% 80%, 35% 100%, 30% 80%, 25% 100%, 20% 80%, 15% 100%, 10% 80%, 5% 100%, 0 80%); }
.hwr-pack-top i { font-style: normal; font-size: 1.8rem; }
.hwr-pack-body { position: absolute; left: 0; right: 0; top: 16%; bottom: 0; border-radius: 0 0 16px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; overflow: hidden;
  background: radial-gradient(120% 70% at 50% 110%, var(--hw-sky3), transparent 60%), linear-gradient(170deg, var(--hw-sky2), var(--hw-sky1)); }
.hwr-pack-body::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 18px, rgba(255,255,255,.07) 18px 22px); animation: lbc-shimmer 4s linear infinite alternate; }
.hwr-pack-body b { position: relative; font-family: 'Creepster', var(--font-display); font-weight: 400; font-size: 2rem; color: var(--hw-acc); text-shadow: 0 0 14px var(--hw-acc); text-align: center; padding: 0 10px; line-height: 1.1; }
.hwr-pack-body small { position: relative; letter-spacing: .3em; font-size: .62rem; color: var(--hw-acc2); font-weight: 800; }
.hwr-pack-body em { position: relative; font-style: normal; margin-top: 18px; font-size: .78rem; padding: 7px 14px; border-radius: 99px; background: rgba(255,255,255,.12); animation: hw-newp 1s ease-in-out infinite alternate; }
.hwr-caption { text-align: center; font-size: .92rem; color: var(--text-secondary); display: flex; flex-direction: column; gap: 12px; align-items: center; }

/* ── Photo studio ── */
.hws { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 26px; align-items: start; }
.hws-stage { position: relative; }
.hws-stage canvas { width: 100%; aspect-ratio: 5/7; border-radius: 18px; display: block; background: #0d0221; box-shadow: 0 18px 40px rgba(15,23,42,.25); touch-action: none; cursor: grab; }
.hws-stage canvas:active { cursor: grabbing; }
.hws-upload { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; cursor: pointer;
  background: rgba(255,255,255,.92); box-shadow: 0 8px 20px rgba(0,0,0,.25); font-size: .84rem; white-space: nowrap; }
.hws-upload:not(.has) { bottom: 46%; padding: 14px 20px; font-size: .95rem; }
.hws-h { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px; color: var(--text-muted); margin: 14px 0 8px; }
.hws-h:first-child { margin-top: 0; }
.hws-h small { text-transform: none; letter-spacing: 0; font-weight: 500; margin-left: 6px; }
.hws-fx { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; }
.hws-fx-btn { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--bg-soft); border: 2px solid transparent; font-size: .82rem; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s; }
.hws-fx-btn:hover { border-color: var(--blue-200); } .hws-fx-btn.active { border-color: var(--orange-500); background: #fff7ed; }
.hws-sw { width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0; background: #ccc; }
.hws-sw--none { background: linear-gradient(135deg, #fca5a5, #93c5fd, #86efac); }
.hws-sw--pumpkin { background: linear-gradient(135deg, #0b0118, #7a1f05, #ff7a18, #ffe3a3); }
.hws-sw--zombie { background: linear-gradient(135deg, #020a03, #1f4a14, #7fd34e, #e8ffd0); }
.hws-sw--vampire { background: linear-gradient(135deg, #0a0003, #3b0712, #b8a3ab, #fff5f7); }
.hws-sw--witch { background: linear-gradient(135deg, #02040a, #3b1a6b, #7ee04c, #f2ffe0); }
.hws-sw--ghost { background: linear-gradient(135deg, #01030d, #1e2a55, #a9c8ff, #fff); }
.hws-sw--blood { background: linear-gradient(135deg, #050000, #6b0000, #ff3b2f, #ffd6cc); }
.hws-stickers { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; }
.hws-st { height: 44px; border-radius: 12px; background: var(--bg-soft); border: 1px solid rgba(200,210,230,.5); font-size: 1.4rem; display: grid; place-items: center; cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.hws-st:hover { transform: translateY(-2px) scale(1.06); background: #fff7ed; }
.hws-st i { display: block; width: 28px; height: 28px; background-size: contain; background-repeat: no-repeat; background-position: center; }
.hws-st-hat { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cellipse cx='20' cy='31' rx='18' ry='5' fill='%233b1a6b'/%3E%3Cpath d='M10 31Q16 18 22 6Q28 4 32 9Q26 10 25 15Q27 24 30 31Z' fill='%233b1a6b'/%3E%3Crect x='11' y='26' width='18' height='4' fill='%23ff7a18'/%3E%3C/svg%3E"); }
.hws-st-horns { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M14 30Q10 18 2 8Q16 14 20 30Z' fill='%23dc2626'/%3E%3Cpath d='M26 30Q30 18 38 8Q24 14 20 30Z' fill='%23dc2626'/%3E%3C/svg%3E"); }
.hws-st-mask { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M2 18Q4 12 12 13Q20 16 28 13Q36 12 38 18Q36 26 28 25Q20 21 12 25Q4 26 2 18Z' fill='%23111' stroke='%23ff7a18' stroke-width='1.5'/%3E%3Cellipse cx='12' cy='19' rx='4' ry='2.2' fill='%23ffd166'/%3E%3Cellipse cx='28' cy='19' rx='4' ry='2.2' fill='%23ffd166'/%3E%3C/svg%3E"); }
.hws-sel { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #fff7ed; border: 1px solid #fed7aa; }
.hws-sel:empty { display: none; }
.hws-sel-row { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 10px; font-size: .82rem; margin-bottom: 6px; }
.hws-sel-row input { accent-color: var(--orange-500); width: 100%; }
.hws-sel-btns { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.hws-del { color: #b91c1c !important; }
.hws-muted { font-size: .8rem; color: var(--text-muted); }
.hws-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(200,210,230,.4); }

/* ── Admin ── */
.adm-intro { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.adm-intro h4 { font-family: var(--font-display); font-size: 1.3rem !important; font-weight: 800; margin-bottom: 4px !important; }
.adm-intro p { margin: 0 !important; font-size: .88rem !important; max-width: 560px; }
.adm-list { display: flex; flex-direction: column; gap: 12px; }
.adm-coll { display: flex; gap: 18px; align-items: center; padding: 14px; border-radius: 18px; background: var(--bg-soft); }
.adm-coll-card { width: 96px; flex-shrink: 0; }
.adm-coll-main { flex: 1; min-width: 0; } .adm-coll-main > b { font-family: var(--font-display); font-size: 1.1rem; display: block; }
.adm-coll-main small { color: var(--text-muted); font-size: .8rem; }
.adm-coll-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.adm-note { font-size: .76rem !important; color: var(--text-muted) !important; margin-top: 16px !important; }
.adm-create { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.adm-prev { position: sticky; top: 0; }
.adm-prev-hint { font-size: .76rem; color: var(--text-muted); text-align: center; margin-top: 12px; line-height: 1.5; }
.adm-h { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px; color: var(--text-muted); margin: 16px 0 8px; }
.adm-form > .adm-h:first-child { margin-top: 0; }
.adm-lock { padding: 12px 14px; border-radius: 14px; background: #fff7ed; border: 1px solid #fed7aa; font-size: .88rem; }
.adm-tpls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.adm-tpl { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; text-align: left; padding: 12px; border-radius: 14px; border: 2px solid transparent; background: var(--bg-soft); }
.adm-tpl span { grid-row: span 2; font-size: 1.6rem; } .adm-tpl b { font-size: .92rem; } .adm-tpl small { font-size: .72rem; color: var(--text-muted); }
.adm-tpl.active { border-color: var(--orange-500); background: #fff7ed; }
.adm-tpl--soon { opacity: .55; }
.adm-vars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.adm-var { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 12px; border-radius: 14px; border: 2px solid transparent; background: var(--bg-soft); cursor: pointer; transition: border-color .2s, transform .25s var(--ease); }
.adm-var:hover { transform: translateY(-2px); } .adm-var.active { border-color: var(--text-primary); background: #fff; box-shadow: 0 8px 20px rgba(15,23,42,.08); }
.adm-var b { font-size: .88rem; } .adm-var small { font-size: .7rem; color: var(--text-muted); line-height: 1.35; }
.adm-sw { display: flex; gap: 4px; margin-bottom: 4px; } .adm-sw i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.adm-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; margin-top: 14px; }
.adm-grid .form-input { padding: 10px 12px; font-size: .88rem; }
.adm-search { margin: 10px 0 8px; max-width: none; width: 100%; }
.adm-people { max-height: 280px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; overscroll-behavior: contain; padding-right: 4px; }
.adm-person { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 12px; transition: background .2s; }
.adm-person.on { background: #fff7ed; }
.adm-person label { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; cursor: pointer; }
.adm-person input { accent-color: var(--orange-500); width: 16px; height: 16px; }
.adm-pn { display: flex; flex-direction: column; min-width: 0; } .adm-pn b { font-size: .86rem; } .adm-pn small { font-size: .72rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-ph { font-size: .74rem; font-weight: 700; padding: 6px 10px; border-radius: 99px; background: #fff; border: 1px solid rgba(200,210,230,.7); cursor: pointer; white-space: nowrap; }
.adm-ph:hover { border-color: var(--orange-500); } .adm-ph.done { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.adm-eye { width: 30px; height: 30px; border-radius: 50%; border: none; background: transparent; cursor: pointer; opacity: .6; } .adm-eye:hover { opacity: 1; background: var(--bg-soft); }
.adm-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(200,210,230,.4); flex-wrap: wrap; }

@media (max-width: 900px) {
  .hws, .adm-create { grid-template-columns: minmax(0, 1fr); }
  .adm-form { min-width: 0; }
  .hws-stage { width: min(320px, 86%); margin: 0 auto; }
  .adm-prev { position: static; width: min(260px, 80%); margin: 0 auto; }
  .adm-vars { grid-template-columns: 1fr; } .adm-grid { grid-template-columns: 1fr; } .adm-tpls { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hw-bat, .hw-bat svg, .hw-clouds i, .hw-fog i, .hw-spider, .hw-thread, .hw-drip, .hw-moon, .hw-stars, .hw-title, .hw-avatar span, .hw-ovr svg, .hw-new, .lbc--hw .lbc-face::before, .lbc--hw .hw-foil { animation: none !important; }
}

/* back-face children are absolutely positioned (beats community.css .lbc-back > * rule) */
.lbc.lbc--hw .lbc-back.hw-back > * { position: absolute; }
.lbc.lbc--hw .lbc-back.hw-back > .hw-sky, .lbc.lbc--hw .lbc-back.hw-back > .lbc-glare { inset: 0; }
