/* Раздел «Сайт»: карточки дисков и заливка фото */

#siteTabs {
  overflow-x: auto;
  scrollbar-width: none;
}
#siteTabs::-webkit-scrollbar { display: none; }
#siteTabs button { white-space: nowrap; }


.wcard {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.wcard.busy {
  opacity: 0.75;
}

.wphoto {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wphoto img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.wnophoto {
  font-size: 0.82rem;
  color: var(--muted);
}
.wcount {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.72rem;
}
.wbusy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.wname {
  font-size: 1rem;
  line-height: 1.2;
}
.wmeta {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: -6px;
}

.wseg {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.wsegb {
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: var(--fg, #fff);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}
.wsegb.on {
  background: var(--acc, #e8763a);
  border-color: var(--acc, #e8763a);
  color: #101010;
}

.wpick {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  cursor: pointer;
}

.wrow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.wrow .btn {
  min-height: 44px;
}

/* удаление — только в два тапа */
.wdel {
  background: #b5322c;
  border-color: #b5322c;
  color: #fff;
}
.wdel.on {
  background: #7d1f1b;
  border-color: #7d1f1b;
}

/* правка параметров */
.wform {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.wfield {
  display: grid;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--muted);
}
.wfield .noteinp {
  min-height: 44px;
  font-size: 16px;
}

.wvideo {
  border-style: dashed;
}
