/* «Коллекция» (0.65.8, n97): the «Полка» in the profile (club-collect.js) — the owner's collectibles as still pictures on a
   wooden shelf, a row that scrolls sideways on a phone; a tap opens the 3D inspector (collect3d/core.js, loaded then).
   Nothing here moves: the shelf never animates (and so never over a film). */
.cl3-pp { position: relative; margin: 2px 0 6px; }
.cl3-shelf { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 4px 0; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.cl3-shelf-it { flex: 0 0 auto; width: 104px; min-height: 44px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 0 6px; border: 0; background: none;
  color: inherit; font: inherit; cursor: pointer; scroll-snap-align: start; border-radius: 10px; position: relative; }
.cl3-shelf-pic { display: block; width: 104px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: radial-gradient(120% 95% at 50% 40%, #3b342d, #120f0d);
  box-shadow: 0 6px 10px -6px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.06); transition: transform 0.15s ease; }
.cl3-shelf-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl3-shelf-it:hover .cl3-shelf-pic, .cl3-shelf-it:focus-visible .cl3-shelf-pic { transform: translateY(-2px); }
.cl3-shelf-it:focus-visible { outline: 2px solid #ffd58c; outline-offset: 2px; }
.cl3-shelf-n { font-size: 12px; line-height: 1.2; text-align: center; color: var(--muted, #b8b0a4); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl3-shelf-k { position: absolute; top: 4px; left: 4px; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 8px; background: rgba(20, 16, 12, 0.78); color: #ffd58c; }
.cl3-try .cl3-shelf-pic { box-shadow: 0 0 0 2px rgba(255, 213, 140, 0.55), 0 6px 10px -6px rgba(0, 0, 0, 0.7); }
.cl3-shelf-board { height: 12px; margin: -10px 0 0; border-radius: 3px 3px 6px 6px; pointer-events: none;
  background: linear-gradient(180deg, #8a5a3a 0%, #6b4128 45%, #4a2b19 100%); box-shadow: 0 6px 10px -4px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 220, 180, 0.35); }
@media (max-width: 420px) { .cl3-shelf-it, .cl3-shelf-pic { width: 88px; } .cl3-shelf { gap: 8px; } }
@media (max-width: 340px) { .cl3-shelf-it, .cl3-shelf-pic { width: 78px; } }
@media (prefers-reduced-motion: reduce) { .cl3-shelf-pic { transition: none; } }
/* the shop tile and the options (before the engine's CSS comes) */
.cl3-tile { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #15130f; }
/* n97 2C: the showcase's door to «Киносюрприз» (not a .club-buy: the box's decorator locks those on surprise-only picks) */
.cl3-buy { display: flex; flex-direction: column; gap: 8px; }
.cl3-sur-go { width: 100%; min-height: 46px; border-radius: 12px; border: 1px solid rgba(214, 166, 255, .6); color: #fbeaff; font: 700 15px/1 inherit; font-family: inherit; cursor: pointer;
  background: linear-gradient(100deg, rgba(150, 60, 200, .6), rgba(230, 110, 70, .55)); }
.cl3-only { border-color: rgba(214, 166, 255, .45) !important; color: #f1d6ff; }
/* 2E: the copy's serial under its name on the shelf («№ 003»; the full «№ 003 · Ник · дата» in the tooltip) */
.cl3-shelf-s { font-size: 11px; line-height: 1; color: #d9b8ff; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
/* n106 (0.66.1): the preloader of every 3D item's picture in a list — the showcase's options and tile, the «Полка», the box's
   reel tiles (they copy the showcase's) and the live stages: a soft shimmer in the tile's own 4:3 shape + a small spinner;
   the still fades in when it has loaded, the 3D fades in over it after its first frame (collect3d/core.js). Never an empty
   or black tile, no layout jump (the shape is there before the picture). Reduced motion: a static placeholder. */
.cl3-pre, .cl3-stage:not(.cl3-ok) { --cl3-shim: linear-gradient(100deg, transparent 32%, rgba(255, 232, 200, 0.09) 50%, transparent 68%); }
.cl3-pre { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: inherit;
  background: var(--cl3-shim) no-repeat, radial-gradient(120% 95% at 50% 40%, #3b342d 0%, #1d1a17 55%, #0b0a09 100%); background-size: 240% 100%, 100% 100%; background-position: 130% 0, 0 0; }
/* n109: the corner buttons over the card's stage — ⤢ look closer (always there), ⟲ back as it was (only while the object is turned away) */
.cl3-card { position: relative; }
.cl3-corner { position: absolute; top: 8px; z-index: 3; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(14, 12, 10, 0.6); color: #f1e8da; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: opacity 0.25s ease, visibility 0s linear 0s, background 0.15s ease; }
.cl3-corner:hover { background: rgba(48, 40, 30, 0.82); border-color: rgba(255, 214, 150, 0.5); }
.cl3-corner:focus-visible { outline: 2px solid #ffd58c; outline-offset: 2px; }
.cl3-corner svg { display: block; pointer-events: none; }
.cl3-zoom { right: 8px; }
.cl3-home { left: 8px; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0s linear 0.25s; }
.cl3-stage.cl3-off ~ .cl3-home { opacity: 1; visibility: visible; transition: opacity 0.25s ease, visibility 0s linear 0s; }
.cl3-stage.cl3-flat ~ .cl3-home { display: none; }
@media (prefers-reduced-motion: reduce) { .cl3-corner, .cl3-home, .cl3-stage.cl3-off ~ .cl3-home { transition: none; } }
.cl3-card > .cl3-stage { position: relative; overflow: hidden; aspect-ratio: 4 / 3; width: 100%; border-radius: 14px; } /* the card's stage keeps its shape before the engine's CSS comes */
.cl3-stage:not(.cl3-ok) { background: var(--cl3-shim) no-repeat, radial-gradient(120% 95% at 50% 40%, #3b342d 0%, #1d1a17 55%, #0b0a09 100%); background-size: 240% 100%, 100% 100%; background-position: 130% 0, 0 0; }
.cl3-pre > img.cl3-pi, .cl3-stage > img.cl3-pi { opacity: 0; transition: opacity 0.35s ease; }
.cl3-pre > img.cl3-pi.cl3-ok, .cl3-stage > img.cl3-pi.cl3-ok { opacity: 1; }
.cl3-opt .shop-opt-a { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; }
.cl3-sp { display: none; position: absolute; left: 50%; top: 50%; z-index: 1; width: 16px; height: 16px; margin: -10px 0 0 -10px; border-radius: 50%; pointer-events: none;
  border: 2px solid rgba(255, 231, 194, 0.2); border-top-color: rgba(255, 231, 194, 0.85); }
.cl3-pre:not(.cl3-ok):not(.cl3-bad) > .cl3-sp, .cl3-stage:not(.cl3-ok):not(.cl3-bad):not(.cl3-flat) > .cl3-sp, .cl3-stage.cl3-want:not(.cl3-live):not(.cl3-flat):not(.cl3-bad) > .cl3-sp { display: block; }
.cl3-big > .cl3-sp { width: 22px; height: 22px; margin: -13px 0 0 -13px; }
@media (prefers-reduced-motion: no-preference) {
  .cl3-pre:not(.cl3-ok):not(.cl3-bad), .cl3-stage:not(.cl3-ok):not(.cl3-bad) { animation: cl3-shim 1.5s ease-in-out infinite; }
  .cl3-sp { animation: cl3-sp 0.8s linear infinite; }
}
@keyframes cl3-shim { to { background-position: -30% 0, 0 0; } }
@keyframes cl3-sp { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cl3-sp { display: none !important; } .cl3-pre > img.cl3-pi, .cl3-stage > img.cl3-pi { transition: none; } }
.sur-rl-a > .cl3-pre { border-radius: 8px; }
.cl3-shelf-pic.cl3-pre { height: auto; }
/* n106: the showcase's twenty options as a grid of small 4:3 tiles (2 across in the shop's side panel, 3 on a phone) — before,
   each was an inline button as wide as its loaded picture: the list jumped from ~2 300 to ~4 800 px as the stills came in */
.club-items .cl3-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.club-items .cl3-opts > .shop-opt { display: flex; flex-direction: column; align-items: stretch; gap: 4px; width: auto; min-width: 0; margin: 0; padding: 4px 4px 6px; }
.club-items .cl3-opts .shop-opt-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
