/* ════════════════════════════════════════════════════════════════════
   Browse — billboard + rows. Netflix-shaped, Trackman-branded.
   Authored at 1920×1080. D-pad focus is the primary state.
   ════════════════════════════════════════════════════════════════════ */

.browse-view {
  overflow: hidden;
  background: #000;
}

.browse-nav {
  z-index: 6;
}

.browse-nav .nav-inner {
  padding-bottom: 28px;
}

.browse-scroll {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.browse-billboard {
  position: relative;
  flex: 0 0 560px;
  height: 560px;
  padding: 140px var(--pad-x) 56px;
  display: flex;
  align-items: flex-end;
}

.browse-hero-bg {
  position: absolute;
  inset: 0;
  background-size: 240% 240%;
  animation: bgPan 18s ease infinite;
  filter: saturate(1.25) brightness(1.35);
}

.browse-hero-art {
  position: absolute;
  right: 4%;
  top: 90px;
  bottom: 80px;
  width: 48%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.browse-hero-art img {
  max-width: 72%;
  max-height: 72%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.22;
  filter: brightness(0) invert(1);
}

.browse-hero-art img.is-color-logo {
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.45));
}

.browse-hero-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.28) 46%, rgba(0, 0, 0, 0.04) 78%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.42) 72%, #000 100%);
}

.browse-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.browse-hero-kicker {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tm-orange);
}

.browse-hero-logo {
  height: 72px;
}

.browse-hero-logo img {
  display: block;
  height: 72px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 4px 18px rgba(0, 0, 0, 0.65));
}

.browse-hero-logo img.is-color-logo {
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.65));
}

.browse-hero-title {
  font-size: 68px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.94;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.browse-hero-meta {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-60);
}

.browse-hero-synopsis {
  font-size: 22px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  max-width: 720px;
}

.browse-hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.browse-btn {
  min-height: 56px;
  min-width: 168px;
  padding: 0 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: #fff;
  color: #141414;
  border: 3px solid transparent;
}

.browse-btn.is-ghost {
  background: rgba(109, 109, 110, 0.72);
  color: #fff;
}

.browse-btn.is-focused {
  border-color: var(--tm-orange);
  box-shadow: 0 0 0 4px var(--tm-orange-glow);
  transform: scale(1.04);
}

.browse-rows {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 0;
  padding: 8px 0 36px;
  overflow-x: hidden;
  overflow-y: auto;
  background: #000;
}

.browse-row {
  padding: 0 0 28px;
}

.browse-row-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 0 var(--pad-x) 14px;
}

.browse-rail {
  display: flex;
  gap: 14px;
  overflow: hidden;
  padding: 18px var(--pad-x);
}

.browse-card {
  flex: 0 0 348px;
  width: 348px;
  height: 196px;
  aspect-ratio: auto;
  border-radius: 10px;
}

.browse-card .card-title {
  font-size: 20px;
  -webkit-line-clamp: 1;
}

.browse-card .card-subtitle {
  font-size: 15px;
}

.browse-card .card-footer {
  left: 16px;
  right: 16px;
  bottom: 12px;
}

.browse-card .card-logo-img {
  max-height: 46%;
}

.browse-card.is-focused,
body.is-pointer .browse-card:hover {
  transform: translateY(-10px) scale(1.3);
  transform-origin: center bottom;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.82);
  z-index: 6;
}

.browse-card.is-placeholder {
  opacity: 0.5;
}

body.is-pointer .app-tab,
body.is-pointer .browse-btn {
  cursor: pointer;
}
