/* HOME: yellow ZUNGK poster while preserving the draggable object layer. */
body #app #entry.entry,
body #app #entry.entry .gate-scroll,
body #app #entry.entry .gate-scroll .gate-canvas {
  --home-poster-yellow: #fef019;
  --home-poster-blue: #3038ff;
  --home-poster-lime: #232aff;
  --home-poster-ink: #050505;
  background: var(--home-poster-yellow) !important;
  background-color: var(--home-poster-yellow) !important;
  background-image: none !important;
}

body #app #entry.entry .gate-scroll .gate-canvas {
  width: 100% !important;
  max-width: 1720px !important;
  height: 100svh !important;
  min-height: 680px !important;
}

body #app #entry.entry .gate-scroll .gate-canvas::before {
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  background-image: radial-gradient(rgba(5, 5, 5, 0.16) 0 0.55px, transparent 0.75px) !important;
  background-size: 3px 3px !important;
  content: "" !important;
  opacity: 0.09 !important;
  mix-blend-mode: multiply !important;
}

body #app #entry.entry .gate-scroll .gate-canvas::after {
  display: none !important;
  content: none !important;
}

body #app #entry.entry .gate-scroll .gate-canvas > .rm-black-panel.home-black-panel,
body #app #entry.entry .gate-scroll .gate-canvas > .home-title {
  display: none !important;
}

body #app #entry.entry .gate-scroll .gate-canvas > .rm-black-panel.home-black-panel {
  visibility: hidden !important;
  opacity: 0 !important;
}

.home-reference-poster {
  position: absolute;
  inset: 0;
  z-index: 70;
  overflow: hidden;
  color: var(--home-poster-ink);
  pointer-events: none;
}

.home-poster-manifesto {
  position: absolute;
  top: 49%;
  left: 50%;
  z-index: 2;
  display: flex;
  width: min(820px, 70vw);
  margin: 0;
  align-items: center;
  flex-direction: column;
  color: var(--home-poster-ink);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: clamp(12px, 1.3vw, 19px);
  font-style: normal;
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}

.home-poster-line {
  display: table;
  width: max-content;
  max-width: 100%;
  margin-top: -1px;
  padding: 4px 8px 3px;
  background: var(--home-poster-lime);
  color: #fff;
  line-height: 1.35;
  white-space: nowrap;
}

.home-poster-line-1 { transform: translateX(-6%); }
.home-poster-line-2 { transform: translateX(3%); }
.home-poster-line-3 { transform: translateX(-3%); }
.home-poster-line-4 { transform: translateX(4%); }
.home-poster-line-5 { transform: translateX(-4%); }
.home-poster-line-6 { transform: translateX(3%); }
.home-poster-line-7 { transform: translateX(0); }

.home-poster-note {
  position: absolute;
  z-index: 1;
  width: min(240px, 20vw);
  margin: 0;
  color: rgba(5, 5, 5, 0.56);
  font-family: "Courier New", monospace;
  font-size: clamp(9px, 0.76vw, 12px);
  font-style: normal;
  font-weight: 400;
  line-height: 1.26;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.home-poster-note strong,
.home-poster-note span {
  display: block;
  font: inherit;
}

.home-poster-note strong {
  margin-bottom: 5px;
  color: rgba(5, 5, 5, 0.42);
}

.home-poster-note-top-left {
  top: clamp(82px, 12vh, 112px);
  left: clamp(38px, 6vw, 104px);
}

.home-poster-note-top-right {
  top: clamp(82px, 12vh, 112px);
  right: clamp(62px, 8vw, 126px);
}

.home-poster-note-bottom-left {
  bottom: clamp(42px, 7vh, 72px);
  left: clamp(42px, 7vw, 114px);
}

.home-poster-note-bottom-right {
  right: clamp(46px, 8vw, 128px);
  bottom: clamp(42px, 7vh, 72px);
}

body #app #entry.entry .gate-scroll .gate-canvas > .gate-brand,
body #app #entry.entry .gate-scroll .gate-canvas > .gate-brand:hover {
  top: calc(49% + clamp(154px, 15vw, 194px)) !important;
  bottom: auto !important;
  min-width: 142px !important;
  min-height: 48px !important;
  padding: 9px 20px !important;
  border: 2px solid var(--home-poster-ink) !important;
  border-radius: 0 !important;
  background: var(--home-poster-ink) !important;
  color: #fff !important;
  font-family: "Press Start 2P", "Courier New", monospace !important;
  font-size: 11px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  transform: translateX(-50%) !important;
}

body #app #entry.entry .gate-scroll .gate-canvas > .gate-brand:hover,
body #app #entry.entry .gate-scroll .gate-canvas > .gate-brand:focus-visible {
  background: var(--home-poster-blue) !important;
  color: var(--home-poster-ink) !important;
  box-shadow: 3px 3px 0 var(--home-poster-ink) !important;
  transform: translate(-3px, 3px) translateX(-50%) !important;
}

@media (max-width: 900px) {
  .home-poster-manifesto {
    width: min(760px, 82vw);
    font-size: clamp(10px, 1.65vw, 14px);
  }

  .home-poster-note {
    width: min(190px, 25vw);
    font-size: clamp(8px, 1.1vw, 10px);
  }
}

@media (max-width: 640px) {
  body #app #entry.entry .gate-scroll .gate-canvas {
    height: max(100svh, 720px) !important;
    min-height: 720px !important;
  }

  .home-poster-manifesto {
    top: 46%;
    width: calc(100% - 34px);
    font-size: clamp(8px, 2.3vw, 10px);
    line-height: 1.45;
  }

  .home-poster-line {
    padding: 4px 6px 3px;
  }

  .home-poster-line-1,
  .home-poster-line-2,
  .home-poster-line-3,
  .home-poster-line-4,
  .home-poster-line-5,
  .home-poster-line-6,
  .home-poster-line-7 {
    transform: none;
  }

  .home-poster-note {
    width: 132px;
    font-size: 7.5px;
    line-height: 1.25;
  }

  .home-poster-note-top-left {
    top: 76px;
    left: 16px;
  }

  .home-poster-note-bottom-right {
    right: 16px;
    bottom: 28px;
  }

  .home-poster-note-top-right,
  .home-poster-note-bottom-left {
    display: none;
  }

  body #app #entry.entry .gate-scroll .gate-canvas > .gate-brand,
  body #app #entry.entry .gate-scroll .gate-canvas > .gate-brand:hover {
    top: 67% !important;
    min-width: 118px !important;
    min-height: 42px !important;
    padding: 8px 14px !important;
    font-size: 9px !important;
    box-shadow: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body #app #entry.entry .gate-scroll .gate-canvas > .gate-brand,
  body #app #entry.entry .gate-scroll .gate-canvas > .rm-sticker.rm-ref-sticker {
    transition: none !important;
  }
}

/* HOME: full-width navigation above the collage. */
body:not([data-view]) .gate-menu.app-menu,
body[data-view="home"] .gate-menu.app-menu {
  display: none !important;
}

.home2-manifesto-cluster {
  position: absolute;
  top: 49%;
  left: 50%;
  z-index: 3;
  width: min(820px, 70vw);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.home2-manifesto-cluster > .home-poster-manifesto {
  position: static;
  top: auto;
  left: auto;
  width: 100%;
  transform: none;
}

body #app #entry.entry .home-reference-poster > .home2-inline-menu {
  position: absolute;
  top: calc(var(--happly-banner-height, 0px) + 14px);
  bottom: auto;
  left: clamp(20px, 2.8vw, 44px);
  right: clamp(20px, 2.8vw, 44px);
  z-index: 260;
  display: flex;
  width: auto;
  max-width: none;
  padding: 0 2px 8px;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 1vw, 16px);
  box-sizing: border-box;
  border: 0;
  background: transparent;
  color: var(--home-poster-blue);
  box-shadow: none;
  backdrop-filter: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  pointer-events: auto;
  scrollbar-width: none;
  transform: none;
  -webkit-overflow-scrolling: touch;
}

body #app #entry.entry .home-reference-poster > .home2-inline-menu::-webkit-scrollbar {
  display: none;
}

body #app #entry.entry .home2-inline-menu a {
  display: inline-flex;
  min-height: 24px;
  padding: 3px 0;
  align-items: center;
  justify-content: center;
  color: var(--home-poster-blue);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: auto;
}

body #app #entry.entry .home2-inline-menu > span {
  color: var(--home-poster-blue);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 9px;
  line-height: 1;
  pointer-events: none;
}

body #app #entry.entry .home2-inline-menu a[aria-current="page"] {
  color: var(--home-poster-ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

body #app #entry.entry .home2-inline-menu a:hover,
body #app #entry.entry .home2-inline-menu a:focus-visible {
  color: var(--home-poster-ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

body #app #entry.entry .home2-inline-menu a:focus-visible {
  outline: 2px solid var(--home-poster-ink);
  outline-offset: 4px;
}

@media (max-width: 720px) {
  .home2-manifesto-cluster {
    top: 46%;
    width: calc(100% - 34px);
  }

  body #app #entry.entry .home-reference-poster > .home2-inline-menu {
    top: calc(var(--happly-banner-height, 0px) + 10px);
    bottom: auto;
    left: 0;
    right: 0;
    display: flex;
    width: 100%;
    max-width: none;
    padding: 0 16px 10px;
    justify-content: flex-start;
    gap: 12px;
  }

  body #app #entry.entry .home2-inline-menu a {
    flex: 0 0 auto;
    width: auto;
    min-height: 24px;
    padding: 3px 0;
    font-size: 11px;
    line-height: 1.35;
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  body #app #entry.entry .home-reference-poster > .home2-inline-menu {
    padding-inline: 12px;
  }
}
