/* Northcell Play - the lobby and the category pages only (moved out of play.css in redesign step 3a so a game page does not load them; DECISIONS 119). */
/* ---- portal home (WAVE5 lobby: dark-first canvas, feature strip, mood chips, art tiles) ---- */
.wrapper { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }
.hero { padding: 18px 0 4px; }
.hero h1 { margin: 0 0 2px; font-size: 1.9rem; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.hero p { margin: 0; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; padding: 0; list-style: none; }
.chips a, .chips b { display: inline-block; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); color: var(--fg); text-decoration: none; font-size: .92rem; font-weight: 700; transition: transform var(--nc-fast) var(--nc-out); }
.chips b { background: var(--fam-deep); border-color: var(--fam-deep); color: #fff; }
.chips a:hover, .chips a:focus-visible { border-color: var(--accent); }
.chips a:active { transform: scale(.96); }
.feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; align-items: center; margin: 14px 0 0; padding: 14px; border-radius: 20px; border: 1px solid var(--rule);
  background: linear-gradient(135deg, color-mix(in srgb, var(--fam-base) 26%, var(--card)), var(--card) 72%); }
.feature-art { display: block; border-radius: 14px; }
.feature-art img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; border-radius: 14px; box-shadow: 0 2px 0 rgba(0,0,0,.2), 0 14px 26px -12px var(--nc-shadow); }
.feature-body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.kicker { margin: 0; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.feature-body h2 { margin: 0; font-size: 1.9rem; line-height: 1.1; font-weight: 800; letter-spacing: -.01em; }
.feature-body h2 { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* the daily pick is filled in after load: one line, so a long name never moves the page */
.feature-body .nc-btn { max-width: 100%; display: inline-block; overflow: hidden; text-overflow: ellipsis; line-height: 42px; }   /* a long featured name ("Play Tic Tac Toe Ultimate") ends in an ellipsis: never wider than the column at 360 px, never taller (the daily pick is set after load) */
.feature-pitch { margin: 0; min-height: 3.3em; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.moods { display: flex; gap: 10px; margin: 16px 0 0; padding: 2px 0 6px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.moods li { flex: 0 0 auto; scroll-snap-align: start; }
.mood { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 10px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 800; font-size: .98rem; white-space: nowrap;
  background: linear-gradient(135deg, var(--m-a), var(--m-b)); box-shadow: 0 2px 0 rgba(0,0,0,.28), 0 8px 16px -8px var(--nc-shadow); text-shadow: 0 1px 0 rgba(0,0,0,.35); transition: transform var(--nc-fast) var(--nc-out); }
.mood svg { width: 30px; height: 30px; flex: none; }
.mood:active { transform: scale(.96); }
.mood:focus-visible { outline: 3px solid var(--fg); outline-offset: 2px; }
.row-h { display: flex; align-items: center; gap: 10px; margin: 30px 0 12px; font-size: 1.1rem; line-height: 1.2; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; text-shadow: 0 2px 0 var(--rule); }
.row-h::before { content: ""; flex: none; width: 8px; height: 1.25em; border-radius: 4px; background: linear-gradient(var(--fam-bright), var(--fam-base)); box-shadow: 0 1px 0 rgba(0,0,0,.25); }
.empty { color: var(--muted); font-size: .95rem; margin: 0; }
.browse { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
@media (max-width: 719px) {
  .hero h1 { font-size: 1.6rem; }
  .feature { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 12px; padding: 10px; border-radius: 16px; }
  .feature-body { gap: 4px; }
  .feature-body h2 { font-size: 1.25rem; }
  .feature-pitch { min-height: 3.2em; font-size: .88rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .kicker { font-size: .7rem; }
}
.mood-fun { --m-a: var(--mood-fun-a); --m-b: var(--mood-fun-b); }
.mood-think { --m-a: var(--mood-think-a); --m-b: var(--mood-think-b); }
.mood-table { --m-a: var(--mood-table-a); --m-b: var(--mood-table-b); }
.mood-word { --m-a: var(--mood-word-a); --m-b: var(--mood-word-b); }
.mood-two { --m-a: var(--mood-two-a); --m-b: var(--mood-two-b); }

/* ---- reduced motion: the chips and tiles do not move ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .chips a:active, .mood:active { transform: none; }
}
