/* ==UserStyle==
@name         Internet Roadtrip - Solo Ride Simulator
@description  Forget about the other drivers, and just enjoy the scenery.
@version      1.1.0
@namespace    me.netux.site/user-styles/internet-roadtrip/hide-chat
@license      MIT
@downloadURL https://update.greasyfork.org/scripts/542231/Internet%20Roadtrip%20-%20Solo%20Ride%20Simulator.user.css
@updateURL https://update.greasyfork.org/scripts/542231/Internet%20Roadtrip%20-%20Solo%20Ride%20Simulator.meta.css
==/UserStyle== */

@-moz-document url-prefix("https://neal.fun/internet-roadtrip/") {
.container {
  .drivers,
  .options,
  .chat-container,
  .results-content,
  .car-radio .control-button,
  .voted {
    display: none !important;
  }

  .results {
    top: 10px;
    padding: 7px 10px;
    width: auto;
    min-width: 0;
    height: 33px;
    
    .container:has(.irf-g3AoUI) & {
      right: 48px;
    }
    
    .results-title {
      &:has(.time-remaining) {
        font-size: 0;

        .time-remaining {
          font-size: 16px;

          &::before {
            content: "Moving in ";
          }
        }
      }
    
      &:not(:has(.time-remaining)) {
        font-size: 0;

        &::before {
          content: "Moving...";
          font-size: 16px;
        }
      }
    }
  }
  
  .car-radio .volume-controls {
    width: 100%;
    
    & .power-button {
      margin-right: auto;
    }
  }

  /* Combined Votes Count UI */
  .cvcui-results-content-toggle-button, .cvcui-vote-count {
    display: none !important;
  }
  
  /* Vote History */
  .vh-vote-history {
    .vh-vote-history-entry {
      font-size: 0;
      
      .vh-vote-history-entry__time {
        font-size: 0.7rem;
        margin-left: 0;
        color: white;
      }
    }
  }
}
}