/* ============================================================================
   Gataslindas skin — Phase 2.1: home / category grid (Eporner-style density)
   Loaded after all-responsive-metal.css; overrides the card grid only.
   ============================================================================ */

:root {
  --g-bg:           #0b0b0e;
  --g-surface:      #15151a;
  --g-surface-2:    #1d1d23;
  --g-border:       #26262d;
  --g-border-hover: #3a3a44;
  --g-text:         #e0e0e0;
  --g-text-dim:     #a8a8b3;
  --g-muted:        #6e6e7a;
  --g-accent:       #80b627;
  --g-accent-2:     #93cc2e;
  --g-positive:     #80b627;
  --g-negative:     #ff5252;
  --g-radius:       8px;
  --g-radius-sm:    4px;
  --g-gap:          10px;
}

/* ── Light skin: flip surface/text vars (pink/green/red accents kept) ────── */
html.light {
  --g-bg:           #ffffff;
  --g-surface:      #ffffff;
  --g-surface-2:    #f2f2f5;
  --g-border:       #e4e4e8;
  --g-border-hover: #d3d3d9;
  --g-text:         #1a1a1f;
  --g-text-dim:     #55555d;
  --g-muted:        #82828a;
}
/* Theme toggle icon swap (sun shown in dark = switch-to-light; moon in light) */
.js-theme{cursor:pointer}
.js-theme .tt-moon{display:none}
.js-theme .tt-sun{display:inline}
html.light .js-theme .tt-sun{display:none}
html.light .js-theme .tt-moon{display:inline}

/* ── Grid container ──────────────────────────────────────────────────────── */

.list-videos .margin-fix:not(:has(> form)),
.list-videos .margin-fix > form {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--g-gap);
  margin: 0;
}

/* Manage-mode: the top error + bottom controls are direct children of <form>
   alongside the .item cards; make them span the whole row. */
.list-videos .margin-fix > form > .generic-error,
.list-videos .margin-fix > form > .bottom,
.list-videos .margin-fix > form > .success {
  grid-column: 1 / -1;
}

.list-videos .margin-fix:not(:has(> form)) > .empty-content,
.list-videos .margin-fix > form > .empty-content {
  grid-column: 1 / -1;
  padding: 48px 16px;
  text-align: center;
  color: var(--g-text-dim);
  background: var(--g-surface);
  border-radius: var(--g-radius);
}

/* ── Card ────────────────────────────────────────────────────────────────── */

.list-videos .item,
.list-videos-screenshots .item {
  /* neutralise theme sizing */
  width: auto !important;
  margin: 0 !important;
  /* card surface */
  display: block;
  background: var(--g-surface);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius);
  box-shadow: none;
  overflow: hidden;
  position: relative;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.list-videos .item a {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "thumb"
    "title"
    "meta";
  font-size: 12px;
  line-height: 1.35;
  color: var(--g-text);
  text-decoration: none;
}

/* ── Thumbnail ───────────────────────────────────────────────────────────── */

.list-videos .item .img,
.list-videos-screenshots .item .img {
  grid-area: thumb;
  position: relative;
  overflow: hidden;
  background: #000;
  border-radius: 0;
  padding-bottom: 56.25%;
}

.list-videos .item .img img,
.list-videos .item .img video,
.list-videos-screenshots .item .img img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: transform .35s ease;
}

/* Resolution badge (HD / 2K / 4K) */
.list-videos .item .is-hd {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 3;
  padding: 2px 6px;
  background: var(--g-accent);
  border-radius: 3px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .4px;
  color: #fff;
  opacity: 1;
  line-height: 1.4;
}
.list-videos .item .is-hd.is-2k { background: #c64dff; }
.list-videos .item .is-hd.is-4k { background: #ff9100; }

/* Private / premium ribbons */
.list-videos .item .line-private,
.list-videos .item .line-premium {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, .55);
  display: flex;
  align-items: center;
  justify-content: center;
}
.list-videos .item .ico-private,
.list-videos .item .ico-premium {
  background: var(--g-accent);
  color: #fff;
  padding: 4px 10px !important;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: 1 !important;
  position: relative;
  display: inline-block;
  text-align: center;
}
.list-videos .item .ico-private::before,
.list-videos .item .ico-premium::before {
  content: none !important;
  display: none !important;
}
.list-videos .item .ico-premium { background: var(--g-accent-2); }

/* Favourite heart overlay — keep existing but tone down */
.list-videos .item [class^="ico-fav-"] {
  z-index: 3;
  opacity: .85;
}
.list-videos .item [class^="ico-fav-"]:hover { opacity: 1; }

/* ── Title ───────────────────────────────────────────────────────────────── */

.list-videos .item .title {
  grid-area: title;
  /* Outer stays a plain block. `display: -webkit-box` here gets blockified
     to `flow-root` by Chromium because .title is a grid child — which silently
     kills -webkit-line-clamp. The line-clamp lives on the inner <span> below. */
  display: block;
  box-sizing: content-box;
  height: 2.7em;                 /* 1.35 line-height × 2; reserves 2 lines on every card */
  overflow: hidden;
  margin: 0;
  padding: 8px 10px 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--g-text);
  word-break: break-word;        /* long unbreakable tokens (URLs, hashes) stay inside */
  overflow-wrap: anywhere;
}
.list-videos .item .title > span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Meta rows ───────────────────────────────────────────────────────────── */

/* DOM order inside `a`: 1=.img, 2=.title, 3=.wrap (duration+rating), 4=.wrap (date+views).
   Use :nth-child — :nth-of-type would count by tag and miss the .wrap divs. */

/* First .wrap (duration + rating) overlays the thumbnail as bottom-right chips */
.list-videos .item a > :nth-child(3) {
  grid-area: thumb;
  align-self: end;
  justify-self: end;
  z-index: 3;
  width: auto;
  margin: 0;
  padding: 6px;
  display: flex;
  flex-direction: row-reverse;   /* rating first, duration rightmost */
  gap: 4px;
  pointer-events: none;
  float: none;
}

.list-videos .item .duration {
  /* theme pins .duration absolute to card bottom-right — kill it so the flex wrap handles layout */
  position: static;
  inset: auto;
  padding: 2px 6px;
  background: rgba(0, 0, 0, .78);
  color: #fff;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2px;
  line-height: 1.4;
  float: none;
}
.list-videos .item .duration::before {
  /* icomoon clock glyph — drop it, the meta chip already reads as duration */
  display: none;
}

.list-videos .item .rating {
  padding: 2px 6px;
  background: rgba(0, 0, 0, .78);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  float: none;
}
.list-videos .item .rating.positive { color: var(--g-positive); }
.list-videos .item .rating.negative { color: var(--g-negative); }
/* Hide icomoon thumb glyph that the theme absolute-positions at left:0 of .rating,
   overlapping the percentage text inside our chip. Higher specificity than
   `.item .wrap .rating::before` so it actually wins. */
.list-videos .item .rating::before,
.list-videos .item .wrap .rating::before {
  display: none;
  content: none;
}

/* Second .wrap (date + views) — tight meta row under title */
.list-videos .item a > :nth-child(4) {
  grid-area: meta;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0;
  padding: 0 10px 10px;
  font-size: 11px;
  color: var(--g-text-dim);
  width: auto;
  float: none;
}
.list-videos .item .added,
.list-videos .item .views {
  float: none;
  padding: 0;
  background: transparent;
  color: var(--g-text-dim);
  display: inline-block;        /* theme hides .added/.views in some breakpoints */
}
/* Drop the icomoon icons on the meta row for a cleaner look */
.list-videos .item .added::before,
.list-videos .item .views::before { display: none; }
.list-videos .item .added em { font-style: normal; }
.list-videos .item .views { font-weight: 600; color: var(--g-text); }

/* ── Hover — gated to pointer devices so touch doesn't get stuck state ───── */

@media (hover: hover) {
  .list-videos .item:hover {
    border-color: var(--g-border-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
  }
  .list-videos .item:hover .img img,
  .list-videos .item:hover .img video {
    transform: scale(1.04);
  }
  .list-videos .item a:hover .title {
    color: var(--g-accent-2);
  }
}

/* ── Headline bar (section title + more link) ────────────────────────────── */

/* Headline — match theme specificity (0,3,0 / 0,4,0) so our rules actually win. */
.main-container .headline,
.sidebar + .main-container .headline,
.sidebar + .main-container > .headline:first-child,
.sidebar + .main-container div:first-child .headline {
  margin: 28px 0 14px;
  padding: 0 4px 10px;
  width: auto;
  border-bottom: 1px solid var(--g-border);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
/* First headline — slightly tighter top because nav sits right above. */
.main-container > .headline:first-child,
.sidebar + .main-container > .headline:first-child {
  margin-top: 20px;
  margin-left: 0;
}
.main-container .headline > h1,
.main-container .headline > h2 {
  margin: 0;
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--g-text);
  letter-spacing: -.01em;
  background: none;
  border: 0;
}
.main-container .headline .more {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--g-text-dim);
  text-decoration: none;
}
.main-container .headline .more:hover { color: var(--g-accent-2); }

/* ── Pagination block (stock KVS) — minimal dark polish ──────────────────── */

.pagination-block {
  margin: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}
.pagination-block a,
.pagination-block span {
  min-width: 32px;
  padding: 6px 10px;
  text-align: center;
  background: var(--g-surface);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-sm);
  color: var(--g-text-dim);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .12s ease, color .12s ease;
}
.pagination-block a:hover {
  border-color: var(--g-border-hover);
  color: var(--g-text);
}
.pagination-block .page-current,
.pagination-block .current {
  background: var(--g-accent);
  border-color: var(--g-accent);
  color: #fff;
}

/* ── Density tweaks at narrower breakpoints ──────────────────────────────── */

@media (max-width: 860px) {
  .list-videos .margin-fix:not(:has(> form)) {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
  }
  .list-videos .item .title { font-size: 12px; padding: 6px 8px 2px; }
  .list-videos .item a > .wrap:nth-of-type(2) { padding: 0 8px 8px; }
}

@media (max-width: 540px) {
  .list-videos .margin-fix:not(:has(> form)) {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .main-container .headline > h1,
  .main-container .headline > h2 { font-size: 16px; }
}


/* ============================================================================
   PHASE 2.2 — CREATOR / CHANNEL / CATEGORY CARDS (OF-style)
   DOM varies: models & categories use `<a class="item">`; channels use
   `<div class="item"><a>...</a></div>`. Selectors handle both — card surface
   is `.list-X .item` (anchor-items) or `.list-X .item > a` (wrapped).
   ============================================================================ */

.list-models .margin-fix,
.list-channels .margin-fix,
.list-categories .margin-fix {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin: 0;
}

/* Neutralise the wrapper div in channels so its child <a> becomes the card */
.list-channels .item {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: block;
}

/* Card surface */
.list-models .item,
.list-categories .item,
.list-channels .item > a {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  width: auto !important;
  margin: 0 !important;
  padding: 0;
  background: var(--g-surface);
  border: 1px solid var(--g-border);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: var(--g-text);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

/* Image fills the card — kill theme's padding-bottom aspect since .item owns it now */
.list-models .item .img,
.list-channels .item .img,
.list-categories .item .img {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  padding-bottom: 0 !important;
  margin: 0;
  overflow: hidden;
  background: #000;
}
.list-models .item .img img,
.list-channels .item .img img,
.list-categories .item .img img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: transform .35s ease;
}

/* No-thumb placeholder — theme sets font-size:0 which hides the label entirely.
   Restore a readable small label with a subtle dark gradient backdrop. */
.list-models .item .no-thumb,
.list-channels .item .no-thumb,
.list-categories .item .no-thumb {
  position: absolute !important;
  inset: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: linear-gradient(135deg, #1a1a22, #0a0a10);
  color: var(--g-muted);
  font-size: 11px;
  text-align: center;
  line-height: 1.3;
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* Gradient overlay so title + stats stay legible over any image */
.list-models .item::after,
.list-channels .item > a::after,
.list-categories .item::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 55%;
  background: linear-gradient(to top,
    rgba(0,0,0,.92) 0%,
    rgba(0,0,0,.55) 45%,
    rgba(0,0,0,0) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Creator name — over gradient, single-line with ellipsis */
.list-models .item .title,
.list-channels .item .title,
.list-categories .item .title {
  position: absolute !important;
  left: 0; right: 0;
  bottom: 28px;
  padding: 0 12px;
  margin: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  z-index: 2;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
  text-shadow: 0 1px 4px rgba(0,0,0,.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: transparent !important;
  box-sizing: border-box;
}

/* Stats row (videos count + rating) pinned under the name */
.list-models .item .wrap,
.list-channels .item .wrap,
.list-categories .item .wrap {
  position: absolute !important;
  left: 0; right: 0;
  bottom: 8px;
  padding: 0 12px;
  margin: 0 !important;
  height: auto !important;
  z-index: 2;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.list-models .item .videos,
.list-channels .item .videos,
.list-categories .item .videos {
  float: none;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  color: inherit;
}
/* Kill theme's icomoon filmstrip glyph (`\e91c`) that sits absolute left:0 of .videos,
   overlapping the count text inside the meta row. */
.list-models .item .videos::before,
.list-channels .item .videos::before,
.list-categories .item .videos::before {
  display: none;
  content: none;
}
.list-models .item .rating,
.list-channels .item .rating,
.list-categories .item .rating {
  float: none;
  padding: 2px 6px !important;
  background: rgba(0,0,0,.55);
  border-radius: 3px;
  font-weight: 700;
  line-height: 1.4;
}
.list-models .item .rating.positive,
.list-channels .item .rating.positive,
.list-categories .item .rating.positive { color: var(--g-positive); }
.list-models .item .rating.negative,
.list-channels .item .rating.negative,
.list-categories .item .rating.negative { color: var(--g-negative); }
/* Kill theme's icomoon thumb glyph on rating (same trick as videos) */
.list-models .item .rating::before,
.list-channels .item .rating::before,
.list-categories .item .rating::before {
  display: none;
  content: none;
}

/* Hover — lift + border glow + image zoom, pointer devices only */
@media (hover: hover) {
  .list-models .item:hover,
  .list-channels .item > a:hover,
  .list-categories .item:hover {
    border-color: var(--g-border-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,.5);
  }
  .list-models .item:hover .img img,
  .list-channels .item > a:hover .img img,
  .list-categories .item:hover .img img {
    transform: scale(1.05);
  }
}

/* Mobile density */
@media (max-width: 860px) {
  .list-models .margin-fix,
  .list-channels .margin-fix,
  .list-categories .margin-fix {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
  }
  .list-models .item .title,
  .list-channels .item .title,
  .list-categories .item .title { font-size: 13px; padding: 0 10px; }
}
@media (max-width: 540px) {
  .list-models .margin-fix,
  .list-channels .margin-fix,
  .list-categories .margin-fix {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
}


/* ============================================================================
   PHASE 2.2 (cont.) — ALBUM CARDS
   Same DOM as video cards but portrait aspect (133.44%) and a .photos chip
   instead of .duration. Template has no <span> wrapper in .title (album titles
   are short), so use single-line ellipsis rather than multi-line clamp.
   ============================================================================ */

.list-albums .margin-fix:not(:has(> form)),
.list-albums .margin-fix > form {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--g-gap);
  margin: 0;
}
.list-albums .margin-fix > form > .generic-error,
.list-albums .margin-fix > form > .bottom,
.list-albums .margin-fix > form > .success,
.list-albums .margin-fix > form > .empty-content {
  grid-column: 1 / -1;
}

.list-albums .item {
  width: auto !important;
  margin: 0 !important;
  display: block;
  background: var(--g-surface);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius);
  box-shadow: none;
  overflow: hidden;
  position: relative;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.list-albums .item > a {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "thumb"
    "title"
    "meta";
  font-size: 12px;
  line-height: 1.35;
  color: var(--g-text);
  text-decoration: none;
}

.list-albums .item .img {
  grid-area: thumb;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a22, #0a0a10);  /* visible even when image fails to load */
  border-radius: 0;
  padding-bottom: 133.44%;    /* portrait, matches theme */
}
.list-albums .item .img img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: transform .35s ease;
}

/* Private overlay */
.list-albums .item .line-private {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, .55);
  display: flex;
  align-items: center;
  justify-content: center;
}
.list-albums .item .ico-private {
  background: var(--g-accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.list-albums .item [class^="ico-fav-"] { z-index: 3; opacity: .85; }

/* Title — single-line ellipsis (no span wrapper in album template) */
.list-albums .item .title {
  grid-area: title;
  display: block;
  height: auto !important;
  min-height: 0;
  margin: 0;
  padding: 8px 10px 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--g-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* First wrap (photos + rating) → overlay chip at thumb bottom-right */
.list-albums .item > a > :nth-child(3) {
  grid-area: thumb;
  align-self: end;
  justify-self: end;
  z-index: 3;
  width: auto;
  margin: 0;
  padding: 6px;
  display: flex;
  flex-direction: row-reverse;
  gap: 4px;
  pointer-events: none;
  float: none;
}
.list-albums .item .photos {
  padding: 2px 6px;
  background: rgba(0, 0, 0, .78);
  color: #fff;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  float: none;
}
.list-albums .item .rating {
  padding: 2px 6px;
  background: rgba(0, 0, 0, .78);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  float: none;
}
.list-albums .item .rating.positive { color: var(--g-positive); }
.list-albums .item .rating.negative { color: var(--g-negative); }
/* Kill theme icomoon glyphs (camera, thumb, calendar, eye) inside album chips */
.list-albums .item .photos::before,
.list-albums .item .rating::before,
.list-albums .item .views::before,
.list-albums .item .added::before {
  display: none;
  content: none;
}

/* Second wrap (date + views) below title */
.list-albums .item > a > :nth-child(4) {
  grid-area: meta;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0;
  padding: 0 10px 10px;
  font-size: 11px;
  color: var(--g-text-dim);
  width: auto;
  float: none;
}
.list-albums .item .added,
.list-albums .item .views {
  float: none;
  padding: 0;
  background: transparent;
  color: var(--g-text-dim);
}
.list-albums .item .added em { font-style: normal; }
.list-albums .item .views { font-weight: 600; color: var(--g-text); }

@media (hover: hover) {
  .list-albums .item:hover {
    border-color: var(--g-border-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
  }
  .list-albums .item:hover .img img { transform: scale(1.04); }
  .list-albums .item > a:hover .title { color: var(--g-accent-2); }
}


/* ============================================================================
   PHASE 2.2 (cont.) — SINGLE CREATOR / CHANNEL PROFILE HEADER
   Applies to /models/<slug>/, /channels/<slug>/, /sponsors/<slug>/ pages.
   ============================================================================ */

/* Subscribe CTA + subscriber-count chip in the headline */
.main-container .headline .button {
  order: 0 !important;
  margin: 0 !important;
  padding: 9px 16px !important;
  background: var(--g-accent) !important;
  border: 1px solid var(--g-accent);
  border-radius: 6px !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  line-height: 1.2;
  transition: background-color .15s ease, border-color .15s ease;
}
.main-container .headline .button:hover {
  background: var(--g-accent-2) !important;
  border-color: var(--g-accent-2);
  color: #fff !important;
}
.main-container .headline .button-info {
  order: 1 !important;
  margin: 0 !important;
  padding: 9px 14px !important;
  background: var(--g-surface-2) !important;
  border: 1px solid var(--g-border);
  border-radius: 6px !important;
  color: var(--g-text) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
}
/* Drop the icomoon glyph the theme places before the subscriber count */
.main-container .headline .button-info::before {
  display: none;
  content: none;
}

/* Profile card wrapper — shared surface */
.main-container .block-model,
.main-container .block-channel,
.main-container .block-content-source {
  display: grid;
  gap: 18px 24px;
  margin: 0 0 24px !important;
  padding: 20px;
  background: var(--g-surface);
  border: 1px solid var(--g-border);
  border-radius: 12px;
  align-items: start;
}
/* Per-block template areas so each child maps to its own row in col 2 and the
   avatar spans the full card height in col 1 — without inflating any row. */
.main-container .block-model {
  grid-template-columns: 220px 1fr;
  grid-template-areas:
    "avatar list"
    "avatar desc"
    "avatar website";
}
.main-container .block-model .img           { grid-area: avatar; }
.main-container .block-model .model-list    { grid-area: list; }
.main-container .block-model .desc          { grid-area: desc; }
.main-container .block-model .website       { grid-area: website; }

.main-container .block-channel {
  grid-template-columns: 220px 1fr;
  grid-template-areas:
    "avatar rating"
    "avatar info";
}
.main-container .block-channel .img             { grid-area: avatar; }
.main-container .block-channel .channel-rating  { grid-area: rating; }
.main-container .block-channel .channel-info    { grid-area: info; }

.main-container .block-content-source {
  grid-template-columns: 220px 1fr;
  grid-template-areas:
    "avatar info";
}
.main-container .block-content-source .img       { grid-area: avatar; }
.main-container .block-content-source > :not(.img) { grid-area: info; }
/* Kill theme's clearfix table rows — grid doesn't need them */
.main-container .block-model::before,
.main-container .block-model::after,
.main-container .block-channel::before,
.main-container .block-channel::after {
  content: none !important;
  display: none !important;
}

/* Avatar — grid-area placement (see block-specific rules above) keeps it in
   col 1 spanning every row without inflating row heights. align-self: start
   pins the 220px image to the top of its cell when col 2 content is taller. */
.main-container .block-model .img,
.main-container .block-channel .img,
.main-container .block-content-source .img {
  float: none !important;
  align-self: start;
  justify-self: start;
  width: 220px !important;
  height: 220px !important;
  margin: 0 !important;
  border-radius: 10px;
  overflow: hidden;
  background: #0a0a10;
  position: relative;
}
.main-container .block-model .img img,
.main-container .block-channel .img img,
.main-container .block-content-source .img img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  padding-bottom: 0 !important;
  object-fit: cover;
}
.main-container .block-model .img .no-thumb,
.main-container .block-channel .img .no-thumb,
.main-container .block-content-source .img .no-thumb {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  padding-bottom: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a22, #0a0a10) !important;
  color: var(--g-muted) !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  text-align: center;
  padding: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Channel-user overlay badge on the avatar (channels only) */
.main-container .block-channel .img .channel-user {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 4px 10px;
  background: rgba(0, 0, 0, .72);
  border-radius: 4px;
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}
.main-container .block-channel .img .channel-user:hover {
  background: var(--g-accent) !important;
}

/* ── Model stat chips ──────────────────────────────────────────────────── */
.main-container .block-model .model-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin: 0 0 16px !important;
  padding: 0;
  list-style: none;
}
.main-container .block-model .model-list li {
  width: auto !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  background: var(--g-surface-2);
  border: 1px solid var(--g-border);
  border-radius: 6px;
  color: var(--g-text-dim) !important;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.2;
}
.main-container .block-model .model-list li span {
  display: block;
  margin-top: 4px;
  color: var(--g-text) !important;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

/* ── Description (models + channels) ───────────────────────────────────── */
.main-container .block-model .desc,
.main-container .block-channel .desc,
.main-container .block-content-source .desc {
  margin: 0 0 14px !important;
  padding: 0;
  color: var(--g-text-dim);
  font-size: 14px;
  line-height: 1.55 !important;
  max-width: 72ch;
}

/* Model website row */
.main-container .block-model .website {
  clear: none !important;
  padding: 12px 0 0 !important;
  margin: 0;
  border-top: 1px solid var(--g-border);
  color: var(--g-text-dim);
  font-size: 12px;
}
.main-container .block-model .website a {
  color: var(--g-accent-2) !important;
  text-decoration: none;
  margin-left: 4px;
  font-weight: 600;
}
.main-container .block-model .website a:hover {
  color: var(--g-accent-2) !important;
  text-decoration: underline;
}

/* ── Channel-specific: rating + info columns ───────────────────────────── */
.main-container .block-channel .channel-info {
  order: 0;
  flex: none;
  padding: 0 !important;
}
.main-container .block-channel .channel-rating {
  order: 0;
  flex: none;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--g-text-dim);
}
.main-container .block-channel .channel-rating strong {
  padding: 4px 10px;
  background: var(--g-surface-2);
  border: 1px solid var(--g-border);
  border-radius: 6px;
  color: var(--g-text);
  font-size: 14px;
  font-weight: 800;
}
.main-container .block-channel .channel-rating a {
  padding: 6px 12px;
  background: var(--g-surface-2);
  border: 1px solid var(--g-border);
  border-radius: 6px;
  color: var(--g-text-dim);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .12s ease, color .12s ease;
}
.main-container .block-channel .channel-rating a:hover {
  border-color: var(--g-accent);
  color: var(--g-accent-2) !important;
  background: var(--g-surface-2) !important;
}

/* Mobile: stack avatar + info */
@media (max-width: 640px) {
  .main-container .block-model,
  .main-container .block-channel,
  .main-container .block-content-source {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 14px;
  }
  .main-container .block-model .img,
  .main-container .block-channel .img,
  .main-container .block-content-source .img {
    grid-row: auto;
    width: 100% !important;
    max-width: 220px;
    height: auto !important;
    aspect-ratio: 1 / 1;
    margin: 0 auto !important;
  }
  .main-container .block-model .model-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================================
   Phase 2.3 — Global chrome (top bar, header, nav, sidebar, footer, tags cloud)
   Dark look aligned with card grid; layered over all-responsive-metal.css.
   ============================================================================ */

/* ── Base page tone ──────────────────────────────────────────────────────── */

body {
  background: var(--g-bg) !important;
  color: var(--g-text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.container {
  background: var(--g-bg) !important;
}

/* ── Top utility bar (network + member links + lang) ─────────────────────── */

.top-links {
  background: #07070a !important;
  border-bottom: 1px solid var(--g-border);
  min-height: 32px;
  font-size: 12px;
  color: var(--g-text-dim);
}

.top-links .center-hold {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  min-height: 32px;
}

.top-links .network strong {
  color: var(--g-text-dim);
  font-weight: 500;
  margin-right: 10px;
}

.top-links .network ul,
.top-links .member-links ul {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-links .network li,
.top-links .member-links li {
  padding: 0 10px;
  border-left: 1px solid var(--g-border);
  line-height: 1;
}
.top-links .network li:first-child,
.top-links .member-links li:first-child {
  border-left: 0;
  padding-left: 0;
}

.top-links a {
  color: var(--g-text-dim);
  text-decoration: none;
  transition: color .12s;
}
.top-links a:hover {
  color: var(--g-accent-2);
}
.top-links .member-links a.disabled {
  color: var(--g-muted);
  pointer-events: none;
}

.top-links .member-links .languages {
  position: relative;
}
.top-links .member-links .languages > img {
  vertical-align: middle;
  cursor: pointer;
}
.top-links .member-links .languages ul {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: var(--g-surface);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-sm);
  min-width: 140px;
  padding: 6px 0;
  z-index: 100;
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
}
.top-links .member-links .languages:hover ul {
  display: block;
}
.top-links .member-links .languages ul li {
  display: block;
  border: 0;
  padding: 6px 12px;
}
.top-links .member-links .languages ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Header (logo + search) ──────────────────────────────────────────────── */

.container .header {
  background: var(--g-bg) !important;
  border-bottom: 0;
  padding: 0 !important;
}

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

.container .header .logo {
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 !important;
}
.container .header .logo a {
  display: inline-block;
  line-height: 0;
}
.container .header .logo img {
  max-height: 46px;
  width: auto;
  display: block;
}

.container .header .search {
  flex: 1 1 520px;
  max-width: 560px;
  margin: 0 !important;
  padding: 0 !important;
}
.container .header .search form {
  display: flex;
  background: var(--g-surface);
  border: 1px solid var(--g-border);
  border-radius: 999px;
  overflow: hidden;
  transition: border-color .12s, box-shadow .12s;
}
.container .header .search form:focus-within {
  border-color: var(--g-accent);
  box-shadow: 0 0 0 3px rgba(128, 182, 39, .15);
}
.container .header .search .search-text {
  flex: 1 1 auto;
  background: transparent !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.container .header .search .search-text input {
  width: 100%;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  color: var(--g-text) !important;
  font-size: 14px;
  padding: 0 16px !important;
  height: 42px;
  line-height: 42px;
  box-shadow: none !important;
}
.container .header .search .search-text input::placeholder {
  color: var(--g-muted);
}
.container .header .search .search-button {
  flex: 0 0 auto;
  background: var(--g-accent) url(../images/search.svg) center center no-repeat !important;
  background-size: 18px 18px !important;
  color: transparent !important;
  border: 0 !important;
  cursor: pointer;
  font-size: 0 !important;
  text-indent: -9999px;
  overflow: hidden;
  width: 52px;
  padding: 0 !important;
  height: 42px;
  line-height: 42px;
  transition: background-color .12s;
  order: 2;
}
.container .header .search .search-button:hover {
  background-color: var(--g-accent-2) !important;
}

/* ── Primary nav ─────────────────────────────────────────────────────────── */

.container nav {
  background: var(--g-surface) !important;
  border-top: 1px solid var(--g-border);
  border-bottom: 1px solid var(--g-border);
}
.container nav .navigation {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  min-height: 48px;
}

.container nav .navigation .button {
  display: none;
}

.container nav .navigation ul.primary,
.container nav .navigation ul.secondary {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.container nav .navigation ul.primary {
  flex: 1 1 auto;
  gap: 2px;
}
.container nav .navigation ul.secondary {
  flex: 0 0 auto;
  margin-left: auto;
}

.container nav .navigation ul.primary > li,
.container nav .navigation ul.secondary > li {
  position: relative;
  margin: 0;
  padding: 0;
  background: none !important;
  border: 0 !important;
}

/* Theme zeroes #item1 font-size and drops an icomoon ::after in its place.
   Restore text on the Home link and neutralise the icon pseudo so our
   `.selected > a::after` underline renders cleanly. */
.container nav .navigation ul.primary > li > a#item1 {
  font-size: 14px !important;
  height: 48px !important;
}
.container nav .navigation ul.primary > li > a#item1::after {
  font-family: inherit !important;
  font-size: 0 !important;
  top: auto !important;
  transform: none !important;
}
.container nav .navigation ul.primary > li.selected > a#item1::after {
  content: "" !important;
  position: absolute !important;
  left: 10px !important;
  right: 10px !important;
  bottom: 0 !important;
  top: auto !important;
  height: 3px !important;
  width: auto !important;
  background: var(--g-accent) !important;
  border-radius: 2px 2px 0 0 !important;
}

.container nav .navigation ul.primary > li > a,
.container nav .navigation ul.secondary > li > a {
  display: inline-block;
  padding: 0 14px;
  height: 48px;
  line-height: 48px;
  color: var(--g-text-dim) !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  border: 0 !important;
  background: none !important;
  text-transform: none !important;
  letter-spacing: 0;
  transition: color .12s;
  position: relative;
}
.container nav .navigation ul.primary > li > a:hover,
.container nav .navigation ul.secondary > li > a:hover {
  color: var(--g-text) !important;
}
.container nav .navigation ul.primary > li.selected > a {
  color: var(--g-text) !important;
}
.container nav .navigation ul.primary > li.selected > a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 3px;
  background: var(--g-accent);
  border-radius: 2px 2px 0 0;
}

/* Upload CTA */
.container nav .navigation ul.primary > li.highlight > a {
  color: #fff !important;
  background: var(--g-accent) !important;
  border-radius: 999px;
  padding: 0 18px;
  height: 32px;
  line-height: 32px;
  margin: 8px 4px 8px 12px;
  font-weight: 600;
  transition: background .12s;
}
.container nav .navigation ul.primary > li.highlight > a:hover {
  background: var(--g-accent-2) !important;
}
.container nav .navigation ul.primary > li.highlight.selected > a::after,
.container nav .navigation ul.primary > li.highlight > a::after,
.container nav .navigation ul.primary > li.highlight > a::before,
.container nav .navigation ul.primary > li.highlight.drop > a::before,
.container nav .navigation ul.primary > li.highlight.drop > a::after,
.container nav .navigation ul.primary > li.highlight.drop > a:hover::before,
.container nav .navigation ul.primary > li.highlight.drop > a:hover::after {
  display: none !important;
  content: none !important;
  background: none !important;
  width: 0 !important;
}

/* Dropdowns */
.container nav .navigation ul.primary > li.drop > ul {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: var(--g-surface);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-sm);
  padding: 6px 0;
  min-width: 180px;
  z-index: 50;
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
  list-style: none;
}
.container nav .navigation ul.primary > li.drop:hover > ul {
  display: block;
}
.container nav .navigation ul.primary > li.drop > ul > li {
  display: block;
  margin: 0;
  padding: 0;
  background: none !important;
}
.container nav .navigation ul.primary > li.drop > ul > li > a {
  display: block;
  height: auto;
  line-height: 1.4;
  padding: 10px 14px;
  color: var(--g-text-dim) !important;
  font-size: 13px;
}
.container nav .navigation ul.primary > li.drop > ul > li > a:hover {
  color: var(--g-text) !important;
  background: var(--g-surface-2) !important;
}

/* Secondary (tokens) */
.container nav .navigation ul.secondary > li > a {
  color: var(--g-accent) !important;
  font-weight: 600;
}

/* ── Content shell alignment ─────────────────────────────────────────────── */

.container > .content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 16px 24px;
}

/* Theme forces .content to display:flex + flex-wrap:wrap. On pages without
   the main-content/sidebar wrapper (view_video, view_album, view_playlist,
   view_post) that makes children shrink to content-size, and percentage-
   sized children like the video player aspect-box end up wider than the
   viewport. Force children to full-row flex basis. */
.container > .content > * {
  flex: 1 1 100%;
  min-width: 0;
  max-width: 100%;
}

.container > .content > .main-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.container > .content > .main-content > .sidebar,
.container > .content > .main-content > .member-menu {
  flex: 0 0 240px;
  max-width: 240px;
  min-width: 0;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.container > .content > .main-content > .main-container,
.container > .content > .main-content > .main-container-user {
  flex: 1 1 auto;
  min-width: 0;
}

/* ── Sidebar blocks ──────────────────────────────────────────────────────── */

.sidebar > div,
.sidebar .block {
  background: var(--g-surface) !important;
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius);
  padding: 14px !important;
  margin: 0 0 14px !important;
}

.sidebar .headline {
  background: none !important;
  border: 0 !important;
  padding: 0 0 10px !important;
  margin: 0 0 10px !important;
  border-bottom: 1px solid var(--g-border) !important;
  min-height: 0;
}

.sidebar .headline h2,
.sidebar .headline h3,
.sidebar h3 {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--g-text);
  background: none !important;
  border: 0 !important;
  line-height: 1.2;
}
.sidebar .headline h2 a,
.sidebar .headline h3 a {
  color: var(--g-text) !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none !important;
  padding: 0 !important;
}
.sidebar .headline h2 a::before,
.sidebar .headline h3 a::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 14px;
  background: var(--g-accent);
  border-radius: 2px;
}
/* Kill theme's icon background + left padding on headline links.
   The anchor itself carries .icon .icon-model, so we can't `display: none` it —
   we'd hide the title. Strip the icon visuals only. */
.sidebar .headline h2 a.icon,
.sidebar .headline h3 a.icon,
.sidebar .headline h2 a[class*="icon-"],
.sidebar .headline h3 a[class*="icon-"] {
  background: none !important;
  padding-left: 0 !important;
}
.sidebar .headline h2 a > .icon,
.sidebar .headline h3 a > .icon {
  display: none !important;
}

.sidebar ul.list,
.sidebar > div > ul,
.sidebar .block ul {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}

.sidebar ul.list li,
.sidebar > div > ul li,
.sidebar .block ul li {
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
}

.sidebar ul.list li a,
.sidebar > div > ul li a,
.sidebar .block ul li a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px !important;
  color: var(--g-text-dim) !important;
  font-size: 13px;
  text-decoration: none !important;
  border-radius: var(--g-radius-sm);
  background: none !important;
  transition: background .12s, color .12s;
  line-height: 1.3;
}
.sidebar ul.list li a:hover,
.sidebar > div > ul li a:hover,
.sidebar .block ul li a:hover {
  background: var(--g-surface-2) !important;
  color: var(--g-text) !important;
}

.sidebar ul.list li a .rating,
.sidebar > div > ul li a .rating {
  background: transparent !important;
  color: var(--g-muted) !important;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px !important;
  border: 1px solid var(--g-border);
  border-radius: 999px;
  margin: 0 !important;
  min-width: 0 !important;
  line-height: 1.3;
  height: auto !important;
}

/* Partners block — pill chips */
.sidebar .sidebar-partners h3 {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--g-text-dim);
  margin-bottom: 10px;
}
.sidebar .sidebar-partners ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sidebar .sidebar-partners ul li {
  padding: 0;
}
.sidebar .sidebar-partners ul li a {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.5) !important;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  text-decoration: none;
  transition: color .18s, background .18s, border-color .18s;
  white-space: nowrap;
}
.sidebar .sidebar-partners ul li a:hover {
  color: #fff !important;
  background: rgba(128, 182, 39,.15);
  border-color: rgba(128, 182, 39,.45);
}

/* ── Tags cloud ──────────────────────────────────────────────────────────── */

.tags-cloud {
  background: var(--g-surface) !important;
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius);
  padding: 16px !important;
  margin: 20px 0 !important;
  line-height: 1.9;
  text-align: left;
}
.tags-cloud a {
  display: inline-block;
  padding: 3px 10px;
  margin: 3px 2px !important;
  background: var(--g-surface-2);
  border: 1px solid var(--g-border);
  border-radius: 999px;
  color: var(--g-text-dim) !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transition: border-color .12s, color .12s, background .12s;
}
.tags-cloud a:hover {
  color: var(--g-text) !important;
  border-color: var(--g-border-hover);
  background: var(--g-bg);
}
.tags-cloud a.all {
  background: var(--g-accent);
  border-color: var(--g-accent);
  color: #fff !important;
  font-weight: 600 !important;
}
.tags-cloud a.all:hover {
  background: var(--g-accent-2);
  border-color: var(--g-accent-2);
}

/* ── SEO text block ─────────────────────────────────────────────────────── */

.container > .content > p.text {
  color: var(--g-text-dim);
  font-size: 13px;
  line-height: 1.65;
  padding: 16px;
  background: var(--g-surface);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius);
  margin: 20px 0 0 !important;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.footer {
  background: #07070a !important;
  border-top: 1px solid var(--g-border);
  padding: 28px 16px !important;
  margin-top: 30px;
}
.footer .footer-wrap {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  background: none !important;
  padding: 0 !important;
}
.footer .footer-wrap .nav {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0 0 16px !important;
  padding: 0 !important;
}
.footer .footer-wrap .nav li {
  padding: 0 14px;
  border-left: 1px solid var(--g-border);
  line-height: 1;
  margin: 4px 0 !important;
  background: none !important;
}
.footer .footer-wrap .nav li:first-child {
  border-left: 0;
}
.footer .footer-wrap .nav a {
  color: var(--g-text-dim) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 500;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transition: color .12s;
}
.footer .footer-wrap .nav a:hover {
  color: var(--g-accent-2) !important;
}
.footer .copyright {
  color: var(--g-muted);
  font-size: 12px;
  margin: 0 0 8px !important;
  padding: 0 !important;
  line-height: 1.5;
}
.footer .copyright a {
  color: var(--g-text-dim) !important;
  text-decoration: none !important;
  font-weight: 600;
}
.footer .copyright a:hover {
  color: var(--g-accent-2) !important;
}
.footer .txt {
  color: var(--g-muted);
  font-size: 11px;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 !important;
}

/* ── Generic headings inside main-container (news / community / etc.) ───── */

.main-container h1,
.main-container h2 {
  color: var(--g-text);
}
.main-container a {
  color: var(--g-text);
}

/* ── Mobile chrome ──────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .container .header .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px;
  }
  .container .header .logo img {
    max-height: 38px;
  }
  .container .header .search {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .container > .content > .main-content {
    flex-direction: column;
  }
  .container > .content > .main-content > .sidebar,
  .container > .content > .main-content > .member-menu {
    flex: 1 1 auto;
    max-width: 100%;
    width: 100%;
  }
  .container > .content {
    padding: 12px;
  }

  /* Hamburger */
  .container nav .navigation {
    flex-wrap: wrap;
    padding: 0 12px;
  }
  .container nav .navigation .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 4px 0;
    background: transparent;
    border: 1px solid var(--g-border);
    border-radius: var(--g-radius-sm);
    cursor: pointer;
  }
  .container nav .navigation .button .icon {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    width: 18px;
  }
  .container nav .navigation .button .ico-bar {
    display: block;
    height: 2px;
    background: var(--g-text);
    border-radius: 2px;
  }
  .container nav .navigation ul.primary {
    flex: 1 1 100%;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    border-top: 1px solid var(--g-border);
    margin-top: 4px;
  }
  .container nav .navigation.open ul.primary,
  .container nav .navigation.active ul.primary,
  .container nav .navigation.show ul.primary {
    display: flex;
  }
  .container nav .navigation ul.primary > li {
    width: 100%;
  }
  .container nav .navigation ul.primary > li > a {
    display: block;
    height: auto;
    line-height: 1.4;
    padding: 12px 12px;
  }
  .container nav .navigation ul.primary > li.selected > a::after {
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    width: 3px;
    height: auto;
    border-radius: 0 2px 2px 0;
  }
  .container nav .navigation ul.primary > li.highlight > a {
    margin: 8px 12px;
    display: inline-block;
  }
  .container nav .navigation ul.secondary {
    margin-left: auto;
  }

  .top-links .center-hold {
    flex-wrap: wrap;
    padding: 6px 12px;
    gap: 6px;
  }
  .top-links .network,
  .top-links .member-links {
    width: 100%;
  }
}

/* ── Subscriptions grid ─────────────────────────────────────────────────── */
.list-subscriptions .margin-fix:not(:has(> form)),
.list-subscriptions .margin-fix > form {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--g-gap);
  margin: 0;
}
.list-subscriptions .margin-fix > form > .generic-error,
.list-subscriptions .margin-fix > form > .bottom,
.list-subscriptions .margin-fix > form > .success,
.list-subscriptions .margin-fix > form > .empty-content,
.list-subscriptions .margin-fix > .empty-content {
  grid-column: 1 / -1;
}
.list-subscriptions .item {
  position: relative;
  background: var(--g-surface);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius);
  overflow: hidden;
  transition: border-color .15s ease, transform .15s ease;
}
.list-subscriptions .item:hover { border-color: var(--g-accent); }
.list-subscriptions .item .sub-card {
  display: block;
  color: var(--g-text);
  text-decoration: none;
}
.list-subscriptions .item .img {
  position: relative;
  padding-bottom: 100%;
  background: var(--g-bg);
  overflow: hidden;
}
.list-subscriptions .item .img .thumb {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  object-fit: cover;
  display: block;
}
/* Member avatar placeholder — first-letter avatar instead of the generic silhouette icon */
.member-menu .block-main .avatar .letter-avatar,
.list-members .item .img .letter-avatar {
  background: linear-gradient(135deg, var(--g-accent), var(--g-accent-2)) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1 !important;
}
.member-menu .block-main .avatar .letter-avatar {
  font-size: 4rem !important;
}
.list-members .item .img .letter-avatar {
  font-size: 3.2rem !important;
}
.list-subscriptions .item .img .no-thumb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 700;
  color: var(--g-text-dim);
  background: var(--g-bg);
  text-transform: uppercase;
}
.list-subscriptions .item .title {
  display: block;
  padding: 10px 12px 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--g-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.list-subscriptions .item .kind {
  padding: 0 12px 10px;
  font-size: 11px;
  color: var(--g-text-dim);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.list-subscriptions .item .item-control {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  opacity: 0;
  transition: opacity .15s ease;
}
.list-subscriptions .item:hover .item-control { opacity: 1; }
.list-subscriptions .item .item-control-holder {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, .6);
  padding: 4px;
  border-radius: 4px;
}
.list-subscriptions .item .toggle-button {
  font-size: 11px;
  color: #fff;
  cursor: pointer;
  padding: 2px 6px;
  background: rgba(255, 255, 255, .12);
  border-radius: 3px;
}
.list-subscriptions .item .toggle-button:hover { background: var(--g-accent); }

/* ── Verified creator badge ──────────────────────────────────────────────── */
.creator-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--g-accent);
  color: #fff;
  padding: 3px 8px 3px 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  line-height: 1;
  vertical-align: middle;
  margin-left: 8px;
}
.creator-verified svg { flex: 0 0 12px; }
.creator-verified-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--g-accent);
  vertical-align: middle;
  margin-left: 4px;
}
.creator-verified-icon svg { display: block; }

/* ── Creator apply form ──────────────────────────────────────────────────── */
.creator-apply-form {
  max-width: 760px;
  margin: 0 auto;
}
.creator-apply-form .field-block {
  margin: 0 0 16px;
}
.creator-apply-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.creator-apply-form .field-label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: var(--g-text);
  margin: 0 0 6px;
}
.creator-apply-form input[type=text],
.creator-apply-form input[type=url],
.creator-apply-form input[type=email],
.creator-apply-form input[type=file],
.creator-apply-form textarea {
  width: 100%;
  background: var(--g-bg);
  border: 1px solid var(--g-border);
  color: var(--g-text);
  border-radius: var(--g-radius-sm);
  padding: 10px 12px;
  font: inherit;
}
.creator-apply-form textarea { resize: vertical; min-height: 110px; }
.creator-apply-form .verify-instructions {
  background: var(--g-surface);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-sm);
  padding: 14px 16px;
  margin: 18px 0;
}
.creator-apply-form .verify-instructions h3 {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--g-text);
}
.creator-apply-form .verify-instructions ol {
  padding-left: 20px;
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--g-text-dim);
  line-height: 1.5;
}
.creator-apply-form .handwritten-prompt {
  background: var(--g-bg);
  border: 1px dashed var(--g-accent);
  padding: 10px 12px;
  border-radius: var(--g-radius-sm);
  font-family: 'Courier New', monospace;
  color: var(--g-accent);
  font-weight: 700;
}
.creator-apply-form .form-submit { margin-top: 8px; }
.creator-apply-form .button-primary {
  background: var(--g-accent);
  color: #fff;
  border: 0;
  padding: 12px 22px;
  border-radius: var(--g-radius-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  cursor: pointer;
}
.creator-apply-form .button-primary:hover { background: var(--g-accent-2); }

@media (max-width: 640px) {
  .creator-apply-form .field-row { grid-template-columns: 1fr; }
}

/* ── Creator public profile block ────────────────────────────────────────── */
.creator-profile-block {
  background: var(--g-surface);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius);
  padding: 0;
  margin: 0 0 16px;
  overflow: hidden;
}
.creator-profile-block .cpb-banner {
  display: block;
  width: 100%;
  line-height: 0;
}
.creator-profile-block .cpb-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 280px;
}
.creator-profile-block .cpb-bio {
  padding: 14px 16px;
  color: var(--g-text);
  font-size: 14px;
  line-height: 1.5;
}
.creator-profile-block .cpb-links {
  list-style: none;
  padding: 10px 16px 16px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.creator-profile-block .cpb-links li a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  background: var(--g-bg);
  color: var(--g-text);
  border: 1px solid var(--g-border);
}
.creator-profile-block .cpb-links li.cpb-of a {
  background: var(--g-accent);
  color: #fff;
  border-color: var(--g-accent);
}
.creator-profile-block .cpb-links li a:hover { filter: brightness(1.1); }

/* ── Creator dashboard ──────────────────────────────────────────────────── */
.creator-dashboard .cd-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}
.creator-dashboard .cd-stat {
  background: var(--g-surface);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius);
  padding: 14px 16px;
  text-align: center;
}
.creator-dashboard .cd-stat .n {
  font-size: 22px;
  font-weight: 700;
  color: var(--g-text);
}
.creator-dashboard .cd-stat .l {
  font-size: 12px;
  color: var(--g-text-dim);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.creator-dashboard .cd-section {
  background: var(--g-surface);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius);
  padding: 16px;
  margin: 0 0 16px;
}
.creator-dashboard .cd-section h2 {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--g-text);
}
.creator-dashboard .cd-referral {
  display: flex;
  align-items: center;
  gap: 10px;
}
.creator-dashboard .cd-referral code {
  background: var(--g-bg);
  border: 1px dashed var(--g-accent);
  padding: 10px 14px;
  font-size: 16px;
  letter-spacing: 2px;
  font-family: 'Courier New', monospace;
  color: var(--g-accent);
  border-radius: var(--g-radius-sm);
}
.creator-dashboard .cd-hint {
  color: var(--g-text-dim);
  font-size: 12px;
  margin: 8px 0 0;
}
.creator-dashboard .cd-btn {
  background: var(--g-accent);
  color: #fff;
  border: 0;
  padding: 9px 16px;
  border-radius: var(--g-radius-sm);
  font-weight: 600;
  cursor: pointer;
}
.creator-dashboard .cd-btn:hover { background: var(--g-accent-2); }
.creator-dashboard .cd-btn-sec {
  background: var(--g-bg);
  color: var(--g-text);
  border: 1px solid var(--g-border);
}
.creator-dashboard .cd-btn-danger { background: #a01424; }
.creator-dashboard .cd-banner-preview {
  border-radius: var(--g-radius-sm);
  overflow: hidden;
  max-width: 600px;
  margin: 0 0 10px;
}
.creator-dashboard .cd-banner-preview img { display: block; width: 100%; }
.creator-dashboard .cd-form .cd-field { margin: 0 0 12px; }
.creator-dashboard .cd-form .cd-field label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin: 0 0 4px;
  color: var(--g-text);
}
.creator-dashboard .cd-form input,
.creator-dashboard .cd-form textarea {
  width: 100%;
  background: var(--g-bg);
  border: 1px solid var(--g-border);
  color: var(--g-text);
  padding: 9px 12px;
  border-radius: var(--g-radius-sm);
  font: inherit;
}
.creator-dashboard .cd-form .cd-field-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 640px) {
  .creator-dashboard .cd-form .cd-field-row { grid-template-columns: 1fr; }
}
.creator-dashboard .cd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.creator-dashboard .cd-table th,
.creator-dashboard .cd-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--g-border);
  text-align: left;
}
.creator-dashboard .cd-table th {
  font-weight: 700;
  color: var(--g-text-dim);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .5px;
}

/* ── Section heading accent bar ───────────────────────────────────────── */
.headline h1,
.headline h2 {
  border-left: 3px solid var(--g-accent, #80b627);
  padding-left: 10px;
}

/* ── Footer redesign ─────────────────────────────────────────────────────── */
.footer .footer-new{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px;padding:32px 0;border-top:1px solid var(--g-border)}
.footer .footer-logo{margin-bottom:12px}.footer .footer-logo img{height:32px;width:auto;opacity:.85}
.footer .footer-brand-desc{font-size:13px;color:var(--g-muted);line-height:1.6;margin:0 0 12px;max-width:300px}
.footer .footer-copy{font-size:12px;color:rgba(255,255,255,.25)}.footer .footer-copy a{color:rgba(255,255,255,.4);text-decoration:none}.footer .footer-copy a:hover{color:var(--g-accent)}
.footer .footer-col-title{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.3);margin:0 0 12px;padding-bottom:8px;border-bottom:1px solid var(--g-border)}
.footer .footer-links{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:7px}
.footer .footer-links a,.footer .footer-links span{font-size:13px;color:rgba(255,255,255,.45);text-decoration:none;transition:color .18s;cursor:pointer;display:block}
.footer .footer-links a:hover,.footer .footer-links span:hover{color:var(--g-accent)}
@media(max-width:768px){.footer .footer-new{grid-template-columns:1fr 1fr;gap:24px}.footer .footer-brand{grid-column:1/-1}}
@media(max-width:480px){.footer .footer-new{grid-template-columns:1fr}}


/* =============================================================================
   PHASE 1 — logo-derived palette + above-the-fold pass
   Applied 2026-08-13. Accent taken from contents2/eltokfzpplsz/theme/logo.png
   (#80b627 green, #e0e0e0 grey). Everything below is additive and can be
   deleted wholesale to revert the layout half of this change.
   ============================================================================= */

:root { --g-on-accent: #0b0b0e; }

/* 1. Labels sitting on a green fill must be near-black, not white.
      Green on near-black is 7.9:1; white on green is 1.9:1. */
/* Resolution badge (HD / 2K / 4K) */ .list-videos .item .is-hd,
.list-videos .item .ico-private, .list-videos .item .ico-premium,
.list-videos .item .ico-premium,
.pagination-block .page-current, .pagination-block .current,
.list-albums .item .ico-private,
/* ============================================================================ PHASE 2.2 (cont.) — SINGLE CREATOR / CHANNEL PROFILE HEADER Applies to /models/<slug>/, /channels/<slug>/, /sponsors/<slug>/ pages. ============================================================================ */ /* Subscribe CTA + subscriber-count chip in the headline */ .main-container .headline .button,
.main-container .headline .button:hover,
.main-container .block-channel .img .channel-user:hover,
.container .header .search .search-button:hover,
.container nav .navigation ul.primary > li.selected > a#item1::after,
.container nav .navigation ul.primary > li.selected > a::after,
/* Upload CTA */ .container nav .navigation ul.primary > li.highlight > a,
.container nav .navigation ul.primary > li.highlight > a:hover,
.sidebar .headline h2 a::before, .sidebar .headline h3 a::before,
.tags-cloud a.all,
.tags-cloud a.all:hover,
/* Member avatar placeholder — first-letter avatar instead of the generic silhouette icon */ .member-menu .block-main .avatar .letter-avatar, .list-members .item .img .letter-avatar,
.list-subscriptions .item .toggle-button:hover,
/* ── Verified creator badge ──────────────────────────────────────────────── */ .creator-verified,
.creator-apply-form .button-primary,
.creator-apply-form .button-primary:hover,
.creator-profile-block .cpb-links li.cpb-of a,
.creator-dashboard .cd-btn,
.creator-dashboard .cd-btn:hover {
  color: var(--g-on-accent) !important;
}

/* 2. Search button: the stock white magnifier would sit at 2.4:1 on green, and
      the shipped search.svg is an Adobe export whose alpha channel masks to
      nothing. Drawn inline instead, in near-black, so it depends on no asset. */
.container .header .search .search-button {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0b0e' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 18px 18px !important;
  background-color: var(--g-accent) !important;
}

/* 3. Policy notice: one line instead of a 170px wall. The dismiss button and
      its localStorage flag are untouched. */
#policy-notice {
  padding: 7px 14px !important;
  font-size: 12px !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
  text-align: left !important;
}
#policy-notice > span:nth-of-type(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

/* 4. Hero: gone on mobile, gone for signed-in members (the signed-in variant
      renders .hero-welcome), green glow for signed-out desktop. */
.hero-banner:has(.hero-welcome) { display: none !important; }
@media (max-width: 900px) {
  .hero-banner { display: none !important; }
}
.hero-banner {
  background: linear-gradient(180deg, #09090c 0%, #0d1207 55%, var(--g-surface, #15151a) 100%) !important;
}
.hero-glow {
  background: radial-gradient(ellipse at 50% 10%, rgba(128, 182, 39, .16) 0%, transparent 68%) !important;
}

/* 5. Quality tier badges. HD/2K/4K were accent-pink, purple and orange —
      three hues competing with the accent across every grid. They now share one
      neutral chip and are told apart by their label, which is what they carry
      anyway. Restore the three backgrounds here to go back to colour-coding. */
.list-videos .item .is-hd,
.list-videos .item .is-hd.is-2k,
.list-videos .item .is-hd.is-4k {
  background: rgba(11, 11, 14, .82) !important;
  color: #e0e0e0 !important;
  border: 1px solid rgba(224, 224, 224, .22);
  backdrop-filter: blur(4px);
}

/* 6. Utility bar: one row on phones. */
@media (max-width: 900px) {
  .top-links { font-size: 11.5px; }
  .top-links .center-hold { padding: 0 10px; min-height: 30px; }
  .top-links .network strong { display: none; }
  .top-links .network ul,
  .top-links .member-links ul { flex-wrap: nowrap; }
  .top-links .network li,
  .top-links .member-links li { padding: 0 7px; }
}

/* ---------------------------------------------------------------------------
   PHASE 2 — nav icons, "Mais" overflow, mobile bottom tab bar
   --------------------------------------------------------------------------- */

/* Inline SVG icons in nav links (replaced the emoji). */
.nav-ico {
  width: 16px; height: 16px;
  vertical-align: -3px; margin-right: 7px;
  flex: 0 0 auto; opacity: .85;
}

/* "Mais" overflow: a dropdown on desktop. */
.container nav .navigation ul.primary > li.nav-more { position: relative; }
.nav-more-toggle .nav-ico { width: 13px; height: 13px; margin: 0 0 0 5px; }
.nav-more-menu {
  list-style: none; margin: 0; padding: 6px;
  /* KVS ships its own nested-nav positioning, hence the overrides */
  position: absolute !important;
  left: auto !important; right: 0 !important;
  top: 100%; min-width: 194px;
  background: var(--g-surface-2); border: 1px solid var(--g-border);
  border-radius: 10px; box-shadow: 0 14px 34px rgba(0, 0, 0, .55);
  display: none; z-index: 1200;
}
/* KVS's stock nested-nav styles hide dropdowns with visibility+opacity and pin
   z-index to 10, so reveal has to answer all three. */
.nav-more:hover .nav-more-menu,
.nav-more:focus-within .nav-more-menu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 1200 !important;
}
.nav-more-menu > li > a {
  display: flex; align-items: center; justify-content: flex-start;
  padding: 9px 10px; border-radius: 7px;
  color: var(--g-text-dim); text-decoration: none;
  font-size: 13.5px; white-space: nowrap;
  text-transform: none; text-align: left; letter-spacing: 0;
}
.nav-more-menu > li > a:hover {
  background: rgba(128, 182, 39, .12);
  color: var(--g-accent);
}

/* On phones the hamburger already lists everything, so the overflow opens out
   inline and nothing becomes unreachable. */
@media (max-width: 900px) {
  .nav-more-toggle { display: none !important; }
  .nav-more-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important; min-width: 0;
    padding: 0; border: 0; background: none; box-shadow: none;
  }
}

/* Bottom tab bar. Replaces the floating upload FAB, which covered the
   bottom-right card on every scroll position. */
.m-tabbar { display: none; }
@media (max-width: 768px) {
  body:not(.nav-open) .m-tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 7000;
    background: rgba(11, 11, 14, .93);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--g-border);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .m-tab {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 4px;
    min-height: 58px; text-decoration: none;
    color: var(--g-muted);
    font: 600 11px/1 system-ui, sans-serif;
  }
  .m-tab .nav-ico { width: 21px; height: 21px; margin: 0; opacity: 1; }
  .m-tab.on { color: var(--g-accent); }
  .m-tab:active { opacity: .65; }
  .m-tab--send { position: relative; justify-content: flex-end; padding-bottom: 9px; }
  .m-tab--send .m-tab-fab {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--g-accent); color: var(--g-on-accent);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(128, 182, 39, .42);
  }
  .m-tab--send .m-tab-fab .nav-ico { width: 26px; height: 26px; }
  /* clear the bar so the last row of cards is never hidden behind it */
  body { padding-bottom: 62px; }
  /* the old FAB is gone from the markup; make sure no rule resurrects it */
  .m-fab { display: none !important; }
  /* chips: label on a green fill must be near-black too */
  .m-chips a.on, .m-chips a.up { color: var(--g-on-accent) !important; }
}

/* ---------------------------------------------------------------------------
   PHASE 3 — follow button on the watch page, card hover actions
   The button is an anchor and the icon carries width/height attributes, so it
   degrades to a plain readable link if this stylesheet is ever stale.
   --------------------------------------------------------------------------- */

.vv-uploader__follow.is-follow {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 999px;
  background: var(--g-accent); color: var(--g-on-accent);
  border: 1px solid var(--g-accent);
  font: 700 13.5px/1 system-ui, sans-serif;
  text-decoration: none; cursor: pointer;
  transition: filter .15s, background .15s, color .15s, border-color .15s;
}
.vv-uploader__follow.is-follow:hover { filter: brightness(1.08); }
.vv-uploader__follow.is-follow .vv-follow-ico { width: 15px; height: 15px; flex: 0 0 auto; }

/* followed state — set by the page script, and by KVS's own .done class */
.vv-uploader__follow.is-follow.following,
.vv-uploader__follow.is-follow.done {
  background: transparent;
  color: var(--g-text-dim);
  border-color: var(--g-border-hover);
}

.vv-uploader__profile {
  display: inline-flex; align-items: center;
  margin-left: 8px; padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--g-border); color: var(--g-text-dim);
  font: 600 13px/1 system-ui, sans-serif; text-decoration: none;
  transition: border-color .15s, color .15s;
}
.vv-uploader__profile:hover { border-color: var(--g-border-hover); color: var(--g-text); }

/* On narrow screens the row cannot carry two CTAs plus the VIP/level chips —
   they collide and wrap. The creator name above is already a profile link, so
   the secondary is dropped there and "Seguir" keeps the row. */
@media (max-width: 600px) {
  .vv-uploader__profile { display: none !important; }
  .vv-uploader__follow.is-follow { white-space: nowrap; padding: 9px 16px; }
}

/* The site-wide VIP/level script tags every /members/<id>/ link, and this row
   has two of them — so the chips rendered twice. The pair belonging to the
   profile link is suppressed; the pair beside the creator name stays. */
.vv-uploader__profile ~ .vip-badge,
.vv-uploader__profile ~ [class*="lvl-chip"] { display: none !important; }

/* Card hover: lift, and reveal the favourite controls KVS already renders. */
@media (hover: hover) and (min-width: 901px) {
  .list-videos .item {
    transition: transform .18s cubic-bezier(.22, 1, .36, 1), box-shadow .18s;
  }
  .list-videos .item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .5);
  }
  .list-videos .item .img [class*="ico-fav-"] {
    opacity: 0;
    transition: opacity .15s;
  }
  .list-videos .item:hover .img [class*="ico-fav-"],
  .list-videos .item .img [class*="ico-fav-"].fixed {
    opacity: 1;
  }
}

/* 7. Header: logo and search share one row on phones instead of stacking. */
@media (max-width: 900px) {
  .container .header .header-inner {
    flex-wrap: nowrap !important;
    gap: 10px !important;
    padding: 8px 12px !important;
  }
  .container .header .logo img { max-height: 30px !important; }
  .container .header .search {
    flex: 1 1 auto !important;
    max-width: none !important;
    min-width: 0;
  }
}
