/* AIGame56 — Nova (nv-) template #413 — left rail + scroll lanes */

:root {
  --nv-bg: #0c0a14;
  --nv-panel: #161222;
  --nv-panel2: #1e1830;
  --nv-ink: #f5f2ff;
  --nv-muted: #968fa8;
  --nv-coral: #ff6b4a;
  --nv-teal: #5eead4;
  --nv-gold: #fbbf24;
  --nv-violet: #c4b5fd;
  --nv-line: rgba(196, 181, 253, 0.14);
  --nv-glow: 0 0 22px rgba(255, 107, 74, 0.18);
  --nv-r: 14px;
  --nv-font: "Manrope", system-ui, sans-serif;
  --nv-display: "Syne", var(--nv-font);
  --nv-rail: 240px;
  --nv-max: 1180px;
  --nv-cookie-pad: 0px;
  --nv-sticky-pad: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font: 400 14px/1.55 var(--nv-font);
  color: var(--nv-ink);
  background: var(--nv-bg);
  padding-bottom: calc(var(--nv-cookie-pad) + var(--nv-sticky-pad) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
body.nv-app {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  min-height: 100svh;
}
body.nv-lock { overflow: hidden; }
a { color: var(--nv-teal); text-decoration: none; }
a:hover { color: var(--nv-coral); }
.nv-app img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

.nv-skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  padding: 10px 14px; background: var(--nv-teal); color: #000; font-weight: 700;
}
.nv-skip:focus { left: 10px; top: 10px; }

/* —— App shell: fixed left rail + main —— */
.nv-shell {
  display: flex;
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 0;
}

.nv-rail {
  flex: none;
  width: var(--nv-rail);
  padding: 18px 14px max(18px, env(safe-area-inset-bottom));
  padding-top: max(18px, env(safe-area-inset-top));
  border-right: 1px solid var(--nv-line);
  background: linear-gradient(180deg, #14101f 0%, var(--nv-panel) 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  z-index: 100;
}

.nv-rail__brand,
.nv-rail__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--nv-display); font-weight: 700; font-size: 1rem;
  color: var(--nv-ink); text-decoration: none;
}
.nv-rail__brand img,
.nv-rail__logo img {
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--nv-line); flex-shrink: 0;
}
.nv-rail__brand span,
.nv-rail__logo span {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.nv-rail__nav { display: flex; flex-direction: column; gap: 2px; }
.nv-rail__nav a {
  padding: 10px 12px; border-radius: 10px; font-size: 0.84rem; font-weight: 600;
  color: var(--nv-muted); text-decoration: none;
}
.nv-rail__nav a:hover { background: var(--nv-panel2); color: var(--nv-ink); }
.nv-rail__nav a.is-cur {
  background: linear-gradient(90deg, rgba(255,107,74,0.18), rgba(94,234,212,0.1));
  color: var(--nv-coral); border-left: 3px solid var(--nv-coral); border-radius: 0 10px 10px 0;
}

.nv-rail__label {
  margin: 4px 0 6px; font-size: 0.62rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--nv-muted);
}

.nv-rail__genres { display: flex; flex-direction: column; gap: 4px; max-height: 38vh; overflow-y: auto; }
.nv-rail__genres button {
  text-align: left; padding: 8px 12px; border: 0; border-radius: 8px;
  background: transparent; color: var(--nv-muted); font: inherit; font-size: 0.78rem;
  font-weight: 600; cursor: pointer;
}
.nv-rail__genres button:hover { background: var(--nv-panel2); color: var(--nv-teal); }
.nv-rail__genres button.is-cur { color: var(--nv-teal); background: rgba(94,234,212,0.1); }

.nv-rail__find {
  display: flex; border: 1px solid var(--nv-line); border-radius: 10px; overflow: hidden;
}
.nv-rail__find input {
  flex: 1; min-width: 0; padding: 8px 10px; border: 0; background: var(--nv-panel2);
  color: var(--nv-ink); font: inherit; font-size: 0.78rem;
}
.nv-rail__find button {
  padding: 8px 12px; border: 0; background: var(--nv-coral); color: #0c0a14;
  font-family: var(--nv-display); font-weight: 700; font-size: 0.68rem; cursor: pointer;
}

.nv-rail__stat,
.nv-rail__meta {
  margin-top: auto; padding: 12px; border-radius: var(--nv-r);
  border: 1px dashed var(--nv-line); font-size: 0.72rem; color: var(--nv-muted);
}
.nv-rail__stat b,
.nv-rail__meta b { color: var(--nv-gold); }

.nv-shell__main {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column;
}

.nv-mobbar {
  display: none;
  align-items: center; gap: 10px;
  padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top));
  border-bottom: 1px solid var(--nv-line);
  background: rgba(12,10,20,0.92); backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 80;
}
.nv-mobbar__brand,
.nv-mobbar__logo {
  display: flex; align-items: center; gap: 8px; font-family: var(--nv-display);
  font-weight: 700; color: var(--nv-ink); text-decoration: none; min-width: 0;
}
.nv-mobbar__logo { flex: 1; justify-content: center; }

.nv-mobbar__brand span,
.nv-mobbar__logo span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-mobbar__brand img,
.nv-mobbar__logo img { width: 34px; height: 34px; border-radius: 10px; }

.nv-burger,
.nv-mobbar__menu {
  width: 44px; height: 44px; flex-shrink: 0;
  border: 1px solid var(--nv-line); border-radius: 10px;
  background: var(--nv-panel); color: var(--nv-teal); font-size: 1.1rem; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nv-page,
.nv-shell__main > main {
  flex: 1; width: 100%; max-width: var(--nv-max);
  margin: 0 auto; padding: 20px 16px 28px; min-width: 0;
}

/* —— Hero spotlight —— */
.nv-hero,
.nv-spot {
  margin-bottom: 22px;
  border-radius: calc(var(--nv-r) + 4px); overflow: hidden;
  border: 1px solid var(--nv-line);
  background: var(--nv-panel);
}
.nv-spot__link {
  display: grid; gap: 0; color: inherit; text-decoration: none;
}
@media (min-width: 720px) {
  .nv-hero, .nv-spot__link { grid-template-columns: 1.15fr 1fr; min-height: 280px; }
}
.nv-hero__media,
.nv-spot__media,
.nv-spot__pic {
  display: block; position: relative; min-height: 200px;
  background: var(--nv-panel2); overflow: hidden; color: inherit; text-decoration: none;
}
.nv-hero__media img,
.nv-spot__media img,
.nv-spot__pic img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.nv-hero__badge,
.nv-spot__badge,
.nv-spot__tag {
  position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(12,10,20,0.75); border: 1px solid var(--nv-line);
  font-size: 0.65rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nv-teal);
}
.nv-hero__body,
.nv-spot__body {
  padding: 20px 18px 22px; display: flex; flex-direction: column; justify-content: center;
}
.nv-hero__body h1,
.nv-spot__body h1 {
  margin: 0 0 8px; font-family: var(--nv-display); font-size: clamp(1.35rem, 3vw, 1.85rem); line-height: 1.12;
}
.nv-hero__body p,
.nv-spot__body p { margin: 0 0 16px; color: var(--nv-muted); font-size: 0.88rem; line-height: 1.6; }
.nv-hero__meta,
.nv-spot__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.nv-hero__chip,
.nv-spot__chip {
  padding: 5px 10px; border-radius: 8px; background: var(--nv-panel2);
  font-size: 0.68rem; font-weight: 700; color: var(--nv-muted);
}
.nv-spot__body .nv-spot__tag {
  position: static; display: inline-block; margin-bottom: 10px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(94,234,212,0.12); border: 1px solid var(--nv-line);
  font-size: 0.65rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--nv-teal);
}
.nv-hero__chip b,
.nv-spot__chip b { color: var(--nv-gold); }

/* —— Horizontal scroll lanes —— */
.nv-lane {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  margin-bottom: 26px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.nv-lane::-webkit-scrollbar { height: 6px; }
.nv-lane::-webkit-scrollbar-thumb { background: var(--nv-line); border-radius: 999px; }
.nv-lane__hd {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 12px; padding-left: 2px;
}
.nv-lane__hd h2 {
  margin: 0; font-family: var(--nv-display); font-size: 1.05rem; font-weight: 700; color: var(--nv-ink);
}
.nv-lane__hd a { font-size: 0.76rem; font-weight: 700; color: var(--nv-coral); white-space: nowrap; }
.nv-lane__note { margin: 0 0 10px; font-size: 0.78rem; color: var(--nv-muted); }

.nv-scroll article,
.nv-rows > article { margin: 0; }
.nv-scroll {
  display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 12px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.nv-scroll::-webkit-scrollbar { height: 6px; }
.nv-scroll::-webkit-scrollbar-thumb { background: var(--nv-line); border-radius: 999px; }

.nv-card {
  flex: 0 0 auto; width: 148px; scroll-snap-align: start;
  position: relative;
  border-radius: var(--nv-r); overflow: hidden; border: 1px solid var(--nv-line);
  background: var(--nv-panel);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.nv-grid .nv-card { width: auto; flex: unset; scroll-snap-align: unset; min-width: 0; }
.nv-card:hover {
  transform: translateY(-4px);
  border-color: var(--nv-teal);
  box-shadow: 0 0 28px rgba(94, 234, 212, 0.28), var(--nv-glow);
}
.nv-card__a,
.nv-card__link { display: block; color: inherit; text-decoration: none; position: relative; height: 100%; }
.nv-card__pic { aspect-ratio: 4/3; background: var(--nv-panel2); overflow: hidden; }
.nv-card__pic img { width: 100%; height: 100%; object-fit: cover; }
.nv-card__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px;
  background: linear-gradient(transparent, rgba(12,10,20,0.92));
}
.nv-card__play {
  position: absolute; top: 8px; right: 8px; padding: 4px 8px; border-radius: 6px;
  background: rgba(94, 234, 212, 0.92); color: #0c0a14; font-family: var(--nv-display);
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.06em; opacity: 0; transition: opacity 0.15s;
}
.nv-card:hover .nv-card__play { opacity: 1; }
.nv-card__txt { padding: 10px 10px 12px; }
.nv-card__tag {
  display: block; font-size: 0.58rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--nv-coral); margin-bottom: 2px;
}
.nv-card__cap h3,
.nv-card__txt h3 {
  margin: 0; font-size: 0.78rem; font-weight: 600; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* —— Tags / search grid (2 / 4 / 6) —— */
.nv-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
@media (min-width: 640px) { .nv-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .nv-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.nv-tile {
  position: relative; border-radius: var(--nv-r); overflow: hidden;
  border: 1px solid var(--nv-line); background: var(--nv-panel);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.nv-tile:hover { border-color: var(--nv-teal); box-shadow: var(--nv-glow); transform: translateY(-2px); }
.nv-tile__a { display: block; color: inherit; text-decoration: none; height: 100%; }
.nv-tile__pic { aspect-ratio: 4/3; background: var(--nv-panel2); overflow: hidden; }
.nv-tile__pic img { width: 100%; height: 100%; object-fit: cover; }
.nv-tile__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px;
  background: linear-gradient(transparent, rgba(12,10,20,0.92));
}
.nv-tile__tag {
  display: block; font-size: 0.58rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--nv-coral); margin-bottom: 2px;
}
.nv-tile__cap h3 {
  margin: 0; font-size: 0.78rem; font-weight: 600; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nv-tile__go {
  position: absolute; top: 8px; right: 8px; padding: 4px 8px; border-radius: 6px;
  background: rgba(94, 234, 212, 0.92); color: #0c0a14; font-family: var(--nv-display);
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.06em; opacity: 0; transition: opacity 0.15s;
}
.nv-tile:hover .nv-tile__go { opacity: 1; }

/* —— Detail list rows —— */
.nv-rows { display: flex; flex-direction: column; gap: 8px; }
.nv-row {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: var(--nv-r); border: 1px solid var(--nv-line);
  background: var(--nv-panel); color: inherit; text-decoration: none;
}
.nv-row:hover { border-color: var(--nv-teal); }
.nv-row img { width: 72px; height: 54px; object-fit: cover; border-radius: 10px; }
.nv-row h3 { margin: 0 0 2px; font-size: 0.88rem; }
.nv-row span { font-size: 0.68rem; color: var(--nv-muted); text-transform: uppercase; font-weight: 700; }
.nv-row__go { font-size: 0.72rem; font-weight: 700; color: var(--nv-coral); }

/* —— Ads —— */
.nv-ad--row { display: block; width: 100%; max-width: 100%; margin: 18px 0; overflow: hidden; }
.nv-ad--top { margin-top: 0; margin-bottom: 22px; }
.nv-ad { margin: 0; text-align: center; }
.nv-ad__in {
  width: 100%; min-height: 50px; padding: 12px; border-radius: var(--nv-r);
  border: 1px dashed var(--nv-line); background: var(--nv-panel);
  display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden;
}
.nv-ad__label {
  width: 100%; margin: 0 0 8px; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; text-align: center; color: var(--nv-muted);
}
.nv-ad__slot { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.nv-ad__slot > *, .nv-ad__in iframe, .nv-ad__in ins, .nv-ad__in img { max-width: 100%; }
.nv-ad__slot iframe, .nv-ad__in iframe { display: block; margin: 0 auto; }
.nv-grid + .nv-ad--row { margin-top: 8px; }
.nv-ad--row + .nv-grid { margin-top: 8px; }

.ad-slot--sticky,
.nv-ad--sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 140;
  margin: 0; padding: 8px 12px max(8px, env(safe-area-inset-bottom));
  background: rgba(12, 10, 20, 0.94); border-top: 1px solid var(--nv-line);
  backdrop-filter: blur(10px);
}
.ad-slot--sticky .nv-ad__in,
.nv-ad--sticky .nv-ad__in { min-height: 50px; }

.nv-card__pic[data-theme="indigo"] { background: linear-gradient(135deg, #1e1b4b, #6366f1); }
.nv-card__pic[data-theme="purple"] { background: linear-gradient(135deg, #312e81, #6366f1); }
.nv-card__pic[data-theme="violet"] { background: linear-gradient(135deg, #4c1d95, #a855f7); }
.nv-card__pic[data-theme="cyan"] { background: linear-gradient(135deg, #1e3a5f, #0891b2); }
.nv-card__pic[data-theme="teal"] { background: linear-gradient(135deg, #134e4a, #14b8a6); }
.nv-card__pic[data-theme="pink"] { background: linear-gradient(135deg, #831843, #f472b6); }
.nv-card__pic[data-theme="amber"] { background: linear-gradient(135deg, #713f12, #f59e0b); }
.nv-card__pic[data-theme="sky"] { background: linear-gradient(135deg, #0c4a6e, #22d3ee); }
.nv-card__pic[data-theme="rose"] { background: linear-gradient(135deg, #881337, #fb7185); }
.nv-card__pic[data-theme="lime"] { background: linear-gradient(135deg, #365314, #a3e635); }
.nv-card__pic[data-theme="blue"] { background: linear-gradient(135deg, #1e1b4b, #818cf8); }
.nv-card__pic[data-theme="orange"] { background: linear-gradient(135deg, #7c2d12, #ea580c); }
.nv-card__pic[data-theme="aqua"] { background: linear-gradient(135deg, #164e63, #06b6d4); }
.nv-spot__pic[data-theme="indigo"] { background: linear-gradient(135deg, #1e1b4b, #6366f1); min-height: 200px; }

.nv-duo { display: grid; gap: 14px; margin-top: 8px; }
@media (min-width: 720px) { .nv-duo { grid-template-columns: 1fr 1fr; } }

.nv-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.nv-pill {
  padding: 8px 14px; border: 1px solid var(--nv-line); border-radius: 999px;
  background: var(--nv-panel); color: var(--nv-muted); font-size: 0.76rem; font-weight: 600;
  cursor: pointer; text-decoration: none;
}
.nv-pill:hover { border-color: var(--nv-teal); color: var(--nv-teal); }
.nv-pill.is-cur { border-color: var(--nv-teal); color: var(--nv-teal); background: rgba(94,234,212,0.08); }

.nv-block { margin-bottom: 22px; }
.nv-block .nv-lane { margin-bottom: 12px; }
.nv-block .nv-lane:last-child { margin-bottom: 0; }
.nv-block__hd {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--nv-line);
}
.nv-block__hd h2 {
  margin: 0; font-family: var(--nv-display); font-size: 1rem; font-weight: 700; color: var(--nv-teal);
}
.nv-block__hd a { font-family: var(--nv-display); font-size: 0.72rem; font-weight: 700; color: var(--nv-coral); }
.nv-block__note { margin: 0 0 10px; font-size: 0.78rem; color: var(--nv-muted); }

.nv-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.nv-chip {
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--nv-line);
  background: var(--nv-panel); font-size: 0.72rem; font-weight: 600; color: var(--nv-muted);
}
.nv-chip b { color: var(--nv-teal); }

.nv-mobbar__search {
  flex-shrink: 0; width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--nv-line); border-radius: 10px; color: var(--nv-teal);
  font-size: 1.2rem; text-decoration: none; -webkit-tap-highlight-color: transparent;
}

.nv-rail__mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--nv-display); font-weight: 800; font-size: 0.85rem;
  background: linear-gradient(135deg, var(--nv-coral), var(--nv-teal)); color: #0c0a14;
}
.nv-rail__mark--sm { width: 32px; height: 32px; font-size: 0.72rem; border-radius: 10px; }

.nv-drawer__title {
  display: block; font-family: var(--nv-display); font-size: 1rem; color: var(--nv-ink);
}

.nv-panel {
  padding: 18px; border-radius: var(--nv-r); border: 1px solid var(--nv-line);
  background: var(--nv-panel); margin-bottom: 14px;
}
.nv-prose h1,
.nv-page-title {
  margin: 0 0 16px; font-family: var(--nv-display); font-size: clamp(1.2rem, 3vw, 1.6rem);
  line-height: 1.15; color: var(--nv-ink);
}
.nv-prose h2 {
  font-family: var(--nv-display); font-size: 0.92rem; font-weight: 700; color: var(--nv-violet);
  margin: 1em 0 0.35em;
}
.nv-prose h2:first-child { margin-top: 0; }
.nv-prose p, .nv-prose li {
  color: var(--nv-muted); font-size: 0.84rem; overflow-wrap: anywhere; word-break: break-word;
}
.nv-prose img, .nv-prose iframe, .nv-prose table { max-width: 100%; height: auto; }

.nv-faq details { border-bottom: 1px solid var(--nv-line); padding: 9px 0; }
.nv-faq summary { cursor: pointer; font-weight: 600; font-size: 0.84rem; color: var(--nv-ink); }
.nv-faq p { margin: 8px 0 0; font-size: 0.8rem; color: var(--nv-muted); }

.nv-dim { color: var(--nv-muted); font-size: 0.82rem; }
.nv-panel > h2 {
  margin: 0 0 12px; font-family: var(--nv-display); font-size: 0.92rem; font-weight: 700;
  color: var(--nv-violet);
}
.nv-page-title + .nv-stats { margin-top: -6px; margin-bottom: 16px; }

.nv-foot {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--nv-line);
  display: grid; gap: 14px; font-size: 0.76rem; color: var(--nv-muted);
}
@media (min-width: 640px) { .nv-foot { grid-template-columns: 2fr 1fr 1fr; } }
.nv-foot strong { display: block; margin-bottom: 6px; font-family: var(--nv-display); color: var(--nv-ink); }
.nv-foot nav { display: flex; flex-direction: column; gap: 6px; }

.nv-crumbs {
  display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 14px; padding: 0;
  font-size: 0.72rem; color: var(--nv-muted);
}
.nv-crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--nv-coral); }

.nv-detail { display: grid; gap: 14px; min-width: 0; }
@media (min-width: 900px) { .nv-detail { grid-template-columns: 1fr 280px; } }
.nv-detail__main { min-width: 0; }
.nv-detail__side { display: flex; flex-direction: column; gap: 12px; }
.nv-detail-stack { max-width: 720px; }
.nv-widget {
  padding: 14px; border-radius: var(--nv-r); border: 1px solid var(--nv-line);
  background: var(--nv-panel);
}
.nv-widget h3 {
  margin: 0 0 10px; font-family: var(--nv-display); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--nv-teal);
}
.nv-widget p { margin: 0 0 6px; font-size: 0.78rem; color: var(--nv-muted); }

.nv-stage {
  border-radius: var(--nv-r); overflow: hidden; border: 1px solid var(--nv-teal);
  box-shadow: var(--nv-glow); background: #000; margin-bottom: 18px;
}
.nv-stage__bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 12px;
  background: var(--nv-panel2); font-family: var(--nv-display); font-size: 0.72rem; font-weight: 700;
}
.nv-stage__grow { flex: 1; min-width: 40px; }
.nv-stage__box { position: relative; aspect-ratio: 16/10; background: #000; overflow: hidden; }
.nv-stage__poster, .nv-stage__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nv-stage__poster img { width: 100%; height: 100%; object-fit: cover; }
.nv-stage__iframe:not([hidden]) {
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.nv-loading {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-items: center; padding: 16px;
  background: rgba(12, 10, 20, 0.82); color: var(--nv-teal);
  font-family: var(--nv-display); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.nv-stage__fail {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 16px; text-align: center; background: rgba(12, 10, 20, 0.92);
}
.nv-stage__fail p { margin: 0; color: var(--nv-muted); font-size: 0.84rem; }
.nv-noscript {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  padding: 16px; background: var(--nv-panel); color: var(--nv-muted); text-align: center;
}
@media (max-width: 759px) {
  .nv-stage.nv-mobile-exit .nv-exit--mobile { display: inline-flex !important; }
}
.nv-exit--mobile[hidden] { display: none !important; }
[data-detail-play]:not(:disabled) { animation: nv-pulse 2s ease-in-out infinite; }
@keyframes nv-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 74, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(255, 107, 74, 0); }
}
.nv-stage__ft { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 12px; background: var(--nv-panel2); }
.nv-stage.is-max {
  position: fixed; inset: 0; z-index: 300; border-radius: 0; margin: 0;
  display: flex; flex-direction: column;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.nv-stage.is-max .nv-stage__box { flex: 1; aspect-ratio: auto; }

.nv-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 10px; border: 0; font-family: var(--nv-display);
  font-size: 0.78rem; font-weight: 700; cursor: pointer; text-decoration: none;
}
.nv-btn--pri { background: linear-gradient(135deg, var(--nv-coral), var(--nv-teal)); color: #0c0a14; }
.nv-btn--sec { background: var(--nv-panel2); color: var(--nv-ink); border: 1px solid var(--nv-line); }
.nv-btn--xs { padding: 6px 10px; font-size: 0.65rem; }

.nv-contact { display: grid; gap: 10px; }
@media (min-width: 560px) { .nv-contact { grid-template-columns: 1fr 1fr; } }
.nv-contact-card {
  padding: 14px; border-radius: var(--nv-r); border: 1px solid var(--nv-line); background: var(--nv-panel);
}
.nv-contact-card p { margin: 0; font-size: 0.84rem; color: var(--nv-muted); }
.nv-contact-card p + p { margin-top: 6px; }
@media (min-width: 560px) { .nv-contact-card--wide { grid-column: 1 / -1; } }
.nv-contact-card strong {
  display: block; margin-bottom: 6px; font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--nv-teal);
}

.nv-form label { display: block; margin-bottom: 10px; font-size: 0.78rem; font-weight: 600; }
.nv-form input, .nv-form select, .nv-form textarea {
  width: 100%; margin-top: 4px; padding: 9px 11px; border: 1px solid var(--nv-line);
  border-radius: 8px; background: var(--nv-panel2); color: var(--nv-ink); font: inherit;
}
.nv-form textarea { min-height: 100px; resize: vertical; }

.nv-search-form {
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px;
  margin: 12px 0 10px;
}
.nv-search-form input {
  flex: 1; min-width: 160px; padding: 10px 12px;
  border: 1px solid var(--nv-line); border-radius: 10px;
  background: var(--nv-panel2); color: var(--nv-ink); font: inherit; font-size: 0.88rem;
}
.nv-search-form .nv-btn { flex-shrink: 0; align-self: stretch; }

.nv-drawer {
  position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.65);
  opacity: 0; visibility: hidden; transition: opacity 0.2s;
}
.nv-drawer.is-open { opacity: 1; visibility: visible; }
.nv-drawer__panel {
  position: absolute; top: 0; left: 0; width: min(280px, 88vw); height: 100%;
  padding: 20px 16px; background: var(--nv-panel); border-right: 1px solid var(--nv-teal);
  transform: translateX(-100%); transition: transform 0.22s; overflow-y: auto;
}
.nv-drawer.is-open .nv-drawer__panel { transform: none; }
.nv-drawer__panel nav { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.nv-drawer__panel a {
  padding: 11px 12px; border-radius: 8px; font-weight: 600; color: var(--nv-muted);
}
.nv-drawer__panel a.is-cur { color: var(--nv-coral); background: var(--nv-panel2); }

.nv-cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  padding: 12px 16px max(12px, env(safe-area-inset-bottom)); background: var(--nv-panel);
  border-top: 1px solid var(--nv-teal);
  box-shadow: 0 -4px 30px rgba(94, 234, 212, 0.08);
}
.nv-cookie__in {
  max-width: var(--nv-max); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between;
}
.nv-cookie p { margin: 0; font-size: 0.78rem; color: var(--nv-muted); }

[data-home-page] {
  --nv-sticky-pad: 72px;
}

[data-home-page] .nv-shell__main > main {
  padding-bottom: calc(16px + var(--nv-sticky-pad) + var(--nv-cookie-pad));
}

@media (max-width: 959px) {
  .nv-app .nv-rail,
  .nv-app aside.nv-rail {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
  .nv-app .nv-mobbar { display: flex !important; }
  .nv-app .nv-shell__main {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
  }

  .nv-shell__main > main {
    padding: 14px 12px 20px;
    max-width: none;
  }
  [data-home-page] .nv-shell__main > main {
    padding-bottom: calc(16px + var(--nv-sticky-pad) + var(--nv-cookie-pad));
  }

  .nv-spot { margin-bottom: 16px; border-radius: var(--nv-r); }
  .nv-spot__pic,
  .nv-spot__pic img { min-height: 168px; }
  .nv-spot__body { padding: 14px 14px 16px; }
  .nv-spot__body h1 { font-size: 1.2rem; }
  .nv-spot__body p { font-size: 0.82rem; margin-bottom: 12px; }
  .nv-spot__body .nv-btn { width: 100%; justify-content: center; }

  .nv-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
    margin: 0 -12px 14px;
    padding: 0 12px 6px;
    scroll-snap-type: x proximity;
  }
  .nv-filters::-webkit-scrollbar { display: none; }
  .nv-pill {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 10px 14px;
    min-height: 40px;
  }

  .nv-lane,
  .nv-scroll {
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
    scroll-padding-inline: 12px;
    touch-action: pan-x;
  }

  .nv-card { width: 136px; }
  .nv-block__hd h2 {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .nv-block__note { font-size: 0.74rem; }

  .nv-panel { padding: 14px; }
  .nv-page-title { font-size: 1.15rem; margin-bottom: 12px; }
  .nv-crumbs { font-size: 0.68rem; margin-bottom: 10px; }

  .nv-detail { gap: 12px; }
  .nv-stage { margin-bottom: 14px; }
  .nv-stage__box { aspect-ratio: 16 / 9; }
  .nv-stage__bar { padding: 6px 10px; gap: 6px; font-size: 0.65rem; }
  .nv-stage__ft { padding: 8px 10px; gap: 6px; }
  .nv-stage__ft .nv-btn { flex: 1 1 calc(50% - 3px); justify-content: center; min-height: 44px; }

  .nv-search-form { flex-direction: column; align-items: stretch; }
  .nv-search-form input { min-width: 0; font-size: 16px; }
  .nv-search-form .nv-btn { width: 100%; min-height: 44px; }

  .nv-rail__find input,
  .nv-form input,
  .nv-form select,
  .nv-form textarea { font-size: 16px; }

  .nv-drawer__panel {
    width: min(300px, 92vw);
    padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  }
  .nv-drawer__panel a { min-height: 44px; display: flex; align-items: center; }

  .nv-cookie__in { flex-direction: column; align-items: stretch; gap: 8px; }
  .nv-cookie__in .nv-btn { width: 100%; min-height: 44px; }

  .nv-foot { margin-top: 24px; gap: 12px; }
  .nv-foot nav a { min-height: 36px; display: inline-flex; align-items: center; }

  .nv-row { grid-template-columns: 56px 1fr auto; gap: 8px; }
  .nv-row img { width: 56px; height: 42px; }
  .nv-detail .nv-prose { overflow-wrap: anywhere; word-break: break-word; }
}

@media (max-width: 479px) {
  .nv-shell__main > main { padding-left: 10px; padding-right: 10px; }
  .nv-lane,
  .nv-scroll,
  .nv-filters { margin-left: -10px; margin-right: -10px; padding-left: 10px; padding-right: 10px; }
  .nv-filters { padding-left: 10px; padding-right: 10px; }
  .nv-grid { gap: 8px; }
  .nv-lane .nv-card,
  .nv-scroll .nv-card { width: calc(50vw - 18px); max-width: 160px; }
  .nv-grid .nv-card { width: auto; max-width: none; }
  .nv-mobbar__logo span { max-width: 42vw; }
}

@media (hover: none) and (pointer: coarse) {
  .nv-card:hover { transform: none; box-shadow: none; border-color: var(--nv-line); }
  .nv-card__play { opacity: 1; }
  .nv-tile:hover { transform: none; box-shadow: none; }
  .nv-tile__go { opacity: 1; }
}

@media (min-width: 960px) {
  .nv-app .nv-rail,
  .nv-app aside.nv-rail {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    height: auto;
    max-height: 100dvh;
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    width: var(--nv-rail) !important;
    min-width: var(--nv-rail) !important;
    max-width: var(--nv-rail) !important;
    pointer-events: auto !important;
  }
  .nv-app .nv-mobbar { display: none !important; }
  .nv-app .nv-shell__main {
    margin-left: var(--nv-rail) !important;
    width: calc(100% - var(--nv-rail)) !important;
    max-width: none;
  }
  .nv-drawer { display: none !important; }
}

/* Beat admin url_css layout leaks */
.nv-app .nv-shell,
.nv-app aside.nv-rail,
.nv-app main.nv-page { float: none !important; clear: none !important; }
.nv-app .nv-shell { display: flex !important; flex-direction: row !important; }
