:root {
  --main-color: #ff458a;
  --main-color-rgb: 255, 69, 138;
  --bg: #0b0c10;
  --panel: #11131a;
  --panel2: #0f1117;
  --text: #e9ecf1;
  --link: #ff458a;
  --link-hover: #ffffff;
  --muted: #a6adbb;
  --border: rgba(255, 255, 255, 0.1);
  --accent: #4da3ff;
  --overlay-bg: rgba(0, 0, 0, 0.25);

  --sidebarW: 320px;
  --gap: 18px;
  --radius: 14px;

  --thumb-accent: color-mix(in srgb, var(--main-color) 35%, transparent);
  --thumb-glass-light: rgba(255, 255, 255, 0.08);
  --thumb-glass-dark: rgba(255, 255, 255, 0.02);

  --pagination-color: #b8b8b8;
  --pagination-bg: rgba(255, 255, 255, 0.1);

  --modal-bg: #161616;
  --input-bg: #1d1d1d;
  --input-color: #ffffff;
  --input-border: none;
  --checkbox-bg: #000000;
}

* {
  box-sizing: border-box;
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}

*::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}

*::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.1);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.06) rgba(255, 255, 255, 0.06);
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.app {
  min-height: 100%;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 12, 16, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.logo-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    rgba(77, 163, 255, 0.9),
    rgba(77, 255, 196, 0.55)
  );
}

.search {
  flex: 1;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  max-width: 480px;
  height: 48px;
  position: relative;
}

.video-sidebar .search {
  max-width: 100%;
}

.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 18px;
}

.search input[type="search"] {
  flex: 1;
  padding: 10px 48px 10px 10px;
  font-size: 18px;
  color: #fff;
  background: transparent;
  border: none;
  outline: none;
  height: 48px;
}

.search button.search-submit {
  position: absolute;
  right: 0;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}

.search button.search-submit svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.search button.search-submit:hover,
.search button.search-submit:focus {
  background: var(--main-color);
  border-color: var(--main-color);
}

.search input::placeholder {
  color: #aaa;
}

.top-actions .search-btn {
  display: none;
}

@media (max-width: 680px) {
  .top-actions .search-btn {
    display: inline-flex;
  }

  .search {
    display: none;
  }
}

.top-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
  user-select: none;
  height: 48px;
}

.btn.primary {
  background: var(--main-color);
  border-color: var(--main-color);
}

/* LAYOUT */
.layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebarW);
  gap: var(--gap);
}

/* MAIN PANEL */
.main {
  min-width: 0;
}

.panel {
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-title {
  font-weight: 800;
  letter-spacing: 0.2px;
}

h1.panel-title,
h2.panel-title,
h3.panel-title {
  position: relative;
  margin: 0;
  padding: 0 10px 10px 14px;
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
}

h1.panel-title::before,
h2.panel-title::before,
h3.panel-title::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 6px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid var(--main-color);
}

/* HOME GRID */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.video-sidebar .video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin-bottom: 0;
}

.card {
  position: relative;
  z-index: 1;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.28);
}

.thumb {
  position: relative;
  z-index: 2;
  overflow: hidden;
  aspect-ratio: 9/16;
  background:
    radial-gradient(circle at 30% 30%, var(--thumb-accent), transparent 55%),
    linear-gradient(135deg, var(--thumb-glass-light), var(--thumb-glass-dark));
}

.card .thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
  transition: 0.5s;
}

.card:hover .thumb img {
  filter: brightness(120%);
  transform: scale(1.05);
}

.card-stats {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  align-items: center;
  cursor: pointer;
  display: flex;
  justify-content: center;
}

.card-stats svg {
  filter: drop-shadow(1px 2px 6px rgba(0, 0, 0, 0.2));
}

.card-stats span {
  margin-left: 7px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
  text-align: left;
  text-shadow: 0.5px 0.5px 0.5px rgba(0, 0, 0, 0.3);
}

.card-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;

  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 50px 12px 12px 12px;

  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
  color: #fff;
  text-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.5);

  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.card:hover .card-meta {
  transform: translateY(0);
}

.card-title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: normal;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-username {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
}

/* VIDEO PAGE INSIDE MAIN */
.video-page-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.player {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}

.player .fake-player {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.video-info {
  display: grid;
  gap: 10px;
}

.video-h1 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

/* SIDEBAR */
.sidebar {
  min-width: 0;
}

.sidebar .buttons-row {
  display: none;
}

.sidebar .sidebar-inner {
  position: sticky;
  top: 95px;
  display: grid;
  gap: 12px;
}

/* RIGHT VIDEO SIDEBAR */
.sidebar {
  position: relative;
  height: 100vh;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;

  height: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sidebar .sidebar-inner {
  overflow: auto;
  padding: 4px 14px;
  display: grid;
  gap: 14px;

  /* STICKY */
  position: -webkit-sticky;
  position: -moz-sticky;
  position: -ms-sticky;
  position: -o-sticky;
  position: sticky;
  top: 95px;
}

.sidebar .sidebar-inner::-webkit-scrollbar {
  width: 10px;
}

.sidebar .sidebar-inner::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

/* OPEN BUTTON */
.sidebar-open {
  display: none;
  justify-content: center;
  align-items: center;
  height: 48px;
  width: 48px;
  z-index: 125;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

/* CLOSE BUTTON */
.sidebar-close {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 30px;
  line-height: 1;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.upload-btn {
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(5, 183, 64, 0.45);
  color: var(--text);
  font-size: 14px;
  padding: 7px 12px;
  line-height: 1;
  cursor: pointer;
}

.buttons-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid var(--border);
}

.btn-right {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

.sidebar-inner .side-box:not(:first-of-type) {
  margin-top: 10px;
}

@media (max-width: 1080px) {
  .side-box {
    margin-top: 10px;
  }
}

.side-box h3,
.side-box .h3 {
  position: relative;
  margin: 0;
  padding: 0 10px 10px 14px;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
}

.side-box h3::before,
.side-box .h3::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 6px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid var(--main-color);
}

.side-box .side-body {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
  display: grid;
  gap: 10px;
}

/* FOOTER LINKS */
.sidebar-footer {
  padding: 14px 0;
  font-size: 15px;
  color: #aaa;
  border-top: 1px solid var(--border);
}

/* MENU */
.sidebar-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  margin-bottom: 14px;
}

.sidebar-links a {
  color: #cfcfcf;
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
  white-space: nowrap;
}

.sidebar-links a:hover {
  color: #fff;
  opacity: 0.9;
}

/* COPYRIGHT */
.sidebar-copyright {
  font-size: 14px;
  color: #777;
  line-height: 1.4;
}

/* TAGS SIDEBAR */
.x-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.x-tag {
  position: relative;
  display: inline-flex;
  align-items: center;

  padding: 10px 12px;
  border-radius: 8px;

  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);

  color: #cfcfcf;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.3px;

  text-decoration: none;
  white-space: nowrap;

  cursor: pointer;
  user-select: none;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.12s ease;
}

/* # BEFORE */
/*.x-tag::before {
	content: "#";
	margin-right: 6px;
	font-size: 12px;
	opacity: 0.55;
}*/

/* HOVER */
.x-tag:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

/* TAP */
.x-tag:active {
  transform: scale(0.95);
}

/* FOCUS */
.x-tag:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.x-tag-all {
  background-color: var(--main-color);
  color: #000;
  font-weight: normal;
}

/* MOBILE SIDEBAR TOGGLE */
.sidebar-toggle {
  display: none;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(77, 163, 255, 0.35);
  background: rgba(77, 163, 255, 0.14);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  :root {
    --sidebarW: 320px;
  }

  .layout {
    grid-template-columns: 1fr;
    padding: 6px;
  }

  /* SIDEBAR OVER VIDEO */
  .sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: min(90vw, 360px);
    height: 100vh;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 120;
    background: rgba(0, 0, 0, 0.95);
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  /* HIDE BACKGROUND */
  .sidebar.is-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: -1;
  }

  /* THEN SIDEBAR HIDE - SHOW BUTTON */
  body:not(.sidebar-open) #sidebarOpen {
    display: flex;
  }

  /* SHOW CLOSE MENU BUTTON */
  .sidebar.is-open .buttons-row {
    display: flex;
  }

  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .sidebar .sidebar-inner {
    top: auto;
  }
}

@media (max-width: 680px) {
  .top-actions .upload,
  .top-actions .login,
  .logo .logo-name {
    display: none;
  }
}

@media (max-width: 560px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-inner {
    gap: 6px;
    padding: 6px;
  }

  .buttons-row {
    gap: 6px;
    padding: 6px;
  }
}

/* HIDE HEADER ON VIDEO PAGE */
body.video-page .site-header {
  display: none;
}

body.video-page .layout {
  padding-top: 12px;
}

body.video-page .sidebar-inner {
  top: 18px;
}

/* =========================================================
   VIDEO PAGE ADD-ON (APPEND ONLY)
   ========================================================= */

body.video-page {
  overflow: hidden;
}

/* VIDEO PAGE HAS OWN LAYOUT */
body.video-page .layout {
  display: none;
}

/* FULLSCREEN CONTAINER */
.video-root {
  display: grid;
  height: 100vh;
  width: 100vw;

  /* fallback */
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
}

/* ≥ 1040px */
@media (min-width: 1080px) {
  .video-root {
    grid-template-columns: minmax(0, 4fr) minmax(0, 2fr);
  }
}

/* ≥ 1280px */
@media (min-width: 1280px) {
  .video-root {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
}

/* ≥ 1536px */
@media (min-width: 1536px) {
  .video-root {
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  }
}

/* ≥ 2000px */
@media (min-width: 2000px) {
  .video-sidebar .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* LEFT stage */
.video-stage {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* blurred bg */
.video-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(50px) brightness(0.55);
  transform: scale(1.25);
}

/* VERTICAL PLAYER */
.player-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;

  /* fix absolute */
  width: fit-content;
  margin: 0 auto;
}

.player-wrap video {
  height: 100%;
  overflow: hidden;
  -o-object-fit: cover;
  object-fit: cover;
}

@media (max-width: 980px) {
  .player-wrap {
    width: 100%;
  }

  .player-wrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
}

/* bottom meta */
.video-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 0px 70px 15px 15px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75));
}

.video-user {
  margin: 0 0 8px;
  display: block;
  font-size: 17px;
  font-weight: 600;
  text-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
}

.video-description {
  font-size: 15px;
  font-weight: 600;
  text-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.5);
}

/* TEXT + BUTTON */
.video-desc-row {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

/* TEXT */
.video-desc-content {
  flex: 1 1 auto;
  min-width: 0;

  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* BUTTON */
.video-more {
  flex: 0 0 auto;

  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-weight: 700;
  cursor: pointer;

  display: none;
}

/* SHOW MORE ONLY THEN FULL */
.video-description.has-more .video-more {
  display: inline-block;
}

/* OPENED */
.video-description.is-open .video-desc-row {
  flex-direction: column;
  align-items: flex-start;
}

.video-description.is-open .video-desc-content {
  -webkit-line-clamp: unset;
  /* OR 6 */
  overflow: visible;
}

.video-description.is-open .video-more {
  margin-top: 4px;
}

.video-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  text-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.5);
}

.video-tags {
  margin: 0;
  font-size: 15px;
}

.video-tags a {
  text-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.5);
  font-weight: 500;
  word-break: break-word;
}

.video-tags a:before {
  content: "#";
  display: inline-block;
  text-decoration: none;
}

.video-tags a:after {
  content: " ";
  display: inline-block;
  text-decoration: none;
}

/* RIGHT VIDEO SIDEBAR */
.video-sidebar {
  position: relative;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;

  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* STICKY VIDEO SIDEBAR */
.video-sidebar .sidebar-inner {
  position: static;
  top: auto;
  overflow: auto;
  padding: 10px 10px 0 10px;
  display: grid;
  gap: 10px;
}

.video-sidebar .sidebar-inner::-webkit-scrollbar {
  width: 10px;
}

.video-sidebar .sidebar-inner::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

/* FIXED BUTTON */
.video-sidebar-toggle {
  display: none;
}

/* NEW: OPEN / CLOSE BUTTONS */

/* OPEN BUTTON */
.video-sidebar-open {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  height: 48px;
  width: 48px;
  top: 15px;
  right: 15px;
  z-index: 125;
  border-radius: 8px;
  border: 1px solid var(--border);
  border-right: 0;
  background: var(--overlay-bg);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

/* CLOSE BUTTON */
.video-sidebar-close {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 30px;
  line-height: 1;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  display: none;
}

/* VIDEO MOBILE — SLIDE-IN OVERLAY */
@media (max-width: 1080px) {
  html,
  body {
    height: 100%;
  }

  body.video-page {
    overflow: hidden;
    /* KEY */
    overscroll-behavior: none;
  }

  .video-root {
    grid-template-columns: 1fr;
    height: 100svh;
    /* NOT 100vh */
    width: 100%;
  }

  .video-stage {
    height: 100svh;
  }

  /* SIDEBAR OVERLAY */
  .video-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: min(90vw, 360px);
    height: 100vh;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 120;
  }

  .video-sidebar.is-open {
    transform: translateX(0);
  }

  /* HIDE BACKGROUND */
  .video-sidebar.is-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: -1;
  }

  /* OPEN MENU BUTTON UNDER MENU */
  .video-sidebar:not(.is-open) ~ .video-sidebar-open {
    display: flex;
  }

  /* CLOSE BUTTON */
  .video-sidebar.is-open .buttons-row {
    display: flex;
  }

  .video-sidebar-close {
    display: flex;
  }
}

/* SWIPER */
:root {
  --vh: 100vh;
}

.swiper,
.swiper-slide {
  height: var(--vh);
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  overflow: hidden;
}

.swiper-slide .player-wrap .pause-block {
  display: none;
}

.swiper-slide .player-wrap.paused .pause-block {
  display: block;
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.8));
}

.swiper-slide .play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  z-index: 2;
  font-size: 74px;
  opacity: 0.4;
  color: #ffffff;
  padding: 0;
  background: none;
  outline: none;
  border: none;
  cursor: pointer;
}

.swiper-slide .play svg {
  display: block;
  pointer-events: none;
  width: 74px;
  height: 74px;
}

.swiper .swiper-wrapper {
  transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.video-controls {
  margin-top: 8px;
}

/* VOLUME */
.bar-btn {
  font-size: 26px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 48px;
  width: 48px;
  z-index: 5;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--overlay-bg);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(6px);
  stroke-width: 32px;
}

.home-button {
  position: absolute;
  top: 15px;
  left: 15px;
}

.volume-zone {
  position: absolute;
  top: 75px;
  left: 15px;
  width: 56px;
  height: 56px;
  z-index: 50;
}

/* LAYOUT FOR TOUTCH */
.volume-shield {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
  touch-action: none;
  /* KEY! */
}

/* BUTTON ON LAYOUT */
.volume-button {
  position: relative;
  z-index: 2;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.bar-btn svg {
  stroke-width: 32px;
  width: 24px;
  height: 24px;
}

.volume-icon.high-icon {
  display: block;
}

.volume-icon.mute-icon {
  display: none;
}

.volume-button.muted .mute-icon {
  display: block;
}

.volume-button.muted .high-icon {
  display: none;
}

.volume-icon {
  width: 28px;
  height: 28px;
  color: #fff;
  /* MAIN COLOR */
  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}

.volume-icon.mute-icon {
  color: var(--main-color);
}

.btn.login,
.btn.search-btn,
.btn.categories,
.sidebar-open,
.sidebar-close,
.video-sidebar-close {
  background: rgba(255, 255, 255, 0.1);
}

/* NEXT / PREV - CONTAINER */
.swiper .arrows {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;

  display: flex;
  flex-direction: column;
  gap: 10px;

  /* FOR CLICK */
  pointer-events: auto;
}

/* BAR-BTN STYLE */
.swiper .arrows .swiper-button-prev,
.swiper .arrows .swiper-button-next {
  position: static;
  /* REMOVE ABSOLUTE top/left from swiper DEFAULTS */
  inset: auto;
  margin: 0 !important;

  width: 48px;
  height: 48px;

  font-size: 26px;
  display: inline-flex;
  justify-content: center;
  align-items: center;

  border-radius: 8px;
  border: 1px solid var(--border);
  border-right: 0;
  background: var(--overlay-bg);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* HIDE DEFAULT ARROWS (::after), KEEP OWN SVG */
.swiper .arrows .swiper-button-prev::after,
.swiper .arrows .swiper-button-next::after {
  display: none !important;
}

/* SVG */
.swiper .arrows .swiper-navigation-icon {
  width: 10px;
  height: 18px;
  display: block;
}

/* HIDE ON MOBILE */
@media (max-width: 768px) {
  .swiper .arrows {
    display: none !important;
  }
}

.side-col {
  right: 0;
  bottom: 2px;
  width: 60px;
  text-align: center;
}

.side-col {
  position: absolute;
  z-index: 4;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

.avatar:before {
  content: "";
  border: 3px solid hsla(0, 0%, 100%, 0.5);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 50%;
}

.avatar svg {
  color: #5b5b5b;
  width: 23px;
  height: 26px;
}

.avatar img,
.avatar svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.avatar img {
  width: 100%;
  height: 100%;
}

.list-tags {
  display: flex;
  flex-wrap: wrap;
}

.list-tags li {
  margin-right: 8px;
  text-shadow: 2px 2px 4px #000;
}

.list-tags li:last-child {
  margin-right: 0;
}

.like-box,
.share-box {
  margin-bottom: 20px;
}

.like,
.share {
  font-size: 40px;
  margin-bottom: 3px;
  display: inline-block;
}

.like svg,
.share svg {
  display: block;
  margin: 0 auto;
}

.rating,
.shares {
  display: block;
  text-shadow: 2px 2px 4px #000;
}

.like {
  width: 40px;
  height: 36px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='32'%3E%3Cpath fill='%23ffffff' d='M17.813 30.544c-.465 0-.915-.169-1.265-.475-1.321-1.155-2.596-2.24-3.721-3.198l-.005-.004c-3.297-2.807-6.145-5.231-8.126-7.62-2.215-2.669-3.246-5.2-3.246-7.964 0-2.687.922-5.165 2.596-6.98 1.695-1.835 4.018-2.847 6.545-2.847 1.889 0 3.62.597 5.143 1.774a10.583 10.583 0 012.058 2.136l.021.031a10.595 10.595 0 012.057-2.15l.023-.017c1.521-1.177 3.251-1.774 5.142-1.774 2.526 0 4.852 1.011 6.547 2.847 1.673 1.814 2.595 4.292 2.595 6.979 0 2.765-1.033 5.296-3.246 7.965-1.981 2.388-4.828 4.812-8.126 7.618-1.125.96-2.401 2.047-3.726 3.204-.337.295-.78.474-1.266.474z'/%3E%3Cpath fill='%23ffffff' d='M17.813 30.544c-.465 0-.915-.169-1.265-.475-1.321-1.155-2.596-2.24-3.721-3.198l-.005-.004c-3.297-2.807-6.145-5.231-8.126-7.62-2.215-2.669-3.246-5.2-3.246-7.964 0-2.687.922-5.165 2.596-6.98 1.695-1.835 4.018-2.847 6.545-2.847 1.889 0 3.62.597 5.143 1.774a10.583 10.583 0 012.058 2.136l.021.031a10.595 10.595 0 012.057-2.15l.023-.017c1.521-1.177 3.251-1.774 5.142-1.774 2.526 0 4.852 1.011 6.547 2.847 1.673 1.814 2.595 4.292 2.595 6.979 0 2.765-1.033 5.296-3.246 7.965-1.981 2.388-4.828 4.812-8.126 7.618-1.125.96-2.401 2.047-3.726 3.204-.337.295-.78.474-1.266.474z'/%3E%3C/svg%3E");
  background-size: contain;
  filter: drop-shadow(2px 2px 3px #000);
}

.like.liked {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='32'%3E%3Cpath fill='%23fe0089' d='M17.813 30.544c-.465 0-.915-.169-1.265-.475-1.321-1.155-2.596-2.24-3.721-3.198l-.005-.004c-3.297-2.807-6.145-5.231-8.126-7.62-2.215-2.669-3.246-5.2-3.246-7.964 0-2.687.922-5.165 2.596-6.98 1.695-1.835 4.018-2.847 6.545-2.847 1.889 0 3.62.597 5.143 1.774a10.583 10.583 0 012.058 2.136l.021.031a10.595 10.595 0 012.057-2.15l.023-.017c1.521-1.177 3.251-1.774 5.142-1.774 2.526 0 4.852 1.011 6.547 2.847 1.673 1.814 2.595 4.292 2.595 6.979 0 2.765-1.033 5.296-3.246 7.965-1.981 2.388-4.828 4.812-8.126 7.618-1.125.96-2.401 2.047-3.726 3.204-.337.295-.78.474-1.266.474z'/%3E%3Cpath fill='%23fe0089' d='M17.813 30.544c-.465 0-.915-.169-1.265-.475-1.321-1.155-2.596-2.24-3.721-3.198l-.005-.004c-3.297-2.807-6.145-5.231-8.126-7.62-2.215-2.669-3.246-5.2-3.246-7.964 0-2.687.922-5.165 2.596-6.98 1.695-1.835 4.018-2.847 6.545-2.847 1.889 0 3.62.597 5.143 1.774a10.583 10.583 0 012.058 2.136l.021.031a10.595 10.595 0 012.057-2.15l.023-.017c1.521-1.177 3.251-1.774 5.142-1.774 2.526 0 4.852 1.011 6.547 2.847 1.673 1.814 2.595 4.292 2.595 6.979 0 2.765-1.033 5.296-3.246 7.965-1.981 2.388-4.828 4.812-8.126 7.618-1.125.96-2.401 2.047-3.726 3.204-.337.295-.78.474-1.266.474z'/%3E%3C/svg%3E");
  filter: drop-shadow(2px 2px 2px #000);
}

.share {
  width: 40px;
  height: 36px;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='%23fff'%3E%3Cpath d='M58.79 439.13A16 16 0 0148 424c0-73.1 14.68-131.56 43.65-173.77 35-51 90.21-78.46 164.35-81.87V88a16 16 0 0127.05-11.57l176 168a16 16 0 010 23.14l-176 168A16 16 0 01256 424v-79.77c-45 1.36-79 8.65-106.07 22.64-29.25 15.12-50.46 37.71-73.32 67a16 16 0 01-17.82 5.28z'/%3E%3C/svg%3E")
    no-repeat center / contain;
  filter: drop-shadow(2px 2px 3px #000);
}

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #e1e1e1;
  border-radius: 20px;
}

.models-holder,
.side-col > a .avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.models-holder .plus-icon,
.side-col > a .avatar .plus-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  color: #313131;
  flex-grow: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 30px;
  position: absolute;
  z-index: 1;
  line-height: 25px;
}

.models-holder .plus-icon.inactive,
.side-col > a .avatar .plus-icon.inactive {
  display: none;
}

.models-holder .models-list-wrapper,
.side-col > a .avatar .models-list-wrapper {
  display: flex;
  /*flex-grow: 1;
	flex-shrink: 1;*/
  justify-content: center;
}

.models-holder .models-list-wrapper a .avatar,
.side-col > a .avatar .models-list-wrapper a .avatar {
  background-color: hsla(0, 0%, 100%, 0.5);
}

.models-holder .models-list-wrapper a:not(:first-child) .avatar,
.side-col > a .avatar .models-list-wrapper a:not(:first-child) .avatar {
  display: none;
}

/*.models-holder .models-list-wrapper.active,
.side-col>a .avatar .models-list-wrapper.active {
	width: calc(100vw - 10px)
}*/

/*.models-holder .models-list-wrapper.active a .avatar,
.side-col>a .avatar .models-list-wrapper.active a .avatar {
	margin-left: 5px
}*/

.models-holder .models-list-wrapper.active a:not(:first-child) .avatar,
.side-col > a .avatar .models-list-wrapper.active a:not(:first-child) .avatar {
  display: block;
}

.models-holder .models-list-wrapper .models-list,
.side-col > a .avatar .models-list-wrapper .models-list {
  display: flex;
  width: 100%;
  overflow-x: auto;
}

.models-holder .models-list-wrapper .models-list::-webkit-scrollbar,
.side-col > a .avatar .models-list-wrapper .models-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.lazy {
  opacity: 0;
  transition: 0.5s;
  animation: show 2s 1;
  animation-fill-mode: forwards;
  animation-delay: 0s;
}

@keyframes show {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* LEFT VIDEO SIDEBAR */
.menu-sidebar {
  position: relative;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;

  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* TWO COLUMNS - BASE */
.video-root {
  display: grid;
  height: 100vh;
  width: 100vw;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
}

.video-stage,
.video-sidebar {
  min-width: 0;
}

/* HIDDEN LEFT MENU BY DEFAUL */
#menuSidebar {
  display: none;
  min-width: 0;
  overflow: auto;
}

/* RIGHT SIDEBAR (desktop/tablet base) */
.video-sidebar {
  position: relative;
  background: rgba(0, 0, 0, 0.95);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* MOBILE: <=1079.98 - HIDE RIGHT SIDEBAR */
@media (max-width: 1079.98px) {
  .video-root {
    grid-template-columns: minmax(0, 1fr);
  }

  .video-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: min(90vw, 360px);
    height: 100vh;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 120;
  }

  .video-sidebar.is-open {
    transform: translateX(0);
  }
}

/* >=1080: PROPORTION 4fr/2fr (2 COLUMNS) ===== */
@media (min-width: 1080px) {
  .video-root {
    grid-template-columns: minmax(0, 4fr) minmax(0, 2fr);
  }
}

/* >=1280: ON LEFT MENU & SHOW TWO COLUMNS */
@media (min-width: 1280px) {
  #menuSidebar {
    display: block;
    /* FOR MENU */
  }

  .video-root {
    grid-template-columns: 215px minmax(0, 2fr) minmax(0, 1fr);
  }
}

/* >=1536: MENU + WIDE / 7fr/3fr */
@media (min-width: 1536px) {
  .video-root {
    grid-template-columns: 215px minmax(0, 7fr) minmax(0, 3fr);
  }
}

/* MENU POINTS */
/* LEFT MENU (modern blocks + search + active) */
#menuSidebar.menu-sidebar {
  background: rgba(0, 0, 0, 0.92);
  padding: 4px 0 14px;
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#menuSidebar.menu-sidebar::-webkit-scrollbar {
  display: none;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-title {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  padding: 6px;
  user-select: none;
}

/* SEARCH */
.sidebar-search {
  position: sticky;
  top: 0;
  z-index: 2;

  display: flex;
  align-items: center;
  gap: 8px;

  padding: 6px;

  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 38px;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;

  padding: 0 12px;
  color: inherit;
  outline: none;
}

.sidebar-search__input::placeholder {
  opacity: 0.65;
}

.sidebar-search__input:focus {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-search__clear {
  flex: 0 0 auto;
  height: 38px;
  width: 38px;

  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;

  cursor: pointer;
  opacity: 0.9;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.sidebar-search__clear:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.sidebar-search__clear:active {
  transform: translateY(0);
}

.sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 20px;
}

/* item as full-width block */
.sidebar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);

  padding: 0 6px;

  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.sidebar-link {
  flex: 1 1 auto;
  min-width: 0;

  display: flex;
  align-items: center;

  text-decoration: none;
  color: inherit;

  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;

  -webkit-transition: color 0.3s;
  -o-transition: color 0.3s;
  transition: color 0.3s;
}

.sidebar-link span {
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  margin: 10px 0;
}

.sidebar-count {
  flex: 0 0 auto;
  font-size: 12px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.06);
  opacity: 0.85;
}

/* hover/focus */
.sidebar-item:hover,
.sidebar-item:focus-within {
  background: var(--main-color);
  border-color: rgba(255, 255, 255, 0.14);
}

.sidebar-item:active {
  transform: translateY(0);
}

.sidebar-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.25);
  outline-offset: 3px;
  border-radius: 10px;
}

/* ACTIVE state */
.sidebar-item.is-active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.sidebar-item.is-active .sidebar-count {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

/* subtle active marker */
.sidebar-item.is-active::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  margin-right: 8px;
}

/* empty state */
.sidebar-empty {
  padding: 12px 8px;
  opacity: 0.7;
  font-size: 13px;
}

/* SHARE */
.share-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.share-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.share-panel {
  width: 100%;
  max-width: 480px;
  background: #111;
  border-radius: 16px 16px 0 0;
  padding: 20px 16px 16px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

.share-overlay.open .share-panel {
  transform: translateY(0);
}

.share-close {
  position: absolute;
  right: 14px;
  top: 14px;
  background: none;
  border: none;
  color: #aaa;
  font-size: 18px;
  cursor: pointer;
}

.share-title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
}

.share-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.share-btn {
  background: #1e1e1e;
  border: none;
  color: #fff;
  padding: 14px 10px;
  border-radius: 12px;
  font-size: 15px;
  cursor: pointer;
}

.share-btn.copy {
  grid-column: span 2;
  background: #fe0089;
}

.share-cancel {
  width: 100%;
  background: #1a1a1a;
  border: none;
  color: #aaa;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  cursor: pointer;
}

.share-copied {
  position: absolute;
  left: 50%;
  bottom: 72px;
  transform: translateX(-50%);
  background: #1f1f1f;
  color: #fff;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.share-copied.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* END SHARE */

/* SHINE EFFECT */
.let-me-shine .card {
  position: relative;
  overflow: hidden;
}

.let-me-shine .card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 45%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0.15) 55%,
    transparent 100%
  );
  transform: translateX(-120%);
  pointer-events: none;
  z-index: 4;
}

.let-me-shine .card.shine::after {
  animation: shineSwipe 1.2s ease-in-out;
}

@keyframes shineSwipe {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(120%);
  }
}

/* END SHINE EFFECT */

/* INFO MODAL */
.top-notify-wrapper {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  width: calc(100% - 156px);
  max-width: 480px;
  z-index: 10;
  pointer-events: none;
}

.top-notify {
  display: block;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  width: 100%;

  position: relative;
  transform: translateY(calc(-100% - 15px));
  transition: transform 0.6s ease;
  pointer-events: auto;
}

.top-notify.show {
  transform: translateY(15px);
}

.top-notify.hide {
  transform: translateY(calc(-100% - 15px));
}

.top-notify-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
}

.top-notify-text strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

.top-notify-text span {
  font-size: 12px;
  opacity: 0.7;
}

.top-notify-btn {
  background: #fff;
  color: #000;
  border: none;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  pointer-events: none;
}

/* timer */
.top-notify-timer {
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.top-notify-timer span {
  display: block;
  height: 100%;
  width: 0%;
  background: #ff458a;
  transition: width linear;
}

@media (max-width: 480px) {
  .top-notify-btn {
    display: none;
  }

  .top-notify-inner {
    justify-content: center;
    text-align: center;
  }
}

/* END INFO MODAL */

/* PAGE STYLES */
.page .panel .content-wrap {
  padding: 0;
  line-height: 1.6;
  color: var(--text);
}

.page .panel h1,
.page .panel h2,
.page .panel h3,
.page .panel h4,
.page .panel h5 {
  margin: 1em 0 0.5em;
  color: var(--link, #007bff);
  font-weight: 700;
  line-height: 1.2;
}

.page .panel h1 {
  margin-top: 10px;
}

.page .panel p {
  margin: 0 0 1em;
}

.page .panel ul,
.page .panel ol {
  margin: 0 0 1em 1.5em;
  padding: 0;
}

.page .panel li {
  margin: 0.5em 0;
}

.page .panel a {
  color: var(--link, #007bff);
  text-decoration: underline;
  cursor: pointer;
  transition:
    color 0.3s ease,
    text-shadow 0.3s ease;
}

.page .panel a:hover {
  color: var(--link-hover, #ff6600);
  text-shadow: 0 0 4px rgba(255, 102, 0, 0.6);
}

.page .panel strong {
  font-weight: bold;
}

@media (max-width: 1080px) {
  .page .layout {
    padding: 18px;
  }
}

@media (max-width: 560px) {
  .page .layout {
    padding: 10px;
  }
}

div[data-name="code"] {
  margin-bottom: 10px;
  display: flex;
  align-content: center;
  justify-content: center;
}

/* --- SEARCH PANEL --- */
.search-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 130;
  display: none;
  flex-direction: column;
  padding: 10px;
  box-sizing: border-box;
  color: #fff;
}

/* ACTIVE PANEL */
.search-sidebar.is-open {
  display: flex;
  transform: translateX(0);
}

/* TOP FORM */
.search-sidebar .search-top {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.search-sidebar input[type="search"] {
  flex: 1;
  height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: #222;
  color: #fff;
  font-size: 18px;
}

.search-sidebar button.search-submit {
  width: 44px;
  height: 44px;
  background: var(--main-color);
  border-color: var(--main-color);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
}

.search-sidebar button.search-submit svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.search-sidebar button.search-submit:hover {
  background: #e04343;
}

.search-sidebar button.close-search {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* BLOCKS UNDER */
.search-sidebar .search-suggestions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-sidebar .search-suggestions .suggestion {
  background: #222;
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.search-sidebar .search-suggestions .suggestion:hover {
  background: #333;
}

.search-form {
  flex: 1;
  display: flex;
  gap: 8px;
  position: relative;
}

/* FAQ SIDEBAR */
.sidebar-faq details > div {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    max-height 0.75s ease,
    opacity 0.55s ease,
    transform 0.55s ease;
}

.sidebar-faq details[open] > div {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}

.sidebar-faq {
  font-size: 14px;
}

.sidebar-faq details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-faq details:last-child {
  border-bottom: none;
}

.sidebar-faq summary {
  position: relative;
  padding: 12px 28px 12px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  line-height: 1.4;
}

.sidebar-faq summary::-webkit-details-marker {
  display: none;
}

.sidebar-faq summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
  opacity: 0.6;
}

.sidebar-faq details[open] summary::after {
  transform: translateY(-50%) rotate(-135deg);
  opacity: 1;
}

.sidebar-faq details > div {
  padding: 0 0 12px;
  color: rgba(255, 255, 255, 0.75);
  animation: sidebarFaqFade 0.75s ease;
}

.sidebar-faq p {
  margin: 0;
  line-height: 1.6;
}

@keyframes sidebarFaqFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* VIDEOPAGE - SEARCH */
#searchToggleVideopage {
  display: none;
  position: fixed;
  top: 75px;
  right: 15px;
}

@media (max-width: 1080px) {
  #searchToggleVideopage {
    display: flex;
  }
}

/* BUTTONS ON MOBILE */
@media (max-width: 560px) {
  .home-button {
    top: 10px;
    left: 10px;
  }

  .volume-zone {
    top: 68px;
    left: 10px;
  }

  .video-sidebar-open {
    top: 10px;
    right: 10px;
  }

  #searchToggleVideopage {
    top: 68px;
    right: 10px;
  }

  .top-notify.show {
    transform: translateY(10px);
  }
}

/* MODALS */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.modal.is-open {
  /* CENTERED MODAL */
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.35s ease;
}

.modal__title {
  color: #fff;
  font-size: 1.5em;
}

.modal__content {
  position: relative;
  background: rgba(0, 0, 0, 0.95);
  color: #fff;
  max-width: 500px;
  width: 90%;
  margin: 10% auto;
  padding: 20px;
  border-radius: 12px;
  z-index: 10;
  opacity: 0;
  transform: translateY(-40px) scale(0.85);
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s ease;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(255, 255, 255, 0.1);
}

.modal__content::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.modal.is-open .modal__content {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: modal-pop 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.closing .modal__content {
  animation: modal-close 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  z-index: 20;
}

.modal__close:hover {
  color: var(--main-color);
}

body.modal-open > *:not(.modal) {
  filter: blur(4px);
  transition: filter 0.35s ease;
}

@keyframes modal-pop {
  0% {
    transform: translateY(-40px) scale(0.85);
    opacity: 0;
  }

  60% {
    transform: translateY(10px) scale(1.02);
    opacity: 1;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes modal-close {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateY(-30px) scale(0.85);
    opacity: 0;
  }
}

/* TERMINAL SEARCH */
.js-typing-search {
  font-family: "Courier New", monospace;
  font-size: 18px;
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  outline: none;
  transition: all 0.35s ease;
  box-sizing: border-box;
}

.js-typing-search:focus {
  border-color: var(--main-color, #ff458a);
  box-shadow:
    0 0 10px rgba(255, 69, 138, 0.5),
    0 0 20px rgba(255, 69, 138, 0.35),
    0 0 30px rgba(255, 69, 138, 0.25),
    inset 0 0 5px rgba(255, 69, 138, 0.2);
  /*transform: scale(1.02);*/
}

.js-typing-search::placeholder {
  color: #888;
}

/* PAGINATION */
.svg-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
}

.pagination a {
  min-height: 40px;
  min-width: 40px;
}

.pagination a.next svg,
.pagination a.prev svg {
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
}

.pagination a {
  margin-right: 5px;
}

.pagination,
.pagination a {
  display: -webkit-box;
}

.pagination {
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  align-content: center;
  align-items: center;
  margin: 14px 0;
}

.pagination a {
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: var(--pagination-bg);
  border-radius: 10px;
  color: var(--pagination-color);
  line-height: 20px;
  transition: 0.3s;
}

.pagination a.active {
  background: var(--main-color);
  color: #000;
  cursor: default;
}

.pagination a.prev {
  min-width: 129px;
  margin-right: 20px;
}

.pagination a.prev svg {
  transition: 0.3s;
  fill: var(--pagination-color);
  margin-right: 13px;
}

.pagination a.next {
  min-width: 129px;
  margin-left: 15px;
  margin-right: 0;
}

.pagination a.next svg {
  transition: 0.3s;
  fill: var(--pagination-color);
  margin-left: 13px;
}

.pagination a.jumper {
  background: 0 0;
}

.pagination a:hover {
  background: var(--main-color);
  color: #000;
}

.pagination a:hover.next svg,
.pagination a:hover.prev svg {
  fill: #000000;
}

.pagination a.jumper:hover {
  color: #fff;
}

@media (max-width: 1200px) {
  .pagination a {
    display: none;
  }

  .pagination a.item-pagination,
  .pagination a.item-pagination--first,
  .pagination a.item-pagination--last,
  .pagination:has(a.item-pagination) a.item-pagination + a,
  .pagination:has(a.item-pagination) a:has(+ a.item-pagination),
  .pagination:has(a.item-pagination--first) a:nth-child(3),
  .pagination:has(a.item-pagination--first) a:nth-child(4),
  .pagination:has(a.item-pagination--last) a:nth-last-child(-n + 3),
  .pagination:has(a.item-pagination--last) a:nth-last-child(-n + 4) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .pagination a.item-pagination--last,
  .pagination:has(a.item-pagination) a.item-pagination + a,
  .pagination:has(a.item-pagination--first) a:nth-child(4) {
    margin-right: 0;
  }

  .pagination a.next,
  .pagination a.prev {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 0;
    min-width: 60px;
  }

  .pagination a.next svg,
  .pagination a.prev svg {
    margin: 0;
    font-size: 14px;
  }

  .sidebar-inner .pagination a {
    display: none;
  }

  .sidebar-inner .pagination a.item-pagination,
  .sidebar-inner .pagination a.item-pagination--first,
  .sidebar-inner .pagination a.item-pagination--last,
  .sidebar-inner .pagination:has(a.item-pagination) a.item-pagination + a,
  .sidebar-inner .pagination:has(a.item-pagination) a:has(+ a.item-pagination),
  .sidebar-inner .pagination:has(a.item-pagination--first) a:nth-child(3),
  .sidebar-inner .pagination:has(a.item-pagination--first) a:nth-child(4),
  .sidebar-inner
    .pagination:has(a.item-pagination--last)
    a:nth-last-child(-n + 3),
  .sidebar-inner.pagination:has(a.item-pagination--last)
    a:nth-last-child(-n + 4) {
    display: none;
  }
}

/* SIDEBAR PAGINATION */
.sidebar-inner .pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin: 10px 0 0;
}

.sidebar-inner .pagination a {
  display: none;
  margin: 0;
}

.sidebar-inner .pagination a.next,
.sidebar-inner .pagination a.prev {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-width: 60px;
}

/* FOOTER SEO BLOCK */
.description-holder {
  color: var(--muted);
  margin-top: 25px;
}

.description-holder h2,
.description-holder h3 {
  color: var(--main-color);
  font-weight: 400;
  margin: 0 0 10px;
}

/* INTRO BLOCK */
.collapsible-box {
  position: relative;
  max-width: 100%;
  color: var(--muted);
  margin-bottom: 10px;
}

.collapsible-box .text-wrapper {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  transition: all 0.3s ease;
  padding-right: 20px;
}

.collapsible-box .toggle-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: absolute;
  top: 1px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  z-index: 2;
  transition:
    transform 0.3s ease,
    top 0.3s ease,
    left 0.3s ease;
}

.collapsible-box .down-arrow {
  transition: transform 0.3s ease;
}

.collapsible-box.expanded .text-wrapper {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.collapsible-box.expanded .down-arrow {
  transform: rotate(180deg);
}

/* TAGS LIST */
.tags-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags-list li {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tags-list li.letter {
  grid-column: 1 / -1;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.04);
  justify-content: flex-start;
  padding: 10px;
  font-size: 26px;
  color: var(--main-color);
}

.tags-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-decoration: none;
  color: #cfcfcf;
  padding: 10px;
  line-height: normal;
}

.tags-list li a span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 6px;
}

.tags-list li a em {
  flex-shrink: 0;
  font-style: normal;
  color: #999;
}

.tags-list li:not(.letter) {
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.tags-list li:not(.letter):hover {
  background: var(--main-color);
}

.tags-list li:not(.letter):hover a,
.tags-list li:not(.letter):hover a em {
  color: #000;
}

@media (max-width: 1400px) {
  .tags-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 840px) {
  .tags-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 460px) {
  .tags-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 320px) {
  .tags-list {
    grid-template-columns: 1fr;
  }
}

/* MAIN MENU */
.side-box .side-menu {
  color: var(--muted);
  display: grid;
  gap: 0;
}

.nav-link {
  text-decoration: none;
  color: #cfcfcf;
  font-size: 16px;
  padding: 10px;
  line-height: normal;
  border-radius: 6px;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  background: var(--main-color);
  color: #000;
}

/* FANCY MODAL */
.modal {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0 10px;
}

.modal-inner {
  max-width: 400px;
  min-width: 400px;
  width: 100%;
  background: var(--modal-bg);
  padding: 20px;
  border-radius: 20px;
  position: relative;
}

@media (max-width: 420px) {
  .modal-inner {
    min-width: 300px;
  }
}

.modal-inner.edit-modal {
  max-width: 800px;
  min-width: 800px;
}

@media screen and (max-width: 850px) {
  .modal-inner.edit-modal {
    min-width: 560px;
  }
}

.modal-inner .cols .col,
.upload-inner .col {
  width: 50%;
  margin-right: 20px;
}

.modal-inner .cols {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}

fieldset,
img {
  border: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

.file-control,
.form-upload {
  position: relative;
}

.modal-inner .textfield {
  font-family: Roboto, sans-serif;
  display: block;
  width: 100%;
  height: 40px;
  border-radius: 5px;
  border: none;
  padding: 10px 20px;
  background: var(--input-bg);
  color: var(--input-color);
  border: var(--input-border);
}

/*.file-control .textfield {
	padding-left: 33px;
}*/

.file-control .file {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.file-control .button {
  position: absolute;
  padding: 6px 11px;
  background-color: var(--btn-bg);
  color: var(--btn-color);
  border-radius: 8px;
  top: 4px;
  left: 10px;
  cursor: pointer;
}

@media (max-width: 600px) {
  .modal-inner.edit-modal {
    min-width: unset;
  }

  .modal-inner .cols {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .modal-inner .cols .col {
    width: 100%;
    margin-right: 0;
  }

  .modal-inner .captcha.premium .image,
  .modal-inner .captcha.premium > label {
    width: 100%;
  }
}

.modal-inner .close-btn {
  position: absolute;
  width: 20px;
  height: 20px;
  right: 20px;
  top: 20px;
}

.modal-inner .close-btn svg {
  width: 32px;
  height: 32px;
  -webkit-transition: fill 0.3s;
  -o-transition: fill 0.3s;
  transition: fill 0.3s;
  fill: #ffffff;
}

.modal-inner .modal-title {
  font-size: 20px;
  color: #fff;
  margin-bottom: 20px;
  padding-right: 30px;
}

.modal-inner .section-title {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 500;
}

.message-form .row,
.modal-inner .row {
  margin-bottom: 15px;
  position: relative;
}

.buttons-col,
.channels-thumbs .title-holder,
.col-photo .preview .toggle-button,
.flex,
.header-inner,
.holder-box .asside .grade-box,
.leng-holder .lang-item,
.list-comments .date-holder,
.modal-holder .dell-avatar,
.modal-inner .row .date,
.search-filter .select-item,
.sort-control,
.thumb .thumb-bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.modal-holder input[type="checkbox"] {
  display: none;
}

.message-form .row .field-error.down,
.modal-inner .captcha .field-error.down,
.modal-inner .row .field-error.down,
.modal-inner .row .field-error.up {
  position: absolute;
  top: 100%;
  left: 0;
  font-size: 12px;
  color: red;
}

.modal-inner .custom-choose {
  padding: 10px 30px;
  display: flex;
  align-items: center;
  background-color: var(--input-bg);
  border-radius: 5px;
  margin-bottom: 10px;
  cursor: pointer;
}

.modal-inner .custom-choose .radio:checked + ::before {
  background-color: var(--input-bg) !important;
}

.modal-inner fieldset {
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  gap: 5px;
}

.modal-inner select {
  width: 100%;
  border-radius: 10px;
  padding: 10px 20px;
  background: var(--input-bg);
  border: 1px solid #3d3d3d;
  color: var(--input-color);
  cursor: pointer;
  appearance: none;
  background-image: url(../images/arrow.svg);
  background-repeat: no-repeat, repeat;
  background-position: right 10px top 50%;
  background-size: auto;
}

.message-form label,
.modal-inner label {
  display: block;
  margin-bottom: 10px;
}

.modal-inner .bottom.captcha {
  display: block;
}

.captcha-control .image {
  margin-bottom: 20px;
  position: relative;
}

.filter input,
.message-form .textarea,
.modal-inner .file,
.modal-inner .textarea,
.modal-inner .textfield {
  font-family: Roboto, sans-serif;
  display: block;
  width: 100%;
  height: 40px;
  border-radius: 5px;
  border: none;
  padding: 10px 20px;
  background: var(--input-bg);
  color: var(--input-color);
  border: var(--input-border);
}

.message-form .textarea,
.modal-inner .textarea {
  resize: none;
  height: auto;
}

.modal-inner .links {
  margin-bottom: 20px;
  text-align: center;
}

.modal-inner .links .link-row {
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.fav-drop li,
.modal-inner .links .link-row a,
.static-page h2 {
  margin-bottom: 5px;
}

.modal-inner .links a {
  display: block;
  font-size: 14px;
  transition: color 0.3s;
  color: #fff;
  margin-bottom: 10px;
  text-decoration: underline;
  cursor: pointer;
}

.modal-inner .links a:hover {
  color: var(--main-color);
  text-decoration: none;
}

.modal-inner .bottom {
  width: 100%;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.modal-inner .bottom [type="submit"] {
  display: block;
  width: 100%;
  border-radius: 5px;
  border: none;
  padding: 10px 20px;
  max-width: 190px;
  height: 40px;
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
  font-size: 16px;
  margin: 0 auto;
  cursor: pointer;
  color: #000;
  background: var(--main-color);
}

.modal-inner .bottom [type="submit"]:hover {
  background: #000;
  color: #fff;
  -webkit-box-shadow: none;
  box-shadow: none;
}

form .progressbar {
  width: 80%;
  margin: 0 auto 30px;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
  -ms-flex-direction: column-reverse;
  flex-direction: column-reverse;
}

form .progressbar .progress {
  width: 0;
  height: 6px;
  background-color: var(--main-color);
  border-radius: 4px;
}

.form-upload.uploading .progressbar,
.form-upload.uploading .progressbar * {
  opacity: 1;
  visibility: visible;
  display: block;
}

form .progressbar .text {
  font-size: 16px;
  text-align: center;
  margin-bottom: 10px;
  color: var(--main-color);
}

.upload-holder .title {
  font-size: 22px;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 10px;
}

.upload-holder label {
  color: var(--upload-title-color);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
  text-align: left;
  display: block;
  margin-bottom: 10px;
}

.upload-holder .block-radio {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-bottom: 18px;
}

.upload-holder .radio-box {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.radio-box input[type="radio"],
.upload-holder .radio-box input[type="radio"] {
  display: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.radio-box input[type="radio"] + label,
.upload-holder .radio-box input[type="radio"] + label {
  cursor: pointer;
  position: relative;
  padding-left: 30px;
  line-height: 20px;
}

.radio-box input[type="radio"] + label::before,
.upload-holder .radio-box input[type="radio"] + label::before {
  content: "";
  display: inline-block;
  width: 20px;
  aspect-ratio: 1;
  border: 1px solid var(--main-color);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  opacity: 1;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.radio-box input[type="radio"] + label::after,
.upload-holder .radio-box input[type="radio"] + label::after {
  content: "";
  display: inline-block;
  width: 10px;
  aspect-ratio: 1;
  border: 1px solid var(--main-color);
  background: var(--main-color);
  border-radius: 50%;
  position: absolute;
  left: 5px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  opacity: 0;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.radio-box input[type="radio"]:checked + label::after,
.upload-holder .radio-box input[type="radio"]:checked + label::after {
  opacity: 1;
}

.file-control + .file-control {
  margin-top: 15px;
}

.col .preview {
  border-radius: 10px;
  overflow: hidden;
  max-width: 415px;
  width: 100%;
  position: relative;
}

.col .preview em {
  position: absolute;
  bottom: 5px;
  left: 5px;
  background: rgba(0, 0, 0, 0.8);
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: #fff;
  border-radius: 5px;
  padding: 0 6px;
}

.col .preview em.right {
  left: unset;
  right: 5px;
}

.file-control .file {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.file-control .button {
  position: absolute;
  padding: 6px 11px;
  background-color: var(--btn-bg);
  color: var(--btn-color);
  border-radius: 8px;
  top: 4px;
  left: 10px;
  cursor: pointer;
}

/*.file-control .textfield {
	padding-left: 33px
}*/

.modal-holder .avatar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 15px;
}

.modal-holder .img-holder {
  margin-right: 15px;
  width: 160px;
  height: 160px;
  background: var(--img-placeholder-bg2);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 50%;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .modal-holder .img-holder {
    width: 130px;
    height: 130px;
  }

  .modal-holder .img-holder svg {
    width: 50px;
  }
}

.col-photo .preview input[type="checkbox"] + label,
.modal-holder input[type="checkbox"] + label,
input[type="checkbox"] + label {
  margin: 0;
  cursor: pointer;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.modal-holder input[type="checkbox"] + label:before,
input[type="checkbox"] + label:before {
  content: "✔";
  border: 1px solid #000;
  background: var(--checkbox-bg);
  border-radius: 6px;
  display: inline-block;
  width: 25px;
  height: 25px;
  padding-left: 1px;
  padding-bottom: 0;
  padding-top: 3px;
  margin-right: 13px;
  vertical-align: bottom;
  color: transparent;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
  text-align: center;
}

.col-photo .preview input[type="checkbox"] + label:active:before,
.modal-holder input[type="checkbox"] + label:active:before,
input[type="checkbox"] + label:active:before {
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
}

.item-control input:checked,
.modal-holder input[type="checkbox"]:checked + label:before,
input[type="checkbox"]:checked + label:before {
  border-color: var(--main-color);
  background: var(--main-color);
  color: #fff;
}

.col-photo .preview input[type="checkbox"] + label:before,
.item-control input {
  width: 25px;
  height: 25px;
  padding-left: 7px;
  padding-bottom: 0;
  padding-top: 3px;
  vertical-align: bottom;
  color: transparent;
  display: inline-block;
}

.col-photo .preview input[type="checkbox"]:disabled + label:before,
.modal-holder input[type="checkbox"]:disabled + label:before,
input[type="checkbox"]:disabled + label:before {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  border-color: #aaa;
}

.col-photo .preview input[type="checkbox"]:checked:disabled + label:before,
.modal-holder input[type="checkbox"]:checked:disabled + label:before,
input[type="checkbox"]:checked:disabled + label:before {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  background-color: #bfb;
  border-color: #bfb;
}

.fancybox-wrap:not(.fancybox-type-image) .fancybox-close {
  opacity: 0;
  visibility: hidden;
}

/* USER PANEL */
.user-panel {
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.generic-error {
  width: 100%;
  text-align: center;
  color: red;
  border: 2px solid red;
  margin-bottom: 10px;
  font-weight: 700;
  padding: 14px 10px;
  border-radius: 12px;
  font-size: 15px;
}

.hidden {
  display: none;
}

.modal-inner .success {
  margin: 30px 0 0;
}

.success {
    width: 100%;
    text-align: center;
    font-weight: 600;
    color: var(--main-color);
    padding: 14px 0;
    line-height: normal;
    margin-bottom: 0;
}

/* PROFILE */
.profile {
  background-color: var(--profile-bg);
  padding: 30px 0;
  margin-bottom: 16px;
}

.edit-links a:not(:last-of-type) {
  padding-right: 10px;
  margin-right: 10px;
  border-right: 1px solid var(--border);
  line-height: normal;
}

.edit-links a {
  text-decoration: underline;
}

.edit-links a:hover {
  color: var(--link);
  text-decoration: none;
}

.info-holder {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.info-holder .avatar {
  margin-right: 30px;
  height: 180px;
  width: 180px;
  position: relative;
  background-color: var(--img-placeholder-bg);
  overflow: hidden;
  border-radius: 50%;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.info-holder .avatar .no-thumb {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  white-space: nowrap;
  pointer-events: none;
  background: url(/static/images/no-image.svg) no-repeat center center;
  background-size: contain;
  font-size: 0;
  width: 80%;
  height: 80%;
}

@media (max-width: 550px) {
  .info-holder {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .info-holder .avatar {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

.info-heading {
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 16px;
}

.info-heading .title {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;

  font-weight: 500;
  font-size: 24px;
  line-height: normal;
  color: var(--main-color);
  margin: 0 0 10px 0;
}

.info-heading .btn {
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  background-color: var(--profile-heading-btn-bg);
  border-radius: 10px;
}

@media (max-width: 900px) {
  .sort-holder a,
  .sort-holder span {
    font-size: 15px;
  }

  .info-heading {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .info-heading .title {
    width: 100%;
    margin-bottom: 10px;
  }

  .info-heading .block {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
  }

  .info-heading .btn,
  .info-heading .sub-btn {
    margin: 5px;
  }
}

.info-heading .btn i {
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-right: 10px;
}

.info-heading .btn svg {
  fill: #b8b8b8;
}

.info-heading .sub-btn .text {
  color: var(--profile-heading-btn-color);
}

.info-profile .item,
.profile .text-profile .title {
  line-height: 36px;
  color: var(--profile-color);
  font-weight: 400;
}

@media (max-width: 390px) {
  .info-heading .sub-btn,
  .info-heading .sub-btn .text {
    width: 100%;
    max-width: 100%;
  }

  .info-heading .btn {
    width: 100%;
    margin: 0 0 5px;
  }

  .info-heading .sub-btn {
    margin: 0 0 5px;
  }
}

.info-heading .sub-btn .count {
  background: var(--profile-heading-btn-bg);
}

.block a {
  flex: 0 0 auto;
  white-space: nowrap;
}

.sub-btn {
  display: flex;
  align-items: center;
  height: 36px;
  transition: 0.3s;
}

.sub-btn,
.sub-btn .text {
  display: -webkit-box;
  display: -ms-flexbox;
  -webkit-box-align: center;
}

.sub-btn {
  border-radius: 10px;
  overflow: hidden;
}

.sub-btn .text {
  background: var(--main-color);
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  color: #000;
  line-height: 20px;
  font-size: 14px;
  padding: 0 10px;
  height: 100%;
  font-style: normal;
  font-weight: 400;
}

.info-heading .sub-btn .count {
  background: rgba(255, 255, 255, 0.1);
}

.sub-btn .count {
  background: var(--video-sub-btn-count);
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  color: var(--subscribe-color2);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.sub-btn .count,
.sub-btn .text {
  font-weight: 400;
  font-size: 16px;
  padding: 0 10px;
  height: 100%;
  line-height: 20px;
}

.sub-btn .text em {
  font-style: normal;
  font-weight: 400;
}

/* MEMBER LINKS */
.container {
  max-width: 1460px;
  width: 100%;
  padding: 0 10px;
  margin: 0 auto;
}

.section-row {
  margin-bottom: 44px;
}

.sort-holder {
  display: flex;
  -ms-flex-line-pack: center;
  align-content: center;
  border-bottom: var(--profile-sort-border);
  margin-bottom: 20px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.sort-holder a,
.sort-holder span {
  display: block;
  font-weight: 400;
  font-size: 20px;
  line-height: 18px;
  color: var(--related-color);
  -webkit-transition: color 0.3s;
  -o-transition: color 0.3s;
  transition: color 0.3s;
  margin-right: 40px;
  position: relative;
  padding-bottom: 14px;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
}

/*.sort-holder a::before,
.sort-holder span::before {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 0;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  width: 0;
  height: 1px;
  background: var(--main-color);
}*/

@media (min-width: 1024px) {
  .sort-holder a:hover::before,
  .sort-holder span:hover::before {
    width: 100%;
  }
}

.section-tabs a.link-tab {
  font-weight: 500;
  font-size: 16px;
  color: var(--profile-tab-color);
}

.section-tabs a.link-tab em {
  color: #b8b8b8;
  transition: color 0.3s;
}

.section-tabs.sort-holder a.active,
.sort-holder span {
  color: var(--main-color);
  cursor: default;
}

/* UPLOAD */
.upload-inner {
  display: flex;
  margin: 20px 0;
}

.upload-inner .col.upload-box {
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.modal-inner .cols .col,
.upload-inner .col {
  width: 50%;
  margin-right: 20px;
}

.upload-inner .col:last-child {
  margin-right: 0;
}

.upload-wrapper input {
  width: 100%;
  padding: 10px 20px;
  border: var(--input-border);
  border-radius: 10px;
}

.upload-wrapper input,
.upload-wrapper textarea {
  background-color: var(--bg);
  color: var(--input-upload-color);
  display: block;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.upload-wrapper .radio-box {
  margin-bottom: 15px;
}

.upload-wrapper .row {
  margin-bottom: 25px;
}

.file-control .button {
  position: absolute;
  padding: 6px 11px;
  background-color: var(--btn-bg);
  color: var(--btn-color);
  border-radius: 8px;
  top: 4px;
  left: 10px;
  cursor: pointer;
}

.file-control .file {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-wrapper .file-control .field-error {
  margin-top: 7px;
}

.upload-wrapper .field-error {
  margin-top: 3px;
  color: red;
  font-size: 12px;
}

.upload-wrapper .bottom {
  margin-top: 10px;
}

.upload-wrapper .bottom input {
  max-width: 150px;
  width: 100%;
  height: 40px;
  cursor: pointer;
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
  background: var(--main-color);
  color: #000;
  font-size: 16px;
  display: block;
  border-radius: 5px;
  border: none;
  padding: 10px 20px;
}

.upload-wrapper .bottom input:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.upload-holder .title {
  font-size: 22px;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 10px;
}

/* UPLOAD RULES */
.upload-rules {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.upload-rules li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 15px;
}

.upload-rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background-color: var(--main-color);
  border-radius: 50%;
}

/* LAZY IFRAME */
.lazy-iframe {
  position: relative;
  display: inline-block;
  background: #242528;
  border: 1px solid #0b0c10;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;

  /*width: 300px;
  height: 250px;*/
}

.lazy-iframe.loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border: 4px solid #ccc;
  border-top-color: #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.lazy-iframe iframe {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.lazy-iframe iframe.loaded {
  opacity: 1;
}

.money-block {
  text-align: center;
}

.desktop-spot,
.mobile-spot {
  position: relative;
  z-index: 1;
  background-color: transparent;
  font-size: 0;
  aspect-ratio: 300 / 250;
  overflow: hidden;
  max-width: 300px;
  max-height: 250px;
  margin: 0 auto;
}

/* MORE */
.more {
  font-size: 40px;
  margin-bottom: 3px;
  display: inline-block;
}

.more svg {
  display: block;
  margin: 0 auto;
}

/*.more {
	width: 40px;
	height: 36px;
	background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M104 160a56 56 0 1156-56 56.06 56.06 0 01-56 56zM256 160a56 56 0 1156-56 56.06 56.06 0 01-56 56zM408 160a56 56 0 1156-56 56.06 56.06 0 01-56 56zM104 312a56 56 0 1156-56 56.06 56.06 0 01-56 56zM256 312a56 56 0 1156-56 56.06 56.06 0 01-56 56zM408 312a56 56 0 1156-56 56.06 56.06 0 01-56 56zM104 464a56 56 0 1156-56 56.06 56.06 0 01-56 56zM256 464a56 56 0 1156-56 56.06 56.06 0 01-56 56zM408 464a56 56 0 1156-56 56.06 56.06 0 01-56 56z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center / contain;
	filter: drop-shadow(2px 2px 3px #000);
	margin-bottom: 0;
}*/

.more {
  width: 40px;
  height: 36px;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Ccircle cx='256' cy='256' r='48' fill='%23ffffff'/%3E%3Ccircle cx='416' cy='256' r='48' fill='%23ffffff'/%3E%3Ccircle cx='96' cy='256' r='48' fill='%23ffffff'/%3E%3C/svg%3E")
    no-repeat center / contain;
  filter: drop-shadow(2px 2px 3px #000);
  margin-bottom: 0;
}

.more-box {
  margin-bottom: 0;
}

.more-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.more-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.more-panel {
  width: 100%;
  max-width: 480px;
  background: #111;
  border-radius: 16px 16px 0 0;
  padding: 20px 16px 16px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

.more-overlay.open .more-panel {
  transform: translateY(0);
}

.more-close {
  position: absolute;
  right: 14px;
  top: 14px;
  background: none;
  border: none;
  color: #aaa;
  font-size: 18px;
  cursor: pointer;
}

.more-title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
}

.more-buttons {
  display: grid;
  /*grid-template-columns: 1fr 1fr;*/
  gap: 12px;
  margin-bottom: 16px;
}

.more-btn {
  background: #1e1e1e;
  border: none;
  color: #fff;
  padding: 14px 10px;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
}

.more-btn.copy {
  grid-column: span 2;
  background: #fe0089;
}

.more-cancel {
  width: 100%;
  background: #1a1a1a;
  border: none;
  color: #aaa;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  cursor: pointer;
}

.more-btn.active {
  background: #fe0089;
  color: #fff;
}

.more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.more-btn .btn-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
}

.more-btn.active .btn-icon {
  color: #fff;
}

.block-flagging .radio-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
}

.block-flagging .radio-row input[type="radio"] {
  accent-color: #fe0089;
}

.flag-form > * + * {
  margin-top: 14px;
}

.flag-form .success {
  margin-bottom: 14px;
}

.block-flagging .textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  resize: vertical;
}

.block-flagging .textarea::placeholder {
  color: var(--muted);
}

.more-btn-submit {
  display: block;
  margin: 14px auto 20px;
  width: 50%;
  background: #2e6dff;
  color: #fff;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: 0.2s ease;
  padding: 14px 10px;
  border-radius: 12px;
  font-size: 15px;
}

.more-btn-submit:hover {
  background: #5587fb;
}

/* END MORE */

/* UPLOAD FIXES */
.upload-inner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.upload-inner .col {
    flex: 1;
    min-width: 0;
}

.upload-inner .col:last-child {
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.preview {
    margin: 0;
}

.preview img {
    width: 100%;
    max-height: calc(100vh - 40px);
    object-fit: contain;
    display: block;
    border-radius: 10px;
}





.upload-wrapper textarea {
    width: 100%;
    padding: 10px 20px;
  height: 170px;
}
.form-upload.uploading * {
    opacity: 0;
    visibility: hidden;
}
.form-upload.uploading *, .hidden {
    display: none;
}
.list-selector-popup .button-group {
    min-height: 31px;
    max-height: 152px;
    overflow: auto;
    margin: 10px 0;
}
.list-selector-popup .button-group .item input[type="checkbox"] {
  display: none;
}
input[type=checkbox]+label {
    margin: .2em;
    cursor: pointer;
    padding: .2em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.success-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.success-icon svg {
    width: 64px;
    height: 64px;
    overflow: visible;
}

.success-circle {
    stroke: var(--main-color);
    stroke-width: 3;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: successCircle .7s ease forwards;
}

.success-check {
    stroke: var(--main-color);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: successCheck .45s ease forwards .55s;
}

@keyframes successCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes successCheck {
    to {
        stroke-dashoffset: 0;
    }
}

/* PROFILE FIXES */
.info-profile {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    max-width: 800px;
    width: 100%;
}
.info-profile .column {
    padding: 0 4px;
}
.info-profile .item, .profile .text-profile .title {
    line-height: 36px;
    color: #fff;
    font-weight: 400;
}
.info-profile .item em, .profile .text {
    color: #b8b8b8;
}
.profile .text-profile .title {
    font-size: 14px;
    margin-bottom: 15px;
}
.profile .text {
    font-weight: 400;
line-height: 20px;
    font-size: 14px;
}
.info-holder .info {
	width: 100%;
}
.info-heading {
display: flex;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 16px;
}
.block a {
    flex: 0 0 auto;
    white-space: nowrap;
margin-right: 5px;
}
.info-heading .btn {
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    background-color: #1d1d1d;
    border-radius: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    -webkit-box-align: center;
height: auto;
}
.add_friend {
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
-webkit-box-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
-webkit-box-orient: vertical;
    -webkit-box-direction: normal;
}
.sub-btn i {
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    margin-right: 5px;
}
.icon-user {
    color: #ffffff;
    font-size: 18px;
}
.info-heading .btn svg {
    fill: #ffffff;
    font-size: 18px;
}
.info-heading .btn i {
margin-right: 0;
}
@media (max-width:900px) {

	.sort-holder a,
	.sort-holder span {
		font-size: 15px
	}

	.info-heading {
		-ms-flex-wrap: wrap;
		flex-wrap: wrap
	}

	.info-heading .title {
		width: 100%;
		margin-bottom: 10px;
text-align: center;
	}

	.info-heading .block {
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-box-flex: 1;
		-ms-flex-positive: 1;
		flex-grow: 1
	}

	.info-heading .btn,
	.info-heading .sub-btn {
		margin: 5px auto;
        display: flex;
        justify-content: center;
	}
.info-profile {
		-ms-flex-wrap: wrap;
		flex-wrap: wrap
	}

}
.sub-btn {
    height: 40px;
}
.sub-btn .text em {
    font-size: 16px;
}
.sub-btn .text {
    background: #b73666;
}
.profile .container {
padding: 0;
}
.section-tabs.sort-holder.sort-control {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.section-tabs.sort-holder.sort-control .link-tab {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    padding: 10px 14px;
    margin: 0;

    text-align: center;
    text-decoration: none;

    border-radius: 12px;

    background-color: #1d1d1d;
    border: 1px solid var(--border);

    transition:
        background-color .2s ease,
        border-color .2s ease,
        transform .15s ease;
}

.section-tabs.sort-holder.sort-control .link-tab:hover {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.section-tabs.sort-holder.sort-control .link-tab.active {
    background: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
}

.section-tabs.sort-holder.sort-control .link-tab em {
    margin-left: 6px;
    font-style: normal;
    opacity: 1;
	color: #ffffff;
}

@media (max-width: 900px) {

    .section-tabs.sort-holder.sort-control {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .section-tabs.sort-holder.sort-control .link-tab {
        width: 100%;
    }
}
.main-container-user .section-row {
	margin-bottom: 15px;
}

/* MESSAGES */
.heading {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
    gap: 5px;
}
.heading .title {
    font-size: 24px;
    line-height: 1;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
}
.list-messages {
    width: 100%;
}

.unread-notification {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	padding: 0 5px;
	border: 1px solid var(--main-color);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	background-color: rgba(22, 22, 22, .8);
	color: #fff;
	text-transform: capitalize;
	text-align: center
}

.list-messages .load-more .btn,
.load-more .btn {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	width: 150px;
	margin: 0 auto
}

.list-messages .item {
	margin-bottom: 15px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	max-width: 50%
}

.list-messages .item>a {
    display: block;
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 50%;
    margin-right: 10px;
    background-color: #1d1d1d;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.list-messages .item.me>a {
    margin: 0 0 0 10px;
}

.list-messages .item>a i, .mebers-photo i {
    height: 18px;
    width: 18px;
}

@media screen and (max-width:767px) {
	.list-messages .item {
		max-width: 75%
	}
}

.list-messages .item.me {
	-webkit-box-orient: horizontal;
	-webkit-box-direction: reverse;
	-ms-flex-direction: row-reverse;
	flex-direction: row-reverse;
	margin-left: auto
}

.list-messages .item.me .added,
.list-messages .item.me .message-text {
	text-align: right
}

.list-messages .message-wrap {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-direction: column;
	flex-direction: column
}

.list-messages .added {
	color: #b8b8b8;
	font-size: 11px;
	margin-bottom: 3px
}

.list-messages .message-text .bottom {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	gap: 4px;
	margin-top: 3px
}

.list-messages .message-text .btn {
	cursor: pointer;
	padding: 3px 7px;
	border: 1px solid #88d388;
	border-radius: 6px
}

.sort {
    position: relative;
}
.sort .sort-title {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	color: #ffffff;
	background: #1d1d1d;
	border-radius: 10px;
	padding: 8px 20px;
	cursor: pointer;
	-webkit-transition: .3s;
	-o-transition: .3s;
	transition: .3s
}

.sort.sort-profile .sort-drop,
.sort.sort-profile .sort-title {
	background-color: #1d1d1d;
}

.sort .sort-title {
	min-width: 170px;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center
}


.sort .sort-drop {
    opacity: 0;
    visibility: hidden;
}
.sort .sort-drop {
    position: absolute;
    z-index: 10;
    width: 100%;
    background: #000000;
    border-radius: 0 0 10px 10px;
    -webkit-transform: translate3d(0, 35px, 0);
    transform: translate3d(0, 35px, 0);
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}
.sort.sort-open .sort-drop {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
}

.sort.sort-open .sort-title {
    border-radius: 10px 10px 0 0;
    color: #000;
    background: var(--main-color);
  
}
.sort .sort-title:hover {
    color: #000;
    background: var(--main-color);
}

.sort .sort-title i
 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-left: 10px;
}

.sort .sort-drop a {
    display: block;
    text-align: center;
    color: var(--sort-color);
    padding: 8px 10px;
    transition: .3s;
    width: 100%;
}
.sort .sort-drop a:hover {
    background: var(--main-color);
    color: #000;
}

.icon-arrow-down {
    font-size: 10px;
}
.sort .sort-title svg {
    fill: #ffffff;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    -webkit-transform: rotate(0);
    -ms-transform: rotate(0);
    transform: rotate(0);
}
.sort.sort-open .sort-title svg {
    fill: #000000;
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
}
.sort .sort-title:hover svg {
    fill: #000000;
}
.btn:hover {
    background: var(--main-color);
	color: #000;
}

/* SUBSCRIPTIONS */
.list-subscriptions form {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
}
.list-subscriptions .item {
    width: calc(20% - 8px);
    background-color: #000000;
    overflow: hidden;
    border-radius: 10px;
    padding: 0 10px;
}
.list-subscriptions .item a {
    padding: 15px 0;
    border-bottom: 1px solid #161616;
    display: block;
    font-size: 16px;
    color: var(--color-inverse);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    transition: color .3s;
}
.list-subscriptions .submit:hover, .thumbs .bottom .submit:hover, .list-subscriptions .btn:hover {
    background: var(--main-color);
    color: #000;
}
.list-subscriptions .item .img-holder {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    overflow: hidden;
    margin-right: 10px;
    position: relative;
    background-color: #1d1d1d;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}
.list-subscriptions .item i {
    height: 16px;
}
.list-subscriptions .item .svg-icon {
    color: #88d388;
    font-size: 17px;
}
.list-subscriptions .item-control, .tags-row {
    padding: 10px 0;
}
.list-subscriptions .item-control-holder {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 10px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.item-control input {
    position: relative;
    background: #1d1d1d;
    border-radius: 6px;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    cursor: pointer;
    border: 1px solid var(--main-color);
	width: 25px;
    height: 25px;
    padding-left: 7px;
    padding-bottom: 0;
    padding-top: 3px;
    vertical-align: bottom;
    color: transparent;
    display: inline-block;
}
.list-subscriptions .btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: #1d1d1d;
    border-radius: 10px;
    margin: 0;
    cursor: pointer;
	padding: 5px 10px;
    border-radius: 6px;
	height: 30px;
}
.list-subscriptions .bottom, .thumbs .bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 5px;
    width: 100%;
    margin-top: 20px;
}
.list-subscriptions .submit, .thumbs .bottom .submit {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: #1d1d1d;
    color: var(--thumbs-bottom-btn-color);
    min-height: 40px;
    min-width: 40px;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    border: none;
    padding: 0 20px;
	border-radius: 10px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    line-height: 20px;
}
.list-subscriptions .submit:disabled, .thumbs .bottom .submit:disabled {
    opacity: .5;
    pointer-events: none;
}
@media screen and (max-width:1024px) {
	.list-subscriptions .item {
		width: calc(33.33% - 7px)
	}
}

@media screen and (max-width:600px) {
	.list-subscriptions .item {
		width: calc(50% - 5px)
	}
}

@media screen and (max-width:410px) {
	.list-subscriptions .item {
		width: 100%
	}
}

/* USER PANEL */
.section-tabs.sort-holder.sort-control .link-tab em {
    position: absolute;
    top: 0;
    right: -6px;

    min-width: 18px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 5px;
    border-radius: 999px;

    background: #ff4d8d;
    color: #fff;

    font-size: 10px;
    font-weight: 700;
    font-style: normal;
}

.section-tabs.sort-holder.sort-control .link-tab {
    position: relative;
	overflow: visible;
}