
#ypn-mobile-menu {
  --gold: #ffca16;
  --ink: #f6f3eb;
  --muted: #bfbab0;
  --line: #ffffff1a;
  box-sizing: border-box;
  color-scheme: dark;
  font: 16px/1.5 Montserrat, system-ui, sans-serif;
  width: 100%;
  margin: 0;
  z-index: 100000;
}
#ypn-mobile-menu *, #ypn-mobile-menu *::before, #ypn-mobile-menu *::after { box-sizing: border-box; }
#ypn-mobile-menu button, #ypn-mobile-menu input { font-family: inherit; }
#ypn-mobile-menu button { min-height: 44px; text-transform: none; }
#ypn-mobile-menu :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
body:has(#ypn-mobile-menu[open]) { overflow: hidden; }
#ypn-mobile-menu .bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: max(12px, env(safe-area-inset-top)) 19px 12px 24px; min-height: 70px; background: #171719; }
#ypn-mobile-menu .bar > a { flex: none; }
#ypn-mobile-menu .logo { width: 106px; height: auto; display: block; }
#ypn-mobile-menu .tools { display: flex; gap: 4px; }
#ypn-mobile-menu .icon { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
#ypn-mobile-menu .close { position: relative; width: 20px; height: 20px; }
#ypn-mobile-menu .close::before, #ypn-mobile-menu .close::after { content: ""; position: absolute; top: 9px; left: 0; width: 20px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
#ypn-mobile-menu .close::after { transform: rotate(-45deg); }
#ypn-mobile-menu .search { display: block; width: 16px; height: 16px; border: 1.6px solid currentColor; border-radius: 50%; position: relative; }
#ypn-mobile-menu .search::after { content: ""; height: 1.6px; width: 7px; background: currentColor; position: absolute; bottom: -3px; right: -5px; transform: rotate(45deg); }
#ypn-mobile-menu { position: fixed; inset: 0; height: 100dvh; max-width: none; max-height: none; border: 0; padding: 0; color: var(--ink); background: linear-gradient(155deg, #211d13, #171717 46%); overflow: hidden; }
#ypn-mobile-menu[open] { display: flex; flex-direction: column; animation: ypn-mobile-menu-in 240ms cubic-bezier(.2,.72,.27,1) both; }
#ypn-mobile-menu::backdrop { background: #080808d6; }
@keyframes ypn-mobile-menu-in { from { transform: translateX(22px); opacity: .4; } to { transform: none; opacity: 1; } }
#ypn-mobile-menu .bar { flex: none; border-bottom: 1px solid #ffca1640; }
#ypn-mobile-menu .rows { overflow: auto; overscroll-behavior: contain; flex: 1; min-height: 0; padding: 10px 24px 12px; }
#ypn-mobile-menu .rows ul { padding: 0; margin: 0; list-style: none; }
#ypn-mobile-menu .rows > ul > li { border-bottom: 1px solid var(--line); }
#ypn-mobile-menu .row { display: flex; min-height: 48px; align-items: stretch; }
#ypn-mobile-menu .row a, #ypn-mobile-menu .row > button { color: var(--ink); }
#ypn-mobile-menu .row a { display: flex; flex: 1; align-items: center; min-height: 44px; text-decoration: none; font-size: .79rem; font-weight: 600; letter-spacing: .04em; }
#ypn-mobile-menu .row a[aria-current="page"] { color: var(--gold); }
#ypn-mobile-menu .row a[aria-current="page"]::before { content: ""; width: 14px; height: 1px; margin-inline-end: 10px; background: currentColor; }
#ypn-mobile-menu .row a.library { color: var(--gold); }
#ypn-mobile-menu .row a.library span { margin-inline-start: auto; font-size: 16px; padding-inline-end: 12px; }
#ypn-mobile-menu .row .disclosure { min-width: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
#ypn-mobile-menu .row .footage-label { display: flex; align-items: center; justify-content: space-between; flex: 1; border: 0; padding: 0 18px 0 0; background: transparent; font-size: .79rem; font-weight: 600; letter-spacing: .04em; cursor: pointer; }
#ypn-mobile-menu :is(.disclosure, .footage-label)::after { content: ""; width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); transition: transform 180ms; }
#ypn-mobile-menu :is(.disclosure, .footage-label)[aria-expanded="true"] { color: var(--gold); }
#ypn-mobile-menu :is(.disclosure, .footage-label)[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
#ypn-mobile-menu .rows .sub { border-left: 1px solid #ffca1648; margin: 0 0 8px 3px; padding-inline-start: 13px; }
#ypn-mobile-menu .submenu-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 240ms cubic-bezier(.2,.72,.27,1), opacity 180ms ease;
}
#ypn-mobile-menu .submenu-panel[data-expanded="true"] { grid-template-rows: 1fr; opacity: 1; }
#ypn-mobile-menu .submenu-clip { min-height: 0; overflow: hidden; }
#ypn-mobile-menu .sub a { display: flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .8rem; text-decoration: none; }
#ypn-mobile-menu .sub a:is(:active, :focus-visible, [aria-current="page"], .is-selected) { color: var(--gold); }
#ypn-mobile-menu .actions { padding: 12px 24px max(11px, env(safe-area-inset-bottom)); background: #181817; border-top: 1px solid var(--line); }
#ypn-mobile-menu .actions a { min-height: 44px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: .82rem; font-weight: 700; }
#ypn-mobile-menu .quote { padding: 0 14px; background: var(--gold); color: #18150a; }
#ypn-mobile-menu .quote span { margin-inline-start: 12px; }
#ypn-mobile-menu .track { color: var(--gold); }
#ypn-mobile-menu .search-box { padding: 12px 24px 0; }
#ypn-mobile-menu .search-box input { width: 100%; min-height: 44px; padding: 0 11px; border: 1px solid #ffca1670; background: #101011; color: var(--ink); border-radius: 0; font-size: .9rem; }
#ypn-mobile-menu [hidden] { display: none !important; }
#ypn-mobile-menu[open] .rows > ul > li { animation: ypn-mobile-row-in 240ms ease both; animation-delay: calc(var(--row, 0) * 25ms); }
@keyframes ypn-mobile-row-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
#ypn-mobile-menu[open], #ypn-mobile-menu[open] .rows > ul > li { animation: none; }
#ypn-mobile-menu :is(.disclosure, .footage-label)::after { transition: none; }
#ypn-mobile-menu .submenu-panel { transition: none; }
}
