@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../assets/fonts/nunito-sans-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito Sans";
  font-style: italic;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../assets/fonts/nunito-sans-italic.woff2") format("woff2");
}

:root {
  --hs-color-bg: #121212;
  --hs-color-surface: #1a1a1a;
  --hs-color-surface-raised: #202020;
  --hs-color-border: #2a2a2a;
  --hs-color-text: #f5f5f5;
  --hs-color-muted: #a3a3a3;
  --hs-color-accent: #ff8533;
  --hs-color-accent-contrast: #121212;
}

/* Shared static/Vue navigation */
.hs-site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 500;
  width: 100%;
  color: var(--hs-color-text);
  background: rgba(18, 18, 18, .96);
  border-bottom: 1px solid var(--hs-color-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-family: "Nunito Sans", ui-sans-serif, system-ui, sans-serif;
}
.hs-site-header *, .hs-site-header *::before, .hs-site-header *::after { box-sizing: border-box; }
.hs-site-header__inner {
  width: min(100%, 1320px);
  min-height: 56px;
  margin-inline: auto;
  padding: 7px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.hs-shell-brand {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--hs-color-text);
  text-decoration: none;
}
.hs-shell-brand img { width: 34px; height: 34px; object-fit: contain; }
.hs-shell-brand span { display: grid; line-height: 1.05; }
.hs-shell-brand strong { font-size: 16px; font-weight: 900; letter-spacing: .02em; }
.hs-shell-brand small { margin-top: 3px; color: var(--hs-color-muted); font-size: 9px; font-weight: 800; letter-spacing: .2em; }
.hs-shell-desktop { display: flex; align-items: center; gap: 3px; min-width: 0; flex: 1; }
.hs-shell-link {
  min-height: 38px;
  padding: 9px 10px;
  border: 0;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #bcbcbc;
  background: transparent;
  font: 700 13px/1.35 "Nunito Sans", ui-sans-serif, system-ui, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color .16s ease, background .16s ease;
}
.hs-shell-link:hover, .hs-shell-link.is-active {
  color: #fff;
  background: #292929;
}
.hs-shell-link.is-active { box-shadow: inset 0 -2px var(--hs-color-accent); }
.hs-shell-mobile > summary::-webkit-details-marker { display: none; }
.hs-shell-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 9px; }
.hs-shell-user-nav { display: flex; align-items: center; gap: 2px; }
.hs-shell-user-nav .hs-shell-link { padding-inline: 9px; font-size: 12px; }
.hs-shell-language, .hs-shell-login {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid #393939;
  border-radius: 7px;
  color: var(--hs-color-text);
  background: #202020;
  font: 800 13px/1.2 "Nunito Sans", ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
}
.hs-shell-language:hover { border-color: var(--hs-color-accent); color: var(--hs-color-accent); }
.hs-shell-login { border-color: var(--hs-color-accent); color: var(--hs-color-accent-contrast); background: var(--hs-color-accent); }
.hs-shell-login:hover { filter: brightness(1.08); }
.hs-shell-account { min-width: 0; max-width: 180px; display: inline-flex; align-items: center; gap: 8px; color: var(--hs-color-text); text-decoration: none; }
.hs-shell-account-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 800; }
.hs-shell-avatar { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border-radius: 50%; color: #151515; background: var(--hs-color-accent); font-size: 13px; font-weight: 900; }
.hs-shell-mobile { display: none; position: relative; }
.hs-shell-mobile > summary { width: 40px; height: 38px; padding: 9px; display: grid; align-content: center; gap: 4px; border: 1px solid #383838; border-radius: 7px; list-style: none; cursor: pointer; }
.hs-shell-mobile > summary span { width: 20px; height: 2px; border-radius: 2px; background: #eee; }
.hs-shell-mobile-menu { position: absolute; inset-block-start: calc(100% + 8px); inset-inline-end: 0; z-index: 530; width: min(88vw, 340px); max-height: min(76vh, 620px); overflow: auto; padding: 9px; display: grid; gap: 3px; border: 1px solid #373737; border-radius: 11px; background: #1a1a1a; box-shadow: 0 18px 48px rgba(0, 0, 0, .55); }
.hs-shell-mobile-menu .hs-shell-link { justify-content: flex-start; white-space: normal; }
.hs-shell-mobile-menu > .hs-shell-language, .hs-shell-mobile-menu > .hs-shell-login { width: 100%; margin-top: 4px; }
.hs-site-header :focus-visible { outline: 2px solid var(--hs-color-accent); outline-offset: 2px; }

@media (max-width: 1050px) {
  .hs-site-header__inner { gap: 10px; padding-inline: 14px; }
  .hs-shell-desktop { gap: 0; }
  .hs-shell-link { padding-inline: 7px; font-size: 12px; }
  .hs-shell-user-nav .hs-shell-link { padding-inline: 6px; }
  .hs-shell-account-name { display: none; }
}
@media (max-width: 780px) {
  .hs-site-header__inner { min-height: 54px; padding: 7px 12px; gap: 8px; }
  .hs-shell-brand { gap: 7px; }
  .hs-shell-brand img { width: 31px; height: 31px; }
  .hs-shell-brand strong { font-size: 14px; }
  .hs-shell-brand small { font-size: 8px; }
  .hs-shell-desktop { display: none; }
  .hs-shell-user-nav { display: none; }
  .hs-shell-actions { gap: 7px; }
  .hs-shell-mobile { display: block; }
  .hs-shell-account { display: none; }
}
/* Merge-mode only: high-specificity overrides survive lazy scoped styles and teleported modals. */
body.hs-camp-app {
  --wiki-page-max: 1280px;
  --font-base: "Nunito Sans", ui-sans-serif, system-ui, sans-serif;
  --font-race: "Nunito Sans", ui-sans-serif, system-ui, sans-serif;
  --font-num: "Nunito Sans", ui-sans-serif, system-ui, sans-serif;
  --wiki-topbar-height: 56px;
  --wiki-sticky-gap: 14px;
  --wiki-sticky-top: 70px;
  --wiki-text-main: #f5f5f5;
  --wiki-text-sub: #a3a3a3;
  --wiki-title-color: #f5f5f5;
  --wiki-meta-color: #a3a3a3;
  --wiki-graphite: #1a1a1a;
  --wiki-input-bg: #202020;
  --wiki-surface: #1a1a1a;
  --wiki-surface-strong: #202020;
  --wiki-surface-soft: #1d1d1d;
  --wiki-border: #2a2a2a;
  --wiki-border-strong: #3a3a3a;
  --wiki-shadow-panel: 0 12px 30px rgba(0, 0, 0, .3);
  --wiki-shadow-hard: 4px 4px 0 rgba(0, 0, 0, .38);
  --wiki-shadow-hard-hover: 6px 7px 0 rgba(0, 0, 0, .48);
  --wiki-bg-1: #121212;
  --wiki-bg-2: #121212;
  --wiki-bg-3: #121212;
  --hs-ui-surface-bg: #1a1a1a;
  --hs-ui-surface-bg-soft: #202020;
  --hs-ui-surface-border: #2a2a2a;
  --hs-ui-surface-border-strong: #3a3a3a;
  --hs-ui-surface-shadow: 0 12px 30px rgba(0, 0, 0, .28);
  --hs-ui-surface-shadow-hover: 0 16px 36px rgba(0, 0, 0, .4);
  --hs-ui-text-main: #f5f5f5;
  --hs-ui-text-sub: #a3a3a3;
  --hs-ui-accent: #ff8533;
  --hs-ui-accent-strong: #ff9955;
  --hs-ui-accent-soft: rgba(255, 133, 51, .15);
  --hs-ui-danger-soft: rgba(224, 79, 95, .16);
  --hs-ui-success-soft: rgba(22, 159, 100, .16);
  color: #f5f5f5 !important;
  color-scheme: dark;
  font-family: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  background: #121212 !important;
}
body.hs-camp-app, body.hs-camp-app #app { min-height: 100vh; background: #121212 !important; }
body.hs-camp-app #app { color: #f5f5f5; font-family: "Nunito Sans", ui-sans-serif, system-ui, sans-serif; }
body.hs-camp-app :is(button, input, textarea, select) { font-family: "Nunito Sans", ui-sans-serif, system-ui, sans-serif; }
body.hs-camp-app :focus-visible { outline: 2px solid #ff8533; outline-offset: 2px; }

/* Sticky shared header stays pinned while the camp scroll container moves. */
body.hs-camp-app .hs-site-shell-host,
body.hs-camp-app #site-header { position: sticky; top: 0; z-index: 600; }
body.hs-camp-app .hs-site-shell-host:empty { display: none; }
body.hs-camp-app .hs-site-shell-host > .hs-site-header,
body.hs-camp-app #site-header > .hs-site-header { position: relative; top: auto; z-index: 1; }

/* Replace the hidden sidebar's reserved width and the old fixed-height app shell. */
body.hs-camp-app .wiki-page {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh !important;
  overflow: visible !important;
  color: #f5f5f5 !important;
  background: #121212 !important;
  font-family: "Nunito Sans", ui-sans-serif, system-ui, sans-serif !important;
}
body.hs-camp-app .wiki-bg-glow { position: fixed; inset: 56px 0 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 50% 0, rgba(255,133,51,.055), transparent 58%) !important; }
body.hs-camp-app .wiki-layout,
body.hs-camp-app .wiki-layout--standalone {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: calc(100vh - 56px) !important;
  overflow: visible !important;
  background: transparent !important;
}
body.hs-camp-app .wiki-sidebar,
body.hs-camp-app .wiki-mobile-drawer,
body.hs-camp-app .wiki-mobile-drawer-mask { display: none !important; }
body.hs-camp-app .wiki-main,
body.hs-camp-app .wiki-layout--standalone .wiki-main,
body.hs-camp-app .wiki-page.sidebar-collapsed .wiki-main,
body.hs-camp-app .wiki-page.sidebar-hidden .wiki-main {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  background: transparent !important;
}
body.hs-camp-app .wiki-topbar {
  position: relative !important;
  inset: auto !important;
  z-index: 20 !important;
  display: flex !important;
  width: 100% !important;
  min-height: 48px !important;
  padding: 7px max(20px, calc((100vw - 1280px) / 2)) !important;
  border: 0 !important;
  border-bottom: 1px solid #292929 !important;
  border-radius: 0 !important;
  color: #f5f5f5 !important;
  background: #171717 !important;
  box-shadow: none !important;
}
body.hs-camp-app .wiki-topbar__title-text h2,
body.hs-camp-app .wiki-topbar__title-text span {
  color: #f5f5f5 !important;
  font-family: "Nunito Sans", ui-sans-serif, system-ui, sans-serif !important;
  font-size: 16px !important;
  font-style: normal !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: normal !important;
  text-shadow: none !important;
}
body.hs-camp-app .wiki-topbar__title-text { color: #f5f5f5 !important; }
body.hs-camp-app .wiki-topbar__right,
body.hs-camp-app .wiki-topbar-auth,
body.hs-camp-app .wiki-user-profile { color: #f5f5f5 !important; }
body.hs-camp-app .wiki-user-profile { border: 1px solid #303030 !important; background: transparent !important; box-shadow: none !important; }
body.hs-camp-app .wiki-u-name { color: #f5f5f5 !important; }
body.hs-camp-app .wiki-u-role { color: #c8c8c8; }
body.hs-camp-app .wiki-icon-btn { color: #e5e5e5 !important; border: 1px solid #393939 !important; background: #202020 !important; box-shadow: none !important; }
body.hs-camp-app .wiki-icon-btn:hover { color: #ff8533 !important; border-color: #ff8533 !important; }
body.hs-camp-app .wiki-mobile-menu-btn,
body.hs-camp-app .wiki-topbar-side-toggle,
body.hs-camp-app .wiki-topbar-toggle,
body.hs-camp-app .wiki-locale-toggle,
body.hs-camp-app .wiki-mobile-locale { display: none !important; }
body.hs-camp-app .wiki-scroll-area,
body.hs-camp-app .wiki-scroll-area--standalone,
body.hs-camp-app .wiki-scroll-area--feedback {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 18px 20px 36px !important;
  overflow: visible !important;
  background: transparent !important;
  scrollbar-gutter: auto !important;
}
body.hs-camp-app .wiki-view-stage,
body.hs-camp-app .wiki-content-shell,
body.hs-camp-app .wiki-content-shell--roster {
  width: 100% !important;
  max-width: 1280px !important;
  min-width: 0 !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
  background: transparent !important;
}
body.hs-camp-app .wiki-layout--feedback .wiki-main,
body.hs-camp-app .feedback-standalone-app { min-height: calc(100vh - 56px) !important; height: auto !important; overflow: visible !important; background: #121212 !important; }
body.hs-camp-app .feedback-standalone-app { color: #f5f5f5 !important; }

/* Surface tokens for actual page roots and their visible card/filter surfaces. */
body.hs-camp-app :is(.hs-ui-surface, .hs-ui-surface--panel, .hs-ui-surface--soft, .hs-ui-filter-shell, .hs-ui-filter-shell--compact, .hs-ui-toolbar-shell, .hs-ui-toolbar, .hs-loader-card, .hs-ui-empty,
  .community-page-v3, .community-feed-page, .community-detail-page, .community-publish-page, .community-review-page,
  .community-hero-card, .community-side-panel, .community-toolbar-shell--v3, .community-feed-card, .community-feature-card, .community-hot-item, .community-detail-card, .community-publish-card,
  .garage-page-shell, .garage-toolbar, .garage-parts-grid, .garage-part-card, .garage-empty-card,
  .roster-toolbar, .roster-card, .roster-detail, .profile-page, .profile-card, .profile-section, .profile-panel,
  .inbox-page, .inbox-panel, .inbox-list, .inbox-conversation, .social-page, .social-page__hero, .social-page__card, .social-page__empty,
  .plate-unified, .plate-toolbar, .plate-card, .plate-modal, .plate-box, .plate-upload,
  .plate-catalog-page, .plate-catalog-toolbar, .plate-catalog-modal, .plate-catalog-detail__box,
  .admin-workspace-route, .admin-workspace-panel, .admin-panel, .admin-card, .admin-console,
  .feedback-page, .feedback-panel, .feedback-card, .data-panel, .stat-card) {
  color: #f5f5f5 !important;
  border-color: #2a2a2a !important;
  background-color: #1a1a1a !important;
  background-image: none !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22) !important;
}
body.hs-camp-app :is(.hs-ui-surface, .hs-ui-surface--panel, .hs-ui-surface--soft, .hs-ui-filter-shell, .hs-ui-filter-shell--compact, .hs-ui-toolbar-shell, .hs-ui-toolbar) {
  --hs-ui-surface-bg: #1a1a1a;
  --hs-ui-surface-bg-soft: #202020;
  --hs-ui-surface-border: #2a2a2a;
  --hs-ui-surface-border-strong: #3a3a3a;
  --hs-ui-text-main: #f5f5f5;
  --hs-ui-text-sub: #a3a3a3;
}
body.hs-camp-app :is(.community-page-v3, .community-feed-page, .community-detail-page, .community-publish-page, .community-review-page) {
  --community-v3-bg: #121212;
  --community-v3-panel: #1a1a1a;
  --community-v3-line: #2a2a2a;
  --community-v3-shadow: 0 10px 28px rgba(0, 0, 0, .22);
  --community-v3-shadow-soft: 0 8px 24px rgba(0, 0, 0, .2);
  color: #f5f5f5 !important;
  border-radius: 12px !important;
  background: #121212 !important;
  box-shadow: none !important;
}
body.hs-camp-app :is(.community-page-v3, .community-feed-page, .community-detail-page, .community-publish-page, .community-review-page) :is(.community-section-head, .community-section-head__copy, .community-section-head__title, .community-section-head__desc, .community-side-panel__head, .community-side-panel__title, .community-card__body, .community-feed-card__body, .community-detail-card__body, .community-publish-card__body) { color: #f5f5f5 !important; }
body.hs-camp-app :is(.community-page-v3, .community-feed-page, .community-detail-page, .community-publish-page, .community-review-page) :is(p, small, .community-section-head__desc, .community-card__meta, .community-feed-card__meta) { color: #a3a3a3 !important; }
body.hs-camp-app .community-hero-card { background-color: #202020 !important; background-image: none !important; }
body.hs-camp-app .community-hero-card__body,
body.hs-camp-app .community-hero-card__copy,
body.hs-camp-app .community-hero-card__copy h2,
body.hs-camp-app .community-hero-card__copy p { color: #f5f5f5 !important; text-shadow: none !important; }
body.hs-camp-app :is(.community-side-panel, .community-toolbar-shell--v3, .community-feed-card, .community-feature-card, .community-hot-item, .community-card__inner, .community-feed-grid, .community-detail-card, .community-publish-card) { border-color: #2a2a2a !important; background-color: #1a1a1a !important; background-image: none !important; box-shadow: none !important; }
body.hs-camp-app :is(.community-modern-btn--primary, .community-page-v3 .btn-action.primary, .community-page-v3 .community-feed-tool--surprise, .community-page-v3 .community-section-more--surprise) { border-color: #ff8533 !important; color: #171717 !important; background: #ff8533 !important; box-shadow: none !important; }

/* Dark controls and consistent HS orange actions; semantic rank/title color classes remain untouched. */
body.hs-camp-app :is(input:not([type="checkbox"]):not([type="radio"]), textarea, select, .hs-ui-input, .garage-toolbar__input, .plate-input, .roster-toolbar__input, .inbox-search, .inbox-filter, .auth-login-input, .admin-select, .community-filter-select) {
  color: #f5f5f5 !important;
  border-color: #3a3a3a !important;
  background-color: #202020 !important;
  background-image: none !important;
  box-shadow: none !important;
  color-scheme: dark;
}
body.hs-camp-app :is(input, textarea)::placeholder { color: #888 !important; opacity: 1; }
body.hs-camp-app :is(.hs-ui-button, .garage-toolbar__button, .garage-toolbar__toggle, .plate-btn, .admin-workspace-route__tab, .profile-action, .inbox-action, .social-page__back, .btn-primary) {
  border-color: #3a3a3a !important;
  color: #e8e8e8 !important;
  background: #252525 !important;
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
body.hs-camp-app :is(.hs-ui-button--primary, .garage-toolbar__button--primary, .plate-btn--primary, .btn-primary, .auth-submit-btn, .community-modern-btn--primary) {
  border-color: #ff8533 !important;
  color: #171717 !important;
  background: #ff8533 !important;
}
body.hs-camp-app :is(.hs-ui-button, .garage-toolbar__button, .garage-toolbar__toggle, .plate-btn, .admin-workspace-route__tab, .profile-action, .inbox-action):hover:not(:disabled) { border-color: #ff8533 !important; }
body.hs-camp-app :is(.garage-toolbar__meta, .garage-toolbar__pill, .plate-summary, .plate-notice, .roster-toolbar__count, .profile-page__bio, .inbox-page__empty, .social-page__signature, .social-page__empty, .admin-workspace-route__loading, .feedback-page__hint, .data-table td) { color: #a3a3a3 !important; }
body.hs-camp-app :is(.garage-car-card, .garage-item, .roster-car-card, .roster-card, .plate-card, .profile-car-card, .profile-livery-card, .social-page__card, .inbox-list-item, .inbox-thread-item, .data-table, .data-table thead, .data-table tbody tr) { border-color: #2a2a2a !important; background-color: #1a1a1a !important; background-image: none !important; box-shadow: none !important; }
body.hs-camp-app :is(.wiki-content-shell, .wiki-view-stage, .garage-page-shell, .plate-unified, .profile-page, .social-page, .inbox-page, .roster-page, .admin-workspace-route, .feedback-page, .plate-catalog-page) :is(h1,h2,h3,h4,h5,strong,label) { color: #f5f5f5; }
body.hs-camp-app :is(.profile-page, .social-page, .inbox-page, .roster-page, .admin-workspace-route, .feedback-page, .plate-unified, .plate-catalog-page, .garage-page-shell) :is(p, small, .muted, .description, .meta, .hint) { color: #a3a3a3; }

/* Teleported login/register, admin, livery, detail and confirm dialogs live under body, not .wiki-page. */
body.hs-camp-app :is(.hs-ui-modal-overlay, .auth-modal-overlay, .modal-overlay, .admin-console-overlay, .livery-preview-overlay, .community-modal-overlay) { color: #f5f5f5 !important; color-scheme: dark; }
body.hs-camp-app :is(.hs-ui-modal-panel, .hs-ui-surface, .auth-modal, .auth-login-card, .admin-console-modal, .admin-modal, .livery-preview-modal, .community-modal, .confirm-modal, .wiki-dialog) {
  --hs-ui-surface-bg: #1a1a1a;
  --hs-ui-surface-bg-soft: #202020;
  --hs-ui-surface-border: #333;
  --hs-ui-text-main: #f5f5f5;
  --hs-ui-text-sub: #a3a3a3;
  color: #f5f5f5 !important;
  border-color: #333 !important;
  background: #1a1a1a !important;
  background-image: none !important;
  box-shadow: 0 24px 72px rgba(0, 0, 0, .55) !important;
}
body.hs-camp-app :is(.hs-ui-modal-panel, .auth-modal, .auth-login-card, .admin-console-modal, .admin-modal, .livery-preview-modal, .community-modal, .confirm-modal, .wiki-dialog) :is(header, .modal-head, .auth-login-head, .modal-header) {
  color: #f5f5f5 !important;
  border-color: #333 !important;
  border-bottom-color: #ff8533 !important;
  background: #202020 !important;
  background-image: none !important;
  text-shadow: none !important;
}
body.hs-camp-app :is(.hs-ui-modal-panel, .auth-modal, .auth-login-card, .admin-console-modal, .admin-modal, .livery-preview-modal, .community-modal, .confirm-modal, .wiki-dialog) :is(h1,h2,h3,h4,p,label,span,strong,small) { color: #f5f5f5; }
body.hs-camp-app :is(.hs-ui-modal-panel, .auth-modal, .auth-login-card, .admin-console-modal, .admin-modal, .livery-preview-modal, .community-modal, .confirm-modal, .wiki-dialog) :is(.muted, small, .hint, .description, .meta) { color: #a3a3a3; }
body.hs-camp-app :is(.hs-ui-modal-panel, .auth-modal, .auth-login-card, .admin-console-modal, .admin-modal, .livery-preview-modal, .community-modal, .confirm-modal, .wiki-dialog) :is(input:not([type="checkbox"]):not([type="radio"]), textarea, select, .hs-ui-input, .auth-login-input, .admin-select) { color: #f5f5f5 !important; border-color: #3a3a3a !important; background: #202020 !important; background-image: none !important; color-scheme: dark; }
body.hs-camp-app :is(.hs-ui-modal-panel, .auth-modal, .auth-login-card, .admin-console-modal, .admin-modal, .livery-preview-modal, .community-modal, .confirm-modal, .wiki-dialog) :is(.hs-ui-button--primary, .btn-primary, .auth-submit-btn) { color: #171717 !important; border-color: #ff8533 !important; background: #ff8533 !important; }
body.hs-camp-app .auth-modal :is(.auth-login-tabs button, .auth-mode-btn, .auth-tab) { color: #e5e5e5 !important; border-color: #3a3a3a !important; background: #252525 !important; }
body.hs-camp-app .auth-modal :is(.auth-login-tabs button.is-active, .auth-mode-btn.is-active, .auth-tab.is-active) { color: #171717 !important; border-color: #ff8533 !important; background: #ff8533 !important; }

@media (max-width: 780px) {
  body.hs-camp-app .wiki-scroll-area,
  body.hs-camp-app .wiki-scroll-area--standalone,
  body.hs-camp-app .wiki-scroll-area--feedback { padding: 12px 12px 26px !important; }
  body.hs-camp-app .wiki-view-stage,
  body.hs-camp-app .wiki-content-shell,
  body.hs-camp-app .wiki-content-shell--roster { max-width: 1280px !important; }
  body.hs-camp-app .wiki-topbar { padding-inline: 12px !important; }
  body.hs-camp-app .community-page-v3 { padding: 8px !important; }
}

/* Shared wrapper is sticky in both entry points. */
.hs-site-shell-host, #site-header { position: sticky; top: 0; z-index: 600; }

/* Neutral component surfaces whose styles are scoped or loaded on demand. */
body.hs-camp-app :is(.community-toolbar-v3__search, .community-sort-smart-select__display, .community-car-smart-select__display, .hs-ui-smart-select__control, .hs-ui-smart-select__menu, .hs-ui-smart-select__display, .community-filter-car-dropdown, .community-car-menu, .community-sort-menu, .community-mobile-tag-drawer, .community-mobile-highlight, .community-mobile-featured, .community-mobile-insights, .community-home-continue, .community-detail-return, .community-search-row, .community-toolbar-v3__tabs, .community-feed-tool, .community-toolbar-toggle, .community-filter-reset, .community-tag-picker,
 .garage-toolbar__pill, .roster-toolbar__toggle, .roster-toolbar__count, .hs-ui-chip:not(.hs-ui-chip--rank), .plate-chip, .plate-pill:not([class*="is-"]),
 .upload-section, .upload-cover-card, .upload-code-block, .upload-gallery-slot, .upload-gallery-slot__picker, .upload-cover-area-lite, .upload-media-grid--images, .upload-preview, .upload-gallery-slot__empty,
 .profile-hero, .profile-hero-card, .profile-surface, .profile-edit-card, .profile-edit-panel, .profile-info-panel, .profile-identity-panel, .profile-main-card, .profile-side-card,
 .inbox-shell, .inbox-sidebar, .inbox-panel__header, .interaction-card, .reference-box, .system-toolbar, .system-card, .dm-sidebar, .dm-search, .dm-search-box, .dm-item, .dm-chat-area, .chat-header, .chat-history, .chat-input-area, .msg-bubble, .empty-box,
 .plate-search, .plate-notice, .plate-modal__head, .plate-detail__info, .plate-box, .plate-upload, .plate-detail__preview:not([class*="is-"]),
 .admin-home-wysiwyg__inspector, .admin-home-wysiwyg__canvas, .admin-home-wysiwyg__canvas-inner, .admin-home-panel, .admin-home-section, .admin-home-form, .admin-home-block,
 .admin-section, .admin-toolbar, .admin-summary, .admin-list, .admin-item, .admin-table, .admin-console-layout, .admin-side-nav, .admin-main-panel,
 .modal-body, .modal-content, .modal-footer, .auth-login-body, .auth-login-tabs, .auth-captcha-question, .livery-preview-info, .preview-side-panel, .preview-detail-panel, .preview-comment-panel, .preview-comments,
 .feedback-shell, .feedback-layout, .feedback-sidebar, .feedback-main, .feedback-composer, .feedback-post-card, .feedback-detail, .feedback-thread, .feedback-empty) {
  color: #e8e8e8 !important; border-color: #333 !important; background: #202020 !important; box-shadow: none !important;
}
body.hs-camp-app :is(.community-section-more, .community-section-more-group, .community-toolbar-v3__tab, .community-sort-smart-select__display, .community-car-smart-select__display, .community-filter-reset, .community-toolbar-toggle, .community-section-head h3, .community-side-panel__head h3, .community-empty, .community-side-empty, .community-feed-empty, .hs-ui-smart-select__option, .hs-ui-smart-select__display, .hs-ui-smart-select__control, .roster-toolbar__rail-label, .roster-toolbar__search-icon, .garage-toolbar__pill, .hs-ui-chip:not(.hs-ui-chip--rank), .plate-chip, .plate-summary, .plate-card__body, .plate-box h4, .plate-box p,
 .profile-page h3, .profile-page h4, .profile-page label, .profile-page .form-group, .profile-page .form-label, .profile-page .profile-section-title,
 .inbox-panel__title, .inbox-sidebar .nav-title, .inbox-sidebar .nav-item, .card-main, .card-meta, .action-text, .reply-content, .reference-box, .system-title, .system-desc, .dm-item-name, .dm-item-preview, .dm-peer-btn, .chat-head-tag, .chat-send-hint, .empty-box,
 .admin-workspace-route__mobile-meta, .admin-workspace-route__back, .admin-workspace-route__tab, .admin-section-title, .admin-table th, .admin-table td, .admin-label,
 .upload-section__head strong, .upload-section__head small, .upload-cover-card__title, .upload-code-block small, .upload-cover-area-lite__placeholder, .upload-gallery-slot__empty,
 .feedback-title, .feedback-subtitle, .feedback-post-title, .feedback-post-meta, .feedback-field-label, .feedback-empty, .feedback-thread-title) { color: #bcbcbc !important; text-shadow: none !important; }
body.hs-camp-app :is(.hs-ui-chip.is-active:not(.hs-ui-chip--rank), .plate-chip.is-active, .community-toolbar-v3__tab.is-active, .community-feed-tool--surprise, .admin-workspace-route__tab.is-active) { color: #171717 !important; border-color: #ff8533 !important; background: #ff8533 !important; }
body.hs-camp-app :is(.hs-ui-modal-overlay, .auth-modal-overlay, .modal-overlay) { z-index: 1500 !important; background: rgba(0,0,0,.72) !important; backdrop-filter: blur(9px) !important; }
body.hs-camp-app :is(.auth-login-head h2, .auth-login-card .btn-primary, .auth-login-card .btn-primary span, .modal-head h2, .modal-head h3, .hs-ui-modal-panel .btn-primary, .hs-ui-modal-panel .btn-primary span) { font-family: "Nunito Sans", ui-sans-serif, system-ui, sans-serif !important; font-style: normal !important; text-shadow: none !important; }
body.hs-camp-app .auth-login-head h2 { font-size: 22px !important; }
body.hs-camp-app .auth-login-card .btn-primary, body.hs-camp-app .auth-login-card .btn-primary span { color: #171717 !important; font-size: 16px !important; }
body.hs-camp-app :is(.hs-ui-modal-panel, .auth-login-card) { border-radius: 12px !important; }

/* Car images and rank indicators retain their colors while neutral card chrome matches HS. */
body.hs-camp-app .car-card__shell { border: 1px solid #2a2a2a !important; border-radius: 10px !important; background: #1a1a1a !important; box-shadow: none !important; overflow: hidden; }
body.hs-camp-app .car-card:hover .car-card__shell { transform: translateY(-2px) !important; border-color: #484848 !important; box-shadow: 0 10px 24px rgba(0,0,0,.3) !important; }
body.hs-camp-app :is(.car-card__info, .car-card__mediaZone) { border-radius: 0 !important; background: #1a1a1a !important; clip-path: none !important; }
body.hs-camp-app :is(.car-card__bg-stripes, .car-card__tape, .car-card__watermark, .car-card__info::before) { display: none !important; }
body.hs-camp-app .car-card__info :is(h2,h3,.car-card__title,.car-card__name) { font-family: "Nunito Sans", ui-sans-serif, system-ui, sans-serif !important; font-style: normal !important; text-shadow: none !important; }
body.hs-camp-app .community-page-v3.hs-ui-surface { background: #121212 !important; box-shadow: none !important; border: 0 !important; padding: 0 !important; }
body.hs-camp-app .garage-page-shell.hs-ui-surface { border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; }
body.hs-camp-app :is(.garage-toolbar, .roster-toolbar, .community-toolbar-shell--v3, .community-side-panel, .community-hero-card) { border-radius: 10px !important; box-shadow: none !important; }

/* Use a restrained loading state in the merged site; keep the standalone camp animation. */
body.hs-camp-app .hs-boot { color: #f5f5f5 !important; background: #121212 !important; }
body.hs-camp-app :is(.hs-boot__watermark, .hs-boot__stripe-wrap, .hs-boot__decor, .hs-boot__debris-layer, .hs-boot__dots, .hs-boot__loading-foot) { display: none !important; }
body.hs-camp-app .hs-boot__main { transform: none !important; }
body.hs-camp-app .hs-boot__title-group { transform: none !important; }
body.hs-camp-app .hs-boot__title { font-family: "Nunito Sans", ui-sans-serif, system-ui, sans-serif !important; font-size: clamp(28px, 5vw, 48px) !important; font-style: normal !important; color: #f5f5f5 !important; text-shadow: none !important; animation: none !important; }
body.hs-camp-app .hs-boot__title::before, body.hs-camp-app .hs-boot__title::after { display: none !important; }
body.hs-camp-app .hs-boot__sub { color: #ff8533 !important; background: transparent !important; font-family: "Nunito Sans", ui-sans-serif, system-ui, sans-serif !important; font-style: normal !important; }
body.hs-camp-app .hs-boot__progress-wrap { width: min(420px, 80vw) !important; left: 50% !important; bottom: 25% !important; transform: translateX(-50%) !important; }
body.hs-camp-app .hs-boot__loading-info { color: #a3a3a3 !important; font-family: "Nunito Sans", ui-sans-serif, system-ui, sans-serif !important; font-size: 12px !important; font-style: normal !important; transform: none !important; }
body.hs-camp-app .hs-boot__rail { border: 0 !important; height: 5px !important; background: #2a2a2a !important; }
body.hs-camp-app .hs-boot__fill { background: #ff8533 !important; }
body.hs-camp-app .feedback-standalone-app { padding: 0 !important; }
body.hs-camp-app .feedback-standalone-app > :not(.hs-site-shell-host):not(.hs-boot) { max-width: 1280px; width: 100%; margin-inline: auto; }

body.hs-camp-app .wiki-topbar__right { gap: 8px !important; }
body.hs-camp-app .wiki-mobile-login-btn,
body.hs-camp-app .wiki-topbar-auth > .hs-ui-button--primary { display: none !important; }
body.hs-camp-app .car-card__info::after { background: none !important; }
body.hs-camp-app .car-card__info { background-image: none !important; }
body.hs-camp-app .hs-ui-chip--rank:not(.is-active) { color: #bcbcbc !important; background: #252525 !important; border-color: #3a3a3a !important; }
body.hs-camp-app .hs-ui-chip--rank.is-active { color: #171717 !important; background: #ff8533 !important; border-color: #ff8533 !important; }
body.hs-camp-app :is(.community-toolbar-v3__collapse, .community-toolbar-v3__reset, .community-toolbar-toggle-btn, .community-filter-reset-btn, .community-filter-toggle, .community-reset-btn, .modern-tag--ghost, .social-page__stat) { color: #bcbcbc !important; border-color: #3a3a3a !important; background: #252525 !important; }
body.hs-camp-app .social-page__stat.is-active { color: #171717 !important; border-color: #ff8533 !important; background: #ff8533 !important; box-shadow: none !important; }
body.hs-camp-app .user-avatar-badge { background: #252525 !important; box-shadow: none !important; }
body.hs-camp-app .inbox-page { --bg-body: #121212; --bg-card: #1a1a1a; --bg-hover: #252525; --bg-quote: #202020; --brand: #ff8533; --brand-light: #332419; --brand-hover: #ff9955; --text-main: #f5f5f5; --text-regular: #bcbcbc; --text-muted: #888; --line-light: #2a2a2a; --line-regular: #3a3a3a; }
body.hs-camp-app .profile-page { --profile-border: #333; --profile-text: #f5f5f5; --profile-sub: #a3a3a3; --profile-card-bg: #1a1a1a; --profile-shadow: 0 10px 24px rgba(0,0,0,.2); }
body.hs-camp-app .lp-page { --bg-card: #1a1a1a; --text-main: #f5f5f5; --text-regular: #bcbcbc; --text-sub: #a3a3a3; --border-light: #333; --primary: #ff8533; --primary-hover: #ff9955; }
body.hs-camp-app :is(.profile-overview, .profile-core-info, .profile-stat-block, .profile-title-showcase, .profile-title-showcase__card, .profile-editor-modal, .profile-editor-modal__head, .profile-editor-modal__body, .profile-editor-section, .profile-editor-avatar-panel, .profile-editor-banner-cropper,
 .lp-page, .content-section, .detail-card, .author-banner, .comment-section, .comment-card, .comment-input, .showcase-empty, .thumb-strip-shell,
 .manage-section, .manage-detail-panel, .review-detail-panel, .review-index-card, .manage-toolbar, .upload-lite-head, .upload-lite-body, .upload-section, .upload-basic-grid, .upload-submit-row, .preview-modal__body, .preview-author-profile, .preview-author-info, .preview-author-stats, .report-contact-row, .profile-editor-modal__body) { color: #f5f5f5 !important; border-color: #333 !important; background-color: #1a1a1a !important; background-image: none !important; box-shadow: none !important; }
body.hs-camp-app :is(.profile-editor-modal, .preview-modal, .report-modal, .upload-modal, .manage-modal) { color: #f5f5f5 !important; border-color: #333 !important; background: #1a1a1a !important; }
body.hs-camp-app :is(.upload-lite-head__btn, .quick-action, .lp-head-btn, .lp-back-btn, .comment-action, .preview-stat-link, .profile-inline-edit__toggle) { color: #e5e5e5 !important; border-color: #3a3a3a !important; background: #252525 !important; box-shadow: none !important; }
body.hs-camp-app :is(.upload-lite-head__submit, .quick-action--primary) { color: #171717 !important; border-color: #ff8533 !important; background: #ff8533 !important; box-shadow: none !important; }
body.hs-camp-app :is(.profile-name-row h4, .profile-editor-modal__head h3, .profile-editor-section label, .post-title, .preview-head-block h2, .manage-section__head h3, .upload-lite-head h2, .upload-lite-head h3) { color: #f5f5f5 !important; font-family: "Nunito Sans", ui-sans-serif, system-ui, sans-serif !important; font-style: normal !important; text-shadow: none !important; }
body.hs-camp-app :is(.profile-user-meta, .profile-stat-block small, .profile-title-signature, .profile-title-showcase__head small, .profile-title-showcase__empty, .post-stats, .author-description, .comment-meta, .review-detail-meta, .review-scope-meta) { color: #a3a3a3 !important; }
/* Feedback uses Tailwind utilities, including its inline editor and admin views. */
body.hs-camp-app .feedback-page { height: calc(100dvh - 56px) !important; min-height: 650px !important; color: #f5f5f5 !important; background: #121212 !important; }
body.hs-camp-app .feedback-page :is(.bg-white, .bg-slate-50, .bg-slate-100, .bg-slate-200, .bg-gray-50, .bg-gray-100) { background-color: #1a1a1a !important; background-image: none !important; }
body.hs-camp-app .feedback-page :is(.text-slate-900, .text-slate-800, .text-slate-700, .text-gray-900, .text-gray-800) { color: #f5f5f5 !important; }
body.hs-camp-app .feedback-page :is(.text-slate-600, .text-slate-500, .text-slate-400, .text-gray-600, .text-gray-500) { color: #a3a3a3 !important; }
body.hs-camp-app .feedback-page :is(.border-slate-100, .border-slate-200, .border-slate-300, .border-gray-200) { border-color: #333 !important; }
body.hs-camp-app .feedback-page :is(button.bg-indigo-600, button.bg-blue-600, button.bg-sky-600) { color: #171717 !important; background: #ff8533 !important; }
body.hs-camp-app .feedback-page :is(.toastui-editor-defaultUI, .toastui-editor-toolbar, .toastui-editor-main, .toastui-editor-md-container, .toastui-editor-ww-container, .toastui-editor-md-tab-container) { color: #f5f5f5 !important; border-color: #333 !important; background: #202020 !important; }

@media (max-width: 780px) {
  body.hs-camp-app .hs-ui-modal-overlay:has(.auth-login-card) { padding: 12px !important; align-items: center !important; }
  body.hs-camp-app .auth-login-card.hs-ui-modal-panel { width: min(100%, 420px) !important; height: auto !important; min-height: 0 !important; max-height: calc(100dvh - 24px) !important; flex: 0 1 auto !important; }
  body.hs-camp-app .auth-login-card .modal-body { height: auto !important; min-height: 0 !important; flex: 0 1 auto !important; overflow-y: auto !important; }
}

@media (prefers-reduced-motion: reduce) {
  .hs-shell-link, .hs-shell-language, .hs-shell-login { transition: none; }
}
