.menu {
  position: absolute;
  z-index: 52;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px 0;
  border-radius: 20px;
  background-color: var(--color-surface-dark-primary);
  max-width: 200px;
  max-height: 400px;
  box-sizing: border-box;
  overflow: hidden;
}
.menu__item {
  --menu-item-bg: transparent;
  --menu-item-color: var(--color-content-light-primary);
  padding: 0 16px;
  height: 48px;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  user-select: none;
  background-color: var(--menu-item-bg, transparent);
}
.menu__item__icon {
  width: 24px;
  height: 24px;
}
.menu__item__icon svg {
  width: 100%;
  height: 100%;
}
.menu__item__icon svg [fill] {
  fill: var(--menu-item-color);
}
.menu__item__title {
  font-size: 16px;
  font-weight: 500;
  color: var(--menu-item-color);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.menu__item:hover,
.menu__item:active {
  --menu-item-bg: var(--color-surface-light-primary);
  --menu-item-color: var(--color-content-dark-primary);
}
.menu__item * {
  pointer-events: none;
}
.menu-overlay {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
}

.notification {
  display: flex;
  flex-direction: row;
  padding: 16px;
  gap: 12px;
  border-radius: 16px;
  align-items: center;
  position: absolute;
  left: 12px;
  right: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  will-change: transform, opacity;
  cursor: grab;
}
.notification.--top {
  top: 12px;
}
.notification.--bottom {
  bottom: 12px;
}
.notification.--bottom.--transition {
  transform: translateY(10px);
}
.notification.--bottom.--transition.--visible {
  transform: translateY(0);
}
.notification.--dragging {
  cursor: grabbing;
}
.notification a {
  font-size: 14px;
  color: #fff;
  pointer-events: auto;
  user-select: auto;
  -webkit-user-select: auto;
}
.notification__text {
  font-size: 14px;
  line-height: 18px;
  flex: 1;
  pointer-events: none;
}
.notification.--normal {
  background: rgba(0, 0, 0, 0.7);
  color: var(--color-content-light-primary);
}
.notification.--normal svg [fill] {
  fill: var(--color-content-light-primary);
}
.notification.--error {
  background: var(--color-error);
  color: var(--color-content-light-primary);
}
.notification.--error svg [fill] {
  fill: var(--color-content-light-primary);
}

.stories {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background-color 0.4s ease;
}
.stories__header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: calc(env(safe-area-inset-top) + 8px) 12px 0;
  display: flex;
  gap: 4px;
}
.stories__progress-item {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
}
.stories__progress-fill {
  height: 100%;
  width: 0%;
  background: #fff;
  will-change: width;
  border-radius: 2px;
}
.stories__slider {
  display: flex;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.stories__page {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 40px 20px calc(env(safe-area-inset-bottom) + 40px);
  box-sizing: border-box;
  color: #fff;
  text-align: center;
}
.stories__background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.stories__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 2;
}
.stories__content {
  position: relative;
  z-index: 3;
  text-align: left;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 340px;
  margin: 0 auto;
}
.stories__title {
  font-size: 24px;
  font-weight: 700;
}
.stories__text {
  font-size: 16px;
  line-height: 22px;
}
.stories__tap-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 25%;
  z-index: 5;
}
.stories__tap-zone.--left {
  left: 0;
}
.stories__tap-zone.--right {
  right: 0;
}

.dialog {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--color-body-light);
  border-radius: 36px;
  display: flex;
  flex-direction: column;
  min-height: 100px;
  min-width: min(320px, calc(100vw - 40px));
}
.dialog__header {
  padding: 24px 24px 12px;
  font-family: var(--font-family-heading);
  font-size: 24px;
}
.dialog__content {
  overflow-x: hidden;
  overflow-y: scroll;
  padding: 12px 24px;
}
.dialog__content [data-event="prompt"] {
  user-select: text;
}
.dialog__footer {
  padding: 12px 24px 24px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: flex-end;
}
.dialog__footer .button {
  flex: 1;
}
.dialog-scrim {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.nav-bar {
  padding: 12px 12px calc(env(safe-area-inset-bottom) + 12px);
  background: linear-gradient(to bottom, rgba(243, 244, 246, 0) 20%, #f3f4f6 100%);
  display: flex;
  justify-content: center;
}
.nav-bar__container {
  display: flex;
  flex-direction: row;
  padding: 4px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 260px;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25), 0px 0px 10px 0px rgba(0, 0, 0, 0.08);
}
.nav-bar__button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  gap: 0;
  height: 56px;
  position: relative;
  color: var(--color-content-dark-primary);
}
.nav-bar__button svg [fill] {
  fill: var(--color-content-dark-primary);
}
.nav-bar__button__icon svg {
  width: 24px;
  height: 24px;
}
.nav-bar__button__title {
  font-family: var(--font-family-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 18px;
  margin-top: -2px;
}
.nav-bar__button .badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translate(calc(-50% + 20px), -50%);
}
.nav-bar__button * {
  pointer-events: none;
}
.nav-bar__button.--selected .nav-bar__button__icon {
  animation: icon 0.25s ease-in-out;
}
.nav-bar__button.--selected {
  background: var(--color-surface-dark-primary);
  color: var(--color-content-light-primary);
}
.nav-bar__button.--selected svg [fill] {
  fill: var(--color-content-light-primary);
}
[data-theme="dark"] .nav-bar {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 20%, #000000 100%);
}
[data-theme="dark"] .nav-bar__container {
  background: rgba(64, 64, 64, 0.7);
}
[data-theme="dark"] .nav-bar__button {
  color: var(--color-content-light-primary);
}
[data-theme="dark"] .nav-bar__button svg [fill] {
  fill: var(--color-content-light-primary);
}
[data-theme="dark"] .nav-bar__button.--selected {
  background: var(--color-surface-light-primary);
  color: var(--color-content-dark-primary);
}
[data-theme="dark"] .nav-bar__button.--selected svg [fill] {
  fill: var(--color-content-dark-primary);
}
@keyframes icon {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-4px);
  }
  to {
    transform: translateY(0px);
  }
}

.selector {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 2px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  --selector-background: var(--color-surface-dark-secondary);
  --selector-color: var(--color-content-dark-primary);
}
.selector.--full-width {
  display: grid;
  width: 100%;
}
[data-theme="dark"] .selector__item {
  --selector-background: var(--color-surface-light-tertiary);
  --selector-color: var(--color-content-light-primary);
}
[data-theme="dark"] .selector__item.--selected {
  --selector-background: var(--color-surface-light-primary);
  --selector-color: var(--color-content-dark-primary);
}
.selector__item {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: var(--selector-background);
  padding: 0 12px;
  min-width: 56px;
}
.selector__item.--selected {
  --selector-background: var(--color-surface-dark-primary);
  --selector-color: var(--color-content-light-primary);
}
.selector__item__title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  color: var(--selector-color);
  font-size: 14px;
  font-weight: 700;
}
.selector__item * {
  pointer-events: none;
}
.selector.--small {
  height: 32px;
  border-radius: 16px;
}
.selector.--small__item {
  padding: 0 8px;
  min-width: 40px;
}

.slider {
  position: relative;
  height: 72px;
  display: flex;
}
.slider__track {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 34px;
  height: 4px;
  background-color: var(--color-surface-dark-secondary);
  border-radius: 2px;
}
.slider__thumb {
  width: 36px;
  height: 36px;
  background-color: var(--color-surface-dark-primary);
  border-radius: 18px;
  position: absolute;
  top: -16px;
  margin-left: -18px;
}
.slider__text {
  position: absolute;
  top: -24px;
  font-size: 14px;
  font-weight: 500;
  width: 64px;
  text-align: center;
  left: 50%;
  margin-left: -32px;
}

.user-card {
  padding: 8px;
  box-sizing: border-box;
  border-radius: 16px;
  background-color: var(--color-surface-dark-secondary);
  color: var(--color-content-dark-primary);
  width: 96px;
  position: relative;
}
.user-card.--me {
  border: 2px solid var(--color-accent-orange);
}
.user-card__title {
  height: 32px;
}
.user-card.--has-time {
  padding-bottom: 8px;
}
.user-card__comment {
  position: absolute;
  top: 52px;
  right: 6px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-surface-dark-primary);
}
.user-card__comment svg {
  width: 16px;
  height: 16px;
}
.user-card__comment svg [fill] {
  fill: var(--color-content-light-primary);
}
.user-card[data-mode="short"] .user-card__comment {
  width: 24px;
  height: 24px;
  top: 24px;
  right: 6px;
}
.user-card[data-mode="short"] .user-card__comment svg {
  width: 12px;
  height: 12px;
}
.user-card[data-mode="short"] {
  width: 72px;
  padding: 8px;
  border-radius: 12px;
}
.user-card[data-mode="short"].--has-time {
  padding-bottom: 6px;
}
.user-card[data-mode="more"] {
  height: 100%;
  width: 72px;
}
.user-card[data-mode="list"] {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 12px 8px 8px;
  border-radius: 16px;
  box-sizing: border-box;
}
.user-card[data-mode="list"] [data-event="user"] {
  pointer-events: auto;
  min-width: 0;
}
.user-card[data-mode="list"] [data-event="user"] * {
  pointer-events: none;
}
.user-card[data-mode="list"] .user-card__text {
  min-width: 0;
  flex: 1;
}
.user-card[data-mode="list"] .user-card__title {
  height: auto;
  min-width: 0;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-card[data-mode="list"] .user-card__meta {
  min-width: 0;
}
.user-card[data-mode="list"] .user-card__meta [data-event="from-user"] {
  pointer-events: auto;
}
.user-card[data-mode="list"] .user-card__time,
.user-card[data-mode="list"] .user-card__sep {
  flex-shrink: 0;
}
.user-card[data-mode="list"] .user-card__caption {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-card[data-mode="list"] .user-card__trailing {
  flex-shrink: 0;
}
.user-card[data-mode="list"] .user-card__trailing [data-event] {
  pointer-events: auto;
}
.user-card[data-mode="list"] .user-card__avatars {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.user-card[data-mode="list"] .user-card__avatars .avatar {
  box-sizing: border-box;
  border: 2px solid var(--color-surface-dark-secondary);
  pointer-events: auto;
}
.user-card[data-mode="list"] .user-card__avatars .avatar:not(:first-child) {
  margin-left: -12px;
}
.user-card[data-mode="list"] .user-card__avatars .avatar:nth-child(1) {
  z-index: 1;
}
.user-card[data-mode="list"] .user-card__avatars .avatar:nth-child(2) {
  z-index: 2;
}
.user-card[data-mode="list"] .user-card__avatars .avatar:nth-child(3) {
  z-index: 3;
}
.user-card[data-mode="list"] .user-card__actions {
  flex-shrink: 0;
}
.user-card[data-mode="list"] .user-card__actions .button {
  pointer-events: auto;
}
.user-card * {
  pointer-events: none;
}
.--flex.--cols-3 .user-card {
  width: 100%;
}
[data-theme="dark"] .user-card {
  background-color: var(--color-surface-light-tertiary);
}
[data-theme="dark"] .user-card[data-mode="list"] .user-card__avatars .avatar {
  border-color: var(--color-surface-light-tertiary);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  user-select: none;
}
.overlay__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  flex: 1;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: scroll;
  padding: 24px;
}
.overlay__footer {
  padding: 24px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: center;
}
.overlay__footer .button {
  flex: 1;
}
.overlay.--achievement,
.overlay.--gift {
  background-color: #000;
  color: #fff;
}
.overlay.--achievement .overlay__content,
.overlay.--gift .overlay__content {
  gap: 40px;
  padding-top: 100px;
  justify-content: center;
}
.overlay.--achievement h1,
.overlay.--gift h1 {
  color: hsl(48, 100%, 64%);
  text-shadow: 0 0 30px rgba(255, 218, 71, 0.8), 0 0 10px rgba(255, 218, 71, 0.5);
  animation: achievementAppear 0.1s ease-out;
  animation-delay: 0.2s;
  opacity: 0;
  animation-fill-mode: forwards;
}
.overlay.--achievement .achievements,
.overlay.--gift .achievements,
.overlay.--achievement .gifts,
.overlay.--gift .gifts {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  position: relative;
}
.overlay.--achievement .achievements__item,
.overlay.--gift .achievements__item,
.overlay.--achievement .gifts__item,
.overlay.--gift .gifts__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: achievementItem 0.1s ease-out;
  animation-delay: 0.4s;
  opacity: 0;
  animation-fill-mode: forwards;
  z-index: 1;
}
.overlay.--achievement .achievements__item > img,
.overlay.--gift .achievements__item > img,
.overlay.--achievement .gifts__item > img,
.overlay.--gift .gifts__item > img {
  width: 96px;
  height: 96px;
}
.overlay.--achievement .achievements__item > div,
.overlay.--gift .achievements__item > div,
.overlay.--achievement .gifts__item > div,
.overlay.--gift .gifts__item > div {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}
.overlay.--achievement .achievements__item.--big > img,
.overlay.--gift .achievements__item.--big > img,
.overlay.--achievement .gifts__item.--big > img,
.overlay.--gift .gifts__item.--big > img {
  width: 200px;
  height: 200px;
}
.overlay.--achievement .achievements__item.--big > div,
.overlay.--gift .achievements__item.--big > div,
.overlay.--achievement .gifts__item.--big > div,
.overlay.--gift .gifts__item.--big > div {
  font-size: 20px;
  line-height: 26px;
}
.overlay.--achievement .achievements__item *,
.overlay.--gift .achievements__item *,
.overlay.--achievement .gifts__item *,
.overlay.--gift .gifts__item * {
  pointer-events: none;
}
.overlay.--achievement .achievements__glow,
.overlay.--gift .achievements__glow,
.overlay.--achievement .gifts__glow,
.overlay.--gift .gifts__glow {
  background: url(/assets/images/glow.png) center center no-repeat transparent;
  background-size: 320px 320px;
  width: 320px;
  height: 320px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  animation: achievementGlow 16s linear infinite;
}
.overlay.--achievement .text,
.overlay.--gift .text {
  animation: achievementAppear 0.1s ease-out;
  animation-delay: 0.6s;
  opacity: 0;
  animation-fill-mode: forwards;
}
.overlay.--achievement .overlay__gift-message,
.overlay.--gift .overlay__gift-message {
  max-width: 320px;
  animation: achievementAppear 0.1s ease-out;
  animation-delay: 0.55s;
  opacity: 0;
  animation-fill-mode: forwards;
}
.overlay.--achievement .overlay__footer .button,
.overlay.--gift .overlay__footer .button {
  background-color: #FFDA47;
  color: #000;
}
.overlay.--achievement .overlay__footer .button:hover,
.overlay.--gift .overlay__footer .button:hover {
  background-color: #e6c335;
}
.overlay.--achievement .overlay__footer .button:active,
.overlay.--gift .overlay__footer .button:active {
  background-color: #c9a723;
}
@keyframes achievementAppear {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes achievementItem {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes achievementGlow {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.scroller {
  position: relative;
}
.scroller__content {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  position: relative;
  height: 100%;
}
.scroller__content::-webkit-scrollbar {
  display: none;
}
.scroller.--dots-outside.--has-dots .scroller__content {
  margin-bottom: 8px;
}
.scroller.--dots-outside.--dots-top.--has-dots .scroller__content {
  margin-top: 8px;
  margin-bottom: 0;
}
.scroller__item {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
}
.scroller__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
}
.scroller.--dots-top .scroller__dots {
  top: 12px;
  bottom: auto;
}
.scroller.--dots-outside .scroller__dots {
  position: relative;
  height: 24px;
  top: auto;
  bottom: auto;
}
.scroller__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background-color: var(--color-content-dark-tertiary);
  transition: background-color 0.2s;
}
.scroller__dot.--active {
  background-color: var(--color-content-dark-primary);
}
[data-theme="dark"] .scroller__dot {
  background-color: var(--color-content-dark-secondary);
}
[data-theme="dark"] .scroller__dot.--active {
  background-color: var(--color-content-light-primary);
}

.no-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 240px;
  min-height: 360px;
  margin: 0 auto;
  user-select: none;
}
.no-content__icon {
  width: 96px;
  height: 96px;
}
.no-content__icon svg {
  width: 100%;
  height: 100%;
}
.no-content__icon svg [fill] {
  fill: var(--color-content-dark-primary);
}
.no-content__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.no-content__title {
  font-size: 20px;
  line-height: 26px;
  text-align: center;
  color: var(--color-content-dark-primary);
  font-family: var(--font-family-heading);
  font-weight: 600;
  text-transform: uppercase;
}
.no-content__text {
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  color: var(--color-content-dark-primary);
  pointer-events: none;
}
.no-content__text a {
  pointer-events: auto;
  color: inherit;
  text-decoration: underline;
}
[data-theme="dark"] .no-content__icon svg [fill] {
  fill: var(--color-content-light-primary);
}
[data-theme="dark"] .no-content__title {
  color: var(--color-content-light-primary);
}
[data-theme="dark"] .no-content__text {
  color: var(--color-content-light-secondary);
}
.no-content[data-mode="short"] {
  min-height: auto;
}
.no-content[data-mode="short"] .no-content__content {
  gap: 4px;
}
.no-content[data-mode="short"] .no-content__text {
  font-size: 12px;
  line-height: 18px;
}

.i-play-here .my-visit {
  height: 64px;
  box-sizing: border-box;
  padding: 8px 20px 8px 8px;
  border-radius: 32px;
  background-color: var(--color-accent-orange);
  color: var(--color-content-light-primary);
  cursor: pointer;
  user-select: none;
}
.i-play-here .my-visit:not(.--circle) svg [fill] {
  fill: var(--color-content-light-primary);
}
.i-play-here .my-visit__title {
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
  color: var(--color-content-light-primary);
  font-family: var(--font-family-heading);
  text-transform: uppercase;
  min-width: 0;
}
.i-play-here .my-visit__time {
  font-size: 11px;
  line-height: 12px;
  font-weight: 600;
  color: var(--color-content-light-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  text-align: center;
}
.i-play-here .my-visit.--small {
  height: 48px;
  padding: 6px 16px 6px 6px;
  border-radius: 24px;
}
.i-play-here .my-visit.--small__title {
  font-size: 14px;
}
.i-play-here .my-visit.--circle {
  width: 64px;
  height: 64px;
  padding: 4px;
  border-radius: 100%;
  flex-shrink: 0;
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25), 0px 0px 10px 0px rgba(0, 0, 0, 0.08);
}
.i-play-here .my-visit * {
  pointer-events: none;
}
.i-play-here .add-visit {
  height: 52px;
  box-sizing: border-box;
  padding: 8px 16px 8px 8px;
  border-radius: 32px;
  background-color: var(--color-accent-orange);
  color: var(--color-content-light-primary);
  cursor: pointer;
  user-select: none;
}
.i-play-here .add-visit svg [fill] {
  fill: var(--color-content-light-primary);
}
.i-play-here .add-visit__title {
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
  color: var(--color-content-light-primary);
  font-family: var(--font-family-heading);
  text-transform: uppercase;
}
.i-play-here .add-visit__subtitle {
  font-size: 14px;
  color: var(--color-content-light-primary);
  font-weight: 600;
}
.i-play-here .add-visit * {
  pointer-events: none;
}
.i-play-here .add-visit.--loading {
  pointer-events: none;
  opacity: 0.5;
}
.i-play-here .add-visit.--loading > * {
  animation: blink 1s infinite 0.25s;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}


.court {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.court__photos {
  overflow: hidden;
}
.court__photos .scroller__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.court[data-mode="full"] .court__photos {
  height: 280px;
  margin: calc(-64px - 20px) -20px 0;
}
.court[data-mode="short"] .court__photos {
  width: 64px;
  height: 64px;
  border-radius: 8px;
}
.court__no-photos {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.court__no-photos * {
  pointer-events: none;
}
.court[data-mode="full"] .court__no-photos {
  background-color: var(--color-surface-dark-secondary);
  height: 280px;
  margin: calc(-64px - 20px) -20px 0;
}
.court[data-mode="full"] .court__no-photos svg {
  margin-top: 20px;
  width: 36px;
  height: 36px;
}
.court[data-mode="full"] .court__no-photos svg [fill] {
  fill: var(--color-content-dark-secondary);
}
.court[data-mode="short"] .court__no-photos {
  background-color: var(--color-surface-dark-primary);
  width: 64px;
  height: 64px;
  border-radius: 8px;
}
.court[data-mode="short"] .court__no-photos svg {
  width: 24px;
  height: 24px;
}
.court[data-mode="short"] .court__no-photos svg [fill] {
  fill: var(--color-content-light-tertiary);
}
.court__details {
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  color: var(--color-content-dark-secondary);
  user-select: none;
}
.court[data-mode="short"] .court__content * {
  pointer-events: none;
}
.court .button {
  pointer-events: all;
}

.location__icon {
  width: 24px;
  height: 24px;
}
.location__icon svg {
  width: 100%;
  height: 100%;
}
.location__icon svg [fill] {
  fill: var(--color-accent-orange-light);
}
.location__title {
  font-size: 24px;
  line-height: 28px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--color-accent-orange-light);
  pointer-events: none;
  font-family: var(--font-family-heading);
}

.price {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 6px;
  border-radius: 20px;
  min-height: 28px;
  height: auto;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  background-color: var(--color-accent-yellow);
}
.price__icon {
  display: flex;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-right: -4px;
}
.price__icon svg {
  width: 100%;
  height: 100%;
}
.price__icon svg [fill] {
  fill: var(--color-black);
}
.price__title {
  color: var(--color-black);
  font-weight: 500;
  font-size: 16px;
  min-width: 0;
  white-space: nowrap;
  text-align: left;
}
.price * {
  pointer-events: none;
}

.user[data-mode="short"] [data-event="court"] {
  cursor: pointer;
}
.user .avatar-picker input {
  display: none;
}

.time-picker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.time-picker__scroller {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.time-picker__items {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 calc(50% - 36px);
  box-sizing: border-box;
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.time-picker__items::-webkit-scrollbar {
  display: none;
}
.time-picker__item {
  --time-picker-color: var(--color-content-dark-primary);
  --time-picker-past-color: var(--color-content-dark-disabled);
  --time-picker-selected-background: var(--color-surface-dark-primary);
  --time-picker-selected-color: var(--color-content-light-primary);
  width: 82px;
  height: 42px;
  flex: 0 0 auto;
  scroll-snap-align: center;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--time-picker-color);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
.time-picker__item.--past {
  color: var(--time-picker-past-color);
}
.time-picker__item.--selected {
  background-color: var(--time-picker-selected-background);
  color: var(--time-picker-selected-color);
}
[data-theme="dark"] .time-picker__item {
  --time-picker-color: var(--color-content-light-primary);
  --time-picker-past-color: var(--color-content-light-disabled);
  --time-picker-selected-background: var(--color-surface-light-primary);
  --time-picker-selected-color: var(--color-content-dark-primary);
}

.sheet {
  position: absolute;
  z-index: 52;
  left: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  min-height: 100px;
  min-width: 100px;
  color: var(--color-content-light-primary);
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25), 0px 0px 10px 0px rgba(0, 0, 0, 0.08);
  max-width: 340px;
  margin: 0 auto;
  gap: 16px;
  padding: 16px;
  box-sizing: border-box;
  overflow: hidden;
}
.sheet [data-event="edit-comment"] {
  max-width: 100%;
  cursor: pointer;
}
.sheet[data-type="my-visit"] [data-event="more"] {
  position: absolute;
  top: 8px;
  right: 8px;
  cursor: pointer;
}
.sheet[data-type="my-visit"] [data-event="visits"] {
  cursor: pointer;
}
.sheet[data-type="my-visit"] [data-component="visits"] .--outside {
  margin: 0 -16px;
  width: calc(100% + 32px);
  padding: 0 16px;
}
.sheet.--top {
  top: calc(env(safe-area-inset-top) + 64px);
  max-height: min(70dvh, calc(100% - env(safe-area-inset-top) - 64px - env(safe-area-inset-bottom) - 16px));
}
.sheet.--bottom {
  bottom: calc(env(safe-area-inset-bottom) + 88px);
  max-height: min(70dvh, calc(100% - env(safe-area-inset-top) - 16px - env(safe-area-inset-bottom) - 88px));
}
.sheet__header {
  flex-shrink: 0;
  font-family: var(--font-family-heading);
  font-size: 24px;
}
.sheet__content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.sheet__footer {
  flex-shrink: 0;
}
.sheet:not(:has(.sheet__content)) {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.sheet-overlay {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
}

.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  background: var(--color-body-light);
  color: var(--color-content-on-light-primary);
  display: flex;
  flex-direction: row;
  gap: 12px;
  user-select: none;
  z-index: 9999;
  font-size: 14px;
  line-height: 18px;
  align-items: center;
}
.cookie__text {
  flex: 1;
}
.cookie a {
  color: var(--color-content-on-light-primary);
}

.onboarding {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: calc(env(safe-area-inset-top) + 16px);
  padding-bottom: calc(env(safe-area-inset-bottom) + 16px);
  box-sizing: border-box;
  overflow: hidden;
  background-color: var(--onboarding-background);
  --onboarding-background: var(--color-body-light);
  --onboarding-color-primary: var(--color-content-dark-primary);
  --onboarding-color-secondary: var(--color-content-dark-secondary);
  --onboarding-color-tertiary: var(--color-content-dark-tertiary);
}
.onboarding__pages {
  flex: 1;
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.onboarding__pages::-webkit-scrollbar {
  display: none;
}
.onboarding__page {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  box-sizing: border-box;
  gap: 12px;
}
.onboarding__cover {
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.onboarding__cover img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.onboarding__title {
  font-family: var(--font-family-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--onboarding-color-primary);
  text-align: center;
  max-width: 360px;
  margin: 0 auto;
}
.onboarding__text {
  font-size: 14px;
  line-height: 20px;
  color: var(--onboarding-color-secondary);
  text-align: center;
  max-width: 360px;
  margin: 0 auto;
}
.onboarding__dots {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  gap: 8px;
}
.onboarding__dots > div {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background-color: var(--onboarding-color-tertiary);
  transition: background-color 0.3s ease;
}
.onboarding__dots > div.--selected {
  background-color: var(--onboarding-color-primary);
}
.onboarding__footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  box-sizing: border-box;
  height: 88px;
  max-width: 360px;
  margin: 0 auto;
  width: 100%;
}
.onboarding__footer .button {
  width: 100%;
}
[data-theme="dark"] .onboarding {
  --onboarding-background: var(--color-body-dark);
  --onboarding-color-primary: var(--color-content-light-primary);
  --onboarding-color-secondary: var(--color-content-light-secondary);
}

.loader {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  pointer-events: none;
}
.loader > div {
  opacity: 0;
  animation: fadeIn 0.3s ease 0.25s forwards;
}
.loader > div > div {
  width: 32px;
  height: 32px;
  animation: jump 0.8s ease-in-out infinite;
}
.loader svg {
  width: 32px;
  height: 32px;
}
.loader svg [fill] {
  fill: var(--color-content-dark-primary);
}
[data-theme="dark"] .loader svg [fill] {
  fill: var(--color-content-light-primary);
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes jump {
  0%,
  100% {
    transform: translateY(0) scaleY(0.8);
  }
  25% {
    transform: translateY(-72px) scaleY(1);
  }
  50% {
    transform: translateY(0) scaleY(0.8);
  }
  75% {
    transform: translateY(-32px) scaleY(1);
  }
}

.splash {
  width: 100%;
  height: 100%;
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

/* Fonts */
:root {
    --font-family-base: 'Roboto', sans-serif;
    --font-family-heading: 'Oswald', sans-serif;
}

/* Semantic */
:root {
    --color-new: var(--color-pink-500);

    --color-accent-blue: var(--color-blue-500);
    --color-accent-orange: var(--color-orange-500);
    --color-accent-orange-5: color-mix(in srgb,var(--color-accent-orange) 5%, transparent);
    --color-accent-orange-10: color-mix(in srgb,var(--color-accent-orange) 10%, transparent);
    --color-accent-orange-20: color-mix(in srgb,var(--color-accent-orange) 20%, transparent);
    --color-accent-orange-dark: var(--color-orange-700);
    --color-accent-orange-light: var(--color-orange-300);
    --color-accent-yellow: var(--color-yellow-500);
    --color-accent-yellow-dark: var(--color-yellow-700);
    --color-accent-yellow-light: var(--color-yellow-300);
    --color-accent-yellow-5: color-mix(in srgb,var(--color-accent-yellow) 5%, transparent);
    --color-accent-yellow-10: color-mix(in srgb,var(--color-accent-yellow) 10%, transparent);
    --color-accent-yellow-20: color-mix(in srgb,var(--color-accent-yellow) 20%, transparent);
    --color-accent-purple: var(--color-purple-500);
    --color-accent-purple-dark: var(--color-purple-700);
    --color-accent-purple-light: var(--color-purple-300);

    --color-body-dark: var(--color-black);
    --color-body-light: var(--color-white);

    --color-content-dark-disabled: var(--color-grey-200);
    --color-content-dark-primary: var(--color-black);
    --color-content-dark-secondary: var(--color-grey-600);
    --color-content-dark-tertiary: var(--color-grey-400);
    --color-content-light-disabled: var(--color-grey-700);
    --color-content-light-primary: var(--color-white);
    --color-content-light-secondary: var(--color-grey-200);
    --color-content-light-tertiary: var(--color-grey-400);

    --color-error: var(--color-orange-500);

    --color-input-dark: var(--color-grey-100);
    --color-input-dark-disabled: var(--color-grey-0);
    --color-input-light: var(--color-grey-0);
    --color-input-light-disabled: var(--color-grey-700);

    --color-surface-dark-disabled: var(--color-grey-0);
    --color-surface-dark-primary: var(--color-black);
    --color-surface-dark-secondary: var(--color-grey-100);
    --color-surface-dark-tertiary: var(--color-grey-0);
    --color-surface-light-disabled: var(--color-grey-300);
    --color-surface-light-primary: var(--color-white);
    --color-surface-light-secondary: var(--color-grey-100);
    --color-surface-light-tertiary: var(--color-grey-700);
}

/* Base */
:root {
    --color-black: #000000;

    --color-blue-500: #07b5ff;

    --color-grey-0: #f2f2f2;
    --color-grey-100: #e6e6e6;
    --color-grey-200: #cccccc;
    --color-grey-300: #b3b3b3;
    --color-grey-400: #999999;
    --color-grey-500: #808080;
    --color-grey-600: #666666;
    --color-grey-700: #4d4d4d;
    --color-grey-800: #333333;

    --color-orange-300: #ff6e25;
    --color-orange-500: #ff5500;
    --color-orange-700: #da4900;

    --color-yellow-300: #ffc125;
    --color-yellow-500: #ffb100;
    --color-yellow-700: #da9300;

    --color-pink-500: #ff0066;

    --color-purple-300: #b555ff;
    --color-purple-500: #9307ff;
    --color-purple-700: #6400b1;

    --color-white: #ffffff;
}
@font-face {
  font-family: 'Roboto';
  src: url(/assets/fonts/Roboto-VariableFont_wdth,wght.ttf) format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url(/assets/fonts/Roboto-Italic-VariableFont_wdth,wght.ttf) format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Oswald';
  src: url(/assets/fonts/Oswald-VariableFont_wght.ttf) format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
/* Disable pull-to-refresh and overscroll effects */
html,
body {
  overscroll-behavior: none;
}
/* Disable text selection and context menu globally */
body {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
/* Remove scrollbars */
html,
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
body::-webkit-scrollbar,
body *::-webkit-scrollbar {
  display: none;
}
/* Disable long press highlight on links/images */
a,
img {
  -webkit-touch-callout: none;
}
/* Allow text selection inside form fields */
input,
textarea,
select {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}
/* Remove default tap highlight that appears when tapping elements in mobile WebView */
* {
  -webkit-tap-highlight-color: transparent;
}
html,
body {
  width: 100%;
  height: 100%;
}
body {
  font-family: var(--font-family-base);
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  letter-spacing: 0.03em;
}
a,
.link {
  text-decoration: underline;
}
h1 {
  font-family: var(--font-family-heading);
  font-size: 36px;
  line-height: 42px;
  margin: 0;
  text-transform: uppercase;
  font-weight: 700;
}
h2 {
  font-family: var(--font-family-heading);
  font-size: 24px;
  line-height: 28px;
  margin: 0;
  text-transform: uppercase;
  font-weight: 700;
}
h2.--no-uppercase {
  text-transform: none;
}
h3 {
  font-family: var(--font-family-heading);
  font-size: 20px;
  line-height: 26px;
  margin: 0;
  text-transform: uppercase;
  font-weight: 700;
}
h4 {
  font-family: var(--font-family-heading);
  font-size: 16px;
  line-height: 22px;
  margin: 0;
  text-transform: uppercase;
  font-weight: 700;
}
.space.--size-8 {
  width: 8px;
  height: 8px;
}
.space.--size-12 {
  width: 12px;
  height: 12px;
}
.space.--size-16 {
  width: 16px;
  height: 16px;
}
.space.--size-20 {
  width: 20px;
  height: 20px;
}
.space.--size-24 {
  width: 24px;
  height: 24px;
}
.space.--size-32 {
  width: 32px;
  height: 32px;
}
.bordered-block {
  box-sizing: border-box;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--color-surface-dark-secondary);
  position: relative;
  overflow: hidden;
}
.bordered-block.--small {
  padding: 12px;
  border-radius: 12px;
}
[data-theme="dark"] .bordered-block {
  border: 1px solid var(--color-surface-light-tertiary);
}
hr {
  outline: none;
  border: none;
  margin: 0 -20px;
  border-bottom: 1px solid var(--color-surface-dark-secondary);
}
[data-theme="dark"] hr {
  border-bottom-color: var(--color-surface-light-tertiary);
}
.--outside {
  margin: 0 -20px;
  width: calc(100% + 40px);
  padding: 0 20px;
  box-sizing: border-box;
}
.bordered-block .--outside {
  margin: 0 -16px;
  width: calc(100% + 32px);
  padding: 0 16px;
  box-sizing: border-box;
}
.--scrollable-horizontal {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.--scrollable-horizontal > div {
  flex: 0 0 auto;
  scroll-snap-align: center;
}
.--transition {
  opacity: 0;
  transform: translateY(-10px);
}
.--transition.--ease {
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.--transition.--ease-back {
  transition: opacity 0.15s ease, transform 0.15s cubic-bezier(0.25, 4, 0.5, 1);
}
.--transition.--visible {
  opacity: 1;
  transform: translateY(0);
}
#pages {
  z-index: 1;
}
#nav-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
}
#onboarding {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
}
#stories {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
}
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
}
#splash {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}
#dialog {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
}
#notifications {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5000;
}
#sheet {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
}
#menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
}
#root,
#nav-bar,
#onboarding,
#stories,
#overlay,
#splash,
#dialog,
#notifications,
#menu,
#sheet {
  pointer-events: none;
}
#root > div,
#nav-bar > div,
#onboarding > div,
#stories > div,
#overlay > div,
#splash > div,
#dialog > div,
#notifications > div,
#menu > div,
#sheet > div {
  pointer-events: auto;
}

.achievement.--size-48 img {
  width: 48px;
  height: 48px;
}
.achievement.--size-64 img {
  width: 64px;
  height: 64px;
}
.achievement.--size-96 img {
  width: 96px;
  height: 96px;
}
.achievement * {
  pointer-events: none;
}

.gift {
  flex: 0 0 auto;
  position: relative;
}
.gift img {
  display: block;
}
.gift.--size-48 {
  width: 48px;
}
.gift.--size-48 img {
  width: 48px;
  height: 48px;
}
.gift.--size-64 {
  width: 64px;
}
.gift.--size-64 img {
  width: 64px;
  height: 64px;
}
.gift.--size-96 {
  width: 96px;
}
.gift.--size-96 img {
  width: 96px;
  height: 96px;
}
.gift .price {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 1;
}
.gift * {
  pointer-events: none;
}

.avatar {
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
}
.avatar canvas {
  width: 100%;
  height: 100%;
}
.avatar.--size-24 {
  width: 24px;
  height: 24px;
  border-radius: 12px;
}
.avatar.--size-36 {
  width: 36px;
  height: 36px;
  border-radius: 18px;
}
.avatar.--size-48 {
  width: 48px;
  height: 48px;
  border-radius: 24px;
}
.avatar.--size-56 {
  width: 56px;
  height: 56px;
  border-radius: 36px;
}
.avatar.--size-72 {
  width: 72px;
  height: 72px;
  border-radius: 36px;
}
.avatar.--size-96 {
  width: 96px;
  height: 96px;
  border-radius: 48px;
}
.avatar.--size-160 {
  width: 160px;
  height: 160px;
  border-radius: 80px;
}
.avatar.--selected {
  outline: 3px solid var(--color-accent-orange);
  outline-offset: 2px;
}
.avatar.--locked img {
  filter: brightness(0.55);
}
.avatar__lock {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  z-index: 1;
}
.avatar__lock svg {
  width: 100%;
  height: 100%;
}
.avatar__lock svg [fill] {
  fill: var(--color-content-light-primary);
}
.avatar .price {
  position: absolute;
  left: 50%;
  bottom: 0px;
  transform: translateX(-50%);
  z-index: 1;
}
.avatar:has(.price) {
  overflow: visible;
}
.avatar:has(.price) img,
.avatar:has(.price) canvas {
  border-radius: inherit;
}
.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar * {
  pointer-events: none;
}

.badge {
  display: inline-flex;
  background: var(--color-new);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-content-light-primary);
  align-items: center;
  justify-content: center;
}
.badge.--dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
}
.badge.--single {
  width: 20px;
  height: 20px;
  border-radius: 10px;
}
.badge.--multiple {
  height: 20px;
  border-radius: 10px;
  padding: 0 4px;
}
.badge * {
  pointer-events: none;
}

.banner {
  border-radius: 8px;
}
.banner__icon {
  width: 48px;
  height: 48px;
  position: relative;
}
.banner__icon img {
  width: 48px;
  height: 48px;
}
.banner__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.banner__title {
  font-family: var(--font-family-heading);
  font-size: 20px;
  line-height: 26px;
  font-weight: 500;
  text-transform: uppercase;
}
.banner__text {
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
}
.banner.--achievement {
  background: url(/assets/images/glow.png) -56px center no-repeat #000;
  background-size: 160px 160px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  padding: 12px;
  box-sizing: border-box;
}
.banner.--achievement .banner__icon svg {
  position: absolute;
  left: 0;
  bottom: 0;
}
.banner.--achievement .banner__icon svg [fill] {
  fill: #fff;
}
.banner.--achievement .banner__title {
  color: #FFDA47;
  text-shadow: 0 0 30px rgba(255, 218, 71, 0.8), 0 0 10px rgba(255, 218, 71, 0.5);
}
.banner.--achievement .banner__text {
  color: #fff;
}

.button {
  display: flex;
  padding: 0 16px;
  gap: 8px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  user-select: none;
  border-radius: 12px;
  box-sizing: border-box;
  text-decoration: none;
  transition: opacity 0.2s ease-in-out;
  --button-background: transparent;
  --button-color: var(--color-black);
  --button-border: none;
  background: var(--button-background);
  color: var(--button-color);
  border: var(--button-border);
}
.button svg [fill] {
  fill: var(--button-color);
}
.button * {
  pointer-events: none;
}
.button.--primary {
  --button-background: var(--color-black);
  --button-color: var(--color-white);
}
.button.--secondary {
  --button-background: var(--color-grey-200);
  --button-color: var(--color-black);
}
.button.--bordered {
  --button-border: 2px solid var(--color-black);
  --button-color: var(--color-black);
}
.button.--disabled {
  --button-background: var(--color-grey-0);
  --button-color: var(--color-grey-300);
  pointer-events: none;
}
.button.--blue {
  --button-background: var(--color-accent-blue);
  --button-color: var(--color-white);
}
.button.--orange {
  --button-background: var(--color-accent-orange);
  --button-color: var(--color-white);
}
.button.--purple {
  --button-background: var(--color-accent-purple);
  --button-color: var(--color-white);
}
[data-theme="dark"] .button.--primary {
  --button-background: var(--color-white);
  --button-color: var(--color-black);
}
[data-theme="dark"] .button.--secondary {
  --button-background: var(--color-grey-700);
  --button-color: var(--color-white);
}
[data-theme="dark"] .button.--bordered {
  --button-border: 2px solid var(--color-white);
  --button-color: var(--color-white);
}
[data-theme="dark"] .button.--disabled {
  --button-background: var(--color-grey-800);
  --button-color: var(--color-grey-600);
}
.button.--small {
  height: 44px;
  font-size: 16px;
  --icon-size: 20px;
}
.button.--small.--round {
  border-radius: 22px;
}
.button.--medium {
  height: 52px;
  font-size: 18px;
  --icon-size: 24px;
}
.button.--medium.--round {
  border-radius: 26px;
}
.button.--big {
  height: 64px;
  font-size: 28px;
  --icon-size: 32px;
}
.button.--big.--round {
  border-radius: 32px;
}
.button.--rectangle {
  border-radius: 8px;
}
.button.--full-width {
  width: 100%;
}
.button__title {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-family: var(--font-family-heading);
  font-weight: 700;
}
.button.--uppercase .button__title {
  text-transform: uppercase;
}
.button.--small .button__title {
  font-weight: normal;
}
.button__icon {
  width: var(--icon-size, 24px);
  height: var(--icon-size, 24px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.button__icon svg {
  width: 100%;
  height: 100%;
}
.button.--loading {
  pointer-events: none;
  opacity: 0.5;
}
.button.--loading > * {
  animation: blink 1s infinite 0.25s;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

label.checkbox {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
label.checkbox input {
  display: none;
}
label.checkbox .checkbox__icon {
  position: relative;
  width: 24px;
  height: 24px;
}
label.checkbox .checkbox__icon svg {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.2s ease;
  fill: var(--color-content-dark-primary);
}
label.checkbox .checkbox__icon .--checked {
  opacity: 0;
}
label.checkbox input:checked + .checkbox__icon .--checked {
  opacity: 1;
}
label.checkbox input:checked + .checkbox__icon .--unchecked {
  opacity: 0;
}
label.checkbox * {
  pointer-events: none;
}
[data-theme="dark"] label.checkbox .checkbox__icon svg [fill] {
  fill: var(--color-content-light-primary);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: var(--chip-padding, 0 12px);
  border-radius: 20px;
  min-height: var(--chip-height, 30px);
  height: auto;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  --chip-bg: var(--color-surface-dark-secondary);
  --chip-content: var(--color-content-dark-primary);
  background-color: var(--chip-bg);
}
.chip.--selected {
  --chip-bg: var(--color-surface-dark-primary);
  --chip-content: var(--color-content-light-primary);
}
[data-theme="dark"] .chip {
  --chip-bg: var(--color-surface-light-tertiary);
  --chip-content: var(--color-content-light-primary);
}
[data-theme="dark"] .chip.--selected {
  --chip-bg: var(--color-surface-light-primary);
  --chip-content: var(--color-content-dark-primary);
}
[data-theme="dark"] .chip.--placeholder {
  --chip-content: var(--color-content-light-secondary);
}
.chip.--transparent {
  --chip-bg: transparent;
}
.chip.--flat {
  --chip-bg: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  height: auto;
  min-height: 0;
}
.chip__icon {
  display: flex;
  flex: 0 0 var(--chip-icon-size, 16px);
  width: var(--chip-icon-size, 16px);
  height: var(--chip-icon-size, 16px);
  margin-left: var(--chip-icon-margin-left, -2px);
}
.chip__icon svg {
  width: 100%;
  height: 100%;
}
.chip__icon svg [fill] {
  fill: var(--chip-content);
}
.chip:not(:has(.chip__title)) .chip__icon {
  margin-right: var(--chip-icon-margin-left, -2px);
}
.chip__title {
  color: var(--chip-content);
  font-weight: 500;
  font-size: var(--chip-title-size, 16px);
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
}
.chip.--small {
  --chip-padding: 0 8px;
  --chip-height: 30px;
  --chip-icon-size: 16px;
  --chip-icon-margin-left: -2px;
  --chip-title-size: 14px;
}
.chip.--medium {
  --chip-padding: 0 12px;
  --chip-height: 36px;
  --chip-icon-size: 24px;
  --chip-icon-margin-left: -4px;
  --chip-title-size: 16px;
}
.chip.--big {
  --chip-padding: 0 16px;
  --chip-height: 42px;
  --chip-icon-size: 24px;
  --chip-icon-margin-left: -4px;
  --chip-title-size: 18px;
}
.chip.--bordered {
  background: transparent;
  border: 1px solid var(--color-surface-light-tertiary);
}
.chip.--placeholder {
  --chip-content: var(--color-content-dark-secondary);
}
.chip.--disabled {
  --chip-content: var(--color-content-dark-secondary);
  --chip-bg: var(--color-surface-light-tertiary);
}
.chip.--orange {
  --chip-content: var(--color-accent-orange);
  --chip-bg: var(--color-accent-orange-20);
}
.chip.--yellow {
  --chip-content: var(--color-accent-yellow);
  --chip-bg: var(--color-accent-yellow-20);
}
.chip * {
  pointer-events: none;
}

.icon {
  position: relative;
}
.icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.icon.--primary svg [fill] {
  fill: var(--color-content-dark-primary);
}
.icon.--secondary svg [fill] {
  fill: var(--color-content-dark-secondary);
}
.icon.--tertiary svg [fill] {
  fill: var(--color-content-dark-tertiary);
}
.icon.--disabled svg [fill] {
  fill: var(--color-content-dark-disabled);
}
.icon.--size-16 {
  width: 16px;
  height: 16px;
}
.icon.--size-20 {
  width: 20px;
  height: 20px;
}
.icon.--size-24 {
  width: 24px;
  height: 24px;
}
.icon.--size-32 {
  width: 32px;
  height: 32px;
}
.icon.--size-36 {
  width: 36px;
  height: 36px;
}
.icon.--size-48 {
  width: 48px;
  height: 48px;
}
.icon.--size-72 {
  width: 72px;
  height: 72px;
}
.icon * {
  pointer-events: none;
}
[data-theme="dark"] .icon.--primary svg [fill] {
  fill: var(--color-content-light-primary);
}
[data-theme="dark"] .icon.--secondary svg [fill] {
  fill: var(--color-content-light-secondary);
}
[data-theme="dark"] .icon.--tertiary svg [fill] {
  fill: var(--color-content-light-tertiary);
}
[data-theme="dark"] .icon.--disabled svg [fill] {
  fill: var(--color-content-light-disabled);
}

.icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  border-radius: 28px;
  flex-grow: 0;
  background: var(--color-black);
  --icon-button-size: 52px;
  --icon-button-icon-size: 32px;
  width: var(--icon-button-size);
  height: var(--icon-button-size);
  flex-basis: var(--icon-button-size);
}
.icon-button svg [fill] {
  fill: var(--color-white);
}
.icon-button.--disabled {
  background: var(--color-grey-0);
}
.icon-button.--disabled svg [fill] {
  fill: var(--color-grey-600);
}
.icon-button__icon {
  width: var(--icon-button-icon-size);
  height: var(--icon-button-icon-size);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.icon-button__icon svg {
  width: 100%;
  height: 100%;
}
.icon-button.--small {
  --icon-button-size: 44px;
  --icon-button-icon-size: 24px;
}
.icon-button.--medium {
  --icon-button-size: 52px;
  --icon-button-icon-size: 32px;
}
.icon-button.--big {
  --icon-button-size: 64px;
  --icon-button-icon-size: 48px;
}
.icon-button * {
  pointer-events: none;
}
.icon-button.--transparent {
  background: transparent;
}
.icon-button.--transparent svg [fill] {
  fill: var(--color-black);
}
.icon-button.--loading {
  pointer-events: none;
}
.icon-button.--loading > * {
  animation: blink 1s infinite;
  animation-delay: 0.25s;
}
[data-theme="dark"] .icon-button {
  background: var(--color-white);
}
[data-theme="dark"] .icon-button svg [fill] {
  fill: var(--color-black);
}
[data-theme="dark"] .icon-button.--disabled {
  background: var(--color-grey-800);
}
[data-theme="dark"] .icon-button.--disabled svg [fill] {
  fill: var(--color-grey-300);
}
[data-theme="dark"] .icon-button.--transparent {
  background: transparent;
}
[data-theme="dark"] .icon-button.--transparent svg [fill] {
  fill: var(--color-white);
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.input {
  padding: 0 8px;
  user-select: none;
  border-radius: 12px;
  border: none;
  outline: none;
  box-sizing: border-box;
  width: 100%;
  background: var(--color-input-dark);
  color: var(--color-content-dark-primary);
}
.input.--big {
  height: 64px;
  font-size: 2em;
}
.input.--medium {
  height: 52px;
  font-size: 1em;
}
.input.--small {
  height: 40px;
  font-size: 0.8em;
}
.input.--disabled {
  background: var(--color-input-light-disabled);
  color: var(--color-content-dark-disabled);
}
textarea.input {
  padding: 8px;
  resize: vertical;
}
textarea.input.--no-resize {
  resize: none;
}
textarea.input.--medium {
  height: 120px;
  line-height: 1.4em;
}
textarea.input.--big {
  height: 180px;
  line-height: 1.6em;
}
textarea.input.--small {
  height: 80px;
  line-height: 1.2em;
}
[data-theme="dark"] .input {
  background: var(--color-surface-light-tertiary);
  color: var(--color-content-light-primary);
}
[data-theme="dark"] .input.--disabled {
  background: var(--color-input-light-disabled);
  color: var(--color-content-dark-disabled);
}

.label {
  display: flex;
  gap: 4px;
  flex-direction: column;
}
.label > span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-content-dark-primary);
}
[data-theme="dark"] .label > span {
  color: var(--color-content-light-primary);
}

.list {
  display: flex;
  flex-direction: row;
  gap: 4px;
  flex-wrap: wrap;
  --list-background: var(--color-surface-dark-secondary);
  --list-color: var(--color-content-dark-primary);
}
[data-theme="dark"] .list__item {
  --list-background: var(--color-surface-light-tertiary);
  --list-color: var(--color-content-light-primary);
}
[data-theme="dark"] .list__item.--selected {
  --list-background: var(--color-surface-light-primary);
  --list-color: var(--color-content-dark-primary);
}
[data-theme="dark"] .list__item .list__item__subtitle {
  color: var(--color-content-light-secondary);
}
.list__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: var(--list-background);
  color: var(--list-color);
  width: 100%;
  box-sizing: border-box;
}
.list__item__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.list__item__icon svg {
  width: 100%;
  height: 100%;
}
.list__item__icon svg [fill] {
  fill: var(--list-color);
}
.list__item__text {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.list__item__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--list-color);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  min-width: 0;
}
.list__item__subtitle {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-content-dark-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  min-width: 0;
}
.list__item.--has-subtitle .list__item__icon,
.list__item:has(.list__item__subtitle) .list__item__icon {
  width: 36px;
  height: 36px;
}
.list__item.--selected {
  --list-background: var(--color-surface-dark-primary);
  --list-color: var(--color-content-light-primary);
}
.list__item * {
  pointer-events: none;
}
.list.--col-2 .list__item {
  width: calc(100% / 2 - 2px * 1);
}
.list.--col-3 .list__item {
  width: calc(100% / 3 - 2px * 2);
}
.list.--col-4 .list__item {
  width: calc(100% / 4 - 2px * 3);
}

.marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: relative;
  background-color: var(--color-surface-dark-primary);
  cursor: default;
}
.marker * {
  pointer-events: none;
}
.marker__icon {
  position: absolute;
  bottom: 4px;
  left: 50%;
  margin-left: -24px;
  width: 48px;
  height: 48px;
  animation: marker-icon-pulse 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  z-index: 2;
}
.marker__icon svg {
  width: 100%;
  height: 100%;
}
.marker__content {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 18px;
  z-index: 2;
  padding: 8px;
  box-sizing: border-box;
  background-color: #000;
  color: #fff;
  min-width: 42px;
  pointer-events: all;
}
.marker__content::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 10px;
  background: url(/assets/images/marker_location_arrow.png) no-repeat top left;
  background-size: 18px 10px;
}
.marker__content svg [fill] {
  fill: #fff;
}
.marker__rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  z-index: 1;
  display: none;
}
.marker__rings > div {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--color-surface-dark-primary);
  opacity: 0;
  animation: marker-rings-pulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  z-index: -1;
}
.marker__rings > div:nth-child(1) {
  animation-delay: 0s;
}
.marker__rings > div:nth-child(2) {
  animation-delay: 1s;
}
.marker__rings > div:nth-child(3) {
  animation-delay: 2s;
}
.marker.--selected .marker__rings {
  display: block;
}
.marker.--selected.--has-content .marker__content {
  display: flex;
}
.marker.--selected.--has-content .marker__icon {
  display: none;
}
.marker[data-type="me"] {
  background-color: var(--color-accent-purple);
}
.marker[data-type="me"] .marker__icon svg [fill] {
  fill: var(--color-accent-purple);
}
.marker[data-type="me"] .marker__rings > div {
  box-shadow: 0 0 0 2px var(--color-accent-purple);
}
.marker[data-type="add-location"] {
  background-color: var(--color-accent-orange);
}
.marker[data-type="add-location"] .marker__icon {
  width: 48px;
  height: 48px;
  margin-left: -24px;
}
.marker[data-type="add-location"] .marker__icon svg [fill] {
  fill: var(--color-accent-orange);
}
.marker[data-type="add-location"] .marker__rings > div {
  box-shadow: 0 0 0 2px var(--color-accent-orange);
}
.marker[data-type="location"] {
  background-color: var(--color-accent-purple);
}
.marker[data-type="location"] .marker__icon {
  width: 48px;
  height: 48px;
  margin-left: -24px;
  display: none;
}
.marker[data-type="location"] .marker__icon svg [fill] {
  fill: var(--color-accent-orange);
}
.marker[data-type="location"].--inactive .marker__content {
  background-color: #c6c6c6;
  color: #000;
}
.marker[data-type="location"].--inactive .marker__content::after {
  background-image: url(/assets/images/marker_location_arrow_dimmed.png);
}
.marker[data-type="location"].--inactive .marker__content svg [fill] {
  fill: #000;
}
.marker[data-type="location"].--selected {
  background-color: var(--color-accent-orange);
}
.marker[data-type="location"].--selected .marker__icon {
  display: block;
}
.marker[data-type="location"].--selected .marker__content {
  display: none;
}
.marker[data-type="location"].--selected .marker__rings > div {
  box-shadow: 0 0 0 2px var(--color-accent-orange);
}
.marker[data-type="location"].--has-my-visit [data-type="visits"] {
  color: var(--color-accent-orange-light);
}
.marker[data-type="location"].--has-my-visit [data-type="visits"] svg [fill] {
  fill: var(--color-accent-orange-light);
}
.marker[data-type="cluster"] {
  width: 64px;
  height: 64px;
  background-color: #000;
  box-sizing: border-box;
  cursor: pointer;
  color: #fff;
}
.marker[data-type="cluster"] .marker__cluster {
  width: 100%;
  height: 100%;
}
.marker[data-type="cluster"] .marker__cluster .icon svg [fill] {
  fill: #fff;
}
.marker[data-type="cluster"] .marker__icon,
.marker[data-type="cluster"] .marker__content,
.marker[data-type="cluster"] .marker__rings {
  display: none;
}
.marker[data-type="cluster"].--inactive {
  background-color: #c6c6c6;
  color: #000;
}
.marker[data-type="cluster"].--inactive .marker__cluster .icon svg [fill] {
  fill: #000;
}

.photos {
  display: flex;
  flex-direction: row;
  gap: 8px;
  flex-wrap: wrap;
}
.photos__item {
  border-radius: 12px;
  background: var(--color-surface-dark-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  flex-grow: 0;
  overflow: hidden;
  position: relative;
}
.photos__item.--size-48 {
  width: 48px;
  height: 48px;
}
.photos__item.--size-64 {
  width: 64px;
  height: 64px;
}
.photos__item.--size-96 {
  width: 96px;
  height: 96px;
}
.photos__item__icon svg [fill] {
  fill: var(--color-content-dark-secondary);
}
.photos__item.--size-48 .photos__item__icon svg {
  width: 24px;
  height: 24px;
}
.photos__item.--size-64 .photos__item__icon svg {
  width: 24px;
  height: 24px;
}
.photos__item.--size-96 .photos__item__icon svg {
  width: 32px;
  height: 32px;
}
.photos__item input {
  display: none;
}
.photos__item canvas {
  width: 100%;
  height: 100%;
}
.photos__item * {
  pointer-events: none;
}
.photos__item__close {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  pointer-events: all;
  background: var(--color-content-dark-secondary);
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photos__item__close svg {
  width: 20px;
  height: 20px;
}
.photos__item__close svg [fill] {
  fill: var(--color-content-light-primary);
}
.photos__item__close * {
  pointer-events: none;
}

.select {
  padding: 0 8px;
  user-select: none;
  border-radius: 12px;
  border: none;
  outline: none;
  box-sizing: border-box;
  width: 100%;
  background: var(--color-input-dark);
  color: var(--color-content-dark-primary);
}
.select.--medium {
  height: 52px;
  font-size: 1em;
}
.select.--big {
  font-size: 2em;
  height: 64px;
}
.select.--disabled {
  background: var(--color-input-light-disabled);
  color: var(--color-content-dark-disabled);
}
[data-theme="dark"] .select {
  background: var(--color-surface-light-secondary);
  color: var(--color-content-light-primary);
}
[data-theme="dark"] .select.--disabled {
  background: var(--color-input-light-disabled);
  color: var(--color-content-dark-disabled);
}

.text.--primary {
  color: var(--color-content-dark-primary);
}
.text.--secondary {
  color: var(--color-content-dark-secondary);
}
.text.--tertiary {
  color: var(--color-content-dark-tertiary);
}
.text.--size-11 {
  font-size: 11px;
  line-height: 16px;
}
.text.--size-12 {
  font-size: 12px;
  line-height: 18px;
}
.text.--size-14 {
  font-size: 14px;
  line-height: 20px;
}
.text.--size-16 {
  font-size: 16px;
  line-height: 22px;
}
.text.--size-18 {
  font-size: 18px;
  line-height: 24px;
}
.text.--size-20 {
  font-size: 20px;
  line-height: 26px;
}
.text.--size-28 {
  font-size: 28px;
  line-height: 36px;
}
.text.--center {
  text-align: center;
}
.text.--bold {
  font-weight: bold;
}
.text.--italic {
  font-style: italic;
}
.text a {
  color: inherit;
}
.text.--no-wrap {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.text.--title {
  font-family: var(--font-family-heading);
}
[data-theme="dark"] .text.--primary {
  color: var(--color-content-light-primary);
}
[data-theme="dark"] .text.--secondary {
  color: var(--color-content-light-secondary);
}
[data-theme="dark"] .text.--tertiary {
  color: var(--color-content-light-tertiary);
}

.tips {
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  color: var(--color-content-dark-secondary);
}
.tips a {
  color: var(--color-content-dark-secondary);
}
.tips.--center {
  text-align: center;
}
.tips.--italic {
  font-style: italic;
}
.tips.--error {
  color: var(--color-error);
}
[data-theme="dark"] .tips {
  color: var(--color-content-light-secondary);
}
[data-theme="dark"] .tips a {
  color: var(--color-content-light-secondary);
}

.--flex {
  display: flex;
}
.--flex.--row {
  flex-direction: row;
}
.--flex.--column {
  flex-direction: column;
}
.--flex.--gap-2 {
  gap: 2px;
}
.--flex.--gap-4 {
  gap: 4px;
}
.--flex.--gap-8 {
  gap: 8px;
}
.--flex.--gap-12 {
  gap: 12px;
}
.--flex.--gap-16 {
  gap: 16px;
}
.--flex.--gap-20 {
  gap: 20px;
}
.--flex.--gap-24 {
  gap: 24px;
}
.--flex.--gap-32 {
  gap: 32px;
}
.--flex.--gap-36 {
  gap: 36px;
}
.--flex.--center {
  align-items: center;
  justify-content: center;
}
.--flex.--full {
  width: 100%;
  height: 100%;
}
.--flex.--full-width {
  width: 100%;
}
.--flex.--column.--center-vertical {
  justify-content: center;
}
.--flex.--column.--center-horizontal {
  align-items: center;
}
.--flex.--row.--center-vertical {
  align-items: center;
}
.--flex.--row.--center-horizontal {
  justify-content: center;
}
.--flex.--wrap {
  flex-wrap: wrap;
}
.--flex.--space-between {
  justify-content: space-between;
}
.--flex.--fill-width {
  flex: 1;
}
.--flex.--cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.--flex.--cols-3 > * {
  min-width: 0;
}

.visit {
  box-sizing: border-box;
  padding: 12px;
  border-radius: 16px;
  border: 2px solid var(--color-accent-orange);
  color: var(--color-content-light-primary);
}

