#mobile-world-feedback {
  display: none;
}

html.mobile-hud #world-frame.mobile-travel-frame-starting {
  opacity: 0;
}

html.mobile-hud main.in-world > #mobile-world-feedback:not([hidden]) {
  position: absolute;
  z-index: 26;
  inset: clamp(54px, 19%, 114px) 0 auto;
  display: grid;
  justify-items: center;
  container-type: inline-size;
  font: 14px/1.4 "Segoe UI", system-ui, sans-serif;
  pointer-events: none;
}

#mobile-world-feedback * {
  box-sizing: border-box;
  pointer-events: none;
}

#mobile-world-feedback .notification {
  --ink: #f6e9c8;
  position: relative;
  isolation: isolate;
  width: min(100%, clamp(232px, 36cqw, 302px));
  min-height: 47px;
  background: #1d2e37;
  border: 1px solid #a4aa966f;
  border-radius: 6px 2px;
  animation: mobile-world-feedback-enter .25s cubic-bezier(.16, .78, .36, 1) both;
}

#mobile-world-feedback .notification::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, #e6cd8b7d, #b4d9d42b 65%, transparent) top left / 92% 1px no-repeat,
    linear-gradient(122deg, #d2dfbf24, #d2dfbf05 59%, transparent 60%) left / 73% 100% no-repeat;
}

#mobile-world-feedback .face {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 11px;
}

#mobile-world-feedback .face p {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  line-height: 1.14;
}

#mobile-world-feedback .greeting {
  width: min(100%, clamp(250px, 38cqw, 306px));
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: linear-gradient(105deg, #20303800, #253b44ef 19%, #22343deb 73%, #243a4370 94%, #243d4200);
  clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
}

#mobile-world-feedback .greeting::before {
  background:
    linear-gradient(90deg, transparent, #ddc68b83 15%, #e2cda366 68%, transparent) top / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, #cec6a55e 23%, #a0ada45e 71%, transparent) bottom / 100% 1px no-repeat;
}

#mobile-world-feedback .greeting .face {
  justify-content: center;
  min-height: 48px;
  padding-inline: 12px;
}

#mobile-world-feedback .greeting p {
  display: grid;
  gap: 2px;
}

#mobile-world-feedback .greeting p span {
  color: #dccaa2;
  font-size: 10px;
  font-weight: 600;
}

#mobile-world-feedback .greeting p strong {
  color: #f7ecd4;
  font: 550 clamp(17px, 3.2cqw, 21px)/1.08 Georgia, serif;
  white-space: nowrap;
}

#mobile-world-feedback .welcome-mark {
  display: grid;
  place-items: center;
  position: relative;
  flex: none;
  width: 29px;
  height: 33px;
}

#mobile-world-feedback .welcome-mark::before {
  content: "";
  position: absolute;
  inset: 5px 2px;
  transform: rotate(45deg);
  border: 1px solid #d5b77781;
  background: linear-gradient(125deg, #655c3c87, #243538bd);
}

#mobile-world-feedback .welcome-mark i {
  position: relative;
  width: 19px;
  height: 27px;
  background: linear-gradient(90deg, #ab8859, #f7d998 42%, #ffebc0 54%, #a78757);
  clip-path: polygon(50% 0, 61% 36%, 100% 49%, 61% 60%, 50% 100%, 39% 60%, 0 49%, 39% 36%);
}

#mobile-world-feedback .sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, transparent 31%, #f5dfa314 47%, #fde5ab23 50%, transparent 61%);
  animation: mobile-world-feedback-sheen .65s .10s both;
}

#mobile-world-feedback .travel {
  background: linear-gradient(132deg, #304750ee, #1b2d37f2 63%, #172632f3);
  border-color: #acaa9078;
}

#mobile-world-feedback .travel .face {
  min-height: 40px;
}

#mobile-world-feedback .travel p {
  flex: 1;
  overflow: hidden;
  font-size: 14px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#mobile-world-feedback .travel-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 25px;
  height: 25px;
  border: 1px solid #d5bd8480;
  border-radius: 50%;
  background: #142a34;
}

#mobile-world-feedback .travel-mark img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

#mobile-world-feedback .percent {
  color: #e7d4a6;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

#mobile-world-feedback .rail {
  position: relative;
  overflow: hidden;
  height: 3px;
  margin: 0 11px 7px;
  border-radius: 3px;
  outline: 1px solid #899b964a;
  background: #0c1921;
}

#mobile-world-feedback .rail span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

#mobile-world-feedback .sweep {
  width: 42%;
  transform: translateX(72%);
  background: linear-gradient(90deg, #23394700, #6ab2b7 30%, #ebd3a1 79%, #e3c18316);
  animation: mobile-world-feedback-sweep 1.18s -.30s ease-in-out infinite alternate;
}

#mobile-world-feedback .fill {
  width: var(--progress, 0%);
  background: linear-gradient(90deg, #5ba0a4, #8ab6a8 66%, #e7ca91);
  transition: width .25s ease-out;
}

#mobile-world-feedback .arrival-mark {
  width: 11px;
  height: 6px;
  transform: translateY(-1px) rotate(-45deg);
  border-left: 2px solid #a5d5b7;
  border-bottom: 2px solid #a5d5b7;
}

#mobile-world-feedback .travel[data-travel="arrival"] .travel-mark {
  border-color: #9ac6b191;
}

#mobile-world-feedback .travel[data-travel="arrival"] .face {
  min-height: 44px;
}

#mobile-world-feedback.leaving .notification {
  animation: mobile-world-feedback-exit .22s ease-in both;
}

@media (max-width: 660px) {
  #mobile-world-feedback .greeting .face {
    min-height: 45px;
  }

  #mobile-world-feedback .travel .face {
    min-height: 37px;
  }

  #mobile-world-feedback .travel p {
    font-size: 13px;
  }
}

@keyframes mobile-world-feedback-enter {
  from { opacity: 0; transform: translateY(-5px) scale(.98); }
  to { opacity: 1; transform: none; }
}

@keyframes mobile-world-feedback-sheen {
  from { transform: translateX(-105%); }
  to { transform: translateX(105%); }
}

@keyframes mobile-world-feedback-exit {
  to { opacity: 0; transform: translateY(-4px); }
}

@keyframes mobile-world-feedback-sweep {
  from { transform: translateX(-22%); }
  to { transform: translateX(165%); }
}

@media (prefers-reduced-motion: reduce) {
  #mobile-world-feedback :is(.notification, .sweep),
  #mobile-world-feedback.leaving .notification {
    animation: none;
  }

  #mobile-world-feedback .sheen {
    display: none;
  }

  #mobile-world-feedback .fill {
    transition: none;
  }
}
