.yt-carousel-hint,.yt-carousel-controls{display:none}
@media(max-width:700px){
  .yt-carousel-hint{display:flex;justify-content:space-between;align-items:center;gap:14px;color:#58754a;font-size:12px;line-height:1.8;margin:0 0 13px}
  .yt-carousel-hint>span:last-child{font-size:18px;letter-spacing:5px;white-space:nowrap}
  #video-grid{position:relative;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc(100% - 24px);gap:14px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;padding-bottom:4px;align-items:start}
  #video-grid::-webkit-scrollbar{display:none}
  #video-grid .video-card{min-width:0;scroll-snap-align:start;scroll-snap-stop:always}
  .yt-carousel-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;color:#365b3d}
  .yt-carousel-arrow{display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid #9bb38a;background:#f8faf2;color:#365b3d;cursor:pointer}
  .yt-carousel-arrow svg{height:20px;width:20px}.yt-carousel-arrow:disabled{opacity:.3;cursor:default}
  .yt-carousel-arrow:not(:disabled):hover{background:#d6e9b8}
  .yt-carousel-arrow:focus-visible,.yt-carousel-dot:focus-visible{outline:2px solid #587943;outline-offset:3px}
  .yt-carousel-progress{display:flex;align-items:center;gap:10px}
  .yt-carousel-live{font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}
  .yt-carousel-dots{display:flex;align-items:center}
  .yt-carousel-dot{display:grid;place-items:center;width:28px;height:40px;padding:0;border:0;background:transparent;cursor:pointer}
  .yt-carousel-dot span{display:block;width:6px;height:6px;border-radius:10px;background:#a8bb99;transition:width .2s,background .2s}
  .yt-carousel-dot.is-active span{width:16px;background:#3d6839}
}
@media(prefers-reduced-motion:reduce){.yt-carousel-dot span{transition:none}}

@keyframes video-swipe-arrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-6px); }
}

@media (max-width: 700px) {
  html.js #video-grid > .video-card.reveal,
  html.js #shorts-grid .short-card.reveal {
    opacity: 1;
    transform: none;
  }

  #video-grid.video-swipe-cue,
  #shorts-grid.video-swipe-cue {
    scroll-snap-type: none;
  }

  .video-swipe-hint-active .yt-carousel-hint > span:last-child,
  .video-swipe-hint-active .shorts-swipe-label > svg {
    animation: video-swipe-arrow 1.25s ease-in-out;
  }
}

@keyframes video-card-enter {
  from { translate: 16px 0; }
  to { translate: 0 0; }
}

@media (min-width: 701px) {
  .video-desktop-entrance > .video-card,
  .video-desktop-entrance > .shorts-page > .short-card {
    animation: video-card-enter .65s var(--ease) both;
  }

  .video-desktop-entrance > :nth-child(2),
  .video-desktop-entrance > .shorts-page > :nth-child(2) { animation-delay: .1s; }
  .video-desktop-entrance > :nth-child(3),
  .video-desktop-entrance > .shorts-page > :nth-child(3) { animation-delay: .2s; }
}

html.motion-paused .video-desktop-entrance > *,
html.motion-paused .video-desktop-entrance > .shorts-page > *,
html.motion-paused .video-swipe-hint-active .yt-carousel-hint > span:last-child,
html.motion-paused .video-swipe-hint-active .shorts-swipe-label > svg {
  animation: none !important;
}
