/* Shared navigation stays in the page flow. A measured offset clears it on anchor jumps. */
html:has([data-zx-shell]) {
  --zx-shell-height: 61px;
  scroll-padding-top: calc(var(--zx-shell-height) + 8px) !important;
}
[data-zx-shell] {
  position: sticky;
  top: 0;
  z-index: 45;
  width: 100%;
  min-width: 0;
  margin: 0 0 24px;
  background: var(--zx-page-color, #f7f2e6);
}
html:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]) [data-zx-shell] {
  background: var(--zx-page-color, #05080d);
}
[data-zx-shell] > :is(#top, #zx-top).zx-cbar {
  margin-block-end: 0;
  column-gap: 8px;
}
[data-zx-shell] .fd-logo > .brand-word { display: block; }
[data-zx-shell] .fd-logo > .brand-word--dark,
html:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]) [data-zx-shell] .fd-logo > .brand-word--light { display: none; }
html:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]) [data-zx-shell] .fd-logo > .brand-word--dark { display: block; }
[data-zx-shell] .vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
[data-zx-shell] > :is(#top, #zx-top).zx-cbar :is(summary, .fd-logo, .fd-options a):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 1px;
}
@media (max-width: 599px) {
  [data-zx-shell] { margin-block-end: 8px; }
  [data-zx-shell] > :is(#top, #zx-top).zx-cbar > .cta { order: initial; }
}

/* The old top connection bar has the same actions as the bottom connection bar. */
body:has([data-zx-shell]) .zx-topbar { display: none !important; }

/* Phone and desktop share the same measured starting point for adjacent sticky elements. */
body:has([data-zx-shell]) .road-map { top: var(--zx-shell-height); }
@media (min-width: 900px) {
  body:has([data-zx-shell]) .tx-split > .tx-head { top: calc(var(--zx-shell-height) + 24px); }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  body:has([data-zx-shell]) .road-map { height: calc(100svh - var(--zx-shell-height)); }
  body:has([data-zx-shell]) .road-map svg { max-height: calc(94svh - var(--zx-shell-height)); }
}
@media (max-width: 899px) and (prefers-reduced-motion: no-preference) {
  body:has([data-zx-shell]) .road-stop {
    min-height: max(24rem, calc(100svh - var(--zx-shell-height) - (100vw - 24px) * .497 - 15px));
  }
}

/* The Home weave remains a window onto the original artwork. Warm ink and a quiet mount frame the light view. */
html:root:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) #four-doors .fd-hero {
  --gp-sky: #252420;
  box-shadow: 0 0 0 1px #746753, 0 3px 10px #60452826;
}
html:root:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) #four-doors .fd-hero :is(.fd-hero-pic, .fd-weave) {
  filter: sepia(.2) saturate(.66) contrast(.86);
}
@media (max-width: 1179px) {
  html:root:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) #four-doors .fd-hero::before {
    background: linear-gradient(#252420 0%, #252420cf calc(100% - 30px), #25242000 100%);
  }
  html:root:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) #four-doors .fd-hero::after {
    background: linear-gradient(#25242000 0%, #252420cf 38px, #252420 100%);
  }
}

/* Existing paper renditions of the Earth-to-Mars charts across every standard footer. */
html:root:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) .space-art > img {
  content: url("/p4v2/pics/p3-earth-mars-chart-light-1280.webp");
  max-height: 460px;
}
html:root:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) .foot-way .foot-band {
  content: url("/p4v2/pics/p1-foot-band-light-846.webp");
}
/* Live fix 28.11.2026 (Levi: the Mars distance line was not visible in light): the caption kept its dark-band cream
   colour on the cream band. Ink for the words, a deep amber for MARS and Source (about 5.7:1 on the band). */
html:root:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) .space-cap { color: #2b2620; }
html:root:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) .space-cap b,
html:root:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) .space-cap a { color: #8a4b08; }
@media (max-width: 599px) {
  html:root:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) .space-art > img {
    content: url("/p4v2/pics/p3-earth-mars-chart-light-960.webp");
  }
  html:root:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) .foot-way .foot-band {
    content: url("/p4v2/pics/p1-foot-band-light-423.webp");
  }
}
/* Retain the scannable QR inside its own mounted star chart. */
html:root:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) .cx-fallback .cx-art > img {
  box-sizing: border-box;
  border: 2px solid #746753;
  border-radius: 8px;
  filter: sepia(.12) contrast(.86);
}

/* Outline filled lime controls while preserving their original border dimensions. */
html:root:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) :is(.zx-lime-outline, .tx-btn--lime):not(:focus-visible) {
  outline: 2px solid #344620 !important;
  outline-offset: -2px !important;
}

/* Texas Road's marks remain legible before, during and after the route animation. */
html:root:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) .road-svg .st { fill: #ebdfc2; stroke: #6d6149; }
html:root:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) .road-svg .tx { fill: #cad3ac; stroke: #465a2e; }
html:root:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) .road-svg .leg { stroke: #344620; }
html:root:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) .road-svg .leg-dream { stroke: #465a2e; }
html:root:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) .road-svg :is(.dot, .star) { fill: #344620; }
html:root:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) .road-svg .lead { stroke: #6d6149; }
html:root:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) .road-svg .mark { opacity: 1; }
html:root:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main#main .road-svg :is(.lbl, .lbl-tx, .lbl .num) {
  fill: #252719;
  stroke: #f7f2e6;
  stroke-width: 5px;
  stroke-linejoin: round;
  paint-order: stroke fill;
}

/* Standalone pages retain their own reading layouts and ship controls. */
html[data-zx-shell-mode=ship] { --zx-page-color: #f3eee2; }
html[data-zx-shell-mode=ship]:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]) { --zx-page-color: #0b0f0d; }
html[data-zx-shell-mode=claim] { color-scheme: light; --zx-page-color: #fff; }
html[data-zx-shell-mode=claim] body { background: #fff; color: #171b22; }
html[data-zx-shell-mode=claim] main a { color: #145079; }
html[data-zx-shell-mode=claim]:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]) { color-scheme: dark; --zx-page-color: #10151c; }
html[data-zx-shell-mode=claim]:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]) body { background: #10151c; color: #f0f4f8; }
html[data-zx-shell-mode=claim]:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]) main a { color: #a3d8f1; }
html[data-zx-shell-mode=daemon] body {
  flex-direction: column;
  justify-content: flex-start;
}
html[data-zx-shell-mode=daemon] main { margin-block: auto; }
html[data-zx-shell-mode=daemon]:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) body {
  background-image: linear-gradient(#f7f2e6e8, #f7f2e6d4), url("/v3/space/sky/sky-desk-1920.webp");
}
html[data-zx-shell-mode=daemon]:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) h1 { color: #302d36; }
html[data-zx-shell-mode=a2] body { flex-direction: column; align-items: center; }
html[data-zx-shell-mode=a2]:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) {
  --zx-page-color: #f4f0e6;
  background-color: var(--zx-page-color);
}
html[data-zx-shell-mode=a2]:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) .phone {
  border-inline-color: #746753;
  box-shadow: 0 0 0 1px #746753;
}

body :is(main, #four-doors, .d-board, footer.foot, .fl-foot, .compare-foot) {
  text-align: center;
}

body :is(main, #four-doors) :is(h1, h2, h3, h4, h5, h6, p, blockquote, figcaption, dt, dd) {
  text-align: center;
}

body :is(main, #four-doors) :is(h1, h2, h3, h4, p, blockquote, figcaption, figure, table, details, pre) {
  margin-inline: auto;
}

body :is(main, #four-doors) :is(p, blockquote, figcaption, dd) {
  max-inline-size: min(100%, 68ch) !important;
  overflow-wrap: anywhere;
}

body :is(main, #four-doors) :is(h1, h2, h3, h4, figcaption) {
  text-wrap: balance;
}

body main :is(figure, video, picture, svg, img) {
  max-inline-size: 100%;
}

body main :is(ul:not([class]), ol:not([class]), .facts, .how, .compare-gaps ul, .compare-terms, .fl-steps, .loop-steps, .shipped, .tm-facts) {
  box-sizing: border-box;
  inline-size: fit-content;
  max-inline-size: min(100%, 68ch) !important;
  margin-inline: auto;
  padding-inline: 1.5em;
  columns: auto;
  text-align: start;
}

body main :is(ul:not([class]), ol:not([class]), .facts, .how, .compare-gaps ul, .compare-terms, .fl-steps, .loop-steps, .shipped, .tm-facts) > li {
  max-inline-size: none !important;
  overflow-wrap: anywhere;
  text-align: start;
}

body main :is(.grid, .card, .panel, .band, .head, .lead, .prose, .song, .verse, .story) {
  margin-inline: auto;
  min-inline-size: 0;
  text-align: center;
}

body main :is(.head, .band, .prose, .song, .verse) > img,
body main :is(figure, .seal, .hero-art) > img {
  margin-inline: auto;
}

body main p:has(> :is(.cta, .cartoons, button)),
body main :is(.sweep-closing, .zx-prompt, .compare-actions, .compare-filters, .compare-closing-links, .fl-cta, .fl-actions, .cp-actions, .rv-cta-row, .tx-go, .tx-close) {
  justify-content: center;
  justify-items: center;
}

body main#main.sweep-axis :is(h1, h2, h3, p:not(.vh), .sweep-closing, .zx-prompt) {
  margin-inline: auto;
  text-align: center;
}

body main#main.sweep-axis :is(.sweep-closing, .zx-prompt) {
  justify-content: center;
}

body main#main.sweep-axis > :is(.head, .band, .r8-book) > :is(h1, h2, p, .zx-prompt) {
  margin-inline: auto;
  text-align: center;
}

body main#main .cp-grid.cp-standalone,
body main#main.fl > h1,
body main :is(.rv-head, .zrv .rv-lead) {
  margin-inline: auto;
}

body :is(main, #four-doors) :is(th, td) :is(h2, h3, p, ul, ol),
body main :is(.comic-scroll, .road-map) :is(h2, h3, p) {
  text-align: inherit;
}

body main :is(.compare-scroll, .table-scroll, .compare-individual) {
  max-inline-size: 100%;
  min-inline-size: 0;
}

body main .individual-price-table caption {
  text-align: center;
}

body footer.foot .foot-grid {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

body footer.foot .foot-grid > * {
  grid-area: auto;
  min-inline-size: 0;
  justify-self: center;
}

body footer.foot :is(.foot-links ul, .foot-toggles, .foot-right) {
  align-items: center;
  justify-content: center;
  text-align: center;
}

body footer.foot :is(.foot-name img, figure, p, .foot-links, .foot-brand) {
  margin-inline: auto;
}

@media (min-width: 1280px) {
  html:has(#zx-guide):not(:has(.cast.tattoo)) body :is(main#main, footer.foot > .wrap) {
    inline-size: min(100% - 2 * var(--zx-rail-gutter), 1280px);
    margin-inline: auto;
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  html:has(#zx-guide.zx-guide-sky) body :is(main#main, footer.foot > .wrap) {
    inline-size: min(100% - 2 * var(--zx-rail-gutter), 1280px);
    margin-inline: auto;
  }
}

body :is(.fl-foot, .compare-foot) :is(.wrap, .compare-frame, nav) {
  justify-content: center;
  justify-items: center;
  margin-inline: auto;
}

html body #four-doors :is(#fd-heading, .fd-lead, .fd-show-text, .fd-show-head, .fd-show-kick, .fd-receipt, .fd-feature-copy, .fd-text) {
  margin-inline: auto;
  text-align: center;
}

html body #four-doors :is(.fd-show-text, .fd-feature-copy) {
  justify-items: center;
}

html body #four-doors :is(.fd-chips, .fd-show-cta) {
  justify-content: center;
}

html body #four-doors .fd-receipt {
  justify-self: center;
}

html body #four-doors .fd-points {
  inline-size: fit-content;
  max-inline-size: 100%;
  margin-inline: auto;
  text-align: start;
}

html body #four-doors .fd-door > summary {
  text-align: center;
}

html body main#main.home2 :is(section, .card) :is(h2, h3, p, blockquote) {
  margin-inline: auto;
  text-align: center !important;
}

body main#main.zx-case :is(.case-section, .case-logo, h1, .case-hero p) {
  margin-inline: auto;
  text-align: center;
}

body main#main.zx-case .case-section {
  inline-size: 100%;
}

body main#main.zx-case .case-actions {
  justify-content: center;
}

body main#main.zx-case .case-metrics ul {
  inline-size: 100%;
  max-inline-size: 100% !important;
}

body main#main.zx-case .case-metrics li {
  text-align: center;
}

body main#main .levi-profile {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

body main#main .levi-profile > * {
  grid-column: 1;
  grid-row: auto;
  justify-self: center;
  margin-inline: auto;
}

body main#main .levi-profile .levi-portrait-pair {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

body main#main.bj-page :is(.bj-line, .bj-band, .bj-card) {
  margin-inline: auto;
  text-align: center;
}

body main#main.bj-page .bj-arrow {
  justify-self: center;
}

html body main#main.bj-page p.bj-namenote {
  padding-inline: 12px;
  text-align: center;
}

body main.compare-page :is(.compare-proof, .compare-gaps ul, .compare-price-actions > .compare-action) {
  margin-inline: auto;
  justify-self: center;
}

body main.compare-page .compare-hero {
  grid-template: "intro" "price" "proof" / minmax(0, 1fr);
  justify-items: center;
}

body main.compare-page .compare-price {
  inline-size: min(100%, 68ch);
}

body .compare-foot .compare-frame {
  flex-wrap: wrap;
}

body main :is(.tm-card, .tm-rows.grid, .tm-four.grid, .tm-three.grid, .tm-rules.grid) {
  text-align: center;
}

body main .tm-fire {
  float: none;
  margin-inline: auto;
}

body main .tm-card {
  min-inline-size: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 359px) {
  body main .tm-four.grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body main .tm-card.tm-mini {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }
  body main .tm-card :is(.tm-body, .chip) {
    min-inline-size: 0;
    max-inline-size: 100%;
    white-space: normal;
  }
}

body main :is(.pyramid .pcard, .team-group .card.seat) {
  align-items: center;
  text-align: center;
}

body main .zrv.zrv .rv-hub-hero {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

body main .tx-split {
  grid-template-columns: minmax(0, 1fr);
}

body main .tx-split > * {
  grid-column: 1;
}

body main .tx-split > .tx-head {
  position: static;
}

body main :is(.tx-how, .tx-quote, .road) {
  margin-inline: auto;
  max-inline-size: 100%;
}

body main :is(.watch-log, .d-words, .d-board) {
  text-align: center;
}

body main .d-words > * {
  margin-inline: auto;
}

body main > :is(.letter, .letter2, .signed-entry),
body main :is(.letter-mark, .signed-mark) {
  margin-inline: auto;
}

body main .letter-sig {
  flex-direction: column;
  align-items: center;
}

body main .letter-signed {
  text-align: center;
}

html body main#main :is(.r8-channels > .r8-safe, .vf-never > p) {
  max-inline-size: 100% !important;
  margin-inline: auto;
  text-align: center;
}

@media (max-width: 899px) {
  html body main#main :is(.r8-channels > .r8-safe, .vf-never > p) {
    text-wrap: balance;
  }
}

html body main#main .r8-channels > .r8-ch-copy:has(.copy-email) {
  inline-size: 100%;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-inline: auto;
}

html body main#main .r8-ch-copy .copy-email {
  margin-inline: auto;
}

html body main#main .r8-ch-copy .copy-email-status {
  text-align: center;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) body main#main .r8-ch-copy .copy-email {
  background: var(--page, #f7f2e6);
  border-color: var(--line, #746753);
  color: var(--ink, #252420);
  box-shadow: none;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) body main#main .r8-ch-copy .copy-email:is(:hover, :active, .is-copied) {
  background: var(--panel, #f3eee2);
  border-color: currentColor;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) body main#main .r8-ch-copy .copy-email-status {
  color: var(--ink, #252420);
}

@media (max-width: 359px) {
  html body main#main .tm-head h1 {
    overflow-wrap: anywhere;
  }

  html body main#main .tm-id > .chip.pending {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

html body main#main .zx-chat-warning {
  display: block;
  text-align: center;
  text-wrap: balance;
}

html body main#main :is(.r8-channels > .r8-safe, .vf-never > p, .cp-unsure > .cp-verify + .cp-verify) {
  text-wrap: balance;
}

html body main#main.home2 .studio2-conman .herald p:has(> .zx-chat-warning) {
  max-inline-size: min(100%, 78ch) !important;
}

@media (min-width: 1200px) {
  html body main#main.home2 .studio2-row:has(.zx-chat-warning) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  }

  html body main#main .vf-never {
    --warning-card-width: min(1040px, 100vw - 360px);
    inline-size: var(--warning-card-width);
    max-inline-size: none;
    margin-inline: calc((100% - var(--warning-card-width)) / 2);
  }
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) {
  --k76-paper: #faf8f3;
  --k76-panel: #fffaf0;
  --k76-inset: #f2e9d6;
  --k76-outline: #746753;
  --k76-ink: #252420;
  --k76-muted: #5b513f;
  --k76-link: #624115;
  --k76-green: #344620;
  --k76-teal: #155f59;
  --k76-red: #842943;
  --k76-lime: #c6ff3d;
  --k76-lime-ink: #192600;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) :is(
  .foot-way, .space-band, .comic-scroll, .bj-bay, .anim-stage, .gc-face,
  .bj-door, .film .goal, .film-full-player video, .pack img, .bm-fig img, .err-art img
) {
  background-color: var(--k76-inset);
  border-color: var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .gc-tap::before {
  background-color: var(--k76-inset);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) :is(
  .zx-agent-copy, .long-copy > summary, main#main .road-btn--next,
  .zrv.zrv .rv-btn, .zrv.zrv .rv-v-ship
) {
  --k76-surface: 1;
  background: var(--k76-paper);
  color: var(--k76-ink);
  border-color: var(--k76-outline);
  text-shadow: none;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) :is(
  .zx-agent-copy, .long-copy > summary, main#main .road-btn--next,
  .zrv.zrv .rv-btn
):hover {
  background: var(--k76-inset);
  color: var(--k76-ink);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .language-picker .language-options {
  --k76-surface: 1;
  background: var(--k76-panel);
  color: var(--k76-ink);
  border-color: var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .language-picker .language-options a {
  color: var(--k76-link);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) :is(
  .arc-dark, .arc-dark .plaque, .zrv.zrv dialog.rv-proof, .zrv.zrv .rv-proof pre,
  .zrv.zrv .rv-shot, .zrv.zrv .rv-chrome, .nx .nx-term, .nx .nx-go a,
  main.film .stage, main.film .stage .pack, main.film .sign
) {
  --k76-surface: 1;
  background-color: var(--k76-panel);
  color: var(--k76-ink);
  border-color: var(--k76-outline);
  text-shadow: none;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .arc-dark {
  --arc-bg: var(--k76-panel);
  --arc-term: var(--k76-inset);
  --ink: var(--k76-ink);
  --card: var(--k76-paper);
  --line: var(--k76-outline);
  --muted: var(--k76-muted);
  --cyan: var(--k76-teal);
  --neon-green: var(--k76-green);
  --neon-cyan: var(--k76-teal);
  --neon-amber: var(--k76-link);
  --neon-green-6: transparent;
  color-scheme: light;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .arc-dark .plaque {
  background-color: var(--k76-inset);
  box-shadow: none;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .arc-dark a:not(.cta) {
  color: var(--k76-link);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .zrv.zrv dialog.rv-proof::backdrop {
  background: rgb(116 103 83 / 38%);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .zrv.zrv .rv-proof pre {
  background-color: var(--k76-inset);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .zrv.zrv :is(.rv-proof pre *, .rv-chrome small) {
  color: var(--k76-ink);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .nx {
  --z-page: var(--k76-panel);
  --z-card: var(--k76-paper);
  --z-ink: var(--k76-ink);
  --z-muted: var(--k76-muted);
  --z-line: var(--k76-outline);
  --z-link: var(--k76-link);
  --z-lime: var(--k76-green);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .nx .nx-go .nx-borjghali { --nx-c: #8a5800; }
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .nx .nx-go .nx-software { --nx-c: #3f5f00; }
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .nx .nx-go .nx-us { --nx-c: #a8341f; }
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .nx .nx-go .nx-enjoy { --nx-c: #0b6b62; }

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .nx .nx-go img {
  filter: brightness(.43) saturate(1.1);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) main.film .stage :is(
  .gate h2, .pack h3, .pack .pack-count
) {
  color: var(--k76-ink);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) main.film .stage :is(
  .gate-kicker, .pack .pack-n, .pack .pack-desc
) {
  color: var(--k76-muted);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) main.film .stage .pack .pack-price {
  color: var(--k76-green);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) main.film .stage a:not(.cartoons) {
  color: var(--k76-link);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) main.film .sign :is(.neon, span) {
  color: var(--k76-ink);
  text-shadow: none;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) main.film .sign-stamped .neon { color: var(--k76-green); }
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) main.film .sign-signed .neon { color: var(--k76-teal); }
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) main.film .sign-zip .neon { color: var(--k76-red); }

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) :is(
  .film .stage .pack .pack-buy a.cartoons, .film .stage .pack-lime a.buy-lime,
  a.bj-cta, .tx-btn--lime, .fd-go
) {
  --k76-surface: 1;
  color: var(--k76-lime-ink);
  border-color: var(--k76-green);
  text-shadow: none;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) :is(a, button, summary, select, input, textarea):focus-visible {
  outline-color: var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) :is(video[controls], audio[controls]) {
  color-scheme: light;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) :is(video[controls], audio[controls])::-webkit-media-controls-panel {
  background-color: var(--k76-panel);
  background-image: none;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) video[controls]::-webkit-media-controls-enclosure {
  background: transparent;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) video[controls]::-webkit-media-controls-panel {
  background: linear-gradient(to bottom, transparent calc(100% - 64px), #00050f 0);
  filter: invert(1);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) #four-doors .fd-pb {
  --k76-surface: 1;
  background: var(--k76-panel);
  border-color: var(--k76-outline);
  color: var(--k76-ink);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) #four-doors .fd-pb[data-pos=n] {
  --c: #8a5800;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) #four-doors .fd-pb[data-pos=e] {
  --c: #3f5f00;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) #four-doors .fd-pb[data-pos=s] {
  --c: #a8341f;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) #four-doors .fd-pb[data-pos=w] {
  --c: #0b6b62;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) #four-doors .fd-pb:is(:hover, :focus-visible, [aria-pressed=true]) {
  background: var(--k76-inset);
  border-color: var(--c);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) #four-doors .fd-pb .fd-sign {
  filter: brightness(.48);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) #four-doors .fd-pad.has-pick .fd-pb:not([aria-pressed=true]) .fd-sign {
  opacity: 1;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) #four-doors .fd-pb:focus-visible {
  outline-color: var(--k76-ink);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) body.home2-page #four-doors :is(.fd-pic, .fd-art, .fd-feature-media > img, .fd-feature-media > video),
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) body.home2-page :is(.entry-guide .guide-frame, .entry-clip .presentation-video video, .hero2-clip video, .film2-player video) {
  --k76-surface: 1;
  background-color: var(--k76-paper);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) body.home2-page :is(.presentation, .presentation-stage, .presentation-dialog, .presentation-outro) {
  --k76-surface: 1;
  --demo-ink: var(--k76-ink);
  --demo-muted: var(--k76-muted);
  background-color: var(--k76-paper);
  color: var(--k76-ink);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) body.home2-page .presentation-dialog::backdrop {
  background: rgb(116 103 83 / .35);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) body.home2-page :is(.presentation-video-link, .presentation-loading-label, .presentation-start, .presentation-cue, .presentation-controls, .presentation-controls button) {
  --k76-surface: 1;
  background-color: var(--k76-panel);
  border-color: var(--k76-outline);
  color: var(--k76-ink);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) body.home2-page :is(.presentation-video-link, .presentation-loading-label, .presentation-cue) {
  box-shadow: inset 0 0 0 1px var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) body.home2-page :is(.presentation-start:hover, .presentation-controls button:hover, .presentation-controls button[aria-pressed=true]) {
  background-color: var(--k76-inset);
  border-color: var(--k76-link);
  color: var(--k76-link);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) body.home2-page .presentation-controls button[aria-pressed=true] {
  box-shadow: inset 0 0 0 1px var(--k76-link);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) body.home2-page .presentation-controls input[type=range] {
  accent-color: var(--k76-link);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) body.home2-page .presentation :is(a, button, input):focus-visible {
  outline-color: var(--k76-link);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) body.home2-page .presentation-outro span {
  color: var(--k76-ink);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) body.home2-page :is(.demo-card, .demo-browser, .demo-input, .demo-send, .presentation[data-scene=fixed] .demo-send) {
  --k76-surface: 1;
  background-color: var(--k76-panel);
  border-color: var(--k76-outline);
  color: var(--k76-ink);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) body.home2-page :is(.demo-browser-bar, .demo-progress, .demo-input, .presentation[data-scene=fixed] .demo-send) {
  --k76-surface: 1;
  background-color: var(--k76-inset);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) body.home2-page :is(.demo-browser, .demo-send, .demo-progress) {
  box-shadow: inset 0 0 0 1px var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) body.home2-page :is(.demo-card-title strong, .demo-voice-line) {
  color: var(--k76-ink);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) body.home2-page .demo-card-title small {
  color: var(--k76-muted);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) body.home2-page :is(.demo-state, .demo-counter b, .demo-task b, .presentation[data-scene=fixed] .demo-result) {
  color: #216248;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) body.home2-page .demo-result {
  color: #a3182a;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) body.home2-page :is(.demo-browser-bar i, .demo-page-line, .demo-page-button, .demo-wave i, .demo-progress i) {
  background-color: var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) body.home2-page :is(.demo-progress i, .demo-wave i, .demo-page-button) {
  background-color: #216248;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) body.home2-page .demo-task {
  border-color: var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) body.home2-page main.home2 a.clip-commit {
  --k76-surface: 1;
  background: var(--k76-panel);
  color: var(--k76-ink) !important;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) body.home2-page main.home2 a.clip-commit .commit-ink path {
  stroke: var(--k76-link);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) body.home2-page main.home2 a.clip-commit:is(:hover, :focus-visible) {
  background: var(--k76-inset);
  outline-color: var(--k76-link);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=a2] {
  --ink: var(--k76-paper);
  --night: var(--k76-panel);
  --dusk: var(--k76-inset);
  --dusk2: #dfd2b8;
  --surface: var(--k76-panel);
  --lowest: var(--k76-paper);
  --paper: var(--k76-ink);
  --amber: var(--k76-link);
  --amber-s3: var(--k76-link);
  --amber-s4: var(--k76-link);
  --cyan: var(--k76-link);
  --sky: var(--k76-muted);
  --muted: var(--k76-muted);
  --outline: var(--k76-outline);
  color-scheme: light;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=a2] :is(body, .phone, .s1, .s1-sky, .s2, .s3, .s4, .hud, .hud .coins, .panel, .tiles li) {
  --k76-surface: 1;
  color: var(--k76-ink);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=a2] :is(body, .phone, .s1-sky) {
  background-color: var(--k76-paper);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=a2] :is(.s1-head, .ground, .hud .coins, .tiles li) {
  border-color: var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=a2] :is(.s1-head, .ground) {
  --k76-surface: 1;
  background-color: var(--k76-inset);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=a2] :is(.s1, .s3, .s4) > .scan {
  background-image: linear-gradient(transparent 50%, rgb(116 103 83 / .14) 50%);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=a2] .game {
  --k76-surface: 1;
  background-color: var(--k76-inset);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=a2] :is(.s4-top p, .hud .time, .hud .lvl, .panel .pause, .panel .pause:hover) {
  color: var(--k76-ink);
  text-shadow: none;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=a2] :is(.s1 h1 .l1, .s1 h1 .l2, .s3 h2, .s4 h2, .hud .coins span) {
  color: var(--k76-link);
  text-shadow: none;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=a2] :is(.s1 .play, .s3 .next, .s4 .get, .panel .jump) {
  --k76-surface: 1;
  background: var(--k76-panel);
  border-color: var(--k76-outline);
  color: var(--k76-ink);
  box-shadow: 3px 3px 0 var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=a2] :is(.pbtn, .panel .pause, .s4 textarea):is(:hover, :active, :focus-visible) {
  background: var(--k76-inset) !important;
  border-color: var(--k76-outline);
  color: var(--k76-ink) !important;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=a2] :is(.s4 textarea, .eur, .bubble) {
  --k76-surface: 1;
  background: var(--k76-panel);
  border-color: var(--k76-outline);
  color: var(--k76-ink);
  box-shadow: 2px 2px 0 var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=a2] .bubble::before {
  background: var(--k76-panel);
  border-color: var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=a2] .s4 textarea::placeholder,
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=a2] .bubble .chk {
  color: var(--k76-muted);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=a2] .s4 textarea:focus {
  box-shadow: 0 0 0 2px var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=a2] .divider {
  background: var(--k76-inset);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=a2] .divider::after,
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=a2] :is(.accent i, .accent i.mid, .egg span) {
  background: var(--k76-inset);
  border-color: var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=daemon] {
  background-color: var(--k76-paper);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=daemon] body {
  color: var(--k76-ink);
  background-color: var(--k76-paper);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=daemon] .d-board {
  --k76-surface: 1;
  background: var(--k76-panel);
  border-color: var(--k76-outline);
  box-shadow: 0 0 0 6px var(--k76-inset), 0 18px 40px rgb(55 42 25 / .18);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=daemon] .d-tile {
  --k76-surface: 1;
  background: linear-gradient(var(--k76-panel) 0 50%, var(--k76-inset) 50% 100%);
  color: var(--k76-ink);
  box-shadow: inset 0 0 0 2px var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=daemon] .d-tile::after {
  background: var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=daemon] .d-stripe {
  --k76-surface: 1;
  background: repeating-linear-gradient(-45deg, var(--k76-inset) 0 16px, var(--k76-panel) 16px 32px);
  border-bottom: 1px solid var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=daemon] .d-hold {
  --k76-surface: 1;
  background: var(--k76-panel);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=daemon] :is(.d-words, .d-since) {
  color: var(--k76-ink);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=ship][data-theme=light] {
  --line: var(--k76-outline);
  --focus: var(--k76-link);
  --gold-soft: var(--k76-outline);
  --rule: var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=ship][data-theme=light] :is(.length, .pad-wrap, .ladder button, .rooms button, .close, .theme, .count, dialog) {
  --k76-surface: 1;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=ship][data-theme=light] :is(.btn.go, .is-signed #signBtn, .skip, .sav-wl:focus, .cabin-emb, .console input, .console pre, .ded-plate) {
  --k76-surface: 1;
  background: var(--k76-panel);
  border-color: var(--k76-outline);
  color: var(--k76-ink);
  text-shadow: none;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=ship][data-theme=light] :is(.btn.go:hover, .is-signed #signBtn:hover, .console input:focus, .ded-plate.eng) {
  background: var(--k76-inset);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=ship][data-theme=light] :is(.skip:focus, .sav-wl:focus) {
  outline-color: var(--k76-link);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=ship][data-theme=light] :is(.hall-fig, .side, .pic) {
  --k76-surface: 1;
  background-color: var(--k76-panel);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=ship][data-theme=light] :is(.stage, .hall-fig, .cabin-port) {
  box-shadow: 0 0 0 2px var(--k76-outline), 0 12px 22px rgb(55 42 25 / .18);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=ship][data-theme=light] .bars .bar {
  --k76-surface: 1;
  background: var(--k76-panel);
  box-shadow: inset 0 0 0 1px var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=ship][data-theme=light] .bars li.ours .bar {
  background: var(--k76-inset);
  box-shadow: inset 0 0 0 2px var(--k76-link);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=ship][data-theme=light] .ded-plate.eng {
  outline-color: var(--k76-outline);
  box-shadow: inset 0 0 0 5px var(--k76-panel), inset 0 0 0 6px var(--k76-outline), 0 12px 26px rgb(55 42 25 / .18);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=ship][data-theme=light] .ded-plate :is(p, .ded-sign, .gc) {
  color: var(--k76-link);
  border-color: var(--k76-outline);
  text-shadow: none;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=ship][data-theme=light] .ded-plate::before,
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=ship][data-theme=light] .ded-plate::after {
  background: var(--k76-panel);
  box-shadow: inset 0 0 0 1px var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=ship][data-theme=light] .doors button .dr > .frame {
  fill: var(--k76-inset);
  stroke: var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=ship][data-theme=light] dialog::backdrop {
  background: rgb(242 233 214 / .62);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=ship][data-theme=light] .hunt {
  box-shadow: 0 -1px 0 var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .compare-body {
  --k76-surface: 1;
  --compare-page: var(--k76-paper);
  --compare-panel: var(--k76-panel);
  --compare-alt: var(--k76-inset);
  --compare-wash: #ece0c4;
  --compare-text: var(--k76-ink);
  --compare-muted: var(--k76-muted);
  --compare-line: var(--k76-outline);
  --compare-accent: var(--k76-link);
  --compare-on-accent: var(--k76-ink);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .compare-body .compare-filters button[aria-pressed="true"] {
  background: var(--k76-inset);
  border-color: var(--k76-link);
  color: var(--k76-ink);
  box-shadow: inset 0 0 0 1px var(--k76-link);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .compare-body .compare-primary:not(.compare-price-actions *, .compare-closing *) {
  border: 2px solid var(--k76-outline);
  background: var(--k76-panel);
  color: var(--k76-ink) !important;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .compare-body :is(.compare-price-actions, .compare-closing) .compare-primary {
  border: 2px solid var(--k76-link);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=claim] body {
  --k76-surface: 1;
  background: var(--k76-paper);
  color: var(--k76-ink);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=claim] main a {
  color: var(--k76-link);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) :is(.err-art img, .cx-fallback img) {
  --k76-surface: 1;
  background-color: var(--k76-panel);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) :is(.cx-dialog, .cx-sky, .cx-moth-crew, .cx-door-label, .cx-cipher, .cx-receipt-d, .cx-note, .cx-twin, .cx-pass input, .cx-dialog input, .cx-dialog textarea, .cx-dialog select, .cx-dialog .cx-copy, .cx-dialog .cx-lt-btn) {
  --k76-surface: 1;
  background-color: var(--k76-panel);
  border-color: var(--k76-outline);
  color: var(--k76-ink);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) :is(.cx-moth-crew, .cx-door-label, .cx-sky) {
  box-shadow: inset 0 0 0 1px var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) main .cx-bubble p.cx-hand {
  --k76-surface: 1;
  background: var(--k76-panel);
  color: var(--k76-ink);
  box-shadow: inset 0 0 0 1px var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .cx-dialog::backdrop {
  background: rgb(242 233 214 / .62);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) main .cx-sky :is(h2, p, .cx-star span, .cx-pass label, .cx-conman span.cx-conman-by) {
  color: var(--k76-ink);
  text-shadow: none;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) main .cx-sky :is(.cx-star.cx-bright span.cx-glyph, .cx-star.cx-bright span.cx-name, p.cx-said, p.cx-pass-status, p.cx-sealed-h) {
  color: var(--k76-link);
  text-shadow: none;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) main .cx-star span.cx-tag {
  --k76-surface: 1;
  background: var(--k76-inset);
  color: var(--k76-ink);
  box-shadow: inset 0 0 0 1px var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .cx-dialog :is(p, h4.cx-t-sub, label, .cx-f-check label, .cx-ledger, .cx-ledger caption, .cx-map-twin ul, .cx-mini ul, .cx-ops, .cx-ed ol, .cx-ed del) {
  color: var(--k76-ink);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .cx-dialog :is(h2, .cx-trail h3, .cx-h-h, .cx-ed h5, .cx-ed ins, summary, a, .cx-d-status, .cx-t-status, .cx-copy-status, .cx-warm-pct, .cx-f-status, .cx-h-status, .cx-lt-state, .cx-finish input[readonly]) {
  color: var(--k76-link);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) main :is(.cx-bubble p.cx-hand a, .cx-sealed a) {
  color: var(--k76-link);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) :is(.cx-dialog .cx-claim, .cx-sealed, .cx-trail, .cx-ed, .cx-lt, .cx-ledger th, .cx-ledger td) {
  border-color: var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .cx-dialog .cx-claim {
  color: var(--k76-link);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) :is(.cx-door, .cx-moth404):hover {
  border-color: var(--k76-outline);
  box-shadow: 0 0 0 2px var(--k76-panel);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) :is(.cx-door, .cx-moth404, .cx-moth-crew, .cx-star, .cx-cipher, .cx-receipt-d, .cx-note, .cx-twin, .cx-lt, .cx-dialog :is(button, input, textarea, select, a, summary, .cx-claim), .cx-pass :is(input, button)):focus-visible {
  outline-color: var(--k76-link);
  box-shadow: 0 0 0 2px var(--k76-panel);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) :is(.cx-warm, .cx-dialog .cx-f-check input) {
  accent-color: var(--k76-link);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) :is(.cx-pass button, .cx-dialog .cx-go, .cx-dialog .cx-save) {
  outline: 2px solid var(--k76-link);
  outline-offset: -2px;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .gc-home .gc-row .gc-tap::before {
  background-color: var(--k76-inset);
  border-color: var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) body.home2-page .demo-page > .demo-page-button {
  background-color: var(--k76-inset);
  box-shadow: inset 0 0 0 1px var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) main.film .stage :is(.scene-title h1, .scene-title .hook, .vat-note) {
  color: var(--k76-ink);
  text-shadow: none;
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) main.film .stage .film-jump .cartoons {
  --k76-surface: 1;
  background-color: var(--k76-paper);
  color: var(--k76-ink);
  border-color: var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) main.film .stage .gate::before {
  color: var(--k76-red);
  background: var(--k76-paper);
  box-shadow: inset 0 0 0 1px var(--k76-red);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .zrv.zrv .rv-shot pre {
  --k76-surface: 1;
  background-color: var(--k76-inset);
  color: var(--k76-ink);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .zrv.zrv .rv-shot pre .rv-g { color: var(--k76-green); }
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .zrv.zrv .rv-shot pre .rv-c { color: var(--k76-teal); }
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .zrv.zrv .rv-shot pre .rv-r { color: var(--k76-red); }
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .zrv.zrv .rv-legend .rv-lh::before { background-color: var(--k76-green); }
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .zrv.zrv .rv-legend .rv-lw::before { background-color: var(--k76-teal); }

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .zrv.zrv .rv-proof .rv-x {
  border-color: var(--k76-outline);
  color: var(--k76-ink);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark])[data-zx-shell-mode=a2] :is([data-zx-shell], .zx-cbar) {
  --ink: var(--k76-ink);
  --muted: var(--k76-muted);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) :is(
  dialog.gift-maker, .gift-maker .gift-head, .gift-maker .gift-x,
  .gift-maker .gift-field input[type=text], .gift-maker .gift-size-row label,
  .gift-maker .gift-after, dialog.hwt-dlg, .hwt-nav button:not([data-hwt-close])
) {
  --k76-surface: 1;
  color: var(--k76-ink);
  background: var(--k76-panel);
  border-color: var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) dialog.gift-maker::backdrop,
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) dialog.hwt-dlg::backdrop {
  background: rgb(116 103 83 / 35%);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .gift-maker :is(.gift-pick img, .gift-canvas) {
  background-color: var(--k76-inset);
  border-color: var(--k76-outline);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) :is(
  .gift-head h2, .gift-maker legend, .gift-field label, .hwt-dlg figcaption
) {
  color: var(--k76-ink);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .gift-maker :is(
  .gift-field label span, .gift-pick, .gift-hint, .gift-size-row .mono, .gift-privacy, .gift-no
) {
  color: var(--k76-muted);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .gift-maker :is(
  .gift-no b, .gift-after a, .gift-pick input:checked ~ span
) {
  color: var(--k76-link);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .gift-maker .gift-size-row label:has(input:checked),
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .gift-maker :is(.gift-pick:hover img, .gift-pick input:checked ~ img) {
  border-color: var(--k76-link);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .gift-maker :is(.gift-size-row input, .gift-pick input) {
  accent-color: var(--k76-link);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) .gift-maker :is(input, button):focus-visible {
  outline-color: var(--k76-link);
  border-color: var(--k76-link);
}

html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]),[data-theme=dark]) :is(
  main.film .stage .pack .pack-buy .gift-go, .gift-maker .gift-go, .hwt-nav [data-hwt-close]
) {
  --k76-surface: 1;
  color: var(--k76-lime-ink) !important;
  background: var(--k76-lime) !important;
  border-color: var(--k76-green);
}
