/* ============================================================
   VESPER COMMUNITY — Profile
   Cover / identity header, tab bar, fields, settings sub-tabs
   ============================================================ */

.vprof {
  --vp-bg: #0C0D0F;
  --vp-card: #141414;
  --vp-card2: #17171B;
  --vp-line: #262626;
  --vp-line2: #1f1f1f;
  --vp-txt: #EDEBE6;
  --vp-dim: #8f8f8f;
  --vp-red: #F10000;

  position: relative;
  background: var(--vp-card);
  border: 1px solid var(--vp-line);
  border-radius: 14px;
  overflow: hidden;
  margin: 0 0 34px;
  font-family: "Oswald", sans-serif;
  color: var(--vp-txt);
}

.vprof *, .vprof *::before, .vprof *::after { box-sizing: border-box; }
.vprof a { color: inherit; text-decoration: none; }
.vprof p { margin: 0; }
.vprof__panel--flush { padding-top: 0; }

/* ---------------------------------------------------- cover */

.vprof__cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1450 / 560;
  min-height: 200px;
  max-height: 460px;
  background-color: #101114;
  background-size: cover;
  background-position: center;
}

.vprof__cover-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12,13,15,0) 55%, rgba(12,13,15,.55) 100%);
  pointer-events: none;
}

.vprof__cover-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  background: rgba(10, 11, 13, .78);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .03em;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .16s ease, border-color .16s ease;
}
.vprof__cover-btn:hover { background: var(--vp-red); border-color: var(--vp-red); }

.vprof__file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------------------------------------------------- identity row */

.vprof__id {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding: 0 22px 16px;
  margin-top: -86px;
}

.vprof__ava {
  position: relative;
  flex: 0 0 auto;
  width: 172px;
  height: 172px;
  border-radius: 50%;
  border: 4px solid var(--vp-card);
  background: var(--vp-card2);
  overflow: hidden;
}
.vprof__ava-img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.vprof__dot {
  position: absolute;
  right: 12px;
  bottom: 16px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--vp-card);
}

.vprof__ava-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: rgba(12, 13, 15, .68);
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition: opacity .16s ease;
}
.vprof__ava:hover .vprof__ava-btn,
.vprof__ava-btn:focus-visible { opacity: 1; }

.vprof__idmain { flex: 1 1 auto; min-width: 0; padding-bottom: 4px; }

.vprof__name {
  margin: 0 0 9px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: .015em;
  color: var(--vp-txt);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vprof__stats { display: flex; flex-wrap: wrap; gap: 20px; }
.vprof__stat { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; color: #b9b9b9; }
.vprof__stat svg { color: #9a9a9a; }
.vprof__stat strong { color: var(--vp-txt); font-weight: 600; }
.vprof__stat a { transition: color .15s ease; }
.vprof__stat a:hover { color: var(--vp-red); }
.vprof__stat a:hover strong { color: var(--vp-red); }

.vprof__acts {
  display: flex;
  align-items: flex-end;
  gap: 26px;
  padding-bottom: 6px;
  margin-left: auto;
}

.vprof__act {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: none;
  border: 0;
  padding: 4px 6px;
  color: #c3c3c3;
  font-family: inherit;
  font-size: 12.5px;
  letter-spacing: .04em;
  cursor: pointer;
  border-radius: 6px;
  transition: color .15s ease, background .15s ease;
}
.vprof__act:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.vprof__act.is-on { color: var(--vp-red); }
.vprof__act--edit { color: #c3c3c3; }

/* friend / follow buttons sit in the same acts row */
.vprof__acts { flex-wrap: wrap; }
.vprof__act--friend,
.vprof__act--follow { white-space: nowrap; }
.vprof__act--friend.is-on svg { color: var(--vp-red); }

/* ---------------------------------------------------- main nav */

.vprof__nav {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: nowrap;
  background: var(--vp-bg);
  border-top: 1px solid var(--vp-line);
  border-bottom: 1px solid var(--vp-line);
}

.vprof__tab {
  flex: 1 1 0;
  min-width: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 17px 8px;
  color: #9a9a9a;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .045em;
  border-bottom: 2px solid transparent;
  text-align: center;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.vprof__tab-ico { display: inline-flex; color: currentColor; }
.vprof__tab:hover { color: var(--vp-txt); background: rgba(255, 255, 255, .045); }
.vprof__tab.is-active { color: #fff; border-bottom-color: var(--vp-red); }
.vprof__tab.is-active .vprof__tab-ico { color: var(--vp-red); }
.vprof__tab.is-off { opacity: .38; cursor: not-allowed; }
.vprof__tab.is-off:hover { background: none; color: #9a9a9a; }

/* ---------------------------------------------------- panel + blocks */

.vprof__panel { padding: 24px 24px 32px; }

.vprof__block { margin-bottom: 30px; }
.vprof__block:last-child { margin-bottom: 0; }

.vprof__blockhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--vp-line2);
  margin-bottom: 6px;
}
.vprof__blockhead h2 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--vp-txt);
}

.vprof__empty {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 26px 4px;
  color: var(--vp-dim);
  font-size: 15px;
}
.vprof__empty--lock { color: #b9b9b9; }

/* ---------------------------------------------------- completeness */

.vprof__compl { padding: 16px 0 6px; border-bottom: 1px solid var(--vp-line2); }
.vprof__compl-txt { font-size: 15px; color: #cfcfcf; margin-bottom: 11px; }
.vprof__compl-txt strong { color: var(--vp-txt); font-weight: 600; }
.vprof__bar {
  height: 8px;
  background: #262626;
  border-radius: 99px;
  overflow: hidden;
}
.vprof__bar i {
  display: block;
  height: 100%;
  background: var(--vp-red);
  border-radius: 99px;
  transition: width .4s ease;
}
.vprof__missing {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  color: var(--vp-red);
  font-size: 13.5px;
}

/* ---------------------------------------------------- field rows */

.vprof__field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--vp-line2);
}
.vprof__field:last-child { border-bottom: 0; }

.vprof__flabel {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #c6c6c6;
  margin-bottom: 9px;
}
.vprof__req { color: var(--vp-red); font-style: normal; margin-left: 3px; }

.vprof__fval { font-size: 15.5px; line-height: 1.55; color: var(--vp-txt); white-space: pre-wrap; }
.vprof__fval.is-empty { color: #767676; }

.vprof__fedit { display: block; }
.vprof__fedit[hidden] { display: none; }
.vprof__fedit-acts { display: flex; gap: 9px; margin-top: 10px; }

.vprof__fside { position: relative; display: flex; align-items: center; gap: 10px; padding-top: 2px; }

.vprof__priv {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #1c1c1c;
  border: 1px solid #2e2e2e;
  border-radius: 99px;
  color: #cfcfcf;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: .03em;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.vprof__priv:hover:not(:disabled) { border-color: var(--vp-red); color: #fff; }
.vprof__priv:disabled { cursor: default; }
.vprof__priv svg { color: #9a9a9a; }

.vprof__priv-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
  min-width: 150px;
  padding: 6px;
  background: var(--vp-card2);
  border: 1px solid var(--vp-line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .6);
}
.vprof__priv-menu[hidden] { display: none; }
.vprof__priv-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  background: none;
  border: 0;
  border-radius: 5px;
  color: #d6d6d6;
  font-family: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
.vprof__priv-opt:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.vprof__priv-opt.is-on { color: var(--vp-red); }

/* ---------------------------------------------------- buttons */

.vprof__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 16px;
  background: #1c1c1c;
  border: 1px solid #3a3a3a;
  border-radius: 5px;
  color: var(--vp-txt);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .03em;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.vprof__btn:hover { background: #262626; border-color: var(--vp-red); color: #fff; }
.vprof__btn:disabled { opacity: .5; cursor: not-allowed; }

.vprof__btn--primary,
.vprof__btn--save { background: var(--vp-red); border-color: var(--vp-red); color: #fff; font-weight: 600; }
.vprof__btn--primary:hover,
.vprof__btn--save:hover { background: #fff; border-color: #fff; color: var(--vp-red); }

.vprof__btn--danger { background: var(--vp-red); border-color: var(--vp-red); color: #fff; font-weight: 600; padding: 9px 22px; }
.vprof__btn--danger:hover { background: #c40000; border-color: #c40000; color: #fff; }

.vprof__btn--ghost { background: transparent; }

/* ---------------------------------------------------- inputs */

.vprof__input {
  width: 100%;
  background: var(--vp-bg);
  border: 1px solid #333;
  border-radius: 4px;
  color: var(--vp-txt);
  font-family: inherit;
  font-size: 14.5px;
  padding: 10px 13px;
  min-height: 42px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.vprof__input::placeholder { color: #6f6f6f; }
.vprof__input:focus { outline: none; border-color: var(--vp-red); box-shadow: 0 0 0 1px var(--vp-red); }
.vprof__input--area { resize: vertical; min-height: 96px; line-height: 1.55; }
select.vprof__input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #9a9a9a 50%), linear-gradient(135deg, #9a9a9a 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }

/* ---------------------------------------------------- media + people grids */

.vprof__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
  padding-top: 18px;
}
.vprof__tile {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 7px;
  background: var(--vp-card2);
  border: 1px solid var(--vp-line);
}
.vprof__tile img,
.vprof__tile video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.vprof__tile:hover img,
.vprof__tile:hover video { transform: scale(1.05); }
.vprof__tile--video .vprof__tile-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(12, 13, 15, .3);
  transition: background .2s ease;
}
.vprof__tile--video:hover .vprof__tile-play { background: rgba(241, 0, 0, .32); }

.vprof__people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 14px;
  padding-top: 18px;
}
.vprof__person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  padding: 18px 10px;
  background: var(--vp-card2);
  border: 1px solid var(--vp-line);
  border-radius: 9px;
  text-align: center;
  transition: border-color .16s ease, transform .16s ease;
}
.vprof__person:hover { border-color: var(--vp-red); transform: translateY(-2px); }
.vprof__person-ava { display: block; width: 82px; height: 82px; border-radius: 50%; overflow: hidden; }
.vprof__person-ava .vprof__ava-img { width: 82px; height: 82px; }
.vprof__person-name { font-size: 14.5px; color: var(--vp-txt); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

/* ============================================================
   Settings sub-tabs
   ============================================================ */

.vset { margin: -24px -24px -32px; }
.vprof__panel--flush .vset { margin: 0; }

.vset__tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--vp-bg);
  border-bottom: 1px solid var(--vp-line);
}
.vset__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 17px 8px;
  color: #9a9a9a;
  font-size: 14.5px;
  letter-spacing: .03em;
  border-right: 1px solid var(--vp-line2);
  border-bottom: 2px solid transparent;
  text-align: center;
  transition: color .15s ease, background .15s ease;
}
.vset__tab:last-child { border-right: 0; }
.vset__tab-ico { display: inline-flex; color: currentColor; }
.vset__tab:hover { color: var(--vp-txt); background: rgba(255, 255, 255, .04); }
.vset__tab.is-active { background: #1a1a1a; color: var(--vp-txt); }
.vset__tab.is-active .vset__tab-ico { color: var(--vp-red); }

.vset__body { padding: 4px 26px 30px; }

.vset__panel { display: block; }

.vset__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0 6px;
}
.vset__head h2 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--vp-txt);
}
.vset__req-note { font-size: 12.5px; color: var(--vp-dim); }

.vset__group { padding: 24px 0 8px; border-bottom: 1px solid var(--vp-line2); }
.vset__group:last-child { border-bottom: 0; }
.vset__h3 {
  margin: 0 0 14px;
  font-family: "Oswald", sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--vp-txt);
}
.vset__lead { font-size: 14px; color: var(--vp-dim); margin: -6px 0 14px; }

/* rows ------------------------------------------------------ */

.vset__row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 11px 0;
}
.vset__row--select {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  padding: 14px 0;
}
.vset__label { font-size: 15px; color: var(--vp-txt); line-height: 1.4; }
.vset__help {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--vp-dim);
  font-style: normal;
}
.vset__help--block { margin-top: 7px; }

.vset__select {
  width: 100%;
  background: var(--vp-card);
  border: 1px solid #333;
  border-radius: 5px;
  color: var(--vp-txt);
  font-family: inherit;
  font-size: 14.5px;
  padding: 11px 36px 11px 13px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #9a9a9a 50%), linear-gradient(135deg, #9a9a9a 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.vset__select:focus { outline: none; border-color: var(--vp-red); box-shadow: 0 0 0 1px var(--vp-red); }
.vset__row--select:not(.is-wide) .vset__select { width: auto; min-width: 190px; align-self: flex-start; }

/* switch ---------------------------------------------------- */

.vset__switch { position: relative; display: inline-block; flex: 0 0 auto; width: 44px; height: 22px; }
.vset__switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 2; }
.vset__knob {
  position: absolute;
  inset: 0;
  background: #2b2b2b;
  border-radius: 99px;
  transition: background .18s ease;
  pointer-events: none;
}
.vset__knob::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #767676;
  transition: transform .18s ease, background .18s ease;
}
.vset__switch input:checked ~ .vset__knob { background: var(--vp-red); }
.vset__switch input:checked ~ .vset__knob::before { background: #fff; transform: translateX(22px); }
.vset__switch input:focus-visible ~ .vset__knob { box-shadow: 0 0 0 2px rgba(241, 0, 0, .4); }

/* fields (settings) ----------------------------------------- */

.vset__fields { padding-top: 6px; }

.vset__field {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  padding: 17px 0;
  border-bottom: 1px solid var(--vp-line2);
}
.vset__field:last-of-type { border-bottom: 0; }
.vset__flabel {
  display: block;
  font-size: 14.5px;
  color: #cfcfcf;
  letter-spacing: .01em;
}
.vset__fside {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.vset__priv { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--vp-dim); }
.vset__priv select {
  background: var(--vp-card2);
  border: 1px solid #333;
  border-radius: 99px;
  color: var(--vp-txt);
  font-family: inherit;
  font-size: 12.5px;
  padding: 6px 26px 6px 12px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #9a9a9a 50%), linear-gradient(135deg, #9a9a9a 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.vset__priv select:focus { outline: none; border-color: var(--vp-red); }
.vset__err { font-size: 12.5px; color: var(--vp-red); }

.vset__foot {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  padding: 22px 0 4px;
}
.vset__hint { font-size: 12.5px; color: var(--vp-dim); }
.vset__actions { display: flex; gap: 12px; padding: 18px 0 4px; }

.vset__note {
  background: var(--vp-card2);
  border: 1px solid var(--vp-line);
  border-radius: 4px;
  color: var(--vp-dim);
  font-size: 13px;
  padding: 13px 15px;
  margin-top: 14px;
}

.vset__danger {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fdecec;
  border: 1px solid #f6c8c8;
  border-radius: 6px;
  color: #b32b2b;
  font-size: 13.5px;
  line-height: 1.55;
  padding: 15px 17px;
  margin-bottom: 16px;
}
.vset__danger svg { flex: 0 0 auto; color: #d92b2b; margin-top: 2px; }

.vset__pw { position: relative; }
.vset__pw .vprof__input { padding-right: 44px; }
.vset__eye {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: #8f8f8f;
  cursor: pointer;
  padding: 7px;
  border-radius: 4px;
  display: inline-flex;
}
.vset__eye:hover { color: var(--vp-red); }

/* ============================================================
   Toast (shared with the stream)
   ============================================================ */

.vp-toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%) translateY(16px);
  z-index: 9999;
  background: #17171B;
  border: 1px solid var(--vp-line, #262626);
  border-left: 3px solid var(--vp-red, #F10000);
  color: #EDEBE6;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  letter-spacing: .03em;
  padding: 11px 18px;
  border-radius: 6px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .6);
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
}
.vp-toast.is-in { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------------------------------------------------- busy + lightbox */

.vprof__ava.is-busy .vprof__ava-img,
.vprof__cover.is-busy { opacity: .35; }
.vprof__cover { transition: opacity .2s ease; }

.vprof__lb {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .9);
  cursor: zoom-out;
  animation: vp-lb-in .18s ease both;
}
.vprof__lb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .7);
}
@keyframes vp-lb-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 980px) {
  .vprof__tab { min-width: 84px; font-size: 13px; gap: 7px; padding: 15px 6px; }
}

@media (max-width: 820px) {
  .vprof__cover { aspect-ratio: 16 / 8; min-height: 170px; }
  .vprof__id { flex-wrap: wrap; gap: 14px; margin-top: -66px; padding: 0 16px 14px; }
  .vprof__ava { width: 126px; height: 126px; border-width: 3px; }
  .vprof__dot { width: 15px; height: 15px; right: 8px; bottom: 12px; }
  .vprof__idmain { order: 2; flex: 1 1 200px; }
  .vprof__acts { order: 3; width: 100%; margin-left: 0; justify-content: flex-start; gap: 22px; padding-bottom: 0; }
  .vprof__name { font-size: 26px; }
  .vprof__stats { gap: 14px; font-size: 13.5px; }

  .vprof__nav { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .vprof__nav::-webkit-scrollbar { display: none; }
  .vprof__tab { flex: 0 0 auto; min-width: 104px; }

  .vprof__panel { padding: 18px 15px 26px; }
  .vset { margin: -18px -15px -26px; }
  .vprof__panel--flush .vset { margin: 0; }
  .vset__body { padding: 4px 16px 26px; }

  .vset__tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vset__tab { flex-direction: column; gap: 5px; font-size: 12.5px; padding: 13px 4px; line-height: 1.2; }

  .vprof__field { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .vprof__fside { justify-content: flex-start; }
  .vprof__grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
}

@media (max-width: 520px) {
  .vprof__acts { gap: 16px; }
  .vprof__act { font-size: 11.5px; }
  .vprof__blockhead { flex-wrap: wrap; gap: 10px; }
  .vset__head { flex-direction: column; gap: 6px; }
  .vset__row--select:not(.is-wide) .vset__select { width: 100%; }
}
