/* Site header and footer for the SPECTRAL page (v1.12-D). The game keeps its own stylesheet; site.css is not loaded here, so these are the site's header and footer rules, renamed with cb- and scoped to .cb-chrome so they cannot touch the game. Generated from assets/site.css; regenerate if the header or footer changes there. */
.cb-chrome {
  --unlv-scarlet: #B10202; --unlv-scarlet-hover: #8E0202; --unlv-gray: #666666;   /* UNLV screen standards [S4] */

  /* dark set */
  --d-bg: #06080B; --d-bg-2: #0A0D12; --d-surface: rgba(255,255,255,0.035); --d-surface-2: rgba(255,255,255,0.06);
  --d-line: rgba(255,255,255,0.10); --d-line-strong: rgba(255,255,255,0.22);
  --d-text: #F4F5F7; --d-text-muted: #A4ABB5; --d-text-faint: #7D8591;
  /* light set */
  --l-bg: #F5F4F0; --l-card: #FFFFFF; --l-surface: #EEECE6; --l-line: #E2DFD7; --l-line-strong: #CFCBC0;
  --l-text: #141518; --l-text-muted: #595E67; --l-text-faint: #676C75;
  /* fluorescence pseudo-colors: imagery, renders and plots only */
  --ch-405: #5B8CFF; --ch-488: #3DE88A; --ch-561: #FF8A3D; --ch-640: #FF3DD8;
  /* manufacturer colors, used only for the three platform cards: ZEISS Indigo from brand.zeiss.com; Nikon yellow and Leica red from secondary sources [VERIFY] */
  --brand-nikon: #FFDE00; --brand-zeiss: #0F2DB3; --brand-leica: #E2001A;
  /* review markers */
  --verify-bg: #F5C84B; --verify-text: #1A1400; --vendor-bg: #9CC5FF; --vendor-text: #0B2A4A;

  --font-display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-text: "Geist", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --step--1: 0.9rem; --step-0: 1.0625rem; --step-1: 1.25rem; --step-2: 1.6rem; --step-3: 2.1rem; --step-4: 2.9rem;
  --display-hero: clamp(3.2rem, 5.3vw, 5.6rem); --display-section: clamp(2.3rem, 3.8vw, 3.6rem); --display-sub: clamp(1.7rem, 2.4vw, 2.3rem);
  --measure: 62ch;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 136px;
  --page-max: 1320px; --gutter: 40px;
  --r-s: 8px; --r-m: 14px; --r-l: 22px; --r-pill: 999px;
  --shadow-card: 0 1px 2px rgba(20,21,24,0.04), 0 8px 24px -12px rgba(20,21,24,0.14);
  --shadow-card-hover: 0 1px 2px rgba(20,21,24,0.05), 0 18px 40px -18px rgba(20,21,24,0.22);
  --ease: cubic-bezier(.2,.7,.2,1);
}
.cb-chrome, .cb-chrome * { box-sizing: border-box; }
.cb-chrome { font-family: var(--font-text); font-size: var(--step-0); line-height: 1.6; color: var(--d-text); -webkit-font-smoothing: antialiased; text-align: left; }
.cb-chrome .cb-dark { background: var(--d-bg); color: var(--d-text); }
.cb-chrome h2, .cb-chrome h3 { margin: 0; font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; }
.cb-chrome h2 { font-family: var(--font-display); }
.cb-chrome p { margin: 0; } .cb-chrome a { text-underline-offset: 0.2em; }
.cb-chrome .cb-header { background: rgba(6,8,11,0.92); }
.cb-chrome .cb-header { position: sticky; top: 0; z-index: 50; background: rgba(6,8,11,0.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--d-line); }
.cb-chrome .cb-header .cb-wrap { display: flex; align-items: center; gap: var(--s-6); min-height: 76px; }
.cb-chrome .cb-brand { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; }
.cb-chrome .cb-unlv { display: block; line-height: 0; padding: 2px 0; text-decoration: none; }
.cb-chrome .cb-unlv img { display: block; height: 26px; width: auto; }
.cb-chrome .cb-unlv:hover img { opacity: 0.85; }
.cb-chrome .cb-sig { color: var(--d-text); text-decoration: none; font-family: var(--font-display); font-size: 1.35rem; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.cb-chrome .cb-sig:hover { color: #fff; }
.cb-chrome .cb-nav { margin-left: auto; }
.cb-chrome .cb-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s-2); }
.cb-chrome .cb-nav a { color: var(--d-text-muted); text-decoration: none; font-weight: 500; font-size: var(--step--1); padding: var(--s-2) var(--s-3); border-radius: var(--r-pill); transition: color .2s, background .2s; white-space: nowrap; }
.cb-chrome .cb-nav a:hover { color: var(--d-text); background: rgba(255,255,255,0.06); }
.cb-chrome .cb-nav a[aria-current] { color: var(--d-text); background: rgba(255,255,255,0.08); }
.cb-chrome .cb-header .cb-btn { min-height: 42px; padding: 0 var(--s-5); font-size: var(--step--1); }
.cb-chrome .cb-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 48px; padding: 0 var(--s-5); font-family: var(--font-text); font-size: var(--step-0); font-weight: 600; border-radius: var(--r-pill); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform .25s var(--ease), background .2s, border-color .2s, box-shadow .25s var(--ease); white-space: nowrap; }
.cb-chrome .cb-btn:hover { transform: translateY(-1px); }
.cb-chrome .cb-btn-primary { background: var(--unlv-scarlet); color: #fff; box-shadow: 0 8px 24px -10px rgba(177,2,2,0.6); }
.cb-chrome .cb-btn-primary:hover { background: var(--unlv-scarlet-hover); }
.cb-chrome .cb-footer { padding: var(--s-9) 0 var(--s-7); border-top: 1px solid var(--d-line); position: relative; overflow: hidden; }
.cb-chrome .cb-footer::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 50%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(177,2,2,0.18), transparent 65%); pointer-events: none; }
.cb-chrome .cb-footer .cb-cols { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 2.5fr) minmax(0, 2fr); gap: var(--s-6); position: relative; }
.cb-chrome .cb-footer h2 { font-size: 2rem; max-width: 14ch; }
.cb-chrome .cb-footer h3 { font-family: var(--font-text); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--d-text-faint); margin-bottom: var(--s-4); }
.cb-chrome .cb-footer p, .cb-chrome .cb-footer li { color: var(--d-text-muted); font-size: var(--step--1); }
.cb-chrome .cb-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.cb-chrome .cb-footer .cb-legal { margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--d-line); font-size: 0.8rem; color: var(--d-text-faint); display: flex; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; max-width: none; }
.cb-chrome .cb-footer .cb-legal .cb-credit { max-width: 60ch; }
.cb-chrome .cb-nowrap { white-space: nowrap; }
.cb-chrome .cb-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.cb-chrome .cb-wrap { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter); }
.cb-chrome .cb-footer a { color: var(--d-text-muted); text-decoration: none; } .cb-footer a:hover { color: var(--d-text); }
.cb-chrome .cb-footer a[href^="mailto:"] { white-space: nowrap; }
@media (max-width: 1100px) { .cb-chrome .cb-footer .cb-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 880px) { .cb-chrome { --gutter: 20px; } .cb-chrome .cb-header { position: static; } .cb-chrome .cb-header .cb-wrap { flex-wrap: wrap; gap: var(--s-3); padding-top: var(--s-3); padding-bottom: var(--s-3); } .cb-chrome .cb-nav { margin-left: 0; order: 3; width: 100%; } .cb-chrome .cb-nav ul { gap: var(--s-2); flex-wrap: wrap; } .cb-chrome .cb-footer .cb-cols { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cb-chrome .cb-header .cb-brand { flex-wrap: wrap; row-gap: 14px; } .cb-chrome .cb-header .cb-sig { white-space: normal; max-width: calc(100vw - 2 * var(--gutter, 20px)); line-height: 1.15; } }
.cb-chrome a:focus-visible { outline: 2.5px solid #8FB3FF; outline-offset: 2px; border-radius: 4px; }
/* the seal on the Learn link */
.sp-seal .r1, .sp-seal .r2 { transition: stroke-opacity .4s, r .5s; }
.sp-sat:hover .r1, .sp-sat:focus-visible .r1 { stroke-opacity: .9; r: 12.5px }
.sp-sat:hover .r2, .sp-sat:focus-visible .r2 { stroke-opacity: .7; r: 17.5px }
.cb-nav a.sp-sat { position: absolute; right: -9px; top: -9px; width: 24px; height: 24px; padding: 0; display: grid; place-items: center; border-radius: 50%; background: none; }
.cb-nav a.sp-sat:hover, .cb-nav a.sp-sat[aria-current] { background: none; }
.sp-sat .sp-seal { width: 19px; height: 19px; display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
.sp-sat .sp-seal polygon { stroke-width: 3.2; }
.sp-sat:focus-visible { outline: 2.5px solid #8FB3FF; outline-offset: 1px; }
.sp-tip { position: absolute; right: -4px; top: calc(100% + 6px); white-space: nowrap; padding: 6px 10px; border-radius: 4px; background: #231B30; box-shadow: 0 0 0 1px #9C7A2C; font: 600 12px/1 "Cinzel", Georgia, serif; letter-spacing: .12em; color: #E7C46A; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 60; }
.sp-sat:hover .sp-tip, .sp-sat:focus-visible .sp-tip { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .sp-a, .sp-a *, .sp-b, .sp-b *, .sp-sat, .sp-sat * { transition: none !important; } }
.cb-chrome .cb-learn { position: relative; }
@media (prefers-reduced-motion: reduce) { .sp-sat, .sp-sat * { transition: none !important; } }
.cb-chrome .cb-nav li.sp-learn { position: relative; }
.cb-chrome .cb-header { background: #06080B; backdrop-filter: none; -webkit-backdrop-filter: none; }
.cb-chrome .cos-sig { margin-top: var(--s-5); line-height: 0; } .cb-chrome .cos-sig a { display: inline-block; } .cb-chrome .cos-sig img { display: block; height: 40px; width: auto; } .cb-chrome .cos-sig a:hover img { opacity: 0.85; }
/* header fits on one line from 861 px up with the logo (v1.14-D) */
@media (min-width: 861px) and (max-width: 1100px) { .cb-chrome .cb-header .cb-wrap { gap: var(--s-4); } .cb-chrome .cb-sig { font-size: 1.15rem; } .cb-chrome .cb-nav a { padding: var(--s-2) 10px; } .cb-chrome .cb-header .cb-btn { padding: 0 var(--s-4); } }
@media (min-width: 881px) and (max-width: 940px) { .cb-chrome .cb-header .cb-wrap { gap: var(--s-3); } .cb-chrome .cb-sig { font-size: 1.05rem; } .cb-chrome .cb-nav ul { gap: 0; } .cb-chrome .cb-nav a { padding: var(--s-2) 8px; } }
/* Five menu items since v1.22-D: below 1261 px the menu moves to its own row under the name, with "Start a project" kept on the right */
@media (min-width: 881px) and (max-width: 1260px) { .cb-chrome .cb-header .cb-wrap { flex-wrap: wrap; row-gap: 0; padding-bottom: var(--s-3); } .cb-chrome .cb-nav { order: 3; width: 100%; margin-left: 0; } .cb-chrome .cb-nav ul { flex-wrap: wrap; } .cb-chrome .cb-header .cb-btn { margin-left: auto; } }
/* Footer rights line (v1.23-D) */
.cb-chrome .cb-footer .cb-legal .cb-rights { max-width: 72ch; } .cb-chrome .cb-footer .cb-legal .cb-rights a { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Learn dropdown (v1.29-D): opens on hover or focus on computers, and with a click or tap on the arrow ---- */
:is(.site-nav, .cb-chrome .cb-nav) ul { align-items: center; }
:is(.site-nav, .cb-chrome .cb-nav) li.has-menu { position: relative; display: flex; align-items: center; }
:is(.site-nav, .cb-chrome .cb-nav) .menu-caret { display: grid; place-items: center; width: 26px; height: 32px; margin-left: -6px; padding: 0; border: 0; border-radius: 999px; background: none; color: var(--d-text-muted); cursor: pointer; }
:is(.site-nav, .cb-chrome .cb-nav) .menu-caret:hover, :is(.site-nav, .cb-chrome .cb-nav) .has-menu:hover .menu-caret { color: var(--d-text); }
:is(.site-nav, .cb-chrome .cb-nav) .menu-caret svg { transition: transform .2s; }
:is(.site-nav, .cb-chrome .cb-nav) .has-menu:hover .menu-caret svg, :is(.site-nav, .cb-chrome .cb-nav) .has-menu.open .menu-caret svg { transform: rotate(180deg); }
:is(.site-nav, .cb-chrome .cb-nav) .menu-caret:focus-visible { outline: 2.5px solid #8FB3FF; outline-offset: 1px; }
.learn-menu { position: absolute; left: -8px; top: calc(100% + 12px); width: 360px; padding: 8px; background: #10141A; border: 1px solid rgba(255,255,255,0.22); border-radius: 16px; box-shadow: 0 24px 48px -16px rgba(0,0,0,.7); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility 0s .18s; z-index: 60; text-align: left; }
.learn-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
@media (hover: hover) { :is(.site-nav, .cb-chrome .cb-nav) .has-menu:hover .learn-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; } }
:is(.site-nav, .cb-chrome .cb-nav) .has-menu:focus-within .learn-menu, :is(.site-nav, .cb-chrome .cb-nav) .has-menu.open .learn-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.learn-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
:is(.site-nav, .cb-chrome .cb-nav) .learn-menu a { display: block; padding: 10px 12px; border-radius: 10px; white-space: normal; }
:is(.site-nav, .cb-chrome .cb-nav) .learn-menu a strong { display: block; color: #F4F5F7; font-weight: 600; font-size: 15px; line-height: 1.3; }
:is(.site-nav, .cb-chrome .cb-nav) .learn-menu a span { display: block; color: #A4ABB5; font-weight: 400; font-size: 13px; line-height: 1.4; margin-top: 2px; }
:is(.site-nav, .cb-chrome .cb-nav) .learn-menu a:hover, :is(.site-nav, .cb-chrome .cb-nav) .learn-menu a[aria-current] { background: rgba(255,255,255,.07); }
.learn-menu li:last-child { border-top: 1px solid rgba(255,255,255,0.10); margin-top: 4px; padding-top: 4px; }
.menu-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:is(.site-nav, .cb-chrome .cb-nav) .has-menu.closed .learn-menu { opacity: 0 !important; visibility: hidden !important; transform: translateY(-6px) !important; }
:is(.site-nav, .cb-chrome .cb-nav) .has-menu.closed .menu-caret svg { transform: none !important; }
@media (max-width: 600px) { .learn-menu { position: fixed; left: 12px; right: 12px; top: auto; width: auto; margin-top: 8px; } }
@media (prefers-reduced-motion: reduce) { .learn-menu, :is(.site-nav, .cb-chrome .cb-nav) .menu-caret svg { transition: none !important; } }

/* Learn dropdown, v1.30.3-D: the list stacks the same way on every page (the Learn, Inside and game pages' own menu rule laid it out in a row) */
:is(.site-nav, .cb-chrome .cb-nav) .learn-menu ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; flex-wrap: nowrap; margin: 0; padding: 0; list-style: none; }
:is(.site-nav, .cb-chrome .cb-nav) .learn-menu li { display: block; }
