/* unreal agent identity on the Kaviyan layout */
a[name="Logo"] {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  width: auto !important;
  min-width: 132px;
  text-decoration: none;
}
a[name="Logo"] [data-framer-component-type="SVG"] {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px;
  background: url("/brand/mark.png") center / contain no-repeat !important;
  flex: none;
}
a[name="Logo"] [data-framer-component-type="SVG"] svg,
a[name="Logo"] [data-framer-component-type="SVG"] img {
  opacity: 0 !important;
}
a[name="Logo"]::after {
  content: "unreal";
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: #181c22;
  line-height: 1;
}

/* Headline chip keeps its black rounded square. The cloud becomes the moving house. */
[data-framer-name="Headline Chip"] {
  background-color: #111111 !important;
  background-image: url("/brand/mascot-idle.webp") !important;
  background-repeat: no-repeat !important;
  background-position: center 58% !important;
  background-size: 88% !important;
}
[data-framer-name="Headline Chip"] svg {
  opacity: 0 !important;
}

.fan-tip {
  position: fixed;
  z-index: 30;
  max-width: 260px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #161616;
  color: #fff;
  font: 500 13px/1.35 Inter, system-ui, sans-serif;
  pointer-events: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.fan-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform-origin: 50% 62%;
  will-change: transform;
}
.fan-still,
.fan-live,
.fan-marks {
  position: absolute;
  display: block;
}
.fan-still {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.35s ease;
}
.fan-live,
.fan-marks {
  opacity: 0;
  transition: opacity 0.35s ease;
}
.fan-live canvas {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}
.fan-art.is-live .fan-live,
.fan-art.is-live .fan-marks {
  opacity: 1;
}
.fan-art.is-live .fan-still {
  opacity: 0;
}

/* House mascot as the favicon stand-in is set in HTML. Hide the Framer badge. */
#__framer-badge-container,
[class*="framer-badge"] {
  display: none !important;
}

@media (max-width: 809.98px) {
  .framer-11t246a h1.framer-text,
  .framer-1or2ro6 p.framer-text {
    font-size: 38px !important;
  }
}

.ua-video {
  width: 100%;
  padding: 8px;
  border-radius: 32px;
  background: rgb(237, 237, 237);
  box-sizing: border-box;
}
.ua-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: #f6f6f4;
}
.ua-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ua-video-toggle {
  position: absolute;
  left: 20px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border: 0;
  border-radius: 999px;
  background: #161616;
  color: #fff;
  font: 500 14px/1 Inter, system-ui, sans-serif;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, opacity 0.3s ease;
}
.ua-video-toggle:hover {
  transform: translateY(-2px);
}
.ua-video-toggle svg {
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: 50%;
  background: #2ecc71;
  color: #0c2414;
  box-sizing: border-box;
}
.ua-video-toggle em {
  font-style: normal;
  opacity: 0.55;
}
.ua-video.is-playing .ua-video-toggle {
  opacity: 0.72;
}
.ua-video.is-playing .ua-video-toggle:hover {
  opacity: 1;
}
.ua-video-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(0, 0, 0, 0.08);
}
.ua-video-bar i {
  display: block;
  height: 100%;
  background: #161616;
  transform: scaleX(0);
  transform-origin: 0 50%;
}
@media (max-width: 809.98px) {
  .ua-video {
    border-radius: 24px;
    padding: 6px;
  }
  .ua-video-frame {
    border-radius: 18px;
  }
  .ua-video-toggle {
    left: auto;
    right: 12px;
    bottom: 14px;
    font-size: 13px;
  }
  .ua-video-toggle {
    padding: 5px;
  }
  .ua-video-toggle span,
  .ua-video-toggle em {
    display: none;
  }
  .ua-video-toggle svg {
    width: 28px;
    height: 28px;
    padding: 6px;
  }
}

/* About crew filter: local tab state (brand/careers-filter.js) */
[data-ua-tab] { transition: background-color 0.2s ease; }
[data-ua-tab="on"] { background-color: rgb(15, 15, 15) !important; }
[data-ua-tab="on"] p { color: rgb(250, 250, 250) !important; }
[data-ua-tab="on"] [data-framer-name="Dot Wrap"] { opacity: 1 !important; width: 16px !important; }
[data-ua-tab="off"] { background-color: rgb(237, 237, 237) !important; }
[data-ua-tab="off"] p { color: rgb(15, 15, 15) !important; }
[data-ua-tab="off"] [data-framer-name="Dot Wrap"] { opacity: 0 !important; width: 0 !important; }
