.lego-header {
  z-index: 100;
  background-color: #000;
  width: 100%;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

.lego-mobile-header:not(.is-app) {
  padding-top: env(safe-area-inset-top);
}

.lego-mobile-header [data-slot="app-header-surface"] > div {
  background-color: #000;
}

.lego-mobile-header_item {
  cursor: pointer;
  align-items: center;
  min-width: 24px;
  min-height: 24px;
  display: inline-flex;
}

.lego-mobile-header_item:active {
  opacity: .8;
}

* {
  box-sizing: border-box;
}

#__next, body, html {
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--kds-background-default);
  color: var(--kds-text-primary);
}

.lego-kudos-layout {
  background: #000;
  min-height: 100vh;
}

.lego-kudos-mobile-header {
  z-index: 100;
  width: 100%;
  min-height: 52px;
  padding: max(8px,env(safe-area-inset-top)) 16px 8px;
  pointer-events: none;
  align-items: center;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
}

.lego-kudos-mobile-header button {
  color: #fff;
  pointer-events: auto;
  background: #00000073;
  border: 0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 22px;
}

.lego-kudos-page__content, .lego-kudos-tasks, .lego-kudos-text {
  width: min(100% - 32px, 1200px);
  margin-left: auto;
  margin-right: auto;
}

.lego-kudos-hero {
  min-height: 420px;
  position: relative;
  overflow: hidden;
}

.lego-kudos-hero__image {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
}

.lego-kudos-hero__body {
  z-index: 1;
  width: min(100% - 32px, 1200px);
  margin-left: auto;
  margin-right: auto;
  padding-top: 120px;
  position: relative;
}

.lego-kudos-tasks__list {
  grid-gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  display: grid;
}

.lego-kudos-task {
  background: #171717;
  border: 1px solid #ffffff1f;
  border-radius: 8px;
  padding: 20px;
}

.landing-page-placeholder, .lego-page-placeholder {
  background: var(--kds-background);
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 64px);
  padding: 32px 16px 48px;
  display: flex;
}

@media (max-width: 720px) {
  .landing-page-placeholder, .lego-page-placeholder {
    min-height: calc(100vh - 52px);
    padding: 20px 12px 32px;
  }
}
