/* homepage v14: true light-theme adaptation + short price chips */
body[data-category="home"] .homeV2ShortPriceChip{
  position:absolute;
  right:10px;
  bottom:10px;
  z-index:4;
  max-width:58%;
  padding:4px 7px;
  border-radius:999px;
  background:rgba(5,12,24,.74);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  font-size:10px;
  line-height:1;
  font-weight:900;
  letter-spacing:.01em;
  text-shadow:0 1px 8px rgba(0,0,0,.55);
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  backdrop-filter:blur(10px);
}
body[data-category="home"] .homeV2ShortCard__caption{
  right:70px;
}
@media (max-width:760px){
  body[data-category="home"] .homeV2ShortCard__caption{right:12px;bottom:32px;}
  body[data-category="home"] .homeV2ShortPriceChip{right:10px;bottom:9px;max-width:70%;font-size:9px;}
}

html[data-theme="light"] body[data-category="home"],
:root[data-theme="light"] body[data-category="home"]{
  background:
    radial-gradient(circle at 5% 0%, rgba(50,130,255,.12), transparent 28rem),
    #f2f6fb !important;
  color:#0f172a !important;
}
html[data-theme="light"] body[data-category="home"] > main.container,
:root[data-theme="light"] body[data-category="home"] > main.container{
  background:transparent!important;
}
html[data-theme="light"] body[data-category="home"] .homeV2.homeV2--boostEra,
:root[data-theme="light"] body[data-category="home"] .homeV2.homeV2--boostEra{
  --home-text:#0f172a;
  --home-muted:#64748b;
  --home-panel:rgba(255,255,255,.78);
  --home-panel-2:rgba(255,255,255,.64);
  --home-line:rgba(15,23,42,.11);
  --home-shadow:0 18px 48px rgba(15,23,42,.10);
  background:transparent!important;
  color:#0f172a!important;
}
html[data-theme="light"] body[data-category="home"] .homeV2Hero,
:root[data-theme="light"] body[data-category="home"] .homeV2Hero,
html[data-theme="light"] body[data-category="home"] .homeV2.homeV2--boostEra .homeV2Hero,
:root[data-theme="light"] body[data-category="home"] .homeV2.homeV2--boostEra .homeV2Hero{
  background:
    linear-gradient(90deg,rgba(255,255,255,.90) 0%,rgba(255,255,255,.72) 42%,rgba(255,255,255,.34) 100%),
    var(--home-hero-bg) center/cover no-repeat!important;
  border-color:rgba(15,23,42,.12)!important;
  box-shadow:0 22px 70px rgba(15,23,42,.14)!important;
}
html[data-theme="light"] body[data-category="home"] .homeV2Hero__shade,
:root[data-theme="light"] body[data-category="home"] .homeV2Hero__shade{
  background:
    radial-gradient(circle at 18% 12%,rgba(45,140,255,.18),transparent 28%),
    radial-gradient(circle at 84% 18%,rgba(255,203,102,.18),transparent 22%)!important;
}
html[data-theme="light"] body[data-category="home"] .homeV2Hero__copy h1,
:root[data-theme="light"] body[data-category="home"] .homeV2Hero__copy h1,
html[data-theme="light"] body[data-category="home"] .homeV2Hero__copy p,
:root[data-theme="light"] body[data-category="home"] .homeV2Hero__copy p{
  color:#0f172a!important;
  text-shadow:none!important;
}
html[data-theme="light"] body[data-category="home"] .homeV2Hero__copy p,
:root[data-theme="light"] body[data-category="home"] .homeV2Hero__copy p{
  color:#334155!important;
}
html[data-theme="light"] body[data-category="home"] .homeV2StatsPill,
:root[data-theme="light"] body[data-category="home"] .homeV2StatsPill,
html[data-theme="light"] body[data-category="home"] .homeV2LiveCard,
:root[data-theme="light"] body[data-category="home"] .homeV2LiveCard{
  background:rgba(255,255,255,.78)!important;
  border-color:rgba(15,23,42,.10)!important;
  color:#0f172a!important;
  box-shadow:0 12px 28px rgba(15,23,42,.08)!important;
}
html[data-theme="light"] body[data-category="home"] .homeV2LiveCard strong,
:root[data-theme="light"] body[data-category="home"] .homeV2LiveCard strong{
  color:#172033!important;
}
html[data-theme="light"] body[data-category="home"] .homeV2Modes a,
:root[data-theme="light"] body[data-category="home"] .homeV2Modes a,
html[data-theme="light"] body[data-category="home"] .homeV2GhostButton,
:root[data-theme="light"] body[data-category="home"] .homeV2GhostButton,
html[data-theme="light"] body[data-category="home"] .homeV2GhostAction,
:root[data-theme="light"] body[data-category="home"] .homeV2GhostAction{
  background:rgba(255,255,255,.72)!important;
  border-color:rgba(15,23,42,.12)!important;
  color:#0f172a!important;
  box-shadow:0 10px 24px rgba(15,23,42,.07)!important;
}
html[data-theme="light"] body[data-category="home"] .homeV2Modes a.is-active,
:root[data-theme="light"] body[data-category="home"] .homeV2Modes a.is-active,
html[data-theme="light"] body[data-category="home"] .homeV2PrimaryAction,
:root[data-theme="light"] body[data-category="home"] .homeV2PrimaryAction{
  background:linear-gradient(135deg,#1e9bff,#44c7ff)!important;
  border-color:transparent!important;
  color:#fff!important;
  box-shadow:0 12px 28px rgba(30,155,255,.25)!important;
}
html[data-theme="light"] body[data-category="home"] .homeV2Section__head h2,
:root[data-theme="light"] body[data-category="home"] .homeV2Section__head h2,
html[data-theme="light"] body[data-category="home"] .homeV2ListingCard__title,
:root[data-theme="light"] body[data-category="home"] .homeV2ListingCard__title,
html[data-theme="light"] body[data-category="home"] .homeV2ListingCard__price,
:root[data-theme="light"] body[data-category="home"] .homeV2ListingCard__price,
html[data-theme="light"] body[data-category="home"] .homeV2AuctionRow strong,
:root[data-theme="light"] body[data-category="home"] .homeV2AuctionRow strong,
html[data-theme="light"] body[data-category="home"] .homeV2AuctionRow b,
:root[data-theme="light"] body[data-category="home"] .homeV2AuctionRow b,
html[data-theme="light"] body[data-category="home"] .homeV2AuctionSignals strong,
:root[data-theme="light"] body[data-category="home"] .homeV2AuctionSignals strong,
html[data-theme="light"] body[data-category="home"] .homeV2NearbyItem strong,
:root[data-theme="light"] body[data-category="home"] .homeV2NearbyItem strong,
html[data-theme="light"] body[data-category="home"] .homeV2NearbyItem b,
:root[data-theme="light"] body[data-category="home"] .homeV2NearbyItem b,
html[data-theme="light"] body[data-category="home"] .homeV2TrustGrid strong,
:root[data-theme="light"] body[data-category="home"] .homeV2TrustGrid strong,
html[data-theme="light"] body[data-category="home"] .homeV2Cta h2,
:root[data-theme="light"] body[data-category="home"] .homeV2Cta h2{
  color:#0f172a!important;
}
html[data-theme="light"] body[data-category="home"] .homeV2Section__head p,
:root[data-theme="light"] body[data-category="home"] .homeV2Section__head p,
html[data-theme="light"] body[data-category="home"] .homeV2ListingCard__body p,
:root[data-theme="light"] body[data-category="home"] .homeV2ListingCard__body p,
html[data-theme="light"] body[data-category="home"] .homeV2AuctionRow small,
:root[data-theme="light"] body[data-category="home"] .homeV2AuctionRow small,
html[data-theme="light"] body[data-category="home"] .homeV2AuctionSignals span,
:root[data-theme="light"] body[data-category="home"] .homeV2AuctionSignals span,
html[data-theme="light"] body[data-category="home"] .homeV2NearbyItem small,
:root[data-theme="light"] body[data-category="home"] .homeV2NearbyItem small,
html[data-theme="light"] body[data-category="home"] .homeV2TrustGrid p,
:root[data-theme="light"] body[data-category="home"] .homeV2TrustGrid p,
html[data-theme="light"] body[data-category="home"] .homeV2Cta p,
:root[data-theme="light"] body[data-category="home"] .homeV2Cta p{
  color:#64748b!important;
}
html[data-theme="light"] body[data-category="home"] .homeV2ListingCard,
:root[data-theme="light"] body[data-category="home"] .homeV2ListingCard,
html[data-theme="light"] body[data-category="home"] .homeV2Panel,
:root[data-theme="light"] body[data-category="home"] .homeV2Panel,
html[data-theme="light"] body[data-category="home"] .homeV2TrustGrid article,
:root[data-theme="light"] body[data-category="home"] .homeV2TrustGrid article,
html[data-theme="light"] body[data-category="home"] .homeV2Empty,
:root[data-theme="light"] body[data-category="home"] .homeV2Empty{
  background:rgba(255,255,255,.82)!important;
  border-color:rgba(15,23,42,.10)!important;
  box-shadow:0 16px 44px rgba(15,23,42,.09)!important;
}
html[data-theme="light"] body[data-category="home"] .homeV2ListingCard__meta,
:root[data-theme="light"] body[data-category="home"] .homeV2ListingCard__meta{
  color:#475569!important;
}
html[data-theme="light"] body[data-category="home"] .homeV2Facts span,
:root[data-theme="light"] body[data-category="home"] .homeV2Facts span,
html[data-theme="light"] body[data-category="home"] .homeV2AuctionRow,
:root[data-theme="light"] body[data-category="home"] .homeV2AuctionRow,
html[data-theme="light"] body[data-category="home"] .homeV2AuctionSignals article,
:root[data-theme="light"] body[data-category="home"] .homeV2AuctionSignals article{
  background:rgba(241,245,249,.88)!important;
  border-color:rgba(15,23,42,.08)!important;
  color:#334155!important;
}
html[data-theme="light"] body[data-category="home"] .homeV2ShortCard,
:root[data-theme="light"] body[data-category="home"] .homeV2ShortCard{
  background:#e2e8f0!important;
  border-color:rgba(15,23,42,.12)!important;
  box-shadow:0 16px 40px rgba(15,23,42,.10)!important;
}
html[data-theme="light"] body[data-category="home"] .homeV2Cta,
:root[data-theme="light"] body[data-category="home"] .homeV2Cta{
  background:linear-gradient(135deg,rgba(45,140,255,.14),rgba(255,255,255,.86))!important;
  border-color:rgba(15,23,42,.10)!important;
  box-shadow:0 18px 48px rgba(15,23,42,.10)!important;
}
html[data-theme="light"] body[data-category="home"] .homeV2CategoryCard,
:root[data-theme="light"] body[data-category="home"] .homeV2CategoryCard{
  border-color:rgba(15,23,42,.12)!important;
  box-shadow:0 16px 42px rgba(15,23,42,.10)!important;
}
html[data-theme="light"] body[data-category="home"] .homeV2MapBox,
:root[data-theme="light"] body[data-category="home"] .homeV2MapBox{
  border-color:rgba(15,23,42,.10)!important;
  box-shadow:0 16px 44px rgba(15,23,42,.10)!important;
}
html[data-theme="light"] body[data-category="home"] .homeV2Toast,
:root[data-theme="light"] body[data-category="home"] .homeV2Toast{
  background:#0f172a!important;
  color:#fff!important;
}

/*
 * CONE homepage realistic v5
 *
 * This file is intentionally isolated from the shared marketplace UI. Every
 * rule is rooted at .homeV2.homeV2--realisticV5 so category pages, archives,
 * the global header and the shared mobile navigation keep their own styling.
 */

body[data-category="home"] .homeV2.homeV2--boostEra.homeV2--realisticV5 {
  --home-v5-bg: #07111f;
  --home-v5-surface: #0e1b2c;
  --home-v5-soft: #15253a;
  --home-v5-ink: #f5f8fc;
  --home-v5-muted: #a9b8c9;
  --home-v5-line: rgba(220, 235, 250, .12);
  --home-v5-blue: #3a91ff;
  --home-v5-shadow: 0 18px 46px rgba(0, 0, 0, .3);
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: min(100%, 1480px) !important;
  max-width: 1480px !important;
  margin-inline: auto !important;
  padding: 0 0 110px !important;
  color: var(--home-v5-ink) !important;
  background: transparent !important;
}

/* Keep the editorial hero dark in both themes, exactly like the approved v5
 * reference. This intentionally outranks the legacy light-home adaptation. */
html[data-theme="light"] body[data-category="home"] .homeV2.homeV2--boostEra.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2Hero,
:root[data-theme="light"] body[data-category="home"] .homeV2.homeV2--boostEra.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2Hero {
  background:
    linear-gradient(90deg, rgba(4, 12, 25, .94), rgba(4, 12, 25, .72) 54%, rgba(4, 12, 25, .18)),
    var(--home-hero-bg) center/cover no-repeat !important;
  border-color: rgba(255, 255, 255, .12) !important;
  box-shadow: none !important;
}

html[data-theme="light"] body[data-category="home"] .homeV2.homeV2--boostEra.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2Hero__shade,
:root[data-theme="light"] body[data-category="home"] .homeV2.homeV2--boostEra.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2Hero__shade {
  background: transparent !important;
}

html[data-theme="light"] body[data-category="home"] .homeV2.homeV2--boostEra.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2Hero__copy :is(h1, p),
:root[data-theme="light"] body[data-category="home"] .homeV2.homeV2--boostEra.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2Hero__copy :is(h1, p) {
  color: #fff !important;
}

/* Preserve the controller/view structure while presenting the v5 editorial
 * sequence. Existing destinations stay available through their own routes. */
.homeV2.homeV2--realisticV5 > .homeV2DiscoveryDeck { order: 1; }
.homeV2.homeV2--realisticV5 > #home-boosted-listings { order: 2; }
.homeV2.homeV2--realisticV5 > #home-boosted-shorts { order: 3; }
.homeV2.homeV2--realisticV5 > #home-discovery { order: 4; }
.homeV2.homeV2--realisticV5 > #home-live-hub { order: 5; }
.homeV2.homeV2--realisticV5 > #home-jobs { order: 6; }
.homeV2.homeV2--realisticV5 > #home-nearby { order: 7; }

.homeV2.homeV2--realisticV5 > #home-trending-listings,
.homeV2.homeV2--realisticV5 > #home-live-auctions,
.homeV2.homeV2--realisticV5 > #home-trust,
.homeV2.homeV2--realisticV5 > #home-final-cta {
  display: none !important;
}

html[data-theme="light"] body[data-category="home"] .homeV2.homeV2--boostEra.homeV2--realisticV5,
:root[data-theme="light"] body[data-category="home"] .homeV2.homeV2--boostEra.homeV2--realisticV5 {
  --home-v5-bg: #f2f6fb;
  --home-v5-surface: #fff;
  --home-v5-soft: #eaf0f7;
  --home-v5-ink: #081426;
  --home-v5-muted: #607086;
  --home-v5-line: rgba(10, 35, 65, .12);
  --home-v5-blue: #1769e8;
  --home-v5-shadow: 0 16px 42px rgba(23, 47, 78, .11);
}

html[data-theme="light"] body[data-category="home"] .homeV2.homeV2--boostEra.homeV2--realisticV5 :is(.homeV2GhostButton, .homeV2AllCategories > summary),
:root[data-theme="light"] body[data-category="home"] .homeV2.homeV2--boostEra.homeV2--realisticV5 :is(.homeV2GhostButton, .homeV2AllCategories > summary) {
  border-color: var(--home-v5-line) !important;
  background: var(--home-v5-surface) !important;
  color: var(--home-v5-blue) !important;
  box-shadow: var(--home-v5-shadow) !important;
}

html[data-theme="light"] body[data-category="home"] .homeV2.homeV2--boostEra.homeV2--realisticV5 .homeV2AllCategories__item small,
:root[data-theme="light"] body[data-category="home"] .homeV2.homeV2--boostEra.homeV2--realisticV5 .homeV2AllCategories__item small {
  color: #526079;
}

html[data-theme="light"] body[data-category="home"] .homeV2.homeV2--boostEra.homeV2--realisticV5 .homeV2MobileSearch input[type="search"]::placeholder,
:root[data-theme="light"] body[data-category="home"] .homeV2.homeV2--boostEra.homeV2--realisticV5 .homeV2MobileSearch input[type="search"]::placeholder {
  color: #526079;
}

html[data-theme="light"] body[data-category="home"] .homeV2.homeV2--boostEra.homeV2--realisticV5 .homeV2AllCategories__footer,
:root[data-theme="light"] body[data-category="home"] .homeV2.homeV2--boostEra.homeV2--realisticV5 .homeV2AllCategories__footer {
  color: #075dca !important;
}

.homeV2.homeV2--realisticV5 *,
.homeV2.homeV2--realisticV5 *::before,
.homeV2.homeV2--realisticV5 *::after {
  box-sizing: border-box;
}

.homeV2.homeV2--realisticV5 a {
  color: inherit;
  text-decoration: none;
}

.homeV2.homeV2--realisticV5 img,
.homeV2.homeV2--realisticV5 video {
  display: block;
  max-width: 100%;
}

/* Search, categories and hero form one deliberate discovery surface. */
.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: 16px;
  overflow: visible;
  border: 1px solid var(--home-v5-line);
  border-radius: 30px;
  background: color-mix(in srgb, var(--home-v5-surface) 92%, transparent);
  box-shadow: var(--home-v5-shadow);
}

.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck > .homeV2MobileDiscovery {
  display: none !important;
  width: 100%;
  min-width: 0;
  margin: 0 0 12px;
  padding: 0;
}

.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2MobileSearch {
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2MobileSearch__field {
  position: relative;
  min-width: 0;
}

.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2MobileSearch input[type="search"] {
  width: 100%;
  min-width: 0;
  height: 52px;
  min-height: 52px;
  margin: 0;
  padding: 0 58px 0 45px;
  border: 1px solid var(--home-v5-line) !important;
  border-radius: 17px;
  outline: 0;
  background: var(--home-v5-soft) !important;
  color: var(--home-v5-ink) !important;
  box-shadow: none !important;
}

.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2MobileSearch input[type="search"]::placeholder {
  color: var(--home-v5-muted);
  opacity: 1;
}

.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2MobileSearch__field > svg {
  position: absolute;
  z-index: 1;
  left: 15px;
  top: 50%;
  color: var(--home-v5-muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2MobileSearch > button {
  position: absolute;
  z-index: 2;
  right: 5px;
  top: 5px;
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 13px;
  background: var(--home-v5-blue);
  color: #fff;
  box-shadow: none;
}

.homeV2.homeV2--realisticV5 .homeV2CategoryDeck {
  position: relative;
  z-index: 6;
  width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.homeV2.homeV2--realisticV5 .homeV2CategoryDeck::after {
  content: none !important;
}

.homeV2.homeV2--realisticV5 .homeV2CategoryDeckHeader,
.homeV2.homeV2--realisticV5 .homeV2Section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 12px !important;
}

.homeV2.homeV2--realisticV5 .homeV2CategoryDeckHeader > div,
.homeV2.homeV2--realisticV5 .homeV2Section__head > div {
  min-width: 0;
}

.homeV2.homeV2--realisticV5 .homeV2MobileSectionKicker,
.homeV2.homeV2--realisticV5 .homeV2SectionEyebrow {
  display: block !important;
  margin: 0 0 4px;
  color: var(--home-v5-blue) !important;
  font-size: 10px;
  font-weight: 950;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.homeV2.homeV2--realisticV5 .homeV2CategoryDeckHeader h2,
.homeV2.homeV2--realisticV5 .homeV2Section__head h2 {
  margin: 0;
  color: var(--home-v5-ink) !important;
  font-size: clamp(24px, 3vw, 32px) !important;
  font-weight: 950;
  line-height: 1 !important;
  letter-spacing: -.04em;
}

.homeV2.homeV2--realisticV5 .homeV2CategoryDeckHeader p,
.homeV2.homeV2--realisticV5 .homeV2Section__head p {
  max-width: 760px;
  margin: 6px 0 0 !important;
  color: var(--home-v5-muted) !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

.homeV2.homeV2--realisticV5 .homeV2GhostButton,
.homeV2.homeV2--realisticV5 .homeV2AllCategories > summary {
  min-height: 42px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 16px !important;
  border: 1px solid var(--home-v5-line) !important;
  border-radius: 999px !important;
  background: var(--home-v5-surface) !important;
  color: var(--home-v5-blue) !important;
  box-shadow: var(--home-v5-shadow) !important;
  font-size: 12px !important;
  font-weight: 900;
  line-height: 1.1;
  list-style: none;
  white-space: nowrap;
  cursor: pointer;
}

.homeV2.homeV2--realisticV5 .homeV2AllCategories {
  position: relative;
  z-index: 30;
  flex: 0 0 auto;
}

.homeV2.homeV2--realisticV5 .homeV2AllCategories > summary::-webkit-details-marker {
  display: none;
}

.homeV2.homeV2--realisticV5 .homeV2AllCategories__panel {
  position: absolute;
  z-index: 35;
  right: 0;
  top: calc(100% + 8px);
  width: min(680px, calc(100vw - 44px));
  max-height: min(70vh, 660px);
  padding: 13px;
  overflow: auto;
  border: 1px solid var(--home-v5-line);
  border-radius: 20px;
  background: var(--home-v5-surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
}

.homeV2.homeV2--realisticV5 .homeV2AllCategories__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.homeV2.homeV2--realisticV5 .homeV2AllCategories__item {
  min-width: 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: var(--home-v5-soft);
  color: var(--home-v5-ink) !important;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.2;
  transition: border-color .18s ease, transform .18s ease;
}

.homeV2.homeV2--realisticV5 .homeV2AllCategories__item:hover,
.homeV2.homeV2--realisticV5 .homeV2AllCategories__item:focus-visible {
  border-color: color-mix(in srgb, var(--home-v5-blue) 35%, var(--home-v5-line));
  transform: translateY(-1px);
}

.homeV2.homeV2--realisticV5 .homeV2AllCategories__item .homeV2CategoryIcon {
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
}

.homeV2.homeV2--realisticV5 .homeV2AllCategories__item .homeV2CategoryIcon img {
  width: 32px !important;
  height: 32px !important;
}

.homeV2.homeV2--realisticV5 .homeV2AllCategories__icon {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--home-v5-line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--home-v5-soft) 72%, var(--home-v5-surface));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28);
}

.homeV2.homeV2--realisticV5 .homeV2AllCategories__icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(15, 35, 60, .14));
}

.homeV2.homeV2--realisticV5 .homeV2AllCategories__icon .homeV2CategoryEmoji {
  font-size: 22px !important;
}

.homeV2.homeV2--realisticV5 .homeV2AllCategories__item > span:last-child {
  min-width: 0;
}

.homeV2.homeV2--realisticV5 .homeV2AllCategories__item strong,
.homeV2.homeV2--realisticV5 .homeV2AllCategories__item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.homeV2.homeV2--realisticV5 .homeV2AllCategories__item strong {
  color: var(--home-v5-ink);
  font-size: 10px;
}

.homeV2.homeV2--realisticV5 .homeV2AllCategories__item small {
  margin-top: 3px;
  color: var(--home-v5-muted);
  font-size: 8px;
  font-weight: 700;
}

.homeV2.homeV2--realisticV5 .homeV2AllCategories__footer {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  border: 1px solid var(--home-v5-line);
  border-radius: 12px;
  background: var(--home-v5-soft);
  color: var(--home-v5-blue) !important;
  font-size: 10px;
  font-weight: 900;
}

.homeV2.homeV2--realisticV5 .homeV2CategoryRailShell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.homeV2.homeV2--realisticV5 .homeV2CategoryRailControl {
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 1px solid var(--home-v5-line);
  border-radius: 50%;
  background: var(--home-v5-surface);
  color: var(--home-v5-ink);
  box-shadow: var(--home-v5-shadow);
}

.homeV2.homeV2--realisticV5 .homeV2CategoryRailControl:disabled {
  opacity: .28;
  box-shadow: none;
  cursor: default;
}

.homeV2.homeV2--realisticV5 .homeV2MobileQuickNav.homeV2CategoryRail {
  display: grid !important;
  grid-template-columns: none !important;
  grid-auto-flow: column !important;
  grid-auto-columns: 100px !important;
  align-items: stretch;
  gap: 6px !important;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 5px 1px 12px;
  overflow-x: auto !important;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.homeV2.homeV2--realisticV5 .homeV2MobileQuickNav.homeV2CategoryRail::-webkit-scrollbar {
  display: none !important;
}

.homeV2.homeV2--realisticV5 .homeV2CategoryRail > a,
.homeV2.homeV2--realisticV5 .homeV2MobileQuickNav.homeV2CategoryRail > a {
  position: relative;
  min-width: 0;
  min-height: 91px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  padding: 7px 4px;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--home-v5-ink) !important;
  text-align: center;
  scroll-snap-align: start;
  transition: transform .18s ease;
}

.homeV2.homeV2--realisticV5 .homeV2CategoryRail > a::after {
  content: '';
  position: absolute;
  left: 37%;
  right: 37%;
  bottom: 2px;
  height: 3px;
  border-radius: 999px;
  background: transparent;
}

.homeV2.homeV2--realisticV5 .homeV2CategoryRail > a.is-active::after,
.homeV2.homeV2--realisticV5 .homeV2CategoryRail > a[aria-current="page"]::after {
  background: var(--category-tone, var(--home-v5-blue));
}

.homeV2.homeV2--realisticV5 .homeV2CategoryRail > a:hover,
.homeV2.homeV2--realisticV5 .homeV2CategoryRail > a:focus-visible {
  border: 0 !important;
  background: transparent !important;
  transform: translateY(-2px);
}

/* Neutral circles deliberately let the realistic icon artwork carry identity. */
.homeV2.homeV2--realisticV5 .homeV2CategoryIcon,
.homeV2.homeV2--realisticV5 .homeV2CategoryRail > a:nth-child(n) .homeV2CategoryIcon {
  width: 62px !important;
  min-width: 62px !important;
  height: 62px !important;
  min-height: 62px !important;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--home-v5-line) !important;
  border-radius: 50% !important;
  background: linear-gradient(145deg,
    color-mix(in srgb, var(--home-v5-surface) 96%, white),
    color-mix(in srgb, var(--home-v5-soft) 86%, var(--home-v5-surface))) !important;
  box-shadow:
    0 10px 22px rgba(15, 35, 60, .12),
    inset 0 1px 0 rgba(255, 255, 255, .42) !important;
}

.homeV2.homeV2--realisticV5 .homeV2CategoryRail > a.is-active .homeV2CategoryIcon,
.homeV2.homeV2--realisticV5 .homeV2CategoryRail > a[aria-current="page"] .homeV2CategoryIcon {
  border-color: color-mix(in srgb, var(--category-tone, var(--home-v5-blue)) 42%, var(--home-v5-line)) !important;
  box-shadow:
    0 10px 24px color-mix(in srgb, var(--category-tone, var(--home-v5-blue)) 14%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, .42) !important;
}

.homeV2.homeV2--realisticV5 .homeV2CategoryIcon img {
  width: 54px !important;
  height: 54px !important;
  object-fit: contain;
  filter: drop-shadow(0 5px 7px rgba(15, 35, 60, .18)) !important;
}

.homeV2.homeV2--realisticV5 .homeV2CategoryEmoji {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 34px !important;
  line-height: 1;
  filter: drop-shadow(0 5px 7px rgba(15, 35, 60, .18)) !important;
}

.homeV2.homeV2--realisticV5 .homeV2CategoryName {
  max-width: 96px;
  display: block !important;
  overflow: hidden !important;
  color: var(--home-v5-ink) !important;
  font-size: 10px !important;
  font-weight: 900;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap !important;
}

.homeV2.homeV2--realisticV5 .homeV2CategoryCount {
  display: none !important;
}

.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2Hero {
  position: relative;
  z-index: 1;
  min-height: 330px !important;
  display: grid;
  align-items: center;
  margin: 0 !important;
  padding: 30px;
  overflow: hidden;
  border: 0 !important;
  border-radius: 24px !important;
  background:
    linear-gradient(90deg, rgba(4, 12, 25, .94), rgba(4, 12, 25, .72) 54%, rgba(4, 12, 25, .18)),
    var(--home-hero-bg) center / cover no-repeat !important;
  color: #fff !important;
  box-shadow: none !important;
  isolation: isolate;
}

.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2Hero__shade {
  background: transparent !important;
}

.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2Hero__inner {
  width: 100%;
  padding: 0 !important;
  gap: 12px;
}

.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2Hero__copy {
  max-width: 700px;
  padding: 0 !important;
}

.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2Hero__copy h1 {
  max-width: 700px;
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(43px, 6vw, 70px) !important;
  font-weight: 950;
  line-height: .92 !important;
  letter-spacing: -.065em;
  text-shadow: none !important;
}

.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2Hero__v5Title span {
  color: #72b7ff;
}

.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2Hero__copy p {
  max-width: 580px;
  margin: 14px 0 0 !important;
  color: #dce8f5 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  text-shadow: none !important;
}

.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2MobileHeroPills,
.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2MobileHeroActions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 7px;
}

/* v5 deliberately keeps one clear set of hero signals and one CTA pair. */
.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2StatsPill,
.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2LiveStrip,
.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2Modes {
  display: none !important;
}

.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2MobileHeroActions {
  align-items: center;
  margin-top: 16px;
}

.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2MobileHeroActions > a {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 1px solid rgba(255, 255, 255, .22) !important;
  border-radius: 13px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2MobileHeroActions__primary {
  background: linear-gradient(135deg, #1378ee, #3156ee) !important;
  color: #fff !important;
}

.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2MobileHeroActions__secondary {
  background: #fff !important;
  color: #071326 !important;
}

.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2MobileHeroPill,
.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2LiveCard,
.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2StatsPill {
  min-height: 29px;
  width: auto;
  display: inline-flex;
  align-items: center;
  align-self: auto;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  border-radius: 999px;
  background: rgba(4, 12, 25, .55) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2MobileHeroPill--live {
  background: #cf2f49 !important;
}

/* Shared section rhythm. */
.homeV2.homeV2--realisticV5 .homeV2Section {
  padding: 28px 0 0 !important;
}

.homeV2.homeV2--realisticV5 .homeV2Section__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Central recommendations: four visible cards on desktop, two on mobile. */
.homeV2.homeV2--realisticV5 #home-boosted-listings .homeV2ListingGrid {
  display: grid !important;
  grid-template-columns: none !important;
  grid-auto-flow: column !important;
  grid-auto-columns: minmax(220px, 1fr) !important;
  align-items: stretch;
  gap: 11px !important;
  padding: 0 0 4px !important;
  overflow-x: auto !important;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.homeV2.homeV2--realisticV5 #home-boosted-listings .homeV2ListingGrid::-webkit-scrollbar {
  display: none !important;
}

.homeV2.homeV2--realisticV5 #home-boosted-listings .homeV2ListingCard,
.homeV2.homeV2--realisticV5 .homeV2DiscoveryGrid .homeV2ListingCard {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--home-v5-line) !important;
  border-radius: 18px !important;
  background: var(--home-v5-surface) !important;
  color: var(--home-v5-ink) !important;
  box-shadow: var(--home-v5-shadow) !important;
  scroll-snap-align: start;
}

.homeV2.homeV2--realisticV5 #home-boosted-listings .homeV2ListingCard__media,
.homeV2.homeV2--realisticV5 .homeV2DiscoveryGrid .homeV2ListingCard__media {
  height: 145px !important;
  aspect-ratio: auto !important;
  background: var(--home-v5-soft);
}

.homeV2.homeV2--realisticV5 .homeV2ListingCard__mediaLink {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

.homeV2.homeV2--realisticV5 .homeV2ListingCard__mediaLink img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.homeV2.homeV2--realisticV5 #home-boosted-listings .homeV2ListingCard__body,
.homeV2.homeV2--realisticV5 .homeV2DiscoveryGrid .homeV2ListingCard__body {
  padding: 10px !important;
}

.homeV2.homeV2--realisticV5 #home-boosted-listings .homeV2ListingCard__meta,
.homeV2.homeV2--realisticV5 .homeV2DiscoveryGrid .homeV2ListingCard__meta {
  margin: 0 0 5px !important;
  color: var(--home-v5-muted) !important;
  font-size: 8px !important;
  font-weight: 850;
  letter-spacing: .08em;
}

.homeV2.homeV2--realisticV5 #home-boosted-listings .homeV2ListingCard__title,
.homeV2.homeV2--realisticV5 .homeV2DiscoveryGrid .homeV2ListingCard__title {
  margin: 0 !important;
  overflow: hidden;
  color: var(--home-v5-ink) !important;
  font-size: 14px !important;
  line-height: 1.1 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.homeV2.homeV2--realisticV5 #home-boosted-listings .homeV2ListingCard__body p,
.homeV2.homeV2--realisticV5 .homeV2DiscoveryGrid .homeV2ListingCard__body p {
  min-height: 0 !important;
  margin: 5px 0 0 !important;
  overflow: hidden;
  color: var(--home-v5-muted) !important;
  font-size: 10px !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.homeV2.homeV2--realisticV5 #home-boosted-listings .homeV2ListingCard__price,
.homeV2.homeV2--realisticV5 .homeV2DiscoveryGrid .homeV2ListingCard__price {
  margin: 9px 0 0 !important;
  color: var(--home-v5-ink) !important;
  font-size: 14px !important;
  line-height: 1.05 !important;
}

.homeV2.homeV2--realisticV5 #home-boosted-listings .homeV2FloatingBadge,
.homeV2.homeV2--realisticV5 .homeV2DiscoveryGrid .homeV2FloatingBadge {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px !important;
  font-size: 8px !important;
}

.homeV2.homeV2--realisticV5 #home-boosted-listings .homeV2IconButton,
.homeV2.homeV2--realisticV5 .homeV2DiscoveryGrid .homeV2IconButton {
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  border-radius: 12px !important;
}

.homeV2.homeV2--realisticV5 .homeV2IconButton svg {
  width: 17px;
  height: 17px;
}

.homeV2.homeV2--realisticV5 .homeV2IconButton.is-active svg {
  fill: currentColor;
}

/* Paid placement stays central; presentation remains an unobtrusive recommendation. */
.homeV2.homeV2--realisticV5 #home-boosted-listings .homeV2Facts,
.homeV2.homeV2--realisticV5 #home-boosted-listings .homeV2Actions,
.homeV2.homeV2--realisticV5 .homeV2DiscoveryGrid .homeV2Facts,
.homeV2.homeV2--realisticV5 .homeV2DiscoveryGrid .homeV2Actions {
  margin-top: 9px;
}

/* Markup-specific compact renderer used by both central recommendations and
 * organic discovery. It deliberately keeps the real save/share controls. */
.homeV2.homeV2--realisticV5 .homeV2ListingCard--compactReal {
  display: flex !important;
  flex-direction: column !important;
}

.homeV2.homeV2--realisticV5 .homeV2ListingCard--compactReal .homeV2ListingCard__body {
  min-height: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.homeV2.homeV2--realisticV5 .homeV2CompactCardFooter {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 9px;
}

.homeV2.homeV2--realisticV5 .homeV2CompactCardFooter .homeV2ListingCard__price {
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.homeV2.homeV2--realisticV5 .homeV2CompactOpen {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  border: 1px solid var(--home-v5-line);
  background: var(--home-v5-soft);
  color: var(--home-v5-blue) !important;
}

.homeV2.homeV2--realisticV5 .homeV2CompactOpen svg {
  width: 15px;
  height: 15px;
}

/* Shorts retain six visible positions on a 1240px shell. */
.homeV2.homeV2--realisticV5 #home-boosted-shorts {
  margin-top: 24px;
  padding: 18px !important;
  border: 1px solid var(--home-v5-line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--home-v5-surface) 92%, transparent);
  box-shadow: var(--home-v5-shadow);
}

.homeV2.homeV2--realisticV5 #home-boosted-shorts .homeV2ShortsGrid {
  display: grid !important;
  grid-template-columns: none !important;
  grid-auto-flow: column !important;
  grid-auto-columns: max(150px, calc((100% - 45px) / 6)) !important;
  align-items: stretch;
  gap: 9px !important;
  padding: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.homeV2.homeV2--realisticV5 #home-boosted-shorts .homeV2ShortsGrid::-webkit-scrollbar {
  display: none !important;
}

.homeV2.homeV2--realisticV5 #home-boosted-shorts .homeV2ShortCard {
  width: auto;
  height: 268px !important;
  min-height: 268px !important;
  aspect-ratio: auto !important;
  border: 1px solid var(--home-v5-line) !important;
  border-radius: 19px !important;
  background: #10182a;
  box-shadow: 0 14px 32px rgba(35, 24, 70, .22) !important;
  scroll-snap-align: start;
}

.homeV2.homeV2--realisticV5 #home-boosted-shorts .homeV2ShortCard__media::after {
  background: linear-gradient(180deg, rgba(4, 8, 18, .08) 25%, rgba(4, 8, 18, .92));
}

.homeV2.homeV2--realisticV5 #home-boosted-shorts .homeV2ShortPill {
  top: 9px !important;
  left: 9px !important;
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px !important;
  background: rgba(5, 12, 26, .76) !important;
  font-size: 7px !important;
  letter-spacing: .05em;
}

.homeV2.homeV2--realisticV5 #home-boosted-shorts .homeV2ShortPill--right {
  right: 9px !important;
  left: auto !important;
}

.homeV2.homeV2--realisticV5 #home-boosted-shorts .homeV2ShortCard__caption {
  right: 11px !important;
  bottom: 11px !important;
  left: 11px !important;
}

.homeV2.homeV2--realisticV5 #home-boosted-shorts .homeV2ShortCard__caption strong {
  font-size: 12px !important;
}

.homeV2.homeV2--realisticV5 #home-boosted-shorts .homeV2ShortCard__caption span,
.homeV2.homeV2--realisticV5 #home-boosted-shorts .homeV2ShortCard__caption small {
  font-size: 8px !important;
}

.homeV2.homeV2--realisticV5 #home-boosted-shorts .homeV2ShortCard__caption small {
  color: #d8dff0 !important;
  font-size: 7px !important;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.homeV2.homeV2--realisticV5 #home-boosted-shorts .homeV2ShortPriceChip {
  display: none !important;
}

.homeV2.homeV2--realisticV5 #home-boosted-shorts .homeV2ShortPlay {
  position: absolute;
  z-index: 3;
  top: 45%;
  left: 50%;
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(5, 12, 26, .56);
  color: #fff;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(8px);
}

.homeV2.homeV2--realisticV5 #home-boosted-shorts .homeV2ShortPlay svg {
  width: 22px;
  height: 22px;
  margin-left: 2px;
}

/* Discovery tabs are real feed links, never decorative controls. */
.homeV2.homeV2--realisticV5 .homeV2DiscoveryTabs {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 11px;
  padding: 0 0 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.homeV2.homeV2--realisticV5 .homeV2DiscoveryTabs::-webkit-scrollbar {
  display: none;
}

.homeV2.homeV2--realisticV5 .homeV2DiscoveryTabs > a,
.homeV2.homeV2--realisticV5 .homeV2DiscoveryTabs > button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  padding: 0 13px;
  border: 1px solid var(--home-v5-line);
  border-radius: 999px;
  background: var(--home-v5-surface);
  color: var(--home-v5-muted) !important;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.homeV2.homeV2--realisticV5 .homeV2DiscoveryTabs > .is-active,
.homeV2.homeV2--realisticV5 .homeV2DiscoveryTabs > [aria-current="page"] {
  border-color: var(--home-v5-ink);
  background: var(--home-v5-ink);
  color: var(--home-v5-bg) !important;
}

.homeV2.homeV2--realisticV5 .homeV2DiscoveryGrid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 11px !important;
}

/* Compact shared Live / Short story rail. */
.homeV2.homeV2--realisticV5 .homeV2HappeningRail {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: 180px;
  gap: 9px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.homeV2.homeV2--realisticV5 .homeV2HappeningRail::-webkit-scrollbar {
  display: none;
}

.homeV2.homeV2--realisticV5 .homeV2HappeningCard {
  position: relative;
  height: 235px;
  overflow: hidden;
  border: 1px solid var(--home-v5-line);
  border-radius: 19px;
  background: #10182a;
  color: #fff !important;
  box-shadow: var(--home-v5-shadow);
  scroll-snap-align: start;
}

.homeV2.homeV2--realisticV5 .homeV2HappeningCard > img,
.homeV2.homeV2--realisticV5 .homeV2HappeningCard > video,
.homeV2.homeV2--realisticV5 .homeV2HappeningCard__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.homeV2.homeV2--realisticV5 .homeV2HappeningCard::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(4, 12, 25, .9));
  pointer-events: none;
}

.homeV2.homeV2--realisticV5 .homeV2HappeningCard__badge {
  position: absolute;
  z-index: 2;
  left: 9px;
  top: 9px;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(7, 18, 34, .82);
  color: #fff;
  font-size: 8px;
  font-weight: 900;
}

.homeV2.homeV2--realisticV5 .homeV2HappeningCard__badge--live {
  background: #cf2f49;
}

.homeV2.homeV2--realisticV5 .homeV2HappeningCard__body {
  position: absolute;
  z-index: 2;
  right: 11px;
  bottom: 11px;
  left: 11px;
}

.homeV2.homeV2--realisticV5 .homeV2HappeningCard__body strong {
  display: block;
  color: #fff;
  font-size: 13px;
  line-height: 1.15;
}

.homeV2.homeV2--realisticV5 .homeV2HappeningCard__body span,
.homeV2.homeV2--realisticV5 .homeV2HappeningCard__body small {
  display: block;
  margin-top: 3px;
  color: #dce8f5;
  font-size: 9px;
  line-height: 1.25;
}

/* The live provider keeps its richer card DOM. Flatten only its homepage
 * presentation into the same compact story language used by organic Shorts. */
.homeV2.homeV2--realisticV5 .homeV2HappeningRail .homeV2HappeningCard {
  display: block !important;
  gap: 0 !important;
  padding: 0 !important;
}

.homeV2.homeV2--realisticV5 .homeV2HappeningCard > .homeV2LiveHubCard__media,
.homeV2.homeV2--realisticV5 .homeV2HappeningCard > .homeV2HappeningCard__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  aspect-ratio: auto !important;
}

.homeV2.homeV2--realisticV5 .homeV2HappeningCard > .homeV2LiveHubCard__media img,
.homeV2.homeV2--realisticV5 .homeV2HappeningCard > .homeV2HappeningCard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.homeV2.homeV2--realisticV5 .homeV2HappeningCard::after {
  z-index: 1;
}

.homeV2.homeV2--realisticV5 .homeV2HappeningCard .homeV2LiveHubBadgeRow {
  z-index: 3;
  inset-inline: 9px;
  top: 9px;
}

.homeV2.homeV2--realisticV5 .homeV2HappeningCard--short > .homeV2HappeningCard__media > .homeV2LiveHubBadge {
  position: absolute;
  z-index: 3;
  top: 9px;
  left: 9px;
}

.homeV2.homeV2--realisticV5 .homeV2HappeningCard > .homeV2ListingCard__meta {
  position: absolute;
  z-index: 3;
  right: 11px;
  bottom: 39px;
  left: 11px;
  display: flex;
  gap: 5px;
  overflow: hidden;
  color: #dce8f5 !important;
  font-size: 8px !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.homeV2.homeV2--realisticV5 .homeV2HappeningCard > .homeV2ListingCard__title {
  position: absolute;
  z-index: 3;
  right: 11px;
  bottom: 12px;
  left: 11px;
  display: -webkit-box;
  overflow: hidden;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 900;
  line-height: 1.12 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.homeV2.homeV2--realisticV5 .homeV2HappeningCard > .homeV2ListingCard__price,
.homeV2.homeV2--realisticV5 .homeV2HappeningCard > .homeV2LiveHubStats,
.homeV2.homeV2--realisticV5 .homeV2HappeningCard > .homeV2Actions {
  display: none !important;
}

.homeV2.homeV2--realisticV5 .homeV2HappeningCard--short > .homeV2ListingCard__title {
  bottom: 12px;
}

/* Jobs use concise regional teasers instead of full application cards. */
.homeV2.homeV2--realisticV5 .homeV2JobTeaserRail {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 1fr);
  gap: 9px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.homeV2.homeV2--realisticV5 .homeV2JobTeaserRail::-webkit-scrollbar {
  display: none;
}

.homeV2.homeV2--realisticV5 .homeV2JobTeaser {
  min-width: 0;
  min-height: 78px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border: 1px solid var(--home-v5-line);
  border-radius: 17px;
  background: var(--home-v5-surface);
  color: var(--home-v5-ink) !important;
  box-shadow: var(--home-v5-shadow);
  scroll-snap-align: start;
}

.homeV2.homeV2--realisticV5 .homeV2JobTeaser__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 13px;
  background: var(--home-v5-soft);
  color: var(--home-v5-blue);
}

.homeV2.homeV2--realisticV5 .homeV2JobTeaser__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.homeV2.homeV2--realisticV5 .homeV2JobTeaser__icon svg {
  width: 22px;
  height: 22px;
}

.homeV2.homeV2--realisticV5 .homeV2JobTeaser__copy {
  min-width: 0;
}

.homeV2.homeV2--realisticV5 .homeV2JobTeaser__copy strong {
  display: block;
  overflow: hidden;
  color: var(--home-v5-ink);
  font-size: 12px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.homeV2.homeV2--realisticV5 .homeV2JobTeaser__copy span,
.homeV2.homeV2--realisticV5 .homeV2JobTeaser__copy small {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: var(--home-v5-muted);
  font-size: 9px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.homeV2.homeV2--realisticV5 .homeV2JobTeaser__salary {
  color: var(--home-v5-ink);
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.homeV2.homeV2--realisticV5 .homeV2JobTeaser > .homeV2JobCard__top,
.homeV2.homeV2--realisticV5 .homeV2JobTeaser > .homeV2JobCard__body {
  display: contents !important;
}

.homeV2.homeV2--realisticV5 .homeV2JobTeaser .homeV2JobCard__company,
.homeV2.homeV2--realisticV5 .homeV2JobTeaser .homeV2MediaActions,
.homeV2.homeV2--realisticV5 .homeV2JobTeaser .homeV2JobBadgeRow,
.homeV2.homeV2--realisticV5 .homeV2JobTeaser .homeV2Facts,
.homeV2.homeV2--realisticV5 .homeV2JobTeaser .homeV2Actions {
  display: none !important;
}

.homeV2.homeV2--realisticV5 .homeV2JobTeaser .homeV2JobLogo {
  width: 46px !important;
  min-width: 46px !important;
  height: 46px !important;
  min-height: 46px !important;
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  overflow: hidden;
  border: 1px solid var(--home-v5-line);
  border-radius: 13px !important;
  background: var(--home-v5-soft);
}

.homeV2.homeV2--realisticV5 .homeV2JobTeaser .homeV2JobLogo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.homeV2.homeV2--realisticV5 .homeV2JobTeaser .homeV2ListingCard__title {
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  overflow: hidden;
  color: var(--home-v5-ink) !important;
  font-size: 12px !important;
  font-weight: 900;
  line-height: 1.15 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.homeV2.homeV2--realisticV5 .homeV2JobTeaser .homeV2JobCard__body > p {
  min-width: 0;
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  margin: 0 !important;
  overflow: hidden;
  color: var(--home-v5-muted) !important;
  font-size: 9px !important;
  line-height: 1.15 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.homeV2.homeV2--realisticV5 .homeV2JobTeaser .homeV2ListingCard__price {
  max-width: 125px;
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  margin: 0 !important;
  overflow: hidden;
  color: var(--home-v5-ink) !important;
  font-size: 10px !important;
  line-height: 1.15 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* The existing real Leaflet map remains the sole map implementation. */
.homeV2.homeV2--realisticV5 #home-nearby .homeV2NearbyGrid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.3fr) minmax(270px, .7fr) !important;
  gap: 11px !important;
}

.homeV2.homeV2--realisticV5 #home-nearby .homeV2MapStage,
.homeV2.homeV2--realisticV5 #home-nearby .homeV2MapBox {
  min-width: 0;
  height: 270px !important;
  min-height: 270px !important;
  border-radius: 20px !important;
}

.homeV2.homeV2--realisticV5 #home-nearby .homeV2Panel {
  padding: 8px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.homeV2.homeV2--realisticV5 #home-nearby .homeV2NearbyList {
  display: grid;
  gap: 8px;
}

.homeV2.homeV2--realisticV5 #home-nearby .homeV2NearbyItem {
  min-width: 0;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid var(--home-v5-line);
  border-radius: 16px;
  background: var(--home-v5-surface);
  color: var(--home-v5-ink) !important;
}

.homeV2.homeV2--realisticV5 #home-nearby .homeV2NearbyItem img {
  width: 60px;
  height: 60px;
  border-radius: 11px;
  object-fit: cover;
}

.homeV2.homeV2--realisticV5 #home-nearby .homeV2NearbyItem strong {
  overflow: hidden;
  color: var(--home-v5-ink) !important;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.homeV2.homeV2--realisticV5 #home-nearby .homeV2NearbyItem small {
  margin-top: 3px;
  color: var(--home-v5-muted) !important;
  font-size: 8px;
}

.homeV2.homeV2--realisticV5 #home-nearby .homeV2NearbyItem b {
  color: var(--home-v5-ink) !important;
  font-size: 9px;
  white-space: nowrap;
}

html[dir="rtl"] .homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2MobileSearch input[type="search"] {
  padding-right: 45px;
  padding-left: 58px;
}

html[dir="rtl"] .homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2MobileSearch__field > svg {
  right: 15px;
  left: auto;
}

html[dir="rtl"] .homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2MobileSearch > button {
  right: auto;
  left: 5px;
}

html[dir="rtl"] .homeV2.homeV2--realisticV5 .homeV2AllCategories__panel {
  right: auto;
  left: 0;
}

@media (max-width: 900px) {
  .homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck > .homeV2MobileDiscovery {
    display: block !important;
  }

  .homeV2.homeV2--realisticV5 .homeV2DiscoveryGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .homeV2.homeV2--realisticV5 #home-boosted-listings .homeV2ListingGrid {
    grid-auto-columns: minmax(220px, 1fr) !important;
  }

}

@media (max-width: 700px) {
  body[data-category="home"] > main.container {
    padding-inline: 11px !important;
    padding-bottom: calc(96px + env(safe-area-inset-bottom)) !important;
  }

  body[data-category="home"] .homeV2.homeV2--boostEra.homeV2--realisticV5 {
    width: 100% !important;
    max-width: none !important;
    padding-bottom: 0 !important;
  }

  .homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck {
    padding: 10px;
    border-radius: 22px;
  }

  .homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck > .homeV2MobileDiscovery {
    display: block !important;
    margin-bottom: 12px;
  }

  .homeV2.homeV2--realisticV5 .homeV2CategoryDeckHeader,
  .homeV2.homeV2--realisticV5 .homeV2Section__head {
    align-items: center !important;
    gap: 8px;
  }

  .homeV2.homeV2--realisticV5 .homeV2CategoryDeckHeader p,
  .homeV2.homeV2--realisticV5 .homeV2Section__head p {
    display: none !important;
  }

  .homeV2.homeV2--realisticV5 .homeV2CategoryDeckHeader h2,
  .homeV2.homeV2--realisticV5 .homeV2Section__head h2 {
    font-size: 22px !important;
  }

  .homeV2.homeV2--realisticV5 .homeV2GhostButton,
  .homeV2.homeV2--realisticV5 .homeV2AllCategories > summary {
    min-height: 38px !important;
    padding: 0 12px !important;
    font-size: 10px !important;
  }

  .homeV2.homeV2--realisticV5 .homeV2AllCategories__panel {
    position: fixed;
    z-index: 9500;
    top: 76px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    right: 11px;
    left: 11px;
    width: auto;
    max-height: none;
  }

  html[dir="rtl"] .homeV2.homeV2--realisticV5 .homeV2AllCategories__panel {
    right: 11px;
    left: 11px;
  }

  .homeV2.homeV2--realisticV5 .homeV2AllCategories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homeV2.homeV2--realisticV5 .homeV2CategoryRailShell {
    display: block;
  }

  .homeV2.homeV2--realisticV5 .homeV2CategoryRailControl {
    display: none !important;
  }

  .homeV2.homeV2--realisticV5 .homeV2MobileQuickNav.homeV2CategoryRail {
    grid-auto-columns: 78px !important;
    gap: 3px !important;
  }

  .homeV2.homeV2--realisticV5 .homeV2CategoryRail > a,
  .homeV2.homeV2--realisticV5 .homeV2MobileQuickNav.homeV2CategoryRail > a {
    min-height: 82px;
    padding: 5px 2px;
  }

  .homeV2.homeV2--realisticV5 .homeV2CategoryIcon,
  .homeV2.homeV2--realisticV5 .homeV2CategoryRail > a:nth-child(n) .homeV2CategoryIcon {
    width: 52px !important;
    min-width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
  }

  .homeV2.homeV2--realisticV5 .homeV2CategoryIcon img {
    width: 46px !important;
    height: 46px !important;
  }

  .homeV2.homeV2--realisticV5 .homeV2CategoryEmoji {
    font-size: 34px !important;
  }

  .homeV2.homeV2--realisticV5 .homeV2CategoryName {
    max-width: 74px;
    font-size: 9px !important;
  }

  .homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2Hero {
    min-height: 250px !important;
    padding: 17px;
    border-radius: 20px !important;
  }

  .homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2Hero__copy h1 {
    font-size: 33px !important;
  }

  .homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2Hero__copy p {
    margin-top: 9px !important;
    font-size: 11px !important;
  }

  .homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2StatsPill,
  .homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2LiveStrip .homeV2LiveCard:nth-last-child(n+4) {
    display: none !important;
  }

  .homeV2.homeV2--realisticV5 .homeV2Section {
    padding-top: 23px !important;
  }

  .homeV2.homeV2--realisticV5 #home-boosted-listings .homeV2ListingGrid {
    grid-auto-columns: 158px !important;
    gap: 8px !important;
  }

  .homeV2.homeV2--realisticV5 #home-boosted-listings .homeV2ListingCard__media,
  .homeV2.homeV2--realisticV5 .homeV2DiscoveryGrid .homeV2ListingCard__media {
    height: 112px !important;
  }

  .homeV2.homeV2--realisticV5 #home-boosted-listings .homeV2ListingCard__body,
  .homeV2.homeV2--realisticV5 .homeV2DiscoveryGrid .homeV2ListingCard__body {
    padding: 8px !important;
  }

  .homeV2.homeV2--realisticV5 #home-boosted-listings .homeV2IconButton,
  .homeV2.homeV2--realisticV5 .homeV2DiscoveryGrid .homeV2IconButton {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
  }

  .homeV2.homeV2--realisticV5 #home-boosted-listings .homeV2ListingCard__title,
  .homeV2.homeV2--realisticV5 .homeV2DiscoveryGrid .homeV2ListingCard__title {
    font-size: 12px !important;
  }

  .homeV2.homeV2--realisticV5 #home-boosted-listings .homeV2ListingCard__body p,
  .homeV2.homeV2--realisticV5 .homeV2DiscoveryGrid .homeV2ListingCard__body p {
    font-size: 9px !important;
  }

  .homeV2.homeV2--realisticV5 #home-boosted-listings .homeV2ListingCard__price,
  .homeV2.homeV2--realisticV5 .homeV2DiscoveryGrid .homeV2ListingCard__price {
    font-size: 12px !important;
  }

  .homeV2.homeV2--realisticV5 #home-boosted-shorts {
    margin-top: 20px;
    padding: 11px !important;
    border-radius: 20px;
  }

  .homeV2.homeV2--realisticV5 #home-boosted-shorts .homeV2ShortsGrid {
    grid-auto-columns: 43% !important;
    gap: 8px !important;
  }

  .homeV2.homeV2--realisticV5 #home-boosted-shorts .homeV2ShortCard {
    height: 238px !important;
    min-height: 238px !important;
  }

  .homeV2.homeV2--realisticV5 .homeV2DiscoveryGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .homeV2.homeV2--realisticV5 .homeV2HappeningRail {
    grid-auto-columns: 145px;
  }

  .homeV2.homeV2--realisticV5 .homeV2HappeningCard {
    height: 205px;
  }

  .homeV2.homeV2--realisticV5 .homeV2JobTeaserRail {
    grid-auto-columns: 84%;
    gap: 8px;
  }

  .homeV2.homeV2--realisticV5 #home-nearby .homeV2NearbyList {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homeV2.homeV2--realisticV5 #home-nearby .homeV2NearbyItem {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .homeV2.homeV2--realisticV5 #home-nearby .homeV2NearbyItem img {
    width: 48px;
    height: 48px;
  }

  .homeV2.homeV2--realisticV5 #home-nearby .homeV2NearbyItem > b {
    display: none;
  }

  .homeV2.homeV2--realisticV5 #home-nearby .homeV2MapBox {
    height: 220px !important;
    min-height: 220px !important;
  }

  .homeV2.homeV2--realisticV5 #home-nearby .homeV2NearbyGrid {
    grid-template-columns: 1fr !important;
  }

  .homeV2.homeV2--realisticV5 .homeV2CompactOpen {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
  }
}

@media (max-width: 700px) {
  .homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2MobileHeroPill:nth-child(3) {
    display: none !important;
  }
}

body[data-category="home"] :is(a, button, input, select, textarea, summary, .homeV2CategoryRail):focus-visible {
  outline: 3px solid #8fc7ff !important;
  outline-offset: 3px !important;
}

html[data-theme="light"] body[data-category="home"] :is(a, button, input, select, textarea, summary, .homeV2CategoryRail):focus-visible {
  outline-color: #075dca !important;
}

body[data-category="home"] :is(.homeV2ListingCard__mediaLink, .homeV2ShortCard__media, .homeV2HappeningCard__media, .homeV2LiveHubCard__media):focus-visible {
  outline-offset: -4px !important;
}

@media (max-width: 780px) {
  .homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck > .homeV2MobileDiscovery {
    display: block !important;
  }

  body[data-category="home"] .homeV2.homeV2--realisticV5 .homeV2CategoryRailShell {
    display: block !important;
  }

  body[data-category="home"] .homeV2.homeV2--realisticV5 .homeV2CategoryRailControl {
    display: none !important;
  }

  body[data-category="home"] .homeV2.homeV2--realisticV5 .homeV2MobileQuickNav.homeV2CategoryRail {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: calc((100% - 24px) / 4) !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
    scroll-padding-inline: 0 !important;
    scroll-snap-type: x mandatory !important;
  }

  body[data-category="home"] .homeV2.homeV2--realisticV5 .homeV2MobileQuickNav.homeV2CategoryRail > a {
    position: relative !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 110px !important;
    min-height: 110px !important;
    max-height: 110px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    text-align: center !important;
    overflow: hidden !important;
    border: 1px solid color-mix(in srgb, var(--home-v5-line) 82%, transparent) !important;
    border-radius: 16px !important;
    background: color-mix(in srgb, var(--home-v5-surface) 88%, transparent) !important;
    box-shadow: inset 0 1px 0 color-mix(in srgb, white 14%, transparent) !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: normal !important;
    transform: none !important;
  }

  body[data-category="home"] .homeV2.homeV2--realisticV5 .homeV2MobileQuickNav.homeV2CategoryRail > a::after {
    content: none !important;
    display: none !important;
  }

  body[data-category="home"] .homeV2.homeV2--realisticV5 .homeV2MobileQuickNav.homeV2CategoryRail > a .homeV2CategoryIcon {
    position: absolute !important;
    top: 12px !important;
    left: 50% !important;
    width: 52px !important;
    min-width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
    display: block !important;
    margin: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: translateX(-50%) !important;
  }

  body[data-category="home"] .homeV2.homeV2--realisticV5 .homeV2MobileQuickNav.homeV2CategoryRail > a .homeV2CategoryEmoji {
    position: absolute !important;
    inset: 0 !important;
    width: 52px !important;
    height: 52px !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 52px !important;
    text-align: center !important;
  }

  body[data-category="home"] .homeV2.homeV2--realisticV5 .homeV2MobileQuickNav.homeV2CategoryRail > a .homeV2CategoryEmojiCanvas {
    display: block !important;
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto !important;
  }

  body[data-category="home"] .homeV2.homeV2--realisticV5 .homeV2MobileQuickNav.homeV2CategoryRail > a .homeV2CategoryName {
    position: absolute !important;
    top: 72px !important;
    right: 4px !important;
    left: 4px !important;
    width: auto !important;
    max-width: none !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  body[data-category="home"][data-mobile-nav="visible"] {
    --cone-mobile-bottom-nav-offset: calc(84px + env(safe-area-inset-bottom));
    scroll-padding-bottom: calc(var(--cone-mobile-bottom-nav-offset) + 16px);
  }

  body[data-category="home"] .homeV2MobileBottomNav {
    position: fixed !important;
    z-index: 9800 !important;
    left: 50% !important;
    right: auto !important;
    bottom: max(6px, env(safe-area-inset-bottom)) !important;
    width: min(calc(100% - 14px), 426px) !important;
    height: 72px !important;
    padding: 6px !important;
    border: 1px solid var(--cone-mobile-border, rgba(120, 145, 175, .22)) !important;
    border-radius: 22px !important;
    background: color-mix(in srgb, var(--home-v5-surface, #0e1b2c) 94%, transparent) !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .28) !important;
    transform: translateX(-50%) !important;
    backdrop-filter: blur(18px);
  }

  html[data-theme="light"] body[data-category="home"] .homeV2MobileBottomNav {
    background: rgba(255, 255, 255, .94) !important;
  }

  body[data-category="home"] .homeV2MobileBottomNav__plus {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
  }
}

@media (min-width: 781px) {
  body[data-category="home"] > main.container {
    width: min(calc(100% - 28px), 1480px) !important;
    max-width: 1480px !important;
  }

  body[data-category="home"] .homeV2.homeV2--boostEra.homeV2--realisticV5 {
    width: 100% !important;
    max-width: 1480px !important;
  }

  body[data-category="home"] .homeV2.homeV2--realisticV5 .homeV2CategoryDeck {
    display: none !important;
  }

  body[data-category="home"] .homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck > .homeV2MobileDiscovery {
    display: none !important;
  }

  body[data-category="home"] .homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}

@media (max-width: 380px) {
  .homeV2.homeV2--realisticV5 .homeV2DiscoveryDeck .homeV2Hero__copy h1 {
    font-size: 30px !important;
  }

  .homeV2.homeV2--realisticV5 #home-boosted-shorts .homeV2ShortsGrid {
    grid-auto-columns: 47% !important;
  }

  .homeV2.homeV2--realisticV5 #home-nearby .homeV2NearbyList {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .homeV2.homeV2--realisticV5 *,
  .homeV2.homeV2--realisticV5 *::before,
  .homeV2.homeV2--realisticV5 *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
