
/* NNPlays Discovery UX v3 — 2026-08-27
   Keeps the established NNPlays palette/motion language while simplifying
   discovery hierarchy across home, catalogue, search and game-detail surfaces. */

body.nn-discovery-v3 {
  --dv3-card-gap: clamp(.8rem, 1.4vw, 1.25rem);
  --dv3-section-gap: clamp(1.4rem, 3vw, 2.35rem);
}

body.nn-discovery-v3 .game-card-counts,
body.nn-discovery-v3 .gd-counts {
  display: none !important;
}

/* ── Shared discovery controls ───────────────────────────────────────────── */
.discovery-search {
  display: flex;
  align-items: stretch;
  gap: .65rem;
  margin-top: 1.1rem;
  max-width: 720px;
}
.discovery-search-form {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 52px;
  padding: 0 .7rem 0 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(15,15,30,.78);
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.discovery-search-form:focus-within {
  border-color: rgba(255,45,120,.52);
  box-shadow: 0 0 0 3px rgba(255,45,120,.08), 0 16px 38px rgba(0,0,0,.28);
}
.discovery-search-icon { color: var(--text3); flex: 0 0 auto; }
.discovery-search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: .98rem;
}
.discovery-search-input::placeholder { color: var(--text3); }
.discovery-search-submit,
.discovery-surprise {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  min-height: 44px;
  border-radius: 10px;
  font-weight: 800;
  transition: transform var(--motion-fast) var(--motion-spring), opacity var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.discovery-search-submit {
  padding: 0 1rem;
  color: #fff;
  background: var(--grad);
}
.discovery-surprise {
  min-width: 142px;
  padding: 0 1.05rem;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(19,19,42,.82);
}
.discovery-search-submit:hover,
.discovery-surprise:hover { transform: translateY(-1px); }
.discovery-search-submit:active,
.discovery-surprise:active { transform: scale(.975); }

/* ── Home: preserve the brand, reduce competition ───────────────────────── */
body.nn-discovery-v3-home #hero .hero-sub { max-width: 640px; }
body.nn-discovery-v3-home #hero .hero-ctas {
  margin-top: .85rem;
  gap: .6rem;
}
body.nn-discovery-v3-home #hero .hero-ctas > :not(:first-child):not(.discovery-surprise) { display: none !important; }
body.nn-discovery-v3-home #stats-bar,
body.nn-discovery-v3-home #collections-section,
body.nn-discovery-v3-home #flagship-shelf,
body.nn-discovery-v3-home #pixel-shelf,
body.nn-discovery-v3-home #board-shelf,
body.nn-discovery-v3-home #puzzle-shelf,
body.nn-discovery-v3-home #sports-shelf,
body.nn-discovery-v3-home #arcade-shelf,
body.nn-discovery-v3-home #retro-shelf,
body.nn-discovery-v3-home #experimental-shelf,
body.nn-discovery-v3-home #resume-section,
body.nn-discovery-v3-home #recommend-section,
body.nn-discovery-v3-home #quests-section,
body.nn-discovery-v3-home #games-section,
body.nn-discovery-v3-home #recent-section,
body.nn-discovery-v3-home #leaderboard,
body.nn-discovery-v3-home #youtube-section,
body.nn-discovery-v3-home .home-band {
  display: none !important;
}
body.nn-discovery-v3-home .featured-carousel { display: none !important; }
body.nn-discovery-v3-home .home-rail .rail-card:nth-of-type(n+3) { display: none !important; }
body.nn-discovery-v3-home .home-rail {
  align-self: stretch;
}
body.nn-discovery-v3-home .home-rail .rail-card {
  border-color: rgba(255,255,255,.09);
}

.discovery-section {
  margin-top: var(--dv3-section-gap);
}
.discovery-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .85rem;
}
.discovery-section-head h2 {
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
}
.discovery-section-head p {
  color: var(--text2);
  font-size: .88rem;
  margin-top: .2rem;
}
.discovery-section-link {
  color: var(--text2);
  font-size: .84rem;
  font-weight: 700;
  white-space: nowrap;
}
.discovery-section-link:hover { color: var(--text); }

/* Flagships stay cinematic at two cards and grow into a larger 3-column
   showcase when the owner-approved set contains three or more games. */
.flagship-v3-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--dv3-card-gap);
}
.flagship-v3-grid.is-expanded {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.discovery-flagships-expanded .flagship-v3-card,
.discovery-flagships-expanded .flagship-v3-copy {
  min-height: 330px;
}
.discovery-flagships-expanded .flagship-v3-copy h3 {
  font-size: clamp(1.3rem, 2.15vw, 1.82rem);
}
.flagship-v3-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.1);
  background: var(--surface);
  box-shadow: var(--shadow-2);
  isolation: isolate;
  transition: transform var(--motion-mid) var(--motion-spring), border-color var(--ease), box-shadow var(--ease);
}
.flagship-v3-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,45,120,.36);
  box-shadow: 0 22px 58px rgba(0,0,0,.45), 0 0 34px rgba(160,32,240,.11);
}
.flagship-v3-card:active { transform: scale(.992); }
.flagship-v3-media {
  position: absolute;
  inset: 0;
}
.flagship-v3-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s var(--motion-ease), filter .3s ease;
}
.flagship-v3-card:hover .flagship-v3-media img { transform: scale(1.035); }
.flagship-v3-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,5,14,.08) 15%, rgba(5,5,14,.54) 52%, rgba(5,5,14,.96) 100%);
}
.flagship-v3-copy {
  position: relative;
  z-index: 2;
  min-height: 310px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.flagship-v3-label {
  align-self: flex-start;
  margin-bottom: .55rem;
  padding: .28rem .58rem;
  border-radius: 999px;
  background: rgba(8,8,18,.68);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}
.flagship-v3-copy h3 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  max-width: 520px;
}
.flagship-v3-copy p {
  color: rgba(232,232,244,.82);
  font-size: .9rem;
  line-height: 1.48;
  max-width: 600px;
  margin-top: .42rem;
}
.flagship-v3-meta {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  margin-top: .72rem;
}
.flagship-v3-meta span {
  padding: .26rem .55rem;
  border-radius: 999px;
  background: rgba(8,8,18,.62);
  border: 1px solid rgba(255,255,255,.1);
  font-size: .7rem;
  color: rgba(232,232,244,.88);
}
.flagship-v3-actions {
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
  margin-top: .85rem;
}
.flagship-v3-play,
.flagship-v3-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 .95rem;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 800;
  transition: transform var(--motion-fast) var(--motion-spring), opacity var(--ease), background var(--ease);
}
.flagship-v3-play { background: var(--grad); color: #fff; }
.flagship-v3-details { background: rgba(8,8,18,.68); border: 1px solid rgba(255,255,255,.13); color: var(--text); }
.flagship-v3-play:hover,
.flagship-v3-details:hover { transform: translateY(-1px); }
.flagship-v3-play:active,
.flagship-v3-details:active { transform: scale(.97); }

/* Personalized continue surface. Signed-in players inherit the portal's
   account-level nnplays_recent cloud state; guests retain the device-local list. */
.discovery-last-played[hidden] { display: none !important; }
.last-played-v3-head { align-items: center; }
.last-played-v3-scope {
  flex: 0 0 auto;
  padding: .34rem .62rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(19,19,42,.74);
  color: var(--text3);
  font-size: .7rem;
  font-weight: 750;
}
.last-played-v3-card {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
  min-height: 245px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(135deg, rgba(24,20,47,.98), rgba(12,12,27,.98));
  box-shadow: var(--shadow-2);
}
.last-played-v3-media {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  background: var(--surface2);
}
.last-played-v3-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s var(--motion-ease), filter .3s ease;
}
.last-played-v3-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,8,18,.02) 55%, rgba(8,8,18,.52) 100%);
  pointer-events: none;
}
.last-played-v3-card:hover .last-played-v3-media img { transform: scale(1.025); }
.last-played-v3-copy {
  min-width: 0;
  padding: clamp(1rem, 2.2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.last-played-v3-label {
  align-self: flex-start;
  padding: .28rem .56rem;
  border-radius: 999px;
  background: rgba(255,45,120,.12);
  border: 1px solid rgba(255,45,120,.24);
  color: #ff9fc2;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.last-played-v3-copy h3 {
  margin-top: .58rem;
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
}
.last-played-v3-copy > p {
  max-width: 720px;
  margin-top: .4rem;
  color: var(--text2);
  font-size: .9rem;
  line-height: 1.48;
}
.last-played-v3-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .72rem;
}
.last-played-v3-meta span {
  padding: .25rem .52rem;
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--text3);
  font-size: .7rem;
}
.last-played-v3-history {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-top: .8rem;
}
.last-played-v3-history-card {
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 112px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.085);
  background: linear-gradient(145deg, rgba(18,18,39,.96), rgba(12,12,28,.9));
  transition: transform var(--motion-fast) var(--motion-spring), border-color var(--ease), background var(--ease);
}
.last-played-v3-history-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,45,120,.28);
  background: linear-gradient(145deg, rgba(26,20,50,.98), rgba(14,14,31,.94));
}
.last-played-v3-history-media {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--surface2);
}
.last-played-v3-history-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--motion-ease);
}
.last-played-v3-history-card:hover .last-played-v3-history-media img { transform: scale(1.035); }
.last-played-v3-history-copy {
  min-width: 0;
  padding: .72rem .78rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .45rem;
}
.last-played-v3-history-time {
  color: var(--text3);
  font-size: .66rem;
  font-weight: 700;
}
.last-played-v3-history-copy h3 {
  margin-top: .16rem;
  overflow: hidden;
  color: var(--text);
  font-size: .9rem;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.last-played-v3-history-copy p {
  margin-top: .18rem;
  overflow: hidden;
  color: var(--text3);
  font-size: .68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.last-played-v3-history-resume {
  align-self: flex-start;
  color: #ff74aa;
  font-size: .72rem;
  font-weight: 800;
}
.last-played-v3-history-resume:hover { color: #fff; }

/* Mood-first browsing */
.discovery-mood-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .65rem;
}
.discovery-mood {
  min-height: 108px;
  padding: .85rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(155deg, rgba(19,19,42,.96), rgba(15,15,30,.84));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--motion-fast) var(--motion-spring), border-color var(--ease), background var(--ease);
}
.discovery-mood:hover {
  transform: translateY(-2px);
  border-color: rgba(255,45,120,.34);
  background: linear-gradient(155deg, rgba(29,20,54,.98), rgba(19,19,42,.9));
}
.discovery-mood:active { transform: scale(.975); }
.discovery-mood-icon { font-size: 1.38rem; }
.discovery-mood b { display: block; font-size: .88rem; margin-top: .45rem; }
.discovery-mood small { display: block; color: var(--text3); font-size: .68rem; line-height: 1.28; margin-top: .18rem; }

/* Existing rails: preserve native card/click effects but reduce text density. */
body.nn-discovery-v3-home #editors-picks .editors-card,
body.nn-discovery-v3-home #mostplayed-section .editors-card {
  min-width: min(265px, 72vw);
}
body.nn-discovery-v3-home #editors-picks .editors-body p,
body.nn-discovery-v3-home #mostplayed-section .editors-body p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.discovery-browse-cta {
  margin-top: var(--dv3-section-gap);
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(135deg, rgba(255,45,120,.08), rgba(160,32,240,.08));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.discovery-browse-cta h3 { font-size: 1.05rem; }
.discovery-browse-cta p { color: var(--text2); font-size: .82rem; margin-top: .15rem; }

/* ── /games: power browsing, not another marketing page ─────────────────── */
body.nn-discovery-v3-games #featured-gameplay { display: none !important; }
.catalogue-intro-v3 {
  margin-bottom: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(135deg, rgba(255,45,120,.06), rgba(160,32,240,.06));
}
.catalogue-intro-v3-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .8rem;
}
.catalogue-intro-v3 h1 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
.catalogue-intro-v3 p { color: var(--text2); font-size: .86rem; margin-top: .22rem; }
.catalogue-intro-v3-count { color: var(--text3); font-size: .78rem; white-space: nowrap; }
.catalogue-search-form {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 48px;
  padding: 0 .65rem 0 .9rem;
  border-radius: 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
}
.catalogue-search-form:focus-within { border-color: rgba(255,45,120,.45); box-shadow: 0 0 0 3px rgba(255,45,120,.07); }
.catalogue-search-form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
}
.catalogue-search-form button {
  min-height: 36px;
  padding: 0 .85rem;
  border-radius: 9px;
  background: var(--grad);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
}
body.nn-discovery-v3-games #experience-bar {
  position: sticky;
  top: calc(var(--nav-h) + .5rem);
  z-index: 70;
  padding: .8rem;
  border-radius: 14px;
  background: rgba(8,8,18,.88);
  border: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
body.nn-discovery-v3-games #filter-chips { margin-top: .8rem; }
body.nn-discovery-v3-games .game-card-desc { display: none !important; }
body.nn-discovery-v3-games .stars-widget { display: none !important; }
body.nn-discovery-v3-games .game-card {
  transition: transform var(--motion-fast) var(--motion-spring), border-color var(--ease), box-shadow var(--ease);
}
body.nn-discovery-v3-games .game-card:hover { transform: translateY(-2px); }
body.nn-discovery-v3-games .game-card:active { transform: scale(.99); }

/* ── Search ─────────────────────────────────────────────────────────────── */
body.nn-discovery-v3-search .search-hero { max-width: 980px; }
body.nn-discovery-v3-search .search-big-wrap { max-width: 820px; }
body.nn-discovery-v3-search .game-card-counts { display: none !important; }
body.nn-discovery-v3-search .game-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Game detail: make Play the unmistakable primary action ─────────────── */
body.nn-discovery-v3-detail .gd-wrap { max-width: 1040px; }
body.nn-discovery-v3-detail .gd-hero {
  align-items: stretch;
  padding: .8rem;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  background: rgba(15,15,30,.64);
}
body.nn-discovery-v3-detail .gd-thumb {
  width: min(42%, 360px);
  min-width: 250px;
  aspect-ratio: 16/9;
}
body.nn-discovery-v3-detail .gd-head {
  flex: 1;
  min-width: min(320px, 100%);
  padding: .25rem .35rem;
}
body.nn-discovery-v3-detail .gd-play { min-height: 48px; padding-inline: 1.35rem; }
body.nn-discovery-v3-detail #gd-expectations { margin-top: 1rem; }

/* ── Mobile navigation: four destinations, clearer tap targets ───────────── */
@media (max-width: 768px) {
  body.nn-discovery-v3 #bottom-nav .tab-item[href="/scores"],
  body.nn-discovery-v3 #bottom-nav .tab-labs { display: none !important; }
  body.nn-discovery-v3 #bottom-nav .tab-item { flex: 1 1 25%; }

  .discovery-search { flex-direction: column; }
  .discovery-surprise { width: 100%; min-height: 46px; }
  .discovery-search-form { min-height: 50px; }
  .flagship-v3-grid,
  .flagship-v3-grid.is-expanded { grid-template-columns: 1fr; }
  .flagship-v3-card,
  .flagship-v3-copy,
  .discovery-flagships-expanded .flagship-v3-card,
  .discovery-flagships-expanded .flagship-v3-copy { min-height: 280px; }
  .last-played-v3-head { align-items: flex-start; }
  .last-played-v3-scope { display: none; }
  .last-played-v3-card { grid-template-columns: 1fr; min-height: 0; }
  .last-played-v3-media { min-height: 0; aspect-ratio: 16 / 9; }
  .last-played-v3-media::after { background: linear-gradient(180deg, transparent 65%, rgba(8,8,18,.34) 100%); }
  .last-played-v3-copy { padding: 1rem; }
  .last-played-v3-history {
    display: flex;
    gap: .65rem;
    overflow-x: auto;
    padding: 0 0 .3rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }
  .last-played-v3-history-card {
    flex: 0 0 min(82vw, 330px);
    grid-template-columns: 112px minmax(0, 1fr);
    scroll-snap-align: start;
  }
  .discovery-mood-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .discovery-mood { min-height: 92px; }
  .discovery-section-head { align-items: center; }
  .discovery-section-head p { display: none; }
  .discovery-browse-cta { align-items: flex-start; flex-direction: column; }
  body.nn-discovery-v3-games #experience-bar {
    top: calc(var(--nav-h) + .25rem);
    padding: .65rem;
  }
  .catalogue-intro-v3-copy { align-items: flex-start; flex-direction: column; }
  body.nn-discovery-v3-detail .gd-hero { display: block; }
  body.nn-discovery-v3-detail .gd-thumb { width: 100%; min-width: 0; margin-bottom: .9rem; }
  body.nn-discovery-v3-detail .gd-play { width: 100%; justify-content: center; }
}

/* Tablet: two-column hero is cramped; stack while retaining dense rails. */
@media (min-width: 769px) and (max-width: 1100px) {
  body.nn-discovery-v3-home .home-top { grid-template-columns: 1fr !important; }
  body.nn-discovery-v3-home .home-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .8rem;
  }
  .discovery-mood-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .last-played-v3-history { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .flagship-v3-grid.is-expanded { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .flagship-v3-card,
  .flagship-v3-copy,
  .discovery-flagships-expanded .flagship-v3-card,
  .discovery-flagships-expanded .flagship-v3-copy { min-height: 290px; }
}

@media (max-width: 430px) {
  .discovery-search-form { padding-left: .78rem; }
  .discovery-search-submit { padding-inline: .72rem; font-size: .76rem; }
  .flagship-v3-copy { padding: .95rem; }
  .flagship-v3-copy p { font-size: .82rem; }
  .last-played-v3-copy { padding: .95rem; }
  .last-played-v3-copy > p { font-size: .82rem; }
  .flagship-v3-actions { width: 100%; }
  .flagship-v3-play,
  .flagship-v3-details { flex: 1; }
  .discovery-mood-grid { gap: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .discovery-search-submit,
  .discovery-surprise,
  .flagship-v3-card,
  .flagship-v3-media img,
  .last-played-v3-media img,
  .last-played-v3-history-card,
  .last-played-v3-history-media img,
  .flagship-v3-play,
  .flagship-v3-details,
  .discovery-mood,
  body.nn-discovery-v3-games .game-card {
    transition: none !important;
    transform: none !important;
  }
}

/* Shared discovery presentation. Game canvases and gameplay HUDs are excluded. */
body.nn-discovery-v3 {
  --dv3-section-gap: clamp(2.25rem, 4vw, 4rem);
  --dv3-card-gap: clamp(.85rem, 1.6vw, 1.5rem);
  --discovery-muted: #b7bacd;
  background: radial-gradient(ellipse at 65% 0, #20203b 0, transparent 45rem), #090b13;
}
body.nn-discovery-v3 .blob { display: none; }
body.nn-discovery-v3 #main { max-width: 1640px; margin-inline: auto; padding-top: calc(var(--nav-h) + clamp(1.15rem, 2.5vw, 2.5rem)); }
body.nn-discovery-v3 #top-nav { background: rgba(9,11,19,.95); border-color: #ffffff12; }
body.nn-discovery-v3 :is(a,button,input,select,summary):focus-visible { outline: 3px solid #76e0ed; outline-offset: 4px; }
body.nn-discovery-v3 :is(button,input,select) { font: inherit; }
body.nn-discovery-v3 :is(button,a,summary) { -webkit-tap-highlight-color: transparent; }
body.nn-discovery-v3 :is(.content-section,.discovery-section,#games-grid) { scroll-margin-top: calc(var(--nav-h) + 1rem); }
.discovery-skip { position: fixed; z-index: 999; left: 1rem; top: 1rem; transform: translateY(-200%); padding: .8rem 1.1rem; border-radius: 12px; background: #fff; color: #101323; font-weight: 800; }
.discovery-skip:focus { transform: none; }
.discovery-eyebrow { display: block; color: #acafd0; font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .55rem; }
body.nn-discovery-v3-home .home-top { display: block; margin-bottom: 0; }
body.nn-discovery-v3-home #hero { border: 1px solid #ffffff13; border-radius: 26px; background: linear-gradient(125deg,#181c2d,#101321); overflow: hidden; }
body.nn-discovery-v3-home #hero::before, body.nn-discovery-v3-home #hero::after { display: none; }
body.nn-discovery-v3-home #hero .hero-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.08fr); align-items: stretch; padding: 0; gap: 0; }
body.nn-discovery-v3-home .hero-text { padding: clamp(1.6rem,3.5vw,3.65rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
body.nn-discovery-v3-home .hero-badge { background: none; padding: 0; border: 0; box-shadow: none; color: #b9bdcf; font-size: .73rem; font-weight: 700; letter-spacing: .025em; margin-bottom: 1.2rem; }
body.nn-discovery-v3-home .hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #7ae0b5; box-shadow: 0 0 12px #7ae0b532; margin-right: .4rem; }
body.nn-discovery-v3-home .hero-title { font-size: clamp(2.45rem,4.6vw,4.45rem); line-height: 1.04; letter-spacing: -.048em; color: #f6f5ff; background: none; -webkit-text-fill-color: initial; margin: 0 0 1.2rem; text-shadow: none; overflow-wrap: normal; }
body.nn-discovery-v3-home .hero-title span { color: #b9afff; }
body.nn-discovery-v3-home #hero .hero-sub { color: var(--discovery-muted); max-width: 37ch; font-size: clamp(.91rem,1.15vw,1.05rem); line-height: 1.65; margin: 0; }
body.nn-discovery-v3-home .discovery-search { width: 100%; max-width: 480px; margin-top: 1.5rem; display: block; }
body.nn-discovery-v3-home .discovery-search-form { background: #080c17; border-color: #ffffff20; min-height: 54px; backdrop-filter: none; box-shadow: none; }
body.nn-discovery-v3-home .discovery-search-input { font-size: max(16px,1rem); }
.discovery-search-input::placeholder { color: #a2a9bd; }
body.nn-discovery-v3-home #hero .hero-ctas { display: flex; width: 100%; flex-wrap: wrap; gap: .65rem; margin-top: .8rem; }
body.nn-discovery-v3-home .hero-ctas .btn-primary { min-height: 46px; padding: .7rem 1rem; border-radius: 11px; background: #f0ecff; color: #171524; box-shadow: none; font-size: .85rem; }
body.nn-discovery-v3-home .discovery-surprise { width: auto; min-width: 0; min-height: 46px; border-radius: 11px; padding-inline: .95rem; background: transparent; color: #e4e2f1; font-size: .85rem; }
.hero-promises { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1.1rem; color: #a9b0c5; font-size: .72rem; }
.hero-promises span + span::before { content: '·'; margin-right: 1rem; color: #838bac; }
.home-spotlight { min-width: 0; min-height: 400px; background: #0d111d; }
.home-spotlight-card { isolation: isolate; height: 100%; min-height: 400px; position: relative; overflow: hidden; background: linear-gradient(135deg,#132532,#222642); }
.home-spotlight-art { display: block; position: absolute; inset: 0; }
.home-spotlight-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-spotlight-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,#05081326 12%,#070a15a6 65%,#070a15f5),linear-gradient(90deg,#10132130,transparent); pointer-events: none; }
.home-spotlight-top { position: absolute; inset: 1.5rem 1.5rem auto; display: flex; justify-content: space-between; gap: .5rem; color: #f4f3ff; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; pointer-events: none; }
.home-spotlight-top span { padding: .45rem .65rem; background: #070c1ac2; border: 1px solid #ffffff26; border-radius: 6px; }
.home-spotlight-copy { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 400px; padding: clamp(1.5rem,2.5vw,2.5rem); pointer-events: none; }
.home-spotlight-kicker { color: #cccce1; text-transform: uppercase; font-size: .63rem; font-weight: 800; letter-spacing: .14em; margin-bottom: .6rem; }
.home-spotlight-copy h2 { color: #fff; font-family: Syne,system-ui,sans-serif; font-size: clamp(1.45rem,2.35vw,2.4rem); line-height: 1.1; max-width: 18ch; letter-spacing: -.03em; margin: 0 0 1.2rem; }
.home-spotlight-actions { display: flex; flex-wrap: wrap; gap: .6rem; pointer-events: auto; }
.home-spotlight-actions a { flex: 0 1 auto; }
body.nn-discovery-v3-home .home-rail { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .85rem; margin-top: .9rem; width: 100%; }
.home-path, body.nn-discovery-v3-home .home-daily { border: 1px solid #ffffff15; border-radius: 15px; background: #111522; padding: 1.05rem 1.2rem; min-width: 0; box-shadow: none; }
.home-path { display: flex; align-items: center; gap: .9rem; color: #f0eff7; text-decoration: none; }
.home-path:hover { background: #1b2032; border-color: #b5a2ff66; }
.home-path-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: 0 0 40px; background: #c5b1ff15; color: #cabdff; font-size: 1.6rem; }
.home-path b, .home-path small { display: block; }
.home-path b { font-family: Syne,system-ui,sans-serif; font-size: .9rem; margin-bottom: .28rem; }
.home-path small { color: #aeb5c9; font-size: .75rem; line-height: 1.45; }
.home-path-arrow { margin-left: auto; color: #aab2c8; }
.home-daily .rail-head { margin-bottom: .3rem; }
.home-daily .rail-head h3 { font-size: .8rem; }
.home-daily .rail-daily { min-height: 44px; padding: .2rem 0; gap: .65rem; background: transparent; border: 0; }
.home-daily .rail-daily-emoji { font-size: 1.4rem; }
.home-daily .rail-daily-copy { flex: 1; min-width: 0; }
.home-daily .rail-daily-copy b { font-size: .8rem; line-height: 1.45; white-space: normal; }
.home-daily .rail-timer { font-size: .65rem; color: #acb5c9; }
body.nn-discovery-v3-home .discovery-section-head { margin-bottom: 1.15rem; align-items: flex-end; }
body.nn-discovery-v3-home .discovery-section-head h2, body.nn-discovery-v3-home .section-header h2 { font-size: clamp(1.45rem,2.5vw,2.1rem); letter-spacing: -.035em; }
.discovery-section-head p { color: #aab1c5; }
.discovery-section-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: #d5cef1; }
body.nn-discovery-v3-home .flagship-v3-card { display: flex; flex-direction: column; min-height: 0; border-radius: 19px; border-color: #ffffff16; background: #131826; box-shadow: 0 12px 30px #00000024; }
body.nn-discovery-v3-home .flagship-v3-media { display: block; position: relative; inset: auto; aspect-ratio: 16/10; overflow: hidden; }
body.nn-discovery-v3-home .flagship-v3-media::after { background: linear-gradient(180deg,transparent 50%,#131826c9); }
body.nn-discovery-v3-home .flagship-v3-copy { flex: 1; min-height: 0; padding: 1.15rem 1.25rem 1.25rem; justify-content: flex-start; }
body.nn-discovery-v3-home .flagship-v3-label { position: absolute; bottom: calc(100% + .1rem); left: 1rem; margin: 0; color: #ffe2a3; background: #161722ed; border-color: #e0bd5e44; font-size: .6rem; }
body.nn-discovery-v3-home .flagship-v3-copy h3 { font-size: clamp(1.15rem,1.8vw,1.65rem); line-height: 1.25; letter-spacing: -.025em; }
body.nn-discovery-v3-home .flagship-v3-copy p { color: #b5bdd2; font-size: .82rem; line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
body.nn-discovery-v3-home .flagship-v3-meta { margin-top: 1rem; margin-bottom: 1rem; }
body.nn-discovery-v3-home .flagship-v3-meta span { background: #ffffff06; border-color: #ffffff10; color: #b8bfd4; font-size: .66rem; }
body.nn-discovery-v3-home .flagship-v3-actions { margin-top: auto; padding-top: .2rem; }
.flagship-v3-play, .flagship-v3-details { min-height: 46px; border-radius: 10px; font-size: .82rem; }
.flagship-v3-play { background: #e7e1ff; color: #1b1630; box-shadow: none; }
.flagship-v3-play:hover { background: #fff; color: #1b1630; }
.flagship-v3-details { border: 1px solid #ffffff26; background: #ffffff05; color: #d3d5e4; }
.discovery-mood { border-radius: 15px; background: #141925; border-color: #ffffff14; padding: 1.1rem; min-width: 0; }
.discovery-mood small { color: #aeb5ca; line-height: 1.5; }
.discovery-mood-icon { background: #a79af515; border-radius: 12px; padding: .7rem; font-size: 1.3rem; }
body.nn-discovery-v3-home .editors-card { width: clamp(225px,21vw,300px); border-radius: 17px; background: #141925; border-color: #ffffff15; }
body.nn-discovery-v3-home .editors-thumb { height: auto; aspect-ratio: 16/10; }
body.nn-discovery-v3-home .editors-body { padding: 1rem 1.1rem 1.2rem; }
body.nn-discovery-v3-home .editors-body h3 { font-size: 1rem; }
body.nn-discovery-v3-home .editors-body p { color: #b1b9cd; font-size: .8rem; line-height: 1.55; }
.last-played-v3-card { border-radius: 18px; grid-template-columns: minmax(180px,.6fr) minmax(0,1.4fr); min-height: 190px; background: #151a29; }
.last-played-v3-copy { padding: 1.2rem 1.5rem; }
.last-played-v3-copy h3 { font-size: 1.3rem; }
.last-played-v3-copy > p { max-width: 65ch; color: #b5bdd0; font-size: .82rem; }
.discovery-browse-cta { border-radius: 20px; padding: clamp(1.25rem,2.5vw,2.2rem); background: linear-gradient(120deg,#221d3a,#182735); border-color: #a799db26; }
.home-discovery-guide { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,4rem); margin: 3rem 0 0; padding: clamp(1.5rem,3vw,2.5rem) 0; border-top: 1px solid #ffffff17; }
.home-discovery-guide h2 { max-width: 22ch; font-size: clamp(1.45rem,2.2vw,2rem); line-height: 1.2; letter-spacing: -.03em; }
.home-discovery-guide p { color: #aeb6cb; line-height: 1.75; font-size: .86rem; margin-top: .8rem; }
.home-collection-links { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .8rem; }
.home-collection-links a { display: inline-flex; align-items: center; min-height: 44px; color: #d2caff; font-size: .8rem; }
.home-faq details { border-bottom: 1px solid #ffffff16; padding: .8rem 0; }
.home-faq summary { cursor: pointer; min-height: 44px; align-content: center; font-size: .89rem; color: #e4e5ef; padding-right: 1rem; }
.home-faq details p { margin-bottom: .5rem; }
.catalogue-intro-v3 { padding: clamp(1.2rem,2.8vw,2.2rem); border-radius: 22px; background: linear-gradient(120deg,#1b2033,#111725); border-color: #ffffff14; }
.catalogue-intro-v3 h1 { font-size: clamp(2rem,3.5vw,3rem); letter-spacing: -.04em; }
.catalogue-intro-v3 p { color: #b5bdd3; }
.catalogue-search-form { margin-top: 1.1rem; min-height: 54px; background: #0a0f1b; }
.catalogue-search-form input { font-size: max(16px,1rem); }
.catalogue-search-form button { min-height: 44px; font-size: .85rem; }
body.nn-discovery-v3-games #experience-bar { position: static; padding: 1rem; background: #111623; backdrop-filter: none; border-radius: 18px; }
.experience-selector { display: flex; flex-wrap: wrap; gap: .5rem; }
.exp-pill { min-height: 44px; }
.catalogue-refine { margin-top: 1rem; border-top: 1px solid #ffffff12; }
.catalogue-refine > summary { cursor: pointer; min-height: 48px; padding: .7rem .2rem; color: #dadbea; font-size: .85rem; font-weight: 700; }
.catalogue-refine > summary span { float: right; padding: .12rem .5rem; border-radius: 6px; background: #ffffff08; color: #b5bcd0; font-size: .68rem; }
.catalogue-refine .games-filter-bar { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; margin-top: .45rem; }
.catalogue-refine .filter-select { display: flex; flex-direction: column; gap: .4rem; min-width: 0; background: none; padding: 0; border: 0; }
.catalogue-refine .filter-select-label { color: #aeb8ce; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .075em; }
.catalogue-refine select { width: 100%; min-width: 0; min-height: 46px; border: 1px solid #ffffff24; border-radius: 10px; background: #0c111d; color: #e8e9f2; padding: .6rem .75rem; font-size: .82rem; }
.catalogue-refine .filter-clear { min-height: 44px; padding-inline: 1rem; justify-self: start; border-radius: 9px; color: #d6cbff; }
.catalogue-results-summary { color: #b9c1d5; font-size: .8rem; margin: .9rem .2rem 0; min-height: 1.3em; }
.catalogue-empty { grid-column: 1/-1; display: flex; flex-direction: column; align-items: center; padding: 3rem 1.5rem; border: 1px dashed #8d81b957; border-radius: 20px; background: #151726; text-align: center; }
.catalogue-empty > span { font-size: 2.3rem; color: #c4b7ff; }
.catalogue-empty h3 { margin: .5rem 0; font-size: 1.4rem; }
.catalogue-empty p { color: #b6bdd0; max-width: 40ch; line-height: 1.6; }
.catalogue-empty button { margin-top: 1.4rem; min-height: 46px; }
body.nn-discovery-v3-games .games-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(.75rem,1.5vw,1.4rem); }
body.nn-discovery-v3-games .game-card { border-radius: 16px; background: #141a27; border-color: #ffffff17; }
body.nn-discovery-v3-games .game-card-desc { display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #b4bdd0; font-size: .78rem; line-height: 1.55; }
body.nn-discovery-v3-games .game-card-title { font-size: 1rem; line-height: 1.35; }
body.nn-discovery-v3-games .game-card-actions { padding: .75rem; gap: .4rem; }
body.nn-discovery-v3-games .game-card-actions a { min-height: 44px; }
body.nn-discovery-v3-games .game-card-stats { color: #afb9ce; font-size: .66rem; }
body.nn-discovery-v3-detail .gd-wrap { max-width: 1200px; }
body.nn-discovery-v3-detail .gd-hero { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: clamp(1.1rem,2.2vw,2rem); padding: clamp(1rem,2.4vw,2rem); background: #141a29; border-radius: 22px; }
body.nn-discovery-v3-detail .gd-thumb { width: 100%; min-width: 0; height: auto; align-self: center; border-radius: 15px; }
body.nn-discovery-v3-detail .gd-head { min-width: 0; padding: .4rem 0; }
body.nn-discovery-v3-detail .gd-head h1 { font-size: clamp(1.6rem,3vw,2.65rem); line-height: 1.15; overflow-wrap: anywhere; }
body.nn-discovery-v3-detail .gd-head p { color: #bbc3d6; line-height: 1.65; }
body.nn-discovery-v3-detail .gd-section { border-color: #ffffff14; border-radius: 16px; background: #121825; }
body.nn-discovery-v3-detail .gd-play { min-height: 48px; }
body.nn-discovery-v3-detail .gd-share, body.nn-discovery-v3-detail .gd-rate-btn { min-height: 44px; }
@media (min-width: 1700px) { body.nn-discovery-v3 #main { max-width: 1720px; } body.nn-discovery-v3-games .games-grid { grid-template-columns: repeat(5,minmax(0,1fr)); } }
@media (max-width: 1200px) { body.nn-discovery-v3 #top-nav .nav-link { padding-inline: .55rem; font-size: .83rem; } body.nn-discovery-v3 #top-nav #btn-create { display: none; } body.nn-discovery-v3-games .games-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } .home-path,body.nn-discovery-v3-home .home-daily { padding: .9rem; } }
/* Preserve the authored compact header metrics when the wider Syne logo loads. */
@media (min-width: 769px) and (max-width: 900px) {
  body.nn-discovery-v3-home #top-nav .nav-link { padding-inline: .45rem; font-size: .78rem; }
}
@media (max-width: 1000px) { body.nn-discovery-v3-home .home-top #hero .hero-inner { grid-template-columns: minmax(0,1fr) minmax(0,.9fr); } body.nn-discovery-v3-home .hero-text { padding: 1.6rem; } body.nn-discovery-v3-home .hero-title { font-size: clamp(2.2rem,4.5vw,3.2rem); } .home-path-icon { display: none; } .home-spotlight-copy { padding: 1.5rem; } .flagship-v3-grid.is-expanded { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 768px) {
  body.nn-discovery-v3 #main { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
  body.nn-discovery-v3 #top-nav { gap: .5rem; }
  body.nn-discovery-v3 #top-nav .nav-search-btn { min-width: 40px; min-height: 44px; }
  body.nn-discovery-v3-home #hero { border-radius: 20px; }
  body.nn-discovery-v3-home .home-top #hero .hero-inner { grid-template-columns: 1fr; padding: 0 !important; }
  body.nn-discovery-v3-home .hero-text { padding: 1.35rem 1.25rem; }
  body.nn-discovery-v3-home .hero-title { font-size: clamp(2.05rem,7.7vw,3.2rem); margin-bottom: .8rem; }
  body.nn-discovery-v3-home .hero-badge { margin-bottom: .9rem; font-size: .65rem; }
  body.nn-discovery-v3-home #hero .hero-sub { font-size: .87rem; max-width: 45ch; line-height: 1.6; }
  body.nn-discovery-v3-home .discovery-search { margin-top: 1rem; max-width: none; }
  body.nn-discovery-v3-home .hero-ctas .btn-primary,body.nn-discovery-v3-home .discovery-surprise { flex: 1; padding-inline: .75rem; font-size: .78rem; }
  .hero-promises { margin-top: .9rem; gap: .45rem .65rem; font-size: .64rem; }
  .hero-promises span + span::before { margin-right: .65rem; }
  .home-spotlight,.home-spotlight-card,.home-spotlight-copy { min-height: 250px; }
  .home-spotlight-copy { padding: 1.25rem; }
  .home-spotlight-top { inset: 1rem 1.25rem auto; }
  .home-spotlight-copy h2 { font-size: 1.45rem; max-width: 23ch; margin-bottom: .9rem; }
  .home-spotlight-actions a { min-height: 44px; padding-inline: 1rem; }
  .home-spotlight-kicker { font-size: .6rem; }
  body.nn-discovery-v3-home .home-rail { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; }
  body.nn-discovery-v3-home .home-daily { grid-column: 1/-1; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; padding-block: .6rem; }
  .home-daily .rail-head { flex: 1 1 160px; margin: 0; }
  .home-daily .rail-daily { flex: 1.4 1 180px; }
  .home-path { min-height: 85px; padding: .9rem; }
  .home-path b { font-size: .81rem; }.home-path small { font-size: .68rem; }
  body.nn-discovery-v3-home .discovery-section-head { align-items: center; gap: .6rem; }
  body.nn-discovery-v3-home .discovery-section-head h2 { font-size: 1.45rem; }
  .discovery-section-link { white-space: normal; max-width: 110px; line-height: 1.4; font-size: .76rem; }
  .discovery-eyebrow { font-size: .58rem; letter-spacing: .12em; }
  .flagship-v3-grid.is-expanded { grid-template-columns: 1fr; }
  body.nn-discovery-v3-home .flagship-v3-media { aspect-ratio: 16/9; }
  body.nn-discovery-v3-home .flagship-v3-copy { padding: 1rem 1.1rem 1.1rem; }
  body.nn-discovery-v3-home .flagship-v3-copy h3 { font-size: 1.4rem; }
  body.nn-discovery-v3-home .flagship-v3-copy p { -webkit-line-clamp: 2; }
  .last-played-v3-card { grid-template-columns: minmax(90px,.7fr) minmax(0,1.3fr); min-height: 180px; }
  .last-played-v3-media { height: 100%; aspect-ratio: auto; }
  .last-played-v3-copy { padding: 1rem; }.last-played-v3-copy h3 { font-size: 1.1rem; }
  .last-played-v3-copy > p { display: none; }
  .last-played-v3-copy .flagship-v3-actions { margin-top: .75rem; }
  .last-played-v3-copy .flagship-v3-details { display: none; }
  .discovery-mood { padding: .9rem; gap: .65rem; }.discovery-mood-icon { padding: .4rem; font-size: 1.1rem; }
  .discovery-mood b { font-size: .82rem; }.discovery-mood small { font-size: .69rem; }
  .home-discovery-guide { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2rem; }
  .home-discovery-guide h2 { max-width: 28ch; }
  .catalogue-intro-v3 { padding: 1.25rem; }.catalogue-intro-v3 h1 { font-size: 2rem; }
  .catalogue-intro-v3-count { font-size: .7rem; }
  body.nn-discovery-v3-games #experience-bar { padding: .8rem; }
  .experience-selector { flex-wrap: nowrap; overflow-x: auto; padding: .25rem .15rem .6rem; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .exp-pill { flex: 0 0 auto; scroll-snap-align: start; }
  .catalogue-refine .games-filter-bar { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
  .catalogue-refine select { font-size: 16px; padding-inline: .5rem; }
  body.nn-discovery-v3-games .games-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
  body.nn-discovery-v3-games .game-card-title { font-size: .86rem; }
  body.nn-discovery-v3-games .game-card-desc { -webkit-line-clamp: 2; font-size: .72rem; }
  body.nn-discovery-v3-games .game-card-actions { padding: .6rem; }
  body.nn-discovery-v3-detail .gd-hero { grid-template-columns: 1fr; padding: 1rem; gap: 1rem; }
  body.nn-discovery-v3-detail .gd-thumb { margin: 0; }.catalogue-expect-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 370px) { .home-spotlight,.home-spotlight-card,.home-spotlight-copy { min-height: 230px; } .home-spotlight-top { inset-inline: 1rem; } .home-spotlight-copy { padding: 1rem; } .home-spotlight-copy h2 { font-size: 1.3rem; } .home-spotlight-actions { gap: .4rem; } .home-spotlight-actions a { font-size: .75rem; padding-inline: .8rem; } .discovery-mood { flex-direction: column; align-items: flex-start; } body.nn-discovery-v3-games .games-grid { grid-template-columns: 1fr; } .catalogue-expect-grid { grid-template-columns: 1fr !important; } }
@media (max-height: 500px) and (orientation: landscape) { body.nn-discovery-v3 #top-nav { position: absolute; } body.nn-discovery-v3 #bottom-nav { position: static; } body.nn-discovery-v3-home .home-top #hero .hero-inner { grid-template-columns: 1fr 1fr; } body.nn-discovery-v3-home .hero-title { font-size: 2rem; } body.nn-discovery-v3-home .hero-promises { display: none; } .home-spotlight,.home-spotlight-card,.home-spotlight-copy { min-height: 320px; } }
@media (prefers-reduced-motion: reduce) { body.nn-discovery-v3, body.nn-discovery-v3 * { scroll-behavior: auto !important; } body.nn-discovery-v3 .fade-up { animation: none !important; opacity: 1 !important; transform: none !important; } body.nn-discovery-v3 :is(.flagship-v3-card,.game-card,.editors-card,.home-spotlight-art img,.home-path) { transition: none !important; transform: none !important; } }

/* Catalogue sort stays visible while optional filters are collapsed. */
.catalogue-sort { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; color: #b7bfd2; font-size: .8rem; }
.catalogue-sort select { min-height: 44px; max-width: 100%; padding: .55rem .75rem; border: 1px solid #ffffff24; border-radius: 9px; color: #e3e4f1; background: #0c111d; font: inherit; }
.home-spotlight-empty { display: grid; place-items: center; min-height: 250px; padding: 2rem; color: #d7caff; }
body.nn-discovery-v3 [hidden] { display: none !important; }

.catalogue-search-form { display: flex; align-items: center; gap: .65rem; border: 1px solid #ffffff24; border-radius: 12px; padding: .3rem .4rem .3rem .85rem; }
.catalogue-search-form svg { flex-shrink: 0; color: #b3b9cf; }
.catalogue-search-form input { flex: 1; width: 100%; min-width: 0; min-height: 44px; border: 0; background: transparent; color: #eeedf7; }
.catalogue-search-form button { flex-shrink: 0; border: 0; border-radius: 9px; padding: .6rem .85rem; background: #d9d1f5; color: #1b1730; font-weight: 700; cursor: pointer; }
/* Do not leave an orphan label when the catalogue omits rating widgets. */
body.nn-discovery-v3-games .game-card-rating-row { display: none !important; }
body.nn-discovery-v3-home .last-played-v3-scope { display: inline-block; }

body.nn-discovery-v3 .game-card-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: .45rem; }
body.nn-discovery-v3 .game-card-actions > a { display: inline-flex; flex: 1 0 auto; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: 9px; padding: .65rem .7rem; text-align: center; }
body.nn-discovery-v3 .game-card-details { color: #d2c9f0; border: 1px solid #ffffff20; background: #ffffff05; }
body.nn-discovery-v3 #top-nav .nav-search-btn { min-width: 44px; min-height: 44px; }
body.nn-discovery-v3 .view-mode-toggle button, body.nn-discovery-v3 .view-mode-toggle a { min-height: 44px; }
body.nn-discovery-v3 .view-mode-toggle { min-width: 44px; min-height: 44px; }
