/* TASK-253: «Позвать» на плитках списка и хаба — как ice-board__invite, токены glide. */

.b-tile-wrap {
  position: relative;
  flex: 0 0 230px;
  min-width: 230px;
  max-width: 230px;
}

.b-tile-wrap > .b-tile {
  width: 100%;
  height: 100%;
}

.b-tile__invite {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  border: 0;
  border-radius: var(--app-radius-pill);
  padding: 7px 12px;
  background: var(--glide-card);
  color: var(--glide-text);
  font: inherit;
  font-size: var(--app-text-caption);
  font-weight: var(--app-weight-semibold);
  box-shadow: var(--glide-shadow-card);
  text-decoration: none;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.b-scroll .b-badge--time {
  font-size: 22px;
  max-width: calc(100% - 16px);
  white-space: nowrap;
}

.b-slot--invite {
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  background: var(--glide-card);
  box-shadow: var(--glide-shadow-card);
  border: 1px solid var(--g-line);
}

.b-sec--share-pick {
  padding-top: 8px;
}

.b-btn--wide {
  width: 100%;
  justify-content: center;
}

/* Без JS: кнопка подборки мертва — прячем; остаётся share_html. С JS: наоборот. */
.b-sec--share-pick {
  display: none;
}

html.js .b-sec--share-pick {
  display: block;
}

html.js .b-share {
  display: none;
}
