/* Поиск и разделы витрины */
#screen-cases .csx-filter { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:9px; margin:0 16px 12px; }
#screen-cases button.csx-fbtn { flex:none; width:36px; height:36px; padding:0; border-radius:50% !important; display:grid; place-items:center;
  font-size:18px; font-weight:800; line-height:1; background:var(--control-fill) !important; border:1px solid var(--line) !important; color:var(--muted) !important; }
#screen-cases :is(.csx-fbtn,.csx-search) svg { flex:none; width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
#screen-cases #csfSort.desc svg { transform:scaleY(-1); }
#screen-cases .csx-search {
  display:flex; align-items:center; gap:8px; padding:0 12px; height:38px;
  color:var(--muted); background:var(--panel-bottom); border:1px solid var(--line); border-radius:999px;
}
#screen-cases .csx-search:focus-within { border-color:var(--accent); }
#screen-cases input.csx-finput {
  width:100%; min-width:0; height:100%; padding:0; border:0; background:transparent !important; font-size:13px;
}
#screen-cases input.csx-finput:focus-visible { outline:none; }
#screen-cases .csx-fchips { grid-column:1 / -1; min-width:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
#screen-cases .csx-fchips.has-more { grid-template-columns:repeat(4,minmax(0,1fr)); }
#screen-cases button.csx-fchip {
  min-height:37px; padding:4px; border-radius:12px !important; font-size:11px; font-weight:900; line-height:1.15;
  overflow-wrap:anywhere;
  background:var(--control-fill) !important; border:1px solid var(--line) !important; color:var(--muted) !important;
}
@media(max-width:340px) {
  #screen-cases button.csx-fchip { padding-inline:2px; font-size:10px; }
}
#screen-cases button.csx-fchip.on {
  background:var(--active-fill) !important; border-color:var(--chip-on-border) !important; color:var(--text) !important;
}
#screen-cases .csx-gsub { margin:-4px 0 8px; font-size:12px; color:#8d929c; }
#screen-cases button.csx-fmore {
  display:flex; align-items:center; justify-content:center; gap:3px;
}
#screen-cases button.csx-fmore i { font-style:normal; font-size:10px; }

/* Монета UpUp вместо значка 🪙 (подставляется скриптом coinify в app.js) */
/* !important — чтобы стили картинок карточек (img призов 64–120px, position:absolute…) не раздували значок монеты */
img.coin-ico { display:inline-block !important; position:static !important; width:1.08em !important; height:1.08em !important;
  min-width:0 !important; margin:0 .06em !important; vertical-align:-.2em; object-fit:contain; transform:none !important; filter:none !important; }

/* Дождь монет при крупном выигрыше — монета UpUp */
.gold-coin-anim img { display:block; width:1.4em; height:1.4em; object-fit:contain; filter:drop-shadow(0 2px 4px #0007); }
