/*
 * GrooVVee — layout for the Music, Movies and Marketplace screens (shelves, tiles, album and movie pages).
 * Scoped to .fg so no other page changes. Colours and font come from the app's own tokens (css/tokens.css), so these
 * screens look like the rest of the app.
 */
.fg {
  --fg-bg: var(--bg-base);
  --fg-ink: var(--text-primary);
  --fg-ink2: var(--text-secondary);
  --fg-line: var(--border-subtle, #e5e5e5);
  --fg-dark: var(--primary-800);
  --fg-card: var(--bg-elevated);
  font-family: inherit;
  background: var(--fg-bg);
  color: var(--fg-ink);
  margin: 0;
  padding: 12px 0 96px;
  min-height: 100%;
}
.fg *, .fg *::before, .fg *::after { font-family: inherit; }
.fg button { font-family: inherit; }

/* header: Categories pill, active filter chip */
.fg-bar { display: flex; align-items: center; gap: 8px; padding: 4px 16px 12px; position: relative; }
.fg-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px;
  border: 1px solid var(--fg-ink); border-radius: 999px; background: transparent; color: var(--fg-ink);
  font-size: 14px; font-weight: 500; cursor: pointer;
}
.fg-pill--on { background: var(--bg-overlay); border-color: var(--primary-500); }
.fg-x {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--fg-ink); background: transparent; color: var(--fg-ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; line-height: 1;
}
.fg-menu {
  position: absolute; z-index: 20; top: 46px; left: 16px; min-width: 190px; max-height: 60vh; overflow: auto;
  background: #fff; border-radius: 14px; box-shadow: 0 8px 28px rgba(0, 0, 0, .18); padding: 6px 0;
}
.fg-menu button {
  display: block; width: 100%; text-align: left; background: none; border: 0; padding: 11px 16px; font-size: 14px;
  font-weight: 500; color: var(--fg-ink); cursor: pointer;
}
.fg-menu button:hover, .fg-menu button[aria-checked="true"] { background: var(--bg-elevated); }

/* shelves */
.fg-shelf { margin: 0 0 22px; }
.fg-shelf__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 16px; }
.fg-shelf__title { margin: 0; font-size: 16px; font-weight: 500; letter-spacing: 0; }
.fg-shelf__sub { margin: 2px 16px 0; font-size: 14px; font-weight: 400; color: var(--fg-ink2); }
.fg-all { background: none; border: 0; padding: 0; font-size: 12px; font-weight: 400; color: var(--fg-ink); cursor: pointer; }
.fg-row {
  display: flex; gap: 12px; overflow-x: auto; padding: 12px 16px 2px; scroll-snap-type: x proximity;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.fg-row::-webkit-scrollbar { display: none; }

.fg-tile { flex: 0 0 auto; width: 112px; text-align: left; scroll-snap-align: start; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }
.fg-tile--wide { width: 128px; }
.fg-tile__art {
  position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-overlay), var(--primary-300));
}
.fg-tile__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fg-tile__name { display: block; margin-top: 8px; font-size: 14px; font-weight: 500; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fg-tile__meta { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--fg-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fg-play {
  position: absolute; right: 6px; bottom: 6px; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--text-primary); display: flex; align-items: center; justify-content: center;
}
.fg-play svg { width: 12px; height: 12px; margin-left: 1px; }

/* "stacked cards" look for chart / new-release tiles */
.fg-stack { margin-top: 8px; }
.fg-stack .fg-tile__art { box-shadow: 0 -6px 0 -2px var(--primary-300), 0 -11px 0 -4px var(--bg-overlay); }

/* promo banner */
.fg-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 16px 22px; padding: 0 14px;
  height: 52px; border-radius: 12px; color: #fff; text-decoration: none;
  background: linear-gradient(90deg, var(--primary-900), var(--primary-700) 60%, var(--primary-900));
}
.fg-banner__text { font-size: 15px; font-weight: 800; letter-spacing: -.1px; }
.fg-banner__btn { background: #fff; color: var(--text-primary); border: 0; border-radius: 999px; font-size: 11px; font-weight: 600; padding: 6px 12px; cursor: pointer; }

/* artists */
.fg-artist { flex: 0 0 auto; width: 112px; text-align: left; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; }
.fg-artist__art {
  display: block; width: 100%; height: 136px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(160deg, var(--bg-overlay), var(--primary-400));
}
.fg-artist__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fg-artist__name { display: block; margin-top: 8px; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* my music strip (upload, playlists, radio) */
.fg-mine { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 16px; }
.fg-mine .fg-pill { height: 34px; font-size: 13px; }
.fg-empty { padding: 28px 16px; color: var(--fg-ink2); font-size: 14px; }

/* album / title page */
.fg-hero { position: relative; padding: 12px 16px 18px; text-align: center; overflow: hidden; }
.fg-hero__bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(26px) saturate(1.1); opacity: .55; z-index: 0; }
.fg-hero__fade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, var(--fg-bg) 92%); z-index: 1; }
.fg-hero > * { position: relative; z-index: 2; }
.fg-back {
  position: absolute !important; left: 14px; top: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: rgba(0, 0, 0, .6); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 3 !important;
}
.fg-cover { width: min(70vw, 280px); aspect-ratio: 1 / 1; margin: 44px auto 14px; border-radius: 6px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.25); background: linear-gradient(135deg, var(--bg-overlay), var(--primary-300)); }
.fg-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fg-title { margin: 0; font-size: 18px; font-weight: 500; }
.fg-by { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; font-weight: 500; letter-spacing: .2px; text-transform: uppercase; }
.fg-by img, .fg-by .fg-by__dot { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; background: var(--primary-400); }
.fg-meta { margin-top: 4px; font-size: 12px; font-weight: 400; color: var(--fg-ink2); }
.fg-actions { display: flex; justify-content: center; gap: 36px; margin: 16px 0 14px; }
.fg-act { background: none; border: 0; color: var(--fg-ink); font-size: 12px; font-weight: 400; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.fg-act svg { width: 24px; height: 24px; }
.fg-cta { display: flex; gap: 10px; padding: 0 16px; }
.fg-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 999px;
  font-size: 14px; font-weight: 500; cursor: pointer; border: 1px solid var(--fg-dark);
}
.fg-btn--solid { background: var(--fg-dark); color: #fff; }
.fg-btn--line { background: transparent; color: var(--fg-ink); }
.fg-btn--full { width: 100%; flex: none; }
.fg-tracks { list-style: none; margin: 18px 0 0; padding: 0 16px; }
.fg-track { display: flex; align-items: center; gap: 10px; padding: 9px 0; cursor: pointer; }
.fg-track__n { width: 26px; font-size: 15px; font-weight: 500; text-align: right; }
.fg-track__body { flex: 1; min-width: 0; }
.fg-track__name { font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fg-track__by { font-size: 12px; font-weight: 400; color: var(--fg-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fg-track__more { background: none; border: 0; padding: 6px; color: var(--fg-ink); cursor: pointer; font-size: 18px; line-height: 1; }
.fg-tabs { display: flex; margin: 16px 16px 4px; border-bottom: 1px solid var(--fg-line); }
.fg-tab { flex: 1; text-align: center; padding: 10px 0; background: none; border: 0; border-bottom: 2px solid transparent; font-size: 14px; font-weight: 400; color: var(--fg-ink2); cursor: pointer; }
.fg-tab[aria-selected="true"] { color: var(--fg-ink); font-weight: 500; border-bottom-color: var(--fg-ink); }
.fg-details { padding: 12px 16px; font-size: 14px; color: var(--fg-ink2); line-height: 1.5; }
.fg-mount { padding: 12px 16px 0; }
.fg-act.is-on { color: var(--error-500); }
.fg-act.is-on svg { fill: currentColor; }

/* ── Movies ─────────────────────────────────────────────────────────────────────────────── */
.fg-tile--poster { width: 92px; }
.fg-tile--poster .fg-tile__art { aspect-ratio: 2 / 3; border-radius: 8px; }
.fg-tile__art video, .fg-tile__art .nf-art { width: 100%; height: 100%; object-fit: cover; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 600; color: #fff; }
.fg-tile__art .nf-art { background: linear-gradient(135deg, var(--primary-600), var(--primary-800)); }
.fg-badge { position: absolute; left: 4px; top: 4px; background: rgba(0,0,0,.65); color: #fff; font-size: 10px; font-weight: 500; padding: 2px 6px; border-radius: 6px; }
.fg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 12px 16px 4px; }
.fg-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px 0 4px; }
.fg-grid .fg-tile--poster { width: auto; }
.fg-carousel { margin: 0 0 18px; }
.fg-carousel__track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px; scrollbar-width: none; }
.fg-carousel__track::-webkit-scrollbar { display: none; }
.fg-slide { position: relative; flex: 0 0 calc(100% - 44px); aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; scroll-snap-align: center; background: var(--primary-900); cursor: pointer; }
.fg-slide__media, .fg-slide__media img, .fg-slide__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fg-slide__media .nf-art { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; color: #fff; background: linear-gradient(135deg, var(--primary-600), var(--primary-800)); }
.fg-slide__cap { position: absolute; left: 12px; bottom: 10px; right: 12px; color: #fff; font-size: 15px; font-weight: 600; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.fg-slide__play { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 0; background: rgba(255,255,255,.35); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(3px); }
.fg-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.fg-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; border: 1px solid var(--primary-300); }
.fg-dot.is-on { background: var(--primary-800); border-color: var(--primary-800); }

/* detail page */
.fg-sheet { position: fixed; inset: 0; z-index: 9000; margin: 0; padding: 0; min-height: 0; background: var(--fg-bg); }
.fg-sheet__scroll { height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 40px; }
.fg-sheet__preview { position: relative; aspect-ratio: 16 / 9; background: var(--primary-900); overflow: hidden; }
.fg-sheet__preview img, .fg-sheet__preview video { width: 100%; height: 100%; object-fit: cover; display: block; }
.fg-sheet__preview .nf-art { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 56px; color: #fff; }
.fg-sheet__body { padding: 14px 16px 0; }
.fg-sheet__title { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.fg-sheet__facts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: var(--fg-ink2); margin-bottom: 8px; }
.fg-chip { border: 1px solid var(--fg-ink2); border-radius: 3px; padding: 0 4px; font-size: 11px; line-height: 15px; }
.fg-rank { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; margin: 6px 0 14px; }
.fg-rank__n { background: var(--error-500); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 6px; border-radius: 3px; }
.fg-circles { display: flex; gap: 22px; margin: 16px 0 14px; flex-wrap: wrap; }
.fg-circle { background: none; border: 0; color: var(--fg-ink); font-size: 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.fg-circle__ico { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--fg-ink); background: var(--bg-elevated); display: flex; align-items: center; justify-content: center; }
.fg-circle.is-on .fg-circle__ico { background: var(--fg-dark); color: #fff; }
.fg-sheet__desc { font-size: 15px; line-height: 1.5; margin: 6px 0 4px; }

/* product chip on a Short (Buy from Shorts) */
.feed-item__shop {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin-top: 10px; padding: 6px 8px 6px 6px;
  background: rgba(255, 255, 255, .94); color: var(--text-primary); border: 0; border-radius: 12px; cursor: pointer; text-align: left;
}
.feed-item__shop img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.feed-item__shop-text { display: flex; flex-direction: column; min-width: 0; }
.feed-item__shop-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.feed-item__shop-price { font-size: 12px; color: var(--text-secondary); }
.feed-item__shop-cta { background: var(--primary-800); color: #fff; font-size: 12px; font-weight: 600; padding: 7px 14px; border-radius: 999px; }

/* Responsiveness: off-screen shelves cost nothing until they scroll near. */
.fg-shelf { content-visibility: auto; contain-intrinsic-size: auto 240px; }
@media (prefers-reduced-motion: reduce) { .page-enter { animation: none !important; } }

/* Ask AI typing indicator */
.ask-ai-dots { display: inline-flex; gap: 4px; align-items: center; height: 18px; }
.ask-ai-dots i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .35; animation: ask-ai-bounce 1s infinite ease-in-out; }
.ask-ai-dots i:nth-child(2) { animation-delay: .15s; }
.ask-ai-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes ask-ai-bounce { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

/* "Sensitive content" cover (modules/_shared/sensitive.js) */
[data-sensitive="1"] { position: relative; }
.sens-cover {
  position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; text-align: center; color: #fff; background: rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px);
  cursor: pointer; font-size: 13px; line-height: 1.2; padding: 8px;
}
.sens-cover small { opacity: .85; font-size: 11px; }
[data-sensitive="1"].is-revealed > .sens-cover, [data-sensitive="1"].is-revealed .sens-cover { display: none; }

/* a tagged product on a Home video card */
.video-card__shop { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; background: var(--primary-800); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px 3px 3px; border-radius: 999px; max-width: calc(100% - 16px); }
.video-card__shop img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: #fff; }
.video-card__shop span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.watch-overlay__shop { margin: 8px 0 4px; background: var(--bg-surface, #fff); border: 1px solid var(--border-default, #e5e7eb); }

/* Promote sheet (boost your own video or product) */
.promote-sheet { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,.55); }
.promote-sheet__panel { width: 100%; max-width: 520px; max-height: 94vh; max-height: 94dvh; display: flex; flex-direction: column; background: var(--bg-surface, #fff); color: var(--text-primary, #111); border-radius: 20px 20px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.35); }
.promote-sheet__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border-default, #e5e7eb); }
.promote-sheet__head img, .promote-sheet__ico { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--primary-800, #333); color: #fff; display: grid; place-items: center; flex: 0 0 auto; }
.promote-sheet__headtext { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.promote-sheet__headtext small { color: var(--text-secondary, #666); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.promote-sheet__x { background: none; border: 0; font-size: 18px; color: inherit; cursor: pointer; padding: 6px 10px; }
.promote-sheet__body { overflow-y: auto; padding: 4px 16px 8px; flex: 1 1 auto; }
.promote-sheet__body h3 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-secondary, #666); margin: 16px 0 8px; }
.promote-sheet__offer { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #fff7d6; color: #5a4300; font-size: 0.8125rem; }
.promote-sheet__goals { display: grid; gap: 8px; }
.promote-sheet__goal { text-align: left; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--border-default, #e5e7eb); background: transparent; color: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.promote-sheet__goal small { color: var(--text-secondary, #666); }
.promote-sheet__goal.is-on, .promote-sheet__chips button.is-on { border-color: var(--primary-800, #111); background: var(--primary-800, #111); color: #fff; }
.promote-sheet__goal.is-on small { color: rgba(255,255,255,.8); }
.promote-sheet__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.promote-sheet__row label { display: flex; flex-direction: column; gap: 4px; font-size: 0.75rem; color: var(--text-secondary, #666); }
.promote-sheet__pick { text-align: left; cursor: pointer; }
.promote-sheet__countries { max-height: 180px; overflow-y: auto; border: 1px solid var(--border-default, #e5e7eb); border-radius: 12px; padding: 8px 10px; display: grid; gap: 4px; margin-bottom: 8px; }
.promote-sheet__countries label { display: flex; gap: 8px; align-items: center; font-size: 0.875rem; }
.promote-sheet__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.promote-sheet__chips button { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--border-default, #e5e7eb); background: transparent; color: inherit; cursor: pointer; font-weight: 600; }
.promote-sheet__sum { margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--bg-elevated, #f3f4f6); display: grid; gap: 4px; font-size: 0.9375rem; }
.promote-sheet__bal { color: var(--text-secondary, #666); font-size: 0.8125rem; }
.promote-sheet__foot { padding: 10px 16px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border-default, #e5e7eb); }
.promote-sheet__fine { margin: 8px 0 0; font-size: 0.6875rem; color: var(--text-secondary, #666); text-align: center; }

/* Promoted campaign results (Ad Manager) */
.promo-card { display: grid; gap: 8px; }
.promo-card__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; }
.promo-card__stats b { display: block; font-size: 1.0625rem; }
.promo-card__stats small { color: var(--text-secondary, #666); font-size: 0.6875rem; }
.promo-chart { display: flex; align-items: flex-end; gap: 4px; height: 72px; }
.promo-chart span { flex: 1; background: var(--primary-800, #111); border-radius: 3px 3px 0 0; min-height: 2px; opacity: .85; }
.promo-chart__labels { display: flex; gap: 4px; font-size: 0.625rem; color: var(--text-secondary, #666); }
.promo-chart__labels span { flex: 1; text-align: center; }

/* Earnings & payouts */
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.pay-card { display: flex; flex-direction: column; gap: 2px; padding: 14px; }
.pay-card small { color: var(--text-secondary, #666); font-size: 0.75rem; }
.pay-card b { font-size: 1.375rem; }
.pay-card--main { grid-column: 1 / -1; background: var(--primary-800, #111); color: #fff; }
.pay-card--main small { color: rgba(255,255,255,.75); }
.pay-card--main b { font-size: 2rem; }
.pay-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--border-default, #eee); }
.pay-row:first-of-type { border-top: 0; }

/* Movies exactly as the Figma design: the cream page, its own title bar (← Movies ✦ 🔍), the banner's dots on the picture. */
.fg-movies { --fg-bg: #fffce6; padding-top: 4px; }
.fg-head { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 8px; padding: 4px 12px 10px; }
.fg-head__title { margin: 0; text-align: center; font-weight: 700; color: var(--fg-ink); } /* size: the app-wide text rule (css/typography.css) */
.fg-head__end { display: flex; align-items: center; gap: 4px; }
.fg-head__btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: none; color: var(--fg-ink); cursor: pointer; }
.fg-head__btn:active { background: rgba(0, 0, 0, .06); }
.fg-search { padding: 0 16px 10px; }
.fg-movies .fg-carousel { position: relative; }
.fg-movies .fg-dots { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; z-index: 2; }
.fg-movies .fg-dot { background: rgba(255, 255, 255, .7); }
.fg-movies .fg-dot.is-on { background: #111; }
/* Rows start 16 px in from the edge, as in the design (snapping used to pull the first poster to the very edge). */
.fg-movies .fg-row, .fg-movies .fg-carousel__track { scroll-padding-inline: 16px; }

/* Movies: Upload / Stream / AI Movie Studio at the top, right under Categories (one scrolling row). */
.fg-mine--top { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px 12px; scrollbar-width: none; flex-wrap: nowrap; }
.fg-mine--top::-webkit-scrollbar { display: none; }
.fg-mine--top .fg-pill { flex: none; white-space: nowrap; }
