/* «Магазин клуба» 0.33 — «Витрина профиля» (club-showcase.js): the shop's card and the block on the mini-profile. */

/* The shop's card: three slots, the search over the library, the line with its preview. */
.club-sc-group { margin: 18px 2px 8px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; } /* as .club-group */
.club-sc-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0; }
.club-sc-slot { position: relative; display: flex; flex-direction: column; gap: 5px; min-width: 0; padding: 0; border: 0; background: none; color: var(--text); font: inherit; text-align: left; }
button.club-sc-slot { cursor: pointer; }
.club-sc-sp { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 2 / 3; border-radius: 9px; overflow: hidden; background: var(--panel-2); border: 1px solid var(--line); }
.club-sc-slot.empty .club-sc-sp { background: transparent; border-style: dashed; color: var(--muted); font-size: 18px; }
.club-sc-sp > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.club-sc-drop { position: absolute; z-index: 2; top: 5px; right: 5px; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(0, 0, 0, .72); color: #fff; font-size: 17px; font-style: normal; line-height: 1; }
button.club-sc-slot:hover .club-sc-drop, button.club-sc-slot:focus-visible .club-sc-drop { background: var(--accent); color: #1a1205; }
button.club-sc-slot:focus-visible { outline: none; }
button.club-sc-slot:focus-visible .club-sc-sp { outline: 2px solid var(--accent); outline-offset: 2px; }
.club-sc-st { font-size: 12.5px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.club-sc-slot.empty .club-sc-st { color: var(--muted); }
.club-sc-search, .club-sc-in { width: 100%; min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 15px; }
.club-sc-search:focus, .club-sc-in:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.club-sc-hits { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.club-sc-hits:empty { display: none; }
.club-sc-hit { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 8px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--text); font-size: 14px; text-align: left; cursor: pointer; }
.club-sc-hit:hover, .club-sc-hit:focus-visible { background: var(--line); }
.club-sc-hit.on { border-color: var(--accent); background: rgba(229, 160, 13, .1); }
.club-sc-hp { flex: none; width: 32px; height: 46px; border-radius: 5px; overflow: hidden; background: var(--panel-2); }
.club-sc-ht small { color: var(--muted); }
.club-sc-none { color: var(--muted); font-size: 13.5px; padding: 6px 8px; }
.club-sc-ql { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.club-sc-ql > span { color: var(--muted); font-size: 13px; }
.club-sc-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 4px; font-size: 12.5px; color: var(--muted); min-height: 16px; }
.club-sc-bad { color: #ff8a73; }
.club-sc-count { flex: none; font-variant-numeric: tabular-nums; }
.club-sc-prev { margin: 8px 0 2px; }
.club-sc-prev:empty { display: none; }
.club-sc-prev-k { display: block; margin-bottom: 4px; color: var(--muted); font-size: 12.5px; }
.club-sc-acts { display: flex; gap: 8px; }
.club-sc-acts .club-buy { flex: 1 1 0; min-width: 0; }
.club-sc-acts .club-buy.club-sec { flex: 0 0 auto; width: auto; white-space: nowrap; }
.club-sc:focus { outline: none; } /* focused by «Изменить витрину» so the shop stays at the card */

/* The mini-profile: the line in quotes, then the films (a tap opens the film's card). */
.club-sc-pp { margin: 12px 0 4px; }
.club-sc-say { display: flex; align-items: flex-start; gap: 8px; padding: 9px 12px; border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; background: rgba(255, 255, 255, .04); }
.club-sc-line { flex: 1 1 auto; min-width: 0; font-size: 15px; font-style: italic; line-height: 1.4; overflow-wrap: anywhere; }
.club-sc-x { flex: none; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 17px; line-height: 1; cursor: pointer; }
.club-sc-x:hover, .club-sc-x:focus-visible { color: var(--text); background: var(--line); }
.club-sc-films { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; } /* n75: centred, a single film too */
.club-sc-films > .club-sc-film { flex: 0 1 calc((100% - 20px) / 3); max-width: 104px; } /* three per row as before (104 px, a phone shrinks them) */
.club-sc-film { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding: 0; border: 0; background: none; color: var(--text); font: inherit; text-align: left; }
button.club-sc-film { cursor: pointer; }
.club-sc-poster { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 9px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: border-color .15s ease; }
.club-sc-poster > img { width: 100%; height: 100%; object-fit: cover; display: block; }
button.club-sc-film:hover .club-sc-poster { border-color: var(--accent); }
button.club-sc-film:focus-visible { outline: none; }
button.club-sc-film:focus-visible .club-sc-poster { outline: 2px solid var(--accent); outline-offset: 2px; }
.club-sc-ft { font-size: 12px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.club-sc-film.gone { opacity: .55; }
.club-sc-edit { display: block; margin: 10px auto 0; min-height: 40px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--text); font: inherit; font-size: 13px; cursor: pointer; } /* n75: the card's one secondary button (.ppx-more) */
.club-sc-edit:hover, .club-sc-edit:focus-visible { background: rgba(255, 255, 255, .08); }
.club-sc-pp.empty .club-sc-edit { margin: 0; width: 100%; border-style: dashed; color: var(--muted); }

@media (max-width: 560px) { /* fingers: the take-down and the edit button grow to 44 px */
  .club-sc-x { width: 44px; height: 44px; }
  .club-sc-edit { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .club-sc-poster { transition: none; } }
