/* nimfetki skin — loaded after spree's style.css. Recolours it with legacy
   nimfetki's bulmaswatch "slate" palette and adds the fixed navbar, the
   cards and the footer of templates/nimfetki.name. */
:root {
  --bg: #272b30;
  --surface: #32383e;
  --text: #c8c8c8;
  --muted: #8e959b;
  --accent: #ee5f5b;  /* slate's danger red: errors, down votes, current page */
  --radius: 4px;
  --nf-bar: #3a3f44;
  --nf-bar-hover: #52575c;
  --nf-link: #fafafa;
}

body.skin-nimfetki { padding-top: 4rem; }
.skin-nimfetki a:hover { color: var(--nf-link); }
.skin-nimfetki h1, .skin-nimfetki h2, .skin-nimfetki h3 { color: var(--nf-link); }
.skin-nimfetki .wrap { max-width: 1400px; padding: 0 12px; }

/* Navbar: fixed on top (static on phones), legacy .navbar + #navbartop */
.nf-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  min-height: 4rem;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: var(--nf-bar);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
  font-size: 1.1rem;
}
.nf-brand { display: flex; align-items: center; }
.nf-logo { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 0; color: var(--nf-link); font-weight: 700; font-size: 1.3rem; }
.nf-logo img { width: 40px; height: 40px; }
.nf-menu { display: flex; align-items: center; gap: 4px; flex: 1; }
.nf-item, .nf-navbar .menu summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: rgba(250, 250, 250, .75);
  font-weight: 400;
}
.nf-item:hover, .nf-navbar .menu summary:hover, .nf-navbar .menu[open] summary { background: var(--nf-bar-hover); color: var(--nf-link); }
.nf-navbar .menu summary::after { color: rgba(250, 250, 250, .5); }
.nf-navbar .menu-items { background: var(--nf-bar); border-color: var(--nf-bar-hover); font-size: .95rem; }
.nf-navbar .menu-items a:hover, .nf-navbar .menu-items .link-button:hover { background: var(--nf-bar-hover); }
.nf-navbar .menu-items .icon { color: var(--muted); }
.nf-navbar .menu-columns { grid-template-columns: repeat(2, minmax(180px, 1fr)); }

.nf-search { margin-left: auto; flex: 0 1 380px; position: relative; gap: 6px; }
.nf-search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.nf-search input[type=search] { padding-left: 34px; background: #fff; color: #222; border: 0; border-radius: var(--radius); }
.nf-search button {
  background: #202328;
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  padding: 0 16px;
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
}
.nf-search button:hover { background: #111; }

.nf-burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.nf-burger span { position: absolute; left: 12px; width: 20px; height: 2px; background: var(--nf-link); transition: transform .15s, opacity .15s; }
.nf-burger span:nth-child(1) { top: 15px; }
.nf-burger span:nth-child(2) { top: 21px; }
.nf-burger span:nth-child(3) { top: 27px; }
.nf-burger.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nf-burger.is-active span:nth-child(2) { opacity: 0; }
.nf-burger.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
  body.skin-nimfetki { padding-top: 0; }
  .nf-navbar { position: relative; flex-direction: column; align-items: stretch; padding: 0; }
  .nf-brand { padding: 0 12px; min-height: 3.5rem; }
  .nf-burger { display: block; }
  .nf-menu { display: none; flex-direction: column; align-items: stretch; padding: 8px 12px 12px; }
  .nf-menu.is-active { display: flex; }
  .nf-navbar .menu-items { position: static; box-shadow: none; margin: 2px 0 6px; min-width: 0; }
  .nf-navbar .menu-columns { grid-template-columns: 1fr 1fr; min-width: 0; }
  .nf-search { margin: 8px 0 0; flex: none; }
}

/* Home */
.nf-lead { text-align: center; font-size: 1.5rem; font-weight: 600; margin: 8px 0 24px; }
.nf-lead a, .section-title a { color: var(--nf-link); }
.section-title { display: flex; align-items: center; gap: 8px; font-size: 1.6rem; font-weight: 600; }
.nf-sections a, .nf-friends a { color: var(--nf-link); }
.nf-friends { color: var(--muted); margin-top: 32px; }

/* Cards: legacy .video-item — no box, the title under the picture, then
   rating / views / length. 5 across on wide screens. */
.skin-nimfetki .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px 16px; }
.nf-card { background: none; border-radius: 0; overflow: visible; }
.nf-card .video-thumb { border-radius: var(--radius); overflow: hidden; }
.nf-card .video-meta { padding: 8px 0 0; }
.nf-card .video-title { color: var(--nf-link); font-size: 15px; font-weight: 400; min-height: 2.8em; }
.nf-stats { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; color: var(--text); font-size: 14px; font-weight: 600; }
.nf-stats span { display: flex; align-items: center; gap: 5px; }
.nf-stats .icon { color: var(--muted); }
.nf-card .video-badge { color: #fff; background: rgba(0, 0, 0, .6); border-radius: var(--radius); padding: 2px 4px; }

/* Video page: white links, as legacy's tags */
.skin-nimfetki .video-taxonomy a { color: var(--nf-link); }

/* Likes/dislikes pushed to the right end of the controls row, so they
   line up under the player's right edge while staying on the same line
   as the other action buttons. */
.skin-nimfetki .video-controls { justify-content: space-between; }

/* Footer: legacy .footer, centred */
.nf-footer { text-align: center; border-top: 0; background: #202328; margin-top: 20px; padding: 24px 0; font-size: 14px; }
.nf-footer a { color: var(--nf-link); }
.nf-footer .footer-links { justify-content: center; }
.nf-footer img { width: 150px; height: auto; opacity: .8; }
