/* MOBRIFT 0.30.9 — Noir harbour. Only the eighth, admin-selected skin. */
html[data-mobrift-theme="noir"], html[data-mobrift-theme="noir"] .renewal {
  color-scheme: dark;
  --ink: #f2e6cf; --paper: #191919; --line: #494238; --muted: #bcb4a6;
  --green: #ad2b1c; --gold: #d2b382; --soft: #24211e;
  --panel: #191919; --text: #f2e6cf;
  --noir-title: Oswald, "Arial Narrow", Arial, sans-serif;
  --noir-red: #ad2b1c; --noir-hover: #c23a27;
  background: #0d0e0e;
}
html[data-mobrift-theme="noir"] body { background: #0d0e0e; color: var(--ink); }
html[data-mobrift-theme="noir"] body::before {
  background: url('/assets/noir-harbour039.webp') center top / cover no-repeat;
  opacity: .18; filter: none;
}
html[data-mobrift-theme="noir"] body > header {
  min-height: 208px; padding: 28px max(28px, calc((100vw - 1288px)/2));
  background: linear-gradient(90deg,#08090940,#08090908 55%,#08090970),
    url('/assets/noir-harbour039.webp') center 12% / cover no-repeat;
  border-bottom: 2px solid #8c2d20; gap: 24px;
  box-shadow: 0 12px 32px #0005;
}
html[data-mobrift-theme="noir"] .brand {
  font: 600 clamp(42px,5.5vw,76px)/1.05 var(--noir-title);
  letter-spacing: .025em; color: #fae9c7; text-shadow: 0 2px 18px #000;
}
html[data-mobrift-theme="noir"] .brand span {
  font: 600 10px/1.5 Arial,sans-serif; letter-spacing: .24em;
  color: #d2c2a7; margin-top: 12px;
}
html[data-mobrift-theme="noir"] .language-picker { color: #e7d8c0; font-size: 11px; text-shadow: 0 1px 4px #000; }
html[data-mobrift-theme="noir"] #identity {
  background: #0c0d0de8; padding: 10px 14px; border: 1px solid var(--line);
  color: var(--ink); border-radius: 2px;
}
html[data-mobrift-theme="noir"] #game { margin-top: 26px; }
html[data-mobrift-theme="noir"] #content {
  background: #181919f5; border: 1px solid #494238; border-top: 2px solid #8c2d20;
  border-radius: 3px; box-shadow: 0 10px 32px #0004;
}
html[data-mobrift-theme="noir"] :is(h1,h2,h3) { color: var(--ink); }
html[data-mobrift-theme="noir"] :is(#content > h2,.page-title,.location-hero019 h2,.venue-hero h2,.profile-heading021 h2) {
  font-family: var(--noir-title); font-weight: 500; font-size: 28px;
  text-transform: uppercase; letter-spacing: .035em;
}
html[data-mobrift-theme="noir"] :is(.overview-dashboard h1,.auth h1) {
  font-family: var(--noir-title); font-weight: 600; text-transform: uppercase; letter-spacing: .02em;
}
html[data-mobrift-theme="noir"] .overview-dashboard h1 { font-size: 42px; }
html[data-mobrift-theme="noir"] :is(.overview-dashboard .section-title h2,.crime-title h3,.service-card h3,.food-card h3,.profile-top strong) {
  font-family: var(--noir-title); font-weight: 500; letter-spacing: .02em;
}
html[data-mobrift-theme="noir"] :is(nav .navgroup,#statusbar,#main-navigation,#social-navigation,#social-navigation .navgroup) {
  background: #141515; border-color: var(--line); border-radius: 3px;
}
html[data-mobrift-theme="noir"] :is(.menu-heading,.navgroup summary,#social-navigation > section.navgroup > h2) {
  background: #201b17; color: #dfc39a; border-color: var(--line);
  font: 500 14px/1.4 var(--noir-title); text-transform: uppercase; letter-spacing: .06em;
}
html[data-mobrift-theme="noir"] nav button { background: transparent; color: #e1d8c8; border-color: #36332f; min-height: 39px; }
html[data-mobrift-theme="noir"] nav button:hover { background: #28211c; }
html[data-mobrift-theme="noir"] nav button.active { color: #fff1d6; background: #34201b; border-left-color: #d34d31; }
html[data-mobrift-theme="noir"] .monogram { background: #2c2119; border: 1px solid #67513b; color: #e9c99a; border-radius: 2px; }
html[data-mobrift-theme="noir"] .profile-top strong { font-size: 23px; }
html[data-mobrift-theme="noir"] :is(.profile-top small,.character-info dt,.pagehead p,.muted,.overview-stat small,.overview-equipment small,.metric small,.overview-dashboard .subtle,.overview-explanation p,.overview-explanation summary,.overview-dashboard .section-title > span,.halver-status,.business-state,.gang-event small,.gang-summary span,.role-card > small,.shop-owned small,.crime-title small,.crime-facts dt,.crime-equipment,.garage-compact summary small,.yard-car-body027 small,.yard-car-body027 p,.profile-facts021 dt,.showcase-card021 > small,.police-plans022 small,.union-summary024 dt,.union-till024 small,.analytics-panel025 small) { color: var(--muted); }
html[data-mobrift-theme="noir"] :is(.eyebrow,.overview-dashboard .eyebrow,.rank-badge,.payout-amount,.item-points,.profile-avatar,.renewal summary) { color: #dfc39a; }
html[data-mobrift-theme="noir"] .rank-badge { background: #2b2119; border: 1px solid #755a3b; border-radius: 2px; }
html[data-mobrift-theme="noir"] .dot { background: #a9c18b; }
html[data-mobrift-theme="noir"] a:not(.brand) { color: #e0c398; }
html[data-mobrift-theme="noir"] button {
  border: 1px solid #716354; background: #29231e; color: #f4e9d4;
  border-radius: 3px; min-height: 40px;
}
html[data-mobrift-theme="noir"] button:hover:not(:disabled) { background: #3b2e23; border-color: #a88b66; }
html[data-mobrift-theme="noir"] :is(button.primary,.gang-workbar button,.seo-join026) {
  background: var(--noir-red); border-color: #d24c34; color: #fff1d7;
}
html[data-mobrift-theme="noir"] :is(button.primary,.gang-workbar button,.seo-join026):hover:not(:disabled) {
  background: var(--noir-hover); border-color: #e36b4c;
}
html[data-mobrift-theme="noir"] button:disabled { opacity: .5; cursor: not-allowed; }
html[data-mobrift-theme="noir"] :is(input,select,textarea,.renewal input,.renewal select,.renewal textarea) {
  background: #0e1010; color: var(--ink); border-color: #7c7060; border-radius: 3px;
}
html[data-mobrift-theme="noir"] :is(input,textarea)::placeholder { color: #b0a797; }
html[data-mobrift-theme="noir"] :is(input[type=checkbox],input[type=radio]) { accent-color: #bf3a27; }
html[data-mobrift-theme="noir"] :is(button,a,input,select,textarea,summary):focus-visible { outline: 3px solid #efc58d; outline-offset: 3px; }
html[data-mobrift-theme="noir"] :is(.metric,.overview-stat,.overview-equipment,.overview-panel,.profile-hero,.profile-heading021,.portrait021,.picture-preview021,.showcase-card021,.showcase-art021,.market-feed div,.shop-owned,.food-card,.service-card,.role-card,.crew-card,.crime-target,.garage-car,.garage-compact,.yard-car027,.yard-image027,.territory027,.dealer-offer027,.union-summary024,.union-till024,.police-plans022 article,.police-active022,.analytics-panel025,.analytics-cards025 > div,.analytics-retention025 > div) {
  background: #20201f; border-color: var(--line); color: var(--ink); border-radius: 3px;
}
html[data-mobrift-theme="noir"] :is(.overview-stat,.metric) { font-variant-numeric: tabular-nums; }
html[data-mobrift-theme="noir"] .overview-stat strong { color: #f9e9c9; }
html[data-mobrift-theme="noir"] :is(.overview-picture,.art-button) { background: #101212; }
html[data-mobrift-theme="noir"] .portrait-empty021 { background: linear-gradient(145deg,#30281f,#111212); }
html[data-mobrift-theme="noir"] .portrait-empty021 span { color: #d1b384; }
html[data-mobrift-theme="noir"] :is(.gang-workbar,.note,.renewal .subnav,.renewal .bank-extra,.renewal section.target,.renewal .gang-summary > span,.renewal .garage-controls,.renewal details:not(.garage-compact),.renewal .crime-target,.renewal .garage-compact,#invitation-banner,.renewal form[data-horizon-form="credits/list"],.vehicle-service019 #service-car-picker) {
  background: #25211c; border-color: var(--line); color: #e6d9c1;
}
html[data-mobrift-theme="noir"] :is(.note,.gang-workbar,#invitation-banner) { border-left-color: #b48951; }
html[data-mobrift-theme="noir"] :is(.profile-hero,.role-card,.business-numbers .metric) { border-color: #7a3b2d; }
html[data-mobrift-theme="noir"] :is(.gang-tabs,.gang-summary,.gang-event,.gang-history,.gang-business,.halver-status,.overview-wait,.overview-explanation,.garage-compact,.bounty-messages p,.profile-facts021 dt,.profile-facts021 dd,.union-switch024,.yard-summary027,.yard-pick027,.union-income027,.analytics-chart025) { border-color: var(--line); }
html[data-mobrift-theme="noir"] :is(.gang-tabs button,.tavern-tabs button) { background: #24201c; border-color: #6a5947; }
html[data-mobrift-theme="noir"] :is(.gang-tabs button.selected,.category-tabs .selected,.tavern-tabs button.selected,.crime-tabs .selected) { background: #49241d; border-color: #b64831; color: #fff1d7; }
html[data-mobrift-theme="noir"] .garage-compact summary:hover { background: #29251e; }
html[data-mobrift-theme="noir"] .renewal .sheet th { background: #30281f; color: #edcf9e; }
html[data-mobrift-theme="noir"] .renewal .sheet td { border-color: var(--line); }
html[data-mobrift-theme="noir"] .renewal .sheet tr:nth-child(even) { background: #20201f; }
html[data-mobrift-theme="noir"] :is(.location-hero019,.location-banner021,.venue-hero) { background: #101212; border-color: var(--line); border-radius: 3px; }
html[data-mobrift-theme="noir"] .location-hero019::after { background: linear-gradient(0deg,#080909ef,transparent 90%); }
html[data-mobrift-theme="noir"] :is(.venue-hero > div,.location-banner021 span) { background: linear-gradient(transparent,#080909f5); }
html[data-mobrift-theme="noir"] .location-hero019 p { color: #ecdfc9; }
html[data-mobrift-theme="noir"] :is(.tavern-panel,.chat-options[open]) { background: #191a19; border-color: var(--line); }
html[data-mobrift-theme="noir"] .tavern-panel > h3 { background: #231d18; }
html[data-mobrift-theme="noir"] .tavern-panel .chat-log { background: #111414; border-color: var(--line); }
html[data-mobrift-theme="noir"] .art-dialog { background: #181919; border-color: var(--line); }
html[data-mobrift-theme="noir"] .art-dialog::backdrop { background: #030404e8; }
html[data-mobrift-theme="noir"] :is(.beta-reset-notice,.password-warning019,.halver-warning,#halver-warning) { background: #30271a; color: #edd7ad; border-color: #8d7148; }
html[data-mobrift-theme="noir"] :is(.clear027,.vehicle-service019 #fuel-total,.yard-summary027 span) { color: #e5c99e; }
html[data-mobrift-theme="noir"] .clear027 { background: #30271c; border-color: #957a55; }
html[data-mobrift-theme="noir"] .analytics-visitors025 { fill: #d3b17b; }
html[data-mobrift-theme="noir"] .analytics-chart025 text { fill: #d9cfbd; }
html[data-mobrift-theme="noir"] .analytics-legend025 span:before { background: #d3b17b; }
/* Status colours retain their meaning; a red action button is not an error. */
html[data-mobrift-theme="noir"] #notice { background: #202b23; border: 1px solid #809b77; color: #e5efd9; }
html[data-mobrift-theme="noir"] #notice.error { background: #36201d; border-color: #d77f68; color: #ffccbc; }
html[data-mobrift-theme="noir"] .error { color: #ffb7a6; }
html[data-mobrift-theme="noir"] progress { accent-color: #d2b382; background: #38322a; }
html[data-mobrift-theme="noir"] progress::-webkit-progress-bar { background: #38322a; }
html[data-mobrift-theme="noir"] progress::-webkit-progress-value { background: #d2b382; }
html[data-mobrift-theme="noir"] progress::-moz-progress-bar { background: #d2b382; }
html[data-mobrift-theme="noir"] :is(.life-meter progress,progress.life) { accent-color: #9bb6be; }
html[data-mobrift-theme="noir"] :is(.life-meter progress,progress.life)::-webkit-progress-value { background: #9bb6be; }
html[data-mobrift-theme="noir"] :is(.life-meter progress,progress.life)::-moz-progress-bar { background: #9bb6be; }
html[data-mobrift-theme="noir"] :is(.notify-card033,.notify-panel033) { background: #1b1c1b; border-color: #9b805c; color: #f4e9d4; }
html[data-mobrift-theme="noir"] .notify-card033.urgent { background: #33201c; border-left-color: #e3664e; }
html[data-mobrift-theme="noir"] #notifications033 .notify-card033 button { background: #30271e; border-color: #9b805c; }
html[data-mobrift-theme="noir"] .notify-toggle033.unread { border-color: #d2b382 !important; }
html[data-mobrift-theme="noir"] .auth { max-width: 1160px; gap: 56px; margin: 55px auto; }
html[data-mobrift-theme="noir"] .auth h1 { font-size: clamp(48px,5.5vw,74px); line-height: 1.1; color: #fae9c7; margin: 18px 0 24px; }
html[data-mobrift-theme="noir"] .auth .eyebrow { color: #d9b482; letter-spacing: .16em; }
html[data-mobrift-theme="noir"] .auth .intro p { color: #e0d6c5; }
html[data-mobrift-theme="noir"] :is(#authform,#forgotform,#resetform) { background: #171918f5; border: 1px solid #65513b; border-top: 3px solid #b33825; border-radius: 3px; box-shadow: 0 12px 36px #0006; }
html[data-mobrift-theme="noir"] #authform h2 { font: 500 27px var(--noir-title); text-transform: uppercase; letter-spacing: .06em; }
html[data-mobrift-theme="noir"] .auth button.link { color: #e4c79c; background: transparent; border-color: transparent; text-align: left; }
html[data-mobrift-theme="noir"] .seo-about026 { background: #181919f5; border-color: var(--line); }
html[data-mobrift-theme="noir"] :is(.seo-lead026,.seo-features026 p,.seo-faq026 details p) { color: #ded4c2; }
html[data-mobrift-theme="noir"] :is(.seo-features026,.seo-bottom026,.seo-faq026 details,.seo-languages026) { border-color: var(--line); }
html[data-mobrift-theme="noir"] .theme-option028 { background: #1d1d1b; border-color: #756653; }
html[data-mobrift-theme="noir"] .theme-option028:has(input:checked) { border-color: #e2b780; background: #2b211a; }
html[data-mobrift-theme="noir"] ::selection { background: #85412c; color: #fff1d7; }
/* Preview is visible inside the selector in all eight skins. */
.preview-noir028 { background: #101111 url('/assets/noir-harbour039.webp') center / cover; }
.preview-noir028 > span { background: #ad2b1c; border-right: 4px solid #fae9c7; }
.preview-noir028 > i { background: #171918; }
@media (max-width:760px) {
  html[data-mobrift-theme="noir"] body > header { min-height: 142px; padding: 20px; gap: 16px; background-position: 65% 28%; }
  html[data-mobrift-theme="noir"] .brand { font-size: 46px; }
  html[data-mobrift-theme="noir"] .brand span { font-size: 8px; letter-spacing: .14em; }
  html[data-mobrift-theme="noir"] .language-picker { max-width: 130px; }
  html[data-mobrift-theme="noir"] #game { margin-top: 14px; }
  html[data-mobrift-theme="noir"] #content { padding: 18px; }
  html[data-mobrift-theme="noir"] #mobile-menu-toggle { background: #30221b; border-color: #8f6144; color: #f4e5c8; min-height: 44px; }
  html[data-mobrift-theme="noir"] .overview-dashboard h1 { font-size: 32px; }
  html[data-mobrift-theme="noir"] body::before { opacity: .1; }
  html[data-mobrift-theme="noir"] .auth { margin: 28px auto; gap: 26px; }
}
@media (prefers-reduced-motion:reduce) {
  html[data-mobrift-theme="noir"] * { scroll-behavior: auto; }
}
