/* CultiVis Header, BannerButton, MultiList, BoxOption and NavTip appearance. */
@font-face {
  font-family: 'CultiVis Lapture';
  src: url('../assets/followers/ui/lapture-bold.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'CultiVis Fira';
  src: url('../assets/followers/ui/fira-sans.ttf') format('truetype');
  font-display: swap;
}
.fa-invite {
  position: absolute;
  z-index: 6;
  right: 24px;
  bottom: calc(var(--bottom-inset) + 84px);
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #757575;
  background: #000e;
  color: #f5edd5;
  font:
    17px 'CultiVis Lapture',
    Georgia,
    serif;
}
.fa-dialog {
  position: absolute;
  z-index: 30;
  inset: 0 0 auto;
  height: calc(var(--cult-visible-height, 100%) - var(--bottom-inset));
  display: grid;
  grid-template-columns: minmax(340px, 44%) 1fr;
  color: #f5edd5;
  font:
    20px 'CultiVis Lapture',
    Georgia,
    serif;
  pointer-events: auto;
}
.fa-panel {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 9.8vh 24px 20px;
  background: #000;
}
.fa-panel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: -90px;
  width: 92px;
  background: #000;
  -webkit-mask: url('../assets/followers/ui/ink-mask.svg') center / 100% 100% no-repeat;
  mask: url('../assets/followers/ui/ink-mask.svg') center / 100% 100% no-repeat;
  pointer-events: none;
}
.fa-dialog[data-phase='admitting'],
.fa-dialog[data-phase='finalizing'],
.fa-dialog[data-phase='returning'] {
  visibility: hidden;
}
.fa-approaching {
  position: absolute;
  z-index: 31;
  left: 50%;
  bottom: calc(var(--bottom-inset) + 28px);
  transform: translateX(-50%);
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 8px 16px;
  color: #f5edd5;
  background: #000d;
  font:
    16px 'CultiVis Lapture',
    Georgia,
    serif;
  white-space: nowrap;
}
.fa-stop-approach {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #757575;
  background: #191619;
  color: #f5edd5;
}
#world[data-induction='focused'] .cf-cycle-lighting {
  visibility: hidden;
}
.fa-heading {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}
.fa-title {
  margin: 0;
  color: #f5edd5;
  text-align: center;
  font:
    clamp(25px, 1.9vw, 36px) 'CultiVis Lapture',
    Georgia,
    serif;
  letter-spacing: 0.02em;
}
.fa-swirl {
  flex: none;
  width: 50px;
  height: 24px;
  object-fit: contain;
}
.fa-mirror {
  transform: scaleX(-1);
}
.fa-fields {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0 12px 20px;
  scrollbar-width: thin;
  scrollbar-color: #242424 #000;
}
.fa-home {
  max-width: 390px;
  margin: auto;
}
.fa-section {
  margin-bottom: 18px;
}
.fa-section-title,
.fa-category {
  margin: 0 0 2px;
  color: #757575;
  font:
    italic clamp(18px, 1.55vw, 29px) 'Nunito',
    sans-serif;
}
.fa-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(297px, 100%);
  aspect-ratio: 4.1;
  min-height: 50px;
  margin: 0 auto;
  padding: 0 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #757575;
  font:
    clamp(20px, 1.65vw, 31px) 'CultiVis Lapture',
    Georgia,
    serif;
  text-align: center;
  letter-spacing: 0.03em;
  outline: none;
  touch-action: manipulation;
}
.fa-banner.fa-active {
  color: #f5edd5;
  background: url('../assets/followers/ui/banner.png') center / contain no-repeat;
}
.fa-name {
  display: block;
  text-overflow: ellipsis;
  user-select: text;
  -webkit-user-select: text;
}
.fa-banner:focus-visible {
  outline: none;
}
.fa-dice {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.fa-random-name,
.fa-random {
  font-size: clamp(16px, 1.2vw, 24px);
}
.fa-attributes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding-top: 10px;
}
.fa-trait {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0;
  background: #2b2b29;
}
.fa-trait-mark {
  font-size: 40px;
  color: #f5edd5;
}
.fa-trait::after {
  content: '▲';
  position: absolute;
  top: 2px;
  right: 2px;
  color: #01d5a2;
  font-size: 18px;
}
.fa-trait strong,
.fa-trait-description,
.fa-trait-note {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.fa-trait-swirl {
  flex-basis: 100%;
  width: 140px;
  height: 28px;
  object-fit: contain;
  opacity: 0.75;
}
.fa-footer {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 24px;
  padding-top: 8px;
}
.fa-error {
  flex-basis: 100%;
  margin: 0;
  color: #ffb59c;
  font-size: 14px;
}
.fa-error:empty {
  display: none;
}
.fa-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f5edd5;
  font:
    13px 'CultiVis Lapture',
    Georgia,
    serif;
  text-align: left;
  touch-action: manipulation;
}
.fa-nav kbd {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: #f5edd5;
  color: #160f00;
  font:
    17px 'CultiVis Lapture',
    Georgia,
    serif;
}
.fa-nav:focus-visible {
  outline: 1px solid #f32002;
  outline-offset: 5px;
}
.fa-dialog button:disabled {
  cursor: default;
}
.fa-dialog button:disabled,
.fa-name:disabled {
  opacity: 0.45;
}
.fa-picker-title {
  margin: 18px 0 24px;
  text-align: center;
  font:
    24px 'CultiVis Lapture',
    Georgia,
    serif;
}
.fa-category {
  margin: 20px 0 10px;
  font-size: 15px;
}
.fa-forms,
.fa-colors,
.fa-variants {
  display: grid;
  grid-template-columns: repeat(auto-fit, 64px);
  justify-content: center;
  gap: 12px 18px;
}
.fa-form,
.fa-variant {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  min-height: 64px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #757575;
  font:
    12px 'CultiVis Lapture',
    Georgia,
    serif;
  touch-action: manipulation;
}
.fa-form-icon {
  position: relative;
  flex: none;
  display: block;
  width: 64px;
  height: 64px;
  background-repeat: no-repeat;
  pointer-events: none;
}
.fa-form-name {
  display: none;
  max-width: 80px;
  min-height: 20px;
  line-height: 1.1;
}
.fa-form[aria-pressed='true'],
.fa-variant[aria-pressed='true'] {
  color: #f5edd5;
  box-shadow: inset 0 0 0 2px #f32002;
}
.fa-form:focus,
.fa-variant:focus,
.fa-color:focus {
  outline: 2px solid #f32002;
  outline-offset: 2px;
}
.fa-color {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 4px;
  border: 0;
  background: transparent;
  touch-action: manipulation;
}
.fa-color span {
  position: relative;
  width: 40px;
  height: 40px;
  border: 2px solid;
  border-radius: 50%;
}
.fa-color[aria-pressed='true'] {
  box-shadow: inset 0 0 0 2px #f32002;
}
.fa-form::before,
.fa-variant::before,
.fa-color::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/followers/ui/option-box.png') top center / 64px 64px no-repeat;
  filter: brightness(0.35);
  pointer-events: none;
}
.fa-form[aria-pressed='true']::before,
.fa-variant[aria-pressed='true']::before,
.fa-color[aria-pressed='true']::before {
  filter: brightness(0.75);
}
.fa-variant > span:last-child:not(.fa-form-icon) {
  display: none;
}
.fa-preview {
  position: relative;
  min-width: 0;
  min-height: 0;
  pointer-events: none;
  background: linear-gradient(#0002, transparent 25%, transparent 75%, #0008);
}
.fa-preview-name {
  display: none;
  position: absolute;
  bottom: 35px;
  left: 20px;
  right: 20px;
  text-align: center;
  color: #f5edd5;
  font-size: 32px;
  text-shadow: 0 2px 5px #000;
  overflow-wrap: anywhere;
}
body[data-follower-mode]:not([data-follower-mode='camp'])
  :is(
    .cf-heading,
    .cf-back,
    .cf-stick,
    .cf-build-open,
    .cf-time-root
  ) {
  visibility: hidden;
}
#overlay:not([data-state='ready']) .cf-follower-root {
  visibility: hidden;
}
body[data-build-mode='menu'] .fa-invite,
body[data-build-mode='placement'] .fa-invite {
  visibility: hidden;
}
.fa-greeting {
  position: absolute;
  z-index: 30;
  inset: 0 0 var(--bottom-inset);
  pointer-events: auto;
}
.fa-greeting-continue {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(650px, 85%);
  min-height: 184px;
  padding: 22px 36px 42px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: none;
  background: #000;
  color: #f5edd5;
  clip-path: polygon(
    0 3%,
    3% 1%,
    17% 2%,
    26% 0,
    40% 2%,
    57% 0,
    73% 2%,
    99% 0,
    100% 93%,
    53% 93%,
    50% 100%,
    47% 93%,
    0 93%,
    1% 70%,
    0 51%,
    1% 22%
  );
  text-align: center;
  font:
    clamp(18px, 1.6vw, 28px) / 1.4 'CultiVis Fira',
    sans-serif;
}
.fa-greeting-name {
  color: #f5e800;
  font:
    clamp(25px, 2vw, 36px) 'CultiVis Lapture',
    Georgia,
    serif;
}
.fa-greeting-arrow {
  position: absolute;
  bottom: 24px;
  right: 22px;
  font-size: 24px;
}
.fa-greeting-back {
  position: absolute;
  left: 24px;
  bottom: 20px;
}
.fa-greeting-continue:focus-visible {
  outline: 2px solid #f5edd5;
  outline-offset: -8px;
}
@media (max-width: 1024px) {
  .fa-dialog {
    grid-template-columns: minmax(340px, 46%) 1fr;
  }
  .fa-panel {
    padding-top: 30px;
  }
  .fa-title {
    font-size: 21px;
  }
  .fa-swirl {
    width: 36px;
  }
  .fa-fields {
    padding-inline: 0;
  }
  .fa-section-title {
    margin-left: 8px;
  }
}
@media (max-width: 620px) and (orientation: portrait) {
  .fa-dialog {
    grid-template-columns: 1fr;
    grid-template-rows: 32% 1fr;
  }
  .fa-preview {
    grid-row: 1;
  }
  .fa-panel {
    grid-row: 2;
    padding: 10px 18px 4px;
  }
  .fa-heading {
    margin-bottom: 4px;
  }
  .fa-home {
    max-width: 300px;
  }
  .fa-section {
    margin-bottom: 10px;
  }
  .fa-preview-name {
    bottom: 10px;
    font-size: 22px;
  }
  .fa-footer {
    padding-top: 2px;
  }
}
@media (max-height: 600px) and (orientation: landscape) {
  .fa-panel {
    padding-top: 12px;
    padding-inline: 18px;
  }
  .fa-heading {
    margin-bottom: 4px;
  }
  .fa-title {
    font-size: 18px;
  }
  .fa-swirl {
    width: 26px;
  }
}
