/* Automotive social — site theme + landing + profile */

:root {
  --auto-ink: #141618;
  --auto-asphalt: #22262b;
  --auto-steel: #6f747a;
  --auto-mist: #c8cbcf;
  --auto-signal: #FA6418;
  --auto-signal-deep: #D45515;
  --auto-signal-soft: #FEE8DD;
  --auto-bone: #ebe6de;
  --auto-paper: #efeeea;
  --auto-panel: #fff;
  --auto-line: rgba(20, 22, 24, 0.15);
  --auto-glow:
    0 2px 12px rgba(20, 22, 24, 0.08),
    0 0 0 1px rgba(20, 22, 24, 0.03);
  --auto-box-border: 1px solid rgba(20, 22, 24, 0.15);
  --auto-box-radius: 4px;
  --auto-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --auto-body: "Figtree", "Helvetica Neue", sans-serif;

  /* Sngine theme tokens — brighter orange */
  --body-bg-color: var(--auto-paper);
  --body-color: var(--auto-ink);
  --link-color: var(--auto-signal);
  --header-bg-color: #ebe7e7;
  --plyr-color-main: var(--auto-signal);

  /* Bootstrap primary */
  --bs-primary: #FA6418;
  --bs-primary-rgb: 250, 100, 24;
  --bs-primary-text-emphasis: #A3400E;
  --bs-primary-bg-subtle: #FEE8DD;
  --bs-primary-border-subtle: #FDB997;
  --bs-link-color: #FA6418;
  --bs-link-hover-color: #D45515;
}

/* ---- Global site accents ---- */

body:not(.night-mode) {
  background-color: var(--auto-paper);
  color: var(--auto-ink);
}

a {
  color: var(--auto-signal);
}

a:hover {
  color: var(--auto-signal-deep);
}

.main-icon,
.main-icon *,
.x-form-tools {
  color: var(--auto-signal) !important;
  fill: var(--auto-signal) !important;
}

.header-icon.active,
.header-icon.active * {
  color: var(--auto-signal) !important;
  fill: var(--auto-signal) !important;
}

.btn-primary,
.btn-primary.disabled,
.btn-primary:disabled,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
  color: #fff;
  border-color: var(--auto-signal);
  background-color: var(--auto-signal);
}

.btn-primary {
  box-shadow: none;
}

.btn-primary:hover,
.btn-primary:focus {
  color: #fff;
  border-color: var(--auto-signal-deep);
  background-color: var(--auto-signal-deep);
}

.btn-primary.focus,
.btn-primary:focus {
  box-shadow: 0 0 0 2px rgba(250, 100, 24), 0.22);
}

.btn-outline-primary {
  color: var(--auto-signal);
  border-color: var(--auto-signal);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
  color: #fff;
  border-color: var(--auto-signal);
  background-color: var(--auto-signal);
}

.bg-primary {
  background-color: var(--auto-signal) !important;
  background: var(--auto-signal) !important;
}

.text-primary {
  color: var(--auto-signal) !important;
}

.badge.bg-primary,
.bg-gradient-primary {
  background: var(--auto-signal) !important;
  background-image: none !important;
}

.form-check-input:checked {
  background-color: var(--auto-signal);
  border-color: var(--auto-signal);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(250, 100, 24), 0.45);
  box-shadow: 0 0 0 0.2rem rgba(250, 100, 24), 0.15);
}

.page-item.active .page-link,
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: var(--auto-signal);
  border-color: var(--auto-signal);
}

.side-nav > li.active > a {
  color: var(--auto-signal);
}

.progress-bar {
  background-color: var(--auto-signal);
}

.main-header {
  background: var(--header-bg-color);
  border-bottom: 1px solid var(--auto-line);
  box-shadow: none;
}

@media (min-width: 1200px) {
  html:not(.whip-phone-layout) .main-header {
    box-shadow: 0 4px 14px rgba(20, 22, 24, 0.1);
    z-index: 1040;
  }

  html:not(.whip-phone-layout) body.night-mode .main-header {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  }
}

@media (min-width: 1200px) {
  :root {
    --whip-shell-max: min(1600px, calc(100vw - 32px));
    --whip-rail-w: 300px;
    --whip-header-h: 60px;
    --whip-header-icon: 30px;
    --whip-header-hit: 34px;
  }

  body:not(.auto-landing) .main-header > .container,
  body:not(.auto-landing) .main-header > .container-fluid,
  body:not(.auto-landing) .main-wrapper > .container,
  body:not(.auto-landing) .main-wrapper > .container-fluid {
    max-width: var(--whip-shell-max);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
  }

  body:not(.auto-landing) .main-header {
    padding-right: 0 !important;
    height: var(--whip-header-h) !important;
  }
}

body.night-mode .main-header {
  background: var(--header-bg-color-dark);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* Keep the full wordmark visible, especially on phones */
.main-header,
.main-header .logo-wrapper,
.main-header .logo {
  overflow: visible;
}

.main-header .logo-wrapper {
  display: flex;
  align-items: center;
  height: 70px;
}

.main-header .logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

.main-header .logo img {
  height: auto;
  max-height: 58px;
  width: auto;
  max-width: min(320px, 100%);
  object-fit: contain;
  object-position: left center;
}

.main-header .logo img.logo-light {
  display: block;
}

.main-header .logo img.logo-dark {
  display: none;
}

body.night-mode .main-header .logo img.logo-light {
  display: none;
}

body.night-mode .main-header .logo img.logo-dark {
  display: block;
}

@media (max-width: 1199.98px) {
  :root {
    --whip-header-h: 52px;
  }

  .main-header {
    height: var(--whip-header-h) !important;
  }

  .main-header .logo-wrapper {
    height: var(--whip-header-h) !important;
  }

  .main-header .logo {
    line-height: var(--whip-header-h);
  }

  .main-header .logo img {
    max-height: calc(var(--whip-header-h, 48px) - 8px);
    max-width: min(220px, calc(100vw - 140px));
  }

  .main-header .navbar-wrapper > ul > li > a {
    min-width: 36px;
    padding: 0 5px;
  }
}

.card {
  background: var(--auto-panel);
  border: var(--auto-box-border) !important;
  border-radius: var(--auto-box-radius);
  box-shadow: var(--auto-glow);
}

/* Desktop: content boxes white + shared border/glow */
html:not(.whip-phone-layout) .card,
html:not(.whip-phone-layout) .home-rail__card,
html:not(.whip-phone-layout) .publisher,
html:not(.whip-phone-layout) .post,
html:not(.whip-phone-layout) .whip-home-composer.is-docked .publisher,
html:not(.whip-phone-layout) body.publisher-focus .whip-home-composer.is-docked .publisher-slider,
html:not(.whip-phone-layout) .sg-offcanvas-sidebar .main-side-nav-card,
html:not(.whip-phone-layout) .sg-offcanvas-sidebar > .card,
html:not(.whip-phone-layout) .sg-offcanvas-mainbar .card,
html:not(.whip-phone-layout) .panel,
html:not(.whip-phone-layout) .panel-messages,
html:not(.whip-phone-layout) .x-messenger,
html:not(.whip-phone-layout) .blogs-widget,
html:not(.whip-phone-layout) .marketplace-widget,
html:not(.whip-phone-layout) .product.card,
html:not(.whip-phone-layout) .home-stories-card {
  background: #fff !important;
  border: var(--auto-box-border) !important;
  border-radius: var(--auto-box-radius);
  box-shadow: var(--auto-glow);
}

html:not(.whip-phone-layout) .publisher .colored-text-wrapper {
  background: #fff !important;
}

/* Sidebar + content panels: shared border + glow */
.sg-offcanvas-sidebar .main-side-nav-card,
.sg-offcanvas-sidebar > .card,
.sg-offcanvas-mainbar > .card,
.sg-offcanvas-mainbar .card {
  background: var(--auto-panel);
  border: var(--auto-box-border) !important;
  border-radius: var(--auto-box-radius);
  box-shadow: var(--auto-glow);
}

.sg-offcanvas-sidebar .main-side-nav-card {
  border: var(--auto-box-border) !important;
  box-shadow: var(--auto-glow);
}

.sg-offcanvas-mainbar .col-lg-8 > .card,
.sg-offcanvas-mainbar .col-lg-4 > .card,
.sg-offcanvas-mainbar .js_sticky-sidebar > .card {
  border: var(--auto-box-border) !important;
  box-shadow: var(--auto-glow);
}

.profile-tabs-wrapper a.active {
  color: var(--auto-signal);
  border-bottom-color: var(--auto-signal);
}

.x-progress .progress-bar {
  background-color: var(--auto-signal);
}

/* Font Awesome icons inside svg-container (realistic UI set) */
.svg-container.fa-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  flex-shrink: 0;
  line-height: 1;
  vertical-align: middle;
  overflow: visible;
  box-sizing: content-box;
  min-width: 1em;
  min-height: 1em;
}

.svg-container.fa-icon > i {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.92em;
  line-height: 1;
  width: 1em;
  height: 1em;
  text-align: center;
}

.svg-container.fa-icon.main-icon > i,
.svg-container.main-icon.fa-icon > i,
.main-icon.svg-container.fa-icon > i,
.svg-container.fa-icon.action-icon > i,
.svg-container.action-icon.fa-icon > i {
  color: inherit;
}

/* Publisher / Share something tool icons */
.publisher-tools-tab .svg-container.fa-icon,
.publisher-footer .svg-container.fa-icon {
  width: 24px !important;
  height: 24px !important;
  font-size: 24px !important;
  min-width: 24px;
  min-height: 24px;
}

.publisher-tools-tab .svg-container.fa-icon > i,
.publisher-footer .svg-container.fa-icon > i {
  width: 1em;
  height: 1em;
  font-size: 0.92em;
}

/* ---- Landing ---- */

.auto-landing {
  min-height: 100vh;
  background: var(--auto-paper);
  color: var(--auto-ink);
  font-family: var(--auto-body);
}

body.auto-landing .main-header,
body.auto-landing .footer-mini,
body.auto-landing .footer,
body.auto-landing .top-bar {
  display: none !important;
}

body.auto-landing.index-body {
  padding: 0 !important;
  margin: 0 !important;
  background: var(--auto-paper) !important;
}

body.auto-landing .main-wrapper {
  min-height: 100vh;
}

.auto-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--auto-ink, #141618);
  background: #fff;
  overflow: hidden;
}

.auto-hero__media {
  position: absolute;
  inset: 0;
  background-color: #fff;
  background-size: min(62vw, 860px) auto;
  background-position: right 3vw center;
  background-repeat: no-repeat;
}

.auto-hero__nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
}

.auto-hero__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.auto-hero__brand img {
  height: 52px;
  width: auto;
  display: block;
}

.auto-hero__brand:hover {
  color: var(--auto-ink, #141618);
}

.auto-hero__nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.auto-hero__nav-link {
  color: var(--auto-ink, #141618);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.auto-hero__nav-link:hover {
  color: var(--auto-signal, #FA6418);
  border-color: rgba(250, 100, 24, 0.45);
}

.auto-hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 1.5rem 4.5rem;
  max-width: 42rem;
  animation: auto-rise 0.9s ease-out both;
}

.auto-hero__title {
  font-family: var(--auto-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 10vw, 6.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.92;
  margin: 0 0 1rem;
  color: var(--auto-ink, #141618);
}

.auto-hero__headline {
  font-family: var(--auto-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--auto-ink, #141618);
}

.auto-hero__lede {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.5;
  color: #3c4148;
  max-width: 28rem;
  margin: 0 0 1.75rem;
}

.auto-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.auto-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  font-family: var(--auto-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.auto-btn:hover {
  transform: translateY(-1px);
}

.auto-btn--signal {
  background: var(--auto-signal);
  color: #fff;
}

.auto-btn--signal:hover {
  background: var(--auto-signal-deep);
  color: #fff;
}

.auto-btn--ghost {
  background: transparent;
  color: var(--auto-ink, #141618);
  border-color: rgba(20, 22, 24, 0.28);
}

.auto-btn--ghost:hover {
  background: #f6f5f2;
  color: var(--auto-ink, #141618);
  border-color: rgba(20, 22, 24, 0.45);
}

.auto-auth__intro {
  display: none;
}

.auto-auth {
  position: relative;
  padding: 4.5rem 1.5rem 3.5rem;
  background:
    linear-gradient(180deg, #F4F6F8 0%, var(--auto-paper) 35%, var(--auto-paper) 100%);
}

.auto-auth__inner {
  max-width: 460px;
  margin: 0 auto;
  animation: auto-rise 0.8s ease-out 0.1s both;
}

.auto-auth__title {
  font-family: var(--auto-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
  color: var(--auto-signal);
}

.auto-auth__lede {
  color: var(--auto-steel);
  margin: 0 0 1.75rem;
  font-size: 1rem;
}

.auto-auth .landing-form,
.auto-auth .js_panel-login,
.auto-auth .card,
.auto-auth .panel {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.auto-auth .form-control {
  border-radius: 2px;
  border-color: var(--auto-line);
  min-height: 2.85rem;
  background: #fff;
}

.auto-auth .btn-primary {
  background: var(--auto-signal) !important;
  border-color: var(--auto-signal) !important;
  border-radius: 2px;
  font-weight: 600;
}

.auto-auth .btn-primary:hover {
  background: var(--auto-signal-deep) !important;
  border-color: var(--auto-signal-deep) !important;
}

.auto-auth__footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--auto-line);
  text-align: center;
}

@keyframes auto-hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@keyframes auto-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auto-features {
  display: none;
}

.auto-features__title {
  font-family: var(--auto-display);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
  color: var(--auto-ink, #141618);
}

.auto-features__lede {
  margin: 0 0 1rem;
  color: #3c4148;
  font-size: 0.95rem;
  line-height: 1.45;
}

.auto-features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.auto-feature {
  padding: 12px 10px 12px;
  background: #fff;
  border: 1px solid rgba(20, 22, 24, 0.1);
  text-align: left;
}

.auto-feature i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  color: var(--auto-signal, #FA6418);
  font-size: 15px;
}

.auto-feature h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--auto-ink, #141618);
}

.auto-feature p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: #3c4148;
}


@media (min-width: 1200px) {
  body.auto-landing,
  body.auto-landing.index-body {
    background: #fff !important;
  }

  body.auto-landing .main-wrapper {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.auto-landing {
    display: block;
  }

  body.auto-landing .auto-landing {
    display: grid;
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-rows: 100dvh;
    min-height: 100dvh;
    background: #fff;
  }

  .auto-hero {
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
    height: 100dvh;
  }

  .auto-hero__nav,
  .auto-hero__content {
    padding-left: clamp(2rem, 5vw, 4.5rem);
    padding-right: clamp(1.5rem, 3vw, 2.5rem);
  }

  .auto-hero__content {
    justify-content: center;
    padding-bottom: 2.5rem;
    max-width: none;
  }

  .auto-hero__title {
    font-size: clamp(2.6rem, 4.6vw, 4.4rem);
  }

  .auto-hero .auto-btn--ghost {
    background: #fff;
  }

  .auto-hero__media {
    background-position: left 1vw bottom;
    background-size: min(28vw, 360px) auto;
  }

  .auto-auth {
    grid-column: 2;
    grid-row: 1;
    min-height: 0;
    height: 100dvh;
    display: flex;
    align-items: center;
    overflow: auto;
    padding: 1.5rem clamp(2rem, 4vw, 4.5rem);
    background: #fff;
  }

  .auto-auth__inner {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .auto-features {
    display: block;
    margin-top: 1.75rem;
  }
}

@media (max-width: 1199.98px) {
  .auto-hero {
    display: flex !important;
    min-height: 0;
    height: auto;
    background: #fff;
  }

  .auto-hero__nav,
  .auto-hero__content {
    display: none;
  }

  .auto-hero__media {
    position: relative;
    inset: auto;
    height: 200px;
    background-size: min(92vw, 520px) auto;
    background-position: center center;
  }

  .auto-features {
    display: block;
    margin-top: 1.75rem;
  }

  body.auto-landing.index-body,
  .auto-landing {
    background: #fff !important;
  }

  .auto-auth {
    min-height: 0;
    display: block;
    padding: 0.25rem 1.25rem 2.25rem;
    background: #fff;
  }

  .auto-auth__intro {
    display: block;
    margin-bottom: 1.35rem;
    text-align: center;
  }

  .auto-auth__brand {
    display: inline-flex;
    margin-bottom: 0.85rem;
  }

  .auto-auth__brand img {
    height: 44px;
    width: auto;
    display: block;
  }

  .auto-auth__desc {
    margin: 0 auto;
    max-width: 26rem;
    color: #3c4148;
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.45;
  }
}

/* ---- Profile ---- */

.auto-profile .profile-header {
  border-radius: 4px;
  overflow: visible;
  border: 1px solid rgba(250, 100, 24), 0.16);
  background: var(--auto-panel);
  box-shadow: var(--auto-glow);
  margin-bottom: 1rem;
}

.auto-profile .profile-cover-wrapper {
  border-radius: 4px 4px 0 0;
  background: #2b241d;
}

.profile-cover-wrapper {
  height: 180px;
  min-height: 180px;
  max-height: 180px;
  overflow: hidden;
  display: block;
  background: #2b241d;
}

@media (min-width: 576px) {
  .profile-cover-wrapper {
    height: 240px;
    min-height: 240px;
    max-height: 240px;
  }
}

@media (min-width: 1200px) {
  .profile-cover-wrapper {
    height: 300px;
    min-height: 300px;
    max-height: 300px;
  }
}

@media (min-width: 1200px) {
  .profile-cover-wrapper {
    height: 360px;
    min-height: 360px;
    max-height: 360px;
  }
}

.profile-cover-wrapper img.js_position-cover-cropped,
.profile-cover-wrapper img.whip-cover-default,
.auto-profile .profile-cover-wrapper img.whip-cover-default {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  max-height: none;
  object-fit: cover !important;
  object-position: center center;
  display: block;
}

/* Full-size copy is only for drag-reposition; keep it out of the banner */
.profile-cover-wrapper img.js_position-cover-full {
  display: none;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center center;
}

.profile-cover-wrapper img.js_position-cover-cropped ~ img.js_position-cover-cropped,
.profile-cover-wrapper img.whip-cover-default ~ img.js_position-cover-cropped {
  display: none !important;
}

/* Grey typed default covers (profile / channel / garage / store) */
.whip-default-cover {
  background: #4a4e52 !important;
}

.whip-default-cover img.whip-cover-default,
.whip-default-cover img.js_position-cover-cropped,
.whip-default-cover img.js_channel-cover-img,
.whip-default-cover img.js_store-banner-img {
  object-fit: cover !important;
  object-position: center center;
}

.whip-channel-profile__cover.whip-default-cover.is-default img,
.whip-watch-page .whip-channel-profile__cover.is-default img {
  opacity: 1;
}

.whip-garage__slide-media--default {
  background-color: #4a4e52;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.whip-default-cover__glyph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: rgba(200, 204, 208, 0.78);
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.whip-garage__back--icon {
  width: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  justify-content: center;
}

.whip-garage__title--vehicle {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.profile-cover-position {
  display: none !important;
}

.auto-profile .profile-name-wrapper a,
.auto-profile__name-row > a {
  font-family: var(--auto-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  color: var(--auto-ink);
  text-decoration: none;
}

.auto-profile__head-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem 0.35rem;
  position: relative;
  z-index: 1;
  background: var(--auto-panel, #fff);
}

@media (min-width: 1200px) {
  .auto-profile .profile-name-wrapper a,
  .auto-profile__name-row > a {
    color: var(--auto-ink);
    text-shadow: none;
  }

  .auto-profile__handle {
    color: var(--auto-steel, #6e767f);
    text-shadow: none;
  }

  .auto-profile__head-row {
    display: flex;
    padding: 0.85rem 1rem 0.35rem;
    background: var(--auto-panel, #fff);
  }
}

/* Photo left, name / handle / titles stacked beside it */
.auto-profile .profile-header {
    display: block !important;
    overflow: visible;
  }

  .auto-profile .profile-cover-wrapper {
    position: relative;
    z-index: 0;
    border-radius: 4px 4px 0 0;
  }

  .auto-profile .profile-avatar-wrapper,
  .auto-profile .profile-avatar-wrapper:not(.static) {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 !important;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    overflow: hidden;
    z-index: 1;
  }

  .auto-profile .profile-avatar-wrapper img {
    width: 72px !important;
    height: 72px !important;
  }

  .auto-profile .profile-avatar-wrapper.is-own-avatar {
    overflow: visible !important;
  }

  .auto-profile .profile-name-wrapper,
  .auto-profile .profile-name-wrapper.auto-profile__identity {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
    padding: 0 !important;
    background: transparent !important;
    font-size: 1rem;
    text-shadow: none;
  }

  .auto-profile .profile-name-wrapper a,
  .auto-profile__name-row > a {
    font-size: 1.15rem;
    line-height: 1.25;
    color: var(--auto-ink) !important;
    text-shadow: none !important;
    word-break: break-word;
  }

  .auto-profile__identity {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-top: 0 !important;
    align-items: flex-start;
    gap: 0.28rem;
  }

  .auto-profile__name-row {
    align-items: center;
  }

  .auto-profile__handle {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--auto-steel) !important;
    text-shadow: none !important;
    line-height: 1.2;
  }

  .auto-profile__titles {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
  }

  .auto-profile__ride-chip {
    max-width: 100%;
  }

  .auto-profile .profile-buttons-wrapper {
    position: static !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    text-align: left;
    padding: 0.25rem 1rem 0.95rem;
    background: transparent !important;
  }

  .auto-profile .profile-avatar-wrapper.has-story,
  .auto-profile .profile-avatar-wrapper.has-story:not(.static) {
    overflow: visible;
  }

/* Profile avatar: story prompt + unseen red ring */
.profile-avatar-wrapper.has-story img {
  cursor: pointer;
}

.profile-avatar-wrapper.has-story.is-unseen {
  --whip-story-ring: var(--auto-signal, #FA6418);
  overflow: visible !important;
  box-shadow: none;
}

.profile-avatar-wrapper.has-story.is-unseen::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 3px solid var(--whip-story-ring);
  pointer-events: none;
  z-index: 2;
  box-sizing: border-box;
}

.profile-avatar-wrapper.has-story .profile-avatar-change,
.profile-avatar-wrapper.has-story .profile-avatar-crop,
.profile-avatar-wrapper.has-story .profile-avatar-delete {
  z-index: 3;
}

/* Own profile: keep photo edit available; story uses a separate control */
.profile-avatar-wrapper.is-own-avatar {
  overflow: visible !important;
}

.profile-avatar-wrapper.is-own-avatar img {
  cursor: pointer;
}

/* Own avatar controls: small, separate corners (change ≠ crop so upload works) */
.profile-avatar-wrapper.is-own-avatar .profile-avatar-change,
.profile-avatar-wrapper.is-own-avatar .profile-avatar-crop,
.profile-avatar-wrapper.is-own-avatar .profile-avatar-delete,
.auto-profile .profile-avatar-wrapper.is-own-avatar .profile-avatar-change,
.auto-profile .profile-avatar-wrapper.is-own-avatar .profile-avatar-crop,
.auto-profile .profile-avatar-wrapper.is-own-avatar .profile-avatar-delete {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 10px !important;
  line-height: 1 !important;
  opacity: 1 !important;
  color: #fff !important;
  background: rgba(0, 0, 0, 0.72) !important;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
}

.profile-avatar-wrapper.is-own-avatar .profile-avatar-change > i,
.profile-avatar-wrapper.is-own-avatar .profile-avatar-crop > i,
.profile-avatar-wrapper.is-own-avatar .profile-avatar-delete > i {
  font-size: 10px !important;
  line-height: 1 !important;
  margin: 0 !important;
}

/* Kill oversized hit pad that was covering crop / blocking upload */
.profile-avatar-wrapper.is-own-avatar .profile-avatar-change::before,
.auto-profile .profile-avatar-wrapper.is-own-avatar .profile-avatar-change::before {
  content: none !important;
  display: none !important;
}

/* Camera / add-change: bottom-right */
.profile-avatar-wrapper.is-own-avatar .profile-avatar-change,
.auto-profile .profile-avatar-wrapper.is-own-avatar .profile-avatar-change {
  top: auto !important;
  bottom: -3px !important;
  left: auto !important;
  right: -3px !important;
  z-index: 9 !important;
}

/* Crop: top-right — clear of camera */
.profile-avatar-wrapper.is-own-avatar .profile-avatar-crop,
.auto-profile .profile-avatar-wrapper.is-own-avatar .profile-avatar-crop {
  top: -3px !important;
  bottom: auto !important;
  left: auto !important;
  right: -3px !important;
  z-index: 8 !important;
}

/* Remove: bottom-left */
.profile-avatar-wrapper.is-own-avatar .profile-avatar-delete,
.auto-profile .profile-avatar-wrapper.is-own-avatar .profile-avatar-delete,
.profile-avatar-delete {
  top: auto !important;
  bottom: -3px !important;
  left: -3px !important;
  right: auto !important;
  z-index: 8 !important;
}

.profile-cover-buttons {
  left: 10px;
  right: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  float: none;
}

.profile-cover-buttons > div {
  float: none;
  margin-right: 0;
}

.profile-cover-buttons > div.profile-cover-delete {
  margin-left: auto;
}

@media (min-width: 768px) {
  .profile-cover-buttons {
    left: 15px;
    right: 15px;
  }
}

.auto-profile__story-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2rem;
  padding: 0.28rem 0.75rem;
  border: 1px solid rgba(250, 100, 24), 0.38);
  border-radius: 999px;
  background: #fff;
  color: var(--auto-signal, #FA6418);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(250, 100, 24), 0.15);
}

.auto-profile__story-btn:hover,
.auto-profile__story-btn:focus {
  background: rgba(250, 100, 24), 0.08);
  color: var(--auto-signal-deep, #D45515);
}

.auto-profile__story-btn i {
  font-size: 0.85rem;
}

@media (min-width: 1200px) {
  .auto-profile__story-btn {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
  }
}

.auto-profile__identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding-top: 0.15rem;
}

.auto-profile__name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
}

.auto-profile__handle {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--auto-steel);
  line-height: 1.2;
}

.auto-profile__titles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
}

.auto-profile__verified {
  color: var(--auto-signal);
  font-size: 1.1rem;
}

.auto-profile__pro {
  color: #b8860b;
  font-size: 0.95rem;
}

.auto-profile__group {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--auto-signal);
  border-radius: 2px;
}

.auto-profile__ride-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(250, 100, 24), 0.28);
  border-radius: 999px;
  background: rgba(250, 100, 24), 0.08);
  color: var(--auto-ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.auto-profile__ride-chip i {
  color: var(--auto-signal);
}

.auto-profile__ride-photo {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: rgba(20, 22, 24, 0.08);
}

.auto-profile__ride-chip:hover {
  background: rgba(250, 100, 24), 0.14);
  border-color: rgba(250, 100, 24), 0.45);
  color: var(--auto-signal-deep);
}

.auto-profile__ride-chip--empty {
  border-style: dashed;
  font-weight: 500;
  color: var(--auto-steel);
}

.auto-profile__ride-meta {
  color: var(--auto-steel);
  font-size: 0.82rem;
  font-weight: 500;
}

/* Actions */
.auto-profile__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}

.auto-profile__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 2px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.auto-profile__btn i {
  font-size: 0.95rem;
}

.auto-profile__btn--primary {
  background: var(--auto-signal);
  border-color: var(--auto-signal);
  color: #fff;
}

.auto-profile__btn--primary:hover {
  background: var(--auto-signal-deep);
  border-color: var(--auto-signal-deep);
  color: #fff;
}

.auto-profile__btn--ghost {
  background: #fff;
  border-color: var(--auto-line);
  color: var(--auto-ink);
}

.auto-profile__btn--ghost:hover {
  border-color: rgba(250, 100, 24), 0.35);
  color: var(--auto-signal);
}

.auto-profile__btn--ok {
  background: #eef6ef;
  border-color: #b7d4bc;
  color: #2f6b3a;
}

.auto-profile__btn--icon {
  width: 2.4rem;
  padding-left: 0;
  padding-right: 0;
  background: #fff;
  border-color: var(--auto-line);
  color: var(--auto-ink);
}

.auto-profile__btn--icon:hover {
  border-color: rgba(250, 100, 24), 0.35);
  color: var(--auto-signal);
}

@media (max-width: 575.98px) {
  .auto-profile__btn span {
    display: none;
  }

  .auto-profile__btn {
    min-width: 2.4rem;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .auto-profile__btn--primary span,
  .auto-profile__btn--ghost span {
    display: inline;
  }
}

/* Tabs — modern equal icon row */
.auto-profile__tabs.profile-tabs-wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  justify-content: space-between !important;
  gap: 0.15rem;
  overflow-x: auto;
  padding: 0.55rem 0.45rem 0.45rem !important;
  margin-bottom: 1.15rem;
  background: var(--auto-panel) !important;
  border: 1px solid var(--auto-line);
  border-radius: 14px;
  box-shadow: var(--auto-glow);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.auto-profile__tabs.profile-tabs-wrapper::-webkit-scrollbar {
  display: none;
}

.auto-profile__tabs.profile-tabs-wrapper a,
.auto-profile__tabs.profile-tabs-wrapper .auto-profile__tab {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center;
  gap: 0.4rem;
  flex: 1 1 0;
  min-width: 4.5rem;
  min-height: 4.5rem;
  padding: 0.55rem 0.35rem 0.65rem !important;
  border: 0 !important;
  border-bottom: 0 !important;
  border-radius: 10px !important;
  color: var(--auto-steel) !important;
  background: transparent;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  box-shadow: none;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.auto-profile__tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 22, 24, 0.06);
  color: var(--auto-signal);
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.auto-profile__tab-icon i {
  font-size: 1.05rem;
  color: inherit;
  line-height: 1;
}

.auto-profile__tab-label {
  display: block !important;
  margin: 0 !important;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auto-profile__tabs .auto-profile__tab:hover {
  color: var(--auto-ink) !important;
  background: rgba(255, 255, 255, 0.45);
}

.auto-profile__tabs .auto-profile__tab:hover .auto-profile__tab-icon {
  transform: translateY(-1px);
  border-color: rgba(250, 100, 24), 0.22);
  box-shadow: none;
}

.auto-profile__tabs .auto-profile__tab.active,
.auto-profile__tabs.profile-tabs-wrapper a.active {
  color: var(--auto-signal) !important;
  background: rgba(255, 255, 255, 0.7);
}

.auto-profile__tabs .auto-profile__tab.active .auto-profile__tab-icon {
  color: #fff;
  background: var(--auto-signal);
  border-color: var(--auto-signal);
  box-shadow: none;
}

.auto-profile__tabs .auto-profile__tab.active::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 999px;
  background: var(--auto-signal);
}

@media (max-width: 1199.98px) {
  .auto-profile__tabs.profile-tabs-wrapper:not(.whip-storefront__nav) {
    justify-content: center !important;
    flex-wrap: wrap !important;
    overflow-x: hidden;
  }

  .auto-profile__tabs.profile-tabs-wrapper:not(.whip-storefront__nav) a,
  .auto-profile__tabs.profile-tabs-wrapper:not(.whip-storefront__nav) .auto-profile__tab {
    flex: 1 1 18%;
    min-width: 4.25rem;
    max-width: 5.6rem;
  }
}

/* Garage cards */
.auto-vehicle-card {
  border: 1px solid var(--auto-line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--auto-panel);
  height: 100%;
  box-shadow: var(--auto-glow);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.auto-vehicle-card:hover {
  border-color: var(--auto-signal);
}

.auto-vehicle-card__photo {
  height: 180px;
  background-color: #ece8e1;
  background-size: cover;
  background-position: center;
}

.auto-vehicle-card__photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--auto-steel);
}

.auto-vehicle-card__body {
  padding: 1rem;
}

.auto-vehicle-card__title {
  font-family: var(--auto-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 0.25rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.auto-vehicle-card__title a {
  color: var(--auto-ink);
  text-decoration: none;
}

.auto-vehicle-card__title a:hover {
  color: var(--auto-signal);
}

.whip-garage-share {
  display: flex;
  align-items: stretch;
  gap: 0.85rem;
  margin: 0.75rem 1rem 1rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--auto-line, rgba(250, 100, 24), 0.2));
  border-radius: 8px;
  background: var(--auto-panel, #fff);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}
.whip-garage-share:hover {
  border-color: rgba(250, 100, 24), 0.45);
  color: inherit;
}
.whip-garage-share__photo {
  flex: 0 0 108px;
  width: 108px;
  min-height: 108px;
  background: #ece8e1 center / cover no-repeat;
}
.whip-garage-share__photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--auto-steel, #7a746c);
  font-size: 1.8rem;
  background: #ece8e1;
}
.whip-garage-share__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.75rem 0.85rem 0.75rem 0;
}
.whip-garage-share__kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--auto-signal, #FA6418);
}
.whip-garage-share__title {
  font-family: var(--auto-display, inherit);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--auto-ink, #1b1b1b);
}
.whip-garage-share__meta {
  font-size: 0.82rem;
  color: var(--auto-steel, #7a746c);
}
.whip-garage-share__cta {
  margin-top: 0.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--auto-signal, #FA6418);
}

.auto-badge-current {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--auto-signal);
  border-radius: 2px;
}

.auto-current-ride {
  border: 1px solid rgba(250, 100, 24), 0.18) !important;
  border-radius: 4px !important;
  overflow: hidden;
}

.auto-current-ride .card-header {
  border-bottom: 1px solid var(--auto-line);
}

.auto-current-ride__photo {
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: #ece8e1;
}


/* ---- Sell a Car page ---- */
.auto-sell__hero {
  padding: 2.5rem 0 1.75rem;
  background: var(--auto-paper);
  border-bottom: 1px solid var(--auto-line);
}

.auto-sell__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  color: var(--auto-steel);
  font-weight: 600;
  text-decoration: none;
}

.auto-sell__back:hover {
  color: var(--auto-signal);
}

.auto-sell__title {
  font-family: var(--auto-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
  color: var(--auto-ink);
}

.auto-sell__lede {
  max-width: 36rem;
  margin: 0;
  color: var(--auto-steel);
}

.auto-sell__wrap {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.auto-sell--page .auto-sell__hero {
  padding: 0 0 1.1rem;
  background: none;
  border-bottom: 0;
}

.auto-sell--page .auto-sell__title {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.auto-sell--page .auto-sell__wrap {
  padding-top: 0;
  padding-bottom: 1.5rem;
}

.auto-sell__redirects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.auto-sell__redirects--ebay,
.auto-sell__redirect--ebay {
  grid-column: 1 / -1;
}

.auto-sell__redirect {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--auto-line);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auto-sell__redirect:hover {
  border-color: rgba(250, 100, 24), 0.45);
  box-shadow: none;
  color: inherit;
  text-decoration: none;
}

.auto-sell__redirect-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(250, 100, 24), 0.1);
  color: var(--auto-signal);
  font-size: 1.05rem;
}

.auto-sell__redirect-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.auto-sell__redirect-copy strong {
  color: var(--auto-ink);
  font-size: 0.98rem;
}

.auto-sell__redirect-copy span {
  color: var(--auto-steel);
  font-size: 0.85rem;
  line-height: 1.35;
}

.auto-sell__redirect-cta {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--auto-signal);
  white-space: nowrap;
}

.auto-sell__redirect-cta i {
  margin-left: 0.25rem;
  font-size: 0.8em;
}

.auto-sell__form .attachments li.item {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.auto-sell__form .attachments li.item.is-cover {
  outline-color: var(--auto-signal);
}

.auto-sell__form .attachments li.item.is-cover::after {
  content: attr(data-cover-label);
  position: absolute;
  left: 4px;
  bottom: 4px;
  padding: 1px 6px;
  border-radius: 8px;
  background: var(--auto-signal);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.auto-sell__card {
  margin-bottom: 1.1rem;
  overflow: visible;
}

.auto-sell__card .card-body,
.auto-sell__card .form-group {
  overflow: visible;
}

.auto-sell__card .card-header {
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid var(--auto-line);
}

.auto-sell__precision {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.auto-sell__precision--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1199.98px) {
  .auto-sell__precision--3 {
    grid-template-columns: 1fr;
  }
}

.auto-sell__radio {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border: 1px solid var(--auto-line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.auto-sell__radio input {
  margin-top: 0.2rem;
}

.auto-sell__radio span {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.auto-sell__radio small {
  color: var(--auto-steel);
}

.auto-sell__radio:has(input:checked) {
  border-color: rgba(250, 100, 24), 0.45);
  box-shadow: none;
}

.auto-sell__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (max-width: 1199.98px) {
  .auto-sell__redirects {
    grid-template-columns: 1fr;
  }

  .auto-sell__redirect {
    flex-wrap: wrap;
  }

  .auto-sell__redirect-cta {
    width: 100%;
    padding-left: calc(2.4rem + 0.85rem);
  }
}

@media (max-width: 575.98px) {
  .auto-sell__precision {
    grid-template-columns: 1fr;
  }

  .auto-sell__actions {
    flex-direction: column-reverse;
  }

  .auto-sell__actions .btn {
    width: 100%;
  }
}

.ebay-import__modes .nav-link {
  cursor: pointer;
}

.ebay-import__connect {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--auto-line);
  border-radius: 8px;
  background: #f8fafc;
}

.ebay-import__connect-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.ebay-import__connect-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ebay-import__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.ebay-import__item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem;
  border: 1px solid var(--auto-line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.ebay-import__item.is-imported {
  opacity: 0.62;
}

.ebay-import__thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ebay-import__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ebay-import__placeholder {
  color: #9aa3af;
}

.ebay-import__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  font-size: 0.85rem;
  color: var(--auto-steel);
}

.ebay-import__meta strong {
  color: var(--auto-ink);
  font-size: 0.92rem;
  line-height: 1.3;
}

.ebay-import__progress {
  margin: 0.75rem 0 1rem;
}

@media (max-width: 575.98px) {
  .ebay-import__item {
    flex-wrap: wrap;
  }
}

/* Latest Marketplace widget */
.marketplace-widget-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.marketplace-widget-item + .marketplace-widget-item {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--auto-line);
}

.marketplace-widget-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
}

.marketplace-widget-link:hover {
  color: var(--auto-signal);
  text-decoration: none;
}

.marketplace-widget-thumb {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(20, 22, 24, 0.06);
  border: 1px solid var(--auto-line);
}

.marketplace-widget-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.marketplace-widget-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.marketplace-widget-name {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marketplace-widget-price {
  font-size: 0.8rem;
  color: var(--auto-signal);
  font-weight: 600;
}

/* Product listing detail — contact + map */
.post-product-contact .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 46px;
  font-weight: 700;
}

.product-message {
  margin-top: 4px;
}

.product-mileage {
  color: #6b7278;
  margin-top: -2px;
}

.product-message .btn {
  width: 100%;
  white-space: nowrap;
  font-weight: 700;
}

.whip-listing-msg {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.whip-listing-msg__to {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0;
  color: var(--auto-ink);
}
.whip-listing-msg__card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  margin-bottom: 0;
  border: 1px solid var(--auto-line);
  border-radius: 14px;
  background: var(--auto-panel);
}
.whip-listing-msg__label {
  display: block;
  margin: 2px 0 -8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--auto-ink);
}
.whip-listing-msg__photo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  flex: 0 0 72px;
  background: #eee;
}
.whip-listing-msg__meta strong {
  display: block;
  font-size: 15px;
  line-height: 1.3;
}
.whip-listing-msg__price {
  margin-top: 4px;
  color: var(--auto-signal);
  font-weight: 700;
}
.whip-listing-msg .js_listing-msg-text {
  display: block;
  width: 100%;
  min-height: 110px;
  margin-top: 0;
  resize: vertical;
}

.chat-listing-attach {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  max-width: 240px;
}

.conversation.right .chat-listing-attach {
  margin-left: auto;
}

.chat-listing-attach .chat-product {
  max-width: 100%;
  min-width: 0;
}

.chat-listing-attach__msg {
  display: block;
}

.chat-listing-attach__msg .text {
  float: none;
  display: inline-block;
  max-width: 100%;
}

.post-product-map {
  overflow: hidden;
  border: 1px solid var(--auto-line);
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.02);
}

.post-product-map iframe {
  display: block;
  width: 100%;
  height: 150px;
  min-height: 150px;
}

.market-listing-specs {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--auto-line);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.45);
}

body.night-mode .market-listing-specs {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.market-listing-specs__title {
  font-family: var(--auto-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 0.7rem;
  color: var(--auto-ink);
}

.market-listing-specs__details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  cursor: pointer;
  list-style: none;
}

.market-listing-specs__details > summary::-webkit-details-marker {
  display: none;
}

.market-listing-specs__details > summary::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.market-listing-specs__details[open] > summary {
  margin-bottom: 0.7rem;
}

.market-listing-specs__details[open] > summary::after {
  margin-top: 4px;
  transform: rotate(-135deg);
}

body.night-mode .market-listing-specs__title {
  color: inherit;
}

.market-listing-specs__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.1rem;
  margin: 0;
}

.market-listing-specs__grid > div {
  min-width: 0;
}

.market-listing-specs__grid dt {
  display: block;
  margin: 0 0 0.1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--auto-steel);
}

.market-listing-specs__grid dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  word-break: break-word;
}

.market-listing-specs__wide {
  grid-column: 1 / -1;
}

.market-listing-specs__vin {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.04em;
}

@media (max-width: 575.98px) {
  .market-listing-specs {
    padding: 0.7rem 0.75rem;
  }

  .market-listing-specs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 0.75rem;
  }

  .market-listing-specs__grid dt {
    font-size: 0.65rem;
  }

  .market-listing-specs__grid dd {
    font-size: 0.88rem;
  }
}

/* Market landing — compact category panel + listings */
.market-landing {
  margin-top: 0.25rem;
}

.market-hub-panel {
  border: 1px solid var(--auto-line);
  border-radius: 0.75rem;
  background: #fff;
  overflow: hidden;
}

.market-hub-panel--mini {
  border-radius: 10px;
  background: #fff;
}

.market-hub-panel--mini .card-body {
  padding: 8px 12px !important;
}

.market-hub-panel__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.market-hub-panel__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--auto-steel);
  white-space: nowrap;
}

.market-hub__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.market-hub__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border: 1px solid var(--auto-line);
  border-radius: 999px;
  background: var(--auto-panel, #f4f0e9);
  color: var(--auto-ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.market-hub__chip i {
  font-size: 11px;
  color: var(--auto-signal);
}

.market-hub__chip:hover,
.market-hub__chip:focus {
  border-color: rgba(250, 100, 24), 0.45);
  color: var(--auto-signal);
  text-decoration: none;
}

body.night-mode .market-hub-panel--mini {
  background: var(--card-bg-color-dark, #1f2226);
}

body.night-mode .market-hub__chip {
  background: rgba(255, 255, 255, 0.04);
  color: var(--body-color-dark, #eee);
}

.market-hub-panel__head {
  margin-bottom: 0.85rem;
}

.market-hub-panel__title {
  margin: 0 0 0.2rem;
  font-family: var(--auto-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--auto-ink);
}

.market-hub-panel__sub {
  font-size: 0.9rem;
  line-height: 1.35;
}

.market-hub__grid {
  margin-top: 0;
}

.market-hub__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-height: 0;
  height: 100%;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--auto-line);
  border-radius: 0.6rem;
  background: var(--auto-panel);
  color: var(--auto-ink);
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.market-hub__card:hover {
  color: var(--auto-ink);
  border-color: var(--auto-signal);
  text-decoration: none;
}

.market-hub__card i {
  font-size: 1.1rem;
  color: var(--auto-signal);
  margin-bottom: 0.1rem;
  transition: transform 0.22s ease;
}

.market-hub__card:hover i {
  transform: scale(1.08);
}

.market-hub__card h3 {
  margin: 0;
  font-family: var(--auto-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
}

.market-hub__card p {
  display: none;
}

.market-hub__cta {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--auto-signal);
}

.market-hub__card--parts,
.market-hub__card--other,
.market-hub__card--shipping {
  background: var(--auto-panel);
}

.market-listing-shipping {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--auto-line);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.45);
}

body.night-mode .market-listing-shipping {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.market-listing-shipping__estimate .form-label {
  font-weight: 600;
}

.product-ships-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.25rem;
}

.market-landing__section {
  animation: marketLandingIn 0.45s ease both;
}

.market-landing__section:nth-of-type(2) {
  animation-delay: 0.05s;
}

.market-landing__section:nth-of-type(3) {
  animation-delay: 0.1s;
}

@keyframes marketLandingIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.market-landing__filter {
  margin-bottom: 0.75rem;
}

.market-landing__see-all {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--auto-signal);
  text-decoration: none;
}

.market-landing__see-all:hover {
  color: var(--auto-signal-deep);
  text-decoration: underline;
}

html:not(.whip-phone-layout) .market-landing__products .product.card,
html:not(.whip-phone-layout) .js_market-listings .product.card,
html.whip-phone-layout .market-landing__products .product.card,
html.whip-phone-layout .js_market-listings .product.card {
  border: 1px solid rgba(20, 22, 24, 0.28) !important;
  border-radius: 16px;
  background: #fff;
  box-shadow:
    inset 3px 0 0 var(--auto-signal),
    0 8px 18px rgba(20, 22, 24, 0.06) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

html:not(.whip-phone-layout) .market-landing__products .product.card:hover,
html:not(.whip-phone-layout) .js_market-listings .product.card:hover,
html.whip-phone-layout .market-landing__products .product.card:hover,
html.whip-phone-layout .js_market-listings .product.card:hover {
  border-color: rgba(250, 100, 24, 0.55) !important;
  box-shadow:
    inset 3px 0 0 var(--auto-signal),
    0 10px 22px rgba(20, 22, 24, 0.1) !important;
}

.product-meta.product-name {
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 2px;
  font-family: var(--auto-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #141618;
  word-break: break-word;
}

.product-meta.product-place {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-top: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(20, 22, 24, 0.05);
  color: #5c656c;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.3;
  white-space: nowrap;
  word-break: normal;
  text-overflow: ellipsis;
}

body.night-mode .market-landing__products .product.card,
body.night-mode .js_market-listings .product.card {
  background: #1e252b !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

body.night-mode .product-meta.product-name {
  color: #e8edf2;
}

body.night-mode .product-meta.product-place {
  background: rgba(255, 255, 255, 0.06);
  color: #b7c0c8;
}

.market-landing__cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--auto-line);
  border-radius: 0.75rem;
  background: #fff;
}

.market-landing__cta-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.market-landing__cta-copy strong {
  font-family: var(--auto-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.market-landing__cta-copy span {
  font-size: 0.88rem;
}

.market-landing__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.market-hub-sidebar .card-header {
  font-size: 0.9rem;
  padding-bottom: 0.35rem;
}

.market-hub-sidebar__sell .btn {
  justify-content: flex-start;
}

.market-hub-sidebar__sell .btn-outline-primary:hover,
.market-hub-sidebar__sell .btn-outline-primary:focus,
.market-landing__cta-actions .btn-outline-primary:hover,
.market-landing__cta-actions .btn-outline-primary:focus {
  color: #fff !important;
  background-color: var(--auto-signal, #FA6418) !important;
  border-color: var(--auto-signal, #FA6418) !important;
}

.market-hub-sidebar__cat-list li a {
  font-size: 0.9rem;
}

/* Marketplace page title + phone search */
.market-desk-heading {
  display: none;
}

.market-hub-sidebar__title,
.market-hub-sidebar__loc {
  display: none;
}

.market-phone-search-wrap {
  display: none;
  padding: 10px 0 4px;
}

.market-phone-search {
  display: flex;
  gap: 8px;
  align-items: center;
}

.market-phone-search .form-control {
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 999px;
  height: 40px;
}

.market-phone-search .btn {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

html.whip-phone-layout[data-page="market"] .market-phone-search-wrap {
  display: none !important;
}

.whip-search-pop {
  position: fixed;
  z-index: 100070;
  top: var(--whip-header-h, 48px);
  right: 0;
  bottom: 0;
  left: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.whip-search-pop[hidden] {
  display: none !important;
}

.whip-search-pop__panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.whip-search-pop__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(20, 22, 24, 0.1);
}

.whip-search-pop__exit,
.whip-search-exit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 22, 24, 0.06);
  color: #141618;
  cursor: pointer;
}

.whip-search-pop__bar input {
  flex: 1 1 auto;
  min-width: 0;
  height: 42px;
  border: 1px solid rgba(20, 22, 24, 0.16);
  border-radius: 999px;
  padding: 0 14px;
  font-size: 16px;
}

.whip-search-pop__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 12px 14px 28px;
  -webkit-overflow-scrolling: touch;
}

.whip-search-pop__history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 8px;
}

.whip-search-pop__clear {
  border: 0;
  background: transparent;
  color: var(--auto-signal, #FA6418);
  font-weight: 700;
  padding: 0;
  cursor: pointer;
}

.whip-search-pop__history-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.whip-search-pop__history-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 2px;
  border: 0;
  border-bottom: 1px solid rgba(20, 22, 24, 0.08);
  background: transparent;
  color: #141618;
  font-size: 15px;
  cursor: pointer;
}

.whip-search-pop__empty,
.whip-search-pop__loading {
  margin: 8px 0 0;
  color: #6b7278;
  font-size: 14px;
}

.whip-search-pop__results .row {
  margin-left: -6px;
  margin-right: -6px;
}

html.whip-search-pop-open {
  overflow: hidden;
}

body.night-mode .whip-search-pop {
  background: #1e252b;
  color: #e8edf2;
}

body.night-mode .whip-search-pop__bar {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.night-mode .whip-search-pop__exit,
body.night-mode .whip-search-exit {
  background: rgba(255, 255, 255, 0.06);
  color: #e8edf2;
}

body.night-mode .whip-search-pop__history-item {
  background: transparent;
  color: #e8edf2;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.night-mode .whip-search-pop__bar input {
  background: #151a1e;
  border-color: rgba(255, 255, 255, 0.14);
  color: #e8edf2;
}

.whip-search-page__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}

.whip-search-page__top .whip-search-page__box {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.market-listing-sheet__listed {
  margin: -8px 0 14px;
  color: #6b7278;
  font-size: 0.95rem;
  font-weight: 600;
}

body.night-mode .market-listing-sheet__listed {
  color: #b7c0c8;
}

html.whip-phone-layout[data-page="market"] .market-desk-heading {
  display: none;
}

/* Desktop market: home-like shell + unified sidebar */
@media (min-width: 1200px) {
  html:not(.whip-phone-layout)[data-page="market"] .market-desk-heading {
    display: none !important;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-phone-search-wrap,
  html:not(.whip-phone-layout)[data-page="market"] .content-tabs.market-tabs,
  html:not(.whip-phone-layout)[data-page="market"] .whip-market-subnav,
  html:not(.whip-phone-layout)[data-page="market"] .page-header {
    display: none !important;
  }

  html:not(.whip-phone-layout)[data-page="market"] .posts-filter.market-mine-heading {
    margin-bottom: 10px;
    padding-bottom: 0;
    border-bottom: 0;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-mine-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(20, 22, 24, 0.12);
  }

  /* Location finder lives under sidebar search on desktop */
  html:not(.whip-phone-layout)[data-page="market"] .market-main-loc {
    display: none !important;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__loc {
    display: block;
    margin-top: 10px;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__loc .market-loc {
    margin-bottom: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__loc .market-loc__body {
    padding: 0;
  }

  /* Compact location trigger: icon + city/state only */
  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__loc .market-loc__trigger {
    gap: 8px;
    padding: 4px 2px;
    border: 0 !important;
    outline: 0;
    box-shadow: none !important;
    background: transparent !important;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__loc .market-loc__copy,
  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__loc .market-loc__label {
    border: 0 !important;
    outline: 0;
    box-shadow: none !important;
    background: transparent !important;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__loc .market-loc__icon {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 0;
    background: transparent;
    border: 0;
    font-size: 1rem;
    color: var(--auto-signal, #FA6418);
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__loc .market-loc__label {
    font-family: var(--auto-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.3;
    display: inline;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__loc .market-loc__inline-dist {
    display: inline;
    margin-left: 4px;
    font-family: var(--auto-body);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.3;
    color: #6b7278;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__loc .market-loc__inline-dist[hidden] {
    display: none;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__sell {
    display: none !important;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__title-actions {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex: 0 0 auto;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__sell-btn {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__sell-menu .dropdown-menu {
    min-width: 190px;
    padding: 6px;
    border-radius: 12px;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__sell-menu .dropdown-item {
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 14px;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__loc .market-loc__meta,
  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__loc .market-loc__chevron {
    display: none !important;
  }

  /* Centered location modal on desktop */
  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__loc .market-loc__backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2050;
    background: rgba(20, 22, 24, 0.45);
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__loc .market-loc.is-open .market-loc__backdrop {
    display: block;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__loc .market-loc__panel {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2060;
    width: min(440px, calc(100vw - 48px));
    max-height: min(80vh, 560px);
    overflow: auto;
    margin-top: 0;
    padding: 1rem 1.1rem 1.15rem;
    border: 1px solid var(--auto-line, rgba(20, 22, 24, 0.1));
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(20, 22, 24, 0.22);
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__loc .market-loc__panel[hidden] {
    display: none !important;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__loc .market-loc__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--auto-line, rgba(20, 22, 24, 0.1));
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__loc .market-loc__panel-title {
    font-family: var(--auto-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--auto-ink);
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__loc .market-loc__panel-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #8a9096;
    cursor: pointer;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__loc .market-loc__panel-close:hover {
    color: var(--auto-ink);
    background: rgba(20, 22, 24, 0.06);
  }

  html.market-loc-modal-open {
    overflow: hidden;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-shell.container,
  html:not(.whip-phone-layout)[data-page="market"] .market-shell.container-fluid {
    max-width: min(1400px, calc(100vw - 32px));
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 8px !important;
    padding-left: 16px;
    padding-right: 16px;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-shell > #whip-market-pane > .market-page-row {
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: nowrap !important;
    width: 100%;
    min-height: calc(100vh - var(--whip-header-h, 72px) - 20px);
    margin-left: 0 !important;
    margin-right: 0 !important;
    background: #f6f3f3;
    border: 1px solid rgba(20, 22, 24, 0.16);
    border-radius: 18px;
    padding: 12px;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.55) inset,
      0 4px 18px rgba(20, 22, 24, 0.1),
      0 0 0 1px rgba(20, 22, 24, 0.04);
    gap: 0;
  }

  html:not(.whip-phone-layout)[data-page="market"] body.night-mode .market-shell > #whip-market-pane > .market-page-row {
    background: #1c2025;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-shell .market-nav-col {
    flex: 0 0 var(--whip-rail-w, 300px) !important;
    max-width: var(--whip-rail-w, 300px) !important;
    width: var(--whip-rail-w, 300px) !important;
    padding-left: 4px !important;
    padding-right: 14px !important;
    border-right: 1px solid rgba(20, 22, 24, 0.1);
    position: sticky !important;
    top: 12px;
    align-self: flex-start;
    height: calc(100vh - var(--whip-header-h, 72px) - 28px);
    max-height: calc(100vh - var(--whip-header-h, 72px) - 28px);
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 2;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-shell .market-nav-col::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-shell .market-main-col {
    flex: 1 1 0% !important;
    max-width: none !important;
    min-width: 0;
    width: auto !important;
    min-height: calc(100vh - var(--whip-header-h, 72px) - 28px);
    padding-left: 16px !important;
    padding-right: 4px !important;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar.home-rail .home-rail__card {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 4px 2px 10px;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__search.home-rail__card {
    padding: 14px 12px 14px;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 8px;
    padding-left: 10px;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__title {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-family: var(--auto-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--auto-ink, #141618);
    line-height: 1.2;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__settings {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    color: #5a6168 !important;
    text-decoration: none !important;
    transition: color 0.15s ease, background-color 0.15s ease;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__settings:hover {
    color: var(--auto-signal, #FA6418) !important;
    background: rgba(250, 100, 24, 0.08);
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__settings i {
    font-size: 1.05rem;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__title-sep {
    display: block;
    height: 0;
    margin: 0 0 12px;
    border: 0;
    border-top: 1px solid rgba(20, 22, 24, 0.14);
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__nav .home-rail__list a {
    align-items: center;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__nav .home-rail__list a > i.main-icon,
  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar .home-rail__list a > .main-icon,
  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar .home-rail__list a > .svg-container {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px;
    margin: 0 !important;
    border-radius: 50%;
    background: var(--auto-signal-soft, #FEE8DD);
    color: var(--auto-signal, #FA6418) !important;
    font-size: 16px !important;
    line-height: 1 !important;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-sidebar-search__field {
    position: relative;
    display: flex;
    align-items: center;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-sidebar-search__field > i {
    position: absolute;
    left: 12px;
    color: #8a9096;
    font-size: 13px;
    pointer-events: none;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-sidebar-search__field .form-control {
    height: 38px;
    padding-left: 34px;
    border-radius: 10px;
    border: 0 !important;
    background: var(--auto-paper, #efeeea) !important;
    box-shadow: none !important;
    font-size: 13.5px;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-sidebar-search__field .form-control:focus {
    box-shadow: 0 0 0 2px rgba(250, 100, 24, 0.28) !important;
  }

  /* No divider under My Market / main nav list */
  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar .home-rail__list--main {
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0 !important;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar .home-rail__list a {
    gap: 12px;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 12px;
    font-family: var(--auto-display);
    font-size: 18px;
    font-weight: 500 !important;
    letter-spacing: 0.02em;
    line-height: 1.2;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar .home-rail__list a:hover {
    background: rgba(250, 100, 24, 0.08);
    color: var(--auto-signal, #FA6418) !important;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar .home-rail__list li.active > a {
    background: var(--auto-signal-soft, #FEE8DD);
    color: var(--auto-signal, #FA6418) !important;
  }

  /* Categories title + divider like home Ads rail */
  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__cats .home-rail__label--cats {
    font-size: 18px;
    letter-spacing: 0.06em;
    margin: 4px 4px 4px;
    color: var(--auto-ink, #141618);
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__cats .home-rail__sep--cats {
    display: block;
    height: 0;
    margin: 2px 4px 12px;
    border: 0;
    border-top: 1px solid rgba(20, 22, 24, 0.14);
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-cat-toggle {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    font-family: var(--auto-display);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    line-height: 1.2;
    color: var(--auto-ink, #141618);
    text-align: left;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-cat-toggle:hover {
    color: var(--auto-signal, #FA6418);
  }

  html:not(.whip-phone-layout)[data-page="market"] body.night-mode .market-cat-toggle {
    color: #e8edf2;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__cats .home-rail__drop {
    margin-bottom: 4px;
  }

  html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar__cat-root {
    margin-bottom: 2px;
  }
}

/* Phone: keep location in main; hide sidebar title/location */
html.whip-phone-layout[data-page="market"] .market-hub-sidebar__title,
html.whip-phone-layout[data-page="market"] .market-hub-sidebar__loc {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .market-hub__card,
  .market-hub__card i,
  .market-landing__products .product,
  .market-landing__section {
    animation: none;
    transition: none;
  }

  .market-hub__card:hover,
  .market-landing__products .product:hover {
    transform: none;
  }
}

/* Market location filter — matches market hub / site cards */
.market-loc {
  border: 1px solid var(--auto-line);
  border-radius: 0.75rem;
  background: #fff;
  overflow: hidden;
}

.market-loc__body {
  padding: 0.85rem 1rem;
}

.market-loc__trigger {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--auto-ink);
  font-family: var(--auto-body);
}

.market-loc__icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--auto-signal-soft);
  color: var(--auto-signal);
  flex: 0 0 auto;
  border: 1px solid rgba(250, 100, 24), 0.18);
}

.market-loc__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
  gap: 0.1rem;
}

.market-loc__line {
  display: block;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.market-loc__inline-dist {
  display: none;
}

.market-loc__label {
  font-family: var(--auto-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--auto-ink);
}

.market-loc__label.text-danger {
  text-transform: none;
  font-family: var(--auto-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
}

.market-loc__meta {
  font-size: 0.8rem;
  color: var(--auto-steel);
  line-height: 1.3;
}

.market-loc__chevron {
  color: var(--auto-steel);
  transition: transform 0.18s ease;
  flex: 0 0 auto;
}

.market-loc.is-open .market-loc__chevron {
  transform: rotate(180deg);
}

.market-loc__backdrop {
  display: none;
}

.market-loc__panel-head {
  display: none;
}

.market-loc__panel {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--auto-line);
}

.market-loc__search .form-control {
  border-color: var(--auto-line);
  background: var(--auto-panel);
}

.market-loc__search .btn {
  min-width: 4.5rem;
}

.market-loc__near {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin: 0.75rem 0 0;
}

.market-loc__hint {
  font-size: 0.78rem;
  color: var(--auto-steel);
  line-height: 1.3;
}

.market-loc__block {
  margin-top: 0.9rem;
}

.market-loc__heading {
  font-family: var(--auto-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--auto-steel);
  margin-bottom: 0.45rem;
}

.market-loc__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.market-loc__chip {
  border: 1px solid var(--auto-line);
  background: var(--auto-panel);
  color: var(--auto-ink);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: none;
}

.market-loc__chip:hover {
  border-color: rgba(250, 100, 24), 0.4);
  color: var(--auto-signal);
  background: var(--auto-signal-soft);
}

.market-loc__chip.is-active {
  background: var(--auto-signal);
  border-color: var(--auto-signal);
  color: #fff;
}

.market-loc__chip.is-active:hover {
  background: var(--auto-signal-deep);
  border-color: var(--auto-signal-deep);
  color: #fff;
}

.market-loc__cities {
  display: flex;
  flex-direction: column;
  max-height: 20rem;
  overflow: auto;
  border: 1px solid var(--auto-line);
  border-radius: 0.6rem;
  background: var(--auto-panel);
}

.market-loc__city {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--auto-line);
  background: transparent;
  text-align: left;
  padding: 0.6rem 0.75rem;
  cursor: pointer;
  color: var(--auto-ink);
  font-family: var(--auto-body);
}

.market-loc__city:last-child {
  border-bottom: 0;
}

.market-loc__city:hover,
.market-loc__city.is-active {
  background: rgba(250, 100, 24), 0.08);
}

.market-loc__city.is-active .market-loc__city-name {
  color: var(--auto-signal);
}

.market-loc__city-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.market-loc__city-meta {
  font-size: 0.75rem;
  color: var(--auto-steel);
  white-space: nowrap;
}

.market-loc__empty {
  padding: 0.7rem 0.75rem;
}

.js_market-listings.is-loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

html.whip-phone-layout .market-loc:not(.is-open) .market-loc__body {
  padding: 0.6rem 0.8rem;
}

html.whip-phone-layout .market-loc:not(.is-open) .market-loc__icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.45rem;
  font-size: 0.9rem;
}

html.whip-phone-layout .market-loc:not(.is-open) .market-loc__label {
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}

html.whip-phone-layout .market-loc:not(.is-open) .market-loc__meta {
  font-size: 0.78rem;
}

html.whip-phone-layout .market-loc:not(.is-open) .market-loc__trigger {
  gap: 0.45rem;
}

@media (max-width: 1199.98px) {
  .market-loc__body {
    padding: 0.75rem 0.85rem;
  }

  .market-loc__chips {
    width: 100%;
  }

  .market-hub__card {
    min-height: 0;
    padding: 0.7rem 0.65rem;
  }

  .market-hub__card h3 {
    font-size: 0.95rem;
  }

  .market-hub__cta {
    font-size: 0.7rem;
  }

  .market-landing__cta-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .market-landing__cta-actions {
    width: 100%;
  }

  .market-landing__cta-actions .btn {
    flex: 1 1 auto;
  }

  /* Market / auctions tabs — icon + label */
  .content-tabs.market-tabs > ul {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .content-tabs.market-tabs.market-tabs--fit {
    align-items: stretch;
    background: transparent;
    box-shadow: none !important;
    border: 0;
    padding: 0;
    margin-bottom: 14px;
  }

  .content-tabs.market-tabs.market-tabs--fit > ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    flex: 1 1 100%;
    width: 100%;
    overflow: visible;
    gap: 8px;
  }

  .content-tabs.market-tabs > ul::-webkit-scrollbar {
    display: none;
  }

  .content-tabs.market-tabs > ul > li {
    float: none;
    flex: 0 0 auto;
  }

  .content-tabs.market-tabs.market-tabs--fit > ul > li {
    width: 100%;
    min-width: 0;
  }

  .content-tabs.market-tabs > ul > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
  }

  .content-tabs.market-tabs.market-tabs--fit > ul > li > a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-height: 72px;
    padding: 10px 4px 8px;
    border: 1px solid var(--auto-line);
    border-radius: 14px;
    background: var(--auto-panel);
    box-shadow: var(--auto-glow);
    color: var(--auto-ink) !important;
    font-family: var(--auto-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
    border-bottom: 1px solid var(--auto-line) !important;
  }

  .content-tabs.market-tabs.market-tabs--fit > ul > li > a:hover,
  .content-tabs.market-tabs.market-tabs--fit > ul > li > a:focus {
    background: var(--auto-signal-soft);
    border-color: rgba(250, 100, 24), 0.35);
    color: var(--auto-signal) !important;
    text-decoration: none;
  }

  .content-tabs.market-tabs.market-tabs--fit > ul > li.active > a {
    background: var(--auto-signal);
    border-color: var(--auto-signal) !important;
    color: #fff !important;
    box-shadow: none;
  }

  .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__sell > a {
    background: var(--auto-ink);
    border-color: var(--auto-ink) !important;
    color: #fff !important;
  }

  .content-tabs.market-tabs > ul > li > a > span {
    display: inline !important;
  }

  .content-tabs.market-tabs.market-tabs--fit > ul > li > a > span {
    display: block !important;
    margin: 0 !important;
    max-width: 100%;
  }

  .content-tabs.market-tabs > ul > li > a > i.main-icon,
  .content-tabs.market-tabs > ul > li > a > .svg-container.main-icon,
  .content-tabs.market-tabs > ul > li > a > .main-icon.svg-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px !important;
    width: 16px !important;
    height: 16px !important;
    line-height: 1;
    margin-right: 0 !important;
  }

  .content-tabs.market-tabs > ul > li > a > .svg-container.main-icon > i,
  .content-tabs.market-tabs > ul > li > a > .main-icon.svg-container > i {
    font-size: 14px !important;
    width: 1em;
    line-height: 1;
  }

  .content-tabs.market-tabs.market-tabs--fit > ul > li > a > i.main-icon,
  .content-tabs.market-tabs.market-tabs--fit > ul > li > a > .svg-container.main-icon,
  .content-tabs.market-tabs.market-tabs--fit > ul > li > a > .main-icon.svg-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    width: 2.35rem !important;
    height: 2.35rem !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 22, 24, 0.06);
    color: var(--auto-signal) !important;
    fill: var(--auto-signal) !important;
    font-size: 1.05rem !important;
  }

  .content-tabs.market-tabs.market-tabs--fit > ul > li > a > .svg-container.main-icon > i,
  .content-tabs.market-tabs.market-tabs--fit > ul > li > a > .main-icon.svg-container > i {
    font-size: 1.05rem !important;
    width: auto !important;
    height: auto !important;
    line-height: 1;
  }

  .content-tabs.market-tabs.market-tabs--fit > ul > li > a:hover > i.main-icon,
  .content-tabs.market-tabs.market-tabs--fit > ul > li > a:focus > i.main-icon,
  .content-tabs.market-tabs.market-tabs--fit > ul > li > a:hover > .svg-container.main-icon,
  .content-tabs.market-tabs.market-tabs--fit > ul > li > a:focus > .svg-container.main-icon,
  .content-tabs.market-tabs.market-tabs--fit > ul > li > a:hover > .main-icon.svg-container,
  .content-tabs.market-tabs.market-tabs--fit > ul > li > a:focus > .main-icon.svg-container {
    background: #fff;
    border-color: rgba(250, 100, 24), 0.22);
  }

  .content-tabs.market-tabs.market-tabs--fit > ul > li.active > a > i.main-icon,
  .content-tabs.market-tabs.market-tabs--fit > ul > li.active > a > .svg-container.main-icon,
  .content-tabs.market-tabs.market-tabs--fit > ul > li.active > a > .main-icon.svg-container {
    background: var(--auto-signal);
    border-color: var(--auto-signal);
    color: #fff !important;
    fill: #fff !important;
  }

  .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__sell > a > i.main-icon,
  .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__sell > a > .svg-container.main-icon,
  .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__sell > a > .main-icon.svg-container {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff !important;
    fill: #fff !important;
  }

  body.night-mode .content-tabs.market-tabs.market-tabs--fit > ul > li > a {
    background: var(--card-dark-color, #262d34);
    border-color: var(--card-dark-divider, #2e3f4d);
    color: var(--body-color-dark, #c1d4e3) !important;
  }

  body.night-mode .content-tabs.market-tabs.market-tabs--fit > ul > li.active > a {
    background: var(--auto-signal);
    border-color: var(--auto-signal) !important;
    color: #fff !important;
  }

  body.night-mode .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__sell > a {
    background: #0f1113;
    border-color: #0f1113 !important;
    color: #fff !important;
  }

  .content-tabs.market-tabs.market-tabs--auctions > ul {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    gap: 10px;
  }

  .content-tabs.market-tabs.market-tabs--auctions > ul > li {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }

  .content-tabs.market-tabs.market-tabs--auctions > ul > li > a {
    min-height: 48px;
    padding: 5px 1px 4px;
    font-size: 8px;
    line-height: 1.05;
    gap: 3px;
    border-radius: 10px;
    white-space: nowrap;
  }

  .content-tabs.market-tabs.market-tabs--auctions > ul > li > a > span {
    max-width: 100%;
    margin: 0 !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .content-tabs.market-tabs.market-tabs--auctions > ul > li > a > span.d-none {
    display: none !important;
  }

  .content-tabs.market-tabs.market-tabs--auctions > ul > li > a > span.d-md-none {
    display: block !important;
  }

  .content-tabs.market-tabs.market-tabs--auctions > ul > li > a > i.main-icon,
  .content-tabs.market-tabs.market-tabs--auctions > ul > li > a > .svg-container.main-icon,
  .content-tabs.market-tabs.market-tabs--auctions > ul > li > a > .main-icon.svg-container {
    width: 22px !important;
    height: 22px !important;
    font-size: 16px !important;
    border-radius: 50%;
    margin: 0 !important;
  }

  .content-tabs.market-tabs.market-tabs--auctions > ul > li > a > .svg-container.main-icon > i,
  .content-tabs.market-tabs.market-tabs--auctions > ul > li > a > .main-icon.svg-container > i,
  .content-tabs.market-tabs.market-tabs--auctions > ul > li > a > i.main-icon {
    font-size: 16px !important;
  }

  .content-tabs.market-tabs.market-tabs--auctions > ul > li:not(.active) > a,
  .content-tabs.market-tabs.market-tabs--auctions > ul > li:not(.active) > a i,
  .content-tabs.market-tabs.market-tabs--auctions > ul > li:not(.active) > a .main-icon {
    color: #585b5d !important;
    fill: #585b5d !important;
  }

  .content-tabs.market-tabs.market-tabs--fit > .float-end,
  .content-tabs.market-tabs.market-tabs--fit > .mt10.float-end {
    display: none;
  }

  .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__sell {
    display: none !important;
  }

  .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__account {
    display: none;
  }

  .content-tabs.market-tabs.market-tabs--fit.is-account-open > ul > li.market-tabs__account {
    display: block;
  }

  .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__account-toggle-wrap {
    grid-column: 1 / -1;
    width: 100%;
    display: block;
  }

  .market-tabs__account-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 46px;
    padding: 8px 12px;
    border: 1px solid var(--auto-line);
    border-radius: 14px;
    background: var(--auto-panel);
    box-shadow: var(--auto-glow);
    color: var(--auto-ink);
    font-family: var(--auto-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .market-tabs__account-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .market-tabs__account-toggle-label i {
    color: var(--auto-signal);
  }

  .market-tabs__switch {
    position: relative;
    flex: 0 0 auto;
    width: 46px;
    height: 26px;
    border-radius: 999px;
    background: #d4cdc3;
  }

  .market-tabs__switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(20, 22, 24, 0.2);
    transition: transform 0.16s ease;
  }

  .market-tabs--fit.is-account-open .market-tabs__account-toggle {
    background: var(--auto-signal-soft);
    border-color: rgba(250, 100, 24), 0.35);
    color: var(--auto-signal);
  }

  .market-tabs--fit.is-account-open .market-tabs__switch {
    background: var(--auto-signal);
  }

  .market-tabs--fit.is-account-open .market-tabs__switch::after {
    transform: translateX(20px);
  }

  body.night-mode .market-tabs__account-toggle {
    background: var(--card-dark-color, #262d34);
    border-color: var(--card-dark-divider, #2e3f4d);
    color: var(--body-color-dark, #c1d4e3);
  }

  .js_market-listings .row > [class*="col-"],
  .market-landing__products > [class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
  }

  .js_market-listings .row,
  .market-landing__products {
    margin-left: -6px;
    margin-right: -6px;
  }

  .js_market-listings .product-image,
  .market-landing__products .product-image {
    height: 132px;
  }

  .js_market-listings .product-info,
  .market-landing__products .product-info {
    padding: 8px;
  }

  .js_market-listings .product-meta,
  .market-landing__products .product-meta {
    margin-bottom: 5px;
    font-size: 12px;
  }

  .js_market-listings .product-meta.product-name,
  .market-landing__products .product-meta.product-name {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.15;
    white-space: normal;
    word-break: break-word;
  }

  .js_market-listings .product-meta .title,
  .market-landing__products .product-meta .title {
    font-size: 14px;
  }

  .js_market-listings .product-mileage,
  .market-landing__products .product-mileage {
    color: #6b7278;
    margin-top: -2px;
  }

  .js_market-listings .product-price,
  .market-landing__products .product-price {
    font-size: 13px;
    padding: 4px 8px;
  }

  .js_market-listings .product-meta .svg-container,
  .js_market-listings .product-meta .main-icon,
  .market-landing__products .product-meta .svg-container,
  .market-landing__products .product-meta .main-icon {
    width: 16px !important;
    height: 16px !important;
  }

  .market-hub__card i {
    font-size: 1.875rem; /* 30px */
  }

  .market-hub-sidebar__nav .side-nav a > i.main-icon,
  .market-hub-sidebar__nav .side-nav a > .svg-container.main-icon,
  .market-hub-sidebar__nav .side-nav a > .main-icon.svg-container,
  .market-listing-sidebar .side-nav a > i.main-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px !important;
    width: 30px !important;
    height: 30px !important;
    line-height: 1;
    vertical-align: middle;
  }

  .market-hub-sidebar__nav .side-nav a > .svg-container.main-icon > i,
  .market-hub-sidebar__nav .side-nav a > .main-icon.svg-container > i {
    font-size: 30px !important;
    width: 1em;
    line-height: 1;
  }

  .market-hub-sidebar__cat-list a > i.main-icon {
    font-size: 1.25rem;
    width: 1.25rem;
    text-align: center;
  }

  .market-loc__chip i {
    font-size: 0.95rem;
  }
}

/* Market product detail — Back */
.market-back-bar {
  display: flex;
  align-items: center;
}

.market-back-btn {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--auto-line);
  color: var(--auto-ink, inherit);
}

.market-back-btn:hover {
  border-color: rgba(250, 100, 24), 0.35);
  color: var(--auto-signal);
}

/* Forums — make / model / generation quick search */
.forum-quick-search {
  margin-bottom: 8px;
}

.forum-quick-search .form-control {
  border-radius: 12px 0 0 12px;
}

.forum-quick-search .btn {
  border-radius: 0 12px 12px 0;
}

.forum-result .head .text-muted {
  word-break: break-word;
}

/* Listing sale status */
.listing-status-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.listing-status-picker .js_listing-status {
  border-radius: 999px;
  font-weight: 600;
}

.listing-status-picker .js_listing-status.active {
  box-shadow: 0 0 0 2px rgba(250, 100, 24), 0.18);
}

.market-mine-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.market-mine-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--auto-line, #dde1e6);
  background: #fff;
  color: inherit;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.market-mine-tab:hover {
  border-color: rgba(250, 100, 24), 0.35);
  color: var(--auto-signal, #FA6418);
  text-decoration: none;
}

.market-mine-tab.active {
  background: var(--auto-signal, #FA6418);
  border-color: var(--auto-signal, #FA6418);
  color: #fff;
}

body.night-mode .market-mine-tab {
  background: var(--card-dark-color, #262d34);
  border-color: var(--card-dark-divider, #2e3f4d);
  color: var(--body-color-dark, #c1d4e3);
}

body.night-mode .market-mine-tab.active {
  background: var(--auto-signal, #FA6418);
  border-color: var(--auto-signal, #FA6418);
  color: #fff;
}

.market-account {
  background: #fff;
  border: 1px solid var(--auto-line, #dde1e6);
  border-radius: 16px;
  padding: 18px 18px 22px;
  margin-bottom: 24px;
}

.market-account__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 18px;
}

.market-account__head > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--auto-signal, #FA6418);
  color: #fff;
  font-size: 1.05rem;
}

.market-account__head h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.market-account__head h3 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  height: 1.4rem;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(250, 100, 24), 0.12);
  color: var(--auto-signal, #FA6418);
  font-size: 0.75rem;
}

.market-account__head p {
  margin: 2px 0 0;
  color: var(--auto-steel, #6b7280);
  font-size: 0.85rem;
}

.market-account__search {
  margin-left: auto;
  min-width: 180px;
}

.market-account__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 36px 16px;
  color: var(--auto-steel, #6b7280);
  text-align: center;
}

.market-account__empty > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: rgba(250, 100, 24), 0.12);
  color: var(--auto-signal, #FA6418);
  font-size: 1.05rem;
}

.market-account__empty p {
  margin: 0;
}

.market-account__block {
  margin-bottom: 16px;
}

.market-account__block h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 0.92rem;
  font-weight: 700;
}

.market-account__block h4 i {
  color: var(--auto-signal, #FA6418);
}

.market-account__hint {
  margin: 0;
  color: var(--auto-steel, #6b7280);
  font-size: 0.85rem;
}

.market-account .payment-plan {
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 12px;
}

.market-account .payment-plan.new {
  padding: 10px 12px;
  font-size: 0.9rem;
}

.market-account__stream {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.market-account__stream > .card {
  margin-bottom: 0;
  border-radius: 14px;
}

.market-cart {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.market-cart__item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--auto-line, #edf0f3);
}

.market-cart__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.market-cart__photo {
  grid-row: 1 / span 2;
  width: 72px;
  height: 56px;
  overflow: hidden;
  border-radius: 10px;
  background: #f3f4f6;
}

.market-cart__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-cart__title {
  display: block;
  font-weight: 700;
  color: inherit;
}

.market-cart__flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.market-cart__flags span {
  padding: 2px 8px;
  border-radius: 999px;
  background: #f3f4f6;
  font-size: 11px;
  font-weight: 600;
}

.market-cart__qty label {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--auto-steel, #6b7280);
}

.market-cart__qty .form-select {
  min-width: 64px;
}

.market-cart__price {
  font-weight: 700;
  white-space: nowrap;
}

.market-cart__remove {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f3f4f6;
  color: #6b7280;
}

.market-cart__address .form-check-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.market-cart__address small {
  color: var(--auto-steel, #6b7280);
}

.market-cart__summary {
  padding-top: 8px;
  border-top: 1px solid var(--auto-line, #edf0f3);
}

.market-cart__sum-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.market-cart__sum-row--total {
  margin: 12px 0 14px;
  font-size: 1.05rem;
}

.market-sales-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.market-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--auto-line, #edf0f3);
  border-radius: 14px;
  background: #fafafa;
}

.market-stat > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: rgba(250, 100, 24), 0.12);
  color: var(--auto-signal, #FA6418);
  font-size: 1.05rem;
}

.market-stat strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.2;
}

.market-stat span {
  display: block;
  color: var(--auto-steel, #6b7280);
  font-size: 0.78rem;
}

body.night-mode .market-account,
body.night-mode .market-stat {
  background: var(--card-dark-color, #262d34);
  border-color: var(--card-dark-divider, #2e3f4d);
}

body.night-mode .market-cart__flags span,
body.night-mode .market-cart__remove {
  background: var(--card-dark-hover, #2b3843);
  color: var(--body-color-dark, #c1d4e3);
}

@media (min-width: 1200px) {
  .market-cart {
    grid-template-columns: minmax(0, 1.6fr) minmax(240px, 0.8fr);
    align-items: start;
  }

  .market-cart__item {
    grid-template-columns: 72px minmax(0, 1fr) 72px auto 32px;
    grid-auto-rows: auto;
  }

  .market-cart__photo {
    grid-row: auto;
  }

  .market-filters-inline > .card {
    margin-bottom: 16px;
    border-radius: 14px;
  }

  .market-filters-inline .js_market-car-filters,
  .market-filters-inline .js_car-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
  }

  .market-filters-inline .form-group {
    flex: 1 1 140px;
    margin-bottom: 0;
  }

  .market-filters-inline .d-grid {
    flex: 0 0 auto;
    display: flex !important;
    flex-direction: row;
    gap: 8px;
  }
}

@media (max-width: 1199.98px) {
  .market-sales-stats {
    grid-template-columns: 1fr;
  }

  .market-account__search {
    width: 100%;
    margin-left: 0;
  }
}

.side-nav > li.market-mine-subnav > a {
  padding-left: 28px;
  font-size: 0.95em;
}

.post-product-description {
  font-size: 15px;
  line-height: 1.5;
}

.product-status-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.product-status-ribbon--pending {
  background: #f0ad4e;
  color: #1a1a1a;
}

.product-status-ribbon--sold {
  background: #dc3545;
}

.product-image-hit {
  display: block;
  width: 100%;
  height: 100%;
}

.product-image-hit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Listing photos: keep the desktop 2/3 + thumbs mosaic on phones */
.market-listing-main .pg_3x,
.market-listing-main .pg_4x {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(72px, 1fr);
  gap: 3px;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.market-listing-main .pg_3x {
  grid-template-rows: repeat(2, minmax(96px, 1fr));
  min-height: 220px;
}

.market-listing-main .pg_4x {
  grid-template-rows: repeat(3, minmax(72px, 1fr));
  min-height: 240px;
}

.market-listing-main .pg_2o3,
.market-listing-main .pg_1o3 {
  float: none;
  width: auto !important;
  height: auto !important;
  margin: 0;
}

.market-listing-main .pg_2o3 {
  grid-column: 1;
  grid-row: 1 / -1;
}

.market-listing-main .pg_1o3 {
  grid-column: 2;
  grid-row: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.market-listing-main .pg_2o3_in,
.market-listing-main .pg_1o3_in {
  width: 100% !important;
  height: auto !important;
  min-height: 0;
  margin: 0 !important;
  flex: 1 1 0;
}

.market-listing-main .pg_2o3_in {
  height: 100% !important;
}

.market-listing-main .pg_2o3_in > a,
.market-listing-main .pg_1o3_in > a {
  min-height: 100%;
  padding-bottom: 0 !important;
}

.market-listing-main .pg_2x {
  width: 50%;
}

.dropdown-item.js_listing-status.active {
  font-weight: 700;
}

/* Homepage left nav + widgets */
.home-widgets-bar {
  display: none;
}

.blogs-widget__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px !important;
  border-bottom: 1px solid var(--auto-line) !important;
}

.blogs-widget__title {
  font-weight: 700;
  min-width: 0;
  font-size: 14px;
  color: var(--auto-ink, #141618);
  line-height: 1.3;
}

.blogs-widget__all {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
}

.blogs-widget__all a {
  color: var(--auto-signal, #FA6418);
  text-decoration: none;
}

.blogs-widget__all a:hover {
  color: var(--auto-signal-deep, #D45515);
  text-decoration: underline;
}

/* Desktop right sidebar: unify all card headers with Latest Blogs style */
@media (min-width: 1200px) {
  html:not(.whip-phone-layout) .home-sidebar-col .card > .card-header.blogs-widget__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px !important;
    margin: 0;
    background: transparent !important;
    border-bottom: 1px solid var(--auto-line) !important;
  }

  html:not(.whip-phone-layout) .home-sidebar-col .trending-item {
    color: inherit;
  }

  html:not(.whip-phone-layout) .home-sidebar-col .pro-box-wrapper .user-box {
    color: inherit;
  }

  html:not(.whip-phone-layout) .home-sidebar-col .pro-box-wrapper .user-box .name {
    color: var(--auto-ink, #141618);
  }
}

.blogs-widget__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 0 0 0 -2px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--auto-steel);
  cursor: pointer;
  line-height: 1;
}

.blogs-widget__toggle i {
  font-size: 11px;
}

.blogs-widget__toggle:hover,
.blogs-widget__toggle:focus {
  color: var(--auto-signal);
  background: rgba(250, 100, 24), 0.1);
  outline: none;
}

.home-dock-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid var(--auto-line);
  border-radius: 12px;
  background: var(--auto-panel);
  color: var(--auto-ink);
  font-family: var(--auto-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  position: static;
}

.home-dock-toggle:hover,
.home-dock-toggle:focus {
  border-color: rgba(250, 100, 24), 0.45);
  background: var(--auto-signal-soft);
  color: var(--auto-signal);
  outline: none;
}

body.night-mode .home-dock-toggle {
  background: var(--card-bg-color-dark, #1f2226);
  color: var(--body-color-dark, #eee);
}

.home-sidebar-toggle .icon-show,
.home-sidebar-toggle .label-show,
.home-sidebar-toggle .label-hide {
  display: none;
}

html.home-sidebar-collapsed .home-sidebar-toggle .icon-hide {
  display: none;
}

html.home-sidebar-collapsed .home-sidebar-toggle .icon-show {
  display: inline-block;
}

@media (max-width: 1199.98px) {
  .home-sidebar-col,
  .market-sidebar-col {
    display: none !important;
  }

  .home-feed-primary {
    display: block;
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .home-newsfeed.container,
  .home-newsfeed.container-fluid {
    max-width: min(1400px, calc(100vw - 32px));
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-newsfeed > .row {
    justify-content: flex-start;
    flex-wrap: nowrap !important;
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    background: var(--auto-panel, #fbfaf7);
    border: 1px solid var(--auto-line, rgba(20, 22, 24, 0.08));
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 1px 0 rgba(20, 22, 24, 0.03);
    gap: 0;
  }

  body.night-mode .home-newsfeed > .row {
    background: var(--card-dark-color, #262d34);
    border-color: rgba(255, 255, 255, 0.08);
  }

  .home-newsfeed > .row > .home-nav-col {
    flex: 0 0 var(--whip-rail-w, 280px) !important;
    max-width: var(--whip-rail-w, 280px) !important;
    width: var(--whip-rail-w, 280px) !important;
    padding-left: 4px !important;
    padding-right: 14px !important;
    border-right: 0 !important;
    position: sticky;
    top: calc(var(--whip-header-h, 72px) + 12px);
    align-self: flex-start;
    max-height: none;
    overflow: visible !important;
    z-index: 2;
  }

  .home-newsfeed > .row > .home-nav-col .home-nav-body,
  .home-newsfeed > .row > .home-nav-col .js_sticky-sidebar {
    position: static !important;
    top: auto !important;
    transform: none !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .home-newsfeed > .row > .home-feed-col {
    flex: 1 1 0% !important;
    max-width: none !important;
    min-width: 0;
    width: auto !important;
    display: block;
    padding-left: 16px !important;
    padding-right: 4px !important;
  }

  /* Left rail: separate clean cards like the right widgets */
  .home-newsfeed .home-rail {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0;
    gap: 12px;
  }

  .home-newsfeed .home-rail__card {
    background: #fff !important;
    border: var(--auto-box-border) !important;
    border-radius: var(--auto-box-radius) !important;
    box-shadow: var(--auto-glow) !important;
    padding: 14px 12px;
  }

  .home-newsfeed .home-rail__ads {
    margin-top: 0;
  }

  .home-newsfeed .home-rail__you-top {
    margin-bottom: 10px;
    padding: 2px 2px 0;
  }

  .home-newsfeed .home-rail__sep {
    display: block;
    height: 0;
    margin: 6px 4px 14px;
    border: 0;
    border-top: 1px solid rgba(20, 22, 24, 0.14);
  }

  .home-newsfeed .home-rail__sep--ads {
    margin: 2px 4px 12px;
  }

  .home-newsfeed .home-rail__list--main {
    margin-top: 0;
    padding-top: 2px;
    border-bottom: 0;
    padding-bottom: 0;
  }

  .home-newsfeed .home-rail__drop-toggle {
    margin: 8px 0 4px;
    padding: 13px 12px;
    font-size: 16px;
    letter-spacing: 0.06em;
    border-radius: 12px;
  }

  .home-newsfeed .home-rail__drop-toggle i {
    font-size: 0.85rem;
  }

  .home-newsfeed .home-rail__label--ads {
    font-size: 18px;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
    color: var(--auto-ink, #141618);
  }

  .home-newsfeed .home-nav-col {
    scrollbar-width: none;
  }

  .home-newsfeed .home-nav-col::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  /* Right widgets: sticky + independent scroll when hovered (no visible scrollbar) */
  .home-newsfeed .home-sidebar-col {
    position: sticky !important;
    top: calc(var(--whip-header-h, 60px) + 12px) !important;
    align-self: start;
    max-height: calc(100vh - var(--whip-header-h, 60px) - 24px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  .home-newsfeed .home-sidebar-col::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .home-newsfeed .home-sidebar-col .home-widgets-body,
  .home-newsfeed .home-sidebar-col .js_sticky-sidebar {
    max-height: none !important;
    overflow: visible !important;
  }

  /* Desktop social feed: right widgets rail */
  .home-newsfeed > .row > .home-feed-col {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
    column-gap: 16px;
    align-items: start;
  }

  .home-newsfeed .home-sidebar-col {
    display: block !important;
  }

  .home-feed-primary {
    width: 100%;
    max-width: none;
    grid-column: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .home-feed-primary > .home-stories-card {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 10px;
    overflow: hidden;
  }

  .home-feed-primary > .whip-home-composer-dock {
    width: 100%;
  }

  html.home-sidebar-collapsed .home-feed-col {
    grid-template-columns: minmax(0, 1fr) 0;
    column-gap: 0;
  }

  html.home-sidebar-collapsed .home-feed-primary > .home-stories-card {
    width: 100%;
  }

  .home-mainbar {
    flex: none !important;
    max-width: none !important;
    min-width: 0;
    width: 100% !important;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .home-sidebar-col {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: calc(var(--whip-header-h, 60px) + 12px);
    flex: none;
    max-width: none;
    width: var(--whip-rail-w, 280px);
    padding-left: 0;
    align-self: start;
    max-height: calc(100vh - var(--whip-header-h, 60px) - 24px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .home-sidebar-col::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .home-sidebar-col .home-dock-toggle {
    display: none;
  }

  .home-sidebar-col .blogs-widget {
    margin-bottom: 12px;
    position: static;
    top: auto;
    z-index: auto;
  }

  .home-widgets-body {
    padding-top: 0;
  }

  html.home-sidebar-collapsed .home-sidebar-col .home-widgets-body,
  html.home-sidebar-collapsed .blogs-widget .card-body,
  html.home-sidebar-collapsed .blogs-widget__title,
  html.home-sidebar-collapsed .blogs-widget__all {
    display: none;
  }

  html.home-sidebar-collapsed .blogs-widget {
    background: transparent;
    border: 0;
    box-shadow: none;
    margin: 0;
    position: static;
    top: auto;
  }

  html.home-sidebar-collapsed .blogs-widget__head {
    padding: 0;
    border: 0;
    background: transparent;
  }

  html.home-sidebar-collapsed .home-newsfeed.container,
  html.home-sidebar-collapsed .home-newsfeed.container-fluid {
    max-width: var(--whip-shell-max, 1240px);
  }

  /* Keep left rail in-flow; feed grows into leftover space (do not wrap/overlay). */
  html.home-sidebar-collapsed .home-newsfeed > .row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
  }

  html.home-sidebar-collapsed .home-newsfeed > .row > .home-nav-col,
  html.home-sidebar-collapsed .home-newsfeed .sg-offcanvas-sidebar.home-nav-col {
    position: sticky !important;
    left: auto !important;
    top: calc(var(--whip-header-h, 72px) + 12px) !important;
    transform: none !important;
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    z-index: 2;
    float: none;
    align-self: flex-start;
    flex: 0 0 var(--whip-rail-w, 280px);
    max-width: var(--whip-rail-w, 280px);
    width: var(--whip-rail-w, 280px);
  }

  html.home-sidebar-collapsed .home-newsfeed > .row > .home-feed-col {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    width: auto;
  }

  html.home-sidebar-collapsed .home-sidebar-col {
    grid-column: 2;
    grid-row: 1;
    flex: none;
    max-width: 0;
    width: 0;
    min-width: 0;
    padding: 0 !important;
    margin: 0;
    overflow: visible;
    border: 0;
  }

  html.home-sidebar-collapsed .home-mainbar {
    flex: none;
    min-width: 0;
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  html.home-sidebar-collapsed .home-sidebar-col .blogs-widget__toggle.home-sidebar-toggle {
    position: absolute;
    top: 18px;
    left: -11px;
    right: auto;
    width: 22px;
    min-width: 22px;
    min-height: 22px;
    margin: 0;
    border-radius: 50%;
    border: 1px solid var(--auto-line);
    background: var(--auto-panel);
    box-shadow: 0 0 0 3px var(--body-bg-color, #f3efe8);
    z-index: 7;
  }

  html.home-sidebar-collapsed .home-sidebar-col .blogs-widget__toggle.home-sidebar-toggle:hover,
  html.home-sidebar-collapsed .home-sidebar-col .blogs-widget__toggle.home-sidebar-toggle:focus {
    border-color: rgba(250, 100, 24), 0.4);
    color: var(--auto-signal);
  }

  body.night-mode html.home-sidebar-collapsed .home-sidebar-col .blogs-widget__toggle.home-sidebar-toggle {
    box-shadow: 0 0 0 3px var(--body-bg-color-dark, #1b1e22);
  }
}

/* Homepage left rail */
.home-rail {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-rail__card {
  background: var(--auto-panel, #f4f0e9);
  border: 1px solid var(--auto-line);
  border-radius: 16px;
  padding: 16px;
}

.home-rail__you.is-on {
  border-color: rgba(250, 100, 24), 0.45);
}

body.night-mode .home-rail__card {
  background: var(--card-dark-color, #262d34);
  border-color: var(--card-dark-divider, #2e3f4d);
}

.home-rail__label,
.home-rail__sub {
  font-family: var(--auto-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--auto-steel);
  margin: 0 4px 10px;
}

.home-rail__sub {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--auto-line);
}

.home-rail__you-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.home-rail__you-top .home-rail__quick-btn {
  flex: 0 0 auto;
  padding: 0 8px;
  min-width: 36px;
}

.home-rail__you-top .home-rail__quick-btn span {
  display: none;
}

.home-rail__you-garage {
  margin: 8px 0 10px;
  padding: 8px 0 10px;
  border-top: 1px solid var(--auto-line);
  border-bottom: 1px solid var(--auto-line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-rail__sub--first {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.home-rail__garage-head {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.home-rail__garage-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--auto-signal, #FA6418);
  text-decoration: none;
  font-family: var(--auto-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-rail__garage-link i {
  font-size: 14px;
}

.home-rail__garage-link:hover {
  color: var(--auto-signal-deep, #D45515);
}

.home-rail__profile {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
  color: inherit !important;
  text-decoration: none !important;
}

.home-rail__avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(250, 100, 24), 0.35);
  flex: 0 0 52px;
}

.home-rail__who {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.home-rail__who strong {
  font-size: 18px;
  line-height: 1.25;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  word-break: break-word;
}

.home-rail__who small {
  color: var(--auto-steel);
  font-size: 13px;
  white-space: normal;
  overflow: visible;
  word-break: break-word;
}

.home-rail__quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.home-rail__quick-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--auto-line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--auto-ink) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
}

body.night-mode .home-rail__quick-btn {
  background: var(--card-dark-input, #1e252b);
}

.home-rail__quick-btn:hover {
  border-color: rgba(250, 100, 24), 0.4);
  color: var(--auto-signal) !important;
}

.home-rail__more {
  width: 100%;
}

.home-rail__more > .home-rail__quick-btn {
  width: 100%;
}

.home-rail__ride {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit !important;
  text-decoration: none !important;
}

.home-rail__ride-photo {
  flex: 0 0 72px;
  width: 72px;
  height: 52px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-color: rgba(20, 22, 24, 0.08);
}

.home-rail__ride-photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--auto-signal);
  font-size: 18px;
}

.home-rail__ride-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.home-rail__ride-meta em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--auto-signal);
}

.home-rail__ride-meta strong {
  font-size: 14px;
  line-height: 1.25;
}

.home-rail__ride-meta small {
  color: var(--auto-steel);
  font-size: 12px;
}

.home-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.home-rail__list a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--auto-ink) !important;
  text-decoration: none !important;
  font-family: var(--auto-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.side-nav a,
.side-nav .static {
  font-weight: 500 !important;
}

.home-rail__list a:hover,
.home-rail__app:hover,
.home-rail__app.is-on {
  background: rgba(250, 100, 24, 0.08);
  color: var(--auto-signal) !important;
}
.home-rail__list li.active > a {
  background: var(--auto-signal-soft, #FEE8DD);
  color: var(--auto-signal) !important;
}

.home-rail__list a > .main-icon,
.home-rail__list a > .svg-container,
.home-rail__list a > i.main-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px;
  margin: 0 !important;
  border-radius: 50%;
  background: var(--auto-signal-soft, #FEE8DD);
  color: var(--auto-signal, #FA6418) !important;
  fill: var(--auto-signal, #FA6418) !important;
  font-size: 16px !important;
  line-height: 1 !important;
  text-align: center;
}
.home-rail__list a > .main-icon > i,
.home-rail__list a > .svg-container > i,
.home-rail__list a > i.main-icon {
  font-size: 16px !important;
  line-height: 1 !important;
}
.home-rail__app .main-icon,
.home-rail__app i.main-icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  font-size: 16px;
  text-align: center;
  color: var(--auto-signal) !important;
}

.home-rail__apps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.home-rail__list--apps {
  margin-top: 4px;
}

.home-rail__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 2px 8px 6px;
}

.home-rail__links a {
  color: var(--auto-steel) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 400;
}

.home-rail__links a:hover {
  color: var(--auto-signal) !important;
}

.home-rail__app {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: 64px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--auto-line);
  color: var(--auto-ink) !important;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 500;
}

body.night-mode .home-rail__app {
  border-color: var(--card-dark-divider, #2e3f4d);
}

/* Forums sidebar widgets */
.forums-content-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  overflow: visible;
  padding-right: 6px;
}

.forums-content-tabs > ul {
  flex: 1;
  min-width: 0;
}

.forum-wrench-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  min-width: 36px;
  height: 36px;
  align-self: center;
  margin: 6px 4px 6px 2px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--auto-steel);
  cursor: pointer;
}

.forum-wrench-toggle:hover,
.forum-wrench-toggle:focus {
  color: var(--auto-signal);
  background: transparent;
  outline: none;
}

html:not(.forums-sidebar-collapsed) .forum-wrench-toggle {
  color: var(--auto-signal);
}

body.night-mode .forum-wrench-toggle {
  border-left-color: var(--card-dark-divider, #2e3f4d);
  color: var(--body-color-dark, #c1d4e3);
}

body.night-mode html:not(.forums-sidebar-collapsed) .forum-wrench-toggle,
body.night-mode .forum-wrench-toggle:hover,
body.night-mode .forum-wrench-toggle:focus {
  color: var(--auto-signal);
}

.forum-wrench-toggle .fa-wrench {
  font-size: 15px;
  line-height: 1;
}

@media (min-width: 1200px) {
  html.forums-sidebar-collapsed .forum-sidebar-col .forum-widgets-body {
    display: none;
  }

  html.forums-sidebar-collapsed .forum-sidebar-col {
    flex: 0 0 0;
    max-width: 0;
    width: 0;
    min-width: 0;
    padding: 0 !important;
    margin: 0;
    overflow: hidden;
    border: 0;
  }

  html.forums-sidebar-collapsed .forums-mainbar {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }

  .forum-sidebar-backdrop,
  .forum-sidebar-drawer-head {
    display: none !important;
  }
}

.forum-sidebar-col {
  margin-top: 0;
}

@media (max-width: 1199.98px) {
  .forum-sidebar-backdrop {
    display: none;
    position: fixed;
    top: 70px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1036;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(20, 22, 24, 0.45);
  }

  html[data-page="forums"]:not(.forums-sidebar-collapsed) .forum-sidebar-backdrop {
    display: block !important;
  }

  html[data-page="forums"]:not(.forums-sidebar-collapsed),
  html[data-page="forums"]:not(.forums-sidebar-collapsed) body {
    overflow: hidden;
  }

  .forum-sidebar-col {
    display: block !important;
    position: fixed !important;
    top: 70px;
    left: 0 !important;
    right: auto;
    width: min(340px, 88vw);
    max-width: 340px;
    height: calc(100vh - 70px);
    z-index: 1042;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 12px 12px 28px !important;
    margin: 0 !important;
    background: var(--body-bg-color, #f3efe8);
    transform: translateX(-105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.22s ease, visibility 0.22s ease;
    box-shadow: none;
  }

  .forum-sidebar-col::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  html[data-page="forums"]:not(.forums-sidebar-collapsed) .forum-sidebar-col {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    box-shadow: 12px 0 32px rgba(20, 22, 24, 0.18);
  }

  html.forums-sidebar-collapsed .forum-sidebar-col {
    display: block !important;
    transform: translateX(-105%);
    visibility: hidden;
    pointer-events: none;
  }

  .forum-sidebar-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px;
    padding: 4px 4px 10px;
    border-bottom: 1px solid var(--auto-line);
  }

  .forum-sidebar-drawer-head strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--auto-ink);
  }

  .forum-sidebar-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }

  body.night-mode .forum-sidebar-col {
    background: var(--body-bg-color-dark, #1b1e22);
  }

  body.night-mode .forum-sidebar-drawer-head {
    border-bottom-color: var(--card-dark-divider, #2e3f4d);
  }
}

.forum-sidebar .card {
  margin-bottom: 16px;
}

.forum-sidebar .card-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.forum-sidebar .card-header strong {
  display: inline-flex;
  align-items: center;
  font-size: 0.92rem;
}

.forum-sidebar-item {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--auto-line);
  color: inherit;
}

.forum-sidebar-item:first-child {
  padding-top: 0;
}

.forum-sidebar-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.forum-sidebar-item:hover {
  color: inherit;
}

.forum-sidebar-item:hover .title {
  color: var(--auto-signal);
}

.forum-sidebar-item .title {
  display: block;
  font-weight: 600;
  line-height: 1.35;
  color: var(--auto-ink);
}

.forum-sidebar-item .meta {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--auto-steel);
  line-height: 1.4;
}

.forum-sidebar-empty {
  color: var(--auto-steel);
  font-size: 13px;
}

.forum-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
}

.forum-stats-grid .num {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--auto-signal);
  line-height: 1.2;
}

.forum-stats-grid .label {
  margin-top: 2px;
  font-size: 11px;
  color: var(--auto-steel);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.forum-sidebar-online {
  font-size: 13px;
  line-height: 1.55;
}

body.night-mode .forum-sidebar-item .title {
  color: var(--body-color-dark);
}

body.night-mode .forum-sidebar-item .meta,
body.night-mode .forum-sidebar-empty,
body.night-mode .forum-stats-grid .label {
  color: #8a97a3;
}

body.night-mode .forum-sidebar-toggle {
  color: var(--body-color-dark);
  border-color: var(--card-dark-divider, #2e3f4d);
}

/* Forum posts / thread rows: same outline + panel as sidebar cards */
.forums-mainbar .forum-thread {
  background: var(--auto-panel);
  border: 1px solid var(--auto-line) !important;
  border-radius: 16px;
  box-shadow: none;
  padding: 16px;
  margin-top: 12px;
}

.forums-mainbar .forum-thread .time {
  border-bottom-color: var(--auto-line);
}

.forums-mainbar .forum-thread .text {
  margin-top: 4px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(20, 22, 24, 0.16);
  border-radius: 12px;
  color: var(--auto-ink);
}

.forums-mainbar .forum-row {
  background: #fff;
  border: 1px solid var(--auto-line);
  border-radius: 16px;
  box-shadow: none;
  margin: 0 0 10px;
  overflow: visible;
  max-width: 100%;
}

.forums-mainbar .forum-row > .column {
  background: transparent;
  border-bottom: 0;
  color: var(--auto-steel);
}

.forums-mainbar .forum-row > .column strong a {
  color: var(--auto-ink);
}

.forums-mainbar .forum-row > .column strong a:hover {
  color: var(--auto-signal);
}

.forums-mainbar .forum-head > .column,
.forums-mainbar .forum-head.threads > .column {
  background: #fff;
  color: var(--auto-steel);
  border-right-color: var(--auto-line);
  border-left-color: var(--auto-line);
  font-weight: 700;
}

.forums-mainbar .forum-head {
  border: 1px solid rgba(250, 100, 24), 0.16);
  border-radius: 16px;
  overflow: visible;
  margin-bottom: 10px;
  max-width: 100%;
}

body.night-mode .forums-mainbar .forum-thread,
body.night-mode .forums-mainbar .forum-row,
body.night-mode .forums-mainbar .forum-head > .column,
body.night-mode .forums-mainbar .forum-head.threads > .column {
  background: var(--card-dark-color, #262d34);
}

body.night-mode .forums-mainbar .forum-thread,
body.night-mode .forums-mainbar .forum-row,
body.night-mode .forums-mainbar .forum-head {
  border-color: rgba(250, 100, 24), 0.28);
}

body.night-mode .forums-mainbar .forum-thread .text {
  background: #1a2026;
  border-color: var(--card-dark-divider, #2e3f4d);
  color: var(--body-color-dark, #c1d4e3);
}

body.night-mode .forums-mainbar .forum-row > .column strong a {
  color: var(--body-color-dark, #c1d4e3);
}

body.night-mode .forums-mainbar .forum-thread .time,
body.night-mode .forums-mainbar .forum-head > .column {
  border-color: var(--card-dark-divider, #2e3f4d);
}

/* Always-open thread reply composer (comment-box feel, forum card chrome) */
.forums-mainbar .forum-inline-reply {
  scroll-margin-top: 90px;
}

.forums-mainbar .forum-inline-reply__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.forums-mainbar .forum-inline-reply__avatar {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #eee center / cover no-repeat;
  display: block;
}

.forums-mainbar .forum-inline-reply__main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.forums-mainbar .forum-inline-reply__editor {
  width: 100%;
  min-width: 0;
}

.forums-mainbar .forum-inline-reply__editor .js_wysiwyg {
  width: 100%;
  min-height: 160px;
}

.forums-mainbar .forum-inline-reply__editor .tox-tinymce {
  width: 100% !important;
  border: 1px solid rgba(20, 22, 24, 0.16);
  border-radius: 12px;
  overflow: hidden;
}

.forums-mainbar .forum-inline-reply__submit {
  flex: 0 0 auto;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 8px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--auto-signal, #FA6418);
  color: #fff;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.forums-mainbar .forum-inline-reply__submit:hover,
.forums-mainbar .forum-inline-reply__submit:focus {
  filter: brightness(1.05);
  color: #fff;
}

.forums-mainbar .forum-inline-reply__guest {
  padding: 6px 2px;
  font-size: 15px;
}

.forums-mainbar .forum-inline-reply__guest a {
  color: var(--auto-signal, #FA6418);
  font-weight: 600;
}

body.night-mode .forums-mainbar .forum-inline-reply__avatar {
  background-color: #1a2026;
}

body.night-mode .forums-mainbar .forum-inline-reply__editor .tox-tinymce {
  border-color: var(--card-dark-divider, #2e3f4d);
}

body.night-mode .forums-mainbar .forum-inline-reply__editor .tox .tox-menubar,
body.night-mode .forums-mainbar .forum-inline-reply__editor .tox .tox-toolbar,
body.night-mode .forums-mainbar .forum-inline-reply__editor .tox .tox-toolbar__overflow,
body.night-mode .forums-mainbar .forum-inline-reply__editor .tox .tox-toolbar__primary,
body.night-mode .forums-mainbar .forum-inline-reply__editor .tox .tox-statusbar {
  background: #1a2026;
  border-color: var(--card-dark-divider, #2e3f4d);
}

body.night-mode .forums-mainbar .forum-inline-reply__editor .tox .tox-statusbar,
body.night-mode .forums-mainbar .forum-inline-reply__editor .tox .tox-statusbar__path-item,
body.night-mode .forums-mainbar .forum-inline-reply__editor .tox .tox-statusbar__wordcount {
  color: var(--body-color-dark, #c1d4e3);
}

@media (max-width: 575.98px) {
  .forums-mainbar .forum-inline-reply__row {
    flex-wrap: wrap;
  }

  .forums-mainbar .forum-inline-reply__main {
    flex: 1 1 100%;
  }

  .forums-mainbar .forum-inline-reply__submit {
    width: 100%;
  }
}

/* ---- Auto Auctions (Copart / IAAI guided search) ---- */

.aa-page {
  --aa-panel: var(--auto-panel);
  margin-bottom: 2.5rem;
}

.aa-hero {
  position: relative;
  padding: 2.25rem 0 2rem;
  background:
    linear-gradient(135deg, rgba(250, 100, 24), 0.12) 0%, transparent 45%),
    linear-gradient(180deg, #F4F6F8 0%, var(--auto-paper) 100%);
  border-bottom: 1px solid var(--auto-line);
  overflow: hidden;
}

.aa-hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 180%;
  background: radial-gradient(ellipse at center, rgba(250, 100, 24), 0.08), transparent 60%);
  pointer-events: none;
}

.aa-hero__eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--auto-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--auto-signal);
}

.aa-hero__title {
  margin: 0;
  font-family: var(--auto-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--auto-ink);
}

.aa-hero__lede {
  max-width: 36rem;
  margin: 0.75rem 0 0;
  font-family: var(--auto-body);
  font-size: 1.05rem;
  color: var(--auto-steel);
}

.aa-wrap {
  margin-top: 1.25rem;
}

.aa-tabs {
  margin-bottom: 1.25rem;
}

.aa-panel {
  background: var(--aa-panel);
  border: 1px solid var(--auto-line);
  border-radius: 0.65rem;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.25rem;
}

.aa-panel__title {
  margin: 0 0 0.5rem;
  font-family: var(--auto-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--auto-ink);
}

.aa-panel__hint {
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.aa-form .form-group {
  margin-bottom: 0.85rem;
}

.aa-results-head {
  margin-bottom: 1rem;
}

.aa-result-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 1200px) {
  .aa-result-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.aa-result {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem;
  border: 1px solid var(--auto-line);
  border-radius: 0.65rem;
  background: var(--auto-panel);
  min-height: 100%;
}

.aa-result--copart {
  border-top: 3px solid var(--auto-signal);
}

.aa-result--iaai {
  border-top: 3px solid var(--auto-asphalt);
}

.aa-result__badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.2rem 0.55rem;
  font-family: var(--auto-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--auto-asphalt);
  border-radius: 0.25rem;
}

.aa-result--copart .aa-result__badge {
  background: var(--auto-signal);
}

.aa-result__title {
  margin: 0 0 0.4rem;
  font-family: var(--auto-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--auto-ink);
}

.aa-result__blurb {
  flex: 1;
  margin: 0 0 0.5rem;
  color: var(--auto-steel);
  font-size: 0.95rem;
}

.aa-result__attr {
  margin-bottom: 1rem;
}

.aa-result__cta {
  align-self: stretch;
  text-align: center;
}

.aa-save-bar {
  margin-top: 1rem;
}

.aa-signin-hint {
  margin-top: 1rem;
}

.aa-empty {
  text-align: center;
  padding: 2.5rem 1.25rem;
  border: 1px dashed var(--auto-line);
  border-radius: 0.65rem;
  background: rgba(244, 240, 233, 0.65);
}

.aa-empty--wide {
  padding: 3rem 1.5rem;
}

.aa-empty__icon {
  display: block;
  margin: 0 auto 1rem;
  font-size: 2.25rem;
  color: var(--auto-signal);
}

.aa-empty h2 {
  font-family: var(--auto-display);
  font-size: 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}

.aa-empty__points {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  color: var(--auto-steel);
}

.aa-empty__points li {
  margin: 0.35rem 0;
}

.aa-note {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--auto-signal);
  background: var(--auto-signal-soft);
  border-radius: 0 0.4rem 0.4rem 0;
  font-size: 0.92rem;
}

.aa-saved-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.aa-saved {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border: 1px solid var(--auto-line);
  border-radius: 0.5rem;
  background: var(--auto-panel);
}

.aa-saved__label {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.aa-saved__meta {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
}

.aa-saved__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

@media (max-width: 575.98px) {
  .aa-hero {
    padding: 1.5rem 0 1.25rem;
  }

  .aa-panel {
    padding: 1rem;
  }

  .aa-saved {
    align-items: flex-start;
  }
}

/* Car specifications */
.cspec-hero {
  margin-bottom: 1.5rem;
}

.cspec-hero h1 {
  margin: 0 0 0.35rem;
  font-family: var(--auto-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cspec-hero p {
  color: var(--auto-steel);
  margin-bottom: 1rem;
}

.cspec-hero-make {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cspec-search {
  max-width: 520px;
}

.cspec-country {
  margin-bottom: 2rem;
}

.cspec-country h2,
.cspec-sub {
  font-family: var(--auto-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
  color: var(--auto-ink);
}

.cspec-make-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.cspec-make-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px 14px;
  background: var(--auto-panel);
  border: 1px solid var(--auto-line);
  border-radius: 14px;
  color: inherit;
  text-align: center;
  box-shadow: var(--auto-glow);
}

.cspec-make-card:hover {
  border-color: rgba(250, 100, 24), 0.4);
  color: inherit;
}

.cspec-logo {
  width: 72px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.cspec-logo img {
  max-width: 72px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 575.98px) {
  .cspec-make-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }

  .cspec-make-card {
    padding: 12px 6px 10px;
  }

  .cspec-logo {
    width: 56px;
    height: 52px;
  }

  .cspec-logo img {
    max-width: 56px;
    max-height: 44px;
  }
}

.cspec-logo-lg {
  width: 88px;
  height: 72px;
}

.cspec-logo-lg img {
  max-width: 88px;
  max-height: 64px;
}

.cspec-logo-fallback {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--auto-signal-soft);
  color: var(--auto-signal);
  font-weight: 700;
  font-size: 1.25rem;
}

.cspec-make-name {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.25;
}

.cspec-model-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cspec-model-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: var(--auto-panel);
  border: 1px solid var(--auto-line);
  border-radius: 12px;
  color: inherit;
}

.cspec-model-row:hover {
  border-color: rgba(250, 100, 24), 0.4);
  color: inherit;
}

.cspec-gen {
  margin-bottom: 16px;
}

.cspec-gen .card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.cspec-table th,
.cspec-table td {
  vertical-align: top;
  font-size: 13px;
  white-space: nowrap;
}

.cspec-meta {
  font-size: 12px;
  color: var(--auto-steel);
  font-weight: 400;
  white-space: normal;
}

body.night-mode .cspec-make-card,
body.night-mode .cspec-model-row {
  background: var(--card-dark-color);
}

.cspec-slider {
  margin: 0 0 1.1rem;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}

.cspec-slide {
  position: relative;
  outline: none;
}

.cspec-slide img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  background: #1a1a1a;
}

.cspec-slide-credit {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
}

.cspec-slider .slick-prev,
.cspec-slider .slick-next {
  z-index: 2;
  width: 36px;
  height: 36px;
}

.cspec-slider .slick-prev {
  left: 8px;
}

.cspec-slider .slick-next {
  right: 8px;
}

.cspec-slider .slick-prev:before,
.cspec-slider .slick-next:before {
  font-size: 28px;
}

.cspec-slider .slick-dots {
  bottom: 8px;
}

.cspec-slider .slick-dots li button:before {
  color: #fff;
  opacity: 0.55;
}

.cspec-slider .slick-dots li.slick-active button:before {
  opacity: 1;
}

@media (min-width: 1200px) {
  .cspec-slide img {
    height: 420px;
  }
}

/* Left nav — large tap targets, plain labels */
.main-side-nav-card .card-body.with-nav {
  padding: 14px 12px;
}

.main-side-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.main-side-nav > li.nav-cat {
  margin-top: 4px;
}

.main-side-nav a,
.main-side-nav .static,
.main-side-nav .nav-cat-toggle {
  display: flex !important;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 54px;
  padding: 14px 16px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 14px;
  color: var(--auto-ink) !important;
  font-family: var(--auto-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.main-side-nav a:hover,
.main-side-nav .nav-cat-toggle:hover {
  background: rgba(250, 100, 24), 0.08);
  color: var(--auto-signal) !important;
}

.main-side-nav img,
.main-side-nav .main-icon,
.main-side-nav .svg-container,
.main-side-nav i.main-icon {
  flex: 0 0 32px;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px;
  font-size: 24px !important;
  line-height: 32px !important;
  text-align: center;
  margin: 0 !important;
}

.main-side-nav .svg-container svg,
.main-side-nav .main-icon svg {
  width: 32px !important;
  height: 32px !important;
}

.main-side-nav .nav-cat-caret {
  display: none !important;
}

.main-side-nav a[data-bs-toggle="collapse"]:after,
.main-side-nav .nav-cat-toggle:after {
  content: "+" !important;
  font-family: inherit !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  margin-left: auto;
  float: none !important;
  color: var(--auto-steel);
}

.main-side-nav a[data-bs-toggle="collapse"][aria-expanded="true"]:after,
.main-side-nav .nav-cat-toggle[aria-expanded="true"]:after {
  content: "–" !important;
}

.main-side-nav .nav-cat-body > ul {
  margin: 2px 0 10px;
  padding: 0 0 0 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.main-side-nav .nav-cat-body ul a {
  min-height: 48px;
  padding: 12px 16px 12px 20px !important;
  font-family: var(--auto-display);
  font-size: 18px;
  font-weight: 500;
}

.main-side-nav > li.active > a,
.main-side-nav ul > li.active > a {
  background-color: var(--auto-signal-soft) !important;
  color: var(--auto-signal) !important;
  border-radius: 12px;
}

body.night-mode .main-side-nav a,
body.night-mode .main-side-nav .nav-cat-toggle {
  color: var(--body-color-dark) !important;
}

body.night-mode .main-side-nav a:hover,
body.night-mode .main-side-nav .nav-cat-toggle:hover,
body.night-mode .main-side-nav > li.active > a,
body.night-mode .main-side-nav ul > li.active > a {
  background-color: rgba(250, 100, 24), 0.18) !important;
  color: #fff !important;
}

/* Compact stories + hide/show tools */
.home-stories-card {
  --whip-story-ring: var(--auto-signal, #FA6418);
  --whip-story-ring-gap: var(--auto-panel, #f4f0e9);
  --whip-story-tile-w: 112px;
  --whip-story-tile-h: 164px;
  --whip-story-reveal: 3px;
  position: relative;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--auto-line, rgba(20, 22, 24, 0.08));
  box-shadow: 0 8px 24px rgba(20, 22, 24, 0.05);
  background: var(--auto-panel, #fff);
}

@media (max-width: 1199.98px) {
  .home-stories-card {
    overflow: visible;
  }

  .home-stories-card.is-nav-only {
    background: transparent;
    border: 0;
    box-shadow: none;
    margin-bottom: 8px;
  }
}

.home-stories-strip {
  display: flex;
  align-items: flex-start;
  gap: var(--whip-story-reveal, 3px);
  padding: 0;
  overflow: visible;
}

.whip-stories-nav {
  display: none;
  flex: 0 0 auto;
  align-items: flex-start;
  padding: 10px 0 14px 12px;
}

.home-stories-scroll {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: var(--whip-story-reveal, 3px);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.home-stories-scroll::-webkit-scrollbar {
  display: none;
}

.home-stories-card .stories-wrapper {
  margin: 0;
  padding: 0;
  overflow: visible;
}

body.night-mode .home-stories-card {
  --whip-story-ring-gap: var(--card-dark-color, #262D34);
  background: var(--card-dark-color, #262D34);
  border-color: var(--card-dark-divider, #2e3f4d);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.home-stories-card .add-story {
  width: var(--whip-story-tile-w, 86px);
  height: auto !important;
  min-height: 0;
  margin: 0;
  margin-bottom: 0;
}

.home-stories-card .add-story.is-replaced,
.home-stories-card .add-story[hidden] {
  display: none !important;
}

.home-stories-card .add-story .img,
.home-stories-card .stories.sngine .story > a > .item-preview > img {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  border-radius: calc(14px - var(--whip-story-reveal, 4px));
  overflow: hidden;
  object-fit: cover;
  object-position: center;
  background-color: var(--auto-asphalt, #22262b);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-origin: content-box;
  background-clip: content-box;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  box-shadow: none;
}

.home-stories-card .add-story .add {
  left: 50%;
  right: auto;
  bottom: 10px;
  transform: translateX(-50%);
  padding: 3px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--whip-story-ring-gap, #fff);
}

.home-stories-card .stories.sngine.carousel .story {
  width: var(--whip-story-tile-w, 86px) !important;
  max-width: var(--whip-story-tile-w, 86px);
}

.home-stories-card .add-story .img {
  width: var(--whip-story-tile-w, 112px);
  height: var(--whip-story-tile-h, 164px);
  box-sizing: border-box;
  padding: var(--whip-story-reveal, 3px) 0 var(--whip-story-reveal, 3px) var(--whip-story-reveal, 3px);
  border-radius: 14px;
  border: 0;
  background-color: var(--auto-asphalt, #22262b);
  background-origin: content-box;
  background-clip: content-box;
  box-shadow: 0 8px 18px rgba(20, 22, 24, 0.12);
}

.home-stories-card .stories.sngine.carousel .story > .item-link > .item-preview {
  width: var(--whip-story-tile-w, 112px) !important;
  height: var(--whip-story-tile-h, 164px) !important;
  margin: 0 auto;
  padding: var(--whip-story-reveal, 3px) 0 var(--whip-story-reveal, 3px) var(--whip-story-reveal, 3px);
  box-sizing: border-box;
  border-radius: 14px;
  border: 0;
  overflow: hidden;
  background: var(--whip-story-ring-gap, #fff);
  box-shadow: 0 8px 18px rgba(20, 22, 24, 0.12);
}

.home-stories-card .stories.sngine.carousel .story:last-child > .item-link > .item-preview {
  padding-right: var(--whip-story-reveal, 3px);
}

/* New / unseen stories: orange ring around preview */
.home-stories-card .stories.sngine .story:not(.seen) > a > .item-preview,
.home-stories-card .stories.sngine .story:not(.seen) > .item-link > .item-preview {
  background: var(--whip-story-ring, #FA6418);
  box-shadow:
    0 0 0 1px rgba(250, 100, 24, 0.35),
    0 8px 18px rgba(20, 22, 24, 0.12);
}

.home-stories-card .stories.sngine .story.seen > a > .item-preview,
.home-stories-card .stories.sngine .story.seen > .item-link > .item-preview {
  background: rgba(20, 22, 24, 0.18);
  box-shadow: 0 8px 18px rgba(20, 22, 24, 0.08);
}

.home-stories-card .stories.sngine .story:not(.seen) > a > .item-preview > img {
  box-shadow: none;
}

.home-stories-card .stories.sngine .story.seen {
  opacity: 1;
}

.home-stories-card .stories.sngine .story.seen > a > .item-preview > img {
  box-shadow: none;
}

.home-stories-card .stories.carousel .story > .item-link > .info {
  font-size: 11px;
  line-height: 1.15;
}

.home-stories-delete {
  display: none !important;
}

/* Story viewer/recorder above site chrome; hide header while open */
#zuck-modal,
#zuck-modal-content {
  z-index: 200100 !important;
}

body:has(#zuck-modal),
body:has(#zuck-modal-content .story-viewer),
body.st-lock {
  overflow: hidden !important;
}

body:has(#zuck-modal) .main-header,
body:has(#zuck-modal-content .story-viewer) .main-header,
body:has(#zuck-modal) .whip-subnav,
body:has(#zuck-modal-content .story-viewer) .whip-subnav,
body:has(#zuck-modal) .footer-bottom-bar,
body:has(#zuck-modal-content .story-viewer) .footer-bottom-bar,
body.st-lock .main-header,
body.st-lock .whip-subnav,
body.st-lock .footer-bottom-bar {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#zuck-modal-content .story-viewer > .head {
  z-index: 200120;
}

#zuck-modal-content .story-viewer .head .left .info {
  max-width: 52vw;
}

#zuck-modal-content .story-viewer .head .left .info .name,
#zuck-modal-content .story-viewer .head .left .info .whip-story-when {
  display: inline;
  width: auto;
  vertical-align: baseline;
}

#zuck-modal-content .story-viewer .head .left .info .whip-story-when {
  opacity: 0.78;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.01em;
}

#zuck-modal-content .story-viewer > .head .right {
  position: relative;
  z-index: 100040;
  pointer-events: auto;
}

#zuck-modal-content .story-viewer .head .right .whip-story-delete {
  position: relative;
  z-index: 100041;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 6px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #c62828;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  vertical-align: middle;
}

#zuck-modal-content .whip-story-nav {
  position: absolute;
  top: 88px;
  bottom: 0;
  width: 22%;
  z-index: 100005;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

#zuck-modal-content .whip-story-nav-prev {
  left: 0;
}

#zuck-modal-content .whip-story-nav-next {
  right: 0;
}

/* Header search — warm field + red glow, no leftover blue */
.main-header .search-wrapper .form-control {
  background: var(--auto-panel) !important;
  border: 1px solid var(--auto-line) !important;
  box-shadow: none !important;
  color: var(--auto-ink);
  caret-color: var(--auto-signal);
  outline: none !important;
}

.main-header .search-wrapper .form-control:focus,
.main-header .search-wrapper .form-control:focus-visible {
  background: #fffdf9 !important;
  border-color: rgba(250, 100, 24), 0.45) !important;
  box-shadow: none !important;
  outline: none !important;
}

.main-header .search-wrapper .form-control:-webkit-autofill,
.main-header .search-wrapper .form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--auto-ink);
  box-shadow: 0 0 0 1000px #fbfaf7 inset !important;
  transition: background-color 9999s ease-out 0s;
}

body.night-mode .main-header .search-wrapper .form-control {
  background: var(--card-dark-input) !important;
  border-color: rgba(250, 100, 24), 0.28) !important;
  color: var(--body-color-dark);
}

.forums-widget .forum-sidebar-item:first-child {
  padding-top: 2px;
}

/* Latest from forums — compact title chip + icon (sidebar widget only) */
.forums-widget .forum-sidebar-item .title {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 2px;
  padding: 5px 8px 5px 7px;
  background: #fffdf9;
  border: 1px solid rgba(250, 100, 24), 0.22);
  border-radius: 8px;
  box-shadow: none;
  font-weight: 600;
  line-height: 1.35;
  color: var(--auto-ink);
}

.forums-widget .forum-sidebar-item .title i {
  flex: 0 0 auto;
  margin-top: 2px;
  font-size: 11px;
  color: var(--auto-signal);
}

.forums-widget .forum-sidebar-item .title .title-text {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.forums-widget .forum-sidebar-item:hover .title {
  border-color: rgba(250, 100, 24), 0.42);
  color: var(--auto-signal);
}

body.night-mode .forums-widget .forum-sidebar-item .title {
  background: rgba(38, 45, 52, 0.92);
  border-color: rgba(250, 100, 24), 0.34);
  box-shadow: none;
  color: var(--body-color-dark);
}

body.night-mode .forums-widget .forum-sidebar-item:hover .title {
  border-color: rgba(250, 100, 24), 0.5);
  color: #f0b49a;
}

#zuck-modal-content .story-viewer .slides .item .whip-story-overlays {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

#zuck-modal-content .story-viewer .slides .item .whip-story-overlay {
  position: absolute;
  max-width: 85%;
  padding: 0;
  text-align: center;
  font-family: var(--auto-display, "Barlow Condensed", "Arial Narrow", sans-serif);
  font-weight: 700;
  font-size: clamp(1.35rem, 6vw, 2rem);
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  transform-origin: center center;
  word-break: break-word;
  white-space: pre-wrap;
}

#zuck-modal-content .story-viewer .slides .item .whip-story-overlay-sticker {
  font-size: clamp(2.2rem, 10vw, 3rem);
  line-height: 1;
  text-shadow: none;
}

#zuck-modal-content .story-viewer .tip.muted,
#zuck-modal .tip.keyboard {
  display: none !important;
}

#zuck-modal-content .story-viewer .whip-story-del-prompt,
.whip-story-del-prompt {
  position: absolute;
  inset: 0;
  z-index: 100050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(11, 12, 14, 0.58);
  pointer-events: auto;
}

.whip-story-del-prompt__card {
  width: min(360px, 100%);
  padding: 14px 16px 14px;
  border-radius: 14px;
  background: var(--auto-panel, #fff);
  color: var(--auto-ink, #141618);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.whip-story-del-prompt__card p {
  margin: 0 0 16px;
  font-family: var(--auto-display, "Barlow Condensed", "Arial Narrow", sans-serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.whip-story-del-prompt__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.whip-story-del-prompt__actions button {
  min-width: 96px;
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.whip-story-del-yes {
  background: #c62828;
  color: #fff;
}

.whip-story-del-no {
  background: var(--auto-signal-soft, #f8e8e1);
  color: var(--auto-ink, #141618);
}

/* Header Explore mega-menu + desktop nav */
.whip-header-menu__btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.whip-header-menu__btn svg,
.whip-header-nav__ico svg {
  fill: currentColor;
}

.navbar-wrapper > ul > li.whip-header-nav .whip-header-nav__btn.is-active,
.navbar-wrapper > ul > li.whip-header-menu .whip-header-nav__btn.show,
.navbar-wrapper > ul > li.whip-header-menu .whip-header-nav__btn[aria-expanded="true"] {
  background: transparent;
  color: var(--auto-signal, #FA6418);
}

.whip-header-menu__panel.dropdown-menu {
  width: min(1320px, calc(100vw - 24px));
  max-height: calc(100dvh - 84px);
  padding: 22px 24px 16px;
  margin-top: 0 !important;
  overflow-x: hidden;
  overflow-y: auto;
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(20, 22, 24, 0.14);
}

body.night-mode .whip-header-menu__panel.dropdown-menu {
  background: var(--body-bg-color-dark, #1e252b);
  border-color: rgba(255, 255, 255, 0.08);
}

.whip-header-menu__layout {
  display: grid;
  grid-template-columns: minmax(210px, 1.05fr) minmax(280px, 1.35fr) minmax(180px, 0.9fr) minmax(210px, 1fr);
  grid-template-areas:
    "social explore more create"
    "social garage garage create";
  gap: 18px 20px;
  align-items: start;
}

.whip-header-menu__col--social { grid-area: social; }
.whip-header-menu__col--explore { grid-area: explore; }
.whip-header-menu__col--more { grid-area: more; }
.whip-header-menu__col--garage { grid-area: garage; }
.whip-header-menu__col--create { grid-area: create; }

.whip-header-menu__col--more {
  min-width: 0;
  overflow: visible;
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid rgba(20, 22, 24, 0.08);
}

.whip-header-menu__col--garage {
  min-width: 0;
  margin-top: 4px;
}

.whip-garage-menu {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(0, 1.4fr);
  gap: 12px;
  align-items: stretch;
}

.whip-garage-menu__hero.whip-explore-card,
.whip-garage-menu__add.whip-explore-card {
  min-height: 148px !important;
  aspect-ratio: auto !important;
  height: 100%;
}

.whip-explore-card--garage,
.whip-explore-card--garage-empty {
  background-color: #1a1512;
  background-image:
    linear-gradient(145deg, rgba(20, 22, 24, 0.35) 0%, rgba(20, 22, 24, 0.72) 100%),
    linear-gradient(115deg, #2a211c 0%, #141618 55%, #FA6418 160%);
  background-size: cover;
  background-position: center;
}

.whip-explore-card--garage-empty {
  background-image:
    linear-gradient(145deg, rgba(20, 22, 24, 0.2) 0%, rgba(20, 22, 24, 0.55) 100%),
    linear-gradient(135deg, #241c18 0%, #1a1512 50%, rgba(250, 100, 24, 0.55) 100%);
}

.whip-garage-menu__fleet {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-height: 148px;
}

.whip-garage-menu__ride {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 70px;
  padding: 8px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none !important;
  color: #fff !important;
  background: #2a2f35;
}

.whip-garage-menu__ride:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(20, 22, 24, 0.18);
}

.whip-garage-menu__ride-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #2a2f35;
}

.whip-garage-menu__ride-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(20, 22, 24, 0.82) 100%);
}

.whip-garage-menu__ride-photo--empty,
.whip-garage-menu__ride-photo--add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  background:
    linear-gradient(145deg, rgba(250, 100, 24, 0.28), rgba(20, 22, 24, 0.55)),
    #2a211c;
}

.whip-garage-menu__ride-photo--add {
  color: #fff;
  background: linear-gradient(145deg, var(--auto-signal, #FA6418), #c45312);
}

.whip-garage-menu__ride-photo--empty::after,
.whip-garage-menu__ride-photo--add::after {
  display: none;
}

.whip-garage-menu__ride-name {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.whip-garage-menu__ride--add .whip-garage-menu__ride-name {
  text-align: center;
  width: 100%;
}

/* When only the empty add card shows, let it span full garage width */
.whip-garage-menu:has(.whip-garage-menu__add):not(:has(.whip-garage-menu__fleet)) {
  grid-template-columns: 1fr 1fr;
}

.whip-header-menu__col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0 2px 0;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7178;
  border-bottom: 0;
  background: none;
}

.whip-header-menu__col-title > i {
  color: var(--auto-signal, #FA6418);
  font-size: 1rem;
}

.whip-header-menu__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 4px;
  padding: 11px 10px;
  border-radius: 12px;
  color: #141618 !important;
  text-decoration: none !important;
}

.whip-header-menu__item:hover {
  background: #f4f5f6;
  color: #141618 !important;
}

.whip-header-menu__ico {
  display: inline-flex;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  line-height: 1;
  color: var(--auto-signal, #FA6418);
}

.whip-header-menu__ico .main-icon,
.whip-header-menu__ico > i {
  display: block;
  width: 20px;
  height: 20px;
  font-size: 16px;
  line-height: 1;
  color: var(--auto-signal, #FA6418) !important;
  fill: var(--auto-signal, #FA6418) !important;
}

.whip-header-menu__txt {
  flex: 1 1 auto;
  min-width: 0;
}

.whip-header-menu__item strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
}

.whip-header-menu__txt small {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.3;
  color: #6b7178;
}

.whip-header-menu__chev {
  flex: 0 0 auto;
  margin-top: 6px;
  margin-left: auto;
  font-size: 0.65rem;
  color: #b0b5ba;
}

.whip-header-menu__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.whip-header-menu__col--explore .whip-header-menu__col-title {
  font-size: 0.92rem;
}

.whip-explore-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 124px;
  aspect-ratio: 1.55 / 1;
  padding: 11px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none !important;
  color: #fff !important;
  background: #2a2f35;
  box-shadow: none;
  border: 1px solid rgba(20, 22, 24, 0.06);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.whip-explore-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(20, 22, 24, 0.18);
  color: #fff !important;
}

.whip-explore-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 22, 24, 0.15) 0%, rgba(20, 22, 24, 0.78) 100%);
  pointer-events: none;
}

.whip-explore-card--market,
.whip-explore-card--stores,
.whip-explore-card--auctions,
.whip-explore-card--watch {
  background-color: #1a1512;
  background-size: cover;
  background-position: center;
}

.whip-explore-card--market {
  background-image: url("../images/explore/market.jpg?v=20261005");
}

.whip-explore-card--stores {
  background-image: url("../images/explore/stores.jpg?v=20261005");
}

.whip-explore-card--auctions {
  background-image: url("../images/explore/auctions.jpg?v=20261005");
}

.whip-explore-card--watch {
  background-image: url("../images/explore/watch.jpg?v=20261005");
}

.whip-explore-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--auto-signal, #FA6418);
  color: #fff;
  font-size: 12px;
}

.whip-explore-card__badge .main-icon,
.whip-explore-card__badge svg,
.whip-explore-card__badge i {
  width: 14px;
  height: 14px;
  color: #fff !important;
  fill: #fff !important;
}

.whip-explore-card__body {
  position: relative;
  z-index: 1;
  padding-right: 28px;
}

.whip-explore-card__body strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.whip-explore-card__body small {
  display: block;
  margin-top: 2px;
  font-size: 0.64rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.78);
}

.whip-explore-card__go {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--auto-signal, #FA6418);
  color: #fff;
  font-size: 0.65rem;
}

.whip-header-menu__col-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--auto-signal, #FA6418);
  color: #fff;
  font-size: 0.7rem;
  line-height: 1;
}

.whip-header-menu__col-badge--round {
  border-radius: 50%;
}

.whip-header-menu__col-badge i {
  color: #fff !important;
}

.whip-header-menu__panel {
  position: relative;
  overflow: hidden;
}

.whip-header-menu__deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.whip-header-menu__deco--gauge {
  left: -20px;
  bottom: -36px;
  width: 220px;
  height: 220px;
  opacity: 0.06;
  background:
    radial-gradient(circle at center, transparent 38%, #141618 39%, #141618 41%, transparent 42%),
    conic-gradient(from 210deg, transparent 0 55%, #141618 55% 57%, transparent 57% 100%);
  border-radius: 50%;
  mask-image: radial-gradient(circle at center, #000 0 62%, transparent 63%);
  -webkit-mask-image: radial-gradient(circle at center, #000 0 62%, transparent 63%);
}

.whip-header-menu__deco--bars {
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 34px;
  background:
    linear-gradient(115deg, transparent 42%, var(--auto-signal, #FA6418) 42% 52%, transparent 52%) 0 0 / 14px 100% no-repeat,
    linear-gradient(115deg, transparent 36%, var(--auto-signal, #FA6418) 36% 52%, transparent 52%) 14px 0 / 16px 100% no-repeat,
    linear-gradient(115deg, transparent 28%, var(--auto-signal, #FA6418) 28% 52%, transparent 52%) 30px 0 / 20px 100% no-repeat;
  opacity: 0.9;
}

.whip-header-menu__layout,
.whip-header-menu__tagline {
  position: relative;
  z-index: 1;
}

.whip-header-menu__col--create .whip-header-menu__create-item,
.whip-header-menu__create-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f1f2f4;
  border: 0;
  color: #141618 !important;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: none;
}

.whip-header-menu__create-item:hover {
  background: #e9eaed;
  border-color: transparent;
  color: #141618 !important;
}

.whip-header-menu__create-ico {
  display: flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--auto-signal, #FA6418);
  color: #fff;
  box-shadow: none;
}

.whip-header-menu__create-ico .main-icon,
.whip-header-menu__create-ico > i {
  width: 14px;
  height: 14px;
  font-size: 13px;
  color: #fff !important;
  fill: #fff !important;
}

.whip-header-menu__rule {
  height: 1px;
  margin: 10px 4px 12px;
  background: rgba(0, 0, 0, 0.08);
}

.whip-header-menu__tagline {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(20, 22, 24, 0.06);
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9aa0a6;
}

.whip-header-menu__tagline span {
  color: var(--auto-signal, #FA6418);
  margin: 0 0.35em;
}

body.night-mode .whip-header-menu__item,
body.night-mode .whip-header-menu__create-item,
body.night-mode .whip-header-menu__col-title {
  color: #e8edf2 !important;
}

body.night-mode .whip-header-menu__item:hover,
body.night-mode .whip-header-menu__create-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #e8edf2 !important;
}

body.night-mode .whip-header-menu__create-item {
  background: rgba(255, 255, 255, 0.08);
}

body.night-mode .whip-header-menu__create-ico {
  background: var(--auto-signal, #FA6418);
}

body.night-mode .whip-header-menu__rule,
body.night-mode .whip-header-menu__tagline {
  border-color: rgba(255, 255, 255, 0.08);
  background: transparent;
}

@media (min-width: 768px) {
  .navbar-wrapper > ul > li.whip-header-menu {
    position: static;
  }

  .whip-header-menu__panel.dropdown-menu {
    position: fixed !important;
    top: 76px !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;
    z-index: 1060;
    width: min(1120px, calc(100vw - 48px));
  }

  html:not(.whip-phone-layout) .whip-header-menu__panel.dropdown-menu.show {
    overflow: visible;
    max-height: none;
    display: block !important;
  }

  html:not(.whip-phone-layout) .main-header > .container > .row,
  html:not(.whip-phone-layout) .main-header > .container-fluid > .row {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    min-height: var(--whip-header-h, 72px);
  }

  html:not(.whip-phone-layout) .main-header {
    position: relative;
    background: #fff;
    border-bottom: 1px solid rgba(20, 22, 24, 0.1);
    box-shadow: 0 1px 0 rgba(20, 22, 24, 0.03);
    height: var(--whip-header-h, 72px) !important;
  }

  html:not(.whip-phone-layout) {
    --whip-header-h: 72px;
    --whip-header-icon: 38px;
    --whip-header-hit: 56px;
    --whip-rail-w: 280px;
    --whip-shell-max: calc(100vw - 24px);
    --whip-tool: 38px;
    --whip-tool-ico: 18px;
    --whip-nav-ico: 38px;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    max-width: none;
    width: auto;
    min-width: 0;
    gap: 2px;
    padding-left: 0 !important;
    padding-right: 8px !important;
    margin-left: 0;
    overflow: visible !important;
    z-index: 3;
  }

  html:not(.whip-phone-layout) .main-header .logo-wrapper,
  html:not(.whip-phone-layout) .main-header .logo {
    overflow: visible !important;
    max-width: none;
  }

  html:not(.whip-phone-layout) .main-header .logo-wrapper {
    height: var(--whip-header-h, 72px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
  }

  html:not(.whip-phone-layout) .main-header .logo img {
    max-height: 56px;
    max-width: none;
    width: auto;
    height: auto;
  }

  /* Center: Home / Market / Apps Hub / Watch / Friends — above side columns so links receive clicks */
  html:not(.whip-phone-layout) .main-header .whip-header-centernav {
    display: flex !important;
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: min(560px, 50vw);
    padding: 0 !important;
    margin: 0;
    z-index: 5;
    pointer-events: auto;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-centernav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    height: var(--whip-header-h, 72px);
    pointer-events: auto;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-centernav__list > li {
    flex: 0 0 auto;
    margin: 0;
    list-style: none;
    pointer-events: auto;
  }

  html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li.whip-header-menu {
    position: static;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-nav-divider {
    display: none !important;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-nav__hub-ico,
  html:not(.whip-phone-layout) .main-header .whip-header-nav__hub-ico i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--whip-header-icon, 22px);
    height: var(--whip-header-icon, 22px);
    font-size: var(--whip-header-icon, 22px) !important;
    line-height: 1 !important;
    color: inherit !important;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-tools {
    flex: 1 1 auto;
    min-width: 0;
    position: static;
    padding-left: 0 !important;
    padding-right: 0 !important;
    z-index: 3;
    /* let center-nav clicks pass through empty tools space */
    pointer-events: none;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-tools .whip-header-icons,
  html:not(.whip-phone-layout) .main-header .whip-header-tools .whip-header-icons a,
  html:not(.whip-phone-layout) .main-header .whip-header-tools .whip-header-icons button,
  html:not(.whip-phone-layout) .main-header .whip-header-tools .dropdown-menu {
    pointer-events: auto;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-tools__row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
    min-height: var(--whip-header-h, 72px);
  }

  html:not(.whip-phone-layout) .main-header .whip-header-icons {
    flex: 0 0 auto;
    max-width: none;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Desktop search icon next to logo + popout bar (keep clear of center nav) */
  html:not(.whip-phone-layout) .main-header .whip-header-search-desk {
    display: flex !important;
    align-items: center;
    position: relative;
    margin-left: 4px;
    z-index: 4;
    --whip-header-search-w: min(200px, 16vw);
  }

  html:not(.whip-phone-layout) .main-header .whip-header-search-slide {
    display: flex;
    align-items: center;
    flex-direction: row;
    position: relative;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-search-slide__panel {
    max-width: 0;
    width: var(--whip-header-search-w);
    opacity: 0;
    overflow: hidden;
    margin-left: 0;
    pointer-events: none;
    transition: max-width 0.28s ease, opacity 0.2s ease, margin-left 0.28s ease;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-search-slide.is-open .whip-header-search-slide__panel {
    max-width: var(--whip-header-search-w);
    opacity: 1;
    margin-left: 8px;
    pointer-events: auto;
    overflow: visible;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-search-desk__btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: var(--whip-header-hit, 56px);
    min-width: 40px;
    width: 40px;
    padding: 0;
    margin: 0;
    border-radius: 12px;
    color: #3a4046;
    line-height: 1;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-search-desk__btn .header-icon,
  html:not(.whip-phone-layout) .main-header .whip-header-search-desk__btn .header-icon i {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: var(--whip-header-icon, 22px) !important;
    height: var(--whip-header-icon, 22px) !important;
    font-size: var(--whip-header-icon, 22px) !important;
    line-height: 1 !important;
    color: inherit !important;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-search-desk__btn:hover,
  html:not(.whip-phone-layout) .main-header .whip-header-search-slide.is-open .whip-header-search-desk__btn {
    color: var(--auto-signal, #FA6418);
    background: rgba(250, 100, 24, 0.08);
  }

  html:not(.whip-phone-layout) .main-header .whip-header-search-slide .search-wrapper {
    position: relative;
    height: 40px;
    width: var(--whip-header-search-w);
  }

  html:not(.whip-phone-layout) .main-header .whip-header-search-slide .search-wrapper .form-control {
    height: 40px;
    margin: 0;
    padding-left: 40px;
    padding-right: 14px;
    font-size: 13.5px;
    border-radius: 999px;
    color: #585b5d !important;
    -webkit-text-fill-color: #585b5d;
    background: var(--auto-paper, #efeeea) !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-search-slide .search-wrapper .form-control::placeholder {
    color: #8a9096 !important;
    -webkit-text-fill-color: #8a9096;
    opacity: 1;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-search-slide .search-wrapper .form-control:focus,
  html:not(.whip-phone-layout) .main-header .whip-header-search-slide .search-wrapper .form-control:focus-visible {
    color: #141618 !important;
    -webkit-text-fill-color: #141618;
    background: var(--auto-paper, #efeeea) !important;
    border: 0 !important;
    box-shadow: 0 0 0 2px rgba(250, 100, 24, 0.28) !important;
  }

  html:not(.whip-phone-layout) body.night-mode .main-header .whip-header-search-slide .search-wrapper .form-control,
  html:not(.whip-phone-layout) body.night-mode .main-header .whip-header-search-slide .search-wrapper .form-control:focus,
  html:not(.whip-phone-layout) body.night-mode .main-header .whip-header-search-slide .search-wrapper .form-control:focus-visible {
    background: var(--body-bg-color-dark, #1b1e22) !important;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-search-slide .search-input-icon,
  html:not(.whip-phone-layout) .main-header .whip-header-search-slide .search-input-icon--leading {
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    pointer-events: none;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-search-slide .search-input-icon .header-icon,
  html:not(.whip-phone-layout) .main-header .whip-header-search-slide .search-input-icon .header-icon *,
  html:not(.whip-phone-layout) .main-header .whip-header-search-slide .search-input-icon svg,
  html:not(.whip-phone-layout) .main-header .whip-header-search-slide .search-input-icon i {
    display: block;
    width: 14px;
    height: 14px;
    margin: 0;
    color: #8a9096 !important;
    fill: #8a9096 !important;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-search-slide .dropdown-search {
    min-width: max(var(--whip-header-search-w), 240px);
  }

  html:not(.whip-phone-layout) .main-header .navbar-wrapper {
    width: auto;
  }

  html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul {
    align-items: center;
    justify-content: flex-end;
    height: var(--whip-header-h, 72px);
    gap: 0;
    width: 100%;
    margin-left: 0;
  }

  html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--whip-header-hit, 56px);
    margin-top: 0;
    min-width: 36px;
    width: auto;
    padding: 0 5px;
    line-height: 1;
    border-radius: 12px;
    color: #3a4046;
    transition: color 0.15s ease, background-color 0.15s ease;
  }

  /* Equal tight spacing: search / friends / notifications / messages */
  html:not(.whip-phone-layout) .main-header .whip-header-search-desk,
  html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li.dropdown:not(.whip-header-nav):not(.whip-header-user):not(.whip-header-menu) {
    margin: 0;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-icons,
  html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul {
    gap: 0 !important;
    column-gap: 0 !important;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-search-desk__btn,
  html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li.dropdown:not(.whip-header-nav):not(.whip-header-user):not(.whip-header-menu) > a {
    min-width: 28px;
    padding: 0 2px;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-search-desk {
    margin-right: 0;
  }

  html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li.dropdown:not(.whip-header-nav):not(.whip-header-user):not(.whip-header-menu) {
    margin-left: 0;
    margin-right: 0;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-nav__btn {
    display: inline-flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0;
    min-width: 56px;
    width: 56px;
    height: var(--whip-header-h, 72px) !important;
    padding: 0;
    border-radius: 0;
    border-bottom: 3px solid transparent;
    color: #3a4046;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-centernav .whip-header-nav__btn {
    position: relative;
    min-width: 48px;
    width: 48px;
    height: var(--whip-header-h, 72px) !important;
    border-radius: 0;
    border-bottom: 3px solid transparent;
    background: transparent !important;
    cursor: pointer;
    text-decoration: none !important;
    transition: color 0.15s ease, border-color 0.15s ease;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-centernav .whip-header-nav__btn:hover {
    color: var(--auto-signal, #FA6418) !important;
    background: transparent !important;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-centernav .whip-header-nav__btn:hover .header-icon,
  html:not(.whip-phone-layout) .main-header .whip-header-centernav .whip-header-nav__btn:hover .header-icon * {
    color: var(--auto-signal, #FA6418) !important;
    fill: var(--auto-signal, #FA6418) !important;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-nav__label {
    display: none !important;
  }

  /* Right Explore matches icon-only cluster */
  html:not(.whip-phone-layout) .main-header .whip-header-menu .whip-header-nav__btn {
    min-width: 40px;
    width: 40px;
    height: var(--whip-header-hit, 56px) !important;
    border-radius: 12px;
    border-bottom: 0 !important;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-nav__explore-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--whip-header-icon, 22px);
    height: var(--whip-header-icon, 22px);
    border-radius: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-nav__explore-ico i {
    font-size: var(--whip-header-icon, 22px) !important;
    width: auto !important;
    height: auto !important;
    color: inherit !important;
    line-height: 1 !important;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-centernav .whip-header-nav__btn.is-active {
    color: var(--auto-signal, #FA6418) !important;
    background: transparent !important;
    border-bottom: 3px solid var(--auto-signal, #FA6418) !important;
    box-shadow: none !important;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-menu .whip-header-nav__btn.show,
  html:not(.whip-phone-layout) .main-header .whip-header-menu .whip-header-nav__btn[aria-expanded="true"] {
    color: var(--auto-signal, #FA6418) !important;
    background: rgba(250, 100, 24, 0.08) !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-nav__btn.is-active .header-icon,
  html:not(.whip-phone-layout) .main-header .whip-header-nav__btn.is-active .header-icon *,
  html:not(.whip-phone-layout) .main-header .whip-header-nav__btn.is-active .whip-header-nav__explore-ico,
  html:not(.whip-phone-layout) .main-header .whip-header-nav__btn.is-active .whip-header-nav__explore-ico i,
  html:not(.whip-phone-layout) .main-header .whip-header-menu .whip-header-nav__btn.show .header-icon,
  html:not(.whip-phone-layout) .main-header .whip-header-menu .whip-header-nav__btn.show .header-icon *,
  html:not(.whip-phone-layout) .main-header .whip-header-menu .whip-header-nav__btn.show .whip-header-nav__explore-ico,
  html:not(.whip-phone-layout) .main-header .whip-header-menu .whip-header-nav__btn.show .whip-header-nav__explore-ico i,
  html:not(.whip-phone-layout) .main-header .whip-header-menu .whip-header-nav__btn[aria-expanded="true"] .header-icon,
  html:not(.whip-phone-layout) .main-header .whip-header-menu .whip-header-nav__btn[aria-expanded="true"] .header-icon *,
  html:not(.whip-phone-layout) .main-header .whip-header-menu .whip-header-nav__btn[aria-expanded="true"] .whip-header-nav__explore-ico,
  html:not(.whip-phone-layout) .main-header .whip-header-menu .whip-header-nav__btn[aria-expanded="true"] .whip-header-nav__explore-ico i {
    color: var(--auto-signal, #FA6418) !important;
    fill: var(--auto-signal, #FA6418) !important;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-nav--home .whip-header-nav__btn.is-active {
    color: var(--auto-signal, #FA6418) !important;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-divider {
    display: list-item !important;
    width: 1px;
    height: 28px;
    margin: 0 6px;
    padding: 0;
    align-self: center;
    background: rgba(20, 22, 24, 0.14);
    list-style: none;
    flex: 0 0 1px;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-home-modes {
    display: flex !important;
    align-items: center;
    margin: 0 12px 0 8px;
    flex: 0 0 auto;
  }

  html:not(.whip-phone-layout) .main-header .whip-home-toggle--header {
    position: static;
    top: auto;
    z-index: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 0;
    padding: 0;
  }

  html:not(.whip-phone-layout) .main-header .whip-home-toggle--header .whip-home-toggle__btn {
    min-height: 28px;
    padding: 4px 10px;
    font-size: 0.72rem;
    white-space: nowrap;
    gap: 5px;
  }
  html:not(.whip-phone-layout) .main-header .whip-home-toggle--header .whip-home-toggle__btn i {
    font-size: 0.75em;
  }

  html:not(.whip-phone-layout) .main-header .js_live-messages > a .counter:not(.x-hidden) {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    width: auto;
    height: 18px;
    padding: 0 5px;
    font-size: 11px !important;
    font-weight: 700;
    line-height: 18px !important;
    color: #fff !important;
    background: var(--auto-signal, #FA6418) !important;
    border-radius: 999px;
    top: 8px;
    right: 4px;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-nav--home .whip-header-nav__btn.is-active .header-icon,
  html:not(.whip-phone-layout) .main-header .whip-header-nav--home .whip-header-nav__btn.is-active .header-icon * {
    color: var(--auto-signal, #FA6418) !important;
    fill: var(--auto-signal, #FA6418) !important;
  }

  html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li > a .header-icon,
  html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li > a .header-icon svg,
  html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li > a .header-icon i,
  html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li > a svg,
  html:not(.whip-phone-layout) .main-header .whip-header-centernav .whip-header-nav__btn .header-icon,
  html:not(.whip-phone-layout) .main-header .whip-header-centernav .whip-header-nav__btn .header-icon svg,
  html:not(.whip-phone-layout) .main-header .whip-header-centernav .whip-header-nav__btn .header-icon i,
  html:not(.whip-phone-layout) .main-header .whip-header-centernav .whip-header-nav__btn svg,
  html:not(.whip-phone-layout) .main-header .whip-header-centernav .whip-header-nav__btn img.whip-nav-ico {
    width: var(--whip-nav-ico, 38px) !important;
    height: var(--whip-nav-ico, 38px) !important;
    font-size: var(--whip-nav-ico, 38px) !important;
    line-height: 1 !important;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-centernav .whip-header-nav__btn.is-active .header-icon,
  html:not(.whip-phone-layout) .main-header .whip-header-centernav .whip-header-nav__btn.is-active .header-icon * {
    color: var(--auto-signal, #FA6418) !important;
    fill: var(--auto-signal, #FA6418) !important;
  }

  html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li > a img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
  }

  html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li > a.user-menu,
  html:not(.whip-phone-layout) .main-header .whip-header-user__btn {
    width: auto;
    min-width: 0;
    gap: 8px;
    padding: 0 4px 0 8px;
    border-left: 1px solid rgba(20, 22, 24, 0.1);
    border-radius: 0;
    margin-left: 6px;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-user__caret {
    display: inline-block !important;
    margin-left: 6px;
    font-size: 0.7rem;
    color: #8a9096;
    line-height: 1;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-user__btn.dropdown-toggle::after,
  html:not(.whip-phone-layout) .main-header .whip-header-user .dropdown-toggle::after,
  html:not(.whip-phone-layout) .main-header a.whip-header-user__btn::after {
    display: none !important;
    content: none !important;
    margin: 0 !important;
    border: 0 !important;
  }

  html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li > a:hover {
    background: rgba(250, 100, 24, 0.06);
    box-shadow: none;
    color: var(--auto-signal, #FA6418);
  }

  html:not(.whip-phone-layout) .main-header .whip-header-nav__btn:hover {
    background: transparent;
    color: var(--auto-signal, #FA6418);
  }

  html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li > a:hover .header-icon,
  html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li > a:hover .header-icon * {
    color: var(--auto-signal, #FA6418) !important;
    fill: var(--auto-signal, #FA6418) !important;
  }

  /* Orange notification / friends dots */
  html:not(.whip-phone-layout) .main-header .whip-header-notifications > a .counter:not(.x-hidden),
  html:not(.whip-phone-layout) .main-header .whip-header-friends > a .counter:not(.x-hidden),
  html:not(.whip-phone-layout) .main-header .js_live-requests > a .counter:not(.x-hidden) {
    background: var(--auto-signal, #FA6418) !important;
    min-width: 9px;
    width: 9px;
    height: 9px;
    padding: 0;
    font-size: 0;
    line-height: 0;
    top: 10px;
    right: 10px;
  }

  html:not(.whip-phone-layout) .main-header,
  html:not(.whip-phone-layout) .main-wrapper,
  html:not(.whip-phone-layout) .top-bar {
    padding-right: 0 !important;
  }

  html:not(.whip-phone-layout) .chat-sidebar {
    display: none !important;
  }

  /* Desktop friends in center nav */
  html:not(.whip-phone-layout) .main-header .whip-header-centernav .js_live-requests {
    display: list-item !important;
    position: relative;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-centernav .js_live-requests > a .counter:not(.x-hidden) {
    top: 14px;
    right: 10px;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-search-toggle {
    display: none !important;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-centernav .whip-header-nav__btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-nav__ico i {
    font-size: var(--whip-header-icon, 22px) !important;
    line-height: 1 !important;
    color: inherit !important;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-notifications {
    display: list-item !important;
  }
}

@media (max-width: 1199.98px) {
  .whip-header-menu__layout {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "social explore"
      "more garage"
      "create create";
  }

  .whip-header-menu__col--create {
    grid-column: auto;
  }

  .whip-garage-menu {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .whip-header-menu__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "social"
      "explore"
      "more"
      "garage"
      "create";
  }
}

.home-rail__ride--extra {
  padding-top: 2px;
}

.home-rail__ride--extra .home-rail__ride-photo {
  flex: 0 0 52px;
  width: 52px;
  height: 38px;
  border-radius: 8px;
}

.home-rail__ride--extra .home-rail__ride-meta em {
  display: none;
}

.home-rail__ride--add {
  opacity: 0.85;
}

.home-rail__ride--add .home-rail__ride-photo {
  flex: 0 0 36px;
  width: 36px;
  height: 28px;
  border-radius: 8px;
}

.home-rail__ride--add .home-rail__ride-meta strong {
  font-size: 12px;
  font-weight: 700;
}

.whip-create-page {
  width: 100%;
  max-width: none;
  padding-bottom: 2.5rem;
}

.whip-create-page .auto-sell__hero {
  flex: 0 0 auto;
}

.whip-create-page .auto-sell__wrap {
  padding-bottom: 0;
}

.whip-create-page__form .card {
  border-radius: 16px;
}

.whip-create-page__form .card-body {
  padding: 20px 24px 12px;
}

@media (min-width: 1200px) {
  .whip-create-page__form .card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 24px;
    align-content: start;
  }

  .whip-create-page__form .card-body > .form-group:has(textarea),
  .whip-create-page__form .card-body > .alert,
  .whip-create-page__form .card-body > .divider,
  .whip-create-page__form .card-body > .form-table-row,
  .whip-create-page__form .card-body > details,
  .whip-create-page__form .card-body > .whip-create-advanced {
    grid-column: 1 / -1;
  }
}

.whip-create-page__form .form-group {
  margin-bottom: 0.75rem;
}

.whip-create-page__form textarea.form-control {
  min-height: 72px;
}

.whip-create-page__form .card-footer {
  flex: 0 0 auto;
  background: #f7f2ea;
  border-top: 1px solid var(--auto-line);
  padding: 12px 20px;
}

body.night-mode .whip-create-page__form .card-footer {
  background: var(--card-bg, #1b2228);
}

.whip-create-page__form .card-footer .btn {
  min-width: 132px;
}

.whip-create-advanced > summary {
  font-weight: 700;
  color: var(--auto-steel);
  font-size: 0.86rem;
}


.whip-header-menu__rule {
  height: 1px;
  margin: 8px 4px;
  background: rgba(20, 22, 24, 0.1);
}

@media (max-width: 1199.98px) {
  .navbar-wrapper > ul > li.whip-header-menu {
    position: static;
    flex: 0 0 auto;
  }

  .whip-header-menu__btn {
    width: 42px;
    padding: 0 6px !important;
  }

  .whip-header-menu__panel.dropdown-menu {
    position: fixed !important;
    top: calc(var(--whip-header-h, 70px) + env(safe-area-inset-top, 0px)) !important;
    left: 8px !important;
    right: 8px !important;
    bottom: 12px !important;
    width: auto !important;
    max-width: none !important;
    max-height: none;
    margin-top: 0 !important;
    transform: none !important;
    z-index: 1055;
    padding: 12px;
  }

  .whip-header-menu__layout {
    grid-template-columns: 1fr;
  }

  .whip-header-menu__card,
  .whip-header-menu__create {
    max-height: none;
  }

  .whip-header-menu__head {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }

  .whip-header-menu__item {
    padding: 8px;
  }

  .whip-header-menu__create {
    margin-top: 4px;
  }
}

/* Tighter homepage feed */
html[data-page="index"] .whip-home-composer .publisher {
  background: #fff;
}

@media (min-width: 1200px) {
  /* Desktop feed: darker page outside, lighter shell inside border */
  html:not(.whip-phone-layout)[data-page="index"] body,
  html:not(.whip-phone-layout)[data-page="index"] {
    --whip-feed-page: #efeeea;
    --whip-feed-shell: #f6f3f3;
  }

  html:not(.whip-phone-layout)[data-page="index"] body:not(.night-mode) {
    background-color: var(--whip-feed-page) !important;
  }

  html:not(.whip-phone-layout)[data-page="index"] .main-wrapper {
    background: transparent !important;
  }

  html:not(.whip-phone-layout)[data-page="index"] .home-newsfeed > .row {
    background: var(--whip-feed-shell) !important;
    border: 1px solid rgba(20, 22, 24, 0.16) !important;
    border-radius: 18px;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.55) inset,
      0 4px 18px rgba(20, 22, 24, 0.1),
      0 0 0 1px rgba(20, 22, 24, 0.04);
    padding: 12px;
  }

  html:not(.whip-phone-layout)[data-page="index"] .home-newsfeed > .row > .home-nav-col {
    border-right: 0 !important;
    background: transparent !important;
  }

  html:not(.whip-phone-layout)[data-page="index"] .home-feed-primary,
  html:not(.whip-phone-layout)[data-page="index"] .home-feed-col,
  html:not(.whip-phone-layout)[data-page="index"] .home-mainbar,
  html:not(.whip-phone-layout)[data-page="index"] .home-sidebar-col {
    background: transparent !important;
  }

  html:not(.whip-phone-layout)[data-page="index"] .home-mainbar .post,
  html:not(.whip-phone-layout)[data-page="index"] .js_posts_stream .post {
    background: #fff !important;
    border: var(--auto-box-border) !important;
    border-radius: var(--auto-box-radius);
    box-shadow: var(--auto-glow);
    margin-bottom: 14px;
    overflow: hidden;
  }

  html:not(.whip-phone-layout)[data-page="index"] .home-mainbar .publisher,
  html:not(.whip-phone-layout)[data-page="index"] .home-mainbar > .card {
    border: var(--auto-box-border) !important;
    border-radius: var(--auto-box-radius);
    box-shadow: var(--auto-glow);
  }

  html:not(.whip-phone-layout)[data-page="index"] body.night-mode {
    --whip-feed-page: #15181c;
    --whip-feed-shell: #1c2025;
    background-color: var(--whip-feed-page) !important;
  }

  html:not(.whip-phone-layout)[data-page="index"] body.night-mode .home-newsfeed > .row {
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  }

  html:not(.whip-phone-layout)[data-page="index"] body.night-mode .home-mainbar .post,
  html:not(.whip-phone-layout)[data-page="index"] body.night-mode .js_posts_stream .post {
    background: var(--card-dark-color, #262d34) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
  }

  .home-mainbar .post {
    margin-bottom: 12px;
  }

  .home-mainbar .publisher,
  .home-mainbar > .card {
    margin-bottom: 12px;
  }

  .home-mainbar .post .post-body,
  .home-mainbar .post .post-header {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Desktop: other pages can collapse the left site nav (homepage stays locked open). */
@media (min-width: 1200px) {
  html.home-nav-collapsible.home-nav-collapsed .sg-offcanvas > .row,
  html.home-nav-collapsed .sg-offcanvas > .row {
    flex-wrap: nowrap;
  }

  html.home-nav-collapsible.home-nav-collapsed .sg-offcanvas > .row > .sg-offcanvas-sidebar,
  html.home-nav-collapsible.home-nav-collapsed .sg-offcanvas > .row > .home-nav-col,
  html.home-nav-collapsed .sg-offcanvas > .row > .sg-offcanvas-sidebar,
  html.home-nav-collapsed .sg-offcanvas > .row > .home-nav-col {
    display: none !important;
  }

  html.home-nav-collapsible.home-nav-collapsed .sg-offcanvas > .row > .sg-offcanvas-mainbar,
  html.home-nav-collapsible.home-nav-collapsed .sg-offcanvas > .row > [class*="col-md-8"],
  html.home-nav-collapsible.home-nav-collapsed .sg-offcanvas > .row > [class*="col-lg-8"],
  html.home-nav-collapsible.home-nav-collapsed .sg-offcanvas > .row > [class*="col-lg-9"],
  html.home-nav-collapsible.home-nav-collapsed .market-page-row > .market-main-col,
  html.home-nav-collapsed .sg-offcanvas > .row > .sg-offcanvas-mainbar,
  html.home-nav-collapsed .sg-offcanvas > .row > [class*="col-md-8"],
  html.home-nav-collapsed .sg-offcanvas > .row > [class*="col-lg-8"],
  html.home-nav-collapsed .sg-offcanvas > .row > [class*="col-lg-9"],
  html.home-nav-collapsed .market-page-row > .market-main-col {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .whip-stories-nav,
  .whip-nav-page-dock,
  .home-stories-card.is-nav-only {
    display: none !important;
  }
}

:root {
  --whip-header-h: 70px;
  --whip-subnav-h: 44px;
}

@media (min-width: 1200px) {
  :root {
    --whip-header-h: 72px;
  }
}

@media (max-width: 1199.98px) {
  :root {
    --whip-header-h: 52px;
  }
}

.whip-subnav {
  --whip-subnav-h: 44px;
  position: fixed;
  top: var(--whip-header-h, 70px);
  left: 0;
  right: 0;
  z-index: 1048;
  background:
    linear-gradient(180deg, var(--header-bg-color, #fbfaf7) 0%, var(--auto-paper, #efeeea) 100%);
  border-bottom: 1px solid rgba(20, 22, 24, 0.08);
  transform: none;
}

.whip-subnav::after {
  display: none;
}

body:has(.whip-subnav) {
  padding-top: calc(var(--whip-header-h, 70px) + var(--whip-subnav-h, 44px));
}

body.n_activated:has(.whip-subnav) .whip-subnav,
body.n_live:has(.whip-subnav) .whip-subnav {
  top: calc(50px + var(--whip-header-h, 70px));
}

body.n_activated:has(.whip-subnav),
body.n_live:has(.whip-subnav) {
  padding-top: calc(50px + var(--whip-header-h, 70px) + var(--whip-subnav-h, 44px));
}

.main-header {
  z-index: 1050;
}

html.sg-offcanvas-open .main-header,
html.sg-offcanvas-open .whip-subnav {
  position: fixed;
}

html.sg-offcanvas-open .whip-subnav {
  top: var(--whip-header-h, 70px);
}

html.sg-offcanvas-open body.n_activated .whip-subnav,
html.sg-offcanvas-open body.n_live .whip-subnav {
  top: calc(50px + var(--whip-header-h, 70px));
}

body.night-mode .whip-subnav {
  background:
    linear-gradient(180deg, var(--header-bg-color-dark, #262d34) 0%, var(--body-bg-color-dark, #1b1e22) 100%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.night-mode .whip-subnav::after {
  background: linear-gradient(to right, rgba(27, 30, 34, 0), var(--body-bg-color-dark, #1b1e22));
}

@media (min-width: 1200px) {
  :root {
    --whip-subnav-h: 0px;
  }

  .whip-subnav {
    display: none !important;
  }

  body:has(.whip-subnav) {
    padding-top: var(--whip-header-h, 60px);
  }

  body.n_activated:has(.whip-subnav),
  body.n_live:has(.whip-subnav) {
    padding-top: calc(50px + var(--whip-header-h, 60px));
  }
}

.whip-subnav__row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--whip-subnav-h);
  padding: 4px 0;
}

.whip-subnav__toggle {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: rgba(20, 22, 24, 0.06);
  color: inherit;
  box-shadow: none;
  cursor: pointer;
}

body:has(.sg-offcanvas-sidebar) .whip-subnav__toggle,
body:has(#whip-home-sidebar-source) .whip-subnav__toggle,
html.whip-has-page-sidebar .whip-subnav__toggle {
  display: flex !important;
}

html.whip-no-left-nav .whip-subnav__toggle {
  display: none !important;
}

.whip-subnav__toggle:hover,
.whip-subnav__toggle:focus {
  background: rgba(20, 22, 24, 0.1);
  outline: none;
}

html.sg-offcanvas-open .whip-subnav__toggle,
html.home-nav-collapsed .whip-subnav__toggle {
  background: rgba(250, 100, 24), 0.12);
  color: var(--auto-signal, #FA6418);
}

.whip-subnav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.whip-subnav__links::-webkit-scrollbar {
  display: none;
}

.whip-subnav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--auto-ink, #141618);
  text-decoration: none;
  white-space: nowrap;
}

.whip-subnav__link .main-icon,
.whip-subnav__link i {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  font-size: 12px;
  line-height: 1;
}

.whip-subnav__link .svg-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.whip-subnav__link:hover {
  background: rgba(20, 22, 24, 0.06);
  color: var(--auto-ink, #141618);
  text-decoration: none;
}

.whip-subnav__link.is-on,
.whip-subnav__link.is-active {
  background: rgba(250, 100, 24), 0.12);
  color: var(--auto-signal, #FA6418);
}

body.night-mode .whip-subnav__link {
  color: var(--body-color-dark, #c1d4e3);
}

body.night-mode .whip-subnav__toggle {
  background: rgba(255, 255, 255, 0.08);
}

body.night-mode .whip-subnav__link:hover {
  background: rgba(255, 255, 255, 0.08);
}

body.night-mode .whip-subnav__link.is-on,
body.night-mode .whip-subnav__link.is-active,
body.night-mode html.sg-offcanvas-open .whip-subnav__toggle,
body.night-mode html.home-nav-collapsed .whip-subnav__toggle {
  background: rgba(250, 100, 24), 0.22);
  color: #fff;
}

/* Sidebar hamburger sits in the subnav only when a left sidebar exists */
.whip-header-nav-slot,
.whip-nav-open,
.whip-nav-backdrop,
.whip-nav-page-dock {
  display: none;
}

.whip-nav-story {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 52px;
  margin: 0;
  padding: 4px 0 0;
  border: 0;
  background: none;
  color: inherit;
  box-shadow: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.whip-nav-story__face {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: var(--whip-story-tile-h, 196px);
  border-radius: 16px;
  background: rgba(20, 22, 24, 0.06);
  color: inherit;
  transition: background 0.15s ease, color 0.15s ease;
}

.whip-nav-story:hover .whip-nav-story__face,
.whip-nav-story:focus .whip-nav-story__face {
  background: rgba(20, 22, 24, 0.1);
  outline: none;
}

.whip-nav-story__name {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.15;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--auto-steel, #6e767f);
}

.whip-nav-page-dock .whip-nav-story,
.home-stories-card.is-nav-only .whip-nav-story {
  width: 44px;
  padding: 0;
}

.whip-nav-page-dock .whip-nav-story__face,
.home-stories-card.is-nav-only .whip-nav-story__face {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.whip-nav-page-dock .whip-nav-story__name,
.home-stories-card.is-nav-only .whip-nav-story__name {
  display: none;
}

@media (max-width: 1199.98px) {
  .main-header .menu-icon {
    display: none !important;
  }

  .main-header .whip-logo-wrapper,
  .main-header .whip-logo-wrapper--nav {
    position: relative;
    padding-left: 0 !important;
  }

  html:not(.whip-no-left-nav) .whip-stories-nav {
    display: flex;
  }

  html:not(.whip-no-left-nav) .whip-stories-nav .whip-nav-open,
  html:not(.whip-no-left-nav):not([data-page="index"]) .whip-nav-page-dock .whip-nav-open {
    display: flex !important;
  }

  html:not(.whip-no-left-nav):not([data-page="index"]) .whip-nav-page-dock {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1140px;
    margin: 10px auto 0;
    padding: 0 16px;
  }

  html[data-page="index"] .whip-nav-page-dock {
    display: none !important;
  }

  .home-stories-card:not(.is-nav-only) .home-stories-scroll {
    padding: var(--whip-story-reveal, 3px);
  }

  .home-stories-card:not(.is-nav-only) #stories.whip-stories-live {
    padding-top: 0;
    padding-left: 0;
    padding-bottom: 0;
  }

  html.sg-offcanvas-open .whip-nav-story__face {
    background: rgba(250, 100, 24), 0.12);
    color: var(--auto-signal);
  }

  .main-header {
    z-index: 1050;
  }

  .whip-nav-backdrop {
    display: none;
    position: fixed;
    top: calc(var(--whip-header-h, 70px) + var(--whip-subnav-h, 44px));
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1035;
    background: rgba(20, 22, 24, 0.45);
  }

  html.sg-offcanvas-open .whip-nav-backdrop {
    display: block !important;
  }

  html.sg-offcanvas-open,
  html.sg-offcanvas-open body {
    overflow: hidden;
  }

  .sg-offcanvas {
    overflow: visible;
  }

  .sg-offcanvas .sg-offcanvas-sidebar {
    display: block !important;
    position: fixed !important;
    top: calc(var(--whip-header-h, 70px) + var(--whip-subnav-h, 44px));
    left: 0 !important;
    width: min(340px, 88vw);
    max-width: 340px;
    height: calc(100vh - var(--whip-header-h, 70px) - var(--whip-subnav-h, 44px));
    z-index: 1040;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 12px 12px 28px;
    margin: 0;
    background: var(--body-bg-color, #f3efe8);
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform 0.22s ease, visibility 0.22s ease;
    box-shadow: none;
  }

  .sg-offcanvas .sg-offcanvas-sidebar::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .sg-offcanvas.active .sg-offcanvas-sidebar {
    transform: translateX(0);
    visibility: visible;
    z-index: 1049;
    box-shadow: 12px 0 32px rgba(20, 22, 24, 0.18);
  }

  body.night-mode .sg-offcanvas .sg-offcanvas-sidebar {
    background: var(--body-bg-color-dark, #1b1e22);
  }

  .sg-offcanvas .sg-offcanvas-mainbar,
  .sg-offcanvas.active .sg-offcanvas-mainbar,
  .sg-offcanvas > .row > .sg-offcanvas-mainbar {
    left: auto !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .whip-nav-open.d-none,
  html.whip-no-left-nav .whip-nav-open,
  html.whip-no-left-nav .whip-nav-backdrop,
  html.whip-no-left-nav .whip-stories-nav,
  html.whip-no-left-nav .whip-nav-page-dock,
  html.whip-no-left-nav .whip-header-nav-slot {
    display: none !important;
  }

  html.whip-no-left-nav .main-header .whip-logo-wrapper,
  html.whip-no-left-nav .main-header .whip-logo-wrapper--nav {
    padding-left: 0 !important;
  }

  body.night-mode .whip-nav-story__face {
    background: rgba(255, 255, 255, 0.08);
  }

  body.night-mode html.sg-offcanvas-open .whip-nav-story__face {
    background: rgba(250, 100, 24), 0.22);
  }
}

/* Desktop/tablet: left rail stays a real column, never an overlay drawer */
@media (min-width: 1200px) {
  .sg-offcanvas .sg-offcanvas-sidebar {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    visibility: visible;
    height: auto;
    max-height: none;
    box-shadow: none;
  }

  .sg-offcanvas .sg-offcanvas-mainbar,
  .sg-offcanvas.active .sg-offcanvas-mainbar {
    left: auto !important;
    position: relative;
  }
}

@media (min-width: 1200px) {
  html.home-nav-locked .main-header .whip-logo-wrapper,
  html.home-nav-locked .main-header .whip-logo-wrapper--nav {
    padding-left: 0 !important;
  }

  html.home-nav-locked .whip-header-nav-slot,
  html.whip-no-left-nav .whip-header-nav-slot,
  html.home-nav-locked .whip-stories-nav,
  html.home-nav-locked .whip-nav-page-dock {
    display: none !important;
  }

  html.home-nav-locked .whip-nav-open:not(.whip-subnav__toggle),
  .whip-nav-open:not(.whip-subnav__toggle) {
    display: none !important;
  }
}

.main-header .row {
  align-items: center;
  flex-wrap: nowrap;
}

.whip-header-brand {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 58%;
}

.whip-header-tools {
  flex: 1 1 auto;
  min-width: 0;
}

.whip-header-tools__row {
  flex-wrap: nowrap;
}

.whip-header-search {
  min-width: 0;
}

.whip-header-icons {
  min-width: 0;
  flex: 0 0 auto;
  width: auto;
}

.main-header .navbar-wrapper > ul {
  justify-content: flex-end;
  flex-wrap: nowrap;
  width: auto;
  margin-left: auto;
  gap: 0;
}

.main-header .navbar-wrapper > ul > li {
  flex: 0 0 auto !important;
  margin: 0;
}

.main-header .navbar-wrapper > ul > li > a {
  padding: 0 7px;
  min-width: 42px;
}

html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul {
  gap: 16px;
}

html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li > a {
  padding: 0;
  min-width: 38px;
}

.main-header .navbar-wrapper > ul > li.whip-header-notifications {
  display: block !important;
  flex: 0 0 auto;
}

@media (max-width: 1199.98px) {
  .main-header > .container,
  .main-header > .container-fluid {
    padding-left: 10px;
    padding-right: 8px;
  }

  .whip-header-brand {
    max-width: calc(100% - 220px);
  }

  .whip-header-tools,
  .whip-header-icons,
  .main-header .navbar-wrapper {
    width: auto;
    margin-left: auto;
  }

  .main-header .navbar-wrapper > ul > li {
    flex: 0 0 auto;
    margin: 0;
  }

  .main-header .navbar-wrapper > ul > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    margin-top: 0;
    padding: 0 6px;
    min-width: 40px;
    line-height: 1;
    overflow: visible;
  }

  .main-header .navbar-wrapper > ul > li.whip-header-notifications {
    order: 20;
  }

  .main-header .navbar-wrapper > ul > li.whip-page-sidebar-toggle {
    order: 21;
  }
}

.whip-header-menu__site-search {
  position: relative;
  margin-bottom: 12px;
}

.whip-header-menu__site-search .whip-header-menu__search {
  margin-bottom: 0;
}

.whip-header-menu__site-search .dropdown-search {
  position: static;
  display: none;
  width: 100%;
  margin-top: 8px;
  transform: none !important;
}

.marketplace-widget-loc {
  display: block;
  font-size: 12px;
  line-height: 1.3;
  margin-top: 2px;
}

@media (min-width: 1200px) {
  .market-page-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  .market-page-row > .market-main-col {
    flex: 1 1 auto;
    max-width: none;
    width: auto;
  }

  .market-page-row > .market-sidebar-col,
  .market-listing-row > .market-sidebar-col {
    display: none;
  }

  .market-listing-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    position: relative;
  }

  .market-listing-row > .market-listing-main {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }
}

/* Car auctions */
.ca-page {
  padding: 20px 0 50px;
}
.ca-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 18px;
}
.ca-hero__copy {
  min-width: 0;
  flex: 1 1 auto;
}
.ca-hero h1 {
  font-family: var(--auto-display);
  font-size: 42px;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
}
.ca-hero p {
  color: var(--auto-steel);
  margin: 0;
}
.ca-hero__list {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 52px;
  padding: 8px 10px;
  border-radius: 14px;
  background: var(--auto-ink);
  color: #fff !important;
  text-decoration: none;
  box-shadow: none;
}
.ca-hero__list i {
  font-size: 16px;
  line-height: 1;
}
.ca-hero__list span {
  font-family: var(--auto-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
.ca-hero__list:hover,
.ca-hero__list:focus {
  background: var(--auto-asphalt);
  color: #fff !important;
  text-decoration: none;
}
@media (max-width: 1199.98px) {
  .ca-hero {
    margin: 4px 0 12px;
  }
  .ca-hero h1 {
    font-size: 28px;
  }
}
.ca-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.ca-card {
  display: block;
  position: relative;
  background: #fff;
  border: 1px solid var(--auto-line);
  border-radius: 14px;
  overflow: hidden;
  color: inherit;
  box-shadow: none;
}
.ca-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.ca-card:hover {
  text-decoration: none;
}
.ca-card:hover .ca-card__link {
  text-decoration: none;
  color: inherit;
}
.ca-card.is-live {
  box-shadow: 0 0 0 2px #FA6418;
}
.ca-card__photo {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #1c1f23;
}
.ca-card__photo img,
.ca-gallery__main img,
.ca-gallery__thumbs img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.ca-card__empty {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
}
.ca-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #141618;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 999px;
}
.ca-badge--live {
  background: #FA6418;
  animation: ca-pulse 1.2s ease-in-out infinite;
}
.ca-badge--ended {
  background: #6e767f;
}
@keyframes ca-pulse {
  50% { opacity: 0.7; }
}
.ca-card__body {
  padding: 12px 14px 14px;
}
.ca-card__body h3 {
  font-size: 18px;
  margin: 0 0 4px;
}
.ca-card__meta,
.ca-card__time {
  color: var(--auto-steel);
  font-size: 13px;
}
.ca-card__bid {
  display: flex;
  justify-content: space-between;
  margin: 8px 0 4px;
}
.ca-live-banner {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #FA6418;
  color: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  margin: 10px 0 18px;
}
.ca-gallery,
.ca-bid-card {
  border-radius: 16px;
  overflow: hidden;
}
.ca-gallery__main {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #111;
}
.ca-gallery__thumbs {
  display: flex;
  gap: 6px;
  padding: 8px;
  overflow-x: auto;
}
.ca-gallery__thumbs button {
  position: relative;
  width: 72px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
}
.ca-detail__title {
  font-size: 30px;
  margin: 0 0 6px;
}
.ca-specs-toggle {
  margin-top: 18px;
}
.ca-specs-toggle > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #d8dde4;
  background: #f6f7f9;
  color: #2a3140;
  font-weight: 600;
  font-size: 14px;
  user-select: none;
}
.ca-specs-toggle > summary::-webkit-details-marker {
  display: none;
}
.ca-specs-toggle > summary::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent #5b6576;
}
.ca-specs-toggle[open] > summary::before {
  border-width: 7px 5px 0 5px;
  border-color: #5b6576 transparent transparent transparent;
}
.ca-specs-toggle .ca-specs-toggle__hide {
  display: none;
}
.ca-specs-toggle[open] .ca-specs-toggle__show {
  display: none;
}
.ca-specs-toggle[open] .ca-specs-toggle__hide {
  display: inline;
}
body.night-mode .ca-specs-toggle > summary {
  border-color: #2c3340;
  background: #1c212b;
  color: #e8edf4;
}
body.night-mode .ca-specs-toggle > summary::before {
  border-color: transparent transparent transparent #9aa3b2;
}
body.night-mode .ca-specs-toggle[open] > summary::before {
  border-color: #9aa3b2 transparent transparent transparent;
}
.ca-bid-card.is-live {
  border: 2px solid #FA6418;
}
.ca-bid-card__label {
  color: var(--auto-steel);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.ca-bid-card__amount {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
}
.ca-bid-card__clock {
  margin-top: 8px;
  font-weight: 700;
}
.ca-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.ca-seller {
  display: flex;
  gap: 10px;
  align-items: center;
}
.ca-seller img,
.ca-feed__row img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.ca-feed__row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(20, 22, 24, 0.08);
}
.ca-feed__row:last-child {
  border-bottom: 0;
}
.listing-editor {
  border: 1px solid rgba(20, 22, 24, 0.12);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.listing-editor .ql-toolbar.ql-snow {
  border: 0;
  border-bottom: 1px solid rgba(20, 22, 24, 0.1);
  background: #f6f5f2;
}
.listing-editor .ql-container.ql-snow {
  border: 0;
  min-height: 160px;
  font-size: 15px;
}
.listing-editor .ql-editor {
  min-height: 160px;
}
.listing-html p {
  margin: 0 0 10px;
}
.listing-html ul,
.listing-html ol {
  margin: 0 0 10px 1.2em;
}
.ca-detail__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.js_ca-watch.is-on,
.ca-card__watch.is-on {
  color: #FA6418;
}
.ca-card {
  position: relative;
}
.ca-card__watch {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 12px rgba(20, 22, 24, 0.12);
  color: #141618;
}
.ca-card__watch:hover {
  color: #FA6418;
}
.ca-gallery__main video,
.ca-gallery__main iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
  background: #111;
}
.ca-gallery__thumbs button.is-on {
  outline: 2px solid #FA6418;
}
.ca-gallery__play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #1c1f23;
  color: #fff;
}
.auto-sell__form .attachments[data-type="videos"] li.item {
  min-width: 120px;
  padding: 10px;
}
.ca-winner__hero {
  text-align: center;
  padding: 28px 16px 10px;
}
.ca-winner__badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #FA6418;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.ca-winner__kicker {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--auto-steel);
  margin: 0 0 6px;
}
.ca-winner__hero h1 {
  font-family: var(--auto-display);
  font-size: 36px;
  margin: 0 0 8px;
}
.ca-winner__lede {
  max-width: 640px;
  margin: 0 auto 22px;
  color: var(--auto-steel);
}
.ca-winner__card {
  border-radius: 16px;
}
.ca-winner__car {
  display: flex;
  gap: 16px;
  align-items: center;
}
.ca-winner__car img {
  width: 120px;
  height: 80px;
  object-fit: contain;
  object-position: center;
  background: #111;
  border-radius: 10px;
}
.ca-winner__car h2 {
  font-size: 22px;
  margin: 0 0 4px;
}
.ca-winner__pickup dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--auto-steel);
}
.ca-winner__pickup dd {
  margin: 0 0 12px;
}

.vg-vehicle-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}
.vg-vehicle-toolbar__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
}
.vg-vehicle-toolbar__name {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.vg-vehicle-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
.vg-vehicle-toolbar__actions .btn {
  min-height: 38px;
}
.vg-vehicle-info {
  min-width: 0;
}
.vg-vehicle-info__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.65rem;
  min-width: 0;
}
.vg-vehicle-info__title {
  font-family: var(--auto-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin: 0 0 0.4rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.vg-vehicle-info__title--inline {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vg-vehicle-info__head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
}
.vg-vehicle-info__badge {
  vertical-align: middle;
  font-size: 0.7em;
  margin-left: 0.4rem;
}
.vg-vehicle-info__meta {
  font-size: 1.1rem;
  color: var(--auto-asphalt, #4a4f55);
  margin-bottom: 0.7rem;
}
.vg-vehicle-info__detail {
  font-size: 1.02rem;
  color: var(--auto-asphalt, #4a4f55);
  margin-bottom: 0.5rem;
}
@media (max-width: 1199.98px) {
  .vg-vehicle-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .vg-vehicle-toolbar__actions {
    margin-left: 0;
  }
  .vg-vehicle-toolbar__actions .btn {
    flex: 1 1 calc(50% - 0.5rem);
    min-height: 44px;
  }
  .card-header.with-icon.vg-vehicle-toolbar {
    padding: 16px;
  }
  .vg-vehicle-info__title {
    font-size: 1.55rem;
  }
  .vehicle-garage-detail .d-flex.flex-wrap .btn {
    min-height: 40px;
  }
}

.vg-build {
  margin-top: 8px;
}
.vg-build__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 14px;
}
.vg-build__head--mods {
  margin-top: 28px;
}
.vg-build__title {
  font-family: var(--auto-display);
  letter-spacing: 0.02em;
}
.vg-specs {
  background: var(--auto-panel);
  border: 1px solid var(--auto-line);
  border-radius: 12px;
  padding: 16px;
}
.vg-specs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.vg-specs__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  padding: 14px 12px;
  border: 1px solid var(--auto-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  min-height: 96px;
}
.vg-specs__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(250, 100, 24, 0.12);
  color: #c94a0c;
  font-size: 0.85rem;
  margin: 0 auto 2px;
}
.vg-specs__label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--auto-steel);
  margin-bottom: 0;
  text-align: center;
}
.vg-specs__value {
  display: block;
  font-weight: 700;
  color: var(--auto-ink);
  line-height: 1.25;
  text-align: center;
}
.vg-specs__value--empty {
  font-weight: 400;
  color: var(--auto-steel);
}
.vg-specs__cost {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1f2328 0%, #2c3238 55%, #3a2a1c 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(20, 22, 24, 0.18);
}
.vg-specs__cost-badge {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  background: #FA6418;
  color: #fff;
  box-shadow: 0 6px 16px rgba(250, 100, 24, 0.35);
}
.vg-specs__cost-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.vg-specs__cost-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 700;
}
.vg-specs__cost-value {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.55rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.vg-specs__cost-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 4px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}
.vg-specs__dyno {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--auto-line);
}
.vg-mods {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.vg-mods__group {
  background: var(--auto-panel);
  border: 1px solid var(--auto-line);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 2px 10px rgba(20, 22, 24, 0.04);
}
.vg-mods__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.vg-mods__label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vg-mods__icon {
  color: var(--auto-signal);
  width: 1.1em;
  text-align: center;
}
.vg-mods__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(250, 100, 24), 0.12);
  color: var(--auto-signal);
  font-size: 11px;
  font-weight: 700;
}
.vg-mods__empty {
  margin: 0;
  color: var(--auto-steel);
  font-size: 13px;
}
.auto-vehicle-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.auto-vehicle-card__specs span {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(20, 22, 24, 0.06);
  color: var(--auto-asphalt);
  font-size: 11px;
}
.vg-mods__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.vg-mods__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-top: 1px solid var(--auto-line);
}
.vg-mods__item:first-child {
  border-top: 0;
  padding-top: 0;
}
.vg-mods__gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 0 0 auto;
  max-width: 148px;
}
.vg-mods__photo-btn {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
}
.vg-mods__photo {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.vg-mods__photo-count {
  position: absolute;
  right: 4px;
  bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(10, 12, 14, 0.78);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
.whip-mod-modal__head .modal-title,
.whip-garage-edit-modal__head .modal-title {
  display: flex;
  align-items: center;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
.whip-mod-modal__body .form-label,
.whip-garage-edit-modal__body .form-label {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--auto-steel, #6b7076);
}
.whip-mod-modal__photos {
  border: 1px dashed var(--auto-line, #d7d9dc);
  border-radius: 12px;
  padding: 10px;
  background: rgba(20, 22, 24, 0.02);
}
.whip-mod-modal__photos ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.whip-mod-modal__photos li.add,
.whip-mod-modal__photos li.item {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: #eceef0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.whip-mod-modal__photos li.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.whip-mod-modal__photos li.add {
  border: 1px dashed #b8bdc2;
  cursor: pointer;
  color: #6b7076;
}
.vg-mods__copy {
  flex: 1 1 auto;
  min-width: 0;
}
.vg-mods__actions {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}

.whip-pop-page .home-feed-col {
  max-width: none;
}
.whip-pop {
  max-width: 980px;
}
.whip-pop__hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.whip-pop__kicker {
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  color: var(--auto-steel);
}
.whip-pop h1 {
  margin: 0 0 8px;
  font-family: var(--auto-display);
  font-size: 36px;
  line-height: 1;
}
.whip-pop__lead {
  margin: 0;
  color: var(--auto-asphalt);
  max-width: 54ch;
}
.whip-pop__hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.whip-pop__badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.whip-pop__badge.is-on {
  background: #d9f0dd;
  color: #1b6b2c;
}
.whip-pop__badge.is-paused {
  background: #f8e8e1;
  color: #8a3b12;
}
.whip-pop__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.whip-pop__stat {
  background: var(--auto-panel);
  border: 1px solid var(--auto-line);
  border-radius: 12px;
  padding: 12px 14px;
}
.whip-pop__stat strong {
  display: block;
  font-size: 26px;
  font-family: var(--auto-display);
  line-height: 1;
}
.whip-pop__stat span {
  color: var(--auto-steel);
  font-size: 12px;
}
.whip-pop__note {
  margin-bottom: 16px;
}
.whip-pop__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.whip-pop__card {
  margin-bottom: 16px;
}
.whip-pop__check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 8px;
  font-size: 13px;
}
.whip-pop__check input {
  margin-top: 3px;
}
.whip-pop__btnrow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.whip-pop__preview {
  margin-top: 12px;
  padding: 12px;
  background: var(--auto-panel);
  border-radius: 10px;
}
.whip-pop__preview p {
  margin: 0 0 10px;
  font-size: 13px;
}
.whip-pop__preview p:last-child {
  margin-bottom: 0;
}
.whip-pop__person {
  display: flex;
  align-items: center;
  gap: 10px;
}
.whip-pop__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  background: #ddd;
}
.whip-pop__type {
  display: inline-block;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--auto-panel);
  border: 1px solid var(--auto-line);
  text-transform: lowercase;
}
.whip-pop__danger .btn {
  margin-right: 8px;
  margin-bottom: 8px;
}
.whip-pop__flash {
  position: sticky;
  bottom: 16px;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
}
.whip-pop__flash.is-ok {
  background: #d9f0dd;
  color: #1b6b2c;
}
.whip-pop__flash.is-err {
  background: #f8d7da;
  color: #842029;
}
@media (max-width: 1199.98px) {
  .whip-pop__stats,
  .whip-pop__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 1199.98px) {
  .whip-pop__hero {
    flex-direction: column;
  }
  .whip-pop__stats,
  .whip-pop__grid {
    grid-template-columns: 1fr;
  }
}

/* Messenger + story-reply typography (Figtree, same as --auto-body) */
.conversation-body,
.conversation-body .text,
.panel-messages textarea.js_post-message,
.chat-widget textarea.js_post-message,
.chat-story,
.chat-story__label {
  font-family: var(--auto-body);
}

.conversation-body .text {
  font-size: 15px;
  font-weight: 400;
}

/* Instagram-style story card inside chat */
.chat-story-wrap {
  clear: both;
  margin: 0 0 6px;
}

.conversation.right .chat-story-wrap {
  display: flex;
  justify-content: flex-end;
}

.chat-story {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  text-align: left;
  max-width: 148px;
}

.conversation.right .chat-story {
  align-items: flex-end;
  text-align: right;
}

.chat-story__frame {
  position: relative;
  display: block;
  width: 132px;
  height: 176px;
  border-radius: 16px;
  overflow: hidden;
  background: #141618;
  box-shadow: 0 0 0 2px rgba(250, 100, 24), 0.38);
}

.chat-story__media {
  display: block;
  width: 100%;
  height: 100%;
  background: #22262b center/cover no-repeat;
}

.chat-story__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  background: rgba(20, 22, 24, 0.55);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.85);
}

.chat-story__play::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 11px;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent #fff;
}

.chat-story__label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--auto-steel);
}

body.night-mode .chat-story__label {
  color: #c1d4e3;
}

body.night-mode .chat-story__frame {
  box-shadow: 0 0 0 2px rgba(250, 100, 24), 0.5);
}

.chat-story-wrap--gone {
  max-width: 240px;
}

.chat-story-gone {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--auto-paper, #efeeea);
  color: var(--auto-steel);
  font-family: var(--auto-body);
  font-size: 14px;
  line-height: 1.35;
}

.conversation.right .chat-story-wrap--gone {
  display: flex;
  justify-content: flex-end;
}

body.night-mode .chat-story-gone {
  background: var(--card-dark-color, #262d34);
  color: #9aa8b4;
}

@media (min-width: 1200px) {
  html[data-page="messages"] .panel-messages .chat-form-message {
    max-height: 132px;
    padding: 16px 18px;
    border-radius: 18px;
  }

  html[data-page="messages"] .panel-messages .chat-form-message textarea,
  html[data-page="messages"] .panel-messages .chat-form-message input[type="text"] {
    font-size: 21px;
    line-height: 1.45;
    min-height: 30px;
    height: auto;
  }

  html[data-page="messages"] .panel-messages .conversation-user {
    width: 58px;
    height: 58px;
  }

  html[data-page="messages"] .panel-messages .conversation-user img {
    width: 58px;
    height: 58px;
  }

  html[data-page="messages"] .panel-messages .conversation-body {
    max-width: calc(100% - 72px);
  }

  html[data-page="messages"] .panel-messages .conversation-body .text {
    font-size: 22px;
    line-height: 1.45;
    padding: 10px 14px;
  }

  html[data-page="messages"] .panel-messages .conversation-body .text a {
    font-size: inherit;
    text-underline-offset: 2px;
  }

  html[data-page="messages"] .panel-messages .conversation-body .text .twa {
    font-size: 1.35em;
  }

  html[data-page="messages"] .panel-messages .conversation-body .img-wrapper {
    max-width: 360px;
    width: 100%;
    border-radius: 18px;
  }

  html[data-page="messages"] .panel-messages .conversation-body .video-wrapper,
  html[data-page="messages"] .panel-messages .conversation-body video {
    max-width: 380px;
    width: 100%;
    border-radius: 18px;
  }

  html[data-page="messages"] .panel-messages .conversation-body audio.js_audio {
    min-width: 240px;
    width: 280px;
    max-width: 100%;
  }

  html[data-page="messages"] .panel-messages .chat-product {
    max-width: 340px;
    min-width: 300px;
  }

  html[data-page="messages"] .panel-messages .chat-listing-attach {
    max-width: 340px;
  }

  html[data-page="messages"] .panel-messages .chat-product-image {
    width: 100%;
    max-height: 280px;
    overflow: hidden;
  }

  html[data-page="messages"] .panel-messages .chat-product-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
  }

  html[data-page="messages"] .panel-messages .chat-product-title {
    font-size: 20px;
    white-space: normal;
  }

  html[data-page="messages"] .panel-messages .chat-product-price {
    font-size: 19px;
  }

  html[data-page="messages"] .panel-messages .chat-story {
    max-width: 188px;
  }

  html[data-page="messages"] .panel-messages .chat-story__frame {
    width: 168px;
    height: 224px;
  }

  html[data-page="messages"] .panel-messages .chat-story__label,
  html[data-page="messages"] .panel-messages .chat-story-gone {
    font-size: 16px;
  }

  html[data-page="messages"] .panel-messages .conversation-body .time,
  html[data-page="messages"] .panel-messages .conversation-body .seen,
  html[data-page="messages"] .panel-messages .conversation-body .translate {
    font-size: 14px;
  }

  html[data-page="messages"] .whip-messenger__threads .name {
    font-size: 19px;
  }

  html[data-page="messages"] .whip-messenger__threads .text {
    font-size: 15px;
  }

  html[data-page="messages"] .whip-msg-thread__name,
  html[data-page="messages"] .whip-msg-thread__name a {
    font-size: 22px;
  }
}

/* ---- Compact page toolbars (replaces Sngine hero headers) ---- */
.page-header:not(.bank-transfer) {
  background: none;
  color: inherit;
  text-align: start;
  padding: 16px 0 0;
  overflow: visible;
  z-index: auto;
}

@media (min-width: 1200px) {
  .page-header:not(.bank-transfer) {
    padding: 16px 0 0;
  }
}

.page-header.mini:not(.bank-transfer) {
  padding: 0;
}

.page-header:not(.bank-transfer) .circle-1,
.page-header:not(.bank-transfer) .circle-2,
.page-header:not(.bank-transfer) .circle-3,
.page-header:not(.bank-transfer) .floating-img {
  display: none !important;
}

.page-header:not(.bank-transfer) > .container,
.page-header:not(.bank-transfer) > .container-fluid,
.page-header:not(.bank-transfer) > .inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.2rem 1.25rem;
  align-items: center;
  background: var(--auto-panel);
  border: 1px solid var(--auto-line);
  border-left: 3px solid var(--auto-signal);
  border-radius: 10px;
  box-shadow: var(--auto-glow);
  padding: 12px 16px;
  z-index: auto;
}

.page-header:not(.bank-transfer) > .container,
.page-header:not(.bank-transfer) > .container-fluid,
.page-header:not(.bank-transfer):not(.mini) > .inner {
  width: calc(100% - var(--bs-gutter-x, 1.5rem));
  max-width: calc(1420px - var(--bs-gutter-x, 1.5rem));
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media (min-width: 1200px) {
  body:not(.auto-landing) .page-header:not(.bank-transfer) > .container,
  body:not(.auto-landing) .page-header:not(.bank-transfer) > .container-fluid,
  body:not(.auto-landing) .page-header:not(.bank-transfer):not(.mini) > .inner {
    width: calc(100% - var(--bs-gutter-x, 1.5rem));
    max-width: calc(1420px - var(--bs-gutter-x, 1.5rem));
  }
}

.page-header:not(.bank-transfer) h2 {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  font-family: var(--auto-body);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  word-spacing: 0.12em;
  font-kerning: normal;
  color: var(--auto-ink);
}

.page-header:not(.bank-transfer) > .container > p,
.page-header:not(.bank-transfer) > .container-fluid > p,
.page-header:not(.bank-transfer) > .inner > p,
.page-header:not(.bank-transfer) .text-xlg,
.page-header:not(.bank-transfer) .text-lg {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  font-family: var(--auto-body);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.01em;
  word-spacing: 0.14em;
  font-kerning: normal;
  color: var(--auto-steel);
}

.page-header:not(.bank-transfer) .row {
  grid-column: 1;
  grid-row: 3;
  width: 100%;
  margin-top: 0.55rem !important;
  --bs-gutter-x: 0;
}

.page-header:not(.bank-transfer) .row > [class*="col-"] {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (min-width: 1200px) {
  .page-header:not(.bank-transfer) > .container:has(.js_search-form),
  .page-header:not(.bank-transfer) > .container-fluid:has(.js_search-form) {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 26rem);
  }

  .page-header:not(.bank-transfer):has(.js_geocomplete) > .container,
  .page-header:not(.bank-transfer):has(.js_geocomplete) > .container-fluid {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 34rem);
  }

  .page-header:not(.bank-transfer) .row {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0 !important;
    align-self: center;
  }
}

.page-header:not(.bank-transfer) .input-group {
  width: 100%;
}

.market-page-search {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--auto-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--auto-glow);
}

.market-page-search__query,
.market-page-search__city {
  min-width: 0;
  width: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.market-page-search__query {
  min-height: 48px;
  padding: 12px 14px;
  font-size: 15px;
  border-bottom: 1px solid var(--auto-line) !important;
}

.market-page-search__locrow {
  display: flex;
  align-items: stretch;
  min-height: 44px;
}

.market-page-search__city {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 14px;
  border-right: 1px solid var(--auto-line) !important;
}

.market-page-search > .btn,
.market-page-search__locrow > .btn {
  flex: 0 0 auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  min-width: 88px;
  padding: 10px 16px;
}

@media (max-width: 1199.98px) {
  .market-page-search__query {
    min-height: 50px;
    font-size: 15px;
  }

  .market-page-search__city {
    font-size: 14px;
  }
}

@media (min-width: 1200px) {
  .page-header:not(.bank-transfer):has(.market-page-search) > .container,
  .page-header:not(.bank-transfer):has(.market-page-search) > .container-fluid {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 38rem);
    align-items: start;
  }
}

.page-header:not(.bank-transfer) .form-control,
.page-header:not(.bank-transfer) .btn {
  letter-spacing: 0.01em;
  word-spacing: 0.12em;
}

.page-header:not(.bank-transfer) .form-control {
  background: #fff;
  border-color: var(--auto-line);
  color: var(--auto-ink);
}

.page-header:not(.bank-transfer) .form-control::placeholder,
.page-header:not(.bank-transfer) .form-control::-webkit-input-placeholder {
  color: var(--auto-steel);
  letter-spacing: 0.01em;
  word-spacing: 0.14em;
  opacity: 1;
}

.page-header:not(.bank-transfer) .btn-light {
  background: var(--auto-signal);
  border-color: var(--auto-signal);
  color: #fff;
  font-weight: 600;
}

.page-header:not(.bank-transfer) .btn-light:hover,
.page-header:not(.bank-transfer) .btn-light:focus {
  background: var(--auto-signal-deep);
  border-color: var(--auto-signal-deep);
  color: #fff;
}

.page-header:not(.bank-transfer) + .container,
.page-header:not(.bank-transfer) + .container-fluid {
  margin-top: 12px !important;
}

body.night-mode .page-header:not(.bank-transfer) > .container,
body.night-mode .page-header:not(.bank-transfer) > .container-fluid,
body.night-mode .page-header:not(.bank-transfer) > .inner {
  background: var(--card-dark-color, #262d34);
  border-color: var(--card-dark-divider, #2e3f4d);
  border-left-color: var(--auto-signal);
}

body.night-mode .page-header:not(.bank-transfer) h2 {
  color: var(--body-color-dark, #c1d4e3);
}

body.night-mode .page-header:not(.bank-transfer) > .container > p,
body.night-mode .page-header:not(.bank-transfer) > .container-fluid > p,
body.night-mode .page-header:not(.bank-transfer) > .inner > p,
body.night-mode .page-header:not(.bank-transfer) .text-xlg,
body.night-mode .page-header:not(.bank-transfer) .text-lg {
  color: #9aa8b4;
}

body.night-mode .page-header:not(.bank-transfer) .form-control {
  background: var(--card-dark-input, #1e252b);
  color: var(--card-dark-input-color, #eaeaea);
  border-color: var(--card-dark-divider, #2e3f4d);
}

@media (min-width: 1200px) {
  html[data-page="market"] .page-header:not(.bank-transfer) h2 {
    font-size: 1.35rem;
    line-height: 1.2;
  }

  html[data-page="market"] .page-header:not(.bank-transfer) .text-xlg {
    font-size: 0.9rem;
    line-height: 1.35;
  }

  html[data-page="market"] .content-tabs.market-tabs.market-tabs--fit > ul > li > a {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 16px 20px;
    line-height: 1.2;
  }

  html[data-page="market"] .sg-offcanvas-sidebar .side-nav a,
  html[data-page="market"] .market-hub-sidebar__cat-list li a {
    font-size: 16px;
    line-height: 1.35;
  }

  .content-tabs.market-tabs.market-tabs--fit > ul > li > a > i.main-icon,
  .content-tabs.market-tabs.market-tabs--fit > ul > li > a > .svg-container.main-icon,
  .content-tabs.market-tabs.market-tabs--fit > ul > li > a > .main-icon.svg-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem !important;
    height: 2.35rem !important;
    margin-right: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 22, 24, 0.06);
    color: var(--auto-signal) !important;
    fill: var(--auto-signal) !important;
    font-size: 1.05rem !important;
  }

  .content-tabs.market-tabs.market-tabs--fit > ul > li > a > .svg-container.main-icon > i,
  .content-tabs.market-tabs.market-tabs--fit > ul > li > a > .main-icon.svg-container > i {
    font-size: 1.05rem !important;
    width: auto !important;
    height: auto !important;
    line-height: 1;
  }

  .content-tabs.market-tabs.market-tabs--fit > ul > li.active > a > i.main-icon,
  .content-tabs.market-tabs.market-tabs--fit > ul > li.active > a > .svg-container.main-icon,
  .content-tabs.market-tabs.market-tabs--fit > ul > li.active > a > .main-icon.svg-container {
    background: var(--auto-signal);
    border-color: var(--auto-signal);
    color: #fff !important;
    fill: #fff !important;
  }

  .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__sell > a > i.main-icon,
  .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__sell > a > .svg-container.main-icon,
  .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__sell > a > .main-icon.svg-container {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff !important;
    fill: #fff !important;
  }
}

/* White listing tabs: search sits in the tab bar */
.content-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.content-tabs > ul {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.content-tabs > .float-end,
.content-tabs > .mt10.float-end {
  float: none !important;
  margin-top: 0 !important;
  margin-left: 0;
  flex: 0 0 auto;
}

.listing-tabs-search {
  flex: 1 1 220px;
  max-width: 360px;
  min-width: 180px;
  margin-left: auto;
}

.listing-tabs-search__group {
  width: 100%;
  flex-wrap: nowrap;
  align-items: stretch;
}

.listing-tabs-search__group .form-control {
  background: #fff;
  border-color: var(--auto-line);
  color: var(--auto-ink);
  min-height: 42px;
  height: 42px;
  font-size: 12px;
}

.content-tabs > .mt10.float-end .btn-md,
.listing-tabs-search__btn.btn-md {
  min-height: 42px;
  height: 42px;
  padding: 0 1.85rem;
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.listing-tabs-search__btn {
  background: var(--auto-signal, #FA6418);
  border-color: var(--auto-signal, #FA6418);
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.listing-tabs-search__btn:hover,
.listing-tabs-search__btn:focus {
  background: var(--auto-signal-deep, #D45515);
  border-color: var(--auto-signal-deep, #D45515);
  color: #fff;
}

body.night-mode .listing-tabs-search__group .form-control {
  background: var(--card-dark-input, #1e252b);
  color: var(--card-dark-input-color, #eaeaea);
  border-color: var(--card-dark-divider, #2e3f4d);
}

@media (max-width: 1199.98px) {
  .listing-tabs-search {
    flex: 1 1 100%;
    max-width: none;
    margin-left: 0;
    order: 3;
    padding: 0 8px 10px;
  }
}

/* Magazine blogs layout (featured + rail) */
.whip-blogs-mag__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
  gap: 28px 32px;
  align-items: start;
  background: #fff;
  border: 1px solid rgba(20, 22, 24, 0.08);
  border-radius: 16px;
  padding: 20px;
}

.whip-blogs-mag__search {
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid rgba(20, 22, 24, 0.1);
  border-radius: 10px;
  background: var(--auto-panel, #f7f6f3);
}

.whip-blogs-mag__search .input-group {
  width: 100%;
}

.whip-blogs-mag__search .form-control {
  border-color: rgba(20, 22, 24, 0.12);
  background: #fff;
}

.whip-blogs-mag__item-text {
  margin: 0 0 8px;
  color: #5c636a;
  font-size: 13px;
  line-height: 1.4;
}

.whip-blogs-mag__feature-media {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #1a1c1e;
}

.whip-blogs-mag__feature-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.whip-blogs-mag__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  background: #fff;
  color: #141618;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(20, 22, 24, 0.12);
}

.whip-blogs-mag__tag i {
  color: #e11d2e;
  font-size: 8px;
}

.whip-blogs-mag__tag--sm {
  top: 8px;
  left: 8px;
  padding: 3px 7px;
  font-size: 10px;
}

.whip-blogs-mag__feature-body {
  padding-top: 14px;
}

.whip-blogs-mag__feature-title {
  margin: 0 0 10px;
  font-family: var(--auto-display, "Barlow Condensed", sans-serif);
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.whip-blogs-mag__feature-title a {
  color: #141618;
  text-decoration: none;
}

.whip-blogs-mag__feature-title a:hover {
  color: var(--auto-signal, #FA6418);
}

.whip-blogs-mag__feature-text {
  margin: 0 0 14px;
  color: #5c636a;
  font-size: 15px;
  line-height: 1.55;
}

.whip-blogs-mag__by {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a9198;
}

.whip-blogs-mag__rail {
  display: flex;
  flex-direction: column;
}

.whip-blogs-mag__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(20, 22, 24, 0.1);
  color: inherit;
  text-decoration: none;
}

.whip-blogs-mag__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.whip-blogs-mag__item-copy h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  color: #141618;
}

.whip-blogs-mag__item:hover .whip-blogs-mag__item-copy h3 {
  color: var(--auto-signal, #FA6418);
}

.whip-blogs-mag__item-thumb {
  position: relative;
  width: 118px;
  height: 78px;
  border-radius: 4px;
  overflow: hidden;
  background: #1a1c1e;
}

.whip-blogs-mag__item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 991.98px) {
  .whip-blogs-mag__layout {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 14px;
  }

  .whip-blogs-mag__item {
    grid-template-columns: minmax(0, 1fr) 96px;
  }

  .whip-blogs-mag__item-thumb {
    width: 96px;
    height: 64px;
  }
}

body.night-mode .whip-blogs-mag__layout {
  background: var(--card-dark-color, #262d34);
  border-color: var(--card-dark-divider, #2e3f4d);
}

body.night-mode .whip-blogs-mag__feature-title a,
body.night-mode .whip-blogs-mag__item-copy h3 {
  color: #e8eef4;
}

body.night-mode .whip-blogs-mag__feature-text,
body.night-mode .whip-blogs-mag__item-text {
  color: #9aa7b4;
}

body.night-mode .whip-blogs-mag__search {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

body.night-mode .whip-blogs-mag__search .form-control {
  background: var(--card-dark-input, #1e252b);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e8eef4;
}

.whip-blogs-mag__more {
  margin-top: 20px;
}

.whip-blogs-mag__more:empty {
  display: none;
}

body.night-mode .page-header:not(.bank-transfer) .form-control::placeholder,
body.night-mode .page-header:not(.bank-transfer) .form-control::-webkit-input-placeholder {
  color: #8a9aa8;
}

/* Whip Society reputation */
.whip-rep-rank {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.2;
  border: 1px solid transparent;
  box-shadow: 0 1px 0 rgba(20, 22, 24, 0.04);
  vertical-align: middle;
  white-space: nowrap;
  max-width: 100%;
}
.whip-rep-rank i {
  flex: 0 0 auto;
  font-size: 0.85em;
  line-height: 1;
}
.whip-rep-rank__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.whip-rep-rank--sm {
  padding: 2px 8px 2px 6px;
  font-size: 11px;
  gap: 5px;
}
.whip-rep-rank--new {
  background: #f3f1ec;
  color: #6b655c;
  border-color: #ddd6cb;
}
.whip-rep-rank--street {
  background: #e7f5ea;
  color: #1f7a3a;
  border-color: #b7e0c2;
}
.whip-rep-rank--gearhead {
  background: #e8f1fb;
  color: #1f5fad;
  border-color: #b7d0f0;
}
.whip-rep-rank--warrior {
  background: #FEE7DB;
  color: #B94A11;
  border-color: #F2B799;
}
.whip-rep-rank--veteran {
  background: linear-gradient(135deg, #FA7633, #FA6418);
  color: #fff;
  border-color: #D45515;
}
.whip-rep-rank--master {
  background: linear-gradient(135deg, #D45515, #B2450E);
  color: #fff;
  border-color: #9a3412;
}
.whip-rep-rank--expert {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  color: #fff;
  border-color: #4c1d95;
}
.whip-rep-rank--legend {
  background: linear-gradient(135deg, #f59e0b, #d97706 55%, #FA6418);
  color: #fff;
  border-color: #b45309;
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.25), 0 2px 8px rgba(217, 119, 6, 0.25);
}

.home-rail__who .whip-rep-rank {
  margin-left: 2px;
  transform: translateY(-1px);
}

.whip-rep-card {
  background: #fff;
  border: 1px solid #e6ddd2;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 1px 0 rgba(61, 52, 43, .04);
}
.whip-rep-card__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.whip-rep-card__kicker {
  font-size: 12px;
  color: #7a6f64;
  margin-bottom: 2px;
}
.whip-rep-card__name {
  font-size: 20px;
  font-weight: 800;
  color: #2b241d;
}
.whip-rep-card__title {
  margin-top: 6px;
  font-weight: 600;
  color: #3d342b;
}
.whip-rep-pill {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  background: #e8f3e8;
  color: #2d6a3a;
}
.whip-rep-card__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.whip-rep-card__stats li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: #5b5147;
}
.whip-rep-card__stats strong {
  color: #2b241d;
}
.whip-rep-card__stats small {
  color: #8a7f74;
  font-weight: 500;
}
.whip-rep-card__seller {
  margin-top: 12px;
  font-weight: 700;
  color: #2d6a3a;
}
.whip-rep-card__label {
  margin: 14px 0 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #7a6f64;
}
.whip-rep-card__tags,
.whip-rep-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.whip-rep-card__tags span,
.whip-rep-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--auto-panel);
  font-size: 12px;
  font-weight: 600;
}
.whip-rep-card__title-form {
  margin-top: 14px;
}
.whip-rep-card__title-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
}
.whip-rep-card__title-form select {
  width: 100%;
  border: 1px solid #e6ddd2;
  border-radius: 10px;
  padding: 8px 10px;
  background: #fff;
}
.whip-rep-card__more {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  color: var(--auto-signal);
}

.whip-rep-author {
  margin: 6px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.whip-rep-author__title,
.whip-rep-author__trust {
  font-size: 11px;
  font-weight: 700;
  color: #7a6f64;
}
.whip-rep-author__trust { color: #2d6a3a; }

.whip-rep-solved-banner {
  margin-top: 8px;
  font-weight: 700;
  color: #2d6a3a;
}
.whip-rep-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  align-items: center;
}
.whip-rep-btn {
  border: 1px solid #e6ddd2;
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #3d342b;
}
.whip-rep-btn.is-on,
.whip-rep-btn--solve.is-on {
  border-color: var(--auto-signal);
  background: var(--auto-signal-soft);
  color: var(--auto-signal-deep);
}
.whip-rep-btn--solve { color: #2d6a3a; }
.whip-rep-solution-flag {
  width: 100%;
  font-weight: 700;
  color: #2d6a3a;
}
.whip-rep-count { margin-left: 4px; }

.whip-rep-page__hero {
  background: var(--auto-panel);
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 16px;
}
.whip-rep-page__kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--auto-signal);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.whip-rep-page__hero h1 {
  margin: 0 0 8px;
  font-size: 28px;
}
.whip-rep-page__mine {
  margin-bottom: 16px;
  font-size: 15px;
}
.whip-rep-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.whip-rep-tabs a {
  border-radius: 999px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #e6ddd2;
  font-weight: 700;
  color: #3d342b;
}
.whip-rep-tabs a.is-on {
  background: var(--auto-signal);
  border-color: var(--auto-signal);
  color: #fff;
}
.whip-rep-grids {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.whip-rep-board,
.whip-rep-hof__card {
  background: #fff;
  border: 1px solid #e6ddd2;
  border-radius: 16px;
  padding: 16px;
}
.whip-rep-board h2,
.whip-rep-hof__card h2 {
  margin: 0 0 12px;
  font-size: 18px;
}
.whip-rep-board ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.whip-rep-board li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid #f0eae2;
}
.whip-rep-board li:first-child { border-top: 0; }
.whip-rep-feature__trophy {
  color: var(--auto-signal);
  margin-right: 6px;
  font-size: 15px;
}
.whip-rep-feature__post {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.whip-rep-feature__thumb {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 8px;
  object-fit: cover;
  background: #ece7df;
}
.whip-rep-feature__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.whip-rep-feature__copy strong {
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.whip-rep-feature__blurb,
.whip-rep-feature__copy small {
  font-size: 12px;
  line-height: 1.3;
  color: #7a6f64;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.whip-rep-person {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
}
.whip-rep-person img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.whip-rep-person span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.whip-rep-person small { color: #7a6f64; }
.whip-rep-hof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.whip-rep-hof__year {
  font-size: 12px;
  font-weight: 700;
  color: var(--auto-signal);
}

body.night-mode .whip-rep-card,
body.night-mode .whip-rep-board,
body.night-mode .whip-rep-hof__card,
body.night-mode .whip-rep-btn {
  background: var(--card-bg, #1b2228);
  border-color: var(--card-dark-divider, #2e3f4d);
  color: #eaeaea;
}
body.night-mode .whip-rep-card__name,
body.night-mode .whip-rep-card__stats strong { color: #f3f1ec; }
body.night-mode .whip-rep-page__hero { background: #243038; }
body.night-mode .whip-rep-feature__blurb,
body.night-mode .whip-rep-feature__copy small { color: #b8c2c8; }

/* Unicode reaction emojis (replace Sngine PNG / Font Awesome faces) */
.emoji {
  width: auto !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  position: static !important;
  transform: none !important;
  top: auto !important;
  right: auto !important;
  border-radius: 0;
  font-size: 22px;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.inline-emoji {
  width: auto !important;
  height: auto !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.inline-emoji .emoji {
  font-size: 18px;
}
.reactions_item {
  display: flex;
  align-items: center;
  justify-content: center;
}
.reactions_item .emoji,
.reactions-container .emoji {
  font-size: 28px;
}
.reaction-btn .reaction-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.reaction-btn .reaction-btn-icon .svg-container.action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.reaction-btn .reaction-btn-icon .inline-emoji {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 20px;
  line-height: 1;
}
.reactions-stats .emoji,
.data-reaction .emoji {
  font-size: 16px;
}
.reel-actions .action-btn .inline-emoji {
  width: auto !important;
  height: auto !important;
}
.reel-actions .action-btn .inline-emoji .emoji,
.reel-actions .action-btn .emoji {
  font-size: 28px;
}

/* Native Unicode emojis (picker, chat, comments, feelings) — replace Twemoji sprites */
.whip-emoji {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -0.12em;
}
.whip-emoji--lg {
  font-size: 1.35em;
}
.whip-emoji--2x {
  font-size: 28px;
}
.whip-emoji--3x {
  font-size: 36px;
}
.whip-emoji--picker,
.emoji-menu .js_emoji.whip-emoji {
  font-size: 28px;
  width: 34px;
  height: 34px;
}
.emoji-menu .item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.feeling-item .whip-emoji {
  font-size: 36px;
}
#feelings-data span .whip-emoji {
  margin-right: 6px;
  vertical-align: middle;
}
.post-text .whip-emoji,
.comment-text .whip-emoji,
.conversation-body .text .whip-emoji {
  font-size: 1.25em;
}
html[data-page="messages"] .panel-messages .conversation-body .text .whip-emoji {
  font-size: 1.35em;
}

/* Admin control panel: boxed, always-visible secondary links */
.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.admin-sidebar .admin-nav-find {
  position: sticky;
  top: 8px;
  z-index: 3;
  padding-bottom: 2px;
}
.admin-sidebar .admin-nav-find .form-control {
  border-radius: 12px;
  border: 1px solid #e2e6ee;
  font-size: 14px;
  padding: 10px 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.admin-nav-results {
  margin-top: 8px;
  max-height: 320px;
  overflow: auto;
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
  padding: 6px;
}
.admin-nav-results__empty {
  padding: 10px 12px;
  font-size: 13px;
  color: #667085;
}
.admin-nav-results__page,
.admin-nav-results__option {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none !important;
  color: #1d2939 !important;
}
.admin-nav-results__page {
  font-weight: 700;
  font-size: 13px;
  background: #f8f9fb;
  margin-top: 4px;
}
.admin-nav-results__page:first-child {
  margin-top: 0;
}
.admin-nav-results__cat {
  font-size: 11px;
  font-weight: 600;
  color: #667085;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.admin-nav-results__option {
  font-size: 12.5px;
  font-weight: 600;
  color: #344054 !important;
  padding-left: 18px;
}
.admin-nav-results__option::before {
  content: "↳";
  color: #98a2b3;
  margin-right: 6px;
}
.admin-nav-results__page:hover,
.admin-nav-results__option:hover {
  background: #fff7f3;
  color: var(--auto-signal) !important;
}
body.night-mode .admin-nav-results {
  background: #1b2228;
  border-color: var(--card-dark-divider, #2e3f4d);
}
body.night-mode .admin-nav-results__page {
  background: #161c21;
  color: #f3f1ec !important;
}
body.night-mode .admin-nav-results__option,
body.night-mode .admin-nav-results__empty,
body.night-mode .admin-nav-results__cat {
  color: #c5ccd3 !important;
}
.admin-sidebar .admin-nav-card {
  margin-bottom: 0 !important;
  border: 1px solid #e6e8ee;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.admin-sidebar .admin-nav-card .card-header.block-title {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: #667085;
  background: #f8f9fb;
  padding: 10px 14px;
  border-bottom: 1px solid #eef0f4;
}
.admin-sidebar .admin-nav-card .card-body.with-nav {
  padding: 10px;
}
.admin-sidebar .admin-side-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.admin-sidebar .admin-side-nav > li {
  margin: 0;
  list-style: none;
}
.admin-sidebar .admin-side-nav > li > a,
.admin-sidebar .admin-side-nav > li > .static {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e8eaef;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #1d2939 !important;
  line-height: 1.3;
}
.admin-sidebar .admin-side-nav > li > a:hover {
  border-color: var(--auto-signal);
  color: var(--auto-signal) !important;
  background: #fffaf7;
}
.admin-sidebar .admin-side-nav > li.active > a {
  background: var(--auto-signal);
  border-color: var(--auto-signal);
  color: #fff !important;
  border-radius: 10px;
}
.admin-sidebar .admin-side-nav > li.active > a i {
  color: #fff !important;
}
.admin-nav-box {
  background: #f6f7f9;
  border: 1px solid #e6e8ee;
  border-radius: 12px;
  padding: 10px;
}
.admin-nav-box.is-active {
  border-color: #f0c9b8;
  background: #fff7f3;
}
.admin-nav-box__head {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #101828;
  margin: 0 0 8px;
  padding: 0 2px;
}
.admin-nav-box__head i {
  margin-right: 8px;
}
.admin-nav-box__links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.admin-nav-box__links > li {
  margin: 0;
}
.admin-sidebar .admin-nav-box__links a,
.admin-sidebar .side-nav .admin-nav-box__links a {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 0 !important;
  background: #fff;
  border: 1px solid #e8eaef;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: #344054 !important;
  line-height: 1.3;
}
.admin-sidebar .admin-nav-box__links a:hover {
  border-color: var(--auto-signal);
  color: var(--auto-signal) !important;
  background: #fff;
}
.admin-sidebar .admin-nav-box__links > li.active > a {
  background: var(--auto-signal);
  border-color: var(--auto-signal);
  color: #fff !important;
}
.admin-sidebar .admin-nav-box__links > li.active > a i {
  color: #fff !important;
}
.admin-sidebar .admin-nav-box__links .badge {
  margin-left: auto;
}
.admin-sidebar .admin-nav-card.is-nav-hidden,
.admin-sidebar .card.is-nav-hidden {
  display: none;
}
.admin-sidebar .admin-side-nav > li.is-nav-hidden,
.admin-sidebar .admin-nav-box__links > li.is-nav-hidden {
  display: none;
}

body.night-mode .admin-sidebar .admin-nav-card {
  background: var(--card-bg, #1b2228);
  border-color: var(--card-dark-divider, #2e3f4d);
}
body.night-mode .admin-sidebar .admin-nav-card .card-header.block-title {
  background: #161c21;
  color: #9aa4ae;
  border-bottom-color: var(--card-dark-divider, #2e3f4d);
}
body.night-mode .admin-sidebar .admin-nav-find .form-control,
body.night-mode .admin-sidebar .admin-side-nav > li > a,
body.night-mode .admin-sidebar .admin-side-nav > li > .static,
body.night-mode .admin-sidebar .admin-nav-box__links a {
  background: #1b2228;
  border-color: var(--card-dark-divider, #2e3f4d);
  color: #eaeaea !important;
}
body.night-mode .admin-nav-box {
  background: #161c21;
  border-color: var(--card-dark-divider, #2e3f4d);
}
body.night-mode .admin-nav-box.is-active {
  background: #2a1d18;
  border-color: var(--auto-signal);
}
body.night-mode .admin-nav-box__head {
  color: #f3f1ec;
}
body.night-mode .admin-sidebar .admin-side-nav > li.active > a,
body.night-mode .admin-sidebar .admin-nav-box__links > li.active > a {
  background: var(--auto-signal);
  color: #fff !important;
}

/* Garage vehicle photo grid — compact so 12 photos fit */
.js_vehicle-photos-grid .x-image.js_vehicle-photo,
.js_vehicle-photos-grid .x-image.js_vehicle-photo-add {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

.js_vehicle-photos-grid .x-image:before {
  pointer-events: none;
}

.js_vehicle-photos-grid .js_vehicle-photo.is-cover {
  outline: 2px solid var(--auto-signal);
  outline-offset: 0;
}

.js_vehicle-photos-grid .vehicle-cover-badge {
  position: absolute;
  left: 4px;
  bottom: 4px;
  z-index: 2;
  pointer-events: none;
  font-size: 10px;
  padding: 2px 5px;
}

.js_vehicle-photos-grid .js_vehicle-photo .btn-close {
  top: 3px;
  right: 3px;
  z-index: 4;
  width: 0.95rem;
  height: 0.95rem;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  opacity: 1;
}

.js_vehicle-photos-grid .js_vehicle-photo:not(.js_vehicle-photo-add) .x-uploader {
  top: auto;
  left: auto;
  right: 4px;
  bottom: 4px;
  width: 24px;
  height: 24px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 22, 24, 0.62);
  border-radius: 50%;
  color: #fff;
  z-index: 3;
  overflow: hidden;
}

.js_vehicle-photos-grid .js_vehicle-photo:not(.js_vehicle-photo-add) .x-uploader input[type="file"] {
  font-size: 16px;
  min-width: 100%;
  min-height: 100%;
}

.js_vehicle-photos-grid .js_vehicle-photo:not(.js_vehicle-photo-add) .x-uploader i {
  color: #fff;
  font-size: 11px;
}

.js_vehicle-photos-grid .js_vehicle-photo-add {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(20, 22, 24, 0.22);
  background: rgba(244, 240, 233, 0.7);
}

.js_vehicle-photos-grid .js_vehicle-photo-add .x-uploader {
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.js_vehicle-photos-grid .js_vehicle-photo-add .x-uploader i {
  color: var(--auto-steel);
  font-size: 1.1rem;
}

.js_vehicle-photos-grid .x-image.full .x-image-loader,
.js_vehicle-photos-grid .x-image-loader {
  padding-top: 0;
}

/* Mobile comments: text uses the full field, tools sit under it */
@media (max-width: 1199.98px) {
  .post-comments .js_comment-form.comment {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding-bottom: 8px;
  }

  .post-comments .js_comment-form .comment-avatar {
    float: none;
    flex: 0 0 36px;
    width: 36px;
  }

  .post-comments .js_comment-form .comment-avatar-picture {
    min-width: 36px;
    min-height: 36px;
  }

  .post-comments .js_comment-form .comment-data {
    margin-left: 0;
    flex: 1 1 auto;
    min-width: 0;
  }

  .comment-form {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 0 0 1px rgba(20, 22, 24, 0.08);
    overflow: visible;
  }

  .comment-form textarea {
    width: 100%;
    padding: 10px 12px 4px;
    height: auto;
    min-height: 40px;
    line-height: 1.4;
    font-size: 16px;
    background: transparent;
    border-radius: 0;
  }

  .comment-form .x-form-tools {
    position: relative;
    bottom: auto;
    right: auto;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 6px 6px 8px;
    margin: 0;
  }

  .comment-form .x-form-tools > li {
    float: none;
    margin: 0 2px 0 0;
  }

  .comment-form .x-form-tools-post {
    order: 5;
    margin-left: auto;
  }

  .comment-form .x-form-tools-attach {
    overflow: hidden;
  }

  .comment-form .x-form-tools-attach input[type="file"] {
    font-size: 18px;
  }

  .js_reply-form .comment-form {
    margin-top: 6px;
  }

  body.night-mode .comment-form {
    background: var(--card-dark-input);
    box-shadow: 0 0 0 1px var(--card-dark-divider);
  }

  body.night-mode .comment-form textarea {
    background: transparent;
  }
}

/* Search: recents + "X new" post counts */
.whip-search-new {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  color: var(--auto-signal);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.whip-search-new__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--auto-signal);
  flex: 0 0 8px;
}

.whip-search-aside {
  display: flex;
  align-items: center;
  gap: 8px;
}

.whip-search-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #d9d4cc center / cover no-repeat;
  display: inline-block;
}

.whip-search-remove {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--auto-steel);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.whip-search-remove:hover {
  background: rgba(20, 22, 24, 0.08);
  color: var(--auto-ink);
}

.whip-search-clock-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e4e6eb;
  color: #65676b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
}

.whip-search-clock-avatar i {
  font-size: 18px;
}

.dropdown-search .whip-search-list .feeds-item,
.whip-search-recent-card .whip-search-list .feeds-item {
  padding: 8px 12px;
}

.dropdown-search .data-container.small,
.dropdown-search .data-container {
  align-items: center;
}

@media (min-width: 1200px) {
  .dropdown-widget.dropdown-search {
    min-width: 420px !important;
  }
}

body.night-mode .whip-search-remove:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #eee;
}

body.night-mode .whip-search-clock-avatar {
  background: rgba(255, 255, 255, 0.12);
  color: #c8c8c8;
}

@media (max-width: 1199.98px) {
  .home-rail__apps {
    display: none !important;
  }

  .home-rail__card:has(> .home-rail__apps):not(:has(> .home-rail__list--apps)) > .home-rail__label {
    display: none;
  }
}

.pge-cats-col {
  position: relative;
}

.pge-cats-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin: 0 0 10px;
  padding: 8px 10px;
  border: 1px solid var(--auto-line, rgba(20, 22, 24, 0.12));
  border-radius: 12px;
  background: var(--header-bg-color, #fff);
  color: var(--auto-ink, #141618);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.pge-cats-toggle:hover,
.pge-cats-toggle:focus {
  color: var(--auto-signal, #FA6418);
  outline: none;
}

.pge-cats-toggle .fa-tags {
  font-size: 15px;
}

.pge-cats-list .pge-cats-sub {
  list-style: none;
  margin: 0;
  padding: 0 0 4px 14px;
}

.pge-cats-list .pge-cats-sub a {
  font-weight: 500;
  font-size: 13px;
}

html:not(.pge-cats-collapsed) .pge-cats-toggle,
html.sg-offcanvas-open .pge-cats-toggle {
  background: rgba(250, 100, 24), 0.12);
  color: var(--auto-signal, #FA6418);
}

body.night-mode .pge-cats-toggle {
  background: var(--card-dark-color, #262d34);
  border-color: var(--card-dark-divider, #2e3f4d);
  color: var(--body-color-dark, #c1d4e3);
}

@media (min-width: 1200px) {
  html.pge-cats-collapsed .pge-cats-col {
    flex: 0 0 48px;
    max-width: 48px;
    width: 48px;
    padding-left: 8px;
    padding-right: 0;
  }

  html.pge-cats-collapsed .pge-cats-body {
    display: none;
  }

  html.pge-cats-collapsed .pge-cats-toggle {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    margin-bottom: 0;
  }

  html.pge-cats-collapsed .pge-cats-toggle span {
    display: none;
  }

  html.pge-cats-collapsed .pge-cats-col ~ .sg-offcanvas-mainbar {
    flex: 1 1 auto;
    max-width: calc(100% - 48px);
    width: auto;
  }
}

@media (max-width: 1199.98px) {
  .pge-cats-toggle span {
    display: inline;
  }
}

/* Mobile bottom tab bar */
@media (max-width: 1199.98px) {
  .footer-bottom-bar {
    background: var(--auto-panel);
    border-top: 1px solid var(--auto-line);
    box-shadow: none;
    height: auto;
    min-height: 70px;
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
    overflow: visible;
  }

  .footer-bottom-bar > .container {
    max-width: none;
    padding-left: 6px;
    padding-right: 6px;
  }

  .footer-bottom-bar-links {
    gap: 4px;
    align-items: flex-end;
  }

  .footer-bottom-bar-links > .link {
    height: auto;
    min-width: 0;
  }

  .footer-bottom-bar-links > .link > a,
  .footer-bottom-bar .user-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    min-height: 58px;
    padding: 6px 2px 4px;
    margin: 0;
    border-radius: 14px;
    color: var(--auto-ink);
  }

  .footer-bottom-bar-links > .link > a:hover,
  .footer-bottom-bar .user-menu:hover {
    background: var(--auto-signal-soft);
  }

  .footer-bottom-bar .header-icon {
    width: 34px !important;
    height: 34px !important;
    font-size: 15px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--auto-signal-soft);
    color: var(--auto-signal) !important;
    fill: var(--auto-signal) !important;
    margin: 0;
  }

  .footer-bottom-bar .header-icon *,
  .footer-bottom-bar .header-icon i {
    color: inherit !important;
    fill: inherit !important;
  }

  .footer-bottom-bar-links .link > a > .title,
  .footer-bottom-bar .user-menu > .title {
    font-family: var(--auto-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.15;
    color: var(--auto-ink);
  }

  .footer-bottom-bar-links > .link.active > a {
    background: transparent;
  }

  .footer-bottom-bar-links > .link.active > a .header-icon {
    background: var(--auto-signal);
    color: #fff !important;
    fill: #fff !important;
    box-shadow: none;
  }

  .footer-bottom-bar-links > .link.active > a .header-icon,
  .footer-bottom-bar-links > .link.active > a .header-icon *,
  .footer-bottom-bar-links > .link.active > a .header-icon i {
    color: #fff !important;
    fill: #fff !important;
  }

  .footer-bottom-bar-links > .link.active > a > .title {
    color: var(--auto-signal);
    font-weight: 800;
  }

  .footer-bottom-bar__add > a {
    padding-top: 6px;
  }

  .footer-bottom-bar__add > a .header-icon {
    width: 34px !important;
    height: 34px !important;
    font-size: 15px !important;
    border-radius: 11px;
    margin-top: 0;
    background: var(--auto-signal-soft);
    color: var(--auto-signal) !important;
    fill: var(--auto-signal) !important;
    box-shadow: none;
  }

  .footer-bottom-bar__add > a .header-icon,
  .footer-bottom-bar__add > a .header-icon *,
  .footer-bottom-bar__add > a .header-icon i {
    color: var(--auto-signal) !important;
    fill: var(--auto-signal) !important;
  }

  .footer-bottom-bar__add > a > .title {
    color: var(--auto-ink);
    font-weight: 700;
  }

  .footer-bottom-bar .user-menu img {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    border: 2px solid var(--auto-signal-soft);
    object-fit: cover;
    margin: 2px 0 0;
  }

  .footer-quick-adds .add-quick-item {
    background: var(--auto-panel);
    border: 1px solid var(--auto-line);
    color: var(--auto-ink);
  }

  .footer-quick-adds .add-quick-item:hover {
    background: var(--auto-signal-soft);
    color: var(--auto-signal);
  }
}

body.night-mode .footer-bottom-bar {
  background: var(--card-dark-color, #262d34);
  border-top-color: var(--card-dark-divider, #2e3f4d);
}

body.night-mode .footer-bottom-bar-links .link > a > .title,
body.night-mode .footer-bottom-bar .user-menu > .title {
  color: var(--body-color-dark, #c1d4e3);
}

body.night-mode .footer-bottom-bar-links > .link.active > a > .title,
body.night-mode .footer-bottom-bar__add > a > .title {
  color: #fff;
}

body.night-mode .market-page-search {
  background: var(--card-dark-color, #262d34);
  border-color: var(--card-dark-divider, #2e3f4d);
}

/* Homepage composer docks under stories on phone/tablet */
.whip-home-composer-dock {
  display: none;
}

@media (max-width: 1199.98px) {
  html[data-page="index"] .whip-home-composer-dock:not([hidden]) {
    display: block;
    position: relative;
    z-index: 1;
    background: transparent;
    border-bottom: 0;
    margin: 0 0 10px;
    padding: 0;
  }

  body:has(.whip-home-composer.is-docked) .home-newsfeed {
    margin-top: 8px !important;
  }

  .whip-home-composer.is-docked {
    margin: 0;
  }

  .whip-home-composer.is-docked .publisher {
    margin: 0;
    border: 1px solid rgba(20, 22, 24, 0.2) !important;
    border-bottom: 1px solid rgba(20, 22, 24, 0.28) !important;
    border-radius: 10px;
    box-shadow: none;
    background: #fff;
  }

  .whip-home-composer.is-docked .publisher-message {
    padding: 8px 10px 8px 54px;
  }

  .publisher .colored-text-wrapper {
    border: 1px solid rgba(20, 22, 24, 0.22) !important;
    border-radius: 8px;
    background: #fff;
  }

  .publisher .colored-text-wrapper .ql-editor {
    padding: 8px 10px !important;
  }

  .whip-home-composer.is-docked .publisher-avatar {
    width: 30px;
    height: 30px;
    top: 10px;
    left: 12px;
  }

  .whip-home-composer.is-docked .quill-editor,
  .whip-home-composer.is-docked .ql-editor {
    min-height: 22px;
    font-size: 15px;
    line-height: 1.35;
    background: transparent;
  }

  .whip-home-composer.is-docked .publisher-slider {
    display: none;
  }

  body.publisher-focus .whip-home-composer.is-docked .publisher-slider {
    display: block;
    background: #fff;
  }

  body.night-mode .whip-home-composer-dock:not([hidden]),
  body.night-mode .whip-home-composer.is-docked .publisher,
  body.night-mode.publisher-focus .whip-home-composer.is-docked .publisher-slider {
    background: var(--body-bg-color-dark, #1b1e22);
  }
}

.publisher .colored-text-wrapper {
  border: 1px solid rgba(20, 22, 24, 0.22) !important;
  border-radius: 8px;
  background: #fff;
}

.publisher .colored-text-wrapper .ql-editor {
  padding: 8px 10px !important;
}

.publisher .colored-text-wrapper .ql-editor.ql-blank::before {
  left: 10px !important;
  right: 10px !important;
}

body.night-mode .publisher .colored-text-wrapper {
  background: var(--card-dark-input, #1e252b);
  border-color: rgba(255, 255, 255, 0.16) !important;
}

/* Full-screen Reels (keep Sngine swipe/comments, Facebook-like chrome) */
html[data-page="reels"],
html[data-page="reels"] body {
  padding-top: 0 !important;
  overflow: hidden;
  background: #000;
}

html[data-page="reels"] .main-header,
html[data-page="reels"] .whip-subnav,
html[data-page="reels"] .whip-home-composer-dock,
html[data-page="reels"] .whip-nav-backdrop,
html[data-page="reels"] .footer-bottom-bar,
html[data-page="reels"] [class*="footer-bottom-bar"],
html[data-page="reels"] .footer,
html[data-page="reels"] .footer-mini,
html[data-page="reels"] .chat-sidebar,
html[data-page="reels"] .chat-widget,
html[data-page="reels"] .ads-master,
html[data-page="reels"] .sg-offcanvas > .row > .sg-offcanvas-sidebar {
  display: none !important;
}

html[data-page="reels"] .main-wrapper,
html[data-page="reels"] .sg-offcanvas,
html[data-page="reels"] .sg-offcanvas-mainbar,
html[data-page="reels"] .sg-offcanvas > .row {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

html[data-page="reels"] .reels-wrapper {
  position: fixed;
  inset: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2000;
  background: #000;
}

html[data-page="reels"] .reel-container {
  padding-top: 0;
  padding-bottom: 0;
}

html[data-page="reels"] .reel-video-wrapper .reel-video-container {
  max-width: none;
  width: 100%;
  height: 100%;
}

html[data-page="reels"] .reel-video-wrapper .reel-video-container .plyr,
html[data-page="reels"] .reel-video-wrapper .reel-video-container .plyr--video {
  height: 100dvh !important;
  width: 100% !important;
  background: #000;
}

html[data-page="reels"] .reel-video-wrapper .reel-video-container .plyr video,
html[data-page="reels"] .reel-video-wrapper .reel-video-container video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

html[data-page="reels"] .reel-video-wrapper .reel-video-container .plyr__controls {
  top: calc(12px + env(safe-area-inset-top, 0px));
  right: 56px;
  left: auto;
  bottom: auto;
  width: auto;
  background: transparent;
  padding: 0;
}

html[data-page="reels"] .reel-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 100%);
  pointer-events: none;
}

html[data-page="reels"] .reel-top a,
html[data-page="reels"] .reel-top button {
  pointer-events: auto;
}

html[data-page="reels"] .reel-top__back,
html[data-page="reels"] .reel-top__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
}

html[data-page="reels"] .reel-top__brand {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
}

html[data-page="reels"] .reel-top__title {
  flex: 0 0 auto;
  font-family: var(--auto-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

html[data-page="reels"] .reel-top__tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

html[data-page="reels"] .reel-top__me {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 0 2px #fff;
}

html[data-page="reels"] .reel-video-wrapper .reel-video-container .video-caption-overlay {
  top: auto;
  height: 38%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.58));
}

html[data-page="reels"] .reel-user {
  position: absolute;
  left: 14px;
  right: 86px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

html[data-page="reels"] .reel-user__row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

html[data-page="reels"] .reel-user__who {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

html[data-page="reels"] .reel-user__caption {
  width: 100%;
  max-width: 100%;
}

html[data-page="reels"] .reel-user__caption-text {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
}

html[data-page="reels"] .reel-user__caption-text a {
  color: #fff !important;
  text-decoration: underline;
}

html[data-page="reels"] .reel-user__caption.is-open .reel-user__caption-text {
  display: block;
  -webkit-line-clamp: unset;
  max-height: 36vh;
  overflow-y: auto;
}

html[data-page="reels"] .reel-user__more {
  display: inline;
  margin-top: 2px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

html[data-page="reels"] .reel-user__avatar {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 0 2px #fff;
}

html[data-page="reels"] .reel-user__name {
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  max-width: 46vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-page="reels"] .reel-user__follow {
  flex: 0 0 auto;
  margin-left: 4px;
  padding: 5px 12px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

html[data-page="reels"] .reel-user__follow.js_unfollow {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

html[data-page="reels"] .reel-video-wrapper .reel-video-container .video-controlls {
  right: 10px;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
}

html[data-page="reels"] .reel-actions {
  gap: 14px;
}

html[data-page="reels"] .reel-actions .action-btn {
  background: transparent;
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

html[data-page="reels"] .reel-actions .action-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

html[data-page="reels"] .reel-action-btn span {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

html[data-page="reels"] .reel-more-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

html[data-page="reels"] .reel-container.comments-shown .reel-video-wrapper {
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: none !important;
}

html[data-page="reels"] .reel-container.comments-shown .reel-video-wrapper .plyr,
html[data-page="reels"] .reel-container.comments-shown .reel-video-wrapper video {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 1 !important;
}

html[data-page="reels"] .reel-container.comments-shown .plyr__control--overlaid {
  display: none !important;
}

html[data-page="reels"] .reel-comments-wrapper {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 40;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
  pointer-events: none;
}

html[data-page="reels"] .reel-container.comments-shown .reel-comments-wrapper {
  display: block;
}

html[data-page="reels"] .reel-comments__backdrop,
html[data-page="reels"] .reel-comments__sheet {
  pointer-events: auto;
}

html[data-page="reels"] .reel-comments__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(10, 12, 14, 0.45);
}

html[data-page="reels"] .reel-comments__sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: fit-content;
  max-height: min(68vh, 560px);
  background: #fff;
  color: #111;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.28);
}

@media (min-width: 1200px) {
  html[data-page="reels"] .reel-comments__sheet {
    left: 50%;
    right: auto;
    bottom: auto;
    top: 50%;
    width: min(420px, 92vw);
    max-height: min(70vh, 640px);
    transform: translate(-50%, -50%);
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  }
}

html[data-page="reels"] .reel-comments__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 auto;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--auto-line);
}

html[data-page="reels"] .reel-comments__head strong {
  font-size: 16px;
}

html[data-page="reels"] .reel-comments__body,
html[data-page="reels"] .reel-comments__body .post-comments {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 0 1 auto;
  height: auto;
}

html[data-page="reels"] .reel-comments__body .post-comments {
  padding: 0 12px 10px;
}

html[data-page="reels"] .reel-comments__body .js_comments {
  order: 1;
  flex: 0 1 auto;
  min-height: 0;
  max-height: 38vh;
  overflow-y: auto;
  padding-top: 8px;
  overscroll-behavior: contain;
}

html[data-page="reels"] .reel-comments__body .js_see-more {
  order: 2;
}

html[data-page="reels"] .reel-comments__body .js_comment-form,
html[data-page="reels"] .reel-comments__body .js_comment-disabled-msg {
  order: 3;
  margin-top: 6px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

html[data-page="reels"] .reel-comments-wrapper .comments-filter,
html[data-page="reels"] .reel-comments-wrapper .x-form-tools-attach,
html[data-page="reels"] .reel-comments-wrapper .x-form-tools-voice,
html[data-page="reels"] .reel-comments-wrapper .x-form-tools-emoji,
html[data-page="reels"] .reel-comments-wrapper .comment-voice-notes,
html[data-page="reels"] .reel-comments-wrapper .comment-attachments,
html[data-page="reels"] .reel-comments-wrapper .comment-btn,
html[data-page="reels"] .reel-comments-wrapper .verified-badge,
html[data-page="reels"] .reel-comments-wrapper .pro-badge {
  display: none !important;
}

html[data-page="reels"] .reel-comments-wrapper .comment-actions {
  display: flex !important;
  align-items: center;
  gap: 0;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

html[data-page="reels"] .reel-comments-wrapper .comment-actions > li {
  display: none !important;
}

html[data-page="reels"] .reel-comments-wrapper .comment-actions > li:has(.js_moment) {
  display: inline-flex !important;
}

html[data-page="reels"] .reel-comments-wrapper .comment-actions .js_moment {
  font-size: 12px;
  line-height: 1.3;
  color: #6e767f !important;
}

html[data-page="reels"] .reel-comments-wrapper .js_comment-form > .comment-avatar {
  display: none !important;
}

html[data-page="reels"] .reel-comments-wrapper .js_comment-form .comment-data {
  width: 100%;
  padding-left: 0;
}

html[data-page="reels"] .reel-comments-wrapper .js_comment-form .comment-form,
html[data-page="reels"] .reel-comments-wrapper .comment-form {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  position: relative;
}

html[data-page="reels"] .reel-comments-wrapper .comment-form textarea {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 40px;
  padding: 10px 12px;
  color: #111;
}

html[data-page="reels"] .reel-comments-wrapper .comment-form .x-form-tools {
  position: static !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  margin: 0;
  padding: 0;
  bottom: auto;
  right: auto;
}

html[data-page="reels"] .reel-comments-wrapper .x-form-tools-post {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: var(--auto-signal);
  color: #fff !important;
}

html[data-page="reels"] .reel-comments-wrapper .x-form-tools-post i,
html[data-page="reels"] .reel-comments-wrapper .x-form-tools-post * {
  color: #fff !important;
  fill: #fff !important;
}

html[data-page="reels"] .reel-comments-wrapper .comment {
  padding: 6px 0;
}

html[data-page="reels"] .reel-comments-wrapper .js_comments .comment-author a,
html[data-page="reels"] .reel-comments-wrapper .js_comments .comment-text,
html[data-page="reels"] .reel-comments-wrapper .js_comments .comment-text a {
  color: #111 !important;
}

html[data-page="reels"] .reel-comments-wrapper .js_comments .js_readmore {
  max-height: none !important;
  overflow: visible !important;
}

html[data-page="reels"] .modal {
  z-index: 10050 !important;
}

html[data-page="reels"] .modal-backdrop {
  z-index: 10040 !important;
}

body.night-mode html[data-page="reels"] .reel-comments__sheet {
  background: var(--card-dark-color, #262d34);
  color: var(--body-color-dark, #eee);
}

body.night-mode html[data-page="reels"] .reel-comments-wrapper .js_comments .comment-author a,
body.night-mode html[data-page="reels"] .reel-comments-wrapper .js_comments .comment-text,
body.night-mode html[data-page="reels"] .reel-comments-wrapper .js_comments .comment-text a,
body.night-mode html[data-page="reels"] .reel-comments-wrapper .comment-form textarea {
  color: var(--body-color-dark, #eee) !important;
}

body.night-mode html[data-page="reels"] .reel-comments-wrapper .comment-actions .js_moment {
  color: #9aa8b4 !important;
}

@media (min-width: 1200px) {
  html[data-page="reels"] .reel-next-btn,
  html[data-page="reels"] .reel-prev-btn {
    right: 88px;
    z-index: 6;
  }
}

/* Latest blogs — sidebar list with photo previews, not sticky */
.blogs-widget .forum-sidebar-item:first-child {
  padding-top: 2px;
}

.blogs-widget__item {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
}

.blogs-widget__thumb {
  flex: 0 0 76px;
  width: 76px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--auto-paper, #efeeea);
  border: 1px solid var(--auto-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--auto-signal);
}

.blogs-widget__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blogs-widget__body {
  min-width: 0;
  flex: 1 1 auto;
}

.blogs-widget .forum-sidebar-item .title {
  display: block;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 2px;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  font-weight: 600;
  line-height: 1.35;
  color: var(--auto-ink);
}

.blogs-widget .forum-sidebar-item .title .title-text {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.blogs-widget .forum-sidebar-item:hover .title {
  color: var(--auto-signal);
}

body.night-mode .blogs-widget__thumb {
  background: rgba(38, 45, 52, 0.92);
  border-color: var(--card-dark-divider, #2e3f4d);
}

/* Search page uses header search only, full width results */
html[data-page="search"] .whip-search-page,
html[data-page="search"] .whip-search-page.container,
html[data-page="search"] .whip-search-page.container-fluid {
  max-width: 100%;
  width: 100%;
}

html[data-page="search"] .whip-search-page .sg-offcanvas-mainbar {
  max-width: 100%;
  width: 100%;
  flex: 0 0 100%;
}

@media (max-width: 1199.98px) {
  .whip-header-search,
  .main-header .search-wrapper {
    display: none !important;
  }
}

.whip-search-page__box {
  margin-bottom: 16px;
}

.whip-search-page__box .form-control {
  height: 44px;
  border: 1px solid var(--auto-line);
  border-radius: 12px;
  background: var(--auto-panel);
  font-family: var(--auto-body);
  font-size: 15px;
}

/* Wallet — credit card + sleek ledger */
.whip-wallet-tabs {
  background: var(--auto-panel);
  border: 1px solid var(--auto-line);
  border-radius: 12px;
  box-shadow: none;
  overflow: hidden;
}

.whip-wallet-tabs > ul {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
}

.whip-wallet-tabs > ul > li {
  flex: 0 0 auto;
}

.whip-wallet-tabs > ul > li > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-family: var(--auto-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--auto-steel) !important;
}

.whip-wallet-tabs > ul > li > a i {
  color: var(--auto-signal);
}

.whip-wallet-tabs > ul > li.active > a {
  color: var(--auto-ink) !important;
  box-shadow: inset 0 -2px 0 var(--auto-signal);
}

.whip-wallet__stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.whip-wallet-header .circle-2,
.whip-wallet-header .circle-3 {
  display: none;
}

.whip-wallet__hero {
  display: grid;
  grid-template-columns: minmax(280px, 440px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.whip-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: start;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1.586;
  height: auto;
  min-height: 0;
  padding: 20px 22px 18px;
  overflow: hidden;
  border-radius: 18px;
  color: #f6f1ea;
  background:
    linear-gradient(180deg, rgba(250, 100, 24, 0.9) 0 4px, transparent 4px),
    linear-gradient(135deg, rgba(250, 100, 24, 0.28) 0%, transparent 46%),
    linear-gradient(160deg, #16181c 0%, #26211d 52%, #3a2218 100%);
  box-shadow: 0 16px 36px rgba(20, 22, 24, 0.18);
}

.whip-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -18deg,
      transparent 0 14px,
      rgba(255, 255, 255, 0.025) 14px 15px
    );
  pointer-events: none;
}

.whip-card__shine {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 58%;
  height: 160%;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.08) 48%, transparent 62%);
  transform: rotate(12deg);
  pointer-events: none;
}

.whip-card__top,
.whip-card__bottom,
.whip-card__balance,
.whip-card__number {
  position: relative;
  z-index: 1;
}

html.whip-phone-layout[data-page="wallet"] .whip-wallet {
  margin-top: 8px !important;
}

.whip-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.whip-card__brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.whip-card__logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 148px;
  padding: 4px 7px;
  background: #fff;
  border-radius: 7px;
  box-sizing: content-box;
}

.whip-card__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--auto-signal);
  color: #fff;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1;
}

.whip-card__chip-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.whip-card__nfc {
  width: 18px;
  height: 22px;
  border: 2px solid rgba(246, 241, 234, 0.55);
  border-left: 0;
  border-radius: 0 12px 12px 0;
  position: relative;
}

.whip-card__nfc::before,
.whip-card__nfc::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -1px;
  border: 2px solid rgba(246, 241, 234, 0.4);
  border-left: 0;
  border-radius: 0 10px 10px 0;
  transform: translateY(-50%);
}

.whip-card__nfc::before {
  width: 8px;
  height: 12px;
}

.whip-card__nfc::after {
  width: 13px;
  height: 18px;
}

.whip-card__chip {
  width: 38px;
  height: 28px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, #f0d38a 0%, #c9a14a 45%, #e8c56a 100%);
  box-shadow: inset 0 0 0 1px rgba(80, 50, 10, 0.25);
  position: relative;
}

.whip-card__chip::before,
.whip-card__chip::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  height: 1px;
  background: rgba(80, 50, 10, 0.28);
}

.whip-card__chip::before {
  top: 9px;
}

.whip-card__chip::after {
  bottom: 9px;
}

.whip-card__balance {
  margin: 18px 0 8px;
}

.whip-card__label {
  display: block;
  margin-bottom: 2px;
  font-family: var(--auto-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 241, 234, 0.64);
}

.whip-card__balance strong {
  display: block;
  font-family: var(--auto-display);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

.whip-card__number {
  font-family: var(--auto-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(246, 241, 234, 0.78);
}

.whip-card__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.whip-card__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  min-width: 0;
}

.whip-card__side .whip-card__balance {
  margin: 0 0 8px;
}

.whip-card__side .whip-card__balance strong {
  font-size: 28px;
}

.whip-card__name {
  font-family: var(--auto-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.whip-card__meta {
  font-family: var(--auto-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 241, 234, 0.64);
}

.whip-wallet__actions,
.whip-wallet__form-card,
.whip-wallet__ledger {
  background: var(--auto-panel);
  border: 1px solid var(--auto-line);
  border-radius: 16px;
  padding: 18px 18px 16px;
}

.whip-wallet__actions-head,
.whip-wallet__ledger-head {
  margin: 0 0 14px;
  font-family: var(--auto-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--auto-ink);
}

.whip-wallet__actions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.whip-wallet__action {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid var(--auto-line);
  border-radius: 12px;
  background: #fff;
  color: var(--auto-ink);
  font-family: var(--auto-body);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.whip-wallet__action:hover,
.whip-wallet__action:focus {
  border-color: rgba(250, 100, 24), 0.45);
  color: var(--auto-signal);
  outline: none;
}

.whip-wallet__action--primary {
  background: var(--auto-signal);
  border-color: var(--auto-signal);
  color: #fff;
}

.whip-wallet__action--primary:hover,
.whip-wallet__action--primary:focus {
  background: var(--auto-signal-deep);
  border-color: var(--auto-signal-deep);
  color: #fff;
}

.whip-wallet__action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--auto-signal-soft);
  color: var(--auto-signal);
}

.whip-wallet__action--primary .whip-wallet__action-icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.whip-wallet__form .form-label,
.whip-wallet__form .form-control {
  font-family: var(--auto-body);
}

.whip-wallet__form .form-control {
  border-radius: 10px;
  border-color: var(--auto-line);
}

.whip-wallet__table {
  margin: 0;
  font-family: var(--auto-body);
  font-size: 13px;
}

.whip-wallet__table thead th {
  border-bottom: 1px solid var(--auto-line);
  background: transparent;
  color: var(--auto-steel);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.whip-wallet__table td,
.whip-wallet__table th {
  border-color: rgba(20, 22, 24, 0.06);
  vertical-align: middle;
}

.whip-wallet__amt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.whip-wallet__amt--in {
  color: #2f7d4a;
}

.whip-wallet__amt--out {
  color: var(--auto-signal);
}

.whip-wallet__dir {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--auto-signal-soft);
  color: var(--auto-signal);
  font-size: 11px;
  font-weight: 700;
}

.whip-wallet__dir--in {
  background: #e6f4ea;
  color: #2f7d4a;
}

.whip-wallet__who {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.whip-wallet__who img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.whip-wallet__status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.whip-wallet__status--pending {
  background: #fff4d6;
  color: #8a6d12;
}

.whip-wallet__status--ok {
  background: #e6f4ea;
  color: #2f7d4a;
}

.whip-wallet__status--no {
  background: var(--auto-signal-soft);
  color: var(--auto-signal-deep);
}

.whip-wallet__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 12px 18px;
  color: var(--auto-steel);
  font-family: var(--auto-body);
  font-size: 14px;
  text-align: center;
}

.whip-wallet__empty i {
  font-size: 28px;
  color: var(--auto-signal);
}

@media (max-width: 1199.98px) {
  .whip-wallet__hero {
    grid-template-columns: 1fr;
  }

  .whip-card {
    max-width: none;
  }

  .whip-card__balance strong {
    font-size: 36px;
  }

  .whip-wallet__actions-grid {
    grid-template-columns: 1fr;
  }
}

body.night-mode .whip-wallet-tabs,
body.night-mode .whip-wallet__actions,
body.night-mode .whip-wallet__form-card,
body.night-mode .whip-wallet__ledger {
  background: var(--card-dark-color, #262d34);
  border-color: var(--card-dark-divider, #2e3f4d);
}

body.night-mode .whip-wallet-tabs > ul > li.active > a,
body.night-mode .whip-wallet__actions-head,
body.night-mode .whip-wallet__ledger-head {
  color: var(--body-color-dark, #eee) !important;
}

body.night-mode .whip-wallet__action {
  background: var(--card-dark-input, #1e252b);
  border-color: var(--card-dark-divider, #2e3f4d);
  color: var(--body-color-dark, #eee);
}

/* Dedicated Reels search page */
html[data-page="reels.search"] .whip-reels-search,
html[data-page="reels.search"] .whip-reels-search.container-fluid {
  max-width: 100%;
  width: 100%;
  padding: 16px var(--bs-gutter-x, 15px) 28px;
}

.whip-reels-search__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.whip-reels-search__back {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--auto-panel, #fbfaf7);
  border: 1px solid var(--auto-line, #e4e2dc);
  color: var(--auto-ink, #141618);
  text-decoration: none;
}

.whip-reels-search__back:hover {
  color: var(--auto-signal, #FA6418);
}

.whip-reels-search__form {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.whip-reels-search__form > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a8680;
  pointer-events: none;
  font-size: 14px;
}

.whip-reels-search__form .form-control {
  height: 44px;
  padding: 0 14px 0 40px;
  border: 1px solid var(--auto-line, #e4e2dc);
  border-radius: 12px;
  background: var(--auto-panel, #fbfaf7);
  font-family: var(--auto-body, inherit);
  font-size: 15px;
  box-shadow: none;
}

.whip-reels-search__form .form-control:focus {
  border-color: var(--auto-signal, #FA6418);
  box-shadow: none;
}

.whip-reels-search__meta {
  margin: 0 0 12px;
  font-family: var(--auto-body, inherit);
  font-size: 13px;
  color: #6b6762;
}

.whip-reels-search__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.whip-reels-search__grid > li {
  margin: 0;
  padding: 0;
  min-width: 0;
}

.whip-reel-card {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #1a1c1e;
  color: #fff;
}

.whip-reel-card__media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a1c1e;
  background-size: cover;
  background-position: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 22px;
}

.whip-reel-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.whip-reel-card__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.whip-reel-card__media:has(.whip-reel-card__thumb) video.is-previewed,
.reel-box:has(.reel-box__thumb) video.is-previewed {
  opacity: 0;
}

.whip-reel-card__play {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
}

.whip-reel-card__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 8px 8px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.62));
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #fff;
  font-family: var(--auto-body, inherit);
}

.whip-reel-card__views {
  font-size: 12px;
  font-weight: 600;
}

.whip-reel-card__views i {
  margin-right: 5px;
  font-size: 10px;
}

.whip-reel-card__name {
  font-size: 11px;
  opacity: 0.9;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whip-reels-search__empty {
  padding: 48px 16px;
  text-align: center;
  color: #6b6762;
}

@media (min-width: 1200px) {
  html[data-page="reels.search"] .whip-reels-search {
    padding-top: 20px;
  }

  .whip-reels-search__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .whip-reel-card {
    border-radius: 10px;
  }
}

@media (min-width: 1200px) {
  .whip-reels-search__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

body.night-mode .whip-reels-search__back,
body.night-mode .whip-reels-search__form .form-control {
  background: var(--card-dark-color, #262d34);
  border-color: var(--card-dark-divider, #2e3f4d);
  color: var(--body-color-dark, #eee);
}

body.night-mode .whip-reels-search__meta,
body.night-mode .whip-reels-search__empty {
  color: #9aa3ab;
}

/* ---- Settings (profile + account) ---- */

html[data-page="settings"] .whip-settings {
  font-family: var(--auto-body);
}

html[data-page="settings"] .whip-settings-nav-card,
html[data-page="settings"] .whip-settings-card {
  background: var(--auto-panel);
  border: 1px solid var(--auto-line) !important;
  border-radius: 16px;
  box-shadow: none;
  overflow: hidden;
}

html[data-page="settings"] .whip-settings-nav-card .card-body.with-nav {
  padding: 12px 10px 14px;
}

html[data-page="settings"] .whip-settings-nav-title {
  font-family: var(--auto-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--auto-ink);
  padding: 6px 12px 12px;
}

html[data-page="settings"] .whip-settings-sidebar .side-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

html[data-page="settings"] .whip-settings-sidebar .side-nav > .divider {
  height: 1px;
  margin: 8px 8px;
  background: var(--auto-line);
  border: 0;
}

html[data-page="settings"] .whip-settings-sidebar .side-nav a,
html[data-page="settings"] .whip-settings-sidebar .side-nav .static {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px !important;
  border-radius: 12px;
  color: var(--auto-ink) !important;
  font-family: var(--auto-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

html[data-page="settings"] .whip-settings-sidebar .side-nav a:hover {
  background: rgba(250, 100, 24), 0.08);
  color: var(--auto-signal) !important;
}

html[data-page="settings"] .whip-settings-sidebar .side-nav > li.active > a,
html[data-page="settings"] .whip-settings-sidebar .side-nav ul > li.active > a {
  background: var(--auto-signal-soft) !important;
  color: var(--auto-signal) !important;
  border-radius: 12px;
}

html[data-page="settings"] .whip-settings-sidebar .side-nav a > .main-icon,
html[data-page="settings"] .whip-settings-sidebar .side-nav a > .svg-container {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px;
  margin: 0 !important;
  border-radius: 50%;
  background: var(--auto-signal-soft);
  color: var(--auto-signal) !important;
  fill: var(--auto-signal) !important;
}

html[data-page="settings"] .whip-settings-sidebar .side-nav a > .main-icon > i,
html[data-page="settings"] .whip-settings-sidebar .side-nav a > .svg-container > i {
  font-size: 16px !important;
  line-height: 1 !important;
}

html[data-page="settings"] .whip-settings-sidebar .side-nav a[data-bs-toggle="collapse"]:after {
  content: "+" !important;
  font-family: inherit !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  margin-left: auto;
  float: none !important;
  color: var(--auto-steel);
}

html[data-page="settings"] .whip-settings-sidebar .side-nav a[data-bs-toggle="collapse"][aria-expanded="true"]:after {
  content: "–" !important;
  color: var(--auto-signal);
  transform: none;
}

html[data-page="settings"] .whip-settings-sidebar .side-nav ul {
  margin: 2px 0 8px;
  padding: 0 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

html[data-page="settings"] .whip-settings-sidebar .side-nav ul a {
  min-height: 40px;
  margin-left: 0 !important;
  padding: 8px 12px 8px 48px !important;
  border-left: 0 !important;
  font-size: 16px;
  color: var(--auto-steel) !important;
}

html[data-page="settings"] .whip-settings-card > .card-header.with-icon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding: 16px 18px;
  background: #fff;
  border-bottom: 1px solid var(--auto-line);
  border-radius: 16px 16px 0 0 !important;
  font-family: var(--auto-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--auto-ink);
}

html[data-page="settings"] .whip-settings-card > .card-header.with-icon .float-end {
  float: none;
  margin-left: auto;
}

html[data-page="settings"] .whip-settings-card > .card-header.with-icon .main-icon,
html[data-page="settings"] .whip-settings-card > .card-header.with-icon .svg-container {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  border-radius: 50%;
  background: var(--auto-signal-soft);
}

html[data-page="settings"] .whip-settings-card > .card-body {
  padding: 18px;
}

html[data-page="settings"] .whip-settings-card > .card-footer {
  background: #fff;
  border-top: 1px solid var(--auto-line);
  padding: 14px 18px;
}

html[data-page="settings"] .heading-small {
  font-family: var(--auto-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--auto-ink);
}

html[data-page="settings"] .form-label {
  font-family: var(--auto-body);
  font-weight: 600;
  color: var(--auto-ink);
}

html[data-page="settings"] .form-control,
html[data-page="settings"] .form-select,
html[data-page="settings"] .input-group-text {
  background: #fff;
  border-color: var(--auto-line);
  border-radius: 10px;
  color: var(--auto-ink);
}

html[data-page="settings"] .input-group-text {
  color: var(--auto-signal);
}

html[data-page="settings"] .form-table-row {
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid var(--auto-line);
  border-radius: 12px;
  background: #fff;
}

html[data-page="settings"] .stat-panel.border {
  background: #fff;
  border-color: var(--auto-line) !important;
}

html[data-page="settings"] .stat-panel.bg-primary,
html[data-page="settings"] .stat-panel.bg-gradient-primary,
html[data-page="settings"] .stat-panel.bg-gradient-teal {
  background: var(--auto-signal) !important;
  background-image: none !important;
}

.whip-session-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.whip-session-card {
  padding: 14px;
  border: 1px solid var(--auto-line);
  border-radius: 14px;
  background: #fff;
}

.whip-session-card.is-active {
  border-color: rgba(250, 100, 24), 0.35);
  background: var(--auto-signal-soft);
}

.whip-session-card__top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.whip-session-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--auto-signal-soft);
  color: var(--auto-signal);
  font-size: 16px;
}

.whip-session-card.is-active .whip-session-card__icon {
  background: #fff;
}

.whip-session-card__info {
  min-width: 0;
  flex: 1;
}

.whip-session-card__browser {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--auto-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--auto-ink);
  line-height: 1.25;
}

.whip-session-card__os {
  margin-top: 2px;
  font-size: 13px;
  color: var(--auto-steel);
}

.whip-session-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--auto-line);
  font-size: 13px;
  color: var(--auto-steel);
}

.whip-session-card__meta i {
  margin-right: 6px;
  color: var(--auto-signal);
}

.whip-session-empty {
  padding: 28px 12px;
  text-align: center;
  color: var(--auto-steel);
}

body.night-mode html[data-page="settings"] .whip-settings-nav-title,
body.night-mode html[data-page="settings"] .whip-settings-sidebar .side-nav a,
body.night-mode html[data-page="settings"] .whip-settings-card > .card-header.with-icon,
body.night-mode html[data-page="settings"] .heading-small,
body.night-mode html[data-page="settings"] .form-label,
body.night-mode .whip-session-card__browser {
  color: var(--body-color-dark) !important;
}

body.night-mode html[data-page="settings"] .whip-settings-card > .card-header.with-icon,
body.night-mode html[data-page="settings"] .whip-settings-card > .card-footer,
body.night-mode html[data-page="settings"] .form-table-row,
body.night-mode .whip-session-card {
  background: var(--card-dark-color, #262d34);
  border-color: var(--card-dark-divider, #2e3f4d);
}

body.night-mode .home-rail__list a > .main-icon,
body.night-mode .home-rail__list a > .svg-container,
body.night-mode .home-rail__list a > i.main-icon,
body.night-mode .whip-storefront__navlist a > i,
body.night-mode .whip-store-sidebar .side-nav a > .main-icon,
body.night-mode .whip-store-sidebar .side-nav a > i.main-icon,
body.night-mode html[data-page="settings"] .whip-settings-sidebar .side-nav a > .main-icon,
body.night-mode html[data-page="settings"] .whip-settings-card > .card-header.with-icon .main-icon,
body.night-mode .whip-session-card__icon {
  background: rgba(250, 100, 24, 0.18);
}

/* Mobile: keep cards in view without clipping Bootstrap row gutters */
@media (max-width: 1199.98px) {
  .container,
  .container-fluid,
  .sg-offcanvas,
  .sg-offcanvas-mainbar,
  .card,
  .card-body {
    max-width: 100%;
  }

  .row > [class*="col-"] {
    min-width: 0;
  }

  html[data-page="index"] .home-newsfeed > .row,
  html[data-page="index"] .home-feed-col > .row {
    max-width: none;
  }

  html[data-page="settings"] .whip-settings-card > .card-header.with-icon {
    padding: 14px;
    font-size: 20px;
  }

  html[data-page="settings"] .whip-settings-card > .card-header.with-icon .float-end {
    width: 100%;
    margin-left: 0;
  }

  html[data-page="settings"] .whip-settings-card > .card-header.with-icon .float-end .btn {
    width: 100%;
  }

  html[data-page="settings"] .whip-settings-card > .card-body,
  html[data-page="settings"] .whip-settings-card > .card-footer {
    padding: 14px;
  }

  html[data-page="settings"] .form-table-row {
    margin-bottom: 12px;
  }

  .stat-cell {
    padding: 16px !important;
  }

  .stat-cell .icon {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    padding: 8px;
    font-size: 16px;
  }

  .stat-cell .bg-icon {
    font-size: 64px;
  }

  .stat-cell .text-xxlg {
    font-size: 28px;
    word-break: break-word;
  }

  .table-responsive,
  .dataTables_wrapper {
    width: 100%;
    overflow: visible !important;
  }

  .table-responsive table,
  .dataTables_wrapper table,
  .table-responsive thead,
  .table-responsive tbody,
  .table-responsive tfoot,
  .dataTables_wrapper thead,
  .dataTables_wrapper tbody,
  .dataTables_wrapper tfoot {
    display: block;
    width: 100% !important;
  }

  .table-responsive thead,
  .dataTables_wrapper thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }

  .table-responsive tbody tr,
  .dataTables_wrapper tbody tr {
    display: block;
    width: 100%;
    margin: 0 0 12px;
    padding: 12px 14px;
    border: 1px solid var(--auto-line) !important;
    border-radius: 12px;
    background: #fff;
  }

  .table-responsive tbody td,
  .dataTables_wrapper tbody td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100% !important;
    max-width: 100%;
    border: 0 !important;
    padding: 6px 0 !important;
    white-space: normal !important;
    text-align: right;
    word-break: break-word;
  }

  .table-responsive tbody td::before,
  .dataTables_wrapper tbody td::before {
    content: attr(data-label);
    flex: 0 0 38%;
    max-width: 42%;
    text-align: left;
    font-weight: 600;
    color: var(--auto-steel);
  }

  .table-responsive tbody td:not([data-label])::before,
  .dataTables_wrapper tbody td:not([data-label])::before {
    content: none;
  }

  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_filter,
  .dataTables_wrapper .dataTables_info,
  .dataTables_wrapper .dataTables_paginate {
    float: none !important;
    display: block;
    width: 100%;
    text-align: left;
    margin: 0 0 10px;
  }

  .dataTables_wrapper .dataTables_filter input {
    width: 100%;
    margin-left: 0 !important;
  }

  .dataTables_scroll,
  .dataTables_scrollHead,
  .dataTables_scrollBody {
    overflow: visible !important;
    width: 100% !important;
  }

  body.night-mode .table-responsive tbody tr,
  body.night-mode .dataTables_wrapper tbody tr {
    background: var(--card-dark-color, #262d34);
    border-color: var(--card-dark-divider, #2e3f4d) !important;
  }
}

/* ---- Messenger ---- */

html[data-page="messages"] .chat-sidebar {
  display: none !important;
}

html[data-page="messages"] .whip-messenger {
  --whip-msg-h: calc(100vh - var(--whip-header-h, 70px) - var(--whip-subnav-h, 44px) - 20px);
  height: var(--whip-msg-h);
  margin-top: 12px;
  margin-bottom: 8px;
}

html[data-page="messages"] .whip-messenger__row {
  height: 100%;
  margin-left: 0;
  margin-right: 0;
}

html[data-page="messages"] .whip-messenger__rail,
html[data-page="messages"] .whip-messenger__stage {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1200px) {
  html[data-page="messages"] .whip-messenger__rail {
    flex: 0 0 38%;
    max-width: 38%;
    width: 38%;
  }

  html[data-page="messages"] .whip-messenger__stage {
    flex: 0 0 62%;
    max-width: 62%;
    width: 62%;
  }
}

html[data-page="messages"] .whip-messenger__card,
html[data-page="messages"] .whip-messenger__panel,
html[data-page="messages"] .whip-messenger__blank {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
  margin-bottom: 0;
  background: var(--auto-panel);
  border: 1px solid var(--auto-line) !important;
  border-radius: 16px;
  overflow: hidden;
}

.whip-messenger__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 8px;
}

.whip-messenger__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--auto-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--auto-ink);
}

.whip-messenger__title i {
  color: var(--auto-signal);
}

.whip-messenger__new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--auto-signal-soft);
  color: var(--auto-signal);
}

.whip-messenger__head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.whip-messenger__settings {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 22, 24, 0.06);
  color: #585b5d;
  cursor: pointer;
}

.whip-messenger__settings:hover {
  background: var(--auto-signal-soft);
  color: var(--auto-signal);
}

.whip-messenger__new:hover {
  background: var(--auto-signal);
  color: #fff;
}

.whip-messenger__search {
  position: relative;
  margin: 0 12px 10px;
}

.whip-messenger__search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--auto-steel);
  font-size: 13px;
}

.whip-messenger__search input {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 34px;
  border: 1px solid var(--auto-line);
  border-radius: 20px;
  background: #fff;
  font-family: var(--auto-body);
  font-size: 14px;
  color: var(--auto-ink);
}

.whip-messenger__search input:focus {
  outline: none;
  border-color: rgba(250, 100, 24), 0.45);
  box-shadow: 0 0 0 3px rgba(250, 100, 24), 0.12);
}

.whip-msg-search__results {
  margin: 0 12px 10px;
  max-height: 280px;
  overflow: auto;
  border: 1px solid var(--auto-line);
  border-radius: 12px;
  background: #fff;
}

.whip-msg-search__label {
  padding: 8px 12px 4px;
  font-family: var(--auto-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--auto-steel);
}

.whip-msg-search__hit {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.whip-msg-search__hit:hover {
  background: var(--auto-signal-soft);
}

.whip-msg-search__pic,
.whip-msg-friends__pic,
.whip-msg-thread__pic {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
}

.whip-msg-search__pic img,
.whip-msg-friends__pic img,
.whip-msg-thread__pic img,
.whip-msg-connect__face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #eee;
}

.whip-msg-search__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.whip-msg-search__meta strong {
  font-size: 14px;
  color: var(--auto-ink);
}

.whip-msg-search__meta small,
.whip-msg-search__empty {
  color: var(--auto-steel);
  font-size: 12px;
}

.whip-msg-search__empty {
  padding: 12px;
  text-align: center;
}

.whip-msg-friends,
.whip-msg-connect {
  padding: 0 0 8px;
}

.whip-msg-friends__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 6px;
  font-family: var(--auto-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--auto-steel);
}

.whip-msg-friends__label span {
  color: #2f9e44;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--auto-body);
}

.whip-msg-friends__label span.is-quiet {
  color: var(--auto-steel);
}

.whip-msg-friends__scroller,
.whip-msg-connect__scroller {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 12px 4px;
  scrollbar-width: none;
}

.whip-msg-friends__scroller::-webkit-scrollbar,
.whip-msg-connect__scroller::-webkit-scrollbar {
  display: none;
}

.whip-msg-friends__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 64px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--auto-ink);
}

.whip-msg-friends__pic {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}

.whip-msg-friends__pic .online-status,
.whip-msg-thread-avatar .online-status,
.whip-msg-thread__pic .online-status {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 12px;
  height: 12px;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 50% !important;
  font-size: 8px;
  color: #9aa3ab;
  background: currentColor;
}

.whip-msg-friends__pic .online-status.online,
.whip-msg-thread-avatar .online-status.online,
.whip-msg-thread__pic .online-status.online {
  color: #2f9e44;
}

.whip-msg-friends__name {
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  line-height: 1.2;
}

.whip-msg-connect__card {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 220px;
  padding: 8px 10px;
  border: 1px solid var(--auto-line);
  border-radius: 14px;
  background: #fff;
}

.whip-msg-connect__face {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.whip-msg-connect__who {
  min-width: 0;
  flex: 1;
}

.whip-msg-connect__who strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: var(--auto-ink);
}

.whip-msg-connect__who small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  color: var(--auto-steel);
}

.whip-msg-connect__wave {
  flex: 0 0 auto;
  padding: 5px 10px;
  border: 0;
  border-radius: 999px;
  background: var(--auto-signal);
  color: #fff;
  font-family: var(--auto-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.whip-messenger__threads {
  flex: 1;
  min-height: 0;
  padding: 0 !important;
}

.whip-messenger__thread-scroll {
  height: 100% !important;
  max-height: none !important;
  overflow-y: auto;
}

html[data-page="messages"] .whip-messenger__threads .js_messenger-thread-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 10px 12px;
}

html[data-page="messages"] .whip-messenger__threads .feeds-item {
  border: 0;
  margin: 0;
  border-radius: 12px;
  background: #f4f2ed;
  overflow: hidden;
}

html[data-page="messages"] .whip-messenger__threads .feeds-item.unread {
  background: #ebe4d8;
  box-shadow: inset 0 0 0 1px rgba(250, 100, 24, 0.28);
}

html[data-page="messages"] .whip-messenger__threads .feeds-item.unread .name {
  font-weight: 800;
}

html[data-page="messages"] .whip-msg-thread-avatar {
  position: relative;
}

html[data-page="messages"] .whip-msg-unread-bubble {
  position: absolute;
  top: -4px;
  right: -4px;
  z-index: 2;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--auto-signal, #FA6418);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px #f4f2ed;
}

html[data-page="messages"] .whip-messenger__threads .data-container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 0;
  background: transparent;
}

html[data-page="messages"] .whip-messenger__threads .feeds-item.is-active {
  background: #f4f2ed;
  box-shadow: none;
}

html[data-page="messages"] .whip-messenger__threads .feeds-item.is-active .data-container {
  background: transparent;
}

@media (hover: hover) and (pointer: fine) {
  html[data-page="messages"] .whip-messenger__threads .feeds-item:hover:not(.unread) {
    background: #eceae4;
  }
}

@media (hover: none) {
  a.data-container:hover,
  .data-container.clickable:hover,
  html[data-page="messages"] .whip-messenger__threads .data-container:hover,
  html[data-page="messages"] .whip-messenger__threads .feeds-item:hover:not(.is-active),
  .chat-widget a.data-container:hover,
  .chat-sidebar a.data-container:hover,
  .chat-widget .data-container.clickable:hover,
  .chat-sidebar .data-container.clickable:hover {
    background: transparent;
  }

  body.night-mode a.data-container:hover,
  body.night-mode .data-container.clickable:hover {
    background: transparent;
  }
}

html[data-page="messages"] .whip-msg-thread-avatar {
  position: relative;
  float: none;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  margin: 0;
}

html[data-page="messages"] .whip-msg-thread-avatar img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
}

html[data-page="messages"] .whip-msg-thread-avatar .left-avatar,
html[data-page="messages"] .whip-msg-thread-avatar .right-avatar {
  width: 23px;
  height: 48px;
}

html[data-page="messages"] .whip-messenger__threads .data-content,
html[data-page="messages"] .whip-msg-thread-meta {
  flex: 1;
  min-width: 0;
  padding-left: 0;
}

html[data-page="messages"] .whip-msg-thread-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

html[data-page="messages"] .whip-msg-thread-line--preview {
  align-items: center;
  margin-top: 2px;
}

html[data-page="messages"] .whip-messenger__threads .name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--auto-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--auto-ink);
}

html[data-page="messages"] .whip-messenger__threads .text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--auto-steel);
  word-break: normal;
}

@media (min-width: 1200px) {
  html[data-page="messages"] .whip-messenger__threads .name {
    font-size: 19px;
  }

  html[data-page="messages"] .whip-messenger__threads .text {
    font-size: 15px;
  }

  html[data-page="messages"] .whip-msg-thread__name,
  html[data-page="messages"] .whip-msg-thread__name a {
    font-size: 22px;
  }
}

html[data-page="messages"] .whip-messenger__threads .time {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--auto-steel);
  white-space: nowrap;
}

html[data-page="messages"] .whip-messenger__threads .data-img {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin: 0;
  border-radius: 6px;
}

.whip-messenger__empty-list {
  padding: 28px 16px;
  text-align: center;
  color: var(--auto-steel);
}

.whip-messenger__empty-list i {
  display: block;
  margin-bottom: 8px;
  font-size: 28px;
  color: var(--auto-signal);
}

.whip-msg-thread__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border-bottom: 1px solid var(--auto-line);
}

.whip-msg-thread__back {
  display: none;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f0f2f5;
  color: #050505;
  font-size: 16px;
}

html.whip-phone-layout .whip-msg-thread__back {
  display: inline-flex;
}

html.whip-phone-layout .market-hub-sidebar__nav .side-nav a > i.main-icon,
html.whip-phone-layout .market-hub-sidebar__nav .side-nav a > .svg-container,
html.whip-phone-layout .market-hub-sidebar__nav .side-nav a > .main-icon,
html.whip-phone-layout .market-hub-sidebar__cat-list a > i.main-icon,
html.whip-phone-layout .market-listing-sidebar .side-nav a > i.main-icon,
html.whip-phone-layout .market-listing-sidebar .side-nav a > .main-icon {
  display: none !important;
}

.whip-msg-thread__peer {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.whip-msg-thread__pic--empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--auto-signal-soft);
  color: var(--auto-signal);
}

.whip-msg-thread__pic--split {
  display: flex;
  overflow: hidden;
  border-radius: 50%;
}

.whip-msg-thread__pic--split span {
  flex: 1;
  background-size: cover;
  background-position: center;
}

.whip-msg-thread__who {
  min-width: 0;
}

.whip-msg-thread__name,
.whip-msg-thread__name a {
  font-family: var(--auto-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--auto-ink);
  line-height: 1.15;
}

.whip-msg-thread__status {
  font-size: 12px;
  color: var(--auto-steel);
}

.whip-msg-thread__status:has(.online),
.whip-msg-thread__peer:has(.online-status.online) .whip-msg-thread__status {
  color: #2f9e44;
}

.whip-msg-thread__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.whip-msg-ice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0 12px;
}

.whip-msg-ice button {
  padding: 6px 12px;
  border: 1px solid var(--auto-line);
  border-radius: 999px;
  background: #fff;
  color: var(--auto-ink);
  font-size: 13px;
  cursor: pointer;
}

.whip-msg-ice button:hover {
  border-color: var(--auto-signal);
  color: var(--auto-signal);
  background: var(--auto-signal-soft);
}

html[data-page="messages"] .whip-messenger__panel > .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

html[data-page="messages"] .whip-messenger__panel .chat-conversations {
  flex: 1;
  min-height: 180px;
}

.whip-messenger__blank {
  justify-content: center;
}

html[data-page="messages"] .chat-box {
  display: none !important;
}

html[data-page="messages"] .whip-messenger__blank > .card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  height: 100%;
  text-align: center;
}

.whip-messenger__blank-ico {
  font-size: 56px;
  color: var(--auto-signal);
}

.whip-header-messages__open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--auto-signal, #FA6418) !important;
  text-decoration: none !important;
}
.whip-header-messages__open:hover {
  background: rgba(250, 100, 24, 0.1);
}
.js_live-messages .dropdown-widget .feeds-item.unread {
  background: rgba(250, 100, 24, 0.18);
  box-shadow: inset 3px 0 0 #FA6418;
}
.js_live-messages .dropdown-widget .feeds-item.unread .name {
  font-weight: 800;
}
html[data-page="messages"] .conversation-body .seen:before {
  content: none !important;
  display: none !important;
}
html[data-page="messages"] .conversation-body .seen {
  width: auto;
  font-size: 11px;
  color: #8b9198;
  white-space: nowrap;
}
html[data-page="messages"] .whip-msg-thread__actions .btn {
  border: 0 !important;
  box-shadow: none !important;
}
.whip-crop-square .rcrop-croparea,
.whip-crop-square .rcrop-croparea .rcrop-croparea-inner,
.whip-crop-square .rcrop-wrapper img,
.whip-crop-square #cropped-profile-picture {
  border-radius: 0 !important;
  clip-path: none !important;
}

@media (max-width: 1199.98px) {
  html[data-page="messages"] .whip-messenger {
    --whip-msg-h: calc(100vh - var(--whip-chrome-h, calc(var(--whip-header-h, 52px) + var(--whip-tabbar-h, 64px) + var(--whip-subnav-h, 0px))) - 16px);
    height: var(--whip-msg-h);
    margin-top: 8px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
  }

  html[data-page="messages"] .whip-messenger.sg-offcanvas .sg-offcanvas-sidebar.whip-messenger__rail {
    display: flex !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    z-index: 3;
    padding: 0 8px 8px;
    margin: 0;
    background: transparent;
    box-shadow: none !important;
    transform: translateX(-110%);
    visibility: hidden;
    overflow: hidden;
    transition: transform 0.22s ease, visibility 0.22s ease;
  }

  html[data-page="messages"] .whip-messenger.sg-offcanvas.active .sg-offcanvas-sidebar.whip-messenger__rail {
    transform: translateX(0);
    visibility: visible;
  }

  html[data-page="messages"] .whip-messenger.sg-offcanvas .whip-messenger__stage {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    padding-left: 8px;
    padding-right: 8px;
  }

  html[data-page="messages"] .whip-messenger.sg-offcanvas.active .whip-messenger__stage {
    visibility: hidden;
    pointer-events: none;
  }
}

body.night-mode .whip-messenger__search input,
body.night-mode .whip-msg-search__results,
body.night-mode .whip-msg-connect__card,
body.night-mode .whip-msg-thread__head,
body.night-mode .whip-msg-ice button {
  background: var(--card-dark-color, #262d34);
  border-color: var(--card-dark-divider, #2e3f4d);
  color: var(--body-color-dark);
}

body.night-mode .whip-messenger__title,
body.night-mode .whip-msg-thread__name,
body.night-mode .whip-msg-thread__name a,
body.night-mode html[data-page="messages"] .whip-messenger__threads .name {
  color: var(--body-color-dark);
}

body.night-mode html[data-page="messages"] .whip-messenger__threads .feeds-item {
  background: #232b32;
}

body.night-mode html[data-page="messages"] .whip-messenger__threads .feeds-item.unread {
  background: #2b343c;
  box-shadow: inset 0 0 0 1px rgba(250, 100, 24, 0.35);
}

body.night-mode html[data-page="messages"] .whip-messenger__threads .feeds-item.is-active {
  background: #262d34;
  box-shadow: none;
}

body.night-mode html[data-page="messages"] .whip-msg-unread-bubble {
  box-shadow: 0 0 0 2px #262d34;
}

html[data-page="index"] .js_posts_stream > ul > li.whip-home-reels-slot,
html[data-page="index"] .whip-home-reels-slot {
  display: block;
  float: none;
  width: 100%;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  clear: both;
}

html[data-page="market"][data-view="sales"] .sg-offcanvas-sidebar,
html[data-page="market"][data-view="cart"] .sg-offcanvas-sidebar,
html[data-page="market"][data-view="orders"] .sg-offcanvas-sidebar {
  display: block;
}

.market-hub-sidebar__extra[hidden] {
  display: none !important;
}

.market-hub-sidebar__more {
  margin: 4px 0 8px;
  font-weight: 600;
}

html[data-page="index"] .whip-home-reels-slot .whip-home-reels {
  margin-bottom: 0;
}

html[data-page="index"] .reels-box-wrapper {
  overflow: hidden;
}

html[data-page="index"] .reels-box-wrapper:not(.slick-initialized) {
  display: flex;
  align-items: stretch;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

html[data-page="index"] .reels-box-wrapper:not(.slick-initialized) .reel-box {
  flex: 0 0 220px;
  width: 220px;
  margin-right: 0;
}

html[data-page="index"] .reels-box-wrapper .slick-list,
html[data-page="index"] .reels-box-wrapper .slick-track {
  height: 400px;
}

html[data-page="index"] .reels-box-wrapper .slick-prev,
html[data-page="index"] .reels-box-wrapper .slick-next {
  z-index: 4;
}

html[data-page="index"] .reel-box video {
  height: 100%;
}

.reel-box__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  background: #111;
}

.reel-box video.is-previewed {
  opacity: 0;
}

/* Watch + channels */
.whip-watch-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 18px;
}

.whip-watch-toolbar p {
  margin: 0;
  color: var(--auto-steel, #7a746c);
  font-size: 0.92rem;
}

.whip-watch-page .content-tabs.whip-watch-tabs {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.whip-watch-page .whip-watch-tabs > ul {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  margin: 0;
  padding: 0 4px;
}

.whip-watch-page .whip-watch-tabs > ul > li {
  float: none;
  flex: 1 1 0;
  min-width: 0;
}

.whip-watch-page .whip-watch-tabs > ul > li > a {
  padding: 12px 6px;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .whip-watch-page .whip-watch-tabs > ul > li > a {
    padding: 14px 10px;
    font-size: 14px;
  }
}

.whip-watch-page .whip-watch-tabs .listing-tabs-search {
  flex: 0 0 auto;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 14px 0 0;
  padding: 0 10px 12px;
  order: 3;
}

.whip-watch-sidebar-col {
  position: relative;
}

.whip-watch-sidebar-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin: 0 0 10px;
  padding: 8px 10px;
  border: 1px solid var(--auto-line, rgba(20, 22, 24, 0.12));
  border-radius: 12px;
  background: var(--header-bg-color, #fff);
  color: var(--auto-ink, #141618);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.whip-watch-sidebar-toggle:hover,
.whip-watch-sidebar-toggle:focus {
  color: var(--auto-signal, #FA6418);
  outline: none;
}

.whip-watch-sidebar-toggle .label-show {
  display: none;
}

html.watch-sidebar-collapsed .whip-watch-sidebar-toggle .label-hide {
  display: none;
}

html.watch-sidebar-collapsed .whip-watch-sidebar-toggle .label-show {
  display: inline;
}

html:not(.watch-sidebar-collapsed) .whip-watch-sidebar-toggle {
  background: rgba(250, 100, 24), 0.12);
  color: var(--auto-signal, #FA6418);
}

body.night-mode .whip-watch-sidebar-toggle {
  background: var(--card-dark-color, #262d34);
  border-color: var(--card-dark-divider, #2e3f4d);
  color: var(--body-color-dark, #c1d4e3);
}

@media (min-width: 1200px) {
  html:not(.whip-phone-layout) .whip-watch-sidebar-toggle {
    display: flex;
  }

  html:not(.whip-phone-layout).watch-sidebar-collapsed .whip-watch-sidebar-col {
    flex: 0 0 48px;
    max-width: 48px;
    width: 48px;
    padding-left: 8px;
    padding-right: 0;
  }

  html:not(.whip-phone-layout).watch-sidebar-collapsed .whip-watch-sidebar-body {
    display: none;
  }

  html:not(.whip-phone-layout).watch-sidebar-collapsed .whip-watch-sidebar-toggle {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    margin-bottom: 0;
  }

  html:not(.whip-phone-layout).watch-sidebar-collapsed .whip-watch-sidebar-toggle span {
    display: none;
  }

  html:not(.whip-phone-layout).watch-sidebar-collapsed .whip-watch-sidebar-col ~ .sg-offcanvas-mainbar {
    flex: 1 1 auto;
    max-width: calc(100% - 48px);
    width: auto;
  }
}

html.whip-phone-layout .whip-watch-sidebar-toggle {
  display: none !important;
}

.whip-watch-upload {
  margin: 0 0 18px;
}

.whip-watch-upload__publisher.publisher {
  position: relative;
  padding: 16px;
  border: 1px solid var(--auto-line, rgba(20, 22, 24, 0.12));
  border-radius: 16px;
  background: var(--header-bg-color, #fff);
  box-shadow: none;
}

.whip-watch-upload__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.whip-watch-upload__head strong {
  font-size: 16px;
}

.whip-watch-upload__head span {
  color: var(--auto-steel, #7a746c);
  font-size: 13px;
}

.whip-watch-upload__drop {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  border: 2px dashed var(--auto-line, rgba(20, 22, 24, 0.18));
  border-radius: 14px;
  background: rgba(250, 100, 24), 0.04);
}

.whip-watch-upload__drop form.x-uploader {
  position: relative;
  display: block;
  width: 100%;
  min-height: 168px;
}

.whip-watch-upload__picker {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 168px;
  padding: 24px 16px;
  text-align: center;
  pointer-events: none;
}

.whip-watch-upload__picker i {
  font-size: 28px;
  color: var(--auto-signal, #FA6418);
}

.whip-watch-upload__picker em {
  font-style: normal;
  font-weight: 700;
  color: var(--auto-ink, #141618);
}

.whip-watch-upload__picker small {
  color: var(--auto-steel, #7a746c);
  font-size: 12px;
}

.whip-watch-upload__caption {
  margin-top: 14px;
}

.whip-watch-upload__caption .form-label {
  font-size: 13px;
  font-weight: 700;
}

.whip-watch-upload__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.whip-watch-upload__publisher .publisher-meta[data-meta="video"] {
  margin: 12px 0 0;
}

.whip-watch-upload__publisher .publisher-custom-thumbnail {
  margin: 12px 0 0;
}

.whip-watch-upload__notice {
  margin-bottom: 18px;
}

body.night-mode .whip-watch-upload__publisher.publisher {
  background: var(--card-dark-color, #262d34);
  border-color: var(--card-dark-divider, #2e3f4d);
}

body.night-mode .whip-watch-upload__drop {
  background: rgba(250, 100, 24), 0.08);
  border-color: var(--card-dark-divider, #2e3f4d);
}

body.night-mode .whip-watch-upload__picker em,
body.night-mode .whip-watch-upload__head strong {
  color: var(--body-color-dark, #c1d4e3);
}

.whip-watch-channel-link {
  margin-left: 8px;
  color: var(--auto-signal, #FA6418);
  font-size: 0.78rem;
  font-weight: 700;
}

.whip-watch-subscribe {
  margin-left: 8px;
  vertical-align: middle;
}

.whip-channel-search {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.whip-channel-search .form-control {
  flex: 1 1 auto;
}

.whip-channel-grid,
.whip-channel-videos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0 0 16px;
  list-style: none;
}

.whip-watch-reels {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0 0 16px;
  list-style: none;
}

.whip-channel-card,
.whip-channel-video,
.whip-channel-profile {
  overflow: hidden;
  border: 1px solid var(--auto-line, rgba(250, 100, 24), 0.18));
  border-radius: 12px;
  background: #fff;
}

.whip-channel-card {
  display: flex;
  flex-direction: column;
  padding: 0 0 14px;
}

.whip-channel-card__cover {
  display: block;
  height: 92px;
  background: #ece8e1 center / cover no-repeat;
}

.whip-channel-card__avatar {
  width: 64px;
  margin: -28px 14px 0;
}

.whip-channel-card__avatar img {
  width: 64px;
  height: 64px;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.whip-channel-card__body {
  padding: 8px 14px 0;
}

.whip-channel-card__title,
.whip-channel-profile h1,
.whip-channel-video__title {
  color: var(--auto-ink, #1b1b1b);
  font-weight: 800;
  text-decoration: none;
}

.whip-channel-card__meta,
.whip-channel-profile__meta,
.whip-channel-video__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 4px 0 8px;
  color: var(--auto-steel, #7a746c);
  font-size: 0.78rem;
}

.whip-channel-card__body p,
.whip-channel-profile__about {
  margin: 0;
  color: var(--auto-steel, #7a746c);
  font-size: 0.86rem;
}

.whip-channel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.whip-channel-tags span,
.whip-channel-tags a {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(250, 100, 24), 0.1);
  color: var(--auto-signal, #FA6418);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
}

.whip-channel-card__actions,
.whip-channel-profile__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.whip-channel-profile {
  margin-bottom: 22px;
}

.whip-channel-profile__cover {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #1b1713;
}

.whip-channel-profile__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.whip-channel-profile__cover-edit,
.whip-channel-profile__avatar-edit {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px !important;
  height: 38px !important;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 22, 24, 0.72) !important;
  color: #fff;
  cursor: pointer;
}

.whip-channel-profile__cover-edit {
  right: 14px;
  bottom: 14px;
}

.whip-channel-profile__cover-edit:before,
.whip-channel-profile__avatar-edit:before {
  display: none;
}

.whip-channel-profile__cover-edit .js_x-uploader,
.whip-channel-profile__avatar-edit .js_x-uploader {
  color: #fff;
}

.whip-channel-profile__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  padding: 0 18px 14px;
  margin-top: -44px;
}

.whip-channel-profile__avatar-wrap {
  position: relative;
  flex: 0 0 auto;
}

.whip-channel-profile__avatar {
  width: 88px;
  height: 88px;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.whip-channel-profile__avatar-edit {
  right: -2px;
  bottom: -2px;
}

.whip-channel-profile__who {
  flex: 1 1 200px;
  min-width: 0;
  padding-top: 44px;
}

.whip-channel-profile h1 {
  margin: 0 0 4px;
  font-size: 1.4rem;
}

.whip-channel-profile__verified {
  color: var(--auto-signal, #FA6418);
  font-size: 0.85rem;
}

.whip-channel-profile__actions {
  padding-top: 44px;
}

.whip-channel-profile__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 12px;
}

.whip-channel-profile__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--auto-line, rgba(250, 100, 24), 0.22));
  border-radius: 999px;
  color: var(--auto-ink, #1b1b1b);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.whip-channel-profile__links a:hover {
  border-color: rgba(250, 100, 24), 0.5);
  color: var(--auto-signal, #FA6418);
}

.whip-channel-profile__about {
  padding: 0 18px 16px;
}

.whip-channel-profile__about p {
  margin: 0 0 10px;
}

.whip-channel-profile__about p:last-child {
  margin-bottom: 0;
}

.whip-channel-profile__about img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.whip-watch-page .whip-channel-profile {
  overflow: visible;
  background: var(--header-bg-color, #fff);
}

.whip-watch-page .whip-channel-profile__cover {
  height: auto !important;
  min-height: 0;
  aspect-ratio: 2.4 / 1;
  background: linear-gradient(135deg, #2a2622 0%, #141618 55%, #3a2418 100%);
}

.whip-watch-page .whip-channel-profile__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.whip-watch-page .whip-channel-profile__cover.is-default img {
  opacity: 0.42;
}

.whip-watch-page .whip-channel-profile__identity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
  padding: 16px 18px 8px;
  margin: 0;
}

.whip-watch-page .whip-channel-profile__avatar {
  width: 84px;
  height: 84px;
  border-width: 3px;
}

.whip-watch-page .whip-channel-profile__who {
  flex: 1 1 220px;
  min-width: 0;
  padding-top: 0;
}

.whip-watch-page .whip-channel-profile h1 {
  margin: 0 0 2px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.whip-watch-page .whip-channel-profile__user {
  display: block;
  margin-bottom: 8px;
  color: var(--auto-steel, #7a746c);
  font-size: 0.92rem;
  font-weight: 700;
}

.whip-watch-page .whip-channel-profile__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.whip-watch-page .whip-channel-profile__stats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(250, 100, 24), 0.1);
  color: var(--auto-ink, #1b1b1b);
  font-size: 0.78rem;
  font-weight: 650;
}

.whip-watch-page .whip-channel-profile__stats strong {
  color: var(--auto-signal, #FA6418);
  font-weight: 800;
}

.whip-watch-page .whip-channel-profile__actions {
  padding-top: 0;
  margin-left: auto;
}

.whip-watch-page .whip-channel-profile__links,
.whip-watch-page .whip-channel-profile__about {
  padding-left: 18px;
  padding-right: 18px;
}

@media (min-width: 768px) {
  .whip-watch-page .whip-channel-profile__cover {
    aspect-ratio: 3 / 1;
  }
}

@media (min-width: 1200px) {
  .whip-watch-page .whip-channel-profile__cover {
    aspect-ratio: 3.5 / 1;
  }
}

body.night-mode .whip-watch-page .whip-channel-profile {
  background: var(--card-dark-color, #262d34);
}

body.night-mode .whip-watch-page .whip-channel-profile__stats span {
  background: rgba(250, 100, 24), 0.16);
  color: var(--body-color-dark, #c1d4e3);
}

.whip-channel-form__media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 16px;
  margin-bottom: 8px;
}

.whip-channel-form__cover {
  min-height: 160px;
  height: 160px;
}

.whip-channel-form__picture {
  width: 128px;
  height: 128px;
  border-radius: 50%;
}

.whip-channel-form__media .x-image > i.js_x-uploader,
.whip-store-form__media .x-image > i.js_x-uploader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 1.35rem;
  color: var(--auto-steel, #6e767f);
  z-index: 1;
}

.whip-channel-section {
  margin-bottom: 22px;
}

.whip-channel-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.whip-channel-section__head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.whip-channel-video__media,
.whip-channel-reel__media {
  position: relative;
  display: block;
  background: #111;
}

.whip-channel-video__media {
  aspect-ratio: 16 / 9;
}

.whip-channel-reel__media {
  aspect-ratio: 9 / 14;
  border-radius: 12px;
  overflow: hidden;
}

.whip-channel-video__thumb,
.whip-channel-reel__thumb {
  display: block;
  width: 100%;
  height: 100%;
  background: #1b1b1b center / cover no-repeat;
}

.whip-channel-video__thumb--empty,
.whip-channel-reel__thumb--empty,
.whip-channel-video__play,
.whip-channel-reel__play {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.whip-channel-video__play,
.whip-channel-reel__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 36px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
}

.whip-channel-reel__views {
  position: absolute;
  left: 8px;
  bottom: 8px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.whip-channel-video__body {
  padding: 10px 12px 12px;
}

.whip-channel-form .form-group {
  margin-bottom: 14px;
}

@media (min-width: 1200px) {
  .whip-channel-profile__cover {
    height: 360px;
  }
}

@media (max-width: 1199.98px) {
  .whip-watch-page .whip-watch-tabs > ul > li > a {
    padding: 11px 4px;
    font-size: 11px;
  }

  .whip-watch-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .whip-channel-grid,
  .whip-channel-videos {
    grid-template-columns: 1fr;
  }

  .whip-watch-reels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .whip-channel-profile__cover {
    height: 200px;
  }

  .whip-channel-form__media {
    grid-template-columns: 1fr;
  }

  .whip-channel-profile__who,
  .whip-channel-profile__actions {
    padding-top: 8px;
  }
}

.whip-store-dir__head,
.whip-store-admin__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.whip-store-admin__panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.whip-store-admin__panels .card {
  margin-bottom: 0;
}

.whip-store-dir__head h1,
.whip-store-admin__head h1 {
  margin: 0 0 6px;
  font-family: var(--auto-display, inherit);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  color: var(--auto-ink, #1b1b1b);
}

.whip-store-dir__head p,
.whip-store-admin__head p {
  margin: 0;
  color: var(--auto-steel, #6e767f);
}

.whip-store-dir__actions,
.whip-store-dir__search {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.whip-store-dir__search {
  margin-bottom: 18px;
}

.whip-store-dir__search .form-control {
  max-width: 360px;
}

.whip-store-grid,
.whip-store-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.whip-store-card {
  list-style: none;
}

.whip-store-card__link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.whip-store-card .whip-channel-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 14px;
}

.whip-store-card .whip-channel-card__body small,
.whip-store-card .whip-channel-card__meta {
  color: var(--auto-steel, #6e767f);
  font-style: normal;
}

.whip-storefront-page {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.whip-storefront.whip-channel-profile,
.whip-storefront.auto-profile {
  margin-bottom: 0;
}

.whip-storefront .profile-header {
  overflow: visible;
  border: 1px solid var(--auto-line, rgba(20, 22, 24, 0.08));
  border-radius: 4px;
  background: var(--auto-panel, #fbfaf7);
  margin-bottom: 16px;
}

.whip-storefront .profile-cover-wrapper {
  position: relative;
  overflow: hidden;
}

/* Store cover camera: top-right */
html[data-page="stores"] .whip-storefront .profile-cover-buttons {
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  opacity: 1;
  z-index: 5;
}

html[data-page="stores"] .whip-storefront .profile-cover-buttons > div {
  float: none;
  margin: 0;
  width: 40px;
  height: 40px;
  padding: 0 !important;
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  overflow: visible;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

html[data-page="stores"] .whip-storefront .profile-cover-buttons > div:hover {
  background: rgba(0, 0, 0, 0.88);
}

html[data-page="stores"] .whip-storefront .profile-cover-buttons > div > i.js_x-uploader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 16px;
  color: #fff;
}

/* Store logo camera: visible bottom-right on the logo */
html[data-page="stores"] .whip-storefront .profile-avatar-wrapper.is-own-avatar {
  overflow: visible !important;
}

html[data-page="stores"] .whip-storefront .profile-avatar-wrapper.is-own-avatar .profile-avatar-change,
html[data-page="stores"] .whip-storefront .profile-avatar-wrapper.is-own-avatar .profile-avatar-crop,
html[data-page="stores"] .whip-storefront .profile-avatar-wrapper.is-own-avatar .profile-avatar-delete {
  width: 22px !important;
  height: 22px !important;
  font-size: 10px !important;
  padding: 0 !important;
  position: absolute !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72) !important;
  color: #fff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

html[data-page="stores"] .whip-storefront .profile-avatar-wrapper.is-own-avatar .profile-avatar-change {
  right: -3px !important;
  bottom: -3px !important;
  left: auto !important;
  top: auto !important;
  z-index: 9;
}

html[data-page="stores"] .whip-storefront .profile-avatar-wrapper.is-own-avatar .profile-avatar-crop {
  right: -3px !important;
  top: -3px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 8;
}

html[data-page="stores"] .whip-storefront .profile-avatar-wrapper.is-own-avatar .profile-avatar-delete {
  left: -3px !important;
  right: auto !important;
  bottom: -3px !important;
  top: auto !important;
  z-index: 8;
}

html[data-page="stores"] .whip-storefront .profile-avatar-wrapper.is-own-avatar .profile-avatar-change > i.js_x-uploader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 14px;
  color: #fff;
}

/* Desktop storefront: cover flush under header */
html:not(.whip-phone-layout)[data-page="stores"] .whip-stores-page--front {
  margin-top: 0 !important;
}

html:not(.whip-phone-layout)[data-page="stores"] .whip-storefront-page,
html:not(.whip-phone-layout)[data-page="stores"] .whip-storefront.auto-profile {
  margin-top: 0;
}

html:not(.whip-phone-layout)[data-page="stores"] .whip-storefront .profile-header {
  margin-top: 0;
  border-radius: 0 0 4px 4px;
}

html:not(.whip-phone-layout)[data-page="stores"] .whip-storefront__nav {
  display: none !important;
}

.whip-storefront .whip-storefront__name {
  margin-top: 14px;
}

.whip-storefront__head-row {
  align-items: flex-end;
}

.whip-storefront__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 0;
}

.whip-storefront__layout {
  display: block;
}

.whip-storefront__layout.has-sidebar {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.whip-storefront__sidebar.home-rail {
  position: sticky;
  top: 72px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
}

.whip-storefront__sidebar .home-rail__card {
  margin: 0;
}

.whip-storefront__navlist a,
.whip-storefront__catlist a {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100%;
  font-family: var(--auto-display);
  font-weight: 500 !important;
  letter-spacing: 0.02em;
}

.whip-storefront__navlist a > i {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  border-radius: 50%;
  background: var(--auto-signal-soft, #FEE8DD);
  color: var(--auto-signal, #FA6418) !important;
  font-size: 16px !important;
  line-height: 1 !important;
  text-align: center;
}

.whip-storefront__catlist {
  gap: 8px;
}

.whip-storefront__cat-parent {
  display: block;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(20, 22, 24, 0.12);
  border-radius: 10px;
  background: var(--auto-panel, #f7f6f3);
}

.whip-storefront__cat-parent.active {
  border-color: rgba(250, 100, 24, 0.35);
  background: rgba(250, 100, 24, 0.06);
}

.whip-storefront__cat-parent-link {
  display: flex !important;
  align-items: center;
  min-height: 48px !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  font-family: var(--auto-display);
  font-size: 18px !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em;
  line-height: 1.2 !important;
  color: var(--auto-ink, #141618) !important;
}

.whip-storefront__cat-parent.active > .whip-storefront__cat-parent-link,
.whip-storefront__cat-parent-link:hover {
  color: var(--auto-signal, #FA6418) !important;
  background: transparent !important;
}

.whip-storefront__cat-subs {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.whip-storefront__cat-subs:empty {
  display: none;
}

.whip-storefront__catlist li.is-sub > a,
.whip-storefront__cat-subs .is-sub > a {
  min-height: 40px !important;
  padding: 8px 12px 8px 20px !important;
  font-family: var(--auto-display);
  font-size: 16px !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em;
  line-height: 1.2 !important;
  opacity: 1;
  color: var(--auto-steel, #6e767f) !important;
}

.whip-storefront__cat-subs .is-sub.active > a,
.whip-storefront__cat-subs .is-sub > a:hover {
  color: var(--auto-signal, #FA6418) !important;
  background: rgba(250, 100, 24, 0.08) !important;
}

html:not(.whip-phone-layout) .whip-storefront__sidebar .home-rail__label {
  font-family: var(--auto-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--auto-ink, #141618);
}

html:not(.whip-phone-layout) .whip-storefront__sidebar .whip-storefront__navlist a {
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 12px;
  font-family: var(--auto-display);
  font-size: 18px;
  font-weight: 500 !important;
  letter-spacing: 0.02em;
}

html:not(.whip-phone-layout) .whip-storefront__sidebar .whip-storefront__cat-all > a {
  min-height: 48px;
  font-family: var(--auto-display);
  font-size: 18px;
  font-weight: 500 !important;
  letter-spacing: 0.02em;
}

html:not(.whip-phone-layout) .whip-storefront__sidebar .whip-storefront__cat-parent-link {
  font-size: 18px !important;
  font-weight: 500 !important;
}

.whip-storefront__navlist .whip-storefront__cart-count,
.whip-storefront__catlist .whip-storefront__cart-count {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--auto-signal, #FA6418);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  font-style: normal;
}

body.night-mode .whip-storefront__cat-parent {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

body.night-mode .whip-storefront__cat-parent.active {
  background: rgba(250, 100, 24, 0.12);
  border-color: rgba(250, 100, 24, 0.4);
}

body.night-mode .whip-storefront__cat-parent-link {
  color: #e8eef4 !important;
}

.whip-storefront__main {
  min-width: 0;
}

html:not(.whip-phone-layout)[data-page="stores"] .whip-storefront .profile-avatar-wrapper,
html:not(.whip-phone-layout)[data-page="stores"] .whip-storefront .profile-avatar-wrapper:not(.static) {
  width: 148px;
  height: 148px;
  flex: 0 0 148px;
  margin-top: -72px !important;
  border-width: 4px;
  overflow: visible;
}

html:not(.whip-phone-layout)[data-page="stores"] .whip-storefront .profile-avatar-wrapper img,
html:not(.whip-phone-layout)[data-page="stores"] .whip-storefront .profile-avatar-wrapper img.js_store-logo-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

html:not(.whip-phone-layout)[data-page="stores"] .whip-storefront .profile-avatar-wrapper.is-own-avatar {
  overflow: visible !important;
}

html:not(.whip-phone-layout)[data-page="stores"] .whip-storefront__head-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding: 0 1.25rem 0.85rem;
}

html:not(.whip-phone-layout)[data-page="stores"] .whip-storefront__actions {
  flex: 0 0 auto;
  margin-left: auto;
  padding-bottom: 4px;
}

html.whip-phone-layout[data-page="stores"] .whip-storefront__head-row {
  display: flex;
  flex-direction: column;
  align-items: center !important;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 12px 0.5rem;
  margin-top: -56px;
  text-align: center;
  background: transparent;
}

html.whip-phone-layout[data-page="stores"] .whip-storefront .profile-avatar-wrapper,
html.whip-phone-layout[data-page="stores"] .whip-storefront .profile-avatar-wrapper:not(.static) {
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
  margin: 0 auto !important;
  border-width: 3px;
  order: 1;
  overflow: visible;
}

html.whip-phone-layout[data-page="stores"] .whip-storefront .profile-avatar-wrapper img,
html.whip-phone-layout[data-page="stores"] .whip-storefront .profile-avatar-wrapper img.js_store-logo-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

html.whip-phone-layout[data-page="stores"] .whip-storefront .auto-profile__identity {
  display: flex;
  flex-direction: column;
  align-items: center !important;
  width: 100%;
  order: 2;
  text-align: center;
  padding: 4px 0 2px !important;
}

html.whip-phone-layout[data-page="stores"] .whip-storefront__name,
html.whip-phone-layout[data-page="stores"] .whip-storefront .auto-profile__titles {
  justify-content: center;
  text-align: center;
}

html.whip-phone-layout[data-page="stores"] .whip-storefront .whip-storefront__name {
  margin-top: 4px;
}

html.whip-phone-layout[data-page="stores"] .whip-storefront .whip-storefront__name a {
  font-size: 1.35rem;
}

html.whip-phone-layout[data-page="stores"] .whip-storefront__actions {
  order: 3;
  width: 100%;
  margin-left: 0;
  justify-content: center;
  padding: 4px 0 8px;
}

html.whip-phone-layout[data-page="stores"] .whip-storefront__actions .auto-profile__btn {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
}

html.whip-phone-layout[data-page="stores"] .whip-storefront__layout.has-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

html.whip-phone-layout[data-page="stores"] .whip-storefront__sidebar.home-rail {
  position: static;
  top: auto;
  gap: 8px;
}

html.whip-phone-layout[data-page="stores"] .whip-storefront__nav-card {
  display: none;
}

html.whip-phone-layout[data-page="stores"] .whip-storefront__cats-card {
  padding: 8px;
}

html.whip-phone-layout[data-page="stores"] .whip-storefront__cats-card .home-rail__label {
  margin-bottom: 6px;
}

html.whip-phone-layout[data-page="stores"] .whip-storefront__catlist {
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  gap: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

html.whip-phone-layout[data-page="stores"] .whip-storefront__catlist::-webkit-scrollbar {
  display: none;
}

html.whip-phone-layout[data-page="stores"] .whip-storefront__catlist li {
  flex: 0 0 auto;
}

html.whip-phone-layout[data-page="stores"] .whip-storefront__cat-parent {
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}

html.whip-phone-layout[data-page="stores"] .whip-storefront__cat-subs {
  display: none;
}

html.whip-phone-layout[data-page="stores"] .whip-storefront__catlist a,
html.whip-phone-layout[data-page="stores"] .whip-storefront__cat-parent-link {
  white-space: nowrap;
  padding: 6px 12px !important;
  min-height: 0 !important;
  border-radius: 999px !important;
  background: #fff !important;
  border: 1px solid rgba(20, 22, 24, 0.1);
  font-size: 0.9rem !important;
  font-weight: 650 !important;
}

html.whip-phone-layout[data-page="stores"] .whip-storefront__catlist li.active > a,
html.whip-phone-layout[data-page="stores"] .whip-storefront__cat-parent.active > .whip-storefront__cat-parent-link {
  background: rgba(250, 100, 24, 0.12) !important;
  border-color: rgba(250, 100, 24, 0.35);
  color: var(--auto-signal, #FA6418) !important;
}

html.whip-phone-layout .whip-bottom-cart {
  position: relative;
}

html.whip-phone-layout .whip-bottom-cart__count {
  position: absolute;
  top: 0;
  right: calc(50% - 18px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--auto-signal, #FA6418);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}

.whip-store-order-review {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 220px;
}

.whip-store-order-review .form-control,
.whip-store-order-review .form-select {
  width: auto;
  flex: 1 1 120px;
}

.whip-storefront .whip-channel-profile__cover {
  height: 220px;
  background: var(--auto-asphalt, #22262b);
}

@media (min-width: 1200px) {
  .whip-storefront .whip-channel-profile__cover {
    height: 220px;
  }
}

.whip-storefront__nav,
.whip-store-admin__nav {
  margin: 0 0 18px;
}

.whip-storefront__nav .auto-profile__tab-icon {
  width: 3.2rem;
  height: 3.2rem;
}

.whip-storefront__nav .auto-profile__tab-icon i {
  font-size: 1.5rem;
}

.whip-storefront__nav.auto-profile__tabs.profile-tabs-wrapper a,
.whip-storefront__nav.auto-profile__tabs.profile-tabs-wrapper .auto-profile__tab {
  min-height: 5.75rem;
  min-width: 5.4rem;
  gap: 0.5rem;
}

.whip-storefront__nav.has-cats.auto-profile__tabs.profile-tabs-wrapper {
  margin-bottom: 0 !important;
}

.whip-store-tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 12px 10px;
}

.whip-store-tools__count {
  display: none;
}

.whip-store-inquiry-compose {
  margin: 0 12px 10px;
  padding: 10px;
  border: 1px solid rgba(20, 22, 24, 0.12);
  border-radius: 12px;
  background: #fff;
}

.whip-store-inquiry-compose__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

.whip-store-inquiry {
  display: inline-flex;
  align-items: center;
  margin: 0 0 6px;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--auto-signal, #FA6418);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

html.whip-phone-layout .whip-storefront .auto-profile__actions {
  justify-content: center;
  width: 100%;
  padding: 0;
}

html.whip-phone-layout .whip-storefront .whip-store-tools {
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 12px 10px;
}

html.whip-phone-layout .whip-storefront .whip-store-tools__btn {
  flex: 0 1 auto;
  min-width: 0;
  justify-content: center;
  padding: 6px 12px;
  font-size: 11px;
  text-align: center;
}

html.whip-phone-layout .whip-storefront .whip-store-tools__btn > span:first-of-type {
  min-width: 0;
  line-height: 1.15;
  white-space: normal;
}

.whip-storefront__nav.auto-profile__tabs.profile-tabs-wrapper {
  justify-content: center !important;
}

.whip-storefront__cart-tab .auto-profile__tab-icon {
  position: relative;
}

.whip-storefront__cart-count {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--auto-signal, #FA6418);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}

/* Feed flicks: custom timebar + mute, fit 9:16, click opens overlay */
.whip-feed-flick {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  max-height: min(72vh, 640px);
  overflow: hidden;
  background: #0b0c0e;
  border-radius: 12px;
  cursor: pointer;
}

.whip-feed-flick .plyr,
.whip-feed-flick .plyr--video,
.whip-feed-flick.whip-feed-flick__player,
.whip-feed-flick .whip-feed-flick__player {
  width: 100% !important;
  height: 100% !important;
  border-radius: 12px;
  overflow: hidden;
}

.whip-feed-flick video.js_feed-flick,
.whip-feed-flick .plyr video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  background: #0b0c0e;
}

.whip-feed-flick .plyr__controls {
  display: none !important;
}

.whip-feed-flick__mute {
  position: absolute;
  top: 12px;
  right: 56px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 22, 24, 0.42);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.whip-feed-flick__mute .whip-feed-flick__mute-off {
  display: none;
}

.whip-feed-flick.is-muted .whip-feed-flick__mute .whip-feed-flick__mute-on {
  display: none;
}

.whip-feed-flick.is-muted .whip-feed-flick__mute .whip-feed-flick__mute-off {
  display: inline-block;
}

.whip-feed-flick__timebar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: 14px 10px 10px;
  cursor: pointer;
  touch-action: none;
}

.whip-feed-flick__timebar-track {
  position: relative;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.whip-feed-flick.is-scrubbing .whip-feed-flick__timebar-track,
.whip-feed-flick__timebar:active .whip-feed-flick__timebar-track {
  height: 5px;
}

.whip-feed-flick__timebar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: inherit;
  background: #fff;
  pointer-events: none;
}

.whip-feed-flick__timebar-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  transform: translateY(-50%);
  pointer-events: none;
}

html.whip-phone-layout .whip-feed-flick {
  max-width: 100%;
  max-height: min(68vh, 560px);
  border-radius: 10px;
}

html.whip-phone-layout .whip-feed-flick__mute {
  top: 10px;
  right: 12px;
}

/* Fullscreen flicks overlay opened from feed (no page reload) */
.whip-flicks-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: #000;
  overflow: hidden;
}

.whip-flicks-overlay.is-open {
  display: block;
}

.whip-flicks-overlay__loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.whip-flicks-overlay .reels-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  z-index: 1;
}

.whip-flicks-overlay .reel-container {
  height: 100%;
  min-height: 100%;
  padding-top: 0;
  padding-bottom: 0;
}

.whip-flicks-overlay .reel-video-wrapper .reel-video-container .plyr,
.whip-flicks-overlay .reel-video-wrapper .reel-video-container .plyr--video {
  height: 100dvh !important;
  width: 100% !important;
  background: #000;
}

.whip-flicks-overlay .reel-video-wrapper .reel-video-container .plyr video,
.whip-flicks-overlay .reel-video-wrapper .reel-video-container video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

html.whip-flicks-open,
html.whip-flicks-open body {
  overflow: hidden !important;
}

html.whip-phone-layout .whip-storefront__nav.auto-profile__tabs.profile-tabs-wrapper a,
html.whip-phone-layout .whip-storefront__nav.auto-profile__tabs.profile-tabs-wrapper .auto-profile__tab {
  flex: 0 1 auto;
}

.whip-store-tools__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--auto-line, rgba(20, 22, 24, 0.12));
  border-radius: 999px;
  background: #fff;
  color: #141618;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.whip-store-tools__btn i {
  font-size: 14px;
  color: #141618;
}

.whip-store-tools__btn.is-on,
.whip-store-tools__btn:hover {
  border-color: rgba(20, 22, 24, 0.28);
  color: #141618;
}

.whip-store-catsbar {
  display: none;
}

.whip-store-report {
  margin-top: 14px;
}

.whip-store-report__open,
.whip-store-report__choices button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--auto-steel, #6e767f);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.whip-store-report__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.whip-store-report__choices button:hover,
.whip-store-report__open:hover {
  color: #141618;
  text-decoration: underline;
}

.whip-storefront__nav a.is-on,
.whip-store-admin__nav a.is-on {
  border-color: rgba(250, 100, 24), 0.5);
  color: var(--auto-signal, #FA6418);
  background: rgba(250, 100, 24), 0.08);
}

.whip-storefront__tagline {
  margin: 4px 0 0;
  color: var(--auto-steel, #6e767f);
}

.whip-storefront__vacation {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  background: rgba(20, 22, 24, 0.78);
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

.whip-storefront__cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.whip-storefront__cats a {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--auto-line, rgba(250, 100, 24), 0.22));
  border-radius: 999px;
  color: var(--auto-ink, #1b1b1b);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.whip-storefront__cats a.is-on,
.whip-storefront__cats a:hover {
  border-color: rgba(250, 100, 24), 0.5);
  color: var(--auto-signal, #FA6418);
}

.whip-storefront__promo {
  display: flex;
  gap: 6px;
}

.whip-store-item {
  background: #fff;
  border: 1px solid var(--auto-line, rgba(250, 100, 24), 0.18));
  border-radius: 12px;
  overflow: hidden;
}

.whip-store-item__media {
  display: block;
  position: relative;
  aspect-ratio: 1;
  background: var(--auto-paper, #efeeea);
}

.whip-store-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.whip-store-item__price,
.whip-store-item__sold {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
}

.whip-store-item__sold {
  left: auto;
  right: 10px;
  background: #222;
  color: #fff;
}

.whip-store-item__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}

.whip-store-item__title {
  color: inherit;
  font-weight: 700;
}

.whip-store-product {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  background: #fff;
  border: 1px solid var(--auto-line, rgba(250, 100, 24), 0.18));
  border-radius: 12px;
  padding: 16px;
}

.whip-store-product__photos {
  display: grid;
  gap: 10px;
}

.whip-store-product__photos img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.whip-store-add-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 4px 0 12px;
  padding: 0;
  border: 1px dashed rgba(20, 22, 24, 0.22);
  border-radius: 50%;
  background: var(--auto-panel, #f7f6f3);
  color: var(--auto-signal, #FA6418);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.whip-store-add-slot:hover {
  border-color: var(--auto-signal, #FA6418);
  background: rgba(250, 100, 24, 0.08);
}

.whip-store-add-slot--photo {
  width: 96px;
  height: 96px;
  margin: 0;
  border-radius: 10px;
  font-size: 22px;
}

.whip-store-product-photos .x-image > i.js_x-uploader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 1.25rem;
  color: var(--auto-steel, #6e767f);
  z-index: 1;
}

.whip-store-product-options__row .js_store-option-remove {
  flex: 0 0 38px;
  width: 38px;
  padding: 0;
}

.whip-store-product__price {
  font-size: 28px;
  font-weight: 800;
  margin: 8px 0 12px;
}

.whip-store-product__desc {
  margin-bottom: 16px;
  white-space: pre-wrap;
}

.whip-store-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.whip-store-stats div {
  background: rgba(250, 100, 24), 0.06);
  border: 1px solid var(--auto-line, rgba(250, 100, 24), 0.18));
  border-radius: 12px;
  padding: 14px;
}

.whip-store-stats strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
}

.whip-store-stats span {
  display: block;
  margin-top: 4px;
  color: var(--auto-steel, #6e767f);
  font-size: 13px;
}

.whip-store-dash__hello {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.whip-store-dash__hello h2 {
  margin: 0 0 4px;
  font-size: 1.35rem;
}

.whip-store-dash__hello p {
  margin: 0;
  color: var(--auto-steel, #6e767f);
}

.whip-store-dash__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.whip-store-dash__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.whip-store-dash__panel {
  padding: 14px;
  border: 1px solid var(--auto-line, rgba(20, 22, 24, 0.08));
  border-radius: 14px;
  background: #fff;
}

.whip-store-dash__panel h5 {
  margin: 0 0 10px;
}

.whip-store-dash__status {
  text-transform: capitalize;
  font-size: 12px;
  font-weight: 700;
  color: var(--auto-signal, #FA6418);
}

.whip-store-admin-list__child {
  padding-left: 22px;
}

@media (max-width: 767.98px) {
  .whip-store-dash__hello,
  .whip-store-dash__split {
    display: block;
  }

  .whip-store-dash__actions {
    margin-top: 12px;
    justify-content: flex-start;
  }

  .whip-store-dash__split {
    display: grid;
    grid-template-columns: 1fr;
  }
}
}

.whip-store-admin-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.whip-store-admin-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--auto-line, rgba(20, 22, 24, 0.1));
}

.whip-store-admin-list img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
}

.whip-store-admin-list span {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.whip-store-admin-list__actions {
  flex-direction: row !important;
  gap: 6px;
  flex: 0 0 auto;
}

.whip-store-form .form-group {
  margin-bottom: 14px;
}

.whip-store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1f8a4c;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
}

.whip-store-qty {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.whip-store-qty .form-control {
  width: 64px;
  text-align: center;
}

.whip-store-product__compare {
  margin-left: 8px;
  color: var(--auto-steel, #6e767f);
  font-size: 18px;
  font-weight: 500;
}

.whip-store-soldby {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--auto-line, rgba(250, 100, 24), 0.18));
}

.whip-store-review {
  background: #fff;
  border: 1px solid var(--auto-line, rgba(250, 100, 24), 0.18));
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
}

.whip-store-review p {
  margin: 8px 0;
}

.whip-store-post-media {
  max-width: 100%;
  border-radius: 12px;
  margin: 10px 0;
}

.whip-store-post-products {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.whip-store-bag-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--auto-line, rgba(250, 100, 24), 0.18));
}

.whip-stores-page .card {
  border: 1px solid var(--auto-line, rgba(250, 100, 24), 0.18));
  border-radius: 12px;
}

.whip-store-sidebar .card-header {
  font-family: var(--auto-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 16px 8px;
}

.whip-store-sidebar .side-nav a {
  display: flex !important;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 12px !important;
  border-radius: 12px;
  font-family: var(--auto-display);
  font-size: 18px;
  font-weight: 500 !important;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--auto-ink, #141618) !important;
}

.whip-store-sidebar .side-nav a:hover {
  background: rgba(250, 100, 24, 0.08);
  color: var(--auto-signal, #FA6418) !important;
}

.whip-store-sidebar .side-nav > li.active > a {
  background: var(--auto-signal-soft, #FEE8DD);
  color: var(--auto-signal, #FA6418) !important;
}

.whip-store-sidebar .side-nav a > .main-icon,
.whip-store-sidebar .side-nav a > i.main-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  border-radius: 50%;
  background: var(--auto-signal-soft, #FEE8DD);
  color: var(--auto-signal, #FA6418) !important;
  font-size: 16px !important;
  line-height: 1 !important;
}

.whip-store-sidebar__store {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: inherit;
  text-decoration: none;
}

.whip-store-sidebar__store img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--auto-paper, #efeeea);
}

.whip-store-sidebar__store span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.whip-store-sidebar__store small {
  color: var(--auto-steel, #6e767f);
  font-size: 0.78rem;
}

.whip-store-sidebar__cta .btn {
  justify-content: flex-start;
}

@media (min-width: 1200px) {
  .whip-store-sidebar {
    position: sticky;
    top: 84px;
  }
}

.whip-store-admin-list li {
  border-bottom-color: var(--auto-line, rgba(250, 100, 24), 0.18));
}

.whip-storefront__cats {
  list-style: none;
}

@media (max-width: 767.98px) {
  .whip-store-grid,
  .whip-store-items {
    grid-template-columns: 1fr 1fr;
  }

  .whip-store-product {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .whip-store-admin-list li {
    flex-wrap: wrap;
  }
}

@media (max-width: 1199.98px) {
  .whip-store-dir__head,
  .whip-store-admin__head,
  .whip-store-product {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .whip-store-grid,
  .whip-store-items {
    grid-template-columns: 1fr 1fr;
  }
}

/* Phones only: undo Bootstrap md/lg desktop chrome. iPad and medium widths keep the desktop screen. */
@media (max-width: 767.98px) {
  .d-none.d-md-block,
  .d-none.d-md-flex,
  .d-none.d-md-inline,
  .d-none.d-md-inline-block,
  .d-none.d-lg-block,
  .d-none.d-lg-flex,
  .d-none.d-lg-inline,
  .d-none.d-lg-inline-block {
    display: none !important;
  }

  .d-md-none:not(.d-flex):not(.d-inline):not(.d-inline-block):not(.market-tabs__account-extra):not(.market-tabs__account-toggle-wrap),
  .d-lg-none:not(.d-flex):not(.d-inline):not(.d-inline-block):not(.d-none):not(.market-tabs__account-extra):not(.market-tabs__account-toggle-wrap),
  .whip-subnav.d-md-none {
    display: block !important;
  }

  .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__account-extra {
    display: none !important;
  }

  .content-tabs.market-tabs.market-tabs--fit.is-account-open > ul > li.market-tabs__account-extra {
    display: block !important;
  }

  .d-flex.d-md-none,
  .d-flex.d-lg-none {
    display: flex !important;
  }

  .d-inline.d-md-none,
  .d-inline.d-lg-none {
    display: inline !important;
  }

  .d-inline-block.d-md-none,
  .d-inline-block.d-lg-none {
    display: inline-block !important;
  }

  .footer-bottom-bar {
    display: block !important;
  }

  html[data-page="reels"] .footer-bottom-bar,
  .footer-bottom-bar.x-hidden {
    display: none !important;
  }
}

/* iPad / tablet: same chrome as phones (class is also set below 1200) */
html.whip-phone-layout {
  --whip-header-h: 48px;
  --whip-tabbar-h: 52px;
  --whip-subnav-h: 0px;
  --whip-phone-gutter: 6px;
  --whip-chrome-h: calc(var(--whip-header-h) + var(--whip-tabbar-h) + var(--whip-subnav-h));
}

html.whip-phone-layout.whip-has-page-sidebar,
html.whip-phone-layout:has(.sg-offcanvas-sidebar:not(.home-nav-col):not(.whip-fallback-sidebar)) {
  --whip-subnav-h: 0px;
}

html.whip-phone-layout:not(:has(.footer-bottom-bar:not(.x-hidden))),
html.whip-phone-layout[data-page="reels"] {
  --whip-tabbar-h: 0px;
}

html.whip-phone-layout .main-wrapper,
html.whip-phone-layout .top-bar,
html.whip-phone-layout .main-header {
  padding-right: 0 !important;
}

html.whip-phone-layout .d-none.d-md-block,
html.whip-phone-layout .d-none.d-md-flex,
html.whip-phone-layout .d-none.d-md-inline,
html.whip-phone-layout .d-none.d-md-inline-block,
html.whip-phone-layout .d-none.d-lg-block,
html.whip-phone-layout .d-none.d-lg-flex,
html.whip-phone-layout .d-none.d-lg-inline,
html.whip-phone-layout .d-none.d-lg-inline-block,
html.whip-phone-layout .d-none.d-xl-block,
html.whip-phone-layout .d-none.d-xl-flex {
  display: none !important;
}

html.whip-phone-layout .d-md-none:not(.d-flex):not(.d-inline):not(.d-inline-block):not(.market-tabs__account-extra):not(.market-tabs__account-toggle-wrap),
html.whip-phone-layout .d-lg-none:not(.d-flex):not(.d-inline):not(.d-inline-block):not(.d-none):not(.market-tabs__account-extra):not(.market-tabs__account-toggle-wrap) {
  display: block !important;
}

html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__account-extra {
  display: none !important;
}

html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit.is-account-open > ul > li.market-tabs__account-extra {
  display: block !important;
}

html.whip-phone-layout .d-flex.d-md-none,
html.whip-phone-layout .d-flex.d-lg-none {
  display: flex !important;
}

html.whip-phone-layout .d-inline.d-md-none,
html.whip-phone-layout .d-inline.d-lg-none {
  display: inline !important;
}

html.whip-phone-layout .d-inline-block.d-md-none,
html.whip-phone-layout .d-inline-block.d-lg-none {
  display: inline-block !important;
}

html.whip-phone-layout .home-sidebar-col,
html.whip-phone-layout .market-sidebar-col,
html.whip-phone-layout .chat-sidebar {
  display: none !important;
}

html.whip-phone-layout .footer-bottom-bar {
  display: block !important;
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  height: var(--whip-tabbar-h, 64px);
  min-height: var(--whip-tabbar-h, 64px);
  z-index: 1080;
  overflow: visible;
  padding: 6px 0 8px;
  border-top: 0;
  border-bottom: 1px solid rgba(20, 22, 24, 0.1);
  background: #fff;
  box-shadow: 0 1px 0 rgba(20, 22, 24, 0.03);
  transition: none;
}

html.whip-phone-layout.whip-has-page-sidebar .footer-bottom-bar {
  border-bottom-color: rgba(20, 22, 24, 0.16);
}

html.whip-phone-layout.whip-bottom-bar-hidden .footer-bottom-bar {
  top: auto;
  bottom: auto;
  pointer-events: auto;
}

html.whip-phone-layout[data-page="reels"] .footer-bottom-bar,
html.whip-phone-layout .footer-bottom-bar.x-hidden {
  display: none !important;
}

html.whip-phone-layout .whip-subnav {
  display: none !important;
}

html.whip-phone-layout .whip-nav-open,
html.whip-phone-layout .whip-stories-nav,
html.whip-phone-layout .whip-nav-page-dock,
html.whip-phone-layout.home-nav-locked .whip-nav-open,
html.whip-phone-layout:not(.whip-no-left-nav) .whip-stories-nav,
html.whip-phone-layout:not(.whip-no-left-nav) .whip-nav-page-dock {
  display: none !important;
}

html.whip-phone-layout .main-header .menu-icon {
  display: none !important;
}

html.whip-phone-layout .sg-offcanvas > .row {
  flex-wrap: wrap;
}

html.whip-phone-layout .sg-offcanvas > .row > [class*="col-"]:not(.sg-offcanvas-sidebar):not(.home-nav-col),
html.whip-phone-layout .sg-offcanvas .sg-offcanvas-mainbar,
html.whip-phone-layout .home-newsfeed > .row > .home-feed-col {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}

html.whip-phone-layout .main-wrapper .container,
html.whip-phone-layout .main-wrapper .container-fluid {
  padding-left: var(--whip-phone-gutter, 6px) !important;
  padding-right: var(--whip-phone-gutter, 6px) !important;
}

html.whip-phone-layout .sg-offcanvas .sg-offcanvas-mainbar,
html.whip-phone-layout[data-page="forums"] .forums-mainbar {
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}

html.whip-phone-layout .market-landing,
html.whip-phone-layout .market-landing__products,
html.whip-phone-layout .js_market-listings > .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

html.whip-phone-layout .sg-offcanvas .sg-offcanvas-sidebar:not(.whip-messenger__rail):not(.home-nav-col):not(.whip-fallback-sidebar):not(.market-nav-col),
html.whip-phone-layout .sg-offcanvas > .row > .sg-offcanvas-sidebar:not(.whip-messenger__rail):not(.home-nav-col):not(.whip-fallback-sidebar):not(.market-nav-col) {
  display: block !important;
  position: fixed !important;
  top: var(--whip-header-h, 52px) !important;
  left: 0 !important;
  flex: 0 0 min(340px, 88vw) !important;
  width: min(340px, 88vw) !important;
  max-width: 340px !important;
  height: calc(100dvh - var(--whip-header-h, 52px)) !important;
  max-height: calc(100dvh - var(--whip-header-h, 52px)) !important;
  z-index: 100070;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 12px 12px 28px;
  margin: 0;
  background: var(--body-bg-color, #f3efe8);
  border: 1px solid rgba(20, 22, 24, 0.16);
  border-left: 0;
  border-radius: 0 18px 18px 0;
  transform: translateX(-105%);
  visibility: hidden;
  box-shadow: none;
}

html.whip-phone-layout .home-newsfeed > .row > .home-nav-col,
html.whip-phone-layout .home-newsfeed .sg-offcanvas-sidebar.home-nav-col,
html.whip-phone-layout .whip-fallback-sidebar,
html.whip-phone-layout #whip-home-sidebar-source,
html.whip-phone-layout.sg-offcanvas-open .home-newsfeed .sg-offcanvas-sidebar.home-nav-col,
html.whip-phone-layout.sg-offcanvas-open .home-newsfeed > .row > .home-nav-col,
html.whip-phone-layout.sg-offcanvas-open #home-nav,
html.whip-phone-layout[data-page="market"] .market-nav-col,
html.whip-phone-layout[data-page="market"] .sg-offcanvas-sidebar.market-nav-col,
html.whip-phone-layout.whip-market-listing .market-nav-col,
html.whip-phone-layout.sg-offcanvas-open[data-page="market"] .market-nav-col,
html.whip-phone-layout.sg-offcanvas-open .sg-offcanvas-sidebar.market-nav-col {
  display: none !important;
  visibility: hidden !important;
  transform: none !important;
  pointer-events: none !important;
}

html.whip-phone-layout .sg-offcanvas.active .sg-offcanvas-sidebar:not(.home-nav-col):not(.whip-fallback-sidebar):not(.market-nav-col),
html.whip-phone-layout.sg-offcanvas-open .sg-offcanvas .sg-offcanvas-sidebar:not(.home-nav-col):not(.whip-fallback-sidebar):not(.market-nav-col) {
  transform: translateX(0) !important;
  visibility: visible !important;
  z-index: 100070 !important;
  box-shadow: 12px 0 32px rgba(20, 22, 24, 0.18);
}

html.whip-phone-layout .whip-nav-backdrop {
  display: none;
  position: fixed;
  top: var(--whip-header-h, 52px);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100065;
  background: rgba(20, 22, 24, 0.45);
}

html.whip-phone-layout .main-header {
  z-index: 100080 !important;
}

html.whip-phone-layout.sg-offcanvas-open .whip-nav-backdrop {
  display: block !important;
}

html.whip-phone-layout .whip-header-search,
html.whip-phone-layout .main-header .search-wrapper {
  display: none !important;
}

html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-page-sidebar-toggle {
  display: none !important;
}

html.whip-search-ajax-loading {
  cursor: wait;
}

html.whip-search-ajax-loading .whip-header-phone-search > a {
  opacity: 0.55;
}

.whip-header-phone-search {
  display: none !important;
}

html.whip-phone-layout .whip-header-phone-search {
  display: list-item !important;
}

.whip-subnav__icons {
  display: none;
  align-items: center;
  flex: 0 0 auto;
  gap: 0;
  margin: 0 0 0 4px;
  padding: 0;
  list-style: none;
}

html.whip-phone-layout .whip-subnav__icons {
  display: none !important;
}

.whip-subnav__icons > li {
  flex: 0 0 auto;
  margin: 0;
}

.whip-subnav__icons > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  line-height: 1;
  border-radius: 8px;
}

.whip-subnav__icons > li > a .header-icon {
  width: 20px !important;
  height: 20px !important;
  font-size: 20px;
}

.whip-subnav__icons .counter {
  top: 2px;
  right: 0;
}

.whip-header-phone-search {
  display: none !important;
}

html.whip-phone-layout .whip-header-phone-search {
  display: list-item !important;
}

html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search > a,
html.whip-phone-layout .whip-page-sidebar-toggle > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  margin-top: 0;
  line-height: 1;
  overflow: visible;
}

html.whip-phone-layout .whip-page-sidebar-toggle > a .header-icon,
html.whip-phone-layout .whip-header-phone-search > a .header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.whip-subnav,
.whip-subnav__row {
  overflow: visible;
}

.whip-subnav__icons .dropdown-menu {
  z-index: 1060;
}

html.whip-phone-layout[data-page="forums"] .sg-offcanvas,
html.whip-phone-layout[data-page="forums"] .forums-mainbar {
  overflow-x: hidden;
  max-width: 100%;
}

html.whip-phone-layout[data-page="forums"] .sg-offcanvas > .row,
html.whip-phone-layout[data-page="forums"] .sg-offcanvas .row {
  --bs-gutter-x: 0;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100%;
  width: 100%;
}

html.whip-phone-layout[data-page="forums"] .sg-offcanvas .col-12,
html.whip-phone-layout[data-page="forums"] .forums-mainbar {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

html.whip-phone-layout[data-page="forums"] .forums-mainbar .forum-row,
html.whip-phone-layout[data-page="forums"] .forums-mainbar .forum-head,
html.whip-phone-layout[data-page="forums"] .forums-mainbar .forum-thread {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}

html.whip-phone-layout[data-page="forums"] .cspec-make-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

html.whip-phone-layout[data-page="forums"] .cspec-make-card {
  min-width: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.forums-mainbar .forum-row > .column,
.forums-mainbar .forum-head > .column {
  min-width: 0;
}

html.whip-phone-layout[data-page="index"] .whip-home-composer-dock:not([hidden]) {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  background: transparent;
  border-bottom: 0;
}

html.whip-phone-layout[data-page="index"] .whip-home-composer.is-docked .publisher {
  margin: 0;
}

/* Phone: restore compact story tile size (pre-enlarge) */
html.whip-phone-layout .home-stories-card,
html.whip-phone-layout .home-stories-card #stories.whip-stories-live,
html.whip-phone-layout #stories.whip-stories-live {
  --whip-story-tile-w: 112px;
  --whip-story-tile-h: 164px;
  --whip-story-reveal: 3px;
}

html.whip-phone-layout .home-stories-card {
  margin-bottom: 10px;
}

html.whip-phone-layout .home-stories-card:not(.is-nav-only) .home-stories-scroll,
html.whip-phone-layout .home-stories-scroll {
  padding: var(--whip-story-reveal, 3px) !important;
}

html.whip-phone-layout .home-stories-card .add-story,
html.whip-phone-layout #stories.whip-stories-live .add-story,
html.whip-phone-layout #stories.whip-stories-live .story,
html.whip-phone-layout #stories.whip-stories-live .whip-story-bubble {
  flex: 0 0 var(--whip-story-tile-w) !important;
  width: var(--whip-story-tile-w) !important;
  max-width: var(--whip-story-tile-w) !important;
}

html.whip-phone-layout .home-stories-card .add-story .img,
html.whip-phone-layout #stories.whip-stories-live .add-story .img,
html.whip-phone-layout .home-stories-card .stories.sngine.carousel .story > .item-link > .item-preview,
html.whip-phone-layout #stories.whip-stories-live .story > .item-link > .item-preview,
html.whip-phone-layout #stories.whip-stories-live .whip-story-bubble__img {
  width: var(--whip-story-tile-w) !important;
  height: var(--whip-story-tile-h) !important;
}

/* Phone: plus on bottom-center of add-story preview, larger */
html.whip-phone-layout .home-stories-card .add-story,
html.whip-phone-layout #stories.whip-stories-live .add-story {
  position: relative;
}

html.whip-phone-layout .home-stories-card .add-story .add,
html.whip-phone-layout #stories.whip-stories-live .add-story .add {
  left: 50% !important;
  right: auto !important;
  bottom: 10px !important;
  top: auto !important;
  transform: translateX(-50%) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0 !important;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px var(--whip-story-ring-gap, #fff), 0 4px 12px rgba(20, 22, 24, 0.2);
  z-index: 2;
}

html.whip-phone-layout .home-stories-card .add-story .add .main-icon,
html.whip-phone-layout .home-stories-card .add-story .add .svg-container,
html.whip-phone-layout .home-stories-card .add-story .add svg,
html.whip-phone-layout .home-stories-card .add-story .add i,
html.whip-phone-layout #stories.whip-stories-live .add-story .add .main-icon,
html.whip-phone-layout #stories.whip-stories-live .add-story .add .svg-container,
html.whip-phone-layout #stories.whip-stories-live .add-story .add svg,
html.whip-phone-layout #stories.whip-stories-live .add-story .add i {
  width: 20px !important;
  height: 20px !important;
  font-size: 20px !important;
  color: var(--auto-signal, #FA6418) !important;
  fill: var(--auto-signal, #FA6418) !important;
}

html.whip-phone-layout body.night-mode .home-stories-card .add-story .add,
html.whip-phone-layout body.night-mode #stories.whip-stories-live .add-story .add {
  background: var(--card-dark-color, #262d34);
}

body.night-mode html.whip-phone-layout .sg-offcanvas .sg-offcanvas-sidebar,
html.whip-phone-layout body.night-mode .sg-offcanvas .sg-offcanvas-sidebar {
  background: var(--body-bg-color-dark, #1b1e22);
}

/* List action — dark, not the same orange as the selected tab */
.content-tabs.market-tabs .market-tabs__sell > a,
.ca-hero__list {
  background: var(--auto-ink) !important;
  border-color: var(--auto-ink) !important;
  color: #fff !important;
}

.content-tabs.market-tabs .market-tabs__sell > a:hover,
.content-tabs.market-tabs .market-tabs__sell > a:focus,
.ca-hero__list:hover,
.ca-hero__list:focus {
  background: var(--auto-asphalt) !important;
  border-color: var(--auto-asphalt) !important;
  color: #fff !important;
}

.content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__sell {
  display: none !important;
}

@media (max-width: 767.98px) {
  html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__account:not(.market-tabs__account-extra),
  .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__account:not(.market-tabs__account-extra) {
    display: none !important;
  }

  html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__account-toggle-wrap,
  .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__account-toggle-wrap {
    display: block !important;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .content-tabs.market-tabs.market-tabs--fit > ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .content-tabs.market-tabs.market-tabs--fit > ul > li > a {
    min-height: 54px;
    padding: 6px 4px 5px;
    font-size: 10px;
    border-radius: 10px;
    gap: 4px;
  }

  .content-tabs.market-tabs.market-tabs--fit > ul > li > a > i.main-icon,
  .content-tabs.market-tabs.market-tabs--fit > ul > li > a > .svg-container.main-icon,
  .content-tabs.market-tabs.market-tabs--fit > ul > li > a > .main-icon.svg-container {
    width: 1.65rem !important;
    height: 1.65rem !important;
    font-size: 0.85rem !important;
  }

  html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__account-toggle-wrap,
  .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__account-toggle-wrap {
    display: none !important;
  }

  html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__account:not(.market-tabs__account-extra),
  .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__account:not(.market-tabs__account-extra) {
    display: block !important;
  }

  html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__account-extra,
  html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit.is-account-open > ul > li.market-tabs__account-extra,
  .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__account-extra,
  .content-tabs.market-tabs.market-tabs--fit.is-account-open > ul > li.market-tabs__account-extra {
    display: none !important;
  }
}

/* Mobile Facebook-style Menu sheet + page-sidebar header toggle */
.whip-page-sidebar-toggle {
  display: none !important;
}

html.whip-phone-layout.whip-has-page-sidebar .whip-page-sidebar-toggle,
html.whip-phone-layout body:has(.sg-offcanvas-sidebar:not(.home-nav-col):not(.whip-fallback-sidebar)) .whip-page-sidebar-toggle,
html.whip-phone-layout .whip-page-sidebar-toggle {
  display: none !important;
}

html.whip-phone-layout:not(:has(.whip-subnav)),
html.whip-phone-layout.whip-no-left-nav,
html.whip-phone-layout:not(.whip-has-page-sidebar):not(:has(.sg-offcanvas-sidebar:not(.home-nav-col):not(.whip-fallback-sidebar))) {
  --whip-subnav-h: 0px;
}

html.whip-phone-layout.whip-no-left-nav .whip-subnav,
html.whip-phone-layout:not(.whip-has-page-sidebar):not(:has(.sg-offcanvas-sidebar:not(.home-nav-col):not(.whip-fallback-sidebar))) .whip-subnav {
  display: none !important;
}

html.whip-phone-layout,
html.whip-phone-layout body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  scrollbar-gutter: auto;
}

html.whip-phone-layout .container > .row,
html.whip-phone-layout .container-fluid > .row,
html.whip-phone-layout .sg-offcanvas > .row,
html.whip-phone-layout .home-newsfeed > .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

html.whip-phone-layout .container > .row > [class*="col-"],
html.whip-phone-layout .container-fluid > .row > [class*="col-"],
html.whip-phone-layout .sg-offcanvas > .row > [class*="col-"],
html.whip-phone-layout .home-newsfeed > .row > [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
}

html.whip-phone-layout.sg-offcanvas-open,
html.whip-phone-layout.sg-offcanvas-open body {
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  max-width: 100%;
  padding-right: 0 !important;
  margin-right: 0 !important;
}

html.whip-phone-layout body,
html.whip-phone-layout body:has(.whip-subnav),
html.whip-phone-layout body.n_activated,
html.whip-phone-layout body.n_live,
html.whip-phone-layout body.n_activated:has(.whip-subnav),
html.whip-phone-layout body.n_live:has(.whip-subnav) {
  padding-top: 0 !important;
  padding-bottom: 0;
}

.whip-mobile-menu {
  display: none;
}

html.whip-phone-layout .whip-mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100100;
  width: 100%;
  background: var(--auto-paper, #efeeea);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.28s ease, visibility 0.28s ease;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

html.whip-phone-layout.whip-menu-open .whip-mobile-menu {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

/* ---- Mobile menu v2 (mockup 10:07) ---- */
html.whip-phone-layout .whip-mobile-menu {
  background: #eceff3;
}

.whip-mm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex: 0 0 auto;
  min-height: 56px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px;
  background: #fff;
  border-bottom: 1px solid rgba(20, 22, 24, 0.08);
}

.whip-mm-head__brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.whip-mm-head__brand img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.whip-mm-head__actions {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}

.whip-mm-head__icon,
.whip-mm-head__back,
.whip-mm-head__search {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #2b3035;
  text-decoration: none;
  cursor: pointer;
}

.whip-mm-head__icon .header-icon,
.whip-mm-head__icon .header-icon *,
.whip-mm-head__icon svg,
.whip-mm-head__icon i {
  width: 20px;
  height: 20px;
  color: #2b3035 !important;
  fill: #2b3035 !important;
  font-size: 18px;
}

.whip-mm-head__notify .whip-mm-head__dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--auto-signal, #FA6418);
  box-shadow: 0 0 0 2px #fff;
}

.whip-mm-head__title {
  display: none;
}

.whip-mm-body {
  padding: 12px 12px 28px;
}

.whip-mm-profile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(20, 22, 24, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 22, 24, 0.05);
}

.whip-mm-profile__main {
  gap: 12px;
}

.whip-mm-profile__avatar {
  width: 48px;
  height: 48px;
}

.whip-mm-profile__text strong {
  font-size: 17px;
}

.whip-mm-profile__chev {
  margin-left: auto;
  color: #b0b5ba;
  font-size: 0.75rem;
}

.whip-mm-garage-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 132px;
  margin: 0 0 16px;
  padding: 16px;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none !important;
  color: #fff !important;
  background-color: #1c1612;
  background-image: url("../images/explore/market.jpg?v=20261005");
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 28px rgba(20, 22, 24, 0.14);
}

.whip-mm-garage-hero--bottom {
  margin: 18px 0 10px;
}

.whip-mm-garage-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 14, 16, 0.78) 0%, rgba(12, 14, 16, 0.28) 62%, rgba(12, 14, 16, 0.45) 100%);
  pointer-events: none;
}

.whip-mm-garage-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding-right: 48px;
}

.whip-mm-garage-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.whip-mm-garage-hero__kicker i {
  color: var(--auto-signal, #FA6418);
}

.whip-mm-garage-hero__copy strong {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.whip-mm-garage-hero__copy em {
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.whip-mm-garage-hero__go {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.85rem;
}

.whip-mm-section {
  margin: 0 0 16px;
}

.whip-mm-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
  padding: 0 2px;
}

.whip-mm-section__head h6 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #141618;
}

.whip-mm-section__head h6 i {
  color: var(--auto-signal, #FA6418);
  font-size: 0.95rem;
}

.whip-mm-section__all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--auto-signal, #FA6418) !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.whip-mm-section__all i {
  font-size: 0.65rem;
}

.whip-mm-explore {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.whip-mm-explore-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 118px;
  padding: 12px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none !important;
  color: #fff !important;
  background-color: #1a1512;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 20px rgba(20, 22, 24, 0.1);
}

.whip-mm-explore-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 14, 16, 0.12) 0%, rgba(12, 14, 16, 0.78) 100%);
  pointer-events: none;
}

.whip-mm-explore-card--market { background-image: url("../images/explore/market.jpg?v=20261005"); }
.whip-mm-explore-card--stores { background-image: url("../images/explore/stores.jpg?v=20261005"); }
.whip-mm-explore-card--auctions { background-image: url("../images/explore/auctions.jpg?v=20261005"); }
.whip-mm-explore-card--watch { background-image: url("../images/explore/watch.jpg?v=20261005"); }

.whip-mm-explore-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--auto-signal, #FA6418);
  color: #fff;
  font-size: 11px;
}

.whip-mm-explore-card__badge .main-icon,
.whip-mm-explore-card__badge svg,
.whip-mm-explore-card__badge i {
  width: 13px;
  height: 13px;
  color: #fff !important;
  fill: #fff !important;
}

.whip-mm-explore-card__body {
  position: relative;
  z-index: 1;
  padding-right: 16px;
}

.whip-mm-explore-card__body strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.whip-mm-explore-card__body small {
  display: block;
  margin-top: 3px;
  font-size: 0.68rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.76);
}

.whip-mm-explore-card__chev {
  position: absolute;
  right: 10px;
  bottom: 12px;
  z-index: 1;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.85);
}

.whip-mm-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.whip-mm-social__item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 10px 10px 12px;
  border-radius: 14px;
  background: #fff;
  color: #141618 !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(20, 22, 24, 0.04);
}

.whip-mm-social__item > span:not(.whip-mm-social__ico) {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whip-mm-social__item > i {
  flex: 0 0 auto;
  font-size: 0.65rem;
  color: #c0c5ca;
}

.whip-mm-social__ico {
  display: inline-flex;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--auto-signal, #FA6418);
}

.whip-mm-social__ico .main-icon,
.whip-mm-social__ico > i {
  width: 18px;
  height: 18px;
  font-size: 15px;
  color: var(--auto-signal, #FA6418) !important;
  fill: var(--auto-signal, #FA6418) !important;
}

.whip-mm-acc {
  margin: 0 0 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(20, 22, 24, 0.04);
  overflow: hidden;
}

.whip-mm-acc__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.whip-mm-acc__icon {
  color: var(--auto-signal, #FA6418);
}

.whip-mm-acc__icon .main-icon,
.whip-mm-acc__icon i {
  color: var(--auto-signal, #FA6418) !important;
  fill: var(--auto-signal, #FA6418) !important;
}

.whip-mm-acc__caret--side {
  transform: none !important;
}

.whip-mm-acc.is-open > .whip-mm-acc__btn .whip-mm-acc__caret--side {
  transform: rotate(90deg) !important;
}

.whip-mm-acc__list {
  padding: 0 8px 10px;
}

body.night-mode .whip-mobile-menu {
  background: #15191e;
}

body.night-mode .whip-mm-head,
body.night-mode .whip-mm-profile,
body.night-mode .whip-mm-social__item,
body.night-mode .whip-mm-acc,
body.night-mode .whip-mm-acc__btn {
  background: #1e252b;
  color: #e8edf2;
}

body.night-mode .whip-mm-section__head h6,
body.night-mode .whip-mm-social__item,
body.night-mode .whip-mm-profile__text strong {
  color: #e8edf2;
}



html.whip-phone-layout.whip-menu-open .footer-bottom-bar,
html.whip-phone-layout[data-page="messages"].whip-menu-open .footer-bottom-bar {
  display: none !important;
}

html.whip-menu-open,
html.whip-menu-open body {
  overflow: hidden;
}

.whip-mm-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 56px;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 12px 8px;
  background: var(--auto-paper, #efeeea);
  border-bottom: 1px solid var(--auto-line, rgba(20, 22, 24, 0.1));
}

.whip-mm-head__back,
.whip-mm-head__search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--auto-ink, #141618);
  cursor: pointer;
}

.whip-mm-head__title {
  flex: 1 1 auto;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--auto-ink, #141618);
}

.whip-mm-search {
  padding: 0 12px 10px;
}

.whip-mm-search__field {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 20px;
  background: #fff;
  color: var(--auto-steel, #6e767f);
}

.whip-mm-search__field input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 15px;
  outline: none;
}

.whip-mm-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 12px 20px;
  -webkit-overflow-scrolling: touch;
}

.whip-mm-profile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-height: 0;
  margin-bottom: 12px;
  padding: 10px 10px 12px;
  border: 1px solid rgba(20, 22, 24, 0.08);
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(20, 22, 24, 0.04);
}

.whip-mm-profile__main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 2px 2px 10px;
  margin: 0 0 2px;
  border-bottom: 1px solid rgba(20, 22, 24, 0.06);
  color: inherit;
  text-decoration: none;
}

.whip-mm-kicker {
  margin: 0 0 8px;
  font-family: var(--auto-display, "Barlow Condensed", sans-serif);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--auto-signal, #FA6418);
}

.whip-mm-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 8px;
}

.whip-mm-kicker-row .whip-mm-kicker {
  margin: 0;
}

.whip-mm-kicker--link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--auto-signal, #FA6418);
  text-decoration: none;
}

.whip-mm-kicker--link i {
  font-size: 14px;
}

.whip-mm-garage-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(250, 100, 24, 0.12);
  color: var(--auto-signal, #FA6418);
  text-decoration: none;
  flex: 0 0 auto;
}

.whip-mm-garage-go:hover {
  background: rgba(250, 100, 24, 0.2);
  color: var(--auto-signal, #FA6418);
}

.whip-mm-garage {
  margin: 12px 0 10px;
  padding: 12px;
  border: 1px solid rgba(20, 22, 24, 0.06);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 22, 24, 0.04);
}

.whip-mm-ride {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: inherit;
  text-decoration: none;
}

.whip-mm-ride + .whip-mm-ride {
  border-top: 1px solid var(--auto-line, rgba(20, 22, 24, 0.1));
}

.whip-mm-ride__photo {
  flex: 0 0 48px;
  width: 48px;
  height: 36px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  background-color: rgba(20, 22, 24, 0.08);
}

.whip-mm-ride__photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--auto-signal, #FA6418);
  font-size: 18px;
}

.whip-mm-ride__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.whip-mm-ride__meta em {
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--auto-signal, #FA6418);
}

.whip-mm-ride__meta strong {
  font-size: 18px;
  line-height: 1.2;
}

.whip-mm-ride__meta small {
  color: var(--auto-steel, #6e767f);
  font-size: 12px;
}

.whip-mm-profile__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.whip-mm-profile__text {
  flex: 1 1 auto;
  min-width: 0;
}

.whip-mm-profile__text strong,
.whip-mm-profile__text small {
  display: block;
}

.whip-mm-profile__text strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.whip-mm-profile__text small {
  margin-top: 2px;
  font-size: 13px;
  color: var(--auto-steel, #6e767f);
}

.whip-mm-profile__switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(20, 22, 24, 0.08);
  border-radius: 12px;
  background: #f6f4f0;
  color: var(--auto-ink, #141618);
  cursor: pointer;
}

.whip-mm-accounts {
  position: relative;
  flex: 0 0 auto;
}

.whip-mm-accounts__box {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 8;
  width: 240px;
  padding: 6px;
  border: 1px solid rgba(20, 22, 24, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(20, 22, 24, 0.16);
}

.whip-mm-accounts__item,
.whip-mm-accounts__add {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 6px 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--auto-ink, #141618);
  font-size: 14px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}

.whip-mm-accounts__item img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.whip-mm-accounts__item span {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whip-mm-accounts__item i {
  color: var(--auto-signal, #FA6418);
}

.whip-mm-accounts__item:hover,
.whip-mm-accounts__add:hover {
  background: #f6f4f0;
}

.whip-mm-accounts__add {
  justify-content: center;
  margin-top: 4px;
  border-top: 1px solid rgba(20, 22, 24, 0.06);
  border-radius: 0 0 10px 10px;
  color: var(--auto-signal, #FA6418);
  font-size: 13px;
}

.whip-mm-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 8px;
  align-items: start;
  margin: 0 0 12px;
}

.whip-mm-split > .whip-mm-grid,
.whip-mm-create .whip-mm-grid {
  grid-template-columns: 1fr;
  margin: 0;
}

.whip-mm-create .whip-mm-kicker {
  margin-bottom: 6px;
}

.whip-mm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 14px;
  border: 0;
  background: transparent;
}

.whip-mm-tile {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 52px;
  padding: 8px 10px;
  border: 1px solid rgba(20, 22, 24, 0.06);
  border-radius: 14px;
  background: #fff;
  color: var(--auto-ink, #141618);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(20, 22, 24, 0.04);
}

.whip-mm-tile[hidden] {
  display: none !important;
}

.whip-mm-tile:hover,
.whip-mm-profile:hover,
.whip-mm-profile__main:hover,
.whip-mm-ride:hover,
.whip-mm-acc__btn:hover,
.whip-mm-row:hover {
  color: inherit;
  text-decoration: none;
}

.whip-mm-tile__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  border-radius: 7px;
  background: var(--auto-signal-soft, #FEE8DD);
  font-size: 15px;
  line-height: 1;
}

.whip-mm-tile__label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.ca-phone-tabs {
  display: none;
}

html.whip-phone-layout[data-page="auctions"] .ca-phone-tabs {
  display: block;
  padding: 8px 10px 2px;
}

html.whip-phone-layout[data-page="auctions"] .ca-phone-tabs .content-tabs.market-tabs.market-tabs--fit {
  margin-bottom: 0;
}

html.whip-phone-layout[data-page="auctions"] .ca-desktop-tabs {
  display: none !important;
}

html.whip-phone-layout[data-page="auctions"] .sg-offcanvas {
  margin-top: 8px !important;
}

html.whip-phone-layout[data-page="auctions"] .ca-page {
  padding-top: 4px;
}

html.whip-phone-layout[data-page="auctions"] .ca-hero {
  margin-top: 0;
}

.whip-mm-pair {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin-bottom: 8px;
}

.whip-mm-pair:not(:has(.whip-mm-acc)) {
  display: none;
}

.whip-mm-pair > .whip-mm-acc {
  position: relative;
  margin-bottom: 0;
  min-width: 0;
}

.whip-mm-pair > .whip-mm-acc.is-open {
  z-index: 6;
}

.whip-mm-pair > .whip-mm-acc > .whip-mm-acc__btn {
  gap: 8px;
  padding: 10px 8px;
}

.whip-mm-pair .whip-mm-acc__label {
  font-size: 13px;
}

.whip-mm-pair > .whip-mm-acc.is-open > .whip-mm-acc__list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 8;
  width: auto;
  margin: 0;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(20, 22, 24, 0.1);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(20, 22, 24, 0.18);
}

.whip-mm-pair .whip-mm-acc--nested.is-open > .whip-mm-acc__list .whip-mm-row {
  margin-left: 0;
  width: 100%;
  min-height: 30px;
  padding: 4px 8px;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: #3c4148;
}

.whip-mm-pair .whip-mm-acc--nested.is-open > .whip-mm-acc__list .whip-mm-row > span {
  font-size: 13px;
  font-weight: 600;
  color: #3c4148;
}

.whip-mm-pair .whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row .main-icon,
.whip-mm-pair .whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row i {
  color: #5c656e !important;
  fill: #5c656e !important;
}

.whip-mm-pair > .whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row,
.whip-mm-foot .whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row,
.whip-mobile-menu .whip-mm-acc:not(.whip-mm-acc--nested).is-open > .whip-mm-acc__list .whip-mm-row {
  min-height: 32px;
  padding: 5px 10px;
  background: #f7f6f3;
  border-color: transparent;
  box-shadow: none;
  color: #3c4148;
}

.whip-mm-pair > .whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row > span,
.whip-mm-foot .whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row > span,
.whip-mobile-menu .whip-mm-acc:not(.whip-mm-acc--nested).is-open > .whip-mm-acc__list .whip-mm-row > span {
  font-size: 13px;
  font-weight: 600;
  color: #3c4148;
}

.whip-mm-pair > .whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row .main-icon,
.whip-mm-pair > .whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row i,
.whip-mm-foot .whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row .main-icon,
.whip-mm-foot .whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row i,
.whip-mobile-menu .whip-mm-acc:not(.whip-mm-acc--nested).is-open > .whip-mm-acc__list .whip-mm-row .main-icon,
.whip-mobile-menu .whip-mm-acc:not(.whip-mm-acc--nested).is-open > .whip-mm-acc__list .whip-mm-row > i {
  color: #5c656e !important;
  fill: #5c656e !important;
}

.whip-mm-foot {
  margin: 0 0 12px;
  padding: 8px;
  border: 1px solid rgba(20, 22, 24, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(20, 22, 24, 0.04);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.whip-mm-foot > .whip-mm-acc {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.whip-mm-foot > .whip-mm-acc > .whip-mm-acc__btn {
  box-shadow: none;
  border-color: rgba(20, 22, 24, 0.08);
}

.whip-mm-foot > .whip-mm-acc + .whip-mm-acc {
  margin-top: 0 !important;
  padding-top: 6px !important;
  border-top: 1px solid rgba(20, 22, 24, 0.06) !important;
}

.whip-mm-profile .whip-mm-pair {
  margin: 8px 0 0;
}

.whip-mm-profile .whip-mm-pair > .whip-mm-acc > .whip-mm-acc__btn {
  box-shadow: none;
  background: #f7f6f3;
  border-color: transparent;
}

body.night-mode .whip-mm-foot {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

body.night-mode .whip-mm-profile .whip-mm-pair > .whip-mm-acc > .whip-mm-acc__btn,
body.night-mode .whip-mm-pair > .whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row,
body.night-mode .whip-mm-foot .whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row {
  background: rgba(255, 255, 255, 0.06);
  color: #e8edf2;
}

.whip-mobile-menu .whip-mm-tile__icon,
body.night-mode .whip-mobile-menu .whip-mm-tile__icon {
  background: transparent;
  box-shadow: none;
}

.whip-mm-acc__btn,
.whip-mm-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(20, 22, 24, 0.06);
  border-radius: 14px;
  background: #fff;
  color: var(--auto-ink, #141618);
  text-align: left;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(20, 22, 24, 0.04);
  cursor: pointer;
}

.whip-mm-acc__icon,
.whip-mm-row > .svg-container,
.whip-mm-row > i,
.whip-mm-row > img {
  flex: 0 0 auto;
  width: 22px;
  text-align: center;
}

.whip-mm-acc__label,
.whip-mm-row > span {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  font-weight: 650;
}

.whip-mm-row em {
  margin-left: 6px;
  font-style: normal;
  font-weight: 600;
  color: var(--auto-steel, #6e767f);
}

.whip-mm-acc__caret {
  margin-left: auto;
  color: var(--auto-steel, #6e767f);
  transition: transform 0.18s ease;
}

.whip-mm-acc.is-open > .whip-mm-acc__btn .whip-mm-acc__caret,
.whip-mm-lang.is-open > .js_whip-mm-lang .whip-mm-acc__caret {
  transform: rotate(180deg);
}

.whip-mm-acc__list,
.whip-mm-lang__list {
  display: none;
  padding: 6px 0 0;
  gap: 6px;
}

.whip-mm-acc.is-open > .whip-mm-acc__list,
.whip-mm-lang.is-open > .whip-mm-lang__list {
  display: grid;
  gap: 8px;
}

.whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row {
  background: #f7f6f3;
  color: var(--auto-ink, #141618);
  border-color: transparent;
}

.whip-mm-acc--nested.is-open > .whip-mm-acc__list .whip-mm-row {
  min-height: 34px;
  margin-left: 16px;
  width: calc(100% - 16px);
  padding: 5px 10px;
  background: #f7f5f1;
  border-color: transparent;
  border-radius: 10px;
  box-shadow: none;
}

.whip-mm-acc--nested.is-open > .whip-mm-acc__list .whip-mm-row > span {
  font-size: 13px;
  font-weight: 600;
}

.whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row .main-icon,
.whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row i {
  color: var(--auto-signal, #FA6418);
  fill: var(--auto-signal, #FA6418);
}

.whip-mm-switch {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 26px;
  margin-left: auto;
  border-radius: 999px;
  background: #d8d5d0;
}

.whip-mm-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.18s ease;
}

.whip-mm-switch.is-on,
body.night-mode .whip-mm-switch {
  background: var(--auto-signal, #FA6418);
}

.whip-mm-switch.is-on::after,
body.night-mode .whip-mm-switch::after {
  transform: translateX(18px);
}

html.whip-phone-layout .footer-bottom-bar-links > .link.footer-bottom-bar__menu.active > a .header-icon {
  background: var(--auto-signal);
  color: #fff !important;
  fill: #fff !important;
}

html.whip-phone-layout .footer-bottom-bar-links > .link.footer-bottom-bar__menu.active > a .title {
  color: var(--auto-signal);
  font-weight: 800;
}

html.whip-phone-layout.sg-offcanvas-open .whip-page-sidebar-toggle > a .header-icon,
html.whip-phone-layout.sg-offcanvas-open .whip-page-sidebar-toggle > a .header-icon * {
  color: var(--auto-signal) !important;
  fill: var(--auto-signal) !important;
}

body.night-mode .whip-mobile-menu,
body.night-mode .whip-mm-head {
  background: #1b1e22;
}

body.night-mode .whip-mm-head {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.night-mode .whip-mm-head__title,
body.night-mode .whip-mm-head__back,
body.night-mode .whip-mm-tile,
body.night-mode .whip-mm-profile,
body.night-mode .whip-mm-acc__btn,
body.night-mode .whip-mm-row,
body.night-mode .whip-mm-ride {
  color: #e8edf2;
}

body.night-mode .whip-mm-tile,
body.night-mode .whip-mm-profile,
body.night-mode .whip-mm-garage,
body.night-mode .whip-mm-acc__btn,
body.night-mode .whip-mm-row,
body.night-mode .whip-mm-search__field {
  background: #262d34;
}

body.night-mode .whip-mm-grid,
body.night-mode .whip-mm-profile,
body.night-mode .whip-mm-garage,
body.night-mode .whip-mm-acc__btn,
body.night-mode .whip-mm-row,
body.night-mode .whip-mm-profile__switch,
body.night-mode .whip-mm-ride + .whip-mm-ride {
  border-color: rgba(255, 255, 255, 0.08);
}

body.night-mode .whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row {
  background: #303840;
  color: #e8edf2;
  border-color: rgba(255, 255, 255, 0.08);
}

body.night-mode .whip-mm-tile__icon {
  background: rgba(250, 100, 24), 0.16);
}

body.night-mode .whip-mm-profile__switch {
  background: #303840;
  color: #e8edf2;
}

body.night-mode .whip-mm-accounts__box {
  background: #262d34;
  border-color: rgba(255, 255, 255, 0.08);
}

body.night-mode .whip-mm-accounts__item,
body.night-mode .whip-mm-accounts__add {
  color: #e8edf2;
}

body.night-mode .whip-mm-accounts__item:hover,
body.night-mode .whip-mm-accounts__add:hover {
  background: #303840;
}

body.night-mode html.whip-phone-layout[data-page="market"] .whip-market-account-nav {
  background: #fff;
}


/* ---- Mobile menu v2 cascade fix (must win over older whip-mm rules) ---- */
html.whip-phone-layout .whip-mobile-menu {
  background: #eceff3 !important;
}

html.whip-phone-layout .whip-mm-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  min-height: 56px !important;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px !important;
  background: #fff !important;
  border-bottom: 1px solid rgba(20, 22, 24, 0.08) !important;
}

html.whip-phone-layout .whip-mm-head__title {
  display: none !important;
}

html.whip-phone-layout .whip-mm-head__brand {
  display: inline-flex !important;
  align-items: center;
}

html.whip-phone-layout .whip-mm-head__brand img {
  height: 28px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

html.whip-phone-layout .whip-mm-head__actions {
  display: inline-flex !important;
  align-items: center;
  gap: 2px;
}

html.whip-phone-layout .whip-mm-body {
  padding: 12px 12px 28px !important;
}

html.whip-phone-layout .whip-mm-profile {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  margin-bottom: 12px !important;
  padding: 12px !important;
  border: 1px solid rgba(20, 22, 24, 0.08) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 8px 22px rgba(20, 22, 24, 0.05) !important;
}

html.whip-phone-layout .whip-mm-profile__chev {
  margin-left: auto;
  color: #b0b5ba;
  font-size: 0.75rem;
}

html.whip-phone-layout .whip-mm-garage-hero {
  position: relative;
  display: flex !important;
  align-items: flex-end;
  min-height: 132px;
  margin: 0 0 16px;
  padding: 16px;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none !important;
  color: #fff !important;
  background-color: #1c1612;
  background-image: url("../images/explore/market.jpg?v=20261005");
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 28px rgba(20, 22, 24, 0.14);
}

html.whip-phone-layout .whip-mm-section {
  margin: 0 0 16px;
}

html.whip-phone-layout .whip-mm-explore {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

html.whip-phone-layout .whip-mm-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

html.whip-phone-layout .whip-mm-acc {
  margin: 0 0 10px !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 4px 14px rgba(20, 22, 24, 0.04);
  overflow: hidden;
}

html.whip-phone-layout .whip-mm-acc__btn {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: #fff !important;
  text-align: left;
}

html.whip-phone-layout .whip-mm-acc__label {
  flex: 1 1 auto;
  font-size: 14px;
  font-weight: 700;
}

html.whip-phone-layout .whip-mm-pair .whip-mm-acc__label {
  font-size: 12.5px !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html.whip-phone-layout .whip-mm-pair > .whip-mm-acc > .whip-mm-acc__btn {
  padding: 9px 6px !important;
  gap: 6px !important;
}

html.whip-phone-layout .whip-mm-acc__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  color: var(--auto-signal, #FA6418) !important;
}

html.whip-phone-layout .whip-mm-acc__caret--side {
  transform: none !important;
}

html.whip-phone-layout .whip-mm-acc.is-open > .whip-mm-acc__btn .whip-mm-acc__caret--side {
  transform: rotate(90deg) !important;
}

html.whip-phone-layout body.night-mode .whip-mobile-menu,
body.night-mode html.whip-phone-layout .whip-mobile-menu {
  background: #15191e !important;
}

body.night-mode html.whip-phone-layout .whip-mm-head,
body.night-mode html.whip-phone-layout .whip-mm-profile,
body.night-mode html.whip-phone-layout .whip-mm-social__item,
body.night-mode html.whip-phone-layout .whip-mm-acc,
body.night-mode html.whip-phone-layout .whip-mm-acc__btn {
  background: #1e252b !important;
  color: #e8edf2;
}

/* Mobile chrome: logo left, icons right, tab bar under header */
html.whip-phone-layout .main-header,
html.whip-phone-layout.sg-offcanvas-open .main-header {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  height: calc(var(--whip-header-h, 48px) + env(safe-area-inset-top, 0px)) !important;
  padding-top: env(safe-area-inset-top, 0px);
  box-sizing: border-box;
  background: #fff;
  border-bottom: 1px solid rgba(20, 22, 24, 0.16);
  box-shadow: none;
  overflow: visible;
  z-index: 100080;
}

html.whip-phone-layout .main-header .dropdown-menu.dropdown-widget {
  position: fixed !important;
  top: calc(var(--whip-header-h, 48px) + env(safe-area-inset-top, 0px)) !important;
  bottom: auto !important;
  left: 8px !important;
  right: 8px !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  transform: none !important;
  z-index: 100090 !important;
  max-height: min(70dvh, 520px);
  overflow: auto;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 16px 40px rgba(20, 22, 24, 0.2);
}

html.whip-phone-layout .main-header > .container,
html.whip-phone-layout .main-header > .container-fluid {
  position: relative;
  padding-left: var(--whip-phone-gutter, 12px) !important;
  padding-right: var(--whip-phone-gutter, 12px) !important;
}

html.whip-phone-layout .main-header .row {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--whip-header-h, 52px);
  margin-left: 0 !important;
  margin-right: 0 !important;
  --bs-gutter-x: 0;
}

html.whip-phone-layout .main-header .row > * {
  padding-left: 0;
  padding-right: 0;
}

html.whip-phone-layout .whip-header-leftnav,
html.whip-phone-layout .whip-header-centernav,
html.whip-phone-layout .whip-header-search-desk {
  display: none !important;
}

html.whip-phone-layout .whip-header-brand {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  flex: 0 1 auto;
  width: auto;
  max-width: min(168px, calc(100vw - 148px));
  padding-left: 0;
  padding-right: 4px;
  margin-left: 0;
  z-index: 2;
}

html.whip-phone-layout .whip-header-brand .logo img,
html.whip-phone-layout .main-header .logo img {
  height: calc(var(--whip-header-h, 48px) - 8px) !important;
  width: auto !important;
  max-height: calc(var(--whip-header-h, 48px) - 8px) !important;
  max-width: min(168px, calc(100vw - 148px)) !important;
  object-fit: contain;
  object-position: left center;
}

html.whip-phone-layout .whip-header-tools,
html.whip-phone-layout .whip-header-tools__row,
html.whip-phone-layout .whip-header-icons,
html.whip-phone-layout .main-header .navbar-wrapper {
  width: auto;
  max-width: none;
  flex: 1 1 auto;
  margin-left: auto;
}

html.whip-phone-layout .main-header .navbar-wrapper > ul {
  width: auto;
  justify-content: flex-end;
  margin-left: auto;
}

html.whip-phone-layout .main-header .navbar-wrapper > ul > li > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 32px !important;
  min-width: 32px !important;
  padding: 0 4px !important;
}

html.whip-phone-layout .main-header .navbar-wrapper > ul > li > a .header-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  line-height: 0 !important;
}

html.whip-phone-layout .main-header .navbar-wrapper > ul > li > a .header-icon > i,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li > a .header-icon > svg {
  width: 18px !important;
  height: 18px !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

html.whip-phone-layout .main-header .navbar-wrapper > ul > li.js_live-requests,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.js_live-messages,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search {
  display: list-item !important;
  order: 0;
  margin-left: 0;
}

html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-notifications {
  display: none !important;
}

/* Phone: friends + messenger live in secondary bar; menu sits beside search */
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.js_live-requests,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.js_live-messages {
  display: none !important;
}

html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-menu {
  display: list-item !important;
  order: 2;
}

html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search {
  order: 1;
}

html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-notifications {
  order: 0;
}

html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search > a,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-menu > a,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-notifications > a {
  height: 36px !important;
  min-width: 34px !important;
  padding: 0 3px !important;
}

html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search > a .header-icon,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-menu > a .header-icon,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-notifications > a .header-icon {
  width: 22px !important;
  height: 22px !important;
}

html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search > a .header-icon > i,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search > a .header-icon > svg,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-menu > a .header-icon > i,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-menu > a .header-icon > svg,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-notifications > a .header-icon > i,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-notifications > a .header-icon > svg {
  width: 22px !important;
  height: 22px !important;
  font-size: 22px !important;
}

html.whip-phone-layout .footer-bottom-bar .footer-bottom-bar__friends a,
html.whip-phone-layout .footer-bottom-bar .footer-bottom-bar__messages a {
  position: relative;
}

html.whip-phone-layout .footer-bottom-bar .footer-bottom-bar__friends .counter,
html.whip-phone-layout .footer-bottom-bar .footer-bottom-bar__messages .counter {
  position: absolute;
  top: -2px;
  right: calc(50% - 18px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 10px;
  line-height: 16px;
}

.main-header .navbar-wrapper .header-icon,
.main-header .navbar-wrapper .header-icon *,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li > a,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li > a .header-icon,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li > a .header-icon *,
html.whip-phone-layout .whip-header-phone-search > a,
html.whip-phone-layout .whip-header-phone-search > a .header-icon,
html.whip-phone-layout .whip-header-phone-search > a .header-icon *,
html.whip-phone-layout .whip-header-phone-menu > a,
html.whip-phone-layout .whip-header-phone-menu > a .header-icon,
html.whip-phone-layout .whip-header-phone-menu > a .header-icon * {
  color: #3c4148 !important;
  fill: #3c4148 !important;
}

/* Phone: orange when top-right icon panel/page is active (must beat gray rule above) */
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.show > a,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.show > a .header-icon,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.show > a .header-icon *,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.dropdown.show > a .header-icon,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.dropdown.show > a .header-icon *,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-menu.dropdown.show .whip-header-menu__btn,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-menu.dropdown.show .whip-header-menu__btn svg,
html.whip-phone-layout[data-page="messages"] .main-header .js_live-messages > a,
html.whip-phone-layout[data-page="messages"] .main-header .js_live-messages > a .header-icon,
html.whip-phone-layout[data-page="messages"] .main-header .js_live-messages > a .header-icon *,
html.whip-phone-layout[data-page="people"] .main-header .js_live-requests > a,
html.whip-phone-layout[data-page="people"] .main-header .js_live-requests > a .header-icon,
html.whip-phone-layout[data-page="people"] .main-header .js_live-requests > a .header-icon *,
html.whip-phone-layout[data-page="notifications"] .main-header .whip-header-notifications > a,
html.whip-phone-layout[data-page="notifications"] .main-header .whip-header-notifications > a .header-icon,
html.whip-phone-layout[data-page="notifications"] .main-header .whip-header-notifications > a .header-icon * {
  color: var(--auto-signal, #FA6418) !important;
  fill: var(--auto-signal, #FA6418) !important;
}

html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li > a:hover .header-icon,
html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li > a:hover .header-icon *,
html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li.show > a .header-icon,
html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li.show > a .header-icon *,
html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li > a.show .header-icon,
html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li > a.show .header-icon *,
html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li > a .header-icon.active,
html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li > a .header-icon.active *,
html:not(.whip-phone-layout)[data-page="messages"] .main-header .js_live-messages > a .header-icon,
html:not(.whip-phone-layout)[data-page="messages"] .main-header .js_live-messages > a .header-icon *,
html:not(.whip-phone-layout)[data-page="people"] .main-header .js_live-requests > a .header-icon,
html:not(.whip-phone-layout)[data-page="people"] .main-header .js_live-requests > a .header-icon *,
html:not(.whip-phone-layout)[data-page="notifications"] .main-header .whip-header-notifications > a .header-icon,
html:not(.whip-phone-layout)[data-page="notifications"] .main-header .whip-header-notifications > a .header-icon * {
  color: var(--auto-signal, #FA6418) !important;
  fill: var(--auto-signal, #FA6418) !important;
}

/* Phone + desktop: orange when icon panel/page is active */
.main-header .navbar-wrapper > ul > li.show > a .header-icon,
.main-header .navbar-wrapper > ul > li.show > a .header-icon *,
.main-header .navbar-wrapper > ul > li.dropdown.show > a .header-icon,
.main-header .navbar-wrapper > ul > li.dropdown.show > a .header-icon *,
.main-header .navbar-wrapper > ul > li.whip-header-menu.dropdown.show .whip-header-menu__btn,
.main-header .navbar-wrapper > ul > li.whip-header-menu.dropdown.show .whip-header-menu__btn svg,
html[data-page="messages"] .main-header .js_live-messages > a .header-icon,
html[data-page="messages"] .main-header .js_live-messages > a .header-icon *,
html[data-page="people"] .main-header .js_live-requests > a .header-icon,
html[data-page="people"] .main-header .js_live-requests > a .header-icon *,
html[data-page="notifications"] .main-header .whip-header-notifications > a .header-icon,
html[data-page="notifications"] .main-header .whip-header-notifications > a .header-icon * {
  color: var(--auto-signal, #FA6418) !important;
  fill: var(--auto-signal, #FA6418) !important;
}

html.whip-phone-layout {
  background-color: #fff;
}

html.whip-phone-layout body {
  background-color: #fff;
}

html.whip-phone-layout .main-wrapper {
  background-color: var(--auto-paper, #efeeea);
}

html.whip-phone-layout:has(body.night-mode),
html.whip-phone-layout body.night-mode {
  background-color: var(--header-bg-color-dark, #262d34);
}

html.whip-phone-layout body.night-mode .main-wrapper {
  background-color: var(--body-bg-color-dark, #1b1e22);
}

html.whip-phone-layout .page-header:not(.bank-transfer) h2,
html.whip-phone-layout .ca-hero h1,
html.whip-phone-layout .posts-filter,
html.whip-phone-layout .market-account__head h3 {
  color: #3c4148;
}

html.whip-phone-layout body.night-mode .whip-header-phone-search > a,
html.whip-phone-layout body.night-mode .whip-header-phone-search > a .header-icon,
html.whip-phone-layout body.night-mode .whip-header-phone-search > a .header-icon *,
body.night-mode html.whip-phone-layout .whip-header-phone-search > a,
body.night-mode html.whip-phone-layout .whip-header-phone-search > a .header-icon,
body.night-mode html.whip-phone-layout .whip-header-phone-search > a .header-icon * {
  color: #c1d4e3 !important;
  fill: #c1d4e3 !important;
}

html.whip-phone-layout .js_live-requests .dropdown-menu,
html.whip-phone-layout .js_live-messages .dropdown-menu {
  right: 0;
  left: auto;
  transform: none;
}

html.whip-phone-layout .whip-header-notifications .dropdown-menu {
  right: 0;
  left: auto;
}

html.whip-phone-layout .whip-subnav {
  display: none !important;
}

html.whip-phone-layout.sg-offcanvas-open .whip-subnav,
html.whip-phone-layout body.n_activated .whip-subnav,
html.whip-phone-layout body.n_live .whip-subnav {
  top: calc(var(--whip-header-h, 52px) + var(--whip-tabbar-h, 64px));
}

html.whip-phone-layout body.n_activated .whip-subnav,
html.whip-phone-layout body.n_live .whip-subnav {
  top: calc(50px + var(--whip-header-h, 52px) + var(--whip-tabbar-h, 64px));
}

html.whip-phone-layout body.n_activated .footer-bottom-bar,
html.whip-phone-layout body.n_live .footer-bottom-bar {
  top: auto !important;
}

html.whip-phone-layout .whip-subnav__inner {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: var(--whip-subnav-h, 40px);
  padding: 0 8px;
}

html.whip-phone-layout .whip-subnav__toggle {
  display: none !important;
}

html.whip-phone-layout .whip-subnav__links {
  display: none;
}

html.whip-phone-layout .footer-bottom-bar > .container {
  position: relative;
  padding-left: var(--whip-phone-gutter, 12px) !important;
  padding-right: var(--whip-phone-gutter, 12px) !important;
}

/* Center Autified logo mark in the mobile secondary toolbar */
html.whip-phone-layout .footer-bottom-bar__brand {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 36px;
  height: 36px;
  margin: 0 2px;
  border-radius: 11px;
  background: linear-gradient(180deg, #fff 0%, #f6f4f0 100%);
  border: 1px solid rgba(20, 22, 24, 0.1);
  box-shadow: 0 1px 2px rgba(20, 22, 24, 0.05);
  text-decoration: none;
}
html.whip-phone-layout .footer-bottom-bar__brand img {
  display: block;
  height: 16px;
  width: auto;
  max-width: 24px;
  object-fit: contain;
}

html.whip-phone-layout .footer-bottom-bar-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  gap: 0;
  position: relative;
  z-index: 1;
}

html.whip-phone-layout .footer-bottom-bar-links > .link {
  height: 100%;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

html.whip-phone-layout .footer-bottom-bar-links > .link:first-child,
html.whip-phone-layout .footer-bottom-bar-links > .link:last-child {
  justify-content: center;
}

html.whip-phone-layout .footer-bottom-bar-links > .link > a,
html.whip-phone-layout .footer-bottom-bar .user-menu {
  min-height: 0;
  height: auto;
  padding: 4px 0;
  gap: 4px;
  justify-content: center;
}

html.whip-phone-layout .footer-bottom-bar-links > .link:first-child > a,
html.whip-phone-layout .footer-bottom-bar-links > .link:last-child > a {
  align-items: center;
}

html.whip-phone-layout input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="range"]):not([type="color"]),
html.whip-phone-layout textarea,
html.whip-phone-layout select,
html.whip-phone-layout .form-control,
html.whip-phone-layout .ql-editor {
  font-size: 16px !important;
}

html.whip-phone-layout .footer-bottom-bar-links .link > a > .title,
html.whip-phone-layout .footer-bottom-bar .user-menu > .title,
html.whip-phone-layout .footer-bottom-bar__add > a > .title {
  display: none !important;
}

html.whip-phone-layout .footer-bottom-bar .header-icon,
html.whip-phone-layout .footer-bottom-bar__add > a .header-icon,
html.whip-phone-layout .footer-bottom-bar-links > .link.active > a .header-icon,
html.whip-phone-layout .footer-bottom-bar-links > .link.footer-bottom-bar__menu.active > a .header-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 17px !important;
  line-height: 0 !important;
  border-radius: 10px;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  color: #3c4148 !important;
  fill: #3c4148 !important;
}

html.whip-phone-layout .footer-bottom-bar .header-icon *,
html.whip-phone-layout .footer-bottom-bar .header-icon i,
html.whip-phone-layout .footer-bottom-bar__add > a .header-icon *,
html.whip-phone-layout .footer-bottom-bar__add > a .header-icon i {
  color: #3c4148 !important;
  fill: #3c4148 !important;
}

html.whip-phone-layout .footer-bottom-bar-links > .link > a:hover,
html.whip-phone-layout .footer-bottom-bar .user-menu:hover {
  background: transparent;
}

html.whip-phone-layout .footer-bottom-bar-links > .link.active > a .header-icon,
html.whip-phone-layout .footer-bottom-bar-links > .link.active > a .header-icon *,
html.whip-phone-layout .footer-bottom-bar-links > .link.active > a .header-icon i,
html.whip-phone-layout .footer-bottom-bar-links > .link.footer-bottom-bar__menu.active > a .header-icon,
html.whip-phone-layout .footer-bottom-bar-links > .link.footer-bottom-bar__menu.active > a .header-icon *,
html.whip-phone-layout .footer-bottom-bar-links > .link.footer-bottom-bar__add.show > a .header-icon,
html.whip-phone-layout .footer-bottom-bar-links > .link.footer-bottom-bar__add.show > a .header-icon *,
html.whip-phone-layout .footer-bottom-bar-links > .link.footer-bottom-bar__add.show > a .header-icon i {
  color: var(--auto-signal) !important;
  fill: var(--auto-signal) !important;
  background: transparent !important;
  box-shadow: none !important;
}

html.whip-phone-layout .footer-bottom-bar .header-icon > i,
html.whip-phone-layout .footer-bottom-bar .header-icon > svg,
html.whip-phone-layout .footer-bottom-bar__add > a .header-icon > i,
html.whip-phone-layout .footer-bottom-bar__add > a .header-icon > svg {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

html.whip-phone-layout .footer-bottom-bar__add > a .header-icon,
html.whip-phone-layout .footer-bottom-bar__add > a .header-icon *,
html.whip-phone-layout .footer-bottom-bar__add > a .header-icon i {
  color: #3c4148 !important;
  fill: #3c4148 !important;
}

html.whip-phone-layout .footer-bottom-bar__add > a > .title {
  color: inherit;
  font-weight: 700;
}

html.whip-phone-layout .footer-bottom-bar-links .link > a > .title,
html.whip-phone-layout .footer-bottom-bar .user-menu > .title {
  font-size: 12px;
}

html.whip-phone-layout .footer-bottom-bar .dropdown-widget {
  position: fixed !important;
  inset: auto !important;
  top: calc(var(--whip-chrome-h, 100px) + 4px) !important;
  bottom: auto !important;
  left: 8px !important;
  right: 8px !important;
  margin: 0 !important;
  transform: none !important;
  z-index: 100070 !important;
  width: auto !important;
  border-radius: 0 0 10px 10px;
  max-height: calc(100dvh - var(--whip-chrome-h, 100px) - 16px);
  overflow: auto;
  box-shadow: 0 16px 40px rgba(20, 22, 24, 0.18);
}

html.whip-phone-layout .footer-bottom-bar .dropdown-widget .js_scroller {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

html.whip-phone-layout[data-page="messages"] .footer-bottom-bar {
  position: relative !important;
  z-index: 100085 !important;
  isolation: isolate;
}

html.whip-phone-layout[data-page="messages"] .footer-bottom-bar .dropdown-widget {
  z-index: 100090 !important;
}

html.whip-phone-layout[data-page="messages"] .footer-bottom-bar__add {
  position: relative;
  z-index: 2;
}

html.whip-phone-layout[data-page="messages"] .whip-messenger,
html.whip-phone-layout[data-page="messages"] .main-wrapper .whip-messenger {
  position: relative;
  z-index: 1;
}

html.whip-phone-layout.whip-menu-open .footer-bottom-bar,
html.whip-phone-layout[data-page="messages"].whip-menu-open .footer-bottom-bar {
  display: none !important;
}

body.night-mode html.whip-phone-layout .footer-bottom-bar,
html.whip-phone-layout body.night-mode .footer-bottom-bar {
  background: #323a42;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

html.whip-phone-layout .main-wrapper,
html.whip-phone-layout .sg-offcanvas,
html.whip-phone-layout .sg-offcanvas-mainbar,
html.whip-phone-layout .container,
html.whip-phone-layout .container-fluid,
html.whip-phone-layout .home-newsfeed,
html.whip-phone-layout .home-feed-col {
  max-width: 100% !important;
  width: 100%;
}

html.whip-phone-layout .main-wrapper,
html.whip-phone-layout .sg-offcanvas,
html.whip-phone-layout .sg-offcanvas-mainbar {
  overflow-x: hidden;
  transform: none !important;
  margin-left: 0 !important;
  left: auto !important;
}

html.whip-phone-layout.sg-offcanvas-open .main-wrapper,
html.whip-phone-layout.sg-offcanvas-open .sg-offcanvas-mainbar,
html.whip-phone-layout.sg-offcanvas-open .footer-bottom-bar {
  transform: none !important;
  margin-left: 0 !important;
  left: auto !important;
}

/* Phone market: search lives in the header icon; section links sit under the header */
html.whip-phone-layout[data-page="market"] .page-header:has(.market-page-search),
html.whip-phone-layout.whip-market-listing .page-header:has(.market-page-search) {
  display: none !important;
}

.whip-market-subnav {
  display: none;
}

html.whip-phone-layout[data-page="market"] .whip-market-subnav,
html.whip-phone-layout.whip-market-listing .whip-market-subnav {
  display: block;
  background: transparent;
  border-bottom: 0;
  padding: 10px 10px 6px;
}

html.whip-phone-layout[data-page="market"] .whip-market-subnav__links,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

html.whip-phone-layout[data-page="market"] .whip-market-subnav__links > li,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__links > li {
  min-width: 0;
}

html.whip-phone-layout[data-page="market"] .whip-market-subnav__link,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 72px;
  padding: 10px 6px 8px;
  border: 1px solid rgba(20, 22, 24, 0.08);
  border-radius: 16px;
  background: #fff;
  color: #3c4148;
  font-family: var(--auto-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(20, 22, 24, 0.04);
}

html.whip-phone-layout[data-page="market"] .whip-market-subnav__ico,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1;
}

html.whip-phone-layout[data-page="market"] .whip-market-subnav__ico i,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__ico i {
  margin: 0;
  font-size: 15px;
  line-height: 1;
  color: inherit;
}

html.whip-phone-layout[data-page="market"] .whip-market-subnav__txt,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__txt {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.whip-phone-layout[data-page="market"] .whip-market-subnav__link--general .whip-market-subnav__ico,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link--general .whip-market-subnav__ico {
  background: #eef2ff;
  color: #3b5bdb;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link--cars .whip-market-subnav__ico,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link--cars .whip-market-subnav__ico {
  background: #FEE7DB;
  color: var(--auto-signal, #FA6418);
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link--parts .whip-market-subnav__ico,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link--parts .whip-market-subnav__ico {
  background: #eaf8ef;
  color: #2f9e44;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link--mine .whip-market-subnav__ico,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link--mine .whip-market-subnav__ico {
  background: #f3e8ff;
  color: #7b2cbf;
}

html.whip-phone-layout[data-page="market"] .whip-market-subnav__link.is-active,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link.is-active {
  background: #fff;
  border-color: var(--auto-signal, #FA6418);
  color: #141618;
  box-shadow: 0 0 0 2px rgba(250, 100, 24, 0.18);
}

html.whip-phone-layout[data-page="market"] .whip-market-subnav__link.is-active .whip-market-subnav__ico,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link.is-active .whip-market-subnav__ico {
  background: var(--auto-signal, #FA6418);
  color: #fff;
}

html.whip-phone-layout[data-page="market"] .whip-market-subnav__link.is-active .whip-market-subnav__txt,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link.is-active .whip-market-subnav__txt {
  color: var(--auto-signal, #FA6418);
}

.whip-market-account-nav {
  display: none;
}

html.whip-phone-layout[data-page="market"] .posts-filter:has(+ .whip-market-account-nav) {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

html.whip-phone-layout[data-page="market"] .market-account__head:has(+ .whip-market-account-nav) {
  margin-bottom: 8px;
}

html.whip-phone-layout[data-page="market"] .whip-market-account-nav {
  display: flex;
  gap: 0;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid rgba(20, 22, 24, 0.1);
  scrollbar-width: none;
}

html.whip-phone-layout[data-page="market"] .whip-market-account-nav::-webkit-scrollbar {
  display: none;
}

html.whip-phone-layout[data-page="market"] .whip-market-account-nav a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 1px 7px;
  color: var(--auto-steel, #6e767f);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

html.whip-phone-layout[data-page="market"] .whip-market-account-nav a span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

html.whip-phone-layout[data-page="market"] .whip-market-account-nav a i {
  font-size: 13px;
  line-height: 1;
}

html.whip-phone-layout[data-page="market"] .whip-market-account-nav a.is-active {
  color: var(--auto-ink, #141618);
  box-shadow: inset 0 -2px 0 var(--auto-signal, #FA6418);
}

html.whip-phone-layout[data-page="market"] .whip-market-account-nav a.is-active i {
  color: var(--auto-signal, #FA6418);
}

html.whip-phone-layout[data-page="market"] #whip-market-pane.is-loading {
  opacity: 0.45;
  pointer-events: none;
}

/* Phone market: keep category/listing content within viewport */
html.whip-phone-layout[data-page="market"] .sg-offcanvas-mainbar,
html.whip-phone-layout.whip-market-listing .sg-offcanvas-mainbar,
html.whip-phone-layout[data-page="market"] .market-page-row,
html.whip-phone-layout[data-page="market"] .js_market-listings,
html.whip-phone-layout[data-page="market"] .js_market-listings > .row,
html.whip-phone-layout[data-page="market"] .market-landing,
html.whip-phone-layout[data-page="market"] .card,
html.whip-phone-layout[data-page="market"] .product {
  max-width: 100%;
  box-sizing: border-box;
}

html.whip-phone-layout[data-page="market"] .sg-offcanvas-mainbar,
html.whip-phone-layout.whip-market-listing .sg-offcanvas-mainbar {
  overflow-x: hidden;
  width: 100%;
}

html.whip-phone-layout[data-page="market"] .side-nav > li > a,
html.whip-phone-layout[data-page="market"] .market-hub-sidebar__cat-list li a {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

html.whip-phone-layout[data-page="market"] .product-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
}

html.whip-phone-layout[data-page="market"] .content-tabs.market-tabs,
html.whip-phone-layout[data-page="market"] .market-mine-tabs,
html.whip-phone-layout.whip-market-listing .content-tabs.market-tabs {
  display: none !important;
}

html.whip-phone-layout.whip-market-listing .sg-offcanvas {
  margin-top: 8px !important;
}

html.whip-phone-layout[data-page="market"] .whip-market-mine-panel {
  margin-top: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(20, 22, 24, 0.14);
  border-radius: 14px;
}

html.whip-phone-layout[data-page="market"] .whip-market-mine-panel .js_market-listings {
  padding: 12px;
}

html.whip-phone-layout[data-page="market"] .market-account {
  border: 1px solid rgba(20, 22, 24, 0.14);
}

body.night-mode html.whip-phone-layout[data-page="market"] .whip-market-mine-panel {
  background: var(--card-dark-color, #262d34);
  border-color: rgba(255, 255, 255, 0.12);
}

.whip-market-account {
  display: flex;
  flex-direction: column;
  margin: 8px 0 24px;
  overflow: hidden;
  border: 1px solid var(--auto-line);
  border-radius: 14px;
  background: var(--auto-panel, #fff);
}

.whip-market-account__link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--auto-line);
  color: var(--auto-ink, #141618);
  font-weight: 700;
  text-decoration: none;
}

.whip-market-account__link:last-child {
  border-bottom: 0;
}

.whip-market-account__link i {
  width: 22px;
  text-align: center;
  color: var(--auto-steel, #6e767f);
}

html.whip-phone-layout[data-page="market"] .sg-offcanvas {
  margin-top: 8px !important;
}

html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit > ul {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0;
  border-bottom: 1px solid var(--auto-line);
  margin-bottom: 12px;
}

html.whip-phone-layout .ca-phone-tabs .content-tabs.market-tabs.market-tabs--auctions > ul {
  flex-wrap: nowrap;
  gap: 10px;
  border-bottom: 0;
  margin-bottom: 0;
}

html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__section {
  width: auto;
  flex: 0 0 auto;
}

html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__section > a {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: auto;
  min-height: 0;
  padding: 10px 12px 12px;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--auto-steel) !important;
  font-family: var(--auto-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.2;
}

html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__section > a > i.main-icon,
html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__section > a > .svg-container.main-icon,
html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__section > a > .main-icon.svg-container {
  display: none !important;
}

html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__section > a > span {
  display: inline !important;
}

html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__section > a:hover,
html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__section > a:focus,
html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__section.active > a {
  background: transparent !important;
  border: 0 !important;
  color: var(--auto-ink) !important;
  box-shadow: inset 0 -2px 0 var(--auto-signal) !important;
}

html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit > ul > li.market-tabs__account-toggle-wrap {
  flex: 1 0 100%;
  margin-top: 10px;
}

html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit.is-account-open > ul > li.market-tabs__account-extra > a {
  flex-direction: row;
  min-height: 0;
  padding: 8px 12px;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--auto-steel) !important;
  font-family: var(--auto-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit.is-account-open > ul > li.market-tabs__account-extra.active > a {
  background: transparent !important;
  color: var(--auto-ink) !important;
  box-shadow: inset 0 -2px 0 var(--auto-signal) !important;
}

.whip-market-recent__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.whip-market-recent__list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--auto-line);
  color: var(--auto-ink);
  font-weight: 600;
  text-decoration: none;
}

.whip-market-recent__list li a::before {
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 13px;
  color: var(--auto-steel);
}

.whip-market-recent__list li:last-child a {
  border-bottom: 0;
}

html[data-page="market"] .whip-market-search.whip-search-page {
  max-width: 100%;
  width: 100%;
}

.whip-market-search__form {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--auto-line);
  border-radius: 14px;
  background: var(--auto-panel, #fff);
}

.whip-market-search__query,
.whip-market-search__city {
  width: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent;
}

.whip-market-search__query {
  min-height: 48px;
  padding: 12px 14px;
  font-size: 16px;
  border-bottom: 1px solid var(--auto-line) !important;
}

.whip-market-search__loc {
  display: flex;
  align-items: stretch;
  min-height: 46px;
}

.whip-market-search__city {
  flex: 1 1 auto;
  min-height: 46px;
  padding: 10px 14px;
  font-size: 15px;
}

.whip-market-search__loc > .btn {
  flex: 0 0 auto;
  margin: 0;
  border: 0;
  border-left: 1px solid var(--auto-line);
  border-radius: 0;
  min-width: 88px;
  font-weight: 700;
}

/* ---- Profile mobile aside + clean chrome ---- */
.auto-profile__friends-count {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 6px;
  color: #585b5d;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.auto-profile__friends-count strong,
.auto-profile__friends-count span {
  font-size: 14px;
  font-weight: 650;
  color: inherit;
}

.auto-profile__friends-count strong {
  color: var(--auto-ink, #141618);
}

.auto-profile__friends-count:hover {
  color: var(--auto-signal, #FA6418);
}

.auto-profile__friends-count:hover strong {
  color: var(--auto-signal, #FA6418);
}

.auto-profile__search-card .card-header {
  border-bottom: 0;
  padding-bottom: 0;
}

.auto-profile__search-card .card-body {
  padding-top: 10px;
}

.auto-profile__search-card .input-group {
  border: 1px solid rgba(20, 22, 24, 0.14);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(20, 22, 24, 0.06);
}

.auto-profile__search-card .form-control {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 10px 12px;
  font-size: 14px;
}

.auto-profile__search-card .btn {
  border: 0;
  border-left: 1px solid rgba(20, 22, 24, 0.1);
  border-radius: 0;
  padding: 0 14px;
  font-weight: 700;
}

.auto-profile__more {
  display: none !important;
}

html.whip-phone-layout .auto-profile__more {
  display: none !important;
}

html.whip-phone-layout .auto-profile__tabs-desktop {
  display: none !important;
}

html.whip-phone-layout .auto-profile__aside {
  padding-top: calc(var(--whip-header-h, 48px) + env(safe-area-inset-top, 0px) + 10px) !important;
}

html.whip-phone-layout .auto-profile__aside--tabs-only {
  display: block !important;
}

html.whip-phone-layout .auto-profile__search-card {
  margin-top: 4px;
}

html.whip-phone-layout .auto-profile__search-card .card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 0;
  font-size: 13px;
  color: #585b5d;
}

html.whip-phone-layout .auto-profile__search-card .card-header strong {
  font-weight: 700;
  color: var(--auto-ink, #141618);
}

html.whip-phone-layout .auto-profile__search-card .card-body {
  padding: 10px 14px 14px;
}

html.whip-phone-layout .auto-profile__photos .card-body .row {
  --bs-gutter-x: 6px;
  --bs-gutter-y: 6px;
}

html.whip-phone-layout .auto-profile__actions {
  flex-wrap: wrap;
  gap: 8px;
}

html.whip-phone-layout .auto-profile__tabs--side.profile-tabs-wrapper,
html.whip-phone-layout .auto-profile__tabs--side {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  overflow: visible !important;
  margin: 0 0 12px !important;
  padding: 8px !important;
  background: #fff;
  border: 1px solid rgba(20, 22, 24, 0.12);
  border-radius: 14px;
}

html.whip-phone-layout .auto-profile__tabs--side .auto-profile__tab,
html.whip-phone-layout .auto-profile__tabs--side a {
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 42px;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  padding: 8px 10px !important;
  border-radius: 10px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #585b5d !important;
}

html.whip-phone-layout .auto-profile__tabs--side .auto-profile__tab-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(20, 22, 24, 0.06);
  color: inherit;
}

html.whip-phone-layout .auto-profile__tabs--side .auto-profile__tab.active,
html.whip-phone-layout .auto-profile__tabs--side a.active {
  background: var(--auto-signal-soft, #FEE8DD) !important;
  color: var(--auto-signal, #FA6418) !important;
}

html.whip-phone-layout .auto-profile__tabs--side .auto-profile__tab.active .auto-profile__tab-icon,
html.whip-phone-layout .auto-profile__tabs--side a.active .auto-profile__tab-icon {
  background: var(--auto-signal, #FA6418);
  color: #fff;
}

html.whip-phone-layout .auto-profile__tabs--side .auto-profile__tab.active::after,
html.whip-phone-layout .auto-profile__tabs--side a.active::after {
  display: none !important;
}

html.whip-phone-layout .auto-profile__aside .card,
html.whip-phone-layout .auto-profile__aside .auto-profile__tip .btn,
html.whip-phone-layout .auto-profile__aside .d-grid > .btn {
  border-radius: 14px;
}

html.whip-phone-layout .auto-profile__head-row {
  align-items: flex-end;
}

html.whip-phone-layout .auto-profile__identity {
  padding-bottom: 2px;
}

/* Desktop messenger: smaller bubbles in the stage */
html:not(.whip-phone-layout)[data-page="messages"] .whip-messenger__stage .conversation {
  margin-bottom: 12px;
  padding-top: 4px;
}

html:not(.whip-phone-layout)[data-page="messages"] .whip-messenger__stage .conversation-user,
html:not(.whip-phone-layout)[data-page="messages"] .whip-messenger__stage .conversation-user img {
  width: 24px;
  height: 24px;
}

html:not(.whip-phone-layout)[data-page="messages"] .whip-messenger__stage .conversation-body {
  max-width: min(72%, 420px);
}

html:not(.whip-phone-layout)[data-page="messages"] .whip-messenger__stage .conversation-body .text {
  font-size: 13px;
  line-height: 1.35;
  padding: 8px 11px;
  border-radius: 14px;
}

html:not(.whip-phone-layout)[data-page="messages"] .whip-messenger__stage .conversation-body .time {
  font-size: 10px;
}

/* ---- Profile header + sidebar size ---- */
html[data-page="profile"] .auto-profile__handle {
  display: none !important;
}

html[data-page="profile"] .auto-profile .profile-avatar-wrapper,
html[data-page="profile"] .auto-profile .profile-avatar-wrapper:not(.static) {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  flex: 0 0 auto;
  padding: 0 !important;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px rgba(20, 22, 24, 0.16), 0 6px 18px rgba(20, 22, 24, 0.12);
  z-index: 3;
}

html[data-page="profile"] .auto-profile .profile-avatar-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

html[data-page="profile"] .auto-profile .profile-avatar-wrapper.is-own-avatar,
html[data-page="profile"] .auto-profile .profile-avatar-wrapper.has-story {
  overflow: visible !important;
}

html[data-page="profile"] .auto-profile .profile-avatar-wrapper.is-own-avatar img,
html[data-page="profile"] .auto-profile .profile-avatar-wrapper.has-story img {
  overflow: hidden;
  border-radius: 50%;
}

/* Shared garage ride box */
.auto-profile__ride-slot {
  min-width: 0;
}

.auto-profile__ride-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(20, 22, 24, 0.14);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(20, 22, 24, 0.06);
}

.auto-profile__ride-box .auto-profile__ride-chip {
  width: 100%;
  max-width: none;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font-size: 0.98rem;
  font-weight: 700;
}

.auto-profile__ride-box .auto-profile__ride-photo {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
}

.auto-profile__ride-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.auto-profile__ride-box__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0.35rem 0.7rem;
  border-radius: 9px;
  border: 1px solid rgba(20, 22, 24, 0.12);
  background: var(--auto-paper, #efeeea);
  color: var(--auto-ink, #141618);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.auto-profile__ride-box__link:hover {
  border-color: rgba(250, 100, 24, 0.35);
  color: var(--auto-signal, #FA6418);
}

.auto-profile__ride-box__link--accent {
  background: rgba(250, 100, 24, 0.12);
  border-color: rgba(250, 100, 24, 0.28);
  color: #c94a0c;
}

.auto-profile__ride-box__link--danger {
  color: #b42318;
}

.auto-profile__ride-box__link--danger:hover {
  color: #912018;
  border-color: rgba(180, 35, 24, 0.35);
}

.auto-profile__friends-count,
.auto-profile__friends-count strong {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
}

.auto-profile__friends-count strong {
  font-weight: 650;
}

.vg-vehicle-description,
.vg-panel-block {
  padding: 12px 14px;
  margin-bottom: 14px;
  background: #f3f2ef;
  border: 1px solid rgba(20, 22, 24, 0.12);
  border-radius: 12px;
}

.vg-vehicle-actions__under-photos {
  display: none;
}

.vg-vehicle-actions__desktop-meta {
  display: contents;
}

/* Mobile: avatar overlaps cover; name below cover; garage box */
html.whip-phone-layout[data-page="profile"] .auto-profile__head-row {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center !important;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 12px 0.5rem;
  margin-top: -48px;
  position: relative;
  z-index: 2;
  text-align: center;
  background: transparent;
}

html.whip-phone-layout[data-page="profile"] .auto-profile .profile-avatar-wrapper,
html.whip-phone-layout[data-page="profile"] .auto-profile .profile-avatar-wrapper:not(.static) {
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  margin: 0 auto !important;
  border-width: 3px;
  order: 1;
}

html.whip-phone-layout[data-page="profile"] .auto-profile .profile-name-wrapper,
html.whip-phone-layout[data-page="profile"] .auto-profile .profile-name-wrapper.auto-profile__identity,
html.whip-phone-layout[data-page="profile"] .auto-profile__identity {
  display: flex;
  flex-direction: column;
  align-items: center !important;
  justify-content: flex-start;
  text-align: center;
  width: 100%;
  flex: 0 0 auto;
  order: 2;
  min-width: 0;
  padding: 4px 0 2px !important;
  margin-top: 0;
  background: transparent !important;
}

html.whip-phone-layout[data-page="profile"] .auto-profile__name-row,
html.whip-phone-layout[data-page="profile"] .auto-profile__titles,
html.whip-phone-layout[data-page="profile"] .auto-profile__friends-count {
  justify-content: center;
  text-align: center;
}

html.whip-phone-layout[data-page="profile"] .auto-profile .profile-name-wrapper a,
html.whip-phone-layout[data-page="profile"] .auto-profile__name-row > a {
  font-size: 1.28rem;
  line-height: 1.2;
}

html.whip-phone-layout[data-page="profile"] .auto-profile__friends-count {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  margin-top: 4px;
  font-size: 14px;
}

html.whip-phone-layout[data-page="profile"] .auto-profile__friends-count strong,
html.whip-phone-layout[data-page="profile"] .auto-profile__friends-count span {
  font-size: 14px;
  font-weight: 650;
}

html.whip-phone-layout[data-page="profile"] .auto-profile__ride-slot {
  display: none !important;
}

html.whip-phone-layout[data-page="profile"] .auto-profile__tabs-mobile,
html.whip-phone-layout[data-page="profile"] .auto-profile__aside .auto-profile__tabs-mobile,
html.whip-phone-layout[data-page="profile"] .sg-offcanvas-sidebar.auto-profile__aside--tabs-only {
  display: none !important;
}

html.whip-phone-layout[data-page="profile"] .auto-profile__tabs-mobile-bar {
  display: block !important;
  margin: 0 0 10px;
  padding: 0 12px;
}

html.whip-phone-layout .auto-profile__tabs--mobile-bar.profile-tabs-wrapper,
html.whip-phone-layout .auto-profile__tabs--mobile-bar {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 4px !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 !important;
  padding: 6px !important;
  background: #fff;
  border: 1px solid rgba(20, 22, 24, 0.12);
  border-radius: 14px;
}

html.whip-phone-layout .auto-profile__tabs--mobile-bar::-webkit-scrollbar {
  display: none;
}

html.whip-phone-layout .auto-profile__tabs--mobile-bar .auto-profile__tab,
html.whip-phone-layout .auto-profile__tabs--mobile-bar a {
  flex: 1 0 auto !important;
  min-width: 64px !important;
  max-width: none !important;
  min-height: 44px;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  padding: 6px 8px !important;
  border-radius: 10px !important;
  border: 0 !important;
  background: transparent !important;
  color: #585b5d !important;
  text-decoration: none !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

html.whip-phone-layout .auto-profile__tabs--mobile-bar .auto-profile__tab-icon {
  display: inline-flex !important;
  font-size: 15px;
  line-height: 1;
}

html.whip-phone-layout .auto-profile__tabs--mobile-bar .auto-profile__tab.active,
html.whip-phone-layout .auto-profile__tabs--mobile-bar a.active {
  background: rgba(250, 100, 24, 0.12) !important;
  color: var(--auto-signal, #FA6418) !important;
}

html.whip-phone-layout[data-page="profile"] .auto-profile .profile-header {
  position: relative;
  margin-top: 10px;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  z-index: 0;
}

html.whip-phone-layout[data-page="profile"] .profile-cover-wrapper {
  border-radius: 0;
}

html.whip-phone-layout[data-page="profile"] .footer-bottom-bar {
  position: relative;
  z-index: 5;
}

/* Mobile stores: cover flush under secondary bar like garage */
html.whip-phone-layout[data-page="stores"] .whip-stores-page.mt20,
html.whip-phone-layout[data-page="stores"] .whip-stores-page {
  margin-top: 0 !important;
}

html.whip-phone-layout[data-page="stores"] .whip-storefront-page,
html.whip-phone-layout[data-page="stores"] .whip-storefront.auto-profile {
  margin-top: 0;
}

html.whip-phone-layout[data-page="stores"] .whip-storefront .profile-header {
  margin-top: 0;
  margin-bottom: 12px;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  overflow: hidden;
}

html.whip-phone-layout[data-page="stores"] .whip-storefront .profile-cover-wrapper {
  border-radius: 0;
}

html.whip-phone-layout[data-page="profile"] .auto-profile .profile-buttons-wrapper,
html.whip-phone-layout[data-page="profile"] .auto-profile__actions {
  order: 4;
  width: 100%;
}

html.whip-phone-layout[data-page="profile"] .auto-profile__btn--settings {
  display: none !important;
}

html.whip-phone-layout[data-page="profile"] .auto-profile__ride-box {
  padding: 12px;
}

html.whip-phone-layout[data-page="profile"] .auto-profile__ride-box__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

html.whip-phone-layout[data-page="profile"] .auto-profile__ride-box__link {
  justify-content: center;
  min-height: 38px;
  width: 100%;
}

html.whip-phone-layout[data-page="profile"] .auto-profile__ride-box__link--accent {
  grid-column: 1 / -1;
}

html.whip-phone-layout[data-page="profile"] .main-wrapper > .container.auto-profile,
html.whip-phone-layout[data-page="profile"] .main-wrapper > .container-fluid.auto-profile,
html.whip-phone-layout[data-page="profile"] .auto-profile.container,
html.whip-phone-layout[data-page="profile"] .auto-profile.container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

html.whip-phone-layout[data-page="profile"] .auto-profile .profile-buttons-wrapper,
html.whip-phone-layout[data-page="profile"] .auto-profile__actions {
  justify-content: center !important;
  text-align: center;
  gap: 8px;
  padding: 6px 12px 12px;
}

html.whip-phone-layout[data-page="profile"] .auto-profile__actions .auto-profile__btn {
  min-height: 36px;
  border-radius: 10px;
  font-size: 0.84rem;
  padding: 0.4rem 0.75rem;
}

html.whip-phone-layout[data-page="profile"] .auto-profile__btn--edit-profile {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 6;
  min-height: 24px !important;
  padding: 0.15rem 0.42rem !important;
  font-size: 0.65rem !important;
  font-weight: 650;
  gap: 4px;
  border-radius: 7px !important;
  box-shadow: 0 2px 8px rgba(20, 22, 24, 0.2);
}

html.whip-phone-layout[data-page="profile"] .auto-profile__btn--edit-profile i {
  font-size: 0.62rem;
}

html.whip-phone-layout[data-page="profile"] .auto-profile__btn--edit-profile span {
  font-size: 0.65rem;
}

html.whip-phone-layout[data-page="profile"] .auto-profile__titles {
  gap: 6px;
  margin-top: 4px;
  justify-content: center;
}

html.whip-phone-layout[data-page="profile"] .auto-profile__titles .auto-profile__group,
html.whip-phone-layout[data-page="profile"] .auto-profile__titles .whip-rep-rank {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
}

html.whip-phone-layout[data-page="profile"] .profile-cover-wrapper {
  border-radius: 0;
}

html.whip-phone-layout[data-page="profile"] .sg-offcanvas-mainbar > .row {
  padding-left: 12px;
  padding-right: 12px;
}

html.whip-phone-layout[data-page="profile"] .auto-profile > .card,
html.whip-phone-layout[data-page="profile"] .auto-profile .card {
  border-radius: 14px;
}

html.whip-phone-layout[data-page="profile"] .vg-vehicle-toolbar {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 12px !important;
}

html.whip-phone-layout[data-page="profile"] .vg-vehicle-toolbar__crumb {
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.3;
}

html.whip-phone-layout[data-page="profile"] .vg-vehicle-toolbar__name {
  font-size: 1.05rem;
  font-weight: 750;
}

html.whip-phone-layout[data-page="profile"] .vg-vehicle-toolbar__actions--desktop {
  display: none !important;
}

html.whip-phone-layout[data-page="profile"] .vg-vehicle-toolbar__actions {
  margin-left: 0;
  width: 100%;
}

html.whip-phone-layout[data-page="profile"] .vg-vehicle-compare,
html.whip-phone-layout[data-page="profile"] .vg-vehicle-actions__desktop-meta {
  display: none !important;
}

html.whip-phone-layout[data-page="profile"] .vg-vehicle-actions__under-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

html.whip-phone-layout[data-page="profile"] .vg-vehicle-info {
  padding: 2px 0 8px;
}

html.whip-phone-layout[data-page="profile"] .vg-vehicle-info__title {
  font-size: 1.2rem;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

html.whip-phone-layout[data-page="profile"] .vg-vehicle-info__meta,
html.whip-phone-layout[data-page="profile"] .vg-vehicle-info__detail {
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

html.whip-phone-layout[data-page="profile"] .vg-vehicle-description {
  font-size: 0.95rem;
  line-height: 1.45;
}

html.whip-phone-layout[data-page="profile"] .auto-vehicle-card {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
}

html.whip-phone-layout[data-page="profile"] .auto-vehicle-card__photo {
  aspect-ratio: 16 / 10;
}

html.whip-phone-layout[data-page="profile"] .auto-vehicle-card__body {
  padding: 10px 12px 12px;
}

html.whip-phone-layout[data-page="profile"] .auto-vehicle-card__title {
  font-size: 0.98rem;
  line-height: 1.3;
}

html.whip-phone-layout[data-page="profile"] .auto-profile__aside {
  padding-left: 12px !important;
  padding-right: 12px !important;
  padding-top: 8px !important;
}

html.whip-phone-layout[data-page="profile"] .auto-profile__aside .card {
  margin-bottom: 10px;
}

html.whip-phone-layout[data-page="profile"] .footer-bottom-bar {
  margin-bottom: 0 !important;
  padding-top: 2px;
  padding-bottom: 2px;
  height: 44px;
  min-height: 44px;
}

html:not(.whip-phone-layout)[data-page="index"] .home-newsfeed.mt20 {
  margin-top: 12px !important;
}

/* Desktop: avatar overlaps cover; name/friends bigger; actions on the right (no garage block) */
html:not(.whip-phone-layout)[data-page="profile"] .auto-profile .profile-header {
  position: relative;
}

html:not(.whip-phone-layout)[data-page="profile"] .auto-profile__head-row {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr) auto;
  grid-template-areas: "avatar identity actions";
  column-gap: 22px;
  row-gap: 0;
  align-items: end;
  padding: 0.85rem 1.25rem 1rem;
  margin-top: 0;
  position: relative;
  z-index: 2;
  text-align: left;
  background: transparent;
}

html:not(.whip-phone-layout)[data-page="profile"] .auto-profile .profile-avatar-wrapper,
html:not(.whip-phone-layout)[data-page="profile"] .auto-profile .profile-avatar-wrapper:not(.static) {
  grid-area: avatar;
  width: 184px;
  height: 184px;
  flex: 0 0 184px;
  margin: -92px 0 0 !important;
  border-width: 5px;
  box-shadow: 0 0 0 1px rgba(20, 22, 24, 0.14), 0 12px 32px rgba(20, 22, 24, 0.16);
}

html:not(.whip-phone-layout)[data-page="profile"] .auto-profile .profile-name-wrapper,
html:not(.whip-phone-layout)[data-page="profile"] .auto-profile .profile-name-wrapper.auto-profile__identity,
html:not(.whip-phone-layout)[data-page="profile"] .auto-profile__identity {
  grid-area: identity;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
  width: auto;
  min-width: 0;
  padding: 4px 0 6px !important;
  background: transparent !important;
}

html:not(.whip-phone-layout)[data-page="profile"] .auto-profile__ride-slot {
  display: none !important;
}

html:not(.whip-phone-layout)[data-page="profile"] .auto-profile .profile-buttons-wrapper,
html:not(.whip-phone-layout)[data-page="profile"] .auto-profile__actions {
  grid-area: actions;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end !important;
  align-self: end;
  gap: 8px;
  margin: 0;
  padding: 0 0 8px !important;
  text-align: right;
  max-width: 420px;
}

html:not(.whip-phone-layout)[data-page="profile"] .auto-profile__actions .auto-profile__more {
  display: none !important;
}

html:not(.whip-phone-layout)[data-page="profile"] .auto-profile__btn--edit-profile {
  position: static;
  top: auto;
  right: auto;
  z-index: auto;
  min-height: 38px;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 650;
  gap: 6px;
  border-radius: 10px;
  box-shadow: none;
}

html:not(.whip-phone-layout)[data-page="profile"] .auto-profile__btn--settings {
  min-width: 38px;
  min-height: 38px;
}

html:not(.whip-phone-layout)[data-page="profile"] .auto-profile__name-row,
html:not(.whip-phone-layout)[data-page="profile"] .auto-profile__titles,
html:not(.whip-phone-layout)[data-page="profile"] .auto-profile__friends-count {
  justify-content: flex-start;
  text-align: left;
}

html:not(.whip-phone-layout)[data-page="profile"] .auto-profile__friends-count {
  margin-top: 6px;
  gap: 8px;
}

html:not(.whip-phone-layout)[data-page="profile"] .auto-profile__friends-count,
html:not(.whip-phone-layout)[data-page="profile"] .auto-profile__friends-count strong,
html:not(.whip-phone-layout)[data-page="profile"] .auto-profile__friends-count span {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

html:not(.whip-phone-layout)[data-page="profile"] .auto-profile__friends-count strong {
  font-size: 1.35rem;
  font-weight: 800;
}

html:not(.whip-phone-layout)[data-page="profile"] .auto-profile .profile-name-wrapper a,
html:not(.whip-phone-layout)[data-page="profile"] .auto-profile__name-row > a {
  font-size: 2.15rem;
  line-height: 1.15;
  font-weight: 800;
}

html:not(.whip-phone-layout)[data-page="profile"] .vg-vehicle-actions__under-photos {
  display: none !important;
}

html:not(.whip-phone-layout)[data-page="profile"] .auto-profile .auto-profile__aside.col-lg-4 {
  flex: 0 0 22% !important;
  max-width: 22% !important;
  width: 22% !important;
}

html:not(.whip-phone-layout)[data-page="profile"] .auto-profile .col-lg-8 {
  flex: 0 0 78% !important;
  max-width: 78% !important;
  width: 78% !important;
}

/* Cover change: recommended size tip */
.whip-cover-size-tip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 6px 10px 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--auto-paper, #efeeea);
  border: 1px solid rgba(20, 22, 24, 0.1);
  color: #141618;
  pointer-events: none;
}

.whip-cover-size-tip strong {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--auto-steel, #6e767f);
}

.whip-cover-size-tip span {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.whip-cover-size-tip small {
  font-size: 12px;
  color: var(--auto-steel, #6e767f);
  line-height: 1.3;
}

body.night-mode .whip-cover-size-tip {
  background: var(--card-dark-color, #262d34);
  border-color: var(--card-dark-divider, #2e3f4d);
  color: #e8eef4;
}

body.night-mode .whip-cover-size-tip strong,
body.night-mode .whip-cover-size-tip small {
  color: #9aa8b5;
}

/* ---- Standalone garage page ---- */
.whip-garage-page {
  max-width: 1120px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.whip-garage {
  --garage-ink: #141618;
  --garage-muted: #6a7076;
  --garage-line: rgba(20, 22, 24, 0.12);
  --garage-panel: #fff;
  --garage-paper: #efeeea;
  --garage-signal: var(--auto-signal, #FA6418);
  color: var(--garage-ink);
  font-family: Figtree, system-ui, sans-serif;
  padding-bottom: 2rem;
}

.whip-garage__shell {
  border: 1px solid var(--garage-line);
  background: var(--garage-panel);
  overflow: hidden;
}

@media (min-width: 992px) {
  .whip-garage-page {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .whip-garage {
    padding-top: 12px;
  }

  .whip-garage__shell {
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(20, 22, 24, 0.06);
  }

  .whip-garage__body {
    padding: 22px 22px 8px;
  }

  .whip-garage__top {
    padding: 18px 22px 16px;
  }
}

.whip-garage__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px 14px;
  background: var(--garage-panel);
  border-top: 1px solid var(--garage-line);
  border-bottom: 1px solid var(--garage-line);
}

.whip-garage__top-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.whip-garage__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--garage-line);
  background: var(--garage-paper);
  color: var(--garage-ink);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 650;
}

.whip-garage__back:hover {
  border-color: rgba(250, 100, 24, 0.35);
  color: var(--garage-signal);
}

.whip-garage__back--icon {
  width: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  justify-content: center;
  border-radius: 9px;
  font-size: 0.78rem;
}

.whip-garage__titles {
  min-width: 0;
}

.whip-garage__titles--vehicle {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.whip-garage__titles--home {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.whip-garage__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.whip-garage__title-row .whip-garage__title {
  flex: 1 1 auto;
  min-width: 0;
}

.whip-garage__btn--edit-garage {
  flex: 0 0 auto;
  white-space: nowrap;
}

.whip-garage__title {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.whip-garage__follow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--garage-line);
  background: var(--garage-paper);
  color: var(--garage-ink);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.whip-garage__follow--primary {
  background: var(--garage-signal);
  border-color: var(--garage-signal);
  color: #fff;
}

.whip-garage__follow--primary:hover {
  filter: brightness(0.96);
  color: #fff;
}

.whip-garage__follow-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--garage-muted);
  font-size: 0.82rem;
  font-weight: 650;
  white-space: nowrap;
}

.whip-garage__owner {
  display: inline-block;
  margin-top: 2px;
  color: var(--garage-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.whip-garage__owner:hover {
  color: var(--garage-signal);
}

.whip-garage__top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.whip-garage__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0.4rem 0.85rem;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
}

.whip-garage__btn--primary {
  background: var(--garage-signal);
  border-color: var(--garage-signal);
  color: #fff;
}

.whip-garage__btn--primary:hover {
  filter: brightness(0.96);
  color: #fff;
}

.whip-garage__btn--ghost {
  background: var(--garage-paper);
  border-color: var(--garage-line);
  color: var(--garage-ink);
}

.whip-garage__btn--ghost:hover {
  border-color: rgba(250, 100, 24, 0.35);
  color: var(--garage-signal);
}

.whip-garage__hero {
  position: relative;
  background: #1a1c1e;
  border-bottom: 1px solid var(--garage-line);
}

.whip-garage__hero--empty {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #2a2d31, #1a1c1e);
}

.whip-garage__hero-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.whip-garage__hero-empty i {
  font-size: 2rem;
  color: var(--garage-signal);
}

.whip-garage__carousel {
  position: relative;
}

.whip-garage__slide-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.whip-garage__slide-media {
  display: block;
  width: 100%;
  height: clamp(240px, 42vw, 460px);
  object-fit: cover;
  background-size: cover;
  background-position: center;
  background-color: #222;
}

.whip-garage__slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 22px 22px;
  background: linear-gradient(transparent, rgba(10, 12, 14, 0.78));
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
}

.whip-garage__slide-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--garage-signal);
}

.whip-garage__slide-name {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 700;
  line-height: 1.15;
}

.whip-garage__slide-meta {
  font-size: 0.88rem;
  opacity: 0.82;
}

.whip-garage__ctrl {
  width: 48px;
  opacity: 1;
}

.whip-garage__ctrl-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(20, 22, 24, 0.55);
  color: #fff;
  font-size: 0.9rem;
  backdrop-filter: blur(4px);
}

.whip-garage__ctrl:hover .whip-garage__ctrl-icon {
  background: var(--garage-signal);
}

.whip-garage__dots {
  margin-bottom: 12px;
}

.whip-garage__dots [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  opacity: 1;
}

.whip-garage__dots .active {
  background: var(--garage-signal);
}

.whip-garage__carousel:has(.carousel-item:only-child) .whip-garage__ctrl,
.whip-garage__carousel:has(.carousel-item:only-child) .whip-garage__dots {
  display: none;
}

.whip-garage__body {
  padding: 18px 18px 0;
}

.whip-garage__fleet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.whip-garage__fleet-head-left {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.whip-garage__fleet-title {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.whip-garage__fleet-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(250, 100, 24, 0.12);
  color: #c94a0c;
  font-size: 0.8rem;
  font-weight: 700;
}

.whip-garage__fleet-add {
  flex: 0 0 auto;
  white-space: nowrap;
}

.whip-garage__desc {
  margin: 6px 0 0;
  color: var(--auto-steel, #6b7076);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 42rem;
}

.whip-garage__feed-empty {
  padding: 8px 2px 18px;
}

.whip-garage__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}

.whip-garage__card {
  display: flex;
  flex-direction: column;
  background: var(--garage-panel);
  border: 1px solid var(--garage-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(20, 22, 24, 0.05);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.whip-garage__card:hover {
  border-color: rgba(250, 100, 24, 0.35);
  transform: translateY(-1px);
}

.whip-garage__card:hover .whip-garage__card-photo {
  border-color: rgba(250, 100, 24, 0.45);
}

.whip-garage__hero-manage {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  max-width: calc(100% - 24px);
}

.whip-garage__hero-add {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  background: rgba(20, 22, 24, 0.72);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 650;
  cursor: pointer;
  backdrop-filter: blur(4px);
  margin: 0;
}

.whip-garage__hero-add:hover {
  background: var(--garage-signal, #FA6418);
}

.whip-garage__hero-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.whip-garage__hero-thumb {
  position: relative;
  width: 48px;
  height: 36px;
  border-radius: 6px;
  background: #333 center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.whip-garage__hero-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: #b42318;
  color: #fff;
  font-size: 0.65rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.whip-garage__feed {
  margin-top: 22px;
}

.whip-garage__publisher {
  margin-bottom: 14px;
}

.whip-garage__card-media {
  position: relative;
  display: block;
  text-decoration: none;
}

.whip-garage__card-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #e8e5df center / cover no-repeat;
  border: 2px solid rgba(20, 22, 24, 0.14);
  box-sizing: border-box;
}

.whip-garage__card-photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--garage-muted);
  font-size: 2rem;
}

.whip-garage__card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--garage-signal);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.whip-garage__card-shots {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(10, 12, 14, 0.7);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 650;
}

.whip-garage__card-body {
  padding: 12px 14px 14px;
}

.whip-garage__card-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.whip-garage__card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}

.whip-garage__card-title a {
  color: var(--garage-ink);
  text-decoration: none;
}

.whip-garage__card-title a:hover {
  color: var(--garage-signal);
}

.whip-garage__card-meta {
  margin-top: 2px;
  color: var(--garage-muted);
  font-size: 0.84rem;
}

.whip-garage__card-desc {
  margin: 8px 0 0;
  color: var(--garage-muted);
  font-size: 0.86rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.whip-garage__card-more {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--garage-muted);
}

.whip-garage__card-more:hover {
  background: var(--garage-paper);
  color: var(--garage-ink);
}

.whip-garage__empty {
  padding: 40px 18px;
  text-align: center;
  color: var(--garage-muted);
}

.whip-garage__empty p {
  margin-bottom: 14px;
}

.whip-garage__mods {
  margin-top: 22px;
}

.vehicle-garage-detail--standalone {
  background: var(--garage-panel);
  border: 1px solid var(--garage-line);
  border-radius: 14px;
  padding: 16px 18px 8px;
  margin-top: 0;
}

.whip-garage--vehicle .whip-garage__body {
  padding-top: 16px;
}

.vehicle-garage-detail--standalone .vg-vehicle-actions {
  margin-bottom: 12px !important;
}

html.whip-phone-layout .vg-vehicle-info__head {
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 0.35rem;
}

html.whip-phone-layout .vg-vehicle-info__title--inline {
  font-size: 1.2rem;
  padding-top: 0;
  margin-top: 0;
}

html.whip-phone-layout .vg-vehicle-info__head-actions {
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}

html.whip-phone-layout .vg-vehicle-info__head-actions .whip-garage__btn--edit-vehicle span {
  display: none;
}

html.whip-phone-layout .vg-vehicle-info__head-actions .whip-garage__follow span {
  display: inline;
}

html.whip-phone-layout .vg-vehicle-info__head-actions .js_vehicle-set-current {
  display: none;
}

html.whip-phone-layout .whip-garage-page {
  max-width: 100% !important;
}

html.whip-phone-layout .whip-garage__top {
  flex-direction: row;
  align-items: center;
  padding: 12px;
  gap: 10px;
}

html.whip-phone-layout .whip-garage__top-main {
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: 8px;
}

html.whip-phone-layout .whip-garage__titles--vehicle {
  gap: 8px;
}

html.whip-phone-layout .whip-garage__title--vehicle {
  font-size: 1.2rem;
  line-height: 1.2;
}

html.whip-phone-layout .whip-garage__follow {
  min-height: 30px;
  padding: 0 10px;
  font-size: 0.75rem;
  gap: 5px;
}

html.whip-phone-layout .whip-garage__follow span {
  display: inline;
}

html.whip-phone-layout .whip-garage__back--icon {
  width: 30px;
  min-width: 30px;
  min-height: 30px;
  font-size: 0.72rem;
  margin: 0;
}

html.whip-phone-layout .vehicle-garage-detail--standalone {
  padding: 8px 12px 8px;
  border-radius: 12px;
}

html.whip-phone-layout .whip-garage--vehicle .whip-garage__body {
  padding-top: 8px;
}

html.whip-phone-layout .vehicle-garage-detail--standalone .vg-vehicle-info {
  padding-top: 0;
}

html.whip-phone-layout .vehicle-garage-detail--standalone .vg-vehicle-info__meta {
  margin-top: 2px;
  margin-bottom: 0.3rem;
}

html.whip-phone-layout .whip-garage__shell {
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}

html.whip-phone-layout .whip-garage__title-row {
  gap: 8px;
}

html.whip-phone-layout .whip-garage__btn--edit-garage {
  min-height: 32px;
  padding: 0 10px;
}

html.whip-phone-layout .whip-garage__btn--edit-garage span {
  display: none;
}

html.whip-phone-layout .whip-garage--home .whip-garage__top-actions:empty {
  display: none;
}

html.whip-phone-layout .whip-garage--vehicle .whip-garage__btn--edit-vehicle {
  display: none !important;
}

html.whip-phone-layout .whip-garage__hero-manage {
  top: 10px;
  right: 10px;
  bottom: auto;
  max-width: none;
}

html.whip-phone-layout .whip-garage__hero-add {
  width: 40px;
  min-height: 40px;
  padding: 0;
  justify-content: center;
  border-radius: 12px;
}

html.whip-phone-layout .whip-garage__hero-add-label {
  display: none;
}

html.whip-phone-layout .whip-garage__hero-thumbs {
  display: none;
}

html.whip-phone-layout .whip-garage__slide-media {
  height: min(58vw, 280px);
}

html.whip-phone-layout .whip-garage__body {
  padding: 14px 12px 0;
}

html.whip-phone-layout .whip-garage__grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

html.whip-phone-layout .whip-garage__fleet-head {
  align-items: center;
}

html.whip-phone-layout .vg-specs__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

html.whip-phone-layout .vg-specs__item {
  min-height: 108px;
  aspect-ratio: 1 / 1;
  justify-content: center;
  align-items: center;
}

html.whip-phone-layout .vg-specs__cost {
  padding: 14px;
  justify-content: center;
  text-align: center;
}

html.whip-phone-layout .vg-specs__cost-copy {
  align-items: center;
}

html.whip-phone-layout .vg-specs__cost-breakdown {
  justify-content: center;
}


/* ---- The Gallery (finished builds) ---- */
.whip-explore-card--gallery,
.whip-mm-explore-card--gallery {
  background-image: url("../images/explore/gallery.jpg");
  background-color: #1a1512;
  background-size: cover;
  background-position: center;
}

.whip-gallery-page {
  padding-bottom: 2rem;
}

.whip-gallery-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.whip-gallery-hero__kicker {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--auto-signal, #FA6418);
}

.whip-gallery-hero__kicker i {
  margin-right: 6px;
}

.whip-gallery-hero h1 {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  color: var(--auto-ink, #141618);
}

.whip-gallery-hero p {
  margin: 0;
  max-width: 44rem;
  color: var(--auto-steel, #6b7178);
}

.whip-gallery-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.whip-gallery-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.whip-gallery-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: #585b5d;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(20, 22, 24, 0.08);
}

.whip-gallery-tabs a.is-on,
.whip-gallery-tabs a:hover {
  color: #fff;
  background: var(--auto-signal, #FA6418);
  border-color: var(--auto-signal, #FA6418);
}

.whip-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.whip-gallery-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(20, 22, 24, 0.06);
  border: 1px solid rgba(20, 22, 24, 0.06);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.whip-gallery-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(20, 22, 24, 0.12);
  color: inherit;
}

.whip-gallery-card__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #1c1612;
  overflow: hidden;
}

.whip-gallery-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.whip-gallery-card__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(255,255,255,0.55);
  font-size: 2rem;
}

.whip-gallery-card__body {
  padding: 12px 14px 14px;
}

.whip-gallery-card__body h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--auto-ink, #141618);
}

.whip-gallery-card__meta {
  margin-bottom: 10px;
  font-size: 0.82rem;
  color: var(--auto-steel, #6b7178);
}

.whip-gallery-card__user {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 650;
  color: #3a4046;
}

.whip-gallery-card__user img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.whip-gallery-view__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-weight: 700;
  color: var(--auto-signal, #FA6418);
  text-decoration: none;
}

.whip-gallery-view__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.whip-gallery-view__hero {
  overflow: hidden;
  border-radius: 18px;
  background: #111;
  box-shadow: 0 12px 32px rgba(20, 22, 24, 0.12);
}

.whip-gallery-view__hero img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.whip-gallery-view__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.whip-gallery-view__thumb {
  width: 72px;
  height: 54px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: #eee;
  cursor: pointer;
}

.whip-gallery-view__thumb.is-on,
.whip-gallery-view__thumb:hover {
  border-color: var(--auto-signal, #FA6418);
}

.whip-gallery-view__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.whip-gallery-view__side {
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(20, 22, 24, 0.06);
  box-shadow: 0 8px 24px rgba(20, 22, 24, 0.05);
}

.whip-gallery-view__kicker {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--auto-signal, #FA6418);
}

.whip-gallery-view__side h1 {
  margin: 0 0 6px;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.2;
}

.whip-gallery-view__car {
  margin-bottom: 14px;
  color: var(--auto-steel, #6b7178);
  font-weight: 600;
}

.whip-gallery-view__author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: inherit;
  text-decoration: none;
}

.whip-gallery-view__author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.whip-gallery-view__author strong,
.whip-gallery-view__author small {
  display: block;
}

.whip-gallery-view__author small {
  color: var(--auto-steel, #6b7178);
}

.whip-gallery-view__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: #6b7178;
}

.whip-gallery-view__stats i {
  margin-right: 4px;
  color: var(--auto-signal, #FA6418);
}

.whip-gallery-view__story {
  margin-bottom: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(20, 22, 24, 0.08);
  line-height: 1.55;
  color: #2b3035;
  white-space: pre-wrap;
}

@media (max-width: 991.98px) {
  .whip-gallery-view__layout {
    grid-template-columns: 1fr;
  }
}

body.night-mode .whip-gallery-card,
body.night-mode .whip-gallery-view__side,
body.night-mode .whip-gallery-tabs a {
  background: #1e252b;
  color: #e8edf2;
  border-color: rgba(255,255,255,0.08);
}

body.night-mode .whip-gallery-card__body h3,
body.night-mode .whip-gallery-hero h1,
body.night-mode .whip-gallery-view__side h1 {
  color: #e8edf2;
}


/* Main feed: Recent / Popular / Discover mode tabs */
.posts-filter:has(.whip-feed-modes) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  line-height: 1.2;
  padding-bottom: 10px;
}
.posts-filter .whip-feed-modes {
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  min-width: 0;
  gap: 6px;
}
.posts-filter .whip-feed-modes__btn {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 8px;
  border-radius: 8px;
  border: 1px solid rgba(20, 22, 24, 0.1);
  background: #fff;
  color: #3a4046 !important;
  text-decoration: none !important;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.posts-filter .whip-feed-modes__btn:hover {
  color: var(--auto-signal, #FA6418) !important;
  border-color: rgba(250, 100, 24, 0.35);
  background: rgba(250, 100, 24, 0.06);
}
.posts-filter .whip-feed-modes__btn.is-active {
  color: #fff !important;
  background: var(--auto-signal, #FA6418);
  border-color: var(--auto-signal, #FA6418);
}
.posts-filter:has(.whip-feed-modes) > .float-end {
  float: none !important;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: auto;
}
body.night-mode .posts-filter .whip-feed-modes__btn {
  background: var(--card-dark-color, #262d34);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--body-color-dark, #c1d4e3) !important;
}
body.night-mode .posts-filter .whip-feed-modes__btn:hover {
  color: var(--auto-signal, #FA6418) !important;
  background: rgba(250, 100, 24, 0.12);
}
body.night-mode .posts-filter .whip-feed-modes__btn.is-active {
  color: #fff !important;
  background: var(--auto-signal, #FA6418);
  border-color: var(--auto-signal, #FA6418);
}
@media (max-width: 767.98px) {
  .posts-filter .whip-feed-modes__btn {
    font-size: 0.68rem;
    padding: 6px 4px;
    white-space: normal;
    line-height: 1.2;
    min-height: 32px;
  }
}

html.whip-phone-layout .posts-filter .whip-feed-countries.d-md-none:not(.d-flex):not(.d-inline):not(.d-inline-block):not(.market-tabs__account-extra):not(.market-tabs__account-toggle-wrap) {
  display: none !important;
}

html.whip-phone-layout .posts-filter:has(.whip-feed-modes) {
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}

html.whip-phone-layout .posts-filter:has(.whip-feed-modes) .whip-feed-modes {
  flex: 1 1 auto;
  min-width: 0;
}

html.whip-phone-layout .posts-filter:has(.whip-feed-modes) .whip-feed-modes__btn {
  white-space: nowrap;
  font-size: 0.62rem;
  padding: 6px 4px;
  min-width: 0;
}

html.whip-phone-layout .posts-filter:has(.whip-feed-modes) > .float-end {
  margin-left: 0;
}

/* Desktop header: mobile-style PNG nav icons — sized to profile photo (~32px) */
html:not(.whip-phone-layout) .main-header .whip-nav-ico.header-icon,
html:not(.whip-phone-layout) .main-header img.whip-nav-ico {
  display: block !important;
  width: 38px !important;
  height: 38px !important;
  max-width: 38px !important;
  object-fit: contain;
  border-radius: 6px;
}
html:not(.whip-phone-layout) .main-header .whip-header-centernav .whip-header-nav__btn {
  min-width: 64px;
  width: 64px;
}
html:not(.whip-phone-layout) .main-header .whip-header-centernav .whip-header-nav__btn .whip-nav-ico,
html:not(.whip-phone-layout) .main-header .whip-header-menu .whip-nav-ico,
html:not(.whip-phone-layout) .main-header .whip-header-notifications .whip-nav-ico,
html:not(.whip-phone-layout) .main-header .js_live-messages .whip-nav-ico {
  width: 38px !important;
  height: 38px !important;
}
html:not(.whip-phone-layout) .main-header .whip-header-search-desk__btn .whip-nav-ico {
  width: 26px !important;
  height: 26px !important;
}
html:not(.whip-phone-layout) .main-header .whip-header-menu > a,
html:not(.whip-phone-layout) .main-header .whip-header-notifications > a,
html:not(.whip-phone-layout) .main-header .js_live-messages > a {
  min-width: 52px !important;
  padding: 0 6px !important;
}
html:not(.whip-phone-layout) .main-header .whip-header-search-desk__btn {
  min-width: 40px;
  width: 40px;
}

/* Dual homepage toggle + Apps Hub */
.whip-home-toggle {
  position: sticky;
  top: var(--whip-header-h, 60px);
  z-index: 1020;
  background: #fff;
  border-bottom: 1px solid rgba(20, 22, 24, 0.08);
}
body.night-mode .whip-home-toggle {
  background: var(--header-bg-color-dark, #1e252b);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.whip-home-toggle__inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 6px;
  max-width: var(--whip-shell-max, 1240px);
  margin: 0 auto;
  padding: 8px 16px;
}
.whip-home-toggle__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 999px;
  color: #5a6168 !important;
  text-decoration: none !important;
  font-size: 0.92rem;
  font-weight: 700;
  background: #f1f2f4;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.whip-home-toggle__btn i {
  color: inherit;
  font-size: 0.95em;
}
.whip-home-toggle__btn:hover {
  color: var(--auto-signal, #FA6418) !important;
  background: #FEE7DB;
}
.whip-home-toggle__btn.is-active {
  color: #fff !important;
  background: var(--auto-signal, #FA6418);
  border-color: var(--auto-signal, #FA6418);
  box-shadow: 0 4px 12px rgba(250, 100, 24, 0.28);
}
.whip-home-toggle__btn.is-active i {
  color: #fff;
}

.home-newsfeed--hub {
  padding-bottom: 40px;
}
.whip-hub__intro {
  margin: 8px 0 18px;
  text-align: left;
}
.whip-hub__title {
  margin: 0 0 6px;
  font-family: var(--auto-display, "Barlow Condensed", sans-serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: #141618;
  letter-spacing: 0.01em;
}
.whip-hub__sub {
  margin: 0;
  max-width: 54ch;
  color: #6b7178;
  font-size: 0.98rem;
  line-height: 1.45;
}
body.night-mode .whip-hub__title { color: #e8edf2; }
body.night-mode .whip-hub__sub { color: #9aa3ab; }

.whip-hub__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 991.98px) {
  .whip-hub__grid {
    grid-template-columns: 1fr;
  }
  .whip-home-toggle__inner {
    padding: 8px 12px;
  }
  .whip-home-toggle__btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 12px;
    font-size: 0.86rem;
  }
}

.whip-hub-card {
  background: #fff;
  border: 1px solid rgba(20, 22, 24, 0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(20, 22, 24, 0.03);
}
body.night-mode .whip-hub-card {
  background: var(--card-dark-color, #262d34);
  border-color: rgba(255, 255, 255, 0.08);
}
.whip-hub-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(20, 22, 24, 0.06);
}
body.night-mode .whip-hub-card__head {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.whip-hub-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--auto-signal, #FA6418);
  color: #fff;
  flex: 0 0 auto;
}
.whip-hub-card__head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.15;
  color: #141618;
}
.whip-hub-card__head small {
  display: block;
  margin-top: 2px;
  color: #8a9096;
  font-size: 0.75rem;
}
body.night-mode .whip-hub-card__head h2 { color: #e8edf2; }
.whip-hub-card__all {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--auto-signal, #FA6418) !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.whip-hub-card__body {
  padding: 12px 14px 14px;
}
.whip-hub-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.whip-hub-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none !important;
  color: inherit !important;
  border-radius: 12px;
  overflow: hidden;
  background: #f4f5f6;
}
body.night-mode .whip-hub-tile {
  background: rgba(255, 255, 255, 0.05);
}
.whip-hub-tile__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: #2a2f35 center/cover no-repeat;
}
.whip-hub-tile__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 9px 10px;
  min-width: 0;
}
.whip-hub-tile__meta strong {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whip-hub-tile__meta em {
  font-style: normal;
  font-size: 0.74rem;
  color: #8a9096;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whip-hub-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.whip-hub-list a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f4f5f6;
  text-decoration: none !important;
  color: inherit !important;
}
body.night-mode .whip-hub-list a {
  background: rgba(255, 255, 255, 0.05);
}
.whip-hub-list a:hover {
  background: #FEE7DB;
}
.whip-hub-list strong {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
}
.whip-hub-list small {
  color: #8a9096;
  font-size: 0.75rem;
}
.whip-hub-list--avatars a {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.whip-hub-list--avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.whip-hub-list--avatars span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.whip-hub-empty {
  padding: 18px 8px;
  text-align: center;
  color: #8a9096;
  font-size: 0.9rem;
}

html.whip-phone-layout .whip-home-toggle {
  top: var(--whip-header-h, 52px);
}



/* Home rail dropdowns + custom nav icons */
.home-rail__sep {
  display: none;
}

.home-rail__list--main {
  margin: 8px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--auto-line, rgba(20, 22, 24, 0.08));
}
.home-rail__drop-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 4px 0 2px;
  padding: 10px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--auto-steel, #6b7178);
  font-family: var(--auto-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.home-rail__drop-toggle:hover {
  background: rgba(250, 100, 24, 0.08);
  color: var(--auto-signal, #FA6418);
}
.home-rail__drop-toggle i {
  font-size: 0.75rem;
  transform: rotate(0deg);
  transition: transform 0.18s ease;
}
.home-rail__drop-toggle.is-open i,
.home-rail__drop-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}
.home-rail__drop-toggle:not(.is-open):not([aria-expanded="true"]) i {
  transform: rotate(0deg);
}
.home-rail__drop {
  margin-bottom: 6px;
}
.home-rail__nav-ico,
img.whip-nav-ico {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 6px;
  flex: 0 0 auto;
}
.footer-bottom-bar img.whip-nav-ico.header-icon,
.main-header img.whip-nav-ico.header-icon {
  width: 28px !important;
  height: 28px !important;
  border-radius: 8px;
  object-fit: contain;
}
.main-header img.whip-nav-ico.header-icon {
  width: 26px !important;
  height: 26px !important;
}
.footer-bottom-bar-links > .link > a {
  position: relative;
}
.footer-bottom-bar-links > .link > a > .counter {
  position: absolute;
  top: 2px;
  right: calc(50% - 18px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 10px;
  line-height: 16px;
  z-index: 2;
}
html.whip-phone-layout .main-header .whip-header-notifications {
  display: none !important;
}
html.whip-phone-layout .footer-bottom-bar__notifications .counter:not(.x-hidden),
html.whip-phone-layout .footer-bottom-bar__messages .counter:not(.x-hidden) {
  background: var(--auto-signal, #FA6418) !important;
}

/* Phone secondary toolbar: plain centered PNG icons (no orange boxes / off-center edges) */
html.whip-phone-layout .footer-bottom-bar-links {
  align-items: center !important;
  justify-content: space-around;
}
html.whip-phone-layout .footer-bottom-bar-links > .link > a,
html.whip-phone-layout .footer-bottom-bar .user-menu {
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px;
  padding: 4px 2px !important;
  background: transparent !important;
  border-radius: 0 !important;
}
html.whip-phone-layout .footer-bottom-bar .header-icon,
html.whip-phone-layout .footer-bottom-bar img.whip-nav-ico.header-icon,
html.whip-phone-layout .footer-bottom-bar-links > .link.active > a .header-icon,
html.whip-phone-layout .footer-bottom-bar-links > .link.active > a img.whip-nav-ico.header-icon {
  display: block !important;
  width: 28px !important;
  height: 28px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain !important;
  filter: none !important;
}
html.whip-phone-layout .footer-bottom-bar-links > .link.active > a img.whip-nav-ico.header-icon {
  filter: none !important;
  opacity: 1;
}

/* Desktop home rail active states */
@media (min-width: 1200px) {
  html:not(.whip-phone-layout) .home-newsfeed .home-rail__list > li > a {
    border-radius: 12px;
    padding: 10px 12px;
    font-family: var(--auto-display);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.02em;
  }
  html:not(.whip-phone-layout) .home-newsfeed .home-rail__list > li > a:hover {
    background: rgba(250, 100, 24, 0.08);
    color: var(--auto-signal, #FA6418) !important;
  }
  html:not(.whip-phone-layout) .home-newsfeed .home-rail__list > li.active > a {
    background: var(--auto-signal-soft, #FEE8DD);
    color: var(--auto-signal, #FA6418) !important;
  }
}


/* Desktop home left rail: stay fixed while feed scrolls */
@media (min-width: 1200px) {
  html:not(.whip-phone-layout) .home-newsfeed > .row {
    align-items: flex-start !important;
  }
  html:not(.whip-phone-layout) .home-newsfeed > .row > .home-nav-col,
  html:not(.whip-phone-layout).home-sidebar-collapsed .home-newsfeed > .row > .home-nav-col,
  html:not(.whip-phone-layout).home-sidebar-collapsed .home-newsfeed .sg-offcanvas-sidebar.home-nav-col {
    position: sticky !important;
    top: calc(var(--whip-header-h, 72px) + 12px) !important;
    align-self: flex-start !important;
    max-height: calc(100vh - var(--whip-header-h, 72px) - 24px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    transform: none !important;
    z-index: 3;
  }
  html:not(.whip-phone-layout) .home-newsfeed > .row > .home-nav-col .home-nav-body,
  html:not(.whip-phone-layout) .home-newsfeed > .row > .home-nav-col .js_sticky-sidebar {
    position: static !important;
    top: auto !important;
    transform: none !important;
    height: auto !important;
  }
  html:not(.whip-phone-layout) .home-newsfeed,
  html:not(.whip-phone-layout) .home-newsfeed.sg-offcanvas,
  html:not(.whip-phone-layout) .main-wrapper {
    overflow: visible !important;
  }
}

/* ---- Oct 2 polish: toolbar, market links, desktop shell ---- */

/* Desktop: site bg matches theme paper; non-home pages go full width */
@media (min-width: 1200px) {
  html:not(.whip-phone-layout) {
    --whip-shell-max: calc(100vw - 24px);
  }
  html:not(.whip-phone-layout)[data-page="index"] body,
  html:not(.whip-phone-layout)[data-page="index"] body.night-mode {
    background: var(--body-bg-color, var(--auto-paper, #efeeea));
  }
  html:not(.whip-phone-layout) body:not(.auto-landing) .main-wrapper > .container,
  html:not(.whip-phone-layout) body:not(.auto-landing) .main-wrapper > .container-fluid {
    max-width: var(--whip-shell-max) !important;
  }
  html:not(.whip-phone-layout)[data-page="index"] .home-newsfeed.container,
  html:not(.whip-phone-layout)[data-page="index"] .home-newsfeed.container-fluid {
    max-width: calc(100vw - 24px) !important;
  }
  html:not(.whip-phone-layout) .home-newsfeed > .row {
    background: var(--auto-panel, #fbfaf7) !important;
    border: 1px solid var(--auto-line, rgba(20, 22, 24, 0.08)) !important;
    border-radius: 4px !important;
    padding: 12px !important;
    gap: 0 !important;
  }
  html:not(.whip-phone-layout) .whip-header-menu__cards {
    gap: 16px !important;
  }
  html:not(.whip-phone-layout) .whip-explore-card {
    margin: 0;
  }
}

/* Mobile secondary toolbar: rounded centered icons, active underline, badges */
html.whip-phone-layout .footer-bottom-bar-links > .link > a {
  position: relative;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px;
  padding: 6px 2px 8px !important;
}
html.whip-phone-layout .footer-bottom-bar .header-icon,
html.whip-phone-layout .footer-bottom-bar img.whip-nav-ico.header-icon,
html.whip-phone-layout .footer-bottom-bar-links > .link.active > a .header-icon,
html.whip-phone-layout .footer-bottom-bar-links > .link.active > a img.whip-nav-ico.header-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  margin: 0 auto !important;
  padding: 5px !important;
  border-radius: 12px !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain !important;
  box-sizing: border-box;
}
html.whip-phone-layout .footer-bottom-bar-links > .link.active > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 18px;
  height: 3px;
  margin-left: -9px;
  border-radius: 999px;
  background: var(--auto-signal, #FA6418);
}
html.whip-phone-layout .footer-bottom-bar-links > .link > a > .counter {
  position: absolute;
  top: 2px;
  right: calc(50% - 20px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  color: #fff !important;
  background: var(--auto-signal, #FA6418) !important;
  box-shadow: none;
}
html.whip-phone-layout .footer-bottom-bar-links > .link > a > .counter.counter--bang {
  min-width: 14px;
  width: 14px;
  height: 14px;
  padding: 0;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  line-height: 14px;
}
html.whip-phone-layout .main-header .whip-header-notifications,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-notifications {
  display: none !important;
}

/* Mobile market: plain link buttons for section nav */
html.whip-phone-layout[data-page="market"] .whip-market-subnav,
html.whip-phone-layout.whip-market-listing .whip-market-subnav {
  padding: 8px 10px 10px;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__links,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-template-columns: none;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__links > li,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__links > li {
  flex: 0 0 auto;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 0;
  padding: 8px 12px;
  border: 1px solid rgba(20, 22, 24, 0.12);
  border-radius: 999px;
  background: transparent;
  color: #3c4148;
  font-family: var(--auto-body, "Figtree", sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.2;
  box-shadow: none;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__ico,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__ico {
  display: none;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__txt,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__txt {
  white-space: nowrap;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link.is-active,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link.is-active {
  background: var(--auto-signal, #FA6418);
  border-color: var(--auto-signal, #FA6418);
  color: #fff;
  box-shadow: none;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link.is-active .whip-market-subnav__txt,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link.is-active .whip-market-subnav__txt {
  color: #fff;
}

/* Also flatten market-tabs cards on phone if they render */
html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit > ul {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  grid-template-columns: none !important;
}
html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit > ul > li {
  width: auto;
  flex: 0 0 auto;
}
html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit > ul > li > a {
  flex-direction: row !important;
  min-height: 0 !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--auto-body, "Figtree", sans-serif) !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit > ul > li > a > i.main-icon,
html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit > ul > li > a > .svg-container.main-icon,
html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit > ul > li > a > .main-icon.svg-container {
  display: none !important;
}
html.whip-phone-layout .content-tabs.market-tabs.market-tabs--fit > ul > li.active > a {
  background: var(--auto-signal, #FA6418) !important;
  border-color: var(--auto-signal, #FA6418) !important;
  color: #fff !important;
}

/* ---- Oct 3: menu width, right widgets, mobile polish ---- */

@media (min-width: 1200px) {
  html:not(.whip-phone-layout) .whip-header-menu__panel.dropdown-menu {
    width: min(1320px, calc(100vw - 24px)) !important;
  }
  html:not(.whip-phone-layout) .whip-header-menu__cards {
    gap: 18px !important;
  }
  html:not(.whip-phone-layout) .whip-explore-card {
    box-sizing: border-box;
  }
  html:not(.whip-phone-layout) .whip-header-menu__col--more {
    overflow: visible;
  }
  html:not(.whip-phone-layout) .main-header .whip-header-divider {
    display: none !important;
  }
  html:not(.whip-phone-layout) .main-header .whip-header-user__caret {
    display: inline-block !important;
    margin-left: 6px;
    font-size: 0.7rem;
    color: #8a9096;
  }
  html:not(.whip-phone-layout) .main-header .whip-header-user__btn {
    display: inline-flex !important;
    align-items: center;
    gap: 2px;
  }

  /* Social feed right widgets inside connected content */
  html:not(.whip-phone-layout)[data-page="index"] .home-newsfeed > .row > .home-feed-col {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 280px) !important;
    column-gap: 16px !important;
    align-items: start;
  }
  html:not(.whip-phone-layout)[data-page="index"] .home-newsfeed .home-sidebar-col {
    display: block !important;
    position: sticky;
    top: calc(var(--whip-header-h, 72px) + 12px);
    width: auto !important;
    max-width: none !important;
    align-self: start;
    max-height: calc(100vh - var(--whip-header-h, 72px) - 24px);
    overflow-x: hidden;
    overflow-y: auto;
  }
  html:not(.whip-phone-layout)[data-page="index"].home-sidebar-collapsed .home-newsfeed > .row > .home-feed-col {
    grid-template-columns: minmax(0, 1fr) 44px !important;
  }
  html:not(.whip-phone-layout)[data-page="index"].home-sidebar-collapsed .home-newsfeed .home-sidebar-col {
    width: 44px !important;
    max-width: 44px !important;
    overflow: visible;
  }
}

/* Mobile: bigger centered toolbar + header icons; hide empty badges */
html.whip-phone-layout .footer-bottom-bar-links > .link > a {
  align-items: center !important;
  justify-content: center !important;
}
html.whip-phone-layout .footer-bottom-bar .header-icon,
html.whip-phone-layout .footer-bottom-bar img.whip-nav-ico.header-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  padding: 6px !important;
  border-radius: 14px !important;
  object-fit: contain !important;
  box-sizing: border-box;
}
html.whip-phone-layout .footer-bottom-bar .header-icon > i,
html.whip-phone-layout .footer-bottom-bar .header-icon > svg {
  width: 28px !important;
  height: 28px !important;
  font-size: 28px !important;
}
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search > a .header-icon,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-menu > a .header-icon,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search > a .header-icon > i,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search > a .header-icon > svg,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-menu > a .header-icon > i,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-menu > a .header-icon > svg,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search img.whip-nav-ico,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-menu img.whip-nav-ico {
  width: 28px !important;
  height: 28px !important;
  font-size: 28px !important;
}
html.whip-phone-layout .footer-bottom-bar-links > .link > a > .counter.x-hidden,
html.whip-phone-layout .footer-bottom-bar-links > .link > a > .counter:empty,
html.whip-phone-layout .footer-bottom-bar-links > .link > a > .counter.counter--bang.x-hidden {
  display: none !important;
}

/* Social Feed / Apps Hub bar removed on phone (see hide rule below) */

/* Mobile market pills: centered, white */
html.whip-phone-layout[data-page="market"] .whip-market-subnav__links,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__links {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link {
  background: #fff !important;
  border-color: rgba(20, 22, 24, 0.12) !important;
  box-shadow: 0 1px 0 rgba(20, 22, 24, 0.04);
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link.is-active,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link.is-active {
  background: var(--auto-signal, #FA6418) !important;
  border-color: var(--auto-signal, #FA6418) !important;
  color: #fff !important;
}

/* Mobile menu: bigger logo; Feeds/Mine under profile; hide view-all */
html.whip-phone-layout .whip-mm-head__brand img {
  height: 36px !important;
  max-width: 200px !important;
}
html.whip-phone-layout .whip-mm-section__all {
  display: none !important;
}
html.whip-phone-layout .whip-mm-explore-card--gallery {
  display: none !important;
}
html.whip-phone-layout .whip-mm-quickdrops {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
}
html.whip-phone-layout .whip-mm-acc--quick {
  margin: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(20, 22, 24, 0.04);
}
html.whip-phone-layout .whip-mm-acc--quick .whip-mm-acc__btn {
  padding: 12px 14px;
}

/* ---- Oct 3b: smaller explore cards, Feeds/Mine popovers, new icons ---- */

@media (min-width: 1200px) {
  html:not(.whip-phone-layout) .whip-header-menu__layout {
    grid-template-columns: minmax(220px, 1.15fr) minmax(250px, 1.15fr) minmax(190px, 0.95fr) minmax(220px, 1fr) !important;
    grid-template-areas:
      "social explore more create"
      "social garage garage create" !important;
    gap: 18px 22px !important;
  }
  html:not(.whip-phone-layout) .whip-header-menu__layout:not(:has(.whip-header-menu__col--garage)) {
    grid-template-areas: "social explore more create" !important;
  }
  html:not(.whip-phone-layout) .whip-header-menu__cards {
    gap: 12px !important;
  }
  html:not(.whip-phone-layout) .whip-explore-card:not(.whip-garage-menu__hero):not(.whip-garage-menu__add) {
    min-height: 108px !important;
    aspect-ratio: 1.7 / 1 !important;
    padding: 10px !important;
    border-radius: 12px !important;
  }
  html:not(.whip-phone-layout) .whip-garage-menu__hero.whip-explore-card,
  html:not(.whip-phone-layout) .whip-garage-menu__add.whip-explore-card {
    min-height: 156px !important;
    aspect-ratio: auto !important;
  }
  html:not(.whip-phone-layout) .whip-explore-card__badge {
    width: 24px;
    height: 24px;
    top: 8px;
    left: 8px;
  }
  html:not(.whip-phone-layout) .whip-explore-card__go {
    width: 22px;
    height: 22px;
    right: 8px;
    bottom: 8px;
  }
  html:not(.whip-phone-layout) .whip-explore-card__body strong {
    font-size: 0.95rem !important;
  }
  html:not(.whip-phone-layout) .whip-explore-card__body small {
    font-size: 0.62rem !important;
  }
}

/* Feeds / Mine: side-by-side triggers, full-width popover panels */
html.whip-phone-layout .whip-mm-pair {
  position: relative;
  z-index: 5;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
}
html.whip-phone-layout .whip-mm-pair > .whip-mm-acc.is-open {
  z-index: 12;
}
html.whip-phone-layout .whip-mm-pair > .whip-mm-acc.is-open > .whip-mm-acc__list {
  display: grid !important;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: calc(200% + 8px);
  z-index: 20;
  margin: 0;
  padding: 10px;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(20, 22, 24, 0.1);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(20, 22, 24, 0.2);
}
html.whip-phone-layout .whip-mm-pair > .whip-mm-acc:nth-child(2).is-open > .whip-mm-acc__list {
  left: calc(-100% - 8px);
  width: calc(200% + 8px);
}
html.whip-phone-layout .whip-mm-pair > .whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f7f6f3;
  border: 1px solid transparent;
  box-shadow: none;
  color: #141618;
}
html.whip-phone-layout .whip-mm-pair > .whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row > span {
  font-size: 15px;
  font-weight: 650;
  color: #141618;
}
html.whip-phone-layout .whip-mm-pair > .whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row .main-icon,
html.whip-phone-layout .whip-mm-pair > .whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row > i.main-icon,
html.whip-phone-layout .whip-mm-pair > .whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row .svg-container {
  color: var(--auto-signal, #FA6418) !important;
  fill: var(--auto-signal, #FA6418) !important;
}
html.whip-phone-layout .whip-mm-pair > .whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row > .fa-chevron-right {
  margin-left: auto;
  color: #b0b5ba !important;
  font-size: 0.7rem;
}
html.whip-phone-layout .whip-mm-quickdrops {
  display: none !important;
}

/* Bigger logo-colored nav tiles; active underline under icon */
html.whip-phone-layout .footer-bottom-bar .header-icon,
html.whip-phone-layout .footer-bottom-bar img.whip-nav-ico.header-icon {
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  border-radius: 12px !important;
  overflow: hidden;
  object-fit: cover !important;
  background: transparent !important;
}
html.whip-phone-layout .footer-bottom-bar-links > .link > a {
  position: relative;
  padding: 4px 2px 10px !important;
  gap: 0 !important;
}
html.whip-phone-layout .footer-bottom-bar-links > .link.active > a::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 44px;
  bottom: auto;
  width: 18px;
  height: 3px;
  margin-left: -9px;
  border-radius: 999px;
  background: var(--auto-signal, #FA6418);
}
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search img.whip-nav-ico,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-menu img.whip-nav-ico,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search > a .header-icon,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-menu > a .header-icon {
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  object-fit: cover !important;
  padding: 0 !important;
  background: transparent !important;
}

/* ---- Mobile toolbar: equal icon size + underline under icon + search active ---- */
html.whip-phone-layout .footer-bottom-bar-links > .link > a {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  min-height: 0 !important;
  padding: 6px 2px 4px !important;
}
html.whip-phone-layout .footer-bottom-bar .header-icon,
html.whip-phone-layout .footer-bottom-bar img.whip-nav-ico.header-icon,
html.whip-phone-layout .footer-bottom-bar-links > .link.active > a .header-icon,
html.whip-phone-layout .footer-bottom-bar-links > .link.active > a img.whip-nav-ico.header-icon,
html.whip-phone-layout .footer-bottom-bar-links > .link.footer-bottom-bar__menu.active > a .header-icon {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border-radius: 10px !important;
  object-fit: cover !important;
  transform: none !important;
  scale: 1 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html.whip-phone-layout .footer-bottom-bar-links > .link.active > a::after {
  content: "" !important;
  position: static !important;
  display: block !important;
  width: 16px !important;
  height: 3px !important;
  margin: 3px auto 0 !important;
  border-radius: 999px !important;
  background: var(--auto-signal, #FA6418) !important;
  left: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
}
html.whip-phone-layout .footer-bottom-bar-links > .link:not(.active) > a::after {
  content: none !important;
  display: none !important;
}

/* Header search icon active when search page is open */
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search.is-active > a,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search > a.is-active,
html.whip-phone-layout[data-page="search"] .main-header .navbar-wrapper > ul > li.whip-header-phone-search > a {
  position: relative;
}
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search.is-active > a::after,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search > a.is-active::after,
html.whip-phone-layout[data-page="search"] .main-header .navbar-wrapper > ul > li.whip-header-phone-search > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 16px;
  height: 3px;
  margin-left: -8px;
  border-radius: 999px;
  background: var(--auto-signal, #FA6418);
}
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search img.whip-nav-ico,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search > a .header-icon,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search.is-active img.whip-nav-ico,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search > a.is-active .header-icon {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  border-radius: 9px !important;
  object-fit: cover !important;
  transform: none !important;
}

/* ---- Desktop Explore menu: More shifted right, larger spaced cards ---- */
@media (min-width: 1200px) {
  html:not(.whip-phone-layout) .whip-header-menu__layout {
    grid-template-columns: minmax(210px, 1.05fr) minmax(280px, 1.35fr) minmax(180px, 0.9fr) minmax(210px, 1fr) !important;
    gap: 18px 20px !important;
  }
  html:not(.whip-phone-layout) .whip-header-menu__col--more {
    margin-left: 18px !important;
    padding-left: 18px !important;
    border-left: 1px solid rgba(20, 22, 24, 0.08);
  }
  html:not(.whip-phone-layout) .whip-header-menu__cards {
    gap: 14px !important;
    row-gap: 14px !important;
    column-gap: 14px !important;
  }
  html:not(.whip-phone-layout) .whip-explore-card {
    min-height: 124px !important;
    aspect-ratio: 1.55 / 1 !important;
    padding: 11px !important;
    margin: 0 !important;
  }
  html:not(.whip-phone-layout) .whip-explore-card__body strong {
    font-size: 1rem !important;
  }
  html:not(.whip-phone-layout) .whip-explore-card__body small {
    font-size: 0.64rem !important;
  }
  html:not(.whip-phone-layout) body.night-mode .whip-header-menu__col--more {
    border-left-color: rgba(255, 255, 255, 0.08);
  }
}

/* ---- Mobile polish: aligned toolbar icons, bigger logo, market pills ---- */

/* Keep every toolbar icon on the same vertical level; reserve underline space */
html.whip-phone-layout .footer-bottom-bar-links {
  align-items: flex-start !important;
}
html.whip-phone-layout .footer-bottom-bar-links > .link > a {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-height: 44px !important;
  padding: 4px 2px 2px !important;
  gap: 0 !important;
}
html.whip-phone-layout .footer-bottom-bar .header-icon,
html.whip-phone-layout .footer-bottom-bar img.whip-nav-ico.header-icon,
html.whip-phone-layout .footer-bottom-bar-links > .link.active > a .header-icon,
html.whip-phone-layout .footer-bottom-bar-links > .link.active > a img.whip-nav-ico.header-icon {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  margin: 0 auto !important;
  flex: 0 0 32px !important;
}
html.whip-phone-layout .footer-bottom-bar-links > .link > a::after {
  content: "" !important;
  display: block !important;
  width: 16px !important;
  height: 3px !important;
  margin: 3px auto 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  position: static !important;
  left: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
}
html.whip-phone-layout .footer-bottom-bar-links > .link.active > a::after {
  background: var(--auto-signal, #FA6418) !important;
}

/* Bigger phone logo */
html.whip-phone-layout .whip-header-brand {
  max-width: min(210px, calc(100vw - 120px)) !important;
}
html.whip-phone-layout .whip-header-brand .logo img,
html.whip-phone-layout .main-header .logo img {
  height: calc(var(--whip-header-h, 48px) + 4px) !important;
  max-height: 52px !important;
  max-width: min(210px, calc(100vw - 120px)) !important;
}

/* Smaller search + menu header icons */
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search img.whip-nav-ico,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-menu img.whip-nav-ico,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search > a .header-icon,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-menu > a .header-icon,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search.is-active img.whip-nav-ico,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search > a.is-active .header-icon {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  border-radius: 7px !important;
  object-fit: cover !important;
}
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search > a,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-menu > a {
  min-width: 28px !important;
  height: 32px !important;
  padding: 0 2px !important;
}

/* Market section pills: icons on, bigger, full-width aligned with toolbar */
html.whip-phone-layout[data-page="market"] .whip-market-subnav,
html.whip-phone-layout.whip-market-listing .whip-market-subnav {
  padding: 8px 6px 10px !important;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__links,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__links {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 6px !important;
  width: 100% !important;
  justify-content: stretch !important;
  align-items: stretch;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__links > li,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__links > li {
  min-width: 0;
  width: 100%;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  width: 100% !important;
  min-height: 64px !important;
  padding: 10px 4px !important;
  border-radius: 14px !important;
  background: #fff !important;
  border: 1px solid rgba(20, 22, 24, 0.1) !important;
  box-shadow: 0 1px 0 rgba(20, 22, 24, 0.04);
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-align: center;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__ico,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__ico {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  font-size: 14px;
  line-height: 1;
  background: rgba(250, 100, 24, 0.12);
  color: var(--auto-signal, #FA6418);
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__ico i,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__ico i {
  color: inherit;
  font-size: 14px;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__txt,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__txt {
  white-space: normal;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link--general .whip-market-subnav__ico { background: #eef2ff; color: #3b5bdb; }
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link--cars .whip-market-subnav__ico { background: #FEE7DB; color: var(--auto-signal, #FA6418); }
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link--parts .whip-market-subnav__ico { background: #eaf8ef; color: #2f9e44; }
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link--mine .whip-market-subnav__ico { background: #f3e8ff; color: #7b2cbf; }
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link.is-active,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link.is-active {
  background: var(--auto-signal, #FA6418) !important;
  border-color: var(--auto-signal, #FA6418) !important;
  color: #fff !important;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link.is-active .whip-market-subnav__ico,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link.is-active .whip-market-subnav__ico {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link.is-active .whip-market-subnav__txt,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link.is-active .whip-market-subnav__txt {
  color: #fff !important;
}

/* Match market pills horizontal inset to secondary toolbar container */
html.whip-phone-layout .footer-bottom-bar > .container,
html.whip-phone-layout[data-page="market"] .whip-market-subnav {
  padding-left: 6px !important;
  padding-right: 6px !important;
}

/* ---- Mobile market pills: white buttons, orange icons left of text ---- */
html.whip-phone-layout[data-page="market"] .whip-market-subnav__links,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__links {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 8px !important;
  grid-template-columns: none !important;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__links > li,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__links > li {
  width: auto;
  flex: 0 0 auto;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: auto !important;
  min-height: 42px !important;
  padding: 10px 14px !important;
  border-radius: 999px !important;
  background: #fff !important;
  border: 1px solid rgba(20, 22, 24, 0.12) !important;
  box-shadow: none !important;
  color: #141618 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-align: left;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__ico,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__ico,
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link--general .whip-market-subnav__ico,
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link--cars .whip-market-subnav__ico,
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link--parts .whip-market-subnav__ico,
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link--mine .whip-market-subnav__ico,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link--general .whip-market-subnav__ico,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link--cars .whip-market-subnav__ico,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link--parts .whip-market-subnav__ico,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link--mine .whip-market-subnav__ico {
  display: inline-flex !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--auto-signal, #FA6418) !important;
  font-size: 15px !important;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__ico i,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__ico i {
  color: var(--auto-signal, #FA6418) !important;
  font-size: 15px !important;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__txt,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__txt {
  white-space: nowrap !important;
  display: inline !important;
  -webkit-line-clamp: unset !important;
  overflow: visible !important;
  color: inherit;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link.is-active,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link.is-active {
  background: #fff !important;
  border-color: var(--auto-signal, #FA6418) !important;
  color: var(--auto-signal, #FA6418) !important;
  box-shadow: 0 0 0 1px rgba(250, 100, 24, 0.2) !important;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link.is-active .whip-market-subnav__ico,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link.is-active .whip-market-subnav__ico,
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link.is-active .whip-market-subnav__ico i,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link.is-active .whip-market-subnav__ico i {
  background: transparent !important;
  color: var(--auto-signal, #FA6418) !important;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link.is-active .whip-market-subnav__txt,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link.is-active .whip-market-subnav__txt {
  color: var(--auto-signal, #FA6418) !important;
}

/* ---- Mobile market pills: one slidable row ---- */
html.whip-phone-layout[data-page="market"] .whip-market-subnav,
html.whip-phone-layout.whip-market-listing .whip-market-subnav {
  position: relative;
  padding: 6px 6px 8px !important;
  overflow: visible !important;
}
html.whip-phone-layout[data-page="market"] .whip-subnav,
html.whip-phone-layout.whip-market-listing .whip-subnav {
  display: none !important;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__links,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__links {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__links::-webkit-scrollbar,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__links::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__links > li,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__links > li {
  flex: 0 0 auto !important;
  min-width: max-content !important;
  width: auto !important;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__link,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__link {
  display: inline-flex !important;
  width: auto !important;
  min-height: 32px !important;
  padding: 6px 12px !important;
  gap: 4px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  background: #fff;
  border: 1px solid rgba(20, 22, 24, 0.12);
  color: #141618;
  line-height: 1.2;
  cursor: pointer;
}
html.whip-phone-layout[data-page="market"] button.whip-market-subnav__link,
html.whip-phone-layout.whip-market-listing button.whip-market-subnav__link {
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}
html.whip-phone-layout .whip-market-subnav__sell-panel {
  position: fixed;
  z-index: 100090;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(20, 22, 24, 0.12);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(20, 22, 24, 0.16);
}
html.whip-phone-layout .whip-market-subnav__sell-panel[hidden] {
  display: none !important;
}
html.whip-phone-layout .whip-market-subnav__sell-panel a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #141618 !important;
  font-weight: 650;
  text-decoration: none;
}
html.whip-phone-layout .whip-market-subnav__sell-panel a i {
  color: var(--auto-signal, #FA6418);
  width: 1.1em;
}
html.whip-phone-layout .whip-market-subnav__sell-panel a:hover,
html.whip-phone-layout .whip-market-subnav__sell-panel a:focus {
  background: rgba(250, 100, 24, 0.08);
}
html.whip-phone-layout .market-phone-cats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 0 24px;
}
html.whip-phone-layout .market-phone-cats__title {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 750;
}
html.whip-phone-layout .market-phone-cats__group {
  background: #fff;
  border: 1px solid rgba(20, 22, 24, 0.1);
  border-radius: 14px;
  overflow: hidden;
}
html.whip-phone-layout .market-phone-cats__parent {
  display: block;
  padding: 12px 14px;
  font-weight: 750;
  color: #141618 !important;
  text-decoration: none;
}
html.whip-phone-layout .market-phone-cats__subs {
  list-style: none;
  margin: 0;
  padding: 0 0 6px;
}
html.whip-phone-layout .market-phone-cats__subs a {
  display: block;
  padding: 8px 14px 8px 22px;
  color: #3c4148 !important;
  text-decoration: none;
}
html:not(.whip-phone-layout) .market-phone-cats {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
html:not(.whip-phone-layout) .market-phone-cats__group {
  background: #fff;
  border: 1px solid rgba(20, 22, 24, 0.1);
  border-radius: 14px;
}
html:not(.whip-phone-layout) .market-phone-cats__parent,
html:not(.whip-phone-layout) .market-phone-cats__subs a {
  display: block;
  padding: 10px 14px;
  color: #141618;
  text-decoration: none;
}
html:not(.whip-phone-layout) .market-phone-cats__subs {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__ico,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__ico,
html.whip-phone-layout[data-page="market"] .whip-market-subnav__ico i,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__ico i {
  font-size: 12px !important;
  line-height: 1 !important;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav__txt,
html.whip-phone-layout.whip-market-listing .whip-market-subnav__txt {
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: unset !important;
  min-width: 0;
}

/* ---- Mobile logo: slightly smaller for proportion ---- */
html.whip-phone-layout .whip-header-brand {
  max-width: min(176px, calc(100vw - 128px)) !important;
}
html.whip-phone-layout .whip-header-brand .logo img,
html.whip-phone-layout .main-header .logo img {
  height: calc(var(--whip-header-h, 48px) - 10px) !important;
  max-height: 38px !important;
  max-width: min(176px, calc(100vw - 128px)) !important;
}

/* ---- Feeds/Mine popovers: same width as toggle; no dim backdrop ---- */
html.whip-phone-layout .whip-mm-pair {
  position: relative !important;
  z-index: 5 !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  overflow: visible !important;
}
html.whip-phone-layout .whip-mm-pair > .whip-mm-acc {
  position: relative !important;
  overflow: visible !important;
}
html.whip-phone-layout .whip-mm-pair > .whip-mm-acc > .whip-mm-acc__list {
  display: none !important;
}
html.whip-phone-layout .whip-mm-pair > .whip-mm-acc.is-open > .whip-mm-acc__list {
  display: grid !important;
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  z-index: 40 !important;
  margin: 0 !important;
  padding: 8px !important;
  gap: 6px !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: #fff !important;
  border: 1px solid rgba(20, 22, 24, 0.12) !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 32px rgba(20, 22, 24, 0.18) !important;
}
html.whip-phone-layout .whip-mm-pair > .whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row {
  display: flex !important;
  align-items: center !important;
  min-height: 40px !important;
  padding: 8px 10px !important;
  border-radius: 10px !important;
  background: #f7f6f3 !important;
  border: 1px solid transparent !important;
  color: #141618 !important;
  text-decoration: none !important;
}
html.whip-phone-layout .whip-mm-pair > .whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row > span {
  flex: 1 1 auto;
  font-size: 14px !important;
  font-weight: 650 !important;
  color: #141618 !important;
}
html.whip-phone-layout .whip-mm-pair > .whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row .main-icon,
html.whip-phone-layout .whip-mm-pair > .whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row .svg-container,
html.whip-phone-layout .whip-mm-pair > .whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row .main-icon * {
  color: var(--auto-signal, #FA6418) !important;
  fill: var(--auto-signal, #FA6418) !important;
}
/* No dark overlay when Feeds/Mine open */
html.whip-phone-layout.whip-mm-pair-open .whip-mm-body {
  overflow-x: hidden !important;
  overflow-y: auto !important;
}
html.whip-phone-layout.whip-mm-pair-open .whip-mobile-menu::before {
  content: none !important;
  display: none !important;
}

/* Account switcher: float above Feeds/Mine and menu content */
html.whip-phone-layout .whip-mm-profile {
  position: relative !important;
  z-index: 60 !important;
  overflow: visible !important;
}
html.whip-phone-layout .whip-mm-profile.is-accounts-open {
  z-index: 80 !important;
}
html.whip-phone-layout .whip-mm-profile .whip-mm-pair {
  margin: 8px 0 0 !important;
}
html.whip-phone-layout .whip-mm-accounts {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 81 !important;
  overflow: visible !important;
}
html.whip-phone-layout .whip-mm-profile__main {
  padding-right: 44px !important;
}
html.whip-phone-layout .whip-mm-profile:has(.whip-mm-accounts) .whip-mm-profile__chev {
  visibility: hidden;
}
html.whip-phone-layout .whip-mm-accounts__box {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  left: auto !important;
  z-index: 82 !important;
  width: min(260px, calc(100vw - 48px)) !important;
  background: #fff !important;
  box-shadow: 0 18px 44px rgba(20, 22, 24, 0.22) !important;
}

/* Settings/Help foot: same light dropdown rows as Feeds/Mine */
html.whip-phone-layout .whip-mm-foot {
  margin: 0 0 12px !important;
  padding: 8px !important;
  border: 1px solid rgba(20, 22, 24, 0.08) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 4px 14px rgba(20, 22, 24, 0.04) !important;
}
html.whip-phone-layout .whip-mm-foot > .whip-mm-acc {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html.whip-phone-layout .whip-mm-foot > .whip-mm-acc + .whip-mm-acc {
  margin-top: 0 !important;
  padding-top: 6px !important;
  border-top: 1px solid rgba(20, 22, 24, 0.06) !important;
}
html.whip-phone-layout .whip-mm-foot .whip-mm-acc.is-open > .whip-mm-acc__list .whip-mm-row,
html.whip-phone-layout .whip-mobile-menu .whip-mm-acc:not(.whip-mm-acc--nested).is-open > .whip-mm-acc__list .whip-mm-row {
  background: #f7f6f3 !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* ---- Mobile header: bigger search/menu + active line under icon ---- */
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search img.whip-nav-ico,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-menu img.whip-nav-ico,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search > a .header-icon,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-menu > a .header-icon,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search.is-active img.whip-nav-ico,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search > a.is-active .header-icon {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  border-radius: 9px !important;
  object-fit: cover !important;
}
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search > a,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-menu > a {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 34px !important;
  height: auto !important;
  min-height: 40px !important;
  padding: 2px 3px 0 !important;
  gap: 0 !important;
}
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search > a::after,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-menu > a::after {
  content: "" !important;
  display: block !important;
  width: 16px !important;
  height: 3px !important;
  margin: 4px auto 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
}
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search.is-active > a::after,
html.whip-phone-layout .main-header .navbar-wrapper > ul > li.whip-header-phone-search > a.is-active::after,
html.whip-phone-layout[data-page="search"] .main-header .navbar-wrapper > ul > li.whip-header-phone-search > a::after {
  background: var(--auto-signal, #FA6418) !important;
}

/* Secondary toolbar: nudge active underline down a touch to match header spacing */
html.whip-phone-layout .footer-bottom-bar-links > .link > a::after {
  margin-top: 4px !important;
}

/* ---- Desktop home right rail: no close toggle; keep widgets visible ---- */
@media (min-width: 1200px) {
  html:not(.whip-phone-layout)[data-page="index"] .home-sidebar-col .blogs-widget__toggle,
  html:not(.whip-phone-layout)[data-page="index"] .home-sidebar-col .home-sidebar-toggle,
  html:not(.whip-phone-layout)[data-page="index"] .home-sidebar-col .js_home-sidebar-toggle {
    display: none !important;
  }
  html:not(.whip-phone-layout)[data-page="index"].home-sidebar-collapsed .home-newsfeed > .row > .home-feed-col {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 280px) !important;
  }
  html:not(.whip-phone-layout)[data-page="index"].home-sidebar-collapsed .home-newsfeed .home-sidebar-col {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    overflow: visible !important;
  }
  html:not(.whip-phone-layout)[data-page="index"].home-sidebar-collapsed .home-sidebar-col .home-widgets-body,
  html:not(.whip-phone-layout)[data-page="index"].home-sidebar-collapsed .blogs-widget .card-body,
  html:not(.whip-phone-layout)[data-page="index"].home-sidebar-collapsed .blogs-widget__title,
  html:not(.whip-phone-layout)[data-page="index"].home-sidebar-collapsed .blogs-widget__all {
    display: block !important;
  }
  html:not(.whip-phone-layout)[data-page="index"] .home-sidebar-col .pro-box-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
  }
  html:not(.whip-phone-layout)[data-page="index"] .home-sidebar-col .pro-box-wrapper .slick-arrow,
  html:not(.whip-phone-layout)[data-page="index"] .home-sidebar-col .pro-box-wrapper .slick-dots {
    display: none !important;
  }
}

/* ---- Desktop home right rail: promoted slider cards brand orange ---- */
@media (min-width: 992px) {
  html:not(.whip-phone-layout)[data-page="index"] .home-sidebar-col .card.bg-indigo,
  html:not(.whip-phone-layout)[data-page="index"] .home-sidebar-col .card.bg-teal {
    background-color: var(--auto-signal, #FA6418) !important;
  }
  html:not(.whip-phone-layout)[data-page="index"] .home-sidebar-col .pro-box-wrapper .slick-prev:before,
  html:not(.whip-phone-layout)[data-page="index"] .home-sidebar-col .pro-box-wrapper .slick-next:before {
    color: #fff !important;
  }
  html:not(.whip-phone-layout)[data-page="index"] .home-sidebar-col .pro-box-wrapper .slick-dots li button:before {
    color: rgba(255, 255, 255, 0.55) !important;
  }
  html:not(.whip-phone-layout)[data-page="index"] .home-sidebar-col .pro-box-wrapper .slick-dots li.slick-active button:before {
    color: #fff !important;
  }
}

/* ---- Friends / market / toolbar polish (Oct 3) ---- */

/* Mobile friends: keep top toolbox search; hide filter card on request tabs */
html.whip-phone-layout[data-page="people"][data-view="friend_requests"] .whip-people-search,
html.whip-phone-layout[data-page="people"][data-view="sent_requests"] .whip-people-search {
  display: none !important;
}
html.whip-phone-layout[data-page="people"] .listing-tabs-search {
  display: block !important;
}
html.whip-phone-layout[data-page="people"] .content-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
html.whip-phone-layout[data-page="people"] .content-tabs > ul {
  flex: 1 1 auto;
  min-width: 0;
}
html.whip-phone-layout[data-page="people"] .listing-tabs-search {
  flex: 1 1 100%;
  width: 100%;
  margin: 0;
}

/* Mobile market: center main content column (fix left-push) */
html.whip-phone-layout[data-page="market"] .sg-offcanvas .row.market-page-row,
html.whip-phone-layout[data-page="market"] .sg-offcanvas .row.market-landing,
html.whip-phone-layout.whip-market-listing .sg-offcanvas .row.market-page-row {
  display: flex !important;
  justify-content: center !important;
  align-items: stretch !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}
/* Closed sidebar must not reserve space or bias the column left */
html.whip-phone-layout[data-page="market"] .sg-offcanvas .row.market-page-row > .sg-offcanvas-sidebar,
html.whip-phone-layout[data-page="market"] .sg-offcanvas .row.market-landing > .sg-offcanvas-sidebar,
html.whip-phone-layout.whip-market-listing .sg-offcanvas .row.market-page-row > .sg-offcanvas-sidebar {
  position: fixed !important;
  flex: 0 0 0 !important;
  width: 0 !important;
  max-width: 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: visible !important;
  left: 0 !important;
  pointer-events: none;
}
html.whip-phone-layout[data-page="market"].sg-offcanvas-open .sg-offcanvas .row > .sg-offcanvas-sidebar,
html.whip-phone-layout[data-page="market"] .sg-offcanvas.active > .row > .sg-offcanvas-sidebar,
html.whip-phone-layout.whip-market-listing.sg-offcanvas-open .sg-offcanvas .row > .sg-offcanvas-sidebar {
  width: min(340px, 88vw) !important;
  max-width: 340px !important;
  padding: 12px 12px 28px !important;
  border: 1px solid rgba(20, 22, 24, 0.16) !important;
  border-left: 0 !important;
  pointer-events: auto;
}
html.whip-phone-layout[data-page="market"] .market-main-col,
html.whip-phone-layout[data-page="market"] .sg-offcanvas-mainbar.market-main-col,
html.whip-phone-layout[data-page="market"] .sg-offcanvas .row > .sg-offcanvas-mainbar,
html.whip-phone-layout.whip-market-listing .market-main-col {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  /* Gutter comes from the page container only — avoid double padding */
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  box-sizing: border-box !important;
}
/* Content boxes share the same full-width column */
html.whip-phone-layout[data-page="market"] #whip-market-pane,
html.whip-phone-layout[data-page="market"] .market-landing,
html.whip-phone-layout[data-page="market"] .market-landing__section,
html.whip-phone-layout[data-page="market"] .js_market-listings,
html.whip-phone-layout[data-page="market"] .market-account,
html.whip-phone-layout[data-page="market"] .whip-market-account,
html.whip-phone-layout[data-page="market"] .whip-market-mine-panel {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
/* Listings fill left → right (not centered leftovers) */
html.whip-phone-layout[data-page="market"] .js_market-listings > .row,
html.whip-phone-layout[data-page="market"] .market-landing__products,
html.whip-phone-layout[data-page="market"] .whip-market-mine-panel .js_market-listings > .row,
html.whip-phone-layout[data-page="market"] .whip-search-page .js_market-listings > .row {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-content: flex-start !important;
  direction: ltr !important;
  margin-left: -6px !important;
  margin-right: -6px !important;
  width: calc(100% + 12px) !important;
  max-width: none !important;
}
html.whip-phone-layout[data-page="market"] .js_market-listings > .row > [class*="col-"],
html.whip-phone-layout[data-page="market"] .market-landing__products > [class*="col-"],
html.whip-phone-layout[data-page="market"] .whip-search-page .js_market-listings > .row > [class*="col-"] {
  padding-left: 6px !important;
  padding-right: 6px !important;
  float: none !important;
  direction: ltr !important;
  text-align: left !important;
}
/* Listing card content left-aligned LTR */
html.whip-phone-layout[data-page="market"] .product,
html.whip-phone-layout[data-page="market"] .product .product-info,
html.whip-phone-layout[data-page="market"] .product .product-meta,
html.whip-phone-layout[data-page="market"] .product .product-meta .title,
html.whip-phone-layout[data-page="market"] .product .product-title,
html.whip-phone-layout[data-page="market"] .product .product-price {
  text-align: left !important;
  direction: ltr !important;
}
/* Section titles left; See All / sort toggles right */
html.whip-phone-layout[data-page="market"] .posts-filter,
html.whip-phone-layout[data-page="market"] .market-landing__filter {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  align-items: center !important;
  text-align: left !important;
  gap: 8px;
}
html.whip-phone-layout[data-page="market"] .posts-filter > span,
html.whip-phone-layout[data-page="market"] .market-landing__filter > span {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left !important;
  margin-right: auto;
}
html.whip-phone-layout[data-page="market"] .posts-filter > .float-end,
html.whip-phone-layout[data-page="market"] .market-landing__filter > .float-end {
  float: none !important;
  flex: 0 0 auto;
  margin-left: auto !important;
  margin-right: 0 !important;
  text-align: right !important;
}
/* My Market: page title left; white content box centered */
html.whip-phone-layout[data-page="market"] .market-account__head {
  text-align: left !important;
  justify-content: flex-start !important;
}
html.whip-phone-layout[data-page="market"] .whip-market-mine-panel {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}
html.whip-phone-layout[data-page="market"] .market-account,
html.whip-phone-layout[data-page="market"] .whip-market-account {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/*
 * My Market tab: kill left-bias from Bootstrap col-md-8/4 on phone widths.
 * Equal left/right gap; white panel spans the same width as other market pages.
 */
html.whip-phone-layout[data-page="market"][data-view="mine"] .sg-offcanvas .row.market-page-row,
html.whip-phone-layout[data-page="market"][data-view="pending"] .sg-offcanvas .row.market-page-row,
html.whip-phone-layout[data-page="market"][data-view="sold"] .sg-offcanvas .row.market-page-row,
html.whip-phone-layout[data-page="market"][data-view="cart"] .sg-offcanvas .row.market-page-row,
html.whip-phone-layout[data-page="market"][data-view="orders"] .sg-offcanvas .row.market-page-row,
html.whip-phone-layout[data-page="market"][data-view="sales"] .sg-offcanvas .row.market-page-row,
html.whip-phone-layout[data-page="market"][data-view="account"] .sg-offcanvas .row.market-page-row {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
html.whip-phone-layout[data-page="market"][data-view="mine"]:not(.sg-offcanvas-open) .sg-offcanvas-sidebar,
html.whip-phone-layout[data-page="market"][data-view="pending"]:not(.sg-offcanvas-open) .sg-offcanvas-sidebar,
html.whip-phone-layout[data-page="market"][data-view="sold"]:not(.sg-offcanvas-open) .sg-offcanvas-sidebar,
html.whip-phone-layout[data-page="market"][data-view="cart"]:not(.sg-offcanvas-open) .sg-offcanvas-sidebar,
html.whip-phone-layout[data-page="market"][data-view="orders"]:not(.sg-offcanvas-open) .sg-offcanvas-sidebar,
html.whip-phone-layout[data-page="market"][data-view="sales"]:not(.sg-offcanvas-open) .sg-offcanvas-sidebar,
html.whip-phone-layout[data-page="market"][data-view="account"]:not(.sg-offcanvas-open) .sg-offcanvas-sidebar {
  display: none !important;
  flex: 0 0 0 !important;
  width: 0 !important;
  max-width: 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
html.whip-phone-layout[data-page="market"][data-view="mine"] .market-main-col,
html.whip-phone-layout[data-page="market"][data-view="mine"] .sg-offcanvas-mainbar,
html.whip-phone-layout[data-page="market"][data-view="pending"] .market-main-col,
html.whip-phone-layout[data-page="market"][data-view="pending"] .sg-offcanvas-mainbar,
html.whip-phone-layout[data-page="market"][data-view="sold"] .market-main-col,
html.whip-phone-layout[data-page="market"][data-view="sold"] .sg-offcanvas-mainbar,
html.whip-phone-layout[data-page="market"][data-view="cart"] .market-main-col,
html.whip-phone-layout[data-page="market"][data-view="cart"] .sg-offcanvas-mainbar,
html.whip-phone-layout[data-page="market"][data-view="orders"] .market-main-col,
html.whip-phone-layout[data-page="market"][data-view="orders"] .sg-offcanvas-mainbar,
html.whip-phone-layout[data-page="market"][data-view="sales"] .market-main-col,
html.whip-phone-layout[data-page="market"][data-view="sales"] .sg-offcanvas-mainbar,
html.whip-phone-layout[data-page="market"][data-view="account"] .market-main-col,
html.whip-phone-layout[data-page="market"][data-view="account"] .sg-offcanvas-mainbar {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  box-sizing: border-box !important;
}
html.whip-phone-layout[data-page="market"][data-view="mine"] .posts-filter,
html.whip-phone-layout[data-page="market"][data-view="pending"] .posts-filter,
html.whip-phone-layout[data-page="market"][data-view="sold"] .posts-filter,
html.whip-phone-layout[data-page="market"][data-view="mine"] .whip-market-mine-panel,
html.whip-phone-layout[data-page="market"][data-view="pending"] .whip-market-mine-panel,
html.whip-phone-layout[data-page="market"][data-view="sold"] .whip-market-mine-panel,
html.whip-phone-layout[data-page="market"][data-view="cart"] .market-account,
html.whip-phone-layout[data-page="market"][data-view="orders"] .market-account,
html.whip-phone-layout[data-page="market"][data-view="sales"] .market-account,
html.whip-phone-layout[data-page="market"][data-view="account"] .whip-market-account {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}
/* Inside My Market white box: LTR grid without negative-margin left bias */
html.whip-phone-layout[data-page="market"][data-view="mine"] .whip-market-mine-panel .js_market-listings,
html.whip-phone-layout[data-page="market"][data-view="pending"] .whip-market-mine-panel .js_market-listings,
html.whip-phone-layout[data-page="market"][data-view="sold"] .whip-market-mine-panel .js_market-listings {
  padding: 12px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
html.whip-phone-layout[data-page="market"][data-view="mine"] .whip-market-mine-panel .js_market-listings > .row,
html.whip-phone-layout[data-page="market"][data-view="pending"] .whip-market-mine-panel .js_market-listings > .row,
html.whip-phone-layout[data-page="market"][data-view="sold"] .whip-market-mine-panel .js_market-listings > .row {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  direction: ltr !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}
html.whip-phone-layout[data-page="market"][data-view="mine"] .whip-market-mine-panel .js_market-listings > .row > [class*="col-"],
html.whip-phone-layout[data-page="market"][data-view="pending"] .whip-market-mine-panel .js_market-listings > .row > [class*="col-"],
html.whip-phone-layout[data-page="market"][data-view="sold"] .whip-market-mine-panel .js_market-listings > .row > [class*="col-"] {
  padding-left: 6px !important;
  padding-right: 6px !important;
  float: none !important;
}

/* My Market: kill Bootstrap row gutters / offcanvas left push */
html.whip-phone-layout[data-page="market"][data-view="mine"] .sg-offcanvas,
html.whip-phone-layout[data-page="market"][data-view="pending"] .sg-offcanvas,
html.whip-phone-layout[data-page="market"][data-view="sold"] .sg-offcanvas {
  overflow-x: hidden !important;
  overflow-y: visible !important;
}
html.whip-phone-layout[data-page="market"][data-view="mine"] .sg-offcanvas .row.market-page-row,
html.whip-phone-layout[data-page="market"][data-view="pending"] .sg-offcanvas .row.market-page-row,
html.whip-phone-layout[data-page="market"][data-view="sold"] .sg-offcanvas .row.market-page-row {
  --bs-gutter-x: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
html.whip-phone-layout[data-page="market"][data-view="mine"] .sg-offcanvas .row.market-page-row > [class*="col-"],
html.whip-phone-layout[data-page="market"][data-view="pending"] .sg-offcanvas .row.market-page-row > [class*="col-"],
html.whip-phone-layout[data-page="market"][data-view="sold"] .sg-offcanvas .row.market-page-row > [class*="col-"] {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  left: 0 !important;
  right: auto !important;
  position: relative !important;
  transform: none !important;
}
html.whip-phone-layout[data-page="market"][data-view="mine"] #whip-market-pane,
html.whip-phone-layout[data-page="market"][data-view="pending"] #whip-market-pane,
html.whip-phone-layout[data-page="market"][data-view="sold"] #whip-market-pane {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}
html.whip-phone-layout[data-page="market"][data-view="mine"] .whip-market-mine-panel,
html.whip-phone-layout[data-page="market"][data-view="pending"] .whip-market-mine-panel,
html.whip-phone-layout[data-page="market"][data-view="sold"] .whip-market-mine-panel {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* Hub: hide Social Feed button above Explore Autified on mobile */
html.whip-phone-layout .whip-hub__feed-btn {
  display: none !important;
}
html.whip-phone-layout .whip-hub__intro {
  display: none !important;
}

/* Mobile secondary toolbar icons: bigger, even gap around each */
html.whip-phone-layout .footer-bottom-bar .header-icon,
html.whip-phone-layout .footer-bottom-bar img.whip-nav-ico.header-icon,
html.whip-phone-layout .footer-bottom-bar-links > .link.active > a .header-icon,
html.whip-phone-layout .footer-bottom-bar-links > .link.active > a img.whip-nav-ico.header-icon {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  padding: 2px !important;
  margin: 0 auto !important;
  border-radius: 9px !important;
  box-sizing: border-box !important;
  object-fit: contain !important;
  flex: 0 0 34px !important;
}
html.whip-phone-layout .footer-bottom-bar-links > .link > a {
  min-height: 46px !important;
  padding: 4px 2px 6px !important;
  gap: 2px !important;
}
html.whip-phone-layout {
  --whip-tabbar-h: 56px;
}

/* Mobile: Social Feed / Apps Hub dual-home bar removed — Apps Hub is /hub via toolbar */
html.whip-phone-layout .whip-home-toggle,
html.whip-phone-layout .whip-home-toggle--bar,
html.whip-phone-layout .whip-home-toggle--rail,
html.whip-phone-layout .whip-home-toggle--header,
html.whip-phone-layout .whip-hub__feed-btn,
html:not(.whip-phone-layout) .whip-home-toggle--bar,
html:not(.whip-phone-layout) .whip-home-toggle--rail,
html:not(.whip-phone-layout) .whip-hub__feed-btn {
  display: none !important;
}

/* Same left/right gap on every mobile market page (hub, cars, parts, mine, cart, orders, sales, search) */
html.whip-phone-layout[data-page="market"],
html.whip-phone-layout.whip-market-listing {
  --whip-market-gutter: 12px;
}
/* Phone layout uses col-12; force full-width even if cached HTML still has col-md/col-lg */
html.whip-phone-layout[data-page="market"] .sg-offcanvas .row > .sg-offcanvas-mainbar.market-main-col,
html.whip-phone-layout[data-page="market"] .sg-offcanvas > .row > .market-main-col,
html.whip-phone-layout.whip-market-listing .sg-offcanvas > .row > .sg-offcanvas-mainbar.market-main-col {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
html.whip-phone-layout[data-page="market"] .sg-offcanvas,
html.whip-phone-layout.whip-market-listing .sg-offcanvas {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
html.whip-phone-layout[data-page="market"] .main-wrapper > .container,
html.whip-phone-layout[data-page="market"] .main-wrapper > .container-fluid,
html.whip-phone-layout[data-page="market"] .sg-offcanvas.container,
html.whip-phone-layout[data-page="market"] .sg-offcanvas.container-fluid,
html.whip-phone-layout[data-page="market"] .whip-search-page,
html.whip-phone-layout[data-page="market"] .whip-market-search,
html.whip-phone-layout.whip-market-listing .main-wrapper > .container,
html.whip-phone-layout.whip-market-listing .main-wrapper > .container-fluid {
  padding-left: var(--whip-market-gutter) !important;
  padding-right: var(--whip-market-gutter) !important;
  box-sizing: border-box !important;
}
html.whip-phone-layout[data-page="market"] .whip-market-subnav,
html.whip-phone-layout.whip-market-listing .whip-market-subnav {
  padding-left: var(--whip-market-gutter) !important;
  padding-right: var(--whip-market-gutter) !important;
  padding-top: 8px !important;
  padding-bottom: 10px !important;
  box-sizing: border-box !important;
}
html.whip-phone-layout[data-page="market"] .sg-offcanvas .row.market-page-row,
html.whip-phone-layout[data-page="market"] .sg-offcanvas .row.market-landing,
html.whip-phone-layout.whip-market-listing .sg-offcanvas .row.market-page-row {
  justify-content: center !important;
}
/* Listing grids: fill left → right, never center leftover cards */
html.whip-phone-layout[data-page="market"] .js_market-listings > .row,
html.whip-phone-layout[data-page="market"] .market-landing__products,
html.whip-phone-layout[data-page="market"] .whip-market-mine-panel .js_market-listings > .row,
html.whip-phone-layout[data-page="market"] .whip-search-page .js_market-listings > .row {
  justify-content: flex-start !important;
  align-content: flex-start !important;
  direction: ltr !important;
}
html.whip-phone-layout[data-page="market"] .posts-filter,
html.whip-phone-layout[data-page="market"] .market-account__head,
html.whip-phone-layout[data-page="market"] .market-loc,
html.whip-phone-layout[data-page="market"] .market-landing__cta-strip,
html.whip-phone-layout[data-page="market"] .whip-market-mine-panel,
html.whip-phone-layout[data-page="market"] .market-account,
html.whip-phone-layout[data-page="market"] .whip-search-page__box,
html.whip-phone-layout[data-page="market"] .whip-search-recent-card {
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
html.whip-phone-layout[data-page="market"] .market-landing__cta-strip {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  text-align: left !important;
}
html.whip-phone-layout[data-page="market"] .market-landing__cta-actions {
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
}

/* My Market phone strip: fit 5 items */
html.whip-phone-layout[data-page="market"] .whip-market-account-nav {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
html.whip-phone-layout[data-page="market"] .whip-market-account-nav a {
  flex: 1 1 0;
  min-width: 56px;
  font-size: 9px;
  padding: 8px 2px 7px;
}

/* Desktop header: friends icon visible + smaller Feed/Hub pills */
@media (min-width: 1200px) {
  html:not(.whip-phone-layout) .main-header .whip-header-friends,
  html:not(.whip-phone-layout) .main-header .js_live-requests.whip-header-friends {
    display: list-item !important;
  }
  html:not(.whip-phone-layout) .main-header .whip-header-friends > a .header-icon,
  html:not(.whip-phone-layout) .main-header .whip-header-friends > a .header-icon i {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: var(--whip-header-icon, 22px) !important;
    height: var(--whip-header-icon, 22px) !important;
    font-size: var(--whip-header-icon, 22px) !important;
    line-height: 1 !important;
    color: inherit !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  html:not(.whip-phone-layout) .main-header .whip-home-toggle--header {
    gap: 5px;
  }
  html:not(.whip-phone-layout) .main-header .whip-home-toggle--header .whip-home-toggle__btn {
    min-height: 28px !important;
    padding: 4px 10px !important;
    font-size: 0.72rem !important;
    border-radius: 999px;
  }
}

/* Mobile friends toolbar: badge only when requests exist */
html.whip-phone-layout .footer-bottom-bar__friends .counter.x-hidden,
html.whip-phone-layout .footer-bottom-bar__friends .counter:empty,
html.whip-phone-layout .footer-bottom-bar__friends .js_friend-requests-counter.x-hidden,
html.whip-phone-layout .footer-bottom-bar__friends .js_friend-requests-counter:empty {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Desktop: Social Feed / Apps Hub live in left rail under user card */
html:not(.whip-phone-layout) .whip-header-home-modes,
html:not(.whip-phone-layout) .main-header .whip-home-toggle--header {
  display: none !important;
}
html:not(.whip-phone-layout) .home-rail .whip-home-toggle--rail {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  gap: 6px;
  margin: 10px 0 12px;
  padding: 0;
  background: transparent;
  border: 0;
  position: static;
  top: auto;
  z-index: auto;
}
html:not(.whip-phone-layout) .home-rail .whip-home-toggle--rail .whip-home-toggle__btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 34px;
  padding: 7px 8px;
  font-size: 0.72rem;
  gap: 5px;
  border-radius: 10px;
  justify-content: center;
  white-space: nowrap;
}
html:not(.whip-phone-layout) .home-rail .whip-home-toggle--rail .whip-home-toggle__btn i {
  font-size: 0.8em;
}
html.whip-phone-layout .home-rail .whip-home-toggle--rail {
  display: none !important;
}

/* Hub: Social Feed button top-right above Stores column */
.whip-hub__intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 20px;
  margin: 8px 0 18px;
  text-align: left;
}
.whip-hub__intro-copy {
  min-width: 0;
  flex: 1 1 auto;
}
.whip-hub__feed-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--auto-signal, #FA6418);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(250, 100, 24, 0.28);
  align-self: flex-start;
  margin-left: auto;
}
.whip-hub__feed-btn:hover {
  filter: brightness(1.05);
  color: #fff !important;
}
.whip-hub__feed-btn i {
  font-size: 0.85em;
}
@media (min-width: 992px) {
  .whip-hub__intro {
    align-items: center;
  }
  /* Keep button over the right (Stores) column */
  .whip-hub__feed-btn {
    margin-right: 0;
  }
}
@media (max-width: 575.98px) {
  .whip-hub__intro {
    flex-wrap: wrap;
  }
  .whip-hub__feed-btn {
    order: -1;
    width: 100%;
  }
}

/* Desktop: no Social Feed / Apps Hub toggle in left rail */
html:not(.whip-phone-layout) .home-rail .whip-home-toggle--rail {
  display: none !important;
}

/* Desktop left rail: Apps Hub under user details */
html:not(.whip-phone-layout) .home-rail .home-rail__hub-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 38px;
  margin: 10px 0 12px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #f1f2f4;
  border: 1px solid transparent;
  color: #5a6168 !important;
  text-decoration: none !important;
  font-size: 0.82rem;
  font-weight: 700;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
html:not(.whip-phone-layout) .home-rail .home-rail__hub-btn:hover {
  color: var(--auto-signal, #FA6418) !important;
  background: #FEE7DB;
  border-color: rgba(250, 100, 24, 0.22);
}
html:not(.whip-phone-layout) .home-rail .home-rail__hub-btn.is-active {
  color: #fff !important;
  background: var(--auto-signal, #FA6418);
  border-color: var(--auto-signal, #FA6418);
  box-shadow: 0 4px 12px rgba(250, 100, 24, 0.28);
}
html:not(.whip-phone-layout) .home-rail .home-rail__hub-btn i {
  font-size: 0.9em;
}
html.whip-phone-layout .home-rail .home-rail__hub-btn {
  display: none !important;
}

/* Hide leftover Apps Hub rail button if present */
html:not(.whip-phone-layout) .home-rail .home-rail__hub-btn,
html.whip-phone-layout .home-rail .home-rail__hub-btn {
  display: none !important;
}

/*
 * Mobile market equal gutters (final).
 * Rows live under #whip-market-pane, not as direct children of .sg-offcanvas.
 * Bootstrap .row negative margins + max-width:100% caused left:0 / right:24 bias.
 */
html.whip-phone-layout[data-page="market"] .sg-offcanvas .row.market-page-row,
html.whip-phone-layout[data-page="market"] .sg-offcanvas .row.market-landing,
html.whip-phone-layout[data-page="market"] #whip-market-pane > .row,
html.whip-phone-layout.whip-market-listing .sg-offcanvas .row.market-page-row {
  --bs-gutter-x: 0 !important;
  --bs-gutter-y: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
html.whip-phone-layout[data-page="market"] .sg-offcanvas .row.market-page-row > .sg-offcanvas-mainbar,
html.whip-phone-layout[data-page="market"] .sg-offcanvas .row.market-landing > .sg-offcanvas-mainbar,
html.whip-phone-layout[data-page="market"] #whip-market-pane > .row > .sg-offcanvas-mainbar,
html.whip-phone-layout[data-page="market"] .market-main-col {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important;
}
html.whip-phone-layout[data-page="market"]:not(.sg-offcanvas-open) .sg-offcanvas .row.market-page-row > .sg-offcanvas-sidebar,
html.whip-phone-layout[data-page="market"]:not(.sg-offcanvas-open) .sg-offcanvas .row.market-landing > .sg-offcanvas-sidebar,
html.whip-phone-layout[data-page="market"]:not(.sg-offcanvas-open) #whip-market-pane > .row > .sg-offcanvas-sidebar {
  display: none !important;
  flex: 0 0 0 !important;
  width: 0 !important;
  max-width: 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
html.whip-phone-layout[data-page="market"] .whip-market-mine-panel,
html.whip-phone-layout[data-page="market"] .posts-filter,
html.whip-phone-layout[data-page="market"] .market-account,
html.whip-phone-layout[data-page="market"] .whip-market-account {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* Mobile: no logo in secondary toolbar */
html.whip-phone-layout .footer-bottom-bar__brand {
  display: none !important;
}

/* Desktop: header flush to top; Home/Explore/Apps Hub stay viewport-centered */
html:not(.whip-phone-layout) body {
  padding-top: 0 !important;
}
html:not(.whip-phone-layout) .main-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1050;
}
html:not(.whip-phone-layout) body.n_activated,
html:not(.whip-phone-layout) body.n_live {
  padding-top: 0 !important;
}
html:not(.whip-phone-layout) body.n_activated .top-bar,
html:not(.whip-phone-layout) body.n_live .top-bar {
  position: sticky;
  top: 0;
  z-index: 1051;
}
html:not(.whip-phone-layout) body.n_activated .main-header,
html:not(.whip-phone-layout) body.n_live .main-header {
  top: 0;
}

/* Apps Hub: denser previews */
.whip-hub-tiles {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}
.whip-hub-tile__media {
  aspect-ratio: 4 / 3 !important;
}
.whip-hub-tile__meta {
  padding: 6px 7px 8px !important;
  gap: 1px !important;
}
.whip-hub-tile__meta strong {
  font-size: 0.78rem !important;
}
.whip-hub-tile__meta em {
  font-size: 0.68rem !important;
}
.whip-hub-card__body {
  padding: 10px 12px 12px !important;
}
.whip-hub-card__head {
  padding: 12px 12px 8px !important;
}
.whip-hub-tile__snippet {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.68rem;
  line-height: 1.3;
  color: #6b7278;
  margin: 1px 0 2px;
}
body.night-mode .whip-hub-tile__snippet {
  color: #9aa3ab;
}
.whip-hub-tiles--blogs {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
@media (min-width: 992px) {
  .whip-hub-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  .whip-hub-tiles--blogs {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Site footer: modern chips + language slot + logo */
.whip-site-footer {
  margin-top: 18px !important;
  margin-bottom: 12px !important;
  border-top: 1px solid rgba(20, 22, 24, 0.1) !important;
  padding-top: 16px !important;
  padding-bottom: 8px !important;
}
.whip-site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.whip-site-footer__brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.whip-site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none !important;
  color: #3c4148 !important;
}
.whip-site-footer__brand img {
  display: block;
  height: 22px;
  width: auto;
  max-width: 36px;
  object-fit: contain;
}
.whip-site-footer__copy {
  font-size: 0.82rem;
  font-weight: 600;
  color: #5a6168;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.whip-site-footer__lang {
  flex: 0 0 auto;
}
.whip-site-footer__lang-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 12px !important;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(20, 22, 24, 0.12);
  box-shadow: 0 1px 2px rgba(20, 22, 24, 0.04);
  color: #141618 !important;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none !important;
}
.whip-site-footer__lang-btn img {
  border-radius: 2px;
}
.whip-site-footer__lang-btn i {
  font-size: 0.65rem;
  color: #8a9096;
}
.whip-site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.whip-site-footer__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px !important;
  margin: 0 !important;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(20, 22, 24, 0.12);
  color: #3c4148 !important;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 1px 2px rgba(20, 22, 24, 0.03);
}
.whip-site-footer__chip:hover,
.whip-site-footer__lang-btn:hover {
  border-color: rgba(250, 100, 24, 0.45);
  color: var(--auto-signal, #FA6418) !important;
  background: #FEE7DB;
}
html.whip-phone-layout .whip-site-footer {
  margin-top: 14px !important;
  padding-top: 14px !important;
  padding-bottom: 20px !important;
}
html.whip-phone-layout .whip-site-footer__brand img {
  height: 20px;
  max-width: 30px;
}
html.whip-phone-layout .whip-site-footer__copy {
  font-size: 0.76rem;
}
html.whip-phone-layout .whip-site-footer__chip {
  min-height: 32px;
  padding: 6px 11px !important;
  font-size: 0.74rem;
}
body.night-mode .whip-site-footer {
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}
body.night-mode .whip-site-footer__copy {
  color: #9aa3ab;
}
body.night-mode .whip-site-footer__lang-btn,
body.night-mode .whip-site-footer__chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #e8edf2 !important;
}
body.night-mode .whip-site-footer__chip:hover,
body.night-mode .whip-site-footer__lang-btn:hover {
  background: rgba(250, 100, 24, 0.16);
  border-color: rgba(250, 100, 24, 0.45);
  color: #ffb07a !important;
}
/* ---- Mobile page titles (under secondary toolbar; not on messenger) ---- */
.whip-mobile-page-title {
  display: none;
}

html.whip-phone-layout .whip-mobile-page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 12px 14px 6px;
  background: transparent;
}

html.whip-phone-layout .whip-mobile-page-title h1 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--auto-display, "Barlow Condensed", sans-serif);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #585b5d;
}

html.whip-phone-layout .whip-mobile-page-title__action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(20, 22, 24, 0.1);
  border-radius: 12px;
  background: #fff;
  color: #585b5d;
  box-shadow: 0 1px 2px rgba(20, 22, 24, 0.04);
  cursor: pointer;
}

html.whip-phone-layout .whip-mobile-page-title__action:hover,
html.whip-phone-layout .whip-mobile-page-title__action:focus {
  color: #c0392b;
  border-color: rgba(192, 57, 43, 0.35);
  background: #fff5f4;
}

html.whip-phone-layout body.night-mode .whip-mobile-page-title h1,
html.whip-phone-layout:has(body.night-mode) .whip-mobile-page-title h1 {
  color: #c5ccd3;
}

html.whip-phone-layout body.night-mode .whip-mobile-page-title__action,
html.whip-phone-layout:has(body.night-mode) .whip-mobile-page-title__action {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #c5ccd3;
}

/* Phone market: compact location toggle sits on the title row */
html.whip-phone-layout[data-page="market"] .market-main-loc {
  display: none !important;
}

html.whip-phone-layout .whip-mobile-page-title__loc {
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(72%, 280px);
  margin-left: 8px;
}

html.whip-phone-layout .whip-mobile-page-title__loc .market-loc {
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  border-radius: 999px;
  overflow: visible;
  box-shadow: none;
}

html.whip-phone-layout .whip-mobile-page-title__loc .market-loc:not(.is-open) .market-loc__body {
  padding: 0 !important;
}

html.whip-phone-layout .whip-mobile-page-title__loc .market-loc:not(.is-open) .market-loc__trigger {
  gap: 5px;
  min-height: 0;
  padding: 4px 8px 4px 6px;
}

html.whip-phone-layout .whip-mobile-page-title__loc .market-loc:not(.is-open) .market-loc__icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  font-size: 10px;
}

html.whip-phone-layout .whip-mobile-page-title__loc .market-loc__meta {
  display: none !important;
}

html.whip-phone-layout .whip-mobile-page-title__loc .market-loc__line {
  display: flex;
  align-items: baseline;
  gap: 0;
  overflow: hidden;
}

html.whip-phone-layout .whip-mobile-page-title__loc .market-loc__inline-dist {
  display: inline !important;
  flex: 0 0 auto;
  margin-left: 4px;
  font-family: var(--auto-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #6b7278;
  white-space: nowrap;
}

html.whip-phone-layout .whip-mobile-page-title__loc .market-loc__inline-dist[hidden] {
  display: none !important;
}

html.whip-phone-layout .whip-mobile-page-title__loc .market-loc:not(.is-open) .market-loc__label {
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

html.whip-phone-layout .whip-mobile-page-title__loc .market-loc__chevron {
  font-size: 9px;
  flex: 0 0 auto;
}

html.whip-phone-layout .whip-mobile-page-title__loc .market-loc__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2050;
  background: rgba(20, 22, 24, 0.45);
}

html.whip-phone-layout .whip-mobile-page-title__loc .market-loc.is-open .market-loc__backdrop {
  display: block;
}

html.whip-phone-layout .whip-mobile-page-title__loc .market-loc__panel {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2060;
  width: min(440px, calc(100vw - 32px));
  max-height: min(80vh, 560px);
  overflow: auto;
  margin: 0;
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid var(--auto-line, rgba(20, 22, 24, 0.1));
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(20, 22, 24, 0.22);
}

html.whip-phone-layout .whip-mobile-page-title__loc .market-loc__panel[hidden] {
  display: none !important;
}

html.whip-phone-layout .whip-mobile-page-title__loc .market-loc__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--auto-line, rgba(20, 22, 24, 0.1));
}

html.whip-phone-layout .whip-mobile-page-title__loc .market-loc__panel-title {
  font-family: var(--auto-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--auto-ink);
}

html.whip-phone-layout .whip-mobile-page-title__loc .market-loc__panel-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8a9096;
  cursor: pointer;
}

/* Hide duplicate in-page titles on phone when mobile page title bar is shown */
html.whip-phone-layout:not([data-page="messages"]) .whip-hub__title,
html.whip-phone-layout:not([data-page="messages"]) .whip-hub__sub,
html.whip-phone-layout:not([data-page="messages"]) .ca-hero__copy h1,
html.whip-phone-layout:not([data-page="messages"]) .ca-hero__copy p,
html.whip-phone-layout[data-page="notifications"] .whip-notifications-card__head,
html.whip-phone-layout[data-page="wallet"] .whip-wallet-header,
html.whip-phone-layout[data-page="wallet"] .whip-wallet-header h2,
html.whip-phone-layout[data-page="wallet"] .whip-wallet-header .text-xlg,
html.whip-phone-layout[data-page="packages"] .page-header h2,
html.whip-phone-layout[data-page="packages"] .page-header .text-xlg,
html.whip-phone-layout[data-page="contact"] .page-header h2,
html.whip-phone-layout[data-page="contact"] .page-header .text-xlg,
html.whip-phone-layout[data-page="developers"] .page-header h2,
html.whip-phone-layout[data-page="developers"] .page-header .text-xlg,
html.whip-phone-layout[data-page="funding"] .page-header h2,
html.whip-phone-layout[data-page="funding"] .page-header .text-xlg,
html.whip-phone-layout[data-page="static"] .page-header h2,
html.whip-phone-layout[data-page="auctions"] .ca-hero__copy,
html.whip-phone-layout[data-page="stores"] .sg-offcanvas-mainbar h1:first-of-type,
html.whip-phone-layout[data-page="stores"] .sg-offcanvas-mainbar h1:first-of-type + p,
html.whip-phone-layout[data-page="reputation"] .sg-offcanvas-mainbar h1:first-of-type {
  display: none !important;
}

/* In-content titles (gallery / garage add / vehicle) match mobile page-title look */
html.whip-phone-layout[data-page="gallery"] .whip-gallery-hero__kicker {
  display: none !important;
}
html.whip-phone-layout[data-page="gallery"] .whip-gallery-hero h1,
html.whip-phone-layout[data-page="vehicle-edit"] .auto-sell__title,
html.whip-phone-layout[data-page="profile"] .whip-garage__title,
html.whip-phone-layout .auto-sell--page .auto-sell__title {
  margin: 0 0 6px !important;
  font-family: var(--auto-display, "Barlow Condensed", sans-serif) !important;
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: 0.01em !important;
  color: #585b5d !important;
}
html.whip-phone-layout[data-page="gallery"] .whip-gallery-hero {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
html.whip-phone-layout[data-page="gallery"] .whip-gallery-hero p {
  font-size: 0.9rem !important;
  color: #6e767f !important;
}

/* Keep auctions List button even if copy is hidden */
html.whip-phone-layout[data-page="auctions"] .ca-hero {
  justify-content: flex-end;
  min-height: 0;
  margin-bottom: 8px;
}

/* ---- Notifications page (match site cards) ---- */
.whip-notifications-card {
  border: 1px solid rgba(20, 22, 24, 0.08) !important;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20, 22, 24, 0.06);
  background: #fff;
}

.whip-notifications-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(20, 22, 24, 0.08);
  background: #fff;
}

.whip-notifications-card__title {
  margin: 0;
  font-family: var(--auto-display, "Barlow Condensed", sans-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: #585b5d;
  letter-spacing: 0.01em;
}

.whip-notifications-card__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(20, 22, 24, 0.1);
  border-radius: 12px;
  background: #fff;
  color: #585b5d;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(20, 22, 24, 0.04);
}

.whip-notifications-card__clear:hover,
.whip-notifications-card__clear:focus {
  color: #c0392b;
  border-color: rgba(192, 57, 43, 0.35);
  background: #fff5f4;
}

.whip-notifications-card__body {
  padding: 10px 12px 14px !important;
}

.whip-notifications-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.whip-notifications-card__list > li.feeds-action-item > a {
  background: #f7f6f3;
  border: 1px solid rgba(20, 22, 24, 0.06);
  text-decoration: none;
  color: inherit;
}

.whip-notifications-card__list > li.feeds-action-item.unread > a {
  background: #fff8f3;
  border-color: rgba(250, 100, 24, 0.22);
}

.whip-notifications-card__list > li.feeds-action-item > a:hover {
  border-color: rgba(250, 100, 24, 0.35);
}

.whip-notifications-card__empty {
  margin: 24px 0;
  text-align: center;
  color: #8a9096;
  font-weight: 600;
}

html.whip-phone-layout[data-page="notifications"] .whip-notifications-card {
  border-radius: 14px !important;
  box-shadow: none;
  border-color: rgba(20, 22, 24, 0.08) !important;
}

html.whip-phone-layout[data-page="notifications"] .whip-notifications-page {
  margin-top: 8px !important;
}

html:not(.whip-phone-layout)[data-page="notifications"] .whip-notifications-page > .row > .sg-offcanvas-mainbar > .row {
  justify-content: center;
}

html:not(.whip-phone-layout)[data-page="notifications"] .whip-notifications-page .col-lg-8 {
  flex: 0 0 760px;
  width: min(760px, 100%);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

html:not(.whip-phone-layout)[data-page="notifications"] .whip-notifications-page .col-lg-4 {
  display: none;
}

html.whip-phone-layout[data-page="notifications"] .whip-notifications-card__body {
  padding: 8px 8px 12px !important;
}

body.night-mode .whip-notifications-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1) !important;
}

body.night-mode .whip-notifications-card__head {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.night-mode .whip-notifications-card__title {
  color: #c5ccd3;
}

body.night-mode .whip-notifications-card__clear {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #c5ccd3;
}

body.night-mode .whip-notifications-card__list > li.feeds-action-item > a {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

body.night-mode .whip-notifications-card__list > li.feeds-action-item.unread > a {
  background: rgba(250, 100, 24, 0.12);
  border-color: rgba(250, 100, 24, 0.28);
}


/* ---- Mobile menu unified white blocks (Create look) ---- */
.whip-mm-section {
  margin: 0 0 12px;
}

.whip-mm-block,
.whip-mm-create,
.whip-mm-body > .whip-mm-acc {
  padding: 12px;
  border: 1px solid rgba(20, 22, 24, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(20, 22, 24, 0.04);
}

.whip-mm-block__head,
.whip-mm-create__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}

.whip-mm-block__badge,
.whip-mm-create__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--auto-signal, #FA6418);
  color: #fff;
  font-size: 0.85rem;
  flex: 0 0 auto;
}

.whip-mm-block__head strong,
.whip-mm-create__head strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1c1f23;
}

.whip-mm-block__grid,
.whip-mm-create__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.whip-mm-block__item,
.whip-mm-create__item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid rgba(20, 22, 24, 0.1);
  border-radius: 12px;
  background: #fff;
  color: #1c1f23 !important;
  text-decoration: none !important;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.whip-mm-block__item > span:not(.whip-mm-block__ico):not(.whip-mm-create__ico),
.whip-mm-create__item > span:not(.whip-mm-block__ico):not(.whip-mm-create__ico) {
  flex: 1 1 auto;
  min-width: 0;
}

.whip-mm-block__item > .fa-chevron-right,
.whip-mm-create__item > .fa-chevron-right {
  margin-left: auto;
  color: #c0c4c8;
  font-size: 0.72rem;
}

.whip-mm-block__ico,
.whip-mm-create__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--auto-signal, #FA6418);
  font-size: 0.95rem;
}

.whip-mm-block__ico .main-icon,
.whip-mm-block__ico svg,
.whip-mm-create__ico .main-icon,
.whip-mm-create__ico svg {
  width: 18px !important;
  height: 18px !important;
  color: var(--auto-signal, #FA6418) !important;
  fill: var(--auto-signal, #FA6418) !important;
}

.whip-mm-block__item:hover,
.whip-mm-block__item:focus,
.whip-mm-create__item:hover,
.whip-mm-create__item:focus {
  border-color: rgba(250, 100, 24, 0.4);
  background: #fff8f3;
  color: #1c1f23 !important;
  text-decoration: none !important;
}

.whip-mm-section--garage .whip-mm-garage-hero {
  margin: 0;
}

.whip-mm-garage-hero--empty {
  background-image: url("../images/cover-default-garage.svg") !important;
  background-color: #eceae6;
}

.whip-mm-profile {
  margin: 0 0 12px;
}

.whip-mm-profile .whip-mm-pair {
  margin: 10px 0 0;
}

.whip-mm-body > .whip-mm-acc {
  margin: 0 0 12px;
}

.whip-mm-body > .whip-mm-acc > .whip-mm-acc__btn {
  background: transparent;
  border: 0;
  padding: 4px 2px;
}

.whip-mm-acc__icon .main-icon,
.whip-mm-acc__icon i,
.whip-mm-acc__icon svg {
  width: 18px !important;
  height: 18px !important;
  color: var(--auto-signal, #FA6418) !important;
  fill: var(--auto-signal, #FA6418) !important;
  font-size: 0.95rem;
}

body.night-mode .whip-mm-block,
body.night-mode .whip-mm-create,
body.night-mode .whip-mm-profile,
body.night-mode .whip-mm-body > .whip-mm-acc {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

body.night-mode .whip-mm-block__head strong,
body.night-mode .whip-mm-create__head strong {
  color: #e8edf2;
}

body.night-mode .whip-mm-block__item,
body.night-mode .whip-mm-create__item {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e8edf2 !important;
}

body.night-mode .whip-mm-block__item:hover,
body.night-mode .whip-mm-block__item:focus,
body.night-mode .whip-mm-create__item:hover,
body.night-mode .whip-mm-create__item:focus {
  background: rgba(250, 100, 24, 0.12);
  border-color: rgba(250, 100, 24, 0.4);
}

/* Market listing AJAX overlay */
.market-listing-overlay {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: none;
  align-items: stretch;
  justify-content: center;
  padding: 0;
}
.market-listing-overlay.is-open {
  display: flex;
}
.market-listing-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 24, 0.55);
  cursor: pointer;
}
.market-listing-overlay__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}
html:not(.whip-phone-layout) .market-listing-overlay {
  align-items: stretch;
  padding: 0;
}
html:not(.whip-phone-layout) .market-listing-overlay .market-listing-sheet {
  height: 100%;
  min-height: 100%;
  align-items: stretch;
}
html:not(.whip-phone-layout) .market-listing-overlay .market-listing-viewer,
html:not(.whip-phone-layout) .market-listing-overlay .market-listing-viewer .market-listing-carousel__slide img,
html:not(.whip-phone-layout) .market-listing-overlay .market-listing-viewer .market-listing-carousel__slide video {
  height: 100%;
  max-height: none;
}
html:not(.whip-phone-layout) .market-listing-overlay .market-listing-sheet__info {
  top: 0;
  max-height: 100%;
}
.market-listing-overlay__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 22, 24, 0.08);
  color: #2b3035;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.market-listing-overlay__close:hover {
  background: rgba(20, 22, 24, 0.14);
  color: #000;
}
.market-listing-overlay__close i {
  font-size: 1.15rem;
  line-height: 1;
}
.market-listing-overlay__scroll {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  max-height: none;
  height: 100%;
  flex: 1 1 auto;
}
.market-listing-overlay__body {
  padding: 0;
  height: 100%;
}
.market-listing-sheet {
  display: block;
  height: auto;
  min-height: 100%;
}
@media (min-width: 1200px) {
  html:not(.whip-phone-layout) .market-listing-sheet {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    align-items: start;
    height: auto;
    min-height: 100%;
  }
  html:not(.whip-phone-layout) .market-listing-sheet__photos,
  html:not(.whip-phone-layout) .market-listing-sheet__info {
    width: auto;
    height: auto;
  }
  html:not(.whip-phone-layout) .market-listing-sheet__info {
    position: sticky;
    top: 12px;
    align-self: start;
    border-left: 1px solid rgba(20, 22, 24, 0.12);
    max-height: calc(100vh - var(--whip-header-h, 72px) - 28px);
    overflow: auto;
  }
  html:not(.whip-phone-layout) .market-listing-collage[data-count="1"] .market-listing-collage__cell {
    aspect-ratio: auto;
    max-height: none;
    min-height: 72vh;
  }
  html:not(.whip-phone-layout) body.night-mode .market-listing-sheet__info {
    border-left-color: rgba(255, 255, 255, 0.12);
  }
}
.market-listing-sheet__photos,
.market-listing-sheet__info {
  min-height: 0;
  height: auto;
  width: 100%;
  overflow: visible;
}
.market-listing-sheet__photos {
  display: block;
  background: #f6f3f3;
}
html:not(.whip-phone-layout) .market-listing-sheet__photos:has(.market-listing-viewer) .market-listing-collage {
  display: none;
}
html.whip-phone-layout .market-listing-viewer {
  display: none;
}
html:not(.whip-phone-layout) .market-listing-viewer {
  height: calc(100vh - var(--whip-header-h, 72px) - 28px);
  min-height: 420px;
  background: #141618;
}
html:not(.whip-phone-layout) .market-listing-viewer .market-listing-carousel__slide img,
html:not(.whip-phone-layout) .market-listing-viewer .market-listing-carousel__slide video {
  width: 100%;
  height: calc(100vh - var(--whip-header-h, 72px) - 28px);
  max-height: none;
  object-fit: contain;
}
html.whip-phone-layout.market-listing-photos-open .market-listing-overlay__close {
  display: none !important;
}
.market-listing-collage {
  display: grid;
  gap: 4px;
  width: 100%;
  background: #f6f3f3;
}
.market-listing-collage[data-count="1"] {
  grid-template-columns: 1fr;
}
.market-listing-collage[data-count="2"],
.market-listing-collage[data-count="4"] {
  grid-template-columns: 1fr 1fr;
}
.market-listing-collage[data-count="3"] {
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.market-listing-collage[data-count="3"] .market-listing-collage__cell:first-child {
  grid-row: 1 / span 2;
}
.market-listing-collage__cell {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: #f6f3f3;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}
.market-listing-collage[data-count="1"] .market-listing-collage__cell {
  aspect-ratio: 16 / 9;
  max-height: 68vh;
}
.market-listing-collage__cell:nth-child(n + 5) {
  display: none;
}
.market-listing-collage__cell img,
.market-listing-collage__cell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #f6f3f3;
  pointer-events: none;
}
.market-listing-collage__play,
.market-listing-collage__more {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.market-listing-collage__play {
  left: 50%;
  top: 50%;
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border-radius: 50%;
  background: rgba(20, 22, 24, 0.55);
}
.market-listing-collage__more {
  inset: 0;
  background: rgba(20, 22, 24, 0.45);
  font-family: var(--auto-display);
  font-size: 2rem;
  font-weight: 800;
}
.market-listing-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100180;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 22, 24, 0.92);
}
.market-listing-lightbox[hidden] {
  display: none !important;
}
.market-listing-lightbox .market-listing-carousel {
  width: 100%;
  height: 100%;
  background: transparent;
}
.market-listing-lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #141618;
  cursor: pointer;
}
.market-listing-carousel {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  background: transparent;
  overflow: hidden;
}
.market-listing-carousel__viewport {
  display: flex;
  height: 100%;
  transition: transform 0.32s ease;
}
.market-listing-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.market-listing-carousel__slide img,
.market-listing-carousel__slide video {
  max-width: 100%;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent;
}
.market-listing-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #141618;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.market-listing-carousel__nav.is-prev { left: 12px; }
.market-listing-carousel__nav.is-next { right: 12px; }
.market-listing-carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.market-listing-carousel__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}
.market-listing-carousel__dots button.is-on {
  background: #fff;
}
.market-listing-sheet__info {
  padding: 18px 20px 48px;
  background: #fff;
}
.market-listing-sheet__info .post,
.market-listing-sheet__info .listing-main,
.market-listing-sheet__info .post-product-container {
  width: 100%;
  max-width: none;
}
@media (min-width: 992px) {
  .market-listing-sheet__info .post-product-container {
    padding-top: 18px;
  }
}
.market-listing-sheet__seller-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 8px 8px 8px 12px;
  border: 1px solid rgba(20, 22, 24, 0.18);
  border-radius: 12px;
  background: rgba(20, 22, 24, 0.04);
}
.market-listing-sheet__title {
  display: block;
  margin: 0 0 14px;
  padding: 0;
  font-family: var(--auto-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--auto-ink, #141618);
  background: transparent;
}
.market-listing-sheet__title--solo {
  margin: 0 0 14px;
  font-size: 2rem;
}
.market-listing-sheet__seller {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 2px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit !important;
  text-decoration: none !important;
}
.market-listing-sheet__seller-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}
.market-listing-sheet__seller img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.market-listing-sheet__seller strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}
.market-listing-sheet__seller small {
  display: block;
  margin-top: 3px;
  color: #6b7278;
  font-size: 0.82rem;
}
.market-listing-overlay .post-header,
.market-listing-overlay .post-stats,
.market-listing-overlay .post-actions,
.market-listing-overlay .post-footer,
.market-listing-overlay .post .mt10:has(.pg_wrapper) {
  display: none !important;
}
.market-listing-overlay__loader {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  color: var(--auto-signal, #FA6418);
}
.market-listing-overlay__content .post {
  box-shadow: none;
  border: 0;
  margin: 0;
}
html.market-listing-overlay-open,
body.market-listing-overlay-open {
  overflow: hidden;
}
@media (max-width: 991.98px) {
  .market-listing-overlay__scroll {
    overflow: auto;
  }
  .market-listing-sheet {
    display: block;
    height: auto;
    min-height: 100%;
  }
  .market-listing-sheet__photos,
  .market-listing-sheet__info {
    height: auto;
    max-height: none;
    overflow: visible;
  }
  .market-listing-lightbox .market-listing-carousel {
    height: 100%;
  }
  .market-listing-sheet__info {
    padding: 18px 16px 48px;
  }
  .market-listing-overlay__close {
    top: 10px;
    right: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(20, 22, 24, 0.16);
  }
}
html.whip-phone-layout .market-listing-overlay {
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  height: 100dvh;
  background: #fff;
  z-index: 100090;
}
html.whip-phone-layout.market-listing-overlay-open .modal {
  z-index: 100200 !important;
}
html.whip-phone-layout.market-listing-overlay-open .modal-backdrop {
  z-index: 100150 !important;
}
html.whip-phone-layout .market-listing-overlay__backdrop {
  background: #fff;
}
html.whip-phone-layout .market-listing-overlay__dialog {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
  padding-top: env(safe-area-inset-top, 0px);
  box-sizing: border-box;
}
html.whip-phone-layout body.night-mode .market-listing-overlay,
html.whip-phone-layout body.night-mode .market-listing-overlay__backdrop,
html.whip-phone-layout body.night-mode .market-listing-overlay__dialog {
  background: #1e252b;
}
body.night-mode .market-listing-overlay__dialog {
  background: #1e252b;
  color: #e8edf2;
}
body.night-mode .market-listing-overlay__close {
  background: rgba(255, 255, 255, 0.1);
  color: #e8edf2;
}
body.night-mode .market-listing-sheet__seller-row,
body.night-mode .market-listing-overlay .post-product-description,
html[data-page="post"] body.night-mode .post-product-container .post-product-description {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}
body.night-mode .market-listing-sheet .listing-main {
  background: #1c2025;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

/* Marketplace seller mini-profile */
.market-seller {
  background: var(--auto-panel, #fbfaf7);
  border: 1px solid var(--auto-line, rgba(20, 22, 24, 0.08));
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
}
.market-seller__cover {
  height: 160px;
  background: #d8d6d1;
  overflow: hidden;
}
.market-seller__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.market-seller__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 18px;
  padding: 0 18px 16px;
  margin-top: -36px;
  position: relative;
  z-index: 1;
}
.market-seller__avatar {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(20, 22, 24, 0.12);
  background: #fff;
}
.market-seller__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.market-seller__identity {
  flex: 1 1 180px;
  min-width: 0;
  padding-top: 40px;
}
.market-seller__name {
  margin: 0 0 4px;
  font-family: var(--auto-display);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
}
.market-seller__name a {
  color: inherit !important;
  text-decoration: none !important;
}
.market-seller__verified {
  color: #1da1f2;
  margin-left: 4px;
  font-size: 0.9em;
}
.market-seller__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 0.9rem;
}
.market-seller__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
  padding-top: 36px;
}
.market-seller__about,
.market-seller__ratings,
.market-seller__listings,
.market-seller__rate {
  padding: 4px 18px 18px;
}
.market-seller__about h2,
.market-seller__ratings h2,
.market-seller__listings h2,
.market-seller__rate h3 {
  font-family: var(--auto-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.market-seller__about-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.market-seller__about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3a4046;
}
.market-seller__about-list i {
  color: var(--auto-signal, #FA6418);
  width: 18px;
  text-align: center;
}
.market-seller__bio {
  margin: 0;
  color: #5a6168;
  line-height: 1.5;
}
.market-seller__rate {
  margin: 0 18px 16px;
  border-radius: 12px;
}
.market-seller__rate-stars {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.market-seller__rate-stars label {
  cursor: pointer;
  color: #c5c9ce;
  font-size: 1.35rem;
}
.market-seller__rate-stars input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.market-seller__rate-stars input:checked + i,
.market-seller__rate-stars label:has(input:checked) i,
.market-seller__rate-stars label:has(input:checked) ~ label i {
  color: #c5c9ce;
}
.market-seller__rate-stars label:has(input:checked) i,
.market-seller__rate-stars label:hover i {
  color: #f5a623;
}
.market-seller__rate-stars label:has(input:checked) i {
  color: #f5a623;
}
.market-seller__rating-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.market-seller__rating-list li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(20, 22, 24, 0.08);
}
.market-seller__rating-list img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.market-seller__rating-list p {
  margin: 4px 0;
}

.post-product-description__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
}
.post-product-description__title {
  margin: 0;
  font-family: var(--auto-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--auto-ink, #141618);
}
.market-listing-overlay .post-product-description,
html[data-page="post"] .post-product-container .post-product-description {
  border: 1px solid rgba(20, 22, 24, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
}
.post-product-description-rule {
  border: 0;
  border-top: 1px solid rgba(20, 22, 24, 0.22);
  height: 0;
  margin: 2px 0 16px;
}
.post-product-map__place {
  display: flex;
  align-items: center;
  margin: 0 0 8px;
}
.market-bought-hint {
  margin: 0 0 14px;
  color: #6b7278;
  font-size: 0.92rem;
}
.product-bought-actions,
.product-seller-rate,
.product-buyer-rates {
  margin-top: 10px;
}
.product-seller-rate + .product-seller-rate {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(20, 22, 24, 0.1);
}
.post-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.post-product-actions .js_save-post,
.post-product-actions .js_unsave-post {
  background: #2a2f34;
  border-color: #2a2f34;
  color: #fff;
}
.post-product-actions .js_save-post:hover,
.post-product-actions .js_save-post:focus,
.post-product-actions .js_unsave-post:hover,
.post-product-actions .js_unsave-post:focus {
  background: #141618;
  border-color: #141618;
  color: #fff;
}
body.night-mode .post-product-description__title {
  color: #e8edf2;
}
body.night-mode .post-product-description-rule,
body.night-mode .product-seller-rate + .product-seller-rate {
  border-top-color: rgba(255, 255, 255, 0.16);
}
body.night-mode .post-product-actions .js_save-post,
body.night-mode .post-product-actions .js_unsave-post {
  background: #0e1114;
  border-color: #3a424a;
  color: #f2f4f6;
}
body.night-mode .post-product-actions .js_save-post:hover,
body.night-mode .post-product-actions .js_save-post:focus,
body.night-mode .post-product-actions .js_unsave-post:hover,
body.night-mode .post-product-actions .js_unsave-post:focus {
  background: #000;
  border-color: #5a646e;
  color: #fff;
}

/* Market report modal */
.market-report-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: none;
  align-items: center;
  justify-content: center;
}
.market-report-modal:not([hidden]) {
  display: flex;
}
.market-report-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 24, 0.5);
}
.market-report-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100vw - 32px));
  background: #fff;
  border-radius: 14px;
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: 0 18px 48px rgba(20, 22, 24, 0.22);
}
.market-report-modal__x {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8a9096;
  cursor: pointer;
}
html.market-report-open {
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .market-seller__cover { height: 120px; }
  .market-seller__avatar { width: 72px; height: 72px; }
  .market-seller__identity,
  .market-seller__actions { padding-top: 8px; }
  .market-seller__actions { margin-left: 0; width: 100%; }
}

/* Marketplace listing card in news feeds / timelines */
.market-feed-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 10px 15px 12px;
  border: 1px solid rgba(20, 22, 24, 0.14);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.market-feed-card__media {
  position: relative;
  display: block;
  background: #141618;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.market-feed-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.market-feed-card__count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(20, 22, 24, 0.72);
  color: #fff;
  font-size: 12px;
}
.market-feed-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 14px 14px;
}
.market-feed-card__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--auto-signal, #FA6418);
}
.market-feed-card__title {
  font-family: var(--auto-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--auto-ink, #141618) !important;
  text-decoration: none !important;
}
.market-feed-card__price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--auto-signal, #FA6418);
  line-height: 1.1;
}
.market-feed-card__loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: #6b7278;
}
.market-feed-card__loc i {
  color: #9aa1a8;
}
.market-feed-card__thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
}
.market-feed-card__thumb {
  position: relative;
  display: block;
  height: 96px;
  overflow: hidden;
  background: #141618;
}
.market-feed-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.market-feed-card__more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 22, 24, 0.45);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}
.market-feed-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  width: 100%;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.market-feed-card__specs li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 13px;
  color: #3c4248;
}
.market-feed-card__specs i {
  flex: 0 0 16px;
  width: 16px;
  color: #8b9198;
  text-align: center;
}
.market-feed-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.market-feed-card__pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(20, 22, 24, 0.16);
  background: #f4f5f6;
  color: #1c2430;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}
.market-feed-card__cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
  padding: 10px 14px !important;
  border: 1px solid rgba(20, 22, 24, 0.16) !important;
  background: #fff !important;
  color: #1c2430 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
.market-feed-card__cta:hover {
  border-color: var(--auto-signal, #FA6418) !important;
  color: var(--auto-signal, #FA6418) !important;
}
@media (min-width: 768px) {
  .market-feed-card {
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  }
  .market-feed-card__media {
    aspect-ratio: auto;
    min-height: 280px;
    height: 100%;
  }
  .market-feed-card__body {
    justify-content: center;
    padding: 16px 18px;
  }
  .market-feed-card--collage .market-feed-card__thumbs {
    grid-template-columns: 1fr;
  }
  .market-feed-card--collage .market-feed-card__thumb {
    height: 108px;
  }
}
body.night-mode .market-feed-card {
  background: #1e252b;
  border-color: rgba(255, 255, 255, 0.1);
}
body.night-mode .market-feed-card__title,
body.night-mode .market-feed-card__specs li,
body.night-mode .market-feed-card__pill,
body.night-mode .market-feed-card__cta {
  color: #e8edf2 !important;
}
body.night-mode .market-feed-card__pill,
body.night-mode .market-feed-card__cta {
  background: #262d34 !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

/* Listing main column uses the same frame as the market sidebar shell */
.market-listing-sheet .listing-main {
  border: 1px solid rgba(20, 22, 24, 0.16);
  border-radius: 18px;
  padding: 16px 16px 8px;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 4px 18px rgba(20, 22, 24, 0.1),
    0 0 0 1px rgba(20, 22, 24, 0.04);
}

.listing-status-chip {
  display: inline-flex;
  align-items: center;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}

.listing-status-chip--sale {
  background: #e7f6ec;
  color: #1d7a43;
}

.listing-status-chip--pending {
  background: #fff3d8;
  color: #8a5a00;
}

.listing-status-chip--sold {
  background: #fde8e8;
  color: #b42318;
}

.listing-quick-msg,
.listing-offer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 0 10px;
  box-sizing: border-box;
}

.listing-prior-msg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 40px;
  margin: 0 0 8px;
  padding: 8px 12px;
  border: 1px solid var(--auto-signal, #FA6418);
  border-radius: 4px;
  background: #fff;
  color: var(--auto-signal, #FA6418) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
}

.listing-prior-msg:hover {
  background: var(--auto-signal, #FA6418);
  color: #fff !important;
}

.listing-quick-msg textarea,
.listing-offer input[type="number"] {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  max-height: none;
  margin: 0;
  padding: 11px 14px !important;
  border: 1px solid rgba(20, 22, 24, 0.16) !important;
  border-radius: 4px !important;
  background: #fff;
  color: #1c2430;
  font-size: 15px;
  line-height: 20px;
  box-sizing: border-box;
  box-shadow: none;
  resize: none;
  overflow: hidden;
}

.listing-offer input[type="number"] {
  height: 44px !important;
  overflow: hidden;
}

.listing-quick-msg .btn,
.listing-offer .btn {
  flex: 0 0 118px;
  width: 118px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0;
  padding: 0 12px !important;
  border-radius: 4px !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-sizing: border-box;
}

.listing-quick-msg .btn {
  background: var(--auto-signal, #FA6418) !important;
  border: 1px solid var(--auto-signal, #FA6418) !important;
  color: #fff !important;
}

.listing-offer .btn {
  background: #fff !important;
  border: 1px solid var(--auto-signal, #FA6418) !important;
  color: var(--auto-signal, #FA6418) !important;
}

.listing-quick-msg .btn:hover,
.listing-offer .btn:hover {
  background: var(--auto-signal, #FA6418) !important;
  color: #fff !important;
}

.listing-quick-msg__note {
  flex: 1 0 100%;
  margin: 0;
  color: #1d7a43;
  font-size: 12px;
  font-weight: 600;
}

.listing-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin: 4px 0 16px;
}

.listing-actions__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(20, 22, 24, 0.16);
  border-radius: 50%;
  background: #fff;
  color: #141618;
  cursor: pointer;
}

.listing-actions__btn:hover,
.listing-actions__btn:focus {
  border-color: rgba(250, 100, 24, 0.55);
  color: var(--auto-signal, #FA6418);
}

.listing-actions__btn.js_save-post .fa-solid,
.listing-actions__btn.js_unsave-post .fa-regular {
  display: none;
}

.listing-actions__btn.js_unsave-post {
  color: var(--auto-signal, #FA6418);
  border-color: rgba(250, 100, 24, 0.45);
}

.listing-actions__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.listing-actions__more .dropdown-toggle::after {
  display: none;
}

.listing-actions__more .dropdown-menu {
  min-width: 180px;
  z-index: 2200;
}

.listing-actions__more .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.night-mode .listing-actions__btn {
  background: #1e252b;
  border-color: rgba(255, 255, 255, 0.14);
  color: #e8edf2;
}

body.night-mode .listing-quick-msg textarea,
body.night-mode .listing-offer input[type="number"],
body.night-mode .listing-prior-msg {
  background: #1e252b;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: #e8edf2;
}
body.night-mode .listing-prior-msg {
  border-color: var(--auto-signal, #FA6418) !important;
  color: var(--auto-signal, #FA6418) !important;
}
body.night-mode .listing-offer .btn {
  background: transparent !important;
}

/* Post menu on the listing view */
.market-listing-sheet__menu--top {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 6px;
}
.market-listing-sheet .post-product-map {
  padding: 12px;
}
.market-listing-sheet .market-listing-sheet__seller-row {
  margin: 0 0 10px;
}
.market-listing-sheet__menu {
  flex: 0 0 auto;
  align-self: center;
}
.market-listing-sheet__menu .dropdown {
  float: none !important;
}
.market-listing-sheet__menu .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(20, 22, 24, 0.18);
  background: rgba(20, 22, 24, 0.04);
  color: #3a4046;
  cursor: pointer;
}
.market-listing-sheet__menu .dropdown-toggle::after {
  display: none;
}
.market-listing-sheet__menu .dropdown-toggle:hover {
  color: var(--auto-signal, #FA6418);
  border-color: rgba(250, 100, 24, 0.45);
}
.market-listing-sheet__menu .dropdown-menu {
  z-index: 2200;
  max-height: 70vh;
  overflow-y: auto;
}
body.night-mode .market-listing-sheet__menu .dropdown-toggle {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #e8edf2;
}

/* Standalone listing page (/market/item/{id}) grows with the content */
.market-item-page .market-listing-sheet {
  height: auto;
  min-height: 0;
  border: 1px solid rgba(20, 22, 24, 0.12);
  border-radius: 16px;
  overflow: visible;
  background: #fff;
}
.market-item-page .market-listing-sheet__info {
  padding-right: 20px;
  padding-bottom: 28px;
}
html:not(.whip-phone-layout) .market-item-page .market-listing-sheet {
  height: auto;
  min-height: 0;
  overflow: visible;
}
html:not(.whip-phone-layout) .market-item-page .market-listing-sheet__photos,
html:not(.whip-phone-layout) .market-item-page .market-listing-sheet__info {
  height: auto;
  max-height: none;
  overflow: visible;
}
html:not(.whip-phone-layout) .market-item-page .market-listing-sheet__info {
  position: static;
  top: auto;
  align-self: stretch;
}
html:not(.whip-phone-layout) .market-item-page .market-listing-viewer {
  height: auto;
  min-height: 520px;
  max-height: none;
}
html:not(.whip-phone-layout) .market-item-page .market-listing-viewer .market-listing-carousel__slide img,
html:not(.whip-phone-layout) .market-item-page .market-listing-viewer .market-listing-carousel__slide video {
  height: min(78vh, 820px);
  max-height: none;
}
.market-item-page .post-header,
.market-item-page .post-stats,
.market-item-page .post-actions,
.market-item-page .post-footer {
  display: none !important;
}
.market-item-page .post {
  box-shadow: none;
  margin: 0;
}
@media (max-width: 991.98px) {
  .market-item-page .market-listing-sheet {
    height: auto;
    min-height: 0;
  }
  .market-item-page .market-listing-lightbox .market-listing-carousel {
    height: 100%;
  }
}

/* Sell form visibility card */
.market-visibility__opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 12px;
  cursor: pointer;
}
.market-visibility__opt input {
  margin-top: 4px;
  flex: 0 0 auto;
}
.market-visibility__opt input:disabled + span {
  opacity: 0.5;
}
.market-visibility__opt strong {
  display: block;
  font-size: 0.95rem;
}
.market-visibility__opt small {
  display: block;
  color: #6b7278;
}
.market-visibility__picker {
  margin: 4px 0 0 26px;
  padding: 12px;
  border: 1px solid rgba(20, 22, 24, 0.12);
  border-radius: 12px;
}
.market-visibility__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 260px;
  overflow-y: auto;
}
.market-visibility__list li[hidden] {
  display: none;
}
.market-visibility__list label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
  border-radius: 8px;
  cursor: pointer;
}
.market-visibility__list label:hover {
  background: rgba(20, 22, 24, 0.04);
}
.market-visibility__list img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.seller-center-nav__store {
  margin: 0 10px 8px;
  font-family: var(--auto-body);
  font-size: 13px;
  color: #6b7278;
}
.seller-center-nav__count,
.seller-center-toolbar em {
  margin-left: 8px;
  font-style: normal;
  font-family: var(--auto-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  background: var(--auto-signal, #FA6418);
  color: #fff;
  border-radius: 999px;
  padding: 0 6px;
  line-height: 1.6;
}
.seller-center-toolbar {
  display: none;
}
.seller-center__head,
.seller-center__inline,
.seller-center__filters,
.seller-center__bulk,
.seller-center__ranges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.seller-center__head {
  justify-content: space-between;
  margin-bottom: 16px;
}
.seller-center {
  font-family: var(--auto-body);
  color: var(--auto-ink, #141618);
}
.seller-center__head h2,
.seller-center h2,
.seller-center h3 {
  margin: 0 0 4px;
  font-family: var(--auto-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--auto-ink, #141618);
}
.seller-center h3 {
  font-size: 1.15rem;
}
.seller-center p,
.seller-center__head p {
  margin: 0;
  color: #5c6168;
  font-size: 14px;
}
.seller-center a:not(.btn) {
  color: var(--auto-signal, #FA6418);
}
.seller-center a:not(.btn):hover {
  color: var(--auto-signal-deep, #D45515);
}
.seller-center__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.seller-center__stats div,
.seller-center__panel,
.seller-center__order,
.seller-center__thread,
.seller-center__row-action,
.market-store-list__card {
  background: #fff;
  border: 1px solid rgba(20, 22, 24, 0.16);
  border-radius: 16px;
  padding: 14px 16px;
}
.seller-center__stats strong {
  display: block;
  font-family: var(--auto-display);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--auto-ink, #141618);
}
.seller-center__stats span,
.seller-center__plain span,
.seller-center__order span {
  color: #5c6168;
  font-size: 13px;
}
.seller-center__panel,
.seller-center__order,
.seller-center__thread,
.seller-center__row-action {
  margin-bottom: 12px;
}
.seller-center__table-wrap {
  overflow-x: auto;
}
.seller-center__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.seller-center__table th,
.seller-center__table td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid rgba(20, 22, 24, 0.08);
  vertical-align: top;
}
.seller-center__flag {
  display: inline-block;
  margin-left: 6px;
  color: #9a3412;
  font-size: 12px;
}
.seller-center__plain {
  list-style: none;
  padding: 0;
  margin: 0;
}
.seller-center__plain li,
.seller-center__attention {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(20, 22, 24, 0.08);
}
.seller-center__stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 420px;
}
.seller-center__filters input:not([type="checkbox"]):not([type="hidden"]),
.seller-center__inline input:not([type="checkbox"]):not([type="hidden"]),
.seller-center__inline select,
.seller-center__stack input:not([type="checkbox"]):not([type="hidden"]),
.seller-center__stack select,
.seller-center__stack textarea,
.seller-center select,
.seller-center textarea,
.listing-offer input {
  height: 38px;
  border: 0;
  border-radius: 10px;
  padding: 8px 12px;
  background: var(--auto-paper, #efeeea);
  color: var(--auto-ink, #141618);
  font-family: var(--auto-body);
  font-size: 13.5px;
  box-shadow: none;
}
.seller-center textarea,
.seller-center__stack textarea {
  height: auto;
  min-height: 96px;
}
.seller-center .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-family: var(--auto-body);
  line-height: 1.2;
}
.seller-center label {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  font-size: 14px;
}
.seller-center label:has(> input[type="checkbox"]) {
  flex-direction: row;
  align-items: center;
}
.seller-center__filters input:focus,
.seller-center__inline input:focus,
.seller-center__inline select:focus,
.seller-center__stack input:focus,
.seller-center__stack select:focus,
.seller-center__stack textarea:focus,
.listing-offer input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(250, 100, 24, 0.28);
}
.seller-center__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.seller-center__thread.is-unread {
  box-shadow: inset 3px 0 0 var(--auto-signal, #FA6418);
}
.seller-center__thread-msg {
  margin: 8px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(20, 22, 24, 0.16);
  border-radius: 12px;
  background: var(--auto-paper, #efeeea);
  color: var(--auto-ink, #141618);
}
body.night-mode .seller-center__thread-msg {
  background: #14181c;
  border-color: rgba(255, 255, 255, 0.12);
  color: #e8edf2;
}
.seller-center__ranges a {
  text-decoration: none;
  color: #5c6168;
}
.seller-center__ranges a.is-active {
  font-weight: 700;
  color: var(--auto-signal, #FA6418);
}
.seller-center__table th {
  font-family: var(--auto-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b7278;
}
body.night-mode .seller-center,
body.night-mode .seller-center h2,
body.night-mode .seller-center h3,
body.night-mode .seller-center__stats strong {
  color: #e8edf2;
}
body.night-mode .seller-center__stats div,
body.night-mode .seller-center__panel,
body.night-mode .seller-center__order,
body.night-mode .seller-center__thread,
body.night-mode .seller-center__row-action,
body.night-mode .market-store-list__card {
  background: #1c2025;
  border-color: rgba(255, 255, 255, 0.12);
}
body.night-mode .seller-center__filters input,
body.night-mode .seller-center__inline input,
body.night-mode .seller-center__inline select,
body.night-mode .seller-center__stack input,
body.night-mode .seller-center__stack select,
body.night-mode .seller-center__stack textarea {
  background: #14181c;
  color: #e8edf2;
}

@media (min-width: 1200px) {
  html:not(.whip-phone-layout)[data-page="index"] body.auto-landing,
  html:not(.whip-phone-layout)[data-page="index"] body.auto-landing.index-body {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
  }

  html:not(.whip-phone-layout)[data-page="index"] body.auto-landing .main-wrapper,
  html:not(.whip-phone-layout)[data-page="index"] body.auto-landing .auto-landing {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
.listing-offer {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin: 0 0 10px;
}
.market-store-list__card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  color: inherit;
  text-decoration: none;
}
.market-store-squares {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 14px 12px;
}
.market-store-square {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--auto-ink, #141618);
  text-align: center;
  text-decoration: none;
}
.market-store-square:hover {
  color: var(--auto-signal, #FA6418);
}
.market-store-square__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(20, 22, 24, 0.16);
  border-radius: 16px;
  background: var(--auto-paper, #efeeea);
}
.market-store-square__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.market-store-square__logo i {
  color: var(--auto-signal, #FA6418);
  font-size: 1.6rem;
}
.market-store-square strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
  font-family: var(--auto-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
body.night-mode .market-store-square {
  color: #e8edf2;
}
body.night-mode .market-store-square__logo {
  background: #1c2025;
  border-color: rgba(255, 255, 255, 0.12);
}
html.whip-phone-layout[data-page="market"] .seller-center-toolbar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0;
  padding: 2px 12px 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
html.whip-phone-layout[data-page="market"] .seller-center-toolbar::-webkit-scrollbar {
  display: none;
}
html.whip-phone-layout[data-page="market"] .seller-center-toolbar a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(20, 22, 24, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #3c4148;
  font-family: var(--auto-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
html.whip-phone-layout[data-page="market"] .seller-center-toolbar a.is-active {
  background: rgba(250, 100, 24, 0.1);
  border-color: rgba(250, 100, 24, 0.35);
  color: var(--auto-signal, #FA6418);
}
html.whip-phone-layout[data-page="market"] .seller-center-toolbar a i {
  color: var(--auto-signal, #FA6418);
  font-size: 12px;
}
html.whip-phone-layout body.night-mode .seller-center-toolbar a {
  background: #1c2025;
  border-color: rgba(255, 255, 255, 0.12);
  color: #e8edf2;
}

html.whip-phone-layout .whip-mobile-page-title__loc .market-loc__label {
  flex: 1 1 auto;
  min-width: 0;
}

.market-buying-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--auto-ink, #141618);
  font-family: var(--auto-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}
.market-buying-toggle:hover,
.market-buying-nav.is-open > .market-buying-toggle {
  background: rgba(250, 100, 24, 0.08);
  color: var(--auto-signal, #FA6418);
}
.market-buying-toggle > i.main-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  border-radius: 50%;
  background: var(--auto-signal-soft, #FEE8DD);
  color: var(--auto-signal, #FA6418) !important;
  font-size: 16px !important;
  line-height: 1 !important;
}
.market-buying-toggle > .fa-chevron-down {
  margin-left: auto;
  font-size: 12px;
  transition: transform 0.18s ease;
}
.market-buying-toggle.is-open > .fa-chevron-down,
.market-buying-toggle[aria-expanded="true"] > .fa-chevron-down {
  transform: rotate(180deg);
}
.market-buying-menu {
  margin: 2px 0 6px;
}
.market-buying-sub > a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-height: 40px !important;
  padding: 6px 12px 6px 16px !important;
  font-size: 16px !important;
}
.market-buying-sub > a > i.main-icon {
  flex: 0 0 28px !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  font-size: 13px !important;
}
.market-buying-sub.active > a,
.market-buying-sub > a.is-active {
  background: var(--auto-signal-soft, #FEE8DD) !important;
  color: var(--auto-signal, #FA6418) !important;
}
.market-main-col[data-loading="1"] {
  opacity: 0.55;
  pointer-events: none;
}
.market-buying-phone {
  display: none;
}
html.whip-phone-layout .market-buying-phone {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 14px;
  padding-bottom: 4px;
}
html.whip-phone-layout .market-buying-phone a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid rgba(20, 22, 24, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #3c4148;
  font-family: var(--auto-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
}
html.whip-phone-layout .market-buying-phone a.is-active {
  background: rgba(250, 100, 24, 0.1);
  border-color: rgba(250, 100, 24, 0.35);
  color: var(--auto-signal, #FA6418);
}
body.night-mode .market-buying-toggle > i.main-icon {
  background: rgba(250, 100, 24, 0.18);
}
body.night-mode .market-buying-toggle {
  color: #e8edf2;
}

html.whip-phone-layout.market-listing-photos-open .market-listing-overlay__close,
.market-listing-overlay__close[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
body > .market-listing-lightbox {
  z-index: 100260;
}

html.whip-phone-layout[data-page="market"] .whip-market-subnav,
html.whip-phone-layout.whip-market-listing .whip-market-subnav {
  background: #fff;
  border-top: 1px solid rgba(20, 22, 24, 0.16);
  border-bottom: 1px solid rgba(20, 22, 24, 0.16);
  box-shadow: 0 -6px 12px rgba(20, 22, 24, 0.1), 0 6px 12px rgba(20, 22, 24, 0.12);
}
html.whip-phone-layout body.night-mode[data-page="market"] .whip-market-subnav,
html.whip-phone-layout.whip-market-listing body.night-mode .whip-market-subnav,
html.whip-phone-layout body.night-mode .whip-market-subnav {
  background: #1c2025;
  border-top-color: rgba(255, 255, 255, 0.14);
  border-bottom-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.35), 0 6px 12px rgba(0, 0, 0, 0.4);
}

html.whip-phone-layout .whip-header-tool-ico {
  display: none !important;
}

/* Desktop and iPad: header, width, and medium layout. Phones stay on whip-phone-layout. */
@media (min-width: 768px) {
  html:not(.whip-phone-layout) body:not(.auto-landing) .main-header > .container,
  html:not(.whip-phone-layout) body:not(.auto-landing) .main-header > .container-fluid,
  html:not(.whip-phone-layout) body:not(.auto-landing) .main-wrapper > .container,
  html:not(.whip-phone-layout) body:not(.auto-landing) .main-wrapper > .container-fluid,
  html:not(.whip-phone-layout) .home-newsfeed.container,
  html:not(.whip-phone-layout) .home-newsfeed.container-fluid {
    max-width: calc(100vw - 24px) !important;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-menu,
  html:not(.whip-phone-layout) .main-header .whip-header-notifications,
  html:not(.whip-phone-layout) .main-header .js_live-messages {
    margin: 0 4px !important;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-search-desk__btn,
  html:not(.whip-phone-layout) .main-header .whip-header-menu > a,
  html:not(.whip-phone-layout) .main-header .whip-header-menu .whip-header-nav__btn,
  html:not(.whip-phone-layout) .main-header .whip-header-notifications > a,
  html:not(.whip-phone-layout) .main-header .js_live-messages > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: var(--whip-tool, 38px) !important;
    height: var(--whip-tool, 38px) !important;
    min-width: var(--whip-tool, 38px) !important;
    min-height: var(--whip-tool, 38px) !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--auto-signal-soft, #FEE8DD) !important;
    color: var(--auto-signal, #FA6418) !important;
    box-shadow: none !important;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-search-desk__btn .whip-nav-ico,
  html:not(.whip-phone-layout) .main-header .whip-header-menu > a .whip-nav-ico,
  html:not(.whip-phone-layout) .main-header .whip-header-notifications > a .whip-nav-ico,
  html:not(.whip-phone-layout) .main-header .js_live-messages > a .whip-nav-ico,
  html:not(.whip-phone-layout) .main-header .whip-header-menu > a::before,
  html:not(.whip-phone-layout) .main-header .whip-header-notifications > a::before,
  html:not(.whip-phone-layout) .main-header .js_live-messages > a::before,
  html:not(.whip-phone-layout) .main-header .whip-header-search-desk__btn::before {
    display: none !important;
    content: none !important;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-tool-ico {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: var(--whip-tool-ico, 18px) !important;
    height: var(--whip-tool-ico, 18px) !important;
    margin: 0 !important;
    font-size: var(--whip-tool-ico, 18px) !important;
    line-height: 1 !important;
    color: var(--auto-signal, #FA6418) !important;
    background: transparent !important;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-search-desk__btn:hover,
  html:not(.whip-phone-layout) .main-header .whip-header-menu > a:hover,
  html:not(.whip-phone-layout) .main-header .whip-header-notifications > a:hover,
  html:not(.whip-phone-layout) .main-header .js_live-messages > a:hover {
    background: rgba(250, 100, 24, 0.16) !important;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-user__btn img,
  html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li.whip-header-user > a img {
    width: 32px !important;
    height: 32px !important;
  }

  html:not(.whip-phone-layout) body.night-mode .main-header .whip-header-menu > a,
  html:not(.whip-phone-layout) body.night-mode .main-header .whip-header-notifications > a,
  html:not(.whip-phone-layout) body.night-mode .main-header .js_live-messages > a {
    background: rgba(250, 100, 24, 0.18) !important;
  }
}

/* iPad and nearby widths: no bar under the header, both rails are swipe drawers */
@media (min-width: 768px) and (max-width: 1399.98px) {
  html:not(.whip-phone-layout) {
    --whip-subnav-h: 0px;
    --whip-tool: 32px;
    --whip-tool-ico: 15px;
    --whip-nav-ico: 30px;
  }

  html:not(.whip-phone-layout) .whip-subnav,
  html:not(.whip-phone-layout) .whip-nav-page-dock,
  html:not(.whip-phone-layout) .whip-stories-nav,
  html:not(.whip-phone-layout) .whip-stories-nav .whip-nav-open,
  html:not(.whip-phone-layout) .whip-nav-page-dock .whip-nav-open,
  html:not(.whip-phone-layout) .whip-nav-open {
    display: none !important;
  }

  html:not(.whip-phone-layout) body:has(.whip-subnav),
  html:not(.whip-phone-layout) body.n_activated:has(.whip-subnav),
  html:not(.whip-phone-layout) body.n_live:has(.whip-subnav) {
    padding-top: 0 !important;
  }

  html:not(.whip-phone-layout) .home-newsfeed > .row,
  html:not(.whip-phone-layout) .market-page-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  html:not(.whip-phone-layout) .home-newsfeed > .row > .home-feed-col,
  html:not(.whip-phone-layout) .market-page-row > .market-main-col,
  html:not(.whip-phone-layout) .sg-offcanvas .sg-offcanvas-mainbar,
  html:not(.whip-phone-layout) .sg-offcanvas.active .sg-offcanvas-mainbar {
    flex: 1 1 auto !important;
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0;
    left: auto !important;
  }

  html:not(.whip-phone-layout) .home-newsfeed > .row > .home-feed-col,
  html:not(.whip-phone-layout)[data-page="index"] .home-newsfeed > .row > .home-feed-col {
    display: block !important;
    grid-template-columns: minmax(0, 800px) !important;
    justify-content: start !important;
  }

  html:not(.whip-phone-layout) .home-feed-primary,
  html:not(.whip-phone-layout) .home-mainbar {
    width: min(800px, 100%);
    max-width: 800px;
  }

  html:not(.whip-phone-layout) .sg-offcanvas {
    overflow: visible;
  }

  html:not(.whip-phone-layout) .sg-offcanvas .sg-offcanvas-sidebar {
    display: block !important;
    position: fixed !important;
    top: var(--whip-header-h, 72px) !important;
    left: 0 !important;
    right: auto !important;
    width: min(340px, 88vw) !important;
    max-width: 340px !important;
    height: calc(100vh - var(--whip-header-h, 72px)) !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 12px 12px 28px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    z-index: 1045 !important;
    background: var(--body-bg-color, #f3efe8) !important;
    transform: translateX(-105%) !important;
    visibility: hidden !important;
    box-shadow: none !important;
    transition: transform 0.22s ease, visibility 0.22s ease;
  }

  html.sg-offcanvas-open:not(.whip-phone-layout) .sg-offcanvas .sg-offcanvas-sidebar {
    transform: translateX(0) !important;
    visibility: visible !important;
    box-shadow: 12px 0 32px rgba(20, 22, 24, 0.18) !important;
  }

  html:not(.whip-phone-layout) .home-sidebar-col {
    display: block !important;
    position: fixed !important;
    top: var(--whip-header-h, 72px) !important;
    right: 0 !important;
    left: auto !important;
    width: min(320px, 86vw) !important;
    max-width: 320px !important;
    height: calc(100vh - var(--whip-header-h, 72px)) !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 12px 12px 28px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    z-index: 1045 !important;
    background: var(--body-bg-color, #f3efe8) !important;
    transform: translateX(105%) !important;
    visibility: hidden !important;
    box-shadow: none !important;
    transition: transform 0.22s ease, visibility 0.22s ease;
  }

  html.whip-right-open:not(.whip-phone-layout) .home-sidebar-col {
    transform: translateX(0) !important;
    visibility: visible !important;
    box-shadow: -12px 0 32px rgba(20, 22, 24, 0.18) !important;
  }

  html:not(.whip-phone-layout) body.night-mode .sg-offcanvas .sg-offcanvas-sidebar,
  html:not(.whip-phone-layout) body.night-mode .home-sidebar-col {
    background: var(--body-bg-color-dark, #1b1e22) !important;
  }

  html.sg-offcanvas-open:not(.whip-phone-layout) .whip-nav-backdrop,
  html.whip-right-open:not(.whip-phone-layout) .whip-nav-backdrop {
    display: block !important;
    top: var(--whip-header-h, 72px) !important;
  }

  html.sg-offcanvas-open:not(.whip-phone-layout),
  html.whip-right-open:not(.whip-phone-layout),
  html.sg-offcanvas-open:not(.whip-phone-layout) body,
  html.whip-right-open:not(.whip-phone-layout) body {
    overflow: hidden;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  html:not(.whip-phone-layout) {
    --whip-tool: 30px;
    --whip-tool-ico: 14px;
    --whip-nav-ico: 28px;
  }

  html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li.whip-header-notifications {
    order: 0;
  }

  html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li.whip-header-notifications {
    order: 0;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-centernav .whip-header-nav__btn {
    min-width: 40px;
    width: 40px;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-user__btn img,
  html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li.whip-header-user > a img {
    width: 30px !important;
    height: 30px !important;
  }
}

/* Desktop home left rail: larger links, icons, and ads block */
@media (min-width: 1200px) {
  html:not(.whip-phone-layout) .home-newsfeed .home-rail__you-garage {
    margin: 0 2px 12px;
    padding: 2px 2px 12px;
    border-top: 0;
    border-bottom: 1px solid rgba(20, 22, 24, 0.14);
    gap: 10px;
  }

  html:not(.whip-phone-layout) .home-newsfeed .home-rail__garage-link {
    font-size: 15px;
  }

  html:not(.whip-phone-layout) .home-newsfeed .home-rail__garage-link i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--auto-signal-soft, #FEE8DD);
    font-size: 14px;
  }

  html:not(.whip-phone-layout) .home-newsfeed .home-rail__ride-photo {
    flex-basis: 84px;
    width: 84px;
    height: 60px;
  }

  html:not(.whip-phone-layout) .home-newsfeed .home-rail__ride-meta strong {
    font-size: 16px;
  }

  html:not(.whip-phone-layout) .home-newsfeed .home-rail__list > li > a,
  html:not(.whip-phone-layout) .home-newsfeed .home-rail__ads .home-rail__list > li > a {
    min-height: 52px;
    gap: 14px;
    padding: 10px 12px;
    font-size: 20px;
  }

  html:not(.whip-phone-layout) .home-newsfeed .home-rail__list > li > a > .main-icon,
  html:not(.whip-phone-layout) .home-newsfeed .home-rail__list > li > a > .svg-container,
  html:not(.whip-phone-layout) .home-newsfeed .home-rail__list > li > a > i.main-icon,
  html:not(.whip-phone-layout) .home-newsfeed .home-rail__ads .home-rail__list > li > a > .main-icon,
  html:not(.whip-phone-layout) .home-newsfeed .home-rail__ads .home-rail__list > li > a > .svg-container,
  html:not(.whip-phone-layout) .home-newsfeed .home-rail__ads .home-rail__list > li > a > i.main-icon {
    flex: 0 0 28px !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    font-size: 26px !important;
    background: transparent !important;
    color: #FA6418 !important;
    fill: #FA6418 !important;
  }

  html:not(.whip-phone-layout) .home-newsfeed .home-rail__list > li > a > .main-icon > i,
  html:not(.whip-phone-layout) .home-newsfeed .home-rail__list > li > a > .svg-container > i,
  html:not(.whip-phone-layout) .home-newsfeed .home-rail__list > li > a > i.main-icon,
  html:not(.whip-phone-layout) .home-newsfeed .home-rail__ads .home-rail__list > li > a > .main-icon > i,
  html:not(.whip-phone-layout) .home-newsfeed .home-rail__ads .home-rail__list > li > a > .svg-container > i,
  html:not(.whip-phone-layout) .home-newsfeed .home-rail__ads .home-rail__list > li > a > i.main-icon {
    font-size: 26px !important;
    width: 26px !important;
    height: 26px !important;
    color: #FA6418 !important;
    fill: #FA6418 !important;
  }

  html:not(.whip-phone-layout) .home-newsfeed .home-rail__label--ads {
    font-size: 22px;
  }

  html:not(.whip-phone-layout) .home-newsfeed .home-rail__drop-toggle {
    font-size: 18px;
    padding: 14px 12px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  html:not(.whip-phone-layout) {
    --whip-tool: 26px;
    --whip-tool-ico: 13px;
    --whip-nav-ico: 24px;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-centernav .whip-header-nav__btn {
    min-width: 34px;
    width: 34px;
  }

  html:not(.whip-phone-layout) .main-header .whip-header-user__btn img,
  html:not(.whip-phone-layout) .main-header .navbar-wrapper > ul > li.whip-header-user > a img {
    width: 26px !important;
    height: 26px !important;
  }
}

.seller-edit-pop[hidden] {
  display: none !important;
}
.seller-edit-pop {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
}
.seller-edit-pop__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 18, 20, 0.55);
}
.seller-edit-pop__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}
.seller-edit-pop__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #1c1f22;
  box-shadow: 0 2px 10px rgba(16, 18, 20, 0.16);
  cursor: pointer;
}
.seller-edit-pop__frame {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}
html.seller-edit-open,
html.seller-edit-open body {
  overflow: hidden;
}
html.whip-listing-embed .main-header,
html.whip-listing-embed .footer,
html.whip-listing-embed .footer-bottom-bar,
html.whip-listing-embed .whip-subnav,
html.whip-listing-embed .chat-sidebar,
html.whip-listing-embed .auto-sell__back {
  display: none !important;
}
html.whip-listing-embed,
html.whip-listing-embed body {
  background: #fff !important;
  padding-top: 0 !important;
}
html.whip-listing-embed .main-wrapper,
html.whip-listing-embed .auto-sell--page {
  padding-top: 0 !important;
}
html.whip-listing-embed .auto-sell__hero {
  padding-right: 48px;
}

/* Apps Hub showcase layout */
.whip-hub__lead {
  margin: 0 0 14px;
  color: #6b7178;
  font-size: 0.98rem;
  line-height: 1.4;
}
.whip-hub__intro {
  margin-bottom: 0 !important;
}
.whip-hub-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.whip-hub-filter {
  border: 0;
  background: #fff;
  color: #3a4046;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(20, 22, 24, 0.06);
}
.whip-hub-filter.is-active {
  background: var(--auto-signal, #FA6418);
  color: #fff;
}
body.night-mode .whip-hub-filter {
  background: rgba(255, 255, 255, 0.06);
  color: #e8edf2;
}
body.night-mode .whip-hub-filter.is-active {
  background: var(--auto-signal, #FA6418);
  color: #fff;
}
body.night-mode .whip-hub__lead { color: #9aa3ab; }

.whip-hub-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.whip-hub-spotlight[hidden] { display: none !important; }
.whip-hub-spotlight > .whip-hub-market { min-height: 0; }
.whip-hub-split__label {
  margin: 12px 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #141618;
}
.whip-hub-split__label:first-child { margin-top: 0; }
body.night-mode .whip-hub-split__label { color: #e8edf2; }
.whip-hub-market .whip-hub-empty { padding: 8px 4px 4px; }
.whip-hub-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--auto-signal, #FA6418);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.whip-hub-feature,
.whip-hub-stores {
  display: grid;
  min-height: 210px;
  background: #fff;
  border: 1px solid rgba(20, 22, 24, 0.08);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: 0 1px 0 rgba(20, 22, 24, 0.03);
}
body.night-mode .whip-hub-feature,
body.night-mode .whip-hub-stores {
  background: var(--card-dark-color, #262d34);
  border-color: rgba(255, 255, 255, 0.08);
}
.whip-hub-feature {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}
.whip-hub-feature__photo,
.whip-hub-stores__photo,
.whip-hub-shot__media,
.whip-hub-person__photo {
  background: #2a2f35 center / cover no-repeat;
}
.whip-hub-feature__photo.is-empty,
.whip-hub-stores__photo.is-empty,
.whip-hub-shot__media:not([style]),
.whip-hub-row__photo--cover:not([style]) {
  background-image: linear-gradient(145deg, #2a2f35, #3d342c);
}
.whip-hub-feature__copy,
.whip-hub-stores__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 18px 20px;
  min-width: 0;
}
.whip-hub-feature__copy strong,
.whip-hub-stores__copy strong {
  font-size: 1.25rem;
  line-height: 1.15;
  font-weight: 800;
  color: #141618;
}
.whip-hub-feature__copy em,
.whip-hub-stores__copy em {
  font-style: normal;
  color: #6b7178;
  font-size: 0.9rem;
  line-height: 1.4;
}
body.night-mode .whip-hub-feature__copy strong,
body.night-mode .whip-hub-stores__copy strong { color: #e8edf2; }
body.night-mode .whip-hub-feature__copy em,
body.night-mode .whip-hub-stores__copy em { color: #9aa3ab; }
.whip-hub-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--auto-signal, #FA6418);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
}
.whip-hub-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--auto-signal, #FA6418);
  font-size: 0.86rem;
  font-weight: 700;
}
.whip-hub-stores {
  grid-template-columns: minmax(0, 1fr) 112px;
  align-items: center;
  padding-right: 16px;
}
.whip-hub-stores__copy strong,
.whip-hub-stores__copy em {
  white-space: normal;
  overflow-wrap: anywhere;
}
.whip-hub-stores__photo {
  width: 112px;
  height: 112px;
  border-radius: 14px;
}

.whip-hub-shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.whip-hub-shot {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none !important;
  color: inherit !important;
}
.whip-hub-shot__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
}
.whip-hub-shot__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 50%;
  background: rgba(20, 22, 24, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}
.whip-hub-shot__play i { margin-left: 1px; }
.whip-hub-shot__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 2px 0;
  min-width: 0;
}
.whip-hub-shot__info strong,
.whip-hub-row__info strong,
.whip-hub-person__name {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.25;
  color: #141618;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.whip-hub-shot__info em,
.whip-hub-row__info em,
.whip-hub-person__meta {
  font-style: normal;
  font-size: 0.72rem;
  color: #8a9096;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.night-mode .whip-hub-shot__info strong,
body.night-mode .whip-hub-row__info strong,
body.night-mode .whip-hub-person__name { color: #e8edf2; }

.whip-hub-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.whip-hub-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
  text-decoration: none !important;
  color: inherit !important;
}
.whip-hub-row:hover { background: #fff4ee; }
body.night-mode .whip-hub-row:hover { background: rgba(255, 255, 255, 0.05); }
.whip-hub-row__photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  background: #2a2f35 center / cover no-repeat;
}
.whip-hub-row__photo--cover {
  width: 56px;
  height: 40px;
  border-radius: 8px;
}
.whip-hub-row__info {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.whip-hub-row > i {
  color: #c5c9cd;
  font-size: 0.75rem;
  flex: 0 0 auto;
}

.whip-hub-people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.whip-hub-person {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 8px;
  border-radius: 14px;
  background: #f6f7f8;
}
body.night-mode .whip-hub-person { background: rgba(255, 255, 255, 0.05); }
.whip-hub-person__photo {
  display: block;
  height: 72px;
  border-radius: 10px;
  margin-bottom: 8px;
}
.whip-hub-person__name {
  text-decoration: none !important;
  -webkit-line-clamp: 1;
}
.whip-hub-join {
  align-self: flex-start;
  margin-top: 8px;
  border: 1px solid var(--auto-signal, #FA6418);
  background: #fff;
  color: var(--auto-signal, #FA6418);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}
.whip-hub-join.is-done,
.whip-hub-join.is-pending {
  background: var(--auto-signal, #FA6418);
  color: #fff;
}
body.night-mode .whip-hub-join { background: transparent; }
body.night-mode .whip-hub-join.is-done,
body.night-mode .whip-hub-join.is-pending {
  background: var(--auto-signal, #FA6418);
  color: #fff;
}

.whip-hub-empty-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 18px 12px 8px;
}
.whip-hub-empty-cta__icon {
  width: 42px;
  height: 42px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: #f3f4f5;
  color: #8a9096;
  display: flex;
  align-items: center;
  justify-content: center;
}
.whip-hub-empty-cta strong {
  font-size: 0.95rem;
  color: #141618;
}
.whip-hub-empty-cta p {
  margin: 0 0 6px;
  color: #8a9096;
  font-size: 0.82rem;
}
.whip-hub-empty-cta a {
  color: var(--auto-signal, #FA6418) !important;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none !important;
}
body.night-mode .whip-hub-empty-cta strong { color: #e8edf2; }
body.night-mode .whip-hub-empty-cta__icon { background: rgba(255, 255, 255, 0.06); }

@media (max-width: 991.98px) {
  .whip-hub-spotlight {
    grid-template-columns: 1fr;
  }
  .whip-hub-feature {
    grid-template-columns: 1fr;
  }
  .whip-hub-feature__photo {
    min-height: 160px;
  }
}
html.whip-phone-layout .whip-hub__intro {
  display: block !important;
}
html.whip-phone-layout .whip-hub-people {
  display: flex;
  overflow-x: auto;
  gap: 10px;
}
html.whip-phone-layout .whip-hub-person {
  flex: 0 0 46%;
}

.market-inbox__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.market-inbox__stats div {
  background: #fff;
  border: 1px solid rgba(20, 22, 24, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
}
.market-inbox__stats strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.1;
}
.market-inbox__stats span {
  color: #5c6168;
  font-size: 13px;
  font-weight: 650;
}
.market-inbox__group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.market-inbox__group-head h3 {
  margin: 0;
}
.market-inbox__group-head em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--auto-signal, #FA6418);
  border-radius: 999px;
  padding: 2px 8px;
}
.market-inbox__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(20, 22, 24, 0.1);
  border-radius: 14px;
  background: #fafafa;
}
.market-inbox__row.is-unread {
  background: #fff;
  border-color: rgba(250, 100, 24, 0.45);
  box-shadow: inset 3px 0 0 var(--auto-signal, #FA6418);
}
.market-inbox__open {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.market-inbox__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 12px;
  background: #eceae6;
  color: #8a9096;
}
.market-inbox__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.market-inbox__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.market-inbox__top,
.market-inbox__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.market-inbox__top time,
.market-inbox__meta span {
  color: #6b7278;
  font-size: 12px;
}
.market-inbox__item {
  font-weight: 700;
}
.market-inbox__preview {
  color: #3c4248;
  font-size: 13px;
  line-height: 1.35;
}
.market-inbox__new {
  color: var(--auto-signal, #FA6418) !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.market-inbox__actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.market-inbox__empty a {
  font-weight: 700;
}
body.night-mode .market-inbox__stats div,
body.night-mode .market-inbox__row {
  background: #1c2025;
  border-color: rgba(255, 255, 255, 0.12);
}
body.night-mode .market-inbox__preview,
body.night-mode .market-inbox__top time,
body.night-mode .market-inbox__meta span {
  color: #c5ced6;
}
@media (max-width: 640px) {
  .market-inbox__row {
    grid-template-columns: 1fr;
  }
  .market-inbox__actions {
    flex-direction: row;
  }
}

/* Slight corner radius on boxes, buttons, inputs, and panels. */
html body,
html body *,
html body *::before,
html body *::after {
  border-radius: 4px !important;
}
html body .rounded-circle,
html body img.rounded-circle,
html body .avatar,
html body .user-avatar,
html body .home-rail__avatar,
html body input[type="radio"],
html body .form-check-input[type="radio"],
html body .spinner-border,
html body .spinner-grow {
  border-radius: 50% !important;
}
html body .whip-rep-rank {
  border-radius: 999px !important;
}

html:not(.whip-phone-layout)[data-page="index"] .home-newsfeed > .row,
html:not(.whip-phone-layout)[data-page="index"] .home-newsfeed .home-rail__card,
html:not(.whip-phone-layout)[data-page="index"] .home-mainbar .post,
html:not(.whip-phone-layout)[data-page="index"] .js_posts_stream .post,
html:not(.whip-phone-layout)[data-page="index"] .home-mainbar .publisher,
html:not(.whip-phone-layout)[data-page="index"] .home-mainbar > .card {
  border-radius: 4px !important;
}

html:not(.whip-phone-layout) .home-newsfeed .home-rail__card {
  background: #fff !important;
  border: 1px solid rgba(20, 22, 24, 0.08) !important;
  box-shadow: 0 8px 24px rgba(20, 22, 24, 0.06) !important;
  padding: 16px 12px 8px !important;
}
html:not(.whip-phone-layout) .home-newsfeed .home-rail__you-top {
  padding: 2px 6px 0;
}
html:not(.whip-phone-layout) .home-newsfeed .home-rail__avatar {
  width: 48px !important;
  height: 48px !important;
  flex-basis: 48px !important;
  border: 0 !important;
}
html:not(.whip-phone-layout) .home-newsfeed .home-rail__who strong {
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #1c2430;
}
html:not(.whip-phone-layout) .home-newsfeed .home-rail__stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin: 14px 0 6px;
  text-align: center;
}
html:not(.whip-phone-layout) .home-newsfeed .home-rail__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
  padding: 2px 4px;
  color: inherit !important;
  text-decoration: none !important;
  border-left: 1px solid rgba(20, 22, 24, 0.12);
}
html:not(.whip-phone-layout) .home-newsfeed .home-rail__stat:first-child {
  border-left: 0;
}
html:not(.whip-phone-layout) .home-newsfeed .home-rail__stat strong {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  color: #1c2430;
}
html:not(.whip-phone-layout) .home-newsfeed .home-rail__stat span {
  font-size: 12px;
  font-weight: 500;
  color: #8b9198;
}
/* Shared sidebar link style: larger type and orange icons, sized for the rail. */
html:not(.whip-phone-layout) .home-rail__list > li > a,
html:not(.whip-phone-layout) .main-side-nav > li > a,
html:not(.whip-phone-layout) .main-side-nav .nav-cat-toggle,
html:not(.whip-phone-layout) .side-nav:not(.admin-side-nav) > li > a,
html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar .home-rail__list > li > a {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  min-height: 52px !important;
  padding: 10px 12px !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.01em;
  color: #1c2430 !important;
  background: transparent !important;
}
html:not(.whip-phone-layout) .home-rail__list > li > a > .main-icon,
html:not(.whip-phone-layout) .home-rail__list > li > a > .svg-container,
html:not(.whip-phone-layout) .home-rail__list > li > a > i.main-icon,
html:not(.whip-phone-layout) .home-rail__list > li > a > .main-icon > i,
html:not(.whip-phone-layout) .home-rail__list > li > a > .svg-container > i,
html:not(.whip-phone-layout) .main-side-nav a > .main-icon,
html:not(.whip-phone-layout) .main-side-nav a > .main-icon > i,
html:not(.whip-phone-layout) .main-side-nav a > i.main-icon,
html:not(.whip-phone-layout) .side-nav:not(.admin-side-nav) > li > a > .main-icon,
html:not(.whip-phone-layout) .side-nav:not(.admin-side-nav) > li > a > .main-icon > i,
html:not(.whip-phone-layout) .side-nav:not(.admin-side-nav) > li > a > i.main-icon,
html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar .home-rail__list > li > a > .main-icon,
html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar .home-rail__list > li > a > .main-icon > i,
html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar .home-rail__list > li > a > i.main-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 28px !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  margin: 0 !important;
  background: transparent !important;
  font-size: 26px !important;
  line-height: 1 !important;
  color: #FA6418 !important;
  fill: #FA6418 !important;
}
html:not(.whip-phone-layout) .home-rail__list > li.active > a,
html:not(.whip-phone-layout) .main-side-nav > li.active > a,
html:not(.whip-phone-layout) .side-nav:not(.admin-side-nav) > li.active > a,
html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar .home-rail__list > li.active > a {
  background: #FA6418 !important;
  color: #fff !important;
}
html:not(.whip-phone-layout) .home-newsfeed .home-rail__list > li.active > a > .main-icon,
html:not(.whip-phone-layout) .home-newsfeed .home-rail__list > li.active > a > .main-icon > i,
html:not(.whip-phone-layout) .home-newsfeed .home-rail__list > li.active > a > i.main-icon,
html:not(.whip-phone-layout) .home-rail__list > li.active > a > .main-icon,
html:not(.whip-phone-layout) .home-rail__list > li.active > a > .main-icon > i,
html:not(.whip-phone-layout) .home-rail__list > li.active > a > i.main-icon,
html:not(.whip-phone-layout) .main-side-nav > li.active > a > .main-icon,
html:not(.whip-phone-layout) .main-side-nav > li.active > a > .main-icon > i,
html:not(.whip-phone-layout) .main-side-nav > li.active > a > i.main-icon,
html:not(.whip-phone-layout) .side-nav:not(.admin-side-nav) > li.active > a > .main-icon,
html:not(.whip-phone-layout) .side-nav:not(.admin-side-nav) > li.active > a > .main-icon > i,
html:not(.whip-phone-layout) .side-nav:not(.admin-side-nav) > li.active > a > i.main-icon,
html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar .home-rail__list > li.active > a > .main-icon,
html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar .home-rail__list > li.active > a > .main-icon > i,
html:not(.whip-phone-layout)[data-page="market"] .market-hub-sidebar .home-rail__list > li.active > a > i.main-icon {
  color: #fff !important;
  fill: #fff !important;
}
html:not(.whip-phone-layout) .home-newsfeed .home-rail__drop-toggle {
  font-size: 18px !important;
  font-weight: 500 !important;
}
html:not(.whip-phone-layout) .home-newsfeed .home-rail__list > li > a {
  font-weight: 500 !important;
}
html:not(.whip-phone-layout) .home-newsfeed .home-rail__garage-link {
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #1c2430 !important;
}
html:not(.whip-phone-layout) .home-newsfeed .home-rail__garage-link i {
  width: 20px !important;
  height: 20px !important;
  font-size: 12px !important;
  color: #1c2430 !important;
  background: transparent !important;
}
html:not(.whip-phone-layout) .home-newsfeed .home-rail__list.home-rail__list--apps {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 0 !important;
  border-top: 1px solid rgba(20, 22, 24, 0.12);
}
html:not(.whip-phone-layout) .home-newsfeed .home-rail__list.home-rail__list--apps > li {
  border-bottom: 1px solid rgba(20, 22, 24, 0.12);
  border-right: 1px solid rgba(20, 22, 24, 0.12);
}
html:not(.whip-phone-layout) .home-newsfeed .home-rail__list.home-rail__list--apps > li:nth-child(2n) {
  border-right: 0;
}
html:not(.whip-phone-layout) .home-newsfeed .home-rail__list.home-rail__list--apps > li > a {
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 128px !important;
  padding: 18px 10px !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
  text-align: center;
  border-radius: 0 !important;
}
html:not(.whip-phone-layout) .home-newsfeed .home-rail__list.home-rail__list--apps > li > a > .main-icon,
html:not(.whip-phone-layout) .home-newsfeed .home-rail__list.home-rail__list--apps > li > a > .svg-container,
html:not(.whip-phone-layout) .home-newsfeed .home-rail__list.home-rail__list--apps > li > a > i.main-icon,
html:not(.whip-phone-layout) .home-newsfeed .home-rail__list.home-rail__list--apps > li > a > .main-icon > i,
html:not(.whip-phone-layout) .home-newsfeed .home-rail__list.home-rail__list--apps > li > a > .svg-container > i {
  flex: 0 0 38px !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  font-size: 34px !important;
}

html.whip-messenger-embed .main-header,
html.whip-messenger-embed .footer,
html.whip-messenger-embed .footer-bottom-bar,
html.whip-messenger-embed .whip-subnav,
html.whip-messenger-embed .chat-sidebar,
html.whip-messenger-embed .top-bar,
html.whip-messenger-embed .bottom-bar {
  display: none !important;
}
html.whip-messenger-embed,
html.whip-messenger-embed body,
html.whip-messenger-embed .main-wrapper,
html.whip-messenger-embed .whip-messenger {
  background: #fff !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}
html.whip-messenger-embed .whip-messenger {
  min-height: 100vh;
}
