/* HeistBench atmosphere layer — cosmetic only. No data, calculation or navigation styles are replaced. */
:root {
  --hb-gold: #e9a23b;
  --hb-gold-soft: #f5c877;
  --hb-night: #080a0e;
  --hb-edge: rgba(233, 162, 59, .20);
}

html { background: var(--hb-night); }
body {
  background:
    radial-gradient(ellipse at 78% 0%, rgba(135, 82, 35, .10), transparent 32rem),
    radial-gradient(ellipse at 8% 45%, rgba(39, 58, 70, .10), transparent 36rem),
    var(--hb-night);
}

/* The persistent desktop rail becomes a quiet field-guide panel. */
#root > .min-h-screen > .mx-auto > aside {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(11, 14, 18, .98), rgba(8, 10, 14, .96) 70%, rgba(8, 10, 14, .90)),
    url('/brand/topographic-contours.svg') right bottom / 320px auto no-repeat;
  border-right-color: rgba(233, 162, 59, .15);
}
#root > .min-h-screen > .mx-auto > aside > button:first-child {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  padding: 2px 2px 16px;
  border-bottom: 1px solid rgba(233, 162, 59, .18);
}
#root > .min-h-screen > .mx-auto > aside > button:first-child::before {
  content: "";
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(233, 162, 59, .32);
  border-radius: 9px;
  background: rgba(233, 162, 59, .06) url('/brand/heistbench-mark.svg') center / 29px 29px no-repeat;
  box-shadow: 0 0 24px rgba(233, 162, 59, .08);
}
#root > .min-h-screen > .mx-auto > aside > button:first-child > span:first-child {
  align-self: end;
  font-size: 12px;
  letter-spacing: .19em;
  color: #f1bd68;
}
#root > .min-h-screen > .mx-auto > aside > button:first-child > span:last-child {
  align-self: start;
  letter-spacing: .05em;
}
#root > .min-h-screen > .mx-auto > aside nav button[aria-current="page"] {
  position: relative;
  color: #f8e8cb;
  background: linear-gradient(90deg, rgba(233, 162, 59, .15), rgba(233, 162, 59, .045));
  box-shadow: inset 2px 0 0 #e9a23b, inset 0 0 0 1px rgba(233, 162, 59, .12);
}
#root > .min-h-screen > .mx-auto > aside nav button[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #f5c877;
  box-shadow: 0 0 9px rgba(245, 200, 119, .65);
}
#root > .min-h-screen > .mx-auto > aside nav p {
  color: #9c896e;
}
#root > .min-h-screen > .mx-auto > aside > div:last-child {
  border-color: rgba(233, 162, 59, .18);
  background: linear-gradient(145deg, rgba(233, 162, 59, .075), rgba(15, 18, 23, .90));
}

/* The top control bar reads like a compact in-game utility rail. */
#root > .min-h-screen > .mx-auto > div > header.sticky {
  border-bottom-color: rgba(233, 162, 59, .18);
  background: rgba(8, 10, 14, .94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
}
#root > .min-h-screen > .mx-auto > div > header.sticky::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(233, 162, 59, .42), transparent);
}

/* Home feature panel: the existing title and existing controls sit over a short cinematic image band. */
.hb-home-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(233, 162, 59, .23) !important;
  background-color: #0f1216;
  background-image:
    linear-gradient(90deg, rgba(10, 12, 16, .96) 0%, rgba(10, 12, 16, .87) 36%, rgba(10, 12, 16, .43) 72%, rgba(10, 12, 16, .66) 100%),
    linear-gradient(180deg, rgba(10, 12, 16, .04) 0%, rgba(15, 18, 22, .22) 58%, #0f1216 100%),
    url('/brand/leonida-panorama-20261124.webp');
  background-repeat: no-repeat;
  background-position: center top, center top, center 62%;
  background-size: 100% 218px, 100% 218px, cover;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .20), 0 0 34px rgba(150, 93, 41, .055);
}
.hb-home-intro::before {
  content: "LEONIDA  /  VICE CITY  /  THE KEYS";
  position: absolute;
  z-index: 0;
  top: 13px;
  right: 16px;
  color: rgba(255, 225, 180, .76);
  font: 700 8px/1.2 var(--font-mono);
  letter-spacing: .20em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .7);
  pointer-events: none;
}
.hb-home-intro::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 42%;
  height: 218px;
  pointer-events: none;
  opacity: .22;
  background: url('/brand/topographic-contours.svg') right center / 440px auto no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 45%);
}
.hb-home-intro > div { position: relative; z-index: 1; }
.hb-home-intro h1 {
  color: #fff7e9;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .62);
}
.hb-home-intro .text-brass { color: #f5bd66; }

/* Section mastheads use the same world image at low contrast plus a subtle map contour. */
.hb-page-heading {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 112px;
  margin-bottom: 18px;
  padding: 17px 20px 19px;
  border: 1px solid rgba(233, 162, 59, .17);
  border-radius: 13px;
  background-color: #11151a;
  background-image:
    linear-gradient(90deg, rgba(13, 16, 21, .98) 0%, rgba(13, 16, 21, .94) 53%, rgba(13, 16, 21, .70) 100%),
    url('/brand/leonida-panorama-20261124.webp');
  background-position: center, 76% 49%;
  background-size: cover, cover;
  box-shadow: 0 9px 28px rgba(0, 0, 0, .13);
}
.hb-page-heading::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 54%;
  opacity: .20;
  background: url('/brand/topographic-contours.svg') right center / 450px auto no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 50%);
  pointer-events: none;
}
.hb-page-heading::after {
  content: attr(data-field-stamp);
  position: absolute;
  top: 17px;
  right: 18px;
  color: rgba(245, 200, 119, .78);
  font: 700 8px/1.3 var(--font-mono);
  letter-spacing: .18em;
  text-align: right;
  text-shadow: 0 1px 10px #000;
  pointer-events: none;
}
.hb-page-heading > div { position: relative; z-index: 1; max-width: min(100%, 880px); }
.hb-page-heading .text-\[10px\] {
  color: #efb45e;
  letter-spacing: .22em;
}
.hb-page-heading h1 {
  color: #fff7e9;
  font-size: clamp(21px, 2.1vw, 27px);
  line-height: 1.2;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}
.hb-page-heading p { max-width: 740px; }

/* Keep the actual tool panels quiet; add depth rather than ornament. */
.panel {
  border-color: rgba(105, 116, 130, .23);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .105);
}
.panel:hover { border-color: rgba(135, 145, 158, .30); }
.panel-raised {
  background: linear-gradient(155deg, rgba(26, 30, 37, .98), rgba(17, 20, 26, .98));
}
.panel-title { color: #a99b86; }
.btn-primary { box-shadow: 0 2px 12px rgba(233, 162, 59, .16); }
.chip:hover { border-color: rgba(233, 162, 59, .38); }

/* The existing mobile dock receives a slim active indicator, with no added items. */
#root nav[aria-label="Modules"].fixed button[aria-current="page"] {
  position: relative;
  color: #f5c877;
  text-shadow: 0 0 10px rgba(233, 162, 59, .18);
}
#root nav[aria-label="Modules"].fixed button[aria-current="page"] > span:first-child {
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e9a23b, transparent);
  box-shadow: 0 0 8px rgba(233, 162, 59, .38);
}

/* Command palette and quick views inherit the same finish. */
.hb-command {
  border-color: rgba(233, 162, 59, .28);
  box-shadow: 0 26px 100px rgba(0, 0, 0, .62), 0 0 32px rgba(233, 162, 59, .055);
}
.hb-command__meta { color: #b99a6c; }
.hb-quick-filters { border-top-color: rgba(233, 162, 59, .18); }
.hb-quick-filters__eyebrow { color: #b99a6c; }

@media (max-width: 1023px) {
  .hb-home-intro { background-size: 100% 190px, 100% 190px, cover; }
  .hb-home-intro::before { top: 10px; right: 12px; font-size: 7px; }
}
@media (max-width: 640px) {
  .hb-home-intro {
    background-image:
      linear-gradient(90deg, rgba(10, 12, 16, .94), rgba(10, 12, 16, .72)),
      linear-gradient(180deg, rgba(10, 12, 16, .03), #0f1216 100%),
      url('/brand/leonida-panorama-20261124.webp');
    background-size: 100% 170px, 100% 170px, cover;
  }
  .hb-home-intro::before { top: 10px; right: 11px; max-width: 55%; font-size: 6px; text-align: right; }
  .hb-home-intro::after { width: 65%; height: 170px; }
  .hb-page-heading {
    min-height: 100px;
    margin-bottom: 15px;
    padding: 15px 14px 16px;
    background-position: center, 72% 50%;
  }
  .hb-page-heading::after { display: none; }
  .hb-page-heading > div { max-width: 100%; }
  .hb-page-heading h1 { max-width: 100%; padding-right: 2px; font-size: 21px; }
  .hb-page-heading p { max-width: 100%; }
  #root > .min-h-screen > .mx-auto > div > header.sticky {
    background: rgba(8, 10, 14, .97);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hb-home-intro, .hb-page-heading, .panel { scroll-behavior: auto; }
}


/* Final craft pass: preserve the data layout while removing default-state dead space. */
.hb-home-intro { background-position: center top, center top, center 62%; }
.hb-home-intro::before { letter-spacing: .16em; color: rgba(255, 232, 198, .82); }
.hb-page-heading::after { max-width: 46%; letter-spacing: .14em; color: rgba(245, 200, 119, .70); }
.hb-next-move-grid { align-items: start; }
.hb-next-move-grid > .hb-next-move-panel { align-self: start; }
.hb-next-move-panel [hidden] { display: none !important; }
@media (max-width: 640px) {
  .hb-home-intro { background-position: center top, center top, center 60%; }
}
