/* Discover V2 final layer: one filter surface, common destinations, then feed. */
body.panda-app .discover-v2-intro {
  z-index: 70;
  margin: 0 var(--pc-inset) 12px;
  padding: 62px 0 0;
}
body.panda-app .discover-v2-intro > .discover-v2-hero {
  min-height: 150px;
  overflow: hidden;
}
body.panda-app .discover-v2-intro > .discover-v2-hero::after {
  position: absolute;
  z-index: 1;
  right: -30px;
  bottom: 5px;
  left: -24px;
  height: 42px;
  border-top: 1.5px solid rgba(246, 185, 30, 0.72);
  border-radius: 50% 50% 0 0;
  content: "";
  transform: rotate(-1deg);
}
body.panda-app .discover-v2-intro .discover-v2-hero-copy {
  width: 61%;
  padding: 21px 0 20px 2px;
}
body.panda-app .discover-v2-intro .discover-v2-hero-copy > small { display: none; }
body.panda-app .discover-v2-intro .discover-v2-hero > img {
  z-index: 3;
  right: -8px;
  bottom: -9px;
  width: 184px;
  height: 166px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 15px 18px rgba(54, 42, 66, 0.12));
}
body.panda-app .discover-v2-intro .discover-v2-greeting h1 { font-size: 24px; line-height: 1; }
body.panda-app .discover-v2-intro .discover-v2-hero-copy p { margin-top: 10px; font-size: 11px; }
body.panda-app .discover-v2-intro .discover-v2-guide {
  width: max-content;
  max-width: 100%;
  margin-top: 11px;
  padding: 0 2px 4px;
  color: #d59608;
  font-size: 10px;
  line-height: 1.2;
  text-align: left;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72), 0 6px 16px rgba(230, 160, 0, 0.12);
}
body.panda-app .discover-v2-intro .discover-v2-guide::after {
  right: -5px;
  bottom: 1px;
  left: -5px;
  height: 8px;
  border-radius: 999px 68% 999px 74%;
  background:
    linear-gradient(90deg, rgba(255, 194, 20, 0.12) 0%, rgba(255, 194, 20, 0.52) 42%, rgba(255, 228, 132, 0.16) 100%),
    repeating-linear-gradient(-5deg, rgba(255, 199, 33, 0.3) 0 7px, rgba(255, 232, 146, 0.16) 7px 13px);
  transform: rotate(-1.2deg) skewX(-8deg) scaleX(0.2);
  transform-origin: left center;
  animation: discover-v1-marker 4.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes discover-v1-marker {
  0%, 100% { opacity: 0; transform: rotate(-1.2deg) skewX(-8deg) scaleX(0.18); }
  28% { opacity: 0.62; transform: rotate(-1.2deg) skewX(-8deg) scaleX(0.58); }
  52%, 72% { opacity: 1; transform: rotate(-1.2deg) skewX(-8deg) scaleX(1); }
  90% { opacity: 0.15; transform: rotate(-1.2deg) skewX(-8deg) scaleX(1); }
}
body.panda-app .discover-v2-query-row {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
body.panda-app .discover-v2-filter-trigger {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(63, 52, 74, 0.075);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  color: #6f6878;
  box-shadow: 0 9px 24px rgba(46, 36, 58, 0.055);
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}
body.panda-app .discover-v2-filter-trigger > svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}
body.panda-app .discover-v2-filter-trigger.is-active {
  background: #ffc43d;
  color: #fff;
  transform: rotate(90deg);
}
body.panda-app .discover-v2-search {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  min-height: 48px;
  margin: 0;
  padding: 0 15px;
  border: 1px solid rgba(63, 52, 74, 0.075);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 26px rgba(46, 36, 58, 0.055);
}
body.panda-app .discover-v2-search-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #91899d;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.panda-app .discover-v2-search input {
  min-width: 0;
  padding: 0 4px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #241f2a;
  font-size: 11px;
  font-weight: 720;
}
body.panda-app .discover-v2-search input::placeholder { color: #aaa5b2; opacity: 1; }
body.panda-app .discover-v2-controls { display: none !important; }
body.panda-app .discover-v2-filter-panel[hidden] { display: none !important; }
body.panda-app .discover-v2-filter-panel {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 11px;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid rgba(63, 52, 74, 0.075);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 34px rgba(47, 36, 60, 0.09);
  animation: discover-filter-in 190ms cubic-bezier(.2,.8,.2,1) both;
}
body.panda-app .discover-v2-filter-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(61, 50, 72, 0.07);
}
body.panda-app .discover-v2-filter-panel > header > div {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 8px;
}
body.panda-app .discover-v2-filter-panel > header strong { color: #1d1923; font-size: 12px; font-weight: 950; }
body.panda-app .discover-v2-filter-panel > header span {
  overflow: hidden;
  color: #9a94a3;
  font-size: 8px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.panda-app .discover-v2-filter-panel > header button {
  flex: none;
  min-height: 26px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: #f5f2f7;
  color: #837d8c;
  font-size: 9px;
  font-weight: 850;
}
body.panda-app .discover-v2-filter-group {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 7px;
}
body.panda-app .discover-v2-filter-group > strong { padding-top: 6px; color: #635d6b; font-size: 9px; font-weight: 900; }
body.panda-app .discover-v2-filter-group > div { display: flex; flex-wrap: wrap; gap: 6px; }
body.panda-app .discover-v2-filter-group button {
  min-height: 27px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: #f7f5f9;
  color: #817a89;
  font-size: 9px;
  font-weight: 850;
}
body.panda-app .discover-v2-filter-group button.is-active {
  background: #fff1bd;
  color: #9b6b05;
  box-shadow: inset 0 0 0 1px rgba(239, 178, 29, 0.24);
}
body.panda-app .discover-v2-common { margin-top: 10px; }
body.panda-app .discover-v2-common > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 3px 8px;
}
body.panda-app .discover-v2-common h2 {
  margin: 0;
  color: #1c1822;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: -0.025em;
}
body.panda-app .discover-v2-common > header span { color: #9b95a3; font-size: 8px; font-weight: 800; }
body.panda-app .discover-v2-common nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 9px;
  border: 1px solid rgba(63, 52, 74, 0.07);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 26px rgba(46, 36, 58, 0.05);
}
body.panda-app .discover-v2-common a {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 4px;
  padding: 7px 2px 6px;
  border-radius: 14px;
  color: #28222f;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}
body.panda-app .discover-v2-common a:hover,
body.panda-app .discover-v2-common a:focus-visible { background: #fff8e5; transform: translateY(-1px); }
body.panda-app .discover-v2-common img { width: 30px; height: 30px; object-fit: contain; }
body.panda-app .discover-v2-common a > span { font-size: 9px; font-weight: 900; white-space: nowrap; }
body.panda-app .home-phone .home-unified-stream { margin: 4px var(--pc-inset) 34px; }
body.panda-app .home-unified-stream-title { margin: 0 3px 10px; }
body.panda-app .home-unified-stream-title h2 {
  color: #18141e;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: -0.035em;
}
body.panda-app .home-feed-ad-viewport { overflow: visible; }
body.panda-app .home-feed-ad-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  transform: none !important;
}
body.panda-app .home-feed-ad-card {
  width: 100%;
  min-width: 0;
  min-height: 0;
  scroll-snap-align: none;
}
body.panda-app .home-feed-ad-controls { display: none !important; }
@keyframes discover-filter-in {
  from { opacity: 0; transform: translateY(-5px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
