/* HottestGuys — featured Shorts nav chip (v2).
   Additive. Does not restyle Top/Free (leave .navpill / .mnav__top/__free alone).
   Versioned filename so Cloudflare can cache a new file.
   v2 vs v1: desktop-only vertical alignment fix. Mobile rules are unchanged. */

.nav-shorts {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: none;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--accent-soft);
  background: var(--accent-wash);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  box-shadow: 0 0 16px rgba(0, 175, 240, .12);
  transition:
    color .16s var(--ease),
    background .16s var(--ease),
    border-color .16s var(--ease),
    box-shadow .16s var(--ease);
}

.nav-shorts__ico {
  font-size: 13px;
  line-height: 1;
  transform: translateY(.5px);
}

.nav-shorts:hover,
.nav-shorts:focus-visible {
  color: #fff;
  background: rgba(0, 175, 240, .2);
  border-color: rgba(0, 175, 240, .55);
  box-shadow: 0 0 22px rgba(0, 175, 240, .2);
}

.nav-shorts:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Desktop main nav — compact pill, vertically centered in the 66px header. */
.mainnav a.nav-shorts {
  height: 30px;
  padding: 0 11px 0 9px;
  font-size: 13.5px;
  color: var(--accent-soft);
  align-self: center;
}

.mainnav a.nav-shorts:hover,
.mainnav a.nav-shorts:focus-visible {
  color: #fff;
}

/* Mobile header chip, next to the hamburger. Keep it compact so the
   row stays on one line (brand + search + chip + menu). */
a.masthead__shorts.nav-shorts {
  display: none;
  height: 34px;
  padding: 0 11px 0 9px;
  font-size: 14px;
  color: var(--accent-soft);
}

a.masthead__shorts.nav-shorts:hover,
a.masthead__shorts.nav-shorts:focus-visible {
  color: #fff;
}

@media (max-width: 880px) {
  a.masthead__shorts.nav-shorts { display: inline-flex; }
}

@media (min-width: 881px) {
  a.masthead__shorts.nav-shorts { display: none !important; }
}

/* Open hamburger: full-width featured row, same accent wash, 10px corners
   to match the other menu items. Not a detached compact pill. */
.mnav__panel a.nav-shorts {
  display: flex;
  justify-content: flex-start;
  height: auto;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-soft);
  background: var(--accent-wash);
  border: 1px solid var(--accent-line);
  box-shadow: none;
  gap: 8px;
}

.mnav__panel a.nav-shorts .nav-shorts__ico {
  font-size: 16px;
}

.mnav__panel a.nav-shorts:hover,
.mnav__panel a.nav-shorts:focus-visible {
  color: #fff;
  background: rgba(0, 175, 240, .2);
  box-shadow: none;
}

/* ------------------------------------------------------------------ v2
   Desktop only. The v1 30px pill made .mainnav 30px tall and stretched
   the other links, so their text sat 4.25px above the Shorts label.
   Match the siblings' 13.5px × 1.6 = 21.6px line-height so every label shares one line.
   Mobile (max 880px) is intentionally untouched. */
@media (min-width: 881px) {
  .mainnav a.nav-shorts {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    box-sizing: border-box;
    /* 13.5px × inherited 1.6 = 21.6px, same used height as Browse/etc. */
    height: 1.6em;
    padding: 0 11px 0 9px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.6;
  }

  .mainnav a.nav-shorts .nav-shorts__ico {
    display: block;
    flex: none;
    font-size: 13px;
    line-height: 1;
    height: 13px;
    vertical-align: middle;
    transform: none;
  }
}
