.rdv2 {
  --rdv2-accent: #4fea9f;
  --rdv2-accent-rgb: 79,234,159;
  --rdv2-on-accent: #0b1410;
  --rdv2-radius: 20px;
  --rdv2-cover-h: 300px;
  --rdv2-side-w: 340px;
  --rdv2-ava-r: 24%;
  --rdv2-text: #eceef5;
  --rdv2-muted: #8f91a6;
  --rdv2-dim: #6e7084;
  --rdv2-line: rgba(255,255,255,.07);
  --rdv2-soft: rgba(255,255,255,.035);
  --rdv2-soft-2: rgba(255,255,255,.06);
  --rdv2-card-bg: linear-gradient(180deg, rgba(40,40,50,.8) 0%, rgba(27,27,34,.8) 100%);
  --rdv2-card-border: rgba(255,255,255,.075);
  --rdv2-card-shadow: 0 18px 44px rgba(5,5,9,.38), inset 0 1px 0 rgba(255,255,255,.045);
  --rdv2-inner-r: calc(var(--rdv2-radius) * .7);
  position: relative;
  margin: 0 0 34px;
  color: var(--rdv2-text);
  line-height: 1.4;
  text-align: left;
}

.rdv2 *, .rdv2 *::before, .rdv2 *::after { box-sizing: border-box; }
.rdv2 a { text-decoration: none; }
.rdv2 button { font-family: inherit; }
.rdv2 [hidden] { display: none !important; }

.rdv2-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--rdv2-radius);
  background: var(--rdv2-card-bg);
  border: 1px solid rgb(255,105,180);
  box-shadow: var(--rdv2-card-shadow);
}

.rdv2-hero__stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr);
}

.rdv2-hero__cover {
  grid-area: 1 / 1;
  position: relative;
  height: auto;
  min-height: calc(var(--rdv2-cover-h) + 110px);
  overflow: hidden;
}

.rdv2-hero__cover > .dc_cover {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  z-index: 0 !important;
}

.rdv2-hero__cover .dc_cover_hero {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.rdv2-hero__cover .dc_cover_edit_btn,
.rdv2-hero__cover .dc_cover_locked { z-index: 8 !important; }

.rdv2-hero__cover .dc_cover_edit_btn {
  pointer-events:auto !important;
}

.rdv2-hero__shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 90% at 0% 100%, rgba(var(--rdv2-accent-rgb), .26), transparent 60%),
    linear-gradient(180deg, rgba(10,10,14,.4) 0%, rgba(10,10,14,0) 28%, rgba(10,10,14,.55) 62%, rgba(10,10,14,.92) 100%);
}

.rdv2-hero__chips {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  pointer-events: none;
}

.rdv2-hero__chips .rdv2-chip {
  pointer-events: auto;
}

.rdv2-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(12,12,18,.55);
  border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #e8e9f1;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

button.rdv2-chip { cursor: pointer; }
.rdv2-chip--id span { color:#9d9fb3; font-weight:700; letter-spacing:.04em; }
.rdv2-chip--id b { font-weight:800; }
.rdv2-chip--id .bx { font-size:14px; color:#9d9fb3; }
.rdv2-chip--id:hover { border-color:rgba(var(--rdv2-accent-rgb),.55); background:rgba(12,12,18,.75); }
.rdv2-chip--presence.is-online { color:#c9f7df; }

.rdv2-hero__body {
  grid-area: 1 / 1;
  align-self: end;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  grid-template-areas: "ava id stats" "ava id actions";
  column-gap: 12px;
  row-gap: 14px;
  align-items: end;
  padding: 26px;
}

.rdv2-hero__ava-wrap { grid-area:ava; position:relative; margin-top:0; align-self:end; }
.rdv2-ava {
  position:relative; display:inline-block; flex:0 0 auto;
  width:var(--rdv2-s,44px); height:var(--rdv2-s,44px); line-height:0; vertical-align:middle;
}
.rdv2-ava--hero { --rdv2-s:152px; }
.rdv2-ava--sm { --rdv2-s:52px; }
.rdv2-ava--xs { --rdv2-s:38px; }

.rdv2-ava__img {
  display:block; width:100%; height:100%; object-fit:cover; border-radius:var(--rdv2-ava-r);
  background:#23232b; border:4px solid rgba(255,255,255,.14);
  box-shadow:0 18px 44px rgba(0,0,0,.55),0 0 0 1px rgba(var(--rdv2-accent-rgb),.35),0 0 36px rgba(var(--rdv2-accent-rgb),.18);
}

.rdv2-ava__frame {
  position:absolute; z-index:4; top:-8%; left:-8%; width:116%; height:116%;
  max-width:none; pointer-events:none;
}
.rdv2-ava__frame > * {
  width:100% !important; height:100% !important; max-width:none !important; max-height:none !important;
  object-fit:contain !important; pointer-events:none !important;
}

.rdv2-hero__id { grid-area:id; min-width:0; align-self:end; padding-top:0; }
.rdv2-hero__name {
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:8px;
  min-width:0;
  max-width:100%;
  margin:0;
  padding:0;
  color:var(--rdv2-text);
  font-size:30px;
  font-weight:800;
  line-height:1.15;
  letter-spacing:-.015em;
  white-space:nowrap;
}
.rdv2-hero__login {
  flex:0 0 auto;
  min-width:max-content;
  max-width:none;
  overflow:visible;
  text-overflow:clip;
  white-space:nowrap;
  text-shadow:0 0 28px currentColor;
}
.rdv2-hero__badges {
  display:inline-flex;
  flex:0 0 auto;
  flex-wrap:nowrap;
  align-items:center;
  gap:5px;
  max-width:none;
  font-size:14px;
  line-height:1;
  white-space:nowrap;
}
.rdv2-hero__badges > * { display:inline-flex !important; align-items:center; gap:4px; max-height:26px; margin:0 !important; }
.rdv2-hero__badges img,.rdv2-hero__badges svg,.rdv2-hero__badges video {
  width:auto !important; height:22px !important; max-width:44px !important; max-height:22px !important; object-fit:contain; margin:0 !important;
}

.rdv2-hero__meta { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:10px; }
.rdv2-group {
  display:inline-flex; align-items:center; gap:7px; height:27px; padding:0 11px; border-radius:9px;
  background:rgba(79,234,159,.12); border:1px solid rgba(79,234,159,.3); color:var(--rdv2-g,#4fea9f);
  font-size:12px; font-weight:800; letter-spacing:.01em;
}
.rdv2-group i { width:7px; height:7px; border-radius:50%; background:currentColor; box-shadow:0 0 8px currentColor; }

.rdv2-status { margin-top:12px; max-width:100%; }
.rdv2-status__view {
  display:inline-flex; align-items:center; gap:8px; max-width:100%; padding:7px 12px; border-radius:11px;
  background:rgba(12,12,18,.5); border:1px solid rgba(255,255,255,.12); color:#d3d5e0;
  font-size:13px; font-weight:600; line-height:1.3; -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
}
.rdv2-status__view .bx { font-size:16px; color:var(--rdv2-accent); flex:0 0 auto; }
.rdv2-status__view small { color:inherit; font:inherit; cursor:inherit; }
.rdv2-status--edit .rdv2-status__view { cursor:pointer; border-style:dashed; }

.rdv2-hero__stats { grid-area:stats; justify-self:end; align-self:end; display:flex; gap:8px; margin-top:0; }
.rdv2-hstat {
  min-width:76px; padding:10px 10px; border-radius:var(--rdv2-inner-r);
  background:rgba(12,12,18,.5); border:1px solid rgba(255,255,255,.12);
  text-align:center; -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
}
.rdv2-hstat b { display:block; color:#fff; font-size:20px; font-weight:800; line-height:1.15; }
.rdv2-hstat span { display:block; margin-top:2px; color:var(--rdv2-muted); font-size:11px; font-weight:600; white-space:nowrap; }

.rdv2-hero__actions { grid-area:actions; justify-self:end; align-self:end; display:flex; flex-wrap:nowrap; justify-content:flex-end; gap:8px; }
.rdv2-btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px; height:40px; padding:0 16px;
  border-radius:12px; border:1px solid transparent; background:var(--rdv2-soft-2); color:var(--rdv2-text);
  font-size:13px; font-weight:700; line-height:1; white-space:nowrap; cursor:pointer;
  transition:transform .18s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease,color .2s ease;
}
.rdv2-btn .bx { font-size:18px; }
.rdv2-btn:hover { color:#fff; transform:translateY(-1px); }
.rdv2-btn--primary {
  background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,0)),var(--rdv2-accent);
  color:var(--rdv2-on-accent) !important; box-shadow:0 8px 22px rgba(var(--rdv2-accent-rgb),.28);
}
.rdv2-btn--glass { background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.1); }
.rdv2-btn--glass:hover { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.18); }
.rdv2-btn--danger:hover { background:rgba(255,92,92,.14); border-color:rgba(255,92,92,.4); color:#ff8f8f; }
.rdv2-btn--accept { background:rgba(61,217,138,.16); border-color:rgba(61,217,138,.4); color:#7ff0b6; }
.rdv2-btn--icon { width:40px; padding:0; }

.rdv2-nav {
  position:relative; z-index:2; padding:0 22px !important; border:0 !important;
  border-top:1px solid var(--rdv2-line) !important; border-radius:0 !important;
  background:linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.18)) !important; box-shadow:none !important;
}
.rdv2-nav__track { position:relative; display:flex; gap:4px; overflow-x:auto; overflow-y:hidden; scrollbar-width:none; scroll-behavior:smooth; }
.rdv2-nav__track::-webkit-scrollbar { display:none; }
.rdv2-nav__tab {
  position:relative; z-index:1; flex:0 0 auto; display:inline-flex; align-items:center; gap:8px;
  height:56px; margin:0; padding:0 16px; border:0 !important; border-radius:0; background:transparent !important;
  box-shadow:none !important; color:var(--rdv2-muted); font-size:13.5px; font-weight:700; white-space:nowrap; cursor:pointer; transition:color .25s ease;
}
.rdv2-nav__tab .bx { font-size:19px; transition:transform .25s ease,color .25s ease; }
.rdv2-nav__tab:hover { color:var(--rdv2-text); }
.rdv2-nav__tab:hover .bx { transform:translateY(-1px); }
.rdv2-nav__tab.is-active { color:#fff; }
.rdv2-nav__tab.is-active .bx { color:var(--rdv2-accent); }
.rdv2-nav__ink {
  position:absolute; z-index:0; left:0; bottom:0; width:0; height:3px; border-radius:3px 3px 0 0;
  background:var(--rdv2-accent); box-shadow:0 0 16px rgba(var(--rdv2-accent-rgb),.85),0 -6px 18px rgba(var(--rdv2-accent-rgb),.25);
}

.rdv2-card {
  --rdv2-c:var(--rdv2-accent); --rdv2-c-rgb:var(--rdv2-accent-rgb);
  position:relative; min-width:0; padding:18px 20px 20px;
  border-radius:var(--rdv2-radius); background:var(--rdv2-card-bg); border:1px solid var(--rdv2-card-border);
  box-shadow:var(--rdv2-card-shadow);
}
.rdv2-card::before {
  content:""; position:absolute; top:-1px; left:22px; right:22px; height:1px;
  background:linear-gradient(90deg,transparent,rgba(var(--rdv2-c-rgb),.6),transparent); opacity:.75; pointer-events:none;
}
.rdv2-card__head { display:flex; align-items:center; gap:10px; margin:0 0 16px; min-width:0; }
.rdv2-card__icon {
  display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; width:34px; height:34px; border-radius:11px;
  background:rgba(var(--rdv2-c-rgb),.12); border:1px solid rgba(var(--rdv2-c-rgb),.22); color:var(--rdv2-c); font-size:18px;
}
.rdv2-card__title {
  flex:1 1 auto; min-width:0; margin:0; padding:0; overflow:hidden; color:#f3f4f9; font-size:15px; font-weight:800;
  line-height:1.2; letter-spacing:.005em; white-space:nowrap; text-overflow:ellipsis; text-transform:none;
}
.rdv2-card__count {
  display:inline-flex; align-items:center; height:22px; padding:0 8px; border-radius:7px;
  background:var(--rdv2-soft-2); color:#c3c5d2; font-size:11.5px; font-weight:800;
}
.rdv2-card__more {
  display:inline-flex; align-items:center; gap:2px; margin-left:auto; color:var(--rdv2-muted);
  font-size:12.5px; font-weight:700; white-space:nowrap; transition:color .2s;
}
.rdv2-card__more .bx { font-size:17px; transition:transform .2s; }
.rdv2-card__more:hover { color:var(--rdv2-c); }
.rdv2-card__more:hover .bx { transform:translateX(2px); }

.rdv2-contacts { display:flex; flex-direction:column; gap:8px; }
.rdv2-contact {
  --rdv2-b:42,171,238; display:flex; align-items:center; gap:12px; width:100%; min-width:0; margin:0;
  padding:10px 12px; border-radius:var(--rdv2-inner-r); background:var(--rdv2-soft);
  border:1px solid rgba(255,255,255,.05); color:var(--rdv2-text); font:inherit; text-align:left; cursor:pointer;
  transition:border-color .2s,background .2s,transform .2s;
}
.rdv2-contact--steam { --rdv2-b:102,192,244; }
.rdv2-contact--ds { --rdv2-b:88,101,242; }
.rdv2-contact--fb { --rdv2-b:66,103,178; }
.rdv2-contact:hover { color:var(--rdv2-text); border-color:rgba(var(--rdv2-b),.45); background:rgba(var(--rdv2-b),.07); transform:translateY(-1px); }
.rdv2-contact__logo {
  display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; width:40px; height:40px; overflow:hidden;
  border-radius:12px; background:rgba(var(--rdv2-b),.16); color:rgb(var(--rdv2-b)); font-size:22px;
}
.rdv2-contact__logo img { width:100%; height:100%; object-fit:cover; }
.rdv2-contact__text { display:flex; flex-direction:column; gap:2px; min-width:0; flex:1; }
.rdv2-contact__text b { color:#f2f3f8; font-size:13.5px; font-weight:800; }
.rdv2-contact__text em { overflow:hidden; color:var(--rdv2-muted); font-size:12px; font-style:normal; font-weight:600; white-space:nowrap; text-overflow:ellipsis; }
.rdv2-contact__text em strong { color:inherit; font:inherit; }
.rdv2-contact__go { color:var(--rdv2-dim); font-size:17px; transition:color .2s; }
.rdv2-contact:hover .rdv2-contact__go { color:rgb(var(--rdv2-b)); }
.rdv2-card__more--settings { color:#aeb4ca; font-weight:700; }
.rdv2-contacts-empty {
  min-height:120px; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:12px; padding:18px 16px; text-align:center; border:1px dashed rgba(255,255,255,.12);
  border-radius:16px; background:rgba(255,255,255,.02);
}
.rdv2-contacts-empty__icon {
  width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center;
  border-radius:999px; color:#4fea9f; background:rgba(79,234,159,.10); font-size:20px;
}
.rdv2-contacts-empty__text {
  color:#b6bbcf; font-size:13.5px; line-height:1.45; font-weight:700; max-width:240px;
}
.rdv2-contacts-empty__text span { color:#ff7f96; }
.rdv2-contacts-empty__link {
  color:#ff7f96; text-decoration:underline; text-underline-offset:2px; font-weight:800;
}
.rdv2-contacts-empty__link:hover { color:#ff98aa; }

.rdv2-friend { display:flex; flex-direction:column; align-items:center; gap:8px; min-width:0; padding:12px 6px 10px; border-radius:var(--rdv2-inner-r); background:rgba(255,255,255,.025); border:1px solid rgba(255,255,255,.045); color:var(--rdv2-text); text-align:center; transition:transform .2s,border-color .2s,background .2s; }
.rdv2-friend__text { display:flex; flex-direction:column; gap:2px; width:100%; min-width:0; }
.rdv2-friend__name { overflow:hidden; font-size:12px; font-weight:800; white-space:nowrap; text-overflow:ellipsis; }
.rdv2-friend__group { overflow:hidden; color:var(--rdv2-dim); font-size:10.5px; font-weight:600; white-space:nowrap; text-overflow:ellipsis; }
.rdv2-friends--list { display:flex; flex-direction:column; gap:4px; }
.rdv2-friends--list .rdv2-friend { flex-direction:row; gap:12px; padding:8px 10px; border-color:transparent; background:transparent; text-align:left; }
.rdv2-friends--list .rdv2-friend:hover { transform:none; background:var(--rdv2-soft); border-color:transparent; }
.rdv2-friends--list .rdv2-ava--sm { --rdv2-s:42px; }
.rdv2-friends--list .rdv2-friend__name { font-size:13px; }
.rdv2-friends--list .rdv2-friend__group { font-size:11.5px; }

.rdv2-visitors--stack { display:flex; flex-wrap:wrap; align-items:center; padding-left:10px; }
.rdv2-visitors--stack .rdv2-visitor { position:relative; display:inline-flex; margin:0 0 6px -10px; padding:0; border:0; background:none; border-radius:0; transition:transform .2s ease; }
.rdv2-visitors--stack .rdv2-visitor:hover { z-index:3; transform:translateY(-4px) scale(1.08); background:none; }
.rdv2-visitors--stack .rdv2-ava__img { border:3px solid #1d1d25; }
.rdv2-visitors--stack .rdv2-ava--xs { --rdv2-s:44px; }

.rdv2-geo {
  display:flex; align-items:center; gap:14px; padding:14px; border-radius:var(--rdv2-inner-r);
  background:radial-gradient(120% 140% at 100% 0%,rgba(var(--rdv2-c-rgb),.14),transparent 55%),var(--rdv2-soft);
  border:1px solid rgba(255,255,255,.05);
}
.rdv2-geo__flag { width:46px; height:34px; object-fit:cover; border-radius:7px; box-shadow:0 6px 16px rgba(0,0,0,.35); }
.rdv2-geo__pin { color:var(--rdv2-c); font-size:30px; }
.rdv2-geo__text { display:flex; flex-direction:column; gap:2px; min-width:0; }
.rdv2-geo__text b { color:#f2f3f8; font-size:14px; font-weight:800; }
.rdv2-geo__text span { color:var(--rdv2-muted); font-size:12.5px; font-weight:600; }

.rdv2-main > .rzprof-card,
.rdv2-main .rzprof-pane > .rzprof-card,
.rdv2-main .rzprof-clan-card {
  border-radius:var(--rdv2-radius) !important;
  border:1px solid var(--rdv2-card-border) !important;
  background:var(--rdv2-card-bg) !important;
  box-shadow:var(--rdv2-card-shadow) !important;
}


.rdv2-side .rd-profile-music { width:100%; margin:0; }


@media (max-width:640px) {
  .rdv2-nav { padding:0 8px !important; }
  .rdv2-nav__track { -webkit-mask-image:linear-gradient(90deg,#000 86%,transparent); mask-image:linear-gradient(90deg,#000 86%,transparent); padding-right:24px; }
  .rdv2-nav__tab { height:50px; padding:0 12px; font-size:13px; }
  .rdv2-main,.rdv2-side { gap:14px; }
  .rdv2-grid { gap:14px !important; }
  .rdv2-side { grid-template-columns:minmax(0,1fr); }
  .rdv2-hero__cover { height:auto; min-height:380px; }
  .rdv2-hero__body {
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"ava" "id" "stats" "actions";
    justify-items:center; text-align:center; row-gap:14px; padding:70px 16px 18px;
  }
  .rdv2-hero__ava-wrap { margin-top:0; }
  .rdv2-ava--hero { --rdv2-s:118px; }
  .rdv2-hero__id { padding-top:0; display:flex; flex-direction:column; align-items:center; }
  .rdv2-hero__name,.rdv2-hero__meta { justify-content:center; }
  .rdv2-hero__name { font-size:23px; }
  .rdv2-hero__stats { justify-self:stretch; width:100%; }
  .rdv2-hstat { flex:1; min-width:0; padding:9px 6px; }
  .rdv2-hstat b { font-size:17px; }
  .rdv2-hero__actions { justify-self:stretch; justify-content:center; width:100%; }
  .rdv2-hero__actions .rdv2-btn:not(.rdv2-btn--icon) { flex:1 1 auto; }
  .rdv2-hero__chips { top:10px; left:10px; right:10px; }
  .rdv2-card { padding:16px 14px 16px; }
  .rdv2-card__head { margin-bottom:13px; }
}

@media (max-width:400px) {
  .rdv2-hero__actions .rdv2-btn span { display:none; }
  .rdv2-hero__actions .rdv2-btn { width:44px; flex:0 0 auto !important; padding:0; }
  .rdv2-hero__actions .rdv2-btn--primary { width:auto; flex:1 1 auto !important; padding:0 14px; }
  .rdv2-hero__actions .rdv2-btn--primary span { display:inline; }
}

@media (prefers-reduced-motion:reduce) {
  .rdv2 *, .rdv2 *::before, .rdv2 *::after { animation:none !important; transition:none !important; }
}

.rdv2 .rdv2-friends-native .friend-card-redesign .user-full::before,
.rdv2 .rdv2-friends-native .friend-card-redesign .user-full::after {
  display:none !important;
}

.rdv2 .rdv2-visitors-native {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  min-height:44px;
  padding-left:10px;
}

.rdv2 .rdv2-visitors-native a {
  position:relative;
  display:inline-flex !important;
  margin:0 0 6px -10px !important;
  padding:0 !important;
  border:0 !important;
  background:none !important;
  border-radius:0 !important;
  transition:transform .2s ease;
}

.rdv2 .rdv2-visitors-native a:hover {
  z-index:3;
  transform:translateY(-4px) scale(1.08);
}

.rdv2 .rdv2-visitors-native img {
  display:block;
  width:44px !important;
  height:44px !important;
  min-width:44px !important;
  min-height:44px !important;
  margin:0 !important;
  border:3px solid #1d1d25 !important;
  border-radius:var(--rdv2-ava-r) !important;
  object-fit:cover !important;
}

.rdv2 > .rdv2-grid,
.rdv2 .rdv2-grid {
    display: grid !important;
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: var(--rdv2-side-w) minmax(0, 1fr) !important;
    grid-template-areas: "side main" !important;
    column-gap: 18px !important;
    row-gap: 18px !important;
    align-items: start !important;
    justify-items: stretch !important;
    margin: 4px 0 0 !important;
    padding: 0 !important;
}

.rdv2 .rdv2-side {
    grid-area: side !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    order: 0 !important;
}

.rdv2 .rdv2-main {
    grid-area: main !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rdv2 .rdv2-main > .rzprof-pane,
.rdv2 .rdv2-main > .rzprof-card,
.rdv2 .rdv2-main .rzprof-pane.active,
.rdv2 .rdv2-main .rzprof-game-time-profile,
.rdv2 .rdv2-main .rzprof-case-drops-profile,
.rdv2 .rdv2-main .rzprof-clan-card,
.rdv2 .rdv2-main .dc-medals-profile-standalone {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

.rdv2 .rdv2-main .rzprof-pane.active {
    display: block;
}

.rdv2 .rdv2-side > .rdv2-card,
.rdv2 .rdv2-side > .rd-profile-music {
    width: 100% !important;
    max-width: none !important;
    flex: 0 0 auto !important;
}

.rdv2 .rdv2-card--contacts  { order: 1 !important; }
.rdv2 .rdv2-card--friends   { order: 2 !important; }
.rdv2 .rdv2-card--location  { order: 3 !important; }
.rdv2 .rdv2-card--visitors  { order: 4 !important; }
.rdv2 .rd-profile-music     { order: 5 !important; }

@media (max-width: 900px) {
    .rdv2 > .rdv2-grid,
    .rdv2 .rdv2-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "main"
            "side" !important;
    }

    .rdv2 .rdv2-side {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
        align-items: start !important;
    }
}

@media (max-width: 640px) {
    .rdv2 .rdv2-side {
        display: flex !important;
        flex-direction: column !important;
    }
}

.rdv2 .rdv2-hero__badges .premium-login-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    height: 19px !important;
    min-height: 19px !important;
    margin: 0 !important;
    padding: 0 6px !important;
    border: 1px solid rgba(139, 90, 0, .38) !important;
    border-radius: 5px !important;
    box-sizing: border-box !important;
    color: #5b3a00 !important;
    background: linear-gradient(135deg, #fff2b8 0%, #ffd873 35%, #f0b429 70%, #c9891e 100%) !important;
    box-shadow:
        0 1px 2px rgba(0,0,0,.26),
        inset 0 1px 0 rgba(255,255,255,.58) !important;
    text-shadow: 0 1px 0 rgba(255,255,255,.35) !important;
    font-family: inherit !important;
    font-size: 8px !important;
    font-weight: 900 !important;
    line-height: 17px !important;
    letter-spacing: .02em !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
}

.rdv2 .rdv2-hero__badges .premium-login-badge i {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #5b3a00 !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    font-size: 8px !important;
    line-height: 1 !important;
}

.rdv2 .rdv2-card--friends .rdv2-card__body {
    overflow: hidden !important;
}

.rdv2 .rdv2-friends-native {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    width: 100% !important;
    max-height: 244px !important;
    overflow: hidden !important;
}

.rdv2 .rdv2-friends-native .small-friend {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 58px !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    overflow: hidden !important;
    border: 1px solid transparent !important;
    border-radius: var(--rdv2-inner-r) !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--rdv2-text) !important;
    text-align: left !important;
    transform: none !important;
}

.rdv2 .rdv2-friends-native .small-friend:hover {
    transform: none !important;
    border-color: transparent !important;
    background: var(--rdv2-soft) !important;
}

.rdv2 .rdv2-friends-native .small-friend img {
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: var(--rdv2-ava-r) !important;
    object-fit: cover !important;
}

.rdv2 .rdv2-friends-native .small-friend span {
    display: block !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: #dfe1ea !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-align: left !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

.rdv2 .rdv2-friends-native .small-friend:nth-of-type(n+5),
.rdv2 .rdv2-friends-native .friend-card-redesign:nth-of-type(n+5) {
    display: none !important;
}

.rdv2 .rdv2-friends-native .friend-card-redesign {
    float: none !important;
    display: block !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: none !important;
    height: 58px !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.rdv2 .rdv2-friends-native .friend-card-redesign .user-full {
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
    border: 0 !important;
    border-radius: var(--rdv2-inner-r) !important;
    background: transparent !important;
    box-shadow: none !important;
}

.rdv2 .rdv2-friends-native .friend-card-redesign .block_user {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    padding: 8px 10px !important;
}

.rdv2 .rdv2-friends-native .friend-card-redesign .pb-avatar-user-card-wrap {
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
}

.rdv2 .rdv2-friends-native .friend-card-redesign .user_avatar {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    border-radius: var(--rdv2-ava-r) !important;
    object-fit: cover !important;
}

.rdv2 .rdv2-friends-native .friend-card-redesign .text_user {
    margin: 0 0 2px !important;
    color: #dfe1ea !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 15px !important;
}

.rdv2 .rdv2-friends-native .friend-card-redesign .desp_user {
    color: var(--rdv2-dim) !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    line-height: 13px !important;
}

.rdv2 .rdv2-friends-native .friend-card-redesign .user_btn,
.rdv2 .rdv2-friends-native .friend-card-redesign .buttons_friends_new,
.rdv2 .rdv2-friends-native .friend-card-redesign .friend-hover-profile {
    display: none !important;
}

.rdv2-copy-toast {
    position: fixed;
    z-index: 2147483000;
    top: 68px;
    right: 24px;
    left: auto;

    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    column-gap: 7px;

    width: min(212px, calc(100vw - 20px));
    min-height: 55px;
    padding: 9px 9px 10px 10px;

    overflow: hidden;
    border: 1px solid rgba(255,255,255,.085);
    border-radius: 8px;

    background: linear-gradient(180deg, rgba(24,25,32,.99), rgba(20,21,28,.99));

    box-shadow:
        0 8px 26px rgba(0,0,0,.42),
        inset 0 1px 0 rgba(255,255,255,.025);

    color: #eceef5;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;

    transition:
        opacity .18s ease,
        transform .22s cubic-bezier(.22,.8,.25,1);

    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.rdv2-copy-toast::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: #18d77a;
    box-shadow: 0 0 8px rgba(24,215,122,.38);
}

.rdv2-copy-toast.is-show {
    opacity: 1;
    transform: translateY(0);
}

.rdv2-copy-toast.is-hide {
    opacity: 0;
    transform: translateY(-6px);
}

.rdv2-copy-toast__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border-radius: 50%;
    background: rgba(24,215,122,.13);
    color: #20d77b;
    box-shadow: inset 0 0 0 1px rgba(32,215,123,.05);
}

.rdv2-copy-toast__icon .bx {
    font-size: 12px;
    font-weight: 800;
}

.rdv2-copy-toast__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.rdv2-copy-toast__title {
    color: #f2f3f7;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.18;
}

.rdv2-copy-toast__text {
    overflow: hidden;
    color: #9294a3;
    font-size: 8.5px;
    font-weight: 600;
    line-height: 1.28;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.rdv2-copy-toast__progress {
    position: absolute;
    z-index: 3;
    left: 3px;
    bottom: 0;
    width: calc(100% - 3px);
    height: 2px;
    transform-origin: left center;
    background: #18d77a;
    box-shadow: 0 0 6px rgba(24,215,122,.42);
    animation: rdv2-copy-toast-progress 4.2s linear forwards;
}

.rdv2-copy-toast--error::before,
.rdv2-copy-toast--error .rdv2-copy-toast__progress {
    background: #ff5c5c;
    box-shadow: 0 0 6px rgba(255,92,92,.38);
}

.rdv2-copy-toast--error .rdv2-copy-toast__icon {
    background: rgba(255,92,92,.12);
    color: #ff6b6b;
}

@keyframes rdv2-copy-toast-progress {
    from { transform: scaleX(1); }
    to   { transform: scaleX(0); }
}

@media (max-width: 575px) {
    .rdv2-copy-toast {
        top: 10px;
        right: 10px;
        left: auto;
        width: min(212px, calc(100vw - 20px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .rdv2-copy-toast {
        transition: none !important;
    }

    .rdv2-copy-toast__progress {
        animation: none !important;
    }
}

@media (min-width: 641px) {
  .rdv2-hero__body {
    grid-template-columns:auto minmax(0,1fr) !important;
    grid-template-areas:"ava id" !important;
    position:relative;
  }

  .rdv2-hero__id {
    overflow:visible;
    transform:translateY(7px);
  }

  .rdv2-hero__name {
    overflow:visible;
  }

  .rdv2-hero__stats {
    position:absolute !important;
    z-index:4;
    right:26px;
    bottom:73px;
    display:flex !important;
    flex-wrap:nowrap !important;
    justify-self:auto !important;
    align-self:auto !important;
    margin:0 !important;
    transform:none !important;
  }

  .rdv2-hero__actions {
    position:absolute !important;
    z-index:4;
    right:26px;
    bottom:19px;
    display:flex !important;
    flex-wrap:nowrap !important;
    justify-content:flex-end !important;
    justify-self:auto !important;
    align-self:auto !important;
    margin:0 !important;
    transform:none !important;
    white-space:nowrap;
  }

  .rdv2-hero__actions .rdv2-btn {
    flex:0 0 auto !important;
  }

  .rdv2-status {
    width:fit-content;
    max-width:min(430px,52vw);
    margin-top:12px;
  }

  .rdv2-status__view {
    display:inline-flex;
    align-items:flex-start;
    max-width:100%;
    min-height:31px;
    padding:7px 12px;
    white-space:normal;
  }

  .rdv2-status__view > span,
  .rdv2-status__view #status_user {
    min-width:0;
    max-width:100%;
  }

  .rdv2-status__view small {
    display:-webkit-box;
    max-width:100%;
    overflow:hidden;
    white-space:normal;
    overflow-wrap:anywhere;
    word-break:break-word;
    line-height:1.35;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }

  .rdv2-status__view .bx {
    flex:0 0 auto;
    margin-top:1px;
  }
}

@media (max-width:1120px) and (min-width:981px) {
  .rdv2-hero__name { font-size:27px; }
}

@media (max-width:980px) and (min-width:901px) {
  .rdv2-hero__name { font-size:24px; }
  .rdv2-hero__badges { gap:4px; }
}

@media (max-width:900px) and (min-width:641px) {
  .rdv2-hero__name {
    font-size:22px;
    gap:6px;
  }

  .rdv2-hero__badges { gap:3px; }

  .rdv2-hstat {
    min-width:72px;
    padding-left:8px;
    padding-right:8px;
  }

  .rdv2-status { max-width:360px; }
}
