/* «Ведро попкорна» (0.61, club-bucket.js): a small bucket IN FRONT of the face's lower-right corner — in the strip (a
   computer's pill and a phone's stacked faces), the mini-profile and the shop. Taps go through it; nothing takes room.
   The popcorn sinks with data-l (0 full … 5), set by the script on the film's clock; a refill hops once. */
.bkt { position: absolute; display: block; pointer-events: none; z-index: 3; }
.bkt-svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .55)); }
.bkt-pop { transition: transform .8s ease; }
.bkt[data-l="1"] .bkt-pop { transform: translateY(1.6px); }
.bkt[data-l="2"] .bkt-pop { transform: translateY(3.2px); }
.bkt[data-l="3"] .bkt-pop { transform: translateY(4.8px); }
.bkt[data-l="4"] .bkt-pop { transform: translateY(6.2px); }
.bkt[data-l="5"] .bkt-pop { transform: translateY(7.4px); }
.bkt-refill { animation: bkt-hop .7s ease-out 1; }
@keyframes bkt-hop { 0%, 100% { transform: translateY(0); } 35% { transform: translateY(-3px) rotate(-6deg); } 70% { transform: translateY(0) rotate(3deg); } }

/* The strip: on a computer the 22-px face sits 3 px into the 30-px pill — the bucket at its lower right; on a phone the
   38-px face is the chip — the bucket at the circle's lower right, inside the chip's box (the strip clips above/below). */
.person > .bkt-p { left: 15px; bottom: 1px; width: 12px; height: 14px; }
.person:hover > .bkt-p { transform: translateY(-1px); }
@media (max-width: 760px) { .person > .bkt-p { left: auto; right: -1px; bottom: -1px; width: 15px; height: 17px; } }

/* The mini-profile: placed by the script from the face's own box (lower right). */
.pp-head:has(> .bkt) { position: relative; }
.pp-head > .bkt-pp { width: 26px; height: 30px; }

/* The shop: one's face with a bucket (options, the chip, the tile), the levels row. */
.bkt-box { position: relative; display: inline-block; width: var(--fs); height: var(--fs); flex: none; vertical-align: middle; }
.bkt-box > .bkt-me { position: relative; display: block; width: var(--fs); height: var(--fs); margin: 0; border-radius: 50%; overflow: hidden; background: #5865f2; } /* no picture: Discord's own colour behind the initials, like the strip */
.bkt-box > .club-face { display: block; margin: 0; }
.bkt-ini { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-style: normal; font-weight: 700; font-size: calc(var(--fs, 20px) * .36); }
.bkt-box > .bkt { right: calc(var(--fs) * -.14); bottom: calc(var(--fs) * -.06); width: calc(var(--fs) * .52); height: calc(var(--fs) * .6); }
.bkt-demo { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.bkt-demo-k { font-size: 12px; opacity: .7; width: 100%; }
.bkt-chip { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.bkt-levels { display: inline-flex; gap: 8px; align-items: flex-end; }
.bkt-levels > .bkt-c { position: relative; width: 22px; height: 26px; }
.club-item.bkt-item .club-item-ico { display: inline-flex; width: 24px; height: 28px; }
@media (prefers-reduced-motion: reduce) { .bkt-refill { animation: none; } .bkt-pop { transition: none; } }

/* 0.61 v: the option buttons of the four new cards (kit.options brings no look of its own; like club-profile.css's):
   .pop-opts «Хлопушка», .bkt-opts «Ведро попкорна», .crd-opts «Имя в титрах», .trk-opts «Трюки питомца». */
.shop-opts:is(.pop-opts, .bkt-opts, .crd-opts, .trk-opts) { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin: 10px 0; }
.shop-opts.crd-opts { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
:is(.pop-opts, .bkt-opts, .crd-opts, .trk-opts) .shop-opt { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 76px; padding: 10px 6px 8px;
  border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .03); color: var(--text); font: inherit; cursor: pointer; }
.crd-opts:not(.crd-sty) .shop-opt { min-height: 44px; padding: 8px 10px; }
:is(.pop-opts, .bkt-opts, .crd-opts, .trk-opts) .shop-opt:hover { background: rgba(255, 255, 255, .07); }
:is(.pop-opts, .bkt-opts, .crd-opts, .trk-opts) .shop-opt.on { border-color: var(--accent); background: rgba(240, 170, 55, .1); box-shadow: inset 0 0 0 1px var(--accent); }
:is(.pop-opts, .bkt-opts, .crd-opts, .trk-opts) .shop-opt:disabled { opacity: .6; cursor: wait; }
:is(.pop-opts, .bkt-opts, .crd-opts, .trk-opts) .shop-opt-a { display: flex; align-items: center; justify-content: center; min-height: 40px; max-width: 100%; }
:is(.pop-opts, .bkt-opts, .crd-opts, .trk-opts) .shop-opt-k { margin-top: -2px; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 8px; background: rgba(255, 255, 255, .1); color: var(--muted); }
:is(.pop-opts, .bkt-opts, .crd-opts, .trk-opts) .shop-opt-k.now { background: rgba(72, 214, 140, .18); color: #6fe3a5; }
